Google Cloud Exit Notice

Thank you for reaching out to Google Cloud Billing Support. We understand that customer needs may evolve over time, and we're here to assist with your Google Cloud exit. To help us facilitate a smooth transition, please complete this Exit Notice for the customer you represent or, if they purchase Google Cloud services through a Google Cloud reseller / partner, please have their reseller complete this Exit Notice on their behalf.

* Required field

This email address must be a billing administrator on the billing account entered below.
Please enter a valid email address.

By checking the box below, you declare that you have full legal authority to bind the customer to this Exit Notice, and you acknowledge that submission of this Exit Notice may trigger automatic termination of the customer’s Google Cloud Agreement and Minimum True-Up payment obligations 44 days after submission of the Exit Notice, depending on the selections made in the Exit Notice.

 

If you have not been duly authorized to bind the customer to this Exit Notice, do not submit this notice.

*

Please enter the Billing Account ID that you intend to move off GCP.

 

The Billing account ID for Projects can be found on the Overview page of the Google Cloud Platform Console Billing Section. If the customer has more than one billing account, please submit the request for each Billing Account individually.

If you are reseller / partner submitting on behalf of the customer, please provide the Billing Account Id of the customer.

A cloud billing account id is 18 hexadecimal characters: DEADBE-EF00DE-CAFBAD.
How does the customer you represent purchase Google Cloud services? *
Is the customer’s billing address in the European Economic Area? *
Does the customer have a dedicated point of contact from the Google Cloud sales team? *
Please enter the email address of your Google contact.

Does the customer wish to migrate their data (which will include data erasure after completion of the migration) or, if the customer has a billing address in the European Economic Area, do they wish to choose data erasure without migration (with automatic termination 44 days after submission of this Exit Notice)?

*

Note that only customers with billing addresses in the European Economic Area may opt for data erasure without migration.  If the customer you represent has a billing address  in the European Economic Area, please do not select data erasure without migration unless you have been duly authorized to do so.

 

IMPORTANT:  if you submit this Exit Notice and select data erasure without migration, the customer you represent will lose access to data stored in the Google Cloud services covered by your selection after 44 days (when their Google Cloud contract will automatically terminate in relation to those services), and any Minimum Commitment true-up payment related to those services will become immediately due and payable after 44 days.

Please enter the date (if known) on which the customer plans to start moving data from Google Cloud, and note that customers must give their assigned support agent at least two working days’ notice before the actual start date of their migration.

 

The customer’s planned or actual migration start date must be at least 14 days (and no more than 44 days) after submission of this Exit Notice.

Please enter the date (if known) by which the customer plans to complete their migration from Google Cloud, and note that customers must notify Google of the actual completion of their migration by submitting this Completion Notice.

 

The customer’s planned or actual completion date must be at least 74 days after submission of this Exit Notice.

If the customer wishes to migrate their data, are they planning to move workloads to their own data center or to another cloud provider?
https://myaccount.google.com/privacypolicy?hl=$0
Some account and system information will be sent to Google, and support calls and chats may be recorded. We will use this information to improve support quality and training, to help address technical issues, and to improve our products and services, subject to our Privacy Policy and Terms of Service. Translation services may be used in chats and email.
Additional info

Contact us

