Google Brand Permissions – Submit a Request

Please use this form to request permission to use the Google logo, or a Google product. Please make sure you have reviewed our guidelines before submitting your request.

 

Please note before proceeding:

  • To use the YouTube brand, please use the YouTube form instead.
  • To use the Waze brand, please use the Waze form instead.
  • For marketing assets and retail marketing with other brands (e.g. Android, Google Assistant, Google Nest, Google Pay, Google Play, Google Pixel), please use the Partner Marketing Hub form instead.

* Required field

Your request

Please select the most prominent brand represented in your project. If you require review of multiple Google brands, please list the additional brands in the comment area below. Please do not submit additional requests for each individual brand. 
Is your usage strictly non-commercial? Then you may not need to fill out this form. Please review our Geo Guidelines page for non-commercial use, especially in regards to Attribution. As long as you follow these guidelines, feel free to move forward with your project.
Check all that apply.
If you are launching an asset in multiple regions, please select “Global”
Are you promoting Google Automotive Services?

Entertainment request

Please add the name of the studio or agency responsible for the production.
Please provide the postal address of your company.

Contact information

You're currently signed in as
If this isn't the account associated with your issue, please switch accounts.
Please enter your full name
If you would like anyone else CC'ed on our response, please add a comma-separated list of email addresses here. Please do not use spaces.
Please enter a valid email address
Please provide the name of the company you work for.
Please only fill this out if you are requesting permission to use one of our Google brands in your client's campaign. If you are requesting permission to use this in your own agency's marketing, please leave blank.
Please be patient as we have many requests. It can take up to 2 weeks for us to review and respond to your request.
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
Search
Clear search
Close search
Google apps
Main menu
7211928284942985601
true
Search Help Center
false
true
true
true
true
true
102095

