Google Transit Pre-launch Checklist

Here are a list of things to verify before you request that Google makes your Google Transit feed available for public use. Completing this checklist as completely as possible will expedite our review of your feed so that we can approve it for launch. You may reuse this form to grant approvals for different feed IDs.

IMPORTANT: Once you submit this checklist, please do NOT upload new version of your feed, until Google feed review completes. Uploading a new feed during this period may delay our review process.

* Required field

Please enter a valid email address.
I have signed the Google Transit Agreement.
Each agency has to complete an online agreement before it can request to launch on Google Maps.
*
The current feed version is available in Preview environment?
Note: we will proceed with the next step once current feed version is available in the Preview environment.
I have resolved all warnings listed in the Validation Report or I have provided reasons why those warnings can be ignored below.
The Validation Report can be accessed in the Partner Front End by clicking on the status of the feed.
*
The service period of my feed is greater than 28 days. *
I have verified that my shapes are correct and my stops are in the right locations in the Validation Report.
All shape related warnings like “Stop Too Far From Shape” or “Stops Match Shape In Wrong Order” need to be resolved.
*
I have run through the random queries and am satisfied with the results.
The random queries are provided under “Queries” in the Validation Report
*
All route service information available in the website is updated in the current feed version
If not, specify a new website URL or upload a file
Is the current feed version final and no other changes are applicable in the near future?
I have reviewed my trip schedules in the Validation Report. *
The uploaded feed version is finalized for review and no changes will be applied during review period.
I have tested my fares and they are computed correctly in my preview.
If you have fare information you may find the following examples helpful:
http://code.google.com/p/googletransitdatafeed/wiki/FareExamples
*
Does your data include services that overlap with neighboring transport agencies?
 
