External offers program declaration form

Please complete this declaration form if you intend to enroll in the external offers program and lead users in the eligible markets outside the app, including to promote offers for in-app features and services. Please be sure to review the market availability, eligibility, and requirements for the program before completing this form.

At this time, we can only respond to emails sent in English, Chinese, Japanese, or Korean.

* Required field

Please enter the registered company name (not a trading name) listed on your registration documents in the official language of your organization’s country.

Please enter the address in the official language of the registered company’s country of residence.
Please list the package names you want to enroll, separated by commas. You can find your app's package name beneath your app name in Play Console. Your package name will be in this format: com.example.app123
This is the mailing address we will use on your invoices.
This is where we will send your invoices. Your email must match the domain of your company’s developer account and cannot be a personal email account.
My app’s contact details in Play Console are up to date and functional. *
Please ensure your store listing contact details (email and website) are up to date so users can resolve inquiries related to subscriptions, refund requests, and all other customer support inquiries. You can check and/or update your information in Play Console (Grow > Store presence > Store settings).
Any billing system to which users are directed complies with the Payment Card Industry Data Security Standard. *

By checking this box, you certify that any billing system you will use complies with the current PCI Data Security Standard, or that the billing system to be used is of a type that will not handle card data.

There is a dispute resolution process for unauthorized transactions from external offers. *
By checking this box, you certify that the payment system has a process for users to dispute unauthorized transactions.
Please provide an email address or URL.
By submitting this form, I acknowledge that I agree to the Terms of Service

If you are signing the Terms of Service on behalf of an entity or organization, then the following apply: (a) do not sign unless you are authorized by that entity or organization to do so; and (b) you represent and warrant that: (i) you have full legal authority to bind that entity or organization to the Terms of Service; (ii) you have read and understand the Terms of Service; and (iii) you agree, on behalf of that entity or organization, to the Terms of Service.
*
This field is required.
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
8508202874369241934
true
Search Help Center
false
true
true
true
true
true
92637

