"use strict";(globalThis.webpackChunkwp_seopress_pro=globalThis.webpackChunkwp_seopress_pro||[]).push([[558],{558:(e,s,r)=>{r.r(s),r.d(s,{default:()=>_});var o=r(609),a=r(723);const{FieldRow:t,TextField:l,ToggleField:p}=window.seopressComponents,_=()=>{const{settings:e,updateSetting:s}=window.seopressUseSettings(),r=(window.SEOPRESS_PRO_DATA||{}).DOCS_LINKS||{};return(0,o.createElement)("div",{className:"seopress-tab-content"},(0,o.createElement)("p",null,(0,a.__)("Receive alerts by email/Slack about important SEO issues before it's too late. We check major problems twice a day.","wp-seopress-pro")),r?.alerts?.rest_api&&(0,o.createElement)("p",{className:"description"},(0,o.createElement)("a",{href:r.alerts.rest_api,target:"_blank",rel:"noopener noreferrer",className:"seopress-help"},(0,a.__)("Query SEO alerts via the REST API","wp-seopress-pro"))," ",(0,o.createElement)("span",{className:"seopress-help dashicons dashicons-external"})),(0,o.createElement)(t,{id:"seopress_seo_alerts_noindex",label:(0,a.__)("Alert if noindex on homepage","wp-seopress-pro")},(0,o.createElement)(p,{label:(0,a.__)("Receive an alert if your homepage is set to noindex","wp-seopress-pro"),checked:e.seopress_seo_alerts_noindex,onChange:e=>s("seopress_seo_alerts_noindex",e)})),(0,o.createElement)(t,{id:"seopress_seo_alerts_robots_txt",label:(0,a.__)("Alert if robots.txt failed to load","wp-seopress-pro")},(0,o.createElement)(p,{label:(0,a.__)("Receive an alert if your robots.txt returns an error code","wp-seopress-pro"),checked:e.seopress_seo_alerts_robots_txt,onChange:e=>s("seopress_seo_alerts_robots_txt",e)})),(0,o.createElement)(t,{id:"seopress_seo_alerts_xml_sitemaps",label:(0,a.__)("Alert if the XML sitemap has errors","wp-seopress-pro")},(0,o.createElement)(p,{label:(0,a.__)("Run a full sitemap health check and alert you on errors: 404, served as HTML, invalid XML, broken sub-sitemaps and more.","wp-seopress-pro"),checked:e.seopress_seo_alerts_xml_sitemaps,onChange:e=>s("seopress_seo_alerts_xml_sitemaps",e)})),(0,o.createElement)(t,{id:"seopress_seo_alerts_recipients",label:(0,a.__)("Recipients","wp-seopress-pro")},(0,o.createElement)(l,{value:e.seopress_seo_alerts_recipients||"",onChange:e=>s("seopress_seo_alerts_recipients",e),placeholder:(0,a.__)("e.g. admin@example.com","wp-seopress-pro"),help:(0,a.__)("Receive SEO alerts by mail. Separate emails by commas.","wp-seopress-pro")})),(0,o.createElement)(t,{id:"seopress_seo_alerts_slack_webhook_url",label:(0,a.__)("Slack Webhook URL","wp-seopress-pro")},(0,o.createElement)(l,{value:e.seopress_seo_alerts_slack_webhook_url||"",onChange:e=>s("seopress_seo_alerts_slack_webhook_url",e),placeholder:(0,a.__)("Your Slack webhook URL","wp-seopress-pro"),help:(0,o.createElement)(o.Fragment,null,(0,a.__)("Receive notifications, twice a day, to Slack.","wp-seopress-pro"),r?.alerts?.slack_webhook&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)("br",null),(0,o.createElement)("a",{href:r.alerts.slack_webhook,target:"_blank",rel:"noopener noreferrer"},(0,a.__)("How to find my Slack Webhook URL","wp-seopress-pro")," ",(0,o.createElement)("span",{className:"dashicons dashicons-external"}))))})))}}}]);