!function(){"use strict";var e,t,n={674:function(e,t,n){n.r(t),n.d(t,{default:function(){return S}});var r=n(3),a=n(142),o=n(610),i=n(179),l=n.n(i);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n-1&&!e;)e=n[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.p=e}(),function(){var e={426:0};a.f.j=function(t,n){var r=a.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise((function(n,a){r=e[t]=[n,a]}));n.push(r[2]=o);var i=a.p+a.u(t),l=new Error;a.l(i,(function(n){if(a.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;l.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",l.name="ChunkLoadError",l.type=o,l.request=i,r[1](l)}}),"chunk-"+t,t)}};var t=function(t,n){var r,o,i=n[0],l=n[1],u=n[2],c=0;if(i.some((function(t){return 0!==e[t]}))){for(r in l)a.o(l,r)&&(a.m[r]=l[r]);if(u)u(a)}for(t&&t(n);c=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function h(e,t,n,a){void 0===a&&(a={});let{window:o=document.defaultView,v5Compat:i=!1}=a,f=o.history,h=r.Pop,d=null,b=y();function y(){return(f.state||{idx:null}).idx}function w(){h=r.Pop;let e=y(),t=null==e?null:e-b;b=e,d&&d({action:h,location:g.location,delta:t})}function v(e){let t="null"!==o.location.origin?o.location.origin:o.location.href,n="string"==typeof e?e:p(e);return c(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==b&&(b=0,f.replaceState(l({},f.state,{idx:b}),""));let g={get action(){return h},get location(){return e(o,f)},listen(e){if(d)throw new Error("A history only accepts one active listener");return o.addEventListener(u,w),d=e,()=>{o.removeEventListener(u,w),d=null}},createHref(e){return t(o,e)},createURL:v,encodeLocation(e){let t=v(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){h=r.Push;let a=m(g.location,e,t);n&&n(a,e),b=y()+1;let l=s(a,b),u=g.createHref(a);try{f.pushState(l,"",u)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;o.location.assign(u)}i&&d&&d({action:h,location:g.location,delta:1})},replace:function(e,t){h=r.Replace;let a=m(g.location,e,t);n&&n(a,e),b=y();let o=s(a,b),l=g.createHref(a);f.replaceState(o,"",l),i&&d&&d({action:h,location:g.location,delta:0})},go(e){return f.go(e)}};return g}var d;!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(d||(d={}));new Set(["lazy","caseSensitive","path","id","index","children"]);function b(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function y(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in and the router will parse it for you.'}function w(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function v(e,t,n,r){let a;void 0===r&&(r=!1),"string"==typeof e?a=f(e):(a=l({},e),c(!a.pathname||!a.pathname.includes("?"),y("?","pathname","search",a)),c(!a.pathname||!a.pathname.includes("#"),y("#","pathname","hash",a)),c(!a.search||!a.search.includes("#"),y("#","search","hash",a)));let o,i=""===e||""===a.pathname,u=i?"/":a.pathname;if(null==u)o=n;else if(r){let e=t[t.length-1].replace(/^\//,"").split("/");if(u.startsWith("..")){let t=u.split("/");for(;".."===t[0];)t.shift(),e.pop();a.pathname=t.join("/")}o="/"+e.join("/")}else{let e=t.length-1;if(u.startsWith("..")){let t=u.split("/");for(;".."===t[0];)t.shift(),e-=1;a.pathname=t.join("/")}o=e>=0?t[e]:"/"}let s=function(e,t){void 0===t&&(t="/");let{pathname:n,search:r="",hash:a=""}="string"==typeof e?f(e):e,o=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:o,search:E(r),hash:k(a)}}(a,o),m=u&&"/"!==u&&u.endsWith("/"),p=(i||"."===u)&&n.endsWith("/");return s.pathname.endsWith("/")||!m&&!p||(s.pathname+="/"),s}const g=e=>e.join("/").replace(/\/\/+/g,"/"),E=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",k=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";Error;const O=["post","put","patch","delete"],S=(new Set(O),["get",...O]);new Set(S),new Set([301,302,303,307,308]),new Set([307,308]);Symbol("deferred");function _(){return _=Object.assign?Object.assign.bind():function(e){for(var t=1;t{n.current=!0})),o.useCallback((function(r,a){void 0===a&&(a={}),n.current&&("number"==typeof r?e.navigate(r):e.navigate(r,_({fromRouteId:t},a)))}),[e,t])}():function(){T()||c(!1);let e=o.useContext(j),{basename:t,navigator:n}=o.useContext(P),{matches:r}=o.useContext(D),{pathname:a}=A(),i=JSON.stringify(w(r).map((e=>e.pathnameBase))),l=o.useRef(!1);return C((()=>{l.current=!0})),o.useCallback((function(r,o){if(void 0===o&&(o={}),!l.current)return;if("number"==typeof r)return void n.go(r);let u=v(r,JSON.parse(i),a,"path"===o.relative);null==e&&"/"!==t&&(u.pathname="/"===u.pathname?t:g([t,u.pathname])),(o.replace?n.replace:n.push)(u,o.state,o)}),[t,n,i,a,e])}()}o.Component;var x=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(x||{}),U=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(U||{});function V(e){let t=o.useContext(j);return t||c(!1),t}function M(e){let t=function(e){let t=o.useContext(D);return t||c(!1),t}(),n=t.matches[t.matches.length-1];return n.route.id||c(!1),n.route.id}o.startTransition;function F(e){let{basename:t="/",children:n=null,location:a,navigationType:i=r.Pop,navigator:l,static:u=!1}=e;T()&&c(!1);let s=t.replace(/^\/*/,"/"),m=o.useMemo((()=>({basename:s,navigator:l,static:u})),[s,l,u]);"string"==typeof a&&(a=f(a));let{pathname:p="/",search:h="",hash:d="",state:y=null,key:w="default"}=a,v=o.useMemo((()=>{let e=b(p,s);return null==e?null:{location:{pathname:e,search:h,hash:d,state:y,key:w},navigationType:i}}),[s,p,h,d,y,w,i]);return null==v?null:o.createElement(P.Provider,{value:m},o.createElement(N.Provider,{children:n,value:v}))}new Promise((()=>{}));o.Component;function I(e){return void 0===e&&(e=""),new URLSearchParams("string"==typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce(((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map((e=>[n,e])):[[n,r]])}),[]))}new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);new Map;const L=o.startTransition;i.flushSync;function B(e){let{basename:t,children:n,future:r,window:a}=e,i=o.useRef();var l;null==i.current&&(i.current=(void 0===(l={window:a,v5Compat:!0})&&(l={}),h((function(e,t){let{pathname:n,search:r,hash:a}=e.location;return m("",{pathname:n,search:r,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){return"string"==typeof t?t:p(t)}),null,l)));let u=i.current,[c,s]=o.useState({action:u.action,location:u.location}),{v7_startTransition:f}=r||{},d=o.useCallback((e=>{f&&L?L((()=>s(e))):s(e)}),[s,f]);return o.useLayoutEffect((()=>u.listen(d)),[u,d]),o.createElement(F,{basename:t,children:n,location:c.location,navigationType:c.action,navigator:u})}"undefined"!=typeof window&&void 0!==window.document&&window.document.createElement;var W,z;function $(e){let t=o.useRef(I(e)),n=o.useRef(!1),r=A(),a=o.useMemo((()=>function(e,t){let n=I(e);return t&&t.forEach(((e,r)=>{n.has(r)||t.getAll(r).forEach((e=>{n.append(r,e)}))})),n}(r.search,n.current?null:t.current)),[r.search]),i=R(),l=o.useCallback(((e,t)=>{const r=I("function"==typeof e?e(a):e);n.current=!0,i("?"+r,t)}),[i,a]);return[a,l]}(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(W||(W={})),function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(z||(z={}));var H=a(610),Y=a(85),J=a(179),K=a.n(J),q=a(749),Q=wp.data,G=function(e){var t=e.title;return wp.element.createElement("div",{className:"rank-math-skeleton rank-math-system-status rank-math-ui container"},wp.element.createElement("div",{className:"rank-math-box"},wp.element.createElement("header",null,wp.element.createElement("h3",null,t)),wp.element.createElement("div",{className:"copy-button-wrapper"}),wp.element.createElement("div",{className:"rank-math-panel components-panel"},(0,Y.map)(Array.from({length:8}),(function(e,t){return wp.element.createElement("div",{key:t,className:"components-panel__body"})})))))},X=a(674),Z=(0,q.compose)((0,Q.withSelect)((function(e){return{data:e("rank-math-status").getViewData("version_control")}})),(0,Q.withDispatch)((function(e){var t="version_control";return{getViewData:function(){K()({method:"POST",path:"/rankmath/v1/status/getViewData",data:{activeTab:t}}).catch((function(e){alert(e.message)})).then((function(n){e("rank-math-status").updateViewData(t,n)}))},updateViewData:function(n){e("rank-math-status").updateViewData(t,n)}}})))((function(e){var t=e.data,n=e.getViewData,r=e.updateViewData;return(0,H.useEffect)((function(){(0,Y.isEmpty)(t)&&n()}),[]),(0,Y.isUndefined)(t)?wp.element.createElement(G,{title:"Version Control"}):wp.element.createElement("div",{className:"rank-math-ui container version-control"},wp.element.createElement(X.default,{data:t,updateViewData:r}))}));function ee(e){return ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ee(e)}function te(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ne(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==ee(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==ee(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===ee(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function re(e,t){return n=e,r=function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"RANK_MATH_APP_UI"===t.type?ie(ie({},e),{},le({},t.key,t.value)):e}function ce(e,t){return e.appUi[t]}(0,Q.register)((0,Q.createReduxStore)("rank-math-status",{reducer:(0,Q.combineReducers)(t),selectors:n,actions:e}));var se=a(3),me=(0,H.lazy)((function(){return Promise.resolve().then(a.bind(a,674))})),pe=(0,H.lazy)((function(){return a.e(43).then(a.bind(a,766))})),fe=(0,H.lazy)((function(){return a.e(532).then(a.bind(a,360))})),he=(0,H.lazy)((function(){return a.e(147).then(a.bind(a,698))})),de=rankMath,be=de.isAdvancedMode,ye=de.isPluginActiveForNetwork,we=de.canUser,ve=(0,Y.filter)([be&&(!ye||we.setupNetwork)&&we.installPlugins&&{name:"version_control",title:(0,se.__)("Version Control","rank-math"),view:me},be&&(!ye||we.manageOptions)&&{name:"tools",title:(0,se.__)("Database Tools","rank-math"),view:pe},we.manageOptions&&{name:"status",title:(0,se.__)("System Status","rank-math"),view:fe},be&&we.manageOptions&&{name:"import_export",title:(0,se.__)("Import & Export","rank-math"),view:he}],Boolean),ge=a(142);function Ee(e){return Ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ee(e)}function ke(e){return function(e){if(Array.isArray(e))return Oe(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Oe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Oe(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Oe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n