'; var c=Al(a);a=ll("data:text/html;charset=UTF-8;base64,"+btoa(c.toString()));b.srcdoc=Cl(c)}else{c=new Map([["nonce",a]]);var e=ml(f$a).toString();var f=e.split(/[?#]/),h=/[?]/.test(e)?"?"+f[1]:"";a=f[0];e=/[#]/.test(e)?"#"+(h?f[2]:f[1]):"";a=s9a(a,h,e,c)}b.src=ml(a).toString();b.style.cssText="border: 0; height: 0; left: 0; position: absolute; top: 0; width: 0;";b.setAttribute("aria-hidden","true");return b} ;var E0={qW:!1},F0;function G0(a){this.options=a=a===void 0?E0:a;k$a(this.options)||typeof navigator.msSaveOrOpenBlob==="function"||(this.sandbox=new D0)} G0.download=function(a,b,c,e){c=c===void 0?"":c;e=e===void 0?E0:e;return Ra(function(f){if(f.o==1)return f.yield(l$a(a,b,c,e),2);if(f.ma)return f.return();F0||(F0=new G0,F0.init());return f.yield(m$a(F0,a,b,c),0)})}; G0.prototype.init=function(){var a=this;return Ra(function(b){return a.sandbox==null?b.return():b.yield(a.sandbox.load(),0)})}; G0.prototype.download=function(a,b,c){c=c===void 0?"":c;var e=this;return Ra(function(f){return f.o==1?f.yield(l$a(a,b,c,e.options),2):f.ma?f.return():f.yield(m$a(e,a,b,c),0)})}; function m$a(a,b,c,e){e=e===void 0?"":e;var f,h;return Ra(function(k){switch(k.o){case 1:f=b instanceof Blob?b:new Blob([b],{type:e});if(typeof navigator.msSaveOrOpenBlob!=="function"){k.Qa(2);break}navigator.msSaveOrOpenBlob(f,c);return k.yield(H0(),3);case 3:return k.return();case 2:if(!Nb()||Baa(r9a(),16)>=0||!Ib()&&(!Bb("iPad")&&!Bb("iPhone")||Hb()||Ib()||(Db()?0:Bb("Coast"))||Gb()||!Bb("AppleWebKit"))){k.Qa(4);break}h=new FileReader;h.onload=function(){var l=xn("A"),p=vl(String(h.result));yl(l, p);l.download=c;l.click()}; h.readAsDataURL(f);return k.yield(H0(),5);case 5:return k.return();case 4:return a.sandbox==null&&(a.sandbox=new D0,a.sandbox.load()),k.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 k.yield(H0(),0)}})} function l$a(a,b,c,e){c=c===void 0?"":c;e=e===void 0?E0:e;var f;return Ra(function(h){switch(h.o){case 1:if(!k$a(e))return h.return(!1);Ja(h,2);return h.yield(n$a(a,b,c),4);case 4:Ka(h,3);break;case 2:f=La(h);if(f instanceof DOMException&&f.name==="SecurityError")return h.return(!1);throw f;case 3:return h.return(!0)}})} function k$a(a){a=a===void 0?E0:a;return a.qW&&!!window.showSaveFilePicker} function n$a(a,b,c){c=c===void 0?"":c;var e,f,h,k;return Ra(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;Ja(l,2);return l.yield(window.showSaveFilePicker(e),4);case 4:f=l.ma;Ka(l,3);break;case 2:h=La(l);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=0,l.ua=6,l.yield(k.write(a),6);case 6:return Ma(l),l.yield(k.close(),9);case 9:Oa(l,7);break;case 7:return l.return()}})} G0.prototype.dispose=function(){this.sandbox!=null&&this.sandbox.dispose()}; function H0(){return new Promise(function(a){setTimeout(a,500)})} hb("SafeDownloader",G0);var o$a=[8000001,8000086,8000063,8000975,8000976,8000087,8000088]; function p$a(a,b,c){var e=this;this.element=a;this.model=b;this.flags=c;this.validateOnly=pm("validate_only")==="true";this.page=1;this.fields=[];this.mb=[];this.Fa=new Map;this.bubbles=[];this.La=[];this.caseId=null;this.Ca=new Map;this.Pd=new Map;this.c2c=null;this.listeners=[];this.Ic=0;this.Ra=!0;this.o=null;this.qa=this.ad=this.Va=!1;this.ya=this.Pa=this.recaptcha=null;this.yh=[];this.gcmRegistrationId="";this.productSpecificData={};this.ma=[];this.Ha=[];this.Sd="";this.xc=[];this.parentCaseName= "";this.Od=[];this.Qb=!1;this.tb=[];this.va=[];this.targetVerified=this.Db=!1;this.ua=[];this.chatPoolId="";this.ub=!1;this.Sa=this.oa=null;this.Ia=27;this.Qg=this.model.show_recaptcha;this.Ge=this.querySelector(".form-screenshot");this.Mu=new Map;this.submissionChannel=0;this.Ma=new aE("HelpcenterFields/Form");this.submitId=lm;this.dispatchEvent("startinginitialization");a=this.querySelectorAll(".field");for(b=0;b0&&v.parents.push(oa)}}}); J0(this);this.dispatchEvent("fieldsinitialized");this.Qg&&s$a(this);t$a(this);K0(this,!1);u$a(this);v$a(this);w$a(this);this.prepopulateFields();this.element.addEventListener("submit",function(v){v.preventDefault();e.submitForm()}); this.model.c2c_configured&&(this.c2c=(0,window.sc_initFormClickToCall)(this));this.model.is_chat_form&&!this.shouldSubmitToCasesV2()&&L0(this);x$a(this);this.dispatchEvent("validatorinitialized");this.dispatchEvent("initializationcomplete");M0(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 Uq(new jk(b.value)),this.xc.push(Yq(b)),this.ma.push(RO(b));a=w(this.fields);for(b=a.next();!b.done;b=a.next())if(b=b.value,c=b.getFrdIdentifier())this.mb.push(b), (f=this.Fa.get(c))?f.push(b):this.Fa.set(c,[b]);y$a(this,this.element.getAttribute("data-helpcenter-frd-fields-confg"));z$a(this);A$a(this);B$a(this)} n=p$a.prototype;n.querySelector=function(a){return this.element.querySelector(a)}; function N0(a,b){return a.element.querySelector(b)} n.querySelectorAll=function(a){return this.element.querySelectorAll(a)}; function I0(a,b){for(var c=0;c=a.model.total_pages;mm(a.Ge,"hidden",!b);b?a.ya.activate():a.ya.deactivate()}} function t$a(a){if(window.sc_createSpinner){a.o=window.sc_createSpinner("small");mm(a.o.getElement(),"submit-spin",!0);var b=a.element.querySelector(".submit-button");b&&b.parentNode.appendChild(a.o.getElement())}} function K0(a,b){var c=a.page>=a.model.total_pages,e=a.querySelector(".submit-button");e&&(mm(e,"hidden",!c),e.disabled=!a.Ra||b);a.qa&&(e=O0(a)?".high-context-channel-recommendation__recaptcha":".recaptcha",mm(a.querySelector(e),"hidden",!c));if(c=a.querySelector(".previous-button"))mm(c,"hidden",a.page===1),c.disabled=b;if(c=a.querySelector(".next-button"))mm(c,"hidden",a.page===a.model.total_pages),c.disabled=!a.Ra||b;a.o&&(b?a.o.show():a.o.hide());(c=a.querySelector(".high-context-channel-recommendation__button-spinner"))&& mm(c,"hidden",!b);P0(a,b)} function O0(a){return!om(a.querySelector(".high-context-channel-recommendation__container"),"hidden")} function u$a(a){var b=a.querySelector(".submit-button");b&&(!z().li&&a.model.is_chat_form?(b.disabled=!0,N0(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(){C$a(a,a.page-1)&&(a.dispatchEvent("previouspage"),M0(7))}); (b=a.querySelector(".next-button"))&&b.addEventListener("click",a.submitForm.bind(a))} function B$a(a){if($9a()&&!a.model.logged_in){M0(4,304);var b=a.element.querySelector(".need-info-authentication-prompt__container");a=a.element.querySelector(".confirmation-message__authentication-prompt-container");b&&mm(b,"hidden",!1);a&&mm(a,"hidden",!1)}} function A$a(a){if($9a()&&a.model.logged_in){for(var b=[],c=w(o$a),e=c.next();!e.done;e=c.next())(e=a.Fa.get(e.value))&&b.push.apply(b,ya(e));b=w(b);c=b.next();for(e={};!c.done;e={Vs:void 0,Ru:void 0,sD:void 0,targetIdAuthorizationWarning:void 0},c=b.next())e.Vs=c.value,e.sD=e.Vs.getFrdIdentifier(),e.sD&&(e.Ru=e.Vs.querySelector(".text-input-container"),e.targetIdAuthorizationWarning=e.Vs.querySelector(".target-id-authorization-warning"),e.Vs.getElement().addEventListener("focusout",function(f){return function(){var h, k,l,p;return Ra(function(r){switch(r.o){case 1:h=f.Vs.getValues()[0].value;if(!h)return r.return();f.Ru&&mm(f.Ru,"text-input-spin",!0);Ja(r,2,3);return r.yield(D$a(a,f.sD,h),5);case 5:k=r.ma;if(mf(k,B0,1,Oe()).length===0)return r.return();l=mf(k,B0,1,Oe())[0];p=zf(l,2);mm(f.targetIdAuthorizationWarning,"hidden",p);M0(p?4:5,305);case 3:Ma(r);f.Ru&&mm(f.Ru,"text-input-spin",!1);Oa(r,0);break;case 2:La(r),mm(f.targetIdAuthorizationWarning,"hidden",!0),M0(5,305),r.Qa(3)}})}}(e)))}} function v$a(a){a=a.element.getElementsByTagName("textarea");for(var b=0;b .contact-form-label__text');if(a.length!==0&&a[0])return a=a[0],a.textContent?a.textContent:void 0} n.gy=function(a,b){var c=[];I0(this,function(e){var f=K9a(e,a,b);f&&c.push({field:e,control:f,value:b})}); return c}; n.nk=function(){return this.page}; n.submitForm=function(){var a=this;this.Sa&&this.Ia!==27||(this.Sa=kt.Md());for(var b=w(this.ua),c=b.next();!c.done;c=b.next()){c=c.value;var e=c.model;if(!e.nc()&&!e.kd().getId()){nQ(c,!0,this.model.strings.REQUIRED_FIELD);Q0(this,"invalid",this.model.strings.VALIDATION_NOTE);this.dispatchEvent("invalidated");return}}K0(this,!0);I0(this,function(h){h.ua&&(a.Db=!0,h.targetVerified()&&(a.targetVerified=!0))}); if(this.Ic!==0){var f=function(){a.element.removeEventListener("uploadend",f);a.submitForm()}; this.element.addEventListener("uploadend",f)}else this.dispatchEvent("validationstart"),R0(this)||this.dispatchEvent("beforesubmit"),F$a(this).then(function(h){!a.c2c||a.model.use_cufinsert_api_when_validating_only&&a.validateOnly?S0(a)&&a.model.check_chat_availability_before_submitting_request&&!T0()&&!a.shouldSubmitToCasesV2()?G$a(a,h):H$a(a,h):I$a(a,h)}).catch(function(){U0(a,a.model.strings.BACKEND_ERROR); a.dispatchEvent("validationend")})}; function J$a(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(){K$a(a,!1)}); b.addEventListener("click",function(){K$a(a,!0)}); c.addEventListener("click",function(){window.sc_trackStatsEvent(303,55,z().pid);L$a(a,1)}); e.addEventListener("click",function(){window.sc_trackStatsEvent(303,54,z().pid);L$a(a,2)})} function L$a(a,b){b===2&&M$a(a.oa);var c=a.querySelector(".notification-area");c&&(c.textContent="");a.setSubmissionChannel(b);a.oa&&(a.oa.submission_channel=b);a.submitForm()} function K$a(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");mm(a.querySelector("#channel-recommendation-chat-option"),"high-context-channel-recommendation-options__option--active",b);mm(c,"high-context-channel-recommendation-options__option--active",!b);mm(f,"hidden",!b);mm(e,"hidden",b)} function N$a(){var a=Wm("FormSurveysFeature__trigger_id");Vt(new Ut,{triggerId:a,enableTestingMode:Wm("FormSurveysFeature__enable_testing_mode")==="true",productData:{experimentIds:Zm()}})} n.setAssistiveQuestionAnswers=function(a){this.va=a;if(this.c2c&&(!this.model.use_cufinsert_api_when_validating_only||!this.validateOnly)){a=w(this.va);for(var b=a.next();!b.done;b=a.next())if(b=b.value,b.c2cCountry&&b.c2cNumber){this.mf(N0(this,'input[type="tel"]').parentElement.querySelector("select").name).setValues([[b.c2cCountry,b.c2cNumber]]);break}}}; function s$a(a){var b="submit_form";a.model.has_custom_recaptcha_action&&(b="submit_form_"+a.getRedwoodId()+"_"+a.getId());var c=O0(a)?".high-context-channel-recommendation__g-recaptcha":".g-recaptcha";a.recaptcha=new ZD(a.querySelector(c),function(){a.ad=!0;M0(19,22)},b)} function O$a(a){var b=O0(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.Pa=(new lB(c,function(){e&&c.parentNode&&c.parentNode.removeChild(e.getElement());a.qa=!0;M0(19,172);M0(4,172)})).Jm(function(){M0(14,172)})}} function P$a(a){a=a===void 0?null:a;var b=yQ().map(function(c){return c.toString()}); a&&b.push(a);return[PO(NO(MO(new Uq,8001336),8001336).Xc(15),b)]} function M$a(a){a.form_frd_values=a.form_frd_values.filter(function(c){return c.frd_id!==8001336}); var b=P$a("channel_reco_chat_channel_selected")[0];a.form_frd_values.push(p0(b.yc))} function F$a(a){var b,c,e,f,h,k,l,p,r,t,v,y,E,oa,ra,Aa,Ba,Ha,Na,Va,cb,sb,Cb,$b;return Ra(function(Mb){if(Mb.o==1){if(a.oa)return Mb.return(Promise.resolve(a.oa));c={form_id:a.element.getAttribute("id"),header:[],subject:"",content:"",validate_only:a.validateOnly||V0(a)||R0(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:uQ(uQ(uQ(uQ(uQ(uQ(new qQ,a.Ha),a.ma),a.Ma.Jc()),a.ua.map(function(rb){return rb.model}).filter(function(rb){return rb.isRequired()&&rb.isPending()&&rb.isValid()}).map(function(rb){return rb.kd().setRequired(!0)})),[NO(MO(new Uq,8000730),8000730).Xc(15).Kg([zm()])]),P$a()).Jc().map(function(rb){return p0(rb.yc)}), selected_symptom_frd_values:(b=a.selectedSymptomFrdValues)==null?void 0:q9a(b),parent_case_name:a.parentCaseName,submission_channel:a.submissionChannel,cases_attachment:a.Od.map(function(rb){return{blob_name:Of(rb,1),file_name:rb.getFileName()}}), form_revision:Number(a.element.getAttribute("data-contact-form-revision"))};T0()&&(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.ya?Mb.yield(a.ya.getScreenshotData(),3):Mb.Qa(2)}Mb.o!=2&&(h=Mb.ma)&&(a.yh=[{name:"screenshot",value:"There was a file uploaded for this field."},{name:"upload_original_filename",value:h.originalFilename},{name:"upload_cns_filename",value:h.df}, {name:"upload_document_id",value:h.documentId}]);if(a.va.length>0)for(c.is_assistive=!0,c.assistive_flow_results=[],k=w(a.va),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});t=a.getFieldValues();v=Q$a(a,!0);y=new Map(a.getHcfNameScFrdValueMap().entries()); a.ua.map(function(rb){return rb.model}).forEach(function(rb){rb.isValid()&&y.set(rb.getName(),RO(rb.kd()))}); for(E=0;E0&&(c.product_specific_data=cb);a.Db&&(c.target_submission_details={used_target_selector:!0,is_target_selector_verified:a.targetVerified});return Mb.return(c)})} function G$a(a,b){var c=W0(a,1);Am({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)?H$a(a,b):(a.o&&a.o.hide(),L0(a))}, qd:function(e){window.sc_trackStatsEvent(52,21,"escalationavailability: - "+e.statusText);a.o&&a.o.hide();if(e=a.querySelector(".submit-button"))e.disabled=!1;U0(a,a.model.strings.BACKEND_ERROR);a.dispatchEvent("validationend")}})} n.getChatAvailability=function(){var a=this;return Ra(function(b){return b.return(R$a(a))})}; function I$a(a,b){var c,e,f,h,k,l;Ra(function(p){if(p.o==1)return c={contact_flow:b},a.qa?(c.recaptcha_response=a.Pa.getResponse(),p.Qa(2)):a.ad?p.yield(a.recaptcha.getResponse(),4):p.Qa(2);p.o!=2&&(c.recaptcha_response_v3=p.ma);a.c2c.populateCallParameters(c);a.shouldSubmitToCasesV2()&&(e={},f=W0(a,5),gg(f,2)&&(e.form_id=Of(f,2)),Ad(Ae(f,4))!=null&&(e.redwood_form_id=Sf(f,4)),e.channel=[5],Ee(f,pP,7)?e.sc_frd_values=p9a(new qQ(f.getScFrdValues())):Ee(f,Wj,1)&&(e.frd_values=q9a(new qQ(kf(f,Wj,1)))), c.escalation=e);h={v:"1",psd:JSON.stringify(a.productSpecificData)};(k=pm("test"))&&(h.test=k);(l=pm("cases2"))&&(h.cases2=l);b.submit_id=a.submitId;Am({httpMethod:"POST",endpoint:"createcall",params:h,requestBody:c,onLoadCallback:function(r){var t=null;try{t=JSON.parse(r.responseText)}catch(v){}X0(a,{type:"c2c",response:t})}, qd:function(){X0(a,{type:"c2c",response:!1})}}); Ia(p)})} function H$a(a,b){var c,e,f,h;Ra(function(k){if(k.o==1)return c={v:"0",psd:JSON.stringify(a.productSpecificData)},(e=pm("test"))&&(c.test=e),(f=pm("cases2"))&&(c.cases2=f),b.submit_id=a.submitId,h={common_params:{context_params:{view_id:z().vid}},resource:b},a.qa?(h.recaptcha_response=a.Pa.getResponse(),k.Qa(2)):a.ad?k.yield(a.recaptcha.getResponse(),4):k.Qa(2);k.o!=2&&(h.recaptcha_response_v3=k.ma);S0(a)&&(a.shouldSubmitToCasesV2()||f)&&(a.Va=!0);Am({httpMethod:"POST",endpoint:"cufinsert",params:c, requestBody:h,onLoadCallback:function(l){var p=null;try{p=JSON.parse(l.responseText)}catch(r){X0(a,{type:"cuf",response:l.responseText,formData:b});return}X0(a,{type:"cuf",response:p,formData:b})}, qd:function(){X0(a,{type:"cuf",response:!1,formData:b})}, Ym:!0});Ia(k)})} function S0(a){return a.model.is_chat_form||a.ub&&a.oa!==null&&a.oa.submission_channel===2} function V0(a){if(!a.model.fix_multi_page)return!1;var b=!1;I0(a,function(c){Number(c.nk())>a.nk()&&c.hasSatisfiedDependencies()&&(b=!0)}); return b} function R0(a){var b=a.getContactType()===0;return a.model.logged_in&&ASa()&&b&&!a.ub} function S$a(a,b){a.oa=b;a.oa.validate_only=a.validateOnly||V0(a);a.ub=!0;b={contact_flow_model:b};Am({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){Y0(a,{response:c.responseText});return}Y0(a,{response:e})}, qd:function(){Y0(a,{response:!1})}, Ym:!0})} function Y0(a,b){if(typeof b.response!=="object")a.submitForm();else if(b=b.response,b.channel_type&&b.channel_type==="CHAT"&&a.getContactType()===0){a.Ia=28;T$a(a);window.sc_trackStatsEvent(303,4,z().pid);var c=a.querySelector(".high-context-channel-recommendation__container");U$a(a,!1);mm(c,"hidden",!1);a.dispatchEvent("highcontextchannelrecommendationfound");a.Qg&&s$a(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,cm.Wd(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=a.model.strings.CHANNEL_RECOMMENDATION_HELP_TEXT.replace("$0",""+(Math.floor(b.estimated_save_time.seconds/3600)+1)),Ml(c,cm.Wd(b))):mm(e,"hidden",!0);J$a(a)}else a.Ia=29,a.submitForm()} function D$a(a,b,c){var e;return Ra(function(f){e=c$a(new A0,b$a(a$a(new y0,b),c));return f.return(new Promise(function(h,k){Am({httpMethod:"POST",params:{v:"1",psd:JSON.stringify(a.productSpecificData)},endpoint:"authorizetargets",requestBody:e,onLoadCallback:function(l){var p=null;try{p=e$a(l.responseText),h(p)}catch(r){k(Error("Failed to parse AuthorizeTargetsResponse."))}}, qd:function(){k(Error("API error authorizing targets."))}, Ym:!0})}))})} function T$a(a){a.Sa.report(a.Ia);a.Sa=null;a.Ia=27} n.getSubjectFieldId=function(){return N0(this,'input[name="subject-line-field-id"]').value}; n.getBodyFieldId=function(){return N0(this,'input[name="body-text-field-id"]').value}; function Q$a(a,b){var c=[];I0(a,function(p){if(p.hasSatisfiedDependencies())for(var r=p.getValues(b),t=0;t0){U0(a,$$a(e),e);a.dispatchEvent("validationend");break a}aab(a,e)}else U0(a,a.model.strings.BACKEND_ERROR,e)}else U0(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(V0(a))Z0(a);else if(R0(a))S$a(a,b);else{b=pm("cases2"); if(b=S0(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,Y$a(a));a.validateOnly||(!b||T0()||z().rs===79&&a.flags.enableChatMoleMigration||((0,window.sc_ensureSubscribed)(),a.dispatchEvent("chatrequested")),T$a(a),Z$a(a));$0(!0);e=!0}else aab(a,c);else U0(a,$$a(c),c);else U0(a,a.model.strings.CONNECTION_ERROR);c=pm("cases2");!e&&S0(a)&&(a.shouldSubmitToCasesV2()|| c)&&(a.Va=!1);a.dispatchEvent("validationend")}} function bab(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 $$a(a){var b;return((b=a.submit_error)==null?0:b.length)?(a=a.submit_error[0],bab(a.code,a.sub_code)):""} function cab(a,b){var c=O0(a)?".high-context-channel-recommendation__recaptcha":".recaptcha";(a=a.querySelector(c))&&mm(a,"invalid",b)} function aab(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=dab(a,h[1],h[2]))h.isVisible()?nQ(h,!0,a.model.strings.REQUIRED_FIELD):e=a.model.strings.REQUIRED_FIELD+": "+h.model.getName(),c=!0}else{var k=a.mf(h[1]);if(h[0]==="REQUIRED_RECAPTCHA")a.page===a.model.total_pages&&(e=a,e.model.fallback_to_recaptcha_v2&&(e.qa||(h=O0(e)?".high-context-channel-recommendation__g-recaptcha":".g-recaptcha", (h=e.querySelector(h))&&mm(h,"hidden",!0),O$a(e)),cab(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")L0(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?(Q0(a,"invalid",e+eab(a,b)),a.dispatchEvent("invalidated"),M0(17)):Z0(a)} function X$a(a){var b=a.querySelector(".notification-area");b&&(mm(b,"error",!1),mm(b,"invalid",!1),b.textContent="");I0(a,function(e){e.setValidity(!0)}); b=w(a.ua);for(var c=b.next();!c.done;c=b.next())nQ(c.value,!1);a.qa&&cab(a,!1)} function Q0(a,b,c){var e=a.querySelector(".notification-area");e&&(mm(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){Q0(this,"error",a)}; function U0(a,b,c){a.setErrorMessage(b+eab(a,c));a.dispatchEvent("error");$0(!1)} function eab(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(ya(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(ya(b.result)));return a.join("\n")} function Z0(a){C$a(a,a.page+1);a.dispatchEvent("nextpage");M0(6)} function Z$a(a){a.dispatchEvent("submitstart");if(!S0(a)||a.va.length>0)U$a(a),fab(a);if(S0(a)){var b=a.querySelector(".submit-button");b&&(b.disabled=!0);P0(a,!0);window.sc_enableFormSubmissionDetailsAndDownloadUi&&(gab(a),hab(a,N0(a,".submission-details-chat__content")),iab(a),b=N0(a,".submission-details-chat__download-button"),b.addEventListener("click",function(){jab(a)}),N0(a,".submission-details-chat__edit-button").addEventListener("click",function(){kab(a)}),window.sc_trackStatsEvent(182,4, z().pid),mm(N0(a,".submission-details-chat"),"hidden",!1),b.focus()); N0(a,".notification-area").textContent=a.model.strings.CHAT_CREATING;a.dispatchEvent("chatrequested")}M0(22);a.dispatchEvent("submitend");a.dispatchEvent("cleancomplete");Wm("FormSurveysFeature__enable_hats")==="true"&&N$a()} function P0(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 U$a(a,b){b=b===void 0?!0:b;for(var c=S0(a)&&a.va.length>0,e=0;e0&&a.Pd.set(c.getId(),e)}b=w(a.ua);for(c=b.next();!c.done;c=b.next())c=c.value,e=c.ih(),c.isVisible()&&e&&a.Ca.set(e,c.getDisplayValues())} function hab(a,b){a=w(a.Ca.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+=": ",mm(c,"multi-value",f.length>1),e=w(f),f=e.next();!f.done;f=e.next())f=f.value,h=document.createElement("span"),mm(h,"submission-value",!0),h.innerText=f,c.appendChild(h);b.appendChild(c)}} function jab(a){for(var b="",c=w(a.Ca.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";G0.download(b,c,"text/plain");window.sc_trackStatsEvent(182,47,z().pid);Xm("contact_form_submission_download")} function kab(a){var b=new URLSearchParams;a=w(a.Pd.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)}Xm("contact_form_submission_edit");window.sc_trackStatsEvent(182,24,z().pid);b=new URL(""+window.location.origin+window.location.pathname+"?"+b);Lm(b.toString())} function $0(a){Am({httpMethod:"POST",endpoint:"cufz",requestBody:{success:a,page_view_id:z().pvid}})} function dab(a,b,c){return b&&c?a.ua.find(function(e){return SO(e.model.kd(),MO(NO(new Uq,+b),+b).Xc(+c))}):null} n.mf=function(a){var b=null;I0(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 C$a(a,b){if(b===a.page||b<1||b>a.model.total_pages)return!1;a.page=b;J0(a);K0(a,!1);return!0} function M0(a,b){window.sc_trackStatsEvent(b===void 0?21:b,a,z().pid)} function lab(a,b){var c=W0(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){Am({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"))}}, qd:function(){h(Error("escalationavailability endpoint returned an error"))}, Ym:!0})})} function W0(a,b){var c=new pQ,e=a.getId();ag(c,2,e);e=Number(a.getRedwoodId());Zf(c,4,e);We(c,3,[b],vd);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,ya((h=OO(f.value))!=null?h:[]))}a=uSa(uQ(sQ(new qQ,rQ(a.selectedSymptomFrdValues)).Yc(a.selectedSymptomFrdValues.Ag()),[PO(MO(NO(new Uq,8000072),8000072).Xc(15),b)]));of(c,pP,7,a)}return c} n.getEscalationChannelAvailabilityInformation=function(a){var b=this,c,e,f,h,k,l,p,r,t;return Ra(function(v){if(v.o==1)return v.yield(lab(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 R$a(a){var b,c,e;return Ra(function(f){return f.o==1?f.yield(lab(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 x$a(a){var b=a.querySelector(".contact-form__gdpr-dialog");if(b){var c=function(e){var f=this.Gb().strings,h=this.Gb().style_params,k=this.Gb().gdpr_privacy_policy_url,l=z().lang,p={};f=new gE(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 wQ({Na:f,locale:l,privacyPolicyUrl:k,aq:h?{"font-family":h.font_family.title}:void 0,jo:h?{"font-family":h.font_family.body}: void 0,zo:h?{"font-weight":String(h.strong_font_weight)}:void 0});go(e,function(){r.render()}); return r}.call(a,b); ySa(c,function(){c.data=new Map;c.Ja();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||xQ(c,f.name,f.value);e=w(Object.keys(a.productSpecificData));for(f=e.next();!f.done;f=e.next())f=f.value,xQ(c,f,a.productSpecificData[f]);a.gcmRegistrationId&&xQ(c,"GCM",a.gcmRegistrationId)})}} function r$a(a,b){b.addEventListener("uploadstart",function(){++a.Ic}); b.addEventListener("uploadend",function(){--a.Ic;$m(a.element,"uploadend")})} function L0(a){if(!a.Va){var b=a.querySelector(".submit-button");b&&(b.disabled=!0);P0(a,!0);b=N0(a,".notification-area");mm(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.Gb=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.rR=function(){var a=[];I0(this,function(b){a.push(mab(b))}); Array.prototype.push.apply(a,V$a(this));return a}; function mab(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.sR=function(){var a=[];I0(this,function(b){b.isVisible()&&a.push(mab(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.Qb;)a.tb.shift()()} n.fu=function(){var a=this;if(oP(b1(this))){var b=document.activeElement;c1(this,!0);var c=new HP;oab(this,c);Am({httpMethod:"POST",endpoint:"getavailablevaluesforgraph",params:{v:"1"},requestBody:c.serialize(),onLoadCallback:function(e){try{for(var f=qRa(e.responseText),h=w(mf(f,IP,2,Oe())),k=h.next();!k.done;k=h.next()){var l=kf(k.value,Hj,1),p=l.getFrdContext(),r=p?Wf(p,2):null,t=a.Fa.get(x0(l));if(t)for(var v=w(t),y=v.next();!y.done;y=v.next()){var E=y.value,oa=X9a(E),ra=Wf(oa,2);if(!(r&&ra&& r!==ra||!u0(E))){var Aa=zj(Bj(Kj(l)),Sc);switch(E.getType()){case "CHECKBOX":case "RADIOBUTTON":for(var Ba=w(E.querySelectorAll(".list-item")),Ha=Ba.next();!Ha.done;Ha=Ba.next()){var Na=Ha.value,Va=Aa.indexOf(Na.querySelector("input").value)===-1;mm(Na,"hidden-by-vrg",Va)}break;case "DROPDOWN":for(var cb=w(E.querySelectorAll("option")),sb=cb.next();!sb.done;sb=cb.next()){var Cb=sb.value;if(Cb!==E.querySelector("option")){var $b=Aa.indexOf(Cb.value)===-1;mm(Cb,"hidden-by-vrg",$b)}}E.element.querySelector("select").dispatchEvent(new Event("selectvrgupdate"))}}}}}catch(Mb){}c1(a, !1);b.focus();nab(a)}, qd:function(){c1(a,!1);b.focus();nab(a)}})}}; function c1(a,b){a.Qb=b;a=w(a.mb);for(var c=a.next();!c.done;c=a.next())c=c.value,u0(c)&&Z9a(c,b)} function oab(a,b){var c=b1(a);c=oP(c);nRa(b,Tf(c,1));oRa(b,xf(c,2));c=[];for(var e=[],f=!1,h=w(a.mb),k=h.next();!k.done;k=h.next()){k=k.value;if(u0(k)){var l=k.getFrdIdentifier();l&&c.push(l)}if(s0(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 Aj,k.getType()==="HIDDEN"?pab(Y9a(k),l[0],p):k.getFrdIdentifier()===8000001?p.Fi((new uj).Lg(l.map(function(v){return Number(v)||0}))):Cj(p,(new yj).Lg(l)),l=Lj(new Hj, p),p=X9a(k),(r=yf(p,2))&&Ij(l,rj(new qj,yf(p,1)).Xc(r)),(k=k.getFrdV2Identifier())&&Jj(l,k),e.push(l),!f&&x0(l)===8000072&&(f=!0))}}if(window.sc_filter_promoted_by_selected_symptom&&!f){var t; h=(t=a.selectedSymptomFrdValues)==null?void 0:rQ(t);t=So(Tf(b,2));if(a.selectedSymptomFrdValues&&h&&t&&h===t){t=w(a.xc);for(h=t.next();!h.done;h=t.next())if(x0(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,ya((k=OO(h.value))!=null?k:[]));e.push(Yq(PO(MO(NO(new Uq,8000072),8000072).Xc(15),f)))}}}We(b,3,c,vd);m9a(b,a.xc.concat(e));cg(b,5,a.model.content_publish_state)} function pab(a,b,c){switch(a){case 1:c.Fi((new uj).Lg([Number(b)]));break;case 2:case 5:c.Kg((new yj).Lg([b]));break;case 3:Ej(c,Iea(new tj,[Number(b)]));break;case 4:a=b.split(",");Cj(c,(new yj).Lg(a));break;case 9:c.Ph(b==="true");break;case 8:a=b.split(",").map(function(e){return Number(e)}); c.bw(xj(new vj,[(new uj).Lg(a)]));break;case 11:case 6:case 7:case 10:Gj(c,(new sj).Lg([b]))}} function b1(a){a=JSON.parse(a.element.getAttribute("data-form-service-vrg"));return new nP(a)} n.getServiceVrgTaxonomyId=function(){var a=oP(b1(this));return a?So(Tf(a,1)):null}; n.getServiceVrgTaxonomyView=function(){var a=oP(b1(this));return a?Of(a,2):null}; n.setSupportJourneyId=function(a){this.submitId=a}; function Y$a(a){window.sc_log&&window.sc_log("Form","INFO","Case ID: "+a.caseId)} n.setIncludesTargetSelector=function(a){this.Db=a}; n.setTargetVerified=function(a){this.targetVerified=a}; function y$a(a,b){var c,e,f,h,k,l,p,r,t;Ra(function(v){if(v.o==1){if(!b)return v.return();c=new FP(JSON.parse(b));a.Sd=(e=Ef(c,7))!=null?e:"";a.Sd&&window.sc_log&&window.sc_log("Helpcenter Field","INFO","Form Helpcenter Fields User-based FRD Value Lookup EventID: "+a.Sd);return v.yield(oQ({helpCenterFrdFieldsConfg:c,locale:z().lang,neoTaxonomy:GP(),placements:[a.Ht(1),a.Ht(2)],Sv:"*"}),2)}f=v.ma;h=a.getScFrdValues().map(function(y){return new Uq(y)}); k=w(a.Fa.keys());for(l=k.next();!l.done;l=k.next())p=l.value,h.push(NO(new Uq,p));r=a.getHcfNameScFrdValueMap();t=f.Vh;qab(a,t,2,h,r,".cf div.helpcenter-fields-container.top");qab(a,t,1,h,r,".cf div.helpcenter-fields-container.bottom");WO(a.Ma,a.ua.concat(f.Ar).map(function(y){return y.model})); Ia(v)})} n.Ht=function(a){var b=new $O,c=new ZO,e=this.getContactType();bf(c,3,YO,wd(e));cg(c,2,a);tf(b,1,ZO,c);c=new ZO;e=this.getRedwoodId();bf(c,1,YO,Td(e));cg(c,2,a);tf(b,1,ZO,c);a=new eP;pf(a,1,dP,b);return a}; function qab(a,b,c,e,f,h){if(h=a.element.querySelector(h)){var k=b.filter(function(l){if(l.model.placements.length||e.some(function(E){return SO(E,l.model.kd())})||!l.model.kd().getId()&&f.has(l.model.getName()))return!1; for(var p=w(l.model.qa),r=p.next();!r.done;r=p.next()){r=r.value;var t=void 0,v=void 0,y=w((v=(t=r.Au())==null?void 0:t.o())!=null?v:[]);for(t=y.next();!t.done;t=y.next())t.value.ut()===c&&l.model.placements.push(r)}return!!l.model.placements.length}); k.length&&go(h,function(){for(var l=w(k),p=l.next();!p.done;p=l.next())p=p.value,p.render(),a.ua.push(p)})}} n.getHelpCenterFieldFrds=function(a){return this.Ma.Jc(a===void 0?!1:a).map(function(b){return RO(b)})}; n.setHelpCenterFieldFrd=function(a){a=new Uq(a);for(var b=w(UO(this.Ma)),c=b.next();!c.done;c=b.next())if(c=c.value,SO(c.kd(),a)){n9a(c,a);break}}; function z$a(a){var b=[];z().is_render_api||b.push("direct_to_form");pm("cse")==="gse"&&b.push("gse");b.length&&a.addScFrdValue(RO(PO(MO(NO(new Uq,8000104),8000104).Xc(15),b)))} function T0(){switch(z().rs){case 3:case 8:return!0;default:return!1}} window.sc_initForm=function(a,b,c){a=new p$a(a,b,c);return{getEscalationChannelAvailabilityInformation:a.getEscalationChannelAvailabilityInformation.bind(a),getContactType:a.getContactType.bind(a),submitForm:a.submitForm.bind(a),getFields:a.rR.bind(a),getVisibleFields:a.sR.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),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)}};

false
false
false
false
false
false
false
false