Search
Clear search
Close search
Google apps
Main menu
17118127281983301679
true
Search Help Center
false
true
true
true
true
true
95384
'; a=Vl(a);var e="data:text/html;charset=UTF-8;base64,"+btoa(a.toString());e=Gl(e);b||(c.srcdoc=Xl(a))}else{if(b)throw Error("IFRAME_SANDBOX_URL is not supported with disableSandbox");a=new Map([["nonce",a]]);var f=Hl(feb).toString();var h=f.split(/[?#]/);e=/[?]/.test(f)?"?"+h[1]:"";b=h[0];f=/[#]/.test(f)?"#"+(e?h[2]:h[1]):"";e=ucb(b,e,f,a)}c.src=Hl(e).toString();c.style.cssText="border: 0; height: 0; left: 0; position: absolute; top: 0; width: 0;";c.setAttribute("aria-hidden","true");return c} ;var w3={wY:!1,RK:!1},x3;function y3(a){this.options=a=a===void 0?w3:a;if(!keb(this.options)&&typeof navigator.msSaveOrOpenBlob!=="function"){var b;this.sandbox=new v3({QK:(b=this.options.RK)!=null?b:!1})}} y3.download=function(a,b,c,e){c=c===void 0?"":c;e=e===void 0?w3:e;return Qa(function(f){if(f.o==1)return f.yield(leb(a,b,c,e),2);if(f.ma)return f.return();x3||(x3=new y3,x3.init());return f.yield(meb(x3,a,b,c),0)})}; y3.prototype.init=function(){var a=this;return Qa(function(b){return a.sandbox==null?b.return():b.yield(a.sandbox.load(),0)})}; y3.prototype.download=function(a,b,c){c=c===void 0?"":c;var e=this;return Qa(function(f){return f.o==1?f.yield(leb(a,b,c,e.options),2):f.ma?f.return():f.yield(meb(e,a,b,c),0)})}; function meb(a,b,c,e){e=e===void 0?"":e;var f,h,k;return Qa(function(l){switch(l.o){case 1:f=b instanceof Blob?b:new Blob([b],{type:e});if(typeof navigator.msSaveOrOpenBlob!=="function"){l.Pa(2);break}navigator.msSaveOrOpenBlob(f,c);return l.yield(z3(),3);case 3:return l.return();case 2:if(!Pb()||Faa(tcb(),16)>=0||!Lb()&&(!Fb("iPad")&&!Fb("iPhone")||Kb()||Lb()||(Gb()?0:Fb("Coast"))||Jb()||!Fb("AppleWebKit"))){l.Pa(4);break}h=new FileReader;h.onload=function(){var p=Sn("A"),r=Ql(String(h.result)); Tl(p,r);p.download=c;p.click()}; h.readAsDataURL(f);return l.yield(z3(),5);case 5:return l.return();case 4:return a.sandbox==null&&(a.sandbox=new v3({QK:(k=a.options.RK)!=null?k:!1}),a.sandbox.load()),l.yield(a.sandbox.exec('var url=URL.createObjectURL(blob);var a=document.createElement("a");if(!("download" in a)){throw new Error("Downloading not supported on this browser");}a.href=url;a.download=filename;document.body.appendChild(a);a.click();setTimeout(function(){document.body.removeChild(a);URL.revokeObjectURL(url);},250);',[{name:"blob", value:f,transfer:!1},{name:"filename",value:c,transfer:!1}]),6);case 6:return l.yield(z3(),0)}})} function leb(a,b,c,e){c=c===void 0?"":c;e=e===void 0?w3:e;var f;return Qa(function(h){switch(h.o){case 1:if(!keb(e))return h.return(!1);h.va(2);return h.yield(neb(a,b,c),4);case 4:h.ya(3);break;case 2:f=h.ua();if(f instanceof DOMException&&f.name==="SecurityError")return h.return(!1);throw f;case 3:return h.return(!0)}})} function keb(a){a=a===void 0?w3:a;return a.wY&&!!window.showSaveFilePicker} function neb(a,b,c){c=c===void 0?"":c;var e,f,h,k;return Qa(function(l){switch(l.o){case 1:var p=c,r={suggestedName:b},t;(t=b.match(/\..+$/))?(t=t[0],t=t.length>16?null:t):t=null;if(t){p=p.replace(/;[^]*/,"");var u={};r.types=[{description:"*"+t,accept:(u[/^\s*[a-zA-Z0-9+._-]+\/[a-zA-Z0-9+._-]+?\s*$/.test(p)?p:"*/*"]=[t],u)}]}e=r;l.va(2);return l.yield(window.showSaveFilePicker(e),4);case 4:f=l.ma;l.ya(3);break;case 2:h=l.ua();if(h instanceof DOMException&&h.name==="AbortError")return l.return(); throw h;case 3:return l.yield(f.createWritable(),5);case 5:return k=l.ma,l.Ia(6),l.yield(k.write(a),6);case 6:return l.Da(),l.yield(k.close(),9);case 9:l.Ba(7);break;case 7:return l.return()}})} y3.prototype.dispose=function(){this.sandbox!=null&&this.sandbox.dispose()}; function z3(){return new Promise(function(a){setTimeout(a,500)})} ib("SafeDownloader",y3);var oeb={lr:["{0}, {1}","{0}, {1}","{0}, {1}"],IP:["{0} and {1}","{0} & {1}","{0}, {1}"],vJ:["{0}, and {1}","{0}, & {1}","{0}, {1}"],zQ:["{0} or {1}","{0} or {1}","{0} or {1}"],UJ:["{0}, or {1}","{0}, or {1}","{0}, or {1}"],fR:["{0}, {1}","{0}, {1}","{0} {1}"],eR:["{0}, {1}","{0}, {1}","{0} {1}"],aK:["{0}, {1}","{0}, {1}","{0} {1}"]},peb=oeb;peb=oeb;function qeb(){var a={type:"conjunction"};this.Da=a&&a.type?a.type:"conjunction";this.ya=a&&a.style?a.style:"long";this.o=peb;a=0;switch(this.ya){case "short":a=1;break;case "narrow":a=2}switch(this.Da){case "conjunction":this.ua=this.o.lr[a];this.va=(this.o.IP||this.o.vJ)[a];this.oa=(this.o.NY||this.o.lr)[a];this.ma=this.o.vJ[a];break;case "disjunction":this.ua=(this.o.pta||this.o.lr)[a];this.va=(this.o.zQ||this.o.UJ)[a];this.oa=(this.o.nta||this.o.lr)[a];this.ma=this.o.UJ[a];break;case "unit":this.ua= (this.o.fR||this.o.lr)[a],this.va=(this.o.cua||this.o.aK)[a],this.oa=(this.o.eR||this.o.lr)[a],this.ma=this.o.aK[a]}} qeb.prototype.format=function(a){return reb(this,a)}; function A3(a,b,c){return a.replace("{0}",b).replace("{1}",c)} function reb(a,b){var c=b.length;switch(c){case 0:return"";case 1:return String(b[0]);case 2:return A3(a.va,String(b[0]),String(b[1]))}for(var e=A3(a.ua,String(b[0]),String(b[1])),f=2;f0&&ua.parents.push(Ea)}}}); C3(this);this.dispatchEvent("fieldsinitialized");this.Po&&zeb(this);window.sc_createSpinner&&(this.oa=window.sc_createSpinner("small"),Im(this.oa.getElement(),"submit-spin",!0));D3(this,!1);Aeb(this);Beb(this);Ceb(this);E3(this,!0);this.prepopulateFields();this.prefillFieldsFromSession();this.element.addEventListener("submit",function(ua){ua.preventDefault();e.submitForm()}); this.element.addEventListener("input",function(){e.dispatchEvent("inputchange");e.setHasCheckedForDynamicRecommendation(!1);e.Xa=!1}); this.element.addEventListener("change",function(){e.setHasCheckedForDynamicRecommendation(!1);e.Xa=!1;if(XF.enableA11yValidationFieldsList){var ua,za=(ua=e.model.strings.VALIDATION_NOTE)!=null?ua:"";ua=[];var Ba=x(e.fields),Ea=Ba.next(),Ga;try{for(;!Ea.done;Ea=Ba.next()){var Ha=Ea.value;if(Ha.isVisible()&&Km(Ha.getElement(),"invalid")){var Wa=$2(Ha);Wa&&ua.push(Wa)}}}finally{Ea&&!Ea.done&&(Ga=Ba.return)&&Ga.call(Ba)}Ga=x(e.o);Ha=Ga.next();var $a;try{for(;!Ha.done;Ha=Ga.next()){var db=Ha.value.model; if(!db.uc()&&!db.Lc().getId()){var gb=db.getName();gb&&ua.push(gb)}}}finally{Ha&&!Ha.done&&($a=Ga.return)&&$a.call(Ga)}ua.length===0?Deb(e):(za=XF.enableA11yValidationFieldsList?veb(za,ua):za,F3(e,"invalid",za))}}); this.model.c2c_configured&&(this.c2c=(0,window.sc_initFormClickToCall)(this));this.model.is_chat_form&&!this.shouldSubmitToCasesV2()&&G3(this);Eeb(this);this.dispatchEvent("validatorinitialized");this.dispatchEvent("initializationcomplete");this.Cc(20);if(a=this.element.getAttribute("data-form-sc-frd-values")){a=x(JSON.parse(a));b=a.next();var u;try{for(;!b.done;b=a.next()){var w=new Dr(new Bk(b.value));this.wf.push(Hr(w));this.ua.push(nQ(w))}}finally{b&&!b.done&&(u=a.return)&&u.call(a)}}u=x(this.fields); w=u.next();var y;try{for(;!w.done;w=u.next()){var la=w.value,ma=la.getFrdIdentifier();if(ma){this.Zc.push(la);var na=this.Ba.get(ma);na?na.push(la):this.Ba.set(ma,[la])}}}finally{w&&!w.done&&(y=u.return)&&y.call(u)}Feb(this,this.element.getAttribute("data-helpcenter-frd-fields-confg"));Geb(this);Heb(this);Ieb(this);Jeb(this);Keb(this)} function Jeb(a){var b=document.querySelector(".contact-form-suggestions-panel-container");b&&(ex.initialize(b,void 0),Bra(document),ex.Oi=function(c,e){return a.Oi(c,e)},fx(),GTa(a.getRedwoodId()),b=function(){dx()},a.element.addEventListener("input",b),a.element.addEventListener("change",b),setTimeout(b,0),b=function(){gx()},a.listen("nextpage",b),a.listen("highcontextchannelrecommendationfound",b),a.listen("submitstart",function(){ex.submitForm(); gx()}))} function Keb(a){if(H3(a)&&!A().is_render_api){var b=a.querySelector(".submit-button");b&&(b.textContent=a.model.strings.NEXT);a.listen("dynamicrecommendationfound",a.nV.bind(a));a.listen("error",function(){a.ya.length>0||a.vv()}); a.listen("invalidated",function(){a.ya.length>0||a.vv()}); a.listen("submitend",function(){a.vv()}); (b=document.querySelector(".collapsed-form-container__header"))&&b.addEventListener("click",a.vv.bind(a))}} function Leb(){return{yL:document.querySelector(".form-suggestions-wrapper"),zK:document.querySelector(".collapsed-form-container"),dL:document.querySelector(".contact-form-dynamic-recommendations-container"),yK:document.querySelector(".contact-form-header")}} n=web.prototype;n.vv=function(){var a=Leb(),b=a.yL,c=a.zK,e=a.dL;a=a.yK;b&&c&&e&&a&&(Im(c,"hidden",!0),Im(e,"hidden",!0),Im(a,"hidden",!0),Im(b,"hidden",!1),this.setShouldShowNextStep(!0))}; n.nV=function(){var a=Leb(),b=a.yL,c=a.zK,e=a.dL;a=a.yK;b&&c&&e&&a&&(Im(c,"hidden",!1),Im(e,"hidden",!1),Im(b,"hidden",!0),Im(a,"hidden",!1),this.setShouldShowNextStep(!1),this.Ea||kra(e,this.getFieldValues(),this.jr))}; n.querySelector=function(a){return this.element.querySelector(a)}; function I3(a,b){return a.element.querySelector(b)} n.querySelectorAll=function(a){return this.element.querySelectorAll(a)}; function B3(a,b){for(var c=0;c=a.model.total_pages;Im(a.Bg,"hidden",!b);b?a.Ka.activate():a.Ka.deactivate()}} function D3(a,b){var c=a.page>=a.model.total_pages,e=a.querySelector(".submit-button");e&&(Im(e,"hidden",!c),e.disabled=!a.Ab||b);if(a.va){var f=J3(a)?".high-context-channel-recommendation__recaptcha":".recaptcha";Im(a.querySelector(f),"hidden",!c)}if(f=a.querySelector(".previous-button"))Im(f,"hidden",a.page===1),f.disabled=b;if(f=a.querySelector(".next-button"))Im(f,"hidden",a.page===a.model.total_pages),f.disabled=!a.Ab||b;if(a.oa){b?a.oa.show():a.oa.hide();var h=a.oa.getElement();!c&&(f==null? 0:f.parentNode)?f.parentNode.appendChild(h):c&&(e==null?0:e.parentNode)?e.parentNode.appendChild(h):(e==null?0:e.parentNode)?e.parentNode.appendChild(h):(f==null?0:f.parentNode)&&f.parentNode.appendChild(h)}(c=a.querySelector(".high-context-channel-recommendation__button-spinner"))&&Im(c,"hidden",!b);K3(a,b)} function J3(a){return!Km(a.querySelector(".high-context-channel-recommendation__container"),"hidden")} function Aeb(a){var b=a.querySelector(".submit-button");b&&(!A().li&&a.model.is_chat_form?(b.disabled=!0,I3(a,".notification-area").textContent=a.model.strings.CHAT_UNAVAILABLE):b.addEventListener("click",a.submitForm.bind(a)));(b=a.querySelector(".previous-button"))&&b.addEventListener("click",function(){Meb(a,a.page-1)&&(a.dispatchEvent("previouspage"),a.Cc(7))}); (b=a.querySelector(".next-button"))&&b.addEventListener("click",a.submitForm.bind(a))} function Ieb(a){if($db()&&!a.model.logged_in){a.Cc(4,304);var b=a.element.querySelector(".need-info-authentication-prompt__container");a=a.element.querySelector(".confirmation-message__authentication-prompt-container");b&&Im(b,"hidden",!1);a&&Im(a,"hidden",!1)}} function Heb(a){if($db()&&a.model.logged_in&&!A().is_render_api){var b=[],c=x(teb),e=c.next(),f;try{for(;!e.done;e=c.next()){var h=a.Ba.get(e.value);h&&b.push.apply(b,Ca(h))}}finally{e&&!e.done&&(f=c.return)&&f.call(c)}b=x(b);c=b.next();var k;try{for(e={};!c.done;e={Wt:void 0,Uv:void 0,OE:void 0,targetIdAuthorizationWarning:void 0},c=b.next())e.Wt=c.value,e.OE=e.Wt.getFrdIdentifier(),e.OE&&(e.Uv=e.Wt.querySelector(".text-input-container"),e.targetIdAuthorizationWarning=e.Wt.querySelector(".target-id-authorization-warning"), e.Wt.getElement().addEventListener("focusout",function(l){return function(){var p,r,t,u;return Qa(function(w){switch(w.o){case 1:p=l.Wt.getValues()[0].value;if(!p)return w.return();l.Uv&&Im(l.Uv,"text-input-spin",!0);w.va(2,3);return w.yield(Neb(a,l.OE,p),5);case 5:r=w.ma;if(qf(r,t3,1,Pe()).length===0)return w.return();t=qf(r,t3,1,Pe())[0];u=Bf(t,2);Im(l.targetIdAuthorizationWarning,"hidden",u);a.Cc(u?4:5,305);case 3:w.Da();l.Uv&&Im(l.Uv,"text-input-spin",!1);w.Ba(0);break;case 2:w.ua(),Im(l.targetIdAuthorizationWarning, "hidden",!0),a.Cc(5,305),w.Pa(3)}})}}(e)))}finally{c&&!c.done&&(k=b.return)&&k.call(b)}}} function Beb(a){a=a.element.getElementsByTagName("textarea");for(var b=0;b0&&y.getValues()[0].value!==""&&!ueb.includes(y.getType())&&y.getType()!=="HIDDEN";if(!la||!a.Uo.has(la)&&!ma){k=[];var na=zf(w,2);na?k=[na]:qf(w,Zj,3,Pe()).length>0&&(k=[].concat(Ca(Oeb(qf(w,Zj,3,Pe())[0]))));k.length>0&&(h++,xdb(y,k)&&e++)}}}}finally{p&&!p.done&&(r=l.return)&&r.call(l)}if(e>0){var ua= document.querySelector(".prefilled-callout");ua&&Im(ua,"hidden",!1)}Peb(a,e,h)}else Peb(a,0,0);a.md=[];var za,Ba=(za=of(f,k3,2))==null?void 0:We(za,2,Zj,xQ);if(Ba){var Ea=x(Ba.values()),Ga=Ea.next(),Ha;try{for(;!Ga.done;Ga=Ea.next()){var Wa=Ga.value,$a=Dk(new Bk,Wa),db=new Dr($a);a.md.push(nQ(db))}}finally{Ga&&!Ga.done&&(Ha=Ea.return)&&Ha.call(Ea)}}}catch(gb){console.error("Failed to parse FormsGetPrefillDataResponse",gb)}finally{E3(a,!1)}}, Rc:function(e){a.Cc(21,313,"getprefilldata: "+e.statusText);console.error("getprefilldata endpoint returned an error",e);E3(a,!1)}, Ch:!0})}}else E3(this,!1)}; function Peb(a,b,c){var e="no_prefill";c>0&&(e=b===c?"full_prefill":"partial_prefill");a.Cc(15,313,e+": prefilled_count:"+(b+"_total_potential_count:"+c))} function Oeb(a){return(a=ck(a))?Ie(a,Qj,8,Wf)?Rj(Tj(a)):Ie(a,Lj,2,Wf)?Mj(a.Mg()).map(function(b){return""+b}):Ie(a,Qj,3,Wf)?Rj(a.Bj()):Ie(a,Jj,4,Wf)?Kj(Vj(a)).map(function(b){return""+b}):Vf(a)!=null?[a.Cn().toString()]:Ie(a,Nj,6,Wf)?Oj(a.Hn()).flat().map(function(b){return""+b}):[]:[]} n.prepopulateFields=function(a){if(this.model.enable_prepopulate_contact_form_field_query_params){var b=x(this.fields),c=b.next(),e;try{for(;!c.done;c=b.next()){var f=c.value,h=Qeb(f,a),k=void 0;if((k=h)==null?0:k.hP.length){f.setValues(h.hP,!0);var l=f.getId();l&&this.Uo.add(l)}k=void 0;((k=h)==null?0:k.BX)&&f.hide()}}finally{c&&!c.done&&(e=b.return)&&e.call(b)}}}; function Qeb(a,b){b||(b=A().query_params);b=b.filter(function(t){return t.key==="pcff"}); for(var c=[],e=!1,f=0;f .contact-form-label__text');if(a.length!==0&&a[0])return a=a[0],a.textContent?a.textContent:void 0} n.pz=function(a,b){var c=[];B3(this,function(e){var f=sdb(e,a,b);f&&c.push({field:e,control:f,value:b})}); return c}; n.Il=function(){return this.page}; n.submitForm=function(){var a=this;if(this.Sg&&this.Xa&&!this.Na)this.getStatusMessage()!==""&&(this.Ea=!1),Reb(this);else{this.Hb&&this.Sa!==27||(this.Hb=$t.Xd());var b=this.model.strings.VALIDATION_NOTE,c=[],e=x(this.o),f=e.next(),h;try{for(;!f.done;f=e.next()){var k=f.value,l=k.model;if(!l.uc()&&!l.Lc().getId()){pS(k,!0,this.model.strings.REQUIRED_FIELD);var p=l.getName();c.length===0&&XF.enableA11yValidationFieldsList&&p&&(b=J2(b,p));this.Cc(17,21,p);c.push({id:p,value:FR(l).join(",")})}}}finally{f&& !f.done&&(h=e.return)&&h.call(e)}if(c.length>0)F3(this,"invalid",b),Seb(c),this.dispatchEvent("invalidated");else if(D3(this,!0),B3(this,function(t){t.ya&&(a.Ed=!0,t.targetVerified()&&(a.targetVerified=!0))}),this.dg!==0){var r=function(){a.element.removeEventListener("uploadend",r); a.submitForm()}; this.element.addEventListener("uploadend",r)}else this.dispatchEvent("validationstart"),L3(this)||this.dispatchEvent("beforesubmit"),Teb(this).then(function(t){!a.c2c||a.model.use_cufinsert_api_when_validating_only&&a.validateOnly?M3(a)&&a.model.check_chat_availability_before_submitting_request&&!N3()&&!a.shouldSubmitToCasesV2()?Ueb(a,t):Veb(a,t):Web(a,t)},function(t){var u=a.getId(),w=a.submissionChannel,y=a.getContactType(),la=a.Cc.bind(a); if(t instanceof Error)var ma=t;else{var na="Unknown serialization error",ua;try{na=String(t)}catch(Ga){na="Unknown serialization error (String conversion failed: "+String(Ga)+")"}if(typeof t==="object"&&t!=null){if(typeof t.message==="string")na=t.message;else try{na=JSON.stringify(t,Object.getOwnPropertyNames(t))}catch(Ga){na+=" (JSON serialization failed: "+String(Ga)+")"}typeof t.stack==="string"&&(ma=t.stack);typeof t.name==="string"&&(ua=t.name)}t=Error(na);ma!=null&&(t.stack=ma);ua!=null&&(t.name= ua);ma=t}ua=ma.name;w=w===0?String(y):String(w);la(21,339,"serializeformdata: "+ua+":"+u);rn("form_serialize_failure");var za,Ba,Ea;Wm({event:"FORM_SERIALIZE_FAILURE",Jua:ua,Kua:ma.stack,formId:u,channel:w,helpcenterId:(za=A())==null?void 0:za.hc,pageType:(Ba=A())==null?void 0:Ba.pt,gG:(Ea=A())==null?void 0:Ea.is_render_api,url:window.location.pathname});a.setErrorMessage(a.model.strings.BACKEND_ERROR);a.dispatchEvent("error");a.dispatchEvent("validationend");D3(a,!1)}).catch(function(){O3(a,a.model.strings.BACKEND_ERROR); a.dispatchEvent("validationend")})}}; function Xeb(a){var b=a.querySelector("#channel-recommendation-chat-option"),c=a.querySelector(".high-context-channel-recommendation__continue-button"),e=a.querySelector(".high-context-channel-recommendation__switch-button");a.querySelector("#channel-recommendation-email-option").addEventListener("click",function(){Yeb(a,!1)}); b.addEventListener("click",function(){Yeb(a,!0)}); c.addEventListener("click",function(){a.Cc(55,303);Zeb(a,1)}); e.addEventListener("click",function(){a.Cc(54,303);Zeb(a,2)})} function Zeb(a,b){b===2?$eb(a,a.ma,"channel_reco_chat_channel_selected"):$eb(a,a.ma,"channel_reco_chat_channel_shown");var c=a.querySelector(".notification-area");c&&(c.textContent="");a.setSubmissionChannel(b);a.ma&&(a.ma.submission_channel=b);a.submitForm()} function Yeb(a,b){var c=a.querySelector("#channel-recommendation-email-option"),e=a.querySelector(".high-context-channel-recommendation__continue-button"),f=a.querySelector(".high-context-channel-recommendation__switch-button");Im(a.querySelector("#channel-recommendation-chat-option"),"high-context-channel-recommendation-options__option--active",b);Im(c,"high-context-channel-recommendation-options__option--active",!b);Im(f,"hidden",!b);Im(e,"hidden",b)} function afb(){var a=qn("FormSurveysFeature__trigger_id");Lu(new Ku,{triggerId:a,enableTestingMode:qn("FormSurveysFeature__enable_testing_mode")==="true",productData:{experimentIds:tn()}})} n.setAssistiveQuestionAnswers=function(a){this.Da=a;if(this.c2c&&(!this.model.use_cufinsert_api_when_validating_only||!this.validateOnly)){a=x(this.Da);var b=a.next(),c;try{for(;!b.done;b=a.next()){var e=b.value;if(e.c2cCountry&&e.c2cNumber){var f=I3(this,'input[type="tel"]').closest(".field").querySelector("select");this.Af(f.name).setValues([[e.c2cCountry,e.c2cNumber]]);break}}}finally{b&&!b.done&&(c=a.return)&&c.call(a)}}}; function zeb(a){var b="submit_form";a.model.has_custom_recaptcha_action&&(b="submit_form_"+a.getRedwoodId()+"_"+a.getId());var c=J3(a)?".high-context-channel-recommendation__g-recaptcha":".g-recaptcha";a.recaptcha=new WF(a.querySelector(c),function(){a.mb=!0;a.Cc(19,22)},b)} function bfb(a){var b=J3(a)?".high-context-channel-recommendation__g-recaptcha-v2":".g-recaptcha-v2",c=a.querySelector(b);if(c){var e=window.sc_createSpinner?window.sc_createSpinner("small"):null;e&&c.parentNode&&c.parentNode.insertBefore(e.getElement(),c);a.Ia=(new OC(c,function(){e&&c.parentNode&&c.parentNode.removeChild(e.getElement());a.va=!0;a.Cc(19,172);a.Cc(4,172)})).Zn(function(){a.Cc(14,172)})}} function cfb(a,b){b=b===void 0?null:b;var c=p3().map(function(e){return e.toString()}); b&&c.push(b);b=dfb(a);c.push.apply(c,Ca(Mdb(a.getRedwoodId(),b)));c.push.apply(c,Ca(qn("DetectDuplicateCases__enable_detect_duplicate_cases")==="true"?["detect_duplicate_cases_treatment"]:["detect_duplicate_cases_control"]));return[lQ(jQ(iQ(new Dr,8001336),8001336).xd(15),[].concat(Ca(new Set(c))))]} function $eb(a,b,c){b.form_frd_values=b.form_frd_values.filter(function(e){return e.frd_id!==8001336}); a=cfb(a,c)[0];b.form_frd_values.push(I2(a.Kc))} n.submitCustomerFollowUp=function(a,b){var c=this,e,f,h,k,l,p,r;return Qa(function(t){switch(t.o){case 1:return t.va(2),t.yield(Teb(c),4);case 4:e=t.ma;f=structuredClone(e);f.validate_only=!1;f.header||(f.header=[]);f.header.push({name:"case_action",value:"customer_follow_up"});f.header.push({name:"case_id",value:"cases/"+a});b&&f.header.push({name:"follow_up_note",value:b});f.submit_id=c.submitId;h={v:"0",psd:JSON.stringify(c.productSpecificData)};(k=Lm("test"))&&(h.test=k);(l=Lm("cases2"))&&(h.cases2= l);p={common_params:{context_params:{view_id:A().vid}},resource:f};if(c.va&&c.Ia){p.recaptcha_response=c.Ia.getResponse();t.Pa(5);break}if(!c.mb||!c.recaptcha){t.Pa(5);break}return t.yield(c.recaptcha.getResponse(),7);case 7:p.recaptcha_response_v3=t.ma;case 5:return t.yield(new Promise(function(u,w){Vm({httpMethod:"POST",endpoint:"cufinsert",params:h,requestBody:p,onLoadCallback:function(y){try{var la=JSON.parse(y.responseText);la.error||!la.result||la.result.includes("UPDATE_FAILED")?w(Error("Case update failed. Response: "+ JSON.stringify(la))):la.result.includes("UPDATE_OK")?(c.caseId=a,u()):w(Error("Update did not succeed. Result: "+JSON.stringify(la.result)))}catch(ma){w(Error("Failed to parse response"))}}, Rc:function(){w(Error("API error"))}, Ch:!0})}),8); case 8:return t.return();case 2:throw r=t.ua(),c.dispatchEvent("validationend"),r;}})}; function Teb(a){var b,c,e,f,h,k,l,p,r,t,u,w,y,la,ma,na,ua,za,Ba,Ea,Ga,Ha,Wa,$a,db,gb,nb;return Qa(function(pb){if(pb.o==1){if(a.Na&&a.ma)return pb.return(Promise.resolve(a.ma));c={form_id:a.element.getAttribute("id"),header:[],subject:"",content:"",validate_only:a.validateOnly||P3(a)||L3(a)||H3(a),validation_info:a.model.validation_info,language:A().lang,helpcenter_id:a.model.helpcenter_id,active_experiments:a.model.active_experiments,referer:a.model.referer,referer_title:a.model.referer_title,timezone_offset_minutes:(new Date).getTimezoneOffset(), form_frd_values:xS(xS(xS(xS(xS(xS(xS(new sS,a.Qa),a.ua),a.Va.Vc()),a.md),a.o.map(function(ob){return ob.model}).filter(function(ob){return ob.isRequired()&&ob.isPending()&&ob.isValid()}).map(function(ob){return ob.Lc().setRequired(!0)})),[jQ(iQ(new Dr,8000730),8000730).xd(15).Zg([Um()])]),cfb(a)).Vc().map(function(ob){return I2(ob.Kc)}), selected_symptom_frd_values:(b=a.selectedSymptomFrdValues)==null?void 0:scb(b),parent_case_name:a.parentCaseName,submission_channel:a.submissionChannel,cases_attachment:a.Dk.map(function(ob){return{blob_name:Tf(ob,1),file_name:ob.getFileName()}}), form_revision:Number(a.element.getAttribute("data-contact-form-revision"))};N3()&&(c.chat_pool_id=a.getChatPoolId(),a.getContactType()===1||a.getContactType()===3)&&(c.gcm_registration_id=a.gcmRegistrationId);e=a.getSubjectFieldId();f=a.getBodyFieldId();return a.Ka?pb.yield(a.Ka.getScreenshotData(),3):pb.Pa(2)}pb.o!=2&&(h=pb.ma)&&(a.Wo=[{name:"screenshot",value:"There was a file uploaded for this field."},{name:"upload_original_filename",value:h.originalFilename},{name:"upload_cns_filename",value:h.kf}, {name:"upload_document_id",value:h.documentId}]);if(a.Da.length>0){c.is_assistive=!0;c.assistive_flow_results=[];k=x(a.Da);l=k.next();try{for(;!l.done;l=k.next())r=l.value,t=r.answer,r.translatedAnswer&&(t+=" ***** "+r.translatedAnswer),c.header.push({name:r.questionId,value:t}),c.content+=r.questionId+": "+t+"\n",c.assistive_flow_results.push({question:r.questionId,answer:t,prediction_id:r.predictionId,recommendation_id:r.recommendationId})}finally{l&&!l.done&&(p=k.return)&&p.call(k)}}efb(a)&&a.ya&& a.ya.length>0&&(c.dynamic_question_results=a.ya.map(function(ob){return{question_text:ob.questionText,question_intent:ob.questionIntent,answer_values:ob.answerValues,relevance:ob.relevance,suggested_input_type:ob.suggestedInputType}})); c.helpcenter_form_field_results=[];a.o&&a.o.length>0&&(u=a.o.filter(function(ob){return ob.model.isValid()&&ob.model.QF}).map(function(ob){return{field_label:ob.ze(), field_id:ob.model.getName(),field_values:FR(ob.model)}}),u.length>0&&(c.helpcenter_form_field_results=u)); w=a.getFieldValues();y=ffb(a,!0);la=new Map(a.getHcfNameScFrdValueMap().entries());a.o.map(function(ob){return ob.model}).forEach(function(ob){ob.isValid()&&la.set(ob.getName(),nQ(ob.Lc()))}); for(ma=0;ma0&&(c.product_specific_data=Wa);a.Ed&&(c.target_submission_details={used_target_selector:!0,is_target_selector_verified:a.targetVerified});return pb.return(c)})} function Ueb(a,b){var c=Q3(a,1);Vm({httpMethod:"POST",endpoint:"escalationavailability",params:{v:"1",psd:JSON.stringify(a.productSpecificData)},requestBody:a.shouldSubmitToCasesV2()?c.serialize():"",onLoadCallback:function(e){var f=null;try{f=JSON.parse(e.responseText)}catch(r){f={}}var h,k,l,p;((h=f.chat_channel)==null?0:(k=h.common_options)==null?0:k.available_to_user)||((l=f.hangout_channel)==null?0:(p=l.common_options)==null?0:p.available_to_user)?Veb(a,b):(a.oa&&a.oa.hide(),G3(a))}, Rc:function(e){a.Cc(21,52,"escalationavailability: - "+e.statusText);a.oa&&a.oa.hide();if(e=a.querySelector(".submit-button"))e.disabled=!1;O3(a,a.model.strings.BACKEND_ERROR);a.dispatchEvent("validationend")}})} n.getChatAvailability=function(){var a=this;return Qa(function(b){return b.return(gfb(a))})}; function Web(a,b){var c,e,f,h,k,l;Qa(function(p){if(p.o==1)return c={contact_flow:b},a.va?(c.recaptcha_response=a.Ia.getResponse(),p.Pa(2)):a.mb?p.yield(a.recaptcha.getResponse(),4):p.Pa(2);p.o!=2&&(c.recaptcha_response_v3=p.ma);a.c2c.populateCallParameters(c);a.shouldSubmitToCasesV2()&&(e={},f=Q3(a,5),mg(f,2)&&(e.form_id=Tf(f,2)),Fd(Ce(f,4))!=null&&(e.redwood_form_id=$f(f,4)),e.channel=[5],Ge(f,RQ,7)?e.sc_frd_values=rcb(new sS(f.getScFrdValues())):Ge(f,ok,1)&&(e.frd_values=scb(new sS(of(f,ok,1)))), c.escalation=e);h={v:"1",psd:JSON.stringify(a.productSpecificData)};(k=Lm("test"))&&(h.test=k);(l=Lm("cases2"))&&(h.cases2=l);b.submit_id=a.submitId;Vm({httpMethod:"POST",endpoint:"createcall",params:h,requestBody:c,onLoadCallback:function(r){var t=null;try{t=JSON.parse(r.responseText)}catch(u){}R3(a,{type:"c2c",response:t})}, Rc:function(){R3(a,{type:"c2c",response:!1})}}); p.oa()})} function Veb(a,b){var c,e,f,h;Qa(function(k){if(k.o==1)return c={v:"0",psd:JSON.stringify(a.productSpecificData)},(e=Lm("test"))&&(c.test=e),(f=Lm("cases2"))&&(c.cases2=f),b.submit_id=a.submitId,h={common_params:{context_params:{view_id:A().vid}},resource:b},a.va?(h.recaptcha_response=a.Ia.getResponse(),k.Pa(2)):a.mb?k.yield(a.recaptcha.getResponse(),4):k.Pa(2);k.o!=2&&(h.recaptcha_response_v3=k.ma);M3(a)&&(a.shouldSubmitToCasesV2()||f)&&(a.Yc=!0);Vm({httpMethod:"POST",endpoint:"cufinsert",params:c, requestBody:h,onLoadCallback:function(l){var p=null;try{p=JSON.parse(l.responseText)}catch(r){R3(a,{type:"cuf",response:l.responseText,formData:b});return}R3(a,{type:"cuf",response:p,formData:b})}, Rc:function(){R3(a,{type:"cuf",response:!1,formData:b})}, Ch:!0});k.oa()})} function M3(a){return a.Rd?!1:a.model.is_chat_form||a.Na&&a.ma!==null&&a.ma.submission_channel===2} function P3(a){if(!a.model.fix_multi_page)return!1;var b=!1;B3(a,function(c){Number(c.Il())>a.Il()&&c.hasSatisfiedDependencies()&&(b=!0)}); return b} function L3(a){var b=a.getContactType()===0;return a.model.logged_in&&(Zdb()||p3().includes("channel_reco_treatment"))&&A().rs===1&&b&&!a.Na} function H3(a){return a.model.logged_in&&!a.Ea&&hfb(a)} function hfb(a){var b;if(!(b=efb(a))){b=a.getContactType()===3;var c=a.getContactType()===1;b=!!a.flags.enableSmartIntakeDuplicateCases&&!b&&!c}return b} function efb(a){var b=a.getRedwoodId(),c=!!a.flags.enableSmartIntakeDynamicQuestions,e,f;a=(f=(e=a.flags.smartIntakeDynamicQuestionsFormAllowlist)==null?void 0:e.primitive_value)!=null?f:[];e=A().lang;return c&&SVa(b,a,e)} n.getHasCheckedForDynamicRecommendation=function(){return this.Ea}; n.setHasCheckedForDynamicRecommendation=function(a){this.Ea=a}; n.getHasCheckedForDynamicQuestions=function(){return this.Jk}; n.setHasCheckedForDynamicQuestions=function(a){this.Jk=a}; n.getHasCheckedForDuplicateCases=function(){return this.Ej}; n.setHasCheckedForDuplicateCases=function(a){this.Ej=a}; n.getShouldShowNextStep=function(){return this.Sg}; n.setShouldShowNextStep=function(a){this.Sg=a}; function Reb(a,b){b=b===void 0?null:b;D3(a,!0);b&&(a.ma=b);a.ma.validate_only=a.validateOnly||P3(a);a.dispatchEvent("dynamicrecommendationfound");a.setHasCheckedForDynamicQuestions(!1);a.setHasCheckedForDuplicateCases(!1);a.Xa=!0;a.Ea=!0;D3(a,!1)} function ifb(a,b){D3(a,!0);a.ma=b;a.ma.validate_only=a.validateOnly||P3(a);a.Na=!0;b={contact_flow_model:b};Vm({httpMethod:"POST",endpoint:"channelrecommendation",params:{v:"1",psd:JSON.stringify(a.productSpecificData)},requestBody:b,onLoadCallback:function(c){var e=null;try{e=JSON.parse(c.responseText)}catch(f){S3(a,{response:c.responseText});return}S3(a,{response:e})}, Rc:function(){S3(a,{response:!1})}, Ch:!0})} function Seb(a){a=Ydb(new n3,a.map(function(b){return(new m3).setId(b.id).setValue(b.value)})); Vm({httpMethod:"POST",endpoint:"logformvalidationfailure",params:{v:"1"},requestBody:a,onLoadCallback:function(){}, Rc:function(){}, Ch:!0})} function S3(a,b){D3(a,!1);if(typeof b.response!=="object")a.submitForm();else if(b=b.response,b.channel_type&&b.channel_type==="CHAT"&&a.getContactType()===0){a.Sa=28;jfb(a);kfb();a.Cc(4,303);var c=a.querySelector(".high-context-channel-recommendation__container");lfb(a,!1);Im(c,"hidden",!1);!A().is_render_api&&hfb(a)&&a.vv();a.dispatchEvent("highcontextchannelrecommendationfound");a.Po&&zeb(a);c=a.querySelector(".high-context-channel-recommendation-options__option-estimated-wait-time");var e=b.chat_channel; if(e&&e.common_options){var f=e.common_options.estimated_wait_time_id;e.common_options.estimated_wait_time_seconds&&(e=e.common_options.estimated_wait_time_seconds,f=e<60?a.model.strings.CHANNEL_RECOMMENDATION_WAIT_TIME.replace("$0","1"):e<180?a.model.strings.CHANNEL_RECOMMENDATION_WAIT_TIME.replace("$0","3"):e<3300?a.model.strings.CHANNEL_RECOMMENDATION_WAIT_TIME.replace("$0",""+Math.floor(e/300+1)*5):a.model.strings.CHANNEL_RECOMMENDATION_WAIT_TIME_IN_HRS.replace("$0",""+(Math.floor(e/3600)+1))); c&&f&&gm(c,xm.oe(f))}c=a.querySelector(".high-context-channel-recommendation-options__help-text");e=a.querySelector(".high-context-channel-recommendation-options__help-text-container");b.estimated_save_time?(b=Math.floor(b.estimated_save_time.seconds/3600)+1,b=a.model.strings[b===1?"CHANNEL_RECOMMENDATION_HELP_TEXT":"CHANNEL_RECOMMENDATION_HELP_TEXT_PLURAL"].replace("$0",""+b),gm(c,xm.oe(b))):Im(e,"hidden",!0);Xeb(a)}else a.Sa=29,a.submitForm()} function Neb(a,b,c){var e;return Qa(function(f){e=ceb(new s3,beb(aeb(new q3,b),c));return f.return(new Promise(function(h,k){Vm({httpMethod:"POST",params:{v:"1",psd:JSON.stringify(a.productSpecificData)},endpoint:"authorizetargets",requestBody:e,onLoadCallback:function(l){var p=null;try{p=eeb(l.responseText),h(p)}catch(r){k(Error("Failed to parse AuthorizeTargetsResponse."))}}, Rc:function(){k(Error("API error authorizing targets."))}, Ch:!0})}))})} function jfb(a){a.Hb.report(a.Sa);a.Hb=null;a.Sa=27} n.getSubjectFieldId=function(){return I3(this,'input[name="subject-line-field-id"]').value}; n.getBodyFieldId=function(){return I3(this,'input[name="body-text-field-id"]').value}; function ffb(a,b){var c=[];B3(a,function(t){if(t.hasSatisfiedDependencies())for(var u=t.getValues(b),w=0;w0){O3(a,pfb(e),e);a.dispatchEvent("validationend");break a}qfb(a,e)}else O3(a,a.model.strings.BACKEND_ERROR,e)}else O3(a,a.model.strings.CONNECTION_ERROR);a.dispatchEvent("validationend")}else{c=b.response;b=b.formData;f=typeof c==="object"?c==null?void 0:(e=c.result)==null?void 0:e[0]:void 0;e=!1;if(c&&typeof c==="object")if(!c.error&&c.result&&f&&f.indexOf("PERM_FAILURE")!==0)if(f==="ACCEPTED"||f==="SUCCESS"||f==="RETRIED")if(P3(a))T3(a); else if(H3(a))Reb(a,b);else if(L3(a))ifb(a,b);else{c.fallback_info&&(a.Rd=!0);b=Lm("cases2");if(b=M3(a)&&(a.shouldSubmitToCasesV2()||b))a.chatPoolId=c.chat_pool_id||"",a.model.chat_support_request_id=c.chat_support_request_id||"";a.dispatchEvent("validated");c.case_id&&(a.caseId=c.case_id,U3(a),a.Cc(66,339,c.case_id));a.validateOnly||(!b||N3()||A().rs===79&&a.flags.enableChatMoleMigration||((0,window.sc_ensureSubscribed)(),a.dispatchEvent("chatrequested")),jfb(a),V3(a));W3(!0);e=!0}else qfb(a,c); else O3(a,pfb(c),c);else O3(a,a.model.strings.CONNECTION_ERROR);c=Lm("cases2");!e&&M3(a)&&(a.shouldSubmitToCasesV2()||c)&&(a.Yc=!1);a.dispatchEvent("validationend")}} function rfb(a,b){switch(a){case 22:switch(b){case 6:return"To work with a Support Specialist, ask a parent or guardian to contact Support for you.";case 4:case 3:return"Refresh this page and try again. Sorry, there was a problem with the form.";case 5:return"Sorry, no contact options are available.";case 2:return"To access support, sign in to a Google account based in a supported region, or go to a supported location.";default:return"Please try again later."}case 21:switch(b){case 1:case 2:return"Please try again later. All specialists are currently busy."; case 3:return"To work with a Support Specialist, use the chat session you have open.";case 4:case 5:return"You\u2019re already in line to work with a specialist.";case 7:case 8:return"Please try again during support hours.";case 6:case 9:case 10:case 11:case 12:return"Refresh this page and try again. Sorry, there was a problem with the form.";case 13:return"Try again later. Sorry, there was a problem with the form.";default:return"Please try again later."}default:return"Please try again later."}} function pfb(a){var b;return((b=a.submit_error)==null?0:b.length)?(a=a.submit_error[0],rfb(a.code,a.sub_code)):""} function sfb(a,b){var c=J3(a)?".high-context-channel-recommendation__recaptcha":".recaptcha";(a=a.querySelector(c))&&Im(a,"invalid",b)} function qfb(a,b){var c=!1,e,f=(e=a.model.strings.VALIDATION_NOTE)!=null?e:"";e=[];var h=x(b.result||[]),k=h.next(),l;try{for(;!k.done;k=h.next()){var p=k.value.split(":");if(p[0]==="REQUIRED_FORM_FRD_VALUE"){var r=tfb(a,p[1],p[2]);if(r){if(r.isVisible()){pS(r,!0,a.model.strings.REQUIRED_FIELD);var t=r.model.getName();t&&e.push(t)}else{var u=r.model.getName();XF.enableA11yValidationFieldsList&&u?f=J2(a.model.strings.REQUIRED_FIELD,u):u?f=a.model.strings.REQUIRED_FIELD+": "+u:f=a.model.strings.REQUIRED_FIELD}c= !0}}else{var w=a.Af(p[1]);if(p[0]==="REQUIRED_RECAPTCHA"){if(a.page===a.model.total_pages){var y=a;if(y.model.fallback_to_recaptcha_v2){if(!y.va){var la=J3(y)?".high-context-channel-recommendation__g-recaptcha":".g-recaptcha",ma=y.querySelector(la);ma&&Im(ma,"hidden",!0);bfb(y)}sfb(y,!0)}c=!0;f=a.model.strings.REQUIRED_RECAPTCHA_NOTIFICATION}}else if(p[0]==="INVALID_AUTH_TOKEN")c=!0,f="Refresh this page and try again. Sorry, there was a problem with the form.";else if(p[0]==="CHAT_UNAVAILABLE")G3(a), c=!0;else if(w&&w.isVisible()){var na;if(na=w.getType()==="PHONE_NUMBER"&&a.c2c)a:{y=a;var ua=w.getValues(!0)[0];if(ua&&ua.value){var za=JSON.parse(ua.value),Ba;if(Ba=za){var Ea=za.country,Ga=[],Ha=y.model.phone_type_required_countries;Ha&&(Ga=Ha.split(","));Ba=Ga.indexOf(Ea)!==-1}if(Ba){w.setValidity(!1,y.model.strings.PHONE_TYPE_VALIDATION,!0);na=!0;break a}}na=!1}if(na){var Wa=$2(w);Wa&&e.push(Wa)}else{w.setValidity(!1,a.model.strings[p[0]]||a.model.strings.DEFAULT);var $a=$2(w);$a&&e.push($a)}c= !0}}}}finally{k&&!k.done&&(l=h.return)&&l.call(h)}if(c){var db;c=XF.enableA11yValidationFieldsList&&f===((db=a.model.strings.VALIDATION_NOTE)!=null?db:"")&&e.length>0?veb(f,e):f;F3(a,"invalid",c+ufb(a,b));a.dispatchEvent("invalidated");a.Cc(17)}else T3(a)} function Deb(a){if(a=a.querySelector(".notification-area"))Im(a,"error",!1),Im(a,"invalid",!1),a.textContent="",XF.enableA11yValidationFieldsList&&a.removeAttribute("role")} function ofb(a){Deb(a);B3(a,function(f){f.setValidity(!0)}); var b=x(a.o),c=b.next(),e;try{for(;!c.done;c=b.next())pS(c.value,!1)}finally{c&&!c.done&&(e=b.return)&&e.call(b)}a.va&&sfb(a,!1)} function F3(a,b,c){var e=a.querySelector(".notification-area");e&&(Im(e,b,!0),e.textContent=c,b==="invalid"?(e.setAttribute("role","alert"),(b=a.element.querySelector('[aria-invalid="true"]'))&&b.focus(),(a=a.element.querySelector(".invalid .validation-message"))&&a.setAttribute("aria-live","polite")):e.setAttribute("role","status"))} n.wrapUpCaseUpdate=function(a){this.caseId=a;U3(this);this.dispatchEvent("validated");V3(this);W3(!0);this.dispatchEvent("validationend")}; n.getStatusMessage=function(){var a;return((a=this.querySelector(".notification-area"))==null?void 0:a.innerText)||""}; n.setErrorMessage=function(a){F3(this,"error",a)}; function O3(a,b,c){a.setErrorMessage(b+ufb(a,c));if(c==null?0:c.submit_error){b=x(c.submit_error);c=b.next();var e;try{for(;!c.done;c=b.next()){var f=c.value;if(f.escalation_rpc_event_id){a.Cc(21,339,f.escalation_rpc_event_id);break}}}finally{c&&!c.done&&(e=b.return)&&e.call(b)}}a.dispatchEvent("error");W3(!1)} function ufb(a,b){if(!b||!a.model.show_debug_info)return"";a=["\n\nDebug info for Googlers:"];var c;((c=b.submit_error)==null?0:c.length)&&a.push.apply(a,["\nSubmit Errors:"].concat(Ca(b.submit_error.map(function(f){return JSON.stringify(f)})))); var e;((e=b.result)==null?0:e.length)&&a.push.apply(a,["\nResult:"].concat(Ca(b.result)));return a.join("\n")} function T3(a){Meb(a,a.page+1);a.dispatchEvent("nextpage");a.Cc(6)} function V3(a){a.dispatchEvent("submitstart");if(!M3(a)||a.Da.length>0)kfb(),lfb(a),vfb(a);if(M3(a)){var b=a.querySelector(".submit-button");b&&(b.disabled=!0);K3(a,!0);window.sc_enableFormSubmissionDetailsAndDownloadUi&&(wfb(a),xfb(a,I3(a,".submission-details-chat__content")),yfb(a),b=I3(a,".submission-details-chat__download-button"),b.addEventListener("click",function(){zfb(a)}),I3(a,".submission-details-chat__edit-button").addEventListener("click",function(){Afb(a)}),a.Cc(4,182),Im(I3(a,".submission-details-chat"), "hidden",!1),b.focus()); I3(a,".notification-area").textContent=a.model.strings.CHAT_CREATING;a.dispatchEvent("chatrequested")}a.Cc(22);a.dispatchEvent("submitend");a.dispatchEvent("cleancomplete");qn("FormSurveysFeature__enable_hats")==="true"&&afb()} function K3(a,b){var c=x(a.querySelectorAll(".high-context-channel-recommendation__submit-button")),e=c.next(),f;try{for(;!e.done;e=c.next())e.value.disabled=b}finally{e&&!e.done&&(f=c.return)&&f.call(c)}a=x(a.querySelectorAll(".high-context-channel-recommendation-options__option"));c=a.next();var h;try{for(;!c.done;c=a.next())c.value.disabled=b}finally{c&&!c.done&&(h=a.return)&&h.call(a)}} function kfb(){var a=document.querySelector(".prefilled-callout");a&&Im(a,"hidden",!0)} function lfb(a,b){b=b===void 0?!0:b;for(var c=M3(a)&&a.Da.length>0,e=0;e0&&a.Fk.set(f.getId(),h)}}}finally{c&&!c.done&&(e=b.return)&&e.call(b)}b=x(a.o);c=b.next();var ma;try{for(;!c.done;c=b.next()){var na=c.value,ua=na.ze();na.isVisible()&&ua&&a.La.set(ua,na.getDisplayValues())}}finally{c&&!c.done&&(ma=b.return)&& ma.call(b)}} function xfb(a,b){a=x(a.La.entries());var c=a.next(),e;try{for(;!c.done;c=a.next()){var f=x(c.value),h=f.next().value,k=f.next().value,l=h,p=k,r=document.createElement("div"),t=document.createElement("span");r.appendChild(t);t.innerText=l;if(p){t.innerText+=": ";Im(r,"multi-value",p.length>1);var u=x(p),w=u.next(),y;try{for(;!w.done;w=u.next()){var la=w.value,ma=document.createElement("span");Im(ma,"submission-value",!0);ma.innerText=la;r.appendChild(ma)}}finally{w&&!w.done&&(y=u.return)&&y.call(u)}}b.appendChild(r)}}finally{c&& !c.done&&(e=a.return)&&e.call(a)}} function zfb(a){var b="",c=x(a.La.entries()),e=c.next(),f;try{for(;!e.done;e=c.next()){var h=x(e.value),k=h.next().value,l=h.next().value;b+=k;if(l){b+=":";var p=x(l),r=p.next(),t;try{for(;!r.done;r=p.next())b+="\n"+r.value}finally{r&&!r.done&&(t=p.return)&&t.call(p)}}b+="\n\n"}}finally{e&&!e.done&&(f=c.return)&&f.call(c)}var u;c=((u=a.caseId)!=null?u:a.getId())+".txt";y3.download(b,c,"text/plain");a.Cc(47,182);rn("contact_form_submission_download")} function Afb(a){var b=new URLSearchParams,c=x(a.Fk.entries()),e=c.next(),f;try{for(;!e.done;e=c.next()){var h=x(e.value),k=h.next().value,l=h.next().value,p=k,r=x(l),t=r.next(),u;try{for(;!t.done;t=r.next())b.append("pcff",p+":"+t.value)}finally{t&&!t.done&&(u=r.return)&&u.call(r)}}}finally{e&&!e.done&&(f=c.return)&&f.call(c)}rn("contact_form_submission_edit");a.Cc(24,182);a=new URL(""+window.location.origin+window.location.pathname+"?"+b);en(a.toString())} function W3(a){Vm({httpMethod:"POST",endpoint:"cufz",requestBody:{success:a,page_view_id:A().pvid}})} function tfb(a,b,c){return b&&c?a.o.find(function(e){return oQ(e.model.Lc(),iQ(jQ(new Dr,+b),+b).xd(+c))}):null} n.Af=function(a){var b=null;B3(this,function(c){var e=c.cidSelector&&c.getElement().querySelector(".cid-selector"),f=c.oa&&c.getElement().querySelector(".frd-target-selector"),h=c.o&&c.getElement().querySelector(".policy-violation-campaign-selector-container");return c.getId()===a&&c.getType()!=="EXTERNAL_SOURCE"||e!==null&&e.getAttribute("id")===a||f!==null&&f.getAttribute("id")===a||h!==null&&h.getAttribute("id")===a?(b=c,!1):!0}); return b}; function Meb(a,b){if(b===a.page||b<1||b>a.model.total_pages)return!1;a.page=b;C3(a);D3(a,!1);return!0} n.Cc=function(a,b,c,e){b=b===void 0?21:b;var f;c=(f=c!=null?c:A().pid)==null?void 0:f.toString();if(e){var h,k;(k=(h=window).sc_trackStatsEvent)==null||k.call(h,b,a,c,void 0,void 0,e)}else{var l,p;(p=(l=window).sc_trackStatsEvent)==null||p.call(l,b,a,c)}}; function Bfb(a,b){var c=Q3(a,b),e=a.productSpecificData;e.country_code=a.element.querySelector('.additional-request-data input[name="country_code"]').value;return new Promise(function(f,h){Vm({httpMethod:"POST",endpoint:"escalationavailability",params:{v:1,psd:JSON.stringify(e)},requestBody:c.serialize(),onLoadCallback:function(k){try{f(JSON.parse(k.responseText))}catch(l){h(Error("Could not parse escalationavailability response"))}}, Rc:function(){h(Error("escalationavailability endpoint returned an error"))}, Ch:!0})})} function Q3(a,b){var c=new rS,e=a.getId();gg(c,2,e);e=Number(a.getRedwoodId());dg(c,4,e);Ye(c,3,[b],zd);if(a.selectedSymptomFrdValues){b=[];e=x(a.selectedSymptomFrdValues);var f=e.next(),h;try{for(;!f.done;f=e.next()){var k=void 0;b.push.apply(b,Ca((k=kQ(f.value))!=null?k:[]))}}finally{f&&!f.done&&(h=e.return)&&h.call(e)}a=tS(xS(vS(new sS,uS(a.selectedSymptomFrdValues)).Bd(a.selectedSymptomFrdValues.qh()),[lQ(iQ(jQ(new Dr,8000072),8000072).xd(15),b)]));rf(c,RQ,7,a)}return c} n.getEscalationChannelAvailabilityInformation=function(a){var b=this,c,e,f,h,k,l,p,r,t;return Qa(function(u){if(u.o==1)return u.yield(Bfb(b,a),2);if(c=u.ma)switch(a){case 1:return u.return((f=(e=c.chat_channel)==null?void 0:e.common_options)!=null?f:null);case 3:return u.return((l=(h=c)==null?void 0:(k=h.email_channel)==null?void 0:k.common_options)!=null?l:null);case 5:return u.return((t=(p=c)==null?void 0:(r=p.c2c_channel)==null?void 0:r.common_options)!=null?t:null)}return u.return(null)})}; function gfb(a){var b,c,e;return Qa(function(f){return f.o==1?f.yield(Bfb(a,1),2):(b=f.ma)?f.return(((c=b.chat_channel)==null?void 0:(e=c.common_options)==null?void 0:e.open_now)==="CS_OPEN"):f.return(!1)})} function Eeb(a){var b=a.querySelector(".contact-form__gdpr-dialog");if(b){var c=function(e){var f=this.Mb().strings,h=this.Mb().style_params,k=this.Mb().gdpr_privacy_policy_url,l=A().lang,p={};f=new dG(A().lang,(p["gdpr_dialog.trigger_needing_privacy_policy_url"]=f.GDPR_DIALOG_TRIGGER,p["gdpr_dialog.title"]=f.GDPR_DIALOG_TITLE,p["gdpr_dialog.ok"]=f.GDPR_DIALOG_OK,p));var r=new zS({Ra:f,locale:l,privacyPolicyUrl:k,Zt:h?{"font-family":h.font_family.title}:void 0,Nr:h?{"font-family":h.font_family.body}: void 0,Rr:h?{"font-weight":String(h.strong_font_weight)}:void 0});Bo(e,function(){r.render()}); return r}.call(a,b); RVa(c,function(){c.data=new Map;c.Ja();var e=x(a.getFieldValues()),f=e.next(),h;try{for(;!f.done;f=e.next()){var k=f.value;k.type!=="HIDDEN"&&k.type!=="FROM_EMAIL_ADDRESS_HIDDEN"&&k.type!=="ADDITIONAL_DATA"||!k.value||AS(c,k.name,k.value)}}finally{f&&!f.done&&(h=e.return)&&h.call(e)}e=x(Object.keys(a.productSpecificData));f=e.next();var l;try{for(;!f.done;f=e.next()){var p=f.value;AS(c,p,a.productSpecificData[p])}}finally{f&&!f.done&&(l=e.return)&&l.call(e)}a.gcmRegistrationId&&AS(c,"GCM",a.gcmRegistrationId)})}} function yeb(a,b){b.addEventListener("uploadstart",function(){++a.dg}); b.addEventListener("uploadend",function(){--a.dg;un(a.element,"uploadend")})} function G3(a){if(!a.Yc){var b=a.querySelector(".submit-button");b&&(b.disabled=!0);K3(a,!0);b=I3(a,".notification-area");Im(b,"invalid",!0);b.textContent=a.model.strings.CHAT_UNAVAILABLE}} n.getId=function(){return this.element.getAttribute("id")}; n.getRedwoodId=function(){return this.element.dataset.contactFormRedwoodId}; n.getContactType=function(){return this.model.contact_type}; n.shouldSubmitToCasesV2=function(){return this.model.should_submit_to_cases_v2}; n.getTitle=function(){var a=this.element.querySelector(".contact-form__title");return a?a.textContent:""}; n.Mb=function(){return this.model}; n.getElement=function(){return this.element}; n.getCaseId=function(){return this.caseId}; n.getChatPoolId=function(){return this.chatPoolId}; n.getChatSupportRequestId=function(){return this.model.chat_support_request_id||""}; n.xT=function(){var a=[];B3(this,function(b){a.push(Cfb(b))}); Array.prototype.push.apply(a,mfb(this));return a}; function Cfb(a){return{getValues:a.getValues.bind(a),getType:a.getType.bind(a),isVisible:a.isVisible.bind(a),isConditional:a.isConditional.bind(a),hasSatisfiedDependencies:a.hasSatisfiedDependencies.bind(a),getId:a.getId.bind(a),getDisplayName:a.getDisplayName.bind(a),getFrdV1Identifier:a.getFrdV1Identifier.bind(a),getFrdV2Identifier:a.getFrdV2Identifier.bind(a),getFrdIdentifier:a.getFrdIdentifier.bind(a),getFrdContext:a.getFrdContext.bind(a),isCasesTarget:a.isCasesTarget.bind(a),setValues:a.setValues.bind(a), getElement:a.getElement.bind(a),targetVerified:a.targetVerified.bind(a),setTargetVerified:a.setTargetVerified.bind(a),hide:a.hide.bind(a)}} n.yT=function(){var a=[];B3(this,function(b){b.isVisible()&&a.push(Cfb(b))}); return a}; n.setValidateOnly=function(a){this.validateOnly=a}; n.listen=function(a,b,c,e){this.listeners.push({type:a,listener:b,scope:e})}; n.unlisten=function(a,b,c,e){for(c=0;c0&&!a.Ee;)a.yd.shift()()} n.vs=function(){var a=this;if(QQ(Y3(this))){var b=document.activeElement;Z3(this,!0);var c=new jR;Efb(this,c);Vm({httpMethod:"POST",endpoint:"getavailablevaluesforgraph",params:{v:"1"},requestBody:c.serialize(),onLoadCallback:function(e){try{var f=LTa(e.responseText),h=x(qf(f,kR,2,Pe())),k=h.next(),l;try{for(;!k.done;k=h.next()){var p=of(k.value,Zj,1),r=p.getFrdContext(),t=r?ag(r,2):null,u=a.Ba.get(o3(p));if(u){var w=x(u),y=w.next(),la;try{for(;!y.done;y=w.next()){var ma=y.value,na=Jdb(ma),ua=ag(na, 2);if(!(t&&ua&&t!==ua||!e3(ma))){var za=Rj(Tj(ck(p)),Xc);f=e=void 0;switch(ma.getType()){case "CHECKBOX":case "RADIOBUTTON":var Ba=x(ma.querySelectorAll(".list-item")),Ea=Ba.next();try{for(;!Ea.done;Ea=Ba.next()){var Ga=Ea.value,Ha=za.indexOf(Ga.querySelector("input").value)===-1;Im(Ga,"hidden-by-vrg",Ha)}}finally{Ea&&!Ea.done&&(f=Ba.return)&&f.call(Ba)}break;case "DROPDOWN":var Wa=x(ma.querySelectorAll("option")),$a=Wa.next();try{for(;!$a.done;$a=Wa.next()){var db=$a.value;if(db!==ma.querySelector("option")){var gb= za.indexOf(db.value)===-1;Im(db,"hidden-by-vrg",gb)}}}finally{$a&&!$a.done&&(e=Wa.return)&&e.call(Wa)}ma.element.querySelector("select").dispatchEvent(new Event("selectvrgupdate"))}}}}finally{y&&!y.done&&(la=w.return)&&la.call(w)}}}}finally{k&&!k.done&&(l=h.return)&&l.call(h)}}catch(nb){}Z3(a,!1);b.focus();Dfb(a)}, Rc:function(){Z3(a,!1);b.focus();Dfb(a)}})}}; function Z3(a,b){a.Ee=b;a=x(a.Zc);var c=a.next(),e;try{for(;!c.done;c=a.next()){var f=c.value;e3(f)&&Ldb(f,b)}}finally{c&&!c.done&&(e=a.return)&&e.call(a)}} function Efb(a,b){var c=Y3(a);c=QQ(c);ITa(b,xf(c,1));JTa(b,zf(c,2));c=[];var e=[],f=!1,h=x(a.Zc),k=h.next(),l;try{for(;!k.done;k=h.next()){var p=k.value;if(e3(p)){var r=p.getFrdIdentifier();r&&c.push(r)}if(b3(p)&&p.hasSatisfiedDependencies()){var t=[],u=x(p.getValues()),w=u.next(),y;try{for(;!w.done;w=u.next())t.push(w.value.value)}finally{w&&!w.done&&(y=u.return)&&y.call(u)}if(t.length!==0){var la=new Sj,ma=p.getFrdIdentifier();p.getType()==="HIDDEN"?Ffb(Kdb(p),t[0],la):ma&&[8000001,8000061].includes(ma)? la.Lj((new Lj).yg(t.map(function(Wa){return Number(Wa)||0}))):ma&&[8000854, 8000517].includes(ma)?la.Zg((new Qj).yg(t)):Uj(la,(new Qj).yg(t));var na=dk(new Zj,la),ua=Jdb(p),za=Af(ua,2);za&&ak(na,Hj(new Gj,Af(ua,1)).xd(za));var Ba=p.getFrdV2Identifier();Ba&&bk(na,Ba);e.push(na);!f&&o3(na)===8000072&&(f=!0)}}}}finally{k&&!k.done&&(l=h.return)&&l.call(h)}if(window.sc_filter_promoted_by_selected_symptom&&!f){var Ea;l=(Ea=a.selectedSymptomFrdValues)==null?void 0:uS(Ea);Ea=op(xf(b,2));if(a.selectedSymptomFrdValues&&l&&Ea&&l===Ea){Ea=x(a.wf);l=Ea.next();var Ga;try{for(;!l.done;l= Ea.next())if(o3(l.value)===8000072){f=!0;break}}finally{l&&!l.done&&(Ga=Ea.return)&&Ga.call(Ea)}if(!f){Ga=[];f=x(a.selectedSymptomFrdValues);Ea=f.next();var Ha;try{for(;!Ea.done;Ea=f.next())l=void 0,Ga.push.apply(Ga,Ca((l=kQ(Ea.value))!=null?l:[]))}finally{Ea&&!Ea.done&&(Ha=f.return)&&Ha.call(f)}e.push(Hr(lQ(iQ(jQ(new Dr,8000072),8000072).xd(15),Ga)))}}}Ye(b,3,c,zd);ocb(b,a.wf.concat(e));ig(b,5,a.model.content_publish_state)} function Ffb(a,b,c){switch(a){case 1:c.Lj((new Lj).yg([Number(b)]));break;case 2:case 5:c.Zg((new Qj).yg([b]));break;case 3:Wj(c,Xea(new Jj,[Number(b)]));break;case 4:a=b.split(",");Uj(c,(new Qj).yg(a));break;case 9:c.ui(b==="true");break;case 8:a=b.split(",").map(function(e){return Number(e)}); c.Zw(Pj(new Nj,[(new Lj).yg(a)]));break;case 11:case 6:case 7:case 10:Yj(c,(new Ij).yg([b]))}} function Y3(a){a=JSON.parse(a.element.getAttribute("data-form-service-vrg"));return new PQ(a)} n.getServiceVrgTaxonomyId=function(){var a=QQ(Y3(this));return a?op(xf(a,1)):null}; n.getServiceVrgTaxonomyView=function(){var a=QQ(Y3(this));return a?Tf(a,2):null}; n.setSupportJourneyId=function(a){this.submitId=a}; function U3(a){window.sc_log&&window.sc_log("Form","INFO","Case ID: "+a.caseId)} n.setIncludesTargetSelector=function(a){this.Ed=a}; n.setTargetVerified=function(a){this.targetVerified=a}; function Feb(a,b){var c,e,f,h,k,l,p,r,t,u;Qa(function(w){if(w.o==1){if(!b)return w.return();c=new hR(JSON.parse(b));a.je=(e=Gf(c,7))!=null?e:"";a.je&&window.sc_log&&window.sc_log("Helpcenter Field","INFO","Form Helpcenter Fields User-based FRD Value Lookup EventID: "+a.je);return w.yield(qS({helpCenterFrdFieldsConfg:c,locale:A().lang,neoTaxonomy:iR(),placements:[a.Ou(1),a.Ou(2)],Rw:"*"}),2)}f=w.ma;h=a.getScFrdValues().map(function(y){return new Dr(y)}); k=x(a.Ba.keys());l=k.next();try{for(;!l.done;l=k.next())r=l.value,h.push(jQ(new Dr,r))}finally{l&&!l.done&&(p=k.return)&&p.call(k)}t=a.getHcfNameScFrdValueMap();u=f.ij;Gfb(a,u,2,h,t,".cf div.helpcenter-fields-container.top");Gfb(a,u,1,h,t,".cf div.helpcenter-fields-container.bottom");wQ(a.Va,a.o.concat(f.Vs).map(function(y){return y.model})); w.oa()})} n.Ou=function(a){var b=new BQ,c=new AQ,e=this.getContactType();df(c,3,zQ,Ad(e));ig(c,2,a);uf(b,1,AQ,c);c=new AQ;e=this.getRedwoodId();df(c,1,zQ,Xd(e));ig(c,2,a);uf(b,1,AQ,c);a=new GQ;sf(a,1,FQ,b);return a}; function Gfb(a,b,c,e,f,h){if(h=a.element.querySelector(h)){var k=b.filter(function(l){if(l.model.placements.length||c!==1&&e.some(function(ua){return oQ(ua,l.model.Lc())})||!l.model.Lc().getId()&&f.has(l.model.getName()))return!1; var p=x(l.model.va),r=p.next(),t;try{for(;!r.done;r=p.next()){var u=r.value,w=void 0,y=void 0,la=x((y=(w=u.Dv())==null?void 0:w.o())!=null?y:[]),ma=la.next(),na;try{for(;!ma.done;ma=la.next())ma.value.wu()===c&&l.model.placements.push(u)}finally{ma&&!ma.done&&(na=la.return)&&na.call(la)}}}finally{r&&!r.done&&(t=p.return)&&t.call(p)}return!!l.model.placements.length}); k.length&&Bo(h,function(){var l=x(k),p=l.next(),r;try{for(;!p.done;p=l.next()){var t=p.value;t.render();a.o.push(t)}}finally{p&&!p.done&&(r=l.return)&&r.call(l)}})}} n.getHelpCenterFieldFrds=function(a){return this.Va.Vc(a===void 0?!1:a).map(function(b){return nQ(b)})}; n.setHelpCenterFieldFrd=function(a){a=new Dr(a);var b=x(uQ(this.Va)),c=b.next(),e;try{for(;!c.done;c=b.next()){var f=c.value;if(oQ(f.Lc(),a)){pcb(f,a);break}}}finally{c&&!c.done&&(e=b.return)&&e.call(b)}}; function dfb(a){var b,c;return(c=(b=a.flags.multiTargetsHelpCenterAllowlist)==null?void 0:b.primitive_value)!=null?c:[]} function Geb(a){var b=[];A().is_render_api||b.push("direct_to_form");var c=["gse","google_marketing_advisor","agentic_smart_journey_with_ma_web","ai_first_help_center"],e=Lm("cse");e&&c.includes(e)&&b.push(e);b.length&&a.addScFrdValue(nQ(lQ(iQ(jQ(new Dr,8000104),8000104).xd(15),b)))} n.Oi=function(a,b){a=this.Ba.get(Number(a));if(!a||a.length===0)return!1;a=a[0].getElement();return nx(a,b)}; function N3(){switch(A().rs){case 3:case 8:return!0;default:return!1}} window.sc_initForm=function(a,b,c){XF=c;a=new web(a,b,c);b={getEscalationChannelAvailabilityInformation:a.getEscalationChannelAvailabilityInformation.bind(a),getContactType:a.getContactType.bind(a),submitForm:a.submitForm.bind(a),getFields:a.xT.bind(a),getVisibleFields:a.yT.bind(a),getSubjectFieldId:a.getSubjectFieldId.bind(a),getBodyFieldId:a.getBodyFieldId.bind(a),getFieldValues:a.getFieldValues.bind(a),getChatPoolId:a.getChatPoolId.bind(a),getChatSupportRequestId:a.getChatSupportRequestId.bind(a), setScreenshotter:a.setScreenshotter.bind(a),setGcmRegistrationId:a.setGcmRegistrationId.bind(a),getProductSpecificData:a.getProductSpecificData.bind(a),setProductSpecificData:a.setProductSpecificData.bind(a),setValidateOnly:a.setValidateOnly.bind(a),listen:a.listen.bind(a),unlisten:a.unlisten.bind(a),getInternalHelpcenterName:a.getInternalHelpcenterName.bind(a),setReenableOnValidated:function(){}, getCaseId:a.getCaseId.bind(a),getScFrdValues:a.getScFrdValues.bind(a),setScFrdValue:a.setScFrdValue.bind(a),addScFrdValue:a.addScFrdValue.bind(a),getHcfNameScFrdValueMap:a.getHcfNameScFrdValueMap.bind(a),setHcfNameScFrdValueMap:a.setHcfNameScFrdValueMap.bind(a),setSelectedSymptomFrdValues:a.setSelectedSymptomFrdValues.bind(a),setParentCaseName:a.setParentCaseName.bind(a),setSubmissionChannel:a.setSubmissionChannel.bind(a),shouldSubmitToCasesV2:a.shouldSubmitToCasesV2.bind(a),addCasesAttachment:a.addCasesAttachment.bind(a), setChatType:function(){}, getChatAvailability:a.getChatAvailability.bind(a),getRedwoodId:a.getRedwoodId.bind(a),prepopulateFields:a.prepopulateFields.bind(a),prefillFieldsFromSession:a.prefillFieldsFromSession.bind(a),setAssistiveQuestionAnswers:a.setAssistiveQuestionAnswers.bind(a),getId:a.getId.bind(a),getServiceVrgTaxonomyId:a.getServiceVrgTaxonomyId.bind(a),getServiceVrgTaxonomyView:a.getServiceVrgTaxonomyView.bind(a),setSupportJourneyId:a.setSupportJourneyId.bind(a),getInjectedScFrdValues:a.getInjectedScFrdValues.bind(a), setInjectedScFrdValue:a.setInjectedScFrdValue.bind(a),getInjectedFrdValuesEventId:a.getInjectedFrdValuesEventId.bind(a),setIncludesTargetSelector:a.setIncludesTargetSelector.bind(a),setTargetVerified:a.setTargetVerified.bind(a),getStatusMessage:a.getStatusMessage.bind(a),setErrorMessage:a.setErrorMessage.bind(a),getHelpCenterFieldFrds:a.getHelpCenterFieldFrds.bind(a),setHelpCenterFieldFrd:a.setHelpCenterFieldFrd.bind(a),setDynamicQuestionAnswers:a.setDynamicQuestionAnswers.bind(a),getDynamicQuestionAnswers:a.getDynamicQuestionAnswers.bind(a), getHasCheckedForDynamicRecommendation:a.getHasCheckedForDynamicRecommendation.bind(a),setHasCheckedForDynamicRecommendation:a.setHasCheckedForDynamicRecommendation.bind(a),getHasCheckedForDuplicateCases:a.getHasCheckedForDuplicateCases.bind(a),setHasCheckedForDuplicateCases:a.setHasCheckedForDuplicateCases.bind(a),getHasCheckedForDynamicQuestions:a.getHasCheckedForDynamicQuestions.bind(a),setHasCheckedForDynamicQuestions:a.setHasCheckedForDynamicQuestions.bind(a),getShouldShowNextStep:a.getShouldShowNextStep.bind(a), setShouldShowNextStep:a.setShouldShowNextStep.bind(a),submitCustomerFollowUp:a.submitCustomerFollowUp.bind(a),wrapUpCaseUpdate:a.wrapUpCaseUpdate.bind(a)};return a.jr=b};function Hfb(){var a,b;return typeof((a=navigator)==null?void 0:(b=a.mediaDevices)==null?void 0:b.getDisplayMedia)==="function"} ;function $3(a,b){var c,e;(e=(c=window).sc_trackStatsEvent)==null||e.call(c,a,b,A().pid)} ;function a4(a){E.call(this,"sc.forms.Screenshare");this.o=null;this.ma=!1;this.params=a} v(a4,E);a4.prototype.content=function(a){var b=this;a&&(this.params=a);this.element("div","class","screenshare",function(){b.o=b.element("video","autoplay",!0,"class","screenshare-video");b.ma&&b.element("div","class","screenshare-floating-message",function(){(new Wu({ariaLabel:"You can scroll around",text:"You can scroll around",icon:"gm/swap_vert",selected:!1})).render()}); b.params.stream&&(b.o.srcObject=b.params.stream,b.ma||Ifb(b))})}; function Ifb(a){Qa(function(b){if(b.o==1){if(!a.params.fh||!a.o)return b.Pa(0);b.va(3);return b.yield(a.params.fh.forwardWheel(a.o),5)}if(b.o!=3){a.ma=!0;a.params.rI(a.ma);var c,e;(e=(c=window).sc_trackStatsImpressions)==null||e.call(c,[{type:309,id:A().pid}],!0);$3(309,10);a.Ja();return b.ya(0)}b.ua();b.oa()})} function Jfb(a){var b,c,e;return Qa(function(f){if(!a.o)return f.return(Promise.resolve(new Blob([],{type:"image/png"})));b=a.o;c=document.createElement("canvas");c.width=b.videoWidth;c.height=b.videoHeight;e=c.getContext("2d");e.drawImage(b,0,0,c.width,c.height);return f.return(new Promise(function(h){c.toBlob(function(k){k?h(k):h(new Blob([],{type:"image/png"}))},"image/png")}))})} a4.prototype.gN=function(){return this.ma};function b4(a){E.call(this,"sc.forms.ScreenshareControllers");this.params=a;this.ma=new cp({text:"Change tab",ariaLabel:"Change tab",style:3,icon:"gm/swap_horiz",Tg:24,trigger:function(){$3(309,56);a.vS()}}); this.o=new cp({text:"Capture screenshot",ariaLabel:"Capture screenshot",style:4,icon:"gm/screenshot_monitor",Tg:24,trigger:function(){$3(309,46);a.mp()}})} v(b4,E);function Kfb(a,b,c){a=a.element("span","class","screenshare-footer-learn-more","role","button","tabindex","0","onkeydown",function(e){if(e.key==="Enter"||e.key===" "){var f;(f=e.target)==null||f.click();e.preventDefault()}},"Learn more"); (new Rt({trigger:a,text:b,Tk:4,wl:"35rem",ju:c,Ul:!1})).render()} function Lfb(a){a.element("div","class","screenshare-footer-scroll-info",function(){var b=a.params.gN,c="",e="",f=-150;a.params.fh?b||(c="Scroll may be disabled.",e=" How to enable scrolling
  1. Click the Tune icon in the address bar
  2. Go to Shared tabs
  3. Turn on Scrolling & zooming
  4. Reload this page
",f=-170):(c="Scrolling may be unavailable.",e=" To capture the right area of the page:
  1. Go to the shared tab
  2. Scroll to the area of concern
  3. Come back to this page to capture the screenshot
"); c&&(a.element("span",c),e&&Kfb(a,e,f))})} b4.prototype.content=function(){var a=this;this.element("div","class","screenshare-footer",function(){Lfb(a);a.element("div","class","screenshare-footer-buttons",function(){a.ma.render();a.o.render()})})};function c4(a){E.call(this,"sc.forms.ScreenshotEdit");var b=this;this.oa=!1;this.Rk=this.ma=0;this.scaleY=this.scaleX=1;this.ua=[];this.va=function(c){if(b.params.Uf!=="NONE"){b.oa=!0;var e=b.canvas,f=e.getBoundingClientRect();b.scaleX=e.width/f.width;b.scaleY=e.height/f.height;b.ma=(c.clientX-f.left)*b.scaleX;b.Rk=(c.clientY-f.top)*b.scaleY;var h;(h=b.canvas)==null||h.addEventListener("mousemove",b.ya);var k;(k=b.canvas)==null||k.addEventListener("mouseup",b.Ba)}}; this.ya=function(c){if(b.oa){var e=b.canvas.getBoundingClientRect(),f=(c.clientX-e.left)*b.scaleX,h=(c.clientY-e.top)*b.scaleY;d4(b);b.o=b.o;c=Math.min(b.ma,f);e=Math.min(b.Rk,h);f=Math.abs(b.ma-f);h=Math.abs(b.Rk-h);var k=b.params.Uf;k==="HIGHLIGHT"?Mfb(b,c,e,f,h):k==="HIDE"&&(b.o=b.o,b.o.fillStyle="rgba(0, 0, 0, 1)",b.o.fillRect(c,e,f,h))}}; this.Ba=function(c){if(b.oa){b.oa=!1;var e=b.canvas.getBoundingClientRect(),f=(c.clientX-e.left)*b.scaleX,h=(c.clientY-e.top)*b.scaleY;c=Math.min(b.ma,f);e=Math.min(b.Rk,h);f=Math.abs(b.ma-f);h=Math.abs(b.Rk-h);(f>0||h>0)&&b.ua.push({x:c,y:e,width:f,height:h,mode:b.params.Uf});var k;(k=b.canvas)==null||k.removeEventListener("mousemove",b.ya);var l;(l=b.canvas)==null||l.removeEventListener("mouseup",b.Ba);d4(b)}}; this.params=a} v(c4,E);c4.prototype.content=function(a){var b=this;a&&(this.params=a);this.element("div","class","root",function(){b.canvas=b.element("canvas","class","screenshot-image");b.o=b.canvas.getContext("2d");b.canvas.addEventListener("mousedown",b.va);Nfb(b)})}; c4.prototype.onDetach=function(){var a;(a=this.canvas)==null||a.removeEventListener("mousedown",this.va);this.ua=[]}; function Nfb(a){a.canvas=a.canvas;var b=Rl(a.params.Zi),c=new Image;c.onload=function(){a.canvas=a.canvas;a.canvas.width=c.width;a.canvas.height=c.height;a.Ea=c;d4(a)}; c.src=b.toString()} function d4(a){if(a.canvas&&a.o&&a.Ea){var b=a.canvas;a.o=a.o;a.o.clearRect(0,0,b.width,b.height);a.o.drawImage(a.Ea,0,0);b=x(a.ua);var c=b.next(),e;try{for(;!c.done;c=b.next()){var f=c.value,h=a,k=f.x,l=f.y,p=f.width,r=f.height,t=f.mode;if(t==="HIGHLIGHT")Mfb(h,k,l,p,r);else if(t==="HIDE"){var u=k,w=l,y=p,la=r;h.o=h.o;h.o.fillStyle="rgba(0, 0, 0, 1)";h.o.fillRect(u,w,y,la)}}}finally{c&&!c.done&&(e=b.return)&&e.call(b)}}} function Mfb(a,b,c,e,f){a.o=a.o;a.o.strokeStyle="rgb(255, 187, 41)";a.o.lineWidth=4;a.o.strokeRect(b,c,e,f)} function Ofb(a){return Qa(function(b){return a.ua.length!==0&&a.canvas?b.return(new Promise(function(c){a.canvas.toBlob(function(e){c(e)})})):b.return(Promise.resolve(a.params.Zi))})} ;function e4(a){E.call(this,"sc.forms.ScreenshotEditControllers");this.ma=new cp({text:"Cancel",ariaLabel:"Cancel",trigger:function(){$3(311,59);a.cD()}, style:3,Pe:"material-pill",Cd:"px"});this.o=new cp({text:"Done",ariaLabel:"Done",trigger:function(){$3(311,60);var b;(b=a.iI)==null||b.call(a)}, style:4,Pe:"material-pill",Cd:"px"});this.params=a} v(e4,E);function Pfb(a){return new Wu({ariaLabel:"Highlight",text:"Highlight",icon:"gm/highlight_alt",selected:a.params.Uf==="HIGHLIGHT",trigger:function(){$3(311,58);a.params.Fm("HIGHLIGHT")}})} function Qfb(a){return new Wu({ariaLabel:"Hide",text:"Hide",icon:"gm/featured_video",selected:a.params.Uf==="HIDE",trigger:function(){$3(311,5);a.params.Fm("HIDE")}})} e4.prototype.content=function(){var a=this;this.element("div","class","root",function(){a.element("div","class","edit-control-buttons","aria-live","off",function(){Pfb(a).render();Qfb(a).render()}); a.element("div","class","modal-control-buttons",function(){a.ma.render();a.o.render()})})};function f4(a){E.call(this,"sc.forms.ScreenshotPreview");this.o=null;this.params=a;this.o=Rl(a.Zi).toString();this.ma=Rfb(this)} v(f4,E);function Rfb(a){return new Wu({text:"Highlight or hide content",ariaLabel:"Highlight or hide content",style:0,type:1,icon:"gm/edit",trigger:function(){$3(310,24);a.params.WD()}, DA:!0})} f4.prototype.focus=function(){this.ma.focus()}; f4.prototype.onDetach=function(){this.o&&(URL.revokeObjectURL(this.o),this.o=null)}; f4.prototype.content=function(){var a=this;this.element("div","class","root",function(){a.element("img","class","screenshot-image","src",a.o,"alt","Captured screenshot");a.element("div","class","edit-button-container",function(){a.ma.render()})}); requestAnimationFrame(function(){return void a.focus()})};function g4(a){E.call(this,"sc.forms.ScreenshotPreviewControllers");this.ma=new cp({text:"Capture again",ariaLabel:"Capture again",icon:"gm/restart_alt",Tg:20,style:3,trigger:function(){$3(310,56);a.dD()}}); this.o=new cp({text:"Attach screenshot",ariaLabel:"Attach screenshot",icon:"gm/attach_file_add",Tg:20,style:4,trigger:function(){$3(310,57);a.jp()}})} v(g4,E);g4.prototype.content=function(){var a=this;this.element("div","class","root",function(){a.ma.render();a.o.render()})};function h4(a){E.call(this,"sc.forms.ScreenshotCaptureDialog");var b=this;this.ma=0;this.stream=null;this.page="SCREENSHARE";this.Zi=new Blob;this.Uf="NONE";this.va=new c4({Zi:this.Zi,Uf:this.Uf});this.oa=null;this.o=!1;this.ua=new a4({stream:this.stream,fh:this.fh,rI:function(c){b.o=c;b.Ja()}}); this.params=a;this.dialog=new $u({content:function(){b.element("div","class","screenshot-capture-dialog",function(){Sfb(b)})}, Bi:{"background-color":"rgba(0,0,0,.3)"},Bp:!1,Ap:!1,ariaLabel:Tfb(this)})} v(h4,E);function Tfb(a){switch(a.page){case "SCREENSHARE":return"Learn how we manage your data";case "SCREENSHOT_PREVIEW":return"Confirm screenshot";case "SCREENSHOT_EDIT":return"Highlight or hide information on the screenshot";default:return""}} function Sfb(a){(new Xu).render({content:function(){a.element("div","class","screenshot-capture-dialog-content",function(){Ufb(a);Vfb(a);Wfb(a)})}})} function Xfb(a){a.element("div","class","screenshot-capture-dialog-title","role","heading",function(){switch(a.page){case "SCREENSHARE":(new Zo({icon:"gm/privacy_tip",size:24})).render();a.element("span","class","data-management-link","role","link","tabindex","0","onclick",function(b){am(window,Ql("https://policies.google.com/privacy"),"_blank");b.preventDefault()},"onkeydown",function(b){b.key==="Enter"&&(am(window,Ql("https://policies.google.com/privacy"),"_blank"),b.preventDefault())},"Learn how we manage your data"); break;case "SCREENSHOT_PREVIEW":a.element("span","Confirm screenshot");break;case "SCREENSHOT_EDIT":a.element("span","Highlight or hide information on the screenshot")}})} function Ufb(a){a.element("div","class","screenshot-capture-dialog-content-header",function(){Xfb(a);Yfb(a)})} function Yfb(a){a.element("button","class","dialog-close-button","type","button","aria-label","Close","onclick",function(){a.close()},function(){(new Zo({icon:"gm/close", size:24,Ye:["close-icon"]})).render()})} function Vfb(a){a.oa=a.element("div","class","screenshot-capture-dialog-content-body",function(){switch(a.page){case "SCREENSHARE":a.ua.render({stream:a.stream,fh:a.fh,rI:function(b){a.o=b;a.Ja()}}); break;case "SCREENSHOT_PREVIEW":(new f4({Zi:a.Zi,WD:function(){a.WD()}})).render(); break;case "SCREENSHOT_EDIT":a.va.render({Zi:a.Zi,Uf:a.Uf})}})} function Wfb(a){a.element("div","class","screenshot-capture-dialog-footer",function(){switch(a.page){case "SCREENSHARE":(new b4({vS:function(){a.close();a.params.mp()}, mp:function(){Zfb(a)}, gN:a.o,fh:a.fh})).render();break;case "SCREENSHOT_PREVIEW":(new g4({dD:function(){a.dD()}, jp:function(){a.jp()}})).render(); break;case "SCREENSHOT_EDIT":(new e4({cD:function(){a.cD()}, Fm:function(b){a.Fm(b)}, Uf:a.Uf,iI:function(){a.iI()}})).render()}})} function Zfb(a){Qa(function(b){if(b.o==1)return a.oa.classList.add("flash"),setTimeout(function(){a.oa.classList.remove("flash")},750),b.yield(Jfb(a.ua),2); a.Zi=b.ma;a.page="SCREENSHOT_PREVIEW";a.Uf="NONE";$fb(a);a.Ja();b.oa()})} n=h4.prototype;n.cD=function(){this.Uf="NONE";this.setPage("SCREENSHOT_PREVIEW")}; n.setPage=function(a){this.page!==a&&(this.page=a,this.Ja())}; n.dD=function(){this.close();this.params.mp()}; n.WD=function(){this.Uf="NONE";this.setPage("SCREENSHOT_EDIT")}; n.Fm=function(a){this.Uf!==a&&(this.Uf=a,this.Ja())}; n.content=function(){var a=this;this.element("div","class","root",function(){a.dialog.cj(Tfb(a));a.dialog.render()})}; n.open=function(a,b){var c=this;this.page="SCREENSHARE";this.fh=b;this.stream=a;this.ua=new a4({stream:a,fh:b,rI:function(e){c.o=e;c.Ja()}}); this.dialog.open();this.ma=window.pageYOffset;document.body.style.top=-this.ma+"px";document.body.style.width=document.body.clientWidth+"px";document.body.style.position="fixed";agb(this)}; n.close=function(){this.page==="SCREENSHARE"&&$fb(this);document.body.style.position="";document.body.style.width="";document.body.style.top="";window.scroll(0,this.ma);this.dialog.close();this.dialog.Ua()}; function $fb(a){if(a.stream){a=x(a.stream.getTracks());var b=a.next(),c;try{for(;!b.done;b=a.next())b.value.stop()}finally{b&&!b.done&&(c=a.return)&&c.call(a)}}} function agb(a){if(a.stream){var b=a.stream.getTracks()[0],c=function(){a.page==="SCREENSHARE"&&a.close();b.removeEventListener("ended",c)}; b.addEventListener("ended",c)}} n.iI=function(){var a=this;return Qa(function(b){if(b.o==1)return b.yield(Ofb(a.va),2);a.Zi=b.ma;a.page="SCREENSHOT_PREVIEW";a.Uf="NONE";a.Ja();b.oa()})}; n.jp=function(){this.params.jp(this.Zi)};function i4(a){E.call(this,"sc.forms.ScreenshotCapture");var b=this;this.Yf="scFormsScreenshotcapturescreenshot-capture-button-tooltip";this.ma=new h4({mp:this.mp.bind(this),jp:this.jp.bind(this)});this.params=a;this.ua=new cp({icon:"gm/add",text:this.params.allowMultipleFiles?"Choose files":"Choose file",ariaLabel:this.params.allowMultipleFiles?"Choose files":"Choose file",style:3,Tg:24,trigger:function(){$3(307,52);var c;(c=b.o)==null||c.click()}}); this.oa=new cp({icon:"gm/screenshot_monitor",Tg:24,text:"Capture screenshot",ariaLabel:"Capture screenshot. You will be asked to share your screen.",style:4,trigger:function(){$3(306,52);b.mp()}}); this.attachments=new vG({fg:this.params.fg,allowMultipleFiles:this.params.allowMultipleFiles,formId:this.params.formId,XA:function(c){bgb(b,c)}, WA:function(c){bgb(b,c)}})} v(i4,E);i4.prototype.content=function(){var a=this;this.element("div","class","root",function(){a.attachments.render();cgb(a);dgb(a);Hfb()&&egb(a);a.ma.render()})}; function dgb(a){a.element("div","class","screenshot-capture-button-container",function(){if(Hfb()){var b=fgb(a);(new Rt({text:"You will be asked to share your screen.",trigger:b,Yf:a.Yf})).render()}ggb(a)})} function fgb(a){return a.element("label","class","screenshot-capture-button-wrapper",function(){a.oa.render()})} function ggb(a){a.element("label","class","upload-label","for",a.params.id,function(){a.ua.render()})} function egb(a){a.element("div","class","callout-container",function(){(new Su({type:Ru,message:"For the fastest resolution, click Capture screenshot. If you upload a file, make sure the image shows the entire screen rather than cropping it. Details like your account ID, date ranges, and page URLs are important for support specialists to review.",position:"component",icon:"gm/info"})).render()})} i4.prototype.mp=function(){var a=this,b,c;return Qa(function(e){if(e.o==1){e.va(2);var f=e.yield,h=navigator.mediaDevices,k=h.getDisplayMedia;if("CaptureController"in window&&typeof window.CaptureController==="function"){a.fh=new window.CaptureController;a.fh.setFocusBehavior("no-focus-change");var l={video:{displaySurface:"browser"},audio:!1,controller:a.fh}}else l={video:{displaySurface:"browser"},audio:!1};return f.call(e,k.call(h,l),4)}if(e.o!=2)return b=e.ma,$3(306,10),a.ma.open(b,a.fh),e.ya(0); c=e.ua();c instanceof DOMException&&c.name==="NotAllowedError"?$3(306,11):$3(306,21);e.oa()})}; i4.prototype.jp=function(a){var b=this,c,e,f;return Qa(function(h){c=(new Date).toISOString().replace(/[^0-9]/g,"");e="screenshot_"+c+".png";f=new File([a],e,{type:a.type});b.attachments.addAttachments([f]);igb(b,f);b.ma.close();$3(306,57);b.Ja();h.oa()})}; i4.prototype.getValues=function(){var a=wG(this.attachments),b=[];a=x(a);var c=a.next(),e;try{for(;!c.done;c=a.next()){var f=c.value;b.push({name:this.params.id,value:"There was a file uploaded for this field."},{name:"upload_original_filename",value:f.filename},{name:"upload_cns_filename",value:f.kf},{name:"upload_document_id",value:f.documentId})}}finally{c&&!c.done&&(e=a.return)&&e.call(a)}return b}; function cgb(a){var b=["type","file","id",a.params.id,"name",a.params.id,"class","screenshot-capture-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.o&&(a.o.value="");if(c.length){a.attachments.addAttachments(c);var e=x(c),f=e.next(),h;try{for(;!f.done;f=e.next())igb(a,f.value)}finally{f&&!f.done&&(h=e.return)&&h.call(e)}$3(307,57)}a.Ja();c.length&&qDa(a.attachments)}}].concat(Ca(a.params.allowMultipleFiles?["multiple", "1"]:[]));a.o=a.element.apply(a,["input"].concat(Ca(b)))} function igb(a,b){a.o&&Ns(a.o,"uploadstart",{detail:b})} function bgb(a,b){a.o&&Ns(a.o,"uploadend",{detail:b})} ;
false
false
false
true
true
true
true
true
true
false
true
true
true
false
16558818
false
false
false
false