Report a problem

* Required field

Request personal content removal from Google Search

Google’s personal content and product policies apply wherever you are in the world, but we also have processes in place to remove or restrict access to content based on local laws. To remove content based on a specific legal reason–including, but not limited to copyright infringement, trademark violations, or a court order—create a request through the Legal Help Center.

You may report the same content through both legal and content/product policy reporting paths, but you must file each report separately. Reporting content through a content/product policy path does not substitute for reporting it through a legal path and does not serve as legal notice.

Why are you requesting personal content removal from Google Search?

*

Residents of Indiamust use a country-specific dedicated form to report nude, intimate or sexual material.

Residents of Nigeriamust use a country-specific dedicated form to report nude, intimate or sexual material.

Residents of South Korea must use a country-specific dedicated form to report nude, intimate or sexual material.

Request removal of nudity or sexual content from Google Search

We understand that it can be distressing when Google displays search results containing nudity or sexually explicit content related to you.

Google may be able to help you or someone you’re authorized to represent remove content from Search that:

  • is nude, intimate, or sexually explicit (for example, images or videos of you) and is distributed without permission; OR
  • is fake or falsely depicts you as nude or in a sexually explicit situation; OR
  • incorrectly associates you or your name with sex work

To get started, we’ll ask you for some information about the content to better understand your situation and get you to the right place to request removal.

Describe the content

*

The imagery was taken when you were under the age of 18

*

The content depicts you under the age of 18

*
Google defines non-consensual intimate imagery (NCII) abuse as the creation or distribution of intimate or sexually explicit imagery and videos—including AI-generated 'deepfakes'—without consent. To ensure your request is handled by the correct team, we process these reports through a secure, central form. Please use the central form to request content removal from Google services, such as Search, Drive, and Photos.

Request NCII content removal

Request removal of images of minors from Google Search

Does the content depict an individual under the age of 18 in a nude or sexually explicit manner?

*
Residents of Indiamust use a country-specific dedicated form to report Child Sexual Abuse Material (related to children under 18).
Residents of South Korea must use a country-specific dedicated form to report Child Sexual Abuse Material (related to children under 18).
Residents of Nigeria must use a country-specific dedicated form to report Child Sexual Abuse Material (related to children under 18).
Residents of the European Union must use a country-specific dedicated form to report Child Sexual Abuse Material (related to children under 18).
Residents of the European Union must use a country-specific dedicated form to report Child Sexual Abuse Material (related to children under 18).
Residents of the European Union must use a country-specific dedicated form to report Child Sexual Abuse Material (related to children under 18).
Residents of the European Union must use a country-specific dedicated form to report Child Sexual Abuse Material (related to children under 18).
Residents of the European Union must use a country-specific dedicated form to report Child Sexual Abuse Material (related to children under 18).
Residents of the European Union must use a country-specific dedicated form to report Child Sexual Abuse Material (related to children under 18).
Residents of the European Union must use a country-specific dedicated form to report Child Sexual Abuse Material (related to children under 18).
Residents of the European Union must use a country-specific dedicated form to report Child Sexual Abuse Material (related to children under 18).
Residents of the European Union must use a country-specific dedicated form to report Child Sexual Abuse Material (related to children under 18).
Residents of the European Union must use a country-specific dedicated form to report Child Sexual Abuse Material (related to children under 18).
Residents of the European Union must use a country-specific dedicated form to report Child Sexual Abuse Material (related to children under 18).
Residents of the European Union must use a country-specific dedicated form to report Child Sexual Abuse Material (related to children under 18).
Residents of the European Union must use a country-specific dedicated form to report Child Sexual Abuse Material (related to children under 18).
Residents of the European Union must use a country-specific dedicated form to report Child Sexual Abuse Material (related to children under 18).
Residents of the European Union must use a country-specific dedicated form to report Child Sexual Abuse Material (related to children under 18).
Residents of the European Union must use a country-specific dedicated form to report Child Sexual Abuse Material (related to children under 18).
Residents of the European Union must use a country-specific dedicated form to report Child Sexual Abuse Material (related to children under 18).
Residents of the European Union must use a country-specific dedicated form to report Child Sexual Abuse Material (related to children under 18).
Residents of the European Union must use a country-specific dedicated form to report Child Sexual Abuse Material (related to children under 18).
Residents of the European Union must use a country-specific dedicated form to report Child Sexual Abuse Material (related to children under 18).
Residents of the European Union must use a country-specific dedicated form to report Child Sexual Abuse Material (related to children under 18).
Residents of the European Union must use a country-specific dedicated form to report Child Sexual Abuse Material (related to children under 18).
Residents of the European Union must use a country-specific dedicated form to report Child Sexual Abuse Material (related to children under 18).
Residents of the European Union must use a country-specific dedicated form to report Child Sexual Abuse Material (related to children under 18).
Residents of the European Union must use a country-specific dedicated form to report Child Sexual Abuse Material (related to children under 18).
Residents of the European Union must use a country-specific dedicated form to report Child Sexual Abuse Material (related to children under 18).
Residents of the European Union must use a country-specific dedicated form to report Child Sexual Abuse Material (related to children under 18).

Request removal of images of minors from Google Search

Nude or sexually explicit imagery of someone under the age of 18 may constitute child sexual abuse material (CSAM). CSAM consists of any visual depiction, including but not limited to photos, videos, and computer-generated imagery, involving the use of a minor engaging in sexually explicit conduct. 

When you submit a report indicating there is evidence of CSAM anywhere in our search results, our team of reviewers will assess the reported content and determine whether it meets this definition and is in violation of our CSAM policy. If CSAM is confirmed, a CyberTipline report will also be provided to the National Center for Missing and Exploited Children (NCMEC).

The purpose of this form is to request the removal of nudes or sexual images/videos of someone under 18.

Questions marked with an asterisk are required fields.

If you suspect a child is in danger, contact the police immediately.

Enter one URL per line (maximum 1,000 lines)
It looks like some of the URLs you entered aren't valid. Please make sure each line contains only one valid URL in the correct format (e.g., https://www.example.com). Please correct the invalid entries and try again.
Enter one search term per line (maximum 1,000 lines)
Is the person in the content you?
You are currently not logged in. Please check this box to confirm you want to submit this report anonymously
I want to make an anonymous report and I confirm I am not logged in. *

Contact Information (optional)

You can make a report anonymously, or if you want updates on the status of your report, you can provide your name and email address for status updates.

Important: To submit an anonymous report, please log out of your account before clicking the "Submit" button.

Request removal of content on sites with exploitative removal practices from Google Search

We understand it can be distressing when content about you or someone you are authorized to represent is on sites that require people to pay money directly to them or to other agencies to get the content removed.

So that we can help you, please make sure that your request meets these requirements for us to consider it for removal:

  • The website is not a business review site
  • The website has removal practices that necessitate payment to have the content removed

We generally aim to preserve information access if the content is determined to be of public interest.

Has the website asked you to pay money to the site or to an agency for personal content removal? *
Note: Child sexual abuse imagery is illegal and should NOT be shared in this form. Do not take or include screenshots containing child sexual abuse imagery or any content that presents someone under 18 in a sexual way. Learn how to report child sexual abuse imagery.

Request removal of content containing personal information from Google Search

We understand that it can be distressing when personal content is shared without your permission and is discoverable in Google search results. In many cases, this type of content (including personally identifiable information that is shared with malicious intent, known as "doxxing") violates our policies and may be removed.

We generally aim to preserve information access if the content is determined to be of public interest.

We will need context about the content you are reporting and your contact information to process your request.

Select the personal information you would like removed from Google search results *
Enter your address, phone number, or e-mail address as they appear in the webpage(s) *
If you saw multiple types of contact info in the result, you only need to include one type in your request
Select the type of government identification (ID) numbers that appear in the webpage(s) *
If you saw multiple types of confidential government IDs in the result, you only need to include one type in your request
Please enter the last four digits of your bank account or credit card number as they appear in the webpage(s)
Please enter the last four digits of your confidential government ID number as they appear in the webpage(s)
Select the option for address, phone number, and/or e-mail address
Is there malicious or threatening intent expressed directly in the content on the URL or domain (this practice is sometimes known as doxxing)? *

Enter one URL per line (maximum 1,000 lines)

It looks like some of the URLs you entered aren't valid. Please make sure each line contains only one valid URL in the correct format (e.g., https://www.example.com). Please correct the invalid entries and try again.

Enter one URL per line (maximum 1,000 lines)

It looks like some of the URLs you entered aren't valid. Please make sure each line contains only one valid URL in the correct format (e.g., https://www.example.com). Please correct the invalid entries and try again.

If you are unable to copy the text, provide the screenshots to this content below

Note: Child sexual abuse imagery is illegal and should NOT be shared in this form. Do not take or include screenshots containing child sexual abuse imagery or any content that presents someone under 18 in a sexual way. Learn how to report child sexual abuse imagery.
Note: Child sexual abuse imagery is illegal and should NOT be shared in this form. Do not take or include screenshots containing child sexual abuse imagery or any content that presents someone under 18 in a sexual way. Learn how to report child sexual abuse imagery.

Enter one URL per line (maximum 1,000 lines)

Enter one URL per line (maximum 1,000 lines)

Enter one search term per line (maximum 1,000 lines)

Enter one search term per line (maximum 1,000 lines)

If malicious or threatening intent is not present, this policy does not fit your request. To learn what content can be removed, read our policies

Request removal of nudity or sexual content from Google Search

This form is for requesting removal of content that incorrectly associates you or your name with sex work.

To process your removal request, we’ll need contact information and context about the content you’re reporting (including URLs for the content and screenshots).

Request removal of content containing personal information from Google Search

This form is for requesting removal of content containing personal information (for example, bank account numbers, government ID numbers, etc.) appearing in Google search results.

Request removal of content on sites with exploitative removal practices from Google Search

This form is for requesting removal of content on sites with exploitative removal practices appearing in Google search results.

To process your removal request, we’ll need contact information and context about the content you’re reporting (including URLs for the content and screenshots).

Request removal of images of minors from Google Search

This form is for requesting removal of content showing someone under the age of 18.

Google will remove images of current minors (meaning anyone below the age of 18) from Image Search results at the request of the minor or their parent or guardian, with the exception of cases of compelling public interest or newsworthiness.

So that we can help you, please make sure that your request meets these requirements for us to consider it for removal:

  • The request is for an image of a minor.
  • The request is not to remove a web URL (pages with both text and images). Web URLs are not eligible for removal under this policy.
  • The individual is still a minor (below age 18) at the time of this report or passed away before reaching adulthood.
  • The image is not from a social media account or a web page that you manage.

To process your removal request, we’ll need contact information and context about the content you’re reporting (including URLs for the content and screenshots).

Please enter name of the person mentioned in the URLs submitted below (max. 50 characters).
For example: 13
Is the person in the content you? *
It’s OK to request removal for someone else, if you have their permission
For example, “parent” or “lawyer”
Please enter the name of the person mentioned in the URLs (max. 50 characters).
Country information is used internally to help us improve our processes. In some countries, we’re required to report aggregated data, like the number of removal requests received. No personal information is included in these reports.

Enter one URL per line (maximum 1,000 lines)

It looks like some of the URLs you entered aren't valid. Please make sure each line contains only one valid URL in the correct format (e.g., https://www.example.com). Please correct the invalid entries and try again.

The image URL will start with https://images.app.goo.gl/ or

https://wws.cloudwebceplogn.xyz/imgres?imgurl

Enter one URL per line (maximum 1,000 lines)

It looks like some of the URLs you entered aren't valid. Please make sure each line contains only one valid URL in the correct format (e.g., https://www.example.com). Please correct the invalid entries and try again.

Enter one URL per line (maximum 1,000 lines)

It looks like some of the URLs you entered aren't valid. Please make sure each line contains only one valid URL in the correct format (e.g., https://www.example.com). Please correct the invalid entries and try again.

