Version Description
[Apr 01, 2021] =
* Added: [NEW!] Post author schema property prints gravatar, social profile URLs(sameAs
), author archive URL(if enabled), and worksFor
attribute
* Added: [NEW!] Focus keywords as keywords
attribute in the Article Schema output
* Added: Video duration data in the Recipe Schema output
* Added: Width and height data in the ImageObject
Schema property
* Improved: Feedback Messages related to the Rank Math's Database tools
* Improved: Avoid saving General settings after hitting the enter button while editing any text field
* Improved: Browser title for the KML file in the sitemap
* Improved: Replaced deprecated Javascript functions
* Fixed: PHP notices showing right after installation on some installations
* Fixed: Dashboard widget was throwing PHP errors sometimes due to cache clearing issue
* Fixed: Rebuild Analytics Index tool was not indexing all available posts/pages
* Fixed: rankmath_google_api_failed_attempts_data
option was becoming too large on some websites
* Fixed: Star Rating was not showing correctly on the frontend if a maximum value was more than 5
* Fixed: Settings tab were hidden for a post type which has word 'Notice' in its name
* Fixed: Remove Data fetch scheduled actions if Analytics Module is disabled
* Fixed: Sitemaps were not working with the plain permalinks
* Fixed: Sitemap was not updating when Scheduled posts were published
* Fixed: Analytics Dashboard page was not loading due to console error on some setups
* Fixed: Missing schema markup code on the Static Homepage
* Fixed: Analytics Graphs were showing wrong data when the 7 Days timeframe was Selected
* Fixed: An error appearing in the PHP 8.0
* Fixed: Title attribute was getting added after the ending slash in img
tag
Full changelog can be found here - Rank Math SEO changelog
Release Info
Developer | rankmath |
Plugin | WordPress SEO Plugin – Rank Math |
Version | 1.0.61 |
Comparing to | |
See all releases |
Code changes from version 1.0.60.1 to 1.0.61
- assets/admin/css/common.css +1 -1
- assets/admin/css/dashboard.css +1 -1
- assets/admin/css/setup-wizard.css +1 -1
- assets/admin/js/classic.js +1 -1
- assets/admin/js/common.js +1 -1
- assets/admin/js/elementor.js +1 -1
- assets/admin/js/gutenberg.js +1 -1
- assets/admin/js/option-panel.js +1 -1
- assets/admin/js/wplink.js +1 -1
- includes/admin/class-admin-header.php +4 -1
- includes/admin/class-admin.php +6 -4
- includes/admin/class-ask-review.php +3 -2
- includes/admin/class-setup-wizard.php +1 -1
- includes/admin/views/dashboard-help.php +18 -13
- includes/admin/wizard/class-optimization.php +1 -1
- includes/admin/wizard/class-search-console.php +1 -1
- includes/admin/wizard/views/google-connect.php +1 -1
- includes/admin/wizard/views/ready.php +7 -3
- includes/admin/wizard/views/search-console-ui.php +1 -1
- includes/admin/wizard/views/your-site.php +4 -4
- includes/class-kb.php +58 -49
- includes/frontend/class-head.php +10 -0
- includes/frontend/paper/class-paper.php +0 -10
- includes/helpers/class-conditional.php +12 -3
- includes/helpers/class-wordpress.php +4 -0
- includes/module/class-manager.php +9 -2
- includes/modules/analytics/assets/js/stats.js +0 -1
@@ -2,4 +2,4 @@
|
|
2 |
* Plugin: Rank Math
|
3 |
* URL: https://rankmath.com/wordpress/plugin/seo-suite/
|
4 |
* Name: common.css
|
5 |
-
*/:root{--rankmath-wp-adminbar-height: 0}@font-face{font-family:'Rank-Math';src:url("../fonts/Rank-Math.ttf?v1.0.56") format("truetype"),url("../fonts/Rank-Math.woff?v1.0.56") format("woff"),url("../fonts/Rank-Math.svg?v1.0.56#Rank-Math") format("svg");font-weight:normal;font-style:normal;font-display:block}[class^="rm-icon-"],[class*=" rm-icon-"]{font-family:'Rank-Math' !important;speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.rm-icon-copy:before{content:"\e902"}.rm-icon-google:before{content:"\e901"}.rm-icon-rank-math:before{content:"\e900"}.rm-icon-mobile:before{content:"\ea2e"}.rm-icon-role-manager:before{content:"\ea3a"}.rm-icon-calendar:before{content:"\ea43"}.rm-icon-sitemap:before{content:"\ea4f"}.rm-icon-import:before{content:"\ea5a"}.rm-icon-export:before{content:"\ea5d"}.rm-icon-settings:before{content:"\ea60"}.rm-icon-desktop:before{content:"\ea67"}.rm-icon-htaccess:before{content:"\ea6f"}.rm-icon-robots:before{content:"\ea70"}.rm-icon-category:before{content:"\ea76"}.rm-icon-link:before{content:"\ea83"}.rm-icon-local-seo:before{content:"\ea87"}.rm-icon-misc:before{content:"\ea8f"}.rm-icon-software:before{content:"\ea9a"}.rm-icon-image:before{content:"\eaa0"}.rm-icon-analyzer:before{content:"\eaa9"}.rm-icon-search:before{content:"\eaab"}.rm-icon-star-filled:before{content:"\eab3"}.rm-icon-star:before{content:"\eab5"}.rm-icon-trash:before{content:"\eaba"}.rm-icon-users:before{content:"\eac4"}.rm-icon-images:before{content:"\eb6a"}.rm-icon-redirection:before{content:"\eb70"}.rm-icon-video:before{content:"\eb73"}.rm-icon-analytics:before{content:"\eb87"}.rm-icon-schema:before{content:"\eb97"}.rm-icon-adsense:before{content:"\eb99"}.rm-icon-tick:before{content:"\eb9d"}.rm-icon-circle-plus:before{content:"\eb9f"}.rm-icon-eye:before{content:"\eba4"}.rm-icon-heart-filled:before{content:"\ebac"}.rm-icon-info:before{content:"\ebb4"}.rm-icon-howto:before{content:"\ebbc"}.rm-icon-faq:before{content:"\ebbd"}.rm-icon-music:before{content:"\ebc8"}.rm-icon-plus:before{content:"\ebce"}.rm-icon-help:before{content:"\ebd2"}.rm-icon-404:before{content:"\ebe8"}.rm-icon-cross:before{content:"\ebea"}.rm-icon-recipe:before{content:"\ec3b"}.rm-icon-restaurant:before{content:"\ec56"}.rm-icon-post-format:before{content:"\ec64"}.rm-icon-service:before{content:"\ec66"}.rm-icon-course:before{content:"\ec70"}.rm-icon-book:before{content:"\ec73"}.rm-icon-social:before{content:"\ec76"}.rm-icon-edit:before{content:"\ec78"}.rm-icon-page:before{content:"\ec86"}.rm-icon-arrow-up:before{content:"\ecbe"}.rm-icon-caret-down:before{content:"\ecbf"}.rm-icon-arrow-down:before{content:"\ecc6"}.rm-icon-caret-up:before{content:"\ecc7"}.rm-icon-direction:before{content:"\ecc9"}.rm-icon-stories:before{content:"\ece7"}.rm-icon-acf:before{content:"\eceb"}.rm-icon-home:before{content:"\ed0d"}.rm-icon-toolbox:before{content:"\ed1f"}.rm-icon-comments:before{content:"\ed35"}.rm-icon-job:before{content:"\ed3a"}.rm-icon-post:before{content:"\ed4d"}.rm-icon-support:before{content:"\ed64"}.rm-icon-search-console:before{content:"\ed71"}.rm-icon-cart:before{content:"\ed73"}.rm-icon-attachment:before{content:"\ed83"}.rm-icon-tag:before{content:"\ed91"}.rm-icon-instant-indexing:before{content:"\ebe1"}.rank-math-header{display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:20px;margin-left:-20px;padding:13px 15px;border-bottom:1px solid #b5bfc9;background:#fff;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap}.rank-math-header .rank-math-logo{position:relative;margin-right:15px;padding-right:15px}.rank-math-header .rank-math-logo:after{position:absolute;top:0;right:0;width:1px;height:66px;margin:-12px 0;content:'';background:#b5bfc9}.rank-math-header .rank-math-logo a{text-decoration:none}.rank-math-header .rank-math-logo a:focus{-webkit-box-shadow:none;box-shadow:none}.rank-math-header .rank-math-logo i{font-size:28px;line-height:48px;display:block;width:40px;height:40px;text-align:center;color:#fff;border-radius:5px;background:linear-gradient(-135deg, #ff4492, #434e8f);text-shadow:0 1px 3px rgba(0,0,0,0.1);position:relative}@supports (-moz-appearance: none){.rank-math-header .rank-math-logo i{line-height:40px}}.rank-math-header .rank-math-logo-text{font-size:22px;font-weight:500;margin:11px auto 0 0}.rank-math-header .rank-math-logo-text span{vertical-align:4px}.rank-math-header a.rank-math-help{font-size:18px;line-height:36px;display:-webkit-box;display:-ms-flexbox;display:flex;margin-left:5px;padding:0 10px;color:#858b90;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column wrap;flex-flow:column wrap;-ms-flex-pack:distribute;justify-content:space-around}.rank-math-header a.rank-math-help:focus,.rank-math-header a.rank-math-help:hover{color:#069de3;border-color:#069de3}.rank-math-header a.rank-math-help:focus{-webkit-box-shadow:0 0 0 1px #069de3;box-shadow:0 0 0 1px #069de3}.rank-math-header a.rank-math-help i{height:24px}.rank-math-header a.rank-math-help i:before{vertical-align:-3px}@supports (-moz-appearance: none){.rank-math-header a.rank-math-help i:before{vertical-align:initial}}.rank-math-search-options .search-field input{display:block;margin:0 5px 0 0;padding:10px 15px;border-color:#b5bfc9;border-radius:3px;height:40px;width:150px}.rank-math-search-options{position:relative}.rank-math-search-options .search-field{position:relative;float:left}.rank-math-search-options .search-field input{width:275px;padding-left:42px;color:#858b90}.rank-math-search-options .search-field input:hover{border-color:#069de3}.rank-math-search-options .search-field input:focus{border-color:#069de3;-webkit-box-shadow:0 0 0 1px #069de3;box-shadow:0 0 0 1px #069de3}.rank-math-search-options .search-field i{color:#858b90;font-weight:bold;-webkit-transform:translateY(-50%);transform:translateY(-50%);position:absolute;top:50%;left:13px}.rank-math-search-options .search-field em{right:8px;left:auto;display:none}.searching .rank-math-search-options .search-field em{display:block}.rank-math-search-options select{line-height:38px;padding:0 15px;color:#858b90;border:1px solid #b5bfc9;background:#f6f8f7}.rank-math-search-options select:hover{color:#069de3;border-color:#069de3}.rank-math-search-options select:focus{border-color:#069de3;-webkit-box-shadow:0 0 0 1px #069de3;box-shadow:0 0 0 1px #069de3}.rank-math-wrap-settings.search-no-results .rank-math-setting-search-empty{font-size:2em;font-weight:400;display:block;padding:25px 0;text-align:center}.rank-math-search-dropdown{z-index:10;display:none;overflow:auto;max-width:450px;border:1px solid #b5bfc9;border-radius:3px;background:#fff;height:260px;width:100%;position:absolute;top:48px;right:0}.rank-math-search-dropdown .cmb-row{padding:10px;cursor:pointer;border-bottom:1px solid #b5bfc9}.rank-math-search-dropdown .cmb-row .cmb2-metabox-description{font-size:12px}.rank-math-search-dropdown .cmb-row:hover{background:#f6f6f6}.rank-math-search-dropdown.empty:before{font-size:1.2em;font-style:italic;display:block;padding:20px;content:'Nothing found.'}.rank-math-page{overflow-x:hidden;background:#e1e1e1}.rank-math-page div[class*='notice']:not(.rank-math-notice):not(.settings-error):not(.cmb-type-notice),.rank-math-page .update-nag{display:none}.rank-math-page .rank-math-breadcrumbs{font-size:13px;font-weight:500;line-height:1;text-transform:uppercase;color:#7f868d}.rank-math-page .rank-math-breadcrumbs-wrap{display:-webkit-box;display:-ms-flexbox;display:flex;width:1020px;max-width:100%;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.rank-math-page .rank-math-breadcrumbs .active{color:#242628}.rank-math-page .rank-math-breadcrumbs .divider{margin:0 5px}.rank-math-page .rank-math-mode-selector{font-size:14px;margin:5px 10px 0 0}.rank-math-page .rank-math-mode-selector a{display:inline-block;padding:5px 0 1px;text-decoration:none;color:#7f868d}.rank-math-page .rank-math-mode-selector a:hover,.rank-math-page .rank-math-mode-selector a.active{color:#242628;border-bottom:1px solid}.rank-math-page .rank-math-mode-selector a:first-child{margin-right:7px}.rank-math-page div.rank-math-tab-nav{position:relative;z-index:1;display:-webkit-box;display:-ms-flexbox;display:flex;overflow-x:auto;margin-bottom:-1px;white-space:nowrap;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row;flex-flow:row}@media screen and (min-width: 64rem){.rank-math-page div.rank-math-tab-nav{overflow-x:visible}}.rank-math-page .rank-math-tools-wrap div.rank-math-tab-nav{width:1020px}.rank-math-page .rank-math-tab:not(.rank-math-options-panel-content){font-size:15px;font-weight:500;line-height:39px;position:relative;margin:0;padding:0 15px;text-decoration:none;color:#5b646c;border:1px solid #b5bfc9;border-right:0;border-bottom:0;border-bottom:1px solid #b5bfc9;background:#f0f2f4}.rank-math-page .rank-math-tab:not(.rank-math-options-panel-content):hover,.rank-math-page .rank-math-tab:not(.rank-math-options-panel-content):focus,.rank-math-page .rank-math-tab:not(.rank-math-options-panel-content).is-active{color:#1a1e22;outline:none;background:#f8f9fa;-webkit-box-shadow:none;box-shadow:none}.rank-math-page .rank-math-tab:not(.rank-math-options-panel-content).is-active{border-bottom:1px solid #f8f9fa}.rank-math-page .rank-math-tab:not(.rank-math-options-panel-content):first-child{border-radius:4px 0 0 0}.rank-math-page .rank-math-tab:not(.rank-math-options-panel-content):last-of-type{border-right:1px solid #b5bfc9;border-radius:0 4px 0 0}.rank-math-page #wpwrap{overflow:hidden;background:#f0f2f4}.rank-math-page .dashboard-wrapper{position:relative;margin-bottom:.5rem;padding:30px 0;border-radius:0 6px 6px 6px;background:#f8f9fa}.rank-math-page .dashboard-wrapper:before{position:absolute;top:0;left:-180px;overflow:hidden;width:200vw;height:100%;padding-bottom:50px;content:'';border-top:1px solid #b5bfc9;border-bottom:1px solid #b5bfc9;background:#f8f9fa}.rank-math-page .dashboard-wrapper>div{position:relative}.rank-math-page .dashboard-wrapper>div>h2{margin-top:0;color:#242628}.rank-math-page .dashboard-wrapper>div>.description{font-size:1rem;margin-bottom:1.5rem}.rank-math-page.folded .dashboard-wrapper:before{left:-56px}.rank-math-page #wpfooter{padding:15px 20px;border-top:1px solid #b5bfc9;background:#fff}.rank-math-wrap{font-size:15px;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;margin:20px 10px 0 0;color:#242628}@media screen and (min-width: 48rem){.rank-math-wrap{margin:20px 40px 0 0}}.rank-math-wrap .container{width:1020px;max-width:100%}.rank-math-wrap p,.rank-math-wrap .description{font-size:14px;font-style:normal;line-height:1.5}.rank-math-wrap h1,.rank-math-wrap h2,.rank-math-wrap h3,.rank-math-wrap h4,.rank-math-wrap h5,.rank-math-wrap h6{color:#242628}.rank-math-wrap .page-title,.rank-math-wrap h1{font-size:2.8em;font-weight:400;line-height:1.2em;margin:.2em 200px 0 0;padding:0;color:#242628}.rank-math-wrap>h2{font-size:2.7em;font-weight:300;line-height:1.3;margin:40px 0 .6em;text-align:center}.rank-math-wrap .page-title{font-size:2em;font-weight:400;line-height:1;margin:35px 0 20px}.rank-math-wrap h3{font-size:1.375rem;line-height:1.5;margin:1.25em 0 .6em}.rank-math-wrap h3.health-check-accordion-heading{font-size:inherit;line-height:inherit;margin:0;background:#f8f9fa}.rank-math-wrap h3.health-check-accordion-heading>button{background:transparent}.rank-math-wrap ol li p{font-size:14px;font-weight:400}.rank-math-wrap .rank-math-text{font-size:19px;font-weight:400;line-height:1.6em;min-height:40px;margin:1.4em 200px 1em 0;color:#555d66}@media only screen and (max-width: 500px){.rank-math-wrap .rank-math-text,.rank-math-wrap h1{margin-right:0}.rank-math-wrap .rank-math-text{margin-bottom:.25em}}.two-col{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;-ms-flex-wrap:wrap;flex-wrap:wrap;justify-content:space-between}.two-col .col{max-width:100%;-webkit-box-flex:0;-ms-flex:0 0 100%;flex:0 0 100%}@media screen and (min-width: 48rem){.two-col .col{-webkit-box-sizing:border-box;box-sizing:border-box;width:495px;max-width:48.53%}}.rank-math-box{position:relative;margin-bottom:1rem;background:#fff;border:1px solid #b5bfc9;border-radius:6px;padding:1.875rem}.rank-math-box.no-borders{border:0;padding:0;background:transparent}.rank-math-box.no-padding{padding:0}.rank-math-box.no-padding footer{margin:1.875rem 0 0}.rank-math-box.switch-at-top .rank-math-switch{position:absolute;top:-12px;right:0}.rank-math-box.switch-at-top header{padding:0 20px}.rank-math-box.switch-at-top header h3{padding-top:14px}.rank-math-box header{line-height:55px}.rank-math-box header h3{color:#242628;position:relative;z-index:1;margin:0 0 20px}.rank-math-box header p{color:#7f868d;margin-top:0;padding:0 10px}.rank-math-box-content form .frm-submit p{display:inline-block;margin-left:10px}.rank-math-box footer{background:#f8f9fa;padding:1.25rem 1.875rem;margin:1.875rem -1.875rem -1.875rem;border:0;border-top:1px solid #b5bfc9;border-radius:0 0 6px 6px}.rank-math-page .button,.rank-math-page .button-secondary,.rank-math-page .is-secondary{font-size:14px;line-height:38px;height:auto;min-height:30px;padding:0 20px;-webkit-transition:.25s all linear;transition:.25s all linear;color:#6b7278;border:1px solid #7f868d;border-radius:3px;background:#f8f9fa;-webkit-box-shadow:none;box-shadow:none}.rank-math-page .button.active,.rank-math-page .button-secondary.active,.rank-math-page .is-secondary.active{color:#61676d;border-color:#7f868d;background:#f8f9fa;-webkit-box-shadow:inset 0 2px 5px -3px #7f8292;box-shadow:inset 0 2px 5px -3px #7f8292}.rank-math-page .button:focus,.rank-math-page .button:hover,.rank-math-page .button-secondary:focus,.rank-math-page .button-secondary:hover,.rank-math-page .is-secondary:focus,.rank-math-page .is-secondary:hover{color:#61676d;border-color:#069de3;background:#f8f9fa}.rank-math-page .button:focus,.rank-math-page .button-secondary:focus,.rank-math-page .is-secondary:focus{border-color:#069de3;-webkit-box-shadow:0 0 0 1px #069de3;box-shadow:0 0 0 1px #069de3}.rank-math-page .button .dashicons,.rank-math-page .button-secondary .dashicons,.rank-math-page .is-secondary .dashicons{margin:0 3px 0 0}.rank-math-page .button.disabled,.rank-math-page .button-secondary.disabled,.rank-math-page .is-secondary.disabled{pointer-events:none}.rank-math-page .button-primary:not(.default),.rank-math-page .is-primary{color:#fff;border-color:#069de3;background:#069de3;text-shadow:none}.rank-math-page .button-primary:not(.default):focus,.rank-math-page .button-primary:not(.default):hover,.rank-math-page .is-primary:focus,.rank-math-page .is-primary:hover{color:#fff;border-color:#08a7f1;background:#08a7f1}.rank-math-page .button-primary:not(.default):focus,.rank-math-page .is-primary:focus{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #069de3;box-shadow:0 0 0 1px #fff,0 0 0 3px #069de3}.rank-math-page .button-primary:not(.default)[disabled],.rank-math-page .is-primary[disabled]{border-color:#069de3 !important;background:#069de3 !important}.rank-math-page .is-blue:not(.default){border-color:#4e8cde;background:#4e8cde}.rank-math-page .is-blue:not(.default):hover,.rank-math-page .is-blue:not(.default):focus{border-color:#397eda;background:#397eda}.rank-math-page .is-blue:not(.default):focus{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #397eda;box-shadow:0 0 0 1px #fff,0 0 0 3px #397eda}.rank-math-page .is-green:not(.default){border-color:#10AC84;background:#10AC84}.rank-math-page .is-green:not(.default):hover,.rank-math-page .is-green:not(.default):focus{border-color:#0f9e79;background:#0f9e79}.rank-math-page .is-green:not(.default):focus{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #0f9e79;box-shadow:0 0 0 1px #fff,0 0 0 3px #0f9e79}.rank-math-page .button-link-delete{color:#ee6a5e;border-color:#ee6a5e}.rank-math-page .button-link,.rank-math-page .is-link{border:0;background:transparent;-webkit-box-shadow:none;box-shadow:none}.rank-math-page .button-small,.rank-math-page .is-small{font-size:12px;line-height:24px;padding:0 8px}.rank-math-page .button-xlarge,.rank-math-page .is-large{font-size:16px;line-height:44px;height:46px}.rank-math-page .button-animated{font-size:24px;line-height:82px;height:auto;min-height:30px;padding:0 40px;-webkit-transform:perspective(1px) translateZ(0);transform:perspective(1px) translateZ(0);text-align:center;border-radius:82px}.rank-math-page .button-animated i{line-height:85px}.rank-math-page .button-animated:before{content:'';-webkit-animation:hvr-ripple-out 1s linear infinite;animation:hvr-ripple-out 1s linear infinite;border:#bcdbea solid 6px;border-radius:55px;position:absolute;top:-6px;right:-6px;bottom:-6px;left:-6px}@-webkit-keyframes hvr-ripple-out{100%{opacity:0;top:-20px;right:-20px;bottom:-20px;left:-20px}}@-webkit-keyframes hvr-ripple-out{100%{opacity:0;top:-20px;right:-20px;bottom:-20px;left:-20px}}@keyframes hvr-ripple-out{100%{opacity:0;top:-20px;right:-20px;bottom:-20px;left:-20px}}.consent-box{background:#f6f7f9;padding:20px;border-radius:6px;margin-top:1rem}.consent-box input[type=checkbox]{float:left;margin-top:5px;margin-right:10px}.consent-box p{font-size:14px !important;line-height:1.7;margin:0;opacity:0.8;overflow:hidden}.rank-math-pro-badge{vertical-align:middle;color:#fff;background:#4CAF50;background:linear-gradient(100deg, #4CAF50 0%, #8baf4c 100%);font-size:11px;font-weight:normal;text-transform:uppercase;padding:4px 10px;border-radius:3px;margin-left:5px}.rank-math-pro-badge a{color:inherit;text-decoration:none}.rank-math-tabs>.cmb-row.tab-header{background:#f8f9fa;padding:30px;text-align:center;border:1px solid #b5bfc9;border-bottom:0;border-radius:6px 6px 0 0;display:block !important}.rank-math-tabs>.cmb-row.tab-header .rank-math-notice{margin:1rem 0 0}.rank-math-tabs-navigation:not(.rank-math-custom){float:left;width:200px;border-top:1px solid #b5bfc9}.rank-math-tabs-navigation:not(.rank-math-custom) a{font-size:15px;position:relative;display:block;-webkit-box-sizing:border-box;box-sizing:border-box;padding:11px 15px;text-decoration:none;color:#5b6065;outline:none;background:#f8f9fa;-webkit-box-shadow:none;box-shadow:none;-webkit-transition:0.2s all linear;transition:0.2s all linear}.rank-math-tabs-navigation:not(.rank-math-custom) a .rm-icon,.rank-math-tabs-navigation:not(.rank-math-custom) a .dashicons{font-size:14px;min-width:20px;margin-right:10px;vertical-align:-1px;text-align:center}.rank-math-tabs-navigation:not(.rank-math-custom) a.active,.rank-math-tabs-navigation:not(.rank-math-custom) a:focus,.rank-math-tabs-navigation:not(.rank-math-custom) a:hover{color:#069de3;background:#fff;border-left:3px solid}.rank-math-tabs-navigation:not(.rank-math-custom) a.active:after{position:absolute;top:0;right:-1px;width:1px;height:100%;content:'';background:#fff}.rank-math-tabs-navigation:not(.rank-math-custom) a:first-child,.rank-math-tabs-navigation:not(.rank-math-custom) a+a{border:solid #b5bfc9;border-width:0 0 1px 1px}.rank-math-tabs-navigation:not(.rank-math-custom) a:last-child{border-radius:0 0 0 6px}.rank-math-tabs-navigation:not(.rank-math-custom) .separator{font-weight:600;color:#5b6065;background:#e9ecef;display:block;padding:12px 15px 10px;border-left:1px solid #b5bfc9;border-bottom:1px solid #b5bfc9}.rank-math-tabs-navigation:not(.rank-math-custom) .separator+a{border-left:1px solid #b5bfc9;border-bottom:1px solid #b5bfc9}.rank-math-tabs-content:not(.rank-math-custom){overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;min-height:400px;margin-bottom:20px;padding:30px;border:1px solid #b5bfc9;border-radius:0;background:#fff}.rank-math-tabs-content:not(.rank-math-custom) .tab-header{display:none !important}.rank-math-tab h3:first-of-type{margin-top:0}.rank-math-tab .cmb-type-title:first-of-type{padding-top:0;text-align:center;border-top:0}.rank-math-tab .cmb2-checkbox-list li{display:inline-block;width:49%}.rank-math-tab .cmb2-checkbox-list li{display:inline-block;width:49%}.rank-math-tab .cmb-advanced-robots-list li{display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;width:33%;padding:0 1% 0 0}.rank-math-tab .cmb-advanced-robots-list li:last-child{padding-right:0}.rank-math-tab .cmb-advanced-robots-list li label{display:inline-block;margin-bottom:5px}.rank-math-tab .cmb-advanced-robots-list li label input[type='checkbox']{margin-right:2px}.rank-math-tab .cmb-advanced-robots-list li .rank-math-tooltip{margin-left:3px}.form-footer:not(.rank-math-custom){border:1px solid #b5bfc9;border-top:0;border-radius:0 0 6px 6px}.rank-math-tooltip{position:relative;cursor:pointer;color:#b5bfc9;display:inline-block;line-height:20px;height:20px}.rank-math-tooltip em{line-height:20px}.rank-math-tooltip>span{font-size:11px;font-weight:400;line-height:1.5;white-space:normal;width:200px;padding:8px 10px;-webkit-transition:all .3s ease-in-out;transition:all .3s ease-in-out;-webkit-transform:translate3d(-50%, 0, 0);transform:translate3d(-50%, 0, 0);text-align:center;pointer-events:none;opacity:0;color:#fff;border-radius:3px;background:#555d66;position:absolute;bottom:100%;left:50%}.rank-math-tooltip>span:after{content:'';-webkit-transform:translate3d(-50%, 0, 0);transform:translate3d(-50%, 0, 0);position:absolute;top:100%;left:50%;border-style:solid;height:0;width:0;border-color:#555d66 transparent transparent;border-width:8px 7px 0}.rank-math-tooltip.bottom span{top:130%;bottom:auto;display:table}.rank-math-tooltip.bottom span:after{position:absolute;top:auto;bottom:100%;left:50%;-webkit-transform:rotate(180deg) translate3d(50%, 0, 0);transform:rotate(180deg) translate3d(50%, 0, 0)}.rank-math-tooltip:hover{color:#069de3}.rank-math-tooltip:hover span{bottom:130%;opacity:1;z-index:1}.import_export .no-borders{margin-top:2rem}.rank-math-import-export>div{margin-bottom:3rem}.rank-math-import-export>div>h2{font-size:1.375rem;margin-top:0;margin-bottom:0.825rem}.rank-math-import-export>div>p.description{font-size:1rem;margin-bottom:1.5rem}.rank-math-import-export .rank-math-box-content{padding:1.875rem}.rank-math-import-export .rank-math-box-content p:first-child{margin-top:0}.rank-math-import-export .rank-math-box-content input[type=checkbox]{margin-top:-1px}.rank-math-import-export .rank-math-box-content footer{margin:1.875rem -1.875rem -1.875rem}.rank-math-import-export .rank-math-export-form .form-table{margin-top:0}.rank-math-import-export .rank-math-export-form .form-table ul{margin:0}.rank-math-import-export .rank-math-export-form th,.rank-math-import-export .rank-math-export-form td{padding:0}.rank-math-import-export .rank-math-export-form .empty-notice{padding:0 1rem}.rank-math-import-export .rank-math-settings-backup-form .list-table{background:#fff}.rank-math-box-inner>*{display:none}.rank-math-box-inner>.active-tab{display:block}.rank-math-box-tabs{border-bottom:1px solid #b5bfc9;background:#f8f9fa;border-radius:6px 6px 0 0}.rank-math-box-tabs>a{color:#5b6065;font-size:0.825rem;font-weight:500;line-height:46px;position:relative;float:left;padding:0 15px;text-decoration:none;-webkit-box-shadow:none;box-shadow:none;border-right:1px solid #b5bfc9}.rank-math-box-tabs>a:first-child{border-radius:6px 0 0 0}.rank-math-box-tabs>a:hover{color:#069de3}.rank-math-box-tabs>a.active-tab{color:#069de3;background:#fff}.rank-math-box-tabs>a.active-tab:after{position:absolute;bottom:-1px;left:0;width:100%;height:1px;content:'';background:#fff}.rank-math-box-tabs>a .rm-icon{vertical-align:-1px;margin-right:3px}.invalid,.widefat.invalid,.wp-admin .invalid,.wp-admin .widefat.invalid{border-color:#dd2c00 !important;background:pink}.invalid ~ .validation-message,.widefat.invalid ~ .validation-message,.wp-admin .invalid ~ .validation-message,.wp-admin .widefat.invalid ~ .validation-message{display:inline-block}.validation-message{font-size:12px;font-style:italic;display:none;overflow:hidden;margin-top:5px;margin-left:2px;padding:4px 8px;-webkit-transition:.28s;transition:.28s;vertical-align:middle;color:#fff;border-radius:3px;background:#dd2c00}span.input-loading{background:url("../img/loader.svg") no-repeat center 4px;background-size:contain;display:inline-block;margin:0 0 0 16px;height:24px;width:16px}body .cmb2-wrap .cmb2-id-console-profile .regular-text,body .cmb2-wrap .cmb2-id-console-profile select,body .cmb2-wrap .cmb2-id-console-authorization-code .regular-text,body .cmb2-wrap .cmb2-id-console-authorization-code select{display:inline-block;max-width:60%;margin-right:10px}body .cmb2-wrap .cmb2-id-console-authorization-code .button-secondary{margin-top:5px}.wizard-share{margin-top:3px;vertical-align:3px}.wizard-share a{font-size:12px;font-weight:700;line-height:24px;display:inline-block;margin-left:5px;padding:0 15px 0 10px;text-decoration:none;color:#fff;border-radius:3px;background:#3b5998}.wizard-share a.share-twitter{background:#55acee}.wizard-share .dashicons{font-size:16px;height:auto;vertical-align:middle}#gsc-dp-info{font-weight:bold}textarea.rank-math-code-box,textarea.rank-math-code-box:focus,div.rank-math-code-box textarea,div.rank-math-code-box textarea:focus{color:#bbbec5;background:#32344b;border-color:#32344b;width:100%}textarea.rank-math-code-box:disabled,textarea.rank-math-code-box:focus:disabled,div.rank-math-code-box textarea:disabled,div.rank-math-code-box textarea:focus:disabled{color:#b3b6be}.rank-math-code-box div.cmb-td{width:100% !important}#new_post_type{width:1020px;max-width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}.rank-math-notice{border-radius:4px}.rank-math-notice .rm-icon{font-size:18px;height:16px;vertical-align:-6px;margin-right:8px;opacity:0.8;display:inline-block}.rank-math-notice .notice-info,.rank-math-notice .notice-warning,.rank-math-notice .notice-error{border-radius:4px}.update-message p.rank-math-beta-update-notice{font-weight:bold}.update-message p.rank-math-beta-update-notice:before{content:"\f534"}.updating-message p.rank-math-beta-update-notice,.updated-message p.rank-math-beta-update-notice{display:none}.rank-math-mode-basic .rank-math-advanced-option{display:none !important}#footer-thankyou{font-style:normal}.text-center{text-align:center}.rank-math-gray-box{margin-top:2rem !important;padding:25px 35px;border-radius:5px;background:#f5f5f5}body.rtl .rank-math-header{margin-right:-20px;margin-left:0}body.rtl .rank-math-header .rank-math-logo{margin-right:0;padding-right:0;margin-left:15px;padding-left:15px}body.rtl .rank-math-header .rank-math-logo:after{right:auto;left:0}body.rtl .rank-math-header .rank-math-logo-text{margin-right:0;margin-left:auto}body.rtl .rank-math-search-options{float:left}body.rtl .rank-math-search-options .search-field{float:right}body.rtl .rank-math-search-options .search-field input{margin:0 0 0 5px}body.rtl .rank-math-wrap{margin-right:0;margin-left:40px}body.rtl .rank-math-wrap h1,body.rtl .rank-math-wrap .page-title{margin-right:0;margin-left:200px}body.rtl .rank-math-wrap .rank-math-text{margin-right:0;margin-left:200px}body.rtl.rank-math-page .dashboard-wrapper:before{right:-180px;left:auto}body.rtl.rank-math-page .nav-tab{border-right:1px solid #b5bfc9;border-left:0;margin-right:0}body.rtl.rank-math-page .nav-tab:first-child{border-radius:0 4px 0 0}body.rtl.rank-math-page .nav-tab:last-child{border-radius:4px 0 0 0;border-left:1px solid #b5bfc9}body.rtl.rank-math-page .rank-math-mode-selector a{margin-right:0;margin-left:7px}body.rtl .rank-math-tab .cmb-advanced-robots-list li{padding:0 0 0 1%}body.rtl .rank-math-tabs-navigation:not(.rank-math-custom){float:right;margin-right:0}body.rtl .rank-math-tabs-navigation:not(.rank-math-custom) a .rm-icon{margin-right:0;margin-left:10px}body.rtl .rank-math-wrap-settings .form-footer{margin-right:200px;margin-left:0}body.rtl .cmb2-wrap .cmb-type-textarea .button,body.rtl .cmb2-wrap .cmb-type-textarea-small .button{border-width:1px 1px 0 0}body.rtl .rank-math-ui .button .dashicons{margin:0 0 0 3px}.rank-math-variables-preview,.rank-math-preview-title{font-family:arial, sans-serif;max-width:600px;margin-top:15px;color:#1a0dab;border-radius:4px}.rank-math-variables-preview:empty,.rank-math-preview-title:empty{display:none}.rank-math-variables-preview:before,.rank-math-preview-title:before{font-size:10px;font-weight:600;display:block;margin:0 0 8px;content:attr(data-title);letter-spacing:.15em;text-transform:uppercase;color:#aaa}.rank-math-variables-wrap{position:relative}.rank-math-variables-wrap input,.rank-math-variables-wrap textarea{padding-right:50px !important}.cmb2-wrap .cmb-type-textarea .button.button-secondary,.cmb2-wrap .cmb-type-textarea-small .button.button-secondary{top:auto;right:1px;bottom:1px;border-width:1px 0 0 1px;border-radius:3px 0 3px 0}.cmb2-wrap .cmb-type-textarea .button.button-secondary+.rank-math-variables-dropdown,.cmb2-wrap .cmb-type-textarea-small .button.button-secondary+.rank-math-variables-dropdown{top:70px;right:0}.cmb2-wrap .cmb-type-textarea textarea,.cmb2-wrap .cmb-type-textarea-small textarea{display:block;resize:none}a.rank-math-variables-button.button-secondary{color:#858b90;line-height:40px;height:auto;padding:0 10px;border-width:0 0 0 1px;border-radius:0 3px 3px 0;-webkit-box-shadow:none;box-shadow:none;position:absolute;top:1px;right:0;bottom:1px}a.rank-math-variables-button.button-secondary .dashicons{font-size:20px;line-height:40px;height:auto;margin-right:0}a.rank-math-variables-button.button-secondary:hover{background:#f8f9fa;border-color:#b5bfc9}.rank-math-variables-dropdown{z-index:999;display:none;overflow:auto;max-width:450px;border:1px solid #b5bfc9;background:#fff;border-radius:6px;position:absolute;top:48px;right:0;height:220px;width:80%}.rank-math-variables-dropdown input[type='text']{background:#fff;margin:10px;border-color:#b5bfc9;height:34px;width:calc(100% - 20px)}.rank-math-variables-dropdown input[type='text']:focus{-webkit-box-shadow:0 0 0 1px #069de3;box-shadow:0 0 0 1px #069de3;border-color:#069de3}.rank-math-variables-dropdown ul{margin:0}.rank-math-variables-dropdown li{font-size:12px;position:relative;margin:0;padding:10px;cursor:pointer;border-bottom:1px solid #b5bfc9}.rank-math-variables-dropdown li:last-of-type{border-bottom:0}.rank-math-variables-dropdown li span{font-style:italic;display:block;padding-top:.2em;color:#888}.rank-math-variables-dropdown li:hover{background:#f8f9fa}.rank-math-variables-dropdown li:after{display:inline-block;margin-top:3px;padding:.25em .4em;content:attr(data-var);white-space:nowrap;border-radius:.25rem;background-color:#f0f2f4;position:absolute;top:4px;right:10px}.dropdown-up .rank-math-variables-dropdown{top:auto;bottom:100%}.rank-math-preview-title>div{display:inline-block;min-width:400px}.rank-math-preview-title h5{color:#1a0dab;font-size:18px;font-weight:normal;line-height:22px;margin:0}.rank-math-preview-title span{line-height:16px;height:17px;color:#006621}.list-table{border:1px solid #b5bfc9;border-radius:6px}.list-table+.notice{margin-top:10px}.list-table .empty-notice{font-weight:600;padding-left:15px}.list-table table{margin:0}.list-table th,.list-table td{padding:12px 15px;border-bottom:1px solid #b5bfc9}.list-table tr:last-child th,.list-table tr:last-child td{border:0}.list-table th strong{font-size:16px;display:block}.list-table .cmb2-checkbox-list li{display:inline-block;width:48%;margin:10px 0 0}.list-table .cmb2-checkbox-list label{font-weight:400}.list-table.with-action th{width:auto;vertical-align:middle}.list-table.with-action td:last-child{text-align:right}.list-table.with-action td:last-child .button+.button{margin-left:5px}.list-table.with-action.at-top td:last-child{vertical-align:top}.list-table.with-action .choices td{padding-top:0;text-align:left}.list-table.with-action .importer-header th,.list-table.with-action .importer-header td{border-bottom:none}@media screen and (max-width: 1020px){body .rank-math-wrap h1,body .rank-math-wrap .page-title{margin-right:0}}@media screen and (max-width: 782px){.form-table input.regular-text{height:36px}body .cmb2-wrap select{padding:0}body .rank-math-wrap .cmb-row.cmb-type-file .regular-text:not([type='hidden'])+.cmb2-upload-button{line-height:35px}body .rank-math-wrap .rank-math-search-options .search-field input{width:200px}body .rank-math-wrap .cmb2-id-console-profile select{max-width:100%}body .rank-math-wrap .cmb2-id-console-profile button{margin-top:5px}body .rank-math-wrap .rank-math-rss-variables thead th,body .rank-math-wrap .rank-math-rss-variables tbody td{margin-bottom:0}body .rank-math-wrap input[type=checkbox]:checked:before,body .rank-math-wrap .cmb2-wrap input[type=checkbox]:checked:before{font-size:30px}body #rank-math-redirection-popup .media-modal{left:0;height:100%}body .rank-math-wrap .module-listing .two-col .col{width:100%;min-width:100%;max-width:100%}body .rank-math-wrap .rank-math-systm-status td,body .rank-math-wrap .rank-math-systm-status th{border:0;border-bottom:1px solid #ededed}}@media only screen and (max-width: 768px){body .rank-math-wrap .rank-math-tabs-navigation:not(.rank-math-custom),body .rank-math-wrap.rank-math-wrap-settings .form-footer{width:100%;margin:0}}@media only screen and (max-width: 640px){body .rank-math-wrap .rank-math-tabs-content:not(.rank-math-custom){padding:15px}body .rank-math-wrap .rank-math-search-options{width:100%;margin-bottom:15px}body .cmb2-wrap .cmb-row{padding:15px 0}body .rank-math-wrap .cmb-row .cmb-th{max-width:100%;margin-bottom:5px}body .rank-math-wrap .rank-math-ui.settings-footer input{padding:0 25px}body .rank-math-wrap .rank-math-box-help.two-col .col{width:100%;min-width:100%;max-width:100%}body .rank-math-social-preview-item{padding:10px}}@media only screen and (max-width: 595px){body .rank-math-wrap h1,body .rank-math-wrap .page-title{font-size:30px}body .rank-math-wrap .cmb-group-text-only .cmb-field-list .cmb-field-list>.cmb-remove-field-row{padding-top:0}body .rank-math-wrap .cmb2-wrap .cmb-row.cmb-type-file .regular-text{width:100%;margin-top:5px;border-radius:3px}body .rank-math-metabox-wrap .rank-math-tab{padding:15px}body .rank-math-redirections-wrap .wp-heading-inline a{display:inline-block}body .rank-math-metabox-wrap .rank-math-tabs-navigation:not(.social-tabs-navigation) a .dashicons{font-size:18px;margin-right:0;padding-bottom:2px;padding-left:2px}body .rank-math-metabox-wrap .rank-math-tabs-navigation:not(.social-tabs-navigation) a .rank-math-tab-text{display:none}body .cmb2-wrap .cmb-row.cmb-row-33,body .cmb2-wrap .cmb-row.cmb-row-50{width:100%}body .cmb2-wrap .cmb-row.cmb-row-33 .cmb-th,body .cmb2-wrap .cmb-row.cmb-row-33 .cmb-td,body .cmb2-wrap .cmb-row.cmb-row-50 .cmb-th,body .cmb2-wrap .cmb-row.cmb-row-50 .cmb-td{padding:0}}.rank-math-validate-field label.invalid{font-size:12px;font-style:italic;margin-top:5px;margin-left:2px;padding:4px 8px;vertical-align:middle;color:#fff;border-radius:3px;background:#dd2c00;position:absolute;overflow:visible}.rank-math-validate-field label.invalid:after{content:"";width:0;height:0;border-style:solid;border-width:0 4px 6px 4px;border-color:transparent transparent #dd2c00 transparent;position:absolute;top:-6px;left:6px}
|
2 |
* Plugin: Rank Math
|
3 |
* URL: https://rankmath.com/wordpress/plugin/seo-suite/
|
4 |
* Name: common.css
|
5 |
+
*/:root{--rankmath-wp-adminbar-height: 0}@font-face{font-family:'Rank-Math';src:url("../fonts/Rank-Math.ttf?v1.0.56") format("truetype"),url("../fonts/Rank-Math.woff?v1.0.56") format("woff"),url("../fonts/Rank-Math.svg?v1.0.56#Rank-Math") format("svg");font-weight:normal;font-style:normal;font-display:block}[class^="rm-icon-"],[class*=" rm-icon-"]{font-family:'Rank-Math' !important;speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.rm-icon-copy:before{content:"\e902"}.rm-icon-google:before{content:"\e901"}.rm-icon-rank-math:before{content:"\e900"}.rm-icon-mobile:before{content:"\ea2e"}.rm-icon-role-manager:before{content:"\ea3a"}.rm-icon-calendar:before{content:"\ea43"}.rm-icon-sitemap:before{content:"\ea4f"}.rm-icon-import:before{content:"\ea5a"}.rm-icon-export:before{content:"\ea5d"}.rm-icon-settings:before{content:"\ea60"}.rm-icon-desktop:before{content:"\ea67"}.rm-icon-htaccess:before{content:"\ea6f"}.rm-icon-robots:before{content:"\ea70"}.rm-icon-category:before{content:"\ea76"}.rm-icon-link:before{content:"\ea83"}.rm-icon-local-seo:before{content:"\ea87"}.rm-icon-misc:before{content:"\ea8f"}.rm-icon-software:before{content:"\ea9a"}.rm-icon-image:before{content:"\eaa0"}.rm-icon-analyzer:before{content:"\eaa9"}.rm-icon-search:before{content:"\eaab"}.rm-icon-star-filled:before{content:"\eab3"}.rm-icon-star:before{content:"\eab5"}.rm-icon-trash:before{content:"\eaba"}.rm-icon-users:before{content:"\eac4"}.rm-icon-images:before{content:"\eb6a"}.rm-icon-redirection:before{content:"\eb70"}.rm-icon-video:before{content:"\eb73"}.rm-icon-analytics:before{content:"\eb87"}.rm-icon-schema:before{content:"\eb97"}.rm-icon-adsense:before{content:"\eb99"}.rm-icon-tick:before{content:"\eb9d"}.rm-icon-circle-plus:before{content:"\eb9f"}.rm-icon-eye:before{content:"\eba4"}.rm-icon-heart-filled:before{content:"\ebac"}.rm-icon-info:before{content:"\ebb4"}.rm-icon-howto:before{content:"\ebbc"}.rm-icon-faq:before{content:"\ebbd"}.rm-icon-music:before{content:"\ebc8"}.rm-icon-plus:before{content:"\ebce"}.rm-icon-help:before{content:"\ebd2"}.rm-icon-404:before{content:"\ebe8"}.rm-icon-cross:before{content:"\ebea"}.rm-icon-recipe:before{content:"\ec3b"}.rm-icon-restaurant:before{content:"\ec56"}.rm-icon-post-format:before{content:"\ec64"}.rm-icon-service:before{content:"\ec66"}.rm-icon-course:before{content:"\ec70"}.rm-icon-book:before{content:"\ec73"}.rm-icon-social:before{content:"\ec76"}.rm-icon-edit:before{content:"\ec78"}.rm-icon-page:before{content:"\ec86"}.rm-icon-arrow-up:before{content:"\ecbe"}.rm-icon-caret-down:before{content:"\ecbf"}.rm-icon-arrow-down:before{content:"\ecc6"}.rm-icon-caret-up:before{content:"\ecc7"}.rm-icon-direction:before{content:"\ecc9"}.rm-icon-stories:before{content:"\ece7"}.rm-icon-acf:before{content:"\eceb"}.rm-icon-home:before{content:"\ed0d"}.rm-icon-toolbox:before{content:"\ed1f"}.rm-icon-comments:before{content:"\ed35"}.rm-icon-job:before{content:"\ed3a"}.rm-icon-post:before{content:"\ed4d"}.rm-icon-support:before{content:"\ed64"}.rm-icon-search-console:before{content:"\ed71"}.rm-icon-cart:before{content:"\ed73"}.rm-icon-attachment:before{content:"\ed83"}.rm-icon-tag:before{content:"\ed91"}.rm-icon-instant-indexing:before{content:"\ebe1"}.rank-math-header{display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:20px;margin-left:-20px;padding:13px 15px;border-bottom:1px solid #b5bfc9;background:#fff;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap}.rank-math-header .rank-math-logo{position:relative;margin-right:15px;padding-right:15px}.rank-math-header .rank-math-logo:after{position:absolute;top:0;right:0;width:1px;height:66px;margin:-12px 0;content:'';background:#b5bfc9}.rank-math-header .rank-math-logo a{text-decoration:none}.rank-math-header .rank-math-logo a:focus{-webkit-box-shadow:none;box-shadow:none}.rank-math-header .rank-math-logo i{font-size:28px;line-height:48px;display:block;width:40px;height:40px;text-align:center;color:#fff;border-radius:5px;background:linear-gradient(-135deg, #ff4492, #434e8f);text-shadow:0 1px 3px rgba(0,0,0,0.1);position:relative}@supports (-moz-appearance: none){.rank-math-header .rank-math-logo i{line-height:40px}}.rank-math-header .rank-math-logo-text{font-size:22px;font-weight:500;margin:11px auto 0 0}.rank-math-header .rank-math-logo-text span{vertical-align:4px}.rank-math-header a.rank-math-help{font-size:18px;line-height:36px;display:-webkit-box;display:-ms-flexbox;display:flex;margin-left:5px;padding:0 10px;color:#858b90;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column wrap;flex-flow:column wrap;-ms-flex-pack:distribute;justify-content:space-around}.rank-math-header a.rank-math-help:focus,.rank-math-header a.rank-math-help:hover{color:#069de3;border-color:#069de3}.rank-math-header a.rank-math-help:focus{-webkit-box-shadow:0 0 0 1px #069de3;box-shadow:0 0 0 1px #069de3}.rank-math-header a.rank-math-help i{height:24px}.rank-math-header a.rank-math-help i:before{vertical-align:-3px}@supports (-moz-appearance: none){.rank-math-header a.rank-math-help i:before{vertical-align:initial}}.rank-math-search-options .search-field input{display:block;margin:0 5px 0 0;padding:10px 15px;border-color:#b5bfc9;border-radius:3px;height:40px;width:150px}.rank-math-search-options{position:relative}.rank-math-search-options .search-field{position:relative;float:left}.rank-math-search-options .search-field input{width:275px;padding-left:42px;color:#858b90}.rank-math-search-options .search-field input:hover{border-color:#069de3}.rank-math-search-options .search-field input:focus{border-color:#069de3;-webkit-box-shadow:0 0 0 1px #069de3;box-shadow:0 0 0 1px #069de3}.rank-math-search-options .search-field i{color:#858b90;font-weight:bold;-webkit-transform:translateY(-50%);transform:translateY(-50%);position:absolute;top:50%;left:13px}.rank-math-search-options .search-field em{right:8px;left:auto;display:none}.searching .rank-math-search-options .search-field em{display:block}.rank-math-search-options select{line-height:38px;padding:0 15px;color:#858b90;border:1px solid #b5bfc9;background:#f6f8f7}.rank-math-search-options select:hover{color:#069de3;border-color:#069de3}.rank-math-search-options select:focus{border-color:#069de3;-webkit-box-shadow:0 0 0 1px #069de3;box-shadow:0 0 0 1px #069de3}.rank-math-wrap-settings.search-no-results .rank-math-setting-search-empty{font-size:2em;font-weight:400;display:block;padding:25px 0;text-align:center}.rank-math-search-dropdown{z-index:10;display:none;overflow:auto;max-width:450px;border:1px solid #b5bfc9;border-radius:3px;background:#fff;height:260px;width:100%;position:absolute;top:48px;right:0}.rank-math-search-dropdown .cmb-row{padding:10px;cursor:pointer;border-bottom:1px solid #b5bfc9}.rank-math-search-dropdown .cmb-row .cmb2-metabox-description{font-size:12px}.rank-math-search-dropdown .cmb-row:hover{background:#f6f6f6}.rank-math-search-dropdown.empty:before{font-size:1.2em;font-style:italic;display:block;padding:20px;content:'Nothing found.'}.rank-math-page{overflow-x:hidden;background:#e1e1e1}.rank-math-page div.notice:not(.rank-math-notice):not(.settings-error):not(.cmb-type-notice),.rank-math-page .update-nag{display:none}.rank-math-page .rank-math-breadcrumbs{font-size:13px;font-weight:500;line-height:1;text-transform:uppercase;color:#7f868d}.rank-math-page .rank-math-breadcrumbs-wrap{display:-webkit-box;display:-ms-flexbox;display:flex;width:1020px;max-width:100%;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.rank-math-page .rank-math-breadcrumbs .active{color:#242628}.rank-math-page .rank-math-breadcrumbs .divider{margin:0 5px}.rank-math-page .rank-math-mode-selector{font-size:14px;margin:5px 10px 0 0}.rank-math-page .rank-math-mode-selector a{display:inline-block;padding:5px 0 1px;text-decoration:none;color:#7f868d}.rank-math-page .rank-math-mode-selector a:hover,.rank-math-page .rank-math-mode-selector a.active{color:#242628;border-bottom:1px solid}.rank-math-page .rank-math-mode-selector a:first-child{margin-right:7px}.rank-math-page div.rank-math-tab-nav{position:relative;z-index:1;display:-webkit-box;display:-ms-flexbox;display:flex;overflow-x:auto;margin-bottom:-1px;white-space:nowrap;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row;flex-flow:row}@media screen and (min-width: 64rem){.rank-math-page div.rank-math-tab-nav{overflow-x:visible}}.rank-math-page .rank-math-tools-wrap div.rank-math-tab-nav{width:1020px}.rank-math-page .rank-math-tab:not(.rank-math-options-panel-content){font-size:15px;font-weight:500;line-height:39px;position:relative;margin:0;padding:0 15px;text-decoration:none;color:#5b646c;border:1px solid #b5bfc9;border-right:0;border-bottom:0;border-bottom:1px solid #b5bfc9;background:#f0f2f4}.rank-math-page .rank-math-tab:not(.rank-math-options-panel-content):hover,.rank-math-page .rank-math-tab:not(.rank-math-options-panel-content):focus,.rank-math-page .rank-math-tab:not(.rank-math-options-panel-content).is-active{color:#1a1e22;outline:none;background:#f8f9fa;-webkit-box-shadow:none;box-shadow:none}.rank-math-page .rank-math-tab:not(.rank-math-options-panel-content).is-active{border-bottom:1px solid #f8f9fa}.rank-math-page .rank-math-tab:not(.rank-math-options-panel-content):first-child{border-radius:4px 0 0 0}.rank-math-page .rank-math-tab:not(.rank-math-options-panel-content):last-of-type{border-right:1px solid #b5bfc9;border-radius:0 4px 0 0}.rank-math-page #wpwrap{overflow:hidden;background:#f0f2f4}.rank-math-page .dashboard-wrapper{position:relative;margin-bottom:.5rem;padding:30px 0;border-radius:0 6px 6px 6px;background:#f8f9fa}.rank-math-page .dashboard-wrapper:before{position:absolute;top:0;left:-180px;overflow:hidden;width:200vw;height:100%;padding-bottom:50px;content:'';border-top:1px solid #b5bfc9;border-bottom:1px solid #b5bfc9;background:#f8f9fa}.rank-math-page .dashboard-wrapper>div{position:relative}.rank-math-page .dashboard-wrapper>div>h2{margin-top:0;color:#242628}.rank-math-page .dashboard-wrapper>div>.description{font-size:1rem;margin-bottom:1.5rem}.rank-math-page.folded .dashboard-wrapper:before{left:-56px}.rank-math-page #wpfooter{padding:15px 20px;border-top:1px solid #b5bfc9;background:#fff}.rank-math-wrap{font-size:15px;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;margin:20px 10px 0 0;color:#242628}@media screen and (min-width: 48rem){.rank-math-wrap{margin:20px 40px 0 0}}.rank-math-wrap .container{width:1020px;max-width:100%}.rank-math-wrap p,.rank-math-wrap .description{font-size:14px;font-style:normal;line-height:1.5}.rank-math-wrap h1,.rank-math-wrap h2,.rank-math-wrap h3,.rank-math-wrap h4,.rank-math-wrap h5,.rank-math-wrap h6{color:#242628}.rank-math-wrap .page-title,.rank-math-wrap h1{font-size:2.8em;font-weight:400;line-height:1.2em;margin:.2em 200px 0 0;padding:0;color:#242628}.rank-math-wrap>h2{font-size:2.7em;font-weight:300;line-height:1.3;margin:40px 0 .6em;text-align:center}.rank-math-wrap .page-title{font-size:2em;font-weight:400;line-height:1;margin:35px 0 20px}.rank-math-wrap h3{font-size:1.375rem;line-height:1.5;margin:1.25em 0 .6em}.rank-math-wrap h3.health-check-accordion-heading{font-size:inherit;line-height:inherit;margin:0;background:#f8f9fa}.rank-math-wrap h3.health-check-accordion-heading>button{background:transparent}.rank-math-wrap ol li p{font-size:14px;font-weight:400}.rank-math-wrap .rank-math-text{font-size:19px;font-weight:400;line-height:1.6em;min-height:40px;margin:1.4em 200px 1em 0;color:#555d66}@media only screen and (max-width: 500px){.rank-math-wrap .rank-math-text,.rank-math-wrap h1{margin-right:0}.rank-math-wrap .rank-math-text{margin-bottom:.25em}}.two-col{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;-ms-flex-wrap:wrap;flex-wrap:wrap;justify-content:space-between}.two-col .col{max-width:100%;-webkit-box-flex:0;-ms-flex:0 0 100%;flex:0 0 100%}@media screen and (min-width: 48rem){.two-col .col{-webkit-box-sizing:border-box;box-sizing:border-box;width:495px;max-width:48.53%}}.rank-math-box{position:relative;margin-bottom:1rem;background:#fff;border:1px solid #b5bfc9;border-radius:6px;padding:1.875rem}.rank-math-box.no-borders{border:0;padding:0;background:transparent}.rank-math-box.no-padding{padding:0}.rank-math-box.no-padding footer{margin:1.875rem 0 0}.rank-math-box.switch-at-top .rank-math-switch{position:absolute;top:-12px;right:0}.rank-math-box.switch-at-top header{padding:0 20px}.rank-math-box.switch-at-top header h3{padding-top:14px}.rank-math-box header{line-height:55px}.rank-math-box header h3{color:#242628;position:relative;z-index:1;margin:0 0 20px}.rank-math-box header p{color:#7f868d;margin-top:0;padding:0 10px}.rank-math-box-content form .frm-submit p{display:inline-block;margin-left:10px}.rank-math-box footer{background:#f8f9fa;padding:1.25rem 1.875rem;margin:1.875rem -1.875rem -1.875rem;border:0;border-top:1px solid #b5bfc9;border-radius:0 0 6px 6px}.rank-math-page .button,.rank-math-page .button-secondary,.rank-math-page .is-secondary{font-size:14px;line-height:38px;height:auto;min-height:30px;padding:0 20px;-webkit-transition:.25s all linear;transition:.25s all linear;color:#6b7278;border:1px solid #7f868d;border-radius:3px;background:#f8f9fa;-webkit-box-shadow:none;box-shadow:none}.rank-math-page .button.active,.rank-math-page .button-secondary.active,.rank-math-page .is-secondary.active{color:#61676d;border-color:#7f868d;background:#f8f9fa;-webkit-box-shadow:inset 0 2px 5px -3px #7f8292;box-shadow:inset 0 2px 5px -3px #7f8292}.rank-math-page .button:focus,.rank-math-page .button:hover,.rank-math-page .button-secondary:focus,.rank-math-page .button-secondary:hover,.rank-math-page .is-secondary:focus,.rank-math-page .is-secondary:hover{color:#61676d;border-color:#069de3;background:#f8f9fa}.rank-math-page .button:focus,.rank-math-page .button-secondary:focus,.rank-math-page .is-secondary:focus{border-color:#069de3;-webkit-box-shadow:0 0 0 1px #069de3;box-shadow:0 0 0 1px #069de3}.rank-math-page .button .dashicons,.rank-math-page .button-secondary .dashicons,.rank-math-page .is-secondary .dashicons{margin:0 3px 0 0}.rank-math-page .button.disabled,.rank-math-page .button-secondary.disabled,.rank-math-page .is-secondary.disabled{pointer-events:none}.rank-math-page .button-primary:not(.default),.rank-math-page .is-primary{color:#fff;border-color:#069de3;background:#069de3;text-shadow:none}.rank-math-page .button-primary:not(.default):focus,.rank-math-page .button-primary:not(.default):hover,.rank-math-page .is-primary:focus,.rank-math-page .is-primary:hover{color:#fff;border-color:#08a7f1;background:#08a7f1}.rank-math-page .button-primary:not(.default):focus,.rank-math-page .is-primary:focus{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #069de3;box-shadow:0 0 0 1px #fff,0 0 0 3px #069de3}.rank-math-page .button-primary:not(.default)[disabled],.rank-math-page .is-primary[disabled]{border-color:#069de3 !important;background:#069de3 !important}.rank-math-page .is-blue:not(.default){border-color:#4e8cde;background:#4e8cde}.rank-math-page .is-blue:not(.default):hover,.rank-math-page .is-blue:not(.default):focus{border-color:#397eda;background:#397eda}.rank-math-page .is-blue:not(.default):focus{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #397eda;box-shadow:0 0 0 1px #fff,0 0 0 3px #397eda}.rank-math-page .is-green:not(.default){border-color:#10AC84;background:#10AC84}.rank-math-page .is-green:not(.default):hover,.rank-math-page .is-green:not(.default):focus{border-color:#0f9e79;background:#0f9e79}.rank-math-page .is-green:not(.default):focus{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #0f9e79;box-shadow:0 0 0 1px #fff,0 0 0 3px #0f9e79}.rank-math-page .button-link-delete{color:#ee6a5e;border-color:#ee6a5e}.rank-math-page .button-link,.rank-math-page .is-link{border:0;background:transparent;-webkit-box-shadow:none;box-shadow:none}.rank-math-page .button-small,.rank-math-page .is-small{font-size:12px;line-height:24px;padding:0 8px}.rank-math-page .button-xlarge,.rank-math-page .is-large{font-size:16px;line-height:44px;height:46px}.rank-math-page .button-animated{font-size:24px;line-height:82px;height:auto;min-height:30px;padding:0 40px;-webkit-transform:perspective(1px) translateZ(0);transform:perspective(1px) translateZ(0);text-align:center;border-radius:82px}.rank-math-page .button-animated i{line-height:85px}.rank-math-page .button-animated:before{content:'';-webkit-animation:hvr-ripple-out 1s linear infinite;animation:hvr-ripple-out 1s linear infinite;border:#bcdbea solid 6px;border-radius:55px;position:absolute;top:-6px;right:-6px;bottom:-6px;left:-6px}@-webkit-keyframes hvr-ripple-out{100%{opacity:0;top:-20px;right:-20px;bottom:-20px;left:-20px}}@-webkit-keyframes hvr-ripple-out{100%{opacity:0;top:-20px;right:-20px;bottom:-20px;left:-20px}}@keyframes hvr-ripple-out{100%{opacity:0;top:-20px;right:-20px;bottom:-20px;left:-20px}}.consent-box{background:#f6f7f9;padding:20px;border-radius:6px;margin-top:1rem}.consent-box input[type=checkbox]{float:left;margin-top:5px;margin-right:10px}.consent-box p{font-size:14px !important;line-height:1.7;margin:0;opacity:0.8;overflow:hidden}.rank-math-pro-badge{vertical-align:middle;color:#fff;background:#4CAF50;background:linear-gradient(100deg, #4CAF50 0%, #8baf4c 100%);font-size:11px;font-weight:normal;text-transform:uppercase;padding:4px 10px;border-radius:3px;margin-left:5px}.rank-math-pro-badge.business{background:#253142;color:#F7D070}.rank-math-pro-badge a{color:inherit;text-decoration:none}.rank-math-tabs>.cmb-row.tab-header{background:#f8f9fa;padding:30px;text-align:center;border:1px solid #b5bfc9;border-bottom:0;border-radius:6px 6px 0 0;display:block !important}.rank-math-tabs>.cmb-row.tab-header .rank-math-notice{margin:1rem 0 0}.rank-math-tabs-navigation:not(.rank-math-custom){float:left;width:200px;border-top:1px solid #b5bfc9}.rank-math-tabs-navigation:not(.rank-math-custom) a{font-size:15px;position:relative;display:block;-webkit-box-sizing:border-box;box-sizing:border-box;padding:11px 15px;text-decoration:none;color:#5b6065;outline:none;background:#f8f9fa;-webkit-box-shadow:none;box-shadow:none;-webkit-transition:0.2s all linear;transition:0.2s all linear}.rank-math-tabs-navigation:not(.rank-math-custom) a .rm-icon,.rank-math-tabs-navigation:not(.rank-math-custom) a .dashicons{font-size:14px;min-width:20px;margin-right:10px;vertical-align:-1px;text-align:center}.rank-math-tabs-navigation:not(.rank-math-custom) a.active,.rank-math-tabs-navigation:not(.rank-math-custom) a:focus,.rank-math-tabs-navigation:not(.rank-math-custom) a:hover{color:#069de3;background:#fff;border-left:3px solid}.rank-math-tabs-navigation:not(.rank-math-custom) a.active:after{position:absolute;top:0;right:-1px;width:1px;height:100%;content:'';background:#fff}.rank-math-tabs-navigation:not(.rank-math-custom) a:first-child,.rank-math-tabs-navigation:not(.rank-math-custom) a+a{border:solid #b5bfc9;border-width:0 0 1px 1px}.rank-math-tabs-navigation:not(.rank-math-custom) a:last-child{border-radius:0 0 0 6px}.rank-math-tabs-navigation:not(.rank-math-custom) .separator{font-weight:600;color:#5b6065;background:#e9ecef;display:block;padding:12px 15px 10px;border-left:1px solid #b5bfc9;border-bottom:1px solid #b5bfc9}.rank-math-tabs-navigation:not(.rank-math-custom) .separator+a{border-left:1px solid #b5bfc9;border-bottom:1px solid #b5bfc9}.rank-math-tabs-content:not(.rank-math-custom){overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;min-height:400px;margin-bottom:20px;padding:30px;border:1px solid #b5bfc9;border-radius:0;background:#fff}.rank-math-tabs-content:not(.rank-math-custom) .tab-header{display:none !important}.rank-math-tab h3:first-of-type{margin-top:0}.rank-math-tab .cmb-type-title:first-of-type{padding-top:0;text-align:center;border-top:0}.rank-math-tab .cmb2-checkbox-list li{display:inline-block;width:49%}.rank-math-tab .cmb2-checkbox-list li{display:inline-block;width:49%}.rank-math-tab .cmb-advanced-robots-list li{display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;width:33%;padding:0 1% 0 0}.rank-math-tab .cmb-advanced-robots-list li:last-child{padding-right:0}.rank-math-tab .cmb-advanced-robots-list li label{display:inline-block;margin-bottom:5px}.rank-math-tab .cmb-advanced-robots-list li label input[type='checkbox']{margin-right:2px}.rank-math-tab .cmb-advanced-robots-list li .rank-math-tooltip{margin-left:3px}.form-footer:not(.rank-math-custom){border:1px solid #b5bfc9;border-top:0;border-radius:0 0 6px 6px}.rank-math-tooltip{position:relative;cursor:pointer;color:#b5bfc9;display:inline-block;line-height:20px;height:20px}.rank-math-tooltip em{line-height:20px}.rank-math-tooltip>span{font-size:11px;font-weight:400;line-height:1.5;white-space:normal;width:200px;padding:8px 10px;-webkit-transition:all .3s ease-in-out;transition:all .3s ease-in-out;-webkit-transform:translate3d(-50%, 0, 0);transform:translate3d(-50%, 0, 0);text-align:center;pointer-events:none;opacity:0;color:#fff;border-radius:3px;background:#555d66;position:absolute;bottom:100%;left:50%}.rank-math-tooltip>span:after{content:'';-webkit-transform:translate3d(-50%, 0, 0);transform:translate3d(-50%, 0, 0);position:absolute;top:100%;left:50%;border-style:solid;height:0;width:0;border-color:#555d66 transparent transparent;border-width:8px 7px 0}.rank-math-tooltip.bottom span{top:130%;bottom:auto;display:table}.rank-math-tooltip.bottom span:after{position:absolute;top:auto;bottom:100%;left:50%;-webkit-transform:rotate(180deg) translate3d(50%, 0, 0);transform:rotate(180deg) translate3d(50%, 0, 0)}.rank-math-tooltip:hover{color:#069de3}.rank-math-tooltip:hover span{bottom:130%;opacity:1;z-index:1}.import_export .no-borders{margin-top:2rem}.rank-math-import-export>div{margin-bottom:3rem}.rank-math-import-export>div>h2{font-size:1.375rem;margin-top:0;margin-bottom:0.825rem}.rank-math-import-export>div>p.description{font-size:1rem;margin-bottom:1.5rem}.rank-math-import-export .rank-math-box-content{padding:1.875rem}.rank-math-import-export .rank-math-box-content p:first-child{margin-top:0}.rank-math-import-export .rank-math-box-content input[type=checkbox]{margin-top:-1px}.rank-math-import-export .rank-math-box-content footer{margin:1.875rem -1.875rem -1.875rem}.rank-math-import-export .rank-math-export-form .form-table{margin-top:0}.rank-math-import-export .rank-math-export-form .form-table ul{margin:0}.rank-math-import-export .rank-math-export-form th,.rank-math-import-export .rank-math-export-form td{padding:0}.rank-math-import-export .rank-math-export-form .empty-notice{padding:0 1rem}.rank-math-import-export .rank-math-settings-backup-form .list-table{background:#fff}.rank-math-box-inner>*{display:none}.rank-math-box-inner>.active-tab{display:block}.rank-math-box-tabs{border-bottom:1px solid #b5bfc9;background:#f8f9fa;border-radius:6px 6px 0 0}.rank-math-box-tabs>a{color:#5b6065;font-size:0.825rem;font-weight:500;line-height:46px;position:relative;float:left;padding:0 15px;text-decoration:none;-webkit-box-shadow:none;box-shadow:none;border-right:1px solid #b5bfc9}.rank-math-box-tabs>a:first-child{border-radius:6px 0 0 0}.rank-math-box-tabs>a:hover{color:#069de3}.rank-math-box-tabs>a.active-tab{color:#069de3;background:#fff}.rank-math-box-tabs>a.active-tab:after{position:absolute;bottom:-1px;left:0;width:100%;height:1px;content:'';background:#fff}.rank-math-box-tabs>a .rm-icon{vertical-align:-1px;margin-right:3px}.invalid,.widefat.invalid,.wp-admin .invalid,.wp-admin .widefat.invalid{border-color:#dd2c00 !important;background:pink}.invalid ~ .validation-message,.widefat.invalid ~ .validation-message,.wp-admin .invalid ~ .validation-message,.wp-admin .widefat.invalid ~ .validation-message{display:inline-block}.validation-message{font-size:12px;font-style:italic;display:none;overflow:hidden;margin-top:5px;margin-left:2px;padding:4px 8px;-webkit-transition:.28s;transition:.28s;vertical-align:middle;color:#fff;border-radius:3px;background:#dd2c00}span.input-loading{background:url("../img/loader.svg") no-repeat center 4px;background-size:contain;display:inline-block;margin:0 0 0 16px;height:24px;width:16px}body .cmb2-wrap .cmb2-id-console-profile .regular-text,body .cmb2-wrap .cmb2-id-console-profile select,body .cmb2-wrap .cmb2-id-console-authorization-code .regular-text,body .cmb2-wrap .cmb2-id-console-authorization-code select{display:inline-block;max-width:60%;margin-right:10px}body .cmb2-wrap .cmb2-id-console-authorization-code .button-secondary{margin-top:5px}.wizard-share{margin-top:3px;vertical-align:3px}.wizard-share a{font-size:12px;font-weight:700;line-height:24px;display:inline-block;margin-left:5px;padding:0 15px 0 10px;text-decoration:none;color:#fff;border-radius:3px;background:#3b5998}.wizard-share a.share-twitter{background:#55acee}.wizard-share .dashicons{font-size:16px;height:auto;vertical-align:middle}#gsc-dp-info{font-weight:bold}textarea.rank-math-code-box,textarea.rank-math-code-box:focus,div.rank-math-code-box textarea,div.rank-math-code-box textarea:focus{color:#bbbec5;background:#32344b;border-color:#32344b;width:100%}textarea.rank-math-code-box:disabled,textarea.rank-math-code-box:focus:disabled,div.rank-math-code-box textarea:disabled,div.rank-math-code-box textarea:focus:disabled{color:#b3b6be}.rank-math-code-box div.cmb-td{width:100% !important}#new_post_type{width:1020px;max-width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}.rank-math-notice{border-radius:4px}.rank-math-notice .rm-icon{font-size:18px;height:16px;vertical-align:-6px;margin-right:8px;opacity:0.8;display:inline-block}.rank-math-notice .notice-info,.rank-math-notice .notice-warning,.rank-math-notice .notice-error{border-radius:4px}.update-message p.rank-math-beta-update-notice{font-weight:bold}.update-message p.rank-math-beta-update-notice:before{content:"\f534"}.updating-message p.rank-math-beta-update-notice,.updated-message p.rank-math-beta-update-notice{display:none}.rank-math-mode-basic .rank-math-advanced-option{display:none !important}#footer-thankyou{font-style:normal}.text-center{text-align:center}.rank-math-gray-box{margin-top:2rem !important;padding:25px 35px;border-radius:5px;background:#f5f5f5}body.rtl .rank-math-header{margin-right:-20px;margin-left:0}body.rtl .rank-math-header .rank-math-logo{margin-right:0;padding-right:0;margin-left:15px;padding-left:15px}body.rtl .rank-math-header .rank-math-logo:after{right:auto;left:0}body.rtl .rank-math-header .rank-math-logo-text{margin-right:0;margin-left:auto}body.rtl .rank-math-search-options{float:left}body.rtl .rank-math-search-options .search-field{float:right}body.rtl .rank-math-search-options .search-field input{margin:0 0 0 5px}body.rtl .rank-math-wrap{margin-right:0;margin-left:40px}body.rtl .rank-math-wrap h1,body.rtl .rank-math-wrap .page-title{margin-right:0;margin-left:200px}body.rtl .rank-math-wrap .rank-math-text{margin-right:0;margin-left:200px}body.rtl.rank-math-page .dashboard-wrapper:before{right:-180px;left:auto}body.rtl.rank-math-page .nav-tab{border-right:1px solid #b5bfc9;border-left:0;margin-right:0}body.rtl.rank-math-page .nav-tab:first-child{border-radius:0 4px 0 0}body.rtl.rank-math-page .nav-tab:last-child{border-radius:4px 0 0 0;border-left:1px solid #b5bfc9}body.rtl.rank-math-page .rank-math-mode-selector a{margin-right:0;margin-left:7px}body.rtl .rank-math-tab .cmb-advanced-robots-list li{padding:0 0 0 1%}body.rtl .rank-math-tabs-navigation:not(.rank-math-custom){float:right;margin-right:0}body.rtl .rank-math-tabs-navigation:not(.rank-math-custom) a .rm-icon{margin-right:0;margin-left:10px}body.rtl .rank-math-wrap-settings .form-footer{margin-right:200px;margin-left:0}body.rtl .cmb2-wrap .cmb-type-textarea .button,body.rtl .cmb2-wrap .cmb-type-textarea-small .button{border-width:1px 1px 0 0}body.rtl .rank-math-ui .button .dashicons{margin:0 0 0 3px}.rank-math-variables-preview,.rank-math-preview-title{font-family:arial, sans-serif;max-width:600px;margin-top:15px;color:#1a0dab;border-radius:4px}.rank-math-variables-preview:empty,.rank-math-preview-title:empty{display:none}.rank-math-variables-preview:before,.rank-math-preview-title:before{font-size:10px;font-weight:600;display:block;margin:0 0 8px;content:attr(data-title);letter-spacing:.15em;text-transform:uppercase;color:#aaa}.rank-math-variables-wrap{position:relative}.rank-math-variables-wrap input,.rank-math-variables-wrap textarea{padding-right:50px !important}.cmb2-wrap .cmb-type-textarea .button.button-secondary,.cmb2-wrap .cmb-type-textarea-small .button.button-secondary{top:auto;right:1px;bottom:1px;border-width:1px 0 0 1px;border-radius:3px 0 3px 0}.cmb2-wrap .cmb-type-textarea .button.button-secondary+.rank-math-variables-dropdown,.cmb2-wrap .cmb-type-textarea-small .button.button-secondary+.rank-math-variables-dropdown{top:70px;right:0}.cmb2-wrap .cmb-type-textarea textarea,.cmb2-wrap .cmb-type-textarea-small textarea{display:block;resize:none}a.rank-math-variables-button.button-secondary{color:#858b90;line-height:40px;height:auto;padding:0 10px;border-width:0 0 0 1px;border-radius:0 3px 3px 0;-webkit-box-shadow:none;box-shadow:none;position:absolute;top:1px;right:0;bottom:1px}a.rank-math-variables-button.button-secondary .dashicons{font-size:20px;line-height:40px;height:auto;margin-right:0}a.rank-math-variables-button.button-secondary:hover{background:#f8f9fa;border-color:#b5bfc9}.rank-math-variables-dropdown{z-index:999;display:none;overflow:auto;max-width:450px;border:1px solid #b5bfc9;background:#fff;border-radius:6px;position:absolute;top:48px;right:0;height:220px;width:80%}.rank-math-variables-dropdown input[type='text']{background:#fff;margin:10px;border-color:#b5bfc9;height:34px;width:calc(100% - 20px)}.rank-math-variables-dropdown input[type='text']:focus{-webkit-box-shadow:0 0 0 1px #069de3;box-shadow:0 0 0 1px #069de3;border-color:#069de3}.rank-math-variables-dropdown ul{margin:0}.rank-math-variables-dropdown li{font-size:12px;position:relative;margin:0;padding:10px;cursor:pointer;border-bottom:1px solid #b5bfc9}.rank-math-variables-dropdown li:last-of-type{border-bottom:0}.rank-math-variables-dropdown li span{font-style:italic;display:block;padding-top:.2em;color:#888}.rank-math-variables-dropdown li:hover{background:#f8f9fa}.rank-math-variables-dropdown li:after{display:inline-block;margin-top:3px;padding:.25em .4em;content:attr(data-var);white-space:nowrap;border-radius:.25rem;background-color:#f0f2f4;position:absolute;top:4px;right:10px}.dropdown-up .rank-math-variables-dropdown{top:auto;bottom:100%}.rank-math-preview-title>div{display:inline-block;min-width:400px}.rank-math-preview-title h5{color:#1a0dab;font-size:18px;font-weight:normal;line-height:22px;margin:0}.rank-math-preview-title span{line-height:16px;height:17px;color:#006621}.list-table{border:1px solid #b5bfc9;border-radius:6px}.list-table+.notice{margin-top:10px}.list-table .empty-notice{font-weight:600;padding-left:15px}.list-table table{margin:0}.list-table th,.list-table td{padding:12px 15px;border-bottom:1px solid #b5bfc9}.list-table tr:last-child th,.list-table tr:last-child td{border:0}.list-table th strong{font-size:16px;display:block}.list-table .cmb2-checkbox-list li{display:inline-block;width:48%;margin:10px 0 0}.list-table .cmb2-checkbox-list label{font-weight:400}.list-table.with-action th{width:auto;vertical-align:middle}.list-table.with-action td:last-child{text-align:right}.list-table.with-action td:last-child .button+.button{margin-left:5px}.list-table.with-action.at-top td:last-child{vertical-align:top}.list-table.with-action .choices td{padding-top:0;text-align:left}.list-table.with-action .importer-header th,.list-table.with-action .importer-header td{border-bottom:none}@media screen and (max-width: 1020px){body .rank-math-wrap h1,body .rank-math-wrap .page-title{margin-right:0}}@media screen and (max-width: 782px){.form-table input.regular-text{height:36px}body .cmb2-wrap select{padding:0}body .rank-math-wrap .cmb-row.cmb-type-file .regular-text:not([type='hidden'])+.cmb2-upload-button{line-height:35px}body .rank-math-wrap .rank-math-search-options .search-field input{width:200px}body .rank-math-wrap .cmb2-id-console-profile select{max-width:100%}body .rank-math-wrap .cmb2-id-console-profile button{margin-top:5px}body .rank-math-wrap .rank-math-rss-variables thead th,body .rank-math-wrap .rank-math-rss-variables tbody td{margin-bottom:0}body .rank-math-wrap input[type=checkbox]:checked:before,body .rank-math-wrap .cmb2-wrap input[type=checkbox]:checked:before{font-size:30px}body #rank-math-redirection-popup .media-modal{left:0;height:100%}body .rank-math-wrap .module-listing .two-col .col{width:100%;min-width:100%;max-width:100%}body .rank-math-wrap .rank-math-systm-status td,body .rank-math-wrap .rank-math-systm-status th{border:0;border-bottom:1px solid #ededed}}@media only screen and (max-width: 768px){body .rank-math-wrap .rank-math-tabs-navigation:not(.rank-math-custom),body .rank-math-wrap.rank-math-wrap-settings .form-footer{width:100%;margin:0}}@media only screen and (max-width: 640px){body .rank-math-wrap .rank-math-tabs-content:not(.rank-math-custom){padding:15px}body .rank-math-wrap .rank-math-search-options{width:100%;margin-bottom:15px}body .cmb2-wrap .cmb-row{padding:15px 0}body .rank-math-wrap .cmb-row .cmb-th{max-width:100%;margin-bottom:5px}body .rank-math-wrap .rank-math-ui.settings-footer input{padding:0 25px}body .rank-math-wrap .rank-math-box-help.two-col .col{width:100%;min-width:100%;max-width:100%}body .rank-math-social-preview-item{padding:10px}}@media only screen and (max-width: 595px){body .rank-math-wrap h1,body .rank-math-wrap .page-title{font-size:30px}body .rank-math-wrap .cmb-group-text-only .cmb-field-list .cmb-field-list>.cmb-remove-field-row{padding-top:0}body .rank-math-wrap .cmb2-wrap .cmb-row.cmb-type-file .regular-text{width:100%;margin-top:5px;border-radius:3px}body .rank-math-metabox-wrap .rank-math-tab{padding:15px}body .rank-math-redirections-wrap .wp-heading-inline a{display:inline-block}body .rank-math-metabox-wrap .rank-math-tabs-navigation:not(.social-tabs-navigation) a .dashicons{font-size:18px;margin-right:0;padding-bottom:2px;padding-left:2px}body .rank-math-metabox-wrap .rank-math-tabs-navigation:not(.social-tabs-navigation) a .rank-math-tab-text{display:none}body .cmb2-wrap .cmb-row.cmb-row-33,body .cmb2-wrap .cmb-row.cmb-row-50{width:100%}body .cmb2-wrap .cmb-row.cmb-row-33 .cmb-th,body .cmb2-wrap .cmb-row.cmb-row-33 .cmb-td,body .cmb2-wrap .cmb-row.cmb-row-50 .cmb-th,body .cmb2-wrap .cmb-row.cmb-row-50 .cmb-td{padding:0}}.rank-math-validate-field label.invalid{font-size:12px;font-style:italic;margin-top:5px;margin-left:2px;padding:4px 8px;vertical-align:middle;color:#fff;border-radius:3px;background:#dd2c00;position:absolute;overflow:visible}.rank-math-validate-field label.invalid:after{content:"";width:0;height:0;border-style:solid;border-width:0 4px 6px 4px;border-color:transparent transparent #dd2c00 transparent;position:absolute;top:-6px;left:6px}
|
@@ -2,4 +2,4 @@
|
|
2 |
* Plugin: Rank Math
|
3 |
* URL: https://rankmath.com/wordpress/plugin/seo-suite/
|
4 |
* Name: dashboard.css
|
5 |
-
*/:root{--rankmath-wp-adminbar-height: 0}.rank-math-list-icon{margin:0 0 1.5rem}.rank-math-list-icon li{margin-bottom:18px;overflow:hidden}.rank-math-list-icon li a{text-decoration:none;color:#7f868d}.rank-math-list-icon li a:hover strong{color:#069de3}.rank-math-list-icon li a:focus{outline:none;-webkit-box-shadow:none;box-shadow:none}.rank-math-list-icon li strong{font-weight:600;display:block;margin:3px 0;color:#242628;-webkit-transition:0.25s linear all;transition:0.25s linear all}.rank-math-list-icon li p{margin:0}.rank-math-list-icon li i{float:left;margin-right:15px;text-align:center}.rank-math-list-icon li i.rm-icon-settings{color:#B8423F;background:rgba(184,66,63,0.1)}.rank-math-list-icon li i.rm-icon-import{color:#3494BE;background:rgba(52,148,190,0.1)}.rank-math-list-icon li i.rm-icon-post{color:#E3765C;background:rgba(227,118,92,0.1)}.rank-math-list-icon li i.rm-icon-help{color:#87a627;background:rgba(135,166,39,0.1)}.rank-math-list-icon li i.rm-icon-comments{color:#DBA240;background:rgba(219,162,64,0.1)}.rank-math-list-icon li i.rm-icon-support{color:#2940C9;background:rgba(41,64,201,0.1)}.rank-math-list-icon li>div{overflow:hidden}.rank-math-switch input[type=checkbox]{visibility:hidden;height:0;width:0}.rank-math-switch label{position:relative;display:block;cursor:pointer;text-indent:-9999px;border-radius:100px;background:#ddd;height:24px;width:44px}.rank-math-switch label:after{position:absolute;top:2px;left:2px;content:'';-webkit-transition:.4s;transition:.4s;border-radius:90px;background:#fff;height:20px;width:20px}.rank-math-switch input:checked+label{background:#528fcc}.rank-math-switch input:checked+label:after{-webkit-transform:translateX(100%);transform:translateX(100%)}.module-listing .grid{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap}.rank-math-list-icon li i,.module-listing .rank-math-box>i{font-size:20px;line-height:50px;display:inline-block;color:#ccc;border-radius:6px;background:#eee;height:50px;width:50px}.module-listing .grid{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap}.module-listing .rank-math-box{-webkit-box-flex:0;-ms-flex:0 0 288px;flex:0 0 288px;padding:1.875rem 1.25rem 80px;margin:0 0.9375rem 0.9375rem 0;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box}.module-listing .rank-math-box>i.rm-icon-404{color:#FF521B;background:rgba(255,82,27,0.12)}.module-listing .rank-math-box>i.rm-icon-mobile{color:#3f8aca;background:rgba(63,138,202,0.12)}.module-listing .rank-math-box>i.rm-icon-acf{color:#03E6AA;background:rgba(3,230,170,0.12)}.module-listing .rank-math-box>i.rm-icon-users{color:#3494BE;background:rgba(52,148,190,0.1)}.module-listing .rank-math-box>i.rm-icon-comments{color:#B8423F;background:rgba(184,66,63,0.1)}.module-listing .rank-math-box>i.rm-icon-images{color:#649d66;background:rgba(100,157,102,0.1)}.module-listing .rank-math-box>i.rm-icon-link{color:#DBA240;background:rgba(219,162,64,0.1)}.module-listing .rank-math-box>i.rm-icon-local-seo{color:#2940C9;background:rgba(41,64,201,0.1)}.module-listing .rank-math-box>i.rm-icon-post{color:#679cf7;background:rgba(103,156,247,0.1)}.module-listing .rank-math-box>i.rm-icon-redirection{color:#F7B267;background:rgba(247,178,103,0.1)}.module-listing .rank-math-box>i.rm-icon-schema{color:#843224;background:rgba(132,50,36,0.1)}.module-listing .rank-math-box>i.rm-icon-role-manager{color:#87a627;background:rgba(135,166,39,0.1)}.module-listing .rank-math-box>i.rm-icon-search-console{color:#3C88D8;background:rgba(60,136,216,0.1)}.module-listing .rank-math-box>i.rm-icon-analyzer{color:#E3765C;background:rgba(227,118,92,0.1)}.module-listing .rank-math-box>i.rm-icon-sitemap{color:#049404;background:rgba(4,148,4,0.1)}.module-listing .rank-math-box>i.rm-icon-cart{color:#842474;background:rgba(132,36,116,0.1)}.module-listing .rank-math-box>i.rm-icon-video{color:#f76767;background:rgba(247,103,103,0.1)}.module-listing .rank-math-box>i.rm-icon-stories{color:#180ca4;background:rgba(24,12,164,0.1)}.module-listing .rank-math-box>i.rm-icon-instant-indexing{color:#a40fa4;background:rgba(164,15,164,0.1)}.module-listing .rank-math-box header{overflow:hidden}.module-listing .rank-math-box header h3{font-size:1.0625rem;margin:1.5rem 0 0.75rem}.module-listing .rank-math-box header h3 span{background:rgba(16,172,132,0.1);color:#019e76;font-weight:500}.module-listing .rank-math-box header p{margin-bottom:0;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}.module-listing .rank-math-box .module-settings{display:none;float:left;font-size:14px;line-height:30px;padding:0 12px;height:32px}.module-listing .rank-math-box .status{clear:both;background:#f8f9fa;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;height:60px;margin:0;padding:15px 20px;border-top:1px solid #b5bfc9;border-radius:0 0 6px 6px;position:absolute;bottom:0;left:0}.module-listing .rank-math-box .status label{color:#77797c}.module-listing .rank-math-box .status label.rank-math-tooltip span{text-indent:0;color:#fff}.module-listing .rank-math-box .status .cmb2-toggle{float:right;margin-top:3px}.module-listing .rank-math-box .status .cmb2-toggle .cmb2-slider{text-indent:-9999px;z-index:1}.module-listing .rank-math-box .status .cmb2-toggle .rank-math-tooltip span{top:50%;right:58px;bottom:auto;left:auto;width:110px;-webkit-transform:translate3d(-70%, -50%, 0);transform:translate3d(-70%, -50%, 0)}.module-listing .rank-math-box .status .cmb2-toggle .rank-math-tooltip span:after{top:50%;right:-8px;left:auto;width:0;height:0;content:'';-webkit-transform:translate3d(0, -50%, 0);transform:translate3d(0, -50%, 0);border-width:7px 0 7px 8px;border-style:solid;border-color:transparent transparent transparent #555d66}.module-listing .rank-math-box .status .cmb2-toggle .rank-math-tooltip:hover span{bottom:auto;-webkit-transform:translate3d(0, -50%, 0);transform:translate3d(0, -50%, 0);opacity:1}.module-listing .rank-math-box .status .cmb2-toggle .input-loading{display:none}.module-listing .rank-math-box.active .module-settings{display:inline-block}.module-listing .rank-math-box.saving .cmb2-toggle label{display:none}.module-listing .rank-math-box.saving .cmb2-toggle .input-loading{display:block;margin-top:0}.cmb2-toggle{position:relative;display:inline-block;width:50px;height:24px}.cmb2-toggle input{display:none}.cmb2-toggle input:checked+.cmb2-slider{background-color:#069de3;border-color:#069de3}.cmb2-toggle input:checked+.cmb2-slider:before{background:#fff;-webkit-transform:translateX(24px);transform:translateX(24px)}.cmb2-toggle input:checked+.cmb2-slider .toggle_off{display:none}.cmb2-toggle input:checked+.cmb2-slider .toggle_on{display:block}.cmb2-toggle input+.cmb2-slider:focus{-webkit-box-shadow:0 0 0 2px #fff, 0 0 0 3px #555d66;box-shadow:0 0 0 2px #fff, 0 0 0 3px #555d66}.cmb2-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;border:2px solid #6c7781;border-radius:34px}.cmb2-slider:before{position:absolute;content:"";height:14px;width:14px;left:4px;bottom:3px;background-color:#6c7781;border-radius:50%}.cmb2-slider.disabled{opacity:0.6}.toggle_on,.toggle_off{position:absolute;top:6px;left:10px;-webkit-box-sizing:border-box;box-sizing:border-box}.toggle_on{display:none;outline:1px solid transparent;outline-offset:-1px;background:#fff;fill:#fff;border:1px solid #fff;border-radius:2px}.toggle_off{color:#6c7781;fill:currentColor;right:6px;left:auto}#side-sortables .cmb-row .cmb2-toggle+.cmb2-metabox-description{padding-bottom:0}.rank-math-welcome-text{padding:10px 30px;border:1px solid #d8d8d8;border-radius:3px;-webkit-box-shadow:4px 4px 20px rgba(0,0,0,0.12);box-shadow:4px 4px 20px rgba(0,0,0,0.12)}.rank-math-box{margin-bottom:1.875rem}.rank-math-box header .button{font-weight:500;position:absolute;top:1.875rem;right:1.875rem;color:#fff;border:0;border-radius:4px;-webkit-box-shadow:none;box-shadow:none}.rank-math-box header .button i{font-weight:600;margin-right:5px;font-size:10px;text-shadow:1px 0px 0px #fff}.rank-math-box.status-green header h3{color:#58bb58}.rank-math-box.status-green header .button{background:#58bb58}.rank-math-box.status-red header h3{color:#ee6a5e}.rank-math-box.status-red header .button{background:#ee6a5e}.rank-math-box .regular-text.fullwidth{width:100%;margin-top:5px;padding:12px;vertical-align:top;color:#777;border-color:#ddd;background:#e5e5e5;-webkit-box-shadow:none !important;box-shadow:none !important}.rank-math-box .regular-text.fullwidth:focus{background:#f5f5f5}.rank-math-box form p{font-size:1.125rem;margin-bottom:0}.rank-math-box form .button-xlarge{margin-top:25px}.rank-math-box form .button-animated{margin:25px auto 0;display:table}[id^='cmb2-metabox-rank'] input[type=checkbox]{margin:0 5px 0 0}[id^='cmb2-metabox-rank'] input[type=checkbox]:checked,[id^='cmb2-metabox-rank'] input[type=checkbox]:checked:focus{border-color:#069de3;background:#069de3;-webkit-box-shadow:none !important;box-shadow:none !important}[id^='cmb2-metabox-rank'] input[type=checkbox]:checked:before,[id^='cmb2-metabox-rank'] input[type=checkbox]:checked:focus:before{content:url("data:image/svg+xml; utf8,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%23fff%27/%3E%3C/svg%3E%0A");font-size:20px;color:#fff;height:1.3125rem;width:1.3125rem}@media screen and (max-width: 782px){[id^='cmb2-metabox-rank'] input[type=checkbox]:checked:before,[id^='cmb2-metabox-rank'] input[type=checkbox]:checked:focus:before{width:1.875rem;height:1.875rem;margin:-.1875rem -.3125rem}}.rank-math-systm-status{border-collapse:collapse}.rank-math-systm-status td,.rank-math-systm-status th{border:1px solid #b5bfc9}.rank-math-systm-status td:first-child{width:33%}.rank-math-systm-status thead th{font-weight:700}.rank-math-systm-status .rank-math-tooltip{float:right}.rank-math-systm-status+.rank-math-systm-status{margin-top:40px}#debug-report{display:none}#debug-report textarea{font-family:monospace;font-size:12px;line-height:20px;margin:0;padding:20px;resize:none;border-radius:0;outline:0;height:300px;width:100%}body.rtl .module-listing .rank-math-box>.dashicons{float:right}body.rtl .module-listing .rank-math-box header{padding-right:20px;padding-left:0}body.rtl .module-listing .status .rank-math-switch{float:left}body.rtl .module-listing .status .rank-math-switch label{float:left}body.rtl .module-listing .status .rank-math-switch strong{float:right;margin-left:12px}body.rtl .rank-math-box header .button{right:auto;left:20px}body.rtl .rank-math-systm-status .rank-math-tooltip{float:left}
|
2 |
* Plugin: Rank Math
|
3 |
* URL: https://rankmath.com/wordpress/plugin/seo-suite/
|
4 |
* Name: dashboard.css
|
5 |
+
*/:root{--rankmath-wp-adminbar-height: 0}.rank-math-list-icon{margin:0 0 1.5rem}.rank-math-list-icon li{margin-bottom:18px;overflow:hidden}.rank-math-list-icon li a{text-decoration:none;color:#7f868d}.rank-math-list-icon li a:hover strong{color:#069de3}.rank-math-list-icon li a:focus{outline:none;-webkit-box-shadow:none;box-shadow:none}.rank-math-list-icon li strong{font-weight:600;display:block;margin:3px 0;color:#242628;-webkit-transition:0.25s linear all;transition:0.25s linear all}.rank-math-list-icon li p{margin:0}.rank-math-list-icon li i{float:left;margin-right:15px;text-align:center}.rank-math-list-icon li i.rm-icon-star-filled{color:#F7D070;background:#253142}.rank-math-list-icon li i.rm-icon-settings{color:#B8423F;background:rgba(184,66,63,0.1)}.rank-math-list-icon li i.rm-icon-import{color:#3494BE;background:rgba(52,148,190,0.1)}.rank-math-list-icon li i.rm-icon-post{color:#E3765C;background:rgba(227,118,92,0.1)}.rank-math-list-icon li i.rm-icon-help{color:#87a627;background:rgba(135,166,39,0.1)}.rank-math-list-icon li i.rm-icon-sitemap{color:#DBA240;background:rgba(219,162,64,0.1)}.rank-math-list-icon li i.rm-icon-support{color:#2940C9;background:rgba(41,64,201,0.1)}.rank-math-list-icon li>div{overflow:hidden}.rank-math-switch input[type=checkbox]{visibility:hidden;height:0;width:0}.rank-math-switch label{position:relative;display:block;cursor:pointer;text-indent:-9999px;border-radius:100px;background:#ddd;height:24px;width:44px}.rank-math-switch label:after{position:absolute;top:2px;left:2px;content:'';-webkit-transition:.4s;transition:.4s;border-radius:90px;background:#fff;height:20px;width:20px}.rank-math-switch input:checked+label{background:#528fcc}.rank-math-switch input:checked+label:after{-webkit-transform:translateX(100%);transform:translateX(100%)}.module-listing .grid{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap}.rank-math-list-icon li i,.module-listing .rank-math-box>i{font-size:20px;line-height:50px;display:inline-block;color:#ccc;border-radius:6px;background:#eee;height:50px;width:50px}.module-listing .grid{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap}.module-listing .rank-math-box{-webkit-box-flex:0;-ms-flex:0 0 288px;flex:0 0 288px;padding:1.875rem 1.25rem 80px;margin:0 0.9375rem 0.9375rem 0;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box}.module-listing .rank-math-box>i.rm-icon-404{color:#FF521B;background:rgba(255,82,27,0.12)}.module-listing .rank-math-box>i.rm-icon-mobile{color:#3f8aca;background:rgba(63,138,202,0.12)}.module-listing .rank-math-box>i.rm-icon-acf{color:#03E6AA;background:rgba(3,230,170,0.12)}.module-listing .rank-math-box>i.rm-icon-users{color:#3494BE;background:rgba(52,148,190,0.1)}.module-listing .rank-math-box>i.rm-icon-comments{color:#B8423F;background:rgba(184,66,63,0.1)}.module-listing .rank-math-box>i.rm-icon-images{color:#649d66;background:rgba(100,157,102,0.1)}.module-listing .rank-math-box>i.rm-icon-link{color:#DBA240;background:rgba(219,162,64,0.1)}.module-listing .rank-math-box>i.rm-icon-local-seo{color:#2940C9;background:rgba(41,64,201,0.1)}.module-listing .rank-math-box>i.rm-icon-post{color:#679cf7;background:rgba(103,156,247,0.1)}.module-listing .rank-math-box>i.rm-icon-redirection{color:#F7B267;background:rgba(247,178,103,0.1)}.module-listing .rank-math-box>i.rm-icon-schema{color:#843224;background:rgba(132,50,36,0.1)}.module-listing .rank-math-box>i.rm-icon-role-manager{color:#87a627;background:rgba(135,166,39,0.1)}.module-listing .rank-math-box>i.rm-icon-search-console{color:#3C88D8;background:rgba(60,136,216,0.1)}.module-listing .rank-math-box>i.rm-icon-analyzer{color:#E3765C;background:rgba(227,118,92,0.1)}.module-listing .rank-math-box>i.rm-icon-sitemap{color:#049404;background:rgba(4,148,4,0.1)}.module-listing .rank-math-box>i.rm-icon-cart{color:#842474;background:rgba(132,36,116,0.1)}.module-listing .rank-math-box>i.rm-icon-video{color:#f76767;background:rgba(247,103,103,0.1)}.module-listing .rank-math-box>i.rm-icon-stories{color:#180ca4;background:rgba(24,12,164,0.1)}.module-listing .rank-math-box>i.rm-icon-instant-indexing{color:#a40fa4;background:rgba(164,15,164,0.1)}.module-listing .rank-math-box header{overflow:hidden}.module-listing .rank-math-box header h3{font-size:1.0625rem;margin:1.5rem 0 0.75rem}.module-listing .rank-math-box header h3 span{background:rgba(16,172,132,0.1);color:#019e76;font-weight:500}.module-listing .rank-math-box header p{margin-bottom:0;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}.module-listing .rank-math-box .module-settings{display:none;float:left;font-size:14px;line-height:30px;padding:0 12px;height:32px}.module-listing .rank-math-box .status{clear:both;background:#f8f9fa;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;height:60px;margin:0;padding:15px 20px;border-top:1px solid #b5bfc9;border-radius:0 0 6px 6px;position:absolute;bottom:0;left:0}.module-listing .rank-math-box .status label{color:#77797c}.module-listing .rank-math-box .status label.rank-math-tooltip span{text-indent:0;color:#fff}.module-listing .rank-math-box .status .cmb2-toggle{float:right;margin-top:3px}.module-listing .rank-math-box .status .cmb2-toggle .cmb2-slider{text-indent:-9999px;z-index:1}.module-listing .rank-math-box .status .cmb2-toggle .rank-math-tooltip span{top:50%;right:58px;bottom:auto;left:auto;width:110px;-webkit-transform:translate3d(-70%, -50%, 0);transform:translate3d(-70%, -50%, 0)}.module-listing .rank-math-box .status .cmb2-toggle .rank-math-tooltip span:after{top:50%;right:-8px;left:auto;width:0;height:0;content:'';-webkit-transform:translate3d(0, -50%, 0);transform:translate3d(0, -50%, 0);border-width:7px 0 7px 8px;border-style:solid;border-color:transparent transparent transparent #555d66}.module-listing .rank-math-box .status .cmb2-toggle .rank-math-tooltip:hover span{bottom:auto;-webkit-transform:translate3d(0, -50%, 0);transform:translate3d(0, -50%, 0);opacity:1}.module-listing .rank-math-box .status .cmb2-toggle .input-loading{display:none}.module-listing .rank-math-box.active .module-settings{display:inline-block}.module-listing .rank-math-box.saving .cmb2-toggle label{display:none}.module-listing .rank-math-box.saving .cmb2-toggle .input-loading{display:block;margin-top:0}.cmb2-toggle{position:relative;display:inline-block;width:50px;height:24px}.cmb2-toggle input{display:none}.cmb2-toggle input:checked+.cmb2-slider{background-color:#069de3;border-color:#069de3}.cmb2-toggle input:checked+.cmb2-slider:before{background:#fff;-webkit-transform:translateX(24px);transform:translateX(24px)}.cmb2-toggle input:checked+.cmb2-slider .toggle_off{display:none}.cmb2-toggle input:checked+.cmb2-slider .toggle_on{display:block}.cmb2-toggle input+.cmb2-slider:focus{-webkit-box-shadow:0 0 0 2px #fff, 0 0 0 3px #555d66;box-shadow:0 0 0 2px #fff, 0 0 0 3px #555d66}.cmb2-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;border:2px solid #6c7781;border-radius:34px}.cmb2-slider:before{position:absolute;content:"";height:14px;width:14px;left:4px;bottom:3px;background-color:#6c7781;border-radius:50%}.cmb2-slider.disabled{opacity:0.6}.toggle_on,.toggle_off{position:absolute;top:6px;left:10px;-webkit-box-sizing:border-box;box-sizing:border-box}.toggle_on{display:none;outline:1px solid transparent;outline-offset:-1px;background:#fff;fill:#fff;border:1px solid #fff;border-radius:2px}.toggle_off{color:#6c7781;fill:currentColor;right:6px;left:auto}#side-sortables .cmb-row .cmb2-toggle+.cmb2-metabox-description{padding-bottom:0}.rank-math-welcome-text{padding:10px 30px;border:1px solid #d8d8d8;border-radius:3px;-webkit-box-shadow:4px 4px 20px rgba(0,0,0,0.12);box-shadow:4px 4px 20px rgba(0,0,0,0.12)}.rank-math-box{margin-bottom:1.875rem}.rank-math-box header .button{font-weight:500;position:absolute;top:1.875rem;right:1.875rem;color:#fff;border:0;border-radius:4px;-webkit-box-shadow:none;box-shadow:none}.rank-math-box header .button i{font-weight:600;margin-right:5px;font-size:10px;text-shadow:1px 0px 0px #fff}.rank-math-box.status-green header h3{color:#58bb58}.rank-math-box.status-green header .button{background:#58bb58}.rank-math-box.status-red header h3{color:#ee6a5e}.rank-math-box.status-red header .button{background:#ee6a5e}.rank-math-box .regular-text.fullwidth{width:100%;margin-top:5px;padding:12px;vertical-align:top;color:#777;border-color:#ddd;background:#e5e5e5;-webkit-box-shadow:none !important;box-shadow:none !important}.rank-math-box .regular-text.fullwidth:focus{background:#f5f5f5}.rank-math-box form p{font-size:1.125rem;margin-bottom:0}.rank-math-box form .button-xlarge{margin-top:25px}.rank-math-box form .button-animated{margin:25px auto 0;display:table}[id^='cmb2-metabox-rank'] input[type=checkbox]{margin:0 5px 0 0}[id^='cmb2-metabox-rank'] input[type=checkbox]:checked,[id^='cmb2-metabox-rank'] input[type=checkbox]:checked:focus{border-color:#069de3;background:#069de3;-webkit-box-shadow:none !important;box-shadow:none !important}[id^='cmb2-metabox-rank'] input[type=checkbox]:checked:before,[id^='cmb2-metabox-rank'] input[type=checkbox]:checked:focus:before{content:url("data:image/svg+xml; utf8,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%23fff%27/%3E%3C/svg%3E%0A");font-size:20px;color:#fff;height:1.3125rem;width:1.3125rem}@media screen and (max-width: 782px){[id^='cmb2-metabox-rank'] input[type=checkbox]:checked:before,[id^='cmb2-metabox-rank'] input[type=checkbox]:checked:focus:before{width:1.875rem;height:1.875rem;margin:-.1875rem -.3125rem}}.rank-math-systm-status{border-collapse:collapse}.rank-math-systm-status td,.rank-math-systm-status th{border:1px solid #b5bfc9}.rank-math-systm-status td:first-child{width:33%}.rank-math-systm-status thead th{font-weight:700}.rank-math-systm-status .rank-math-tooltip{float:right}.rank-math-systm-status+.rank-math-systm-status{margin-top:40px}#debug-report{display:none}#debug-report textarea{font-family:monospace;font-size:12px;line-height:20px;margin:0;padding:20px;resize:none;border-radius:0;outline:0;height:300px;width:100%}body.rtl .module-listing .rank-math-box>.dashicons{float:right}body.rtl .module-listing .rank-math-box header{padding-right:20px;padding-left:0}body.rtl .module-listing .status .rank-math-switch{float:left}body.rtl .module-listing .status .rank-math-switch label{float:left}body.rtl .module-listing .status .rank-math-switch strong{float:right;margin-left:12px}body.rtl .rank-math-box header .button{right:auto;left:20px}body.rtl .rank-math-systm-status .rank-math-tooltip{float:left}
|
@@ -2,4 +2,4 @@
|
|
2 |
* Plugin: Rank Math
|
3 |
* URL: https://rankmath.com/wordpress/plugin/seo-suite/
|
4 |
* Name: setup-wizard.css
|
5 |
-
*/:root{--rankmath-wp-adminbar-height: 0}.rank-math-wizard-body--requirements h2>.dashicons,.rank-math-wizard-body--ready .cmb-form>header .dashicons-yes{margin-right:5px;padding:4px;vertical-align:-3px;color:#fff;border-radius:50%;background:#58bb58}.rank-math-wizard{background:#f0f2f4;color:#242628}.rank-math-wizard *:focus{outline:none;-webkit-box-shadow:none;box-shadow:none}.rank-math-wizard a{text-decoration:none}.rank-math-wizard .notice-error{position:relative;margin-right:auto;margin-left:auto;background:#ffebee}.rank-math-wizard .text-center{color:#7f868d;font-size:1rem;font-weight:normal;text-align:center}.rank-math-wizard .rank-math-gray-box{margin-top:2rem !important;padding:25px 35px;border-radius:5px;background:#f5f5f5}.rank-math-wizard .header{max-width:970px;margin:75px auto 0}.rank-math-wizard .wrapper{-webkit-box-sizing:border-box;box-sizing:border-box;max-width:970px;margin:35px auto 45px;padding:42px 40px 50px;border-radius:5px;background:#fff;-webkit-box-shadow:0 2px 6px rgba(50,50,93,0.05),0 1px 3px rgba(0,0,0,0.05);box-shadow:0 2px 6px rgba(50,50,93,0.05),0 1px 3px rgba(0,0,0,0.05)}.rank-math-wizard .cmb-form>header,.rank-math-wizard .cmb-form header.redirections-header{margin-bottom:40px;text-align:center}.rank-math-wizard .cmb-form>header h1,.rank-math-wizard .cmb-form header.redirections-header h1{font-size:30px;font-weight:700;margin:0 0 14px}.rank-math-wizard .cmb-form>header p,.rank-math-wizard .cmb-form header.redirections-header p{font-size:15px;max-width:600px;margin:10px auto;color:#7f868d}.rank-math-wizard .cmb-form>.notice{display:none}.rank-math-wizard .cmb-form header.redirections-header{margin-bottom:0}.rank-math-wizard .cmb-form header.redirections-header h1{margin-top:.67em}.rank-math-wizard .cmb-form .cmb-type-file .cmb-th label,.rank-math-wizard .cmb-form .cmb-type-switch .cmb-th label,.rank-math-wizard .cmb-form .cmb-type-multicheck .cmb-th label,.rank-math-wizard .cmb-form .cmb-type-radio-inline .cmb-th label{cursor:default}.rank-math-wizard .cmb-form .cmb-type-file .cmb-multicheck-toggle,.rank-math-wizard .cmb-form .cmb-type-switch .cmb-multicheck-toggle,.rank-math-wizard .cmb-form .cmb-type-multicheck .cmb-multicheck-toggle,.rank-math-wizard .cmb-form .cmb-type-radio-inline .cmb-multicheck-toggle{cursor:pointer}.rank-math-collapsible-trigger{letter-spacing:0.5px}.rank-math-collapsible-trigger .dashicons{font-size:16px;vertical-align:top;display:inline-block;width:47px}.rank-math-collapsible-trigger .dashicons:before{vertical-align:-1px}.rank-math-collapsible-trigger .dashicons span{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen-Sans,Ubuntu,Cantarell,'Helvetica Neue',sans-serif;font-size:12px;vertical-align:3px;color:rgba(36,41,46,0.65)}.rank-math-collapsible-trigger .dashicons-arrow-up-alt2{display:none}.rank-math-collapsible-trigger.open .dashicons-arrow-up-alt2{display:inline-block}.rank-math-collapsible-trigger.open .dashicons-arrow-down-alt2{display:none}.rank-math-collapsible-content{display:none}.rank-math-collapsible-content.open{display:block}.return-to-dashboard{padding-bottom:50px;text-align:center}.return-to-dashboard a{font-size:14px;display:inline-block;text-align:center;text-decoration:none;color:#7f868d;border-bottom:1px dotted}.return-to-dashboard a:hover,.return-to-dashboard a:focus{color:#069de3;border-color:#069de3}@media screen and (prefers-reduced-motion: reduce){.return-to-dashboard{opacity:1 !important}}.cmb2-wrap .cmb-row.features-child{margin-top:-5px;padding:25px 20px !important;border-bottom-color:#f8f9fa;background:#f8f9fa}.responsive-video{position:relative;overflow:hidden;padding-top:56.25%}.responsive-video iframe{border:0;height:100%;width:100%;position:absolute;top:0;right:0;bottom:0;left:0}.cmb-row.cmb-multicheck-inline.with-description .cmb2-metabox-description,.cmb-row.cmb-multicheck-inline .cmb2-checkbox-list,.cmb-row.cmb-multicheck-inline .cmb2-checkbox-list li{display:inline-block;width:48%;vertical-align:top}.cmb-row.cmb-multicheck-inline .cmb2-checkbox-list{width:420px;max-width:100%}.cmb-row.cmb-multicheck-inline.with-description .cmb-td{width:100%}.cmb-row.cmb-multicheck-inline.with-description .cmb2-checkbox-list{padding-top:20px}.cmb-row.cmb-multicheck-inline.with-description .cmb2-metabox-description{font-size:15px;line-height:1.5;padding:0;color:#21262c}[id^='cmb2-metabox-rank'] select{padding-top:0;padding-bottom:0}@media screen and (max-width: 782px){.rank-math-wizard .rank-math-ui .button{font-size:15px;padding:0 20px}}.rank-math-wizard .rank-math-ui .cmb-type-multicheck .cmb-td p:first-of-type{margin:0}.rank-math-wizard .rank-math-ui .cmb-multicheck-toggle{padding:0;cursor:pointer;color:#069de3;border:0;background:transparent;-webkit-box-shadow:none;box-shadow:none}.rank-math-wizard .rank-math-ui .cmb-multicheck-toggle:active{-webkit-transform:none;transform:none;-webkit-box-shadow:none;box-shadow:none}.form-footer:not(.rank-math-custom){width:calc(100% + 80px);margin:75px -40px -50px;border:0;border-top:1px solid #dadfe4;border-radius:0 0 5px 5px;overflow:hidden}.form-footer:not(.rank-math-custom) .button{font-size:16px;line-height:48px;height:48px;padding:0 30px}.form-footer:not(.rank-math-custom) .button-secondary{margin-right:10px}.wizard-navigation{display:-webkit-box;display:-ms-flexbox;display:flex;margin:50px auto 0;text-align:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.wizard-navigation a{font-size:13px;position:relative;display:block;letter-spacing:0.5px;text-transform:uppercase;color:#5b6065;-webkit-box-flex:1;-ms-flex:1;flex:1}.wizard-navigation a:before{font-weight:600;display:block;padding-bottom:10px;content:attr(title);color:#5b6065}.wizard-navigation a:after{content:'';-webkit-transform:translate(-50%, 23px);transform:translate(-50%, 23px);background-color:#cbd2d9;height:3px;width:100%;position:absolute;top:15px;left:0;pointer-events:none}.wizard-navigation span{line-height:20px;position:relative;z-index:10;display:inline-block;border:2px solid #cbd2d9;border-radius:50%;background:#cbd2d9;-webkit-box-shadow:inset 0 0 0 2px #fff;box-shadow:inset 0 0 0 2px #fff;height:18px;width:18px}.wizard-navigation .step-label:before{color:#069de3}.wizard-navigation .step-label:after{display:none}.wizard-navigation .step-label+a:after{width:162%;-webkit-transform:translate(-60%, 23px);transform:translate(-60%, 23px)}.wizard-navigation a.active span{color:#fff;border:2px solid #069de3;background:#069de3;-webkit-box-shadow:inset 0 0 0 2px #fff;box-shadow:inset 0 0 0 2px #fff}.wizard-navigation a.active:after{background:-webkit-gradient(linear, left top, right top, from(#58bb58), to(#069de3));background:linear-gradient(to right, #58bb58 0%, #069de3 100%)}.wizard-navigation a.active:before{color:#069de3}.wizard-navigation a.done span{color:#fff;border-color:#58bb58;background-color:#58bb58;-webkit-box-shadow:inset 0 0 0 2px #fff;box-shadow:inset 0 0 0 2px #fff}.wizard-navigation a.done:after{background-color:#58bb58}.rank-math-wizard-body--requirements h2>.dashicons{opacity:0.5;width:18px;height:18px;font-size:16px;line-height:18px;padding:0;vertical-align:-2px}.rank-math-wizard-body--requirements h2>.dashicons-warning{background:#e8cb57}.rank-math-wizard-body--requirements #rank-math-compatibility-collapsible{width:770px;max-width:100%;margin:0 auto}.rank-math-wizard-body--requirements .form-table{margin-top:50px;border-width:1px 1px 0 1px;border-style:solid;border-color:#b5bfc9}.rank-math-wizard-body--requirements .form-table tr:nth-child(odd){background:#f8f9fa}.rank-math-wizard-body--requirements .form-table td,.rank-math-wizard-body--requirements .form-table th{padding:10px 20px;border-bottom:1px solid #b5bfc9}.rank-math-wizard-body--requirements .form-table th{color:#242628;width:auto}.rank-math-wizard-body--requirements .form-table th .description{font-size:12px;font-weight:normal;font-style:normal;color:#939596}.rank-math-wizard-body--requirements .form-table td{vertical-align:top}.rank-math-wizard-body--requirements .form-table td:last-child{text-align:right}.rank-math-wizard-body--requirements .form-table td:last-child .dashicons{font-size:24px}.rank-math-wizard-body--requirements .form-table .check-no th{border-left:3px solid #ee6a5e}.rank-math-wizard-body--requirements .form-table .check-no td{color:#ee6a5e}.rank-math-wizard-body--requirements .checklist-ok,.rank-math-wizard-body--requirements .checklist-not-ok{margin-top:10px;color:#969696}.rank-math-wizard-body--requirements .checklist-not-ok{color:#ee6a5e}.rank-math-wizard-body--requirements .conflict-text{font-size:15px;font-weight:500;margin-top:20px;margin-bottom:0;color:#ee6a5e}.rank-math-wizard-body--requirements .noconflict{color:#58bb58}.rank-math-wizard-body--requirements .wizard-conflicts{margin-top:10px}.rank-math-wizard-body--requirements .wizard-conflicts .import-info{font-size:12px;font-weight:normal;color:#777}.rank-math-wizard-body--requirements .wizard-conflicts .import-info:before{content:' - '}.rank-math-wizard-body--requirements .wizard-conflicts td{padding:8px 10px;vertical-align:middle}.rank-math-wizard-body--requirements .wizard-conflicts td:first-child{width:20px;padding-right:0;color:#ee6a5e}.rank-math-wizard-body--requirements .wizard-conflicts td:first-child .dashicons-yes{color:#58bb58}.rank-math-wizard-body--requirements .wizard-conflicts td a.disabled{cursor:not-allowed}.rank-math-wizard-body--requirements .form-footer{margin:60px 0 25px}.rank-math-wizard-body--requirements .rank-math-collapsible-trigger{margin-left:10px;color:inherit}.rank-math-wizard-body--requirements .rank-math-collapsible-trigger:hover{background:#f8f9fa}.rank-math-wizard-body--requirements .rank-math-ui{border:none}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode{margin:0 auto;width:770px;max-width:100%;margin-top:3rem}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td{display:block;width:100%}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul{display:block;width:100%;border:none;padding:0}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li{float:none;width:100%;position:relative}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li input{display:inline-block;margin-top:3px;margin-right:16px;position:absolute;top:20px;left:20px}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li input:checked+label{border-color:#069de3;-webkit-box-shadow:0 0 0 1px #069de3;box-shadow:0 0 0 1px #069de3}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li input:focus+label{border-color:#7f868d}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li:hover label{border-color:#7f868d}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li label{display:block;width:100%;color:#242628;font-size:17px;font-weight:600;height:auto;white-space:normal;line-height:1;padding:20px 20px 20px 50px;background:#f8f9fa;border:1px solid #dadfe4;margin:0 0 16px 0;border-radius:6px;-webkit-transition:0.25s all linear;transition:0.25s all linear;-webkit-box-sizing:border-box;box-sizing:border-box}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li label p{display:block;clear:both;font-weight:normal;font-size:14px;line-height:1.5;font-style:normal;padding:0;margin:0;padding-top:10px;color:#7f868d}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li label p strong{font-weight:500}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li:last-child input{opacity:0.5}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li:last-child label{margin-bottom:0}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li:last-child .rank-math-mode-title{color:rgba(36,38,40,0.5)}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li:last-child .rank-math-mode-title:after{content:'Pro';margin-left:10px;vertical-align:1px;opacity:1;color:#fff;background:#4CAF50;background:linear-gradient(100deg, #4CAF50 0%, #8baf4c 100%);font-size:11px;font-weight:normal;text-transform:uppercase;padding:5px 10px;border-radius:3px;margin-left:5px}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td .cmb2-metabox-description strong{padding:2px 6px;color:#977d30;background:#ffe8a5;border-radius:3px}.rank-math-wizard-body--requirements.rank-math-mode-basic .wizard-navigation a{pointer-events:none;cursor:default}.rank-math-wizard-body--requirements .rank-math-ui{border:none}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode{margin:0 auto;width:770px;max-width:100%;margin-top:3rem}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td{display:block;width:100%}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul{display:block;width:100%;border:none;padding:0}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li{float:none;width:100%;position:relative}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li input{display:inline-block;margin-top:3px;margin-right:16px;position:absolute;top:20px;left:20px}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li input:checked+label{border-color:#069de3;-webkit-box-shadow:0 0 0 1px #069de3;box-shadow:0 0 0 1px #069de3}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li input:focus+label{border-color:#7f868d}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li:hover label{border-color:#7f868d}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li label{display:block;width:100%;color:#242628;font-size:17px;font-weight:600;height:auto;white-space:normal;line-height:1;padding:20px 20px 20px 50px;background:#fafafa;border:1px solid #dadfe4;margin-bottom:16px;border-radius:6px;-webkit-transition:0.25s all linear;transition:0.25s all linear;-webkit-box-sizing:border-box;box-sizing:border-box}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li label p{display:block;clear:both;font-weight:normal;font-size:14px;line-height:1.5;font-style:normal;padding:0;margin:0;padding-top:10px;color:#7f868d}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li:last-child input{opacity:0.5}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li:last-child .rank-math-mode-title{color:rgba(36,38,40,0.5)}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li:last-child .rank-math-mode-title:after{content:'Pro';margin-left:10px;vertical-align:1px;opacity:1;color:#fff;background:#4CAF50;background:linear-gradient(100deg, #4CAF50 0%, #8baf4c 100%);font-size:11px;font-weight:normal;text-transform:uppercase;padding:5px 10px;border-radius:3px;margin-left:5px}.rank-math-wizard-body--import .cmb-field-list{position:relative;overflow:hidden}.rank-math-wizard-body--import .cmb-field-list h3.import-label{display:inline-block;width:20%}.rank-math-wizard-body--import .cmb-field-list .cmb-type-group{float:right;width:80%}.rank-math-wizard-body--import .cmb-field-list .cmb-group-description{position:absolute;z-index:1;top:6px;left:20px}.rank-math-wizard-body--import .cmb-field-list .cmb-row{padding:0;margin-bottom:5px;border:none !important}.rank-math-wizard-body--import .cmb-field-list .cmb-row .cmbhandle{top:14px;right:20px;width:30px;height:30px;border-radius:50%;text-align:center;background-color:#059de2;color:#fff}.rank-math-wizard-body--import .cmb-field-list .cmb-row .cmbhandle:before{content:"\f343";padding:0;right:0;left:1px;top:5px;bottom:0}.rank-math-wizard-body--import .cmb-field-list .cmb-row.closed h3{border-radius:4px}.rank-math-wizard-body--import .cmb-field-list .cmb-row.closed .inside{display:none}.rank-math-wizard-body--import .cmb-field-list .cmb-row.closed .cmbhandle{background-color:#fff;color:#a4a4a4;-webkit-box-shadow:1px -1px 62px -13px rgba(0,0,0,0.14);box-shadow:1px -1px 62px -13px rgba(0,0,0,0.14)}.rank-math-wizard-body--import .cmb-field-list .cmb-row.closed .cmbhandle:before{content:"\f347";left:0;top:6px}.rank-math-wizard-body--import .cmb-field-list .cmb-row h3{margin:0;background-color:#f1f2f4;padding:14px 20px 13px 50px;font-size:18px;cursor:pointer;border-radius:4px 4px 0 0}.rank-math-wizard-body--import .cmb-field-list .cmb-row .cmb-td{width:100%}.rank-math-wizard-body--import .cmb-field-list .cmb-row .cmb-td>p{margin:0}.rank-math-wizard-body--import .cmb-field-list .cmb-row .cmb-td>p .cmb-multicheck-toggle{font-size:15px;color:#0474ab}.rank-math-wizard-body--import .cmb-field-list .cmb-row .inside{width:100%;margin:0;background-color:#f8f9fa;padding:30px 20px;overflow:visible;border-radius:4px}.rank-math-wizard-body--import .cmb-field-list .cmb-row .inside .cmb2-list{width:100%}.rank-math-wizard-body--import .cmb-field-list .cmb-row .inside .cmb2-list li{margin-bottom:9px}.rank-math-wizard-body--import .cmb-field-list .cmb-row .inside .cmb2-list li label{font-size:16px;color:#24292e}.rank-math-wizard-body--import .cmb-field-list .cmb-row .inside .cmb2-metabox-description{width:100%;color:#888;font-size:13px;font-style:italic;margin-top:20px}.rank-math-wizard-body--import .import-progress-area{display:none;margin:20px 0;background:#eee;width:80%;float:right}.rank-math-wizard-body--import .cmb2-id-import-from .cmb-th{width:auto}#import-progress-bar{display:none;width:80%;float:right;font-size:15px;color:#959798}#import-progress-bar #importProgress{margin-top:30px;margin-bottom:10px;background-color:#dddfe0;border-radius:50px}#import-progress-bar #importProgress #importBar{width:1%;height:8px;background-color:#069de3;border-radius:50px;-webkit-transition:width 1s;transition:width 1s}#import-progress-bar .left{float:left}#import-progress-bar .left strong{color:#65676a}#import-progress-bar .right{float:right}.rank-math-wizard-body--yoursite .rank-math-wizard-tutorial{margin-bottom:30px}.rank-math-wizard-body--yoursite .rank-math-wizard-tutorial header{font-size:14px;padding:12px 16px;background:#f0f2f4;border-radius:3px}.rank-math-wizard-body--yoursite .rank-math-wizard-tutorial header a{color:#069de3}.rank-math-wizard-body--yoursite .rank-math-tabs-navigation{padding:0 16px;border-bottom:1px solid #dadfe4;background:#e9ecef}.rank-math-wizard-body--yoursite .rank-math-tabs-navigation a{font-size:16px;font-weight:600;display:inline-block;padding:22px 16px 16px;color:#7f868d}.rank-math-wizard-body--yoursite .rank-math-tabs-navigation a.active{color:#069de3;border-bottom:2px solid #069de3}.rank-math-wizard-body--yoursite .rank-math-tabs-navigation a .dashicons{margin-right:15px}.rank-math-wizard-body--yoursite .rank-math-tabs-content{padding:16px;background:#f4f5f6}.rank-math-wizard-body--yoursite .search-form:not(.media-toolbar-primary) label{display:block;font-size:14px;margin-bottom:15px}.rank-math-wizard-body--yoursite .search-form:not(.media-toolbar-primary) input{font-size:1.3em;margin-right:15px;padding:0 8px 0 15px;border-color:#b5bfc9;height:40px;width:77.5%}.rank-math-wizard-body--yoursite .search-form:not(.media-toolbar-primary) button.button{width:20%;letter-spacing:.05em}.rank-math-accordion header,.rank-math-accordion-content .cmb-type-select:not(.no-flex),.rank-math-accordion-content .cmb-type-select:not(.no-flex) .cmb-row-col.create-new-view,#rank-math-pro-cta .rank-math-cta-header,#rank-math-pro-cta .rank-math-cta-body{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap}.wizard-content--analytics .connect-wrap{display:grid;margin-bottom:4rem;place-items:center}.wizard-content--analytics .cmb2-metabox-description{text-align:center}#setting-panel-analyitcs .connect-wrap{margin-bottom:1rem}#setting-panel-analyitcs .connect-wrap .button{font-size:16px;line-height:40px;padding:0 20px}#setting-panel-analyitcs .connect-wrap .button:before{display:none}.disconnect-wrap{margin-bottom:.5rem;text-align:right}.disconnect-wrap button.button,.disconnect-wrap a.button{line-height:1.3;padding:0;text-decoration:none;color:#ee6a5e;border-bottom:1px dotted #fff}.disconnect-wrap button.button:hover,.disconnect-wrap button.button:focus,.disconnect-wrap a.button:hover,.disconnect-wrap a.button:focus{color:#ee6a5e;border-bottom-color:#ee6a5e;background:transparent;-webkit-box-shadow:none;box-shadow:none}.disconnect-wrap a.button{line-height:29px;margin:0;color:#FF9F43}.disconnect-wrap span{line-height:30px;margin:0 8px;color:#b5bfc9}.rank-math-accordion{margin-bottom:1rem;-webkit-transition:.25s all ease-in-out;transition:.25s all ease-in-out;border:1px solid #dadfe4;border-radius:6px;background:#fff}.rank-math-accordion:hover,.rank-math-accordion:focus{border-color:#069de3;-webkit-box-shadow:0 0 0 1px #069de3;box-shadow:0 0 0 1px #069de3}.rank-math-accordion .cmb-row{padding:1rem 0;border-top:0 !important}.rank-math-accordion .cmb2-toggle{margin-right:5px}.rank-math-accordion header{line-height:1;padding:1rem;cursor:pointer;border-bottom:1px solid #dadfe4;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.rank-math-accordion header h3{font-size:1.25rem;line-height:1;margin:0}.rank-math-accordion header h3:before{display:inline-block;width:14px;height:14px;margin-right:.825rem;content:'';border-radius:50%;background:#dadfe4}.rank-math-accordion.connected h3:before{background:#79c979}.rank-math-accordion-content{padding:1rem}.rank-math-accordion-content .cmb-type-select label{display:block;margin-bottom:.5rem}.rank-math-accordion-content .cmb-type-select:not(.no-flex) .cmb-row-col{margin-right:3%;-webkit-box-flex:0;-ms-flex:0 0 31.3333333%;flex:0 0 31.3333333%}.rank-math-accordion-content .cmb-type-select:not(.no-flex) .cmb-row-col:nth-of-type(3),.rank-math-accordion-content .cmb-type-select:not(.no-flex) .cmb-row-col:last-of-type{margin-right:0}.rank-math-accordion-content .cmb-type-select:not(.no-flex) .cmb-row-col.create-new-view{margin-top:1rem;-webkit-box-flex:0;-ms-flex:0 0 100%;flex:0 0 100%}.rank-math-accordion-content .cmb-type-select:not(.no-flex) .cmb-row-col.create-new-view>*{margin-right:.5rem}.rank-math-accordion-content .cmb-type-select:not(.no-flex) .cmb-row-col.create-new-view label{-webkit-box-flex:0;-ms-flex:0 0 100%;flex:0 0 100%}.rank-math-accordion-content .cmb-type-select:not(.no-flex) .cmb-row-col.create-new-view input{width:auto}.rank-math-accordion-content .cmb-type-select:not(.no-flex) .cmb-row-col.create-new-view input:not(:hover):not(:focus){border-color:#b5bfc9}.rank-math-accordion-content .warning{font-size:14px;margin:0 0 1rem}.rank-math-accordion-content .warning strong{color:#ed5e5e}.rank-math-accordion-content .warning.yellow strong{color:#FF9800}.rank-math-accordion-content .country-option{margin-top:1rem}.rank-math-accordion-content .cmb-td{width:100%}.rank-math-accordion-content .cmb2-metabox-description{text-align:left}#rank-math-pro-cta.analytics{margin-left:0}#rank-math-pro-cta.analytics .rank-math-cta-box{background:transparent}#rank-math-pro-cta.rank-math-privacy-box{width:630px;max-width:100%;margin-top:3rem}#rank-math-pro-cta.rank-math-privacy-box.width-100{width:100%}#rank-math-pro-cta.rank-math-privacy-box .rank-math-cta-table{border-width:2px;border-color:#10AC84}#rank-math-pro-cta.rank-math-privacy-box .rank-math-cta-body{background:rgba(16,172,132,0.06)}#rank-math-pro-cta.rank-math-privacy-box .rank-math-cta-body i{font-size:2rem;line-height:50px;width:50px;height:50px;margin-right:1.25rem;color:#10AC84;border-radius:50px;background:rgba(16,172,132,0.1)}#rank-math-pro-cta.rank-math-privacy-box .rank-math-cta-body p{font-size:.9375rem;margin:0;color:#5f8c80}#rank-math-pro-cta.rank-math-privacy-box{width:630px;max-width:100%;margin:3rem auto 0}.rank-math-tabs-content #rank-math-pro-cta.rank-math-privacy-box{width:100%}.next-fetch{float:left;margin-top:4px;color:#7f868d}.cancel-fetch{-webkit-transition:0.25s linear all;transition:0.25s linear all}.cancel-fetch:disabled{opacity:0}.rank-math-console-db-info{display:inline-block;margin:8px 8px 0 0;padding:5px 8px;border-radius:4px;background:#f6f6f6}.rank-math-console-db-info i{font-size:12px;margin-right:3px;vertical-align:-1px}#console_caching_control{margin-bottom:10px}#console-updating-manually-progress{position:relative;display:none;overflow:hidden;margin:10px 0;padding:8px;border-radius:4px;background:#f6f6f6}#console-updating-manually-progress .progress{overflow:hidden;height:100%;padding:8px;-webkit-transition:width 2s ease-in-out;transition:width 2s ease-in-out;white-space:nowrap;color:#fff;border-radius:3px;background:#008ec2;position:absolute;top:0;left:0}#setting-panel-search-console .select2-container{min-width:65%}.cmb2-id-console-authorization-code.unauthorized ~ div{display:none}.cmb2-id-console-authorization-code.unauthorized input,.cmb2-id-console-authorization-code.unauthorized button{display:none !important}.cmb2-id-console-authorization-code.authorizing input,.cmb2-id-console-authorization-code.authorizing button{display:inline-block !important}.cmb2-id-console-authorization-code.authorizing .rank-math-get-authorization-code{margin-top:10px}.cmb2-id-console-authorization-code.authorized #console_authorization_code{display:none}.cmb2-id-console-profile .rank-math-refresh{margin-right:10px}.rank-math-wizard-body--ready .cmb-form>header h1{font-size:20px}.rank-math-wizard-body--ready .wizard-next-steps{margin-top:60px}.rank-math-wizard-body--ready .wizard-next-steps>div{float:left;-webkit-box-sizing:border-box;box-sizing:border-box;width:50%}.rank-math-wizard-body--ready .wizard-next-steps .learn-more{padding-left:35px}.rank-math-wizard-body--ready .wizard-next-steps .learn-more h2{margin-top:0}.rank-math-wizard-body--ready .wizard-next-steps .learn-more li{font-size:18px;line-height:1.5;margin-bottom:12px}.rank-math-wizard-body--ready .wizard-next-steps .learn-more a{color:#089ce6}.rank-math-wizard-body--ready .wizard-next-steps .learn-more .dashicons{font-size:24px;margin-top:2px;margin-right:13px;color:#bcbdbf}.rank-math-wizard-body--ready .score-100{margin-top:-20px;text-align:right}.rank-math-wizard-body--ready .score-100 img{max-width:250px}.rank-math-wizard-body--ready .rank-math-additional-options{text-align:center;margin-top:60px}.rank-math-wizard-body--ready .rank-math-additional-options>div{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.rank-math-wizard-body--ready .rank-math-additional-options>div h3{display:inline-block;color:#434343;font-size:17px;font-weight:500;margin:0}.rank-math-wizard-body--ready .rank-math-additional-options>div .cmb2-toggle{margin-left:10px}.rank-math-wizard-body--ready .rank-math-additional-options>div.rank-math-auto-update-email-wrapper{margin-top:30px}.rank-math-mode-basic .rank-math-return-dashboard{float:right;margin-right:0 !important;color:#fff !important;border-color:#069de3 !important;background:#069de3 !important}.rank-math-mode-basic .rank-math-return-dashboard:hover,.rank-math-mode-basic .rank-math-return-dashboard:focus{border-color:#08a7f1 !important;background:#08a7f1 !important}.rank-math-wizard-body--register .wrapper .cmb-row input.invalid+label{display:block !important}@media screen and (max-width: 905px){.rank-math-wizard #cmb2-metabox-rank-math-wizard .cmb2-id-console-authorization-code .button-primary,.rank-math-wizard #cmb2-metabox-rank-math-wizard .cmb2-id-console-profile .button-primary{display:block;margin-top:10px;margin-left:0}.rank-math-wizard .cmb-row.cmb-multicheck-inline.with-description .cmb2-metabox-description{width:100%;margin-top:20px}}@media screen and (max-width: 782px){.rank-math-wizard .wizard-navigation a:before{font-size:12px}.rank-math-wizard .cmb2-wrap .cmb-row input[type=checkbox]:checked:before{font-size:30px}.rank-math-wizard #rank-math-compatibility-collapsible .form-table th,.rank-math-wizard #rank-math-compatibility-collapsible .form-table td{display:table-cell}}@media screen and (max-width: 782px) and (max-width: 640px){.rank-math-wizard .logo img{width:190px}.rank-math-wizard .wrapper{padding:30px 15px 35px}.rank-math-wizard .form-footer{margin-top:15px}.rank-math-wizard .cmb2-wrap .cmb-row .regular-text,.rank-math-wizard #cmb2-metabox-rank-math-wizard select{width:100%;max-width:100%}.rank-math-wizard .form-footer:not(.rank-math-custom){text-align:center}}@media screen and (max-width: 782px) and (max-width: 595px){.rank-math-wizard .wizard-navigation{margin:25px auto 50px}.rank-math-wizard .wizard-navigation a:before{display:none}.rank-math-wizard .wizard-navigation a:first-child:before{position:relative;z-index:1;display:block;margin-top:-7px;background:#fff}.rank-math-wizard .wizard-navigation a:after{top:-12px}.rank-math-wizard.rank-math-wizard .cmb-form>header h1{font-size:24px}.rank-math-wizard.rank-math-wizard .cmb-form>header p{margin-top:10px}.rank-math-wizard.rank-math-wizard-body--ready .wizard-share{margin-top:25px}.rank-math-wizard.rank-math-wizard-body--ready .wizard-next-steps{margin:25px 0 0}.rank-math-wizard.rank-math-wizard-body--ready .wizard-next-steps>div{width:100%;padding:0 0 25px}}body.rtl.rank-math-wizard-body--requirements .rank-math-collapsible-trigger{display:inline-block;margin-right:10px;margin-left:0;padding:0 5px 0 12px}body.rtl.rank-math-wizard-body--requirements h2>.dashicons{margin-right:0;margin-left:5px}body.rtl.rank-math-wizard-body--requirements .form-table td:last-child{text-align:left}body.rtl.rank-math-wizard-body--requirements .form-footer .button .dashicons-arrow-right-alt2:before{content:'\f341'}body.rtl .wizard-navigation .step-label+a:after{-webkit-transform:translate(20%, 23px);transform:translate(20%, 23px)}body.rtl .wizard-navigation a:after{-webkit-transform:translate(50%, 23px);transform:translate(50%, 23px)}body.rtl .return-to-dashboard a .dashicons-arrow-left-alt2:before{content:'\f345'}body.rtl.rank-math-wizard .form-footer:not(.rank-math-custom) .button-secondary{margin-right:0;margin-left:10px}body.rtl.rank-math-wizard-body--ready .cmb-form>header .dashicons-yes{margin-right:0;margin-left:5px}body.rtl.rank-math-wizard-body--ready .wizard-share{margin-right:10px;margin-left:0}body.rtl.rank-math-wizard-body--ready .wizard-share a{display:inline-block;margin-right:5px;margin-left:0;padding-right:15px;padding-left:20px}body.rtl.rank-math-wizard-body--ready .wizard-share .dashicons{margin-right:0 !important;margin-left:5px !important}body.rtl.rank-math-wizard-body--ready .wizard-next-steps>div{float:right}body.rtl.rank-math-wizard-body--ready .wizard-next-steps .learn-more{padding-right:35px;padding-left:0}body.rtl.rank-math-wizard-body--ready .wizard-next-steps .learn-more .dashicons{margin-right:0;margin-left:13px}body.rtl.rank-math-wizard-body--ready .rank-math-score-wrapper .switch{margin-left:0;margin-right:15px}.blurred{-webkit-filter:blur(2px);filter:blur(2px)}.blurred:after{position:absolute;top:0;right:0;bottom:0;left:0;content:'';background:rgba(248,249,250,0.1)}#rank-math-pro-cta{position:relative;z-index:100;margin-top:2rem}#rank-math-pro-cta.center{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;margin-top:0}#rank-math-pro-cta.analytics{width:560px;max-width:100%;margin:2rem auto 0}#rank-math-pro-cta.no-margin{margin:0}#rank-math-pro-cta .rank-math-cta-box{-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;max-width:90%;padding:2rem 1.5rem;border-radius:4px;background:#fff;-webkit-box-shadow:0 4px 14px 0 rgba(34,36,55,0.28);box-shadow:0 4px 14px 0 rgba(34,36,55,0.28);-ms-flex-item-align:center;align-self:center;justify-self:center}#rank-math-pro-cta .rank-math-cta-box.no-shadow{-webkit-box-shadow:none;box-shadow:none}#rank-math-pro-cta .rank-math-cta-box.no-padding{padding:0}#rank-math-pro-cta .rank-math-cta-box.less-padding{padding:1.5rem}#rank-math-pro-cta .rank-math-cta-box.less-padding h3{margin-bottom:1rem}#rank-math-pro-cta .rank-math-cta-box.top-20{margin-top:10%;-ms-flex-item-align:start;align-self:flex-start}#rank-math-pro-cta .rank-math-cta-box h3{font-size:1.25rem;font-weight:600;margin-top:0;margin-bottom:1.5rem;color:#242628}@media screen and (min-width: 48rem){#rank-math-pro-cta .rank-math-cta-box.width-100{width:100%;max-width:100%}#rank-math-pro-cta .rank-math-cta-box.width-80{max-width:80%}#rank-math-pro-cta .rank-math-cta-box.width-70{max-width:70%}#rank-math-pro-cta .rank-math-cta-box.width-60{max-width:60%}#rank-math-pro-cta .rank-math-cta-box.width-60 h3{margin-bottom:1rem}#rank-math-pro-cta .rank-math-cta-box.width-50{max-width:50%}}#rank-math-pro-cta .rank-math-cta-box.blue-ticks ul li:before{background:#069de3}#rank-math-pro-cta .rank-math-cta-table{margin-bottom:2rem;border:1px solid #dadfe4;border-radius:6px;background:#fff}#rank-math-pro-cta .rank-math-cta-table .less-padding{padding:1.5rem}#rank-math-pro-cta .rank-math-cta-table .less-padding h3{margin-bottom:1rem}#rank-math-pro-cta .rank-math-cta-header{padding:1.25rem .825rem;border-bottom:1px solid #dadfe4;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}#rank-math-pro-cta .rank-math-cta-header h2{font-size:1.125rem;font-weight:500;margin:0}#rank-math-pro-cta .rank-math-cta-body{padding:1.25rem 1.5rem 1.25rem .825rem;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}#rank-math-pro-cta .rank-math-cta-body svg,#rank-math-pro-cta .rank-math-cta-body .dashicon{margin-right:1.25rem;fill:#ed5e5e}#rank-math-pro-cta .rank-math-cta-body span.dashicon{font-size:50px;width:50px;height:50px;color:#ed5e5e}#rank-math-pro-cta .rank-math-cta-body p{font-size:1rem;-webkit-box-flex:1;-ms-flex:1;flex:1}#rank-math-pro-cta .rank-math-cta-body .button{line-height:40px;margin-left:1.25rem}#rank-math-pro-cta .rank-math-cta-text{display:block;color:#7f868d}#rank-math-pro-cta .rank-math-cta-text span{margin-right:3px}#rank-math-pro-cta ul{font-size:15px;margin-bottom:1.5rem}#rank-math-pro-cta ul li{font-size:1rem;margin-bottom:1rem;padding:0;color:#7f868d;border:0}#rank-math-pro-cta ul li:before{font-family:'dashicons';font-size:16px;line-height:18px;display:inline-block;width:18px;margin-right:8px;content:'\f15e';text-align:center;vertical-align:-2px;color:#fff;border-radius:50%;background:#10AC84}#rank-math-pro-cta .button{font-weight:500;display:inline-block;width:auto;max-width:100%;margin:0 auto;padding:0 3rem;text-align:center}
|
2 |
* Plugin: Rank Math
|
3 |
* URL: https://rankmath.com/wordpress/plugin/seo-suite/
|
4 |
* Name: setup-wizard.css
|
5 |
+
*/:root{--rankmath-wp-adminbar-height: 0}.rank-math-wizard-body--requirements h2>.dashicons,.rank-math-wizard-body--ready .cmb-form>header .dashicons-yes{margin-right:5px;padding:4px;vertical-align:-3px;color:#fff;border-radius:50%;background:#58bb58}.rank-math-wizard{background:#f0f2f4;color:#242628}.rank-math-wizard *:focus{outline:none;-webkit-box-shadow:none;box-shadow:none}.rank-math-wizard a{text-decoration:none}.rank-math-wizard .notice-error{position:relative;margin-right:auto;margin-left:auto;background:#ffebee}.rank-math-wizard .text-center{color:#7f868d;font-size:1rem;font-weight:normal;text-align:center}.rank-math-wizard .rank-math-gray-box{margin-top:2rem !important;padding:25px 35px;border-radius:5px;background:#f5f5f5}.rank-math-wizard .header{max-width:970px;margin:75px auto 0}.rank-math-wizard .wrapper{-webkit-box-sizing:border-box;box-sizing:border-box;max-width:970px;margin:35px auto 45px;padding:42px 40px 50px;border-radius:5px;background:#fff;-webkit-box-shadow:0 2px 6px rgba(50,50,93,0.05),0 1px 3px rgba(0,0,0,0.05);box-shadow:0 2px 6px rgba(50,50,93,0.05),0 1px 3px rgba(0,0,0,0.05)}.rank-math-wizard .cmb-form>header,.rank-math-wizard .cmb-form header.redirections-header{margin-bottom:40px;text-align:center}.rank-math-wizard .cmb-form>header h1,.rank-math-wizard .cmb-form header.redirections-header h1{font-size:30px;font-weight:700;margin:0 0 14px}.rank-math-wizard .cmb-form>header p,.rank-math-wizard .cmb-form header.redirections-header p{font-size:15px;max-width:600px;margin:10px auto;color:#7f868d}.rank-math-wizard .cmb-form>.notice{display:none}.rank-math-wizard .cmb-form header.redirections-header{margin-bottom:0}.rank-math-wizard .cmb-form header.redirections-header h1{margin-top:.67em}.rank-math-wizard .cmb-form .cmb-type-file .cmb-th label,.rank-math-wizard .cmb-form .cmb-type-switch .cmb-th label,.rank-math-wizard .cmb-form .cmb-type-multicheck .cmb-th label,.rank-math-wizard .cmb-form .cmb-type-radio-inline .cmb-th label{cursor:default}.rank-math-wizard .cmb-form .cmb-type-file .cmb-multicheck-toggle,.rank-math-wizard .cmb-form .cmb-type-switch .cmb-multicheck-toggle,.rank-math-wizard .cmb-form .cmb-type-multicheck .cmb-multicheck-toggle,.rank-math-wizard .cmb-form .cmb-type-radio-inline .cmb-multicheck-toggle{cursor:pointer}.rank-math-collapsible-trigger{letter-spacing:0.5px}.rank-math-collapsible-trigger .dashicons{font-size:16px;vertical-align:top;display:inline-block;width:47px}.rank-math-collapsible-trigger .dashicons:before{vertical-align:-1px}.rank-math-collapsible-trigger .dashicons span{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen-Sans,Ubuntu,Cantarell,'Helvetica Neue',sans-serif;font-size:12px;vertical-align:3px;color:rgba(36,41,46,0.65)}.rank-math-collapsible-trigger .dashicons-arrow-up-alt2{display:none}.rank-math-collapsible-trigger.open .dashicons-arrow-up-alt2{display:inline-block}.rank-math-collapsible-trigger.open .dashicons-arrow-down-alt2{display:none}.rank-math-collapsible-content{display:none}.rank-math-collapsible-content.open{display:block}.return-to-dashboard{padding-bottom:50px;text-align:center}.return-to-dashboard a{font-size:14px;display:inline-block;text-align:center;text-decoration:none;color:#7f868d;border-bottom:1px dotted}.return-to-dashboard a:hover,.return-to-dashboard a:focus{color:#069de3;border-color:#069de3}@media screen and (prefers-reduced-motion: reduce){.return-to-dashboard{opacity:1 !important}}.cmb2-wrap .cmb-row.features-child{margin-top:-5px;padding:25px 20px !important;border-bottom-color:#f8f9fa;background:#f8f9fa}.responsive-video{position:relative;overflow:hidden;padding-top:56.25%}.responsive-video iframe{border:0;height:100%;width:100%;position:absolute;top:0;right:0;bottom:0;left:0}.cmb-row.cmb-multicheck-inline.with-description .cmb2-metabox-description,.cmb-row.cmb-multicheck-inline .cmb2-checkbox-list,.cmb-row.cmb-multicheck-inline .cmb2-checkbox-list li{display:inline-block;width:48%;vertical-align:top}.cmb-row.cmb-multicheck-inline .cmb2-checkbox-list{width:420px;max-width:100%}.cmb-row.cmb-multicheck-inline.with-description .cmb-td{width:100%}.cmb-row.cmb-multicheck-inline.with-description .cmb2-checkbox-list{padding-top:20px}.cmb-row.cmb-multicheck-inline.with-description .cmb2-metabox-description{font-size:15px;line-height:1.5;padding:0;color:#21262c}[id^='cmb2-metabox-rank'] select{padding-top:0;padding-bottom:0}@media screen and (max-width: 782px){.rank-math-wizard .rank-math-ui .button{font-size:15px;padding:0 20px}}.rank-math-wizard .rank-math-ui .cmb-type-multicheck .cmb-td p:first-of-type{margin:0}.rank-math-wizard .rank-math-ui .cmb-multicheck-toggle{padding:0;cursor:pointer;color:#069de3;border:0;background:transparent;-webkit-box-shadow:none;box-shadow:none}.rank-math-wizard .rank-math-ui .cmb-multicheck-toggle:active{-webkit-transform:none;transform:none;-webkit-box-shadow:none;box-shadow:none}.form-footer:not(.rank-math-custom){width:calc(100% + 80px);margin:75px -40px -50px;border:0;border-top:1px solid #dadfe4;border-radius:0 0 5px 5px;overflow:hidden}.form-footer:not(.rank-math-custom) .button{font-size:16px;line-height:48px;height:48px;padding:0 30px}.form-footer:not(.rank-math-custom) .button-secondary{margin-right:10px}.wizard-navigation{display:-webkit-box;display:-ms-flexbox;display:flex;margin:50px auto 0;text-align:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.wizard-navigation a{font-size:13px;position:relative;display:block;letter-spacing:0.5px;text-transform:uppercase;color:#5b6065;-webkit-box-flex:1;-ms-flex:1;flex:1}.wizard-navigation a:before{font-weight:600;display:block;padding-bottom:10px;content:attr(title);color:#5b6065}.wizard-navigation a:after{content:'';-webkit-transform:translate(-50%, 23px);transform:translate(-50%, 23px);background-color:#cbd2d9;height:3px;width:100%;position:absolute;top:15px;left:0;pointer-events:none}.wizard-navigation span{line-height:20px;position:relative;z-index:10;display:inline-block;border:2px solid #cbd2d9;border-radius:50%;background:#cbd2d9;-webkit-box-shadow:inset 0 0 0 2px #fff;box-shadow:inset 0 0 0 2px #fff;height:18px;width:18px}.wizard-navigation .step-label:before{color:#069de3}.wizard-navigation .step-label:after{display:none}.wizard-navigation .step-label+a:after{width:162%;-webkit-transform:translate(-60%, 23px);transform:translate(-60%, 23px)}.wizard-navigation a.active span{color:#fff;border:2px solid #069de3;background:#069de3;-webkit-box-shadow:inset 0 0 0 2px #fff;box-shadow:inset 0 0 0 2px #fff}.wizard-navigation a.active:after{background:-webkit-gradient(linear, left top, right top, from(#58bb58), to(#069de3));background:linear-gradient(to right, #58bb58 0%, #069de3 100%)}.wizard-navigation a.active:before{color:#069de3}.wizard-navigation a.done span{color:#fff;border-color:#58bb58;background-color:#58bb58;-webkit-box-shadow:inset 0 0 0 2px #fff;box-shadow:inset 0 0 0 2px #fff}.wizard-navigation a.done:after{background-color:#58bb58}.rank-math-wizard-body--requirements h2>.dashicons{opacity:0.5;width:18px;height:18px;font-size:16px;line-height:18px;padding:0;vertical-align:-2px}.rank-math-wizard-body--requirements h2>.dashicons-warning{background:#e8cb57}.rank-math-wizard-body--requirements #rank-math-compatibility-collapsible{width:770px;max-width:100%;margin:0 auto}.rank-math-wizard-body--requirements .form-table{margin-top:50px;border-width:1px 1px 0 1px;border-style:solid;border-color:#b5bfc9}.rank-math-wizard-body--requirements .form-table tr:nth-child(odd){background:#f8f9fa}.rank-math-wizard-body--requirements .form-table td,.rank-math-wizard-body--requirements .form-table th{padding:10px 20px;border-bottom:1px solid #b5bfc9}.rank-math-wizard-body--requirements .form-table th{color:#242628;width:auto}.rank-math-wizard-body--requirements .form-table th .description{font-size:12px;font-weight:normal;font-style:normal;color:#939596}.rank-math-wizard-body--requirements .form-table td{vertical-align:top}.rank-math-wizard-body--requirements .form-table td:last-child{text-align:right}.rank-math-wizard-body--requirements .form-table td:last-child .dashicons{font-size:24px}.rank-math-wizard-body--requirements .form-table .check-no th{border-left:3px solid #ee6a5e}.rank-math-wizard-body--requirements .form-table .check-no td{color:#ee6a5e}.rank-math-wizard-body--requirements .checklist-ok,.rank-math-wizard-body--requirements .checklist-not-ok{margin-top:10px;color:#969696}.rank-math-wizard-body--requirements .checklist-not-ok{color:#ee6a5e}.rank-math-wizard-body--requirements .conflict-text{font-size:15px;font-weight:500;margin-top:20px;margin-bottom:0;color:#ee6a5e}.rank-math-wizard-body--requirements .noconflict{color:#58bb58}.rank-math-wizard-body--requirements .wizard-conflicts{margin-top:10px}.rank-math-wizard-body--requirements .wizard-conflicts .import-info{font-size:12px;font-weight:normal;color:#777}.rank-math-wizard-body--requirements .wizard-conflicts .import-info:before{content:' - '}.rank-math-wizard-body--requirements .wizard-conflicts td{padding:8px 10px;vertical-align:middle}.rank-math-wizard-body--requirements .wizard-conflicts td:first-child{width:20px;padding-right:0;color:#ee6a5e}.rank-math-wizard-body--requirements .wizard-conflicts td:first-child .dashicons-yes{color:#58bb58}.rank-math-wizard-body--requirements .wizard-conflicts td a.disabled{cursor:not-allowed}.rank-math-wizard-body--requirements .form-footer{margin:60px 0 25px}.rank-math-wizard-body--requirements .rank-math-collapsible-trigger{margin-left:10px;color:inherit}.rank-math-wizard-body--requirements .rank-math-collapsible-trigger:hover{background:#f8f9fa}.rank-math-wizard-body--requirements .rank-math-ui{border:none}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode{margin:0 auto;width:770px;max-width:100%;margin-top:3rem}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td{display:block;width:100%}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul{display:block;width:100%;border:none;padding:0}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li{float:none;width:100%;position:relative}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li input{display:inline-block;margin-top:3px;margin-right:16px;position:absolute;top:20px;left:20px}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li input:checked+label{border-color:#069de3;-webkit-box-shadow:0 0 0 1px #069de3;box-shadow:0 0 0 1px #069de3}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li input:focus+label{border-color:#7f868d}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li:hover label{border-color:#7f868d}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li label{display:block;width:100%;color:#242628;font-size:17px;font-weight:600;height:auto;white-space:normal;line-height:1;padding:20px 20px 20px 50px;background:#f8f9fa;border:1px solid #dadfe4;margin:0 0 16px 0;border-radius:6px;-webkit-transition:0.25s all linear;transition:0.25s all linear;-webkit-box-sizing:border-box;box-sizing:border-box}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li label p{display:block;clear:both;font-weight:normal;font-size:14px;line-height:1.5;font-style:normal;padding:0;margin:0;padding-top:10px;color:#7f868d}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li label p strong{font-weight:500}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li:last-child input{opacity:0.5}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li:last-child label{margin-bottom:0}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li:last-child .rank-math-mode-title{color:rgba(36,38,40,0.5)}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li:last-child .rank-math-mode-title:after{content:'Pro';margin-left:10px;vertical-align:1px;opacity:1;color:#fff;background:#4CAF50;background:linear-gradient(100deg, #4CAF50 0%, #8baf4c 100%);font-size:11px;font-weight:normal;text-transform:uppercase;padding:5px 10px;border-radius:3px;margin-left:5px}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td .cmb2-metabox-description strong{padding:2px 6px;color:#977d30;background:#ffe8a5;border-radius:3px}.rank-math-wizard-body--requirements.rank-math-mode-basic .wizard-navigation a{pointer-events:none;cursor:default}.rank-math-wizard-body--requirements .rank-math-ui{border:none}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode{margin:0 auto;width:770px;max-width:100%;margin-top:3rem}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td{display:block;width:100%}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul{display:block;width:100%;border:none;padding:0}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li{float:none;width:100%;position:relative}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li input{display:inline-block;margin-top:3px;margin-right:16px;position:absolute;top:20px;left:20px}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li input:checked+label{border-color:#069de3;-webkit-box-shadow:0 0 0 1px #069de3;box-shadow:0 0 0 1px #069de3}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li input:focus+label{border-color:#7f868d}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li:hover label{border-color:#7f868d}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li label{display:block;width:100%;color:#242628;font-size:17px;font-weight:600;height:auto;white-space:normal;line-height:1;padding:20px 20px 20px 50px;background:#fafafa;border:1px solid #dadfe4;margin-bottom:16px;border-radius:6px;-webkit-transition:0.25s all linear;transition:0.25s all linear;-webkit-box-sizing:border-box;box-sizing:border-box}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li label p{display:block;clear:both;font-weight:normal;font-size:14px;line-height:1.5;font-style:normal;padding:0;margin:0;padding-top:10px;color:#7f868d}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li:last-child input{opacity:0.5}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li:last-child .rank-math-mode-title{color:rgba(36,38,40,0.5)}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li:last-child .rank-math-mode-title:after{content:'Pro';margin-left:10px;vertical-align:1px;opacity:1;color:#fff;background:#4CAF50;background:linear-gradient(100deg, #4CAF50 0%, #8baf4c 100%);font-size:11px;font-weight:normal;text-transform:uppercase;padding:5px 10px;border-radius:3px;margin-left:5px}.rank-math-wizard-body--import .cmb-field-list{position:relative;overflow:hidden}.rank-math-wizard-body--import .cmb-field-list h3.import-label{display:inline-block;width:20%}.rank-math-wizard-body--import .cmb-field-list .cmb-type-group{float:right;width:80%}.rank-math-wizard-body--import .cmb-field-list .cmb-group-description{position:absolute;z-index:1;top:6px;left:20px}.rank-math-wizard-body--import .cmb-field-list .cmb-row{padding:0;margin-bottom:5px;border:none !important}.rank-math-wizard-body--import .cmb-field-list .cmb-row .cmbhandle{top:14px;right:20px;width:30px;height:30px;border-radius:50%;text-align:center;background-color:#059de2;color:#fff}.rank-math-wizard-body--import .cmb-field-list .cmb-row .cmbhandle:before{content:"\f343";padding:0;right:0;left:1px;top:5px;bottom:0}.rank-math-wizard-body--import .cmb-field-list .cmb-row.closed h3{border-radius:4px}.rank-math-wizard-body--import .cmb-field-list .cmb-row.closed .inside{display:none}.rank-math-wizard-body--import .cmb-field-list .cmb-row.closed .cmbhandle{background-color:#fff;color:#a4a4a4;-webkit-box-shadow:1px -1px 62px -13px rgba(0,0,0,0.14);box-shadow:1px -1px 62px -13px rgba(0,0,0,0.14)}.rank-math-wizard-body--import .cmb-field-list .cmb-row.closed .cmbhandle:before{content:"\f347";left:0;top:6px}.rank-math-wizard-body--import .cmb-field-list .cmb-row h3{margin:0;background-color:#f1f2f4;padding:14px 20px 13px 50px;font-size:18px;cursor:pointer;border-radius:4px 4px 0 0}.rank-math-wizard-body--import .cmb-field-list .cmb-row .cmb-td{width:100%}.rank-math-wizard-body--import .cmb-field-list .cmb-row .cmb-td>p{margin:0}.rank-math-wizard-body--import .cmb-field-list .cmb-row .cmb-td>p .cmb-multicheck-toggle{font-size:15px;color:#0474ab}.rank-math-wizard-body--import .cmb-field-list .cmb-row .inside{width:100%;margin:0;background-color:#f8f9fa;padding:30px 20px;overflow:visible;border-radius:4px}.rank-math-wizard-body--import .cmb-field-list .cmb-row .inside .cmb2-list{width:100%}.rank-math-wizard-body--import .cmb-field-list .cmb-row .inside .cmb2-list li{margin-bottom:9px}.rank-math-wizard-body--import .cmb-field-list .cmb-row .inside .cmb2-list li label{font-size:16px;color:#24292e}.rank-math-wizard-body--import .cmb-field-list .cmb-row .inside .cmb2-metabox-description{width:100%;color:#888;font-size:13px;font-style:italic;margin-top:20px}.rank-math-wizard-body--import .import-progress-area{display:none;margin:20px 0;background:#eee;width:80%;float:right}.rank-math-wizard-body--import .cmb2-id-import-from .cmb-th{width:auto}#import-progress-bar{display:none;width:80%;float:right;font-size:15px;color:#959798}#import-progress-bar #importProgress{margin-top:30px;margin-bottom:10px;background-color:#dddfe0;border-radius:50px}#import-progress-bar #importProgress #importBar{width:1%;height:8px;background-color:#069de3;border-radius:50px;-webkit-transition:width 1s;transition:width 1s}#import-progress-bar .left{float:left}#import-progress-bar .left strong{color:#65676a}#import-progress-bar .right{float:right}.rank-math-wizard-body--yoursite .rank-math-wizard-tutorial{margin-bottom:30px}.rank-math-wizard-body--yoursite .rank-math-wizard-tutorial header{font-size:14px;padding:12px 16px;background:#f0f2f4;border-radius:3px}.rank-math-wizard-body--yoursite .rank-math-wizard-tutorial header a{color:#069de3}.rank-math-wizard-body--yoursite .rank-math-tabs-navigation{padding:0 16px;border-bottom:1px solid #dadfe4;background:#e9ecef}.rank-math-wizard-body--yoursite .rank-math-tabs-navigation a{font-size:16px;font-weight:600;display:inline-block;padding:22px 16px 16px;color:#7f868d}.rank-math-wizard-body--yoursite .rank-math-tabs-navigation a.active{color:#069de3;border-bottom:2px solid #069de3}.rank-math-wizard-body--yoursite .rank-math-tabs-navigation a .dashicons{margin-right:15px}.rank-math-wizard-body--yoursite .rank-math-tabs-content{padding:16px;background:#f4f5f6}.rank-math-wizard-body--yoursite .rank-math-tabs-content #help-panel-knowledge,.rank-math-wizard-body--yoursite .rank-math-tabs-content #help-panel-video{border:0;background:transparent}.rank-math-wizard-body--yoursite .rank-math-tabs-content #help-panel-knowledge:hover,.rank-math-wizard-body--yoursite .rank-math-tabs-content #help-panel-video:hover{color:inherit}.rank-math-wizard-body--yoursite .search-form:not(.media-toolbar-primary) label{display:block;font-size:14px}.rank-math-wizard-body--yoursite .search-form:not(.media-toolbar-primary) input{font-size:1.3em;margin-right:15px;padding:0 8px 0 15px;border-color:#b5bfc9;height:40px;width:77.5%}.rank-math-wizard-body--yoursite .search-form:not(.media-toolbar-primary) button.button{width:20%;letter-spacing:.05em}.rank-math-accordion header,.rank-math-accordion-content .cmb-type-select:not(.no-flex),.rank-math-accordion-content .cmb-type-select:not(.no-flex) .cmb-row-col.create-new-view,#rank-math-pro-cta .rank-math-cta-header,#rank-math-pro-cta .rank-math-cta-body{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap}.wizard-content--analytics .connect-wrap{display:grid;margin-bottom:4rem;place-items:center}.wizard-content--analytics .cmb2-metabox-description{text-align:center}#setting-panel-analyitcs .connect-wrap{margin-bottom:1rem}#setting-panel-analyitcs .connect-wrap .button{font-size:16px;line-height:40px;padding:0 20px}#setting-panel-analyitcs .connect-wrap .button:before{display:none}.disconnect-wrap{margin-bottom:.5rem;text-align:right}.disconnect-wrap button.button,.disconnect-wrap a.button{line-height:1.3;padding:0;text-decoration:none;color:#ee6a5e;border-bottom:1px dotted #fff}.disconnect-wrap button.button:hover,.disconnect-wrap button.button:focus,.disconnect-wrap a.button:hover,.disconnect-wrap a.button:focus{color:#ee6a5e;border-bottom-color:#ee6a5e;background:transparent;-webkit-box-shadow:none;box-shadow:none}.disconnect-wrap a.button{line-height:29px;margin:0;color:#FF9F43}.disconnect-wrap span{line-height:30px;margin:0 8px;color:#b5bfc9}.rank-math-accordion{margin-bottom:1rem;-webkit-transition:.25s all ease-in-out;transition:.25s all ease-in-out;border:1px solid #dadfe4;border-radius:6px;background:#fff}.rank-math-accordion:hover,.rank-math-accordion:focus{border-color:#069de3;-webkit-box-shadow:0 0 0 1px #069de3;box-shadow:0 0 0 1px #069de3}.rank-math-accordion .cmb-row{padding:1rem 0;border-top:0 !important}.rank-math-accordion .cmb2-toggle{margin-right:5px}.rank-math-accordion header{line-height:1;padding:1rem;cursor:pointer;border-bottom:1px solid #dadfe4;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.rank-math-accordion header h3{font-size:1.25rem;line-height:1;margin:0}.rank-math-accordion header h3:before{display:inline-block;width:14px;height:14px;margin-right:.825rem;content:'';border-radius:50%;background:#dadfe4}.rank-math-accordion.connected h3:before{background:#79c979}.rank-math-accordion-content{padding:1rem}.rank-math-accordion-content .cmb-type-select label{display:block;margin-bottom:.5rem}.rank-math-accordion-content .cmb-type-select:not(.no-flex) .cmb-row-col{margin-right:3%;-webkit-box-flex:0;-ms-flex:0 0 31.3333333%;flex:0 0 31.3333333%}.rank-math-accordion-content .cmb-type-select:not(.no-flex) .cmb-row-col:nth-of-type(3),.rank-math-accordion-content .cmb-type-select:not(.no-flex) .cmb-row-col:last-of-type{margin-right:0}.rank-math-accordion-content .cmb-type-select:not(.no-flex) .cmb-row-col.create-new-view{margin-top:1rem;-webkit-box-flex:0;-ms-flex:0 0 100%;flex:0 0 100%}.rank-math-accordion-content .cmb-type-select:not(.no-flex) .cmb-row-col.create-new-view>*{margin-right:.5rem}.rank-math-accordion-content .cmb-type-select:not(.no-flex) .cmb-row-col.create-new-view label{-webkit-box-flex:0;-ms-flex:0 0 100%;flex:0 0 100%}.rank-math-accordion-content .cmb-type-select:not(.no-flex) .cmb-row-col.create-new-view input{width:auto}.rank-math-accordion-content .cmb-type-select:not(.no-flex) .cmb-row-col.create-new-view input:not(:hover):not(:focus){border-color:#b5bfc9}.rank-math-accordion-content .warning{font-size:14px;margin:0 0 1rem}.rank-math-accordion-content .warning strong{color:#ed5e5e}.rank-math-accordion-content .warning.yellow strong{color:#FF9800}.rank-math-accordion-content .country-option{margin-top:1rem}.rank-math-accordion-content .cmb-td{width:100%}.rank-math-accordion-content .cmb2-metabox-description{text-align:left}#rank-math-pro-cta.analytics{margin-left:0}#rank-math-pro-cta.analytics .rank-math-cta-box{background:transparent}#rank-math-pro-cta.rank-math-privacy-box{width:630px;max-width:100%;margin-top:3rem}#rank-math-pro-cta.rank-math-privacy-box.width-100{width:100%}#rank-math-pro-cta.rank-math-privacy-box .rank-math-cta-table{border-width:2px;border-color:#10AC84}#rank-math-pro-cta.rank-math-privacy-box .rank-math-cta-body{background:rgba(16,172,132,0.06)}#rank-math-pro-cta.rank-math-privacy-box .rank-math-cta-body i{font-size:2rem;line-height:50px;width:50px;height:50px;margin-right:1.25rem;color:#10AC84;border-radius:50px;background:rgba(16,172,132,0.1)}#rank-math-pro-cta.rank-math-privacy-box .rank-math-cta-body p{font-size:.9375rem;margin:0;color:#5f8c80}#rank-math-pro-cta.rank-math-privacy-box{width:630px;max-width:100%;margin:3rem auto 0}.rank-math-tabs-content #rank-math-pro-cta.rank-math-privacy-box{width:100%}.next-fetch{float:left;margin-top:4px;color:#7f868d}.cancel-fetch{-webkit-transition:0.25s linear all;transition:0.25s linear all}.cancel-fetch:disabled{opacity:0}.rank-math-console-db-info{display:inline-block;margin:8px 8px 0 0;padding:5px 8px;border-radius:4px;background:#f6f6f6}.rank-math-console-db-info i{font-size:12px;margin-right:3px;vertical-align:-1px}#console_caching_control{margin-bottom:10px}#console-updating-manually-progress{position:relative;display:none;overflow:hidden;margin:10px 0;padding:8px;border-radius:4px;background:#f6f6f6}#console-updating-manually-progress .progress{overflow:hidden;height:100%;padding:8px;-webkit-transition:width 2s ease-in-out;transition:width 2s ease-in-out;white-space:nowrap;color:#fff;border-radius:3px;background:#008ec2;position:absolute;top:0;left:0}#setting-panel-search-console .select2-container{min-width:65%}.cmb2-id-console-authorization-code.unauthorized ~ div{display:none}.cmb2-id-console-authorization-code.unauthorized input,.cmb2-id-console-authorization-code.unauthorized button{display:none !important}.cmb2-id-console-authorization-code.authorizing input,.cmb2-id-console-authorization-code.authorizing button{display:inline-block !important}.cmb2-id-console-authorization-code.authorizing .rank-math-get-authorization-code{margin-top:10px}.cmb2-id-console-authorization-code.authorized #console_authorization_code{display:none}.cmb2-id-console-profile .rank-math-refresh{margin-right:10px}.rank-math-wizard-body--ready .cmb-form>header h1{font-size:20px}.rank-math-wizard-body--ready .wizard-next-steps{margin-top:60px}.rank-math-wizard-body--ready .wizard-next-steps>div{float:left;-webkit-box-sizing:border-box;box-sizing:border-box;width:50%}.rank-math-wizard-body--ready .wizard-next-steps .learn-more{padding-left:35px}.rank-math-wizard-body--ready .wizard-next-steps .learn-more h2{margin-top:0}.rank-math-wizard-body--ready .wizard-next-steps .learn-more li{font-size:18px;line-height:1.5;margin-bottom:12px}.rank-math-wizard-body--ready .wizard-next-steps .learn-more a{color:#089ce6}.rank-math-wizard-body--ready .wizard-next-steps .learn-more .dashicons{font-size:24px;margin-top:2px;margin-right:13px;color:#bcbdbf}.rank-math-wizard-body--ready .score-100{margin-top:-20px;text-align:right}.rank-math-wizard-body--ready .score-100 img{max-width:250px}.rank-math-wizard-body--ready .rank-math-additional-options{text-align:center;margin-top:60px}.rank-math-wizard-body--ready .rank-math-additional-options>div{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.rank-math-wizard-body--ready .rank-math-additional-options>div h3{display:inline-block;color:#434343;font-size:17px;font-weight:500;margin:0}.rank-math-wizard-body--ready .rank-math-additional-options>div .cmb2-toggle{margin-left:10px}.rank-math-wizard-body--ready .rank-math-additional-options>div.rank-math-auto-update-email-wrapper{margin-top:30px}.rank-math-mode-basic .rank-math-return-dashboard{float:right;margin-right:0 !important;color:#fff !important;border-color:#069de3 !important;background:#069de3 !important}.rank-math-mode-basic .rank-math-return-dashboard:hover,.rank-math-mode-basic .rank-math-return-dashboard:focus{border-color:#08a7f1 !important;background:#08a7f1 !important}.rank-math-wizard-body--register .wrapper .cmb-row input.invalid+label{display:block !important}@media screen and (max-width: 905px){.rank-math-wizard #cmb2-metabox-rank-math-wizard .cmb2-id-console-authorization-code .button-primary,.rank-math-wizard #cmb2-metabox-rank-math-wizard .cmb2-id-console-profile .button-primary{display:block;margin-top:10px;margin-left:0}.rank-math-wizard .cmb-row.cmb-multicheck-inline.with-description .cmb2-metabox-description{width:100%;margin-top:20px}}@media screen and (max-width: 782px){.rank-math-wizard .wizard-navigation a:before{font-size:12px}.rank-math-wizard .cmb2-wrap .cmb-row input[type=checkbox]:checked:before{font-size:30px}.rank-math-wizard #rank-math-compatibility-collapsible .form-table th,.rank-math-wizard #rank-math-compatibility-collapsible .form-table td{display:table-cell}}@media screen and (max-width: 782px) and (max-width: 640px){.rank-math-wizard .logo img{width:190px}.rank-math-wizard .wrapper{padding:30px 15px 35px}.rank-math-wizard .form-footer{margin-top:15px}.rank-math-wizard .cmb2-wrap .cmb-row .regular-text,.rank-math-wizard #cmb2-metabox-rank-math-wizard select{width:100%;max-width:100%}.rank-math-wizard .form-footer:not(.rank-math-custom){text-align:center}}@media screen and (max-width: 782px) and (max-width: 595px){.rank-math-wizard .wizard-navigation{margin:25px auto 50px}.rank-math-wizard .wizard-navigation a:before{display:none}.rank-math-wizard .wizard-navigation a:first-child:before{position:relative;z-index:1;display:block;margin-top:-7px;background:#fff}.rank-math-wizard .wizard-navigation a:after{top:-12px}.rank-math-wizard.rank-math-wizard .cmb-form>header h1{font-size:24px}.rank-math-wizard.rank-math-wizard .cmb-form>header p{margin-top:10px}.rank-math-wizard.rank-math-wizard-body--ready .wizard-share{margin-top:25px}.rank-math-wizard.rank-math-wizard-body--ready .wizard-next-steps{margin:25px 0 0}.rank-math-wizard.rank-math-wizard-body--ready .wizard-next-steps>div{width:100%;padding:0 0 25px}}body.rtl.rank-math-wizard-body--requirements .rank-math-collapsible-trigger{display:inline-block;margin-right:10px;margin-left:0;padding:0 5px 0 12px}body.rtl.rank-math-wizard-body--requirements h2>.dashicons{margin-right:0;margin-left:5px}body.rtl.rank-math-wizard-body--requirements .form-table td:last-child{text-align:left}body.rtl.rank-math-wizard-body--requirements .form-footer .button .dashicons-arrow-right-alt2:before{content:'\f341'}body.rtl .wizard-navigation .step-label+a:after{-webkit-transform:translate(20%, 23px);transform:translate(20%, 23px)}body.rtl .wizard-navigation a:after{-webkit-transform:translate(50%, 23px);transform:translate(50%, 23px)}body.rtl .return-to-dashboard a .dashicons-arrow-left-alt2:before{content:'\f345'}body.rtl.rank-math-wizard .form-footer:not(.rank-math-custom) .button-secondary{margin-right:0;margin-left:10px}body.rtl.rank-math-wizard-body--ready .cmb-form>header .dashicons-yes{margin-right:0;margin-left:5px}body.rtl.rank-math-wizard-body--ready .wizard-share{margin-right:10px;margin-left:0}body.rtl.rank-math-wizard-body--ready .wizard-share a{display:inline-block;margin-right:5px;margin-left:0;padding-right:15px;padding-left:20px}body.rtl.rank-math-wizard-body--ready .wizard-share .dashicons{margin-right:0 !important;margin-left:5px !important}body.rtl.rank-math-wizard-body--ready .wizard-next-steps>div{float:right}body.rtl.rank-math-wizard-body--ready .wizard-next-steps .learn-more{padding-right:35px;padding-left:0}body.rtl.rank-math-wizard-body--ready .wizard-next-steps .learn-more .dashicons{margin-right:0;margin-left:13px}body.rtl.rank-math-wizard-body--ready .rank-math-score-wrapper .switch{margin-left:0;margin-right:15px}.blurred{-webkit-filter:blur(2px);filter:blur(2px)}.blurred:after{position:absolute;top:0;right:0;bottom:0;left:0;content:'';background:rgba(248,249,250,0.1)}#rank-math-pro-cta{position:relative;z-index:100;margin-top:2rem}#rank-math-pro-cta.center{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;margin-top:0}#rank-math-pro-cta.analytics{width:560px;max-width:100%;margin:2rem auto 0}#rank-math-pro-cta.no-margin{margin:0}#rank-math-pro-cta .rank-math-cta-box{-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;max-width:90%;padding:2rem 1.5rem;border-radius:4px;background:#fff;-webkit-box-shadow:0 4px 14px 0 rgba(34,36,55,0.28);box-shadow:0 4px 14px 0 rgba(34,36,55,0.28);-ms-flex-item-align:center;align-self:center;justify-self:center}#rank-math-pro-cta .rank-math-cta-box.no-shadow{-webkit-box-shadow:none;box-shadow:none}#rank-math-pro-cta .rank-math-cta-box.no-padding{padding:0}#rank-math-pro-cta .rank-math-cta-box.less-padding{padding:1.5rem}#rank-math-pro-cta .rank-math-cta-box.less-padding h3{margin-bottom:1rem}#rank-math-pro-cta .rank-math-cta-box.top-20{margin-top:10%;-ms-flex-item-align:start;align-self:flex-start}#rank-math-pro-cta .rank-math-cta-box h3{font-size:1.25rem;font-weight:600;margin-top:0;margin-bottom:1.5rem;color:#242628}@media screen and (min-width: 48rem){#rank-math-pro-cta .rank-math-cta-box.width-100{width:100%;max-width:100%}#rank-math-pro-cta .rank-math-cta-box.width-80{max-width:80%}#rank-math-pro-cta .rank-math-cta-box.width-70{max-width:70%}#rank-math-pro-cta .rank-math-cta-box.width-60{max-width:60%}#rank-math-pro-cta .rank-math-cta-box.width-60 h3{margin-bottom:1rem}#rank-math-pro-cta .rank-math-cta-box.width-50{max-width:50%}}#rank-math-pro-cta .rank-math-cta-box.blue-ticks ul li:before{background:#069de3}#rank-math-pro-cta .rank-math-cta-table{margin-bottom:2rem;border:1px solid #dadfe4;border-radius:6px;background:#fff}#rank-math-pro-cta .rank-math-cta-table .less-padding{padding:1.5rem}#rank-math-pro-cta .rank-math-cta-table .less-padding h3{margin-bottom:1rem}#rank-math-pro-cta .rank-math-cta-header{padding:1.25rem .825rem;border-bottom:1px solid #dadfe4;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}#rank-math-pro-cta .rank-math-cta-header h2{font-size:1.125rem;font-weight:500;margin:0}#rank-math-pro-cta .rank-math-cta-body{padding:1.25rem 1.5rem 1.25rem .825rem;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}#rank-math-pro-cta .rank-math-cta-body svg,#rank-math-pro-cta .rank-math-cta-body .dashicon{margin-right:1.25rem;fill:#ed5e5e}#rank-math-pro-cta .rank-math-cta-body span.dashicon{font-size:50px;width:50px;height:50px;color:#ed5e5e}#rank-math-pro-cta .rank-math-cta-body p{font-size:1rem;-webkit-box-flex:1;-ms-flex:1;flex:1}#rank-math-pro-cta .rank-math-cta-body .button{line-height:40px;margin-left:1.25rem}#rank-math-pro-cta .rank-math-cta-text{display:block;color:#7f868d}#rank-math-pro-cta .rank-math-cta-text span{margin-right:3px}#rank-math-pro-cta ul{font-size:15px;margin-bottom:1.5rem}#rank-math-pro-cta ul li{font-size:1rem;margin-bottom:1rem;padding:0;color:#7f868d;border:0}#rank-math-pro-cta ul li:before{font-family:'dashicons';font-size:16px;line-height:18px;display:inline-block;width:18px;margin-right:8px;content:'\f15e';text-align:center;vertical-align:-2px;color:#fff;border-radius:50%;background:#10AC84}#rank-math-pro-cta .button{font-weight:500;display:inline-block;width:auto;max-width:100%;margin:0 auto;padding:0 3rem;text-align:center}
|
@@ -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 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(/&/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)}},30: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},31: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":""}}},32:function(e,t){e.exports=Tagify},33: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"}},35: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(35),p=r(30);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(31);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(32),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(33);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(/&/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";r(2);var n=r(8),a=r(1),i=r(6),o=r(9),s=r(14),c=function(e,t){return e=(e=n.Helpers.cleanText(e)).replace(/\r?\n|\r/g," "),t?Object(a.truncate)(e,{length:t,separator:" "}):e};t.a=function(e){var t=rankMathEditor.assessor.dataCollector.getData(),r=t.excerpt,u=t.content?function(e){if(Object(a.isEmpty)(e))return"";e=e.replace(/\[caption[^\]]*\](.*)\[\/caption\]/g,"");var t=Object(a.filter)(n.Helpers.matchParagraphs(e,!0,!0),(function(e){return""!==e.trim()}));if(!t.length)return"";var r=rankMathEditor.getPrimaryKeyword();if(""!==r){var i=Object(a.filter)(t,(function(e){return Object(a.includes)(e.toLowerCase(),r.toLowerCase())}));if(0<i.length)return c(i[0],160)}return c(t[0],160)}(t.content.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,"")):"",l=Object(a.isUndefined)(r)||Object(a.isEmpty)(r)?u:r;if(o.a.setVariable("excerpt",l),o.a.setVariable("seo_description",l),""!==(e=Object(s.a)(Object(i.applyFilters)("rankMath/description",e))))return n.Helpers.cleanText(e);if(!Object(a.isUndefined)(r)&&!Object(a.isEmpty)(r))return n.Helpers.cleanText(r);var d=rankMath.assessor.serpData.descriptionTemplate;return Object(a.isUndefined)(d)||""===d?u:n.Helpers.cleanText(d)}},30: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},31: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":""}}},32:function(e,t){e.exports=Tagify},33: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"}},35: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(35),p=r(30);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(31);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(32),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(33);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 +1 @@
|
|
1 |
-
!function(e){var t={};function a(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,a),i.l=!0,i.exports}a.m=e,a.c=t,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)a.d(n,i,function(t){return e[t]}.bind(null,i));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=84)}({0:function(e,t){e.exports=wp.i18n},1:function(e,t){e.exports=lodash},15:function(e,t,a){"use strict";var n=a(2),i=a.n(n);t.a=function(e,t,a){return i.a.ajax({url:rankMath.ajaxurl,type:a||"POST",dataType:"json",data:i.a.extend(!0,{action:"rank_math_"+e,security:rankMath.security},t)})}},18:function(e,t,a){"use strict";var n=a(2),i=a.n(n);t.a=function(e,t,a,n){t=t||"error",n=n||!1;var o=i()('<div class="notice notice-'+t+' is-dismissible"><p>'+e+"</p></div>").hide();a.next(".notice").remove(),a.after(o),o.slideDown(),i()(document).trigger("wp-updates-notice-added"),n&&setTimeout((function(){o.fadeOut((function(){o.remove()}))}),n)}},2:function(e,t){e.exports=jQuery},53:function(e,t,a){"use strict";var n=a(2),i=a.n(n);t.a=function(e){var t=e||".rank-math-box-tabs";i()(t).children().on("click",(function(e){e.preventDefault();var t=i()(this),a=t.attr("href").substr(1);t.addClass("active-tab").siblings().removeClass("active-tab"),i()("#"+a).addClass("active-tab").siblings().removeClass("active-tab")}))}},84:function(e,t,a){"use strict";a.r(t);var n=a(2),i=a.n(n),o=a(0),r=a(15),c=a(18),s=a(1);function l(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var d,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.response=""}var t,a,n;return t=e,(a=[{key:"checkAll",value:function(){var e=this,t=i()("#setting-panel-analytics .cmb2-id-check-all-services:not(.done), #cmb2-metabox-rank-math-wizard .cmb2-id-check-all-services:not(.done)");t.length>0&&"0"==t.val()&&(t.addClass("done"),Object(r.a)("google_check_all_services").done((function(t){e.response=t,e.fillSelect(),e.accordions.removeClass("locked")})))}},{key:"events",value:function(){var e=this;this.saveChanges=!1,this.accountSelect=i()(".site-analytics-account"),this.profileSelect=i()(".site-console-profile"),this.propertySelect=i()(".site-analytics-property"),this.viewSelect=i()(".site-analytics-view"),this.adsenseSelect=i()(".site-adsense-account"),this.accordions=i()(".rank-math-accordion"),this.countryConsole=i()("#site-console-country"),this.countryAnalytics=i()("#site-analytics-country"),this.accountSelect.on("change",(function(){var t=parseInt(e.accountSelect.val());0!==t?e.fillPropertySelect(t):e.propertySelect.html('<option value="0">Select Property</option>')})),i()([".rank-math-wizard-body--analytics .form-footer.rank-math-ui .button-primary",".rank-math_page_rank-math-options-general .form-footer.rank-math-ui .button-primary"].join(", ")).on("click",(function(t){e.submitButtonHandler(t)})),this.propertySelect.on("change",(function(){var t=e.accountSelect.val(),a=e.propertySelect.val(),n=e.response.accounts;e.response.views=Object(s.get)(n,[t,"properties",a,"profiles"],{}),e.fillViewSelect()})),i()(".rank-math-disconnect-google").on("click",(function(e){e.preventDefault(),confirm("Are you sure?")&&Object(r.a)("disconnect_google").done((function(){window.location.reload()}))}))}},{key:"submitButtonHandler",value:function(e){var t=i()(e.target);e.preventDefault(),this.saveConsole(),this.saveAnalytics(),this.saveAdsense(),setTimeout((function(){t.off("click").trigger("click")}),100)}},{key:"saveConsole",value:function(){if(0!==parseInt(this.profileSelect.val())){var e={profile:this.profileSelect.val(),country:this.countryConsole.val()},t=i()("#console_caching_control");t.length>0&&(e.days=t.val()),Object(r.a)("save_analytic_profile",e,"post")}}},{key:"saveAnalytics",value:function(){var e={accountID:this.accountSelect.val(),propertyID:this.propertySelect.val(),viewID:this.viewSelect.val(),country:this.countryAnalytics.val(),installCode:i()("#install-code").is(":checked"),anonymizeIP:i()("#anonymize-ip").is(":checked"),localGAJS:i()("#local-ga-js").is(":checked"),cookielessGA:i()("#cookieless-ga").is(":checked"),excludeLoggedin:i()("#exclude-loggedin").is(":checked")};if(0!==parseInt(e.accountID)&&0!==parseInt(e.propertyID)){var t=i()("#console_caching_control");t.length>0&&(e.days=t.val()),Object(r.a)("save_analytic_options",e,"post")}}},{key:"saveAdsense",value:function(){var e={accountID:this.adsenseSelect.val()};e.accountID&&Object(r.a)("save_adsense_account",e,"post")}},{key:"fillSelect",value:function(){var e=this,t=this.response,a=t.inSearchConsole,n=t.isVerified;this.fillProfileSelect(),this.fillAccountSelect(),this.fillAdsenseSelect(),a||Object(r.a)("add_site_console").done((function(t){e.response.sites=t.sites,e.fillProfileSelect()})),a&&!n&&Object(r.a)("verify_site_console"),this.saveChanges=!1}},{key:"fillAdsenseSelect",value:function(){var e=this,t=this.response.adsenseAccounts,a=void 0!==t&&t;!1!==a&&(this.adsenseSelect.html('<option value="0">Select Account</option>'),Object(s.map)(a,(function(t,a){e.adsenseSelect.append('<option value="'+a+'">'+t.name+"</option>")})),this.adsenseSelect.data("selected")&&this.adsenseSelect.val(this.adsenseSelect.data("selected")),this.adsenseSelect.prop("disabled",!1))}},{key:"fillAccountSelect",value:function(){var e=this,t=this.response.accounts;this.accountSelect.html('<option value="0">Select Account</option>'),Object(s.map)(t,(function(t,a){e.accountSelect.append('<option value="'+a+'">'+t.name+"</option>")})),this.accountSelect.data("selected")?this.accountSelect.val(this.accountSelect.data("selected")):(this.accountSelect.prop("disabled",!1),this.countryAnalytics.prop("disabled",!1)),this.accountSelect.trigger("change")}},{key:"fillPropertySelect",value:function(e){var t=this,a=this.response,n=a.accounts,i=a.homeUrl,o=n[e].properties;this.propertySelect.html('<option value="0">Select Property</option>'),Object(s.map)(o,(function(e){var a=e.url===i?' selected="selected"':"";t.propertySelect.append("<option"+a+' value="'+e.id+'">'+e.name+"</option>")})),this.propertySelect.data("selected")?this.propertySelect.val(this.propertySelect.data("selected")):this.propertySelect.prop("disabled",!1),this.propertySelect.trigger("change")}},{key:"fillProfileSelect",value:function(){var e=this,t=this.response,a=t.sites,n=t.homeUrl;this.profileSelect.html('<option value="0">Select Profile</option>');var i=!1;Object(s.map)(a,(function(t,a){i=a===n?' selected="selected"':"",e.profileSelect.append("<option"+i+' value="'+a+'">'+t+"</option>")})),this.profileSelect.data("selected")&&this.profileSelect.closest(".rank-math-accordion").addClass("connected"),this.profileSelect.prop("disabled",!1),this.countryConsole.prop("disabled",!1)}},{key:"fillViewSelect",value:function(){var e=this;this.viewSelect.html('<option value="0">Select Web View</option>');var t=this.response.views;Object(s.map)(t,(function(t){e.viewSelect.append('<option value="'+t.id+'">'+t.name+"</option>")})),this.viewSelect.data("selected")&&this.viewSelect.val(this.viewSelect.data("selected")),this.viewSelect.prop("disabled",!1)}}])&&l(t.prototype,a),n&&l(t,n),e}()),u=a(53);d=i.a,String.prototype.format||(String.prototype.format=function(){var e=arguments;return this.replace(/{(\d+)}/g,(function(t,a){return void 0!==e[a]?e[a]:t}))}),String.prototype.trimRight=function(e){return void 0===e&&(e="s"),this.replace(new RegExp("["+e+"]+$"),"")},d((function(){window.rankMathAdmin={init:function(){this.misc(),this.tabs(),this.dependencyManager(),-1!==Object.values(window.rankMath.modules).indexOf("analytics")&&(p.events(),p.checkAll())},misc:function(){void 0!==i.a.fn.select2&&d("[data-s2]").select2(),d(".cmb-group-text-only,.cmb-group-fix-me").each((function(){var e=d(this),t=e.find(".cmb-repeatable-group"),a=t.find("> .cmb-row:eq(0) > .cmb-th");e.prepend('<div class="cmb-th"><label>'+a.find("h2").text()+"</label></div>"),t.find(".cmb-add-row").append('<span class="cmb2-metabox-description">'+a.find("p").text()+"</span>"),a.parent().remove()})),d(".rank-math-collapsible-trigger").on("click",(function(e){e.preventDefault();var t=d(this),a=d("#"+t.data("target"));t.toggleClass("open"),a.toggleClass("open")}));var e=d("#rank_math_rich_snippet"),t=e.find("option[value=review]"),a=e.val();t&&(t.prop("disabled",!0),"review"===a&&d(".cmb2-id-rank-math-review-schema-notice").removeClass("hidden"),e.on("change",(function(){null!==e.val()&&"review"!==e.val()&&d(".cmb2-id-rank-math-review-schema-notice").addClass("hidden")})))},searchConsole1:function(){var e=d(".cmb2-id-console-authorization-code"),t=d("#console_authorization_code"),a=d("#gsc-dp-info"),n=d("#console_profile"),i=n.parent().find(".rank-math-refresh"),s=t.parent(),l=d("body").hasClass("rank-math-wizard-body--analytics")?d("> p:first-of-type",".cmb-form"):d("h1",".rank-math-wrap-settings");s.on("click",".rank-math-deauthorize-account",(function(a){a.preventDefault();var s=d(this);if(s.prop("disabled",!0),t.data("authorized"))return Object(r.a)("search_console_deauthentication").always((function(){s.prop("disabled",!1)})).done((function(){t.val(""),t.show(),t.data("authorized",!1),e.removeClass("authorized").addClass("unauthorized"),s.html(Object(o.__)("Authorize","rank-math")),n.prop("disabled",!0),i.prop("disabled",!0)})),!1;t.addClass("input-loading"),Object(r.a)("search_console_authentication",{code:t.val()}).always((function(){s.prop("disabled",!1),t.removeClass("input-loading")})).done((function(a){a&&!a.success&&Object(c.a)(a.error,"error",l),a&&a.success&&(t.hide(),t.data("authorized",!0),s.html("De-authorize Account"),i.trigger("click"),n.removeAttr("disabled"),e.removeClass("unauthorized authorizing").addClass("authorized"))}))})),n.on("change",(function(){null!==n.val()&&0===n.val().indexOf("sc-domain:")?a.removeClass("hidden"):a.addClass("hidden")})).change(),i.on("click",(function(e){e.preventDefault(),i.prop("disabled",!0),n.addClass("input-loading"),Object(r.a)("search_console_get_profiles").always((function(){i.prop("disabled",!1),d(".console-cache-update-manually").prop("disabled",!1),n.removeClass("input-loading")})).done((function(e){if(e&&!e.success&&Object(c.a)(e.error,"error",l),e&&e.success){var t=e.selected||n.val();n.html(""),d.each(e.profiles,(function(e,t){n.append('<option value="'+e+'">'+t+"</option>")})),n.val(t||Object.keys(e.profiles)[0]),i.removeClass("hidden")}}))}))},dependencyManager:function(){var e=this,t=d(".cmb-form, .rank-math-metabox-wrap");d(".cmb-repeat-group-wrap",t).each((function(){var e=d(this),t=e.next(".rank-math-cmb-dependency.hidden");t.length&&e.find("> .cmb-td").append(t)})),d(".rank-math-cmb-dependency",t).each((function(){e.loopDependencies(d(this))})),d("input, select",t).on("change",(function(){var t=d(this).attr("name");d('span[data-field="'+t+'"]').each((function(){e.loopDependencies(d(this).closest(".rank-math-cmb-dependency"))}))}))},checkDependency:function(e,t,a){return"string"==typeof t&&t.includes(",")&&"="===a?t.includes(e):"string"==typeof t&&t.includes(",")&&"!="===a?!t.includes(e):"="===a&&e===t||"=="===a&&e===t||">="===a&&e>=t||"<="===a&&e<=t||">"===a&&e>t||"<"===a&&e<t||"!="===a&&e!==t},loopDependencies:function(e){var t=this,a=e.data("relation"),n=null;e.find("span").each((function(){var e=d(this),i=d("[name='"+e.data("field")+"']"),o=i.val();i.is(":radio")&&(o=i.filter(":checked").val()),i.is(":checkbox")&&(o=i.filter(":checked").val());var r=t.checkDependency(o,e.data("value"),e.data("comparison"));if("or"===a&&r)return n=!0,!1;"and"===a&&(n=(null===n||n)&&r)}));var i=e.closest(".rank-math-cmb-group");i.length||(i=e.closest(".cmb-row")),n?i.slideDown(300):i.hide()},tabs:function(){Object(u.a)();var e=d(".rank-math-tabs-navigation");e.length&&e.each((function(){var t=d(this),a=t.closest(".rank-math-tabs"),n=d(">a",t),i=d(">.rank-math-tabs-content>.rank-math-tab",a),o=t.data("active-class")||"active",r=t.hasClass("before-header");n.on("click",(function(){var e=d(this),t=d(e.attr("href"));if(n.removeClass(o),i.hide(),r){var c=t.find(".cmb-type-title.tab-header").clone();c.addClass("before-header-title"),d(".before-header-title").remove(),a.prepend(c)}return e.addClass(o),t.show(),!1}));var c=window.location.hash||window.localStorage.getItem(a.attr("id"));null===c?n.eq(0).trigger("click"):(c=d('a[href="'+c+'"]',t)).length?c.trigger("click"):n.eq(0).trigger("click"),e.next().css("min-height",t.outerHeight())}))},variableInserter:function(e){var t=d("input[type=text], textarea",".rank-math-supports-variables");if(e=void 0===e||e,t.length){var a,n=this,i=d("body");t.attr("autocomplete","off"),t.wrap('<div class="rank-math-variables-wrap"/>'),d(".rank-math-variables-wrap").append('<a href="#" class="rank-math-variables-button button button-secondary"><span class="dashicons dashicons-arrow-down-alt2"></span></a>'),e&&(d(".rank-math-variables-wrap").after('<div class="rank-math-variables-preview" data-title="'+Object(o.__)("Example","rank-math")+'"/>'),t.on("rank_math_variable_change input",(function(e){var t=d(e.currentTarget),a=n.replaceVariables(t.val());60<a.length&&0<=t.attr("name").indexOf("title")?a=a.substring(0,60)+"...":160<a.length&&0<=t.attr("name").indexOf("description")&&(a=a.substring(0,160)+"...");var i=d("<textarea/>").html(a).val();t.parent().next(".rank-math-variables-preview").text(i)})),t.trigger("rank_math_variable_change"));var r=d("<ul/>"),c=d('<div class="rank-math-variables-dropdown"><input type="text" placeholder="'+Object(o.__)("Search …","rank-math")+'"></div>');d.each(rankMath.variables,(function(){r.append('<li data-var="%'+this.variable+'%" data-example="'+this.example+'"><strong>'+this.name+"</strong><span>"+this.description+"</span></li>")})),c.append(r),d(".rank-math-variables-wrap:eq(0)").append(c);var s=d(".rank-math-variables-button, .rank-math-variables-button *, .rank-math-variables-dropdown, .rank-math-variables-dropdown *");i.on("click",(function(e){d(e.target).is(s)||h()}));var l=c.find("input"),p=c.find("li");i.on("click",".rank-math-variables-button",(function(e){e.preventDefault();var t=d(this);t.after(c),p.show(),void 0!==(a=t.prev().data("exclude-variables"))&&(a=a.split(","),u()),c.show(),l.val("").focus()})),c.on("click","li",(function(e){e.preventDefault();var t=d(this),a=t.closest(".rank-math-variables-wrap").find("input,textarea");a.val(d.trim(a.val())+" "+t.data("var")),a.trigger("rank_math_variable_change").trigger("input"),h()})),c.on("keyup","input",(function(e){e.preventDefault();var t=d(this).val().toLowerCase();if(2>t.length)return p.show(),void u();p.hide().each((function(){var e=d(this);-1!==e.text().toLowerCase().indexOf(t)&&e.show()})),u()}))}function u(){void 0!==a&&a.forEach((function(e){c.find('[data-var="%'+e+'%"]').hide()}))}function h(){a=void 0,c.hide()}},replaceVariables:function(e){return d.each(rankMath.variables,(function(t){if(!this.example)return!0;var a=new RegExp("\\([a-z]+\\)","g");t=t.replace(a,"\\(.*?\\)"),e=e.replace(new RegExp("%+"+t+"%+","g"),this.example)})),e}},window.rankMathAdmin.init()}))}});
|
1 |
+
!function(e){var t={};function a(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,a),i.l=!0,i.exports}a.m=e,a.c=t,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)a.d(n,i,function(t){return e[t]}.bind(null,i));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=84)}({0:function(e,t){e.exports=wp.i18n},1:function(e,t){e.exports=lodash},15:function(e,t,a){"use strict";var n=a(2),i=a.n(n);t.a=function(e,t,a){return i.a.ajax({url:rankMath.ajaxurl,type:a||"POST",dataType:"json",data:i.a.extend(!0,{action:"rank_math_"+e,security:rankMath.security},t)})}},18:function(e,t,a){"use strict";var n=a(2),i=a.n(n);t.a=function(e,t,a,n){t=t||"error",n=n||!1;var o=i()('<div class="notice notice-'+t+' is-dismissible"><p>'+e+"</p></div>").hide();a.next(".notice").remove(),a.after(o),o.slideDown(),i()(document).trigger("wp-updates-notice-added"),n&&setTimeout((function(){o.fadeOut((function(){o.remove()}))}),n)}},2:function(e,t){e.exports=jQuery},53:function(e,t,a){"use strict";var n=a(2),i=a.n(n);t.a=function(e){var t=e||".rank-math-box-tabs";i()(t).children().on("click",(function(e){e.preventDefault();var t=i()(this),a=t.attr("href").substr(1);t.addClass("active-tab").siblings().removeClass("active-tab"),i()("#"+a).addClass("active-tab").siblings().removeClass("active-tab")}))}},84:function(e,t,a){"use strict";a.r(t);var n=a(2),i=a.n(n),o=a(0),r=a(15),c=a(18),s=a(1);function l(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var d,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.response=""}var t,a,n;return t=e,(a=[{key:"checkAll",value:function(){var e=this,t=i()("#setting-panel-analytics .cmb2-id-check-all-services:not(.done), #cmb2-metabox-rank-math-wizard .cmb2-id-check-all-services:not(.done)");t.length>0&&"0"==t.val()&&(t.addClass("done"),Object(r.a)("google_check_all_services").done((function(t){e.response=t,e.fillSelect(),e.accordions.removeClass("locked")})))}},{key:"events",value:function(){var e=this;this.saveChanges=!1,this.accountSelect=i()(".site-analytics-account"),this.profileSelect=i()(".site-console-profile"),this.propertySelect=i()(".site-analytics-property"),this.viewSelect=i()(".site-analytics-view"),this.adsenseSelect=i()(".site-adsense-account"),this.accordions=i()(".rank-math-accordion"),this.countryConsole=i()("#site-console-country"),this.countryAnalytics=i()("#site-analytics-country"),this.accountSelect.on("change",(function(){var t=parseInt(e.accountSelect.val());0!==t?e.fillPropertySelect(t):e.propertySelect.html('<option value="0">Select Property</option>')})),i()([".rank-math-wizard-body--analytics .form-footer.rank-math-ui .button-primary",".rank-math_page_rank-math-options-general .form-footer.rank-math-ui .button-primary"].join(", ")).on("click",(function(t){e.submitButtonHandler(t)})),this.propertySelect.on("change",(function(){var t=e.accountSelect.val(),a=e.propertySelect.val(),n=e.response.accounts;e.response.views=Object(s.get)(n,[t,"properties",a,"profiles"],{}),e.fillViewSelect()})),i()(".rank-math-disconnect-google").on("click",(function(e){e.preventDefault(),confirm(rankMath.confirmDisconnect)&&Object(r.a)("disconnect_google").done((function(){window.location.reload()}))}))}},{key:"submitButtonHandler",value:function(e){var t=i()(e.target);e.preventDefault(),this.saveConsole(),this.saveAnalytics(),this.saveAdsense(),setTimeout((function(){t.off("click").trigger("click")}),100)}},{key:"saveConsole",value:function(){if(0!==parseInt(this.profileSelect.val())){var e={profile:this.profileSelect.val(),country:this.countryConsole.val()},t=i()("#console_caching_control");t.length>0&&(e.days=t.val()),Object(r.a)("save_analytic_profile",e,"post")}}},{key:"saveAnalytics",value:function(){var e={accountID:this.accountSelect.val(),propertyID:this.propertySelect.val(),viewID:this.viewSelect.val(),country:this.countryAnalytics.val(),installCode:i()("#install-code").is(":checked"),anonymizeIP:i()("#anonymize-ip").is(":checked"),localGAJS:i()("#local-ga-js").is(":checked"),cookielessGA:i()("#cookieless-ga").is(":checked"),excludeLoggedin:i()("#exclude-loggedin").is(":checked")};if(0!==parseInt(e.accountID)&&0!==parseInt(e.propertyID)){var t=i()("#console_caching_control");t.length>0&&(e.days=t.val()),Object(r.a)("save_analytic_options",e,"post")}}},{key:"saveAdsense",value:function(){var e={accountID:this.adsenseSelect.val()};e.accountID&&Object(r.a)("save_adsense_account",e,"post")}},{key:"fillSelect",value:function(){var e=this,t=this.response,a=t.inSearchConsole,n=t.isVerified;this.fillProfileSelect(),this.fillAccountSelect(),this.fillAdsenseSelect(),a||Object(r.a)("add_site_console").done((function(t){e.response.sites=t.sites,e.fillProfileSelect()})),a&&!n&&Object(r.a)("verify_site_console"),this.saveChanges=!1}},{key:"fillAdsenseSelect",value:function(){var e=this,t=this.response.adsenseAccounts,a=void 0!==t&&t;!1!==a&&(this.adsenseSelect.html('<option value="0">Select Account</option>'),Object(s.map)(a,(function(t,a){e.adsenseSelect.append('<option value="'+a+'">'+t.name+"</option>")})),this.adsenseSelect.data("selected")&&this.adsenseSelect.val(this.adsenseSelect.data("selected")),this.adsenseSelect.prop("disabled",!1))}},{key:"fillAccountSelect",value:function(){var e=this,t=this.response.accounts;this.accountSelect.html('<option value="0">Select Account</option>'),Object(s.map)(t,(function(t,a){e.accountSelect.append('<option value="'+a+'">'+t.name+"</option>")})),this.accountSelect.data("selected")?this.accountSelect.val(this.accountSelect.data("selected")):(this.accountSelect.prop("disabled",!1),this.countryAnalytics.prop("disabled",!1)),this.accountSelect.trigger("change")}},{key:"fillPropertySelect",value:function(e){var t=this,a=this.response,n=a.accounts,i=a.homeUrl,o=n[e].properties;this.propertySelect.html('<option value="0">Select Property</option>'),Object(s.map)(o,(function(e){var a=e.url===i?' selected="selected"':"";t.propertySelect.append("<option"+a+' value="'+e.id+'">'+e.name+"</option>")})),this.propertySelect.data("selected")?this.propertySelect.val(this.propertySelect.data("selected")):this.propertySelect.prop("disabled",!1),this.propertySelect.trigger("change")}},{key:"fillProfileSelect",value:function(){var e=this,t=this.response,a=t.sites,n=t.homeUrl;this.profileSelect.html('<option value="0">Select Profile</option>');var i=!1;Object(s.map)(a,(function(t,a){i=a===n?' selected="selected"':"",e.profileSelect.append("<option"+i+' value="'+a+'">'+t+"</option>")})),this.profileSelect.data("selected")&&this.profileSelect.closest(".rank-math-accordion").addClass("connected"),this.profileSelect.prop("disabled",!1),this.countryConsole.prop("disabled",!1)}},{key:"fillViewSelect",value:function(){var e=this;this.viewSelect.html('<option value="0">Select Web View</option>');var t=this.response.views;Object(s.map)(t,(function(t){e.viewSelect.append('<option value="'+t.id+'">'+t.name+"</option>")})),this.viewSelect.data("selected")&&this.viewSelect.val(this.viewSelect.data("selected")),this.viewSelect.prop("disabled",!1)}}])&&l(t.prototype,a),n&&l(t,n),e}()),u=a(53);d=i.a,String.prototype.format||(String.prototype.format=function(){var e=arguments;return this.replace(/{(\d+)}/g,(function(t,a){return void 0!==e[a]?e[a]:t}))}),String.prototype.trimRight=function(e){return void 0===e&&(e="s"),this.replace(new RegExp("["+e+"]+$"),"")},d((function(){window.rankMathAdmin={init:function(){this.misc(),this.tabs(),this.dependencyManager(),-1!==Object.values(window.rankMath.modules).indexOf("analytics")&&(p.events(),p.checkAll())},misc:function(){void 0!==i.a.fn.select2&&d("[data-s2]").select2(),d(".cmb-group-text-only,.cmb-group-fix-me").each((function(){var e=d(this),t=e.find(".cmb-repeatable-group"),a=t.find("> .cmb-row:eq(0) > .cmb-th");e.prepend('<div class="cmb-th"><label>'+a.find("h2").text()+"</label></div>"),t.find(".cmb-add-row").append('<span class="cmb2-metabox-description">'+a.find("p").text()+"</span>"),a.parent().remove()})),d(".rank-math-collapsible-trigger").on("click",(function(e){e.preventDefault();var t=d(this),a=d("#"+t.data("target"));t.toggleClass("open"),a.toggleClass("open")}));var e=d("#rank_math_rich_snippet"),t=e.find("option[value=review]"),a=e.val();t&&(t.prop("disabled",!0),"review"===a&&d(".cmb2-id-rank-math-review-schema-notice").removeClass("hidden"),e.on("change",(function(){null!==e.val()&&"review"!==e.val()&&d(".cmb2-id-rank-math-review-schema-notice").addClass("hidden")})))},searchConsole1:function(){var e=d(".cmb2-id-console-authorization-code"),t=d("#console_authorization_code"),a=d("#gsc-dp-info"),n=d("#console_profile"),i=n.parent().find(".rank-math-refresh"),s=t.parent(),l=d("body").hasClass("rank-math-wizard-body--analytics")?d("> p:first-of-type",".cmb-form"):d("h1",".rank-math-wrap-settings");s.on("click",".rank-math-deauthorize-account",(function(a){a.preventDefault();var s=d(this);if(s.prop("disabled",!0),t.data("authorized"))return Object(r.a)("search_console_deauthentication").always((function(){s.prop("disabled",!1)})).done((function(){t.val(""),t.show(),t.data("authorized",!1),e.removeClass("authorized").addClass("unauthorized"),s.html(Object(o.__)("Authorize","rank-math")),n.prop("disabled",!0),i.prop("disabled",!0)})),!1;t.addClass("input-loading"),Object(r.a)("search_console_authentication",{code:t.val()}).always((function(){s.prop("disabled",!1),t.removeClass("input-loading")})).done((function(a){a&&!a.success&&Object(c.a)(a.error,"error",l),a&&a.success&&(t.hide(),t.data("authorized",!0),s.html("De-authorize Account"),i.trigger("click"),n.removeAttr("disabled"),e.removeClass("unauthorized authorizing").addClass("authorized"))}))})),n.on("change",(function(){null!==n.val()&&0===n.val().indexOf("sc-domain:")?a.removeClass("hidden"):a.addClass("hidden")})).change(),i.on("click",(function(e){e.preventDefault(),i.prop("disabled",!0),n.addClass("input-loading"),Object(r.a)("search_console_get_profiles").always((function(){i.prop("disabled",!1),d(".console-cache-update-manually").prop("disabled",!1),n.removeClass("input-loading")})).done((function(e){if(e&&!e.success&&Object(c.a)(e.error,"error",l),e&&e.success){var t=e.selected||n.val();n.html(""),d.each(e.profiles,(function(e,t){n.append('<option value="'+e+'">'+t+"</option>")})),n.val(t||Object.keys(e.profiles)[0]),i.removeClass("hidden")}}))}))},dependencyManager:function(){var e=this,t=d(".cmb-form, .rank-math-metabox-wrap");d(".cmb-repeat-group-wrap",t).each((function(){var e=d(this),t=e.next(".rank-math-cmb-dependency.hidden");t.length&&e.find("> .cmb-td").append(t)})),d(".rank-math-cmb-dependency",t).each((function(){e.loopDependencies(d(this))})),d("input, select",t).on("change",(function(){var t=d(this).attr("name");d('span[data-field="'+t+'"]').each((function(){e.loopDependencies(d(this).closest(".rank-math-cmb-dependency"))}))}))},checkDependency:function(e,t,a){return"string"==typeof t&&t.includes(",")&&"="===a?t.includes(e):"string"==typeof t&&t.includes(",")&&"!="===a?!t.includes(e):"="===a&&e===t||"=="===a&&e===t||">="===a&&e>=t||"<="===a&&e<=t||">"===a&&e>t||"<"===a&&e<t||"!="===a&&e!==t},loopDependencies:function(e){var t=this,a=e.data("relation"),n=null;e.find("span").each((function(){var e=d(this),i=d("[name='"+e.data("field")+"']"),o=i.val();i.is(":radio")&&(o=i.filter(":checked").val()),i.is(":checkbox")&&(o=i.filter(":checked").val());var r=t.checkDependency(o,e.data("value"),e.data("comparison"));if("or"===a&&r)return n=!0,!1;"and"===a&&(n=(null===n||n)&&r)}));var i=e.closest(".rank-math-cmb-group");i.length||(i=e.closest(".cmb-row")),n?i.slideDown(300):i.hide()},tabs:function(){Object(u.a)();var e=d(".rank-math-tabs-navigation");e.length&&e.each((function(){var t=d(this),a=t.closest(".rank-math-tabs"),n=d(">a",t),i=d(">.rank-math-tabs-content>.rank-math-tab",a),o=t.data("active-class")||"active",r=t.hasClass("before-header");n.on("click",(function(){var e=d(this),t=d(e.attr("href"));if(n.removeClass(o),i.hide(),r){var c=t.find(".cmb-type-title.tab-header").clone();c.addClass("before-header-title"),d(".before-header-title").remove(),a.prepend(c)}return e.addClass(o),t.show(),!1}));var c=window.location.hash||window.localStorage.getItem(a.attr("id"));null===c?n.eq(0).trigger("click"):(c=d('a[href="'+c+'"]',t)).length?c.trigger("click"):n.eq(0).trigger("click"),e.next().css("min-height",t.outerHeight())}))},variableInserter:function(e){var t=d("input[type=text], textarea",".rank-math-supports-variables");if(e=void 0===e||e,t.length){var a,n=this,i=d("body");t.attr("autocomplete","off"),t.wrap('<div class="rank-math-variables-wrap"/>'),d(".rank-math-variables-wrap").append('<a href="#" class="rank-math-variables-button button button-secondary"><span class="dashicons dashicons-arrow-down-alt2"></span></a>'),e&&(d(".rank-math-variables-wrap").after('<div class="rank-math-variables-preview" data-title="'+Object(o.__)("Example","rank-math")+'"/>'),t.on("rank_math_variable_change input",(function(e){var t=d(e.currentTarget),a=n.replaceVariables(t.val());60<a.length&&0<=t.attr("name").indexOf("title")?a=a.substring(0,60)+"...":160<a.length&&0<=t.attr("name").indexOf("description")&&(a=a.substring(0,160)+"...");var i=d("<textarea/>").html(a).val();t.parent().next(".rank-math-variables-preview").text(i)})),t.trigger("rank_math_variable_change"));var r=d("<ul/>"),c=d('<div class="rank-math-variables-dropdown"><input type="text" placeholder="'+Object(o.__)("Search …","rank-math")+'"></div>');d.each(rankMath.variables,(function(){r.append('<li data-var="%'+this.variable+'%" data-example="'+this.example+'"><strong>'+this.name+"</strong><span>"+this.description+"</span></li>")})),c.append(r),d(".rank-math-variables-wrap:eq(0)").append(c);var s=d(".rank-math-variables-button, .rank-math-variables-button *, .rank-math-variables-dropdown, .rank-math-variables-dropdown *");i.on("click",(function(e){d(e.target).is(s)||h()}));var l=c.find("input"),p=c.find("li");i.on("click",".rank-math-variables-button",(function(e){e.preventDefault();var t=d(this);t.after(c),p.show(),void 0!==(a=t.prev().data("exclude-variables"))&&(a=a.split(","),u()),c.show(),l.val("").focus()})),c.on("click","li",(function(e){e.preventDefault();var t=d(this),a=t.closest(".rank-math-variables-wrap").find("input,textarea");a.val(d.trim(a.val())+" "+t.data("var")),a.trigger("rank_math_variable_change").trigger("input"),h()})),c.on("keyup","input",(function(e){e.preventDefault();var t=d(this).val().toLowerCase();if(2>t.length)return p.show(),void u();p.hide().each((function(){var e=d(this);-1!==e.text().toLowerCase().indexOf(t)&&e.show()})),u()}))}function u(){void 0!==a&&a.forEach((function(e){c.find('[data-var="%'+e+'%"]').hide()}))}function h(){a=void 0,c.hide()}},replaceVariables:function(e){return d.each(rankMath.variables,(function(t){if(!this.example)return!0;var a=new RegExp("\\([a-z]+\\)","g");t=t.replace(a,"\\(.*?\\)"),e=e.replace(new RegExp("%+"+t+"%+","g"),this.example)})),e}},window.rankMathAdmin.init()}))}});
|
@@ -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 o}));var r=n(2),a=n.n(r);function i(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 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,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)}}])&&i(t.prototype,n),r&&i(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 i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)&&r.length){var o=a.apply(null,r);o&&e.push(o)}else if("object"===i)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 w})),n.d(r,"updateBreadcrumbTitle",(function(){return g})),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 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 H})),n.d(r,"updateSnippetPreviewType",(function(){return L})),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 $})),n.d(r,"updateTwitterImageOverlay",(function(){return q})),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 ie})),n.d(r,"updateTwitterAppIpadUrl",(function(){return oe})),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 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 Le})),n.d(a,"appUi",(function(){return Ve}));var i={};n.r(i),n.d(i,"getAppData",(function(){return We})),n.d(i,"getDirtyMetadata",(function(){return Ye})),n.d(i,"getAnalysisScore",(function(){return $e})),n.d(i,"getKeywords",(function(){return qe})),n.d(i,"getPillarContent",(function(){return Ze})),n.d(i,"getRobots",(function(){return Je})),n.d(i,"getAdvancedRobots",(function(){return Qe})),n.d(i,"getCanonicalUrl",(function(){return Xe})),n.d(i,"getBreadcrumbTitle",(function(){return et})),n.d(i,"getRichSnippets",(function(){return tt})),n.d(i,"getShowScoreFrontend",(function(){return nt})),n.d(i,"isLoaded",(function(){return rt})),n.d(i,"getSelectedKeyword",(function(){return at})),n.d(i,"isRefreshing",(function(){return it})),n.d(i,"isPro",(function(){return ot})),n.d(i,"getFacebookTitle",(function(){return lt})),n.d(i,"getFacebookDescription",(function(){return ct})),n.d(i,"getFacebookAuthor",(function(){return st})),n.d(i,"getFacebookImageID",(function(){return ut})),n.d(i,"getFacebookImage",(function(){return pt})),n.d(i,"getFacebookHasOverlay",(function(){return mt})),n.d(i,"getFacebookImageOverlay",(function(){return dt})),n.d(i,"getPostID",(function(){return ht})),n.d(i,"getTitle",(function(){return ft})),n.d(i,"getPermalink",(function(){return bt})),n.d(i,"getDescription",(function(){return wt})),n.d(i,"getFeaturedImage",(function(){return gt})),n.d(i,"getFeaturedImageHtml",(function(){return yt})),n.d(i,"getPrimaryTermID",(function(){return vt})),n.d(i,"getRedirectionID",(function(){return kt})),n.d(i,"getRedirectionType",(function(){return Ot})),n.d(i,"getRedirectionUrl",(function(){return _t})),n.d(i,"getRedirectionItem",(function(){return jt})),n.d(i,"hasRedirect",(function(){return Et})),n.d(i,"getSerpTitle",(function(){return St})),n.d(i,"getSerpDescription",(function(){return It})),n.d(i,"isSnippetEditorOpen",(function(){return Ct})),n.d(i,"getSnippetPreviewType",(function(){return Dt})),n.d(i,"isSchemaEditorOpen",(function(){return Pt})),n.d(i,"isSchemaTemplatesOpen",(function(){return xt})),n.d(i,"hasSchemaUpdated",(function(){return Nt})),n.d(i,"getSchemas",(function(){return At})),n.d(i,"getEditSchemas",(function(){return Rt})),n.d(i,"getEditingSchema",(function(){return Mt})),n.d(i,"getPreviewSchema",(function(){return Ut})),n.d(i,"getEditorTab",(function(){return Ft})),n.d(i,"getTemplateTab",(function(){return Ht})),n.d(i,"getTwitterUseFacebook",(function(){return Lt})),n.d(i,"getTwitterCardType",(function(){return zt})),n.d(i,"getTwitterTitle",(function(){return Bt})),n.d(i,"getTwitterDescription",(function(){return Gt})),n.d(i,"getTwitterAuthor",(function(){return Kt})),n.d(i,"getTwitterImageID",(function(){return Vt})),n.d(i,"getTwitterImage",(function(){return Wt})),n.d(i,"getTwitterHasOverlay",(function(){return Yt})),n.d(i,"getTwitterImageOverlay",(function(){return $t})),n.d(i,"getTwitterAppDescription",(function(){return qt})),n.d(i,"getTwitterAppIphoneID",(function(){return Zt})),n.d(i,"getTwitterAppIphoneName",(function(){return Jt})),n.d(i,"getTwitterAppIphoneUrl",(function(){return Qt})),n.d(i,"getTwitterAppIpadID",(function(){return Xt})),n.d(i,"getTwitterAppIpadName",(function(){return en})),n.d(i,"getTwitterAppIpadUrl",(function(){return tn})),n.d(i,"getTwitterAppGoogleplayID",(function(){return nn})),n.d(i,"getTwitterAppGoogleplayName",(function(){return rn})),n.d(i,"getTwitterAppGoogleplayUrl",(function(){return an})),n.d(i,"getTwitterAppCountry",(function(){return on})),n.d(i,"getTwitterPlayerUrl",(function(){return ln})),n.d(i,"getTwitterPlayerSize",(function(){return cn})),n.d(i,"getTwitterPlayerStream",(function(){return sn})),n.d(i,"getTwitterPlayerStreamCtype",(function(){return un}));var o=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 w(e){return s("robots",e,"rank_math_robots",Object.keys(e))}function g(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 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 H(e){return u("isSnippetEditorOpen",e)}function L(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 $(e){return s("twitterHasOverlay",e,"rank_math_twitter_enable_image_overlay",!0===e?"on":"off")}function q(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 ie(e){return s("twitterAppIpadName",e,"rank_math_twitter_app_ipad_name")}function oe(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),we=n(16),ge=n.n(we);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 Ce(e){return s("schemas",e)}function De(e,t){var n=ve({},Object(o.select)("rank-math").getEditSchemas());return n[e]=t,u("editSchemas",n)}function Pe(e,t){var n=ve({},Object(o.select)("rank-math").getSchemas());return n[e]=t,s("schemas",n)}function xe(e){var t=ve({},Object(o.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 ge()({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(/&/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,He={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 Le(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:He,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 $e(e){return e.appData.score}function qe(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 it(e){return e.appUi.refreshResults}function ot(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 wt(e){return e.appData.description}function gt(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 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 Ht(e){return e.appUi.templateTab}function Lt(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 $t(e){return""!==e.appData.twitterImageOverlay?e.appData.twitterImageOverlay:"play"}function qt(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(o.registerStore)("rank-math",{reducer:Object(o.combineReducers)(a),selectors:i,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"),i=a.Fill,o=a.Slot,l=function(e){var t=e.children,n=e.className;return wp.element.createElement(i,null,wp.element.createElement("div",{className:n},t))};l.Slot=o,t.a=l},function(e,t,n){"use strict";var r=n(3),a=Object(r.createSlotFill)("RankMathAfterEditor"),i=a.Fill,o=a.Slot,l=function(e){var t=e.children,n=e.className;return wp.element.createElement(i,null,wp.element.createElement(r.PanelRow,{className:n},t))};l.Slot=o,t.a=l},function(e,t,n){"use strict";var r=n(3),a=Object(r.createSlotFill)("RankMathAdvancedTab"),i=a.Fill,o=a.Slot,l=function(e){var t=e.children,n=e.className;return wp.element.createElement(i,null,wp.element.createElement(r.PanelRow,{className:n},t))};l.Slot=o,t.a=l},function(e,t,n){"use strict";var r=n(2),a=n.n(r),i=n(8),o=n(1),l=n(6),c=n(9),s=n(14),u=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(),n=t.excerpt,r=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 n=rankMathEditor.getPrimaryKeyword();if(""!==n){var r=Object(o.filter)(t,(function(e){return Object(o.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(o.isUndefined)(n)||Object(o.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 i.Helpers.cleanText(e);if(!Object(o.isUndefined)(n)&&!Object(o.isEmpty)(n))return i.Helpers.cleanText(n);var m=rankMath.assessor.serpData.descriptionTemplate;return Object(o.isUndefined)(m)||""===m?r:i.Helpers.cleanText(m)}},function(e,t,n){var r=n(27),a=n(40),i=n(43),o=Math.max,l=Math.min;e.exports=function(e,t,n){var c,s,u,p,m,d,h=0,f=!1,b=!1,w=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function g(t){var n=c,r=s;return c=s=void 0,h=t,p=e.apply(r,n)}function y(e){return h=e,m=setTimeout(k,t),f?g(e):p}function v(e){var n=e-d;return void 0===d||n>=t||n<0||b&&e-h>=u}function k(){var e=a();if(v(e))return O(e);m=setTimeout(k,function(e){var n=t-(e-d);return b?l(n,u-(e-h)):n}(e))}function O(e){return m=void 0,w&&c?g(e):(c=s=void 0,p)}function _(){var e=a(),n=v(e);if(c=arguments,s=this,d=e,n){if(void 0===m)return y(d);if(b)return clearTimeout(m),m=setTimeout(k,t),g(d)}return void 0===m&&(m=setTimeout(k,t)),p}return t=i(t)||0,r(n)&&(f=!!n.leading,u=(b="maxWait"in n)?o(i(n.maxWait)||0,t):u,w="trailing"in n?!!n.trailing:w),_.cancel=function(){void 0!==m&&clearTimeout(m),h=0,c=d=s=m=void 0},_.flush=function(){return void 0===m?p:O(a())},_}},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){var r=n(41),a="object"==typeof self&&self&&self.Object===Object&&self,i=r||a||Function("return this")();e.exports=i},function(e,t,n){var r=n(28).Symbol;e.exports=r},function(e,t,n){"use strict";var r=n(0),a=n(6);function i(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 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,n,o;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}}}}])&&i(t.prototype,n),o&&i(t,o),e}();t.a=o},function(e,t,n){"use strict";var r=n(1),a=n(14);function i(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 o(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:i(n,c,t),isInvalid:o(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){var r=n(28);e.exports=function(){return r.Date.now()}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(42))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(44),a=n(27),i=n(46),o=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,s=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(a(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=a(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=l.test(e);return n||c.test(e)?s(e.slice(2),n?2:8):o.test(e)?NaN:+e}},function(e,t,n){var r=n(45),a=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(a,""):e}},function(e,t){var n=/\s/;e.exports=function(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t}},function(e,t,n){var r=n(47),a=n(50);e.exports=function(e){return"symbol"==typeof e||a(e)&&"[object Symbol]"==r(e)}},function(e,t,n){var r=n(29),a=n(48),i=n(49),o=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?a(e):i(e)}},function(e,t,n){var r=n(29),a=Object.prototype,i=a.hasOwnProperty,o=a.toString,l=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,l),n=e[l];try{e[l]=void 0;var r=!0}catch(e){}var a=o.call(e);return r&&(t?e[l]=n:delete e[l]),a}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},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(38)),i=l(n(57)),o=l(n(60));function l(e){return e&&e.__esModule?e:{default:e}}var c=void 0;function s(e,t){var n,o,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],i=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===a.value){if("componentOpen"===n.type){i++;continue}if("componentClose"===n.type){if(0===i)return r;i--}}throw new Error("Missing closing component token `"+a.value+"`")}(l,e),d=s(e.slice(l+1,u),t),o=a.default.cloneElement(n,{},d),f.push(o),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,i.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 i=(0,o.default)(t);try{return s(i,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),i=n(6),o=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 w(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 g(this,n)}}function g(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={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[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,i=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},i),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)}(i,e);var t,n,r,a=w(i);function i(){var e;h(this,i),(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=i,(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,i=n.className,o=n.instanceId,l=n.orientation,u=void 0===l?"horizontal":l,m=n.tabs,h=Object(s.find)(m,{name:t}),f=o+"-"+h.name,b=m.slice(4);return wp.element.createElement("div",{className:i},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:o+"-"+n.name,"aria-controls":o+"-"+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:o+"-"+n.name,"aria-controls":o+"-"+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),i}(o.Component),j=Object(u.withInstanceId)(_),E=n(31),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(34),I=n(51),C=n.n(I),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,i=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=i.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(o.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 …","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}(o.Component),H=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+"%")}})))})),L=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(L.Helpers.sanitizeText(e))},updatePermalinkSanitize:function(e){rankMathEditor.updatePermalinkSanitize(L.Helpers.sanitizeText(e))}}})))((function(e){var t=e.permalink,n=e.serpPermalink,a=e.updatePermalink,i=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){i(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(36),Y=n(19),$=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},q=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 i=Object(s.get)(n,"bestRating",5);return wp.element.createElement("div",{className:"rank-math-rating-preview"},wp.element.createElement("div",{className:"serp-ratings"},$(i,"filled"),function(e,t,n){return e*=100/n,wp.element.createElement("div",{className:"serp-result",style:{width:e+"%"}},$(n,"filled"))}(a,0,i)),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 i=Object(s.get)(n,"bestRating",5);return wp.element.createElement("div",{className:"rank-math-rating-preview"},wp.element.createElement("div",{className:"serp-ratings"},Z(i,"filled"),function(e,t,n){return e*=100/n,wp.element.createElement("div",{className:"serp-result",style:{width:e+"%"}},Z(n,"filled"))}(a,0,i)),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,i=e.description,o=e.previewType,l=void 0===o?"desktop":o,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)),w=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)(w,L.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,L.Helpers.sanitizeText(n),60)}})),wp.element.createElement(q,null),wp.element.createElement("div",{className:"group"},wp.element.createElement("div",{className:"serp-description",dangerouslySetInnerHTML:{__html:Object(Y.a)(u,L.Helpers.sanitizeText(i),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(H,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(o.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(o.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 ie(){var e=rankMath.overlayImages,t=[];return Object.keys(e).forEach((function(n){t.push({label:e[n].name,value:n})})),t}function oe(){return(oe=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(o.Fragment,null,wp.element.createElement(ne,oe({},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:ie(),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(o.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(o.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(o.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(o.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(o.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(o.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:ie(),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(o.Fragment,null,wp.element.createElement(p.TabPanel,{className:"rank-math-editor-social",activeClass:"is-active",tabs:[{name:"facebook",title:wp.element.createElement(o.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(o.Fragment,null,wp.element.createElement(p.Dashicon,{icon:"twitter"}),Object(r.__)("Twitter","rank-math")),view:pe,className:"button-twitter"}]},(function(e){return Object(o.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 we(e,t){return(we=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ge(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&&we(e,t)}(l,e);var t,n,a,i=ge(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=i.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(o.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}(o.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,i=e.toggleEditor,l=[{name:"general",title:wp.element.createElement(o.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(o.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(o.Fragment,null,wp.element.createElement("i",{className:"rm-icon rm-icon-heart-filled"})),view:Oe}),wp.element.createElement(o.Fragment,null,wp.element.createElement(p.Button,{isPrimary:!0,className:"rank-math-edit-snippet",onClick:i},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:i,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(o.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,i=c()("rank-math-tooltip",t);return wp.element.createElement("span",{className:i},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(33);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 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"!==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 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,i=xe(l);function l(){return Ce(this,l),i.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(o.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],i=c()("seo-check-"+e,{"test-ok":a.hasScore(),"test-fail":!a.hasScore()});return a.hasScore()&&["contentHasAssets","lengthContent","keywordDensity"].includes(e)&&(i+=" "+Object(Se.a)(a.getScore(),a.getMaxScore())),!1===a.hasScore()&&(t.errors+=1),wp.element.createElement("li",{key:e,className:i},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}(o.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")))})),He=n(32),Le=n.n(He);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=$e(e);if(t){var a=$e(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 $e(e){return($e=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var qe=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)}(i,e);var t,n,r,a=Ve(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=a.call(this,e))._handleRef=t._handleRef.bind(Ye(t)),t}return t=i,(n=[{key:"componentDidMount",value:function(){var e=this;this.tagify=new Le.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),i}(o.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,i=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=i.call(this)).state={},t.request=null,t.hasAdded=!1,t.clickCount=0,t.singleClickTimer=null,t.tagifyField=Object(o.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(qe,{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(L.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}(o.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),it=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(o.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})),ot=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(o.Fragment,null,wp.element.createElement(p.PanelBody,{initialOpen:!0},wp.element.createElement(X,{onClick:t}),wp.element.createElement(je,null),wp.element.createElement(ot.a.Slot,null,(function(e){return e.length>0?e:[]}))),wp.element.createElement(it,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(o.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(o.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(o.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(o.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(o.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(o.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(o.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 wt(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){gt(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 gt(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=wt({},t);Object(s.defaults)(n,yt);var r=null,a=null,i=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&&(i=n["max-video-preview"]),{meta:t,isSnippet:r,isImage:a,isVideo:i,maxSnippet:r?n["max-snippet"]:-1,maxImage:n["max-image-preview"],maxVideo:i?n["max-video-preview"]:-1}})),Object(a.withDispatch)((function(e,t){var n=wt({},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(o.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(o.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(o.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(o.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=n(26),Et=n.n(jt),Tt={init:function(){this.cacheProps(),this.initVars(),this.bindEvents()},cacheProps:function(){this.root=document.documentElement,this.$wpAdminbar=he()("#wpadminbar")},initVars:function(){this.$wpAdminbar.length&&this.setWpAdminbarHeight.call(this)},bindEvents:function(){window.addEventListener("resize",Et()(this.onWindowResize.bind(this)))},onWindowResize:function(){this.$wpAdminbar.length&&this.setWpAdminbarHeight.call(this)},setWpAdminbarHeight:function(){this.root.style.setProperty("--rankmath-wp-adminbar-height",this.$wpAdminbar.outerHeight()+"px")}};he()((function(){Tt.init()}));var St=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(o.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(o.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(o.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(i.applyFilters)("rank_math_sidebar_tabs",e)),onSelect:St},(function(e){return wp.element.createElement("div",{className:"rank-math-tab-content-"+e.name},Object(o.createElement)(e.view))}));var e}},function(e,t,n){"use strict";var r=n(8),a=n(6),i=n(17),o=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(o.isObject)(e)||Object(o.isEmpty)(e)?e:r.Helpers.sanitizeAppData(e)}},{key:"getPaper",value:function(e){var t=Object(i.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(o.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(o.debounce)((function(t){var n=Object(i.a)().getState();if(!1!==n.appUi.isLoaded){var o=n.appData.keywords.split(","),l=[];Object(a.doAction)("rank_math_"+t+"_refresh"),o.map((function(t,n){var a=e.getPaper(r.Helpers.removeDiacritics(t)),i=0===n?rankMath.assessor.researchesTests:e.getSecondaryKeywordTests();l.push(e.analyzer.analyzeSome(i,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(i.a)().getState().appData.keywords;return r.Helpers.removeDiacritics(e.split(",")[0])}},{key:"getSelectedKeyword",value:function(){var e=Object(i.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(30);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,o;return t=e,(n=[{key:"setup",value:function(e){Object(i.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),o&&m(t,o),e}();t.a=d},,function(e,t,n){"use strict";var r=n(38),a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,i=n(39),o=n(58),l=n(59),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 i,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(i=e[d],m+s(i,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),w=0;!(f=b.next()).done;)p+=u(i=f.value,m+s(i,w++),n,r)}else if("object"===l){0;var g=""+e;o(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===g?"object with keys {"+Object.keys(e).join(", ")+"}":g,"")}}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)},w=function(e){var t=this;o(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 g(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,o,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,i.thatReturnsArgument):null!=p&&(r.isValidElement(p)&&(a=p,o=c+(!p.key||t&&t.key===p.key?"":m(p.key)+"/")+n,p=r.cloneElement(a,{key:o},void 0!==a.props?a.props.children:void 0)),l.push(p))}function v(e,t,n,r,a){var i="";null!=n&&(i=m(n)+"/");var o=g.getPooled(t,i,r,a);!function(e,t,n){null==e||u(e,"",t,n)}(e,y,o),g.release(o)}g.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 i=a.instancePool.pop();return a.call(i,e,t,n,r),i}return new a(e,t,n,r)},(h=g).instancePool=[],h.getPooled=d||f,h.poolSize||(h.poolSize=10),h.release=w;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;o(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,i.thatReturnsArgument);return t}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,a,i,o,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,i,o,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(39);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),i=n(4),o=n(63),l=n(6),c=n(55),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 w(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 g=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(i.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(i.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(i.dispatch)("rank-math").updatePermalink(rankMath.postName),this.subscriber=Object(s.debounce)(this.refresh,500),Object(i.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(i.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(i.dispatch)("rank-math").updatePermalink(e)})),Object(i.dispatch)("rank-math").resetDirtyMetadata())}},{key:"saveRedirection",value:function(){var e=Object(i.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(i.dispatch)("rank-math").updateRedirection("redirectionID",0):"new"===e.action&&Object(i.dispatch)("rank-math").updateRedirection("redirectionID",e.id)})),Object(i.dispatch)("rank-math").resetRedirection())}},{key:"saveSchemas",value:function(){var e=Object(i.select)("rank-math").getSchemas();if(!Object(s.isEmpty)(e)&&Object(i.select)("rank-math").hasSchemaUpdated()){var t=Object(i.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(i.dispatch)("rank-math").schemaUpdated(!1),Object(i.dispatch)("rank-math").updateSchemas(r),Object(i.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(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(){rankMathEditor.refresh("permalink")}},{key:"handleTitleChange",value:function(e){d.a.setVariable("title",e),d.a.setVariable("term",e),d.a.setVariable("author",e),Object(i.dispatch)("rank-math").updateSerpTitle(Object(i.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(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}}])&&w(t.prototype,n),r&&w(t,r),e}(),y=n(64),v=n.n(y),k=n(5),O=n(54),_=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}(),S=n(23),I=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 o.MediaUpload},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&&A(e,t)}(o,e);var t,n,r,a=R(o);function o(){return P(this,o),a.apply(this,arguments)}return t=o,(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(o.prototype),"setup",this).call(this,e)}},{key:"registerSlots",value:function(){this.RankMathAfterEditor=S.a,this.RankMathAfterFocusKeyword=C.a,this.RankMathAdvancedTab=I.a,this.slots={AfterEditor:S.a,AfterFocusKeyword:C.a,AdvancedTab:I.a}}},{key:"updatePermalink",value:function(e){Object(i.dispatch)("rank-math").updatePermalink(e)}},{key:"updatePermalinkSanitize",value:function(e){e=this.assessor.getResearch("slugify")(e),Object(i.dispatch)("rank-math").updatePermalink(e)}}])&&x(t.prototype,n),r&&x(t,r),o}(c.a);a()((function(){window.rankMathEditor=new H,window.rankMathGutenberg=window.rankMathEditor,new T,elementor.once("preview:loaded",(function(){$e.components.get("panel/elements").addTab("rank-math",{title:"SEO"}),window.rankMathEditor.setup(new g),Object(i.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 o}));var r=n(2),a=n.n(r);function i(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 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,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)}}])&&i(t.prototype,n),r&&i(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 i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)&&r.length){var o=a.apply(null,r);o&&e.push(o)}else if("object"===i)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 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 H})),n.d(r,"updateSnippetPreviewType",(function(){return L})),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 $})),n.d(r,"updateTwitterImageOverlay",(function(){return q})),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 ie})),n.d(r,"updateTwitterAppIpadUrl",(function(){return oe})),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 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 Le})),n.d(a,"appUi",(function(){return Ve}));var i={};n.r(i),n.d(i,"getAppData",(function(){return We})),n.d(i,"getDirtyMetadata",(function(){return Ye})),n.d(i,"getAnalysisScore",(function(){return $e})),n.d(i,"getKeywords",(function(){return qe})),n.d(i,"getPillarContent",(function(){return Ze})),n.d(i,"getRobots",(function(){return Je})),n.d(i,"getAdvancedRobots",(function(){return Qe})),n.d(i,"getCanonicalUrl",(function(){return Xe})),n.d(i,"getBreadcrumbTitle",(function(){return et})),n.d(i,"getRichSnippets",(function(){return tt})),n.d(i,"getShowScoreFrontend",(function(){return nt})),n.d(i,"isLoaded",(function(){return rt})),n.d(i,"getSelectedKeyword",(function(){return at})),n.d(i,"isRefreshing",(function(){return it})),n.d(i,"isPro",(function(){return ot})),n.d(i,"getFacebookTitle",(function(){return lt})),n.d(i,"getFacebookDescription",(function(){return ct})),n.d(i,"getFacebookAuthor",(function(){return st})),n.d(i,"getFacebookImageID",(function(){return ut})),n.d(i,"getFacebookImage",(function(){return pt})),n.d(i,"getFacebookHasOverlay",(function(){return mt})),n.d(i,"getFacebookImageOverlay",(function(){return dt})),n.d(i,"getPostID",(function(){return ht})),n.d(i,"getTitle",(function(){return ft})),n.d(i,"getPermalink",(function(){return bt})),n.d(i,"getDescription",(function(){return gt})),n.d(i,"getFeaturedImage",(function(){return wt})),n.d(i,"getFeaturedImageHtml",(function(){return yt})),n.d(i,"getPrimaryTermID",(function(){return vt})),n.d(i,"getRedirectionID",(function(){return kt})),n.d(i,"getRedirectionType",(function(){return Ot})),n.d(i,"getRedirectionUrl",(function(){return _t})),n.d(i,"getRedirectionItem",(function(){return jt})),n.d(i,"hasRedirect",(function(){return Et})),n.d(i,"getSerpTitle",(function(){return St})),n.d(i,"getSerpDescription",(function(){return It})),n.d(i,"isSnippetEditorOpen",(function(){return Ct})),n.d(i,"getSnippetPreviewType",(function(){return Dt})),n.d(i,"isSchemaEditorOpen",(function(){return Pt})),n.d(i,"isSchemaTemplatesOpen",(function(){return xt})),n.d(i,"hasSchemaUpdated",(function(){return Nt})),n.d(i,"getSchemas",(function(){return At})),n.d(i,"getEditSchemas",(function(){return Rt})),n.d(i,"getEditingSchema",(function(){return Mt})),n.d(i,"getPreviewSchema",(function(){return Ut})),n.d(i,"getEditorTab",(function(){return Ft})),n.d(i,"getTemplateTab",(function(){return Ht})),n.d(i,"getTwitterUseFacebook",(function(){return Lt})),n.d(i,"getTwitterCardType",(function(){return zt})),n.d(i,"getTwitterTitle",(function(){return Bt})),n.d(i,"getTwitterDescription",(function(){return Gt})),n.d(i,"getTwitterAuthor",(function(){return Kt})),n.d(i,"getTwitterImageID",(function(){return Vt})),n.d(i,"getTwitterImage",(function(){return Wt})),n.d(i,"getTwitterHasOverlay",(function(){return Yt})),n.d(i,"getTwitterImageOverlay",(function(){return $t})),n.d(i,"getTwitterAppDescription",(function(){return qt})),n.d(i,"getTwitterAppIphoneID",(function(){return Zt})),n.d(i,"getTwitterAppIphoneName",(function(){return Jt})),n.d(i,"getTwitterAppIphoneUrl",(function(){return Qt})),n.d(i,"getTwitterAppIpadID",(function(){return Xt})),n.d(i,"getTwitterAppIpadName",(function(){return en})),n.d(i,"getTwitterAppIpadUrl",(function(){return tn})),n.d(i,"getTwitterAppGoogleplayID",(function(){return nn})),n.d(i,"getTwitterAppGoogleplayName",(function(){return rn})),n.d(i,"getTwitterAppGoogleplayUrl",(function(){return an})),n.d(i,"getTwitterAppCountry",(function(){return on})),n.d(i,"getTwitterPlayerUrl",(function(){return ln})),n.d(i,"getTwitterPlayerSize",(function(){return cn})),n.d(i,"getTwitterPlayerStream",(function(){return sn})),n.d(i,"getTwitterPlayerStreamCtype",(function(){return un}));var o=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 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 H(e){return u("isSnippetEditorOpen",e)}function L(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 $(e){return s("twitterHasOverlay",e,"rank_math_twitter_enable_image_overlay",!0===e?"on":"off")}function q(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 ie(e){return s("twitterAppIpadName",e,"rank_math_twitter_app_ipad_name")}function oe(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 Ce(e){return s("schemas",e)}function De(e,t){var n=ve({},Object(o.select)("rank-math").getEditSchemas());return n[e]=t,u("editSchemas",n)}function Pe(e,t){var n=ve({},Object(o.select)("rank-math").getSchemas());return n[e]=t,s("schemas",n)}function xe(e){var t=ve({},Object(o.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(/&/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,He={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 Le(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:He,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 $e(e){return e.appData.score}function qe(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 it(e){return e.appUi.refreshResults}function ot(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 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 Ht(e){return e.appUi.templateTab}function Lt(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 $t(e){return""!==e.appData.twitterImageOverlay?e.appData.twitterImageOverlay:"play"}function qt(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(o.registerStore)("rank-math",{reducer:Object(o.combineReducers)(a),selectors:i,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"),i=a.Fill,o=a.Slot,l=function(e){var t=e.children,n=e.className;return wp.element.createElement(i,null,wp.element.createElement("div",{className:n},t))};l.Slot=o,t.a=l},function(e,t,n){"use strict";var r=n(3),a=Object(r.createSlotFill)("RankMathAfterEditor"),i=a.Fill,o=a.Slot,l=function(e){var t=e.children,n=e.className;return wp.element.createElement(i,null,wp.element.createElement(r.PanelRow,{className:n},t))};l.Slot=o,t.a=l},function(e,t,n){"use strict";var r=n(3),a=Object(r.createSlotFill)("RankMathAdvancedTab"),i=a.Fill,o=a.Slot,l=function(e){var t=e.children,n=e.className;return wp.element.createElement(i,null,wp.element.createElement(r.PanelRow,{className:n},t))};l.Slot=o,t.a=l},function(e,t,n){"use strict";n(2);var r=n(8),a=n(1),i=n(6),o=n(9),l=n(14),c=function(e,t){return e=(e=r.Helpers.cleanText(e)).replace(/\r?\n|\r/g," "),t?Object(a.truncate)(e,{length:t,separator:" "}):e};t.a=function(e){var t=rankMathEditor.assessor.dataCollector.getData(),n=t.excerpt,s=t.content?function(e){if(Object(a.isEmpty)(e))return"";e=e.replace(/\[caption[^\]]*\](.*)\[\/caption\]/g,"");var t=Object(a.filter)(r.Helpers.matchParagraphs(e,!0,!0),(function(e){return""!==e.trim()}));if(!t.length)return"";var n=rankMathEditor.getPrimaryKeyword();if(""!==n){var i=Object(a.filter)(t,(function(e){return Object(a.includes)(e.toLowerCase(),n.toLowerCase())}));if(0<i.length)return c(i[0],160)}return c(t[0],160)}(t.content.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,"")):"",u=Object(a.isUndefined)(n)||Object(a.isEmpty)(n)?s:n;if(o.a.setVariable("excerpt",u),o.a.setVariable("seo_description",u),""!==(e=Object(l.a)(Object(i.applyFilters)("rankMath/description",e))))return r.Helpers.cleanText(e);if(!Object(a.isUndefined)(n)&&!Object(a.isEmpty)(n))return r.Helpers.cleanText(n);var p=rankMath.assessor.serpData.descriptionTemplate;return Object(a.isUndefined)(p)||""===p?s:r.Helpers.cleanText(p)}},function(e,t,n){var r=n(27),a=n(40),i=n(43),o=Math.max,l=Math.min;e.exports=function(e,t,n){var c,s,u,p,m,d,h=0,f=!1,b=!1,g=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function w(t){var n=c,r=s;return c=s=void 0,h=t,p=e.apply(r,n)}function y(e){return h=e,m=setTimeout(k,t),f?w(e):p}function v(e){var n=e-d;return void 0===d||n>=t||n<0||b&&e-h>=u}function k(){var e=a();if(v(e))return O(e);m=setTimeout(k,function(e){var n=t-(e-d);return b?l(n,u-(e-h)):n}(e))}function O(e){return m=void 0,g&&c?w(e):(c=s=void 0,p)}function _(){var e=a(),n=v(e);if(c=arguments,s=this,d=e,n){if(void 0===m)return y(d);if(b)return clearTimeout(m),m=setTimeout(k,t),w(d)}return void 0===m&&(m=setTimeout(k,t)),p}return t=i(t)||0,r(n)&&(f=!!n.leading,u=(b="maxWait"in n)?o(i(n.maxWait)||0,t):u,g="trailing"in n?!!n.trailing:g),_.cancel=function(){void 0!==m&&clearTimeout(m),h=0,c=d=s=m=void 0},_.flush=function(){return void 0===m?p:O(a())},_}},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){var r=n(41),a="object"==typeof self&&self&&self.Object===Object&&self,i=r||a||Function("return this")();e.exports=i},function(e,t,n){var r=n(28).Symbol;e.exports=r},function(e,t,n){"use strict";var r=n(0),a=n(6);function i(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 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,n,o;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}}}}])&&i(t.prototype,n),o&&i(t,o),e}();t.a=o},function(e,t,n){"use strict";var r=n(1),a=n(14);function i(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 o(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:i(n,c,t),isInvalid:o(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){var r=n(28);e.exports=function(){return r.Date.now()}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(42))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(44),a=n(27),i=n(46),o=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,s=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(a(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=a(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=l.test(e);return n||c.test(e)?s(e.slice(2),n?2:8):o.test(e)?NaN:+e}},function(e,t,n){var r=n(45),a=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(a,""):e}},function(e,t){var n=/\s/;e.exports=function(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t}},function(e,t,n){var r=n(47),a=n(50);e.exports=function(e){return"symbol"==typeof e||a(e)&&"[object Symbol]"==r(e)}},function(e,t,n){var r=n(29),a=n(48),i=n(49),o=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?a(e):i(e)}},function(e,t,n){var r=n(29),a=Object.prototype,i=a.hasOwnProperty,o=a.toString,l=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,l),n=e[l];try{e[l]=void 0;var r=!0}catch(e){}var a=o.call(e);return r&&(t?e[l]=n:delete e[l]),a}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},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(38)),i=l(n(57)),o=l(n(60));function l(e){return e&&e.__esModule?e:{default:e}}var c=void 0;function s(e,t){var n,o,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],i=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===a.value){if("componentOpen"===n.type){i++;continue}if("componentClose"===n.type){if(0===i)return r;i--}}throw new Error("Missing closing component token `"+a.value+"`")}(l,e),d=s(e.slice(l+1,u),t),o=a.default.cloneElement(n,{},d),f.push(o),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,i.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 i=(0,o.default)(t);try{return s(i,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),i=n(6),o=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={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[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,i=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},i),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)}(i,e);var t,n,r,a=g(i);function i(){var e;h(this,i),(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=i,(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,i=n.className,o=n.instanceId,l=n.orientation,u=void 0===l?"horizontal":l,m=n.tabs,h=Object(s.find)(m,{name:t}),f=o+"-"+h.name,b=m.slice(4);return wp.element.createElement("div",{className:i},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:o+"-"+n.name,"aria-controls":o+"-"+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:o+"-"+n.name,"aria-controls":o+"-"+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),i}(o.Component),j=Object(u.withInstanceId)(_),E=n(31),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(34),I=n(51),C=n.n(I),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,i=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=i.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(o.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 …","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}(o.Component),H=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+"%")}})))})),L=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(L.Helpers.sanitizeText(e))},updatePermalinkSanitize:function(e){rankMathEditor.updatePermalinkSanitize(L.Helpers.sanitizeText(e))}}})))((function(e){var t=e.permalink,n=e.serpPermalink,a=e.updatePermalink,i=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){i(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(36),Y=n(19),$=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},q=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 i=Object(s.get)(n,"bestRating",5);return wp.element.createElement("div",{className:"rank-math-rating-preview"},wp.element.createElement("div",{className:"serp-ratings"},$(i,"filled"),function(e,t,n){return e*=100/n,wp.element.createElement("div",{className:"serp-result",style:{width:e+"%"}},$(n,"filled"))}(a,0,i)),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 i=Object(s.get)(n,"bestRating",5);return wp.element.createElement("div",{className:"rank-math-rating-preview"},wp.element.createElement("div",{className:"serp-ratings"},Z(i,"filled"),function(e,t,n){return e*=100/n,wp.element.createElement("div",{className:"serp-result",style:{width:e+"%"}},Z(n,"filled"))}(a,0,i)),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,i=e.description,o=e.previewType,l=void 0===o?"desktop":o,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,L.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,L.Helpers.sanitizeText(n),60)}})),wp.element.createElement(q,null),wp.element.createElement("div",{className:"group"},wp.element.createElement("div",{className:"serp-description",dangerouslySetInnerHTML:{__html:Object(Y.a)(u,L.Helpers.sanitizeText(i),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(H,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(o.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(o.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 ie(){var e=rankMath.overlayImages,t=[];return Object.keys(e).forEach((function(n){t.push({label:e[n].name,value:n})})),t}function oe(){return(oe=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(o.Fragment,null,wp.element.createElement(ne,oe({},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/?utm_source=Plugin&utm_medium=Gutenberg%20Social%20Tab&utm_campaign=WP",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:ie(),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(o.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(o.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(o.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(o.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(o.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(o.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:ie(),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(o.Fragment,null,wp.element.createElement(p.TabPanel,{className:"rank-math-editor-social",activeClass:"is-active",tabs:[{name:"facebook",title:wp.element.createElement(o.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(o.Fragment,null,wp.element.createElement(p.Dashicon,{icon:"twitter"}),Object(r.__)("Twitter","rank-math")),view:pe,className:"button-twitter"}]},(function(e){return Object(o.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,i=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=i.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(o.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}(o.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,i=e.toggleEditor,l=[{name:"general",title:wp.element.createElement(o.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(o.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(o.Fragment,null,wp.element.createElement("i",{className:"rm-icon rm-icon-heart-filled"})),view:Oe}),wp.element.createElement(o.Fragment,null,wp.element.createElement(p.Button,{isPrimary:!0,className:"rank-math-edit-snippet",onClick:i},Object(r.__)("Edit Snippet","rank-math")),""===a&&wp.element.createElement(_e,null),t&&wp.element.createElement(p.Modal,{title:"Preview Snippet Editor",closeButtonLabel:Object(r.__)("Close","rank-math"),shouldCloseOnClickOutside:!1,onRequestClose:i,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(o.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,i=c()("rank-math-tooltip",t);return wp.element.createElement("span",{className:i},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(33);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 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"!==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 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,i=xe(l);function l(){return Ce(this,l),i.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(o.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],i=c()("seo-check-"+e,{"test-ok":a.hasScore(),"test-fail":!a.hasScore()});return a.hasScore()&&["contentHasAssets","lengthContent","keywordDensity"].includes(e)&&(i+=" "+Object(Se.a)(a.getScore(),a.getMaxScore())),!1===a.hasScore()&&(t.errors+=1),wp.element.createElement("li",{key:e,className:i},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}(o.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/?utm_source=Plugin&utm_medium=Gutenberg%20General%20Tab%20Score%20Notice&utm_campaign=WP",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")))})),He=n(32),Le=n.n(He);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=$e(e);if(t){var a=$e(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 $e(e){return($e=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var qe=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)}(i,e);var t,n,r,a=Ve(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=a.call(this,e))._handleRef=t._handleRef.bind(Ye(t)),t}return t=i,(n=[{key:"componentDidMount",value:function(){var e=this;this.tagify=new Le.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),i}(o.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,i=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=i.call(this)).state={},t.request=null,t.hasAdded=!1,t.clickCount=0,t.singleClickTimer=null,t.tagifyField=Object(o.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(qe,{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(L.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}(o.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),it=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(o.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})),ot=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(o.Fragment,null,wp.element.createElement(p.PanelBody,{initialOpen:!0},wp.element.createElement(X,{onClick:t}),wp.element.createElement(je,null),wp.element.createElement(ot.a.Slot,null,(function(e){return e.length>0?e:[]}))),wp.element.createElement(it,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(o.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(o.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(o.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(o.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(o.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(o.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(o.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,i=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&&(i=n["max-video-preview"]),{meta:t,isSnippet:r,isImage:a,isVideo:i,maxSnippet:r?n["max-snippet"]:-1,maxImage:n["max-image-preview"],maxVideo:i?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(o.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(o.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(o.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(o.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=n(26),Et=n.n(jt),Tt={init:function(){this.cacheProps(),this.initVars(),this.bindEvents()},cacheProps:function(){this.root=document.documentElement,this.$wpAdminbar=he()("#wpadminbar")},initVars:function(){this.$wpAdminbar.length&&this.setWpAdminbarHeight.call(this)},bindEvents:function(){window.addEventListener("resize",Et()(this.onWindowResize.bind(this)))},onWindowResize:function(){this.$wpAdminbar.length&&this.setWpAdminbarHeight.call(this)},setWpAdminbarHeight:function(){this.root.style.setProperty("--rankmath-wp-adminbar-height",this.$wpAdminbar.outerHeight()+"px")}};he()((function(){Tt.init()}));var St=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(o.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(o.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(o.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(i.applyFilters)("rank_math_sidebar_tabs",e)),onSelect:St},(function(e){return wp.element.createElement("div",{className:"rank-math-tab-content-"+e.name},Object(o.createElement)(e.view))}));var e}},function(e,t,n){"use strict";var r=n(8),a=n(6),i=n(17),o=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(o.isObject)(e)||Object(o.isEmpty)(e)?e:r.Helpers.sanitizeAppData(e)}},{key:"getPaper",value:function(e){var t=Object(i.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(o.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(o.debounce)((function(t){var n=Object(i.a)().getState();if(!1!==n.appUi.isLoaded){var o=n.appData.keywords.split(","),l=[];Object(a.doAction)("rank_math_"+t+"_refresh"),o.map((function(t,n){var a=e.getPaper(r.Helpers.removeDiacritics(t)),i=0===n?rankMath.assessor.researchesTests:e.getSecondaryKeywordTests();l.push(e.analyzer.analyzeSome(i,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(i.a)().getState().appData.keywords;return r.Helpers.removeDiacritics(e.split(",")[0])}},{key:"getSelectedKeyword",value:function(){var e=Object(i.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(30);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,o;return t=e,(n=[{key:"setup",value:function(e){Object(i.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),o&&m(t,o),e}();t.a=d},,function(e,t,n){"use strict";var r=n(38),a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,i=n(39),o=n(58),l=n(59),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 i,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(i=e[d],m+s(i,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(i=f.value,m+s(i,g++),n,r)}else if("object"===l){0;var w=""+e;o(!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;o(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,o,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,i.thatReturnsArgument):null!=p&&(r.isValidElement(p)&&(a=p,o=c+(!p.key||t&&t.key===p.key?"":m(p.key)+"/")+n,p=r.cloneElement(a,{key:o},void 0!==a.props?a.props.children:void 0)),l.push(p))}function v(e,t,n,r,a){var i="";null!=n&&(i=m(n)+"/");var o=w.getPooled(t,i,r,a);!function(e,t,n){null==e||u(e,"",t,n)}(e,y,o),w.release(o)}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 i=a.instancePool.pop();return a.call(i,e,t,n,r),i}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;o(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,i.thatReturnsArgument);return t}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,a,i,o,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,i,o,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(39);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),i=n(4),o=n(63),l=n(6),c=n(55),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(i.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(i.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(i.dispatch)("rank-math").updatePermalink(rankMath.postName),this.subscriber=Object(s.debounce)(this.refresh,500),Object(i.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(i.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(i.dispatch)("rank-math").updatePermalink(e)})),Object(i.dispatch)("rank-math").resetDirtyMetadata())}},{key:"saveRedirection",value:function(){var e=Object(i.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(i.dispatch)("rank-math").updateRedirection("redirectionID",0):"new"===e.action&&Object(i.dispatch)("rank-math").updateRedirection("redirectionID",e.id)})),Object(i.dispatch)("rank-math").resetRedirection())}},{key:"saveSchemas",value:function(){var e=Object(i.select)("rank-math").getSchemas();if(!Object(s.isEmpty)(e)&&Object(i.select)("rank-math").hasSchemaUpdated()){var t=Object(i.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(i.dispatch)("rank-math").schemaUpdated(!1),Object(i.dispatch)("rank-math").updateSchemas(r),Object(i.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(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(){rankMathEditor.refresh("permalink")}},{key:"handleTitleChange",value:function(e){d.a.setVariable("title",e),Object(i.dispatch)("rank-math").updateSerpTitle(Object(i.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(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}}])&&g(t.prototype,n),r&&g(t,r),e}(),y=n(64),v=n.n(y),k=n(5),O=n(54),_=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}(),S=n(23),I=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 o.MediaUpload},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&&A(e,t)}(o,e);var t,n,r,a=R(o);function o(){return P(this,o),a.apply(this,arguments)}return t=o,(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(o.prototype),"setup",this).call(this,e)}},{key:"registerSlots",value:function(){this.RankMathAfterEditor=S.a,this.RankMathAfterFocusKeyword=C.a,this.RankMathAdvancedTab=I.a,this.slots={AfterEditor:S.a,AfterFocusKeyword:C.a,AdvancedTab:I.a}}},{key:"updatePermalink",value:function(e){Object(i.dispatch)("rank-math").updatePermalink(e)}},{key:"updatePermalinkSanitize",value:function(e){e=this.assessor.getResearch("slugify")(e),Object(i.dispatch)("rank-math").updatePermalink(e)}}])&&x(t.prototype,n),r&&x(t,r),o}(c.a);a()((function(){window.rankMathEditor=new H,window.rankMathGutenberg=window.rankMathEditor,new T,elementor.once("preview:loaded",(function(){$e.components.get("panel/elements").addTab("rank-math",{title:"SEO"}),window.rankMathEditor.setup(new w),Object(i.dispatch)("rank-math").refreshResults()}))})),a()(window).on("elementor:init",(function(){elementor.hooks.addFilter("panel/elements/regionViews",j)}))}]);
|
@@ -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 o}));var r=n(2),a=n.n(r);function i(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 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,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)}}])&&i(t.prototype,n),r&&i(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 i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)&&r.length){var o=a.apply(null,r);o&&e.push(o)}else if("object"===i)for(var c in r)n.call(r,c)&&r[c]&&e.push(c)}}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 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 H})),n.d(r,"updateSnippetPreviewType",(function(){return z})),n.d(r,"updateTwitterUseFacebook",(function(){return L})),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 ie})),n.d(r,"updateTwitterAppIpadUrl",(function(){return oe})),n.d(r,"updateTwitterAppGoogleplayID",(function(){return ce})),n.d(r,"updateTwitterAppGoogleplayName",(function(){return le})),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 xe})),n.d(r,"saveTemplate",(function(){return Ne}));var a={};n.r(a),n.d(a,"appData",(function(){return ze})),n.d(a,"appUi",(function(){return Ve}));var i={};n.r(i),n.d(i,"getAppData",(function(){return We})),n.d(i,"getDirtyMetadata",(function(){return Ye})),n.d(i,"getAnalysisScore",(function(){return qe})),n.d(i,"getKeywords",(function(){return $e})),n.d(i,"getPillarContent",(function(){return Ze})),n.d(i,"getRobots",(function(){return Je})),n.d(i,"getAdvancedRobots",(function(){return Qe})),n.d(i,"getCanonicalUrl",(function(){return Xe})),n.d(i,"getBreadcrumbTitle",(function(){return et})),n.d(i,"getRichSnippets",(function(){return tt})),n.d(i,"getShowScoreFrontend",(function(){return nt})),n.d(i,"isLoaded",(function(){return rt})),n.d(i,"getSelectedKeyword",(function(){return at})),n.d(i,"isRefreshing",(function(){return it})),n.d(i,"isPro",(function(){return ot})),n.d(i,"getFacebookTitle",(function(){return ct})),n.d(i,"getFacebookDescription",(function(){return lt})),n.d(i,"getFacebookAuthor",(function(){return st})),n.d(i,"getFacebookImageID",(function(){return ut})),n.d(i,"getFacebookImage",(function(){return pt})),n.d(i,"getFacebookHasOverlay",(function(){return mt})),n.d(i,"getFacebookImageOverlay",(function(){return dt})),n.d(i,"getPostID",(function(){return ht})),n.d(i,"getTitle",(function(){return ft})),n.d(i,"getPermalink",(function(){return bt})),n.d(i,"getDescription",(function(){return gt})),n.d(i,"getFeaturedImage",(function(){return wt})),n.d(i,"getFeaturedImageHtml",(function(){return yt})),n.d(i,"getPrimaryTermID",(function(){return vt})),n.d(i,"getRedirectionID",(function(){return kt})),n.d(i,"getRedirectionType",(function(){return Ot})),n.d(i,"getRedirectionUrl",(function(){return _t})),n.d(i,"getRedirectionItem",(function(){return jt})),n.d(i,"hasRedirect",(function(){return Et})),n.d(i,"getSerpTitle",(function(){return St})),n.d(i,"getSerpDescription",(function(){return It})),n.d(i,"isSnippetEditorOpen",(function(){return Pt})),n.d(i,"getSnippetPreviewType",(function(){return Ct})),n.d(i,"isSchemaEditorOpen",(function(){return Dt})),n.d(i,"isSchemaTemplatesOpen",(function(){return xt})),n.d(i,"hasSchemaUpdated",(function(){return Nt})),n.d(i,"getSchemas",(function(){return At})),n.d(i,"getEditSchemas",(function(){return Rt})),n.d(i,"getEditingSchema",(function(){return Mt})),n.d(i,"getPreviewSchema",(function(){return Ut})),n.d(i,"getEditorTab",(function(){return Ft})),n.d(i,"getTemplateTab",(function(){return Ht})),n.d(i,"getTwitterUseFacebook",(function(){return zt})),n.d(i,"getTwitterCardType",(function(){return Lt})),n.d(i,"getTwitterTitle",(function(){return Bt})),n.d(i,"getTwitterDescription",(function(){return Gt})),n.d(i,"getTwitterAuthor",(function(){return Kt})),n.d(i,"getTwitterImageID",(function(){return Vt})),n.d(i,"getTwitterImage",(function(){return Wt})),n.d(i,"getTwitterHasOverlay",(function(){return Yt})),n.d(i,"getTwitterImageOverlay",(function(){return qt})),n.d(i,"getTwitterAppDescription",(function(){return $t})),n.d(i,"getTwitterAppIphoneID",(function(){return Zt})),n.d(i,"getTwitterAppIphoneName",(function(){return Jt})),n.d(i,"getTwitterAppIphoneUrl",(function(){return Qt})),n.d(i,"getTwitterAppIpadID",(function(){return Xt})),n.d(i,"getTwitterAppIpadName",(function(){return en})),n.d(i,"getTwitterAppIpadUrl",(function(){return tn})),n.d(i,"getTwitterAppGoogleplayID",(function(){return nn})),n.d(i,"getTwitterAppGoogleplayName",(function(){return rn})),n.d(i,"getTwitterAppGoogleplayUrl",(function(){return an})),n.d(i,"getTwitterAppCountry",(function(){return on})),n.d(i,"getTwitterPlayerUrl",(function(){return cn})),n.d(i,"getTwitterPlayerSize",(function(){return ln})),n.d(i,"getTwitterPlayerStream",(function(){return sn})),n.d(i,"getTwitterPlayerStreamCtype",(function(){return un}));var o=n(4),c=n(9),l=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(l.applyFilters)("rank_math_sanitize_data",t,e,n),null!==r&&(r=Object(l.applyFilters)("rank_math_sanitize_meta_value",r,e,n)),r=null===r?t:r,Object(l.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(l.doAction)("rank_math_update_app_ui",e,t),{type:"RANK_MATH_APP_UI",key:e,value:t}}function p(e){return c.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 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=c.a.swap(""!==e?e:rankMath.assessor.serpData.titleTemplate),rankMathEditor.refresh("title"),u("serpTitle",e)}function F(e){return e=c.a.swap(Object(M.a)(e)),rankMathEditor.refresh("description"),u("serpDescription",e)}function H(e){return u("isSnippetEditorOpen",e)}function z(e){return u("snippetPreviewType",e)}function L(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 ie(e){return s("twitterAppIpadName",e,"rank_math_twitter_app_ipad_name")}function oe(e){return s("twitterAppIpadUrl",e,"rank_math_twitter_app_ipad_url")}function ce(e){return s("twitterAppGoogleplayID",e,"rank_math_twitter_app_googleplay_id")}function le(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(o.select)("rank-math").getEditSchemas());return n[e]=t,u("editSchemas",n)}function De(e,t){var n=ve({},Object(o.select)("rank-math").getSchemas());return n[e]=t,s("schemas",n)}function xe(e){var t=ve({},Object(o.select)("rank-math").getSchemas());return delete t[e],Object(l.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(/&/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,He={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 ze(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:He,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 Le(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?Le(Object(n),!0).forEach((function(t){Ge(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Le(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 it(e){return e.appUi.refreshResults}function ot(e){return e.appUi.isPro}function ct(e){return e.appData.facebookTitle}function lt(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 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 Ht(e){return e.appUi.templateTab}function zt(e){return e.appData.twitterUseFacebook}function Lt(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 cn(e){return e.appData.twitterPlayerUrl}function ln(e){return e.appData.twitterPlayerSize}function sn(e){return e.appData.twitterPlayerStream}function un(e){return e.appData.twitterPlayerStreamCtype}var pn=Object(o.registerStore)("rank-math",{reducer:Object(o.combineReducers)(a),selectors:i,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"),i=a.Fill,o=a.Slot,c=function(e){var t=e.children,n=e.className;return wp.element.createElement(i,null,wp.element.createElement("div",{className:n},t))};c.Slot=o,t.a=c},function(e,t,n){"use strict";var r=n(3),a=Object(r.createSlotFill)("RankMathAfterEditor"),i=a.Fill,o=a.Slot,c=function(e){var t=e.children,n=e.className;return wp.element.createElement(i,null,wp.element.createElement(r.PanelRow,{className:n},t))};c.Slot=o,t.a=c},function(e,t,n){"use strict";var r=n(3),a=Object(r.createSlotFill)("RankMathAdvancedTab"),i=a.Fill,o=a.Slot,c=function(e){var t=e.children,n=e.className;return wp.element.createElement(i,null,wp.element.createElement(r.PanelRow,{className:n},t))};c.Slot=o,t.a=c},function(e,t,n){"use strict";var r=n(2),a=n.n(r),i=n(8),o=n(1),c=n(6),l=n(9),s=n(14),u=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(),n=t.excerpt,r=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 n=rankMathEditor.getPrimaryKeyword();if(""!==n){var r=Object(o.filter)(t,(function(e){return Object(o.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(o.isUndefined)(n)||Object(o.isEmpty)(n)?r:n;if(l.a.setVariable("excerpt",p),l.a.setVariable("seo_description",p),""!==(e=Object(s.a)(Object(c.applyFilters)("rankMath/description",e))))return i.Helpers.cleanText(e);if(!Object(o.isUndefined)(n)&&!Object(o.isEmpty)(n))return i.Helpers.cleanText(n);var m=rankMath.assessor.serpData.descriptionTemplate;return Object(o.isUndefined)(m)||""===m?r:i.Helpers.cleanText(m)}},function(e,t,n){var r=n(27),a=n(40),i=n(43),o=Math.max,c=Math.min;e.exports=function(e,t,n){var l,s,u,p,m,d,h=0,f=!1,b=!1,g=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function w(t){var n=l,r=s;return l=s=void 0,h=t,p=e.apply(r,n)}function y(e){return h=e,m=setTimeout(k,t),f?w(e):p}function v(e){var n=e-d;return void 0===d||n>=t||n<0||b&&e-h>=u}function k(){var e=a();if(v(e))return O(e);m=setTimeout(k,function(e){var n=t-(e-d);return b?c(n,u-(e-h)):n}(e))}function O(e){return m=void 0,g&&l?w(e):(l=s=void 0,p)}function _(){var e=a(),n=v(e);if(l=arguments,s=this,d=e,n){if(void 0===m)return y(d);if(b)return clearTimeout(m),m=setTimeout(k,t),w(d)}return void 0===m&&(m=setTimeout(k,t)),p}return t=i(t)||0,r(n)&&(f=!!n.leading,u=(b="maxWait"in n)?o(i(n.maxWait)||0,t):u,g="trailing"in n?!!n.trailing:g),_.cancel=function(){void 0!==m&&clearTimeout(m),h=0,l=d=s=m=void 0},_.flush=function(){return void 0===m?p:O(a())},_}},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){var r=n(41),a="object"==typeof self&&self&&self.Object===Object&&self,i=r||a||Function("return this")();e.exports=i},function(e,t,n){var r=n(28).Symbol;e.exports=r},function(e,t,n){"use strict";var r=n(0),a=n(6);function i(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 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,n,o;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}}}}])&&i(t.prototype,n),o&&i(t,o),e}();t.a=o},function(e,t,n){"use strict";var r=n(1),a=n(14);function i(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 o(e,t){return e<=t.min||e>t.max}function c(e,t){return e<=t.minWidth||e>t.pixelWidth}t.a=function(e,t){var n=Object(a.a)(e).length,l=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);l=document.getElementById("rank-math-width-tester").offsetWidth,m.outerHTML=""}return{left:i(n,l,t),isInvalid:o(n,t),isInvalidWidth:!!s&&c(l,t),count:n+" / "+t.max,pixelWidth:s?l+"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){var r=n(28);e.exports=function(){return r.Date.now()}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(42))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(44),a=n(27),i=n(46),o=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,l=/^0o[0-7]+$/i,s=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(a(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=a(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=c.test(e);return n||l.test(e)?s(e.slice(2),n?2:8):o.test(e)?NaN:+e}},function(e,t,n){var r=n(45),a=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(a,""):e}},function(e,t){var n=/\s/;e.exports=function(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t}},function(e,t,n){var r=n(47),a=n(50);e.exports=function(e){return"symbol"==typeof e||a(e)&&"[object Symbol]"==r(e)}},function(e,t,n){var r=n(29),a=n(48),i=n(49),o=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?a(e):i(e)}},function(e,t,n){var r=n(29),a=Object.prototype,i=a.hasOwnProperty,o=a.toString,c=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,c),n=e[c];try{e[c]=void 0;var r=!0}catch(e){}var a=o.call(e);return r&&(t?e[c]=n:delete e[c]),a}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},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=c(n(38)),i=c(n(57)),o=c(n(60));function c(e){return e&&e.__esModule?e:{default:e}}var l=void 0;function s(e,t){var n,o,c,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> "+l);if("componentClose"===p.type)throw new Error("Missing opening component token: `"+p.value+"`");if("componentOpen"===p.type){n=t[p.value],c=m;break}f.push(t[p.value])}else f.push(p.value);return n&&(u=function(e,t){var n,r,a=t[e],i=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===a.value){if("componentOpen"===n.type){i++;continue}if("componentClose"===n.type){if(0===i)return r;i--}}throw new Error("Missing closing component token `"+a.value+"`")}(c,e),d=s(e.slice(c+1,u),t),o=a.default.cloneElement(n,{},d),f.push(o),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,i.default)(b))}t.default=function(e){var t=e.mixedString,n=e.components,a=e.throwErrors;if(l=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 i=(0,o.default)(t);try{return s(i,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),i=n(16),o=n.n(i),c=n(11),l=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,i,l=f(p);function p(){var e;return m(this,p),(e=l.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=o()({path:Object(c.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),i&&d(t,i),p}(l.Component);t.a=y},,function(e,t,n){"use strict";var r=n(0),a=n(4),i=n(6),o=n(5),c=n(10),l=n.n(c),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={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[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,i=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},i),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)}(i,e);var t,n,r,a=g(i);function i(){var e;h(this,i),(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=i,(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,i=n.className,o=n.instanceId,c=n.orientation,u=void 0===c?"horizontal":c,m=n.tabs,h=Object(s.find)(m,{name:t}),f=o+"-"+h.name,b=m.slice(4);return wp.element.createElement("div",{className:i},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:l()("components-tab-panel__tabs-item",n.className,d({},a,n.name===t)),tabId:o+"-"+n.name,"aria-controls":o+"-"+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:l()("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:l()("components-tab-panel__tabs-item",n.className,d({},a,n.name===t)),tabId:o+"-"+n.name,"aria-controls":o+"-"+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),i}(o.Component),j=Object(u.withInstanceId)(_),E=n(31),T=function(e){var t=Object(E.a)(e.source,e),n=t.pixelWidth?" (".concat(t.pixelWidth,")"):"";return wp.element.createElement("span",{className:l()("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(34),I=n(51),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 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"!==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&&N(e,t)}(c,e);var t,n,a,i=A(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=i.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=c,(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(o.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 …","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)}))})}}])&&x(t.prototype,n),a&&x(t,a),c}(o.Component),H=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+"%")}})))})),z=n(8),L=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(z.Helpers.sanitizeText(e))},updatePermalinkSanitize:function(e){rankMathEditor.updatePermalinkSanitize(z.Helpers.sanitizeText(e))}}})))((function(e){var t=e.permalink,n=e.serpPermalink,a=e.updatePermalink,i=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(L.safeDecodeURIComponent)(n),min:5,max:75}),wp.element.createElement(p.TextControl,{id:"rank-math-editor-permalink",value:rankMath.is_front_page?"/":Object(L.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){i(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=l()("button button-secondary button-small",{active:"desktop"===t}),a=l()("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(36),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 i=Object(s.get)(n,"bestRating",5);return wp.element.createElement("div",{className:"rank-math-rating-preview"},wp.element.createElement("div",{className:"serp-ratings"},q(i,"filled"),function(e,t,n){return e*=100/n,wp.element.createElement("div",{className:"serp-result",style:{width:e+"%"}},q(n,"filled"))}(a,0,i)),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 i=Object(s.get)(n,"bestRating",5);return wp.element.createElement("div",{className:"rank-math-rating-preview"},wp.element.createElement("div",{className:"serp-ratings"},Z(i,"filled"),function(e,t,n){return e*=100/n,wp.element.createElement("div",{className:"serp-result",style:{width:e+"%"}},Z(n,"filled"))}(a,0,i)),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,i=e.description,o=e.previewType,c=void 0===o?"desktop":o,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=l()("serp-preview",(Q(t={"expanded-preview":""!==c},"".concat(c,"-preview"),""!==c&&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,z.Helpers.sanitizeText(Object(L.safeDecodeURIComponent)(a)),75,/-? +/)}})),wp.element.createElement("div",{className:"group"},wp.element.createElement("h5",{className:"serp-title",dangerouslySetInnerHTML:{__html:Object(Y.a)(u,z.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,z.Helpers.sanitizeText(i),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(H,null),wp.element.createElement(B,null),wp.element.createElement(K,null))})),te=n(9),ne=function(e){var t=l()("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(o.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(o.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 ie(){var e=rankMath.overlayImages,t=[];return Object.keys(e).forEach((function(n){t.push({label:e[n].name,value:n})})),t}function oe(){return(oe=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 ce=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(o.Fragment,null,wp.element.createElement(ne,oe({},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:ie(),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"))))))})),le=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(o.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(o.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(o.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(o.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(o.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(o.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:ie(),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(le,null))})),me=function(){return wp.element.createElement(o.Fragment,null,wp.element.createElement(p.TabPanel,{className:"rank-math-editor-social",activeClass:"is-active",tabs:[{name:"facebook",title:wp.element.createElement(o.Fragment,null,wp.element.createElement(p.Dashicon,{icon:"facebook-alt"}),Object(r.__)("Facebook","rank-math")),view:ce,className:"button-facebook"},{name:"twitter",title:wp.element.createElement(o.Fragment,null,wp.element.createElement(p.Dashicon,{icon:"twitter"}),Object(r.__)("Twitter","rank-math")),view:pe,className:"button-twitter"}]},(function(e){return Object(o.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)}(c,e);var t,n,a,i=we(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=i.call(this))._handleRef=e._handleRef.bind(ve(e)),e}return t=c,(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(o.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),c}(o.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,i=e.toggleEditor,c=[{name:"general",title:wp.element.createElement(o.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(o.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&&c.push({name:"review",className:"review-tab",title:wp.element.createElement(o.Fragment,null,wp.element.createElement("i",{className:"rm-icon rm-icon-heart-filled"})),view:Oe}),wp.element.createElement(o.Fragment,null,wp.element.createElement(p.Button,{isPrimary:!0,className:"rank-math-edit-snippet",onClick:i},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:i,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:c},(function(e){return Object(o.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,i=l()("rank-math-tooltip",t);return wp.element.createElement("span",{className:i},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(33);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 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"!==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 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&&De(e,t)}(c,e);var t,n,a,i=xe(c);function c(){return Pe(this,c),i.apply(this,arguments)}return t=c,(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(o.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],i=l()("seo-check-"+e,{"test-ok":a.hasScore(),"test-fail":!a.hasScore()});return a.hasScore()&&["contentHasAssets","lengthContent","keywordDensity"].includes(e)&&(i+=" "+Object(Se.a)(a.getScore(),a.getMaxScore())),!1===a.hasScore()&&(t.errors+=1),wp.element.createElement("li",{key:e,className:i},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),c}(o.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(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")))})),He=n(32),ze=n.n(He);function Le(e){return(Le="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"!==Le(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)}(i,e);var t,n,r,a=Ve(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=a.call(this,e))._handleRef=t._handleRef.bind(Ye(t)),t}return t=i,(n=[{key:"componentDidMount",value:function(){var e=this;this.tagify=new ze.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),i}(o.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)}(c,e);var t,n,a,i=Xe(c);function c(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,c),(t=i.call(this)).state={},t.request=null,t.hasAdded=!1,t.clickCount=0,t.singleClickTimer=null,t.tagifyField=Object(o.createRef)(),t.keywords=n,t.hideDropdown=t.hideDropdown.bind(tt(t)),window.rankMathEditor.focusKeywordField=tt(t),t}return t=c,(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(z.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),c}(o.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),it=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(o.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})),ot=n(23),ct=Object(a.withDispatch)((function(e){return{toggleEditor:function(){e("rank-math").toggleSnippetEditor(!0)}}}))((function(e){var t=e.toggleEditor;return wp.element.createElement(o.Fragment,null,wp.element.createElement(p.PanelBody,{initialOpen:!0},wp.element.createElement(X,{onClick:t}),wp.element.createElement(je,null),wp.element.createElement(ot.a.Slot,null,(function(e){return e.length>0?e:[]}))),wp.element.createElement(it,null),rankMath.canUser.analysis&&wp.element.createElement(Me,null))})),lt=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=lt(n,t,r),"index"===t&&(n=lt(n,"noindex",!r)),"noindex"===t&&(n=lt(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(o.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(o.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(o.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(o.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(o.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(o.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(o.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,i=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&&(i=n["max-video-preview"]),{meta:t,isSnippet:r,isImage:a,isVideo:i,maxSnippet:r?n["max-snippet"]:-1,maxImage:n["max-image-preview"],maxVideo:i?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(o.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(o.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(o.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(o.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=n(26),Et=n.n(jt),Tt={init:function(){this.cacheProps(),this.initVars(),this.bindEvents()},cacheProps:function(){this.root=document.documentElement,this.$wpAdminbar=he()("#wpadminbar")},initVars:function(){this.$wpAdminbar.length&&this.setWpAdminbarHeight.call(this)},bindEvents:function(){window.addEventListener("resize",Et()(this.onWindowResize.bind(this)))},onWindowResize:function(){this.$wpAdminbar.length&&this.setWpAdminbarHeight.call(this)},setWpAdminbarHeight:function(){this.root.style.setProperty("--rankmath-wp-adminbar-height",this.$wpAdminbar.outerHeight()+"px")}};he()((function(){Tt.init()}));var St=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(o.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:ct,className:"rank-math-general-tab"}),rankMath.canUser.advanced&&e.push({name:"advanced",title:wp.element.createElement(o.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(o.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(i.applyFilters)("rank_math_sidebar_tabs",e)),onSelect:St},(function(e){return wp.element.createElement("div",{className:"rank-math-tab-content-"+e.name},Object(o.createElement)(e.view))}));var e}},function(e,t,n){"use strict";var r=n(8),a=n(6),i=n(17),o=n(1),c=n(0),l=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:c,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(l.dispatch)("rank-math").refreshResults()}},{key:"sanitizeData",value:function(e,t){return"schemas"===t||Object(o.isObject)(e)||Object(o.isEmpty)(e)?e:r.Helpers.sanitizeAppData(e)}},{key:"getPaper",value:function(e){var t=Object(i.a)().getState(),n=this.dataCollector.getData(),c=new r.Paper("",{locale:rankMath.localeFull});return c.setTitle(t.appUi.serpTitle),c.setPermalink(n.slug),c.setDescription(t.appUi.serpDescription),c.setUrl(n.permalink),c.setText(Object(a.applyFilters)("rank_math_content",n.content)),c.setKeyword(e),Object(o.isUndefined)(n.featuredImage)||(c.setThumbnail(n.featuredImage.source_url),c.setThumbnailAltText(r.Helpers.removeDiacritics(n.featuredImage.alt_text))),c}},{key:"registerRefresh",value:function(){var e=this;this.refresh=Object(o.debounce)((function(t){var n=Object(i.a)().getState();if(!1!==n.appUi.isLoaded){var o=n.appData.keywords.split(","),c=[];Object(a.doAction)("rank_math_"+t+"_refresh"),o.map((function(t,n){var a=e.getPaper(r.Helpers.removeDiacritics(t)),i=0===n?rankMath.assessor.researchesTests:e.getSecondaryKeywordTests();c.push(e.analyzer.analyzeSome(i,a).then((function(e){rankMathEditor.resultManager.update(a.getKeyword(),e,0===n),0===n&&Object(l.dispatch)("rank-math").updateAnalysisScore(rankMathEditor.resultManager.getScore(a.getKeyword()))}))),Promise.all(c).then((function(){Object(l.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(i.a)().getState().appData.keywords;return r.Helpers.removeDiacritics(e.split(",")[0])}},{key:"getSelectedKeyword",value:function(){var e=Object(i.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(30);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,o;return t=e,(n=[{key:"setup",value:function(e){Object(i.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),o&&m(t,o),e}();t.a=d},function(e,t){e.exports=wp.editPost},function(e,t,n){"use strict";var r=n(38),a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,i=n(39),o=n(58),c=n(59),l="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 i,c=typeof e;if("undefined"!==c&&"boolean"!==c||(e=null),null===e||"string"===c||"number"===c||"object"===c&&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(i=e[d],m+s(i,d),n,r);else{var h=function(e){var t=e&&(l&&e[l]||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(i=f.value,m+s(i,g++),n,r)}else if("object"===c){0;var w=""+e;o(!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;o(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,o,c=e.result,l=e.keyPrefix,s=e.func,u=e.context,p=s.call(u,t,e.count++);Array.isArray(p)?v(p,c,n,i.thatReturnsArgument):null!=p&&(r.isValidElement(p)&&(a=p,o=l+(!p.key||t&&t.key===p.key?"":m(p.key)+"/")+n,p=r.cloneElement(a,{key:o},void 0!==a.props?a.props.children:void 0)),c.push(p))}function v(e,t,n,r,a){var i="";null!=n&&(i=m(n)+"/");var o=w.getPooled(t,i,r,a);!function(e,t,n){null==e||u(e,"",t,n)}(e,y,o),w.release(o)}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 i=a.instancePool.pop();return a.call(i,e,t,n,r),i}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 c(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return c(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;o(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,i.thatReturnsArgument);return t}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,a,i,o,c){if(!e){var l;if(void 0===t)l=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,i,o,c],u=0;(l=new Error(t.replace(/%s/g,(function(){return s[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},function(e,t,n){"use strict";var r=n(39);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(38);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),i=n(0),o=n(4),c=n(5),l=n(61),s=n(6),u=n(56),p=n(54),m=n(55),d=n(1),h=n(16),f=n.n(h),b=n(11),g=n(9),w=n(35);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(o.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(o.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(o.select)("core/editor")),this._coreEditorSelect.getEditedPostAttribute(e)):""}},{key:"subscribeToGutenberg",value:function(){this.subscriber=Object(d.debounce)(this.refresh,500),Object(o.subscribe)(this.subscriber),Object(o.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(o.select)("core/editor");if(!e.isAutosavingPost()&&e.isSavingPost()){var t=Object(o.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(o.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(o.select)("rank-math").getSchemas();if(!Object(d.isEmpty)(t)&&Object(o.select)("rank-math").hasSchemaUpdated()){this.isSavingSchemas=!0;var n=Object(o.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),i=v({},n);Object(d.map)(r,(function(e,t){a["schema-"+e]=v({},a[t]),i["schema-"+e]=v({},i[t]),delete a[t],delete i[t]})),Object(o.dispatch)("rank-math").updateSchemas(a),Object(o.dispatch)("rank-math").updateEditSchemas(i)}setTimeout((function(){Object(o.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(o.select)("rank-math").getRedirectionItem();if(!Object(d.isEmpty)(t)){this.isSavingRedirection=!0,t.objectID=this.getPostID(),t.redirectionSources=this.getPermalink();var n=Object(o.dispatch)("rank-math"),r=Object(o.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(o.select)("core/editor").isEditedPostNew()&&!1!==this.oldSlug){var e=this.getSlug();if(this.oldSlug!==e){var t=Object(o.dispatch)("core/notices");this.oldSlug=e,t.createSuccessNotice(Object(i.__)("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(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(){""!==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(o.dispatch)("rank-math").updateSerpTitle(Object(o.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(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}}])&&O(t.prototype,n),r&&O(t,r),e}(),j=n(10),E=n.n(j),T=n(62),S=n.n(T),I=n(36),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(o.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))})),x=n(3),N=Object(o.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(c.Fragment,null,wp.element.createElement("p",null,Object(i.__)("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(x.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(x.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(x.Dashicon,{icon:"email"})))))}));function A(e){return(A="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 R(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=H(e);if(t){var a=H(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"!==A(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 H(e){return(H=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&&M(e,t)}(n,e);var t=U(n);function n(){return R(this,n),t.apply(this,arguments)}return n}(n(52).a),L=Object(o.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()}}))(z),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(c.Fragment,null,wp.element.createElement(t,e),wp.element.createElement(x.PanelRow,{className:"rank-math-primary-term-picker"},wp.element.createElement(L,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 $(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 Z(e,t,n){return(Z="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),Z(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(l.registerPlugin)("rank-math",{icon:wp.element.createElement(D,null),render:function(){return wp.element.createElement(c.Fragment,null,wp.element.createElement(u.PluginSidebarMoreMenuItem,{target:"seo-by-rank-math-sidebar",icon:wp.element.createElement(D,null)},i.__("Rank Math","rank-math")),wp.element.createElement(u.PluginSidebar,{name:"seo-by-rank-math-sidebar",title:i.__("Rank Math","rank-math"),className:"rank-math-sidebar-panel"},wp.element.createElement(p.a,null)))}})}},{key:"registerPostPublish",value:function(){Object(l.registerPlugin)("rank-math-post-publish",{render:function(){return wp.element.createElement(u.PluginPostPublishPanel,{initialOpen:!0,title:i.__("Rank Math","rank-math"),className:"rank-math-post-publish",icon:wp.element.createElement(c.Fragment,null)},wp.element.createElement(N,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(o.dispatch)("core/editor").editPost({slug:e})}},{key:"updatePermalinkSanitize",value:function(e){e=this.assessor.getResearch("slugify")(e),Object(o.dispatch)("core/editor").editPost({slug:e})}}])&&$(t.prototype,n),r&&$(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 o}));var r=n(2),a=n.n(r);function i(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 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,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)}}])&&i(t.prototype,n),r&&i(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 i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)&&r.length){var o=a.apply(null,r);o&&e.push(o)}else if("object"===i)for(var c in r)n.call(r,c)&&r[c]&&e.push(c)}}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 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 H})),n.d(r,"updateSnippetPreviewType",(function(){return z})),n.d(r,"updateTwitterUseFacebook",(function(){return L})),n.d(r,"updateTwitterCardType",(function(){return G})),n.d(r,"updateTwitterTitle",(function(){return B})),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 ie})),n.d(r,"updateTwitterAppIpadUrl",(function(){return oe})),n.d(r,"updateTwitterAppGoogleplayID",(function(){return ce})),n.d(r,"updateTwitterAppGoogleplayName",(function(){return le})),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 xe})),n.d(r,"saveTemplate",(function(){return Ne}));var a={};n.r(a),n.d(a,"appData",(function(){return ze})),n.d(a,"appUi",(function(){return Ve}));var i={};n.r(i),n.d(i,"getAppData",(function(){return We})),n.d(i,"getDirtyMetadata",(function(){return Ye})),n.d(i,"getAnalysisScore",(function(){return qe})),n.d(i,"getKeywords",(function(){return $e})),n.d(i,"getPillarContent",(function(){return Ze})),n.d(i,"getRobots",(function(){return Je})),n.d(i,"getAdvancedRobots",(function(){return Qe})),n.d(i,"getCanonicalUrl",(function(){return Xe})),n.d(i,"getBreadcrumbTitle",(function(){return et})),n.d(i,"getRichSnippets",(function(){return tt})),n.d(i,"getShowScoreFrontend",(function(){return nt})),n.d(i,"isLoaded",(function(){return rt})),n.d(i,"getSelectedKeyword",(function(){return at})),n.d(i,"isRefreshing",(function(){return it})),n.d(i,"isPro",(function(){return ot})),n.d(i,"getFacebookTitle",(function(){return ct})),n.d(i,"getFacebookDescription",(function(){return lt})),n.d(i,"getFacebookAuthor",(function(){return st})),n.d(i,"getFacebookImageID",(function(){return ut})),n.d(i,"getFacebookImage",(function(){return pt})),n.d(i,"getFacebookHasOverlay",(function(){return mt})),n.d(i,"getFacebookImageOverlay",(function(){return dt})),n.d(i,"getPostID",(function(){return ht})),n.d(i,"getTitle",(function(){return ft})),n.d(i,"getPermalink",(function(){return bt})),n.d(i,"getDescription",(function(){return gt})),n.d(i,"getFeaturedImage",(function(){return wt})),n.d(i,"getFeaturedImageHtml",(function(){return yt})),n.d(i,"getPrimaryTermID",(function(){return vt})),n.d(i,"getRedirectionID",(function(){return kt})),n.d(i,"getRedirectionType",(function(){return Ot})),n.d(i,"getRedirectionUrl",(function(){return _t})),n.d(i,"getRedirectionItem",(function(){return jt})),n.d(i,"hasRedirect",(function(){return Et})),n.d(i,"getSerpTitle",(function(){return St})),n.d(i,"getSerpDescription",(function(){return It})),n.d(i,"isSnippetEditorOpen",(function(){return Pt})),n.d(i,"getSnippetPreviewType",(function(){return Ct})),n.d(i,"isSchemaEditorOpen",(function(){return Dt})),n.d(i,"isSchemaTemplatesOpen",(function(){return xt})),n.d(i,"hasSchemaUpdated",(function(){return Nt})),n.d(i,"getSchemas",(function(){return At})),n.d(i,"getEditSchemas",(function(){return Rt})),n.d(i,"getEditingSchema",(function(){return Mt})),n.d(i,"getPreviewSchema",(function(){return Ut})),n.d(i,"getEditorTab",(function(){return Ft})),n.d(i,"getTemplateTab",(function(){return Ht})),n.d(i,"getTwitterUseFacebook",(function(){return zt})),n.d(i,"getTwitterCardType",(function(){return Lt})),n.d(i,"getTwitterTitle",(function(){return Gt})),n.d(i,"getTwitterDescription",(function(){return Bt})),n.d(i,"getTwitterAuthor",(function(){return Kt})),n.d(i,"getTwitterImageID",(function(){return Vt})),n.d(i,"getTwitterImage",(function(){return Wt})),n.d(i,"getTwitterHasOverlay",(function(){return Yt})),n.d(i,"getTwitterImageOverlay",(function(){return qt})),n.d(i,"getTwitterAppDescription",(function(){return $t})),n.d(i,"getTwitterAppIphoneID",(function(){return Zt})),n.d(i,"getTwitterAppIphoneName",(function(){return Jt})),n.d(i,"getTwitterAppIphoneUrl",(function(){return Qt})),n.d(i,"getTwitterAppIpadID",(function(){return Xt})),n.d(i,"getTwitterAppIpadName",(function(){return en})),n.d(i,"getTwitterAppIpadUrl",(function(){return tn})),n.d(i,"getTwitterAppGoogleplayID",(function(){return nn})),n.d(i,"getTwitterAppGoogleplayName",(function(){return rn})),n.d(i,"getTwitterAppGoogleplayUrl",(function(){return an})),n.d(i,"getTwitterAppCountry",(function(){return on})),n.d(i,"getTwitterPlayerUrl",(function(){return cn})),n.d(i,"getTwitterPlayerSize",(function(){return ln})),n.d(i,"getTwitterPlayerStream",(function(){return sn})),n.d(i,"getTwitterPlayerStreamCtype",(function(){return un}));var o=n(4),c=n(9),l=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(l.applyFilters)("rank_math_sanitize_data",t,e,n),null!==r&&(r=Object(l.applyFilters)("rank_math_sanitize_meta_value",r,e,n)),r=null===r?t:r,Object(l.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(l.doAction)("rank_math_update_app_ui",e,t),{type:"RANK_MATH_APP_UI",key:e,value:t}}function p(e){return c.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 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=c.a.swap(""!==e?e:rankMath.assessor.serpData.titleTemplate),rankMathEditor.refresh("title"),u("serpTitle",e)}function F(e){return e=c.a.swap(Object(M.a)(e)),rankMathEditor.refresh("description"),u("serpDescription",e)}function H(e){return u("isSnippetEditorOpen",e)}function z(e){return u("snippetPreviewType",e)}function L(e){return s("twitterUseFacebook",e,"rank_math_twitter_use_facebook",!0===e?"on":"off")}function G(e){return s("twitterCardType",e,"rank_math_twitter_card_type")}function B(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 ie(e){return s("twitterAppIpadName",e,"rank_math_twitter_app_ipad_name")}function oe(e){return s("twitterAppIpadUrl",e,"rank_math_twitter_app_ipad_url")}function ce(e){return s("twitterAppGoogleplayID",e,"rank_math_twitter_app_googleplay_id")}function le(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(o.select)("rank-math").getEditSchemas());return n[e]=t,u("editSchemas",n)}function De(e,t){var n=ve({},Object(o.select)("rank-math").getSchemas());return n[e]=t,s("schemas",n)}function xe(e){var t=ve({},Object(o.select)("rank-math").getSchemas());return delete t[e],Object(l.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(/&/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,He={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 ze(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:He,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 Le(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 Ge(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Le(Object(n),!0).forEach((function(t){Be(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Le(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 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?Ge(Ge({},e),{},Be({},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 it(e){return e.appUi.refreshResults}function ot(e){return e.appUi.isPro}function ct(e){return e.appData.facebookTitle}function lt(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 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 Ht(e){return e.appUi.templateTab}function zt(e){return e.appData.twitterUseFacebook}function Lt(e){return e.appData.twitterCardType}function Gt(e){return e.appData.twitterTitle}function Bt(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 cn(e){return e.appData.twitterPlayerUrl}function ln(e){return e.appData.twitterPlayerSize}function sn(e){return e.appData.twitterPlayerStream}function un(e){return e.appData.twitterPlayerStreamCtype}var pn=Object(o.registerStore)("rank-math",{reducer:Object(o.combineReducers)(a),selectors:i,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"),i=a.Fill,o=a.Slot,c=function(e){var t=e.children,n=e.className;return wp.element.createElement(i,null,wp.element.createElement("div",{className:n},t))};c.Slot=o,t.a=c},function(e,t,n){"use strict";var r=n(3),a=Object(r.createSlotFill)("RankMathAfterEditor"),i=a.Fill,o=a.Slot,c=function(e){var t=e.children,n=e.className;return wp.element.createElement(i,null,wp.element.createElement(r.PanelRow,{className:n},t))};c.Slot=o,t.a=c},function(e,t,n){"use strict";var r=n(3),a=Object(r.createSlotFill)("RankMathAdvancedTab"),i=a.Fill,o=a.Slot,c=function(e){var t=e.children,n=e.className;return wp.element.createElement(i,null,wp.element.createElement(r.PanelRow,{className:n},t))};c.Slot=o,t.a=c},function(e,t,n){"use strict";n(2);var r=n(8),a=n(1),i=n(6),o=n(9),c=n(14),l=function(e,t){return e=(e=r.Helpers.cleanText(e)).replace(/\r?\n|\r/g," "),t?Object(a.truncate)(e,{length:t,separator:" "}):e};t.a=function(e){var t=rankMathEditor.assessor.dataCollector.getData(),n=t.excerpt,s=t.content?function(e){if(Object(a.isEmpty)(e))return"";e=e.replace(/\[caption[^\]]*\](.*)\[\/caption\]/g,"");var t=Object(a.filter)(r.Helpers.matchParagraphs(e,!0,!0),(function(e){return""!==e.trim()}));if(!t.length)return"";var n=rankMathEditor.getPrimaryKeyword();if(""!==n){var i=Object(a.filter)(t,(function(e){return Object(a.includes)(e.toLowerCase(),n.toLowerCase())}));if(0<i.length)return l(i[0],160)}return l(t[0],160)}(t.content.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,"")):"",u=Object(a.isUndefined)(n)||Object(a.isEmpty)(n)?s:n;if(o.a.setVariable("excerpt",u),o.a.setVariable("seo_description",u),""!==(e=Object(c.a)(Object(i.applyFilters)("rankMath/description",e))))return r.Helpers.cleanText(e);if(!Object(a.isUndefined)(n)&&!Object(a.isEmpty)(n))return r.Helpers.cleanText(n);var p=rankMath.assessor.serpData.descriptionTemplate;return Object(a.isUndefined)(p)||""===p?s:r.Helpers.cleanText(p)}},function(e,t,n){var r=n(27),a=n(40),i=n(43),o=Math.max,c=Math.min;e.exports=function(e,t,n){var l,s,u,p,m,d,h=0,f=!1,b=!1,g=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function w(t){var n=l,r=s;return l=s=void 0,h=t,p=e.apply(r,n)}function y(e){return h=e,m=setTimeout(k,t),f?w(e):p}function v(e){var n=e-d;return void 0===d||n>=t||n<0||b&&e-h>=u}function k(){var e=a();if(v(e))return O(e);m=setTimeout(k,function(e){var n=t-(e-d);return b?c(n,u-(e-h)):n}(e))}function O(e){return m=void 0,g&&l?w(e):(l=s=void 0,p)}function _(){var e=a(),n=v(e);if(l=arguments,s=this,d=e,n){if(void 0===m)return y(d);if(b)return clearTimeout(m),m=setTimeout(k,t),w(d)}return void 0===m&&(m=setTimeout(k,t)),p}return t=i(t)||0,r(n)&&(f=!!n.leading,u=(b="maxWait"in n)?o(i(n.maxWait)||0,t):u,g="trailing"in n?!!n.trailing:g),_.cancel=function(){void 0!==m&&clearTimeout(m),h=0,l=d=s=m=void 0},_.flush=function(){return void 0===m?p:O(a())},_}},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){var r=n(41),a="object"==typeof self&&self&&self.Object===Object&&self,i=r||a||Function("return this")();e.exports=i},function(e,t,n){var r=n(28).Symbol;e.exports=r},function(e,t,n){"use strict";var r=n(0),a=n(6);function i(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 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,n,o;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}}}}])&&i(t.prototype,n),o&&i(t,o),e}();t.a=o},function(e,t,n){"use strict";var r=n(1),a=n(14);function i(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 o(e,t){return e<=t.min||e>t.max}function c(e,t){return e<=t.minWidth||e>t.pixelWidth}t.a=function(e,t){var n=Object(a.a)(e).length,l=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);l=document.getElementById("rank-math-width-tester").offsetWidth,m.outerHTML=""}return{left:i(n,l,t),isInvalid:o(n,t),isInvalidWidth:!!s&&c(l,t),count:n+" / "+t.max,pixelWidth:s?l+"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){var r=n(28);e.exports=function(){return r.Date.now()}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(42))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(44),a=n(27),i=n(46),o=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,l=/^0o[0-7]+$/i,s=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(a(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=a(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=c.test(e);return n||l.test(e)?s(e.slice(2),n?2:8):o.test(e)?NaN:+e}},function(e,t,n){var r=n(45),a=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(a,""):e}},function(e,t){var n=/\s/;e.exports=function(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t}},function(e,t,n){var r=n(47),a=n(50);e.exports=function(e){return"symbol"==typeof e||a(e)&&"[object Symbol]"==r(e)}},function(e,t,n){var r=n(29),a=n(48),i=n(49),o=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?a(e):i(e)}},function(e,t,n){var r=n(29),a=Object.prototype,i=a.hasOwnProperty,o=a.toString,c=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,c),n=e[c];try{e[c]=void 0;var r=!0}catch(e){}var a=o.call(e);return r&&(t?e[c]=n:delete e[c]),a}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},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=c(n(38)),i=c(n(57)),o=c(n(60));function c(e){return e&&e.__esModule?e:{default:e}}var l=void 0;function s(e,t){var n,o,c,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> "+l);if("componentClose"===p.type)throw new Error("Missing opening component token: `"+p.value+"`");if("componentOpen"===p.type){n=t[p.value],c=m;break}f.push(t[p.value])}else f.push(p.value);return n&&(u=function(e,t){var n,r,a=t[e],i=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===a.value){if("componentOpen"===n.type){i++;continue}if("componentClose"===n.type){if(0===i)return r;i--}}throw new Error("Missing closing component token `"+a.value+"`")}(c,e),d=s(e.slice(c+1,u),t),o=a.default.cloneElement(n,{},d),f.push(o),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,i.default)(b))}t.default=function(e){var t=e.mixedString,n=e.components,a=e.throwErrors;if(l=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 i=(0,o.default)(t);try{return s(i,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),i=n(16),o=n.n(i),c=n(11),l=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,i,l=f(p);function p(){var e;return m(this,p),(e=l.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=o()({path:Object(c.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),i&&d(t,i),p}(l.Component);t.a=y},,function(e,t,n){"use strict";var r=n(0),a=n(4),i=n(6),o=n(5),c=n(10),l=n.n(c),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={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[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,i=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},i),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)}(i,e);var t,n,r,a=g(i);function i(){var e;h(this,i),(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=i,(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,i=n.className,o=n.instanceId,c=n.orientation,u=void 0===c?"horizontal":c,m=n.tabs,h=Object(s.find)(m,{name:t}),f=o+"-"+h.name,b=m.slice(4);return wp.element.createElement("div",{className:i},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:l()("components-tab-panel__tabs-item",n.className,d({},a,n.name===t)),tabId:o+"-"+n.name,"aria-controls":o+"-"+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:l()("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:l()("components-tab-panel__tabs-item",n.className,d({},a,n.name===t)),tabId:o+"-"+n.name,"aria-controls":o+"-"+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),i}(o.Component),j=Object(u.withInstanceId)(_),E=n(31),T=function(e){var t=Object(E.a)(e.source,e),n=t.pixelWidth?" (".concat(t.pixelWidth,")"):"";return wp.element.createElement("span",{className:l()("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(34),I=n(51),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 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"!==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&&N(e,t)}(c,e);var t,n,a,i=A(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=i.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=c,(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(o.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 …","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)}))})}}])&&x(t.prototype,n),a&&x(t,a),c}(o.Component),H=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+"%")}})))})),z=n(8),L=n(11),G=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(z.Helpers.sanitizeText(e))},updatePermalinkSanitize:function(e){rankMathEditor.updatePermalinkSanitize(z.Helpers.sanitizeText(e))}}})))((function(e){var t=e.permalink,n=e.serpPermalink,a=e.updatePermalink,i=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(L.safeDecodeURIComponent)(n),min:5,max:75}),wp.element.createElement(p.TextControl,{id:"rank-math-editor-permalink",value:rankMath.is_front_page?"/":Object(L.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){i(e.target.value)}}))})),B=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(B.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=l()("button button-secondary button-small",{active:"desktop"===t}),a=l()("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(36),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 i=Object(s.get)(n,"bestRating",5);return wp.element.createElement("div",{className:"rank-math-rating-preview"},wp.element.createElement("div",{className:"serp-ratings"},q(i,"filled"),function(e,t,n){return e*=100/n,wp.element.createElement("div",{className:"serp-result",style:{width:e+"%"}},q(n,"filled"))}(a,0,i)),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 i=Object(s.get)(n,"bestRating",5);return wp.element.createElement("div",{className:"rank-math-rating-preview"},wp.element.createElement("div",{className:"serp-ratings"},Z(i,"filled"),function(e,t,n){return e*=100/n,wp.element.createElement("div",{className:"serp-result",style:{width:e+"%"}},Z(n,"filled"))}(a,0,i)),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,i=e.description,o=e.previewType,c=void 0===o?"desktop":o,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=l()("serp-preview",(Q(t={"expanded-preview":""!==c},"".concat(c,"-preview"),""!==c&&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,z.Helpers.sanitizeText(Object(L.safeDecodeURIComponent)(a)),75,/-? +/)}})),wp.element.createElement("div",{className:"group"},wp.element.createElement("h5",{className:"serp-title",dangerouslySetInnerHTML:{__html:Object(Y.a)(u,z.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,z.Helpers.sanitizeText(i),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(H,null),wp.element.createElement(G,null),wp.element.createElement(K,null))})),te=n(9),ne=function(e){var t=l()("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(o.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(o.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 ie(){var e=rankMath.overlayImages,t=[];return Object.keys(e).forEach((function(n){t.push({label:e[n].name,value:n})})),t}function oe(){return(oe=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 ce=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(o.Fragment,null,wp.element.createElement(ne,oe({},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/?utm_source=Plugin&utm_medium=Gutenberg%20Social%20Tab&utm_campaign=WP",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:ie(),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"))))))})),le=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(o.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(o.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(o.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(o.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(o.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(o.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:ie(),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(le,null))})),me=function(){return wp.element.createElement(o.Fragment,null,wp.element.createElement(p.TabPanel,{className:"rank-math-editor-social",activeClass:"is-active",tabs:[{name:"facebook",title:wp.element.createElement(o.Fragment,null,wp.element.createElement(p.Dashicon,{icon:"facebook-alt"}),Object(r.__)("Facebook","rank-math")),view:ce,className:"button-facebook"},{name:"twitter",title:wp.element.createElement(o.Fragment,null,wp.element.createElement(p.Dashicon,{icon:"twitter"}),Object(r.__)("Twitter","rank-math")),view:pe,className:"button-twitter"}]},(function(e){return Object(o.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)}(c,e);var t,n,a,i=we(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=i.call(this))._handleRef=e._handleRef.bind(ve(e)),e}return t=c,(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(o.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),c}(o.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,i=e.toggleEditor,c=[{name:"general",title:wp.element.createElement(o.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(o.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&&c.push({name:"review",className:"review-tab",title:wp.element.createElement(o.Fragment,null,wp.element.createElement("i",{className:"rm-icon rm-icon-heart-filled"})),view:Oe}),wp.element.createElement(o.Fragment,null,wp.element.createElement(p.Button,{isPrimary:!0,className:"rank-math-edit-snippet",onClick:i},Object(r.__)("Edit Snippet","rank-math")),""===a&&wp.element.createElement(_e,null),t&&wp.element.createElement(p.Modal,{title:"Preview Snippet Editor",closeButtonLabel:Object(r.__)("Close","rank-math"),shouldCloseOnClickOutside:!1,onRequestClose:i,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:c},(function(e){return Object(o.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,i=l()("rank-math-tooltip",t);return wp.element.createElement("span",{className:i},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(33);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 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"!==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 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&&De(e,t)}(c,e);var t,n,a,i=xe(c);function c(){return Pe(this,c),i.apply(this,arguments)}return t=c,(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(o.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],i=l()("seo-check-"+e,{"test-ok":a.hasScore(),"test-fail":!a.hasScore()});return a.hasScore()&&["contentHasAssets","lengthContent","keywordDensity"].includes(e)&&(i+=" "+Object(Se.a)(a.getScore(),a.getMaxScore())),!1===a.hasScore()&&(t.errors+=1),wp.element.createElement("li",{key:e,className:i},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),c}(o.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(C,{components:{link:wp.element.createElement("a",{href:"https://rankmath.com/kb/score-100-in-tests/?utm_source=Plugin&utm_medium=Gutenberg%20General%20Tab%20Score%20Notice&utm_campaign=WP",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")))})),He=n(32),ze=n.n(He);function Le(e){return(Le="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 Ge(){return(Ge=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 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 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"!==Le(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)}(i,e);var t,n,r,a=Ve(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=a.call(this,e))._handleRef=t._handleRef.bind(Ye(t)),t}return t=i,(n=[{key:"componentDidMount",value:function(){var e=this;this.tagify=new ze.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",Ge({},e,{defaultValue:this.props.initialValue})):wp.element.createElement("input",Ge({},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")}}])&&Be(t.prototype,n),r&&Be(t,r),i}(o.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)}(c,e);var t,n,a,i=Xe(c);function c(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,c),(t=i.call(this)).state={},t.request=null,t.hasAdded=!1,t.clickCount=0,t.singleClickTimer=null,t.tagifyField=Object(o.createRef)(),t.keywords=n,t.hideDropdown=t.hideDropdown.bind(tt(t)),window.rankMathEditor.focusKeywordField=tt(t),t}return t=c,(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(z.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),c}(o.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),it=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(o.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})),ot=n(23),ct=Object(a.withDispatch)((function(e){return{toggleEditor:function(){e("rank-math").toggleSnippetEditor(!0)}}}))((function(e){var t=e.toggleEditor;return wp.element.createElement(o.Fragment,null,wp.element.createElement(p.PanelBody,{initialOpen:!0},wp.element.createElement(X,{onClick:t}),wp.element.createElement(je,null),wp.element.createElement(ot.a.Slot,null,(function(e){return e.length>0?e:[]}))),wp.element.createElement(it,null),rankMath.canUser.analysis&&wp.element.createElement(Me,null))})),lt=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=lt(n,t,r),"index"===t&&(n=lt(n,"noindex",!r)),"noindex"===t&&(n=lt(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(o.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(o.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(o.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(o.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(o.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(o.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(o.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,i=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&&(i=n["max-video-preview"]),{meta:t,isSnippet:r,isImage:a,isVideo:i,maxSnippet:r?n["max-snippet"]:-1,maxImage:n["max-image-preview"],maxVideo:i?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(o.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(o.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(o.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(o.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=n(26),Et=n.n(jt),Tt={init:function(){this.cacheProps(),this.initVars(),this.bindEvents()},cacheProps:function(){this.root=document.documentElement,this.$wpAdminbar=he()("#wpadminbar")},initVars:function(){this.$wpAdminbar.length&&this.setWpAdminbarHeight.call(this)},bindEvents:function(){window.addEventListener("resize",Et()(this.onWindowResize.bind(this)))},onWindowResize:function(){this.$wpAdminbar.length&&this.setWpAdminbarHeight.call(this)},setWpAdminbarHeight:function(){this.root.style.setProperty("--rankmath-wp-adminbar-height",this.$wpAdminbar.outerHeight()+"px")}};he()((function(){Tt.init()}));var St=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(o.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:ct,className:"rank-math-general-tab"}),rankMath.canUser.advanced&&e.push({name:"advanced",title:wp.element.createElement(o.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(o.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(i.applyFilters)("rank_math_sidebar_tabs",e)),onSelect:St},(function(e){return wp.element.createElement("div",{className:"rank-math-tab-content-"+e.name},Object(o.createElement)(e.view))}));var e}},function(e,t,n){"use strict";var r=n(8),a=n(6),i=n(17),o=n(1),c=n(0),l=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:c,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(l.dispatch)("rank-math").refreshResults()}},{key:"sanitizeData",value:function(e,t){return"schemas"===t||Object(o.isObject)(e)||Object(o.isEmpty)(e)?e:r.Helpers.sanitizeAppData(e)}},{key:"getPaper",value:function(e){var t=Object(i.a)().getState(),n=this.dataCollector.getData(),c=new r.Paper("",{locale:rankMath.localeFull});return c.setTitle(t.appUi.serpTitle),c.setPermalink(n.slug),c.setDescription(t.appUi.serpDescription),c.setUrl(n.permalink),c.setText(Object(a.applyFilters)("rank_math_content",n.content)),c.setKeyword(e),Object(o.isUndefined)(n.featuredImage)||(c.setThumbnail(n.featuredImage.source_url),c.setThumbnailAltText(r.Helpers.removeDiacritics(n.featuredImage.alt_text))),c}},{key:"registerRefresh",value:function(){var e=this;this.refresh=Object(o.debounce)((function(t){var n=Object(i.a)().getState();if(!1!==n.appUi.isLoaded){var o=n.appData.keywords.split(","),c=[];Object(a.doAction)("rank_math_"+t+"_refresh"),o.map((function(t,n){var a=e.getPaper(r.Helpers.removeDiacritics(t)),i=0===n?rankMath.assessor.researchesTests:e.getSecondaryKeywordTests();c.push(e.analyzer.analyzeSome(i,a).then((function(e){rankMathEditor.resultManager.update(a.getKeyword(),e,0===n),0===n&&Object(l.dispatch)("rank-math").updateAnalysisScore(rankMathEditor.resultManager.getScore(a.getKeyword()))}))),Promise.all(c).then((function(){Object(l.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(i.a)().getState().appData.keywords;return r.Helpers.removeDiacritics(e.split(",")[0])}},{key:"getSelectedKeyword",value:function(){var e=Object(i.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(30);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,o;return t=e,(n=[{key:"setup",value:function(e){Object(i.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),o&&m(t,o),e}();t.a=d},function(e,t){e.exports=wp.editPost},function(e,t,n){"use strict";var r=n(38),a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,i=n(39),o=n(58),c=n(59),l="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 i,c=typeof e;if("undefined"!==c&&"boolean"!==c||(e=null),null===e||"string"===c||"number"===c||"object"===c&&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(i=e[d],m+s(i,d),n,r);else{var h=function(e){var t=e&&(l&&e[l]||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(i=f.value,m+s(i,g++),n,r)}else if("object"===c){0;var w=""+e;o(!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;o(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,o,c=e.result,l=e.keyPrefix,s=e.func,u=e.context,p=s.call(u,t,e.count++);Array.isArray(p)?v(p,c,n,i.thatReturnsArgument):null!=p&&(r.isValidElement(p)&&(a=p,o=l+(!p.key||t&&t.key===p.key?"":m(p.key)+"/")+n,p=r.cloneElement(a,{key:o},void 0!==a.props?a.props.children:void 0)),c.push(p))}function v(e,t,n,r,a){var i="";null!=n&&(i=m(n)+"/");var o=w.getPooled(t,i,r,a);!function(e,t,n){null==e||u(e,"",t,n)}(e,y,o),w.release(o)}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 i=a.instancePool.pop();return a.call(i,e,t,n,r),i}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 c(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return c(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;o(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,i.thatReturnsArgument);return t}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,a,i,o,c){if(!e){var l;if(void 0===t)l=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,i,o,c],u=0;(l=new Error(t.replace(/%s/g,(function(){return s[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},function(e,t,n){"use strict";var r=n(39);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(38);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),i=n(0),o=n(4),c=n(5),l=n(61),s=n(6),u=n(56),p=n(54),m=n(55),d=n(1),h=n(16),f=n.n(h),b=n(11),g=n(9),w=n(35);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(o.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(o.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(o.select)("core/editor")),this._coreEditorSelect.getEditedPostAttribute(e)):""}},{key:"subscribeToGutenberg",value:function(){this.subscriber=Object(d.debounce)(this.refresh,500),Object(o.subscribe)(this.subscriber),Object(o.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(o.select)("core/editor");if(!e.isAutosavingPost()&&e.isSavingPost()){var t=Object(o.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(o.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(o.select)("rank-math").getSchemas();if(!Object(d.isEmpty)(t)&&Object(o.select)("rank-math").hasSchemaUpdated()){this.isSavingSchemas=!0;var n=Object(o.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),i=v({},n);Object(d.map)(r,(function(e,t){a["schema-"+e]=v({},a[t]),i["schema-"+e]=v({},i[t]),delete a[t],delete i[t]})),Object(o.dispatch)("rank-math").updateSchemas(a),Object(o.dispatch)("rank-math").updateEditSchemas(i)}setTimeout((function(){Object(o.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(o.select)("rank-math").getRedirectionItem();if(!Object(d.isEmpty)(t)){this.isSavingRedirection=!0,t.objectID=this.getPostID(),t.redirectionSources=this.getPermalink();var n=Object(o.dispatch)("rank-math"),r=Object(o.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(o.select)("core/editor").isEditedPostNew()&&!1!==this.oldSlug){var e=this.getSlug();if(this.oldSlug!==e){var t=Object(o.dispatch)("core/notices");this.oldSlug=e,t.createSuccessNotice(Object(i.__)("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(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(){""!==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(o.dispatch)("rank-math").updateSerpTitle(Object(o.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(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}}])&&O(t.prototype,n),r&&O(t,r),e}(),j=n(10),E=n.n(j),T=n(62),S=n.n(T),I=n(36),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(o.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))})),x=n(3),N=Object(o.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(c.Fragment,null,wp.element.createElement("p",null,Object(i.__)("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(x.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(x.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(x.Dashicon,{icon:"email"})))))}));function A(e){return(A="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 R(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=H(e);if(t){var a=H(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"!==A(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 H(e){return(H=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&&M(e,t)}(n,e);var t=U(n);function n(){return R(this,n),t.apply(this,arguments)}return n}(n(52).a),L=Object(o.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()}}))(z),G=function(e){var t=e.TermComponent;return function(e){return!1!==rankMath.assessor.primaryTaxonomy&&e.slug===rankMath.assessor.primaryTaxonomy.name}(e)?wp.element.createElement(c.Fragment,null,wp.element.createElement(t,e),wp.element.createElement(x.PanelRow,{className:"rank-math-primary-term-picker"},wp.element.createElement(L,e))):wp.element.createElement(t,e)},B=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 $(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 Z(e,t,n){return(Z="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),Z(ee(m.prototype),"setup",this).call(this,e),this.registerSidebar(),this.registerPostPublish(),this.registerPrimaryTermSelector()}},{key:"registerSlots",value:function(){this.RankMathAfterEditor=B.a,this.RankMathAfterFocusKeyword=V.a,this.RankMathAdvancedTab=K.a,this.slots={AfterEditor:B.a,AfterFocusKeyword:V.a,AdvancedTab:K.a}}},{key:"registerSidebar",value:function(){Object(l.registerPlugin)("rank-math",{icon:wp.element.createElement(D,null),render:function(){return wp.element.createElement(c.Fragment,null,wp.element.createElement(u.PluginSidebarMoreMenuItem,{target:"seo-by-rank-math-sidebar",icon:wp.element.createElement(D,null)},i.__("Rank Math","rank-math")),wp.element.createElement(u.PluginSidebar,{name:"seo-by-rank-math-sidebar",title:i.__("Rank Math","rank-math"),className:"rank-math-sidebar-panel"},wp.element.createElement(p.a,null)))}})}},{key:"registerPostPublish",value:function(){Object(l.registerPlugin)("rank-math-post-publish",{render:function(){return wp.element.createElement(u.PluginPostPublishPanel,{initialOpen:!0,title:i.__("Rank Math","rank-math"),className:"rank-math-post-publish",icon:wp.element.createElement(c.Fragment,null)},wp.element.createElement(N,null))}})}},{key:"registerPrimaryTermSelector",value:function(){Object(s.addFilter)("editor.PostTaxonomyType","rank-math",(function(e){return function(t){return wp.element.createElement(G,Y({TermComponent:e},t))}}))}},{key:"updatePermalink",value:function(e){Object(o.dispatch)("core/editor").editPost({slug:e})}},{key:"updatePermalinkSanitize",value:function(e){e=this.assessor.getResearch("slugify")(e),Object(o.dispatch)("core/editor").editPost({slug:e})}}])&&$(t.prototype,n),r&&$(t,r),m}(m.a);a()(document).ready((function(){window.rankMathEditor=new te,window.rankMathGutenberg=window.rankMathEditor,window.rankMathEditor.setup(new _)}))}]);
|
@@ -1 +1 @@
|
|
1 |
-
!function(t){var a={};function e(n){if(a[n])return a[n].exports;var i=a[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,e),i.l=!0,i.exports}e.m=t,e.c=a,e.d=function(t,a,n){e.o(t,a)||Object.defineProperty(t,a,{enumerable:!0,get:n})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,a){if(1&a&&(t=e(t)),8&a)return t;if(4&a&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&a&&"string"!=typeof t)for(var i in t)e.d(n,i,function(a){return t[a]}.bind(null,i));return n},e.n=function(t){var a=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(a,"a",a),a},e.o=function(t,a){return Object.prototype.hasOwnProperty.call(t,a)},e.p="",e(e.s=70)}({1:function(t,a){t.exports=lodash},15:function(t,a,e){"use strict";var n=e(2),i=e.n(n);a.a=function(t,a,e){return i.a.ajax({url:rankMath.ajaxurl,type:e||"POST",dataType:"json",data:i.a.extend(!0,{action:"rank_math_"+t,security:rankMath.security},a)})}},18:function(t,a,e){"use strict";var n=e(2),i=e.n(n);a.a=function(t,a,e,n){a=a||"error",n=n||!1;var o=i()('<div class="notice notice-'+a+' is-dismissible"><p>'+t+"</p></div>").hide();e.next(".notice").remove(),e.after(o),o.slideDown(),i()(document).trigger("wp-updates-notice-added"),n&&setTimeout((function(){o.fadeOut((function(){o.remove()}))}),n)}},2:function(t,a){t.exports=jQuery},70:function(t,a,e){"use strict";e.r(a);var n,i=e(2),o=e.n(i),r=e(1),s=e(15),c=e(18);(n=o.a)((function(){window.rankMathOptions={init:function(){this.misc(),this.preview(),this.scCache(),rankMathAdmin.variableInserter(),this.searchEngine.init(),this.addressFormat(),this.siteMap(),this.robotsEvents()},searchEngine:{init:function(){n("#setting-panel-analytics").addClass("exclude"),this.form=n(".rank-math-search-options"),this.wrap=this.form.closest(".rank-math-wrap-settings"),this.input=this.form.find("input"),this.tabs=this.wrap.find(".rank-math-tabs"),this.panels=this.wrap.find(".rank-math-tab:not(.exclude)"),this.ids=["general","titles","sitemap"],this.indexes={},this.buildIndex(),this.events()},events:function(){var t=this,a=t.tabs.find(">.rank-math-tabs-navigation"),e=n('<div class="rank-math-search-dropdown"></div>');t.tabs.find(">.rank-math-tabs-content").prepend('<div class="rank-math-setting-search-empty hidden">No results found.</div>'),t.form.append(e),e.hide().empty();var i=Object(r.debounce)((function(a){t.wrap.addClass("searching"),t.searchIndexes(a,e)}),300);t.form.on("click",".clear-search",(function(e){e.preventDefault(),t.input.val(""),t.clearSearch(a)})),this.ids.forEach((function(a){e.append(t.indexes[a])})),t.input.on("input",(function(){if(""===t.input.val())return t.clearSearch(a,e),!1;i(t.input.val().toLowerCase())})),e.on("click",".cmb-row",(function(){var t=n(this),a=window.location.origin+window.location.pathname+"?page=rank-math-options-"+t.data("settings-id")+"#"+t.closest(".dropdown-tab").data("id");a===window.location.href?window.location.reload():window.location=a}));var o=n(".rank-math-search-options, .rank-math-search-options *, .rank-math-search-dropdown, .rank-math-search-dropdown *");n("body").on("click",(function(t){n(t.target).is(o)||e.hide()}))},searchIndexes:function(t,a){if(!(1>t.trim().length)){var e=a.find(".cmb-row"),i=0;e.hide().each((function(){var a=n(this);a.text().trim().toLowerCase().includes(t)&&(a.show(),++i)})),a.show(),a.toggleClass("empty",0===i)}},clearSearch:function(t,a){a=a||!1,this.wrap.removeClass("searching search-no-results"),n(">a.active",t).trigger("click"),a?a.hide():(n(".cmb-row").show(),n(".rank-math-cmb-dependency",".cmb-form, .rank-math-metabox-wrap").each((function(){rankMathAdmin.loopDependencies(n(this))})))},buildIndex:function(){var t=window.localStorage.getItem("rank-math-option-search-index"),a=void 0===t||t!==rankMath.version;this.ids.forEach((function(t){this.getIndex(t,a)}),this),a&&window.localStorage.setItem("rank-math-option-search-index",rankMath.version)},getIndex:function(t,a){var e=this;a?n("<div/>").load(rankMath.adminurl+"?page=rank-math-options-"+t,(function(a,i){if("error"!==i){var o=n(a).find(".rank-math-tabs-content");o.find(".rank-math-tab").each((function(){var t=n(this);t.removeClass().addClass("dropdown-tab"),t.attr("data-id",t.attr("id")),t.removeAttr("id"),t.find(".rank-math-notice").remove(),t.find(".rank-math-desc").remove()})),o.find(".rank-math-tab").removeClass().addClass("dropdown-tab").removeAttr("id"),o.find(".cmb-row").each((function(){var a=n(this);a.attr("data-settings-id",t),(a.hasClass("cmb-type-title")||a.hasClass("cmb-type-notice")||a.hasClass("rank-math-notice")||a.hasClass("rank-math-desc"))&&a.remove(),a.find(".cmb-td").children(":not(.cmb2-metabox-description)").remove(),a.find("label,.cmb2-metabox-description").unwrap(),a.removeAttr("data-fieldtype")})),o=o.html().replace(/(\r\n\t|\n|\r\t)/gm,""),e.indexes[t]=n(o),window.localStorage.setItem("rank-math-option-"+t+"-index",o)}})):e.indexes[t]=n(window.localStorage.getItem("rank-math-option-"+t+"-index"))}},scCache:function(){n(".console-cache-delete").on("click",(function(t){t.preventDefault();var a=n(this),e=a.data("days"),i=-1===e?"You are about to delete all the previously imported data?":"You are about to delete your 90 days Cache?";window.confirm(i+" Are you sure you want to do this?")&&(a.prop("disabled",!0),Object(s.a)("analytics_delete_cache",{days:e},"GET").always((function(){a.prop("disabled",!1)})).done((function(t){t&&t.success&&(Object(c.a)("Cache deleted.","success",n("h1",".rank-math-wrap-settings")),n(".rank-math-console-db-info").remove(),a.closest(".cmb-td").append(t.message))})))}));var t=n("#console_caching_control");n(".console-cache-update-manually").on("click",(function(a){a.preventDefault();var e=n(this),i=t.val();e.prop("disabled",!0),Object(s.a)("analytic_start_fetching",{days:i},"GET").done((function(t){t&&t.success?(Object(c.a)(t.message,"success",n("h1.page-title")),e.text("Fetching in Progress"),n(".cancel-fetch").prop("disabled",!1)):Object(c.a)("Unable to update cache due to: "+t.error,"error",n("h1.page-title"))}))})),n(".cancel-fetch").on("click",(function(t){t.preventDefault(),n(this).prop("disabled",!0),Object(s.a)("analytic_cancel_fetching",{},"GET").done((function(t){t&&t.success&&window.location.reload()}))}))},addressFormat:function(){var t=n("input[type=text], textarea",".rank-math-address-format");if(t.length){t.attr("autocomplete","off"),t.wrap('<div class="rank-math-variables-wrap"/>');var a=n("body"),e=t.parent(".rank-math-variables-wrap");e.append('<a href="#" class="rank-math-variables-button button button-secondary button-address"><span class="dashicons dashicons-arrow-down-alt2"></span></a>');var i=n("<ul/>"),o=n('<div class="rank-math-variables-dropdown"></div>');n.each({"{address} {locality}, {region} {postalcode}":"(New York, NY 12345)","{address} {postalcode}, {locality} {region}":"(New York 12345, NY)","{address} {locality} {postalcode}":"(New York NY 12345)","{postalcode} {region} {locality} {address}":"(12345 NY New York)","{address} {locality}":"(New York NY)"},(function(t,a){i.append('<li data-var="'+a+'"><strong>'+t+"</strong></li>")})),o.append(i),n("rank-math-variables-wrap:eq(0)").append(o);var r=n(".rank-math-variables-button, .rank-math-variables-button *, .rank-math-variables-dropdown, .rank-math-variables-dropdown *");a.on("click",(function(t){n(t.target).is(r)||o.hide()}));var s=o.find("input"),c=o.find("li");n(e).on("click",".rank-math-variables-button",(function(t){t.preventDefault(),n(this).after(o),c.show(),o.show(),s.val("").focus()})),o.on("click","li",(function(t){t.preventDefault();var a=n(this);a.closest(".rank-math-variables-wrap").find("textarea").val(a.find("strong").text())}))}},misc:function(){void 0!==o.a.fn.select2&&n("[data-s2-pages]").select2({ajax:{url:rankMath.ajaxurl+"?action=rank_math_search_pages",data:function(t){return{term:t.term,security:rankMath.security}},dataType:"json",delay:250},width:"100%",minimumInputLength:3}),n("#htaccess_accept_changes").on("change",(function(){n("#htaccess_content").prop("readonly",!this.checked)})),n(".reset-options").on("click",(function(){return!!window.confirm("Are you sure? You want to reset settings.")&&(n(window).off("beforeunload"),!0)}));var t=n(".rank-math-tabs");setTimeout((function(){window.localStorage.removeItem(t.attr("id"))}),1e3),n(".save-options").on("click",(function(){var a=n("> .rank-math-tabs-navigation > a.active",t);return window.localStorage.setItem(t.attr("id"),a.attr("href")),n(window).off("beforeunload"),!0}));var a=!1;n(window).on("load",(function(){n(".cmb-form").on("change","input:not(.notrack), textarea:not(.notrack), select:not(.notrack)",(function(){a=!0}))})),n(window).on("beforeunload",(function(){if(a)return"Are you sure? You didn't finish the form!"})),n(".custom-sep").on("keyup",(function(){var t=n(this);t.closest("li").find("input.cmb2-option").val(t.text()).trigger("change")}))},preview:function(){n("[data-preview]").on("change",(function(){var t=n(this),a=null,e="";if(t.is(":radio")&&(a=t.closest(".cmb-td")),null!==a)if(a.hasClass("done"))t.is(":checked")&&(e=a.find("h5")).text(e.data("title").format(t.val()));else if(a.addClass("done"),"title"===t.data("preview")){var i="";i+='<div class="rank-math-preview-title" data-title="Preview"><div>',i+='<h5 data-title="'+rankMath.postTitle+" {0} "+rankMath.blogName+'"></h5>',i+="<span>"+rankMath.postUri+"</span>",i+="</div></div>",a.append(i),(e=a.find("h5")).text(e.data("title").format(t.val()))}})).trigger("change")},siteMap:function(){var t=n(".sitemap-nginx-notice");t.length&&t.on("click","a span",(function(a){return a.preventDefault(),t.toggleClass("active"),!1}))},robotsEvents:function(){n(".rank-math-robots-data").each((function(){var t=n(this).find("ul li:first-child input"),a=n(this).find("ul li:nth-child(2) input");t.on("change",(function(){t.is(":checked")&&a.prop("checked",!1).trigger("change")})),a.on("change",(function(){a.is(":checked")&&t.prop("checked",!1)}))}))}},window.rankMathOptions.init()}))}});
|
1 |
+
!function(t){var a={};function e(n){if(a[n])return a[n].exports;var i=a[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,e),i.l=!0,i.exports}e.m=t,e.c=a,e.d=function(t,a,n){e.o(t,a)||Object.defineProperty(t,a,{enumerable:!0,get:n})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,a){if(1&a&&(t=e(t)),8&a)return t;if(4&a&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&a&&"string"!=typeof t)for(var i in t)e.d(n,i,function(a){return t[a]}.bind(null,i));return n},e.n=function(t){var a=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(a,"a",a),a},e.o=function(t,a){return Object.prototype.hasOwnProperty.call(t,a)},e.p="",e(e.s=70)}({1:function(t,a){t.exports=lodash},15:function(t,a,e){"use strict";var n=e(2),i=e.n(n);a.a=function(t,a,e){return i.a.ajax({url:rankMath.ajaxurl,type:e||"POST",dataType:"json",data:i.a.extend(!0,{action:"rank_math_"+t,security:rankMath.security},a)})}},18:function(t,a,e){"use strict";var n=e(2),i=e.n(n);a.a=function(t,a,e,n){a=a||"error",n=n||!1;var r=i()('<div class="notice notice-'+a+' is-dismissible"><p>'+t+"</p></div>").hide();e.next(".notice").remove(),e.after(r),r.slideDown(),i()(document).trigger("wp-updates-notice-added"),n&&setTimeout((function(){r.fadeOut((function(){r.remove()}))}),n)}},2:function(t,a){t.exports=jQuery},70:function(t,a,e){"use strict";e.r(a);var n,i=e(2),r=e.n(i),o=e(1),s=e(15),c=e(18);(n=r.a)((function(){window.rankMathOptions={init:function(){this.misc(),this.preview(),this.scCache(),rankMathAdmin.variableInserter(),this.searchEngine.init(),this.addressFormat(),this.siteMap(),this.robotsEvents()},searchEngine:{init:function(){n("#setting-panel-analytics").addClass("exclude"),this.form=n(".rank-math-search-options"),this.wrap=this.form.closest(".rank-math-wrap-settings"),this.input=this.form.find("input"),this.tabs=this.wrap.find(".rank-math-tabs"),this.panels=this.wrap.find(".rank-math-tab:not(.exclude)"),this.ids=["general","titles","sitemap"],this.indexes={},this.buildIndex(),this.events()},events:function(){var t=this,a=t.tabs.find(">.rank-math-tabs-navigation"),e=n('<div class="rank-math-search-dropdown"></div>');t.tabs.find(">.rank-math-tabs-content").prepend('<div class="rank-math-setting-search-empty hidden">No results found.</div>'),t.form.append(e),e.hide().empty();var i=Object(o.debounce)((function(a){t.wrap.addClass("searching"),t.searchIndexes(a,e)}),300);t.form.on("click",".clear-search",(function(e){e.preventDefault(),t.input.val(""),t.clearSearch(a)})),this.ids.forEach((function(a){e.append(t.indexes[a])})),t.input.on("input",(function(){if(""===t.input.val())return t.clearSearch(a,e),!1;i(t.input.val().toLowerCase())})),e.on("click",".cmb-row",(function(){var t=n(this),a=window.location.origin+window.location.pathname+"?page=rank-math-options-"+t.data("settings-id")+"#"+t.closest(".dropdown-tab").data("id");a===window.location.href?window.location.reload():window.location=a}));var r=n(".rank-math-search-options, .rank-math-search-options *, .rank-math-search-dropdown, .rank-math-search-dropdown *");n("body").on("click",(function(t){n(t.target).is(r)||e.hide()}))},searchIndexes:function(t,a){if(!(1>t.trim().length)){var e=a.find(".cmb-row"),i=0;e.hide().each((function(){var a=n(this);a.text().trim().toLowerCase().includes(t)&&(a.show(),++i)})),a.show(),a.toggleClass("empty",0===i)}},clearSearch:function(t,a){a=a||!1,this.wrap.removeClass("searching search-no-results"),n(">a.active",t).trigger("click"),a?a.hide():(n(".cmb-row").show(),n(".rank-math-cmb-dependency",".cmb-form, .rank-math-metabox-wrap").each((function(){rankMathAdmin.loopDependencies(n(this))})))},buildIndex:function(){var t=window.localStorage.getItem("rank-math-option-search-index"),a=void 0===t||t!==rankMath.version;this.ids.forEach((function(t){this.getIndex(t,a)}),this),a&&window.localStorage.setItem("rank-math-option-search-index",rankMath.version)},getIndex:function(t,a){var e=this;a?n("<div/>").load(rankMath.adminurl+"?page=rank-math-options-"+t,(function(a,i){if("error"!==i){var r=n(a).find(".rank-math-tabs-content");r.find(".rank-math-tab").each((function(){var t=n(this);t.removeClass().addClass("dropdown-tab"),t.attr("data-id",t.attr("id")),t.removeAttr("id"),t.find(".rank-math-notice").remove(),t.find(".rank-math-desc").remove()})),r.find(".rank-math-tab").removeClass().addClass("dropdown-tab").removeAttr("id"),r.find(".cmb-row").each((function(){var a=n(this);a.attr("data-settings-id",t),(a.hasClass("cmb-type-title")||a.hasClass("cmb-type-notice")||a.hasClass("rank-math-notice")||a.hasClass("rank-math-desc"))&&a.remove(),a.find(".cmb-td").children(":not(.cmb2-metabox-description)").remove(),a.find("label,.cmb2-metabox-description").unwrap(),a.removeAttr("data-fieldtype")})),r=r.html().replace(/(\r\n\t|\n|\r\t)/gm,""),e.indexes[t]=n(r),window.localStorage.setItem("rank-math-option-"+t+"-index",r)}})):e.indexes[t]=n(window.localStorage.getItem("rank-math-option-"+t+"-index"))}},scCache:function(){n(".console-cache-delete").on("click",(function(t){t.preventDefault();var a=n(this),e=a.data("days"),i=-1===e?rankMath.confirmClearImportedData:rankMath.confirmClear90DaysCache;window.confirm(i+" "+rankMath.confirmAction)&&(a.prop("disabled",!0),Object(s.a)("analytics_delete_cache",{days:e},"GET").always((function(){a.prop("disabled",!1)})).done((function(t){t&&t.success&&(Object(c.a)(rankMath.feedbackCacheDeleted,"success",n("h1",".rank-math-wrap-settings")),n(".rank-math-console-db-info").remove(),a.closest(".cmb-td").append(t.message))})))}));var t=n("#console_caching_control");n(".console-cache-update-manually").on("click",(function(a){a.preventDefault();var e=n(this),i=t.val();e.prop("disabled",!0),Object(s.a)("analytic_start_fetching",{days:i},"GET").done((function(t){t&&t.success?(Object(c.a)(t.message,"success",n("h1.page-title")),e.text("Fetching in Progress"),n(".cancel-fetch").prop("disabled",!1)):Object(c.a)("Unable to update cache due to: "+t.error,"error",n("h1.page-title"))}))})),n(".cancel-fetch").on("click",(function(t){t.preventDefault(),n(this).prop("disabled",!0),Object(s.a)("analytic_cancel_fetching",{},"GET").done((function(t){t&&t.success&&window.location.reload()}))}))},addressFormat:function(){var t=n("input[type=text], textarea",".rank-math-address-format");if(t.length){t.attr("autocomplete","off"),t.wrap('<div class="rank-math-variables-wrap"/>');var a=n("body"),e=t.parent(".rank-math-variables-wrap");e.append('<a href="#" class="rank-math-variables-button button button-secondary button-address"><span class="dashicons dashicons-arrow-down-alt2"></span></a>');var i=n("<ul/>"),r=n('<div class="rank-math-variables-dropdown"></div>');n.each({"{address} {locality}, {region} {postalcode}":"(New York, NY 12345)","{address} {postalcode}, {locality} {region}":"(New York 12345, NY)","{address} {locality} {postalcode}":"(New York NY 12345)","{postalcode} {region} {locality} {address}":"(12345 NY New York)","{address} {locality}":"(New York NY)"},(function(t,a){i.append('<li data-var="'+a+'"><strong>'+t+"</strong></li>")})),r.append(i),n("rank-math-variables-wrap:eq(0)").append(r);var o=n(".rank-math-variables-button, .rank-math-variables-button *, .rank-math-variables-dropdown, .rank-math-variables-dropdown *");a.on("click",(function(t){n(t.target).is(o)||r.hide()}));var s=r.find("input"),c=r.find("li");n(e).on("click",".rank-math-variables-button",(function(t){t.preventDefault(),n(this).after(r),c.show(),r.show(),s.val("").focus()})),r.on("click","li",(function(t){t.preventDefault();var a=n(this);a.closest(".rank-math-variables-wrap").find("textarea").val(a.find("strong").text())}))}},misc:function(){void 0!==r.a.fn.select2&&n("[data-s2-pages]").select2({ajax:{url:rankMath.ajaxurl+"?action=rank_math_search_pages",data:function(t){return{term:t.term,security:rankMath.security}},dataType:"json",delay:250},width:"100%",minimumInputLength:3}),n("#htaccess_accept_changes").on("change",(function(){n("#htaccess_content").prop("readonly",!this.checked)})),n(".reset-options").on("click",(function(){return!!window.confirm("Are you sure? You want to reset settings.")&&(n(window).off("beforeunload"),!0)}));var t=n(".rank-math-tabs");setTimeout((function(){window.localStorage.removeItem(t.attr("id"))}),1e3),n(".save-options").on("click",(function(){var a=n("> .rank-math-tabs-navigation > a.active",t);return window.localStorage.setItem(t.attr("id"),a.attr("href")),n(window).off("beforeunload"),!0}));var a=!1;n(window).on("load",(function(){n(".cmb-form").on("change","input:not(.notrack), textarea:not(.notrack), select:not(.notrack)",(function(){a=!0}))})),n(window).on("beforeunload",(function(){if(a)return"Are you sure? You didn't finish the form!"})),n(".custom-sep").on("keyup",(function(){var t=n(this);t.closest("li").find("input.cmb2-option").val(t.text()).trigger("change")})),n(".cmb-form").on("keydown","input",(function(t){"Enter"===t.key&&t.preventDefault()}))},preview:function(){n("[data-preview]").on("change",(function(){var t=n(this),a=null,e="";if(t.is(":radio")&&(a=t.closest(".cmb-td")),null!==a)if(a.hasClass("done"))t.is(":checked")&&(e=a.find("h5")).text(e.data("title").format(t.val()));else if(a.addClass("done"),"title"===t.data("preview")){var i="";i+='<div class="rank-math-preview-title" data-title="Preview"><div>',i+='<h5 data-title="'+rankMath.postTitle+" {0} "+rankMath.blogName+'"></h5>',i+="<span>"+rankMath.postUri+"</span>",i+="</div></div>",a.append(i),(e=a.find("h5")).text(e.data("title").format(t.val()))}})).trigger("change")},siteMap:function(){var t=n(".sitemap-nginx-notice");t.length&&t.on("click","a span",(function(a){return a.preventDefault(),t.toggleClass("active"),!1}))},robotsEvents:function(){n(".rank-math-robots-data").each((function(){var t=n(this).find("ul li:first-child input"),a=n(this).find("ul li:nth-child(2) input");t.on("change",(function(){t.is(":checked")&&a.prop("checked",!1).trigger("change")})),a.on("change",(function(){a.is(":checked")&&t.prop("checked",!1)}))}))}},window.rankMathOptions.init()}))}});
|
@@ -1 +1 @@
|
|
1 |
-
!function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},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 i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},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=73)}({2:function(e,t){e.exports=jQuery},73:function(e,t,n){"use strict";n.r(t);var i=n(2);!function(e,t,n){var i,r,l,a,s,o=/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,63}$/i,c=/^(https?|ftp):\/\/[A-Z0-9.-]+\.[A-Z]{2,63}[^ "]*$/i,p={},u={},d="ontouchend"in document;function h(){return i?i.$('a[data-wplink-edit="true"]'):null}window.wpLink={timeToTriggerRiver:150,minRiverAJAXDuration:200,riverBottomThreshold:5,keySensitivity:100,lastSearch:"",textarea:"",modalOpen:!1,init:function(){p.wrap=e("#wp-link-wrap"),p.dialog=e("#wp-link"),p.backdrop=e("#wp-link-backdrop"),p.submit=e("#wp-link-submit"),p.close=e("#wp-link-close");var n=e('<div class="link-nofollow"><label><span> </span> <input type="checkbox" id="wp-link-nofollow"> '+t.relCheckbox+'</label></div><div class="link-sponsored"><label><span> </span> <input type="checkbox" id="wp-link-sponsored"> '+t.sponsoredCheckbox+"</label></div>"),i=e('<div class="wp-link-title-field"> <label><span>'+t.linkTitle+'</span> <input id="wp-link-title" type="text"></label></div>');n.insertAfter("#wp-link .link-target"),i.insertAfter("#wp-link .wp-link-text-field"),e("#wp-link .query-results").css("top","290px"),p.text=e("#wp-link-text"),p.url=e("#wp-link-url"),p.nonce=e("#_ajax_linking_nonce"),p.openInNewTab=e("#wp-link-target"),p.search=e("#wp-link-search"),p.nofollow=e("#wp-link-nofollow"),p.sponsored=e("#wp-link-sponsored"),p.title=e("#wp-link-title"),u.search=new s(e("#search-results")),u.recent=new s(e("#most-recent-results")),u.elements=p.dialog.find(".query-results"),p.queryNotice=e("#query-notice-message"),p.queryNoticeTextDefault=p.queryNotice.find(".query-notice-default"),p.queryNoticeTextHint=p.queryNotice.find(".query-notice-hint"),p.dialog.keydown(wpLink.keydown),p.dialog.keyup(wpLink.keyup),p.submit.click((function(e){e.preventDefault(),wpLink.update()})),p.close.add(p.backdrop).add("#wp-link-cancel button").click((function(e){e.preventDefault(),wpLink.close()})),u.elements.on("river-select",wpLink.updateFields),p.search.on("focus.wplink",(function(){p.queryNoticeTextDefault.hide(),p.queryNoticeTextHint.removeClass("screen-reader-text").show()})).on("blur.wplink",(function(){p.queryNoticeTextDefault.show(),p.queryNoticeTextHint.addClass("screen-reader-text").hide()})),p.search.on("keyup input",(function(){window.clearTimeout(r),r=window.setTimeout((function(){wpLink.searchInternalLinks()}),500)})),p.url.on("paste",(function(){setTimeout(wpLink.correctURL,0)})),p.url.on("blur",wpLink.correctURL)},correctURL:function(){var t=e.trim(p.url.val());t&&l!==t&&!/^(?:[a-z]+:|#|\?|\.|\/)/.test(t)&&(p.url.val("http://"+t),l=t)},open:function(t,n,r){var l,a=e(document.body);a.addClass("modal-open"),wpLink.modalOpen=!0,wpLink.range=null,t&&(window.wpActiveEditor=t),window.wpActiveEditor&&(this.textarea=e("#"+window.wpActiveEditor).get(0),void 0!==window.tinymce&&(a.append(p.backdrop,p.wrap),l=window.tinymce.get(window.wpActiveEditor),i=l&&!l.isHidden()?l:null),!wpLink.isMCE()&&document.selection&&(this.textarea.focus(),this.range=document.selection.createRange()),p.wrap.show(),p.backdrop.show(),wpLink.refresh(n,r),e(document).trigger("wplink-open",p.wrap))},isMCE:function(){return i&&!i.isHidden()},refresh:function(e,t){u.search.refresh(),u.recent.refresh(),wpLink.isMCE()?wpLink.mceRefresh(e,t):(p.wrap.hasClass("has-text-field")||p.wrap.addClass("has-text-field"),document.selection?document.selection.createRange().text||t||"":void 0!==this.textarea.selectionStart&&this.textarea.selectionStart!==this.textarea.selectionEnd&&(t=this.textarea.value.substring(this.textarea.selectionStart,this.textarea.selectionEnd)||t||""),p.text.val(t),wpLink.setDefaultValues()),d?p.url.focus().blur():window.setTimeout((function(){p.url[0].select(),p.url.focus()})),u.recent.ul.children().length||u.recent.ajax(),l=p.url.val().replace(/^http:\/\//,"")},hasSelectedText:function(e){var t,n,r,l=i.selection.getContent();if(/</.test(l)&&(!/^<a [^>]+>[^<]+<\/a>$/.test(l.trim())||-1===l.indexOf("href=")))return!1;if(e.length){if(!(n=e[0].childNodes)||!n.length)return!1;for(r=n.length-1;0<=r;r--)if(3!==(t=n[r]).nodeType&&!window.tinymce.dom.BookmarkManager.isBookmarkNode(t))return!1}return!0},mceRefresh:function(n,r){var l,a,s=h(),u=this.hasSelectedText(s);s.length?(l=s.text(),a=s.attr("href"),e.trim(l)||(l=r||""),n&&(c.test(n)||o.test(n))&&(a=n),"_wp_link_placeholder"!==a?(p.url.val(a),p.openInNewTab.prop("checked","_blank"===i.dom.getAttrib(s,"target")),p.nofollow.prop("checked",i.dom.getAttrib(s,"rel").includes("nofollow")),p.sponsored.prop("checked",i.dom.getAttrib(s,"rel").includes("sponsored")),p.title.val(i.dom.getAttrib(s,"title")),p.submit.val(t.update)):this.setDefaultValues(l),n&&n!==a?p.search.val(n):p.search.val(""),window.setTimeout((function(){wpLink.searchInternalLinks()}))):(l=i.selection.getContent({format:"text"})||r||"",this.setDefaultValues(l)),u?(p.text.val(l),p.wrap.addClass("has-text-field")):(p.text.val(""),p.wrap.removeClass("has-text-field"))},close:function(t){e(document.body).removeClass("modal-open"),wpLink.modalOpen=!1,"noReset"!==t&&(wpLink.isMCE()?(i.plugins.wplink&&i.plugins.wplink.close(),i.focus()):(wpLink.textarea.focus(),wpLink.range&&(wpLink.range.moveToBookmark(wpLink.range.getBookmark()),wpLink.range.select()))),p.backdrop.hide(),p.wrap.hide(),p.title.val(""),l=!1,e(document).trigger("wplink-close",p.wrap)},getAttrs:function(){wpLink.correctURL();var t=p.nofollow.prop("checked")?"nofollow":"";p.sponsored.prop("checked")&&(t=t?t+" sponsored":"sponsored");var n={href:e.trim(p.url.val()),target:p.openInNewTab.prop("checked")?"_blank":null,rel:t};return e.trim(p.title.val())&&(n.title=e.trim(p.title.val())),n},buildHtml:function(e){var t='<a href="'+e.href+'"';return e.target&&(t+=' target="'+e.target+'"'),e.rel&&(t+=' rel="'+e.rel+'"'),e.title&&(t+=' title="'+e.title+'"'),t+">"},update:function(){wpLink.isMCE()?wpLink.mceUpdate():wpLink.htmlUpdate()},htmlUpdate:function(){var i=wpLink.textarea;if(i){var r,l,a,s,o,c=wpLink.getAttrs(),u=document.createElement("a");if(u.href=c.href,"javascript:"!==u.protocol&&"data:"!==u.protocol||(c.href=""),c.href){r=wpLink.buildHtml(c);var d=p.text.val();document.selection&&wpLink.range?(i.focus(),wpLink.range.text=r+(d||wpLink.range.text)+"</a>",wpLink.range.moveToBookmark(wpLink.range.getBookmark()),wpLink.range.select(),wpLink.range=null):void 0!==i.selectionStart&&(l=i.selectionStart,a=i.selectionEnd,s=l+(r=r+(o=d||i.value.substring(l,a))+"</a>").length,l!==a||o||(s-=4),i.value=i.value.substring(0,l)+r+i.value.substring(a,i.value.length),i.selectionStart=i.selectionEnd=s),wpLink.close(),i.focus(),e(i).trigger("change"),n.a11y.speak(t.linkInserted)}}},mceUpdate:function(){var r,l,a,s,o=wpLink.getAttrs(),c=document.createElement("a");if(c.href=o.href,"javascript:"!==c.protocol&&"data:"!==c.protocol||(o.href=""),!o.href)return i.execCommand("unlink"),void wpLink.close();r=i.$(h()),i.undoManager.transact((function(){r.length||(i.execCommand("mceInsertLink",!1,{href:"_wp_link_placeholder","data-wp-temp-link":1}),r=i.$('a[data-wp-temp-link="1"]').removeAttr("data-wp-temp-link"),a=e.trim(r.text())),r.length?(p.wrap.hasClass("has-text-field")&&((l=p.text.val())?r.text(l):a||r.text(o.href)),o["data-wplink-edit"]=null,o["data-mce-href"]=null,o.hasOwnProperty("rel")&&!o.rel&&(o.rel=null),r.attr(o)):i.execCommand("unlink")})),wpLink.close("noReset"),i.focus(),r.length&&((s=r.parent("#_mce_caret")).length&&s.before(r.removeAttr("data-mce-bogus")),i.selection.select(r[0]),i.selection.collapse(),i.plugins.wplink&&i.plugins.wplink.checkLink(r[0])),i.nodeChanged(),p.title.val(""),n.a11y.speak(t.linkInserted)},updateFields:function(e,t){p.url.val(t.children(".item-permalink").val()),p.wrap.hasClass("has-text-field")&&!p.text.val()&&p.text.val(t.children(".item-title").text())},getUrlFromSelection:function(t){return t||(this.isMCE()?t=i.selection.getContent({format:"text"}):document.selection&&wpLink.range?t=wpLink.range.text:void 0!==this.textarea.selectionStart&&(t=this.textarea.value.substring(this.textarea.selectionStart,this.textarea.selectionEnd))),(t=e.trim(t))&&o.test(t)?"mailto:"+t:t&&c.test(t)?t.replace(/&|�?38;/gi,"&"):""},setDefaultValues:function(e){p.url.val(this.getUrlFromSelection(e)),p.search.val(""),wpLink.searchInternalLinks(),p.submit.val(t.save)},searchInternalLinks:function(){var e,t=p.search.val()||"";if(2<t.length){if(u.recent.hide(),u.search.show(),wpLink.lastSearch===t)return;wpLink.lastSearch=t,e=p.search.parent().find(".spinner").addClass("is-active"),u.search.change(t),u.search.ajax((function(){e.removeClass("is-active")}))}else u.search.hide(),u.recent.show()},next:function(){u.search.next(),u.recent.next()},prev:function(){u.search.prev(),u.recent.prev()},keydown:function(e){var t;if(27===e.keyCode?(wpLink.close(),e.stopImmediatePropagation()):9===e.keyCode&&("wp-link-submit"!==(t=e.target.id)||e.shiftKey?"wp-link-close"===t&&e.shiftKey&&(p.submit.focus(),e.preventDefault()):(p.close.focus(),e.preventDefault())),!(e.shiftKey||38!==e.keyCode&&40!==e.keyCode||document.activeElement&&("link-title-field"===document.activeElement.id||"url-field"===document.activeElement.id))){var n=38===e.keyCode?"prev":"next";clearInterval(wpLink.keyInterval),wpLink[n](),wpLink.keyInterval=setInterval(wpLink[n],wpLink.keySensitivity),e.preventDefault()}},keyup:function(e){38!==e.keyCode&&40!==e.keyCode||(clearInterval(wpLink.keyInterval),e.preventDefault())},delayedCallback:function(e,t){var n,i,r,l;return t?(setTimeout((function(){if(i)return e.apply(l,r);n=!0}),t),function(){if(n)return e.apply(this,arguments);r=arguments,l=this,i=!0}):e}},s=function(t,n){var i=this;this.element=t,this.ul=t.children("ul"),this.contentHeight=t.children("#link-selector-height"),this.waiting=t.find(".river-waiting"),this.change(n),this.refresh(),e("#wp-link .query-results, #wp-link #link-selector").scroll((function(){i.maybeLoad()})),t.on("click","li",(function(t){i.select(e(this),t)}))},e.extend(s.prototype,{refresh:function(){this.deselect(),this.visible=this.element.is(":visible")},show:function(){this.visible||(this.deselect(),this.element.show(),this.visible=!0)},hide:function(){this.element.hide(),this.visible=!1},select:function(e,t){if(!e.hasClass("unselectable")&&e!==this.selected){this.deselect(),this.selected=e.addClass("selected");var n=e.outerHeight(),i=this.element.height(),r=e.position().top,l=this.element.scrollTop();0>r?this.element.scrollTop(l+r):r+n>i&&this.element.scrollTop(l+r-i+n),this.element.trigger("river-select",[e,t,this])}},deselect:function(){this.selected&&this.selected.removeClass("selected"),this.selected=!1},prev:function(){var e;this.visible&&(this.selected&&(e=this.selected.prev("li")).length&&this.select(e))},next:function(){if(this.visible){var t=this.selected?this.selected.next("li"):e("li:not(.unselectable):first",this.element);t.length&&this.select(t)}},ajax:function(e){var t=this,n=1===this.query.page?0:wpLink.minRiverAJAXDuration,i=wpLink.delayedCallback((function(n,i){t.process(n,i),e&&e(n,i)}),n);this.query.ajax(i)},change:function(e){this.query&&this._search===e||(this._search=e,this.query=new a(e),this.element.scrollTop(0))},process:function(n,i){var r="",l=!0,a="",s=1===i.page;n?e.each(n,(function(){a=l?"alternate":"",a+=this.title?"":" no-title",r+=a?'<li class="'+a+'">':"<li>",r+='<input type="hidden" class="item-permalink" value="'+this.permalink+'" />',r+='<span class="item-title">',r+=this.title?this.title:t.noTitle,r+='</span><span class="item-info">'+this.info+"</span></li>",l=!l})):s&&(r+='<li class="unselectable no-matches-found"><span class="item-title"><em>'+t.noMatchesFound+"</em></span></li>"),this.ul[s?"html":"append"](r)},maybeLoad:function(){var e=this,t=this.element,n=t.scrollTop()+t.height();!this.query.ready()||n<this.contentHeight.height()-wpLink.riverBottomThreshold||setTimeout((function(){var n=t.scrollTop(),i=n+t.height();!e.query.ready()||i<e.contentHeight.height()-wpLink.riverBottomThreshold||(e.waiting.addClass("is-active"),t.scrollTop(n+e.waiting.outerHeight()),e.ajax((function(){e.waiting.removeClass("is-active")})))}),wpLink.timeToTriggerRiver)}}),a=function(e){this.page=1,this.allLoaded=!1,this.querying=!1,this.search=e},e.extend(a.prototype,{ready:function(){return!(this.querying||this.allLoaded)},ajax:function(t){var n=this,i={action:"wp-link-ajax",page:this.page,_ajax_linking_nonce:p.nonce.val()};this.search&&(i.search=this.search),this.querying=!0,e.post(window.ajaxurl,i,(function(e){n.page++,n.querying=!1,n.allLoaded=!e,t(e,i)}),"json")}}),e(document).ready(wpLink.init)}(n.n(i).a,window.wpLinkL10n,window.wp)}});
|
1 |
+
!function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},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 i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},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=73)}({2:function(e,t){e.exports=jQuery},73:function(e,t,n){"use strict";n.r(t);var i=n(2);!function(e,t,n){var i,r,l,a,s,o=/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,63}$/i,c=/^(https?|ftp):\/\/[A-Z0-9.-]+\.[A-Z]{2,63}[^ "]*$/i,p={},u={},d="ontouchend"in document;function h(){return i?i.$('a[data-wplink-edit="true"]'):null}window.wpLink={timeToTriggerRiver:150,minRiverAJAXDuration:200,riverBottomThreshold:5,keySensitivity:100,lastSearch:"",textarea:"",modalOpen:!1,init:function(){p.wrap=e("#wp-link-wrap"),p.dialog=e("#wp-link"),p.backdrop=e("#wp-link-backdrop"),p.submit=e("#wp-link-submit"),p.close=e("#wp-link-close");var n=e('<div class="link-nofollow"><label><span> </span> <input type="checkbox" id="wp-link-nofollow"> '+t.relCheckbox+'</label></div><div class="link-sponsored"><label><span> </span> <input type="checkbox" id="wp-link-sponsored"> '+t.sponsoredCheckbox+"</label></div>"),i=e('<div class="wp-link-title-field"> <label><span>'+t.linkTitle+'</span> <input id="wp-link-title" type="text"></label></div>');n.insertAfter("#wp-link .link-target"),i.insertAfter("#wp-link .wp-link-text-field"),e("#wp-link .query-results").css("top","290px"),p.text=e("#wp-link-text"),p.url=e("#wp-link-url"),p.nonce=e("#_ajax_linking_nonce"),p.openInNewTab=e("#wp-link-target"),p.search=e("#wp-link-search"),p.nofollow=e("#wp-link-nofollow"),p.sponsored=e("#wp-link-sponsored"),p.title=e("#wp-link-title"),u.search=new s(e("#search-results")),u.recent=new s(e("#most-recent-results")),u.elements=p.dialog.find(".query-results"),p.queryNotice=e("#query-notice-message"),p.queryNoticeTextDefault=p.queryNotice.find(".query-notice-default"),p.queryNoticeTextHint=p.queryNotice.find(".query-notice-hint"),p.dialog.on("keydown",(function(e){return wpLink.keydown(e)})),p.dialog.on("keyup",(function(e){return wpLink.keyup(e)})),p.submit.on("click",(function(e){e.preventDefault(),wpLink.update()})),p.close.add(p.backdrop).add("#wp-link-cancel button").on("click",(function(e){e.preventDefault(),wpLink.close()})),u.elements.on("river-select",wpLink.updateFields),p.search.on("focus.wplink",(function(){p.queryNoticeTextDefault.hide(),p.queryNoticeTextHint.removeClass("screen-reader-text").show()})).on("blur.wplink",(function(){p.queryNoticeTextDefault.show(),p.queryNoticeTextHint.addClass("screen-reader-text").hide()})),p.search.on("keyup input",(function(){window.clearTimeout(r),r=window.setTimeout((function(){wpLink.searchInternalLinks()}),500)})),p.url.on("paste",(function(){setTimeout(wpLink.correctURL,0)})),p.url.on("blur",wpLink.correctURL)},correctURL:function(){var t=e.trim(p.url.val());t&&l!==t&&!/^(?:[a-z]+:|#|\?|\.|\/)/.test(t)&&(p.url.val("http://"+t),l=t)},open:function(t,n,r){var l,a=e(document.body);a.addClass("modal-open"),wpLink.modalOpen=!0,wpLink.range=null,t&&(window.wpActiveEditor=t),window.wpActiveEditor&&(this.textarea=e("#"+window.wpActiveEditor).get(0),void 0!==window.tinymce&&(a.append(p.backdrop,p.wrap),l=window.tinymce.get(window.wpActiveEditor),i=l&&!l.isHidden()?l:null),!wpLink.isMCE()&&document.selection&&(this.textarea.trigger("focus"),this.range=document.selection.createRange()),p.wrap.show(),p.backdrop.show(),wpLink.refresh(n,r),e(document).trigger("wplink-open",p.wrap))},isMCE:function(){return i&&!i.isHidden()},refresh:function(e,t){u.search.refresh(),u.recent.refresh(),wpLink.isMCE()?wpLink.mceRefresh(e,t):(p.wrap.hasClass("has-text-field")||p.wrap.addClass("has-text-field"),document.selection?document.selection.createRange().text||t||"":void 0!==this.textarea.selectionStart&&this.textarea.selectionStart!==this.textarea.selectionEnd&&(t=this.textarea.value.substring(this.textarea.selectionStart,this.textarea.selectionEnd)||t||""),p.text.val(t),wpLink.setDefaultValues()),d?p.url.trigger("focus").trigger("blur"):window.setTimeout((function(){p.url[0].select(),p.url.trigger("focus")})),u.recent.ul.children().length||u.recent.ajax(),l=p.url.val().replace(/^http:\/\//,"")},hasSelectedText:function(e){var t,n,r,l=i.selection.getContent();if(/</.test(l)&&(!/^<a [^>]+>[^<]+<\/a>$/.test(l.trim())||-1===l.indexOf("href=")))return!1;if(e.length){if(!(n=e[0].childNodes)||!n.length)return!1;for(r=n.length-1;0<=r;r--)if(3!==(t=n[r]).nodeType&&!window.tinymce.dom.BookmarkManager.isBookmarkNode(t))return!1}return!0},mceRefresh:function(n,r){var l,a,s=h(),u=this.hasSelectedText(s);s.length?(l=s.text(),a=s.attr("href"),e.trim(l)||(l=r||""),n&&(c.test(n)||o.test(n))&&(a=n),"_wp_link_placeholder"!==a?(p.url.val(a),p.openInNewTab.prop("checked","_blank"===i.dom.getAttrib(s,"target")),p.nofollow.prop("checked",i.dom.getAttrib(s,"rel").includes("nofollow")),p.sponsored.prop("checked",i.dom.getAttrib(s,"rel").includes("sponsored")),p.title.val(i.dom.getAttrib(s,"title")),p.submit.val(t.update)):this.setDefaultValues(l),n&&n!==a?p.search.val(n):p.search.val(""),window.setTimeout((function(){wpLink.searchInternalLinks()}))):(l=i.selection.getContent({format:"text"})||r||"",this.setDefaultValues(l)),u?(p.text.val(l),p.wrap.addClass("has-text-field")):(p.text.val(""),p.wrap.removeClass("has-text-field"))},close:function(t){e(document.body).removeClass("modal-open"),wpLink.modalOpen=!1,"noReset"!==t&&(wpLink.isMCE()?(i.plugins.wplink&&i.plugins.wplink.close(),i.focus()):(wpLink.textarea.trigger("focus"),wpLink.range&&(wpLink.range.moveToBookmark(wpLink.range.getBookmark()),wpLink.range.select()))),p.backdrop.hide(),p.wrap.hide(),p.title.val(""),l=!1,e(document).trigger("wplink-close",p.wrap)},getAttrs:function(){wpLink.correctURL();var t=p.nofollow.prop("checked")?"nofollow":"";p.sponsored.prop("checked")&&(t=t?t+" sponsored":"sponsored");var n={href:e.trim(p.url.val()),target:p.openInNewTab.prop("checked")?"_blank":null,rel:t};return e.trim(p.title.val())&&(n.title=e.trim(p.title.val())),n},buildHtml:function(e){var t='<a href="'+e.href+'"';return e.target&&(t+=' target="'+e.target+'"'),e.rel&&(t+=' rel="'+e.rel+'"'),e.title&&(t+=' title="'+e.title+'"'),t+">"},update:function(){wpLink.isMCE()?wpLink.mceUpdate():wpLink.htmlUpdate()},htmlUpdate:function(){var i=wpLink.textarea;if(i){var r,l,a,s,o,c=wpLink.getAttrs(),u=document.createElement("a");if(u.href=c.href,"javascript:"!==u.protocol&&"data:"!==u.protocol||(c.href=""),c.href){r=wpLink.buildHtml(c);var d=p.text.val();document.selection&&wpLink.range?(i.trigger("focus"),wpLink.range.text=r+(d||wpLink.range.text)+"</a>",wpLink.range.moveToBookmark(wpLink.range.getBookmark()),wpLink.range.select(),wpLink.range=null):void 0!==i.selectionStart&&(l=i.selectionStart,a=i.selectionEnd,s=l+(r=r+(o=d||i.value.substring(l,a))+"</a>").length,l!==a||o||(s-=4),i.value=i.value.substring(0,l)+r+i.value.substring(a,i.value.length),i.selectionStart=i.selectionEnd=s),wpLink.close(),i.trigger("focus"),e(i).trigger("change"),n.a11y.speak(t.linkInserted)}}},mceUpdate:function(){var r,l,a,s,o=wpLink.getAttrs(),c=document.createElement("a");if(c.href=o.href,"javascript:"!==c.protocol&&"data:"!==c.protocol||(o.href=""),!o.href)return i.execCommand("unlink"),void wpLink.close();r=i.$(h()),i.undoManager.transact((function(){r.length||(i.execCommand("mceInsertLink",!1,{href:"_wp_link_placeholder","data-wp-temp-link":1}),r=i.$('a[data-wp-temp-link="1"]').removeAttr("data-wp-temp-link"),a=e.trim(r.text())),r.length?(p.wrap.hasClass("has-text-field")&&((l=p.text.val())?r.text(l):a||r.text(o.href)),o["data-wplink-edit"]=null,o["data-mce-href"]=null,o.hasOwnProperty("rel")&&!o.rel&&(o.rel=null),r.attr(o)):i.execCommand("unlink")})),wpLink.close("noReset"),i.focus(),r.length&&((s=r.parent("#_mce_caret")).length&&s.before(r.removeAttr("data-mce-bogus")),i.selection.select(r[0]),i.selection.collapse(),i.plugins.wplink&&i.plugins.wplink.checkLink(r[0])),i.nodeChanged(),p.title.val(""),n.a11y.speak(t.linkInserted)},updateFields:function(e,t){p.url.val(t.children(".item-permalink").val()),p.wrap.hasClass("has-text-field")&&!p.text.val()&&p.text.val(t.children(".item-title").text())},getUrlFromSelection:function(t){return t||(this.isMCE()?t=i.selection.getContent({format:"text"}):document.selection&&wpLink.range?t=wpLink.range.text:void 0!==this.textarea.selectionStart&&(t=this.textarea.value.substring(this.textarea.selectionStart,this.textarea.selectionEnd))),(t=e.trim(t))&&o.test(t)?"mailto:"+t:t&&c.test(t)?t.replace(/&|�?38;/gi,"&"):""},setDefaultValues:function(e){p.url.val(this.getUrlFromSelection(e)),p.search.val(""),wpLink.searchInternalLinks(),p.submit.val(t.save)},searchInternalLinks:function(){var e,t=p.search.val()||"";if(2<t.length){if(u.recent.hide(),u.search.show(),wpLink.lastSearch===t)return;wpLink.lastSearch=t,e=p.search.parent().find(".spinner").addClass("is-active"),u.search.change(t),u.search.ajax((function(){e.removeClass("is-active")}))}else u.search.hide(),u.recent.show()},next:function(){u.search.next(),u.recent.next()},prev:function(){u.search.prev(),u.recent.prev()},keydown:function(e){var t;if(27===e.keyCode?(wpLink.close(),e.stopImmediatePropagation()):9===e.keyCode&&("wp-link-submit"!==(t=e.target.id)||e.shiftKey?"wp-link-close"===t&&e.shiftKey&&(p.submit.trigger("focus"),e.preventDefault()):(p.close.trigger("focus"),e.preventDefault())),!(e.shiftKey||38!==e.keyCode&&40!==e.keyCode||document.activeElement&&("link-title-field"===document.activeElement.id||"url-field"===document.activeElement.id))){var n=38===e.keyCode?"prev":"next";clearInterval(wpLink.keyInterval),wpLink[n](),wpLink.keyInterval=setInterval(wpLink[n],wpLink.keySensitivity),e.preventDefault()}},keyup:function(e){38!==e.keyCode&&40!==e.keyCode||(clearInterval(wpLink.keyInterval),e.preventDefault())},delayedCallback:function(e,t){var n,i,r,l;return t?(setTimeout((function(){if(i)return e.apply(l,r);n=!0}),t),function(){if(n)return e.apply(this,arguments);r=arguments,l=this,i=!0}):e}},s=function(t,n){var i=this;this.element=t,this.ul=t.children("ul"),this.contentHeight=t.children("#link-selector-height"),this.waiting=t.find(".river-waiting"),this.change(n),this.refresh(),e("#wp-link .query-results, #wp-link #link-selector").on("scroll",(function(){i.maybeLoad()})),t.on("click","li",(function(t){i.select(e(this),t)}))},e.extend(s.prototype,{refresh:function(){this.deselect(),this.visible=this.element.is(":visible")},show:function(){this.visible||(this.deselect(),this.element.show(),this.visible=!0)},hide:function(){this.element.hide(),this.visible=!1},select:function(e,t){if(!e.hasClass("unselectable")&&e!==this.selected){this.deselect(),this.selected=e.addClass("selected");var n=e.outerHeight(),i=this.element.height(),r=e.position().top,l=this.element.scrollTop();0>r?this.element.scrollTop(l+r):r+n>i&&this.element.scrollTop(l+r-i+n),this.element.trigger("river-select",[e,t,this])}},deselect:function(){this.selected&&this.selected.removeClass("selected"),this.selected=!1},prev:function(){var e;this.visible&&(this.selected&&(e=this.selected.prev("li")).length&&this.select(e))},next:function(){if(this.visible){var t=this.selected?this.selected.next("li"):e("li:not(.unselectable):first",this.element);t.length&&this.select(t)}},ajax:function(e){var t=this,n=1===this.query.page?0:wpLink.minRiverAJAXDuration,i=wpLink.delayedCallback((function(n,i){t.process(n,i),e&&e(n,i)}),n);this.query.ajax(i)},change:function(e){this.query&&this._search===e||(this._search=e,this.query=new a(e),this.element.scrollTop(0))},process:function(n,i){var r="",l=!0,a="",s=1===i.page;n?e.each(n,(function(){a=l?"alternate":"",a+=this.title?"":" no-title",r+=a?'<li class="'+a+'">':"<li>",r+='<input type="hidden" class="item-permalink" value="'+this.permalink+'" />',r+='<span class="item-title">',r+=this.title?this.title:t.noTitle,r+='</span><span class="item-info">'+this.info+"</span></li>",l=!l})):s&&(r+='<li class="unselectable no-matches-found"><span class="item-title"><em>'+t.noMatchesFound+"</em></span></li>"),this.ul[s?"html":"append"](r)},maybeLoad:function(){var e=this,t=this.element,n=t.scrollTop()+t.height();!this.query.ready()||n<this.contentHeight.height()-wpLink.riverBottomThreshold||setTimeout((function(){var n=t.scrollTop(),i=n+t.height();!e.query.ready()||i<e.contentHeight.height()-wpLink.riverBottomThreshold||(e.waiting.addClass("is-active"),t.scrollTop(n+e.waiting.outerHeight()),e.ajax((function(){e.waiting.removeClass("is-active")})))}),wpLink.timeToTriggerRiver)}}),a=function(e){this.page=1,this.allLoaded=!1,this.querying=!1,this.search=e},e.extend(a.prototype,{ready:function(){return!(this.querying||this.allLoaded)},ajax:function(t){var n=this,i={action:"wp-link-ajax",page:this.page,_ajax_linking_nonce:p.nonce.val()};this.search&&(i.search=this.search),this.querying=!0,e.post(window.ajaxurl,i,(function(e){n.page++,n.querying=!1,n.allLoaded=!e,t(e,i)}),"json")}}),e(document).ready(wpLink.init)}(n.n(i).a,window.wpLinkL10n,window.wp)}});
|
@@ -41,7 +41,10 @@ class Admin_Header {
|
|
41 |
<div class="rank-math-logo">
|
42 |
<?php echo $logo_url; // phpcs:ignore ?>
|
43 |
</div>
|
44 |
-
<h1 class="rank-math-logo-text">
|
|
|
|
|
|
|
45 |
<?php $this->get_search_options(); ?>
|
46 |
<?php $this->get_mode_selector(); ?>
|
47 |
<a href="<?php echo esc_url( $this->get_help_link() ); ?>" target="_blank" class="button rank-math-help"><i class="rm-icon rm-icon-help"></i></a>
|
41 |
<div class="rank-math-logo">
|
42 |
<?php echo $logo_url; // phpcs:ignore ?>
|
43 |
</div>
|
44 |
+
<h1 class="rank-math-logo-text">
|
45 |
+
Rank Math SEO
|
46 |
+
<?php do_action( 'rank_math/pro_badge' ); ?>
|
47 |
+
</h1>
|
48 |
<?php $this->get_search_options(); ?>
|
49 |
<?php $this->get_mode_selector(); ?>
|
50 |
<a href="<?php echo esc_url( $this->get_help_link() ); ?>" target="_blank" class="button rank-math-help"><i class="rm-icon rm-icon-help"></i></a>
|
@@ -110,15 +110,17 @@ class Admin implements Runner {
|
|
110 |
|
111 |
echo '<ul class="rank-math-blog-list">';
|
112 |
$is_new = time() - strtotime( $posts[0]['date'] ) < 15 * DAY_IN_SECONDS;
|
|
|
113 |
|
114 |
foreach ( $posts as $post ) :
|
|
|
115 |
?>
|
116 |
<li class="rank-math-blog-post">
|
117 |
<h4>
|
118 |
<?php if ( $is_new ) : ?>
|
119 |
<span class="rank-math-new-badge"><?php esc_html_e( 'NEW', 'rank-math' ); ?></span>
|
120 |
<?php endif; ?>
|
121 |
-
<a target="_blank" href="<?php echo esc_url( $post['link'] ); ?>?utm_source=Plugin&utm_medium=Dashboard%20Widget
|
122 |
<?php echo esc_html( $post['title']['rendered'] ); ?>
|
123 |
</a>
|
124 |
</h4>
|
@@ -130,18 +132,18 @@ class Admin implements Runner {
|
|
130 |
?>
|
131 |
|
132 |
<div class="rank-math-widget-footer">
|
133 |
-
<a target="_blank" href="https://rankmath.com/blog/?utm_source=Plugin&utm_medium=Dashboard%20Widget&utm_campaign=WP">
|
134 |
<?php esc_html_e( 'Blog', 'rank-math' ); ?>
|
135 |
<span class="screen-reader-text"><?php esc_html_e( '(opens in a new window)', 'rank-math' ); ?></span>
|
136 |
<span aria-hidden="true" class="dashicons dashicons-external"></span>
|
137 |
</a>
|
138 |
-
<a target="_blank" href="https://rankmath.com/kb/?utm_source=Plugin&utm_medium=Dashboard%20Widget&utm_campaign=WP">
|
139 |
<?php esc_html_e( 'Help', 'rank-math' ); ?>
|
140 |
<span class="screen-reader-text"><?php esc_html_e( '(opens in a new window)', 'rank-math' ); ?></span>
|
141 |
<span aria-hidden="true" class="dashicons dashicons-external"></span>
|
142 |
</a>
|
143 |
<?php if ( ! defined( 'RANK_MATH_PRO_FILE' ) ) { ?>
|
144 |
-
<a target="_blank" href="https://rankmath.com/pricing/?utm_source=Plugin&utm_medium=Dashboard%20Widget&utm_campaign=WP" class="rank-math-widget-go-pro">
|
145 |
<?php esc_html_e( 'Go Pro', 'rank-math' ); ?>
|
146 |
<span class="screen-reader-text"><?php esc_html_e( '(opens in a new window)', 'rank-math' ); ?></span>
|
147 |
<span aria-hidden="true" class="dashicons dashicons-external"></span>
|
110 |
|
111 |
echo '<ul class="rank-math-blog-list">';
|
112 |
$is_new = time() - strtotime( $posts[0]['date'] ) < 15 * DAY_IN_SECONDS;
|
113 |
+
$i = 0;
|
114 |
|
115 |
foreach ( $posts as $post ) :
|
116 |
+
$i++;
|
117 |
?>
|
118 |
<li class="rank-math-blog-post">
|
119 |
<h4>
|
120 |
<?php if ( $is_new ) : ?>
|
121 |
<span class="rank-math-new-badge"><?php esc_html_e( 'NEW', 'rank-math' ); ?></span>
|
122 |
<?php endif; ?>
|
123 |
+
<a target="_blank" href="<?php echo esc_url( $post['link'] ); ?>?utm_source=Plugin&utm_medium=Dashboard%20Widget%20Post%20<?php echo esc_attr( $i ); ?>&utm_campaign=WP">
|
124 |
<?php echo esc_html( $post['title']['rendered'] ); ?>
|
125 |
</a>
|
126 |
</h4>
|
132 |
?>
|
133 |
|
134 |
<div class="rank-math-widget-footer">
|
135 |
+
<a target="_blank" href="https://rankmath.com/blog/?utm_source=Plugin&utm_medium=Dashboard%20Widget%20Blog&utm_campaign=WP">
|
136 |
<?php esc_html_e( 'Blog', 'rank-math' ); ?>
|
137 |
<span class="screen-reader-text"><?php esc_html_e( '(opens in a new window)', 'rank-math' ); ?></span>
|
138 |
<span aria-hidden="true" class="dashicons dashicons-external"></span>
|
139 |
</a>
|
140 |
+
<a target="_blank" href="https://rankmath.com/kb/?utm_source=Plugin&utm_medium=Dashboard%20Widget%20Help&utm_campaign=WP">
|
141 |
<?php esc_html_e( 'Help', 'rank-math' ); ?>
|
142 |
<span class="screen-reader-text"><?php esc_html_e( '(opens in a new window)', 'rank-math' ); ?></span>
|
143 |
<span aria-hidden="true" class="dashicons dashicons-external"></span>
|
144 |
</a>
|
145 |
<?php if ( ! defined( 'RANK_MATH_PRO_FILE' ) ) { ?>
|
146 |
+
<a target="_blank" href="https://rankmath.com/pricing/?utm_source=Plugin&utm_medium=Dashboard%20Widget%20PRO&utm_campaign=WP" class="rank-math-widget-go-pro">
|
147 |
<?php esc_html_e( 'Go Pro', 'rank-math' ); ?>
|
148 |
<span class="screen-reader-text"><?php esc_html_e( '(opens in a new window)', 'rank-math' ); ?></span>
|
149 |
<span aria-hidden="true" class="dashicons dashicons-external"></span>
|
@@ -145,8 +145,9 @@ class Ask_Review {
|
|
145 |
Helper::add_notification(
|
146 |
$message,
|
147 |
[
|
148 |
-
'type'
|
149 |
-
'id'
|
|
|
150 |
]
|
151 |
);
|
152 |
|
145 |
Helper::add_notification(
|
146 |
$message,
|
147 |
[
|
148 |
+
'type' => 'info',
|
149 |
+
'id' => 'rank_math_review_plugin_notice',
|
150 |
+
'capability' => 'install_plugins',
|
151 |
]
|
152 |
);
|
153 |
|
@@ -179,7 +179,7 @@ class Setup_Wizard {
|
|
179 |
* @param CMB2 $cmb CMB2 object.
|
180 |
*/
|
181 |
$this->do_action( 'wizard/settings/' . $this->step, $this->cmb );
|
182 |
-
|
183 |
CMB2::pre_init( $this->cmb );
|
184 |
}
|
185 |
|
179 |
* @param CMB2 $cmb CMB2 object.
|
180 |
*/
|
181 |
$this->do_action( 'wizard/settings/' . $this->step, $this->cmb );
|
182 |
+
|
183 |
CMB2::pre_init( $this->cmb );
|
184 |
}
|
185 |
|
@@ -34,6 +34,15 @@ include_once 'plugin-activation.php'; ?>
|
|
34 |
<ul class="rank-math-list-icon">
|
35 |
|
36 |
<li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
<a href="<?php KB::the( 'how-to-setup' ); ?>" target="_blank">
|
38 |
<i class="rm-icon rm-icon-settings"></i>
|
39 |
<div>
|
@@ -41,6 +50,7 @@ include_once 'plugin-activation.php'; ?>
|
|
41 |
<p><?php esc_html_e( 'How to Properly Setup Rank Math', 'rank-math' ); ?></p>
|
42 |
</div>
|
43 |
</a>
|
|
|
44 |
</li>
|
45 |
|
46 |
<li>
|
@@ -64,9 +74,6 @@ include_once 'plugin-activation.php'; ?>
|
|
64 |
</li>
|
65 |
|
66 |
</ul>
|
67 |
-
|
68 |
-
<a class="button button-secondary button-xlarge" href="<?php KB::the( 'rm-kb' ); ?>" target="_blank"><?php esc_html_e( 'Visit Knowledge Base', 'rank-math' ); ?></a>
|
69 |
-
|
70 |
</div>
|
71 |
|
72 |
</div>
|
@@ -92,29 +99,27 @@ include_once 'plugin-activation.php'; ?>
|
|
92 |
</li>
|
93 |
|
94 |
<li>
|
95 |
-
<a href="
|
96 |
-
<i class="rm-icon rm-icon-
|
97 |
<div>
|
98 |
-
<strong><?php esc_html_e( '
|
99 |
-
<p><?php esc_html_e( '
|
100 |
</div>
|
101 |
</a>
|
102 |
</li>
|
103 |
|
104 |
<li>
|
105 |
-
<a href="<?php KB::the( '
|
106 |
-
<i class="rm-icon rm-icon-
|
107 |
<div>
|
108 |
-
<strong><?php esc_html_e( '
|
109 |
-
<p><?php esc_html_e( '
|
110 |
</div>
|
111 |
</a>
|
112 |
</li>
|
113 |
|
114 |
</ul>
|
115 |
|
116 |
-
<a class="button button-secondary button-xlarge" href="<?php KB::the( 'rm-support' ); ?>" target="_blank"><?php esc_html_e( 'Visit Support Center', 'rank-math' ); ?></a>
|
117 |
-
|
118 |
</div>
|
119 |
|
120 |
</div>
|
34 |
<ul class="rank-math-list-icon">
|
35 |
|
36 |
<li>
|
37 |
+
<?php if ( ! defined( 'RANK_MATH_PRO_FILE' ) ) { ?>
|
38 |
+
<a href="<?php KB::the( 'pro-help-tab' ); ?>" target="_blank">
|
39 |
+
<i class="rm-icon rm-icon-star-filled"></i>
|
40 |
+
<div>
|
41 |
+
<strong><?php esc_html_e( 'Upgrade to PRO', 'rank-math' ); ?></strong>
|
42 |
+
<p><?php esc_html_e( 'Advanced Schema, Analytics and much more...', 'rank-math' ); ?></p>
|
43 |
+
</div>
|
44 |
+
</a>
|
45 |
+
<?php } else { ?>
|
46 |
<a href="<?php KB::the( 'how-to-setup' ); ?>" target="_blank">
|
47 |
<i class="rm-icon rm-icon-settings"></i>
|
48 |
<div>
|
50 |
<p><?php esc_html_e( 'How to Properly Setup Rank Math', 'rank-math' ); ?></p>
|
51 |
</div>
|
52 |
</a>
|
53 |
+
<?php } ?>
|
54 |
</li>
|
55 |
|
56 |
<li>
|
74 |
</li>
|
75 |
|
76 |
</ul>
|
|
|
|
|
|
|
77 |
</div>
|
78 |
|
79 |
</div>
|
99 |
</li>
|
100 |
|
101 |
<li>
|
102 |
+
<a href="<?php KB::the( 'rm-support' ); ?>" target="_blank">
|
103 |
+
<i class="rm-icon rm-icon-support"></i>
|
104 |
<div>
|
105 |
+
<strong><?php esc_html_e( 'Ticket Support', 'rank-math' ); ?></strong>
|
106 |
+
<p><?php esc_html_e( 'Direct help from our qualified support team', 'rank-math' ); ?></p>
|
107 |
</div>
|
108 |
</a>
|
109 |
</li>
|
110 |
|
111 |
<li>
|
112 |
+
<a href="<?php KB::the( 'help-affiliate' ); ?>" target="_blank">
|
113 |
+
<i class="rm-icon rm-icon-sitemap"></i>
|
114 |
<div>
|
115 |
+
<strong><?php esc_html_e( 'Affiliate Program', 'rank-math' ); ?></strong>
|
116 |
+
<p><?php esc_html_e( 'Earn flat 30% on every sale!', 'rank-math' ); ?></p>
|
117 |
</div>
|
118 |
</a>
|
119 |
</li>
|
120 |
|
121 |
</ul>
|
122 |
|
|
|
|
|
123 |
</div>
|
124 |
|
125 |
</div>
|
@@ -34,7 +34,7 @@ class Optimization implements Wizard_Step {
|
|
34 |
<p>
|
35 |
<?php
|
36 |
/* translators: Link to How to Optimization KB article */
|
37 |
-
printf( esc_html__( 'Automate some of your SEO tasks like making external links nofollow, redirecting attachment pages, etc
|
38 |
?>
|
39 |
</p>
|
40 |
</header>
|
34 |
<p>
|
35 |
<?php
|
36 |
/* translators: Link to How to Optimization KB article */
|
37 |
+
printf( esc_html__( 'Automate some of your SEO tasks like making external links nofollow, redirecting attachment pages, etc. %s', 'rank-math' ), '<a href="' . esc_url( KB::get( 'seo-tweaks' ) ) . '" target="_blank">' . esc_html__( 'Learn More', 'rank-math' ) . '</a>' );
|
38 |
?>
|
39 |
</p>
|
40 |
</header>
|
@@ -33,7 +33,7 @@ class Search_Console implements Wizard_Step {
|
|
33 |
<p>
|
34 |
<?php
|
35 |
/* translators: Link to How to Setup Google Search Console KB article */
|
36 |
-
printf( esc_html__( 'Rank Math automates everything, use below button to connect your site with Google Search Console and Google Analytics. It will verify your site and submit sitemaps automatically. %s', 'rank-math' ), '<a href="' . KB::get( 'analytics' ) . '" target="_blank">' . esc_html__( 'Read more about it here.', 'rank-math' ) . '</a>' );
|
37 |
?>
|
38 |
</p>
|
39 |
</header>
|
33 |
<p>
|
34 |
<?php
|
35 |
/* translators: Link to How to Setup Google Search Console KB article */
|
36 |
+
printf( esc_html__( 'Rank Math automates everything, use below button to connect your site with Google Search Console and Google Analytics. It will verify your site and submit sitemaps automatically. %s', 'rank-math' ), '<a href="' . esc_url( KB::get( 'sw-analytics-kb' ) ) . '" target="_blank">' . esc_html__( 'Read more about it here.', 'rank-math' ) . '</a>' );
|
37 |
?>
|
38 |
</p>
|
39 |
</header>
|
@@ -26,7 +26,7 @@ echo $authorize . $deauthorize;
|
|
26 |
<li><?php echo esc_attr__( 'Track page and keyword rankings with the Advanced Analytics module', 'rank-math' ); ?></li>
|
27 |
<li><?php echo esc_attr__( 'Easily set up Google Analytics without using another 3rd party plugin', 'rank-math' ); ?></li>
|
28 |
<li><?php echo esc_attr__( 'Automatically submit sitemaps to the Google Search Console', 'rank-math' ); ?></li>
|
29 |
-
<li><a href="<?php echo KB::get( 'analytics' ); ?>" target="_blank"><?php echo esc_html__( 'Learn more about the benefits of connecting your account here.', 'rank-math' ); ?></a></li>
|
30 |
</ul>
|
31 |
</div>
|
32 |
</div>
|
26 |
<li><?php echo esc_attr__( 'Track page and keyword rankings with the Advanced Analytics module', 'rank-math' ); ?></li>
|
27 |
<li><?php echo esc_attr__( 'Easily set up Google Analytics without using another 3rd party plugin', 'rank-math' ); ?></li>
|
28 |
<li><?php echo esc_attr__( 'Automatically submit sitemaps to the Google Search Console', 'rank-math' ); ?></li>
|
29 |
+
<li><a href="<?php echo KB::get( 'benefits-analytics-kb' ); ?>" target="_blank"><?php echo esc_html__( 'Learn more about the benefits of connecting your account here.', 'rank-math' ); ?></a></li>
|
30 |
</ul>
|
31 |
</div>
|
32 |
</div>
|
@@ -48,13 +48,17 @@ defined( 'ABSPATH' ) || exit;
|
|
48 |
<span class="dashicons dashicons-facebook"></span><a href="<?php KB::the( 'fb-group' ); ?>" target="_blank"><strong><?php esc_html_e( 'Join FREE Facebook Group', 'rank-math' ); ?></strong></a>
|
49 |
</li>
|
50 |
<li>
|
51 |
-
<span class="dashicons dashicons-welcome-learn-more"></span><a href="<?php KB::the( 'rm-kb' ); ?>" target="_blank"><?php esc_html_e( 'Rank Math Knowledge Base', 'rank-math' ); ?></a>
|
52 |
</li>
|
53 |
<li>
|
54 |
-
|
|
|
|
|
|
|
|
|
55 |
</li>
|
56 |
<li>
|
57 |
-
<span class="dashicons dashicons-sos"></span><a href="<?php KB::the( 'rm-support' ); ?>" target="_blank"><?php esc_html_e( 'Get 24x7 Support', 'rank-math' ); ?></a>
|
58 |
</li>
|
59 |
</ul>
|
60 |
</div>
|
48 |
<span class="dashicons dashicons-facebook"></span><a href="<?php KB::the( 'fb-group' ); ?>" target="_blank"><strong><?php esc_html_e( 'Join FREE Facebook Group', 'rank-math' ); ?></strong></a>
|
49 |
</li>
|
50 |
<li>
|
51 |
+
<span class="dashicons dashicons-welcome-learn-more"></span><a href="<?php KB::the( 'rm-kb-ready' ); ?>" target="_blank"><?php esc_html_e( 'Rank Math Knowledge Base', 'rank-math' ); ?></a>
|
52 |
</li>
|
53 |
<li>
|
54 |
+
<?php if ( ! defined( 'RANK_MATH_PRO_FILE' ) ) { ?>
|
55 |
+
<span class="dashicons dashicons-star-filled"></span><a href="<?php KB::the( 'pro-ready-step' ); ?>" target="_blank"><?php esc_html_e( 'Upgrade to PRO', 'rank-math' ); ?></a>
|
56 |
+
<?php } else { ?>
|
57 |
+
<span class="dashicons dashicons-video-alt3"></span><a href="<?php KB::the( 'yt-link' ); ?>" target="_blank"><?php esc_html_e( 'Subscribe to Our YouTube Channel', 'rank-math' ); ?></a>
|
58 |
+
<?php } ?>
|
59 |
</li>
|
60 |
<li>
|
61 |
+
<span class="dashicons dashicons-sos"></span><a href="<?php KB::the( 'rm-support-ready' ); ?>" target="_blank"><?php esc_html_e( 'Get 24x7 Support', 'rank-math' ); ?></a>
|
62 |
</li>
|
63 |
</ul>
|
64 |
</div>
|
@@ -115,7 +115,7 @@ $analytic_classes = Helper::classnames(
|
|
115 |
Permissions::print_warning();
|
116 |
} ?>
|
117 |
|
118 |
-
<p class="warning yellow"><strong class="warning"><?php echo esc_attr( 'Notice:', 'rank-math' ); ?></strong> <?php echo wp_kses_post( 'Not seeing your website that uses Google Analytics 4? <a href="https://rankmath.com/kb/using-ga4/?utm_source=Plugin&utm_campaign=WP" target="_blank">Click here to know how to fix the issue</a>.', 'rank-math' ); ?></p>
|
119 |
|
120 |
<div class="cmb-row cmb-type-select">
|
121 |
<div class="cmb-row-col">
|
115 |
Permissions::print_warning();
|
116 |
} ?>
|
117 |
|
118 |
+
<p class="warning yellow"><strong class="warning"><?php echo esc_attr( 'Notice:', 'rank-math' ); ?></strong> <?php echo wp_kses_post( 'Not seeing your website that uses Google Analytics 4? <a href="https://rankmath.com/kb/using-ga4/?utm_source=Plugin&utm_medium=Analytics%20GA4%20KB&utm_campaign=WP" target="_blank">Click here to know how to fix the issue</a>.', 'rank-math' ); ?></p>
|
119 |
|
120 |
<div class="cmb-row cmb-type-select">
|
121 |
<div class="cmb-row-col">
|
@@ -34,7 +34,7 @@ defined( 'ABSPATH' ) || exit;
|
|
34 |
],
|
35 |
];
|
36 |
/* translators: help link */
|
37 |
-
printf( wp_kses( __( 'If you are new to Rank Math, <a href="
|
38 |
?>
|
39 |
</header>
|
40 |
|
@@ -45,15 +45,15 @@ defined( 'ABSPATH' ) || exit;
|
|
45 |
</div>
|
46 |
<div class="rank-math-tabs-content rank-math-custom">
|
47 |
<div id="help-panel-video" class="rank-math-tab">
|
48 |
-
<a href="<?php KB::the( 'your-site' ); ?>" target="_blank" style="font-size: 15px; border-bottom: 1px dashed;">
|
49 |
-
<?php
|
50 |
</a>
|
51 |
</div>
|
52 |
<div id="help-panel-knowledge" class="rank-math-tab">
|
53 |
<div class="search-form wp-core-ui rank-math-ui">
|
54 |
<label for="rank-math-search-input"><?php esc_html_e( 'Search the Knowledge Base for answers to your questions:', 'rank-math' ); ?></label>
|
55 |
<input type="text" class="regular-text" id="rank-math-search-input" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" placeholder="<?php esc_attr_e( 'Type here to search...', 'rank-math' ); ?>" value="">
|
56 |
-
<a data-href="https://rankmath.com/kb/wordpress/seo-suite/?ht-kb-search=1&lang=<?php echo get_locale(); ?>&s=" target="_blank" class="button button-primary"><?php esc_html_e( 'Search', 'rank-math' ); ?></a>
|
57 |
</div>
|
58 |
</div>
|
59 |
</div>
|
34 |
],
|
35 |
];
|
36 |
/* translators: help link */
|
37 |
+
printf( wp_kses( __( 'If you are new to Rank Math, <a href="#" data-target="rank-math-wizard-tabs" class="rank-math-collapsible-trigger">click here</a> to learn more.', 'rank-math' ), $allowed_html ) );
|
38 |
?>
|
39 |
</header>
|
40 |
|
45 |
</div>
|
46 |
<div class="rank-math-tabs-content rank-math-custom">
|
47 |
<div id="help-panel-video" class="rank-math-tab">
|
48 |
+
<a href="<?php KB::the( 'how-to-setup-your-site' ); ?>" target="_blank" style="font-size: 15px; border-bottom: 1px dashed;">
|
49 |
+
<?php echo esc_html_e( 'Click here to learn how to setup Rank Math properly', 'rank-math' ); ?>
|
50 |
</a>
|
51 |
</div>
|
52 |
<div id="help-panel-knowledge" class="rank-math-tab">
|
53 |
<div class="search-form wp-core-ui rank-math-ui">
|
54 |
<label for="rank-math-search-input"><?php esc_html_e( 'Search the Knowledge Base for answers to your questions:', 'rank-math' ); ?></label>
|
55 |
<input type="text" class="regular-text" id="rank-math-search-input" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" placeholder="<?php esc_attr_e( 'Type here to search...', 'rank-math' ); ?>" value="">
|
56 |
+
<a data-href="https://rankmath.com/kb/wordpress/seo-suite/?ht-kb-search=1&lang=<?php echo get_locale(); ?>&utm_source=Plugin&utm_medium=SW%20Your%20Site%20Search&utm_campaign=WP&s=" target="_blank" class="button button-primary"><?php esc_html_e( 'Search', 'rank-math' ); ?></a>
|
57 |
</div>
|
58 |
</div>
|
59 |
</div>
|
@@ -29,78 +29,87 @@ class KB {
|
|
29 |
private $links = [
|
30 |
'pro-general-g' => 'https://rankmath.com/pricing/?utm_source=Plugin&utm_medium=Gutenberg%20General%20Tab%20Notice&utm_campaign=WP',
|
31 |
'pro-general-ce' => 'https://rankmath.com/pricing/?utm_source=Plugin&utm_medium=CE%20General%20Tab%20Notice&utm_campaign=WP',
|
|
|
|
|
|
|
32 |
'seo-suite' => 'https://rankmath.com/?utm_source=Plugin&utm_campaign=WP',
|
33 |
'logo' => 'https://rankmath.com/wordpress/plugin/seo-suite/?utm_source=Plugin&utm_campaign=WP',
|
34 |
'rm-privacy' => 'https://rankmath.com/privacy-policy/?utm_source=Plugin&utm_campaign=WP',
|
35 |
'usage-policy' => 'https://rankmath.com/usage-tracking/?utm_source=Plugin&utm_medium=Analytics%20Privacy%20Notice&utm_campaign=WP',
|
36 |
'free-account' => 'https://rankmath.com/#signup',
|
37 |
'free-account-benefits' => 'https://rankmath.com/kb/free-account-benefits/?utm_source=Plugin&utm_campaign=WP',
|
38 |
-
'
|
39 |
'article' => 'https://developers.google.com/search/docs/data-types/article/?utm_campaign=Rank+Math',
|
40 |
-
'how-to-setup' => 'https://rankmath.com/kb/how-to-setup/?utm_source=Plugin&utm_campaign=WP',
|
41 |
-
'
|
42 |
-
'
|
43 |
-
'seo-
|
44 |
-
'
|
45 |
-
'
|
46 |
-
'
|
47 |
-
'
|
48 |
-
'
|
49 |
-
'
|
50 |
-
'
|
51 |
-
'
|
52 |
-
'
|
53 |
-
'
|
54 |
-
'
|
55 |
-
'
|
56 |
-
'
|
57 |
-
'
|
58 |
-
'
|
59 |
-
'
|
|
|
|
|
|
|
|
|
60 |
'score-100-ge' => 'https://rankmath.com/kb/score-100-in-tests/?utm_source=Plugin&utm_medium=Gutenberg&utm_campaign=WP',
|
61 |
-
'toc' => 'https://rankmath.com/kb/score-100-in-tests
|
62 |
-
'content-length' => 'https://rankmath.com/kb/score-100-in-tests
|
63 |
'sentiments' => 'https://monkeylearn.com/sentiment-analysis/?utm_campaign=Rank+Math',
|
64 |
'rm-requirements' => 'https://rankmath.com/kb/requirements/?utm_source=Plugin&utm_campaign=WP',
|
65 |
-
'rm-kb' => 'https://rankmath.com/kb/wordpress/seo-suite/?utm_source=Plugin&utm_campaign=WP',
|
|
|
66 |
'fix-404' => 'https://rankmath.com/kb/fix-404-errors/?utm_source=Plugin&utm_campaign=WP',
|
67 |
'import-export-settings' => 'https://rankmath.com/kb/import-export-settings/?utm_source=Plugin&utm_campaign=WP',
|
68 |
-
'social-tab' => 'https://rankmath.com/kb/meta-box-social-tab/?utm_source=Plugin&utm_campaign=WP',
|
69 |
'404-monitor' => 'https://rankmath.com/kb/monitor-404-errors/?utm_source=Plugin&utm_campaign=WP',
|
70 |
-
'redirections' => 'https://rankmath.com/kb/setting-up-redirections/?utm_source=Plugin&utm_campaign=WP',
|
71 |
'role-manager' => 'https://rankmath.com/kb/role-manager/?utm_source=Plugin&utm_campaign=WP',
|
72 |
'analytics-kb' => 'https://rankmath.com/kb/search-console/?utm_source=Plugin&utm_campaign=WP',
|
73 |
'rich-snippets' => 'https://rankmath.com/kb/rich-snippets/?utm_source=Plugin&utm_campaign=WP',
|
74 |
'seo-analysis' => 'https://rankmath.com/kb/seo-analysis/?utm_source=Plugin&utm_campaign=WP',
|
75 |
-
'rm-support' => 'https://
|
|
|
76 |
'review-rm' => 'https://wordpress.org/support/plugin/seo-by-rank-math/reviews/?rate=5#new-post',
|
77 |
'fb-group' => 'https://www.facebook.com/groups/rankmathseopluginwordpress/',
|
78 |
'tw-link' => 'https://twitter.com/rankmathseo',
|
79 |
'fb-link' => 'https://www.facebook.com/rankmath/',
|
80 |
-
'configure-sitemaps' => 'https://rankmath.com/kb/configure-sitemaps/?utm_source=Plugin&utm_campaign=WP',
|
81 |
-
'sitemap-general' => 'https://rankmath.com/kb/configure-sitemaps
|
82 |
-
'sitemap-posts' => 'https://rankmath.com/kb/configure-sitemaps
|
83 |
-
'sitemap-pages' => 'https://rankmath.com/kb/configure-sitemaps
|
84 |
-
'sitemap-media' => 'https://rankmath.com/kb/configure-sitemaps
|
85 |
-
'sitemap-product' => 'https://rankmath.com/kb/configure-sitemaps
|
86 |
-
'sitemap-category' => 'https://rankmath.com/kb/configure-sitemaps
|
87 |
-
'sitemap-tag' => 'https://rankmath.com/kb/configure-sitemaps
|
88 |
-
'sitemap-product_cat' => 'https://rankmath.com/kb/configure-sitemaps
|
89 |
-
'sitemap-product_tag' => 'https://rankmath.com/kb/configure-sitemaps
|
90 |
'titles-meta' => 'https://rankmath.com/kb/titles-and-meta/?utm_source=Plugin&utm_campaign=WP',
|
91 |
'local-seo-settings' => 'https://rankmath.com/kb/local-seo/?utm_source=Plugin&utm_campaign=WP',
|
92 |
-
'social-meta-settings' => 'https://rankmath.com/kb/titles-and-meta
|
93 |
-
'homepage-settings' => 'https://rankmath.com/kb/titles-and-meta
|
94 |
-
'author-settings' => 'https://rankmath.com/kb/titles-and-meta
|
95 |
-
'misc-settings' => 'https://rankmath.com/kb/titles-and-meta
|
96 |
-
'post-settings' => 'https://rankmath.com/kb/titles-and-meta
|
97 |
-
'page-settings' => 'https://rankmath.com/kb/titles-and-meta
|
98 |
-
'media-settings' => 'https://rankmath.com/kb/titles-and-meta
|
99 |
-
'product-settings' => 'https://rankmath.com/kb/titles-and-meta
|
100 |
-
'category-settings' => 'https://rankmath.com/kb/titles-and-meta
|
101 |
-
'tag-settings' => 'https://rankmath.com/kb/titles-and-meta
|
102 |
-
'product-categories-settings' => 'https://rankmath.com/kb/titles-and-meta
|
103 |
-
'product-tags-settings' => 'https://rankmath.com/kb/titles-and-meta
|
104 |
'version-control' => 'https://rankmath.com/kb/version-control/?utm_source=Plugin&utm_campaign=WP',
|
105 |
'general-settings' => 'https://rankmath.com/kb/general-settings/?utm_source=Plugin&utm_campaign=WP',
|
106 |
'google-api-key' => 'https://rankmath.com/kb/how-to-get-a-google-api-key/?utm_source=Plugin&utm_campaign=WP',
|
29 |
private $links = [
|
30 |
'pro-general-g' => 'https://rankmath.com/pricing/?utm_source=Plugin&utm_medium=Gutenberg%20General%20Tab%20Notice&utm_campaign=WP',
|
31 |
'pro-general-ce' => 'https://rankmath.com/pricing/?utm_source=Plugin&utm_medium=CE%20General%20Tab%20Notice&utm_campaign=WP',
|
32 |
+
'pro-help-tab' => 'https://rankmath.com/pricing/?utm_source=Plugin&utm_medium=Help%20Tab%20PRO%20Link&utm_campaign=WP',
|
33 |
+
'pro-ready-step' => 'https://rankmath.com/pricing/?utm_source=Plugin&utm_medium=SW%20Ready%20Step%20Upgrade&utm_campaign=WP',
|
34 |
+
'help-affiliate' => 'https://rankmath.com/affiliates/?utm_source=Plugin&utm_medium=Help%20Tab%20Aff%20Link&utm_campaign=WP',
|
35 |
'seo-suite' => 'https://rankmath.com/?utm_source=Plugin&utm_campaign=WP',
|
36 |
'logo' => 'https://rankmath.com/wordpress/plugin/seo-suite/?utm_source=Plugin&utm_campaign=WP',
|
37 |
'rm-privacy' => 'https://rankmath.com/privacy-policy/?utm_source=Plugin&utm_campaign=WP',
|
38 |
'usage-policy' => 'https://rankmath.com/usage-tracking/?utm_source=Plugin&utm_medium=Analytics%20Privacy%20Notice&utm_campaign=WP',
|
39 |
'free-account' => 'https://rankmath.com/#signup',
|
40 |
'free-account-benefits' => 'https://rankmath.com/kb/free-account-benefits/?utm_source=Plugin&utm_campaign=WP',
|
41 |
+
'yt-link' => 'http://youtube.com/rankmath',
|
42 |
'article' => 'https://developers.google.com/search/docs/data-types/article/?utm_campaign=Rank+Math',
|
43 |
+
'how-to-setup' => 'https://rankmath.com/kb/how-to-setup/?utm_source=Plugin&utm_medium=Help%20Tab%20Setup%20KB&utm_campaign=WP',
|
44 |
+
'how-to-setup-your-site' => 'https://rankmath.com/kb/how-to-setup/?utm_source=Plugin&utm_medium=SW%20Your%20Site%20Setup%20KB&utm_campaign=WP',
|
45 |
+
'seo-import' => 'https://rankmath.com/kb/how-to-setup/?utm_source=Plugin&utm_medium=Help%20Tab%20Import%20KB&utm_campaign=WP#import-data',
|
46 |
+
'seo-import-sw' => 'https://rankmath.com/kb/how-to-setup/?utm_source=Plugin&utm_medium=SW%20Import%20KB&utm_campaign=WP#import-data',
|
47 |
+
'local-seo' => 'https://rankmath.com/kb/how-to-setup/?utm_source=Plugin&utm_campaign=WP#easy-and-advanced-mode',
|
48 |
+
'seo-tweaks' => 'https://rankmath.com/kb/how-to-setup/?utm_source=Plugin&utm_medium=SW%20Optimization%20Step&utm_campaign=WP#optimization',
|
49 |
+
'sw-analytics-kb' => 'https://rankmath.com/kb/analytics/?utm_source=Plugin&utm_medium=SW%20Analytics%20Step%20Description&utm_campaign=WP',
|
50 |
+
'benefits-analytics-kb' => 'https://rankmath.com/kb/analytics/?utm_source=Plugin&utm_medium=SW%20Analytics%20Step%20Benefits&utm_campaign=WP',
|
51 |
+
'seo-analysis-gsc-test' => 'https://rankmath.com/kb/analytics/?utm_source=Plugin&utm_medium=SEO%20Analysis%20GSC%20Test&utm_campaign=WP',
|
52 |
+
'remove-category-base' => 'https://rankmath.com/kb/general-settings/?utm_source=Plugin&utm_campaign=WP#strip-category-base',
|
53 |
+
'link-settings' => 'https://rankmath.com/kb/general-settings/?utm_source=Plugin&utm_campaign=WP#links',
|
54 |
+
'image-settings' => 'https://rankmath.com/kb/general-settings/?utm_source=Plugin&utm_campaign=WP#images',
|
55 |
+
'breadcrumbs' => 'https://rankmath.com/kb/general-settings/?utm_source=Plugin&utm_campaign=WP#breadcrumbs',
|
56 |
+
'webmaster-tools' => 'https://rankmath.com/kb/general-settings/?utm_source=Plugin&utm_campaign=WP#webmaster-tools',
|
57 |
+
'edit-robotstxt' => 'https://rankmath.com/kb/general-settings/?utm_source=Plugin&utm_campaign=WP#edit-robotstxt',
|
58 |
+
'edit-htaccess' => 'https://rankmath.com/kb/general-settings/?utm_source=Plugin&utm_campaign=WP#edit-htaccess',
|
59 |
+
'woocommerce-settings' => 'https://rankmath.com/kb/general-settings/?utm_source=Plugin&utm_campaign=WP#woo-commerce',
|
60 |
+
'404-monitor-settings' => 'https://rankmath.com/kb/general-settings/?utm_source=Plugin&utm_campaign=WP#404-monitor',
|
61 |
+
'redirections-settings' => 'https://rankmath.com/kb/general-settings/?utm_source=Plugin&utm_campaign=WP#redirections',
|
62 |
+
'analytics-settings' => 'https://rankmath.com/kb/general-settings/?utm_source=Plugin&utm_campaign=WP#search-console',
|
63 |
+
'other-settings' => 'https://rankmath.com/kb/general-settings/?utm_source=Plugin&utm_campaign=WP#others',
|
64 |
+
'score-100-sw' => 'https://rankmath.com/kb/score-100-in-tests/?utm_source=Plugin&utm_medium=SW&utm_campaign=WP',
|
65 |
+
'score-100-dh' => 'https://rankmath.com/kb/score-100-in-tests/?utm_source=Plugin&utm_medium=Help%20Tab%20Score%20KB&utm_campaign=WP',
|
66 |
+
'score-100-ce' => 'https://rankmath.com/kb/score-100-in-tests/?utm_source=Plugin&utm_medium=CE%20General%20Tab%20Score%20Notice&utm_campaign=WP',
|
67 |
'score-100-ge' => 'https://rankmath.com/kb/score-100-in-tests/?utm_source=Plugin&utm_medium=Gutenberg&utm_campaign=WP',
|
68 |
+
'toc' => 'https://rankmath.com/kb/score-100-in-tests/?utm_source=Plugin&utm_campaign=WP#table-of-contents',
|
69 |
+
'content-length' => 'https://rankmath.com/kb/score-100-in-tests/?utm_source=Plugin&utm_campaign=WP#content-length',
|
70 |
'sentiments' => 'https://monkeylearn.com/sentiment-analysis/?utm_campaign=Rank+Math',
|
71 |
'rm-requirements' => 'https://rankmath.com/kb/requirements/?utm_source=Plugin&utm_campaign=WP',
|
72 |
+
'rm-kb' => 'https://rankmath.com/kb/wordpress/seo-suite/?utm_source=Plugin&utm_medium=Help%20Tab%20KB%20Link&utm_campaign=WP',
|
73 |
+
'rm-kb-ready' => 'https://rankmath.com/kb/wordpress/seo-suite/?utm_source=Plugin&utm_medium=SW%20Ready%20Step%20KB&utm_campaign=WP',
|
74 |
'fix-404' => 'https://rankmath.com/kb/fix-404-errors/?utm_source=Plugin&utm_campaign=WP',
|
75 |
'import-export-settings' => 'https://rankmath.com/kb/import-export-settings/?utm_source=Plugin&utm_campaign=WP',
|
76 |
+
'social-tab' => 'https://rankmath.com/kb/meta-box-social-tab/?utm_source=Plugin&utm_medium=CE%20Social%20Tab&utm_campaign=WP',
|
77 |
'404-monitor' => 'https://rankmath.com/kb/monitor-404-errors/?utm_source=Plugin&utm_campaign=WP',
|
78 |
+
'redirections' => 'https://rankmath.com/kb/setting-up-redirections/?utm_source=Plugin&utm_medium=SW%20Redirection%20Step&utm_campaign=WP',
|
79 |
'role-manager' => 'https://rankmath.com/kb/role-manager/?utm_source=Plugin&utm_campaign=WP',
|
80 |
'analytics-kb' => 'https://rankmath.com/kb/search-console/?utm_source=Plugin&utm_campaign=WP',
|
81 |
'rich-snippets' => 'https://rankmath.com/kb/rich-snippets/?utm_source=Plugin&utm_campaign=WP',
|
82 |
'seo-analysis' => 'https://rankmath.com/kb/seo-analysis/?utm_source=Plugin&utm_campaign=WP',
|
83 |
+
'rm-support' => 'https://rankmath.com/support/?utm_source=Plugin&utm_medium=Help%20Tab%20Ticket&utm_campaign=WP',
|
84 |
+
'rm-support-ready' => 'https://rankmath.com/support/?utm_source=Plugin&utm_medium=SW%20Ready%20Step%20Support&utm_campaign=WP',
|
85 |
'review-rm' => 'https://wordpress.org/support/plugin/seo-by-rank-math/reviews/?rate=5#new-post',
|
86 |
'fb-group' => 'https://www.facebook.com/groups/rankmathseopluginwordpress/',
|
87 |
'tw-link' => 'https://twitter.com/rankmathseo',
|
88 |
'fb-link' => 'https://www.facebook.com/rankmath/',
|
89 |
+
'configure-sitemaps' => 'https://rankmath.com/kb/configure-sitemaps/?utm_source=Plugin&utm_medium=SW%20Sitemap%20Step&utm_campaign=WP',
|
90 |
+
'sitemap-general' => 'https://rankmath.com/kb/configure-sitemaps/?utm_source=Plugin&utm_campaign=WP#general',
|
91 |
+
'sitemap-posts' => 'https://rankmath.com/kb/configure-sitemaps/?utm_source=Plugin&utm_campaign=WP#posts',
|
92 |
+
'sitemap-pages' => 'https://rankmath.com/kb/configure-sitemaps/?utm_source=Plugin&utm_campaign=WP#pages',
|
93 |
+
'sitemap-media' => 'https://rankmath.com/kb/configure-sitemaps/?utm_source=Plugin&utm_campaign=WP#media',
|
94 |
+
'sitemap-product' => 'https://rankmath.com/kb/configure-sitemaps/?utm_source=Plugin&utm_campaign=WP#products',
|
95 |
+
'sitemap-category' => 'https://rankmath.com/kb/configure-sitemaps/?utm_source=Plugin&utm_campaign=WP#categories',
|
96 |
+
'sitemap-tag' => 'https://rankmath.com/kb/configure-sitemaps/?utm_source=Plugin&utm_campaign=WP#tags',
|
97 |
+
'sitemap-product_cat' => 'https://rankmath.com/kb/configure-sitemaps/?utm_source=Plugin&utm_campaign=WP#product-categories',
|
98 |
+
'sitemap-product_tag' => 'https://rankmath.com/kb/configure-sitemaps/?utm_source=Plugin&utm_campaign=WP#product-tags',
|
99 |
'titles-meta' => 'https://rankmath.com/kb/titles-and-meta/?utm_source=Plugin&utm_campaign=WP',
|
100 |
'local-seo-settings' => 'https://rankmath.com/kb/local-seo/?utm_source=Plugin&utm_campaign=WP',
|
101 |
+
'social-meta-settings' => 'https://rankmath.com/kb/titles-and-meta/?utm_source=Plugin&utm_campaign=WP#social-meta',
|
102 |
+
'homepage-settings' => 'https://rankmath.com/kb/titles-and-meta/?utm_source=Plugin&utm_campaign=WP#homepage',
|
103 |
+
'author-settings' => 'https://rankmath.com/kb/titles-and-meta/?utm_source=Plugin&utm_campaign=WP#authors',
|
104 |
+
'misc-settings' => 'https://rankmath.com/kb/titles-and-meta/?utm_source=Plugin&utm_campaign=WP#misc-pages',
|
105 |
+
'post-settings' => 'https://rankmath.com/kb/titles-and-meta/?utm_source=Plugin&utm_campaign=WP#Posts',
|
106 |
+
'page-settings' => 'https://rankmath.com/kb/titles-and-meta/?utm_source=Plugin&utm_campaign=WP#pages',
|
107 |
+
'media-settings' => 'https://rankmath.com/kb/titles-and-meta/?utm_source=Plugin&utm_campaign=WP#media',
|
108 |
+
'product-settings' => 'https://rankmath.com/kb/titles-and-meta/?utm_source=Plugin&utm_campaign=WP#products',
|
109 |
+
'category-settings' => 'https://rankmath.com/kb/titles-and-meta/?utm_source=Plugin&utm_campaign=WP#categories',
|
110 |
+
'tag-settings' => 'https://rankmath.com/kb/titles-and-meta/?utm_source=Plugin&utm_campaign=WP#tags',
|
111 |
+
'product-categories-settings' => 'https://rankmath.com/kb/titles-and-meta/?utm_source=Plugin&utm_campaign=WP#product-categories',
|
112 |
+
'product-tags-settings' => 'https://rankmath.com/kb/titles-and-meta/?utm_source=Plugin&utm_campaign=WP#product-tags',
|
113 |
'version-control' => 'https://rankmath.com/kb/version-control/?utm_source=Plugin&utm_campaign=WP',
|
114 |
'general-settings' => 'https://rankmath.com/kb/general-settings/?utm_source=Plugin&utm_campaign=WP',
|
115 |
'google-api-key' => 'https://rankmath.com/kb/how-to-get-a-google-api-key/?utm_source=Plugin&utm_campaign=WP',
|
@@ -252,6 +252,16 @@ class Head {
|
|
252 |
* Output the meta keywords value.
|
253 |
*/
|
254 |
public function metakeywords() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
255 |
$keywords = Paper::get()->get_keywords();
|
256 |
if ( Str::is_non_empty( $keywords ) ) {
|
257 |
echo '<meta name="keywords" content="', esc_attr( $keywords ), '"/>', "\n";
|
252 |
* Output the meta keywords value.
|
253 |
*/
|
254 |
public function metakeywords() {
|
255 |
+
/**
|
256 |
+
* Passing a truthy value to the filter will effectively short-circuit the
|
257 |
+
* set keywords process.
|
258 |
+
*
|
259 |
+
* @param bool $return Short-circuit return value. Either false or true.
|
260 |
+
*/
|
261 |
+
if ( ! $this->do_filter( 'frontend/show_keywords', false ) ) {
|
262 |
+
return;
|
263 |
+
}
|
264 |
+
|
265 |
$keywords = Paper::get()->get_keywords();
|
266 |
if ( Str::is_non_empty( $keywords ) ) {
|
267 |
echo '<meta name="keywords" content="', esc_attr( $keywords ), '"/>', "\n";
|
@@ -311,16 +311,6 @@ class Paper {
|
|
311 |
* @return string
|
312 |
*/
|
313 |
public function get_keywords() {
|
314 |
-
/**
|
315 |
-
* Passing a truthy value to the filter will effectively short-circuit the
|
316 |
-
* set keywords process.
|
317 |
-
*
|
318 |
-
* @param bool $return Short-circuit return value. Either false or true.
|
319 |
-
*/
|
320 |
-
if ( ! $this->do_filter( 'frontend/show_keywords', false ) ) {
|
321 |
-
return false;
|
322 |
-
}
|
323 |
-
|
324 |
if ( ! is_null( $this->keywords ) ) {
|
325 |
return $this->keywords;
|
326 |
}
|
311 |
* @return string
|
312 |
*/
|
313 |
public function get_keywords() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
314 |
if ( ! is_null( $this->keywords ) ) {
|
315 |
return $this->keywords;
|
316 |
}
|
@@ -41,13 +41,22 @@ trait Conditional {
|
|
41 |
* @param string $id Module ID.
|
42 |
* @return boolean
|
43 |
*/
|
44 |
-
public static function is_module_active( $id ) {
|
45 |
$active_modules = get_option( 'rank_math_modules', [] );
|
46 |
-
if ( ! is_array( $active_modules ) ||
|
47 |
return false;
|
48 |
}
|
49 |
|
50 |
-
return in_array( $id, $active_modules, true ) && array_key_exists( $id, rank_math()->manager->modules );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
}
|
52 |
|
53 |
/**
|
41 |
* @param string $id Module ID.
|
42 |
* @return boolean
|
43 |
*/
|
44 |
+
public static function is_module_active( $id, $check_registered = true ) {
|
45 |
$active_modules = get_option( 'rank_math_modules', [] );
|
46 |
+
if ( ! is_array( $active_modules ) || ( $check_registered && ! self::is_plugin_ready() ) ) {
|
47 |
return false;
|
48 |
}
|
49 |
|
50 |
+
return in_array( $id, $active_modules, true ) && ( ! $check_registered || array_key_exists( $id, rank_math()->manager->modules ) );
|
51 |
+
}
|
52 |
+
|
53 |
+
/**
|
54 |
+
* Check if Rank Math manager is ready.
|
55 |
+
*
|
56 |
+
* @return boolean
|
57 |
+
*/
|
58 |
+
public static function is_plugin_ready() {
|
59 |
+
return ( isset( rank_math()->manager ) && ! is_null( rank_math()->manager ) );
|
60 |
}
|
61 |
|
62 |
/**
|
@@ -324,6 +324,10 @@ trait WordPress {
|
|
324 |
$screen = get_current_screen();
|
325 |
$robots = Helper::get_settings( 'titles.robots_global', [] );
|
326 |
|
|
|
|
|
|
|
|
|
327 |
if ( 'post' === $screen->base && Helper::get_settings( "titles.pt_{$screen->post_type}_custom_robots" ) ) {
|
328 |
$robots = Helper::get_settings( "titles.pt_{$screen->post_type}_robots", [] );
|
329 |
}
|
324 |
$screen = get_current_screen();
|
325 |
$robots = Helper::get_settings( 'titles.robots_global', [] );
|
326 |
|
327 |
+
if ( ! is_object( $screen ) ) {
|
328 |
+
return $robots;
|
329 |
+
}
|
330 |
+
|
331 |
if ( 'post' === $screen->base && Helper::get_settings( "titles.pt_{$screen->post_type}_custom_robots" ) ) {
|
332 |
$robots = Helper::get_settings( "titles.pt_{$screen->post_type}_robots", [] );
|
333 |
}
|
@@ -63,11 +63,18 @@ class Manager {
|
|
63 |
* @param string $state Module state.
|
64 |
*/
|
65 |
public function watch_for_analytics( $module, $state ) {
|
66 |
-
if (
|
67 |
return;
|
68 |
}
|
69 |
|
70 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
71 |
}
|
72 |
|
73 |
/**
|
63 |
* @param string $state Module state.
|
64 |
*/
|
65 |
public function watch_for_analytics( $module, $state ) {
|
66 |
+
if ( 'analytics' !== $module ) {
|
67 |
return;
|
68 |
}
|
69 |
|
70 |
+
if ( 'on' !== $state ) {
|
71 |
+
// Kill all workflows.
|
72 |
+
as_unschedule_all_actions( 'rank_math/analytics/data_fetch' );
|
73 |
+
\RankMath\Analytics\Workflow\Workflow::kill_workflows();
|
74 |
+
return;
|
75 |
+
}
|
76 |
+
|
77 |
+
( new \RankMath\Analytics\Workflow\Objects() )->create_data_job();
|
78 |
}
|
79 |
|
80 |
/**
|
@@ -1 +1 @@
|
|
1 |
-
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.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 o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));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=363)}([function(e,t,n){e.exports=n(180)()},function(e,t){e.exports=React},function(e,t){e.exports=wp.i18n},function(e,t){e.exports=lodash},function(e,t){e.exports=wp.element},function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)&&r.length){var i=o.apply(null,r);i&&e.push(i)}else if("object"===a)for(var c in r)n.call(r,c)&&r[c]&&e.push(c)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){var r=n(25),o=n(13);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},function(e,t){e.exports=wp.components},function(e,t){e.exports=wp.data},function(e,t){e.exports=function(e){return null==e}},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){var r=n(22),o=n(42),a=n(98),i=n(102),c=n(105),u=function(e,t,n){var s,l,f,p,h=e&u.F,d=e&u.G,m=e&u.S,y=e&u.P,v=e&u.B,b=d?r:m?r[t]||(r[t]={}):(r[t]||{}).prototype,g=d?o:o[t]||(o[t]={}),w=g.prototype||(g.prototype={});for(s in d&&(n=t),n)f=((l=!h&&b&&void 0!==b[s])?b:n)[s],p=v&&l?c(f,r):y&&"function"==typeof f?c(Function.call,f):f,b&&i(b,s,f,e&u.U),g[s]!=f&&a(g,s,p),y&&w[s]!=f&&(w[s]=f)};r.core=o,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},function(e,t){e.exports=wp.hooks},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t){e.exports=wp.apiFetch},function(e,t,n){var r=n(85);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},function(e,t,n){"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}n.d(t,"a",(function(){return r}))},function(e,t,n){var r=n(77);e.exports=function(e,t){return r(e,t)}},function(e,t,n){var r=n(236),o=n(289),a=n(38),i=n(10),c=n(298);e.exports=function(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?i(e)?o(e[0],e[1]):r(e):c(e)}},function(e,t,n){var r=n(112),o="object"==typeof self&&self&&self.Object===Object&&self,a=r||o||Function("return this")();e.exports=a},function(e,t,n){var r=n(25),o=n(10),a=n(23);e.exports=function(e){return"string"==typeof e||!o(e)&&a(e)&&"[object String]"==r(e)}},function(e,t,n){var r=n(58),o=n(141),a=n(38);e.exports=function(e){return e&&e.length?r(e,a,o):void 0}},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(43),o=n(234),a=n(235),i=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":i&&i in Object(e)?o(e):a(e)}},function(e,t){e.exports=moment},function(e,t,n){var r=n(30);e.exports=function(e){return r(e)&&e!=+e}},function(e,t,n){(function(t){for(var r=n(307),o="undefined"==typeof window?t:window,a=["moz","webkit"],i="AnimationFrame",c=o["request"+i],u=o["cancel"+i]||o["cancelRequest"+i],s=0;!c&&s<a.length;s++)c=o[a[s]+"Request"+i],u=o[a[s]+"Cancel"+i]||o[a[s]+"CancelRequest"+i];if(!c||!u){var l=0,f=0,p=[];c=function(e){if(0===p.length){var t=r(),n=Math.max(0,16.666666666666668-(t-l));l=n+t,setTimeout((function(){var e=p.slice(0);p.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(l)}catch(e){setTimeout((function(){throw e}),0)}}),Math.round(n))}return p.push({handle:++f,callback:e,cancelled:!1}),f},u=function(e){for(var t=0;t<p.length;t++)p[t].handle===e&&(p[t].cancelled=!0)}}e.exports=function(e){return c.call(o,e)},e.exports.cancel=function(){u.apply(o,arguments)},e.exports.polyfill=function(e){e||(e=o),e.requestAnimationFrame=c,e.cancelAnimationFrame=u}}).call(this,n(33))},function(e,t,n){var r=n(248),o=n(251);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},function(e,t,n){var r=n(25),o=n(23);e.exports=function(e){return"number"==typeof e||o(e)&&"[object Number]"==r(e)}},function(e,t,n){var r=n(138),o=n(330),a=n(130),i=n(57),c=a((function(e,t){if(null==e)return[];var n=t.length;return n>1&&i(e,t[0],t[1])?t=[]:n>2&&i(t[0],t[1],t[2])&&(t=[t[0]]),o(e,r(t,1),[])}));e.exports=c},function(e,t){e.exports=wp.keycodes},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){e.exports=!n(24)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(6),o=n(83);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},function(e,t,n){var r=n(25),o=n(23);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},function(e,t){e.exports=function(e){return e}},function(e,t){e.exports=wp.htmlEntities},function(e,t,n){var r=n(18),o=n(301);e.exports=function(e,t){return e&&e.length?o(e,r(t,2)):[]}},function(e,t,n){var r=n(358)();e.exports=r},function(e,t){var n=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(19).Symbol;e.exports=r},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},function(e,t,n){var r=n(58),o=n(142),a=n(38);e.exports=function(e){return e&&e.length?r(e,a,o):void 0}},,function(e,t,n){var r=n(34);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(238),o=n(239),a=n(240),i=n(241),c=n(242);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=i,u.prototype.set=c,e.exports=u},function(e,t,n){var r=n(74);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},function(e,t,n){var r=n(29)(Object,"create");e.exports=r},function(e,t,n){var r=n(260);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},function(e,t,n){var r=n(275),o=n(281),a=n(36);e.exports=function(e){return a(e)?r(e):o(e)}},function(e,t,n){var r=n(37);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t}},function(e,t,n){var r=n(132),o=n(321)(r);e.exports=o},function(e,t,n){var r=n(74),o=n(36),a=n(82),i=n(13);e.exports=function(e,t,n){if(!i(n))return!1;var c=typeof t;return!!("number"==c?o(n)&&a(t,n.length):"string"==c&&t in n)&&r(n[t],e)}},function(e,t,n){var r=n(37);e.exports=function(e,t,n){for(var o=-1,a=e.length;++o<a;){var i=e[o],c=t(i);if(null!=c&&(void 0===u?c==c&&!r(c):n(c,u)))var u=c,s=i}return s}},function(e,t){e.exports=wp.compose},function(e,t,n){"use strict";var r=c(n(322)),o=c(n(327)),a=c(n(137)),i=c(n(133));function c(e){return e&&e.__esModule?e:{default:e}}e.exports={Transition:i.default,TransitionGroup:a.default,ReplaceTransition:o.default,CSSTransition:r.default}},function(e,t,n){var r=n(353),o=n(354),a=n(18),i=n(10),c=n(57);e.exports=function(e,t,n){var u=i(e)?r:o;return n&&c(e,t,n)&&(t=void 0),u(e,a(t,3))}},function(e,t,n){var r,o=n(344),a=n(345),i=n(347),c=/(\+|\-|\*|\\|[^a-z]|)(\s*)(\()/g;e.exports=function(e,t){function n(e,a,u){if(r++>100)throw r=0,new Error("Call stack overflow for "+u);if(""===e)throw new Error(a+"(): '"+u+"' must contain a non-whitespace string");var s=function(e){var t=[],n=[],r=/[\.0-9]([%a-z]+)/gi,o=r.exec(e);for(;o;)o&&o[1]&&(-1===n.indexOf(o[1].toLowerCase())&&(t.push(o[1]),n.push(o[1].toLowerCase())),o=r.exec(e));return t}(e=function(e,t){e=e.replace(/((?:\-[a-z]+\-)?calc)/g,"");var r,a="",i=e;for(;r=c.exec(i);){r[0].index>0&&(a+=i.substring(0,r[0].index));var u=o("(",")",i.substring([0].index));if(""===u.body)throw new Error("'"+e+"' must contain a non-whitespace string");var s=n(u.body,"",t);a+=u.pre+s,i=u.post}return a+i}(e,u));if(s.length>1||e.indexOf("var(")>-1)return a+"("+e+")";var l=s[0]||"";"%"===l&&(e=e.replace(/\b[0-9\.]+%/g,(function(e){return.01*parseFloat(e.slice(0,-1))})));var f,p=e.replace(new RegExp(l,"gi"),"");try{f=i.eval(p)}catch(t){return a+"("+e+")"}return"%"===l&&(f*=100),(a.length||"%"===l)&&(f=Math.round(f*t)/t),f+=l}return r=0,t=Math.pow(10,void 0===t?5:t),e=e.replace(/\n+/g," "),a(e,/((?:\-[a-z]+\-)?calc)\(/,n)}},,function(e,t,n){var r=n(47),o=n(99),a=n(65),i=Object.defineProperty;t.f=n(35)?Object.defineProperty:function(e,t,n){if(r(e),t=a(t,!0),r(n),o)try{return i(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(34);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},function(e,t){var n=Math.expm1;e.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:n},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(211),o=n(70);e.exports=function(e){return r(o(e))}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(11),o=n(70),a=n(24),i=n(73),c="["+i+"]",u=RegExp("^"+c+c+"*"),s=RegExp(c+c+"*$"),l=function(e,t,n){var o={},c=a((function(){return!!i[e]()||"
"!="
"[e]()})),u=o[e]=c?t(f):i[e];n&&(o[n]=u),r(r.P+r.F*c,"String",o)},f=l.trim=function(e,t){return e=String(o(e)),1&t&&(e=e.replace(u,"")),2&t&&(e=e.replace(s,"")),e};e.exports=l},function(e,t){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){var r=n(29)(n(19),"Map");e.exports=r},function(e,t,n){var r=n(252),o=n(259),a=n(261),i=n(262),c=n(263);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=i,u.prototype.set=c,e.exports=u},function(e,t,n){var r=n(264),o=n(23);e.exports=function e(t,n,a,i,c){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,a,i,e,c))}},function(e,t,n){var r=n(76),o=n(265),a=n(266);function i(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}i.prototype.add=i.prototype.push=o,i.prototype.has=a,e.exports=i},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},function(e,t,n){var r=n(277),o=n(23),a=Object.prototype,i=a.hasOwnProperty,c=a.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(e){return o(e)&&i.call(e,"callee")&&!c.call(e,"callee")};e.exports=u},function(e,t){var n=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&n.test(e))&&e>-1&&e%1==0&&e<t}},function(e,t){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,n){var r=n(126),o=n(55);e.exports=function(e,t){for(var n=0,a=(t=r(t,e)).length;null!=e&&n<a;)e=e[o(t[n++])];return n&&n==a?e:void 0}},function(e,t,n){var r=n(10),o=n(37),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(i.test(e)||!a.test(e)||null!=t&&e in Object(t))}},function(e,t,n){var r=n(13),o=n(334),a=n(140),i=Math.max,c=Math.min;e.exports=function(e,t,n){var u,s,l,f,p,h,d=0,m=!1,y=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function b(t){var n=u,r=s;return u=s=void 0,d=t,f=e.apply(r,n)}function g(e){return d=e,p=setTimeout(O,t),m?b(e):f}function w(e){var n=e-h;return void 0===h||n>=t||n<0||y&&e-d>=l}function O(){var e=o();if(w(e))return x(e);p=setTimeout(O,function(e){var n=t-(e-h);return y?c(n,l-(e-d)):n}(e))}function x(e){return p=void 0,v&&u?b(e):(u=s=void 0,f)}function k(){var e=o(),n=w(e);if(u=arguments,s=this,h=e,n){if(void 0===p)return g(h);if(y)return clearTimeout(p),p=setTimeout(O,t),b(h)}return void 0===p&&(p=setTimeout(O,t)),f}return t=a(t)||0,r(n)&&(m=!!n.leading,l=(y="maxWait"in n)?i(a(n.maxWait)||0,t):l,v="trailing"in n?!!n.trailing:v),k.cancel=function(){void 0!==p&&clearTimeout(p),d=0,u=h=s=p=void 0},k.flush=function(){return void 0===p?f:x(o())},k}},function(e,t,n){"use strict";(function(e){var r=n(1),o=n.n(r),a=n(16),i=n(0),c=n.n(i),u=1073741823,s="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e?e:{};function l(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(n,r){e=n,t.forEach((function(t){return t(e,r)}))}}}var f=o.a.createContext||function(e,t){var n,o,i,f="__create-react-context-"+((s[i="__global_unique_id__"]=(s[i]||0)+1)+"__"),p=function(e){function n(){var t;return(t=e.apply(this,arguments)||this).emitter=l(t.props.value),t}Object(a.a)(n,e);var r=n.prototype;return r.getChildContext=function(){var e;return(e={})[f]=this.emitter,e},r.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,o=e.value;((a=r)===(i=o)?0!==a||1/a==1/i:a!=a&&i!=i)?n=0:(n="function"==typeof t?t(r,o):u,0!==(n|=0)&&this.emitter.set(e.value,n))}var a,i},r.render=function(){return this.props.children},n}(r.Component);p.childContextTypes=((n={})[f]=c.a.object.isRequired,n);var h=function(t){function n(){var e;return(e=t.apply(this,arguments)||this).state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}Object(a.a)(n,t);var r=n.prototype;return r.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?u:t},r.componentDidMount=function(){this.context[f]&&this.context[f].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?u:e},r.componentWillUnmount=function(){this.context[f]&&this.context[f].off(this.onUpdate)},r.getValue=function(){return this.context[f]?this.context[f].get():e},r.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(r.Component);return h.contextTypes=((o={})[f]=c.a.object,o),{Provider:p,Consumer:h}};t.a=f}).call(this,n(33))},function(e,t,n){var r=n(182);e.exports=h,e.exports.parse=a,e.exports.compile=function(e,t){return c(a(e,t),t)},e.exports.tokensToFunction=c,e.exports.tokensToRegExp=p;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function a(e,t){for(var n,r=[],a=0,i=0,c="",l=t&&t.delimiter||"/";null!=(n=o.exec(e));){var f=n[0],p=n[1],h=n.index;if(c+=e.slice(i,h),i=h+f.length,p)c+=p[1];else{var d=e[i],m=n[2],y=n[3],v=n[4],b=n[5],g=n[6],w=n[7];c&&(r.push(c),c="");var O=null!=m&&null!=d&&d!==m,x="+"===g||"*"===g,k="?"===g||"*"===g,j=n[2]||l,_=v||b;r.push({name:y||a++,prefix:m||"",delimiter:j,optional:k,repeat:x,partial:O,asterisk:!!w,pattern:_?s(_):w?".*":"[^"+u(j)+"]+?"})}}return i<e.length&&(c+=e.substr(i)),c&&r.push(c),r}function i(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function c(e,t){for(var n=new Array(e.length),o=0;o<e.length;o++)"object"==typeof e[o]&&(n[o]=new RegExp("^(?:"+e[o].pattern+")$",f(t)));return function(t,o){for(var a="",c=t||{},u=(o||{}).pretty?i:encodeURIComponent,s=0;s<e.length;s++){var l=e[s];if("string"!=typeof l){var f,p=c[l.name];if(null==p){if(l.optional){l.partial&&(a+=l.prefix);continue}throw new TypeError('Expected "'+l.name+'" to be defined')}if(r(p)){if(!l.repeat)throw new TypeError('Expected "'+l.name+'" to not repeat, but received `'+JSON.stringify(p)+"`");if(0===p.length){if(l.optional)continue;throw new TypeError('Expected "'+l.name+'" to not be empty')}for(var h=0;h<p.length;h++){if(f=u(p[h]),!n[s].test(f))throw new TypeError('Expected all "'+l.name+'" to match "'+l.pattern+'", but received `'+JSON.stringify(f)+"`");a+=(0===h?l.prefix:l.delimiter)+f}}else{if(f=l.asterisk?encodeURI(p).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):u(p),!n[s].test(f))throw new TypeError('Expected "'+l.name+'" to match "'+l.pattern+'", but received "'+f+'"');a+=l.prefix+f}}else a+=l}return a}}function u(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function s(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function l(e,t){return e.keys=t,e}function f(e){return e&&e.sensitive?"":"i"}function p(e,t,n){r(t)||(n=t||n,t=[]);for(var o=(n=n||{}).strict,a=!1!==n.end,i="",c=0;c<e.length;c++){var s=e[c];if("string"==typeof s)i+=u(s);else{var p=u(s.prefix),h="(?:"+s.pattern+")";t.push(s),s.repeat&&(h+="(?:"+p+h+")*"),i+=h=s.optional?s.partial?p+"("+h+")?":"(?:"+p+"("+h+"))?":p+"("+h+")"}}var d=u(n.delimiter||"/"),m=i.slice(-d.length)===d;return o||(i=(m?i.slice(0,-d.length):i)+"(?:"+d+"(?=$))?"),i+=a?"$":o&&m?"":"(?="+d+"|$)",l(new RegExp("^"+i,f(n)),t)}function h(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return l(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],o=0;o<e.length;o++)r.push(h(e[o],t,n).source);return l(new RegExp("(?:"+r.join("|")+")",f(n)),t)}(e,t,n):function(e,t,n){return p(a(e,n),t,n)}(e,t,n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getTickValues",{enumerable:!0,get:function(){return r.getTickValues}}),Object.defineProperty(t,"getNiceTickValues",{enumerable:!0,get:function(){return r.getNiceTickValues}}),Object.defineProperty(t,"getTickValuesFixedDomain",{enumerable:!0,get:function(){return r.getTickValuesFixedDomain}});var r=n(342)},function(e,t,n){var r=n(361),o=n(132),a=n(18);e.exports=function(e,t){var n={};return t=a(t,3),o(e,(function(e,o,a){r(n,o,t(e,o,a))})),n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(31)),o=l(n(10)),a=function(e){if(e&&e.__esModule)return e;var t=s();if(t&&t.has(e))return t.get(e);var n={};if(null!=e){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=r?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}}n.default=e,t&&t.set(e,n);return n}(n(1)),i=l(n(0)),c=l(n(5)),u=n(362);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(e){return e&&e.__esModule?e:{default:e}}function f(e){return(f="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){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}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 d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(n,!0).forEach((function(t){m(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(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!t||"object"!==f(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 g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function w(e,t){return(w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var O=function(e){return(0,o.default)(e)&&(0,u.isNumOrStr)(e[0])&&(0,u.isNumOrStr)(e[1])?e.join(" ~ "):e},x=function(e){function t(){return y(this,t),b(this,g(t).apply(this,arguments))}var n,o,i;return 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&&w(e,t)}(t,e),n=t,(o=[{key:"renderContent",value:function(){var e=this.props,t=e.payload,n=e.separator,o=e.formatter,i=e.itemStyle,c=e.itemSorter;if(t&&t.length){var s=(c?(0,r.default)(t,c):t).map((function(e,t){if("none"===e.type)return null;var r=d({display:"block",paddingTop:4,paddingBottom:4,color:e.color||"#000"},i),c=e.formatter||o||O,s=e.name,l=e.value;if(c){var f=c(l,s,e,t);if(Array.isArray(f)){var h=p(f,2);l=h[0],s=h[1]}else l=f}return a.default.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(t),style:r},(0,u.isNumOrStr)(s)?a.default.createElement("span",{className:"recharts-tooltip-item-name"},s):null,(0,u.isNumOrStr)(s)?a.default.createElement("span",{className:"recharts-tooltip-item-separator"},n):null,a.default.createElement("span",{className:"recharts-tooltip-item-value"},l),a.default.createElement("span",{className:"recharts-tooltip-item-unit"},e.unit||""))}));return a.default.createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},s)}return null}},{key:"render",value:function(){var e=this.props,t=e.wrapperClassName,n=e.contentStyle,r=e.labelClassName,o=e.labelStyle,i=e.label,s=e.labelFormatter,l=d({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},n),f=d({margin:0},o),p=(0,u.isNumOrStr)(i),h=p?i:"",m=(0,c.default)("recharts-default-tooltip",t),y=(0,c.default)("recharts-tooltip-label",r);return p&&s&&(h=s(i)),a.default.createElement("div",{className:m,style:l},a.default.createElement("p",{className:y,style:f},h),this.renderContent())}}])&&v(n.prototype,o),i&&v(n,i),t}(a.PureComponent);x.displayName="DefaultTooltipContent",x.propTypes={separator:i.default.string,wrapperClassName:i.default.string,labelClassName:i.default.string,formatter:i.default.func,contentStyle:i.default.object,itemStyle:i.default.object,labelStyle:i.default.object,labelFormatter:i.default.func,label:i.default.any,payload:i.default.arrayOf(i.default.shape({name:i.default.any,value:i.default.oneOfType([i.default.number,i.default.string,i.default.array]),unit:i.default.any})),itemSorter:i.default.func},x.defaultProps={separator:" : ",contentStyle:{},itemStyle:{},labelStyle:{}};var k=x;t.default=k},,,,,function(e,t,n){"use strict";e.exports=n(183)},function(e,t,n){var r=n(64),o=n(101);e.exports=n(35)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){e.exports=!n(35)&&!n(24)((function(){return 7!=Object.defineProperty(n(100)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(34),o=n(22).document,a=r(o)&&r(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(22),o=n(98),a=n(48),i=n(103)("src"),c=n(186),u="toString",s=(""+c).split(u);n(42).inspectSource=function(e){return c.call(e)},(e.exports=function(e,t,n,c){var u="function"==typeof n;u&&(a(n,"name")||o(n,"name",t)),e[t]!==n&&(u&&(a(n,i)||o(n,i,e[t]?""+e[t]:s.join(String(t)))),e===r?e[t]=n:c?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,u,(function(){return"function"==typeof this&&this[i]||c.call(this)}))},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){var r=n(42),o=n(22),a="__core-js_shared__",i=o[a]||(o[a]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(187)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){var r=n(188);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},function(e,t,n){var r=n(210),o=n(101),a=n(69),i=n(65),c=n(48),u=n(99),s=Object.getOwnPropertyDescriptor;t.f=n(35)?s:function(e,t){if(e=a(e),t=i(t,!0),u)try{return s(e,t)}catch(e){}if(c(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(48),o=n(69),a=n(213)(!1),i=n(109)("IE_PROTO");e.exports=function(e,t){var n,c=o(e),u=0,s=[];for(n in c)n!=i&&r(c,n)&&s.push(n);for(;t.length>u;)r(c,n=t[u++])&&(~a(s,n)||s.push(n));return s}},function(e,t,n){var r=n(104)("keys"),o=n(103);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t,n){var r=n(68);e.exports=function(e,t){if("number"!=typeof e&&"Number"!=r(e))throw TypeError(t);return+e}},function(e,t,n){var r=n(34),o=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&o(e)===e}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(33))},function(e,t,n){var r=n(50),o=n(243),a=n(244),i=n(245),c=n(246),u=n(247);function s(e){var t=this.__data__=new r(e);this.size=t.size}s.prototype.clear=o,s.prototype.delete=a,s.prototype.get=i,s.prototype.has=c,s.prototype.set=u,e.exports=s},function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,n){var r=n(78),o=n(116),a=n(79);e.exports=function(e,t,n,i,c,u){var s=1&n,l=e.length,f=t.length;if(l!=f&&!(s&&f>l))return!1;var p=u.get(e),h=u.get(t);if(p&&h)return p==t&&h==e;var d=-1,m=!0,y=2&n?new r:void 0;for(u.set(e,t),u.set(t,e);++d<l;){var v=e[d],b=t[d];if(i)var g=s?i(b,v,d,t,e,u):i(v,b,d,e,t,u);if(void 0!==g){if(g)continue;m=!1;break}if(y){if(!o(t,(function(e,t){if(!a(y,t)&&(v===e||c(v,e,n,i,u)))return y.push(t)}))){m=!1;break}}else if(v!==b&&!c(v,b,n,i,u)){m=!1;break}}return u.delete(e),u.delete(t),m}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,a=[];++n<r;){var i=e[n];t(i,n,e)&&(a[o++]=i)}return a}},function(e,t,n){(function(e){var r=n(19),o=n(278),a=t&&!t.nodeType&&t,i=a&&"object"==typeof e&&e&&!e.nodeType&&e,c=i&&i.exports===a?r.Buffer:void 0,u=(c?c.isBuffer:void 0)||o;e.exports=u}).call(this,n(120)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){var r=n(279),o=n(84),a=n(280),i=a&&a.isTypedArray,c=i?o(i):r;e.exports=c},function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},function(e,t,n){var r=n(29)(n(19),"Set");e.exports=r},function(e,t,n){var r=n(13);e.exports=function(e){return e==e&&!r(e)}},function(e,t){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},function(e,t,n){var r=n(10),o=n(86),a=n(290),i=n(293);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:a(i(e))}},function(e,t,n){var r=n(302);e.exports=function(e,t){return!!(null==e?0:e.length)&&r(e,t,0)>-1}},function(e,t){e.exports=function(e,t,n,r){for(var o=e.length,a=n+(r?1:-1);r?a--:++a<o;)if(t(e[a],a,e))return a;return-1}},function(e,t){e.exports=function(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}},function(e,t,n){var r=n(38),o=n(310),a=n(312);e.exports=function(e,t){return a(o(e,t,r),e+"")}},function(e,t,n){var r=n(29),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},function(e,t,n){var r=n(319),o=n(54);e.exports=function(e,t){return e&&r(e,t,o)}},function(e,t,n){"use strict";t.__esModule=!0,t.default=t.EXITING=t.ENTERED=t.ENTERING=t.EXITED=t.UNMOUNTED=void 0;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(0)),o=c(n(1)),a=c(n(134)),i=n(135);n(136);function c(e){return e&&e.__esModule?e:{default:e}}var u="unmounted";t.UNMOUNTED=u;var s="exited";t.EXITED=s;var l="entering";t.ENTERING=l;var f="entered";t.ENTERED=f;var p="exiting";t.EXITING=p;var h=function(e){var t,n;function r(t,n){var r;r=e.call(this,t,n)||this;var o,a=n.transitionGroup,i=a&&!a.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=s,r.appearStatus=l):o=f:o=t.unmountOnExit||t.mountOnEnter?u:s,r.state={status:o},r.nextCallback=null,r}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.getChildContext=function(){return{transitionGroup:null}},r.getDerivedStateFromProps=function(e,t){return e.in&&t.status===u?{status:s}:null},i.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},i.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==l&&n!==f&&(t=l):n!==l&&n!==f||(t=p)}this.updateStatus(!1,t)},i.componentWillUnmount=function(){this.cancelNextCallback()},i.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},i.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t){this.cancelNextCallback();var n=a.default.findDOMNode(this);t===l?this.performEnter(n,e):this.performExit(n)}else this.props.unmountOnExit&&this.state.status===s&&this.setState({status:u})},i.performEnter=function(e,t){var n=this,r=this.props.enter,o=this.context.transitionGroup?this.context.transitionGroup.isMounting:t,a=this.getTimeouts(),i=o?a.appear:a.enter;t||r?(this.props.onEnter(e,o),this.safeSetState({status:l},(function(){n.props.onEntering(e,o),n.onTransitionEnd(e,i,(function(){n.safeSetState({status:f},(function(){n.props.onEntered(e,o)}))}))}))):this.safeSetState({status:f},(function(){n.props.onEntered(e)}))},i.performExit=function(e){var t=this,n=this.props.exit,r=this.getTimeouts();n?(this.props.onExit(e),this.safeSetState({status:p},(function(){t.props.onExiting(e),t.onTransitionEnd(e,r.exit,(function(){t.safeSetState({status:s},(function(){t.props.onExited(e)}))}))}))):this.safeSetState({status:s},(function(){t.props.onExited(e)}))},i.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},i.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},i.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},i.onTransitionEnd=function(e,t,n){this.setNextCallback(n);var r=null==t&&!this.props.addEndListener;e&&!r?(this.props.addEndListener&&this.props.addEndListener(e,this.nextCallback),null!=t&&setTimeout(this.nextCallback,t)):setTimeout(this.nextCallback,0)},i.render=function(){var e=this.state.status;if(e===u)return null;var t=this.props,n=t.children,r=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(t,["children"]);if(delete r.in,delete r.mountOnEnter,delete r.unmountOnExit,delete r.appear,delete r.enter,delete r.exit,delete r.timeout,delete r.addEndListener,delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,"function"==typeof n)return n(e,r);var a=o.default.Children.only(n);return o.default.cloneElement(a,r)},r}(o.default.Component);function d(){}h.contextTypes={transitionGroup:r.object},h.childContextTypes={transitionGroup:function(){}},h.propTypes={},h.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:d,onEntering:d,onEntered:d,onExit:d,onExiting:d,onExited:d},h.UNMOUNTED=0,h.EXITED=1,h.ENTERING=2,h.ENTERED=3,h.EXITING=4;var m=(0,i.polyfill)(h);t.default=m},function(e,t){e.exports=ReactDOM},function(e,t,n){"use strict";function r(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function o(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function a(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function i(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,i=null,c=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?i="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(i="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?c="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(c="UNSAFE_componentWillUpdate"),null!==n||null!==i||null!==c){var u=e.displayName||e.name,s="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+u+" uses "+s+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==i?"\n "+i:"")+(null!==c?"\n "+c:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=r,t.componentWillReceiveProps=o),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=a;var l=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;l.call(this,e,t,r)}}return e}n.r(t),n.d(t,"polyfill",(function(){return i})),r.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0,a.__suppressDeprecationWarning=!0},function(e,t,n){"use strict";t.__esModule=!0,t.classNamesShape=t.timeoutsShape=void 0;var r;(r=n(0))&&r.__esModule;t.timeoutsShape=null;t.classNamesShape=null},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=c(n(0)),o=c(n(1)),a=n(135),i=n(328);function c(e){return e&&e.__esModule?e:{default:e}}function u(){return(u=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 s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var l=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},f=function(e){var t,n;function r(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(s(s(r)));return r.state={handleExited:o,firstRender:!0},r}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var a=r.prototype;return a.getChildContext=function(){return{transitionGroup:{isMounting:!this.appeared}}},a.componentDidMount=function(){this.appeared=!0,this.mounted=!0},a.componentWillUnmount=function(){this.mounted=!1},r.getDerivedStateFromProps=function(e,t){var n=t.children,r=t.handleExited;return{children:t.firstRender?(0,i.getInitialChildMapping)(e,r):(0,i.getNextChildMapping)(e,n,r),firstRender:!1}},a.handleExited=function(e,t){var n=(0,i.getChildMapping)(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=u({},t.children);return delete n[e.key],{children:n}})))},a.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["component","childFactory"]),a=l(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?a:o.default.createElement(t,r,a)},r}(o.default.Component);f.childContextTypes={transitionGroup:r.default.object.isRequired},f.propTypes={},f.defaultProps={component:"div",childFactory:function(e){return e}};var p=(0,a.polyfill)(f);t.default=p,e.exports=t.default},function(e,t,n){var r=n(117),o=n(329);e.exports=function e(t,n,a,i,c){var u=-1,s=t.length;for(a||(a=o),c||(c=[]);++u<s;){var l=t[u];n>0&&a(l)?n>1?e(l,n-1,a,i,c):r(c,l):i||(c[c.length]=l)}return c}},function(e,t,n){var r=n(56),o=n(36);e.exports=function(e,t){var n=-1,a=o(e)?Array(e.length):[];return r(e,(function(e,r,o){a[++n]=t(e,r,o)})),a}},function(e,t,n){var r=n(335),o=n(13),a=n(37),i=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,u=/^0o[0-7]+$/i,s=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(a(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=c.test(e);return n||u.test(e)?s(e.slice(2),n?2:8):i.test(e)?NaN:+e}},function(e,t){e.exports=function(e,t){return e>t}},function(e,t){e.exports=function(e,t){return e<t}},function(e,t,n){var r;!function(o){"use strict";var a,i=1e9,c={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},u=!0,s="[DecimalError] ",l=s+"Invalid argument: ",f=s+"Exponent out of range: ",p=Math.floor,h=Math.pow,d=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,m=1e7,y=9007199254740991,v=p(1286742750677284.5),b={};function g(e,t){var n,r,o,a,i,c,s,l,f=e.constructor,p=f.precision;if(!e.s||!t.s)return t.s||(t=new f(e)),u?T(t,p):t;if(s=e.d,l=t.d,i=e.e,o=t.e,s=s.slice(),a=i-o){for(a<0?(r=s,a=-a,c=l.length):(r=l,o=i,c=s.length),a>(c=(i=Math.ceil(p/7))>c?i+1:c+1)&&(a=c,r.length=1),r.reverse();a--;)r.push(0);r.reverse()}for((c=s.length)-(a=l.length)<0&&(a=c,r=l,l=s,s=r),n=0;a;)n=(s[--a]=s[a]+l[a]+n)/m|0,s[a]%=m;for(n&&(s.unshift(n),++o),c=s.length;0==s[--c];)s.pop();return t.d=s,t.e=o,u?T(t,p):t}function w(e,t,n){if(e!==~~e||e<t||e>n)throw Error(l+e)}function O(e){var t,n,r,o=e.length-1,a="",i=e[0];if(o>0){for(a+=i,t=1;t<o;t++)(n=7-(r=e[t]+"").length)&&(a+=E(n)),a+=r;(n=7-(r=(i=e[t])+"").length)&&(a+=E(n))}else if(0===i)return"0";for(;i%10==0;)i/=10;return a+i}b.absoluteValue=b.abs=function(){var e=new this.constructor(this);return e.s&&(e.s=1),e},b.comparedTo=b.cmp=function(e){var t,n,r,o,a=this;if(e=new a.constructor(e),a.s!==e.s)return a.s||-e.s;if(a.e!==e.e)return a.e>e.e^a.s<0?1:-1;for(t=0,n=(r=a.d.length)<(o=e.d.length)?r:o;t<n;++t)if(a.d[t]!==e.d[t])return a.d[t]>e.d[t]^a.s<0?1:-1;return r===o?0:r>o^a.s<0?1:-1},b.decimalPlaces=b.dp=function(){var e=this,t=e.d.length-1,n=7*(t-e.e);if(t=e.d[t])for(;t%10==0;t/=10)n--;return n<0?0:n},b.dividedBy=b.div=function(e){return x(this,new this.constructor(e))},b.dividedToIntegerBy=b.idiv=function(e){var t=this.constructor;return T(x(this,new t(e),0,1),t.precision)},b.equals=b.eq=function(e){return!this.cmp(e)},b.exponent=function(){return j(this)},b.greaterThan=b.gt=function(e){return this.cmp(e)>0},b.greaterThanOrEqualTo=b.gte=function(e){return this.cmp(e)>=0},b.isInteger=b.isint=function(){return this.e>this.d.length-2},b.isNegative=b.isneg=function(){return this.s<0},b.isPositive=b.ispos=function(){return this.s>0},b.isZero=function(){return 0===this.s},b.lessThan=b.lt=function(e){return this.cmp(e)<0},b.lessThanOrEqualTo=b.lte=function(e){return this.cmp(e)<1},b.logarithm=b.log=function(e){var t,n=this,r=n.constructor,o=r.precision,i=o+5;if(void 0===e)e=new r(10);else if((e=new r(e)).s<1||e.eq(a))throw Error(s+"NaN");if(n.s<1)throw Error(s+(n.s?"NaN":"-Infinity"));return n.eq(a)?new r(0):(u=!1,t=x(P(n,i),P(e,i),i),u=!0,T(t,o))},b.minus=b.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?A(t,e):g(t,(e.s=-e.s,e))},b.modulo=b.mod=function(e){var t,n=this,r=n.constructor,o=r.precision;if(!(e=new r(e)).s)throw Error(s+"NaN");return n.s?(u=!1,t=x(n,e,0,1).times(e),u=!0,n.minus(t)):T(new r(n),o)},b.naturalExponential=b.exp=function(){return k(this)},b.naturalLogarithm=b.ln=function(){return P(this)},b.negated=b.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e},b.plus=b.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?g(t,e):A(t,(e.s=-e.s,e))},b.precision=b.sd=function(e){var t,n,r,o=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(l+e);if(t=j(o)+1,n=7*(r=o.d.length-1)+1,r=o.d[r]){for(;r%10==0;r/=10)n--;for(r=o.d[0];r>=10;r/=10)n++}return e&&t>n?t:n},b.squareRoot=b.sqrt=function(){var e,t,n,r,o,a,i,c=this,l=c.constructor;if(c.s<1){if(!c.s)return new l(0);throw Error(s+"NaN")}for(e=j(c),u=!1,0==(o=Math.sqrt(+c))||o==1/0?(((t=O(c.d)).length+e)%2==0&&(t+="0"),o=Math.sqrt(t),e=p((e+1)/2)-(e<0||e%2),r=new l(t=o==1/0?"5e"+e:(t=o.toExponential()).slice(0,t.indexOf("e")+1)+e)):r=new l(o.toString()),o=i=(n=l.precision)+3;;)if(r=(a=r).plus(x(c,a,i+2)).times(.5),O(a.d).slice(0,i)===(t=O(r.d)).slice(0,i)){if(t=t.slice(i-3,i+1),o==i&&"4999"==t){if(T(a,n+1,0),a.times(a).eq(c)){r=a;break}}else if("9999"!=t)break;i+=4}return u=!0,T(r,n)},b.times=b.mul=function(e){var t,n,r,o,a,i,c,s,l,f=this,p=f.constructor,h=f.d,d=(e=new p(e)).d;if(!f.s||!e.s)return new p(0);for(e.s*=f.s,n=f.e+e.e,(s=h.length)<(l=d.length)&&(a=h,h=d,d=a,i=s,s=l,l=i),a=[],r=i=s+l;r--;)a.push(0);for(r=l;--r>=0;){for(t=0,o=s+r;o>r;)c=a[o]+d[r]*h[o-r-1]+t,a[o--]=c%m|0,t=c/m|0;a[o]=(a[o]+t)%m|0}for(;!a[--i];)a.pop();return t?++n:a.shift(),e.d=a,e.e=n,u?T(e,p.precision):e},b.toDecimalPlaces=b.todp=function(e,t){var n=this,r=n.constructor;return n=new r(n),void 0===e?n:(w(e,0,i),void 0===t?t=r.rounding:w(t,0,8),T(n,e+j(n)+1,t))},b.toExponential=function(e,t){var n,r=this,o=r.constructor;return void 0===e?n=M(r,!0):(w(e,0,i),void 0===t?t=o.rounding:w(t,0,8),n=M(r=T(new o(r),e+1,t),!0,e+1)),n},b.toFixed=function(e,t){var n,r,o=this,a=o.constructor;return void 0===e?M(o):(w(e,0,i),void 0===t?t=a.rounding:w(t,0,8),n=M((r=T(new a(o),e+j(o)+1,t)).abs(),!1,e+j(r)+1),o.isneg()&&!o.isZero()?"-"+n:n)},b.toInteger=b.toint=function(){var e=this,t=e.constructor;return T(new t(e),j(e)+1,t.rounding)},b.toNumber=function(){return+this},b.toPower=b.pow=function(e){var t,n,r,o,i,c,l=this,f=l.constructor,h=+(e=new f(e));if(!e.s)return new f(a);if(!(l=new f(l)).s){if(e.s<1)throw Error(s+"Infinity");return l}if(l.eq(a))return l;if(r=f.precision,e.eq(a))return T(l,r);if(c=(t=e.e)>=(n=e.d.length-1),i=l.s,c){if((n=h<0?-h:h)<=y){for(o=new f(a),t=Math.ceil(r/7+4),u=!1;n%2&&C((o=o.times(l)).d,t),0!==(n=p(n/2));)C((l=l.times(l)).d,t);return u=!0,e.s<0?new f(a).div(o):T(o,r)}}else if(i<0)throw Error(s+"NaN");return i=i<0&&1&e.d[Math.max(t,n)]?-1:1,l.s=1,u=!1,o=e.times(P(l,r+12)),u=!0,(o=k(o)).s=i,o},b.toPrecision=function(e,t){var n,r,o=this,a=o.constructor;return void 0===e?r=M(o,(n=j(o))<=a.toExpNeg||n>=a.toExpPos):(w(e,1,i),void 0===t?t=a.rounding:w(t,0,8),r=M(o=T(new a(o),e,t),e<=(n=j(o))||n<=a.toExpNeg,e)),r},b.toSignificantDigits=b.tosd=function(e,t){var n=this.constructor;return void 0===e?(e=n.precision,t=n.rounding):(w(e,1,i),void 0===t?t=n.rounding:w(t,0,8)),T(new n(this),e,t)},b.toString=b.valueOf=b.val=b.toJSON=function(){var e=this,t=j(e),n=e.constructor;return M(e,t<=n.toExpNeg||t>=n.toExpPos)};var x=function(){function e(e,t){var n,r=0,o=e.length;for(e=e.slice();o--;)n=e[o]*t+r,e[o]=n%m|0,r=n/m|0;return r&&e.unshift(r),e}function t(e,t,n,r){var o,a;if(n!=r)a=n>r?1:-1;else for(o=a=0;o<n;o++)if(e[o]!=t[o]){a=e[o]>t[o]?1:-1;break}return a}function n(e,t,n){for(var r=0;n--;)e[n]-=r,r=e[n]<t[n]?1:0,e[n]=r*m+e[n]-t[n];for(;!e[0]&&e.length>1;)e.shift()}return function(r,o,a,i){var c,u,l,f,p,h,d,y,v,b,g,w,O,x,k,_,E,P,S=r.constructor,A=r.s==o.s?1:-1,M=r.d,C=o.d;if(!r.s)return new S(r);if(!o.s)throw Error(s+"Division by zero");for(u=r.e-o.e,E=C.length,k=M.length,y=(d=new S(A)).d=[],l=0;C[l]==(M[l]||0);)++l;if(C[l]>(M[l]||0)&&--u,(w=null==a?a=S.precision:i?a+(j(r)-j(o))+1:a)<0)return new S(0);if(w=w/7+2|0,l=0,1==E)for(f=0,C=C[0],w++;(l<k||f)&&w--;l++)O=f*m+(M[l]||0),y[l]=O/C|0,f=O%C|0;else{for((f=m/(C[0]+1)|0)>1&&(C=e(C,f),M=e(M,f),E=C.length,k=M.length),x=E,b=(v=M.slice(0,E)).length;b<E;)v[b++]=0;(P=C.slice()).unshift(0),_=C[0],C[1]>=m/2&&++_;do{f=0,(c=t(C,v,E,b))<0?(g=v[0],E!=b&&(g=g*m+(v[1]||0)),(f=g/_|0)>1?(f>=m&&(f=m-1),1==(c=t(p=e(C,f),v,h=p.length,b=v.length))&&(f--,n(p,E<h?P:C,h))):(0==f&&(c=f=1),p=C.slice()),(h=p.length)<b&&p.unshift(0),n(v,p,b),-1==c&&(c=t(C,v,E,b=v.length))<1&&(f++,n(v,E<b?P:C,b)),b=v.length):0===c&&(f++,v=[0]),y[l++]=f,c&&v[0]?v[b++]=M[x]||0:(v=[M[x]],b=1)}while((x++<k||void 0!==v[0])&&w--)}return y[0]||y.shift(),d.e=u,T(d,i?a+j(d)+1:a)}}();function k(e,t){var n,r,o,i,c,s=0,l=0,p=e.constructor,d=p.precision;if(j(e)>16)throw Error(f+j(e));if(!e.s)return new p(a);for(null==t?(u=!1,c=d):c=t,i=new p(.03125);e.abs().gte(.1);)e=e.times(i),l+=5;for(c+=Math.log(h(2,l))/Math.LN10*2+5|0,n=r=o=new p(a),p.precision=c;;){if(r=T(r.times(e),c),n=n.times(++s),O((i=o.plus(x(r,n,c))).d).slice(0,c)===O(o.d).slice(0,c)){for(;l--;)o=T(o.times(o),c);return p.precision=d,null==t?(u=!0,T(o,d)):o}o=i}}function j(e){for(var t=7*e.e,n=e.d[0];n>=10;n/=10)t++;return t}function _(e,t,n){if(t>e.LN10.sd())throw u=!0,n&&(e.precision=n),Error(s+"LN10 precision limit exceeded");return T(new e(e.LN10),t)}function E(e){for(var t="";e--;)t+="0";return t}function P(e,t){var n,r,o,i,c,l,f,p,h,d=1,m=e,y=m.d,v=m.constructor,b=v.precision;if(m.s<1)throw Error(s+(m.s?"NaN":"-Infinity"));if(m.eq(a))return new v(0);if(null==t?(u=!1,p=b):p=t,m.eq(10))return null==t&&(u=!0),_(v,p);if(p+=10,v.precision=p,r=(n=O(y)).charAt(0),i=j(m),!(Math.abs(i)<15e14))return f=_(v,p+2,b).times(i+""),m=P(new v(r+"."+n.slice(1)),p-10).plus(f),v.precision=b,null==t?(u=!0,T(m,b)):m;for(;r<7&&1!=r||1==r&&n.charAt(1)>3;)r=(n=O((m=m.times(e)).d)).charAt(0),d++;for(i=j(m),r>1?(m=new v("0."+n),i++):m=new v(r+"."+n.slice(1)),l=c=m=x(m.minus(a),m.plus(a),p),h=T(m.times(m),p),o=3;;){if(c=T(c.times(h),p),O((f=l.plus(x(c,new v(o),p))).d).slice(0,p)===O(l.d).slice(0,p))return l=l.times(2),0!==i&&(l=l.plus(_(v,p+2,b).times(i+""))),l=x(l,new v(d),p),v.precision=b,null==t?(u=!0,T(l,b)):l;l=f,o+=2}}function S(e,t){var n,r,o;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;48===t.charCodeAt(r);)++r;for(o=t.length;48===t.charCodeAt(o-1);)--o;if(t=t.slice(r,o)){if(o-=r,n=n-r-1,e.e=p(n/7),e.d=[],r=(n+1)%7,n<0&&(r+=7),r<o){for(r&&e.d.push(+t.slice(0,r)),o-=7;r<o;)e.d.push(+t.slice(r,r+=7));r=7-(t=t.slice(r)).length}else r-=o;for(;r--;)t+="0";if(e.d.push(+t),u&&(e.e>v||e.e<-v))throw Error(f+n)}else e.s=0,e.e=0,e.d=[0];return e}function T(e,t,n){var r,o,a,i,c,s,l,d,y=e.d;for(i=1,a=y[0];a>=10;a/=10)i++;if((r=t-i)<0)r+=7,o=t,l=y[d=0];else{if((d=Math.ceil((r+1)/7))>=(a=y.length))return e;for(l=a=y[d],i=1;a>=10;a/=10)i++;o=(r%=7)-7+i}if(void 0!==n&&(c=l/(a=h(10,i-o-1))%10|0,s=t<0||void 0!==y[d+1]||l%a,s=n<4?(c||s)&&(0==n||n==(e.s<0?3:2)):c>5||5==c&&(4==n||s||6==n&&(r>0?o>0?l/h(10,i-o):0:y[d-1])%10&1||n==(e.s<0?8:7))),t<1||!y[0])return s?(a=j(e),y.length=1,t=t-a-1,y[0]=h(10,(7-t%7)%7),e.e=p(-t/7)||0):(y.length=1,y[0]=e.e=e.s=0),e;if(0==r?(y.length=d,a=1,d--):(y.length=d+1,a=h(10,7-r),y[d]=o>0?(l/h(10,i-o)%h(10,o)|0)*a:0),s)for(;;){if(0==d){(y[0]+=a)==m&&(y[0]=1,++e.e);break}if(y[d]+=a,y[d]!=m)break;y[d--]=0,a=1}for(r=y.length;0===y[--r];)y.pop();if(u&&(e.e>v||e.e<-v))throw Error(f+j(e));return e}function A(e,t){var n,r,o,a,i,c,s,l,f,p,h=e.constructor,d=h.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new h(e),u?T(t,d):t;if(s=e.d,p=t.d,r=t.e,l=e.e,s=s.slice(),i=l-r){for((f=i<0)?(n=s,i=-i,c=p.length):(n=p,r=l,c=s.length),i>(o=Math.max(Math.ceil(d/7),c)+2)&&(i=o,n.length=1),n.reverse(),o=i;o--;)n.push(0);n.reverse()}else{for((f=(o=s.length)<(c=p.length))&&(c=o),o=0;o<c;o++)if(s[o]!=p[o]){f=s[o]<p[o];break}i=0}for(f&&(n=s,s=p,p=n,t.s=-t.s),c=s.length,o=p.length-c;o>0;--o)s[c++]=0;for(o=p.length;o>i;){if(s[--o]<p[o]){for(a=o;a&&0===s[--a];)s[a]=m-1;--s[a],s[o]+=m}s[o]-=p[o]}for(;0===s[--c];)s.pop();for(;0===s[0];s.shift())--r;return s[0]?(t.d=s,t.e=r,u?T(t,d):t):new h(0)}function M(e,t,n){var r,o=j(e),a=O(e.d),i=a.length;return t?(n&&(r=n-i)>0?a=a.charAt(0)+"."+a.slice(1)+E(r):i>1&&(a=a.charAt(0)+"."+a.slice(1)),a=a+(o<0?"e":"e+")+o):o<0?(a="0."+E(-o-1)+a,n&&(r=n-i)>0&&(a+=E(r))):o>=i?(a+=E(o+1-i),n&&(r=n-o-1)>0&&(a=a+"."+E(r))):((r=o+1)<i&&(a=a.slice(0,r)+"."+a.slice(r)),n&&(r=n-i)>0&&(o+1===i&&(a+="."),a+=E(r))),e.s<0?"-"+a:a}function C(e,t){if(e.length>t)return e.length=t,!0}function N(e){if(!e||"object"!=typeof e)throw Error(s+"Object expected");var t,n,r,o=["precision",1,i,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t<o.length;t+=3)if(void 0!==(r=e[n=o[t]])){if(!(p(r)===r&&r>=o[t+1]&&r<=o[t+2]))throw Error(l+n+": "+r);this[n]=r}if(void 0!==(r=e[n="LN10"])){if(r!=Math.LN10)throw Error(l+n+": "+r);this[n]=new this(r)}return this}(c=function e(t){var n,r,o;function a(e){var t=this;if(!(t instanceof a))return new a(e);if(t.constructor=a,e instanceof a)return t.s=e.s,t.e=e.e,void(t.d=(e=e.d)?e.slice():e);if("number"==typeof e){if(0*e!=0)throw Error(l+e);if(e>0)t.s=1;else{if(!(e<0))return t.s=0,t.e=0,void(t.d=[0]);e=-e,t.s=-1}return e===~~e&&e<1e7?(t.e=0,void(t.d=[e])):S(t,e.toString())}if("string"!=typeof e)throw Error(l+e);if(45===e.charCodeAt(0)?(e=e.slice(1),t.s=-1):t.s=1,!d.test(e))throw Error(l+e);S(t,e)}if(a.prototype=b,a.ROUND_UP=0,a.ROUND_DOWN=1,a.ROUND_CEIL=2,a.ROUND_FLOOR=3,a.ROUND_HALF_UP=4,a.ROUND_HALF_DOWN=5,a.ROUND_HALF_EVEN=6,a.ROUND_HALF_CEIL=7,a.ROUND_HALF_FLOOR=8,a.clone=e,a.config=a.set=N,void 0===t&&(t={}),t)for(o=["precision","rounding","toExpNeg","toExpPos","LN10"],n=0;n<o.length;)t.hasOwnProperty(r=o[n++])||(t[r]=this[r]);return a.config(t),a}(c)).default=c.Decimal=c,a=new c(1),void 0===(r=function(){return c}.call(t,n,t,e))||(e.exports=r)}()},function(e,t,n){"use strict";function r(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object.defineProperty(t,"__esModule",{value:!0}),t.memoize=t.reverse=t.compose=t.map=t.range=t.curry=t.PLACE_HOLDER=void 0;var o=function(e){return e},a={"@@functional/placeholder":!0};t.PLACE_HOLDER=a;var i=function(e){return e===a},c=function(e){return function t(){return 0===arguments.length||1===arguments.length&&i(arguments.length<=0?void 0:arguments[0])?t:e.apply(void 0,arguments)}},u=function e(t,n){return 1===t?n:c((function(){for(var o=arguments.length,u=new Array(o),s=0;s<o;s++)u[s]=arguments[s];var l=u.filter((function(e){return e!==a})).length;return l>=t?n.apply(void 0,u):e(t-l,c((function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];var a=u.map((function(e){return i(e)?t.shift():e}));return n.apply(void 0,r(a).concat(t))})))}))},s=function(e){return u(e.length,e)};t.curry=s;t.range=function(e,t){for(var n=[],r=e;r<t;++r)n[r-e]=r;return n};var l=s((function(e,t){return Array.isArray(t)?t.map(e):Object.keys(t).map((function(e){return t[e]})).map(e)}));t.map=l;t.compose=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(!t.length)return o;var r=t.reverse(),a=r[0],i=r.slice(1);return function(){return i.reduce((function(e,t){return t(e)}),a.apply(void 0,arguments))}};t.reverse=function(e){return Array.isArray(e)?e.reverse():e.split("").reverse.join("")};t.memoize=function(e){var t=null,n=null;return function(){for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return t&&o.every((function(e,n){return e===t[n]}))?n:(t=o,n=e.apply(void 0,o))}}},function(e,t,n){var r=n(140),o=1/0;e.exports=function(e){return e?(e=r(e))===o||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},function(e,t){e.exports=jQuery},function(e,t,n){"use strict";var r=n(97),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c={};function u(e){return r.isMemo(e)?i:c[e.$$typeof]||o}c[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},c[r.Memo]=i;var s=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,d=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(d){var o=h(n);o&&o!==d&&e(t,o,r)}var i=l(n);f&&(i=i.concat(f(n)));for(var c=u(t),m=u(n),y=0;y<i.length;++y){var v=i[y];if(!(a[v]||r&&r[v]||m&&m[v]||c&&c[v])){var b=p(n,v);try{s(t,v,b)}catch(e){}}}}return t}},function(e,t,n){var r=n(44),o=n(309),a=n(130),i=n(316),c=a((function(e){var t=r(e,i);return t.length&&t[0]===e[0]?o(t):[]}));e.exports=c},function(e,t,n){var r=n(118),o=n(318),a=n(18),i=n(10);e.exports=function(e,t){return(i(e)?r:o)(e,a(t,3))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(337),a=(r=o)&&r.__esModule?r:{default:r};t.default=a.default},function(e,t,n){var r=n(138),o=n(341);e.exports=function(e,t){return r(o(e,t),1)}},function(e,t,n){var r=n(25),o=n(352),a=n(23),i=Function.prototype,c=Object.prototype,u=i.toString,s=c.hasOwnProperty,l=u.call(Object);e.exports=function(e){if(!a(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=s.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&u.call(n)==l}},function(e,t){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},function(e,t,n){var r=n(355)(n(356));e.exports=r},function(e,t,n){var r=n(87),o=n(13);e.exports=function(e,t,n){var a=!0,i=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(n)&&(a="leading"in n?!!n.leading:a,i="trailing"in n?!!n.trailing:i),r(e,t,{leading:a,maxWait:t,trailing:i})}},function(e,t,n){var r=n(116),o=n(18),a=n(360),i=n(10),c=n(57);e.exports=function(e,t,n){var u=i(e)?r:a;return n&&c(e,t,n)&&(t=void 0),u(e,o(t,3))}},function(e,t,n){"use strict";var r,o="object"==typeof Reflect?Reflect:null,a=o&&"function"==typeof o.apply?o.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=o&&"function"==typeof o.ownKeys?o.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var i=Number.isNaN||function(e){return e!=e};function c(){c.init.call(this)}e.exports=c,e.exports.once=function(e,t){return new Promise((function(n,r){function o(){void 0!==a&&e.removeListener("error",a),n([].slice.call(arguments))}var a;"error"!==t&&(a=function(n){e.removeListener(t,o),r(n)},e.once("error",a)),e.once(t,o)}))},c.EventEmitter=c,c.prototype._events=void 0,c.prototype._eventsCount=0,c.prototype._maxListeners=void 0;var u=10;function s(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?c.defaultMaxListeners:e._maxListeners}function f(e,t,n,r){var o,a,i,c;if(s(n),void 0===(a=e._events)?(a=e._events=Object.create(null),e._eventsCount=0):(void 0!==a.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),a=e._events),i=a[t]),void 0===i)i=a[t]=n,++e._eventsCount;else if("function"==typeof i?i=a[t]=r?[n,i]:[i,n]:r?i.unshift(n):i.push(n),(o=l(e))>0&&i.length>o&&!i.warned){i.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+i.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=i.length,c=u,console&&console.warn&&console.warn(c)}return e}function p(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function h(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=p.bind(r);return o.listener=n,r.wrapFn=o,o}function d(e,t,n){var r=e._events;if(void 0===r)return[];var o=r[t];return void 0===o?[]:"function"==typeof o?n?[o.listener||o]:[o]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(o):y(o,o.length)}function m(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function y(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}Object.defineProperty(c,"defaultMaxListeners",{enumerable:!0,get:function(){return u},set:function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");u=e}}),c.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},c.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},c.prototype.getMaxListeners=function(){return l(this)},c.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,o=this._events;if(void 0!==o)r=r&&void 0===o.error;else if(!r)return!1;if(r){var i;if(t.length>0&&(i=t[0]),i instanceof Error)throw i;var c=new Error("Unhandled error."+(i?" ("+i.message+")":""));throw c.context=i,c}var u=o[e];if(void 0===u)return!1;if("function"==typeof u)a(u,this,t);else{var s=u.length,l=y(u,s);for(n=0;n<s;++n)a(l[n],this,t)}return!0},c.prototype.addListener=function(e,t){return f(this,e,t,!1)},c.prototype.on=c.prototype.addListener,c.prototype.prependListener=function(e,t){return f(this,e,t,!0)},c.prototype.once=function(e,t){return s(t),this.on(e,h(this,e,t)),this},c.prototype.prependOnceListener=function(e,t){return s(t),this.prependListener(e,h(this,e,t)),this},c.prototype.removeListener=function(e,t){var n,r,o,a,i;if(s(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(o=-1,a=n.length-1;a>=0;a--)if(n[a]===t||n[a].listener===t){i=n[a].listener,o=a;break}if(o<0)return this;0===o?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,o),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,i||t)}return this},c.prototype.off=c.prototype.removeListener,c.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var o,a=Object.keys(n);for(r=0;r<a.length;++r)"removeListener"!==(o=a[r])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},c.prototype.listeners=function(e){return d(this,e,!0)},c.prototype.rawListeners=function(e){return d(this,e,!1)},c.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},c.prototype.listenerCount=m,c.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(e,t,n){var r=n(58),o=n(18),a=n(142);e.exports=function(e,t){return e&&e.length?r(e,o(t,2),a):void 0}},function(e,t,n){var r=n(58),o=n(141),a=n(18);e.exports=function(e,t){return e&&e.length?r(e,a(t,2),o):void 0}},,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(181);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var c=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 c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={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:a,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},function(e,t,n){"use strict";var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,a=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,c=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,s=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,h=r?Symbol.for("react.forward_ref"):60112,d=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.suspense_list"):60120,y=r?Symbol.for("react.memo"):60115,v=r?Symbol.for("react.lazy"):60116,b=r?Symbol.for("react.block"):60121,g=r?Symbol.for("react.fundamental"):60117,w=r?Symbol.for("react.responder"):60118,O=r?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case f:case p:case i:case u:case c:case d:return e;default:switch(e=e&&e.$$typeof){case l:case h:case v:case y:case s:return e;default:return t}}case a:return t}}}function k(e){return x(e)===p}t.AsyncMode=f,t.ConcurrentMode=p,t.ContextConsumer=l,t.ContextProvider=s,t.Element=o,t.ForwardRef=h,t.Fragment=i,t.Lazy=v,t.Memo=y,t.Portal=a,t.Profiler=u,t.StrictMode=c,t.Suspense=d,t.isAsyncMode=function(e){return k(e)||x(e)===f},t.isConcurrentMode=k,t.isContextConsumer=function(e){return x(e)===l},t.isContextProvider=function(e){return x(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return x(e)===h},t.isFragment=function(e){return x(e)===i},t.isLazy=function(e){return x(e)===v},t.isMemo=function(e){return x(e)===y},t.isPortal=function(e){return x(e)===a},t.isProfiler=function(e){return x(e)===u},t.isStrictMode=function(e){return x(e)===c},t.isSuspense=function(e){return x(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===p||e===u||e===c||e===d||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===y||e.$$typeof===s||e.$$typeof===l||e.$$typeof===h||e.$$typeof===g||e.$$typeof===w||e.$$typeof===O||e.$$typeof===b)},t.typeOf=x},function(e,t,n){n(185),n(189),n(190),n(191),n(192),n(193),n(194),n(195),n(197),n(198),n(199),n(200),n(201),n(202),n(203),n(204),n(205),e.exports=n(42).Math},function(e,t,n){var r=n(11),o=n(106),a=Math.sqrt,i=Math.acosh;r(r.S+r.F*!(i&&710==Math.floor(i(Number.MAX_VALUE))&&i(1/0)==1/0),"Math",{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?Math.log(e)+Math.LN2:o(e-1+a(e-1)*a(e+1))}})},function(e,t,n){e.exports=n(104)("native-function-to-string",Function.toString)},function(e,t){e.exports=!1},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(11),o=Math.asinh;r(r.S+r.F*!(o&&1/o(0)>0),"Math",{asinh:function e(t){return isFinite(t=+t)&&0!=t?t<0?-e(-t):Math.log(t+Math.sqrt(t*t+1)):t}})},function(e,t,n){var r=n(11),o=Math.atanh;r(r.S+r.F*!(o&&1/o(-0)<0),"Math",{atanh:function(e){return 0==(e=+e)?e:Math.log((1+e)/(1-e))/2}})},function(e,t,n){var r=n(11),o=n(66);r(r.S,"Math",{cbrt:function(e){return o(e=+e)*Math.pow(Math.abs(e),1/3)}})},function(e,t,n){var r=n(11);r(r.S,"Math",{clz32:function(e){return(e>>>=0)?31-Math.floor(Math.log(e+.5)*Math.LOG2E):32}})},function(e,t,n){var r=n(11),o=Math.exp;r(r.S,"Math",{cosh:function(e){return(o(e=+e)+o(-e))/2}})},function(e,t,n){var r=n(11),o=n(67);r(r.S+r.F*(o!=Math.expm1),"Math",{expm1:o})},function(e,t,n){var r=n(11);r(r.S,"Math",{fround:n(196)})},function(e,t,n){var r=n(66),o=Math.pow,a=o(2,-52),i=o(2,-23),c=o(2,127)*(2-i),u=o(2,-126);e.exports=Math.fround||function(e){var t,n,o=Math.abs(e),s=r(e);return o<u?s*(o/u/i+1/a-1/a)*u*i:(n=(t=(1+i/a)*o)-(t-o))>c||n!=n?s*(1/0):s*n}},function(e,t,n){var r=n(11),o=Math.abs;r(r.S,"Math",{hypot:function(e,t){for(var n,r,a=0,i=0,c=arguments.length,u=0;i<c;)u<(n=o(arguments[i++]))?(a=a*(r=u/n)*r+1,u=n):a+=n>0?(r=n/u)*r:n;return u===1/0?1/0:u*Math.sqrt(a)}})},function(e,t,n){var r=n(11),o=Math.imul;r(r.S+r.F*n(24)((function(){return-5!=o(4294967295,5)||2!=o.length})),"Math",{imul:function(e,t){var n=65535,r=+e,o=+t,a=n&r,i=n&o;return 0|a*i+((n&r>>>16)*i+a*(n&o>>>16)<<16>>>0)}})},function(e,t,n){var r=n(11);r(r.S,"Math",{log10:function(e){return Math.log(e)*Math.LOG10E}})},function(e,t,n){var r=n(11);r(r.S,"Math",{log1p:n(106)})},function(e,t,n){var r=n(11);r(r.S,"Math",{log2:function(e){return Math.log(e)/Math.LN2}})},function(e,t,n){var r=n(11);r(r.S,"Math",{sign:n(66)})},function(e,t,n){var r=n(11),o=n(67),a=Math.exp;r(r.S+r.F*n(24)((function(){return-2e-17!=!Math.sinh(-2e-17)})),"Math",{sinh:function(e){return Math.abs(e=+e)<1?(o(e)-o(-e))/2:(a(e-1)-a(-e-1))*(Math.E/2)}})},function(e,t,n){var r=n(11),o=n(67),a=Math.exp;r(r.S,"Math",{tanh:function(e){var t=o(e=+e),n=o(-e);return t==1/0?1:n==1/0?-1:(t-n)/(a(e)+a(-e))}})},function(e,t,n){var r=n(11);r(r.S,"Math",{trunc:function(e){return(e>0?Math.floor:Math.ceil)(e)}})},function(e,t,n){n(207),n(220),n(222),n(223),n(224),n(225),n(226),n(227),n(228),n(229),n(230),n(232),e.exports=n(42).Number},function(e,t,n){"use strict";var r=n(22),o=n(48),a=n(68),i=n(208),c=n(65),u=n(24),s=n(212).f,l=n(107).f,f=n(64).f,p=n(72).trim,h="Number",d=r.Number,m=d,y=d.prototype,v=a(n(216)(y))==h,b="trim"in String.prototype,g=function(e){var t=c(e,!1);if("string"==typeof t&&t.length>2){var n,r,o,a=(t=b?t.trim():p(t,3)).charCodeAt(0);if(43===a||45===a){if(88===(n=t.charCodeAt(2))||120===n)return NaN}else if(48===a){switch(t.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+t}for(var i,u=t.slice(2),s=0,l=u.length;s<l;s++)if((i=u.charCodeAt(s))<48||i>o)return NaN;return parseInt(u,r)}}return+t};if(!d(" 0o1")||!d("0b1")||d("+0x1")){d=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof d&&(v?u((function(){y.valueOf.call(n)})):a(n)!=h)?i(new m(g(t)),n,d):g(t)};for(var w,O=n(35)?s(m):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;O.length>x;x++)o(m,w=O[x])&&!o(d,w)&&f(d,w,l(m,w));d.prototype=y,y.constructor=d,n(102)(r,h,d)}},function(e,t,n){var r=n(34),o=n(209).set;e.exports=function(e,t,n){var a,i=t.constructor;return i!==n&&"function"==typeof i&&(a=i.prototype)!==n.prototype&&r(a)&&o&&o(e,a),e}},function(e,t,n){var r=n(34),o=n(47),a=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(105)(Function.call,n(107).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return a(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:a}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var r=n(68);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(108),o=n(71).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){var r=n(69),o=n(214),a=n(215);e.exports=function(e){return function(t,n,i){var c,u=r(t),s=o(u.length),l=a(i,s);if(e&&n!=n){for(;s>l;)if((c=u[l++])!=c)return!0}else for(;s>l;l++)if((e||l in u)&&u[l]===n)return e||l||0;return!e&&-1}}},function(e,t,n){var r=n(49),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(49),o=Math.max,a=Math.min;e.exports=function(e,t){return(e=r(e))<0?o(e+t,0):a(e,t)}},function(e,t,n){var r=n(47),o=n(217),a=n(71),i=n(109)("IE_PROTO"),c=function(){},u=function(){var e,t=n(100)("iframe"),r=a.length;for(t.style.display="none",n(219).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),u=e.F;r--;)delete u.prototype[a[r]];return u()};e.exports=Object.create||function(e,t){var n;return null!==e?(c.prototype=r(e),n=new c,c.prototype=null,n[i]=e):n=u(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(64),o=n(47),a=n(218);e.exports=n(35)?Object.defineProperties:function(e,t){o(e);for(var n,i=a(t),c=i.length,u=0;c>u;)r.f(e,n=i[u++],t[n]);return e}},function(e,t,n){var r=n(108),o=n(71);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){var r=n(22).document;e.exports=r&&r.documentElement},function(e,t,n){"use strict";var r=n(11),o=n(49),a=n(110),i=n(221),c=1..toFixed,u=Math.floor,s=[0,0,0,0,0,0],l="Number.toFixed: incorrect invocation!",f="0",p=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*s[n],s[n]=r%1e7,r=u(r/1e7)},h=function(e){for(var t=6,n=0;--t>=0;)n+=s[t],s[t]=u(n/e),n=n%e*1e7},d=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==s[e]){var n=String(s[e]);t=""===t?n:t+i.call(f,7-n.length)+n}return t},m=function(e,t,n){return 0===t?n:t%2==1?m(e,t-1,n*e):m(e*e,t/2,n)};r(r.P+r.F*(!!c&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(24)((function(){c.call({})}))),"Number",{toFixed:function(e){var t,n,r,c,u=a(this,l),s=o(e),y="",v=f;if(s<0||s>20)throw RangeError(l);if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(y="-",u=-u),u>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(u*m(2,69,1))-69)<0?u*m(2,-t,1):u/m(2,t,1),n*=4503599627370496,(t=52-t)>0){for(p(0,n),r=s;r>=7;)p(1e7,0),r-=7;for(p(m(10,r,1),0),r=t-1;r>=23;)h(1<<23),r-=23;h(1<<r),p(1,1),h(2),v=d()}else p(0,n),p(1<<-t,0),v=d()+i.call(f,s);return v=s>0?y+((c=v.length)<=s?"0."+i.call(f,s-c)+v:v.slice(0,c-s)+"."+v.slice(c-s)):y+v}})},function(e,t,n){"use strict";var r=n(49),o=n(70);e.exports=function(e){var t=String(o(this)),n="",a=r(e);if(a<0||a==1/0)throw RangeError("Count can't be negative");for(;a>0;(a>>>=1)&&(t+=t))1&a&&(n+=t);return n}},function(e,t,n){"use strict";var r=n(11),o=n(24),a=n(110),i=1..toPrecision;r(r.P+r.F*(o((function(){return"1"!==i.call(1,void 0)}))||!o((function(){i.call({})}))),"Number",{toPrecision:function(e){var t=a(this,"Number#toPrecision: incorrect invocation!");return void 0===e?i.call(t):i.call(t,e)}})},function(e,t,n){var r=n(11);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(e,t,n){var r=n(11),o=n(22).isFinite;r(r.S,"Number",{isFinite:function(e){return"number"==typeof e&&o(e)}})},function(e,t,n){var r=n(11);r(r.S,"Number",{isInteger:n(111)})},function(e,t,n){var r=n(11);r(r.S,"Number",{isNaN:function(e){return e!=e}})},function(e,t,n){var r=n(11),o=n(111),a=Math.abs;r(r.S,"Number",{isSafeInteger:function(e){return o(e)&&a(e)<=9007199254740991}})},function(e,t,n){var r=n(11);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(e,t,n){var r=n(11);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(e,t,n){var r=n(11),o=n(231);r(r.S+r.F*(Number.parseFloat!=o),"Number",{parseFloat:o})},function(e,t,n){var r=n(22).parseFloat,o=n(72).trim;e.exports=1/r(n(73)+"-0")!=-1/0?function(e){var t=o(String(e),3),n=r(t);return 0===n&&"-"==t.charAt(0)?-0:n}:r},function(e,t,n){var r=n(11),o=n(233);r(r.S+r.F*(Number.parseInt!=o),"Number",{parseInt:o})},function(e,t,n){var r=n(22).parseInt,o=n(72).trim,a=n(73),i=/^[-+]?0[xX]/;e.exports=8!==r(a+"08")||22!==r(a+"0x16")?function(e,t){var n=o(String(e),3);return r(n,t>>>0||(i.test(n)?16:10))}:r},function(e,t,n){var r=n(43),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,c=r?r.toStringTag:void 0;e.exports=function(e){var t=a.call(e,c),n=e[c];try{e[c]=void 0;var r=!0}catch(e){}var o=i.call(e);return r&&(t?e[c]=n:delete e[c]),o}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t,n){var r=n(237),o=n(288),a=n(125);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},function(e,t,n){var r=n(113),o=n(77);e.exports=function(e,t,n,a){var i=n.length,c=i,u=!a;if(null==e)return!c;for(e=Object(e);i--;){var s=n[i];if(u&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<c;){var l=(s=n[i])[0],f=e[l],p=s[1];if(u&&s[2]){if(void 0===f&&!(l in e))return!1}else{var h=new r;if(a)var d=a(f,p,l,e,t,h);if(!(void 0===d?o(p,f,3,a,h):d))return!1}}return!0}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var r=n(51),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},function(e,t,n){var r=n(51);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},function(e,t,n){var r=n(51);e.exports=function(e){return r(this.__data__,e)>-1}},function(e,t,n){var r=n(51);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},function(e,t,n){var r=n(50);e.exports=function(){this.__data__=new r,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var r=n(50),o=n(75),a=n(76);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var i=n.__data__;if(!o||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new a(i)}return n.set(e,t),this.size=n.size,this}},function(e,t,n){var r=n(6),o=n(249),a=n(13),i=n(114),c=/^\[object .+?Constructor\]$/,u=Function.prototype,s=Object.prototype,l=u.toString,f=s.hasOwnProperty,p=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!a(e)||o(e))&&(r(e)?p:c).test(i(e))}},function(e,t,n){var r,o=n(250),a=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!a&&a in e}},function(e,t,n){var r=n(19)["__core-js_shared__"];e.exports=r},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t,n){var r=n(253),o=n(50),a=n(75);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(a||o),string:new r}}},function(e,t,n){var r=n(254),o=n(255),a=n(256),i=n(257),c=n(258);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=i,u.prototype.set=c,e.exports=u},function(e,t,n){var r=n(52);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,n){var r=n(52),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},function(e,t,n){var r=n(52),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},function(e,t,n){var r=n(52);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},function(e,t,n){var r=n(53);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,n){var r=n(53);e.exports=function(e){return r(this,e).get(e)}},function(e,t,n){var r=n(53);e.exports=function(e){return r(this,e).has(e)}},function(e,t,n){var r=n(53);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},function(e,t,n){var r=n(113),o=n(115),a=n(267),i=n(270),c=n(284),u=n(10),s=n(119),l=n(121),f="[object Arguments]",p="[object Array]",h="[object Object]",d=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,y,v){var b=u(e),g=u(t),w=b?p:c(e),O=g?p:c(t),x=(w=w==f?h:w)==h,k=(O=O==f?h:O)==h,j=w==O;if(j&&s(e)){if(!s(t))return!1;b=!0,x=!1}if(j&&!x)return v||(v=new r),b||l(e)?o(e,t,n,m,y,v):a(e,t,w,n,m,y,v);if(!(1&n)){var _=x&&d.call(e,"__wrapped__"),E=k&&d.call(t,"__wrapped__");if(_||E){var P=_?e.value():e,S=E?t.value():t;return v||(v=new r),y(P,S,n,m,v)}}return!!j&&(v||(v=new r),i(e,t,n,m,y,v))}},function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var r=n(43),o=n(268),a=n(74),i=n(115),c=n(269),u=n(80),s=r?r.prototype:void 0,l=s?s.valueOf:void 0;e.exports=function(e,t,n,r,s,f,p){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return a(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var h=c;case"[object Set]":var d=1&r;if(h||(h=u),e.size!=t.size&&!d)return!1;var m=p.get(e);if(m)return m==t;r|=2,p.set(e,t);var y=i(h(e),h(t),r,s,f,p);return p.delete(e),y;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},function(e,t,n){var r=n(19).Uint8Array;e.exports=r},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},function(e,t,n){var r=n(271),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,a,i,c){var u=1&n,s=r(e),l=s.length;if(l!=r(t).length&&!u)return!1;for(var f=l;f--;){var p=s[f];if(!(u?p in t:o.call(t,p)))return!1}var h=c.get(e),d=c.get(t);if(h&&d)return h==t&&d==e;var m=!0;c.set(e,t),c.set(t,e);for(var y=u;++f<l;){var v=e[p=s[f]],b=t[p];if(a)var g=u?a(b,v,p,t,e,c):a(v,b,p,e,t,c);if(!(void 0===g?v===b||i(v,b,n,a,c):g)){m=!1;break}y||(y="constructor"==p)}if(m&&!y){var w=e.constructor,O=t.constructor;w==O||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof O&&O instanceof O||(m=!1)}return c.delete(e),c.delete(t),m}},function(e,t,n){var r=n(272),o=n(273),a=n(54);e.exports=function(e){return r(e,a,o)}},function(e,t,n){var r=n(117),o=n(10);e.exports=function(e,t,n){var a=t(e);return o(e)?a:r(a,n(e))}},function(e,t,n){var r=n(118),o=n(274),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,c=i?function(e){return null==e?[]:(e=Object(e),r(i(e),(function(t){return a.call(e,t)})))}:o;e.exports=c},function(e,t){e.exports=function(){return[]}},function(e,t,n){var r=n(276),o=n(81),a=n(10),i=n(119),c=n(82),u=n(121),s=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=a(e),l=!n&&o(e),f=!n&&!l&&i(e),p=!n&&!l&&!f&&u(e),h=n||l||f||p,d=h?r(e.length,String):[],m=d.length;for(var y in e)!t&&!s.call(e,y)||h&&("length"==y||f&&("offset"==y||"parent"==y)||p&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||c(y,m))||d.push(y);return d}},function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},function(e,t,n){var r=n(25),o=n(23);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},function(e,t){e.exports=function(){return!1}},function(e,t,n){var r=n(25),o=n(83),a=n(23),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,e.exports=function(e){return a(e)&&o(e.length)&&!!i[r(e)]}},function(e,t,n){(function(e){var r=n(112),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,i=a&&a.exports===o&&r.process,c=function(){try{var e=a&&a.require&&a.require("util").types;return e||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=c}).call(this,n(120)(e))},function(e,t,n){var r=n(282),o=n(283),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))a.call(e,n)&&"constructor"!=n&&t.push(n);return t}},function(e,t){var n=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},function(e,t,n){var r=n(122)(Object.keys,Object);e.exports=r},function(e,t,n){var r=n(285),o=n(75),a=n(286),i=n(123),c=n(287),u=n(25),s=n(114),l="[object Map]",f="[object Promise]",p="[object Set]",h="[object WeakMap]",d="[object DataView]",m=s(r),y=s(o),v=s(a),b=s(i),g=s(c),w=u;(r&&w(new r(new ArrayBuffer(1)))!=d||o&&w(new o)!=l||a&&w(a.resolve())!=f||i&&w(new i)!=p||c&&w(new c)!=h)&&(w=function(e){var t=u(e),n="[object Object]"==t?e.constructor:void 0,r=n?s(n):"";if(r)switch(r){case m:return d;case y:return l;case v:return f;case b:return p;case g:return h}return t}),e.exports=w},function(e,t,n){var r=n(29)(n(19),"DataView");e.exports=r},function(e,t,n){var r=n(29)(n(19),"Promise");e.exports=r},function(e,t,n){var r=n(29)(n(19),"WeakMap");e.exports=r},function(e,t,n){var r=n(124),o=n(54);e.exports=function(e){for(var t=o(e),n=t.length;n--;){var a=t[n],i=e[a];t[n]=[a,i,r(i)]}return t}},function(e,t,n){var r=n(77),o=n(15),a=n(295),i=n(86),c=n(124),u=n(125),s=n(55);e.exports=function(e,t){return i(e)&&c(t)?u(s(e),t):function(n){var i=o(n,e);return void 0===i&&i===t?a(n,e):r(t,i,3)}}},function(e,t,n){var r=n(291),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,i=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(a,"$1"):n||e)})),t}));e.exports=i},function(e,t,n){var r=n(292);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},function(e,t,n){var r=n(76);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var i=e.apply(this,r);return n.cache=a.set(o,i)||a,i};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},function(e,t,n){var r=n(294);e.exports=function(e){return null==e?"":r(e)}},function(e,t,n){var r=n(43),o=n(44),a=n(10),i=n(37),c=r?r.prototype:void 0,u=c?c.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(a(t))return o(t,e)+"";if(i(t))return u?u.call(t):"";var n=t+"";return"0"==n&&1/t==-Infinity?"-0":n}},function(e,t,n){var r=n(296),o=n(297);e.exports=function(e,t){return null!=e&&o(e,t,r)}},function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},function(e,t,n){var r=n(126),o=n(81),a=n(10),i=n(82),c=n(83),u=n(55);e.exports=function(e,t,n){for(var s=-1,l=(t=r(t,e)).length,f=!1;++s<l;){var p=u(t[s]);if(!(f=null!=e&&n(e,p)))break;e=e[p]}return f||++s!=l?f:!!(l=null==e?0:e.length)&&c(l)&&i(p,l)&&(a(e)||o(e))}},function(e,t,n){var r=n(299),o=n(300),a=n(86),i=n(55);e.exports=function(e){return a(e)?r(i(e)):o(e)}},function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},function(e,t,n){var r=n(85);e.exports=function(e){return function(t){return r(t,e)}}},function(e,t,n){var r=n(78),o=n(127),a=n(129),i=n(79),c=n(305),u=n(80);e.exports=function(e,t,n){var s=-1,l=o,f=e.length,p=!0,h=[],d=h;if(n)p=!1,l=a;else if(f>=200){var m=t?null:c(e);if(m)return u(m);p=!1,l=i,d=new r}else d=t?[]:h;e:for(;++s<f;){var y=e[s],v=t?t(y):y;if(y=n||0!==y?y:0,p&&v==v){for(var b=d.length;b--;)if(d[b]===v)continue e;t&&d.push(v),h.push(y)}else l(d,v,n)||(d!==h&&d.push(v),h.push(y))}return h}},function(e,t,n){var r=n(128),o=n(303),a=n(304);e.exports=function(e,t,n){return t==t?a(e,t,n):r(e,o,n)}},function(e,t){e.exports=function(e){return e!=e}},function(e,t){e.exports=function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}},function(e,t,n){var r=n(123),o=n(306),a=n(80),i=r&&1/a(new r([,-0]))[1]==1/0?function(e){return new r(e)}:o;e.exports=i},function(e,t){e.exports=function(){}},function(e,t,n){(function(t){(function(){var n,r,o,a,i,c;"undefined"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:null!=t&&t.hrtime?(e.exports=function(){return(n()-i)/1e6},r=t.hrtime,a=(n=function(){var e;return 1e9*(e=r())[0]+e[1]})(),c=1e9*t.uptime(),i=a-c):Date.now?(e.exports=function(){return Date.now()-o},o=Date.now()):(e.exports=function(){return(new Date).getTime()-o},o=(new Date).getTime())}).call(this)}).call(this,n(308))},function(e,t){var n,r,o=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function c(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var u,s=[],l=!1,f=-1;function p(){l&&u&&(l=!1,u.length?s=u.concat(s):f=-1,s.length&&h())}function h(){if(!l){var e=c(p);l=!0;for(var t=s.length;t;){for(u=s,s=[];++f<t;)u&&u[f].run();f=-1,t=s.length}u=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function d(e,t){this.fun=e,this.array=t}function m(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];s.push(new d(e,t)),1!==s.length||l||c(h)},d.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t,n){var r=n(78),o=n(127),a=n(129),i=n(44),c=n(84),u=n(79),s=Math.min;e.exports=function(e,t,n){for(var l=n?a:o,f=e[0].length,p=e.length,h=p,d=Array(p),m=1/0,y=[];h--;){var v=e[h];h&&t&&(v=i(v,c(t))),m=s(v.length,m),d[h]=!n&&(t||f>=120&&v.length>=120)?new r(h&&v):void 0}v=e[0];var b=-1,g=d[0];e:for(;++b<f&&y.length<m;){var w=v[b],O=t?t(w):w;if(w=n||0!==w?w:0,!(g?u(g,O):l(y,O,n))){for(h=p;--h;){var x=d[h];if(!(x?u(x,O):l(e[h],O,n)))continue e}g&&g.push(O),y.push(w)}}return y}},function(e,t,n){var r=n(311),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var a=arguments,i=-1,c=o(a.length-t,0),u=Array(c);++i<c;)u[i]=a[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=a[i];return s[t]=n(u),r(e,this,s)}}},function(e,t){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},function(e,t,n){var r=n(313),o=n(315)(r);e.exports=o},function(e,t,n){var r
|
|