WordPress SEO Plugin – Rank Math - Version 1.0.59.1

Version Description

[Mar 12, 2021] = * Fixed: Invalid link attributions after selecting sponsored & nofollow options * Fixed: Unable to change the "Unpublish When Expired" option's value from No to Yes without changing any other field in the JobPosting Schema * Fixed: Schema shortcode showing data in the wrong place

Download this release

Release Info

Developer rankmath
Plugin Icon 128x128 WordPress SEO Plugin – Rank Math
Version 1.0.59.1
Comparing to
See all releases

Code changes from version 1.0.59 to 1.0.59.1

assets/admin/js/classic.js CHANGED
@@ -1 +1 @@
1
- !function(e){var t={};function r(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)r.d(n,a,function(t){return e[t]}.bind(null,a));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=78)}({0:function(e,t){e.exports=wp.i18n},1:function(e,t){e.exports=lodash},10:function(e,t,r){var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)&&n.length){var o=a.apply(null,n);o&&e.push(o)}else if("object"===i)for(var s in n)r.call(n,s)&&n[s]&&e.push(s)}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(n=function(){return a}.apply(t,[]))||(e.exports=n)}()},11:function(e,t){e.exports=wp.url},14:function(e,t,r){"use strict";var n=document.createElement("div");t.a=function(e){return e&&"string"==typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,"").replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,""),n.innerHTML=e,e=n.textContent,n.textContent=""),e}},16:function(e,t){e.exports=wp.apiFetch},17:function(e,t,r){"use strict";r.d(t,"a",(function(){return ur}));var n={};r.r(n),r.d(n,"updateKeywords",(function(){return d})),r.d(n,"updatePillarContent",(function(){return p})),r.d(n,"toggleFrontendScore",(function(){return h})),r.d(n,"updateAnalysisScore",(function(){return f})),r.d(n,"updateCanonicalUrl",(function(){return m})),r.d(n,"updateAdvancedRobots",(function(){return g})),r.d(n,"updateRobots",(function(){return k})),r.d(n,"updateBreadcrumbTitle",(function(){return y})),r.d(n,"resetDirtyMetadata",(function(){return v})),r.d(n,"updateFacebookTitle",(function(){return b})),r.d(n,"updateFacebookDescription",(function(){return w})),r.d(n,"updateFacebookImage",(function(){return _})),r.d(n,"updateFacebookImageID",(function(){return O})),r.d(n,"updateFacebookHasOverlay",(function(){return T})),r.d(n,"updateFacebookImageOverlay",(function(){return P})),r.d(n,"updateAppData",(function(){return u})),r.d(n,"updateAppUi",(function(){return l})),r.d(n,"updatePostID",(function(){return j})),r.d(n,"updatePermalink",(function(){return I})),r.d(n,"updateTitle",(function(){return S})),r.d(n,"updateDescription",(function(){return D})),r.d(n,"updateFeaturedImage",(function(){return C})),r.d(n,"updatePrimaryTermID",(function(){return x})),r.d(n,"updateRedirection",(function(){return M})),r.d(n,"updateRedirectionItem",(function(){return E})),r.d(n,"resetRedirection",(function(){return A})),r.d(n,"updateHasRedirect",(function(){return F})),r.d(n,"updateSerpTitle",(function(){return U})),r.d(n,"updateSerpDescription",(function(){return K})),r.d(n,"toggleSnippetEditor",(function(){return N})),r.d(n,"updateSnippetPreviewType",(function(){return H})),r.d(n,"updateTwitterUseFacebook",(function(){return W})),r.d(n,"updateTwitterCardType",(function(){return G})),r.d(n,"updateTwitterTitle",(function(){return z})),r.d(n,"updateTwitterDescription",(function(){return L})),r.d(n,"updateTwitterAuthor",(function(){return V})),r.d(n,"updateTwitterImageID",(function(){return B})),r.d(n,"updateTwitterImage",(function(){return $})),r.d(n,"updateTwitterHasOverlay",(function(){return J})),r.d(n,"updateTwitterImageOverlay",(function(){return Q})),r.d(n,"updateTwitterPlayerUrl",(function(){return q})),r.d(n,"updateTwitterPlayerSize",(function(){return Z})),r.d(n,"updateTwitterPlayerStreamUrl",(function(){return X})),r.d(n,"updateTwitterPlayerStreamCtype",(function(){return Y})),r.d(n,"updateTwitterAppDescription",(function(){return ee})),r.d(n,"updateTwitterAppIphoneID",(function(){return te})),r.d(n,"updateTwitterAppIphoneName",(function(){return re})),r.d(n,"updateTwitterAppIphoneUrl",(function(){return ne})),r.d(n,"updateTwitterAppIpadID",(function(){return ae})),r.d(n,"updateTwitterAppIpadName",(function(){return ie})),r.d(n,"updateTwitterAppIpadUrl",(function(){return oe})),r.d(n,"updateTwitterAppGoogleplayID",(function(){return se})),r.d(n,"updateTwitterAppGoogleplayName",(function(){return ce})),r.d(n,"updateTwitterAppGoogleplayUrl",(function(){return ue})),r.d(n,"updateTwitterAppCountry",(function(){return le})),r.d(n,"toggleLoaded",(function(){return de})),r.d(n,"updateSelectedKeyword",(function(){return pe})),r.d(n,"refreshResults",(function(){return he})),r.d(n,"setVersion",(function(){return fe})),r.d(n,"toggleSchemaEditor",(function(){return _e})),r.d(n,"toggleSchemaTemplates",(function(){return Oe})),r.d(n,"setEditingSchemaId",(function(){return Te})),r.d(n,"setEditorTab",(function(){return Pe})),r.d(n,"setTemplateTab",(function(){return je})),r.d(n,"updateEditSchemas",(function(){return Ie})),r.d(n,"updateSchemas",(function(){return Se})),r.d(n,"updateEditSchema",(function(){return De})),r.d(n,"saveSchema",(function(){return Ce})),r.d(n,"deleteSchema",(function(){return xe})),r.d(n,"saveTemplate",(function(){return Me}));var a={};r.r(a),r.d(a,"appData",(function(){return Ne})),r.d(a,"appUi",(function(){return Le}));var i={};r.r(i),r.d(i,"getAppData",(function(){return Ve})),r.d(i,"getDirtyMetadata",(function(){return Be})),r.d(i,"getAnalysisScore",(function(){return $e})),r.d(i,"getKeywords",(function(){return Je})),r.d(i,"getPillarContent",(function(){return Qe})),r.d(i,"getRobots",(function(){return qe})),r.d(i,"getAdvancedRobots",(function(){return Ze})),r.d(i,"getCanonicalUrl",(function(){return Xe})),r.d(i,"getBreadcrumbTitle",(function(){return Ye})),r.d(i,"getRichSnippets",(function(){return et})),r.d(i,"getShowScoreFrontend",(function(){return tt})),r.d(i,"isLoaded",(function(){return rt})),r.d(i,"getSelectedKeyword",(function(){return nt})),r.d(i,"isRefreshing",(function(){return at})),r.d(i,"isPro",(function(){return it})),r.d(i,"getFacebookTitle",(function(){return ot})),r.d(i,"getFacebookDescription",(function(){return st})),r.d(i,"getFacebookAuthor",(function(){return ct})),r.d(i,"getFacebookImageID",(function(){return ut})),r.d(i,"getFacebookImage",(function(){return lt})),r.d(i,"getFacebookHasOverlay",(function(){return dt})),r.d(i,"getFacebookImageOverlay",(function(){return pt})),r.d(i,"getPostID",(function(){return ht})),r.d(i,"getTitle",(function(){return ft})),r.d(i,"getPermalink",(function(){return mt})),r.d(i,"getDescription",(function(){return gt})),r.d(i,"getFeaturedImage",(function(){return kt})),r.d(i,"getFeaturedImageHtml",(function(){return yt})),r.d(i,"getPrimaryTermID",(function(){return vt})),r.d(i,"getRedirectionID",(function(){return bt})),r.d(i,"getRedirectionType",(function(){return wt})),r.d(i,"getRedirectionUrl",(function(){return _t})),r.d(i,"getRedirectionItem",(function(){return Ot})),r.d(i,"hasRedirect",(function(){return Tt})),r.d(i,"getSerpTitle",(function(){return jt})),r.d(i,"getSerpDescription",(function(){return It})),r.d(i,"isSnippetEditorOpen",(function(){return St})),r.d(i,"getSnippetPreviewType",(function(){return Dt})),r.d(i,"isSchemaEditorOpen",(function(){return Ct})),r.d(i,"isSchemaTemplatesOpen",(function(){return xt})),r.d(i,"getSchemas",(function(){return Mt})),r.d(i,"getEditSchemas",(function(){return Et})),r.d(i,"getEditingSchema",(function(){return At})),r.d(i,"getPreviewSchema",(function(){return Ft})),r.d(i,"getEditorTab",(function(){return Rt})),r.d(i,"getTemplateTab",(function(){return Ut})),r.d(i,"getTwitterUseFacebook",(function(){return Kt})),r.d(i,"getTwitterCardType",(function(){return Nt})),r.d(i,"getTwitterTitle",(function(){return Ht})),r.d(i,"getTwitterDescription",(function(){return Wt})),r.d(i,"getTwitterAuthor",(function(){return Gt})),r.d(i,"getTwitterImageID",(function(){return zt})),r.d(i,"getTwitterImage",(function(){return Lt})),r.d(i,"getTwitterHasOverlay",(function(){return Vt})),r.d(i,"getTwitterImageOverlay",(function(){return Bt})),r.d(i,"getTwitterAppDescription",(function(){return $t})),r.d(i,"getTwitterAppIphoneID",(function(){return Jt})),r.d(i,"getTwitterAppIphoneName",(function(){return Qt})),r.d(i,"getTwitterAppIphoneUrl",(function(){return qt})),r.d(i,"getTwitterAppIpadID",(function(){return Zt})),r.d(i,"getTwitterAppIpadName",(function(){return Xt})),r.d(i,"getTwitterAppIpadUrl",(function(){return Yt})),r.d(i,"getTwitterAppGoogleplayID",(function(){return er})),r.d(i,"getTwitterAppGoogleplayName",(function(){return tr})),r.d(i,"getTwitterAppGoogleplayUrl",(function(){return rr})),r.d(i,"getTwitterAppCountry",(function(){return nr})),r.d(i,"getTwitterPlayerUrl",(function(){return ar})),r.d(i,"getTwitterPlayerSize",(function(){return ir})),r.d(i,"getTwitterPlayerStream",(function(){return or})),r.d(i,"getTwitterPlayerStreamCtype",(function(){return sr}));var o=r(4),s=r(9),c=r(6);function u(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return t=Object(c.applyFilters)("rank_math_sanitize_data",t,e,r),null!==n&&(n=Object(c.applyFilters)("rank_math_sanitize_meta_value",n,e,r)),n=null===n?t:n,Object(c.doAction)("rank_math_data_changed",e,t,r),{type:"RANK_MATH_APP_DATA",key:e,value:t,metaKey:r,metaValue:n}}function l(e,t){return Object(c.doAction)("rank_math_update_app_ui",e,t),{type:"RANK_MATH_APP_UI",key:e,value:t}}function d(e){return s.a.setVariable("focuskw",e.split(",")[0]),rankMathEditor.refresh("keyword"),u("keywords",e,"rank_math_focus_keyword")}function p(e){return u("pillarContent",e,"rank_math_pillar_content",!0===e?"on":"off")}function h(e){return u("showScoreFrontend",e,"rank_math_dont_show_seo_score",!0===e?"off":"on")}function f(e){return u("score",e,"rank_math_seo_score")}function m(e){return u("canonicalUrl",e,"rank_math_canonical_url")}function g(e){return u("advancedRobots",e,"rank_math_advanced_robots")}function k(e){return u("robots",e,"rank_math_robots",Object.keys(e))}function y(e){return u("breadcrumbTitle",e,"rank_math_breadcrumb_title")}function v(){return u("dirtyMetadata",{})}function b(e){return u("facebookTitle",e,"rank_math_facebook_title")}function w(e){return u("facebookDescription",e,"rank_math_facebook_description")}function _(e){return u("facebookImage",e,"rank_math_facebook_image")}function O(e){return u("facebookImageID",e,"rank_math_facebook_image_id")}function T(e){return u("facebookHasOverlay",e,"rank_math_facebook_enable_image_overlay",!0===e?"on":"off")}function P(e){return u("facebookImageOverlay",e,"rank_math_facebook_image_overlay")}function j(e){return rankMath.objectID=e,u("postID",e)}function I(e){return u("permalink",e,"permalink")}function S(e){return u("title",e,"rank_math_title")}function D(e){return u("description",e,"rank_math_description")}function C(e){return u("featuredImage",e)}function x(e,t){return u("primaryTerm",parseInt(e),"rank_math_primary_"+t)}function M(e,t){return u(e,t)}function E(e){return l("redirectionItem",e)}function A(){return l("redirectionItem",{})}function F(e){return l("hasRedirect",e)}var R=r(25);function U(e){return e=s.a.swap(""!==e?e:rankMath.assessor.serpData.titleTemplate),rankMathEditor.refresh("title"),l("serpTitle",e)}function K(e){return e=s.a.swap(Object(R.a)(e)),rankMathEditor.refresh("description"),l("serpDescription",e)}function N(e){return l("isSnippetEditorOpen",e)}function H(e){return l("snippetPreviewType",e)}function W(e){return u("twitterUseFacebook",e,"rank_math_twitter_use_facebook",!0===e?"on":"off")}function G(e){return u("twitterCardType",e,"rank_math_twitter_card_type")}function z(e){return u("twitterTitle",e,"rank_math_twitter_title")}function L(e){return u("twitterDescription",e,"rank_math_twitter_description")}function V(e){return u("twitterAuthor",e,"rank_math_twitter_author")}function B(e){return u("twitterImageID",e,"rank_math_twitter_image_id")}function $(e){return u("twitterImage",e,"rank_math_twitter_image")}function J(e){return u("twitterHasOverlay",e,"rank_math_twitter_enable_image_overlay",!0===e?"on":"off")}function Q(e){return u("twitterImageOverlay",e,"rank_math_twitter_image_overlay")}function q(e){return u("twitterPlayerUrl",e,"rank_math_twitter_player_url")}function Z(e){return u("twitterPlayerSize",e,"rank_math_twitter_player_size")}function X(e){return u("twitterPlayerStream",e,"rank_math_twitter_player_stream")}function Y(e){return u("twitterPlayerStreamCtype",e,"rank_math_twitter_player_stream_ctype")}function ee(e){return u("twitterAppDescription",e,"rank_math_twitter_app_description")}function te(e){return u("twitterAppIphoneID",e,"rank_math_twitter_app_iphone_id")}function re(e){return u("twitterAppIphoneName",e,"rank_math_twitter_app_iphone_name")}function ne(e){return u("twitterAppIphoneUrl",e,"rank_math_twitter_app_iphone_url")}function ae(e){return u("twitterAppIpadID",e,"rank_math_twitter_app_ipad_id")}function ie(e){return u("twitterAppIpadName",e,"rank_math_twitter_app_ipad_name")}function oe(e){return u("twitterAppIpadUrl",e,"rank_math_twitter_app_ipad_url")}function se(e){return u("twitterAppGoogleplayID",e,"rank_math_twitter_app_googleplay_id")}function ce(e){return u("twitterAppGoogleplayName",e,"rank_math_twitter_app_googleplay_name")}function ue(e){return u("twitterAppGoogleplayUrl",e,"rank_math_twitter_app_googleplay_url")}function le(e){return u("twitterAppCountry",e,"rank_math_twitter_app_country")}function de(e){return l("isLoaded",e)}function pe(e){return l("selectedKeyword",e)}function he(){return l("refreshResults",Date.now())}function fe(){return l("isPro",!0)}var me=r(1),ge=r(0),ke=r(16),ye=r.n(ke);function ve(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function be(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ve(Object(r),!0).forEach((function(t){we(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ve(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function we(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _e(e){return l("isSchemaEditorOpen",e)}function Oe(e){return l("isSchemaTemplatesOpen",e)}function Te(e){return l("editingSchemaId",e)}function Pe(e){return l("editorTab",e)}function je(e){return l("templateTab",e)}function Ie(e){return l("editSchemas",e)}function Se(e){return u("schemas",e)}function De(e,t){var r=be({},Object(o.select)("rank-math").getEditSchemas());return r[e]=t,l("editSchemas",r)}function Ce(e,t){var r=be({},Object(o.select)("rank-math").getSchemas());return r[e]=t,u("schemas",r)}function xe(e){var t=be({},Object(o.select)("rank-math").getSchemas());return delete t[e],Object(c.doAction)("rank_math_schema_trash",e),u("schemas",t,"rank_math_delete_"+e,"")}function Me(e,t,r){return ye()({method:"POST",path:"rankmath/v1/saveTemplate",data:{schema:e,postId:r}}).then((function(r){t({loading:!1,showNotice:!0,postId:r.id}),setTimeout((function(){t({showNotice:!1}),Object(me.get)(rankMath,"isTemplateScreen",!1)&&(document.title=Object(ge.__)("Edit Schema","rank-math"),window.history.pushState(null,"",r.link.replace(/&amp;/g,"&")))}),2e3),rankMath.schemaTemplates.push({schema:e,title:e.metadata.title,type:e["@type"]})})),t({loading:!0}),{type:"DONT_WANT_TO_DO_SOMETHING"}}function Ee(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ae(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ee(Object(r),!0).forEach((function(t){Fe(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ee(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Fe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Re=rankMath.assessor.serpData,Ue=rankMath.assessor.hasRedirection,Ke={postID:null,title:Re.title?Re.title:Re.titleTemplate,description:Re.description,keywords:Re.focusKeywords,pillarContent:Re.pillarContent,featuredImage:"",permalink:!1,primaryTerm:Re.primaryTerm,robots:Re.robots,advancedRobots:Re.advancedRobots,canonicalUrl:Re.canonicalUrl,breadcrumbTitle:Re.breadcrumbTitle,showScoreFrontend:Re.showScoreFrontend,redirectionID:Ue?Object(me.get)(rankMath.assessor,"redirection.id",""):"",redirectionType:Ue?Object(me.get)(rankMath.assessor,"redirection.header_code",""):"",redirectionUrl:Ue?Object(me.get)(rankMath.assessor,"redirection.url_to",""):"",facebookTitle:Re.facebookTitle,facebookImage:Re.facebookImage,facebookImageID:Re.facebookImageID,facebookAuthor:Re.facebookAuthor,facebookDescription:Re.facebookDescription,facebookHasOverlay:Re.facebookHasOverlay,facebookImageOverlay:Re.facebookImageOverlay,twitterTitle:Re.twitterTitle,twitterImage:Re.twitterImage,twitterAuthor:Re.twitterAuthor,twitterImageID:Re.twitterImageID,twitterCardType:Re.twitterCardType,twitterUseFacebook:Re.twitterUseFacebook,twitterDescription:Re.twitterDescription,twitterHasOverlay:Re.twitterHasOverlay,twitterImageOverlay:Re.twitterImageOverlay,twitterPlayerUrl:Re.twitterPlayerUrl,twitterPlayerSize:Re.twitterPlayerSize,twitterPlayerStream:Re.twitterPlayerStream,twitterPlayerStreamCtype:Re.twitterPlayerStreamCtype,twitterAppDescription:Re.twitterAppDescription,twitterAppIphoneName:Re.twitterAppIphoneName,twitterAppIphoneID:Re.twitterAppIphoneID,twitterAppIphoneUrl:Re.twitterAppIphoneUrl,twitterAppIpadName:Re.twitterAppIpadName,twitterAppIpadID:Re.twitterAppIpadID,twitterAppIpadUrl:Re.twitterAppIpadUrl,twitterAppGoogleplayName:Re.twitterAppGoogleplayName,twitterAppGoogleplayID:Re.twitterAppGoogleplayID,twitterAppGoogleplayUrl:Re.twitterAppGoogleplayUrl,twitterAppCountry:Re.twitterAppCountry,schemas:Object(me.get)(rankMath,"schemas",{}),score:0,dirtyMetadata:{}};function Ne(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ke,r=arguments.length>1?arguments[1]:void 0,n=Ae({},t.dirtyMetadata);return!1!==r.metaKey&&(n[r.metaKey]=r.metaValue),"RANK_MATH_APP_DATA"===r.type?"dirtyMetadata"===r.key?Ae(Ae({},t),{},{dirtyMetadata:r.value}):Ae(Ae({},t),{},(Fe(e={},r.key,r.value),Fe(e,"dirtyMetadata",n),e)):t}function He(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function We(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?He(Object(r),!0).forEach((function(t){Ge(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):He(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ge(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ze={isLoaded:!1,isPro:!1,selectedKeyword:{tag:"",index:0,data:{value:""}},hasRedirect:rankMath.assessor.hasRedirection&&(!Object(me.isEmpty)(Object(me.get)(rankMath.assessor,"redirection.id",""))||!Object(me.isEmpty)(Object(me.get)(rankMath.assessor,"redirection.url_to",""))),serpTitle:"",serpDescription:"",isSnippetEditorOpen:!1,snippetPreviewType:"",refreshResults:"",redirectionItem:{},editorTab:"",templateTab:"",editSchemas:{},editingSchemaId:"",isSchemaEditorOpen:!1,isSchemaTemplatesOpen:!1};function Le(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ze,t=arguments.length>1?arguments[1]:void 0;return"RANK_MATH_APP_UI"===t.type?We(We({},e),{},Ge({},t.key,t.value)):e}function Ve(e){return e.appData}function Be(e){return e.appData.dirtyMetadata}function $e(e){return e.appData.score}function Je(e){return e.appData.keywords}function Qe(e){return e.appData.pillarContent}function qe(e){return e.appData.robots}function Ze(e){return e.appData.advancedRobots}function Xe(e){return e.appData.canonicalUrl}function Ye(e){return e.appData.breadcrumbTitle}function et(e){return"todo"}function tt(e){return e.appData.showScoreFrontend}function rt(e){return e.appUi.isLoaded}function nt(e){return e.appUi.selectedKeyword}function at(e){return e.appUi.refreshResults}function it(e){return e.appUi.isPro}function ot(e){return e.appData.facebookTitle}function st(e){return e.appData.facebookDescription}function ct(e){return e.appData.facebookAuthor}function ut(e){return e.appData.facebookImageID}function lt(e){return e.appData.facebookImage}function dt(e){return e.appData.facebookHasOverlay}function pt(e){return""!==e.appData.facebookImageOverlay?e.appData.facebookImageOverlay:"play"}function ht(e){return e.appData.postID}function ft(e){return e.appData.title}function mt(e){return e.appData.permalink}function gt(e){return e.appData.description}function kt(e){return e.appData.featuredImage}function yt(e){var t=e.appData.featuredImage;return'<img src="'.concat(t.source_url,'" alt="').concat(t.alt_text,'" >')}function vt(e){return e.appData.primaryTerm}function bt(e){return e.appData.redirectionID}function wt(e){return e.appData.redirectionType}function _t(e){return e.appData.redirectionUrl}function Ot(e){return e.appUi.redirectionItem}function Tt(e){return e.appUi.hasRedirect}var Pt=r(14);function jt(e){return Object(Pt.a)(e.appUi.serpTitle)}function It(e){return e.appUi.serpDescription}function St(e){return e.appUi.isSnippetEditorOpen}function Dt(e){return e.appUi.snippetPreviewType}function Ct(e){return e.appUi.isSchemaEditorOpen}function xt(e){return e.appUi.isSchemaTemplatesOpen}function Mt(e){return e.appData.schemas}function Et(e){return e.appUi.editSchemas}function At(e){return{id:e.appUi.editingSchemaId,data:e.appUi.editSchemas[e.appUi.editingSchemaId]}}function Ft(e){return e.appData.schemas[e.appUi.editingSchemaId]}function Rt(e){return e.appUi.editorTab}function Ut(e){return e.appUi.templateTab}function Kt(e){return e.appData.twitterUseFacebook}function Nt(e){return e.appData.twitterCardType}function Ht(e){return e.appData.twitterTitle}function Wt(e){return e.appData.twitterDescription}function Gt(e){return e.appData.twitterAuthor}function zt(e){return e.appData.twitterImageID}function Lt(e){return e.appData.twitterImage}function Vt(e){return e.appData.twitterHasOverlay}function Bt(e){return""!==e.appData.twitterImageOverlay?e.appData.twitterImageOverlay:"play"}function $t(e){return e.appData.twitterAppDescription}function Jt(e){return e.appData.twitterAppIphoneID}function Qt(e){return e.appData.twitterAppIphoneName}function qt(e){return e.appData.twitterAppIphoneUrl}function Zt(e){return e.appData.twitterAppIpadID}function Xt(e){return e.appData.twitterAppIpadName}function Yt(e){return e.appData.twitterAppIpadUrl}function er(e){return e.appData.twitterAppGoogleplayID}function tr(e){return e.appData.twitterAppGoogleplayName}function rr(e){return e.appData.twitterAppGoogleplayUrl}function nr(e){return e.appData.twitterAppCountry}function ar(e){return e.appData.twitterPlayerUrl}function ir(e){return e.appData.twitterPlayerSize}function or(e){return e.appData.twitterPlayerStream}function sr(e){return e.appData.twitterPlayerStreamCtype}var cr=Object(o.registerStore)("rank-math",{reducer:Object(o.combineReducers)(a),selectors:i,actions:n});function ur(){return cr}},19:function(e,t,r){"use strict";var n=r(1);t.a=function(e,t,r,a){return""===e||Object(n.isUndefined)(t)?t:(t=Object(n.truncate)(t,{length:r,separator:a||" "})).replace(new RegExp(function(e){return e.replace(/[\\^$*+?.()|[\]{}]/g,"\\$&")}(e),"gi"),(function(e){return'<mark className="highlight">'+e+"</mark>"}))}},2:function(e,t){e.exports=jQuery},20:function(e,t,r){"use strict";t.a=function(e){return 80<e?"good-fk":50<e?"ok-fk":"bad-fk"}},25:function(e,t,r){"use strict";var n=r(2),a=r.n(n),i=r(8),o=r(1),s=r(6),c=r(9),u=r(14),l=function(e,t){return e=(e=i.Helpers.cleanText(e)).replace(/\r?\n|\r/g," "),t?Object(o.truncate)(e,{length:t,separator:" "}):e};t.a=function(e){var t=rankMathEditor.assessor.dataCollector.getData(),r=t.excerpt,n=t.content?function(e){if(Object(o.isEmpty)(e))return"";e=e.replace(/\[caption[^\]]*\](.*)\[\/caption\]/g,"");var t=Object(o.filter)(i.Helpers.matchParagraphs(e,!0,!0),(function(e){return""!==a.a.trim(e)}));if(!t.length)return"";var r=rankMathEditor.getPrimaryKeyword();if(""!==r){var n=Object(o.filter)(t,(function(e){return Object(o.includes)(e.toLowerCase(),r.toLowerCase())}));if(0<n.length)return l(n[0],160)}return l(t[0],160)}(t.content.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,"")):"",d=Object(o.isUndefined)(r)||Object(o.isEmpty)(r)?n:r;if(c.a.setVariable("excerpt",d),c.a.setVariable("seo_description",d),""!==(e=Object(u.a)(Object(s.applyFilters)("rankMath/description",e))))return i.Helpers.cleanText(e);if(!Object(o.isUndefined)(r)&&!Object(o.isEmpty)(r))return i.Helpers.cleanText(r);var p=rankMath.assessor.serpData.descriptionTemplate;return Object(o.isUndefined)(p)||""===p?n:i.Helpers.cleanText(p)}},26:function(e,t,r){"use strict";var n=r(0),a=r(6);function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),rankMath.is_front_page&&(Object(a.addFilter)("rankMath_analysis_contentLength","rank-math",this.contentLength),Object(a.addFilter)("rankMath_analysis_contentLength_boundaries","rank-math",this.contentLengthBoundary))}var t,r,o;return t=e,(r=[{key:"contentLength",value:function(e){return{hasScore:e.hasScore,failed:Object(n.__)("Content is %1$d words long. Consider using at least 300 words.","rank-math"),tooltipText:Object(n.__)("Minimum recommended content length should be 300 words.","rank-math"),emptyContent:Object(n.sprintf)(Object(n.__)("Content should be %1$s long.","rank-math"),'<a href="https://s.rankmath.com/100contentlength" target="_blank">'+Object(n.__)("300 words","rank-math")+"</a>")}}},{key:"contentLengthBoundary",value:function(){return{recommended:{boundary:299,score:8},belowRecommended:{boundary:200,score:5},low:{boundary:50,score:2}}}}])&&i(t.prototype,r),o&&i(t,o),e}();t.a=o},27:function(e,t,r){"use strict";var n=r(1),a=r(14);function i(e,t,r){var a=0;return!1!==Object(n.get)(r,"pixelWidth",!1)&&(a=Math.min(100,Math.floor(t/r.pixelWidth*100))),Math.max(Math.min(100,Math.floor(e/r.max*100)),a)+"%"}function o(e,t){return e<=t.min||e>t.max}function s(e,t){return e<=t.minWidth||e>t.pixelWidth}t.a=function(e,t){var r=Object(a.a)(e).length,c=0,u=!1;if(!1!==Object(n.get)(t,"pixelWidth",!1)){u=!0;var l=document.createTextNode(e),d=document.createElement("span");d.appendChild(l),d.id="rank-math-width-tester",d.className=t.widthCheckerClass;var p=document.body.appendChild(d);c=document.getElementById("rank-math-width-tester").offsetWidth,p.outerHTML=""}return{left:i(r,c,t),isInvalid:o(r,t),isInvalidWidth:!!u&&s(c,t),count:r+" / "+t.max,pixelWidth:u?c+"px / "+t.pixelWidth+"px":""}}},28:function(e,t){e.exports=Tagify},29:function(e,t,r){"use strict";var n=r(1);t.a=function(e,t){var r=Object(n.round)(e/t*100);if(!(100<=r))return 49<r?"test-check-good":30<r?"test-check-ok":"test-check-bad"}},31:function(e,t,r){"use strict";var n=r(1);t.a=function(){return!(Object(n.isNil)(window.wp)||Object(n.isNil)(wp.data)||Object(n.isNil)(wp.data.select("core/editor"))||!Object(n.isFunction)(wp.data.select("core/editor").getEditedPostAttribute))}},4:function(e,t){e.exports=wp.data},6:function(e,t){e.exports=wp.hooks},78:function(e,t,r){"use strict";r.r(t);var n=r(2),a=r.n(n),i=r(1),o=r(8),s=r(6),c=r(0);function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var l=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.analyzer=new o.Analyzer({i18n:c,analyses:rankMath.assessor.researchesTests}),this.dataCollector=t,this.promises=[],this.hooks(),this.registerRefresh()}var t,r,n;return t=e,(r=[{key:"hooks",value:function(){this.assessAll=this.assessAll.bind(this),this.assessTitle=this.assessTitle.bind(this),this.assessContent=this.assessContent.bind(this),this.assessPermalink=this.assessPermalink.bind(this),this.updateKeywordResult=this.updateKeywordResult.bind(this),this.assessKeyword=this.assessKeyword.bind(this),this.assessThumbnail=this.assessThumbnail.bind(this),Object(s.addAction)("rankMath_analysis_keywordUsage_updated","rank-math",this.updateKeywordResult),Object(s.addAction)("rank_math_init_refresh","rank-math",this.assessAll),Object(s.addAction)("rank_math_title_refresh","rank-math",this.assessTitle),Object(s.addAction)("rank_math_content_refresh","rank-math",this.assessContent,11),Object(s.addAction)("rank_math_permalink_refresh","rank-math",this.assessPermalink,11),Object(s.addAction)("rank_math_featuredImage_refresh","rank-math",this.assessThumbnail,11),Object(s.addAction)("rank_math_keyword_refresh","rank-math",this.assessKeyword,12)}},{key:"getPaper",value:function(e){var t=this.dataCollector.getData(),r=new o.Paper("",{locale:rankMath.localeFull});return r.setTitle(t.title),r.setPermalink(t.slug),r.setDescription(t.description),r.setUrl(t.permalink),r.setText(Object(s.applyFilters)("rank_math_content",t.content)),r.setKeyword(o.Helpers.removeDiacritics(e)),Object(i.isUndefined)(t.featuredImage)||(r.setThumbnail(t.featuredImage.source_url),r.setThumbnailAltText(o.Helpers.removeDiacritics(t.featuredImage.alt_text))),r}},{key:"registerRefresh",value:function(){var e=this;this.refresh=Object(i.debounce)((function(t){e.promises=[],Object(s.doAction)("rank_math_"+t+"_refresh"),Promise.all(e.promises).then((function(){e.refreshResults()}))}),500)}},{key:"assessAll",value:function(){var e=this;rankMathEditor.components.focusKeywords.getFocusKeywords().map((function(t,r){e.run(0===r?rankMath.assessor.researchesTests:e.getSecondaryKeywordTests(),t,0===r)}))}},{key:"run",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t=t||rankMathEditor.getSelectedKeyword();var n=this.getPaper(t);this.promises.push(this.analyzer.analyzeSome(this.filterTests(e),n).then((function(e){rankMathEditor.resultManager.update(n.getKeyword(),e,r)})))}},{key:"updateKeywordResult",value:function(e,t){rankMathEditor.resultManager.update(e,{keywordNotUsed:t}),e===rankMathEditor.getSelectedKeyword().toLowerCase()&&this.refreshResults()}},{key:"assessThumbnail",value:function(){this.run(["keywordInImageAlt","contentHasAssets"])}},{key:"assessKeyword",value:function(){var e=rankMathEditor.getSelectedKeyword()===rankMathEditor.getPrimaryKeyword();this.run(e?rankMath.assessor.researchesTests:this.getSecondaryKeywordTests())}},{key:"getSecondaryKeywordTests",value:function(){return["keywordInContent","lengthContent","keywordInSubheadings","keywordDensity","lengthPermalink","linksHasExternals","linksNotAllExternals","linksHasInternal","titleSentiment","titleHasPowerWords","titleHasNumber","contentHasTOC","contentHasShortParagraphs","contentHasAssets"]}},{key:"assessTitle",value:function(){this.run(["keywordInTitle","titleHasPowerWords","titleHasNumber","titleSentiment","titleStartWithKeyword"])}},{key:"assessContent",value:function(){return this.run(["contentHasShortParagraphs","contentHasTOC","contentHasAssets","keywordDensity","keywordIn10Percent","keywordInContent","keywordInImageAlt","keywordInMetaDescription","keywordInSubheadings","lengthContent","linksHasExternals","linksHasInternal","linksNotAllExternals"])}},{key:"assessPermalink",value:function(){return this.run(["keywordInPermalink","lengthPermalink"])}},{key:"getPrimaryKeyword",value:function(){return rankMathEditor.components.focusKeywords.getPrimaryKeyword()}},{key:"getSelectedKeyword",value:function(){return rankMathEditor.components.focusKeywords.getSelectedKeyword()}},{key:"getResearch",value:function(e){return this.analyzer.researcher.getResearch(e)}},{key:"refreshResults",value:function(){Object(s.doAction)("rank_math_refresh_results")}},{key:"filterTests",value:function(e){return Object(i.intersection)(e,rankMath.assessor.researchesTests)}}])&&u(t.prototype,r),n&&u(t,n),e}(),d=r(31),p=r(26);function h(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var f=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.methods=[],this.init=this.init.bind(this),this.refresh=this.refresh.bind(this),Object(s.addAction)("rank_math_loaded","rank-math",this.init)}var t,r,n;return t=e,(r=[{key:"init",value:function(){this.methods.length&&rankMathEditor.refresh("content")}},{key:"registerPlugin",value:function(){console.warn("RankMathApp.registerPlugin is deprecated.")}},{key:"refresh",value:function(e){console.warn("RankMathApp.refresh is deprecated, use rankMathEditor.refresh()"),this.methods.push(e)}},{key:"reloadPlugin",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"content";console.warn("RankMathApp.reloadPlugin is deprecated, use rankMathEditor.refresh()"),this.refresh(t)}}])&&h(t.prototype,r),n&&h(t,n),e}(),m=r(17),g=r(4),k=r(9);function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function b(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var w=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.initialize=!1,this.oldSlug=!1,this._data={id:!1,slug:!1,permalink:!1,content:!1,title:!1,excerpt:!1,featuredImage:!1},this.refresh=this.refresh.bind(this),Object(s.addAction)("rank_math_loaded","rank-math",this.refresh),this.getPostAttribute=this.getPostAttribute.bind(this),this.subscribeToGutenberg()}var t,r,n;return t=e,(r=[{key:"collectGutenbergData",value:function(){return!1===this.oldSlug&&""!==this.getSlug()&&(this.oldSlug=this.getSlug()),{id:this.getPostID(),slug:this.getSlug(),permalink:this.getPermalink(),content:this.getPostAttribute("content"),title:this.getPostAttribute("title"),excerpt:this.getPostAttribute("excerpt"),featuredImage:this.getFeaturedImage()}}},{key:"getPostID",value:function(){return rankMath.objectID}},{key:"getPermalink",value:function(){if("auto-draft"===this.getPostAttribute("status"))return"";var e=this.getPostAttribute("generated_slug");return"auto-draft"!==e&&"en"===rankMath.locale||(e=""),this._coreEditorSelect.getPermalink()}},{key:"getSlug",value:function(){if("auto-draft"===this.getPostAttribute("status"))return"";var e=this.getPostAttribute("generated_slug");return"auto-draft"!==e&&"en"===rankMath.locale||(e=""),this.getPostAttribute("slug")||e}},{key:"getFeaturedImage",value:function(){var e=this.getPostAttribute("featured_media");if(this.isValidMediaId(e)){var t=Object(g.select)("core").getMedia(e);if(!Object(i.isUndefined)(t))return t}}},{key:"isValidMediaId",value:function(e){return"number"==typeof e&&0<e}},{key:"getPostAttribute",value:function(e){return this._coreEditorSelect||(this._coreEditorSelect=Object(g.select)("core/editor")),this._coreEditorSelect.getEditedPostAttribute(e)}},{key:"subscribeToGutenberg",value:function(){this.subscriber=Object(i.debounce)(this.refresh,500),Object(g.subscribe)(this.subscriber)}},{key:"refresh",value:function(){var e=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?y(Object(r),!0).forEach((function(t){v(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},this._data);this._data=this.collectGutenbergData(),this.handleEditorChange(e)}},{key:"handleEditorChange",value:function(e){var t=this,r={slug:"handleSlugChange",title:"handleTitleChange",excerpt:"handleExcerptChange",content:"handleContentChange",featuredImage:"handleFeaturedImageChange"};if(Object(i.isInteger)(e.id))return this.initialize?void Object(i.forEach)(r,(function(r,n){t._data[n]!==e[n]&&t[r](t._data[n])})):(this.initialize=!0,Object(i.forEach)(r,(function(e,r){t[e](t._data[r])})),void rankMathEditor.refresh("init"))}},{key:"handleSlugChange",value:function(){""!==this.getSlug()&&!1===this.oldSlug&&(this.oldSlug=this.getSlug()),rankMathEditor.refresh("permalink")}},{key:"handleTitleChange",value:function(e){k.a.setVariable("title",e),k.a.setVariable("term",e),k.a.setVariable("author",e),rankMathEditor.refresh("title")}},{key:"handleExcerptChange",value:function(e){k.a.setVariable("excerpt",e),k.a.setVariable("excerpt_only",e),k.a.setVariable("wc_shortdesc",e),k.a.setVariable("seo_description",e),rankMathEditor.refresh("content")}},{key:"handleFeaturedImageChange",value:function(e){this._data.featuredImage=e,rankMathEditor.refresh("featuredImage")}},{key:"handleContentChange",value:function(){rankMathEditor.refresh("content")}},{key:"getData",value:function(){return this._data}},{key:"updateData",value:function(e,t){this._data[e]=t}}])&&b(t.prototype,r),n&&b(t,n),e}();function _(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var O=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._data={id:!1,slug:!1,permalink:!1,content:!1,title:!1,excerpt:!1,featuredImage:!1,description:""},this.refresh=this.refresh.bind(this),Object(s.addAction)("rank_math_loaded","rank-math",this.refresh),this.setup(),this.init()}var t,r,n;return t=e,(r=[{key:"init",value:function(){var e=this;this.elemTitle.on("input",Object(i.debounce)((function(){e.handleTitleChange(e.elemTitle.val())}),500)),this.elemDescription.on("input",Object(i.debounce)((function(){e.handleExcerptChange(e.elemDescription.val())}),500)),this.elemSlug.on("input",Object(i.debounce)((function(){rankMathEditor.updatePermalink(e.elemSlug.val())}),500))}},{key:"collectData",value:function(){this._data={id:this.getPostID(),slug:this.getSlug(),permalink:this.getPermalink(),content:this.getContent(),title:this.getTitle(),excerpt:this.getExcerpt(),featuredImage:this.getFeaturedImage()}}},{key:"getPostID",value:function(){return rankMath.objectID}},{key:"getTitle",value:function(){return this.elemTitle.val()}},{key:"getExcerpt",value:function(){var e=this.elemDescription.val();return k.a.setVariable("excerpt",e),k.a.setVariable("excerpt_only",e),k.a.setVariable("wc_shortdesc",e),k.a.setVariable("seo_description",e),e}},{key:"getPermalink",value:function(){return rankMath.homeUrl+"/"+this.getSlug()}},{key:"getSlug",value:function(){return this.elemSlug.val()}},{key:"getFeaturedImage",value:function(){return this.featuredImage}},{key:"refresh",value:function(){this.collectData(),rankMathEditor.refresh("init")}},{key:"handleSlugChange",value:function(e){var t=rankMathEditor.components.SerpPreview;this.elemSlug.val(e),a()("#editable-post-name").text(e),a()("#editable-post-name-full").text(e),Object(i.isUndefined)(t.serpPermalinkField)||t.serpPermalinkField.val(e),this._data.slug=this.getSlug(),this._data.permalink=this.getPermalink(),rankMathEditor.refresh("permalink")}},{key:"handleTitleChange",value:function(e){k.a.setVariable("title",e),k.a.setVariable("term",e),k.a.setVariable("author",e),rankMathEditor.refresh("title")}},{key:"handleExcerptChange",value:function(){this._data.excerpt=this.getExcerpt(),rankMathEditor.refresh("content")}},{key:"handleFeaturedImageChange",value:function(){this._data.featuredImage=this.getFeaturedImage(),rankMathEditor.refresh("featuredImage")}},{key:"handleContentChange",value:function(){this._data.excerpt=this.getExcerpt(),this._data.content=this.getContent(),rankMathEditor.refresh("content")}},{key:"getData",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e?this._data[e]:this._data}},{key:"updateData",value:function(e,t){this._data[e]=t}},{key:"isTinymce",value:function(){return"undefined"!=typeof tinymce}}])&&_(t.prototype,r),n&&_(t,n),e}();function T(e){return(T="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})(e)}function P(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function j(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function I(e,t){return(I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function S(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=C(e);if(t){var a=C(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return D(this,r)}}function D(e,t){return!t||"object"!==T(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function C(e){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var x=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&I(e,t)}(c,e);var t,r,n,o=S(c);function c(){return P(this,c),o.apply(this,arguments)}return t=c,(r=[{key:"setup",value:function(){this.elemSlug=a()("#post_name"),this.elemTitle=a()("#title"),this.elemDescription=a()("#excerpt"),this.elemContent=a()("#content"),this.editableName=a()("#editable-post-name-full"),this.assessThumbnail=this.assessThumbnail.bind(this),Object(s.addAction)("rank_math_updated_featured_image","rank-math",this.assessThumbnail),this.events()}},{key:"getContent",value:function(){if(null!==this.elemContent&&0!==this.elemContent.length)return this.isTinymce()&&tinymce.activeEditor&&"content"===tinymce.activeEditor.id?tinymce.activeEditor.getContent():this.elemContent.val()}},{key:"getSlug",value:function(){var e=""===this.elemSlug.val()&&this.editableName.length?this.editableName.text():this.elemSlug.val();return Object(i.isUndefined)(e)?"":e}},{key:"events",value:function(){var e=this;this.elemContent.on("input change",Object(i.debounce)((function(){e.handleContentChange()}),500)),a()(window).on("load",(function(){e.isTinymce()&&(tinymce.activeEditor&&!Object(i.isUndefined)(tinymce.editors.content)&&tinymce.editors.content.on("keyup change",Object(i.debounce)((function(){e.handleContentChange()}),500)),tinymce.editors&&!Object(i.isUndefined)(tinymce.editors.excerpt)&&tinymce.editors.excerpt.on("keyup change",Object(i.debounce)((function(){tinymce.editors.excerpt.save(),e.handleExcerptChange()}),500)))})),a()(document).on("ajaxComplete",(function(t,r,n){var i="/admin-ajax.php";if(i===n.url.substr(0-i.length)){var o="";"string"==typeof n.data&&-1!==n.data.indexOf("action=sample-permalink")&&(o=""===r.responseText?e.elemTitle.val():a()("<div>"+r.responseText+"</div>").find("#editable-post-name-full").text(),rankMathEditor.updatePermalink(o))}}))}},{key:"assessThumbnail",value:function(e){this.featuredImage={source_url:e.src,alt_text:e.alt},this.handleFeaturedImageChange(e)}}])&&j(t.prototype,r),n&&j(t,n),c}(O);function M(e){return(M="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})(e)}function E(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function A(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function F(e,t){return(F=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function R(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=K(e);if(t){var a=K(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return U(this,r)}}function U(e,t){return!t||"object"!==M(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function K(e){return(K=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var N=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&F(e,t)}(s,e);var t,r,n,o=R(s);function s(){return E(this,s),o.apply(this,arguments)}return t=s,(r=[{key:"setup",value:function(){this.elemSlug=a()("#slug"),this.elemTitle=a()("#name"),this.elemDescription=a()("#rank_math_description_editor"),this.events()}},{key:"getContent",value:function(){return null===this.elemDescription||0===this.elemDescription.length?"":this.isTinymce()&&tinymce.activeEditor&&"rank_math_description_editor"===tinymce.activeEditor.id?tinymce.activeEditor.getContent():this.elemDescription.val()}},{key:"events",value:function(){var e=this;a()(window).on("load",(function(){e.isTinymce()&&tinymce.activeEditor&&!Object(i.isUndefined)(tinymce.editors.rank_math_description_editor)&&tinymce.editors.rank_math_description_editor.on("keyup change",Object(i.debounce)((function(){e.handleContentChange()}),500))}))}}])&&A(t.prototype,r),n&&A(t,n),s}(O);function H(e){return(H="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})(e)}function W(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function G(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function z(e,t){return(z=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function L(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=B(e);if(t){var a=B(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return V(this,r)}}function V(e,t){return!t||"object"!==H(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function B(e){return(B=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var $=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&z(e,t)}(o,e);var t,r,n,i=L(o);function o(){return W(this,o),i.apply(this,arguments)}return t=o,(r=[{key:"setup",value:function(){this.elemSlug=a()("#rank_math_permalink"),this.elemTitle=a()("#display_name"),this.elemDescription=a()("#description")}},{key:"getContent",value:function(){return this.elemDescription.val()}}])&&G(t.prototype,r),n&&G(t,n),o}(O),J=r(11),Q=r(25),q=r(19),Z=r(10),X=r.n(Z),Y=r(27);function ee(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var te=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,r,n;return t=e,(r=[{key:"check",value:function(e,t){this.elem=e,this.elem.closest(".cmb-td").find(".length-indicator-wrapper").length||this.wrapIndicator(t),this.updateLength(t)}},{key:"wrapIndicator",value:function(e){this.elem.closest(".cmb-td").append('<span class="'+X()("length-indicator-wrapper",{"width-indicator":!1!==Object(i.get)(e,"pixelWidth",!1)})+'"><span class="length-count">0 / '+e.max+'</span><span class="length-indicator"><span></span></span></span>')}},{key:"updateLength",value:function(e){var t=this.elem.closest(".cmb-td").find(".length-indicator"),r=t.find(">span"),n=this.elem.closest(".cmb-td").find(".length-count"),a=Object(Y.a)(e.text,e);t.removeClass("invalid short"),r.css("left",a.left),n.text(a.count),!1!==Object(i.get)(e,"pixelWidth",!1)&&n.text(n.text()+" ("+a.pixelWidth+")"),(a.isInvalid||a.isInvalidWidth)&&t.addClass("invalid")}}])&&ee(t.prototype,r),n&&ee(t,n),e}();function re(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ne(e){return(ne="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})(e)}function ae(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ie(e,t){return(ie=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function oe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=ce(e);if(t){var a=ce(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return se(this,r)}}function se(e,t){return!t||"object"!==ne(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ce(e){return(ce=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ue=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ie(e,t)}(c,e);var t,r,n,o=oe(c);function c(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),e=o.call(this),rankMath.canUser.general?(e.hooks(),e.elemMetabox=rankMathEditor.elemMetabox,e.serpCanonical=e.elemMetabox.find("#rank_math_canonical_url"),e.serpTitleField=e.elemMetabox.find("#rank_math_title"),e.serpPermalinkField=e.elemMetabox.find("#rank_math_permalink"),e.serpDescriptionField=e.elemMetabox.find("#rank_math_description"),e.serpWrapper=e.elemMetabox.find(".serp-preview"),e.serpFieldsWrapper=e.elemMetabox.find(".rank-math-serp-fields-wrapper"),e.serpTitle=e.serpWrapper.find(".serp-title"),e.serpPermalink=e.serpWrapper.find(".serp-url"),e.serpDescription=e.serpWrapper.find(".serp-description"),e.devices=e.elemMetabox.find(".rank-math-select-device"),e.init(),e):se(e)}return t=c,(r=[{key:"init",value:function(){this.previewEvent(),this.updateEvents(),this.serpEvents(),this.robotsEvents()}},{key:"previewEvent",value:function(){this.devices.on("click",(function(e){e.preventDefault();var t=a()(e.currentTarget),r=t.hasClass("active")?"":t.data("device");Object(s.doAction)("rank_math_preview_device",r)}))}},{key:"serpEvents",value:function(){var e=this,t=this.elemMetabox.find(".rank-math-edit-snippet");t.on("click",(function(r){r.preventDefault(),t.toggleClass("hidden active"),e.serpFieldsWrapper.toggleClass("hidden")})),this.elemMetabox.on("click",".serp-preview-body",(function(r){r.preventDefault(),t.toggleClass("hidden active"),e.serpFieldsWrapper.toggleClass("hidden")}))}},{key:"updateEvents",value:function(){var e=this;this.serpTitleField.on("input",Object(i.debounce)((function(){rankMathEditor.refresh("title")}),500)).on("keypress",(function(e){if(13===e.which||13===e.keyCode)return e.preventDefault(),a()(e.target).closest(".cmb-row").prev().trigger("click"),!1})),this.serpPermalinkField.val(rankMathEditor.assessor.dataCollector.getSlug()).on("blur",(function(){rankMathEditor.updatePermalink(e.serpPermalinkField.val())})).on("input",Object(i.debounce)((function(){e.updatePermalinkPreview()}),500)).on("keypress",(function(e){if(13===e.which||13===e.keyCode)return e.preventDefault(),a()(e.target).closest(".cmb-row").prev().trigger("click"),!1})),rankMath.is_front_page&&this.serpPermalinkField.val("/").attr("disabled","disabled"),this.serpDescriptionField.on("input",Object(i.debounce)((function(){rankMathEditor.refresh("content")}),500)).on("keypress",(function(e){if(13===e.which||13===e.keyCode)return e.preventDefault(),a()(e.target).closest(".cmb-row").prev().trigger("click"),!1}))}},{key:"updatePreviewCallbacks",value:function(e,t){e=e||"global",rankMathEditor.assessor.dataCollector.updateData(e,t),this.elemMetabox.trigger("rank-math-updating-preview-"+e),this.elemMetabox.trigger("rank-math-"+e+"-updated",t)}},{key:"robotsEvents",value:function(){var e=this,t=a()("#rank_math_robots1"),r=a()("#rank_math_robots2");t.on("change",(function(){t.is(":checked")?(e.serpWrapper.addClass("noindex-preview"),r.prop("checked",!1).trigger("change")):e.serpWrapper.removeClass("noindex-preview")})),r.on("change",(function(){if(r.is(":checked"))return e.serpWrapper.addClass("noindex-preview"),void t.prop("checked",!1);e.serpWrapper.removeClass("noindex-preview")})).trigger("change")}}])&&ae(t.prototype,r),n&&ae(t,n),c}(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.title="",this.description="",this.lengthIndicator=new te}var t,r,n;return t=e,(r=[{key:"hooks",value:function(){this.previewDevice=this.previewDevice.bind(this),this.updatePreview=this.updatePreview.bind(this),this.updateTitlePreview=this.updateTitlePreview.bind(this),this.updatePermalinkPreview=this.updatePermalinkPreview.bind(this),this.updateDescriptionPreview=this.updateDescriptionPreview.bind(this),Object(s.addAction)("rank_math_preview_device","rank-math",this.previewDevice),Object(s.addAction)("rank_math_init_refresh","rank-math",this.updatePreview,1),Object(s.addAction)("rank_math_title_refresh","rank-math",this.updateTitlePreview,1),Object(s.addAction)("rank_math_permalink_refresh","rank-math",this.updatePermalinkPreview,1),Object(s.addAction)("rank_math_content_refresh","rank-math",this.updateDescriptionPreview,1),Object(s.addAction)("rank_math_keyword_refresh","rank-math",this.updatePreview,11)}},{key:"updatePreview",value:function(){this.updateTitlePreview(),this.updatePermalinkPreview(),this.updateDescriptionPreview()}},{key:"previewDevice",value:function(e){switch(this.devices.removeClass("active"),e){case"desktop":this.serpWrapper.removeClass("mobile-preview"),this.serpWrapper.addClass("desktop-preview expanded-preview"),rankMathEditor.elemMetabox.find(".rank-math-select-device.device-desktop").addClass("active");break;case"mobile":this.serpWrapper.removeClass("desktop-preview"),this.serpWrapper.addClass("mobile-preview expanded-preview"),rankMathEditor.elemMetabox.find(".rank-math-select-device.device-mobile").addClass("active");break;default:this.serpWrapper.removeClass("mobile-preview expanded-preview"),this.serpWrapper.addClass("desktop-preview")}}},{key:"updateTitlePreview",value:function(){this.title=this.serpTitleField.val();var e=""!==this.title;this.serpTitleField.val(e?this.title:this.serpTitle.data("format")),this.title=o.Helpers.sanitizeText(k.a.swap(""!==this.title?this.title:this.serpTitle.data("format"))),this.lengthIndicator.check(this.serpTitleField,{text:this.title,min:15,max:60,pixelWidth:580,widthCheckerClass:"title"}),this.serpTitle.html(Object(q.a)(rankMathEditor.getSelectedKeyword(),o.Helpers.sanitizeText(this.title),60)),this.updatePreviewCallbacks("title",this.title),this.serpTitle.trigger("rank-math-vars-replaced")}},{key:"updatePermalinkPreview",value:function(){var e=this.serpPermalink.data("format")||"",t=this.serpPermalinkField.val(),r=rankMathEditor.assessor.getResearch("slugify")(rankMathEditor.getSelectedKeyword());this.permalink=""!==t?e.replace(/%(postname|pagename)%/,t).trimRight("/")+"/":"",this.serpCanonical.attr("placeholder",this.permalink),this.lengthIndicator.check(this.serpPermalinkField,{text:this.permalink,min:5,max:75}),this.serpPermalink.html(Object(q.a)(r,o.Helpers.sanitizeText(Object(J.safeDecodeURIComponent)(this.permalink)),75)),this.updatePreviewCallbacks("permalink",this.permalink),this.serpPermalink.trigger("rank-math-vars-replaced")}},{key:"updateDescriptionPreview",value:function(){this.description=o.Helpers.sanitizeText(k.a.swap(Object(Q.a)(this.serpDescriptionField.val()))),this.lengthIndicator.check(this.serpDescriptionField,{text:this.description,min:80,max:160,pixelWidth:920,widthCheckerClass:"description"}),this.serpDescription.html(Object(q.a)(rankMathEditor.getSelectedKeyword(),o.Helpers.sanitizeText(this.description),160)),this.serpDescriptionField.attr("placeholder",""!==this.description?this.description:this.serpDescription.data("format")),this.updatePreviewCallbacks("description",this.description),this.serpDescription.trigger("rank-math-vars-replaced")}}])&&re(t.prototype,r),n&&re(t,n),e}()),le=r(14);function de(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var pe=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.elemMetabox=rankMathEditor.elemMetabox,this.currentNetwork="facebook",this.useFacebook=!0,this.shouldUpdatePreview=!1,this.facebookTitleField=this.elemMetabox.find("#rank_math_facebook_title"),this.facebookDescriptionField=this.elemMetabox.find("#rank_math_facebook_description"),this.twitterTitleField=this.elemMetabox.find("#rank_math_twitter_title"),this.twitterDescriptionField=this.elemMetabox.find("#rank_math_twitter_description"),this.facebookImageField=this.elemMetabox.find("#rank_math_facebook_image"),this.twitterImageField=this.elemMetabox.find("#rank_math_twitter_image"),this.facebookImageStatus=this.elemMetabox.find("#rank_math_facebook_image-status"),this.twitterImageStatus=this.elemMetabox.find("#rank_math_twitter_image-status"),this.socialWrapper=this.elemMetabox.find(".rank-math-social-preview"),this.socialPreview=this.socialWrapper.find(".rank-math-social-preview-item"),this.socialTitle=this.socialWrapper.find(".rank-math-social-preview-title"),this.socialDescription=this.socialWrapper.find(".rank-math-social-preview-description"),this.events(),this.removeImageEvent(),this.shouldUpdatePreview=!0,this.updateTitlePreview=this.updateTitlePreview.bind(this),this.updateDescriptionPreview=this.updateDescriptionPreview.bind(this),this.updateThumbnailPreview=this.updateThumbnailPreview.bind(this),this.updatePreview=this.updatePreview.bind(this),Object(s.addAction)("rank_math_init_refresh","rank-math",this.updatePreview),Object(s.addAction)("rank_math_title_refresh","rank-math",this.updateTitlePreview,2),Object(s.addAction)("rank_math_content_refresh","rank-math",this.updateDescriptionPreview,2),Object(s.addAction)("rank_math_featuredImage_refresh","rank-math",this.updateThumbnailPreview),this.updatePreview()}var t,r,n;return t=e,(r=[{key:"events",value:function(){var e=this;this.facebookTitleField.on("input",(function(){e.updateTitlePreview()})),this.facebookDescriptionField.on("input",(function(){e.updateDescriptionPreview()})),this.facebookImageField.on("input",(function(){e.updateThumbnailPreview()})),this.twitterTitleField.on("input",(function(){e.updateTitlePreview()})),this.twitterDescriptionField.on("input",(function(){e.updateDescriptionPreview()})),this.twitterImageField.on("input",(function(){e.updateThumbnailPreview()}));var t=a()(".rank-math-social-preview-button"),r=t.find(">span");t.on("click",(function(t){t.preventDefault(),r.toggleClass("dashicons-arrow-down dashicons-arrow-up"),e.updatePreview(),e.socialWrapper.toggleClass("open"),e.socialPreview.slideToggle()}));var n=a()("#rank_math_twitter_card_type");a()(".preview-network").on("click",(function(r){a()(r.target).hasClass("tab-facebook")?t.show():n.trigger("change"),e.updatePreview()})),n.on("change",(function(){var r=n.val();"player"===r&&a()(".cmb2-id-rank-math-twitter-image, .cmb2-id-rank-math-twitter-title, .cmb2-id-rank-math-twitter-description").show();var i="player"===r||"app"===r;t.toggle(!i),a()(".cmb2-id-rank-math-twitter-use-facebook").toggle(!i),i||e.updatePreview()})).trigger("change");var i=a()("#rank_math_twitter_use_facebook");i.on("input change",(function(){e.useFacebook=i.is(":checked"),e.updatePreview()})).trigger("change"),a()(".cmb2-id-rank-math-facebook-enable-image-overlay, .cmb2-id-rank-math-facebook-image-overlay, .cmb2-id-rank-math-twitter-enable-image-overlay, .cmb2-id-rank-math-twitter-image-overlay").on("change","input",(function(){e.updateThumbnailOverlay()})),a()(document).on("cmb_media_modal_select",(function(t,r,n){"rank_math_facebook_image"!==n.field&&"rank_math_twitter_image"!==n.field||(e.updateThumbnailPreview(),e.removeImageEvent())}))}},{key:"removeImageEvent",value:function(){var e=this;a()(".cmb2-remove-file-button").on("click",Object(i.debounce)((function(t){"rank_math_facebook_image"!==t.currentTarget.rel&&"rank_math_twitter_image"!==t.currentTarget.rel||e.updateThumbnailPreview()}),300))}},{key:"updatePreview",value:function(){!1!==this.shouldUpdatePreview&&a()(".preview-network.tab-active").length&&(this.currentNetwork=a()(".preview-network.tab-active").attr("href").replace("#setting-panel-social-",""),this.socialWrapper.removeClass(),this.socialWrapper.addClass("rank-math-social-preview rank-math-social-preview-"+this.currentNetwork),"twitter"===this.currentNetwork&&this.socialWrapper.addClass(a()("#rank_math_twitter_card_type").val()),this.updateTitlePreview(),this.updateDescriptionPreview(),this.updateThumbnailPreview())}},{key:"updateTitlePreview",value:function(){var e="twitter"===this.currentNetwork&&this.useFacebook?this.facebookTitleField.val():this[this.currentNetwork+"TitleField"].val();""!==e?e=this.truncate(k.a.swap(e),90):(e=Object(le.a)(rankMathEditor.assessor.dataCollector.getData("title")),this.facebookTitleField.attr("placeholder",e),this.twitterTitleField.attr("placeholder",e)),this.socialTitle.text(e),"facebook"===this.currentNetwork&&this.hideDescription()}},{key:"updateDescriptionPreview",value:function(){var e="twitter"===this.currentNetwork&&this.useFacebook?this.facebookDescriptionField.val():this[this.currentNetwork+"DescriptionField"].val();""!==e?e=this.truncate(k.a.swap(e),240):(e=rankMathEditor.assessor.dataCollector.getData("description"),this.facebookDescriptionField.attr("placeholder",e),this.twitterDescriptionField.attr("placeholder",e)),this.socialDescription.text(Object(i.isUndefined)(e)?"":e)}},{key:"updateThumbnailPreview",value:function(){var e=a()("#rank_math_post_thumbnail").attr("src"),t="<div>"+rankMathEditor.assessor.dataCollector.getData("content")+"</div>",r=!!/<img(?:[^>]+)?>/.test(t)&&a()(t).find("img:first").attr("src"),n=this.facebookImageField.val()||e||r||rankMath.defautOgImage,i=this.twitterImageField.val()||e||r||rankMath.defautOgImage;if("twitter"===this.currentNetwork&&this.useFacebook)i=n;else if(this.twitterImageStatus.find("img.cmb-file-field-image").length){var o=this.twitterImageStatus.siblings(".notice"),s=this.twitterImageStatus.find("img.cmb-file-field-image")[0];o.addClass("hidden"),a()(s).on("load",(function(){(200>s.naturalWidth||200>s.naturalHeight)&&o.removeClass("hidden")}))}var c=this.facebookImageStatus.siblings(".notice"),u=this.facebookImageStatus.find("img.cmb-file-field-image");c.addClass("hidden"),"facebook"===this.currentNetwork&&this.facebookImageField.val()&&u.length&&a()(u[0]).on("load",(function(){(200>u[0].naturalWidth||200>u[0].naturalHeight)&&c.removeClass("hidden")}));var l=a()(".rank-math-social-preview-image");a()(".facebook-thumbnail",l).attr("src",n),a()(".twitter-thumbnail",l).attr("src",i),l.toggleClass("no-facebook-image",!n),l.toggleClass("no-twitter-image",!i),l.parents(".rank-math-social-preview-facebook").find(".error-msg").toggleClass("show",!n),l.parents(".rank-math-social-preview-twitter").find(".error-msg").toggleClass("show",!i),this.updateThumbnailOverlay()}},{key:"updateThumbnailOverlay",value:function(){var e=a()(".rank-math-social-preview-image-overlay"),t=a()('[name="rank_math_'+this.currentNetwork+'_enable_image_overlay"]:checked').val(),r=!a()(".rank-math-social-preview-image").hasClass("no-"+this.currentNetwork+"-image"),n=a()('[name="rank_math_'+this.currentNetwork+'_image_overlay"]:checked').val();"twitter"===this.currentNetwork&&this.useFacebook&&(n=a()('[name="rank_math_facebook_image_overlay"]:checked').val(),r=!1);var i=a()(".cmb2-id-rank-math-"+this.currentNetwork+"-enable-image-overlay"),o="on"===i.find("input:checked").val();i.toggle(r),i.find(".notice-warning").toggle(o),"on"===t?(e.attr("src",rankMath.overlayImages[n].url).attr("class",(function(){return a()(this).attr("class").replace(/(^| )overlay-position-[a-zA-Z0-9_-]+/,"")+" overlay-position-"+rankMath.overlayImages[n].position})).show(),a()(".cmb2-id-rank-math-"+this.currentNetwork+"-image-overlay").toggle(r)):e.hide()}},{key:"hideDescription",value:function(){this.socialDescription.removeClass("hidden"),this.socialTitle.height()>22&&this.socialDescription.addClass("hidden")}},{key:"truncate",value:function(e,t){return e.length>t?e.substring(0,t):e}}])&&de(t.prototype,r),n&&de(t,n),e}();var he=function e(){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),"post"===rankMath.objectType){var t=a()('.rank-math-tabs-navigation a[href="#setting-panel-schema"] .dashicons'),r=a()("#_bsf_post_type");if(a()('#rank_math_rich_snippet, input[type="radio"][name="rank_math_rich_snippet"]').on("change",(function(){var e,n="rank_math_rich_snippet"===a()(this).attr("id")?a()(this).val():a()('input[type="radio"][name="rank_math_rich_snippet"]:checked').val();t.removeClass().addClass((e=n,Object(i.get)({off:"rm-icon rm-icon-schema",Article:"rm-icon rm-icon-post",Book:"rm-icon rm-icon-book",Course:"rm-icon rm-icon-course",Event:"rm-icon rm-icon-calendar",JobPosting:"rm-icon rm-icon-job",Local:"rm-icon rm-icon-local-seo",Music:"rm-icon rm-icon-music",Product:"rm-icon rm-icon-cart",WooCommerceProduct:"rm-icon rm-icon-cart",Recipe:"rm-icon rm-icon-recipe",Restaurant:"rm-icon rm-icon-restaurant",Video:"rm-icon rm-icon-video",Person:"rm-icon rm-icon-users",Review:"rm-icon rm-icon-star",Service:"rm-icon rm-icon-service",Software:"rm-icon rm-icon-software"},e,"rm-icon rm-icon-schema"))),r.length&&"off"!==n&&r.val("0").trigger("change")})).trigger("change"),r.length){var n=a()("#rank_math_rich_snippet"),o=a()('input[name="rank_math_rich_snippet"][value="off"]');r.on("change",(function(){"0"!==r.val()&&(n.val("off").trigger("change"),o.prop("checked",!0).trigger("change"))})).trigger("change")}}};function fe(e){return(fe="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})(e)}var me=function e(){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),"post"===rankMath.objectType&&rankMath.postSettings.linkSuggestions){a.a.fn.extend({insertLink:function(e,t){var r=this[0],n="";if(r.selectionStart||"0"===r.selectionStart){var a=r.selectionStart,i=r.selectionEnd,o=r.scrollTop;n='<a href="'+e+'">'+r.value.substring(a,i)+"</a>",a===i&&(n='<a href="'+e+'">'+t+"</a>"),r.value=r.value.substring(0,a)+n+r.value.substring(i,r.value.length),r.focus(),r.selectionStart=a+n.length,r.selectionEnd=a+n.length,r.scrollTop=o}else n='<a href="'+e+'">'+t+"</a>",r.value+=n,r.focus()}});if("function"==typeof ClipboardJS)new ClipboardJS(".suggestion-copy").on("success",(function(e){var t=a()(e.trigger).parent().next(".suggestion-title"),r=t.html();t.text("Link Copied"),setTimeout((function(){t.html(r)}),1500)}));if("object"!==("undefined"==typeof tinymce?"undefined":fe(tinymce)))return!0;var t=null,r=null;a()(".suggestion-insert").on("click",(function(e){e.preventDefault();var n,i,o,s,c=a()(this);if(c.hasClass("clicked"))return!0;if(null!==tinymce.activeEditor&&!0!==tinymce.activeEditor.isHidden()){t=tinymce.activeEditor,r=a()(t.getBody());var u=t.selection.getContent()||"";if(r.find("a[data-mce-selected]").length){var l=(n="",i="",o=t.selection.getStart(),(s=t.dom.getParent(o,"a[href]"))||(i=t.selection.getContent({format:"raw"}))&&-1!==i.indexOf("</a>")&&((n=i.match(/href="([^">]+)"/))&&n[1]&&(s=t.$('a[href="'+n[1]+'"]',o)[0]),s&&t.selection.select(s)),s);t.dom.setAttribs(l,{href:c.data("url")}),a()(l).text()!==u&&t.insertContent(u)}else u.length?t.insertContent('<a href="'+c.data("url")+'">'+u+"</a>"):t.insertContent('<a href="'+c.data("url")+'">'+c.data("text")+"</a>")}else{var d=a()("textarea.wp-editor-area:visible");d.length&&d.first().insertLink(c.data("url"),c.data("text"))}var p=c.closest(".suggestion-item").find(".suggestion-title"),h=p.html();p.text("Link Inserted"),c.addClass("clicked"),setTimeout((function(){var e,t,r,n;p.html(h),c.removeClass("clicked"),!0===rankMath.postSettings.useFocusKeyword&&(t=c,r=(e=p).data("fkcount")||0,n=e.data("fk"),(r+=1)===n.length&&(r=0),e.find(">a").text(n[r]),e.data("fkcount",r),t.data("text",n[r]))}),1500)})),a()("#rank_math_metabox_link_suggestions").find("h2").append(a()("#rank-math-link-suggestions-tooltip").html())}};var ge=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),"post"===rankMath.objectType&&!1!==rankMath.assessor.primaryTaxonomy&&a()("[data-primary-term]").each((function(){var e=a()(this),t=e.val(),r=e.data("primary-term"),n=a()("#"+r+"div"),i=a()("#"+r+"checklist"),o=i.find("li"),s=i.find('input[type="checkbox"]:checked');o.addClass("rank-math-primary-term-li"),o.find("input").each((function(){var e=a()(this);e.parent().append('<span class="rank-math-tooltip"><input class="rank-math-make-primary" value="'+e.val()+'" type="radio" name="rank_math_primary_'+r+'"><span>Make Term Primary</span></span>')})),s.each((function(){var e=a()(this).closest("li");e.addClass("term-checked"),r+"-"+t===e.attr("id")&&(e.addClass("term-marked-primary"),e.find(">label .rank-math-make-primary").prop("checked",!0))})),n.on("click",'input[type="checkbox"]',(function(){var t=a()(this).closest("li");if(t.toggleClass("term-checked"),1===i.find("li.term-checked").length||t.hasClass("term-marked-primary")&&!t.hasClass("term-checked")){var r=i.find("li.term-checked:first > label .rank-math-make-primary");0<r.length?r.trigger("click"):(o.removeClass("term-marked-primary"),o.find('input[type="radio"]').prop("checked",!1),e.val(""))}})),n.on("click",".rank-math-make-primary",(function(){var t=a()(this),r=t.closest("li");o.removeClass("term-marked-primary"),r.addClass("term-marked-primary"),e.val(t.val())})),i.on("wpListAddEnd",(function(){i.find("li:not(.rank-math-primary-term-li)").addClass("rank-math-primary-term-li term-checked").find("input").each((function(){var e=a()(this);e.parent().append('<span class="rank-math-tooltip"><input class="rank-math-make-primary" value="'+e.val()+'" type="radio" name="rank_math_primary_'+r+'"><span>Make Term Primary</span></span>')}))}))}))},ke=r(28),ye=r.n(ke),ve=r(20);function be(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var we=function(){function e(){var t=this;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),rankMath.canUser.general){this.elem=a()("#rank_math_focus_keyword"),this.elemWrapper=this.elem.parent(),this.clickCount=0,this.selectedKeyword={};var r={add:this.onAdd.bind(this),remove:this.onRemove.bind(this),edit:this.onEdit.bind(this),click:this.onClick.bind(this),setup:this.onSetup.bind(this)};rankMath.isUserRegistered&&(r.input=Object(i.debounce)(this.onInput.bind(this),300)),this.tagify=new ye.a(this.elem[0],{addTagOnBlur:!0,maxTags:"post"===rankMath.objectType?rankMath.maxTags:1,whitelist:this.whitelist||[],transformTag:function(e){e.value=t.stripTags(e.value)},templates:{tag:function(e,r){return"<tag title='".concat(t.stripTags(e),"'\n contenteditable='false'\n spellcheck='false'\n class='tagify__tag ").concat(r.class?r.class:"","'\n ").concat(t.getAttributes_esc(r),">\n <x title='' class='tagify__tag__removeBtn' role='button' aria-label='remove tag'></x>\n <div>\n <span class='tagify__tag-text'>").concat(t.stripTags(e),"</span>\n </div>\n </tag>")}},callbacks:r}),this.selectFirstKeyword(),this.setKeywordsClasses=this.setKeywordsClasses.bind(this),Object(s.addAction)("rank_math_refresh_results","rank-math",this.setKeywordsClasses,11)}}var t,r,n;return t=e,(r=[{key:"onInput",value:function(e){var t=this;(e=Object(i.has)(e.detail,"value")?e.detail.value:e.detail.data.value).length<2||(this.hasAdded?this.hasAdded=!1:this.request=a.a.ajax({url:rankMath.keywordsApi.url,data:{keyword:e,locale:rankMath.locale},success:function(r){if(t.hasAdded)t.hasAdded=!1;else{var n=a.a.map(r,(function(e){return e}));t.tagify.settings.whitelist=n,t.tagify.dropdown.show.call(t.tagify,e)}}}))}},{key:"onAdd",value:function(e){this.hasAdded=!0,e.detail.tag.classList.add("bad-fk"),this.updateSelectedKeyword(e.detail),this.updateKeywords()}},{key:"onRemove",value:function(e){0===e.detail.index&&this.onSetup(),rankMathEditor.resultManager.deleteResult(e.detail.data.value),this.selectFirstKeyword(),this.updateKeywords()}},{key:"onClick",value:function(e){this.updateSelectedKeyword(e.detail),setTimeout((function(){Object(s.doAction)("rank_math_refresh_results")}),500)}},{key:"onEdit",value:function(e){e.detail.tag.setAttribute("value",e.detail.data.value),this.hasAdded=!0,this.updateKeywords()}},{key:"onSetup",value:function(){this.selectFirstKeyword(),this.setKeywordsClasses()}},{key:"updateSelectedKeyword",value:function(e){this.elemWrapper.find("tag.selected").removeClass("selected"),""!==e.tag?(this.selectedKeyword=e,e.tag.classList.add("selected")):this.selectedKeyword={}}},{key:"setKeywordsClasses",value:function(){if(void 0!==this.tagify.value){var e=this.tagify.value;if(e.length>0){var t=this.elemWrapper.find("tag");e.map((function(e,r){var n=rankMathEditor.resultManager.getScore(o.Helpers.removeDiacritics(e.value));t[r].classList.remove("ok-fk","good-fk","bad-fk"),t[r].classList.add(Object(ve.a)(n))}))}}}},{key:"selectFirstKeyword",value:function(){var e=this.elemWrapper.find("tag"),t={tag:"",index:0,data:{value:""}};e.length>0&&(t={tag:e[0],index:0,data:{value:e[0].getAttribute("value")}}),this.updateSelectedKeyword(t)}},{key:"updateKeywords",value:function(){rankMathEditor.refresh("keyword")}},{key:"getFocusKeywords",value:function(){if(void 0===this.tagify||void 0===this.tagify.value)return[""];var e=this.tagify.value.map((function(e){return e.value}));return e.length?e:[""]}},{key:"getSelectedKeyword",value:function(){return Object(i.get)(this.selectedKeyword,["data","value"],"")}},{key:"getAttributes_esc",value:function(e){if("[object Object]"!=Object.prototype.toString.call(e))return"";var t,r,n=Object.keys(e),a="";for(r=n.length;r--;)"class"!=(t=n[r])&&e.hasOwnProperty(t)&&e[t]&&(a+=" "+t+(e[t]?'="'.concat(this.stripTags(e[t]),'"'):""));return a}},{key:"stripTags",value:function(e){return e=jQuery("<textarea />").html(e).text(),((new DOMParser).parseFromString(e,"text/html").body.textContent||"").replace(/["<>]/g,"")||"(invalid)"}}])&&be(t.prototype,r),n&&be(t,n),e}();function _e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var Oe=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.image_src="",this.image_alt="",this.getFeaturedImage(),this.setImage(),this.removeImage(),Object(d.a)()&&this.gutenbergImage()}var t,r,n;return t=e,(r=[{key:"setImage",value:function(){var e=this;if(!Object(i.isUndefined)(wp.media)){var t=wp.media.featuredImage.frame();t.on("select",(function(){var r=a()("#rank_math_post_thumbnail"),n=t.state().get("selection").first().toJSON();e.sizeWarning(n),1>r.length&&(r=a()('<img id="rank_math_post_thumbnail" />'),a()(".facebook-thumbnail",".rank-math-social-preview-image").before(r)),"large"in n.sizes?r.attr("src",n.sizes.large.url):r.attr("src",n.sizes.full.url),e.setFeaturedImage(n)}))}}},{key:"removeImage",value:function(){var e=this;a()("#postimagediv").on("click","#remove-post-thumbnail",(function(){a()("#rank_math_image_warning").remove(),a()("#rank_math_post_thumbnail").remove(),e.setFeaturedImage("")}))}},{key:"gutenbergImage",value:function(){var e,t,r=this;wp.data.subscribe((function(){var n=wp.data.select("core/editor").getEditedPostAttribute("featured_media");r.isValidMediaId(n)&&(e=wp.data.select("core").getMedia(n),Object(i.isUndefined)(e)||e!==t&&(t=e,r.setFeaturedImage({url:e.guid.rendered,alt:e.alt_text})))}))}},{key:"setFeaturedImage",value:function(e){var t={src:Object(i.get)(e,"url",""),alt:Object(i.get)(e,"alt","")};Object(s.doAction)("rank_math_updated_featured_image",t)}},{key:"sizeWarning",value:function(e){if(a()("#rank_math_image_warning").remove(),!(200<e.width&&200<e.height)){var t=a()("#postimagediv").find(".hndle");a()('<div id="rank_math_image_warning" class="notice notice-error notice-alt"><p>'+rankMath.featuredImageNotice+"</p></div>").insertAfter(t)}}},{key:"getFeaturedImage",value:function(){var e=a()("#postimagediv img");if(!e||e.length){var t={url:e[0].src,alt:e[0].alt};this.setFeaturedImage(t)}}},{key:"isValidMediaId",value:function(e){return"number"==typeof e&&0<e}}])&&_e(t.prototype,r),n&&_e(t,n),e}(),Te=r(29);function Pe(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var je=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),rankMath.canUser.analysis&&(a()("#setting-panel-general").append('<div id="rank-math-serp-checklist" class="rank-math-serp-checklist"></div>'),this.elem=a()("#rank-math-serp-checklist"),this.scoreText=rankMath.showScore?'<span class="score-text"><span class="score-icon"><svg viewBox="0 0 460 460" xmlns="http://www.w3.org/2000/svg" width="20"><g><path d="m462 234.84-76.17 3.43 13.43 21-127 81.18-126-52.93-146.26 60.97 10.14 24.34 136.1-56.71 128.57 54 138.69-88.61 13.43 21z"/><path d="m54.1 312.78 92.18-38.41 4.49 1.89v-54.58h-96.67zm210.9-223.57v235.05l7.26 3 89.43-57.05v-181zm-105.44 190.79 96.67 40.62v-165.19h-96.67z"/></g></svg></span> SEO: <strong>Not available</strong></span>':"",this.fkScoreText=rankMath.showScore?'<span class="score-text">Not available</span>':"",this.scoreElem=a()('<div class="misc-pub-section rank-math-seo-score loading">'+this.scoreText+"</div>"),this.scoreText=this.scoreElem.find("strong"),this.scoreField=a()("#rank_math_seo_score"),this.fkScoreElem=a()('<div class="rank-math-seo-score loading below-focus-keyword">'+this.fkScoreText+"</div>"),this.fkScoreText=this.fkScoreElem.find("span"),a()("#misc-publishing-actions").append(this.scoreElem),a()(".cmb-td",".cmb2-id-rank-math-focus-keyword").append(this.fkScoreElem),this.events(),this.refreshResults=this.refreshResults.bind(this),Object(s.addAction)("rank_math_refresh_results","rank-math",this.refreshResults))}var t,r,n;return t=e,(r=[{key:"events",value:function(){var e=this;this.elem.on("click",".group-handle",(function(t){t.preventDefault();var r=a()(t.target),n={},i=r.closest(".rank-math-serp-group");i.toggleClass("state-open state-closed"),e.elem.find(">.rank-math-serp-group").each((function(){i=a()(this),n[i.data("id")]=i.hasClass("state-closed")?"closed":"open"})),a.a.ajax({url:rankMath.ajaxurl,type:"POST",data:{action:"rank_math_save_checklist_layout",security:rankMath.security,layout:n}})}))}},{key:"refreshResults",value:function(){var e=this,t=rankMathEditor.getSelectedKeyword();if(this.isPrimary=t===rankMathEditor.getPrimaryKeyword(),this.results=rankMathEditor.resultManager.getResult(t),Object(i.isUndefined)(this.results))return null;var r=Object.keys(this.getGroups()).map((function(t){return e.renderGroup(t)}));this.elem.html(r),this.updateScore()}},{key:"renderGroup",value:function(e){this.errors=0;var t=this.renderGroupItems(e),r="basic"===e||a()("#rank-math-serp-group-"+e).hasClass("state-open")?"state-open":"state-closed",n=0===this.errors?"test-ok":"test-fail",i=Object(c.__)("All Good","rank-math");return 0<this.errors&&(i=1===this.errors?this.errors+" "+Object(c.__)("Error","rank-math"):this.errors+" "+Object(c.__)("Errors","rank-math")),'\n\t\t<div id="rank-math-serp-group-'.concat(e,'" class="rank-math-serp-group ').concat(r,'" data-id="').concat(e,'">\n\t\t\t<div class="group-handle">\n\t\t\t\t<h4>').concat(this.getGroupTitle(e),'</h4>\n\t\t\t\t<span class="rank-math-group-score ').concat(n,'">').concat(i,'</span>\n\t\t\t\t<button type="button" class="group-handlediv" aria-expanded="true"><span class="screen-reader-text"></span><span class="toggle-indicator"></span></button>\n\t\t\t</div>\n\t\t\t<ul>').concat(t,"</ul>\n\t\t</div>")}},{key:"renderGroupItems",value:function(e){var t=this,r=this.results.results,n=this.getGroupItems(e),a="";return Object.keys(n).map((function(e){if(Object(i.isUndefined)(r[e])||!t.isPrimary&&n[e])return!1;var o=r[e],s="seo-check-"+e;s+=o.hasScore()?" test-ok":" test-fail",o.hasScore()&&["contentHasAssets","lengthContent","keywordDensity"].includes(e)&&(s+=" "+Object(Te.a)(o.getScore(),o.getMaxScore())),"fleschReading"===e&&o.hasScore()&&(s+=" "+o.note.replace(/ /g,"-")),!1===o.hasScore()&&(t.errors+=1);var c=o.hasTooltip()?'<span class="rank-math-tooltip"><em class="dashicons-before dashicons-editor-help" ></em><span>'+o.getTooltip()+"</span></span>":"";a+='<li key="'.concat(e,'" class="').concat(s,'">\n\t\t\t\t\t<span>').concat(o.getText(),"</span>\n\t\t\t\t\t").concat(c,"\n\t\t\t\t</li>")})),a}},{key:"updateScore",value:function(){var e=rankMathEditor.resultManager.getScore(rankMathEditor.getPrimaryKeyword()),t=Object(ve.a)(e);this.scoreElem.removeClass("loading bad-fk ok-fk good-fk"),this.fkScoreElem.removeClass("loading bad-fk ok-fk good-fk"),this.scoreElem.addClass(t),this.fkScoreElem.addClass(t),this.scoreText.html(e+" / 100"),this.fkScoreText.html(e+" / 100"),this.scoreField.val(parseInt(e))}},{key:"getGroupItems",value:function(e){return("post"===rankMath.objectType?{basic:{keywordInTitle:!0,keywordInMetaDescription:!0,keywordInPermalink:!0,keywordIn10Percent:!0,keywordInContent:!1,lengthContent:!1},advanced:{keywordInSubheadings:!1,keywordInImageAlt:!0,keywordDensity:!1,lengthPermalink:!1,linksHasExternals:!1,linksNotAllExternals:!1,linksHasInternal:!1,keywordNotUsed:!0},"title-readability":{titleStartWithKeyword:!0,titleSentiment:!1,titleHasPowerWords:!1,titleHasNumber:!1},"content-readability":{contentHasTOC:!1,contentHasShortParagraphs:!1,contentHasAssets:!1}}:{basic:{keywordInTitle:!0,keywordInMetaDescription:!0,keywordInPermalink:!0},advanced:{titleStartWithKeyword:!0,keywordNotUsed:!0}})[e]}},{key:"getGroupTitle",value:function(e){return this.getGroups()[e]}},{key:"getGroups",value:function(){return"post"===rankMath.objectType?{basic:Object(c.__)("Basic SEO","rank-math"),advanced:Object(c.__)("Additional","rank-math"),"title-readability":Object(c.__)("Title Readability","rank-math"),"content-readability":Object(c.__)("Content Readability","rank-math")}:{basic:Object(c.__)("Basic SEO","rank-math"),advanced:Object(c.__)("Additional","rank-math")}}}])&&Pe(t.prototype,r),n&&Pe(t,n),e}();function Ie(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var Se=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,r,n;return t=e,(r=[{key:"setup",value:function(){this.elemMetabox=a()("#cmb2-metabox-rank_math_metabox"),this.resultManager=new o.ResultManager,this.assessor=new l(this.getCollector()),new p.a,this.registerComponents=this.registerComponents.bind(this),Object(s.addAction)("rank_math_loaded","rank-math",this.registerComponents,1)}},{key:"registerComponents",value:function(){this.components={},this.components.SerpPreview=new ue,this.components.socialFields=new pe,this.components.richSnippet=new he,this.components.linkSuggestions=new me,this.components.primaryTerm=new ge,this.components.focusKeywords=new we,this.components.featuredImage=new Oe,this.components.checkLists=new je,rankMathAdmin.variableInserter(!1)}},{key:"refresh",value:function(e){this.assessor.refresh(e)}},{key:"updatePermalink",value:function(e){e=this.assessor.getResearch("slugify")(e),this.assessor.dataCollector.handleSlugChange(e)}},{key:"getPrimaryKeyword",value:function(){return o.Helpers.removeDiacritics(this.components.focusKeywords.getFocusKeywords()[0])}},{key:"getSelectedKeyword",value:function(){var e=this.components.focusKeywords.getSelectedKeyword();return Object(i.isUndefined)(e)?"":o.Helpers.removeDiacritics(this.components.focusKeywords.getSelectedKeyword())}},{key:"getCollector",value:function(){return"post"===rankMath.objectType?Object(d.a)()?new w:new x(this):"term"===rankMath.objectType?new N:"user"===rankMath.objectType?new $:void 0}}])&&Ie(t.prototype,r),n&&Ie(t,n),e}();a()((function(){Object(m.a)(),window.rankMathEditor=new Se,window.rankMathEditor.setup(),window.RankMathApp=new f})),a()(window).on("load",(function(){a.a.when(a.a.ready).then((function(){Object(s.doAction)("rank_math_loaded")}))}))},8:function(e,t){e.exports=rankMathAnalyzer},9:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(2),a=r.n(n);function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var o=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.map=null}var t,r,n;return t=e,(r=[{key:"swap",value:function(e,t){var r=this;if(!(e=e||""))return"";var n=new RegExp(/%(([a-z0-9_-]+)\(([^)]*)\)|[^\s]+)%/,"giu");return e.replace(" %page%","").replace("%sep% %sep%","%sep%").replace(n,(function(e){return r.replace(t,e)})).trim()}},{key:"replace",value:function(e,t){var r=t.toLowerCase().slice(1,-1);return["term_description","user_description"].includes(r)?"undefined"!=typeof tinymce&&tinymce.activeEditor&&"rank_math_description_editor"===tinymce.activeEditor.id?tinymce.activeEditor.getContent():a()("#description").val():r.includes("customfield(")?(r=r.replace("customfield(","").replace(")",""))in rankMath.customFields?rankMath.customFields[r]:"":(e=e||this.getMap(),(r="seo_description"===(r="seo_title"===(r=r.includes("(")?r.split("(")[0]:r)?"title":r)?"excerpt":r)in e?e[r]:"")}},{key:"getMap",value:function(){var e=this;return null!==this.map||(this.map={},a.a.each(rankMath.variables,(function(t,r){t=t.toLowerCase().replace(/%+/g,"").split("(")[0],e.map[t]=r.example}))),this.map}},{key:"setVariable",value:function(e,t){null!==this.map?this.map[e]=t:void 0!==rankMath.variables[e]&&(rankMath.variables[e].example=t)}}])&&i(t.prototype,r),n&&i(t,n),e}())}});
1
+ !function(e){var t={};function r(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)r.d(n,a,function(t){return e[t]}.bind(null,a));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=78)}({0:function(e,t){e.exports=wp.i18n},1:function(e,t){e.exports=lodash},10:function(e,t,r){var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)&&n.length){var o=a.apply(null,n);o&&e.push(o)}else if("object"===i)for(var s in n)r.call(n,s)&&n[s]&&e.push(s)}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(n=function(){return a}.apply(t,[]))||(e.exports=n)}()},11:function(e,t){e.exports=wp.url},14:function(e,t,r){"use strict";var n=document.createElement("div");t.a=function(e){return e&&"string"==typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,"").replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,""),n.innerHTML=e,e=n.textContent,n.textContent=""),e}},16:function(e,t){e.exports=wp.apiFetch},17:function(e,t,r){"use strict";r.d(t,"a",(function(){return dr}));var n={};r.r(n),r.d(n,"updateKeywords",(function(){return d})),r.d(n,"updatePillarContent",(function(){return p})),r.d(n,"toggleFrontendScore",(function(){return h})),r.d(n,"updateAnalysisScore",(function(){return f})),r.d(n,"updateCanonicalUrl",(function(){return m})),r.d(n,"updateAdvancedRobots",(function(){return g})),r.d(n,"updateRobots",(function(){return k})),r.d(n,"updateBreadcrumbTitle",(function(){return y})),r.d(n,"resetDirtyMetadata",(function(){return v})),r.d(n,"updateFacebookTitle",(function(){return b})),r.d(n,"updateFacebookDescription",(function(){return w})),r.d(n,"updateFacebookImage",(function(){return _})),r.d(n,"updateFacebookImageID",(function(){return O})),r.d(n,"updateFacebookHasOverlay",(function(){return T})),r.d(n,"updateFacebookImageOverlay",(function(){return P})),r.d(n,"updateAppData",(function(){return u})),r.d(n,"updateAppUi",(function(){return l})),r.d(n,"updatePostID",(function(){return j})),r.d(n,"updatePermalink",(function(){return I})),r.d(n,"updateTitle",(function(){return S})),r.d(n,"updateDescription",(function(){return D})),r.d(n,"updateFeaturedImage",(function(){return C})),r.d(n,"updatePrimaryTermID",(function(){return x})),r.d(n,"updateRedirection",(function(){return M})),r.d(n,"updateRedirectionItem",(function(){return E})),r.d(n,"resetRedirection",(function(){return A})),r.d(n,"updateHasRedirect",(function(){return F})),r.d(n,"updateSerpTitle",(function(){return R})),r.d(n,"updateSerpDescription",(function(){return K})),r.d(n,"toggleSnippetEditor",(function(){return N})),r.d(n,"updateSnippetPreviewType",(function(){return H})),r.d(n,"updateTwitterUseFacebook",(function(){return W})),r.d(n,"updateTwitterCardType",(function(){return G})),r.d(n,"updateTwitterTitle",(function(){return z})),r.d(n,"updateTwitterDescription",(function(){return L})),r.d(n,"updateTwitterAuthor",(function(){return V})),r.d(n,"updateTwitterImageID",(function(){return B})),r.d(n,"updateTwitterImage",(function(){return $})),r.d(n,"updateTwitterHasOverlay",(function(){return J})),r.d(n,"updateTwitterImageOverlay",(function(){return Q})),r.d(n,"updateTwitterPlayerUrl",(function(){return q})),r.d(n,"updateTwitterPlayerSize",(function(){return Z})),r.d(n,"updateTwitterPlayerStreamUrl",(function(){return X})),r.d(n,"updateTwitterPlayerStreamCtype",(function(){return Y})),r.d(n,"updateTwitterAppDescription",(function(){return ee})),r.d(n,"updateTwitterAppIphoneID",(function(){return te})),r.d(n,"updateTwitterAppIphoneName",(function(){return re})),r.d(n,"updateTwitterAppIphoneUrl",(function(){return ne})),r.d(n,"updateTwitterAppIpadID",(function(){return ae})),r.d(n,"updateTwitterAppIpadName",(function(){return ie})),r.d(n,"updateTwitterAppIpadUrl",(function(){return oe})),r.d(n,"updateTwitterAppGoogleplayID",(function(){return se})),r.d(n,"updateTwitterAppGoogleplayName",(function(){return ce})),r.d(n,"updateTwitterAppGoogleplayUrl",(function(){return ue})),r.d(n,"updateTwitterAppCountry",(function(){return le})),r.d(n,"toggleLoaded",(function(){return de})),r.d(n,"updateSelectedKeyword",(function(){return pe})),r.d(n,"refreshResults",(function(){return he})),r.d(n,"setVersion",(function(){return fe})),r.d(n,"toggleSchemaEditor",(function(){return _e})),r.d(n,"toggleSchemaTemplates",(function(){return Oe})),r.d(n,"schemaUpdated",(function(){return Te})),r.d(n,"setEditingSchemaId",(function(){return Pe})),r.d(n,"setEditorTab",(function(){return je})),r.d(n,"setTemplateTab",(function(){return Ie})),r.d(n,"updateEditSchemas",(function(){return Se})),r.d(n,"updateSchemas",(function(){return De})),r.d(n,"updateEditSchema",(function(){return Ce})),r.d(n,"saveSchema",(function(){return xe})),r.d(n,"deleteSchema",(function(){return Me})),r.d(n,"saveTemplate",(function(){return Ee}));var a={};r.r(a),r.d(a,"appData",(function(){return He})),r.d(a,"appUi",(function(){return Ve}));var i={};r.r(i),r.d(i,"getAppData",(function(){return Be})),r.d(i,"getDirtyMetadata",(function(){return $e})),r.d(i,"getAnalysisScore",(function(){return Je})),r.d(i,"getKeywords",(function(){return Qe})),r.d(i,"getPillarContent",(function(){return qe})),r.d(i,"getRobots",(function(){return Ze})),r.d(i,"getAdvancedRobots",(function(){return Xe})),r.d(i,"getCanonicalUrl",(function(){return Ye})),r.d(i,"getBreadcrumbTitle",(function(){return et})),r.d(i,"getRichSnippets",(function(){return tt})),r.d(i,"getShowScoreFrontend",(function(){return rt})),r.d(i,"isLoaded",(function(){return nt})),r.d(i,"getSelectedKeyword",(function(){return at})),r.d(i,"isRefreshing",(function(){return it})),r.d(i,"isPro",(function(){return ot})),r.d(i,"getFacebookTitle",(function(){return st})),r.d(i,"getFacebookDescription",(function(){return ct})),r.d(i,"getFacebookAuthor",(function(){return ut})),r.d(i,"getFacebookImageID",(function(){return lt})),r.d(i,"getFacebookImage",(function(){return dt})),r.d(i,"getFacebookHasOverlay",(function(){return pt})),r.d(i,"getFacebookImageOverlay",(function(){return ht})),r.d(i,"getPostID",(function(){return ft})),r.d(i,"getTitle",(function(){return mt})),r.d(i,"getPermalink",(function(){return gt})),r.d(i,"getDescription",(function(){return kt})),r.d(i,"getFeaturedImage",(function(){return yt})),r.d(i,"getFeaturedImageHtml",(function(){return vt})),r.d(i,"getPrimaryTermID",(function(){return bt})),r.d(i,"getRedirectionID",(function(){return wt})),r.d(i,"getRedirectionType",(function(){return _t})),r.d(i,"getRedirectionUrl",(function(){return Ot})),r.d(i,"getRedirectionItem",(function(){return Tt})),r.d(i,"hasRedirect",(function(){return Pt})),r.d(i,"getSerpTitle",(function(){return It})),r.d(i,"getSerpDescription",(function(){return St})),r.d(i,"isSnippetEditorOpen",(function(){return Dt})),r.d(i,"getSnippetPreviewType",(function(){return Ct})),r.d(i,"isSchemaEditorOpen",(function(){return xt})),r.d(i,"isSchemaTemplatesOpen",(function(){return Mt})),r.d(i,"hasSchemaUpdated",(function(){return Et})),r.d(i,"getSchemas",(function(){return At})),r.d(i,"getEditSchemas",(function(){return Ft})),r.d(i,"getEditingSchema",(function(){return Ut})),r.d(i,"getPreviewSchema",(function(){return Rt})),r.d(i,"getEditorTab",(function(){return Kt})),r.d(i,"getTemplateTab",(function(){return Nt})),r.d(i,"getTwitterUseFacebook",(function(){return Ht})),r.d(i,"getTwitterCardType",(function(){return Wt})),r.d(i,"getTwitterTitle",(function(){return Gt})),r.d(i,"getTwitterDescription",(function(){return zt})),r.d(i,"getTwitterAuthor",(function(){return Lt})),r.d(i,"getTwitterImageID",(function(){return Vt})),r.d(i,"getTwitterImage",(function(){return Bt})),r.d(i,"getTwitterHasOverlay",(function(){return $t})),r.d(i,"getTwitterImageOverlay",(function(){return Jt})),r.d(i,"getTwitterAppDescription",(function(){return Qt})),r.d(i,"getTwitterAppIphoneID",(function(){return qt})),r.d(i,"getTwitterAppIphoneName",(function(){return Zt})),r.d(i,"getTwitterAppIphoneUrl",(function(){return Xt})),r.d(i,"getTwitterAppIpadID",(function(){return Yt})),r.d(i,"getTwitterAppIpadName",(function(){return er})),r.d(i,"getTwitterAppIpadUrl",(function(){return tr})),r.d(i,"getTwitterAppGoogleplayID",(function(){return rr})),r.d(i,"getTwitterAppGoogleplayName",(function(){return nr})),r.d(i,"getTwitterAppGoogleplayUrl",(function(){return ar})),r.d(i,"getTwitterAppCountry",(function(){return ir})),r.d(i,"getTwitterPlayerUrl",(function(){return or})),r.d(i,"getTwitterPlayerSize",(function(){return sr})),r.d(i,"getTwitterPlayerStream",(function(){return cr})),r.d(i,"getTwitterPlayerStreamCtype",(function(){return ur}));var o=r(4),s=r(9),c=r(6);function u(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return t=Object(c.applyFilters)("rank_math_sanitize_data",t,e,r),null!==n&&(n=Object(c.applyFilters)("rank_math_sanitize_meta_value",n,e,r)),n=null===n?t:n,Object(c.doAction)("rank_math_data_changed",e,t,r),{type:"RANK_MATH_APP_DATA",key:e,value:t,metaKey:r,metaValue:n}}function l(e,t){return Object(c.doAction)("rank_math_update_app_ui",e,t),{type:"RANK_MATH_APP_UI",key:e,value:t}}function d(e){return s.a.setVariable("focuskw",e.split(",")[0]),rankMathEditor.refresh("keyword"),u("keywords",e,"rank_math_focus_keyword")}function p(e){return u("pillarContent",e,"rank_math_pillar_content",!0===e?"on":"off")}function h(e){return u("showScoreFrontend",e,"rank_math_dont_show_seo_score",!0===e?"off":"on")}function f(e){return u("score",e,"rank_math_seo_score")}function m(e){return u("canonicalUrl",e,"rank_math_canonical_url")}function g(e){return u("advancedRobots",e,"rank_math_advanced_robots")}function k(e){return u("robots",e,"rank_math_robots",Object.keys(e))}function y(e){return u("breadcrumbTitle",e,"rank_math_breadcrumb_title")}function v(){return u("dirtyMetadata",{})}function b(e){return u("facebookTitle",e,"rank_math_facebook_title")}function w(e){return u("facebookDescription",e,"rank_math_facebook_description")}function _(e){return u("facebookImage",e,"rank_math_facebook_image")}function O(e){return u("facebookImageID",e,"rank_math_facebook_image_id")}function T(e){return u("facebookHasOverlay",e,"rank_math_facebook_enable_image_overlay",!0===e?"on":"off")}function P(e){return u("facebookImageOverlay",e,"rank_math_facebook_image_overlay")}function j(e){return rankMath.objectID=e,u("postID",e)}function I(e){return u("permalink",e,"permalink")}function S(e){return u("title",e,"rank_math_title")}function D(e){return u("description",e,"rank_math_description")}function C(e){return u("featuredImage",e)}function x(e,t){return u("primaryTerm",parseInt(e),"rank_math_primary_"+t)}function M(e,t){return u(e,t)}function E(e){return l("redirectionItem",e)}function A(){return l("redirectionItem",{})}function F(e){return l("hasRedirect",e)}var U=r(25);function R(e){return e=s.a.swap(""!==e?e:rankMath.assessor.serpData.titleTemplate),rankMathEditor.refresh("title"),l("serpTitle",e)}function K(e){return e=s.a.swap(Object(U.a)(e)),rankMathEditor.refresh("description"),l("serpDescription",e)}function N(e){return l("isSnippetEditorOpen",e)}function H(e){return l("snippetPreviewType",e)}function W(e){return u("twitterUseFacebook",e,"rank_math_twitter_use_facebook",!0===e?"on":"off")}function G(e){return u("twitterCardType",e,"rank_math_twitter_card_type")}function z(e){return u("twitterTitle",e,"rank_math_twitter_title")}function L(e){return u("twitterDescription",e,"rank_math_twitter_description")}function V(e){return u("twitterAuthor",e,"rank_math_twitter_author")}function B(e){return u("twitterImageID",e,"rank_math_twitter_image_id")}function $(e){return u("twitterImage",e,"rank_math_twitter_image")}function J(e){return u("twitterHasOverlay",e,"rank_math_twitter_enable_image_overlay",!0===e?"on":"off")}function Q(e){return u("twitterImageOverlay",e,"rank_math_twitter_image_overlay")}function q(e){return u("twitterPlayerUrl",e,"rank_math_twitter_player_url")}function Z(e){return u("twitterPlayerSize",e,"rank_math_twitter_player_size")}function X(e){return u("twitterPlayerStream",e,"rank_math_twitter_player_stream")}function Y(e){return u("twitterPlayerStreamCtype",e,"rank_math_twitter_player_stream_ctype")}function ee(e){return u("twitterAppDescription",e,"rank_math_twitter_app_description")}function te(e){return u("twitterAppIphoneID",e,"rank_math_twitter_app_iphone_id")}function re(e){return u("twitterAppIphoneName",e,"rank_math_twitter_app_iphone_name")}function ne(e){return u("twitterAppIphoneUrl",e,"rank_math_twitter_app_iphone_url")}function ae(e){return u("twitterAppIpadID",e,"rank_math_twitter_app_ipad_id")}function ie(e){return u("twitterAppIpadName",e,"rank_math_twitter_app_ipad_name")}function oe(e){return u("twitterAppIpadUrl",e,"rank_math_twitter_app_ipad_url")}function se(e){return u("twitterAppGoogleplayID",e,"rank_math_twitter_app_googleplay_id")}function ce(e){return u("twitterAppGoogleplayName",e,"rank_math_twitter_app_googleplay_name")}function ue(e){return u("twitterAppGoogleplayUrl",e,"rank_math_twitter_app_googleplay_url")}function le(e){return u("twitterAppCountry",e,"rank_math_twitter_app_country")}function de(e){return l("isLoaded",e)}function pe(e){return l("selectedKeyword",e)}function he(){return l("refreshResults",Date.now())}function fe(){return l("isPro",!0)}var me=r(1),ge=r(0),ke=r(16),ye=r.n(ke);function ve(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function be(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ve(Object(r),!0).forEach((function(t){we(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ve(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function we(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _e(e){return l("isSchemaEditorOpen",e)}function Oe(e){return l("isSchemaTemplatesOpen",e)}function Te(e){return l("schemaUpdated",e)}function Pe(e){return l("editingSchemaId",e)}function je(e){return l("editorTab",e)}function Ie(e){return l("templateTab",e)}function Se(e){return l("editSchemas",e)}function De(e){return u("schemas",e)}function Ce(e,t){var r=be({},Object(o.select)("rank-math").getEditSchemas());return r[e]=t,l("editSchemas",r)}function xe(e,t){var r=be({},Object(o.select)("rank-math").getSchemas());return r[e]=t,u("schemas",r)}function Me(e){var t=be({},Object(o.select)("rank-math").getSchemas());return delete t[e],Object(c.doAction)("rank_math_schema_trash",e),u("schemas",t,"rank_math_delete_"+e,"")}function Ee(e,t,r){return ye()({method:"POST",path:"rankmath/v1/saveTemplate",data:{schema:e,postId:r}}).then((function(r){t({loading:!1,showNotice:!0,postId:r.id}),setTimeout((function(){t({showNotice:!1}),Object(me.get)(rankMath,"isTemplateScreen",!1)&&(document.title=Object(ge.__)("Edit Schema","rank-math"),window.history.pushState(null,"",r.link.replace(/&amp;/g,"&")))}),2e3),rankMath.schemaTemplates.push({schema:e,title:e.metadata.title,type:e["@type"]})})),t({loading:!0}),{type:"DONT_WANT_TO_DO_SOMETHING"}}function Ae(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Fe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ae(Object(r),!0).forEach((function(t){Ue(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ae(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ue(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Re=rankMath.assessor.serpData,Ke=rankMath.assessor.hasRedirection,Ne={postID:null,title:Re.title?Re.title:Re.titleTemplate,description:Re.description,keywords:Re.focusKeywords,pillarContent:Re.pillarContent,featuredImage:"",permalink:!1,primaryTerm:Re.primaryTerm,robots:Re.robots,advancedRobots:Re.advancedRobots,canonicalUrl:Re.canonicalUrl,breadcrumbTitle:Re.breadcrumbTitle,showScoreFrontend:Re.showScoreFrontend,redirectionID:Ke?Object(me.get)(rankMath.assessor,"redirection.id",""):"",redirectionType:Ke?Object(me.get)(rankMath.assessor,"redirection.header_code",""):"",redirectionUrl:Ke?Object(me.get)(rankMath.assessor,"redirection.url_to",""):"",facebookTitle:Re.facebookTitle,facebookImage:Re.facebookImage,facebookImageID:Re.facebookImageID,facebookAuthor:Re.facebookAuthor,facebookDescription:Re.facebookDescription,facebookHasOverlay:Re.facebookHasOverlay,facebookImageOverlay:Re.facebookImageOverlay,twitterTitle:Re.twitterTitle,twitterImage:Re.twitterImage,twitterAuthor:Re.twitterAuthor,twitterImageID:Re.twitterImageID,twitterCardType:Re.twitterCardType,twitterUseFacebook:Re.twitterUseFacebook,twitterDescription:Re.twitterDescription,twitterHasOverlay:Re.twitterHasOverlay,twitterImageOverlay:Re.twitterImageOverlay,twitterPlayerUrl:Re.twitterPlayerUrl,twitterPlayerSize:Re.twitterPlayerSize,twitterPlayerStream:Re.twitterPlayerStream,twitterPlayerStreamCtype:Re.twitterPlayerStreamCtype,twitterAppDescription:Re.twitterAppDescription,twitterAppIphoneName:Re.twitterAppIphoneName,twitterAppIphoneID:Re.twitterAppIphoneID,twitterAppIphoneUrl:Re.twitterAppIphoneUrl,twitterAppIpadName:Re.twitterAppIpadName,twitterAppIpadID:Re.twitterAppIpadID,twitterAppIpadUrl:Re.twitterAppIpadUrl,twitterAppGoogleplayName:Re.twitterAppGoogleplayName,twitterAppGoogleplayID:Re.twitterAppGoogleplayID,twitterAppGoogleplayUrl:Re.twitterAppGoogleplayUrl,twitterAppCountry:Re.twitterAppCountry,schemas:Object(me.get)(rankMath,"schemas",{}),score:0,dirtyMetadata:{}};function He(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ne,r=arguments.length>1?arguments[1]:void 0,n=Fe({},t.dirtyMetadata);return!1!==r.metaKey&&(n[r.metaKey]=r.metaValue),"RANK_MATH_APP_DATA"===r.type?"dirtyMetadata"===r.key?Fe(Fe({},t),{},{dirtyMetadata:r.value}):Fe(Fe({},t),{},(Ue(e={},r.key,r.value),Ue(e,"dirtyMetadata",n),e)):t}function We(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ge(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?We(Object(r),!0).forEach((function(t){ze(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):We(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ze(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Le={isLoaded:!1,isPro:!1,selectedKeyword:{tag:"",index:0,data:{value:""}},hasRedirect:rankMath.assessor.hasRedirection&&(!Object(me.isEmpty)(Object(me.get)(rankMath.assessor,"redirection.id",""))||!Object(me.isEmpty)(Object(me.get)(rankMath.assessor,"redirection.url_to",""))),serpTitle:"",serpDescription:"",isSnippetEditorOpen:!1,snippetPreviewType:"",refreshResults:"",redirectionItem:{},editorTab:"",templateTab:"",editSchemas:{},editingSchemaId:"",isSchemaEditorOpen:!1,isSchemaTemplatesOpen:!1,schemaUpdated:!1};function Ve(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Le,t=arguments.length>1?arguments[1]:void 0;return"RANK_MATH_APP_UI"===t.type?Ge(Ge({},e),{},ze({},t.key,t.value)):e}function Be(e){return e.appData}function $e(e){return e.appData.dirtyMetadata}function Je(e){return e.appData.score}function Qe(e){return e.appData.keywords}function qe(e){return e.appData.pillarContent}function Ze(e){return e.appData.robots}function Xe(e){return e.appData.advancedRobots}function Ye(e){return e.appData.canonicalUrl}function et(e){return e.appData.breadcrumbTitle}function tt(e){return"todo"}function rt(e){return e.appData.showScoreFrontend}function nt(e){return e.appUi.isLoaded}function at(e){return e.appUi.selectedKeyword}function it(e){return e.appUi.refreshResults}function ot(e){return e.appUi.isPro}function st(e){return e.appData.facebookTitle}function ct(e){return e.appData.facebookDescription}function ut(e){return e.appData.facebookAuthor}function lt(e){return e.appData.facebookImageID}function dt(e){return e.appData.facebookImage}function pt(e){return e.appData.facebookHasOverlay}function ht(e){return""!==e.appData.facebookImageOverlay?e.appData.facebookImageOverlay:"play"}function ft(e){return e.appData.postID}function mt(e){return e.appData.title}function gt(e){return e.appData.permalink}function kt(e){return e.appData.description}function yt(e){return e.appData.featuredImage}function vt(e){var t=e.appData.featuredImage;return'<img src="'.concat(t.source_url,'" alt="').concat(t.alt_text,'" >')}function bt(e){return e.appData.primaryTerm}function wt(e){return e.appData.redirectionID}function _t(e){return e.appData.redirectionType}function Ot(e){return e.appData.redirectionUrl}function Tt(e){return e.appUi.redirectionItem}function Pt(e){return e.appUi.hasRedirect}var jt=r(14);function It(e){return Object(jt.a)(e.appUi.serpTitle)}function St(e){return e.appUi.serpDescription}function Dt(e){return e.appUi.isSnippetEditorOpen}function Ct(e){return e.appUi.snippetPreviewType}function xt(e){return e.appUi.isSchemaEditorOpen}function Mt(e){return e.appUi.isSchemaTemplatesOpen}function Et(e){return e.appUi.schemaUpdated}function At(e){return e.appData.schemas}function Ft(e){return e.appUi.editSchemas}function Ut(e){return{id:e.appUi.editingSchemaId,data:e.appUi.editSchemas[e.appUi.editingSchemaId]}}function Rt(e){return e.appData.schemas[e.appUi.editingSchemaId]}function Kt(e){return e.appUi.editorTab}function Nt(e){return e.appUi.templateTab}function Ht(e){return e.appData.twitterUseFacebook}function Wt(e){return e.appData.twitterCardType}function Gt(e){return e.appData.twitterTitle}function zt(e){return e.appData.twitterDescription}function Lt(e){return e.appData.twitterAuthor}function Vt(e){return e.appData.twitterImageID}function Bt(e){return e.appData.twitterImage}function $t(e){return e.appData.twitterHasOverlay}function Jt(e){return""!==e.appData.twitterImageOverlay?e.appData.twitterImageOverlay:"play"}function Qt(e){return e.appData.twitterAppDescription}function qt(e){return e.appData.twitterAppIphoneID}function Zt(e){return e.appData.twitterAppIphoneName}function Xt(e){return e.appData.twitterAppIphoneUrl}function Yt(e){return e.appData.twitterAppIpadID}function er(e){return e.appData.twitterAppIpadName}function tr(e){return e.appData.twitterAppIpadUrl}function rr(e){return e.appData.twitterAppGoogleplayID}function nr(e){return e.appData.twitterAppGoogleplayName}function ar(e){return e.appData.twitterAppGoogleplayUrl}function ir(e){return e.appData.twitterAppCountry}function or(e){return e.appData.twitterPlayerUrl}function sr(e){return e.appData.twitterPlayerSize}function cr(e){return e.appData.twitterPlayerStream}function ur(e){return e.appData.twitterPlayerStreamCtype}var lr=Object(o.registerStore)("rank-math",{reducer:Object(o.combineReducers)(a),selectors:i,actions:n});function dr(){return lr}},19:function(e,t,r){"use strict";var n=r(1);t.a=function(e,t,r,a){return""===e||Object(n.isUndefined)(t)?t:(t=Object(n.truncate)(t,{length:r,separator:a||" "})).replace(new RegExp(function(e){return e.replace(/[\\^$*+?.()|[\]{}]/g,"\\$&")}(e),"gi"),(function(e){return'<mark className="highlight">'+e+"</mark>"}))}},2:function(e,t){e.exports=jQuery},20:function(e,t,r){"use strict";t.a=function(e){return 80<e?"good-fk":50<e?"ok-fk":"bad-fk"}},25:function(e,t,r){"use strict";var n=r(2),a=r.n(n),i=r(8),o=r(1),s=r(6),c=r(9),u=r(14),l=function(e,t){return e=(e=i.Helpers.cleanText(e)).replace(/\r?\n|\r/g," "),t?Object(o.truncate)(e,{length:t,separator:" "}):e};t.a=function(e){var t=rankMathEditor.assessor.dataCollector.getData(),r=t.excerpt,n=t.content?function(e){if(Object(o.isEmpty)(e))return"";e=e.replace(/\[caption[^\]]*\](.*)\[\/caption\]/g,"");var t=Object(o.filter)(i.Helpers.matchParagraphs(e,!0,!0),(function(e){return""!==a.a.trim(e)}));if(!t.length)return"";var r=rankMathEditor.getPrimaryKeyword();if(""!==r){var n=Object(o.filter)(t,(function(e){return Object(o.includes)(e.toLowerCase(),r.toLowerCase())}));if(0<n.length)return l(n[0],160)}return l(t[0],160)}(t.content.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,"")):"",d=Object(o.isUndefined)(r)||Object(o.isEmpty)(r)?n:r;if(c.a.setVariable("excerpt",d),c.a.setVariable("seo_description",d),""!==(e=Object(u.a)(Object(s.applyFilters)("rankMath/description",e))))return i.Helpers.cleanText(e);if(!Object(o.isUndefined)(r)&&!Object(o.isEmpty)(r))return i.Helpers.cleanText(r);var p=rankMath.assessor.serpData.descriptionTemplate;return Object(o.isUndefined)(p)||""===p?n:i.Helpers.cleanText(p)}},26:function(e,t,r){"use strict";var n=r(0),a=r(6);function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),rankMath.is_front_page&&(Object(a.addFilter)("rankMath_analysis_contentLength","rank-math",this.contentLength),Object(a.addFilter)("rankMath_analysis_contentLength_boundaries","rank-math",this.contentLengthBoundary))}var t,r,o;return t=e,(r=[{key:"contentLength",value:function(e){return{hasScore:e.hasScore,failed:Object(n.__)("Content is %1$d words long. Consider using at least 300 words.","rank-math"),tooltipText:Object(n.__)("Minimum recommended content length should be 300 words.","rank-math"),emptyContent:Object(n.sprintf)(Object(n.__)("Content should be %1$s long.","rank-math"),'<a href="https://s.rankmath.com/100contentlength" target="_blank">'+Object(n.__)("300 words","rank-math")+"</a>")}}},{key:"contentLengthBoundary",value:function(){return{recommended:{boundary:299,score:8},belowRecommended:{boundary:200,score:5},low:{boundary:50,score:2}}}}])&&i(t.prototype,r),o&&i(t,o),e}();t.a=o},27:function(e,t,r){"use strict";var n=r(1),a=r(14);function i(e,t,r){var a=0;return!1!==Object(n.get)(r,"pixelWidth",!1)&&(a=Math.min(100,Math.floor(t/r.pixelWidth*100))),Math.max(Math.min(100,Math.floor(e/r.max*100)),a)+"%"}function o(e,t){return e<=t.min||e>t.max}function s(e,t){return e<=t.minWidth||e>t.pixelWidth}t.a=function(e,t){var r=Object(a.a)(e).length,c=0,u=!1;if(!1!==Object(n.get)(t,"pixelWidth",!1)){u=!0;var l=document.createTextNode(e),d=document.createElement("span");d.appendChild(l),d.id="rank-math-width-tester",d.className=t.widthCheckerClass;var p=document.body.appendChild(d);c=document.getElementById("rank-math-width-tester").offsetWidth,p.outerHTML=""}return{left:i(r,c,t),isInvalid:o(r,t),isInvalidWidth:!!u&&s(c,t),count:r+" / "+t.max,pixelWidth:u?c+"px / "+t.pixelWidth+"px":""}}},28:function(e,t){e.exports=Tagify},29:function(e,t,r){"use strict";var n=r(1);t.a=function(e,t){var r=Object(n.round)(e/t*100);if(!(100<=r))return 49<r?"test-check-good":30<r?"test-check-ok":"test-check-bad"}},31:function(e,t,r){"use strict";var n=r(1);t.a=function(){return!(Object(n.isNil)(window.wp)||Object(n.isNil)(wp.data)||Object(n.isNil)(wp.data.select("core/editor"))||!Object(n.isFunction)(wp.data.select("core/editor").getEditedPostAttribute))}},4:function(e,t){e.exports=wp.data},6:function(e,t){e.exports=wp.hooks},78:function(e,t,r){"use strict";r.r(t);var n=r(2),a=r.n(n),i=r(1),o=r(8),s=r(6),c=r(0);function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var l=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.analyzer=new o.Analyzer({i18n:c,analyses:rankMath.assessor.researchesTests}),this.dataCollector=t,this.promises=[],this.hooks(),this.registerRefresh()}var t,r,n;return t=e,(r=[{key:"hooks",value:function(){this.assessAll=this.assessAll.bind(this),this.assessTitle=this.assessTitle.bind(this),this.assessContent=this.assessContent.bind(this),this.assessPermalink=this.assessPermalink.bind(this),this.updateKeywordResult=this.updateKeywordResult.bind(this),this.assessKeyword=this.assessKeyword.bind(this),this.assessThumbnail=this.assessThumbnail.bind(this),Object(s.addAction)("rankMath_analysis_keywordUsage_updated","rank-math",this.updateKeywordResult),Object(s.addAction)("rank_math_init_refresh","rank-math",this.assessAll),Object(s.addAction)("rank_math_title_refresh","rank-math",this.assessTitle),Object(s.addAction)("rank_math_content_refresh","rank-math",this.assessContent,11),Object(s.addAction)("rank_math_permalink_refresh","rank-math",this.assessPermalink,11),Object(s.addAction)("rank_math_featuredImage_refresh","rank-math",this.assessThumbnail,11),Object(s.addAction)("rank_math_keyword_refresh","rank-math",this.assessKeyword,12)}},{key:"getPaper",value:function(e){var t=this.dataCollector.getData(),r=new o.Paper("",{locale:rankMath.localeFull});return r.setTitle(t.title),r.setPermalink(t.slug),r.setDescription(t.description),r.setUrl(t.permalink),r.setText(Object(s.applyFilters)("rank_math_content",t.content)),r.setKeyword(o.Helpers.removeDiacritics(e)),Object(i.isUndefined)(t.featuredImage)||(r.setThumbnail(t.featuredImage.source_url),r.setThumbnailAltText(o.Helpers.removeDiacritics(t.featuredImage.alt_text))),r}},{key:"registerRefresh",value:function(){var e=this;this.refresh=Object(i.debounce)((function(t){e.promises=[],Object(s.doAction)("rank_math_"+t+"_refresh"),Promise.all(e.promises).then((function(){e.refreshResults()}))}),500)}},{key:"assessAll",value:function(){var e=this;rankMathEditor.components.focusKeywords.getFocusKeywords().map((function(t,r){e.run(0===r?rankMath.assessor.researchesTests:e.getSecondaryKeywordTests(),t,0===r)}))}},{key:"run",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t=t||rankMathEditor.getSelectedKeyword();var n=this.getPaper(t);this.promises.push(this.analyzer.analyzeSome(this.filterTests(e),n).then((function(e){rankMathEditor.resultManager.update(n.getKeyword(),e,r)})))}},{key:"updateKeywordResult",value:function(e,t){rankMathEditor.resultManager.update(e,{keywordNotUsed:t}),e===rankMathEditor.getSelectedKeyword().toLowerCase()&&this.refreshResults()}},{key:"assessThumbnail",value:function(){this.run(["keywordInImageAlt","contentHasAssets"])}},{key:"assessKeyword",value:function(){var e=rankMathEditor.getSelectedKeyword()===rankMathEditor.getPrimaryKeyword();this.run(e?rankMath.assessor.researchesTests:this.getSecondaryKeywordTests())}},{key:"getSecondaryKeywordTests",value:function(){return["keywordInContent","lengthContent","keywordInSubheadings","keywordDensity","lengthPermalink","linksHasExternals","linksNotAllExternals","linksHasInternal","titleSentiment","titleHasPowerWords","titleHasNumber","contentHasTOC","contentHasShortParagraphs","contentHasAssets"]}},{key:"assessTitle",value:function(){this.run(["keywordInTitle","titleHasPowerWords","titleHasNumber","titleSentiment","titleStartWithKeyword"])}},{key:"assessContent",value:function(){return this.run(["contentHasShortParagraphs","contentHasTOC","contentHasAssets","keywordDensity","keywordIn10Percent","keywordInContent","keywordInImageAlt","keywordInMetaDescription","keywordInSubheadings","lengthContent","linksHasExternals","linksHasInternal","linksNotAllExternals"])}},{key:"assessPermalink",value:function(){return this.run(["keywordInPermalink","lengthPermalink"])}},{key:"getPrimaryKeyword",value:function(){return rankMathEditor.components.focusKeywords.getPrimaryKeyword()}},{key:"getSelectedKeyword",value:function(){return rankMathEditor.components.focusKeywords.getSelectedKeyword()}},{key:"getResearch",value:function(e){return this.analyzer.researcher.getResearch(e)}},{key:"refreshResults",value:function(){Object(s.doAction)("rank_math_refresh_results")}},{key:"filterTests",value:function(e){return Object(i.intersection)(e,rankMath.assessor.researchesTests)}}])&&u(t.prototype,r),n&&u(t,n),e}(),d=r(31),p=r(26);function h(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var f=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.methods=[],this.init=this.init.bind(this),this.refresh=this.refresh.bind(this),Object(s.addAction)("rank_math_loaded","rank-math",this.init)}var t,r,n;return t=e,(r=[{key:"init",value:function(){this.methods.length&&rankMathEditor.refresh("content")}},{key:"registerPlugin",value:function(){console.warn("RankMathApp.registerPlugin is deprecated.")}},{key:"refresh",value:function(e){console.warn("RankMathApp.refresh is deprecated, use rankMathEditor.refresh()"),this.methods.push(e)}},{key:"reloadPlugin",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"content";console.warn("RankMathApp.reloadPlugin is deprecated, use rankMathEditor.refresh()"),this.refresh(t)}}])&&h(t.prototype,r),n&&h(t,n),e}(),m=r(17),g=r(4),k=r(9);function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function b(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var w=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.initialize=!1,this.oldSlug=!1,this._data={id:!1,slug:!1,permalink:!1,content:!1,title:!1,excerpt:!1,featuredImage:!1},this.refresh=this.refresh.bind(this),Object(s.addAction)("rank_math_loaded","rank-math",this.refresh),this.getPostAttribute=this.getPostAttribute.bind(this),this.subscribeToGutenberg()}var t,r,n;return t=e,(r=[{key:"collectGutenbergData",value:function(){return!1===this.oldSlug&&""!==this.getSlug()&&(this.oldSlug=this.getSlug()),{id:this.getPostID(),slug:this.getSlug(),permalink:this.getPermalink(),content:this.getPostAttribute("content"),title:this.getPostAttribute("title"),excerpt:this.getPostAttribute("excerpt"),featuredImage:this.getFeaturedImage()}}},{key:"getPostID",value:function(){return rankMath.objectID}},{key:"getPermalink",value:function(){if("auto-draft"===this.getPostAttribute("status"))return"";var e=this.getPostAttribute("generated_slug");return"auto-draft"!==e&&"en"===rankMath.locale||(e=""),this._coreEditorSelect.getPermalink()}},{key:"getSlug",value:function(){if("auto-draft"===this.getPostAttribute("status"))return"";var e=this.getPostAttribute("generated_slug");return"auto-draft"!==e&&"en"===rankMath.locale||(e=""),this.getPostAttribute("slug")||e}},{key:"getFeaturedImage",value:function(){var e=this.getPostAttribute("featured_media");if(this.isValidMediaId(e)){var t=Object(g.select)("core").getMedia(e);if(!Object(i.isUndefined)(t))return t}}},{key:"isValidMediaId",value:function(e){return"number"==typeof e&&0<e}},{key:"getPostAttribute",value:function(e){return this._coreEditorSelect||(this._coreEditorSelect=Object(g.select)("core/editor")),this._coreEditorSelect.getEditedPostAttribute(e)}},{key:"subscribeToGutenberg",value:function(){this.subscriber=Object(i.debounce)(this.refresh,500),Object(g.subscribe)(this.subscriber)}},{key:"refresh",value:function(){var e=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?y(Object(r),!0).forEach((function(t){v(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},this._data);this._data=this.collectGutenbergData(),this.handleEditorChange(e)}},{key:"handleEditorChange",value:function(e){var t=this,r={slug:"handleSlugChange",title:"handleTitleChange",excerpt:"handleExcerptChange",content:"handleContentChange",featuredImage:"handleFeaturedImageChange"};if(Object(i.isInteger)(e.id))return this.initialize?void Object(i.forEach)(r,(function(r,n){t._data[n]!==e[n]&&t[r](t._data[n])})):(this.initialize=!0,Object(i.forEach)(r,(function(e,r){t[e](t._data[r])})),void rankMathEditor.refresh("init"))}},{key:"handleSlugChange",value:function(){""!==this.getSlug()&&!1===this.oldSlug&&(this.oldSlug=this.getSlug()),rankMathEditor.refresh("permalink")}},{key:"handleTitleChange",value:function(e){k.a.setVariable("title",e),k.a.setVariable("term",e),k.a.setVariable("author",e),rankMathEditor.refresh("title")}},{key:"handleExcerptChange",value:function(e){k.a.setVariable("excerpt",e),k.a.setVariable("excerpt_only",e),k.a.setVariable("wc_shortdesc",e),k.a.setVariable("seo_description",e),rankMathEditor.refresh("content")}},{key:"handleFeaturedImageChange",value:function(e){this._data.featuredImage=e,rankMathEditor.refresh("featuredImage")}},{key:"handleContentChange",value:function(){rankMathEditor.refresh("content")}},{key:"getData",value:function(){return this._data}},{key:"updateData",value:function(e,t){this._data[e]=t}}])&&b(t.prototype,r),n&&b(t,n),e}();function _(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var O=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._data={id:!1,slug:!1,permalink:!1,content:!1,title:!1,excerpt:!1,featuredImage:!1,description:""},this.refresh=this.refresh.bind(this),Object(s.addAction)("rank_math_loaded","rank-math",this.refresh),this.setup(),this.init()}var t,r,n;return t=e,(r=[{key:"init",value:function(){var e=this;this.elemTitle.on("input",Object(i.debounce)((function(){e.handleTitleChange(e.elemTitle.val())}),500)),this.elemDescription.on("input",Object(i.debounce)((function(){e.handleExcerptChange(e.elemDescription.val())}),500)),this.elemSlug.on("input",Object(i.debounce)((function(){rankMathEditor.updatePermalink(e.elemSlug.val())}),500))}},{key:"collectData",value:function(){this._data={id:this.getPostID(),slug:this.getSlug(),permalink:this.getPermalink(),content:this.getContent(),title:this.getTitle(),excerpt:this.getExcerpt(),featuredImage:this.getFeaturedImage()}}},{key:"getPostID",value:function(){return rankMath.objectID}},{key:"getTitle",value:function(){return this.elemTitle.val()}},{key:"getExcerpt",value:function(){var e=this.elemDescription.val();return k.a.setVariable("excerpt",e),k.a.setVariable("excerpt_only",e),k.a.setVariable("wc_shortdesc",e),k.a.setVariable("seo_description",e),e}},{key:"getPermalink",value:function(){return rankMath.homeUrl+"/"+this.getSlug()}},{key:"getSlug",value:function(){return this.elemSlug.val()}},{key:"getFeaturedImage",value:function(){return this.featuredImage}},{key:"refresh",value:function(){this.collectData(),rankMathEditor.refresh("init")}},{key:"handleSlugChange",value:function(e){var t=rankMathEditor.components.SerpPreview;this.elemSlug.val(e),a()("#editable-post-name").text(e),a()("#editable-post-name-full").text(e),Object(i.isUndefined)(t.serpPermalinkField)||t.serpPermalinkField.val(e),this._data.slug=this.getSlug(),this._data.permalink=this.getPermalink(),rankMathEditor.refresh("permalink")}},{key:"handleTitleChange",value:function(e){k.a.setVariable("title",e),k.a.setVariable("term",e),k.a.setVariable("author",e),rankMathEditor.refresh("title")}},{key:"handleExcerptChange",value:function(){this._data.excerpt=this.getExcerpt(),rankMathEditor.refresh("content")}},{key:"handleFeaturedImageChange",value:function(){this._data.featuredImage=this.getFeaturedImage(),rankMathEditor.refresh("featuredImage")}},{key:"handleContentChange",value:function(){this._data.excerpt=this.getExcerpt(),this._data.content=this.getContent(),rankMathEditor.refresh("content")}},{key:"getData",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e?this._data[e]:this._data}},{key:"updateData",value:function(e,t){this._data[e]=t}},{key:"isTinymce",value:function(){return"undefined"!=typeof tinymce}}])&&_(t.prototype,r),n&&_(t,n),e}();function T(e){return(T="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})(e)}function P(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function j(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function I(e,t){return(I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function S(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=C(e);if(t){var a=C(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return D(this,r)}}function D(e,t){return!t||"object"!==T(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function C(e){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var x=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&I(e,t)}(c,e);var t,r,n,o=S(c);function c(){return P(this,c),o.apply(this,arguments)}return t=c,(r=[{key:"setup",value:function(){this.elemSlug=a()("#post_name"),this.elemTitle=a()("#title"),this.elemDescription=a()("#excerpt"),this.elemContent=a()("#content"),this.editableName=a()("#editable-post-name-full"),this.assessThumbnail=this.assessThumbnail.bind(this),Object(s.addAction)("rank_math_updated_featured_image","rank-math",this.assessThumbnail),this.events()}},{key:"getContent",value:function(){if(null!==this.elemContent&&0!==this.elemContent.length)return this.isTinymce()&&tinymce.activeEditor&&"content"===tinymce.activeEditor.id?tinymce.activeEditor.getContent():this.elemContent.val()}},{key:"getSlug",value:function(){var e=""===this.elemSlug.val()&&this.editableName.length?this.editableName.text():this.elemSlug.val();return Object(i.isUndefined)(e)?"":e}},{key:"events",value:function(){var e=this;this.elemContent.on("input change",Object(i.debounce)((function(){e.handleContentChange()}),500)),a()(window).on("load",(function(){e.isTinymce()&&(tinymce.activeEditor&&!Object(i.isUndefined)(tinymce.editors.content)&&tinymce.editors.content.on("keyup change",Object(i.debounce)((function(){e.handleContentChange()}),500)),tinymce.editors&&!Object(i.isUndefined)(tinymce.editors.excerpt)&&tinymce.editors.excerpt.on("keyup change",Object(i.debounce)((function(){tinymce.editors.excerpt.save(),e.handleExcerptChange()}),500)))})),a()(document).on("ajaxComplete",(function(t,r,n){var i="/admin-ajax.php";if(i===n.url.substr(0-i.length)){var o="";"string"==typeof n.data&&-1!==n.data.indexOf("action=sample-permalink")&&(o=""===r.responseText?e.elemTitle.val():a()("<div>"+r.responseText+"</div>").find("#editable-post-name-full").text(),rankMathEditor.updatePermalink(o))}}))}},{key:"assessThumbnail",value:function(e){this.featuredImage={source_url:e.src,alt_text:e.alt},this.handleFeaturedImageChange(e)}}])&&j(t.prototype,r),n&&j(t,n),c}(O);function M(e){return(M="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})(e)}function E(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function A(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function F(e,t){return(F=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function U(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=K(e);if(t){var a=K(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return R(this,r)}}function R(e,t){return!t||"object"!==M(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function K(e){return(K=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var N=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&F(e,t)}(s,e);var t,r,n,o=U(s);function s(){return E(this,s),o.apply(this,arguments)}return t=s,(r=[{key:"setup",value:function(){this.elemSlug=a()("#slug"),this.elemTitle=a()("#name"),this.elemDescription=a()("#rank_math_description_editor"),this.events()}},{key:"getContent",value:function(){return null===this.elemDescription||0===this.elemDescription.length?"":this.isTinymce()&&tinymce.activeEditor&&"rank_math_description_editor"===tinymce.activeEditor.id?tinymce.activeEditor.getContent():this.elemDescription.val()}},{key:"events",value:function(){var e=this;a()(window).on("load",(function(){e.isTinymce()&&tinymce.activeEditor&&!Object(i.isUndefined)(tinymce.editors.rank_math_description_editor)&&tinymce.editors.rank_math_description_editor.on("keyup change",Object(i.debounce)((function(){e.handleContentChange()}),500))}))}}])&&A(t.prototype,r),n&&A(t,n),s}(O);function H(e){return(H="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})(e)}function W(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function G(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function z(e,t){return(z=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function L(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=B(e);if(t){var a=B(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return V(this,r)}}function V(e,t){return!t||"object"!==H(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function B(e){return(B=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var $=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&z(e,t)}(o,e);var t,r,n,i=L(o);function o(){return W(this,o),i.apply(this,arguments)}return t=o,(r=[{key:"setup",value:function(){this.elemSlug=a()("#rank_math_permalink"),this.elemTitle=a()("#display_name"),this.elemDescription=a()("#description")}},{key:"getContent",value:function(){return this.elemDescription.val()}}])&&G(t.prototype,r),n&&G(t,n),o}(O),J=r(11),Q=r(25),q=r(19),Z=r(10),X=r.n(Z),Y=r(27);function ee(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var te=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,r,n;return t=e,(r=[{key:"check",value:function(e,t){this.elem=e,this.elem.closest(".cmb-td").find(".length-indicator-wrapper").length||this.wrapIndicator(t),this.updateLength(t)}},{key:"wrapIndicator",value:function(e){this.elem.closest(".cmb-td").append('<span class="'+X()("length-indicator-wrapper",{"width-indicator":!1!==Object(i.get)(e,"pixelWidth",!1)})+'"><span class="length-count">0 / '+e.max+'</span><span class="length-indicator"><span></span></span></span>')}},{key:"updateLength",value:function(e){var t=this.elem.closest(".cmb-td").find(".length-indicator"),r=t.find(">span"),n=this.elem.closest(".cmb-td").find(".length-count"),a=Object(Y.a)(e.text,e);t.removeClass("invalid short"),r.css("left",a.left),n.text(a.count),!1!==Object(i.get)(e,"pixelWidth",!1)&&n.text(n.text()+" ("+a.pixelWidth+")"),(a.isInvalid||a.isInvalidWidth)&&t.addClass("invalid")}}])&&ee(t.prototype,r),n&&ee(t,n),e}();function re(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ne(e){return(ne="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})(e)}function ae(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ie(e,t){return(ie=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function oe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=ce(e);if(t){var a=ce(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return se(this,r)}}function se(e,t){return!t||"object"!==ne(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ce(e){return(ce=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ue=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ie(e,t)}(c,e);var t,r,n,o=oe(c);function c(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),e=o.call(this),rankMath.canUser.general?(e.hooks(),e.elemMetabox=rankMathEditor.elemMetabox,e.serpCanonical=e.elemMetabox.find("#rank_math_canonical_url"),e.serpTitleField=e.elemMetabox.find("#rank_math_title"),e.serpPermalinkField=e.elemMetabox.find("#rank_math_permalink"),e.serpDescriptionField=e.elemMetabox.find("#rank_math_description"),e.serpWrapper=e.elemMetabox.find(".serp-preview"),e.serpFieldsWrapper=e.elemMetabox.find(".rank-math-serp-fields-wrapper"),e.serpTitle=e.serpWrapper.find(".serp-title"),e.serpPermalink=e.serpWrapper.find(".serp-url"),e.serpDescription=e.serpWrapper.find(".serp-description"),e.devices=e.elemMetabox.find(".rank-math-select-device"),e.init(),e):se(e)}return t=c,(r=[{key:"init",value:function(){this.previewEvent(),this.updateEvents(),this.serpEvents(),this.robotsEvents()}},{key:"previewEvent",value:function(){this.devices.on("click",(function(e){e.preventDefault();var t=a()(e.currentTarget),r=t.hasClass("active")?"":t.data("device");Object(s.doAction)("rank_math_preview_device",r)}))}},{key:"serpEvents",value:function(){var e=this,t=this.elemMetabox.find(".rank-math-edit-snippet");t.on("click",(function(r){r.preventDefault(),t.toggleClass("hidden active"),e.serpFieldsWrapper.toggleClass("hidden")})),this.elemMetabox.on("click",".serp-preview-body",(function(r){r.preventDefault(),t.toggleClass("hidden active"),e.serpFieldsWrapper.toggleClass("hidden")}))}},{key:"updateEvents",value:function(){var e=this;this.serpTitleField.on("input",Object(i.debounce)((function(){rankMathEditor.refresh("title")}),500)).on("keypress",(function(e){if(13===e.which||13===e.keyCode)return e.preventDefault(),a()(e.target).closest(".cmb-row").prev().trigger("click"),!1})),this.serpPermalinkField.val(rankMathEditor.assessor.dataCollector.getSlug()).on("blur",(function(){rankMathEditor.updatePermalink(e.serpPermalinkField.val())})).on("input",Object(i.debounce)((function(){e.updatePermalinkPreview()}),500)).on("keypress",(function(e){if(13===e.which||13===e.keyCode)return e.preventDefault(),a()(e.target).closest(".cmb-row").prev().trigger("click"),!1})),rankMath.is_front_page&&this.serpPermalinkField.val("/").attr("disabled","disabled"),this.serpDescriptionField.on("input",Object(i.debounce)((function(){rankMathEditor.refresh("content")}),500)).on("keypress",(function(e){if(13===e.which||13===e.keyCode)return e.preventDefault(),a()(e.target).closest(".cmb-row").prev().trigger("click"),!1}))}},{key:"updatePreviewCallbacks",value:function(e,t){e=e||"global",rankMathEditor.assessor.dataCollector.updateData(e,t),this.elemMetabox.trigger("rank-math-updating-preview-"+e),this.elemMetabox.trigger("rank-math-"+e+"-updated",t)}},{key:"robotsEvents",value:function(){var e=this,t=a()("#rank_math_robots1"),r=a()("#rank_math_robots2");t.on("change",(function(){t.is(":checked")?(e.serpWrapper.addClass("noindex-preview"),r.prop("checked",!1).trigger("change")):e.serpWrapper.removeClass("noindex-preview")})),r.on("change",(function(){if(r.is(":checked"))return e.serpWrapper.addClass("noindex-preview"),void t.prop("checked",!1);e.serpWrapper.removeClass("noindex-preview")})).trigger("change")}}])&&ae(t.prototype,r),n&&ae(t,n),c}(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.title="",this.description="",this.lengthIndicator=new te}var t,r,n;return t=e,(r=[{key:"hooks",value:function(){this.previewDevice=this.previewDevice.bind(this),this.updatePreview=this.updatePreview.bind(this),this.updateTitlePreview=this.updateTitlePreview.bind(this),this.updatePermalinkPreview=this.updatePermalinkPreview.bind(this),this.updateDescriptionPreview=this.updateDescriptionPreview.bind(this),Object(s.addAction)("rank_math_preview_device","rank-math",this.previewDevice),Object(s.addAction)("rank_math_init_refresh","rank-math",this.updatePreview,1),Object(s.addAction)("rank_math_title_refresh","rank-math",this.updateTitlePreview,1),Object(s.addAction)("rank_math_permalink_refresh","rank-math",this.updatePermalinkPreview,1),Object(s.addAction)("rank_math_content_refresh","rank-math",this.updateDescriptionPreview,1),Object(s.addAction)("rank_math_keyword_refresh","rank-math",this.updatePreview,11)}},{key:"updatePreview",value:function(){this.updateTitlePreview(),this.updatePermalinkPreview(),this.updateDescriptionPreview()}},{key:"previewDevice",value:function(e){switch(this.devices.removeClass("active"),e){case"desktop":this.serpWrapper.removeClass("mobile-preview"),this.serpWrapper.addClass("desktop-preview expanded-preview"),rankMathEditor.elemMetabox.find(".rank-math-select-device.device-desktop").addClass("active");break;case"mobile":this.serpWrapper.removeClass("desktop-preview"),this.serpWrapper.addClass("mobile-preview expanded-preview"),rankMathEditor.elemMetabox.find(".rank-math-select-device.device-mobile").addClass("active");break;default:this.serpWrapper.removeClass("mobile-preview expanded-preview"),this.serpWrapper.addClass("desktop-preview")}}},{key:"updateTitlePreview",value:function(){this.title=this.serpTitleField.val();var e=""!==this.title;this.serpTitleField.val(e?this.title:this.serpTitle.data("format")),this.title=o.Helpers.sanitizeText(k.a.swap(""!==this.title?this.title:this.serpTitle.data("format"))),this.lengthIndicator.check(this.serpTitleField,{text:this.title,min:15,max:60,pixelWidth:580,widthCheckerClass:"title"}),this.serpTitle.html(Object(q.a)(rankMathEditor.getSelectedKeyword(),o.Helpers.sanitizeText(this.title),60)),this.updatePreviewCallbacks("title",this.title),this.serpTitle.trigger("rank-math-vars-replaced")}},{key:"updatePermalinkPreview",value:function(){var e=this.serpPermalink.data("format")||"",t=this.serpPermalinkField.val(),r=rankMathEditor.assessor.getResearch("slugify")(rankMathEditor.getSelectedKeyword());this.permalink=""!==t?e.replace(/%(postname|pagename)%/,t).trimRight("/")+"/":"",this.serpCanonical.attr("placeholder",this.permalink),this.lengthIndicator.check(this.serpPermalinkField,{text:this.permalink,min:5,max:75}),this.serpPermalink.html(Object(q.a)(r,o.Helpers.sanitizeText(Object(J.safeDecodeURIComponent)(this.permalink)),75)),this.updatePreviewCallbacks("permalink",this.permalink),this.serpPermalink.trigger("rank-math-vars-replaced")}},{key:"updateDescriptionPreview",value:function(){this.description=o.Helpers.sanitizeText(k.a.swap(Object(Q.a)(this.serpDescriptionField.val()))),this.lengthIndicator.check(this.serpDescriptionField,{text:this.description,min:80,max:160,pixelWidth:920,widthCheckerClass:"description"}),this.serpDescription.html(Object(q.a)(rankMathEditor.getSelectedKeyword(),o.Helpers.sanitizeText(this.description),160)),this.serpDescriptionField.attr("placeholder",""!==this.description?this.description:this.serpDescription.data("format")),this.updatePreviewCallbacks("description",this.description),this.serpDescription.trigger("rank-math-vars-replaced")}}])&&re(t.prototype,r),n&&re(t,n),e}()),le=r(14);function de(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var pe=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.elemMetabox=rankMathEditor.elemMetabox,this.currentNetwork="facebook",this.useFacebook=!0,this.shouldUpdatePreview=!1,this.facebookTitleField=this.elemMetabox.find("#rank_math_facebook_title"),this.facebookDescriptionField=this.elemMetabox.find("#rank_math_facebook_description"),this.twitterTitleField=this.elemMetabox.find("#rank_math_twitter_title"),this.twitterDescriptionField=this.elemMetabox.find("#rank_math_twitter_description"),this.facebookImageField=this.elemMetabox.find("#rank_math_facebook_image"),this.twitterImageField=this.elemMetabox.find("#rank_math_twitter_image"),this.facebookImageStatus=this.elemMetabox.find("#rank_math_facebook_image-status"),this.twitterImageStatus=this.elemMetabox.find("#rank_math_twitter_image-status"),this.socialWrapper=this.elemMetabox.find(".rank-math-social-preview"),this.socialPreview=this.socialWrapper.find(".rank-math-social-preview-item"),this.socialTitle=this.socialWrapper.find(".rank-math-social-preview-title"),this.socialDescription=this.socialWrapper.find(".rank-math-social-preview-description"),this.events(),this.removeImageEvent(),this.shouldUpdatePreview=!0,this.updateTitlePreview=this.updateTitlePreview.bind(this),this.updateDescriptionPreview=this.updateDescriptionPreview.bind(this),this.updateThumbnailPreview=this.updateThumbnailPreview.bind(this),this.updatePreview=this.updatePreview.bind(this),Object(s.addAction)("rank_math_init_refresh","rank-math",this.updatePreview),Object(s.addAction)("rank_math_title_refresh","rank-math",this.updateTitlePreview,2),Object(s.addAction)("rank_math_content_refresh","rank-math",this.updateDescriptionPreview,2),Object(s.addAction)("rank_math_featuredImage_refresh","rank-math",this.updateThumbnailPreview),this.updatePreview()}var t,r,n;return t=e,(r=[{key:"events",value:function(){var e=this;this.facebookTitleField.on("input",(function(){e.updateTitlePreview()})),this.facebookDescriptionField.on("input",(function(){e.updateDescriptionPreview()})),this.facebookImageField.on("input",(function(){e.updateThumbnailPreview()})),this.twitterTitleField.on("input",(function(){e.updateTitlePreview()})),this.twitterDescriptionField.on("input",(function(){e.updateDescriptionPreview()})),this.twitterImageField.on("input",(function(){e.updateThumbnailPreview()}));var t=a()(".rank-math-social-preview-button"),r=t.find(">span");t.on("click",(function(t){t.preventDefault(),r.toggleClass("dashicons-arrow-down dashicons-arrow-up"),e.updatePreview(),e.socialWrapper.toggleClass("open"),e.socialPreview.slideToggle()}));var n=a()("#rank_math_twitter_card_type");a()(".preview-network").on("click",(function(r){a()(r.target).hasClass("tab-facebook")?t.show():n.trigger("change"),e.updatePreview()})),n.on("change",(function(){var r=n.val();"player"===r&&a()(".cmb2-id-rank-math-twitter-image, .cmb2-id-rank-math-twitter-title, .cmb2-id-rank-math-twitter-description").show();var i="player"===r||"app"===r;t.toggle(!i),a()(".cmb2-id-rank-math-twitter-use-facebook").toggle(!i),i||e.updatePreview()})).trigger("change");var i=a()("#rank_math_twitter_use_facebook");i.on("input change",(function(){e.useFacebook=i.is(":checked"),e.updatePreview()})).trigger("change"),a()(".cmb2-id-rank-math-facebook-enable-image-overlay, .cmb2-id-rank-math-facebook-image-overlay, .cmb2-id-rank-math-twitter-enable-image-overlay, .cmb2-id-rank-math-twitter-image-overlay").on("change","input",(function(){e.updateThumbnailOverlay()})),a()(document).on("cmb_media_modal_select",(function(t,r,n){"rank_math_facebook_image"!==n.field&&"rank_math_twitter_image"!==n.field||(e.updateThumbnailPreview(),e.removeImageEvent())}))}},{key:"removeImageEvent",value:function(){var e=this;a()(".cmb2-remove-file-button").on("click",Object(i.debounce)((function(t){"rank_math_facebook_image"!==t.currentTarget.rel&&"rank_math_twitter_image"!==t.currentTarget.rel||e.updateThumbnailPreview()}),300))}},{key:"updatePreview",value:function(){!1!==this.shouldUpdatePreview&&a()(".preview-network.tab-active").length&&(this.currentNetwork=a()(".preview-network.tab-active").attr("href").replace("#setting-panel-social-",""),this.socialWrapper.removeClass(),this.socialWrapper.addClass("rank-math-social-preview rank-math-social-preview-"+this.currentNetwork),"twitter"===this.currentNetwork&&this.socialWrapper.addClass(a()("#rank_math_twitter_card_type").val()),this.updateTitlePreview(),this.updateDescriptionPreview(),this.updateThumbnailPreview())}},{key:"updateTitlePreview",value:function(){var e="twitter"===this.currentNetwork&&this.useFacebook?this.facebookTitleField.val():this[this.currentNetwork+"TitleField"].val();""!==e?e=this.truncate(k.a.swap(e),90):(e=Object(le.a)(rankMathEditor.assessor.dataCollector.getData("title")),this.facebookTitleField.attr("placeholder",e),this.twitterTitleField.attr("placeholder",e)),this.socialTitle.text(e),"facebook"===this.currentNetwork&&this.hideDescription()}},{key:"updateDescriptionPreview",value:function(){var e="twitter"===this.currentNetwork&&this.useFacebook?this.facebookDescriptionField.val():this[this.currentNetwork+"DescriptionField"].val();""!==e?e=this.truncate(k.a.swap(e),240):(e=rankMathEditor.assessor.dataCollector.getData("description"),this.facebookDescriptionField.attr("placeholder",e),this.twitterDescriptionField.attr("placeholder",e)),this.socialDescription.text(Object(i.isUndefined)(e)?"":e)}},{key:"updateThumbnailPreview",value:function(){var e=a()("#rank_math_post_thumbnail").attr("src"),t="<div>"+rankMathEditor.assessor.dataCollector.getData("content")+"</div>",r=!!/<img(?:[^>]+)?>/.test(t)&&a()(t).find("img:first").attr("src"),n=this.facebookImageField.val()||e||r||rankMath.defautOgImage,i=this.twitterImageField.val()||e||r||rankMath.defautOgImage;if("twitter"===this.currentNetwork&&this.useFacebook)i=n;else if(this.twitterImageStatus.find("img.cmb-file-field-image").length){var o=this.twitterImageStatus.siblings(".notice"),s=this.twitterImageStatus.find("img.cmb-file-field-image")[0];o.addClass("hidden"),a()(s).on("load",(function(){(200>s.naturalWidth||200>s.naturalHeight)&&o.removeClass("hidden")}))}var c=this.facebookImageStatus.siblings(".notice"),u=this.facebookImageStatus.find("img.cmb-file-field-image");c.addClass("hidden"),"facebook"===this.currentNetwork&&this.facebookImageField.val()&&u.length&&a()(u[0]).on("load",(function(){(200>u[0].naturalWidth||200>u[0].naturalHeight)&&c.removeClass("hidden")}));var l=a()(".rank-math-social-preview-image");a()(".facebook-thumbnail",l).attr("src",n),a()(".twitter-thumbnail",l).attr("src",i),l.toggleClass("no-facebook-image",!n),l.toggleClass("no-twitter-image",!i),l.parents(".rank-math-social-preview-facebook").find(".error-msg").toggleClass("show",!n),l.parents(".rank-math-social-preview-twitter").find(".error-msg").toggleClass("show",!i),this.updateThumbnailOverlay()}},{key:"updateThumbnailOverlay",value:function(){var e=a()(".rank-math-social-preview-image-overlay"),t=a()('[name="rank_math_'+this.currentNetwork+'_enable_image_overlay"]:checked').val(),r=!a()(".rank-math-social-preview-image").hasClass("no-"+this.currentNetwork+"-image"),n=a()('[name="rank_math_'+this.currentNetwork+'_image_overlay"]:checked').val();"twitter"===this.currentNetwork&&this.useFacebook&&(n=a()('[name="rank_math_facebook_image_overlay"]:checked').val(),r=!1);var i=a()(".cmb2-id-rank-math-"+this.currentNetwork+"-enable-image-overlay"),o="on"===i.find("input:checked").val();i.toggle(r),i.find(".notice-warning").toggle(o),"on"===t?(e.attr("src",rankMath.overlayImages[n].url).attr("class",(function(){return a()(this).attr("class").replace(/(^| )overlay-position-[a-zA-Z0-9_-]+/,"")+" overlay-position-"+rankMath.overlayImages[n].position})).show(),a()(".cmb2-id-rank-math-"+this.currentNetwork+"-image-overlay").toggle(r)):e.hide()}},{key:"hideDescription",value:function(){this.socialDescription.removeClass("hidden"),this.socialTitle.height()>22&&this.socialDescription.addClass("hidden")}},{key:"truncate",value:function(e,t){return e.length>t?e.substring(0,t):e}}])&&de(t.prototype,r),n&&de(t,n),e}();var he=function e(){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),"post"===rankMath.objectType){var t=a()('.rank-math-tabs-navigation a[href="#setting-panel-schema"] .dashicons'),r=a()("#_bsf_post_type");if(a()('#rank_math_rich_snippet, input[type="radio"][name="rank_math_rich_snippet"]').on("change",(function(){var e,n="rank_math_rich_snippet"===a()(this).attr("id")?a()(this).val():a()('input[type="radio"][name="rank_math_rich_snippet"]:checked').val();t.removeClass().addClass((e=n,Object(i.get)({off:"rm-icon rm-icon-schema",Article:"rm-icon rm-icon-post",Book:"rm-icon rm-icon-book",Course:"rm-icon rm-icon-course",Event:"rm-icon rm-icon-calendar",JobPosting:"rm-icon rm-icon-job",Local:"rm-icon rm-icon-local-seo",Music:"rm-icon rm-icon-music",Product:"rm-icon rm-icon-cart",WooCommerceProduct:"rm-icon rm-icon-cart",Recipe:"rm-icon rm-icon-recipe",Restaurant:"rm-icon rm-icon-restaurant",Video:"rm-icon rm-icon-video",Person:"rm-icon rm-icon-users",Review:"rm-icon rm-icon-star",Service:"rm-icon rm-icon-service",Software:"rm-icon rm-icon-software"},e,"rm-icon rm-icon-schema"))),r.length&&"off"!==n&&r.val("0").trigger("change")})).trigger("change"),r.length){var n=a()("#rank_math_rich_snippet"),o=a()('input[name="rank_math_rich_snippet"][value="off"]');r.on("change",(function(){"0"!==r.val()&&(n.val("off").trigger("change"),o.prop("checked",!0).trigger("change"))})).trigger("change")}}};function fe(e){return(fe="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})(e)}var me=function e(){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),"post"===rankMath.objectType&&rankMath.postSettings.linkSuggestions){a.a.fn.extend({insertLink:function(e,t){var r=this[0],n="";if(r.selectionStart||"0"===r.selectionStart){var a=r.selectionStart,i=r.selectionEnd,o=r.scrollTop;n='<a href="'+e+'">'+r.value.substring(a,i)+"</a>",a===i&&(n='<a href="'+e+'">'+t+"</a>"),r.value=r.value.substring(0,a)+n+r.value.substring(i,r.value.length),r.focus(),r.selectionStart=a+n.length,r.selectionEnd=a+n.length,r.scrollTop=o}else n='<a href="'+e+'">'+t+"</a>",r.value+=n,r.focus()}});if("function"==typeof ClipboardJS)new ClipboardJS(".suggestion-copy").on("success",(function(e){var t=a()(e.trigger).parent().next(".suggestion-title"),r=t.html();t.text("Link Copied"),setTimeout((function(){t.html(r)}),1500)}));if("object"!==("undefined"==typeof tinymce?"undefined":fe(tinymce)))return!0;var t=null,r=null;a()(".suggestion-insert").on("click",(function(e){e.preventDefault();var n,i,o,s,c=a()(this);if(c.hasClass("clicked"))return!0;if(null!==tinymce.activeEditor&&!0!==tinymce.activeEditor.isHidden()){t=tinymce.activeEditor,r=a()(t.getBody());var u=t.selection.getContent()||"";if(r.find("a[data-mce-selected]").length){var l=(n="",i="",o=t.selection.getStart(),(s=t.dom.getParent(o,"a[href]"))||(i=t.selection.getContent({format:"raw"}))&&-1!==i.indexOf("</a>")&&((n=i.match(/href="([^">]+)"/))&&n[1]&&(s=t.$('a[href="'+n[1]+'"]',o)[0]),s&&t.selection.select(s)),s);t.dom.setAttribs(l,{href:c.data("url")}),a()(l).text()!==u&&t.insertContent(u)}else u.length?t.insertContent('<a href="'+c.data("url")+'">'+u+"</a>"):t.insertContent('<a href="'+c.data("url")+'">'+c.data("text")+"</a>")}else{var d=a()("textarea.wp-editor-area:visible");d.length&&d.first().insertLink(c.data("url"),c.data("text"))}var p=c.closest(".suggestion-item").find(".suggestion-title"),h=p.html();p.text("Link Inserted"),c.addClass("clicked"),setTimeout((function(){var e,t,r,n;p.html(h),c.removeClass("clicked"),!0===rankMath.postSettings.useFocusKeyword&&(t=c,r=(e=p).data("fkcount")||0,n=e.data("fk"),(r+=1)===n.length&&(r=0),e.find(">a").text(n[r]),e.data("fkcount",r),t.data("text",n[r]))}),1500)})),a()("#rank_math_metabox_link_suggestions").find("h2").append(a()("#rank-math-link-suggestions-tooltip").html())}};var ge=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),"post"===rankMath.objectType&&!1!==rankMath.assessor.primaryTaxonomy&&a()("[data-primary-term]").each((function(){var e=a()(this),t=e.val(),r=e.data("primary-term"),n=a()("#"+r+"div"),i=a()("#"+r+"checklist"),o=i.find("li"),s=i.find('input[type="checkbox"]:checked');o.addClass("rank-math-primary-term-li"),o.find("input").each((function(){var e=a()(this);e.parent().append('<span class="rank-math-tooltip"><input class="rank-math-make-primary" value="'+e.val()+'" type="radio" name="rank_math_primary_'+r+'"><span>Make Term Primary</span></span>')})),s.each((function(){var e=a()(this).closest("li");e.addClass("term-checked"),r+"-"+t===e.attr("id")&&(e.addClass("term-marked-primary"),e.find(">label .rank-math-make-primary").prop("checked",!0))})),n.on("click",'input[type="checkbox"]',(function(){var t=a()(this).closest("li");if(t.toggleClass("term-checked"),1===i.find("li.term-checked").length||t.hasClass("term-marked-primary")&&!t.hasClass("term-checked")){var r=i.find("li.term-checked:first > label .rank-math-make-primary");0<r.length?r.trigger("click"):(o.removeClass("term-marked-primary"),o.find('input[type="radio"]').prop("checked",!1),e.val(""))}})),n.on("click",".rank-math-make-primary",(function(){var t=a()(this),r=t.closest("li");o.removeClass("term-marked-primary"),r.addClass("term-marked-primary"),e.val(t.val())})),i.on("wpListAddEnd",(function(){i.find("li:not(.rank-math-primary-term-li)").addClass("rank-math-primary-term-li term-checked").find("input").each((function(){var e=a()(this);e.parent().append('<span class="rank-math-tooltip"><input class="rank-math-make-primary" value="'+e.val()+'" type="radio" name="rank_math_primary_'+r+'"><span>Make Term Primary</span></span>')}))}))}))},ke=r(28),ye=r.n(ke),ve=r(20);function be(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var we=function(){function e(){var t=this;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),rankMath.canUser.general){this.elem=a()("#rank_math_focus_keyword"),this.elemWrapper=this.elem.parent(),this.clickCount=0,this.selectedKeyword={};var r={add:this.onAdd.bind(this),remove:this.onRemove.bind(this),edit:this.onEdit.bind(this),click:this.onClick.bind(this),setup:this.onSetup.bind(this)};rankMath.isUserRegistered&&(r.input=Object(i.debounce)(this.onInput.bind(this),300)),this.tagify=new ye.a(this.elem[0],{addTagOnBlur:!0,maxTags:"post"===rankMath.objectType?rankMath.maxTags:1,whitelist:this.whitelist||[],transformTag:function(e){e.value=t.stripTags(e.value)},templates:{tag:function(e,r){return"<tag title='".concat(t.stripTags(e),"'\n contenteditable='false'\n spellcheck='false'\n class='tagify__tag ").concat(r.class?r.class:"","'\n ").concat(t.getAttributes_esc(r),">\n <x title='' class='tagify__tag__removeBtn' role='button' aria-label='remove tag'></x>\n <div>\n <span class='tagify__tag-text'>").concat(t.stripTags(e),"</span>\n </div>\n </tag>")}},callbacks:r}),this.selectFirstKeyword(),this.setKeywordsClasses=this.setKeywordsClasses.bind(this),Object(s.addAction)("rank_math_refresh_results","rank-math",this.setKeywordsClasses,11)}}var t,r,n;return t=e,(r=[{key:"onInput",value:function(e){var t=this;(e=Object(i.has)(e.detail,"value")?e.detail.value:e.detail.data.value).length<2||(this.hasAdded?this.hasAdded=!1:this.request=a.a.ajax({url:rankMath.keywordsApi.url,data:{keyword:e,locale:rankMath.locale},success:function(r){if(t.hasAdded)t.hasAdded=!1;else{var n=a.a.map(r,(function(e){return e}));t.tagify.settings.whitelist=n,t.tagify.dropdown.show.call(t.tagify,e)}}}))}},{key:"onAdd",value:function(e){this.hasAdded=!0,e.detail.tag.classList.add("bad-fk"),this.updateSelectedKeyword(e.detail),this.updateKeywords()}},{key:"onRemove",value:function(e){0===e.detail.index&&this.onSetup(),rankMathEditor.resultManager.deleteResult(e.detail.data.value),this.selectFirstKeyword(),this.updateKeywords()}},{key:"onClick",value:function(e){this.updateSelectedKeyword(e.detail),setTimeout((function(){Object(s.doAction)("rank_math_refresh_results")}),500)}},{key:"onEdit",value:function(e){e.detail.tag.setAttribute("value",e.detail.data.value),this.hasAdded=!0,this.updateKeywords()}},{key:"onSetup",value:function(){this.selectFirstKeyword(),this.setKeywordsClasses()}},{key:"updateSelectedKeyword",value:function(e){this.elemWrapper.find("tag.selected").removeClass("selected"),""!==e.tag?(this.selectedKeyword=e,e.tag.classList.add("selected")):this.selectedKeyword={}}},{key:"setKeywordsClasses",value:function(){if(void 0!==this.tagify.value){var e=this.tagify.value;if(e.length>0){var t=this.elemWrapper.find("tag");e.map((function(e,r){var n=rankMathEditor.resultManager.getScore(o.Helpers.removeDiacritics(e.value));t[r].classList.remove("ok-fk","good-fk","bad-fk"),t[r].classList.add(Object(ve.a)(n))}))}}}},{key:"selectFirstKeyword",value:function(){var e=this.elemWrapper.find("tag"),t={tag:"",index:0,data:{value:""}};e.length>0&&(t={tag:e[0],index:0,data:{value:e[0].getAttribute("value")}}),this.updateSelectedKeyword(t)}},{key:"updateKeywords",value:function(){rankMathEditor.refresh("keyword")}},{key:"getFocusKeywords",value:function(){if(void 0===this.tagify||void 0===this.tagify.value)return[""];var e=this.tagify.value.map((function(e){return e.value}));return e.length?e:[""]}},{key:"getSelectedKeyword",value:function(){return Object(i.get)(this.selectedKeyword,["data","value"],"")}},{key:"getAttributes_esc",value:function(e){if("[object Object]"!=Object.prototype.toString.call(e))return"";var t,r,n=Object.keys(e),a="";for(r=n.length;r--;)"class"!=(t=n[r])&&e.hasOwnProperty(t)&&e[t]&&(a+=" "+t+(e[t]?'="'.concat(this.stripTags(e[t]),'"'):""));return a}},{key:"stripTags",value:function(e){return e=jQuery("<textarea />").html(e).text(),((new DOMParser).parseFromString(e,"text/html").body.textContent||"").replace(/["<>]/g,"")||"(invalid)"}}])&&be(t.prototype,r),n&&be(t,n),e}();function _e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var Oe=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.image_src="",this.image_alt="",this.getFeaturedImage(),this.setImage(),this.removeImage(),Object(d.a)()&&this.gutenbergImage()}var t,r,n;return t=e,(r=[{key:"setImage",value:function(){var e=this;if(!Object(i.isUndefined)(wp.media)){var t=wp.media.featuredImage.frame();t.on("select",(function(){var r=a()("#rank_math_post_thumbnail"),n=t.state().get("selection").first().toJSON();e.sizeWarning(n),1>r.length&&(r=a()('<img id="rank_math_post_thumbnail" />'),a()(".facebook-thumbnail",".rank-math-social-preview-image").before(r)),"large"in n.sizes?r.attr("src",n.sizes.large.url):r.attr("src",n.sizes.full.url),e.setFeaturedImage(n)}))}}},{key:"removeImage",value:function(){var e=this;a()("#postimagediv").on("click","#remove-post-thumbnail",(function(){a()("#rank_math_image_warning").remove(),a()("#rank_math_post_thumbnail").remove(),e.setFeaturedImage("")}))}},{key:"gutenbergImage",value:function(){var e,t,r=this;wp.data.subscribe((function(){var n=wp.data.select("core/editor").getEditedPostAttribute("featured_media");r.isValidMediaId(n)&&(e=wp.data.select("core").getMedia(n),Object(i.isUndefined)(e)||e!==t&&(t=e,r.setFeaturedImage({url:e.guid.rendered,alt:e.alt_text})))}))}},{key:"setFeaturedImage",value:function(e){var t={src:Object(i.get)(e,"url",""),alt:Object(i.get)(e,"alt","")};Object(s.doAction)("rank_math_updated_featured_image",t)}},{key:"sizeWarning",value:function(e){if(a()("#rank_math_image_warning").remove(),!(200<e.width&&200<e.height)){var t=a()("#postimagediv").find(".hndle");a()('<div id="rank_math_image_warning" class="notice notice-error notice-alt"><p>'+rankMath.featuredImageNotice+"</p></div>").insertAfter(t)}}},{key:"getFeaturedImage",value:function(){var e=a()("#postimagediv img");if(!e||e.length){var t={url:e[0].src,alt:e[0].alt};this.setFeaturedImage(t)}}},{key:"isValidMediaId",value:function(e){return"number"==typeof e&&0<e}}])&&_e(t.prototype,r),n&&_e(t,n),e}(),Te=r(29);function Pe(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var je=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),rankMath.canUser.analysis&&(a()("#setting-panel-general").append('<div id="rank-math-serp-checklist" class="rank-math-serp-checklist"></div>'),this.elem=a()("#rank-math-serp-checklist"),this.scoreText=rankMath.showScore?'<span class="score-text"><span class="score-icon"><svg viewBox="0 0 460 460" xmlns="http://www.w3.org/2000/svg" width="20"><g><path d="m462 234.84-76.17 3.43 13.43 21-127 81.18-126-52.93-146.26 60.97 10.14 24.34 136.1-56.71 128.57 54 138.69-88.61 13.43 21z"/><path d="m54.1 312.78 92.18-38.41 4.49 1.89v-54.58h-96.67zm210.9-223.57v235.05l7.26 3 89.43-57.05v-181zm-105.44 190.79 96.67 40.62v-165.19h-96.67z"/></g></svg></span> SEO: <strong>Not available</strong></span>':"",this.fkScoreText=rankMath.showScore?'<span class="score-text">Not available</span>':"",this.scoreElem=a()('<div class="misc-pub-section rank-math-seo-score loading">'+this.scoreText+"</div>"),this.scoreText=this.scoreElem.find("strong"),this.scoreField=a()("#rank_math_seo_score"),this.fkScoreElem=a()('<div class="rank-math-seo-score loading below-focus-keyword">'+this.fkScoreText+"</div>"),this.fkScoreText=this.fkScoreElem.find("span"),a()("#misc-publishing-actions").append(this.scoreElem),a()(".cmb-td",".cmb2-id-rank-math-focus-keyword").append(this.fkScoreElem),this.events(),this.refreshResults=this.refreshResults.bind(this),Object(s.addAction)("rank_math_refresh_results","rank-math",this.refreshResults))}var t,r,n;return t=e,(r=[{key:"events",value:function(){var e=this;this.elem.on("click",".group-handle",(function(t){t.preventDefault();var r=a()(t.target),n={},i=r.closest(".rank-math-serp-group");i.toggleClass("state-open state-closed"),e.elem.find(">.rank-math-serp-group").each((function(){i=a()(this),n[i.data("id")]=i.hasClass("state-closed")?"closed":"open"})),a.a.ajax({url:rankMath.ajaxurl,type:"POST",data:{action:"rank_math_save_checklist_layout",security:rankMath.security,layout:n}})}))}},{key:"refreshResults",value:function(){var e=this,t=rankMathEditor.getSelectedKeyword();if(this.isPrimary=t===rankMathEditor.getPrimaryKeyword(),this.results=rankMathEditor.resultManager.getResult(t),Object(i.isUndefined)(this.results))return null;var r=Object.keys(this.getGroups()).map((function(t){return e.renderGroup(t)}));this.elem.html(r),this.updateScore()}},{key:"renderGroup",value:function(e){this.errors=0;var t=this.renderGroupItems(e),r="basic"===e||a()("#rank-math-serp-group-"+e).hasClass("state-open")?"state-open":"state-closed",n=0===this.errors?"test-ok":"test-fail",i=Object(c.__)("All Good","rank-math");return 0<this.errors&&(i=1===this.errors?this.errors+" "+Object(c.__)("Error","rank-math"):this.errors+" "+Object(c.__)("Errors","rank-math")),'\n\t\t<div id="rank-math-serp-group-'.concat(e,'" class="rank-math-serp-group ').concat(r,'" data-id="').concat(e,'">\n\t\t\t<div class="group-handle">\n\t\t\t\t<h4>').concat(this.getGroupTitle(e),'</h4>\n\t\t\t\t<span class="rank-math-group-score ').concat(n,'">').concat(i,'</span>\n\t\t\t\t<button type="button" class="group-handlediv" aria-expanded="true"><span class="screen-reader-text"></span><span class="toggle-indicator"></span></button>\n\t\t\t</div>\n\t\t\t<ul>').concat(t,"</ul>\n\t\t</div>")}},{key:"renderGroupItems",value:function(e){var t=this,r=this.results.results,n=this.getGroupItems(e),a="";return Object.keys(n).map((function(e){if(Object(i.isUndefined)(r[e])||!t.isPrimary&&n[e])return!1;var o=r[e],s="seo-check-"+e;s+=o.hasScore()?" test-ok":" test-fail",o.hasScore()&&["contentHasAssets","lengthContent","keywordDensity"].includes(e)&&(s+=" "+Object(Te.a)(o.getScore(),o.getMaxScore())),"fleschReading"===e&&o.hasScore()&&(s+=" "+o.note.replace(/ /g,"-")),!1===o.hasScore()&&(t.errors+=1);var c=o.hasTooltip()?'<span class="rank-math-tooltip"><em class="dashicons-before dashicons-editor-help" ></em><span>'+o.getTooltip()+"</span></span>":"";a+='<li key="'.concat(e,'" class="').concat(s,'">\n\t\t\t\t\t<span>').concat(o.getText(),"</span>\n\t\t\t\t\t").concat(c,"\n\t\t\t\t</li>")})),a}},{key:"updateScore",value:function(){var e=rankMathEditor.resultManager.getScore(rankMathEditor.getPrimaryKeyword()),t=Object(ve.a)(e);this.scoreElem.removeClass("loading bad-fk ok-fk good-fk"),this.fkScoreElem.removeClass("loading bad-fk ok-fk good-fk"),this.scoreElem.addClass(t),this.fkScoreElem.addClass(t),this.scoreText.html(e+" / 100"),this.fkScoreText.html(e+" / 100"),this.scoreField.val(parseInt(e))}},{key:"getGroupItems",value:function(e){return("post"===rankMath.objectType?{basic:{keywordInTitle:!0,keywordInMetaDescription:!0,keywordInPermalink:!0,keywordIn10Percent:!0,keywordInContent:!1,lengthContent:!1},advanced:{keywordInSubheadings:!1,keywordInImageAlt:!0,keywordDensity:!1,lengthPermalink:!1,linksHasExternals:!1,linksNotAllExternals:!1,linksHasInternal:!1,keywordNotUsed:!0},"title-readability":{titleStartWithKeyword:!0,titleSentiment:!1,titleHasPowerWords:!1,titleHasNumber:!1},"content-readability":{contentHasTOC:!1,contentHasShortParagraphs:!1,contentHasAssets:!1}}:{basic:{keywordInTitle:!0,keywordInMetaDescription:!0,keywordInPermalink:!0},advanced:{titleStartWithKeyword:!0,keywordNotUsed:!0}})[e]}},{key:"getGroupTitle",value:function(e){return this.getGroups()[e]}},{key:"getGroups",value:function(){return"post"===rankMath.objectType?{basic:Object(c.__)("Basic SEO","rank-math"),advanced:Object(c.__)("Additional","rank-math"),"title-readability":Object(c.__)("Title Readability","rank-math"),"content-readability":Object(c.__)("Content Readability","rank-math")}:{basic:Object(c.__)("Basic SEO","rank-math"),advanced:Object(c.__)("Additional","rank-math")}}}])&&Pe(t.prototype,r),n&&Pe(t,n),e}();function Ie(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var Se=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,r,n;return t=e,(r=[{key:"setup",value:function(){this.elemMetabox=a()("#cmb2-metabox-rank_math_metabox"),this.resultManager=new o.ResultManager,this.assessor=new l(this.getCollector()),new p.a,this.registerComponents=this.registerComponents.bind(this),Object(s.addAction)("rank_math_loaded","rank-math",this.registerComponents,1)}},{key:"registerComponents",value:function(){this.components={},this.components.SerpPreview=new ue,this.components.socialFields=new pe,this.components.richSnippet=new he,this.components.linkSuggestions=new me,this.components.primaryTerm=new ge,this.components.focusKeywords=new we,this.components.featuredImage=new Oe,this.components.checkLists=new je,rankMathAdmin.variableInserter(!1)}},{key:"refresh",value:function(e){this.assessor.refresh(e)}},{key:"updatePermalink",value:function(e){e=this.assessor.getResearch("slugify")(e),this.assessor.dataCollector.handleSlugChange(e)}},{key:"getPrimaryKeyword",value:function(){return o.Helpers.removeDiacritics(this.components.focusKeywords.getFocusKeywords()[0])}},{key:"getSelectedKeyword",value:function(){var e=this.components.focusKeywords.getSelectedKeyword();return Object(i.isUndefined)(e)?"":o.Helpers.removeDiacritics(this.components.focusKeywords.getSelectedKeyword())}},{key:"getCollector",value:function(){return"post"===rankMath.objectType?Object(d.a)()?new w:new x(this):"term"===rankMath.objectType?new N:"user"===rankMath.objectType?new $:void 0}}])&&Ie(t.prototype,r),n&&Ie(t,n),e}();a()((function(){Object(m.a)(),window.rankMathEditor=new Se,window.rankMathEditor.setup(),window.RankMathApp=new f})),a()(window).on("load",(function(){a.a.when(a.a.ready).then((function(){Object(s.doAction)("rank_math_loaded")}))}))},8:function(e,t){e.exports=rankMathAnalyzer},9:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(2),a=r.n(n);function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var o=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.map=null}var t,r,n;return t=e,(r=[{key:"swap",value:function(e,t){var r=this;if(!(e=e||""))return"";var n=new RegExp(/%(([a-z0-9_-]+)\(([^)]*)\)|[^\s]+)%/,"giu");return e.replace(" %page%","").replace("%sep% %sep%","%sep%").replace(n,(function(e){return r.replace(t,e)})).trim()}},{key:"replace",value:function(e,t){var r=t.toLowerCase().slice(1,-1);return["term_description","user_description"].includes(r)?"undefined"!=typeof tinymce&&tinymce.activeEditor&&"rank_math_description_editor"===tinymce.activeEditor.id?tinymce.activeEditor.getContent():a()("#description").val():r.includes("customfield(")?(r=r.replace("customfield(","").replace(")",""))in rankMath.customFields?rankMath.customFields[r]:"":(e=e||this.getMap(),(r="seo_description"===(r="seo_title"===(r=r.includes("(")?r.split("(")[0]:r)?"title":r)?"excerpt":r)in e?e[r]:"")}},{key:"getMap",value:function(){var e=this;return null!==this.map||(this.map={},a.a.each(rankMath.variables,(function(t,r){t=t.toLowerCase().replace(/%+/g,"").split("(")[0],e.map[t]=r.example}))),this.map}},{key:"setVariable",value:function(e,t){null!==this.map?this.map[e]=t:void 0!==rankMath.variables[e]&&(rankMath.variables[e].example=t)}}])&&i(t.prototype,r),n&&i(t,n),e}())}});
assets/admin/js/elementor.js CHANGED
@@ -1 +1 @@
1
- !function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=81)}([function(e,t){e.exports=wp.i18n},function(e,t){e.exports=lodash},function(e,t){e.exports=jQuery},function(e,t){e.exports=wp.components},function(e,t){e.exports=wp.data},function(e,t){e.exports=wp.element},function(e,t){e.exports=wp.hooks},function(e,t){e.exports=wp.compose},function(e,t){e.exports=rankMathAnalyzer},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(2),a=n.n(r);function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.map=null}var t,n,r;return t=e,(n=[{key:"swap",value:function(e,t){var n=this;if(!(e=e||""))return"";var r=new RegExp(/%(([a-z0-9_-]+)\(([^)]*)\)|[^\s]+)%/,"giu");return e.replace(" %page%","").replace("%sep% %sep%","%sep%").replace(r,(function(e){return n.replace(t,e)})).trim()}},{key:"replace",value:function(e,t){var n=t.toLowerCase().slice(1,-1);return["term_description","user_description"].includes(n)?"undefined"!=typeof tinymce&&tinymce.activeEditor&&"rank_math_description_editor"===tinymce.activeEditor.id?tinymce.activeEditor.getContent():a()("#description").val():n.includes("customfield(")?(n=n.replace("customfield(","").replace(")",""))in rankMath.customFields?rankMath.customFields[n]:"":(e=e||this.getMap(),(n="seo_description"===(n="seo_title"===(n=n.includes("(")?n.split("(")[0]:n)?"title":n)?"excerpt":n)in e?e[n]:"")}},{key:"getMap",value:function(){var e=this;return null!==this.map||(this.map={},a.a.each(rankMath.variables,(function(t,n){t=t.toLowerCase().replace(/%+/g,"").split("(")[0],e.map[t]=n.example}))),this.map}},{key:"setVariable",value:function(e,t){null!==this.map?this.map[e]=t:void 0!==rankMath.variables[e]&&(rankMath.variables[e].example=t)}}])&&o(t.prototype,n),r&&o(t,r),e}())},function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)&&r.length){var i=a.apply(null,r);i&&e.push(i)}else if("object"===o)for(var l in r)n.call(r,l)&&r[l]&&e.push(l)}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(r=function(){return a}.apply(t,[]))||(e.exports=r)}()},function(e,t){e.exports=wp.url},function(e,t){e.exports=wp.blockEditor},,function(e,t,n){"use strict";var r=document.createElement("div");t.a=function(e){return e&&"string"==typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,"").replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,""),r.innerHTML=e,e=r.textContent,r.textContent=""),e}},,function(e,t){e.exports=wp.apiFetch},function(e,t,n){"use strict";n.d(t,"a",(function(){return un}));var r={};n.r(r),n.d(r,"updateKeywords",(function(){return p})),n.d(r,"updatePillarContent",(function(){return m})),n.d(r,"toggleFrontendScore",(function(){return d})),n.d(r,"updateAnalysisScore",(function(){return h})),n.d(r,"updateCanonicalUrl",(function(){return f})),n.d(r,"updateAdvancedRobots",(function(){return b})),n.d(r,"updateRobots",(function(){return g})),n.d(r,"updateBreadcrumbTitle",(function(){return w})),n.d(r,"resetDirtyMetadata",(function(){return y})),n.d(r,"updateFacebookTitle",(function(){return v})),n.d(r,"updateFacebookDescription",(function(){return k})),n.d(r,"updateFacebookImage",(function(){return O})),n.d(r,"updateFacebookImageID",(function(){return _})),n.d(r,"updateFacebookHasOverlay",(function(){return j})),n.d(r,"updateFacebookImageOverlay",(function(){return E})),n.d(r,"updateAppData",(function(){return s})),n.d(r,"updateAppUi",(function(){return u})),n.d(r,"updatePostID",(function(){return T})),n.d(r,"updatePermalink",(function(){return I})),n.d(r,"updateTitle",(function(){return S})),n.d(r,"updateDescription",(function(){return C})),n.d(r,"updateFeaturedImage",(function(){return D})),n.d(r,"updatePrimaryTermID",(function(){return P})),n.d(r,"updateRedirection",(function(){return x})),n.d(r,"updateRedirectionItem",(function(){return N})),n.d(r,"resetRedirection",(function(){return A})),n.d(r,"updateHasRedirect",(function(){return R})),n.d(r,"updateSerpTitle",(function(){return F})),n.d(r,"updateSerpDescription",(function(){return U})),n.d(r,"toggleSnippetEditor",(function(){return L})),n.d(r,"updateSnippetPreviewType",(function(){return H})),n.d(r,"updateTwitterUseFacebook",(function(){return z})),n.d(r,"updateTwitterCardType",(function(){return B})),n.d(r,"updateTwitterTitle",(function(){return G})),n.d(r,"updateTwitterDescription",(function(){return K})),n.d(r,"updateTwitterAuthor",(function(){return V})),n.d(r,"updateTwitterImageID",(function(){return W})),n.d(r,"updateTwitterImage",(function(){return Y})),n.d(r,"updateTwitterHasOverlay",(function(){return q})),n.d(r,"updateTwitterImageOverlay",(function(){return $})),n.d(r,"updateTwitterPlayerUrl",(function(){return Z})),n.d(r,"updateTwitterPlayerSize",(function(){return J})),n.d(r,"updateTwitterPlayerStreamUrl",(function(){return Q})),n.d(r,"updateTwitterPlayerStreamCtype",(function(){return X})),n.d(r,"updateTwitterAppDescription",(function(){return ee})),n.d(r,"updateTwitterAppIphoneID",(function(){return te})),n.d(r,"updateTwitterAppIphoneName",(function(){return ne})),n.d(r,"updateTwitterAppIphoneUrl",(function(){return re})),n.d(r,"updateTwitterAppIpadID",(function(){return ae})),n.d(r,"updateTwitterAppIpadName",(function(){return oe})),n.d(r,"updateTwitterAppIpadUrl",(function(){return ie})),n.d(r,"updateTwitterAppGoogleplayID",(function(){return le})),n.d(r,"updateTwitterAppGoogleplayName",(function(){return ce})),n.d(r,"updateTwitterAppGoogleplayUrl",(function(){return se})),n.d(r,"updateTwitterAppCountry",(function(){return ue})),n.d(r,"toggleLoaded",(function(){return pe})),n.d(r,"updateSelectedKeyword",(function(){return me})),n.d(r,"refreshResults",(function(){return de})),n.d(r,"setVersion",(function(){return he})),n.d(r,"toggleSchemaEditor",(function(){return Oe})),n.d(r,"toggleSchemaTemplates",(function(){return _e})),n.d(r,"setEditingSchemaId",(function(){return je})),n.d(r,"setEditorTab",(function(){return Ee})),n.d(r,"setTemplateTab",(function(){return Te})),n.d(r,"updateEditSchemas",(function(){return Ie})),n.d(r,"updateSchemas",(function(){return Se})),n.d(r,"updateEditSchema",(function(){return Ce})),n.d(r,"saveSchema",(function(){return De})),n.d(r,"deleteSchema",(function(){return Pe})),n.d(r,"saveTemplate",(function(){return xe}));var a={};n.r(a),n.d(a,"appData",(function(){return Le})),n.d(a,"appUi",(function(){return Ke}));var o={};n.r(o),n.d(o,"getAppData",(function(){return Ve})),n.d(o,"getDirtyMetadata",(function(){return We})),n.d(o,"getAnalysisScore",(function(){return Ye})),n.d(o,"getKeywords",(function(){return qe})),n.d(o,"getPillarContent",(function(){return $e})),n.d(o,"getRobots",(function(){return Ze})),n.d(o,"getAdvancedRobots",(function(){return Je})),n.d(o,"getCanonicalUrl",(function(){return Qe})),n.d(o,"getBreadcrumbTitle",(function(){return Xe})),n.d(o,"getRichSnippets",(function(){return et})),n.d(o,"getShowScoreFrontend",(function(){return tt})),n.d(o,"isLoaded",(function(){return nt})),n.d(o,"getSelectedKeyword",(function(){return rt})),n.d(o,"isRefreshing",(function(){return at})),n.d(o,"isPro",(function(){return ot})),n.d(o,"getFacebookTitle",(function(){return it})),n.d(o,"getFacebookDescription",(function(){return lt})),n.d(o,"getFacebookAuthor",(function(){return ct})),n.d(o,"getFacebookImageID",(function(){return st})),n.d(o,"getFacebookImage",(function(){return ut})),n.d(o,"getFacebookHasOverlay",(function(){return pt})),n.d(o,"getFacebookImageOverlay",(function(){return mt})),n.d(o,"getPostID",(function(){return dt})),n.d(o,"getTitle",(function(){return ht})),n.d(o,"getPermalink",(function(){return ft})),n.d(o,"getDescription",(function(){return bt})),n.d(o,"getFeaturedImage",(function(){return gt})),n.d(o,"getFeaturedImageHtml",(function(){return wt})),n.d(o,"getPrimaryTermID",(function(){return yt})),n.d(o,"getRedirectionID",(function(){return vt})),n.d(o,"getRedirectionType",(function(){return kt})),n.d(o,"getRedirectionUrl",(function(){return Ot})),n.d(o,"getRedirectionItem",(function(){return _t})),n.d(o,"hasRedirect",(function(){return jt})),n.d(o,"getSerpTitle",(function(){return Tt})),n.d(o,"getSerpDescription",(function(){return It})),n.d(o,"isSnippetEditorOpen",(function(){return St})),n.d(o,"getSnippetPreviewType",(function(){return Ct})),n.d(o,"isSchemaEditorOpen",(function(){return Dt})),n.d(o,"isSchemaTemplatesOpen",(function(){return Pt})),n.d(o,"getSchemas",(function(){return xt})),n.d(o,"getEditSchemas",(function(){return Nt})),n.d(o,"getEditingSchema",(function(){return At})),n.d(o,"getPreviewSchema",(function(){return Rt})),n.d(o,"getEditorTab",(function(){return Mt})),n.d(o,"getTemplateTab",(function(){return Ft})),n.d(o,"getTwitterUseFacebook",(function(){return Ut})),n.d(o,"getTwitterCardType",(function(){return Lt})),n.d(o,"getTwitterTitle",(function(){return Ht})),n.d(o,"getTwitterDescription",(function(){return zt})),n.d(o,"getTwitterAuthor",(function(){return Bt})),n.d(o,"getTwitterImageID",(function(){return Gt})),n.d(o,"getTwitterImage",(function(){return Kt})),n.d(o,"getTwitterHasOverlay",(function(){return Vt})),n.d(o,"getTwitterImageOverlay",(function(){return Wt})),n.d(o,"getTwitterAppDescription",(function(){return Yt})),n.d(o,"getTwitterAppIphoneID",(function(){return qt})),n.d(o,"getTwitterAppIphoneName",(function(){return $t})),n.d(o,"getTwitterAppIphoneUrl",(function(){return Zt})),n.d(o,"getTwitterAppIpadID",(function(){return Jt})),n.d(o,"getTwitterAppIpadName",(function(){return Qt})),n.d(o,"getTwitterAppIpadUrl",(function(){return Xt})),n.d(o,"getTwitterAppGoogleplayID",(function(){return en})),n.d(o,"getTwitterAppGoogleplayName",(function(){return tn})),n.d(o,"getTwitterAppGoogleplayUrl",(function(){return nn})),n.d(o,"getTwitterAppCountry",(function(){return rn})),n.d(o,"getTwitterPlayerUrl",(function(){return an})),n.d(o,"getTwitterPlayerSize",(function(){return on})),n.d(o,"getTwitterPlayerStream",(function(){return ln})),n.d(o,"getTwitterPlayerStreamCtype",(function(){return cn}));var i=n(4),l=n(9),c=n(6);function s(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return t=Object(c.applyFilters)("rank_math_sanitize_data",t,e,n),null!==r&&(r=Object(c.applyFilters)("rank_math_sanitize_meta_value",r,e,n)),r=null===r?t:r,Object(c.doAction)("rank_math_data_changed",e,t,n),{type:"RANK_MATH_APP_DATA",key:e,value:t,metaKey:n,metaValue:r}}function u(e,t){return Object(c.doAction)("rank_math_update_app_ui",e,t),{type:"RANK_MATH_APP_UI",key:e,value:t}}function p(e){return l.a.setVariable("focuskw",e.split(",")[0]),rankMathEditor.refresh("keyword"),s("keywords",e,"rank_math_focus_keyword")}function m(e){return s("pillarContent",e,"rank_math_pillar_content",!0===e?"on":"off")}function d(e){return s("showScoreFrontend",e,"rank_math_dont_show_seo_score",!0===e?"off":"on")}function h(e){return s("score",e,"rank_math_seo_score")}function f(e){return s("canonicalUrl",e,"rank_math_canonical_url")}function b(e){return s("advancedRobots",e,"rank_math_advanced_robots")}function g(e){return s("robots",e,"rank_math_robots",Object.keys(e))}function w(e){return s("breadcrumbTitle",e,"rank_math_breadcrumb_title")}function y(){return s("dirtyMetadata",{})}function v(e){return s("facebookTitle",e,"rank_math_facebook_title")}function k(e){return s("facebookDescription",e,"rank_math_facebook_description")}function O(e){return s("facebookImage",e,"rank_math_facebook_image")}function _(e){return s("facebookImageID",e,"rank_math_facebook_image_id")}function j(e){return s("facebookHasOverlay",e,"rank_math_facebook_enable_image_overlay",!0===e?"on":"off")}function E(e){return s("facebookImageOverlay",e,"rank_math_facebook_image_overlay")}function T(e){return rankMath.objectID=e,s("postID",e)}function I(e){return s("permalink",e,"permalink")}function S(e){return s("title",e,"rank_math_title")}function C(e){return s("description",e,"rank_math_description")}function D(e){return s("featuredImage",e)}function P(e,t){return s("primaryTerm",parseInt(e),"rank_math_primary_"+t)}function x(e,t){return s(e,t)}function N(e){return u("redirectionItem",e)}function A(){return u("redirectionItem",{})}function R(e){return u("hasRedirect",e)}var M=n(25);function F(e){return e=l.a.swap(""!==e?e:rankMath.assessor.serpData.titleTemplate),rankMathEditor.refresh("title"),u("serpTitle",e)}function U(e){return e=l.a.swap(Object(M.a)(e)),rankMathEditor.refresh("description"),u("serpDescription",e)}function L(e){return u("isSnippetEditorOpen",e)}function H(e){return u("snippetPreviewType",e)}function z(e){return s("twitterUseFacebook",e,"rank_math_twitter_use_facebook",!0===e?"on":"off")}function B(e){return s("twitterCardType",e,"rank_math_twitter_card_type")}function G(e){return s("twitterTitle",e,"rank_math_twitter_title")}function K(e){return s("twitterDescription",e,"rank_math_twitter_description")}function V(e){return s("twitterAuthor",e,"rank_math_twitter_author")}function W(e){return s("twitterImageID",e,"rank_math_twitter_image_id")}function Y(e){return s("twitterImage",e,"rank_math_twitter_image")}function q(e){return s("twitterHasOverlay",e,"rank_math_twitter_enable_image_overlay",!0===e?"on":"off")}function $(e){return s("twitterImageOverlay",e,"rank_math_twitter_image_overlay")}function Z(e){return s("twitterPlayerUrl",e,"rank_math_twitter_player_url")}function J(e){return s("twitterPlayerSize",e,"rank_math_twitter_player_size")}function Q(e){return s("twitterPlayerStream",e,"rank_math_twitter_player_stream")}function X(e){return s("twitterPlayerStreamCtype",e,"rank_math_twitter_player_stream_ctype")}function ee(e){return s("twitterAppDescription",e,"rank_math_twitter_app_description")}function te(e){return s("twitterAppIphoneID",e,"rank_math_twitter_app_iphone_id")}function ne(e){return s("twitterAppIphoneName",e,"rank_math_twitter_app_iphone_name")}function re(e){return s("twitterAppIphoneUrl",e,"rank_math_twitter_app_iphone_url")}function ae(e){return s("twitterAppIpadID",e,"rank_math_twitter_app_ipad_id")}function oe(e){return s("twitterAppIpadName",e,"rank_math_twitter_app_ipad_name")}function ie(e){return s("twitterAppIpadUrl",e,"rank_math_twitter_app_ipad_url")}function le(e){return s("twitterAppGoogleplayID",e,"rank_math_twitter_app_googleplay_id")}function ce(e){return s("twitterAppGoogleplayName",e,"rank_math_twitter_app_googleplay_name")}function se(e){return s("twitterAppGoogleplayUrl",e,"rank_math_twitter_app_googleplay_url")}function ue(e){return s("twitterAppCountry",e,"rank_math_twitter_app_country")}function pe(e){return u("isLoaded",e)}function me(e){return u("selectedKeyword",e)}function de(){return u("refreshResults",Date.now())}function he(){return u("isPro",!0)}var fe=n(1),be=n(0),ge=n(16),we=n.n(ge);function ye(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 ve(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ye(Object(n),!0).forEach((function(t){ke(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ye(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ke(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Oe(e){return u("isSchemaEditorOpen",e)}function _e(e){return u("isSchemaTemplatesOpen",e)}function je(e){return u("editingSchemaId",e)}function Ee(e){return u("editorTab",e)}function Te(e){return u("templateTab",e)}function Ie(e){return u("editSchemas",e)}function Se(e){return s("schemas",e)}function Ce(e,t){var n=ve({},Object(i.select)("rank-math").getEditSchemas());return n[e]=t,u("editSchemas",n)}function De(e,t){var n=ve({},Object(i.select)("rank-math").getSchemas());return n[e]=t,s("schemas",n)}function Pe(e){var t=ve({},Object(i.select)("rank-math").getSchemas());return delete t[e],Object(c.doAction)("rank_math_schema_trash",e),s("schemas",t,"rank_math_delete_"+e,"")}function xe(e,t,n){return we()({method:"POST",path:"rankmath/v1/saveTemplate",data:{schema:e,postId:n}}).then((function(n){t({loading:!1,showNotice:!0,postId:n.id}),setTimeout((function(){t({showNotice:!1}),Object(fe.get)(rankMath,"isTemplateScreen",!1)&&(document.title=Object(be.__)("Edit Schema","rank-math"),window.history.pushState(null,"",n.link.replace(/&amp;/g,"&")))}),2e3),rankMath.schemaTemplates.push({schema:e,title:e.metadata.title,type:e["@type"]})})),t({loading:!0}),{type:"DONT_WANT_TO_DO_SOMETHING"}}function Ne(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 Ae(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ne(Object(n),!0).forEach((function(t){Re(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ne(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Me=rankMath.assessor.serpData,Fe=rankMath.assessor.hasRedirection,Ue={postID:null,title:Me.title?Me.title:Me.titleTemplate,description:Me.description,keywords:Me.focusKeywords,pillarContent:Me.pillarContent,featuredImage:"",permalink:!1,primaryTerm:Me.primaryTerm,robots:Me.robots,advancedRobots:Me.advancedRobots,canonicalUrl:Me.canonicalUrl,breadcrumbTitle:Me.breadcrumbTitle,showScoreFrontend:Me.showScoreFrontend,redirectionID:Fe?Object(fe.get)(rankMath.assessor,"redirection.id",""):"",redirectionType:Fe?Object(fe.get)(rankMath.assessor,"redirection.header_code",""):"",redirectionUrl:Fe?Object(fe.get)(rankMath.assessor,"redirection.url_to",""):"",facebookTitle:Me.facebookTitle,facebookImage:Me.facebookImage,facebookImageID:Me.facebookImageID,facebookAuthor:Me.facebookAuthor,facebookDescription:Me.facebookDescription,facebookHasOverlay:Me.facebookHasOverlay,facebookImageOverlay:Me.facebookImageOverlay,twitterTitle:Me.twitterTitle,twitterImage:Me.twitterImage,twitterAuthor:Me.twitterAuthor,twitterImageID:Me.twitterImageID,twitterCardType:Me.twitterCardType,twitterUseFacebook:Me.twitterUseFacebook,twitterDescription:Me.twitterDescription,twitterHasOverlay:Me.twitterHasOverlay,twitterImageOverlay:Me.twitterImageOverlay,twitterPlayerUrl:Me.twitterPlayerUrl,twitterPlayerSize:Me.twitterPlayerSize,twitterPlayerStream:Me.twitterPlayerStream,twitterPlayerStreamCtype:Me.twitterPlayerStreamCtype,twitterAppDescription:Me.twitterAppDescription,twitterAppIphoneName:Me.twitterAppIphoneName,twitterAppIphoneID:Me.twitterAppIphoneID,twitterAppIphoneUrl:Me.twitterAppIphoneUrl,twitterAppIpadName:Me.twitterAppIpadName,twitterAppIpadID:Me.twitterAppIpadID,twitterAppIpadUrl:Me.twitterAppIpadUrl,twitterAppGoogleplayName:Me.twitterAppGoogleplayName,twitterAppGoogleplayID:Me.twitterAppGoogleplayID,twitterAppGoogleplayUrl:Me.twitterAppGoogleplayUrl,twitterAppCountry:Me.twitterAppCountry,schemas:Object(fe.get)(rankMath,"schemas",{}),score:0,dirtyMetadata:{}};function Le(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ue,n=arguments.length>1?arguments[1]:void 0,r=Ae({},t.dirtyMetadata);return!1!==n.metaKey&&(r[n.metaKey]=n.metaValue),"RANK_MATH_APP_DATA"===n.type?"dirtyMetadata"===n.key?Ae(Ae({},t),{},{dirtyMetadata:n.value}):Ae(Ae({},t),{},(Re(e={},n.key,n.value),Re(e,"dirtyMetadata",r),e)):t}function He(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 ze(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?He(Object(n),!0).forEach((function(t){Be(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):He(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Be(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ge={isLoaded:!1,isPro:!1,selectedKeyword:{tag:"",index:0,data:{value:""}},hasRedirect:rankMath.assessor.hasRedirection&&(!Object(fe.isEmpty)(Object(fe.get)(rankMath.assessor,"redirection.id",""))||!Object(fe.isEmpty)(Object(fe.get)(rankMath.assessor,"redirection.url_to",""))),serpTitle:"",serpDescription:"",isSnippetEditorOpen:!1,snippetPreviewType:"",refreshResults:"",redirectionItem:{},editorTab:"",templateTab:"",editSchemas:{},editingSchemaId:"",isSchemaEditorOpen:!1,isSchemaTemplatesOpen:!1};function Ke(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ge,t=arguments.length>1?arguments[1]:void 0;return"RANK_MATH_APP_UI"===t.type?ze(ze({},e),{},Be({},t.key,t.value)):e}function Ve(e){return e.appData}function We(e){return e.appData.dirtyMetadata}function Ye(e){return e.appData.score}function qe(e){return e.appData.keywords}function $e(e){return e.appData.pillarContent}function Ze(e){return e.appData.robots}function Je(e){return e.appData.advancedRobots}function Qe(e){return e.appData.canonicalUrl}function Xe(e){return e.appData.breadcrumbTitle}function et(e){return"todo"}function tt(e){return e.appData.showScoreFrontend}function nt(e){return e.appUi.isLoaded}function rt(e){return e.appUi.selectedKeyword}function at(e){return e.appUi.refreshResults}function ot(e){return e.appUi.isPro}function it(e){return e.appData.facebookTitle}function lt(e){return e.appData.facebookDescription}function ct(e){return e.appData.facebookAuthor}function st(e){return e.appData.facebookImageID}function ut(e){return e.appData.facebookImage}function pt(e){return e.appData.facebookHasOverlay}function mt(e){return""!==e.appData.facebookImageOverlay?e.appData.facebookImageOverlay:"play"}function dt(e){return e.appData.postID}function ht(e){return e.appData.title}function ft(e){return e.appData.permalink}function bt(e){return e.appData.description}function gt(e){return e.appData.featuredImage}function wt(e){var t=e.appData.featuredImage;return'<img src="'.concat(t.source_url,'" alt="').concat(t.alt_text,'" >')}function yt(e){return e.appData.primaryTerm}function vt(e){return e.appData.redirectionID}function kt(e){return e.appData.redirectionType}function Ot(e){return e.appData.redirectionUrl}function _t(e){return e.appUi.redirectionItem}function jt(e){return e.appUi.hasRedirect}var Et=n(14);function Tt(e){return Object(Et.a)(e.appUi.serpTitle)}function It(e){return e.appUi.serpDescription}function St(e){return e.appUi.isSnippetEditorOpen}function Ct(e){return e.appUi.snippetPreviewType}function Dt(e){return e.appUi.isSchemaEditorOpen}function Pt(e){return e.appUi.isSchemaTemplatesOpen}function xt(e){return e.appData.schemas}function Nt(e){return e.appUi.editSchemas}function At(e){return{id:e.appUi.editingSchemaId,data:e.appUi.editSchemas[e.appUi.editingSchemaId]}}function Rt(e){return e.appData.schemas[e.appUi.editingSchemaId]}function Mt(e){return e.appUi.editorTab}function Ft(e){return e.appUi.templateTab}function Ut(e){return e.appData.twitterUseFacebook}function Lt(e){return e.appData.twitterCardType}function Ht(e){return e.appData.twitterTitle}function zt(e){return e.appData.twitterDescription}function Bt(e){return e.appData.twitterAuthor}function Gt(e){return e.appData.twitterImageID}function Kt(e){return e.appData.twitterImage}function Vt(e){return e.appData.twitterHasOverlay}function Wt(e){return""!==e.appData.twitterImageOverlay?e.appData.twitterImageOverlay:"play"}function Yt(e){return e.appData.twitterAppDescription}function qt(e){return e.appData.twitterAppIphoneID}function $t(e){return e.appData.twitterAppIphoneName}function Zt(e){return e.appData.twitterAppIphoneUrl}function Jt(e){return e.appData.twitterAppIpadID}function Qt(e){return e.appData.twitterAppIpadName}function Xt(e){return e.appData.twitterAppIpadUrl}function en(e){return e.appData.twitterAppGoogleplayID}function tn(e){return e.appData.twitterAppGoogleplayName}function nn(e){return e.appData.twitterAppGoogleplayUrl}function rn(e){return e.appData.twitterAppCountry}function an(e){return e.appData.twitterPlayerUrl}function on(e){return e.appData.twitterPlayerSize}function ln(e){return e.appData.twitterPlayerStream}function cn(e){return e.appData.twitterPlayerStreamCtype}var sn=Object(i.registerStore)("rank-math",{reducer:Object(i.combineReducers)(a),selectors:o,actions:r});function un(){return sn}},,function(e,t,n){"use strict";var r=n(1);t.a=function(e,t,n,a){return""===e||Object(r.isUndefined)(t)?t:(t=Object(r.truncate)(t,{length:n,separator:a||" "})).replace(new RegExp(function(e){return e.replace(/[\\^$*+?.()|[\]{}]/g,"\\$&")}(e),"gi"),(function(e){return'<mark className="highlight">'+e+"</mark>"}))}},function(e,t,n){"use strict";t.a=function(e){return 80<e?"good-fk":50<e?"ok-fk":"bad-fk"}},,function(e,t,n){"use strict";var r=n(3),a=Object(r.createSlotFill)("RankMathAfterFocusKeyword"),o=a.Fill,i=a.Slot,l=function(e){var t=e.children,n=e.className;return wp.element.createElement(o,null,wp.element.createElement("div",{className:n},t))};l.Slot=i,t.a=l},function(e,t,n){"use strict";var r=n(3),a=Object(r.createSlotFill)("RankMathAfterEditor"),o=a.Fill,i=a.Slot,l=function(e){var t=e.children,n=e.className;return wp.element.createElement(o,null,wp.element.createElement(r.PanelRow,{className:n},t))};l.Slot=i,t.a=l},function(e,t,n){"use strict";var r=n(3),a=Object(r.createSlotFill)("RankMathAdvancedTab"),o=a.Fill,i=a.Slot,l=function(e){var t=e.children,n=e.className;return wp.element.createElement(o,null,wp.element.createElement(r.PanelRow,{className:n},t))};l.Slot=i,t.a=l},function(e,t,n){"use strict";var r=n(2),a=n.n(r),o=n(8),i=n(1),l=n(6),c=n(9),s=n(14),u=function(e,t){return e=(e=o.Helpers.cleanText(e)).replace(/\r?\n|\r/g," "),t?Object(i.truncate)(e,{length:t,separator:" "}):e};t.a=function(e){var t=rankMathEditor.assessor.dataCollector.getData(),n=t.excerpt,r=t.content?function(e){if(Object(i.isEmpty)(e))return"";e=e.replace(/\[caption[^\]]*\](.*)\[\/caption\]/g,"");var t=Object(i.filter)(o.Helpers.matchParagraphs(e,!0,!0),(function(e){return""!==a.a.trim(e)}));if(!t.length)return"";var n=rankMathEditor.getPrimaryKeyword();if(""!==n){var r=Object(i.filter)(t,(function(e){return Object(i.includes)(e.toLowerCase(),n.toLowerCase())}));if(0<r.length)return u(r[0],160)}return u(t[0],160)}(t.content.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,"")):"",p=Object(i.isUndefined)(n)||Object(i.isEmpty)(n)?r:n;if(c.a.setVariable("excerpt",p),c.a.setVariable("seo_description",p),""!==(e=Object(s.a)(Object(l.applyFilters)("rankMath/description",e))))return o.Helpers.cleanText(e);if(!Object(i.isUndefined)(n)&&!Object(i.isEmpty)(n))return o.Helpers.cleanText(n);var m=rankMath.assessor.serpData.descriptionTemplate;return Object(i.isUndefined)(m)||""===m?r:o.Helpers.cleanText(m)}},function(e,t,n){"use strict";var r=n(0),a=n(6);function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),rankMath.is_front_page&&(Object(a.addFilter)("rankMath_analysis_contentLength","rank-math",this.contentLength),Object(a.addFilter)("rankMath_analysis_contentLength_boundaries","rank-math",this.contentLengthBoundary))}var t,n,i;return t=e,(n=[{key:"contentLength",value:function(e){return{hasScore:e.hasScore,failed:Object(r.__)("Content is %1$d words long. Consider using at least 300 words.","rank-math"),tooltipText:Object(r.__)("Minimum recommended content length should be 300 words.","rank-math"),emptyContent:Object(r.sprintf)(Object(r.__)("Content should be %1$s long.","rank-math"),'<a href="https://s.rankmath.com/100contentlength" target="_blank">'+Object(r.__)("300 words","rank-math")+"</a>")}}},{key:"contentLengthBoundary",value:function(){return{recommended:{boundary:299,score:8},belowRecommended:{boundary:200,score:5},low:{boundary:50,score:2}}}}])&&o(t.prototype,n),i&&o(t,i),e}();t.a=i},function(e,t,n){"use strict";var r=n(1),a=n(14);function o(e,t,n){var a=0;return!1!==Object(r.get)(n,"pixelWidth",!1)&&(a=Math.min(100,Math.floor(t/n.pixelWidth*100))),Math.max(Math.min(100,Math.floor(e/n.max*100)),a)+"%"}function i(e,t){return e<=t.min||e>t.max}function l(e,t){return e<=t.minWidth||e>t.pixelWidth}t.a=function(e,t){var n=Object(a.a)(e).length,c=0,s=!1;if(!1!==Object(r.get)(t,"pixelWidth",!1)){s=!0;var u=document.createTextNode(e),p=document.createElement("span");p.appendChild(u),p.id="rank-math-width-tester",p.className=t.widthCheckerClass;var m=document.body.appendChild(p);c=document.getElementById("rank-math-width-tester").offsetWidth,m.outerHTML=""}return{left:o(n,c,t),isInvalid:i(n,t),isInvalidWidth:!!s&&l(c,t),count:n+" / "+t.max,pixelWidth:s?c+"px / "+t.pixelWidth+"px":""}}},function(e,t){e.exports=Tagify},function(e,t,n){"use strict";var r=n(1);t.a=function(e,t){var n=Object(r.round)(e/t*100);if(!(100<=n))return 49<n?"test-check-good":30<n?"test-check-ok":"test-check-bad"}},function(e,t){e.exports=wp.htmlEntities},,function(e,t,n){"use strict";var r=n(4),a=n(20);t.a=Object(r.withSelect)((function(e){var t=e("rank-math");return{score:t.getAnalysisScore(),isRefreshing:t.isRefreshing()}}))((function(e){var t=e.score;return wp.element.createElement("div",{className:"seo-score "+Object(a.a)(t)},wp.element.createElement("div",{className:"score-text"},t," / 100"))}))},,function(e,t){e.exports=React},function(e,t,n){"use strict";function r(e){return function(){return e}}var a=function(){};a.thatReturns=r,a.thatReturnsFalse=r(!1),a.thatReturnsTrue=r(!0),a.thatReturnsNull=r(null),a.thatReturnsThis=function(){return this},a.thatReturnsArgument=function(e){return e},e.exports=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="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},a=l(n(34)),o=l(n(42)),i=l(n(45));function l(e){return e&&e.__esModule?e:{default:e}}var c=void 0;function s(e,t){var n,i,l,u,p,m,d,h,f=[],b={};for(m=0;m<e.length;m++)if("string"!==(p=e[m]).type){if(!t.hasOwnProperty(p.value)||void 0===t[p.value])throw new Error("Invalid interpolation, missing component node: `"+p.value+"`");if("object"!==r(t[p.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+p.value+"`","\n> "+c);if("componentClose"===p.type)throw new Error("Missing opening component token: `"+p.value+"`");if("componentOpen"===p.type){n=t[p.value],l=m;break}f.push(t[p.value])}else f.push(p.value);return n&&(u=function(e,t){var n,r,a=t[e],o=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===a.value){if("componentOpen"===n.type){o++;continue}if("componentClose"===n.type){if(0===o)return r;o--}}throw new Error("Missing closing component token `"+a.value+"`")}(l,e),d=s(e.slice(l+1,u),t),i=a.default.cloneElement(n,{},d),f.push(i),u<e.length-1&&(h=s(e.slice(u+1),t),f=f.concat(h))),1===f.length?f[0]:(f.forEach((function(e,t){e&&(b["interpolation-child-"+t]=e)})),(0,o.default)(b))}t.default=function(e){var t=e.mixedString,n=e.components,a=e.throwErrors;if(c=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(a)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var o=(0,i.default)(t);try{return s(o,n)}catch(e){if(a)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},,,function(e,t,n){"use strict";var r=n(0),a=n(4),o=n(6),i=n(5),l=n(10),c=n.n(l),s=n(1),u=n(7),p=n(3);function m(e){return(m="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})(e)}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=y(e);if(t){var a=y(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return w(this,n)}}function w(e,t){return!t||"object"!==m(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function v(){return(v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function k(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var O=function(e){var t=e.tabId,n=e.onClick,r=e.children,a=e.selected,o=k(e,["tabId","onClick","children","selected"]);return wp.element.createElement(p.Button,v({role:"tab",tabIndex:a?null:-1,"aria-selected":a,id:t,onClick:n},o),r)},_=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b(e,t)}(o,e);var t,n,r,a=g(o);function o(){var e;h(this,o),(e=a.apply(this,arguments)).handleClick=function(t){var n=e.props.onSelect,r=void 0===n?s.noop:n;e.setState({selected:t}),r(t)},e.onNavigate=function(e,t){t.click()},e.toggle=function(){e.setState((function(e){return{isOpen:!e.isOpen}}))};var t=e.props,n=t.tabs,r=t.initialTabName;return e.state={isOpen:!1,selected:r||(n.length>0?n[0].name:null)},e}return t=o,(n=[{key:"render",value:function(){var e=this,t=this.state.selected,n=this.props,r=n.activeClass,a=void 0===r?"is-active":r,o=n.className,i=n.instanceId,l=n.orientation,u=void 0===l?"horizontal":l,m=n.tabs,h=Object(s.find)(m,{name:t}),f=i+"-"+h.name,b=m.slice(4);return wp.element.createElement("div",{className:o},wp.element.createElement(p.NavigableMenu,{role:"tablist",orientation:u,onNavigate:this.onNavigate,className:"components-tab-panel__tabs"},m.slice(0,4).map((function(n){return wp.element.createElement(O,{className:c()("components-tab-panel__tabs-item",n.className,d({},a,n.name===t)),tabId:i+"-"+n.name,"aria-controls":i+"-"+n.name+"-view",selected:n.name===t,key:n.name,onClick:Object(s.partial)(e.handleClick,n.name)},n.title)})),!Object(s.isEmpty)(b)&&wp.element.createElement(p.Button,{onClick:this.toggle,"aria-expanded":this.state.isOpen,className:c()("components-tab-panel__tabs-item",{active:this.state.isOpen})},wp.element.createElement("i",{className:"rm-icon rm-icon-plus"}),wp.element.createElement("span",null,"More")),this.state.isOpen&&wp.element.createElement("div",{className:"rank-math-extra-menu"},b.map((function(n){return wp.element.createElement(O,{className:c()("components-tab-panel__tabs-item",n.className,d({},a,n.name===t)),tabId:i+"-"+n.name,"aria-controls":i+"-"+n.name+"-view",selected:n.name===t,key:n.name,onClick:Object(s.partial)(e.handleClick,n.name)},n.title)})))),h&&wp.element.createElement("div",{"aria-labelledby":f,role:"tabpanel",id:f+"-view",className:"components-tab-panel__tab-content"},this.props.children(h)))}}])&&f(t.prototype,n),r&&f(t,r),o}(i.Component),j=Object(u.withInstanceId)(_),E=n(27),T=function(e){var t=Object(E.a)(e.source,e),n=t.pixelWidth?" (".concat(t.pixelWidth,")"):"";return wp.element.createElement("span",{className:c()("length-indicator-wrapper",{invalid:t.isInvalid})},wp.element.createElement("span",{className:"length-count"},t.count,n),wp.element.createElement("span",{className:"length-indicator"},wp.element.createElement("span",{style:{left:t.left}})))},I=n(30),S=n(36),C=n.n(S),D=function(e){var t=e.tags,n=e.components,r=e.children;return n=n||{},!1===Object(s.isUndefined)(t)&&(t=t.split(",")).forEach((function(e){var t=e;n[e]=wp.element.createElement(t,null)})),C()({mixedString:r,components:n})};function P(e){return(P="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})(e)}function x(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function A(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=F(e);if(t){var a=F(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return R(this,n)}}function R(e,t){return!t||"object"!==P(t)&&"function"!=typeof t?M(e):t}function M(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F(e){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var U=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&N(e,t)}(l,e);var t,n,a,o=A(l);function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=o.call(this,e)).state={},t.state.variables=t.getFiltered(),t.state.filtered=t.state.variables,t.state.display="none",t.state.isOpen=!1,t.handleOutsideClick=t.handleOutsideClick.bind(M(t)),t}return t=l,(n=[{key:"getFiltered",value:function(){var e=this.props.exclude,t=Object.values(rankMath.variables);return Object(s.isUndefined)(e)?t:t.filter((function(t){return!e.includes(t.variable)}))}},{key:"render",value:function(){var e=this;return wp.element.createElement(i.Fragment,null,wp.element.createElement("div",{className:"rank-math-variables-dropdown",style:{display:this.state.display},ref:function(t){e.node=t}},wp.element.createElement(p.TextControl,{autoComplete:"off",placeholder:Object(I.decodeEntities)(Object(r.__)("Search &hellip;","rank-math")),onChange:function(t){e.handleSearch(t)}}),wp.element.createElement("ul",null,this.state.filtered.map((function(t,n){return wp.element.createElement("li",{key:n,"data-var":t.variable,role:"presentation",onClick:function(){e.props.onClick(t)}},wp.element.createElement("strong",null,t.name),wp.element.createElement("span",null,wp.element.createElement(D,{tags:"strong"},t.description.replace("<strong>","{{strong}}").replace("</strong>","{{/strong}}"))))}),this))),wp.element.createElement(p.Button,{icon:"arrow-down-alt2",onClick:function(){e.toggle()}}))}},{key:"toggle",value:function(){this.state.isOpen?document.removeEventListener("click",this.handleOutsideClick,!1):document.addEventListener("click",this.handleOutsideClick,!1),this.setState({display:this.state.isOpen?"none":"block",isOpen:!this.state.isOpen})}},{key:"handleOutsideClick",value:function(e){this.node.contains(e.target)||this.toggle()}},{key:"handleSearch",value:function(e){var t=e.toLowerCase();2>t.length?this.setState({filtered:this.state.variables}):this.setState({filtered:this.state.variables.filter((function(e){return-1!==Object.values(e).join(" ").toLowerCase().indexOf(t)}))})}}])&&x(t.prototype,n),a&&x(t,a),l}(i.Component),L=Object(u.compose)(Object(a.withSelect)((function(e){var t=e("rank-math");return{title:t.getTitle(),serpTitle:t.getSerpTitle()}})),Object(a.withDispatch)((function(e){return{updateTitle:function(t){e("rank-math").updateSerpTitle(t),e("rank-math").updateTitle(t)}}})))((function(e){var t=e.title,n=e.serpTitle,a=e.updateTitle;return wp.element.createElement("div",{className:"field-group"},wp.element.createElement("label",{htmlFor:"rank-math-editor-title"},Object(r.__)("Title","rank-math")),wp.element.createElement(T,{source:n,min:15,max:60,pixelWidth:580,widthCheckerClass:"title"}),wp.element.createElement("div",{className:"variable-group"},wp.element.createElement(p.TextControl,{id:"rank-math-editor-title",value:t,placeholder:rankMath.assessor.serpData.titleTemplate,help:Object(r.__)("This is what will appear in the first line when this post shows up in the search results.","rank-math"),onChange:a}),wp.element.createElement(U,{exclude:["seo_title","seo_description"],onClick:function(e){return a(t+" %"+e.variable+"%")}})))})),H=n(8),z=n(11),B=Object(u.compose)(Object(a.withSelect)((function(){var e=rankMathEditor.assessor.dataCollector;return{permalink:e.getSlug(),serpPermalink:e.getPermalink()}})),Object(a.withDispatch)((function(){return{updatePermalink:function(e){rankMathEditor.updatePermalink(H.Helpers.sanitizeText(e))},updatePermalinkSanitize:function(e){rankMathEditor.updatePermalinkSanitize(H.Helpers.sanitizeText(e))}}})))((function(e){var t=e.permalink,n=e.serpPermalink,a=e.updatePermalink,o=e.updatePermalinkSanitize;return wp.element.createElement("div",{className:"field-group"},wp.element.createElement("label",{htmlFor:"rank-math-editor-permalink"},Object(r.__)("Permalink","rank-math")),wp.element.createElement(T,{source:Object(z.safeDecodeURIComponent)(n),min:5,max:75}),wp.element.createElement(p.TextControl,{id:"rank-math-editor-permalink",value:rankMath.is_front_page?"/":Object(z.safeDecodeURIComponent)(t),onChange:a,help:rankMath.is_front_page?Object(r.__)("Editing Homepage permalink is not possible.","rank-math"):Object(r.__)("This is the unique URL of this page, displayed below the post title in the search results.","rank-math"),disabled:rankMath.is_front_page?"disabled":"",onBlur:function(e){o(e.target.value)}}))})),G=n(14),K=Object(u.compose)(Object(a.withSelect)((function(e){var t=e("rank-math");return{description:t.getDescription(),serpDescription:t.getSerpDescription()}})),Object(a.withDispatch)((function(e){return{updateDescription:function(t){e("rank-math").updateSerpDescription(t),e("rank-math").updateDescription(t)}}})))((function(e){var t=e.description,n=e.serpDescription,a=e.updateDescription;return wp.element.createElement("div",{className:"field-group"},wp.element.createElement("label",{htmlFor:"rank-math-editor-description"},Object(r.__)("Description","rank-math")),wp.element.createElement(T,{source:n,min:80,max:160,pixelWidth:920,widthCheckerClass:"description"}),wp.element.createElement("div",{className:"variable-group"},wp.element.createElement(p.TextareaControl,{id:"rank-math-editor-description",value:Object(G.a)(t),placeholder:n||rankMath.assessor.serpData.descriptionTemplate,help:Object(r.__)("This is what will appear as the description when this post shows up in the search results.","rank-math"),onChange:a}),wp.element.createElement(U,{exclude:["seo_title","seo_description"],onClick:function(e){return a(t+" %"+e.variable+"%")}})))})),V=Object(u.compose)(Object(a.withSelect)((function(e){return{type:e("rank-math").getSnippetPreviewType()}})),Object(a.withDispatch)((function(e,t){return{updatePreviewType:function(n){e("rank-math").updateSnippetPreviewType(n===t.type?"":n)}}})))((function(e){var t=e.type,n=e.updatePreviewType,r=c()("button button-secondary button-small",{active:"desktop"===t}),a=c()("button button-secondary button-small",{active:"mobile"===t});return wp.element.createElement("div",{className:"rank-math-button-devices alignright"},wp.element.createElement("div",{onClick:function(){return n("desktop")},className:r},wp.element.createElement("i",{className:"rm-icon rm-icon-desktop"})),wp.element.createElement("div",{onClick:function(){return n("mobile")},className:a},wp.element.createElement("i",{className:"rm-icon rm-icon-mobile"})))})),W=n(32),Y=n(19),q=function(e,t){for(var n=[],r=1;r<=e;r++)n.push(wp.element.createElement(p.Dashicon,{key:Math.random(),size:"13",icon:"star-"+t}));return n},$=Object(a.withSelect)((function(e){var t=e("rank-math").getSchemas();return{schema:Object(s.find)(t,(function(e){return!Object(s.isEmpty)(e.metadata.isPrimary)}))}}))((function(e){var t=e.schema;if(Object(s.isEmpty)(t))return null;var n=Object(s.get)(t,"review.reviewRating",{}),a=n.ratingValue;if(Object(s.isEmpty)(a))return null;Object(s.get)(n,"worstRating",1);var o=Object(s.get)(n,"bestRating",5);return wp.element.createElement("div",{className:"rank-math-rating-preview"},wp.element.createElement("div",{className:"serp-ratings"},q(o,"filled"),function(e,t,n){return e*=100/n,wp.element.createElement("div",{className:"serp-result",style:{width:e+"%"}},q(n,"filled"))}(a,0,o)),wp.element.createElement("span",{className:"serp-rating-label"},Object(r.__)("Rating: ","rank-math")),wp.element.createElement("span",{className:"serp-rating-value"},a))})),Z=function(e,t){for(var n=[],r=1;r<=e;r++)n.push(wp.element.createElement(p.Dashicon,{key:Math.random(),size:"13",icon:"star-"+t}));return n},J=Object(a.withSelect)((function(e){var t=e("rank-math").getSchemas();return{schema:Object(s.find)(t,(function(e){return Object(s.includes)(["Event"],e["@type"])}))}}))((function(e){var t=e.schema;if(Object(s.isEmpty)(t))return null;var n=Object(s.get)(t,"review.reviewRating",{}),a=n.ratingValue;if(Object(s.isEmpty)(a))return null;Object(s.get)(n,"worstRating",1);var o=Object(s.get)(n,"bestRating",5);return wp.element.createElement("div",{className:"rank-math-rating-preview"},wp.element.createElement("div",{className:"serp-ratings"},Z(o,"filled"),function(e,t,n){return e*=100/n,wp.element.createElement("div",{className:"serp-result",style:{width:e+"%"}},Z(n,"filled"))}(a,0,o)),wp.element.createElement("span",{className:"serp-rating-label"},Object(r.__)("Rating: ","rank-math")),wp.element.createElement("span",{className:"serp-rating-value"},a))}));function Q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var X=Object(a.withSelect)((function(e){var t=e("rank-math"),n=t.getRobots();return{title:t.getSerpTitle(),permalink:rankMathEditor.assessor.dataCollector.getPermalink(),description:t.getSerpDescription(),previewType:t.getSnippetPreviewType(),isNoIndex:"noindex"in n,keyword:t.getSelectedKeyword().data.value}}))((function(e){var t,n=e.title,a=e.permalink,o=e.description,i=e.previewType,l=void 0===i?"desktop":i,s=e.isNoIndex,u=e.keyword,p=e.onClick,m=e.showScore,d=void 0===m||m,h=e.showDevices,f=void 0!==h&&h,b=c()("serp-preview",(Q(t={"expanded-preview":""!==l},"".concat(l,"-preview"),""!==l&&f),Q(t,"noindex-preview",s),t)),g=rankMathEditor.assessor.getResearch("slugify")(u);return wp.element.createElement("div",{className:b},wp.element.createElement("div",{className:"serp-preview-title","data-title":Object(r.__)("Preview","rank-math"),"data-desktop":Object(r.__)("Desktop Preview","rank-math"),"data-mobile":Object(r.__)("Mobile Preview","rank-math")},d&&wp.element.createElement(W.a,null)," ",f&&wp.element.createElement(V,null)),wp.element.createElement("div",{className:"serp-preview-wrapper"},wp.element.createElement("div",{className:"serp-preview-bg"},wp.element.createElement("div",{className:"serp-preview-input"},wp.element.createElement("input",{type:"text",value:u||Object(r.__)("Rank Math","rank-math"),disabled:!0}),wp.element.createElement("span",{className:"serp-icon-search"},wp.element.createElement("svg",{focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},wp.element.createElement("path",{d:"M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}))),wp.element.createElement("span",{className:"serp-icon-mic"})),wp.element.createElement("div",{className:"serp-preview-menus"},wp.element.createElement("ul",null,wp.element.createElement("li",{className:"current"},wp.element.createElement("img",{src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgyNHYyNEgweiIvPjxwYXRoIGZpbGw9IiMzNEE4NTMiIGQ9Ik0xMCAydjJhNiA2IDAgMCAxIDYgNmgyYTggOCAwIDAgMC04LTh6Ii8+PHBhdGggZmlsbD0iI0VBNDMzNSIgZD0iTTEwIDRWMmE4IDggMCAwIDAtOCA4aDJjMC0zLjMgMi43LTYgNi02eiIvPjxwYXRoIGZpbGw9IiNGQkJDMDQiIGQ9Ik00IDEwSDJhOCA4IDAgMCAwIDggOHYtMmMtMy4zIDAtNi0yLjY5LTYtNnoiLz48cGF0aCBmaWxsPSIjNDI4NUY0IiBkPSJNMjIgMjAuNTlsLTUuNjktNS42OUE3Ljk2IDcuOTYgMCAwIDAgMTggMTBoLTJhNiA2IDAgMCAxLTYgNnYyYzEuODUgMCAzLjUyLS42NCA0Ljg4LTEuNjhsNS42OSA1LjY5TDIyIDIwLjU5eiIvPjwvc3ZnPgo=",alt:"","data-atf":"1"}),Object(r.__)("All","rank-math")),wp.element.createElement("li",null,wp.element.createElement("svg",{focusable:"false",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),wp.element.createElement("path",{d:"M14 13l4 5H6l4-4 1.79 1.78L14 13zm-6.01-2.99A2 2 0 0 0 8 6a2 2 0 0 0-.01 4.01zM22 5v14a3 3 0 0 1-3 2.99H5c-1.64 0-3-1.36-3-3V5c0-1.64 1.36-3 3-3h14c1.65 0 3 1.36 3 3zm-2.01 0a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h7v-.01h7a1 1 0 0 0 1-1V5z"}))," ",Object(r.__)("Images","rank-math")),wp.element.createElement("li",null,wp.element.createElement("svg",{focusable:"false",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{clipRule:"evenodd",d:"M0 0h24v24H0z",fill:"none"}),wp.element.createElement("path",{clipRule:"evenodd",d:"M10 16.5l6-4.5-6-4.5v9zM5 20h14a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1zm14.5 2H5a3 3 0 0 1-3-3V4.4A2.4 2.4 0 0 1 4.4 2h15.2A2.4 2.4 0 0 1 22 4.4v15.1a2.5 2.5 0 0 1-2.5 2.5z",fillRule:"evenodd"}))," ",Object(r.__)("Videos","rank-math")),wp.element.createElement("li",null,wp.element.createElement("svg",{focusable:"false",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),wp.element.createElement("path",{d:"M12 11h6v2h-6v-2zm-6 6h12v-2H6v2zm0-4h4V7H6v6zm16-7.22v12.44c0 1.54-1.34 2.78-3 2.78H5c-1.64 0-3-1.25-3-2.78V5.78C2 4.26 3.36 3 5 3h14c1.64 0 3 1.25 3 2.78zM19.99 12V5.78c0-.42-.46-.78-1-.78H5c-.54 0-1 .36-1 .78v12.44c0 .42.46.78 1 .78h14c.54 0 1-.36 1-.78V12zM12 9h6V7h-6v2z"}))," ",Object(r.__)("News","rank-math")),wp.element.createElement("li",null,wp.element.createElement("svg",{focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},wp.element.createElement("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}))," ","More")),wp.element.createElement("ul",{className:"menus-right"},wp.element.createElement("li",null,Object(r.__)("Settings","rank-math")),wp.element.createElement("li",null,Object(r.__)("Tools","rank-math")))),wp.element.createElement("div",{className:"serp-preview-result-stats"},Object(r.__)("About 43,700,000 results (0.32 seconds) ","rank-math"))),wp.element.createElement("div",{className:"serp-preview-body",role:"button",tabIndex:0,onClick:function(){p&&p()}},wp.element.createElement("div",{className:"group"},wp.element.createElement("img",{src:rankMath.siteFavIcon,width:"16",height:"16",className:"serp-preview-favicon",alt:""}),wp.element.createElement("div",{className:"serp-url",dangerouslySetInnerHTML:{__html:Object(Y.a)(g,H.Helpers.sanitizeText(Object(z.safeDecodeURIComponent)(a)),75,/-? +/)}})),wp.element.createElement("div",{className:"group"},wp.element.createElement("h5",{className:"serp-title",dangerouslySetInnerHTML:{__html:Object(Y.a)(u,H.Helpers.sanitizeText(n),60)}})),wp.element.createElement($,null),wp.element.createElement("div",{className:"group"},wp.element.createElement("div",{className:"serp-description",dangerouslySetInnerHTML:{__html:Object(Y.a)(u,H.Helpers.sanitizeText(o),160)}})),wp.element.createElement(J,null)),wp.element.createElement("div",{className:"serp-preview-noindex"},wp.element.createElement("h3",null,Object(r.__)("Noindex robots meta is enabled","rank-math")),wp.element.createElement("p",null,Object(r.__)("This page will not appear in search results. You can disable noindex in the Advanced tab.","rank-math")))))})),ee=Object(a.withSelect)((function(e){return{isNoIndex:"noindex"in e("rank-math").getRobots()}}))((function(){return wp.element.createElement("div",{className:"rank-math-editor-general"},wp.element.createElement(X,{showScore:!1,showDevices:!0}),wp.element.createElement(L,null),wp.element.createElement(B,null),wp.element.createElement(K,null))})),te=n(9),ne=function(e){var t=c()("rank-math-social-preview","rank-math-social-preview-"+e.network,e.cardType);return wp.element.createElement("div",{className:t},wp.element.createElement("div",{className:"rank-math-social-preview-item"},wp.element.createElement("div",{className:"rank-math-social-preview-meta"},wp.element.createElement("div",{className:"social-profile-image"}),e.children),wp.element.createElement("div",{className:"rank-math-social-preview-item-wrapper"},wp.element.createElement("div",{className:"rank-math-social-preview-image"},wp.element.createElement("img",{className:"rank-math-social-image-thumbnail",src:e.image,alt:""}),e.hasOverlay&&e.imageOverlay&&wp.element.createElement("img",{src:rankMath.overlayImages[e.imageOverlay].url,className:"rank-math-social-preview-image-overlay overlay-position-"+rankMath.overlayImages[e.imageOverlay].position,alt:""})),wp.element.createElement("div",{className:"rank-math-social-preview-caption"},"facebook"===e.network&&wp.element.createElement("h4",{className:"rank-math-social-preview-publisher"},e.siteurl),wp.element.createElement("h3",{className:"rank-math-social-preview-title"},e.title?te.a.swap(e.title):e.serpTitle),wp.element.createElement("p",{className:"rank-math-social-preview-description"},e.description?te.a.swap(e.description):e.serpDescription),"twitter"===e.network&&wp.element.createElement(i.Fragment,null,wp.element.createElement("h4",{className:"rank-math-social-preview-publisher"},wp.element.createElement(p.Dashicon,{icon:"admin-links"}),e.siteurl))))))},re=n(12),ae=function(e){return wp.element.createElement("div",{className:"components-base-control field-group"},wp.element.createElement(re.MediaUpload,{allowedTypes:["image"],multiple:!1,value:e.imageID,render:function(t){var n=t.open;return wp.element.createElement(i.Fragment,null,wp.element.createElement(p.Button,{onClick:n,className:"button",isPrimary:!0},e.imageID>0?Object(r.__)("Replace Image","rank-math"):Object(r.__)("Add Image","rank-math")),e.imageID>0&&wp.element.createElement(p.Button,{className:"button",isDestructive:!0,isLink:!0,onClick:e.removeImage},Object(r.__)("Remove Image","rank-math")))},onSelect:e.updateImage}),wp.element.createElement("p",{className:"components-base-control__help"},Object(r.__)("Upload at least 600x315px image. Recommended size is 1200x630px.","rank-math")),wp.element.createElement("div",{className:"notice notice-warning inline hidden"},wp.element.createElement("p",null,Object(r.__)("Image is smaller than the minimum size, please select a different image.","rank-math"))))};function oe(){var e=rankMath.overlayImages,t=[];return Object.keys(e).forEach((function(n){t.push({label:e[n].name,value:n})})),t}function ie(){return(ie=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var le=Object(u.compose)(Object(a.withSelect)((function(e){var t=e("rank-math"),n=function(){if(t.getFacebookImage())return t.getFacebookImage();var e=t.getFeaturedImage();return Object(s.isUndefined)(e)||""===e?rankMath.defautOgImage:t.getFeaturedImage().source_url}();return{title:t.getFacebookTitle(),description:t.getFacebookDescription(),serpTitle:t.getSerpTitle(),serpDescription:t.getSerpDescription(),author:t.getFacebookAuthor(),image:n,imageID:t.getFacebookImageID(),hasOverlay:t.getFacebookHasOverlay(),imageOverlay:t.getFacebookImageOverlay()}})),Object(a.withDispatch)((function(e){return{removeImage:function(){e("rank-math").updateFacebookImage(""),e("rank-math").updateFacebookImageID(0),e("rank-math").updateFacebookHasOverlay(!1)},updateImage:function(t){e("rank-math").updateFacebookImage(t.url),e("rank-math").updateFacebookImageID(t.id)},updateTitle:function(t){e("rank-math").updateFacebookTitle(t)},updateDescription:function(t){e("rank-math").updateFacebookDescription(t)},updateImageOverlay:function(t){e("rank-math").updateFacebookImageOverlay(t)},toggleOverlay:function(t){e("rank-math").updateFacebookHasOverlay(t)}}})))((function(e){return wp.element.createElement(i.Fragment,null,wp.element.createElement(ne,ie({},e,{network:"facebook",siteurl:rankMath.parentDomain}),wp.element.createElement("div",{className:"social-name"},rankMath.assessor.serpData.authorName),wp.element.createElement("div",{className:"social-time"},wp.element.createElement("span",null,Object(r.__)("2 hrs","rank-math")),wp.element.createElement("span",null,wp.element.createElement(p.Dashicon,{icon:"admin-site",size:"12"})))),wp.element.createElement("div",{className:"notice notice-alt notice-info components-base-control"},wp.element.createElement("p",null,Object(r.__)("Customize the title, description and images of your post used while sharing on Facebook and Twitter.","rank-math")," ",wp.element.createElement("a",{href:"https://rankmath.com/kb/meta-box-social-tab/",target:"_blank",rel:"noreferrer noopener"},Object(r.__)("Read more","rank-math")))),wp.element.createElement(ae,e),wp.element.createElement("div",{className:"field-group"},wp.element.createElement(p.TextControl,{label:Object(r.__)("Title","rank-math"),value:e.title,placeholder:e.serpTitle,onChange:e.updateTitle})),wp.element.createElement("div",{className:"field-group"},wp.element.createElement(p.TextareaControl,{label:Object(r.__)("Description","rank-math"),value:e.description,placeholder:e.serpDescription,onChange:e.updateDescription})),wp.element.createElement("div",{className:"field-group"},wp.element.createElement(p.ToggleControl,{label:Object(r.__)("Add icon overlay to thumbnail","rank-math"),checked:e.hasOverlay,onChange:e.toggleOverlay}),wp.element.createElement("div",{className:e.hasOverlay?"components-base-control":"hidden"},wp.element.createElement(p.SelectControl,{value:e.imageOverlay,label:Object(r.__)("Icon overlay","rank-math"),options:oe(),onChange:e.updateImageOverlay}),wp.element.createElement("div",{className:"notice notice-alt notice-warning"},wp.element.createElement("p",null,Object(r.__)("Please be careful with this option. Although this option will help increase CTR on Facebook, it might get you penalised if over-used.","rank-math"))))))})),ce=Object(u.compose)(Object(a.withSelect)((function(e){var t=e("rank-math");return{country:t.getTwitterAppCountry(),description:t.getTwitterAppDescription(),iphoneName:t.getTwitterAppIphoneName(),iphoneID:t.getTwitterAppIphoneID(),iphoneUrl:t.getTwitterAppIphoneUrl(),ipadName:t.getTwitterAppIpadName(),ipadID:t.getTwitterAppIpadID(),ipadUrl:t.getTwitterAppIpadUrl(),googleplayName:t.getTwitterAppGoogleplayName(),googleplayID:t.getTwitterAppGoogleplayID(),googleplayUrl:t.getTwitterAppGoogleplayUrl()}})),Object(a.withDispatch)((function(e){return{updateAppIphoneName:function(t){e("rank-math").updateTwitterAppIphoneName(t)},updateAppIphoneID:function(t){e("rank-math").updateTwitterAppIphoneID(t)},updateAppIphoneUrl:function(t){e("rank-math").updateTwitterAppIphoneUrl(t)},updateAppIpadName:function(t){e("rank-math").updateTwitterAppIpadName(t)},updateAppIpadID:function(t){e("rank-math").updateTwitterAppIpadID(t)},updateAppIpadUrl:function(t){e("rank-math").updateTwitterAppIpadUrl(t)},updateAppGoogleplayName:function(t){e("rank-math").updateTwitterAppGoogleplayName(t)},updateAppGoogleplayID:function(t){e("rank-math").updateTwitterAppGoogleplayID(t)},updateAppGoogleplayUrl:function(t){e("rank-math").updateTwitterAppGoogleplayUrl(t)},updateAppDescription:function(t){e("rank-math").updateTwitterAppDescription(t)},updateAppCountry:function(t){e("rank-math").updateTwitterAppCountry(t)}}})))((function(e){return wp.element.createElement(i.Fragment,null,wp.element.createElement(p.TextControl,{value:e.description,label:Object(r.__)("App Description","rank-math"),help:Object(r.__)("You can use this as a more concise description than what you may have on the app store. This field has a maximum of 200 characters. (optional)","rank-math"),onChange:e.updateAppDescription}),function(e){return wp.element.createElement(i.Fragment,null,wp.element.createElement(p.TextControl,{value:e.iphoneName,label:Object(r.__)("iPhone App Name","rank-math"),help:Object(r.__)("The name of your app to show.","rank-math"),onChange:e.updateAppIphoneName}),wp.element.createElement(p.TextControl,{value:e.iphoneID,label:Object(r.__)("iPhone App ID","rank-math"),help:Object(r.__)("The numeric representation of your app ID in the App Store.","rank-math"),onChange:e.updateAppIphoneID}),wp.element.createElement(p.TextControl,{value:e.iphoneUrl,label:Object(r.__)("iPhone App URL","rank-math"),help:Object(r.__)("Your app's custom URL scheme (must include ://).","rank-math"),onChange:e.updateAppIphoneUrl}))}(e),function(e){return wp.element.createElement(i.Fragment,null,wp.element.createElement(p.TextControl,{value:e.ipadName,label:Object(r.__)("iPad App Name","rank-math"),help:Object(r.__)("The name of your app to show.","rank-math"),onChange:e.updateAppIpadName}),wp.element.createElement(p.TextControl,{value:e.ipadID,label:Object(r.__)("iPad App ID","rank-math"),help:Object(r.__)("The numeric representation of your app ID in the App Store.","rank-math"),onChange:e.updateAppIpadID}),wp.element.createElement(p.TextControl,{value:e.ipadUrl,label:Object(r.__)("iPad App URL","rank-math"),help:Object(r.__)("Your app's custom URL scheme (must include ://).","rank-math"),onChange:e.updateAppIpadUrl}))}(e),function(e){return wp.element.createElement(i.Fragment,null,wp.element.createElement(p.TextControl,{value:e.googleplayName,label:Object(r.__)("Google Play App Name","rank-math"),help:Object(r.__)("The name of your app to show.","rank-math"),onChange:e.updateAppGoogleplayName}),wp.element.createElement(p.TextControl,{value:e.googleplayID,label:Object(r.__)("Google Play App ID","rank-math"),help:Object(r.__)("Your app ID in the Google Play (.i.e. com.android.app)","rank-math"),onChange:e.updateAppGoogleplayID}),wp.element.createElement(p.TextControl,{value:e.googleplayUrl,label:Object(r.__)("Google Play App URL","rank-math"),help:Object(r.__)("Your app's custom URL scheme (must include ://).","rank-math"),onChange:e.updateAppGoogleplayUrl}))}(e),wp.element.createElement(p.TextControl,{value:e.country,label:Object(r.__)("App Country","rank-math"),help:Object(r.__)("If your application is not available in the US App Store, you must set this value to the two-letter country code for the App Store that contains your application.","rank-math"),onChange:e.updateAppCountry}))})),se=Object(u.compose)(Object(a.withSelect)((function(e){var t=e("rank-math");return{url:t.getTwitterPlayerUrl(),size:t.getTwitterPlayerSize(),stream:t.getTwitterPlayerStream(),ctype:t.getTwitterPlayerStreamCtype()}})),Object(a.withDispatch)((function(e){return{updatePlayerUrl:function(t){e("rank-math").updateTwitterPlayerUrl(t)},updatePlayerSize:function(t){e("rank-math").updateTwitterPlayerSize(t)},updatePlayerStreamUrl:function(t){e("rank-math").updateTwitterPlayerStreamUrl(t)},updatePlayerStreamCtype:function(t){e("rank-math").updateTwitterPlayerStreamCtype(t)}}})))((function(e){return wp.element.createElement(i.Fragment,null,wp.element.createElement(p.TextControl,{value:e.url,label:Object(r.__)("Player URL","rank-math"),help:Object(r.__)("HTTPS URL to iFrame player. This must be a HTTPS URL which does not generate active mixed content warnings in a web browser. The audio or video player must not require plugins such as Adobe Flash.","rank-math"),onChange:e.updatePlayerUrl}),wp.element.createElement(p.TextControl,{value:e.size,label:Object(r.__)("Player Size","rank-math"),help:Object(r.__)("iFrame width and height, specified in pixels in the following format: 600x400.","rank-math"),onChange:e.updatePlayerSize}),wp.element.createElement(p.TextControl,{value:e.stream,label:Object(r.__)("Stream URL","rank-math"),help:Object(r.__)("Optional URL to raw stream that will be rendered in Twitter’s mobile applications directly. If provided, the stream must be delivered in the MPEG-4 container format (the .mp4 extension). The container can store a mix of audio and video with the following codecs: Video: H.264, Baseline Profile (BP), Level 3.0, up to 640 x 480 at 30 fps. Audio: AAC, Low Complexity Profile (LC).","rank-math"),onChange:e.updatePlayerStreamUrl}),wp.element.createElement(p.TextControl,{value:e.ctype,label:Object(r.__)("Stream Content Type","rank-math"),help:Object(r.__)("The MIME type/subtype combination that describes the content contained in twitter:player:stream. Takes the form specified in RFC 6381. Currently supported content_type values are those defined in RFC 4337 (MIME Type Registration for MP4).","rank-math"),onChange:e.updatePlayerStreamCtype}))}));function ue(){return(ue=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var pe=Object(u.compose)(Object(a.withSelect)((function(e){var t=e("rank-math"),n=t.getTwitterUseFacebook(),r=function(){if(n&&t.getFacebookImage())return t.getFacebookImage();if(t.getTwitterImage())return t.getTwitterImage();var e=t.getFeaturedImage();return Object(s.isUndefined)(e)||""===e?rankMath.defautOgImage:t.getFeaturedImage().source_url}();return{useFacebook:n,cardType:t.getTwitterCardType(),title:n?t.getFacebookTitle():t.getTwitterTitle(),description:n?t.getFacebookDescription():t.getTwitterDescription(),serpTitle:t.getSerpTitle(),serpDescription:t.getSerpDescription(),author:t.getTwitterAuthor(),image:r,imageID:n?t.getFacebookImageID():t.getTwitterImageID(),hasOverlay:n?t.getFacebookHasOverlay():t.getTwitterHasOverlay(),imageOverlay:n?t.getFacebookImageOverlay():t.getTwitterImageOverlay()}})),Object(a.withDispatch)((function(e){return{removeImage:function(){e("rank-math").updateTwitterImage(""),e("rank-math").updateTwitterImageID(0),e("rank-math").updateTwitterHasOverlay(!1)},updateImage:function(t){e("rank-math").updateTwitterImage(t.url),e("rank-math").updateTwitterImageID(t.id)},updateTitle:function(t){e("rank-math").updateTwitterTitle(t)},updateDescription:function(t){e("rank-math").updateTwitterDescription(t)},updateImageOverlay:function(t){e("rank-math").updateTwitterImageOverlay(t)},toggleUseFacebook:function(t){e("rank-math").updateTwitterUseFacebook(t)},updateCardType:function(t){e("rank-math").updateTwitterCardType(t)},toggleOverlay:function(t){e("rank-math").updateTwitterHasOverlay(t)}}})))((function(e){return wp.element.createElement(i.Fragment,null,wp.element.createElement(ne,ue({},e,{network:"twitter",siteurl:rankMath.parentDomain,classes:e.cardType,description:Object(s.truncate)(e.description?e.description:e.serpDescription,{length:240,separator:" "})}),wp.element.createElement("div",{className:"social-name"},rankMath.assessor.serpData.authorName,wp.element.createElement("span",{className:"social-username"},"@",e.author),wp.element.createElement("span",{className:"social-time"},Object(r.__)("2h","rank-math"))),wp.element.createElement("div",{className:"social-text"},Object(r.__)("The card for your website will look little something like this!","rank-math"))),wp.element.createElement("div",{className:"field-group"},wp.element.createElement(p.ToggleControl,{label:Object(r.__)("Use Data from Facebook Tab","rank-math"),checked:e.useFacebook,onChange:e.toggleUseFacebook})),wp.element.createElement("div",{className:"field-group"},wp.element.createElement(p.SelectControl,{value:e.cardType,label:Object(r.__)("Card Type","rank-math"),options:[{value:"summary_large_image",label:Object(r.__)("Summary Card with Large Image","rank-math")},{value:"summary_card",label:Object(r.__)("Summary Card","rank-math")},{value:"app",label:Object(r.__)("App Card","rank-math")},{value:"player",label:Object(r.__)("Player Card","rank-math")}],onChange:e.updateCardType})),"player"===e.cardType&&wp.element.createElement("div",{className:"notice notice-alt notice-info"},wp.element.createElement("p",null,Object(r.sprintf)(Object(r.__)("Video clips and audio streams have a special place on the Twitter platform thanks to the Player Card. Player Cards must be submitted for approval before they can be used. More information: ","rank-math"))," ",wp.element.createElement("a",{href:"https://dev.twitter.com/cards/types/player",target:"blank"},"https://dev.twitter.com/cards/types/player"))),"app"===e.cardType&&wp.element.createElement("div",{className:"notice notice-alt notice-info"},wp.element.createElement("p",null,Object(r.sprintf)(Object(r.__)("The App Card is a great way to represent mobile applications on Twitter and to drive installs. More information: ","rank-math"))," ",wp.element.createElement("a",{href:"https://dev.twitter.com/cards/types/app",target:"blank"}," https://dev.twitter.com/cards/types/app"))),!e.useFacebook&&"app"!==e.cardType&&wp.element.createElement(ae,e),!e.useFacebook&&"app"!==e.cardType&&wp.element.createElement("div",{className:"field-group"},wp.element.createElement(p.TextControl,{label:Object(r.__)("Title","rank-math"),value:e.title,placeholder:e.serpTitle,onChange:e.updateTitle})),!e.useFacebook&&"app"!==e.cardType&&wp.element.createElement("div",{className:"field-group"},wp.element.createElement(p.TextareaControl,{label:Object(r.__)("Description","rank-math"),value:e.description,placeholder:e.serpDescription,onChange:e.updateDescription})),!e.useFacebook&&"app"!==e.cardType&&wp.element.createElement("div",{className:"field-group"},wp.element.createElement(p.ToggleControl,{label:Object(r.__)("Add icon overlay to thumbnail","rank-math"),checked:e.hasOverlay,onChange:e.toggleOverlay}),wp.element.createElement("div",{className:e.hasOverlay?"components-base-control":"hidden"},wp.element.createElement(p.SelectControl,{value:e.imageOverlay,label:Object(r.__)("Icon overlay","rank-math"),options:oe(),onChange:e.updateImageOverlay}),wp.element.createElement("div",{className:"notice notice-alt notice-warning"},wp.element.createElement("p",null,Object(r.__)("Please be careful with this option. Although this option will help increase CTR on Twitter, it might get you penalised if over-used.","rank-math"))))),"player"===e.cardType&&wp.element.createElement(se,null),"app"===e.cardType&&wp.element.createElement(ce,null))})),me=function(){return wp.element.createElement(i.Fragment,null,wp.element.createElement(p.TabPanel,{className:"rank-math-editor-social",activeClass:"is-active",tabs:[{name:"facebook",title:wp.element.createElement(i.Fragment,null,wp.element.createElement(p.Dashicon,{icon:"facebook-alt"}),Object(r.__)("Facebook","rank-math")),view:le,className:"button-facebook"},{name:"twitter",title:wp.element.createElement(i.Fragment,null,wp.element.createElement(p.Dashicon,{icon:"twitter"}),Object(r.__)("Twitter","rank-math")),view:pe,className:"button-twitter"}]},(function(e){return Object(i.createElement)(e.view)})))},de=n(2),he=n.n(de);function fe(e){return(fe="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})(e)}function be(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ge(e,t){return(ge=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function we(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ke(e);if(t){var a=ke(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return ye(this,n)}}function ye(e,t){return!t||"object"!==fe(t)&&"function"!=typeof t?ve(e):t}function ve(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ke(e){return(ke=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Oe=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ge(e,t)}(l,e);var t,n,a,o=we(l);function l(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(e=o.call(this))._handleRef=e._handleRef.bind(ve(e)),e}return t=l,(n=[{key:"componentDidMount",value:function(){var e=he()(this.component),t=e.find(".stars a"),n=e.find(".smiley");t.on("mouseenter",(function(){var e=he()(this).index();t.removeClass("highlighted"),t.slice(0,e+1).addClass("highlighted"),e<2?n.removeClass("normal happy").addClass("angry"):e>3?n.removeClass("normal angry").addClass("happy"):n.removeClass("happy angry").addClass("normal")}))}},{key:"shouldComponentUpdate",value:function(){return!1}},{key:"_handleRef",value:function(e){this.component=e}},{key:"render",value:function(){for(var e=this,t=[],n=1;n<=5;n++)t.push(wp.element.createElement("a",{key:n,href:"https://s.rankmath.com/wpreview",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"dashicons dashicons-star-filled"})));return wp.element.createElement("div",{className:"ask-review",ref:this._handleRef},wp.element.createElement("h3",null,Object(r.__)("Rate Rank Math SEO","rank-math")),wp.element.createElement("p",null,wp.element.createElement(D,{tags:"em"},Object(r.__)("Hey, we noticed you are using Rank Math SEO plugin for more than 2 weeks –{{em}}that's awesome!{{/em}} Could you please do us a BIG favor and give it a 5-star rating on WordPress to help us spread the word and boost our motivation?","rank-math"))),wp.element.createElement("div",{className:"stars-wrapper"},wp.element.createElement("div",{className:"face"},wp.element.createElement("div",{className:"smiley happy"},wp.element.createElement("div",{className:"eyes"},wp.element.createElement("div",{className:"eye"}),wp.element.createElement("div",{className:"eye"})),wp.element.createElement("div",{className:"mouth"}))),wp.element.createElement("div",{className:"stars"},t)),wp.element.createElement(p.CheckboxControl,{label:wp.element.createElement(i.Fragment,null,wp.element.createElement("span",null,Object(r.__)("I already did. Please don't show this message again.","rank-math"))),onChange:function(){return e.alreadyReviewed()}}))}},{key:"alreadyReviewed",value:function(){he.a.ajax({url:rankMath.ajaxurl,data:{action:"rank_math_already_reviewed",security:rankMath.security}}),rankMath.pluginReviewed=!0;var e=he()(this.component);e.animate({opacity:.01},1500,(function(){var t=he()(".rank-math-editor > .components-tab-panel__tabs > button");t.first().click(),t.last().remove(),e.remove()}))}}])&&be(t.prototype,n),a&&be(t,a),l}(i.Component),_e=Object(p.withFilters)("rankMath.analytics.reportButton")((function(){return null})),je=Object(u.compose)(Object(a.withSelect)((function(e){return{isOpen:e("rank-math").isSnippetEditorOpen()}})),Object(a.withDispatch)((function(e,t){return{toggleEditor:function(){e("rank-math").toggleSnippetEditor(!t.isOpen)}}})))((function(e){var t=e.isOpen,n=e.initialTab,a=void 0===n?"":n,o=e.toggleEditor,l=[{name:"general",title:wp.element.createElement(i.Fragment,null,wp.element.createElement("i",{className:"rm-icon rm-icon-settings"}),wp.element.createElement("span",null,Object(r.__)("General","rank-math"))),view:ee},{name:"social",title:wp.element.createElement(i.Fragment,null,wp.element.createElement("i",{className:"rm-icon rm-icon-social"}),wp.element.createElement("span",null,Object(r.__)("Social","rank-math"))),view:me}];return rankMath.showReviewTab&&!1===rankMath.pluginReviewed&&l.push({name:"review",className:"review-tab",title:wp.element.createElement(i.Fragment,null,wp.element.createElement("i",{className:"rm-icon rm-icon-heart-filled"})),view:Oe}),wp.element.createElement(i.Fragment,null,wp.element.createElement(p.Button,{isPrimary:!0,className:"rank-math-edit-snippet",onClick:o},Object(r.__)("Edit Snippet","rank-math")),wp.element.createElement(_e,null),t&&wp.element.createElement(p.Modal,{title:"Preview Snippet Editor",closeButtonLabel:Object(r.__)("Close","rank-math"),shouldCloseOnClickOutside:!1,onRequestClose:o,className:"rank-math-modal",overlayClassName:"rank-math-modal-overlay"},wp.element.createElement(p.TabPanel,{className:"rank-math-tabs rank-math-editor",activeClass:"is-active",initialTabName:a,tabs:l},(function(e){return Object(i.createElement)(e.view)}))))})),Ee=function(){return wp.element.createElement(p.PanelBody,{initialOpen:!0},wp.element.createElement(p.BaseControl,{className:"rank-math-social"},wp.element.createElement("span",{className:"components-base-control__label"},Object(r.__)("Social Media Preview","rank-math")),wp.element.createElement("p",{className:"cmb2-metabox-description"},Object(r.__)("Here you can view and edit the thumbnail, title and description that will be displayed when your site is shared on social media.","rank-math")),wp.element.createElement("p",{className:"cmb2-metabox-description"},Object(r.__)("Click on the button below to view and edit the preview.","rank-math")),wp.element.createElement(je,{buttonLabel:Object(r.__)("Preview & Edit Social Media","rank-math"),initialTab:"social"})))},Te=Object(u.withInstanceId)((function(e){var t=e.className,n=e.instanceId,r=e.children,a="rank-math-tooltip-"+n,o=c()("rank-math-tooltip",t);return wp.element.createElement("span",{className:o},wp.element.createElement("input",{id:a,type:"checkbox"}),wp.element.createElement("label",{htmlFor:a,className:"dashicons-before dashicons-editor-help"}),wp.element.createElement("div",{className:"rank-math-tooltip-content"},r))})),Ie=n(29);function Se(e){return(Se="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})(e)}function Ce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function De(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Pe(e,t){return(Pe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function xe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ae(e);if(t){var a=Ae(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return Ne(this,n)}}function Ne(e,t){return!t||"object"!==Se(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ae(e){return(Ae=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Re=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pe(e,t)}(l,e);var t,n,a,o=xe(l);function l(){return Ce(this,l),o.apply(this,arguments)}return t=l,(n=[{key:"shouldComponentUpdate",value:function(e){return e.isLoaded!==this.props.isLoaded||e.selectedKeyword.index!==this.props.selectedKeyword.index||e.isRefreshing!==this.props.isRefreshing}},{key:"render",value:function(){var e=this,t=rankMathEditor.getSelectedKeyword();return this.results=rankMathEditor.resultManager.getResult(t),this.isPrimary=0===this.props.selectedKeyword.index,Object(s.isUndefined)(this.results)?null:Object.keys(this.getGroups()).map((function(t){return e.renderGroup(t)}))}},{key:"renderGroup",value:function(e){this.errors=0;var t=this.renderGroupItems(e);return wp.element.createElement(p.PanelBody,{key:"panel-"+e,title:wp.element.createElement(i.Fragment,null,this.getGroupTitle(e),0===this.errors?wp.element.createElement("span",{className:"rank-math-group-score test-ok"},Object(r.__)("All Good","rank-math")):wp.element.createElement("span",{className:"rank-math-group-score test-fail"},this.errors," ",Object(r.__)("Errors","rank-math"))),initialOpen:"basic"===e,className:"rank-math-checklist"},wp.element.createElement("ul",null,t))}},{key:"renderGroupItems",value:function(e){var t=this,n=this.results.results,r=this.getGroupItems(e);return Object.keys(r).map((function(e){if(Object(s.isUndefined)(n[e])||!t.isPrimary&&r[e])return!1;var a=n[e],o=c()("seo-check-"+e,{"test-ok":a.hasScore(),"test-fail":!a.hasScore()});return a.hasScore()&&["contentHasAssets","lengthContent","keywordDensity"].includes(e)&&(o+=" "+Object(Ie.a)(a.getScore(),a.getMaxScore())),!1===a.hasScore()&&(t.errors+=1),wp.element.createElement("li",{key:e,className:o},wp.element.createElement("span",{dangerouslySetInnerHTML:{__html:a.getText()}}),a.hasTooltip()?wp.element.createElement(Te,null,a.getTooltip()):null)}))}},{key:"getGroupItems",value:function(e){return{basic:{keywordInTitle:!0,keywordInMetaDescription:!0,keywordInPermalink:!0,keywordIn10Percent:!0,keywordInContent:!1,lengthContent:!1},advanced:{keywordInSubheadings:!1,keywordInImageAlt:!0,keywordDensity:!1,lengthPermalink:!1,linksHasExternals:!1,linksNotAllExternals:!1,linksHasInternal:!1,keywordNotUsed:!0},"title-readability":{titleStartWithKeyword:!0,titleSentiment:!1,titleHasPowerWords:!1,titleHasNumber:!1},"content-readability":{contentHasTOC:!1,contentHasShortParagraphs:!1,contentHasAssets:!1}}[e]}},{key:"getGroupTitle",value:function(e){return this.getGroups()[e]}},{key:"getGroups",value:function(){return{basic:Object(r.__)("Basic SEO","rank-math"),advanced:Object(r.__)("Additional","rank-math"),"title-readability":Object(r.__)("Title Readability","rank-math"),"content-readability":Object(r.__)("Content Readability","rank-math")}}}])&&De(t.prototype,n),a&&De(t,a),l}(i.Component),Me=Object(a.withSelect)((function(e){var t=e("rank-math");return{isLoaded:t.isLoaded(),isRefreshing:t.isRefreshing(),selectedKeyword:t.getSelectedKeyword()}}))(Re),Fe=n(22),Ue=Object(a.withSelect)((function(e){return{isPro:e("rank-math").isPro()}}))((function(e){return e.isPro?rankMath.isUserRegistered?wp.element.createElement(p.Notice,{status:"warning",isDismissible:!1},wp.element.createElement(D,{components:{link:wp.element.createElement("a",{href:"https://rankmath.com/kb/score-100-in-tests/",target:"_blank",rel:"noopener noreferrer"})}},Object(r.__)("Read here to {{link}}Score 100/100{{/link}} ","rank-math"))):wp.element.createElement(p.Notice,{status:"warning",isDismissible:!1},wp.element.createElement(D,{components:{link:wp.element.createElement("a",{href:rankMath.adminurl+"?page=rank-math&view=help",target:"_blank",rel:"noopener noreferrer"})}},Object(r.__)("Activate your account by {{link}}connecting to Rank Math!{{/link}} ","rank-math"))):wp.element.createElement(p.Notice,{status:"warning",isDismissible:!1},wp.element.createElement(D,{components:{link:wp.element.createElement("a",{href:rankMath.assessor.futureSeo,target:"_blank",rel:"noopener noreferrer"}),strong:wp.element.createElement("strong",null)}},Object(r.__)("Want more? {{link}}{{strong}}Upgrade today to the PRO{{/strong}}{{/link}} version.","rank-math")))})),Le=n(28),He=n.n(Le);function ze(e){return(ze="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})(e)}function Be(){return(Be=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Ge(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ke(e,t){return(Ke=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ve(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=qe(e);if(t){var a=qe(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return We(this,n)}}function We(e,t){return!t||"object"!==ze(t)&&"function"!=typeof t?Ye(e):t}function Ye(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qe(e){return(qe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var $e=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ke(e,t)}(o,e);var t,n,r,a=Ve(o);function o(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),(t=a.call(this,e))._handleRef=t._handleRef.bind(Ye(t)),t}return t=o,(n=[{key:"componentDidMount",value:function(){var e=this;this.tagify=new He.a(this.component,this.props.settings||{}),this.props.settings.callbacks.setup&&setTimeout((function(){e.props.settings.callbacks.setup.call(e.tagify),e.tagify.DOM.input.setAttribute("contenteditable",!0),e.tagify.DOM.input.addEventListener("blur",e.props.settings.callbacks.blur)}),100)}},{key:"shouldComponentUpdate",value:function(e){return this.tagify.settings.whitelist=e.settings.whitelist,e.showDropdown&&this.tagify.dropdown.show.call(this.tagify,e.showDropdown),!1===e.showDropdown&&this.tagify.dropdown.hide.call(this.tagify,!0),!1}},{key:"_handleRef",value:function(e){this.component=e}},{key:"render",value:function(){var e={ref:this._handleRef,name:this.props.name,autoFocus:this.props.autofocus,className:this.props.className,placeholder:this.props.placeholder};return"textarea"===this.props.mode?wp.element.createElement("textarea",Be({},e,{defaultValue:this.props.initialValue})):wp.element.createElement("input",Be({},e,{defaultValue:this.props.initialValue}))}},{key:"toArray",value:function(){return this.tagify.value.map((function(e){return e.value}))}},{key:"toString",value:function(){return this.toArray().join(",")}},{key:"queryTags",value:function(){return this.tagify.DOM.scope.querySelectorAll("tag")}}])&&Ge(t.prototype,n),r&&Ge(t,r),o}(i.Component);function Ze(e){return(Ze="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})(e)}function Je(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Qe(e,t){return(Qe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Xe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=nt(e);if(t){var a=nt(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return et(this,n)}}function et(e,t){return!t||"object"!==Ze(t)&&"function"!=typeof t?tt(e):t}function tt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nt(e){return(nt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var rt=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qe(e,t)}(l,e);var t,n,a,o=Xe(l);function l(e){var t,n=e.keywords;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=o.call(this)).state={},t.request=null,t.hasAdded=!1,t.clickCount=0,t.singleClickTimer=null,t.tagifyField=Object(i.createRef)(),t.keywords=n,t.hideDropdown=t.hideDropdown.bind(tt(t)),window.rankMathEditor.focusKeywordField=tt(t),t}return t=l,(n=[{key:"render",value:function(){var e=this,t={add:this.onAdd.bind(this),remove:this.onRemove.bind(this),edit:this.onEdit.bind(this),click:this.onClick.bind(this),setup:this.onSetup.bind(this),blur:this.hideDropdown};rankMath.isUserRegistered&&(t.input=Object(s.debounce)(this.onInput.bind(this),300));var n={addTagOnBlur:!0,maxTags:rankMath.maxTags,whitelist:this.state.whitelist||[],transformTag:function(t){t.value=e.stripTags(t.value)},templates:{tag:function(t,n){return"<tag title='".concat(e.stripTags(t),"'\n contenteditable='false'\n spellcheck='false'\n class='tagify__tag ").concat(n.class?n.class:"","'\n ").concat(e.getAttributes_esc(n),">\n <x title='' class='tagify__tag__removeBtn' role='button' aria-label='remove tag'></x>\n <div>\n <span class='tagify__tag-text'>").concat(e.stripTags(t),"</span>\n </div>\n </tag>")}},callbacks:t};return this.setKeywordsClasses(),wp.element.createElement($e,{ref:this.tagifyField,mode:"input",settings:n,showDropdown:this.state.showDropdown,initialValue:this.keywords,placeholder:Object(r.__)("Example: Rank Math SEO","rank-math")})}},{key:"shouldComponentUpdate",value:function(e,t){return this.state.showDropdown!==t.showDropdown||e.isRefreshing!==this.props.isRefreshing||e.keywords!==this.props.keywords}},{key:"getScoreClass",value:function(e){return 80<e?"good-fk":50<e?"ok-fk":"bad-fk"}},{key:"setKeywordsClasses",value:function(){var e=this;if(null!==this.tagifyField.current){var t=this.tagifyField.current,n=t.tagify.value;if(n.length>0){var r=t.queryTags();n.map((function(t,n){var a=rankMathEditor.resultManager.getScore(H.Helpers.removeDiacritics(t.value));r[n].classList.remove("ok-fk","good-fk","bad-fk"),r[n].classList.add(e.getScoreClass(a))}))}}}},{key:"onSetup",value:function(){this.selectFirstKeyword(),this.setKeywordsClasses()}},{key:"onInput",value:function(e){var t=this;(e=Object(s.has)(e.detail,"value")?e.detail.value:e.detail.data.value).length<2||(this.hideDropdown(),this.hasAdded?this.hasAdded=!1:this.request=he.a.ajax({url:rankMath.keywordsApi.url,data:{keyword:e,locale:rankMath.locale},success:function(n){if(t.hasAdded)t.hasAdded=!1;else{var r=he.a.map(n,(function(e){return e}));t.setState({whitelist:r,showDropdown:e})}}}))}},{key:"onAdd",value:function(e){this.hasAdded=!0,0===e.detail.index&&this.props.updateSelectedKeyword(e.detail,this.tagifyField.current),this.updateKeywords()}},{key:"onRemove",value:function(e){this.hideDropdown(),0===e.detail.index&&this.onSetup(),rankMathEditor.resultManager.deleteResult(e.detail.data.value),this.selectFirstKeyword(),this.updateKeywords()}},{key:"onClick",value:function(e){var t=this;this.clickCount++,1===this.clickCount?this.singleClickTimer=setTimeout((function(){t.clickCount=0,t.props.updateSelectedKeyword(e.detail,t.tagifyField.current)}),400):2===this.clickCount&&(clearTimeout(this.singleClickTimer),this.clickCount=0)}},{key:"onEdit",value:function(){this.hasAdded=!0,this.updateKeywords()}},{key:"selectFirstKeyword",value:function(){var e=this.tagifyField.current,t=e.tagify.value,n={tag:"",index:0,data:{value:""}};t.length>0&&(n={tag:e.queryTags()[0],index:0,data:{value:t[0].value}}),this.props.updateSelectedKeyword(n,e)}},{key:"updateKeywords",value:function(){var e=this.tagifyField.current,t=this.stripTags(e.toString());this.props.updateKeywords(t)}},{key:"hideDropdown",value:function(){null!==this.request&&(this.request.abort(),this.request=null),this.setState({whitelist:[],showDropdown:!1})}},{key:"getAttributes_esc",value:function(e){if("[object Object]"!=Object.prototype.toString.call(e))return"";var t,n,r=Object.keys(e),a="";for(n=r.length;n--;)"class"!=(t=r[n])&&e.hasOwnProperty(t)&&e[t]&&(a+=" "+t+(e[t]?'="'.concat(this.stripTags(e[t]),'"'):""));return a}},{key:"stripTags",value:function(e){return e=he()("<textarea />").html(e).text(),((new DOMParser).parseFromString(e,"text/html").body.textContent||"").replace(/["<>]/g,"")||""}}])&&Je(t.prototype,n),a&&Je(t,a),l}(i.Component),at=Object(u.compose)(Object(a.withSelect)((function(e){var t=e("rank-math");return{keywords:t.getKeywords(),isRefreshing:t.isRefreshing()}})),Object(a.withDispatch)((function(e){return{updateKeywords:function(t){e("rank-math").updateKeywords(t)},updateSelectedKeyword:function(t,n){n.queryTags().forEach((function(e){e.classList.remove("selected")})),""!==t.tag&&t.tag.classList.add("selected"),e("rank-math").updateSelectedKeyword(t)}}})))(rt),ot=Object(u.compose)(Object(a.withSelect)((function(e){var t=e("rank-math");return{isLoaded:t.isLoaded(),isPillarContent:t.getPillarContent()}})),Object(a.withDispatch)((function(e){return{togglePillarContent:function(t){e("rank-math").updatePillarContent(t)}}})))((function(e){var t=e.isLoaded,n=e.isPillarContent,a=e.togglePillarContent;return t?wp.element.createElement(p.PanelBody,{initialOpen:!0,className:"rank-math-focus-keyword"},wp.element.createElement("h2",{className:"components-panel__body-title"},Object(r.__)("Focus Keyword","rank-math"),wp.element.createElement(Te,null,wp.element.createElement(D,{components:{link:wp.element.createElement("a",{href:rankMath.assessor.hundredScoreLink,target:"_blank",rel:"noopener noreferrer"})}},Object(r.__)("Insert keywords you want to rank for. Try to {{link}}attain 100/100 points{{/link}} for better chances of ranking.","rank-math")))),!rankMath.isPro&&wp.element.createElement("a",{href:"https://rankmath.com/pricing/?utm_source=Plugin&utm_medium=Gutenberg%20General%20Tab%20Trends&utm_campaign=WP",title:Object(r.__)("Google Trends","rank-math"),target:"_blank",rel:"noreferrer noopener",id:"rank-math-compare-keywords-trigger",className:"button button-icon rank-math-compare-keywords-trigger",dangerouslySetInnerHTML:{__html:rankMath.trendsIcon}}),wp.element.createElement(Fe.a.Slot,null,(function(e){return e.length>0?e:[]})),wp.element.createElement("div",null,wp.element.createElement(at,null)),wp.element.createElement(Ue,null),wp.element.createElement(p.CheckboxControl,{className:"pillar-content",label:wp.element.createElement(i.Fragment,null,wp.element.createElement("strong",null,Object(r.__)("This post is Pillar Content","rank-math")),wp.element.createElement(Te,null,Object(r.__)("Select one or more Pillar Content posts for each post tag or category to show them in the Link Suggestions meta box.","rank-math"))),checked:n,onChange:a})):null})),it=n(23),lt=Object(a.withDispatch)((function(e){return{toggleEditor:function(){e("rank-math").toggleSnippetEditor(!0)}}}))((function(e){var t=e.toggleEditor;return wp.element.createElement(i.Fragment,null,wp.element.createElement(p.PanelBody,{initialOpen:!0},wp.element.createElement(X,{onClick:t}),wp.element.createElement(je,null),wp.element.createElement(it.a.Slot,null,(function(e){return e.length>0?e:[]}))),wp.element.createElement(ot,null),rankMath.canUser.analysis&&wp.element.createElement(Me,null))})),ct=function(e,t,n){return!1===n?delete e[t]:e[t]=!0,e},st=Object(u.compose)(Object(a.withSelect)((function(e){var t=e("rank-math").getRobots();return{robots:t,isRobotIndex:"index"in t,isRobotNoIndex:"noindex"in t,isRobotNoFollow:"nofollow"in t,isRobotNoArchive:"noarchive"in t,isRobotNoImageIndex:"noimageindex"in t,isRobotNoSnippet:"nosnippet"in t}})),Object(a.withDispatch)((function(e,t){var n=t.robots;return{updateRobots:function(t,r){n=ct(n,t,r),"index"===t&&(n=ct(n,"noindex",!r)),"noindex"===t&&(n=ct(n,"index",!r)),e("rank-math").updateRobots(n)}}})))((function(e){return wp.element.createElement(p.BaseControl,{className:"rank-math-robots",id:"rank-math-robots",label:Object(r.__)("Robots Meta","rank-math")},wp.element.createElement("div",{className:"rank-math-robots-list"},wp.element.createElement(p.CheckboxControl,{className:"robot-choice-index",label:wp.element.createElement(i.Fragment,null,Object(r.__)("Index","rank-math"),wp.element.createElement(Te,null,Object(r.__)("Instructs search engines to index and show these pages in the search results","rank-math"))),checked:e.isRobotIndex,onChange:function(t){return e.updateRobots("index",t)}}),wp.element.createElement(p.CheckboxControl,{className:"robot-choice-noindex",label:wp.element.createElement(i.Fragment,null,Object(r.__)("No Index","rank-math"),wp.element.createElement(Te,null,Object(r.__)("Prevents pages from being indexed and displayed in search engine result pages","rank-math"))),checked:e.isRobotNoIndex,onChange:function(t){return e.updateRobots("noindex",t)}}),wp.element.createElement(p.CheckboxControl,{className:"robot-choice-nofollow",label:wp.element.createElement(i.Fragment,null,Object(r.__)("Nofollow","rank-math"),wp.element.createElement(Te,null,Object(r.__)("Prevents search engines from following links on the pages","rank-math"))),checked:e.isRobotNoFollow,onChange:function(t){return e.updateRobots("nofollow",t)}}),wp.element.createElement(p.CheckboxControl,{className:"robot-choice-noarchive",label:wp.element.createElement(i.Fragment,null,Object(r.__)("No Archive","rank-math"),wp.element.createElement(Te,null,Object(r.__)("Prevents search engines from showing Cached links for pages","rank-math"))),checked:e.isRobotNoArchive,onChange:function(t){return e.updateRobots("noarchive",t)}}),wp.element.createElement(p.CheckboxControl,{className:"robot-choice-noimageindex",label:wp.element.createElement(i.Fragment,null,Object(r.__)("No Image Index","rank-math"),wp.element.createElement(Te,null,Object(r.__)("Lets you specify that you do not want your pages to appear as the referring page for images that appear in image search results","rank-math"))),checked:e.isRobotNoImageIndex,onChange:function(t){return e.updateRobots("noimageindex",t)}}),wp.element.createElement(p.CheckboxControl,{className:"robot-choice-nosnippet",label:wp.element.createElement(i.Fragment,null,Object(r.__)("No Snippet","rank-math"),wp.element.createElement(Te,null,Object(r.__)("Prevents a snippet from being shown in the search results","rank-math"))),checked:e.isRobotNoSnippet,onChange:function(t){return e.updateRobots("nosnippet",t)}})))}));function ut(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 pt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ut(Object(n),!0).forEach((function(t){mt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ut(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function mt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var dt=Object(u.compose)(Object(a.withSelect)((function(e){var t=e("rank-math");return{redirectionID:t.getRedirectionID(),redirectionUrl:t.getRedirectionUrl(),redirectionType:t.getRedirectionType(),hasRedirect:t.hasRedirect()}})),Object(a.withDispatch)((function(e,t){return{toggle:function(){e("rank-math").updateHasRedirect(!t.hasRedirect),e("rank-math").updateRedirectionItem(pt(pt({},t),{},{hasRedirect:!t.hasRedirect}))},updateRedirection:function(n,r){e("rank-math").updateRedirection(n,r),e("rank-math").updateRedirectionItem(pt(pt({},t),{},mt({},n,r)))}}})))((function(e){return wp.element.createElement(i.Fragment,null,wp.element.createElement(p.ToggleControl,{className:e.hasRedirect?"is-open":"is-close",label:Object(r.__)("Redirect","rank-math"),checked:e.hasRedirect,onChange:function(){return e.toggle()}}),wp.element.createElement(p.SelectControl,{label:Object(r.__)("Redirection Type","rank-math"),className:e.hasRedirect?"":"hidden",value:e.redirectionType,onChange:function(t){return e.updateRedirection("redirectionType",t)},options:[{value:"301",label:Object(r.__)("301 Permanent Move","rank-math")},{value:"302",label:Object(r.__)("302 Temporary Move","rank-math")},{value:"307",label:Object(r.__)("307 Temporary Redirect","rank-math")},{value:"410",label:Object(r.__)("410 Content Deleted","rank-math")},{value:"451",label:Object(r.__)("451 Content Unavailable for Legal Reasons","rank-math")}]}),!1===["410","451"].includes(e.redirectionType)&&wp.element.createElement(p.TextControl,{type:"url",autoComplete:"off",label:Object(r.__)("Destination URL","rank-math"),value:e.redirectionUrl,placeholder:"https://rankmath.com/",className:e.hasRedirect?"":"hidden",onChange:function(t){return e.updateRedirection("redirectionUrl",t)}}),wp.element.createElement(p.TextControl,{type:"hidden",value:e.redirectionID,className:"hidden"}))})),ht=Object(u.compose)(Object(a.withSelect)((function(e){var t=e("rank-math"),n=rankMathEditor.assessor.dataCollector;return{placeholder:t.getCanonicalUrl()?t.getCanonicalUrl():n.getPermalink()?n.getPermalink():"https://rankmath.com/",canonicalUrl:t.getCanonicalUrl()}})),Object(a.withDispatch)((function(e){return{onUrlChange:function(t){e("rank-math").updateCanonicalUrl(t)}}})))((function(e){var t=e.canonicalUrl,n=e.placeholder,a=e.onUrlChange;return wp.element.createElement(p.BaseControl,{className:"rank-math-canonical"},wp.element.createElement("span",{className:"components-base-control__label"},Object(r.__)("Canonical URL","rank-math"),wp.element.createElement(Te,null,Object(r.__)("The canonical URL informs search crawlers which page is the main page if you have double content","rank-math"))),wp.element.createElement(p.TextControl,{type:"url",autoComplete:"off",value:t,placeholder:n,onChange:function(e){return a(e)}}))})),ft=Object(u.compose)(Object(a.withSelect)((function(e){return{title:e("rank-math").getBreadcrumbTitle()}})),Object(a.withDispatch)((function(e){return{onTitleChange:function(t){e("rank-math").updateBreadcrumbTitle(t)}}})))((function(e){var t=e.title,n=e.onTitleChange;return wp.element.createElement(p.BaseControl,{className:"rank-math-breadcrumb-title"},wp.element.createElement("span",{className:"components-base-control__label"},Object(r.__)("Breadcrumb Title","rank-math"),wp.element.createElement(Te,null,Object(r.__)("Breadcrumb Title to use for this post","rank-math"))),wp.element.createElement(p.TextControl,{value:t,onChange:function(e){return n(e)}}))}));function bt(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 gt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bt(Object(n),!0).forEach((function(t){wt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function wt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var yt={"max-snippet":-1,"max-video-preview":-1,"max-image-preview":"large"},vt=Object(u.compose)(Object(a.withSelect)((function(e){var t=e("rank-math").getAdvancedRobots(),n=gt({},t);Object(s.defaults)(n,yt);var r=null,a=null,o=null;return"max-snippet"in t&&(r=n["max-snippet"]),"max-image-preview"in t&&(a=n["max-image-preview"]),"max-video-preview"in t&&(o=n["max-video-preview"]),{meta:t,isSnippet:r,isImage:a,isVideo:o,maxSnippet:r?n["max-snippet"]:-1,maxImage:n["max-image-preview"],maxVideo:o?n["max-video-preview"]:-1}})),Object(a.withDispatch)((function(e,t){var n=gt({},t.meta);return{updateRobots:function(t,r){Object(s.isBoolean)(r)?!1===r?delete n[t]:n[t]=yt[t]:n[t]=r,e("rank-math").updateAdvancedRobots(n)}}})))((function(e){return wp.element.createElement(p.BaseControl,{className:"rank-math-robots",id:"rank-math-robots",label:Object(r.__)("Advanced Robots Meta","rank-math")},wp.element.createElement("div",{className:"rank-math-robots-list advanced-robots"},wp.element.createElement(p.CheckboxControl,{label:wp.element.createElement(i.Fragment,null,Object(r.__)("Max Snippet","rank-math"),wp.element.createElement(Te,null,Object(r.__)("Specify a maximum text-length, in characters, of a snippet for your page","rank-math"))),checked:e.isSnippet,onChange:function(t){return e.updateRobots("max-snippet",t)}}),wp.element.createElement(p.TextControl,{type:"number",value:e.maxSnippet,onChange:function(t){return e.updateRobots("max-snippet",t)}}),wp.element.createElement(p.CheckboxControl,{label:wp.element.createElement(i.Fragment,null,Object(r.__)("Max Video Preview","rank-math"),wp.element.createElement(Te,null,Object(r.__)("Specify a maximum duration in seconds of an animated video preview","rank-math"))),checked:e.isVideo,onChange:function(t){return e.updateRobots("max-video-preview",t)}}),wp.element.createElement(p.TextControl,{type:"number",value:e.maxVideo,onChange:function(t){return e.updateRobots("max-video-preview",t)}}),wp.element.createElement(p.CheckboxControl,{label:wp.element.createElement(i.Fragment,null,Object(r.__)("Max Image Preview","rank-math"),wp.element.createElement(Te,null,Object(r.__)("Specify a maximum size of image preview to be shown for images on this page","rank-math"))),checked:e.isImage,onChange:function(t){return e.updateRobots("max-image-preview",t)}}),wp.element.createElement(p.SelectControl,{value:e.maxImage,onChange:function(t){return e.updateRobots("max-image-preview",t)},options:[{value:"large",label:Object(r.__)("Large","rank-math")},{value:"standard",label:Object(r.__)("Standard","rank-math")},{value:"none",label:Object(r.__)("None","rank-math")}]})))})),kt=Object(u.compose)(Object(a.withSelect)((function(e){return{showScore:e("rank-math").getShowScoreFrontend()}})),Object(a.withDispatch)((function(e){return{toggleScore:function(t){e("rank-math").toggleFrontendScore(t)}}})))((function(e){var t=e.showScore,n=e.toggleScore;return wp.element.createElement(p.BaseControl,{className:"rank-math-frontend-score"},wp.element.createElement(p.ToggleControl,{label:Object(r.__)("Show SEO Score on Front-end","rank-math"),checked:t,onChange:n}))})),Ot=n(24),_t=function(){return wp.element.createElement(i.Fragment,null,wp.element.createElement(p.PanelBody,{initialOpen:!0},wp.element.createElement(st,null)),wp.element.createElement(p.PanelBody,{initialOpen:!0},wp.element.createElement(vt,null)),wp.element.createElement(p.PanelBody,{initialOpen:!0},wp.element.createElement(ht,null)),rankMath.assessor.hasBreadcrumb&&wp.element.createElement(p.PanelBody,{initialOpen:!0},wp.element.createElement(ft,null)),rankMath.assessor.hasRedirection&&wp.element.createElement(p.PanelBody,{initialOpen:!0,className:"rank-math-redirect"},wp.element.createElement(dt,null)),rankMath.frontEndScore&&wp.element.createElement(p.PanelBody,{initialOpen:!0},wp.element.createElement(kt,null)),wp.element.createElement(Ot.a.Slot,null,(function(e){return e.length>0?e:[]})))},jt=function(e){"social"===e&&Object(a.dispatch)("rank-math").toggleSnippetEditor(!0)};t.a=function(){return wp.element.createElement(j,{className:"rank-math-tabs",activeClass:"is-active",tabs:(e=[],rankMath.canUser.general&&e.push({name:"general",title:wp.element.createElement(i.Fragment,null,wp.element.createElement("i",{className:"rm-icon rm-icon-settings",title:Object(r.__)("General","rank-math")}),wp.element.createElement("span",null,Object(r.__)("General","rank-math"))),view:lt,className:"rank-math-general-tab"}),rankMath.canUser.advanced&&e.push({name:"advanced",title:wp.element.createElement(i.Fragment,null,wp.element.createElement("i",{className:"rm-icon rm-icon-toolbox",title:Object(r.__)("Advanced","rank-math")}),wp.element.createElement("span",null,Object(r.__)("Advanced","rank-math"))),view:_t,className:"rank-math-advanced-tab"}),rankMath.canUser.social&&e.push({name:"social",title:wp.element.createElement(i.Fragment,null,wp.element.createElement("i",{className:"rm-icon rm-icon-social",title:Object(r.__)("Social","rank-math")}),wp.element.createElement("span",null,Object(r.__)("Social","rank-math"))),view:Ee,className:"rank-math-social-tab"}),Object(o.applyFilters)("rank_math_sidebar_tabs",e)),onSelect:jt},(function(e){return wp.element.createElement("div",{className:"rank-math-tab-content-"+e.name},Object(i.createElement)(e.view))}));var e}},function(e,t,n){"use strict";var r=n(8),a=n(6),o=n(17),i=n(1),l=n(0),c=n(4);function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var u=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.analyzer=new r.Analyzer({i18n:l,analyses:rankMath.assessor.researchesTests}),this.dataCollector=t,this.registerRefresh(),this.updateKeywordResult=this.updateKeywordResult.bind(this),this.sanitizeData=this.sanitizeData.bind(this),Object(a.addAction)("rankMath_analysis_keywordUsage_updated","rank-math",this.updateKeywordResult),Object(a.addFilter)("rank_math_sanitize_meta_value","rank-math",this.sanitizeData),Object(a.addFilter)("rank_math_sanitize_data","rank-math",this.sanitizeData)}var t,n,u;return t=e,(n=[{key:"updateKeywordResult",value:function(e,t){rankMathEditor.resultManager.update(e,{keywordNotUsed:t}),e===this.getSelectedKeyword().toLowerCase()&&Object(c.dispatch)("rank-math").refreshResults()}},{key:"sanitizeData",value:function(e,t){return"schemas"===t||Object(i.isObject)(e)||Object(i.isEmpty)(e)?e:r.Helpers.sanitizeAppData(e)}},{key:"getPaper",value:function(e){var t=Object(o.a)().getState(),n=this.dataCollector.getData(),l=new r.Paper("",{locale:rankMath.localeFull});return l.setTitle(t.appUi.serpTitle),l.setPermalink(n.slug),l.setDescription(t.appUi.serpDescription),l.setUrl(n.permalink),l.setText(Object(a.applyFilters)("rank_math_content",n.content)),l.setKeyword(e),Object(i.isUndefined)(n.featuredImage)||(l.setThumbnail(n.featuredImage.source_url),l.setThumbnailAltText(r.Helpers.removeDiacritics(n.featuredImage.alt_text))),l}},{key:"registerRefresh",value:function(){var e=this;this.refresh=Object(i.debounce)((function(t){var n=Object(o.a)().getState();if(!1!==n.appUi.isLoaded){var i=n.appData.keywords.split(","),l=[];Object(a.doAction)("rank_math_"+t+"_refresh"),i.map((function(t,n){var a=e.getPaper(r.Helpers.removeDiacritics(t)),o=0===n?rankMath.assessor.researchesTests:e.getSecondaryKeywordTests();l.push(e.analyzer.analyzeSome(o,a).then((function(e){rankMathEditor.resultManager.update(a.getKeyword(),e,0===n),0===n&&Object(c.dispatch)("rank-math").updateAnalysisScore(rankMathEditor.resultManager.getScore(a.getKeyword()))}))),Promise.all(l).then((function(){Object(c.dispatch)("rank-math").refreshResults()}))}))}}),500)}},{key:"getSecondaryKeywordTests",value:function(){return["keywordInContent","lengthContent","keywordInSubheadings","keywordDensity","lengthPermalink","linksHasExternals","linksNotAllExternals","linksHasInternal","titleSentiment","titleHasPowerWords","titleHasNumber","contentHasTOC","contentHasShortParagraphs","contentHasAssets"]}},{key:"getPrimaryKeyword",value:function(){var e=Object(o.a)().getState().appData.keywords;return r.Helpers.removeDiacritics(e.split(",")[0])}},{key:"getSelectedKeyword",value:function(){var e=Object(o.a)().getState(),t=""!==e.appUi.selectedKeyword.data.value?e.appUi.selectedKeyword.data.value:e.appData.keywords.split(",")[0];return r.Helpers.removeDiacritics(t)}},{key:"getResearch",value:function(e){return this.analyzer.researcher.getResearch(e)}}])&&s(t.prototype,n),u&&s(t,u),e}(),p=n(26);function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var d=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,i;return t=e,(n=[{key:"setup",value:function(e){Object(o.a)(),this.resultManager=new r.ResultManager,this.assessor=new u(e),new p.a,Object(a.doAction)("rank_math_loaded")}},{key:"refresh",value:function(e){this.assessor.refresh(e)}},{key:"getPrimaryKeyword",value:function(){return this.assessor.getPrimaryKeyword()}},{key:"getSelectedKeyword",value:function(){return this.assessor.getSelectedKeyword()}},{key:"updatePermalink",value:function(e){throw"Implement the function"}},{key:"updatePermalinkSanitize",value:function(e){throw"Implement the function"}}])&&m(t.prototype,n),i&&m(t,i),e}();t.a=d},,function(e,t,n){"use strict";var r=n(34),a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,o=n(35),i=n(43),l=n(44),c="function"==typeof Symbol&&Symbol.iterator;function s(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}function u(e,t,n,r){var o,l=typeof e;if("undefined"!==l&&"boolean"!==l||(e=null),null===e||"string"===l||"number"===l||"object"===l&&e.$$typeof===a)return n(r,e,""===t?"."+s(e,0):t),1;var p=0,m=""===t?".":t+":";if(Array.isArray(e))for(var d=0;d<e.length;d++)p+=u(o=e[d],m+s(o,d),n,r);else{var h=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(h){0;for(var f,b=h.call(e),g=0;!(f=b.next()).done;)p+=u(o=f.value,m+s(o,g++),n,r)}else if("object"===l){0;var w=""+e;i(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===w?"object with keys {"+Object.keys(e).join(", ")+"}":w,"")}}return p}var p=/\/+/g;function m(e){return(""+e).replace(p,"$&/")}var d,h,f=b,b=function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)},g=function(e){var t=this;i(e instanceof t,"Trying to release an instance into a pool of a different type."),e.destructor(),t.instancePool.length<t.poolSize&&t.instancePool.push(e)};function w(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function y(e,t,n){var a,i,l=e.result,c=e.keyPrefix,s=e.func,u=e.context,p=s.call(u,t,e.count++);Array.isArray(p)?v(p,l,n,o.thatReturnsArgument):null!=p&&(r.isValidElement(p)&&(a=p,i=c+(!p.key||t&&t.key===p.key?"":m(p.key)+"/")+n,p=r.cloneElement(a,{key:i},void 0!==a.props?a.props.children:void 0)),l.push(p))}function v(e,t,n,r,a){var o="";null!=n&&(o=m(n)+"/");var i=w.getPooled(t,o,r,a);!function(e,t,n){null==e||u(e,"",t,n)}(e,y,i),w.release(i)}w.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},d=function(e,t,n,r){var a=this;if(a.instancePool.length){var o=a.instancePool.pop();return a.call(o,e,t,n,r),o}return new a(e,t,n,r)},(h=w).instancePool=[],h.getPooled=d||f,h.poolSize||(h.poolSize=10),h.release=g;e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return l(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return l(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;i(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)v(e[n],t,n,o.thatReturnsArgument);return t}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,a,o,i,l){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,a,o,i,l],u=0;(c=new Error(t.replace(/%s/g,(function(){return s[u++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t,n){"use strict";var r=n(35);e.exports=r},function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},,,,,,,function(e,t){e.exports=wp.mediaUtils},function(e,t){e.exports=Marionette},,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(2),a=n.n(r),o=n(4),i=n(52),l=n(6),c=n(40),s=n(1),u=n(16),p=n.n(u),m=n(11),d=n(9);function h(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 f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function g(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var w=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.initialize=!1,this._data={id:!1,slug:!1,permalink:!1,content:!1,title:!1,excerpt:!1,featuredImage:!1},this.refresh=this.refresh.bind(this),this.savePost=this.savePost.bind(this),this.saveRedirection=this.saveRedirection.bind(this),this.saveSchemas=this.saveSchemas.bind(this),this.subscribeToElementor(),elementor.once("preview:loaded",Object(s.debounce)(this.elementorPreviewLoaded.bind(this),5e3))}var t,n,r;return t=e,(n=[{key:"elementorPreviewLoaded",value:function(){var e=this;Object(l.addAction)("rank_math_data_changed","rank-math",(function(){e.activateSaveButton()})),Object(l.addAction)("rank_math_update_app_ui","rank-math",(function(t){"hasRedirect"===t&&e.activateSaveButton()}))}},{key:"activateSaveButton",value:function(){var e=Object(s.get)(elementor,"saver.footerSaver",!1);!1===e?elementor.channels.editor.trigger("status:change",!0):e.activateSaveButtons(document,!0)}},{key:"collectGutenbergData",value:function(){return{id:this.getPostID(),slug:this.getSlug(),permalink:this.getPermalink(),content:this.getContent(),title:this.getTitle(),excerpt:this.getExcerpt(),featuredImage:this.getFeaturedImage()}}},{key:"getPostID",value:function(){return elementor.config.document.id}},{key:"getTitle",value:function(){return elementor.settings.page.model.get("post_title")}},{key:"getContent",value:function(){var e=[];return this.getContentArea().find(".elementor-widget-container").each((function(){e.push(a()(this).html())})),e.join("")}},{key:"getContentArea",value:function(){if(this._contentArea)return this._contentArea;var e=elementor.$preview.contents().find('[data-elementor-type="'+ElementorConfig.document.type+'"]');return e.length<1?a()("<div />"):(this._contentArea=e,e)}},{key:"getExcerpt",value:function(){return elementor.settings.page.model.get("post_excerpt")}},{key:"getPermalink",value:function(){return rankMath.is_front_page?rankMath.homeUrl+"/":this.getSlug()?rankMath.permalinkFormat.replace(/%(postname|pagename)%/,this.getSlug()).trimRight("/"):""}},{key:"getSlug",value:function(){return Object(m.safeDecodeURIComponent)(Object(o.select)("rank-math").getPermalink())}},{key:"getFeaturedImage",value:function(){var e=elementor.settings.page.model.get("post_featured_image");if(!Object(s.isUndefined)(e)&&(e=""===e.id?0:parseInt(e.id),this.isValidMediaId(e))){var t=Object(o.select)("core").getMedia(e);if(!Object(s.isUndefined)(t))return t}}},{key:"isValidMediaId",value:function(e){return"number"==typeof e&&0<e}},{key:"subscribeToElementor",value:function(){Object(o.dispatch)("rank-math").updatePermalink(rankMath.postName),this.subscriber=Object(s.debounce)(this.refresh,500),Object(o.subscribe)(this.subscriber),elementor.saver.on("before:save",this.savePost),elementor.saver.on("before:save",this.saveRedirection),elementor.saver.on("before:save",this.saveSchemas),elementor.settings.page.model.on("change",this.subscriber)}},{key:"refresh",value:function(){var e=f({},this._data);this._data=this.collectGutenbergData(),this.handleEditorChange(e),!Object(s.isEqual)(e,this._data)&&e.id&&elementor.channels.editor.trigger("status:change",!0)}},{key:"savePost",value:function(){var e=Object(o.select)("rank-math").getDirtyMetadata();Object(s.isEmpty)(e)||(p()({method:"POST",path:"rankmath/v1/updateMeta",data:{objectID:rankMath.objectID,objectType:rankMath.objectType,meta:e}}).then((function(e){Object(s.isString)(e)&&Object(o.dispatch)("rank-math").updatePermalink(e)})),Object(o.dispatch)("rank-math").resetDirtyMetadata())}},{key:"saveRedirection",value:function(){var e=Object(o.select)("rank-math").getRedirectionItem();Object(s.isEmpty)(e)||(e.objectID=this.getPostID(),e.redirectionSources=this.getPermalink(),p()({method:"POST",path:"rankmath/v1/updateRedirection",data:e}).then((function(e){"delete"===e.action?Object(o.dispatch)("rank-math").updateRedirection("redirectionID",0):"new"===e.action&&Object(o.dispatch)("rank-math").updateRedirection("redirectionID",e.id)})),Object(o.dispatch)("rank-math").resetRedirection())}},{key:"saveSchemas",value:function(){var e=Object(o.select)("rank-math").getSchemas();if(!Object(s.isEmpty)(e)&&!Object(s.isEqual)(e,Object(s.get)(rankMath,"schemas",{}))){var t=Object(o.select)("rank-math").getEditSchemas();p()({method:"POST",path:"rankmath/v1/updateSchemas",data:{objectID:rankMath.objectID,objectType:rankMath.objectType,schemas:e}}).then((function(n){if(!Object(s.isEmpty)(n)){var r=f({},e),a=f({},t);Object(s.map)(n,(function(e,t){r["schema-"+e]=f({},r[t]),a["schema-"+e]=f({},a[t]),delete r[t],delete a[t]})),Object(o.dispatch)("rank-math").updateSchemas(r),Object(o.dispatch)("rank-math").updateEditSchemas(a)}}))}}},{key:"handleEditorChange",value:function(e){var t=this,n={id:"handleIDChange",slug:"handleSlugChange",title:"handleTitleChange",excerpt:"handleExcerptChange",content:"handleContentChange",featuredImage:"handleFeaturedImageChange"};if(Object(s.isInteger)(e.id))return this.initialize?void Object(s.forEach)(n,(function(n,r){t._data[r]!==e[r]&&t[n](t._data[r])})):(this.initialize=!0,Object(s.forEach)(n,(function(e,n){t[e](t._data[n])})),void rankMathEditor.refresh("init"));Object(o.dispatch)("rank-math").refreshResults()}},{key:"handleIDChange",value:function(e){Object(o.dispatch)("rank-math").updatePostID(e),Object(o.dispatch)("rank-math").toggleLoaded(!0)}},{key:"handleSlugChange",value:function(){rankMathEditor.refresh("permalink")}},{key:"handleTitleChange",value:function(e){d.a.setVariable("title",e),d.a.setVariable("term",e),d.a.setVariable("author",e),Object(o.dispatch)("rank-math").updateSerpTitle(Object(o.select)("rank-math").getTitle()),rankMathEditor.refresh("title")}},{key:"handleExcerptChange",value:function(e){d.a.setVariable("excerpt",e),d.a.setVariable("excerpt_only",e),d.a.setVariable("wc_shortdesc",e),d.a.setVariable("seo_description",e),Object(o.dispatch)("rank-math").updateSerpDescription(Object(o.select)("rank-math").getDescription())}},{key:"handleFeaturedImageChange",value:function(e){Object(o.dispatch)("rank-math").updateFeaturedImage(e),rankMathEditor.refresh("featuredImage")}},{key:"handleContentChange",value:function(){Object(o.dispatch)("rank-math").updateSerpDescription(Object(o.select)("rank-math").getDescription()),rankMathEditor.refresh("content")}},{key:"getData",value:function(){return this._data}}])&&g(t.prototype,n),r&&g(t,r),e}(),y=n(53),v=n.n(y),k=n(5),O=n(39),_=v.a.ItemView.extend({template:!1,id:"elementor-panel-rank-math",className:"rank-math-elementor rank-math-sidebar-panel",initialize:function(){a()("#elementor-panel-elements-search-area").hide()},onShow:function(){Object(k.render)(Object(k.createElement)(O.a),document.getElementById("elementor-panel-rank-math"))},onDestroy:function(){a()("#elementor-panel-elements-search-area").show()}}),j=function(e){return e["rank-math"]={region:e.global.region,view:_,options:{}},e};function E(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var T=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.onThemeChange=this.onThemeChange.bind(this),elementor.settings.editorPreferences.model.on("change",this.onThemeChange)}var t,n,r;return t=e,(n=[{key:"onThemeChange",value:function(e){var t=Object(s.get)(e,"changed.ui_theme",!1);if(!1!==t){var n=this.getThemeLink();"light"!==t?n.attr("media","auto"===t?"(prefers-color-scheme: dark)":"").appendTo(elementorCommon.elements.$body):n.remove()}}},{key:"getThemeLink",value:function(){return this.link||this.createThemeLink(),this.link}},{key:"createThemeLink",value:function(){var e="rank-math-elementor-dark-css";this.link=a()("#"+e),this.link.length||(this.link=a()("<link>",{id:e,rel:"stylesheet",href:rankMath.elementorDarkMode}))}}])&&E(t.prototype,n),r&&E(t,r),e}(),I=n(23),S=n(24),C=n(22);function D(e){return(D="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})(e)}function P(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function N(e,t,n){return(N="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=F(e)););return e}(e,t);if(r){var a=Object.getOwnPropertyDescriptor(r,t);return a.get?a.get.call(n):a.value}})(e,t,n||e)}function A(e,t){return(A=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function R(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=F(e);if(t){var a=F(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return M(this,n)}}function M(e,t){return!t||"object"!==D(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function F(e){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var U=function(){return i.MediaUpload},L=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&A(e,t)}(i,e);var t,n,r,a=R(i);function i(){return P(this,i),a.apply(this,arguments)}return t=i,(n=[{key:"setup",value:function(e){this.registerSlots=this.registerSlots.bind(this),Object(l.addAction)("rank_math_loaded","rank-math",this.registerSlots,0),Object(l.addFilter)("editor.MediaUpload","rank-math/replace-media-upload",U),N(F(i.prototype),"setup",this).call(this,e)}},{key:"registerSlots",value:function(){this.RankMathAfterEditor=I.a,this.RankMathAfterFocusKeyword=C.a,this.RankMathAdvancedTab=S.a,this.slots={AfterEditor:I.a,AfterFocusKeyword:C.a,AdvancedTab:S.a}}},{key:"updatePermalink",value:function(e){Object(o.dispatch)("rank-math").updatePermalink(e)}},{key:"updatePermalinkSanitize",value:function(e){e=this.assessor.getResearch("slugify")(e),Object(o.dispatch)("rank-math").updatePermalink(e)}}])&&x(t.prototype,n),r&&x(t,r),i}(c.a);a()((function(){window.rankMathEditor=new L,window.rankMathGutenberg=window.rankMathEditor,window.rankMathEditor.setup(new w),new T,elementor.once("preview:loaded",(function(){$e.components.get("panel/elements").addTab("rank-math",{title:"SEO"}),Object(o.dispatch)("rank-math").refreshResults()}))})),a()(window).on("elementor:init",(function(){elementor.hooks.addFilter("panel/elements/regionViews",j)}))}]);
1
+ !function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=81)}([function(e,t){e.exports=wp.i18n},function(e,t){e.exports=lodash},function(e,t){e.exports=jQuery},function(e,t){e.exports=wp.components},function(e,t){e.exports=wp.data},function(e,t){e.exports=wp.element},function(e,t){e.exports=wp.hooks},function(e,t){e.exports=wp.compose},function(e,t){e.exports=rankMathAnalyzer},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(2),a=n.n(r);function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.map=null}var t,n,r;return t=e,(n=[{key:"swap",value:function(e,t){var n=this;if(!(e=e||""))return"";var r=new RegExp(/%(([a-z0-9_-]+)\(([^)]*)\)|[^\s]+)%/,"giu");return e.replace(" %page%","").replace("%sep% %sep%","%sep%").replace(r,(function(e){return n.replace(t,e)})).trim()}},{key:"replace",value:function(e,t){var n=t.toLowerCase().slice(1,-1);return["term_description","user_description"].includes(n)?"undefined"!=typeof tinymce&&tinymce.activeEditor&&"rank_math_description_editor"===tinymce.activeEditor.id?tinymce.activeEditor.getContent():a()("#description").val():n.includes("customfield(")?(n=n.replace("customfield(","").replace(")",""))in rankMath.customFields?rankMath.customFields[n]:"":(e=e||this.getMap(),(n="seo_description"===(n="seo_title"===(n=n.includes("(")?n.split("(")[0]:n)?"title":n)?"excerpt":n)in e?e[n]:"")}},{key:"getMap",value:function(){var e=this;return null!==this.map||(this.map={},a.a.each(rankMath.variables,(function(t,n){t=t.toLowerCase().replace(/%+/g,"").split("(")[0],e.map[t]=n.example}))),this.map}},{key:"setVariable",value:function(e,t){null!==this.map?this.map[e]=t:void 0!==rankMath.variables[e]&&(rankMath.variables[e].example=t)}}])&&o(t.prototype,n),r&&o(t,r),e}())},function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)&&r.length){var i=a.apply(null,r);i&&e.push(i)}else if("object"===o)for(var l in r)n.call(r,l)&&r[l]&&e.push(l)}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(r=function(){return a}.apply(t,[]))||(e.exports=r)}()},function(e,t){e.exports=wp.url},function(e,t){e.exports=wp.blockEditor},,function(e,t,n){"use strict";var r=document.createElement("div");t.a=function(e){return e&&"string"==typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,"").replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,""),r.innerHTML=e,e=r.textContent,r.textContent=""),e}},,function(e,t){e.exports=wp.apiFetch},function(e,t,n){"use strict";n.d(t,"a",(function(){return mn}));var r={};n.r(r),n.d(r,"updateKeywords",(function(){return p})),n.d(r,"updatePillarContent",(function(){return m})),n.d(r,"toggleFrontendScore",(function(){return d})),n.d(r,"updateAnalysisScore",(function(){return h})),n.d(r,"updateCanonicalUrl",(function(){return f})),n.d(r,"updateAdvancedRobots",(function(){return b})),n.d(r,"updateRobots",(function(){return g})),n.d(r,"updateBreadcrumbTitle",(function(){return w})),n.d(r,"resetDirtyMetadata",(function(){return y})),n.d(r,"updateFacebookTitle",(function(){return v})),n.d(r,"updateFacebookDescription",(function(){return k})),n.d(r,"updateFacebookImage",(function(){return O})),n.d(r,"updateFacebookImageID",(function(){return _})),n.d(r,"updateFacebookHasOverlay",(function(){return j})),n.d(r,"updateFacebookImageOverlay",(function(){return E})),n.d(r,"updateAppData",(function(){return s})),n.d(r,"updateAppUi",(function(){return u})),n.d(r,"updatePostID",(function(){return T})),n.d(r,"updatePermalink",(function(){return I})),n.d(r,"updateTitle",(function(){return S})),n.d(r,"updateDescription",(function(){return C})),n.d(r,"updateFeaturedImage",(function(){return D})),n.d(r,"updatePrimaryTermID",(function(){return P})),n.d(r,"updateRedirection",(function(){return x})),n.d(r,"updateRedirectionItem",(function(){return N})),n.d(r,"resetRedirection",(function(){return A})),n.d(r,"updateHasRedirect",(function(){return R})),n.d(r,"updateSerpTitle",(function(){return U})),n.d(r,"updateSerpDescription",(function(){return F})),n.d(r,"toggleSnippetEditor",(function(){return L})),n.d(r,"updateSnippetPreviewType",(function(){return H})),n.d(r,"updateTwitterUseFacebook",(function(){return z})),n.d(r,"updateTwitterCardType",(function(){return B})),n.d(r,"updateTwitterTitle",(function(){return G})),n.d(r,"updateTwitterDescription",(function(){return K})),n.d(r,"updateTwitterAuthor",(function(){return V})),n.d(r,"updateTwitterImageID",(function(){return W})),n.d(r,"updateTwitterImage",(function(){return Y})),n.d(r,"updateTwitterHasOverlay",(function(){return q})),n.d(r,"updateTwitterImageOverlay",(function(){return $})),n.d(r,"updateTwitterPlayerUrl",(function(){return Z})),n.d(r,"updateTwitterPlayerSize",(function(){return J})),n.d(r,"updateTwitterPlayerStreamUrl",(function(){return Q})),n.d(r,"updateTwitterPlayerStreamCtype",(function(){return X})),n.d(r,"updateTwitterAppDescription",(function(){return ee})),n.d(r,"updateTwitterAppIphoneID",(function(){return te})),n.d(r,"updateTwitterAppIphoneName",(function(){return ne})),n.d(r,"updateTwitterAppIphoneUrl",(function(){return re})),n.d(r,"updateTwitterAppIpadID",(function(){return ae})),n.d(r,"updateTwitterAppIpadName",(function(){return oe})),n.d(r,"updateTwitterAppIpadUrl",(function(){return ie})),n.d(r,"updateTwitterAppGoogleplayID",(function(){return le})),n.d(r,"updateTwitterAppGoogleplayName",(function(){return ce})),n.d(r,"updateTwitterAppGoogleplayUrl",(function(){return se})),n.d(r,"updateTwitterAppCountry",(function(){return ue})),n.d(r,"toggleLoaded",(function(){return pe})),n.d(r,"updateSelectedKeyword",(function(){return me})),n.d(r,"refreshResults",(function(){return de})),n.d(r,"setVersion",(function(){return he})),n.d(r,"toggleSchemaEditor",(function(){return Oe})),n.d(r,"toggleSchemaTemplates",(function(){return _e})),n.d(r,"schemaUpdated",(function(){return je})),n.d(r,"setEditingSchemaId",(function(){return Ee})),n.d(r,"setEditorTab",(function(){return Te})),n.d(r,"setTemplateTab",(function(){return Ie})),n.d(r,"updateEditSchemas",(function(){return Se})),n.d(r,"updateSchemas",(function(){return Ce})),n.d(r,"updateEditSchema",(function(){return De})),n.d(r,"saveSchema",(function(){return Pe})),n.d(r,"deleteSchema",(function(){return xe})),n.d(r,"saveTemplate",(function(){return Ne}));var a={};n.r(a),n.d(a,"appData",(function(){return He})),n.d(a,"appUi",(function(){return Ve}));var o={};n.r(o),n.d(o,"getAppData",(function(){return We})),n.d(o,"getDirtyMetadata",(function(){return Ye})),n.d(o,"getAnalysisScore",(function(){return qe})),n.d(o,"getKeywords",(function(){return $e})),n.d(o,"getPillarContent",(function(){return Ze})),n.d(o,"getRobots",(function(){return Je})),n.d(o,"getAdvancedRobots",(function(){return Qe})),n.d(o,"getCanonicalUrl",(function(){return Xe})),n.d(o,"getBreadcrumbTitle",(function(){return et})),n.d(o,"getRichSnippets",(function(){return tt})),n.d(o,"getShowScoreFrontend",(function(){return nt})),n.d(o,"isLoaded",(function(){return rt})),n.d(o,"getSelectedKeyword",(function(){return at})),n.d(o,"isRefreshing",(function(){return ot})),n.d(o,"isPro",(function(){return it})),n.d(o,"getFacebookTitle",(function(){return lt})),n.d(o,"getFacebookDescription",(function(){return ct})),n.d(o,"getFacebookAuthor",(function(){return st})),n.d(o,"getFacebookImageID",(function(){return ut})),n.d(o,"getFacebookImage",(function(){return pt})),n.d(o,"getFacebookHasOverlay",(function(){return mt})),n.d(o,"getFacebookImageOverlay",(function(){return dt})),n.d(o,"getPostID",(function(){return ht})),n.d(o,"getTitle",(function(){return ft})),n.d(o,"getPermalink",(function(){return bt})),n.d(o,"getDescription",(function(){return gt})),n.d(o,"getFeaturedImage",(function(){return wt})),n.d(o,"getFeaturedImageHtml",(function(){return yt})),n.d(o,"getPrimaryTermID",(function(){return vt})),n.d(o,"getRedirectionID",(function(){return kt})),n.d(o,"getRedirectionType",(function(){return Ot})),n.d(o,"getRedirectionUrl",(function(){return _t})),n.d(o,"getRedirectionItem",(function(){return jt})),n.d(o,"hasRedirect",(function(){return Et})),n.d(o,"getSerpTitle",(function(){return It})),n.d(o,"getSerpDescription",(function(){return St})),n.d(o,"isSnippetEditorOpen",(function(){return Ct})),n.d(o,"getSnippetPreviewType",(function(){return Dt})),n.d(o,"isSchemaEditorOpen",(function(){return Pt})),n.d(o,"isSchemaTemplatesOpen",(function(){return xt})),n.d(o,"hasSchemaUpdated",(function(){return Nt})),n.d(o,"getSchemas",(function(){return At})),n.d(o,"getEditSchemas",(function(){return Rt})),n.d(o,"getEditingSchema",(function(){return Mt})),n.d(o,"getPreviewSchema",(function(){return Ut})),n.d(o,"getEditorTab",(function(){return Ft})),n.d(o,"getTemplateTab",(function(){return Lt})),n.d(o,"getTwitterUseFacebook",(function(){return Ht})),n.d(o,"getTwitterCardType",(function(){return zt})),n.d(o,"getTwitterTitle",(function(){return Bt})),n.d(o,"getTwitterDescription",(function(){return Gt})),n.d(o,"getTwitterAuthor",(function(){return Kt})),n.d(o,"getTwitterImageID",(function(){return Vt})),n.d(o,"getTwitterImage",(function(){return Wt})),n.d(o,"getTwitterHasOverlay",(function(){return Yt})),n.d(o,"getTwitterImageOverlay",(function(){return qt})),n.d(o,"getTwitterAppDescription",(function(){return $t})),n.d(o,"getTwitterAppIphoneID",(function(){return Zt})),n.d(o,"getTwitterAppIphoneName",(function(){return Jt})),n.d(o,"getTwitterAppIphoneUrl",(function(){return Qt})),n.d(o,"getTwitterAppIpadID",(function(){return Xt})),n.d(o,"getTwitterAppIpadName",(function(){return en})),n.d(o,"getTwitterAppIpadUrl",(function(){return tn})),n.d(o,"getTwitterAppGoogleplayID",(function(){return nn})),n.d(o,"getTwitterAppGoogleplayName",(function(){return rn})),n.d(o,"getTwitterAppGoogleplayUrl",(function(){return an})),n.d(o,"getTwitterAppCountry",(function(){return on})),n.d(o,"getTwitterPlayerUrl",(function(){return ln})),n.d(o,"getTwitterPlayerSize",(function(){return cn})),n.d(o,"getTwitterPlayerStream",(function(){return sn})),n.d(o,"getTwitterPlayerStreamCtype",(function(){return un}));var i=n(4),l=n(9),c=n(6);function s(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return t=Object(c.applyFilters)("rank_math_sanitize_data",t,e,n),null!==r&&(r=Object(c.applyFilters)("rank_math_sanitize_meta_value",r,e,n)),r=null===r?t:r,Object(c.doAction)("rank_math_data_changed",e,t,n),{type:"RANK_MATH_APP_DATA",key:e,value:t,metaKey:n,metaValue:r}}function u(e,t){return Object(c.doAction)("rank_math_update_app_ui",e,t),{type:"RANK_MATH_APP_UI",key:e,value:t}}function p(e){return l.a.setVariable("focuskw",e.split(",")[0]),rankMathEditor.refresh("keyword"),s("keywords",e,"rank_math_focus_keyword")}function m(e){return s("pillarContent",e,"rank_math_pillar_content",!0===e?"on":"off")}function d(e){return s("showScoreFrontend",e,"rank_math_dont_show_seo_score",!0===e?"off":"on")}function h(e){return s("score",e,"rank_math_seo_score")}function f(e){return s("canonicalUrl",e,"rank_math_canonical_url")}function b(e){return s("advancedRobots",e,"rank_math_advanced_robots")}function g(e){return s("robots",e,"rank_math_robots",Object.keys(e))}function w(e){return s("breadcrumbTitle",e,"rank_math_breadcrumb_title")}function y(){return s("dirtyMetadata",{})}function v(e){return s("facebookTitle",e,"rank_math_facebook_title")}function k(e){return s("facebookDescription",e,"rank_math_facebook_description")}function O(e){return s("facebookImage",e,"rank_math_facebook_image")}function _(e){return s("facebookImageID",e,"rank_math_facebook_image_id")}function j(e){return s("facebookHasOverlay",e,"rank_math_facebook_enable_image_overlay",!0===e?"on":"off")}function E(e){return s("facebookImageOverlay",e,"rank_math_facebook_image_overlay")}function T(e){return rankMath.objectID=e,s("postID",e)}function I(e){return s("permalink",e,"permalink")}function S(e){return s("title",e,"rank_math_title")}function C(e){return s("description",e,"rank_math_description")}function D(e){return s("featuredImage",e)}function P(e,t){return s("primaryTerm",parseInt(e),"rank_math_primary_"+t)}function x(e,t){return s(e,t)}function N(e){return u("redirectionItem",e)}function A(){return u("redirectionItem",{})}function R(e){return u("hasRedirect",e)}var M=n(25);function U(e){return e=l.a.swap(""!==e?e:rankMath.assessor.serpData.titleTemplate),rankMathEditor.refresh("title"),u("serpTitle",e)}function F(e){return e=l.a.swap(Object(M.a)(e)),rankMathEditor.refresh("description"),u("serpDescription",e)}function L(e){return u("isSnippetEditorOpen",e)}function H(e){return u("snippetPreviewType",e)}function z(e){return s("twitterUseFacebook",e,"rank_math_twitter_use_facebook",!0===e?"on":"off")}function B(e){return s("twitterCardType",e,"rank_math_twitter_card_type")}function G(e){return s("twitterTitle",e,"rank_math_twitter_title")}function K(e){return s("twitterDescription",e,"rank_math_twitter_description")}function V(e){return s("twitterAuthor",e,"rank_math_twitter_author")}function W(e){return s("twitterImageID",e,"rank_math_twitter_image_id")}function Y(e){return s("twitterImage",e,"rank_math_twitter_image")}function q(e){return s("twitterHasOverlay",e,"rank_math_twitter_enable_image_overlay",!0===e?"on":"off")}function $(e){return s("twitterImageOverlay",e,"rank_math_twitter_image_overlay")}function Z(e){return s("twitterPlayerUrl",e,"rank_math_twitter_player_url")}function J(e){return s("twitterPlayerSize",e,"rank_math_twitter_player_size")}function Q(e){return s("twitterPlayerStream",e,"rank_math_twitter_player_stream")}function X(e){return s("twitterPlayerStreamCtype",e,"rank_math_twitter_player_stream_ctype")}function ee(e){return s("twitterAppDescription",e,"rank_math_twitter_app_description")}function te(e){return s("twitterAppIphoneID",e,"rank_math_twitter_app_iphone_id")}function ne(e){return s("twitterAppIphoneName",e,"rank_math_twitter_app_iphone_name")}function re(e){return s("twitterAppIphoneUrl",e,"rank_math_twitter_app_iphone_url")}function ae(e){return s("twitterAppIpadID",e,"rank_math_twitter_app_ipad_id")}function oe(e){return s("twitterAppIpadName",e,"rank_math_twitter_app_ipad_name")}function ie(e){return s("twitterAppIpadUrl",e,"rank_math_twitter_app_ipad_url")}function le(e){return s("twitterAppGoogleplayID",e,"rank_math_twitter_app_googleplay_id")}function ce(e){return s("twitterAppGoogleplayName",e,"rank_math_twitter_app_googleplay_name")}function se(e){return s("twitterAppGoogleplayUrl",e,"rank_math_twitter_app_googleplay_url")}function ue(e){return s("twitterAppCountry",e,"rank_math_twitter_app_country")}function pe(e){return u("isLoaded",e)}function me(e){return u("selectedKeyword",e)}function de(){return u("refreshResults",Date.now())}function he(){return u("isPro",!0)}var fe=n(1),be=n(0),ge=n(16),we=n.n(ge);function ye(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 ve(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ye(Object(n),!0).forEach((function(t){ke(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ye(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ke(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Oe(e){return u("isSchemaEditorOpen",e)}function _e(e){return u("isSchemaTemplatesOpen",e)}function je(e){return u("schemaUpdated",e)}function Ee(e){return u("editingSchemaId",e)}function Te(e){return u("editorTab",e)}function Ie(e){return u("templateTab",e)}function Se(e){return u("editSchemas",e)}function Ce(e){return s("schemas",e)}function De(e,t){var n=ve({},Object(i.select)("rank-math").getEditSchemas());return n[e]=t,u("editSchemas",n)}function Pe(e,t){var n=ve({},Object(i.select)("rank-math").getSchemas());return n[e]=t,s("schemas",n)}function xe(e){var t=ve({},Object(i.select)("rank-math").getSchemas());return delete t[e],Object(c.doAction)("rank_math_schema_trash",e),s("schemas",t,"rank_math_delete_"+e,"")}function Ne(e,t,n){return we()({method:"POST",path:"rankmath/v1/saveTemplate",data:{schema:e,postId:n}}).then((function(n){t({loading:!1,showNotice:!0,postId:n.id}),setTimeout((function(){t({showNotice:!1}),Object(fe.get)(rankMath,"isTemplateScreen",!1)&&(document.title=Object(be.__)("Edit Schema","rank-math"),window.history.pushState(null,"",n.link.replace(/&amp;/g,"&")))}),2e3),rankMath.schemaTemplates.push({schema:e,title:e.metadata.title,type:e["@type"]})})),t({loading:!0}),{type:"DONT_WANT_TO_DO_SOMETHING"}}function Ae(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 Re(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ae(Object(n),!0).forEach((function(t){Me(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ae(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Me(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ue=rankMath.assessor.serpData,Fe=rankMath.assessor.hasRedirection,Le={postID:null,title:Ue.title?Ue.title:Ue.titleTemplate,description:Ue.description,keywords:Ue.focusKeywords,pillarContent:Ue.pillarContent,featuredImage:"",permalink:!1,primaryTerm:Ue.primaryTerm,robots:Ue.robots,advancedRobots:Ue.advancedRobots,canonicalUrl:Ue.canonicalUrl,breadcrumbTitle:Ue.breadcrumbTitle,showScoreFrontend:Ue.showScoreFrontend,redirectionID:Fe?Object(fe.get)(rankMath.assessor,"redirection.id",""):"",redirectionType:Fe?Object(fe.get)(rankMath.assessor,"redirection.header_code",""):"",redirectionUrl:Fe?Object(fe.get)(rankMath.assessor,"redirection.url_to",""):"",facebookTitle:Ue.facebookTitle,facebookImage:Ue.facebookImage,facebookImageID:Ue.facebookImageID,facebookAuthor:Ue.facebookAuthor,facebookDescription:Ue.facebookDescription,facebookHasOverlay:Ue.facebookHasOverlay,facebookImageOverlay:Ue.facebookImageOverlay,twitterTitle:Ue.twitterTitle,twitterImage:Ue.twitterImage,twitterAuthor:Ue.twitterAuthor,twitterImageID:Ue.twitterImageID,twitterCardType:Ue.twitterCardType,twitterUseFacebook:Ue.twitterUseFacebook,twitterDescription:Ue.twitterDescription,twitterHasOverlay:Ue.twitterHasOverlay,twitterImageOverlay:Ue.twitterImageOverlay,twitterPlayerUrl:Ue.twitterPlayerUrl,twitterPlayerSize:Ue.twitterPlayerSize,twitterPlayerStream:Ue.twitterPlayerStream,twitterPlayerStreamCtype:Ue.twitterPlayerStreamCtype,twitterAppDescription:Ue.twitterAppDescription,twitterAppIphoneName:Ue.twitterAppIphoneName,twitterAppIphoneID:Ue.twitterAppIphoneID,twitterAppIphoneUrl:Ue.twitterAppIphoneUrl,twitterAppIpadName:Ue.twitterAppIpadName,twitterAppIpadID:Ue.twitterAppIpadID,twitterAppIpadUrl:Ue.twitterAppIpadUrl,twitterAppGoogleplayName:Ue.twitterAppGoogleplayName,twitterAppGoogleplayID:Ue.twitterAppGoogleplayID,twitterAppGoogleplayUrl:Ue.twitterAppGoogleplayUrl,twitterAppCountry:Ue.twitterAppCountry,schemas:Object(fe.get)(rankMath,"schemas",{}),score:0,dirtyMetadata:{}};function He(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Le,n=arguments.length>1?arguments[1]:void 0,r=Re({},t.dirtyMetadata);return!1!==n.metaKey&&(r[n.metaKey]=n.metaValue),"RANK_MATH_APP_DATA"===n.type?"dirtyMetadata"===n.key?Re(Re({},t),{},{dirtyMetadata:n.value}):Re(Re({},t),{},(Me(e={},n.key,n.value),Me(e,"dirtyMetadata",r),e)):t}function ze(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 Be(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ze(Object(n),!0).forEach((function(t){Ge(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ze(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ge(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ke={isLoaded:!1,isPro:!1,selectedKeyword:{tag:"",index:0,data:{value:""}},hasRedirect:rankMath.assessor.hasRedirection&&(!Object(fe.isEmpty)(Object(fe.get)(rankMath.assessor,"redirection.id",""))||!Object(fe.isEmpty)(Object(fe.get)(rankMath.assessor,"redirection.url_to",""))),serpTitle:"",serpDescription:"",isSnippetEditorOpen:!1,snippetPreviewType:"",refreshResults:"",redirectionItem:{},editorTab:"",templateTab:"",editSchemas:{},editingSchemaId:"",isSchemaEditorOpen:!1,isSchemaTemplatesOpen:!1,schemaUpdated:!1};function Ve(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ke,t=arguments.length>1?arguments[1]:void 0;return"RANK_MATH_APP_UI"===t.type?Be(Be({},e),{},Ge({},t.key,t.value)):e}function We(e){return e.appData}function Ye(e){return e.appData.dirtyMetadata}function qe(e){return e.appData.score}function $e(e){return e.appData.keywords}function Ze(e){return e.appData.pillarContent}function Je(e){return e.appData.robots}function Qe(e){return e.appData.advancedRobots}function Xe(e){return e.appData.canonicalUrl}function et(e){return e.appData.breadcrumbTitle}function tt(e){return"todo"}function nt(e){return e.appData.showScoreFrontend}function rt(e){return e.appUi.isLoaded}function at(e){return e.appUi.selectedKeyword}function ot(e){return e.appUi.refreshResults}function it(e){return e.appUi.isPro}function lt(e){return e.appData.facebookTitle}function ct(e){return e.appData.facebookDescription}function st(e){return e.appData.facebookAuthor}function ut(e){return e.appData.facebookImageID}function pt(e){return e.appData.facebookImage}function mt(e){return e.appData.facebookHasOverlay}function dt(e){return""!==e.appData.facebookImageOverlay?e.appData.facebookImageOverlay:"play"}function ht(e){return e.appData.postID}function ft(e){return e.appData.title}function bt(e){return e.appData.permalink}function gt(e){return e.appData.description}function wt(e){return e.appData.featuredImage}function yt(e){var t=e.appData.featuredImage;return'<img src="'.concat(t.source_url,'" alt="').concat(t.alt_text,'" >')}function vt(e){return e.appData.primaryTerm}function kt(e){return e.appData.redirectionID}function Ot(e){return e.appData.redirectionType}function _t(e){return e.appData.redirectionUrl}function jt(e){return e.appUi.redirectionItem}function Et(e){return e.appUi.hasRedirect}var Tt=n(14);function It(e){return Object(Tt.a)(e.appUi.serpTitle)}function St(e){return e.appUi.serpDescription}function Ct(e){return e.appUi.isSnippetEditorOpen}function Dt(e){return e.appUi.snippetPreviewType}function Pt(e){return e.appUi.isSchemaEditorOpen}function xt(e){return e.appUi.isSchemaTemplatesOpen}function Nt(e){return e.appUi.schemaUpdated}function At(e){return e.appData.schemas}function Rt(e){return e.appUi.editSchemas}function Mt(e){return{id:e.appUi.editingSchemaId,data:e.appUi.editSchemas[e.appUi.editingSchemaId]}}function Ut(e){return e.appData.schemas[e.appUi.editingSchemaId]}function Ft(e){return e.appUi.editorTab}function Lt(e){return e.appUi.templateTab}function Ht(e){return e.appData.twitterUseFacebook}function zt(e){return e.appData.twitterCardType}function Bt(e){return e.appData.twitterTitle}function Gt(e){return e.appData.twitterDescription}function Kt(e){return e.appData.twitterAuthor}function Vt(e){return e.appData.twitterImageID}function Wt(e){return e.appData.twitterImage}function Yt(e){return e.appData.twitterHasOverlay}function qt(e){return""!==e.appData.twitterImageOverlay?e.appData.twitterImageOverlay:"play"}function $t(e){return e.appData.twitterAppDescription}function Zt(e){return e.appData.twitterAppIphoneID}function Jt(e){return e.appData.twitterAppIphoneName}function Qt(e){return e.appData.twitterAppIphoneUrl}function Xt(e){return e.appData.twitterAppIpadID}function en(e){return e.appData.twitterAppIpadName}function tn(e){return e.appData.twitterAppIpadUrl}function nn(e){return e.appData.twitterAppGoogleplayID}function rn(e){return e.appData.twitterAppGoogleplayName}function an(e){return e.appData.twitterAppGoogleplayUrl}function on(e){return e.appData.twitterAppCountry}function ln(e){return e.appData.twitterPlayerUrl}function cn(e){return e.appData.twitterPlayerSize}function sn(e){return e.appData.twitterPlayerStream}function un(e){return e.appData.twitterPlayerStreamCtype}var pn=Object(i.registerStore)("rank-math",{reducer:Object(i.combineReducers)(a),selectors:o,actions:r});function mn(){return pn}},,function(e,t,n){"use strict";var r=n(1);t.a=function(e,t,n,a){return""===e||Object(r.isUndefined)(t)?t:(t=Object(r.truncate)(t,{length:n,separator:a||" "})).replace(new RegExp(function(e){return e.replace(/[\\^$*+?.()|[\]{}]/g,"\\$&")}(e),"gi"),(function(e){return'<mark className="highlight">'+e+"</mark>"}))}},function(e,t,n){"use strict";t.a=function(e){return 80<e?"good-fk":50<e?"ok-fk":"bad-fk"}},,function(e,t,n){"use strict";var r=n(3),a=Object(r.createSlotFill)("RankMathAfterFocusKeyword"),o=a.Fill,i=a.Slot,l=function(e){var t=e.children,n=e.className;return wp.element.createElement(o,null,wp.element.createElement("div",{className:n},t))};l.Slot=i,t.a=l},function(e,t,n){"use strict";var r=n(3),a=Object(r.createSlotFill)("RankMathAfterEditor"),o=a.Fill,i=a.Slot,l=function(e){var t=e.children,n=e.className;return wp.element.createElement(o,null,wp.element.createElement(r.PanelRow,{className:n},t))};l.Slot=i,t.a=l},function(e,t,n){"use strict";var r=n(3),a=Object(r.createSlotFill)("RankMathAdvancedTab"),o=a.Fill,i=a.Slot,l=function(e){var t=e.children,n=e.className;return wp.element.createElement(o,null,wp.element.createElement(r.PanelRow,{className:n},t))};l.Slot=i,t.a=l},function(e,t,n){"use strict";var r=n(2),a=n.n(r),o=n(8),i=n(1),l=n(6),c=n(9),s=n(14),u=function(e,t){return e=(e=o.Helpers.cleanText(e)).replace(/\r?\n|\r/g," "),t?Object(i.truncate)(e,{length:t,separator:" "}):e};t.a=function(e){var t=rankMathEditor.assessor.dataCollector.getData(),n=t.excerpt,r=t.content?function(e){if(Object(i.isEmpty)(e))return"";e=e.replace(/\[caption[^\]]*\](.*)\[\/caption\]/g,"");var t=Object(i.filter)(o.Helpers.matchParagraphs(e,!0,!0),(function(e){return""!==a.a.trim(e)}));if(!t.length)return"";var n=rankMathEditor.getPrimaryKeyword();if(""!==n){var r=Object(i.filter)(t,(function(e){return Object(i.includes)(e.toLowerCase(),n.toLowerCase())}));if(0<r.length)return u(r[0],160)}return u(t[0],160)}(t.content.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,"")):"",p=Object(i.isUndefined)(n)||Object(i.isEmpty)(n)?r:n;if(c.a.setVariable("excerpt",p),c.a.setVariable("seo_description",p),""!==(e=Object(s.a)(Object(l.applyFilters)("rankMath/description",e))))return o.Helpers.cleanText(e);if(!Object(i.isUndefined)(n)&&!Object(i.isEmpty)(n))return o.Helpers.cleanText(n);var m=rankMath.assessor.serpData.descriptionTemplate;return Object(i.isUndefined)(m)||""===m?r:o.Helpers.cleanText(m)}},function(e,t,n){"use strict";var r=n(0),a=n(6);function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),rankMath.is_front_page&&(Object(a.addFilter)("rankMath_analysis_contentLength","rank-math",this.contentLength),Object(a.addFilter)("rankMath_analysis_contentLength_boundaries","rank-math",this.contentLengthBoundary))}var t,n,i;return t=e,(n=[{key:"contentLength",value:function(e){return{hasScore:e.hasScore,failed:Object(r.__)("Content is %1$d words long. Consider using at least 300 words.","rank-math"),tooltipText:Object(r.__)("Minimum recommended content length should be 300 words.","rank-math"),emptyContent:Object(r.sprintf)(Object(r.__)("Content should be %1$s long.","rank-math"),'<a href="https://s.rankmath.com/100contentlength" target="_blank">'+Object(r.__)("300 words","rank-math")+"</a>")}}},{key:"contentLengthBoundary",value:function(){return{recommended:{boundary:299,score:8},belowRecommended:{boundary:200,score:5},low:{boundary:50,score:2}}}}])&&o(t.prototype,n),i&&o(t,i),e}();t.a=i},function(e,t,n){"use strict";var r=n(1),a=n(14);function o(e,t,n){var a=0;return!1!==Object(r.get)(n,"pixelWidth",!1)&&(a=Math.min(100,Math.floor(t/n.pixelWidth*100))),Math.max(Math.min(100,Math.floor(e/n.max*100)),a)+"%"}function i(e,t){return e<=t.min||e>t.max}function l(e,t){return e<=t.minWidth||e>t.pixelWidth}t.a=function(e,t){var n=Object(a.a)(e).length,c=0,s=!1;if(!1!==Object(r.get)(t,"pixelWidth",!1)){s=!0;var u=document.createTextNode(e),p=document.createElement("span");p.appendChild(u),p.id="rank-math-width-tester",p.className=t.widthCheckerClass;var m=document.body.appendChild(p);c=document.getElementById("rank-math-width-tester").offsetWidth,m.outerHTML=""}return{left:o(n,c,t),isInvalid:i(n,t),isInvalidWidth:!!s&&l(c,t),count:n+" / "+t.max,pixelWidth:s?c+"px / "+t.pixelWidth+"px":""}}},function(e,t){e.exports=Tagify},function(e,t,n){"use strict";var r=n(1);t.a=function(e,t){var n=Object(r.round)(e/t*100);if(!(100<=n))return 49<n?"test-check-good":30<n?"test-check-ok":"test-check-bad"}},function(e,t){e.exports=wp.htmlEntities},,function(e,t,n){"use strict";var r=n(4),a=n(20);t.a=Object(r.withSelect)((function(e){var t=e("rank-math");return{score:t.getAnalysisScore(),isRefreshing:t.isRefreshing()}}))((function(e){var t=e.score;return wp.element.createElement("div",{className:"seo-score "+Object(a.a)(t)},wp.element.createElement("div",{className:"score-text"},t," / 100"))}))},,function(e,t){e.exports=React},function(e,t,n){"use strict";function r(e){return function(){return e}}var a=function(){};a.thatReturns=r,a.thatReturnsFalse=r(!1),a.thatReturnsTrue=r(!0),a.thatReturnsNull=r(null),a.thatReturnsThis=function(){return this},a.thatReturnsArgument=function(e){return e},e.exports=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="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},a=l(n(34)),o=l(n(42)),i=l(n(45));function l(e){return e&&e.__esModule?e:{default:e}}var c=void 0;function s(e,t){var n,i,l,u,p,m,d,h,f=[],b={};for(m=0;m<e.length;m++)if("string"!==(p=e[m]).type){if(!t.hasOwnProperty(p.value)||void 0===t[p.value])throw new Error("Invalid interpolation, missing component node: `"+p.value+"`");if("object"!==r(t[p.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+p.value+"`","\n> "+c);if("componentClose"===p.type)throw new Error("Missing opening component token: `"+p.value+"`");if("componentOpen"===p.type){n=t[p.value],l=m;break}f.push(t[p.value])}else f.push(p.value);return n&&(u=function(e,t){var n,r,a=t[e],o=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===a.value){if("componentOpen"===n.type){o++;continue}if("componentClose"===n.type){if(0===o)return r;o--}}throw new Error("Missing closing component token `"+a.value+"`")}(l,e),d=s(e.slice(l+1,u),t),i=a.default.cloneElement(n,{},d),f.push(i),u<e.length-1&&(h=s(e.slice(u+1),t),f=f.concat(h))),1===f.length?f[0]:(f.forEach((function(e,t){e&&(b["interpolation-child-"+t]=e)})),(0,o.default)(b))}t.default=function(e){var t=e.mixedString,n=e.components,a=e.throwErrors;if(c=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(a)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var o=(0,i.default)(t);try{return s(o,n)}catch(e){if(a)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},,,function(e,t,n){"use strict";var r=n(0),a=n(4),o=n(6),i=n(5),l=n(10),c=n.n(l),s=n(1),u=n(7),p=n(3);function m(e){return(m="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})(e)}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=y(e);if(t){var a=y(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return w(this,n)}}function w(e,t){return!t||"object"!==m(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function v(){return(v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function k(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var O=function(e){var t=e.tabId,n=e.onClick,r=e.children,a=e.selected,o=k(e,["tabId","onClick","children","selected"]);return wp.element.createElement(p.Button,v({role:"tab",tabIndex:a?null:-1,"aria-selected":a,id:t,onClick:n},o),r)},_=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b(e,t)}(o,e);var t,n,r,a=g(o);function o(){var e;h(this,o),(e=a.apply(this,arguments)).handleClick=function(t){var n=e.props.onSelect,r=void 0===n?s.noop:n;e.setState({selected:t}),r(t)},e.onNavigate=function(e,t){t.click()},e.toggle=function(){e.setState((function(e){return{isOpen:!e.isOpen}}))};var t=e.props,n=t.tabs,r=t.initialTabName;return e.state={isOpen:!1,selected:r||(n.length>0?n[0].name:null)},e}return t=o,(n=[{key:"render",value:function(){var e=this,t=this.state.selected,n=this.props,r=n.activeClass,a=void 0===r?"is-active":r,o=n.className,i=n.instanceId,l=n.orientation,u=void 0===l?"horizontal":l,m=n.tabs,h=Object(s.find)(m,{name:t}),f=i+"-"+h.name,b=m.slice(4);return wp.element.createElement("div",{className:o},wp.element.createElement(p.NavigableMenu,{role:"tablist",orientation:u,onNavigate:this.onNavigate,className:"components-tab-panel__tabs"},m.slice(0,4).map((function(n){return wp.element.createElement(O,{className:c()("components-tab-panel__tabs-item",n.className,d({},a,n.name===t)),tabId:i+"-"+n.name,"aria-controls":i+"-"+n.name+"-view",selected:n.name===t,key:n.name,onClick:Object(s.partial)(e.handleClick,n.name)},n.title)})),!Object(s.isEmpty)(b)&&wp.element.createElement(p.Button,{onClick:this.toggle,"aria-expanded":this.state.isOpen,className:c()("components-tab-panel__tabs-item",{active:this.state.isOpen})},wp.element.createElement("i",{className:"rm-icon rm-icon-plus"}),wp.element.createElement("span",null,"More")),this.state.isOpen&&wp.element.createElement("div",{className:"rank-math-extra-menu"},b.map((function(n){return wp.element.createElement(O,{className:c()("components-tab-panel__tabs-item",n.className,d({},a,n.name===t)),tabId:i+"-"+n.name,"aria-controls":i+"-"+n.name+"-view",selected:n.name===t,key:n.name,onClick:Object(s.partial)(e.handleClick,n.name)},n.title)})))),h&&wp.element.createElement("div",{"aria-labelledby":f,role:"tabpanel",id:f+"-view",className:"components-tab-panel__tab-content"},this.props.children(h)))}}])&&f(t.prototype,n),r&&f(t,r),o}(i.Component),j=Object(u.withInstanceId)(_),E=n(27),T=function(e){var t=Object(E.a)(e.source,e),n=t.pixelWidth?" (".concat(t.pixelWidth,")"):"";return wp.element.createElement("span",{className:c()("length-indicator-wrapper",{invalid:t.isInvalid})},wp.element.createElement("span",{className:"length-count"},t.count,n),wp.element.createElement("span",{className:"length-indicator"},wp.element.createElement("span",{style:{left:t.left}})))},I=n(30),S=n(36),C=n.n(S),D=function(e){var t=e.tags,n=e.components,r=e.children;return n=n||{},!1===Object(s.isUndefined)(t)&&(t=t.split(",")).forEach((function(e){var t=e;n[e]=wp.element.createElement(t,null)})),C()({mixedString:r,components:n})};function P(e){return(P="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})(e)}function x(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function A(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=U(e);if(t){var a=U(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return R(this,n)}}function R(e,t){return!t||"object"!==P(t)&&"function"!=typeof t?M(e):t}function M(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U(e){return(U=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var F=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&N(e,t)}(l,e);var t,n,a,o=A(l);function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=o.call(this,e)).state={},t.state.variables=t.getFiltered(),t.state.filtered=t.state.variables,t.state.display="none",t.state.isOpen=!1,t.handleOutsideClick=t.handleOutsideClick.bind(M(t)),t}return t=l,(n=[{key:"getFiltered",value:function(){var e=this.props.exclude,t=Object.values(rankMath.variables);return Object(s.isUndefined)(e)?t:t.filter((function(t){return!e.includes(t.variable)}))}},{key:"render",value:function(){var e=this;return wp.element.createElement(i.Fragment,null,wp.element.createElement("div",{className:"rank-math-variables-dropdown",style:{display:this.state.display},ref:function(t){e.node=t}},wp.element.createElement(p.TextControl,{autoComplete:"off",placeholder:Object(I.decodeEntities)(Object(r.__)("Search &hellip;","rank-math")),onChange:function(t){e.handleSearch(t)}}),wp.element.createElement("ul",null,this.state.filtered.map((function(t,n){return wp.element.createElement("li",{key:n,"data-var":t.variable,role:"presentation",onClick:function(){e.props.onClick(t)}},wp.element.createElement("strong",null,t.name),wp.element.createElement("span",null,wp.element.createElement(D,{tags:"strong"},t.description.replace("<strong>","{{strong}}").replace("</strong>","{{/strong}}"))))}),this))),wp.element.createElement(p.Button,{icon:"arrow-down-alt2",onClick:function(){e.toggle()}}))}},{key:"toggle",value:function(){this.state.isOpen?document.removeEventListener("click",this.handleOutsideClick,!1):document.addEventListener("click",this.handleOutsideClick,!1),this.setState({display:this.state.isOpen?"none":"block",isOpen:!this.state.isOpen})}},{key:"handleOutsideClick",value:function(e){this.node.contains(e.target)||this.toggle()}},{key:"handleSearch",value:function(e){var t=e.toLowerCase();2>t.length?this.setState({filtered:this.state.variables}):this.setState({filtered:this.state.variables.filter((function(e){return-1!==Object.values(e).join(" ").toLowerCase().indexOf(t)}))})}}])&&x(t.prototype,n),a&&x(t,a),l}(i.Component),L=Object(u.compose)(Object(a.withSelect)((function(e){var t=e("rank-math");return{title:t.getTitle(),serpTitle:t.getSerpTitle()}})),Object(a.withDispatch)((function(e){return{updateTitle:function(t){e("rank-math").updateSerpTitle(t),e("rank-math").updateTitle(t)}}})))((function(e){var t=e.title,n=e.serpTitle,a=e.updateTitle;return wp.element.createElement("div",{className:"field-group"},wp.element.createElement("label",{htmlFor:"rank-math-editor-title"},Object(r.__)("Title","rank-math")),wp.element.createElement(T,{source:n,min:15,max:60,pixelWidth:580,widthCheckerClass:"title"}),wp.element.createElement("div",{className:"variable-group"},wp.element.createElement(p.TextControl,{id:"rank-math-editor-title",value:t,placeholder:rankMath.assessor.serpData.titleTemplate,help:Object(r.__)("This is what will appear in the first line when this post shows up in the search results.","rank-math"),onChange:a}),wp.element.createElement(F,{exclude:["seo_title","seo_description"],onClick:function(e){return a(t+" %"+e.variable+"%")}})))})),H=n(8),z=n(11),B=Object(u.compose)(Object(a.withSelect)((function(){var e=rankMathEditor.assessor.dataCollector;return{permalink:e.getSlug(),serpPermalink:e.getPermalink()}})),Object(a.withDispatch)((function(){return{updatePermalink:function(e){rankMathEditor.updatePermalink(H.Helpers.sanitizeText(e))},updatePermalinkSanitize:function(e){rankMathEditor.updatePermalinkSanitize(H.Helpers.sanitizeText(e))}}})))((function(e){var t=e.permalink,n=e.serpPermalink,a=e.updatePermalink,o=e.updatePermalinkSanitize;return wp.element.createElement("div",{className:"field-group"},wp.element.createElement("label",{htmlFor:"rank-math-editor-permalink"},Object(r.__)("Permalink","rank-math")),wp.element.createElement(T,{source:Object(z.safeDecodeURIComponent)(n),min:5,max:75}),wp.element.createElement(p.TextControl,{id:"rank-math-editor-permalink",value:rankMath.is_front_page?"/":Object(z.safeDecodeURIComponent)(t),onChange:a,help:rankMath.is_front_page?Object(r.__)("Editing Homepage permalink is not possible.","rank-math"):Object(r.__)("This is the unique URL of this page, displayed below the post title in the search results.","rank-math"),disabled:rankMath.is_front_page?"disabled":"",onBlur:function(e){o(e.target.value)}}))})),G=n(14),K=Object(u.compose)(Object(a.withSelect)((function(e){var t=e("rank-math");return{description:t.getDescription(),serpDescription:t.getSerpDescription()}})),Object(a.withDispatch)((function(e){return{updateDescription:function(t){e("rank-math").updateSerpDescription(t),e("rank-math").updateDescription(t)}}})))((function(e){var t=e.description,n=e.serpDescription,a=e.updateDescription;return wp.element.createElement("div",{className:"field-group"},wp.element.createElement("label",{htmlFor:"rank-math-editor-description"},Object(r.__)("Description","rank-math")),wp.element.createElement(T,{source:n,min:80,max:160,pixelWidth:920,widthCheckerClass:"description"}),wp.element.createElement("div",{className:"variable-group"},wp.element.createElement(p.TextareaControl,{id:"rank-math-editor-description",value:Object(G.a)(t),placeholder:n||rankMath.assessor.serpData.descriptionTemplate,help:Object(r.__)("This is what will appear as the description when this post shows up in the search results.","rank-math"),onChange:a}),wp.element.createElement(F,{exclude:["seo_title","seo_description"],onClick:function(e){return a(t+" %"+e.variable+"%")}})))})),V=Object(u.compose)(Object(a.withSelect)((function(e){return{type:e("rank-math").getSnippetPreviewType()}})),Object(a.withDispatch)((function(e,t){return{updatePreviewType:function(n){e("rank-math").updateSnippetPreviewType(n===t.type?"":n)}}})))((function(e){var t=e.type,n=e.updatePreviewType,r=c()("button button-secondary button-small",{active:"desktop"===t}),a=c()("button button-secondary button-small",{active:"mobile"===t});return wp.element.createElement("div",{className:"rank-math-button-devices alignright"},wp.element.createElement("div",{onClick:function(){return n("desktop")},className:r},wp.element.createElement("i",{className:"rm-icon rm-icon-desktop"})),wp.element.createElement("div",{onClick:function(){return n("mobile")},className:a},wp.element.createElement("i",{className:"rm-icon rm-icon-mobile"})))})),W=n(32),Y=n(19),q=function(e,t){for(var n=[],r=1;r<=e;r++)n.push(wp.element.createElement(p.Dashicon,{key:Math.random(),size:"13",icon:"star-"+t}));return n},$=Object(a.withSelect)((function(e){var t=e("rank-math").getSchemas();return{schema:Object(s.find)(t,(function(e){return!Object(s.isEmpty)(e.metadata.isPrimary)}))}}))((function(e){var t=e.schema;if(Object(s.isEmpty)(t))return null;var n=Object(s.get)(t,"review.reviewRating",{}),a=n.ratingValue;if(Object(s.isEmpty)(a))return null;Object(s.get)(n,"worstRating",1);var o=Object(s.get)(n,"bestRating",5);return wp.element.createElement("div",{className:"rank-math-rating-preview"},wp.element.createElement("div",{className:"serp-ratings"},q(o,"filled"),function(e,t,n){return e*=100/n,wp.element.createElement("div",{className:"serp-result",style:{width:e+"%"}},q(n,"filled"))}(a,0,o)),wp.element.createElement("span",{className:"serp-rating-label"},Object(r.__)("Rating: ","rank-math")),wp.element.createElement("span",{className:"serp-rating-value"},a))})),Z=function(e,t){for(var n=[],r=1;r<=e;r++)n.push(wp.element.createElement(p.Dashicon,{key:Math.random(),size:"13",icon:"star-"+t}));return n},J=Object(a.withSelect)((function(e){var t=e("rank-math").getSchemas();return{schema:Object(s.find)(t,(function(e){return Object(s.includes)(["Event"],e["@type"])}))}}))((function(e){var t=e.schema;if(Object(s.isEmpty)(t))return null;var n=Object(s.get)(t,"review.reviewRating",{}),a=n.ratingValue;if(Object(s.isEmpty)(a))return null;Object(s.get)(n,"worstRating",1);var o=Object(s.get)(n,"bestRating",5);return wp.element.createElement("div",{className:"rank-math-rating-preview"},wp.element.createElement("div",{className:"serp-ratings"},Z(o,"filled"),function(e,t,n){return e*=100/n,wp.element.createElement("div",{className:"serp-result",style:{width:e+"%"}},Z(n,"filled"))}(a,0,o)),wp.element.createElement("span",{className:"serp-rating-label"},Object(r.__)("Rating: ","rank-math")),wp.element.createElement("span",{className:"serp-rating-value"},a))}));function Q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var X=Object(a.withSelect)((function(e){var t=e("rank-math"),n=t.getRobots();return{title:t.getSerpTitle(),permalink:rankMathEditor.assessor.dataCollector.getPermalink(),description:t.getSerpDescription(),previewType:t.getSnippetPreviewType(),isNoIndex:"noindex"in n,keyword:t.getSelectedKeyword().data.value}}))((function(e){var t,n=e.title,a=e.permalink,o=e.description,i=e.previewType,l=void 0===i?"desktop":i,s=e.isNoIndex,u=e.keyword,p=e.onClick,m=e.showScore,d=void 0===m||m,h=e.showDevices,f=void 0!==h&&h,b=c()("serp-preview",(Q(t={"expanded-preview":""!==l},"".concat(l,"-preview"),""!==l&&f),Q(t,"noindex-preview",s),t)),g=rankMathEditor.assessor.getResearch("slugify")(u);return wp.element.createElement("div",{className:b},wp.element.createElement("div",{className:"serp-preview-title","data-title":Object(r.__)("Preview","rank-math"),"data-desktop":Object(r.__)("Desktop Preview","rank-math"),"data-mobile":Object(r.__)("Mobile Preview","rank-math")},d&&wp.element.createElement(W.a,null)," ",f&&wp.element.createElement(V,null)),wp.element.createElement("div",{className:"serp-preview-wrapper"},wp.element.createElement("div",{className:"serp-preview-bg"},wp.element.createElement("div",{className:"serp-preview-input"},wp.element.createElement("input",{type:"text",value:u||Object(r.__)("Rank Math","rank-math"),disabled:!0}),wp.element.createElement("span",{className:"serp-icon-search"},wp.element.createElement("svg",{focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},wp.element.createElement("path",{d:"M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}))),wp.element.createElement("span",{className:"serp-icon-mic"})),wp.element.createElement("div",{className:"serp-preview-menus"},wp.element.createElement("ul",null,wp.element.createElement("li",{className:"current"},wp.element.createElement("img",{src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgyNHYyNEgweiIvPjxwYXRoIGZpbGw9IiMzNEE4NTMiIGQ9Ik0xMCAydjJhNiA2IDAgMCAxIDYgNmgyYTggOCAwIDAgMC04LTh6Ii8+PHBhdGggZmlsbD0iI0VBNDMzNSIgZD0iTTEwIDRWMmE4IDggMCAwIDAtOCA4aDJjMC0zLjMgMi43LTYgNi02eiIvPjxwYXRoIGZpbGw9IiNGQkJDMDQiIGQ9Ik00IDEwSDJhOCA4IDAgMCAwIDggOHYtMmMtMy4zIDAtNi0yLjY5LTYtNnoiLz48cGF0aCBmaWxsPSIjNDI4NUY0IiBkPSJNMjIgMjAuNTlsLTUuNjktNS42OUE3Ljk2IDcuOTYgMCAwIDAgMTggMTBoLTJhNiA2IDAgMCAxLTYgNnYyYzEuODUgMCAzLjUyLS42NCA0Ljg4LTEuNjhsNS42OSA1LjY5TDIyIDIwLjU5eiIvPjwvc3ZnPgo=",alt:"","data-atf":"1"}),Object(r.__)("All","rank-math")),wp.element.createElement("li",null,wp.element.createElement("svg",{focusable:"false",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),wp.element.createElement("path",{d:"M14 13l4 5H6l4-4 1.79 1.78L14 13zm-6.01-2.99A2 2 0 0 0 8 6a2 2 0 0 0-.01 4.01zM22 5v14a3 3 0 0 1-3 2.99H5c-1.64 0-3-1.36-3-3V5c0-1.64 1.36-3 3-3h14c1.65 0 3 1.36 3 3zm-2.01 0a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h7v-.01h7a1 1 0 0 0 1-1V5z"}))," ",Object(r.__)("Images","rank-math")),wp.element.createElement("li",null,wp.element.createElement("svg",{focusable:"false",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{clipRule:"evenodd",d:"M0 0h24v24H0z",fill:"none"}),wp.element.createElement("path",{clipRule:"evenodd",d:"M10 16.5l6-4.5-6-4.5v9zM5 20h14a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1zm14.5 2H5a3 3 0 0 1-3-3V4.4A2.4 2.4 0 0 1 4.4 2h15.2A2.4 2.4 0 0 1 22 4.4v15.1a2.5 2.5 0 0 1-2.5 2.5z",fillRule:"evenodd"}))," ",Object(r.__)("Videos","rank-math")),wp.element.createElement("li",null,wp.element.createElement("svg",{focusable:"false",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),wp.element.createElement("path",{d:"M12 11h6v2h-6v-2zm-6 6h12v-2H6v2zm0-4h4V7H6v6zm16-7.22v12.44c0 1.54-1.34 2.78-3 2.78H5c-1.64 0-3-1.25-3-2.78V5.78C2 4.26 3.36 3 5 3h14c1.64 0 3 1.25 3 2.78zM19.99 12V5.78c0-.42-.46-.78-1-.78H5c-.54 0-1 .36-1 .78v12.44c0 .42.46.78 1 .78h14c.54 0 1-.36 1-.78V12zM12 9h6V7h-6v2z"}))," ",Object(r.__)("News","rank-math")),wp.element.createElement("li",null,wp.element.createElement("svg",{focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},wp.element.createElement("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}))," ","More")),wp.element.createElement("ul",{className:"menus-right"},wp.element.createElement("li",null,Object(r.__)("Settings","rank-math")),wp.element.createElement("li",null,Object(r.__)("Tools","rank-math")))),wp.element.createElement("div",{className:"serp-preview-result-stats"},Object(r.__)("About 43,700,000 results (0.32 seconds) ","rank-math"))),wp.element.createElement("div",{className:"serp-preview-body",role:"button",tabIndex:0,onClick:function(){p&&p()}},wp.element.createElement("div",{className:"group"},wp.element.createElement("img",{src:rankMath.siteFavIcon,width:"16",height:"16",className:"serp-preview-favicon",alt:""}),wp.element.createElement("div",{className:"serp-url",dangerouslySetInnerHTML:{__html:Object(Y.a)(g,H.Helpers.sanitizeText(Object(z.safeDecodeURIComponent)(a)),75,/-? +/)}})),wp.element.createElement("div",{className:"group"},wp.element.createElement("h5",{className:"serp-title",dangerouslySetInnerHTML:{__html:Object(Y.a)(u,H.Helpers.sanitizeText(n),60)}})),wp.element.createElement($,null),wp.element.createElement("div",{className:"group"},wp.element.createElement("div",{className:"serp-description",dangerouslySetInnerHTML:{__html:Object(Y.a)(u,H.Helpers.sanitizeText(o),160)}})),wp.element.createElement(J,null)),wp.element.createElement("div",{className:"serp-preview-noindex"},wp.element.createElement("h3",null,Object(r.__)("Noindex robots meta is enabled","rank-math")),wp.element.createElement("p",null,Object(r.__)("This page will not appear in search results. You can disable noindex in the Advanced tab.","rank-math")))))})),ee=Object(a.withSelect)((function(e){return{isNoIndex:"noindex"in e("rank-math").getRobots()}}))((function(){return wp.element.createElement("div",{className:"rank-math-editor-general"},wp.element.createElement(X,{showScore:!1,showDevices:!0}),wp.element.createElement(L,null),wp.element.createElement(B,null),wp.element.createElement(K,null))})),te=n(9),ne=function(e){var t=c()("rank-math-social-preview","rank-math-social-preview-"+e.network,e.cardType);return wp.element.createElement("div",{className:t},wp.element.createElement("div",{className:"rank-math-social-preview-item"},wp.element.createElement("div",{className:"rank-math-social-preview-meta"},wp.element.createElement("div",{className:"social-profile-image"}),e.children),wp.element.createElement("div",{className:"rank-math-social-preview-item-wrapper"},wp.element.createElement("div",{className:"rank-math-social-preview-image"},wp.element.createElement("img",{className:"rank-math-social-image-thumbnail",src:e.image,alt:""}),e.hasOverlay&&e.imageOverlay&&wp.element.createElement("img",{src:rankMath.overlayImages[e.imageOverlay].url,className:"rank-math-social-preview-image-overlay overlay-position-"+rankMath.overlayImages[e.imageOverlay].position,alt:""})),wp.element.createElement("div",{className:"rank-math-social-preview-caption"},"facebook"===e.network&&wp.element.createElement("h4",{className:"rank-math-social-preview-publisher"},e.siteurl),wp.element.createElement("h3",{className:"rank-math-social-preview-title"},e.title?te.a.swap(e.title):e.serpTitle),wp.element.createElement("p",{className:"rank-math-social-preview-description"},e.description?te.a.swap(e.description):e.serpDescription),"twitter"===e.network&&wp.element.createElement(i.Fragment,null,wp.element.createElement("h4",{className:"rank-math-social-preview-publisher"},wp.element.createElement(p.Dashicon,{icon:"admin-links"}),e.siteurl))))))},re=n(12),ae=function(e){return wp.element.createElement("div",{className:"components-base-control field-group"},wp.element.createElement(re.MediaUpload,{allowedTypes:["image"],multiple:!1,value:e.imageID,render:function(t){var n=t.open;return wp.element.createElement(i.Fragment,null,wp.element.createElement(p.Button,{onClick:n,className:"button",isPrimary:!0},e.imageID>0?Object(r.__)("Replace Image","rank-math"):Object(r.__)("Add Image","rank-math")),e.imageID>0&&wp.element.createElement(p.Button,{className:"button",isDestructive:!0,isLink:!0,onClick:e.removeImage},Object(r.__)("Remove Image","rank-math")))},onSelect:e.updateImage}),wp.element.createElement("p",{className:"components-base-control__help"},Object(r.__)("Upload at least 600x315px image. Recommended size is 1200x630px.","rank-math")),wp.element.createElement("div",{className:"notice notice-warning inline hidden"},wp.element.createElement("p",null,Object(r.__)("Image is smaller than the minimum size, please select a different image.","rank-math"))))};function oe(){var e=rankMath.overlayImages,t=[];return Object.keys(e).forEach((function(n){t.push({label:e[n].name,value:n})})),t}function ie(){return(ie=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var le=Object(u.compose)(Object(a.withSelect)((function(e){var t=e("rank-math"),n=function(){if(t.getFacebookImage())return t.getFacebookImage();var e=t.getFeaturedImage();return Object(s.isUndefined)(e)||""===e?rankMath.defautOgImage:t.getFeaturedImage().source_url}();return{title:t.getFacebookTitle(),description:t.getFacebookDescription(),serpTitle:t.getSerpTitle(),serpDescription:t.getSerpDescription(),author:t.getFacebookAuthor(),image:n,imageID:t.getFacebookImageID(),hasOverlay:t.getFacebookHasOverlay(),imageOverlay:t.getFacebookImageOverlay()}})),Object(a.withDispatch)((function(e){return{removeImage:function(){e("rank-math").updateFacebookImage(""),e("rank-math").updateFacebookImageID(0),e("rank-math").updateFacebookHasOverlay(!1)},updateImage:function(t){e("rank-math").updateFacebookImage(t.url),e("rank-math").updateFacebookImageID(t.id)},updateTitle:function(t){e("rank-math").updateFacebookTitle(t)},updateDescription:function(t){e("rank-math").updateFacebookDescription(t)},updateImageOverlay:function(t){e("rank-math").updateFacebookImageOverlay(t)},toggleOverlay:function(t){e("rank-math").updateFacebookHasOverlay(t)}}})))((function(e){return wp.element.createElement(i.Fragment,null,wp.element.createElement(ne,ie({},e,{network:"facebook",siteurl:rankMath.parentDomain}),wp.element.createElement("div",{className:"social-name"},rankMath.assessor.serpData.authorName),wp.element.createElement("div",{className:"social-time"},wp.element.createElement("span",null,Object(r.__)("2 hrs","rank-math")),wp.element.createElement("span",null,wp.element.createElement(p.Dashicon,{icon:"admin-site",size:"12"})))),wp.element.createElement("div",{className:"notice notice-alt notice-info components-base-control"},wp.element.createElement("p",null,Object(r.__)("Customize the title, description and images of your post used while sharing on Facebook and Twitter.","rank-math")," ",wp.element.createElement("a",{href:"https://rankmath.com/kb/meta-box-social-tab/",target:"_blank",rel:"noreferrer noopener"},Object(r.__)("Read more","rank-math")))),wp.element.createElement(ae,e),wp.element.createElement("div",{className:"field-group"},wp.element.createElement(p.TextControl,{label:Object(r.__)("Title","rank-math"),value:e.title,placeholder:e.serpTitle,onChange:e.updateTitle})),wp.element.createElement("div",{className:"field-group"},wp.element.createElement(p.TextareaControl,{label:Object(r.__)("Description","rank-math"),value:e.description,placeholder:e.serpDescription,onChange:e.updateDescription})),wp.element.createElement("div",{className:"field-group"},wp.element.createElement(p.ToggleControl,{label:Object(r.__)("Add icon overlay to thumbnail","rank-math"),checked:e.hasOverlay,onChange:e.toggleOverlay}),wp.element.createElement("div",{className:e.hasOverlay?"components-base-control":"hidden"},wp.element.createElement(p.SelectControl,{value:e.imageOverlay,label:Object(r.__)("Icon overlay","rank-math"),options:oe(),onChange:e.updateImageOverlay}),wp.element.createElement("div",{className:"notice notice-alt notice-warning"},wp.element.createElement("p",null,Object(r.__)("Please be careful with this option. Although this option will help increase CTR on Facebook, it might get you penalised if over-used.","rank-math"))))))})),ce=Object(u.compose)(Object(a.withSelect)((function(e){var t=e("rank-math");return{country:t.getTwitterAppCountry(),description:t.getTwitterAppDescription(),iphoneName:t.getTwitterAppIphoneName(),iphoneID:t.getTwitterAppIphoneID(),iphoneUrl:t.getTwitterAppIphoneUrl(),ipadName:t.getTwitterAppIpadName(),ipadID:t.getTwitterAppIpadID(),ipadUrl:t.getTwitterAppIpadUrl(),googleplayName:t.getTwitterAppGoogleplayName(),googleplayID:t.getTwitterAppGoogleplayID(),googleplayUrl:t.getTwitterAppGoogleplayUrl()}})),Object(a.withDispatch)((function(e){return{updateAppIphoneName:function(t){e("rank-math").updateTwitterAppIphoneName(t)},updateAppIphoneID:function(t){e("rank-math").updateTwitterAppIphoneID(t)},updateAppIphoneUrl:function(t){e("rank-math").updateTwitterAppIphoneUrl(t)},updateAppIpadName:function(t){e("rank-math").updateTwitterAppIpadName(t)},updateAppIpadID:function(t){e("rank-math").updateTwitterAppIpadID(t)},updateAppIpadUrl:function(t){e("rank-math").updateTwitterAppIpadUrl(t)},updateAppGoogleplayName:function(t){e("rank-math").updateTwitterAppGoogleplayName(t)},updateAppGoogleplayID:function(t){e("rank-math").updateTwitterAppGoogleplayID(t)},updateAppGoogleplayUrl:function(t){e("rank-math").updateTwitterAppGoogleplayUrl(t)},updateAppDescription:function(t){e("rank-math").updateTwitterAppDescription(t)},updateAppCountry:function(t){e("rank-math").updateTwitterAppCountry(t)}}})))((function(e){return wp.element.createElement(i.Fragment,null,wp.element.createElement(p.TextControl,{value:e.description,label:Object(r.__)("App Description","rank-math"),help:Object(r.__)("You can use this as a more concise description than what you may have on the app store. This field has a maximum of 200 characters. (optional)","rank-math"),onChange:e.updateAppDescription}),function(e){return wp.element.createElement(i.Fragment,null,wp.element.createElement(p.TextControl,{value:e.iphoneName,label:Object(r.__)("iPhone App Name","rank-math"),help:Object(r.__)("The name of your app to show.","rank-math"),onChange:e.updateAppIphoneName}),wp.element.createElement(p.TextControl,{value:e.iphoneID,label:Object(r.__)("iPhone App ID","rank-math"),help:Object(r.__)("The numeric representation of your app ID in the App Store.","rank-math"),onChange:e.updateAppIphoneID}),wp.element.createElement(p.TextControl,{value:e.iphoneUrl,label:Object(r.__)("iPhone App URL","rank-math"),help:Object(r.__)("Your app's custom URL scheme (must include ://).","rank-math"),onChange:e.updateAppIphoneUrl}))}(e),function(e){return wp.element.createElement(i.Fragment,null,wp.element.createElement(p.TextControl,{value:e.ipadName,label:Object(r.__)("iPad App Name","rank-math"),help:Object(r.__)("The name of your app to show.","rank-math"),onChange:e.updateAppIpadName}),wp.element.createElement(p.TextControl,{value:e.ipadID,label:Object(r.__)("iPad App ID","rank-math"),help:Object(r.__)("The numeric representation of your app ID in the App Store.","rank-math"),onChange:e.updateAppIpadID}),wp.element.createElement(p.TextControl,{value:e.ipadUrl,label:Object(r.__)("iPad App URL","rank-math"),help:Object(r.__)("Your app's custom URL scheme (must include ://).","rank-math"),onChange:e.updateAppIpadUrl}))}(e),function(e){return wp.element.createElement(i.Fragment,null,wp.element.createElement(p.TextControl,{value:e.googleplayName,label:Object(r.__)("Google Play App Name","rank-math"),help:Object(r.__)("The name of your app to show.","rank-math"),onChange:e.updateAppGoogleplayName}),wp.element.createElement(p.TextControl,{value:e.googleplayID,label:Object(r.__)("Google Play App ID","rank-math"),help:Object(r.__)("Your app ID in the Google Play (.i.e. com.android.app)","rank-math"),onChange:e.updateAppGoogleplayID}),wp.element.createElement(p.TextControl,{value:e.googleplayUrl,label:Object(r.__)("Google Play App URL","rank-math"),help:Object(r.__)("Your app's custom URL scheme (must include ://).","rank-math"),onChange:e.updateAppGoogleplayUrl}))}(e),wp.element.createElement(p.TextControl,{value:e.country,label:Object(r.__)("App Country","rank-math"),help:Object(r.__)("If your application is not available in the US App Store, you must set this value to the two-letter country code for the App Store that contains your application.","rank-math"),onChange:e.updateAppCountry}))})),se=Object(u.compose)(Object(a.withSelect)((function(e){var t=e("rank-math");return{url:t.getTwitterPlayerUrl(),size:t.getTwitterPlayerSize(),stream:t.getTwitterPlayerStream(),ctype:t.getTwitterPlayerStreamCtype()}})),Object(a.withDispatch)((function(e){return{updatePlayerUrl:function(t){e("rank-math").updateTwitterPlayerUrl(t)},updatePlayerSize:function(t){e("rank-math").updateTwitterPlayerSize(t)},updatePlayerStreamUrl:function(t){e("rank-math").updateTwitterPlayerStreamUrl(t)},updatePlayerStreamCtype:function(t){e("rank-math").updateTwitterPlayerStreamCtype(t)}}})))((function(e){return wp.element.createElement(i.Fragment,null,wp.element.createElement(p.TextControl,{value:e.url,label:Object(r.__)("Player URL","rank-math"),help:Object(r.__)("HTTPS URL to iFrame player. This must be a HTTPS URL which does not generate active mixed content warnings in a web browser. The audio or video player must not require plugins such as Adobe Flash.","rank-math"),onChange:e.updatePlayerUrl}),wp.element.createElement(p.TextControl,{value:e.size,label:Object(r.__)("Player Size","rank-math"),help:Object(r.__)("iFrame width and height, specified in pixels in the following format: 600x400.","rank-math"),onChange:e.updatePlayerSize}),wp.element.createElement(p.TextControl,{value:e.stream,label:Object(r.__)("Stream URL","rank-math"),help:Object(r.__)("Optional URL to raw stream that will be rendered in Twitter’s mobile applications directly. If provided, the stream must be delivered in the MPEG-4 container format (the .mp4 extension). The container can store a mix of audio and video with the following codecs: Video: H.264, Baseline Profile (BP), Level 3.0, up to 640 x 480 at 30 fps. Audio: AAC, Low Complexity Profile (LC).","rank-math"),onChange:e.updatePlayerStreamUrl}),wp.element.createElement(p.TextControl,{value:e.ctype,label:Object(r.__)("Stream Content Type","rank-math"),help:Object(r.__)("The MIME type/subtype combination that describes the content contained in twitter:player:stream. Takes the form specified in RFC 6381. Currently supported content_type values are those defined in RFC 4337 (MIME Type Registration for MP4).","rank-math"),onChange:e.updatePlayerStreamCtype}))}));function ue(){return(ue=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var pe=Object(u.compose)(Object(a.withSelect)((function(e){var t=e("rank-math"),n=t.getTwitterUseFacebook(),r=function(){if(n&&t.getFacebookImage())return t.getFacebookImage();if(t.getTwitterImage())return t.getTwitterImage();var e=t.getFeaturedImage();return Object(s.isUndefined)(e)||""===e?rankMath.defautOgImage:t.getFeaturedImage().source_url}();return{useFacebook:n,cardType:t.getTwitterCardType(),title:n?t.getFacebookTitle():t.getTwitterTitle(),description:n?t.getFacebookDescription():t.getTwitterDescription(),serpTitle:t.getSerpTitle(),serpDescription:t.getSerpDescription(),author:t.getTwitterAuthor(),image:r,imageID:n?t.getFacebookImageID():t.getTwitterImageID(),hasOverlay:n?t.getFacebookHasOverlay():t.getTwitterHasOverlay(),imageOverlay:n?t.getFacebookImageOverlay():t.getTwitterImageOverlay()}})),Object(a.withDispatch)((function(e){return{removeImage:function(){e("rank-math").updateTwitterImage(""),e("rank-math").updateTwitterImageID(0),e("rank-math").updateTwitterHasOverlay(!1)},updateImage:function(t){e("rank-math").updateTwitterImage(t.url),e("rank-math").updateTwitterImageID(t.id)},updateTitle:function(t){e("rank-math").updateTwitterTitle(t)},updateDescription:function(t){e("rank-math").updateTwitterDescription(t)},updateImageOverlay:function(t){e("rank-math").updateTwitterImageOverlay(t)},toggleUseFacebook:function(t){e("rank-math").updateTwitterUseFacebook(t)},updateCardType:function(t){e("rank-math").updateTwitterCardType(t)},toggleOverlay:function(t){e("rank-math").updateTwitterHasOverlay(t)}}})))((function(e){return wp.element.createElement(i.Fragment,null,wp.element.createElement(ne,ue({},e,{network:"twitter",siteurl:rankMath.parentDomain,classes:e.cardType,description:Object(s.truncate)(e.description?e.description:e.serpDescription,{length:240,separator:" "})}),wp.element.createElement("div",{className:"social-name"},rankMath.assessor.serpData.authorName,wp.element.createElement("span",{className:"social-username"},"@",e.author),wp.element.createElement("span",{className:"social-time"},Object(r.__)("2h","rank-math"))),wp.element.createElement("div",{className:"social-text"},Object(r.__)("The card for your website will look little something like this!","rank-math"))),wp.element.createElement("div",{className:"field-group"},wp.element.createElement(p.ToggleControl,{label:Object(r.__)("Use Data from Facebook Tab","rank-math"),checked:e.useFacebook,onChange:e.toggleUseFacebook})),wp.element.createElement("div",{className:"field-group"},wp.element.createElement(p.SelectControl,{value:e.cardType,label:Object(r.__)("Card Type","rank-math"),options:[{value:"summary_large_image",label:Object(r.__)("Summary Card with Large Image","rank-math")},{value:"summary_card",label:Object(r.__)("Summary Card","rank-math")},{value:"app",label:Object(r.__)("App Card","rank-math")},{value:"player",label:Object(r.__)("Player Card","rank-math")}],onChange:e.updateCardType})),"player"===e.cardType&&wp.element.createElement("div",{className:"notice notice-alt notice-info"},wp.element.createElement("p",null,Object(r.sprintf)(Object(r.__)("Video clips and audio streams have a special place on the Twitter platform thanks to the Player Card. Player Cards must be submitted for approval before they can be used. More information: ","rank-math"))," ",wp.element.createElement("a",{href:"https://dev.twitter.com/cards/types/player",target:"blank"},"https://dev.twitter.com/cards/types/player"))),"app"===e.cardType&&wp.element.createElement("div",{className:"notice notice-alt notice-info"},wp.element.createElement("p",null,Object(r.sprintf)(Object(r.__)("The App Card is a great way to represent mobile applications on Twitter and to drive installs. More information: ","rank-math"))," ",wp.element.createElement("a",{href:"https://dev.twitter.com/cards/types/app",target:"blank"}," https://dev.twitter.com/cards/types/app"))),!e.useFacebook&&"app"!==e.cardType&&wp.element.createElement(ae,e),!e.useFacebook&&"app"!==e.cardType&&wp.element.createElement("div",{className:"field-group"},wp.element.createElement(p.TextControl,{label:Object(r.__)("Title","rank-math"),value:e.title,placeholder:e.serpTitle,onChange:e.updateTitle})),!e.useFacebook&&"app"!==e.cardType&&wp.element.createElement("div",{className:"field-group"},wp.element.createElement(p.TextareaControl,{label:Object(r.__)("Description","rank-math"),value:e.description,placeholder:e.serpDescription,onChange:e.updateDescription})),!e.useFacebook&&"app"!==e.cardType&&wp.element.createElement("div",{className:"field-group"},wp.element.createElement(p.ToggleControl,{label:Object(r.__)("Add icon overlay to thumbnail","rank-math"),checked:e.hasOverlay,onChange:e.toggleOverlay}),wp.element.createElement("div",{className:e.hasOverlay?"components-base-control":"hidden"},wp.element.createElement(p.SelectControl,{value:e.imageOverlay,label:Object(r.__)("Icon overlay","rank-math"),options:oe(),onChange:e.updateImageOverlay}),wp.element.createElement("div",{className:"notice notice-alt notice-warning"},wp.element.createElement("p",null,Object(r.__)("Please be careful with this option. Although this option will help increase CTR on Twitter, it might get you penalised if over-used.","rank-math"))))),"player"===e.cardType&&wp.element.createElement(se,null),"app"===e.cardType&&wp.element.createElement(ce,null))})),me=function(){return wp.element.createElement(i.Fragment,null,wp.element.createElement(p.TabPanel,{className:"rank-math-editor-social",activeClass:"is-active",tabs:[{name:"facebook",title:wp.element.createElement(i.Fragment,null,wp.element.createElement(p.Dashicon,{icon:"facebook-alt"}),Object(r.__)("Facebook","rank-math")),view:le,className:"button-facebook"},{name:"twitter",title:wp.element.createElement(i.Fragment,null,wp.element.createElement(p.Dashicon,{icon:"twitter"}),Object(r.__)("Twitter","rank-math")),view:pe,className:"button-twitter"}]},(function(e){return Object(i.createElement)(e.view)})))},de=n(2),he=n.n(de);function fe(e){return(fe="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})(e)}function be(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ge(e,t){return(ge=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function we(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ke(e);if(t){var a=ke(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return ye(this,n)}}function ye(e,t){return!t||"object"!==fe(t)&&"function"!=typeof t?ve(e):t}function ve(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ke(e){return(ke=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Oe=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ge(e,t)}(l,e);var t,n,a,o=we(l);function l(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(e=o.call(this))._handleRef=e._handleRef.bind(ve(e)),e}return t=l,(n=[{key:"componentDidMount",value:function(){var e=he()(this.component),t=e.find(".stars a"),n=e.find(".smiley");t.on("mouseenter",(function(){var e=he()(this).index();t.removeClass("highlighted"),t.slice(0,e+1).addClass("highlighted"),e<2?n.removeClass("normal happy").addClass("angry"):e>3?n.removeClass("normal angry").addClass("happy"):n.removeClass("happy angry").addClass("normal")}))}},{key:"shouldComponentUpdate",value:function(){return!1}},{key:"_handleRef",value:function(e){this.component=e}},{key:"render",value:function(){for(var e=this,t=[],n=1;n<=5;n++)t.push(wp.element.createElement("a",{key:n,href:"https://s.rankmath.com/wpreview",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"dashicons dashicons-star-filled"})));return wp.element.createElement("div",{className:"ask-review",ref:this._handleRef},wp.element.createElement("h3",null,Object(r.__)("Rate Rank Math SEO","rank-math")),wp.element.createElement("p",null,wp.element.createElement(D,{tags:"em"},Object(r.__)("Hey, we noticed you are using Rank Math SEO plugin for more than 2 weeks –{{em}}that's awesome!{{/em}} Could you please do us a BIG favor and give it a 5-star rating on WordPress to help us spread the word and boost our motivation?","rank-math"))),wp.element.createElement("div",{className:"stars-wrapper"},wp.element.createElement("div",{className:"face"},wp.element.createElement("div",{className:"smiley happy"},wp.element.createElement("div",{className:"eyes"},wp.element.createElement("div",{className:"eye"}),wp.element.createElement("div",{className:"eye"})),wp.element.createElement("div",{className:"mouth"}))),wp.element.createElement("div",{className:"stars"},t)),wp.element.createElement(p.CheckboxControl,{label:wp.element.createElement(i.Fragment,null,wp.element.createElement("span",null,Object(r.__)("I already did. Please don't show this message again.","rank-math"))),onChange:function(){return e.alreadyReviewed()}}))}},{key:"alreadyReviewed",value:function(){he.a.ajax({url:rankMath.ajaxurl,data:{action:"rank_math_already_reviewed",security:rankMath.security}}),rankMath.pluginReviewed=!0;var e=he()(this.component);e.animate({opacity:.01},1500,(function(){var t=he()(".rank-math-editor > .components-tab-panel__tabs > button");t.first().click(),t.last().remove(),e.remove()}))}}])&&be(t.prototype,n),a&&be(t,a),l}(i.Component),_e=Object(p.withFilters)("rankMath.analytics.reportButton")((function(){return null})),je=Object(u.compose)(Object(a.withSelect)((function(e){return{isOpen:e("rank-math").isSnippetEditorOpen()}})),Object(a.withDispatch)((function(e,t){return{toggleEditor:function(){e("rank-math").toggleSnippetEditor(!t.isOpen)}}})))((function(e){var t=e.isOpen,n=e.initialTab,a=void 0===n?"":n,o=e.toggleEditor,l=[{name:"general",title:wp.element.createElement(i.Fragment,null,wp.element.createElement("i",{className:"rm-icon rm-icon-settings"}),wp.element.createElement("span",null,Object(r.__)("General","rank-math"))),view:ee},{name:"social",title:wp.element.createElement(i.Fragment,null,wp.element.createElement("i",{className:"rm-icon rm-icon-social"}),wp.element.createElement("span",null,Object(r.__)("Social","rank-math"))),view:me}];return rankMath.showReviewTab&&!1===rankMath.pluginReviewed&&l.push({name:"review",className:"review-tab",title:wp.element.createElement(i.Fragment,null,wp.element.createElement("i",{className:"rm-icon rm-icon-heart-filled"})),view:Oe}),wp.element.createElement(i.Fragment,null,wp.element.createElement(p.Button,{isPrimary:!0,className:"rank-math-edit-snippet",onClick:o},Object(r.__)("Edit Snippet","rank-math")),wp.element.createElement(_e,null),t&&wp.element.createElement(p.Modal,{title:"Preview Snippet Editor",closeButtonLabel:Object(r.__)("Close","rank-math"),shouldCloseOnClickOutside:!1,onRequestClose:o,className:"rank-math-modal",overlayClassName:"rank-math-modal-overlay"},wp.element.createElement(p.TabPanel,{className:"rank-math-tabs rank-math-editor",activeClass:"is-active",initialTabName:a,tabs:l},(function(e){return Object(i.createElement)(e.view)}))))})),Ee=function(){return wp.element.createElement(p.PanelBody,{initialOpen:!0},wp.element.createElement(p.BaseControl,{className:"rank-math-social"},wp.element.createElement("span",{className:"components-base-control__label"},Object(r.__)("Social Media Preview","rank-math")),wp.element.createElement("p",{className:"cmb2-metabox-description"},Object(r.__)("Here you can view and edit the thumbnail, title and description that will be displayed when your site is shared on social media.","rank-math")),wp.element.createElement("p",{className:"cmb2-metabox-description"},Object(r.__)("Click on the button below to view and edit the preview.","rank-math")),wp.element.createElement(je,{buttonLabel:Object(r.__)("Preview & Edit Social Media","rank-math"),initialTab:"social"})))},Te=Object(u.withInstanceId)((function(e){var t=e.className,n=e.instanceId,r=e.children,a="rank-math-tooltip-"+n,o=c()("rank-math-tooltip",t);return wp.element.createElement("span",{className:o},wp.element.createElement("input",{id:a,type:"checkbox"}),wp.element.createElement("label",{htmlFor:a,className:"dashicons-before dashicons-editor-help"}),wp.element.createElement("div",{className:"rank-math-tooltip-content"},r))})),Ie=n(29);function Se(e){return(Se="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})(e)}function Ce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function De(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Pe(e,t){return(Pe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function xe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ae(e);if(t){var a=Ae(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return Ne(this,n)}}function Ne(e,t){return!t||"object"!==Se(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ae(e){return(Ae=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Re=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pe(e,t)}(l,e);var t,n,a,o=xe(l);function l(){return Ce(this,l),o.apply(this,arguments)}return t=l,(n=[{key:"shouldComponentUpdate",value:function(e){return e.isLoaded!==this.props.isLoaded||e.selectedKeyword.index!==this.props.selectedKeyword.index||e.isRefreshing!==this.props.isRefreshing}},{key:"render",value:function(){var e=this,t=rankMathEditor.getSelectedKeyword();return this.results=rankMathEditor.resultManager.getResult(t),this.isPrimary=0===this.props.selectedKeyword.index,Object(s.isUndefined)(this.results)?null:Object.keys(this.getGroups()).map((function(t){return e.renderGroup(t)}))}},{key:"renderGroup",value:function(e){this.errors=0;var t=this.renderGroupItems(e);return wp.element.createElement(p.PanelBody,{key:"panel-"+e,title:wp.element.createElement(i.Fragment,null,this.getGroupTitle(e),0===this.errors?wp.element.createElement("span",{className:"rank-math-group-score test-ok"},Object(r.__)("All Good","rank-math")):wp.element.createElement("span",{className:"rank-math-group-score test-fail"},this.errors," ",Object(r.__)("Errors","rank-math"))),initialOpen:"basic"===e,className:"rank-math-checklist"},wp.element.createElement("ul",null,t))}},{key:"renderGroupItems",value:function(e){var t=this,n=this.results.results,r=this.getGroupItems(e);return Object.keys(r).map((function(e){if(Object(s.isUndefined)(n[e])||!t.isPrimary&&r[e])return!1;var a=n[e],o=c()("seo-check-"+e,{"test-ok":a.hasScore(),"test-fail":!a.hasScore()});return a.hasScore()&&["contentHasAssets","lengthContent","keywordDensity"].includes(e)&&(o+=" "+Object(Ie.a)(a.getScore(),a.getMaxScore())),!1===a.hasScore()&&(t.errors+=1),wp.element.createElement("li",{key:e,className:o},wp.element.createElement("span",{dangerouslySetInnerHTML:{__html:a.getText()}}),a.hasTooltip()?wp.element.createElement(Te,null,a.getTooltip()):null)}))}},{key:"getGroupItems",value:function(e){return{basic:{keywordInTitle:!0,keywordInMetaDescription:!0,keywordInPermalink:!0,keywordIn10Percent:!0,keywordInContent:!1,lengthContent:!1},advanced:{keywordInSubheadings:!1,keywordInImageAlt:!0,keywordDensity:!1,lengthPermalink:!1,linksHasExternals:!1,linksNotAllExternals:!1,linksHasInternal:!1,keywordNotUsed:!0},"title-readability":{titleStartWithKeyword:!0,titleSentiment:!1,titleHasPowerWords:!1,titleHasNumber:!1},"content-readability":{contentHasTOC:!1,contentHasShortParagraphs:!1,contentHasAssets:!1}}[e]}},{key:"getGroupTitle",value:function(e){return this.getGroups()[e]}},{key:"getGroups",value:function(){return{basic:Object(r.__)("Basic SEO","rank-math"),advanced:Object(r.__)("Additional","rank-math"),"title-readability":Object(r.__)("Title Readability","rank-math"),"content-readability":Object(r.__)("Content Readability","rank-math")}}}])&&De(t.prototype,n),a&&De(t,a),l}(i.Component),Me=Object(a.withSelect)((function(e){var t=e("rank-math");return{isLoaded:t.isLoaded(),isRefreshing:t.isRefreshing(),selectedKeyword:t.getSelectedKeyword()}}))(Re),Ue=n(22),Fe=Object(a.withSelect)((function(e){return{isPro:e("rank-math").isPro()}}))((function(e){return e.isPro?rankMath.isUserRegistered?wp.element.createElement(p.Notice,{status:"warning",isDismissible:!1},wp.element.createElement(D,{components:{link:wp.element.createElement("a",{href:"https://rankmath.com/kb/score-100-in-tests/",target:"_blank",rel:"noopener noreferrer"})}},Object(r.__)("Read here to {{link}}Score 100/100{{/link}} ","rank-math"))):wp.element.createElement(p.Notice,{status:"warning",isDismissible:!1},wp.element.createElement(D,{components:{link:wp.element.createElement("a",{href:rankMath.adminurl+"?page=rank-math&view=help",target:"_blank",rel:"noopener noreferrer"})}},Object(r.__)("Activate your account by {{link}}connecting to Rank Math!{{/link}} ","rank-math"))):wp.element.createElement(p.Notice,{status:"warning",isDismissible:!1},wp.element.createElement(D,{components:{link:wp.element.createElement("a",{href:rankMath.assessor.futureSeo,target:"_blank",rel:"noopener noreferrer"}),strong:wp.element.createElement("strong",null)}},Object(r.__)("Want more? {{link}}{{strong}}Upgrade today to the PRO{{/strong}}{{/link}} version.","rank-math")))})),Le=n(28),He=n.n(Le);function ze(e){return(ze="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})(e)}function Be(){return(Be=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Ge(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ke(e,t){return(Ke=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ve(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=qe(e);if(t){var a=qe(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return We(this,n)}}function We(e,t){return!t||"object"!==ze(t)&&"function"!=typeof t?Ye(e):t}function Ye(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qe(e){return(qe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var $e=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ke(e,t)}(o,e);var t,n,r,a=Ve(o);function o(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),(t=a.call(this,e))._handleRef=t._handleRef.bind(Ye(t)),t}return t=o,(n=[{key:"componentDidMount",value:function(){var e=this;this.tagify=new He.a(this.component,this.props.settings||{}),this.props.settings.callbacks.setup&&setTimeout((function(){e.props.settings.callbacks.setup.call(e.tagify),e.tagify.DOM.input.setAttribute("contenteditable",!0),e.tagify.DOM.input.addEventListener("blur",e.props.settings.callbacks.blur)}),100)}},{key:"shouldComponentUpdate",value:function(e){return this.tagify.settings.whitelist=e.settings.whitelist,e.showDropdown&&this.tagify.dropdown.show.call(this.tagify,e.showDropdown),!1===e.showDropdown&&this.tagify.dropdown.hide.call(this.tagify,!0),!1}},{key:"_handleRef",value:function(e){this.component=e}},{key:"render",value:function(){var e={ref:this._handleRef,name:this.props.name,autoFocus:this.props.autofocus,className:this.props.className,placeholder:this.props.placeholder};return"textarea"===this.props.mode?wp.element.createElement("textarea",Be({},e,{defaultValue:this.props.initialValue})):wp.element.createElement("input",Be({},e,{defaultValue:this.props.initialValue}))}},{key:"toArray",value:function(){return this.tagify.value.map((function(e){return e.value}))}},{key:"toString",value:function(){return this.toArray().join(",")}},{key:"queryTags",value:function(){return this.tagify.DOM.scope.querySelectorAll("tag")}}])&&Ge(t.prototype,n),r&&Ge(t,r),o}(i.Component);function Ze(e){return(Ze="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})(e)}function Je(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Qe(e,t){return(Qe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Xe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=nt(e);if(t){var a=nt(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return et(this,n)}}function et(e,t){return!t||"object"!==Ze(t)&&"function"!=typeof t?tt(e):t}function tt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nt(e){return(nt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var rt=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qe(e,t)}(l,e);var t,n,a,o=Xe(l);function l(e){var t,n=e.keywords;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=o.call(this)).state={},t.request=null,t.hasAdded=!1,t.clickCount=0,t.singleClickTimer=null,t.tagifyField=Object(i.createRef)(),t.keywords=n,t.hideDropdown=t.hideDropdown.bind(tt(t)),window.rankMathEditor.focusKeywordField=tt(t),t}return t=l,(n=[{key:"render",value:function(){var e=this,t={add:this.onAdd.bind(this),remove:this.onRemove.bind(this),edit:this.onEdit.bind(this),click:this.onClick.bind(this),setup:this.onSetup.bind(this),blur:this.hideDropdown};rankMath.isUserRegistered&&(t.input=Object(s.debounce)(this.onInput.bind(this),300));var n={addTagOnBlur:!0,maxTags:rankMath.maxTags,whitelist:this.state.whitelist||[],transformTag:function(t){t.value=e.stripTags(t.value)},templates:{tag:function(t,n){return"<tag title='".concat(e.stripTags(t),"'\n contenteditable='false'\n spellcheck='false'\n class='tagify__tag ").concat(n.class?n.class:"","'\n ").concat(e.getAttributes_esc(n),">\n <x title='' class='tagify__tag__removeBtn' role='button' aria-label='remove tag'></x>\n <div>\n <span class='tagify__tag-text'>").concat(e.stripTags(t),"</span>\n </div>\n </tag>")}},callbacks:t};return this.setKeywordsClasses(),wp.element.createElement($e,{ref:this.tagifyField,mode:"input",settings:n,showDropdown:this.state.showDropdown,initialValue:this.keywords,placeholder:Object(r.__)("Example: Rank Math SEO","rank-math")})}},{key:"shouldComponentUpdate",value:function(e,t){return this.state.showDropdown!==t.showDropdown||e.isRefreshing!==this.props.isRefreshing||e.keywords!==this.props.keywords}},{key:"getScoreClass",value:function(e){return 80<e?"good-fk":50<e?"ok-fk":"bad-fk"}},{key:"setKeywordsClasses",value:function(){var e=this;if(null!==this.tagifyField.current){var t=this.tagifyField.current,n=t.tagify.value;if(n.length>0){var r=t.queryTags();n.map((function(t,n){var a=rankMathEditor.resultManager.getScore(H.Helpers.removeDiacritics(t.value));r[n].classList.remove("ok-fk","good-fk","bad-fk"),r[n].classList.add(e.getScoreClass(a))}))}}}},{key:"onSetup",value:function(){this.selectFirstKeyword(),this.setKeywordsClasses()}},{key:"onInput",value:function(e){var t=this;(e=Object(s.has)(e.detail,"value")?e.detail.value:e.detail.data.value).length<2||(this.hideDropdown(),this.hasAdded?this.hasAdded=!1:this.request=he.a.ajax({url:rankMath.keywordsApi.url,data:{keyword:e,locale:rankMath.locale},success:function(n){if(t.hasAdded)t.hasAdded=!1;else{var r=he.a.map(n,(function(e){return e}));t.setState({whitelist:r,showDropdown:e})}}}))}},{key:"onAdd",value:function(e){this.hasAdded=!0,0===e.detail.index&&this.props.updateSelectedKeyword(e.detail,this.tagifyField.current),this.updateKeywords()}},{key:"onRemove",value:function(e){this.hideDropdown(),0===e.detail.index&&this.onSetup(),rankMathEditor.resultManager.deleteResult(e.detail.data.value),this.selectFirstKeyword(),this.updateKeywords()}},{key:"onClick",value:function(e){var t=this;this.clickCount++,1===this.clickCount?this.singleClickTimer=setTimeout((function(){t.clickCount=0,t.props.updateSelectedKeyword(e.detail,t.tagifyField.current)}),400):2===this.clickCount&&(clearTimeout(this.singleClickTimer),this.clickCount=0)}},{key:"onEdit",value:function(){this.hasAdded=!0,this.updateKeywords()}},{key:"selectFirstKeyword",value:function(){var e=this.tagifyField.current,t=e.tagify.value,n={tag:"",index:0,data:{value:""}};t.length>0&&(n={tag:e.queryTags()[0],index:0,data:{value:t[0].value}}),this.props.updateSelectedKeyword(n,e)}},{key:"updateKeywords",value:function(){var e=this.tagifyField.current,t=this.stripTags(e.toString());this.props.updateKeywords(t)}},{key:"hideDropdown",value:function(){null!==this.request&&(this.request.abort(),this.request=null),this.setState({whitelist:[],showDropdown:!1})}},{key:"getAttributes_esc",value:function(e){if("[object Object]"!=Object.prototype.toString.call(e))return"";var t,n,r=Object.keys(e),a="";for(n=r.length;n--;)"class"!=(t=r[n])&&e.hasOwnProperty(t)&&e[t]&&(a+=" "+t+(e[t]?'="'.concat(this.stripTags(e[t]),'"'):""));return a}},{key:"stripTags",value:function(e){return e=he()("<textarea />").html(e).text(),((new DOMParser).parseFromString(e,"text/html").body.textContent||"").replace(/["<>]/g,"")||""}}])&&Je(t.prototype,n),a&&Je(t,a),l}(i.Component),at=Object(u.compose)(Object(a.withSelect)((function(e){var t=e("rank-math");return{keywords:t.getKeywords(),isRefreshing:t.isRefreshing()}})),Object(a.withDispatch)((function(e){return{updateKeywords:function(t){e("rank-math").updateKeywords(t)},updateSelectedKeyword:function(t,n){n.queryTags().forEach((function(e){e.classList.remove("selected")})),""!==t.tag&&t.tag.classList.add("selected"),e("rank-math").updateSelectedKeyword(t)}}})))(rt),ot=Object(u.compose)(Object(a.withSelect)((function(e){var t=e("rank-math");return{isLoaded:t.isLoaded(),isPillarContent:t.getPillarContent()}})),Object(a.withDispatch)((function(e){return{togglePillarContent:function(t){e("rank-math").updatePillarContent(t)}}})))((function(e){var t=e.isLoaded,n=e.isPillarContent,a=e.togglePillarContent;return t?wp.element.createElement(p.PanelBody,{initialOpen:!0,className:"rank-math-focus-keyword"},wp.element.createElement("h2",{className:"components-panel__body-title"},Object(r.__)("Focus Keyword","rank-math"),wp.element.createElement(Te,null,wp.element.createElement(D,{components:{link:wp.element.createElement("a",{href:rankMath.assessor.hundredScoreLink,target:"_blank",rel:"noopener noreferrer"})}},Object(r.__)("Insert keywords you want to rank for. Try to {{link}}attain 100/100 points{{/link}} for better chances of ranking.","rank-math")))),!rankMath.isPro&&wp.element.createElement("a",{href:"https://rankmath.com/pricing/?utm_source=Plugin&utm_medium=Gutenberg%20General%20Tab%20Trends&utm_campaign=WP",title:Object(r.__)("Google Trends","rank-math"),target:"_blank",rel:"noreferrer noopener",id:"rank-math-compare-keywords-trigger",className:"button button-icon rank-math-compare-keywords-trigger",dangerouslySetInnerHTML:{__html:rankMath.trendsIcon}}),wp.element.createElement(Ue.a.Slot,null,(function(e){return e.length>0?e:[]})),wp.element.createElement("div",null,wp.element.createElement(at,null)),wp.element.createElement(Fe,null),wp.element.createElement(p.CheckboxControl,{className:"pillar-content",label:wp.element.createElement(i.Fragment,null,wp.element.createElement("strong",null,Object(r.__)("This post is Pillar Content","rank-math")),wp.element.createElement(Te,null,Object(r.__)("Select one or more Pillar Content posts for each post tag or category to show them in the Link Suggestions meta box.","rank-math"))),checked:n,onChange:a})):null})),it=n(23),lt=Object(a.withDispatch)((function(e){return{toggleEditor:function(){e("rank-math").toggleSnippetEditor(!0)}}}))((function(e){var t=e.toggleEditor;return wp.element.createElement(i.Fragment,null,wp.element.createElement(p.PanelBody,{initialOpen:!0},wp.element.createElement(X,{onClick:t}),wp.element.createElement(je,null),wp.element.createElement(it.a.Slot,null,(function(e){return e.length>0?e:[]}))),wp.element.createElement(ot,null),rankMath.canUser.analysis&&wp.element.createElement(Me,null))})),ct=function(e,t,n){return!1===n?delete e[t]:e[t]=!0,e},st=Object(u.compose)(Object(a.withSelect)((function(e){var t=e("rank-math").getRobots();return{robots:t,isRobotIndex:"index"in t,isRobotNoIndex:"noindex"in t,isRobotNoFollow:"nofollow"in t,isRobotNoArchive:"noarchive"in t,isRobotNoImageIndex:"noimageindex"in t,isRobotNoSnippet:"nosnippet"in t}})),Object(a.withDispatch)((function(e,t){var n=t.robots;return{updateRobots:function(t,r){n=ct(n,t,r),"index"===t&&(n=ct(n,"noindex",!r)),"noindex"===t&&(n=ct(n,"index",!r)),e("rank-math").updateRobots(n)}}})))((function(e){return wp.element.createElement(p.BaseControl,{className:"rank-math-robots",id:"rank-math-robots",label:Object(r.__)("Robots Meta","rank-math")},wp.element.createElement("div",{className:"rank-math-robots-list"},wp.element.createElement(p.CheckboxControl,{className:"robot-choice-index",label:wp.element.createElement(i.Fragment,null,Object(r.__)("Index","rank-math"),wp.element.createElement(Te,null,Object(r.__)("Instructs search engines to index and show these pages in the search results","rank-math"))),checked:e.isRobotIndex,onChange:function(t){return e.updateRobots("index",t)}}),wp.element.createElement(p.CheckboxControl,{className:"robot-choice-noindex",label:wp.element.createElement(i.Fragment,null,Object(r.__)("No Index","rank-math"),wp.element.createElement(Te,null,Object(r.__)("Prevents pages from being indexed and displayed in search engine result pages","rank-math"))),checked:e.isRobotNoIndex,onChange:function(t){return e.updateRobots("noindex",t)}}),wp.element.createElement(p.CheckboxControl,{className:"robot-choice-nofollow",label:wp.element.createElement(i.Fragment,null,Object(r.__)("Nofollow","rank-math"),wp.element.createElement(Te,null,Object(r.__)("Prevents search engines from following links on the pages","rank-math"))),checked:e.isRobotNoFollow,onChange:function(t){return e.updateRobots("nofollow",t)}}),wp.element.createElement(p.CheckboxControl,{className:"robot-choice-noarchive",label:wp.element.createElement(i.Fragment,null,Object(r.__)("No Archive","rank-math"),wp.element.createElement(Te,null,Object(r.__)("Prevents search engines from showing Cached links for pages","rank-math"))),checked:e.isRobotNoArchive,onChange:function(t){return e.updateRobots("noarchive",t)}}),wp.element.createElement(p.CheckboxControl,{className:"robot-choice-noimageindex",label:wp.element.createElement(i.Fragment,null,Object(r.__)("No Image Index","rank-math"),wp.element.createElement(Te,null,Object(r.__)("Lets you specify that you do not want your pages to appear as the referring page for images that appear in image search results","rank-math"))),checked:e.isRobotNoImageIndex,onChange:function(t){return e.updateRobots("noimageindex",t)}}),wp.element.createElement(p.CheckboxControl,{className:"robot-choice-nosnippet",label:wp.element.createElement(i.Fragment,null,Object(r.__)("No Snippet","rank-math"),wp.element.createElement(Te,null,Object(r.__)("Prevents a snippet from being shown in the search results","rank-math"))),checked:e.isRobotNoSnippet,onChange:function(t){return e.updateRobots("nosnippet",t)}})))}));function ut(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 pt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ut(Object(n),!0).forEach((function(t){mt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ut(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function mt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var dt=Object(u.compose)(Object(a.withSelect)((function(e){var t=e("rank-math");return{redirectionID:t.getRedirectionID(),redirectionUrl:t.getRedirectionUrl(),redirectionType:t.getRedirectionType(),hasRedirect:t.hasRedirect()}})),Object(a.withDispatch)((function(e,t){return{toggle:function(){e("rank-math").updateHasRedirect(!t.hasRedirect),e("rank-math").updateRedirectionItem(pt(pt({},t),{},{hasRedirect:!t.hasRedirect}))},updateRedirection:function(n,r){e("rank-math").updateRedirection(n,r),e("rank-math").updateRedirectionItem(pt(pt({},t),{},mt({},n,r)))}}})))((function(e){return wp.element.createElement(i.Fragment,null,wp.element.createElement(p.ToggleControl,{className:e.hasRedirect?"is-open":"is-close",label:Object(r.__)("Redirect","rank-math"),checked:e.hasRedirect,onChange:function(){return e.toggle()}}),wp.element.createElement(p.SelectControl,{label:Object(r.__)("Redirection Type","rank-math"),className:e.hasRedirect?"":"hidden",value:e.redirectionType,onChange:function(t){return e.updateRedirection("redirectionType",t)},options:[{value:"301",label:Object(r.__)("301 Permanent Move","rank-math")},{value:"302",label:Object(r.__)("302 Temporary Move","rank-math")},{value:"307",label:Object(r.__)("307 Temporary Redirect","rank-math")},{value:"410",label:Object(r.__)("410 Content Deleted","rank-math")},{value:"451",label:Object(r.__)("451 Content Unavailable for Legal Reasons","rank-math")}]}),!1===["410","451"].includes(e.redirectionType)&&wp.element.createElement(p.TextControl,{type:"url",autoComplete:"off",label:Object(r.__)("Destination URL","rank-math"),value:e.redirectionUrl,placeholder:"https://rankmath.com/",className:e.hasRedirect?"":"hidden",onChange:function(t){return e.updateRedirection("redirectionUrl",t)}}),wp.element.createElement(p.TextControl,{type:"hidden",value:e.redirectionID,className:"hidden"}))})),ht=Object(u.compose)(Object(a.withSelect)((function(e){var t=e("rank-math"),n=rankMathEditor.assessor.dataCollector;return{placeholder:t.getCanonicalUrl()?t.getCanonicalUrl():n.getPermalink()?n.getPermalink():"https://rankmath.com/",canonicalUrl:t.getCanonicalUrl()}})),Object(a.withDispatch)((function(e){return{onUrlChange:function(t){e("rank-math").updateCanonicalUrl(t)}}})))((function(e){var t=e.canonicalUrl,n=e.placeholder,a=e.onUrlChange;return wp.element.createElement(p.BaseControl,{className:"rank-math-canonical"},wp.element.createElement("span",{className:"components-base-control__label"},Object(r.__)("Canonical URL","rank-math"),wp.element.createElement(Te,null,Object(r.__)("The canonical URL informs search crawlers which page is the main page if you have double content","rank-math"))),wp.element.createElement(p.TextControl,{type:"url",autoComplete:"off",value:t,placeholder:n,onChange:function(e){return a(e)}}))})),ft=Object(u.compose)(Object(a.withSelect)((function(e){return{title:e("rank-math").getBreadcrumbTitle()}})),Object(a.withDispatch)((function(e){return{onTitleChange:function(t){e("rank-math").updateBreadcrumbTitle(t)}}})))((function(e){var t=e.title,n=e.onTitleChange;return wp.element.createElement(p.BaseControl,{className:"rank-math-breadcrumb-title"},wp.element.createElement("span",{className:"components-base-control__label"},Object(r.__)("Breadcrumb Title","rank-math"),wp.element.createElement(Te,null,Object(r.__)("Breadcrumb Title to use for this post","rank-math"))),wp.element.createElement(p.TextControl,{value:t,onChange:function(e){return n(e)}}))}));function bt(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 gt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bt(Object(n),!0).forEach((function(t){wt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function wt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var yt={"max-snippet":-1,"max-video-preview":-1,"max-image-preview":"large"},vt=Object(u.compose)(Object(a.withSelect)((function(e){var t=e("rank-math").getAdvancedRobots(),n=gt({},t);Object(s.defaults)(n,yt);var r=null,a=null,o=null;return"max-snippet"in t&&(r=n["max-snippet"]),"max-image-preview"in t&&(a=n["max-image-preview"]),"max-video-preview"in t&&(o=n["max-video-preview"]),{meta:t,isSnippet:r,isImage:a,isVideo:o,maxSnippet:r?n["max-snippet"]:-1,maxImage:n["max-image-preview"],maxVideo:o?n["max-video-preview"]:-1}})),Object(a.withDispatch)((function(e,t){var n=gt({},t.meta);return{updateRobots:function(t,r){Object(s.isBoolean)(r)?!1===r?delete n[t]:n[t]=yt[t]:n[t]=r,e("rank-math").updateAdvancedRobots(n)}}})))((function(e){return wp.element.createElement(p.BaseControl,{className:"rank-math-robots",id:"rank-math-robots",label:Object(r.__)("Advanced Robots Meta","rank-math")},wp.element.createElement("div",{className:"rank-math-robots-list advanced-robots"},wp.element.createElement(p.CheckboxControl,{label:wp.element.createElement(i.Fragment,null,Object(r.__)("Max Snippet","rank-math"),wp.element.createElement(Te,null,Object(r.__)("Specify a maximum text-length, in characters, of a snippet for your page","rank-math"))),checked:e.isSnippet,onChange:function(t){return e.updateRobots("max-snippet",t)}}),wp.element.createElement(p.TextControl,{type:"number",value:e.maxSnippet,onChange:function(t){return e.updateRobots("max-snippet",t)}}),wp.element.createElement(p.CheckboxControl,{label:wp.element.createElement(i.Fragment,null,Object(r.__)("Max Video Preview","rank-math"),wp.element.createElement(Te,null,Object(r.__)("Specify a maximum duration in seconds of an animated video preview","rank-math"))),checked:e.isVideo,onChange:function(t){return e.updateRobots("max-video-preview",t)}}),wp.element.createElement(p.TextControl,{type:"number",value:e.maxVideo,onChange:function(t){return e.updateRobots("max-video-preview",t)}}),wp.element.createElement(p.CheckboxControl,{label:wp.element.createElement(i.Fragment,null,Object(r.__)("Max Image Preview","rank-math"),wp.element.createElement(Te,null,Object(r.__)("Specify a maximum size of image preview to be shown for images on this page","rank-math"))),checked:e.isImage,onChange:function(t){return e.updateRobots("max-image-preview",t)}}),wp.element.createElement(p.SelectControl,{value:e.maxImage,onChange:function(t){return e.updateRobots("max-image-preview",t)},options:[{value:"large",label:Object(r.__)("Large","rank-math")},{value:"standard",label:Object(r.__)("Standard","rank-math")},{value:"none",label:Object(r.__)("None","rank-math")}]})))})),kt=Object(u.compose)(Object(a.withSelect)((function(e){return{showScore:e("rank-math").getShowScoreFrontend()}})),Object(a.withDispatch)((function(e){return{toggleScore:function(t){e("rank-math").toggleFrontendScore(t)}}})))((function(e){var t=e.showScore,n=e.toggleScore;return wp.element.createElement(p.BaseControl,{className:"rank-math-frontend-score"},wp.element.createElement(p.ToggleControl,{label:Object(r.__)("Show SEO Score on Front-end","rank-math"),checked:t,onChange:n}))})),Ot=n(24),_t=function(){return wp.element.createElement(i.Fragment,null,wp.element.createElement(p.PanelBody,{initialOpen:!0},wp.element.createElement(st,null)),wp.element.createElement(p.PanelBody,{initialOpen:!0},wp.element.createElement(vt,null)),wp.element.createElement(p.PanelBody,{initialOpen:!0},wp.element.createElement(ht,null)),rankMath.assessor.hasBreadcrumb&&wp.element.createElement(p.PanelBody,{initialOpen:!0},wp.element.createElement(ft,null)),rankMath.assessor.hasRedirection&&wp.element.createElement(p.PanelBody,{initialOpen:!0,className:"rank-math-redirect"},wp.element.createElement(dt,null)),rankMath.frontEndScore&&wp.element.createElement(p.PanelBody,{initialOpen:!0},wp.element.createElement(kt,null)),wp.element.createElement(Ot.a.Slot,null,(function(e){return e.length>0?e:[]})))},jt=function(e){"social"===e&&Object(a.dispatch)("rank-math").toggleSnippetEditor(!0)};t.a=function(){return wp.element.createElement(j,{className:"rank-math-tabs",activeClass:"is-active",tabs:(e=[],rankMath.canUser.general&&e.push({name:"general",title:wp.element.createElement(i.Fragment,null,wp.element.createElement("i",{className:"rm-icon rm-icon-settings",title:Object(r.__)("General","rank-math")}),wp.element.createElement("span",null,Object(r.__)("General","rank-math"))),view:lt,className:"rank-math-general-tab"}),rankMath.canUser.advanced&&e.push({name:"advanced",title:wp.element.createElement(i.Fragment,null,wp.element.createElement("i",{className:"rm-icon rm-icon-toolbox",title:Object(r.__)("Advanced","rank-math")}),wp.element.createElement("span",null,Object(r.__)("Advanced","rank-math"))),view:_t,className:"rank-math-advanced-tab"}),rankMath.canUser.social&&e.push({name:"social",title:wp.element.createElement(i.Fragment,null,wp.element.createElement("i",{className:"rm-icon rm-icon-social",title:Object(r.__)("Social","rank-math")}),wp.element.createElement("span",null,Object(r.__)("Social","rank-math"))),view:Ee,className:"rank-math-social-tab"}),Object(o.applyFilters)("rank_math_sidebar_tabs",e)),onSelect:jt},(function(e){return wp.element.createElement("div",{className:"rank-math-tab-content-"+e.name},Object(i.createElement)(e.view))}));var e}},function(e,t,n){"use strict";var r=n(8),a=n(6),o=n(17),i=n(1),l=n(0),c=n(4);function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var u=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.analyzer=new r.Analyzer({i18n:l,analyses:rankMath.assessor.researchesTests}),this.dataCollector=t,this.registerRefresh(),this.updateKeywordResult=this.updateKeywordResult.bind(this),this.sanitizeData=this.sanitizeData.bind(this),Object(a.addAction)("rankMath_analysis_keywordUsage_updated","rank-math",this.updateKeywordResult),Object(a.addFilter)("rank_math_sanitize_meta_value","rank-math",this.sanitizeData),Object(a.addFilter)("rank_math_sanitize_data","rank-math",this.sanitizeData)}var t,n,u;return t=e,(n=[{key:"updateKeywordResult",value:function(e,t){rankMathEditor.resultManager.update(e,{keywordNotUsed:t}),e===this.getSelectedKeyword().toLowerCase()&&Object(c.dispatch)("rank-math").refreshResults()}},{key:"sanitizeData",value:function(e,t){return"schemas"===t||Object(i.isObject)(e)||Object(i.isEmpty)(e)?e:r.Helpers.sanitizeAppData(e)}},{key:"getPaper",value:function(e){var t=Object(o.a)().getState(),n=this.dataCollector.getData(),l=new r.Paper("",{locale:rankMath.localeFull});return l.setTitle(t.appUi.serpTitle),l.setPermalink(n.slug),l.setDescription(t.appUi.serpDescription),l.setUrl(n.permalink),l.setText(Object(a.applyFilters)("rank_math_content",n.content)),l.setKeyword(e),Object(i.isUndefined)(n.featuredImage)||(l.setThumbnail(n.featuredImage.source_url),l.setThumbnailAltText(r.Helpers.removeDiacritics(n.featuredImage.alt_text))),l}},{key:"registerRefresh",value:function(){var e=this;this.refresh=Object(i.debounce)((function(t){var n=Object(o.a)().getState();if(!1!==n.appUi.isLoaded){var i=n.appData.keywords.split(","),l=[];Object(a.doAction)("rank_math_"+t+"_refresh"),i.map((function(t,n){var a=e.getPaper(r.Helpers.removeDiacritics(t)),o=0===n?rankMath.assessor.researchesTests:e.getSecondaryKeywordTests();l.push(e.analyzer.analyzeSome(o,a).then((function(e){rankMathEditor.resultManager.update(a.getKeyword(),e,0===n),0===n&&Object(c.dispatch)("rank-math").updateAnalysisScore(rankMathEditor.resultManager.getScore(a.getKeyword()))}))),Promise.all(l).then((function(){Object(c.dispatch)("rank-math").refreshResults()}))}))}}),500)}},{key:"getSecondaryKeywordTests",value:function(){return["keywordInContent","lengthContent","keywordInSubheadings","keywordDensity","lengthPermalink","linksHasExternals","linksNotAllExternals","linksHasInternal","titleSentiment","titleHasPowerWords","titleHasNumber","contentHasTOC","contentHasShortParagraphs","contentHasAssets"]}},{key:"getPrimaryKeyword",value:function(){var e=Object(o.a)().getState().appData.keywords;return r.Helpers.removeDiacritics(e.split(",")[0])}},{key:"getSelectedKeyword",value:function(){var e=Object(o.a)().getState(),t=""!==e.appUi.selectedKeyword.data.value?e.appUi.selectedKeyword.data.value:e.appData.keywords.split(",")[0];return r.Helpers.removeDiacritics(t)}},{key:"getResearch",value:function(e){return this.analyzer.researcher.getResearch(e)}}])&&s(t.prototype,n),u&&s(t,u),e}(),p=n(26);function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var d=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,i;return t=e,(n=[{key:"setup",value:function(e){Object(o.a)(),this.resultManager=new r.ResultManager,this.assessor=new u(e),new p.a,Object(a.doAction)("rank_math_loaded")}},{key:"refresh",value:function(e){this.assessor.refresh(e)}},{key:"getPrimaryKeyword",value:function(){return this.assessor.getPrimaryKeyword()}},{key:"getSelectedKeyword",value:function(){return this.assessor.getSelectedKeyword()}},{key:"updatePermalink",value:function(e){throw"Implement the function"}},{key:"updatePermalinkSanitize",value:function(e){throw"Implement the function"}}])&&m(t.prototype,n),i&&m(t,i),e}();t.a=d},,function(e,t,n){"use strict";var r=n(34),a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,o=n(35),i=n(43),l=n(44),c="function"==typeof Symbol&&Symbol.iterator;function s(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}function u(e,t,n,r){var o,l=typeof e;if("undefined"!==l&&"boolean"!==l||(e=null),null===e||"string"===l||"number"===l||"object"===l&&e.$$typeof===a)return n(r,e,""===t?"."+s(e,0):t),1;var p=0,m=""===t?".":t+":";if(Array.isArray(e))for(var d=0;d<e.length;d++)p+=u(o=e[d],m+s(o,d),n,r);else{var h=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(h){0;for(var f,b=h.call(e),g=0;!(f=b.next()).done;)p+=u(o=f.value,m+s(o,g++),n,r)}else if("object"===l){0;var w=""+e;i(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===w?"object with keys {"+Object.keys(e).join(", ")+"}":w,"")}}return p}var p=/\/+/g;function m(e){return(""+e).replace(p,"$&/")}var d,h,f=b,b=function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)},g=function(e){var t=this;i(e instanceof t,"Trying to release an instance into a pool of a different type."),e.destructor(),t.instancePool.length<t.poolSize&&t.instancePool.push(e)};function w(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function y(e,t,n){var a,i,l=e.result,c=e.keyPrefix,s=e.func,u=e.context,p=s.call(u,t,e.count++);Array.isArray(p)?v(p,l,n,o.thatReturnsArgument):null!=p&&(r.isValidElement(p)&&(a=p,i=c+(!p.key||t&&t.key===p.key?"":m(p.key)+"/")+n,p=r.cloneElement(a,{key:i},void 0!==a.props?a.props.children:void 0)),l.push(p))}function v(e,t,n,r,a){var o="";null!=n&&(o=m(n)+"/");var i=w.getPooled(t,o,r,a);!function(e,t,n){null==e||u(e,"",t,n)}(e,y,i),w.release(i)}w.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},d=function(e,t,n,r){var a=this;if(a.instancePool.length){var o=a.instancePool.pop();return a.call(o,e,t,n,r),o}return new a(e,t,n,r)},(h=w).instancePool=[],h.getPooled=d||f,h.poolSize||(h.poolSize=10),h.release=g;e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return l(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return l(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;i(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)v(e[n],t,n,o.thatReturnsArgument);return t}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,a,o,i,l){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,a,o,i,l],u=0;(c=new Error(t.replace(/%s/g,(function(){return s[u++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t,n){"use strict";var r=n(35);e.exports=r},function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},,,,,,,function(e,t){e.exports=wp.mediaUtils},function(e,t){e.exports=Marionette},,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(2),a=n.n(r),o=n(4),i=n(52),l=n(6),c=n(40),s=n(1),u=n(16),p=n.n(u),m=n(11),d=n(9);function h(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 f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function g(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var w=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.initialize=!1,this._data={id:!1,slug:!1,permalink:!1,content:!1,title:!1,excerpt:!1,featuredImage:!1},this.refresh=this.refresh.bind(this),this.savePost=this.savePost.bind(this),this.saveRedirection=this.saveRedirection.bind(this),this.saveSchemas=this.saveSchemas.bind(this),this.subscribeToElementor(),elementor.once("preview:loaded",Object(s.debounce)(this.elementorPreviewLoaded.bind(this),5e3))}var t,n,r;return t=e,(n=[{key:"elementorPreviewLoaded",value:function(){var e=this;Object(l.addAction)("rank_math_data_changed","rank-math",(function(){e.activateSaveButton()})),Object(l.addAction)("rank_math_update_app_ui","rank-math",(function(t){"hasRedirect"===t&&e.activateSaveButton()}))}},{key:"activateSaveButton",value:function(){var e=Object(s.get)(elementor,"saver.footerSaver",!1);!1===e?elementor.channels.editor.trigger("status:change",!0):e.activateSaveButtons(document,!0)}},{key:"collectGutenbergData",value:function(){return{id:this.getPostID(),slug:this.getSlug(),permalink:this.getPermalink(),content:this.getContent(),title:this.getTitle(),excerpt:this.getExcerpt(),featuredImage:this.getFeaturedImage()}}},{key:"getPostID",value:function(){return elementor.config.document.id}},{key:"getTitle",value:function(){return elementor.settings.page.model.get("post_title")}},{key:"getContent",value:function(){var e=[];return this.getContentArea().find(".elementor-widget-container").each((function(){e.push(a()(this).html())})),e.join("")}},{key:"getContentArea",value:function(){if(this._contentArea)return this._contentArea;var e=elementor.$preview.contents().find('[data-elementor-type="'+ElementorConfig.document.type+'"]');return e.length<1?a()("<div />"):(this._contentArea=e,e)}},{key:"getExcerpt",value:function(){return elementor.settings.page.model.get("post_excerpt")}},{key:"getPermalink",value:function(){return rankMath.is_front_page?rankMath.homeUrl+"/":this.getSlug()?rankMath.permalinkFormat.replace(/%(postname|pagename)%/,this.getSlug()).trimRight("/"):""}},{key:"getSlug",value:function(){return Object(m.safeDecodeURIComponent)(Object(o.select)("rank-math").getPermalink())}},{key:"getFeaturedImage",value:function(){var e=elementor.settings.page.model.get("post_featured_image");if(!Object(s.isUndefined)(e)&&(e=""===e.id?0:parseInt(e.id),this.isValidMediaId(e))){var t=Object(o.select)("core").getMedia(e);if(!Object(s.isUndefined)(t))return t}}},{key:"isValidMediaId",value:function(e){return"number"==typeof e&&0<e}},{key:"subscribeToElementor",value:function(){Object(o.dispatch)("rank-math").updatePermalink(rankMath.postName),this.subscriber=Object(s.debounce)(this.refresh,500),Object(o.subscribe)(this.subscriber),elementor.saver.on("before:save",this.savePost),elementor.saver.on("before:save",this.saveRedirection),elementor.saver.on("before:save",this.saveSchemas),elementor.settings.page.model.on("change",this.subscriber)}},{key:"refresh",value:function(){var e=f({},this._data);this._data=this.collectGutenbergData(),this.handleEditorChange(e),!Object(s.isEqual)(e,this._data)&&e.id&&elementor.channels.editor.trigger("status:change",!0)}},{key:"savePost",value:function(){var e=Object(o.select)("rank-math").getDirtyMetadata();Object(s.isEmpty)(e)||(p()({method:"POST",path:"rankmath/v1/updateMeta",data:{objectID:rankMath.objectID,objectType:rankMath.objectType,meta:e}}).then((function(e){Object(s.isString)(e)&&Object(o.dispatch)("rank-math").updatePermalink(e)})),Object(o.dispatch)("rank-math").resetDirtyMetadata())}},{key:"saveRedirection",value:function(){var e=Object(o.select)("rank-math").getRedirectionItem();Object(s.isEmpty)(e)||(e.objectID=this.getPostID(),e.redirectionSources=this.getPermalink(),p()({method:"POST",path:"rankmath/v1/updateRedirection",data:e}).then((function(e){"delete"===e.action?Object(o.dispatch)("rank-math").updateRedirection("redirectionID",0):"new"===e.action&&Object(o.dispatch)("rank-math").updateRedirection("redirectionID",e.id)})),Object(o.dispatch)("rank-math").resetRedirection())}},{key:"saveSchemas",value:function(){var e=Object(o.select)("rank-math").getSchemas();if(!Object(s.isEmpty)(e)&&Object(o.select)("rank-math").hasSchemaUpdated()){var t=Object(o.select)("rank-math").getEditSchemas();p()({method:"POST",path:"rankmath/v1/updateSchemas",data:{objectID:rankMath.objectID,objectType:rankMath.objectType,schemas:e}}).then((function(n){if(!Object(s.isEmpty)(n)){var r=f({},e),a=f({},t);Object(s.map)(n,(function(e,t){r["schema-"+e]=f({},r[t]),a["schema-"+e]=f({},a[t]),delete r[t],delete a[t]})),Object(o.dispatch)("rank-math").schemaUpdated(!1),Object(o.dispatch)("rank-math").updateSchemas(r),Object(o.dispatch)("rank-math").updateEditSchemas(a)}}))}}},{key:"handleEditorChange",value:function(e){var t=this,n={id:"handleIDChange",slug:"handleSlugChange",title:"handleTitleChange",excerpt:"handleExcerptChange",content:"handleContentChange",featuredImage:"handleFeaturedImageChange"};if(Object(s.isInteger)(e.id))return this.initialize?void Object(s.forEach)(n,(function(n,r){t._data[r]!==e[r]&&t[n](t._data[r])})):(this.initialize=!0,Object(s.forEach)(n,(function(e,n){t[e](t._data[n])})),void rankMathEditor.refresh("init"));Object(o.dispatch)("rank-math").refreshResults()}},{key:"handleIDChange",value:function(e){Object(o.dispatch)("rank-math").updatePostID(e),Object(o.dispatch)("rank-math").toggleLoaded(!0)}},{key:"handleSlugChange",value:function(){rankMathEditor.refresh("permalink")}},{key:"handleTitleChange",value:function(e){d.a.setVariable("title",e),d.a.setVariable("term",e),d.a.setVariable("author",e),Object(o.dispatch)("rank-math").updateSerpTitle(Object(o.select)("rank-math").getTitle()),rankMathEditor.refresh("title")}},{key:"handleExcerptChange",value:function(e){d.a.setVariable("excerpt",e),d.a.setVariable("excerpt_only",e),d.a.setVariable("wc_shortdesc",e),d.a.setVariable("seo_description",e),Object(o.dispatch)("rank-math").updateSerpDescription(Object(o.select)("rank-math").getDescription())}},{key:"handleFeaturedImageChange",value:function(e){Object(o.dispatch)("rank-math").updateFeaturedImage(e),rankMathEditor.refresh("featuredImage")}},{key:"handleContentChange",value:function(){Object(o.dispatch)("rank-math").updateSerpDescription(Object(o.select)("rank-math").getDescription()),rankMathEditor.refresh("content")}},{key:"getData",value:function(){return this._data}}])&&g(t.prototype,n),r&&g(t,r),e}(),y=n(53),v=n.n(y),k=n(5),O=n(39),_=v.a.ItemView.extend({template:!1,id:"elementor-panel-rank-math",className:"rank-math-elementor rank-math-sidebar-panel",initialize:function(){a()("#elementor-panel-elements-search-area").hide()},onShow:function(){Object(k.render)(Object(k.createElement)(O.a),document.getElementById("elementor-panel-rank-math"))},onDestroy:function(){a()("#elementor-panel-elements-search-area").show()}}),j=function(e){return e["rank-math"]={region:e.global.region,view:_,options:{}},e};function E(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var T=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.onThemeChange=this.onThemeChange.bind(this),elementor.settings.editorPreferences.model.on("change",this.onThemeChange)}var t,n,r;return t=e,(n=[{key:"onThemeChange",value:function(e){var t=Object(s.get)(e,"changed.ui_theme",!1);if(!1!==t){var n=this.getThemeLink();"light"!==t?n.attr("media","auto"===t?"(prefers-color-scheme: dark)":"").appendTo(elementorCommon.elements.$body):n.remove()}}},{key:"getThemeLink",value:function(){return this.link||this.createThemeLink(),this.link}},{key:"createThemeLink",value:function(){var e="rank-math-elementor-dark-css";this.link=a()("#"+e),this.link.length||(this.link=a()("<link>",{id:e,rel:"stylesheet",href:rankMath.elementorDarkMode}))}}])&&E(t.prototype,n),r&&E(t,r),e}(),I=n(23),S=n(24),C=n(22);function D(e){return(D="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})(e)}function P(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function N(e,t,n){return(N="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=U(e)););return e}(e,t);if(r){var a=Object.getOwnPropertyDescriptor(r,t);return a.get?a.get.call(n):a.value}})(e,t,n||e)}function A(e,t){return(A=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function R(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=U(e);if(t){var a=U(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return M(this,n)}}function M(e,t){return!t||"object"!==D(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function U(e){return(U=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var F=function(){return i.MediaUpload},L=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&A(e,t)}(i,e);var t,n,r,a=R(i);function i(){return P(this,i),a.apply(this,arguments)}return t=i,(n=[{key:"setup",value:function(e){this.registerSlots=this.registerSlots.bind(this),Object(l.addAction)("rank_math_loaded","rank-math",this.registerSlots,0),Object(l.addFilter)("editor.MediaUpload","rank-math/replace-media-upload",F),N(U(i.prototype),"setup",this).call(this,e)}},{key:"registerSlots",value:function(){this.RankMathAfterEditor=I.a,this.RankMathAfterFocusKeyword=C.a,this.RankMathAdvancedTab=S.a,this.slots={AfterEditor:I.a,AfterFocusKeyword:C.a,AdvancedTab:S.a}}},{key:"updatePermalink",value:function(e){Object(o.dispatch)("rank-math").updatePermalink(e)}},{key:"updatePermalinkSanitize",value:function(e){e=this.assessor.getResearch("slugify")(e),Object(o.dispatch)("rank-math").updatePermalink(e)}}])&&x(t.prototype,n),r&&x(t,r),i}(c.a);a()((function(){window.rankMathEditor=new L,window.rankMathGutenberg=window.rankMathEditor,window.rankMathEditor.setup(new w),new T,elementor.once("preview:loaded",(function(){$e.components.get("panel/elements").addTab("rank-math",{title:"SEO"}),Object(o.dispatch)("rank-math").refreshResults()}))})),a()(window).on("elementor:init",(function(){elementor.hooks.addFilter("panel/elements/regionViews",j)}))}]);
assets/admin/js/gutenberg.js CHANGED
@@ -1 +1 @@
1
- !function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=80)}([function(e,t){e.exports=wp.i18n},function(e,t){e.exports=lodash},function(e,t){e.exports=jQuery},function(e,t){e.exports=wp.components},function(e,t){e.exports=wp.data},function(e,t){e.exports=wp.element},function(e,t){e.exports=wp.hooks},function(e,t){e.exports=wp.compose},function(e,t){e.exports=rankMathAnalyzer},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(2),a=n.n(r);function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.map=null}var t,n,r;return t=e,(n=[{key:"swap",value:function(e,t){var n=this;if(!(e=e||""))return"";var r=new RegExp(/%(([a-z0-9_-]+)\(([^)]*)\)|[^\s]+)%/,"giu");return e.replace(" %page%","").replace("%sep% %sep%","%sep%").replace(r,(function(e){return n.replace(t,e)})).trim()}},{key:"replace",value:function(e,t){var n=t.toLowerCase().slice(1,-1);return["term_description","user_description"].includes(n)?"undefined"!=typeof tinymce&&tinymce.activeEditor&&"rank_math_description_editor"===tinymce.activeEditor.id?tinymce.activeEditor.getContent():a()("#description").val():n.includes("customfield(")?(n=n.replace("customfield(","").replace(")",""))in rankMath.customFields?rankMath.customFields[n]:"":(e=e||this.getMap(),(n="seo_description"===(n="seo_title"===(n=n.includes("(")?n.split("(")[0]:n)?"title":n)?"excerpt":n)in e?e[n]:"")}},{key:"getMap",value:function(){var e=this;return null!==this.map||(this.map={},a.a.each(rankMath.variables,(function(t,n){t=t.toLowerCase().replace(/%+/g,"").split("(")[0],e.map[t]=n.example}))),this.map}},{key:"setVariable",value:function(e,t){null!==this.map?this.map[e]=t:void 0!==rankMath.variables[e]&&(rankMath.variables[e].example=t)}}])&&o(t.prototype,n),r&&o(t,r),e}())},function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)&&r.length){var i=a.apply(null,r);i&&e.push(i)}else if("object"===o)for(var l in r)n.call(r,l)&&r[l]&&e.push(l)}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(r=function(){return a}.apply(t,[]))||(e.exports=r)}()},function(e,t){e.exports=wp.url},function(e,t){e.exports=wp.blockEditor},,function(e,t,n){"use strict";var r=document.createElement("div");t.a=function(e){return e&&"string"==typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,"").replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,""),r.innerHTML=e,e=r.textContent,r.textContent=""),e}},,function(e,t){e.exports=wp.apiFetch},function(e,t,n){"use strict";n.d(t,"a",(function(){return un}));var r={};n.r(r),n.d(r,"updateKeywords",(function(){return p})),n.d(r,"updatePillarContent",(function(){return m})),n.d(r,"toggleFrontendScore",(function(){return d})),n.d(r,"updateAnalysisScore",(function(){return h})),n.d(r,"updateCanonicalUrl",(function(){return f})),n.d(r,"updateAdvancedRobots",(function(){return b})),n.d(r,"updateRobots",(function(){return g})),n.d(r,"updateBreadcrumbTitle",(function(){return w})),n.d(r,"resetDirtyMetadata",(function(){return y})),n.d(r,"updateFacebookTitle",(function(){return v})),n.d(r,"updateFacebookDescription",(function(){return k})),n.d(r,"updateFacebookImage",(function(){return O})),n.d(r,"updateFacebookImageID",(function(){return _})),n.d(r,"updateFacebookHasOverlay",(function(){return j})),n.d(r,"updateFacebookImageOverlay",(function(){return E})),n.d(r,"updateAppData",(function(){return s})),n.d(r,"updateAppUi",(function(){return u})),n.d(r,"updatePostID",(function(){return T})),n.d(r,"updatePermalink",(function(){return S})),n.d(r,"updateTitle",(function(){return I})),n.d(r,"updateDescription",(function(){return P})),n.d(r,"updateFeaturedImage",(function(){return C})),n.d(r,"updatePrimaryTermID",(function(){return D})),n.d(r,"updateRedirection",(function(){return N})),n.d(r,"updateRedirectionItem",(function(){return x})),n.d(r,"resetRedirection",(function(){return R})),n.d(r,"updateHasRedirect",(function(){return A})),n.d(r,"updateSerpTitle",(function(){return F})),n.d(r,"updateSerpDescription",(function(){return U})),n.d(r,"toggleSnippetEditor",(function(){return L})),n.d(r,"updateSnippetPreviewType",(function(){return H})),n.d(r,"updateTwitterUseFacebook",(function(){return z})),n.d(r,"updateTwitterCardType",(function(){return B})),n.d(r,"updateTwitterTitle",(function(){return G})),n.d(r,"updateTwitterDescription",(function(){return K})),n.d(r,"updateTwitterAuthor",(function(){return V})),n.d(r,"updateTwitterImageID",(function(){return W})),n.d(r,"updateTwitterImage",(function(){return Y})),n.d(r,"updateTwitterHasOverlay",(function(){return q})),n.d(r,"updateTwitterImageOverlay",(function(){return Z})),n.d(r,"updateTwitterPlayerUrl",(function(){return $})),n.d(r,"updateTwitterPlayerSize",(function(){return J})),n.d(r,"updateTwitterPlayerStreamUrl",(function(){return Q})),n.d(r,"updateTwitterPlayerStreamCtype",(function(){return X})),n.d(r,"updateTwitterAppDescription",(function(){return ee})),n.d(r,"updateTwitterAppIphoneID",(function(){return te})),n.d(r,"updateTwitterAppIphoneName",(function(){return ne})),n.d(r,"updateTwitterAppIphoneUrl",(function(){return re})),n.d(r,"updateTwitterAppIpadID",(function(){return ae})),n.d(r,"updateTwitterAppIpadName",(function(){return oe})),n.d(r,"updateTwitterAppIpadUrl",(function(){return ie})),n.d(r,"updateTwitterAppGoogleplayID",(function(){return le})),n.d(r,"updateTwitterAppGoogleplayName",(function(){return ce})),n.d(r,"updateTwitterAppGoogleplayUrl",(function(){return se})),n.d(r,"updateTwitterAppCountry",(function(){return ue})),n.d(r,"toggleLoaded",(function(){return pe})),n.d(r,"updateSelectedKeyword",(function(){return me})),n.d(r,"refreshResults",(function(){return de})),n.d(r,"setVersion",(function(){return he})),n.d(r,"toggleSchemaEditor",(function(){return Oe})),n.d(r,"toggleSchemaTemplates",(function(){return _e})),n.d(r,"setEditingSchemaId",(function(){return je})),n.d(r,"setEditorTab",(function(){return Ee})),n.d(r,"setTemplateTab",(function(){return Te})),n.d(r,"updateEditSchemas",(function(){return Se})),n.d(r,"updateSchemas",(function(){return Ie})),n.d(r,"updateEditSchema",(function(){return Pe})),n.d(r,"saveSchema",(function(){return Ce})),n.d(r,"deleteSchema",(function(){return De})),n.d(r,"saveTemplate",(function(){return Ne}));var a={};n.r(a),n.d(a,"appData",(function(){return Le})),n.d(a,"appUi",(function(){return Ke}));var o={};n.r(o),n.d(o,"getAppData",(function(){return Ve})),n.d(o,"getDirtyMetadata",(function(){return We})),n.d(o,"getAnalysisScore",(function(){return Ye})),n.d(o,"getKeywords",(function(){return qe})),n.d(o,"getPillarContent",(function(){return Ze})),n.d(o,"getRobots",(function(){return $e})),n.d(o,"getAdvancedRobots",(function(){return Je})),n.d(o,"getCanonicalUrl",(function(){return Qe})),n.d(o,"getBreadcrumbTitle",(function(){return Xe})),n.d(o,"getRichSnippets",(function(){return et})),n.d(o,"getShowScoreFrontend",(function(){return tt})),n.d(o,"isLoaded",(function(){return nt})),n.d(o,"getSelectedKeyword",(function(){return rt})),n.d(o,"isRefreshing",(function(){return at})),n.d(o,"isPro",(function(){return ot})),n.d(o,"getFacebookTitle",(function(){return it})),n.d(o,"getFacebookDescription",(function(){return lt})),n.d(o,"getFacebookAuthor",(function(){return ct})),n.d(o,"getFacebookImageID",(function(){return st})),n.d(o,"getFacebookImage",(function(){return ut})),n.d(o,"getFacebookHasOverlay",(function(){return pt})),n.d(o,"getFacebookImageOverlay",(function(){return mt})),n.d(o,"getPostID",(function(){return dt})),n.d(o,"getTitle",(function(){return ht})),n.d(o,"getPermalink",(function(){return ft})),n.d(o,"getDescription",(function(){return bt})),n.d(o,"getFeaturedImage",(function(){return gt})),n.d(o,"getFeaturedImageHtml",(function(){return wt})),n.d(o,"getPrimaryTermID",(function(){return yt})),n.d(o,"getRedirectionID",(function(){return vt})),n.d(o,"getRedirectionType",(function(){return kt})),n.d(o,"getRedirectionUrl",(function(){return Ot})),n.d(o,"getRedirectionItem",(function(){return _t})),n.d(o,"hasRedirect",(function(){return jt})),n.d(o,"getSerpTitle",(function(){return Tt})),n.d(o,"getSerpDescription",(function(){return St})),n.d(o,"isSnippetEditorOpen",(function(){return It})),n.d(o,"getSnippetPreviewType",(function(){return Pt})),n.d(o,"isSchemaEditorOpen",(function(){return Ct})),n.d(o,"isSchemaTemplatesOpen",(function(){return Dt})),n.d(o,"getSchemas",(function(){return Nt})),n.d(o,"getEditSchemas",(function(){return xt})),n.d(o,"getEditingSchema",(function(){return Rt})),n.d(o,"getPreviewSchema",(function(){return At})),n.d(o,"getEditorTab",(function(){return Mt})),n.d(o,"getTemplateTab",(function(){return Ft})),n.d(o,"getTwitterUseFacebook",(function(){return Ut})),n.d(o,"getTwitterCardType",(function(){return Lt})),n.d(o,"getTwitterTitle",(function(){return Ht})),n.d(o,"getTwitterDescription",(function(){return zt})),n.d(o,"getTwitterAuthor",(function(){return Bt})),n.d(o,"getTwitterImageID",(function(){return Gt})),n.d(o,"getTwitterImage",(function(){return Kt})),n.d(o,"getTwitterHasOverlay",(function(){return Vt})),n.d(o,"getTwitterImageOverlay",(function(){return Wt})),n.d(o,"getTwitterAppDescription",(function(){return Yt})),n.d(o,"getTwitterAppIphoneID",(function(){return qt})),n.d(o,"getTwitterAppIphoneName",(function(){return Zt})),n.d(o,"getTwitterAppIphoneUrl",(function(){return $t})),n.d(o,"getTwitterAppIpadID",(function(){return Jt})),n.d(o,"getTwitterAppIpadName",(function(){return Qt})),n.d(o,"getTwitterAppIpadUrl",(function(){return Xt})),n.d(o,"getTwitterAppGoogleplayID",(function(){return en})),n.d(o,"getTwitterAppGoogleplayName",(function(){return tn})),n.d(o,"getTwitterAppGoogleplayUrl",(function(){return nn})),n.d(o,"getTwitterAppCountry",(function(){return rn})),n.d(o,"getTwitterPlayerUrl",(function(){return an})),n.d(o,"getTwitterPlayerSize",(function(){return on})),n.d(o,"getTwitterPlayerStream",(function(){return ln})),n.d(o,"getTwitterPlayerStreamCtype",(function(){return cn}));var i=n(4),l=n(9),c=n(6);function s(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return t=Object(c.applyFilters)("rank_math_sanitize_data",t,e,n),null!==r&&(r=Object(c.applyFilters)("rank_math_sanitize_meta_value",r,e,n)),r=null===r?t:r,Object(c.doAction)("rank_math_data_changed",e,t,n),{type:"RANK_MATH_APP_DATA",key:e,value:t,metaKey:n,metaValue:r}}function u(e,t){return Object(c.doAction)("rank_math_update_app_ui",e,t),{type:"RANK_MATH_APP_UI",key:e,value:t}}function p(e){return l.a.setVariable("focuskw",e.split(",")[0]),rankMathEditor.refresh("keyword"),s("keywords",e,"rank_math_focus_keyword")}function m(e){return s("pillarContent",e,"rank_math_pillar_content",!0===e?"on":"off")}function d(e){return s("showScoreFrontend",e,"rank_math_dont_show_seo_score",!0===e?"off":"on")}function h(e){return s("score",e,"rank_math_seo_score")}function f(e){return s("canonicalUrl",e,"rank_math_canonical_url")}function b(e){return s("advancedRobots",e,"rank_math_advanced_robots")}function g(e){return s("robots",e,"rank_math_robots",Object.keys(e))}function w(e){return s("breadcrumbTitle",e,"rank_math_breadcrumb_title")}function y(){return s("dirtyMetadata",{})}function v(e){return s("facebookTitle",e,"rank_math_facebook_title")}function k(e){return s("facebookDescription",e,"rank_math_facebook_description")}function O(e){return s("facebookImage",e,"rank_math_facebook_image")}function _(e){return s("facebookImageID",e,"rank_math_facebook_image_id")}function j(e){return s("facebookHasOverlay",e,"rank_math_facebook_enable_image_overlay",!0===e?"on":"off")}function E(e){return s("facebookImageOverlay",e,"rank_math_facebook_image_overlay")}function T(e){return rankMath.objectID=e,s("postID",e)}function S(e){return s("permalink",e,"permalink")}function I(e){return s("title",e,"rank_math_title")}function P(e){return s("description",e,"rank_math_description")}function C(e){return s("featuredImage",e)}function D(e,t){return s("primaryTerm",parseInt(e),"rank_math_primary_"+t)}function N(e,t){return s(e,t)}function x(e){return u("redirectionItem",e)}function R(){return u("redirectionItem",{})}function A(e){return u("hasRedirect",e)}var M=n(25);function F(e){return e=l.a.swap(""!==e?e:rankMath.assessor.serpData.titleTemplate),rankMathEditor.refresh("title"),u("serpTitle",e)}function U(e){return e=l.a.swap(Object(M.a)(e)),rankMathEditor.refresh("description"),u("serpDescription",e)}function L(e){return u("isSnippetEditorOpen",e)}function H(e){return u("snippetPreviewType",e)}function z(e){return s("twitterUseFacebook",e,"rank_math_twitter_use_facebook",!0===e?"on":"off")}function B(e){return s("twitterCardType",e,"rank_math_twitter_card_type")}function G(e){return s("twitterTitle",e,"rank_math_twitter_title")}function K(e){return s("twitterDescription",e,"rank_math_twitter_description")}function V(e){return s("twitterAuthor",e,"rank_math_twitter_author")}function W(e){return s("twitterImageID",e,"rank_math_twitter_image_id")}function Y(e){return s("twitterImage",e,"rank_math_twitter_image")}function q(e){return s("twitterHasOverlay",e,"rank_math_twitter_enable_image_overlay",!0===e?"on":"off")}function Z(e){return s("twitterImageOverlay",e,"rank_math_twitter_image_overlay")}function $(e){return s("twitterPlayerUrl",e,"rank_math_twitter_player_url")}function J(e){return s("twitterPlayerSize",e,"rank_math_twitter_player_size")}function Q(e){return s("twitterPlayerStream",e,"rank_math_twitter_player_stream")}function X(e){return s("twitterPlayerStreamCtype",e,"rank_math_twitter_player_stream_ctype")}function ee(e){return s("twitterAppDescription",e,"rank_math_twitter_app_description")}function te(e){return s("twitterAppIphoneID",e,"rank_math_twitter_app_iphone_id")}function ne(e){return s("twitterAppIphoneName",e,"rank_math_twitter_app_iphone_name")}function re(e){return s("twitterAppIphoneUrl",e,"rank_math_twitter_app_iphone_url")}function ae(e){return s("twitterAppIpadID",e,"rank_math_twitter_app_ipad_id")}function oe(e){return s("twitterAppIpadName",e,"rank_math_twitter_app_ipad_name")}function ie(e){return s("twitterAppIpadUrl",e,"rank_math_twitter_app_ipad_url")}function le(e){return s("twitterAppGoogleplayID",e,"rank_math_twitter_app_googleplay_id")}function ce(e){return s("twitterAppGoogleplayName",e,"rank_math_twitter_app_googleplay_name")}function se(e){return s("twitterAppGoogleplayUrl",e,"rank_math_twitter_app_googleplay_url")}function ue(e){return s("twitterAppCountry",e,"rank_math_twitter_app_country")}function pe(e){return u("isLoaded",e)}function me(e){return u("selectedKeyword",e)}function de(){return u("refreshResults",Date.now())}function he(){return u("isPro",!0)}var fe=n(1),be=n(0),ge=n(16),we=n.n(ge);function ye(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 ve(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ye(Object(n),!0).forEach((function(t){ke(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ye(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ke(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Oe(e){return u("isSchemaEditorOpen",e)}function _e(e){return u("isSchemaTemplatesOpen",e)}function je(e){return u("editingSchemaId",e)}function Ee(e){return u("editorTab",e)}function Te(e){return u("templateTab",e)}function Se(e){return u("editSchemas",e)}function Ie(e){return s("schemas",e)}function Pe(e,t){var n=ve({},Object(i.select)("rank-math").getEditSchemas());return n[e]=t,u("editSchemas",n)}function Ce(e,t){var n=ve({},Object(i.select)("rank-math").getSchemas());return n[e]=t,s("schemas",n)}function De(e){var t=ve({},Object(i.select)("rank-math").getSchemas());return delete t[e],Object(c.doAction)("rank_math_schema_trash",e),s("schemas",t,"rank_math_delete_"+e,"")}function Ne(e,t,n){return we()({method:"POST",path:"rankmath/v1/saveTemplate",data:{schema:e,postId:n}}).then((function(n){t({loading:!1,showNotice:!0,postId:n.id}),setTimeout((function(){t({showNotice:!1}),Object(fe.get)(rankMath,"isTemplateScreen",!1)&&(document.title=Object(be.__)("Edit Schema","rank-math"),window.history.pushState(null,"",n.link.replace(/&amp;/g,"&")))}),2e3),rankMath.schemaTemplates.push({schema:e,title:e.metadata.title,type:e["@type"]})})),t({loading:!0}),{type:"DONT_WANT_TO_DO_SOMETHING"}}function xe(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 Re(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xe(Object(n),!0).forEach((function(t){Ae(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ae(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Me=rankMath.assessor.serpData,Fe=rankMath.assessor.hasRedirection,Ue={postID:null,title:Me.title?Me.title:Me.titleTemplate,description:Me.description,keywords:Me.focusKeywords,pillarContent:Me.pillarContent,featuredImage:"",permalink:!1,primaryTerm:Me.primaryTerm,robots:Me.robots,advancedRobots:Me.advancedRobots,canonicalUrl:Me.canonicalUrl,breadcrumbTitle:Me.breadcrumbTitle,showScoreFrontend:Me.showScoreFrontend,redirectionID:Fe?Object(fe.get)(rankMath.assessor,"redirection.id",""):"",redirectionType:Fe?Object(fe.get)(rankMath.assessor,"redirection.header_code",""):"",redirectionUrl:Fe?Object(fe.get)(rankMath.assessor,"redirection.url_to",""):"",facebookTitle:Me.facebookTitle,facebookImage:Me.facebookImage,facebookImageID:Me.facebookImageID,facebookAuthor:Me.facebookAuthor,facebookDescription:Me.facebookDescription,facebookHasOverlay:Me.facebookHasOverlay,facebookImageOverlay:Me.facebookImageOverlay,twitterTitle:Me.twitterTitle,twitterImage:Me.twitterImage,twitterAuthor:Me.twitterAuthor,twitterImageID:Me.twitterImageID,twitterCardType:Me.twitterCardType,twitterUseFacebook:Me.twitterUseFacebook,twitterDescription:Me.twitterDescription,twitterHasOverlay:Me.twitterHasOverlay,twitterImageOverlay:Me.twitterImageOverlay,twitterPlayerUrl:Me.twitterPlayerUrl,twitterPlayerSize:Me.twitterPlayerSize,twitterPlayerStream:Me.twitterPlayerStream,twitterPlayerStreamCtype:Me.twitterPlayerStreamCtype,twitterAppDescription:Me.twitterAppDescription,twitterAppIphoneName:Me.twitterAppIphoneName,twitterAppIphoneID:Me.twitterAppIphoneID,twitterAppIphoneUrl:Me.twitterAppIphoneUrl,twitterAppIpadName:Me.twitterAppIpadName,twitterAppIpadID:Me.twitterAppIpadID,twitterAppIpadUrl:Me.twitterAppIpadUrl,twitterAppGoogleplayName:Me.twitterAppGoogleplayName,twitterAppGoogleplayID:Me.twitterAppGoogleplayID,twitterAppGoogleplayUrl:Me.twitterAppGoogleplayUrl,twitterAppCountry:Me.twitterAppCountry,schemas:Object(fe.get)(rankMath,"schemas",{}),score:0,dirtyMetadata:{}};function Le(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ue,n=arguments.length>1?arguments[1]:void 0,r=Re({},t.dirtyMetadata);return!1!==n.metaKey&&(r[n.metaKey]=n.metaValue),"RANK_MATH_APP_DATA"===n.type?"dirtyMetadata"===n.key?Re(Re({},t),{},{dirtyMetadata:n.value}):Re(Re({},t),{},(Ae(e={},n.key,n.value),Ae(e,"dirtyMetadata",r),e)):t}function He(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 ze(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?He(Object(n),!0).forEach((function(t){Be(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):He(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Be(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ge={isLoaded:!1,isPro:!1,selectedKeyword:{tag:"",index:0,data:{value:""}},hasRedirect:rankMath.assessor.hasRedirection&&(!Object(fe.isEmpty)(Object(fe.get)(rankMath.assessor,"redirection.id",""))||!Object(fe.isEmpty)(Object(fe.get)(rankMath.assessor,"redirection.url_to",""))),serpTitle:"",serpDescription:"",isSnippetEditorOpen:!1,snippetPreviewType:"",refreshResults:"",redirectionItem:{},editorTab:"",templateTab:"",editSchemas:{},editingSchemaId:"",isSchemaEditorOpen:!1,isSchemaTemplatesOpen:!1};function Ke(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ge,t=arguments.length>1?arguments[1]:void 0;return"RANK_MATH_APP_UI"===t.type?ze(ze({},e),{},Be({},t.key,t.value)):e}function Ve(e){return e.appData}function We(e){return e.appData.dirtyMetadata}function Ye(e){return e.appData.score}function qe(e){return e.appData.keywords}function Ze(e){return e.appData.pillarContent}function $e(e){return e.appData.robots}function Je(e){return e.appData.advancedRobots}function Qe(e){return e.appData.canonicalUrl}function Xe(e){return e.appData.breadcrumbTitle}function et(e){return"todo"}function tt(e){return e.appData.showScoreFrontend}function nt(e){return e.appUi.isLoaded}function rt(e){return e.appUi.selectedKeyword}function at(e){return e.appUi.refreshResults}function ot(e){return e.appUi.isPro}function it(e){return e.appData.facebookTitle}function lt(e){return e.appData.facebookDescription}function ct(e){return e.appData.facebookAuthor}function st(e){return e.appData.facebookImageID}function ut(e){return e.appData.facebookImage}function pt(e){return e.appData.facebookHasOverlay}function mt(e){return""!==e.appData.facebookImageOverlay?e.appData.facebookImageOverlay:"play"}function dt(e){return e.appData.postID}function ht(e){return e.appData.title}function ft(e){return e.appData.permalink}function bt(e){return e.appData.description}function gt(e){return e.appData.featuredImage}function wt(e){var t=e.appData.featuredImage;return'<img src="'.concat(t.source_url,'" alt="').concat(t.alt_text,'" >')}function yt(e){return e.appData.primaryTerm}function vt(e){return e.appData.redirectionID}function kt(e){return e.appData.redirectionType}function Ot(e){return e.appData.redirectionUrl}function _t(e){return e.appUi.redirectionItem}function jt(e){return e.appUi.hasRedirect}var Et=n(14);function Tt(e){return Object(Et.a)(e.appUi.serpTitle)}function St(e){return e.appUi.serpDescription}function It(e){return e.appUi.isSnippetEditorOpen}function Pt(e){return e.appUi.snippetPreviewType}function Ct(e){return e.appUi.isSchemaEditorOpen}function Dt(e){return e.appUi.isSchemaTemplatesOpen}function Nt(e){return e.appData.schemas}function xt(e){return e.appUi.editSchemas}function Rt(e){return{id:e.appUi.editingSchemaId,data:e.appUi.editSchemas[e.appUi.editingSchemaId]}}function At(e){return e.appData.schemas[e.appUi.editingSchemaId]}function Mt(e){return e.appUi.editorTab}function Ft(e){return e.appUi.templateTab}function Ut(e){return e.appData.twitterUseFacebook}function Lt(e){return e.appData.twitterCardType}function Ht(e){return e.appData.twitterTitle}function zt(e){return e.appData.twitterDescription}function Bt(e){return e.appData.twitterAuthor}function Gt(e){return e.appData.twitterImageID}function Kt(e){return e.appData.twitterImage}function Vt(e){return e.appData.twitterHasOverlay}function Wt(e){return""!==e.appData.twitterImageOverlay?e.appData.twitterImageOverlay:"play"}function Yt(e){return e.appData.twitterAppDescription}function qt(e){return e.appData.twitterAppIphoneID}function Zt(e){return e.appData.twitterAppIphoneName}function $t(e){return e.appData.twitterAppIphoneUrl}function Jt(e){return e.appData.twitterAppIpadID}function Qt(e){return e.appData.twitterAppIpadName}function Xt(e){return e.appData.twitterAppIpadUrl}function en(e){return e.appData.twitterAppGoogleplayID}function tn(e){return e.appData.twitterAppGoogleplayName}function nn(e){return e.appData.twitterAppGoogleplayUrl}function rn(e){return e.appData.twitterAppCountry}function an(e){return e.appData.twitterPlayerUrl}function on(e){return e.appData.twitterPlayerSize}function ln(e){return e.appData.twitterPlayerStream}function cn(e){return e.appData.twitterPlayerStreamCtype}var sn=Object(i.registerStore)("rank-math",{reducer:Object(i.combineReducers)(a),selectors:o,actions:r});function un(){return sn}},,function(e,t,n){"use strict";var r=n(1);t.a=function(e,t,n,a){return""===e||Object(r.isUndefined)(t)?t:(t=Object(r.truncate)(t,{length:n,separator:a||" "})).replace(new RegExp(function(e){return e.replace(/[\\^$*+?.()|[\]{}]/g,"\\$&")}(e),"gi"),(function(e){return'<mark className="highlight">'+e+"</mark>"}))}},function(e,t,n){"use strict";t.a=function(e){return 80<e?"good-fk":50<e?"ok-fk":"bad-fk"}},,function(e,t,n){"use strict";var r=n(3),a=Object(r.createSlotFill)("RankMathAfterFocusKeyword"),o=a.Fill,i=a.Slot,l=function(e){var t=e.children,n=e.className;return wp.element.createElement(o,null,wp.element.createElement("div",{className:n},t))};l.Slot=i,t.a=l},function(e,t,n){"use strict";var r=n(3),a=Object(r.createSlotFill)("RankMathAfterEditor"),o=a.Fill,i=a.Slot,l=function(e){var t=e.children,n=e.className;return wp.element.createElement(o,null,wp.element.createElement(r.PanelRow,{className:n},t))};l.Slot=i,t.a=l},function(e,t,n){"use strict";var r=n(3),a=Object(r.createSlotFill)("RankMathAdvancedTab"),o=a.Fill,i=a.Slot,l=function(e){var t=e.children,n=e.className;return wp.element.createElement(o,null,wp.element.createElement(r.PanelRow,{className:n},t))};l.Slot=i,t.a=l},function(e,t,n){"use strict";var r=n(2),a=n.n(r),o=n(8),i=n(1),l=n(6),c=n(9),s=n(14),u=function(e,t){return e=(e=o.Helpers.cleanText(e)).replace(/\r?\n|\r/g," "),t?Object(i.truncate)(e,{length:t,separator:" "}):e};t.a=function(e){var t=rankMathEditor.assessor.dataCollector.getData(),n=t.excerpt,r=t.content?function(e){if(Object(i.isEmpty)(e))return"";e=e.replace(/\[caption[^\]]*\](.*)\[\/caption\]/g,"");var t=Object(i.filter)(o.Helpers.matchParagraphs(e,!0,!0),(function(e){return""!==a.a.trim(e)}));if(!t.length)return"";var n=rankMathEditor.getPrimaryKeyword();if(""!==n){var r=Object(i.filter)(t,(function(e){return Object(i.includes)(e.toLowerCase(),n.toLowerCase())}));if(0<r.length)return u(r[0],160)}return u(t[0],160)}(t.content.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,"")):"",p=Object(i.isUndefined)(n)||Object(i.isEmpty)(n)?r:n;if(c.a.setVariable("excerpt",p),c.a.setVariable("seo_description",p),""!==(e=Object(s.a)(Object(l.applyFilters)("rankMath/description",e))))return o.Helpers.cleanText(e);if(!Object(i.isUndefined)(n)&&!Object(i.isEmpty)(n))return o.Helpers.cleanText(n);var m=rankMath.assessor.serpData.descriptionTemplate;return Object(i.isUndefined)(m)||""===m?r:o.Helpers.cleanText(m)}},function(e,t,n){"use strict";var r=n(0),a=n(6);function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),rankMath.is_front_page&&(Object(a.addFilter)("rankMath_analysis_contentLength","rank-math",this.contentLength),Object(a.addFilter)("rankMath_analysis_contentLength_boundaries","rank-math",this.contentLengthBoundary))}var t,n,i;return t=e,(n=[{key:"contentLength",value:function(e){return{hasScore:e.hasScore,failed:Object(r.__)("Content is %1$d words long. Consider using at least 300 words.","rank-math"),tooltipText:Object(r.__)("Minimum recommended content length should be 300 words.","rank-math"),emptyContent:Object(r.sprintf)(Object(r.__)("Content should be %1$s long.","rank-math"),'<a href="https://s.rankmath.com/100contentlength" target="_blank">'+Object(r.__)("300 words","rank-math")+"</a>")}}},{key:"contentLengthBoundary",value:function(){return{recommended:{boundary:299,score:8},belowRecommended:{boundary:200,score:5},low:{boundary:50,score:2}}}}])&&o(t.prototype,n),i&&o(t,i),e}();t.a=i},function(e,t,n){"use strict";var r=n(1),a=n(14);function o(e,t,n){var a=0;return!1!==Object(r.get)(n,"pixelWidth",!1)&&(a=Math.min(100,Math.floor(t/n.pixelWidth*100))),Math.max(Math.min(100,Math.floor(e/n.max*100)),a)+"%"}function i(e,t){return e<=t.min||e>t.max}function l(e,t){return e<=t.minWidth||e>t.pixelWidth}t.a=function(e,t){var n=Object(a.a)(e).length,c=0,s=!1;if(!1!==Object(r.get)(t,"pixelWidth",!1)){s=!0;var u=document.createTextNode(e),p=document.createElement("span");p.appendChild(u),p.id="rank-math-width-tester",p.className=t.widthCheckerClass;var m=document.body.appendChild(p);c=document.getElementById("rank-math-width-tester").offsetWidth,m.outerHTML=""}return{left:o(n,c,t),isInvalid:i(n,t),isInvalidWidth:!!s&&l(c,t),count:n+" / "+t.max,pixelWidth:s?c+"px / "+t.pixelWidth+"px":""}}},function(e,t){e.exports=Tagify},function(e,t,n){"use strict";var r=n(1);t.a=function(e,t){var n=Object(r.round)(e/t*100);if(!(100<=n))return 49<n?"test-check-good":30<n?"test-check-ok":"test-check-bad"}},function(e,t){e.exports=wp.htmlEntities},function(e,t,n){"use strict";var r=n(1);t.a=function(){return!(Object(r.isNil)(window.wp)||Object(r.isNil)(wp.data)||Object(r.isNil)(wp.data.select("core/editor"))||!Object(r.isFunction)(wp.data.select("core/editor").getEditedPostAttribute))}},function(e,t,n){"use strict";var r=n(4),a=n(20);t.a=Object(r.withSelect)((function(e){var t=e("rank-math");return{score:t.getAnalysisScore(),isRefreshing:t.isRefreshing()}}))((function(e){var t=e.score;return wp.element.createElement("div",{className:"seo-score "+Object(a.a)(t)},wp.element.createElement("div",{className:"score-text"},t," / 100"))}))},,function(e,t){e.exports=React},function(e,t,n){"use strict";function r(e){return function(){return e}}var a=function(){};a.thatReturns=r,a.thatReturnsFalse=r(!1),a.thatReturnsTrue=r(!0),a.thatReturnsNull=r(null),a.thatReturnsThis=function(){return this},a.thatReturnsArgument=function(e){return e},e.exports=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="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},a=l(n(34)),o=l(n(42)),i=l(n(45));function l(e){return e&&e.__esModule?e:{default:e}}var c=void 0;function s(e,t){var n,i,l,u,p,m,d,h,f=[],b={};for(m=0;m<e.length;m++)if("string"!==(p=e[m]).type){if(!t.hasOwnProperty(p.value)||void 0===t[p.value])throw new Error("Invalid interpolation, missing component node: `"+p.value+"`");if("object"!==r(t[p.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+p.value+"`","\n> "+c);if("componentClose"===p.type)throw new Error("Missing opening component token: `"+p.value+"`");if("componentOpen"===p.type){n=t[p.value],l=m;break}f.push(t[p.value])}else f.push(p.value);return n&&(u=function(e,t){var n,r,a=t[e],o=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===a.value){if("componentOpen"===n.type){o++;continue}if("componentClose"===n.type){if(0===o)return r;o--}}throw new Error("Missing closing component token `"+a.value+"`")}(l,e),d=s(e.slice(l+1,u),t),i=a.default.cloneElement(n,{},d),f.push(i),u<e.length-1&&(h=s(e.slice(u+1),t),f=f.concat(h))),1===f.length?f[0]:(f.forEach((function(e,t){e&&(b["interpolation-child-"+t]=e)})),(0,o.default)(b))}t.default=function(e){var t=e.mixedString,n=e.components,a=e.throwErrors;if(c=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(a)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var o=(0,i.default)(t);try{return s(o,n)}catch(e){if(a)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},function(e,t,n){"use strict";var r=n(1),a=n(0),o=n(16),i=n.n(o),l=n(11),c=n(5),s=n(4),u=n(3);function p(e){return(p="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})(e)}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=w(e);if(t){var a=w(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return b(this,n)}}function b(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?g(e):t}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var y=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(p,e);var t,n,o,c=f(p);function p(){var e;return m(this,p),(e=c.apply(this,arguments)).onChange=e.onChange.bind(g(e)),e.state={loading:!0,availableTerms:[],selectedTerms:[]},e}return t=p,(n=[{key:"componentDidMount",value:function(){this.fetchTerms()}},{key:"componentWillUnmount",value:function(){Object(r.invoke)(this.fetchRequest,["abort"])}},{key:"componentDidUpdate",value:function(e,t){if(e.selectedTermIds.length<this.props.selectedTermIds.length){var n=Object(r.difference)(this.props.selectedTermIds,e.selectedTermIds)[0];if(!this.termIsAvailable(n))return void this.fetchTerms()}e.selectedTermIds!==this.props.selectedTermIds&&this.updateSelectedTerms(this.state.availableTerms,this.props.selectedTermIds),t.selectedTerms!==this.state.selectedTerms&&this.handleSelectedTermsChange()}},{key:"termIsAvailable",value:function(e){return!!this.state.availableTerms.find((function(t){return t.id===e}))}},{key:"updateSelectedTerms",value:function(e,t){this.setState({selectedTerms:this.filterSelectedTerms(e,t)})}},{key:"handleSelectedTermsChange",value:function(){var e=this.state.selectedTerms,t=this.props.primaryTermID;e.find((function(e){return e.id===t}))||this.onChange(e.length?e[0].id:"")}},{key:"fetchTerms",value:function(){var e=this,t=this.props.taxonomy;t&&(this.fetchRequest=i()({path:Object(l.addQueryArgs)("/wp/v2/".concat(t.rest_base),{per_page:-1,orderby:"count",order:"desc",_fields:"id,name"})}),this.fetchRequest.then((function(t){e.fetchRequest=null,e.setState({loading:!1,availableTerms:t,selectedTerms:e.filterSelectedTerms(t,e.props.selectedTermIds)})}),(function(t){"abort"!==t.statusText&&(e.fetchRequest=null,e.setState({loading:!1}))})))}},{key:"filterSelectedTerms",value:function(e,t){return e.filter((function(e){return t.includes(e.id)}))}},{key:"onChange",value:function(e){Object(s.dispatch)("rank-math").updatePrimaryTermID(e,this.props.taxonomy.slug)}},{key:"shouldComponentUpdate",value:function(e,t){return this.props.selectedTermIds!==e.selectedTermIds||this.props.primaryTermID!==e.primaryTermID||this.state.selectedTerms!==t.selectedTerms}},{key:"render",value:function(){return this.state.selectedTerms.length<2?null:this.state.loading?[wp.element.createElement(u.Spinner,{key:"spinner"}),wp.element.createElement("p",{key:"spinner-text"},"Loading")]:wp.element.createElement(u.SelectControl,{label:Object(a.__)("Select Primary Term","rank-math"),value:this.props.primaryTermID,options:this.state.selectedTerms.map((function(e){return{value:e.id,label:Object(r.unescape)(e.name)}})),onChange:this.onChange})}}])&&d(t.prototype,n),o&&d(t,o),p}(c.Component);t.a=y},,function(e,t,n){"use strict";var r=n(0),a=n(4),o=n(6),i=n(5),l=n(10),c=n.n(l),s=n(1),u=n(7),p=n(3);function m(e){return(m="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})(e)}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=y(e);if(t){var a=y(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return w(this,n)}}function w(e,t){return!t||"object"!==m(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function v(){return(v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function k(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var O=function(e){var t=e.tabId,n=e.onClick,r=e.children,a=e.selected,o=k(e,["tabId","onClick","children","selected"]);return wp.element.createElement(p.Button,v({role:"tab",tabIndex:a?null:-1,"aria-selected":a,id:t,onClick:n},o),r)},_=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b(e,t)}(o,e);var t,n,r,a=g(o);function o(){var e;h(this,o),(e=a.apply(this,arguments)).handleClick=function(t){var n=e.props.onSelect,r=void 0===n?s.noop:n;e.setState({selected:t}),r(t)},e.onNavigate=function(e,t){t.click()},e.toggle=function(){e.setState((function(e){return{isOpen:!e.isOpen}}))};var t=e.props,n=t.tabs,r=t.initialTabName;return e.state={isOpen:!1,selected:r||(n.length>0?n[0].name:null)},e}return t=o,(n=[{key:"render",value:function(){var e=this,t=this.state.selected,n=this.props,r=n.activeClass,a=void 0===r?"is-active":r,o=n.className,i=n.instanceId,l=n.orientation,u=void 0===l?"horizontal":l,m=n.tabs,h=Object(s.find)(m,{name:t}),f=i+"-"+h.name,b=m.slice(4);return wp.element.createElement("div",{className:o},wp.element.createElement(p.NavigableMenu,{role:"tablist",orientation:u,onNavigate:this.onNavigate,className:"components-tab-panel__tabs"},m.slice(0,4).map((function(n){return wp.element.createElement(O,{className:c()("components-tab-panel__tabs-item",n.className,d({},a,n.name===t)),tabId:i+"-"+n.name,"aria-controls":i+"-"+n.name+"-view",selected:n.name===t,key:n.name,onClick:Object(s.partial)(e.handleClick,n.name)},n.title)})),!Object(s.isEmpty)(b)&&wp.element.createElement(p.Button,{onClick:this.toggle,"aria-expanded":this.state.isOpen,className:c()("components-tab-panel__tabs-item",{active:this.state.isOpen})},wp.element.createElement("i",{className:"rm-icon rm-icon-plus"}),wp.element.createElement("span",null,"More")),this.state.isOpen&&wp.element.createElement("div",{className:"rank-math-extra-menu"},b.map((function(n){return wp.element.createElement(O,{className:c()("components-tab-panel__tabs-item",n.className,d({},a,n.name===t)),tabId:i+"-"+n.name,"aria-controls":i+"-"+n.name+"-view",selected:n.name===t,key:n.name,onClick:Object(s.partial)(e.handleClick,n.name)},n.title)})))),h&&wp.element.createElement("div",{"aria-labelledby":f,role:"tabpanel",id:f+"-view",className:"components-tab-panel__tab-content"},this.props.children(h)))}}])&&f(t.prototype,n),r&&f(t,r),o}(i.Component),j=Object(u.withInstanceId)(_),E=n(27),T=function(e){var t=Object(E.a)(e.source,e),n=t.pixelWidth?" (".concat(t.pixelWidth,")"):"";return wp.element.createElement("span",{className:c()("length-indicator-wrapper",{invalid:t.isInvalid})},wp.element.createElement("span",{className:"length-count"},t.count,n),wp.element.createElement("span",{className:"length-indicator"},wp.element.createElement("span",{style:{left:t.left}})))},S=n(30),I=n(36),P=n.n(I),C=function(e){var t=e.tags,n=e.components,r=e.children;return n=n||{},!1===Object(s.isUndefined)(t)&&(t=t.split(",")).forEach((function(e){var t=e;n[e]=wp.element.createElement(t,null)})),P()({mixedString:r,components:n})};function D(e){return(D="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})(e)}function N(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function x(e,t){return(x=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function R(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=F(e);if(t){var a=F(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return A(this,n)}}function A(e,t){return!t||"object"!==D(t)&&"function"!=typeof t?M(e):t}function M(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F(e){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var U=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&x(e,t)}(l,e);var t,n,a,o=R(l);function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=o.call(this,e)).state={},t.state.variables=t.getFiltered(),t.state.filtered=t.state.variables,t.state.display="none",t.state.isOpen=!1,t.handleOutsideClick=t.handleOutsideClick.bind(M(t)),t}return t=l,(n=[{key:"getFiltered",value:function(){var e=this.props.exclude,t=Object.values(rankMath.variables);return Object(s.isUndefined)(e)?t:t.filter((function(t){return!e.includes(t.variable)}))}},{key:"render",value:function(){var e=this;return wp.element.createElement(i.Fragment,null,wp.element.createElement("div",{className:"rank-math-variables-dropdown",style:{display:this.state.display},ref:function(t){e.node=t}},wp.element.createElement(p.TextControl,{autoComplete:"off",placeholder:Object(S.decodeEntities)(Object(r.__)("Search &hellip;","rank-math")),onChange:function(t){e.handleSearch(t)}}),wp.element.createElement("ul",null,this.state.filtered.map((function(t,n){return wp.element.createElement("li",{key:n,"data-var":t.variable,role:"presentation",onClick:function(){e.props.onClick(t)}},wp.element.createElement("strong",null,t.name),wp.element.createElement("span",null,wp.element.createElement(C,{tags:"strong"},t.description.replace("<strong>","{{strong}}").replace("</strong>","{{/strong}}"))))}),this))),wp.element.createElement(p.Button,{icon:"arrow-down-alt2",onClick:function(){e.toggle()}}))}},{key:"toggle",value:function(){this.state.isOpen?document.removeEventListener("click",this.handleOutsideClick,!1):document.addEventListener("click",this.handleOutsideClick,!1),this.setState({display:this.state.isOpen?"none":"block",isOpen:!this.state.isOpen})}},{key:"handleOutsideClick",value:function(e){this.node.contains(e.target)||this.toggle()}},{key:"handleSearch",value:function(e){var t=e.toLowerCase();2>t.length?this.setState({filtered:this.state.variables}):this.setState({filtered:this.state.variables.filter((function(e){return-1!==Object.values(e).join(" ").toLowerCase().indexOf(t)}))})}}])&&N(t.prototype,n),a&&N(t,a),l}(i.Component),L=Object(u.compose)(Object(a.withSelect)((function(e){var t=e("rank-math");return{title:t.getTitle(),serpTitle:t.getSerpTitle()}})),Object(a.withDispatch)((function(e){return{updateTitle:function(t){e("rank-math").updateSerpTitle(t),e("rank-math").updateTitle(t)}}})))((function(e){var t=e.title,n=e.serpTitle,a=e.updateTitle;return wp.element.createElement("div",{className:"field-group"},wp.element.createElement("label",{htmlFor:"rank-math-editor-title"},Object(r.__)("Title","rank-math")),wp.element.createElement(T,{source:n,min:15,max:60,pixelWidth:580,widthCheckerClass:"title"}),wp.element.createElement("div",{className:"variable-group"},wp.element.createElement(p.TextControl,{id:"rank-math-editor-title",value:t,placeholder:rankMath.assessor.serpData.titleTemplate,help:Object(r.__)("This is what will appear in the first line when this post shows up in the search results.","rank-math"),onChange:a}),wp.element.createElement(U,{exclude:["seo_title","seo_description"],onClick:function(e){return a(t+" %"+e.variable+"%")}})))})),H=n(8),z=n(11),B=Object(u.compose)(Object(a.withSelect)((function(){var e=rankMathEditor.assessor.dataCollector;return{permalink:e.getSlug(),serpPermalink:e.getPermalink()}})),Object(a.withDispatch)((function(){return{updatePermalink:function(e){rankMathEditor.updatePermalink(H.Helpers.sanitizeText(e))},updatePermalinkSanitize:function(e){rankMathEditor.updatePermalinkSanitize(H.Helpers.sanitizeText(e))}}})))((function(e){var t=e.permalink,n=e.serpPermalink,a=e.updatePermalink,o=e.updatePermalinkSanitize;return wp.element.createElement("div",{className:"field-group"},wp.element.createElement("label",{htmlFor:"rank-math-editor-permalink"},Object(r.__)("Permalink","rank-math")),wp.element.createElement(T,{source:Object(z.safeDecodeURIComponent)(n),min:5,max:75}),wp.element.createElement(p.TextControl,{id:"rank-math-editor-permalink",value:rankMath.is_front_page?"/":Object(z.safeDecodeURIComponent)(t),onChange:a,help:rankMath.is_front_page?Object(r.__)("Editing Homepage permalink is not possible.","rank-math"):Object(r.__)("This is the unique URL of this page, displayed below the post title in the search results.","rank-math"),disabled:rankMath.is_front_page?"disabled":"",onBlur:function(e){o(e.target.value)}}))})),G=n(14),K=Object(u.compose)(Object(a.withSelect)((function(e){var t=e("rank-math");return{description:t.getDescription(),serpDescription:t.getSerpDescription()}})),Object(a.withDispatch)((function(e){return{updateDescription:function(t){e("rank-math").updateSerpDescription(t),e("rank-math").updateDescription(t)}}})))((function(e){var t=e.description,n=e.serpDescription,a=e.updateDescription;return wp.element.createElement("div",{className:"field-group"},wp.element.createElement("label",{htmlFor:"rank-math-editor-description"},Object(r.__)("Description","rank-math")),wp.element.createElement(T,{source:n,min:80,max:160,pixelWidth:920,widthCheckerClass:"description"}),wp.element.createElement("div",{className:"variable-group"},wp.element.createElement(p.TextareaControl,{id:"rank-math-editor-description",value:Object(G.a)(t),placeholder:n||rankMath.assessor.serpData.descriptionTemplate,help:Object(r.__)("This is what will appear as the description when this post shows up in the search results.","rank-math"),onChange:a}),wp.element.createElement(U,{exclude:["seo_title","seo_description"],onClick:function(e){return a(t+" %"+e.variable+"%")}})))})),V=Object(u.compose)(Object(a.withSelect)((function(e){return{type:e("rank-math").getSnippetPreviewType()}})),Object(a.withDispatch)((function(e,t){return{updatePreviewType:function(n){e("rank-math").updateSnippetPreviewType(n===t.type?"":n)}}})))((function(e){var t=e.type,n=e.updatePreviewType,r=c()("button button-secondary button-small",{active:"desktop"===t}),a=c()("button button-secondary button-small",{active:"mobile"===t});return wp.element.createElement("div",{className:"rank-math-button-devices alignright"},wp.element.createElement("div",{onClick:function(){return n("desktop")},className:r},wp.element.createElement("i",{className:"rm-icon rm-icon-desktop"})),wp.element.createElement("div",{onClick:function(){return n("mobile")},className:a},wp.element.createElement("i",{className:"rm-icon rm-icon-mobile"})))})),W=n(32),Y=n(19),q=function(e,t){for(var n=[],r=1;r<=e;r++)n.push(wp.element.createElement(p.Dashicon,{key:Math.random(),size:"13",icon:"star-"+t}));return n},Z=Object(a.withSelect)((function(e){var t=e("rank-math").getSchemas();return{schema:Object(s.find)(t,(function(e){return!Object(s.isEmpty)(e.metadata.isPrimary)}))}}))((function(e){var t=e.schema;if(Object(s.isEmpty)(t))return null;var n=Object(s.get)(t,"review.reviewRating",{}),a=n.ratingValue;if(Object(s.isEmpty)(a))return null;Object(s.get)(n,"worstRating",1);var o=Object(s.get)(n,"bestRating",5);return wp.element.createElement("div",{className:"rank-math-rating-preview"},wp.element.createElement("div",{className:"serp-ratings"},q(o,"filled"),function(e,t,n){return e*=100/n,wp.element.createElement("div",{className:"serp-result",style:{width:e+"%"}},q(n,"filled"))}(a,0,o)),wp.element.createElement("span",{className:"serp-rating-label"},Object(r.__)("Rating: ","rank-math")),wp.element.createElement("span",{className:"serp-rating-value"},a))})),$=function(e,t){for(var n=[],r=1;r<=e;r++)n.push(wp.element.createElement(p.Dashicon,{key:Math.random(),size:"13",icon:"star-"+t}));return n},J=Object(a.withSelect)((function(e){var t=e("rank-math").getSchemas();return{schema:Object(s.find)(t,(function(e){return Object(s.includes)(["Event"],e["@type"])}))}}))((function(e){var t=e.schema;if(Object(s.isEmpty)(t))return null;var n=Object(s.get)(t,"review.reviewRating",{}),a=n.ratingValue;if(Object(s.isEmpty)(a))return null;Object(s.get)(n,"worstRating",1);var o=Object(s.get)(n,"bestRating",5);return wp.element.createElement("div",{className:"rank-math-rating-preview"},wp.element.createElement("div",{className:"serp-ratings"},$(o,"filled"),function(e,t,n){return e*=100/n,wp.element.createElement("div",{className:"serp-result",style:{width:e+"%"}},$(n,"filled"))}(a,0,o)),wp.element.createElement("span",{className:"serp-rating-label"},Object(r.__)("Rating: ","rank-math")),wp.element.createElement("span",{className:"serp-rating-value"},a))}));function Q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var X=Object(a.withSelect)((function(e){var t=e("rank-math"),n=t.getRobots();return{title:t.getSerpTitle(),permalink:rankMathEditor.assessor.dataCollector.getPermalink(),description:t.getSerpDescription(),previewType:t.getSnippetPreviewType(),isNoIndex:"noindex"in n,keyword:t.getSelectedKeyword().data.value}}))((function(e){var t,n=e.title,a=e.permalink,o=e.description,i=e.previewType,l=void 0===i?"desktop":i,s=e.isNoIndex,u=e.keyword,p=e.onClick,m=e.showScore,d=void 0===m||m,h=e.showDevices,f=void 0!==h&&h,b=c()("serp-preview",(Q(t={"expanded-preview":""!==l},"".concat(l,"-preview"),""!==l&&f),Q(t,"noindex-preview",s),t)),g=rankMathEditor.assessor.getResearch("slugify")(u);return wp.element.createElement("div",{className:b},wp.element.createElement("div",{className:"serp-preview-title","data-title":Object(r.__)("Preview","rank-math"),"data-desktop":Object(r.__)("Desktop Preview","rank-math"),"data-mobile":Object(r.__)("Mobile Preview","rank-math")},d&&wp.element.createElement(W.a,null)," ",f&&wp.element.createElement(V,null)),wp.element.createElement("div",{className:"serp-preview-wrapper"},wp.element.createElement("div",{className:"serp-preview-bg"},wp.element.createElement("div",{className:"serp-preview-input"},wp.element.createElement("input",{type:"text",value:u||Object(r.__)("Rank Math","rank-math"),disabled:!0}),wp.element.createElement("span",{className:"serp-icon-search"},wp.element.createElement("svg",{focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},wp.element.createElement("path",{d:"M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}))),wp.element.createElement("span",{className:"serp-icon-mic"})),wp.element.createElement("div",{className:"serp-preview-menus"},wp.element.createElement("ul",null,wp.element.createElement("li",{className:"current"},wp.element.createElement("img",{src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgyNHYyNEgweiIvPjxwYXRoIGZpbGw9IiMzNEE4NTMiIGQ9Ik0xMCAydjJhNiA2IDAgMCAxIDYgNmgyYTggOCAwIDAgMC04LTh6Ii8+PHBhdGggZmlsbD0iI0VBNDMzNSIgZD0iTTEwIDRWMmE4IDggMCAwIDAtOCA4aDJjMC0zLjMgMi43LTYgNi02eiIvPjxwYXRoIGZpbGw9IiNGQkJDMDQiIGQ9Ik00IDEwSDJhOCA4IDAgMCAwIDggOHYtMmMtMy4zIDAtNi0yLjY5LTYtNnoiLz48cGF0aCBmaWxsPSIjNDI4NUY0IiBkPSJNMjIgMjAuNTlsLTUuNjktNS42OUE3Ljk2IDcuOTYgMCAwIDAgMTggMTBoLTJhNiA2IDAgMCAxLTYgNnYyYzEuODUgMCAzLjUyLS42NCA0Ljg4LTEuNjhsNS42OSA1LjY5TDIyIDIwLjU5eiIvPjwvc3ZnPgo=",alt:"","data-atf":"1"}),Object(r.__)("All","rank-math")),wp.element.createElement("li",null,wp.element.createElement("svg",{focusable:"false",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),wp.element.createElement("path",{d:"M14 13l4 5H6l4-4 1.79 1.78L14 13zm-6.01-2.99A2 2 0 0 0 8 6a2 2 0 0 0-.01 4.01zM22 5v14a3 3 0 0 1-3 2.99H5c-1.64 0-3-1.36-3-3V5c0-1.64 1.36-3 3-3h14c1.65 0 3 1.36 3 3zm-2.01 0a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h7v-.01h7a1 1 0 0 0 1-1V5z"}))," ",Object(r.__)("Images","rank-math")),wp.element.createElement("li",null,wp.element.createElement("svg",{focusable:"false",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{clipRule:"evenodd",d:"M0 0h24v24H0z",fill:"none"}),wp.element.createElement("path",{clipRule:"evenodd",d:"M10 16.5l6-4.5-6-4.5v9zM5 20h14a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1zm14.5 2H5a3 3 0 0 1-3-3V4.4A2.4 2.4 0 0 1 4.4 2h15.2A2.4 2.4 0 0 1 22 4.4v15.1a2.5 2.5 0 0 1-2.5 2.5z",fillRule:"evenodd"}))," ",Object(r.__)("Videos","rank-math")),wp.element.createElement("li",null,wp.element.createElement("svg",{focusable:"false",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),wp.element.createElement("path",{d:"M12 11h6v2h-6v-2zm-6 6h12v-2H6v2zm0-4h4V7H6v6zm16-7.22v12.44c0 1.54-1.34 2.78-3 2.78H5c-1.64 0-3-1.25-3-2.78V5.78C2 4.26 3.36 3 5 3h14c1.64 0 3 1.25 3 2.78zM19.99 12V5.78c0-.42-.46-.78-1-.78H5c-.54 0-1 .36-1 .78v12.44c0 .42.46.78 1 .78h14c.54 0 1-.36 1-.78V12zM12 9h6V7h-6v2z"}))," ",Object(r.__)("News","rank-math")),wp.element.createElement("li",null,wp.element.createElement("svg",{focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},wp.element.createElement("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}))," ","More")),wp.element.createElement("ul",{className:"menus-right"},wp.element.createElement("li",null,Object(r.__)("Settings","rank-math")),wp.element.createElement("li",null,Object(r.__)("Tools","rank-math")))),wp.element.createElement("div",{className:"serp-preview-result-stats"},Object(r.__)("About 43,700,000 results (0.32 seconds) ","rank-math"))),wp.element.createElement("div",{className:"serp-preview-body",role:"button",tabIndex:0,onClick:function(){p&&p()}},wp.element.createElement("div",{className:"group"},wp.element.createElement("img",{src:rankMath.siteFavIcon,width:"16",height:"16",className:"serp-preview-favicon",alt:""}),wp.element.createElement("div",{className:"serp-url",dangerouslySetInnerHTML:{__html:Object(Y.a)(g,H.Helpers.sanitizeText(Object(z.safeDecodeURIComponent)(a)),75,/-? +/)}})),wp.element.createElement("div",{className:"group"},wp.element.createElement("h5",{className:"serp-title",dangerouslySetInnerHTML:{__html:Object(Y.a)(u,H.Helpers.sanitizeText(n),60)}})),wp.element.createElement(Z,null),wp.element.createElement("div",{className:"group"},wp.element.createElement("div",{className:"serp-description",dangerouslySetInnerHTML:{__html:Object(Y.a)(u,H.Helpers.sanitizeText(o),160)}})),wp.element.createElement(J,null)),wp.element.createElement("div",{className:"serp-preview-noindex"},wp.element.createElement("h3",null,Object(r.__)("Noindex robots meta is enabled","rank-math")),wp.element.createElement("p",null,Object(r.__)("This page will not appear in search results. You can disable noindex in the Advanced tab.","rank-math")))))})),ee=Object(a.withSelect)((function(e){return{isNoIndex:"noindex"in e("rank-math").getRobots()}}))((function(){return wp.element.createElement("div",{className:"rank-math-editor-general"},wp.element.createElement(X,{showScore:!1,showDevices:!0}),wp.element.createElement(L,null),wp.element.createElement(B,null),wp.element.createElement(K,null))})),te=n(9),ne=function(e){var t=c()("rank-math-social-preview","rank-math-social-preview-"+e.network,e.cardType);return wp.element.createElement("div",{className:t},wp.element.createElement("div",{className:"rank-math-social-preview-item"},wp.element.createElement("div",{className:"rank-math-social-preview-meta"},wp.element.createElement("div",{className:"social-profile-image"}),e.children),wp.element.createElement("div",{className:"rank-math-social-preview-item-wrapper"},wp.element.createElement("div",{className:"rank-math-social-preview-image"},wp.element.createElement("img",{className:"rank-math-social-image-thumbnail",src:e.image,alt:""}),e.hasOverlay&&e.imageOverlay&&wp.element.createElement("img",{src:rankMath.overlayImages[e.imageOverlay].url,className:"rank-math-social-preview-image-overlay overlay-position-"+rankMath.overlayImages[e.imageOverlay].position,alt:""})),wp.element.createElement("div",{className:"rank-math-social-preview-caption"},"facebook"===e.network&&wp.element.createElement("h4",{className:"rank-math-social-preview-publisher"},e.siteurl),wp.element.createElement("h3",{className:"rank-math-social-preview-title"},e.title?te.a.swap(e.title):e.serpTitle),wp.element.createElement("p",{className:"rank-math-social-preview-description"},e.description?te.a.swap(e.description):e.serpDescription),"twitter"===e.network&&wp.element.createElement(i.Fragment,null,wp.element.createElement("h4",{className:"rank-math-social-preview-publisher"},wp.element.createElement(p.Dashicon,{icon:"admin-links"}),e.siteurl))))))},re=n(12),ae=function(e){return wp.element.createElement("div",{className:"components-base-control field-group"},wp.element.createElement(re.MediaUpload,{allowedTypes:["image"],multiple:!1,value:e.imageID,render:function(t){var n=t.open;return wp.element.createElement(i.Fragment,null,wp.element.createElement(p.Button,{onClick:n,className:"button",isPrimary:!0},e.imageID>0?Object(r.__)("Replace Image","rank-math"):Object(r.__)("Add Image","rank-math")),e.imageID>0&&wp.element.createElement(p.Button,{className:"button",isDestructive:!0,isLink:!0,onClick:e.removeImage},Object(r.__)("Remove Image","rank-math")))},onSelect:e.updateImage}),wp.element.createElement("p",{className:"components-base-control__help"},Object(r.__)("Upload at least 600x315px image. Recommended size is 1200x630px.","rank-math")),wp.element.createElement("div",{className:"notice notice-warning inline hidden"},wp.element.createElement("p",null,Object(r.__)("Image is smaller than the minimum size, please select a different image.","rank-math"))))};function oe(){var e=rankMath.overlayImages,t=[];return Object.keys(e).forEach((function(n){t.push({label:e[n].name,value:n})})),t}function ie(){return(ie=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var le=Object(u.compose)(Object(a.withSelect)((function(e){var t=e("rank-math"),n=function(){if(t.getFacebookImage())return t.getFacebookImage();var e=t.getFeaturedImage();return Object(s.isUndefined)(e)||""===e?rankMath.defautOgImage:t.getFeaturedImage().source_url}();return{title:t.getFacebookTitle(),description:t.getFacebookDescription(),serpTitle:t.getSerpTitle(),serpDescription:t.getSerpDescription(),author:t.getFacebookAuthor(),image:n,imageID:t.getFacebookImageID(),hasOverlay:t.getFacebookHasOverlay(),imageOverlay:t.getFacebookImageOverlay()}})),Object(a.withDispatch)((function(e){return{removeImage:function(){e("rank-math").updateFacebookImage(""),e("rank-math").updateFacebookImageID(0),e("rank-math").updateFacebookHasOverlay(!1)},updateImage:function(t){e("rank-math").updateFacebookImage(t.url),e("rank-math").updateFacebookImageID(t.id)},updateTitle:function(t){e("rank-math").updateFacebookTitle(t)},updateDescription:function(t){e("rank-math").updateFacebookDescription(t)},updateImageOverlay:function(t){e("rank-math").updateFacebookImageOverlay(t)},toggleOverlay:function(t){e("rank-math").updateFacebookHasOverlay(t)}}})))((function(e){return wp.element.createElement(i.Fragment,null,wp.element.createElement(ne,ie({},e,{network:"facebook",siteurl:rankMath.parentDomain}),wp.element.createElement("div",{className:"social-name"},rankMath.assessor.serpData.authorName),wp.element.createElement("div",{className:"social-time"},wp.element.createElement("span",null,Object(r.__)("2 hrs","rank-math")),wp.element.createElement("span",null,wp.element.createElement(p.Dashicon,{icon:"admin-site",size:"12"})))),wp.element.createElement("div",{className:"notice notice-alt notice-info components-base-control"},wp.element.createElement("p",null,Object(r.__)("Customize the title, description and images of your post used while sharing on Facebook and Twitter.","rank-math")," ",wp.element.createElement("a",{href:"https://rankmath.com/kb/meta-box-social-tab/",target:"_blank",rel:"noreferrer noopener"},Object(r.__)("Read more","rank-math")))),wp.element.createElement(ae,e),wp.element.createElement("div",{className:"field-group"},wp.element.createElement(p.TextControl,{label:Object(r.__)("Title","rank-math"),value:e.title,placeholder:e.serpTitle,onChange:e.updateTitle})),wp.element.createElement("div",{className:"field-group"},wp.element.createElement(p.TextareaControl,{label:Object(r.__)("Description","rank-math"),value:e.description,placeholder:e.serpDescription,onChange:e.updateDescription})),wp.element.createElement("div",{className:"field-group"},wp.element.createElement(p.ToggleControl,{label:Object(r.__)("Add icon overlay to thumbnail","rank-math"),checked:e.hasOverlay,onChange:e.toggleOverlay}),wp.element.createElement("div",{className:e.hasOverlay?"components-base-control":"hidden"},wp.element.createElement(p.SelectControl,{value:e.imageOverlay,label:Object(r.__)("Icon overlay","rank-math"),options:oe(),onChange:e.updateImageOverlay}),wp.element.createElement("div",{className:"notice notice-alt notice-warning"},wp.element.createElement("p",null,Object(r.__)("Please be careful with this option. Although this option will help increase CTR on Facebook, it might get you penalised if over-used.","rank-math"))))))})),ce=Object(u.compose)(Object(a.withSelect)((function(e){var t=e("rank-math");return{country:t.getTwitterAppCountry(),description:t.getTwitterAppDescription(),iphoneName:t.getTwitterAppIphoneName(),iphoneID:t.getTwitterAppIphoneID(),iphoneUrl:t.getTwitterAppIphoneUrl(),ipadName:t.getTwitterAppIpadName(),ipadID:t.getTwitterAppIpadID(),ipadUrl:t.getTwitterAppIpadUrl(),googleplayName:t.getTwitterAppGoogleplayName(),googleplayID:t.getTwitterAppGoogleplayID(),googleplayUrl:t.getTwitterAppGoogleplayUrl()}})),Object(a.withDispatch)((function(e){return{updateAppIphoneName:function(t){e("rank-math").updateTwitterAppIphoneName(t)},updateAppIphoneID:function(t){e("rank-math").updateTwitterAppIphoneID(t)},updateAppIphoneUrl:function(t){e("rank-math").updateTwitterAppIphoneUrl(t)},updateAppIpadName:function(t){e("rank-math").updateTwitterAppIpadName(t)},updateAppIpadID:function(t){e("rank-math").updateTwitterAppIpadID(t)},updateAppIpadUrl:function(t){e("rank-math").updateTwitterAppIpadUrl(t)},updateAppGoogleplayName:function(t){e("rank-math").updateTwitterAppGoogleplayName(t)},updateAppGoogleplayID:function(t){e("rank-math").updateTwitterAppGoogleplayID(t)},updateAppGoogleplayUrl:function(t){e("rank-math").updateTwitterAppGoogleplayUrl(t)},updateAppDescription:function(t){e("rank-math").updateTwitterAppDescription(t)},updateAppCountry:function(t){e("rank-math").updateTwitterAppCountry(t)}}})))((function(e){return wp.element.createElement(i.Fragment,null,wp.element.createElement(p.TextControl,{value:e.description,label:Object(r.__)("App Description","rank-math"),help:Object(r.__)("You can use this as a more concise description than what you may have on the app store. This field has a maximum of 200 characters. (optional)","rank-math"),onChange:e.updateAppDescription}),function(e){return wp.element.createElement(i.Fragment,null,wp.element.createElement(p.TextControl,{value:e.iphoneName,label:Object(r.__)("iPhone App Name","rank-math"),help:Object(r.__)("The name of your app to show.","rank-math"),onChange:e.updateAppIphoneName}),wp.element.createElement(p.TextControl,{value:e.iphoneID,label:Object(r.__)("iPhone App ID","rank-math"),help:Object(r.__)("The numeric representation of your app ID in the App Store.","rank-math"),onChange:e.updateAppIphoneID}),wp.element.createElement(p.TextControl,{value:e.iphoneUrl,label:Object(r.__)("iPhone App URL","rank-math"),help:Object(r.__)("Your app's custom URL scheme (must include ://).","rank-math"),onChange:e.updateAppIphoneUrl}))}(e),function(e){return wp.element.createElement(i.Fragment,null,wp.element.createElement(p.TextControl,{value:e.ipadName,label:Object(r.__)("iPad App Name","rank-math"),help:Object(r.__)("The name of your app to show.","rank-math"),onChange:e.updateAppIpadName}),wp.element.createElement(p.TextControl,{value:e.ipadID,label:Object(r.__)("iPad App ID","rank-math"),help:Object(r.__)("The numeric representation of your app ID in the App Store.","rank-math"),onChange:e.updateAppIpadID}),wp.element.createElement(p.TextControl,{value:e.ipadUrl,label:Object(r.__)("iPad App URL","rank-math"),help:Object(r.__)("Your app's custom URL scheme (must include ://).","rank-math"),onChange:e.updateAppIpadUrl}))}(e),function(e){return wp.element.createElement(i.Fragment,null,wp.element.createElement(p.TextControl,{value:e.googleplayName,label:Object(r.__)("Google Play App Name","rank-math"),help:Object(r.__)("The name of your app to show.","rank-math"),onChange:e.updateAppGoogleplayName}),wp.element.createElement(p.TextControl,{value:e.googleplayID,label:Object(r.__)("Google Play App ID","rank-math"),help:Object(r.__)("Your app ID in the Google Play (.i.e. com.android.app)","rank-math"),onChange:e.updateAppGoogleplayID}),wp.element.createElement(p.TextControl,{value:e.googleplayUrl,label:Object(r.__)("Google Play App URL","rank-math"),help:Object(r.__)("Your app's custom URL scheme (must include ://).","rank-math"),onChange:e.updateAppGoogleplayUrl}))}(e),wp.element.createElement(p.TextControl,{value:e.country,label:Object(r.__)("App Country","rank-math"),help:Object(r.__)("If your application is not available in the US App Store, you must set this value to the two-letter country code for the App Store that contains your application.","rank-math"),onChange:e.updateAppCountry}))})),se=Object(u.compose)(Object(a.withSelect)((function(e){var t=e("rank-math");return{url:t.getTwitterPlayerUrl(),size:t.getTwitterPlayerSize(),stream:t.getTwitterPlayerStream(),ctype:t.getTwitterPlayerStreamCtype()}})),Object(a.withDispatch)((function(e){return{updatePlayerUrl:function(t){e("rank-math").updateTwitterPlayerUrl(t)},updatePlayerSize:function(t){e("rank-math").updateTwitterPlayerSize(t)},updatePlayerStreamUrl:function(t){e("rank-math").updateTwitterPlayerStreamUrl(t)},updatePlayerStreamCtype:function(t){e("rank-math").updateTwitterPlayerStreamCtype(t)}}})))((function(e){return wp.element.createElement(i.Fragment,null,wp.element.createElement(p.TextControl,{value:e.url,label:Object(r.__)("Player URL","rank-math"),help:Object(r.__)("HTTPS URL to iFrame player. This must be a HTTPS URL which does not generate active mixed content warnings in a web browser. The audio or video player must not require plugins such as Adobe Flash.","rank-math"),onChange:e.updatePlayerUrl}),wp.element.createElement(p.TextControl,{value:e.size,label:Object(r.__)("Player Size","rank-math"),help:Object(r.__)("iFrame width and height, specified in pixels in the following format: 600x400.","rank-math"),onChange:e.updatePlayerSize}),wp.element.createElement(p.TextControl,{value:e.stream,label:Object(r.__)("Stream URL","rank-math"),help:Object(r.__)("Optional URL to raw stream that will be rendered in Twitter’s mobile applications directly. If provided, the stream must be delivered in the MPEG-4 container format (the .mp4 extension). The container can store a mix of audio and video with the following codecs: Video: H.264, Baseline Profile (BP), Level 3.0, up to 640 x 480 at 30 fps. Audio: AAC, Low Complexity Profile (LC).","rank-math"),onChange:e.updatePlayerStreamUrl}),wp.element.createElement(p.TextControl,{value:e.ctype,label:Object(r.__)("Stream Content Type","rank-math"),help:Object(r.__)("The MIME type/subtype combination that describes the content contained in twitter:player:stream. Takes the form specified in RFC 6381. Currently supported content_type values are those defined in RFC 4337 (MIME Type Registration for MP4).","rank-math"),onChange:e.updatePlayerStreamCtype}))}));function ue(){return(ue=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var pe=Object(u.compose)(Object(a.withSelect)((function(e){var t=e("rank-math"),n=t.getTwitterUseFacebook(),r=function(){if(n&&t.getFacebookImage())return t.getFacebookImage();if(t.getTwitterImage())return t.getTwitterImage();var e=t.getFeaturedImage();return Object(s.isUndefined)(e)||""===e?rankMath.defautOgImage:t.getFeaturedImage().source_url}();return{useFacebook:n,cardType:t.getTwitterCardType(),title:n?t.getFacebookTitle():t.getTwitterTitle(),description:n?t.getFacebookDescription():t.getTwitterDescription(),serpTitle:t.getSerpTitle(),serpDescription:t.getSerpDescription(),author:t.getTwitterAuthor(),image:r,imageID:n?t.getFacebookImageID():t.getTwitterImageID(),hasOverlay:n?t.getFacebookHasOverlay():t.getTwitterHasOverlay(),imageOverlay:n?t.getFacebookImageOverlay():t.getTwitterImageOverlay()}})),Object(a.withDispatch)((function(e){return{removeImage:function(){e("rank-math").updateTwitterImage(""),e("rank-math").updateTwitterImageID(0),e("rank-math").updateTwitterHasOverlay(!1)},updateImage:function(t){e("rank-math").updateTwitterImage(t.url),e("rank-math").updateTwitterImageID(t.id)},updateTitle:function(t){e("rank-math").updateTwitterTitle(t)},updateDescription:function(t){e("rank-math").updateTwitterDescription(t)},updateImageOverlay:function(t){e("rank-math").updateTwitterImageOverlay(t)},toggleUseFacebook:function(t){e("rank-math").updateTwitterUseFacebook(t)},updateCardType:function(t){e("rank-math").updateTwitterCardType(t)},toggleOverlay:function(t){e("rank-math").updateTwitterHasOverlay(t)}}})))((function(e){return wp.element.createElement(i.Fragment,null,wp.element.createElement(ne,ue({},e,{network:"twitter",siteurl:rankMath.parentDomain,classes:e.cardType,description:Object(s.truncate)(e.description?e.description:e.serpDescription,{length:240,separator:" "})}),wp.element.createElement("div",{className:"social-name"},rankMath.assessor.serpData.authorName,wp.element.createElement("span",{className:"social-username"},"@",e.author),wp.element.createElement("span",{className:"social-time"},Object(r.__)("2h","rank-math"))),wp.element.createElement("div",{className:"social-text"},Object(r.__)("The card for your website will look little something like this!","rank-math"))),wp.element.createElement("div",{className:"field-group"},wp.element.createElement(p.ToggleControl,{label:Object(r.__)("Use Data from Facebook Tab","rank-math"),checked:e.useFacebook,onChange:e.toggleUseFacebook})),wp.element.createElement("div",{className:"field-group"},wp.element.createElement(p.SelectControl,{value:e.cardType,label:Object(r.__)("Card Type","rank-math"),options:[{value:"summary_large_image",label:Object(r.__)("Summary Card with Large Image","rank-math")},{value:"summary_card",label:Object(r.__)("Summary Card","rank-math")},{value:"app",label:Object(r.__)("App Card","rank-math")},{value:"player",label:Object(r.__)("Player Card","rank-math")}],onChange:e.updateCardType})),"player"===e.cardType&&wp.element.createElement("div",{className:"notice notice-alt notice-info"},wp.element.createElement("p",null,Object(r.sprintf)(Object(r.__)("Video clips and audio streams have a special place on the Twitter platform thanks to the Player Card. Player Cards must be submitted for approval before they can be used. More information: ","rank-math"))," ",wp.element.createElement("a",{href:"https://dev.twitter.com/cards/types/player",target:"blank"},"https://dev.twitter.com/cards/types/player"))),"app"===e.cardType&&wp.element.createElement("div",{className:"notice notice-alt notice-info"},wp.element.createElement("p",null,Object(r.sprintf)(Object(r.__)("The App Card is a great way to represent mobile applications on Twitter and to drive installs. More information: ","rank-math"))," ",wp.element.createElement("a",{href:"https://dev.twitter.com/cards/types/app",target:"blank"}," https://dev.twitter.com/cards/types/app"))),!e.useFacebook&&"app"!==e.cardType&&wp.element.createElement(ae,e),!e.useFacebook&&"app"!==e.cardType&&wp.element.createElement("div",{className:"field-group"},wp.element.createElement(p.TextControl,{label:Object(r.__)("Title","rank-math"),value:e.title,placeholder:e.serpTitle,onChange:e.updateTitle})),!e.useFacebook&&"app"!==e.cardType&&wp.element.createElement("div",{className:"field-group"},wp.element.createElement(p.TextareaControl,{label:Object(r.__)("Description","rank-math"),value:e.description,placeholder:e.serpDescription,onChange:e.updateDescription})),!e.useFacebook&&"app"!==e.cardType&&wp.element.createElement("div",{className:"field-group"},wp.element.createElement(p.ToggleControl,{label:Object(r.__)("Add icon overlay to thumbnail","rank-math"),checked:e.hasOverlay,onChange:e.toggleOverlay}),wp.element.createElement("div",{className:e.hasOverlay?"components-base-control":"hidden"},wp.element.createElement(p.SelectControl,{value:e.imageOverlay,label:Object(r.__)("Icon overlay","rank-math"),options:oe(),onChange:e.updateImageOverlay}),wp.element.createElement("div",{className:"notice notice-alt notice-warning"},wp.element.createElement("p",null,Object(r.__)("Please be careful with this option. Although this option will help increase CTR on Twitter, it might get you penalised if over-used.","rank-math"))))),"player"===e.cardType&&wp.element.createElement(se,null),"app"===e.cardType&&wp.element.createElement(ce,null))})),me=function(){return wp.element.createElement(i.Fragment,null,wp.element.createElement(p.TabPanel,{className:"rank-math-editor-social",activeClass:"is-active",tabs:[{name:"facebook",title:wp.element.createElement(i.Fragment,null,wp.element.createElement(p.Dashicon,{icon:"facebook-alt"}),Object(r.__)("Facebook","rank-math")),view:le,className:"button-facebook"},{name:"twitter",title:wp.element.createElement(i.Fragment,null,wp.element.createElement(p.Dashicon,{icon:"twitter"}),Object(r.__)("Twitter","rank-math")),view:pe,className:"button-twitter"}]},(function(e){return Object(i.createElement)(e.view)})))},de=n(2),he=n.n(de);function fe(e){return(fe="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})(e)}function be(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ge(e,t){return(ge=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function we(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ke(e);if(t){var a=ke(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return ye(this,n)}}function ye(e,t){return!t||"object"!==fe(t)&&"function"!=typeof t?ve(e):t}function ve(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ke(e){return(ke=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Oe=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ge(e,t)}(l,e);var t,n,a,o=we(l);function l(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(e=o.call(this))._handleRef=e._handleRef.bind(ve(e)),e}return t=l,(n=[{key:"componentDidMount",value:function(){var e=he()(this.component),t=e.find(".stars a"),n=e.find(".smiley");t.on("mouseenter",(function(){var e=he()(this).index();t.removeClass("highlighted"),t.slice(0,e+1).addClass("highlighted"),e<2?n.removeClass("normal happy").addClass("angry"):e>3?n.removeClass("normal angry").addClass("happy"):n.removeClass("happy angry").addClass("normal")}))}},{key:"shouldComponentUpdate",value:function(){return!1}},{key:"_handleRef",value:function(e){this.component=e}},{key:"render",value:function(){for(var e=this,t=[],n=1;n<=5;n++)t.push(wp.element.createElement("a",{key:n,href:"https://s.rankmath.com/wpreview",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"dashicons dashicons-star-filled"})));return wp.element.createElement("div",{className:"ask-review",ref:this._handleRef},wp.element.createElement("h3",null,Object(r.__)("Rate Rank Math SEO","rank-math")),wp.element.createElement("p",null,wp.element.createElement(C,{tags:"em"},Object(r.__)("Hey, we noticed you are using Rank Math SEO plugin for more than 2 weeks –{{em}}that's awesome!{{/em}} Could you please do us a BIG favor and give it a 5-star rating on WordPress to help us spread the word and boost our motivation?","rank-math"))),wp.element.createElement("div",{className:"stars-wrapper"},wp.element.createElement("div",{className:"face"},wp.element.createElement("div",{className:"smiley happy"},wp.element.createElement("div",{className:"eyes"},wp.element.createElement("div",{className:"eye"}),wp.element.createElement("div",{className:"eye"})),wp.element.createElement("div",{className:"mouth"}))),wp.element.createElement("div",{className:"stars"},t)),wp.element.createElement(p.CheckboxControl,{label:wp.element.createElement(i.Fragment,null,wp.element.createElement("span",null,Object(r.__)("I already did. Please don't show this message again.","rank-math"))),onChange:function(){return e.alreadyReviewed()}}))}},{key:"alreadyReviewed",value:function(){he.a.ajax({url:rankMath.ajaxurl,data:{action:"rank_math_already_reviewed",security:rankMath.security}}),rankMath.pluginReviewed=!0;var e=he()(this.component);e.animate({opacity:.01},1500,(function(){var t=he()(".rank-math-editor > .components-tab-panel__tabs > button");t.first().click(),t.last().remove(),e.remove()}))}}])&&be(t.prototype,n),a&&be(t,a),l}(i.Component),_e=Object(p.withFilters)("rankMath.analytics.reportButton")((function(){return null})),je=Object(u.compose)(Object(a.withSelect)((function(e){return{isOpen:e("rank-math").isSnippetEditorOpen()}})),Object(a.withDispatch)((function(e,t){return{toggleEditor:function(){e("rank-math").toggleSnippetEditor(!t.isOpen)}}})))((function(e){var t=e.isOpen,n=e.initialTab,a=void 0===n?"":n,o=e.toggleEditor,l=[{name:"general",title:wp.element.createElement(i.Fragment,null,wp.element.createElement("i",{className:"rm-icon rm-icon-settings"}),wp.element.createElement("span",null,Object(r.__)("General","rank-math"))),view:ee},{name:"social",title:wp.element.createElement(i.Fragment,null,wp.element.createElement("i",{className:"rm-icon rm-icon-social"}),wp.element.createElement("span",null,Object(r.__)("Social","rank-math"))),view:me}];return rankMath.showReviewTab&&!1===rankMath.pluginReviewed&&l.push({name:"review",className:"review-tab",title:wp.element.createElement(i.Fragment,null,wp.element.createElement("i",{className:"rm-icon rm-icon-heart-filled"})),view:Oe}),wp.element.createElement(i.Fragment,null,wp.element.createElement(p.Button,{isPrimary:!0,className:"rank-math-edit-snippet",onClick:o},Object(r.__)("Edit Snippet","rank-math")),wp.element.createElement(_e,null),t&&wp.element.createElement(p.Modal,{title:"Preview Snippet Editor",closeButtonLabel:Object(r.__)("Close","rank-math"),shouldCloseOnClickOutside:!1,onRequestClose:o,className:"rank-math-modal",overlayClassName:"rank-math-modal-overlay"},wp.element.createElement(p.TabPanel,{className:"rank-math-tabs rank-math-editor",activeClass:"is-active",initialTabName:a,tabs:l},(function(e){return Object(i.createElement)(e.view)}))))})),Ee=function(){return wp.element.createElement(p.PanelBody,{initialOpen:!0},wp.element.createElement(p.BaseControl,{className:"rank-math-social"},wp.element.createElement("span",{className:"components-base-control__label"},Object(r.__)("Social Media Preview","rank-math")),wp.element.createElement("p",{className:"cmb2-metabox-description"},Object(r.__)("Here you can view and edit the thumbnail, title and description that will be displayed when your site is shared on social media.","rank-math")),wp.element.createElement("p",{className:"cmb2-metabox-description"},Object(r.__)("Click on the button below to view and edit the preview.","rank-math")),wp.element.createElement(je,{buttonLabel:Object(r.__)("Preview & Edit Social Media","rank-math"),initialTab:"social"})))},Te=Object(u.withInstanceId)((function(e){var t=e.className,n=e.instanceId,r=e.children,a="rank-math-tooltip-"+n,o=c()("rank-math-tooltip",t);return wp.element.createElement("span",{className:o},wp.element.createElement("input",{id:a,type:"checkbox"}),wp.element.createElement("label",{htmlFor:a,className:"dashicons-before dashicons-editor-help"}),wp.element.createElement("div",{className:"rank-math-tooltip-content"},r))})),Se=n(29);function Ie(e){return(Ie="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})(e)}function Pe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ce(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function De(e,t){return(De=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ne(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Re(e);if(t){var a=Re(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return xe(this,n)}}function xe(e,t){return!t||"object"!==Ie(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Re(e){return(Re=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ae=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&De(e,t)}(l,e);var t,n,a,o=Ne(l);function l(){return Pe(this,l),o.apply(this,arguments)}return t=l,(n=[{key:"shouldComponentUpdate",value:function(e){return e.isLoaded!==this.props.isLoaded||e.selectedKeyword.index!==this.props.selectedKeyword.index||e.isRefreshing!==this.props.isRefreshing}},{key:"render",value:function(){var e=this,t=rankMathEditor.getSelectedKeyword();return this.results=rankMathEditor.resultManager.getResult(t),this.isPrimary=0===this.props.selectedKeyword.index,Object(s.isUndefined)(this.results)?null:Object.keys(this.getGroups()).map((function(t){return e.renderGroup(t)}))}},{key:"renderGroup",value:function(e){this.errors=0;var t=this.renderGroupItems(e);return wp.element.createElement(p.PanelBody,{key:"panel-"+e,title:wp.element.createElement(i.Fragment,null,this.getGroupTitle(e),0===this.errors?wp.element.createElement("span",{className:"rank-math-group-score test-ok"},Object(r.__)("All Good","rank-math")):wp.element.createElement("span",{className:"rank-math-group-score test-fail"},this.errors," ",Object(r.__)("Errors","rank-math"))),initialOpen:"basic"===e,className:"rank-math-checklist"},wp.element.createElement("ul",null,t))}},{key:"renderGroupItems",value:function(e){var t=this,n=this.results.results,r=this.getGroupItems(e);return Object.keys(r).map((function(e){if(Object(s.isUndefined)(n[e])||!t.isPrimary&&r[e])return!1;var a=n[e],o=c()("seo-check-"+e,{"test-ok":a.hasScore(),"test-fail":!a.hasScore()});return a.hasScore()&&["contentHasAssets","lengthContent","keywordDensity"].includes(e)&&(o+=" "+Object(Se.a)(a.getScore(),a.getMaxScore())),!1===a.hasScore()&&(t.errors+=1),wp.element.createElement("li",{key:e,className:o},wp.element.createElement("span",{dangerouslySetInnerHTML:{__html:a.getText()}}),a.hasTooltip()?wp.element.createElement(Te,null,a.getTooltip()):null)}))}},{key:"getGroupItems",value:function(e){return{basic:{keywordInTitle:!0,keywordInMetaDescription:!0,keywordInPermalink:!0,keywordIn10Percent:!0,keywordInContent:!1,lengthContent:!1},advanced:{keywordInSubheadings:!1,keywordInImageAlt:!0,keywordDensity:!1,lengthPermalink:!1,linksHasExternals:!1,linksNotAllExternals:!1,linksHasInternal:!1,keywordNotUsed:!0},"title-readability":{titleStartWithKeyword:!0,titleSentiment:!1,titleHasPowerWords:!1,titleHasNumber:!1},"content-readability":{contentHasTOC:!1,contentHasShortParagraphs:!1,contentHasAssets:!1}}[e]}},{key:"getGroupTitle",value:function(e){return this.getGroups()[e]}},{key:"getGroups",value:function(){return{basic:Object(r.__)("Basic SEO","rank-math"),advanced:Object(r.__)("Additional","rank-math"),"title-readability":Object(r.__)("Title Readability","rank-math"),"content-readability":Object(r.__)("Content Readability","rank-math")}}}])&&Ce(t.prototype,n),a&&Ce(t,a),l}(i.Component),Me=Object(a.withSelect)((function(e){var t=e("rank-math");return{isLoaded:t.isLoaded(),isRefreshing:t.isRefreshing(),selectedKeyword:t.getSelectedKeyword()}}))(Ae),Fe=n(22),Ue=Object(a.withSelect)((function(e){return{isPro:e("rank-math").isPro()}}))((function(e){return e.isPro?rankMath.isUserRegistered?wp.element.createElement(p.Notice,{status:"warning",isDismissible:!1},wp.element.createElement(C,{components:{link:wp.element.createElement("a",{href:"https://rankmath.com/kb/score-100-in-tests/",target:"_blank",rel:"noopener noreferrer"})}},Object(r.__)("Read here to {{link}}Score 100/100{{/link}} ","rank-math"))):wp.element.createElement(p.Notice,{status:"warning",isDismissible:!1},wp.element.createElement(C,{components:{link:wp.element.createElement("a",{href:rankMath.adminurl+"?page=rank-math&view=help",target:"_blank",rel:"noopener noreferrer"})}},Object(r.__)("Activate your account by {{link}}connecting to Rank Math!{{/link}} ","rank-math"))):wp.element.createElement(p.Notice,{status:"warning",isDismissible:!1},wp.element.createElement(C,{components:{link:wp.element.createElement("a",{href:rankMath.assessor.futureSeo,target:"_blank",rel:"noopener noreferrer"}),strong:wp.element.createElement("strong",null)}},Object(r.__)("Want more? {{link}}{{strong}}Upgrade today to the PRO{{/strong}}{{/link}} version.","rank-math")))})),Le=n(28),He=n.n(Le);function ze(e){return(ze="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})(e)}function Be(){return(Be=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Ge(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ke(e,t){return(Ke=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ve(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=qe(e);if(t){var a=qe(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return We(this,n)}}function We(e,t){return!t||"object"!==ze(t)&&"function"!=typeof t?Ye(e):t}function Ye(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qe(e){return(qe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ze=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ke(e,t)}(o,e);var t,n,r,a=Ve(o);function o(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),(t=a.call(this,e))._handleRef=t._handleRef.bind(Ye(t)),t}return t=o,(n=[{key:"componentDidMount",value:function(){var e=this;this.tagify=new He.a(this.component,this.props.settings||{}),this.props.settings.callbacks.setup&&setTimeout((function(){e.props.settings.callbacks.setup.call(e.tagify),e.tagify.DOM.input.setAttribute("contenteditable",!0),e.tagify.DOM.input.addEventListener("blur",e.props.settings.callbacks.blur)}),100)}},{key:"shouldComponentUpdate",value:function(e){return this.tagify.settings.whitelist=e.settings.whitelist,e.showDropdown&&this.tagify.dropdown.show.call(this.tagify,e.showDropdown),!1===e.showDropdown&&this.tagify.dropdown.hide.call(this.tagify,!0),!1}},{key:"_handleRef",value:function(e){this.component=e}},{key:"render",value:function(){var e={ref:this._handleRef,name:this.props.name,autoFocus:this.props.autofocus,className:this.props.className,placeholder:this.props.placeholder};return"textarea"===this.props.mode?wp.element.createElement("textarea",Be({},e,{defaultValue:this.props.initialValue})):wp.element.createElement("input",Be({},e,{defaultValue:this.props.initialValue}))}},{key:"toArray",value:function(){return this.tagify.value.map((function(e){return e.value}))}},{key:"toString",value:function(){return this.toArray().join(",")}},{key:"queryTags",value:function(){return this.tagify.DOM.scope.querySelectorAll("tag")}}])&&Ge(t.prototype,n),r&&Ge(t,r),o}(i.Component);function $e(e){return($e="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})(e)}function Je(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Qe(e,t){return(Qe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Xe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=nt(e);if(t){var a=nt(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return et(this,n)}}function et(e,t){return!t||"object"!==$e(t)&&"function"!=typeof t?tt(e):t}function tt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nt(e){return(nt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var rt=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qe(e,t)}(l,e);var t,n,a,o=Xe(l);function l(e){var t,n=e.keywords;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=o.call(this)).state={},t.request=null,t.hasAdded=!1,t.clickCount=0,t.singleClickTimer=null,t.tagifyField=Object(i.createRef)(),t.keywords=n,t.hideDropdown=t.hideDropdown.bind(tt(t)),window.rankMathEditor.focusKeywordField=tt(t),t}return t=l,(n=[{key:"render",value:function(){var e=this,t={add:this.onAdd.bind(this),remove:this.onRemove.bind(this),edit:this.onEdit.bind(this),click:this.onClick.bind(this),setup:this.onSetup.bind(this),blur:this.hideDropdown};rankMath.isUserRegistered&&(t.input=Object(s.debounce)(this.onInput.bind(this),300));var n={addTagOnBlur:!0,maxTags:rankMath.maxTags,whitelist:this.state.whitelist||[],transformTag:function(t){t.value=e.stripTags(t.value)},templates:{tag:function(t,n){return"<tag title='".concat(e.stripTags(t),"'\n contenteditable='false'\n spellcheck='false'\n class='tagify__tag ").concat(n.class?n.class:"","'\n ").concat(e.getAttributes_esc(n),">\n <x title='' class='tagify__tag__removeBtn' role='button' aria-label='remove tag'></x>\n <div>\n <span class='tagify__tag-text'>").concat(e.stripTags(t),"</span>\n </div>\n </tag>")}},callbacks:t};return this.setKeywordsClasses(),wp.element.createElement(Ze,{ref:this.tagifyField,mode:"input",settings:n,showDropdown:this.state.showDropdown,initialValue:this.keywords,placeholder:Object(r.__)("Example: Rank Math SEO","rank-math")})}},{key:"shouldComponentUpdate",value:function(e,t){return this.state.showDropdown!==t.showDropdown||e.isRefreshing!==this.props.isRefreshing||e.keywords!==this.props.keywords}},{key:"getScoreClass",value:function(e){return 80<e?"good-fk":50<e?"ok-fk":"bad-fk"}},{key:"setKeywordsClasses",value:function(){var e=this;if(null!==this.tagifyField.current){var t=this.tagifyField.current,n=t.tagify.value;if(n.length>0){var r=t.queryTags();n.map((function(t,n){var a=rankMathEditor.resultManager.getScore(H.Helpers.removeDiacritics(t.value));r[n].classList.remove("ok-fk","good-fk","bad-fk"),r[n].classList.add(e.getScoreClass(a))}))}}}},{key:"onSetup",value:function(){this.selectFirstKeyword(),this.setKeywordsClasses()}},{key:"onInput",value:function(e){var t=this;(e=Object(s.has)(e.detail,"value")?e.detail.value:e.detail.data.value).length<2||(this.hideDropdown(),this.hasAdded?this.hasAdded=!1:this.request=he.a.ajax({url:rankMath.keywordsApi.url,data:{keyword:e,locale:rankMath.locale},success:function(n){if(t.hasAdded)t.hasAdded=!1;else{var r=he.a.map(n,(function(e){return e}));t.setState({whitelist:r,showDropdown:e})}}}))}},{key:"onAdd",value:function(e){this.hasAdded=!0,0===e.detail.index&&this.props.updateSelectedKeyword(e.detail,this.tagifyField.current),this.updateKeywords()}},{key:"onRemove",value:function(e){this.hideDropdown(),0===e.detail.index&&this.onSetup(),rankMathEditor.resultManager.deleteResult(e.detail.data.value),this.selectFirstKeyword(),this.updateKeywords()}},{key:"onClick",value:function(e){var t=this;this.clickCount++,1===this.clickCount?this.singleClickTimer=setTimeout((function(){t.clickCount=0,t.props.updateSelectedKeyword(e.detail,t.tagifyField.current)}),400):2===this.clickCount&&(clearTimeout(this.singleClickTimer),this.clickCount=0)}},{key:"onEdit",value:function(){this.hasAdded=!0,this.updateKeywords()}},{key:"selectFirstKeyword",value:function(){var e=this.tagifyField.current,t=e.tagify.value,n={tag:"",index:0,data:{value:""}};t.length>0&&(n={tag:e.queryTags()[0],index:0,data:{value:t[0].value}}),this.props.updateSelectedKeyword(n,e)}},{key:"updateKeywords",value:function(){var e=this.tagifyField.current,t=this.stripTags(e.toString());this.props.updateKeywords(t)}},{key:"hideDropdown",value:function(){null!==this.request&&(this.request.abort(),this.request=null),this.setState({whitelist:[],showDropdown:!1})}},{key:"getAttributes_esc",value:function(e){if("[object Object]"!=Object.prototype.toString.call(e))return"";var t,n,r=Object.keys(e),a="";for(n=r.length;n--;)"class"!=(t=r[n])&&e.hasOwnProperty(t)&&e[t]&&(a+=" "+t+(e[t]?'="'.concat(this.stripTags(e[t]),'"'):""));return a}},{key:"stripTags",value:function(e){return e=he()("<textarea />").html(e).text(),((new DOMParser).parseFromString(e,"text/html").body.textContent||"").replace(/["<>]/g,"")||""}}])&&Je(t.prototype,n),a&&Je(t,a),l}(i.Component),at=Object(u.compose)(Object(a.withSelect)((function(e){var t=e("rank-math");return{keywords:t.getKeywords(),isRefreshing:t.isRefreshing()}})),Object(a.withDispatch)((function(e){return{updateKeywords:function(t){e("rank-math").updateKeywords(t)},updateSelectedKeyword:function(t,n){n.queryTags().forEach((function(e){e.classList.remove("selected")})),""!==t.tag&&t.tag.classList.add("selected"),e("rank-math").updateSelectedKeyword(t)}}})))(rt),ot=Object(u.compose)(Object(a.withSelect)((function(e){var t=e("rank-math");return{isLoaded:t.isLoaded(),isPillarContent:t.getPillarContent()}})),Object(a.withDispatch)((function(e){return{togglePillarContent:function(t){e("rank-math").updatePillarContent(t)}}})))((function(e){var t=e.isLoaded,n=e.isPillarContent,a=e.togglePillarContent;return t?wp.element.createElement(p.PanelBody,{initialOpen:!0,className:"rank-math-focus-keyword"},wp.element.createElement("h2",{className:"components-panel__body-title"},Object(r.__)("Focus Keyword","rank-math"),wp.element.createElement(Te,null,wp.element.createElement(C,{components:{link:wp.element.createElement("a",{href:rankMath.assessor.hundredScoreLink,target:"_blank",rel:"noopener noreferrer"})}},Object(r.__)("Insert keywords you want to rank for. Try to {{link}}attain 100/100 points{{/link}} for better chances of ranking.","rank-math")))),!rankMath.isPro&&wp.element.createElement("a",{href:"https://rankmath.com/pricing/?utm_source=Plugin&utm_medium=Gutenberg%20General%20Tab%20Trends&utm_campaign=WP",title:Object(r.__)("Google Trends","rank-math"),target:"_blank",rel:"noreferrer noopener",id:"rank-math-compare-keywords-trigger",className:"button button-icon rank-math-compare-keywords-trigger",dangerouslySetInnerHTML:{__html:rankMath.trendsIcon}}),wp.element.createElement(Fe.a.Slot,null,(function(e){return e.length>0?e:[]})),wp.element.createElement("div",null,wp.element.createElement(at,null)),wp.element.createElement(Ue,null),wp.element.createElement(p.CheckboxControl,{className:"pillar-content",label:wp.element.createElement(i.Fragment,null,wp.element.createElement("strong",null,Object(r.__)("This post is Pillar Content","rank-math")),wp.element.createElement(Te,null,Object(r.__)("Select one or more Pillar Content posts for each post tag or category to show them in the Link Suggestions meta box.","rank-math"))),checked:n,onChange:a})):null})),it=n(23),lt=Object(a.withDispatch)((function(e){return{toggleEditor:function(){e("rank-math").toggleSnippetEditor(!0)}}}))((function(e){var t=e.toggleEditor;return wp.element.createElement(i.Fragment,null,wp.element.createElement(p.PanelBody,{initialOpen:!0},wp.element.createElement(X,{onClick:t}),wp.element.createElement(je,null),wp.element.createElement(it.a.Slot,null,(function(e){return e.length>0?e:[]}))),wp.element.createElement(ot,null),rankMath.canUser.analysis&&wp.element.createElement(Me,null))})),ct=function(e,t,n){return!1===n?delete e[t]:e[t]=!0,e},st=Object(u.compose)(Object(a.withSelect)((function(e){var t=e("rank-math").getRobots();return{robots:t,isRobotIndex:"index"in t,isRobotNoIndex:"noindex"in t,isRobotNoFollow:"nofollow"in t,isRobotNoArchive:"noarchive"in t,isRobotNoImageIndex:"noimageindex"in t,isRobotNoSnippet:"nosnippet"in t}})),Object(a.withDispatch)((function(e,t){var n=t.robots;return{updateRobots:function(t,r){n=ct(n,t,r),"index"===t&&(n=ct(n,"noindex",!r)),"noindex"===t&&(n=ct(n,"index",!r)),e("rank-math").updateRobots(n)}}})))((function(e){return wp.element.createElement(p.BaseControl,{className:"rank-math-robots",id:"rank-math-robots",label:Object(r.__)("Robots Meta","rank-math")},wp.element.createElement("div",{className:"rank-math-robots-list"},wp.element.createElement(p.CheckboxControl,{className:"robot-choice-index",label:wp.element.createElement(i.Fragment,null,Object(r.__)("Index","rank-math"),wp.element.createElement(Te,null,Object(r.__)("Instructs search engines to index and show these pages in the search results","rank-math"))),checked:e.isRobotIndex,onChange:function(t){return e.updateRobots("index",t)}}),wp.element.createElement(p.CheckboxControl,{className:"robot-choice-noindex",label:wp.element.createElement(i.Fragment,null,Object(r.__)("No Index","rank-math"),wp.element.createElement(Te,null,Object(r.__)("Prevents pages from being indexed and displayed in search engine result pages","rank-math"))),checked:e.isRobotNoIndex,onChange:function(t){return e.updateRobots("noindex",t)}}),wp.element.createElement(p.CheckboxControl,{className:"robot-choice-nofollow",label:wp.element.createElement(i.Fragment,null,Object(r.__)("Nofollow","rank-math"),wp.element.createElement(Te,null,Object(r.__)("Prevents search engines from following links on the pages","rank-math"))),checked:e.isRobotNoFollow,onChange:function(t){return e.updateRobots("nofollow",t)}}),wp.element.createElement(p.CheckboxControl,{className:"robot-choice-noarchive",label:wp.element.createElement(i.Fragment,null,Object(r.__)("No Archive","rank-math"),wp.element.createElement(Te,null,Object(r.__)("Prevents search engines from showing Cached links for pages","rank-math"))),checked:e.isRobotNoArchive,onChange:function(t){return e.updateRobots("noarchive",t)}}),wp.element.createElement(p.CheckboxControl,{className:"robot-choice-noimageindex",label:wp.element.createElement(i.Fragment,null,Object(r.__)("No Image Index","rank-math"),wp.element.createElement(Te,null,Object(r.__)("Lets you specify that you do not want your pages to appear as the referring page for images that appear in image search results","rank-math"))),checked:e.isRobotNoImageIndex,onChange:function(t){return e.updateRobots("noimageindex",t)}}),wp.element.createElement(p.CheckboxControl,{className:"robot-choice-nosnippet",label:wp.element.createElement(i.Fragment,null,Object(r.__)("No Snippet","rank-math"),wp.element.createElement(Te,null,Object(r.__)("Prevents a snippet from being shown in the search results","rank-math"))),checked:e.isRobotNoSnippet,onChange:function(t){return e.updateRobots("nosnippet",t)}})))}));function ut(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 pt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ut(Object(n),!0).forEach((function(t){mt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ut(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function mt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var dt=Object(u.compose)(Object(a.withSelect)((function(e){var t=e("rank-math");return{redirectionID:t.getRedirectionID(),redirectionUrl:t.getRedirectionUrl(),redirectionType:t.getRedirectionType(),hasRedirect:t.hasRedirect()}})),Object(a.withDispatch)((function(e,t){return{toggle:function(){e("rank-math").updateHasRedirect(!t.hasRedirect),e("rank-math").updateRedirectionItem(pt(pt({},t),{},{hasRedirect:!t.hasRedirect}))},updateRedirection:function(n,r){e("rank-math").updateRedirection(n,r),e("rank-math").updateRedirectionItem(pt(pt({},t),{},mt({},n,r)))}}})))((function(e){return wp.element.createElement(i.Fragment,null,wp.element.createElement(p.ToggleControl,{className:e.hasRedirect?"is-open":"is-close",label:Object(r.__)("Redirect","rank-math"),checked:e.hasRedirect,onChange:function(){return e.toggle()}}),wp.element.createElement(p.SelectControl,{label:Object(r.__)("Redirection Type","rank-math"),className:e.hasRedirect?"":"hidden",value:e.redirectionType,onChange:function(t){return e.updateRedirection("redirectionType",t)},options:[{value:"301",label:Object(r.__)("301 Permanent Move","rank-math")},{value:"302",label:Object(r.__)("302 Temporary Move","rank-math")},{value:"307",label:Object(r.__)("307 Temporary Redirect","rank-math")},{value:"410",label:Object(r.__)("410 Content Deleted","rank-math")},{value:"451",label:Object(r.__)("451 Content Unavailable for Legal Reasons","rank-math")}]}),!1===["410","451"].includes(e.redirectionType)&&wp.element.createElement(p.TextControl,{type:"url",autoComplete:"off",label:Object(r.__)("Destination URL","rank-math"),value:e.redirectionUrl,placeholder:"https://rankmath.com/",className:e.hasRedirect?"":"hidden",onChange:function(t){return e.updateRedirection("redirectionUrl",t)}}),wp.element.createElement(p.TextControl,{type:"hidden",value:e.redirectionID,className:"hidden"}))})),ht=Object(u.compose)(Object(a.withSelect)((function(e){var t=e("rank-math"),n=rankMathEditor.assessor.dataCollector;return{placeholder:t.getCanonicalUrl()?t.getCanonicalUrl():n.getPermalink()?n.getPermalink():"https://rankmath.com/",canonicalUrl:t.getCanonicalUrl()}})),Object(a.withDispatch)((function(e){return{onUrlChange:function(t){e("rank-math").updateCanonicalUrl(t)}}})))((function(e){var t=e.canonicalUrl,n=e.placeholder,a=e.onUrlChange;return wp.element.createElement(p.BaseControl,{className:"rank-math-canonical"},wp.element.createElement("span",{className:"components-base-control__label"},Object(r.__)("Canonical URL","rank-math"),wp.element.createElement(Te,null,Object(r.__)("The canonical URL informs search crawlers which page is the main page if you have double content","rank-math"))),wp.element.createElement(p.TextControl,{type:"url",autoComplete:"off",value:t,placeholder:n,onChange:function(e){return a(e)}}))})),ft=Object(u.compose)(Object(a.withSelect)((function(e){return{title:e("rank-math").getBreadcrumbTitle()}})),Object(a.withDispatch)((function(e){return{onTitleChange:function(t){e("rank-math").updateBreadcrumbTitle(t)}}})))((function(e){var t=e.title,n=e.onTitleChange;return wp.element.createElement(p.BaseControl,{className:"rank-math-breadcrumb-title"},wp.element.createElement("span",{className:"components-base-control__label"},Object(r.__)("Breadcrumb Title","rank-math"),wp.element.createElement(Te,null,Object(r.__)("Breadcrumb Title to use for this post","rank-math"))),wp.element.createElement(p.TextControl,{value:t,onChange:function(e){return n(e)}}))}));function bt(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 gt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bt(Object(n),!0).forEach((function(t){wt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function wt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var yt={"max-snippet":-1,"max-video-preview":-1,"max-image-preview":"large"},vt=Object(u.compose)(Object(a.withSelect)((function(e){var t=e("rank-math").getAdvancedRobots(),n=gt({},t);Object(s.defaults)(n,yt);var r=null,a=null,o=null;return"max-snippet"in t&&(r=n["max-snippet"]),"max-image-preview"in t&&(a=n["max-image-preview"]),"max-video-preview"in t&&(o=n["max-video-preview"]),{meta:t,isSnippet:r,isImage:a,isVideo:o,maxSnippet:r?n["max-snippet"]:-1,maxImage:n["max-image-preview"],maxVideo:o?n["max-video-preview"]:-1}})),Object(a.withDispatch)((function(e,t){var n=gt({},t.meta);return{updateRobots:function(t,r){Object(s.isBoolean)(r)?!1===r?delete n[t]:n[t]=yt[t]:n[t]=r,e("rank-math").updateAdvancedRobots(n)}}})))((function(e){return wp.element.createElement(p.BaseControl,{className:"rank-math-robots",id:"rank-math-robots",label:Object(r.__)("Advanced Robots Meta","rank-math")},wp.element.createElement("div",{className:"rank-math-robots-list advanced-robots"},wp.element.createElement(p.CheckboxControl,{label:wp.element.createElement(i.Fragment,null,Object(r.__)("Max Snippet","rank-math"),wp.element.createElement(Te,null,Object(r.__)("Specify a maximum text-length, in characters, of a snippet for your page","rank-math"))),checked:e.isSnippet,onChange:function(t){return e.updateRobots("max-snippet",t)}}),wp.element.createElement(p.TextControl,{type:"number",value:e.maxSnippet,onChange:function(t){return e.updateRobots("max-snippet",t)}}),wp.element.createElement(p.CheckboxControl,{label:wp.element.createElement(i.Fragment,null,Object(r.__)("Max Video Preview","rank-math"),wp.element.createElement(Te,null,Object(r.__)("Specify a maximum duration in seconds of an animated video preview","rank-math"))),checked:e.isVideo,onChange:function(t){return e.updateRobots("max-video-preview",t)}}),wp.element.createElement(p.TextControl,{type:"number",value:e.maxVideo,onChange:function(t){return e.updateRobots("max-video-preview",t)}}),wp.element.createElement(p.CheckboxControl,{label:wp.element.createElement(i.Fragment,null,Object(r.__)("Max Image Preview","rank-math"),wp.element.createElement(Te,null,Object(r.__)("Specify a maximum size of image preview to be shown for images on this page","rank-math"))),checked:e.isImage,onChange:function(t){return e.updateRobots("max-image-preview",t)}}),wp.element.createElement(p.SelectControl,{value:e.maxImage,onChange:function(t){return e.updateRobots("max-image-preview",t)},options:[{value:"large",label:Object(r.__)("Large","rank-math")},{value:"standard",label:Object(r.__)("Standard","rank-math")},{value:"none",label:Object(r.__)("None","rank-math")}]})))})),kt=Object(u.compose)(Object(a.withSelect)((function(e){return{showScore:e("rank-math").getShowScoreFrontend()}})),Object(a.withDispatch)((function(e){return{toggleScore:function(t){e("rank-math").toggleFrontendScore(t)}}})))((function(e){var t=e.showScore,n=e.toggleScore;return wp.element.createElement(p.BaseControl,{className:"rank-math-frontend-score"},wp.element.createElement(p.ToggleControl,{label:Object(r.__)("Show SEO Score on Front-end","rank-math"),checked:t,onChange:n}))})),Ot=n(24),_t=function(){return wp.element.createElement(i.Fragment,null,wp.element.createElement(p.PanelBody,{initialOpen:!0},wp.element.createElement(st,null)),wp.element.createElement(p.PanelBody,{initialOpen:!0},wp.element.createElement(vt,null)),wp.element.createElement(p.PanelBody,{initialOpen:!0},wp.element.createElement(ht,null)),rankMath.assessor.hasBreadcrumb&&wp.element.createElement(p.PanelBody,{initialOpen:!0},wp.element.createElement(ft,null)),rankMath.assessor.hasRedirection&&wp.element.createElement(p.PanelBody,{initialOpen:!0,className:"rank-math-redirect"},wp.element.createElement(dt,null)),rankMath.frontEndScore&&wp.element.createElement(p.PanelBody,{initialOpen:!0},wp.element.createElement(kt,null)),wp.element.createElement(Ot.a.Slot,null,(function(e){return e.length>0?e:[]})))},jt=function(e){"social"===e&&Object(a.dispatch)("rank-math").toggleSnippetEditor(!0)};t.a=function(){return wp.element.createElement(j,{className:"rank-math-tabs",activeClass:"is-active",tabs:(e=[],rankMath.canUser.general&&e.push({name:"general",title:wp.element.createElement(i.Fragment,null,wp.element.createElement("i",{className:"rm-icon rm-icon-settings",title:Object(r.__)("General","rank-math")}),wp.element.createElement("span",null,Object(r.__)("General","rank-math"))),view:lt,className:"rank-math-general-tab"}),rankMath.canUser.advanced&&e.push({name:"advanced",title:wp.element.createElement(i.Fragment,null,wp.element.createElement("i",{className:"rm-icon rm-icon-toolbox",title:Object(r.__)("Advanced","rank-math")}),wp.element.createElement("span",null,Object(r.__)("Advanced","rank-math"))),view:_t,className:"rank-math-advanced-tab"}),rankMath.canUser.social&&e.push({name:"social",title:wp.element.createElement(i.Fragment,null,wp.element.createElement("i",{className:"rm-icon rm-icon-social",title:Object(r.__)("Social","rank-math")}),wp.element.createElement("span",null,Object(r.__)("Social","rank-math"))),view:Ee,className:"rank-math-social-tab"}),Object(o.applyFilters)("rank_math_sidebar_tabs",e)),onSelect:jt},(function(e){return wp.element.createElement("div",{className:"rank-math-tab-content-"+e.name},Object(i.createElement)(e.view))}));var e}},function(e,t,n){"use strict";var r=n(8),a=n(6),o=n(17),i=n(1),l=n(0),c=n(4);function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var u=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.analyzer=new r.Analyzer({i18n:l,analyses:rankMath.assessor.researchesTests}),this.dataCollector=t,this.registerRefresh(),this.updateKeywordResult=this.updateKeywordResult.bind(this),this.sanitizeData=this.sanitizeData.bind(this),Object(a.addAction)("rankMath_analysis_keywordUsage_updated","rank-math",this.updateKeywordResult),Object(a.addFilter)("rank_math_sanitize_meta_value","rank-math",this.sanitizeData),Object(a.addFilter)("rank_math_sanitize_data","rank-math",this.sanitizeData)}var t,n,u;return t=e,(n=[{key:"updateKeywordResult",value:function(e,t){rankMathEditor.resultManager.update(e,{keywordNotUsed:t}),e===this.getSelectedKeyword().toLowerCase()&&Object(c.dispatch)("rank-math").refreshResults()}},{key:"sanitizeData",value:function(e,t){return"schemas"===t||Object(i.isObject)(e)||Object(i.isEmpty)(e)?e:r.Helpers.sanitizeAppData(e)}},{key:"getPaper",value:function(e){var t=Object(o.a)().getState(),n=this.dataCollector.getData(),l=new r.Paper("",{locale:rankMath.localeFull});return l.setTitle(t.appUi.serpTitle),l.setPermalink(n.slug),l.setDescription(t.appUi.serpDescription),l.setUrl(n.permalink),l.setText(Object(a.applyFilters)("rank_math_content",n.content)),l.setKeyword(e),Object(i.isUndefined)(n.featuredImage)||(l.setThumbnail(n.featuredImage.source_url),l.setThumbnailAltText(r.Helpers.removeDiacritics(n.featuredImage.alt_text))),l}},{key:"registerRefresh",value:function(){var e=this;this.refresh=Object(i.debounce)((function(t){var n=Object(o.a)().getState();if(!1!==n.appUi.isLoaded){var i=n.appData.keywords.split(","),l=[];Object(a.doAction)("rank_math_"+t+"_refresh"),i.map((function(t,n){var a=e.getPaper(r.Helpers.removeDiacritics(t)),o=0===n?rankMath.assessor.researchesTests:e.getSecondaryKeywordTests();l.push(e.analyzer.analyzeSome(o,a).then((function(e){rankMathEditor.resultManager.update(a.getKeyword(),e,0===n),0===n&&Object(c.dispatch)("rank-math").updateAnalysisScore(rankMathEditor.resultManager.getScore(a.getKeyword()))}))),Promise.all(l).then((function(){Object(c.dispatch)("rank-math").refreshResults()}))}))}}),500)}},{key:"getSecondaryKeywordTests",value:function(){return["keywordInContent","lengthContent","keywordInSubheadings","keywordDensity","lengthPermalink","linksHasExternals","linksNotAllExternals","linksHasInternal","titleSentiment","titleHasPowerWords","titleHasNumber","contentHasTOC","contentHasShortParagraphs","contentHasAssets"]}},{key:"getPrimaryKeyword",value:function(){var e=Object(o.a)().getState().appData.keywords;return r.Helpers.removeDiacritics(e.split(",")[0])}},{key:"getSelectedKeyword",value:function(){var e=Object(o.a)().getState(),t=""!==e.appUi.selectedKeyword.data.value?e.appUi.selectedKeyword.data.value:e.appData.keywords.split(",")[0];return r.Helpers.removeDiacritics(t)}},{key:"getResearch",value:function(e){return this.analyzer.researcher.getResearch(e)}}])&&s(t.prototype,n),u&&s(t,u),e}(),p=n(26);function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var d=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,i;return t=e,(n=[{key:"setup",value:function(e){Object(o.a)(),this.resultManager=new r.ResultManager,this.assessor=new u(e),new p.a,Object(a.doAction)("rank_math_loaded")}},{key:"refresh",value:function(e){this.assessor.refresh(e)}},{key:"getPrimaryKeyword",value:function(){return this.assessor.getPrimaryKeyword()}},{key:"getSelectedKeyword",value:function(){return this.assessor.getSelectedKeyword()}},{key:"updatePermalink",value:function(e){throw"Implement the function"}},{key:"updatePermalinkSanitize",value:function(e){throw"Implement the function"}}])&&m(t.prototype,n),i&&m(t,i),e}();t.a=d},function(e,t){e.exports=wp.editPost},function(e,t,n){"use strict";var r=n(34),a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,o=n(35),i=n(43),l=n(44),c="function"==typeof Symbol&&Symbol.iterator;function s(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}function u(e,t,n,r){var o,l=typeof e;if("undefined"!==l&&"boolean"!==l||(e=null),null===e||"string"===l||"number"===l||"object"===l&&e.$$typeof===a)return n(r,e,""===t?"."+s(e,0):t),1;var p=0,m=""===t?".":t+":";if(Array.isArray(e))for(var d=0;d<e.length;d++)p+=u(o=e[d],m+s(o,d),n,r);else{var h=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(h){0;for(var f,b=h.call(e),g=0;!(f=b.next()).done;)p+=u(o=f.value,m+s(o,g++),n,r)}else if("object"===l){0;var w=""+e;i(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===w?"object with keys {"+Object.keys(e).join(", ")+"}":w,"")}}return p}var p=/\/+/g;function m(e){return(""+e).replace(p,"$&/")}var d,h,f=b,b=function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)},g=function(e){var t=this;i(e instanceof t,"Trying to release an instance into a pool of a different type."),e.destructor(),t.instancePool.length<t.poolSize&&t.instancePool.push(e)};function w(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function y(e,t,n){var a,i,l=e.result,c=e.keyPrefix,s=e.func,u=e.context,p=s.call(u,t,e.count++);Array.isArray(p)?v(p,l,n,o.thatReturnsArgument):null!=p&&(r.isValidElement(p)&&(a=p,i=c+(!p.key||t&&t.key===p.key?"":m(p.key)+"/")+n,p=r.cloneElement(a,{key:i},void 0!==a.props?a.props.children:void 0)),l.push(p))}function v(e,t,n,r,a){var o="";null!=n&&(o=m(n)+"/");var i=w.getPooled(t,o,r,a);!function(e,t,n){null==e||u(e,"",t,n)}(e,y,i),w.release(i)}w.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},d=function(e,t,n,r){var a=this;if(a.instancePool.length){var o=a.instancePool.pop();return a.call(o,e,t,n,r),o}return new a(e,t,n,r)},(h=w).instancePool=[],h.getPooled=d||f,h.poolSize||(h.poolSize=10),h.release=g;e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return l(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return l(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;i(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)v(e[n],t,n,o.thatReturnsArgument);return t}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,a,o,i,l){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,a,o,i,l],u=0;(c=new Error(t.replace(/%s/g,(function(){return s[u++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t,n){"use strict";var r=n(35);e.exports=r},function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},function(e,t){e.exports=wp.plugins},,,,,function(e,t,n){var r=n(34);function a(e){return r.createElement("svg",e,r.createElement("g",{fill:"#fff"},[r.createElement("path",{d:"m462 234.84-76.17 3.43 13.43 21-127 81.18-126-52.93-146.26 60.97 10.14 24.34 136.1-56.71 128.57 54 138.69-88.61 13.43 21z",key:0}),r.createElement("path",{d:"m54.1 312.78 92.18-38.41 4.49 1.89v-54.58h-96.67zm210.9-223.57v235.05l7.26 3 89.43-57.05v-181zm-105.44 190.79 96.67 40.62v-165.19h-96.67z",key:1})]))}a.defaultProps={viewBox:"0 0 462.03 462.03",width:"20",className:"rank-math-icon"},e.exports=a,a.default=a},,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(2),a=n.n(r),o=n(0),i=n(4),l=n(5),c=n(46),s=n(6),u=n(41),p=n(39),m=n(40),d=n(1),h=n(16),f=n.n(h),b=n(11),g=n(9),w=n(31);function y(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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){k(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function k(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function O(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var _=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.initialize=!1,this.isSavingRedirection=!1,this.isSavingSchemas=!1,this.oldSlug=!1,this._data={id:!1,slug:!1,permalink:!1,content:!1,title:!1,excerpt:!1,featuredImage:!1},this.refresh=this.refresh.bind(this),this.isSavingPost=this.isSavingPost.bind(this),this.getPostAttribute=this.getPostAttribute.bind(this),this.subscribeToGutenberg()}var t,n,r;return t=e,(n=[{key:"collectGutenbergData",value:function(){if(Object(w.a)())return this._coreEditorSelect||(this._coreEditorSelect=Object(i.select)("core/editor")),!1===this.oldSlug&&""!==this.getSlug()&&(this.oldSlug=this.getSlug()),{id:this.getPostID(),slug:this.getSlug(),permalink:this.getPermalink(),content:this.getPostAttribute("content"),title:this.getPostAttribute("title"),excerpt:this.getPostAttribute("excerpt"),featuredImage:this.getFeaturedImage()}}},{key:"getPostID",value:function(){return this._coreEditorSelect.getCurrentPostId()}},{key:"getPermalink",value:function(){if("auto-draft"===this.getPostAttribute("status"))return"";var e=this.getPostAttribute("generated_slug");return"auto-draft"!==e&&"en"===rankMath.locale||(e=""),Object(b.safeDecodeURIComponent)(this._coreEditorSelect.getPermalink())}},{key:"getSlug",value:function(){var e=this.getPostAttribute("generated_slug");return"auto-draft"!==e&&"en"===rankMath.locale||(e=""),Object(b.safeDecodeURIComponent)(this.getPostAttribute("slug")||e)}},{key:"getFeaturedImage",value:function(){var e=this.getPostAttribute("featured_media");if(this.isValidMediaId(e)){var t=Object(i.select)("core").getMedia(e);if(!Object(d.isUndefined)(t))return t}}},{key:"isValidMediaId",value:function(e){return"number"==typeof e&&0<e}},{key:"getPostAttribute",value:function(e){return Object(w.a)()?(this._coreEditorSelect||(this._coreEditorSelect=Object(i.select)("core/editor")),this._coreEditorSelect.getEditedPostAttribute(e)):""}},{key:"subscribeToGutenberg",value:function(){this.subscriber=Object(d.debounce)(this.refresh,500),Object(i.subscribe)(this.subscriber),Object(i.subscribe)(this.isSavingPost)}},{key:"refresh",value:function(){var e=v({},this._data);this._data=this.collectGutenbergData(),this.handleEditorChange(e)}},{key:"isSavingPost",value:function(){var e=Object(i.select)("core/editor");if(!e.isAutosavingPost()&&e.isSavingPost()){var t=Object(i.select)("rank-math").getDirtyMetadata();Object(d.isEmpty)(t)||(f()({method:"POST",path:"rankmath/v1/updateMeta",data:{objectID:rankMath.objectID,objectType:rankMath.objectType,meta:t}}),Object(i.dispatch)("rank-math").resetDirtyMetadata()),"publish"===this.getPostAttribute("status")&&(this.saveRedirection(),this.autoCreateRedirectionNotice()),this.saveSchemas()}}},{key:"saveSchemas",value:function(){var e=this;if(!this.isSavingSchemas){var t=Object(i.select)("rank-math").getSchemas();if(!Object(d.isEmpty)(t)&&!Object(d.isEqual)(t,Object(d.get)(rankMath,"schemas",{}))){this.isSavingSchemas=!0;var n=Object(i.select)("rank-math").getEditSchemas();f()({method:"POST",path:"rankmath/v1/updateSchemas",data:{objectID:this.getPostID(),objectType:rankMath.objectType,schemas:t}}).then((function(r){if(!Object(d.isEmpty)(r)){var a=v({},t),o=v({},n);Object(d.map)(r,(function(e,t){a["schema-"+e]=v({},a[t]),o["schema-"+e]=v({},o[t]),delete a[t],delete o[t]})),Object(i.dispatch)("rank-math").updateSchemas(a),Object(i.dispatch)("rank-math").updateEditSchemas(o)}setTimeout((function(){Object(s.doAction)("rank_math_schema_changed"),e.isSavingSchemas=!1}),2e3)}))}}}},{key:"saveRedirection",value:function(){var e=this;if(!this.isSavingRedirection){var t=Object(i.select)("rank-math").getRedirectionItem();if(!Object(d.isEmpty)(t)){this.isSavingRedirection=!0,t.objectID=this.getPostID(),t.redirectionSources=this.getPermalink();var n=Object(i.dispatch)("rank-math"),r=Object(i.dispatch)("core/notices");n.resetRedirection(),f()({method:"POST",path:"rankmath/v1/updateRedirection",data:t}).then((function(t){"delete"===t.action?(r.createInfoNotice(t.message,{id:"redirectionNotice"}),n.updateRedirection("redirectionID",0)):"update"===t.action?r.createInfoNotice(t.message,{id:"redirectionNotice"}):"new"===t.action&&(n.updateRedirection("redirectionID",t.id),r.createSuccessNotice(t.message,{id:"redirectionNotice"})),setTimeout((function(){e.isSavingRedirection=!1,r.removeNotice("redirectionNotice")}),2e3)}))}}}},{key:"autoCreateRedirectionNotice",value:function(){if(rankMath.assessor.hasRedirection&&Object(d.get)(rankMath,["assessor","autoCreateRedirection"],!1)&&!Object(i.select)("core/editor").isEditedPostNew()&&!1!==this.oldSlug){var e=this.getSlug();if(this.oldSlug!==e){var t=Object(i.dispatch)("core/notices");this.oldSlug=e,t.createSuccessNotice(Object(o.__)("Auto redirection created.","rank-math"),{id:"redirectionAutoCreationNotice"}),setTimeout((function(){t.removeNotice("redirectionAutoCreationNotice")}),2e3)}}}},{key:"handleEditorChange",value:function(e){var t=this,n={id:"handleIDChange",slug:"handleSlugChange",title:"handleTitleChange",excerpt:"handleExcerptChange",content:"handleContentChange",featuredImage:"handleFeaturedImageChange"};if(Object(d.isInteger)(e.id))return this.initialize?void Object(d.forEach)(n,(function(n,r){t._data[r]!==e[r]&&t[n](t._data[r])})):(this.initialize=!0,Object(d.forEach)(n,(function(e,n){t[e](t._data[n])})),void rankMathEditor.refresh("init"));Object(i.dispatch)("rank-math").refreshResults()}},{key:"handleIDChange",value:function(e){Object(i.dispatch)("rank-math").updatePostID(e),Object(i.dispatch)("rank-math").toggleLoaded(!0)}},{key:"handleSlugChange",value:function(){""!==this.getSlug()&&!1===this.oldSlug&&(this.oldSlug=this.getSlug()),rankMathEditor.refresh("permalink")}},{key:"handleTitleChange",value:function(e){g.a.setVariable("title",e),g.a.setVariable("term",e),g.a.setVariable("author",e),Object(i.dispatch)("rank-math").updateSerpTitle(Object(i.select)("rank-math").getTitle()),rankMathEditor.refresh("title")}},{key:"handleExcerptChange",value:function(e){g.a.setVariable("excerpt",e),g.a.setVariable("excerpt_only",e),g.a.setVariable("wc_shortdesc",e),g.a.setVariable("seo_description",e),Object(i.dispatch)("rank-math").updateSerpDescription(Object(i.select)("rank-math").getDescription())}},{key:"handleFeaturedImageChange",value:function(e){Object(i.dispatch)("rank-math").updateFeaturedImage(e),rankMathEditor.refresh("featuredImage")}},{key:"handleContentChange",value:function(){Object(i.dispatch)("rank-math").updateSerpDescription(Object(i.select)("rank-math").getDescription()),rankMathEditor.refresh("content")}},{key:"getData",value:function(){return this._data}}])&&O(t.prototype,n),r&&O(t,r),e}(),j=n(10),E=n.n(j),T=n(51),S=n.n(T),I=n(32),P=n(20);function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var D=Object(i.withSelect)((function(e){var t=e("rank-math");return{isLoaded:t.isLoaded(),score:t.getAnalysisScore()}}))((function(e){var t,n=e.isLoaded,r=e.score,a=E()("rank-math-toolbar-score",(C(t={},Object(P.a)(r),!0),C(t,"loading",!n),t));return wp.element.createElement("div",{className:a},wp.element.createElement(I.a,null),wp.element.createElement(S.a,null))})),N=n(3),x=Object(i.withSelect)((function(e){var t=e("rank-math"),n=t.getTwitterUseFacebook()?t.getFacebookTitle():t.getTwitterTitle();return Object(d.isEmpty)(n)&&(n=t.getSerpTitle()),{title:n,permalink:e("core/editor").getPermalink()}}))((function(e){var t=e.title,n=e.permalink,r=encodeURI(n),a=encodeURI(t);return wp.element.createElement(l.Fragment,null,wp.element.createElement("p",null,Object(o.__)("Notify your readers by sharing!","rank-math")),wp.element.createElement("div",{className:"rank-math-social-share-buttons"},wp.element.createElement("div",{className:"rank-math-share-button rm-facebook"},wp.element.createElement("a",{href:"https://www.facebook.com/sharer/sharer.php?u="+r,target:"_blank",rel:"noopener noreferrer"},wp.element.createElement(N.Dashicon,{icon:"facebook-alt"}))),wp.element.createElement("div",{className:"rank-math-share-button rm-twitter"},wp.element.createElement("a",{href:"https://twitter.com/share?url="+r+"&text="+a,target:"_blank",rel:"noopener noreferrer"},wp.element.createElement(N.Dashicon,{icon:"twitter"}))),wp.element.createElement("div",{className:"rank-math-share-button rm-email"},wp.element.createElement("a",{href:"mailto:?subject="+a+"&body="+r,target:"_blank",rel:"noopener noreferrer"},wp.element.createElement(N.Dashicon,{icon:"email"})))))}));function R(e){return(R="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})(e)}function A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function M(e,t){return(M=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function F(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=L(e);if(t){var a=L(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return U(this,n)}}function U(e,t){return!t||"object"!==R(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function L(e){return(L=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var H=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&M(e,t)}(n,e);var t=F(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(n(37).a),z=Object(i.withSelect)((function(e,t){var n=t.slug,r=e("core").getTaxonomy(n),a=e("core/editor").getEditedPostAttribute;return{taxonomy:r,selectedTermIds:r?a(r.rest_base):[],primaryTermID:e("rank-math").getPrimaryTermID()}}))(H),B=function(e){var t=e.TermComponent;return function(e){return!1!==rankMath.assessor.primaryTaxonomy&&e.slug===rankMath.assessor.primaryTaxonomy.name}(e)?wp.element.createElement(l.Fragment,null,wp.element.createElement(t,e),wp.element.createElement(N.PanelRow,{className:"rank-math-primary-term-picker"},wp.element.createElement(z,e))):wp.element.createElement(t,e)},G=n(23),K=n(24),V=n(22);function W(e){return(W="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})(e)}function Y(){return(Y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function q(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Z(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function $(e,t,n){return($="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=ee(e)););return e}(e,t);if(r){var a=Object.getOwnPropertyDescriptor(r,t);return a.get?a.get.call(n):a.value}})(e,t,n||e)}function J(e,t){return(J=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Q(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ee(e);if(t){var a=ee(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return X(this,n)}}function X(e,t){return!t||"object"!==W(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ee(e){return(ee=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var te=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&J(e,t)}(m,e);var t,n,r,a=Q(m);function m(){return q(this,m),a.apply(this,arguments)}return t=m,(n=[{key:"setup",value:function(e){this.registerSlots=this.registerSlots.bind(this),Object(s.addAction)("rank_math_loaded","rank-math",this.registerSlots,0),$(ee(m.prototype),"setup",this).call(this,e),this.registerSidebar(),this.registerPostPublish(),this.registerPrimaryTermSelector()}},{key:"registerSlots",value:function(){this.RankMathAfterEditor=G.a,this.RankMathAfterFocusKeyword=V.a,this.RankMathAdvancedTab=K.a,this.slots={AfterEditor:G.a,AfterFocusKeyword:V.a,AdvancedTab:K.a}}},{key:"registerSidebar",value:function(){Object(c.registerPlugin)("rank-math",{icon:wp.element.createElement(D,null),render:function(){return wp.element.createElement(l.Fragment,null,wp.element.createElement(u.PluginSidebarMoreMenuItem,{target:"seo-by-rank-math-sidebar",icon:wp.element.createElement(D,null)},o.__("Rank Math","rank-math")),wp.element.createElement(u.PluginSidebar,{name:"seo-by-rank-math-sidebar",title:o.__("Rank Math","rank-math"),className:"rank-math-sidebar-panel"},wp.element.createElement(p.a,null)))}})}},{key:"registerPostPublish",value:function(){Object(c.registerPlugin)("rank-math-post-publish",{render:function(){return wp.element.createElement(u.PluginPostPublishPanel,{initialOpen:!0,title:o.__("Rank Math","rank-math"),className:"rank-math-post-publish",icon:wp.element.createElement(l.Fragment,null)},wp.element.createElement(x,null))}})}},{key:"registerPrimaryTermSelector",value:function(){Object(s.addFilter)("editor.PostTaxonomyType","rank-math",(function(e){return function(t){return wp.element.createElement(B,Y({TermComponent:e},t))}}))}},{key:"updatePermalink",value:function(e){Object(i.dispatch)("core/editor").editPost({slug:e})}},{key:"updatePermalinkSanitize",value:function(e){e=this.assessor.getResearch("slugify")(e),Object(i.dispatch)("core/editor").editPost({slug:e})}}])&&Z(t.prototype,n),r&&Z(t,r),m}(m.a);a()(document).ready((function(){window.rankMathEditor=new te,window.rankMathGutenberg=window.rankMathEditor,window.rankMathEditor.setup(new _)}))}]);
1
+ !function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=80)}([function(e,t){e.exports=wp.i18n},function(e,t){e.exports=lodash},function(e,t){e.exports=jQuery},function(e,t){e.exports=wp.components},function(e,t){e.exports=wp.data},function(e,t){e.exports=wp.element},function(e,t){e.exports=wp.hooks},function(e,t){e.exports=wp.compose},function(e,t){e.exports=rankMathAnalyzer},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(2),a=n.n(r);function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.map=null}var t,n,r;return t=e,(n=[{key:"swap",value:function(e,t){var n=this;if(!(e=e||""))return"";var r=new RegExp(/%(([a-z0-9_-]+)\(([^)]*)\)|[^\s]+)%/,"giu");return e.replace(" %page%","").replace("%sep% %sep%","%sep%").replace(r,(function(e){return n.replace(t,e)})).trim()}},{key:"replace",value:function(e,t){var n=t.toLowerCase().slice(1,-1);return["term_description","user_description"].includes(n)?"undefined"!=typeof tinymce&&tinymce.activeEditor&&"rank_math_description_editor"===tinymce.activeEditor.id?tinymce.activeEditor.getContent():a()("#description").val():n.includes("customfield(")?(n=n.replace("customfield(","").replace(")",""))in rankMath.customFields?rankMath.customFields[n]:"":(e=e||this.getMap(),(n="seo_description"===(n="seo_title"===(n=n.includes("(")?n.split("(")[0]:n)?"title":n)?"excerpt":n)in e?e[n]:"")}},{key:"getMap",value:function(){var e=this;return null!==this.map||(this.map={},a.a.each(rankMath.variables,(function(t,n){t=t.toLowerCase().replace(/%+/g,"").split("(")[0],e.map[t]=n.example}))),this.map}},{key:"setVariable",value:function(e,t){null!==this.map?this.map[e]=t:void 0!==rankMath.variables[e]&&(rankMath.variables[e].example=t)}}])&&o(t.prototype,n),r&&o(t,r),e}())},function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)&&r.length){var i=a.apply(null,r);i&&e.push(i)}else if("object"===o)for(var l in r)n.call(r,l)&&r[l]&&e.push(l)}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(r=function(){return a}.apply(t,[]))||(e.exports=r)}()},function(e,t){e.exports=wp.url},function(e,t){e.exports=wp.blockEditor},,function(e,t,n){"use strict";var r=document.createElement("div");t.a=function(e){return e&&"string"==typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,"").replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,""),r.innerHTML=e,e=r.textContent,r.textContent=""),e}},,function(e,t){e.exports=wp.apiFetch},function(e,t,n){"use strict";n.d(t,"a",(function(){return mn}));var r={};n.r(r),n.d(r,"updateKeywords",(function(){return p})),n.d(r,"updatePillarContent",(function(){return m})),n.d(r,"toggleFrontendScore",(function(){return d})),n.d(r,"updateAnalysisScore",(function(){return h})),n.d(r,"updateCanonicalUrl",(function(){return f})),n.d(r,"updateAdvancedRobots",(function(){return b})),n.d(r,"updateRobots",(function(){return g})),n.d(r,"updateBreadcrumbTitle",(function(){return w})),n.d(r,"resetDirtyMetadata",(function(){return y})),n.d(r,"updateFacebookTitle",(function(){return v})),n.d(r,"updateFacebookDescription",(function(){return k})),n.d(r,"updateFacebookImage",(function(){return O})),n.d(r,"updateFacebookImageID",(function(){return _})),n.d(r,"updateFacebookHasOverlay",(function(){return j})),n.d(r,"updateFacebookImageOverlay",(function(){return E})),n.d(r,"updateAppData",(function(){return s})),n.d(r,"updateAppUi",(function(){return u})),n.d(r,"updatePostID",(function(){return T})),n.d(r,"updatePermalink",(function(){return S})),n.d(r,"updateTitle",(function(){return I})),n.d(r,"updateDescription",(function(){return P})),n.d(r,"updateFeaturedImage",(function(){return C})),n.d(r,"updatePrimaryTermID",(function(){return D})),n.d(r,"updateRedirection",(function(){return N})),n.d(r,"updateRedirectionItem",(function(){return x})),n.d(r,"resetRedirection",(function(){return R})),n.d(r,"updateHasRedirect",(function(){return A})),n.d(r,"updateSerpTitle",(function(){return U})),n.d(r,"updateSerpDescription",(function(){return F})),n.d(r,"toggleSnippetEditor",(function(){return L})),n.d(r,"updateSnippetPreviewType",(function(){return H})),n.d(r,"updateTwitterUseFacebook",(function(){return z})),n.d(r,"updateTwitterCardType",(function(){return B})),n.d(r,"updateTwitterTitle",(function(){return G})),n.d(r,"updateTwitterDescription",(function(){return K})),n.d(r,"updateTwitterAuthor",(function(){return V})),n.d(r,"updateTwitterImageID",(function(){return W})),n.d(r,"updateTwitterImage",(function(){return Y})),n.d(r,"updateTwitterHasOverlay",(function(){return q})),n.d(r,"updateTwitterImageOverlay",(function(){return Z})),n.d(r,"updateTwitterPlayerUrl",(function(){return $})),n.d(r,"updateTwitterPlayerSize",(function(){return J})),n.d(r,"updateTwitterPlayerStreamUrl",(function(){return Q})),n.d(r,"updateTwitterPlayerStreamCtype",(function(){return X})),n.d(r,"updateTwitterAppDescription",(function(){return ee})),n.d(r,"updateTwitterAppIphoneID",(function(){return te})),n.d(r,"updateTwitterAppIphoneName",(function(){return ne})),n.d(r,"updateTwitterAppIphoneUrl",(function(){return re})),n.d(r,"updateTwitterAppIpadID",(function(){return ae})),n.d(r,"updateTwitterAppIpadName",(function(){return oe})),n.d(r,"updateTwitterAppIpadUrl",(function(){return ie})),n.d(r,"updateTwitterAppGoogleplayID",(function(){return le})),n.d(r,"updateTwitterAppGoogleplayName",(function(){return ce})),n.d(r,"updateTwitterAppGoogleplayUrl",(function(){return se})),n.d(r,"updateTwitterAppCountry",(function(){return ue})),n.d(r,"toggleLoaded",(function(){return pe})),n.d(r,"updateSelectedKeyword",(function(){return me})),n.d(r,"refreshResults",(function(){return de})),n.d(r,"setVersion",(function(){return he})),n.d(r,"toggleSchemaEditor",(function(){return Oe})),n.d(r,"toggleSchemaTemplates",(function(){return _e})),n.d(r,"schemaUpdated",(function(){return je})),n.d(r,"setEditingSchemaId",(function(){return Ee})),n.d(r,"setEditorTab",(function(){return Te})),n.d(r,"setTemplateTab",(function(){return Se})),n.d(r,"updateEditSchemas",(function(){return Ie})),n.d(r,"updateSchemas",(function(){return Pe})),n.d(r,"updateEditSchema",(function(){return Ce})),n.d(r,"saveSchema",(function(){return De})),n.d(r,"deleteSchema",(function(){return Ne})),n.d(r,"saveTemplate",(function(){return xe}));var a={};n.r(a),n.d(a,"appData",(function(){return He})),n.d(a,"appUi",(function(){return Ve}));var o={};n.r(o),n.d(o,"getAppData",(function(){return We})),n.d(o,"getDirtyMetadata",(function(){return Ye})),n.d(o,"getAnalysisScore",(function(){return qe})),n.d(o,"getKeywords",(function(){return Ze})),n.d(o,"getPillarContent",(function(){return $e})),n.d(o,"getRobots",(function(){return Je})),n.d(o,"getAdvancedRobots",(function(){return Qe})),n.d(o,"getCanonicalUrl",(function(){return Xe})),n.d(o,"getBreadcrumbTitle",(function(){return et})),n.d(o,"getRichSnippets",(function(){return tt})),n.d(o,"getShowScoreFrontend",(function(){return nt})),n.d(o,"isLoaded",(function(){return rt})),n.d(o,"getSelectedKeyword",(function(){return at})),n.d(o,"isRefreshing",(function(){return ot})),n.d(o,"isPro",(function(){return it})),n.d(o,"getFacebookTitle",(function(){return lt})),n.d(o,"getFacebookDescription",(function(){return ct})),n.d(o,"getFacebookAuthor",(function(){return st})),n.d(o,"getFacebookImageID",(function(){return ut})),n.d(o,"getFacebookImage",(function(){return pt})),n.d(o,"getFacebookHasOverlay",(function(){return mt})),n.d(o,"getFacebookImageOverlay",(function(){return dt})),n.d(o,"getPostID",(function(){return ht})),n.d(o,"getTitle",(function(){return ft})),n.d(o,"getPermalink",(function(){return bt})),n.d(o,"getDescription",(function(){return gt})),n.d(o,"getFeaturedImage",(function(){return wt})),n.d(o,"getFeaturedImageHtml",(function(){return yt})),n.d(o,"getPrimaryTermID",(function(){return vt})),n.d(o,"getRedirectionID",(function(){return kt})),n.d(o,"getRedirectionType",(function(){return Ot})),n.d(o,"getRedirectionUrl",(function(){return _t})),n.d(o,"getRedirectionItem",(function(){return jt})),n.d(o,"hasRedirect",(function(){return Et})),n.d(o,"getSerpTitle",(function(){return St})),n.d(o,"getSerpDescription",(function(){return It})),n.d(o,"isSnippetEditorOpen",(function(){return Pt})),n.d(o,"getSnippetPreviewType",(function(){return Ct})),n.d(o,"isSchemaEditorOpen",(function(){return Dt})),n.d(o,"isSchemaTemplatesOpen",(function(){return Nt})),n.d(o,"hasSchemaUpdated",(function(){return xt})),n.d(o,"getSchemas",(function(){return Rt})),n.d(o,"getEditSchemas",(function(){return At})),n.d(o,"getEditingSchema",(function(){return Mt})),n.d(o,"getPreviewSchema",(function(){return Ut})),n.d(o,"getEditorTab",(function(){return Ft})),n.d(o,"getTemplateTab",(function(){return Lt})),n.d(o,"getTwitterUseFacebook",(function(){return Ht})),n.d(o,"getTwitterCardType",(function(){return zt})),n.d(o,"getTwitterTitle",(function(){return Bt})),n.d(o,"getTwitterDescription",(function(){return Gt})),n.d(o,"getTwitterAuthor",(function(){return Kt})),n.d(o,"getTwitterImageID",(function(){return Vt})),n.d(o,"getTwitterImage",(function(){return Wt})),n.d(o,"getTwitterHasOverlay",(function(){return Yt})),n.d(o,"getTwitterImageOverlay",(function(){return qt})),n.d(o,"getTwitterAppDescription",(function(){return Zt})),n.d(o,"getTwitterAppIphoneID",(function(){return $t})),n.d(o,"getTwitterAppIphoneName",(function(){return Jt})),n.d(o,"getTwitterAppIphoneUrl",(function(){return Qt})),n.d(o,"getTwitterAppIpadID",(function(){return Xt})),n.d(o,"getTwitterAppIpadName",(function(){return en})),n.d(o,"getTwitterAppIpadUrl",(function(){return tn})),n.d(o,"getTwitterAppGoogleplayID",(function(){return nn})),n.d(o,"getTwitterAppGoogleplayName",(function(){return rn})),n.d(o,"getTwitterAppGoogleplayUrl",(function(){return an})),n.d(o,"getTwitterAppCountry",(function(){return on})),n.d(o,"getTwitterPlayerUrl",(function(){return ln})),n.d(o,"getTwitterPlayerSize",(function(){return cn})),n.d(o,"getTwitterPlayerStream",(function(){return sn})),n.d(o,"getTwitterPlayerStreamCtype",(function(){return un}));var i=n(4),l=n(9),c=n(6);function s(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return t=Object(c.applyFilters)("rank_math_sanitize_data",t,e,n),null!==r&&(r=Object(c.applyFilters)("rank_math_sanitize_meta_value",r,e,n)),r=null===r?t:r,Object(c.doAction)("rank_math_data_changed",e,t,n),{type:"RANK_MATH_APP_DATA",key:e,value:t,metaKey:n,metaValue:r}}function u(e,t){return Object(c.doAction)("rank_math_update_app_ui",e,t),{type:"RANK_MATH_APP_UI",key:e,value:t}}function p(e){return l.a.setVariable("focuskw",e.split(",")[0]),rankMathEditor.refresh("keyword"),s("keywords",e,"rank_math_focus_keyword")}function m(e){return s("pillarContent",e,"rank_math_pillar_content",!0===e?"on":"off")}function d(e){return s("showScoreFrontend",e,"rank_math_dont_show_seo_score",!0===e?"off":"on")}function h(e){return s("score",e,"rank_math_seo_score")}function f(e){return s("canonicalUrl",e,"rank_math_canonical_url")}function b(e){return s("advancedRobots",e,"rank_math_advanced_robots")}function g(e){return s("robots",e,"rank_math_robots",Object.keys(e))}function w(e){return s("breadcrumbTitle",e,"rank_math_breadcrumb_title")}function y(){return s("dirtyMetadata",{})}function v(e){return s("facebookTitle",e,"rank_math_facebook_title")}function k(e){return s("facebookDescription",e,"rank_math_facebook_description")}function O(e){return s("facebookImage",e,"rank_math_facebook_image")}function _(e){return s("facebookImageID",e,"rank_math_facebook_image_id")}function j(e){return s("facebookHasOverlay",e,"rank_math_facebook_enable_image_overlay",!0===e?"on":"off")}function E(e){return s("facebookImageOverlay",e,"rank_math_facebook_image_overlay")}function T(e){return rankMath.objectID=e,s("postID",e)}function S(e){return s("permalink",e,"permalink")}function I(e){return s("title",e,"rank_math_title")}function P(e){return s("description",e,"rank_math_description")}function C(e){return s("featuredImage",e)}function D(e,t){return s("primaryTerm",parseInt(e),"rank_math_primary_"+t)}function N(e,t){return s(e,t)}function x(e){return u("redirectionItem",e)}function R(){return u("redirectionItem",{})}function A(e){return u("hasRedirect",e)}var M=n(25);function U(e){return e=l.a.swap(""!==e?e:rankMath.assessor.serpData.titleTemplate),rankMathEditor.refresh("title"),u("serpTitle",e)}function F(e){return e=l.a.swap(Object(M.a)(e)),rankMathEditor.refresh("description"),u("serpDescription",e)}function L(e){return u("isSnippetEditorOpen",e)}function H(e){return u("snippetPreviewType",e)}function z(e){return s("twitterUseFacebook",e,"rank_math_twitter_use_facebook",!0===e?"on":"off")}function B(e){return s("twitterCardType",e,"rank_math_twitter_card_type")}function G(e){return s("twitterTitle",e,"rank_math_twitter_title")}function K(e){return s("twitterDescription",e,"rank_math_twitter_description")}function V(e){return s("twitterAuthor",e,"rank_math_twitter_author")}function W(e){return s("twitterImageID",e,"rank_math_twitter_image_id")}function Y(e){return s("twitterImage",e,"rank_math_twitter_image")}function q(e){return s("twitterHasOverlay",e,"rank_math_twitter_enable_image_overlay",!0===e?"on":"off")}function Z(e){return s("twitterImageOverlay",e,"rank_math_twitter_image_overlay")}function $(e){return s("twitterPlayerUrl",e,"rank_math_twitter_player_url")}function J(e){return s("twitterPlayerSize",e,"rank_math_twitter_player_size")}function Q(e){return s("twitterPlayerStream",e,"rank_math_twitter_player_stream")}function X(e){return s("twitterPlayerStreamCtype",e,"rank_math_twitter_player_stream_ctype")}function ee(e){return s("twitterAppDescription",e,"rank_math_twitter_app_description")}function te(e){return s("twitterAppIphoneID",e,"rank_math_twitter_app_iphone_id")}function ne(e){return s("twitterAppIphoneName",e,"rank_math_twitter_app_iphone_name")}function re(e){return s("twitterAppIphoneUrl",e,"rank_math_twitter_app_iphone_url")}function ae(e){return s("twitterAppIpadID",e,"rank_math_twitter_app_ipad_id")}function oe(e){return s("twitterAppIpadName",e,"rank_math_twitter_app_ipad_name")}function ie(e){return s("twitterAppIpadUrl",e,"rank_math_twitter_app_ipad_url")}function le(e){return s("twitterAppGoogleplayID",e,"rank_math_twitter_app_googleplay_id")}function ce(e){return s("twitterAppGoogleplayName",e,"rank_math_twitter_app_googleplay_name")}function se(e){return s("twitterAppGoogleplayUrl",e,"rank_math_twitter_app_googleplay_url")}function ue(e){return s("twitterAppCountry",e,"rank_math_twitter_app_country")}function pe(e){return u("isLoaded",e)}function me(e){return u("selectedKeyword",e)}function de(){return u("refreshResults",Date.now())}function he(){return u("isPro",!0)}var fe=n(1),be=n(0),ge=n(16),we=n.n(ge);function ye(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 ve(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ye(Object(n),!0).forEach((function(t){ke(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ye(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ke(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Oe(e){return u("isSchemaEditorOpen",e)}function _e(e){return u("isSchemaTemplatesOpen",e)}function je(e){return u("schemaUpdated",e)}function Ee(e){return u("editingSchemaId",e)}function Te(e){return u("editorTab",e)}function Se(e){return u("templateTab",e)}function Ie(e){return u("editSchemas",e)}function Pe(e){return s("schemas",e)}function Ce(e,t){var n=ve({},Object(i.select)("rank-math").getEditSchemas());return n[e]=t,u("editSchemas",n)}function De(e,t){var n=ve({},Object(i.select)("rank-math").getSchemas());return n[e]=t,s("schemas",n)}function Ne(e){var t=ve({},Object(i.select)("rank-math").getSchemas());return delete t[e],Object(c.doAction)("rank_math_schema_trash",e),s("schemas",t,"rank_math_delete_"+e,"")}function xe(e,t,n){return we()({method:"POST",path:"rankmath/v1/saveTemplate",data:{schema:e,postId:n}}).then((function(n){t({loading:!1,showNotice:!0,postId:n.id}),setTimeout((function(){t({showNotice:!1}),Object(fe.get)(rankMath,"isTemplateScreen",!1)&&(document.title=Object(be.__)("Edit Schema","rank-math"),window.history.pushState(null,"",n.link.replace(/&amp;/g,"&")))}),2e3),rankMath.schemaTemplates.push({schema:e,title:e.metadata.title,type:e["@type"]})})),t({loading:!0}),{type:"DONT_WANT_TO_DO_SOMETHING"}}function Re(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 Ae(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Re(Object(n),!0).forEach((function(t){Me(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Re(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Me(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ue=rankMath.assessor.serpData,Fe=rankMath.assessor.hasRedirection,Le={postID:null,title:Ue.title?Ue.title:Ue.titleTemplate,description:Ue.description,keywords:Ue.focusKeywords,pillarContent:Ue.pillarContent,featuredImage:"",permalink:!1,primaryTerm:Ue.primaryTerm,robots:Ue.robots,advancedRobots:Ue.advancedRobots,canonicalUrl:Ue.canonicalUrl,breadcrumbTitle:Ue.breadcrumbTitle,showScoreFrontend:Ue.showScoreFrontend,redirectionID:Fe?Object(fe.get)(rankMath.assessor,"redirection.id",""):"",redirectionType:Fe?Object(fe.get)(rankMath.assessor,"redirection.header_code",""):"",redirectionUrl:Fe?Object(fe.get)(rankMath.assessor,"redirection.url_to",""):"",facebookTitle:Ue.facebookTitle,facebookImage:Ue.facebookImage,facebookImageID:Ue.facebookImageID,facebookAuthor:Ue.facebookAuthor,facebookDescription:Ue.facebookDescription,facebookHasOverlay:Ue.facebookHasOverlay,facebookImageOverlay:Ue.facebookImageOverlay,twitterTitle:Ue.twitterTitle,twitterImage:Ue.twitterImage,twitterAuthor:Ue.twitterAuthor,twitterImageID:Ue.twitterImageID,twitterCardType:Ue.twitterCardType,twitterUseFacebook:Ue.twitterUseFacebook,twitterDescription:Ue.twitterDescription,twitterHasOverlay:Ue.twitterHasOverlay,twitterImageOverlay:Ue.twitterImageOverlay,twitterPlayerUrl:Ue.twitterPlayerUrl,twitterPlayerSize:Ue.twitterPlayerSize,twitterPlayerStream:Ue.twitterPlayerStream,twitterPlayerStreamCtype:Ue.twitterPlayerStreamCtype,twitterAppDescription:Ue.twitterAppDescription,twitterAppIphoneName:Ue.twitterAppIphoneName,twitterAppIphoneID:Ue.twitterAppIphoneID,twitterAppIphoneUrl:Ue.twitterAppIphoneUrl,twitterAppIpadName:Ue.twitterAppIpadName,twitterAppIpadID:Ue.twitterAppIpadID,twitterAppIpadUrl:Ue.twitterAppIpadUrl,twitterAppGoogleplayName:Ue.twitterAppGoogleplayName,twitterAppGoogleplayID:Ue.twitterAppGoogleplayID,twitterAppGoogleplayUrl:Ue.twitterAppGoogleplayUrl,twitterAppCountry:Ue.twitterAppCountry,schemas:Object(fe.get)(rankMath,"schemas",{}),score:0,dirtyMetadata:{}};function He(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Le,n=arguments.length>1?arguments[1]:void 0,r=Ae({},t.dirtyMetadata);return!1!==n.metaKey&&(r[n.metaKey]=n.metaValue),"RANK_MATH_APP_DATA"===n.type?"dirtyMetadata"===n.key?Ae(Ae({},t),{},{dirtyMetadata:n.value}):Ae(Ae({},t),{},(Me(e={},n.key,n.value),Me(e,"dirtyMetadata",r),e)):t}function ze(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 Be(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ze(Object(n),!0).forEach((function(t){Ge(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ze(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ge(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ke={isLoaded:!1,isPro:!1,selectedKeyword:{tag:"",index:0,data:{value:""}},hasRedirect:rankMath.assessor.hasRedirection&&(!Object(fe.isEmpty)(Object(fe.get)(rankMath.assessor,"redirection.id",""))||!Object(fe.isEmpty)(Object(fe.get)(rankMath.assessor,"redirection.url_to",""))),serpTitle:"",serpDescription:"",isSnippetEditorOpen:!1,snippetPreviewType:"",refreshResults:"",redirectionItem:{},editorTab:"",templateTab:"",editSchemas:{},editingSchemaId:"",isSchemaEditorOpen:!1,isSchemaTemplatesOpen:!1,schemaUpdated:!1};function Ve(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ke,t=arguments.length>1?arguments[1]:void 0;return"RANK_MATH_APP_UI"===t.type?Be(Be({},e),{},Ge({},t.key,t.value)):e}function We(e){return e.appData}function Ye(e){return e.appData.dirtyMetadata}function qe(e){return e.appData.score}function Ze(e){return e.appData.keywords}function $e(e){return e.appData.pillarContent}function Je(e){return e.appData.robots}function Qe(e){return e.appData.advancedRobots}function Xe(e){return e.appData.canonicalUrl}function et(e){return e.appData.breadcrumbTitle}function tt(e){return"todo"}function nt(e){return e.appData.showScoreFrontend}function rt(e){return e.appUi.isLoaded}function at(e){return e.appUi.selectedKeyword}function ot(e){return e.appUi.refreshResults}function it(e){return e.appUi.isPro}function lt(e){return e.appData.facebookTitle}function ct(e){return e.appData.facebookDescription}function st(e){return e.appData.facebookAuthor}function ut(e){return e.appData.facebookImageID}function pt(e){return e.appData.facebookImage}function mt(e){return e.appData.facebookHasOverlay}function dt(e){return""!==e.appData.facebookImageOverlay?e.appData.facebookImageOverlay:"play"}function ht(e){return e.appData.postID}function ft(e){return e.appData.title}function bt(e){return e.appData.permalink}function gt(e){return e.appData.description}function wt(e){return e.appData.featuredImage}function yt(e){var t=e.appData.featuredImage;return'<img src="'.concat(t.source_url,'" alt="').concat(t.alt_text,'" >')}function vt(e){return e.appData.primaryTerm}function kt(e){return e.appData.redirectionID}function Ot(e){return e.appData.redirectionType}function _t(e){return e.appData.redirectionUrl}function jt(e){return e.appUi.redirectionItem}function Et(e){return e.appUi.hasRedirect}var Tt=n(14);function St(e){return Object(Tt.a)(e.appUi.serpTitle)}function It(e){return e.appUi.serpDescription}function Pt(e){return e.appUi.isSnippetEditorOpen}function Ct(e){return e.appUi.snippetPreviewType}function Dt(e){return e.appUi.isSchemaEditorOpen}function Nt(e){return e.appUi.isSchemaTemplatesOpen}function xt(e){return e.appUi.schemaUpdated}function Rt(e){return e.appData.schemas}function At(e){return e.appUi.editSchemas}function Mt(e){return{id:e.appUi.editingSchemaId,data:e.appUi.editSchemas[e.appUi.editingSchemaId]}}function Ut(e){return e.appData.schemas[e.appUi.editingSchemaId]}function Ft(e){return e.appUi.editorTab}function Lt(e){return e.appUi.templateTab}function Ht(e){return e.appData.twitterUseFacebook}function zt(e){return e.appData.twitterCardType}function Bt(e){return e.appData.twitterTitle}function Gt(e){return e.appData.twitterDescription}function Kt(e){return e.appData.twitterAuthor}function Vt(e){return e.appData.twitterImageID}function Wt(e){return e.appData.twitterImage}function Yt(e){return e.appData.twitterHasOverlay}function qt(e){return""!==e.appData.twitterImageOverlay?e.appData.twitterImageOverlay:"play"}function Zt(e){return e.appData.twitterAppDescription}function $t(e){return e.appData.twitterAppIphoneID}function Jt(e){return e.appData.twitterAppIphoneName}function Qt(e){return e.appData.twitterAppIphoneUrl}function Xt(e){return e.appData.twitterAppIpadID}function en(e){return e.appData.twitterAppIpadName}function tn(e){return e.appData.twitterAppIpadUrl}function nn(e){return e.appData.twitterAppGoogleplayID}function rn(e){return e.appData.twitterAppGoogleplayName}function an(e){return e.appData.twitterAppGoogleplayUrl}function on(e){return e.appData.twitterAppCountry}function ln(e){return e.appData.twitterPlayerUrl}function cn(e){return e.appData.twitterPlayerSize}function sn(e){return e.appData.twitterPlayerStream}function un(e){return e.appData.twitterPlayerStreamCtype}var pn=Object(i.registerStore)("rank-math",{reducer:Object(i.combineReducers)(a),selectors:o,actions:r});function mn(){return pn}},,function(e,t,n){"use strict";var r=n(1);t.a=function(e,t,n,a){return""===e||Object(r.isUndefined)(t)?t:(t=Object(r.truncate)(t,{length:n,separator:a||" "})).replace(new RegExp(function(e){return e.replace(/[\\^$*+?.()|[\]{}]/g,"\\$&")}(e),"gi"),(function(e){return'<mark className="highlight">'+e+"</mark>"}))}},function(e,t,n){"use strict";t.a=function(e){return 80<e?"good-fk":50<e?"ok-fk":"bad-fk"}},,function(e,t,n){"use strict";var r=n(3),a=Object(r.createSlotFill)("RankMathAfterFocusKeyword"),o=a.Fill,i=a.Slot,l=function(e){var t=e.children,n=e.className;return wp.element.createElement(o,null,wp.element.createElement("div",{className:n},t))};l.Slot=i,t.a=l},function(e,t,n){"use strict";var r=n(3),a=Object(r.createSlotFill)("RankMathAfterEditor"),o=a.Fill,i=a.Slot,l=function(e){var t=e.children,n=e.className;return wp.element.createElement(o,null,wp.element.createElement(r.PanelRow,{className:n},t))};l.Slot=i,t.a=l},function(e,t,n){"use strict";var r=n(3),a=Object(r.createSlotFill)("RankMathAdvancedTab"),o=a.Fill,i=a.Slot,l=function(e){var t=e.children,n=e.className;return wp.element.createElement(o,null,wp.element.createElement(r.PanelRow,{className:n},t))};l.Slot=i,t.a=l},function(e,t,n){"use strict";var r=n(2),a=n.n(r),o=n(8),i=n(1),l=n(6),c=n(9),s=n(14),u=function(e,t){return e=(e=o.Helpers.cleanText(e)).replace(/\r?\n|\r/g," "),t?Object(i.truncate)(e,{length:t,separator:" "}):e};t.a=function(e){var t=rankMathEditor.assessor.dataCollector.getData(),n=t.excerpt,r=t.content?function(e){if(Object(i.isEmpty)(e))return"";e=e.replace(/\[caption[^\]]*\](.*)\[\/caption\]/g,"");var t=Object(i.filter)(o.Helpers.matchParagraphs(e,!0,!0),(function(e){return""!==a.a.trim(e)}));if(!t.length)return"";var n=rankMathEditor.getPrimaryKeyword();if(""!==n){var r=Object(i.filter)(t,(function(e){return Object(i.includes)(e.toLowerCase(),n.toLowerCase())}));if(0<r.length)return u(r[0],160)}return u(t[0],160)}(t.content.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,"")):"",p=Object(i.isUndefined)(n)||Object(i.isEmpty)(n)?r:n;if(c.a.setVariable("excerpt",p),c.a.setVariable("seo_description",p),""!==(e=Object(s.a)(Object(l.applyFilters)("rankMath/description",e))))return o.Helpers.cleanText(e);if(!Object(i.isUndefined)(n)&&!Object(i.isEmpty)(n))return o.Helpers.cleanText(n);var m=rankMath.assessor.serpData.descriptionTemplate;return Object(i.isUndefined)(m)||""===m?r:o.Helpers.cleanText(m)}},function(e,t,n){"use strict";var r=n(0),a=n(6);function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),rankMath.is_front_page&&(Object(a.addFilter)("rankMath_analysis_contentLength","rank-math",this.contentLength),Object(a.addFilter)("rankMath_analysis_contentLength_boundaries","rank-math",this.contentLengthBoundary))}var t,n,i;return t=e,(n=[{key:"contentLength",value:function(e){return{hasScore:e.hasScore,failed:Object(r.__)("Content is %1$d words long. Consider using at least 300 words.","rank-math"),tooltipText:Object(r.__)("Minimum recommended content length should be 300 words.","rank-math"),emptyContent:Object(r.sprintf)(Object(r.__)("Content should be %1$s long.","rank-math"),'<a href="https://s.rankmath.com/100contentlength" target="_blank">'+Object(r.__)("300 words","rank-math")+"</a>")}}},{key:"contentLengthBoundary",value:function(){return{recommended:{boundary:299,score:8},belowRecommended:{boundary:200,score:5},low:{boundary:50,score:2}}}}])&&o(t.prototype,n),i&&o(t,i),e}();t.a=i},function(e,t,n){"use strict";var r=n(1),a=n(14);function o(e,t,n){var a=0;return!1!==Object(r.get)(n,"pixelWidth",!1)&&(a=Math.min(100,Math.floor(t/n.pixelWidth*100))),Math.max(Math.min(100,Math.floor(e/n.max*100)),a)+"%"}function i(e,t){return e<=t.min||e>t.max}function l(e,t){return e<=t.minWidth||e>t.pixelWidth}t.a=function(e,t){var n=Object(a.a)(e).length,c=0,s=!1;if(!1!==Object(r.get)(t,"pixelWidth",!1)){s=!0;var u=document.createTextNode(e),p=document.createElement("span");p.appendChild(u),p.id="rank-math-width-tester",p.className=t.widthCheckerClass;var m=document.body.appendChild(p);c=document.getElementById("rank-math-width-tester").offsetWidth,m.outerHTML=""}return{left:o(n,c,t),isInvalid:i(n,t),isInvalidWidth:!!s&&l(c,t),count:n+" / "+t.max,pixelWidth:s?c+"px / "+t.pixelWidth+"px":""}}},function(e,t){e.exports=Tagify},function(e,t,n){"use strict";var r=n(1);t.a=function(e,t){var n=Object(r.round)(e/t*100);if(!(100<=n))return 49<n?"test-check-good":30<n?"test-check-ok":"test-check-bad"}},function(e,t){e.exports=wp.htmlEntities},function(e,t,n){"use strict";var r=n(1);t.a=function(){return!(Object(r.isNil)(window.wp)||Object(r.isNil)(wp.data)||Object(r.isNil)(wp.data.select("core/editor"))||!Object(r.isFunction)(wp.data.select("core/editor").getEditedPostAttribute))}},function(e,t,n){"use strict";var r=n(4),a=n(20);t.a=Object(r.withSelect)((function(e){var t=e("rank-math");return{score:t.getAnalysisScore(),isRefreshing:t.isRefreshing()}}))((function(e){var t=e.score;return wp.element.createElement("div",{className:"seo-score "+Object(a.a)(t)},wp.element.createElement("div",{className:"score-text"},t," / 100"))}))},,function(e,t){e.exports=React},function(e,t,n){"use strict";function r(e){return function(){return e}}var a=function(){};a.thatReturns=r,a.thatReturnsFalse=r(!1),a.thatReturnsTrue=r(!0),a.thatReturnsNull=r(null),a.thatReturnsThis=function(){return this},a.thatReturnsArgument=function(e){return e},e.exports=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="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},a=l(n(34)),o=l(n(42)),i=l(n(45));function l(e){return e&&e.__esModule?e:{default:e}}var c=void 0;function s(e,t){var n,i,l,u,p,m,d,h,f=[],b={};for(m=0;m<e.length;m++)if("string"!==(p=e[m]).type){if(!t.hasOwnProperty(p.value)||void 0===t[p.value])throw new Error("Invalid interpolation, missing component node: `"+p.value+"`");if("object"!==r(t[p.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+p.value+"`","\n> "+c);if("componentClose"===p.type)throw new Error("Missing opening component token: `"+p.value+"`");if("componentOpen"===p.type){n=t[p.value],l=m;break}f.push(t[p.value])}else f.push(p.value);return n&&(u=function(e,t){var n,r,a=t[e],o=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===a.value){if("componentOpen"===n.type){o++;continue}if("componentClose"===n.type){if(0===o)return r;o--}}throw new Error("Missing closing component token `"+a.value+"`")}(l,e),d=s(e.slice(l+1,u),t),i=a.default.cloneElement(n,{},d),f.push(i),u<e.length-1&&(h=s(e.slice(u+1),t),f=f.concat(h))),1===f.length?f[0]:(f.forEach((function(e,t){e&&(b["interpolation-child-"+t]=e)})),(0,o.default)(b))}t.default=function(e){var t=e.mixedString,n=e.components,a=e.throwErrors;if(c=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(a)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var o=(0,i.default)(t);try{return s(o,n)}catch(e){if(a)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},function(e,t,n){"use strict";var r=n(1),a=n(0),o=n(16),i=n.n(o),l=n(11),c=n(5),s=n(4),u=n(3);function p(e){return(p="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})(e)}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=w(e);if(t){var a=w(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return b(this,n)}}function b(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?g(e):t}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var y=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(p,e);var t,n,o,c=f(p);function p(){var e;return m(this,p),(e=c.apply(this,arguments)).onChange=e.onChange.bind(g(e)),e.state={loading:!0,availableTerms:[],selectedTerms:[]},e}return t=p,(n=[{key:"componentDidMount",value:function(){this.fetchTerms()}},{key:"componentWillUnmount",value:function(){Object(r.invoke)(this.fetchRequest,["abort"])}},{key:"componentDidUpdate",value:function(e,t){if(e.selectedTermIds.length<this.props.selectedTermIds.length){var n=Object(r.difference)(this.props.selectedTermIds,e.selectedTermIds)[0];if(!this.termIsAvailable(n))return void this.fetchTerms()}e.selectedTermIds!==this.props.selectedTermIds&&this.updateSelectedTerms(this.state.availableTerms,this.props.selectedTermIds),t.selectedTerms!==this.state.selectedTerms&&this.handleSelectedTermsChange()}},{key:"termIsAvailable",value:function(e){return!!this.state.availableTerms.find((function(t){return t.id===e}))}},{key:"updateSelectedTerms",value:function(e,t){this.setState({selectedTerms:this.filterSelectedTerms(e,t)})}},{key:"handleSelectedTermsChange",value:function(){var e=this.state.selectedTerms,t=this.props.primaryTermID;e.find((function(e){return e.id===t}))||this.onChange(e.length?e[0].id:"")}},{key:"fetchTerms",value:function(){var e=this,t=this.props.taxonomy;t&&(this.fetchRequest=i()({path:Object(l.addQueryArgs)("/wp/v2/".concat(t.rest_base),{per_page:-1,orderby:"count",order:"desc",_fields:"id,name"})}),this.fetchRequest.then((function(t){e.fetchRequest=null,e.setState({loading:!1,availableTerms:t,selectedTerms:e.filterSelectedTerms(t,e.props.selectedTermIds)})}),(function(t){"abort"!==t.statusText&&(e.fetchRequest=null,e.setState({loading:!1}))})))}},{key:"filterSelectedTerms",value:function(e,t){return e.filter((function(e){return t.includes(e.id)}))}},{key:"onChange",value:function(e){Object(s.dispatch)("rank-math").updatePrimaryTermID(e,this.props.taxonomy.slug)}},{key:"shouldComponentUpdate",value:function(e,t){return this.props.selectedTermIds!==e.selectedTermIds||this.props.primaryTermID!==e.primaryTermID||this.state.selectedTerms!==t.selectedTerms}},{key:"render",value:function(){return this.state.selectedTerms.length<2?null:this.state.loading?[wp.element.createElement(u.Spinner,{key:"spinner"}),wp.element.createElement("p",{key:"spinner-text"},"Loading")]:wp.element.createElement(u.SelectControl,{label:Object(a.__)("Select Primary Term","rank-math"),value:this.props.primaryTermID,options:this.state.selectedTerms.map((function(e){return{value:e.id,label:Object(r.unescape)(e.name)}})),onChange:this.onChange})}}])&&d(t.prototype,n),o&&d(t,o),p}(c.Component);t.a=y},,function(e,t,n){"use strict";var r=n(0),a=n(4),o=n(6),i=n(5),l=n(10),c=n.n(l),s=n(1),u=n(7),p=n(3);function m(e){return(m="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})(e)}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=y(e);if(t){var a=y(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return w(this,n)}}function w(e,t){return!t||"object"!==m(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function v(){return(v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function k(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var O=function(e){var t=e.tabId,n=e.onClick,r=e.children,a=e.selected,o=k(e,["tabId","onClick","children","selected"]);return wp.element.createElement(p.Button,v({role:"tab",tabIndex:a?null:-1,"aria-selected":a,id:t,onClick:n},o),r)},_=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b(e,t)}(o,e);var t,n,r,a=g(o);function o(){var e;h(this,o),(e=a.apply(this,arguments)).handleClick=function(t){var n=e.props.onSelect,r=void 0===n?s.noop:n;e.setState({selected:t}),r(t)},e.onNavigate=function(e,t){t.click()},e.toggle=function(){e.setState((function(e){return{isOpen:!e.isOpen}}))};var t=e.props,n=t.tabs,r=t.initialTabName;return e.state={isOpen:!1,selected:r||(n.length>0?n[0].name:null)},e}return t=o,(n=[{key:"render",value:function(){var e=this,t=this.state.selected,n=this.props,r=n.activeClass,a=void 0===r?"is-active":r,o=n.className,i=n.instanceId,l=n.orientation,u=void 0===l?"horizontal":l,m=n.tabs,h=Object(s.find)(m,{name:t}),f=i+"-"+h.name,b=m.slice(4);return wp.element.createElement("div",{className:o},wp.element.createElement(p.NavigableMenu,{role:"tablist",orientation:u,onNavigate:this.onNavigate,className:"components-tab-panel__tabs"},m.slice(0,4).map((function(n){return wp.element.createElement(O,{className:c()("components-tab-panel__tabs-item",n.className,d({},a,n.name===t)),tabId:i+"-"+n.name,"aria-controls":i+"-"+n.name+"-view",selected:n.name===t,key:n.name,onClick:Object(s.partial)(e.handleClick,n.name)},n.title)})),!Object(s.isEmpty)(b)&&wp.element.createElement(p.Button,{onClick:this.toggle,"aria-expanded":this.state.isOpen,className:c()("components-tab-panel__tabs-item",{active:this.state.isOpen})},wp.element.createElement("i",{className:"rm-icon rm-icon-plus"}),wp.element.createElement("span",null,"More")),this.state.isOpen&&wp.element.createElement("div",{className:"rank-math-extra-menu"},b.map((function(n){return wp.element.createElement(O,{className:c()("components-tab-panel__tabs-item",n.className,d({},a,n.name===t)),tabId:i+"-"+n.name,"aria-controls":i+"-"+n.name+"-view",selected:n.name===t,key:n.name,onClick:Object(s.partial)(e.handleClick,n.name)},n.title)})))),h&&wp.element.createElement("div",{"aria-labelledby":f,role:"tabpanel",id:f+"-view",className:"components-tab-panel__tab-content"},this.props.children(h)))}}])&&f(t.prototype,n),r&&f(t,r),o}(i.Component),j=Object(u.withInstanceId)(_),E=n(27),T=function(e){var t=Object(E.a)(e.source,e),n=t.pixelWidth?" (".concat(t.pixelWidth,")"):"";return wp.element.createElement("span",{className:c()("length-indicator-wrapper",{invalid:t.isInvalid})},wp.element.createElement("span",{className:"length-count"},t.count,n),wp.element.createElement("span",{className:"length-indicator"},wp.element.createElement("span",{style:{left:t.left}})))},S=n(30),I=n(36),P=n.n(I),C=function(e){var t=e.tags,n=e.components,r=e.children;return n=n||{},!1===Object(s.isUndefined)(t)&&(t=t.split(",")).forEach((function(e){var t=e;n[e]=wp.element.createElement(t,null)})),P()({mixedString:r,components:n})};function D(e){return(D="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})(e)}function N(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function x(e,t){return(x=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function R(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=U(e);if(t){var a=U(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return A(this,n)}}function A(e,t){return!t||"object"!==D(t)&&"function"!=typeof t?M(e):t}function M(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U(e){return(U=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var F=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&x(e,t)}(l,e);var t,n,a,o=R(l);function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=o.call(this,e)).state={},t.state.variables=t.getFiltered(),t.state.filtered=t.state.variables,t.state.display="none",t.state.isOpen=!1,t.handleOutsideClick=t.handleOutsideClick.bind(M(t)),t}return t=l,(n=[{key:"getFiltered",value:function(){var e=this.props.exclude,t=Object.values(rankMath.variables);return Object(s.isUndefined)(e)?t:t.filter((function(t){return!e.includes(t.variable)}))}},{key:"render",value:function(){var e=this;return wp.element.createElement(i.Fragment,null,wp.element.createElement("div",{className:"rank-math-variables-dropdown",style:{display:this.state.display},ref:function(t){e.node=t}},wp.element.createElement(p.TextControl,{autoComplete:"off",placeholder:Object(S.decodeEntities)(Object(r.__)("Search &hellip;","rank-math")),onChange:function(t){e.handleSearch(t)}}),wp.element.createElement("ul",null,this.state.filtered.map((function(t,n){return wp.element.createElement("li",{key:n,"data-var":t.variable,role:"presentation",onClick:function(){e.props.onClick(t)}},wp.element.createElement("strong",null,t.name),wp.element.createElement("span",null,wp.element.createElement(C,{tags:"strong"},t.description.replace("<strong>","{{strong}}").replace("</strong>","{{/strong}}"))))}),this))),wp.element.createElement(p.Button,{icon:"arrow-down-alt2",onClick:function(){e.toggle()}}))}},{key:"toggle",value:function(){this.state.isOpen?document.removeEventListener("click",this.handleOutsideClick,!1):document.addEventListener("click",this.handleOutsideClick,!1),this.setState({display:this.state.isOpen?"none":"block",isOpen:!this.state.isOpen})}},{key:"handleOutsideClick",value:function(e){this.node.contains(e.target)||this.toggle()}},{key:"handleSearch",value:function(e){var t=e.toLowerCase();2>t.length?this.setState({filtered:this.state.variables}):this.setState({filtered:this.state.variables.filter((function(e){return-1!==Object.values(e).join(" ").toLowerCase().indexOf(t)}))})}}])&&N(t.prototype,n),a&&N(t,a),l}(i.Component),L=Object(u.compose)(Object(a.withSelect)((function(e){var t=e("rank-math");return{title:t.getTitle(),serpTitle:t.getSerpTitle()}})),Object(a.withDispatch)((function(e){return{updateTitle:function(t){e("rank-math").updateSerpTitle(t),e("rank-math").updateTitle(t)}}})))((function(e){var t=e.title,n=e.serpTitle,a=e.updateTitle;return wp.element.createElement("div",{className:"field-group"},wp.element.createElement("label",{htmlFor:"rank-math-editor-title"},Object(r.__)("Title","rank-math")),wp.element.createElement(T,{source:n,min:15,max:60,pixelWidth:580,widthCheckerClass:"title"}),wp.element.createElement("div",{className:"variable-group"},wp.element.createElement(p.TextControl,{id:"rank-math-editor-title",value:t,placeholder:rankMath.assessor.serpData.titleTemplate,help:Object(r.__)("This is what will appear in the first line when this post shows up in the search results.","rank-math"),onChange:a}),wp.element.createElement(F,{exclude:["seo_title","seo_description"],onClick:function(e){return a(t+" %"+e.variable+"%")}})))})),H=n(8),z=n(11),B=Object(u.compose)(Object(a.withSelect)((function(){var e=rankMathEditor.assessor.dataCollector;return{permalink:e.getSlug(),serpPermalink:e.getPermalink()}})),Object(a.withDispatch)((function(){return{updatePermalink:function(e){rankMathEditor.updatePermalink(H.Helpers.sanitizeText(e))},updatePermalinkSanitize:function(e){rankMathEditor.updatePermalinkSanitize(H.Helpers.sanitizeText(e))}}})))((function(e){var t=e.permalink,n=e.serpPermalink,a=e.updatePermalink,o=e.updatePermalinkSanitize;return wp.element.createElement("div",{className:"field-group"},wp.element.createElement("label",{htmlFor:"rank-math-editor-permalink"},Object(r.__)("Permalink","rank-math")),wp.element.createElement(T,{source:Object(z.safeDecodeURIComponent)(n),min:5,max:75}),wp.element.createElement(p.TextControl,{id:"rank-math-editor-permalink",value:rankMath.is_front_page?"/":Object(z.safeDecodeURIComponent)(t),onChange:a,help:rankMath.is_front_page?Object(r.__)("Editing Homepage permalink is not possible.","rank-math"):Object(r.__)("This is the unique URL of this page, displayed below the post title in the search results.","rank-math"),disabled:rankMath.is_front_page?"disabled":"",onBlur:function(e){o(e.target.value)}}))})),G=n(14),K=Object(u.compose)(Object(a.withSelect)((function(e){var t=e("rank-math");return{description:t.getDescription(),serpDescription:t.getSerpDescription()}})),Object(a.withDispatch)((function(e){return{updateDescription:function(t){e("rank-math").updateSerpDescription(t),e("rank-math").updateDescription(t)}}})))((function(e){var t=e.description,n=e.serpDescription,a=e.updateDescription;return wp.element.createElement("div",{className:"field-group"},wp.element.createElement("label",{htmlFor:"rank-math-editor-description"},Object(r.__)("Description","rank-math")),wp.element.createElement(T,{source:n,min:80,max:160,pixelWidth:920,widthCheckerClass:"description"}),wp.element.createElement("div",{className:"variable-group"},wp.element.createElement(p.TextareaControl,{id:"rank-math-editor-description",value:Object(G.a)(t),placeholder:n||rankMath.assessor.serpData.descriptionTemplate,help:Object(r.__)("This is what will appear as the description when this post shows up in the search results.","rank-math"),onChange:a}),wp.element.createElement(F,{exclude:["seo_title","seo_description"],onClick:function(e){return a(t+" %"+e.variable+"%")}})))})),V=Object(u.compose)(Object(a.withSelect)((function(e){return{type:e("rank-math").getSnippetPreviewType()}})),Object(a.withDispatch)((function(e,t){return{updatePreviewType:function(n){e("rank-math").updateSnippetPreviewType(n===t.type?"":n)}}})))((function(e){var t=e.type,n=e.updatePreviewType,r=c()("button button-secondary button-small",{active:"desktop"===t}),a=c()("button button-secondary button-small",{active:"mobile"===t});return wp.element.createElement("div",{className:"rank-math-button-devices alignright"},wp.element.createElement("div",{onClick:function(){return n("desktop")},className:r},wp.element.createElement("i",{className:"rm-icon rm-icon-desktop"})),wp.element.createElement("div",{onClick:function(){return n("mobile")},className:a},wp.element.createElement("i",{className:"rm-icon rm-icon-mobile"})))})),W=n(32),Y=n(19),q=function(e,t){for(var n=[],r=1;r<=e;r++)n.push(wp.element.createElement(p.Dashicon,{key:Math.random(),size:"13",icon:"star-"+t}));return n},Z=Object(a.withSelect)((function(e){var t=e("rank-math").getSchemas();return{schema:Object(s.find)(t,(function(e){return!Object(s.isEmpty)(e.metadata.isPrimary)}))}}))((function(e){var t=e.schema;if(Object(s.isEmpty)(t))return null;var n=Object(s.get)(t,"review.reviewRating",{}),a=n.ratingValue;if(Object(s.isEmpty)(a))return null;Object(s.get)(n,"worstRating",1);var o=Object(s.get)(n,"bestRating",5);return wp.element.createElement("div",{className:"rank-math-rating-preview"},wp.element.createElement("div",{className:"serp-ratings"},q(o,"filled"),function(e,t,n){return e*=100/n,wp.element.createElement("div",{className:"serp-result",style:{width:e+"%"}},q(n,"filled"))}(a,0,o)),wp.element.createElement("span",{className:"serp-rating-label"},Object(r.__)("Rating: ","rank-math")),wp.element.createElement("span",{className:"serp-rating-value"},a))})),$=function(e,t){for(var n=[],r=1;r<=e;r++)n.push(wp.element.createElement(p.Dashicon,{key:Math.random(),size:"13",icon:"star-"+t}));return n},J=Object(a.withSelect)((function(e){var t=e("rank-math").getSchemas();return{schema:Object(s.find)(t,(function(e){return Object(s.includes)(["Event"],e["@type"])}))}}))((function(e){var t=e.schema;if(Object(s.isEmpty)(t))return null;var n=Object(s.get)(t,"review.reviewRating",{}),a=n.ratingValue;if(Object(s.isEmpty)(a))return null;Object(s.get)(n,"worstRating",1);var o=Object(s.get)(n,"bestRating",5);return wp.element.createElement("div",{className:"rank-math-rating-preview"},wp.element.createElement("div",{className:"serp-ratings"},$(o,"filled"),function(e,t,n){return e*=100/n,wp.element.createElement("div",{className:"serp-result",style:{width:e+"%"}},$(n,"filled"))}(a,0,o)),wp.element.createElement("span",{className:"serp-rating-label"},Object(r.__)("Rating: ","rank-math")),wp.element.createElement("span",{className:"serp-rating-value"},a))}));function Q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var X=Object(a.withSelect)((function(e){var t=e("rank-math"),n=t.getRobots();return{title:t.getSerpTitle(),permalink:rankMathEditor.assessor.dataCollector.getPermalink(),description:t.getSerpDescription(),previewType:t.getSnippetPreviewType(),isNoIndex:"noindex"in n,keyword:t.getSelectedKeyword().data.value}}))((function(e){var t,n=e.title,a=e.permalink,o=e.description,i=e.previewType,l=void 0===i?"desktop":i,s=e.isNoIndex,u=e.keyword,p=e.onClick,m=e.showScore,d=void 0===m||m,h=e.showDevices,f=void 0!==h&&h,b=c()("serp-preview",(Q(t={"expanded-preview":""!==l},"".concat(l,"-preview"),""!==l&&f),Q(t,"noindex-preview",s),t)),g=rankMathEditor.assessor.getResearch("slugify")(u);return wp.element.createElement("div",{className:b},wp.element.createElement("div",{className:"serp-preview-title","data-title":Object(r.__)("Preview","rank-math"),"data-desktop":Object(r.__)("Desktop Preview","rank-math"),"data-mobile":Object(r.__)("Mobile Preview","rank-math")},d&&wp.element.createElement(W.a,null)," ",f&&wp.element.createElement(V,null)),wp.element.createElement("div",{className:"serp-preview-wrapper"},wp.element.createElement("div",{className:"serp-preview-bg"},wp.element.createElement("div",{className:"serp-preview-input"},wp.element.createElement("input",{type:"text",value:u||Object(r.__)("Rank Math","rank-math"),disabled:!0}),wp.element.createElement("span",{className:"serp-icon-search"},wp.element.createElement("svg",{focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},wp.element.createElement("path",{d:"M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}))),wp.element.createElement("span",{className:"serp-icon-mic"})),wp.element.createElement("div",{className:"serp-preview-menus"},wp.element.createElement("ul",null,wp.element.createElement("li",{className:"current"},wp.element.createElement("img",{src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgyNHYyNEgweiIvPjxwYXRoIGZpbGw9IiMzNEE4NTMiIGQ9Ik0xMCAydjJhNiA2IDAgMCAxIDYgNmgyYTggOCAwIDAgMC04LTh6Ii8+PHBhdGggZmlsbD0iI0VBNDMzNSIgZD0iTTEwIDRWMmE4IDggMCAwIDAtOCA4aDJjMC0zLjMgMi43LTYgNi02eiIvPjxwYXRoIGZpbGw9IiNGQkJDMDQiIGQ9Ik00IDEwSDJhOCA4IDAgMCAwIDggOHYtMmMtMy4zIDAtNi0yLjY5LTYtNnoiLz48cGF0aCBmaWxsPSIjNDI4NUY0IiBkPSJNMjIgMjAuNTlsLTUuNjktNS42OUE3Ljk2IDcuOTYgMCAwIDAgMTggMTBoLTJhNiA2IDAgMCAxLTYgNnYyYzEuODUgMCAzLjUyLS42NCA0Ljg4LTEuNjhsNS42OSA1LjY5TDIyIDIwLjU5eiIvPjwvc3ZnPgo=",alt:"","data-atf":"1"}),Object(r.__)("All","rank-math")),wp.element.createElement("li",null,wp.element.createElement("svg",{focusable:"false",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),wp.element.createElement("path",{d:"M14 13l4 5H6l4-4 1.79 1.78L14 13zm-6.01-2.99A2 2 0 0 0 8 6a2 2 0 0 0-.01 4.01zM22 5v14a3 3 0 0 1-3 2.99H5c-1.64 0-3-1.36-3-3V5c0-1.64 1.36-3 3-3h14c1.65 0 3 1.36 3 3zm-2.01 0a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h7v-.01h7a1 1 0 0 0 1-1V5z"}))," ",Object(r.__)("Images","rank-math")),wp.element.createElement("li",null,wp.element.createElement("svg",{focusable:"false",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{clipRule:"evenodd",d:"M0 0h24v24H0z",fill:"none"}),wp.element.createElement("path",{clipRule:"evenodd",d:"M10 16.5l6-4.5-6-4.5v9zM5 20h14a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1zm14.5 2H5a3 3 0 0 1-3-3V4.4A2.4 2.4 0 0 1 4.4 2h15.2A2.4 2.4 0 0 1 22 4.4v15.1a2.5 2.5 0 0 1-2.5 2.5z",fillRule:"evenodd"}))," ",Object(r.__)("Videos","rank-math")),wp.element.createElement("li",null,wp.element.createElement("svg",{focusable:"false",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),wp.element.createElement("path",{d:"M12 11h6v2h-6v-2zm-6 6h12v-2H6v2zm0-4h4V7H6v6zm16-7.22v12.44c0 1.54-1.34 2.78-3 2.78H5c-1.64 0-3-1.25-3-2.78V5.78C2 4.26 3.36 3 5 3h14c1.64 0 3 1.25 3 2.78zM19.99 12V5.78c0-.42-.46-.78-1-.78H5c-.54 0-1 .36-1 .78v12.44c0 .42.46.78 1 .78h14c.54 0 1-.36 1-.78V12zM12 9h6V7h-6v2z"}))," ",Object(r.__)("News","rank-math")),wp.element.createElement("li",null,wp.element.createElement("svg",{focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},wp.element.createElement("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}))," ","More")),wp.element.createElement("ul",{className:"menus-right"},wp.element.createElement("li",null,Object(r.__)("Settings","rank-math")),wp.element.createElement("li",null,Object(r.__)("Tools","rank-math")))),wp.element.createElement("div",{className:"serp-preview-result-stats"},Object(r.__)("About 43,700,000 results (0.32 seconds) ","rank-math"))),wp.element.createElement("div",{className:"serp-preview-body",role:"button",tabIndex:0,onClick:function(){p&&p()}},wp.element.createElement("div",{className:"group"},wp.element.createElement("img",{src:rankMath.siteFavIcon,width:"16",height:"16",className:"serp-preview-favicon",alt:""}),wp.element.createElement("div",{className:"serp-url",dangerouslySetInnerHTML:{__html:Object(Y.a)(g,H.Helpers.sanitizeText(Object(z.safeDecodeURIComponent)(a)),75,/-? +/)}})),wp.element.createElement("div",{className:"group"},wp.element.createElement("h5",{className:"serp-title",dangerouslySetInnerHTML:{__html:Object(Y.a)(u,H.Helpers.sanitizeText(n),60)}})),wp.element.createElement(Z,null),wp.element.createElement("div",{className:"group"},wp.element.createElement("div",{className:"serp-description",dangerouslySetInnerHTML:{__html:Object(Y.a)(u,H.Helpers.sanitizeText(o),160)}})),wp.element.createElement(J,null)),wp.element.createElement("div",{className:"serp-preview-noindex"},wp.element.createElement("h3",null,Object(r.__)("Noindex robots meta is enabled","rank-math")),wp.element.createElement("p",null,Object(r.__)("This page will not appear in search results. You can disable noindex in the Advanced tab.","rank-math")))))})),ee=Object(a.withSelect)((function(e){return{isNoIndex:"noindex"in e("rank-math").getRobots()}}))((function(){return wp.element.createElement("div",{className:"rank-math-editor-general"},wp.element.createElement(X,{showScore:!1,showDevices:!0}),wp.element.createElement(L,null),wp.element.createElement(B,null),wp.element.createElement(K,null))})),te=n(9),ne=function(e){var t=c()("rank-math-social-preview","rank-math-social-preview-"+e.network,e.cardType);return wp.element.createElement("div",{className:t},wp.element.createElement("div",{className:"rank-math-social-preview-item"},wp.element.createElement("div",{className:"rank-math-social-preview-meta"},wp.element.createElement("div",{className:"social-profile-image"}),e.children),wp.element.createElement("div",{className:"rank-math-social-preview-item-wrapper"},wp.element.createElement("div",{className:"rank-math-social-preview-image"},wp.element.createElement("img",{className:"rank-math-social-image-thumbnail",src:e.image,alt:""}),e.hasOverlay&&e.imageOverlay&&wp.element.createElement("img",{src:rankMath.overlayImages[e.imageOverlay].url,className:"rank-math-social-preview-image-overlay overlay-position-"+rankMath.overlayImages[e.imageOverlay].position,alt:""})),wp.element.createElement("div",{className:"rank-math-social-preview-caption"},"facebook"===e.network&&wp.element.createElement("h4",{className:"rank-math-social-preview-publisher"},e.siteurl),wp.element.createElement("h3",{className:"rank-math-social-preview-title"},e.title?te.a.swap(e.title):e.serpTitle),wp.element.createElement("p",{className:"rank-math-social-preview-description"},e.description?te.a.swap(e.description):e.serpDescription),"twitter"===e.network&&wp.element.createElement(i.Fragment,null,wp.element.createElement("h4",{className:"rank-math-social-preview-publisher"},wp.element.createElement(p.Dashicon,{icon:"admin-links"}),e.siteurl))))))},re=n(12),ae=function(e){return wp.element.createElement("div",{className:"components-base-control field-group"},wp.element.createElement(re.MediaUpload,{allowedTypes:["image"],multiple:!1,value:e.imageID,render:function(t){var n=t.open;return wp.element.createElement(i.Fragment,null,wp.element.createElement(p.Button,{onClick:n,className:"button",isPrimary:!0},e.imageID>0?Object(r.__)("Replace Image","rank-math"):Object(r.__)("Add Image","rank-math")),e.imageID>0&&wp.element.createElement(p.Button,{className:"button",isDestructive:!0,isLink:!0,onClick:e.removeImage},Object(r.__)("Remove Image","rank-math")))},onSelect:e.updateImage}),wp.element.createElement("p",{className:"components-base-control__help"},Object(r.__)("Upload at least 600x315px image. Recommended size is 1200x630px.","rank-math")),wp.element.createElement("div",{className:"notice notice-warning inline hidden"},wp.element.createElement("p",null,Object(r.__)("Image is smaller than the minimum size, please select a different image.","rank-math"))))};function oe(){var e=rankMath.overlayImages,t=[];return Object.keys(e).forEach((function(n){t.push({label:e[n].name,value:n})})),t}function ie(){return(ie=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var le=Object(u.compose)(Object(a.withSelect)((function(e){var t=e("rank-math"),n=function(){if(t.getFacebookImage())return t.getFacebookImage();var e=t.getFeaturedImage();return Object(s.isUndefined)(e)||""===e?rankMath.defautOgImage:t.getFeaturedImage().source_url}();return{title:t.getFacebookTitle(),description:t.getFacebookDescription(),serpTitle:t.getSerpTitle(),serpDescription:t.getSerpDescription(),author:t.getFacebookAuthor(),image:n,imageID:t.getFacebookImageID(),hasOverlay:t.getFacebookHasOverlay(),imageOverlay:t.getFacebookImageOverlay()}})),Object(a.withDispatch)((function(e){return{removeImage:function(){e("rank-math").updateFacebookImage(""),e("rank-math").updateFacebookImageID(0),e("rank-math").updateFacebookHasOverlay(!1)},updateImage:function(t){e("rank-math").updateFacebookImage(t.url),e("rank-math").updateFacebookImageID(t.id)},updateTitle:function(t){e("rank-math").updateFacebookTitle(t)},updateDescription:function(t){e("rank-math").updateFacebookDescription(t)},updateImageOverlay:function(t){e("rank-math").updateFacebookImageOverlay(t)},toggleOverlay:function(t){e("rank-math").updateFacebookHasOverlay(t)}}})))((function(e){return wp.element.createElement(i.Fragment,null,wp.element.createElement(ne,ie({},e,{network:"facebook",siteurl:rankMath.parentDomain}),wp.element.createElement("div",{className:"social-name"},rankMath.assessor.serpData.authorName),wp.element.createElement("div",{className:"social-time"},wp.element.createElement("span",null,Object(r.__)("2 hrs","rank-math")),wp.element.createElement("span",null,wp.element.createElement(p.Dashicon,{icon:"admin-site",size:"12"})))),wp.element.createElement("div",{className:"notice notice-alt notice-info components-base-control"},wp.element.createElement("p",null,Object(r.__)("Customize the title, description and images of your post used while sharing on Facebook and Twitter.","rank-math")," ",wp.element.createElement("a",{href:"https://rankmath.com/kb/meta-box-social-tab/",target:"_blank",rel:"noreferrer noopener"},Object(r.__)("Read more","rank-math")))),wp.element.createElement(ae,e),wp.element.createElement("div",{className:"field-group"},wp.element.createElement(p.TextControl,{label:Object(r.__)("Title","rank-math"),value:e.title,placeholder:e.serpTitle,onChange:e.updateTitle})),wp.element.createElement("div",{className:"field-group"},wp.element.createElement(p.TextareaControl,{label:Object(r.__)("Description","rank-math"),value:e.description,placeholder:e.serpDescription,onChange:e.updateDescription})),wp.element.createElement("div",{className:"field-group"},wp.element.createElement(p.ToggleControl,{label:Object(r.__)("Add icon overlay to thumbnail","rank-math"),checked:e.hasOverlay,onChange:e.toggleOverlay}),wp.element.createElement("div",{className:e.hasOverlay?"components-base-control":"hidden"},wp.element.createElement(p.SelectControl,{value:e.imageOverlay,label:Object(r.__)("Icon overlay","rank-math"),options:oe(),onChange:e.updateImageOverlay}),wp.element.createElement("div",{className:"notice notice-alt notice-warning"},wp.element.createElement("p",null,Object(r.__)("Please be careful with this option. Although this option will help increase CTR on Facebook, it might get you penalised if over-used.","rank-math"))))))})),ce=Object(u.compose)(Object(a.withSelect)((function(e){var t=e("rank-math");return{country:t.getTwitterAppCountry(),description:t.getTwitterAppDescription(),iphoneName:t.getTwitterAppIphoneName(),iphoneID:t.getTwitterAppIphoneID(),iphoneUrl:t.getTwitterAppIphoneUrl(),ipadName:t.getTwitterAppIpadName(),ipadID:t.getTwitterAppIpadID(),ipadUrl:t.getTwitterAppIpadUrl(),googleplayName:t.getTwitterAppGoogleplayName(),googleplayID:t.getTwitterAppGoogleplayID(),googleplayUrl:t.getTwitterAppGoogleplayUrl()}})),Object(a.withDispatch)((function(e){return{updateAppIphoneName:function(t){e("rank-math").updateTwitterAppIphoneName(t)},updateAppIphoneID:function(t){e("rank-math").updateTwitterAppIphoneID(t)},updateAppIphoneUrl:function(t){e("rank-math").updateTwitterAppIphoneUrl(t)},updateAppIpadName:function(t){e("rank-math").updateTwitterAppIpadName(t)},updateAppIpadID:function(t){e("rank-math").updateTwitterAppIpadID(t)},updateAppIpadUrl:function(t){e("rank-math").updateTwitterAppIpadUrl(t)},updateAppGoogleplayName:function(t){e("rank-math").updateTwitterAppGoogleplayName(t)},updateAppGoogleplayID:function(t){e("rank-math").updateTwitterAppGoogleplayID(t)},updateAppGoogleplayUrl:function(t){e("rank-math").updateTwitterAppGoogleplayUrl(t)},updateAppDescription:function(t){e("rank-math").updateTwitterAppDescription(t)},updateAppCountry:function(t){e("rank-math").updateTwitterAppCountry(t)}}})))((function(e){return wp.element.createElement(i.Fragment,null,wp.element.createElement(p.TextControl,{value:e.description,label:Object(r.__)("App Description","rank-math"),help:Object(r.__)("You can use this as a more concise description than what you may have on the app store. This field has a maximum of 200 characters. (optional)","rank-math"),onChange:e.updateAppDescription}),function(e){return wp.element.createElement(i.Fragment,null,wp.element.createElement(p.TextControl,{value:e.iphoneName,label:Object(r.__)("iPhone App Name","rank-math"),help:Object(r.__)("The name of your app to show.","rank-math"),onChange:e.updateAppIphoneName}),wp.element.createElement(p.TextControl,{value:e.iphoneID,label:Object(r.__)("iPhone App ID","rank-math"),help:Object(r.__)("The numeric representation of your app ID in the App Store.","rank-math"),onChange:e.updateAppIphoneID}),wp.element.createElement(p.TextControl,{value:e.iphoneUrl,label:Object(r.__)("iPhone App URL","rank-math"),help:Object(r.__)("Your app's custom URL scheme (must include ://).","rank-math"),onChange:e.updateAppIphoneUrl}))}(e),function(e){return wp.element.createElement(i.Fragment,null,wp.element.createElement(p.TextControl,{value:e.ipadName,label:Object(r.__)("iPad App Name","rank-math"),help:Object(r.__)("The name of your app to show.","rank-math"),onChange:e.updateAppIpadName}),wp.element.createElement(p.TextControl,{value:e.ipadID,label:Object(r.__)("iPad App ID","rank-math"),help:Object(r.__)("The numeric representation of your app ID in the App Store.","rank-math"),onChange:e.updateAppIpadID}),wp.element.createElement(p.TextControl,{value:e.ipadUrl,label:Object(r.__)("iPad App URL","rank-math"),help:Object(r.__)("Your app's custom URL scheme (must include ://).","rank-math"),onChange:e.updateAppIpadUrl}))}(e),function(e){return wp.element.createElement(i.Fragment,null,wp.element.createElement(p.TextControl,{value:e.googleplayName,label:Object(r.__)("Google Play App Name","rank-math"),help:Object(r.__)("The name of your app to show.","rank-math"),onChange:e.updateAppGoogleplayName}),wp.element.createElement(p.TextControl,{value:e.googleplayID,label:Object(r.__)("Google Play App ID","rank-math"),help:Object(r.__)("Your app ID in the Google Play (.i.e. com.android.app)","rank-math"),onChange:e.updateAppGoogleplayID}),wp.element.createElement(p.TextControl,{value:e.googleplayUrl,label:Object(r.__)("Google Play App URL","rank-math"),help:Object(r.__)("Your app's custom URL scheme (must include ://).","rank-math"),onChange:e.updateAppGoogleplayUrl}))}(e),wp.element.createElement(p.TextControl,{value:e.country,label:Object(r.__)("App Country","rank-math"),help:Object(r.__)("If your application is not available in the US App Store, you must set this value to the two-letter country code for the App Store that contains your application.","rank-math"),onChange:e.updateAppCountry}))})),se=Object(u.compose)(Object(a.withSelect)((function(e){var t=e("rank-math");return{url:t.getTwitterPlayerUrl(),size:t.getTwitterPlayerSize(),stream:t.getTwitterPlayerStream(),ctype:t.getTwitterPlayerStreamCtype()}})),Object(a.withDispatch)((function(e){return{updatePlayerUrl:function(t){e("rank-math").updateTwitterPlayerUrl(t)},updatePlayerSize:function(t){e("rank-math").updateTwitterPlayerSize(t)},updatePlayerStreamUrl:function(t){e("rank-math").updateTwitterPlayerStreamUrl(t)},updatePlayerStreamCtype:function(t){e("rank-math").updateTwitterPlayerStreamCtype(t)}}})))((function(e){return wp.element.createElement(i.Fragment,null,wp.element.createElement(p.TextControl,{value:e.url,label:Object(r.__)("Player URL","rank-math"),help:Object(r.__)("HTTPS URL to iFrame player. This must be a HTTPS URL which does not generate active mixed content warnings in a web browser. The audio or video player must not require plugins such as Adobe Flash.","rank-math"),onChange:e.updatePlayerUrl}),wp.element.createElement(p.TextControl,{value:e.size,label:Object(r.__)("Player Size","rank-math"),help:Object(r.__)("iFrame width and height, specified in pixels in the following format: 600x400.","rank-math"),onChange:e.updatePlayerSize}),wp.element.createElement(p.TextControl,{value:e.stream,label:Object(r.__)("Stream URL","rank-math"),help:Object(r.__)("Optional URL to raw stream that will be rendered in Twitter’s mobile applications directly. If provided, the stream must be delivered in the MPEG-4 container format (the .mp4 extension). The container can store a mix of audio and video with the following codecs: Video: H.264, Baseline Profile (BP), Level 3.0, up to 640 x 480 at 30 fps. Audio: AAC, Low Complexity Profile (LC).","rank-math"),onChange:e.updatePlayerStreamUrl}),wp.element.createElement(p.TextControl,{value:e.ctype,label:Object(r.__)("Stream Content Type","rank-math"),help:Object(r.__)("The MIME type/subtype combination that describes the content contained in twitter:player:stream. Takes the form specified in RFC 6381. Currently supported content_type values are those defined in RFC 4337 (MIME Type Registration for MP4).","rank-math"),onChange:e.updatePlayerStreamCtype}))}));function ue(){return(ue=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var pe=Object(u.compose)(Object(a.withSelect)((function(e){var t=e("rank-math"),n=t.getTwitterUseFacebook(),r=function(){if(n&&t.getFacebookImage())return t.getFacebookImage();if(t.getTwitterImage())return t.getTwitterImage();var e=t.getFeaturedImage();return Object(s.isUndefined)(e)||""===e?rankMath.defautOgImage:t.getFeaturedImage().source_url}();return{useFacebook:n,cardType:t.getTwitterCardType(),title:n?t.getFacebookTitle():t.getTwitterTitle(),description:n?t.getFacebookDescription():t.getTwitterDescription(),serpTitle:t.getSerpTitle(),serpDescription:t.getSerpDescription(),author:t.getTwitterAuthor(),image:r,imageID:n?t.getFacebookImageID():t.getTwitterImageID(),hasOverlay:n?t.getFacebookHasOverlay():t.getTwitterHasOverlay(),imageOverlay:n?t.getFacebookImageOverlay():t.getTwitterImageOverlay()}})),Object(a.withDispatch)((function(e){return{removeImage:function(){e("rank-math").updateTwitterImage(""),e("rank-math").updateTwitterImageID(0),e("rank-math").updateTwitterHasOverlay(!1)},updateImage:function(t){e("rank-math").updateTwitterImage(t.url),e("rank-math").updateTwitterImageID(t.id)},updateTitle:function(t){e("rank-math").updateTwitterTitle(t)},updateDescription:function(t){e("rank-math").updateTwitterDescription(t)},updateImageOverlay:function(t){e("rank-math").updateTwitterImageOverlay(t)},toggleUseFacebook:function(t){e("rank-math").updateTwitterUseFacebook(t)},updateCardType:function(t){e("rank-math").updateTwitterCardType(t)},toggleOverlay:function(t){e("rank-math").updateTwitterHasOverlay(t)}}})))((function(e){return wp.element.createElement(i.Fragment,null,wp.element.createElement(ne,ue({},e,{network:"twitter",siteurl:rankMath.parentDomain,classes:e.cardType,description:Object(s.truncate)(e.description?e.description:e.serpDescription,{length:240,separator:" "})}),wp.element.createElement("div",{className:"social-name"},rankMath.assessor.serpData.authorName,wp.element.createElement("span",{className:"social-username"},"@",e.author),wp.element.createElement("span",{className:"social-time"},Object(r.__)("2h","rank-math"))),wp.element.createElement("div",{className:"social-text"},Object(r.__)("The card for your website will look little something like this!","rank-math"))),wp.element.createElement("div",{className:"field-group"},wp.element.createElement(p.ToggleControl,{label:Object(r.__)("Use Data from Facebook Tab","rank-math"),checked:e.useFacebook,onChange:e.toggleUseFacebook})),wp.element.createElement("div",{className:"field-group"},wp.element.createElement(p.SelectControl,{value:e.cardType,label:Object(r.__)("Card Type","rank-math"),options:[{value:"summary_large_image",label:Object(r.__)("Summary Card with Large Image","rank-math")},{value:"summary_card",label:Object(r.__)("Summary Card","rank-math")},{value:"app",label:Object(r.__)("App Card","rank-math")},{value:"player",label:Object(r.__)("Player Card","rank-math")}],onChange:e.updateCardType})),"player"===e.cardType&&wp.element.createElement("div",{className:"notice notice-alt notice-info"},wp.element.createElement("p",null,Object(r.sprintf)(Object(r.__)("Video clips and audio streams have a special place on the Twitter platform thanks to the Player Card. Player Cards must be submitted for approval before they can be used. More information: ","rank-math"))," ",wp.element.createElement("a",{href:"https://dev.twitter.com/cards/types/player",target:"blank"},"https://dev.twitter.com/cards/types/player"))),"app"===e.cardType&&wp.element.createElement("div",{className:"notice notice-alt notice-info"},wp.element.createElement("p",null,Object(r.sprintf)(Object(r.__)("The App Card is a great way to represent mobile applications on Twitter and to drive installs. More information: ","rank-math"))," ",wp.element.createElement("a",{href:"https://dev.twitter.com/cards/types/app",target:"blank"}," https://dev.twitter.com/cards/types/app"))),!e.useFacebook&&"app"!==e.cardType&&wp.element.createElement(ae,e),!e.useFacebook&&"app"!==e.cardType&&wp.element.createElement("div",{className:"field-group"},wp.element.createElement(p.TextControl,{label:Object(r.__)("Title","rank-math"),value:e.title,placeholder:e.serpTitle,onChange:e.updateTitle})),!e.useFacebook&&"app"!==e.cardType&&wp.element.createElement("div",{className:"field-group"},wp.element.createElement(p.TextareaControl,{label:Object(r.__)("Description","rank-math"),value:e.description,placeholder:e.serpDescription,onChange:e.updateDescription})),!e.useFacebook&&"app"!==e.cardType&&wp.element.createElement("div",{className:"field-group"},wp.element.createElement(p.ToggleControl,{label:Object(r.__)("Add icon overlay to thumbnail","rank-math"),checked:e.hasOverlay,onChange:e.toggleOverlay}),wp.element.createElement("div",{className:e.hasOverlay?"components-base-control":"hidden"},wp.element.createElement(p.SelectControl,{value:e.imageOverlay,label:Object(r.__)("Icon overlay","rank-math"),options:oe(),onChange:e.updateImageOverlay}),wp.element.createElement("div",{className:"notice notice-alt notice-warning"},wp.element.createElement("p",null,Object(r.__)("Please be careful with this option. Although this option will help increase CTR on Twitter, it might get you penalised if over-used.","rank-math"))))),"player"===e.cardType&&wp.element.createElement(se,null),"app"===e.cardType&&wp.element.createElement(ce,null))})),me=function(){return wp.element.createElement(i.Fragment,null,wp.element.createElement(p.TabPanel,{className:"rank-math-editor-social",activeClass:"is-active",tabs:[{name:"facebook",title:wp.element.createElement(i.Fragment,null,wp.element.createElement(p.Dashicon,{icon:"facebook-alt"}),Object(r.__)("Facebook","rank-math")),view:le,className:"button-facebook"},{name:"twitter",title:wp.element.createElement(i.Fragment,null,wp.element.createElement(p.Dashicon,{icon:"twitter"}),Object(r.__)("Twitter","rank-math")),view:pe,className:"button-twitter"}]},(function(e){return Object(i.createElement)(e.view)})))},de=n(2),he=n.n(de);function fe(e){return(fe="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})(e)}function be(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ge(e,t){return(ge=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function we(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ke(e);if(t){var a=ke(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return ye(this,n)}}function ye(e,t){return!t||"object"!==fe(t)&&"function"!=typeof t?ve(e):t}function ve(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ke(e){return(ke=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Oe=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ge(e,t)}(l,e);var t,n,a,o=we(l);function l(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(e=o.call(this))._handleRef=e._handleRef.bind(ve(e)),e}return t=l,(n=[{key:"componentDidMount",value:function(){var e=he()(this.component),t=e.find(".stars a"),n=e.find(".smiley");t.on("mouseenter",(function(){var e=he()(this).index();t.removeClass("highlighted"),t.slice(0,e+1).addClass("highlighted"),e<2?n.removeClass("normal happy").addClass("angry"):e>3?n.removeClass("normal angry").addClass("happy"):n.removeClass("happy angry").addClass("normal")}))}},{key:"shouldComponentUpdate",value:function(){return!1}},{key:"_handleRef",value:function(e){this.component=e}},{key:"render",value:function(){for(var e=this,t=[],n=1;n<=5;n++)t.push(wp.element.createElement("a",{key:n,href:"https://s.rankmath.com/wpreview",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"dashicons dashicons-star-filled"})));return wp.element.createElement("div",{className:"ask-review",ref:this._handleRef},wp.element.createElement("h3",null,Object(r.__)("Rate Rank Math SEO","rank-math")),wp.element.createElement("p",null,wp.element.createElement(C,{tags:"em"},Object(r.__)("Hey, we noticed you are using Rank Math SEO plugin for more than 2 weeks –{{em}}that's awesome!{{/em}} Could you please do us a BIG favor and give it a 5-star rating on WordPress to help us spread the word and boost our motivation?","rank-math"))),wp.element.createElement("div",{className:"stars-wrapper"},wp.element.createElement("div",{className:"face"},wp.element.createElement("div",{className:"smiley happy"},wp.element.createElement("div",{className:"eyes"},wp.element.createElement("div",{className:"eye"}),wp.element.createElement("div",{className:"eye"})),wp.element.createElement("div",{className:"mouth"}))),wp.element.createElement("div",{className:"stars"},t)),wp.element.createElement(p.CheckboxControl,{label:wp.element.createElement(i.Fragment,null,wp.element.createElement("span",null,Object(r.__)("I already did. Please don't show this message again.","rank-math"))),onChange:function(){return e.alreadyReviewed()}}))}},{key:"alreadyReviewed",value:function(){he.a.ajax({url:rankMath.ajaxurl,data:{action:"rank_math_already_reviewed",security:rankMath.security}}),rankMath.pluginReviewed=!0;var e=he()(this.component);e.animate({opacity:.01},1500,(function(){var t=he()(".rank-math-editor > .components-tab-panel__tabs > button");t.first().click(),t.last().remove(),e.remove()}))}}])&&be(t.prototype,n),a&&be(t,a),l}(i.Component),_e=Object(p.withFilters)("rankMath.analytics.reportButton")((function(){return null})),je=Object(u.compose)(Object(a.withSelect)((function(e){return{isOpen:e("rank-math").isSnippetEditorOpen()}})),Object(a.withDispatch)((function(e,t){return{toggleEditor:function(){e("rank-math").toggleSnippetEditor(!t.isOpen)}}})))((function(e){var t=e.isOpen,n=e.initialTab,a=void 0===n?"":n,o=e.toggleEditor,l=[{name:"general",title:wp.element.createElement(i.Fragment,null,wp.element.createElement("i",{className:"rm-icon rm-icon-settings"}),wp.element.createElement("span",null,Object(r.__)("General","rank-math"))),view:ee},{name:"social",title:wp.element.createElement(i.Fragment,null,wp.element.createElement("i",{className:"rm-icon rm-icon-social"}),wp.element.createElement("span",null,Object(r.__)("Social","rank-math"))),view:me}];return rankMath.showReviewTab&&!1===rankMath.pluginReviewed&&l.push({name:"review",className:"review-tab",title:wp.element.createElement(i.Fragment,null,wp.element.createElement("i",{className:"rm-icon rm-icon-heart-filled"})),view:Oe}),wp.element.createElement(i.Fragment,null,wp.element.createElement(p.Button,{isPrimary:!0,className:"rank-math-edit-snippet",onClick:o},Object(r.__)("Edit Snippet","rank-math")),wp.element.createElement(_e,null),t&&wp.element.createElement(p.Modal,{title:"Preview Snippet Editor",closeButtonLabel:Object(r.__)("Close","rank-math"),shouldCloseOnClickOutside:!1,onRequestClose:o,className:"rank-math-modal",overlayClassName:"rank-math-modal-overlay"},wp.element.createElement(p.TabPanel,{className:"rank-math-tabs rank-math-editor",activeClass:"is-active",initialTabName:a,tabs:l},(function(e){return Object(i.createElement)(e.view)}))))})),Ee=function(){return wp.element.createElement(p.PanelBody,{initialOpen:!0},wp.element.createElement(p.BaseControl,{className:"rank-math-social"},wp.element.createElement("span",{className:"components-base-control__label"},Object(r.__)("Social Media Preview","rank-math")),wp.element.createElement("p",{className:"cmb2-metabox-description"},Object(r.__)("Here you can view and edit the thumbnail, title and description that will be displayed when your site is shared on social media.","rank-math")),wp.element.createElement("p",{className:"cmb2-metabox-description"},Object(r.__)("Click on the button below to view and edit the preview.","rank-math")),wp.element.createElement(je,{buttonLabel:Object(r.__)("Preview & Edit Social Media","rank-math"),initialTab:"social"})))},Te=Object(u.withInstanceId)((function(e){var t=e.className,n=e.instanceId,r=e.children,a="rank-math-tooltip-"+n,o=c()("rank-math-tooltip",t);return wp.element.createElement("span",{className:o},wp.element.createElement("input",{id:a,type:"checkbox"}),wp.element.createElement("label",{htmlFor:a,className:"dashicons-before dashicons-editor-help"}),wp.element.createElement("div",{className:"rank-math-tooltip-content"},r))})),Se=n(29);function Ie(e){return(Ie="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})(e)}function Pe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ce(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function De(e,t){return(De=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ne(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Re(e);if(t){var a=Re(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return xe(this,n)}}function xe(e,t){return!t||"object"!==Ie(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Re(e){return(Re=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ae=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&De(e,t)}(l,e);var t,n,a,o=Ne(l);function l(){return Pe(this,l),o.apply(this,arguments)}return t=l,(n=[{key:"shouldComponentUpdate",value:function(e){return e.isLoaded!==this.props.isLoaded||e.selectedKeyword.index!==this.props.selectedKeyword.index||e.isRefreshing!==this.props.isRefreshing}},{key:"render",value:function(){var e=this,t=rankMathEditor.getSelectedKeyword();return this.results=rankMathEditor.resultManager.getResult(t),this.isPrimary=0===this.props.selectedKeyword.index,Object(s.isUndefined)(this.results)?null:Object.keys(this.getGroups()).map((function(t){return e.renderGroup(t)}))}},{key:"renderGroup",value:function(e){this.errors=0;var t=this.renderGroupItems(e);return wp.element.createElement(p.PanelBody,{key:"panel-"+e,title:wp.element.createElement(i.Fragment,null,this.getGroupTitle(e),0===this.errors?wp.element.createElement("span",{className:"rank-math-group-score test-ok"},Object(r.__)("All Good","rank-math")):wp.element.createElement("span",{className:"rank-math-group-score test-fail"},this.errors," ",Object(r.__)("Errors","rank-math"))),initialOpen:"basic"===e,className:"rank-math-checklist"},wp.element.createElement("ul",null,t))}},{key:"renderGroupItems",value:function(e){var t=this,n=this.results.results,r=this.getGroupItems(e);return Object.keys(r).map((function(e){if(Object(s.isUndefined)(n[e])||!t.isPrimary&&r[e])return!1;var a=n[e],o=c()("seo-check-"+e,{"test-ok":a.hasScore(),"test-fail":!a.hasScore()});return a.hasScore()&&["contentHasAssets","lengthContent","keywordDensity"].includes(e)&&(o+=" "+Object(Se.a)(a.getScore(),a.getMaxScore())),!1===a.hasScore()&&(t.errors+=1),wp.element.createElement("li",{key:e,className:o},wp.element.createElement("span",{dangerouslySetInnerHTML:{__html:a.getText()}}),a.hasTooltip()?wp.element.createElement(Te,null,a.getTooltip()):null)}))}},{key:"getGroupItems",value:function(e){return{basic:{keywordInTitle:!0,keywordInMetaDescription:!0,keywordInPermalink:!0,keywordIn10Percent:!0,keywordInContent:!1,lengthContent:!1},advanced:{keywordInSubheadings:!1,keywordInImageAlt:!0,keywordDensity:!1,lengthPermalink:!1,linksHasExternals:!1,linksNotAllExternals:!1,linksHasInternal:!1,keywordNotUsed:!0},"title-readability":{titleStartWithKeyword:!0,titleSentiment:!1,titleHasPowerWords:!1,titleHasNumber:!1},"content-readability":{contentHasTOC:!1,contentHasShortParagraphs:!1,contentHasAssets:!1}}[e]}},{key:"getGroupTitle",value:function(e){return this.getGroups()[e]}},{key:"getGroups",value:function(){return{basic:Object(r.__)("Basic SEO","rank-math"),advanced:Object(r.__)("Additional","rank-math"),"title-readability":Object(r.__)("Title Readability","rank-math"),"content-readability":Object(r.__)("Content Readability","rank-math")}}}])&&Ce(t.prototype,n),a&&Ce(t,a),l}(i.Component),Me=Object(a.withSelect)((function(e){var t=e("rank-math");return{isLoaded:t.isLoaded(),isRefreshing:t.isRefreshing(),selectedKeyword:t.getSelectedKeyword()}}))(Ae),Ue=n(22),Fe=Object(a.withSelect)((function(e){return{isPro:e("rank-math").isPro()}}))((function(e){return e.isPro?rankMath.isUserRegistered?wp.element.createElement(p.Notice,{status:"warning",isDismissible:!1},wp.element.createElement(C,{components:{link:wp.element.createElement("a",{href:"https://rankmath.com/kb/score-100-in-tests/",target:"_blank",rel:"noopener noreferrer"})}},Object(r.__)("Read here to {{link}}Score 100/100{{/link}} ","rank-math"))):wp.element.createElement(p.Notice,{status:"warning",isDismissible:!1},wp.element.createElement(C,{components:{link:wp.element.createElement("a",{href:rankMath.adminurl+"?page=rank-math&view=help",target:"_blank",rel:"noopener noreferrer"})}},Object(r.__)("Activate your account by {{link}}connecting to Rank Math!{{/link}} ","rank-math"))):wp.element.createElement(p.Notice,{status:"warning",isDismissible:!1},wp.element.createElement(C,{components:{link:wp.element.createElement("a",{href:rankMath.assessor.futureSeo,target:"_blank",rel:"noopener noreferrer"}),strong:wp.element.createElement("strong",null)}},Object(r.__)("Want more? {{link}}{{strong}}Upgrade today to the PRO{{/strong}}{{/link}} version.","rank-math")))})),Le=n(28),He=n.n(Le);function ze(e){return(ze="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})(e)}function Be(){return(Be=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Ge(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ke(e,t){return(Ke=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ve(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=qe(e);if(t){var a=qe(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return We(this,n)}}function We(e,t){return!t||"object"!==ze(t)&&"function"!=typeof t?Ye(e):t}function Ye(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qe(e){return(qe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ze=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ke(e,t)}(o,e);var t,n,r,a=Ve(o);function o(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),(t=a.call(this,e))._handleRef=t._handleRef.bind(Ye(t)),t}return t=o,(n=[{key:"componentDidMount",value:function(){var e=this;this.tagify=new He.a(this.component,this.props.settings||{}),this.props.settings.callbacks.setup&&setTimeout((function(){e.props.settings.callbacks.setup.call(e.tagify),e.tagify.DOM.input.setAttribute("contenteditable",!0),e.tagify.DOM.input.addEventListener("blur",e.props.settings.callbacks.blur)}),100)}},{key:"shouldComponentUpdate",value:function(e){return this.tagify.settings.whitelist=e.settings.whitelist,e.showDropdown&&this.tagify.dropdown.show.call(this.tagify,e.showDropdown),!1===e.showDropdown&&this.tagify.dropdown.hide.call(this.tagify,!0),!1}},{key:"_handleRef",value:function(e){this.component=e}},{key:"render",value:function(){var e={ref:this._handleRef,name:this.props.name,autoFocus:this.props.autofocus,className:this.props.className,placeholder:this.props.placeholder};return"textarea"===this.props.mode?wp.element.createElement("textarea",Be({},e,{defaultValue:this.props.initialValue})):wp.element.createElement("input",Be({},e,{defaultValue:this.props.initialValue}))}},{key:"toArray",value:function(){return this.tagify.value.map((function(e){return e.value}))}},{key:"toString",value:function(){return this.toArray().join(",")}},{key:"queryTags",value:function(){return this.tagify.DOM.scope.querySelectorAll("tag")}}])&&Ge(t.prototype,n),r&&Ge(t,r),o}(i.Component);function $e(e){return($e="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})(e)}function Je(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Qe(e,t){return(Qe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Xe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=nt(e);if(t){var a=nt(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return et(this,n)}}function et(e,t){return!t||"object"!==$e(t)&&"function"!=typeof t?tt(e):t}function tt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nt(e){return(nt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var rt=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qe(e,t)}(l,e);var t,n,a,o=Xe(l);function l(e){var t,n=e.keywords;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=o.call(this)).state={},t.request=null,t.hasAdded=!1,t.clickCount=0,t.singleClickTimer=null,t.tagifyField=Object(i.createRef)(),t.keywords=n,t.hideDropdown=t.hideDropdown.bind(tt(t)),window.rankMathEditor.focusKeywordField=tt(t),t}return t=l,(n=[{key:"render",value:function(){var e=this,t={add:this.onAdd.bind(this),remove:this.onRemove.bind(this),edit:this.onEdit.bind(this),click:this.onClick.bind(this),setup:this.onSetup.bind(this),blur:this.hideDropdown};rankMath.isUserRegistered&&(t.input=Object(s.debounce)(this.onInput.bind(this),300));var n={addTagOnBlur:!0,maxTags:rankMath.maxTags,whitelist:this.state.whitelist||[],transformTag:function(t){t.value=e.stripTags(t.value)},templates:{tag:function(t,n){return"<tag title='".concat(e.stripTags(t),"'\n contenteditable='false'\n spellcheck='false'\n class='tagify__tag ").concat(n.class?n.class:"","'\n ").concat(e.getAttributes_esc(n),">\n <x title='' class='tagify__tag__removeBtn' role='button' aria-label='remove tag'></x>\n <div>\n <span class='tagify__tag-text'>").concat(e.stripTags(t),"</span>\n </div>\n </tag>")}},callbacks:t};return this.setKeywordsClasses(),wp.element.createElement(Ze,{ref:this.tagifyField,mode:"input",settings:n,showDropdown:this.state.showDropdown,initialValue:this.keywords,placeholder:Object(r.__)("Example: Rank Math SEO","rank-math")})}},{key:"shouldComponentUpdate",value:function(e,t){return this.state.showDropdown!==t.showDropdown||e.isRefreshing!==this.props.isRefreshing||e.keywords!==this.props.keywords}},{key:"getScoreClass",value:function(e){return 80<e?"good-fk":50<e?"ok-fk":"bad-fk"}},{key:"setKeywordsClasses",value:function(){var e=this;if(null!==this.tagifyField.current){var t=this.tagifyField.current,n=t.tagify.value;if(n.length>0){var r=t.queryTags();n.map((function(t,n){var a=rankMathEditor.resultManager.getScore(H.Helpers.removeDiacritics(t.value));r[n].classList.remove("ok-fk","good-fk","bad-fk"),r[n].classList.add(e.getScoreClass(a))}))}}}},{key:"onSetup",value:function(){this.selectFirstKeyword(),this.setKeywordsClasses()}},{key:"onInput",value:function(e){var t=this;(e=Object(s.has)(e.detail,"value")?e.detail.value:e.detail.data.value).length<2||(this.hideDropdown(),this.hasAdded?this.hasAdded=!1:this.request=he.a.ajax({url:rankMath.keywordsApi.url,data:{keyword:e,locale:rankMath.locale},success:function(n){if(t.hasAdded)t.hasAdded=!1;else{var r=he.a.map(n,(function(e){return e}));t.setState({whitelist:r,showDropdown:e})}}}))}},{key:"onAdd",value:function(e){this.hasAdded=!0,0===e.detail.index&&this.props.updateSelectedKeyword(e.detail,this.tagifyField.current),this.updateKeywords()}},{key:"onRemove",value:function(e){this.hideDropdown(),0===e.detail.index&&this.onSetup(),rankMathEditor.resultManager.deleteResult(e.detail.data.value),this.selectFirstKeyword(),this.updateKeywords()}},{key:"onClick",value:function(e){var t=this;this.clickCount++,1===this.clickCount?this.singleClickTimer=setTimeout((function(){t.clickCount=0,t.props.updateSelectedKeyword(e.detail,t.tagifyField.current)}),400):2===this.clickCount&&(clearTimeout(this.singleClickTimer),this.clickCount=0)}},{key:"onEdit",value:function(){this.hasAdded=!0,this.updateKeywords()}},{key:"selectFirstKeyword",value:function(){var e=this.tagifyField.current,t=e.tagify.value,n={tag:"",index:0,data:{value:""}};t.length>0&&(n={tag:e.queryTags()[0],index:0,data:{value:t[0].value}}),this.props.updateSelectedKeyword(n,e)}},{key:"updateKeywords",value:function(){var e=this.tagifyField.current,t=this.stripTags(e.toString());this.props.updateKeywords(t)}},{key:"hideDropdown",value:function(){null!==this.request&&(this.request.abort(),this.request=null),this.setState({whitelist:[],showDropdown:!1})}},{key:"getAttributes_esc",value:function(e){if("[object Object]"!=Object.prototype.toString.call(e))return"";var t,n,r=Object.keys(e),a="";for(n=r.length;n--;)"class"!=(t=r[n])&&e.hasOwnProperty(t)&&e[t]&&(a+=" "+t+(e[t]?'="'.concat(this.stripTags(e[t]),'"'):""));return a}},{key:"stripTags",value:function(e){return e=he()("<textarea />").html(e).text(),((new DOMParser).parseFromString(e,"text/html").body.textContent||"").replace(/["<>]/g,"")||""}}])&&Je(t.prototype,n),a&&Je(t,a),l}(i.Component),at=Object(u.compose)(Object(a.withSelect)((function(e){var t=e("rank-math");return{keywords:t.getKeywords(),isRefreshing:t.isRefreshing()}})),Object(a.withDispatch)((function(e){return{updateKeywords:function(t){e("rank-math").updateKeywords(t)},updateSelectedKeyword:function(t,n){n.queryTags().forEach((function(e){e.classList.remove("selected")})),""!==t.tag&&t.tag.classList.add("selected"),e("rank-math").updateSelectedKeyword(t)}}})))(rt),ot=Object(u.compose)(Object(a.withSelect)((function(e){var t=e("rank-math");return{isLoaded:t.isLoaded(),isPillarContent:t.getPillarContent()}})),Object(a.withDispatch)((function(e){return{togglePillarContent:function(t){e("rank-math").updatePillarContent(t)}}})))((function(e){var t=e.isLoaded,n=e.isPillarContent,a=e.togglePillarContent;return t?wp.element.createElement(p.PanelBody,{initialOpen:!0,className:"rank-math-focus-keyword"},wp.element.createElement("h2",{className:"components-panel__body-title"},Object(r.__)("Focus Keyword","rank-math"),wp.element.createElement(Te,null,wp.element.createElement(C,{components:{link:wp.element.createElement("a",{href:rankMath.assessor.hundredScoreLink,target:"_blank",rel:"noopener noreferrer"})}},Object(r.__)("Insert keywords you want to rank for. Try to {{link}}attain 100/100 points{{/link}} for better chances of ranking.","rank-math")))),!rankMath.isPro&&wp.element.createElement("a",{href:"https://rankmath.com/pricing/?utm_source=Plugin&utm_medium=Gutenberg%20General%20Tab%20Trends&utm_campaign=WP",title:Object(r.__)("Google Trends","rank-math"),target:"_blank",rel:"noreferrer noopener",id:"rank-math-compare-keywords-trigger",className:"button button-icon rank-math-compare-keywords-trigger",dangerouslySetInnerHTML:{__html:rankMath.trendsIcon}}),wp.element.createElement(Ue.a.Slot,null,(function(e){return e.length>0?e:[]})),wp.element.createElement("div",null,wp.element.createElement(at,null)),wp.element.createElement(Fe,null),wp.element.createElement(p.CheckboxControl,{className:"pillar-content",label:wp.element.createElement(i.Fragment,null,wp.element.createElement("strong",null,Object(r.__)("This post is Pillar Content","rank-math")),wp.element.createElement(Te,null,Object(r.__)("Select one or more Pillar Content posts for each post tag or category to show them in the Link Suggestions meta box.","rank-math"))),checked:n,onChange:a})):null})),it=n(23),lt=Object(a.withDispatch)((function(e){return{toggleEditor:function(){e("rank-math").toggleSnippetEditor(!0)}}}))((function(e){var t=e.toggleEditor;return wp.element.createElement(i.Fragment,null,wp.element.createElement(p.PanelBody,{initialOpen:!0},wp.element.createElement(X,{onClick:t}),wp.element.createElement(je,null),wp.element.createElement(it.a.Slot,null,(function(e){return e.length>0?e:[]}))),wp.element.createElement(ot,null),rankMath.canUser.analysis&&wp.element.createElement(Me,null))})),ct=function(e,t,n){return!1===n?delete e[t]:e[t]=!0,e},st=Object(u.compose)(Object(a.withSelect)((function(e){var t=e("rank-math").getRobots();return{robots:t,isRobotIndex:"index"in t,isRobotNoIndex:"noindex"in t,isRobotNoFollow:"nofollow"in t,isRobotNoArchive:"noarchive"in t,isRobotNoImageIndex:"noimageindex"in t,isRobotNoSnippet:"nosnippet"in t}})),Object(a.withDispatch)((function(e,t){var n=t.robots;return{updateRobots:function(t,r){n=ct(n,t,r),"index"===t&&(n=ct(n,"noindex",!r)),"noindex"===t&&(n=ct(n,"index",!r)),e("rank-math").updateRobots(n)}}})))((function(e){return wp.element.createElement(p.BaseControl,{className:"rank-math-robots",id:"rank-math-robots",label:Object(r.__)("Robots Meta","rank-math")},wp.element.createElement("div",{className:"rank-math-robots-list"},wp.element.createElement(p.CheckboxControl,{className:"robot-choice-index",label:wp.element.createElement(i.Fragment,null,Object(r.__)("Index","rank-math"),wp.element.createElement(Te,null,Object(r.__)("Instructs search engines to index and show these pages in the search results","rank-math"))),checked:e.isRobotIndex,onChange:function(t){return e.updateRobots("index",t)}}),wp.element.createElement(p.CheckboxControl,{className:"robot-choice-noindex",label:wp.element.createElement(i.Fragment,null,Object(r.__)("No Index","rank-math"),wp.element.createElement(Te,null,Object(r.__)("Prevents pages from being indexed and displayed in search engine result pages","rank-math"))),checked:e.isRobotNoIndex,onChange:function(t){return e.updateRobots("noindex",t)}}),wp.element.createElement(p.CheckboxControl,{className:"robot-choice-nofollow",label:wp.element.createElement(i.Fragment,null,Object(r.__)("Nofollow","rank-math"),wp.element.createElement(Te,null,Object(r.__)("Prevents search engines from following links on the pages","rank-math"))),checked:e.isRobotNoFollow,onChange:function(t){return e.updateRobots("nofollow",t)}}),wp.element.createElement(p.CheckboxControl,{className:"robot-choice-noarchive",label:wp.element.createElement(i.Fragment,null,Object(r.__)("No Archive","rank-math"),wp.element.createElement(Te,null,Object(r.__)("Prevents search engines from showing Cached links for pages","rank-math"))),checked:e.isRobotNoArchive,onChange:function(t){return e.updateRobots("noarchive",t)}}),wp.element.createElement(p.CheckboxControl,{className:"robot-choice-noimageindex",label:wp.element.createElement(i.Fragment,null,Object(r.__)("No Image Index","rank-math"),wp.element.createElement(Te,null,Object(r.__)("Lets you specify that you do not want your pages to appear as the referring page for images that appear in image search results","rank-math"))),checked:e.isRobotNoImageIndex,onChange:function(t){return e.updateRobots("noimageindex",t)}}),wp.element.createElement(p.CheckboxControl,{className:"robot-choice-nosnippet",label:wp.element.createElement(i.Fragment,null,Object(r.__)("No Snippet","rank-math"),wp.element.createElement(Te,null,Object(r.__)("Prevents a snippet from being shown in the search results","rank-math"))),checked:e.isRobotNoSnippet,onChange:function(t){return e.updateRobots("nosnippet",t)}})))}));function ut(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 pt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ut(Object(n),!0).forEach((function(t){mt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ut(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function mt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var dt=Object(u.compose)(Object(a.withSelect)((function(e){var t=e("rank-math");return{redirectionID:t.getRedirectionID(),redirectionUrl:t.getRedirectionUrl(),redirectionType:t.getRedirectionType(),hasRedirect:t.hasRedirect()}})),Object(a.withDispatch)((function(e,t){return{toggle:function(){e("rank-math").updateHasRedirect(!t.hasRedirect),e("rank-math").updateRedirectionItem(pt(pt({},t),{},{hasRedirect:!t.hasRedirect}))},updateRedirection:function(n,r){e("rank-math").updateRedirection(n,r),e("rank-math").updateRedirectionItem(pt(pt({},t),{},mt({},n,r)))}}})))((function(e){return wp.element.createElement(i.Fragment,null,wp.element.createElement(p.ToggleControl,{className:e.hasRedirect?"is-open":"is-close",label:Object(r.__)("Redirect","rank-math"),checked:e.hasRedirect,onChange:function(){return e.toggle()}}),wp.element.createElement(p.SelectControl,{label:Object(r.__)("Redirection Type","rank-math"),className:e.hasRedirect?"":"hidden",value:e.redirectionType,onChange:function(t){return e.updateRedirection("redirectionType",t)},options:[{value:"301",label:Object(r.__)("301 Permanent Move","rank-math")},{value:"302",label:Object(r.__)("302 Temporary Move","rank-math")},{value:"307",label:Object(r.__)("307 Temporary Redirect","rank-math")},{value:"410",label:Object(r.__)("410 Content Deleted","rank-math")},{value:"451",label:Object(r.__)("451 Content Unavailable for Legal Reasons","rank-math")}]}),!1===["410","451"].includes(e.redirectionType)&&wp.element.createElement(p.TextControl,{type:"url",autoComplete:"off",label:Object(r.__)("Destination URL","rank-math"),value:e.redirectionUrl,placeholder:"https://rankmath.com/",className:e.hasRedirect?"":"hidden",onChange:function(t){return e.updateRedirection("redirectionUrl",t)}}),wp.element.createElement(p.TextControl,{type:"hidden",value:e.redirectionID,className:"hidden"}))})),ht=Object(u.compose)(Object(a.withSelect)((function(e){var t=e("rank-math"),n=rankMathEditor.assessor.dataCollector;return{placeholder:t.getCanonicalUrl()?t.getCanonicalUrl():n.getPermalink()?n.getPermalink():"https://rankmath.com/",canonicalUrl:t.getCanonicalUrl()}})),Object(a.withDispatch)((function(e){return{onUrlChange:function(t){e("rank-math").updateCanonicalUrl(t)}}})))((function(e){var t=e.canonicalUrl,n=e.placeholder,a=e.onUrlChange;return wp.element.createElement(p.BaseControl,{className:"rank-math-canonical"},wp.element.createElement("span",{className:"components-base-control__label"},Object(r.__)("Canonical URL","rank-math"),wp.element.createElement(Te,null,Object(r.__)("The canonical URL informs search crawlers which page is the main page if you have double content","rank-math"))),wp.element.createElement(p.TextControl,{type:"url",autoComplete:"off",value:t,placeholder:n,onChange:function(e){return a(e)}}))})),ft=Object(u.compose)(Object(a.withSelect)((function(e){return{title:e("rank-math").getBreadcrumbTitle()}})),Object(a.withDispatch)((function(e){return{onTitleChange:function(t){e("rank-math").updateBreadcrumbTitle(t)}}})))((function(e){var t=e.title,n=e.onTitleChange;return wp.element.createElement(p.BaseControl,{className:"rank-math-breadcrumb-title"},wp.element.createElement("span",{className:"components-base-control__label"},Object(r.__)("Breadcrumb Title","rank-math"),wp.element.createElement(Te,null,Object(r.__)("Breadcrumb Title to use for this post","rank-math"))),wp.element.createElement(p.TextControl,{value:t,onChange:function(e){return n(e)}}))}));function bt(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 gt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bt(Object(n),!0).forEach((function(t){wt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function wt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var yt={"max-snippet":-1,"max-video-preview":-1,"max-image-preview":"large"},vt=Object(u.compose)(Object(a.withSelect)((function(e){var t=e("rank-math").getAdvancedRobots(),n=gt({},t);Object(s.defaults)(n,yt);var r=null,a=null,o=null;return"max-snippet"in t&&(r=n["max-snippet"]),"max-image-preview"in t&&(a=n["max-image-preview"]),"max-video-preview"in t&&(o=n["max-video-preview"]),{meta:t,isSnippet:r,isImage:a,isVideo:o,maxSnippet:r?n["max-snippet"]:-1,maxImage:n["max-image-preview"],maxVideo:o?n["max-video-preview"]:-1}})),Object(a.withDispatch)((function(e,t){var n=gt({},t.meta);return{updateRobots:function(t,r){Object(s.isBoolean)(r)?!1===r?delete n[t]:n[t]=yt[t]:n[t]=r,e("rank-math").updateAdvancedRobots(n)}}})))((function(e){return wp.element.createElement(p.BaseControl,{className:"rank-math-robots",id:"rank-math-robots",label:Object(r.__)("Advanced Robots Meta","rank-math")},wp.element.createElement("div",{className:"rank-math-robots-list advanced-robots"},wp.element.createElement(p.CheckboxControl,{label:wp.element.createElement(i.Fragment,null,Object(r.__)("Max Snippet","rank-math"),wp.element.createElement(Te,null,Object(r.__)("Specify a maximum text-length, in characters, of a snippet for your page","rank-math"))),checked:e.isSnippet,onChange:function(t){return e.updateRobots("max-snippet",t)}}),wp.element.createElement(p.TextControl,{type:"number",value:e.maxSnippet,onChange:function(t){return e.updateRobots("max-snippet",t)}}),wp.element.createElement(p.CheckboxControl,{label:wp.element.createElement(i.Fragment,null,Object(r.__)("Max Video Preview","rank-math"),wp.element.createElement(Te,null,Object(r.__)("Specify a maximum duration in seconds of an animated video preview","rank-math"))),checked:e.isVideo,onChange:function(t){return e.updateRobots("max-video-preview",t)}}),wp.element.createElement(p.TextControl,{type:"number",value:e.maxVideo,onChange:function(t){return e.updateRobots("max-video-preview",t)}}),wp.element.createElement(p.CheckboxControl,{label:wp.element.createElement(i.Fragment,null,Object(r.__)("Max Image Preview","rank-math"),wp.element.createElement(Te,null,Object(r.__)("Specify a maximum size of image preview to be shown for images on this page","rank-math"))),checked:e.isImage,onChange:function(t){return e.updateRobots("max-image-preview",t)}}),wp.element.createElement(p.SelectControl,{value:e.maxImage,onChange:function(t){return e.updateRobots("max-image-preview",t)},options:[{value:"large",label:Object(r.__)("Large","rank-math")},{value:"standard",label:Object(r.__)("Standard","rank-math")},{value:"none",label:Object(r.__)("None","rank-math")}]})))})),kt=Object(u.compose)(Object(a.withSelect)((function(e){return{showScore:e("rank-math").getShowScoreFrontend()}})),Object(a.withDispatch)((function(e){return{toggleScore:function(t){e("rank-math").toggleFrontendScore(t)}}})))((function(e){var t=e.showScore,n=e.toggleScore;return wp.element.createElement(p.BaseControl,{className:"rank-math-frontend-score"},wp.element.createElement(p.ToggleControl,{label:Object(r.__)("Show SEO Score on Front-end","rank-math"),checked:t,onChange:n}))})),Ot=n(24),_t=function(){return wp.element.createElement(i.Fragment,null,wp.element.createElement(p.PanelBody,{initialOpen:!0},wp.element.createElement(st,null)),wp.element.createElement(p.PanelBody,{initialOpen:!0},wp.element.createElement(vt,null)),wp.element.createElement(p.PanelBody,{initialOpen:!0},wp.element.createElement(ht,null)),rankMath.assessor.hasBreadcrumb&&wp.element.createElement(p.PanelBody,{initialOpen:!0},wp.element.createElement(ft,null)),rankMath.assessor.hasRedirection&&wp.element.createElement(p.PanelBody,{initialOpen:!0,className:"rank-math-redirect"},wp.element.createElement(dt,null)),rankMath.frontEndScore&&wp.element.createElement(p.PanelBody,{initialOpen:!0},wp.element.createElement(kt,null)),wp.element.createElement(Ot.a.Slot,null,(function(e){return e.length>0?e:[]})))},jt=function(e){"social"===e&&Object(a.dispatch)("rank-math").toggleSnippetEditor(!0)};t.a=function(){return wp.element.createElement(j,{className:"rank-math-tabs",activeClass:"is-active",tabs:(e=[],rankMath.canUser.general&&e.push({name:"general",title:wp.element.createElement(i.Fragment,null,wp.element.createElement("i",{className:"rm-icon rm-icon-settings",title:Object(r.__)("General","rank-math")}),wp.element.createElement("span",null,Object(r.__)("General","rank-math"))),view:lt,className:"rank-math-general-tab"}),rankMath.canUser.advanced&&e.push({name:"advanced",title:wp.element.createElement(i.Fragment,null,wp.element.createElement("i",{className:"rm-icon rm-icon-toolbox",title:Object(r.__)("Advanced","rank-math")}),wp.element.createElement("span",null,Object(r.__)("Advanced","rank-math"))),view:_t,className:"rank-math-advanced-tab"}),rankMath.canUser.social&&e.push({name:"social",title:wp.element.createElement(i.Fragment,null,wp.element.createElement("i",{className:"rm-icon rm-icon-social",title:Object(r.__)("Social","rank-math")}),wp.element.createElement("span",null,Object(r.__)("Social","rank-math"))),view:Ee,className:"rank-math-social-tab"}),Object(o.applyFilters)("rank_math_sidebar_tabs",e)),onSelect:jt},(function(e){return wp.element.createElement("div",{className:"rank-math-tab-content-"+e.name},Object(i.createElement)(e.view))}));var e}},function(e,t,n){"use strict";var r=n(8),a=n(6),o=n(17),i=n(1),l=n(0),c=n(4);function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var u=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.analyzer=new r.Analyzer({i18n:l,analyses:rankMath.assessor.researchesTests}),this.dataCollector=t,this.registerRefresh(),this.updateKeywordResult=this.updateKeywordResult.bind(this),this.sanitizeData=this.sanitizeData.bind(this),Object(a.addAction)("rankMath_analysis_keywordUsage_updated","rank-math",this.updateKeywordResult),Object(a.addFilter)("rank_math_sanitize_meta_value","rank-math",this.sanitizeData),Object(a.addFilter)("rank_math_sanitize_data","rank-math",this.sanitizeData)}var t,n,u;return t=e,(n=[{key:"updateKeywordResult",value:function(e,t){rankMathEditor.resultManager.update(e,{keywordNotUsed:t}),e===this.getSelectedKeyword().toLowerCase()&&Object(c.dispatch)("rank-math").refreshResults()}},{key:"sanitizeData",value:function(e,t){return"schemas"===t||Object(i.isObject)(e)||Object(i.isEmpty)(e)?e:r.Helpers.sanitizeAppData(e)}},{key:"getPaper",value:function(e){var t=Object(o.a)().getState(),n=this.dataCollector.getData(),l=new r.Paper("",{locale:rankMath.localeFull});return l.setTitle(t.appUi.serpTitle),l.setPermalink(n.slug),l.setDescription(t.appUi.serpDescription),l.setUrl(n.permalink),l.setText(Object(a.applyFilters)("rank_math_content",n.content)),l.setKeyword(e),Object(i.isUndefined)(n.featuredImage)||(l.setThumbnail(n.featuredImage.source_url),l.setThumbnailAltText(r.Helpers.removeDiacritics(n.featuredImage.alt_text))),l}},{key:"registerRefresh",value:function(){var e=this;this.refresh=Object(i.debounce)((function(t){var n=Object(o.a)().getState();if(!1!==n.appUi.isLoaded){var i=n.appData.keywords.split(","),l=[];Object(a.doAction)("rank_math_"+t+"_refresh"),i.map((function(t,n){var a=e.getPaper(r.Helpers.removeDiacritics(t)),o=0===n?rankMath.assessor.researchesTests:e.getSecondaryKeywordTests();l.push(e.analyzer.analyzeSome(o,a).then((function(e){rankMathEditor.resultManager.update(a.getKeyword(),e,0===n),0===n&&Object(c.dispatch)("rank-math").updateAnalysisScore(rankMathEditor.resultManager.getScore(a.getKeyword()))}))),Promise.all(l).then((function(){Object(c.dispatch)("rank-math").refreshResults()}))}))}}),500)}},{key:"getSecondaryKeywordTests",value:function(){return["keywordInContent","lengthContent","keywordInSubheadings","keywordDensity","lengthPermalink","linksHasExternals","linksNotAllExternals","linksHasInternal","titleSentiment","titleHasPowerWords","titleHasNumber","contentHasTOC","contentHasShortParagraphs","contentHasAssets"]}},{key:"getPrimaryKeyword",value:function(){var e=Object(o.a)().getState().appData.keywords;return r.Helpers.removeDiacritics(e.split(",")[0])}},{key:"getSelectedKeyword",value:function(){var e=Object(o.a)().getState(),t=""!==e.appUi.selectedKeyword.data.value?e.appUi.selectedKeyword.data.value:e.appData.keywords.split(",")[0];return r.Helpers.removeDiacritics(t)}},{key:"getResearch",value:function(e){return this.analyzer.researcher.getResearch(e)}}])&&s(t.prototype,n),u&&s(t,u),e}(),p=n(26);function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var d=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,i;return t=e,(n=[{key:"setup",value:function(e){Object(o.a)(),this.resultManager=new r.ResultManager,this.assessor=new u(e),new p.a,Object(a.doAction)("rank_math_loaded")}},{key:"refresh",value:function(e){this.assessor.refresh(e)}},{key:"getPrimaryKeyword",value:function(){return this.assessor.getPrimaryKeyword()}},{key:"getSelectedKeyword",value:function(){return this.assessor.getSelectedKeyword()}},{key:"updatePermalink",value:function(e){throw"Implement the function"}},{key:"updatePermalinkSanitize",value:function(e){throw"Implement the function"}}])&&m(t.prototype,n),i&&m(t,i),e}();t.a=d},function(e,t){e.exports=wp.editPost},function(e,t,n){"use strict";var r=n(34),a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,o=n(35),i=n(43),l=n(44),c="function"==typeof Symbol&&Symbol.iterator;function s(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}function u(e,t,n,r){var o,l=typeof e;if("undefined"!==l&&"boolean"!==l||(e=null),null===e||"string"===l||"number"===l||"object"===l&&e.$$typeof===a)return n(r,e,""===t?"."+s(e,0):t),1;var p=0,m=""===t?".":t+":";if(Array.isArray(e))for(var d=0;d<e.length;d++)p+=u(o=e[d],m+s(o,d),n,r);else{var h=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(h){0;for(var f,b=h.call(e),g=0;!(f=b.next()).done;)p+=u(o=f.value,m+s(o,g++),n,r)}else if("object"===l){0;var w=""+e;i(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===w?"object with keys {"+Object.keys(e).join(", ")+"}":w,"")}}return p}var p=/\/+/g;function m(e){return(""+e).replace(p,"$&/")}var d,h,f=b,b=function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)},g=function(e){var t=this;i(e instanceof t,"Trying to release an instance into a pool of a different type."),e.destructor(),t.instancePool.length<t.poolSize&&t.instancePool.push(e)};function w(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function y(e,t,n){var a,i,l=e.result,c=e.keyPrefix,s=e.func,u=e.context,p=s.call(u,t,e.count++);Array.isArray(p)?v(p,l,n,o.thatReturnsArgument):null!=p&&(r.isValidElement(p)&&(a=p,i=c+(!p.key||t&&t.key===p.key?"":m(p.key)+"/")+n,p=r.cloneElement(a,{key:i},void 0!==a.props?a.props.children:void 0)),l.push(p))}function v(e,t,n,r,a){var o="";null!=n&&(o=m(n)+"/");var i=w.getPooled(t,o,r,a);!function(e,t,n){null==e||u(e,"",t,n)}(e,y,i),w.release(i)}w.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},d=function(e,t,n,r){var a=this;if(a.instancePool.length){var o=a.instancePool.pop();return a.call(o,e,t,n,r),o}return new a(e,t,n,r)},(h=w).instancePool=[],h.getPooled=d||f,h.poolSize||(h.poolSize=10),h.release=g;e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return l(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return l(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;i(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)v(e[n],t,n,o.thatReturnsArgument);return t}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,a,o,i,l){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,a,o,i,l],u=0;(c=new Error(t.replace(/%s/g,(function(){return s[u++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t,n){"use strict";var r=n(35);e.exports=r},function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},function(e,t){e.exports=wp.plugins},,,,,function(e,t,n){var r=n(34);function a(e){return r.createElement("svg",e,r.createElement("g",{fill:"#fff"},[r.createElement("path",{d:"m462 234.84-76.17 3.43 13.43 21-127 81.18-126-52.93-146.26 60.97 10.14 24.34 136.1-56.71 128.57 54 138.69-88.61 13.43 21z",key:0}),r.createElement("path",{d:"m54.1 312.78 92.18-38.41 4.49 1.89v-54.58h-96.67zm210.9-223.57v235.05l7.26 3 89.43-57.05v-181zm-105.44 190.79 96.67 40.62v-165.19h-96.67z",key:1})]))}a.defaultProps={viewBox:"0 0 462.03 462.03",width:"20",className:"rank-math-icon"},e.exports=a,a.default=a},,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(2),a=n.n(r),o=n(0),i=n(4),l=n(5),c=n(46),s=n(6),u=n(41),p=n(39),m=n(40),d=n(1),h=n(16),f=n.n(h),b=n(11),g=n(9),w=n(31);function y(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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){k(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function k(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function O(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var _=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.initialize=!1,this.isSavingRedirection=!1,this.isSavingSchemas=!1,this.oldSlug=!1,this._data={id:!1,slug:!1,permalink:!1,content:!1,title:!1,excerpt:!1,featuredImage:!1},this.refresh=this.refresh.bind(this),this.isSavingPost=this.isSavingPost.bind(this),this.getPostAttribute=this.getPostAttribute.bind(this),this.subscribeToGutenberg()}var t,n,r;return t=e,(n=[{key:"collectGutenbergData",value:function(){if(Object(w.a)())return this._coreEditorSelect||(this._coreEditorSelect=Object(i.select)("core/editor")),!1===this.oldSlug&&""!==this.getSlug()&&(this.oldSlug=this.getSlug()),{id:this.getPostID(),slug:this.getSlug(),permalink:this.getPermalink(),content:this.getPostAttribute("content"),title:this.getPostAttribute("title"),excerpt:this.getPostAttribute("excerpt"),featuredImage:this.getFeaturedImage()}}},{key:"getPostID",value:function(){return this._coreEditorSelect.getCurrentPostId()}},{key:"getPermalink",value:function(){if("auto-draft"===this.getPostAttribute("status"))return"";var e=this.getPostAttribute("generated_slug");return"auto-draft"!==e&&"en"===rankMath.locale||(e=""),Object(b.safeDecodeURIComponent)(this._coreEditorSelect.getPermalink())}},{key:"getSlug",value:function(){var e=this.getPostAttribute("generated_slug");return"auto-draft"!==e&&"en"===rankMath.locale||(e=""),Object(b.safeDecodeURIComponent)(this.getPostAttribute("slug")||e)}},{key:"getFeaturedImage",value:function(){var e=this.getPostAttribute("featured_media");if(this.isValidMediaId(e)){var t=Object(i.select)("core").getMedia(e);if(!Object(d.isUndefined)(t))return t}}},{key:"isValidMediaId",value:function(e){return"number"==typeof e&&0<e}},{key:"getPostAttribute",value:function(e){return Object(w.a)()?(this._coreEditorSelect||(this._coreEditorSelect=Object(i.select)("core/editor")),this._coreEditorSelect.getEditedPostAttribute(e)):""}},{key:"subscribeToGutenberg",value:function(){this.subscriber=Object(d.debounce)(this.refresh,500),Object(i.subscribe)(this.subscriber),Object(i.subscribe)(this.isSavingPost)}},{key:"refresh",value:function(){var e=v({},this._data);this._data=this.collectGutenbergData(),this.handleEditorChange(e)}},{key:"isSavingPost",value:function(){var e=Object(i.select)("core/editor");if(!e.isAutosavingPost()&&e.isSavingPost()){var t=Object(i.select)("rank-math").getDirtyMetadata();Object(d.isEmpty)(t)||(f()({method:"POST",path:"rankmath/v1/updateMeta",data:{objectID:rankMath.objectID,objectType:rankMath.objectType,meta:t}}),Object(i.dispatch)("rank-math").resetDirtyMetadata()),"publish"===this.getPostAttribute("status")&&(this.saveRedirection(),this.autoCreateRedirectionNotice()),this.saveSchemas()}}},{key:"saveSchemas",value:function(){var e=this;if(!this.isSavingSchemas){var t=Object(i.select)("rank-math").getSchemas();if(!Object(d.isEmpty)(t)&&Object(i.select)("rank-math").hasSchemaUpdated()){this.isSavingSchemas=!0;var n=Object(i.select)("rank-math").getEditSchemas();f()({method:"POST",path:"rankmath/v1/updateSchemas",data:{objectID:this.getPostID(),objectType:rankMath.objectType,schemas:t}}).then((function(r){if(!Object(d.isEmpty)(r)){var a=v({},t),o=v({},n);Object(d.map)(r,(function(e,t){a["schema-"+e]=v({},a[t]),o["schema-"+e]=v({},o[t]),delete a[t],delete o[t]})),Object(i.dispatch)("rank-math").updateSchemas(a),Object(i.dispatch)("rank-math").updateEditSchemas(o)}setTimeout((function(){Object(i.dispatch)("rank-math").schemaUpdated(!1),Object(s.doAction)("rank_math_schema_changed"),e.isSavingSchemas=!1}),2e3)}))}}}},{key:"saveRedirection",value:function(){var e=this;if(!this.isSavingRedirection){var t=Object(i.select)("rank-math").getRedirectionItem();if(!Object(d.isEmpty)(t)){this.isSavingRedirection=!0,t.objectID=this.getPostID(),t.redirectionSources=this.getPermalink();var n=Object(i.dispatch)("rank-math"),r=Object(i.dispatch)("core/notices");n.resetRedirection(),f()({method:"POST",path:"rankmath/v1/updateRedirection",data:t}).then((function(t){"delete"===t.action?(r.createInfoNotice(t.message,{id:"redirectionNotice"}),n.updateRedirection("redirectionID",0)):"update"===t.action?r.createInfoNotice(t.message,{id:"redirectionNotice"}):"new"===t.action&&(n.updateRedirection("redirectionID",t.id),r.createSuccessNotice(t.message,{id:"redirectionNotice"})),setTimeout((function(){e.isSavingRedirection=!1,r.removeNotice("redirectionNotice")}),2e3)}))}}}},{key:"autoCreateRedirectionNotice",value:function(){if(rankMath.assessor.hasRedirection&&Object(d.get)(rankMath,["assessor","autoCreateRedirection"],!1)&&!Object(i.select)("core/editor").isEditedPostNew()&&!1!==this.oldSlug){var e=this.getSlug();if(this.oldSlug!==e){var t=Object(i.dispatch)("core/notices");this.oldSlug=e,t.createSuccessNotice(Object(o.__)("Auto redirection created.","rank-math"),{id:"redirectionAutoCreationNotice"}),setTimeout((function(){t.removeNotice("redirectionAutoCreationNotice")}),2e3)}}}},{key:"handleEditorChange",value:function(e){var t=this,n={id:"handleIDChange",slug:"handleSlugChange",title:"handleTitleChange",excerpt:"handleExcerptChange",content:"handleContentChange",featuredImage:"handleFeaturedImageChange"};if(Object(d.isInteger)(e.id))return this.initialize?void Object(d.forEach)(n,(function(n,r){t._data[r]!==e[r]&&t[n](t._data[r])})):(this.initialize=!0,Object(d.forEach)(n,(function(e,n){t[e](t._data[n])})),void rankMathEditor.refresh("init"));Object(i.dispatch)("rank-math").refreshResults()}},{key:"handleIDChange",value:function(e){Object(i.dispatch)("rank-math").updatePostID(e),Object(i.dispatch)("rank-math").toggleLoaded(!0)}},{key:"handleSlugChange",value:function(){""!==this.getSlug()&&!1===this.oldSlug&&(this.oldSlug=this.getSlug()),rankMathEditor.refresh("permalink")}},{key:"handleTitleChange",value:function(e){g.a.setVariable("title",e),g.a.setVariable("term",e),g.a.setVariable("author",e),Object(i.dispatch)("rank-math").updateSerpTitle(Object(i.select)("rank-math").getTitle()),rankMathEditor.refresh("title")}},{key:"handleExcerptChange",value:function(e){g.a.setVariable("excerpt",e),g.a.setVariable("excerpt_only",e),g.a.setVariable("wc_shortdesc",e),g.a.setVariable("seo_description",e),Object(i.dispatch)("rank-math").updateSerpDescription(Object(i.select)("rank-math").getDescription())}},{key:"handleFeaturedImageChange",value:function(e){Object(i.dispatch)("rank-math").updateFeaturedImage(e),rankMathEditor.refresh("featuredImage")}},{key:"handleContentChange",value:function(){Object(i.dispatch)("rank-math").updateSerpDescription(Object(i.select)("rank-math").getDescription()),rankMathEditor.refresh("content")}},{key:"getData",value:function(){return this._data}}])&&O(t.prototype,n),r&&O(t,r),e}(),j=n(10),E=n.n(j),T=n(51),S=n.n(T),I=n(32),P=n(20);function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var D=Object(i.withSelect)((function(e){var t=e("rank-math");return{isLoaded:t.isLoaded(),score:t.getAnalysisScore()}}))((function(e){var t,n=e.isLoaded,r=e.score,a=E()("rank-math-toolbar-score",(C(t={},Object(P.a)(r),!0),C(t,"loading",!n),t));return wp.element.createElement("div",{className:a},wp.element.createElement(I.a,null),wp.element.createElement(S.a,null))})),N=n(3),x=Object(i.withSelect)((function(e){var t=e("rank-math"),n=t.getTwitterUseFacebook()?t.getFacebookTitle():t.getTwitterTitle();return Object(d.isEmpty)(n)&&(n=t.getSerpTitle()),{title:n,permalink:e("core/editor").getPermalink()}}))((function(e){var t=e.title,n=e.permalink,r=encodeURI(n),a=encodeURI(t);return wp.element.createElement(l.Fragment,null,wp.element.createElement("p",null,Object(o.__)("Notify your readers by sharing!","rank-math")),wp.element.createElement("div",{className:"rank-math-social-share-buttons"},wp.element.createElement("div",{className:"rank-math-share-button rm-facebook"},wp.element.createElement("a",{href:"https://www.facebook.com/sharer/sharer.php?u="+r,target:"_blank",rel:"noopener noreferrer"},wp.element.createElement(N.Dashicon,{icon:"facebook-alt"}))),wp.element.createElement("div",{className:"rank-math-share-button rm-twitter"},wp.element.createElement("a",{href:"https://twitter.com/share?url="+r+"&text="+a,target:"_blank",rel:"noopener noreferrer"},wp.element.createElement(N.Dashicon,{icon:"twitter"}))),wp.element.createElement("div",{className:"rank-math-share-button rm-email"},wp.element.createElement("a",{href:"mailto:?subject="+a+"&body="+r,target:"_blank",rel:"noopener noreferrer"},wp.element.createElement(N.Dashicon,{icon:"email"})))))}));function R(e){return(R="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})(e)}function A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function M(e,t){return(M=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function U(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=L(e);if(t){var a=L(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return F(this,n)}}function F(e,t){return!t||"object"!==R(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function L(e){return(L=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var H=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&M(e,t)}(n,e);var t=U(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(n(37).a),z=Object(i.withSelect)((function(e,t){var n=t.slug,r=e("core").getTaxonomy(n),a=e("core/editor").getEditedPostAttribute;return{taxonomy:r,selectedTermIds:r?a(r.rest_base):[],primaryTermID:e("rank-math").getPrimaryTermID()}}))(H),B=function(e){var t=e.TermComponent;return function(e){return!1!==rankMath.assessor.primaryTaxonomy&&e.slug===rankMath.assessor.primaryTaxonomy.name}(e)?wp.element.createElement(l.Fragment,null,wp.element.createElement(t,e),wp.element.createElement(N.PanelRow,{className:"rank-math-primary-term-picker"},wp.element.createElement(z,e))):wp.element.createElement(t,e)},G=n(23),K=n(24),V=n(22);function W(e){return(W="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})(e)}function Y(){return(Y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function q(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Z(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function $(e,t,n){return($="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=ee(e)););return e}(e,t);if(r){var a=Object.getOwnPropertyDescriptor(r,t);return a.get?a.get.call(n):a.value}})(e,t,n||e)}function J(e,t){return(J=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Q(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ee(e);if(t){var a=ee(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return X(this,n)}}function X(e,t){return!t||"object"!==W(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ee(e){return(ee=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var te=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&J(e,t)}(m,e);var t,n,r,a=Q(m);function m(){return q(this,m),a.apply(this,arguments)}return t=m,(n=[{key:"setup",value:function(e){this.registerSlots=this.registerSlots.bind(this),Object(s.addAction)("rank_math_loaded","rank-math",this.registerSlots,0),$(ee(m.prototype),"setup",this).call(this,e),this.registerSidebar(),this.registerPostPublish(),this.registerPrimaryTermSelector()}},{key:"registerSlots",value:function(){this.RankMathAfterEditor=G.a,this.RankMathAfterFocusKeyword=V.a,this.RankMathAdvancedTab=K.a,this.slots={AfterEditor:G.a,AfterFocusKeyword:V.a,AdvancedTab:K.a}}},{key:"registerSidebar",value:function(){Object(c.registerPlugin)("rank-math",{icon:wp.element.createElement(D,null),render:function(){return wp.element.createElement(l.Fragment,null,wp.element.createElement(u.PluginSidebarMoreMenuItem,{target:"seo-by-rank-math-sidebar",icon:wp.element.createElement(D,null)},o.__("Rank Math","rank-math")),wp.element.createElement(u.PluginSidebar,{name:"seo-by-rank-math-sidebar",title:o.__("Rank Math","rank-math"),className:"rank-math-sidebar-panel"},wp.element.createElement(p.a,null)))}})}},{key:"registerPostPublish",value:function(){Object(c.registerPlugin)("rank-math-post-publish",{render:function(){return wp.element.createElement(u.PluginPostPublishPanel,{initialOpen:!0,title:o.__("Rank Math","rank-math"),className:"rank-math-post-publish",icon:wp.element.createElement(l.Fragment,null)},wp.element.createElement(x,null))}})}},{key:"registerPrimaryTermSelector",value:function(){Object(s.addFilter)("editor.PostTaxonomyType","rank-math",(function(e){return function(t){return wp.element.createElement(B,Y({TermComponent:e},t))}}))}},{key:"updatePermalink",value:function(e){Object(i.dispatch)("core/editor").editPost({slug:e})}},{key:"updatePermalinkSanitize",value:function(e){e=this.assessor.getResearch("slugify")(e),Object(i.dispatch)("core/editor").editPost({slug:e})}}])&&Z(t.prototype,n),r&&Z(t,r),m}(m.a);a()(document).ready((function(){window.rankMathEditor=new te,window.rankMathGutenberg=window.rankMathEditor,window.rankMathEditor.setup(new _)}))}]);
includes/module/class-manager.php CHANGED
@@ -216,7 +216,7 @@ class Manager {
216
  public function setup_internals( $modules ) {
217
 
218
  $modules['robots-txt'] = [
219
- 'title' => esc_html__( 'Robotx Txt', 'rank-math' ),
220
  'only' => 'internal',
221
  'class' => 'RankMath\Robots_Txt',
222
  ];
216
  public function setup_internals( $modules ) {
217
 
218
  $modules['robots-txt'] = [
219
+ 'title' => esc_html__( 'Robots Txt', 'rank-math' ),
220
  'only' => 'internal',
221
  'class' => 'RankMath\Robots_Txt',
222
  ];
includes/modules/local-seo/class-local-seo.php CHANGED
@@ -358,4 +358,4 @@ class Local_Seo {
358
 
359
  return $entity;
360
  }
361
- }
358
 
359
  return $entity;
360
  }
361
+ }
includes/modules/schema/assets/js/schema-classic.js CHANGED
@@ -1 +1 @@
1
- !function(e){var t={};function r(a){if(t[a])return t[a].exports;var i=t[a]={i:a,l:!1,exports:{}};return e[a].call(i.exports,i,i.exports,r),i.l=!0,i.exports}r.m=e,r.c=t,r.d=function(e,t,a){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(r.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(a,i,function(t){return e[t]}.bind(null,i));return a},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=37)}([function(e,t){e.exports=wp.i18n},function(e,t){e.exports=lodash},function(e,t){e.exports=wp.components},function(e,t){e.exports=wp.hooks},function(e,t,r){"use strict";r.d(t,"k",(function(){return a.b})),r.d(t,"h",(function(){return a.a})),r.d(t,"b",(function(){return s})),r.d(t,"c",(function(){return c})),r.d(t,"g",(function(){return m})),r.d(t,"i",(function(){return d})),r.d(t,"a",(function(){return p})),r.d(t,"d",(function(){return h})),r.d(t,"j",(function(){return _})),r.d(t,"f",(function(){return O})),r.d(t,"e",(function(){return k})),r.d(t,"m",(function(){return A})),r.d(t,"l",(function(){return G})),r.d(t,"n",(function(){return q}));var a=r(19),i=r(1);function n(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var a=0,i=function(){};return{s:i,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,s=!0,c=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return s=e.done,e},e:function(e){c=!0,n=e},f:function(){try{s||null==r.return||r.return()}finally{if(c)throw n}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}function s(e,t){if(Object(i.isEmpty)(e)||t.id===e)return t;var r,a=n(t.properties);try{for(a.s();!(r=a.n()).done;){var o=r.value;if(o.id===e)return o;if(o.map.isGroup){var c=s(e,o);if(c)return c}}}catch(e){a.e(e)}finally{a.f()}}function c(e,t){if(Object(i.isEmpty)(e))return t;var r,a=n(t.properties);try{for(a.s();!(r=a.n()).done;){var o=r.value;if(o.property===e)return o.value=Object(i.has)(t.metadata,e)?t.metadata[e]:o.value,o}}catch(e){a.e(e)}finally{a.f()}return!1}var l=r(10);function m(){return{id:"g-".concat(Object(l.v4)()),property:"",properties:[],map:{isGroup:!0,isArray:!1,isRequired:!1,isRecommended:!1}}}function d(){return{id:"p-".concat(Object(l.v4)()),property:"",value:"",map:{isGroup:!1,isArray:!1,isRequired:!1,isRecommended:!1}}}function p(e){return e.id="g-".concat(Object(l.v4)()),e.properties.forEach((function(e){e.map.isGroup?p(e):e.id="p-".concat(Object(l.v4)())})),e}var u=function e(t){if(!t)return m();var r=t.map.isGroup?m():d();return Object(i.forEach)(t,(function(t,a){if("map"!==a){var n=d();t.map.isGroup&&(n=e(t)),n.map=t.map,n.property=a,n.value=Object(i.get)(t.map,"value",Object(i.get)(t.map,"field.default","")),r.properties.push(n)}else Object(i.has)(t,"title")&&(r.map.title=t.title,r.map.defaultEn=t.defaultEn)})),r};function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=!1;r||(n=Object(i.isString)(e)?Object(a.a)(e):e);var o=u(n);return(o=Object(i.merge)(o,t)).property=e,o}var b=r(3);function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Object(i.isEmpty)(t)||Object(i.forEach)(t,(function(t,n){if("@context"!==n){var o=c(n,e);if(o)R(o,n,t,r);else{var s=Object(a.a)(n);Object(i.isArray)(t)?(o=m()).map.isArray=!0:o=Object(i.isObject)(t)||s?_(s?h(s):m(),t,r):d(),R(o,n,t,r),o.property=n,e.properties.push(o)}}})),e}var R=function(e,t,r){var a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!t)return e;var i=Object(b.applyFilters)("rank_math_schema_convert_value",!1,e,t,r,a);return!1!==i||!1!==(i=Object(b.applyFilters)("rank_math_schema_convert_"+t,!1,e,r))?i:(e.value=r,e)};function O(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=h(t,r,a);return _(i,e)}function k(e){var t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){y(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e),r=Object(b.applyFilters)("rank_math_schema_type",Object(i.get)(t,"@type","")),a=Object(i.get)(t,"metadata",{type:"template"});delete t.metadata;var n="custom"===a.type?m():h(r);Object(i.has)(n.map,"title")&&!Object(i.has)(a,"title")&&(a.title=n.map.title),Object(i.has)(a,"title")&&a.title===n.map.defaultEn&&(a.title=n.map.title),n.property=Object(i.get)(a,"title",r),n.metadata=a;var o=c("@type",n);if(!1!==o&&""!==o.value&&(t["@type"]=o.value),n=_(n,t,"custom"===a.type),"custom"!==a.type){var s=n.properties.pop();n.properties.unshift(s)}return n}function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var j=function(e){if(!Object(i.isEmpty)(e.value)||!Object(i.isUndefined)(e.map.field)&&"toggle"===e.map.field.type)return e.value;var t=Object(i.get)(e,"map.field.placeholder");return Object(i.isEmpty)(t)?Object(i.get)(e,"map.field.default",!1):t},w=function(e){if(Object(i.isEmpty)(e)||Object(i.isUndefined)(e.properties))return e;var t={};return"metadata"in e&&(t.metadata=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach((function(t){v(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e.metadata),t.metadata.title=e.property),Object(i.map)(e.properties,(function(e){var r=Object(i.get)(e,"map.save",!0),a=Object(i.get)(e,"map.isHidden",!1);if(!1!==r&&!a)if("metadata"!==r){var n=function(e){var t=!1;return t=Object(b.applyFilters)("rank_math_schema_process_value",t,e),Object(b.applyFilters)("rank_math_schema_process_"+e.property,t,e)}(e);if(!1===n){if(e.map.isArray){var o=[];return Object(i.map)(e.properties,(function(e){o.push(Object(i.isUndefined)(e.properties)?e.value:A(e))})),void(t[e.property]=o)}if(e.map.isGroup){var s=A(e);return s["@type"]=Object(i.get)(s,"@type",e.property),void(t[e.property]=s)}var c=j(e);!Object(i.isBoolean)(c)&&Object(i.isEmpty)(c)||!c||(t[e.property]=c)}else t[e.property]=n}else{var l=j(e);if(Object(i.isEmpty)(l)&&"toggle"!==e.map.field.type)return;t.metadata[e.property]=l}})),t};function A(e){var t=w(e);return t=Object(b.applyFilters)("rank_math_processed_schema_"+t["@type"],t),Object(b.applyFilters)("rank_math_processed_schema",t)}function G(e){return"string"!=typeof e&&(e=JSON.stringify(e,null,2)),(e=e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")).replace(/("(\\u[a-zA-Z0-9]{4}|\\[^u]|[^\\"])*"(\s*:)?|\b(true|false|null)\b|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)/g,(function(e){var t="number";return/^"/.test(e)?t=/:$/.test(e)?"key":"string":/true|false/.test(e)?t="boolean":/null/.test(e)&&(t="null"),'<span class="'+t+'">'+e+"</span>"}))}function q(e,t){if(!Object(i.has)(e,"map.dependency"))return!0;var r=null,a=e.map.dependency,n=Object(i.get)(a,"relation","or");return Object(i.forEach)(a,(function(e){var a,o,s,l=c(e.field,t),m=(a=l.value,o=Object(i.get)(e,"value",!1),s=Object(i.get)(e,"comparison","="),Object(i.isArray)(o)&&"="===s?o.includes(a):Object(i.isArray)(o)&&"!="===s?!o.includes(a):"="===s&&a===o||"=="===s&&a===o||">="===s&&a>=o||"<="===s&&a<=o||">"===s&&a>o||"<"===s&&a<o||"!="===s&&a!==o);if("or"===n&&m)return r=!0,!1;"and"===n&&(r=(null===r||r)&&m)})),!!r}},function(e,t){e.exports=wp.data},function(e,t){e.exports=wp.element},function(e,t){e.exports=wp.compose},function(e,t){e.exports=jQuery},function(e,t,r){var a;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var a=arguments[t];if(a){var n=typeof a;if("string"===n||"number"===n)e.push(a);else if(Array.isArray(a)&&a.length){var o=i.apply(null,a);o&&e.push(o)}else if("object"===n)for(var s in a)r.call(a,s)&&a[s]&&e.push(s)}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(a=function(){return i}.apply(t,[]))||(e.exports=a)}()},function(e,t,r){var a=r(26),i=r(27),n=i;n.v1=a,n.v4=i,e.exports=n},function(e,t,r){"use strict";var a=r(12),i=r(0),n=r(2);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],a=!0,i=!1,n=void 0;try{for(var o,s=e[Symbol.iterator]();!(a=(o=s.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){i=!0,n=e}finally{try{a||null==s.return||s.return()}finally{if(i)throw n}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return s(e,t)}(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 s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}t.a=function(e){var t=e.onClick,r=e.children,s=(e.className,Object(a.useRef)()),c=o(Object(a.useState)(!1),2),l=c[0],m=c[1],d=function(e){s.current.contains(e.target)||m(!1)};return Object(a.useEffect)((function(){return l?document.addEventListener("mousedown",d):document.removeEventListener("mousedown",d),function(){document.removeEventListener("mousedown",d)}}),[l]),wp.element.createElement("div",{ref:s,className:"rank-math-inline-confirmation"},!l&&r(m),l&&wp.element.createElement("div",{className:"rank-math-confirm-delete"},wp.element.createElement("span",null,Object(i.__)("Delete?","rank-math")),wp.element.createElement(n.Button,{isLink:!0,onClick:function(){m(!1),t()}},wp.element.createElement("span",null,Object(i.__)("Yes","rank-math"))),wp.element.createElement(n.Button,{isLink:!0,onClick:function(){return m(!1)}},wp.element.createElement("span",null,Object(i.__)("No","rank-math")))))}},function(e,t){e.exports=React},function(e,t,r){e.exports=r(28)()},function(e,t){e.exports=wp.keycodes},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var a=r(1);function i(e){return Object(a.get)({off:"rm-icon rm-icon-schema",Article:"rm-icon rm-icon-post",Book:"rm-icon rm-icon-book",Course:"rm-icon rm-icon-course",Event:"rm-icon rm-icon-calendar",JobPosting:"rm-icon rm-icon-job",Local:"rm-icon rm-icon-local-seo",Music:"rm-icon rm-icon-music",Product:"rm-icon rm-icon-cart",WooCommerceProduct:"rm-icon rm-icon-cart",Recipe:"rm-icon rm-icon-recipe",Restaurant:"rm-icon rm-icon-restaurant",Video:"rm-icon rm-icon-video",Person:"rm-icon rm-icon-users",Review:"rm-icon rm-icon-star",Service:"rm-icon rm-icon-service",Software:"rm-icon rm-icon-software"},e,"rm-icon rm-icon-schema")}},function(e,t){e.exports=rankMathAnalyzer},function(e,t){e.exports=wp.apiFetch},function(e,t,r){"use strict";var a=r(1),i=r(0),n=r(7),o=r(2),s=r(5),c=r(15),l=r(11),m=Object(o.withFilters)("rankMath.schema.SchemaList")((function(e){var t=e.schemas,r=e.edit,n=e.trash,s=e.preview,m=e.showProNotice;return Object(a.isEmpty)(t)?null:wp.element.createElement("div",{className:"rank-math-schema-in-use"},wp.element.createElement("h4",{className:"rank-math-schema-section-title"},Object(i.__)("Schema in Use","rank-math")),m&&wp.element.createElement("div",{className:"components-notice rank-math-notice is-warning"},wp.element.createElement("div",{className:"components-notice__content"},Object(i.__)("Multiple Schemas are allowed in the","rank-math")," ",wp.element.createElement("a",{href:"https://rankmath.com/pricing/?utm_source=Plugin&utm_medium=Schema%20Tab%20Notice&utm_campaign=WP",rel:"noreferrer noopener",target:"_blank"},wp.element.createElement("strong",null,Object(i.__)("PRO Version","rank-math"))))),Object(a.map)(t,(function(e,t){return wp.element.createElement("div",{key:t,id:"rank-math-schema-item",className:"rank-math-schema-item row"},wp.element.createElement("strong",{className:"rank-math-schema-name"},wp.element.createElement("i",{className:Object(c.a)(e["@type"])}),Object(a.get)(e,"metadata.title",e["@type"])),wp.element.createElement("span",{className:"rank-math-schema-item-actions"},wp.element.createElement(o.Button,{className:"button rank-math-edit-schema",isLink:!0,onClick:function(){return r(t)}},wp.element.createElement("i",{className:"rm-icon rm-icon-edit"}),wp.element.createElement("span",null,Object(i.__)("Edit","rank-math"))),wp.element.createElement(o.Button,{className:"button rank-math-preview-schema",isLink:!0,onClick:function(){return s(t)}},wp.element.createElement("i",{className:"rm-icon rm-icon-eye"}),wp.element.createElement("span",null,Object(i.__)("Preview","rank-math"))),wp.element.createElement(l.a,{key:t,onClick:function(){return n(t)}},(function(e){return wp.element.createElement(o.Button,{isLink:!0,className:"button rank-math-delete-schema",onClick:function(){return e(!0)}},wp.element.createElement("i",{className:"rm-icon rm-icon-trash"}),wp.element.createElement("span",null,Object(i.__)("Delete","rank-math")))}))))})))}));t.a=Object(n.compose)(Object(s.withSelect)((function(e){var t=e("rank-math").getSchemas();return{schemas:t,showProNotice:1<=Object.keys(t).length}})),Object(s.withDispatch)((function(e){return{trash:function(t){e("rank-math").deleteSchema(t)},edit:function(t){e("rank-math").setEditingSchemaId(t),e("rank-math").toggleSchemaEditor(!0)},preview:function(t){e("rank-math").setEditingSchemaId(t),e("rank-math").setEditorTab("codeValidation"),e("rank-math").toggleSchemaEditor(!0)}}})))(m)},function(e,t,r){"use strict";r.d(t,"b",(function(){return p})),r.d(t,"a",(function(){return u}));var a=r(1),i=r(0),n=r(17),o=r.n(n),s=r(3),c={version:"1.0.0",properties:{author:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Person"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Author Name","rank-math"),placeholder:"%name%"}}}},image:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"ImageObject"}},url:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Image URL","rank-math")}}}},rating:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Rating"}},ratingValue:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"number",label:Object(i.__)("Rating","rank-math"),help:Object(i.__)("Rating score","rank-math")}}},worstRating:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"number",label:Object(i.__)("Rating Minimum","rank-math"),help:Object(i.__)("Rating minimum score","rank-math"),placeholder:1}}},bestRating:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"number",label:Object(i.__)("Rating Maximum","rank-math"),help:Object(i.__)("Rating maximum score","rank-math"),placeholder:5}}}},review:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Review","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Review"}},datePublished:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"datetimepicker",label:Object(i.__)("Published Date","rank-math"),placeholder:"%date(Y-m-d\\TH:i:sP)%",classes:"hide-group"}}},dateModified:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"datetimepicker",label:Object(i.__)("Modified Date","rank-math"),placeholder:"%modified(Y-m-d\\TH:i:sP)%",classes:"hide-group"}}},author:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:["hide-group-header","hide-group"]},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Person"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Author Name","rank-math"),placeholder:"%name%"}}}},reviewRating:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Rating"}},ratingValue:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"number",label:Object(i.__)("Rating","rank-math"),help:Object(i.__)("Rating score","rank-math")}}},worstRating:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"number",label:Object(i.__)("Rating Minimum","rank-math"),help:Object(i.__)("Rating minimum score","rank-math"),placeholder:1}}},bestRating:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"number",label:Object(i.__)("Rating Maximum","rank-math"),help:Object(i.__)("Rating maximum score","rank-math"),placeholder:5}}}}},bookEditions:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Edition","rank-math"),help:Object(i.__)("Either a specific edition of the written work, or the volume of the work","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Book"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Title","rank-math"),help:Object(i.__)("The title of the tome. Use for the title of the tome if it differs from the book. *Optional when tome has the same title as the book","rank-math")}}},bookEdition:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Edition","rank-math"),help:Object(i.__)("The edition of the book","rank-math")}}},isbn:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("ISBN","rank-math"),help:Object(i.__)("The ISBN of the print book","rank-math")}}},url:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("URL","rank-math"),help:Object(i.__)("URL specific to this edition if one exists","rank-math")}}},author:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Person"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Author Name","rank-math"),placeholder:"%name%"}}}},datePublished:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"datepicker",label:Object(i.__)("Date Published","rank-math"),help:Object(i.__)("Date of first publication of this tome","rank-math")}}},bookFormat:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"radio",label:Object(i.__)("Book Format","rank-math"),desc:"The format of the book.",options:{"https://schema.org/EBook":"eBook","https://schema.org/Hardcover":"Hardcover","https://schema.org/Paperback":"Paperback","https://schema.org/AudioBook":"Audio Book"},default:"https://schema.org/Hardcover"}}}},provider:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{type:"radio",label:Object(i.__)("Course Provider","rank-math"),classes:"show-property",options:{Organization:"Organization",Person:"Person"},default:"Organization"}}},name:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Course Provider Name","rank-math")}}},sameAs:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Course Provider URL","rank-math")}}}},"virtual-location":{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{value:"VirtualLocation"}}},url:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Online Event URL","rank-math"),help:Object(i.__)("The URL of the online event, where people can join. This property is required if your event is happening online","rank-math")}}}},address:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Address","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"PostalAddress"}},streetAddress:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Street Address","rank-math")}}},addressLocality:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Locality","rank-math")}}},addressRegion:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Region","rank-math")}}},postalCode:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Postal Code","rank-math")}}},addressCountry:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Country","rank-math")}}}},"physical-location":{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Place"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Venue Name","rank-math"),help:Object(i.__)("The venue name.","rank-math")}}},url:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Venue URL","rank-math"),help:Object(i.__)("Website URL of the venue","rank-math")}}},address:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Address","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"PostalAddress"}},streetAddress:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Street Address","rank-math")}}},addressLocality:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Locality","rank-math")}}},addressRegion:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Region","rank-math")}}},postalCode:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Postal Code","rank-math")}}},addressCountry:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Country","rank-math")}}}}},"event-performer":{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Performer Information","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"radio",label:Object(i.__)("Performer","rank-math"),classes:"show-property",options:{Organization:"Organization",Person:"Person"},default:"Person"}}},name:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Name","rank-math")}}},sameAs:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Website or Social Link","rank-math")}}}},offers:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Offers","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Offer"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Name","rank-math")}}},category:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Category","rank-math")}}},url:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("URL","rank-math")}}},price:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Price","rank-math")}}},priceCurrency:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Currency","rank-math")}}},availability:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"select",label:Object(i.__)("Availability","rank-math"),help:Object(i.__)("Offer availability","rank-math"),classes:"col-4",options:{InStock:"In Stock",SoldOut:"Sold Out",PreOrder:"Preorder"},default:"InStock"}}},validFrom:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"datepicker",label:Object(i.__)("Price Valid From","rank-math"),help:Object(i.__)("The date after which the price will no longer be available","rank-math")}}},priceValidUntil:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"datepicker",label:Object(i.__)("Price Valid Until","rank-math"),help:Object(i.__)("The date after which the price will no longer be available","rank-math")}}},inventoryLevel:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Inventory Level","rank-math")}}}},"monetary-amount-unit":{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Salary","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"QuantitativeValue"}},value:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Salary (Recommended)","rank-math"),help:Object(i.__)("Insert amount, e.g. 50.00, or a salary range, e.g. 40.00-50.00","rank-math"),classes:"col-4"}}},unitText:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"select",label:Object(i.__)("Payroll (Recommended)","rank-math"),help:Object(i.__)("Salary amount is for","rank-math"),options:{"":"None",YEAR:"Yearly",MONTH:"Monthly",WEEK:"Weekly",DAY:"Daily",HOUR:"Hourly"},classes:"col-4"}}}},"monetary-amount":{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"MonetaryAmount"}},currency:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Salary Currency","rank-math"),help:Object(i.__)("ISO 4217 Currency code. Example: EUR","rank-math"),classes:"col-4"}}},value:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Salary","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"QuantitativeValue"}},value:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Salary (Recommended)","rank-math"),help:Object(i.__)("Insert amount, e.g. 50.00, or a salary range, e.g. 40.00-50.00","rank-math"),classes:"col-4"}}},unitText:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"select",label:Object(i.__)("Payroll (Recommended)","rank-math"),help:Object(i.__)("Salary amount is for","rank-math"),options:{"":"None",YEAR:"Yearly",MONTH:"Monthly",WEEK:"Weekly",DAY:"Daily",HOUR:"Hourly"},classes:"col-4"}}}}},"hiring-organization":{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Organization"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Hiring Organization","rank-math"),placeholder:"%org_name%",help:Object(i.__)("The name of the company. Leave empty to use your own company information.","rank-math"),classes:"col-4"}}},sameAs:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Organization URL (Recommended)","rank-math"),placeholder:"%org_url%",help:Object(i.__)("The URL of the organization offering the job position. Leave empty to use your own company information","rank-math"),classes:"col-6"}}},logo:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Organization Logo (Recommended)","rank-math"),placeholder:"%org_logo%",help:Object(i.__)("Logo URL of the organization offering the job position. Leave empty to use your own company information","rank-math"),classes:"col-6"}}}},brand:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Brand"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Brand Name","rank-math")}}}},calories:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"NutritionInformation"}},calories:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Calories","rank-math"),help:Object(i.__)("The number of calories in the recipe. Optional.","rank-math")}}}},"video-object":{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Video","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"VideoObject"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Name","rank-math"),help:Object(i.__)("A recipe video Name","rank-math"),classes:"col-6"}}},description:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"textarea",label:Object(i.__)("Description","rank-math"),help:Object(i.__)("A recipe video Description","rank-math")}}},embedUrl:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Video URL","rank-math"),help:Object(i.__)("A video URL. Optional.","rank-math"),classes:"col-6"}}},contentUrl:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Content URL","rank-math"),help:Object(i.__)("A URL pointing to the actual video media file","rank-math"),classes:"col-6"}}},thumbnailUrl:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Recipe Video Thumbnail","rank-math"),help:Object(i.__)("A recipe video thumbnail URL","rank-math"),classes:"col-6"}}},uploadDate:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"datepicker",label:Object(i.__)("Video Upload Date","rank-math"),classes:"col-6"}}}},instructionText:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"HowtoStep"}},text:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"textarea"}}}},instructions:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Recipe Instructions","rank-math"),help:Object(i.__)("Either a specific edition of the written work, or the volume of the work","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"HowToSection"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Name","rank-math"),help:Object(i.__)("Instruction name of the recipe.","rank-math")}}},itemListElement:{map:{isArray:!0,isGroup:!0,isRequired:!1,isRecommended:!1,arrayMap:"instructionText",arrayProps:{map:{classes:"show-delete-property-group"}},classes:"show-add-property-group",field:{label:Object(i.__)("Instruction Texts","rank-math")}}}},"geo-coordinates":{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Geo Cordinates","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"GeoCoordinates"}},latitude:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Latitude","rank-math")}}},longitude:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Longitude","rank-math")}}}},"opening-hours":{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Timings","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"OpeningHoursSpecification"}},dayOfWeek:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"checkbox",label:Object(i.__)("Open Days","rank-math"),options:{monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},default:[]}}},opens:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"timepicker",label:Object(i.__)("Opening Time","rank-math"),classes:"col-6",placeholder:"09:00 AM"}}},closes:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"timepicker",label:Object(i.__)("Closing Time","rank-math"),classes:"col-6",placeholder:"05:00 PM"}}}},cuisine:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1},cuisine:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Cuisine","rank-math")}}}}},schemas:{Article:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,title:Object(i.__)("Article","rank-math"),defaultEn:"Article"},headline:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Headline","rank-math"),placeholder:"%seo_title%"}}},description:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"textarea",label:Object(i.__)("Description","rank-math"),placeholder:"%seo_description%"}}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{type:"radio",label:Object(i.__)("Article Type","rank-math"),classes:"show-property",options:{Article:"Article",BlogPosting:"Blog Post",NewsArticle:"News Article"},notice:{status:"warning",className:"article-notice",content:Object(i.__)("Google does not allow Person as the Publisher for articles. Organization will be used instead.","rank-math")}}}},author:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:["hide-group-header","hide-group"]},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Person"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Author Name","rank-math"),placeholder:"%name%"}}}},datePublished:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Published Date","rank-math"),classes:"hide-group",default:"%date(Y-m-d\\TH:i:sP)%"}}},dateModified:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Modified Date","rank-math"),classes:"hide-group",default:"%modified(Y-m-d\\TH:i:sP)%"}}},image:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:["hide-group-header","hide-group"]},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"ImageObject"}},url:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Image URL","rank-math"),placeholder:"%post_thumbnail%"}}}}},Book:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,title:Object(i.__)("Book","rank-math"),defaultEn:"Book"},name:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Headline","rank-math"),placeholder:"%seo_title%"}}},reviewLocation:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,save:"metadata",field:{type:"select",label:Object(i.__)("Review Location","rank-math"),help:Object(i.__)("The review or rating must be displayed on the page to comply with Google's Schema guidelines.","rank-math"),options:{bottom:"Below Content",top:"Above Content",both:"Above and Below Content",custom:"Custom (use shortcode)"},default:"custom"}}},reviewLocationShortcode:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,save:"metadata",field:{type:"text",label:Object(i.__)("Shortcode","rank-math"),help:Object(i.__)("You can use the Schema Block in the block editor, or copy and paste this in the content. This shortcode will work on this page only.","rank-math"),disabled:"disabled"},value:"[rank_math_rich_snippet]",dependency:[{field:"reviewLocation",value:"custom"}]}},url:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("URL","rank-math")}}},author:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Person"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Author Name","rank-math"),placeholder:"%name%"}}}},review:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Review","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Review"}},datePublished:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"datetimepicker",label:Object(i.__)("Published Date","rank-math"),placeholder:"%date(Y-m-d\\TH:i:sP)%",classes:"hide-group"}}},dateModified:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"datetimepicker",label:Object(i.__)("Modified Date","rank-math"),placeholder:"%modified(Y-m-d\\TH:i:sP)%",classes:"hide-group"}}},author:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:["hide-group-header","hide-group"]},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Person"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Author Name","rank-math"),placeholder:"%name%"}}}},reviewRating:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Rating"}},ratingValue:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"number",label:Object(i.__)("Rating","rank-math"),help:Object(i.__)("Rating score","rank-math")}}},worstRating:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"number",label:Object(i.__)("Rating Minimum","rank-math"),help:Object(i.__)("Rating minimum score","rank-math"),placeholder:1}}},bestRating:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"number",label:Object(i.__)("Rating Maximum","rank-math"),help:Object(i.__)("Rating maximum score","rank-math"),placeholder:5}}}}},hasPart:{map:{isArray:!0,isGroup:!0,isRequired:!1,isRecommended:!1,arrayMap:"bookEditions",arrayProps:{map:{classes:"show-delete-property-group"}},field:{label:Object(i.__)("Editions","rank-math")}}},image:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:["hide-group-header","hide-group"]},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"ImageObject"}},url:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Image URL","rank-math"),placeholder:"%post_thumbnail%"}}}}},Course:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,title:Object(i.__)("Course","rank-math"),defaultEn:"Course"},name:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Headline","rank-math"),placeholder:"%seo_title%"}}},reviewLocation:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,save:"metadata",field:{type:"select",label:Object(i.__)("Review Location","rank-math"),help:Object(i.__)("The review or rating must be displayed on the page to comply with Google's Schema guidelines.","rank-math"),options:{bottom:"Below Content",top:"Above Content",both:"Above and Below Content",custom:"Custom (use shortcode)"},default:"custom"}}},reviewLocationShortcode:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,save:"metadata",field:{type:"text",label:Object(i.__)("Shortcode","rank-math"),help:Object(i.__)("You can use the Schema Block in the block editor, or copy and paste this in the content. This shortcode will work on this page only.","rank-math"),disabled:"disabled"},value:"[rank_math_rich_snippet]",dependency:[{field:"reviewLocation",value:"custom"}]}},description:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"textarea",label:Object(i.__)("Description","rank-math"),placeholder:"%seo_description%"}}},provider:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{type:"radio",label:Object(i.__)("Course Provider","rank-math"),classes:"show-property",options:{Organization:"Organization",Person:"Person"},default:"Organization"}}},name:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Course Provider Name","rank-math")}}},sameAs:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Course Provider URL","rank-math")}}}},image:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:["hide-group-header","hide-group"]},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"ImageObject"}},url:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Image URL","rank-math"),placeholder:"%post_thumbnail%"}}}},review:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Review","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Review"}},datePublished:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"datetimepicker",label:Object(i.__)("Published Date","rank-math"),placeholder:"%date(Y-m-d\\TH:i:sP)%",classes:"hide-group"}}},dateModified:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"datetimepicker",label:Object(i.__)("Modified Date","rank-math"),placeholder:"%modified(Y-m-d\\TH:i:sP)%",classes:"hide-group"}}},author:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:["hide-group-header","hide-group"]},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Person"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Author Name","rank-math"),placeholder:"%name%"}}}},reviewRating:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Rating"}},ratingValue:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"number",label:Object(i.__)("Rating","rank-math"),help:Object(i.__)("Rating score","rank-math")}}},worstRating:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"number",label:Object(i.__)("Rating Minimum","rank-math"),help:Object(i.__)("Rating minimum score","rank-math"),placeholder:1}}},bestRating:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"number",label:Object(i.__)("Rating Maximum","rank-math"),help:Object(i.__)("Rating maximum score","rank-math"),placeholder:5}}}}}},Event:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,title:Object(i.__)("Event","rank-math"),defaultEn:"Event"},name:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Headline","rank-math"),placeholder:"%seo_title%"}}},reviewLocation:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,save:"metadata",field:{type:"select",label:Object(i.__)("Review Location","rank-math"),help:Object(i.__)("The review or rating must be displayed on the page to comply with Google's Schema guidelines.","rank-math"),options:{bottom:"Below Content",top:"Above Content",both:"Above and Below Content",custom:"Custom (use shortcode)"},default:"custom"}}},reviewLocationShortcode:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,save:"metadata",field:{type:"text",label:Object(i.__)("Shortcode","rank-math"),help:Object(i.__)("You can use the Schema Block in the block editor, or copy and paste this in the content. This shortcode will work on this page only.","rank-math"),disabled:"disabled"},value:"[rank_math_rich_snippet]",dependency:[{field:"reviewLocation",value:"custom"}]}},description:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"textarea",label:Object(i.__)("Description","rank-math"),placeholder:"%seo_description%"}}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"select",label:Object(i.__)("Event Type","rank-math"),help:Object(i.__)("Type of the event","rank-math"),classes:"show-property col-4",options:{Event:"Event",BusinessEvent:"Business Event",ChildrensEvent:"Childrens Event",ComedyEvent:"Comedy Event",DanceEvent:"Dance Event",DeliveryEvent:"Delivery Event",EducationEvent:"Education Event",ExhibitionEvent:"Exhibition Event",Festival:"Festival",FoodEvent:"Food Event",LiteraryEvent:"Literary Event",MusicEvent:"Music Event",PublicationEvent:"Publication Event",SaleEvent:"Sale Event",ScreeningEvent:"Screening Event",SocialEvent:"Social Event",SportsEvent:"Sports Event",TheaterEvent:"Theater Event",VisualArtsEvent:"Visual Arts Event"}}}},eventStatus:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"select",label:Object(i.__)("Event Status","rank-math"),help:Object(i.__)("Current status of the event (optional)","rank-math"),options:{"":"None",EventScheduled:"Scheduled",EventCancelled:"Cancelled",EventPostponed:"Postponed",EventRescheduled:"Rescheduled",EventMovedOnline:"Moved Online"},classes:"col-4",default:"EventScheduled"}}},eventAttendanceMode:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"select",label:Object(i.__)("Event Attendance Mode","rank-math"),help:Object(i.__)("Indicates whether the event occurs online, offline at a physical location, or a mix of both online and offline.","rank-math"),options:{OfflineEventAttendanceMode:"Offline",OnlineEventAttendanceMode:"Online",MixedEventAttendanceMode:"Online + Offline"},default:"OfflineEventAttendanceMode",classes:"col-4"}}},VirtualLocation:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header",dependency:[{field:"eventAttendanceMode",value:["OnlineEventAttendanceMode","MixedEventAttendanceMode"]}]},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{value:"VirtualLocation"}}},url:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Online Event URL","rank-math"),help:Object(i.__)("The URL of the online event, where people can join. This property is required if your event is happening online","rank-math")}}}},location:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header",dependency:[{field:"eventAttendanceMode",value:["OfflineEventAttendanceMode","MixedEventAttendanceMode"]}]},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Place"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Venue Name","rank-math"),help:Object(i.__)("The venue name.","rank-math")}}},url:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Venue URL","rank-math"),help:Object(i.__)("Website URL of the venue","rank-math")}}},address:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Address","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"PostalAddress"}},streetAddress:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Street Address","rank-math")}}},addressLocality:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Locality","rank-math")}}},addressRegion:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Region","rank-math")}}},postalCode:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Postal Code","rank-math")}}},addressCountry:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Country","rank-math")}}}}},performer:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Performer Information","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"radio",label:Object(i.__)("Performer","rank-math"),classes:"show-property",options:{Organization:"Organization",Person:"Person"},default:"Person"}}},name:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Name","rank-math")}}},sameAs:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Website or Social Link","rank-math")}}}},startDate:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{type:"datetimepicker",label:Object(i.__)("Start Date","rank-math"),help:Object(i.__)("Date and time of the event","rank-math"),classes:"col-4"}}},endDate:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"datetimepicker",label:Object(i.__)("End Date","rank-math"),help:Object(i.__)("End date and time of the event","rank-math"),classes:"col-4"}}},offers:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Offers","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Offer"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Name","rank-math"),classes:"hide-group",placeholder:"General Admission"}}},category:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Category","rank-math"),classes:"hide-group",placeholder:"primary"}}},url:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("URL","rank-math")}}},price:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Price","rank-math")}}},priceCurrency:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Currency","rank-math")}}},availability:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"select",label:Object(i.__)("Availability","rank-math"),help:Object(i.__)("Offer availability","rank-math"),classes:"col-4",options:{InStock:"In Stock",SoldOut:"Sold Out",PreOrder:"Preorder"},default:"InStock"}}},validFrom:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"datepicker",label:Object(i.__)("Price Valid From","rank-math"),help:Object(i.__)("The date after which the price will no longer be available","rank-math")}}},priceValidUntil:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"datepicker",label:Object(i.__)("Price Valid Until","rank-math"),help:Object(i.__)("The date after which the price will no longer be available","rank-math"),classes:"hide-group"}}},inventoryLevel:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Inventory Level","rank-math")}}}},review:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Review","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Review"}},datePublished:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"datetimepicker",label:Object(i.__)("Published Date","rank-math"),placeholder:"%date(Y-m-d\\TH:i:sP)%",classes:"hide-group"}}},dateModified:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"datetimepicker",label:Object(i.__)("Modified Date","rank-math"),placeholder:"%modified(Y-m-d\\TH:i:sP)%",classes:"hide-group"}}},author:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:["hide-group-header","hide-group"]},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Person"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Author Name","rank-math"),placeholder:"%name%"}}}},reviewRating:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Rating"}},ratingValue:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"number",label:Object(i.__)("Rating","rank-math"),help:Object(i.__)("Rating score","rank-math")}}},worstRating:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"number",label:Object(i.__)("Rating Minimum","rank-math"),help:Object(i.__)("Rating minimum score","rank-math"),placeholder:1}}},bestRating:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"number",label:Object(i.__)("Rating Maximum","rank-math"),help:Object(i.__)("Rating maximum score","rank-math"),placeholder:5}}}}},image:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:["hide-group-header","hide-group"]},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"ImageObject"}},url:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Image URL","rank-math"),placeholder:"%post_thumbnail%"}}}}},JobPosting:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,title:Object(i.__)("Job Posting","rank-math"),defaultEn:"Job Posting"},title:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Headline","rank-math"),placeholder:"%seo_title%"}}},description:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"textarea",label:Object(i.__)("Description","rank-math"),placeholder:"%seo_description%"}}},reviewLocationShortcode:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,save:"metadata",field:{type:"text",label:Object(i.__)("Shortcode","rank-math"),help:Object(i.__)("You can use the Schema Block in the block editor, or copy and paste this in the content. This shortcode will work on this page only.","rank-math"),disabled:"disabled"},value:"[rank_math_rich_snippet]"}},baseSalary:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"MonetaryAmount"}},currency:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Salary Currency","rank-math"),help:Object(i.__)("ISO 4217 Currency code. Example: EUR","rank-math"),classes:"col-4"}}},value:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Salary","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"QuantitativeValue"}},value:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Salary (Recommended)","rank-math"),help:Object(i.__)("Insert amount, e.g. 50.00, or a salary range, e.g. 40.00-50.00","rank-math"),classes:"col-4"}}},unitText:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"select",label:Object(i.__)("Payroll (Recommended)","rank-math"),help:Object(i.__)("Salary amount is for","rank-math"),options:{"":"None",YEAR:"Yearly",MONTH:"Monthly",WEEK:"Weekly",DAY:"Daily",HOUR:"Hourly"},classes:"col-4"}}}}},datePosted:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"datepicker",label:Object(i.__)("Date Posted","rank-math"),placeholder:"%date(Y-m-d)%",help:Object(i.__)("The original date on which employer posted the job. You can leave it empty to use the post publication date as job posted date","rank-math"),classes:"col-4"}}},validThrough:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"datepicker",label:Object(i.__)("Expiry Posted","rank-math"),help:Object(i.__)("The date when the job posting will expire. If a job posting never expires, or you do not know when the job will expire, do not include this property","rank-math"),classes:"col-4"}}},unpublish:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,save:"metadata",field:{type:"select",label:Object(i.__)("Unpublish when expired","rank-math"),options:{on:"Yes",off:"No"},help:Object(i.__)("If checked, post status will be changed to Draft and its URL will return a 404 error, as required by the Rich Result guidelines","rank-math"),classes:"col-4",default:"on"}}},employmentType:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"checkbox",multiple:!0,label:Object(i.__)("Employment Type (Recommended)","rank-math"),help:Object(i.__)("Type of employment. You can choose more than one value","rank-math"),options:{"":"None",FULL_TIME:"Full Time",PART_TIME:"Part Time",CONTRACTOR:"Contractor",TEMPORARY:"Temporary",INTERN:"Intern",VOLUNTEER:"Volunteer",PER_DIEM:"Per Diem",OTHER:"Other"},default:[]}}},hiringOrganization:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Organization"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Hiring Organization","rank-math"),placeholder:"%org_name%",help:Object(i.__)("The name of the company. Leave empty to use your own company information.","rank-math"),classes:"col-4"}}},sameAs:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Organization URL (Recommended)","rank-math"),placeholder:"%org_url%",help:Object(i.__)("The URL of the organization offering the job position. Leave empty to use your own company information","rank-math"),classes:"col-6"}}},logo:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Organization Logo (Recommended)","rank-math"),placeholder:"%org_logo%",help:Object(i.__)("Logo URL of the organization offering the job position. Leave empty to use your own company information","rank-math"),classes:"col-6"}}}},id:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Posting ID (Recommended)","rank-math"),help:Object(i.__)("The hiring organization's unique identifier for the job.","rank-math"),classes:"col-6"}}},jobLocation:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Place"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Venue Name","rank-math"),help:Object(i.__)("The venue name.","rank-math"),classes:"hide-group"}}},url:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Venue URL","rank-math"),help:Object(i.__)("Website URL of the venue","rank-math"),classes:"hide-group"}}},address:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Address","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"PostalAddress"}},streetAddress:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Street Address","rank-math")}}},addressLocality:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Locality","rank-math")}}},addressRegion:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Region","rank-math")}}},postalCode:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Postal Code","rank-math")}}},addressCountry:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Country","rank-math")}}}}},image:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:["hide-group-header","hide-group"]},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"ImageObject"}},url:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Image URL","rank-math"),placeholder:"%post_thumbnail%"}}}}},Music:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,title:Object(i.__)("Music","rank-math"),defaultEn:"Music"},name:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Headline","rank-math"),placeholder:"%seo_title%"}}},description:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"textarea",label:Object(i.__)("Description","rank-math"),placeholder:"%seo_description%"}}},reviewLocationShortcode:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,save:"metadata",field:{type:"text",label:Object(i.__)("Shortcode","rank-math"),help:Object(i.__)("You can use the Schema Block in the block editor, or copy and paste this in the content. This shortcode will work on this page only.","rank-math"),disabled:"disabled"},value:"[rank_math_rich_snippet]"}},url:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("URL","rank-math"),placeholder:"%url%"}}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"radio",label:Object(i.__)("Music Type","rank-math"),classes:"show-property",options:{MusicGroup:"MusicGroup",MusicAlbum:"MusicAlbum"},default:"MusicGroup"}}},image:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:["hide-group-header","hide-group"]},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"ImageObject"}},url:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Image URL","rank-math"),placeholder:"%post_thumbnail%"}}}}},Person:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,title:Object(i.__)("Person","rank-math"),defaultEn:"Person"},name:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Headline","rank-math"),placeholder:"%seo_title%"}}},description:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"textarea",label:Object(i.__)("Description","rank-math"),placeholder:"%seo_description%"}}},reviewLocationShortcode:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,save:"metadata",field:{type:"text",label:Object(i.__)("Shortcode","rank-math"),help:Object(i.__)("You can use the Schema Block in the block editor, or copy and paste this in the content. This shortcode will work on this page only.","rank-math"),disabled:"disabled"},value:"[rank_math_rich_snippet]"}},email:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Email","rank-math")}}},address:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Address","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"PostalAddress"}},streetAddress:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Street Address","rank-math")}}},addressLocality:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Locality","rank-math")}}},addressRegion:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Region","rank-math")}}},postalCode:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Postal Code","rank-math")}}},addressCountry:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Country","rank-math")}}}},gender:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Gender","rank-math"),classes:"col-6"}}},jobTitle:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Job title","rank-math"),help:Object(i.__)("The job title of the person (for example, Financial Manager).","rank-math"),classes:"col-6"}}}},Product:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,title:Object(i.__)("Product","rank-math"),defaultEn:"Product"},name:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Product name","rank-math"),placeholder:"%seo_title%"}}},reviewLocation:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,save:"metadata",field:{type:"select",label:Object(i.__)("Review Location","rank-math"),help:Object(i.__)("The review or rating must be displayed on the page to comply with Google's Schema guidelines.","rank-math"),options:{bottom:"Below Content",top:"Above Content",both:"Above and Below Content",custom:"Custom (use shortcode)"},default:"custom"}}},reviewLocationShortcode:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,save:"metadata",field:{type:"text",label:Object(i.__)("Shortcode","rank-math"),help:Object(i.__)("You can use the Schema Block in the block editor, or copy and paste this in the content. This shortcode will work on this page only.","rank-math"),disabled:"disabled"},value:"[rank_math_rich_snippet]",dependency:[{field:"reviewLocation",value:"custom"}]}},description:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"textarea",label:Object(i.__)("Description","rank-math"),placeholder:"%seo_description%"}}},sku:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Product SKU","rank-math")}}},brand:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Brand"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Brand Name","rank-math")}}}},image:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:["hide-group-header","hide-group"]},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"ImageObject"}},url:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Image URL","rank-math"),placeholder:"%post_thumbnail%"}}}},gtin8:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Gtin","rank-math"),classes:"hide-group"}}},mpn:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("MPN","rank-math"),classes:"hide-group"}}},isbn:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("ISBN","rank-math"),classes:"hide-group"}}},offers:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Offers","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Offer"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Name","rank-math"),classes:"hide-group"}}},category:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Category","rank-math"),classes:"hide-group"}}},url:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("URL","rank-math"),classes:"hide-group",placeholder:"%url%"}}},price:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Price","rank-math")}}},priceCurrency:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Currency","rank-math")}}},availability:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"select",label:Object(i.__)("Availability","rank-math"),help:Object(i.__)("Offer availability","rank-math"),classes:"col-4",options:{InStock:"In Stock",SoldOut:"Sold Out",PreOrder:"Preorder"},default:"InStock"}}},validFrom:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"datepicker",label:Object(i.__)("Price Valid From","rank-math"),help:Object(i.__)("The date after which the price will no longer be available","rank-math"),classes:"hide-group"}}},priceValidUntil:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"datepicker",label:Object(i.__)("Price Valid Until","rank-math"),help:Object(i.__)("The date after which the price will no longer be available","rank-math")}}},inventoryLevel:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Inventory Level","rank-math"),classes:"hide-group"}}}},review:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Review","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Review"}},datePublished:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"datetimepicker",label:Object(i.__)("Published Date","rank-math"),placeholder:"%date(Y-m-d\\TH:i:sP)%",classes:"hide-group"}}},dateModified:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"datetimepicker",label:Object(i.__)("Modified Date","rank-math"),placeholder:"%modified(Y-m-d\\TH:i:sP)%",classes:"hide-group"}}},author:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:["hide-group-header","hide-group"]},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Person"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Author Name","rank-math"),placeholder:"%name%"}}}},reviewRating:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Rating"}},ratingValue:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"number",label:Object(i.__)("Rating","rank-math"),help:Object(i.__)("Rating score","rank-math")}}},worstRating:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"number",label:Object(i.__)("Rating Minimum","rank-math"),help:Object(i.__)("Rating minimum score","rank-math"),placeholder:1}}},bestRating:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"number",label:Object(i.__)("Rating Maximum","rank-math"),help:Object(i.__)("Rating maximum score","rank-math"),placeholder:5}}}}}},Recipe:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,title:Object(i.__)("Recipe","rank-math"),defaultEn:"Recipe"},name:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Headline","rank-math"),placeholder:"%seo_title%"}}},reviewLocation:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,save:"metadata",field:{type:"select",label:Object(i.__)("Review Location","rank-math"),help:Object(i.__)("The review or rating must be displayed on the page to comply with Google's Schema guidelines.","rank-math"),options:{bottom:"Below Content",top:"Above Content",both:"Above and Below Content",custom:"Custom (use shortcode)"},default:"custom"}}},reviewLocationShortcode:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,save:"metadata",field:{type:"text",label:Object(i.__)("Shortcode","rank-math"),help:Object(i.__)("You can use the Schema Block in the block editor, or copy and paste this in the content. This shortcode will work on this page only.","rank-math"),disabled:"disabled"},value:"[rank_math_rich_snippet]",dependency:[{field:"reviewLocation",value:"custom"}]}},datePublished:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Published Date","rank-math"),classes:"hide-group",default:"%date(Y-m-d\\TH:i:sP)%"}}},author:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:["hide-group-header","hide-group"]},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Person"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Author Name","rank-math"),placeholder:"%name%"}}}},description:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"textarea",label:Object(i.__)("Description","rank-math"),placeholder:"%seo_description%"}}},prepTime:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Preparation Time","rank-math"),help:Object(i.__)("ISO 8601 duration format. Example: PT1H30M","rank-math"),classes:"col-4"}}},cookTime:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Cooking Time","rank-math"),help:Object(i.__)("ISO 8601 duration format. Example: PT1H30M","rank-math"),classes:"col-4"}}},totalTime:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Total Time","rank-math"),help:Object(i.__)("ISO 8601 duration format. Example: PT1H30M","rank-math"),classes:"col-4"}}},recipeCategory:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Type","rank-math"),help:Object(i.__)("Type of dish, for example appetizer, or dessert.","rank-math"),classes:"col-4"}}},recipeCuisine:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Cuisine","rank-math"),help:Object(i.__)("The cuisine of the recipe (for example, French or Ethiopian).","rank-math"),classes:"col-4"}}},keywords:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Keywords","rank-math"),help:Object(i.__)("Other terms for your recipe such as the season, the holiday, or other descriptors. Separate multiple entries with commas.","rank-math"),classes:"col-4"}}},recipeYield:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Recipe Yield","rank-math"),help:Object(i.__)("Quantity produced by the recipe, for example 4 servings","rank-math"),classes:"col-4"}}},nutrition:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"NutritionInformation"}},calories:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Calories","rank-math"),help:Object(i.__)("The number of calories in the recipe. Optional.","rank-math")}}}},recipeIngredient:{map:{isArray:!0,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"show-add-property show-delete-property",field:{label:Object(i.__)("Recipe Ingredients","rank-math"),help:Object(i.__)("Recipe ingredients, add one item per line","rank-math")}}},review:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Review","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Review"}},datePublished:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"datetimepicker",label:Object(i.__)("Published Date","rank-math"),placeholder:"%date(Y-m-d\\TH:i:sP)%",classes:"hide-group"}}},dateModified:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"datetimepicker",label:Object(i.__)("Modified Date","rank-math"),placeholder:"%modified(Y-m-d\\TH:i:sP)%",classes:"hide-group"}}},author:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:["hide-group-header","hide-group"]},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Person"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Author Name","rank-math"),placeholder:"%name%"}}}},reviewRating:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Rating"}},ratingValue:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"number",label:Object(i.__)("Rating","rank-math"),help:Object(i.__)("Rating score","rank-math")}}},worstRating:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"number",label:Object(i.__)("Rating Minimum","rank-math"),help:Object(i.__)("Rating minimum score","rank-math"),placeholder:1}}},bestRating:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"number",label:Object(i.__)("Rating Maximum","rank-math"),help:Object(i.__)("Rating maximum score","rank-math"),placeholder:5}}}}},video:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Video","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"VideoObject"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Name","rank-math"),help:Object(i.__)("A recipe video Name","rank-math"),classes:"col-6"}}},description:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"textarea",label:Object(i.__)("Description","rank-math"),help:Object(i.__)("A recipe video Description","rank-math")}}},embedUrl:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Video URL","rank-math"),help:Object(i.__)("A video URL. Optional.","rank-math"),classes:"col-6"}}},contentUrl:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Content URL","rank-math"),help:Object(i.__)("A URL pointing to the actual video media file","rank-math"),classes:"col-6"}}},thumbnailUrl:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Recipe Video Thumbnail","rank-math"),help:Object(i.__)("A recipe video thumbnail URL","rank-math"),classes:"col-6"}}},uploadDate:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"datepicker",label:Object(i.__)("Video Upload Date","rank-math"),classes:"col-6"}}}},instructionType:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"radio",label:Object(i.__)("Instruction Type","rank-math"),options:{SingleField:"Single Field",HowToStep:"How To Step"},default:"SingleField"}}},instructionsSingleField:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"textarea",label:Object(i.__)("Recipe Instructions","rank-math")},dependency:[{field:"instructionType",value:"SingleField"}]}},instructionsHowToStep:{map:{isArray:!0,isGroup:!0,isRequired:!1,isRecommended:!1,arrayMap:"instructions",arrayProps:{map:{classes:"show-delete-property-group"}},field:{label:Object(i.__)("Recipe Instructions","rank-math")},dependency:[{field:"instructionType",value:["HowToStep"]}]}},image:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:["hide-group-header","hide-group"]},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"ImageObject"}},url:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Image URL","rank-math"),placeholder:"%post_thumbnail%"}}}}},Restaurant:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,title:Object(i.__)("Restaurant","rank-math"),defaultEn:"Restaurant"},name:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Headline","rank-math"),placeholder:"%seo_title%"}}},description:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"textarea",label:Object(i.__)("Description","rank-math"),placeholder:"%seo_description%"}}},reviewLocationShortcode:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,save:"metadata",field:{type:"text",label:Object(i.__)("Shortcode","rank-math"),help:Object(i.__)("You can use the Schema Block in the block editor, or copy and paste this in the content. This shortcode will work on this page only.","rank-math"),disabled:"disabled"},value:"[rank_math_rich_snippet]"}},telephone:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Phone Number","rank-math")}}},priceRange:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Price Range","rank-math"),classes:"col-4"}}},address:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Address","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"PostalAddress"}},streetAddress:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Street Address","rank-math")}}},addressLocality:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Locality","rank-math")}}},addressRegion:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Region","rank-math")}}},postalCode:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Postal Code","rank-math")}}},addressCountry:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Country","rank-math")}}}},geo:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Geo Cordinates","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"GeoCoordinates"}},latitude:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Latitude","rank-math")}}},longitude:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Longitude","rank-math")}}}},openingHoursSpecification:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Timings","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"OpeningHoursSpecification"}},dayOfWeek:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"checkbox",label:Object(i.__)("Open Days","rank-math"),options:{monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},default:[]}}},opens:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"timepicker",label:Object(i.__)("Opening Time","rank-math"),classes:"col-6",placeholder:"09:00 AM"}}},closes:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"timepicker",label:Object(i.__)("Closing Time","rank-math"),classes:"col-6",placeholder:"05:00 PM"}}}},servesCuisine:{map:{isArray:!0,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"show-add-property show-delete-property",field:{label:Object(i.__)("Serves Cuisine","rank-math")}}},hasMenu:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Menu URL","rank-math"),help:Object(i.__)("URL pointing to the menu of the restaurant.","rank-math"),classes:"col-6"}}},image:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:["hide-group-header","hide-group"]},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"ImageObject"}},url:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Image URL","rank-math"),placeholder:"%post_thumbnail%"}}}}},Service:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,title:Object(i.__)("Service","rank-math"),defaultEn:"Service"},name:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Headline","rank-math"),placeholder:"%seo_title%"}}},description:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"textarea",label:Object(i.__)("Description","rank-math"),placeholder:"%seo_description%"}}},reviewLocationShortcode:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,save:"metadata",field:{type:"text",label:Object(i.__)("Shortcode","rank-math"),help:Object(i.__)("You can use the Schema Block in the block editor, or copy and paste this in the content. This shortcode will work on this page only.","rank-math"),disabled:"disabled"},value:"[rank_math_rich_snippet]"}},serviceType:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Service Type","rank-math"),help:Object(i.__)("The type of service being offered, e.g. veterans' benefits, emergency relief, etc.","rank-math"),classes:"col-4"}}},offers:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Offers","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Offer"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Name","rank-math"),classes:"hide-group"}}},category:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Category","rank-math"),classes:"hide-group"}}},url:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("URL","rank-math"),classes:"hide-group"}}},price:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Price","rank-math")}}},priceCurrency:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Currency","rank-math")}}},availability:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"select",label:Object(i.__)("Availability","rank-math"),help:Object(i.__)("Offer availability","rank-math"),classes:["col-4","hide-group"],options:{InStock:"In Stock",SoldOut:"Sold Out",PreOrder:"Preorder"},default:"InStock"}}},validFrom:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"datepicker",label:Object(i.__)("Price Valid From","rank-math"),help:Object(i.__)("The date after which the price will no longer be available","rank-math"),classes:"hide-group"}}},priceValidUntil:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"datepicker",label:Object(i.__)("Price Valid Until","rank-math"),help:Object(i.__)("The date after which the price will no longer be available","rank-math"),classes:"hide-group"}}},inventoryLevel:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Inventory Level","rank-math"),classes:"hide-group"}}}},image:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:["hide-group-header","hide-group"]},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"ImageObject"}},url:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Image URL","rank-math"),placeholder:"%post_thumbnail%"}}}}},SoftwareApplication:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,title:Object(i.__)("Software","rank-math"),defaultEn:"Software"},name:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Headline","rank-math"),placeholder:"%seo_title%"}}},reviewLocation:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,save:"metadata",field:{type:"select",label:Object(i.__)("Review Location","rank-math"),help:Object(i.__)("The review or rating must be displayed on the page to comply with Google's Schema guidelines.","rank-math"),options:{bottom:"Below Content",top:"Above Content",both:"Above and Below Content",custom:"Custom (use shortcode)"},default:"custom"}}},reviewLocationShortcode:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,save:"metadata",field:{type:"text",label:Object(i.__)("Shortcode","rank-math"),help:Object(i.__)("You can use the Schema Block in the block editor, or copy and paste this in the content. This shortcode will work on this page only.","rank-math"),disabled:"disabled"},value:"[rank_math_rich_snippet]",dependency:[{field:"reviewLocation",value:"custom"}]}},description:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"textarea",label:Object(i.__)("Description","rank-math"),placeholder:"%seo_description%"}}},operatingSystem:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Operating System","rank-math"),help:Object(i.__)("For example, Windows 7, OSX 10.6, Android 1.6","rank-math"),classes:"col-6"}}},applicationCategory:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Application Category","rank-math"),help:Object(i.__)("For example, Game, Multimedia","rank-math"),classes:"col-6"}}},offers:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Offers","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Offer"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Name","rank-math"),classes:"hide-group"}}},category:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Category","rank-math"),classes:"hide-group"}}},url:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("URL","rank-math"),classes:"hide-group"}}},price:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Price","rank-math")}}},priceCurrency:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Currency","rank-math")}}},availability:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"select",label:Object(i.__)("Availability","rank-math"),help:Object(i.__)("Offer availability","rank-math"),classes:["col-4","hide-group"],options:{InStock:"In Stock",SoldOut:"Sold Out",PreOrder:"Preorder"},default:"InStock"}}},validFrom:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"datepicker",label:Object(i.__)("Price Valid From","rank-math"),help:Object(i.__)("The date after which the price will no longer be available","rank-math"),classes:"hide-group"}}},priceValidUntil:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"datepicker",label:Object(i.__)("Price Valid Until","rank-math"),help:Object(i.__)("The date after which the price will no longer be available","rank-math"),classes:"hide-group"}}},inventoryLevel:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Inventory Level","rank-math"),classes:"hide-group"}}}},review:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Review","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Review"}},datePublished:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"datetimepicker",label:Object(i.__)("Published Date","rank-math"),placeholder:"%date(Y-m-d\\TH:i:sP)%",classes:"hide-group"}}},dateModified:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"datetimepicker",label:Object(i.__)("Modified Date","rank-math"),placeholder:"%modified(Y-m-d\\TH:i:sP)%",classes:"hide-group"}}},author:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:["hide-group-header","hide-group"]},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Person"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Author Name","rank-math"),placeholder:"%name%"}}}},reviewRating:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Rating"}},ratingValue:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"number",label:Object(i.__)("Rating","rank-math"),help:Object(i.__)("Rating score","rank-math")}}},worstRating:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"number",label:Object(i.__)("Rating Minimum","rank-math"),help:Object(i.__)("Rating minimum score","rank-math"),placeholder:1}}},bestRating:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"number",label:Object(i.__)("Rating Maximum","rank-math"),help:Object(i.__)("Rating maximum score","rank-math"),placeholder:5}}}}},image:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:["hide-group-header","hide-group"]},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"ImageObject"}},url:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Image URL","rank-math"),placeholder:"%post_thumbnail%"}}}}},VideoObject:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,title:Object(i.__)("Video","rank-math"),defaultEn:"Video"},name:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Headline","rank-math"),placeholder:"%seo_title%"}}},description:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"textarea",label:Object(i.__)("Description","rank-math"),placeholder:"%seo_description%"}}},reviewLocationShortcode:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,save:"metadata",field:{type:"text",label:Object(i.__)("Shortcode","rank-math"),help:Object(i.__)("You can use the Schema Block in the block editor, or copy and paste this in the content. This shortcode will work on this page only.","rank-math"),disabled:"disabled"},value:"[rank_math_rich_snippet]"}},uploadDate:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Upload Date","rank-math"),classes:"hide-group",placeholder:"%date(Y-m-d\\TH:i:sP)%"}}},contentUrl:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Content URL","rank-math"),help:Object(i.__)("A URL pointing to the actual video media file","rank-math"),classes:"col-6"}}},embedUrl:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Embed URL","rank-math"),help:Object(i.__)("A URL pointing to the embeddable player for the video","rank-math"),classes:"col-6"}}},duration:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Duration","rank-math"),help:Object(i.__)("ISO 8601 duration format. Example: 1H30M","rank-math"),classes:"col-6"}}},thumbnailUrl:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Video Thumbnail","rank-math"),help:Object(i.__)("A video thumbnail URL","rank-math"),classes:"hide-group",placeholder:"%post_thumbnail%"}}}},WooCommerceProduct:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,title:Object(i.__)("WooCommerce Product","rank-math"),defaultEn:"WooCommerce Product"}},EDDProduct:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,title:Object(i.__)("EDD Product","rank-math"),defaultEn:"EDD Product"}}}},l={set:function(e,t,r){return!!e&&(localStorage.setItem(e,JSON.stringify({value:t,expires:this.expiry(r)})),!0)},get:function(e){if(!e)return!1;var t=localStorage.getItem(e);return!!t&&((t=JSON.parse(t)).expires&&Date.now()>t.expires?(localStorage.removeItem(e),!1):t.value)},remove:function(e){return!!e&&(localStorage.removeItem(e),!0)},expiry:function(e){if(!e)return!1;if(-1===e){var t=new Date;return t.setYear(1970),t.getTime()}var r=parseInt(e),a=e.replace(r,"");return"d"===a&&(r=24*r*60*60*1e3),"h"===a&&(r=60*r*60*1e3),"m"===a&&(r=60*r*1e3),"s"===a&&(r*=1e3),Date.now()+r}};function m(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}var d="rank_math_schema_templates_store",p=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.cahce=null,this.templates=null,this.verion="1.1.0","product"!==rankMath.postType&&delete c.schemas.WooCommerceProduct,"download"!==rankMath.postType&&delete c.schemas.EDDProduct,this.cache=Object(s.applyFilters)("rank_math_schema_maps",c),Object(s.doAction)("rank_math_schema_template_loaded")}var t,r,n;return t=e,(r=[{key:"verifyCache",value:function(){var e=l.get(d);return!1!==e&&this.version===e.version&&(this.cache=e,Object(s.doAction)("rank_math_schema_template_loaded"),!0)}},{key:"fetchStore",value:function(){var e=this;o()({method:"GET",url:"//"+window.location.host+"/wp-json/rankmath/v1/getSchemas"}).then((function(t){l.set(d,t,"30d"),e.cache=t,Object(s.doAction)("rank_math_schema_template_loaded")}))}},{key:"getMap",value:function(e){var t=Object(a.get)(this.cache.properties,e,!1);return t||Object(a.get)(this.cache.schemas,e,!1)}},{key:"getTemplates",value:function(){var e=this;return null===this.templates&&(this.templates=[],Object(a.forEach)(this.cache.schemas,(function(t,r){var n=Object(a.get)(t,"map.title",r);e.templates.push({type:r,title:"WooCommerceProduct"!==r?n:Object(i.__)("WooCommerce Product","rank-math")})})),this.templates=Object(a.orderBy)(this.templates,"type")),this.templates}}])&&m(t.prototype,r),n&&m(t,n),e}());function u(e){return p.getMap(e)}},function(e,t,r){"use strict";var a=r(13),i=r.n(a),n=r(9),o=r.n(n),s=r(8),c=r.n(s),l=r(1),m=r(10),d=r(0),p=r(7),u=r(6),h=r(2),b=r(5),f=r(3),y=r(4),_=function(e){var t=e.position,r=void 0===t?"middle right":t,a=e.value,i=e.onChange,n=e.children;return wp.element.createElement(h.Dropdown,{position:r,className:"rank-math-datepicker",contentClassName:"rank-math-datepicker__dialog",renderToggle:function(e){var t=e.onToggle,r=e.isOpen;return wp.element.createElement(u.Fragment,null,n,wp.element.createElement(h.Button,{icon:"calendar-alt",onClick:t,"aria-expanded":r}))},renderContent:function(){return wp.element.createElement(h.DatePicker,{currentDate:a.split("T")[0],onChange:function(e){i(e.split("T")[0])}})}})},R=function(e){var t=e.position,r=void 0===t?"middle right":t,a=e.value,i=e.onChange,n=e.children;return wp.element.createElement(h.Dropdown,{position:r,className:"rank-math-datepicker",contentClassName:"rank-math-datepicker__dialog",renderToggle:function(e){var t=e.onToggle,r=e.isOpen;return wp.element.createElement(u.Fragment,null,n,wp.element.createElement(h.Button,{icon:"calendar-alt",onClick:t,"aria-expanded":r}))},renderContent:function(){return wp.element.createElement(h.DateTimePicker,{is12Hour:!0,currentDate:a,onChange:i})}})};function O(e){return Object(l.map)(e,(function(e,t){return{label:e,value:t}}))}function k(e){return function(e){if(Array.isArray(e))return g(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return g(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return g(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 g(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}function v(){return(v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(this,arguments)}function j(e,t){if(null==e)return{};var r,a,i=function(e,t){if(null==e)return{};var r,a,i={},n=Object.keys(e);for(a=0;a<n.length;a++)r=n[a],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)r=n[a],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var w=function(e){var t=e.value,r=e.onChange,a=e.type,i=e.options,n=void 0===i?{}:i,o=j(e,["value","onChange","type","options"]);return Object(l.isUndefined)(o.help)||(o.help=Object(u.RawHTML)({children:o.help})),"radio"===a?wp.element.createElement(h.RadioControl,v({selected:t,options:O(n),onChange:r},o)):"select"===a?(!Object(l.has)(o,"multiple")&&Object(l.isArray)(t)&&(t=t[0]),wp.element.createElement(h.SelectControl,v({value:t,options:O(n),onChange:r},o))):"toggle"===a?wp.element.createElement(h.ToggleControl,v({checked:t,onChange:r},o)):"number"===a?wp.element.createElement(h.TextControl,v({type:"number",autoComplete:"off",value:t,onChange:r},o)):"url"===a?wp.element.createElement(h.TextControl,v({type:"url",autoComplete:"off",value:t,onChange:r},o)):"datepicker"===a?wp.element.createElement(_,{value:t,position:"middle left",onChange:r},wp.element.createElement(h.TextControl,v({value:t,onChange:r},o))):"datetimepicker"===a?wp.element.createElement(R,{value:t,position:"middle left",onChange:r},wp.element.createElement(h.TextControl,v({value:t,onChange:r},o))):"textarea"===a?wp.element.createElement(h.TextareaControl,v({rows:5,value:t,onChange:r},o)):"checkbox"===a?wp.element.createElement("div",{className:"rank-math-checkbox-component components-base-control schema-property--value"},wp.element.createElement("label",{htmlFor:"checklist-label",className:"components-base-control__label"},o.label),wp.element.createElement("div",null,O(n).map((function(e){return wp.element.createElement(h.CheckboxControl,{key:Object(l.uniqueId)("checkbox-"),label:e.label,checked:Object(l.includes)(t,e.value),onChange:function(a){var i=k(t);a?i.push(e.value):Object(l.remove)(i,(function(t){return t===e.value})),r(i)}})})))):wp.element.createElement(h.TextControl,v({value:t,onChange:r},o))};w.defaultProps={value:"",type:"text",onChange:null},w.propTypes={id:i.a.string,onChange:i.a.func.isRequired};var A=w,G=r(11);function q(){return(q=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(this,arguments)}function E(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function S(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?E(Object(r),!0).forEach((function(t){P(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function P(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var T=Object(p.compose)(Object(b.withSelect)((function(e,t){return S(S({},t),{},{isPro:e("rank-math").isPro()})})))((function(e){if(!1===Object(y.n)(e.data,e.schema))return e.data.map.isHidden=!0,null;var t=e.data,r=t.property,a=t.id,i=t.map,n=e.actions,s=n.removeProperty,c=n.propertyChange,m=n.duplicateProperty,d=Object(l.get)(i,"field",{label:!1}),p=S({},d),b=function(e,t){var r=e.data,a=r.property,i=r.value,n=e.schema.metadata;return i===Object(l.get)(t,"placeholder","")&&(i=""),"reviewLocation"===a&&Object(l.has)(n,"reviewLocation")&&(i=n.reviewLocation),"unpublish"===a&&Object(l.has)(n,"unpublish")&&(i=n.unpublish),e.isPro&&"[rank_math_rich_snippet]"===i&&(i='[rank_math_rich_snippet id="'+n.shortcode+'"]'),Object(f.applyFilters)("rank_math_schema_property_value",i,e)}(e,d);i.isRequired&&(d.label&&(p.label=wp.element.createElement(u.Fragment,null,d.label," ",wp.element.createElement("span",null,"*"))),d.placeholder||(p.required="required")),e.isCustom&&(p.type="text",delete p.label);var _=o()("schema-group-or-property-container schema-property-container",Object(l.get)(d,"classes",!1),{"hide-property":"@type"===r});return e.data.map.isHidden=!1,wp.element.createElement("div",{className:_},wp.element.createElement("div",{className:"schema-group-or-property schema-property"},wp.element.createElement("div",{className:"schema-property--body"},!e.isCustom&&d.label?null:wp.element.createElement("div",{className:"schema-property--field"},wp.element.createElement(h.TextControl,{value:r,onChange:function(e){c(a,"property",e)}})),wp.element.createElement("div",{className:"schema-property--value"},wp.element.createElement(A,q({value:b},p,{onChange:function(e){c(a,"value",e)}})),Object(l.has)(p,"notice")&&wp.element.createElement(h.Notice,q({isDismissible:!1},p.notice),p.notice.content)),!i.isRequired&&wp.element.createElement("div",{className:"schema-property--header"},wp.element.createElement(h.Button,{isSecondary:!0,className:"button rank-math-duplicate-property",onClick:function(){return m(a,e.parentId,e.data)}},wp.element.createElement("i",{className:"rm-icon rm-icon-copy"})),wp.element.createElement(G.a,{key:a,onClick:function(){return s(a,e.parentId)}},(function(e){return wp.element.createElement(h.Button,{isSecondary:!0,className:"button rank-math-delete-group",onClick:function(){return e(!0)}},wp.element.createElement("i",{className:"rm-icon rm-icon-trash"}))}))))))})),C={},I=function e(t){if(!1===Object(y.n)(t.data,t.schema))return t.data.map.isHidden=!0,null;var r=t.parentId,a=t.isCustom,i=t.isPro,n=t.isMain,s=void 0!==n&&n,c=t.data,m=c.id,p=c.property,u=c.properties,b=c.map,_=t.actions,R=_.addProperty,O=_.addGroup,k=_.removeGroup,g=_.propertyChange,v=_.duplicateGroup,j=Object(l.get)(b,"field",{label:!1}),w=o()("schema-group-or-property-container schema-group-container",Object(l.get)(b,"classes",!1),{"hide-property":"metadata"===p,"is-group":b.isGroup,"is-array":b.isArray,"no-array-map":Object(l.isUndefined)(b.arrayMap)});return b.isArray&&(C[m]=0),t.data.map.isHidden=!1,wp.element.createElement("div",{className:w},wp.element.createElement("div",{className:"schema-group-or-property schema-group"},Object(f.applyFilters)("rank_math_schema_before_fields","",p),wp.element.createElement("div",{className:"schema-group-header"},function(){if(t.isArray)return C[r]+=1,wp.element.createElement("div",{className:"schema-property--label"},Object(l.startCase)(p)," ",C[r]);if(!a&&j.label)return wp.element.createElement("div",{className:"schema-property--label"},j.label);var e="WooCommerceProduct"!==p?p:"WooCommerce Product";return wp.element.createElement("div",{className:"schema-property--field"},wp.element.createElement(h.TextControl,{value:e,disabled:!i,onChange:function(e){g(m,"property",e)}}))}(),wp.element.createElement(h.ButtonGroup,{className:"schema-group--actions schema-group--actions--tr"},wp.element.createElement(h.Button,{className:"button rank-math-add-property",isLink:!0,onClick:function(){return R(m)}},wp.element.createElement("i",{className:"rm-icon rm-icon-circle-plus"}),wp.element.createElement("span",null,Object(d.__)("Add Property","rank-math"))),wp.element.createElement(h.Button,{className:"button rank-math-add-property-group",isLink:!0,onClick:function(){return O(m,b)}},wp.element.createElement("i",{className:"rm-icon rm-icon-circle-plus"}),wp.element.createElement("span",null,Object(d.__)("Add Property Group","rank-math"))),!s&&wp.element.createElement(h.Button,{className:"button rank-math-duplicate-property-group",isLink:!0,onClick:function(){return v(m,t.parentId,t.data)}},wp.element.createElement("i",{className:"rm-icon rm-icon-circle-plus"}),wp.element.createElement("span",null,Object(d.__)("Duplicate Group","rank-math"))),wp.element.createElement(G.a,{key:m,onClick:function(){return k(m,t.parentId)}},(function(e){return wp.element.createElement(h.Button,{className:"button rank-math-delete-group",isLink:!0,onClick:function(){return e(!0)}},wp.element.createElement("i",{className:"rm-icon rm-icon-trash"}),wp.element.createElement("span",null,Object(d.__)("Delete","rank-math")))})))),wp.element.createElement("div",{className:"schema-group--children"},Object(l.map)(u,(function(r,n){return r.map.isGroup?wp.element.createElement(e,{key:n,data:r,parentId:m,isArray:b.isArray,isCustom:a,schema:t.schema,actions:t.actions,isPro:i}):wp.element.createElement(T,{key:n,data:r,parentId:m,isCustom:a,schema:t.schema,actions:t.actions})}))),s&&wp.element.createElement("div",{className:"schema-group-footer"},wp.element.createElement(h.ButtonGroup,{className:"schema-group--actions schema-group--actions--tr"},wp.element.createElement(h.Button,{className:"button rank-math-add-property",isLink:!0,onClick:function(){return R(m)}},wp.element.createElement("i",{className:"rm-icon rm-icon-circle-plus"}),wp.element.createElement("span",null,Object(d.__)("Add Property","rank-math"))),wp.element.createElement(h.Button,{className:"button rank-math-add-property-group",isLink:!0,onClick:function(){return O(m,b)}},wp.element.createElement("i",{className:"rm-icon rm-icon-circle-plus"}),wp.element.createElement("span",null,Object(d.__)("Add Property Group","rank-math"))),wp.element.createElement(G.a,{key:m,onClick:function(){return k(m,t.parentId)}},(function(e){return wp.element.createElement(h.Button,{className:"button rank-math-delete-group",isLink:!0,onClick:function(){return e(!0)}},wp.element.createElement("i",{className:"rm-icon rm-icon-trash"}),wp.element.createElement("span",null,Object(d.__)("Delete","rank-math")))}))))))};function D(e){return(D="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})(e)}function N(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function M(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?N(Object(r),!0).forEach((function(t){x(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):N(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function x(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function L(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function U(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function H(e,t){return(H=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function F(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=Y(e);if(t){var i=Y(this).constructor;r=Reflect.construct(a,arguments,i)}else r=a.apply(this,arguments);return B(this,r)}}function B(e,t){return!t||"object"!==D(t)&&"function"!=typeof t?V(e):t}function V(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y(e){return(Y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var z=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&H(e,t)}(n,e);var t,r,a,i=F(n);function n(){var e;return L(this,n),(e=i.apply(this,arguments)).addGroup=function(t,r){var a=M({},e.state.data),i=Object(y.b)(t,a),n=r.isArray,o=r.arrayMap,s=void 0!==o&&o,c=r.arrayProps,l=void 0===c?{}:c,m=n&&s?Object(y.d)(s,l):Object(y.g)();i.properties.push(m),e.setState({data:a})},e.addProperty=function(t){var r=M({},e.state.data);Object(y.b)(t,r).properties.push(Object(y.i)()),e.setState({data:r})},e.duplicateGroup=function(t,r,a){var i=M({},e.state.data),n=Object(y.b)(r,i),o=Object(l.cloneDeep)(a),s=n.properties.findIndex((function(e){return e.id===t}));n.properties.splice(s,0,Object(y.a)(o)),e.setState({data:i})},e.duplicateProperty=function(t,r,a){var i=M({},e.state.data),n=Object(y.b)(r,i),o=M({},a),s=n.properties.findIndex((function(e){return e.id===t}));o.id="p-".concat(Object(m.v4)()),n.properties.splice(s,0,o),e.setState({data:i})},e.removeGroup=function(t,r){var a=M({},e.state.data),i=Object(y.b)(r,a);if(i.id!==t){var n=i.properties.findIndex((function(e){return e.id===t}));i.properties.splice(n,1),e.setState({data:a})}else e.setState({data:Object(y.g)()})},e.removeProperty=function(t,r){var a=M({},e.state.data),i=Object(y.b)(r,a),n=i.properties.findIndex((function(e){return e.id===t}));i.properties.splice(n,1),e.setState({data:a})},e.propertyChange=function(t,r,a){var i=M({},e.state.data),n=Object(y.b)(t,i);Object.assign(n,x({},r,a)),!Object(l.isEmpty)(i.metadata)&&Object(l.has)(i.metadata,n.property)&&(i.metadata[n.property]=a),e.setState({data:i})},e.options=Object(l.get)(e.props.data,"metadata",{}),e.state={data:e.props.data,loading:!1,showNotice:!1,postId:rankMath.objectID},e.setState=e.setState.bind(V(e)),e.templateSaveCount=0,e.isEditingTemplate=Object(l.get)(rankMath,"isTemplateScreen",!1),e}return t=n,(r=[{key:"getWrapperClasses",value:function(){var e=Object(l.get)(rankMath,"knowledgegraphType",!1);e=!1===e?"empty":"local-"+e;var t=Object(l.get)(this.props.data,"property","");return Object(l.isArray)(t)&&(t=t.join("-")),t="schema-"+t.toLowerCase(),o()("schema-builder",t,x({"schema-template-pre-defined":"template"===this.options.type,"schema-template-custom":"custom"===this.options.type},"".concat(e),"template"===this.options.type))}},{key:"render",value:function(){var e=this;return wp.element.createElement("form",{className:this.getWrapperClasses()},wp.element.createElement(I,{data:this.state.data,schema:this.state.data,isPro:this.props.isPro,parentId:null,isMain:!0,isArray:!1,isCustom:"custom"===this.options.type,actions:{addGroup:this.addGroup,addProperty:this.addProperty,removeGroup:this.removeGroup,removeProperty:this.removeProperty,propertyChange:this.propertyChange,duplicateGroup:this.duplicateGroup,duplicateProperty:this.duplicateProperty}}),wp.element.createElement("div",{className:"schema-builder-save-as"},this.props.isPro&&wp.element.createElement(u.Fragment,null,"custom"!==this.options.type&&wp.element.createElement(h.Button,{isSecondary:!0,onClick:function(){return e.props.toggleMode(e.props.id,e.state.data)}},Object(d.__)("Advanced Editor","rank-math")),!this.isEditingTemplate&&wp.element.createElement(h.Button,{isSecondary:!0,className:this.state.loading?"save-as-template saving":"save-as-template",onClick:function(){e.templateSaveCount>=1&&!confirm(Object(d.__)("Each save will create a new template.","rank-math"))||(e.templateSaveCount+=1,e.props.saveTemplate(e.state.data,e.setState))}},this.state.showNotice?Object(d.__)("Template saved.","rank-math"):Object(d.__)("Save as Template","rank-math")),this.state.showNotice&&wp.element.createElement("div",{className:"rank-math-save-template-confirmation"},Object(d.__)("Template saved.","rank-math"))),this.isEditingTemplate&&wp.element.createElement(h.Button,{isPrimary:!0,className:"button",onClick:function(){return e.props.saveTemplate(e.state.data,e.setState,e.state.postId)}},this.state.loading?Object(d.__)("Saving","rank-math"):this.state.showNotice?Object(d.__)("Saved","rank-math"):Object(d.__)("Save","rank-math")),!this.isEditingTemplate&&wp.element.createElement(h.Button,{isPrimary:!0,className:"button",onClick:function(){return e.props.saveSchema(e.props.id,e.state.data)}},"term"===rankMath.objectType?Object(d.__)("Save for this Term","rank-math"):Object(d.__)("Save for this Post","rank-math"))))}}])&&U(t.prototype,r),a&&U(t,a),n}(u.Component);z.defaultProps={query:null,fields:[],onQueryChange:null},z.propTypes={query:i.a.object,fields:i.a.array.isRequired,onQueryChange:i.a.func};t.a=Object(p.compose)(Object(b.withSelect)((function(e,t){var r=e("rank-math").getEditingSchema(),a=e("rank-math").getEditSchemas();return M(M(M({},t),r),{},{schemas:a,isPro:e("rank-math").isPro()})})),Object(b.withDispatch)((function(e,t){var r=t.onSave,a=void 0!==r&&r,i=t.isPro,n=t.schemas;return{toggleMode:function(t,r){if(confirm(Object(d.__)("Are you sure you want to convert? You can't use simple mode for this edited Schema.","rank-math"))){var a=M({},r);a.metadata.type="custom",e("rank-math").updateEditSchema(t,a)}},saveSchema:function(t,r){var o=c()("form.schema-builder").get(0);if(o.checkValidity()){i||Object(l.forEach)(n,(function(r,a){t!==a&&e("rank-math").deleteSchema(a)}));var s=Object(y.m)(r);e("rank-math").updateEditSchema(t,r),e("rank-math").saveSchema(t,s),a&&a(t,s),e("rank-math").toggleSchemaTemplates(!1),e("rank-math").toggleSchemaEditor(!1)}else o.reportValidity()},saveTemplate:function(t,r,a){e("rank-math").saveTemplate(Object(y.m)(t),r,a)}}})))(z)},function(e,t){var r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(r){var a=new Uint8Array(16);e.exports=function(){return r(a),a}}else{var i=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),i[t]=e>>>((3&t)<<3)&255;return i}}},function(e,t){for(var r=[],a=0;a<256;++a)r[a]=(a+256).toString(16).substr(1);e.exports=function(e,t){var a=t||0,i=r;return[i[e[a++]],i[e[a++]],i[e[a++]],i[e[a++]],"-",i[e[a++]],i[e[a++]],"-",i[e[a++]],i[e[a++]],"-",i[e[a++]],i[e[a++]],"-",i[e[a++]],i[e[a++]],i[e[a++]],i[e[a++]],i[e[a++]],i[e[a++]]].join("")}},function(e,t,r){"use strict";var a=r(8),i=r.n(a),n=r(1),o=r(5),s=r(3),c=r(4);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){d(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(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 u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}var h=function(e){return Object(n.isObject)(e)?e:[e]};t.a=function(){i()(document).ready((function(e){new ClipboardJS(".structured-data-copy").on("success",(function(t){var r=e(t.trigger);r.addClass("copied"),setTimeout((function(){r.removeClass("copied")}),2e3)}))})),Object(s.addAction)("rank_math_loaded","rank-math",(function(){var e={},t=Object(n.get)(rankMath,"schemas",{});Object(n.map)(t,(function(t,r){var a=Object(n.get)(t,"@type");t=Object(s.applyFilters)("rank_math_pre_schema_"+a,t),e[r]=Object(c.e)(Object(s.applyFilters)("rank_math_pre_schema",t))})),Object(o.dispatch)("rank-math").updateEditSchemas(e)})),Object(s.addFilter)("rank_math_schema_type","rank-math",(function(e){return Object(n.isUndefined)(e)?e:"NewsArticle"===e||"BlogPosting"===e?"Article":"MusicGroup"===e||"MusicAlbum"===e?"Music":e.includes("Event")||"Festival"===e?"Event":e})),Object(s.addFilter)("rank_math_schema_convert_author","rank-math",(function(e,t,r){return Object(n.isObject)(r)||Object(n.isUndefined)(t.properties)?e:(t.properties[1].value=r,t)})),Object(s.addFilter)("rank_math_schema_convert_value","rank-math",(function(e,t,r,a){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(!t.map.isArray)return e;var o=t.map,s=o.arrayMap,l=void 0!==s&&s,m=o.arrayProps,d=void 0===m?{}:m;return l?(Object(n.forEach)(a,(function(e){t.properties.push(Object(c.f)(e,l,d))})),t):(a=h(a),Object(n.forEach)(a,(function(e,r){var a=Object(n.get)(e,"@type",!1);if(!1===a){var o=Object(c.i)();o.property=r,o.value=e,t.properties.push(o)}else t.properties.push(Object(c.f)(e,a,d,i))})),t)})),Object(s.addFilter)("rank_math_schema_convert_value","rank-math",(function(e,t,r,a){return t.map.isArray||!t.map.isGroup?e:Object(c.j)(t,a)}),20),Object(s.addFilter)("rank_math_pre_schema_Product","rank-math",(function(e){return Object(n.has)(e,"brand")&&!Object(n.isObject)(e.brand)&&(e.brand={"@type":"Brand",name:e.brand}),e})),Object(s.addFilter)("rank_math_processed_schema_Recipe","rank-math",(function(e){var t=e.instructionType;return delete e.instructionType,"SingleField"===t&&(e.recipeInstructions=e.instructionsSingleField,delete e.instructionsSingleField),"HowToStep"===t&&(1===e.instructionsHowToStep.length&&(e.recipeInstructions={"@type":"HowToSection",name:e.instructionsHowToStep[0].name,itemListElement:e.instructionsHowToStep[0].itemListElement}),e.instructionsHowToStep.length>1&&(e.recipeInstructions=p(e.instructionsHowToStep)),delete e.instructionsHowToStep),e}),20),Object(s.addFilter)("rank_math_pre_schema_Recipe","rank-math",(function(e){var t=e.recipeInstructions;if(Object(n.isString)(t)&&(e.instructionType="SingleField",e.instructionsSingleField=t,delete e.recipeInstructions),Object(n.forEach)(["cookTime","prepTime","totalTime"],(function(t){Object(n.isUndefined)(e[t])||"PT"!==e[t]||delete e[t]})),Object(n.isArray)(t)&&(e.instructionType="HowToStep",Object(n.forEach)(t,(function(e,r){Object(n.isUndefined)(e.type)||(e["@type"]=e.type,delete e.type),Object(n.isUndefined)(e.itemListElement)||(Object(n.isUndefined)(e.itemListElement.type)||(e.itemListElement["@type"]=e.itemListElement.type,delete e.itemListElement.type),Object(n.isArray)(e.itemListElement)||(e.itemListElement=[e.itemListElement])),t[r]=e})),e.instructionsHowToStep=t,delete e.recipeInstructions),!Object(n.isArray)(t)&&Object(n.isObject)(t)){var r=m(m({},t),{},{"@type":"HowToSection"});e.instructionType="HowToStep",e.instructionsHowToStep=[],e.instructionsHowToStep.push(r),delete e.recipeInstructions}return e})),Object(s.addFilter)("rank_math_processed_schema","rank-math",(function(e){var t=e.eventAttendanceMode;return Object(n.isUndefined)(t)||("MixedEventAttendanceMode"===t&&(e.location=[e.VirtualLocation,e.location],delete e.VirtualLocation),"OnlineEventAttendanceMode"===t&&(e.location=e.VirtualLocation,delete e.VirtualLocation)),e}),20),Object(s.addFilter)("rank_math_pre_schema","rank-math",(function(e){var t=e.eventAttendanceMode;return Object(n.isUndefined)(t)||("MixedEventAttendanceMode"===t&&(e.VirtualLocation=Object(n.find)(e.location,["@type","VirtualLocation"]),e.location=Object(n.find)(e.location,["@type","Place"])),"OnlineEventAttendanceMode"===t&&(e.VirtualLocation=e.location,delete e.location)),e}))}},function(e,t,r){"use strict";var a=r(0),i=r(6),n=r(4),o={"@context":"https://schema.org/","@graph":[{"@type":"Article",headline:"Power Words: The Art of Writing Headlines That Get Clicked",description:"Power words are words with strong meaning that smart copywriters (as well as marketers) use to increase CTR and boost conversions.",author:{"@type":"Person",name:"Rank Math"},datePublished:"2020-09-12GMT+000015:45:32+00:00",dateModified:"2020-09-12GMT+000015:45:29+00:00","@id":"https://rankmath.com/blog/power-words/#schema-44838",mainEntityOfPage:{"@id":"https://rankmath.com/blog/power-words/#webpage"},isPartOf:{"@id":"https://rankmath.com/blog/power-words/#webpage"},publisher:{"@id":"/#organization"},inLanguage:"en-US"}]};t.a=function(){var e=JSON.stringify(o,null,2);return wp.element.createElement(i.Fragment,null,wp.element.createElement("div",{className:"rank-math-pretty-json free-version"},wp.element.createElement("form",{method:"post",target:"_blank",action:"https://search.google.com/test/rich-results"},wp.element.createElement("h4",{className:"rank-math-schema-section-title"},Object(a.__)("JSON-LD Code","rank-math")),wp.element.createElement("button",{className:"button structured-data-copy is-small",type:"button","data-clipboard-text":e},wp.element.createElement("i",{className:"rm-icon rm-icon-copy"}),wp.element.createElement("span",{className:"original-text"},Object(a.__)("Copy","rank-math")),wp.element.createElement("span",{className:"success","aria-hidden":"true"},Object(a.__)("Copied!","rank-math"))),wp.element.createElement("button",{className:"button structured-data-test is-small",type:"submit"},wp.element.createElement("i",{className:"rm-icon rm-icon-google"})," ",wp.element.createElement("span",null,Object(a.__)("Test with Google","rank-math"))),wp.element.createElement("textarea",{name:"code_snippet",defaultValue:e})),wp.element.createElement("pre",{className:"code-output"},wp.element.createElement("code",{className:"language-javascript",dangerouslySetInnerHTML:{__html:Object(n.l)(e)}})),wp.element.createElement("div",{id:"rank-math-pro-cta",className:"center"},wp.element.createElement("div",{className:"rank-math-cta-box blue-ticks width-70"},wp.element.createElement("h3",null,Object(a.__)("Preview & Validate Your Schema Markup","rank-math")),wp.element.createElement("ul",null,wp.element.createElement("li",null,Object(a.__)("Rank Math PRO is coming this fall","rank-math")),wp.element.createElement("li",null,Object(a.__)("Advanced Schema code viewer","rank-math")),wp.element.createElement("li",null,Object(a.__)("Live testing with Google","rank-math"))),wp.element.createElement("a",{className:"button button-primary is-green",href:"https://rankmath.com/pricing/?utm_source=Plugin&utm_medium=Code+Validation&utm_campaign=WP",rel:"noreferrer noopener",target:"_blank"},Object(a.__)("Upgrade","rank-math"))))))}},function(e,t,r){"use strict";var a=r(0),i=r(3),n=r(2),o=r(6),s=r(12),c=r(7),l=r(5),m=r(4),d=r(10),p=r(9),u=r.n(p),h=r(1),b=r(15);function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){_(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function _(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var R=Object(c.compose)(Object(l.withSelect)((function(e,t){var r=e("rank-math").isPro(),a=e("rank-math").getSchemas(),i=Object(h.findKey)(a,"metadata.isPrimary");return i=Object(h.isEmpty)(i)?{}:{id:i,type:a[i]["@type"]},y(y({},t),{},{primarySchema:i,isPro:r})})),Object(l.withDispatch)((function(e,t){var r=t.isPro,a=t.primarySchema,i=void 0!==a&&a,n=!(!r||!Object(h.isEmpty)(i));return r||(n=!0),{addSchema:function(t){var r=Object(h.uniqueId)("new-"),a=Object(h.get)(t,"schema",!1);!1===a&&(a={"@type":t.type,metadata:{type:"template",shortcode:"s-".concat(Object(d.v4)())}}),a.metadata.isPrimary=n,e("rank-math").setEditingSchemaId(r),e("rank-math").updateEditSchema(r,Object(m.e)(a)),e("rank-math").toggleSchemaEditor(!0)},editSchema:function(t){e("rank-math").setEditingSchemaId(t),e("rank-math").toggleSchemaEditor(!0)}}})))((function(e){var t=e.search,r=e.templates,o=e.isPro,s=e.addSchema,c=e.editSchema,l=e.primarySchema;""!==t&&(r=r.filter((function(e){return e.title.toLowerCase().includes(t)})));var m=l?Object(i.applyFilters)("rank_math_schema_type",l.type):"";return wp.element.createElement("div",{className:"rank-math-schema-catalog"},r.map((function(e,t){var r=!o&&m===e.type,i=u()("rank-math-schema-item rank-math-use-schema row button",{"in-use":r});return wp.element.createElement("div",{id:"rank-math-schema-list-wrapper",key:t},wp.element.createElement(n.Button,{key:t,id:"rank-math-schema-item",className:i,href:"#",isLink:!0,onClick:function(){return r?c(l.id):s(e)}},wp.element.createElement("input",{type:"radio",name:"primarySchema",value:e.type,checked:m===e.type,onChange:function(){return s(e)}}),wp.element.createElement("span",{className:"rank-math-schema-name"},wp.element.createElement("i",{className:Object(b.a)(e.type)}),e.title),wp.element.createElement("span",{className:"button rank-math-schema-item-actions"},wp.element.createElement("i",{className:"rm-icon rm-icon-circle-plus"}),wp.element.createElement("span",null,Object(a.__)("Use","rank-math")))))})))})),O=r(18);function k(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],a=!0,i=!1,n=void 0;try{for(var o,s=e[Symbol.iterator]();!(a=(o=s.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){i=!0,n=e}finally{try{a||null==s.return||s.return()}finally{if(i)throw n}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return g(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return g(e,t)}(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 g(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}var v=Object(c.compose)(Object(l.withSelect)((function(e){return{isPro:e("rank-math").isPro()}})))((function(e){var t,r=k(Object(s.useState)("global"),2),c=r[0],l=r[1],d=k(Object(s.useState)(""),2),p=d[0],u=d[1];return wp.element.createElement(o.Fragment,null,e.isPro&&wp.element.createElement(O.a,null),wp.element.createElement("h4",{className:"rank-math-schema-section-title"},Object(a.__)("Available Schema Types","rank-math")),wp.element.createElement("div",{className:"rank-math-schema-filter"},wp.element.createElement(n.RadioControl,{selected:c,options:Object(i.applyFilters)("rank_math_schema_template_sources",[{value:"global",label:Object(a.__)("Schema Catalog","rank-math")}]),onChange:l}),wp.element.createElement("div",{className:"rank-math-schema-search"},wp.element.createElement(n.TextControl,{value:p,onChange:u,placeholder:Object(a.__)("Search…","rank-math")}))),wp.element.createElement(R,{templates:(t=c,"global"===t?m.k.getTemplates():Object(i.applyFilters)("rank_math_schema_templates_by_source",[],t)),search:p.toLowerCase()}))})),j=function(){return wp.element.createElement("div",{className:"components-panel__body rank-math-custom-schema-wrapper"},wp.element.createElement("img",{src:rankMath.customSchemaImage,alt:"",className:"custom-schema"}),wp.element.createElement("div",{id:"rank-math-pro-cta",className:"center"},wp.element.createElement("div",{className:"rank-math-cta-box blue-ticks width-60"},wp.element.createElement("h3",null,Object(a.__)("Advanced Schema Builder","rank-math")),wp.element.createElement("ul",null,wp.element.createElement("li",null,Object(a.__)("Rank Math PRO is coming this fall","rank-math")),wp.element.createElement("li",null,Object(a.__)("Import Schema from ANY website","rank-math")),wp.element.createElement("li",null,Object(a.__)("Create Advanced templates","rank-math"))),wp.element.createElement("a",{className:"button button-primary is-green",href:"https://rankmath.com/pricing/?utm_source=Plugin&utm_medium=Custom+Builder&utm_campaign=WP",rel:"noreferrer noopener",target:"_blank"},Object(a.__)("Upgrade","rank-math")))))};t.a=function(){return wp.element.createElement(n.TabPanel,{className:"rank-math-tabs rank-math-editor rank-math-schema-tabs",activeClass:"is-active",tabs:Object.values((e={templates:{name:"templates",title:wp.element.createElement(o.Fragment,null,wp.element.createElement("i",{className:"rm-icon rm-icon-schema"}),wp.element.createElement("span",null,Object(a.__)("Schema Templates","rank-math"))),view:v,className:"rank-math-tab-templates"},newSchema:{name:"new-schema",title:wp.element.createElement(o.Fragment,null,wp.element.createElement("i",{className:"rm-icon rm-icon-circle-plus"}),wp.element.createElement("span",null,Object(a.__)("Custom Schema","rank-math"))),view:j,className:"rank-math-tab-new-schema"}},Object(i.applyFilters)("rank_math_schema_templates_tabs",e)))},(function(e){return wp.element.createElement("div",{className:"components-panel__body rank-math-schema-tab-content-"+e.name},Object(o.createElement)(e.view))}));var e}},function(e,t,r){var a,i,n=r(21),o=r(22),s=0,c=0;e.exports=function(e,t,r){var l=t&&r||0,m=t||[],d=(e=e||{}).node||a,p=void 0!==e.clockseq?e.clockseq:i;if(null==d||null==p){var u=n();null==d&&(d=a=[1|u[0],u[1],u[2],u[3],u[4],u[5]]),null==p&&(p=i=16383&(u[6]<<8|u[7]))}var h=void 0!==e.msecs?e.msecs:(new Date).getTime(),b=void 0!==e.nsecs?e.nsecs:c+1,f=h-s+(b-c)/1e4;if(f<0&&void 0===e.clockseq&&(p=p+1&16383),(f<0||h>s)&&void 0===e.nsecs&&(b=0),b>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");s=h,c=b,i=p;var y=(1e4*(268435455&(h+=122192928e5))+b)%4294967296;m[l++]=y>>>24&255,m[l++]=y>>>16&255,m[l++]=y>>>8&255,m[l++]=255&y;var _=h/4294967296*1e4&268435455;m[l++]=_>>>8&255,m[l++]=255&_,m[l++]=_>>>24&15|16,m[l++]=_>>>16&255,m[l++]=p>>>8|128,m[l++]=255&p;for(var R=0;R<6;++R)m[l+R]=d[R];return t||o(m)}},function(e,t,r){var a=r(21),i=r(22);e.exports=function(e,t,r){var n=t&&r||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var o=(e=e||{}).random||(e.rng||a)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t)for(var s=0;s<16;++s)t[n+s]=o[s];return t||i(o)}},function(e,t,r){"use strict";var a=r(29);function i(){}function n(){}n.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,n,o){if(o!==a){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:n,resetWarningCache:i};return r.PropTypes=r,r}},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,r){"use strict";var a=r(0),i=r(7),n=r(2),o=r(5),s=r(14),c=r(25);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.a=Object(i.compose)(Object(o.withSelect)((function(e){return{isOpen:e("rank-math").isSchemaTemplatesOpen()}})),Object(o.withDispatch)((function(e,t){return{toggleModal:function(){e("rank-math").toggleSchemaTemplates(!t.isOpen)}}})))((function(e){var t,r=e.isOpen,i=void 0!==r&&r,o=e.toggleModal;return i?wp.element.createElement(n.Modal,{title:Object(a.__)("Schema Generator","rank-math"),closeButtonLabel:Object(a.__)("Close","rank-math"),shouldCloseOnClickOutside:!1,onRequestClose:o,className:"rank-math-modal rank-math-schema-generator rank-math-schema-template-modal",overlayClassName:"rank-math-modal-overlay"},wp.element.createElement(n.KeyboardShortcuts,{shortcuts:(t={},l(t,s.rawShortcut.ctrl("z"),(function(e){return e.stopImmediatePropagation()})),l(t,s.rawShortcut.ctrlShift("z"),(function(e){return e.stopImmediatePropagation()})),l(t,s.rawShortcut.primary("z"),(function(e){return e.stopImmediatePropagation()})),l(t,s.rawShortcut.primaryShift("z"),(function(e){return e.stopImmediatePropagation()})),t)},wp.element.createElement("a",{href:"https://rankmath.com/kb/rich-snippets/?utm_source=Plugin&utm_medium=Schema%20Generator%20Header&utm_campaign=WP",rel:"noopener noreferrer",target:"_blank",title:Object(a.__)("More Info","rank-math"),className:"rank-math-schema-info"},wp.element.createElement(n.Dashicon,{icon:"info"})),wp.element.createElement(c.a,null))):null}))},function(e,t,r){"use strict";var a=r(1),i=r(0),n=r(5),o=r(6),s=r(15);t.a=Object(n.withSelect)((function(e){var t=e("rank-math").getSchemas();return{type:function(){if(Object(a.isEmpty)(t))return"off";var e=Object.keys(t);return Object(a.get)(t,[e[0],"@type"])}()}}))((function(e){var t=e.type;return wp.element.createElement(o.Fragment,null,wp.element.createElement("i",{className:Object(s.a)(t)}),wp.element.createElement("span",null,Object(i.__)("Schema","rank-math")))}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return br}));var a={};r.r(a),r.d(a,"updateKeywords",(function(){return h})),r.d(a,"updatePillarContent",(function(){return b})),r.d(a,"toggleFrontendScore",(function(){return f})),r.d(a,"updateAnalysisScore",(function(){return y})),r.d(a,"updateCanonicalUrl",(function(){return _})),r.d(a,"updateAdvancedRobots",(function(){return R})),r.d(a,"updateRobots",(function(){return O})),r.d(a,"updateBreadcrumbTitle",(function(){return k})),r.d(a,"resetDirtyMetadata",(function(){return g})),r.d(a,"updateFacebookTitle",(function(){return v})),r.d(a,"updateFacebookDescription",(function(){return j})),r.d(a,"updateFacebookImage",(function(){return w})),r.d(a,"updateFacebookImageID",(function(){return A})),r.d(a,"updateFacebookHasOverlay",(function(){return G})),r.d(a,"updateFacebookImageOverlay",(function(){return q})),r.d(a,"updateAppData",(function(){return p})),r.d(a,"updateAppUi",(function(){return u})),r.d(a,"updatePostID",(function(){return E})),r.d(a,"updatePermalink",(function(){return S})),r.d(a,"updateTitle",(function(){return P})),r.d(a,"updateDescription",(function(){return T})),r.d(a,"updateFeaturedImage",(function(){return C})),r.d(a,"updatePrimaryTermID",(function(){return I})),r.d(a,"updateRedirection",(function(){return D})),r.d(a,"updateRedirectionItem",(function(){return N})),r.d(a,"resetRedirection",(function(){return M})),r.d(a,"updateHasRedirect",(function(){return x})),r.d(a,"updateSerpTitle",(function(){return Y})),r.d(a,"updateSerpDescription",(function(){return z})),r.d(a,"toggleSnippetEditor",(function(){return W})),r.d(a,"updateSnippetPreviewType",(function(){return K})),r.d(a,"updateTwitterUseFacebook",(function(){return J})),r.d(a,"updateTwitterCardType",(function(){return Q})),r.d(a,"updateTwitterTitle",(function(){return $})),r.d(a,"updateTwitterDescription",(function(){return X})),r.d(a,"updateTwitterAuthor",(function(){return Z})),r.d(a,"updateTwitterImageID",(function(){return ee})),r.d(a,"updateTwitterImage",(function(){return te})),r.d(a,"updateTwitterHasOverlay",(function(){return re})),r.d(a,"updateTwitterImageOverlay",(function(){return ae})),r.d(a,"updateTwitterPlayerUrl",(function(){return ie})),r.d(a,"updateTwitterPlayerSize",(function(){return ne})),r.d(a,"updateTwitterPlayerStreamUrl",(function(){return oe})),r.d(a,"updateTwitterPlayerStreamCtype",(function(){return se})),r.d(a,"updateTwitterAppDescription",(function(){return ce})),r.d(a,"updateTwitterAppIphoneID",(function(){return le})),r.d(a,"updateTwitterAppIphoneName",(function(){return me})),r.d(a,"updateTwitterAppIphoneUrl",(function(){return de})),r.d(a,"updateTwitterAppIpadID",(function(){return pe})),r.d(a,"updateTwitterAppIpadName",(function(){return ue})),r.d(a,"updateTwitterAppIpadUrl",(function(){return he})),r.d(a,"updateTwitterAppGoogleplayID",(function(){return be})),r.d(a,"updateTwitterAppGoogleplayName",(function(){return fe})),r.d(a,"updateTwitterAppGoogleplayUrl",(function(){return ye})),r.d(a,"updateTwitterAppCountry",(function(){return _e})),r.d(a,"toggleLoaded",(function(){return Re})),r.d(a,"updateSelectedKeyword",(function(){return Oe})),r.d(a,"refreshResults",(function(){return ke})),r.d(a,"setVersion",(function(){return ge})),r.d(a,"toggleSchemaEditor",(function(){return Ee})),r.d(a,"toggleSchemaTemplates",(function(){return Se})),r.d(a,"setEditingSchemaId",(function(){return Pe})),r.d(a,"setEditorTab",(function(){return Te})),r.d(a,"setTemplateTab",(function(){return Ce})),r.d(a,"updateEditSchemas",(function(){return Ie})),r.d(a,"updateSchemas",(function(){return De})),r.d(a,"updateEditSchema",(function(){return Ne})),r.d(a,"saveSchema",(function(){return Me})),r.d(a,"deleteSchema",(function(){return xe})),r.d(a,"saveTemplate",(function(){return Le}));var i={};r.r(i),r.d(i,"appData",(function(){return ze})),r.d(i,"appUi",(function(){return $e}));var n={};r.r(n),r.d(n,"getAppData",(function(){return Xe})),r.d(n,"getDirtyMetadata",(function(){return Ze})),r.d(n,"getAnalysisScore",(function(){return et})),r.d(n,"getKeywords",(function(){return tt})),r.d(n,"getPillarContent",(function(){return rt})),r.d(n,"getRobots",(function(){return at})),r.d(n,"getAdvancedRobots",(function(){return it})),r.d(n,"getCanonicalUrl",(function(){return nt})),r.d(n,"getBreadcrumbTitle",(function(){return ot})),r.d(n,"getRichSnippets",(function(){return st})),r.d(n,"getShowScoreFrontend",(function(){return ct})),r.d(n,"isLoaded",(function(){return lt})),r.d(n,"getSelectedKeyword",(function(){return mt})),r.d(n,"isRefreshing",(function(){return dt})),r.d(n,"isPro",(function(){return pt})),r.d(n,"getFacebookTitle",(function(){return ut})),r.d(n,"getFacebookDescription",(function(){return ht})),r.d(n,"getFacebookAuthor",(function(){return bt})),r.d(n,"getFacebookImageID",(function(){return ft})),r.d(n,"getFacebookImage",(function(){return yt})),r.d(n,"getFacebookHasOverlay",(function(){return _t})),r.d(n,"getFacebookImageOverlay",(function(){return Rt})),r.d(n,"getPostID",(function(){return Ot})),r.d(n,"getTitle",(function(){return kt})),r.d(n,"getPermalink",(function(){return gt})),r.d(n,"getDescription",(function(){return vt})),r.d(n,"getFeaturedImage",(function(){return jt})),r.d(n,"getFeaturedImageHtml",(function(){return wt})),r.d(n,"getPrimaryTermID",(function(){return At})),r.d(n,"getRedirectionID",(function(){return Gt})),r.d(n,"getRedirectionType",(function(){return qt})),r.d(n,"getRedirectionUrl",(function(){return Et})),r.d(n,"getRedirectionItem",(function(){return St})),r.d(n,"hasRedirect",(function(){return Pt})),r.d(n,"getSerpTitle",(function(){return Tt})),r.d(n,"getSerpDescription",(function(){return Ct})),r.d(n,"isSnippetEditorOpen",(function(){return It})),r.d(n,"getSnippetPreviewType",(function(){return Dt})),r.d(n,"isSchemaEditorOpen",(function(){return Nt})),r.d(n,"isSchemaTemplatesOpen",(function(){return Mt})),r.d(n,"getSchemas",(function(){return xt})),r.d(n,"getEditSchemas",(function(){return Lt})),r.d(n,"getEditingSchema",(function(){return Ut})),r.d(n,"getPreviewSchema",(function(){return Ht})),r.d(n,"getEditorTab",(function(){return Ft})),r.d(n,"getTemplateTab",(function(){return Bt})),r.d(n,"getTwitterUseFacebook",(function(){return Vt})),r.d(n,"getTwitterCardType",(function(){return Yt})),r.d(n,"getTwitterTitle",(function(){return zt})),r.d(n,"getTwitterDescription",(function(){return Wt})),r.d(n,"getTwitterAuthor",(function(){return Kt})),r.d(n,"getTwitterImageID",(function(){return Jt})),r.d(n,"getTwitterImage",(function(){return Qt})),r.d(n,"getTwitterHasOverlay",(function(){return $t})),r.d(n,"getTwitterImageOverlay",(function(){return Xt})),r.d(n,"getTwitterAppDescription",(function(){return Zt})),r.d(n,"getTwitterAppIphoneID",(function(){return er})),r.d(n,"getTwitterAppIphoneName",(function(){return tr})),r.d(n,"getTwitterAppIphoneUrl",(function(){return rr})),r.d(n,"getTwitterAppIpadID",(function(){return ar})),r.d(n,"getTwitterAppIpadName",(function(){return ir})),r.d(n,"getTwitterAppIpadUrl",(function(){return nr})),r.d(n,"getTwitterAppGoogleplayID",(function(){return or})),r.d(n,"getTwitterAppGoogleplayName",(function(){return sr})),r.d(n,"getTwitterAppGoogleplayUrl",(function(){return cr})),r.d(n,"getTwitterAppCountry",(function(){return lr})),r.d(n,"getTwitterPlayerUrl",(function(){return mr})),r.d(n,"getTwitterPlayerSize",(function(){return dr})),r.d(n,"getTwitterPlayerStream",(function(){return pr})),r.d(n,"getTwitterPlayerStreamCtype",(function(){return ur}));var o=r(5),s=r(8),c=r.n(s);function l(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}var m=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.map=null}var t,r,a;return t=e,(r=[{key:"swap",value:function(e,t){var r=this;if(!(e=e||""))return"";var a=new RegExp(/%(([a-z0-9_-]+)\(([^)]*)\)|[^\s]+)%/,"giu");return e.replace(" %page%","").replace("%sep% %sep%","%sep%").replace(a,(function(e){return r.replace(t,e)})).trim()}},{key:"replace",value:function(e,t){var r=t.toLowerCase().slice(1,-1);return["term_description","user_description"].includes(r)?"undefined"!=typeof tinymce&&tinymce.activeEditor&&"rank_math_description_editor"===tinymce.activeEditor.id?tinymce.activeEditor.getContent():c()("#description").val():r.includes("customfield(")?(r=r.replace("customfield(","").replace(")",""))in rankMath.customFields?rankMath.customFields[r]:"":(e=e||this.getMap(),(r="seo_description"===(r="seo_title"===(r=r.includes("(")?r.split("(")[0]:r)?"title":r)?"excerpt":r)in e?e[r]:"")}},{key:"getMap",value:function(){var e=this;return null!==this.map||(this.map={},c.a.each(rankMath.variables,(function(t,r){t=t.toLowerCase().replace(/%+/g,"").split("(")[0],e.map[t]=r.example}))),this.map}},{key:"setVariable",value:function(e,t){null!==this.map?this.map[e]=t:void 0!==rankMath.variables[e]&&(rankMath.variables[e].example=t)}}])&&l(t.prototype,r),a&&l(t,a),e}()),d=r(3);function p(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return t=Object(d.applyFilters)("rank_math_sanitize_data",t,e,r),null!==a&&(a=Object(d.applyFilters)("rank_math_sanitize_meta_value",a,e,r)),a=null===a?t:a,Object(d.doAction)("rank_math_data_changed",e,t,r),{type:"RANK_MATH_APP_DATA",key:e,value:t,metaKey:r,metaValue:a}}function u(e,t){return Object(d.doAction)("rank_math_update_app_ui",e,t),{type:"RANK_MATH_APP_UI",key:e,value:t}}function h(e){return m.setVariable("focuskw",e.split(",")[0]),rankMathEditor.refresh("keyword"),p("keywords",e,"rank_math_focus_keyword")}function b(e){return p("pillarContent",e,"rank_math_pillar_content",!0===e?"on":"off")}function f(e){return p("showScoreFrontend",e,"rank_math_dont_show_seo_score",!0===e?"off":"on")}function y(e){return p("score",e,"rank_math_seo_score")}function _(e){return p("canonicalUrl",e,"rank_math_canonical_url")}function R(e){return p("advancedRobots",e,"rank_math_advanced_robots")}function O(e){return p("robots",e,"rank_math_robots",Object.keys(e))}function k(e){return p("breadcrumbTitle",e,"rank_math_breadcrumb_title")}function g(){return p("dirtyMetadata",{})}function v(e){return p("facebookTitle",e,"rank_math_facebook_title")}function j(e){return p("facebookDescription",e,"rank_math_facebook_description")}function w(e){return p("facebookImage",e,"rank_math_facebook_image")}function A(e){return p("facebookImageID",e,"rank_math_facebook_image_id")}function G(e){return p("facebookHasOverlay",e,"rank_math_facebook_enable_image_overlay",!0===e?"on":"off")}function q(e){return p("facebookImageOverlay",e,"rank_math_facebook_image_overlay")}function E(e){return rankMath.objectID=e,p("postID",e)}function S(e){return p("permalink",e,"permalink")}function P(e){return p("title",e,"rank_math_title")}function T(e){return p("description",e,"rank_math_description")}function C(e){return p("featuredImage",e)}function I(e,t){return p("primaryTerm",parseInt(e),"rank_math_primary_"+t)}function D(e,t){return p(e,t)}function N(e){return u("redirectionItem",e)}function M(){return u("redirectionItem",{})}function x(e){return u("hasRedirect",e)}var L=r(16),U=r(1),H=document.createElement("div"),F=function(e){return e&&"string"==typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,"").replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,""),H.innerHTML=e,e=H.textContent,H.textContent=""),e},B=function(e,t){return e=(e=L.Helpers.cleanText(e)).replace(/\r?\n|\r/g," "),t?Object(U.truncate)(e,{length:t,separator:" "}):e},V=function(e){var t=rankMathEditor.assessor.dataCollector.getData(),r=t.excerpt,a=t.content?function(e){if(Object(U.isEmpty)(e))return"";e=e.replace(/\[caption[^\]]*\](.*)\[\/caption\]/g,"");var t=Object(U.filter)(L.Helpers.matchParagraphs(e,!0,!0),(function(e){return""!==c.a.trim(e)}));if(!t.length)return"";var r=rankMathEditor.getPrimaryKeyword();if(""!==r){var a=Object(U.filter)(t,(function(e){return Object(U.includes)(e.toLowerCase(),r.toLowerCase())}));if(0<a.length)return B(a[0],160)}return B(t[0],160)}(t.content.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,"")):"",i=Object(U.isUndefined)(r)||Object(U.isEmpty)(r)?a:r;if(m.setVariable("excerpt",i),m.setVariable("seo_description",i),""!==(e=F(Object(d.applyFilters)("rankMath/description",e))))return L.Helpers.cleanText(e);if(!Object(U.isUndefined)(r)&&!Object(U.isEmpty)(r))return L.Helpers.cleanText(r);var n=rankMath.assessor.serpData.descriptionTemplate;return Object(U.isUndefined)(n)||""===n?a:L.Helpers.cleanText(n)};function Y(e){return e=m.swap(""!==e?e:rankMath.assessor.serpData.titleTemplate),rankMathEditor.refresh("title"),u("serpTitle",e)}function z(e){return e=m.swap(V(e)),rankMathEditor.refresh("description"),u("serpDescription",e)}function W(e){return u("isSnippetEditorOpen",e)}function K(e){return u("snippetPreviewType",e)}function J(e){return p("twitterUseFacebook",e,"rank_math_twitter_use_facebook",!0===e?"on":"off")}function Q(e){return p("twitterCardType",e,"rank_math_twitter_card_type")}function $(e){return p("twitterTitle",e,"rank_math_twitter_title")}function X(e){return p("twitterDescription",e,"rank_math_twitter_description")}function Z(e){return p("twitterAuthor",e,"rank_math_twitter_author")}function ee(e){return p("twitterImageID",e,"rank_math_twitter_image_id")}function te(e){return p("twitterImage",e,"rank_math_twitter_image")}function re(e){return p("twitterHasOverlay",e,"rank_math_twitter_enable_image_overlay",!0===e?"on":"off")}function ae(e){return p("twitterImageOverlay",e,"rank_math_twitter_image_overlay")}function ie(e){return p("twitterPlayerUrl",e,"rank_math_twitter_player_url")}function ne(e){return p("twitterPlayerSize",e,"rank_math_twitter_player_size")}function oe(e){return p("twitterPlayerStream",e,"rank_math_twitter_player_stream")}function se(e){return p("twitterPlayerStreamCtype",e,"rank_math_twitter_player_stream_ctype")}function ce(e){return p("twitterAppDescription",e,"rank_math_twitter_app_description")}function le(e){return p("twitterAppIphoneID",e,"rank_math_twitter_app_iphone_id")}function me(e){return p("twitterAppIphoneName",e,"rank_math_twitter_app_iphone_name")}function de(e){return p("twitterAppIphoneUrl",e,"rank_math_twitter_app_iphone_url")}function pe(e){return p("twitterAppIpadID",e,"rank_math_twitter_app_ipad_id")}function ue(e){return p("twitterAppIpadName",e,"rank_math_twitter_app_ipad_name")}function he(e){return p("twitterAppIpadUrl",e,"rank_math_twitter_app_ipad_url")}function be(e){return p("twitterAppGoogleplayID",e,"rank_math_twitter_app_googleplay_id")}function fe(e){return p("twitterAppGoogleplayName",e,"rank_math_twitter_app_googleplay_name")}function ye(e){return p("twitterAppGoogleplayUrl",e,"rank_math_twitter_app_googleplay_url")}function _e(e){return p("twitterAppCountry",e,"rank_math_twitter_app_country")}function Re(e){return u("isLoaded",e)}function Oe(e){return u("selectedKeyword",e)}function ke(){return u("refreshResults",Date.now())}function ge(){return u("isPro",!0)}var ve=r(0),je=r(17),we=r.n(je);function Ae(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function Ge(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ae(Object(r),!0).forEach((function(t){qe(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ae(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function qe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ee(e){return u("isSchemaEditorOpen",e)}function Se(e){return u("isSchemaTemplatesOpen",e)}function Pe(e){return u("editingSchemaId",e)}function Te(e){return u("editorTab",e)}function Ce(e){return u("templateTab",e)}function Ie(e){return u("editSchemas",e)}function De(e){return p("schemas",e)}function Ne(e,t){var r=Ge({},Object(o.select)("rank-math").getEditSchemas());return r[e]=t,u("editSchemas",r)}function Me(e,t){var r=Ge({},Object(o.select)("rank-math").getSchemas());return r[e]=t,p("schemas",r)}function xe(e){var t=Ge({},Object(o.select)("rank-math").getSchemas());return delete t[e],Object(d.doAction)("rank_math_schema_trash",e),p("schemas",t,"rank_math_delete_"+e,"")}function Le(e,t,r){return we()({method:"POST",path:"rankmath/v1/saveTemplate",data:{schema:e,postId:r}}).then((function(r){t({loading:!1,showNotice:!0,postId:r.id}),setTimeout((function(){t({showNotice:!1}),Object(U.get)(rankMath,"isTemplateScreen",!1)&&(document.title=Object(ve.__)("Edit Schema","rank-math"),window.history.pushState(null,"",r.link.replace(/&amp;/g,"&")))}),2e3),rankMath.schemaTemplates.push({schema:e,title:e.metadata.title,type:e["@type"]})})),t({loading:!0}),{type:"DONT_WANT_TO_DO_SOMETHING"}}function Ue(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function He(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ue(Object(r),!0).forEach((function(t){Fe(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ue(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Fe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Be=rankMath.assessor.serpData,Ve=rankMath.assessor.hasRedirection,Ye={postID:null,title:Be.title?Be.title:Be.titleTemplate,description:Be.description,keywords:Be.focusKeywords,pillarContent:Be.pillarContent,featuredImage:"",permalink:!1,primaryTerm:Be.primaryTerm,robots:Be.robots,advancedRobots:Be.advancedRobots,canonicalUrl:Be.canonicalUrl,breadcrumbTitle:Be.breadcrumbTitle,showScoreFrontend:Be.showScoreFrontend,redirectionID:Ve?Object(U.get)(rankMath.assessor,"redirection.id",""):"",redirectionType:Ve?Object(U.get)(rankMath.assessor,"redirection.header_code",""):"",redirectionUrl:Ve?Object(U.get)(rankMath.assessor,"redirection.url_to",""):"",facebookTitle:Be.facebookTitle,facebookImage:Be.facebookImage,facebookImageID:Be.facebookImageID,facebookAuthor:Be.facebookAuthor,facebookDescription:Be.facebookDescription,facebookHasOverlay:Be.facebookHasOverlay,facebookImageOverlay:Be.facebookImageOverlay,twitterTitle:Be.twitterTitle,twitterImage:Be.twitterImage,twitterAuthor:Be.twitterAuthor,twitterImageID:Be.twitterImageID,twitterCardType:Be.twitterCardType,twitterUseFacebook:Be.twitterUseFacebook,twitterDescription:Be.twitterDescription,twitterHasOverlay:Be.twitterHasOverlay,twitterImageOverlay:Be.twitterImageOverlay,twitterPlayerUrl:Be.twitterPlayerUrl,twitterPlayerSize:Be.twitterPlayerSize,twitterPlayerStream:Be.twitterPlayerStream,twitterPlayerStreamCtype:Be.twitterPlayerStreamCtype,twitterAppDescription:Be.twitterAppDescription,twitterAppIphoneName:Be.twitterAppIphoneName,twitterAppIphoneID:Be.twitterAppIphoneID,twitterAppIphoneUrl:Be.twitterAppIphoneUrl,twitterAppIpadName:Be.twitterAppIpadName,twitterAppIpadID:Be.twitterAppIpadID,twitterAppIpadUrl:Be.twitterAppIpadUrl,twitterAppGoogleplayName:Be.twitterAppGoogleplayName,twitterAppGoogleplayID:Be.twitterAppGoogleplayID,twitterAppGoogleplayUrl:Be.twitterAppGoogleplayUrl,twitterAppCountry:Be.twitterAppCountry,schemas:Object(U.get)(rankMath,"schemas",{}),score:0,dirtyMetadata:{}};function ze(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ye,r=arguments.length>1?arguments[1]:void 0,a=He({},t.dirtyMetadata);return!1!==r.metaKey&&(a[r.metaKey]=r.metaValue),"RANK_MATH_APP_DATA"===r.type?"dirtyMetadata"===r.key?He(He({},t),{},{dirtyMetadata:r.value}):He(He({},t),{},(Fe(e={},r.key,r.value),Fe(e,"dirtyMetadata",a),e)):t}function We(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function Ke(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?We(Object(r),!0).forEach((function(t){Je(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):We(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Je(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Qe={isLoaded:!1,isPro:!1,selectedKeyword:{tag:"",index:0,data:{value:""}},hasRedirect:rankMath.assessor.hasRedirection&&(!Object(U.isEmpty)(Object(U.get)(rankMath.assessor,"redirection.id",""))||!Object(U.isEmpty)(Object(U.get)(rankMath.assessor,"redirection.url_to",""))),serpTitle:"",serpDescription:"",isSnippetEditorOpen:!1,snippetPreviewType:"",refreshResults:"",redirectionItem:{},editorTab:"",templateTab:"",editSchemas:{},editingSchemaId:"",isSchemaEditorOpen:!1,isSchemaTemplatesOpen:!1};function $e(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Qe,t=arguments.length>1?arguments[1]:void 0;return"RANK_MATH_APP_UI"===t.type?Ke(Ke({},e),{},Je({},t.key,t.value)):e}function Xe(e){return e.appData}function Ze(e){return e.appData.dirtyMetadata}function et(e){return e.appData.score}function tt(e){return e.appData.keywords}function rt(e){return e.appData.pillarContent}function at(e){return e.appData.robots}function it(e){return e.appData.advancedRobots}function nt(e){return e.appData.canonicalUrl}function ot(e){return e.appData.breadcrumbTitle}function st(e){return"todo"}function ct(e){return e.appData.showScoreFrontend}function lt(e){return e.appUi.isLoaded}function mt(e){return e.appUi.selectedKeyword}function dt(e){return e.appUi.refreshResults}function pt(e){return e.appUi.isPro}function ut(e){return e.appData.facebookTitle}function ht(e){return e.appData.facebookDescription}function bt(e){return e.appData.facebookAuthor}function ft(e){return e.appData.facebookImageID}function yt(e){return e.appData.facebookImage}function _t(e){return e.appData.facebookHasOverlay}function Rt(e){return""!==e.appData.facebookImageOverlay?e.appData.facebookImageOverlay:"play"}function Ot(e){return e.appData.postID}function kt(e){return e.appData.title}function gt(e){return e.appData.permalink}function vt(e){return e.appData.description}function jt(e){return e.appData.featuredImage}function wt(e){var t=e.appData.featuredImage;return'<img src="'.concat(t.source_url,'" alt="').concat(t.alt_text,'" >')}function At(e){return e.appData.primaryTerm}function Gt(e){return e.appData.redirectionID}function qt(e){return e.appData.redirectionType}function Et(e){return e.appData.redirectionUrl}function St(e){return e.appUi.redirectionItem}function Pt(e){return e.appUi.hasRedirect}function Tt(e){return F(e.appUi.serpTitle)}function Ct(e){return e.appUi.serpDescription}function It(e){return e.appUi.isSnippetEditorOpen}function Dt(e){return e.appUi.snippetPreviewType}function Nt(e){return e.appUi.isSchemaEditorOpen}function Mt(e){return e.appUi.isSchemaTemplatesOpen}function xt(e){return e.appData.schemas}function Lt(e){return e.appUi.editSchemas}function Ut(e){return{id:e.appUi.editingSchemaId,data:e.appUi.editSchemas[e.appUi.editingSchemaId]}}function Ht(e){return e.appData.schemas[e.appUi.editingSchemaId]}function Ft(e){return e.appUi.editorTab}function Bt(e){return e.appUi.templateTab}function Vt(e){return e.appData.twitterUseFacebook}function Yt(e){return e.appData.twitterCardType}function zt(e){return e.appData.twitterTitle}function Wt(e){return e.appData.twitterDescription}function Kt(e){return e.appData.twitterAuthor}function Jt(e){return e.appData.twitterImageID}function Qt(e){return e.appData.twitterImage}function $t(e){return e.appData.twitterHasOverlay}function Xt(e){return""!==e.appData.twitterImageOverlay?e.appData.twitterImageOverlay:"play"}function Zt(e){return e.appData.twitterAppDescription}function er(e){return e.appData.twitterAppIphoneID}function tr(e){return e.appData.twitterAppIphoneName}function rr(e){return e.appData.twitterAppIphoneUrl}function ar(e){return e.appData.twitterAppIpadID}function ir(e){return e.appData.twitterAppIpadName}function nr(e){return e.appData.twitterAppIpadUrl}function or(e){return e.appData.twitterAppGoogleplayID}function sr(e){return e.appData.twitterAppGoogleplayName}function cr(e){return e.appData.twitterAppGoogleplayUrl}function lr(e){return e.appData.twitterAppCountry}function mr(e){return e.appData.twitterPlayerUrl}function dr(e){return e.appData.twitterPlayerSize}function pr(e){return e.appData.twitterPlayerStream}function ur(e){return e.appData.twitterPlayerStreamCtype}var hr=Object(o.registerStore)("rank-math",{reducer:Object(o.combineReducers)(i),selectors:n,actions:a});function br(){return hr}},function(e,t,r){"use strict";var a=r(1),i=r(9),n=r.n(i),o=r(0),s=r(7),c=r(2),l=r(5),m=r(14),d=r(3),p=r(6),u=r(20),h=r(24),b=function(e){var t,r=e.selectedTab;return wp.element.createElement(c.TabPanel,{className:"rank-math-tabs rank-math-editor rank-math-schema-tabs",activeClass:"is-active",initialTabName:r,tabs:Object.values((t={schemaBuilder:{name:"schemaBuilder",title:wp.element.createElement(p.Fragment,null,wp.element.createElement("span",null,Object(o.__)("Edit","rank-math"))),view:u.a,className:"rank-math-tab-templates"},codeValidation:{name:"codeValidation",title:wp.element.createElement(p.Fragment,null,wp.element.createElement("span",null,Object(o.__)("Code Validation","rank-math"))),view:h.a,className:"rank-math-tab-code-validation"}},Object(d.applyFilters)("rank_math_schema_editor_tabs",t)))},(function(e){return wp.element.createElement("div",{className:"components-panel__body rank-math-schema-tab-content-"+e.name},Object(p.createElement)(e.view))}))};function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.a=Object(s.compose)(Object(l.withSelect)((function(e){var t=e("rank-math").getEditingSchema();return{isOpen:e("rank-math").isSchemaEditorOpen(),selectedTab:e("rank-math").getEditorTab(),isCutomSchema:Object(a.get)(t,"data.metadata.type",!1)}})),Object(l.withDispatch)((function(e,t){return{toggleModal:function(){e("rank-math").setEditorTab(""),e("rank-math").toggleSchemaEditor(!t.isOpen)}}})))((function(e){var t,r=e.isOpen,a=void 0!==r&&r,i=e.toggleModal,s=e.selectedTab,l=e.isCutomSchema;if(!a)return null;var d=n()("rank-math-modal rank-math-schema-generator rank-math-schema-modal",{"rank-math-schema-modal-no-map":"custom"===l});return wp.element.createElement(c.Modal,{title:Object(o.__)("Schema Builder","rank-math"),closeButtonLabel:Object(o.__)("Close","rank-math"),shouldCloseOnClickOutside:!1,onRequestClose:i,className:d,overlayClassName:"rank-math-modal-overlay"},wp.element.createElement(c.KeyboardShortcuts,{shortcuts:(t={},f(t,m.rawShortcut.ctrl("z"),(function(e){return e.stopImmediatePropagation()})),f(t,m.rawShortcut.ctrlShift("z"),(function(e){return e.stopImmediatePropagation()})),f(t,m.rawShortcut.primary("z"),(function(e){return e.stopImmediatePropagation()})),f(t,m.rawShortcut.primaryShift("z"),(function(e){return e.stopImmediatePropagation()})),t)},wp.element.createElement("a",{href:"https://rankmath.com/kb/rich-snippets/?utm_source=Plugin&utm_medium=Schema%20Builder%20Header&utm_campaign=WP",rel:"noopener noreferrer",target:"_blank",title:Object(o.__)("More Info","rank-math"),className:"rank-math-schema-info"},wp.element.createElement(c.Dashicon,{icon:"info"})),wp.element.createElement(b,{selectedTab:s})))}))},function(e,t,r){"use strict";var a=r(4);window.rankMath=window.rankMath||{},window.rankMath.Helpers=window.rankMath.Helpers||{},window.rankMath.Helpers={generateValidSchema:a.e,prettyJSON:a.l,processSchema:a.m}},,,function(e,t,r){"use strict";r.r(t);var a=r(8),i=r.n(a),n=r(5),o=r(3),s=r(6),c=(r(34),r(32)),l=r(23),m=r(0),d=r(2),p=(r(19),r(18)),u=r(33),h=r(30),b=function(){return wp.element.createElement(s.Fragment,null,wp.element.createElement("p",{className:"cmb2-metabox-description"},Object(m.__)("Configure Schema Markup for your pages. Search engines, use structured data to display rich results in SERPs.","rank-math")," ",wp.element.createElement("a",{href:"https://rankmath.com/kb/rich-snippets/?utm_source=Plugin&utm_medium=Schema%20G%20Tab&utm_campaign=WP",target:"_blank",rel:"noopener noreferrer"},Object(m.__)("Learn more.","rank-math"))),wp.element.createElement(p.a,null),wp.element.createElement(d.Button,{className:"button button-primary",onClick:function(){return Object(n.dispatch)("rank-math").toggleSchemaTemplates(!0)}},Object(m.__)("Schema Generator","rank-math")),wp.element.createElement(u.a,null),wp.element.createElement(h.a,null))},f=r(31),y=r(20),_=i()("#rank-math-schemas"),R=i()("#rank-math-schemas-delete"),O=function(){_.val(JSON.stringify(Object(n.select)("rank-math").getSchemas()))};i()(document).ready((function(){Object(c.a)(),Object(l.a)();var e=Object.keys(rankMath.schemas);Object(n.dispatch)("rank-math").setEditingSchemaId(e[0]),Object(o.addFilter)("rank_math_schema_editor_tabs","rank-math",(function(e){return e.schemaBuilder.view=function(){return wp.element.createElement(y.a,{onSave:O})},e})),Object(o.addAction)("rank_math_schema_trash","rank-math",(function(e){var t=JSON.parse(R.val());t.push(e),R.val(JSON.stringify(t))})),setTimeout((function(){var e=i()('[href="#setting-panel-schema"] > span.dashicons-schema');Object(s.render)(Object(s.createElement)(b),document.getElementById("rank-math-schema-generator")),Object(s.render)(Object(s.createElement)(f.a),e.get(0))}),1e3)}))}]);
1
+ !function(e){var t={};function r(a){if(t[a])return t[a].exports;var i=t[a]={i:a,l:!1,exports:{}};return e[a].call(i.exports,i,i.exports,r),i.l=!0,i.exports}r.m=e,r.c=t,r.d=function(e,t,a){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(r.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(a,i,function(t){return e[t]}.bind(null,i));return a},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=37)}([function(e,t){e.exports=wp.i18n},function(e,t){e.exports=lodash},function(e,t){e.exports=wp.components},function(e,t){e.exports=wp.hooks},function(e,t,r){"use strict";r.d(t,"k",(function(){return a.b})),r.d(t,"h",(function(){return a.a})),r.d(t,"b",(function(){return s})),r.d(t,"c",(function(){return c})),r.d(t,"g",(function(){return m})),r.d(t,"i",(function(){return d})),r.d(t,"a",(function(){return p})),r.d(t,"d",(function(){return h})),r.d(t,"j",(function(){return _})),r.d(t,"f",(function(){return O})),r.d(t,"e",(function(){return k})),r.d(t,"m",(function(){return A})),r.d(t,"l",(function(){return G})),r.d(t,"n",(function(){return q}));var a=r(19),i=r(1);function n(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var a=0,i=function(){};return{s:i,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,s=!0,c=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return s=e.done,e},e:function(e){c=!0,n=e},f:function(){try{s||null==r.return||r.return()}finally{if(c)throw n}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}function s(e,t){if(Object(i.isEmpty)(e)||t.id===e)return t;var r,a=n(t.properties);try{for(a.s();!(r=a.n()).done;){var o=r.value;if(o.id===e)return o;if(o.map.isGroup){var c=s(e,o);if(c)return c}}}catch(e){a.e(e)}finally{a.f()}}function c(e,t){if(Object(i.isEmpty)(e))return t;var r,a=n(t.properties);try{for(a.s();!(r=a.n()).done;){var o=r.value;if(o.property===e)return o.value=Object(i.has)(t.metadata,e)?t.metadata[e]:o.value,o}}catch(e){a.e(e)}finally{a.f()}return!1}var l=r(10);function m(){return{id:"g-".concat(Object(l.v4)()),property:"",properties:[],map:{isGroup:!0,isArray:!1,isRequired:!1,isRecommended:!1}}}function d(){return{id:"p-".concat(Object(l.v4)()),property:"",value:"",map:{isGroup:!1,isArray:!1,isRequired:!1,isRecommended:!1}}}function p(e){return e.id="g-".concat(Object(l.v4)()),e.properties.forEach((function(e){e.map.isGroup?p(e):e.id="p-".concat(Object(l.v4)())})),e}var u=function e(t){if(!t)return m();var r=t.map.isGroup?m():d();return Object(i.forEach)(t,(function(t,a){if("map"!==a){var n=d();t.map.isGroup&&(n=e(t)),n.map=t.map,n.property=a,n.value=Object(i.get)(t.map,"value",Object(i.get)(t.map,"field.default","")),r.properties.push(n)}else Object(i.has)(t,"title")&&(r.map.title=t.title,r.map.defaultEn=t.defaultEn)})),r};function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=!1;r||(n=Object(i.isString)(e)?Object(a.a)(e):e);var o=u(n);return(o=Object(i.merge)(o,t)).property=e,o}var b=r(3);function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Object(i.isEmpty)(t)||Object(i.forEach)(t,(function(t,n){if("@context"!==n){var o=c(n,e);if(o)R(o,n,t,r);else{var s=Object(a.a)(n);Object(i.isArray)(t)?(o=m()).map.isArray=!0:o=Object(i.isObject)(t)||s?_(s?h(s):m(),t,r):d(),R(o,n,t,r),o.property=n,e.properties.push(o)}}})),e}var R=function(e,t,r){var a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!t)return e;var i=Object(b.applyFilters)("rank_math_schema_convert_value",!1,e,t,r,a);return!1!==i||!1!==(i=Object(b.applyFilters)("rank_math_schema_convert_"+t,!1,e,r))?i:(e.value=r,e)};function O(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=h(t,r,a);return _(i,e)}function k(e){var t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){y(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e),r=Object(b.applyFilters)("rank_math_schema_type",Object(i.get)(t,"@type","")),a=Object(i.get)(t,"metadata",{type:"template"});delete t.metadata;var n="custom"===a.type?m():h(r);Object(i.has)(n.map,"title")&&!Object(i.has)(a,"title")&&(a.title=n.map.title),Object(i.has)(a,"title")&&a.title===n.map.defaultEn&&(a.title=n.map.title),n.property=Object(i.get)(a,"title",r),n.metadata=a;var o=c("@type",n);if(!1!==o&&""!==o.value&&(t["@type"]=o.value),n=_(n,t,"custom"===a.type),"custom"!==a.type){var s=n.properties.pop();n.properties.unshift(s)}return n}function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var j=function(e){if(!Object(i.isEmpty)(e.value)||!Object(i.isUndefined)(e.map.field)&&"toggle"===e.map.field.type)return e.value;var t=Object(i.get)(e,"map.field.placeholder");return Object(i.isEmpty)(t)?Object(i.get)(e,"map.field.default",!1):t},w=function(e){if(Object(i.isEmpty)(e)||Object(i.isUndefined)(e.properties))return e;var t={};return"metadata"in e&&(t.metadata=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach((function(t){v(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e.metadata),t.metadata.title=e.property),Object(i.map)(e.properties,(function(e){var r=Object(i.get)(e,"map.save",!0),a=Object(i.get)(e,"map.isHidden",!1);if(!1!==r&&!a)if("metadata"!==r){var n=function(e){var t=!1;return t=Object(b.applyFilters)("rank_math_schema_process_value",t,e),Object(b.applyFilters)("rank_math_schema_process_"+e.property,t,e)}(e);if(!1===n){if(e.map.isArray){var o=[];return Object(i.map)(e.properties,(function(e){o.push(Object(i.isUndefined)(e.properties)?e.value:A(e))})),void(t[e.property]=o)}if(e.map.isGroup){var s=A(e);return s["@type"]=Object(i.get)(s,"@type",e.property),void(t[e.property]=s)}var c=j(e);!Object(i.isBoolean)(c)&&Object(i.isEmpty)(c)||!c||(t[e.property]=c)}else t[e.property]=n}else{var l=j(e);if(Object(i.isEmpty)(l)&&"toggle"!==e.map.field.type)return;t.metadata[e.property]=l}})),t};function A(e){var t=w(e);return t=Object(b.applyFilters)("rank_math_processed_schema_"+t["@type"],t),Object(b.applyFilters)("rank_math_processed_schema",t)}function G(e){return"string"!=typeof e&&(e=JSON.stringify(e,null,2)),(e=e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")).replace(/("(\\u[a-zA-Z0-9]{4}|\\[^u]|[^\\"])*"(\s*:)?|\b(true|false|null)\b|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)/g,(function(e){var t="number";return/^"/.test(e)?t=/:$/.test(e)?"key":"string":/true|false/.test(e)?t="boolean":/null/.test(e)&&(t="null"),'<span class="'+t+'">'+e+"</span>"}))}function q(e,t){if(!Object(i.has)(e,"map.dependency"))return!0;var r=null,a=e.map.dependency,n=Object(i.get)(a,"relation","or");return Object(i.forEach)(a,(function(e){var a,o,s,l=c(e.field,t),m=(a=l.value,o=Object(i.get)(e,"value",!1),s=Object(i.get)(e,"comparison","="),Object(i.isArray)(o)&&"="===s?o.includes(a):Object(i.isArray)(o)&&"!="===s?!o.includes(a):"="===s&&a===o||"=="===s&&a===o||">="===s&&a>=o||"<="===s&&a<=o||">"===s&&a>o||"<"===s&&a<o||"!="===s&&a!==o);if("or"===n&&m)return r=!0,!1;"and"===n&&(r=(null===r||r)&&m)})),!!r}},function(e,t){e.exports=wp.data},function(e,t){e.exports=wp.element},function(e,t){e.exports=wp.compose},function(e,t){e.exports=jQuery},function(e,t,r){var a;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var a=arguments[t];if(a){var n=typeof a;if("string"===n||"number"===n)e.push(a);else if(Array.isArray(a)&&a.length){var o=i.apply(null,a);o&&e.push(o)}else if("object"===n)for(var s in a)r.call(a,s)&&a[s]&&e.push(s)}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(a=function(){return i}.apply(t,[]))||(e.exports=a)}()},function(e,t,r){var a=r(26),i=r(27),n=i;n.v1=a,n.v4=i,e.exports=n},function(e,t,r){"use strict";var a=r(12),i=r(0),n=r(2);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],a=!0,i=!1,n=void 0;try{for(var o,s=e[Symbol.iterator]();!(a=(o=s.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){i=!0,n=e}finally{try{a||null==s.return||s.return()}finally{if(i)throw n}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return s(e,t)}(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 s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}t.a=function(e){var t=e.onClick,r=e.children,s=(e.className,Object(a.useRef)()),c=o(Object(a.useState)(!1),2),l=c[0],m=c[1],d=function(e){s.current.contains(e.target)||m(!1)};return Object(a.useEffect)((function(){return l?document.addEventListener("mousedown",d):document.removeEventListener("mousedown",d),function(){document.removeEventListener("mousedown",d)}}),[l]),wp.element.createElement("div",{ref:s,className:"rank-math-inline-confirmation"},!l&&r(m),l&&wp.element.createElement("div",{className:"rank-math-confirm-delete"},wp.element.createElement("span",null,Object(i.__)("Delete?","rank-math")),wp.element.createElement(n.Button,{isLink:!0,onClick:function(){m(!1),t()}},wp.element.createElement("span",null,Object(i.__)("Yes","rank-math"))),wp.element.createElement(n.Button,{isLink:!0,onClick:function(){return m(!1)}},wp.element.createElement("span",null,Object(i.__)("No","rank-math")))))}},function(e,t){e.exports=React},function(e,t,r){e.exports=r(28)()},function(e,t){e.exports=wp.keycodes},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var a=r(1);function i(e){return Object(a.get)({off:"rm-icon rm-icon-schema",Article:"rm-icon rm-icon-post",Book:"rm-icon rm-icon-book",Course:"rm-icon rm-icon-course",Event:"rm-icon rm-icon-calendar",JobPosting:"rm-icon rm-icon-job",Local:"rm-icon rm-icon-local-seo",Music:"rm-icon rm-icon-music",Product:"rm-icon rm-icon-cart",WooCommerceProduct:"rm-icon rm-icon-cart",Recipe:"rm-icon rm-icon-recipe",Restaurant:"rm-icon rm-icon-restaurant",Video:"rm-icon rm-icon-video",Person:"rm-icon rm-icon-users",Review:"rm-icon rm-icon-star",Service:"rm-icon rm-icon-service",Software:"rm-icon rm-icon-software"},e,"rm-icon rm-icon-schema")}},function(e,t){e.exports=rankMathAnalyzer},function(e,t){e.exports=wp.apiFetch},function(e,t,r){"use strict";var a=r(1),i=r(0),n=r(7),o=r(2),s=r(5),c=r(15),l=r(11),m=Object(o.withFilters)("rankMath.schema.SchemaList")((function(e){var t=e.schemas,r=e.edit,n=e.trash,s=e.preview,m=e.showProNotice;return Object(a.isEmpty)(t)?null:wp.element.createElement("div",{className:"rank-math-schema-in-use"},wp.element.createElement("h4",{className:"rank-math-schema-section-title"},Object(i.__)("Schema in Use","rank-math")),m&&wp.element.createElement("div",{className:"components-notice rank-math-notice is-warning"},wp.element.createElement("div",{className:"components-notice__content"},Object(i.__)("Multiple Schemas are allowed in the","rank-math")," ",wp.element.createElement("a",{href:"https://rankmath.com/pricing/?utm_source=Plugin&utm_medium=Schema%20Tab%20Notice&utm_campaign=WP",rel:"noreferrer noopener",target:"_blank"},wp.element.createElement("strong",null,Object(i.__)("PRO Version","rank-math"))))),Object(a.map)(t,(function(e,t){return wp.element.createElement("div",{key:t,id:"rank-math-schema-item",className:"rank-math-schema-item row"},wp.element.createElement("strong",{className:"rank-math-schema-name"},wp.element.createElement("i",{className:Object(c.a)(e["@type"])}),Object(a.get)(e,"metadata.title",e["@type"])),wp.element.createElement("span",{className:"rank-math-schema-item-actions"},wp.element.createElement(o.Button,{className:"button rank-math-edit-schema",isLink:!0,onClick:function(){return r(t)}},wp.element.createElement("i",{className:"rm-icon rm-icon-edit"}),wp.element.createElement("span",null,Object(i.__)("Edit","rank-math"))),wp.element.createElement(o.Button,{className:"button rank-math-preview-schema",isLink:!0,onClick:function(){return s(t)}},wp.element.createElement("i",{className:"rm-icon rm-icon-eye"}),wp.element.createElement("span",null,Object(i.__)("Preview","rank-math"))),wp.element.createElement(l.a,{key:t,onClick:function(){return n(t)}},(function(e){return wp.element.createElement(o.Button,{isLink:!0,className:"button rank-math-delete-schema",onClick:function(){return e(!0)}},wp.element.createElement("i",{className:"rm-icon rm-icon-trash"}),wp.element.createElement("span",null,Object(i.__)("Delete","rank-math")))}))))})))}));t.a=Object(n.compose)(Object(s.withSelect)((function(e){var t=e("rank-math").getSchemas();return{schemas:t,showProNotice:1<=Object.keys(t).length}})),Object(s.withDispatch)((function(e){return{trash:function(t){e("rank-math").deleteSchema(t)},edit:function(t){e("rank-math").setEditingSchemaId(t),e("rank-math").toggleSchemaEditor(!0)},preview:function(t){e("rank-math").setEditingSchemaId(t),e("rank-math").setEditorTab("codeValidation"),e("rank-math").toggleSchemaEditor(!0)}}})))(m)},function(e,t,r){"use strict";r.d(t,"b",(function(){return p})),r.d(t,"a",(function(){return u}));var a=r(1),i=r(0),n=r(17),o=r.n(n),s=r(3),c={version:"1.0.0",properties:{author:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Person"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Author Name","rank-math"),placeholder:"%name%"}}}},image:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"ImageObject"}},url:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Image URL","rank-math")}}}},rating:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Rating"}},ratingValue:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"number",label:Object(i.__)("Rating","rank-math"),help:Object(i.__)("Rating score","rank-math")}}},worstRating:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"number",label:Object(i.__)("Rating Minimum","rank-math"),help:Object(i.__)("Rating minimum score","rank-math"),placeholder:1}}},bestRating:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"number",label:Object(i.__)("Rating Maximum","rank-math"),help:Object(i.__)("Rating maximum score","rank-math"),placeholder:5}}}},review:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Review","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Review"}},datePublished:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"datetimepicker",label:Object(i.__)("Published Date","rank-math"),placeholder:"%date(Y-m-d\\TH:i:sP)%",classes:"hide-group"}}},dateModified:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"datetimepicker",label:Object(i.__)("Modified Date","rank-math"),placeholder:"%modified(Y-m-d\\TH:i:sP)%",classes:"hide-group"}}},author:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:["hide-group-header","hide-group"]},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Person"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Author Name","rank-math"),placeholder:"%name%"}}}},reviewRating:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Rating"}},ratingValue:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"number",label:Object(i.__)("Rating","rank-math"),help:Object(i.__)("Rating score","rank-math")}}},worstRating:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"number",label:Object(i.__)("Rating Minimum","rank-math"),help:Object(i.__)("Rating minimum score","rank-math"),placeholder:1}}},bestRating:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"number",label:Object(i.__)("Rating Maximum","rank-math"),help:Object(i.__)("Rating maximum score","rank-math"),placeholder:5}}}}},bookEditions:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Edition","rank-math"),help:Object(i.__)("Either a specific edition of the written work, or the volume of the work","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Book"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Title","rank-math"),help:Object(i.__)("The title of the tome. Use for the title of the tome if it differs from the book. *Optional when tome has the same title as the book","rank-math")}}},bookEdition:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Edition","rank-math"),help:Object(i.__)("The edition of the book","rank-math")}}},isbn:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("ISBN","rank-math"),help:Object(i.__)("The ISBN of the print book","rank-math")}}},url:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("URL","rank-math"),help:Object(i.__)("URL specific to this edition if one exists","rank-math")}}},author:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Person"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Author Name","rank-math"),placeholder:"%name%"}}}},datePublished:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"datepicker",label:Object(i.__)("Date Published","rank-math"),help:Object(i.__)("Date of first publication of this tome","rank-math")}}},bookFormat:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"radio",label:Object(i.__)("Book Format","rank-math"),desc:"The format of the book.",options:{"https://schema.org/EBook":"eBook","https://schema.org/Hardcover":"Hardcover","https://schema.org/Paperback":"Paperback","https://schema.org/AudioBook":"Audio Book"},default:"https://schema.org/Hardcover"}}}},provider:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{type:"radio",label:Object(i.__)("Course Provider","rank-math"),classes:"show-property",options:{Organization:"Organization",Person:"Person"},default:"Organization"}}},name:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Course Provider Name","rank-math")}}},sameAs:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Course Provider URL","rank-math")}}}},"virtual-location":{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{value:"VirtualLocation"}}},url:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Online Event URL","rank-math"),help:Object(i.__)("The URL of the online event, where people can join. This property is required if your event is happening online","rank-math")}}}},address:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Address","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"PostalAddress"}},streetAddress:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Street Address","rank-math")}}},addressLocality:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Locality","rank-math")}}},addressRegion:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Region","rank-math")}}},postalCode:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Postal Code","rank-math")}}},addressCountry:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Country","rank-math")}}}},"physical-location":{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Place"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Venue Name","rank-math"),help:Object(i.__)("The venue name.","rank-math")}}},url:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Venue URL","rank-math"),help:Object(i.__)("Website URL of the venue","rank-math")}}},address:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Address","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"PostalAddress"}},streetAddress:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Street Address","rank-math")}}},addressLocality:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Locality","rank-math")}}},addressRegion:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Region","rank-math")}}},postalCode:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Postal Code","rank-math")}}},addressCountry:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Country","rank-math")}}}}},"event-performer":{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Performer Information","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"radio",label:Object(i.__)("Performer","rank-math"),classes:"show-property",options:{Organization:"Organization",Person:"Person"},default:"Person"}}},name:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Name","rank-math")}}},sameAs:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Website or Social Link","rank-math")}}}},offers:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Offers","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Offer"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Name","rank-math")}}},category:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Category","rank-math")}}},url:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("URL","rank-math")}}},price:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Price","rank-math")}}},priceCurrency:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Currency","rank-math")}}},availability:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"select",label:Object(i.__)("Availability","rank-math"),help:Object(i.__)("Offer availability","rank-math"),classes:"col-4",options:{InStock:"In Stock",SoldOut:"Sold Out",PreOrder:"Preorder"},default:"InStock"}}},validFrom:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"datepicker",label:Object(i.__)("Price Valid From","rank-math"),help:Object(i.__)("The date after which the price will no longer be available","rank-math")}}},priceValidUntil:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"datepicker",label:Object(i.__)("Price Valid Until","rank-math"),help:Object(i.__)("The date after which the price will no longer be available","rank-math")}}},inventoryLevel:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Inventory Level","rank-math")}}}},"monetary-amount-unit":{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Salary","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"QuantitativeValue"}},value:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Salary (Recommended)","rank-math"),help:Object(i.__)("Insert amount, e.g. 50.00, or a salary range, e.g. 40.00-50.00","rank-math"),classes:"col-4"}}},unitText:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"select",label:Object(i.__)("Payroll (Recommended)","rank-math"),help:Object(i.__)("Salary amount is for","rank-math"),options:{"":"None",YEAR:"Yearly",MONTH:"Monthly",WEEK:"Weekly",DAY:"Daily",HOUR:"Hourly"},classes:"col-4"}}}},"monetary-amount":{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"MonetaryAmount"}},currency:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Salary Currency","rank-math"),help:Object(i.__)("ISO 4217 Currency code. Example: EUR","rank-math"),classes:"col-4"}}},value:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Salary","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"QuantitativeValue"}},value:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Salary (Recommended)","rank-math"),help:Object(i.__)("Insert amount, e.g. 50.00, or a salary range, e.g. 40.00-50.00","rank-math"),classes:"col-4"}}},unitText:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"select",label:Object(i.__)("Payroll (Recommended)","rank-math"),help:Object(i.__)("Salary amount is for","rank-math"),options:{"":"None",YEAR:"Yearly",MONTH:"Monthly",WEEK:"Weekly",DAY:"Daily",HOUR:"Hourly"},classes:"col-4"}}}}},"hiring-organization":{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Organization"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Hiring Organization","rank-math"),placeholder:"%org_name%",help:Object(i.__)("The name of the company. Leave empty to use your own company information.","rank-math"),classes:"col-4"}}},sameAs:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Organization URL (Recommended)","rank-math"),placeholder:"%org_url%",help:Object(i.__)("The URL of the organization offering the job position. Leave empty to use your own company information","rank-math"),classes:"col-6"}}},logo:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Organization Logo (Recommended)","rank-math"),placeholder:"%org_logo%",help:Object(i.__)("Logo URL of the organization offering the job position. Leave empty to use your own company information","rank-math"),classes:"col-6"}}}},brand:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Brand"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Brand Name","rank-math")}}}},calories:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"NutritionInformation"}},calories:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Calories","rank-math"),help:Object(i.__)("The number of calories in the recipe. Optional.","rank-math")}}}},"video-object":{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Video","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"VideoObject"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Name","rank-math"),help:Object(i.__)("A recipe video Name","rank-math"),classes:"col-6"}}},description:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"textarea",label:Object(i.__)("Description","rank-math"),help:Object(i.__)("A recipe video Description","rank-math")}}},embedUrl:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Video URL","rank-math"),help:Object(i.__)("A video URL. Optional.","rank-math"),classes:"col-6"}}},contentUrl:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Content URL","rank-math"),help:Object(i.__)("A URL pointing to the actual video media file","rank-math"),classes:"col-6"}}},thumbnailUrl:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Recipe Video Thumbnail","rank-math"),help:Object(i.__)("A recipe video thumbnail URL","rank-math"),classes:"col-6"}}},uploadDate:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"datepicker",label:Object(i.__)("Video Upload Date","rank-math"),classes:"col-6"}}}},instructionText:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"HowtoStep"}},text:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"textarea"}}}},instructions:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Recipe Instructions","rank-math"),help:Object(i.__)("Either a specific edition of the written work, or the volume of the work","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"HowToSection"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Name","rank-math"),help:Object(i.__)("Instruction name of the recipe.","rank-math")}}},itemListElement:{map:{isArray:!0,isGroup:!0,isRequired:!1,isRecommended:!1,arrayMap:"instructionText",arrayProps:{map:{classes:"show-delete-property-group"}},classes:"show-add-property-group",field:{label:Object(i.__)("Instruction Texts","rank-math")}}}},"geo-coordinates":{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Geo Cordinates","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"GeoCoordinates"}},latitude:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Latitude","rank-math")}}},longitude:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Longitude","rank-math")}}}},"opening-hours":{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Timings","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"OpeningHoursSpecification"}},dayOfWeek:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"checkbox",label:Object(i.__)("Open Days","rank-math"),options:{monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},default:[]}}},opens:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"timepicker",label:Object(i.__)("Opening Time","rank-math"),classes:"col-6",placeholder:"09:00 AM"}}},closes:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"timepicker",label:Object(i.__)("Closing Time","rank-math"),classes:"col-6",placeholder:"05:00 PM"}}}},cuisine:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1},cuisine:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Cuisine","rank-math")}}}}},schemas:{Article:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,title:Object(i.__)("Article","rank-math"),defaultEn:"Article"},headline:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Headline","rank-math"),placeholder:"%seo_title%"}}},description:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"textarea",label:Object(i.__)("Description","rank-math"),placeholder:"%seo_description%"}}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{type:"radio",label:Object(i.__)("Article Type","rank-math"),classes:"show-property",options:{Article:"Article",BlogPosting:"Blog Post",NewsArticle:"News Article"},notice:{status:"warning",className:"article-notice",content:Object(i.__)("Google does not allow Person as the Publisher for articles. Organization will be used instead.","rank-math")}}}},author:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:["hide-group-header","hide-group"]},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Person"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Author Name","rank-math"),placeholder:"%name%"}}}},datePublished:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Published Date","rank-math"),classes:"hide-group",default:"%date(Y-m-d\\TH:i:sP)%"}}},dateModified:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Modified Date","rank-math"),classes:"hide-group",default:"%modified(Y-m-d\\TH:i:sP)%"}}},image:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:["hide-group-header","hide-group"]},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"ImageObject"}},url:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Image URL","rank-math"),placeholder:"%post_thumbnail%"}}}}},Book:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,title:Object(i.__)("Book","rank-math"),defaultEn:"Book"},name:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Headline","rank-math"),placeholder:"%seo_title%"}}},reviewLocation:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,save:"metadata",field:{type:"select",label:Object(i.__)("Review Location","rank-math"),help:Object(i.__)("The review or rating must be displayed on the page to comply with Google's Schema guidelines.","rank-math"),options:{bottom:"Below Content",top:"Above Content",both:"Above and Below Content",custom:"Custom (use shortcode)"},default:"custom"}}},reviewLocationShortcode:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,save:"metadata",field:{type:"text",label:Object(i.__)("Shortcode","rank-math"),help:Object(i.__)("You can use the Schema Block in the block editor, or copy and paste this in the content. This shortcode will work on this page only.","rank-math"),disabled:"disabled"},value:"[rank_math_rich_snippet]",dependency:[{field:"reviewLocation",value:"custom"}]}},url:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("URL","rank-math")}}},author:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Person"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Author Name","rank-math"),placeholder:"%name%"}}}},review:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Review","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Review"}},datePublished:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"datetimepicker",label:Object(i.__)("Published Date","rank-math"),placeholder:"%date(Y-m-d\\TH:i:sP)%",classes:"hide-group"}}},dateModified:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"datetimepicker",label:Object(i.__)("Modified Date","rank-math"),placeholder:"%modified(Y-m-d\\TH:i:sP)%",classes:"hide-group"}}},author:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:["hide-group-header","hide-group"]},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Person"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Author Name","rank-math"),placeholder:"%name%"}}}},reviewRating:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Rating"}},ratingValue:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"number",label:Object(i.__)("Rating","rank-math"),help:Object(i.__)("Rating score","rank-math")}}},worstRating:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"number",label:Object(i.__)("Rating Minimum","rank-math"),help:Object(i.__)("Rating minimum score","rank-math"),placeholder:1}}},bestRating:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"number",label:Object(i.__)("Rating Maximum","rank-math"),help:Object(i.__)("Rating maximum score","rank-math"),placeholder:5}}}}},hasPart:{map:{isArray:!0,isGroup:!0,isRequired:!1,isRecommended:!1,arrayMap:"bookEditions",arrayProps:{map:{classes:"show-delete-property-group"}},field:{label:Object(i.__)("Editions","rank-math")}}},image:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:["hide-group-header","hide-group"]},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"ImageObject"}},url:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Image URL","rank-math"),placeholder:"%post_thumbnail%"}}}}},Course:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,title:Object(i.__)("Course","rank-math"),defaultEn:"Course"},name:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Headline","rank-math"),placeholder:"%seo_title%"}}},reviewLocation:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,save:"metadata",field:{type:"select",label:Object(i.__)("Review Location","rank-math"),help:Object(i.__)("The review or rating must be displayed on the page to comply with Google's Schema guidelines.","rank-math"),options:{bottom:"Below Content",top:"Above Content",both:"Above and Below Content",custom:"Custom (use shortcode)"},default:"custom"}}},reviewLocationShortcode:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,save:"metadata",field:{type:"text",label:Object(i.__)("Shortcode","rank-math"),help:Object(i.__)("You can use the Schema Block in the block editor, or copy and paste this in the content. This shortcode will work on this page only.","rank-math"),disabled:"disabled"},value:"[rank_math_rich_snippet]",dependency:[{field:"reviewLocation",value:"custom"}]}},description:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"textarea",label:Object(i.__)("Description","rank-math"),placeholder:"%seo_description%"}}},provider:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{type:"radio",label:Object(i.__)("Course Provider","rank-math"),classes:"show-property",options:{Organization:"Organization",Person:"Person"},default:"Organization"}}},name:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Course Provider Name","rank-math")}}},sameAs:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Course Provider URL","rank-math")}}}},image:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:["hide-group-header","hide-group"]},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"ImageObject"}},url:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Image URL","rank-math"),placeholder:"%post_thumbnail%"}}}},review:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Review","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Review"}},datePublished:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"datetimepicker",label:Object(i.__)("Published Date","rank-math"),placeholder:"%date(Y-m-d\\TH:i:sP)%",classes:"hide-group"}}},dateModified:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"datetimepicker",label:Object(i.__)("Modified Date","rank-math"),placeholder:"%modified(Y-m-d\\TH:i:sP)%",classes:"hide-group"}}},author:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:["hide-group-header","hide-group"]},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Person"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Author Name","rank-math"),placeholder:"%name%"}}}},reviewRating:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Rating"}},ratingValue:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"number",label:Object(i.__)("Rating","rank-math"),help:Object(i.__)("Rating score","rank-math")}}},worstRating:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"number",label:Object(i.__)("Rating Minimum","rank-math"),help:Object(i.__)("Rating minimum score","rank-math"),placeholder:1}}},bestRating:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"number",label:Object(i.__)("Rating Maximum","rank-math"),help:Object(i.__)("Rating maximum score","rank-math"),placeholder:5}}}}}},Event:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,title:Object(i.__)("Event","rank-math"),defaultEn:"Event"},name:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Headline","rank-math"),placeholder:"%seo_title%"}}},reviewLocation:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,save:"metadata",field:{type:"select",label:Object(i.__)("Review Location","rank-math"),help:Object(i.__)("The review or rating must be displayed on the page to comply with Google's Schema guidelines.","rank-math"),options:{bottom:"Below Content",top:"Above Content",both:"Above and Below Content",custom:"Custom (use shortcode)"},default:"custom"}}},reviewLocationShortcode:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,save:"metadata",field:{type:"text",label:Object(i.__)("Shortcode","rank-math"),help:Object(i.__)("You can use the Schema Block in the block editor, or copy and paste this in the content. This shortcode will work on this page only.","rank-math"),disabled:"disabled"},value:"[rank_math_rich_snippet]",dependency:[{field:"reviewLocation",value:"custom"}]}},description:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"textarea",label:Object(i.__)("Description","rank-math"),placeholder:"%seo_description%"}}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"select",label:Object(i.__)("Event Type","rank-math"),help:Object(i.__)("Type of the event","rank-math"),classes:"show-property col-4",options:{Event:"Event",BusinessEvent:"Business Event",ChildrensEvent:"Childrens Event",ComedyEvent:"Comedy Event",DanceEvent:"Dance Event",DeliveryEvent:"Delivery Event",EducationEvent:"Education Event",ExhibitionEvent:"Exhibition Event",Festival:"Festival",FoodEvent:"Food Event",LiteraryEvent:"Literary Event",MusicEvent:"Music Event",PublicationEvent:"Publication Event",SaleEvent:"Sale Event",ScreeningEvent:"Screening Event",SocialEvent:"Social Event",SportsEvent:"Sports Event",TheaterEvent:"Theater Event",VisualArtsEvent:"Visual Arts Event"}}}},eventStatus:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"select",label:Object(i.__)("Event Status","rank-math"),help:Object(i.__)("Current status of the event (optional)","rank-math"),options:{"":"None",EventScheduled:"Scheduled",EventCancelled:"Cancelled",EventPostponed:"Postponed",EventRescheduled:"Rescheduled",EventMovedOnline:"Moved Online"},classes:"col-4",default:"EventScheduled"}}},eventAttendanceMode:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"select",label:Object(i.__)("Event Attendance Mode","rank-math"),help:Object(i.__)("Indicates whether the event occurs online, offline at a physical location, or a mix of both online and offline.","rank-math"),options:{OfflineEventAttendanceMode:"Offline",OnlineEventAttendanceMode:"Online",MixedEventAttendanceMode:"Online + Offline"},default:"OfflineEventAttendanceMode",classes:"col-4"}}},VirtualLocation:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header",dependency:[{field:"eventAttendanceMode",value:["OnlineEventAttendanceMode","MixedEventAttendanceMode"]}]},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{value:"VirtualLocation"}}},url:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Online Event URL","rank-math"),help:Object(i.__)("The URL of the online event, where people can join. This property is required if your event is happening online","rank-math")}}}},location:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header",dependency:[{field:"eventAttendanceMode",value:["OfflineEventAttendanceMode","MixedEventAttendanceMode"]}]},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Place"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Venue Name","rank-math"),help:Object(i.__)("The venue name.","rank-math")}}},url:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Venue URL","rank-math"),help:Object(i.__)("Website URL of the venue","rank-math")}}},address:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Address","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"PostalAddress"}},streetAddress:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Street Address","rank-math")}}},addressLocality:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Locality","rank-math")}}},addressRegion:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Region","rank-math")}}},postalCode:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Postal Code","rank-math")}}},addressCountry:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Country","rank-math")}}}}},performer:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Performer Information","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"radio",label:Object(i.__)("Performer","rank-math"),classes:"show-property",options:{Organization:"Organization",Person:"Person"},default:"Person"}}},name:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Name","rank-math")}}},sameAs:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Website or Social Link","rank-math")}}}},startDate:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{type:"datetimepicker",label:Object(i.__)("Start Date","rank-math"),help:Object(i.__)("Date and time of the event","rank-math"),classes:"col-4"}}},endDate:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"datetimepicker",label:Object(i.__)("End Date","rank-math"),help:Object(i.__)("End date and time of the event","rank-math"),classes:"col-4"}}},offers:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Offers","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Offer"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Name","rank-math"),classes:"hide-group",placeholder:"General Admission"}}},category:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Category","rank-math"),classes:"hide-group",placeholder:"primary"}}},url:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("URL","rank-math")}}},price:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Price","rank-math")}}},priceCurrency:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Currency","rank-math")}}},availability:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"select",label:Object(i.__)("Availability","rank-math"),help:Object(i.__)("Offer availability","rank-math"),classes:"col-4",options:{InStock:"In Stock",SoldOut:"Sold Out",PreOrder:"Preorder"},default:"InStock"}}},validFrom:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"datepicker",label:Object(i.__)("Price Valid From","rank-math"),help:Object(i.__)("The date after which the price will no longer be available","rank-math")}}},priceValidUntil:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"datepicker",label:Object(i.__)("Price Valid Until","rank-math"),help:Object(i.__)("The date after which the price will no longer be available","rank-math"),classes:"hide-group"}}},inventoryLevel:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Inventory Level","rank-math")}}}},review:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Review","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Review"}},datePublished:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"datetimepicker",label:Object(i.__)("Published Date","rank-math"),placeholder:"%date(Y-m-d\\TH:i:sP)%",classes:"hide-group"}}},dateModified:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"datetimepicker",label:Object(i.__)("Modified Date","rank-math"),placeholder:"%modified(Y-m-d\\TH:i:sP)%",classes:"hide-group"}}},author:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:["hide-group-header","hide-group"]},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Person"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Author Name","rank-math"),placeholder:"%name%"}}}},reviewRating:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Rating"}},ratingValue:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"number",label:Object(i.__)("Rating","rank-math"),help:Object(i.__)("Rating score","rank-math")}}},worstRating:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"number",label:Object(i.__)("Rating Minimum","rank-math"),help:Object(i.__)("Rating minimum score","rank-math"),placeholder:1}}},bestRating:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"number",label:Object(i.__)("Rating Maximum","rank-math"),help:Object(i.__)("Rating maximum score","rank-math"),placeholder:5}}}}},image:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:["hide-group-header","hide-group"]},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"ImageObject"}},url:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Image URL","rank-math"),placeholder:"%post_thumbnail%"}}}}},JobPosting:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,title:Object(i.__)("Job Posting","rank-math"),defaultEn:"Job Posting"},title:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Headline","rank-math"),placeholder:"%seo_title%"}}},description:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"textarea",label:Object(i.__)("Description","rank-math"),placeholder:"%seo_description%"}}},reviewLocationShortcode:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,save:"metadata",field:{type:"text",label:Object(i.__)("Shortcode","rank-math"),help:Object(i.__)("You can use the Schema Block in the block editor, or copy and paste this in the content. This shortcode will work on this page only.","rank-math"),disabled:"disabled"},value:"[rank_math_rich_snippet]"}},baseSalary:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"MonetaryAmount"}},currency:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Salary Currency","rank-math"),help:Object(i.__)("ISO 4217 Currency code. Example: EUR","rank-math"),classes:"col-4"}}},value:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Salary","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"QuantitativeValue"}},value:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Salary (Recommended)","rank-math"),help:Object(i.__)("Insert amount, e.g. 50.00, or a salary range, e.g. 40.00-50.00","rank-math"),classes:"col-4"}}},unitText:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"select",label:Object(i.__)("Payroll (Recommended)","rank-math"),help:Object(i.__)("Salary amount is for","rank-math"),options:{"":"None",YEAR:"Yearly",MONTH:"Monthly",WEEK:"Weekly",DAY:"Daily",HOUR:"Hourly"},classes:"col-4"}}}}},datePosted:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"datepicker",label:Object(i.__)("Date Posted","rank-math"),placeholder:"%date(Y-m-d)%",help:Object(i.__)("The original date on which employer posted the job. You can leave it empty to use the post publication date as job posted date","rank-math"),classes:"col-4"}}},validThrough:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"datepicker",label:Object(i.__)("Expiry Posted","rank-math"),help:Object(i.__)("The date when the job posting will expire. If a job posting never expires, or you do not know when the job will expire, do not include this property","rank-math"),classes:"col-4"}}},unpublish:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,save:"metadata",field:{type:"select",label:Object(i.__)("Unpublish when expired","rank-math"),options:{on:"Yes",off:"No"},help:Object(i.__)("If checked, post status will be changed to Draft and its URL will return a 404 error, as required by the Rich Result guidelines","rank-math"),classes:"col-4",default:"on"}}},employmentType:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"checkbox",multiple:!0,label:Object(i.__)("Employment Type (Recommended)","rank-math"),help:Object(i.__)("Type of employment. You can choose more than one value","rank-math"),options:{"":"None",FULL_TIME:"Full Time",PART_TIME:"Part Time",CONTRACTOR:"Contractor",TEMPORARY:"Temporary",INTERN:"Intern",VOLUNTEER:"Volunteer",PER_DIEM:"Per Diem",OTHER:"Other"},default:[]}}},hiringOrganization:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Organization"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Hiring Organization","rank-math"),placeholder:"%org_name%",help:Object(i.__)("The name of the company. Leave empty to use your own company information.","rank-math"),classes:"col-4"}}},sameAs:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Organization URL (Recommended)","rank-math"),placeholder:"%org_url%",help:Object(i.__)("The URL of the organization offering the job position. Leave empty to use your own company information","rank-math"),classes:"col-6"}}},logo:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Organization Logo (Recommended)","rank-math"),placeholder:"%org_logo%",help:Object(i.__)("Logo URL of the organization offering the job position. Leave empty to use your own company information","rank-math"),classes:"col-6"}}}},id:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Posting ID (Recommended)","rank-math"),help:Object(i.__)("The hiring organization's unique identifier for the job.","rank-math"),classes:"col-6"}}},jobLocation:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Place"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Venue Name","rank-math"),help:Object(i.__)("The venue name.","rank-math"),classes:"hide-group"}}},url:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Venue URL","rank-math"),help:Object(i.__)("Website URL of the venue","rank-math"),classes:"hide-group"}}},address:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Address","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"PostalAddress"}},streetAddress:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Street Address","rank-math")}}},addressLocality:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Locality","rank-math")}}},addressRegion:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Region","rank-math")}}},postalCode:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Postal Code","rank-math")}}},addressCountry:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Country","rank-math")}}}}},image:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:["hide-group-header","hide-group"]},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"ImageObject"}},url:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Image URL","rank-math"),placeholder:"%post_thumbnail%"}}}}},Music:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,title:Object(i.__)("Music","rank-math"),defaultEn:"Music"},name:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Headline","rank-math"),placeholder:"%seo_title%"}}},description:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"textarea",label:Object(i.__)("Description","rank-math"),placeholder:"%seo_description%"}}},reviewLocationShortcode:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,save:"metadata",field:{type:"text",label:Object(i.__)("Shortcode","rank-math"),help:Object(i.__)("You can use the Schema Block in the block editor, or copy and paste this in the content. This shortcode will work on this page only.","rank-math"),disabled:"disabled"},value:"[rank_math_rich_snippet]"}},url:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("URL","rank-math"),placeholder:"%url%"}}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"radio",label:Object(i.__)("Music Type","rank-math"),classes:"show-property",options:{MusicGroup:"MusicGroup",MusicAlbum:"MusicAlbum"},default:"MusicGroup"}}},image:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:["hide-group-header","hide-group"]},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"ImageObject"}},url:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Image URL","rank-math"),placeholder:"%post_thumbnail%"}}}}},Person:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,title:Object(i.__)("Person","rank-math"),defaultEn:"Person"},name:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Headline","rank-math"),placeholder:"%seo_title%"}}},description:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"textarea",label:Object(i.__)("Description","rank-math"),placeholder:"%seo_description%"}}},reviewLocationShortcode:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,save:"metadata",field:{type:"text",label:Object(i.__)("Shortcode","rank-math"),help:Object(i.__)("You can use the Schema Block in the block editor, or copy and paste this in the content. This shortcode will work on this page only.","rank-math"),disabled:"disabled"},value:"[rank_math_rich_snippet]"}},email:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Email","rank-math")}}},address:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Address","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"PostalAddress"}},streetAddress:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Street Address","rank-math")}}},addressLocality:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Locality","rank-math")}}},addressRegion:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Region","rank-math")}}},postalCode:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Postal Code","rank-math")}}},addressCountry:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Country","rank-math")}}}},gender:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Gender","rank-math"),classes:"col-6"}}},jobTitle:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Job title","rank-math"),help:Object(i.__)("The job title of the person (for example, Financial Manager).","rank-math"),classes:"col-6"}}}},Product:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,title:Object(i.__)("Product","rank-math"),defaultEn:"Product"},name:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Product name","rank-math"),placeholder:"%seo_title%"}}},reviewLocation:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,save:"metadata",field:{type:"select",label:Object(i.__)("Review Location","rank-math"),help:Object(i.__)("The review or rating must be displayed on the page to comply with Google's Schema guidelines.","rank-math"),options:{bottom:"Below Content",top:"Above Content",both:"Above and Below Content",custom:"Custom (use shortcode)"},default:"custom"}}},reviewLocationShortcode:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,save:"metadata",field:{type:"text",label:Object(i.__)("Shortcode","rank-math"),help:Object(i.__)("You can use the Schema Block in the block editor, or copy and paste this in the content. This shortcode will work on this page only.","rank-math"),disabled:"disabled"},value:"[rank_math_rich_snippet]",dependency:[{field:"reviewLocation",value:"custom"}]}},description:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"textarea",label:Object(i.__)("Description","rank-math"),placeholder:"%seo_description%"}}},sku:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Product SKU","rank-math")}}},brand:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Brand"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Brand Name","rank-math")}}}},image:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:["hide-group-header","hide-group"]},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"ImageObject"}},url:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Image URL","rank-math"),placeholder:"%post_thumbnail%"}}}},gtin8:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Gtin","rank-math"),classes:"hide-group"}}},mpn:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("MPN","rank-math"),classes:"hide-group"}}},isbn:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("ISBN","rank-math"),classes:"hide-group"}}},offers:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Offers","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Offer"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Name","rank-math"),classes:"hide-group"}}},category:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Category","rank-math"),classes:"hide-group"}}},url:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("URL","rank-math"),classes:"hide-group",placeholder:"%url%"}}},price:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Price","rank-math")}}},priceCurrency:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Currency","rank-math")}}},availability:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"select",label:Object(i.__)("Availability","rank-math"),help:Object(i.__)("Offer availability","rank-math"),classes:"col-4",options:{InStock:"In Stock",SoldOut:"Sold Out",PreOrder:"Preorder"},default:"InStock"}}},validFrom:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"datepicker",label:Object(i.__)("Price Valid From","rank-math"),help:Object(i.__)("The date after which the price will no longer be available","rank-math"),classes:"hide-group"}}},priceValidUntil:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"datepicker",label:Object(i.__)("Price Valid Until","rank-math"),help:Object(i.__)("The date after which the price will no longer be available","rank-math")}}},inventoryLevel:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Inventory Level","rank-math"),classes:"hide-group"}}}},review:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Review","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Review"}},datePublished:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"datetimepicker",label:Object(i.__)("Published Date","rank-math"),placeholder:"%date(Y-m-d\\TH:i:sP)%",classes:"hide-group"}}},dateModified:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"datetimepicker",label:Object(i.__)("Modified Date","rank-math"),placeholder:"%modified(Y-m-d\\TH:i:sP)%",classes:"hide-group"}}},author:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:["hide-group-header","hide-group"]},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Person"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Author Name","rank-math"),placeholder:"%name%"}}}},reviewRating:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Rating"}},ratingValue:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"number",label:Object(i.__)("Rating","rank-math"),help:Object(i.__)("Rating score","rank-math")}}},worstRating:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"number",label:Object(i.__)("Rating Minimum","rank-math"),help:Object(i.__)("Rating minimum score","rank-math"),placeholder:1}}},bestRating:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"number",label:Object(i.__)("Rating Maximum","rank-math"),help:Object(i.__)("Rating maximum score","rank-math"),placeholder:5}}}}}},Recipe:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,title:Object(i.__)("Recipe","rank-math"),defaultEn:"Recipe"},name:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Headline","rank-math"),placeholder:"%seo_title%"}}},reviewLocation:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,save:"metadata",field:{type:"select",label:Object(i.__)("Review Location","rank-math"),help:Object(i.__)("The review or rating must be displayed on the page to comply with Google's Schema guidelines.","rank-math"),options:{bottom:"Below Content",top:"Above Content",both:"Above and Below Content",custom:"Custom (use shortcode)"},default:"custom"}}},reviewLocationShortcode:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,save:"metadata",field:{type:"text",label:Object(i.__)("Shortcode","rank-math"),help:Object(i.__)("You can use the Schema Block in the block editor, or copy and paste this in the content. This shortcode will work on this page only.","rank-math"),disabled:"disabled"},value:"[rank_math_rich_snippet]",dependency:[{field:"reviewLocation",value:"custom"}]}},datePublished:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Published Date","rank-math"),classes:"hide-group",default:"%date(Y-m-d\\TH:i:sP)%"}}},author:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:["hide-group-header","hide-group"]},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Person"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Author Name","rank-math"),placeholder:"%name%"}}}},description:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"textarea",label:Object(i.__)("Description","rank-math"),placeholder:"%seo_description%"}}},prepTime:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Preparation Time","rank-math"),help:Object(i.__)("ISO 8601 duration format. Example: PT1H30M","rank-math"),classes:"col-4"}}},cookTime:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Cooking Time","rank-math"),help:Object(i.__)("ISO 8601 duration format. Example: PT1H30M","rank-math"),classes:"col-4"}}},totalTime:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Total Time","rank-math"),help:Object(i.__)("ISO 8601 duration format. Example: PT1H30M","rank-math"),classes:"col-4"}}},recipeCategory:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Type","rank-math"),help:Object(i.__)("Type of dish, for example appetizer, or dessert.","rank-math"),classes:"col-4"}}},recipeCuisine:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Cuisine","rank-math"),help:Object(i.__)("The cuisine of the recipe (for example, French or Ethiopian).","rank-math"),classes:"col-4"}}},keywords:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Keywords","rank-math"),help:Object(i.__)("Other terms for your recipe such as the season, the holiday, or other descriptors. Separate multiple entries with commas.","rank-math"),classes:"col-4"}}},recipeYield:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Recipe Yield","rank-math"),help:Object(i.__)("Quantity produced by the recipe, for example 4 servings","rank-math"),classes:"col-4"}}},nutrition:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"NutritionInformation"}},calories:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Calories","rank-math"),help:Object(i.__)("The number of calories in the recipe. Optional.","rank-math")}}}},recipeIngredient:{map:{isArray:!0,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"show-add-property show-delete-property",field:{label:Object(i.__)("Recipe Ingredients","rank-math"),help:Object(i.__)("Recipe ingredients, add one item per line","rank-math")}}},review:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Review","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Review"}},datePublished:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"datetimepicker",label:Object(i.__)("Published Date","rank-math"),placeholder:"%date(Y-m-d\\TH:i:sP)%",classes:"hide-group"}}},dateModified:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"datetimepicker",label:Object(i.__)("Modified Date","rank-math"),placeholder:"%modified(Y-m-d\\TH:i:sP)%",classes:"hide-group"}}},author:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:["hide-group-header","hide-group"]},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Person"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Author Name","rank-math"),placeholder:"%name%"}}}},reviewRating:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Rating"}},ratingValue:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"number",label:Object(i.__)("Rating","rank-math"),help:Object(i.__)("Rating score","rank-math")}}},worstRating:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"number",label:Object(i.__)("Rating Minimum","rank-math"),help:Object(i.__)("Rating minimum score","rank-math"),placeholder:1}}},bestRating:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"number",label:Object(i.__)("Rating Maximum","rank-math"),help:Object(i.__)("Rating maximum score","rank-math"),placeholder:5}}}}},video:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Video","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"VideoObject"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Name","rank-math"),help:Object(i.__)("A recipe video Name","rank-math"),classes:"col-6"}}},description:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"textarea",label:Object(i.__)("Description","rank-math"),help:Object(i.__)("A recipe video Description","rank-math")}}},embedUrl:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Video URL","rank-math"),help:Object(i.__)("A video URL. Optional.","rank-math"),classes:"col-6"}}},contentUrl:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Content URL","rank-math"),help:Object(i.__)("A URL pointing to the actual video media file","rank-math"),classes:"col-6"}}},thumbnailUrl:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Recipe Video Thumbnail","rank-math"),help:Object(i.__)("A recipe video thumbnail URL","rank-math"),classes:"col-6"}}},uploadDate:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"datepicker",label:Object(i.__)("Video Upload Date","rank-math"),classes:"col-6"}}}},instructionType:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"radio",label:Object(i.__)("Instruction Type","rank-math"),options:{SingleField:"Single Field",HowToStep:"How To Step"},default:"SingleField"}}},instructionsSingleField:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"textarea",label:Object(i.__)("Recipe Instructions","rank-math")},dependency:[{field:"instructionType",value:"SingleField"}]}},instructionsHowToStep:{map:{isArray:!0,isGroup:!0,isRequired:!1,isRecommended:!1,arrayMap:"instructions",arrayProps:{map:{classes:"show-delete-property-group"}},field:{label:Object(i.__)("Recipe Instructions","rank-math")},dependency:[{field:"instructionType",value:["HowToStep"]}]}},image:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:["hide-group-header","hide-group"]},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"ImageObject"}},url:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Image URL","rank-math"),placeholder:"%post_thumbnail%"}}}}},Restaurant:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,title:Object(i.__)("Restaurant","rank-math"),defaultEn:"Restaurant"},name:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Headline","rank-math"),placeholder:"%seo_title%"}}},description:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"textarea",label:Object(i.__)("Description","rank-math"),placeholder:"%seo_description%"}}},reviewLocationShortcode:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,save:"metadata",field:{type:"text",label:Object(i.__)("Shortcode","rank-math"),help:Object(i.__)("You can use the Schema Block in the block editor, or copy and paste this in the content. This shortcode will work on this page only.","rank-math"),disabled:"disabled"},value:"[rank_math_rich_snippet]"}},telephone:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Phone Number","rank-math")}}},priceRange:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Price Range","rank-math"),classes:"col-4"}}},address:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Address","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"PostalAddress"}},streetAddress:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Street Address","rank-math")}}},addressLocality:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Locality","rank-math")}}},addressRegion:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Region","rank-math")}}},postalCode:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Postal Code","rank-math")}}},addressCountry:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"text",label:Object(i.__)("Country","rank-math")}}}},geo:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Geo Cordinates","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"GeoCoordinates"}},latitude:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Latitude","rank-math")}}},longitude:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Longitude","rank-math")}}}},openingHoursSpecification:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Timings","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"OpeningHoursSpecification"}},dayOfWeek:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"checkbox",label:Object(i.__)("Open Days","rank-math"),options:{monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},default:[]}}},opens:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"timepicker",label:Object(i.__)("Opening Time","rank-math"),classes:"col-6",placeholder:"09:00 AM"}}},closes:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"timepicker",label:Object(i.__)("Closing Time","rank-math"),classes:"col-6",placeholder:"05:00 PM"}}}},servesCuisine:{map:{isArray:!0,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"show-add-property show-delete-property",field:{label:Object(i.__)("Serves Cuisine","rank-math")}}},hasMenu:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Menu URL","rank-math"),help:Object(i.__)("URL pointing to the menu of the restaurant.","rank-math"),classes:"col-6"}}},image:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:["hide-group-header","hide-group"]},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"ImageObject"}},url:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Image URL","rank-math"),placeholder:"%post_thumbnail%"}}}}},Service:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,title:Object(i.__)("Service","rank-math"),defaultEn:"Service"},name:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Headline","rank-math"),placeholder:"%seo_title%"}}},description:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"textarea",label:Object(i.__)("Description","rank-math"),placeholder:"%seo_description%"}}},reviewLocationShortcode:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,save:"metadata",field:{type:"text",label:Object(i.__)("Shortcode","rank-math"),help:Object(i.__)("You can use the Schema Block in the block editor, or copy and paste this in the content. This shortcode will work on this page only.","rank-math"),disabled:"disabled"},value:"[rank_math_rich_snippet]"}},serviceType:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Service Type","rank-math"),help:Object(i.__)("The type of service being offered, e.g. veterans' benefits, emergency relief, etc.","rank-math"),classes:"col-4"}}},offers:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Offers","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Offer"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Name","rank-math"),classes:"hide-group"}}},category:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Category","rank-math"),classes:"hide-group"}}},url:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("URL","rank-math"),classes:"hide-group"}}},price:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Price","rank-math")}}},priceCurrency:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Currency","rank-math")}}},availability:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"select",label:Object(i.__)("Availability","rank-math"),help:Object(i.__)("Offer availability","rank-math"),classes:["col-4","hide-group"],options:{InStock:"In Stock",SoldOut:"Sold Out",PreOrder:"Preorder"},default:"InStock"}}},validFrom:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"datepicker",label:Object(i.__)("Price Valid From","rank-math"),help:Object(i.__)("The date after which the price will no longer be available","rank-math"),classes:"hide-group"}}},priceValidUntil:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"datepicker",label:Object(i.__)("Price Valid Until","rank-math"),help:Object(i.__)("The date after which the price will no longer be available","rank-math"),classes:"hide-group"}}},inventoryLevel:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Inventory Level","rank-math"),classes:"hide-group"}}}},image:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:["hide-group-header","hide-group"]},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"ImageObject"}},url:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Image URL","rank-math"),placeholder:"%post_thumbnail%"}}}}},SoftwareApplication:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,title:Object(i.__)("Software","rank-math"),defaultEn:"Software"},name:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Headline","rank-math"),placeholder:"%seo_title%"}}},reviewLocation:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,save:"metadata",field:{type:"select",label:Object(i.__)("Review Location","rank-math"),help:Object(i.__)("The review or rating must be displayed on the page to comply with Google's Schema guidelines.","rank-math"),options:{bottom:"Below Content",top:"Above Content",both:"Above and Below Content",custom:"Custom (use shortcode)"},default:"custom"}}},reviewLocationShortcode:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,save:"metadata",field:{type:"text",label:Object(i.__)("Shortcode","rank-math"),help:Object(i.__)("You can use the Schema Block in the block editor, or copy and paste this in the content. This shortcode will work on this page only.","rank-math"),disabled:"disabled"},value:"[rank_math_rich_snippet]",dependency:[{field:"reviewLocation",value:"custom"}]}},description:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"textarea",label:Object(i.__)("Description","rank-math"),placeholder:"%seo_description%"}}},operatingSystem:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Operating System","rank-math"),help:Object(i.__)("For example, Windows 7, OSX 10.6, Android 1.6","rank-math"),classes:"col-6"}}},applicationCategory:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Application Category","rank-math"),help:Object(i.__)("For example, Game, Multimedia","rank-math"),classes:"col-6"}}},offers:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Offers","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Offer"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Name","rank-math"),classes:"hide-group"}}},category:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Category","rank-math"),classes:"hide-group"}}},url:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("URL","rank-math"),classes:"hide-group"}}},price:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Price","rank-math")}}},priceCurrency:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{label:Object(i.__)("Currency","rank-math")}}},availability:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"select",label:Object(i.__)("Availability","rank-math"),help:Object(i.__)("Offer availability","rank-math"),classes:["col-4","hide-group"],options:{InStock:"In Stock",SoldOut:"Sold Out",PreOrder:"Preorder"},default:"InStock"}}},validFrom:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"datepicker",label:Object(i.__)("Price Valid From","rank-math"),help:Object(i.__)("The date after which the price will no longer be available","rank-math"),classes:"hide-group"}}},priceValidUntil:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"datepicker",label:Object(i.__)("Price Valid Until","rank-math"),help:Object(i.__)("The date after which the price will no longer be available","rank-math"),classes:"hide-group"}}},inventoryLevel:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Inventory Level","rank-math"),classes:"hide-group"}}}},review:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Review","rank-math")}},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Review"}},datePublished:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"datetimepicker",label:Object(i.__)("Published Date","rank-math"),placeholder:"%date(Y-m-d\\TH:i:sP)%",classes:"hide-group"}}},dateModified:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"datetimepicker",label:Object(i.__)("Modified Date","rank-math"),placeholder:"%modified(Y-m-d\\TH:i:sP)%",classes:"hide-group"}}},author:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:["hide-group-header","hide-group"]},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Person"}},name:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Author Name","rank-math"),placeholder:"%name%"}}}},reviewRating:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:"hide-group-header"},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"Rating"}},ratingValue:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"number",label:Object(i.__)("Rating","rank-math"),help:Object(i.__)("Rating score","rank-math")}}},worstRating:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"number",label:Object(i.__)("Rating Minimum","rank-math"),help:Object(i.__)("Rating minimum score","rank-math"),placeholder:1}}},bestRating:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{type:"number",label:Object(i.__)("Rating Maximum","rank-math"),help:Object(i.__)("Rating maximum score","rank-math"),placeholder:5}}}}},image:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,classes:["hide-group-header","hide-group"]},"@type":{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,value:"ImageObject"}},url:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Image URL","rank-math"),placeholder:"%post_thumbnail%"}}}}},VideoObject:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,title:Object(i.__)("Video","rank-math"),defaultEn:"Video"},name:{map:{isArray:!1,isGroup:!1,isRequired:!0,isRecommended:!1,field:{label:Object(i.__)("Headline","rank-math"),placeholder:"%seo_title%"}}},description:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!0,field:{type:"textarea",label:Object(i.__)("Description","rank-math"),placeholder:"%seo_description%"}}},reviewLocationShortcode:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,save:"metadata",field:{type:"text",label:Object(i.__)("Shortcode","rank-math"),help:Object(i.__)("You can use the Schema Block in the block editor, or copy and paste this in the content. This shortcode will work on this page only.","rank-math"),disabled:"disabled"},value:"[rank_math_rich_snippet]"}},uploadDate:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Upload Date","rank-math"),classes:"hide-group",placeholder:"%date(Y-m-d\\TH:i:sP)%"}}},contentUrl:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Content URL","rank-math"),help:Object(i.__)("A URL pointing to the actual video media file","rank-math"),classes:"col-6"}}},embedUrl:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Embed URL","rank-math"),help:Object(i.__)("A URL pointing to the embeddable player for the video","rank-math"),classes:"col-6"}}},duration:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Duration","rank-math"),help:Object(i.__)("ISO 8601 duration format. Example: 1H30M","rank-math"),classes:"col-6"}}},thumbnailUrl:{map:{isArray:!1,isGroup:!1,isRequired:!1,isRecommended:!1,field:{label:Object(i.__)("Video Thumbnail","rank-math"),help:Object(i.__)("A video thumbnail URL","rank-math"),classes:"hide-group",placeholder:"%post_thumbnail%"}}}},WooCommerceProduct:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,title:Object(i.__)("WooCommerce Product","rank-math"),defaultEn:"WooCommerce Product"}},EDDProduct:{map:{isArray:!1,isGroup:!0,isRequired:!1,isRecommended:!1,title:Object(i.__)("EDD Product","rank-math"),defaultEn:"EDD Product"}}}},l={set:function(e,t,r){return!!e&&(localStorage.setItem(e,JSON.stringify({value:t,expires:this.expiry(r)})),!0)},get:function(e){if(!e)return!1;var t=localStorage.getItem(e);return!!t&&((t=JSON.parse(t)).expires&&Date.now()>t.expires?(localStorage.removeItem(e),!1):t.value)},remove:function(e){return!!e&&(localStorage.removeItem(e),!0)},expiry:function(e){if(!e)return!1;if(-1===e){var t=new Date;return t.setYear(1970),t.getTime()}var r=parseInt(e),a=e.replace(r,"");return"d"===a&&(r=24*r*60*60*1e3),"h"===a&&(r=60*r*60*1e3),"m"===a&&(r=60*r*1e3),"s"===a&&(r*=1e3),Date.now()+r}};function m(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}var d="rank_math_schema_templates_store",p=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.cahce=null,this.templates=null,this.verion="1.1.0","product"!==rankMath.postType&&delete c.schemas.WooCommerceProduct,"download"!==rankMath.postType&&delete c.schemas.EDDProduct,this.cache=Object(s.applyFilters)("rank_math_schema_maps",c),Object(s.doAction)("rank_math_schema_template_loaded")}var t,r,n;return t=e,(r=[{key:"verifyCache",value:function(){var e=l.get(d);return!1!==e&&this.version===e.version&&(this.cache=e,Object(s.doAction)("rank_math_schema_template_loaded"),!0)}},{key:"fetchStore",value:function(){var e=this;o()({method:"GET",url:"//"+window.location.host+"/wp-json/rankmath/v1/getSchemas"}).then((function(t){l.set(d,t,"30d"),e.cache=t,Object(s.doAction)("rank_math_schema_template_loaded")}))}},{key:"getMap",value:function(e){var t=Object(a.get)(this.cache.properties,e,!1);return t||Object(a.get)(this.cache.schemas,e,!1)}},{key:"getTemplates",value:function(){var e=this;return null===this.templates&&(this.templates=[],Object(a.forEach)(this.cache.schemas,(function(t,r){var n=Object(a.get)(t,"map.title",r);e.templates.push({type:r,title:"WooCommerceProduct"!==r?n:Object(i.__)("WooCommerce Product","rank-math")})})),this.templates=Object(a.orderBy)(this.templates,"type")),this.templates}}])&&m(t.prototype,r),n&&m(t,n),e}());function u(e){return p.getMap(e)}},function(e,t,r){"use strict";var a=r(13),i=r.n(a),n=r(9),o=r.n(n),s=r(8),c=r.n(s),l=r(1),m=r(10),d=r(0),p=r(7),u=r(6),h=r(2),b=r(5),f=r(3),y=r(4),_=function(e){var t=e.position,r=void 0===t?"middle right":t,a=e.value,i=e.onChange,n=e.children;return wp.element.createElement(h.Dropdown,{position:r,className:"rank-math-datepicker",contentClassName:"rank-math-datepicker__dialog",renderToggle:function(e){var t=e.onToggle,r=e.isOpen;return wp.element.createElement(u.Fragment,null,n,wp.element.createElement(h.Button,{icon:"calendar-alt",onClick:t,"aria-expanded":r}))},renderContent:function(){return wp.element.createElement(h.DatePicker,{currentDate:a.split("T")[0],onChange:function(e){i(e.split("T")[0])}})}})},R=function(e){var t=e.position,r=void 0===t?"middle right":t,a=e.value,i=e.onChange,n=e.children;return wp.element.createElement(h.Dropdown,{position:r,className:"rank-math-datepicker",contentClassName:"rank-math-datepicker__dialog",renderToggle:function(e){var t=e.onToggle,r=e.isOpen;return wp.element.createElement(u.Fragment,null,n,wp.element.createElement(h.Button,{icon:"calendar-alt",onClick:t,"aria-expanded":r}))},renderContent:function(){return wp.element.createElement(h.DateTimePicker,{is12Hour:!0,currentDate:a,onChange:i})}})};function O(e){return Object(l.map)(e,(function(e,t){return{label:e,value:t}}))}function k(e){return function(e){if(Array.isArray(e))return g(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return g(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return g(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 g(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}function v(){return(v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(this,arguments)}function j(e,t){if(null==e)return{};var r,a,i=function(e,t){if(null==e)return{};var r,a,i={},n=Object.keys(e);for(a=0;a<n.length;a++)r=n[a],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)r=n[a],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var w=function(e){var t=e.value,r=e.onChange,a=e.type,i=e.options,n=void 0===i?{}:i,o=j(e,["value","onChange","type","options"]);return Object(l.isUndefined)(o.help)||(o.help=Object(u.RawHTML)({children:o.help})),"radio"===a?wp.element.createElement(h.RadioControl,v({selected:t,options:O(n),onChange:r},o)):"select"===a?(!Object(l.has)(o,"multiple")&&Object(l.isArray)(t)&&(t=t[0]),wp.element.createElement(h.SelectControl,v({value:t,options:O(n),onChange:r},o))):"toggle"===a?wp.element.createElement(h.ToggleControl,v({checked:t,onChange:r},o)):"number"===a?wp.element.createElement(h.TextControl,v({type:"number",autoComplete:"off",value:t,onChange:r},o)):"url"===a?wp.element.createElement(h.TextControl,v({type:"url",autoComplete:"off",value:t,onChange:r},o)):"datepicker"===a?wp.element.createElement(_,{value:t,position:"middle left",onChange:r},wp.element.createElement(h.TextControl,v({value:t,onChange:r},o))):"datetimepicker"===a?wp.element.createElement(R,{value:t,position:"middle left",onChange:r},wp.element.createElement(h.TextControl,v({value:t,onChange:r},o))):"textarea"===a?wp.element.createElement(h.TextareaControl,v({rows:5,value:t,onChange:r},o)):"checkbox"===a?wp.element.createElement("div",{className:"rank-math-checkbox-component components-base-control schema-property--value"},wp.element.createElement("label",{htmlFor:"checklist-label",className:"components-base-control__label"},o.label),wp.element.createElement("div",null,O(n).map((function(e){return wp.element.createElement(h.CheckboxControl,{key:Object(l.uniqueId)("checkbox-"),label:e.label,checked:Object(l.includes)(t,e.value),onChange:function(a){var i=k(t);a?i.push(e.value):Object(l.remove)(i,(function(t){return t===e.value})),r(i)}})})))):wp.element.createElement(h.TextControl,v({value:t,onChange:r},o))};w.defaultProps={value:"",type:"text",onChange:null},w.propTypes={id:i.a.string,onChange:i.a.func.isRequired};var A=w,G=r(11);function q(){return(q=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(this,arguments)}function E(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function S(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?E(Object(r),!0).forEach((function(t){P(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function P(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var T=Object(p.compose)(Object(b.withSelect)((function(e,t){return S(S({},t),{},{isPro:e("rank-math").isPro()})})))((function(e){if(!1===Object(y.n)(e.data,e.schema))return e.data.map.isHidden=!0,null;var t=e.data,r=t.property,a=t.id,i=t.map,n=e.actions,s=n.removeProperty,c=n.propertyChange,m=n.duplicateProperty,d=Object(l.get)(i,"field",{label:!1}),p=S({},d),b=function(e,t){var r=e.data,a=r.property,i=r.value,n=e.schema.metadata;return i===Object(l.get)(t,"placeholder","")&&(i=""),"reviewLocation"===a&&Object(l.has)(n,"reviewLocation")&&(i=n.reviewLocation),"unpublish"===a&&Object(l.has)(n,"unpublish")&&(i=n.unpublish),e.isPro&&"[rank_math_rich_snippet]"===i&&(i='[rank_math_rich_snippet id="'+n.shortcode+'"]'),Object(f.applyFilters)("rank_math_schema_property_value",i,e)}(e,d);i.isRequired&&(d.label&&(p.label=wp.element.createElement(u.Fragment,null,d.label," ",wp.element.createElement("span",null,"*"))),d.placeholder||(p.required="required")),e.isCustom&&(p.type="text",delete p.label);var _=o()("schema-group-or-property-container schema-property-container",Object(l.get)(d,"classes",!1),{"hide-property":"@type"===r});return e.data.map.isHidden=!1,wp.element.createElement("div",{className:_},wp.element.createElement("div",{className:"schema-group-or-property schema-property"},wp.element.createElement("div",{className:"schema-property--body"},!e.isCustom&&d.label?null:wp.element.createElement("div",{className:"schema-property--field"},wp.element.createElement(h.TextControl,{value:r,onChange:function(e){c(a,"property",e)}})),wp.element.createElement("div",{className:"schema-property--value"},wp.element.createElement(A,q({value:b},p,{onChange:function(e){c(a,"value",e)}})),Object(l.has)(p,"notice")&&wp.element.createElement(h.Notice,q({isDismissible:!1},p.notice),p.notice.content)),!i.isRequired&&wp.element.createElement("div",{className:"schema-property--header"},wp.element.createElement(h.Button,{isSecondary:!0,className:"button rank-math-duplicate-property",onClick:function(){return m(a,e.parentId,e.data)}},wp.element.createElement("i",{className:"rm-icon rm-icon-copy"})),wp.element.createElement(G.a,{key:a,onClick:function(){return s(a,e.parentId)}},(function(e){return wp.element.createElement(h.Button,{isSecondary:!0,className:"button rank-math-delete-group",onClick:function(){return e(!0)}},wp.element.createElement("i",{className:"rm-icon rm-icon-trash"}))}))))))})),C={},I=function e(t){if(!1===Object(y.n)(t.data,t.schema))return t.data.map.isHidden=!0,null;var r=t.parentId,a=t.isCustom,i=t.isPro,n=t.isMain,s=void 0!==n&&n,c=t.data,m=c.id,p=c.property,u=c.properties,b=c.map,_=t.actions,R=_.addProperty,O=_.addGroup,k=_.removeGroup,g=_.propertyChange,v=_.duplicateGroup,j=Object(l.get)(b,"field",{label:!1}),w=o()("schema-group-or-property-container schema-group-container",Object(l.get)(b,"classes",!1),{"hide-property":"metadata"===p,"is-group":b.isGroup,"is-array":b.isArray,"no-array-map":Object(l.isUndefined)(b.arrayMap)});return b.isArray&&(C[m]=0),t.data.map.isHidden=!1,wp.element.createElement("div",{className:w},wp.element.createElement("div",{className:"schema-group-or-property schema-group"},Object(f.applyFilters)("rank_math_schema_before_fields","",p),wp.element.createElement("div",{className:"schema-group-header"},function(){if(t.isArray)return C[r]+=1,wp.element.createElement("div",{className:"schema-property--label"},Object(l.startCase)(p)," ",C[r]);if(!a&&j.label)return wp.element.createElement("div",{className:"schema-property--label"},j.label);var e="WooCommerceProduct"!==p?p:"WooCommerce Product";return wp.element.createElement("div",{className:"schema-property--field"},wp.element.createElement(h.TextControl,{value:e,disabled:!i,onChange:function(e){g(m,"property",e)}}))}(),wp.element.createElement(h.ButtonGroup,{className:"schema-group--actions schema-group--actions--tr"},wp.element.createElement(h.Button,{className:"button rank-math-add-property",isLink:!0,onClick:function(){return R(m)}},wp.element.createElement("i",{className:"rm-icon rm-icon-circle-plus"}),wp.element.createElement("span",null,Object(d.__)("Add Property","rank-math"))),wp.element.createElement(h.Button,{className:"button rank-math-add-property-group",isLink:!0,onClick:function(){return O(m,b)}},wp.element.createElement("i",{className:"rm-icon rm-icon-circle-plus"}),wp.element.createElement("span",null,Object(d.__)("Add Property Group","rank-math"))),!s&&wp.element.createElement(h.Button,{className:"button rank-math-duplicate-property-group",isLink:!0,onClick:function(){return v(m,t.parentId,t.data)}},wp.element.createElement("i",{className:"rm-icon rm-icon-circle-plus"}),wp.element.createElement("span",null,Object(d.__)("Duplicate Group","rank-math"))),wp.element.createElement(G.a,{key:m,onClick:function(){return k(m,t.parentId)}},(function(e){return wp.element.createElement(h.Button,{className:"button rank-math-delete-group",isLink:!0,onClick:function(){return e(!0)}},wp.element.createElement("i",{className:"rm-icon rm-icon-trash"}),wp.element.createElement("span",null,Object(d.__)("Delete","rank-math")))})))),wp.element.createElement("div",{className:"schema-group--children"},Object(l.map)(u,(function(r,n){return r.map.isGroup?wp.element.createElement(e,{key:n,data:r,parentId:m,isArray:b.isArray,isCustom:a,schema:t.schema,actions:t.actions,isPro:i}):wp.element.createElement(T,{key:n,data:r,parentId:m,isCustom:a,schema:t.schema,actions:t.actions})}))),s&&wp.element.createElement("div",{className:"schema-group-footer"},wp.element.createElement(h.ButtonGroup,{className:"schema-group--actions schema-group--actions--tr"},wp.element.createElement(h.Button,{className:"button rank-math-add-property",isLink:!0,onClick:function(){return R(m)}},wp.element.createElement("i",{className:"rm-icon rm-icon-circle-plus"}),wp.element.createElement("span",null,Object(d.__)("Add Property","rank-math"))),wp.element.createElement(h.Button,{className:"button rank-math-add-property-group",isLink:!0,onClick:function(){return O(m,b)}},wp.element.createElement("i",{className:"rm-icon rm-icon-circle-plus"}),wp.element.createElement("span",null,Object(d.__)("Add Property Group","rank-math"))),wp.element.createElement(G.a,{key:m,onClick:function(){return k(m,t.parentId)}},(function(e){return wp.element.createElement(h.Button,{className:"button rank-math-delete-group",isLink:!0,onClick:function(){return e(!0)}},wp.element.createElement("i",{className:"rm-icon rm-icon-trash"}),wp.element.createElement("span",null,Object(d.__)("Delete","rank-math")))}))))))};function D(e){return(D="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})(e)}function N(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function M(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?N(Object(r),!0).forEach((function(t){x(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):N(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function x(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function L(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function U(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function H(e,t){return(H=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function F(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=Y(e);if(t){var i=Y(this).constructor;r=Reflect.construct(a,arguments,i)}else r=a.apply(this,arguments);return B(this,r)}}function B(e,t){return!t||"object"!==D(t)&&"function"!=typeof t?V(e):t}function V(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y(e){return(Y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var z=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&H(e,t)}(n,e);var t,r,a,i=F(n);function n(){var e;return L(this,n),(e=i.apply(this,arguments)).addGroup=function(t,r){var a=M({},e.state.data),i=Object(y.b)(t,a),n=r.isArray,o=r.arrayMap,s=void 0!==o&&o,c=r.arrayProps,l=void 0===c?{}:c,m=n&&s?Object(y.d)(s,l):Object(y.g)();i.properties.push(m),e.setState({data:a})},e.addProperty=function(t){var r=M({},e.state.data);Object(y.b)(t,r).properties.push(Object(y.i)()),e.setState({data:r})},e.duplicateGroup=function(t,r,a){var i=M({},e.state.data),n=Object(y.b)(r,i),o=Object(l.cloneDeep)(a),s=n.properties.findIndex((function(e){return e.id===t}));n.properties.splice(s,0,Object(y.a)(o)),e.setState({data:i})},e.duplicateProperty=function(t,r,a){var i=M({},e.state.data),n=Object(y.b)(r,i),o=M({},a),s=n.properties.findIndex((function(e){return e.id===t}));o.id="p-".concat(Object(m.v4)()),n.properties.splice(s,0,o),e.setState({data:i})},e.removeGroup=function(t,r){var a=M({},e.state.data),i=Object(y.b)(r,a);if(i.id!==t){var n=i.properties.findIndex((function(e){return e.id===t}));i.properties.splice(n,1),e.setState({data:a})}else e.setState({data:Object(y.g)()})},e.removeProperty=function(t,r){var a=M({},e.state.data),i=Object(y.b)(r,a),n=i.properties.findIndex((function(e){return e.id===t}));i.properties.splice(n,1),e.setState({data:a})},e.propertyChange=function(t,r,a){var i=M({},e.state.data),n=Object(y.b)(t,i);Object.assign(n,x({},r,a)),!Object(l.isEmpty)(i.metadata)&&Object(l.has)(i.metadata,n.property)&&(i.metadata[n.property]=a),e.setState({data:i})},e.options=Object(l.get)(e.props.data,"metadata",{}),e.state={data:e.props.data,loading:!1,showNotice:!1,postId:rankMath.objectID},e.setState=e.setState.bind(V(e)),e.templateSaveCount=0,e.isEditingTemplate=Object(l.get)(rankMath,"isTemplateScreen",!1),e}return t=n,(r=[{key:"getWrapperClasses",value:function(){var e=Object(l.get)(rankMath,"knowledgegraphType",!1);e=!1===e?"empty":"local-"+e;var t=Object(l.get)(this.props.data,"property","");return Object(l.isArray)(t)&&(t=t.join("-")),t="schema-"+t.toLowerCase(),o()("schema-builder",t,x({"schema-template-pre-defined":"template"===this.options.type,"schema-template-custom":"custom"===this.options.type},"".concat(e),"template"===this.options.type))}},{key:"render",value:function(){var e=this;return wp.element.createElement("form",{className:this.getWrapperClasses()},wp.element.createElement(I,{data:this.state.data,schema:this.state.data,isPro:this.props.isPro,parentId:null,isMain:!0,isArray:!1,isCustom:"custom"===this.options.type,actions:{addGroup:this.addGroup,addProperty:this.addProperty,removeGroup:this.removeGroup,removeProperty:this.removeProperty,propertyChange:this.propertyChange,duplicateGroup:this.duplicateGroup,duplicateProperty:this.duplicateProperty}}),wp.element.createElement("div",{className:"schema-builder-save-as"},this.props.isPro&&wp.element.createElement(u.Fragment,null,"custom"!==this.options.type&&wp.element.createElement(h.Button,{isSecondary:!0,onClick:function(){return e.props.toggleMode(e.props.id,e.state.data)}},Object(d.__)("Advanced Editor","rank-math")),!this.isEditingTemplate&&wp.element.createElement(h.Button,{isSecondary:!0,className:this.state.loading?"save-as-template saving":"save-as-template",onClick:function(){e.templateSaveCount>=1&&!confirm(Object(d.__)("Each save will create a new template.","rank-math"))||(e.templateSaveCount+=1,e.props.saveTemplate(e.state.data,e.setState))}},this.state.showNotice?Object(d.__)("Template saved.","rank-math"):Object(d.__)("Save as Template","rank-math")),this.state.showNotice&&wp.element.createElement("div",{className:"rank-math-save-template-confirmation"},Object(d.__)("Template saved.","rank-math"))),this.isEditingTemplate&&wp.element.createElement(h.Button,{isPrimary:!0,className:"button",onClick:function(){return e.props.saveTemplate(e.state.data,e.setState,e.state.postId)}},this.state.loading?Object(d.__)("Saving","rank-math"):this.state.showNotice?Object(d.__)("Saved","rank-math"):Object(d.__)("Save","rank-math")),!this.isEditingTemplate&&wp.element.createElement(h.Button,{isPrimary:!0,className:"button",onClick:function(){return e.props.saveSchema(e.props.id,e.state.data)}},"term"===rankMath.objectType?Object(d.__)("Save for this Term","rank-math"):Object(d.__)("Save for this Post","rank-math"))))}}])&&U(t.prototype,r),a&&U(t,a),n}(u.Component);z.defaultProps={query:null,fields:[],onQueryChange:null},z.propTypes={query:i.a.object,fields:i.a.array.isRequired,onQueryChange:i.a.func};t.a=Object(p.compose)(Object(b.withSelect)((function(e,t){var r=e("rank-math").getEditingSchema(),a=e("rank-math").getEditSchemas();return M(M(M({},t),r),{},{schemas:a,isPro:e("rank-math").isPro()})})),Object(b.withDispatch)((function(e,t){var r=t.onSave,a=void 0!==r&&r,i=t.isPro,n=t.schemas;return{toggleMode:function(t,r){if(confirm(Object(d.__)("Are you sure you want to convert? You can't use simple mode for this edited Schema.","rank-math"))){var a=M({},r);a.metadata.type="custom",e("rank-math").updateEditSchema(t,a)}},saveSchema:function(t,r){var o=c()("form.schema-builder").get(0);if(o.checkValidity()){i||Object(l.forEach)(n,(function(r,a){t!==a&&e("rank-math").deleteSchema(a)}));var s=Object(y.m)(r);e("rank-math").updateEditSchema(t,r),e("rank-math").saveSchema(t,s),a&&a(t,s),e("rank-math").schemaUpdated(!0),e("rank-math").toggleSchemaTemplates(!1),e("rank-math").toggleSchemaEditor(!1)}else o.reportValidity()},saveTemplate:function(t,r,a){e("rank-math").saveTemplate(Object(y.m)(t),r,a)}}})))(z)},function(e,t){var r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(r){var a=new Uint8Array(16);e.exports=function(){return r(a),a}}else{var i=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),i[t]=e>>>((3&t)<<3)&255;return i}}},function(e,t){for(var r=[],a=0;a<256;++a)r[a]=(a+256).toString(16).substr(1);e.exports=function(e,t){var a=t||0,i=r;return[i[e[a++]],i[e[a++]],i[e[a++]],i[e[a++]],"-",i[e[a++]],i[e[a++]],"-",i[e[a++]],i[e[a++]],"-",i[e[a++]],i[e[a++]],"-",i[e[a++]],i[e[a++]],i[e[a++]],i[e[a++]],i[e[a++]],i[e[a++]]].join("")}},function(e,t,r){"use strict";var a=r(8),i=r.n(a),n=r(1),o=r(5),s=r(3),c=r(4);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){d(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(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 u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}var h=function(e){return Object(n.isObject)(e)?e:[e]};t.a=function(){i()(document).ready((function(e){new ClipboardJS(".structured-data-copy").on("success",(function(t){var r=e(t.trigger);r.addClass("copied"),setTimeout((function(){r.removeClass("copied")}),2e3)}))})),Object(s.addAction)("rank_math_loaded","rank-math",(function(){var e={},t=Object(n.get)(rankMath,"schemas",{});Object(n.map)(t,(function(t,r){var a=Object(n.get)(t,"@type");t=Object(s.applyFilters)("rank_math_pre_schema_"+a,t),e[r]=Object(c.e)(Object(s.applyFilters)("rank_math_pre_schema",t))})),Object(o.dispatch)("rank-math").updateEditSchemas(e)})),Object(s.addFilter)("rank_math_schema_type","rank-math",(function(e){return Object(n.isUndefined)(e)?e:"NewsArticle"===e||"BlogPosting"===e?"Article":"MusicGroup"===e||"MusicAlbum"===e?"Music":e.includes("Event")||"Festival"===e?"Event":e})),Object(s.addFilter)("rank_math_schema_convert_author","rank-math",(function(e,t,r){return Object(n.isObject)(r)||Object(n.isUndefined)(t.properties)?e:(t.properties[1].value=r,t)})),Object(s.addFilter)("rank_math_schema_convert_value","rank-math",(function(e,t,r,a){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(!t.map.isArray)return e;var o=t.map,s=o.arrayMap,l=void 0!==s&&s,m=o.arrayProps,d=void 0===m?{}:m;return l?(Object(n.forEach)(a,(function(e){t.properties.push(Object(c.f)(e,l,d))})),t):(a=h(a),Object(n.forEach)(a,(function(e,r){var a=Object(n.get)(e,"@type",!1);if(!1===a){var o=Object(c.i)();o.property=r,o.value=e,t.properties.push(o)}else t.properties.push(Object(c.f)(e,a,d,i))})),t)})),Object(s.addFilter)("rank_math_schema_convert_value","rank-math",(function(e,t,r,a){return t.map.isArray||!t.map.isGroup?e:Object(c.j)(t,a)}),20),Object(s.addFilter)("rank_math_pre_schema_Product","rank-math",(function(e){return Object(n.has)(e,"brand")&&!Object(n.isObject)(e.brand)&&(e.brand={"@type":"Brand",name:e.brand}),e})),Object(s.addFilter)("rank_math_processed_schema_Recipe","rank-math",(function(e){var t=e.instructionType;return delete e.instructionType,"SingleField"===t&&(e.recipeInstructions=e.instructionsSingleField,delete e.instructionsSingleField),"HowToStep"===t&&(1===e.instructionsHowToStep.length&&(e.recipeInstructions={"@type":"HowToSection",name:e.instructionsHowToStep[0].name,itemListElement:e.instructionsHowToStep[0].itemListElement}),e.instructionsHowToStep.length>1&&(e.recipeInstructions=p(e.instructionsHowToStep)),delete e.instructionsHowToStep),e}),20),Object(s.addFilter)("rank_math_pre_schema_Recipe","rank-math",(function(e){var t=e.recipeInstructions;if(Object(n.isString)(t)&&(e.instructionType="SingleField",e.instructionsSingleField=t,delete e.recipeInstructions),Object(n.forEach)(["cookTime","prepTime","totalTime"],(function(t){Object(n.isUndefined)(e[t])||"PT"!==e[t]||delete e[t]})),Object(n.isArray)(t)&&(e.instructionType="HowToStep",Object(n.forEach)(t,(function(e,r){Object(n.isUndefined)(e.type)||(e["@type"]=e.type,delete e.type),Object(n.isUndefined)(e.itemListElement)||(Object(n.isUndefined)(e.itemListElement.type)||(e.itemListElement["@type"]=e.itemListElement.type,delete e.itemListElement.type),Object(n.isArray)(e.itemListElement)||(e.itemListElement=[e.itemListElement])),t[r]=e})),e.instructionsHowToStep=t,delete e.recipeInstructions),!Object(n.isArray)(t)&&Object(n.isObject)(t)){var r=m(m({},t),{},{"@type":"HowToSection"});e.instructionType="HowToStep",e.instructionsHowToStep=[],e.instructionsHowToStep.push(r),delete e.recipeInstructions}return e})),Object(s.addFilter)("rank_math_processed_schema","rank-math",(function(e){var t=e.eventAttendanceMode;return Object(n.isUndefined)(t)||("MixedEventAttendanceMode"===t&&(e.location=[e.VirtualLocation,e.location],delete e.VirtualLocation),"OnlineEventAttendanceMode"===t&&(e.location=e.VirtualLocation,delete e.VirtualLocation)),e}),20),Object(s.addFilter)("rank_math_pre_schema","rank-math",(function(e){var t=e.eventAttendanceMode;return Object(n.isUndefined)(t)||("MixedEventAttendanceMode"===t&&(e.VirtualLocation=Object(n.find)(e.location,["@type","VirtualLocation"]),e.location=Object(n.find)(e.location,["@type","Place"])),"OnlineEventAttendanceMode"===t&&(e.VirtualLocation=e.location,delete e.location)),e}))}},function(e,t,r){"use strict";var a=r(0),i=r(6),n=r(4),o={"@context":"https://schema.org/","@graph":[{"@type":"Article",headline:"Power Words: The Art of Writing Headlines That Get Clicked",description:"Power words are words with strong meaning that smart copywriters (as well as marketers) use to increase CTR and boost conversions.",author:{"@type":"Person",name:"Rank Math"},datePublished:"2020-09-12GMT+000015:45:32+00:00",dateModified:"2020-09-12GMT+000015:45:29+00:00","@id":"https://rankmath.com/blog/power-words/#schema-44838",mainEntityOfPage:{"@id":"https://rankmath.com/blog/power-words/#webpage"},isPartOf:{"@id":"https://rankmath.com/blog/power-words/#webpage"},publisher:{"@id":"/#organization"},inLanguage:"en-US"}]};t.a=function(){var e=JSON.stringify(o,null,2);return wp.element.createElement(i.Fragment,null,wp.element.createElement("div",{className:"rank-math-pretty-json free-version"},wp.element.createElement("form",{method:"post",target:"_blank",action:"https://search.google.com/test/rich-results"},wp.element.createElement("h4",{className:"rank-math-schema-section-title"},Object(a.__)("JSON-LD Code","rank-math")),wp.element.createElement("button",{className:"button structured-data-copy is-small",type:"button","data-clipboard-text":e},wp.element.createElement("i",{className:"rm-icon rm-icon-copy"}),wp.element.createElement("span",{className:"original-text"},Object(a.__)("Copy","rank-math")),wp.element.createElement("span",{className:"success","aria-hidden":"true"},Object(a.__)("Copied!","rank-math"))),wp.element.createElement("button",{className:"button structured-data-test is-small",type:"submit"},wp.element.createElement("i",{className:"rm-icon rm-icon-google"})," ",wp.element.createElement("span",null,Object(a.__)("Test with Google","rank-math"))),wp.element.createElement("textarea",{name:"code_snippet",defaultValue:e})),wp.element.createElement("pre",{className:"code-output"},wp.element.createElement("code",{className:"language-javascript",dangerouslySetInnerHTML:{__html:Object(n.l)(e)}})),wp.element.createElement("div",{id:"rank-math-pro-cta",className:"center"},wp.element.createElement("div",{className:"rank-math-cta-box blue-ticks width-70"},wp.element.createElement("h3",null,Object(a.__)("Preview & Validate Your Schema Markup","rank-math")),wp.element.createElement("ul",null,wp.element.createElement("li",null,Object(a.__)("Rank Math PRO is coming this fall","rank-math")),wp.element.createElement("li",null,Object(a.__)("Advanced Schema code viewer","rank-math")),wp.element.createElement("li",null,Object(a.__)("Live testing with Google","rank-math"))),wp.element.createElement("a",{className:"button button-primary is-green",href:"https://rankmath.com/pricing/?utm_source=Plugin&utm_medium=Code+Validation&utm_campaign=WP",rel:"noreferrer noopener",target:"_blank"},Object(a.__)("Upgrade","rank-math"))))))}},function(e,t,r){"use strict";var a=r(0),i=r(3),n=r(2),o=r(6),s=r(12),c=r(7),l=r(5),m=r(4),d=r(10),p=r(9),u=r.n(p),h=r(1),b=r(15);function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){_(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function _(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var R=Object(c.compose)(Object(l.withSelect)((function(e,t){var r=e("rank-math").isPro(),a=e("rank-math").getSchemas(),i=Object(h.findKey)(a,"metadata.isPrimary");return i=Object(h.isEmpty)(i)?{}:{id:i,type:a[i]["@type"]},y(y({},t),{},{primarySchema:i,isPro:r})})),Object(l.withDispatch)((function(e,t){var r=t.isPro,a=t.primarySchema,i=void 0!==a&&a,n=!(!r||!Object(h.isEmpty)(i));return r||(n=!0),{addSchema:function(t){var r=Object(h.uniqueId)("new-"),a=Object(h.get)(t,"schema",!1);!1===a&&(a={"@type":t.type,metadata:{type:"template",shortcode:"s-".concat(Object(d.v4)())}}),a.metadata.isPrimary=n,e("rank-math").setEditingSchemaId(r),e("rank-math").updateEditSchema(r,Object(m.e)(a)),e("rank-math").toggleSchemaEditor(!0)},editSchema:function(t){e("rank-math").setEditingSchemaId(t),e("rank-math").toggleSchemaEditor(!0)}}})))((function(e){var t=e.search,r=e.templates,o=e.isPro,s=e.addSchema,c=e.editSchema,l=e.primarySchema;""!==t&&(r=r.filter((function(e){return e.title.toLowerCase().includes(t)})));var m=l?Object(i.applyFilters)("rank_math_schema_type",l.type):"";return wp.element.createElement("div",{className:"rank-math-schema-catalog"},r.map((function(e,t){var r=!o&&m===e.type,i=u()("rank-math-schema-item rank-math-use-schema row button",{"in-use":r});return wp.element.createElement("div",{id:"rank-math-schema-list-wrapper",key:t},wp.element.createElement(n.Button,{key:t,id:"rank-math-schema-item",className:i,href:"#",isLink:!0,onClick:function(){return r?c(l.id):s(e)}},wp.element.createElement("input",{type:"radio",name:"primarySchema",value:e.type,checked:m===e.type,onChange:function(){return s(e)}}),wp.element.createElement("span",{className:"rank-math-schema-name"},wp.element.createElement("i",{className:Object(b.a)(e.type)}),e.title),wp.element.createElement("span",{className:"button rank-math-schema-item-actions"},wp.element.createElement("i",{className:"rm-icon rm-icon-circle-plus"}),wp.element.createElement("span",null,Object(a.__)("Use","rank-math")))))})))})),O=r(18);function k(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],a=!0,i=!1,n=void 0;try{for(var o,s=e[Symbol.iterator]();!(a=(o=s.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){i=!0,n=e}finally{try{a||null==s.return||s.return()}finally{if(i)throw n}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return g(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return g(e,t)}(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 g(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}var v=Object(c.compose)(Object(l.withSelect)((function(e){return{isPro:e("rank-math").isPro()}})))((function(e){var t,r=k(Object(s.useState)("global"),2),c=r[0],l=r[1],d=k(Object(s.useState)(""),2),p=d[0],u=d[1];return wp.element.createElement(o.Fragment,null,e.isPro&&wp.element.createElement(O.a,null),wp.element.createElement("h4",{className:"rank-math-schema-section-title"},Object(a.__)("Available Schema Types","rank-math")),wp.element.createElement("div",{className:"rank-math-schema-filter"},wp.element.createElement(n.RadioControl,{selected:c,options:Object(i.applyFilters)("rank_math_schema_template_sources",[{value:"global",label:Object(a.__)("Schema Catalog","rank-math")}]),onChange:l}),wp.element.createElement("div",{className:"rank-math-schema-search"},wp.element.createElement(n.TextControl,{value:p,onChange:u,placeholder:Object(a.__)("Search…","rank-math")}))),wp.element.createElement(R,{templates:(t=c,"global"===t?m.k.getTemplates():Object(i.applyFilters)("rank_math_schema_templates_by_source",[],t)),search:p.toLowerCase()}))})),j=function(){return wp.element.createElement("div",{className:"components-panel__body rank-math-custom-schema-wrapper"},wp.element.createElement("img",{src:rankMath.customSchemaImage,alt:"",className:"custom-schema"}),wp.element.createElement("div",{id:"rank-math-pro-cta",className:"center"},wp.element.createElement("div",{className:"rank-math-cta-box blue-ticks width-60"},wp.element.createElement("h3",null,Object(a.__)("Advanced Schema Builder","rank-math")),wp.element.createElement("ul",null,wp.element.createElement("li",null,Object(a.__)("Rank Math PRO is coming this fall","rank-math")),wp.element.createElement("li",null,Object(a.__)("Import Schema from ANY website","rank-math")),wp.element.createElement("li",null,Object(a.__)("Create Advanced templates","rank-math"))),wp.element.createElement("a",{className:"button button-primary is-green",href:"https://rankmath.com/pricing/?utm_source=Plugin&utm_medium=Custom+Builder&utm_campaign=WP",rel:"noreferrer noopener",target:"_blank"},Object(a.__)("Upgrade","rank-math")))))};t.a=function(){return wp.element.createElement(n.TabPanel,{className:"rank-math-tabs rank-math-editor rank-math-schema-tabs",activeClass:"is-active",tabs:Object.values((e={templates:{name:"templates",title:wp.element.createElement(o.Fragment,null,wp.element.createElement("i",{className:"rm-icon rm-icon-schema"}),wp.element.createElement("span",null,Object(a.__)("Schema Templates","rank-math"))),view:v,className:"rank-math-tab-templates"},newSchema:{name:"new-schema",title:wp.element.createElement(o.Fragment,null,wp.element.createElement("i",{className:"rm-icon rm-icon-circle-plus"}),wp.element.createElement("span",null,Object(a.__)("Custom Schema","rank-math"))),view:j,className:"rank-math-tab-new-schema"}},Object(i.applyFilters)("rank_math_schema_templates_tabs",e)))},(function(e){return wp.element.createElement("div",{className:"components-panel__body rank-math-schema-tab-content-"+e.name},Object(o.createElement)(e.view))}));var e}},function(e,t,r){var a,i,n=r(21),o=r(22),s=0,c=0;e.exports=function(e,t,r){var l=t&&r||0,m=t||[],d=(e=e||{}).node||a,p=void 0!==e.clockseq?e.clockseq:i;if(null==d||null==p){var u=n();null==d&&(d=a=[1|u[0],u[1],u[2],u[3],u[4],u[5]]),null==p&&(p=i=16383&(u[6]<<8|u[7]))}var h=void 0!==e.msecs?e.msecs:(new Date).getTime(),b=void 0!==e.nsecs?e.nsecs:c+1,f=h-s+(b-c)/1e4;if(f<0&&void 0===e.clockseq&&(p=p+1&16383),(f<0||h>s)&&void 0===e.nsecs&&(b=0),b>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");s=h,c=b,i=p;var y=(1e4*(268435455&(h+=122192928e5))+b)%4294967296;m[l++]=y>>>24&255,m[l++]=y>>>16&255,m[l++]=y>>>8&255,m[l++]=255&y;var _=h/4294967296*1e4&268435455;m[l++]=_>>>8&255,m[l++]=255&_,m[l++]=_>>>24&15|16,m[l++]=_>>>16&255,m[l++]=p>>>8|128,m[l++]=255&p;for(var R=0;R<6;++R)m[l+R]=d[R];return t||o(m)}},function(e,t,r){var a=r(21),i=r(22);e.exports=function(e,t,r){var n=t&&r||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var o=(e=e||{}).random||(e.rng||a)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t)for(var s=0;s<16;++s)t[n+s]=o[s];return t||i(o)}},function(e,t,r){"use strict";var a=r(29);function i(){}function n(){}n.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,n,o){if(o!==a){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:n,resetWarningCache:i};return r.PropTypes=r,r}},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,r){"use strict";var a=r(0),i=r(7),n=r(2),o=r(5),s=r(14),c=r(25);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.a=Object(i.compose)(Object(o.withSelect)((function(e){return{isOpen:e("rank-math").isSchemaTemplatesOpen()}})),Object(o.withDispatch)((function(e,t){return{toggleModal:function(){e("rank-math").toggleSchemaTemplates(!t.isOpen)}}})))((function(e){var t,r=e.isOpen,i=void 0!==r&&r,o=e.toggleModal;return i?wp.element.createElement(n.Modal,{title:Object(a.__)("Schema Generator","rank-math"),closeButtonLabel:Object(a.__)("Close","rank-math"),shouldCloseOnClickOutside:!1,onRequestClose:o,className:"rank-math-modal rank-math-schema-generator rank-math-schema-template-modal",overlayClassName:"rank-math-modal-overlay"},wp.element.createElement(n.KeyboardShortcuts,{shortcuts:(t={},l(t,s.rawShortcut.ctrl("z"),(function(e){return e.stopImmediatePropagation()})),l(t,s.rawShortcut.ctrlShift("z"),(function(e){return e.stopImmediatePropagation()})),l(t,s.rawShortcut.primary("z"),(function(e){return e.stopImmediatePropagation()})),l(t,s.rawShortcut.primaryShift("z"),(function(e){return e.stopImmediatePropagation()})),t)},wp.element.createElement("a",{href:"https://rankmath.com/kb/rich-snippets/?utm_source=Plugin&utm_medium=Schema%20Generator%20Header&utm_campaign=WP",rel:"noopener noreferrer",target:"_blank",title:Object(a.__)("More Info","rank-math"),className:"rank-math-schema-info"},wp.element.createElement(n.Dashicon,{icon:"info"})),wp.element.createElement(c.a,null))):null}))},function(e,t,r){"use strict";var a=r(1),i=r(0),n=r(5),o=r(6),s=r(15);t.a=Object(n.withSelect)((function(e){var t=e("rank-math").getSchemas();return{type:function(){if(Object(a.isEmpty)(t))return"off";var e=Object.keys(t);return Object(a.get)(t,[e[0],"@type"])}()}}))((function(e){var t=e.type;return wp.element.createElement(o.Fragment,null,wp.element.createElement("i",{className:Object(s.a)(t)}),wp.element.createElement("span",null,Object(i.__)("Schema","rank-math")))}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return yr}));var a={};r.r(a),r.d(a,"updateKeywords",(function(){return h})),r.d(a,"updatePillarContent",(function(){return b})),r.d(a,"toggleFrontendScore",(function(){return f})),r.d(a,"updateAnalysisScore",(function(){return y})),r.d(a,"updateCanonicalUrl",(function(){return _})),r.d(a,"updateAdvancedRobots",(function(){return R})),r.d(a,"updateRobots",(function(){return O})),r.d(a,"updateBreadcrumbTitle",(function(){return k})),r.d(a,"resetDirtyMetadata",(function(){return g})),r.d(a,"updateFacebookTitle",(function(){return v})),r.d(a,"updateFacebookDescription",(function(){return j})),r.d(a,"updateFacebookImage",(function(){return w})),r.d(a,"updateFacebookImageID",(function(){return A})),r.d(a,"updateFacebookHasOverlay",(function(){return G})),r.d(a,"updateFacebookImageOverlay",(function(){return q})),r.d(a,"updateAppData",(function(){return p})),r.d(a,"updateAppUi",(function(){return u})),r.d(a,"updatePostID",(function(){return E})),r.d(a,"updatePermalink",(function(){return S})),r.d(a,"updateTitle",(function(){return P})),r.d(a,"updateDescription",(function(){return T})),r.d(a,"updateFeaturedImage",(function(){return C})),r.d(a,"updatePrimaryTermID",(function(){return I})),r.d(a,"updateRedirection",(function(){return D})),r.d(a,"updateRedirectionItem",(function(){return N})),r.d(a,"resetRedirection",(function(){return M})),r.d(a,"updateHasRedirect",(function(){return x})),r.d(a,"updateSerpTitle",(function(){return Y})),r.d(a,"updateSerpDescription",(function(){return z})),r.d(a,"toggleSnippetEditor",(function(){return W})),r.d(a,"updateSnippetPreviewType",(function(){return K})),r.d(a,"updateTwitterUseFacebook",(function(){return J})),r.d(a,"updateTwitterCardType",(function(){return Q})),r.d(a,"updateTwitterTitle",(function(){return $})),r.d(a,"updateTwitterDescription",(function(){return X})),r.d(a,"updateTwitterAuthor",(function(){return Z})),r.d(a,"updateTwitterImageID",(function(){return ee})),r.d(a,"updateTwitterImage",(function(){return te})),r.d(a,"updateTwitterHasOverlay",(function(){return re})),r.d(a,"updateTwitterImageOverlay",(function(){return ae})),r.d(a,"updateTwitterPlayerUrl",(function(){return ie})),r.d(a,"updateTwitterPlayerSize",(function(){return ne})),r.d(a,"updateTwitterPlayerStreamUrl",(function(){return oe})),r.d(a,"updateTwitterPlayerStreamCtype",(function(){return se})),r.d(a,"updateTwitterAppDescription",(function(){return ce})),r.d(a,"updateTwitterAppIphoneID",(function(){return le})),r.d(a,"updateTwitterAppIphoneName",(function(){return me})),r.d(a,"updateTwitterAppIphoneUrl",(function(){return de})),r.d(a,"updateTwitterAppIpadID",(function(){return pe})),r.d(a,"updateTwitterAppIpadName",(function(){return ue})),r.d(a,"updateTwitterAppIpadUrl",(function(){return he})),r.d(a,"updateTwitterAppGoogleplayID",(function(){return be})),r.d(a,"updateTwitterAppGoogleplayName",(function(){return fe})),r.d(a,"updateTwitterAppGoogleplayUrl",(function(){return ye})),r.d(a,"updateTwitterAppCountry",(function(){return _e})),r.d(a,"toggleLoaded",(function(){return Re})),r.d(a,"updateSelectedKeyword",(function(){return Oe})),r.d(a,"refreshResults",(function(){return ke})),r.d(a,"setVersion",(function(){return ge})),r.d(a,"toggleSchemaEditor",(function(){return Ee})),r.d(a,"toggleSchemaTemplates",(function(){return Se})),r.d(a,"schemaUpdated",(function(){return Pe})),r.d(a,"setEditingSchemaId",(function(){return Te})),r.d(a,"setEditorTab",(function(){return Ce})),r.d(a,"setTemplateTab",(function(){return Ie})),r.d(a,"updateEditSchemas",(function(){return De})),r.d(a,"updateSchemas",(function(){return Ne})),r.d(a,"updateEditSchema",(function(){return Me})),r.d(a,"saveSchema",(function(){return xe})),r.d(a,"deleteSchema",(function(){return Le})),r.d(a,"saveTemplate",(function(){return Ue}));var i={};r.r(i),r.d(i,"appData",(function(){return We})),r.d(i,"appUi",(function(){return Xe}));var n={};r.r(n),r.d(n,"getAppData",(function(){return Ze})),r.d(n,"getDirtyMetadata",(function(){return et})),r.d(n,"getAnalysisScore",(function(){return tt})),r.d(n,"getKeywords",(function(){return rt})),r.d(n,"getPillarContent",(function(){return at})),r.d(n,"getRobots",(function(){return it})),r.d(n,"getAdvancedRobots",(function(){return nt})),r.d(n,"getCanonicalUrl",(function(){return ot})),r.d(n,"getBreadcrumbTitle",(function(){return st})),r.d(n,"getRichSnippets",(function(){return ct})),r.d(n,"getShowScoreFrontend",(function(){return lt})),r.d(n,"isLoaded",(function(){return mt})),r.d(n,"getSelectedKeyword",(function(){return dt})),r.d(n,"isRefreshing",(function(){return pt})),r.d(n,"isPro",(function(){return ut})),r.d(n,"getFacebookTitle",(function(){return ht})),r.d(n,"getFacebookDescription",(function(){return bt})),r.d(n,"getFacebookAuthor",(function(){return ft})),r.d(n,"getFacebookImageID",(function(){return yt})),r.d(n,"getFacebookImage",(function(){return _t})),r.d(n,"getFacebookHasOverlay",(function(){return Rt})),r.d(n,"getFacebookImageOverlay",(function(){return Ot})),r.d(n,"getPostID",(function(){return kt})),r.d(n,"getTitle",(function(){return gt})),r.d(n,"getPermalink",(function(){return vt})),r.d(n,"getDescription",(function(){return jt})),r.d(n,"getFeaturedImage",(function(){return wt})),r.d(n,"getFeaturedImageHtml",(function(){return At})),r.d(n,"getPrimaryTermID",(function(){return Gt})),r.d(n,"getRedirectionID",(function(){return qt})),r.d(n,"getRedirectionType",(function(){return Et})),r.d(n,"getRedirectionUrl",(function(){return St})),r.d(n,"getRedirectionItem",(function(){return Pt})),r.d(n,"hasRedirect",(function(){return Tt})),r.d(n,"getSerpTitle",(function(){return Ct})),r.d(n,"getSerpDescription",(function(){return It})),r.d(n,"isSnippetEditorOpen",(function(){return Dt})),r.d(n,"getSnippetPreviewType",(function(){return Nt})),r.d(n,"isSchemaEditorOpen",(function(){return Mt})),r.d(n,"isSchemaTemplatesOpen",(function(){return xt})),r.d(n,"hasSchemaUpdated",(function(){return Lt})),r.d(n,"getSchemas",(function(){return Ut})),r.d(n,"getEditSchemas",(function(){return Ht})),r.d(n,"getEditingSchema",(function(){return Ft})),r.d(n,"getPreviewSchema",(function(){return Bt})),r.d(n,"getEditorTab",(function(){return Vt})),r.d(n,"getTemplateTab",(function(){return Yt})),r.d(n,"getTwitterUseFacebook",(function(){return zt})),r.d(n,"getTwitterCardType",(function(){return Wt})),r.d(n,"getTwitterTitle",(function(){return Kt})),r.d(n,"getTwitterDescription",(function(){return Jt})),r.d(n,"getTwitterAuthor",(function(){return Qt})),r.d(n,"getTwitterImageID",(function(){return $t})),r.d(n,"getTwitterImage",(function(){return Xt})),r.d(n,"getTwitterHasOverlay",(function(){return Zt})),r.d(n,"getTwitterImageOverlay",(function(){return er})),r.d(n,"getTwitterAppDescription",(function(){return tr})),r.d(n,"getTwitterAppIphoneID",(function(){return rr})),r.d(n,"getTwitterAppIphoneName",(function(){return ar})),r.d(n,"getTwitterAppIphoneUrl",(function(){return ir})),r.d(n,"getTwitterAppIpadID",(function(){return nr})),r.d(n,"getTwitterAppIpadName",(function(){return or})),r.d(n,"getTwitterAppIpadUrl",(function(){return sr})),r.d(n,"getTwitterAppGoogleplayID",(function(){return cr})),r.d(n,"getTwitterAppGoogleplayName",(function(){return lr})),r.d(n,"getTwitterAppGoogleplayUrl",(function(){return mr})),r.d(n,"getTwitterAppCountry",(function(){return dr})),r.d(n,"getTwitterPlayerUrl",(function(){return pr})),r.d(n,"getTwitterPlayerSize",(function(){return ur})),r.d(n,"getTwitterPlayerStream",(function(){return hr})),r.d(n,"getTwitterPlayerStreamCtype",(function(){return br}));var o=r(5),s=r(8),c=r.n(s);function l(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}var m=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.map=null}var t,r,a;return t=e,(r=[{key:"swap",value:function(e,t){var r=this;if(!(e=e||""))return"";var a=new RegExp(/%(([a-z0-9_-]+)\(([^)]*)\)|[^\s]+)%/,"giu");return e.replace(" %page%","").replace("%sep% %sep%","%sep%").replace(a,(function(e){return r.replace(t,e)})).trim()}},{key:"replace",value:function(e,t){var r=t.toLowerCase().slice(1,-1);return["term_description","user_description"].includes(r)?"undefined"!=typeof tinymce&&tinymce.activeEditor&&"rank_math_description_editor"===tinymce.activeEditor.id?tinymce.activeEditor.getContent():c()("#description").val():r.includes("customfield(")?(r=r.replace("customfield(","").replace(")",""))in rankMath.customFields?rankMath.customFields[r]:"":(e=e||this.getMap(),(r="seo_description"===(r="seo_title"===(r=r.includes("(")?r.split("(")[0]:r)?"title":r)?"excerpt":r)in e?e[r]:"")}},{key:"getMap",value:function(){var e=this;return null!==this.map||(this.map={},c.a.each(rankMath.variables,(function(t,r){t=t.toLowerCase().replace(/%+/g,"").split("(")[0],e.map[t]=r.example}))),this.map}},{key:"setVariable",value:function(e,t){null!==this.map?this.map[e]=t:void 0!==rankMath.variables[e]&&(rankMath.variables[e].example=t)}}])&&l(t.prototype,r),a&&l(t,a),e}()),d=r(3);function p(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return t=Object(d.applyFilters)("rank_math_sanitize_data",t,e,r),null!==a&&(a=Object(d.applyFilters)("rank_math_sanitize_meta_value",a,e,r)),a=null===a?t:a,Object(d.doAction)("rank_math_data_changed",e,t,r),{type:"RANK_MATH_APP_DATA",key:e,value:t,metaKey:r,metaValue:a}}function u(e,t){return Object(d.doAction)("rank_math_update_app_ui",e,t),{type:"RANK_MATH_APP_UI",key:e,value:t}}function h(e){return m.setVariable("focuskw",e.split(",")[0]),rankMathEditor.refresh("keyword"),p("keywords",e,"rank_math_focus_keyword")}function b(e){return p("pillarContent",e,"rank_math_pillar_content",!0===e?"on":"off")}function f(e){return p("showScoreFrontend",e,"rank_math_dont_show_seo_score",!0===e?"off":"on")}function y(e){return p("score",e,"rank_math_seo_score")}function _(e){return p("canonicalUrl",e,"rank_math_canonical_url")}function R(e){return p("advancedRobots",e,"rank_math_advanced_robots")}function O(e){return p("robots",e,"rank_math_robots",Object.keys(e))}function k(e){return p("breadcrumbTitle",e,"rank_math_breadcrumb_title")}function g(){return p("dirtyMetadata",{})}function v(e){return p("facebookTitle",e,"rank_math_facebook_title")}function j(e){return p("facebookDescription",e,"rank_math_facebook_description")}function w(e){return p("facebookImage",e,"rank_math_facebook_image")}function A(e){return p("facebookImageID",e,"rank_math_facebook_image_id")}function G(e){return p("facebookHasOverlay",e,"rank_math_facebook_enable_image_overlay",!0===e?"on":"off")}function q(e){return p("facebookImageOverlay",e,"rank_math_facebook_image_overlay")}function E(e){return rankMath.objectID=e,p("postID",e)}function S(e){return p("permalink",e,"permalink")}function P(e){return p("title",e,"rank_math_title")}function T(e){return p("description",e,"rank_math_description")}function C(e){return p("featuredImage",e)}function I(e,t){return p("primaryTerm",parseInt(e),"rank_math_primary_"+t)}function D(e,t){return p(e,t)}function N(e){return u("redirectionItem",e)}function M(){return u("redirectionItem",{})}function x(e){return u("hasRedirect",e)}var L=r(16),U=r(1),H=document.createElement("div"),F=function(e){return e&&"string"==typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,"").replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,""),H.innerHTML=e,e=H.textContent,H.textContent=""),e},B=function(e,t){return e=(e=L.Helpers.cleanText(e)).replace(/\r?\n|\r/g," "),t?Object(U.truncate)(e,{length:t,separator:" "}):e},V=function(e){var t=rankMathEditor.assessor.dataCollector.getData(),r=t.excerpt,a=t.content?function(e){if(Object(U.isEmpty)(e))return"";e=e.replace(/\[caption[^\]]*\](.*)\[\/caption\]/g,"");var t=Object(U.filter)(L.Helpers.matchParagraphs(e,!0,!0),(function(e){return""!==c.a.trim(e)}));if(!t.length)return"";var r=rankMathEditor.getPrimaryKeyword();if(""!==r){var a=Object(U.filter)(t,(function(e){return Object(U.includes)(e.toLowerCase(),r.toLowerCase())}));if(0<a.length)return B(a[0],160)}return B(t[0],160)}(t.content.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,"")):"",i=Object(U.isUndefined)(r)||Object(U.isEmpty)(r)?a:r;if(m.setVariable("excerpt",i),m.setVariable("seo_description",i),""!==(e=F(Object(d.applyFilters)("rankMath/description",e))))return L.Helpers.cleanText(e);if(!Object(U.isUndefined)(r)&&!Object(U.isEmpty)(r))return L.Helpers.cleanText(r);var n=rankMath.assessor.serpData.descriptionTemplate;return Object(U.isUndefined)(n)||""===n?a:L.Helpers.cleanText(n)};function Y(e){return e=m.swap(""!==e?e:rankMath.assessor.serpData.titleTemplate),rankMathEditor.refresh("title"),u("serpTitle",e)}function z(e){return e=m.swap(V(e)),rankMathEditor.refresh("description"),u("serpDescription",e)}function W(e){return u("isSnippetEditorOpen",e)}function K(e){return u("snippetPreviewType",e)}function J(e){return p("twitterUseFacebook",e,"rank_math_twitter_use_facebook",!0===e?"on":"off")}function Q(e){return p("twitterCardType",e,"rank_math_twitter_card_type")}function $(e){return p("twitterTitle",e,"rank_math_twitter_title")}function X(e){return p("twitterDescription",e,"rank_math_twitter_description")}function Z(e){return p("twitterAuthor",e,"rank_math_twitter_author")}function ee(e){return p("twitterImageID",e,"rank_math_twitter_image_id")}function te(e){return p("twitterImage",e,"rank_math_twitter_image")}function re(e){return p("twitterHasOverlay",e,"rank_math_twitter_enable_image_overlay",!0===e?"on":"off")}function ae(e){return p("twitterImageOverlay",e,"rank_math_twitter_image_overlay")}function ie(e){return p("twitterPlayerUrl",e,"rank_math_twitter_player_url")}function ne(e){return p("twitterPlayerSize",e,"rank_math_twitter_player_size")}function oe(e){return p("twitterPlayerStream",e,"rank_math_twitter_player_stream")}function se(e){return p("twitterPlayerStreamCtype",e,"rank_math_twitter_player_stream_ctype")}function ce(e){return p("twitterAppDescription",e,"rank_math_twitter_app_description")}function le(e){return p("twitterAppIphoneID",e,"rank_math_twitter_app_iphone_id")}function me(e){return p("twitterAppIphoneName",e,"rank_math_twitter_app_iphone_name")}function de(e){return p("twitterAppIphoneUrl",e,"rank_math_twitter_app_iphone_url")}function pe(e){return p("twitterAppIpadID",e,"rank_math_twitter_app_ipad_id")}function ue(e){return p("twitterAppIpadName",e,"rank_math_twitter_app_ipad_name")}function he(e){return p("twitterAppIpadUrl",e,"rank_math_twitter_app_ipad_url")}function be(e){return p("twitterAppGoogleplayID",e,"rank_math_twitter_app_googleplay_id")}function fe(e){return p("twitterAppGoogleplayName",e,"rank_math_twitter_app_googleplay_name")}function ye(e){return p("twitterAppGoogleplayUrl",e,"rank_math_twitter_app_googleplay_url")}function _e(e){return p("twitterAppCountry",e,"rank_math_twitter_app_country")}function Re(e){return u("isLoaded",e)}function Oe(e){return u("selectedKeyword",e)}function ke(){return u("refreshResults",Date.now())}function ge(){return u("isPro",!0)}var ve=r(0),je=r(17),we=r.n(je);function Ae(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function Ge(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ae(Object(r),!0).forEach((function(t){qe(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ae(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function qe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ee(e){return u("isSchemaEditorOpen",e)}function Se(e){return u("isSchemaTemplatesOpen",e)}function Pe(e){return u("schemaUpdated",e)}function Te(e){return u("editingSchemaId",e)}function Ce(e){return u("editorTab",e)}function Ie(e){return u("templateTab",e)}function De(e){return u("editSchemas",e)}function Ne(e){return p("schemas",e)}function Me(e,t){var r=Ge({},Object(o.select)("rank-math").getEditSchemas());return r[e]=t,u("editSchemas",r)}function xe(e,t){var r=Ge({},Object(o.select)("rank-math").getSchemas());return r[e]=t,p("schemas",r)}function Le(e){var t=Ge({},Object(o.select)("rank-math").getSchemas());return delete t[e],Object(d.doAction)("rank_math_schema_trash",e),p("schemas",t,"rank_math_delete_"+e,"")}function Ue(e,t,r){return we()({method:"POST",path:"rankmath/v1/saveTemplate",data:{schema:e,postId:r}}).then((function(r){t({loading:!1,showNotice:!0,postId:r.id}),setTimeout((function(){t({showNotice:!1}),Object(U.get)(rankMath,"isTemplateScreen",!1)&&(document.title=Object(ve.__)("Edit Schema","rank-math"),window.history.pushState(null,"",r.link.replace(/&amp;/g,"&")))}),2e3),rankMath.schemaTemplates.push({schema:e,title:e.metadata.title,type:e["@type"]})})),t({loading:!0}),{type:"DONT_WANT_TO_DO_SOMETHING"}}function He(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function Fe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?He(Object(r),!0).forEach((function(t){Be(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):He(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Be(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ve=rankMath.assessor.serpData,Ye=rankMath.assessor.hasRedirection,ze={postID:null,title:Ve.title?Ve.title:Ve.titleTemplate,description:Ve.description,keywords:Ve.focusKeywords,pillarContent:Ve.pillarContent,featuredImage:"",permalink:!1,primaryTerm:Ve.primaryTerm,robots:Ve.robots,advancedRobots:Ve.advancedRobots,canonicalUrl:Ve.canonicalUrl,breadcrumbTitle:Ve.breadcrumbTitle,showScoreFrontend:Ve.showScoreFrontend,redirectionID:Ye?Object(U.get)(rankMath.assessor,"redirection.id",""):"",redirectionType:Ye?Object(U.get)(rankMath.assessor,"redirection.header_code",""):"",redirectionUrl:Ye?Object(U.get)(rankMath.assessor,"redirection.url_to",""):"",facebookTitle:Ve.facebookTitle,facebookImage:Ve.facebookImage,facebookImageID:Ve.facebookImageID,facebookAuthor:Ve.facebookAuthor,facebookDescription:Ve.facebookDescription,facebookHasOverlay:Ve.facebookHasOverlay,facebookImageOverlay:Ve.facebookImageOverlay,twitterTitle:Ve.twitterTitle,twitterImage:Ve.twitterImage,twitterAuthor:Ve.twitterAuthor,twitterImageID:Ve.twitterImageID,twitterCardType:Ve.twitterCardType,twitterUseFacebook:Ve.twitterUseFacebook,twitterDescription:Ve.twitterDescription,twitterHasOverlay:Ve.twitterHasOverlay,twitterImageOverlay:Ve.twitterImageOverlay,twitterPlayerUrl:Ve.twitterPlayerUrl,twitterPlayerSize:Ve.twitterPlayerSize,twitterPlayerStream:Ve.twitterPlayerStream,twitterPlayerStreamCtype:Ve.twitterPlayerStreamCtype,twitterAppDescription:Ve.twitterAppDescription,twitterAppIphoneName:Ve.twitterAppIphoneName,twitterAppIphoneID:Ve.twitterAppIphoneID,twitterAppIphoneUrl:Ve.twitterAppIphoneUrl,twitterAppIpadName:Ve.twitterAppIpadName,twitterAppIpadID:Ve.twitterAppIpadID,twitterAppIpadUrl:Ve.twitterAppIpadUrl,twitterAppGoogleplayName:Ve.twitterAppGoogleplayName,twitterAppGoogleplayID:Ve.twitterAppGoogleplayID,twitterAppGoogleplayUrl:Ve.twitterAppGoogleplayUrl,twitterAppCountry:Ve.twitterAppCountry,schemas:Object(U.get)(rankMath,"schemas",{}),score:0,dirtyMetadata:{}};function We(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ze,r=arguments.length>1?arguments[1]:void 0,a=Fe({},t.dirtyMetadata);return!1!==r.metaKey&&(a[r.metaKey]=r.metaValue),"RANK_MATH_APP_DATA"===r.type?"dirtyMetadata"===r.key?Fe(Fe({},t),{},{dirtyMetadata:r.value}):Fe(Fe({},t),{},(Be(e={},r.key,r.value),Be(e,"dirtyMetadata",a),e)):t}function Ke(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function Je(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ke(Object(r),!0).forEach((function(t){Qe(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ke(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Qe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var $e={isLoaded:!1,isPro:!1,selectedKeyword:{tag:"",index:0,data:{value:""}},hasRedirect:rankMath.assessor.hasRedirection&&(!Object(U.isEmpty)(Object(U.get)(rankMath.assessor,"redirection.id",""))||!Object(U.isEmpty)(Object(U.get)(rankMath.assessor,"redirection.url_to",""))),serpTitle:"",serpDescription:"",isSnippetEditorOpen:!1,snippetPreviewType:"",refreshResults:"",redirectionItem:{},editorTab:"",templateTab:"",editSchemas:{},editingSchemaId:"",isSchemaEditorOpen:!1,isSchemaTemplatesOpen:!1,schemaUpdated:!1};function Xe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:$e,t=arguments.length>1?arguments[1]:void 0;return"RANK_MATH_APP_UI"===t.type?Je(Je({},e),{},Qe({},t.key,t.value)):e}function Ze(e){return e.appData}function et(e){return e.appData.dirtyMetadata}function tt(e){return e.appData.score}function rt(e){return e.appData.keywords}function at(e){return e.appData.pillarContent}function it(e){return e.appData.robots}function nt(e){return e.appData.advancedRobots}function ot(e){return e.appData.canonicalUrl}function st(e){return e.appData.breadcrumbTitle}function ct(e){return"todo"}function lt(e){return e.appData.showScoreFrontend}function mt(e){return e.appUi.isLoaded}function dt(e){return e.appUi.selectedKeyword}function pt(e){return e.appUi.refreshResults}function ut(e){return e.appUi.isPro}function ht(e){return e.appData.facebookTitle}function bt(e){return e.appData.facebookDescription}function ft(e){return e.appData.facebookAuthor}function yt(e){return e.appData.facebookImageID}function _t(e){return e.appData.facebookImage}function Rt(e){return e.appData.facebookHasOverlay}function Ot(e){return""!==e.appData.facebookImageOverlay?e.appData.facebookImageOverlay:"play"}function kt(e){return e.appData.postID}function gt(e){return e.appData.title}function vt(e){return e.appData.permalink}function jt(e){return e.appData.description}function wt(e){return e.appData.featuredImage}function At(e){var t=e.appData.featuredImage;return'<img src="'.concat(t.source_url,'" alt="').concat(t.alt_text,'" >')}function Gt(e){return e.appData.primaryTerm}function qt(e){return e.appData.redirectionID}function Et(e){return e.appData.redirectionType}function St(e){return e.appData.redirectionUrl}function Pt(e){return e.appUi.redirectionItem}function Tt(e){return e.appUi.hasRedirect}function Ct(e){return F(e.appUi.serpTitle)}function It(e){return e.appUi.serpDescription}function Dt(e){return e.appUi.isSnippetEditorOpen}function Nt(e){return e.appUi.snippetPreviewType}function Mt(e){return e.appUi.isSchemaEditorOpen}function xt(e){return e.appUi.isSchemaTemplatesOpen}function Lt(e){return e.appUi.schemaUpdated}function Ut(e){return e.appData.schemas}function Ht(e){return e.appUi.editSchemas}function Ft(e){return{id:e.appUi.editingSchemaId,data:e.appUi.editSchemas[e.appUi.editingSchemaId]}}function Bt(e){return e.appData.schemas[e.appUi.editingSchemaId]}function Vt(e){return e.appUi.editorTab}function Yt(e){return e.appUi.templateTab}function zt(e){return e.appData.twitterUseFacebook}function Wt(e){return e.appData.twitterCardType}function Kt(e){return e.appData.twitterTitle}function Jt(e){return e.appData.twitterDescription}function Qt(e){return e.appData.twitterAuthor}function $t(e){return e.appData.twitterImageID}function Xt(e){return e.appData.twitterImage}function Zt(e){return e.appData.twitterHasOverlay}function er(e){return""!==e.appData.twitterImageOverlay?e.appData.twitterImageOverlay:"play"}function tr(e){return e.appData.twitterAppDescription}function rr(e){return e.appData.twitterAppIphoneID}function ar(e){return e.appData.twitterAppIphoneName}function ir(e){return e.appData.twitterAppIphoneUrl}function nr(e){return e.appData.twitterAppIpadID}function or(e){return e.appData.twitterAppIpadName}function sr(e){return e.appData.twitterAppIpadUrl}function cr(e){return e.appData.twitterAppGoogleplayID}function lr(e){return e.appData.twitterAppGoogleplayName}function mr(e){return e.appData.twitterAppGoogleplayUrl}function dr(e){return e.appData.twitterAppCountry}function pr(e){return e.appData.twitterPlayerUrl}function ur(e){return e.appData.twitterPlayerSize}function hr(e){return e.appData.twitterPlayerStream}function br(e){return e.appData.twitterPlayerStreamCtype}var fr=Object(o.registerStore)("rank-math",{reducer:Object(o.combineReducers)(i),selectors:n,actions:a});function yr(){return fr}},function(e,t,r){"use strict";var a=r(1),i=r(9),n=r.n(i),o=r(0),s=r(7),c=r(2),l=r(5),m=r(14),d=r(3),p=r(6),u=r(20),h=r(24),b=function(e){var t,r=e.selectedTab;return wp.element.createElement(c.TabPanel,{className:"rank-math-tabs rank-math-editor rank-math-schema-tabs",activeClass:"is-active",initialTabName:r,tabs:Object.values((t={schemaBuilder:{name:"schemaBuilder",title:wp.element.createElement(p.Fragment,null,wp.element.createElement("span",null,Object(o.__)("Edit","rank-math"))),view:u.a,className:"rank-math-tab-templates"},codeValidation:{name:"codeValidation",title:wp.element.createElement(p.Fragment,null,wp.element.createElement("span",null,Object(o.__)("Code Validation","rank-math"))),view:h.a,className:"rank-math-tab-code-validation"}},Object(d.applyFilters)("rank_math_schema_editor_tabs",t)))},(function(e){return wp.element.createElement("div",{className:"components-panel__body rank-math-schema-tab-content-"+e.name},Object(p.createElement)(e.view))}))