Did you review and confirm that there were no duplicate live results (not in Confidential) of your data?
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
Main menu
6261752136433775194
true
Search Help Center
true
true
true
true
true
82656
'); a=Ym("data:text/html;charset=UTF-8;base64,"+btoa(c.toString()));b.srcdoc=on(c)}else{c=new Map([["nonce",a]]);var e=Zm(z4a).toString();var f=e.split(/[?#]/),h=/[?]/.test(e)?"?"+f[1]:"";a=f[0];e=/[#]/.test(e)?"#"+(h?f[2]:f[1]):"";a=T3a(a,h,e,c)}b.src=Zm(a).toString();b.style.cssText="height: 0; left: 0; position: absolute; top: 0; width: 0;";b.setAttribute("aria-hidden","true");return b} ;var E0={uT:!1},F0;function G0(a){this.options=a=a===void 0?E0:a;E4a(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 Ya(function(f){if(f.o==1)return f.yield(F4a(a,b,c,e),2);if(f.ma)return f.return();F0||(F0=new G0,F0.init());return f.yield(G4a(F0,a,b,c),0)})}; G0.prototype.init=function(){var a=this;return Ya(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 Ya(function(f){return f.o==1?f.yield(F4a(a,b,c,e.options),2):f.ma?f.return():f.yield(G4a(e,a,b,c),0)})}; function G4a(a,b,c,e){e=e===void 0?"":e;var f,h;return Ya(function(k){switch(k.o){case 1:f=b instanceof Blob?b:new Blob([b],{type:e});if(typeof navigator.msSaveOrOpenBlob!=="function"){k.Na(2);break}navigator.msSaveOrOpenBlob(f,c);return k.yield(H0(),3);case 3:return k.return();case 2:if(!hc()||Kb(S3a(),16)>=0||!bc()&&(!Ub("iPad")&&!Ub("iPhone")||ac()||bc()||(Vb()?0:Ub("Coast"))||Zb()||!Ub("AppleWebKit"))){k.Na(4);break}h=new FileReader;h.onload=function(){var l=cp("A"),p=gn(String(h.result));jn(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 F4a(a,b,c,e){c=c===void 0?"":c;e=e===void 0?E0:e;var f;return Ya(function(h){switch(h.o){case 1:if(!E4a(e))return h.return(!1);Pa(h,2);return h.yield(H4a(a,b,c),4);case 4:Qa(h,3);break;case 2:f=Sa(h);if(f instanceof DOMException&&f.name==="SecurityError")return h.return(!1);throw f;case 3:return h.return(!0)}})} function E4a(a){a=a===void 0?E0:a;return a.uT&&!!window.showSaveFilePicker} function H4a(a,b,c){c=c===void 0?"":c;var e,f,h,k;return Ya(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 w={};r.types=[{description:"*"+t,accept:(w[/^\s*[a-zA-Z0-9+._-]+\/[a-zA-Z0-9+._-]+?\s*$/.test(p)?p:"*/*"]=[t],w)}]}e=r;Pa(l,2);return l.yield(window.showSaveFilePicker(e),4);case 4:f=l.ma;Qa(l,3);break;case 2:h=Sa(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.ua=0,l.oa=6,l.yield(k.write(a),6);case 6:return Ta(l),l.yield(k.close(),9);case 9:Va(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)})} ub("SafeDownloader",G0);function I4a(a,b,c){var e=this;this.element=a;this.model=b;this.flags=c;this.validateOnly=Yn("validate_only")==="true";this.page=1;this.fields=[];this.Ra=[];this.Ha=new Map;this.bubbles=[];this.Pa=[];this.caseId=null;this.ya=new Map;this.Ec=new Map;this.c2c=null;this.listeners=[];this.mb=0;this.Ka=!0;this.o=null;this.Ma=!1;this.Jd=this.model.show_recaptcha;this.oa=this.ub=!1;this.Ia=this.recaptcha=null;this.Pb=this.querySelector(".form-screenshot");this.va=null;this.kd=[];this.gcmRegistrationId=""; this.productSpecificData={};this.ma=[];this.Ea=[];this.Nd="";this.hb=[];this.vt=new Map;this.parentCaseName="";this.submissionChannel=0;this.vc=[];this.tb=!1;this.Qa=[];this.ua=[];this.targetVerified=this.Ua=!1;this.Ca=new YC("HelpcenterFields/Form");this.qa=[];this.submitId=Un;this.chatPoolId="";this.dispatchEvent("startinginitialization");a=this.querySelectorAll(".field");for(b=0;b0&&h.parents.push(p)}}}); J0(this);this.dispatchEvent("fieldsinitialized");this.Jd&&K4a(this);L4a(this);K0(this,!1);M4a(this);N4a(this);O4a(this);this.prepopulateFields();this.element.addEventListener("submit",function(h){h.preventDefault();e.submitForm()}); this.model.c2c_configured&&(this.c2c=(0,window.sc_initFormClickToCall)(this));this.model.is_chat_form&&!this.shouldSubmitToCasesV2()&&L0(this);P4a(this);this.dispatchEvent("validatorinitialized");this.dispatchEvent("initializationcomplete");M0(20);if(a=this.element.getAttribute("data-form-sc-frd-values"))for(a=u(JSON.parse(a)),b=a.next();!b.done;b=a.next())b=new Oz(new gm(b.value)),this.hb.push(Sz(b)),this.ma.push(nP(b));a=u(this.fields);for(b=a.next();!b.done;b=a.next())if(b=b.value,c=b.getFrdIdentifier()){this.Ra.push(b); var f=this.Ha.get(c);f?f.push(b):this.Ha.set(c,[b])}Q4a(this,this.element.getAttribute("data-helpcenter-frd-fields-confg"));R4a(this)} n=I4a.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;Vn(a.Pb,"hidden",!b);b?a.va.activate():a.va.deactivate()}} function L4a(a){if(window.sc_createSpinner){a.o=window.sc_createSpinner("small");Vn(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&&(Vn(e,"hidden",!c),e.disabled=!a.Ka||b);a.oa&&Vn(a.querySelector(".recaptcha"),"hidden",!c);if(c=a.querySelector(".previous-button"))Vn(c,"hidden",a.page===1),c.disabled=b;if(c=a.querySelector(".next-button"))Vn(c,"hidden",a.page===a.model.total_pages),c.disabled=!a.Ka||b;a.o&&(b?a.o.show():a.o.hide())} function M4a(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(){S4a(a,a.page-1)&&(a.dispatchEvent("previouspage"),M0(7))}); (b=a.querySelector(".next-button"))&&b.addEventListener("click",a.submitForm.bind(a))} function N4a(a){a=a.element.getElementsByTagName("textarea");for(var b=0;b0)for(c.is_assistive=!0,c.assistive_flow_results=[],k=u(a.ua),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();w=$4a(a,!0);E=new Map(a.getHcfNameScFrdValueMap().entries()); a.qa.map(function(mb){return mb.model}).forEach(function(mb){mb.isValid()&&E.set(mb.getName(),nP(mb.Cd()))}); for(la=0;la0&&(c.product_specific_data=Ua);a.Ua&&(c.target_submission_details={used_target_selector:!0,is_target_selector_verified:a.targetVerified});return Mb.return(c)})} function V4a(a,b){var c=S0(a,1);io({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)?W4a(a,b):(a.o&&a.o.hide(),L0(a))}, Fd:function(e){window.sc_trackStatsEvent(52,21,"escalationavailability: - "+e.statusText);a.o&&a.o.hide();if(e=a.querySelector(".submit-button"))e.disabled=!1;Q0(a,a.model.strings.BACKEND_ERROR);a.dispatchEvent("validationend")}})} n.getChatAvailability=function(){var a=this;return Ya(function(b){return b.return(a5a(a))})}; function X4a(a,b){var c,e,f,h,k,l;Ya(function(p){if(p.o==1)return c={contact_flow:b},a.oa?(c.recaptcha_response=a.Ia.getResponse(),p.Na(2)):a.ub?p.yield(a.recaptcha.getResponse(),4):p.Na(2);p.o!=2&&(c.recaptcha_response_v3=p.ma);a.c2c.populateCallParameters(c);a.shouldSubmitToCasesV2()&&(e={},f=S0(a,5),xh(f,2)&&(e.form_id=Ug(f,2)),Tg(f,4)!=null&&(e.redwood_form_id=Tg(f,4)),e.channel=[5],Vf(f,JP,7)?e.sc_frd_values=Q3a(new HQ(f.getScFrdValues())):Vf(f,Wl,1)&&(e.frd_values=R3a(new HQ(Eg(f,Wl,1)))),c.escalation= e);h={v:"1",psd:JSON.stringify(a.productSpecificData)};(k=Yn("test"))&&(h.test=k);(l=Yn("cases2"))&&(h.cases2=l);b.submit_id=a.submitId;io({httpMethod:"POST",endpoint:"createcall",params:h,requestBody:c,onLoadCallback:function(r){var t=null;try{t=JSON.parse(r.responseText)}catch(w){}T0(a,{type:"c2c",response:t})}, Fd:function(){T0(a,{type:"c2c",response:!1})}}); Oa(p)})} function W4a(a,b){var c,e,f,h;Ya(function(k){if(k.o==1)return c={v:"0",psd:JSON.stringify(a.productSpecificData)},(e=Yn("test"))&&(c.test=e),(f=Yn("cases2"))&&(c.cases2=f),b.submit_id=a.submitId,h={common_params:{context_params:{view_id:z().vid}},resource:b},a.oa?(h.recaptcha_response=a.Ia.getResponse(),k.Na(2)):a.ub?k.yield(a.recaptcha.getResponse(),4):k.Na(2);k.o!=2&&(h.recaptcha_response_v3=k.ma);a.model.is_chat_form&&(a.shouldSubmitToCasesV2()||f)&&(a.Ma=!0);io({httpMethod:"POST",endpoint:"cufinsert", params:c,requestBody:h,onLoadCallback:function(l){var p=null;try{p=JSON.parse(l.responseText)}catch(r){T0(a,{type:"cuf",response:l.responseText});return}T0(a,{type:"cuf",response:p})}, Fd:function(){T0(a,{type:"cuf",response:!1})}, pr:!0});Oa(k)})} function R0(a){if(!a.model.fix_multi_page)return!1;var b=!1;I0(a,function(c){Number(c.Zj())>a.Zj()&&c.hasSatisfiedDependencies()&&(b=!0)}); return b} 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 $4a(a,b){var c=[];I0(a,function(p){if(p.hasSatisfiedDependencies())for(var r=p.getValues(b),t=0;t0){Q0(a,g5a(e),e);a.dispatchEvent("validationend");break a}h5a(a,e)}else Q0(a,a.model.strings.BACKEND_ERROR,e)}else Q0(a,a.model.strings.CONNECTION_ERROR);a.dispatchEvent("validationend")}else{b=b.response;e=typeof b==="object"?b==null?void 0:(c=b.result)==null?void 0:c[0]:void 0;c=!1;if(b&&typeof b==="object")if(!b.error&&b.result&&e&&e.indexOf("PERM_FAILURE")!==0)if(e==="ACCEPTED"||e==="SUCCESS"||e==="RETRIED")if(R0(a))U0(a);else{c=Yn("cases2");if(c=a.model.is_chat_form&&(a.shouldSubmitToCasesV2()|| c))a.chatPoolId=b.chat_pool_id||"",a.model.chat_support_request_id=b.chat_support_request_id||"";a.dispatchEvent("validated");b.case_id&&(a.caseId=b.case_id,e5a(a));a.validateOnly||(!c||P0()||z().rs===79&&a.flags.enableChatMoleMigration||((0,window.sc_ensureSubscribed)(),a.dispatchEvent("chatrequested")),f5a(a));V0(!0);c=!0}else h5a(a,b);else Q0(a,g5a(b),b);else Q0(a,a.model.strings.CONNECTION_ERROR);b=Yn("cases2");!c&&a.model.is_chat_form&&(a.shouldSubmitToCasesV2()||b)&&(a.Ma=!1);a.dispatchEvent("validationend")}} function i5a(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 g5a(a){var b;return((b=a.submit_error)==null?0:b.length)?(a=a.submit_error[0],i5a(a.code,a.sub_code)):""} function j5a(a,b){(a=a.querySelector(".recaptcha"))&&Vn(a,"invalid",b)} function h5a(a,b){for(var c=!1,e=a.model.strings.VALIDATION_NOTE,f=u(b.result||[]),h=f.next();!h.done;h=f.next())if(h=h.value.split(":"),h[0]==="REQUIRED_FORM_FRD_VALUE"){if(h=k5a(a,h[1],h[2]))h.isVisible()?EQ(h,!0,a.model.strings.REQUIRED_FIELD):e=a.model.strings.REQUIRED_FIELD+": "+h.model.getName(),c=!0}else{var k=a.jf(h[1]);if(h[0]==="REQUIRED_RECAPTCHA")a.page===a.model.total_pages&&(e=a,e.model.fallback_to_recaptcha_v2&&(e.oa||(Vn(e.querySelector(".g-recaptcha"),"hidden",!0),Z4a(e)),j5a(e,!0)), c=!0,e=a.model.strings.REQUIRED_RECAPTCHA_NOTIFICATION);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){A0(k,!1,c.model.strings.PHONE_TYPE_VALIDATION,!0);c=!0;break a}}c=!1}c||A0(k,!1,a.model.strings[h[0]]||a.model.strings.DEFAULT);c=!0}}c?(O0(a,"invalid", e+l5a(a,b)),a.dispatchEvent("invalidated"),M0(17)):U0(a)} function d5a(a){var b=a.querySelector(".notification-area");b&&(Vn(b,"error",!1),Vn(b,"invalid",!1),b.textContent="");I0(a,function(e){A0(e,!0)}); b=u(a.qa);for(var c=b.next();!c.done;c=b.next())EQ(c.value,!1);a.oa&&j5a(a,!1)} function O0(a,b,c){var e=a.querySelector(".notification-area");e&&(Vn(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){O0(this,"error",a)}; function Q0(a,b,c){a.setErrorMessage(b+l5a(a,c));a.dispatchEvent("error");V0(!1)} function l5a(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(Aa(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(Aa(b.result)));return a.join("\n")} function U0(a){S4a(a,a.page+1);a.dispatchEvent("nextpage");M0(6)} function f5a(a){a.dispatchEvent("submitstart");if(!a.model.is_chat_form||a.ua.length>0)m5a(a),n5a(a);if(a.model.is_chat_form){var b=a.querySelector(".submit-button");b&&(b.disabled=!0);window.sc_enableFormSubmissionDetailsAndDownloadUi&&(o5a(a),p5a(a,N0(a,".submission-details-chat__content")),q5a(a),b=N0(a,".submission-details-chat__download-button"),b.addEventListener("click",function(){r5a(a)}),N0(a,".submission-details-chat__edit-button").addEventListener("click",function(){s5a(a)}),window.sc_trackStatsEvent(182, 4,z().pid),Vn(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");Eo("FormSurveysFeature__enable_hats")==="true"&&Y4a()} function m5a(a){for(var b=a.model.is_chat_form&&a.ua.length>0,c=0;c0&&a.Ec.set(c.getId(),e)}b=u(a.qa);for(c=b.next();!c.done;c=b.next())c=c.value,e=c.Tg(),c.isVisible()&&e&&a.ya.set(e,c.getDisplayValues())} function p5a(a,b){a=u(a.ya.entries());for(var c=a.next();!c.done;c=a.next()){var e=u(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+=": ",Vn(c,"multi-value",f.length>1),e=u(f),f=e.next();!f.done;f=e.next())f=f.value,h=document.createElement("span"),Vn(h,"submission-value",!0),h.innerText=f,c.appendChild(h);b.appendChild(c)}} function r5a(a){for(var b="",c=u(a.ya.entries()),e=c.next();!e.done;e=c.next()){var f=u(e.value);e=f.next().value;f=f.next().value;b+=e;if(f)for(b+=":",e=u(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);Fo("contact_form_submission_download")} function s5a(a){var b=new URLSearchParams;a=u(a.Ec.entries());for(var c=a.next();!c.done;c=a.next()){var e=u(c.value);c=e.next().value;e=e.next().value;e=u(e);for(var f=e.next();!f.done;f=e.next())b.append("pcff",c+":"+f.value)}Fo("contact_form_submission_edit");window.sc_trackStatsEvent(182,24,z().pid);b=new URL(""+window.location.origin+window.location.pathname+"?"+b);to(b.toString())} function V0(a){io({httpMethod:"POST",endpoint:"cufz",requestBody:{success:a,page_view_id:z().pvid}})} function k5a(a,b,c){return b&&c?a.qa.find(function(e){return oP(e.model.Cd(),iP(jP(new Oz,+b),+b).qd(+c))}):null} n.jf=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 S4a(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 t5a(a,b){var c=S0(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){io({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"))}}, Fd:function(){h(Error("escalationavailability endpoint returned an error"))}, pr:!0})})} function S0(a,b){var c=new GQ,e=a.getId();sh(c,2,e);e=Number(a.getRedwoodId());qh(c,4,e);rg(c,3,[b],oe);if(a.selectedSymptomFrdValues){b=[];e=u(a.selectedSymptomFrdValues);for(var f=e.next();!f.done;f=e.next()){var h=void 0;b.push.apply(b,Aa((h=kP(f.value))!=null?h:[]))}a=qNa(LQ(JQ(new HQ,IQ(a.selectedSymptomFrdValues)).Td(a.selectedSymptomFrdValues.ei()),[lP(iP(jP(new Oz,8000072),8000072).qd(15),b)]));Gg(c,JP,7,a)}return c} n.getEscalationChannelAvailabilityInformation=function(a){var b=this,c,e,f,h,k,l,p,r,t;return Ya(function(w){if(w.o==1)return w.yield(t5a(b,a),2);if(c=w.ma)switch(a){case 1:return w.return((f=(e=c.chat_channel)==null?void 0:e.common_options)!=null?f:null);case 3:return w.return((l=(h=c)==null?void 0:(k=h.email_channel)==null?void 0:k.common_options)!=null?l:null);case 5:return w.return((t=(p=c)==null?void 0:(r=p.c2c_channel)==null?void 0:r.common_options)!=null?t:null)}return w.return(null)})}; function a5a(a){var b,c,e;return Ya(function(f){return f.o==1?f.yield(t5a(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 P4a(a){var b=a.querySelector(".contact-form__gdpr-dialog");if(b){var c=function(e){var f=this.Db().strings,h=this.Db().style_params,k=this.Db().gdpr_privacy_policy_url,l=z().lang,p={};f=new dD(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 NQ({Oa:f,locale:l,privacyPolicyUrl:k,Uo:h?{"font-family":h.font_family.title}:void 0,un:h?{"font-family":h.font_family.body}: void 0,zn:h?{"font-weight":String(h.strong_font_weight)}:void 0});Lp(e,function(){r.render()}); return r}.call(a,b); uNa(c,function(){c.data=new Map;c.Ja();for(var e=u(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||OQ(c,f.name,f.value);e=u(Object.keys(a.productSpecificData));for(f=e.next();!f.done;f=e.next())f=f.value,OQ(c,f,a.productSpecificData[f]);a.gcmRegistrationId&&OQ(c,"GCM",a.gcmRegistrationId)})}} function J4a(a,b){b.addEventListener("uploadstart",function(){++a.mb}); b.addEventListener("uploadend",function(){--a.mb;Io(a.element,"uploadend")})} function L0(a){if(!a.Ma){var b=a.querySelector(".submit-button");b&&(b.disabled=!0);b=N0(a,".notification-area");Vn(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.Db=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.uO=function(){var a=[];I0(this,function(b){a.push(u5a(b))}); Array.prototype.push.apply(a,b5a(this));return a}; function u5a(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.vO=function(){var a=[];I0(this,function(b){b.isVisible()&&a.push(u5a(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.tb;)a.Qa.shift()()} n.Ps=function(){var a=this;if(IP(X0(this))){var b=document.activeElement;Y0(this,!0);var c=new ZP;w5a(this,c);io({httpMethod:"POST",endpoint:"getavailablevaluesforgraph",params:{v:"1"},requestBody:c.serialize(),onLoadCallback:function(e){try{for(var f=pMa(e.responseText),h=u(Fg(f,$P,2,eg())),k=h.next();!k.done;k=h.next()){var l=Eg(k.value,Jl,1),p=l.getFrdContext(),r=p?Vg(p,2):null,t=a.Ha.get(C0(l));if(t)for(var w=u(t),E=w.next();!E.done;E=w.next()){var la=E.value,ma=Vg(w4a(la),2);if(!(r&&ma&&r!== ma||!y0(la))){var sa=Al(Cl(Ml(l)),Od);switch(la.getType()){case "CHECKBOX":case "RADIOBUTTON":for(var za=u(la.querySelectorAll(".list-item")),Ca=za.next();!Ca.done;Ca=za.next()){var Ia=Ca.value,Ma=sa.indexOf(Ia.querySelector("input").value)===-1;Vn(Ia,"hidden-by-vrg",Ma)}break;case "DROPDOWN":for(var Ra=u(la.querySelectorAll("option")),Ua=Ra.next();!Ua.done;Ua=Ra.next()){var eb=Ua.value;if(eb!==la.querySelector("option")){var Fb=sa.indexOf(eb.value)===-1;Vn(eb,"hidden-by-vrg",Fb)}}la.element.querySelector("select").dispatchEvent(new Event("selectvrgupdate"))}}}}}catch($b){}Y0(a, !1);b.focus();v5a(a)}, Fd:function(){Y0(a,!1);b.focus();v5a(a)}})}}; function Y0(a,b){a.tb=b;a=u(a.Ra);for(var c=a.next();!c.done;c=a.next())c=c.value,y0(c)&&y4a(c,b)} function w5a(a,b){var c=X0(a);c=IP(c);mMa(b,lh(c,1));nMa(b,mh(c,2));c=[];for(var e=[],f=!1,h=u(a.Ra),k=h.next();!k.done;k=h.next()){k=k.value;if(y0(k)){var l=k.getFrdIdentifier();l&&c.push(l)}if(w0(k)&&k.hasSatisfiedDependencies()){l=[];for(var p=u(k.getValues()),r=p.next();!r.done;r=p.next())l.push(r.value.value);l.length!==0&&(p=new Bl,k.getType()==="HIDDEN"?x5a(x4a(k),l[0],p):k.getFrdIdentifier()===8000001?p.fh((new ul).Ag(l.map(function(w){return Number(w)||0}))):El(p,(new zl).Ag(l)),l=Nl(new Jl, p),p=w4a(k),(r=nh(p,2))&&Kl(l,rl(new ql,nh(p,1)).qd(r)),(k=k.getFrdV2Identifier())&&Ll(l,k),e.push(l),!f&&C0(l)===8000072&&(f=!0))}}if(window.sc_filter_promoted_by_selected_symptom&&!f){var t; h=(t=a.selectedSymptomFrdValues)==null?void 0:IQ(t);t=Mg(b,2);if(a.selectedSymptomFrdValues&&h&&t&&h===t){t=u(a.hb);for(h=t.next();!h.done;h=t.next())if(C0(h.value)===8000072){f=!0;break}if(!f){f=[];t=u(a.selectedSymptomFrdValues);for(h=t.next();!h.done;h=t.next())k=void 0,f.push.apply(f,Aa((k=kP(h.value))!=null?k:[]));e.push(Sz(lP(iP(jP(new Oz,8000072),8000072).qd(15),f)))}}}rg(b,3,c,oe);N3a(b,a.hb.concat(e));uh(b,5,a.model.content_publish_state)} function x5a(a,b,c){switch(a){case 1:c.fh((new ul).Ag([Number(b)]));break;case 2:case 5:c.zg((new zl).Ag([b]));break;case 3:Gl(c,Oba(new tl,[Number(b)]));break;case 4:a=b.split(",");El(c,(new zl).Ag(a));break;case 9:c.Lh(b==="true");break;case 8:a=b.split(",").map(function(e){return Number(e)}); c.Eu(yl(new wl,[(new ul).Ag(a)]));break;case 11:case 6:case 7:case 10:Il(c,(new sl).Ag([b]))}} function X0(a){a=JSON.parse(a.element.getAttribute("data-form-service-vrg"));return new HP(a)} n.getServiceVrgTaxonomyId=function(){var a=IP(X0(this));return a?Mg(a,1):null}; n.getServiceVrgTaxonomyView=function(){var a=IP(X0(this));return a?Ug(a,2):null}; n.setSupportJourneyId=function(a){this.submitId=a}; function e5a(a){window.sc_log&&window.sc_log("Form","INFO","Case ID: "+a.caseId)} n.setIncludesTargetSelector=function(a){this.Ua=a}; n.setTargetVerified=function(a){this.targetVerified=a}; function Q4a(a,b){var c,e,f,h,k,l,p,r,t;Ya(function(w){if(w.o==1){if(!b)return w.return();c=new XP(JSON.parse(b));a.Nd=(e=$g(c,7))!=null?e:"";a.Nd&&window.sc_log&&window.sc_log("Helpcenter Field","INFO","Form Helpcenter Fields User-based FRD Value Lookup EventID: "+a.Nd);return w.yield(FQ({helpCenterFrdFieldsConfg:c,locale:z().lang,neoTaxonomy:YP(),placements:[a.Bs(1),a.Bs(2)],pu:"*"}),2)}f=w.ma;h=a.getScFrdValues().map(function(E){return new Oz(E)}); k=u(a.Ha.keys());for(l=k.next();!l.done;l=k.next())p=l.value,h.push(jP(new Oz,p));r=a.getHcfNameScFrdValueMap();t=f.Ok;y5a(a,t,2,h,r,".cf div.helpcenter-fields-container.top");y5a(a,t,1,h,r,".cf div.helpcenter-fields-container.bottom");sP(a.Ca,a.qa.concat(f.jq).map(function(E){return E.model})); Oa(w)})} n.Bs=function(a){var b=new vP,c=new uP,e=this.getContactType();vg(c,3,tP,pe(e));uh(c,2,a);Jg(b,1,uP,c);c=new uP;e=this.getRedwoodId();vg(c,1,tP,Pe(e));uh(c,2,a);Jg(b,1,uP,c);a=new AP;Hg(a,1,zP,b);return a}; function y5a(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(la){return oP(la,l.model.Cd())})||!l.model.Cd().getId()&&f.has(l.model.getName()))return!1; for(var p=u(l.model.ua),r=p.next();!r.done;r=p.next()){r=r.value;var t=void 0,w=void 0,E=u((w=(t=r.ct())==null?void 0:t.o())!=null?w:[]);for(t=E.next();!t.done;t=E.next())t.value.Xr()===c&&l.model.placements.push(r)}return!!l.model.placements.length}); k.length&&Lp(h,function(){for(var l=u(k),p=l.next();!p.done;p=l.next())p=p.value,p.render(),a.qa.push(p)})}} n.getHelpCenterFieldFrds=function(a){return this.Ca.Nc(a===void 0?!1:a).map(function(b){return nP(b)})}; n.setHelpCenterFieldFrd=function(a){a=new Oz(a);for(var b=u(qP(this.Ca)),c=b.next();!c.done;c=b.next())if(c=c.value,oP(c.Cd(),a)){O3a(c,a);break}}; function R4a(a){var b=[];z().is_render_api||b.push("direct_to_form");Yn("cse")==="gse"&&b.push("gse");b.length&&a.addScFrdValue(nP(lP(iP(jP(new Oz,8000104),8000104).qd(15),b)))} function P0(){switch(z().rs){case 3:case 8:return!0;default:return!1}} window.sc_initForm=function(a,b,c){a=new I4a(a,b,c);return{getEscalationChannelAvailabilityInformation:a.getEscalationChannelAvailabilityInformation.bind(a),getContactType:a.getContactType.bind(a),submitForm:a.submitForm.bind(a),getFields:a.uO.bind(a),getVisibleFields:a.vO.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