Enter one URL per line (maximum 1,000 lines)

Enter one search term per line (maximum 1,000 lines)

Note: Child sexual abuse imagery is illegal and should NOT be shared in this form. Do not take or include screenshots containing child sexual abuse imagery or any content that presents someone under 18 in a sexual way. Learn how to report child sexual abuse imagery.
Note: Child sexual abuse imagery is illegal and should NOT be shared in this form. Do not take or include screenshots containing child sexual abuse imagery or any content that presents someone under 18 in a sexual way. Learn how to report child sexual abuse imagery.

Confirmation and Submission

*

By clicking ‘submit’, you are representing that the above statements are true, that you are requesting the removal of the search results identified by the URL(s) you have listed above, and that, if you are acting on behalf of another person, you have the authority to do so.

Google LLC will use the personal information that you supply on this form (including your email address and any identifying information) for the purposes of processing your request and meeting our legal obligations.

This field is required.
https://mya.cloudwebceplogn.xyz/privacypolicy?hl=$0
Some account and system information will be sent to Google, and support calls and chats may be recorded. We will use this information to improve support quality and training, to help address technical issues, and to improve our products and services, subject to our Privacy Policy and Terms of Service. Translation services may be used in chats and email.
Additional info

Contact us

Search
Clear search
Close search
Main menu
15231068247880313774
true
Search Help Center
false
true
true
true
true
true
100334
'; var e=Nl(a);a=yl("data:text/html;charset=UTF-8;base64,"+btoa(e.toString()));b||(c.srcdoc=Pl(e))}else{if(b)throw Error("IFRAME_SANDBOX_URL is not supported with disableSandbox");a=new Map([["nonce",a]]);var f=zl(ndb).toString();var h=f.split(/[?#]/);e=/[?]/.test(f)?"?"+h[1]:"";b=h[0];f=/[#]/.test(f)?"#"+(e?h[2]:h[1]):"";a=vbb(b,e,f,a)}c.src=zl(a).toString();c.style.cssText="border: 0; height: 0; left: 0; position: absolute; top: 0; width: 0;";c.setAttribute("aria-hidden","true");return c} ;var Y2={WZ:!1,lM:!1},Z2;function $2(a){this.options=a=a===void 0?Y2:a;if(!sdb(this.options)&&typeof navigator.msSaveOrOpenBlob!=="function"){var b;this.sandbox=new X2({RF:(b=this.options.lM)!=null?b:!1})}} $2.download=function(a,b,c,e){c=c===void 0?"":c;e=e===void 0?Y2:e;return La(function(f){if(f.o==1)return f.yield(tdb(a,b,c,e),2);if(f.ma)return f.return();Z2||(Z2=new $2,Z2.init());return f.yield(udb(Z2,a,b,c),0)})}; $2.prototype.init=function(){var a=this;return La(function(b){return a.sandbox==null?b.return():b.yield(a.sandbox.load(),0)})}; $2.prototype.download=function(a,b,c){c=c===void 0?"":c;var e=this;return La(function(f){return f.o==1?f.yield(tdb(a,b,c,e.options),2):f.ma?f.return():f.yield(udb(e,a,b,c),0)})}; function udb(a,b,c,e){e=e===void 0?"":e;var f,h,k;return La(function(l){switch(l.o){case 1:f=b instanceof Blob?b:new Blob([b],{type:e});if(typeof navigator.msSaveOrOpenBlob!=="function"){l.Pa(2);break}navigator.msSaveOrOpenBlob(f,c);return l.yield(a3(),3);case 3:return l.return();case 2:if(!Lb()||Caa(ubb(),16)>=0||!Gb()&&(!yb("iPad")&&!yb("iPhone")||Fb()||Gb()||(zb()?0:yb("Coast"))||Db()||!yb("AppleWebKit"))){l.Pa(4);break}h=new FileReader;h.onload=function(){var p=Ln("A"),r=Il(String(h.result)); Ll(p,r);p.download=c;p.click()}; h.readAsDataURL(f);return l.yield(a3(),5);case 5:return l.return();case 4:return a.sandbox==null&&(a.sandbox=new X2({RF:(k=a.options.lM)!=null?k:!1}),a.sandbox.load()),l.yield(a.sandbox.exec('var url=URL.createObjectURL(blob);var a=document.createElement("a");if(!("download" in a)){throw new Error("Downloading not supported on this browser");}a.href=url;a.download=filename;document.body.appendChild(a);a.click();setTimeout(function(){document.body.removeChild(a);URL.revokeObjectURL(url);},250);',[{name:"blob", value:f,transfer:!1},{name:"filename",value:c,transfer:!1}]),6);case 6:return l.yield(a3(),0)}})} function tdb(a,b,c,e){c=c===void 0?"":c;e=e===void 0?Y2:e;var f;return La(function(h){switch(h.o){case 1:if(!sdb(e))return h.return(!1);h.va(2);return h.yield(vdb(a,b,c),4);case 4:h.ya(3);break;case 2:f=h.ua();if(f instanceof DOMException&&f.name==="SecurityError")return h.return(!1);throw f;case 3:return h.return(!0)}})} function sdb(a){a=a===void 0?Y2:a;return a.WZ&&!!window.showSaveFilePicker} function vdb(a,b,c){c=c===void 0?"":c;var e,f,h,k;return La(function(l){switch(l.o){case 1:var p=c,r={suggestedName:b},t;(t=b.match(/\..+$/))?(t=t[0],t=t.length>16?null:t):t=null;if(t){p=p.replace(/;[^]*/,"");var v={};r.types=[{description:"*"+t,accept:(v[/^\s*[a-zA-Z0-9+._-]+\/[a-zA-Z0-9+._-]+?\s*$/.test(p)?p:"*/*"]=[t],v)}]}e=r;l.va(2);return l.yield(window.showSaveFilePicker(e),4);case 4:f=l.ma;l.ya(3);break;case 2:h=l.ua();if(h instanceof DOMException&&h.name==="AbortError")return l.return(); throw h;case 3:return l.yield(f.createWritable(),5);case 5:return k=l.ma,l.Na(6),l.yield(k.write(a),6);case 6:return l.Da(),l.yield(k.close(),9);case 9:l.Ba(7);break;case 7:return l.return()}})} $2.prototype.dispose=function(){this.sandbox!=null&&this.sandbox.dispose()}; function a3(){return new Promise(function(a){setTimeout(a,500)})} db("SafeDownloader",$2);var wdb={As:["{0}, {1}","{0}, {1}","{0}, {1}"],iR:["{0} and {1}","{0} & {1}","{0}, {1}"],QK:["{0}, and {1}","{0}, & {1}","{0}, {1}"],iS:["{0} or {1}","{0} or {1}","{0} or {1}"],mL:["{0}, or {1}","{0}, or {1}","{0}, or {1}"],OS:["{0}, {1}","{0}, {1}","{0} {1}"],NS:["{0}, {1}","{0}, {1}","{0} {1}"],sL:["{0}, {1}","{0}, {1}","{0} {1}"]},xdb=wdb;xdb=wdb;function ydb(){var a={type:"conjunction"};this.Da=a&&a.type?a.type:"conjunction";this.ya=a&&a.style?a.style:"long";this.o=xdb;a=0;switch(this.ya){case "short":a=1;break;case "narrow":a=2}switch(this.Da){case "conjunction":this.ua=this.o.As[a];this.va=(this.o.iR||this.o.QK)[a];this.oa=(this.o.j_||this.o.As)[a];this.ma=this.o.QK[a];break;case "disjunction":this.ua=(this.o.Eta||this.o.As)[a];this.va=(this.o.iS||this.o.mL)[a];this.oa=(this.o.Dta||this.o.As)[a];this.ma=this.o.mL[a];break;case "unit":this.ua= (this.o.OS||this.o.As)[a],this.va=(this.o.uua||this.o.sL)[a],this.oa=(this.o.NS||this.o.As)[a],this.ma=this.o.sL[a]}} ydb.prototype.format=function(a){return zdb(this,a)}; function b3(a,b,c){return a.replace("{0}",b).replace("{1}",c)} function zdb(a,b){var c=b.length;switch(c){case 0:return"";case 1:return String(b[0]);case 2:return b3(a.va,String(b[0]),String(b[1]))}for(var e=b3(a.ua,String(b[0]),String(b[1])),f=2;f0&&v.parents.push(oa)}}}); e3(this);this.dispatchEvent("fieldsinitialized");this.Kp&&Gdb(this);window.sc_createSpinner&&(this.oa=window.sc_createSpinner("small"),Cm(this.oa.getElement(),"submit-spin",!0));f3(this,!1);Hdb(this);Idb(this);Jdb(this);g3(this,!0);this.prepopulateFields();this.prefillFieldsFromSession();this.element.addEventListener("submit",function(v){v.preventDefault();e.submitForm()}); this.element.addEventListener("input",function(){e.dispatchEvent("inputchange");e.setHasCheckedForDynamicRecommendation(!1);e.Ya=!1;NF.enableA11yValidationFieldsList&&h3(e)}); this.element.addEventListener("change",function(){e.setHasCheckedForDynamicRecommendation(!1);e.Ya=!1;NF.enableA11yValidationFieldsList&&h3(e)}); this.model.c2c_configured&&(this.c2c=(0,window.sc_initFormClickToCall)(this));this.model.is_chat_form&&!this.shouldSubmitToCasesV2()&&i3(this);Kdb(this);this.dispatchEvent("validatorinitialized");this.dispatchEvent("initializationcomplete");j3(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 Ar(new uk(b.value)),this.Af.push(Er(b)),this.ua.push(dQ(b));a=w(this.fields);for(b=a.next();!b.done;b=a.next())if(b=b.value,c=b.getFrdIdentifier())this.ad.push(b), (f=this.Ba.get(c))?f.push(b):this.Ba.set(c,[b]);Ldb(this,this.element.getAttribute("data-helpcenter-frd-fields-confg"));Mdb(this);Ndb(this);Odb(this);Pdb(this);Qdb(this)} function Rdb(a){var b,c;return(c=(b=a.flags.campaignSelectorFormAllowlist)==null?void 0:b.primitive_value)!=null?c:[]} function Edb(a){if(a.Uk)var b=kn("CampaignSelectorFeature__enable_campaign_selector")==="true";else b=a.getRedwoodId(),b=gdb(b,Rdb(a))&&edb();if(!a.Yk&&!b)return null;if(a.yc)return a.yc;b=w(a.fields);for(var c=b.next();!c.done;c=b.next())if(c=c.value.o)return a.yc=c;return null} function Pdb(a){var b=document.querySelector(".contact-form-suggestions-panel-container");b&&(bx.initialize(b,void 0),tra(document),bx.Si=function(c,e){return a.Si(c,e)},cx(),pTa(a.getRedwoodId()),b=function(){ax()},a.element.addEventListener("input",b),a.element.addEventListener("change",b),setTimeout(b,0),b=function(){dx()},a.listen("nextpage",b),a.listen("highcontextchannelrecommendationfound",b),a.listen("submitstart",function(){bx.submitForm(); dx()}))} function Qdb(a){if(k3(a)&&!z().is_render_api){var b=a.querySelector(".submit-button");b&&(b.textContent=a.model.strings.NEXT);a.listen("dynamicrecommendationfound",a.FW.bind(a));a.listen("error",function(){a.ya.length>0||a.Hw()}); a.listen("invalidated",function(){a.ya.length>0||a.Hw()}); a.listen("submitend",function(){a.Hw()}); (b=document.querySelector(".collapsed-form-container__header"))&&b.addEventListener("click",a.Hw.bind(a))}} function Sdb(){return{fN:document.querySelector(".form-suggestions-wrapper"),ZL:document.querySelector(".collapsed-form-container"),sM:document.querySelector(".contact-form-dynamic-recommendations-container"),YL:document.querySelector(".contact-form-header")}} n=Cdb.prototype;n.Hw=function(){var a=Sdb(),b=a.fN,c=a.ZL,e=a.sM;a=a.YL;b&&c&&e&&a&&(Cm(c,"hidden",!0),Cm(e,"hidden",!0),Cm(a,"hidden",!0),Cm(b,"hidden",!1),this.setShouldShowNextStep(!0))}; n.FW=function(){var a=Sdb(),b=a.fN,c=a.ZL,e=a.sM;a=a.YL;b&&c&&e&&a&&(Cm(c,"hidden",!1),Cm(e,"hidden",!1),Cm(b,"hidden",!0),Cm(a,"hidden",!1),this.setShouldShowNextStep(!1),this.Ea||cra(e,this.getFieldValues(),this.gE))}; n.querySelector=function(a){return this.element.querySelector(a)}; function l3(a,b){return a.element.querySelector(b)} n.querySelectorAll=function(a){return this.element.querySelectorAll(a)}; function c3(a,b){for(var c=0;c=a.model.total_pages;Cm(a.Lg,"hidden",!b);b?a.Ka.activate():a.Ka.deactivate()}} n.VD=function(){var a=!1;c3(this,function(b){var c=b.querySelector(".target-frd-message");c&&((b=!a&&b.isVisible())&&(a=!0),Cm(c,"hidden",!b))})}; function f3(a,b){var c=a.page>=a.model.total_pages,e=a.querySelector(".submit-button");e&&(Cm(e,"hidden",!c),e.disabled=!a.Bb||b);if(a.va){var f=m3(a)?".high-context-channel-recommendation__recaptcha":".recaptcha";Cm(a.querySelector(f),"hidden",!c)}if(f=a.querySelector(".previous-button"))Cm(f,"hidden",a.page===1),f.disabled=b;if(f=a.querySelector(".next-button"))Cm(f,"hidden",a.page===a.model.total_pages),f.disabled=!a.Bb||b;if(a.oa){b?a.oa.show():a.oa.hide();var h=a.oa.getElement();!c&&(f==null? 0:f.parentNode)?f.parentNode.appendChild(h):c&&(e==null?0:e.parentNode)?e.parentNode.appendChild(h):(e==null?0:e.parentNode)?e.parentNode.appendChild(h):(f==null?0:f.parentNode)&&f.parentNode.appendChild(h)}(c=a.querySelector(".high-context-channel-recommendation__button-spinner"))&&Cm(c,"hidden",!b);n3(a,b)} function m3(a){return!Em(a.querySelector(".high-context-channel-recommendation__container"),"hidden")} function Hdb(a){var b=a.querySelector(".submit-button");b&&(!z().li&&a.model.is_chat_form?(b.disabled=!0,l3(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(){Tdb(a,a.page-1)&&(a.dispatchEvent("previouspage"),j3(7))}); (b=a.querySelector(".next-button"))&&b.addEventListener("click",a.submitForm.bind(a))} function Odb(a){if(ddb()&&!a.model.logged_in){j3(4,304);var b=a.element.querySelector(".need-info-authentication-prompt__container");a=a.element.querySelector(".confirmation-message__authentication-prompt-container");b&&Cm(b,"hidden",!1);a&&Cm(a,"hidden",!1)}} function Ndb(a){if(ddb()&&a.model.logged_in&&!z().is_render_api){for(var b=[],c=w(Adb),e=c.next();!e.done;e=c.next())(e=a.Ba.get(e.value))&&b.push.apply(b,za(e));b=w(b);c=b.next();for(e={};!c.done;e={Cv:void 0,tx:void 0,OG:void 0,targetIdAuthorizationWarning:void 0},c=b.next())e.Cv=c.value,e.OG=e.Cv.getFrdIdentifier(),e.OG&&(e.tx=e.Cv.querySelector(".text-input-container"),e.targetIdAuthorizationWarning=e.Cv.querySelector(".target-id-authorization-warning"),e.Cv.getElement().addEventListener("focusout", function(f){return function(){var h,k,l,p;return La(function(r){switch(r.o){case 1:h=f.Cv.getValues()[0].value;if(!h)return r.return();f.tx&&Cm(f.tx,"text-input-spin",!0);r.va(2,3);return r.yield(Udb(a,f.OG,h),5);case 5:k=r.ma;if(gf(k,V2,1,Ge()).length===0)return r.return();l=gf(k,V2,1,Ge())[0];p=sf(l,2);Cm(f.targetIdAuthorizationWarning,"hidden",p);j3(p?4:5,305);case 3:r.Da();f.tx&&Cm(f.tx,"text-input-spin",!1);r.Ba(0);break;case 2:r.ua(),Cm(f.targetIdAuthorizationWarning,"hidden",!0),j3(5,305), r.Pa(3)}})}}(e)))}} function Idb(a){a=a.element.getElementsByTagName("textarea");for(var b=0;b0&&x.getValues()[0].value!==""&&!Bdb.includes(x.getType())&&x.getType()!=="HIDDEN";if(!E||!a.Op.has(E)&&!oa){k=[];var ta=qf(v,2);ta?k=[ta]:gf(v,Sj,3,Ge()).length>0&&(k=[].concat(za(Vdb(gf(v,Sj,3,Ge())[0]))));k.length>0&&(h++,Acb(x,k)&&e++)}}}if(e>0){var va=document.querySelector(".prefilled-callout");va&&Cm(va,"hidden", !1)}Wdb(e,h)}else Wdb(0,0);a.md=[];var Aa,Fa=(Aa=ef(f,M2,2))==null?void 0:Oe(Aa,2,Sj,mQ);if(Fa)for(var Ma=w(Fa.values()),Ra=Ma.next();!Ra.done;Ra=Ma.next()){var Wa=Ra.value,bb=wk(new uk,Wa),tb=new Ar(bb);a.md.push(dQ(tb))}}catch(Eb){console.error("Failed to parse FormsGetPrefillDataResponse",Eb)}finally{g3(a,!1)}}, Uc:function(e){j3(21,313,"getprefilldata: "+e.statusText);console.error("getprefilldata endpoint returned an error",e);g3(a,!1)}, Bi:!0})}}else g3(this,!1)}; function Wdb(a,b){var c="no_prefill";b>0&&(c=a===b?"full_prefill":"partial_prefill");j3(15,313,c+": prefilled_count:"+(a+"_total_potential_count:"+b))} function Vdb(a){return(a=Vj(a))?Ae(a,Jj,8,Nf)?Kj(Mj(a)):Ae(a,Ej,2,Nf)?Fj(a.Eh()).map(function(b){return""+b}):Ae(a,Jj,3,Nf)?Kj(a.Hk()):Ae(a,Cj,4,Nf)?Dj(Oj(a)).map(function(b){return""+b}):Mf(a)!=null?[a.Wn().toString()]:Ae(a,Gj,6,Nf)?Hj(a.jo()).flat().map(function(b){return""+b}):[]:[]} n.prepopulateFields=function(a){if(this.model.enable_prepopulate_contact_form_field_query_params)for(var b=w(this.fields),c=b.next();!c.done;c=b.next()){c=c.value;var e=Xdb(c,a),f=void 0;if((f=e)==null?0:f.DQ.length)c.setValues(e.DQ,!0),(f=c.getId())&&this.Op.add(f);f=void 0;((f=e)==null?0:f.YY)&&c.hide()}}; function Xdb(a,b){b||(b=z().query_params);b=b.filter(function(t){return t.key==="pcff"}); for(var c=[],e=!1,f=0;f .contact-form-label__text');if(a.length!==0&&a[0])return a=a[0],a.textContent?a.textContent:void 0} n.DA=function(a,b){var c=[];c3(this,function(e){var f=vcb(e,a,b);f&&c.push({field:e,control:f,value:b})}); return c}; n.Yl=function(){return this.page}; n.submitForm=function(){var a=this;if(this.Zg&&this.Ya&&!this.Na)this.getStatusMessage()!==""&&(this.Ea=!1),Ydb(this);else{this.Lb&&this.Sa!==27||(this.Lb=Vt.fe());for(var b=this.model.strings.VALIDATION_NOTE,c=[],e=w(this.ma),f=e.next();!f.done;f=e.next()){var h=f.value;f=h.model;f.Bc()||f.Xc().getId()||(QR(h,!0,this.model.strings.REQUIRED_FIELD),h=f.getName(),c.length===0&&NF.enableA11yValidationFieldsList&&h&&(b=k2(b,h)),j3(17,21,h),c.push({id:h,value:rR(f).join(",")}))}if(c.length>0)o3(this,"invalid", b),Zdb(c),this.dispatchEvent("invalidated");else if(f3(this,!0),c3(this,function(l){l.Da&&(a.zd=!0,l.targetVerified()&&(a.targetVerified=!0))}),this.xg!==0){var k=function(){a.element.removeEventListener("uploadend",k); a.submitForm()}; this.element.addEventListener("uploadend",k)}else this.dispatchEvent("validationstart"),p3(this)||this.dispatchEvent("beforesubmit"),$db(this).then(function(l){!a.c2c||a.model.use_cufinsert_api_when_validating_only&&a.validateOnly?q3(a)&&a.model.check_chat_availability_before_submitting_request&&!r3()&&!a.shouldSubmitToCasesV2()?aeb(a,l):beb(a,l):ceb(a,l)}).catch(function(){s3(a,a.model.strings.BACKEND_ERROR); a.dispatchEvent("validationend")})}}; function deb(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(){eeb(a,!1)}); b.addEventListener("click",function(){eeb(a,!0)}); c.addEventListener("click",function(){j3(55,303);feb(a,1)}); e.addEventListener("click",function(){j3(54,303);feb(a,2)})} function feb(a,b){b===2?geb(a,a.o,"channel_reco_chat_channel_selected"):geb(a,a.o,"channel_reco_chat_channel_shown");var c=a.querySelector(".notification-area");c&&(c.textContent="");a.setSubmissionChannel(b);a.o&&(a.o.submission_channel=b);a.submitForm()} function eeb(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");Cm(a.querySelector("#channel-recommendation-chat-option"),"high-context-channel-recommendation-options__option--active",b);Cm(c,"high-context-channel-recommendation-options__option--active",!b);Cm(f,"hidden",!b);Cm(e,"hidden",b)} function heb(){var a=kn("FormSurveysFeature__trigger_id");Gu(new Fu,{triggerId:a,enableTestingMode:kn("FormSurveysFeature__enable_testing_mode")==="true",productData:{experimentIds:nn()}})} n.setAssistiveQuestionAnswers=function(a){this.Da=a;if(this.c2c&&(!this.model.use_cufinsert_api_when_validating_only||!this.validateOnly)){a=w(this.Da);for(var b=a.next();!b.done;b=a.next())if(b=b.value,b.c2cCountry&&b.c2cNumber){a=l3(this,'input[type="tel"]').closest(".field").querySelector("select");this.Ff(a.name).setValues([[b.c2cCountry,b.c2cNumber]]);break}}}; function Gdb(a){var b="submit_form";a.model.has_custom_recaptcha_action&&(b="submit_form_"+a.getRedwoodId()+"_"+a.getId());var c=m3(a)?".high-context-channel-recommendation__g-recaptcha":".g-recaptcha";a.recaptcha=new MF(a.querySelector(c),function(){a.tb=!0;j3(19,22)},b)} function ieb(a){var b=m3(a)?".high-context-channel-recommendation__g-recaptcha-v2":".g-recaptcha-v2",c=a.querySelector(b);if(c){var e=window.sc_createSpinner?window.sc_createSpinner("small"):null;e&&c.parentNode&&c.parentNode.insertBefore(e.getElement(),c);a.Ia=(new KC(c,function(){e&&c.parentNode&&c.parentNode.removeChild(e.getElement());a.va=!0;j3(19,172);j3(4,172)})).So(function(){j3(14,172)})}} function jeb(a,b){b=b===void 0?null:b;var c=R2().map(function(f){return f.toString()}); b&&c.push(b);b=Rdb(a);var e=keb(a);c.push.apply(c,za(Qcb(a.getRedwoodId(),e)));c.push.apply(c,za(hdb(a.getRedwoodId(),b)));c.push.apply(c,za(kn("DetectDuplicateCases__enable_detect_duplicate_cases")==="true"?["detect_duplicate_cases_treatment"]:["detect_duplicate_cases_control"]));return[bQ($P(ZP(new Ar,8001336),8001336).ud(15),[].concat(za(new Set(c))))]} function geb(a,b,c){b.form_frd_values=b.form_frd_values.filter(function(e){return e.frd_id!==8001336}); a=jeb(a,c)[0];b.form_frd_values.push(j2(a.Mc))} n.submitCaseUpdate=function(a,b,c){var e=this,f,h,k,l,p,r,t;return La(function(v){switch(v.o){case 1:return v.va(2),v.yield($db(e),4);case 4:f=v.ma;h=structuredClone(f);h.validate_only=!1;h.header||(h.header=[]);h.header.push({name:"case_action",value:a});h.header.push({name:"case_id",value:"cases/"+b});c&&h.header.push({name:"note_body",value:c});h.submit_id=e.submitId;k={v:"0",psd:JSON.stringify(e.productSpecificData)};(l=Fm("test"))&&(k.test=l);(p=Fm("cases2"))&&(k.cases2=p);r={common_params:{context_params:{view_id:z().vid}}, resource:h};if(e.va&&e.Ia){r.recaptcha_response=e.Ia.getResponse();v.Pa(5);break}if(!e.tb||!e.recaptcha){v.Pa(5);break}return v.yield(e.recaptcha.getResponse(),7);case 7:r.recaptcha_response_v3=v.ma;case 5:return v.yield(new Promise(function(x,E){Pm({httpMethod:"POST",endpoint:"cufinsert",params:k,requestBody:r,onLoadCallback:function(oa){try{var ta=JSON.parse(oa.responseText);ta.error||!ta.result||ta.result.includes("UPDATE_FAILED")?E(Error("Case update failed. Response: "+JSON.stringify(ta))):ta.result.includes("UPDATE_OK")? (e.caseId=b,x()):E(Error("Update did not succeed. Result: "+JSON.stringify(ta.result)))}catch(va){E(Error("Failed to parse response"))}}, Uc:function(){E(Error("API error"))}, Bi:!0})}),8); case 8:return v.return();case 2:throw t=v.ua(),e.dispatchEvent("validationend"),t;}})}; function $db(a){var b,c,e,f,h,k,l,p,r,t,v,x,E,oa,ta,va,Aa,Fa,Ma,Ra,Wa,bb,tb,Eb,Cb;return La(function(ob){if(ob.o==1){if(a.Na&&a.o)return ob.return(Promise.resolve(a.o));c={form_id:a.element.getAttribute("id"),header:[],subject:"",content:"",validate_only:a.validateOnly||t3(a)||p3(a)||k3(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:ZR(ZR(ZR(ZR(ZR(ZR(ZR(new TR,a.Ra),a.ua),a.Wa.Tc()),a.md),a.ma.map(function(jb){return jb.model}).filter(function(jb){return jb.isRequired()&&jb.isPending()&&jb.isValid()}).map(function(jb){return jb.Xc().setRequired(!0)})),[$P(ZP(new Ar,8000730),8000730).ud(15).kh([Om()])]),jeb(a)).Tc().map(function(jb){return j2(jb.Mc)}), selected_symptom_frd_values:(b=a.selectedSymptomFrdValues)==null?void 0:tbb(b),parent_case_name:a.parentCaseName,submission_channel:a.submissionChannel,cases_attachment:a.il.map(function(jb){return{blob_name:Jf(jb,1),file_name:jb.getFileName()}}), form_revision:Number(a.element.getAttribute("data-contact-form-revision"))};r3()&&(c.chat_pool_id=a.getChatPoolId(),a.getContactType()===1||a.getContactType()===3)&&(c.gcm_registration_id=a.gcmRegistrationId);e=a.getSubjectFieldId();f=a.getBodyFieldId();return a.Ka?ob.yield(a.Ka.getScreenshotData(),3):ob.Pa(2)}ob.o!=2&&(h=ob.ma)&&(a.qn=[{name:"screenshot",value:"There was a file uploaded for this field."},{name:"upload_original_filename",value:h.originalFilename},{name:"upload_cns_filename",value:h.Uf}, {name:"upload_document_id",value:h.documentId}]);if(a.Da.length>0)for(c.is_assistive=!0,c.assistive_flow_results=[],k=w(a.Da),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});leb(a)&&a.ya&&a.ya.length>0&&(c.dynamic_question_results=a.ya.map(function(jb){return{question_text:jb.questionText, question_intent:jb.questionIntent,answer_values:jb.answerValues,relevance:jb.relevance,suggested_input_type:jb.suggestedInputType}})); c.helpcenter_form_field_results=[];a.ma&&a.ma.length>0&&(t=a.ma.filter(function(jb){return jb.model.isValid()&&jb.model.IH}).map(function(jb){return{field_label:jb.Me(), field_id:jb.model.getName(),field_values:rR(jb.model)}}),t.length>0&&(c.helpcenter_form_field_results=t)); v=a.getFieldValues();x=meb(a,!0);E=new Map(a.getHcfNameScFrdValueMap().entries());a.ma.map(function(jb){return jb.model}).forEach(function(jb){jb.isValid()&&E.set(jb.getName(),dQ(jb.Xc()))}); for(oa=0;oa0&&(c.product_specific_data=bb);a.zd&&(c.target_submission_details={used_target_selector:!0,is_target_selector_verified:a.targetVerified});return ob.return(c)})} function aeb(a,b){var c=u3(a,1);Pm({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)?beb(a,b):(a.oa&&a.oa.hide(),i3(a))}, Uc:function(e){j3(21,52,"escalationavailability: - "+e.statusText);a.oa&&a.oa.hide();if(e=a.querySelector(".submit-button"))e.disabled=!1;s3(a,a.model.strings.BACKEND_ERROR);a.dispatchEvent("validationend")}})} n.getChatAvailability=function(){var a=this;return La(function(b){return b.return(neb(a))})}; function ceb(a,b){var c,e,f,h,k,l;La(function(p){if(p.o==1)return c={contact_flow:b},a.va?(c.recaptcha_response=a.Ia.getResponse(),p.Pa(2)):a.tb?p.yield(a.recaptcha.getResponse(),4):p.Pa(2);p.o!=2&&(c.recaptcha_response_v3=p.ma);a.c2c.populateCallParameters(c);a.shouldSubmitToCasesV2()&&(e={},f=u3(a,5),eg(f,2)&&(e.form_id=Jf(f,2)),wd(ue(f,4))!=null&&(e.redwood_form_id=Sf(f,4)),e.channel=[5],ye(f,GQ,7)?e.sc_frd_values=sbb(new TR(f.getScFrdValues())):ye(f,hk,1)&&(e.frd_values=tbb(new TR(ef(f,hk,1)))), c.escalation=e);h={v:"1",psd:JSON.stringify(a.productSpecificData)};(k=Fm("test"))&&(h.test=k);(l=Fm("cases2"))&&(h.cases2=l);b.submit_id=a.submitId;Pm({httpMethod:"POST",endpoint:"createcall",params:h,requestBody:c,onLoadCallback:function(r){var t=null;try{t=JSON.parse(r.responseText)}catch(v){}v3(a,{type:"c2c",response:t})}, Uc:function(){v3(a,{type:"c2c",response:!1})}}); p.oa()})} function beb(a,b){var c,e,f,h;La(function(k){if(k.o==1)return c={v:"0",psd:JSON.stringify(a.productSpecificData)},(e=Fm("test"))&&(c.test=e),(f=Fm("cases2"))&&(c.cases2=f),b.submit_id=a.submitId,h={common_params:{context_params:{view_id:z().vid}},resource:b},a.va?(h.recaptcha_response=a.Ia.getResponse(),k.Pa(2)):a.tb?k.yield(a.recaptcha.getResponse(),4):k.Pa(2);k.o!=2&&(h.recaptcha_response_v3=k.ma);q3(a)&&(a.shouldSubmitToCasesV2()||f)&&(a.Zc=!0);Pm({httpMethod:"POST",endpoint:"cufinsert",params:c, requestBody:h,onLoadCallback:function(l){var p=null;try{p=JSON.parse(l.responseText)}catch(r){v3(a,{type:"cuf",response:l.responseText,formData:b});return}v3(a,{type:"cuf",response:p,formData:b})}, Uc:function(){v3(a,{type:"cuf",response:!1,formData:b})}, Bi:!0});k.oa()})} function q3(a){return a.model.is_chat_form||a.Na&&a.o!==null&&a.o.submission_channel===2} function t3(a){if(!a.model.fix_multi_page)return!1;var b=!1;c3(a,function(c){Number(c.Yl())>a.Yl()&&c.hasSatisfiedDependencies()&&(b=!0)}); return b} function p3(a){var b=a.getContactType()===0;return a.model.logged_in&&(cdb()||R2().includes("channel_reco_treatment"))&&z().rs===1&&b&&!a.Na} function k3(a){return a.model.logged_in&&!a.Ea&&oeb(a)} function oeb(a){var b;(b=leb(a))||(b=a.getContactType()===3,b=!!a.flags.enableSmartIntakeDuplicateCases&&!b);return b} function leb(a){var b=a.getRedwoodId(),c=!!a.flags.enableSmartIntakeDynamicQuestions,e,f;a=(f=(e=a.flags.smartIntakeDynamicQuestionsFormAllowlist)==null?void 0:e.primitive_value)!=null?f:[];e=z().lang;return c&&WUa(b,a,e)} n.getHasCheckedForDynamicRecommendation=function(){return this.Ea}; n.setHasCheckedForDynamicRecommendation=function(a){this.Ea=a}; n.getHasCheckedForDynamicQuestions=function(){return this.Hp}; n.setHasCheckedForDynamicQuestions=function(a){this.Hp=a}; n.getHasCheckedForDuplicateCases=function(){return this.Ep}; n.setHasCheckedForDuplicateCases=function(a){this.Ep=a}; n.getShouldShowNextStep=function(){return this.Zg}; n.setShouldShowNextStep=function(a){this.Zg=a}; function Ydb(a,b){b=b===void 0?null:b;f3(a,!0);b&&(a.o=b);a.o.validate_only=a.validateOnly||t3(a);a.dispatchEvent("dynamicrecommendationfound");a.setHasCheckedForDynamicQuestions(!1);a.setHasCheckedForDuplicateCases(!1);a.Ya=!0;a.Ea=!0;f3(a,!1)} function peb(a,b){f3(a,!0);a.o=b;a.o.validate_only=a.validateOnly||t3(a);a.Na=!0;b={contact_flow_model:b};Pm({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){w3(a,{response:c.responseText});return}w3(a,{response:e})}, Uc:function(){w3(a,{response:!1})}, Bi:!0})} function Zdb(a){a=bdb(new P2,a.map(function(b){return(new O2).setId(b.id).setValue(b.value)})); Pm({httpMethod:"POST",endpoint:"logformvalidationfailure",params:{v:"1"},requestBody:a,onLoadCallback:function(){}, Uc:function(){}, Bi:!0})} function w3(a,b){f3(a,!1);if(typeof b.response!=="object")a.submitForm();else if(b=b.response,b.channel_type&&b.channel_type==="CHAT"&&a.getContactType()===0){a.Sa=28;qeb(a);reb();j3(4,303);var c=a.querySelector(".high-context-channel-recommendation__container");seb(a,!1);Cm(c,"hidden",!1);!z().is_render_api&&oeb(a)&&a.Hw();a.dispatchEvent("highcontextchannelrecommendationfound");a.Kp&&Gdb(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&&Zl(c,om.ue(f))}c=a.querySelector(".high-context-channel-recommendation-options__help-text");e=a.querySelector(".high-context-channel-recommendation-options__help-text-container");b.estimated_save_time?(b=Math.floor(b.estimated_save_time.seconds/3600)+1,b=a.model.strings[b===1?"CHANNEL_RECOMMENDATION_HELP_TEXT":"CHANNEL_RECOMMENDATION_HELP_TEXT_PLURAL"].replace("$0",""+b),Zl(c,om.ue(b))):Cm(e,"hidden",!0);deb(a)}else a.Sa=29,a.submitForm()} function Udb(a,b,c){var e;return La(function(f){e=kdb(new U2,jdb(idb(new S2,b),c));return f.return(new Promise(function(h,k){Pm({httpMethod:"POST",params:{v:"1",psd:JSON.stringify(a.productSpecificData)},endpoint:"authorizetargets",requestBody:e,onLoadCallback:function(l){var p=null;try{p=mdb(l.responseText),h(p)}catch(r){k(Error("Failed to parse AuthorizeTargetsResponse."))}}, Uc:function(){k(Error("API error authorizing targets."))}, Bi:!0})}))})} function qeb(a){a.Lb.report(a.Sa);a.Lb=null;a.Sa=27} n.getSubjectFieldId=function(){return l3(this,'input[name="subject-line-field-id"]').value}; n.getBodyFieldId=function(){return l3(this,'input[name="body-text-field-id"]').value}; function meb(a,b){var c=[];c3(a,function(p){var r;if((r=p.hasSatisfiedDependencies())&&!(r=a.Yk||a.Uk)){a:{var t=Edb(a),v;r=(v=p.getId())!=null?v:"";v=p.getType();if(t||p.getFrdIdentifier()!==8001422||v!=="HIDDEN"||r.toLowerCase()!=="ads_policy_topics")if(t&&!t.Mf){var x=p.getFrdIdentifier();if(r.toLowerCase()==="policies_ad")t=["policy_other"];else if(x===8000293)t=Array.from(t2(t.o).keys());else if(x===8000638)t=Array.from(t2(t.o).values()),t=t.length>0?[t[0]]:[];else if(x===8000988)t=Array.from(t2(t.o).values()); else if(x===8001422)t=t.oa;else{r=!1;break a}t=w(t);for(x=t.next();!x.done;x=t.next())c.push({name:r,value:x.value,type:v});r=!0}else r=!1;else c.push({name:r,value:"",type:v}),r=!0}r=!r}if(r)for(r=p.getValues(b),v=0;v0){s3(a,web(e),e);a.dispatchEvent("validationend");break a}xeb(a,e)}else s3(a,a.model.strings.BACKEND_ERROR,e)}else s3(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(t3(a))x3(a);else if(k3(a))Ydb(a,b);else if(p3(a))peb(a, b);else{b=Fm("cases2");if(b=q3(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,y3(a),j3(66,339,c.case_id));a.validateOnly||(!b||r3()||z().rs===79&&a.flags.enableChatMoleMigration||((0,window.sc_ensureSubscribed)(),a.dispatchEvent("chatrequested")),qeb(a),z3(a));A3(!0);e=!0}else xeb(a,c);else s3(a,web(c),c);else s3(a,a.model.strings.CONNECTION_ERROR);c=Fm("cases2"); !e&&q3(a)&&(a.shouldSubmitToCasesV2()||c)&&(a.Zc=!1);a.dispatchEvent("validationend")}} function yeb(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 web(a){var b;return((b=a.submit_error)==null?0:b.length)?(a=a.submit_error[0],yeb(a.code,a.sub_code)):""} function zeb(a,b){var c=m3(a)?".high-context-channel-recommendation__recaptcha":".recaptcha";(a=a.querySelector(c))&&Cm(a,"invalid",b)} function xeb(a,b){for(var c=!1,e=a.model.strings.VALIDATION_NOTE,f=[],h=w(b.result||[]),k=h.next();!k.done;k=h.next())if(k=k.value.split(":"),k[0]==="REQUIRED_FORM_FRD_VALUE"){if(k=Aeb(a,k[1],k[2]))k.isVisible()?(QR(k,!0,a.model.strings.REQUIRED_FIELD),(k=k.model.getName())&&f.push(k)):(k=k.model.getName(),NF.enableA11yValidationFieldsList&&k?e=k2(a.model.strings.REQUIRED_FIELD,k):k?e=a.model.strings.REQUIRED_FIELD+": "+k:e=a.model.strings.REQUIRED_FIELD),c=!0}else{var l=a.Ff(k[1]);if(k[0]==="REQUIRED_RECAPTCHA")a.page=== a.model.total_pages&&(e=a,e.model.fallback_to_recaptcha_v2&&(e.va||(k=m3(e)?".high-context-channel-recommendation__g-recaptcha":".g-recaptcha",(k=e.querySelector(k))&&Cm(k,"hidden",!0),ieb(e)),zeb(e,!0)),c=!0,e=a.model.strings.REQUIRED_RECAPTCHA_NOTIFICATION);else if(k[0]==="INVALID_AUTH_TOKEN")c=!0,e="Refresh this page and try again. Sorry, there was a problem with the form.";else if(k[0]==="CHAT_UNAVAILABLE")i3(a),c=!0;else if(l&&l.isVisible()){if(c=l.getType()==="PHONE_NUMBER"&&a.c2c)a:{c=a;var p= l.getValues(!0)[0];if(p&&p.value){p=JSON.parse(p.value);var r;if(r=p){p=p.country;r=[];var t=c.model.phone_type_required_countries;t&&(r=t.split(","));r=r.indexOf(p)!==-1}if(r){l.setValidity(!1,c.model.strings.PHONE_TYPE_VALIDATION,!0);c=!0;break a}}c=!1}c?(k=C2(l))&&f.push(k):(l.setValidity(!1,a.model.strings[k[0]]||a.model.strings.DEFAULT),(k=C2(l))&&f.push(k));c=!0}}c?(h=e,NF.enableA11yValidationFieldsList&&e===a.model.strings.VALIDATION_NOTE&&f.length>0&&(f=Array.from(new Set(f)),f=(new ydb).format(f), h=k2(e,f)),o3(a,"invalid",h+Beb(a,b)),a.dispatchEvent("invalidated"),j3(17)):x3(a)} function h3(a){if(a=a.querySelector(".notification-area"))Cm(a,"error",!1),Cm(a,"invalid",!1),a.textContent="",NF.enableA11yValidationFieldsList&&a.removeAttribute("role")} function veb(a){h3(a);c3(a,function(e){e.setValidity(!0)}); for(var b=w(a.ma),c=b.next();!c.done;c=b.next())QR(c.value,!1);a.va&&zeb(a,!1)} function o3(a,b,c){var e=a.querySelector(".notification-area");e&&(Cm(e,b,!0),e.textContent=c,b==="invalid"?(e.setAttribute("role","alert"),(b=a.element.querySelector('[aria-invalid="true"]'))&&b.focus(),(a=a.element.querySelector(".invalid .validation-message"))&&a.setAttribute("aria-live","polite")):e.setAttribute("role","status"))} n.wrapUpCaseUpdate=function(a){this.caseId=a;y3(this);this.dispatchEvent("validated");z3(this);A3(!0);this.dispatchEvent("validationend")}; n.getStatusMessage=function(){var a;return((a=this.querySelector(".notification-area"))==null?void 0:a.innerText)||""}; n.setErrorMessage=function(a){o3(this,"error",a)}; function s3(a,b,c){a.setErrorMessage(b+Beb(a,c));if(c==null?0:c.submit_error)for(b=w(c.submit_error),c=b.next();!c.done;c=b.next())if(c=c.value,c.escalation_rpc_event_id){j3(21,339,c.escalation_rpc_event_id);break}a.dispatchEvent("error");A3(!1)} function Beb(a,b){if(!b||!a.model.show_debug_info)return"";a=["\n\nDebug info for Googlers:"];var c;((c=b.submit_error)==null?0:c.length)&&a.push.apply(a,["\nSubmit Errors:"].concat(za(b.submit_error.map(function(f){return JSON.stringify(f)})))); var e;((e=b.result)==null?0:e.length)&&a.push.apply(a,["\nResult:"].concat(za(b.result)));return a.join("\n")} function x3(a){Tdb(a,a.page+1);a.dispatchEvent("nextpage");j3(6)} function z3(a){a.dispatchEvent("submitstart");if(!q3(a)||a.Da.length>0)reb(),seb(a),Ceb(a);if(q3(a)){var b=a.querySelector(".submit-button");b&&(b.disabled=!0);n3(a,!0);window.sc_enableFormSubmissionDetailsAndDownloadUi&&(Deb(a),Eeb(a,l3(a,".submission-details-chat__content")),Feb(a),b=l3(a,".submission-details-chat__download-button"),b.addEventListener("click",function(){Geb(a)}),l3(a,".submission-details-chat__edit-button").addEventListener("click",function(){Heb(a)}),j3(4,182),Cm(l3(a,".submission-details-chat"), "hidden",!1),b.focus()); l3(a,".notification-area").textContent=a.model.strings.CHAT_CREATING;a.dispatchEvent("chatrequested")}j3(22);a.dispatchEvent("submitend");a.dispatchEvent("cleancomplete");kn("FormSurveysFeature__enable_hats")==="true"&&heb()} function n3(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 reb(){var a=document.querySelector(".prefilled-callout");a&&Cm(a,"hidden",!0)} function seb(a,b){b=b===void 0?!0:b;for(var c=q3(a)&&a.Da.length>0,e=0;e0&&a.ql.set(c.getId(),e)}b=w(a.ma);for(c=b.next();!c.done;c=b.next())c=c.value,e=c.Me(),c.isVisible()&&e&&a.La.set(e,c.getDisplayValues())} function Eeb(a,b){a=w(a.La.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+=": ",Cm(c,"multi-value",f.length>1),e=w(f),f=e.next();!f.done;f=e.next())f=f.value,h=document.createElement("span"),Cm(h,"submission-value",!0),h.innerText=f,c.appendChild(h);b.appendChild(c)}} function Geb(a){for(var b="",c=w(a.La.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";$2.download(b,c,"text/plain");j3(47,182);ln("contact_form_submission_download")} function Heb(a){var b=new URLSearchParams;a=w(a.ql.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)}ln("contact_form_submission_edit");j3(24,182);b=new URL(""+window.location.origin+window.location.pathname+"?"+b);Zm(b.toString())} function A3(a){Pm({httpMethod:"POST",endpoint:"cufz",requestBody:{success:a,page_view_id:z().pvid}})} function Aeb(a,b,c){return b&&c?a.ma.find(function(e){return eQ(e.model.Xc(),ZP($P(new Ar,+b),+b).ud(+c))}):null} n.Ff=function(a){var b=null;c3(this,function(c){var e=c.cidSelector&&c.getElement().querySelector(".cid-selector"),f=c.Ck&&c.getElement().querySelector(".frd-target-selector"),h=c.o&&c.getElement().querySelector(".policy-violation-campaign-selector-container");return c.getId()===a&&c.getType()!=="EXTERNAL_SOURCE"||e!==null&&e.getAttribute("id")===a||f!==null&&f.getAttribute("id")===a||h!==null&&h.getAttribute("id")===a?(b=c,!1):!0}); return b}; function Tdb(a,b){if(b===a.page||b<1||b>a.model.total_pages)return!1;a.page=b;e3(a);f3(a,!1);return!0} function j3(a,b,c){var e;c=(e=c!=null?c:z().pid)==null?void 0:e.toString();var f,h;(h=(f=window).sc_trackStatsEvent)==null||h.call(f,b===void 0?21:b,a,c)} function Ieb(a,b){var c=u3(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){Pm({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"))}}, Uc:function(){h(Error("escalationavailability endpoint returned an error"))}, Bi:!0})})} function u3(a,b){var c=new SR,e=a.getId();Zf(c,2,e);e=Number(a.getRedwoodId());Wf(c,4,e);Pe(c,3,[b],rd);if(a.selectedSymptomFrdValues){b=[];e=w(a.selectedSymptomFrdValues);for(var f=e.next();!f.done;f=e.next()){var h=void 0;b.push.apply(b,za((h=aQ(f.value))!=null?h:[]))}a=UR(ZR(WR(new TR,VR(a.selectedSymptomFrdValues)).xd(a.selectedSymptomFrdValues.Fh()),[bQ(ZP($P(new Ar,8000072),8000072).ud(15),b)]));hf(c,GQ,7,a)}return c} n.getEscalationChannelAvailabilityInformation=function(a){var b=this,c,e,f,h,k,l,p,r,t;return La(function(v){if(v.o==1)return v.yield(Ieb(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 neb(a){var b,c,e;return La(function(f){return f.o==1?f.yield(Ieb(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 Kdb(a){var b=a.querySelector(".contact-form__gdpr-dialog");if(b){var c=function(e){var f=this.Ob().strings,h=this.Ob().style_params,k=this.Ob().gdpr_privacy_policy_url,l=z().lang,p={};f=new VF(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 aS({Qa:f,locale:l,privacyPolicyUrl:k,vs:h?{"font-family":h.font_family.title}:void 0,qq:h?{"font-family":h.font_family.body}: void 0,xq:h?{"font-weight":String(h.strong_font_weight)}:void 0});zo(e,function(){r.render()}); return r}.call(a,b); VUa(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||bS(c,f.name,f.value);e=w(Object.keys(a.productSpecificData));for(f=e.next();!f.done;f=e.next())f=f.value,bS(c,f,a.productSpecificData[f]);a.gcmRegistrationId&&bS(c,"GCM",a.gcmRegistrationId)})}} function Fdb(a,b){b.addEventListener("uploadstart",function(){++a.xg}); b.addEventListener("uploadend",function(){--a.xg;on(a.element,"uploadend")})} function i3(a){if(!a.Zc){var b=a.querySelector(".submit-button");b&&(b.disabled=!0);n3(a,!0);b=l3(a,".notification-area");Cm(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.Ob=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.jV=function(){var a=[];c3(this,function(b){a.push(Jeb(b))}); Array.prototype.push.apply(a,teb(this));return a}; function Jeb(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.kV=function(){var a=[];c3(this,function(b){b.isVisible()&&a.push(Jeb(b))}); return a}; n.setValidateOnly=function(a){this.validateOnly=a}; n.listen=function(a,b,c,e){this.listeners.push({type:a,listener:b,scope:e})}; n.unlisten=function(a,b,c,e){for(c=0;c0&&!a.Ee;)a.vd.shift()()} n.ot=function(){var a=this;if(FQ(C3(this))){var b=document.activeElement;D3(this,!0);var c=new ZQ;Leb(this,c);Pm({httpMethod:"POST",endpoint:"getavailablevaluesforgraph",params:{v:"1"},requestBody:c.serialize(),onLoadCallback:function(e){try{for(var f=uTa(e.responseText),h=w(gf(f,$Q,2,Ge())),k=h.next();!k.done;k=h.next()){var l=ef(k.value,Sj,1),p=l.getFrdContext(),r=p?Tf(p,2):null,t=a.Ba.get(Q2(l));if(t)for(var v=w(t),x=v.next();!x.done;x=v.next()){var E=x.value,oa=Mcb(E),ta=Tf(oa,2);if(!(r&&ta&& r!==ta||!G2(E))){var va=Kj(Mj(Vj(l)),Qc);switch(E.getType()){case "CHECKBOX":case "RADIOBUTTON":for(var Aa=w(E.querySelectorAll(".list-item")),Fa=Aa.next();!Fa.done;Fa=Aa.next()){var Ma=Fa.value,Ra=va.indexOf(Ma.querySelector("input").value)===-1;Cm(Ma,"hidden-by-vrg",Ra)}break;case "DROPDOWN":for(var Wa=w(E.querySelectorAll("option")),bb=Wa.next();!bb.done;bb=Wa.next()){var tb=bb.value;if(tb!==E.querySelector("option")){var Eb=va.indexOf(tb.value)===-1;Cm(tb,"hidden-by-vrg",Eb)}}E.element.querySelector("select").dispatchEvent(new Event("selectvrgupdate"))}}}}}catch(Cb){}D3(a, !1);b.focus();Keb(a)}, Uc:function(){D3(a,!1);b.focus();Keb(a)}})}}; function D3(a,b){a.Ee=b;a=w(a.ad);for(var c=a.next();!c.done;c=a.next())c=c.value,G2(c)&&Ocb(c,b)} function Leb(a,b){var c=C3(a);c=FQ(c);rTa(b,of(c,1));sTa(b,qf(c,2));c=[];for(var e=[],f=!1,h=w(a.ad),k=h.next();!k.done;k=h.next()){k=k.value;if(G2(k)){var l=k.getFrdIdentifier();l&&c.push(l)}if(E2(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 Lj,r=k.getFrdIdentifier(),k.getType()==="HIDDEN"?Meb(Ncb(k),l[0],p):r&&[8000001,8000061].includes(r)?p.Wj((new Ej).Jg(l.map(function(v){return Number(v)||0}))):r&&[8000854, 8000517].includes(r)?p.kh((new Jj).Jg(l)):Nj(p,(new Jj).Jg(l)),l=Wj(new Sj,p),p=Mcb(k),(r=rf(p,2))&&Tj(l,Aj(new zj,rf(p,1)).ud(r)),(k=k.getFrdV2Identifier())&&Uj(l,k),e.push(l),!f&&Q2(l)===8000072&&(f=!0))}}if(window.sc_filter_promoted_by_selected_symptom&&!f){var t;h=(t=a.selectedSymptomFrdValues)==null?void 0:VR(t);t=jp(of(b,2));if(a.selectedSymptomFrdValues&&h&&t&&h===t){t=w(a.Af);for(h=t.next();!h.done;h=t.next())if(Q2(h.value)===8000072){f=!0;break}if(!f){f=[];t=w(a.selectedSymptomFrdValues); for(h=t.next();!h.done;h=t.next())k=void 0,f.push.apply(f,za((k=aQ(h.value))!=null?k:[]));e.push(Er(bQ(ZP($P(new Ar,8000072),8000072).ud(15),f)))}}}Pe(b,3,c,rd);pbb(b,a.Af.concat(e));ag(b,5,a.model.content_publish_state)} function Meb(a,b,c){switch(a){case 1:c.Wj((new Ej).Jg([Number(b)]));break;case 2:case 5:c.kh((new Jj).Jg([b]));break;case 3:Pj(c,Uea(new Cj,[Number(b)]));break;case 4:a=b.split(",");Nj(c,(new Jj).Jg(a));break;case 9:c.Ci(b==="true");break;case 8:a=b.split(",").map(function(e){return Number(e)}); c.By(Ij(new Gj,[(new Ej).Jg(a)]));break;case 11:case 6:case 7:case 10:Rj(c,(new Bj).Jg([b]))}} function C3(a){a=JSON.parse(a.element.getAttribute("data-form-service-vrg"));return new EQ(a)} n.getServiceVrgTaxonomyId=function(){var a=FQ(C3(this));return a?jp(of(a,1)):null}; n.getServiceVrgTaxonomyView=function(){var a=FQ(C3(this));return a?Jf(a,2):null}; n.setSupportJourneyId=function(a){this.submitId=a}; function y3(a){window.sc_log&&window.sc_log("Form","INFO","Case ID: "+a.caseId)} n.setIncludesTargetSelector=function(a){this.zd=a}; n.setTargetVerified=function(a){this.targetVerified=a}; function Ldb(a,b){var c,e,f,h,k,l,p,r,t;La(function(v){if(v.o==1){if(!b)return v.return();c=new XQ(JSON.parse(b));a.oe=(e=xf(c,7))!=null?e:"";a.oe&&window.sc_log&&window.sc_log("Helpcenter Field","INFO","Form Helpcenter Fields User-based FRD Value Lookup EventID: "+a.oe);return v.yield(RR({helpCenterFrdFieldsConfg:c,locale:z().lang,neoTaxonomy:YQ(),placements:[a.hw(1),a.hw(2)],sy:"*"}),2)}f=v.ma;h=a.getScFrdValues().map(function(x){return new Ar(x)}); k=w(a.Ba.keys());for(l=k.next();!l.done;l=k.next())p=l.value,h.push($P(new Ar,p));r=a.getHcfNameScFrdValueMap();t=f.mj;Neb(a,t,2,h,r,".cf div.helpcenter-fields-container.top");Neb(a,t,1,h,r,".cf div.helpcenter-fields-container.bottom");lQ(a.Wa,a.ma.concat(f.St).map(function(x){return x.model})); v.oa()})} n.hw=function(a){var b=new qQ,c=new pQ,e=this.getContactType();We(c,3,oQ,sd(e));ag(c,2,a);lf(b,1,pQ,c);c=new pQ;e=this.getRedwoodId();We(c,1,oQ,Pd(e));ag(c,2,a);lf(b,1,pQ,c);a=new vQ;jf(a,1,uQ,b);return a}; function Neb(a,b,c,e,f,h){if(h=a.element.querySelector(h)){var k=Pcb(keb(a)),l=b.filter(function(p){if(p.model.placements.length||(!k||c!==1)&&e.some(function(oa){return eQ(oa,p.model.Xc())})||!p.model.Xc().getId()&&f.has(p.model.getName()))return!1; for(var r=w(p.model.va),t=r.next();!t.done;t=r.next()){t=t.value;var v=void 0,x=void 0,E=w((x=(v=t.Tw())==null?void 0:v.o())!=null?x:[]);for(v=E.next();!v.done;v=E.next())v.value.Rv()===c&&p.model.placements.push(t)}return!!p.model.placements.length}); l.length&&zo(h,function(){for(var p=w(l),r=p.next();!r.done;r=p.next())r=r.value,r.render(),a.ma.push(r)})}} n.getHelpCenterFieldFrds=function(a){return this.Wa.Tc(a===void 0?!1:a).map(function(b){return dQ(b)})}; n.setHelpCenterFieldFrd=function(a){a=new Ar(a);for(var b=w(jQ(this.Wa)),c=b.next();!c.done;c=b.next())if(c=c.value,eQ(c.Xc(),a)){qbb(c,a);break}}; function keb(a){var b,c;return(c=(b=a.flags.multiTargetsHelpCenterAllowlist)==null?void 0:b.primitive_value)!=null?c:[]} function Mdb(a){var b=[];z().is_render_api||b.push("direct_to_form");var c=["gse","google_marketing_advisor","agentic_smart_journey_with_ma_web","ai_first_help_center"],e=Fm("cse");e&&c.includes(e)&&b.push(e);b.length&&a.addScFrdValue(dQ(bQ(ZP($P(new Ar,8000104),8000104).ud(15),b)))} n.Si=function(a,b){a=this.Ba.get(Number(a));if(!a||a.length===0)return!1;a=a[0].getElement();return kx(a,b)}; function r3(){switch(z().rs){case 3:case 8:return!0;default:return!1}} window.sc_initForm=function(a,b,c){NF=c;a=new Cdb(a,b,c);b={getEscalationChannelAvailabilityInformation:a.getEscalationChannelAvailabilityInformation.bind(a),getContactType:a.getContactType.bind(a),submitForm:a.submitForm.bind(a),getFields:a.jV.bind(a),getVisibleFields:a.kV.bind(a),getSubjectFieldId:a.getSubjectFieldId.bind(a),getBodyFieldId:a.getBodyFieldId.bind(a),getFieldValues:a.getFieldValues.bind(a),getChatPoolId:a.getChatPoolId.bind(a),getChatSupportRequestId:a.getChatSupportRequestId.bind(a), setScreenshotter:a.setScreenshotter.bind(a),setGcmRegistrationId:a.setGcmRegistrationId.bind(a),getProductSpecificData:a.getProductSpecificData.bind(a),setProductSpecificData:a.setProductSpecificData.bind(a),setValidateOnly:a.setValidateOnly.bind(a),listen:a.listen.bind(a),unlisten:a.unlisten.bind(a),getInternalHelpcenterName:a.getInternalHelpcenterName.bind(a),setReenableOnValidated:function(){}, getCaseId:a.getCaseId.bind(a),getScFrdValues:a.getScFrdValues.bind(a),setScFrdValue:a.setScFrdValue.bind(a),addScFrdValue:a.addScFrdValue.bind(a),getHcfNameScFrdValueMap:a.getHcfNameScFrdValueMap.bind(a),setHcfNameScFrdValueMap:a.setHcfNameScFrdValueMap.bind(a),setSelectedSymptomFrdValues:a.setSelectedSymptomFrdValues.bind(a),setParentCaseName:a.setParentCaseName.bind(a),setSubmissionChannel:a.setSubmissionChannel.bind(a),shouldSubmitToCasesV2:a.shouldSubmitToCasesV2.bind(a),addCasesAttachment:a.addCasesAttachment.bind(a), setChatType:function(){}, getChatAvailability:a.getChatAvailability.bind(a),getRedwoodId:a.getRedwoodId.bind(a),prepopulateFields:a.prepopulateFields.bind(a),prefillFieldsFromSession:a.prefillFieldsFromSession.bind(a),setAssistiveQuestionAnswers:a.setAssistiveQuestionAnswers.bind(a),getId:a.getId.bind(a),getServiceVrgTaxonomyId:a.getServiceVrgTaxonomyId.bind(a),getServiceVrgTaxonomyView:a.getServiceVrgTaxonomyView.bind(a),setSupportJourneyId:a.setSupportJourneyId.bind(a),getInjectedScFrdValues:a.getInjectedScFrdValues.bind(a), setInjectedScFrdValue:a.setInjectedScFrdValue.bind(a),getInjectedFrdValuesEventId:a.getInjectedFrdValuesEventId.bind(a),setIncludesTargetSelector:a.setIncludesTargetSelector.bind(a),setTargetVerified:a.setTargetVerified.bind(a),getStatusMessage:a.getStatusMessage.bind(a),setErrorMessage:a.setErrorMessage.bind(a),getHelpCenterFieldFrds:a.getHelpCenterFieldFrds.bind(a),setHelpCenterFieldFrd:a.setHelpCenterFieldFrd.bind(a),setDynamicQuestionAnswers:a.setDynamicQuestionAnswers.bind(a),getDynamicQuestionAnswers:a.getDynamicQuestionAnswers.bind(a), getHasCheckedForDynamicRecommendation:a.getHasCheckedForDynamicRecommendation.bind(a),setHasCheckedForDynamicRecommendation:a.setHasCheckedForDynamicRecommendation.bind(a),getHasCheckedForDuplicateCases:a.getHasCheckedForDuplicateCases.bind(a),setHasCheckedForDuplicateCases:a.setHasCheckedForDuplicateCases.bind(a),getHasCheckedForDynamicQuestions:a.getHasCheckedForDynamicQuestions.bind(a),setHasCheckedForDynamicQuestions:a.setHasCheckedForDynamicQuestions.bind(a),getShouldShowNextStep:a.getShouldShowNextStep.bind(a), setShouldShowNextStep:a.setShouldShowNextStep.bind(a),submitCaseUpdate:a.submitCaseUpdate.bind(a),wrapUpCaseUpdate:a.wrapUpCaseUpdate.bind(a)};return a.gE=b};function Oeb(){var a,b;return typeof((a=navigator)==null?void 0:(b=a.mediaDevices)==null?void 0:b.getDisplayMedia)==="function"} ;function E3(a,b){var c,e;(e=(c=window).sc_trackStatsEvent)==null||e.call(c,a,b,z().pid)} ;function F3(a){A.call(this,"sc.forms.Screenshare");this.o=null;this.ma=!1;this.params=a} u(F3,A);F3.prototype.content=function(a){var b=this;a&&(this.params=a);this.element("div","class","screenshare",function(){b.o=b.element("video","autoplay",!0,"class","screenshare-video");b.ma&&b.element("div","class","screenshare-floating-message",function(){(new Ru({ariaLabel:"You can scroll around",text:"You can scroll around",icon:"gm/swap_vert",selected:!1})).render()}); b.params.stream&&(b.o.srcObject=b.params.stream,b.ma||Peb(b))})}; function Peb(a){La(function(b){if(b.o==1){if(!a.params.qh||!a.o)return b.Pa(0);b.va(3);return b.yield(a.params.qh.forwardWheel(a.o),5)}if(b.o!=3){a.ma=!0;a.params.bK(a.ma);var c,e;(e=(c=window).sc_trackStatsImpressions)==null||e.call(c,[{type:309,id:z().pid}],!0);E3(309,10);a.Ja();return b.ya(0)}b.ua();b.oa()})} function Qeb(a){var b,c,e;return La(function(f){if(!a.o)return f.return(Promise.resolve(new Blob([],{type:"image/png"})));b=a.o;c=document.createElement("canvas");c.width=b.videoWidth;c.height=b.videoHeight;e=c.getContext("2d");e.drawImage(b,0,0,c.width,c.height);return f.return(new Promise(function(h){c.toBlob(function(k){k?h(k):h(new Blob([],{type:"image/png"}))},"image/png")}))})} F3.prototype.GO=function(){return this.ma};function G3(a){A.call(this,"sc.forms.ScreenshareControllers");this.params=a;this.ma=new Yo({text:"Change tab",ariaLabel:"Change tab",style:3,icon:"gm/swap_horiz",dg:24,trigger:function(){E3(309,56);a.kU()}}); this.o=new Yo({text:"Capture screenshot",ariaLabel:"Capture screenshot",style:4,icon:"gm/screenshot_monitor",dg:24,trigger:function(){E3(309,46);a.cq()}})} u(G3,A);function Reb(a,b,c){a=a.element("span","class","screenshare-footer-learn-more","role","button","tabindex","0","onkeydown",function(e){if(e.key==="Enter"||e.key===" "){var f;(f=e.target)==null||f.click();e.preventDefault()}},"Learn more"); (new Mt({trigger:a,text:b,Yj:4,rk:"35rem",ys:c,Wk:!1})).render()} function Seb(a){a.element("div","class","screenshare-footer-scroll-info",function(){var b=a.params.GO,c="",e="",f=-150;a.params.qh?b||(c="Scroll may be disabled.",e=" How to enable scrolling
  1. Click the Tune icon in the address bar
  2. Go to Shared tabs
  3. Turn on Scrolling & zooming
  4. Reload this page
",f=-170):(c="Scrolling may be unavailable.",e=" To capture the right area of the page:
  1. Go to the shared tab
  2. Scroll to the area of concern
  3. Come back to this page to capture the screenshot
"); c&&(a.element("span",c),e&&Reb(a,e,f))})} G3.prototype.content=function(){var a=this;this.element("div","class","screenshare-footer",function(){Seb(a);a.element("div","class","screenshare-footer-buttons",function(){a.ma.render();a.o.render()})})};function H3(a){A.call(this,"sc.forms.ScreenshotEdit");var b=this;this.oa=!1;this.Bl=this.ma=0;this.scaleY=this.scaleX=1;this.ua=[];this.va=function(c){if(b.params.hg!=="NONE"){b.oa=!0;var e=b.canvas,f=e.getBoundingClientRect();b.scaleX=e.width/f.width;b.scaleY=e.height/f.height;b.ma=(c.clientX-f.left)*b.scaleX;b.Bl=(c.clientY-f.top)*b.scaleY;var h;(h=b.canvas)==null||h.addEventListener("mousemove",b.ya);var k;(k=b.canvas)==null||k.addEventListener("mouseup",b.Ba)}}; this.ya=function(c){if(b.oa){var e=b.canvas.getBoundingClientRect(),f=(c.clientX-e.left)*b.scaleX,h=(c.clientY-e.top)*b.scaleY;I3(b);b.o=b.o;c=Math.min(b.ma,f);e=Math.min(b.Bl,h);f=Math.abs(b.ma-f);h=Math.abs(b.Bl-h);var k=b.params.hg;k==="HIGHLIGHT"?Teb(b,c,e,f,h):k==="HIDE"&&(b.o=b.o,b.o.fillStyle="rgba(0, 0, 0, 1)",b.o.fillRect(c,e,f,h))}}; this.Ba=function(c){if(b.oa){b.oa=!1;var e=b.canvas.getBoundingClientRect(),f=(c.clientX-e.left)*b.scaleX,h=(c.clientY-e.top)*b.scaleY;c=Math.min(b.ma,f);e=Math.min(b.Bl,h);f=Math.abs(b.ma-f);h=Math.abs(b.Bl-h);(f>0||h>0)&&b.ua.push({x:c,y:e,width:f,height:h,mode:b.params.hg});var k;(k=b.canvas)==null||k.removeEventListener("mousemove",b.ya);var l;(l=b.canvas)==null||l.removeEventListener("mouseup",b.Ba);I3(b)}}; this.params=a} u(H3,A);H3.prototype.content=function(a){var b=this;a&&(this.params=a);this.element("div","class","root",function(){b.canvas=b.element("canvas","class","screenshot-image");b.o=b.canvas.getContext("2d");b.canvas.addEventListener("mousedown",b.va);Ueb(b)})}; H3.prototype.onDetach=function(){var a;(a=this.canvas)==null||a.removeEventListener("mousedown",this.va);this.ua=[]}; function Ueb(a){a.canvas=a.canvas;var b=Jl(a.params.dj),c=new Image;c.onload=function(){a.canvas=a.canvas;a.canvas.width=c.width;a.canvas.height=c.height;a.Ea=c;I3(a)}; c.src=b.toString()} function I3(a){if(a.canvas&&a.o&&a.Ea){var b=a.canvas;a.o=a.o;a.o.clearRect(0,0,b.width,b.height);a.o.drawImage(a.Ea,0,0);b=w(a.ua);for(var c=b.next();!c.done;c=b.next()){var e=c.value,f=a,h=e.x,k=e.y,l=e.width;c=e.height;e=e.mode;e==="HIGHLIGHT"?Teb(f,h,k,l,c):e==="HIDE"&&(f.o=f.o,f.o.fillStyle="rgba(0, 0, 0, 1)",f.o.fillRect(h,k,l,c))}}} function Teb(a,b,c,e,f){a.o=a.o;a.o.strokeStyle="rgb(255, 187, 41)";a.o.lineWidth=4;a.o.strokeRect(b,c,e,f)} function Veb(a){return La(function(b){return a.ua.length!==0&&a.canvas?b.return(new Promise(function(c){a.canvas.toBlob(function(e){c(e)})})):b.return(Promise.resolve(a.params.dj))})} ;function J3(a){A.call(this,"sc.forms.ScreenshotEditControllers");this.ma=new Yo({text:"Cancel",ariaLabel:"Cancel",trigger:function(){E3(311,59);a.iF()}, style:3,Be:"material-pill",Rc:"px"});this.o=new Yo({text:"Done",ariaLabel:"Done",trigger:function(){E3(311,60);var b;(b=a.PJ)==null||b.call(a)}, style:4,Be:"material-pill",Rc:"px"});this.params=a} u(J3,A);function Web(a){return new Ru({ariaLabel:"Highlight",text:"Highlight",icon:"gm/highlight_alt",selected:a.params.hg==="HIGHLIGHT",trigger:function(){E3(311,58);a.params.Rm("HIGHLIGHT")}})} function Xeb(a){return new Ru({ariaLabel:"Hide",text:"Hide",icon:"gm/featured_video",selected:a.params.hg==="HIDE",trigger:function(){E3(311,5);a.params.Rm("HIDE")}})} J3.prototype.content=function(){var a=this;this.element("div","class","root",function(){a.element("div","class","edit-control-buttons","aria-live","off",function(){Web(a).render();Xeb(a).render()}); a.element("div","class","modal-control-buttons",function(){a.ma.render();a.o.render()})})};function K3(a){A.call(this,"sc.forms.ScreenshotPreview");this.o=null;this.params=a;this.o=Jl(a.dj).toString();this.ma=Yeb(this)} u(K3,A);function Yeb(a){return new Ru({text:"Highlight or hide content",ariaLabel:"Highlight or hide content",style:0,type:1,icon:"gm/edit",trigger:function(){E3(310,24);a.params.cG()}, Ux:!0})} K3.prototype.focus=function(){this.ma.focus()}; K3.prototype.onDetach=function(){this.o&&(URL.revokeObjectURL(this.o),this.o=null)}; K3.prototype.content=function(){var a=this;this.element("div","class","root",function(){a.element("img","class","screenshot-image","src",a.o,"alt","Captured screenshot");a.element("div","class","edit-button-container",function(){a.ma.render()})}); requestAnimationFrame(function(){return void a.focus()})};function L3(a){A.call(this,"sc.forms.ScreenshotPreviewControllers");this.ma=new Yo({text:"Capture again",ariaLabel:"Capture again",icon:"gm/restart_alt",dg:20,style:3,trigger:function(){E3(310,56);a.kF()}}); this.o=new Yo({text:"Attach screenshot",ariaLabel:"Attach screenshot",icon:"gm/attach_file_add",dg:20,style:4,trigger:function(){E3(310,57);a.Vp()}})} u(L3,A);L3.prototype.content=function(){var a=this;this.element("div","class","root",function(){a.ma.render();a.o.render()})};function M3(a){A.call(this,"sc.forms.ScreenshotCaptureDialog");var b=this;this.ma=0;this.stream=null;this.page="SCREENSHARE";this.dj=new Blob;this.hg="NONE";this.va=new H3({dj:this.dj,hg:this.hg});this.oa=null;this.o=!1;this.ua=new F3({stream:this.stream,qh:this.qh,bK:function(c){b.o=c;b.Ja()}}); this.params=a;this.dialog=new Vu({content:function(){b.element("div","class","screenshot-capture-dialog",function(){Zeb(b)})}, Sh:{"background-color":"rgba(0,0,0,.3)"},Jn:!1,In:!1,ariaLabel:$eb(this)})} u(M3,A);function $eb(a){switch(a.page){case "SCREENSHARE":return"Learn how we manage your data";case "SCREENSHOT_PREVIEW":return"Confirm screenshot";case "SCREENSHOT_EDIT":return"Highlight or hide information on the screenshot";default:return""}} function Zeb(a){(new Su).render({content:function(){a.element("div","class","screenshot-capture-dialog-content",function(){afb(a);bfb(a);cfb(a)})}})} function dfb(a){a.element("div","class","screenshot-capture-dialog-title","role","heading",function(){switch(a.page){case "SCREENSHARE":(new Uo({icon:"gm/privacy_tip",size:24})).render();a.element("span","class","data-management-link","role","link","tabindex","0","onclick",function(b){Tl(window,Il("https://policiestspd.cloudwebceplogn.xyz/privacy"),"_blank");b.preventDefault()},"onkeydown",function(b){b.key==="Enter"&&(Tl(window,Il("https://policiestspd.cloudwebceplogn.xyz/privacy"),"_blank"),b.preventDefault())},"Learn how we manage your data"); break;case "SCREENSHOT_PREVIEW":a.element("span","Confirm screenshot");break;case "SCREENSHOT_EDIT":a.element("span","Highlight or hide information on the screenshot")}})} function afb(a){a.element("div","class","screenshot-capture-dialog-content-header",function(){dfb(a);efb(a)})} function efb(a){a.element("button","class","dialog-close-button","type","button","aria-label","Close","onclick",function(){a.close()},function(){(new Uo({icon:"gm/close", size:24,Re:["close-icon"]})).render()})} function bfb(a){a.oa=a.element("div","class","screenshot-capture-dialog-content-body",function(){switch(a.page){case "SCREENSHARE":a.ua.render({stream:a.stream,qh:a.qh,bK:function(b){a.o=b;a.Ja()}}); break;case "SCREENSHOT_PREVIEW":(new K3({dj:a.dj,cG:function(){a.cG()}})).render(); break;case "SCREENSHOT_EDIT":a.va.render({dj:a.dj,hg:a.hg})}})} function cfb(a){a.element("div","class","screenshot-capture-dialog-footer",function(){switch(a.page){case "SCREENSHARE":(new G3({kU:function(){a.close();a.params.cq()}, cq:function(){ffb(a)}, GO:a.o,qh:a.qh})).render();break;case "SCREENSHOT_PREVIEW":(new L3({kF:function(){a.kF()}, Vp:function(){a.Vp()}})).render(); break;case "SCREENSHOT_EDIT":(new J3({iF:function(){a.iF()}, Rm:function(b){a.Rm(b)}, hg:a.hg,PJ:function(){a.PJ()}})).render()}})} function ffb(a){La(function(b){if(b.o==1)return a.oa.classList.add("flash"),setTimeout(function(){a.oa.classList.remove("flash")},750),b.yield(Qeb(a.ua),2); a.dj=b.ma;a.page="SCREENSHOT_PREVIEW";a.hg="NONE";gfb(a);a.Ja();b.oa()})} n=M3.prototype;n.iF=function(){this.hg="NONE";this.setPage("SCREENSHOT_PREVIEW")}; n.setPage=function(a){this.page!==a&&(this.page=a,this.Ja())}; n.kF=function(){this.close();this.params.cq()}; n.cG=function(){this.hg="NONE";this.setPage("SCREENSHOT_EDIT")}; n.Rm=function(a){this.hg!==a&&(this.hg=a,this.Ja())}; n.content=function(){var a=this;this.element("div","class","root",function(){a.dialog.hj($eb(a));a.dialog.render()})}; n.open=function(a,b){var c=this;this.page="SCREENSHARE";this.qh=b;this.stream=a;this.ua=new F3({stream:a,qh:b,bK:function(e){c.o=e;c.Ja()}}); this.dialog.open();this.ma=window.pageYOffset;document.body.style.top=-this.ma+"px";document.body.style.width=document.body.clientWidth+"px";document.body.style.position="fixed";hfb(this)}; n.close=function(){this.page==="SCREENSHARE"&&gfb(this);document.body.style.position="";document.body.style.width="";document.body.style.top="";window.scroll(0,this.ma);this.dialog.close();this.dialog.Va()}; function gfb(a){if(a.stream){a=w(a.stream.getTracks());for(var b=a.next();!b.done;b=a.next())b.value.stop()}} function hfb(a){if(a.stream){var b=a.stream.getTracks()[0],c=function(){a.page==="SCREENSHARE"&&a.close();b.removeEventListener("ended",c)}; b.addEventListener("ended",c)}} n.PJ=function(){var a=this;return La(function(b){if(b.o==1)return b.yield(Veb(a.va),2);a.dj=b.ma;a.page="SCREENSHOT_PREVIEW";a.hg="NONE";a.Ja();b.oa()})}; n.Vp=function(){this.params.Vp(this.dj)};function N3(a){A.call(this,"sc.forms.ScreenshotCapture");var b=this;this.Nf="scFormsScreenshotcapturescreenshot-capture-button-tooltip";this.ma=new M3({cq:this.cq.bind(this),Vp:this.Vp.bind(this)});this.params=a;this.ua=new Yo({icon:"gm/add",text:this.params.allowMultipleFiles?"Choose files":"Choose file",ariaLabel:this.params.allowMultipleFiles?"Choose files":"Choose file",style:3,dg:24,trigger:function(){E3(307,52);var c;(c=b.o)==null||c.click()}}); this.oa=new Yo({icon:"gm/screenshot_monitor",dg:24,text:"Capture screenshot",ariaLabel:"Capture screenshot. You will be asked to share your screen.",style:4,trigger:function(){E3(306,52);b.cq()}}); this.attachments=new lG({zg:this.params.zg,allowMultipleFiles:this.params.allowMultipleFiles,formId:this.params.formId,yC:function(c){ifb(b,c)}, xC:function(c){ifb(b,c)}})} u(N3,A);N3.prototype.content=function(){var a=this;this.element("div","class","root",function(){a.attachments.render();jfb(a);kfb(a);Oeb()&&lfb(a);a.ma.render()})}; function kfb(a){a.element("div","class","screenshot-capture-button-container",function(){if(Oeb()){var b=mfb(a);(new Mt({text:"You will be asked to share your screen.",trigger:b,Nf:a.Nf})).render()}nfb(a)})} function mfb(a){return a.element("label","class","screenshot-capture-button-wrapper",function(){a.oa.render()})} function nfb(a){a.element("label","class","upload-label","for",a.params.id,function(){a.ua.render()})} function lfb(a){a.element("div","class","callout-container",function(){(new Nu({type:Mu,message:"For the fastest resolution, click Capture screenshot. If you upload a file, make sure the image shows the entire screen rather than cropping it. Details like your account ID, date ranges, and page URLs are important for support specialists to review.",position:"component",icon:"gm/info"})).render()})} N3.prototype.cq=function(){var a=this,b,c;return La(function(e){if(e.o==1){e.va(2);var f=e.yield,h=navigator.mediaDevices,k=h.getDisplayMedia;if("CaptureController"in window&&typeof window.CaptureController==="function"){a.qh=new window.CaptureController;a.qh.setFocusBehavior("no-focus-change");var l={video:{displaySurface:"browser"},audio:!1,controller:a.qh}}else l={video:{displaySurface:"browser"},audio:!1};return f.call(e,k.call(h,l),4)}if(e.o!=2)return b=e.ma,E3(306,10),a.ma.open(b,a.qh),e.ya(0); c=e.ua();c instanceof DOMException&&c.name==="NotAllowedError"?E3(306,11):E3(306,21);e.oa()})}; N3.prototype.Vp=function(a){var b=this,c,e,f;return La(function(h){c=(new Date).toISOString().replace(/[^0-9]/g,"");e="screenshot_"+c+".png";f=new File([a],e,{type:a.type});b.attachments.addAttachments([f]);ofb(b,f);b.ma.close();E3(306,57);b.Ja();h.oa()})}; N3.prototype.getValues=function(){var a=mG(this.attachments),b=[];a=w(a);for(var c=a.next();!c.done;c=a.next())c=c.value,b.push({name:this.params.id,value:"There was a file uploaded for this field."},{name:"upload_original_filename",value:c.filename},{name:"upload_cns_filename",value:c.Uf},{name:"upload_document_id",value:c.documentId});return b}; function jfb(a){var b=["type","file","id",a.params.id,"name",a.params.id,"class","screenshot-capture-input","onchange",function(){var c=a.o;if(c&&c.files&&c.files.length>0){c=a.o;c=c!=null&&c.files?Array.from(c.files):[];a.o&&(a.o.value="");if(c.length){a.attachments.addAttachments(c);for(var e=w(c),f=e.next();!f.done;f=e.next())ofb(a,f.value);E3(307,57)}a.Ja();c.length&&gDa(a.attachments)}}].concat(za(a.params.allowMultipleFiles?["multiple", "1"]:[]));a.o=a.element.apply(a,["input"].concat(za(b)))} function ofb(a,b){a.o&&Ks(a.o,"uploadstart",{detail:b})} function ifb(a,b){a.o&&Ks(a.o,"uploadend",{detail:b})} ;
false
false
false
true
true
true
true
true
false
false
true
true
true
false
13316910
7247297,7247171,7248133,7247188,7247304,7247160
true
false
false
false
false