To give you the best viewing experience, YouTube changes the quality of your video stream based on your viewing conditions. These conditions are why you may notice that the quality of your video changes as you watch videos.
Here are some factors that decide video quality:
The speed of your internet connection
Video player/screen size: Higher-quality videos generally play better on larger screens.
Quality of the original uploaded video: If the video was recorded in standard definition, it won’t be available in high definition.
Note: Some browsers don't support newer video formats or quality options. Learn more on missing quality options.
Change video quality
You can manually change the video quality of any video you're watching on a computer, TV, or mobile device.
Mobile device
To change video quality while watching on your mobile device:
In the video player, select More .
Tap Quality .
Select your preferred video quality.
Note: Choosing lower video quality (such as 240p and 360p) will make videos start more quickly. The video player will remember this setting for future videos you watch.
Computer
To change video quality while watching on your computer:
In the video player, select Settings .
Click Quality.
Select your preferred video quality.
TV
To change video quality while watching on your TV:
In the video player, select More .
Click Quality.
Select your preferred video quality.
Note: Some high-quality formats (for example, 1080p, 4K) may not be available for all devices, as they may not support the latest video compression technology (VP9).
Was this helpful?
How can we improve it?
true
Search
Clear search
Close search
Google apps
Main menu
");return(new DOMParser).parseFromString(Nd(a),"text/html").body.children[0]}
function Fi(a,b){if(!a)return od;var c=document.createElement("div").style,e=Ii(a);Xb(e,function(f){var h=ve&&f in Ci?f:f.replace(/^-(?:apple|css|epub|khtml|moz|mso?|o|rim|wap|webkit|xv)-(?=[a-z])/i,"");Jc(h,"--")||Jc(h,"var")||(f=zi(a,f),f=$h(h,f,b),null!=f&&Ai(c,h,f))});
return $d(c.cssText||"")}
function Ji(a){var b=Array.from(ri(hi,a,"getElementsByTagName",["STYLE"])),c=gc(b,function(f){return ec(vi(f).cssRules)});
c=Ei(c);c.sort(function(f,h){f=Th(f.selectorText);a:{h=Th(h.selectorText);for(var k=Math.min(f.length,h.length),n=0;n"+c+""),Ji(c),c=c.innerHTML);c=Zd(uc("Never attached to DOM."),c);var e=document.createElement("template");if(Ri&&"content"in e)ce(e,c),e=e.content;else{var f=document.implementation.createHTMLDocument("x");e=f.body;ce(f.body,c)}c=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,null,!1);for(e=
Ni?new WeakMap:new Pi;f=c.nextNode();){c:{var h=a;var k=f;switch(xi(k)){case 3:h=mj(h,k);break c;case 1:if("TEMPLATE"==wi(k).toUpperCase())h=null;else{var n=wi(k).toUpperCase();if(n in h.na)var t=null;else h.ha[n]?t=document.createElement(n):(t=Gh("SPAN"),h.wa&&ti(t,"data-sanitizer-original-tag",n.toLowerCase()));if(t){var u=t,w=si(k);if(null!=w)for(var A=0;n=w[A];A++)if(n.specified){var ma=h;var oa=k,ua=n,ta=ua.name;if(Jc(ta,"data-sanitizer-"))ma=null;else{var wa=wi(oa);ua=ua.value;var Ba={tagName:Mc(wa).toLowerCase(),
attributeName:Mc(ta).toLowerCase()},Ea={ln:void 0};"style"==Ba.attributeName&&(Ea.ln=ui(oa));oa=jj(wa,ta);oa in ma.o?(ma=ma.o[oa],ma=ma(ua,Ba,Ea)):(ta=jj(null,ta),ta in ma.o?(ma=ma.o[ta],ma=ma(ua,Ba,Ea)):ma=null)}null!==ma&&ti(u,n.name,ma)}h=t}else h=null}break c;default:h=null}}if(h){if(1==xi(h)&&e.set(f,h),f=yi(f),k=!1,f)n=xi(f),t=wi(f).toLowerCase(),u=yi(f),11!=n||u?"body"==t&&u&&(n=yi(u))&&!yi(n)&&(k=!0):k=!0,n=null,k||!f?n=b:1==xi(f)&&(n=e.get(f)),n.content&&(n=n.content),n.appendChild(h)}else Kh(f)}e.clear&&
e.clear();a=b}else a=Gh("SPAN");0")+1,a.lastIndexOf(""))}else a="";return Zd(uc("Output of HTML sanitizer"),a)}
function mj(a,b){var c=b.data;(b=yi(b))&&"style"==wi(b).toLowerCase()&&!("STYLE"in a.na)&&"STYLE"in a.ha&&(c=Bd(Gi(c,a.ka,Lb(function(e,f){return this.ta(e,{Mu:f})},a))));
return document.createTextNode(c)}
;function nj(a){var b=new Xi;b.ta=kj;b.na=ic;b=bj(b,ic);b.ka=hd;b=new Wi(aj(b,hd));return lj(b,a)}
function oj(a){var b=new Wi(new Xi);return lj(b,a)}
;function pj(a,b){return[].concat(Da(a.querySelectorAll(b||"*"))).filter(qj)}
function qj(a){if(0!=a.tabIndex||a.attributes.tabIndex)var b=a.tabIndex;else{a:switch(a.tagName){case "A":case "BUTTON":case "INPUT":case "SELECT":case "TEXTAREA":b=!0;break a;default:b=!1}b=b?0:-1}return-1!=b&&!a.disabled&&null!==a.offsetParent&&"hidden"!=window.getComputedStyle(a).visibility}
function rj(a){return 0==a.length?null:a.reduce(function(b,c){return b.tabIndex=c.tabIndex?b:c})}
;var tj=[];function uj(){var a=this;this.na=this.o=null;this.ha=!1;this.ka=[];this.ma=[];this.oa=function(b){if(a.o&&a.ha){var c=pj(a.o),e=rj(c),f;e&&(f=sj(c));switch(b.key){case "Tab":if(!e||!f)break;b.shiftKey?document.activeElement===e&&(b.preventDefault(),f.focus()):document.activeElement===f&&(b.preventDefault(),e.focus());break;case "Escape":b.stopPropagation(),a.na()}}}}
uj.prototype.init=function(a,b,c){c=void 0===c?!1:c;this.na=b;if(this.o=a)this.o.addEventListener("keydown",this.oa),c&&vj(this)};
function wj(a,b){if(b||!1!==b&&!a.ha)vj(a);else if(a.ha){for(xj(a);0\n \n \n ')));
e.addEventListener("click",function(){a.o.setMonth(a.o.getMonth()+-1);Dj(a)});
c.appendChild(e);e=document.createElement("button");e.className="next";e.setAttribute("title","Next month");e.setAttribute("aria-label","Next month");e.appendChild(Ih(uc('')));e.addEventListener("click",function(){a.o.setMonth(a.o.getMonth()+1);Dj(a)});
c.appendChild(e);c=document.createElement("tr");c.appendChild(b);return c}
function Cj(a){var b=document.createElement("tr");b.className="weekdays";for(var c=[],e=0;7>e;e++){var f=document.createElement("td");c.push(f);b.appendChild(f)}e=new Date(a.o);for(f=0;7>f;f++)c[e.getDay()].textContent=a.ya?e.toLocaleString(a.oa,{weekday:"narrow"}):"SMTWTFS"[e.getDay()],e.setDate(e.getDate()+1);return b}
function Dj(a){a.ma.textContent=a.ya?a.o.toLocaleString(a.oa,{month:"long",year:"numeric"}):a.o.getMonth()+1+"/"+a.o.getFullYear();a.ka.textContent="";var b=new Date(a.o);b.setDate(1);for(0e;e++){var f=document.createElement("td");if(b.getMonth()==a.o.getMonth()){var h=document.createElement("button");f.setAttribute("data-time",b.getTime());var k=!1;a.na&&(k=a.na.getTime()===b.getTime());h.textContent=
b.getDate().toString();h.className="selectable";k&&Cg(h,"selected",!0);f.appendChild(h)}else f.className="unselectable";c.appendChild(f);b.setDate(b.getDate()+1)}a.ka.appendChild(c)}}
function Ej(a){return new Date(a.getFullYear(),a.getMonth(),1)}
zj.prototype.wa=function(a){this.ta=a};
zj.prototype.getElement=function(){return this.ha};
window.sc_createCalendar=function(a){a=new zj(a);return{setSelectDateCallback:a.wa.bind(a),getElement:a.getElement.bind(a)}};function Fj(a,b){this.ma=a;this.ka=b;this.ha=0;this.o=null}
Fj.prototype.get=function(){if(0this.ha&&(this.ha++,a.next=this.o,this.o=a)};var Gj;function Hj(){var a=tb.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!Hd("Presto")&&(a=function(){var f=Gh("IFRAME");f.style.display="none";document.documentElement.appendChild(f);var h=f.contentWindow;f=h.document;f.open();f.close();var k="callImmediate"+Math.random(),n="file:"==h.location.protocol?"*":h.location.protocol+"//"+h.location.host;f=Lb(function(t){if(("*"==n||t.origin==n)&&t.data==k)this.port1.onmessage()},this);
h.addEventListener("message",f,!1);this.port1={};this.port2={postMessage:function(){h.postMessage(k,n)}}});
if("undefined"!==typeof a&&!Id()){var b=new a,c={},e=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var f=c.cb;c.cb=null;f()}};
return function(f){e.next={cb:f};e=e.next;b.port2.postMessage(0)}}return function(f){tb.setTimeout(f,0)}}
;function Ij(a){tb.setTimeout(function(){throw a;},0)}
;function Jj(){this.ha=this.o=null}
Jj.prototype.add=function(a,b){var c=Kj.get();c.set(a,b);this.ha?this.ha.next=c:this.o=c;this.ha=c};
Jj.prototype.remove=function(){var a=null;this.o&&(a=this.o,this.o=this.o.next,this.o||(this.ha=null),a.next=null);return a};
var Kj=new Fj(function(){return new Lj},function(a){return a.reset()});
function Lj(){this.next=this.scope=this.o=null}
Lj.prototype.set=function(a,b){this.o=a;this.scope=b;this.next=null};
Lj.prototype.reset=function(){this.next=this.scope=this.o=null};function Mj(a,b){Nj||Oj();Pj||(Nj(),Pj=!0);Qj.add(a,b)}
var Nj;function Oj(){if(tb.Promise&&tb.Promise.resolve){var a=tb.Promise.resolve(void 0);Nj=function(){a.then(Rj)}}else Nj=function(){var b=Rj;
"function"!==typeof tb.setImmediate||tb.Window&&tb.Window.prototype&&!Hd("Edge")&&tb.Window.prototype.setImmediate==tb.setImmediate?(Gj||(Gj=Hj()),Gj(b)):tb.setImmediate(b)}}
var Pj=!1,Qj=new Jj;function Rj(){for(var a;a=Qj.remove();){try{a.o.call(a.scope)}catch(b){Ij(b)}Kj.put(a)}Pj=!1}
;function Sj(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}}
;function Tj(a){this.o=0;this.ta=void 0;this.ma=this.ha=this.ka=null;this.na=this.oa=!1;if(a!=Bb)try{var b=this;a.call(void 0,function(c){Uj(b,2,c)},function(c){Uj(b,3,c)})}catch(c){Uj(this,3,c)}}
function Vj(){this.next=this.context=this.o=this.ha=this.child=null;this.ka=!1}
Vj.prototype.reset=function(){this.context=this.o=this.ha=this.child=null;this.ka=!1};
var Wj=new Fj(function(){return new Vj},function(a){a.reset()});
function Xj(a,b,c){var e=Wj.get();e.ha=a;e.o=b;e.context=c;return e}
function Yj(a){if(a instanceof Tj)return a;var b=new Tj(Bb);Uj(b,2,a);return b}
Tj.prototype.then=function(a,b,c){return Zj(this,"function"===typeof a?a:null,"function"===typeof b?b:null,c)};
Tj.prototype.$goog_Thenable=!0;function ak(a,b,c){return Zj(a,null,b,c)}
Tj.prototype.cancel=function(a){if(0==this.o){var b=new bk(a);Mj(function(){ck(this,b)},this)}};
function ck(a,b){if(0==a.o)if(a.ka){var c=a.ka;if(c.ha){for(var e=0,f=null,h=null,k=c.ha;k&&(k.ka||(e++,k.child==a&&(f=k),!(f&&1>>0);function Ek(a){if("function"===typeof a)return a;a[Mk]||(a[Mk]=function(b){return a.handleEvent(b)});
return a[Mk]}
;function Nk(){lk.call(this);this.ma=new wk(this);this.lc=this;this.Xb=null}
p(Nk,lk);Nk.prototype[qk]=!0;l=Nk.prototype;l.Hn=function(){return this.Xb};
l.addEventListener=function(a,b,c,e){Ck(this,a,b,c,e)};
l.removeEventListener=function(a,b,c,e){Kk(this,a,b,c,e)};
l.dispatchEvent=function(a){var b=this.Hn();if(b){var c=[];for(var e=1;b;b=b.Hn())c.push(b),++e}b=this.lc;e=a.type||a;if("string"===typeof a)a=new mk(a,b);else if(a instanceof mk)a.target=a.target||b;else{var f=a;a=new mk(e,b);nc(a,f)}f=!0;if(c)for(var h=c.length-1;!a.ka&&02*this.ka&&Pk(this),!0):!1};
function Pk(a){if(a.ka!=a.ha.length){for(var b=0,c=0;b=e.ha.length)throw Qh;var h=e.ha[b++];return a?h:e.o[h]};
return f};
function Qk(a,b){return Object.prototype.hasOwnProperty.call(a,b)}
;var Rk=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^\\/?#]*)@)?([^\\/?#]*?)(?::([0-9]+))?(?=[\\/?#]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/;function Sk(a){a=a.match(Rk)[1]||null;!a&&tb.self&&tb.self.location&&(a=tb.self.location.protocol,a=a.substr(0,a.length-1));return a?a.toLowerCase():""}
;function Tk(a){Uk();return Pd(a,null)}
function Vk(a){Uk();var b=pc();a=b?b.createScript(a):a;return new wc(a,vc)}
function Wk(a){Uk();return Gc(a)}
var Uk=Bb;function Xk(a){switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:return!0;default:return!1}}
;function Yk(){}
Yk.prototype.ha=null;Yk.prototype.Tb=function(){return this.ha||(this.ha=this.ma())};var Zk;function $k(){}
p($k,Yk);$k.prototype.o=function(){var a=al(this);return a?new ActiveXObject(a):new XMLHttpRequest};
$k.prototype.ma=function(){var a={};al(this)&&(a[0]=!0,a[1]=!0);return a};
function al(a){if(!a.ka&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],c=0;c>>0);a={requestId:c,Zt:ml(a,b,c),onLoad:b.onLoad,onError:b.onError||function(){},
oo:b.oo||function(){},
ox:b.ox||function(){},
ku:b.ku,jv:b.pageType,nm:b.nm};b.$c&&("IFRAME"==b.$c.nodeName?(a.window=b.$c.contentWindow,a.$c=a.window.document.body):(a.window=window,a.$c=b.$c));return a}
function ml(a,b,c){var e=nl(a)+"/apis/render?",f=a.ta,h=a.Ea,k=b.helpcenter,n=a.ya,t=a.wa,u=a.Ja,w=a.Ia,A=a.Ba,ma=b.pageType,oa=b.pageId,ua=b.url,ta=b.Fj,wa=b.oD;c=["js_request_id."+c];if(b.extraParams)for(var Ba in b.extraParams)c.push(Ba+"."+b.extraParams[Ba]);a={v:1,key:f,request_source:h,helpcenter:k,hl:n,authuser:t,visit_id:u,view_id:w,psd:A,page_type:ma,id:oa,url:ua,components:ta,exclude_components:wa,extra_params:c,mendel_ids:a.Da,service_configuration:a.Ga,scdeb:a.Ca};b="";for(var Ea in a)f=
a[Ea],void 0!=f&&(Array.isArray(f)&&(f=f.join()),b&&(b+="&"),b+=Ea+"="+encodeURIComponent(f.toString()));return e+b}
function ll(a,b,c){b.window.sc_scope=b.$c;b.onLoad&&(b.window[b.requestId]=function(e){b.onLoad(e.getChild(b.requestId))});
de(b.$c,Tk(c));c=Array.from(b.$c.getElementsByTagName("script"));a.ma(b,c)}
gl.prototype.ma=function(a,b){for(;0a.ha.length;a.na()}
function rl(a){a.o.classList.remove("error");a.o.classList.remove("loading");var b=a.ha.pop();a.ma.removeChild(b.iframe);a.ka.disabled=2>a.ha.length;a.na()}
;function yl(a){if(!a)return"";a=a.split("#")[0].split("?")[0];a=a.toLowerCase();0==a.indexOf("//")&&(a=window.location.protocol+a);/^[\w\-]*:\/\//.test(a)||(a=proxyWindowLocation.href);var b=a.substring(a.indexOf("://")+3),c=b.indexOf("/");-1!=c&&(b=b.substring(0,c));c=a.substring(0,a.indexOf("://"));if(!c)throw Error("URI is missing protocol: "+a);if("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"!==c)throw Error("Invalid URI scheme in origin: "+c);a="";var e=b.indexOf(":");if(-1!=e){var f=b.substring(e+1);b=b.substring(0,e);if("http"===c&&"80"!==f||"https"===c&&"443"!==f)a=":"+f}return c+"://"+b+a}
;function zl(){function a(){f[0]=1732584193;f[1]=4023233417;f[2]=2562383102;f[3]=271733878;f[4]=3285377520;w=u=0}
function b(A){for(var ma=k,oa=0;64>oa;oa+=4)ma[oa/4]=A[oa]oa;oa++)A=ma[oa-3]^ma[oa-8]^ma[oa-14]^ma[oa-16],ma[oa]=(A>>31)&4294967295;A=f[0];var ua=f[1],ta=f[2],wa=f[3],Ba=f[4];for(oa=0;80>oa;oa++){if(40>oa)if(20>oa){var Ea=wa^ua&(ta^wa);var Ca=1518500249}else Ea=ua^ta^wa,Ca=1859775393;else 60>oa?(Ea=ua&ta|wa&(ua|ta),Ca=2400959708):(Ea=ua^ta^wa,Ca=3395469782);Ea=((A>>27)&4294967295)+Ea+Ba+Ca+ma[oa]&4294967295;Ba=wa;wa=ta;ta=(ua>>2)&
4294967295;ua=A;A=Ea}f[0]=f[0]+A&4294967295;f[1]=f[1]+ua&4294967295;f[2]=f[2]+ta&4294967295;f[3]=f[3]+wa&4294967295;f[4]=f[4]+Ba&4294967295}
function c(A,ma){if("string"===typeof A){A=unescape(encodeURIComponent(A));for(var oa=[],ua=0,ta=A.length;uau?c(n,56-u):c(n,64-(u-56));for(var oa=63;56>>=8;b(h);for(oa=ma=0;5>oa;oa++)for(var ua=24;0>ua&255;return A}
for(var f=[],h=[],k=[],n=[128],t=1;64>t;++t)n[t]=0;var u,w;a();return{reset:a,update:c,digest:e,digestString:function(){for(var A=e(),ma="",oa=0;oan?"":0==n?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+1E3*n)).toUTCString();this.o.cookie=a+"="+b+c+k+n+e+(null!=f?";samesite="+
f:"")};
l.get=function(a,b){for(var c=a+"=",e=(this.o.cookie||"").split(";"),f=0,h;fa||5a?a=0:a>c&&(a=c);return a-b}
function am(a){a.preventDefault()}
;function dm(a,b,c){a.timeOfStartCall=(new Date).getTime();var e=c||tb,f=e.document,h=a.nonce||ub(e);h&&!a.nonce&&(a.nonce=h);if("help"==a.flow){var k=zb("document.location.href",e);!a.helpCenterContext&&k&&(a.helpCenterContext=k.substring(0,1200));k=!0;if(b&&JSON&&JSON.stringify){var n=JSON.stringify(b);(k=1200>=n.length)&&(a.psdJson=n)}k||(b={invalidPsd:!0})}b=[a,b,c];e.GOOGLE_FEEDBACK_START_ARGUMENTS=b;c=a.serverUri||"//web.archive.org/web/20210410115130/https://www.google.com/tools/feedback";if(k=e.GOOGLE_FEEDBACK_START)k.apply(e,b);else{e=
c+"/load.js?";for(var t in a)b=a[t],null==b||Ib(b)||(e+=encodeURIComponent(t)+"="+encodeURIComponent(b)+"&");a=Hh((f?new Ph(Oh(f)):Sb||(Sb=new Ph)).o,"SCRIPT");h&&a.setAttribute("nonce",h);ge(a,Wk(e));f.body.appendChild(a)}}
Nb("userfeedback.api.startFeedback",dm);function em(a){window.sc_trackStatsEvent(49,8);fm(a)}
function fm(a){var b=a.productId,c=a.bucket,e=void 0===a.flow?"material":a.flow,f=void 0===a.qn?!1:a.qn,h=void 0===a.Ut?!0:a.Ut,k=a.Yx,n=a.kb,t=a.onLoad,u=a.payload;a=a.description;var w=Jg(),A={};b=(A.flow=e,A.locale=w.lang,A.productId=b,A.disableSubmit=f,A);c&&(b.bucket=c);n&&(b.callback=n);t&&(b.onLoadCallback=t);w.sb_uri&&(b.serverUri=w.sb_uri);k&&(b.reportDataCallback=k);b.allowNonLoggedInFeedback=h;"submit"===e&&(b.report={description:a});var ma={};u.forEach(function(oa,ua){ma[ua]=oa});
dm(b,ma)}
;function gm(){var a=Jg();a=new Map([["answer_id",a.pid],["bc_url",a.bcUrl],["environment_hostname",a.ehn],["external_name",a.ehc],["hc",a.hc],["hostname",a.host],["internal_ip",a.ii],["experiments",a.mendel_ids],["page_type",a.pt],["user_logged_in",a.li],["environment",a.env],["client",hm()]]);window.sc_enable_sj_signals_v2&&(a.set("rule_service_escalation_availability_c2c_event_id",rh().rule_service_escalation_availability_c2c_event_id),a.set("rule_service_escalation_availability_c2c_synthesis_event_id",
rh().rule_service_escalation_availability_c2c_synthesis_event_id),a.set("rule_service_escalation_availability_chat_event_id",rh().rule_service_escalation_availability_chat_event_id),a.set("rule_service_escalation_availability_chat_synthesis_event_id",rh().rule_service_escalation_availability_chat_synthesis_event_id),a.set("rule_service_escalation_availability_email_event_id",rh().rule_service_escalation_availability_email_event_id),a.set("rule_service_escalation_availability_email_synthesis_event_id",
rh().rule_service_escalation_availability_email_synthesis_event_id),a.set("rule_service_escalation_availability_phone_event_id",rh().rule_service_escalation_availability_phone_event_id),a.set("rule_service_escalation_availability_phone_synthesis_event_id",rh().rule_service_escalation_availability_phone_synthesis_event_id),a.set("rule_service_helpcenter_fields_synthesis_event_id",rh().rule_service_helpcenter_fields_synthesis_event_id));return a}
function hm(){var a=Jg().rs;switch(a){case 4:return"cases";case 1:return"helpcenter";default:return String(a)}}
;function im(){jm(this)}
function jm(a){a.o=(new Pl({className:"material-dialog-backdrop",dj:"material-dialog-backdrop--active",dr:"material-dialog-backdrop--locked",Ru:"material-dialog-backdrop--disable-click-capture"})).Wp(function(){return!a.na});
a.o.getElement().addEventListener("click",function(b){b=b.target;var c=b.getAttribute("data-material-dialog-action");c&&(a.ha&&a.ha(c),Gg(b,"material-dialog--disable-close")||a.close())})}
im.prototype.open=function(a){var b=this,c=a.querySelector(".material-dialog__title");c&&cm(c,a).reset().enable(Gg(a,"material-dialog--draggable"));var e=a.querySelector(".material-dialog__minimize-button");if(e){var f=e.getAttribute("data-material-dialog-minimized-aria-label"),h=function(){var k=document.createElement("button");k.className="material-dialog-minimized";k.textContent=c.textContent+"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u2594";f&&k.setAttribute("aria-label",f);k.addEventListener("click",
function(){b.o.open();document.body.removeChild(k)});
b.o.close();document.body.appendChild(k);k.focus()};
this.ma=function(){return e.removeEventListener("click",h)};
e.addEventListener("click",h)}this.na=Gg(a,"material-dialog--disable-close");this.o.ep(!Gg(a,"material-dialog--show-background")).ap(Gg(a,"material-dialog--disable-click-capture")).Rd(a).open();a.focus();return this};
im.prototype.close=function(){this.o.close();this.ma&&this.ma();this.ka&&this.ka()};
im.prototype.Bc=function(a){this.ha=a;return this};
im.prototype.kb=function(a){this.ka=a;return this};
im.prototype.onClose=im.prototype.kb;im.prototype.onAction=im.prototype.Bc;im.prototype.close=im.prototype.close;im.prototype.open=im.prototype.open;function km(a,b,c,e){this.ka=a;this.ha=b;this.o=c;this.ma=void 0===e?1:e}
function lm(a){if(!a||"transparent"===a)return new km(0,0,0,0);var b=a.match(/\.?\d+(\.\d+)?/g);if(3>b.length)throw Error("Could not parse '"+a+"' as a color.");b.length=4;return new (Function.prototype.bind.apply(km,[null].concat(Da(b.map(Number)))))}
function mm(a){var b=nm(a,om);a=nm(a,pm);return 3.1>b&&a>b}
var pm=new km(0,0,0),om=new km(255,255,255);function nm(a,b){a=.2126*qm(a.ka)+.7152*qm(a.ha)+.0722*qm(a.o)+.05;b=.2126*qm(b.ka)+.7152*qm(b.ha)+.0722*qm(b.o)+.05;return Math.max(a,b)/Math.min(a,b)}
function qm(a){a/=255;return.03928>a?a/12.92:Math.pow((a+.055)/1.055,2.4)}
;/*
Copyright 2018 The Incremental DOM Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS-IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
var rm=Object.prototype.hasOwnProperty;function sm(){}
sm.prototype=Object.create(null);function tm(a,b){for(;a.length>b;)a.pop()}
function um(a){a=Array(a);tm(a,0);return a}
;var vm=new sm;vm.__default=function(a,b,c){var e=typeof c;"object"===e||"function"===e?a[b]=c:null==c?a.removeAttribute(b):(e=0===b.lastIndexOf("xml:",0)?"http://www.w3.org/XML/1998/namespace":0===b.lastIndexOf("xlink:",0)?"http://www.w3.org/1999/xlink":null)?a.setAttributeNS(e,b,c):a.setAttribute(b,c)};
vm.style=function(a,b,c){a=a.style;if("string"===typeof c)a.cssText=c;else{a.cssText="";for(var e in c)if(rm.call(c,e)){b=e;var f=c[e];0\n \n \n\n'),
"add.svg":uc('\n'),"announcement.svg":uc('\n'),"arrow_back.svg":uc('\n'),
"arrow_drop_down.svg":uc('\n'),"arrow_drop_up.svg":uc('\n'),"arrow_forward.svg":uc('\n'),
"calendar_today.svg":uc('\n'),"chat.svg":uc('\n'),
"check.svg":uc('\n'),"check_circle.svg":uc('\n'),
"check_circle_outline.svg":uc('\n'),"close.svg":uc('\n'),
"content_copy.svg":uc('\n'),"delete_outline.svg":uc('\n'),"do_not_disturb.svg":uc('\n'),
"down_arrow.svg":uc('\n'),"drive_document.svg":uc('\n'),"email.svg":uc('\n'),
"error_outline.svg":uc('\n'),"face.svg":uc('\n'),
"filter_list.svg":uc('\n'),"format_quote.svg":uc('\n'),
"help_outline.svg":uc('\n'),"info_filled.svg":uc('\n'),
"keyboard_arrow_up.svg":uc('\n'),"language.svg":uc('\n'),
"mode_edit.svg":uc('\n'),"more_vert.svg":uc('\n'),
"navigate_before.svg":uc('\n'),"navigate_next.svg":uc('\n'),"notifications.svg":uc('\n'),
"open_in_new.svg":uc('\n'),"phone.svg":uc('\n'),
"play_arrow.svg":uc('\n'),"public.svg":uc('\n'),
"question_answer.svg":uc('\n'),"remove_circle_outline.svg":uc('\n'),
"restart_alt.svg":uc('\n'),"search.svg":uc('\n'),
"sentiment_very_satisfied.svg":uc('\n'),"star.svg":uc('\n'),
"star_boarder.svg":uc('\n'),"storefront.svg":uc('\n'),
"supervised_user_circle.svg":uc('\n'),
"thumb_up.svg":uc('\n'),"thumb_up_alt.svg":uc('\n'),
"video_youtube.svg":uc('\n'),"warning.svg":uc('\n')};var Dn="arrow_back arrow_forward chevron_left chevron_right exit_to_app first_page format_quote last_page navigate_before navigate_next open_in_new star_half gm/arrow_back gm/arrow_forward gm/format_quote gm/help_outline gm/play_arrow gm/open_in_new".split(" ");function En(a){var b=a.icon,c=void 0===a.size?24:a.size,e=void 0===a.Ib?!1:a.Ib,f=void 0===a.Pd?[]:a.Pd;a=void 0===a.title?"":a.title;gn.call(this,"sc.shared.MaterialIcon");this.icon=b;this.size=c;this.Pd=f;this.Ib=e;this.title=a}
Oa(En,gn);En.prototype.content=function(){var a=this,b=this.size/16+"rem",c={root:!0,baseline:this.Ib,flip:-1!==Dn.indexOf(this.icon)},e=0===this.icon.indexOf("gm/");e||(c["text-icon"]=!0);for(var f=za(this.Pd),h=f.next();!h.done;h=f.next())h=h.value,""!==h&&(c[h]=!0);e?this.element("div","class",c,"title",this.title,"style",{width:b,height:b},function(){en(Cn[a.icon.replace("gm/","")+".svg"])}):this.element("div","class",c,"title",this.title,"style","font-size: "+b,this.icon)};var Fn=[{opacity:0},{opacity:.16,offset:.25},{opacity:.16,offset:.5},{opacity:0}],Gn={duration:300},Hn={duration:225,easing:"cubic-bezier(.4, .0, .2, 1)"};function In(a){a=void 0===a?{}:a;a=void 0===a.ej?!1:a.ej;gn.call(this,"sc.shared.MaterialInteractionOverlay");var b=this;this.ha=!1;this.parentElement=null;this.ej=a;this.na=function(c){Jn(b,c.clientX,c.clientY,b.ej)};
this.ka=function(){b.ha=!0;b.Ha()};
this.ma=function(){b.ha=!1;b.Ha()}}
Oa(In,gn);In.prototype.content=function(){var a=this,b=mm(lm(getComputedStyle(this.element("span")).color));this.root=this.element("div","class",{root:!0,"light-text":b,hover:this.ha},function(){a.element("div","class","hover-overlay");a.element("div","class","pressed-overlay");a.o=a.element("div","class","ripple")});
Kn(this)};
function Kn(a){setTimeout(function(){var b,c,e=a.parentElement,f=null!==(c=a.getElement()&&(null===(b=a.getElement())||void 0===b?void 0:b.parentElement))&&void 0!==c?c:null;e!==f&&(e&&(e.removeEventListener("mousedown",a.na),e.removeEventListener("mouseenter",a.ka),e.removeEventListener("mouseleave",a.ma)),f&&(f.addEventListener("mousedown",a.na),f.addEventListener("mouseenter",a.ka),f.addEventListener("mouseleave",a.ma)),a.parentElement=f)},0)}
function Ln(a,b){"Enter"!==b.code&&"Space"!==b.code||Jn(a,0,0,!0)}
function Jn(a,b,c,e){var f;if(null!==(f=a.o)&&void 0!==f&&f.animate){var h=a.root.getBoundingClientRect(),k=.6*Math.max(h.width,h.height)/256,n=(Math.sqrt(Math.pow(h.width/2,2)+Math.pow(h.height/2,2))+10)/128;if(e)b=h="calc(50% - 128px)",k="scale("+k+")",n="scale("+n+")";else{b=b-h.left-128;var t=c-h.top-128;c=h.width/2-128-b;e=h.height/2-128-t;h=t+"px";b+="px";k="translate(0, 0) scale("+k+")";n="translate("+c+"px, "+e+"px) scale("+n+")"}k=[{transform:k},{transform:n}];a.o.style.top=h;a.o.style.left=
b;a.o.style.transform=n;a.o.animate(Fn,Gn);a.o.animate(k,Hn)}}
;function Mn(a){a=void 0===a?{}:a;gn.call(this,"sc.shared.MaterialButton");this.model=a instanceof zn?a:new zn(a);this.overlay=new In;kn(this,this.model)}
Oa(Mn,gn);l=Mn.prototype;
l.content=function(a){var b=this;a&&this.model.Cd(a);var c=""!==this.model.Ra(),e=""!==this.model.Ng();this.o=this.element("button","class",{root:!0,text:1===this.model.getStyle()||2===this.model.getStyle(),"color-label":8===this.model.getStyle(),"color-hint":2===this.model.getStyle()||6===this.model.getStyle()&&c,hairline:3===this.model.getStyle(),filled:4===this.model.getStyle(),"protected":5===this.model.getStyle(),navigational:6===this.model.getStyle()&&!c,"navigational-alt":7===this.model.getStyle(),
"left-icon":Bn(this.model),"right-icon":An(this.model),"icon-only":e&&!c,"small-icon":this.model.Ii,hidden:!this.model.qj},"style",""===this.model.Aj()?null:{"max-width":this.model.Aj()},"type","button","aria-label",this.model.wj(),"aria-expanded",this.model.bq,"aria-controls",this.model.aq,"disabled",this.model.xj(),"onclick",function(f){b.Db(f)},"onkeydown",function(f){b.overlay&&Ln(b.overlay,f)},function(){e&&b.element("span","class","icon",new En({icon:b.model.Ng(),
size:b.model.Ii||c?18:24,Ib:!0}));c&&b.element("span","class",{overflow:""!==b.model.Aj()},function(){Ym(b.model.Ra())});
b.overlay.render()})};
l.Db=function(a){var b=this.model.Ln();b&&b({method:0===a.clientX&&0===a.clientY?1:2})};
l.Gc=function(a){this.model.Gc(a)};
l.nd=na(8);l.Ra=function(){return this.model.Ra()};
l.lb=function(a){this.model.lb(a)};
l.focus=function(){var a;null===(a=this.o)||void 0===a?void 0:a.focus()};function Nn(a){var b=a.content,c=void 0===a.bc?5:a.bc,e=void 0===a.jc?5:a.jc,f=void 0===a.th?0:a.th,h=void 0===a.rf?0:a.rf,k=void 0===a.Dg?!1:a.Dg,n=a.kb,t=a.maxHeight,u=void 0===a.Fp?!1:a.Fp,w=void 0===a.Am?!0:a.Am,A=void 0===a.Vk?!0:a.Vk;a=void 0===a.mk?!0:a.mk;gn.call(this,"sc.shared.MaterialPopup");this.ka=null;this.ma=!1;this.oa=b;this.th=f;this.rf=h;this.bc=c;this.jc=e;this.maxHeight=t;this.ta=!u;this.mk=a;this.kb=n;this.Dg=k;this.Am=w;this.Vk=A}
Oa(Nn,gn);l=Nn.prototype;l.he=function(){return!0};
l.content=function(){var a=this;this.na=this.element("div","class","backdrop","style",{pointerEvents:this.mk&&this.isOpen()?"auto":"none"},"onclick",this.mk?function(b){b.target===a.na&&a.close()}:void 0,function(){a.o=a.element("div","class",{popup:!0,
background:a.ta},"style",{display:a.isOpen()?"":"none",transform:a.isOpen()?"scale(1, 1)":"scale("+(0===a.th?1:0)+", "+(0===a.rf?1:0)+")",transformOrigin:On(a.th)+" "+On(a.rf),opacity:a.isOpen()?"1":"0",visibility:a.isOpen()?"visible":"hidden"},"onkeydown",function(b){if(a.Vk&&"Escape"===b.key)a.close();else if(a.Am)if("Tab"===b.key&&!b.shiftKey||a.Dg&&"ArrowDown"===b.key){b.preventDefault();b=a.o?nn(a.o):[];var c=Pn(a);c=void 0===c?document:c;pn(b,1,c)}else if("Tab"===b.key&&b.shiftKey||a.Dg&&"ArrowUp"===
b.key)b.preventDefault(),b=a.o?nn(a.o):[],c=Pn(a),c=void 0===c?document:c,pn(b,-1,c)},a.oa)});
this.ha&&this.ha()};
l.open=function(a){var b=this;a=void 0===a?{}:a;var c=a.anchor,e=a.Cb,f=a.qf,h=a.Fe;this.isOpen()||(this.ma=!0,this.Ha(),this.ha=function(){var k=c;if(b.o){var n=f||0,t=h||0;k instanceof gn&&(k=k.getElement());var u=b.na.getBoundingClientRect();k?(k=k.getBoundingClientRect(),n+=Qn(b.bc,k.left,k.right,u.left,u.width,b.o.offsetWidth),t+=Qn(b.jc,k.top,k.bottom,u.top,u.height,b.o.offsetHeight)):(n+=Rn(b.bc,u.width,b.o.offsetWidth),t+=Rn(b.jc,u.height,b.o.offsetHeight));b.maxHeight&&(b.o.style.maxHeight=
b.maxHeight,b.o.style.overflowY="auto");n=Sn(n,b.o.offsetWidth,u.width);t=Sn(t,b.o.offsetHeight,u.height);b.o.style.left=n+"px";b.o.style.top=t+"px"}},window.addEventListener("resize",this.ha),window.addEventListener("scroll",this.ha),this.ha(),e&&(document.activeElement instanceof HTMLElement&&(this.ka=document.activeElement),a=this.o?nn(this.o):[],0c||0>a?0:a+b>=c?c-b:a}
function On(a){switch(a){case 1:case 3:return"100%";case 2:case 4:return"0%";default:return"50%"}}
function Pn(a){var b,c;return null!==(c=null===(b=a.getElement())||void 0===b?void 0:b.getRootNode())&&void 0!==c?c:document}
;function Tn(a){var b=a.content,c=void 0===a.tg?!0:a.tg,e=void 0===a.Xm?"placement-start":a.Xm,f=void 0===a.Wm?"alignment-start":a.Wm,h=void 0===a.style?"style-normal":a.style,k=hg(a);gn.call(this,"sc.shared.MaterialRichTooltip");var n=this;this.ha=!1;this.Fe=this.qf=0;this.ka=b;this.tg=c;this.na=e;this.ma=f;this.oa=h;this.o=new Nn(Object.assign({content:function(){Un(n)},
Fp:!0,Am:!1,Vk:!1},k))}
Oa(Tn,gn);Tn.prototype.open=function(a){this.tg?this.o.open(a):(this.ha=!0,this.Ha())};
Tn.prototype.close=function(){this.tg?this.o.close():(this.ha=!1,this.Ha())};
Tn.prototype.he=function(){return!0};
Tn.prototype.content=function(){var a=this;this.tg?this.o.render():this.element("div","class","popup-container","style",{visibility:this.ha?"visible":"hidden",transform:"translate("+this.qf+"px, "+this.Fe+"px)"},function(){Un(a)})};
function Un(a){a.element("div","class","root "+a.na+" "+a.oa,function(){a.element("div","class","container",a.ka);a.element("div","class","clip-track "+a.ma,function(){a.element("div","class","clip",function(){a.element("div","class","caret")})})})}
;var Vn={nz:!1,fj:!0};function Wn(){gn.call(this,"sc.shared.MaterialSnackbar");this.ha=new Mn;this.message="";this.rj=5E3;this.Em=!1;this.state=2}
Oa(Wn,gn);Wn.prototype.open=function(a){var b=this,c=a.message,e=a.action,f=void 0===a.rj?5E3:a.rj;a=void 0===a.Em?!1:a.Em;if(0===this.state)return Promise.resolve();this.state=0;this.message=c;this.rj=f;this.Em=a;e?this.action=Object.assign(Object.assign({},Vn),e):this.action=void 0;this.Ha();Xn(this);return new Promise(function(h){b.kb=h})};
Wn.prototype.close=function(){0===this.state&&(this.o&&clearTimeout(this.o),this.state=1,this.Ha())};
Wn.prototype.content=function(){var a=this;this.element("div","class",{root:!0,widescreen:this.Em,"root-closed":2===this.state},function(){var b;a.element("div","class",{snackbar:!0,opened:0===a.state,closing:1===a.state,closed:2===a.state,"long-action":null===(b=a.action)||void 0===b?void 0:b.nz},"ontransitionend",function(c){var e;"opacity"===c.propertyName&&0!==a.state&&2!==a.state&&(a.state=2,a.Ha(),null===(e=a.kb)||void 0===e?void 0:e.call(a))},function(){a.element("div","role","status","aria-live",
0===a.state?"polite":"off","class","message",a.message);
Yn(a)})})};
function Yn(a){a.action&&a.element("div","class","action",function(){a.ha.render({text:a.action.actionText,trigger:function(){var b,c;a.action.fj&&a.close();null===(c=(b=a.action).Bc)||void 0===c?void 0:c.call(b)}})})}
function Xn(a){a.action||(a.o=setTimeout(function(){a.close()},a.rj))}
;function Zn(){this.o=[];this.ha=!1;this.ka=new Wn}
Zn.prototype.initialize=function(a){a=void 0===a?document.body:a;if(this.ha)return this;this.ha=!0;$n(this,a);return this};
Zn.prototype.open=function(a){this.ha&&(this.o.push(a),ao(this))};
Zn.prototype.close=function(){this.ka.close()};
function ao(a,b){b=void 0===b?!1:b;var c;ig(a,function f(){var h=this,k;return ib(f,function(n){if(1==n.o){k=h;if(!b&&h.ma)return n.return();if(0===h.o.length)return null===(c=h.oa)||void 0===c?void 0:c.call(h),delete h.ma,delete h.oa,n.return();h.ma||(h.ma=new Promise(function(t){k.oa=t}));
return Wa(n,h.ka.open(h.o[0]),2)}h.o.shift();ao(h,!0);Xa(n)})})}
function $n(a,b){"interactive"===document.readyState||"complete"===document.readyState?bo(a,b):window.addEventListener("DOMContentLoaded",function(){bo(a,b)})}
function bo(a,b){a.na=document.createElement("div");b.appendChild(a.na);an(a.na,function(){a.ka.render()})}
var co=new Zn;function eo(a){var b=void 0===a?{}:a;a=void 0===b.size?"mspin-small":b.size;b=void 0===b.Rk?!1:b.Rk;gn.call(this,"sc.shared.MaterialSpinner");this.size=a;this.Rk=b}
Oa(eo,gn);eo.prototype.content=function(){var a=this;this.element("div","class","mspin "+this.size+" "+(this.Rk?"mspin-centered":""),function(){a.element("div",function(){a.element("div")})})};function fo(a){vn.call(this);this.inputType="";this.Hf=!1;this.Me=!0;this.fi=this.rows=0;this.Dj=this.text=this.label="";this.Ob=this.filled=!1;this.Zd=!0;this.disabled=this.wm=!1;this.placeholder="";this.Ke=[];this.error="";this.Cd(a)}
Oa(fo,vn);l=fo.prototype;
l.Cd=function(a){var b=void 0===a.Hf?!1:a.Hf,c=void 0===a.Me?!0:a.Me,e=void 0===a.rows?0:a.rows,f=void 0===a.fi?0:a.fi,h=void 0===a.label?"":a.label,k=void 0===a.placeholder?"":a.placeholder,n=void 0===a.text?"":a.text,t=void 0===a.Dj?"":a.Dj,u=void 0===a.filled?!1:a.filled,w=void 0===a.Ob?!1:a.Ob,A=void 0===a.Zd?!0:a.Zd,ma=void 0===a.wm?!1:a.wm,oa=void 0===a.disabled?!1:a.disabled,ua=void 0===a.Od?void 0:a.Od,ta=void 0===a.If?void 0:a.If,wa=void 0===a.af?void 0:a.af,Ba=void 0===a.Ke?["self"]:a.Ke,
Ea=void 0===a.error?"":a.error;this.inputType=void 0===a.inputType?"":a.inputType;this.Hf=b;this.rows=e;this.fi=f;this.label=h;this.placeholder=k;this.text=n;this.Dj=t;this.filled=u;this.Ob=w;this.Zd=A;this.wm=ma;this.disabled=oa;this.Od=ua;this.If=ta;this.af=wa;this.Ke=Ba;this.error=Ea;this.Me=c};
l.wb=function(){return this.label};
l.Kd=function(){return this.inputType};
l.Ra=function(){return this.text};
l.lb=function(a){a!==this.text&&(this.text=a,yn(this,0))};
l.Gc=function(a){a!==this.disabled&&(this.disabled=a,yn(this,3))};function ho(a){a=void 0===a?{}:a;gn.call(this,"sc.shared.MaterialTextField");this.labelId=ln();this.na=ln();this.ma=ln();this.o=null;this.ka=!1;this.model=a instanceof fo?a:new fo(a);kn(this,this.model)}
Oa(ho,gn);function io(a){return a.model.Me?a.o?a.o:new qn({label:a.model.placeholder,floatingLabel:a.model.Zd,disabled:a.model.disabled,filled:a.model.filled,Ob:a.model.Ob,Of:function(){return""!==a.model.Ra()},
Jj:a.na}):null}
l=ho.prototype;
l.content=function(a){var b=this;a&&this.model.Cd(a);this.o=io(this);this.element("div","class","root",function(){b.model.wb()&&b.element("label","class","label","id",b.labelId,b.model.wb());b.o&&(b.o.error=!!b.model.error);b.element("div","class",{"input-container":!0,multiline:b.model.Hf,dense:b.model.Ob,invalid:b.model.error,outlined:!b.model.filled,filled:b.model.filled,disabled:b.model.disabled},function(){b.element(b.model.wb()?"div":"label","class",{box:!0,"box-no-label":b.model.filled&&!b.model.Zd,
"filled-box":b.model.filled&&!b.model.Ob&&(b.model.Zd||b.model.Hf),"filled-label":b.model.filled&&!b.model.Ob&&b.model.Zd,"outlined-box":!b.model.filled&&b.model.Zd},function(){b.ha=b.element(b.model.Hf?"textarea":"input","class",{"native-control":!0,"native-control-filled":b.model.filled},"style",{padding:"0 15px","padding-bottom":b.model.filled?"0":"15px"},"placeholder",b.o?"":b.model.placeholder,"type",b.model.Kd(),"rows",b.model.rows,"disabled",b.model.disabled,"aria-labelledby",jo(b),"onfocus",
function(){return void b.If()},"onblur",function(){return void b.af()},"oninput",function(){var f;
b.model.lb(b.ha.value);null===(f=b.model.Od)||void 0===f?void 0:f()});
b.ha.value=b.model.Ra();if(b.model.Hf&&0===b.model.rows){var e=ko(b);b.ha.style.height=e+"px";0===e&&(b.ha.style.overflowY="hidden")}});
b.o&&(b.o.render(),tn(b.o,b.model.placeholder))});
var c=b.model.error||b.model.Dj;c&&(b.element("div","id",b.ma,"class",{"helper-text":!0,"helper-text-invalid":b.model.error,"helper-text-disabled":b.model.disabled,"helper-text-filled":b.model.filled,"helper-text-outlined":!b.model.filled,"helper-text-hidden":!b.model.error&&b.model.wm&&!b.ka},c),b.ha.setAttribute("aria-describedby",b.ma))})};
function jo(a){return a.model.Ke?a.model.Ke.map(function(b){return"self"===b?lo(a):b}).join(" "):lo(a)}
function lo(a){return a.model.wb()?a.labelId:a.model.placeholder?a.na:null}
function ko(a){var b=Number(getComputedStyle(a.ha).paddingLeft.replace(/[^0-9\.]/g,"")),c=a.ha.clientWidth-2*b;b=a.element("div","class","expander","style","width: "+c+"px",""+a.model.Ra()+"\u200b");if(a.model.fi){var e="\n".repeat(a.model.fi-1);a=a.element("div","class","expander","style","width: "+c+"px",""+e+"\u200b");return Math.min(b.clientHeight,a.clientHeight)}return b.clientHeight}
l.If=function(){var a;this.ka=!0;this.o&&this.o.focus();null===(a=this.model.If)||void 0===a?void 0:a();this.Ha()};
l.af=function(){var a;this.ka=!1;this.o&&this.o.blur();null===(a=this.model.af)||void 0===a?void 0:a();this.Ha()};
l.Ra=function(){return this.model.Ra()};
l.lb=function(a){this.model.lb(a)};
l.$d=function(){return!!this.model.error};
l.Gc=function(a){this.model.Gc(a)};
l.focus=function(){this.ha.focus()};function mo(a){var b=void 0===a.text?"":a.text,c=a.trigger,e=void 0===a.isRtl?!1:a.isRtl,f=void 0===a.Sg?!0:a.Sg,h=void 0===a.Ce?!1:a.Ce,k=void 0===a.Gi?10:a.Gi;a=void 0===a.jk?0:a.jk;gn.call(this,"sc.shared.MaterialTooltip");var n=this;this.ha=!1;this.o=!0;this.Gi=k;this.jk=a;this.isRtl=e;this.text=b;this.trigger=c;this.Sg=f;this.Ce=h;this.activate=function(){if(!n.Ce||no(n,n.trigger))n.ha=!0,n.Ha()};
this.deactivate=function(){n.ha=!1;n.Ha()};
this.ka=function(t){var u=t.clientX,w=t.clientY;t=n.container.getBoundingClientRect();var A=t.right,ma=t.bottom;w=t.top=e.x&&(a.style.left=a.offsetWidth+10+"px");else if(e.right>=c){var f=Number(a.style.left.replace("px",""));a.style.left=Math.floor(f-(e.right-c))+"px"}e.bottom>=b&&(a.style.top=a.offsetHeight/2*-1+"px")}};
mo.prototype.Qj=function(){oo(this)};
function po(a){a.trigger.addEventListener("mouseenter",a.activate);a.trigger.addEventListener("mouseleave",a.ka);a.trigger.addEventListener("focus",a.activate);a.trigger.addEventListener("blur",a.deactivate);a.container&&a.container.addEventListener("mouseleave",a.deactivate)}
function oo(a){a.trigger.removeEventListener("mouseenter",a.activate);a.trigger.removeEventListener("mouseleave",a.ka);a.trigger.removeEventListener("focus",a.activate);a.trigger.removeEventListener("blur",a.deactivate);a.container&&a.container.removeEventListener("mouseleave",a.deactivate)}
function no(a,b){if(b.scrollWidth>b.getBoundingClientRect().width)return!0;b=za(b.children);for(var c=b.next();!c.done;c=b.next())if(no(a,c.value))return!0;return!1}
;function qo(){this.ha={};this.o=0}
l=qo.prototype;l.format=function(a){var b=ie("SafeHtmlFormatter:");a=ie(a).replace(new RegExp("\\{"+b+"[\\w]+\\}","g"),Lb(this.Vx,this,[]));return Pd(a,null)};
l.Vx=function(a,b){a=this.ha[b];if(!a)return b;b="";a.Sd&&(b+="");a.html&&(b+=a.html);a.Jd&&(b+=""+a.Jd+">");return b};
l.Sd=function(a,b){Td(a);return ro(this,{Sd:a,attributes:Xd(b)})};
l.Jd=function(a){Td(a);return ro(this,{Jd:a})};
l.text=function(a){return ro(this,{html:ie(a)})};
l.safeHtml=function(a){return ro(this,{html:Nd(a).toString()})};
function ro(a,b){a.o++;var c="{SafeHtmlFormatter:"+a.o+"_"+ke()+"}";a.ha[ie(c)]=b;return c}
;function so(a){this.o=a;a.then(Lb(function(){},this),function(){},this)}
function to(a,b,c){return a.o.then(function(e){var f=e[b];if(!f)throw Error("Method not found: "+b);return f.apply(e,c)})}
function uo(a,b,c){for(var e=Array(arguments.length-2),f=2;f>>0),ma=[["js_request_id",A],["rr",1],["lc",1]],oa=Oo();0\n'),"bronze_expert.svg":uc('\n'),
"community_specialist.svg":uc('\n'),"diamond_expert.svg":uc('\n'),
"error_computer.svg":uc('\n'),
"gold_expert.svg":uc('\n'),
"google_employee.svg":uc('\n'),"legacy_expert.svg":uc('\n'),
"logo_googleg_48dp.svg":uc('\n'),
"page_desktop.svg":uc('\n'),
"page_desktop_dark.svg":uc('\n'),
"platinum_expert.svg":uc('\n'),
"search.svg":uc('\n'),"silver_expert.svg":uc('\n'),
"workflow.svg":uc('\n'),
"workflow_dark.svg":uc('\n')};function Bq(a){gn.call(this,"sc.shared.TsAssetInterop");this.o=a}
Oa(Bq,gn);Bq.prototype.content=function(){en(Aq[this.o])};function Cq(a,b,c){b=void 0===b?!0:b;void 0===c||c?he(a,window):(c=document.createElement("a"),ee(c,a),c.rel="noopener",b?(a=ug(c.href),proxyWindowLocation.href=og(a)):(a=ug(c.href),zapp_proxyCustomReplace(og(a))))}
;function Dq(a){var b;if(!a)return"";var c=document.createElement("textarea");a=Eq(a);ce(c,a);return null!==(b=c.textContent)&&void 0!==b?b:""}
function Eq(a){return lj(new Wi(new Xi),a)}
function Fq(a,b){a.preventDefault();b();return!1}
;function Gq(a){vn.call(this);this.icon=this.text="";this.style=this.type=0;this.ri=this.selected=!1;this.qp=!0;this.disabled=!1;this.Cd(a)}
Oa(Gq,vn);l=Gq.prototype;l.Cd=function(a){var b=void 0===a.icon?"":a.icon,c=void 0===a.type?0:a.type,e=void 0===a.style?0:a.style,f=void 0===a.selected?!1:a.selected,h=void 0===a.ri?!1:a.ri,k=a.qp,n=void 0===a.disabled?!1:a.disabled,t=a.trigger,u=a.remove;this.text=a.text;this.icon=b;this.type=c;this.style=e;this.selected=f;this.ri=h;this.qp=null!==k&&void 0!==k?k:h;this.disabled=n;this.trigger=t;this.remove=u};
l.Ra=function(){return this.text};
l.Ng=function(){return this.icon};
l.getType=function(){return this.type};
l.getStyle=function(){return this.style};
l.Nf=function(a){a!==this.selected&&(this.selected=a,yn(this,0))};
function Hq(a){return a.ri&&a.qp}
l.Ln=function(){return this.trigger};
l.xj=function(){return this.disabled};function Iq(a){a=void 0===a?{text:""}:a;gn.call(this,"sc.shared.MaterialChip");this.ka=new En({icon:"gm/close",size:18});this.o=new En({icon:"gm/check",size:20,Ib:!0});this.overlay=new In;this.model=a instanceof Gq?a:new Gq(a);kn(this,this.model)}
Oa(Iq,gn);Iq.prototype.content=function(a){var b=this;a&&this.model.Cd(a);this.ha=this.element("button","disabled",this.model.xj(),"class",{root:!0,input:0===this.model.getType(),action:0!==this.model.getType(),assistive:1===this.model.getType(),suggestive:2===this.model.getType(),filter:3===this.model.getType(),hairline:0===this.model.getStyle(),"protected":1===this.model.getStyle(),selected:this.model.selected,disabled:this.model.xj()},"onclick",function(){b.Db()},"onkeydown",function(c){var e;
Ln(b.overlay,c);b.model.ri&&"Backspace"===c.key&&(null===(e=b.model.remove)||void 0===e?void 0:e())},function(){b.model.Ng()&&b.element("span","class","icon",function(){(new En({icon:b.model.Ng(),
size:20,Ib:!0})).render()});
3===b.model.getType()&&b.element("span","class","checkmark",b.o);b.model.Ra()&&b.element("span","class","text",b.model.Ra());Hq(b.model)&&b.element("button","disabled",b.model.xj(),"class","remove-icon","onclick",function(c){var e;c.stopPropagation();null===(e=b.model.remove)||void 0===e?void 0:e()},b.ka);
b.overlay.render()})};
Iq.prototype.Db=function(){var a;3===this.model.getType()&&this.model.Nf(!this.model.selected);null===(a=this.model.Ln())||void 0===a?void 0:a()};
Iq.prototype.focus=function(){var a;null===(a=this.ha)||void 0===a?void 0:a.focus()};
Iq.prototype.isSelected=function(){return this.model.selected};function Jq(a){var b=a.serviceName;this.zd=a.zd;this.serviceName=b}
Jq.prototype.get=function(a,b,c,e){c=void 0===c?{}:c;e=void 0===e?new XMLHttpRequest:e;return ig(this,function h(){var k=this,n;return ib(h,function(t){if(1==t.o)return Wa(t,k.call("GET",a,c,e,"application/json+protobuf"),2);n=t.ha;try{return t.return(Bf(b,n))}catch(u){throw Kq(k,a),u;}})})};
Jq.prototype.post=function(a,b,c,e,f){e=void 0===e?{}:e;f=void 0===f?new XMLHttpRequest:f;return ig(this,function k(){var n=this,t;return ib(k,function(u){if(1==u.o)return Wa(u,n.call("POST",a,e,f,"application/json+protobuf",b.Pb()),2);t=u.ha;try{return u.return(Bf(c,t))}catch(w){throw Kq(n,a),w;}})})};
Jq.prototype.call=function(a,b,c,e,f,h){return ig(this,function n(){var t=this,u;return ib(n,function(w){u=t;return w.return(new Promise(function(A,ma){var oa="";if(c.query){for(var ua=[],ta=za(Object.entries(c.query)),wa=ta.next();!wa.done;wa=ta.next()){var Ba=za(wa.value);wa=Ba.next().value;Ba=Ba.next().value;Ba=Array.isArray(Ba)?Ba:[Ba];Ba=za(Ba);for(var Ea=Ba.next();!Ea.done;Ea=Ba.next())Ea=Ea.value,ua.push(encodeURIComponent(wa)+"="+encodeURIComponent(Ea))}0e.status||299e&&n++;break;case "0":if(0e&&n++;break;case ",":0f+h||1>this.Da)throw Error('Malformed exponential pattern "'+a+'"');u=!1;break;default:b[0]--,u=!1}0==h&&0e&&0f+h)||0==n)throw Error('Malformed pattern "'+
a+'"');k=f+h+k;this.ka=0this.oa&&(this.oa=0));this.ha=(0this.ma.length?e=!1:this.wa.length=ta)oa+=ta,n=!0;else if(ua==w.charAt(0)){if(h||k)break;oa+=".";h=!0}else if(ua==A.charAt(0)&&("\u00a0"!=A.charAt(0)||b[0]+1a||0==a&&0>1/a;e?c.lr?b.push(c.lr):(b.push(c.prefix),b.push(this.ma)):(b.push(c.prefix),b.push(this.wa));if(isFinite(a))if(a=a*(e?-1:1)*this.o,this.Ea)if(0==a)Zq(this,a,this.ha,b),$q(this,0,b);else{var f=Math.floor(Math.log(a)/Math.log(10)+2E-15);a=Yq(a,-f);var h=this.ha;1this.ha?(h=f%this.Ba,0>h&&(h=this.Ba+h),a=Yq(a,h),f-=h,h=1):1>this.ha?(f++,a=Yq(a,-1)):(f-=this.ha-1,a=Yq(a,this.ha-
1));Zq(this,a,h,b);$q(this,f,b)}else Zq(this,a,this.ha,b);else b.push(Tq.Lm);e?c.mr?b.push(c.mr):(b.push(c.suffix),b.push(this.ya)):(b.push(c.suffix),b.push(this.Ca));return b.join("")};
function Zq(a,b,c,e){if(a.oa>a.ka)throw Error("Min value must be less than max value");e||(e=[]);var f=Yq(b,a.ka);f=Math.round(f);isFinite(f)?(b=Math.floor(Yq(f,-a.ka)),f=Math.floor(f-Yq(b,a.ka))):f=0;var h=b;var k=f,n=0c?ar(u,-1):ar(u,c)}n=n(u).replace(".","");n+=je("0",parseInt(k[1],10)-n.length+1)}a.ka+1>n.length&&(n="1"+je("0",a.ka-n.length)+n);for(a=n.length;"0"==n.charAt(a-1)&&a>f+1;)a--;for(h=1;hb?(b=-b,c.push(Tq.Rp)):a.Ga&&c.push(Tq.Jt);b=""+b;for(var e=Tq.Nm,f=b.length;fa)return a-48;var b=Tq.Nm.charCodeAt(0);return b .heading").getAttribute("data-search-dym-tracking-id"),a.Qo(f,b,h,e,c)):(e=""!==Hg("symptom"),a.og(f,h,b.getAttribute("data-search-rank"),b.getAttribute("data-search-result-id"),b.getAttribute("data-search-request-id"),b.getAttribute("data-search-url"),
b.getAttribute("data-search-flow"),b.getAttribute("data-search-ctx"),e,c))}}
function Ar(a,b){function c(){h&&k&&((window.sc_delayLocationHandler=e)?e(f):Zg(f))}
if("_blank"==a.target||b.shiftKey||b.ctrlKey||b.metaKey)return null;var e=window.sc_delayLocationHandler,f,h=!1,k=!1;window.sc_delayLocationHandler=function(){h=!0;c()};
return function(n){k=!0;f=n;c()}}
l.og=function(a,b,c,e,f,h,k,n,t,u){b=Br(t?"suggestion_clicked":"search_results_clicked",b,k,n);xr(b,"q",a);xr(b,"clickRank",c);xr(b,"resultId",e);xr(b,"requestId",f);xr(b,"shownContentList",h);Cr(this,b,h,u)};
l.Qo=function(a,b,c,e,f){c=Br("sugesstion_clicked",c);xr(c,"q",a);e&&xr(c,"dymTrackingId",e);Cr(this,c,b,f)};
l.Po=function(a,b,c){b=Br("autocomplete_search_query",Jg().visit_id,b);xr(b,"q",a);Cr(this,b,"",c)};
l.No=function(a,b,c,e){c=Br("autocomplete_results_clicked",Jg().visit_id,c);xr(c,"q",a);xr(c,"shownContentList",b);Cr(this,c,b,e)};
l.Oo=function(a,b){b=Br("autocomplete_click_impressions",Jg().visit_id,b);xr(b,"shownContentList",a.join("|"));Dr(this,b,"sc_nullFunction")};
function Cr(a,b,c,e){e&&e instanceof Function?(window.sc_searchMetricsLinkCallback=function(){e(c)},Dr(a,b,"sc_searchMetricsLinkCallback")):Dr(a,b,"sc_nullFunction")}
l.Sr=function(a){var b=Br("article_help_link_clicked",Jg().visit_id,"help");xr(b,"url",a);Dr(this,b,"sc_nullFunction")};
l.Tr=function(a){var b=Br("opened_to_article",Jg().visit_id,"help");xr(b,"shownContentList",a);Dr(this,b,"sc_nullFunction")};
l.Zg=function(a,b,c,e,f,h,k,n){e=e||Hg("query")||Hg("q");h=h||""!==Hg("symptom");a=Br(h?"shown_suggestions":"shown_search_results",a,f,k);xr(a,"q",e);xr(a,"requestId",b);xr(a,"shownContentList",c.join("|"));n&&xr(a,"dymTrackingId",n);Dr(this,a,"sc_nullFunction")};
l.Vj=function(a,b,c,e,f,h){a=Br(void 0===h?"suggestion_clicked":h,a);xr(a,"requestId",b);xr(a,"resultId",c);void 0!==e&&xr(a,"clickRank",e);void 0!==f&&xr(a,"shownContentList",f);Dr(this,a,"sc_nullFunction")};
function Br(a,b,c,e){a=xr(xr(xr(xr(xr(xr(xr(new wr,"flow",c||"support-content"),"gfSessionId",b),"hcName",Jg().hc),"locale",Jg().lang),"authuser",Jg().au),"useAnonymousMetrics","false"),"userAction",a);(e=e||Er())&&xr(a,"productSpecificContext",e);"help"===c&&xr(a,"useInappHelpPanel","true");(c=nh("productEscalationsId"))&&xr(a,"productId",c);return a}
function Er(){var a=Jg().query_params.find(function(b){return"ec"==b.key});
return a?a.value:""}
function Dr(a,b,c){if(a.o||"true"===nh("initializeSearchTracking")){xr(b,"callback",c);a=Gh("SCRIPT");a.onerror=window[c];var e=Object.fromEntries(b.ka.entries());c=Object.fromEntries(b.o.entries());b=Dc(b.ha,e);b=Ac(b).toString();b=Hc.exec(b);e=b[3]||"";c=Gc(b[1]+Ic("?",b[2]||"",c)+Ic("#",e,void 0));ge(a,c);document.body.appendChild(a)}}
yr.prototype.reportSearchResultsFeatureClick=yr.prototype.Vj;yr.prototype.reportImpressions=yr.prototype.Zg;yr.prototype.reportOpenedToArticle=yr.prototype.Tr;yr.prototype.reportArticleHelpLinkClicked=yr.prototype.Sr;yr.prototype.reportAutocompleteImpressions=yr.prototype.Oo;yr.prototype.reportAutocompleteClick=yr.prototype.No;yr.prototype.reportAutocompleteSearch=yr.prototype.Po;yr.prototype.reportSpellingClick=yr.prototype.Qo;yr.prototype.reportClick=yr.prototype.og;
yr.prototype.setUpMojoReportingForSpelling=yr.prototype.vs;yr.prototype.setUpMojoReportingForSearchResults=yr.prototype.us;var Fr;Nb("hcfe.SearchTracking",yr);window.sc_initSearchTracking=function(){Fr||(Fr=new yr,Fr.us(),Fr.vs(),window.sc_trackSearchResultImpressions=window.sc_trackSearchResultEnabledRceTracking?window.sc_nullFunction:Fr.Zg.bind(Fr))};function Gr(a,b,c,e,f,h,k){this.context=a;this.dymTrackingId=b;this.flow=c;this.ha=e;this.query=f;this.requestId=h;this.sessionId=k;this.o=new yr(!0)}
function Hr(a,b){a.o.Zg(a.sessionId,a.requestId,b,a.query,a.flow,a.ha,a.context,a.dymTrackingId)}
function Ir(a,b,c,e){a.o.og(a.query,a.sessionId,b,c,a.requestId,e,a.flow,a.context,a.ha)}
Gr.prototype.Vj=function(a,b,c){this.o.Vj(this.sessionId,this.requestId,a,b,c)};function Jr(a){var b=a.symptoms,c=void 0===a.limit?8:a.limit,e=void 0===a.helpcenterName?"":a.helpcenterName,f=void 0===a.lk?new Map:a.lk;a=void 0===a.Kj?0:a.Kj;gn.call(this,"sc.symptoms.Symptoms");this.ha="true"===nh("workflow__full-layout");this.isRendered=this.o=!1;this.symptoms=b;this.limit=c;this.helpcenterName=e;this.lk=f;this.Kj=a}
Oa(Jr,gn);Jr.prototype.content=function(){var a=this,b=rf(this.symptoms,yq,1).filter(function(c){var e;return""!==(null===(e=z(c,2))||void 0===e?void 0:e.trim())});
this.element("div","class","root",function(){a.element("div","class","container",function(){switch(a.Kj){case 0:Kr(a,b);break;case 1:for(var c=0;ca.limit}
function Qr(a){if(Mr(a)){a.o=!a.o;a.Ha();var b=a.o;Oq(b?2:3,a.helpcenterName+"_symptoms_view_"+(b?"more":"less"),b?96:97)}}
function Pr(a,b){Oq(35,a.helpcenterName+"_symptoms_click_"+z(b,1)+(ef(b,3)?"_active":""),98);if(!ef(b,3)){a:{var c;b=null!==(c=z(b,1))&&void 0!==c?c:"";if(""!==b&&a.lk.has(b)&&(a=a.lk.get(b)))break a;a=""}a=a.split("?");c="?"+a[1];c=Io(c);Cq(""+a[0]+c,!0,!1)}}
;function Rr(a){this.o=a;this.ha=this.ya=null;this.ka=[];this.oa=document.createElement("input");this.wa=this.na=-1;this.Ga=this.Ej.bind(this);this.Ea=this.Go.bind(this);this.Ia=this.Ba=this.Ca=0;this.ta=!1;this.Fa=0;this.Da=new uj;Sr(this)}
function Sr(a){a.ma=document.createElement("div");a.ma.className=a.o.className;Cg(a.ma,"sc-select",!0);a.ma.setAttribute("tabindex",0);a.ma.setAttribute("role","listbox");a.ma.addEventListener("mousedown",function(e){Gg(this.ha,"sc-select-show")?e.target==this.ha||this.ha.contains(e.target)||this.Ej():0==e.button&&Tr(this)}.bind(a));
a.ma.addEventListener("keydown",a.nt.bind(a));a.ya=document.createElement("span");a.ma.appendChild(a.ya);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.ma.appendChild(b);a.ha=document.createElement("ol");a.ha.addEventListener("mousemove",function(){this.ta=!0}.bind(a));
a.ha.addEventListener("scroll",function(){0a.ha.scrollTop+a.ha.offsetHeight&&(a.ta=!1,a.ha.scrollTop=b.offsetTop+b.offsetHeight-a.ha.offsetHeight)}}
function Xr(a){var b=a.o.getAttribute("aria-label")||"";b&&(-1!==a.o.selectedIndex&&(b+=" ("+a.o[a.o.selectedIndex].innerText+")"),a.ma.setAttribute("aria-label",b))}
l.dispose=function(){this.ma&&Nh(this.ma);this.ha=this.ya=this.ma=null;this.ka=[]};
function Zr(a){a=za((a||document).getElementsByTagName("select"));for(var b=a.next();!b.done;b=a.next())b=b.value,"true"!==b.dataset.exclude&&new Rr(b)}
window.sc_initSelects=function(){Zr(window.sc_scope)};function $r(a){y(this,a,0,-1,as,null)}
p($r,x);var as=[1];$r.prototype.ua=function(a){return bs(a,this)};
function bs(a,b){var c,e={zv:$e(b.Lg(),Vf,a),valueRuleGraphId:null==(c=z(b,2))?void 0:c,valueRuleGraphViewIdentifier:null==(c=z(b,3))?void 0:c,valueRuleGraphReference:(c=E(b,Ef,4))&&Ff(a,c)};a&&(e.va=b);return e}
$r.prototype.Lg=function(){return rf(this,If,1)};function ds(a){y(this,a,0,-1,es,null)}
p(ds,x);var es=[2,11,12,16,17];l=ds.prototype;l.ua=function(a){return fs(a,this)};
function fs(a,b){var c,e={id:null==(c=z(b,1))?void 0:c,ff:null==(c=z(b,2))?void 0:c,type:null==(c=z(b,3))?void 0:c,title:null==(c=z(b,4))?void 0:c,description:null==(c=z(b,5))?void 0:c,value:null==(c=z(b,6))?void 0:c,caseLog:null==(c=z(b,7))?void 0:c,resolutionId:null==(c=z(b,8))?void 0:c,cannedResponseId:null==(c=z(b,9))?void 0:c,consultCategoryId:null==(c=z(b,10))?void 0:c,YH:null==(c=z(b,11))?void 0:c,JB:null==(c=z(b,12))?void 0:c,targetResource:null==(c=z(b,13))?void 0:c,doNotReportReason:null==
(c=z(b,14))?void 0:c,pathMethod:null==(c=z(b,15))?void 0:c,zv:$e(b.Lg(),Vf,a),Av:$e(rf(b,$r,17),bs,a),consultFrdVrg:(c=E(b,$r,18))&&bs(a,c),externalConsultCannedResponseId:null==(c=z(b,19))?void 0:c,guid:null==(c=z(b,20))?void 0:c};a&&(e.va=b);return e}
l.getId=function(){return z(this,1)};
l.setId=function(a){return nf(this,1,a)};
l.getType=function(){return z(this,3)};
l.Ub=function(){return z(this,4)};
l.Cc=na(11);l.Te=function(){return z(this,5)};
l.zi=na(20);l.Qa=function(){return z(this,6)};
l.hb=function(a){return nf(this,6,a)};
l.nb=function(){return bf(this,6)};
l.Lg=function(){return rf(this,If,16)};
l.Zj=function(a){nf(this,20,a)};function gs(a){y(this,a,0,-1,hs,null)}
p(gs,x);function is(a){y(this,a,0,-1,null,null)}
p(is,x);function js(a){y(this,a,0,3,null,null)}
p(js,x);var ks={};function ls(a){y(this,a,0,-1,null,null)}
p(ls,x);function ms(a){y(this,a,0,-1,null,null)}
p(ms,x);function ns(a){y(this,a,0,-1,os,ps)}
p(ns,x);function qs(a){y(this,a,0,-1,null,null)}
p(qs,x);function rs(a){y(this,a,0,-1,null,null)}
p(rs,x);function ss(a){y(this,a,0,-1,ts,null)}
p(ss,x);var hs=[1];gs.prototype.ua=function(a){var b,c={zK:$e(rf(this,is,1),us,a),heading:null==(b=z(this,2))?void 0:b,headingState:null==(b=z(this,3))?void 0:b,guid:null==(b=z(this,5))?void 0:b};a&&(c.va=this);return c};
is.prototype.ua=function(a){return us(a,this)};
function us(a,b){var c,e={stateValue:null==(c=z(b,1))?void 0:c,localizedState:null==(c=z(b,2))?void 0:c,detailedState:null==(c=z(b,3))?void 0:c};a&&(e.va=b);return e}
gs.prototype.Zj=function(a){nf(this,5,a)};
js.prototype.ua=function(a){return vs(a,this)};
function vs(a,b){var c,e={difmButtonData:(c=ws(b))&&xs(a,c),difmButtonModel:(c=ys(b))&&fs(a,c)};af(b,e,ks,js.prototype.Ih,a);a&&(e.va=b);return e}
function ws(a){return E(a,ns,1)}
function ys(a){return E(a,ds,2)}
ls.prototype.ua=function(a){var b,c={button:(b=E(this,js,1))&&vs(a,b)};a&&(c.va=this);return c};
ms.prototype.ua=function(a){return zs(a,this)};
function zs(a,b){var c,e={workflowId:null==(c=z(b,1))?void 0:c,helpcenter:null==(c=z(b,2))?void 0:c};a&&(e.va=b);return e}
var os=[14,15,20,21],ps=[[10,17]];l=ns.prototype;l.ua=function(a){return xs(a,this)};
function xs(a,b){var c,e={type:null==(c=z(b,1))?void 0:c,buttonTitle:null==(c=z(b,2))?void 0:c,description:null==(c=z(b,3))?void 0:c,value:null==(c=z(b,4))?void 0:c,resolutionId:null==(c=z(b,5))?void 0:c,caseLog:null==(c=z(b,6))?void 0:c,consultCategoryId:null==(c=z(b,7))?void 0:c,cannedResponseId:null==(c=z(b,8))?void 0:c,externalConsultCannedResponseId:null==(c=z(b,9))?void 0:c,resource:null==(c=z(b,10))?void 0:c,authorableWorkflow:(c=E(b,ms,17))&&zs(a,c),doNotReport:null==(c=z(b,12))?void 0:c,
pathMethod:null==(c=z(b,13))?void 0:c,KB:null==(c=z(b,14))?void 0:c,Av:$e(rf(b,$r,15),bs,a),buttonMetadata:(c=E(b,rs,19))&&As(a,c),ff:null==(c=z(b,20))?void 0:c,qE:$e(rf(b,qs,21),Bs,a)};a&&(e.va=b);return e}
l.getType=function(){return z(this,1)};
l.Te=function(){return z(this,3)};
l.zi=na(19);l.Qa=function(){return z(this,4)};
l.hb=function(a){return nf(this,4,a)};
l.nb=function(){return bf(this,4)};
qs.prototype.ua=function(a){return Bs(a,this)};
function Bs(a,b){var c,e={frdVrgSet:(c=E(b,$r,1))&&bs(a,c),vrgUsage:null==(c=z(b,2))?void 0:c};a&&(e.va=b);return e}
rs.prototype.ua=function(a){return As(a,this)};
function As(a,b){var c,e={isRendered:lf(b,1,!0),kmsButtonId:null==(c=z(b,2))?void 0:c,guid:null==(c=z(b,3))?void 0:c,contextId:null==(c=z(b,4))?void 0:c,helpcenter:null==(c=z(b,5))?void 0:c};a&&(e.va=b);return e}
rs.prototype.Zj=function(a){nf(this,3,a)};
var ts=[1];ss.prototype.ua=function(a){var b={dH:$e(rf(this,rs,1),As,a)};a&&(b.va=this);return b};var Cs=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 Ds(){var a=this;this.o=function(){};
this.ha=function(b){var c,e,f,h,k,n,t,u;if("detail"in b)if(b=Bf(ls,b.detail.action),null===(e=null===(c=E(b,js,1))||void 0===c?void 0:ws(c))||void 0===e?0:bf(e,10))(t=null===(h=null===(f=E(b,js,1))||void 0===f?void 0:ws(f))||void 0===h?void 0:z(h,10))&&a.ka(t);else if(null===(n=null===(k=E(b,js,1))||void 0===k?void 0:ws(k))||void 0===n?0:bf(n,17))if(f=null===(u=null===(t=E(b,js,1))||void 0===t?void 0:ws(t))||void 0===u?void 0:E(u,ms,17))h=z(f,2),f=z(f,1),h&&f&&a.ka("/"+h+"/workflow/"+f)};
this.ma=function(){var b=Cs.get(1);b=new CustomEvent(b,{bubbles:!0,cancelable:!0});window.document.body.dispatchEvent(b)};
this.ka=Cq;window.document.body.addEventListener(Cs.get(6),this.ma);window.document.body.addEventListener(Cs.get(5),this.o);window.document.body.addEventListener(Cs.get(2),this.ha)}
var Es;function Fs(){void 0===Es&&(Es=new Ds)}
Ds.prototype.dispose=function(){window.document.body.removeEventListener(Cs.get(2),this.ha);window.document.body.removeEventListener(Cs.get(6),this.ma);window.document.body.removeEventListener(Cs.get(5),this.o)};
window.sc_initSmartButtonController=function(){Fs()};function Gs(a,b){a=void 0===a?95:a;b=void 0===b?133:b;gn.call(this,"sc.shared.ErrorSvg");this.o=new Bq("error_computer.svg");this.height=a;this.width=b}
Oa(Gs,gn);Gs.prototype.content=function(){var a=this;this.element("div","style",{width:this.width+"px",height:this.height+"px"},function(){a.o.render()})};function Hs(a){this.ha=a;this.o=null}
function Is(a){null===a.o&&(a.o=setTimeout(function(){null!==a.o&&(a.o=null,a.ha())},6E4))}
;function Js(){var a=this;this.ka=function(b){if(!("detail"in b))throw Error("Invalid event type received for state update. Expected CustomEvent.");if(void 0===a.ha)throw Error("No state update callback was provided.");b=Bf(gs,b.detail);a.ha(b)}}
l=Js.prototype;l.sendInitCompleteEvent=function(){console.log("[Smart Buttons] Broadcasting init");Ks(4,void 0)};
l.sendButtonAction=function(a,b){a={action:null===a||void 0===a?void 0:a.Pb(),buttonClientRect:b};Ks(2,a)};
l.sendDescribeEvent=function(a){var b=new ss;a=za(a);for(var c=a.next();!c.done;c=a.next())vf(b,1,c.value,rs,void 0);b={action:b.Pb(),buttonClientRect:void 0};Ks(5,b)};
l.sendButtonsRenderedEvent=function(){Ks(6)};
l.initHandshakeListener=function(a){this.o=a;window.document.body.addEventListener(Cs.get(1),this.o)};
l.initStateUpdateListener=function(a){this.ha=a;window.document.body.addEventListener(Cs.get(3),this.ka)};
l.dispose=function(){window.document.body.removeEventListener(Cs.get(3),this.ka);this.o&&window.document.body.removeEventListener(Cs.get(1),this.o)};
function Ks(a,b){a=Cs.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({Cz:0,Bz:1,wz:2,zz:3,xz:4,Az:5,yz:6});function Ls(a,b){this.o=a;this.metadata=b}
Ls.prototype.Wd=function(a){this.o(a)};
function Ms(){var a=this;this.ha=new Map;this.ka=function(){a.o.sendButtonsRenderedEvent()};
this.o=new Js;Ns(this)}
var Os;function Ps(){if(Os&&!Qs)return Os;Os=new Ms;Qs=!1;var a=Os;a.o.initHandshakeListener(a.na.bind(a));a.o.initStateUpdateListener(a.ma.bind(a));a.o.sendInitCompleteEvent();return Os}
function Rs(a,b,c,e){if(""===b)throw Error("Smart Button guid key is empty");a.ha.has(b)||a.ha.set(b,new Ls(e,c))}
Ms.prototype.ma=function(a){var b,c,e=null!==(b=z(a,5))&&void 0!==b?b:"";if(!this.ha.has(e))throw Error("Smart Button guid key "+e+" does not exist. Cannot update state.");null===(c=this.ha.get(e))||void 0===c?void 0:c.Wd(a)};
Ms.prototype.na=function(){console.log("[Smart Buttons] Received Handshake");var a=[];this.ha.forEach(function(b){a.push(b.metadata)});
this.o.sendDescribeEvent(a)};
Ms.prototype.dispose=function(){var a;this.o.dispose();this.ha.clear();null===(a=Zm().querySelector(".workflow"))||void 0===a?void 0:a.removeEventListener("dynamicFormRendered",this.ka)};
function Ns(a){var b;null===(b=Zm().querySelector(".workflow"))||void 0===b?void 0:b.addEventListener("dynamicFormRendered",a.ka)}
var Qs=!1;function Ss(a){var b=a.buttonTitle,c=a.contentId,e=a.helpcenterName,f=a.De;a=void 0===a.vm?!0:a.vm;gn.call(this,"sc.smart_button.FatalErrorButton");this.o=new Gs;this.buttonTitle=b;this.contentId=c;this.helpcenterName=e;this.De=f;this.vm=a}
Oa(Ss,gn);Ss.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.vm&&a.element("div","class","^no-margin feedback-link",a.De);a.element("div","class","^no-margin detail",function(){""!==a.buttonTitle&&a.element("div","class","^no-margin",(new fr("The button title is {buttonTitle}.")).format({buttonTitle:a.buttonTitle}));
a.element("div","class","^no-margin",(new fr("The content ID is {contentId}.")).format({contentId:a.contentId}));a.element("div","class","^no-margin",(new fr("The help center name is {helpcenterName}.")).format({helpcenterName:a.helpcenterName}))})})});
Ts(this)};
function Ts(a){var b;null===(b=window.sc_trackStatsImpressions)||void 0===b?void 0:b.call(window,[{type:99,id:a.contentId+"_button_"+a.buttonTitle}],!0)}
;var Us=new Map([[1,"good"],[2,"error"]]);function Vs(){gn.call(this,"sc.smart_button.Icon");this.o=!1}
Oa(Vs,gn);function Ws(a,b,c,e){a.ha=b;a.state=c;a.o=void 0===e?!1:e}
Vs.prototype.content=function(){var a=this;if(void 0!==this.ha&&void 0!==this.state&&void 0!==this.o&&0!==this.state){var b={"^no-margin":!0,icon:!0,state:!this.o,"heading-icon":this.o},c=Us.get(this.state);Us.has(this.state)&&(b[c]=!0);var e="";"good"===c?e="Success icon":"error"===c&&(e="Failure icon");this.element("div","class",b,"aria-label",""!==e?e:null,function(){var f;null===(f=a.ha)||void 0===f?void 0:f.render()})}};function Xs(a){gn.call(this,"sc.smart_button.SendFeedbackLink");var b=this;this.buttonTitle=a;this.o=function(){Ys(b)};
this.ha=function(c){"key"in c&&(" "===c.key||"Enter"===c.key)&&Ys(b)}}
Oa(Xs,gn);Xs.prototype.content=function(){var a,b;this.anchor=this.element("a","href","#","class","^no-margin link","Send feedback");null===(a=this.anchor)||void 0===a?void 0:a.addEventListener("click",this.o);null===(b=this.anchor)||void 0===b?void 0:b.addEventListener("keydown",this.ha)};
Xs.prototype.dispose=function(){var a,b;null===(a=this.anchor)||void 0===a?void 0:a.removeEventListener("click",this.o);null===(b=this.anchor)||void 0===b?void 0:b.removeEventListener("keydown",this.ha)};
function Ys(a){var b=gm();b.set("smart_button_title",a.buttonTitle);em({payload:b,productId:Number(Jg().fbid)})}
;function Zs(a){return 2===(null===a||void 0===a?void 0:z(a,3))}
function $s(a){return 1===(null===a||void 0===a?void 0:z(a,3))}
function at(a){a=null===a||void 0===a?void 0:rf(a,is,1);if(void 0===a)return!1;a=za(a);for(var b=a.next();!b.done;b=a.next())if(bt(b.value))return!0;return!1}
function ct(a){a=dt(a);if(0===a.length)return!1;a=za(a);for(var b=a.next();!b.done;b=a.next())if(!bt(b.value))return!1;return!0}
function dt(a){return void 0===a?[]:(null===a||void 0===a?void 0:rf(a,is,1))||[]}
function bt(a){return void 0!==a&&bf(a,1)&&0!==z(a,1)}
function et(a){return void 0!==a&&bf(a,1)&&1===z(a,1)}
function ft(a){return void 0!==a&&bf(a,1)&&2===z(a,1)}
function gt(a){return a.filter(function(b){return ft(b)})}
;var ht={Yz:0,Dt:"{0} and {1}",Ct:"{0}, {1}",Bt:"{0}, {1}",At:"{0}, and {1}"},it=ht;it=ht;function jt(){this.ma=it.Dt;this.ka=it.Ct;this.ha=it.Bt;this.o=it.At}
function kt(a,b,c){return a.replace("{0}",b).replace("{1}",c)}
jt.prototype.format=function(a){var b=a.length;switch(b){case 0:return"";case 1:return String(a[0]);case 2:return kt(this.ma,String(a[0]),String(a[1]))}for(var c=kt(this.ka,String(a[0]),String(a[1])),e=2;eb.length){f=[{state:5}];a.ya.set("",f);t.ab(4);break}a.o.Ee(!0);a.Ha();a.o.open({Cb:!0});Ya(t,5);return Wa(t,a.Za(b.trim()),7);case 7:f=t.ha;0===f.length&&(f=[{state:4}]);
a.o.Ee(!1);$a(t,4);break;case 5:h=ab(t),f=[{state:3}],a.o.Ee(!1),a.Ha(),a.o.open({Cb:!0}),Nu(h);case 4:return a.ya.set("",f),k=a.o,n=k.aj,Wa(t,Bu(a,!0),8);case 8:n.call(k,t.ha),a.o.Ha(),a.o.open({Cb:!0}),Xa(t)}})}
function Hu(a,b){return function(){a.Ea=b;a.o.close();a.oa&&a.oa()}}
function Ou(a){return""!==a.ka?a.ka.replace(su,""):null===a.Ea?"":a.Ea.vc.replace(su,"")}
vu.prototype.getValues=function(){for(var a=[],b=za(this.ha.keys()),c=b.next();!c.done;c=b.next()){(c=c.value)&&!a.includes(c)&&a.push(c);c=za(this.ha.get(c));for(var e=c.next();!e.done;e=c.next())(e=e.value.vc)&&!a.includes(e)&&a.push(e)}return a};
function Du(a,b){var c,e;return lb(function(f){if(1==f.o)return Ya(f,2),Wa(f,a.Oa(b),4);if(2!=f.o){c=f.ha;if(!c||0==c.length)return Pu(a,b,Error("No results")),f.return();a.ha.set(b,c);return $a(f,0)}e=ab(f);Pu(a,b,e);Xa(f)})}
function Pu(a,b,c){a.ha.set(b,[{state:2}]);a.Ia&&a.na&&(a.na=!1,a.Ia(c),yu(a));Nu(c)}
function yu(a){a.ma=new ho({placeholder:"Google Ads Customer ID",Ob:!0,Od:function(){a.ka=a.ma.Ra().replace(su,"");a.mb()}})}
function Nu(a){a=new CustomEvent("cid_selector_fetch_error",{detail:a});Zm().dispatchEvent(a)}
function wu(a){a.ya.clear();a.ya.set("",[Cu()])}
function Cu(){return{value:"",trigger:function(){},
items:[],state:0}}
;function Qu(a){var b=a.items,c=void 0===a.label?"":a.label,e=void 0===a.placeholder?"":a.placeholder,f=void 0===a.Zd?!0:a.Zd,h=void 0===a.filled?!1:a.filled,k=void 0===a.disabled?!1:a.disabled,n=void 0===a.maxHeight?void 0:a.maxHeight,t=void 0===a.minWidth?void 0:a.minWidth,u=void 0===a.selectedIndex?-1:a.selectedIndex,w=void 0===a.fj?!0:a.fj;a=void 0===a.Ob?!1:a.Ob;gn.call(this,"sc.shared.MaterialSelect");var A=this;this.active=!1;this.items=b;this.fj=w;this.label=c;this.labelId=ln();this.ha=ln();
this.minWidth=t;this.filled=h;this.disabled=k;this.Ob=a;this.ka=new En({icon:"gm/arrow_drop_down",size:24,Ib:!0});this.selection=0