'; var e=Al(a);a=ll("data:text/html;charset=UTF-8;base64,"+btoa(e.toString()));b||(c.srcdoc=Cl(e))}else{if(b)throw Error("IFRAME_SANDBOX_URL is not supported with disableSandbox");a=new Map([["nonce",a]]);var f=ml(Fbb).toString();var h=f.split(/[?#]/);e=/[?]/.test(f)?"?"+h[1]:"";b=h[0];f=/[#]/.test(f)?"#"+(e?h[2]:h[1]):"";a=Aab(b,e,f,a)}c.src=ml(a).toString();c.style.cssText="border: 0; height: 0; left: 0; position: absolute; top: 0; width: 0;";c.setAttribute("aria-hidden","true");return c} ;var O1={dY:!1,vK:!1},P1;function Q1(a){this.options=a=a===void 0?O1:a;if(!Kbb(this.options)&&typeof navigator.msSaveOrOpenBlob!=="function"){var b;this.sandbox=new N1({oE:(b=this.options.vK)!=null?b:!1})}} Q1.download=function(a,b,c,e){c=c===void 0?"":c;e=e===void 0?O1:e;return La(function(f){if(f.o==1)return f.yield(Lbb(a,b,c,e),2);if(f.ma)return f.return();P1||(P1=new Q1,P1.init());return f.yield(Mbb(P1,a,b,c),0)})}; Q1.prototype.init=function(){var a=this;return La(function(b){return a.sandbox==null?b.return():b.yield(a.sandbox.load(),0)})}; Q1.prototype.download=function(a,b,c){c=c===void 0?"":c;var e=this;return La(function(f){return f.o==1?f.yield(Lbb(a,b,c,e.options),2):f.ma?f.return():f.yield(Mbb(e,a,b,c),0)})}; function Mbb(a,b,c,e){e=e===void 0?"":e;var f,h,k;return La(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(R1(),3);case 3:return l.return();case 2:if(!Jb()||Caa(zab(),16)>=0||!Db()&&(!wb("iPad")&&!wb("iPhone")||Bb()||Db()||(xb()?0:wb("Coast"))||Ab()||!wb("AppleWebKit"))){l.Pa(4);break}h=new FileReader;h.onload=function(){var p=yn("A"),r=vl(String(h.result)); yl(p,r);p.download=c;p.click()}; h.readAsDataURL(f);return l.yield(R1(),5);case 5:return l.return();case 4:return a.sandbox==null&&(a.sandbox=new N1({oE:(k=a.options.vK)!=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(R1(),0)}})} function Lbb(a,b,c,e){c=c===void 0?"":c;e=e===void 0?O1:e;var f;return La(function(h){switch(h.o){case 1:if(!Kbb(e))return h.return(!1);h.ua(2);return h.yield(Nbb(a,b,c),4);case 4:h.ya(3);break;case 2:f=h.qa();if(f instanceof DOMException&&f.name==="SecurityError")return h.return(!1);throw f;case 3:return h.return(!0)}})} function Kbb(a){a=a===void 0?O1:a;return a.dY&&!!window.showSaveFilePicker} function Nbb(a,b,c){c=c===void 0?"":c;var e,f,h,k;return La(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 v={};r.types=[{description:"*"+t,accept:(v[/^\s*[a-zA-Z0-9+._-]+\/[a-zA-Z0-9+._-]+?\s*$/.test(p)?p:"*/*"]=[t],v)}]}e=r;l.ua(2);return l.yield(window.showSaveFilePicker(e),4);case 4:f=l.ma;l.ya(3);break;case 2:h=l.qa();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.Qa(6),l.yield(k.write(a),6);case 6:return l.va(),l.yield(k.close(),9);case 9:l.Ba(7);break;case 7:return l.return()}})} Q1.prototype.dispose=function(){this.sandbox!=null&&this.sandbox.dispose()}; function R1(){return new Promise(function(a){setTimeout(a,500)})} cb("SafeDownloader",Q1);var Obb=[8000001,8000086,8000063,8000975,8000976,8000087,8000088],Pbb=["CHECKBOX","RADIOBUTTON","DROPDOWN"]; function Qbb(a,b,c){var e=this;this.element=a;this.model=b;this.flags=c;this.validateOnly=qm("validate_only")==="true";this.page=1;this.fields=[];this.Sc=[];this.Da=new Map;this.bubbles=[];this.Ra=[];this.caseId=null;this.Ja=new Map;this.dk=new Map;this.c2c=null;this.listeners=[];this.Ie=0;this.Xa=!0;this.ma=null;this.va=this.hf=this.Gb=!1;this.Ha=this.Va=this.recaptcha=null;this.Dk=[];this.gcmRegistrationId="";this.productSpecificData={};this.ua=[];this.oa=[];this.Ma=[];this.Wd="";this.ud=[];this.Ab= [];this.parentCaseName="";this.ai=[];this.Tc=!1;this.kd=[];this.Ba=[];this.targetVerified=this.ld=!1;this.qa=[];this.chatPoolId="";this.vc=this.og=this.ya=this.Ka=!1;this.rb=this.o=null;this.Qa=27;this.zk=new Set;this.vk=this.model.show_recaptcha;this.Wf=this.querySelector(".form-screenshot");this.nw=new Map;this.submissionChannel=0;this.Sa=new gF("HelpcenterFields/Form");this.submitId=mm;this.dispatchEvent("startinginitialization");a=this.querySelectorAll(".field");for(b=0;b0&&v.parents.push(la)}}}); T1(this);this.dispatchEvent("fieldsinitialized");this.vk&&Tbb(this);window.sc_createSpinner&&(this.ma=window.sc_createSpinner("small"),nm(this.ma.getElement(),"submit-spin",!0));U1(this,!1);Ubb(this);Vbb(this);Wbb(this);V1(this,!0);this.prepopulateFields();this.prefillFieldsFromSession();this.element.addEventListener("submit",function(v){v.preventDefault();e.submitForm()}); this.element.addEventListener("input",function(){e.dispatchEvent("inputchange");e.ya=!1;e.vc=!1}); this.model.c2c_configured&&(this.c2c=(0,window.sc_initFormClickToCall)(this));this.model.is_chat_form&&!this.shouldSubmitToCasesV2()&&W1(this);Xbb(this);this.dispatchEvent("validatorinitialized");this.dispatchEvent("initializationcomplete");X1(20);if(a=this.element.getAttribute("data-form-sc-frd-values"))for(a=w(JSON.parse(a)),b=a.next();!b.done;b=a.next())b=new cr(new kk(b.value)),this.ud.push(gr(b)),this.oa.push(qP(b));a=w(this.fields);for(b=a.next();!b.done;b=a.next())if(b=b.value,c=b.getFrdIdentifier())this.Sc.push(b), (f=this.Da.get(c))?f.push(b):this.Da.set(c,[b]);Ybb(this,this.element.getAttribute("data-helpcenter-frd-fields-confg"));Zbb(this);$bb(this);acb(this);bcb(this);ccb(this)} function bcb(a){var b=document.querySelector(".contact-form-suggestions-panel-container");b&&(ww.initialize(b,void 0),Pqa(document),ww.zi=function(c,e){return a.zi(c,e)},xw(),xSa(a.getRedwoodId()),b=function(){vw()},a.element.addEventListener("input",b),a.element.addEventListener("change",b),setTimeout(b,0),b=function(){yw()},a.listen("nextpage",b),a.listen("highcontextchannelrecommendationfound",b),a.listen("submitstart",function(){ww.submitForm(); yw()}))} function ccb(a){if(Y1(a)&&!z().is_render_api){var b=a.querySelector(".submit-button");b&&(b.textContent=a.model.strings.NEXT);a.listen("dynamicrecommendationfound",a.ZU.bind(a));a.listen("error",function(){a.ua.length>0||a.Mv()}); a.listen("invalidated",function(){a.ua.length>0||a.Mv()}); a.listen("submitend",function(){a.Mv()}); (b=document.querySelector(".collapsed-form-container__header"))&&b.addEventListener("click",a.Mv.bind(a))}} function dcb(){return{iL:document.querySelector(".form-suggestions-wrapper"),kK:document.querySelector(".collapsed-form-container"),EK:document.querySelector(".contact-form-dynamic-recommendations-container")}} n=Qbb.prototype;n.Mv=function(){var a=dcb(),b=a.iL,c=a.kK;a=a.EK;b&&c&&a&&(nm(c,"hidden",!0),nm(a,"hidden",!0),nm(b,"hidden",!1),this.setShouldShowNextStep(!0))}; n.ZU=function(){var a=dcb(),b=a.iL,c=a.kK;a=a.EK;b&&c&&a&&(nm(c,"hidden",!1),nm(a,"hidden",!1),nm(b,"hidden",!0),this.setShouldShowNextStep(!1),this.ya||yqa(a,this.getFieldValues(),this.Mq))}; n.querySelector=function(a){return this.element.querySelector(a)}; function Z1(a,b){return a.element.querySelector(b)} n.querySelectorAll=function(a){return this.element.querySelectorAll(a)}; function S1(a,b){for(var c=0;c=a.model.total_pages;nm(a.Wf,"hidden",!b);b?a.Ha.activate():a.Ha.deactivate()}} function U1(a,b){var c=a.page>=a.model.total_pages,e=a.querySelector(".submit-button");e&&(nm(e,"hidden",!c),e.disabled=!a.Xa||b);if(a.va){var f=$1(a)?".high-context-channel-recommendation__recaptcha":".recaptcha";nm(a.querySelector(f),"hidden",!c)}if(f=a.querySelector(".previous-button"))nm(f,"hidden",a.page===1),f.disabled=b;if(f=a.querySelector(".next-button"))nm(f,"hidden",a.page===a.model.total_pages),f.disabled=!a.Xa||b;if(a.ma){b?a.ma.show():a.ma.hide();var h=a.ma.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"))&&nm(c,"hidden",!b);a2(a,b)} function $1(a){return!pm(a.querySelector(".high-context-channel-recommendation__container"),"hidden")} function Ubb(a){var b=a.querySelector(".submit-button");b&&(!z().li&&a.model.is_chat_form?(b.disabled=!0,Z1(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(){ecb(a,a.page-1)&&(a.dispatchEvent("previouspage"),X1(7))}); (b=a.querySelector(".next-button"))&&b.addEventListener("click",a.submitForm.bind(a))} function acb(a){if(pbb()&&!a.model.logged_in){X1(4,304);var b=a.element.querySelector(".need-info-authentication-prompt__container");a=a.element.querySelector(".confirmation-message__authentication-prompt-container");b&&nm(b,"hidden",!1);a&&nm(a,"hidden",!1)}} function $bb(a){if(pbb()&&a.model.logged_in&&!z().is_render_api){for(var b=[],c=w(Obb),e=c.next();!e.done;e=c.next())(e=a.Da.get(e.value))&&b.push.apply(b,za(e));b=w(b);c=b.next();for(e={};!c.done;e={Du:void 0,xw:void 0,qF:void 0,targetIdAuthorizationWarning:void 0},c=b.next())e.Du=c.value,e.qF=e.Du.getFrdIdentifier(),e.qF&&(e.xw=e.Du.querySelector(".text-input-container"),e.targetIdAuthorizationWarning=e.Du.querySelector(".target-id-authorization-warning"),e.Du.getElement().addEventListener("focusout", function(f){return function(){var h,k,l,p;return La(function(r){switch(r.o){case 1:h=f.Du.getValues()[0].value;if(!h)return r.return();f.xw&&nm(f.xw,"text-input-spin",!0);r.ua(2,3);return r.yield(fcb(a,f.qF,h),5);case 5:k=r.ma;if(df(k,L1,1,Fe()).length===0)return r.return();l=df(k,L1,1,Fe())[0];p=pf(l,2);nm(f.targetIdAuthorizationWarning,"hidden",p);X1(p?4:5,305);case 3:r.va();f.xw&&nm(f.xw,"text-input-spin",!1);r.Ba(0);break;case 2:r.qa(),nm(f.targetIdAuthorizationWarning,"hidden",!0),X1(5,305), r.Pa(3)}})}}(e)))}} function Vbb(a){a=a.element.getElementsByTagName("textarea");for(var b=0;b0&&x.getValues()[0].value!==""&&!Pbb.includes(x.getType())&&x.getType()!=="HIDDEN";if(!E||!a.zk.has(E)&&!la){k=[];var ta=nf(v,2);ta?k=[ta]:df(v,Ij,3,Fe()).length>0&&(k=[].concat(za(gcb(df(v,Ij,3,Fe())[0]))));k.length>0&&(h++,$ab(x,k)&&e++)}}}if(e>0){var wa=document.querySelector(".prefilled-callout");wa&&nm(wa,"hidden", !1)}hcb(e,h)}else hcb(0,0);a.Ab=[];var Ba,Ha=(Ba=bf(f,F1,2))==null?void 0:Me(Ba,2,Ij,yP);if(Ha)for(var Pa=w(Ha.values()),Ra=Pa.next();!Ra.done;Ra=Pa.next()){var Ya=Ra.value,hb=mk(new kk,Ya),ub=new cr(hb);Ya.eA()||ub.Yc(15);a.Ab.push(qP(ub))}}catch(Ib){console.error("Failed to parse FormsGetPrefillDataResponse",Ib)}finally{V1(a,!1)}}, od:function(e){window.sc_trackStatsEvent(313,21,"getprefilldata: "+e.statusText);console.error("getprefilldata endpoint returned an error",e);V1(a,!1)}, Ul:!0})}else V1(this,!1)}else V1(this,!1)}; function hcb(a,b){var c="no_prefill";b>0&&(c=a===b?"full_prefill":"partial_prefill");window.sc_trackStatsEvent(313,15,c+": prefilled_count:"+(a+"_total_potential_count:"+b))} function gcb(a){return(a=Lj(a))?ye(a,zj,8,Jf)?Aj(Cj(a)):ye(a,uj,2,Jf)?vj(a.Yg()).map(function(b){return""+b}):ye(a,zj,3,Jf)?Aj(a.Vj()):ye(a,sj,4,Jf)?tj(Ej(a)).map(function(b){return""+b}):If(a)!=null?[a.Zm().toString()]:ye(a,wj,6,Jf)?xj(a.vn()).flat().map(function(b){return""+b}):[]:[]} n.prepopulateFields=function(a){if(this.model.enable_prepopulate_contact_form_field_query_params)for(var b=w(this.fields),c=b.next();!c.done;c=b.next()){c=c.value;var e=icb(c,a),f=void 0;if((f=e)==null?0:f.aP.length)c.setValues(e.aP,!0),(f=c.getId())&&this.zk.add(f);f=void 0;((f=e)==null?0:f.mX)&&c.hide()}}; function icb(a,b){b||(b=z().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.Jz=function(a,b){var c=[];S1(this,function(e){var f=Vab(e,a,b);f&&c.push({field:e,control:f,value:b})}); return c}; n.yl=function(){return this.page}; n.submitForm=function(){var a=this;if(this.og&&this.vc&&!this.Ka)this.getStatusMessage()!==""&&(this.ya=!1),jcb(this);else{this.rb&&this.Qa!==27||(this.rb=vt.Qd());for(var b=w(this.qa),c=b.next();!c.done;c=b.next()){c=c.value;var e=c.model;if(!e.uc()&&!e.hd().getId()){bR(c,!0,this.model.strings.REQUIRED_FIELD);b2(this,"invalid",this.model.strings.VALIDATION_NOTE);this.dispatchEvent("invalidated");return}}U1(this,!0);S1(this,function(h){h.ya&&(a.ld=!0,h.targetVerified()&&(a.targetVerified=!0))}); if(this.Ie!==0){var f=function(){a.element.removeEventListener("uploadend",f);a.submitForm()}; this.element.addEventListener("uploadend",f)}else this.dispatchEvent("validationstart"),c2(this)||this.dispatchEvent("beforesubmit"),kcb(this).then(function(h){!a.c2c||a.model.use_cufinsert_api_when_validating_only&&a.validateOnly?d2(a)&&a.model.check_chat_availability_before_submitting_request&&!e2()&&!a.shouldSubmitToCasesV2()?lcb(a,h):mcb(a,h):ncb(a,h)}).catch(function(){f2(a,a.model.strings.BACKEND_ERROR); a.dispatchEvent("validationend")})}}; function ocb(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(){pcb(a,!1)}); b.addEventListener("click",function(){pcb(a,!0)}); c.addEventListener("click",function(){window.sc_trackStatsEvent(303,55,z().pid);qcb(a,1)}); e.addEventListener("click",function(){window.sc_trackStatsEvent(303,54,z().pid);qcb(a,2)})} function qcb(a,b){b===2?rcb(a,a.o,"channel_reco_chat_channel_selected"):rcb(a,a.o,"channel_reco_chat_channel_shown");var c=a.querySelector(".notification-area");c&&(c.textContent="");a.setSubmissionChannel(b);a.o&&(a.o.submission_channel=b);a.submitForm()} function pcb(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");nm(a.querySelector("#channel-recommendation-chat-option"),"high-context-channel-recommendation-options__option--active",b);nm(c,"high-context-channel-recommendation-options__option--active",!b);nm(f,"hidden",!b);nm(e,"hidden",b)} function scb(){var a=Xm("FormSurveysFeature__trigger_id");fu(new eu,{triggerId:a,enableTestingMode:Xm("FormSurveysFeature__enable_testing_mode")==="true",productData:{experimentIds:$m()}})} n.setAssistiveQuestionAnswers=function(a){this.Ba=a;if(this.c2c&&(!this.model.use_cufinsert_api_when_validating_only||!this.validateOnly)){a=w(this.Ba);for(var b=a.next();!b.done;b=a.next())if(b=b.value,b.c2cCountry&&b.c2cNumber){a=Z1(this,'input[type="tel"]').closest(".field").querySelector("select");this.tf(a.name).setValues([[b.c2cCountry,b.c2cNumber]]);break}}}; function Tbb(a){var b="submit_form";a.model.has_custom_recaptcha_action&&(b="submit_form_"+a.getRedwoodId()+"_"+a.getId());var c=$1(a)?".high-context-channel-recommendation__g-recaptcha":".g-recaptcha";a.recaptcha=new eF(a.querySelector(c),function(){a.hf=!0;X1(19,22)},b)} function tcb(a){var b=$1(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.Va=(new iC(c,function(){e&&c.parentNode&&c.parentNode.removeChild(e.getElement());a.va=!0;X1(19,172);X1(4,172)})).Sn(function(){X1(14,172)})}} function ucb(a,b){b=b===void 0?null:b;var c=oR().map(function(h){return h.toString()}); b&&c.push(b);var e,f;b=(f=(e=a.flags.smartIntakeDynamicQuestionsFormAllowlist)==null?void 0:e.primitive_value)!=null?f:[];e=vcb(a);f=z().lang;c.push.apply(c,za(obb(a.getRedwoodId(),b,e,f)));return[oP(mP(lP(new cr,8001336),8001336).Yc(15),[].concat(za(new Set(c))))]} function rcb(a,b,c){b.form_frd_values=b.form_frd_values.filter(function(e){return e.frd_id!==8001336}); a=ucb(a,c)[0];b.form_frd_values.push(s1(a.Ec))} function kcb(a){var b,c,e,f,h,k,l,p,r,t,v,x,E,la,ta,wa,Ba,Ha,Pa,Ra,Ya,hb,ub,Ib;return La(function(Cb){if(Cb.o==1){if(a.Ka&&a.o)return Cb.return(Promise.resolve(a.o));c={form_id:a.element.getAttribute("id"),header:[],subject:"",content:"",validate_only:a.validateOnly||g2(a)||c2(a)||Y1(a),validation_info:a.model.validation_info,language:z().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:iR(iR(iR(iR(iR(iR(iR(new eR,a.Ma),a.oa),a.Sa.Oc()),a.Ab),a.qa.map(function(eb){return eb.model}).filter(function(eb){return eb.isRequired()&&eb.isPending()&&eb.isValid()}).map(function(eb){return eb.hd().setRequired(!0)})),[mP(lP(new cr,8000730),8000730).Yc(15).nh([Am()])]),ucb(a)).Oc().map(function(eb){return s1(eb.Ec)}), selected_symptom_frd_values:(b=a.selectedSymptomFrdValues)==null?void 0:yab(b),parent_case_name:a.parentCaseName,submission_channel:a.submissionChannel,cases_attachment:a.ai.map(function(eb){return{blob_name:Gf(eb,1),file_name:eb.getFileName()}}), form_revision:Number(a.element.getAttribute("data-contact-form-revision"))};e2()&&(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.Ha?Cb.yield(a.Ha.getScreenshotData(),3):Cb.Pa(2)}Cb.o!=2&&(h=Cb.ma)&&(a.Dk=[{name:"screenshot",value:"There was a file uploaded for this field."},{name:"upload_original_filename",value:h.originalFilename},{name:"upload_cns_filename",value:h.Ff}, {name:"upload_document_id",value:h.documentId}]);if(a.Ba.length>0)for(c.is_assistive=!0,c.assistive_flow_results=[],k=w(a.Ba),l=k.next();!l.done;l=k.next())p=l.value,r=p.answer,p.translatedAnswer&&(r+=" ***** "+p.translatedAnswer),c.header.push({name:p.questionId,value:r}),c.content+=p.questionId+": "+r+"\n",c.assistive_flow_results.push({question:p.questionId,answer:r,prediction_id:p.predictionId,recommendation_id:p.recommendationId});h2(a)&&a.ua&&a.ua.length>0&&(c.dynamic_question_results=a.ua.map(function(eb){return{question_text:eb.questionText, question_intent:eb.questionIntent,answer_values:eb.answerValues,relevance:eb.relevance,suggested_input_type:eb.suggestedInputType}})); t=a.getFieldValues();v=wcb(a,!0);x=new Map(a.getHcfNameScFrdValueMap().entries());a.qa.map(function(eb){return eb.model}).forEach(function(eb){eb.isValid()&&x.set(eb.getName(),qP(eb.hd()))}); for(E=0;E0&&(c.product_specific_data=Ya);a.ld&&(c.target_submission_details={used_target_selector:!0,is_target_selector_verified:a.targetVerified});return Cb.return(c)})} function lcb(a,b){var c=i2(a,1);Bm({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)?mcb(a,b):(a.ma&&a.ma.hide(),W1(a))}, od:function(e){window.sc_trackStatsEvent(52,21,"escalationavailability: - "+e.statusText);a.ma&&a.ma.hide();if(e=a.querySelector(".submit-button"))e.disabled=!1;f2(a,a.model.strings.BACKEND_ERROR);a.dispatchEvent("validationend")}})} n.getChatAvailability=function(){var a=this;return La(function(b){return b.return(xcb(a))})}; function ncb(a,b){var c,e,f,h,k,l;La(function(p){if(p.o==1)return c={contact_flow:b},a.va?(c.recaptcha_response=a.Va.getResponse(),p.Pa(2)):a.hf?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=i2(a,5),Zf(f,2)&&(e.form_id=Gf(f,2)),ud(se(f,4))!=null&&(e.redwood_form_id=Nf(f,4)),e.channel=[5],we(f,SP,7)?e.sc_frd_values=xab(new eR(f.getScFrdValues())):we(f,Xj,1)&&(e.frd_values=yab(new eR(bf(f,Xj,1)))), c.escalation=e);h={v:"1",psd:JSON.stringify(a.productSpecificData)};(k=qm("test"))&&(h.test=k);(l=qm("cases2"))&&(h.cases2=l);b.submit_id=a.submitId;Bm({httpMethod:"POST",endpoint:"createcall",params:h,requestBody:c,onLoadCallback:function(r){var t=null;try{t=JSON.parse(r.responseText)}catch(v){}j2(a,{type:"c2c",response:t})}, od:function(){j2(a,{type:"c2c",response:!1})}}); p.oa()})} function mcb(a,b){var c,e,f,h;La(function(k){if(k.o==1)return c={v:"0",psd:JSON.stringify(a.productSpecificData)},(e=qm("test"))&&(c.test=e),(f=qm("cases2"))&&(c.cases2=f),b.submit_id=a.submitId,h={common_params:{context_params:{view_id:z().vid}},resource:b},a.va?(h.recaptcha_response=a.Va.getResponse(),k.Pa(2)):a.hf?k.yield(a.recaptcha.getResponse(),4):k.Pa(2);k.o!=2&&(h.recaptcha_response_v3=k.ma);d2(a)&&(a.shouldSubmitToCasesV2()||f)&&(a.Gb=!0);Bm({httpMethod:"POST",endpoint:"cufinsert",params:c, requestBody:h,onLoadCallback:function(l){var p=null;try{p=JSON.parse(l.responseText)}catch(r){j2(a,{type:"cuf",response:l.responseText,formData:b});return}j2(a,{type:"cuf",response:p,formData:b})}, od:function(){j2(a,{type:"cuf",response:!1,formData:b})}, Ul:!0});k.oa()})} function d2(a){return a.model.is_chat_form||a.Ka&&a.o!==null&&a.o.submission_channel===2} function g2(a){if(!a.model.fix_multi_page)return!1;var b=!1;S1(a,function(c){Number(c.yl())>a.yl()&&c.hasSatisfiedDependencies()&&(b=!0)}); return b} function c2(a){var b=a.getContactType()===0;return a.model.logged_in&&pUa()&&b&&!a.Ka} function Y1(a){return a.model.logged_in&&!a.ya&&h2(a)} function h2(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=z().lang;return c&&nR(b,a,e)} n.getHasCheckedForDynamicRecommendation=function(){return this.ya}; n.setHasCheckedForDynamicRecommendation=function(a){this.ya=a}; n.getShouldShowNextStep=function(){return this.og}; n.setShouldShowNextStep=function(a){this.og=a}; function jcb(a,b){b=b===void 0?null:b;U1(a,!0);b&&(a.o=b);a.o.validate_only=a.validateOnly||g2(a);a.dispatchEvent("dynamicrecommendationfound");a.vc=!0;a.ya=!0;U1(a,!1)} function ycb(a,b){U1(a,!0);a.o=b;a.o.validate_only=a.validateOnly||g2(a);a.Ka=!0;b={contact_flow_model:b};Bm({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){k2(a,{response:c.responseText});return}k2(a,{response:e})}, od:function(){k2(a,{response:!1})}, Ul:!0})} function k2(a,b){U1(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.Qa=28;zcb(a);Acb();window.sc_trackStatsEvent(303,4,z().pid);var c=a.querySelector(".high-context-channel-recommendation__container");Bcb(a,!1);nm(c,"hidden",!1);h2(a)&&a.Mv();a.dispatchEvent("highcontextchannelrecommendationfound");a.vk&&Tbb(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&&Ml(c,bm.Yd(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),Ml(c,bm.Yd(b))):nm(e,"hidden",!0);ocb(a)}else a.Qa=29,a.submitForm()} function fcb(a,b,c){var e;return La(function(f){e=Cbb(new K1,Bbb(Abb(new I1,b),c));return f.return(new Promise(function(h,k){Bm({httpMethod:"POST",params:{v:"1",psd:JSON.stringify(a.productSpecificData)},endpoint:"authorizetargets",requestBody:e,onLoadCallback:function(l){var p=null;try{p=Ebb(l.responseText),h(p)}catch(r){k(Error("Failed to parse AuthorizeTargetsResponse."))}}, od:function(){k(Error("API error authorizing targets."))}, Ul:!0})}))})} function zcb(a){a.rb.report(a.Qa);a.rb=null;a.Qa=27} n.getSubjectFieldId=function(){return Z1(this,'input[name="subject-line-field-id"]').value}; n.getBodyFieldId=function(){return Z1(this,'input[name="body-text-field-id"]').value}; function wcb(a,b){var c=[];S1(a,function(p){if(p.hasSatisfiedDependencies())for(var r=p.getValues(b),t=0;t0){f2(a,Hcb(e),e);a.dispatchEvent("validationend");break a}Icb(a,e)}else f2(a,a.model.strings.BACKEND_ERROR,e)}else f2(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(g2(a))l2(a);else if(Y1(a))jcb(a,b);else if(c2(a))ycb(a, b);else{b=qm("cases2");if(b=d2(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,Fcb(a));a.validateOnly||(!b||e2()||z().rs===79&&a.flags.enableChatMoleMigration||((0,window.sc_ensureSubscribed)(),a.dispatchEvent("chatrequested")),zcb(a),Gcb(a));m2(!0);e=!0}else Icb(a,c);else f2(a,Hcb(c),c);else f2(a,a.model.strings.CONNECTION_ERROR);c=qm("cases2");!e&&d2(a)&&(a.shouldSubmitToCasesV2()|| c)&&(a.Gb=!1);a.dispatchEvent("validationend")}} function Jcb(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 Hcb(a){var b;return((b=a.submit_error)==null?0:b.length)?(a=a.submit_error[0],Jcb(a.code,a.sub_code)):""} function Kcb(a,b){var c=$1(a)?".high-context-channel-recommendation__recaptcha":".recaptcha";(a=a.querySelector(c))&&nm(a,"invalid",b)} function Icb(a,b){for(var c=!1,e=a.model.strings.VALIDATION_NOTE,f=w(b.result||[]),h=f.next();!h.done;h=f.next())if(h=h.value.split(":"),h[0]==="REQUIRED_FORM_FRD_VALUE"){if(h=Lcb(a,h[1],h[2]))h.isVisible()?bR(h,!0,a.model.strings.REQUIRED_FIELD):e=a.model.strings.REQUIRED_FIELD+": "+h.model.getName(),c=!0}else{var k=a.tf(h[1]);if(h[0]==="REQUIRED_RECAPTCHA")a.page===a.model.total_pages&&(e=a,e.model.fallback_to_recaptcha_v2&&(e.va||(h=$1(e)?".high-context-channel-recommendation__g-recaptcha":".g-recaptcha", (h=e.querySelector(h))&&nm(h,"hidden",!0),tcb(e)),Kcb(e,!0)),c=!0,e=a.model.strings.REQUIRED_RECAPTCHA_NOTIFICATION);else if(h[0]==="INVALID_AUTH_TOKEN")c=!0,e="Refresh this page and try again. Sorry, there was a problem with the form.";else if(h[0]==="CHAT_UNAVAILABLE")W1(a),c=!0;else if(k&&k.isVisible()){if(c=k.getType()==="PHONE_NUMBER"&&a.c2c)a:{c=a;var l=k.getValues(!0)[0];if(l&&l.value){l=JSON.parse(l.value);var p;if(p=l){l=l.country;p=[];var r=c.model.phone_type_required_countries;r&&(p=r.split(",")); p=p.indexOf(l)!==-1}if(p){k.setValidity(!1,c.model.strings.PHONE_TYPE_VALIDATION,!0);c=!0;break a}}c=!1}c||k.setValidity(!1,a.model.strings[h[0]]||a.model.strings.DEFAULT);c=!0}}c?(b2(a,"invalid",e+Mcb(a,b)),a.dispatchEvent("invalidated"),X1(17)):l2(a)} function Ecb(a){var b=a.querySelector(".notification-area");b&&(nm(b,"error",!1),nm(b,"invalid",!1),b.textContent="");S1(a,function(e){e.setValidity(!0)}); b=w(a.qa);for(var c=b.next();!c.done;c=b.next())bR(c.value,!1);a.va&&Kcb(a,!1)} function b2(a,b,c){var e=a.querySelector(".notification-area");e&&(nm(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.getStatusMessage=function(){var a;return((a=this.querySelector(".notification-area"))==null?void 0:a.innerText)||""}; n.setErrorMessage=function(a){b2(this,"error",a)}; function f2(a,b,c){a.setErrorMessage(b+Mcb(a,c));a.dispatchEvent("error");m2(!1)} function Mcb(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(za(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(za(b.result)));return a.join("\n")} function l2(a){ecb(a,a.page+1);a.dispatchEvent("nextpage");X1(6)} function Gcb(a){a.dispatchEvent("submitstart");if(!d2(a)||a.Ba.length>0)Acb(),Bcb(a),Ncb(a);if(d2(a)){var b=a.querySelector(".submit-button");b&&(b.disabled=!0);a2(a,!0);window.sc_enableFormSubmissionDetailsAndDownloadUi&&(Ocb(a),Pcb(a,Z1(a,".submission-details-chat__content")),Qcb(a),b=Z1(a,".submission-details-chat__download-button"),b.addEventListener("click",function(){Rcb(a)}),Z1(a,".submission-details-chat__edit-button").addEventListener("click",function(){Scb(a)}),window.sc_trackStatsEvent(182, 4,z().pid),nm(Z1(a,".submission-details-chat"),"hidden",!1),b.focus()); Z1(a,".notification-area").textContent=a.model.strings.CHAT_CREATING;a.dispatchEvent("chatrequested")}X1(22);a.dispatchEvent("submitend");a.dispatchEvent("cleancomplete");Xm("FormSurveysFeature__enable_hats")==="true"&&scb()} function a2(a,b){for(var c=w(a.querySelectorAll(".high-context-channel-recommendation__submit-button")),e=c.next();!e.done;e=c.next())e.value.disabled=b;a=w(a.querySelectorAll(".high-context-channel-recommendation-options__option"));for(c=a.next();!c.done;c=a.next())c.value.disabled=b} function Acb(){var a=document.querySelector(".prefilled-callout");a&&nm(a,"hidden",!0)} function Bcb(a,b){b=b===void 0?!0:b;for(var c=d2(a)&&a.Ba.length>0,e=0;e0&&a.dk.set(c.getId(),e)}b=w(a.qa);for(c=b.next();!c.done;c=b.next())c=c.value,e=c.Ue(),c.isVisible()&&e&&a.Ja.set(e,c.getDisplayValues())} function Pcb(a,b){a=w(a.Ja.entries());for(var c=a.next();!c.done;c=a.next()){var e=w(c.value);c=e.next().value;var f=e.next().value;e=c;c=document.createElement("div");var h=document.createElement("span");c.appendChild(h);h.innerText=e;if(f)for(h.innerText+=": ",nm(c,"multi-value",f.length>1),e=w(f),f=e.next();!f.done;f=e.next())f=f.value,h=document.createElement("span"),nm(h,"submission-value",!0),h.innerText=f,c.appendChild(h);b.appendChild(c)}} function Rcb(a){for(var b="",c=w(a.Ja.entries()),e=c.next();!e.done;e=c.next()){var f=w(e.value);e=f.next().value;f=f.next().value;b+=e;if(f)for(b+=":",e=w(f),f=e.next();!f.done;f=e.next())b+="\n"+f.value;b+="\n\n"}var h;c=((h=a.caseId)!=null?h:a.getId())+".txt";Q1.download(b,c,"text/plain");window.sc_trackStatsEvent(182,47,z().pid);Ym("contact_form_submission_download")} function Scb(a){var b=new URLSearchParams;a=w(a.dk.entries());for(var c=a.next();!c.done;c=a.next()){var e=w(c.value);c=e.next().value;e=e.next().value;e=w(e);for(var f=e.next();!f.done;f=e.next())b.append("pcff",c+":"+f.value)}Ym("contact_form_submission_edit");window.sc_trackStatsEvent(182,24,z().pid);b=new URL(""+window.location.origin+window.location.pathname+"?"+b);Mm(b.toString())} function m2(a){Bm({httpMethod:"POST",endpoint:"cufz",requestBody:{success:a,page_view_id:z().pvid}})} function Lcb(a,b,c){return b&&c?a.qa.find(function(e){return rP(e.model.hd(),lP(mP(new cr,+b),+b).Yc(+c))}):null} n.tf=function(a){var b=null;S1(this,function(c){var e=c.cidSelector&&c.getElement().querySelector(".cid-selector");return c.getId()===a&&c.getType()!=="EXTERNAL_SOURCE"||e!==null&&e.getAttribute("id")===a?(b=c,!1):!0}); return b}; function ecb(a,b){if(b===a.page||b<1||b>a.model.total_pages)return!1;a.page=b;T1(a);U1(a,!1);return!0} function X1(a,b){window.sc_trackStatsEvent(b===void 0?21:b,a,z().pid)} function Tcb(a,b){var c=i2(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){Bm({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"))}}, od:function(){h(Error("escalationavailability endpoint returned an error"))}, Ul:!0})})} function i2(a,b){var c=new dR,e=a.getId();Uf(c,2,e);e=Number(a.getRedwoodId());Rf(c,4,e);Oe(c,3,[b],pd);if(a.selectedSymptomFrdValues){b=[];e=w(a.selectedSymptomFrdValues);for(var f=e.next();!f.done;f=e.next()){var h=void 0;b.push.apply(b,za((h=nP(f.value))!=null?h:[]))}a=jUa(iR(gR(new eR,fR(a.selectedSymptomFrdValues)).qd(a.selectedSymptomFrdValues.Zg()),[oP(lP(mP(new cr,8000072),8000072).Yc(15),b)]));ef(c,SP,7,a)}return c} n.getEscalationChannelAvailabilityInformation=function(a){var b=this,c,e,f,h,k,l,p,r,t;return La(function(v){if(v.o==1)return v.yield(Tcb(b,a),2);if(c=v.ma)switch(a){case 1:return v.return((f=(e=c.chat_channel)==null?void 0:e.common_options)!=null?f:null);case 3:return v.return((l=(h=c)==null?void 0:(k=h.email_channel)==null?void 0:k.common_options)!=null?l:null);case 5:return v.return((t=(p=c)==null?void 0:(r=p.c2c_channel)==null?void 0:r.common_options)!=null?t:null)}return v.return(null)})}; function xcb(a){var b,c,e;return La(function(f){return f.o==1?f.yield(Tcb(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 Xbb(a){var b=a.querySelector(".contact-form__gdpr-dialog");if(b){var c=function(e){var f=this.Lb().strings,h=this.Lb().style_params,k=this.Lb().gdpr_privacy_policy_url,l=z().lang,p={};f=new mF(z().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 kR({Oa:f,locale:l,privacyPolicyUrl:k,jr:h?{"font-family":h.font_family.title}:void 0,Ap:h?{"font-family":h.font_family.body}: void 0,Fp:h?{"font-weight":String(h.strong_font_weight)}:void 0});ko(e,function(){r.render()}); return r}.call(a,b); nUa(c,function(){c.data=new Map;c.Ia();for(var e=w(a.getFieldValues()),f=e.next();!f.done;f=e.next())f=f.value,f.type!=="HIDDEN"&&f.type!=="FROM_EMAIL_ADDRESS_HIDDEN"&&f.type!=="ADDITIONAL_DATA"||!f.value||lR(c,f.name,f.value);e=w(Object.keys(a.productSpecificData));for(f=e.next();!f.done;f=e.next())f=f.value,lR(c,f,a.productSpecificData[f]);a.gcmRegistrationId&&lR(c,"GCM",a.gcmRegistrationId)})}} function Sbb(a,b){b.addEventListener("uploadstart",function(){++a.Ie}); b.addEventListener("uploadend",function(){--a.Ie;an(a.element,"uploadend")})} function W1(a){if(!a.Gb){var b=a.querySelector(".submit-button");b&&(b.disabled=!0);a2(a,!0);b=Z1(a,".notification-area");nm(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.Lb=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.pT=function(){var a=[];S1(this,function(b){a.push(Ucb(b))}); Array.prototype.push.apply(a,Ccb(this));return a}; function Ucb(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.qT=function(){var a=[];S1(this,function(b){b.isVisible()&&a.push(Ucb(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.Tc;)a.kd.shift()()} n.Lv=function(){var a=this;if(RP(o2(this))){var b=document.activeElement;p2(this,!0);var c=new kQ;Wcb(this,c);Bm({httpMethod:"POST",endpoint:"getavailablevaluesforgraph",params:{v:"1"},requestBody:c.serialize(),onLoadCallback:function(e){try{for(var f=CSa(e.responseText),h=w(df(f,lQ,2,Fe())),k=h.next();!k.done;k=h.next()){var l=bf(k.value,Ij,1),p=l.getFrdContext(),r=p?Of(p,2):null,t=a.Da.get(H1(l));if(t)for(var v=w(t),x=v.next();!x.done;x=v.next()){var E=x.value,la=kbb(E),ta=Of(la,2);if(!(r&&ta&& r!==ta||!z1(E))){var wa=Aj(Cj(Lj(l)),Oc);switch(E.getType()){case "CHECKBOX":case "RADIOBUTTON":for(var Ba=w(E.querySelectorAll(".list-item")),Ha=Ba.next();!Ha.done;Ha=Ba.next()){var Pa=Ha.value,Ra=wa.indexOf(Pa.querySelector("input").value)===-1;nm(Pa,"hidden-by-vrg",Ra)}break;case "DROPDOWN":for(var Ya=w(E.querySelectorAll("option")),hb=Ya.next();!hb.done;hb=Ya.next()){var ub=hb.value;if(ub!==E.querySelector("option")){var Ib=wa.indexOf(ub.value)===-1;nm(ub,"hidden-by-vrg",Ib)}}E.element.querySelector("select").dispatchEvent(new Event("selectvrgupdate"))}}}}}catch(Cb){}p2(a, !1);b.focus();Vcb(a)}, od:function(){p2(a,!1);b.focus();Vcb(a)}})}}; function p2(a,b){a.Tc=b;a=w(a.Sc);for(var c=a.next();!c.done;c=a.next())c=c.value,z1(c)&&mbb(c,b)} function Wcb(a,b){var c=o2(a);c=RP(c);zSa(b,lf(c,1));ASa(b,nf(c,2));c=[];for(var e=[],f=!1,h=w(a.Sc),k=h.next();!k.done;k=h.next()){k=k.value;if(z1(k)){var l=k.getFrdIdentifier();l&&c.push(l)}if(x1(k)&&k.hasSatisfiedDependencies()){l=[];for(var p=w(k.getValues()),r=p.next();!r.done;r=p.next())l.push(r.value.value);l.length!==0&&(p=new Bj,k.getType()==="HIDDEN"?Xcb(lbb(k),l[0],p):k.getFrdIdentifier()===8000001?p.yj((new uj).oh(l.map(function(v){return Number(v)||0}))):Dj(p,(new zj).oh(l)),l=Mj(new Ij, p),p=kbb(k),(r=of(p,2))&&Jj(l,qj(new pj,of(p,1)).Yc(r)),(k=k.getFrdV2Identifier())&&Kj(l,k),e.push(l),!f&&H1(l)===8000072&&(f=!0))}}if(window.sc_filter_promoted_by_selected_symptom&&!f){var t; h=(t=a.selectedSymptomFrdValues)==null?void 0:fR(t);t=Vo(lf(b,2));if(a.selectedSymptomFrdValues&&h&&t&&h===t){t=w(a.ud);for(h=t.next();!h.done;h=t.next())if(H1(h.value)===8000072){f=!0;break}if(!f){f=[];t=w(a.selectedSymptomFrdValues);for(h=t.next();!h.done;h=t.next())k=void 0,f.push.apply(f,za((k=nP(h.value))!=null?k:[]));e.push(gr(oP(lP(mP(new cr,8000072),8000072).Yc(15),f)))}}}Oe(b,3,c,pd);uab(b,a.ud.concat(e));Wf(b,5,a.model.content_publish_state)} function Xcb(a,b,c){switch(a){case 1:c.yj((new uj).oh([Number(b)]));break;case 2:case 5:c.nh((new zj).oh([b]));break;case 3:Fj(c,Sea(new sj,[Number(b)]));break;case 4:a=b.split(",");Dj(c,(new zj).oh(a));break;case 9:c.Vh(b==="true");break;case 8:a=b.split(",").map(function(e){return Number(e)}); c.Ax(yj(new wj,[(new uj).oh(a)]));break;case 11:case 6:case 7:case 10:Hj(c,(new rj).oh([b]))}} function o2(a){a=JSON.parse(a.element.getAttribute("data-form-service-vrg"));return new QP(a)} n.getServiceVrgTaxonomyId=function(){var a=RP(o2(this));return a?Vo(lf(a,1)):null}; n.getServiceVrgTaxonomyView=function(){var a=RP(o2(this));return a?Gf(a,2):null}; n.setSupportJourneyId=function(a){this.submitId=a}; function Fcb(a){window.sc_log&&window.sc_log("Form","INFO","Case ID: "+a.caseId)} n.setIncludesTargetSelector=function(a){this.ld=a}; n.setTargetVerified=function(a){this.targetVerified=a}; function Ybb(a,b){var c,e,f,h,k,l,p,r,t;La(function(v){if(v.o==1){if(!b)return v.return();c=new iQ(JSON.parse(b));a.Wd=(e=uf(c,7))!=null?e:"";a.Wd&&window.sc_log&&window.sc_log("Helpcenter Field","INFO","Form Helpcenter Fields User-based FRD Value Lookup EventID: "+a.Wd);return v.yield(cR({helpCenterFrdFieldsConfg:c,locale:z().lang,neoTaxonomy:jQ(),placements:[a.qv(1),a.qv(2)],sx:"*"}),2)}f=v.ma;h=a.getScFrdValues().map(function(x){return new cr(x)}); k=w(a.Da.keys());for(l=k.next();!l.done;l=k.next())p=l.value,h.push(mP(new cr,p));r=a.getHcfNameScFrdValueMap();t=f.Pi;Ycb(a,t,2,h,r,".cf div.helpcenter-fields-container.top");Ycb(a,t,1,h,r,".cf div.helpcenter-fields-container.bottom");xP(a.Sa,a.qa.concat(f.Os).map(function(x){return x.model})); v.oa()})} n.qv=function(a){var b=new CP,c=new BP,e=this.getContactType();Ue(c,3,AP,qd(e));Wf(c,2,a);hf(b,1,BP,c);c=new BP;e=this.getRedwoodId();Ue(c,1,AP,Nd(e));Wf(c,2,a);hf(b,1,BP,c);a=new HP;ff(a,1,GP,b);return a}; function Ycb(a,b,c,e,f,h){if(h=a.element.querySelector(h)){var k=nbb(vcb(a));console.log("Form INFO: enableMultiTargets: "+k);var l=b.filter(function(p){if(p.model.placements.length||(!k||c!==1)&&e.some(function(la){return rP(la,p.model.hd())})||!p.model.hd().getId()&&f.has(p.model.getName()))return!1; for(var r=w(p.model.ua),t=r.next();!t.done;t=r.next()){t=t.value;var v=void 0,x=void 0,E=w((x=(v=t.Yv())==null?void 0:v.o())!=null?x:[]);for(v=E.next();!v.done;v=E.next())v.value.Ru()===c&&p.model.placements.push(t)}return!!p.model.placements.length}); l.length&&ko(h,function(){for(var p=w(l),r=p.next();!r.done;r=p.next())r=r.value,r.render(),a.qa.push(r)})}} n.getHelpCenterFieldFrds=function(a){return this.Sa.Oc(a===void 0?!1:a).map(function(b){return qP(b)})}; n.setHelpCenterFieldFrd=function(a){a=new cr(a);for(var b=w(vP(this.Sa)),c=b.next();!c.done;c=b.next())if(c=c.value,rP(c.hd(),a)){vab(c,a);break}}; function vcb(a){var b,c;return(c=(b=a.flags.multiTargetsHelpCenterAllowlist)==null?void 0:b.primitive_value)!=null?c:[]} function Zbb(a){var b=[];z().is_render_api||b.push("direct_to_form");qm("cse")==="gse"&&b.push("gse");qm("cse")==="google_marketing_advisor"&&b.push("google_marketing_advisor");b.length&&a.addScFrdValue(qP(oP(lP(mP(new cr,8000104),8000104).Yc(15),b)))} n.zi=function(a,b){a=this.Da.get(Number(a));if(!a||a.length===0)return!1;a=a[0].getElement();return Fw(a,b)}; function e2(){switch(z().rs){case 3:case 8:return!0;default:return!1}} window.sc_initForm=function(a,b,c){a=new Qbb(a,b,c);b={getEscalationChannelAvailabilityInformation:a.getEscalationChannelAvailabilityInformation.bind(a),getContactType:a.getContactType.bind(a),submitForm:a.submitForm.bind(a),getFields:a.pT.bind(a),getVisibleFields:a.qT.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),getShouldShowNextStep:a.getShouldShowNextStep.bind(a),setShouldShowNextStep:a.setShouldShowNextStep.bind(a)};return a.Mq=b};function Zcb(){var a,b;return typeof((a=navigator)==null?void 0:(b=a.mediaDevices)==null?void 0:b.getDisplayMedia)==="function"} ;function q2(a,b){var c,e;(e=(c=window).sc_trackStatsEvent)==null||e.call(c,a,b,z().pid)} ;function r2(a){A.call(this,"sc.forms.Screenshare");this.o=null;this.ma=!1;this.params=a} u(r2,A);r2.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 qu({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||$cb(b))})}; function $cb(a){La(function(b){if(b.o==1){if(!a.params.Pg||!a.o)return b.Pa(0);b.ua(3);return b.yield(a.params.Pg.forwardWheel(a.o),5)}if(b.o!=3){a.ma=!0;a.params.xI(a.ma);var c,e;(e=(c=window).sc_trackStatsImpressions)==null||e.call(c,[{type:309,id:z().pid}],!0);q2(309,10);a.Ia();return b.ya(0)}b.qa();b.oa()})} function adb(a){var b,c,e;return La(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")}))})} r2.prototype.XM=function(){return this.ma};function s2(a){A.call(this,"sc.forms.ScreenshareControllers");this.params=a;this.ma=new Jo({text:"Change tab",ariaLabel:"Change tab",style:3,icon:"gm/swap_horiz",Mf:24,trigger:function(){q2(309,56);a.pS()}}); this.o=new Jo({text:"Capture screenshot",ariaLabel:"Capture screenshot",style:4,icon:"gm/screenshot_monitor",Mf:24,trigger:function(){q2(309,46);a.jp()}})} u(s2,A);function bdb(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 mt({trigger:a,text:b,Aj:4,Jj:"35rem",vr:c,xk:!1})).render()} function cdb(a){a.element("div","class","screenshare-footer-scroll-info",function(){var b=a.params.XM,c="",e="",f=-150;a.params.Pg?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&&bdb(a,e,f))})} s2.prototype.content=function(){var a=this;this.element("div","class","screenshare-footer",function(){cdb(a);a.element("div","class","screenshare-footer-buttons",function(){a.ma.render();a.o.render()})})};function t2(a){A.call(this,"sc.forms.ScreenshotEdit");var b=this;this.oa=!1;this.Jk=this.ma=0;this.scaleY=this.scaleX=1;this.qa=[];this.ua=function(c){if(b.params.Pf!=="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.Jk=(c.clientY-f.top)*b.scaleY;var h;(h=b.canvas)==null||h.addEventListener("mousemove",b.va);var k;(k=b.canvas)==null||k.addEventListener("mouseup",b.Ba)}}; this.va=function(c){if(b.oa){var e=b.canvas.getBoundingClientRect(),f=(c.clientX-e.left)*b.scaleX,h=(c.clientY-e.top)*b.scaleY;u2(b);b.o=b.o;c=Math.min(b.ma,f);e=Math.min(b.Jk,h);f=Math.abs(b.ma-f);h=Math.abs(b.Jk-h);var k=b.params.Pf;k==="HIGHLIGHT"?ddb(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.Jk,h);f=Math.abs(b.ma-f);h=Math.abs(b.Jk-h);(f>0||h>0)&&b.qa.push({x:c,y:e,width:f,height:h,mode:b.params.Pf});var k;(k=b.canvas)==null||k.removeEventListener("mousemove",b.va);var l;(l=b.canvas)==null||l.removeEventListener("mouseup",b.Ba);u2(b)}}; this.params=a} u(t2,A);t2.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.ua);edb(b)})}; t2.prototype.onDetach=function(){var a;(a=this.canvas)==null||a.removeEventListener("mousedown",this.ua);this.qa=[]}; function edb(a){a.canvas=a.canvas;var b=wl(a.params.Hi),c=new Image;c.onload=function(){a.canvas=a.canvas;a.canvas.width=c.width;a.canvas.height=c.height;a.Da=c;u2(a)}; c.src=b.toString()} function u2(a){if(a.canvas&&a.o&&a.Da){var b=a.canvas;a.o=a.o;a.o.clearRect(0,0,b.width,b.height);a.o.drawImage(a.Da,0,0);b=w(a.qa);for(var c=b.next();!c.done;c=b.next()){var e=c.value,f=a,h=e.x,k=e.y,l=e.width;c=e.height;e=e.mode;e==="HIGHLIGHT"?ddb(f,h,k,l,c):e==="HIDE"&&(f.o=f.o,f.o.fillStyle="rgba(0, 0, 0, 1)",f.o.fillRect(h,k,l,c))}}} function ddb(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 fdb(a){return La(function(b){return a.qa.length!==0&&a.canvas?b.return(new Promise(function(c){a.canvas.toBlob(function(e){c(e)})})):b.return(Promise.resolve(a.params.Hi))})} ;function v2(a){A.call(this,"sc.forms.ScreenshotEditControllers");this.ma=new Jo({text:"Cancel",ariaLabel:"Cancel",trigger:function(){q2(311,59);a.JD()}, style:3,le:"material-pill",Mc:"px"});this.o=new Jo({text:"Done",ariaLabel:"Done",trigger:function(){q2(311,60);var b;(b=a.nI)==null||b.call(a)}, style:4,le:"material-pill",Mc:"px"});this.params=a} u(v2,A);function gdb(a){return new qu({ariaLabel:"Highlight",text:"Highlight",icon:"gm/highlight_alt",selected:a.params.Pf==="HIGHLIGHT",trigger:function(){q2(311,58);a.params.Wl("HIGHLIGHT")}})} function hdb(a){return new qu({ariaLabel:"Hide",text:"Hide",icon:"gm/featured_video",selected:a.params.Pf==="HIDE",trigger:function(){q2(311,5);a.params.Wl("HIDE")}})} v2.prototype.content=function(){var a=this;this.element("div","class","root",function(){a.element("div","class","edit-control-buttons","aria-live","off",function(){gdb(a).render();hdb(a).render()}); a.element("div","class","modal-control-buttons",function(){a.ma.render();a.o.render()})})};function w2(a){A.call(this,"sc.forms.ScreenshotPreview");this.o=null;this.params=a;this.o=wl(a.Hi).toString();this.ma=idb(this)} u(w2,A);function idb(a){return new qu({text:"Highlight or hide content",ariaLabel:"Highlight or hide content",style:0,type:1,icon:"gm/edit",trigger:function(){q2(310,24);a.params.xE()}, Xw:!0})} w2.prototype.focus=function(){this.ma.focus()}; w2.prototype.onDetach=function(){this.o&&(URL.revokeObjectURL(this.o),this.o=null)}; w2.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 x2(a){A.call(this,"sc.forms.ScreenshotPreviewControllers");this.ma=new Jo({text:"Capture again",ariaLabel:"Capture again",icon:"gm/restart_alt",Mf:20,style:3,trigger:function(){q2(310,56);a.LD()}}); this.o=new Jo({text:"Attach screenshot",ariaLabel:"Attach screenshot",icon:"gm/attach_file_add",Mf:20,style:4,trigger:function(){q2(310,57);a.Zo()}})} u(x2,A);x2.prototype.content=function(){var a=this;this.element("div","class","root",function(){a.ma.render();a.o.render()})};function y2(a){A.call(this,"sc.forms.ScreenshotCaptureDialog");var b=this;this.ma=0;this.stream=null;this.page="SCREENSHARE";this.Hi=new Blob;this.Pf="NONE";this.ua=new t2({Hi:this.Hi,Pf:this.Pf});this.oa=null;this.o=!1;this.qa=new r2({stream:this.stream,Pg:this.Pg,xI:function(c){b.o=c;b.Ia()}}); this.params=a;this.dialog=new uu({content:function(){b.element("div","class","screenshot-capture-dialog",function(){jdb(b)})}, Ah:{"background-color":"rgba(0,0,0,.3)"},Lm:!1,Km:!1,ariaLabel:kdb(this)})} u(y2,A);function kdb(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 jdb(a){(new ru).render({content:function(){a.element("div","class","screenshot-capture-dialog-content",function(){ldb(a);mdb(a);ndb(a)})}})} function odb(a){a.element("div","class","screenshot-capture-dialog-title","role","heading",function(){switch(a.page){case "SCREENSHARE":(new Fo({icon:"gm/privacy_tip",size:24})).render();a.element("span","class","data-management-link","role","link","tabindex","0","onclick",function(b){Gl(window,vl("https://policies.google.com/privacy"),"_blank");b.preventDefault()},"onkeydown",function(b){b.key==="Enter"&&(Gl(window,vl("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 ldb(a){a.element("div","class","screenshot-capture-dialog-content-header",function(){odb(a);pdb(a)})} function pdb(a){a.element("button","class","dialog-close-button","type","button","aria-label","Close","onclick",function(){a.close()},function(){(new Fo({icon:"gm/close", size:24,De:["close-icon"]})).render()})} function mdb(a){a.oa=a.element("div","class","screenshot-capture-dialog-content-body",function(){switch(a.page){case "SCREENSHARE":a.qa.render({stream:a.stream,Pg:a.Pg,xI:function(b){a.o=b;a.Ia()}}); break;case "SCREENSHOT_PREVIEW":(new w2({Hi:a.Hi,xE:function(){a.xE()}})).render(); break;case "SCREENSHOT_EDIT":a.ua.render({Hi:a.Hi,Pf:a.Pf})}})} function ndb(a){a.element("div","class","screenshot-capture-dialog-footer",function(){switch(a.page){case "SCREENSHARE":(new s2({pS:function(){a.close();a.params.jp()}, jp:function(){qdb(a)}, XM:a.o,Pg:a.Pg})).render();break;case "SCREENSHOT_PREVIEW":(new x2({LD:function(){a.LD()}, Zo:function(){a.Zo()}})).render(); break;case "SCREENSHOT_EDIT":(new v2({JD:function(){a.JD()}, Wl:function(b){a.Wl(b)}, Pf:a.Pf,nI:function(){a.nI()}})).render()}})} function qdb(a){La(function(b){if(b.o==1)return a.oa.classList.add("flash"),setTimeout(function(){a.oa.classList.remove("flash")},750),b.yield(adb(a.qa),2); a.Hi=b.ma;a.page="SCREENSHOT_PREVIEW";a.Pf="NONE";rdb(a);a.Ia();b.oa()})} n=y2.prototype;n.JD=function(){this.Pf="NONE";this.setPage("SCREENSHOT_PREVIEW")}; n.setPage=function(a){this.page!==a&&(this.page=a,this.Ia())}; n.LD=function(){this.close();this.params.jp()}; n.xE=function(){this.Pf="NONE";this.setPage("SCREENSHOT_EDIT")}; n.Wl=function(a){this.Pf!==a&&(this.Pf=a,this.Ia())}; n.content=function(){var a=this;this.element("div","class","root",function(){a.dialog.Ki(kdb(a));a.dialog.render()})}; n.open=function(a,b){var c=this;this.page="SCREENSHARE";this.Pg=b;this.stream=a;this.qa=new r2({stream:a,Pg:b,xI:function(e){c.o=e;c.Ia()}}); 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";sdb(this)}; n.close=function(){this.page==="SCREENSHARE"&&rdb(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 rdb(a){if(a.stream){a=w(a.stream.getTracks());for(var b=a.next();!b.done;b=a.next())b.value.stop()}} function sdb(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.nI=function(){var a=this;return La(function(b){if(b.o==1)return b.yield(fdb(a.ua),2);a.Hi=b.ma;a.page="SCREENSHOT_PREVIEW";a.Pf="NONE";a.Ia();b.oa()})}; n.Zo=function(){this.params.Zo(this.Hi)};function z2(a){A.call(this,"sc.forms.ScreenshotCapture");var b=this;this.zf="scFormsScreenshotcapturescreenshot-capture-button-tooltip";this.ma=new y2({jp:this.jp.bind(this),Zo:this.Zo.bind(this)});this.params=a;this.qa=new Jo({icon:"gm/add",text:this.params.allowMultipleFiles?"Choose files":"Choose file",ariaLabel:this.params.allowMultipleFiles?"Choose files":"Choose file",style:3,Mf:24,trigger:function(){q2(307,52);var c;(c=b.o)==null||c.click()}}); this.oa=new Jo({icon:"gm/screenshot_monitor",Mf:24,text:"Capture screenshot",ariaLabel:"Capture screenshot. You will be asked to share your screen.",style:4,trigger:function(){q2(306,52);b.jp()}}); this.attachments=new CF({Yf:this.params.Yf,allowMultipleFiles:this.params.allowMultipleFiles,formId:this.params.formId,xB:function(c){tdb(b,c)}, wB:function(c){tdb(b,c)}})} u(z2,A);z2.prototype.content=function(){var a=this;this.element("div","class","root",function(){a.attachments.render();udb(a);vdb(a);Zcb()&&wdb(a);a.ma.render()})}; function vdb(a){a.element("div","class","screenshot-capture-button-container",function(){if(Zcb()){var b=xdb(a);(new mt({text:"You will be asked to share your screen.",trigger:b,zf:a.zf})).render()}ydb(a)})} function xdb(a){return a.element("label","class","screenshot-capture-button-wrapper",function(){a.oa.render()})} function ydb(a){a.element("label","class","upload-label","for",a.params.id,function(){a.qa.render()})} function wdb(a){a.element("div","class","callout-container",function(){(new mu({type:lu,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()})} z2.prototype.jp=function(){var a=this,b,c;return La(function(e){if(e.o==1){e.ua(2);var f=e.yield,h=navigator.mediaDevices,k=h.getDisplayMedia;if("CaptureController"in window&&typeof window.CaptureController==="function"){a.Pg=new window.CaptureController;a.Pg.setFocusBehavior("no-focus-change");var l={video:{displaySurface:"browser"},audio:!1,controller:a.Pg}}else l={video:{displaySurface:"browser"},audio:!1};return f.call(e,k.call(h,l),4)}if(e.o!=2)return b=e.ma,q2(306,10),a.ma.open(b,a.Pg),e.ya(0); c=e.qa();c instanceof DOMException&&c.name==="NotAllowedError"?q2(306,11):q2(306,21);e.oa()})}; z2.prototype.Zo=function(a){var b=this,c,e,f;return La(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]);zdb(b,f);b.ma.close();q2(306,57);b.Ia();h.oa()})}; z2.prototype.getValues=function(){var a=DF(this.attachments),b=[];a=w(a);for(var c=a.next();!c.done;c=a.next())c=c.value,b.push({name:this.params.id,value:"There was a file uploaded for this field."},{name:"upload_original_filename",value:c.filename},{name:"upload_cns_filename",value:c.Ff},{name:"upload_document_id",value:c.documentId});return b}; function udb(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);for(var e=w(c),f=e.next();!f.done;f=e.next())zdb(a,f.value);q2(307,57)}a.Ia();c.length&&qCa(a.attachments)}}].concat(za(a.params.allowMultipleFiles?["multiple", "1"]:[]));a.o=a.element.apply(a,["input"].concat(za(b)))} function zdb(a,b){a.o&&ks(a.o,"uploadstart",{detail:b})} function tdb(a,b){a.o&&ks(a.o,"uploadend",{detail:b})} ;
false
false
false
true
true
true
true
true
7309155,7249334,7303230,7332538,7420927,7303233,7247179,7247304,7247188,9305646,7247297
false
false
true
false
false
9020362
false
false