!function(){var t={184:function(t,e){var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var t=[],e=0;e2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return e=(0,l.applyFilters)("rank_math_sanitize_data",e,t,r),null!==n&&(n=(0,l.applyFilters)("rank_math_sanitize_meta_value",n,t,r)),n=null===n?e:n,(0,l.doAction)("rank_math_data_changed",t,e,r),{type:"RANK_MATH_APP_DATA",key:t,value:e,metaKey:r,metaValue:n}}function g(t,e){return(0,l.doAction)("rank_math_update_app_ui",t,e),{type:"RANK_MATH_APP_UI",key:t,value:e}}function b(t){return h.setVariable("focuskw",t.split(",")[0]),rankMathEditor.refresh("keyword"),y("keywords",t,"rank_math_focus_keyword")}function v(t){return y("pillarContent",t,"rank_math_pillar_content",!0===t?"on":"off")}function w(t){return y("showScoreFrontend",t,"rank_math_dont_show_seo_score",!0===t?"off":"on")}function k(t){return y("score",t,"rank_math_seo_score")}function S(t){return y("canonicalUrl",t,"rank_math_canonical_url")}function _(t){return y("advancedRobots",t,"rank_math_advanced_robots")}function T(t){return y("robots",t,"rank_math_robots",Object.keys(t))}function P(t){return y("breadcrumbTitle",t,"rank_math_breadcrumb_title")}function D(){return y("dirtyMetadata",{})}function I(t){return y("facebookTitle",t,"rank_math_facebook_title")}function O(t){return y("facebookDescription",t,"rank_math_facebook_description")}function E(t){return y("facebookImage",t,"rank_math_facebook_image")}function A(t){return y("facebookImageID",t,"rank_math_facebook_image_id")}function j(t){return y("facebookHasOverlay",t,"rank_math_facebook_enable_image_overlay",!0===t?"on":"off")}function M(t){return y("facebookImageOverlay",t,"rank_math_facebook_image_overlay")}function R(t){return rankMath.objectID=t,y("postID",t)}function C(t){return y("permalink",t,"permalink")}function U(t){return y("title",t,"rank_math_title")}function N(t){return y("description",t,"rank_math_description")}function x(t){return y("featuredImage",t)}function F(t,e){return y("primaryTerm",parseInt(t),"rank_math_primary_"+e)}function H(t,e){return y(t,e)}function K(t){return g("redirectionItem",t)}function z(){return g("redirectionItem",{})}function L(t){return g("hasRedirect",t)}var G=rankMathAnalyzer,B=lodash,V=document.createElement("div");function q(t){return t&&"string"==typeof t&&(t=t.replace(/]*>([\S\s]*?)<\/script>/gim,"").replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,""),V.innerHTML=t,t=V.textContent,V.textContent=""),t}var W=function(t,e){return t=(t=G.Helpers.cleanText(t)).replace(/\r?\n|\r/g," "),e?(0,B.truncate)(t,{length:e,separator:" "}):t},$=function(t){if((0,B.isEmpty)(t))return"";t=G.Helpers.stripScript(t),t=G.Helpers.stripStyle(t),t=(0,B.unescape)(t).replace(/\[caption[^\]]*\](.*)\[\/caption\]/g,"");var e=(0,B.filter)(G.Helpers.matchParagraphs(t,!0,!0),(function(t){return""!==t.trim()}));if(!e.length)return"";var r=rankMathEditor.getPrimaryKeyword();if(""!==r){var n=(0,B.filter)(e,(function(t){return(0,B.includes)(t.toLowerCase(),r.toLowerCase())}));if(00&&void 0!==arguments[0]?arguments[0]:ie,e=arguments.length>1?arguments[1]:void 0,r=te({},t.dirtyMetadata);return!1!==e.metaKey&&(r[e.metaKey]=e.metaValue),"RANK_MATH_APP_DATA"===e.type?"dirtyMetadata"===e.key?te(te({},t),{},{dirtyMetadata:e.value}):te(te({},t),{},ee(ee({},e.key,e.value),"dirtyMetadata",r)):t}function oe(t){return oe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},oe(t)}function ue(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ce(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:le,e=arguments.length>1?arguments[1]:void 0;return"RANK_MATH_APP_UI"===e.type?ce(ce({},t),{},se({},e.key,e.value)):t}function fe(t){return t.appData}function de(t){return t.appData.dirtyMetadata}function me(t){return t.appData.score}function he(t){return t.appData.keywords}function ye(t){return t.appData.pillarContent}function ge(t){return t.appData.robots}function be(t){return t.appData.advancedRobots}function ve(t){return t.appData.canonicalUrl}function we(t){return t.appData.breadcrumbTitle}function ke(t){return"todo"}function Se(t){return t.appData.showScoreFrontend}function _e(t){return t.appUi.isLoaded}function Te(t){return t.appUi.selectedKeyword}function Pe(t){return t.appUi.socialTab}function De(t){return t.appUi.refreshResults}function Ie(t){return t.appUi.isPro}function Oe(t){return t.appUi.isDiviPageSettingsBarActive}function Ee(t){return t.appUi.isDiviRankMathModalActive}function Ae(t){return t.appUi.highlightedParagraphs}function je(t){return t.appData.facebookTitle}function Me(t){return t.appData.facebookDescription}function Re(t){return t.appData.facebookAuthor}function Ce(t){return t.appData.facebookImageID}function Ue(t){return t.appData.facebookImage}function Ne(t){return t.appData.facebookHasOverlay}function xe(t){return""!==t.appData.facebookImageOverlay?t.appData.facebookImageOverlay:"play"}function Fe(t){return t.appData.postID}function He(t){return t.appData.title}function Ke(t){return t.appData.permalink}function ze(t){return t.appData.description}function Le(t){return t.appData.featuredImage}function Ge(t){var e=t.appData.featuredImage;return'').concat(e.alt_text,'')}function Be(t){return t.appData.primaryTerm}function Ve(t){return t.appData.redirectionID}function qe(t){return t.appData.redirectionType}function We(t){return t.appData.redirectionUrl}function $e(t){return t.appUi.redirectionItem}function Je(t){return t.appUi.hasRedirect}var Qe=wp.url;function Xe(t){return q(t.appUi.serpTitle)}function Ye(t){return(0,Qe.safeDecodeURIComponent)(t.appUi.serpSlug)}function Ze(t){return t.appUi.serpDescription}function tr(t){return t.appUi.isSnippetEditorOpen}function er(t){return t.appUi.snippetPreviewType}function rr(t){return t.appUi.isSchemaEditorOpen}function nr(t){return t.appUi.isSchemaTemplatesOpen}function ir(t){return t.appUi.schemaUpdated}function ar(t){return t.appData.schemas}function or(t){return t.appUi.editSchemas}function ur(t){return{id:t.appUi.editingSchemaId,data:t.appUi.editSchemas[t.appUi.editingSchemaId]}}function cr(t){return t.appData.schemas[t.appUi.editingSchemaId]}function sr(t){return t.appUi.editorTab}function lr(t){return t.appUi.templateTab}function pr(t){return t.appData.twitterUseFacebook}function fr(t){return t.appData.twitterCardType}function dr(t){return t.appData.twitterTitle}function mr(t){return t.appData.twitterDescription}function hr(t){return t.appData.twitterAuthor}function yr(t){return t.appData.twitterImageID}function gr(t){return t.appData.twitterImage}function br(t){return t.appData.twitterHasOverlay}function vr(t){return""!==t.appData.twitterImageOverlay?t.appData.twitterImageOverlay:"play"}function wr(t){return t.appData.twitterAppDescription}function kr(t){return t.appData.twitterAppIphoneID}function Sr(t){return t.appData.twitterAppIphoneName}function _r(t){return t.appData.twitterAppIphoneUrl}function Tr(t){return t.appData.twitterAppIpadID}function Pr(t){return t.appData.twitterAppIpadName}function Dr(t){return t.appData.twitterAppIpadUrl}function Ir(t){return t.appData.twitterAppGoogleplayID}function Or(t){return t.appData.twitterAppGoogleplayName}function Er(t){return t.appData.twitterAppGoogleplayUrl}function Ar(t){return t.appData.twitterAppCountry}function jr(t){return t.appData.twitterPlayerUrl}function Mr(t){return t.appData.twitterPlayerSize}function Rr(t){return t.appData.twitterPlayerStream}function Cr(t){return t.appData.twitterPlayerStreamCtype}function Ur(t){return t.appUi.keywordsData}function Nr(t){return t.appData.contentAIScore}var xr=(0,u.registerStore)("rank-math",{reducer:(0,u.combineReducers)(e),selectors:n,actions:t});function Fr(){return xr}var Hr={"&":"&",""":'"',"'":"'"},Kr=/&(?:amp|quot|#(0+)?39);/g,zr=RegExp(Kr.source);var Lr=function(t){return t&&zr.test(t)?t.replace(Kr,(function(t){return Hr[t]||"'"})):t||""};function Gr(t){return Gr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Gr(t)}function Br(t,e){for(var r=0;r'+(0,o.__)("300 words","rank-math")+"")}}},{key:"contentLengthBoundary",value:function(){return{recommended:{boundary:299,score:8},belowRecommended:{boundary:200,score:5},low:{boundary:50,score:2}}}}])&&$r(e.prototype,r),n&&$r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();function Qr(t){return Qr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Qr(t)}function Xr(t,e){for(var r=0;r'+r.value.substring(i,a)+"",i===a&&(n=''+e+""),r.value=r.value.substring(0,i)+n+r.value.substring(a,r.value.length),r.focus(),r.selectionStart=i+n.length,r.selectionEnd=i+n.length,r.scrollTop=o}else n=''+e+"",r.value+=n,r.focus()}});if("function"==typeof ClipboardJS&&a()(".suggestion-copy").on("click",(function(t){t.preventDefault(),new ClipboardJS(".suggestion-copy");var e=a()(this).parent().next(".suggestion-title"),r=e.html();e.text("Link Copied"),setTimeout((function(){e.html(r)}),1500)})),"object"!==("undefined"==typeof tinymce?"undefined":Nn(tinymce)))return!0;var e=null,r=null;a()(".suggestion-insert").on("click",(function(t){t.preventDefault();var n,i,o,c,s=a()(this);if(s.hasClass("clicked"))return!0;if(null!==tinymce.activeEditor&&!0!==tinymce.activeEditor.isHidden()&&"content"===tinymce.activeEditor.id){e=tinymce.activeEditor,r=a()(e.getBody());var l=e.selection.getContent()||"";if(r.find("a[data-mce-selected]").length){var p=(n="",i="",o=e.selection.getStart(),(c=e.dom.getParent(o,"a[href]"))||(i=e.selection.getContent({format:"raw"}))&&-1!==i.indexOf("")&&((n=i.match(/href="([^">]+)"/))&&n[1]&&(c=e.$('a[href="'+n[1]+'"]',o)[0]),c&&e.selection.select(c)),c);e.dom.setAttribs(p,{href:s.data("url")}),a()(p).text()!==l&&e.insertContent(l)}else l.length?e.insertContent(''+l+""):e.insertContent(''+s.data("text")+"")}else if(Zr()){var f=(0,u.select)("core/block-editor").getSelectedBlock().clientId,d=(0,u.select)("core/block-editor").getSelectionStart().offset,m=(0,u.select)("core/block-editor").getSelectionEnd().offset;if(document.getSelection){var h=document.getSelection();if(h.rangeCount){var y=h.getRangeAt(0),g=a()("#block-"+f).text().substring(d,m),b=document.createElement("a");b.href=s.data("url"),b.innerText=""!==g?g:s.data("text"),y.deleteContents(),y.insertNode(b);var v=h.focusNode.innerHTML;(0,u.dispatch)("core/block-editor").updateBlock(f,{attributes:{content:v}})}}}var w=s.closest(".suggestion-item").find(".suggestion-title"),k=w.html();w.text("Link Inserted"),s.addClass("clicked"),setTimeout((function(){var t,e,r,n;w.html(k),s.removeClass("clicked"),!0===rankMath.postSettings.useFocusKeyword&&(e=s,r=(t=w).data("fkcount")||0,n=t.data("fk"),(r+=1)===n.length&&(r=0),t.find(">a").text(n[r]),t.data("fkcount",r),e.data("text",n[r]))}),1500)})),a()("#rank_math_metabox_link_suggestions").find("h2").append(a()("#rank-math-link-suggestions-tooltip").html())}})),Kn=(0,vn.createSlotFill)("RankMathAfterEditor"),zn=Kn.Fill,Ln=Kn.Slot,Gn=function(t){var e=t.children,r=t.className;return wp.element.createElement(zn,null,wp.element.createElement(vn.PanelRow,{className:r},e))};Gn.Slot=Ln;var Bn=Gn,Vn=(0,vn.createSlotFill)("RankMathAdvancedTab"),qn=Vn.Fill,Wn=Vn.Slot,$n=function(t){var e=t.children,r=t.className;return wp.element.createElement(qn,null,wp.element.createElement(vn.PanelRow,{className:r},e))};$n.Slot=Wn;var Jn=$n,Qn=(0,vn.createSlotFill)("RankMathAfterFocusKeyword"),Xn=Qn.Fill,Yn=Qn.Slot,Zn=function(t){var e=t.children,r=t.className;return wp.element.createElement(Xn,null,wp.element.createElement("div",{className:r},e))};Zn.Slot=Yn;var ti=Zn;function ei(t){return ei="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ei(t)}function ri(){return ri=Object.assign?Object.assign.bind():function(t){for(var e=1;e