Your Bangladesh Business Identification Number - Google payments center help
Skip to main content Search
Clear search
Close search
Main menu
11241840284304290586
Search Help Center
true
true
1633573
');
a=tn("data:text/html;charset=UTF-8;base64,"+btoa(c.toString()));b.srcdoc=Jn(c)}else{a=new Map([["nonce",a]]);c=un(H3a).toString();var e=c.split(/[?#]/),f=/[?]/.test(c)?"?"+e[1]:"";a=U2a(e[0],f,/[#]/.test(c)?"#"+(f?e[2]:e[1]):"",a)}b.src=un(a).toString();b.style.cssText="height: 0; left: 0; position: absolute; top: 0; width: 0;";b.setAttribute("aria-hidden","true");return b}
;var K0={IU:!1},L0;function M0(a){this.options=a=a===void 0?K0:a;M3a(this.options)||typeof navigator.msSaveOrOpenBlob==="function"||(this.sandbox=new J0)}
M0.download=function(a,b,c,e){c=c===void 0?"":c;e=e===void 0?K0:e;return Ya(function(f){if(f.o==1)return f.yield(N3a(a,b,c,e),2);if(f.ma)return f.return();L0||(L0=new M0,L0.init());return f.yield(O3a(L0,a,b,c),0)})};
M0.prototype.init=function(){var a=this;return Ya(function(b){return a.sandbox==null?b.return():b.yield(a.sandbox.load(),0)})};
M0.prototype.download=function(a,b,c){c=c===void 0?"":c;var e=this;return Ya(function(f){return f.o==1?f.yield(N3a(a,b,c,e.options),2):f.ma?f.return():f.yield(O3a(e,a,b,c),0)})};
function O3a(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(N0(),3);case 3:return k.return();case 2:if(!fc()||Mb(a3a(),16)>=0||!bc()&&(!Vb("iPad")&&!Vb("iPhone")||ac()||bc()||(Wb()?0:Vb("Coast"))||$b()||!Vb("AppleWebKit"))){k.Na(4);break}h=new FileReader;h.onload=function(){var n=yp("A"),p=Cn(String(h.result));En(n,
p);n.download=c;n.click()};
h.readAsDataURL(f);return k.yield(N0(),5);case 5:return k.return();case 4:return a.sandbox==null&&(a.sandbox=new J0,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(N0(),0)}})}
function N3a(a,b,c,e){c=c===void 0?"":c;e=e===void 0?K0:e;var f;return Ya(function(h){switch(h.o){case 1:if(!M3a(e))return h.return(!1);Pa(h,2);return h.yield(P3a(a,b,c),4);case 4:Ra(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 M3a(a){a=a===void 0?K0:a;return a.IU&&!!window.showSaveFilePicker}
function P3a(a,b,c){c=c===void 0?"":c;var e,f,h,k;return Ya(function(n){switch(n.o){case 1:var p=c,r={suggestedName:b},u;(u=b.match(/\..+$/))?(u=u[0],u=u.length>16?null:u):u=null;if(u){p=p.replace(/;[^]*/,"");var w={};r.types=[{description:"*"+u,accept:(w[/^\s*[a-zA-Z0-9+._-]+\/[a-zA-Z0-9+._-]+?\s*$/.test(p)?p:"*/*"]=[u],w)}]}e=r;Pa(n,2);return n.yield(window.showSaveFilePicker(e),4);case 4:f=n.ma;Ra(n,3);break;case 2:h=Sa(n);if(h instanceof DOMException&&h.name==="AbortError")return n.return();throw h;
case 3:return n.yield(f.createWritable(),5);case 5:return k=n.ma,n.ua=0,n.oa=6,n.yield(k.write(a),6);case 6:return Ta(n),n.yield(k.close(),9);case 9:Ua(n,7);break;case 7:return n.return()}})}
M0.prototype.dispose=function(){this.sandbox!=null&&this.sandbox.dispose()};
function N0(){return new Promise(function(a){setTimeout(a,500)})}
tb("SafeDownloader",M0);function Q3a(a,b,c){var e=this;this.element=a;this.model=b;this.flags=c;this.validateOnly=uo("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.qb=0;this.Ka=!0;this.o=null;this.oa=this.Bb=this.Ma=!1;this.va=this.Ia=this.recaptcha=null;this.md=[];this.gcmRegistrationId="";this.productSpecificData={};this.ma=[];this.Fa=[];this.Qd="";this.mb=[];this.parentCaseName=
"";this.wc=[];this.ub=!1;this.Qa=[];this.ua=[];this.targetVerified=this.Ua=!1;this.qa=[];this.chatPoolId="";this.Md=this.model.show_recaptcha;this.Mb=this.querySelector(".form-screenshot");this.Pt=new Map;this.submissionChannel=0;this.Ca=new lD("HelpcenterFields/Form");this.submitId=qo;this.dispatchEvent("startinginitialization");a=this.querySelectorAll(".field");for(b=0;b0&&h.parents.push(p)}}});
P0(this);this.dispatchEvent("fieldsinitialized");this.Md&&S3a(this);T3a(this);Q0(this,!1);U3a(this);V3a(this);W3a(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()&&R0(this);X3a(this);this.dispatchEvent("validatorinitialized");this.dispatchEvent("initializationcomplete");S0(20);if(a=this.element.getAttribute("data-form-sc-frd-values"))for(a=t(JSON.parse(a)),b=a.next();!b.done;b=a.next())b=new fA(new Cm(b.value)),this.mb.push(jA(b)),this.ma.push(AP(b));a=t(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])}Y3a(this,this.element.getAttribute("data-helpcenter-frd-fields-confg"));Z3a(this)}
l=Q3a.prototype;l.querySelector=function(a){return this.element.querySelector(a)};
function T0(a,b){return a.element.querySelector(b)}
l.querySelectorAll=function(a){return this.element.querySelectorAll(a)};
function O0(a,b){for(var c=0;c=a.model.total_pages;ro(a.Mb,"hidden",!b);b?a.va.activate():a.va.deactivate()}}
function T3a(a){if(window.sc_createSpinner){a.o=window.sc_createSpinner("small");ro(a.o.getElement(),"submit-spin",!0);var b=a.element.querySelector(".submit-button");b&&b.parentNode.appendChild(a.o.getElement())}}
function Q0(a,b){var c=a.page>=a.model.total_pages,e=a.querySelector(".submit-button");e&&(ro(e,"hidden",!c),e.disabled=!a.Ka||b);a.oa&&ro(a.querySelector(".recaptcha"),"hidden",!c);if(c=a.querySelector(".previous-button"))ro(c,"hidden",a.page===1),c.disabled=b;if(c=a.querySelector(".next-button"))ro(c,"hidden",a.page===a.model.total_pages),c.disabled=!a.Ka||b;a.o&&(b?a.o.show():a.o.hide())}
function U3a(a){var b=a.querySelector(".submit-button");b&&(!z().li&&a.model.is_chat_form?(b.disabled=!0,T0(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(){$3a(a,a.page-1)&&(a.dispatchEvent("previouspage"),S0(7))});
(b=a.querySelector(".next-button"))&&b.addEventListener("click",a.submitForm.bind(a))}
function V3a(a){a=a.element.getElementsByTagName("textarea");for(var b=0;b0)for(c.is_assistive=!0,c.assistive_flow_results=[],k=t(a.ua),n=k.next();!n.done;n=k.next())p=n.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});u=a.getFieldValues();w=h4a(a,!0);E=new Map(a.getHcfNameScFrdValueMap().entries());
a.qa.map(function(hb){return hb.model}).forEach(function(hb){hb.isValid()&&E.set(hb.getName(),AP(hb.Fd()))});
for(la=0;la0&&(c.product_specific_data=Va);a.Ua&&(c.target_submission_details={used_target_selector:!0,is_target_selector_verified:a.targetVerified});return Ab.return(c)})}
function c4a(a,b){var c=Y0(a,1);Eo({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,n,p;((h=f.chat_channel)==null?0:(k=h.common_options)==null?0:k.available_to_user)||((n=f.hangout_channel)==null?0:(p=n.common_options)==null?0:p.available_to_user)?d4a(a,b):(a.o&&a.o.hide(),R0(a))},
Id:function(e){window.sc_trackStatsEvent(52,21,"escalationavailability: - "+e.statusText);a.o&&a.o.hide();if(e=a.querySelector(".submit-button"))e.disabled=!1;W0(a,a.model.strings.BACKEND_ERROR);a.dispatchEvent("validationend")}})}
l.getChatAvailability=function(){var a=this;return Ya(function(b){return b.return(i4a(a))})};
function e4a(a,b){var c,e,f,h,k,n;Ya(function(p){if(p.o==1)return c={contact_flow:b},a.oa?(c.recaptcha_response=a.Ia.getResponse(),p.Na(2)):a.Bb?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=Y0(a,5),zh(f,2)&&(e.form_id=Ug(f,2)),Tg(f,4)!=null&&(e.redwood_form_id=Tg(f,4)),e.channel=[5],Qf(f,WP,7)?e.sc_frd_values=Z2a(new UQ(f.getScFrdValues())):Qf(f,qm,1)&&(e.frd_values=$2a(new UQ(Ag(f,qm,1)))),c.escalation=
e);h={v:"1",psd:JSON.stringify(a.productSpecificData)};(k=uo("test"))&&(h.test=k);(n=uo("cases2"))&&(h.cases2=n);b.submit_id=a.submitId;Eo({httpMethod:"POST",endpoint:"createcall",params:h,requestBody:c,onLoadCallback:function(r){var u=null;try{u=JSON.parse(r.responseText)}catch(w){}Z0(a,{type:"c2c",response:u})},
Id:function(){Z0(a,{type:"c2c",response:!1})}});
Oa(p)})}
function d4a(a,b){var c,e,f,h;Ya(function(k){if(k.o==1)return c={v:"0",psd:JSON.stringify(a.productSpecificData)},(e=uo("test"))&&(c.test=e),(f=uo("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.Bb?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);Eo({httpMethod:"POST",endpoint:"cufinsert",
params:c,requestBody:h,onLoadCallback:function(n){var p=null;try{p=JSON.parse(n.responseText)}catch(r){Z0(a,{type:"cuf",response:n.responseText});return}Z0(a,{type:"cuf",response:p})},
Id:function(){Z0(a,{type:"cuf",response:!1})},
Lr:!0});Oa(k)})}
function X0(a){if(!a.model.fix_multi_page)return!1;var b=!1;O0(a,function(c){Number(c.lk())>a.lk()&&c.hasSatisfiedDependencies()&&(b=!0)});
return b}
l.getSubjectFieldId=function(){return T0(this,'input[name="subject-line-field-id"]').value};
l.getBodyFieldId=function(){return T0(this,'input[name="body-text-field-id"]').value};
function h4a(a,b){var c=[];O0(a,function(p){if(p.hasSatisfiedDependencies())for(var r=p.getValues(b),u=0;u0){W0(a,o4a(e),e);a.dispatchEvent("validationend");break a}p4a(a,e)}else W0(a,a.model.strings.BACKEND_ERROR,e)}else W0(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(X0(a))$0(a);else{c=uo("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,m4a(a));a.validateOnly||(!c||V0()||z().rs===79&&a.flags.enableChatMoleMigration||((0,window.sc_ensureSubscribed)(),a.dispatchEvent("chatrequested")),n4a(a));a1(!0);c=!0}else p4a(a,b);else W0(a,o4a(b),b);else W0(a,a.model.strings.CONNECTION_ERROR);b=uo("cases2");!c&&a.model.is_chat_form&&(a.shouldSubmitToCasesV2()||b)&&(a.Ma=!1);a.dispatchEvent("validationend")}}
function q4a(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 o4a(a){var b;return((b=a.submit_error)==null?0:b.length)?(a=a.submit_error[0],q4a(a.code,a.sub_code)):""}
function r4a(a,b){(a=a.querySelector(".recaptcha"))&&ro(a,"invalid",b)}
function p4a(a,b){for(var c=!1,e=a.model.strings.VALIDATION_NOTE,f=t(b.result||[]),h=f.next();!h.done;h=f.next())if(h=h.value.split(":"),h[0]==="REQUIRED_FORM_FRD_VALUE"){if(h=s4a(a,h[1],h[2]))h.isVisible()?RQ(h,!0,a.model.strings.REQUIRED_FIELD):e=a.model.strings.REQUIRED_FIELD+": "+h.model.getName(),c=!0}else{var k=a.rf(h[1]);if(h[0]==="REQUIRED_RECAPTCHA")a.page===a.model.total_pages&&(e=a,e.model.fallback_to_recaptcha_v2&&(e.oa||(ro(e.querySelector(".g-recaptcha"),"hidden",!0),g4a(e)),r4a(e,!0)),
c=!0,e=a.model.strings.REQUIRED_RECAPTCHA_NOTIFICATION);else if(h[0]==="CHAT_UNAVAILABLE")R0(a),c=!0;else if(k&&k.isVisible()){if(c=k.getType()==="PHONE_NUMBER"&&a.c2c)a:{c=a;var n=k.getValues(!0)[0];if(n&&n.value){n=JSON.parse(n.value);var p;if(p=n){n=n.country;p=[];var r=c.model.phone_type_required_countries;r&&(p=r.split(","));p=p.indexOf(n)!==-1}if(p){G0(k,!1,c.model.strings.PHONE_TYPE_VALIDATION,!0);c=!0;break a}}c=!1}c||G0(k,!1,a.model.strings[h[0]]||a.model.strings.DEFAULT);c=!0}}c?(U0(a,"invalid",
e+t4a(a,b)),a.dispatchEvent("invalidated"),S0(17)):$0(a)}
function l4a(a){var b=a.querySelector(".notification-area");b&&(ro(b,"error",!1),ro(b,"invalid",!1),b.textContent="");O0(a,function(e){G0(e,!0)});
b=t(a.qa);for(var c=b.next();!c.done;c=b.next())RQ(c.value,!1);a.oa&&r4a(a,!1)}
function U0(a,b,c){var e=a.querySelector(".notification-area");e&&(ro(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"))}
l.getStatusMessage=function(){var a;return((a=this.querySelector(".notification-area"))==null?void 0:a.innerText)||""};
l.setErrorMessage=function(a){U0(this,"error",a)};
function W0(a,b,c){a.setErrorMessage(b+t4a(a,c));a.dispatchEvent("error");a1(!1)}
function t4a(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 $0(a){$3a(a,a.page+1);a.dispatchEvent("nextpage");S0(6)}
function n4a(a){a.dispatchEvent("submitstart");if(!a.model.is_chat_form||a.ua.length>0)u4a(a),v4a(a);if(a.model.is_chat_form){var b=a.querySelector(".submit-button");b&&(b.disabled=!0);window.sc_enableFormSubmissionDetailsAndDownloadUi&&(w4a(a),x4a(a,T0(a,".submission-details-chat__content")),y4a(a),b=T0(a,".submission-details-chat__download-button"),b.addEventListener("click",function(){z4a(a)}),T0(a,".submission-details-chat__edit-button").addEventListener("click",function(){A4a(a)}),window.sc_trackStatsEvent(182,
4,z().pid),ro(T0(a,".submission-details-chat"),"hidden",!1),b.focus());
T0(a,".notification-area").textContent=a.model.strings.CHAT_CREATING;a.dispatchEvent("chatrequested")}S0(22);a.dispatchEvent("submitend");a.dispatchEvent("cleancomplete");$o("FormSurveysFeature__enable_hats")==="true"&&f4a()}
function u4a(a){for(var b=a.model.is_chat_form&&a.ua.length>0,c=0;c0&&a.Ec.set(c.getId(),e)}b=t(a.qa);for(c=b.next();!c.done;c=b.next())c=c.value,e=c.Xg(),c.isVisible()&&e&&a.ya.set(e,c.getDisplayValues())}
function x4a(a,b){a=t(a.ya.entries());for(var c=a.next();!c.done;c=a.next()){var e=t(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+=": ",ro(c,"multi-value",f.length>1),e=t(f),f=e.next();!f.done;f=e.next())f=f.value,h=document.createElement("span"),ro(h,"submission-value",!0),h.innerText=f,c.appendChild(h);b.appendChild(c)}}
function z4a(a){for(var b="",c=t(a.ya.entries()),e=c.next();!e.done;e=c.next()){var f=t(e.value);e=f.next().value;f=f.next().value;b+=e;if(f)for(b+=":",e=t(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";M0.download(b,c,"text/plain");window.sc_trackStatsEvent(182,47,z().pid);ap("contact_form_submission_download")}
function A4a(a){var b=new URLSearchParams;a=t(a.Ec.entries());for(var c=a.next();!c.done;c=a.next()){var e=t(c.value);c=e.next().value;e=e.next().value;e=t(e);for(var f=e.next();!f.done;f=e.next())b.append("pcff",c+":"+f.value)}ap("contact_form_submission_edit");window.sc_trackStatsEvent(182,24,z().pid);b=new URL(""+window.location.origin+window.location.pathname+"?"+b);Po(b.toString())}
function a1(a){Eo({httpMethod:"POST",endpoint:"cufz",requestBody:{success:a,page_view_id:z().pvid}})}
function s4a(a,b,c){return b&&c?a.qa.find(function(e){return BP(e.model.Fd(),vP(wP(new fA,+b),+b).ud(+c))}):null}
l.rf=function(a){var b=null;O0(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 $3a(a,b){if(b===a.page||b<1||b>a.model.total_pages)return!1;a.page=b;P0(a);Q0(a,!1);return!0}
function S0(a,b){window.sc_trackStatsEvent(b===void 0?21:b,a,z().pid)}
function B4a(a,b){var c=Y0(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){Eo({httpMethod:"POST",endpoint:"escalationavailability",params:{v:1,psd:JSON.stringify(e)},requestBody:c.serialize(),onLoadCallback:function(k){try{f(JSON.parse(k.responseText))}catch(n){h(Error("Could not parse escalationavailability response"))}},
Id:function(){h(Error("escalationavailability endpoint returned an error"))},
Lr:!0})})}
function Y0(a,b){var c=new TQ,e=a.getId();uh(c,2,e);e=Number(a.getRedwoodId());sh(c,4,e);kg(c,3,[b],ne);if(a.selectedSymptomFrdValues){b=[];e=t(a.selectedSymptomFrdValues);for(var f=e.next();!f.done;f=e.next()){var h=void 0;b.push.apply(b,Aa((h=xP(f.value))!=null?h:[]))}a=YMa(YQ(WQ(new UQ,VQ(a.selectedSymptomFrdValues)).Wd(a.selectedSymptomFrdValues.Eh()),[yP(vP(wP(new fA,8000072),8000072).ud(15),b)]));Dg(c,WP,7,a)}return c}
l.getEscalationChannelAvailabilityInformation=function(a){var b=this,c,e,f,h,k,n,p,r,u;return Ya(function(w){if(w.o==1)return w.yield(B4a(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((n=(h=c)==null?void 0:(k=h.email_channel)==null?void 0:k.common_options)!=null?n:null);case 5:return w.return((u=(p=c)==null?void 0:(r=p.c2c_channel)==null?void 0:r.common_options)!=null?u:null)}return w.return(null)})};
function i4a(a){var b,c,e;return Ya(function(f){return f.o==1?f.yield(B4a(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 X3a(a){var b=a.querySelector(".contact-form__gdpr-dialog");if(b){var c=function(e){var f=this.Fb().strings,h=this.Fb().style_params,k=this.Fb().gdpr_privacy_policy_url,n=z().lang,p={};f=new rD(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 $Q({Oa:f,locale:n,privacyPolicyUrl:k,xp:h?{"font-family":h.font_family.title}:void 0,Gn:h?{"font-family":h.font_family.body}:
void 0,Ln:h?{"font-weight":String(h.strong_font_weight)}:void 0});gq(e,function(){r.render()});
return r}.call(a,b);
bNa(c,function(){c.data=new Map;c.Ja();for(var e=t(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||aR(c,f.name,f.value);e=t(Object.keys(a.productSpecificData));for(f=e.next();!f.done;f=e.next())f=f.value,aR(c,f,a.productSpecificData[f]);a.gcmRegistrationId&&aR(c,"GCM",a.gcmRegistrationId)})}}
function R3a(a,b){b.addEventListener("uploadstart",function(){++a.qb});
b.addEventListener("uploadend",function(){--a.qb;dp(a.element,"uploadend")})}
function R0(a){if(!a.Ma){var b=a.querySelector(".submit-button");b&&(b.disabled=!0);b=T0(a,".notification-area");ro(b,"invalid",!0);b.textContent=a.model.strings.CHAT_UNAVAILABLE}}
l.getId=function(){return this.element.getAttribute("id")};
l.getRedwoodId=function(){return this.element.dataset.contactFormRedwoodId};
l.getContactType=function(){return this.model.contact_type};
l.shouldSubmitToCasesV2=function(){return this.model.should_submit_to_cases_v2};
l.getTitle=function(){var a=this.element.querySelector(".contact-form__title");return a?a.textContent:""};
l.Fb=function(){return this.model};
l.getElement=function(){return this.element};
l.getCaseId=function(){return this.caseId};
l.getChatPoolId=function(){return this.chatPoolId};
l.getChatSupportRequestId=function(){return this.model.chat_support_request_id||""};
l.FP=function(){var a=[];O0(this,function(b){a.push(C4a(b))});
Array.prototype.push.apply(a,j4a(this));return a};
function C4a(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)}}
l.HP=function(){var a=[];O0(this,function(b){b.isVisible()&&a.push(C4a(b))});
return a};
l.setValidateOnly=function(a){this.validateOnly=a};
l.listen=function(a,b,c,e){this.listeners.push({type:a,listener:b,scope:e})};
l.unlisten=function(a,b,c,e){for(c=0;c0&&!a.ub;)a.Qa.shift()()}
l.nt=function(){var a=this;if(VP(c1(this))){var b=document.activeElement;d1(this,!0);var c=new lQ;E4a(this,c);Eo({httpMethod:"POST",endpoint:"getavailablevaluesforgraph",params:{v:"1"},requestBody:c.serialize(),onLoadCallback:function(e){try{for(var f=XLa(e.responseText),h=t(Cg(f,mQ,2,ag())),k=h.next();!k.done;k=h.next()){var n=Ag(k.value,Zl,1),p=n.getFrdContext(),r=p?Vg(p,2):null,u=a.Ha.get(I0(n));if(u)for(var w=t(u),E=w.next();!E.done;E=w.next()){var la=E.value,ma=Vg(E3a(la),2);if(!(r&&ma&&r!==
ma||!E0(la))){var sa=Ql(Sl(bm(n)),Md);switch(la.getType()){case "CHECKBOX":case "RADIOBUTTON":for(var za=t(la.querySelectorAll(".list-item")),Ca=za.next();!Ca.done;Ca=za.next()){var Ia=Ca.value,Ma=sa.indexOf(Ia.querySelector("input").value)===-1;ro(Ia,"hidden-by-vrg",Ma)}break;case "DROPDOWN":for(var Qa=t(la.querySelectorAll("option")),Va=Qa.next();!Va.done;Va=Qa.next()){var Za=Va.value;if(Za!==la.querySelector("option")){var vb=sa.indexOf(Za.value)===-1;ro(Za,"hidden-by-vrg",vb)}}la.element.querySelector("select").dispatchEvent(new Event("selectvrgupdate"))}}}}}catch(Db){}d1(a,
!1);b.focus();D4a(a)},
Id:function(){d1(a,!1);b.focus();D4a(a)}})}};
function d1(a,b){a.ub=b;a=t(a.Ra);for(var c=a.next();!c.done;c=a.next())c=c.value,E0(c)&&G3a(c,b)}
function E4a(a,b){var c=c1(a);c=VP(c);ULa(b,nh(c,1));VLa(b,oh(c,2));c=[];for(var e=[],f=!1,h=t(a.Ra),k=h.next();!k.done;k=h.next()){k=k.value;if(E0(k)){var n=k.getFrdIdentifier();n&&c.push(n)}if(C0(k)&&k.hasSatisfiedDependencies()){n=[];for(var p=t(k.getValues()),r=p.next();!r.done;r=p.next())n.push(r.value.value);n.length!==0&&(p=new Rl,k.getType()==="HIDDEN"?F4a(F3a(k),n[0],p):k.getFrdIdentifier()===8000001?p.yj((new Ll).Fg(n.map(function(w){return Number(w)||0}))):Ul(p,(new Pl).Fg(n)),n=cm(new Zl,
p),p=E3a(k),(r=ph(p,2))&&$l(n,Hl(new Gl,ph(p,1)).ud(r)),(k=k.getFrdV2Identifier())&&am(n,k),e.push(n),!f&&I0(n)===8000072&&(f=!0))}}if(window.sc_filter_promoted_by_selected_symptom&&!f){var u;
h=(u=a.selectedSymptomFrdValues)==null?void 0:VQ(u);u=Lg(b,2);if(a.selectedSymptomFrdValues&&h&&u&&h===u){u=t(a.mb);for(h=u.next();!h.done;h=u.next())if(I0(h.value)===8000072){f=!0;break}if(!f){f=[];u=t(a.selectedSymptomFrdValues);for(h=u.next();!h.done;h=u.next())k=void 0,f.push.apply(f,Aa((k=xP(h.value))!=null?k:[]));e.push(jA(yP(vP(wP(new fA,8000072),8000072).ud(15),f)))}}}kg(b,3,c,ne);W2a(b,a.mb.concat(e));wh(b,5,a.model.content_publish_state)}
function F4a(a,b,c){switch(a){case 1:c.yj((new Ll).Fg([Number(b)]));break;case 2:case 5:c.Eg((new Pl).Fg([b]));break;case 3:Wl(c,Kl(new Jl,[Number(b)]));break;case 4:a=b.split(",");Ul(c,(new Pl).Fg(a));break;case 9:c.Nh(b==="true");break;case 8:a=b.split(",").map(function(e){return Number(e)});
c.mv(Ol(new Ml,[(new Ll).Fg(a)]));break;case 11:case 6:case 7:case 10:Yl(c,(new Il).Fg([b]))}}
function c1(a){a=JSON.parse(a.element.getAttribute("data-form-service-vrg"));return new UP(a)}
l.getServiceVrgTaxonomyId=function(){var a=VP(c1(this));return a?Lg(a,1):null};
l.getServiceVrgTaxonomyView=function(){var a=VP(c1(this));return a?Ug(a,2):null};
l.setSupportJourneyId=function(a){this.submitId=a};
function m4a(a){window.sc_log&&window.sc_log("Form","INFO","Case ID: "+a.caseId)}
l.setIncludesTargetSelector=function(a){this.Ua=a};
l.setTargetVerified=function(a){this.targetVerified=a};
function Y3a(a,b){var c,e,f,h,k,n,p,r,u;Ya(function(w){if(w.o==1){if(!b)return w.return();c=new jQ(JSON.parse(b));a.Qd=(e=ah(c,7))!=null?e:"";a.Qd&&window.sc_log&&window.sc_log("Helpcenter Field","INFO","Form Helpcenter Fields User-based FRD Value Lookup EventID: "+a.Qd);return w.yield(SQ({helpCenterFrdFieldsConfg:c,locale:z().lang,neoTaxonomy:kQ(),placements:[a.Rs(1),a.Rs(2)],Su:"*"}),2)}f=w.ma;h=a.getScFrdValues().map(function(E){return new fA(E)});
k=t(a.Ha.keys());for(n=k.next();!n.done;n=k.next())p=n.value,h.push(wP(new fA,p));r=a.getHcfNameScFrdValueMap();u=f.Vk;G4a(a,u,2,h,r,".cf div.helpcenter-fields-container.top");G4a(a,u,1,h,r,".cf div.helpcenter-fields-container.bottom");FP(a.Ca,a.qa.concat(f.Fq).map(function(E){return E.model}));
Oa(w)})}
l.Rs=function(a){var b=new IP,c=new HP,e=this.getContactType();rg(c,3,GP,oe(e));wh(c,2,a);Hg(b,1,HP,c);c=new HP;e=this.getRedwoodId();rg(c,1,GP,Ue(e));wh(c,2,a);Hg(b,1,HP,c);a=new NP;Fg(a,1,MP,b);return a};
function G4a(a,b,c,e,f,h){if(h=a.element.querySelector(h)){var k=b.filter(function(n){if(n.model.placements.length||e.some(function(la){return BP(la,n.model.Fd())})||!n.model.Fd().getId()&&f.has(n.model.getName()))return!1;
for(var p=t(n.model.ua),r=p.next();!r.done;r=p.next()){r=r.value;var u=void 0,w=void 0,E=t((w=(u=r.Dt())==null?void 0:u.o())!=null?w:[]);for(u=E.next();!u.done;u=E.next())u.value.Cs()===c&&n.model.placements.push(r)}return!!n.model.placements.length});
k.length&&gq(h,function(){for(var n=t(k),p=n.next();!p.done;p=n.next())p=p.value,p.render(),a.qa.push(p)})}}
l.getHelpCenterFieldFrds=function(a){return this.Ca.Pc(a===void 0?!1:a).map(function(b){return AP(b)})};
l.setHelpCenterFieldFrd=function(a){a=new fA(a);for(var b=t(DP(this.Ca)),c=b.next();!c.done;c=b.next())if(c=c.value,BP(c.Fd(),a)){X2a(c,a);break}};
function Z3a(a){var b=[];z().is_render_api||b.push("direct_to_form");uo("cse")==="gse"&&b.push("gse");b.length&&a.addScFrdValue(AP(yP(vP(wP(new fA,8000104),8000104).ud(15),b)))}
function V0(){switch(z().rs){case 3:case 8:return!0;default:return!1}}
window.sc_initForm=function(a,b,c){a=new Q3a(a,b,c);return{getEscalationChannelAvailabilityInformation:a.getEscalationChannelAvailabilityInformation.bind(a),getContactType:a.getContactType.bind(a),submitForm:a.submitForm.bind(a),getFields:a.FP.bind(a),getVisibleFields:a.HP.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