"use strict";(self.webpackChunkrank_math=self.webpackChunkrank_math||[]).push([[445],{7142:function(e,t,n){n.d(t,{A:function(){return o}}),n.dn(o);var r=n(1669),a=n.n(r);function o(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",i=arguments.length>5&&void 0!==arguments[5]&&arguments[5];t=t||"error",r=r||!1;var l=a()('
").hide();i||n.siblings(".notice").remove(),n.after(l),l.slideDown(),a()(document).trigger("wp-updates-notice-added"),a()("html,body").animate({scrollTop:l.offset().top-50},"slow"),r&&setTimeout(function(){l.fadeOut(function(){l.remove()})},r)}},6116:function(e,t,n){n.d(t,{A:function(){return i}});var r=n(8110);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n"+(0,r.__)("Check Key","seo-by-rank-math")+"")),wp.element.createElement(m.Button,{href:a,id:"indexnow_check_key",className:"button button-secondary large-button",target:"_blank",rel:"noreferrer"},wp.element.createElement("span",{className:"dashicons dashicons-search"}),(0,r.__)("Check Key","seo-by-rank-math")))))};n.dn(w);const k=[{id:"bing_post_types",type:"checkboxlist",name:(0,r.__)("Auto-Submit Post Types","seo-by-rank-math"),desc:(0,r.__)("Submit posts from these post types automatically to the IndexNow API when a post is published, updated, or trashed.","seo-by-rank-math"),options:p.A,toggleAll:!0,default:[]},{id:"indexnow_api_key_location",type:"component",Component:w}],g={name:"settings",header:{title:(0,r.__)("Settings","seo-by-rank-math"),description:(0,r.__)("Instant Indexing module settings.","seo-by-rank-math"),link:(0,a.A)("instant-indexing","Indexing Settings")},title:wp.element.createElement(React.Fragment,null,wp.element.createElement("i",{className:"rm-icon rm-icon-settings"}),(0,r.__)("Settings","seo-by-rank-math")),fields:k};var v=n(8110);function A(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],s=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return E(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?E(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n