WordPress SEO Plugin – Rank Math - Version 1.0.97

Version Description

[Sep 14, 2022] = * Added: [NEW!] Tool to Recalculate the SEO scores * Improved: Use SEO Title & SEO Description in the WooCommerce Product Schema instead of Product title & description * Improved: Toggle buttons UI on the Version Control page * Fixed: Index Status was not working well on the WordPress installed in a subdirectory * Fixed: Emojis were getting removed from the SEO description at the time of updating the description using the Bulk Edit option * Fixed: %%category_description%% variable was not getting imported from the Yoast plugin

Full changelog can be found here - Rank Math SEO changelog

Download this release

Release Info

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

Code changes from version 1.0.96 to 1.0.97

assets/admin/css/divi.css CHANGED
@@ -1 +1 @@
1
- @-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(-360deg)}}@keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(-360deg)}}@keyframes bounce{from{-webkit-transform:translateY(0px);transform:translateY(0px)}to{-webkit-transform:translateY(-5px);transform:translateY(-5px)}}@-webkit-keyframes bounce{from{-webkit-transform:translateY(0px);transform:translateY(0px)}to{-webkit-transform:translateY(-5px);transform:translateY(-5px)}}:root{--rankmath-wp-adminbar-height: 0}.rank-math-tabs input[type="text"],.rank-math-tabs input[type="number"],.rank-math-tabs input[type="url"],.rank-math-tabs textarea,.rank-math-tabs select{border-color:#7f868d;border-radius:4px}.rank-math-tabs input[type="text"]:focus,.rank-math-tabs input[type="text"]:hover,.rank-math-tabs input[type="number"]:focus,.rank-math-tabs input[type="number"]:hover,.rank-math-tabs input[type="url"]:focus,.rank-math-tabs input[type="url"]:hover,.rank-math-tabs textarea:focus,.rank-math-tabs textarea:hover,.rank-math-tabs select:focus,.rank-math-tabs select:hover{border-color:#069de3;outline:none}.rank-math-tabs input[type="text"]:focus,.rank-math-tabs input[type="number"]:focus,.rank-math-tabs input[type="url"]:focus,.rank-math-tabs textarea:focus,.rank-math-tabs select:focus{background:#fff;-webkit-box-shadow:0 0 0 1px #069de3;box-shadow:0 0 0 1px #069de3}.rank-math-tabs input[type="radio"]:before{-webkit-box-sizing:inherit;box-sizing:inherit}.rank-math-link-control svg{max-width:24px}.rank-math-sidebar-panel .components-base-control__label{font-weight:600;display:block;margin-bottom:10px}.rank-math-sidebar-panel .components-toggle-control__label{font-weight:600}.rank-math-sidebar-panel .components-base-control__help{font-weight:normal;margin-top:0}.rank-math-sidebar-panel .components-base-control__help.rank-math-notice{margin:1rem 0;border-width:0 0 0 4px;border-radius:4px}.rank-math-sidebar-panel,.rank-math-modal-overlay{line-height:1.4em}.rank-math-sidebar-panel .hidden,.rank-math-modal-overlay .hidden{display:none}.rank-math-sidebar-panel p,.rank-math-modal-overlay p{line-height:1.5}.rank-math-sidebar-panel strong,.rank-math-modal-overlay strong{font-weight:600}.rank-math-sidebar-panel>div,.rank-math-modal-overlay>div{outline:0}.rank-math-sidebar-panel .notice,.rank-math-sidebar-panel div.error,.rank-math-sidebar-panel div.updated,.rank-math-modal-overlay .notice,.rank-math-modal-overlay div.error,.rank-math-modal-overlay div.updated{margin:5px 15px 2px;padding:1px 12px;color:#444;border:1px solid #ccd0d4;border-left-width:4px;background:#fff;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.04);box-shadow:0 1px 1px rgba(0,0,0,0.04)}.rank-math-sidebar-panel .notice p,.rank-math-sidebar-panel div.error p,.rank-math-sidebar-panel div.updated p,.rank-math-modal-overlay .notice p,.rank-math-modal-overlay div.error p,.rank-math-modal-overlay div.updated p{margin:.5em 0;padding:2px}.rank-math-sidebar-panel .notice-info,.rank-math-modal-overlay .notice-info{border-left-color:#00a0d2}.rank-math-sidebar-panel .notice-info.notice-alt,.rank-math-modal-overlay .notice-info.notice-alt{background-color:#e5f5fa}.rank-math-sidebar-panel .notice-warning.notice-alt,.rank-math-modal-overlay .notice-warning.notice-alt{border-left-color:#ffb900;background-color:#fff8e5}.rank-math-sidebar-panel .notice-error.notice-alt,.rank-math-modal-overlay .notice-error.notice-alt{border-left-color:#dc3232;background-color:#fbeaea}.rank-math-sidebar-panel .notice-success.notice-alt,.rank-math-modal-overlay .notice-success.notice-alt{border-left-color:#00a0d2;background-color:#e5f5fa}.rank-math-tab-content-schema .variable-group .components-button{top:30px}.rank-math-tab-content-schema .variable-group .rank-math-variables-dropdown{top:59px;width:100%}.rank-math-tab-content-social p:last-of-type{margin-bottom:0}.rank-math-tab-content-advanced .rank-math-redirect .components-toggle-control.is-close .components-base-control__field{margin-bottom:0}.rank-math-robots-list{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;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.rank-math-robots-list .components-base-control{margin-bottom:5px;-webkit-box-flex:0;-ms-flex:0 0 55%;flex:0 0 55%}#side-sortables .rank-math-robots-list .components-base-control{-webkit-box-flex:0;-ms-flex:0 0 100%;flex:0 0 100%}.rank-math-robots-list .components-base-control__field{margin-bottom:0}.rank-math-robots-list .components-base-control__field label{cursor:pointer}#side-sortables .rank-math-robots-list .components-base-control__field label{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.rank-math-robots-list .components-base-control:nth-child(even){-webkit-box-flex:0;-ms-flex:0 0 44%;flex:0 0 44%}#side-sortables .rank-math-robots-list .components-base-control:nth-child(even){-webkit-box-flex:0;-ms-flex:0 0 100%;flex:0 0 100%}.rank-math-robots-list .components-base-control:nth-child(even) .rank-math-tooltip-content{float:right;width:227% !important}.rank-math-robots-list.advanced-robots .components-base-control{margin-top:6px;-webkit-box-flex:0;-ms-flex:0 0 62%;flex:0 0 62%}.rank-math-robots-list.advanced-robots .components-base-control:nth-child(even){margin-top:0;-webkit-box-flex:0;-ms-flex:0 0 33%;flex:0 0 33%}.rank-math-robots-list.advanced-robots .rank-math-tooltip-content{width:162%}.rank-math-robots-list .rank-math-tooltip-content{width:182% !important}.rank-math-primary-term-picker{margin:20px -16px -17px;padding:16px;padding-bottom:24px;border-top:1px solid #e2e4e7;border-bottom:1px solid #e2e4e7}.rank-math-primary-term-picker label{font-weight:600;margin-bottom:8px !important;color:#191e23}@media (min-width: 782px){body .edit-post-layout.is-sidebar-opened .edit-post-layout__content{margin-right:300px}body .edit-post-layout.is-sidebar-opened .edit-post-plugin-sidebar__sidebar-layout,body .edit-post-layout.is-sidebar-opened .edit-post-sidebar{width:300px}}.rank-math-datepicker__dialog .components-popover__content{padding:10px}@media (min-width: 782px){.rank-math-datepicker__dialog .components-popover__content{width:270px}}@font-face{font-family:'Rank-Math';font-weight:normal;font-style:normal;font-display:block;src:url("../fonts/Rank-Math.ttf?v1.0.94") format("truetype"),url("../fonts/Rank-Math.woff?v1.0.94") format("woff"),url("../fonts/Rank-Math.svg?v1.0.94#Rank-Math") format("svg")}[class^='rm-icon-'],[class*=' rm-icon-']{font-family:'Rank-Math' !important;font-weight:normal;font-style:normal;font-variant:normal;line-height:1;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;speak:none}.rm-icon-rank-math:before{content:"\e900"}.rm-icon-search-console:before{content:"\ed71"}.rm-icon-adsense:before{content:"\eb99"}.rm-icon-role-manager:before{content:"\ea3a"}.rm-icon-software:before{content:"\ea9a"}.rm-icon-calendar:before{content:"\ea43"}.rm-icon-cart:before{content:"\ed73"}.rm-icon-post-format:before{content:"\ec64"}.rm-icon-fact-check:before{content:"\ebf7"}.rm-icon-tick:before{content:"\eb9d"}.rm-icon-recipe:before{content:"\ec3b"}.rm-icon-circle-plus:before{content:"\eb9f"}.rm-icon-service:before{content:"\ec66"}.rm-icon-cross:before{content:"\ebea"}.rm-icon-settings:before{content:"\ea60"}.rm-icon-comments:before{content:"\ed35"}.rm-icon-dataset:before{content:"\ecf8"}.rm-icon-schema:before{content:"\eb97"}.rm-icon-direction:before{content:"\ecc9"}.rm-icon-desktop:before{content:"\ea67"}.rm-icon-import:before{content:"\ea5a"}.rm-icon-export:before{content:"\ea5d"}.rm-icon-eye:before{content:"\eba4"}.rm-icon-htaccess:before{content:"\ea6f"}.rm-icon-robots:before{content:"\ea70"}.rm-icon-movie:before{content:"\edc1"}.rm-icon-category:before{content:"\ea76"}.rm-icon-images:before{content:"\eb6a"}.rm-icon-google:before{content:"\e901"}.rm-icon-course:before{content:"\ec70"}.rm-icon-heart-filled:before{content:"\ebac"}.rm-icon-home:before{content:"\ed0d"}.rm-icon-image:before{content:"\eaa0"}.rm-icon-info:before{content:"\ebb4"}.rm-icon-stories:before{content:"\ece7"}.rm-icon-acf:before{content:"\eceb"}.rm-icon-book:before{content:"\ec73"}.rm-icon-howto:before{content:"\ebbc"}.rm-icon-faq:before{content:"\ebbd"}.rm-icon-local-seo:before{content:"\ea87"}.rm-icon-job:before{content:"\ed3a"}.rm-icon-misc:before{content:"\ea8f"}.rm-icon-podcast:before{content:"\efee"}.rm-icon-copy:before{content:"\e902"}.rm-icon-mobile:before{content:"\ea2e"}.rm-icon-social:before{content:"\ec76"}.rm-icon-music:before{content:"\ebc8"}.rm-icon-sitemap:before{content:"\ea4f"}.rm-icon-post:before{content:"\ed4d"}.rm-icon-attachment:before{content:"\ed83"}.rm-icon-edit:before{content:"\ec78"}.rm-icon-plus:before{content:"\ebce"}.rm-icon-help:before{content:"\ebd2"}.rm-icon-restaurant:before{content:"\ec56"}.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-support:before{content:"\ed64"}.rm-icon-tag:before{content:"\ed91"}.rm-icon-target:before{content:"\ed95"}.rm-icon-instant-indexing:before{content:"\ebe1"}.rm-icon-toolbox:before{content:"\ed1f"}.rm-icon-trash:before{content:"\eaba"}.rm-icon-redirection:before{content:"\eb70"}.rm-icon-link:before{content:"\ea83"}.rm-icon-users:before{content:"\eac4"}.rm-icon-video:before{content:"\eb73"}.rm-icon-404:before{content:"\ebe8"}.rm-icon-page:before{content:"\ec86"}.rank-math-tabs>.components-tab-panel__tabs{display:-webkit-box;display:-ms-flexbox;display:flex;background:#f8f9fa;-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-tabs>.components-tab-panel__tabs.contentAI{display:none}.rank-math-tabs>.components-tab-panel__tabs button{font-weight:normal;position:relative;display:block;overflow:visible;padding:3px 7px;color:#5a6065;border-radius:0;background:none;-webkit-box-shadow:none;box-shadow:none;height:50px;width:48px}.rank-math-tabs>.components-tab-panel__tabs button:hover{color:inherit;background:transparent;-webkit-box-shadow:none;box-shadow:none}.rank-math-tabs>.components-tab-panel__tabs button:hover i{border-radius:20em;background:#d9e9ed;-webkit-box-shadow:0 0 0 8px #d9e9ed;box-shadow:0 0 0 8px #d9e9ed}.rank-math-tabs>.components-tab-panel__tabs button:focus{font-weight:normal;outline:none;background:transparent;-webkit-box-shadow:none;box-shadow:none}.rank-math-tabs>.components-tab-panel__tabs button i{font-size:17px;vertical-align:-4px;margin-right:7px;margin-left:0}.rank-math-tabs>.components-tab-panel__tabs button i.rm-icon-schema{font-size:18px;vertical-align:-4px}.rank-math-tabs>.components-tab-panel__tabs button span{display:none}.rank-math-tabs>.components-tab-panel__tabs button.is-active{width:auto;margin-bottom:-1px;color:#242628}.rank-math-tabs>.components-tab-panel__tabs button.is-active:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link):hover i{background:transparent;-webkit-box-shadow:none;box-shadow:none}.rank-math-tabs>.components-tab-panel__tabs button.is-active i{-webkit-box-shadow:none;box-shadow:none;margin-right:7px;margin-left:0}.rank-math-tabs>.components-tab-panel__tabs button.is-active span{display:inline-block}.rank-math-tabs>.components-tab-panel__tabs button.is-active:after{visibility:visible;width:100%;height:3px;content:'';background:#00a0d2;-webkit-box-shadow:none;box-shadow:none;position:absolute;bottom:-1px;left:0}.rank-math-tabs>.components-tab-panel__tabs button.hidden{display:none !important}.rank-math-tabs .cmb2-metabox-description{font-style:normal}.rank-math-tabs .rank-math-datepicker{position:relative}.rank-math-tabs .rank-math-datepicker>button{position:absolute;top:31px;right:2px;height:24px;padding:0 3px}.rank-math-tabs .rank-math-datepicker>button:not(.is-default):hover{background:transparent;-webkit-box-shadow:none;box-shadow:none}.rank-math-tabs .rank-math-frontend-score .components-base-control__field{margin-bottom:0}.rank-math-tabs .rank-math-frontend-score .components-toggle-control__label{margin-bottom:0}.components-tab-panel__tab-content .components-panel__body,.components-tab-panel__tab-content .components-modal__content,.rank-math-modal .components-panel__body,.rank-math-modal .components-modal__content{margin-bottom:0;border-bottom:0}.components-tab-panel__tab-content .components-panel__body .button,.components-tab-panel__tab-content .components-panel__body .button-secondary,.components-tab-panel__tab-content .components-panel__body .is-secondary,.components-tab-panel__tab-content .components-modal__content .button,.components-tab-panel__tab-content .components-modal__content .button-secondary,.components-tab-panel__tab-content .components-modal__content .is-secondary,.rank-math-modal .components-panel__body .button,.rank-math-modal .components-panel__body .button-secondary,.rank-math-modal .components-panel__body .is-secondary,.rank-math-modal .components-modal__content .button,.rank-math-modal .components-modal__content .button-secondary,.rank-math-modal .components-modal__content .is-secondary{font-size:14px;line-height:38px;height:auto;min-height:30px;padding:0 20px;color:#6b7278;border:1px solid #7f868d;border-radius:3px;background:#f8f9fa;-webkit-box-shadow:none;box-shadow:none}.components-tab-panel__tab-content .components-panel__body .button.active,.components-tab-panel__tab-content .components-panel__body .button-secondary.active,.components-tab-panel__tab-content .components-panel__body .is-secondary.active,.components-tab-panel__tab-content .components-modal__content .button.active,.components-tab-panel__tab-content .components-modal__content .button-secondary.active,.components-tab-panel__tab-content .components-modal__content .is-secondary.active,.rank-math-modal .components-panel__body .button.active,.rank-math-modal .components-panel__body .button-secondary.active,.rank-math-modal .components-panel__body .is-secondary.active,.rank-math-modal .components-modal__content .button.active,.rank-math-modal .components-modal__content .button-secondary.active,.rank-math-modal .components-modal__content .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}.components-tab-panel__tab-content .components-panel__body .button:focus,.components-tab-panel__tab-content .components-panel__body .button:hover,.components-tab-panel__tab-content .components-panel__body .button-secondary:focus,.components-tab-panel__tab-content .components-panel__body .button-secondary:hover,.components-tab-panel__tab-content .components-panel__body .is-secondary:focus,.components-tab-panel__tab-content .components-panel__body .is-secondary:hover,.components-tab-panel__tab-content .components-modal__content .button:focus,.components-tab-panel__tab-content .components-modal__content .button:hover,.components-tab-panel__tab-content .components-modal__content .button-secondary:focus,.components-tab-panel__tab-content .components-modal__content .button-secondary:hover,.components-tab-panel__tab-content .components-modal__content .is-secondary:focus,.components-tab-panel__tab-content .components-modal__content .is-secondary:hover,.rank-math-modal .components-panel__body .button:focus,.rank-math-modal .components-panel__body .button:hover,.rank-math-modal .components-panel__body .button-secondary:focus,.rank-math-modal .components-panel__body .button-secondary:hover,.rank-math-modal .components-panel__body .is-secondary:focus,.rank-math-modal .components-panel__body .is-secondary:hover,.rank-math-modal .components-modal__content .button:focus,.rank-math-modal .components-modal__content .button:hover,.rank-math-modal .components-modal__content .button-secondary:focus,.rank-math-modal .components-modal__content .button-secondary:hover,.rank-math-modal .components-modal__content .is-secondary:focus,.rank-math-modal .components-modal__content .is-secondary:hover{color:#069de3;border-color:#069de3;background:#f8f9fa}.components-tab-panel__tab-content .components-panel__body .button:focus,.components-tab-panel__tab-content .components-panel__body .button-secondary:focus,.components-tab-panel__tab-content .components-panel__body .is-secondary:focus,.components-tab-panel__tab-content .components-modal__content .button:focus,.components-tab-panel__tab-content .components-modal__content .button-secondary:focus,.components-tab-panel__tab-content .components-modal__content .is-secondary:focus,.rank-math-modal .components-panel__body .button:focus,.rank-math-modal .components-panel__body .button-secondary:focus,.rank-math-modal .components-panel__body .is-secondary:focus,.rank-math-modal .components-modal__content .button:focus,.rank-math-modal .components-modal__content .button-secondary:focus,.rank-math-modal .components-modal__content .is-secondary:focus{border-color:#069de3;-webkit-box-shadow:0 0 0 1px #069de3;box-shadow:0 0 0 1px #069de3}.components-tab-panel__tab-content .components-panel__body .button .dashicons,.components-tab-panel__tab-content .components-panel__body .button-secondary .dashicons,.components-tab-panel__tab-content .components-panel__body .is-secondary .dashicons,.components-tab-panel__tab-content .components-modal__content .button .dashicons,.components-tab-panel__tab-content .components-modal__content .button-secondary .dashicons,.components-tab-panel__tab-content .components-modal__content .is-secondary .dashicons,.rank-math-modal .components-panel__body .button .dashicons,.rank-math-modal .components-panel__body .button-secondary .dashicons,.rank-math-modal .components-panel__body .is-secondary .dashicons,.rank-math-modal .components-modal__content .button .dashicons,.rank-math-modal .components-modal__content .button-secondary .dashicons,.rank-math-modal .components-modal__content .is-secondary .dashicons{margin:0 3px 0 0}.components-tab-panel__tab-content .components-panel__body .button.disabled,.components-tab-panel__tab-content .components-panel__body .button-secondary.disabled,.components-tab-panel__tab-content .components-panel__body .is-secondary.disabled,.components-tab-panel__tab-content .components-modal__content .button.disabled,.components-tab-panel__tab-content .components-modal__content .button-secondary.disabled,.components-tab-panel__tab-content .components-modal__content .is-secondary.disabled,.rank-math-modal .components-panel__body .button.disabled,.rank-math-modal .components-panel__body .button-secondary.disabled,.rank-math-modal .components-panel__body .is-secondary.disabled,.rank-math-modal .components-modal__content .button.disabled,.rank-math-modal .components-modal__content .button-secondary.disabled,.rank-math-modal .components-modal__content .is-secondary.disabled{pointer-events:none}.components-tab-panel__tab-content .components-panel__body .button-primary,.components-tab-panel__tab-content .components-panel__body .is-primary,.components-tab-panel__tab-content .components-modal__content .button-primary,.components-tab-panel__tab-content .components-modal__content .is-primary,.rank-math-modal .components-panel__body .button-primary,.rank-math-modal .components-panel__body .is-primary,.rank-math-modal .components-modal__content .button-primary,.rank-math-modal .components-modal__content .is-primary{color:#fff;border-color:#069de3;background:#069de3;text-shadow:none}.components-tab-panel__tab-content .components-panel__body .button-primary:focus,.components-tab-panel__tab-content .components-panel__body .button-primary:hover,.components-tab-panel__tab-content .components-panel__body .is-primary:focus,.components-tab-panel__tab-content .components-panel__body .is-primary:hover,.components-tab-panel__tab-content .components-modal__content .button-primary:focus,.components-tab-panel__tab-content .components-modal__content .button-primary:hover,.components-tab-panel__tab-content .components-modal__content .is-primary:focus,.components-tab-panel__tab-content .components-modal__content .is-primary:hover,.rank-math-modal .components-panel__body .button-primary:focus,.rank-math-modal .components-panel__body .button-primary:hover,.rank-math-modal .components-panel__body .is-primary:focus,.rank-math-modal .components-panel__body .is-primary:hover,.rank-math-modal .components-modal__content .button-primary:focus,.rank-math-modal .components-modal__content .button-primary:hover,.rank-math-modal .components-modal__content .is-primary:focus,.rank-math-modal .components-modal__content .is-primary:hover{color:#fff;border-color:#08a7f1;background:#08a7f1}.components-tab-panel__tab-content .components-panel__body .button-primary:focus,.components-tab-panel__tab-content .components-panel__body .is-primary:focus,.components-tab-panel__tab-content .components-modal__content .button-primary:focus,.components-tab-panel__tab-content .components-modal__content .is-primary:focus,.rank-math-modal .components-panel__body .button-primary:focus,.rank-math-modal .components-panel__body .is-primary:focus,.rank-math-modal .components-modal__content .button-primary:focus,.rank-math-modal .components-modal__content .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}.components-tab-panel__tab-content .components-panel__body .button-primary[disabled],.components-tab-panel__tab-content .components-panel__body .is-primary[disabled],.components-tab-panel__tab-content .components-modal__content .button-primary[disabled],.components-tab-panel__tab-content .components-modal__content .is-primary[disabled],.rank-math-modal .components-panel__body .button-primary[disabled],.rank-math-modal .components-panel__body .is-primary[disabled],.rank-math-modal .components-modal__content .button-primary[disabled],.rank-math-modal .components-modal__content .is-primary[disabled]{border-color:#069de3 !important;background:#069de3 !important}.components-tab-panel__tab-content .components-panel__body .is-blue:not(.default),.components-tab-panel__tab-content .components-modal__content .is-blue:not(.default),.rank-math-modal .components-panel__body .is-blue:not(.default),.rank-math-modal .components-modal__content .is-blue:not(.default){border-color:#4e8cde;background:#4e8cde}.components-tab-panel__tab-content .components-panel__body .is-blue:not(.default):hover,.components-tab-panel__tab-content .components-panel__body .is-blue:not(.default):focus,.components-tab-panel__tab-content .components-modal__content .is-blue:not(.default):hover,.components-tab-panel__tab-content .components-modal__content .is-blue:not(.default):focus,.rank-math-modal .components-panel__body .is-blue:not(.default):hover,.rank-math-modal .components-panel__body .is-blue:not(.default):focus,.rank-math-modal .components-modal__content .is-blue:not(.default):hover,.rank-math-modal .components-modal__content .is-blue:not(.default):focus{border-color:#397eda;background:#397eda}.components-tab-panel__tab-content .components-panel__body .is-blue:not(.default):focus,.components-tab-panel__tab-content .components-modal__content .is-blue:not(.default):focus,.rank-math-modal .components-panel__body .is-blue:not(.default):focus,.rank-math-modal .components-modal__content .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}.components-tab-panel__tab-content .components-panel__body .is-green:not(.default),.components-tab-panel__tab-content .components-modal__content .is-green:not(.default),.rank-math-modal .components-panel__body .is-green:not(.default),.rank-math-modal .components-modal__content .is-green:not(.default){border-color:#10AC84;background:#10AC84}.components-tab-panel__tab-content .components-panel__body .is-green:not(.default):hover,.components-tab-panel__tab-content .components-panel__body .is-green:not(.default):focus,.components-tab-panel__tab-content .components-modal__content .is-green:not(.default):hover,.components-tab-panel__tab-content .components-modal__content .is-green:not(.default):focus,.rank-math-modal .components-panel__body .is-green:not(.default):hover,.rank-math-modal .components-panel__body .is-green:not(.default):focus,.rank-math-modal .components-modal__content .is-green:not(.default):hover,.rank-math-modal .components-modal__content .is-green:not(.default):focus{border-color:#0f9e79;background:#0f9e79}.components-tab-panel__tab-content .components-panel__body .is-green:not(.default):focus,.components-tab-panel__tab-content .components-modal__content .is-green:not(.default):focus,.rank-math-modal .components-panel__body .is-green:not(.default):focus,.rank-math-modal .components-modal__content .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}.components-tab-panel__tab-content .components-panel__body .button-link-delete,.components-tab-panel__tab-content .components-modal__content .button-link-delete,.rank-math-modal .components-panel__body .button-link-delete,.rank-math-modal .components-modal__content .button-link-delete{color:#ee6a5e;border-color:#ee6a5e;background:transparent}.components-tab-panel__tab-content .components-panel__body .button-link-delete:hover,.components-tab-panel__tab-content .components-panel__body .button-link-delete:focus,.components-tab-panel__tab-content .components-modal__content .button-link-delete:hover,.components-tab-panel__tab-content .components-modal__content .button-link-delete:focus,.rank-math-modal .components-panel__body .button-link-delete:hover,.rank-math-modal .components-panel__body .button-link-delete:focus,.rank-math-modal .components-modal__content .button-link-delete:hover,.rank-math-modal .components-modal__content .button-link-delete:focus{color:#fff;border-color:#ee6a5e;background:#ee6a5e;-webkit-box-shadow:0 0 0 1px #ee6a5e;box-shadow:0 0 0 1px #ee6a5e}.components-tab-panel__tab-content .components-panel__body .button-link,.components-tab-panel__tab-content .components-panel__body .is-link,.components-tab-panel__tab-content .components-modal__content .button-link,.components-tab-panel__tab-content .components-modal__content .is-link,.rank-math-modal .components-panel__body .button-link,.rank-math-modal .components-panel__body .is-link,.rank-math-modal .components-modal__content .button-link,.rank-math-modal .components-modal__content .is-link{border:0;background:transparent;-webkit-box-shadow:none;box-shadow:none}.components-tab-panel__tab-content .components-panel__body .button-small,.components-tab-panel__tab-content .components-panel__body .is-small,.components-tab-panel__tab-content .components-modal__content .button-small,.components-tab-panel__tab-content .components-modal__content .is-small,.rank-math-modal .components-panel__body .button-small,.rank-math-modal .components-panel__body .is-small,.rank-math-modal .components-modal__content .button-small,.rank-math-modal .components-modal__content .is-small{font-size:12px;line-height:24px;min-height:24px;padding:0 8px}.components-tab-panel__tab-content .components-panel__body .button-xlarge,.components-tab-panel__tab-content .components-panel__body .is-large,.components-tab-panel__tab-content .components-modal__content .button-xlarge,.components-tab-panel__tab-content .components-modal__content .is-large,.rank-math-modal .components-panel__body .button-xlarge,.rank-math-modal .components-panel__body .is-large,.rank-math-modal .components-modal__content .button-xlarge,.rank-math-modal .components-modal__content .is-large{font-size:16px;line-height:44px;height:46px}.components-tab-panel__tab-content .components-panel__body .button-animated,.components-tab-panel__tab-content .components-modal__content .button-animated,.rank-math-modal .components-panel__body .button-animated,.rank-math-modal .components-modal__content .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}.components-tab-panel__tab-content .components-panel__body .button-animated i,.components-tab-panel__tab-content .components-modal__content .button-animated i,.rank-math-modal .components-panel__body .button-animated i,.rank-math-modal .components-modal__content .button-animated i{line-height:85px}.components-tab-panel__tab-content .components-panel__body .button-animated:before,.components-tab-panel__tab-content .components-modal__content .button-animated:before,.rank-math-modal .components-panel__body .button-animated:before,.rank-math-modal .components-modal__content .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}.components-tab-panel__tab-content .components-panel__body .rank-math-help-icon,.components-tab-panel__tab-content .components-modal__content .rank-math-help-icon,.rank-math-modal .components-panel__body .rank-math-help-icon,.rank-math-modal .components-modal__content .rank-math-help-icon{margin:0 4px;vertical-align:.5px;text-decoration:none;color:#b5bfc9;-webkit-box-shadow:none;box-shadow:none}.components-tab-panel__tab-content .components-panel__body .rank-math-help-icon:hover,.components-tab-panel__tab-content .components-modal__content .rank-math-help-icon:hover,.rank-math-modal .components-panel__body .rank-math-help-icon:hover,.rank-math-modal .components-modal__content .rank-math-help-icon:hover{color:#069de3}@-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}}.components-tab-panel__tab-content .rank-math-edit-snippet,.rank-math-modal .rank-math-edit-snippet{height:30px;margin:1rem 0;border-color:#069de3;background:#069de3}.components-tab-panel__tab-content .rank-math-edit-snippet:hover,.rank-math-modal .rank-math-edit-snippet:hover{border-color:#08a7f1;background:#08a7f1}@media (min-width: 600px){.rank-math-tabs .components-checkbox-control__input-container{width:16px;height:16px;margin-right:8px}.rank-math-tabs .components-checkbox-control__input-container svg{width:20px;height:18px}.rank-math-tabs .components-checkbox-control__input[type=checkbox]{width:16px;height:16px}.rank-math-tabs .components-checkbox-control__input[type=checkbox]:checked,.rank-math-tabs .components-checkbox-control__input[type=checkbox]:checked:focus{border-color:#069de3;background:#069de3}}body.rtl .rank-math-tabs>.components-tab-panel__tabs button.is-active i,body.rtl .rank-math-tabs>.components-tab-panel__tabs button i{margin-right:0;margin-left:5px}body.rtl .rank-math-tabs>.components-tab-panel__tabs button[id='1-review']{margin-right:auto;margin-left:0}.rank-math-sidebar-panel .rank-math-tooltip{display:inline}.rank-math-sidebar-panel .rank-math-tooltip label{position:relative;margin-left:1px;vertical-align:.5px;color:#b5bfc9}.rank-math-sidebar-panel .rank-math-tooltip label:hover{opacity:1;color:#069de3}.rank-math-sidebar-panel .rank-math-tooltip label:after{display:none;content:'';-webkit-transform:translate(-50%, 3px);transform:translate(-50%, 3px);border-style:solid;height:0;width:0;border-color:transparent transparent #edf0f2;border-width:0 10px 8px;position:absolute;top:100%;left:50%}.rank-math-sidebar-panel .rank-math-tooltip input{display:none !important}.rank-math-sidebar-panel .rank-math-tooltip input:checked+label{opacity:1;color:#00a0d2}.rank-math-sidebar-panel .rank-math-tooltip input:checked+label:after{display:block}.rank-math-sidebar-panel .rank-math-tooltip input:checked ~ .rank-math-tooltip-content{display:block}.rank-math-sidebar-panel .rank-math-tooltip-content{font-weight:normal;line-height:1.3;display:none;width:100%;margin:7px 0 0;padding:8px 10px;color:#737982;border-radius:3px;background:#edf0f2}.rank-math-sidebar-panel .rank-math-tooltip-content a{text-decoration:underline}div.rank-math-modal{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen-Sans,Ubuntu,Cantarell,'Helvetica Neue',sans-serif;overflow-y:scroll;width:665px;max-width:100%;height:94vh;max-height:735px;border:0;-webkit-box-shadow:0 5px 30px 0 rgba(0,0,0,0.2);box-shadow:0 5px 30px 0 rgba(0,0,0,0.2)}div.rank-math-modal .components-modal__content{padding:0;margin-top:50px}div.rank-math-modal .components-modal__content:before{margin:0}div.rank-math-modal .components-panel__body{border:0}div.rank-math-modal .components-modal__header{height:51px;margin:0;padding:0 17px;border-bottom:1px solid #dadfe4}div.rank-math-modal .components-modal__header .components-modal__header-heading{font-size:14px}div.rank-math-modal .components-modal__header button{padding:0 10px}@media (max-width: 782px){.rank-math-modal{width:100%;height:100%;max-height:100%}}.variable-group{position:relative}.variable-group .components-button{height:26px;padding:3px;color:inherit;position:absolute;top:2px;right:2px}.variable-group .components-button:not(.is-default):hover{background:transparent;-webkit-box-shadow:none;box-shadow:none}.variable-group .components-button .dashicon{margin-right:0}.variable-group input,.variable-group textarea{margin:0;padding-right:40px !important}.rank-math-variables-dropdown{z-index:999;display:none;overflow:auto;-webkit-box-sizing:border-box;box-sizing:border-box;width:80%;max-width:450px;max-height:290px;border:1px solid #b5bfc9;border-radius:4px;background:#fff;position:absolute;top:38px;right:0}body.rtl{right:auto;left:38px}.rank-math-variables-dropdown .components-base-control{padding:10px 10px 0}.rank-math-variables-dropdown input[type='text'].components-text-control__input{border-color:#b5bfc9;-webkit-box-shadow:none !important;box-shadow:none !important;height:34px;width:100%}.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 span{font-style:italic;line-height:1.3;display:block;padding-top:3px}.rank-math-variables-dropdown li:hover{background:#f8f9fa}.rank-math-variables-dropdown li:after{display:inline-block;margin-top:5px;padding:.25em .4em;content:attr(data-var);white-space:nowrap;border-radius:.25rem;background-color:#f0f2f4}.edit-post-layout:not(.show-icon-labels) .interface-pinned-items button.components-button[aria-label='Rank Math']{padding:0;background:transparent}.edit-post-layout:not(.show-icon-labels) .interface-pinned-items button.components-button[aria-label='Rank Math']:hover{background:transparent}.edit-post-layout:not(.show-icon-labels) .interface-pinned-items button.components-button[aria-label='Rank Math'] .rank-math-toolbar-score{padding:8.5px 9px;color:#212F3E;border-radius:2px;background:#dadfe4;border:1px solid #a6b2be}.edit-post-layout:not(.show-icon-labels) .interface-pinned-items button.components-button[aria-label='Rank Math'] .rank-math-toolbar-score .rank-math-icon{float:left;height:17px;margin-right:4px}.edit-post-layout:not(.show-icon-labels) .interface-pinned-items button.components-button[aria-label='Rank Math'] .rank-math-toolbar-score .rank-math-icon,.edit-post-layout:not(.show-icon-labels) .interface-pinned-items button.components-button[aria-label='Rank Math'] .rank-math-toolbar-score .rank-math-icon *,.edit-post-layout:not(.show-icon-labels) .interface-pinned-items button.components-button[aria-label='Rank Math'] .rank-math-toolbar-score .rank-math-icon:hover,.edit-post-layout:not(.show-icon-labels) .interface-pinned-items button.components-button[aria-label='Rank Math'] .rank-math-toolbar-score .rank-math-icon:hover *{fill:inherit !important;stroke:inherit !important}.edit-post-layout:not(.show-icon-labels) .interface-pinned-items button.components-button[aria-label='Rank Math'] .rank-math-toolbar-score .seo-score{font-weight:600;display:inline-block}.edit-post-layout:not(.show-icon-labels) .interface-pinned-items button.components-button[aria-label='Rank Math'] .rank-math-toolbar-score.loading{pointer-events:none}.edit-post-layout:not(.show-icon-labels) .interface-pinned-items button.components-button[aria-label='Rank Math'] .rank-math-toolbar-score.bad-fk{color:#ef877f;background:#fce9e8;fill:#ef877f;border-color:#ef877f}.edit-post-layout:not(.show-icon-labels) .interface-pinned-items button.components-button[aria-label='Rank Math'] .rank-math-toolbar-score.ok-fk{color:#ff9f13;background:#ffeccf;fill:#ff9f13;border-color:#ffb446}.edit-post-layout:not(.show-icon-labels) .interface-pinned-items button.components-button[aria-label='Rank Math'] .rank-math-toolbar-score.good-fk{color:#67c267;background:#dff2df;fill:#67c267;border-color:#67c267}.edit-post-layout:not(.show-icon-labels) .interface-pinned-items button.components-button[aria-label='Rank Math'].is-toggled .rank-math-toolbar-score,.edit-post-layout:not(.show-icon-labels) .interface-pinned-items button.components-button[aria-label='Rank Math'].is-pressed .rank-math-toolbar-score{background:#b5bfc9}.edit-post-layout:not(.show-icon-labels) .interface-pinned-items button.components-button[aria-label='Rank Math'].is-toggled .rank-math-toolbar-score.bad-fk,.edit-post-layout:not(.show-icon-labels) .interface-pinned-items button.components-button[aria-label='Rank Math'].is-pressed .rank-math-toolbar-score.bad-fk{color:#fff;background:#f29c96;fill:#fff}.edit-post-layout:not(.show-icon-labels) .interface-pinned-items button.components-button[aria-label='Rank Math'].is-toggled .rank-math-toolbar-score.ok-fk,.edit-post-layout:not(.show-icon-labels) .interface-pinned-items button.components-button[aria-label='Rank Math'].is-pressed .rank-math-toolbar-score.ok-fk{color:#fff;background:#ffbe5f;fill:#fff}.edit-post-layout:not(.show-icon-labels) .interface-pinned-items button.components-button[aria-label='Rank Math'].is-toggled .rank-math-toolbar-score.good-fk,.edit-post-layout:not(.show-icon-labels) .interface-pinned-items button.components-button[aria-label='Rank Math'].is-pressed .rank-math-toolbar-score.good-fk{color:#fff;background:#79c979;fill:#fff}.components-menu-group .rank-math-toolbar-score .seo-score{display:none}.components-menu-group .rank-math-toolbar-score .rank-math-icon g{fill:inherit !important}.rank-math-focus-keyword .tagify{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;-ms-flex-wrap:wrap;flex-wrap:wrap;border:1px solid #8d96a0;padding:0;cursor:text;position:relative;border-radius:4px;margin-bottom:16px;overflow:auto}@-webkit-keyframes tags--bump{30%{-webkit-transform:scale(1.2);transform:scale(1.2)}}@keyframes tags--bump{30%{-webkit-transform:scale(1.2);transform:scale(1.2)}}.rtl #side-sortables .rank-math-focus-keyword .tagify{padding-right:5px}.rank-math-focus-keyword .tagify:hover{border-color:#8d96a0}.rank-math-focus-keyword .tagify.tagify--focus{border-color:#00a0d2;-webkit-box-shadow:0 0 0 1px #00a0d2;box-shadow:0 0 0 1px #00a0d2}.rank-math-focus-keyword .tagify+input,.rank-math-focus-keyword .tagify+textarea{display:none !important}.tagify__tag+.rank-math-focus-keyword .tagify__tag{min-width:20px}.tagify__tag+.rank-math-focus-keyword .tagify__tag::before{display:none}.rank-math-focus-keyword .tagify__tag{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:5px 0 5px 5px;position:relative;z-index:1;cursor:pointer;padding:4px 6px 4px 10px;border-radius:14px;font-size:14px;line-height:17px}.rank-math-focus-keyword .tagify__tag:focus{outline:none}.rank-math-focus-keyword .tagify__tag.tagify--editable>div{color:#000}.rank-math-focus-keyword .tagify__tag.dragsort--dragElem{display:none}.rank-math-focus-keyword .tagify__tag>div{vertical-align:top;-webkit-box-sizing:border-box;box-sizing:border-box;max-width:100%;line-height:inherit;border-radius:3px;-webkit-transition:none;transition:none;padding:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:inherit}.rank-math-focus-keyword .tagify__tag>div:before{color:green;-webkit-box-shadow:none;box-shadow:none;position:relative}.rank-math-focus-keyword .tagify__tag>div>*{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:inline-block;vertical-align:top;min-width:10px;line-height:17px;max-width:initial;-webkit-transition:none;transition:none}.rank-math-focus-keyword .tagify__tag>div>*[contenteditable]{outline:none;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;cursor:text;margin:-2px;padding:2px}.rank-math-focus-keyword .tagify__tag.tagify--noAnim{-webkit-animation:none;animation:none}.rank-math-focus-keyword .tagify__tag.tagify--hide{width:0 !important;padding-left:0;padding-right:0;margin-left:0;margin-right:0;opacity:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:.3s;transition:.3s;pointer-events:none}.rank-math-focus-keyword .tagify__tag.tagify--mark div::before{-webkit-animation:none;animation:none}.rank-math-focus-keyword .tagify__tag:first-child .tagify__tag-text:before{font-family:'dashicons';font-size:12px;margin-right:5px;vertical-align:-1px;display:inline-block;content:'\f155';text-align:center;color:currentColor;border-radius:50%}.rank-math-focus-keyword .tagify__tag.bad-fk{color:#ef877f;background:#fce9e8}.rank-math-focus-keyword .tagify__tag.bad-fk.selected{color:#fff;background:#f29c96}.rank-math-focus-keyword .tagify__tag.bad-fk.selected .tagify__tag__removeBtn{color:#fff;background:#e4827b}.rank-math-focus-keyword .tagify__tag.bad-fk.selected .tagify__tag__removeBtn:hover{background:#de746d}.rank-math-focus-keyword .tagify__tag.bad-fk .tagify__tag__removeBtn{color:#fff;background:#f6d1cf}.rank-math-focus-keyword .tagify__tag.bad-fk .tagify__tag__removeBtn:hover{background:#f5c0bc}.rank-math-focus-keyword .tagify__tag.ok-fk{color:#ff9f13;background:#ffeccf}.rank-math-focus-keyword .tagify__tag.ok-fk.selected{color:#fff;background:#ffbe5f}.rank-math-focus-keyword .tagify__tag.ok-fk.selected .tagify__tag__removeBtn{color:#fff;background:#f3ab42}.rank-math-focus-keyword .tagify__tag.ok-fk.selected .tagify__tag__removeBtn:hover{background:#eea232}.rank-math-focus-keyword .tagify__tag.ok-fk .tagify__tag__removeBtn{color:#fff;background:#fbd6a0}.rank-math-focus-keyword .tagify__tag.ok-fk .tagify__tag__removeBtn:hover{background:#fccc86}.rank-math-focus-keyword .tagify__tag.good-fk{color:#67c267;background:#dff2df}.rank-math-focus-keyword .tagify__tag.good-fk.selected{color:#fff;background:#79c979}.rank-math-focus-keyword .tagify__tag.good-fk.selected .tagify__tag__removeBtn{color:#fff;background:#6ab06a}.rank-math-focus-keyword .tagify__tag.good-fk.selected .tagify__tag__removeBtn:hover{background:#60a560}.rank-math-focus-keyword .tagify__tag.good-fk .tagify__tag__removeBtn{color:#fff;background:#b2dcb2}.rank-math-focus-keyword .tagify__tag.good-fk .tagify__tag__removeBtn:hover{background:#9ad19a}.rank-math-focus-keyword .tagify__tag__removeBtn{-webkit-box-ordinal-group:6;-ms-flex-order:5;order:5;font:14px/18px Dashicons;color:#fff;height:18px;width:18px;text-align:center;cursor:pointer;margin-left:4px;border-radius:50px;background:rgba(0,0,0,0.35)}.rank-math-focus-keyword .tagify__tag__removeBtn::after{content:"\f335"}.rank-math-focus-keyword .tagify__tag__removeBtn:hover{color:#fff !important;background:rgba(86,86,86,0.35);border-radius:50px}.rank-math-focus-keyword .tagify__tag__removeBtn:hover+div>span{opacity:1}.rank-math-focus-keyword .tagify--hasMaxTags .tagify__input{display:none}.rank-math-focus-keyword .tagify__input{display:block;min-width:20px;margin:5px;padding:7px 6px 6px;line-height:1;position:relative}.rank-math-focus-keyword .tagify__input::before{display:none}.rank-math-focus-keyword .tagify__input:empty::before{-webkit-transition:.2s ease-out;transition:.2s ease-out;opacity:.5;-webkit-transform:none;transform:none;width:auto}.rank-math-focus-keyword .tagify__input:focus{outline:none}.rank-math-focus-keyword .tagify__input:focus::before{-webkit-transition:.2s ease-out;transition:.2s ease-out;opacity:0;-webkit-transform:translatex(6px);transform:translatex(6px)}@supports (-moz-appearance: none){.rank-math-focus-keyword .tagify__input:focus::before{display:none}}.rank-math-focus-keyword .tagify__input:focus:empty::before{-webkit-transition:.2s ease-out;transition:.2s ease-out;opacity:.3;-webkit-transform:none;transform:none}@supports (-moz-appearance: none){.rank-math-focus-keyword .tagify__input:focus:empty::before{display:inline-block}}.rank-math-focus-keyword .tagify__input::after{content:attr(data-suggest);color:#000;opacity:.3;pointer-events:none}.tagify__dropdown{position:absolute;z-index:9999;background:white;max-height:350px;overflow:auto;border:1px solid #e8e9ec;border-radius:4px;-webkit-box-shadow:0 9px 18px 0 rgba(25,30,35,0.18);box-shadow:0 9px 18px 0 rgba(25,30,35,0.18);-webkit-box-sizing:border-box;box-sizing:border-box}.tagify__dropdown__item{-webkit-box-sizing:inherit;box-sizing:inherit;padding:6px 13px;cursor:pointer;position:relative;outline:none;color:#717780;border-top:1px solid #edf0f2}.tagify__dropdown__item--active,.tagify__dropdown__item:active{background:#0095cd;color:#fff}body.rtl .rank-math-focus-keyword .tagify__tag{padding-right:10px;padding-left:6px}body.rtl .rank-math-focus-keyword .tagify__tag .tagify__tag__removeBtn{margin-right:4px;margin-left:0}body.rtl .rank-math-focus-keyword .tagify__tag:first-child .tagify__tag-text:before{margin-right:0;margin-left:5px}.rank-math-focus-keyword{position:relative}.rank-math-focus-keyword .components-panel__body-title{margin-bottom:0;padding:16px;padding-bottom:10px;background:transparent !important}.rank-math-focus-keyword .components-notice{margin:0 0 10px;color:#555d66;border-radius:4px}.rank-math-focus-keyword .components-notice__content{margin:0}.rank-math-focus-keyword .components-notice a{font-weight:500}.rank-math-modal.rank-math-focus-keywords-cta-modal{height:auto}.rank-math-modal.rank-math-focus-keywords-cta-modal #rank-math-pro-cta{position:relative}.rank-math-modal.rank-math-focus-keywords-cta-modal #rank-math-pro-cta .rank-math-cta-box{-webkit-box-shadow:none;box-shadow:none;padding:0 0 1rem 0}.rank-math-modal.rank-math-focus-keywords-cta-modal .components-modal__content::before{margin-bottom:0}.rank-math-checklist{background:#fff}.rank-math-checklist .components-panel__body-title,.rank-math-checklist .components-panel__body-toggle.components-button{font-size:14px;outline:0 !important}.rank-math-checklist li{position:relative;padding-left:24px;line-height:1.4;margin-bottom:6px}.rank-math-checklist li:before{font-family:dashicons;font-size:14px;line-height:16px;content:'\f335';text-align:center;color:#fff;border-radius:50em;background:#f29c96;position:absolute;top:1px;left:-1px;height:16px;width:16px}.rank-math-checklist li.test-ok:before{content:'\f147';background:#79c979}.rank-math-checklist li.test-warning:before{background:#ffbe5f}.rank-math-checklist li.test-check-good:before{background:#fff;color:#79c979;-webkit-box-shadow:inset 0 0 0 2px #79c979;box-shadow:inset 0 0 0 2px #79c979}.rank-math-checklist li.test-check-ok:before{background:#fff;color:#ffbe5f;-webkit-box-shadow:inset 0 0 0 2px #ffbe5f;box-shadow:inset 0 0 0 2px #ffbe5f}.rank-math-checklist li.test-check-bad:before{background:#fff;color:#ffa35f;-webkit-box-shadow:inset 0 0 0 2px #ffa35f;box-shadow:inset 0 0 0 2px #ffa35f}.rank-math-checklist li.seo-check-fleschReading.okay:before,.rank-math-checklist li.seo-check-fleschReading.fairly-difficult:before{background:#ffbe5f}.rank-math-checklist li.seo-check-fleschReading.difficult:before{background:#eac0c2}.rank-math-group-score{font-size:11px;font-weight:normal;line-height:21px;padding:0 10px 0 7px;letter-spacing:.05em;color:#fff;border-radius:20em;background:#f29c96;margin-top:-2px;margin-left:10px}.rank-math-group-score:before{font-family:dashicons;font-size:13px;line-height:12px;content:'\f335';margin-top:3px;margin-right:2px;vertical-align:middle}.rank-math-group-score.test-ok{background:#79c979}.rank-math-group-score.test-ok:before{content:'\f147'}.rank-math-group-score.test-warning{padding:3px 10px 3px 5px;background:#ffbe5f}.rank-math-group-score.test-warning:before{font-size:11px;font-weight:500;margin-top:1px;padding:0 4px 0 6px;content:'!';text-align:center}body.rtl .rank-math-group-score{margin:0 10px 0 0}.serp-preview-noindex{display:none}.noindex-preview .serp-preview-body{opacity:0.6}.noindex-preview .serp-preview-body{pointer-events:none}.noindex-preview .serp-preview-noindex{z-index:1;display:block;margin-top:10px;padding:5px 10px;border-left:4px solid #f0b849;border-radius:4px;background:#fef8ee}.noindex-preview .serp-preview-noindex h3{font-weight:700;line-height:1.4;margin:5px 0 0;letter-spacing:1px;text-transform:uppercase;color:#32383d}.noindex-preview .serp-preview-noindex p{font-size:14px;width:400px;max-width:100%;margin:5px 0;color:#333}.suggestion-item{overflow:hidden;margin-bottom:5px;padding-bottom:5px;border-bottom:1px dotted #b5bfc9}.suggestion-item a{text-decoration:none;-webkit-box-shadow:none !important;box-shadow:none !important}.suggestion-item .suggestion-actions{float:right;margin-left:5px}.suggestion-item .dashicons{cursor:pointer;background:none;-webkit-box-shadow:none;box-shadow:none;border:0;position:relative;width:20px;height:20px;margin-top:5px;margin-left:2px;margin-right:2px;padding:0px;display:inline-block}.suggestion-item .dashicons-admin-links::before{position:absolute;top:0px;left:0px}.suggestion-item .dashicons-clipboard::before{position:absolute;top:0px;left:0px}#rank_math_keyword_density{font-weight:600;display:none;float:right;cursor:pointer;color:#888}#rank_math_keyword_density span{float:right}#rank_math_keyword_density .inner-wrapper{position:absolute;z-index:1;right:30px;margin-top:8px;padding:5px 15px;background:#fff;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.1);box-shadow:0 1px 1px rgba(0,0,0,0.1)}#rank_math_keyword_density .inner-wrapper ul{margin-top:15px}#rank_math_keyword_density.state-closed span:before{content:'\f140' !important}#rank_math_keyword_density.state-closed .inner-wrapper{display:none}#rank_math_metabox_link_suggestions .postbox-header .hndle{-webkit-box-pack:normal;-ms-flex-pack:normal;justify-content:normal}.rank-math-button-devices{float:right}.rank-math-button-devices .button.button-small{font-size:14px;line-height:32px;display:inline-block;height:30px;min-height:26px;padding:0 8px;cursor:pointer;-webkit-transition:.25s all linear;transition:.25s all linear;color:#7f8292;border:1px solid #b5bfc9;border-radius:3px;background:#f3f5f6}.rank-math-button-devices .button.button-small:first-child{margin-right:5px}.rank-math-button-devices .button.button-small:hover{color:#069de3;border-color:#069de3}.rank-math-button-devices .button.button-small.active{color:#fff;border-color:#069de3;background:#069de3;-webkit-box-shadow:none;box-shadow:none}.serp-preview{background:#fff}.serp-preview *{-webkit-box-sizing:border-box;box-sizing:border-box}.serp-preview-title{margin-bottom:5px}.serp-preview-title:before{font-size:14px;font-weight:600;line-height:24px;content:attr(data-title);letter-spacing:.05em}.serp-preview-title .seo-score{font-weight:600;display:none;float:right;padding:4px 6px;color:#fff;border-radius:3px;background:#ffbe5f}.show-icon-labels .serp-preview-title .seo-score{display:block}.serp-preview-title .seo-score.bad-fk{background:#f29c96}.serp-preview-title .seo-score.good-fk{background:#79c979}.serp-preview-wrapper{position:relative;padding-top:5px;-webkit-transition:all .6s ease;transition:all .6s ease}.serp-preview-body{cursor:pointer;-webkit-transition:width .2s ease, padding .2s ease, margin .2s ease;transition:width .2s ease, padding .2s ease, margin .2s ease}.serp-preview .group{position:relative;width:100%}.serp-preview .serp-description,.serp-preview .serp-title,.serp-preview .serp-url{font-family:arial, sans-serif;font-size:13px;position:relative;z-index:1;display:block;overflow:hidden;width:100%;max-width:600px;margin:0;cursor:pointer;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.serp-preview .serp-description mark,.serp-preview .serp-title mark,.serp-preview .serp-url mark{font-weight:bold;color:inherit;background-color:transparent}.serp-preview .serp-title{font-size:16px;font-weight:normal;line-height:1.5;margin-bottom:3px;padding-bottom:0;color:#1a0dab}.serp-preview .serp-title.capitalize{text-transform:capitalize}.serp-preview .serp-url{font-size:14px;line-height:16px;margin:3px 0 5px;padding-right:5px;color:#202124}.serp-preview .serp-url:after{position:absolute;top:-2px;margin-left:10px;content:url('data:image/svg+xml; utf8, <svg focusable="false" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><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"></path></svg>');opacity:.4;height:17px;width:17px}.serp-preview .serp-description{line-height:1.4;white-space:normal;text-overflow:unset;word-wrap:break-word;color:#555d66}.serp-preview .rank-math-rating-preview{margin-bottom:4px;margin-left:-1px}.serp-preview .serp-ratings{line-height:1;position:relative;display:inline;margin-right:5px;vertical-align:-1px;color:#ccc}.serp-preview .serp-ratings span{font-size:14px;width:14px;height:14px}.serp-preview .serp-result{position:absolute;top:0;left:0;overflow:hidden;white-space:nowrap;color:#f9b709}.serp-preview .serp-result span{margin-top:-1px}.serp-preview .serp-rating-label,.serp-preview .serp-rating-value{color:#70757a}.rank-math-editor-general .serp-preview-title{margin-bottom:0}.rank-math-editor-general .serp-preview-title:before{line-height:36px}.serp-preview-favicon{display:none}.serp-preview-bg{overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;max-height:0;-webkit-transition:.2s max-height ease-in-out;transition:.2s max-height ease-in-out;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.rank-math-editor .serp-preview-input{position:relative;max-width:598px;pointer-events:none}.rank-math-editor .serp-preview-input input[disabled]{font:16px arial,sans-serif;padding:5px 16px;color:#000;border:1px solid transparent;border-radius:24px;background:#fff;-webkit-box-shadow:0 2px 5px 1px rgba(64,60,67,0.16);box-shadow:0 2px 5px 1px rgba(64,60,67,0.16);height:46px;width:100%}.rank-math-editor .serp-preview-input .serp-icon-mic,.rank-math-editor .serp-preview-input .serp-icon-search{display:inline-block;width:24px;position:absolute;top:0;right:48px}.rank-math-editor .serp-preview-input .serp-icon-mic{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAACrElEQVR42u2Xz2sTQRSAX8VSb1K8iNqKooJH2Ux6Ksn+iPQqxZMIehJB0do/IMhmQWsvHr2KSEGk0tSLIoWIYNUKij20F2/N7iaUZnYT0kYzzhMKs0HDJiTdLcwHDwKZSd63781LBiQSSW9JZdkhzfKm1Rz9mjZp/W9YdEU3vXv4HsQZ40FtNG36q5rls//Ej4tmbSS2T15Mvp3ExOPmEMQNbBtMMEyoljcFcQN7PqyAlqNfIG7gYQ0tYNIaxA1MrJPY3wImbUqBKAXSFv0tBSIVMOkvKRDtGKWN/T6FdqRAxFNoWwpEPIXqUqBT6ALU/UVgu8GW4GD3f6f9TRDYNJTDrk7YbtiqUumHwIYoUJuHERDAS0r4CvgFECgbY+cFAR7KT+g1POmCKFDNw6WggHc3fBtVb4CAoyauBgXIG+g1Xh5mRAGah6cggBd11fK/h7lOprIs0H6uRl6KAo5O7kOv4QmPiwJ4Jqqv4FiwCtXjvD2+tRmfK6kZ/ygI2HritK0rDVGgrClJ6DWMwYC/AGuCBMYcIC2V0CzvjmbRz3j3xUjn6CfeYreUJ2wQkGD75INPX1mFfsEFrrcIYCvdhC4paWQakxajpJMr0C9YFg54i7AsClRmh9/xnr0NHcInzZStk2aLwAcGMAD9pPIazvFKVDD5rdnhJeHLX5RTyRPQHpz5o66emMc9wdlPtvA8wF7Aq2BUHh1525qEo5JtR1WeOXpickO9cJIpyuD6xJmhYiZ5ytWSl3mlnuOaf+2zDaLDXmJrSgZ/MYVEugo+gSh+FkSBa4yd5Ul87DZ5XpFl/AyIEjzYjkau8WqshU2cr13HPbgX4gJOD97n465GZlyVvC9mSKloKI2iTnbwNT+gBX54H+IaXAtxJzE3ycSAFqSAFJACUkAikXD+AHj5/wx2o5osAAAAAElFTkSuQmCC");background-repeat:no-repeat;background-position:right center;background-size:24px 24px;height:48px;width:24px}.rank-math-editor .serp-preview-input .serp-icon-search{right:16px}.rank-math-editor .serp-preview-input .serp-icon-search svg{fill:#4285f4;height:48px;width:24px}.serp-preview-menus{overflow:hidden;max-width:600px}.serp-preview-menus ul{float:left;overflow:hidden;margin:0;padding:0;list-style:none}.serp-preview-menus ul li{font-family:arial,sans-serif;font-size:13px;line-height:19px;float:left;margin:0;padding:27px 12px 12px;color:#777}.serp-preview-menus ul li.current{color:#1a73e8;border-bottom:3px solid #1a73e8}.serp-preview-menus ul li.current img{margin-right:3px}.serp-preview-menus ul li img,.serp-preview-menus ul li svg{display:inline-block;width:16px;margin-right:1px;vertical-align:-3px;fill:#5f6368}.serp-preview-menus ul.menus-right{float:right}.serp-preview-result-stats{font-family:arial,sans-serif;font-size:small;line-height:43px;color:#808080;border-top:1px solid #ebebeb}.desktop-preview .serp-preview-title:before{content:attr(data-desktop)}.mobile-preview .serp-preview-title:before{content:attr(data-mobile)}.mobile-preview .serp-preview-bg{width:400px;margin:auto;border-bottom:1px solid rgba(60,64,67,0.08)}.mobile-preview .serp-preview-input{max-width:399px}.mobile-preview .serp-preview-input input[disabled]{height:41px;padding-left:43px}.mobile-preview .serp-preview-input .serp-icon-mic{display:none}.mobile-preview .serp-preview-input .serp-icon-search{top:0;left:4px;width:40px;height:41px;padding-right:8px;padding-left:8px;text-align:center;border-radius:0 20px 20px 0}.mobile-preview .serp-preview-input .serp-icon-search svg{height:41px;fill:#9aa0a6}.mobile-preview .serp-preview-menus{padding:0 10px}.mobile-preview .serp-preview-menus ul{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.mobile-preview .serp-preview-menus ul li{font-family:inherit;font-size:14px;font-weight:500;line-height:34px;padding:6px 0 0;text-align:center}.mobile-preview .serp-preview-menus ul li.current{color:#202124;border-bottom:2px solid #202124}.mobile-preview .serp-preview-menus ul li img,.mobile-preview .serp-preview-menus ul li svg{display:none}.mobile-preview .serp-preview-menus ul.menus-right{display:none}.mobile-preview .serp-preview-result-stats{display:none}.mobile-preview .serp-preview-body{-webkit-box-sizing:border-box;box-sizing:border-box;width:400px;margin:10px auto auto;padding:10px;word-wrap:break-word;background-color:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column wrap;flex-flow:column wrap}.mobile-preview .rank-math-rating-preview{display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:10px;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.mobile-preview .rank-math-rating-preview .serp-ratings{margin:2px 0 0 5px;-webkit-box-ordinal-group:4;-ms-flex-order:3;order:3}.mobile-preview .rank-math-rating-preview .serp-ratings .dashicon{font-size:14px}.mobile-preview .rank-math-rating-preview .serp-result{color:#f9b709}.mobile-preview .rank-math-rating-preview .serp-rating-label{width:100%;margin-bottom:2px;color:#202124;-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.mobile-preview .rank-math-rating-preview .serp-rating-value{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.rank-math-editor .mobile-preview .serp-title{color:#1558d6}.rank-math-editor .mobile-preview .group:first-child{max-width:250px;display:-webkit-box;display:-ms-flexbox;display:flex}.rank-math-editor .mobile-preview .serp-preview-bg{display:none}.rank-math-editor .mobile-preview .serp-preview-favicon{display:block;height:16px;margin-top:7px;margin-right:7px}.rank-math-editor .mobile-preview .serp-url{font-size:12px;margin-bottom:12px;color:#3c4043}.expanded-preview.desktop-preview .serp-preview-bg{overflow:visible}@media (min-width: 768px){.expanded-preview.desktop-preview .serp-preview-bg{max-height:168px}}.expanded-preview.mobile-preview .serp-preview-bg{display:block;overflow:visible;max-height:99px}.expanded-preview.mobile-preview .serp-title{margin-bottom:10px}.expanded-preview.mobile-preview .serp-description{color:#3c4041}body.rtl .rank-math-button-devices{float:left}body.rtl .rank-math-button-devices .button.button-small:first-child{margin-right:0;margin-left:5px}body.rtl .serp-preview-bg .serp-preview-input .serp-icon-search{right:auto;left:15px}body.rtl .serp-preview-bg .serp-preview-input .serp-icon-mic{right:auto;left:50px;padding-right:8px;padding-left:2px}body.rtl .serp-preview-bg .serp-preview-menus li,body.rtl .serp-preview-bg .serp-preview-menus ul{float:right}body.rtl .serp-preview-bg .serp-preview-menus li.menus-right,body.rtl .serp-preview-bg .serp-preview-menus ul.menus-right{float:left}body.rtl .mobile-preview .serp-preview-bg .serp-preview-input .serp-icon-search{left:0;border-radius:20px 0 0 20px}body.rtl .mobile-preview .serp-preview-favicon{margin-right:0;margin-left:6px}body.rtl .serp-preview .serp-description:focus:before,body.rtl .serp-preview .serp-description:hover:before,body.rtl .serp-preview .serp-title:focus:before,body.rtl .serp-preview .serp-title:hover:before,body.rtl .serp-preview .serp-url:focus:before,body.rtl .serp-preview .serp-url:hover:before{text-align:left}#setting-panel-social .rank-math-tab{padding:30px 0 0}#setting-panel-social .rank-math-social-preview+.notice{margin-top:20px}#setting-panel-social .cmb-row.cmb-row-33{min-height:118px;vertical-align:top}.rank-math-social-preview-button{font-size:13px;display:inline-block;padding:4px 8px;text-decoration:none;text-transform:uppercase;color:#555;border:0;outline:none;background:#ededee;-webkit-box-shadow:none !important;box-shadow:none !important}.rank-math-social-preview-button .dashicons{position:relative;top:-2px}.open .rank-math-social-preview-button{color:#fff;background:#069de3}.rank-math-social-preview-item{display:none;-webkit-box-sizing:border-box;box-sizing:border-box;max-width:500px;margin:0 auto;padding:30px 0}.rank-math-social-preview-item-wrapper{overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;max-width:100%;margin:auto;border:1px solid #dddfe2;border-radius:0 0 3px 3px;background:#fff}.rank-math-social-preview-item .error-msg{line-height:1;display:none;width:528px;max-width:100%;margin:auto;padding-top:10px}.rank-math-social-preview-item .error-msg.show{display:block}.rank-math-social-preview-image{line-height:0;position:relative;z-index:1}.rank-math-social-preview-image img{display:none;max-width:100%;height:auto;min-height:initial}.rank-math-social-preview-image-overlay{-webkit-transform:translate(-50%, -50%) scale(0.45);transform:translate(-50%, -50%) scale(0.45);position:absolute;top:50%;left:50%}.rank-math-social-preview-image .error-msg{line-height:1;display:none}.rank-math-social-preview .rank-math-social-preview-caption{font-size:12px;padding:10px 10px 5px;color:#1d2129;background:#f2f3f5}.rank-math-social-preview .rank-math-social-preview-title{font-size:16px;font-weight:600;line-height:22px;margin:0 0 3px;padding:0;letter-spacing:normal;word-wrap:break-word}.rank-math-social-preview .rank-math-social-preview-title.capitalize{text-transform:capitalize}.rank-math-social-preview-description,.rank-math-social-preview-publisher{line-height:16px;margin:0}.rank-math-social-preview-publisher{font-size:12px;font-weight:normal;padding-top:3px;padding-bottom:3px;text-transform:uppercase;color:#90949c}.rank-math-social-preview-publisher.facebook{text-transform:uppercase}.rank-math-social-preview-meta{position:relative;display:none;display:block;clear:both;margin:0 auto;margin-bottom:15px}.rank-math-social-preview-meta .social-profile-image{position:absolute;left:-58px;float:left;width:46px;height:46px;border-radius:50%;background:#dcc7c7}.rank-math-social-preview-meta .social-name{font-size:14px;font-weight:700;color:#14171a}.rank-math-social-preview-meta .social-username,.rank-math-social-preview-meta .social-time{font-size:12px;font-weight:normal;margin-left:5px;color:#657786}.rank-math-social-preview-meta .social-time:before{margin-right:5px;content:'\00B7'}.rank-math-social-preview-meta .social-text{margin-top:5px}.rank-math-social-preview-facebook .rank-math-social-preview-button strong:before{content:attr(data-facebook)}.rank-math-social-preview-facebook .facebook-thumbnail{display:block}.rank-math-social-preview-facebook .no-facebook-image .facebook-thumbnail{display:none}.rank-math-social-preview-facebook .rank-math-social-preview-meta.twitter-meta{display:none}.rank-math-social-preview-facebook .rank-math-social-preview-title{font-size:1.0625rem}.rank-math-social-preview-facebook .rank-math-social-preview-description{font-size:.9375rem;overflow:hidden;max-height:1.3em;margin-bottom:5px;white-space:nowrap;text-overflow:ellipsis;color:#606770}.rank-math-social-preview-facebook .rank-math-social-preview-meta{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;min-height:66px;margin-bottom:0;padding:12px;border:1px solid #dddfe2;border-bottom:0;border-radius:3px 3px 0 0;background:#fff}.rank-math-social-preview-facebook .rank-math-social-preview-meta .social-profile-image{position:relative;left:auto;width:40px;height:40px;margin-right:10px;margin-left:-2px}.rank-math-social-preview-facebook .rank-math-social-preview-meta .social-name{margin-bottom:3px;color:#365899}.rank-math-social-preview-facebook .rank-math-social-preview-meta .social-time:before{display:none}.rank-math-social-preview-facebook .rank-math-social-preview-meta .social-time span{width:auto}.rank-math-social-preview-facebook .rank-math-social-preview-meta .social-time span:first-child:after{margin:0 5px;content:'\00B7'}.rank-math-social-preview-facebook .rank-math-social-preview-meta .social-time span svg{vertical-align:middle}.rank-math-social-preview-facebook .rank-math-social-preview-meta .dashicons.dashicons-admin-site{font-size:12px;line-height:18px}.rank-math-social-preview-facebook .twitter{display:none}.rank-math-social-preview-twitter.app,.rank-math-social-preview-twitter.player{display:none !important}.rank-math-social-preview-twitter .rank-math-social-preview-item{max-width:582px;padding-left:58px}.rank-math-social-preview-twitter .rank-math-social-preview-meta .social-text,.rank-math-social-preview-twitter .rank-math-social-preview-meta .social-username,.rank-math-social-preview-twitter .rank-math-social-preview-meta .social-time{font-size:14px}.rank-math-social-preview-twitter .rank-math-social-preview-item-wrapper{clear:both;max-width:100%;border:1px solid #ccd6dd;border-radius:14px}.rank-math-social-preview-twitter .rank-math-social-preview-item-wrapper .twitter-thumbnail{display:block;max-width:100%}.rank-math-social-preview-twitter .rank-math-social-preview-item-wrapper .rank-math-social-preview-caption{background:#fff}.rank-math-social-preview-twitter .rank-math-social-preview-item-wrapper:hover{background:#f5f8fa}.rank-math-social-preview-twitter .rank-math-social-preview-item-wrapper:hover .rank-math-social-preview-caption{background:#f5f8fa}.rank-math-social-preview-twitter .rank-math-social-preview-title{font-weight:normal;overflow:hidden;margin-bottom:2px;white-space:nowrap;text-overflow:ellipsis;color:#14171a}.rank-math-social-preview-twitter .rank-math-social-preview-description{font-size:15px;line-height:1.3125;overflow:hidden;max-height:2.5em;text-overflow:ellipsis;color:#657786}.rank-math-social-preview-twitter .rank-math-social-preview-publisher{font-size:15px;padding-top:5px;text-transform:initial;color:#657786}.rank-math-social-preview-twitter .rank-math-social-preview-publisher .dashicon{margin-right:3px;-webkit-text-stroke:1px white}.rank-math-social-preview-twitter .rank-math-social-preview-publisher.facebook{display:none}.rank-math-social-preview-twitter .no-twitter-image .twitter-thumbnail{display:none}.rank-math-social-preview-twitter .rank-math-social-preview-button strong:before{content:attr(data-twitter)}.rank-math-social-preview-twitter.summary_card .rank-math-social-preview-image{float:left}.rank-math-social-preview-twitter.summary_card .rank-math-social-preview-image img{height:125px;width:125px}.rank-math-social-preview-twitter.summary_card .rank-math-social-preview-caption{overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;max-height:125px;padding:5px 0 0 15px}.rank-math-social-preview-twitter.summary_card .rank-math-social-preview-description{max-height:4.5rem}.rank-math-social-preview-twitter .rank-math-social-preview-meta.facebook-meta{display:none}.rank-math-social-preview-twitter .rank-math-social-preview-meta.twitter-meta{display:block}body.rtl .social-tabs-navigation a .dashicons,body.rtl .rank-math-editor-social .components-tab-panel__tabs .dashicon{margin-right:0;margin-left:8px}body.rtl .rank-math-social-preview-facebook .rank-math-social-preview-meta .social-profile-image{float:right;margin-right:0;margin-left:10px}body.rtl .rank-math-social-preview-twitter .rank-math-social-preview-item{padding-right:58px;padding-left:0}body.rtl .rank-math-social-preview-twitter .social-profile-image{right:-58px;left:auto}.rank-math-modal-overlay .rank-math-social-preview-item,.rank-math-modal-overlay .rank-math-social-preview-image img{display:block}.length-indicator-wrapper{position:relative;display:block;position:absolute;top:22px;right:15px;background-color:transparent !important;border:none !important}.length-indicator-wrapper .length-indicator{position:relative;display:inline-block;overflow:hidden;border-radius:2px;background:-webkit-gradient(linear, left top, right top, from(#e33e2b), color-stop(18%, #f06818), color-stop(19%, #fff), color-stop(19%, #fff), color-stop(20%, #f16b17), color-stop(38%, #f1a104), color-stop(39%, #fff), color-stop(39%, #fff), color-stop(40%, #f1a404), color-stop(58%, #d9b507), color-stop(59%, #fff), color-stop(59%, #fff), color-stop(60%, #d4b509), color-stop(78%, #7bb02c), color-stop(79%, #fff), color-stop(79%, #fff), color-stop(80%, #76ae2e), to(#2da24c));background:linear-gradient(to right, #e33e2b 0%, #f06818 18%, #fff 19%, #fff 19%, #f16b17 20%, #f1a104 38%, #fff 39%, #fff 39%, #f1a404 40%, #d9b507 58%, #fff 59%, #fff 59%, #d4b509 60%, #7bb02c 78%, #fff 79%, #fff 79%, #76ae2e 80%, #2da24c 100%);height:8px;width:180px;margin-left:10px}.length-indicator-wrapper .length-indicator span{position:absolute;z-index:11;border-radius:0 2px 2px 0;background:#e0e0e0;height:100%;width:100%}.length-indicator-wrapper.invalid .length-indicator{background:-webkit-gradient(linear, left top, right top, from(#e33d2a), color-stop(18%, #e33d2a), color-stop(19%, #fff), color-stop(19%, #fff), color-stop(20%, #e33d2a), color-stop(38%, #e33d2a), color-stop(39%, #fff), color-stop(39%, #fff), color-stop(40%, #e33d2a), color-stop(58%, #e33d2a), color-stop(59%, #fff), color-stop(59%, #fff), color-stop(60%, #e33d2a), color-stop(78%, #e33d2a), color-stop(79%, #fff), color-stop(79%, #fff), color-stop(80%, #e33d2a), to(#e33d2a));background:linear-gradient(to right, #e33d2a 0%, #e33d2a 18%, #fff 19%, #fff 19%, #e33d2a 20%, #e33d2a 38%, #fff 39%, #fff 39%, #e33d2a 40%, #e33d2a 58%, #fff 59%, #fff 59%, #e33d2a 60%, #e33d2a 78%, #fff 79%, #fff 79%, #e33d2a 80%, #e33d2a 100%)}.length-indicator-wrapper input:focus+.length-indicator,.length-indicator-wrapper textarea:focus+.length-indicator{display:block}.length-indicator-wrapper .length-count{font-size:12px;color:#7f868d}#rank-math-width-tester{position:absolute;top:0;left:0;margin:0;padding:0;font-weight:normal;white-space:nowrap;font-family:arial, sans-serif}#rank-math-width-tester.title{font-size:20px}#rank-math-width-tester.description{font-size:14px}body.rtl .length-indicator-wrapper{right:auto;left:15px}body.rtl .length-indicator-wrapper .length-indicator{margin-left:0;margin-right:10px}.rank-math-editor{overflow:hidden}.rank-math-editor>.components-tab-panel__tabs{padding:0 17px;-webkit-box-pack:left;-ms-flex-pack:left;justify-content:left;background:#f8f9fa;border-bottom:1px solid #b5bfc9}.rank-math-editor>.components-tab-panel__tabs button{width:auto;border:0 !important;padding:3px 15px}.rank-math-editor>.components-tab-panel__tabs button span{display:inline-block}.rank-math-editor>.components-tab-panel__tabs button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link):hover i{background:none;-webkit-box-shadow:none;box-shadow:none}.rank-math-editor>.components-tab-panel__tabs button[id='1-review']{margin-left:auto}.rank-math-editor>.components-tab-panel__tabs button .rm-icon-heart-filled{color:#F44336;-webkit-transition:0.25s all linear;transition:0.25s all linear;margin-right:0 !important}.rank-math-editor>.components-tab-panel__tabs button:not(.is-active):hover .rm-icon-heart-filled{color:#e93f30;text-shadow:0 0 5px #f5aaa3}.rank-math-editor>.components-tab-panel__tab-content{padding:20px;position:relative}.rank-math-editor .field-group{position:relative;margin-top:12px;padding:20px 15px 15px;border-radius:4px;background:#f0f2f4}.rank-math-editor .field-group:last-of-type{margin-bottom:0}.rank-math-editor .field-group label:not(.components-toggle-control__label){font-weight:600;margin-bottom:6px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.rank-math-editor .field-group .components-toggle-control__label{font-weight:600}.rank-math-editor .field-group .components-base-control__field{margin-bottom:0 !important}.rank-math-editor .field-group .components-textarea-control__input{display:block}.rank-math-editor .field-group .components-base-control__help{margin:0;color:#7f868d;padding-top:5px}.rank-math-editor .field-group .notice{margin-bottom:0}.rank-math-editor .field-group .components-toggle-control .components-base-control__field{margin-bottom:0}.rank-math-editor .field-group .components-toggle-control+.components-base-control{margin-top:12px}.rank-math-editor .field-group input[type="text"],.rank-math-editor .field-group input[type="url"],.rank-math-editor .field-group textarea,.rank-math-editor .field-group select{background-color:#fff;margin:0}.rank-math-editor .field-group input[type="text"]:hover,.rank-math-editor .field-group input[type="url"]:hover,.rank-math-editor .field-group textarea:hover,.rank-math-editor .field-group select:hover{border-color:#069de3}.rank-math-editor .field-group input[type="text"]:focus,.rank-math-editor .field-group input[type="url"]:focus,.rank-math-editor .field-group textarea:focus,.rank-math-editor .field-group select:focus{border-color:#069de3;-webkit-box-shadow:0 0 0 1px #069de3;box-shadow:0 0 0 1px #069de3}.rank-math-editor .field-group .rank-math-description-variables .rank-math-variables-dropdown{bottom:100%;top:auto}.rank-math-editor .serp-preview-wrapper{padding:15px 0 10px}.rank-math-editor .serp-title{font-size:20px;line-height:1.3}.rank-math-editor .serp-url{margin:7px 0 7px}.rank-math-editor .serp-description{font-size:14px;line-height:1.57}.rank-math-editor-social .components-tab-panel__tabs{width:266px;height:48px;margin:10px auto 0;border-radius:4px;background:transparent;-webkit-box-shadow:0 0px 6px rgba(50,50,93,0.1),0 0px 3px rgba(0,0,0,0.1);box-shadow:0 0px 6px rgba(50,50,93,0.1),0 0px 3px rgba(0,0,0,0.1)}.rank-math-editor-social .components-tab-panel__tabs button:not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link){font-size:16px;line-height:48px;float:left;display:inline-block;width:50%;height:auto;padding:0;text-align:center;color:#939393;border:0;-webkit-box-shadow:none !important;box-shadow:none !important}.rank-math-editor-social .components-tab-panel__tabs button:not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link):first-child{border-radius:3px 0 0 3px}.rank-math-editor-social .components-tab-panel__tabs button:not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link):last-child{border-radius:0 3px 3px 0}.rank-math-editor-social .components-tab-panel__tabs button:not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link).is-active,.rank-math-editor-social .components-tab-panel__tabs button:not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link):focus{color:#fff;background:#3b5998}.rank-math-editor-social .components-tab-panel__tabs button:not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link).is-active.button-twitter,.rank-math-editor-social .components-tab-panel__tabs button:not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link):focus.button-twitter{background:#55acee}.rank-math-editor-social .components-tab-panel__tabs .dashicon{margin-right:5px;vertical-align:-4px;-webkit-transition:none;transition:none}.rank-math-editor-social .notice{margin:5px 0 20px}.rank-math-editor-social .components-base-control .is-destructive{margin-left:10px;vertical-align:vertical-align}.rank-math-editor-social .components-base-control__label{font-weight:600;margin-bottom:10px;margin-left:2px}.rank-math-editor-social .components-base-control+.components-base-control:last-of-type,.rank-math-editor-social .components-base-control+.components-base-control.components-toggle-control{border-bottom:0;padding-bottom:0;margin-bottom:0}.ask-review{text-align:center}.ask-review h3{font-size:2em;margin:1em 0}.ask-review p{font-size:16px;margin-bottom:20px}.ask-review .stars-wrapper{line-height:60px;width:316px;margin:0 auto;margin-bottom:20px;border:1px solid #e2e4e7;border-radius:6px}.ask-review .stars-wrapper .stars a{position:relative;top:9px;display:inline-block;text-decoration:none;color:#aaa;height:40px;width:40px}.ask-review .stars-wrapper .stars a span{font-size:40px;height:40px;width:40px}.ask-review .stars-wrapper .stars a.highlighted,.ask-review .stars-wrapper .stars a:hover{color:#f9cb12}.ask-review .stars-wrapper .face{float:right;position:relative;border-left:1px solid #e2e4e7;background:#f0f2f4;border-radius:0 6px 6px 0;height:60px;width:70px}.smiley{padding:5px;position:relative;margin:9px auto 0 auto;border-radius:100%;background:linear-gradient(135deg, #ffe919 0%, #fbc000 100%);height:40px;width:40px;-webkit-box-sizing:border-box;box-sizing:border-box}.mouth{-webkit-box-sizing:border-box;box-sizing:border-box;margin-left:-30%;border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:40px;border-bottom-left-radius:40px;background:#b57700;-webkit-transition:all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);transition:all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);height:30%;width:60%;position:absolute;bottom:18%;left:50%}.eyes{-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;margin-top:15%;padding:0 5px;-webkit-transition:all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);transition:all 300ms cubic-bezier(0.645, 0.045, 0.355, 1)}.eyes .eye{position:relative;float:left;border-radius:100%;background:#b57700;height:8px;width:8px}.eyes .eye:nth-of-type(2){float:right}.eyes .eye::after{display:block;content:'';background:#fed800;-webkit-transform:rotate(0deg);transform:rotate(0deg);-webkit-transition:all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);transition:all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);height:0;width:0;position:absolute;top:-15px;left:5px}.eyes .eye:first-of-type::after{right:5px;left:auto;-webkit-transform:rotate(0deg);transform:rotate(0deg)}.smiley.normal .mouth{bottom:25%;margin-left:-20%;border-top-left-radius:40px;border-top-right-radius:40px;border-bottom-right-radius:40px;border-bottom-left-radius:40px;height:10%;width:40%}.smiley.normal .eyes{margin-top:30%}.smiley.normal .eye{height:8px;margin-top:0;-webkit-animation-delay:.3s;animation-delay:.3s;-webkit-animation:blink 0.6s;animation:blink 0.6s}.smiley.angry .mouth,.smiley.angry .eyes{-webkit-animation-delay:.3s;animation-delay:.3s;-webkit-animation:move-angry-head 0.6s;animation:move-angry-head 0.6s}.smiley.angry .mouth{bottom:18%;left:50%;margin-left:-20%;border-bottom:0;border-top-left-radius:100%;border-top-right-radius:100%;border-bottom-right-radius:8px;border-bottom-left-radius:8px;height:20%;width:40%}.smiley.angry .eyes{margin-top:35%}.smiley.angry .eye::after{top:-3px;left:-5px;width:120%;height:50%;-webkit-transform:rotate(-35deg);transform:rotate(-35deg);border-radius:0}.smiley.angry .eye:first-of-type::after{right:-5px;left:auto;-webkit-transform:rotate(35deg);transform:rotate(35deg)}.smiley.happy .mouth{-webkit-animation-delay:.3s;animation-delay:.3s;-webkit-animation:move-mouth-down 0.8s;animation:move-mouth-down 0.8s}.smiley.happy .eyes{-webkit-animation-delay:.3s;animation-delay:.3s;-webkit-animation:move-eyes-down 0.8s;animation:move-eyes-down 0.8s}.smiley.happy .eye:nth-of-type(2){height:8px;margin-top:0;-webkit-animation-delay:.3s;animation-delay:.3s;-webkit-animation:wink 0.8s;animation:wink 0.8s}@-webkit-keyframes blink{0%{height:8px;margin-top:0}25%{height:2px;margin-top:8px}50%{height:8px;margin-top:0}75%{height:2px;margin-top:8px}100%{height:8px;margin-top:0}}@keyframes blink{0%{height:8px;margin-top:0}25%{height:2px;margin-top:8px}50%{height:8px;margin-top:0}75%{height:2px;margin-top:8px}100%{height:8px;margin-top:0}}@-webkit-keyframes move-mouth-down{0%{bottom:18%}35%{bottom:16%}65%{bottom:16%}100%{bottom:18%}}@keyframes move-mouth-down{0%{bottom:18%}35%{bottom:16%}65%{bottom:16%}100%{bottom:18%}}@-webkit-keyframes move-eyes-down{0%{margin-top:15%}35%{margin-top:19%}65%{margin-top:19%}100%{margin-top:15%}}@keyframes move-eyes-down{0%{margin-top:15%}35%{margin-top:19%}65%{margin-top:19%}100%{margin-top:15%}}@-webkit-keyframes wink{0%{height:8px;margin-top:0}30%{height:4px;margin-top:4px}70%{height:4px;margin-top:4px}100%{height:8px;margin-top:0}}@keyframes wink{0%{height:8px;margin-top:0}30%{height:4px;margin-top:4px}70%{height:4px;margin-top:4px}100%{height:8px;margin-top:0}}@-webkit-keyframes move-angry-head{0%{-webkit-transform:translateX(0%);transform:translateX(0%)}20%{-webkit-transform:translateX(-20%);transform:translateX(-20%)}40%{-webkit-transform:translateX(15%);transform:translateX(15%)}60%{-webkit-transform:translateX(-10%);transform:translateX(-10%)}80%{-webkit-transform:translateX(5%);transform:translateX(5%)}100%{-webkit-transform:translateX(0%);transform:translateX(0%)}}@keyframes move-angry-head{0%{-webkit-transform:translateX(0%);transform:translateX(0%)}20%{-webkit-transform:translateX(-20%);transform:translateX(-20%)}40%{-webkit-transform:translateX(15%);transform:translateX(15%)}60%{-webkit-transform:translateX(-10%);transform:translateX(-10%)}80%{-webkit-transform:translateX(5%);transform:translateX(5%)}100%{-webkit-transform:translateX(0%);transform:translateX(0%)}}.rank-math-tabs>.components-tab-panel__tabs .rank-math-extra-menu,.rank-math-post-publish .rank-math-social-share-buttons,#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}.rank-math-post-publish p{margin-top:0}.rank-math-post-publish .rank-math-share-button{font-size:22px;line-height:30px;margin-right:5px;padding:0;-webkit-transition:.2s all linear;transition:.2s all linear;text-align:center;color:#fff;border-radius:30px;background:#d14836;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.rank-math-post-publish .rank-math-share-button:last-of-type{margin-right:0}.rank-math-post-publish .rank-math-share-button:hover{opacity:.9}.rank-math-post-publish .rank-math-share-button a{display:block;text-decoration:none;color:inherit}.rank-math-post-publish .rank-math-share-button a:focus{-webkit-box-shadow:none;box-shadow:none}.rank-math-post-publish .rank-math-share-button .dashicon{vertical-align:-2px}.rank-math-post-publish .rank-math-share-button.rm-facebook{background:#1877f2}.rank-math-post-publish .rank-math-share-button.rm-twitter{background:#1da1f2}#rank-math-compare-keywords-trigger{position:absolute;right:0;top:-31px;height:22px;min-height:22px;width:22px;line-height:22px;padding:0;text-decoration:none;text-align:center;border-radius:3px;-webkit-box-shadow:none;box-shadow:none}#rank-math-compare-keywords-trigger .button-icon{margin:0 auto}#rank-math-compare-keywords-trigger svg{width:16px;height:16px;vertical-align:-2px}.rank-math-sidebar-panel #rank-math-compare-keywords-trigger{top:15px;right:16px}#side-sortables #rank-math-compare-keywords-trigger{top:23px}.rank-math-modal.rank-math-trends-cta-modal{width:930px;max-height:580px}.rank-math-modal.rank-math-trends-cta-modal img{max-width:99.3%}.rank-math-modal.rank-math-trends-cta-modal #rank-math-pro-cta{z-index:initial}body.rtl #rank-math-compare-keywords-trigger{left:16px;right:auto}:root{--rankmath-wp-adminbar-height: 0}:root{--rankmath-et-seetings-bar-height: 90px;--rankmath-rm-modal-header-height: 58px;--rankmath-rm-modal-spacing: 30px;--rankmath-rm-modal-width: 400px}#rank-math-rm-app-root{position:absolute;z-index:1;top:0;left:0;height:0;width:0;overflow:visible}.rank-math-rm-app{position:absolute;top:0;left:0;height:0;width:0;overflow:visible}#rank-math-rm-settings-bar-root{position:absolute}body.rank-math-et-settings-bar-is-inactive #rank-math-rm-settings-bar-root,body.rank-math-et-settings-bar-is-inactive #rank-math-rm-settings-bar-root *{pointer-events:auto}body.rank-math-et-settings-bar-is-inactive #rank-math-rm-settings-bar-root.rank-math-rm-settings-bar-root-top,body.rank-math-et-settings-bar-is-inactive #rank-math-rm-settings-bar-root.rank-math-rm-settings-bar-root-bottom,body.rank-math-et-settings-bar-is-inactive #rank-math-rm-settings-bar-root.rank-math-rm-settings-bar-root-top-left,body.rank-math-et-settings-bar-is-inactive #rank-math-rm-settings-bar-root.rank-math-rm-settings-bar-root-bottom-left{left:calc(50% + 45px)}body.rank-math-et-settings-bar-is-inactive #rank-math-rm-settings-bar-root.rank-math-rm-settings-bar-root-top-right,body.rank-math-et-settings-bar-is-inactive #rank-math-rm-settings-bar-root.rank-math-rm-settings-bar-root-bottom-right{right:calc(50% + 45px)}body.rank-math-et-settings-bar-is-inactive #rank-math-rm-settings-bar-root.rank-math-rm-settings-bar-root-left,body.rank-math-et-settings-bar-is-inactive #rank-math-rm-settings-bar-root.rank-math-rm-settings-bar-root-right{top:calc(50% + 45px)}body.rank-math-et-settings-bar-is-active #rank-math-rm-settings-bar-root.rank-math-rm-settings-bar-root-is-mobile-top-left,body.rank-math-et-settings-bar-is-active #rank-math-rm-settings-bar-root.rank-math-rm-settings-bar-root-is-mobile-top-right{top:calc(100% + 24px)}body.rank-math-et-settings-bar-is-active #rank-math-rm-settings-bar-root.rank-math-rm-settings-bar-root-is-mobile-bottom-left,body.rank-math-et-settings-bar-is-active #rank-math-rm-settings-bar-root.rank-math-rm-settings-bar-root-is-mobile-bottom-right{bottom:calc(100% + 24px)}body.rank-math-et-settings-bar-is-active #rank-math-rm-settings-bar-root.rank-math-rm-settings-bar-root-is-mobile-left,body.rank-math-et-settings-bar-is-active #rank-math-rm-settings-bar-root.rank-math-rm-settings-bar-root-is-mobile-right{top:calc(100% + 24px)}body.rank-math-et-settings-bar-is-active #rank-math-rm-settings-bar-root.rank-math-rm-settings-bar-root-is-desktop-top,body.rank-math-et-settings-bar-is-active #rank-math-rm-settings-bar-root.rank-math-rm-settings-bar-root-is-desktop-bottom,body.rank-math-et-settings-bar-is-active #rank-math-rm-settings-bar-root.rank-math-rm-settings-bar-root-is-desktop-top-left,body.rank-math-et-settings-bar-is-active #rank-math-rm-settings-bar-root.rank-math-rm-settings-bar-root-is-desktop-bottom-left{left:calc(100% + 24px)}body.rank-math-et-settings-bar-is-active #rank-math-rm-settings-bar-root.rank-math-rm-settings-bar-root-is-desktop-top-right,body.rank-math-et-settings-bar-is-active #rank-math-rm-settings-bar-root.rank-math-rm-settings-bar-root-is-desktop-bottom-right{right:calc(100% + 24px)}body.rank-math-et-settings-bar-is-active #rank-math-rm-settings-bar-root.rank-math-rm-settings-bar-root-is-desktop-left,body.rank-math-et-settings-bar-is-active #rank-math-rm-settings-bar-root.rank-math-rm-settings-bar-root-is-desktop-right{top:calc(100% + 24px)}.rank-math-rm-modal-toggle-button{background-image:linear-gradient(45deg, #724BB7 0%, #4098D7 100%) !important}.rank-math-rm-modal-button{display:block;height:auto;max-width:100%;margin:0;text-align:center;text-decoration:none;line-height:1;color:inherit;background-color:transparent;border:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;white-space:nowrap;cursor:pointer}.rank-math-rm-modal-button::-moz-focus-inner{border-style:none;padding:0}body.rank-math-et-settings-bar-is-top .rank-math-rm-modal,body.rank-math-et-settings-bar-is-top-left .rank-math-rm-modal,body.rank-math-et-settings-bar-is-top-right .rank-math-rm-modal{top:calc( var(--rankmath-wp-adminbar-height) + var(--rankmath-et-seetings-bar-height))}body.rank-math-et-settings-bar-is-top .rank-math-rm-modal,body.rank-math-et-settings-bar-is-top-right .rank-math-rm-modal,body.rank-math-et-settings-bar-is-right .rank-math-rm-modal,body.rank-math-et-settings-bar-is-bottom-right .rank-math-rm-modal,body.rank-math-et-settings-bar-is-bottom .rank-math-rm-modal{left:var(--rankmath-rm-modal-spacing)}body.rank-math-et-settings-bar-is-top-left .rank-math-rm-modal,body.rank-math-et-settings-bar-is-left .rank-math-rm-modal,body.rank-math-et-settings-bar-is-bottom-left .rank-math-rm-modal{left:calc( 100vw - var(--rankmath-rm-modal-width) - var(--rankmath-rm-modal-spacing))}.rank-math-rm-modal{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen-Sans,Ubuntu,Cantarell,'Helvetica Neue',sans-serif;font-weight:normal;position:relative;top:calc( var(--rankmath-rm-modal-spacing) + var(--rankmath-wp-adminbar-height));display:-webkit-box;display:-ms-flexbox;display:flex;overflow:hidden;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:var(--rankmath-rm-modal-width);padding-top:var(--rankmath-rm-modal-header-height);background:#fff;-webkit-box-shadow:0 5px 30px rgba(44,135,218,0.2);box-shadow:0 5px 30px rgba(44,135,218,0.2);-webkit-font-smoothing:subpixel-antialiased}.rank-math-rm-modal-is-hidden{display:none}.rank-math-rm-modal-content{position:relative;z-index:0;overflow:hidden;overflow-y:auto;max-height:calc( 100vh - var(--rankmath-wp-adminbar-height) - var(--rankmath-et-seetings-bar-height) - var(--rankmath-rm-modal-spacing) - var(--rankmath-rm-modal-header-height))}body.rank-math-et-settings-bar-is-left .rank-math-rm-modal-content,body.rank-math-et-settings-bar-is-right .rank-math-rm-modal-content{max-height:calc( 100vh - var(--rankmath-wp-adminbar-height) - (var(--rankmath-rm-modal-spacing) * 2) - var(--rankmath-rm-modal-header-height))}.rank-math-rm-modal-content h1,.rank-math-rm-modal-content h2,.rank-math-rm-modal-content h3,.rank-math-rm-modal-content h4,.rank-math-rm-modal-content h5,.rank-math-rm-modal-content h6{padding-bottom:0}.rank-math-rm-modal-header{position:absolute;z-index:1;top:0;left:0;display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;height:var(--rankmath-rm-modal-header-height);padding-right:21px;padding-left:26px;color:#fff;background-color:#6c2eb9;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.rank-math-rm-modal-header-title{font-family:'Open Sans', Helvetica, Roboto, Arial, sans-serif;font-size:18px;font-weight:600;font-style:normal;line-height:16px;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;text-decoration:none;letter-spacing:0;text-transform:none;color:#fff}.rank-math-rm-modal-header-options{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.rank-math-rm-modal-header-option{display:block}.rank-math-rm-modal-header-discard-button{width:100%;height:100%;padding:4px}.rank-math-rm-modal-header-discard-button svg{position:relative;top:2px;width:26px;height:26px;fill:#fff}#rank-math-primary-term-input .rank-math-primary-term-select{margin-bottom:20px}#rank-math-primary-term-input .rank-math-primary-term-select .components-input-control__label{display:inline-block;font-family:"Open Sans", Helvetica, Roboto, Arial, sans-serif;color:#32373c;font-weight:600;line-height:20px;margin:0;padding:0;border:0;font-size:14px;white-space:normal;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#rank-math-primary-term-input .rank-math-primary-term-select .components-select-control__input{background-color:#f1f5f9;border-radius:3px;font-family:"Open Sans", Helvetica, Roboto, Arial, sans-serif;padding-left:10px;outline:0;color:#4c5866;font-size:13px;font-weight:600;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#rank-math-primary-term-input .rank-math-primary-term-select .components-input-control__suffix svg path{fill:#4c5866}#rank-math-primary-term-input .rank-math-primary-term-select .components-input-control__backdrop{border:0;-webkit-box-shadow:none;box-shadow:none}body.rtl #rank-math-rm-app-root{left:auto;right:0}body.rtl #rank-math-rm-app-root .rank-math-rm-modal{left:auto;right:var(--rankmath-rm-modal-spacing)}body.rtl #rank-math-rm-app-root .rank-math-rm-modal .serp-preview-title .seo-score{float:left}body.rtl #rank-math-rm-app-root .rank-math-rm-modal #rank-math-compare-keywords-trigger{left:16px;right:auto}.components-tab-panel__tab-content .rank-math-tab-content-general .serp-preview-title .seo-score{display:block}.components-tab-panel__tab-content .rank-math-tab-content-general .serp-preview-title::before{font-weight:500;letter-spacing:0}.components-tab-panel__tab-content .rank-math-tab-content-general .serp-result{position:absolute;top:-1px;left:0}.rank-math-rm-modal .rank-math-tabs .components-tab-panel__tabs{background:#7e3bd0;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.rank-math-rm-modal .rank-math-tabs .components-tab-panel__tabs button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link){font-size:100%;line-height:1;display:block;width:auto;padding:13px 20px;-webkit-transition:background .5s ease-in-out;transition:background .5s ease-in-out;vertical-align:baseline;text-decoration:none;color:#fff;background:transparent}.rank-math-rm-modal .rank-math-tabs .components-tab-panel__tabs button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link) i{background:transparent;-webkit-box-shadow:none;box-shadow:none}.rank-math-rm-modal .rank-math-tabs .components-tab-panel__tabs button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link):hover{background:#7435c1}.rank-math-rm-modal .rank-math-tabs .components-tab-panel__tabs button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link):hover i{background:transparent;-webkit-box-shadow:none;box-shadow:none}.rank-math-rm-modal .rank-math-tabs .components-tab-panel__tabs button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link):not([id]){margin-left:auto}.rank-math-rm-modal .rank-math-tabs .components-tab-panel__tabs button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link):not(.is-active){padding:13px 19px 13px 26px}.rank-math-rm-modal .rank-math-tabs .components-tab-panel__tabs button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link).is-active{margin-bottom:0}.rank-math-rm-modal .rank-math-tabs .components-tab-panel__tabs button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link).is-active,.rank-math-rm-modal .rank-math-tabs .components-tab-panel__tabs button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link).is-active:hover{background:#8f42eb}.rank-math-rm-modal .rank-math-tabs .components-tab-panel__tabs button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link)::before,.rank-math-rm-modal .rank-math-tabs .components-tab-panel__tabs button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link)::after{display:none}.rank-math-modal .components-modal__header-heading{padding-bottom:0}.rank-math-modal .rank-math-tabs>.components-tab-panel__tabs button:not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link).is-active::after{background:#2c87da !important}.rank-math-tabs>.components-tab-panel__tab-content>div>div:first-child{margin-top:10px;border-top:0;border-bottom:0}.rank-math-tabs>.components-tab-panel__tab-content select,.rank-math-tabs>.components-tab-panel__tab-content input[type=text]{min-height:30px}.rank-math-tabs>.components-tab-panel__tab-content textarea{font-family:inherit;line-height:1.42857143}.rank-math-tabs .cmb2-metabox-description{font-weight:400}.rank-math-tabs .rank-math-datepicker>button{color:inherit}.rank-math-tooltip label{cursor:pointer}.rank-math-tooltip label:before{height:21px;vertical-align:middle}.rank-math-tooltip label:hover{color:#d30c5c}.rank-math-tooltip input:checked+label{color:#d30c5c}.rank-math-modal .rank-math-tabs>.components-tab-panel__tabs button:not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link){font-size:13px;height:44px;text-transform:none}.rank-math-modal .rank-math-tabs>.components-tab-panel__tabs button:not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link):hover i,.rank-math-modal .rank-math-tabs>.components-tab-panel__tabs button:not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link):not(.is-active):hover i{background:transparent;-webkit-box-shadow:none;box-shadow:none}.rank-math-modal .rank-math-tabs>.components-tab-panel__tabs button:not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link).is-active{-webkit-box-shadow:none;box-shadow:none}.rank-math-modal .rank-math-tabs>.components-tab-panel__tabs button:not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link).is-active:after{display:block;background:#d30c5c}.rank-math-modal .rank-math-button-devices .components-button.active,.rank-math-modal .rank-math-button-devices .components-button:hover{background:#f6e7ee !important}.rank-math-modal.rank-math-modal-trends-tool{width:930px;max-height:580px}.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:-webkit-box;display:-ms-flexbox;display:flex;margin-top:0;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}#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
  var(--rankmath-wp-adminbar-height)
3
  + var(--rankmath-et-seetings-bar-height))}body.rank-math-et-settings-bar-is-top .rank-math-rm-modal,body.rank-math-et-settings-bar-is-top-right .rank-math-rm-modal,body.rank-math-et-settings-bar-is-right .rank-math-rm-modal,body.rank-math-et-settings-bar-is-bottom-right .rank-math-rm-modal,body.rank-math-et-settings-bar-is-bottom .rank-math-rm-modal{left:var(--rankmath-rm-modal-spacing)}body.rank-math-et-settings-bar-is-top-left .rank-math-rm-modal,body.rank-math-et-settings-bar-is-left .rank-math-rm-modal,body.rank-math-et-settings-bar-is-bottom-left .rank-math-rm-modal{left:calc(
4
  100vw
5
  - var(--rankmath-rm-modal-width)
6
  - var(--rankmath-rm-modal-spacing))}.rank-math-rm-modal{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen-Sans,Ubuntu,Cantarell,'Helvetica Neue',sans-serif;font-weight:normal;position:relative;top:calc( var(--rankmath-rm-modal-spacing) + var(--rankmath-wp-adminbar-height));display:-webkit-box;display:-ms-flexbox;display:flex;overflow:hidden;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:var(--rankmath-rm-modal-width);padding-top:var(--rankmath-rm-modal-header-height);background:#fff;-webkit-box-shadow:0 5px 30px rgba(44,135,218,0.2);box-shadow:0 5px 30px rgba(44,135,218,0.2);-webkit-font-smoothing:subpixel-antialiased}.rank-math-rm-modal-is-hidden{display:none}.rank-math-rm-modal-content{position:relative;z-index:0;overflow:hidden;overflow-y:auto;max-height:calc(
7
  100vh
8
  - var(--rankmath-wp-adminbar-height)
9
  - var(--rankmath-et-seetings-bar-height)
10
  - var(--rankmath-rm-modal-spacing)
11
  - var(--rankmath-rm-modal-header-height))}body.rank-math-et-settings-bar-is-left .rank-math-rm-modal-content,body.rank-math-et-settings-bar-is-right .rank-math-rm-modal-content{max-height:calc(
12
  100vh
13
  - var(--rankmath-wp-adminbar-height)
14
  - (var(--rankmath-rm-modal-spacing) * 2)
15
  - var(--rankmath-rm-modal-header-height))}.rank-math-rm-modal-content h1,.rank-math-rm-modal-content h2,.rank-math-rm-modal-content h3,.rank-math-rm-modal-content h4,.rank-math-rm-modal-content h5,.rank-math-rm-modal-content h6{padding-bottom:0}.rank-math-rm-modal-header{position:absolute;z-index:1;top:0;left:0;display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;height:var(--rankmath-rm-modal-header-height);padding-right:21px;padding-left:26px;color:#fff;background-color:#6c2eb9;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.rank-math-rm-modal-header-title{font-family:'Open Sans', Helvetica, Roboto, Arial, sans-serif;font-size:18px;font-weight:600;font-style:normal;line-height:16px;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;text-decoration:none;letter-spacing:0;text-transform:none;color:#fff}.rank-math-rm-modal-header-options{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.rank-math-rm-modal-header-option{display:block}.rank-math-rm-modal-header-discard-button{width:100%;height:100%;padding:4px}.rank-math-rm-modal-header-discard-button svg{position:relative;top:2px;width:26px;height:26px;fill:#fff}#rank-math-primary-term-input .rank-math-primary-term-select{margin-bottom:20px}#rank-math-primary-term-input .rank-math-primary-term-select .components-input-control__label{display:inline-block;font-family:"Open Sans", Helvetica, Roboto, Arial, sans-serif;color:#32373c;font-weight:600;line-height:20px;margin:0;padding:0;border:0;font-size:14px;white-space:normal;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#rank-math-primary-term-input .rank-math-primary-term-select .components-select-control__input{background-color:#f1f5f9;border-radius:3px;font-family:"Open Sans", Helvetica, Roboto, Arial, sans-serif;padding-left:10px;outline:0;color:#4c5866;font-size:13px;font-weight:600;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#rank-math-primary-term-input .rank-math-primary-term-select .components-input-control__suffix svg path{fill:#4c5866}#rank-math-primary-term-input .rank-math-primary-term-select .components-input-control__backdrop{border:0;-webkit-box-shadow:none;box-shadow:none}body.rtl #rank-math-rm-app-root{left:auto;right:0}body.rtl #rank-math-rm-app-root .rank-math-rm-modal{left:auto;right:var(--rankmath-rm-modal-spacing)}body.rtl #rank-math-rm-app-root .rank-math-rm-modal .serp-preview-title .seo-score{float:left}body.rtl #rank-math-rm-app-root .rank-math-rm-modal #rank-math-compare-keywords-trigger{left:16px;right:auto}.components-tab-panel__tab-content .rank-math-tab-content-general .serp-preview-title .seo-score{display:block}.components-tab-panel__tab-content .rank-math-tab-content-general .serp-preview-title::before{font-weight:500;letter-spacing:0}.components-tab-panel__tab-content .rank-math-tab-content-general .serp-result{position:absolute;top:-1px;left:0}.rank-math-rm-modal .rank-math-tabs .components-tab-panel__tabs{background:#7e3bd0;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.rank-math-rm-modal .rank-math-tabs .components-tab-panel__tabs button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link){font-size:100%;line-height:1;display:block;width:auto;padding:13px 20px;-webkit-transition:background .5s ease-in-out;transition:background .5s ease-in-out;vertical-align:baseline;text-decoration:none;color:#fff;background:transparent}.rank-math-rm-modal .rank-math-tabs .components-tab-panel__tabs button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link) i{background:transparent;-webkit-box-shadow:none;box-shadow:none}.rank-math-rm-modal .rank-math-tabs .components-tab-panel__tabs button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link):hover{background:#7435c1}.rank-math-rm-modal .rank-math-tabs .components-tab-panel__tabs button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link):hover i{background:transparent;-webkit-box-shadow:none;box-shadow:none}.rank-math-rm-modal .rank-math-tabs .components-tab-panel__tabs button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link):not([id]){margin-left:auto}.rank-math-rm-modal .rank-math-tabs .components-tab-panel__tabs button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link):not(.is-active){padding:13px 19px 13px 26px}.rank-math-rm-modal .rank-math-tabs .components-tab-panel__tabs button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link).is-active{margin-bottom:0}.rank-math-rm-modal .rank-math-tabs .components-tab-panel__tabs button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link).is-active,.rank-math-rm-modal .rank-math-tabs .components-tab-panel__tabs button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link).is-active:hover{background:#8f42eb}.rank-math-rm-modal .rank-math-tabs .components-tab-panel__tabs button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link)::before,.rank-math-rm-modal .rank-math-tabs .components-tab-panel__tabs button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link)::after{display:none}.rank-math-modal .components-modal__header-heading{padding-bottom:0}.rank-math-modal .rank-math-tabs>.components-tab-panel__tabs button:not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link).is-active::after{background:#2c87da !important}.rank-math-tabs>.components-tab-panel__tab-content>div>div:first-child{margin-top:10px;border-top:0;border-bottom:0}.rank-math-tabs>.components-tab-panel__tab-content select,.rank-math-tabs>.components-tab-panel__tab-content input[type=text]{min-height:30px}.rank-math-tabs>.components-tab-panel__tab-content textarea{font-family:inherit;line-height:1.42857143}.rank-math-tabs .cmb2-metabox-description{font-weight:400}.rank-math-tabs .rank-math-datepicker>button{color:inherit}.rank-math-tooltip label{cursor:pointer}.rank-math-tooltip label:before{height:21px;vertical-align:middle}.rank-math-tooltip label:hover{color:#d30c5c}.rank-math-tooltip input:checked+label{color:#d30c5c}.rank-math-modal .rank-math-tabs>.components-tab-panel__tabs button:not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link){font-size:13px;height:44px;text-transform:none}.rank-math-modal .rank-math-tabs>.components-tab-panel__tabs button:not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link):hover i,.rank-math-modal .rank-math-tabs>.components-tab-panel__tabs button:not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link):not(.is-active):hover i{background:transparent;-webkit-box-shadow:none;box-shadow:none}.rank-math-modal .rank-math-tabs>.components-tab-panel__tabs button:not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link).is-active{-webkit-box-shadow:none;box-shadow:none}.rank-math-modal .rank-math-tabs>.components-tab-panel__tabs button:not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link).is-active:after{display:block;background:#d30c5c}.rank-math-modal .rank-math-button-devices .components-button.active,.rank-math-modal .rank-math-button-devices .components-button:hover{background:#f6e7ee !important}.rank-math-modal.rank-math-modal-trends-tool{width:930px;max-height:580px}.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:-webkit-box;display:-ms-flexbox;display:flex;margin-top:0;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}#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
+ @-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(-360deg)}}@keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(-360deg)}}@keyframes bounce{from{-webkit-transform:translateY(0px);transform:translateY(0px)}to{-webkit-transform:translateY(-5px);transform:translateY(-5px)}}@-webkit-keyframes bounce{from{-webkit-transform:translateY(0px);transform:translateY(0px)}to{-webkit-transform:translateY(-5px);transform:translateY(-5px)}}:root{--rankmath-wp-adminbar-height: 0}.rank-math-tabs input[type="text"],.rank-math-tabs input[type="number"],.rank-math-tabs input[type="url"],.rank-math-tabs textarea,.rank-math-tabs select{border-color:#7f868d;border-radius:4px}.rank-math-tabs input[type="text"]:focus,.rank-math-tabs input[type="text"]:hover,.rank-math-tabs input[type="number"]:focus,.rank-math-tabs input[type="number"]:hover,.rank-math-tabs input[type="url"]:focus,.rank-math-tabs input[type="url"]:hover,.rank-math-tabs textarea:focus,.rank-math-tabs textarea:hover,.rank-math-tabs select:focus,.rank-math-tabs select:hover{border-color:#069de3;outline:none}.rank-math-tabs input[type="text"]:focus,.rank-math-tabs input[type="number"]:focus,.rank-math-tabs input[type="url"]:focus,.rank-math-tabs textarea:focus,.rank-math-tabs select:focus{background:#fff;-webkit-box-shadow:0 0 0 1px #069de3;box-shadow:0 0 0 1px #069de3}.rank-math-tabs input[type="radio"]:before{-webkit-box-sizing:inherit;box-sizing:inherit}.rank-math-link-control svg{max-width:24px}.rank-math-sidebar-panel .components-base-control__label{font-weight:600;display:block;margin-bottom:10px}.rank-math-sidebar-panel .components-toggle-control__label{font-weight:600}.rank-math-sidebar-panel .components-base-control__help{font-weight:normal;margin-top:0}.rank-math-sidebar-panel .components-base-control__help.rank-math-notice{margin:1rem 0;border-width:0 0 0 4px;border-radius:4px}.rank-math-sidebar-panel,.rank-math-modal-overlay{line-height:1.4em}.rank-math-sidebar-panel .hidden,.rank-math-modal-overlay .hidden{display:none}.rank-math-sidebar-panel p,.rank-math-modal-overlay p{line-height:1.5}.rank-math-sidebar-panel strong,.rank-math-modal-overlay strong{font-weight:600}.rank-math-sidebar-panel>div,.rank-math-modal-overlay>div{outline:0}.rank-math-sidebar-panel .notice,.rank-math-sidebar-panel div.error,.rank-math-sidebar-panel div.updated,.rank-math-modal-overlay .notice,.rank-math-modal-overlay div.error,.rank-math-modal-overlay div.updated{margin:5px 15px 2px;padding:1px 12px;color:#444;border:1px solid #ccd0d4;border-left-width:4px;background:#fff;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.04);box-shadow:0 1px 1px rgba(0,0,0,0.04)}.rank-math-sidebar-panel .notice p,.rank-math-sidebar-panel div.error p,.rank-math-sidebar-panel div.updated p,.rank-math-modal-overlay .notice p,.rank-math-modal-overlay div.error p,.rank-math-modal-overlay div.updated p{margin:.5em 0;padding:2px}.rank-math-sidebar-panel .notice-info,.rank-math-modal-overlay .notice-info{border-left-color:#00a0d2}.rank-math-sidebar-panel .notice-info.notice-alt,.rank-math-modal-overlay .notice-info.notice-alt{background-color:#e5f5fa}.rank-math-sidebar-panel .notice-warning.notice-alt,.rank-math-modal-overlay .notice-warning.notice-alt{border-left-color:#ffb900;background-color:#fff8e5}.rank-math-sidebar-panel .notice-error.notice-alt,.rank-math-modal-overlay .notice-error.notice-alt{border-left-color:#dc3232;background-color:#fbeaea}.rank-math-sidebar-panel .notice-success.notice-alt,.rank-math-modal-overlay .notice-success.notice-alt{border-left-color:#00a0d2;background-color:#e5f5fa}.rank-math-tab-content-schema .variable-group .components-button{top:30px}.rank-math-tab-content-schema .variable-group .rank-math-variables-dropdown{top:59px;width:100%}.rank-math-tab-content-social p:last-of-type{margin-bottom:0}.rank-math-tab-content-advanced .rank-math-redirect .components-toggle-control.is-close .components-base-control__field{margin-bottom:0}.rank-math-robots-list{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;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.rank-math-robots-list .components-base-control{margin-bottom:5px;-webkit-box-flex:0;-ms-flex:0 0 55%;flex:0 0 55%}#side-sortables .rank-math-robots-list .components-base-control{-webkit-box-flex:0;-ms-flex:0 0 100%;flex:0 0 100%}.rank-math-robots-list .components-base-control__field{margin-bottom:0}.rank-math-robots-list .components-base-control__field label{cursor:pointer}#side-sortables .rank-math-robots-list .components-base-control__field label{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.rank-math-robots-list .components-base-control:nth-child(even){-webkit-box-flex:0;-ms-flex:0 0 44%;flex:0 0 44%}#side-sortables .rank-math-robots-list .components-base-control:nth-child(even){-webkit-box-flex:0;-ms-flex:0 0 100%;flex:0 0 100%}.rank-math-robots-list .components-base-control:nth-child(even) .rank-math-tooltip-content{float:right;width:227% !important}.rank-math-robots-list.advanced-robots .components-base-control{margin-top:6px;-webkit-box-flex:0;-ms-flex:0 0 62%;flex:0 0 62%}.rank-math-robots-list.advanced-robots .components-base-control:nth-child(even){margin-top:0;-webkit-box-flex:0;-ms-flex:0 0 33%;flex:0 0 33%}.rank-math-robots-list.advanced-robots .rank-math-tooltip-content{width:162%}.rank-math-robots-list .rank-math-tooltip-content{width:182% !important}.rank-math-primary-term-picker{margin:20px -16px -17px;padding:16px;padding-bottom:24px;border-top:1px solid #e2e4e7;border-bottom:1px solid #e2e4e7}.rank-math-primary-term-picker label{font-weight:600;margin-bottom:8px !important;color:#191e23}@media (min-width: 782px){body .edit-post-layout.is-sidebar-opened .edit-post-layout__content{margin-right:300px}body .edit-post-layout.is-sidebar-opened .edit-post-plugin-sidebar__sidebar-layout,body .edit-post-layout.is-sidebar-opened .edit-post-sidebar{width:300px}}.rank-math-datepicker__dialog .components-popover__content{padding:10px}@media (min-width: 782px){.rank-math-datepicker__dialog .components-popover__content{width:270px}}@font-face{font-family:'Rank-Math';font-weight:normal;font-style:normal;font-display:block;src:url("../fonts/Rank-Math.ttf?v1.0.94") format("truetype"),url("../fonts/Rank-Math.woff?v1.0.94") format("woff"),url("../fonts/Rank-Math.svg?v1.0.94#Rank-Math") format("svg")}[class^='rm-icon-'],[class*=' rm-icon-']{font-family:'Rank-Math' !important;font-weight:normal;font-style:normal;font-variant:normal;line-height:1;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;speak:none}.rm-icon-rank-math:before{content:"\e900"}.rm-icon-search-console:before{content:"\ed71"}.rm-icon-adsense:before{content:"\eb99"}.rm-icon-role-manager:before{content:"\ea3a"}.rm-icon-software:before{content:"\ea9a"}.rm-icon-calendar:before{content:"\ea43"}.rm-icon-cart:before{content:"\ed73"}.rm-icon-post-format:before{content:"\ec64"}.rm-icon-fact-check:before{content:"\ebf7"}.rm-icon-tick:before{content:"\eb9d"}.rm-icon-recipe:before{content:"\ec3b"}.rm-icon-circle-plus:before{content:"\eb9f"}.rm-icon-service:before{content:"\ec66"}.rm-icon-cross:before{content:"\ebea"}.rm-icon-settings:before{content:"\ea60"}.rm-icon-comments:before{content:"\ed35"}.rm-icon-dataset:before{content:"\ecf8"}.rm-icon-schema:before{content:"\eb97"}.rm-icon-direction:before{content:"\ecc9"}.rm-icon-desktop:before{content:"\ea67"}.rm-icon-import:before{content:"\ea5a"}.rm-icon-export:before{content:"\ea5d"}.rm-icon-eye:before{content:"\eba4"}.rm-icon-htaccess:before{content:"\ea6f"}.rm-icon-robots:before{content:"\ea70"}.rm-icon-movie:before{content:"\edc1"}.rm-icon-category:before{content:"\ea76"}.rm-icon-images:before{content:"\eb6a"}.rm-icon-google:before{content:"\e901"}.rm-icon-course:before{content:"\ec70"}.rm-icon-heart-filled:before{content:"\ebac"}.rm-icon-home:before{content:"\ed0d"}.rm-icon-image:before{content:"\eaa0"}.rm-icon-info:before{content:"\ebb4"}.rm-icon-stories:before{content:"\ece7"}.rm-icon-acf:before{content:"\eceb"}.rm-icon-book:before{content:"\ec73"}.rm-icon-howto:before{content:"\ebbc"}.rm-icon-faq:before{content:"\ebbd"}.rm-icon-local-seo:before{content:"\ea87"}.rm-icon-job:before{content:"\ed3a"}.rm-icon-misc:before{content:"\ea8f"}.rm-icon-podcast:before{content:"\efee"}.rm-icon-copy:before{content:"\e902"}.rm-icon-mobile:before{content:"\ea2e"}.rm-icon-social:before{content:"\ec76"}.rm-icon-music:before{content:"\ebc8"}.rm-icon-sitemap:before{content:"\ea4f"}.rm-icon-post:before{content:"\ed4d"}.rm-icon-attachment:before{content:"\ed83"}.rm-icon-edit:before{content:"\ec78"}.rm-icon-plus:before{content:"\ebce"}.rm-icon-help:before{content:"\ebd2"}.rm-icon-restaurant:before{content:"\ec56"}.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-support:before{content:"\ed64"}.rm-icon-tag:before{content:"\ed91"}.rm-icon-target:before{content:"\ed95"}.rm-icon-instant-indexing:before{content:"\ebe1"}.rm-icon-toolbox:before{content:"\ed1f"}.rm-icon-trash:before{content:"\eaba"}.rm-icon-redirection:before{content:"\eb70"}.rm-icon-link:before{content:"\ea83"}.rm-icon-users:before{content:"\eac4"}.rm-icon-video:before{content:"\eb73"}.rm-icon-404:before{content:"\ebe8"}.rm-icon-page:before{content:"\ec86"}.rank-math-tabs>.components-tab-panel__tabs{display:-webkit-box;display:-ms-flexbox;display:flex;background:#f8f9fa;-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-tabs>.components-tab-panel__tabs.contentAI{display:none}.rank-math-tabs>.components-tab-panel__tabs button{font-weight:normal;position:relative;display:block;overflow:visible;padding:3px 7px;color:#5a6065;border-radius:0;background:none;-webkit-box-shadow:none;box-shadow:none;height:50px;width:48px}.rank-math-tabs>.components-tab-panel__tabs button:hover{color:inherit;background:transparent;-webkit-box-shadow:none;box-shadow:none}.rank-math-tabs>.components-tab-panel__tabs button:hover i{border-radius:20em;background:#d9e9ed;-webkit-box-shadow:0 0 0 8px #d9e9ed;box-shadow:0 0 0 8px #d9e9ed}.rank-math-tabs>.components-tab-panel__tabs button:focus{font-weight:normal;outline:none;background:transparent;-webkit-box-shadow:none;box-shadow:none}.rank-math-tabs>.components-tab-panel__tabs button i{font-size:17px;vertical-align:-4px;margin-right:7px;margin-left:0}.rank-math-tabs>.components-tab-panel__tabs button i.rm-icon-schema{font-size:18px;vertical-align:-4px}.rank-math-tabs>.components-tab-panel__tabs button span{display:none}.rank-math-tabs>.components-tab-panel__tabs button.is-active{width:auto;margin-bottom:-1px;color:#242628}.rank-math-tabs>.components-tab-panel__tabs button.is-active:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link):hover i{background:transparent;-webkit-box-shadow:none;box-shadow:none}.rank-math-tabs>.components-tab-panel__tabs button.is-active i{-webkit-box-shadow:none;box-shadow:none;margin-right:7px;margin-left:0}.rank-math-tabs>.components-tab-panel__tabs button.is-active span{display:inline-block}.rank-math-tabs>.components-tab-panel__tabs button.is-active:after{visibility:visible;width:100%;height:3px;content:'';background:#00a0d2;-webkit-box-shadow:none;box-shadow:none;position:absolute;bottom:-1px;left:0}.rank-math-tabs>.components-tab-panel__tabs button.hidden{display:none !important}.rank-math-tabs .cmb2-metabox-description{font-style:normal}.rank-math-tabs .rank-math-datepicker{position:relative}.rank-math-tabs .rank-math-datepicker>button{position:absolute;top:31px;right:2px;height:24px;padding:0 3px}.rank-math-tabs .rank-math-datepicker>button:not(.is-default):hover{background:transparent;-webkit-box-shadow:none;box-shadow:none}.rank-math-tabs .rank-math-frontend-score .components-base-control__field{margin-bottom:0}.rank-math-tabs .rank-math-frontend-score .components-toggle-control__label{margin-bottom:0}.components-tab-panel__tab-content .components-panel__body,.components-tab-panel__tab-content .components-modal__content,.rank-math-modal .components-panel__body,.rank-math-modal .components-modal__content{margin-bottom:0;border-bottom:0}.components-tab-panel__tab-content .components-panel__body .button,.components-tab-panel__tab-content .components-panel__body .button-secondary,.components-tab-panel__tab-content .components-panel__body .is-secondary,.components-tab-panel__tab-content .components-modal__content .button,.components-tab-panel__tab-content .components-modal__content .button-secondary,.components-tab-panel__tab-content .components-modal__content .is-secondary,.rank-math-modal .components-panel__body .button,.rank-math-modal .components-panel__body .button-secondary,.rank-math-modal .components-panel__body .is-secondary,.rank-math-modal .components-modal__content .button,.rank-math-modal .components-modal__content .button-secondary,.rank-math-modal .components-modal__content .is-secondary{font-size:14px;line-height:38px;height:auto;min-height:30px;padding:0 20px;color:#6b7278;border:1px solid #7f868d;border-radius:3px;background:#f8f9fa;-webkit-box-shadow:none;box-shadow:none}.components-tab-panel__tab-content .components-panel__body .button.active,.components-tab-panel__tab-content .components-panel__body .button-secondary.active,.components-tab-panel__tab-content .components-panel__body .is-secondary.active,.components-tab-panel__tab-content .components-modal__content .button.active,.components-tab-panel__tab-content .components-modal__content .button-secondary.active,.components-tab-panel__tab-content .components-modal__content .is-secondary.active,.rank-math-modal .components-panel__body .button.active,.rank-math-modal .components-panel__body .button-secondary.active,.rank-math-modal .components-panel__body .is-secondary.active,.rank-math-modal .components-modal__content .button.active,.rank-math-modal .components-modal__content .button-secondary.active,.rank-math-modal .components-modal__content .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}.components-tab-panel__tab-content .components-panel__body .button:focus,.components-tab-panel__tab-content .components-panel__body .button:hover,.components-tab-panel__tab-content .components-panel__body .button-secondary:focus,.components-tab-panel__tab-content .components-panel__body .button-secondary:hover,.components-tab-panel__tab-content .components-panel__body .is-secondary:focus,.components-tab-panel__tab-content .components-panel__body .is-secondary:hover,.components-tab-panel__tab-content .components-modal__content .button:focus,.components-tab-panel__tab-content .components-modal__content .button:hover,.components-tab-panel__tab-content .components-modal__content .button-secondary:focus,.components-tab-panel__tab-content .components-modal__content .button-secondary:hover,.components-tab-panel__tab-content .components-modal__content .is-secondary:focus,.components-tab-panel__tab-content .components-modal__content .is-secondary:hover,.rank-math-modal .components-panel__body .button:focus,.rank-math-modal .components-panel__body .button:hover,.rank-math-modal .components-panel__body .button-secondary:focus,.rank-math-modal .components-panel__body .button-secondary:hover,.rank-math-modal .components-panel__body .is-secondary:focus,.rank-math-modal .components-panel__body .is-secondary:hover,.rank-math-modal .components-modal__content .button:focus,.rank-math-modal .components-modal__content .button:hover,.rank-math-modal .components-modal__content .button-secondary:focus,.rank-math-modal .components-modal__content .button-secondary:hover,.rank-math-modal .components-modal__content .is-secondary:focus,.rank-math-modal .components-modal__content .is-secondary:hover{color:#069de3;border-color:#069de3;background:#f8f9fa}.components-tab-panel__tab-content .components-panel__body .button:focus,.components-tab-panel__tab-content .components-panel__body .button-secondary:focus,.components-tab-panel__tab-content .components-panel__body .is-secondary:focus,.components-tab-panel__tab-content .components-modal__content .button:focus,.components-tab-panel__tab-content .components-modal__content .button-secondary:focus,.components-tab-panel__tab-content .components-modal__content .is-secondary:focus,.rank-math-modal .components-panel__body .button:focus,.rank-math-modal .components-panel__body .button-secondary:focus,.rank-math-modal .components-panel__body .is-secondary:focus,.rank-math-modal .components-modal__content .button:focus,.rank-math-modal .components-modal__content .button-secondary:focus,.rank-math-modal .components-modal__content .is-secondary:focus{border-color:#069de3;-webkit-box-shadow:0 0 0 1px #069de3;box-shadow:0 0 0 1px #069de3}.components-tab-panel__tab-content .components-panel__body .button .dashicons,.components-tab-panel__tab-content .components-panel__body .button-secondary .dashicons,.components-tab-panel__tab-content .components-panel__body .is-secondary .dashicons,.components-tab-panel__tab-content .components-modal__content .button .dashicons,.components-tab-panel__tab-content .components-modal__content .button-secondary .dashicons,.components-tab-panel__tab-content .components-modal__content .is-secondary .dashicons,.rank-math-modal .components-panel__body .button .dashicons,.rank-math-modal .components-panel__body .button-secondary .dashicons,.rank-math-modal .components-panel__body .is-secondary .dashicons,.rank-math-modal .components-modal__content .button .dashicons,.rank-math-modal .components-modal__content .button-secondary .dashicons,.rank-math-modal .components-modal__content .is-secondary .dashicons{margin:0 3px 0 0}.components-tab-panel__tab-content .components-panel__body .button.disabled,.components-tab-panel__tab-content .components-panel__body .button-secondary.disabled,.components-tab-panel__tab-content .components-panel__body .is-secondary.disabled,.components-tab-panel__tab-content .components-modal__content .button.disabled,.components-tab-panel__tab-content .components-modal__content .button-secondary.disabled,.components-tab-panel__tab-content .components-modal__content .is-secondary.disabled,.rank-math-modal .components-panel__body .button.disabled,.rank-math-modal .components-panel__body .button-secondary.disabled,.rank-math-modal .components-panel__body .is-secondary.disabled,.rank-math-modal .components-modal__content .button.disabled,.rank-math-modal .components-modal__content .button-secondary.disabled,.rank-math-modal .components-modal__content .is-secondary.disabled{pointer-events:none}.components-tab-panel__tab-content .components-panel__body .button-primary,.components-tab-panel__tab-content .components-panel__body .is-primary,.components-tab-panel__tab-content .components-modal__content .button-primary,.components-tab-panel__tab-content .components-modal__content .is-primary,.rank-math-modal .components-panel__body .button-primary,.rank-math-modal .components-panel__body .is-primary,.rank-math-modal .components-modal__content .button-primary,.rank-math-modal .components-modal__content .is-primary{color:#fff;border-color:#069de3;background:#069de3;text-shadow:none}.components-tab-panel__tab-content .components-panel__body .button-primary:focus,.components-tab-panel__tab-content .components-panel__body .button-primary:hover,.components-tab-panel__tab-content .components-panel__body .is-primary:focus,.components-tab-panel__tab-content .components-panel__body .is-primary:hover,.components-tab-panel__tab-content .components-modal__content .button-primary:focus,.components-tab-panel__tab-content .components-modal__content .button-primary:hover,.components-tab-panel__tab-content .components-modal__content .is-primary:focus,.components-tab-panel__tab-content .components-modal__content .is-primary:hover,.rank-math-modal .components-panel__body .button-primary:focus,.rank-math-modal .components-panel__body .button-primary:hover,.rank-math-modal .components-panel__body .is-primary:focus,.rank-math-modal .components-panel__body .is-primary:hover,.rank-math-modal .components-modal__content .button-primary:focus,.rank-math-modal .components-modal__content .button-primary:hover,.rank-math-modal .components-modal__content .is-primary:focus,.rank-math-modal .components-modal__content .is-primary:hover{color:#fff;border-color:#08a7f1;background:#08a7f1}.components-tab-panel__tab-content .components-panel__body .button-primary:focus,.components-tab-panel__tab-content .components-panel__body .is-primary:focus,.components-tab-panel__tab-content .components-modal__content .button-primary:focus,.components-tab-panel__tab-content .components-modal__content .is-primary:focus,.rank-math-modal .components-panel__body .button-primary:focus,.rank-math-modal .components-panel__body .is-primary:focus,.rank-math-modal .components-modal__content .button-primary:focus,.rank-math-modal .components-modal__content .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}.components-tab-panel__tab-content .components-panel__body .button-primary[disabled],.components-tab-panel__tab-content .components-panel__body .is-primary[disabled],.components-tab-panel__tab-content .components-modal__content .button-primary[disabled],.components-tab-panel__tab-content .components-modal__content .is-primary[disabled],.rank-math-modal .components-panel__body .button-primary[disabled],.rank-math-modal .components-panel__body .is-primary[disabled],.rank-math-modal .components-modal__content .button-primary[disabled],.rank-math-modal .components-modal__content .is-primary[disabled]{border-color:#069de3 !important;background:#069de3 !important}.components-tab-panel__tab-content .components-panel__body .is-blue:not(.default),.components-tab-panel__tab-content .components-modal__content .is-blue:not(.default),.rank-math-modal .components-panel__body .is-blue:not(.default),.rank-math-modal .components-modal__content .is-blue:not(.default){border-color:#4e8cde;background:#4e8cde}.components-tab-panel__tab-content .components-panel__body .is-blue:not(.default):hover,.components-tab-panel__tab-content .components-panel__body .is-blue:not(.default):focus,.components-tab-panel__tab-content .components-modal__content .is-blue:not(.default):hover,.components-tab-panel__tab-content .components-modal__content .is-blue:not(.default):focus,.rank-math-modal .components-panel__body .is-blue:not(.default):hover,.rank-math-modal .components-panel__body .is-blue:not(.default):focus,.rank-math-modal .components-modal__content .is-blue:not(.default):hover,.rank-math-modal .components-modal__content .is-blue:not(.default):focus{border-color:#397eda;background:#397eda}.components-tab-panel__tab-content .components-panel__body .is-blue:not(.default):focus,.components-tab-panel__tab-content .components-modal__content .is-blue:not(.default):focus,.rank-math-modal .components-panel__body .is-blue:not(.default):focus,.rank-math-modal .components-modal__content .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}.components-tab-panel__tab-content .components-panel__body .is-green:not(.default),.components-tab-panel__tab-content .components-modal__content .is-green:not(.default),.rank-math-modal .components-panel__body .is-green:not(.default),.rank-math-modal .components-modal__content .is-green:not(.default){border-color:#10AC84;background:#10AC84}.components-tab-panel__tab-content .components-panel__body .is-green:not(.default):hover,.components-tab-panel__tab-content .components-panel__body .is-green:not(.default):focus,.components-tab-panel__tab-content .components-modal__content .is-green:not(.default):hover,.components-tab-panel__tab-content .components-modal__content .is-green:not(.default):focus,.rank-math-modal .components-panel__body .is-green:not(.default):hover,.rank-math-modal .components-panel__body .is-green:not(.default):focus,.rank-math-modal .components-modal__content .is-green:not(.default):hover,.rank-math-modal .components-modal__content .is-green:not(.default):focus{border-color:#0f9e79;background:#0f9e79}.components-tab-panel__tab-content .components-panel__body .is-green:not(.default):focus,.components-tab-panel__tab-content .components-modal__content .is-green:not(.default):focus,.rank-math-modal .components-panel__body .is-green:not(.default):focus,.rank-math-modal .components-modal__content .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}.components-tab-panel__tab-content .components-panel__body .button-link-delete,.components-tab-panel__tab-content .components-modal__content .button-link-delete,.rank-math-modal .components-panel__body .button-link-delete,.rank-math-modal .components-modal__content .button-link-delete{color:#ee6a5e;border-color:#ee6a5e;background:transparent}.components-tab-panel__tab-content .components-panel__body .button-link-delete:hover,.components-tab-panel__tab-content .components-panel__body .button-link-delete:focus,.components-tab-panel__tab-content .components-modal__content .button-link-delete:hover,.components-tab-panel__tab-content .components-modal__content .button-link-delete:focus,.rank-math-modal .components-panel__body .button-link-delete:hover,.rank-math-modal .components-panel__body .button-link-delete:focus,.rank-math-modal .components-modal__content .button-link-delete:hover,.rank-math-modal .components-modal__content .button-link-delete:focus{color:#fff;border-color:#ee6a5e;background:#ee6a5e;-webkit-box-shadow:0 0 0 1px #ee6a5e;box-shadow:0 0 0 1px #ee6a5e}.components-tab-panel__tab-content .components-panel__body .button-link,.components-tab-panel__tab-content .components-panel__body .is-link,.components-tab-panel__tab-content .components-modal__content .button-link,.components-tab-panel__tab-content .components-modal__content .is-link,.rank-math-modal .components-panel__body .button-link,.rank-math-modal .components-panel__body .is-link,.rank-math-modal .components-modal__content .button-link,.rank-math-modal .components-modal__content .is-link{border:0;background:transparent;-webkit-box-shadow:none;box-shadow:none}.components-tab-panel__tab-content .components-panel__body .button-small,.components-tab-panel__tab-content .components-panel__body .is-small,.components-tab-panel__tab-content .components-modal__content .button-small,.components-tab-panel__tab-content .components-modal__content .is-small,.rank-math-modal .components-panel__body .button-small,.rank-math-modal .components-panel__body .is-small,.rank-math-modal .components-modal__content .button-small,.rank-math-modal .components-modal__content .is-small{font-size:12px;line-height:24px;min-height:24px;padding:0 8px}.components-tab-panel__tab-content .components-panel__body .button-xlarge,.components-tab-panel__tab-content .components-panel__body .is-large,.components-tab-panel__tab-content .components-modal__content .button-xlarge,.components-tab-panel__tab-content .components-modal__content .is-large,.rank-math-modal .components-panel__body .button-xlarge,.rank-math-modal .components-panel__body .is-large,.rank-math-modal .components-modal__content .button-xlarge,.rank-math-modal .components-modal__content .is-large{font-size:16px;line-height:44px;height:46px}.components-tab-panel__tab-content .components-panel__body .button-animated,.components-tab-panel__tab-content .components-modal__content .button-animated,.rank-math-modal .components-panel__body .button-animated,.rank-math-modal .components-modal__content .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}.components-tab-panel__tab-content .components-panel__body .button-animated i,.components-tab-panel__tab-content .components-modal__content .button-animated i,.rank-math-modal .components-panel__body .button-animated i,.rank-math-modal .components-modal__content .button-animated i{line-height:85px}.components-tab-panel__tab-content .components-panel__body .button-animated:before,.components-tab-panel__tab-content .components-modal__content .button-animated:before,.rank-math-modal .components-panel__body .button-animated:before,.rank-math-modal .components-modal__content .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}.components-tab-panel__tab-content .components-panel__body .rank-math-help-icon,.components-tab-panel__tab-content .components-modal__content .rank-math-help-icon,.rank-math-modal .components-panel__body .rank-math-help-icon,.rank-math-modal .components-modal__content .rank-math-help-icon{margin:0 4px;vertical-align:.5px;text-decoration:none;color:#b5bfc9;-webkit-box-shadow:none;box-shadow:none}.components-tab-panel__tab-content .components-panel__body .rank-math-help-icon:hover,.components-tab-panel__tab-content .components-modal__content .rank-math-help-icon:hover,.rank-math-modal .components-panel__body .rank-math-help-icon:hover,.rank-math-modal .components-modal__content .rank-math-help-icon:hover{color:#069de3}@-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}}.components-tab-panel__tab-content .rank-math-edit-snippet,.rank-math-modal .rank-math-edit-snippet{height:30px;margin:1rem 0;border-color:#069de3;background:#069de3}.components-tab-panel__tab-content .rank-math-edit-snippet:hover,.rank-math-modal .rank-math-edit-snippet:hover{border-color:#08a7f1;background:#08a7f1}@media (min-width: 600px){.rank-math-tabs .components-checkbox-control__input-container{width:16px;height:16px;margin-right:8px}.rank-math-tabs .components-checkbox-control__input-container svg{width:20px;height:18px}.rank-math-tabs .components-checkbox-control__input[type=checkbox]{width:16px;height:16px}.rank-math-tabs .components-checkbox-control__input[type=checkbox]:checked,.rank-math-tabs .components-checkbox-control__input[type=checkbox]:checked:focus{border-color:#069de3;background:#069de3}}body.rtl .rank-math-tabs>.components-tab-panel__tabs button.is-active i,body.rtl .rank-math-tabs>.components-tab-panel__tabs button i{margin-right:0;margin-left:5px}body.rtl .rank-math-tabs>.components-tab-panel__tabs button[id='1-review']{margin-right:auto;margin-left:0}.rank-math-sidebar-panel .rank-math-tooltip{display:inline}.rank-math-sidebar-panel .rank-math-tooltip label{position:relative;margin-left:1px;vertical-align:.5px;color:#b5bfc9}.rank-math-sidebar-panel .rank-math-tooltip label:hover{opacity:1;color:#069de3}.rank-math-sidebar-panel .rank-math-tooltip label:after{display:none;content:'';-webkit-transform:translate(-50%, 3px);transform:translate(-50%, 3px);border-style:solid;height:0;width:0;border-color:transparent transparent #edf0f2;border-width:0 10px 8px;position:absolute;top:100%;left:50%}.rank-math-sidebar-panel .rank-math-tooltip input{display:none !important}.rank-math-sidebar-panel .rank-math-tooltip input:checked+label{opacity:1;color:#00a0d2}.rank-math-sidebar-panel .rank-math-tooltip input:checked+label:after{display:block}.rank-math-sidebar-panel .rank-math-tooltip input:checked ~ .rank-math-tooltip-content{display:block}.rank-math-sidebar-panel .rank-math-tooltip-content{font-weight:normal;line-height:1.3;display:none;width:100%;margin:7px 0 0;padding:8px 10px;color:#737982;border-radius:3px;background:#edf0f2}.rank-math-sidebar-panel .rank-math-tooltip-content a{text-decoration:underline}div.rank-math-modal{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen-Sans,Ubuntu,Cantarell,'Helvetica Neue',sans-serif;overflow-y:scroll;width:665px;max-width:100%;height:94vh;max-height:735px;border:0;-webkit-box-shadow:0 5px 30px 0 rgba(0,0,0,0.2);box-shadow:0 5px 30px 0 rgba(0,0,0,0.2)}div.rank-math-modal .components-modal__content{padding:0;margin-top:50px}div.rank-math-modal .components-modal__content:before{margin:0}div.rank-math-modal .components-panel__body{border:0}div.rank-math-modal .components-modal__header{height:51px;margin:0;padding:0 17px;border-bottom:1px solid #dadfe4}div.rank-math-modal .components-modal__header .components-modal__header-heading{font-size:14px}div.rank-math-modal .components-modal__header button{padding:0 10px}@media (max-width: 782px){.rank-math-modal{width:100%;height:100%;max-height:100%}}.variable-group{position:relative}.variable-group .components-button{height:26px;padding:3px;color:inherit;position:absolute;top:2px;right:2px}.variable-group .components-button:not(.is-default):hover{background:transparent;-webkit-box-shadow:none;box-shadow:none}.variable-group .components-button .dashicon{margin-right:0}.variable-group input,.variable-group textarea{margin:0;padding-right:40px !important}.rank-math-variables-dropdown{z-index:999;display:none;overflow:auto;-webkit-box-sizing:border-box;box-sizing:border-box;width:80%;max-width:450px;max-height:290px;border:1px solid #b5bfc9;border-radius:4px;background:#fff;position:absolute;top:38px;right:0}body.rtl{right:auto;left:38px}.rank-math-variables-dropdown .components-base-control{padding:10px 10px 0}.rank-math-variables-dropdown input[type='text'].components-text-control__input{border-color:#b5bfc9;-webkit-box-shadow:none !important;box-shadow:none !important;height:34px;width:100%}.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 span{font-style:italic;line-height:1.3;display:block;padding-top:3px}.rank-math-variables-dropdown li:hover{background:#f8f9fa}.rank-math-variables-dropdown li:after{display:inline-block;margin-top:5px;padding:.25em .4em;content:attr(data-var);white-space:nowrap;border-radius:.25rem;background-color:#f0f2f4}.edit-post-layout:not(.show-icon-labels) .interface-pinned-items button.components-button[aria-label='Rank Math']{padding:0;background:transparent}.edit-post-layout:not(.show-icon-labels) .interface-pinned-items button.components-button[aria-label='Rank Math']:hover{background:transparent}.edit-post-layout:not(.show-icon-labels) .interface-pinned-items button.components-button[aria-label='Rank Math'] .rank-math-toolbar-score{padding:8.5px 9px;color:#212F3E;border-radius:2px;background:#dadfe4;border:1px solid #a6b2be}.edit-post-layout:not(.show-icon-labels) .interface-pinned-items button.components-button[aria-label='Rank Math'] .rank-math-toolbar-score .rank-math-icon{float:left;height:17px;margin-right:4px}.edit-post-layout:not(.show-icon-labels) .interface-pinned-items button.components-button[aria-label='Rank Math'] .rank-math-toolbar-score .rank-math-icon,.edit-post-layout:not(.show-icon-labels) .interface-pinned-items button.components-button[aria-label='Rank Math'] .rank-math-toolbar-score .rank-math-icon *,.edit-post-layout:not(.show-icon-labels) .interface-pinned-items button.components-button[aria-label='Rank Math'] .rank-math-toolbar-score .rank-math-icon:hover,.edit-post-layout:not(.show-icon-labels) .interface-pinned-items button.components-button[aria-label='Rank Math'] .rank-math-toolbar-score .rank-math-icon:hover *{fill:inherit !important;stroke:inherit !important}.edit-post-layout:not(.show-icon-labels) .interface-pinned-items button.components-button[aria-label='Rank Math'] .rank-math-toolbar-score .seo-score{font-weight:600;display:inline-block}.edit-post-layout:not(.show-icon-labels) .interface-pinned-items button.components-button[aria-label='Rank Math'] .rank-math-toolbar-score.loading{pointer-events:none}.edit-post-layout:not(.show-icon-labels) .interface-pinned-items button.components-button[aria-label='Rank Math'] .rank-math-toolbar-score.bad-fk{color:#ef877f;background:#fce9e8;fill:#ef877f;border-color:#ef877f}.edit-post-layout:not(.show-icon-labels) .interface-pinned-items button.components-button[aria-label='Rank Math'] .rank-math-toolbar-score.ok-fk{color:#ff9f13;background:#ffeccf;fill:#ff9f13;border-color:#ffb446}.edit-post-layout:not(.show-icon-labels) .interface-pinned-items button.components-button[aria-label='Rank Math'] .rank-math-toolbar-score.good-fk{color:#67c267;background:#dff2df;fill:#67c267;border-color:#67c267}.edit-post-layout:not(.show-icon-labels) .interface-pinned-items button.components-button[aria-label='Rank Math'].is-toggled .rank-math-toolbar-score,.edit-post-layout:not(.show-icon-labels) .interface-pinned-items button.components-button[aria-label='Rank Math'].is-pressed .rank-math-toolbar-score{background:#b5bfc9}.edit-post-layout:not(.show-icon-labels) .interface-pinned-items button.components-button[aria-label='Rank Math'].is-toggled .rank-math-toolbar-score.bad-fk,.edit-post-layout:not(.show-icon-labels) .interface-pinned-items button.components-button[aria-label='Rank Math'].is-pressed .rank-math-toolbar-score.bad-fk{color:#fff;background:#f29c96;fill:#fff}.edit-post-layout:not(.show-icon-labels) .interface-pinned-items button.components-button[aria-label='Rank Math'].is-toggled .rank-math-toolbar-score.ok-fk,.edit-post-layout:not(.show-icon-labels) .interface-pinned-items button.components-button[aria-label='Rank Math'].is-pressed .rank-math-toolbar-score.ok-fk{color:#fff;background:#ffbe5f;fill:#fff}.edit-post-layout:not(.show-icon-labels) .interface-pinned-items button.components-button[aria-label='Rank Math'].is-toggled .rank-math-toolbar-score.good-fk,.edit-post-layout:not(.show-icon-labels) .interface-pinned-items button.components-button[aria-label='Rank Math'].is-pressed .rank-math-toolbar-score.good-fk{color:#fff;background:#79c979;fill:#fff}.components-menu-group .rank-math-toolbar-score .seo-score{display:none}.components-menu-group .rank-math-toolbar-score .rank-math-icon g{fill:inherit !important}.rank-math-focus-keyword .tagify{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;-ms-flex-wrap:wrap;flex-wrap:wrap;border:1px solid #8d96a0;padding:0;cursor:text;position:relative;border-radius:4px;margin-bottom:16px;overflow:auto}@-webkit-keyframes tags--bump{30%{-webkit-transform:scale(1.2);transform:scale(1.2)}}@keyframes tags--bump{30%{-webkit-transform:scale(1.2);transform:scale(1.2)}}.rtl #side-sortables .rank-math-focus-keyword .tagify{padding-right:5px}.rank-math-focus-keyword .tagify:hover{border-color:#8d96a0}.rank-math-focus-keyword .tagify.tagify--focus{border-color:#00a0d2;-webkit-box-shadow:0 0 0 1px #00a0d2;box-shadow:0 0 0 1px #00a0d2}.rank-math-focus-keyword .tagify+input,.rank-math-focus-keyword .tagify+textarea{display:none !important}.tagify__tag+.rank-math-focus-keyword .tagify__tag{min-width:20px}.tagify__tag+.rank-math-focus-keyword .tagify__tag::before{display:none}.rank-math-focus-keyword .tagify__tag{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:5px 0 5px 5px;position:relative;z-index:1;cursor:pointer;padding:4px 6px 4px 10px;border-radius:14px;font-size:14px;line-height:17px}.rank-math-focus-keyword .tagify__tag:focus{outline:none}.rank-math-focus-keyword .tagify__tag.tagify--editable>div{color:#000}.rank-math-focus-keyword .tagify__tag.dragsort--dragElem{display:none}.rank-math-focus-keyword .tagify__tag>div{vertical-align:top;-webkit-box-sizing:border-box;box-sizing:border-box;max-width:100%;line-height:inherit;border-radius:3px;-webkit-transition:none;transition:none;padding:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:inherit}.rank-math-focus-keyword .tagify__tag>div:before{color:green;-webkit-box-shadow:none;box-shadow:none;position:relative}.rank-math-focus-keyword .tagify__tag>div>*{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:inline-block;vertical-align:top;min-width:10px;line-height:17px;max-width:initial;-webkit-transition:none;transition:none}.rank-math-focus-keyword .tagify__tag>div>*[contenteditable]{outline:none;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;cursor:text;margin:-2px;padding:2px}.rank-math-focus-keyword .tagify__tag.tagify--noAnim{-webkit-animation:none;animation:none}.rank-math-focus-keyword .tagify__tag.tagify--hide{width:0 !important;padding-left:0;padding-right:0;margin-left:0;margin-right:0;opacity:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:.3s;transition:.3s;pointer-events:none}.rank-math-focus-keyword .tagify__tag.tagify--mark div::before{-webkit-animation:none;animation:none}.rank-math-focus-keyword .tagify__tag:first-child .tagify__tag-text:before{font-family:'dashicons';font-size:12px;margin-right:5px;vertical-align:-1px;display:inline-block;content:'\f155';text-align:center;color:currentColor;border-radius:50%}.rank-math-focus-keyword .tagify__tag.bad-fk{color:#ef877f;background:#fce9e8}.rank-math-focus-keyword .tagify__tag.bad-fk.selected{color:#fff;background:#f29c96}.rank-math-focus-keyword .tagify__tag.bad-fk.selected .tagify__tag__removeBtn{color:#fff;background:#e4827b}.rank-math-focus-keyword .tagify__tag.bad-fk.selected .tagify__tag__removeBtn:hover{background:#de746d}.rank-math-focus-keyword .tagify__tag.bad-fk .tagify__tag__removeBtn{color:#fff;background:#f6d1cf}.rank-math-focus-keyword .tagify__tag.bad-fk .tagify__tag__removeBtn:hover{background:#f5c0bc}.rank-math-focus-keyword .tagify__tag.ok-fk{color:#ff9f13;background:#ffeccf}.rank-math-focus-keyword .tagify__tag.ok-fk.selected{color:#fff;background:#ffbe5f}.rank-math-focus-keyword .tagify__tag.ok-fk.selected .tagify__tag__removeBtn{color:#fff;background:#f3ab42}.rank-math-focus-keyword .tagify__tag.ok-fk.selected .tagify__tag__removeBtn:hover{background:#eea232}.rank-math-focus-keyword .tagify__tag.ok-fk .tagify__tag__removeBtn{color:#fff;background:#fbd6a0}.rank-math-focus-keyword .tagify__tag.ok-fk .tagify__tag__removeBtn:hover{background:#fccc86}.rank-math-focus-keyword .tagify__tag.good-fk{color:#67c267;background:#dff2df}.rank-math-focus-keyword .tagify__tag.good-fk.selected{color:#fff;background:#79c979}.rank-math-focus-keyword .tagify__tag.good-fk.selected .tagify__tag__removeBtn{color:#fff;background:#6ab06a}.rank-math-focus-keyword .tagify__tag.good-fk.selected .tagify__tag__removeBtn:hover{background:#60a560}.rank-math-focus-keyword .tagify__tag.good-fk .tagify__tag__removeBtn{color:#fff;background:#b2dcb2}.rank-math-focus-keyword .tagify__tag.good-fk .tagify__tag__removeBtn:hover{background:#9ad19a}.rank-math-focus-keyword .tagify__tag__removeBtn{-webkit-box-ordinal-group:6;-ms-flex-order:5;order:5;font:14px/18px Dashicons;color:#fff;height:18px;width:18px;text-align:center;cursor:pointer;margin-left:4px;border-radius:50px;background:rgba(0,0,0,0.35)}.rank-math-focus-keyword .tagify__tag__removeBtn::after{content:"\f335"}.rank-math-focus-keyword .tagify__tag__removeBtn:hover{color:#fff !important;background:rgba(86,86,86,0.35);border-radius:50px}.rank-math-focus-keyword .tagify__tag__removeBtn:hover+div>span{opacity:1}.rank-math-focus-keyword .tagify--hasMaxTags .tagify__input{display:none}.rank-math-focus-keyword .tagify__input{display:block;min-width:20px;margin:5px;padding:7px 6px 6px;line-height:1;position:relative}.rank-math-focus-keyword .tagify__input::before{display:none}.rank-math-focus-keyword .tagify__input:empty::before{-webkit-transition:.2s ease-out;transition:.2s ease-out;opacity:.5;-webkit-transform:none;transform:none;width:auto}.rank-math-focus-keyword .tagify__input:focus{outline:none}.rank-math-focus-keyword .tagify__input:focus::before{-webkit-transition:.2s ease-out;transition:.2s ease-out;opacity:0;-webkit-transform:translatex(6px);transform:translatex(6px)}@supports (-moz-appearance: none){.rank-math-focus-keyword .tagify__input:focus::before{display:none}}.rank-math-focus-keyword .tagify__input:focus:empty::before{-webkit-transition:.2s ease-out;transition:.2s ease-out;opacity:.3;-webkit-transform:none;transform:none}@supports (-moz-appearance: none){.rank-math-focus-keyword .tagify__input:focus:empty::before{display:inline-block}}.rank-math-focus-keyword .tagify__input::after{content:attr(data-suggest);color:#000;opacity:.3;pointer-events:none}.tagify__dropdown{position:absolute;z-index:9999;background:white;max-height:350px;overflow:auto;border:1px solid #e8e9ec;border-radius:4px;-webkit-box-shadow:0 9px 18px 0 rgba(25,30,35,0.18);box-shadow:0 9px 18px 0 rgba(25,30,35,0.18);-webkit-box-sizing:border-box;box-sizing:border-box}.tagify__dropdown__item{-webkit-box-sizing:inherit;box-sizing:inherit;padding:6px 13px;cursor:pointer;position:relative;outline:none;color:#717780;border-top:1px solid #edf0f2}.tagify__dropdown__item--active,.tagify__dropdown__item:active{background:#0095cd;color:#fff}body.rtl .rank-math-focus-keyword .tagify__tag{padding-right:10px;padding-left:6px}body.rtl .rank-math-focus-keyword .tagify__tag .tagify__tag__removeBtn{margin-right:4px;margin-left:0}body.rtl .rank-math-focus-keyword .tagify__tag:first-child .tagify__tag-text:before{margin-right:0;margin-left:5px}.rank-math-focus-keyword{position:relative}.rank-math-focus-keyword .components-panel__body-title{margin-bottom:0;padding:16px;padding-bottom:10px;background:transparent !important}.rank-math-focus-keyword .components-notice{margin:0 0 10px;color:#555d66;border-radius:4px}.rank-math-focus-keyword .components-notice__content{margin:0}.rank-math-focus-keyword .components-notice a{font-weight:500}.rank-math-modal.rank-math-focus-keywords-cta-modal{height:auto}.rank-math-modal.rank-math-focus-keywords-cta-modal #rank-math-pro-cta{position:relative}.rank-math-modal.rank-math-focus-keywords-cta-modal #rank-math-pro-cta .rank-math-cta-box{-webkit-box-shadow:none;box-shadow:none;padding:0 0 1rem 0}.rank-math-modal.rank-math-focus-keywords-cta-modal .components-modal__content::before{margin-bottom:0}.rank-math-checklist{background:#fff}.rank-math-checklist .components-panel__body-title,.rank-math-checklist .components-panel__body-toggle.components-button{font-size:14px;outline:0 !important}.rank-math-checklist li{position:relative;padding-left:24px;line-height:1.4;margin-bottom:6px}.rank-math-checklist li:before{font-family:dashicons;font-size:14px;line-height:16px;content:'\f335';text-align:center;color:#fff;border-radius:50em;background:#f29c96;position:absolute;top:1px;left:-1px;height:16px;width:16px}.rank-math-checklist li.test-ok:before{content:'\f147';background:#79c979}.rank-math-checklist li.test-warning:before{background:#ffbe5f}.rank-math-checklist li.test-check-good:before{background:#fff;color:#79c979;-webkit-box-shadow:inset 0 0 0 2px #79c979;box-shadow:inset 0 0 0 2px #79c979}.rank-math-checklist li.test-check-ok:before{background:#fff;color:#ffbe5f;-webkit-box-shadow:inset 0 0 0 2px #ffbe5f;box-shadow:inset 0 0 0 2px #ffbe5f}.rank-math-checklist li.test-check-bad:before{background:#fff;color:#ffa35f;-webkit-box-shadow:inset 0 0 0 2px #ffa35f;box-shadow:inset 0 0 0 2px #ffa35f}.rank-math-checklist li.seo-check-fleschReading.okay:before,.rank-math-checklist li.seo-check-fleschReading.fairly-difficult:before{background:#ffbe5f}.rank-math-checklist li.seo-check-fleschReading.difficult:before{background:#eac0c2}.rank-math-group-score{font-size:11px;font-weight:normal;line-height:21px;padding:0 10px 0 7px;letter-spacing:.05em;color:#fff;border-radius:20em;background:#f29c96;margin-top:-2px;margin-left:10px}.rank-math-group-score:before{font-family:dashicons;font-size:13px;line-height:12px;content:'\f335';margin-top:3px;margin-right:2px;vertical-align:middle}.rank-math-group-score.test-ok{background:#79c979}.rank-math-group-score.test-ok:before{content:'\f147'}.rank-math-group-score.test-warning{padding:3px 10px 3px 5px;background:#ffbe5f}.rank-math-group-score.test-warning:before{font-size:11px;font-weight:500;margin-top:1px;padding:0 4px 0 6px;content:'!';text-align:center}body.rtl .rank-math-group-score{margin:0 10px 0 0}.serp-preview-noindex{display:none}.noindex-preview .serp-preview-body{opacity:0.6}.noindex-preview .serp-preview-body{pointer-events:none}.noindex-preview .serp-preview-noindex{z-index:1;display:block;margin-top:10px;padding:5px 10px;border-left:4px solid #f0b849;border-radius:4px;background:#fef8ee}.noindex-preview .serp-preview-noindex h3{font-weight:700;line-height:1.4;margin:5px 0 0;letter-spacing:1px;text-transform:uppercase;color:#32383d}.noindex-preview .serp-preview-noindex p{font-size:14px;width:400px;max-width:100%;margin:5px 0;color:#333}.suggestion-item{overflow:hidden;margin-bottom:5px;padding-bottom:5px;border-bottom:1px dotted #b5bfc9}.suggestion-item a{text-decoration:none;-webkit-box-shadow:none !important;box-shadow:none !important}.suggestion-item .suggestion-actions{float:right;margin-left:5px}.suggestion-item .dashicons{cursor:pointer;background:none;-webkit-box-shadow:none;box-shadow:none;border:0;position:relative;width:20px;height:20px;margin-top:5px;margin-left:2px;margin-right:2px;padding:0px;display:inline-block}.suggestion-item .dashicons-admin-links::before{position:absolute;top:0px;left:0px}.suggestion-item .dashicons-clipboard::before{position:absolute;top:0px;left:0px}#rank_math_keyword_density{font-weight:600;display:none;float:right;cursor:pointer;color:#888}#rank_math_keyword_density span{float:right}#rank_math_keyword_density .inner-wrapper{position:absolute;z-index:1;right:30px;margin-top:8px;padding:5px 15px;background:#fff;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.1);box-shadow:0 1px 1px rgba(0,0,0,0.1)}#rank_math_keyword_density .inner-wrapper ul{margin-top:15px}#rank_math_keyword_density.state-closed span:before{content:'\f140' !important}#rank_math_keyword_density.state-closed .inner-wrapper{display:none}#rank_math_metabox_link_suggestions .postbox-header .hndle{-webkit-box-pack:normal;-ms-flex-pack:normal;justify-content:normal}.rank-math-button-devices{float:right}.rank-math-button-devices .button.button-small{font-size:14px;line-height:32px;display:inline-block;height:30px;min-height:26px;padding:0 8px;cursor:pointer;-webkit-transition:.25s all linear;transition:.25s all linear;color:#7f8292;border:1px solid #b5bfc9;border-radius:3px;background:#f3f5f6}.rank-math-button-devices .button.button-small:first-child{margin-right:5px}.rank-math-button-devices .button.button-small:hover{color:#069de3;border-color:#069de3}.rank-math-button-devices .button.button-small.active{color:#fff;border-color:#069de3;background:#069de3;-webkit-box-shadow:none;box-shadow:none}.serp-preview{background:#fff}.serp-preview *{-webkit-box-sizing:border-box;box-sizing:border-box}.serp-preview-title{margin-bottom:5px}.serp-preview-title:before{font-size:14px;font-weight:600;line-height:24px;content:attr(data-title);letter-spacing:.05em}.serp-preview-title .seo-score{font-weight:600;display:none;float:right;padding:4px 6px;color:#fff;border-radius:3px;background:#ffbe5f}.show-icon-labels .serp-preview-title .seo-score{display:block}.serp-preview-title .seo-score.bad-fk{background:#f29c96}.serp-preview-title .seo-score.good-fk{background:#79c979}.serp-preview-wrapper{position:relative;padding-top:5px;-webkit-transition:all .6s ease;transition:all .6s ease}.serp-preview-body{cursor:pointer;-webkit-transition:width .2s ease, padding .2s ease, margin .2s ease;transition:width .2s ease, padding .2s ease, margin .2s ease}.serp-preview .group{position:relative;width:100%}.serp-preview .serp-description,.serp-preview .serp-title,.serp-preview .serp-url{font-family:arial, sans-serif;font-size:13px;position:relative;z-index:1;display:block;overflow:hidden;width:100%;max-width:600px;margin:0;cursor:pointer;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.serp-preview .serp-description mark,.serp-preview .serp-title mark,.serp-preview .serp-url mark{font-weight:bold;color:inherit;background-color:transparent}.serp-preview .serp-title{font-size:16px;font-weight:normal;line-height:1.5;margin-bottom:3px;padding-bottom:0;color:#1a0dab}.serp-preview .serp-title.capitalize{text-transform:capitalize}.serp-preview .serp-url{font-size:14px;line-height:16px;margin:3px 0 5px;padding-right:5px;color:#202124}.serp-preview .serp-url:after{position:absolute;top:-2px;margin-left:10px;content:url('data:image/svg+xml; utf8, <svg focusable="false" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><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"></path></svg>');opacity:.4;height:17px;width:17px}.serp-preview .serp-description{line-height:1.4;white-space:normal;text-overflow:unset;word-wrap:break-word;color:#555d66}.serp-preview .rank-math-rating-preview{margin-bottom:4px;margin-left:-1px}.serp-preview .serp-ratings{line-height:1;position:relative;display:inline;margin-right:5px;vertical-align:-1px;color:#ccc}.serp-preview .serp-ratings span{font-size:14px;width:14px;height:14px}.serp-preview .serp-result{position:absolute;top:0;left:0;overflow:hidden;white-space:nowrap;color:#f9b709}.serp-preview .serp-result span{margin-top:-1px}.serp-preview .serp-rating-label,.serp-preview .serp-rating-value{color:#70757a}.rank-math-editor-general .serp-preview-title{margin-bottom:0}.rank-math-editor-general .serp-preview-title:before{line-height:36px}.serp-preview-favicon{display:none}.serp-preview-bg{overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;max-height:0;-webkit-transition:.2s max-height ease-in-out;transition:.2s max-height ease-in-out;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.rank-math-editor .serp-preview-input{position:relative;max-width:598px;pointer-events:none}.rank-math-editor .serp-preview-input input[disabled]{font:16px arial,sans-serif;padding:5px 16px;color:#000;border:1px solid transparent;border-radius:24px;background:#fff;-webkit-box-shadow:0 2px 5px 1px rgba(64,60,67,0.16);box-shadow:0 2px 5px 1px rgba(64,60,67,0.16);height:46px;width:100%}.rank-math-editor .serp-preview-input .serp-icon-mic,.rank-math-editor .serp-preview-input .serp-icon-search{display:inline-block;width:24px;position:absolute;top:0;right:48px}.rank-math-editor .serp-preview-input .serp-icon-mic{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAACrElEQVR42u2Xz2sTQRSAX8VSb1K8iNqKooJH2Ux6Ksn+iPQqxZMIehJB0do/IMhmQWsvHr2KSEGk0tSLIoWIYNUKij20F2/N7iaUZnYT0kYzzhMKs0HDJiTdLcwHDwKZSd63781LBiQSSW9JZdkhzfKm1Rz9mjZp/W9YdEU3vXv4HsQZ40FtNG36q5rls//Ej4tmbSS2T15Mvp3ExOPmEMQNbBtMMEyoljcFcQN7PqyAlqNfIG7gYQ0tYNIaxA1MrJPY3wImbUqBKAXSFv0tBSIVMOkvKRDtGKWN/T6FdqRAxFNoWwpEPIXqUqBT6ALU/UVgu8GW4GD3f6f9TRDYNJTDrk7YbtiqUumHwIYoUJuHERDAS0r4CvgFECgbY+cFAR7KT+g1POmCKFDNw6WggHc3fBtVb4CAoyauBgXIG+g1Xh5mRAGah6cggBd11fK/h7lOprIs0H6uRl6KAo5O7kOv4QmPiwJ4Jqqv4FiwCtXjvD2+tRmfK6kZ/ygI2HritK0rDVGgrClJ6DWMwYC/AGuCBMYcIC2V0CzvjmbRz3j3xUjn6CfeYreUJ2wQkGD75INPX1mFfsEFrrcIYCvdhC4paWQakxajpJMr0C9YFg54i7AsClRmh9/xnr0NHcInzZStk2aLwAcGMAD9pPIazvFKVDD5rdnhJeHLX5RTyRPQHpz5o66emMc9wdlPtvA8wF7Aq2BUHh1525qEo5JtR1WeOXpickO9cJIpyuD6xJmhYiZ5ytWSl3mlnuOaf+2zDaLDXmJrSgZ/MYVEugo+gSh+FkSBa4yd5Ul87DZ5XpFl/AyIEjzYjkau8WqshU2cr13HPbgX4gJOD97n465GZlyVvC9mSKloKI2iTnbwNT+gBX54H+IaXAtxJzE3ycSAFqSAFJACUkAikXD+AHj5/wx2o5osAAAAAElFTkSuQmCC");background-repeat:no-repeat;background-position:right center;background-size:24px 24px;height:48px;width:24px}.rank-math-editor .serp-preview-input .serp-icon-search{right:16px}.rank-math-editor .serp-preview-input .serp-icon-search svg{fill:#4285f4;height:48px;width:24px}.serp-preview-menus{overflow:hidden;max-width:600px}.serp-preview-menus ul{float:left;overflow:hidden;margin:0;padding:0;list-style:none}.serp-preview-menus ul li{font-family:arial,sans-serif;font-size:13px;line-height:19px;float:left;margin:0;padding:27px 12px 12px;color:#777}.serp-preview-menus ul li.current{color:#1a73e8;border-bottom:3px solid #1a73e8}.serp-preview-menus ul li.current img{margin-right:3px}.serp-preview-menus ul li img,.serp-preview-menus ul li svg{display:inline-block;width:16px;margin-right:1px;vertical-align:-3px;fill:#5f6368}.serp-preview-menus ul.menus-right{float:right}.serp-preview-result-stats{font-family:arial,sans-serif;font-size:small;line-height:43px;color:#808080;border-top:1px solid #ebebeb}.desktop-preview .serp-preview-title:before{content:attr(data-desktop)}.mobile-preview .serp-preview-title:before{content:attr(data-mobile)}.mobile-preview .serp-preview-bg{width:400px;margin:auto;border-bottom:1px solid rgba(60,64,67,0.08)}.mobile-preview .serp-preview-input{max-width:399px}.mobile-preview .serp-preview-input input[disabled]{height:41px;padding-left:43px}.mobile-preview .serp-preview-input .serp-icon-mic{display:none}.mobile-preview .serp-preview-input .serp-icon-search{top:0;left:4px;width:40px;height:41px;padding-right:8px;padding-left:8px;text-align:center;border-radius:0 20px 20px 0}.mobile-preview .serp-preview-input .serp-icon-search svg{height:41px;fill:#9aa0a6}.mobile-preview .serp-preview-menus{padding:0 10px}.mobile-preview .serp-preview-menus ul{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.mobile-preview .serp-preview-menus ul li{font-family:inherit;font-size:14px;font-weight:500;line-height:34px;padding:6px 0 0;text-align:center}.mobile-preview .serp-preview-menus ul li.current{color:#202124;border-bottom:2px solid #202124}.mobile-preview .serp-preview-menus ul li img,.mobile-preview .serp-preview-menus ul li svg{display:none}.mobile-preview .serp-preview-menus ul.menus-right{display:none}.mobile-preview .serp-preview-result-stats{display:none}.mobile-preview .serp-preview-body{-webkit-box-sizing:border-box;box-sizing:border-box;width:400px;margin:10px auto auto;padding:10px;word-wrap:break-word;background-color:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column wrap;flex-flow:column wrap}.mobile-preview .rank-math-rating-preview{display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:10px;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.mobile-preview .rank-math-rating-preview .serp-ratings{margin:2px 0 0 5px;-webkit-box-ordinal-group:4;-ms-flex-order:3;order:3}.mobile-preview .rank-math-rating-preview .serp-ratings .dashicon{font-size:14px}.mobile-preview .rank-math-rating-preview .serp-result{color:#f9b709}.mobile-preview .rank-math-rating-preview .serp-rating-label{width:100%;margin-bottom:2px;color:#202124;-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.mobile-preview .rank-math-rating-preview .serp-rating-value{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.rank-math-editor .mobile-preview .serp-title{color:#1558d6}.rank-math-editor .mobile-preview .group:first-child{max-width:250px;display:-webkit-box;display:-ms-flexbox;display:flex}.rank-math-editor .mobile-preview .serp-preview-bg{display:none}.rank-math-editor .mobile-preview .serp-preview-favicon{display:block;height:16px;margin-top:7px;margin-right:7px}.rank-math-editor .mobile-preview .serp-url{font-size:12px;margin-bottom:12px;color:#3c4043}.expanded-preview.desktop-preview .serp-preview-bg{overflow:visible}@media (min-width: 768px){.expanded-preview.desktop-preview .serp-preview-bg{max-height:168px}}.expanded-preview.mobile-preview .serp-preview-bg{display:block;overflow:visible;max-height:99px}.expanded-preview.mobile-preview .serp-title{margin-bottom:10px}.expanded-preview.mobile-preview .serp-description{color:#3c4041}body.rtl .rank-math-button-devices{float:left}body.rtl .rank-math-button-devices .button.button-small:first-child{margin-right:0;margin-left:5px}body.rtl .serp-preview-bg .serp-preview-input .serp-icon-search{right:auto;left:15px}body.rtl .serp-preview-bg .serp-preview-input .serp-icon-mic{right:auto;left:50px;padding-right:8px;padding-left:2px}body.rtl .serp-preview-bg .serp-preview-menus li,body.rtl .serp-preview-bg .serp-preview-menus ul{float:right}body.rtl .serp-preview-bg .serp-preview-menus li.menus-right,body.rtl .serp-preview-bg .serp-preview-menus ul.menus-right{float:left}body.rtl .mobile-preview .serp-preview-bg .serp-preview-input .serp-icon-search{left:0;border-radius:20px 0 0 20px}body.rtl .mobile-preview .serp-preview-favicon{margin-right:0;margin-left:6px}body.rtl .serp-preview .serp-description:focus:before,body.rtl .serp-preview .serp-description:hover:before,body.rtl .serp-preview .serp-title:focus:before,body.rtl .serp-preview .serp-title:hover:before,body.rtl .serp-preview .serp-url:focus:before,body.rtl .serp-preview .serp-url:hover:before{text-align:left}#setting-panel-social .rank-math-tab{padding:30px 0 0}#setting-panel-social .rank-math-social-preview+.notice{margin-top:20px}#setting-panel-social .cmb-row.cmb-row-33{min-height:118px;vertical-align:top}.rank-math-social-preview-button{font-size:13px;display:inline-block;padding:4px 8px;text-decoration:none;text-transform:uppercase;color:#555;border:0;outline:none;background:#ededee;-webkit-box-shadow:none !important;box-shadow:none !important}.rank-math-social-preview-button .dashicons{position:relative;top:-2px}.open .rank-math-social-preview-button{color:#fff;background:#069de3}.rank-math-social-preview-item{display:none;-webkit-box-sizing:border-box;box-sizing:border-box;max-width:500px;margin:0 auto;padding:30px 0}.rank-math-social-preview-item-wrapper{overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;max-width:100%;margin:auto;border:1px solid #dddfe2;border-radius:0 0 3px 3px;background:#fff}.rank-math-social-preview-item .error-msg{line-height:1;display:none;width:528px;max-width:100%;margin:auto;padding-top:10px}.rank-math-social-preview-item .error-msg.show{display:block}.rank-math-social-preview-image{line-height:0;position:relative;z-index:1}.rank-math-social-preview-image img{display:none;max-width:100%;height:auto;min-height:initial}.rank-math-social-preview-image-overlay{-webkit-transform:translate(-50%, -50%) scale(0.45);transform:translate(-50%, -50%) scale(0.45);position:absolute;top:50%;left:50%}.rank-math-social-preview-image .error-msg{line-height:1;display:none}.rank-math-social-preview .rank-math-social-preview-caption{font-size:12px;padding:10px 10px 5px;color:#1d2129;background:#f2f3f5}.rank-math-social-preview .rank-math-social-preview-title{font-size:16px;font-weight:600;line-height:22px;margin:0 0 3px;padding:0;letter-spacing:normal;word-wrap:break-word}.rank-math-social-preview .rank-math-social-preview-title.capitalize{text-transform:capitalize}.rank-math-social-preview-description,.rank-math-social-preview-publisher{line-height:16px;margin:0}.rank-math-social-preview-publisher{font-size:12px;font-weight:normal;padding-top:3px;padding-bottom:3px;text-transform:uppercase;color:#90949c}.rank-math-social-preview-publisher.facebook{text-transform:uppercase}.rank-math-social-preview-meta{position:relative;display:none;display:block;clear:both;margin:0 auto;margin-bottom:15px}.rank-math-social-preview-meta .social-profile-image{position:absolute;left:-58px;float:left;width:46px;height:46px;border-radius:50%;background:#dcc7c7}.rank-math-social-preview-meta .social-name{font-size:14px;font-weight:700;color:#14171a}.rank-math-social-preview-meta .social-username,.rank-math-social-preview-meta .social-time{font-size:12px;font-weight:normal;margin-left:5px;color:#657786}.rank-math-social-preview-meta .social-time:before{margin-right:5px;content:'\00B7'}.rank-math-social-preview-meta .social-text{margin-top:5px}.rank-math-social-preview-facebook .rank-math-social-preview-button strong:before{content:attr(data-facebook)}.rank-math-social-preview-facebook .facebook-thumbnail{display:block}.rank-math-social-preview-facebook .no-facebook-image .facebook-thumbnail{display:none}.rank-math-social-preview-facebook .rank-math-social-preview-meta.twitter-meta{display:none}.rank-math-social-preview-facebook .rank-math-social-preview-title{font-size:1.0625rem}.rank-math-social-preview-facebook .rank-math-social-preview-description{font-size:.9375rem;overflow:hidden;max-height:1.3em;margin-bottom:5px;white-space:nowrap;text-overflow:ellipsis;color:#606770}.rank-math-social-preview-facebook .rank-math-social-preview-meta{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;min-height:66px;margin-bottom:0;padding:12px;border:1px solid #dddfe2;border-bottom:0;border-radius:3px 3px 0 0;background:#fff}.rank-math-social-preview-facebook .rank-math-social-preview-meta .social-profile-image{position:relative;left:auto;width:40px;height:40px;margin-right:10px;margin-left:-2px}.rank-math-social-preview-facebook .rank-math-social-preview-meta .social-name{margin-bottom:3px;color:#365899}.rank-math-social-preview-facebook .rank-math-social-preview-meta .social-time:before{display:none}.rank-math-social-preview-facebook .rank-math-social-preview-meta .social-time span{width:auto}.rank-math-social-preview-facebook .rank-math-social-preview-meta .social-time span:first-child:after{margin:0 5px;content:'\00B7'}.rank-math-social-preview-facebook .rank-math-social-preview-meta .social-time span svg{vertical-align:middle}.rank-math-social-preview-facebook .rank-math-social-preview-meta .dashicons.dashicons-admin-site{font-size:12px;line-height:18px}.rank-math-social-preview-facebook .twitter{display:none}.rank-math-social-preview-twitter.app,.rank-math-social-preview-twitter.player{display:none !important}.rank-math-social-preview-twitter .rank-math-social-preview-item{max-width:582px;padding-left:58px}.rank-math-social-preview-twitter .rank-math-social-preview-meta .social-text,.rank-math-social-preview-twitter .rank-math-social-preview-meta .social-username,.rank-math-social-preview-twitter .rank-math-social-preview-meta .social-time{font-size:14px}.rank-math-social-preview-twitter .rank-math-social-preview-item-wrapper{clear:both;max-width:100%;border:1px solid #ccd6dd;border-radius:14px}.rank-math-social-preview-twitter .rank-math-social-preview-item-wrapper .twitter-thumbnail{display:block;max-width:100%}.rank-math-social-preview-twitter .rank-math-social-preview-item-wrapper .rank-math-social-preview-caption{background:#fff}.rank-math-social-preview-twitter .rank-math-social-preview-item-wrapper:hover{background:#f5f8fa}.rank-math-social-preview-twitter .rank-math-social-preview-item-wrapper:hover .rank-math-social-preview-caption{background:#f5f8fa}.rank-math-social-preview-twitter .rank-math-social-preview-title{font-weight:normal;overflow:hidden;margin-bottom:2px;white-space:nowrap;text-overflow:ellipsis;color:#14171a}.rank-math-social-preview-twitter .rank-math-social-preview-description{font-size:15px;line-height:1.3125;overflow:hidden;max-height:2.5em;text-overflow:ellipsis;color:#657786}.rank-math-social-preview-twitter .rank-math-social-preview-publisher{font-size:15px;padding-top:5px;text-transform:initial;color:#657786}.rank-math-social-preview-twitter .rank-math-social-preview-publisher .dashicon{margin-right:3px;-webkit-text-stroke:1px white}.rank-math-social-preview-twitter .rank-math-social-preview-publisher.facebook{display:none}.rank-math-social-preview-twitter .no-twitter-image .twitter-thumbnail{display:none}.rank-math-social-preview-twitter .rank-math-social-preview-button strong:before{content:attr(data-twitter)}.rank-math-social-preview-twitter.summary_card .rank-math-social-preview-image{float:left}.rank-math-social-preview-twitter.summary_card .rank-math-social-preview-image img{height:125px;width:125px}.rank-math-social-preview-twitter.summary_card .rank-math-social-preview-caption{overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;max-height:125px;padding:5px 0 0 15px}.rank-math-social-preview-twitter.summary_card .rank-math-social-preview-description{max-height:4.5rem}.rank-math-social-preview-twitter .rank-math-social-preview-meta.facebook-meta{display:none}.rank-math-social-preview-twitter .rank-math-social-preview-meta.twitter-meta{display:block}body.rtl .social-tabs-navigation a .dashicons,body.rtl .rank-math-editor-social .components-tab-panel__tabs .dashicon{margin-right:0;margin-left:8px}body.rtl .rank-math-social-preview-facebook .rank-math-social-preview-meta .social-profile-image{float:right;margin-right:0;margin-left:10px}body.rtl .rank-math-social-preview-twitter .rank-math-social-preview-item{padding-right:58px;padding-left:0}body.rtl .rank-math-social-preview-twitter .social-profile-image{right:-58px;left:auto}.rank-math-modal-overlay .rank-math-social-preview-item,.rank-math-modal-overlay .rank-math-social-preview-image img{display:block}.length-indicator-wrapper{position:relative;display:block;position:absolute;top:22px;right:15px;background-color:transparent !important;border:none !important}.length-indicator-wrapper .length-indicator{position:relative;display:inline-block;overflow:hidden;border-radius:2px;background:-webkit-gradient(linear, left top, right top, from(#e33e2b), color-stop(18%, #f06818), color-stop(19%, #fff), color-stop(19%, #fff), color-stop(20%, #f16b17), color-stop(38%, #f1a104), color-stop(39%, #fff), color-stop(39%, #fff), color-stop(40%, #f1a404), color-stop(58%, #d9b507), color-stop(59%, #fff), color-stop(59%, #fff), color-stop(60%, #d4b509), color-stop(78%, #7bb02c), color-stop(79%, #fff), color-stop(79%, #fff), color-stop(80%, #76ae2e), to(#2da24c));background:linear-gradient(to right, #e33e2b 0%, #f06818 18%, #fff 19%, #fff 19%, #f16b17 20%, #f1a104 38%, #fff 39%, #fff 39%, #f1a404 40%, #d9b507 58%, #fff 59%, #fff 59%, #d4b509 60%, #7bb02c 78%, #fff 79%, #fff 79%, #76ae2e 80%, #2da24c 100%);height:8px;width:180px;margin-left:10px}.length-indicator-wrapper .length-indicator span{position:absolute;z-index:11;border-radius:0 2px 2px 0;background:#e0e0e0;height:100%;width:100%}.length-indicator-wrapper.invalid .length-indicator{background:-webkit-gradient(linear, left top, right top, from(#e33d2a), color-stop(18%, #e33d2a), color-stop(19%, #fff), color-stop(19%, #fff), color-stop(20%, #e33d2a), color-stop(38%, #e33d2a), color-stop(39%, #fff), color-stop(39%, #fff), color-stop(40%, #e33d2a), color-stop(58%, #e33d2a), color-stop(59%, #fff), color-stop(59%, #fff), color-stop(60%, #e33d2a), color-stop(78%, #e33d2a), color-stop(79%, #fff), color-stop(79%, #fff), color-stop(80%, #e33d2a), to(#e33d2a));background:linear-gradient(to right, #e33d2a 0%, #e33d2a 18%, #fff 19%, #fff 19%, #e33d2a 20%, #e33d2a 38%, #fff 39%, #fff 39%, #e33d2a 40%, #e33d2a 58%, #fff 59%, #fff 59%, #e33d2a 60%, #e33d2a 78%, #fff 79%, #fff 79%, #e33d2a 80%, #e33d2a 100%)}.length-indicator-wrapper input:focus+.length-indicator,.length-indicator-wrapper textarea:focus+.length-indicator{display:block}.length-indicator-wrapper .length-count{font-size:12px;color:#7f868d}#rank-math-width-tester{position:absolute;top:0;left:0;margin:0;padding:0;font-weight:normal;white-space:nowrap;font-family:arial, sans-serif}#rank-math-width-tester.title{font-size:20px}#rank-math-width-tester.description{font-size:14px}body.rtl .length-indicator-wrapper{right:auto;left:15px}body.rtl .length-indicator-wrapper .length-indicator{margin-left:0;margin-right:10px}.rank-math-editor{overflow:hidden}.rank-math-editor>.components-tab-panel__tabs{padding:0 17px;-webkit-box-pack:left;-ms-flex-pack:left;justify-content:left;background:#f8f9fa;border-bottom:1px solid #b5bfc9}.rank-math-editor>.components-tab-panel__tabs button{width:auto;border:0 !important;padding:3px 15px}.rank-math-editor>.components-tab-panel__tabs button span{display:inline-block}.rank-math-editor>.components-tab-panel__tabs button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link):hover i{background:none;-webkit-box-shadow:none;box-shadow:none}.rank-math-editor>.components-tab-panel__tabs button[id='1-review']{margin-left:auto}.rank-math-editor>.components-tab-panel__tabs button .rm-icon-heart-filled{color:#F44336;-webkit-transition:0.25s all linear;transition:0.25s all linear;margin-right:0 !important}.rank-math-editor>.components-tab-panel__tabs button:not(.is-active):hover .rm-icon-heart-filled{color:#e93f30;text-shadow:0 0 5px #f5aaa3}.rank-math-editor>.components-tab-panel__tab-content{padding:20px;position:relative}.rank-math-editor .field-group{position:relative;margin-top:12px;padding:20px 15px 15px;border-radius:4px;background:#f0f2f4}.rank-math-editor .field-group:last-of-type{margin-bottom:0}.rank-math-editor .field-group label:not(.components-toggle-control__label){font-weight:600;margin-bottom:6px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.rank-math-editor .field-group .components-toggle-control__label{font-weight:600}.rank-math-editor .field-group .components-base-control__field{margin-bottom:0 !important}.rank-math-editor .field-group .components-textarea-control__input{display:block}.rank-math-editor .field-group .components-base-control__help{margin:0;color:#7f868d;padding-top:5px}.rank-math-editor .field-group .notice{margin-bottom:0}.rank-math-editor .field-group .components-toggle-control .components-base-control__field{margin-bottom:0}.rank-math-editor .field-group .components-toggle-control+.components-base-control{margin-top:12px}.rank-math-editor .field-group input[type="text"],.rank-math-editor .field-group input[type="url"],.rank-math-editor .field-group textarea,.rank-math-editor .field-group select{background-color:#fff;margin:0}.rank-math-editor .field-group input[type="text"]:hover,.rank-math-editor .field-group input[type="url"]:hover,.rank-math-editor .field-group textarea:hover,.rank-math-editor .field-group select:hover{border-color:#069de3}.rank-math-editor .field-group input[type="text"]:focus,.rank-math-editor .field-group input[type="url"]:focus,.rank-math-editor .field-group textarea:focus,.rank-math-editor .field-group select:focus{border-color:#069de3;-webkit-box-shadow:0 0 0 1px #069de3;box-shadow:0 0 0 1px #069de3}.rank-math-editor .field-group .rank-math-description-variables .rank-math-variables-dropdown{bottom:100%;top:auto}.rank-math-editor .serp-preview-wrapper{padding:15px 0 10px}.rank-math-editor .serp-title{font-size:20px;line-height:1.3}.rank-math-editor .serp-url{margin:7px 0 7px}.rank-math-editor .serp-description{font-size:14px;line-height:1.57}.rank-math-editor-social .components-tab-panel__tabs{width:266px;height:48px;margin:10px auto 0;border-radius:4px;background:transparent;-webkit-box-shadow:0 0px 6px rgba(50,50,93,0.1),0 0px 3px rgba(0,0,0,0.1);box-shadow:0 0px 6px rgba(50,50,93,0.1),0 0px 3px rgba(0,0,0,0.1)}.rank-math-editor-social .components-tab-panel__tabs button:not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link){font-size:16px;line-height:48px;float:left;display:inline-block;width:50%;height:auto;padding:0;text-align:center;color:#939393;border:0;-webkit-box-shadow:none !important;box-shadow:none !important}.rank-math-editor-social .components-tab-panel__tabs button:not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link):first-child{border-radius:3px 0 0 3px}.rank-math-editor-social .components-tab-panel__tabs button:not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link):last-child{border-radius:0 3px 3px 0}.rank-math-editor-social .components-tab-panel__tabs button:not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link).is-active,.rank-math-editor-social .components-tab-panel__tabs button:not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link):focus{color:#fff;background:#3b5998}.rank-math-editor-social .components-tab-panel__tabs button:not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link).is-active.button-twitter,.rank-math-editor-social .components-tab-panel__tabs button:not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link):focus.button-twitter{background:#55acee}.rank-math-editor-social .components-tab-panel__tabs .dashicon{margin-right:5px;vertical-align:-4px;-webkit-transition:none;transition:none}.rank-math-editor-social .notice{margin:5px 0 20px}.rank-math-editor-social .components-base-control .is-destructive{margin-left:10px;vertical-align:vertical-align}.rank-math-editor-social .components-base-control__label{font-weight:600;margin-bottom:10px;margin-left:2px}.rank-math-editor-social .components-base-control+.components-base-control:last-of-type,.rank-math-editor-social .components-base-control+.components-base-control.components-toggle-control{border-bottom:0;padding-bottom:0;margin-bottom:0}.ask-review{text-align:center}.ask-review h3{font-size:2em;margin:1em 0}.ask-review p{font-size:16px;margin-bottom:20px}.ask-review .stars-wrapper{line-height:60px;width:316px;margin:0 auto;margin-bottom:20px;border:1px solid #e2e4e7;border-radius:6px}.ask-review .stars-wrapper .stars a{position:relative;top:9px;display:inline-block;text-decoration:none;color:#aaa;height:40px;width:40px}.ask-review .stars-wrapper .stars a span{font-size:40px;height:40px;width:40px}.ask-review .stars-wrapper .stars a.highlighted,.ask-review .stars-wrapper .stars a:hover{color:#f9cb12}.ask-review .stars-wrapper .face{float:right;position:relative;border-left:1px solid #e2e4e7;background:#f0f2f4;border-radius:0 6px 6px 0;height:60px;width:70px}.smiley{padding:5px;position:relative;margin:9px auto 0 auto;border-radius:100%;background:linear-gradient(135deg, #ffe919 0%, #fbc000 100%);height:40px;width:40px;-webkit-box-sizing:border-box;box-sizing:border-box}.mouth{-webkit-box-sizing:border-box;box-sizing:border-box;margin-left:-30%;border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:40px;border-bottom-left-radius:40px;background:#b57700;-webkit-transition:all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);transition:all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);height:30%;width:60%;position:absolute;bottom:18%;left:50%}.eyes{-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;margin-top:15%;padding:0 5px;-webkit-transition:all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);transition:all 300ms cubic-bezier(0.645, 0.045, 0.355, 1)}.eyes .eye{position:relative;float:left;border-radius:100%;background:#b57700;height:8px;width:8px}.eyes .eye:nth-of-type(2){float:right}.eyes .eye::after{display:block;content:'';background:#fed800;-webkit-transform:rotate(0deg);transform:rotate(0deg);-webkit-transition:all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);transition:all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);height:0;width:0;position:absolute;top:-15px;left:5px}.eyes .eye:first-of-type::after{right:5px;left:auto;-webkit-transform:rotate(0deg);transform:rotate(0deg)}.smiley.normal .mouth{bottom:25%;margin-left:-20%;border-top-left-radius:40px;border-top-right-radius:40px;border-bottom-right-radius:40px;border-bottom-left-radius:40px;height:10%;width:40%}.smiley.normal .eyes{margin-top:30%}.smiley.normal .eye{height:8px;margin-top:0;-webkit-animation-delay:.3s;animation-delay:.3s;-webkit-animation:blink 0.6s;animation:blink 0.6s}.smiley.angry .mouth,.smiley.angry .eyes{-webkit-animation-delay:.3s;animation-delay:.3s;-webkit-animation:move-angry-head 0.6s;animation:move-angry-head 0.6s}.smiley.angry .mouth{bottom:18%;left:50%;margin-left:-20%;border-bottom:0;border-top-left-radius:100%;border-top-right-radius:100%;border-bottom-right-radius:8px;border-bottom-left-radius:8px;height:20%;width:40%}.smiley.angry .eyes{margin-top:35%}.smiley.angry .eye::after{top:-3px;left:-5px;width:120%;height:50%;-webkit-transform:rotate(-35deg);transform:rotate(-35deg);border-radius:0}.smiley.angry .eye:first-of-type::after{right:-5px;left:auto;-webkit-transform:rotate(35deg);transform:rotate(35deg)}.smiley.happy .mouth{-webkit-animation-delay:.3s;animation-delay:.3s;-webkit-animation:move-mouth-down 0.8s;animation:move-mouth-down 0.8s}.smiley.happy .eyes{-webkit-animation-delay:.3s;animation-delay:.3s;-webkit-animation:move-eyes-down 0.8s;animation:move-eyes-down 0.8s}.smiley.happy .eye:nth-of-type(2){height:8px;margin-top:0;-webkit-animation-delay:.3s;animation-delay:.3s;-webkit-animation:wink 0.8s;animation:wink 0.8s}@-webkit-keyframes blink{0%{height:8px;margin-top:0}25%{height:2px;margin-top:8px}50%{height:8px;margin-top:0}75%{height:2px;margin-top:8px}100%{height:8px;margin-top:0}}@keyframes blink{0%{height:8px;margin-top:0}25%{height:2px;margin-top:8px}50%{height:8px;margin-top:0}75%{height:2px;margin-top:8px}100%{height:8px;margin-top:0}}@-webkit-keyframes move-mouth-down{0%{bottom:18%}35%{bottom:16%}65%{bottom:16%}100%{bottom:18%}}@keyframes move-mouth-down{0%{bottom:18%}35%{bottom:16%}65%{bottom:16%}100%{bottom:18%}}@-webkit-keyframes move-eyes-down{0%{margin-top:15%}35%{margin-top:19%}65%{margin-top:19%}100%{margin-top:15%}}@keyframes move-eyes-down{0%{margin-top:15%}35%{margin-top:19%}65%{margin-top:19%}100%{margin-top:15%}}@-webkit-keyframes wink{0%{height:8px;margin-top:0}30%{height:4px;margin-top:4px}70%{height:4px;margin-top:4px}100%{height:8px;margin-top:0}}@keyframes wink{0%{height:8px;margin-top:0}30%{height:4px;margin-top:4px}70%{height:4px;margin-top:4px}100%{height:8px;margin-top:0}}@-webkit-keyframes move-angry-head{0%{-webkit-transform:translateX(0%);transform:translateX(0%)}20%{-webkit-transform:translateX(-20%);transform:translateX(-20%)}40%{-webkit-transform:translateX(15%);transform:translateX(15%)}60%{-webkit-transform:translateX(-10%);transform:translateX(-10%)}80%{-webkit-transform:translateX(5%);transform:translateX(5%)}100%{-webkit-transform:translateX(0%);transform:translateX(0%)}}@keyframes move-angry-head{0%{-webkit-transform:translateX(0%);transform:translateX(0%)}20%{-webkit-transform:translateX(-20%);transform:translateX(-20%)}40%{-webkit-transform:translateX(15%);transform:translateX(15%)}60%{-webkit-transform:translateX(-10%);transform:translateX(-10%)}80%{-webkit-transform:translateX(5%);transform:translateX(5%)}100%{-webkit-transform:translateX(0%);transform:translateX(0%)}}.rank-math-tabs>.components-tab-panel__tabs .rank-math-extra-menu,.rank-math-post-publish .rank-math-social-share-buttons,#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}.rank-math-post-publish p{margin-top:0}.rank-math-post-publish .rank-math-share-button{font-size:22px;line-height:30px;margin-right:5px;padding:0;-webkit-transition:.2s all linear;transition:.2s all linear;text-align:center;color:#fff;border-radius:30px;background:#d14836;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.rank-math-post-publish .rank-math-share-button:last-of-type{margin-right:0}.rank-math-post-publish .rank-math-share-button:hover{opacity:.9}.rank-math-post-publish .rank-math-share-button a{display:block;text-decoration:none;color:inherit}.rank-math-post-publish .rank-math-share-button a:focus{-webkit-box-shadow:none;box-shadow:none}.rank-math-post-publish .rank-math-share-button .dashicon{vertical-align:-2px}.rank-math-post-publish .rank-math-share-button.rm-facebook{background:#1877f2}.rank-math-post-publish .rank-math-share-button.rm-twitter{background:#1da1f2}#rank-math-compare-keywords-trigger{position:absolute;right:0;top:-31px;height:22px;min-height:22px;width:22px;line-height:22px;padding:0;text-decoration:none;text-align:center;border-radius:3px;-webkit-box-shadow:none;box-shadow:none}#rank-math-compare-keywords-trigger .button-icon{margin:0 auto}#rank-math-compare-keywords-trigger svg{width:16px;height:16px;vertical-align:-2px}.rank-math-sidebar-panel #rank-math-compare-keywords-trigger{top:15px;right:16px}#side-sortables #rank-math-compare-keywords-trigger{top:23px}.rank-math-modal.rank-math-trends-cta-modal{width:930px;max-height:580px}.rank-math-modal.rank-math-trends-cta-modal img{max-width:99.3%}.rank-math-modal.rank-math-trends-cta-modal #rank-math-pro-cta{z-index:initial}body.rtl #rank-math-compare-keywords-trigger{left:16px;right:auto}:root{--rankmath-wp-adminbar-height: 0}:root{--rankmath-et-seetings-bar-height: 90px;--rankmath-rm-modal-header-height: 58px;--rankmath-rm-modal-spacing: 30px;--rankmath-rm-modal-width: 400px}#rank-math-rm-app-root{position:absolute;z-index:1;top:0;left:0;height:0;width:0;overflow:visible}.rank-math-rm-app{position:absolute;top:0;left:0;height:0;width:0;overflow:visible}#rank-math-rm-settings-bar-root{position:absolute}body.rank-math-et-settings-bar-is-inactive #rank-math-rm-settings-bar-root,body.rank-math-et-settings-bar-is-inactive #rank-math-rm-settings-bar-root *{pointer-events:auto}body.rank-math-et-settings-bar-is-inactive #rank-math-rm-settings-bar-root.rank-math-rm-settings-bar-root-top,body.rank-math-et-settings-bar-is-inactive #rank-math-rm-settings-bar-root.rank-math-rm-settings-bar-root-bottom,body.rank-math-et-settings-bar-is-inactive #rank-math-rm-settings-bar-root.rank-math-rm-settings-bar-root-top-left,body.rank-math-et-settings-bar-is-inactive #rank-math-rm-settings-bar-root.rank-math-rm-settings-bar-root-bottom-left{left:calc(50% + 45px)}body.rank-math-et-settings-bar-is-inactive #rank-math-rm-settings-bar-root.rank-math-rm-settings-bar-root-top-right,body.rank-math-et-settings-bar-is-inactive #rank-math-rm-settings-bar-root.rank-math-rm-settings-bar-root-bottom-right{right:calc(50% + 45px)}body.rank-math-et-settings-bar-is-inactive #rank-math-rm-settings-bar-root.rank-math-rm-settings-bar-root-left,body.rank-math-et-settings-bar-is-inactive #rank-math-rm-settings-bar-root.rank-math-rm-settings-bar-root-right{top:calc(50% + 45px)}body.rank-math-et-settings-bar-is-active #rank-math-rm-settings-bar-root.rank-math-rm-settings-bar-root-is-mobile-top-left,body.rank-math-et-settings-bar-is-active #rank-math-rm-settings-bar-root.rank-math-rm-settings-bar-root-is-mobile-top-right{top:calc(100% + 24px)}body.rank-math-et-settings-bar-is-active #rank-math-rm-settings-bar-root.rank-math-rm-settings-bar-root-is-mobile-bottom-left,body.rank-math-et-settings-bar-is-active #rank-math-rm-settings-bar-root.rank-math-rm-settings-bar-root-is-mobile-bottom-right{bottom:calc(100% + 24px)}body.rank-math-et-settings-bar-is-active #rank-math-rm-settings-bar-root.rank-math-rm-settings-bar-root-is-mobile-left,body.rank-math-et-settings-bar-is-active #rank-math-rm-settings-bar-root.rank-math-rm-settings-bar-root-is-mobile-right{top:calc(100% + 24px)}body.rank-math-et-settings-bar-is-active #rank-math-rm-settings-bar-root.rank-math-rm-settings-bar-root-is-desktop-top,body.rank-math-et-settings-bar-is-active #rank-math-rm-settings-bar-root.rank-math-rm-settings-bar-root-is-desktop-bottom,body.rank-math-et-settings-bar-is-active #rank-math-rm-settings-bar-root.rank-math-rm-settings-bar-root-is-desktop-top-left,body.rank-math-et-settings-bar-is-active #rank-math-rm-settings-bar-root.rank-math-rm-settings-bar-root-is-desktop-bottom-left{left:calc(100% + 24px)}body.rank-math-et-settings-bar-is-active #rank-math-rm-settings-bar-root.rank-math-rm-settings-bar-root-is-desktop-top-right,body.rank-math-et-settings-bar-is-active #rank-math-rm-settings-bar-root.rank-math-rm-settings-bar-root-is-desktop-bottom-right{right:calc(100% + 24px)}body.rank-math-et-settings-bar-is-active #rank-math-rm-settings-bar-root.rank-math-rm-settings-bar-root-is-desktop-left,body.rank-math-et-settings-bar-is-active #rank-math-rm-settings-bar-root.rank-math-rm-settings-bar-root-is-desktop-right{top:calc(100% + 24px)}.rank-math-rm-modal-toggle-button{background-image:linear-gradient(45deg, #724BB7 0%, #4098D7 100%) !important}.rank-math-rm-modal-button{display:block;height:auto;max-width:100%;margin:0;text-align:center;text-decoration:none;line-height:1;color:inherit;background-color:transparent;border:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;white-space:nowrap;cursor:pointer}.rank-math-rm-modal-button::-moz-focus-inner{border-style:none;padding:0}body.rank-math-et-settings-bar-is-top .rank-math-rm-modal,body.rank-math-et-settings-bar-is-top-left .rank-math-rm-modal,body.rank-math-et-settings-bar-is-top-right .rank-math-rm-modal{top:calc(
2
  var(--rankmath-wp-adminbar-height)
3
  + var(--rankmath-et-seetings-bar-height))}body.rank-math-et-settings-bar-is-top .rank-math-rm-modal,body.rank-math-et-settings-bar-is-top-right .rank-math-rm-modal,body.rank-math-et-settings-bar-is-right .rank-math-rm-modal,body.rank-math-et-settings-bar-is-bottom-right .rank-math-rm-modal,body.rank-math-et-settings-bar-is-bottom .rank-math-rm-modal{left:var(--rankmath-rm-modal-spacing)}body.rank-math-et-settings-bar-is-top-left .rank-math-rm-modal,body.rank-math-et-settings-bar-is-left .rank-math-rm-modal,body.rank-math-et-settings-bar-is-bottom-left .rank-math-rm-modal{left:calc(
4
  100vw
5
  - var(--rankmath-rm-modal-width)
6
  - var(--rankmath-rm-modal-spacing))}.rank-math-rm-modal{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen-Sans,Ubuntu,Cantarell,'Helvetica Neue',sans-serif;font-weight:normal;position:relative;top:calc( var(--rankmath-rm-modal-spacing) + var(--rankmath-wp-adminbar-height));display:-webkit-box;display:-ms-flexbox;display:flex;overflow:hidden;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:var(--rankmath-rm-modal-width);padding-top:var(--rankmath-rm-modal-header-height);background:#fff;-webkit-box-shadow:0 5px 30px rgba(44,135,218,0.2);box-shadow:0 5px 30px rgba(44,135,218,0.2);-webkit-font-smoothing:subpixel-antialiased}.rank-math-rm-modal-is-hidden{display:none}.rank-math-rm-modal-content{position:relative;z-index:0;overflow:hidden;overflow-y:auto;max-height:calc(
7
  100vh
8
  - var(--rankmath-wp-adminbar-height)
9
  - var(--rankmath-et-seetings-bar-height)
10
  - var(--rankmath-rm-modal-spacing)
11
  - var(--rankmath-rm-modal-header-height))}body.rank-math-et-settings-bar-is-left .rank-math-rm-modal-content,body.rank-math-et-settings-bar-is-right .rank-math-rm-modal-content{max-height:calc(
12
  100vh
13
  - var(--rankmath-wp-adminbar-height)
14
  - (var(--rankmath-rm-modal-spacing) * 2)
15
  - var(--rankmath-rm-modal-header-height))}.rank-math-rm-modal-content h1,.rank-math-rm-modal-content h2,.rank-math-rm-modal-content h3,.rank-math-rm-modal-content h4,.rank-math-rm-modal-content h5,.rank-math-rm-modal-content h6{padding-bottom:0}.rank-math-rm-modal-header{position:absolute;z-index:1;top:0;left:0;display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;height:var(--rankmath-rm-modal-header-height);padding-right:21px;padding-left:26px;color:#fff;background-color:#6c2eb9;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.rank-math-rm-modal-header-title{font-family:'Open Sans', Helvetica, Roboto, Arial, sans-serif;font-size:18px;font-weight:600;font-style:normal;line-height:16px;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;text-decoration:none;letter-spacing:0;text-transform:none;color:#fff}.rank-math-rm-modal-header-options{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.rank-math-rm-modal-header-option{display:block}.rank-math-rm-modal-header-discard-button{width:100%;height:100%;padding:4px}.rank-math-rm-modal-header-discard-button svg{position:relative;top:2px;width:26px;height:26px;fill:#fff}#rank-math-primary-term-input .rank-math-primary-term-select{margin-bottom:20px}#rank-math-primary-term-input .rank-math-primary-term-select .components-input-control__label{display:inline-block;font-family:"Open Sans", Helvetica, Roboto, Arial, sans-serif;color:#32373c;font-weight:600;line-height:20px;margin:0;padding:0;border:0;font-size:14px;white-space:normal;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#rank-math-primary-term-input .rank-math-primary-term-select .components-select-control__input{background-color:#f1f5f9;border-radius:3px;font-family:"Open Sans", Helvetica, Roboto, Arial, sans-serif;padding-left:10px;outline:0;color:#4c5866;font-size:13px;font-weight:600;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#rank-math-primary-term-input .rank-math-primary-term-select .components-input-control__suffix svg path{fill:#4c5866}#rank-math-primary-term-input .rank-math-primary-term-select .components-input-control__backdrop{border:0;-webkit-box-shadow:none;box-shadow:none}body.rtl #rank-math-rm-app-root{left:auto;right:0}body.rtl #rank-math-rm-app-root .rank-math-rm-modal{left:auto;right:var(--rankmath-rm-modal-spacing)}body.rtl #rank-math-rm-app-root .rank-math-rm-modal .serp-preview-title .seo-score{float:left}body.rtl #rank-math-rm-app-root .rank-math-rm-modal #rank-math-compare-keywords-trigger{left:16px;right:auto}.components-tab-panel__tab-content .rank-math-tab-content-general .serp-preview-title .seo-score{display:block}.components-tab-panel__tab-content .rank-math-tab-content-general .serp-preview-title::before{font-weight:500;letter-spacing:0}.components-tab-panel__tab-content .rank-math-tab-content-general .serp-result{position:absolute;top:-1px;left:0}.rank-math-rm-modal .rank-math-tabs .components-tab-panel__tabs{background:#7e3bd0;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.rank-math-rm-modal .rank-math-tabs .components-tab-panel__tabs button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link){font-size:100%;line-height:1;display:block;width:auto;padding:13px 20px;-webkit-transition:background .5s ease-in-out;transition:background .5s ease-in-out;vertical-align:baseline;text-decoration:none;color:#fff;background:transparent}.rank-math-rm-modal .rank-math-tabs .components-tab-panel__tabs button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link) i{background:transparent;-webkit-box-shadow:none;box-shadow:none}.rank-math-rm-modal .rank-math-tabs .components-tab-panel__tabs button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link):hover{background:#7435c1}.rank-math-rm-modal .rank-math-tabs .components-tab-panel__tabs button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link):hover i{background:transparent;-webkit-box-shadow:none;box-shadow:none}.rank-math-rm-modal .rank-math-tabs .components-tab-panel__tabs button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link):not([id]){margin-left:auto}.rank-math-rm-modal .rank-math-tabs .components-tab-panel__tabs button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link):not(.is-active){padding:13px 19px 13px 26px}.rank-math-rm-modal .rank-math-tabs .components-tab-panel__tabs button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link).is-active{margin-bottom:0}.rank-math-rm-modal .rank-math-tabs .components-tab-panel__tabs button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link).is-active,.rank-math-rm-modal .rank-math-tabs .components-tab-panel__tabs button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link).is-active:hover{background:#8f42eb}.rank-math-rm-modal .rank-math-tabs .components-tab-panel__tabs button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link)::before,.rank-math-rm-modal .rank-math-tabs .components-tab-panel__tabs button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link)::after{display:none}.rank-math-modal .components-modal__header-heading{padding-bottom:0}.rank-math-modal .rank-math-tabs>.components-tab-panel__tabs button:not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link).is-active::after{background:#2c87da !important}.rank-math-tabs>.components-tab-panel__tab-content>div>div:first-child{margin-top:10px;border-top:0;border-bottom:0}.rank-math-tabs>.components-tab-panel__tab-content select,.rank-math-tabs>.components-tab-panel__tab-content input[type=text]{min-height:30px}.rank-math-tabs>.components-tab-panel__tab-content textarea{font-family:inherit;line-height:1.42857143}.rank-math-tabs .cmb2-metabox-description{font-weight:400}.rank-math-tabs .rank-math-datepicker>button{color:inherit}.rank-math-tooltip label{cursor:pointer}.rank-math-tooltip label:before{height:21px;vertical-align:middle}.rank-math-tooltip label:hover{color:#d30c5c}.rank-math-tooltip input:checked+label{color:#d30c5c}.rank-math-modal .rank-math-tabs>.components-tab-panel__tabs button:not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link){font-size:13px;height:44px;text-transform:none}.rank-math-modal .rank-math-tabs>.components-tab-panel__tabs button:not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link):hover i,.rank-math-modal .rank-math-tabs>.components-tab-panel__tabs button:not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link):not(.is-active):hover i{background:transparent;-webkit-box-shadow:none;box-shadow:none}.rank-math-modal .rank-math-tabs>.components-tab-panel__tabs button:not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link).is-active{-webkit-box-shadow:none;box-shadow:none}.rank-math-modal .rank-math-tabs>.components-tab-panel__tabs button:not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link).is-active:after{display:block;background:#d30c5c}.rank-math-modal .rank-math-button-devices .components-button.active,.rank-math-modal .rank-math-button-devices .components-button:hover{background:#f6e7ee !important}.rank-math-modal.rank-math-modal-trends-tool{width:930px;max-height:580px}.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:-webkit-box;display:-ms-flexbox;display:flex;margin-top:0;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}#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}
assets/admin/css/setup-wizard.css CHANGED
@@ -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}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(-360deg)}}@keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(-360deg)}}@keyframes bounce{from{-webkit-transform:translateY(0px);transform:translateY(0px)}to{-webkit-transform:translateY(-5px);transform:translateY(-5px)}}@-webkit-keyframes bounce{from{-webkit-transform:translateY(0px);transform:translateY(0px)}to{-webkit-transform:translateY(-5px);transform:translateY(-5px)}}.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{font-size:16px;line-height:18px;width:18px;height:18px;padding:0;vertical-align:-2px;opacity:.5}.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{width:auto;color:#242628}.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{width:770px;max-width:100%;margin:0 auto;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%;padding:0;border:none}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li{position:relative;float:none;width:100%}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li input{position:absolute;top:20px;left:20px;display:inline-block;margin-top:3px;margin-right:16px}.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{font-size:17px;font-weight:600;line-height:1;display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;height:auto;margin:0 0 16px 0;padding:20px 20px 20px 50px;-webkit-transition:.25s all linear;transition:.25s all linear;white-space:normal;color:#242628;border:1px solid #dadfe4;border-radius:6px;background:#f8f9fa}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li label p{font-size:14px;font-weight:normal;font-style:normal;line-height:1.5;display:block;clear:both;margin:0;padding: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:.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{font-size:11px;font-weight:normal;margin-left:10px;margin-left:5px;padding:5px 10px;content:'Pro';vertical-align:2px;text-transform:uppercase;opacity:1;color:#fff;border-radius:3px;background:#00af80;background:linear-gradient(335deg, #00af80, #1cb076, #2db06c, #3cb061, #49b156, #56b04a, #63b03d, #6faf2e)}.rank-math-wizard-body--requirements.rank-math-mode-basic .wizard-navigation a{cursor:default;pointer-events:none}.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;border-radius:3px;background:#f0f2f4}.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 .rm-icon{font-size:18px;margin-right:10px;vertical-align:-3px}.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 .search-form:not(.media-toolbar-primary) label{font-size:14px;display:block;opacity:.8}.rank-math-wizard-body--yoursite .search-form:not(.media-toolbar-primary) input{font-size:1.3em;margin-right:15px;padding:0 2% 0 15px;border-color:#b5bfc9;height:40px;width:77%}.rank-math-wizard-body--yoursite .search-form:not(.media-toolbar-primary) input:hover,.rank-math-wizard-body--yoursite .search-form:not(.media-toolbar-primary) input:focus{border-color:#069de3;-webkit-box-shadow:0 0 0 1px #069de3;box-shadow:0 0 0 1px #069de3}.rank-math-wizard-body--yoursite .search-form:not(.media-toolbar-primary) a.button{width:20%;text-align:center;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 .cmb-row .cmb-td{width:100%}.rank-math-accordion .cmb2-toggle{margin-right:5px}.rank-math-accordion header{line-height:1;padding:1rem;cursor:pointer;border-bottom:1px solid #dadfe4;border-radius:6px 6px 0 0;background:#f8f9fa;-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.rank-math-analytics-content .cmb-type-select .cmb-row-col{margin-top:.5rem;margin-bottom:.5rem}.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:.25s linear all;transition:.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-analytics .select2-container{width:100% !important}.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 .wizard-next-steps .learn-more .dashicons.pro{font-size:19px;padding:2px;color:#f7d070;border-radius:3px;background:#253142}.rank-math-wizard-body--ready .wizard-next-steps .learn-more .pro-label{border-bottom:1px dotted}.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{margin-top:60px;text-align:center}.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{font-size:17px;font-weight:500;display:inline-block;margin:0;color:#434343}.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:-webkit-box;display:-ms-flexbox;display:flex;margin-top:0;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}#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}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(-360deg)}}@keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(-360deg)}}@keyframes bounce{from{-webkit-transform:translateY(0px);transform:translateY(0px)}to{-webkit-transform:translateY(-5px);transform:translateY(-5px)}}@-webkit-keyframes bounce{from{-webkit-transform:translateY(0px);transform:translateY(0px)}to{-webkit-transform:translateY(-5px);transform:translateY(-5px)}}.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{font-size:16px;line-height:18px;width:18px;height:18px;padding:0;vertical-align:-2px;opacity:.5}.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{width:auto;color:#242628}.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{width:770px;max-width:100%;margin:0 auto;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%;padding:0;border:none}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li{position:relative;float:none;width:100%}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li input{position:absolute;top:20px;left:20px;display:inline-block;margin-top:3px;margin-right:16px}.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{font-size:17px;font-weight:600;line-height:1;display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;height:auto;margin:0 0 16px 0;padding:20px 20px 20px 50px;-webkit-transition:.25s all linear;transition:.25s all linear;white-space:normal;color:#242628;border:1px solid #dadfe4;border-radius:6px;background:#f8f9fa}.rank-math-wizard-body--requirements .rank-math-ui .rank-math-setup-mode .cmb-td ul li label p{font-size:14px;font-weight:normal;font-style:normal;line-height:1.5;display:block;clear:both;margin:0;padding: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:.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{font-size:11px;font-weight:normal;margin-left:10px;margin-left:5px;padding:5px 10px;content:'Pro';vertical-align:2px;text-transform:uppercase;opacity:1;color:#fff;border-radius:3px;background:#00af80;background:linear-gradient(335deg, #00af80, #1cb076, #2db06c, #3cb061, #49b156, #56b04a, #63b03d, #6faf2e)}.rank-math-wizard-body--requirements.rank-math-mode-basic .wizard-navigation a{cursor:default;pointer-events:none}.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 .cmb-field-list .cmb-row.recalculate-scores input.cmb2-option{width:16px}.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;border-radius:3px;background:#f0f2f4}.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 .rm-icon{font-size:18px;margin-right:10px;vertical-align:-3px}.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 .search-form:not(.media-toolbar-primary) label{font-size:14px;display:block;opacity:.8}.rank-math-wizard-body--yoursite .search-form:not(.media-toolbar-primary) input{font-size:1.3em;margin-right:15px;padding:0 2% 0 15px;border-color:#b5bfc9;height:40px;width:77%}.rank-math-wizard-body--yoursite .search-form:not(.media-toolbar-primary) input:hover,.rank-math-wizard-body--yoursite .search-form:not(.media-toolbar-primary) input:focus{border-color:#069de3;-webkit-box-shadow:0 0 0 1px #069de3;box-shadow:0 0 0 1px #069de3}.rank-math-wizard-body--yoursite .search-form:not(.media-toolbar-primary) a.button{width:20%;text-align:center;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 .cmb-row .cmb-td{width:100%}.rank-math-accordion .cmb2-toggle{margin-right:5px}.rank-math-accordion header{line-height:1;padding:1rem;cursor:pointer;border-bottom:1px solid #dadfe4;border-radius:6px 6px 0 0;background:#f8f9fa;-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.rank-math-analytics-content .cmb-type-select .cmb-row-col{margin-top:.5rem;margin-bottom:.5rem}.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:.25s linear all;transition:.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-analytics .select2-container{width:100% !important}.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 .wizard-next-steps .learn-more .dashicons.pro{font-size:19px;padding:2px;color:#f7d070;border-radius:3px;background:#253142}.rank-math-wizard-body--ready .wizard-next-steps .learn-more .pro-label{border-bottom:1px dotted}.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{margin-top:60px;text-align:center}.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{font-size:17px;font-weight:500;display:inline-block;margin:0;color:#434343}.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:-webkit-box;display:-ms-flexbox;display:flex;margin-top:0;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}#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}
assets/admin/js/blocks.js CHANGED
@@ -1 +1 @@
1
- !function(){var e={184:function(e,t){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 o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var i=a.apply(null,n);i&&e.push(i)}}else if("object"===o)if(n.toString===Object.prototype.toString)for(var l in n)r.call(n,l)&&n[l]&&e.push(l);else e.push(n.toString())}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(n=function(){return a}.apply(t,[]))||(e.exports=n)}()}},t={};function n(r){var a=t[r];if(void 0!==a)return a.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";var e=lodash,t=wp.blocks,r=wp.element.createElement("svg",{viewBox:"0 0 462.03 462.03",xmlns:"http://www.w3.org/2000/svg",width:"20"},wp.element.createElement("g",null,wp.element.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"}),wp.element.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"}))),a=wp.i18n,o={attributes:{questions:[{visible:!0,titleWrapper:"div",title:"Question",content:"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."}]}},i=wp.element,l=wp.components,s=wp.blockEditor,c=wp.data;function u(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 p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){m(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(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}var f=(0,c.withSelect)((function(e,t){var n=(0,e("core/block-editor").getSettings)().imageSizes;return p(p({},t),{},{imageSizes:n})}))((function(t){var n=t.imageSizes,r=t.attributes,o=t.setAttributes,i=function(t){return(0,e.map)(t,(function(e){var t=e.name;return{value:e.slug,label:t}}))}(n);return wp.element.createElement(s.InspectorControls,{key:"inspector"},wp.element.createElement(l.PanelBody,{title:(0,a.__)("FAQ Options","rank-math")},wp.element.createElement(l.SelectControl,{label:(0,a.__)("List Style","rank-math"),value:r.listStyle,options:[{value:"",label:(0,a.__)("None","rank-math")},{value:"numbered",label:(0,a.__)("Numbered","rank-math")},{value:"unordered",label:(0,a.__)("Unordered","rank-math")}],onChange:function(e){o({listStyle:e})}}),wp.element.createElement(l.SelectControl,{label:(0,a.__)("Title Wrapper","rank-math"),value:r.titleWrapper,options:[{value:"h2",label:(0,a.__)("H2","rank-math")},{value:"h3",label:(0,a.__)("H3","rank-math")},{value:"h4",label:(0,a.__)("H4","rank-math")},{value:"h5",label:(0,a.__)("H5","rank-math")},{value:"h6",label:(0,a.__)("H6","rank-math")},{value:"p",label:(0,a.__)("P","rank-math")},{value:"div",label:(0,a.__)("DIV","rank-math")}],onChange:function(e){o({titleWrapper:e})}}),wp.element.createElement(l.SelectControl,{label:(0,a.__)("Image Size","rank-math"),value:r.sizeSlug,options:i,onChange:function(e){o({sizeSlug:e})}})),wp.element.createElement(l.PanelBody,{title:(0,a.__)("Styling Options","rank-math")},wp.element.createElement(l.TextControl,{label:(0,a.__)("Title Wrapper CSS Class(es)","rank-math"),value:r.titleCssClasses,onChange:function(e){o({titleCssClasses:e})}}),wp.element.createElement(l.TextControl,{label:(0,a.__)("Content Wrapper CSS Class(es)","rank-math"),value:r.contentCssClasses,onChange:function(e){o({contentCssClasses:e})}}),wp.element.createElement(l.TextControl,{label:(0,a.__)("List CSS Class(es)","rank-math"),value:r.listCssClasses,onChange:function(e){o({listCssClasses:e})}})))})),h=n(184),b=n.n(h);function y(t,n){var r=(0,c.select)("core").getMedia,a=t?r(t):null;return null===a?null:n?function(t,n){return(0,e.get)(t,["media_details","sizes",n,"source_url"])||(0,e.get)(t,["media_details","sizes","full","source_url"])}(a,n):a}var d=(0,c.withSelect)((function(e,t){var n=t.imageID,r=t.sizeSlug;return{imageUrl:n?y(n,r):null}}))((function(e){var t=e.imageUrl;return t?wp.element.createElement("img",{src:t,alt:""}):null})),v=function(e){var t=e.imageID,n=e.sizeSlug,r=e.open,o=e.removeImage,i=e.addButtonLabel,s=void 0===i?(0,a.__)("Add Image","rank-math"):i;return wp.element.createElement("div",{className:"rank-math-media-placeholder"},t>0&&wp.element.createElement(d,{imageID:t,sizeSlug:n}),t>0?wp.element.createElement(l.Button,{icon:"edit",className:"rank-math-replace-image",onClick:r}):wp.element.createElement(l.Button,{onClick:r,className:"rank-math-add-image",isPrimary:!0},s),t>0&&wp.element.createElement(l.Button,{icon:"no-alt",className:"rank-math-delete-image",onClick:o}))},g=wp.hooks;function k(e){return k="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},k(e)}function _(e){return function(e){if(Array.isArray(e))return w(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return w(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function S(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function E(e,t){return E=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},E(e,t)}function O(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=A(e);if(t){var a=A(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return j(this,n)}}function j(e,t){if(t&&("object"===k(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return P(e)}function P(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A(e){return A=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},A(e)}function N(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=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&E(e,t)}(i,e);var t,n,r,o=O(i);function i(){var e;S(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return N(P(e=o.call.apply(o,[this].concat(n))),"toggleVisibility",(function(){var t=e.props,n=t.setAttributes,r=t.index,a=_(e.props.questions);a[r].visible=!e.props.visible,n({questions:a})})),N(P(e),"deleteQuestion",(function(){var t=e.props,n=t.setAttributes,r=t.index,a=_(e.props.questions);a.splice(r,1),n({questions:a})})),e}return t=i,(n=[{key:"render",value:function(){var e=this,t=this.props,n=t.title,r=t.content,o=t.visible,i=t.imageID,c=t.sizeSlug,u=t.titleWrapper,p=t.titleCssClasses,m=t.contentCssClasses,f=b()("rank-math-question-wrapper",{"question-not-visible":!o});return wp.element.createElement("div",{className:f},wp.element.createElement("div",{className:"rank-math-item-header"},wp.element.createElement(s.RichText,{tagName:u,className:"rank-math-faq-question rank-math-block-title"+p,value:n,onChange:function(t){e.setQuestionProp("title",t)},placeholder:(0,a.__)("Question…","rank-math")}),wp.element.createElement("div",{className:"rank-math-block-actions"},(0,g.applyFilters)("rank_math_block_faq_actions","",this.props),wp.element.createElement(l.Button,{className:"rank-math-item-visbility",icon:o?"visibility":"hidden",onClick:this.toggleVisibility,title:(0,a.__)("Hide Question","rank-math")}),wp.element.createElement(l.Button,{icon:"trash",className:"rank-math-item-delete",onClick:this.deleteQuestion,title:(0,a.__)("Delete Question","rank-math")}))),wp.element.createElement("div",{className:"rank-math-item-content"},wp.element.createElement(s.RichText,{tagName:"div",className:"rank-math-faq-answer "+m,value:r,onChange:function(t){e.setQuestionProp("content",t)},placeholder:(0,a.__)("Enter the answer to the question","rank-math")}),wp.element.createElement(s.MediaUpload,{allowedTypes:["image"],multiple:!1,value:i,render:function(t){var n=t.open;return wp.element.createElement(v,{imageID:i,sizeSlug:c,open:n,removeImage:function(){e.setQuestionProp("imageID",0)}})},onSelect:function(t){e.setQuestionProp("imageID",t.id)}})))}},{key:"setQuestionProp",value:function(e,t){var n=this.props,r=n.setAttributes,a=n.index,o=_(this.props.questions);o[a][e]=t,r({questions:o})}}])&&C(t.prototype,n),r&&C(t,r),Object.defineProperty(t,"prototype",{writable:!1}),i}(i.Component),T=x,D=function(e){return"".concat(e,"-").concat((new Date).getTime())};function I(e){return I="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},I(e)}function R(){return R=Object.assign?Object.assign.bind():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},R.apply(this,arguments)}function q(e){return function(e){if(Array.isArray(e))return z(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return z(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return z(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function z(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function B(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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)}}function W(e,t){return W=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},W(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=F(e);if(t){var a=F(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return H(this,n)}}function H(e,t){if(t&&("object"===I(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return U(e)}function U(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F(e){return F=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},F(e)}function L(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var V=function(t){!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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&W(e,t)}(u,t);var n,r,o,c=Q(u);function u(){var e;B(this,u);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return L(U(e=c.call.apply(c,[this].concat(n))),"addNew",(function(){var t=q(e.props.attributes.questions);t.push({id:D("faq-question"),title:"",content:"",visible:!0}),e.props.setAttributes({questions:t})})),e}return n=u,(r=[{key:"render",value:function(){var e=this,t=this.props,n=t.className,r=t.isSelected,o=this.props.attributes.textAlign;return wp.element.createElement("div",{id:"rank-math-faq",className:"rank-math-block "+n},r&&wp.element.createElement(f,this.props),r&&wp.element.createElement(i.Fragment,null,wp.element.createElement(s.BlockControls,null,wp.element.createElement(s.AlignmentToolbar,{value:o,onChange:function(t){return e.props.setAttributes({textAlign:t})}}))),wp.element.createElement("ul",{style:{textAlign:o}},this.renderQuestions()),wp.element.createElement(l.Button,{isPrimary:!0,onClick:this.addNew},(0,a.__)("Add New FAQ","rank-math")),wp.element.createElement("a",{href:"https://rankmath.com/kb/faq-schema-block/",rel:"noopener noreferrer",target:"_blank",title:(0,a.__)("More Info","rank-math"),className:"rank-math-block-info"},wp.element.createElement(l.Dashicon,{icon:"info"})))}},{key:"renderQuestions",value:function(){var t=this,n=this.props.attributes,r=n.sizeSlug,a=n.titleWrapper,o=n.titleCssClasses,i=n.contentCssClasses,l=this.props.attributes.questions;return(0,e.isEmpty)(l)&&(l=[{id:D("faq-question"),title:"",content:"",visible:!0}]),l.map((function(e,n){return wp.element.createElement("li",{key:e.id},wp.element.createElement(T,R({},e,{index:n,key:e.id+"-question",questions:l,setAttributes:t.props.setAttributes,sizeSlug:r,titleWrapper:a,titleCssClasses:o,contentCssClasses:i})))}))}}])&&M(n.prototype,r),o&&M(n,o),Object.defineProperty(n,"prototype",{writable:!1}),u}(i.Component),$=V,Y={from:[{type:"block",blocks:["yoast/faq-block"],transform:function(e){var n={titleWrapper:"h3",questions:e.questions.map((function(e){return{title:e.jsonQuestion,content:e.jsonAnswer,visible:!0}})),className:e.className};return(0,t.createBlock)("rank-math/faq-block",n)}}]},G=function(t){var n=t.attributes,r=n.questions,a=n.titleWrapper;return(0,e.isEmpty)(r)?null:wp.element.createElement("div",null,r.map((function(t,n){return(0,e.isEmpty)(t.title)||(0,e.isEmpty)(t.content)||!1===t.visible?null:wp.element.createElement("div",{className:"rank-math-faq-item",key:n},wp.element.createElement(s.RichText.Content,{tagName:a,value:t.title,className:"rank-math-question"}),wp.element.createElement(s.RichText.Content,{tagName:"div",value:t.content,className:"rank-math-answer"}))})))},J={attributes:{steps:[{visible:!0,titleWrapper:"div",title:"Step # 1",content:"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."}]}};function K(e){return K="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},K(e)}function X(e){return function(e){if(Array.isArray(e))return Z(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Z(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Z(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Z(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function te(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 ne(e,t){return ne=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ne(e,t)}function re(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=ie(e);if(t){var a=ie(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return ae(this,n)}}function ae(e,t){if(t&&("object"===K(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return oe(e)}function oe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ie(e){return ie=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ie(e)}function le(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var se=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ne(e,t)}(i,e);var t,n,r,o=re(i);function i(){var e;ee(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return le(oe(e=o.call.apply(o,[this].concat(n))),"toggleVisibility",(function(){var t=e.props,n=t.setAttributes,r=t.index,a=X(e.props.steps);a[r].visible=!e.props.visible,n({steps:a})})),le(oe(e),"deleteStep",(function(){var t=e.props,n=t.setAttributes,r=t.index,a=X(e.props.steps);a.splice(r,1),n({steps:a})})),e}return t=i,(n=[{key:"render",value:function(){var e=this,t=this.props,n=t.title,r=t.content,o=t.visible,i=t.imageID,c=t.sizeSlug,u=t.titleWrapper,p=t.titleCssClasses,m=t.contentCssClasses,f=b()("rank-math-step-wrapper",{"step-not-visible":!o});return wp.element.createElement("div",{className:f},wp.element.createElement("div",{className:"rank-math-item-header"},wp.element.createElement(s.RichText,{tagName:u,className:"rank-math-howto-step-title rank-math-block-title"+p,value:n,onChange:function(t){e.setStepProp("title",t)},placeholder:(0,a.__)("Enter a step title","rank-math")}),wp.element.createElement("div",{className:"rank-math-block-actions"},wp.element.createElement(l.Button,{className:"rank-math-item-visbility",icon:o?"visibility":"hidden",onClick:this.toggleVisibility,title:(0,a.__)("Hide Step","rank-math")}),wp.element.createElement(l.Button,{icon:"trash",className:"rank-math-item-delete",onClick:this.deleteStep,title:(0,a.__)("Delete Step","rank-math")}))),wp.element.createElement(s.MediaUpload,{allowedTypes:["image"],multiple:!1,value:i,render:function(t){var n=t.open;return wp.element.createElement(v,{imageID:i,sizeSlug:c,open:n,addButtonLabel:(0,a.__)("Add Step Image","rank-math"),removeImage:function(){e.setStepProp("imageID",0)}})},onSelect:function(t){e.setStepProp("imageID",t.id)}}),wp.element.createElement(s.RichText,{tagName:"div",className:"rank-math-howto-step-content"+m,value:r,onChange:function(t){e.setStepProp("content",t)},placeholder:(0,a.__)("Enter a step description","rank-math")}))}},{key:"setStepProp",value:function(e,t){var n=this.props,r=n.setAttributes,a=n.index,o=X(this.props.steps);o[a][e]=t,r({steps:o})}}])&&te(t.prototype,n),r&&te(t,r),Object.defineProperty(t,"prototype",{writable:!1}),i}(i.Component),ce=se;function ue(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 pe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ue(Object(n),!0).forEach((function(t){me(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ue(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 fe=(0,c.withSelect)((function(e,t){var n=(0,e("core/block-editor").getSettings)().imageSizes;return pe(pe({},t),{},{imageSizes:n})}))((function(t){var n=t.imageSizes,r=t.attributes,o=t.setAttributes,i=function(t){return(0,e.map)(t,(function(e){var t=e.name;return{value:e.slug,label:t}}))}(n);return wp.element.createElement(s.InspectorControls,{key:"inspector"},wp.element.createElement(l.PanelBody,{title:(0,a.__)("HowTo Options","rank-math")},wp.element.createElement(l.SelectControl,{label:(0,a.__)("List Style","rank-math"),value:r.listStyle,options:[{value:"",label:(0,a.__)("None","rank-math")},{value:"numbered",label:(0,a.__)("Numbered","rank-math")},{value:"unordered",label:(0,a.__)("Unordered","rank-math")}],onChange:function(e){o({listStyle:e})}}),wp.element.createElement(l.SelectControl,{label:(0,a.__)("Title Wrapper","rank-math"),value:r.titleWrapper,options:[{value:"h2",label:(0,a.__)("H2","rank-math")},{value:"h3",label:(0,a.__)("H3","rank-math")},{value:"h4",label:(0,a.__)("H4","rank-math")},{value:"h5",label:(0,a.__)("H5","rank-math")},{value:"h6",label:(0,a.__)("H6","rank-math")},{value:"p",label:(0,a.__)("P","rank-math")},{value:"div",label:(0,a.__)("DIV","rank-math")}],onChange:function(e){o({titleWrapper:e})}}),wp.element.createElement(l.SelectControl,{label:(0,a.__)("Main Image Size","rank-math"),value:r.mainSizeSlug,options:i,onChange:function(e){o({mainSizeSlug:e})}}),wp.element.createElement(l.SelectControl,{label:(0,a.__)("Image Size","rank-math"),value:r.sizeSlug,options:i,onChange:function(e){o({sizeSlug:e})}})),wp.element.createElement(l.PanelBody,{title:(0,a.__)("Styling Options","rank-math")},wp.element.createElement(l.TextControl,{label:(0,a.__)("Step Title Wrapper CSS Class(es)","rank-math"),value:r.titleCssClasses,onChange:function(e){o({titleCssClasses:e})}}),wp.element.createElement(l.TextControl,{label:(0,a.__)("Step Content Wrapper CSS Class(es)","rank-math"),value:r.contentCssClasses,onChange:function(e){o({contentCssClasses:e})}}),wp.element.createElement(l.TextControl,{label:(0,a.__)("Step List CSS Class(es)","rank-math"),value:r.listCssClasses,onChange:function(e){o({listCssClasses:e})}})))}));function he(e){return he="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},he(e)}function be(){return be=Object.assign?Object.assign.bind():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},be.apply(this,arguments)}function ye(e){return function(e){if(Array.isArray(e))return de(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return de(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return de(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function de(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ke(e,t)}function _e(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=Ce(e);if(t){var a=Ce(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return we(this,n)}}function we(e,t){if(t&&("object"===he(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Se(e)}function Se(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ce(e){return Ce=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ce(e)}function Ee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Oe,je=function(t){!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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ke(e,t)}(u,t);var n,r,o,c=_e(u);function u(){var t;ve(this,u),Ee(Se(t=c.apply(this,arguments)),"addNew",(function(){var n=t.props.attributes.steps,r=(0,e.isEmpty)(n)?[]:ye(n);r.push({id:D("howto-step"),title:"",content:"",visible:!0}),t.props.setAttributes({steps:r})})),Ee(Se(t),"toggleDuration",(function(){t.props.setAttributes({hasDuration:!t.props.attributes.hasDuration})})),Ee(Se(t),"onSelectImage",(function(e){(0,t.props.setAttributes)({imageID:e.id})})),Ee(Se(t),"removeImage",(function(){(0,t.props.setAttributes)({imageID:0})}));var n=t.props.attributes.steps;return(0,e.isEmpty)(n)&&t.addNew(),t}return n=u,(r=[{key:"render",value:function(){var e=this,t=this.props,n=t.className,r=t.isSelected,o=t.attributes,c=t.setAttributes,u=o.imageID,p=o.mainSizeSlug,m=o.textAlign;return wp.element.createElement("div",{id:"rank-math-howto",className:"rank-math-block "+n},r&&wp.element.createElement(fe,this.props),r&&wp.element.createElement(i.Fragment,null,wp.element.createElement(s.BlockControls,null,wp.element.createElement(s.AlignmentToolbar,{value:m,onChange:function(t){return e.props.setAttributes({textAlign:t})}}))),wp.element.createElement(s.MediaUpload,{allowedTypes:["image"],multiple:!1,value:u,render:function(t){var n=t.open;return wp.element.createElement("div",{className:"rank-math-howto-final-image"},wp.element.createElement(v,{imageID:u,sizeSlug:p,open:n,addButtonLabel:(0,a.__)("Add Final Image","rank-math"),removeImage:e.removeImage}))},onSelect:this.onSelectImage}),wp.element.createElement(s.RichText,{style:{textAlign:m},tagName:"div",className:"rank-math-howto-description",value:o.description,onChange:function(e){c({description:e})},placeholder:(0,a.__)("Enter a main description","rank-math")}),wp.element.createElement("div",{className:"rank-math-howto-duration"},wp.element.createElement("div",{className:"components-base-control rank-math-howto-duration-label"},wp.element.createElement("span",null,(0,a.__)("Duration","rank-math")),wp.element.createElement(l.ToggleControl,{checked:o.hasDuration,onChange:this.toggleDuration})),wp.element.createElement("div",{className:"rank-math-howto-duration-fields"+(o.hasDuration?"":" hidden")},wp.element.createElement(l.TextControl,{value:o.timeLabel,placeholder:(0,a.__)("Total time:","rank-math"),onChange:function(e){c({timeLabel:e})}}),wp.element.createElement(l.TextControl,{type:"number",value:o.days,placeholder:(0,a.__)("DD","rank-math"),onChange:function(e){c({days:e})}}),wp.element.createElement(l.TextControl,{type:"number",value:o.hours,placeholder:(0,a.__)("HH","rank-math"),onChange:function(e){c({hours:e})}}),wp.element.createElement(l.TextControl,{type:"number",value:o.minutes,placeholder:(0,a.__)("MM","rank-math"),onChange:function(e){c({minutes:e})}})),wp.element.createElement("div",{className:"rank-math-howto-duration-instructions"+(o.hasDuration?"":" hidden")},(0,a.__)("Optional, use first field to describe the duration.","rank-math"))),(0,g.applyFilters)("rank_math_block_howto_data","",this.props),wp.element.createElement("ul",{style:{textAlign:m}},this.renderSteps()),wp.element.createElement(l.Button,{isPrimary:!0,onClick:this.addNew},(0,a.__)("Add New Step","rank-math")),wp.element.createElement("a",{href:"http://rankmath.com/blog/howto-schema/",title:(0,a.__)("More Info","rank-math"),target:"_blank",rel:"noopener noreferrer",className:"rank-math-block-info"},wp.element.createElement(l.Dashicon,{icon:"info"})))}},{key:"renderSteps",value:function(){var t=this,n=this.props.attributes,r=n.steps,a=n.sizeSlug,o=n.titleWrapper,i=n.titleCssClasses,l=n.contentCssClasses;return(0,e.isEmpty)(r)?null:r.map((function(e,n){return wp.element.createElement("li",{key:e.id},wp.element.createElement(ce,be({},e,{index:n,key:e.id+"-step",steps:r,setAttributes:t.props.setAttributes,sizeSlug:a,titleWrapper:o,titleCssClasses:i,contentCssClasses:l})))}))}}])&&ge(n.prototype,r),o&&ge(n,o),Object.defineProperty(n,"prototype",{writable:!1}),u}(i.Component),Pe=je,Ae=function(t){var n=t.attributes,r=n.steps,a=n.titleWrapper;return(0,e.isEmpty)(r)?null:wp.element.createElement("div",null,r.map((function(e,t){return!1===e.visible?null:wp.element.createElement("div",{className:"rank-math-howto-step",key:t},e.title&&wp.element.createElement(s.RichText.Content,{tagName:a,value:e.title,className:"rank-math-howto-title"}),e.content&&wp.element.createElement(s.RichText.Content,{tagName:"div",value:e.content,className:"rank-math-howto-content"}))})))},Ne={from:[{type:"block",blocks:["yoast/how-to-block"],transform:function(e){var n={steps:e.steps.map((function(e){return{visible:!0,id:D("howto-step"),title:e.jsonName,content:e.jsonText}})),titleWrapper:"h3",hasDuration:e.hasDuration,days:e.days,hours:e.hours,minutes:e.minutes,description:e.jsonDescription,className:e.className,listStyle:e.unorderedList?"unordered":""};return(0,t.createBlock)("rank-math/howto-block",n)}}]};(0,t.updateCategory)("rank-math-blocks",{icon:r}),Oe=[(0,a.__)("FAQ","rank-math"),(0,a.__)("Frequently Asked Questions","rank-math"),(0,a.__)("Schema","rank-math"),(0,a.__)("SEO","rank-math"),(0,a.__)("Structured Data","rank-math"),(0,a.__)("Yoast","rank-math"),(0,a.__)("Rank Math","rank-math"),(0,a.__)("Block","rank-math"),(0,a.__)("Markup","rank-math"),(0,a.__)("Rich Snippet","rank-math")],(0,t.registerBlockType)("rank-math/faq-block",{title:(0,a.__)("FAQ by Rank Math","rank-math"),description:(0,a.__)("Easily add Schema-ready, SEO-friendly, Frequently Asked Questions to your content.","rank-math"),category:"rank-math-blocks",icon:"editor-ul",keywords:Oe,attributes:{listStyle:{type:"string"},sizeSlug:{type:"string",default:"thumbnail"},titleWrapper:{type:"string",default:"h3"},questions:{type:"array"},textAlign:{type:"string",default:""},listCssClasses:{type:"string",default:""},titleCssClasses:{type:"string",default:""},contentCssClasses:{type:"string",default:""}},example:o,edit:$,save:G,transforms:Y}),function(){var e=[(0,a.__)("HowTo","rank-math"),(0,a.__)("Schema","rank-math"),(0,a.__)("SEO","rank-math"),(0,a.__)("Structured Data","rank-math"),(0,a.__)("Yoast","rank-math"),(0,a.__)("Rank Math","rank-math"),(0,a.__)("Block","rank-math"),(0,a.__)("Markup","rank-math"),(0,a.__)("Rich Snippet","rank-math")],n=(0,g.applyFilters)("rank_math_block_howto_attributes",{hasDuration:{type:"boolean"},days:{type:"string"},hours:{type:"string"},minutes:{type:"string"},description:{type:"string"},steps:{type:"array"},sizeSlug:{type:"string",default:"full"},imageID:{type:"integer"},mainSizeSlug:{type:"string",default:"full"},titleWrapper:{type:"string",default:"h3"},textAlign:{type:"string",default:""},timeLabel:{type:"string"},listStyle:{type:"string"},listCssClasses:{type:"string",default:""},titleCssClasses:{type:"string",default:""},contentCssClasses:{type:"string",default:""}});(0,t.registerBlockType)("rank-math/howto-block",{title:(0,a.__)("HowTo by Rank Math","rank-math"),description:(0,a.__)("Easily add Schema-ready, SEO-friendly, HowTo block to your content.","rank-math"),category:"rank-math-blocks",icon:"editor-ol",supports:{multiple:!1},keywords:e,attributes:n,example:J,edit:Pe,save:Ae,transforms:Ne})}(),"undefined"==typeof rankMath||(0,e.isUndefined)(rankMath.canUser)||!rankMath.canUser.snippet||(0,e.isUndefined)(rankMath.schemas)||function(){var n=[(0,a.__)("Schema","rank-math"),(0,a.__)("Markup","rank-math"),(0,a.__)("Structured Data","rank-math"),(0,a.__)("Rich Snippet","rank-math"),(0,a.__)("SEO","rank-math"),(0,a.__)("Rank Math","rank-math"),(0,a.__)("Yoast","rank-math")];(0,t.registerBlockType)("rank-math/rich-snippet",{title:(0,a.__)("Schema by Rank Math","rank-math"),description:(0,a.__)("Add the Schema generated by Rank Math anywhere on your page using this Block.","rank-math"),category:"rank-math-blocks",icon:r,keywords:n,attributes:(0,g.applyFilters)("rank_math_block_schema_attributes",{post_id:{default:rankMath.objectID}}),edit:function(t){var n=t.setAttributes,r=t.attributes,o=[];return(0,e.forEach)(r,(function(t,i){"post_id"!==i?"className"!==i&&o.push(wp.element.createElement(l.TextControl,{key:i,label:(0,a.__)((0,e.startCase)(i),"rank-math"),value:r[i],type:"string",onChange:function(e){var t={};t[i]=e,n(t)}})):o.push(wp.element.createElement(l.TextControl,{key:i,label:(0,a.__)((0,e.startCase)(i),"rank-math"),value:r[i],type:"number",min:1,step:1,onChange:function(e){var t={};t[i]=e||rankMath.objectID,n(t)}}))})),wp.element.createElement("div",null,wp.element.createElement(s.InspectorControls,{key:"inspector"},o),wp.element.createElement(l.ServerSideRender,{block:"rank-math/rich-snippet",attributes:r}))}})}()}()}();
1
+ !function(){var e={184:function(e,t){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 o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var i=a.apply(null,n);i&&e.push(i)}}else if("object"===o){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var l in n)r.call(n,l)&&n[l]&&e.push(l)}}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(n=function(){return a}.apply(t,[]))||(e.exports=n)}()}},t={};function n(r){var a=t[r];if(void 0!==a)return a.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";var e=lodash,t=wp.blocks,r=wp.element.createElement("svg",{viewBox:"0 0 462.03 462.03",xmlns:"http://www.w3.org/2000/svg",width:"20"},wp.element.createElement("g",null,wp.element.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"}),wp.element.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"}))),a=wp.i18n,o={attributes:{questions:[{visible:!0,titleWrapper:"div",title:"Question",content:"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."}]}},i=wp.element,l=wp.components,s=wp.blockEditor,c=wp.data;function u(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 p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){m(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(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}var f=(0,c.withSelect)((function(e,t){var n=(0,e("core/block-editor").getSettings)().imageSizes;return p(p({},t),{},{imageSizes:n})}))((function(t){var n=t.imageSizes,r=t.attributes,o=t.setAttributes,i=function(t){return(0,e.map)(t,(function(e){var t=e.name;return{value:e.slug,label:t}}))}(n);return wp.element.createElement(s.InspectorControls,{key:"inspector"},wp.element.createElement(l.PanelBody,{title:(0,a.__)("FAQ Options","rank-math")},wp.element.createElement(l.SelectControl,{label:(0,a.__)("List Style","rank-math"),value:r.listStyle,options:[{value:"",label:(0,a.__)("None","rank-math")},{value:"numbered",label:(0,a.__)("Numbered","rank-math")},{value:"unordered",label:(0,a.__)("Unordered","rank-math")}],onChange:function(e){o({listStyle:e})}}),wp.element.createElement(l.SelectControl,{label:(0,a.__)("Title Wrapper","rank-math"),value:r.titleWrapper,options:[{value:"h2",label:(0,a.__)("H2","rank-math")},{value:"h3",label:(0,a.__)("H3","rank-math")},{value:"h4",label:(0,a.__)("H4","rank-math")},{value:"h5",label:(0,a.__)("H5","rank-math")},{value:"h6",label:(0,a.__)("H6","rank-math")},{value:"p",label:(0,a.__)("P","rank-math")},{value:"div",label:(0,a.__)("DIV","rank-math")}],onChange:function(e){o({titleWrapper:e})}}),wp.element.createElement(l.SelectControl,{label:(0,a.__)("Image Size","rank-math"),value:r.sizeSlug,options:i,onChange:function(e){o({sizeSlug:e})}})),wp.element.createElement(l.PanelBody,{title:(0,a.__)("Styling Options","rank-math")},wp.element.createElement(l.TextControl,{label:(0,a.__)("Title Wrapper CSS Class(es)","rank-math"),value:r.titleCssClasses,onChange:function(e){o({titleCssClasses:e})}}),wp.element.createElement(l.TextControl,{label:(0,a.__)("Content Wrapper CSS Class(es)","rank-math"),value:r.contentCssClasses,onChange:function(e){o({contentCssClasses:e})}}),wp.element.createElement(l.TextControl,{label:(0,a.__)("List CSS Class(es)","rank-math"),value:r.listCssClasses,onChange:function(e){o({listCssClasses:e})}})))})),h=n(184),b=n.n(h);function y(t,n){var r=(0,c.select)("core").getMedia,a=t?r(t):null;return null===a?null:n?function(t,n){return(0,e.get)(t,["media_details","sizes",n,"source_url"])||(0,e.get)(t,["media_details","sizes","full","source_url"])}(a,n):a}var d=(0,c.withSelect)((function(e,t){var n=t.imageID,r=t.sizeSlug;return{imageUrl:n?y(n,r):null}}))((function(e){var t=e.imageUrl;return t?wp.element.createElement("img",{src:t,alt:""}):null})),v=function(e){var t=e.imageID,n=e.sizeSlug,r=e.open,o=e.removeImage,i=e.addButtonLabel,s=void 0===i?(0,a.__)("Add Image","rank-math"):i;return wp.element.createElement("div",{className:"rank-math-media-placeholder"},t>0&&wp.element.createElement(d,{imageID:t,sizeSlug:n}),t>0?wp.element.createElement(l.Button,{icon:"edit",className:"rank-math-replace-image",onClick:r}):wp.element.createElement(l.Button,{onClick:r,className:"rank-math-add-image",isPrimary:!0},s),t>0&&wp.element.createElement(l.Button,{icon:"no-alt",className:"rank-math-delete-image",onClick:o}))},g=wp.hooks;function k(e){return k="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},k(e)}function _(e){return function(e){if(Array.isArray(e))return w(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return w(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function S(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function E(e,t){return E=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},E(e,t)}function O(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=A(e);if(t){var a=A(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return j(this,n)}}function j(e,t){if(t&&("object"===k(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return P(e)}function P(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A(e){return A=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},A(e)}function N(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=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&E(e,t)}(i,e);var t,n,r,o=O(i);function i(){var e;S(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return N(P(e=o.call.apply(o,[this].concat(n))),"toggleVisibility",(function(){var t=e.props,n=t.setAttributes,r=t.index,a=_(e.props.questions);a[r].visible=!e.props.visible,n({questions:a})})),N(P(e),"deleteQuestion",(function(){var t=e.props,n=t.setAttributes,r=t.index,a=_(e.props.questions);a.splice(r,1),n({questions:a})})),e}return t=i,(n=[{key:"render",value:function(){var e=this,t=this.props,n=t.title,r=t.content,o=t.visible,i=t.imageID,c=t.sizeSlug,u=t.titleWrapper,p=t.titleCssClasses,m=t.contentCssClasses,f=b()("rank-math-question-wrapper",{"question-not-visible":!o});return wp.element.createElement("div",{className:f},wp.element.createElement("div",{className:"rank-math-item-header"},wp.element.createElement(s.RichText,{tagName:u,className:"rank-math-faq-question rank-math-block-title"+p,value:n,onChange:function(t){e.setQuestionProp("title",t)},placeholder:(0,a.__)("Question…","rank-math")}),wp.element.createElement("div",{className:"rank-math-block-actions"},(0,g.applyFilters)("rank_math_block_faq_actions","",this.props),wp.element.createElement(l.Button,{className:"rank-math-item-visbility",icon:o?"visibility":"hidden",onClick:this.toggleVisibility,title:(0,a.__)("Hide Question","rank-math")}),wp.element.createElement(l.Button,{icon:"trash",className:"rank-math-item-delete",onClick:this.deleteQuestion,title:(0,a.__)("Delete Question","rank-math")}))),wp.element.createElement("div",{className:"rank-math-item-content"},wp.element.createElement(s.RichText,{tagName:"div",className:"rank-math-faq-answer "+m,value:r,onChange:function(t){e.setQuestionProp("content",t)},placeholder:(0,a.__)("Enter the answer to the question","rank-math")}),wp.element.createElement(s.MediaUpload,{allowedTypes:["image"],multiple:!1,value:i,render:function(t){var n=t.open;return wp.element.createElement(v,{imageID:i,sizeSlug:c,open:n,removeImage:function(){e.setQuestionProp("imageID",0)}})},onSelect:function(t){e.setQuestionProp("imageID",t.id)}})))}},{key:"setQuestionProp",value:function(e,t){var n=this.props,r=n.setAttributes,a=n.index,o=_(this.props.questions);o[a][e]=t,r({questions:o})}}])&&C(t.prototype,n),r&&C(t,r),Object.defineProperty(t,"prototype",{writable:!1}),i}(i.Component),T=x,D=function(e){return"".concat(e,"-").concat((new Date).getTime())};function I(e){return I="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},I(e)}function R(){return R=Object.assign?Object.assign.bind():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},R.apply(this,arguments)}function q(e){return function(e){if(Array.isArray(e))return z(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return z(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return z(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function z(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function B(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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)}}function W(e,t){return W=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},W(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=F(e);if(t){var a=F(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return H(this,n)}}function H(e,t){if(t&&("object"===I(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return U(e)}function U(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F(e){return F=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},F(e)}function L(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var V=function(t){!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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&W(e,t)}(u,t);var n,r,o,c=Q(u);function u(){var e;B(this,u);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return L(U(e=c.call.apply(c,[this].concat(n))),"addNew",(function(){var t=q(e.props.attributes.questions);t.push({id:D("faq-question"),title:"",content:"",visible:!0}),e.props.setAttributes({questions:t})})),e}return n=u,(r=[{key:"render",value:function(){var e=this,t=this.props,n=t.className,r=t.isSelected,o=this.props.attributes.textAlign;return wp.element.createElement("div",{id:"rank-math-faq",className:"rank-math-block "+n},r&&wp.element.createElement(f,this.props),r&&wp.element.createElement(i.Fragment,null,wp.element.createElement(s.BlockControls,null,wp.element.createElement(s.AlignmentToolbar,{value:o,onChange:function(t){return e.props.setAttributes({textAlign:t})}}))),wp.element.createElement("ul",{style:{textAlign:o}},this.renderQuestions()),wp.element.createElement(l.Button,{isPrimary:!0,onClick:this.addNew},(0,a.__)("Add New FAQ","rank-math")),wp.element.createElement("a",{href:"https://rankmath.com/kb/faq-schema-block/",rel:"noopener noreferrer",target:"_blank",title:(0,a.__)("More Info","rank-math"),className:"rank-math-block-info"},wp.element.createElement(l.Dashicon,{icon:"info"})))}},{key:"renderQuestions",value:function(){var t=this,n=this.props.attributes,r=n.sizeSlug,a=n.titleWrapper,o=n.titleCssClasses,i=n.contentCssClasses,l=this.props.attributes.questions;return(0,e.isEmpty)(l)&&(l=[{id:D("faq-question"),title:"",content:"",visible:!0}]),l.map((function(e,n){return wp.element.createElement("li",{key:e.id},wp.element.createElement(T,R({},e,{index:n,key:e.id+"-question",questions:l,setAttributes:t.props.setAttributes,sizeSlug:r,titleWrapper:a,titleCssClasses:o,contentCssClasses:i})))}))}}])&&M(n.prototype,r),o&&M(n,o),Object.defineProperty(n,"prototype",{writable:!1}),u}(i.Component),$=V,Y={from:[{type:"block",blocks:["yoast/faq-block"],transform:function(e){var n={titleWrapper:"h3",questions:e.questions.map((function(e){return{title:e.jsonQuestion,content:e.jsonAnswer,visible:!0}})),className:e.className};return(0,t.createBlock)("rank-math/faq-block",n)}}]},G=function(t){var n=t.attributes,r=n.questions,a=n.titleWrapper;return(0,e.isEmpty)(r)?null:wp.element.createElement("div",null,r.map((function(t,n){return(0,e.isEmpty)(t.title)||(0,e.isEmpty)(t.content)||!1===t.visible?null:wp.element.createElement("div",{className:"rank-math-faq-item",key:n},wp.element.createElement(s.RichText.Content,{tagName:a,value:t.title,className:"rank-math-question"}),wp.element.createElement(s.RichText.Content,{tagName:"div",value:t.content,className:"rank-math-answer"}))})))},J={attributes:{steps:[{visible:!0,titleWrapper:"div",title:"Step # 1",content:"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."}]}};function K(e){return K="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},K(e)}function X(e){return function(e){if(Array.isArray(e))return Z(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Z(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Z(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Z(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function te(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 ne(e,t){return ne=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ne(e,t)}function re(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=ie(e);if(t){var a=ie(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return ae(this,n)}}function ae(e,t){if(t&&("object"===K(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return oe(e)}function oe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ie(e){return ie=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ie(e)}function le(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var se=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ne(e,t)}(i,e);var t,n,r,o=re(i);function i(){var e;ee(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return le(oe(e=o.call.apply(o,[this].concat(n))),"toggleVisibility",(function(){var t=e.props,n=t.setAttributes,r=t.index,a=X(e.props.steps);a[r].visible=!e.props.visible,n({steps:a})})),le(oe(e),"deleteStep",(function(){var t=e.props,n=t.setAttributes,r=t.index,a=X(e.props.steps);a.splice(r,1),n({steps:a})})),e}return t=i,(n=[{key:"render",value:function(){var e=this,t=this.props,n=t.title,r=t.content,o=t.visible,i=t.imageID,c=t.sizeSlug,u=t.titleWrapper,p=t.titleCssClasses,m=t.contentCssClasses,f=b()("rank-math-step-wrapper",{"step-not-visible":!o});return wp.element.createElement("div",{className:f},wp.element.createElement("div",{className:"rank-math-item-header"},wp.element.createElement(s.RichText,{tagName:u,className:"rank-math-howto-step-title rank-math-block-title"+p,value:n,onChange:function(t){e.setStepProp("title",t)},placeholder:(0,a.__)("Enter a step title","rank-math")}),wp.element.createElement("div",{className:"rank-math-block-actions"},wp.element.createElement(l.Button,{className:"rank-math-item-visbility",icon:o?"visibility":"hidden",onClick:this.toggleVisibility,title:(0,a.__)("Hide Step","rank-math")}),wp.element.createElement(l.Button,{icon:"trash",className:"rank-math-item-delete",onClick:this.deleteStep,title:(0,a.__)("Delete Step","rank-math")}))),wp.element.createElement(s.MediaUpload,{allowedTypes:["image"],multiple:!1,value:i,render:function(t){var n=t.open;return wp.element.createElement(v,{imageID:i,sizeSlug:c,open:n,addButtonLabel:(0,a.__)("Add Step Image","rank-math"),removeImage:function(){e.setStepProp("imageID",0)}})},onSelect:function(t){e.setStepProp("imageID",t.id)}}),wp.element.createElement(s.RichText,{tagName:"div",className:"rank-math-howto-step-content"+m,value:r,onChange:function(t){e.setStepProp("content",t)},placeholder:(0,a.__)("Enter a step description","rank-math")}))}},{key:"setStepProp",value:function(e,t){var n=this.props,r=n.setAttributes,a=n.index,o=X(this.props.steps);o[a][e]=t,r({steps:o})}}])&&te(t.prototype,n),r&&te(t,r),Object.defineProperty(t,"prototype",{writable:!1}),i}(i.Component),ce=se;function ue(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 pe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ue(Object(n),!0).forEach((function(t){me(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ue(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 fe=(0,c.withSelect)((function(e,t){var n=(0,e("core/block-editor").getSettings)().imageSizes;return pe(pe({},t),{},{imageSizes:n})}))((function(t){var n=t.imageSizes,r=t.attributes,o=t.setAttributes,i=function(t){return(0,e.map)(t,(function(e){var t=e.name;return{value:e.slug,label:t}}))}(n);return wp.element.createElement(s.InspectorControls,{key:"inspector"},wp.element.createElement(l.PanelBody,{title:(0,a.__)("HowTo Options","rank-math")},wp.element.createElement(l.SelectControl,{label:(0,a.__)("List Style","rank-math"),value:r.listStyle,options:[{value:"",label:(0,a.__)("None","rank-math")},{value:"numbered",label:(0,a.__)("Numbered","rank-math")},{value:"unordered",label:(0,a.__)("Unordered","rank-math")}],onChange:function(e){o({listStyle:e})}}),wp.element.createElement(l.SelectControl,{label:(0,a.__)("Title Wrapper","rank-math"),value:r.titleWrapper,options:[{value:"h2",label:(0,a.__)("H2","rank-math")},{value:"h3",label:(0,a.__)("H3","rank-math")},{value:"h4",label:(0,a.__)("H4","rank-math")},{value:"h5",label:(0,a.__)("H5","rank-math")},{value:"h6",label:(0,a.__)("H6","rank-math")},{value:"p",label:(0,a.__)("P","rank-math")},{value:"div",label:(0,a.__)("DIV","rank-math")}],onChange:function(e){o({titleWrapper:e})}}),wp.element.createElement(l.SelectControl,{label:(0,a.__)("Main Image Size","rank-math"),value:r.mainSizeSlug,options:i,onChange:function(e){o({mainSizeSlug:e})}}),wp.element.createElement(l.SelectControl,{label:(0,a.__)("Image Size","rank-math"),value:r.sizeSlug,options:i,onChange:function(e){o({sizeSlug:e})}})),wp.element.createElement(l.PanelBody,{title:(0,a.__)("Styling Options","rank-math")},wp.element.createElement(l.TextControl,{label:(0,a.__)("Step Title Wrapper CSS Class(es)","rank-math"),value:r.titleCssClasses,onChange:function(e){o({titleCssClasses:e})}}),wp.element.createElement(l.TextControl,{label:(0,a.__)("Step Content Wrapper CSS Class(es)","rank-math"),value:r.contentCssClasses,onChange:function(e){o({contentCssClasses:e})}}),wp.element.createElement(l.TextControl,{label:(0,a.__)("Step List CSS Class(es)","rank-math"),value:r.listCssClasses,onChange:function(e){o({listCssClasses:e})}})))}));function he(e){return he="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},he(e)}function be(){return be=Object.assign?Object.assign.bind():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},be.apply(this,arguments)}function ye(e){return function(e){if(Array.isArray(e))return de(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return de(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return de(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function de(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ke(e,t)}function _e(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=Ce(e);if(t){var a=Ce(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return we(this,n)}}function we(e,t){if(t&&("object"===he(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Se(e)}function Se(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ce(e){return Ce=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ce(e)}function Ee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Oe,je=function(t){!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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ke(e,t)}(u,t);var n,r,o,c=_e(u);function u(){var t;ve(this,u),Ee(Se(t=c.apply(this,arguments)),"addNew",(function(){var n=t.props.attributes.steps,r=(0,e.isEmpty)(n)?[]:ye(n);r.push({id:D("howto-step"),title:"",content:"",visible:!0}),t.props.setAttributes({steps:r})})),Ee(Se(t),"toggleDuration",(function(){t.props.setAttributes({hasDuration:!t.props.attributes.hasDuration})})),Ee(Se(t),"onSelectImage",(function(e){(0,t.props.setAttributes)({imageID:e.id})})),Ee(Se(t),"removeImage",(function(){(0,t.props.setAttributes)({imageID:0})}));var n=t.props.attributes.steps;return(0,e.isEmpty)(n)&&t.addNew(),t}return n=u,(r=[{key:"render",value:function(){var e=this,t=this.props,n=t.className,r=t.isSelected,o=t.attributes,c=t.setAttributes,u=o.imageID,p=o.mainSizeSlug,m=o.textAlign;return wp.element.createElement("div",{id:"rank-math-howto",className:"rank-math-block "+n},r&&wp.element.createElement(fe,this.props),r&&wp.element.createElement(i.Fragment,null,wp.element.createElement(s.BlockControls,null,wp.element.createElement(s.AlignmentToolbar,{value:m,onChange:function(t){return e.props.setAttributes({textAlign:t})}}))),wp.element.createElement(s.MediaUpload,{allowedTypes:["image"],multiple:!1,value:u,render:function(t){var n=t.open;return wp.element.createElement("div",{className:"rank-math-howto-final-image"},wp.element.createElement(v,{imageID:u,sizeSlug:p,open:n,addButtonLabel:(0,a.__)("Add Final Image","rank-math"),removeImage:e.removeImage}))},onSelect:this.onSelectImage}),wp.element.createElement(s.RichText,{style:{textAlign:m},tagName:"div",className:"rank-math-howto-description",value:o.description,onChange:function(e){c({description:e})},placeholder:(0,a.__)("Enter a main description","rank-math")}),wp.element.createElement("div",{className:"rank-math-howto-duration"},wp.element.createElement("div",{className:"components-base-control rank-math-howto-duration-label"},wp.element.createElement("span",null,(0,a.__)("Duration","rank-math")),wp.element.createElement(l.ToggleControl,{checked:o.hasDuration,onChange:this.toggleDuration})),wp.element.createElement("div",{className:"rank-math-howto-duration-fields"+(o.hasDuration?"":" hidden")},wp.element.createElement(l.TextControl,{value:o.timeLabel,placeholder:(0,a.__)("Total time:","rank-math"),onChange:function(e){c({timeLabel:e})}}),wp.element.createElement(l.TextControl,{type:"number",value:o.days,placeholder:(0,a.__)("DD","rank-math"),onChange:function(e){c({days:e})}}),wp.element.createElement(l.TextControl,{type:"number",value:o.hours,placeholder:(0,a.__)("HH","rank-math"),onChange:function(e){c({hours:e})}}),wp.element.createElement(l.TextControl,{type:"number",value:o.minutes,placeholder:(0,a.__)("MM","rank-math"),onChange:function(e){c({minutes:e})}})),wp.element.createElement("div",{className:"rank-math-howto-duration-instructions"+(o.hasDuration?"":" hidden")},(0,a.__)("Optional, use first field to describe the duration.","rank-math"))),(0,g.applyFilters)("rank_math_block_howto_data","",this.props),wp.element.createElement("ul",{style:{textAlign:m}},this.renderSteps()),wp.element.createElement(l.Button,{isPrimary:!0,onClick:this.addNew},(0,a.__)("Add New Step","rank-math")),wp.element.createElement("a",{href:"http://rankmath.com/blog/howto-schema/",title:(0,a.__)("More Info","rank-math"),target:"_blank",rel:"noopener noreferrer",className:"rank-math-block-info"},wp.element.createElement(l.Dashicon,{icon:"info"})))}},{key:"renderSteps",value:function(){var t=this,n=this.props.attributes,r=n.steps,a=n.sizeSlug,o=n.titleWrapper,i=n.titleCssClasses,l=n.contentCssClasses;return(0,e.isEmpty)(r)?null:r.map((function(e,n){return wp.element.createElement("li",{key:e.id},wp.element.createElement(ce,be({},e,{index:n,key:e.id+"-step",steps:r,setAttributes:t.props.setAttributes,sizeSlug:a,titleWrapper:o,titleCssClasses:i,contentCssClasses:l})))}))}}])&&ge(n.prototype,r),o&&ge(n,o),Object.defineProperty(n,"prototype",{writable:!1}),u}(i.Component),Pe=je,Ae=function(t){var n=t.attributes,r=n.steps,a=n.titleWrapper;return(0,e.isEmpty)(r)?null:wp.element.createElement("div",null,r.map((function(e,t){return!1===e.visible?null:wp.element.createElement("div",{className:"rank-math-howto-step",key:t},e.title&&wp.element.createElement(s.RichText.Content,{tagName:a,value:e.title,className:"rank-math-howto-title"}),e.content&&wp.element.createElement(s.RichText.Content,{tagName:"div",value:e.content,className:"rank-math-howto-content"}))})))},Ne={from:[{type:"block",blocks:["yoast/how-to-block"],transform:function(e){var n={steps:e.steps.map((function(e){return{visible:!0,id:D("howto-step"),title:e.jsonName,content:e.jsonText}})),titleWrapper:"h3",hasDuration:e.hasDuration,days:e.days,hours:e.hours,minutes:e.minutes,description:e.jsonDescription,className:e.className,listStyle:e.unorderedList?"unordered":""};return(0,t.createBlock)("rank-math/howto-block",n)}}]};(0,t.updateCategory)("rank-math-blocks",{icon:r}),Oe=[(0,a.__)("FAQ","rank-math"),(0,a.__)("Frequently Asked Questions","rank-math"),(0,a.__)("Schema","rank-math"),(0,a.__)("SEO","rank-math"),(0,a.__)("Structured Data","rank-math"),(0,a.__)("Yoast","rank-math"),(0,a.__)("Rank Math","rank-math"),(0,a.__)("Block","rank-math"),(0,a.__)("Markup","rank-math"),(0,a.__)("Rich Snippet","rank-math")],(0,t.registerBlockType)("rank-math/faq-block",{title:(0,a.__)("FAQ by Rank Math","rank-math"),description:(0,a.__)("Easily add Schema-ready, SEO-friendly, Frequently Asked Questions to your content.","rank-math"),category:"rank-math-blocks",icon:"editor-ul",keywords:Oe,attributes:{listStyle:{type:"string"},sizeSlug:{type:"string",default:"thumbnail"},titleWrapper:{type:"string",default:"h3"},questions:{type:"array"},textAlign:{type:"string",default:""},listCssClasses:{type:"string",default:""},titleCssClasses:{type:"string",default:""},contentCssClasses:{type:"string",default:""}},example:o,edit:$,save:G,transforms:Y}),function(){var e=[(0,a.__)("HowTo","rank-math"),(0,a.__)("Schema","rank-math"),(0,a.__)("SEO","rank-math"),(0,a.__)("Structured Data","rank-math"),(0,a.__)("Yoast","rank-math"),(0,a.__)("Rank Math","rank-math"),(0,a.__)("Block","rank-math"),(0,a.__)("Markup","rank-math"),(0,a.__)("Rich Snippet","rank-math")],n=(0,g.applyFilters)("rank_math_block_howto_attributes",{hasDuration:{type:"boolean"},days:{type:"string"},hours:{type:"string"},minutes:{type:"string"},description:{type:"string"},steps:{type:"array"},sizeSlug:{type:"string",default:"full"},imageID:{type:"integer"},mainSizeSlug:{type:"string",default:"full"},titleWrapper:{type:"string",default:"h3"},textAlign:{type:"string",default:""},timeLabel:{type:"string"},listStyle:{type:"string"},listCssClasses:{type:"string",default:""},titleCssClasses:{type:"string",default:""},contentCssClasses:{type:"string",default:""}});(0,t.registerBlockType)("rank-math/howto-block",{title:(0,a.__)("HowTo by Rank Math","rank-math"),description:(0,a.__)("Easily add Schema-ready, SEO-friendly, HowTo block to your content.","rank-math"),category:"rank-math-blocks",icon:"editor-ol",supports:{multiple:!1},keywords:e,attributes:n,example:J,edit:Pe,save:Ae,transforms:Ne})}(),"undefined"==typeof rankMath||(0,e.isUndefined)(rankMath.canUser)||!rankMath.canUser.snippet||(0,e.isUndefined)(rankMath.schemas)||function(){var n=[(0,a.__)("Schema","rank-math"),(0,a.__)("Markup","rank-math"),(0,a.__)("Structured Data","rank-math"),(0,a.__)("Rich Snippet","rank-math"),(0,a.__)("SEO","rank-math"),(0,a.__)("Rank Math","rank-math"),(0,a.__)("Yoast","rank-math")];(0,t.registerBlockType)("rank-math/rich-snippet",{title:(0,a.__)("Schema by Rank Math","rank-math"),description:(0,a.__)("Add the Schema generated by Rank Math anywhere on your page using this Block.","rank-math"),category:"rank-math-blocks",icon:r,keywords:n,attributes:(0,g.applyFilters)("rank_math_block_schema_attributes",{post_id:{default:rankMath.objectID}}),edit:function(t){var n=t.setAttributes,r=t.attributes,o=[];return(0,e.forEach)(r,(function(t,i){"post_id"!==i?"className"!==i&&o.push(wp.element.createElement(l.TextControl,{key:i,label:(0,a.__)((0,e.startCase)(i),"rank-math"),value:r[i],type:"string",onChange:function(e){var t={};t[i]=e,n(t)}})):o.push(wp.element.createElement(l.TextControl,{key:i,label:(0,a.__)((0,e.startCase)(i),"rank-math"),value:r[i],type:"number",min:1,step:1,onChange:function(e){var t={};t[i]=e||rankMath.objectID,n(t)}}))})),wp.element.createElement("div",null,wp.element.createElement(s.InspectorControls,{key:"inspector"},o),wp.element.createElement(l.ServerSideRender,{block:"rank-math/rich-snippet",attributes:r}))}})}()}()}();
assets/admin/js/gutenberg-formats.js CHANGED
@@ -1 +1 @@
1
- !function(){var e={184:function(e,t){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 i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)){if(r.length){var a=o.apply(null,r);a&&e.push(a)}}else if("object"===i)if(r.toString===Object.prototype.toString)for(var l in r)n.call(r,l)&&r[l]&&e.push(l);else e.push(r.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";var e=wp.richText,t=wp.i18n,n=wp.url,o=wp.htmlEntities,i=wp.element,a=r(184),l=r.n(a);const s=e=>(0,i.createElement)("path",e),u=e=>{let{className:t,isPressed:r,...n}=e;const o={...n,className:l()(t,{"is-pressed":r})||void 0,"aria-hidden":!0,focusable:!1};return(0,i.createElement)("svg",o)};var c=(0,i.createElement)(u,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,i.createElement)(s,{d:"M15.6 7.3h-.7l1.6-3.5-.9-.4-3.9 8.5H9v1.5h2l-1.3 2.8H8.4c-2 0-3.7-1.7-3.7-3.7s1.7-3.7 3.7-3.7H10V7.3H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H9l-1.4 3.2.9.4 5.7-12.5h1.4c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.9 0 5.2-2.3 5.2-5.2 0-2.9-2.4-5.2-5.2-5.2z"}));var p=(0,i.createElement)(u,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,i.createElement)(s,{d:"M15.6 7.2H14v1.5h1.6c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.8 0 5.2-2.3 5.2-5.2 0-2.9-2.3-5.2-5.2-5.2zM4.7 12.4c0-2 1.7-3.7 3.7-3.7H10V7.2H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H10v-1.5H8.4c-2 0-3.7-1.7-3.7-3.7zm4.6.9h5.3v-1.5H9.3v1.5z"})),f=wp.blockEditor,d=lodash,m=wp.components;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 h(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}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){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,l=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(l)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return g(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return g(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var w=(0,m.withSpokenMessages)((function(r){var o=r.isActive,a=r.activeAttributes,l=r.addingLink,s=r.value,u=r.onChange,c=r.speak,p=r.stopAddingLink,y=r.contentRef,v=b((0,i.useState)(),2),g=v[0],w=v[1],O=h({url:a.url,type:a.type,id:a.id,opensInNewTab:"_blank"===a.target,noFollow:!(0,d.isUndefined)(a.rel)&&-1!==a.rel.indexOf("nofollow"),sponsored:!(0,d.isUndefined)(a.rel)&&-1!==a.rel.indexOf("sponsored")},g),k=(0,i.useRef)(!!l&&"firstElement"),j=[{id:"opensInNewTab",title:(0,t.__)("Open in new tab.","rank-math")},{id:"noFollow",title:(0,t.__)("Set to nofollow.","rank-math")},{id:"sponsored",title:(0,t.__)("Set to sponsored.","rank-math")}],P=(0,e.useAnchorRef)({ref:y,value:s,settings:_});return wp.element.createElement(m.Popover,{anchorRef:P,focusOnMount:k.current,onClose:p,position:"bottom center"},wp.element.createElement(f.__experimentalLinkControl,{value:O,onChange:function(r){r=h(h({},g),r);var i=O.url===r.url&&(O.opensInNewTab!==r.opensInNewTab||O.noFollow!==r.noFollow||O.sponsored!==r.sponsored),a=i&&(0,d.isUndefined)(r.url);if(w(a?r:void 0),!a){var l=(0,n.prependHTTP)(r.url),f=function(e){var r=e.url,n=e.opensInNewWindow,o=e.noFollow,i=e.sponsored,a=e.text,l=e.type,s=e.id,u={type:"core/link",attributes:{url:r}},c=[];if(n){if(u.attributes.target="_blank",!(0,d.isUndefined)(a)){var p=(0,t.sprintf)((0,t.__)("%s (opens in a new tab)","rank-math"),a);u.attributes["aria-label"]=p}c.push("noreferrer noopener")}return l&&(u.attributes.type=l),s&&(u.attributes.id=s),o&&c.push("nofollow"),i&&c.push("sponsored"),c.length>0&&(u.attributes.rel=c.join(" ")),u}({url:l,type:r.type,id:(0,d.isUndefined)(r.id)||(0,d.isNull)(r.id)?void 0:String(r.id),opensInNewWindow:r.opensInNewTab,noFollow:r.noFollow,sponsored:r.sponsored});if((0,e.isCollapsed)(s)&&!o){var m=r.title||l,y=(0,e.applyFormat)((0,e.create)({text:m}),f,0,m.length);u((0,e.insert)(s,y))}else{var v=(0,e.applyFormat)(s,f);v.start=v.end,v.activeFormats=[],u(v)}i||p(),!function(e){if(!e)return!1;var t=e.trim();if(!t)return!1;if(/^\S+:/.test(t)){var r=(0,n.getProtocol)(t);if(!(0,n.isValidProtocol)(r))return!1;if((0,d.startsWith)(r,"http")&&!/^https?:\/\/[^\/\s]/i.test(t))return!1;var o=(0,n.getAuthority)(t);if(!(0,n.isValidAuthority)(o))return!1;var i=(0,n.getPath)(t);if(i&&!(0,n.isValidPath)(i))return!1;var a=(0,n.getQueryString)(t);if(a&&!(0,n.isValidQueryString)(a))return!1;var l=(0,n.getFragment)(t);if(l&&!(0,n.isValidFragment)(l))return!1}return!((0,d.startsWith)(t,"#")&&!(0,n.isValidFragment)(t))}(l)?c((0,t.__)("Warning: the link has been inserted but may have errors. Please test it.","rank-math"),"assertive"):c(o?(0,t.__)("Link edited.","rank-math"):(0,t.__)("Link inserted.","rank-math"),"assertive")}},forceIsEditingLink:l,settings:j}))}));function O(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 k(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function j(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,l=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(l)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return P(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return P(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function P(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var S="core/link";var E=function(r){var o=r.isActive,a=r.activeAttributes,l=r.value,s=r.onChange,u=r.onFocus,d=r.contentRef,m=j((0,i.useState)(!1),2),y=m[0],h=m[1];function v(){var t=(0,e.getTextContent)((0,e.slice)(l));t&&(0,n.isURL)(t)?s((0,e.applyFormat)(l,{type:S,attributes:{url:t}})):t&&(0,n.isEmail)(t)?s((0,e.applyFormat)(l,{type:S,attributes:{url:"mailto:".concat(t)}})):h(!0)}function b(){var t=l;t=(0,e.removeFormat)(t,"core/link"),s(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?O(Object(r),!0).forEach((function(t){k(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},t))}return wp.element.createElement(React.Fragment,null,wp.element.createElement(f.RichTextShortcut,{type:"primary",character:"k",onUse:v}),wp.element.createElement(f.RichTextShortcut,{type:"primaryShift",character:"k",onUse:b}),o&&wp.element.createElement(f.RichTextToolbarButton,{name:"link",className:"rank-math-link-control",icon:c,title:(0,t.__)("Unlink","rank-math"),onClick:b,isActive:o,shortcutType:"primaryShift",shortcutCharacter:"k"}),!o&&wp.element.createElement(f.RichTextToolbarButton,{name:"link",icon:p,className:"rank-math-link-control",title:(0,t.__)("Link","rank-math"),onClick:v,isActive:o,shortcutType:"primary",shortcutCharacter:"k"}),(y||o)&&wp.element.createElement(w,{addingLink:y,stopAddingLink:function(){h(!1),u()},isActive:o,activeAttributes:a,value:l,onChange:s,contentRef:d}))},_={name:"core/link",title:(0,t.__)("Link","rank-math"),tagName:"a",className:null,attributes:{url:"href",type:"data-type",id:"data-id",target:"target",rel:"rel"},__unstablePasteRule:function(t,r){var i=r.html,a=r.plainText;if((0,e.isCollapsed)(t))return t;var l=(i||a).replace(/<[^>]+>/g,"").trim();return(0,n.isURL)(l)?(window.console.log("Created link:\n\n",l),(0,e.applyFormat)(t,{type:"core/link",attributes:{url:(0,o.decodeEntities)(l)}})):t},edit:E},x=["name"];function A(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}wp.domReady((function(){[_].forEach((function(t){var r=t.name,n=A(t,x);r&&((0,e.unregisterFormatType)("core/link"),(0,e.registerFormatType)(r,n))}))}))}()}();
1
+ !function(){var e={184:function(e,t){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 i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)){if(r.length){var a=o.apply(null,r);a&&e.push(a)}}else if("object"===i){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){e.push(r.toString());continue}for(var l in r)n.call(r,l)&&r[l]&&e.push(l)}}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";var e=wp.richText,t=wp.i18n,n=wp.url,o=wp.htmlEntities,i=wp.element,a=r(184),l=r.n(a);const s=e=>(0,i.createElement)("path",e),u=e=>{let{className:t,isPressed:r,...n}=e;const o={...n,className:l()(t,{"is-pressed":r})||void 0,"aria-hidden":!0,focusable:!1};return(0,i.createElement)("svg",o)};var c=(0,i.createElement)(u,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,i.createElement)(s,{d:"M15.6 7.3h-.7l1.6-3.5-.9-.4-3.9 8.5H9v1.5h2l-1.3 2.8H8.4c-2 0-3.7-1.7-3.7-3.7s1.7-3.7 3.7-3.7H10V7.3H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H9l-1.4 3.2.9.4 5.7-12.5h1.4c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.9 0 5.2-2.3 5.2-5.2 0-2.9-2.4-5.2-5.2-5.2z"}));var p=(0,i.createElement)(u,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,i.createElement)(s,{d:"M15.6 7.2H14v1.5h1.6c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.8 0 5.2-2.3 5.2-5.2 0-2.9-2.3-5.2-5.2-5.2zM4.7 12.4c0-2 1.7-3.7 3.7-3.7H10V7.2H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H10v-1.5H8.4c-2 0-3.7-1.7-3.7-3.7zm4.6.9h5.3v-1.5H9.3v1.5z"})),f=wp.blockEditor,d=lodash,m=wp.components;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 h(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}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){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,l=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(l)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return g(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return g(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var w=(0,m.withSpokenMessages)((function(r){var o=r.isActive,a=r.activeAttributes,l=r.addingLink,s=r.value,u=r.onChange,c=r.speak,p=r.stopAddingLink,y=r.contentRef,v=b((0,i.useState)(),2),g=v[0],w=v[1],O=h({url:a.url,type:a.type,id:a.id,opensInNewTab:"_blank"===a.target,noFollow:!(0,d.isUndefined)(a.rel)&&-1!==a.rel.indexOf("nofollow"),sponsored:!(0,d.isUndefined)(a.rel)&&-1!==a.rel.indexOf("sponsored")},g),k=(0,i.useRef)(!!l&&"firstElement"),j=[{id:"opensInNewTab",title:(0,t.__)("Open in new tab.","rank-math")},{id:"noFollow",title:(0,t.__)("Set to nofollow.","rank-math")},{id:"sponsored",title:(0,t.__)("Set to sponsored.","rank-math")}],S=(0,e.useAnchorRef)({ref:y,value:s,settings:_});return wp.element.createElement(m.Popover,{anchorRef:S,focusOnMount:k.current,onClose:p,position:"bottom center"},wp.element.createElement(f.__experimentalLinkControl,{value:O,onChange:function(r){r=h(h({},g),r);var i=O.url===r.url&&(O.opensInNewTab!==r.opensInNewTab||O.noFollow!==r.noFollow||O.sponsored!==r.sponsored),a=i&&(0,d.isUndefined)(r.url);if(w(a?r:void 0),!a){var l=(0,n.prependHTTP)(r.url),f=function(e){var r=e.url,n=e.opensInNewWindow,o=e.noFollow,i=e.sponsored,a=e.text,l=e.type,s=e.id,u={type:"core/link",attributes:{url:r}},c=[];if(n){if(u.attributes.target="_blank",!(0,d.isUndefined)(a)){var p=(0,t.sprintf)((0,t.__)("%s (opens in a new tab)","rank-math"),a);u.attributes["aria-label"]=p}c.push("noreferrer noopener")}return l&&(u.attributes.type=l),s&&(u.attributes.id=s),o&&c.push("nofollow"),i&&c.push("sponsored"),c.length>0&&(u.attributes.rel=c.join(" ")),u}({url:l,type:r.type,id:(0,d.isUndefined)(r.id)||(0,d.isNull)(r.id)?void 0:String(r.id),opensInNewWindow:r.opensInNewTab,noFollow:r.noFollow,sponsored:r.sponsored});if((0,e.isCollapsed)(s)&&!o){var m=r.title||l,y=(0,e.applyFormat)((0,e.create)({text:m}),f,0,m.length);u((0,e.insert)(s,y))}else{var v=(0,e.applyFormat)(s,f);v.start=v.end,v.activeFormats=[],u(v)}i||p(),!function(e){if(!e)return!1;var t=e.trim();if(!t)return!1;if(/^\S+:/.test(t)){var r=(0,n.getProtocol)(t);if(!(0,n.isValidProtocol)(r))return!1;if((0,d.startsWith)(r,"http")&&!/^https?:\/\/[^\/\s]/i.test(t))return!1;var o=(0,n.getAuthority)(t);if(!(0,n.isValidAuthority)(o))return!1;var i=(0,n.getPath)(t);if(i&&!(0,n.isValidPath)(i))return!1;var a=(0,n.getQueryString)(t);if(a&&!(0,n.isValidQueryString)(a))return!1;var l=(0,n.getFragment)(t);if(l&&!(0,n.isValidFragment)(l))return!1}return!((0,d.startsWith)(t,"#")&&!(0,n.isValidFragment)(t))}(l)?c((0,t.__)("Warning: the link has been inserted but may have errors. Please test it.","rank-math"),"assertive"):c(o?(0,t.__)("Link edited.","rank-math"):(0,t.__)("Link inserted.","rank-math"),"assertive")}},forceIsEditingLink:l,settings:j}))}));function O(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 k(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function j(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,l=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(l)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return S(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return S(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var P="core/link";var E=function(r){var o=r.isActive,a=r.activeAttributes,l=r.value,s=r.onChange,u=r.onFocus,d=r.contentRef,m=j((0,i.useState)(!1),2),y=m[0],h=m[1];function v(){var t=(0,e.getTextContent)((0,e.slice)(l));t&&(0,n.isURL)(t)?s((0,e.applyFormat)(l,{type:P,attributes:{url:t}})):t&&(0,n.isEmail)(t)?s((0,e.applyFormat)(l,{type:P,attributes:{url:"mailto:".concat(t)}})):h(!0)}function b(){var t=l;t=(0,e.removeFormat)(t,"core/link"),s(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?O(Object(r),!0).forEach((function(t){k(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},t))}return wp.element.createElement(React.Fragment,null,wp.element.createElement(f.RichTextShortcut,{type:"primary",character:"k",onUse:v}),wp.element.createElement(f.RichTextShortcut,{type:"primaryShift",character:"k",onUse:b}),o&&wp.element.createElement(f.RichTextToolbarButton,{name:"link",className:"rank-math-link-control",icon:c,title:(0,t.__)("Unlink","rank-math"),onClick:b,isActive:o,shortcutType:"primaryShift",shortcutCharacter:"k"}),!o&&wp.element.createElement(f.RichTextToolbarButton,{name:"link",icon:p,className:"rank-math-link-control",title:(0,t.__)("Link","rank-math"),onClick:v,isActive:o,shortcutType:"primary",shortcutCharacter:"k"}),(y||o)&&wp.element.createElement(w,{addingLink:y,stopAddingLink:function(){h(!1),u()},isActive:o,activeAttributes:a,value:l,onChange:s,contentRef:d}))},_={name:"core/link",title:(0,t.__)("Link","rank-math"),tagName:"a",className:null,attributes:{url:"href",type:"data-type",id:"data-id",target:"target",rel:"rel"},__unstablePasteRule:function(t,r){var i=r.html,a=r.plainText;if((0,e.isCollapsed)(t))return t;var l=(i||a).replace(/<[^>]+>/g,"").trim();return(0,n.isURL)(l)?(window.console.log("Created link:\n\n",l),(0,e.applyFormat)(t,{type:"core/link",attributes:{url:(0,o.decodeEntities)(l)}})):t},edit:E},x=["name"];function A(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}wp.domReady((function(){[_].forEach((function(t){var r=t.name,n=A(t,x);r&&((0,e.unregisterFormatType)("core/link"),(0,e.registerFormatType)(r,n))}))}))}()}();
assets/admin/js/gutenberg.js CHANGED
@@ -1 +1 @@
1
- !function(){var e={184:function(e,t){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)){if(r.length){var o=a.apply(null,r);o&&e.push(o)}}else if("object"===i)if(r.toString===Object.prototype.toString)for(var u in r)n.call(r,u)&&r[u]&&e.push(u);else e.push(r.toString())}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(r=function(){return a}.apply(t,[]))||(e.exports=r)}()},759:function(e,t,r){var n=r(363);function a(e){return n.createElement("svg",e,n.createElement("g",{fill:"#fff"},[n.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}),n.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},363:function(e){"use strict";e.exports=React}},t={};function r(n){var a=t[n];if(void 0!==a)return a.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){"use strict";var e={};r.r(e),r.d(e,{deleteSchema:function(){return Ge},refreshResults:function(){return De},resetDirtyMetadata:function(){return T},resetRedirection:function(){return H},saveSchema:function(){return Le},saveTemplate:function(){return Ve},schemaUpdated:function(){return xe},setEditingSchemaId:function(){return Ne},setEditorTab:function(){return Fe},setTemplateTab:function(){return He},setVersion:function(){return Pe},toggleFrontendScore:function(){return b},toggleIsDiviPageSettingsBarActive:function(){return Ie},toggleIsDiviRankMathModalActive:function(){return Oe},toggleLoaded:function(){return Se},toggleSchemaEditor:function(){return Re},toggleSchemaTemplates:function(){return Ue},toggleSnippetEditor:function(){return Q},toggleTrendsCta:function(){return Y},updateAIScore:function(){return We},updateAdvancedRobots:function(){return v},updateAnalysisScore:function(){return w},updateAppData:function(){return h},updateAppUi:function(){return m},updateBreadcrumbTitle:function(){return S},updateCanonicalUrl:function(){return k},updateDescription:function(){return R},updateEditSchema:function(){return ze},updateEditSchemas:function(){return Ke},updateFacebookDescription:function(){return P},updateFacebookHasOverlay:function(){return E},updateFacebookImage:function(){return I},updateFacebookImageID:function(){return O},updateFacebookImageOverlay:function(){return A},updateFacebookTitle:function(){return D},updateFeaturedImage:function(){return U},updateHasRedirect:function(){return K},updateKeywords:function(){return y},updateKeywordsData:function(){return qe},updatePermalink:function(){return C},updatePillarContent:function(){return g},updatePostID:function(){return j},updatePrimaryTermID:function(){return x},updateRedirection:function(){return N},updateRedirectionItem:function(){return F},updateRobots:function(){return _},updateSchemas:function(){return Be},updateSelectedKeyword:function(){return Te},updateSerpDescription:function(){return J},updateSerpSlug:function(){return $},updateSerpTitle:function(){return W},updateSnippetPreviewType:function(){return X},updateTitle:function(){return M},updateTwitterAppCountry:function(){return _e},updateTwitterAppDescription:function(){return fe},updateTwitterAppGoogleplayID:function(){return we},updateTwitterAppGoogleplayName:function(){return ke},updateTwitterAppGoogleplayUrl:function(){return ve},updateTwitterAppIpadID:function(){return ye},updateTwitterAppIpadName:function(){return ge},updateTwitterAppIpadUrl:function(){return be},updateTwitterAppIphoneID:function(){return de},updateTwitterAppIphoneName:function(){return he},updateTwitterAppIphoneUrl:function(){return me},updateTwitterAuthor:function(){return ne},updateTwitterCardType:function(){return ee},updateTwitterDescription:function(){return re},updateTwitterHasOverlay:function(){return oe},updateTwitterImage:function(){return ie},updateTwitterImageID:function(){return ae},updateTwitterImageOverlay:function(){return ue},updateTwitterPlayerSize:function(){return se},updateTwitterPlayerStreamCtype:function(){return pe},updateTwitterPlayerStreamUrl:function(){return le},updateTwitterPlayerUrl:function(){return ce},updateTwitterTitle:function(){return te},updateTwitterUseFacebook:function(){return Z}});var t={};r.r(t),r.d(t,{appData:function(){return et},appUi:function(){return it}});var n={};r.r(n),r.d(n,{getAdvancedRobots:function(){return ft},getAnalysisScore:function(){return ct},getAppData:function(){return ot},getBreadcrumbTitle:function(){return ht},getCanonicalUrl:function(){return dt},getContentAIScore:function(){return Er},getDescription:function(){return Mt},getDirtyMetadata:function(){return ut},getEditSchemas:function(){return Zt},getEditingSchema:function(){return er},getEditorTab:function(){return rr},getFacebookAuthor:function(){return Dt},getFacebookDescription:function(){return Tt},getFacebookHasOverlay:function(){return Ot},getFacebookImage:function(){return It},getFacebookImageID:function(){return Pt},getFacebookImageOverlay:function(){return Et},getFacebookTitle:function(){return St},getFeaturedImage:function(){return Rt},getFeaturedImageHtml:function(){return Ut},getKeywords:function(){return st},getKeywordsData:function(){return Or},getPermalink:function(){return Ct},getPillarContent:function(){return lt},getPostID:function(){return At},getPreviewSchema:function(){return tr},getPrimaryTermID:function(){return xt},getRedirectionID:function(){return Nt},getRedirectionItem:function(){return Kt},getRedirectionType:function(){return Ft},getRedirectionUrl:function(){return Ht},getRichSnippets:function(){return mt},getRobots:function(){return pt},getSchemas:function(){return Yt},getSelectedKeyword:function(){return bt},getSerpDescription:function(){return Vt},getSerpSlug:function(){return Gt},getSerpTitle:function(){return Lt},getShowScoreFrontend:function(){return yt},getSnippetPreviewType:function(){return Wt},getTemplateTab:function(){return nr},getTitle:function(){return jt},getTwitterAppCountry:function(){return Sr},getTwitterAppDescription:function(){return dr},getTwitterAppGoogleplayID:function(){return kr},getTwitterAppGoogleplayName:function(){return vr},getTwitterAppGoogleplayUrl:function(){return _r},getTwitterAppIpadID:function(){return gr},getTwitterAppIpadName:function(){return br},getTwitterAppIpadUrl:function(){return wr},getTwitterAppIphoneID:function(){return hr},getTwitterAppIphoneName:function(){return mr},getTwitterAppIphoneUrl:function(){return yr},getTwitterAuthor:function(){return cr},getTwitterCardType:function(){return ir},getTwitterDescription:function(){return ur},getTwitterHasOverlay:function(){return pr},getTwitterImage:function(){return lr},getTwitterImageID:function(){return sr},getTwitterImageOverlay:function(){return fr},getTwitterPlayerSize:function(){return Dr},getTwitterPlayerStream:function(){return Pr},getTwitterPlayerStreamCtype:function(){return Ir},getTwitterPlayerUrl:function(){return Tr},getTwitterTitle:function(){return or},getTwitterUseFacebook:function(){return ar},hasRedirect:function(){return Bt},hasSchemaUpdated:function(){return Xt},isDiviPageSettingsBarActive:function(){return vt},isDiviRankMathModalActive:function(){return _t},isLoaded:function(){return gt},isPro:function(){return kt},isRefreshing:function(){return wt},isSchemaEditorOpen:function(){return Jt},isSchemaTemplatesOpen:function(){return Qt},isSnippetEditorOpen:function(){return qt},isTrendsCtaOpen:function(){return $t}});var a=jQuery,i=r.n(a),o=wp.i18n,u=wp.data,c=wp.element,s=wp.plugins,l=wp.hooks,p=wp.editPost;function f(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 d=new(function(){function e(){var t,r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),n=null,(r="map")in(t=this)?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n}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():i()("#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={},i().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)}}])&&f(t.prototype,r),n&&f(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}());function h(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=(0,l.applyFilters)("rank_math_sanitize_data",t,e,r),null!==n&&(n=(0,l.applyFilters)("rank_math_sanitize_meta_value",n,e,r)),n=null===n?t:n,(0,l.doAction)("rank_math_data_changed",e,t,r),{type:"RANK_MATH_APP_DATA",key:e,value:t,metaKey:r,metaValue:n}}function m(e,t){return(0,l.doAction)("rank_math_update_app_ui",e,t),{type:"RANK_MATH_APP_UI",key:e,value:t}}function y(e){return d.setVariable("focuskw",e.split(",")[0]),rankMathEditor.refresh("keyword"),h("keywords",e,"rank_math_focus_keyword")}function g(e){return h("pillarContent",e,"rank_math_pillar_content",!0===e?"on":"off")}function b(e){return h("showScoreFrontend",e,"rank_math_dont_show_seo_score",!0===e?"off":"on")}function w(e){return h("score",e,"rank_math_seo_score")}function k(e){return h("canonicalUrl",e,"rank_math_canonical_url")}function v(e){return h("advancedRobots",e,"rank_math_advanced_robots")}function _(e){return h("robots",e,"rank_math_robots",Object.keys(e))}function S(e){return h("breadcrumbTitle",e,"rank_math_breadcrumb_title")}function T(){return h("dirtyMetadata",{})}function D(e){return h("facebookTitle",e,"rank_math_facebook_title")}function P(e){return h("facebookDescription",e,"rank_math_facebook_description")}function I(e){return h("facebookImage",e,"rank_math_facebook_image")}function O(e){return h("facebookImageID",e,"rank_math_facebook_image_id")}function E(e){return h("facebookHasOverlay",e,"rank_math_facebook_enable_image_overlay",!0===e?"on":"off")}function A(e){return h("facebookImageOverlay",e,"rank_math_facebook_image_overlay")}function j(e){return rankMath.objectID=e,h("postID",e)}function C(e){return h("permalink",e,"permalink")}function M(e){return h("title",e,"rank_math_title")}function R(e){return h("description",e,"rank_math_description")}function U(e){return h("featuredImage",e)}function x(e,t){return h("primaryTerm",parseInt(e),"rank_math_primary_"+t)}function N(e,t){return h(e,t)}function F(e){return m("redirectionItem",e)}function H(){return m("redirectionItem",{})}function K(e){return m("hasRedirect",e)}var B=rankMathAnalyzer,z=lodash,L=document.createElement("div");function G(e){return e&&"string"==typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,"").replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,""),L.innerHTML=e,e=L.textContent,L.textContent=""),e}var V=function(e,t){return e=(e=B.Helpers.cleanText(e)).replace(/\r?\n|\r/g," "),t?(0,z.truncate)(e,{length:t,separator:" "}):e};function q(e){var t=rankMathEditor.assessor.dataCollector.getData(),r=t.excerpt,n=function(e){if((0,z.isEmpty)(e))return"";e=B.Helpers.stripScript(e),e=B.Helpers.stripStyle(e),e=(0,z.unescape)(e).replace(/\[caption[^\]]*\](.*)\[\/caption\]/g,"");var t=(0,z.filter)(B.Helpers.matchParagraphs(e,!0,!0),(function(e){return""!==e.trim()}));if(!t.length)return"";var r=rankMathEditor.getPrimaryKeyword();if(""!==r){var n=(0,z.filter)(t,(function(e){return(0,z.includes)(e.toLowerCase(),r.toLowerCase())}));if(0<n.length)return V(n[0],160)}return V(t[0],160)}(t.content),a=(0,z.isUndefined)(r)||(0,z.isEmpty)(r)?n:(0,z.unescape)(r);if(d.setVariable("excerpt",a),d.setVariable("seo_description",a),""!==(e=G((0,l.applyFilters)("rankMath/description",e))))return B.Helpers.cleanText(e);if(!(0,z.isUndefined)(r)&&!(0,z.isEmpty)(r))return B.Helpers.cleanText(r);var i=(0,z.unescape)(rankMath.assessor.serpData.descriptionTemplate);return(0,z.isUndefined)(i)||""===i?n:B.Helpers.cleanText(i)}function W(e){return e=d.swap(""!==e?e:rankMath.assessor.serpData.titleTemplate),rankMathEditor.refresh("title"),m("serpTitle",e)}function $(e){return e=""!==e?e:rankMathEditor.assessor.dataCollector.getSlug(),rankMathEditor.refresh("permalink"),m("serpSlug",e)}function J(e){return e=d.swap(q(e)),rankMathEditor.refresh("description"),m("serpDescription",e)}function Q(e){return m("isSnippetEditorOpen",e)}function X(e){return m("snippetPreviewType",e)}function Y(e){return m("isTrendsCtaOpen",e)}function Z(e){return h("twitterUseFacebook",e,"rank_math_twitter_use_facebook",!0===e?"on":"off")}function ee(e){return h("twitterCardType",e,"rank_math_twitter_card_type")}function te(e){return h("twitterTitle",e,"rank_math_twitter_title")}function re(e){return h("twitterDescription",e,"rank_math_twitter_description")}function ne(e){return h("twitterAuthor",e,"rank_math_twitter_author")}function ae(e){return h("twitterImageID",e,"rank_math_twitter_image_id")}function ie(e){return h("twitterImage",e,"rank_math_twitter_image")}function oe(e){return h("twitterHasOverlay",e,"rank_math_twitter_enable_image_overlay",!0===e?"on":"off")}function ue(e){return h("twitterImageOverlay",e,"rank_math_twitter_image_overlay")}function ce(e){return h("twitterPlayerUrl",e,"rank_math_twitter_player_url")}function se(e){return h("twitterPlayerSize",e,"rank_math_twitter_player_size")}function le(e){return h("twitterPlayerStream",e,"rank_math_twitter_player_stream")}function pe(e){return h("twitterPlayerStreamCtype",e,"rank_math_twitter_player_stream_ctype")}function fe(e){return h("twitterAppDescription",e,"rank_math_twitter_app_description")}function de(e){return h("twitterAppIphoneID",e,"rank_math_twitter_app_iphone_id")}function he(e){return h("twitterAppIphoneName",e,"rank_math_twitter_app_iphone_name")}function me(e){return h("twitterAppIphoneUrl",e,"rank_math_twitter_app_iphone_url")}function ye(e){return h("twitterAppIpadID",e,"rank_math_twitter_app_ipad_id")}function ge(e){return h("twitterAppIpadName",e,"rank_math_twitter_app_ipad_name")}function be(e){return h("twitterAppIpadUrl",e,"rank_math_twitter_app_ipad_url")}function we(e){return h("twitterAppGoogleplayID",e,"rank_math_twitter_app_googleplay_id")}function ke(e){return h("twitterAppGoogleplayName",e,"rank_math_twitter_app_googleplay_name")}function ve(e){return h("twitterAppGoogleplayUrl",e,"rank_math_twitter_app_googleplay_url")}function _e(e){return h("twitterAppCountry",e,"rank_math_twitter_app_country")}function Se(e){return m("isLoaded",e)}function Te(e){return m("selectedKeyword",e)}function De(){return m("refreshResults",Date.now())}function Pe(){return m("isPro",!0)}function Ie(e){return m("isDiviPageSettingsBarActive",e)}function Oe(e){return m("isDiviRankMathModalActive",e)}var Ee=wp.apiFetch,Ae=r.n(Ee);function je(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 Ce(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?je(Object(r),!0).forEach((function(t){Me(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):je(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Me(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Re(e){return m("isSchemaEditorOpen",e)}function Ue(e){return m("isSchemaTemplatesOpen",e)}function xe(e){return m("schemaUpdated",e)}function Ne(e){return m("editingSchemaId",e)}function Fe(e){return m("editorTab",e)}function He(e){return m("templateTab",e)}function Ke(e){return m("editSchemas",e)}function Be(e){return h("schemas",e)}function ze(e,t){var r=Ce({},(0,u.select)("rank-math").getEditSchemas());return r[e]=t,m("editSchemas",r)}function Le(e,t){var r=Ce({},(0,u.select)("rank-math").getSchemas());return r[e]=t,h("schemas",r)}function Ge(e){var t=Ce({},(0,u.select)("rank-math").getSchemas());return delete t[e],(0,l.doAction)("rank_math_schema_trash",e),h("schemas",t,"rank_math_delete_"+e,"")}function Ve(e,t,r){return Ae()({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}),(0,z.get)(rankMath,"isTemplateScreen",!1)&&(document.title=(0,o.__)("Edit Schema","rank-math"),window.history.pushState(null,"",r.link.replace(/&amp;/g,"&")))}),2e3),rankMath.schemaTemplates.push({schema:e,title:e.metadata.title,type:e["@type"]})})),t({loading:!0}),{type:"DONT_WANT_TO_DO_SOMETHING"}}function qe(e){return m("keywordsData",e)}function We(e){return h("contentAIScore",e,"rank_math_contentai_score")}function $e(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 Je(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?$e(Object(r),!0).forEach((function(t){Qe(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$e(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Qe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Xe=rankMath.assessor.serpData,Ye=rankMath.assessor.hasRedirection,Ze={postID:null,title:Xe.title?Xe.title:Xe.titleTemplate,description:Xe.description,keywords:Xe.focusKeywords,pillarContent:Xe.pillarContent,featuredImage:"",permalink:!1,primaryTerm:Xe.primaryTerm,robots:Xe.robots,advancedRobots:Xe.advancedRobots,canonicalUrl:Xe.canonicalUrl,breadcrumbTitle:Xe.breadcrumbTitle,showScoreFrontend:Xe.showScoreFrontend,redirectionID:Ye?(0,z.get)(rankMath.assessor,"redirection.id",""):"",redirectionType:Ye?(0,z.get)(rankMath.assessor,"redirection.header_code",""):"",redirectionUrl:Ye?(0,z.get)(rankMath.assessor,"redirection.url_to",""):"",facebookTitle:Xe.facebookTitle,facebookImage:Xe.facebookImage,facebookImageID:Xe.facebookImageID,facebookAuthor:Xe.facebookAuthor,facebookDescription:Xe.facebookDescription,facebookHasOverlay:Xe.facebookHasOverlay,facebookImageOverlay:Xe.facebookImageOverlay,twitterTitle:Xe.twitterTitle,twitterImage:Xe.twitterImage,twitterAuthor:Xe.twitterAuthor,twitterImageID:Xe.twitterImageID,twitterCardType:Xe.twitterCardType,twitterUseFacebook:Xe.twitterUseFacebook,twitterDescription:Xe.twitterDescription,twitterHasOverlay:Xe.twitterHasOverlay,twitterImageOverlay:Xe.twitterImageOverlay,twitterPlayerUrl:Xe.twitterPlayerUrl,twitterPlayerSize:Xe.twitterPlayerSize,twitterPlayerStream:Xe.twitterPlayerStream,twitterPlayerStreamCtype:Xe.twitterPlayerStreamCtype,twitterAppDescription:Xe.twitterAppDescription,twitterAppIphoneName:Xe.twitterAppIphoneName,twitterAppIphoneID:Xe.twitterAppIphoneID,twitterAppIphoneUrl:Xe.twitterAppIphoneUrl,twitterAppIpadName:Xe.twitterAppIpadName,twitterAppIpadID:Xe.twitterAppIpadID,twitterAppIpadUrl:Xe.twitterAppIpadUrl,twitterAppGoogleplayName:Xe.twitterAppGoogleplayName,twitterAppGoogleplayID:Xe.twitterAppGoogleplayID,twitterAppGoogleplayUrl:Xe.twitterAppGoogleplayUrl,twitterAppCountry:Xe.twitterAppCountry,schemas:(0,z.get)(rankMath,"schemas",{}),score:0,contentAIScore:{},dirtyMetadata:{}};function et(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ze,r=arguments.length>1?arguments[1]:void 0,n=Je({},t.dirtyMetadata);return!1!==r.metaKey&&(n[r.metaKey]=r.metaValue),"RANK_MATH_APP_DATA"===r.type?"dirtyMetadata"===r.key?Je(Je({},t),{},{dirtyMetadata:r.value}):Je(Je({},t),{},(Qe(e={},r.key,r.value),Qe(e,"dirtyMetadata",n),e)):t}function tt(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 rt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?tt(Object(r),!0).forEach((function(t){nt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):tt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function nt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var at={isLoaded:!1,isPro:!1,selectedKeyword:{tag:"",index:0,data:{value:""}},hasRedirect:rankMath.assessor.hasRedirection&&!(0,z.isEmpty)((0,z.get)(rankMath.assessor,"redirection.id",""))&&!(0,z.isEmpty)((0,z.get)(rankMath.assessor,"redirection.url_to","")),serpTitle:"",serpSlug:"",serpDescription:"",isSnippetEditorOpen:!1,snippetPreviewType:"",refreshResults:"",redirectionItem:{},isTrendsCtaOpen:!1,editorTab:"",templateTab:"",editSchemas:{},editingSchemaId:"",isSchemaEditorOpen:!1,isSchemaTemplatesOpen:!1,schemaUpdated:!1,isDiviRankMathModalActive:!1,isDiviPageSettingsBarActive:!1,keywordsData:(0,z.get)(rankMath,"ca_data",[])};function it(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:at,t=arguments.length>1?arguments[1]:void 0;return"RANK_MATH_APP_UI"===t.type?rt(rt({},e),{},nt({},t.key,t.value)):e}function ot(e){return e.appData}function ut(e){return e.appData.dirtyMetadata}function ct(e){return e.appData.score}function st(e){return e.appData.keywords}function lt(e){return e.appData.pillarContent}function pt(e){return e.appData.robots}function ft(e){return e.appData.advancedRobots}function dt(e){return e.appData.canonicalUrl}function ht(e){return e.appData.breadcrumbTitle}function mt(e){return"todo"}function yt(e){return e.appData.showScoreFrontend}function gt(e){return e.appUi.isLoaded}function bt(e){return e.appUi.selectedKeyword}function wt(e){return e.appUi.refreshResults}function kt(e){return e.appUi.isPro}function vt(e){return e.appUi.isDiviPageSettingsBarActive}function _t(e){return e.appUi.isDiviRankMathModalActive}function St(e){return e.appData.facebookTitle}function Tt(e){return e.appData.facebookDescription}function Dt(e){return e.appData.facebookAuthor}function Pt(e){return e.appData.facebookImageID}function It(e){return e.appData.facebookImage}function Ot(e){return e.appData.facebookHasOverlay}function Et(e){return""!==e.appData.facebookImageOverlay?e.appData.facebookImageOverlay:"play"}function At(e){return e.appData.postID}function jt(e){return e.appData.title}function Ct(e){return e.appData.permalink}function Mt(e){return e.appData.description}function Rt(e){return e.appData.featuredImage}function Ut(e){var t=e.appData.featuredImage;return'<img src="'.concat(t.source_url,'" alt="').concat(t.alt_text,'" >')}function xt(e){return e.appData.primaryTerm}function Nt(e){return e.appData.redirectionID}function Ft(e){return e.appData.redirectionType}function Ht(e){return e.appData.redirectionUrl}function Kt(e){return e.appUi.redirectionItem}function Bt(e){return e.appUi.hasRedirect}var zt=wp.url;function Lt(e){return G(e.appUi.serpTitle)}function Gt(e){return(0,zt.safeDecodeURIComponent)(e.appUi.serpSlug)}function Vt(e){return e.appUi.serpDescription}function qt(e){return e.appUi.isSnippetEditorOpen}function Wt(e){return e.appUi.snippetPreviewType}function $t(e){return e.appUi.isTrendsCtaOpen}function Jt(e){return e.appUi.isSchemaEditorOpen}function Qt(e){return e.appUi.isSchemaTemplatesOpen}function Xt(e){return e.appUi.schemaUpdated}function Yt(e){return e.appData.schemas}function Zt(e){return e.appUi.editSchemas}function er(e){return{id:e.appUi.editingSchemaId,data:e.appUi.editSchemas[e.appUi.editingSchemaId]}}function tr(e){return e.appData.schemas[e.appUi.editingSchemaId]}function rr(e){return e.appUi.editorTab}function nr(e){return e.appUi.templateTab}function ar(e){return e.appData.twitterUseFacebook}function ir(e){return e.appData.twitterCardType}function or(e){return e.appData.twitterTitle}function ur(e){return e.appData.twitterDescription}function cr(e){return e.appData.twitterAuthor}function sr(e){return e.appData.twitterImageID}function lr(e){return e.appData.twitterImage}function pr(e){return e.appData.twitterHasOverlay}function fr(e){return""!==e.appData.twitterImageOverlay?e.appData.twitterImageOverlay:"play"}function dr(e){return e.appData.twitterAppDescription}function hr(e){return e.appData.twitterAppIphoneID}function mr(e){return e.appData.twitterAppIphoneName}function yr(e){return e.appData.twitterAppIphoneUrl}function gr(e){return e.appData.twitterAppIpadID}function br(e){return e.appData.twitterAppIpadName}function wr(e){return e.appData.twitterAppIpadUrl}function kr(e){return e.appData.twitterAppGoogleplayID}function vr(e){return e.appData.twitterAppGoogleplayName}function _r(e){return e.appData.twitterAppGoogleplayUrl}function Sr(e){return e.appData.twitterAppCountry}function Tr(e){return e.appData.twitterPlayerUrl}function Dr(e){return e.appData.twitterPlayerSize}function Pr(e){return e.appData.twitterPlayerStream}function Ir(e){return e.appData.twitterPlayerStreamCtype}function Or(e){return e.appUi.keywordsData}function Er(e){return e.appData.contentAIScore}var Ar=(0,u.registerStore)("rank-math",{reducer:(0,u.combineReducers)(t),selectors:n,actions:e});function jr(){return Ar}var Cr={"&amp;":"&","&quot;":'"',"&#39;":"'"},Mr=/&(?:amp|quot|#(0+)?39);/g,Rr=RegExp(Mr.source);var Ur=function(e){return e&&Rr.test(e)?e.replace(Mr,(function(e){return Cr[e]||"'"})):e||""};function xr(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 Nr=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 B.Analyzer({i18n:o,analyses:rankMath.assessor.researchesTests}),this.dataCollector=t,this.registerRefresh(),this.updateKeywordResult=this.updateKeywordResult.bind(this),this.sanitizeData=this.sanitizeData.bind(this),(0,l.addAction)("rankMath_analysis_keywordUsage_updated","rank-math",this.updateKeywordResult),(0,l.addFilter)("rank_math_sanitize_meta_value","rank-math",this.sanitizeData),(0,l.addFilter)("rank_math_sanitize_data","rank-math",this.sanitizeData)}var t,r,n;return t=e,r=[{key:"updateKeywordResult",value:function(e,t){rankMathEditor.resultManager.update(e,{keywordNotUsed:t}),e===this.getSelectedKeyword().toLowerCase()&&(0,u.dispatch)("rank-math").refreshResults()}},{key:"sanitizeData",value:function(e,t){return"schemas"===t||(0,z.isObject)(e)||(0,z.isEmpty)(e)?e:B.Helpers.sanitizeAppData(e)}},{key:"getPaper",value:function(e,t){var r=jr().getState(),n=this.dataCollector.getData(),a=new B.Paper("",{locale:rankMath.localeFull});return a.setTitle(r.appUi.serpTitle),a.setPermalink(n.slug),a.setDescription(r.appUi.serpDescription),a.setUrl(n.permalink),a.setText(Ur((0,l.applyFilters)("rank_math_content",n.content))),a.setKeyword(e),a.setKeywords(t),a.setSchema(r.appData.schemas),(0,z.isUndefined)(n.featuredImage)||(a.setThumbnail(n.featuredImage.source_url),a.setThumbnailAltText(B.Helpers.removeDiacritics(n.featuredImage.alt_text))),(0,z.isEmpty)(r.appData.contentAIScore)&&(0,z.isEmpty)(rankMath.ca_keyword)||a.setContentAI(!0),a}},{key:"registerRefresh",value:function(){var e=this;this.refresh=(0,z.debounce)((function(t){var r=jr().getState();if(!1!==r.appUi.isLoaded){var n=r.appData.keywords.split(","),a=[];(0,l.doAction)("rank_math_"+t+"_refresh"),n.map((function(t,r){var i=e.getPaper(B.Helpers.removeDiacritics(t),n),o=0===r?rankMath.assessor.researchesTests:e.filterTests(e.getSecondaryKeywordTests());a.push(e.analyzer.analyzeSome(o,i).then((function(e){rankMathEditor.resultManager.update(i.getKeyword(),e,0===r),0===r&&(0,u.dispatch)("rank-math").updateAnalysisScore(rankMathEditor.resultManager.getScore(i.getKeyword()))}))),Promise.all(a).then((function(){(0,u.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=jr().getState().appData.keywords;return B.Helpers.removeDiacritics(e.split(",")[0])}},{key:"getSelectedKeyword",value:function(){var e=jr().getState(),t=""!==e.appUi.selectedKeyword.data.value?e.appUi.selectedKeyword.data.value:e.appData.keywords.split(",")[0];return B.Helpers.removeDiacritics(t)}},{key:"getResearch",value:function(e){return this.analyzer.researcher.getResearch(e)}},{key:"filterTests",value:function(e){return(0,z.intersection)(e,rankMath.assessor.researchesTests)}}],r&&xr(t.prototype,r),n&&xr(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),Fr=Nr;function Hr(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 Kr=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&&((0,l.addFilter)("rankMath_analysis_contentLength","rank-math",this.contentLength),(0,l.addFilter)("rankMath_analysis_contentLength_boundaries","rank-math",this.contentLengthBoundary))}var t,r,n;return t=e,(r=[{key:"contentLength",value:function(e){return{hasScore:e.hasScore,failed:(0,o.__)("Content is %1$d words long. Consider using at least 300 words.","rank-math"),tooltipText:(0,o.__)("Minimum recommended content length should be 300 words.","rank-math"),emptyContent:(0,o.sprintf)((0,o.__)("Content should be %1$s long.","rank-math"),'<a href="https://s.rankmath.com/100contentlength" target="_blank">'+(0,o.__)("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}}}}])&&Hr(t.prototype,r),n&&Hr(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function Br(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 zr=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(e){jr(),this.resultManager=new B.ResultManager,this.assessor=new Fr(e),new Kr,(0,l.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"}}])&&Br(t.prototype,r),n&&Br(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),Lr=function(){return!((0,z.isNil)(window.wp)||(0,z.isNil)(wp.data)||(0,z.isNil)(wp.data.select("core/editor"))||!window.document.body.classList.contains("block-editor-page")||!(0,z.isFunction)(wp.data.select("core/editor").getEditedPostAttribute))};function Gr(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 Vr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Gr(Object(r),!0).forEach((function(t){Wr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Gr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function qr(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 Wr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var $r=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Wr(this,"initialize",!1),Wr(this,"isSavingRedirection",!1),Wr(this,"isSavingSchemas",!1),Wr(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,r,n;return t=e,(r=[{key:"collectGutenbergData",value:function(){if(Lr())return this._coreEditorSelect||(this._coreEditorSelect=(0,u.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=""),(0,zt.safeDecodeURIComponent)(this._coreEditorSelect.getPermalink())}},{key:"getSlug",value:function(){var e=this.getPostAttribute("generated_slug");return"auto-draft"!==e&&"en"===rankMath.locale||(e=""),(0,zt.safeDecodeURIComponent)(this.getPostAttribute("slug")||e)}},{key:"getFeaturedImage",value:function(){var e=this.getPostAttribute("featured_media");if(this.isValidMediaId(e)){var t=(0,u.select)("core").getMedia(e);if(!(0,z.isUndefined)(t))return t}}},{key:"isValidMediaId",value:function(e){return"number"==typeof e&&0<e}},{key:"getPostAttribute",value:function(e){return Lr()?(this._coreEditorSelect||(this._coreEditorSelect=(0,u.select)("core/editor")),this._coreEditorSelect.getEditedPostAttribute(e)):""}},{key:"subscribeToGutenberg",value:function(){this.subscriber=(0,z.debounce)(this.refresh,500),(0,u.subscribe)(this.subscriber),(0,u.subscribe)(this.isSavingPost)}},{key:"refresh",value:function(){var e=Vr({},this._data);this._data=this.collectGutenbergData(),this.handleEditorChange(e)}},{key:"isSavingPost",value:function(){var e=(0,u.select)("core/editor");if(!e.isAutosavingPost()&&e.isSavingPost()){var t=(0,u.select)("rank-math").getDirtyMetadata();(0,z.isEmpty)(t)||(Ae()({method:"POST",path:"rankmath/v1/updateMeta",data:{objectID:rankMath.objectID,objectType:rankMath.objectType,meta:t,content:this.getPostAttribute("content")}}).then((function(e){(0,l.doAction)("rank_math_metadata_updated",e)})),(0,u.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=(0,u.select)("rank-math").getSchemas();if(!(0,z.isEmpty)(t)&&(0,u.select)("rank-math").hasSchemaUpdated()){this.isSavingSchemas=!0;var r=(0,u.select)("rank-math").getEditSchemas();Ae()({method:"POST",path:"rankmath/v1/updateSchemas",data:{objectID:this.getPostID(),objectType:rankMath.objectType,schemas:t}}).then((function(n){var a=Vr({},t),i=Vr({},r);(0,z.isEmpty)(n)||(0,z.map)(n,(function(e,t){a["schema-"+e]=Vr({},a[t]),i["schema-"+e]=Vr({},i[t]),delete a[t],delete i[t]})),(0,u.dispatch)("rank-math").updateSchemas(a),(0,u.dispatch)("rank-math").updateEditSchemas(i),setTimeout((function(){(0,u.dispatch)("rank-math").schemaUpdated(!1),(0,l.doAction)("rank_math_schema_changed"),e.isSavingSchemas=!1}),2e3)}))}}}},{key:"saveRedirection",value:function(){var e=this;if(!this.isSavingRedirection){var t=(0,u.select)("rank-math").getRedirectionItem();if(!(0,z.isEmpty)(t)){this.isSavingRedirection=!0,t.objectID=this.getPostID(),t.redirectionSources=this.getPermalink();var r=(0,u.dispatch)("rank-math"),n=(0,u.dispatch)("core/notices");r.resetRedirection(),Ae()({method:"POST",path:"rankmath/v1/updateRedirection",data:t}).then((function(t){"delete"===t.action?(n.createInfoNotice(t.message,{id:"redirectionNotice"}),r.updateRedirection("redirectionID",0)):"update"===t.action?n.createInfoNotice(t.message,{id:"redirectionNotice"}):"new"===t.action&&(r.updateRedirection("redirectionID",t.id),n.createSuccessNotice(t.message,{id:"redirectionNotice"})),setTimeout((function(){e.isSavingRedirection=!1,n.removeNotice("redirectionNotice")}),2e3)}))}}}},{key:"autoCreateRedirectionNotice",value:function(){if(rankMath.assessor.hasRedirection&&(0,z.get)(rankMath,["assessor","autoCreateRedirection"],!1)&&!(0,u.select)("core/editor").isEditedPostNew()&&!1!==this.oldSlug){var e=this.getSlug();if(this.oldSlug!==e){var t=(0,u.dispatch)("core/notices");this.oldSlug=e,t.createSuccessNotice((0,o.__)("Auto redirection created.","rank-math"),{id:"redirectionAutoCreationNotice"}),setTimeout((function(){t.removeNotice("redirectionAutoCreationNotice")}),2e3)}}}},{key:"handleEditorChange",value:function(e){var t=this,r={id:"handleIDChange",slug:"handleSlugChange",title:"handleTitleChange",excerpt:"handleExcerptChange",content:"handleContentChange",featuredImage:"handleFeaturedImageChange"};if((0,z.isInteger)(e.id))return this.initialize?void(0,z.forEach)(r,(function(r,n){t._data[n]!==e[n]&&t[r](t._data[n])})):(this.initialize=!0,(0,z.forEach)(r,(function(e,r){t[e](t._data[r])})),void rankMathEditor.refresh("init"));(0,u.dispatch)("rank-math").refreshResults()}},{key:"handleIDChange",value:function(e){(0,u.dispatch)("rank-math").updatePostID(e),(0,u.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){d.setVariable("title",e),d.setVariable("term",e),d.setVariable("author",e),(0,u.dispatch)("rank-math").updateSerpTitle((0,u.select)("rank-math").getTitle()),rankMathEditor.refresh("title")}},{key:"handleExcerptChange",value:function(e){d.setVariable("excerpt",e),d.setVariable("excerpt_only",e),d.setVariable("wc_shortdesc",e),d.setVariable("seo_description",e),(0,u.dispatch)("rank-math").updateSerpDescription((0,u.select)("rank-math").getDescription())}},{key:"handleFeaturedImageChange",value:function(e){(0,u.dispatch)("rank-math").updateFeaturedImage(e),rankMathEditor.refresh("featuredImage")}},{key:"handleContentChange",value:function(){(0,u.dispatch)("rank-math").updateSerpDescription((0,u.select)("rank-math").getDescription()),rankMathEditor.refresh("content")}},{key:"getData",value:function(){return this._data}}])&&qr(t.prototype,r),n&&qr(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),Jr=wp.blocks;function Qr(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 Xr=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.core=(0,u.select)("core"),this.coreEditor=(0,u.select)("core/editor"),this.reusableBlocks={},this.getContent=this.getContent.bind(this),this.reusableBlockEvent=this.reusableBlockEvent.bind(this),this.init()}var t,r,n;return t=e,r=[{key:"init",value:function(){(0,l.addFilter)("rank_math_content","rank-math",this.getContent,11),(0,u.subscribe)((0,z.debounce)(this.reusableBlockEvent,500))}},{key:"getContent",value:function(e){return(0,z.isEmpty)(this.reusableBlocks)||(0,z.forEach)(this.reusableBlocks,(function(t){(0,z.forEach)(t,(function(t){e+=t}))})),e}},{key:"reusableBlockEvent",value:function(){var e=this,t=this.coreEditor.getPostEdits().blocks;if(!(0,z.isEmpty)(t)){var r=!1;(0,z.forEach)(t,(function(t){if((0,Jr.isReusableBlock)(t)){var n=t.clientId,a=e.getBlockContent(t.attributes.ref);if((0,z.isUndefined)(e.reusableBlocks[t.attributes.ref])||(0,z.isUndefined)(e.reusableBlocks[t.attributes.ref][n]))return(0,z.isUndefined)(e.reusableBlocks[t.attributes.ref])&&(e.reusableBlocks[t.attributes.ref]={}),e.reusableBlocks[t.attributes.ref][n]=a,void(r=!0);e.reusableBlocks[t.attributes.ref][n].content!==a&&(e.reusableBlocks[t.attributes.ref][n]=a,r=!0)}})),r&&rankMathEditor.refresh("content")}}},{key:"getBlockContent",value:function(e){var t=this.core.getEditedEntityRecord("postType","wp_block",e);if(t&&t.content)return(0,z.isFunction)(t.content)?t.content(t):t.content}}],r&&Qr(t.prototype,r),n&&Qr(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),Yr=Xr,Zr=r(184),en=r.n(Zr),tn=r(759),rn=r.n(tn);function nn(e){return 100<e?"bad-fk dark":80<e?"good-fk":50<e?"ok-fk":"bad-fk"}var an=(0,u.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 "+nn(t)},wp.element.createElement("div",{className:"score-text"},t," / 100"))}));function on(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var un=(0,u.withSelect)((function(e){var t=e("rank-math");return{isLoaded:t.isLoaded(),score:t.getAnalysisScore()}}))((function(e){var t,r=e.isLoaded,n=e.score,a=en()("rank-math-toolbar-score",(on(t={},nn(n),!0),on(t,"loading",!r),t));return wp.element.createElement("div",{className:a},wp.element.createElement(rn(),null),wp.element.createElement(an,null))})),cn=wp.components,sn=(0,u.withSelect)((function(e){var t=e("rank-math"),r=t.getTwitterUseFacebook()?t.getFacebookTitle():t.getTwitterTitle();return(0,z.isEmpty)(r)&&(r=t.getSerpTitle()),{title:r,permalink:e("core/editor").getPermalink()}}))((function(e){var t=e.title,r=e.permalink,n=encodeURI(r),a=encodeURI(t);return wp.element.createElement(c.Fragment,null,wp.element.createElement("p",null,(0,o.__)("Notify your readers by sharing!","rank-math")),wp.element.createElement("div",{className:"rank-math-social-share-buttons"},wp.element.createElement("div",{className:"rank-math-share-button rm-facebook"},wp.element.createElement("a",{href:"https://www.facebook.com/sharer/sharer.php?u="+n,target:"_blank",rel:"noopener noreferrer"},wp.element.createElement(cn.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="+n+"&text="+a,target:"_blank",rel:"noopener noreferrer"},wp.element.createElement(cn.Dashicon,{icon:"twitter"}))),wp.element.createElement("div",{className:"rank-math-share-button rm-email"},wp.element.createElement("a",{href:"mailto:?subject="+a+"&body="+n,target:"_blank",rel:"noopener noreferrer"},wp.element.createElement(cn.Dashicon,{icon:"email"})))))}));function ln(e){return ln="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},ln(e)}function pn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fn(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 dn(e,t){return dn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},dn(e,t)}function hn(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=gn(e);if(t){var a=gn(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return mn(this,r)}}function mn(e,t){if(t&&("object"===ln(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return yn(e)}function yn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gn(e){return gn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},gn(e)}var bn=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&dn(e,t)}(i,e);var t,r,n,a=hn(i);function i(){var e;return pn(this,i),(e=a.apply(this,arguments)).onChange=e.onChange.bind(yn(e)),e.state={loading:!0,availableTerms:[],selectedTerms:[]},e}return t=i,(r=[{key:"componentDidMount",value:function(){this.fetchTerms()}},{key:"componentWillUnmount",value:function(){(0,z.invoke)(this.fetchRequest,["abort"])}},{key:"componentDidUpdate",value:function(e,t){if(e.selectedTermIds.length<this.props.selectedTermIds.length){var r=(0,z.difference)(this.props.selectedTermIds,e.selectedTermIds)[0];if(!this.termIsAvailable(r))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=Ae()({path:(0,zt.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){(0,u.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(cn.Spinner,{key:"spinner"}),wp.element.createElement("p",{key:"spinner-text"},"Loading")]:wp.element.createElement(cn.SelectControl,{label:(0,o.__)("Select Primary Term","rank-math"),value:this.props.primaryTermID,options:this.state.selectedTerms.map((function(e){return{value:e.id,label:(0,z.unescape)(e.name)}})),onChange:this.onChange})}}])&&fn(t.prototype,r),n&&fn(t,n),Object.defineProperty(t,"prototype",{writable:!1}),i}(c.Component);function wn(e){return wn="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},wn(e)}function kn(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 vn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _n(e,t){return _n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_n(e,t)}function Sn(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=Dn(e);if(t){var a=Dn(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return Tn(this,r)}}function Tn(e,t){if(t&&("object"===wn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Dn(e){return Dn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Dn(e)}var Pn=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_n(e,t)}(i,e);var t,r,n,a=Sn(i);function i(){return vn(this,i),a.apply(this,arguments)}return t=i,r&&kn(t.prototype,r),n&&kn(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}(bn),In=(0,u.withSelect)((function(e,t){var r=t.slug,n=e("core").getTaxonomy(r),a=e("core/editor").getEditedPostAttribute;return{taxonomy:n,selectedTermIds:n?a(n.rest_base):[],primaryTermID:e("rank-math").getPrimaryTermID()}}))(Pn),On=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(cn.PanelRow,{className:"rank-math-primary-term-picker"},wp.element.createElement(In,e))):wp.element.createElement(t,e)};function En(e){return En="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},En(e)}function An(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 jn(e,t,r){return t&&An(e.prototype,t),r&&An(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}var Cn=jn((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){i().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&&i()(".suggestion-copy").on("click",(function(e){e.preventDefault(),new ClipboardJS(".suggestion-copy");var t=i()(this).parent().next(".suggestion-title"),r=t.html();t.text("Link Copied"),setTimeout((function(){t.html(r)}),1500)})),"object"!==("undefined"==typeof tinymce?"undefined":En(tinymce)))return!0;var t=null,r=null;i()(".suggestion-insert").on("click",(function(e){e.preventDefault();var n,a,o,c,s=i()(this);if(s.hasClass("clicked"))return!0;if(null!==tinymce.activeEditor&&!0!==tinymce.activeEditor.isHidden()&&"content"===tinymce.activeEditor.id){t=tinymce.activeEditor,r=i()(t.getBody());var l=t.selection.getContent()||"";if(r.find("a[data-mce-selected]").length){var p=(n="",a="",o=t.selection.getStart(),(c=t.dom.getParent(o,"a[href]"))||(a=t.selection.getContent({format:"raw"}))&&-1!==a.indexOf("</a>")&&((n=a.match(/href="([^">]+)"/))&&n[1]&&(c=t.$('a[href="'+n[1]+'"]',o)[0]),c&&t.selection.select(c)),c);t.dom.setAttribs(p,{href:s.data("url")}),i()(p).text()!==l&&t.insertContent(l)}else l.length?t.insertContent('<a href="'+s.data("url")+'">'+l+"</a>"):t.insertContent('<a href="'+s.data("url")+'">'+s.data("text")+"</a>")}else if(Lr()){var f=(0,u.select)("core/block-editor").getSelectedBlock().clientId,d=(0,u.select)("core/block-editor").getSelectionStart().offset,h=(0,u.select)("core/block-editor").getSelectionEnd().offset;if(document.getSelection){var m=document.getSelection();if(m.rangeCount){var y=m.getRangeAt(0),g=i()("#block-"+f).text().substring(d,h),b=document.createElement("a");b.href=s.data("url"),b.innerText=""!==g?g:s.data("text"),y.deleteContents(),y.insertNode(b);var w=m.focusNode.innerHTML;(0,u.dispatch)("core/block-editor").updateBlock(f,{attributes:{content:w}})}}}var k=s.closest(".suggestion-item").find(".suggestion-title"),v=k.html();k.text("Link Inserted"),s.addClass("clicked"),setTimeout((function(){var e,t,r,n;k.html(v),s.removeClass("clicked"),!0===rankMath.postSettings.useFocusKeyword&&(t=s,r=(e=k).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)})),i()("#rank_math_metabox_link_suggestions").find("h2").append(i()("#rank-math-link-suggestions-tooltip").html())}})),Mn=(0,cn.createSlotFill)("RankMathAfterEditor"),Rn=Mn.Fill,Un=Mn.Slot,xn=function(e){var t=e.children,r=e.className;return wp.element.createElement(Rn,null,wp.element.createElement(cn.PanelRow,{className:r},t))};xn.Slot=Un;var Nn=xn,Fn=(0,cn.createSlotFill)("RankMathAdvancedTab"),Hn=Fn.Fill,Kn=Fn.Slot,Bn=function(e){var t=e.children,r=e.className;return wp.element.createElement(Hn,null,wp.element.createElement(cn.PanelRow,{className:r},t))};Bn.Slot=Kn;var zn=Bn,Ln=(0,cn.createSlotFill)("RankMathAfterFocusKeyword"),Gn=Ln.Fill,Vn=Ln.Slot,qn=function(e){var t=e.children,r=e.className;return wp.element.createElement(Gn,null,wp.element.createElement("div",{className:r},t))};qn.Slot=Vn;var Wn=qn;function $n(e){return $n="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},$n(e)}function Jn(){return Jn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Jn.apply(this,arguments)}function Qn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xn(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 Yn(){return Yn="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=Zn(e,t);if(n){var a=Object.getOwnPropertyDescriptor(n,t);return a.get?a.get.call(arguments.length<3?e:r):a.value}},Yn.apply(this,arguments)}function Zn(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=na(e)););return e}function ea(e,t){return ea=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ea(e,t)}function ta(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=na(e);if(t){var a=na(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return ra(this,r)}}function ra(e,t){if(t&&("object"===$n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function na(e){return na=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},na(e)}var aa=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ea(e,t)}(i,e);var t,r,n,a=ta(i);function i(){return Qn(this,i),a.apply(this,arguments)}return t=i,(r=[{key:"setup",value:function(e){jr(),this.registerSlots=this.registerSlots.bind(this),(0,l.addAction)("rank_math_loaded","rank-math",this.registerSlots,0),Yn(na(i.prototype),"setup",this).call(this,e),this.registerSidebar(),this.registerPostPublish(),this.registerPrimaryTermSelector(),new Cn,new Yr}},{key:"registerSlots",value:function(){this.RankMathAfterEditor=Nn,this.RankMathAfterFocusKeyword=Wn,this.RankMathAdvancedTab=zn,this.slots={AfterEditor:Nn,AfterFocusKeyword:Wn,AdvancedTab:zn}}},{key:"registerSidebar",value:function(){(0,s.registerPlugin)("rank-math",{icon:wp.element.createElement(un,null),render:function(){return wp.element.createElement(c.Fragment,null,wp.element.createElement(p.PluginSidebarMoreMenuItem,{target:"seo-by-rank-math-sidebar",icon:wp.element.createElement(un,null)},o.__("Rank Math","rank-math")),wp.element.createElement(p.PluginSidebar,{name:"seo-by-rank-math-sidebar",title:o.__("Rank Math","rank-math"),className:"rank-math-sidebar-panel"},(0,l.applyFilters)("rank_math_app",{})()))}})}},{key:"registerPostPublish",value:function(){(0,s.registerPlugin)("rank-math-post-publish",{render:function(){return wp.element.createElement(p.PluginPostPublishPanel,{initialOpen:!0,title:o.__("Rank Math","rank-math"),className:"rank-math-post-publish",icon:wp.element.createElement(c.Fragment,null)},wp.element.createElement(sn,null))}})}},{key:"registerPrimaryTermSelector",value:function(){(0,l.addFilter)("editor.PostTaxonomyType","rank-math",(function(e){return function(t){return wp.element.createElement(On,Jn({TermComponent:e},t))}}))}},{key:"updatePermalink",value:function(e){(0,u.dispatch)("core/editor").editPost({slug:e})}},{key:"updatePermalinkSanitize",value:function(e){e=this.assessor.getResearch("slugify")(e),(0,u.dispatch)("core/editor").editPost({slug:e})}}])&&Xn(t.prototype,r),n&&Xn(t,n),Object.defineProperty(t,"prototype",{writable:!1}),i}(zr);i()(document).ready((function(){window.rankMathEditor=new aa,window.rankMathGutenberg=window.rankMathEditor,window.rankMathEditor.setup(new $r)}))}()}();
1
+ !function(){var e={184:function(e,t){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)){if(r.length){var o=a.apply(null,r);o&&e.push(o)}}else if("object"===i){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){e.push(r.toString());continue}for(var u in r)n.call(r,u)&&r[u]&&e.push(u)}}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(r=function(){return a}.apply(t,[]))||(e.exports=r)}()},759:function(e,t,r){var n=r(363);function a(e){return n.createElement("svg",e,n.createElement("g",{fill:"#fff"},[n.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}),n.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},363:function(e){"use strict";e.exports=React}},t={};function r(n){var a=t[n];if(void 0!==a)return a.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){"use strict";var e={};r.r(e),r.d(e,{deleteSchema:function(){return Ge},refreshResults:function(){return De},resetDirtyMetadata:function(){return T},resetRedirection:function(){return H},saveSchema:function(){return Le},saveTemplate:function(){return Ve},schemaUpdated:function(){return xe},setEditingSchemaId:function(){return Ne},setEditorTab:function(){return Fe},setTemplateTab:function(){return He},setVersion:function(){return Pe},toggleFrontendScore:function(){return b},toggleIsDiviPageSettingsBarActive:function(){return Ie},toggleIsDiviRankMathModalActive:function(){return Oe},toggleLoaded:function(){return Se},toggleSchemaEditor:function(){return Re},toggleSchemaTemplates:function(){return Ue},toggleSnippetEditor:function(){return Q},toggleTrendsCta:function(){return Y},updateAIScore:function(){return We},updateAdvancedRobots:function(){return v},updateAnalysisScore:function(){return w},updateAppData:function(){return h},updateAppUi:function(){return m},updateBreadcrumbTitle:function(){return S},updateCanonicalUrl:function(){return k},updateDescription:function(){return R},updateEditSchema:function(){return ze},updateEditSchemas:function(){return Ke},updateFacebookDescription:function(){return P},updateFacebookHasOverlay:function(){return E},updateFacebookImage:function(){return I},updateFacebookImageID:function(){return O},updateFacebookImageOverlay:function(){return A},updateFacebookTitle:function(){return D},updateFeaturedImage:function(){return U},updateHasRedirect:function(){return K},updateKeywords:function(){return y},updateKeywordsData:function(){return qe},updatePermalink:function(){return C},updatePillarContent:function(){return g},updatePostID:function(){return j},updatePrimaryTermID:function(){return x},updateRedirection:function(){return N},updateRedirectionItem:function(){return F},updateRobots:function(){return _},updateSchemas:function(){return Be},updateSelectedKeyword:function(){return Te},updateSerpDescription:function(){return J},updateSerpSlug:function(){return $},updateSerpTitle:function(){return W},updateSnippetPreviewType:function(){return X},updateTitle:function(){return M},updateTwitterAppCountry:function(){return _e},updateTwitterAppDescription:function(){return fe},updateTwitterAppGoogleplayID:function(){return we},updateTwitterAppGoogleplayName:function(){return ke},updateTwitterAppGoogleplayUrl:function(){return ve},updateTwitterAppIpadID:function(){return ye},updateTwitterAppIpadName:function(){return ge},updateTwitterAppIpadUrl:function(){return be},updateTwitterAppIphoneID:function(){return de},updateTwitterAppIphoneName:function(){return he},updateTwitterAppIphoneUrl:function(){return me},updateTwitterAuthor:function(){return ne},updateTwitterCardType:function(){return ee},updateTwitterDescription:function(){return re},updateTwitterHasOverlay:function(){return oe},updateTwitterImage:function(){return ie},updateTwitterImageID:function(){return ae},updateTwitterImageOverlay:function(){return ue},updateTwitterPlayerSize:function(){return se},updateTwitterPlayerStreamCtype:function(){return pe},updateTwitterPlayerStreamUrl:function(){return le},updateTwitterPlayerUrl:function(){return ce},updateTwitterTitle:function(){return te},updateTwitterUseFacebook:function(){return Z}});var t={};r.r(t),r.d(t,{appData:function(){return et},appUi:function(){return it}});var n={};r.r(n),r.d(n,{getAdvancedRobots:function(){return ft},getAnalysisScore:function(){return ct},getAppData:function(){return ot},getBreadcrumbTitle:function(){return ht},getCanonicalUrl:function(){return dt},getContentAIScore:function(){return Er},getDescription:function(){return Mt},getDirtyMetadata:function(){return ut},getEditSchemas:function(){return Zt},getEditingSchema:function(){return er},getEditorTab:function(){return rr},getFacebookAuthor:function(){return Dt},getFacebookDescription:function(){return Tt},getFacebookHasOverlay:function(){return Ot},getFacebookImage:function(){return It},getFacebookImageID:function(){return Pt},getFacebookImageOverlay:function(){return Et},getFacebookTitle:function(){return St},getFeaturedImage:function(){return Rt},getFeaturedImageHtml:function(){return Ut},getKeywords:function(){return st},getKeywordsData:function(){return Or},getPermalink:function(){return Ct},getPillarContent:function(){return lt},getPostID:function(){return At},getPreviewSchema:function(){return tr},getPrimaryTermID:function(){return xt},getRedirectionID:function(){return Nt},getRedirectionItem:function(){return Kt},getRedirectionType:function(){return Ft},getRedirectionUrl:function(){return Ht},getRichSnippets:function(){return mt},getRobots:function(){return pt},getSchemas:function(){return Yt},getSelectedKeyword:function(){return bt},getSerpDescription:function(){return Vt},getSerpSlug:function(){return Gt},getSerpTitle:function(){return Lt},getShowScoreFrontend:function(){return yt},getSnippetPreviewType:function(){return Wt},getTemplateTab:function(){return nr},getTitle:function(){return jt},getTwitterAppCountry:function(){return Sr},getTwitterAppDescription:function(){return dr},getTwitterAppGoogleplayID:function(){return kr},getTwitterAppGoogleplayName:function(){return vr},getTwitterAppGoogleplayUrl:function(){return _r},getTwitterAppIpadID:function(){return gr},getTwitterAppIpadName:function(){return br},getTwitterAppIpadUrl:function(){return wr},getTwitterAppIphoneID:function(){return hr},getTwitterAppIphoneName:function(){return mr},getTwitterAppIphoneUrl:function(){return yr},getTwitterAuthor:function(){return cr},getTwitterCardType:function(){return ir},getTwitterDescription:function(){return ur},getTwitterHasOverlay:function(){return pr},getTwitterImage:function(){return lr},getTwitterImageID:function(){return sr},getTwitterImageOverlay:function(){return fr},getTwitterPlayerSize:function(){return Dr},getTwitterPlayerStream:function(){return Pr},getTwitterPlayerStreamCtype:function(){return Ir},getTwitterPlayerUrl:function(){return Tr},getTwitterTitle:function(){return or},getTwitterUseFacebook:function(){return ar},hasRedirect:function(){return Bt},hasSchemaUpdated:function(){return Xt},isDiviPageSettingsBarActive:function(){return vt},isDiviRankMathModalActive:function(){return _t},isLoaded:function(){return gt},isPro:function(){return kt},isRefreshing:function(){return wt},isSchemaEditorOpen:function(){return Jt},isSchemaTemplatesOpen:function(){return Qt},isSnippetEditorOpen:function(){return qt},isTrendsCtaOpen:function(){return $t}});var a=jQuery,i=r.n(a),o=wp.i18n,u=wp.data,c=wp.element,s=wp.plugins,l=wp.hooks,p=wp.editPost;function f(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 d=new(function(){function e(){var t,r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),n=null,(r="map")in(t=this)?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n}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():i()("#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={},i().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)}}])&&f(t.prototype,r),n&&f(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}());function h(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=(0,l.applyFilters)("rank_math_sanitize_data",t,e,r),null!==n&&(n=(0,l.applyFilters)("rank_math_sanitize_meta_value",n,e,r)),n=null===n?t:n,(0,l.doAction)("rank_math_data_changed",e,t,r),{type:"RANK_MATH_APP_DATA",key:e,value:t,metaKey:r,metaValue:n}}function m(e,t){return(0,l.doAction)("rank_math_update_app_ui",e,t),{type:"RANK_MATH_APP_UI",key:e,value:t}}function y(e){return d.setVariable("focuskw",e.split(",")[0]),rankMathEditor.refresh("keyword"),h("keywords",e,"rank_math_focus_keyword")}function g(e){return h("pillarContent",e,"rank_math_pillar_content",!0===e?"on":"off")}function b(e){return h("showScoreFrontend",e,"rank_math_dont_show_seo_score",!0===e?"off":"on")}function w(e){return h("score",e,"rank_math_seo_score")}function k(e){return h("canonicalUrl",e,"rank_math_canonical_url")}function v(e){return h("advancedRobots",e,"rank_math_advanced_robots")}function _(e){return h("robots",e,"rank_math_robots",Object.keys(e))}function S(e){return h("breadcrumbTitle",e,"rank_math_breadcrumb_title")}function T(){return h("dirtyMetadata",{})}function D(e){return h("facebookTitle",e,"rank_math_facebook_title")}function P(e){return h("facebookDescription",e,"rank_math_facebook_description")}function I(e){return h("facebookImage",e,"rank_math_facebook_image")}function O(e){return h("facebookImageID",e,"rank_math_facebook_image_id")}function E(e){return h("facebookHasOverlay",e,"rank_math_facebook_enable_image_overlay",!0===e?"on":"off")}function A(e){return h("facebookImageOverlay",e,"rank_math_facebook_image_overlay")}function j(e){return rankMath.objectID=e,h("postID",e)}function C(e){return h("permalink",e,"permalink")}function M(e){return h("title",e,"rank_math_title")}function R(e){return h("description",e,"rank_math_description")}function U(e){return h("featuredImage",e)}function x(e,t){return h("primaryTerm",parseInt(e),"rank_math_primary_"+t)}function N(e,t){return h(e,t)}function F(e){return m("redirectionItem",e)}function H(){return m("redirectionItem",{})}function K(e){return m("hasRedirect",e)}var B=rankMathAnalyzer,z=lodash,L=document.createElement("div");function G(e){return e&&"string"==typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,"").replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,""),L.innerHTML=e,e=L.textContent,L.textContent=""),e}var V=function(e,t){return e=(e=B.Helpers.cleanText(e)).replace(/\r?\n|\r/g," "),t?(0,z.truncate)(e,{length:t,separator:" "}):e};function q(e){var t=rankMathEditor.assessor.dataCollector.getData(),r=t.excerpt,n=function(e){if((0,z.isEmpty)(e))return"";e=B.Helpers.stripScript(e),e=B.Helpers.stripStyle(e),e=(0,z.unescape)(e).replace(/\[caption[^\]]*\](.*)\[\/caption\]/g,"");var t=(0,z.filter)(B.Helpers.matchParagraphs(e,!0,!0),(function(e){return""!==e.trim()}));if(!t.length)return"";var r=rankMathEditor.getPrimaryKeyword();if(""!==r){var n=(0,z.filter)(t,(function(e){return(0,z.includes)(e.toLowerCase(),r.toLowerCase())}));if(0<n.length)return V(n[0],160)}return V(t[0],160)}(t.content),a=(0,z.isUndefined)(r)||(0,z.isEmpty)(r)?n:(0,z.unescape)(r);if(d.setVariable("excerpt",a),d.setVariable("seo_description",a),""!==(e=G((0,l.applyFilters)("rankMath/description",e))))return B.Helpers.cleanText(e);if(!(0,z.isUndefined)(r)&&!(0,z.isEmpty)(r))return B.Helpers.cleanText(r);var i=(0,z.unescape)(rankMath.assessor.serpData.descriptionTemplate);return(0,z.isUndefined)(i)||""===i?n:B.Helpers.cleanText(i)}function W(e){return e=d.swap(""!==e?e:rankMath.assessor.serpData.titleTemplate),rankMathEditor.refresh("title"),m("serpTitle",e)}function $(e){return e=""!==e?e:rankMathEditor.assessor.dataCollector.getSlug(),rankMathEditor.refresh("permalink"),m("serpSlug",e)}function J(e){return e=d.swap(q(e)),rankMathEditor.refresh("description"),m("serpDescription",e)}function Q(e){return m("isSnippetEditorOpen",e)}function X(e){return m("snippetPreviewType",e)}function Y(e){return m("isTrendsCtaOpen",e)}function Z(e){return h("twitterUseFacebook",e,"rank_math_twitter_use_facebook",!0===e?"on":"off")}function ee(e){return h("twitterCardType",e,"rank_math_twitter_card_type")}function te(e){return h("twitterTitle",e,"rank_math_twitter_title")}function re(e){return h("twitterDescription",e,"rank_math_twitter_description")}function ne(e){return h("twitterAuthor",e,"rank_math_twitter_author")}function ae(e){return h("twitterImageID",e,"rank_math_twitter_image_id")}function ie(e){return h("twitterImage",e,"rank_math_twitter_image")}function oe(e){return h("twitterHasOverlay",e,"rank_math_twitter_enable_image_overlay",!0===e?"on":"off")}function ue(e){return h("twitterImageOverlay",e,"rank_math_twitter_image_overlay")}function ce(e){return h("twitterPlayerUrl",e,"rank_math_twitter_player_url")}function se(e){return h("twitterPlayerSize",e,"rank_math_twitter_player_size")}function le(e){return h("twitterPlayerStream",e,"rank_math_twitter_player_stream")}function pe(e){return h("twitterPlayerStreamCtype",e,"rank_math_twitter_player_stream_ctype")}function fe(e){return h("twitterAppDescription",e,"rank_math_twitter_app_description")}function de(e){return h("twitterAppIphoneID",e,"rank_math_twitter_app_iphone_id")}function he(e){return h("twitterAppIphoneName",e,"rank_math_twitter_app_iphone_name")}function me(e){return h("twitterAppIphoneUrl",e,"rank_math_twitter_app_iphone_url")}function ye(e){return h("twitterAppIpadID",e,"rank_math_twitter_app_ipad_id")}function ge(e){return h("twitterAppIpadName",e,"rank_math_twitter_app_ipad_name")}function be(e){return h("twitterAppIpadUrl",e,"rank_math_twitter_app_ipad_url")}function we(e){return h("twitterAppGoogleplayID",e,"rank_math_twitter_app_googleplay_id")}function ke(e){return h("twitterAppGoogleplayName",e,"rank_math_twitter_app_googleplay_name")}function ve(e){return h("twitterAppGoogleplayUrl",e,"rank_math_twitter_app_googleplay_url")}function _e(e){return h("twitterAppCountry",e,"rank_math_twitter_app_country")}function Se(e){return m("isLoaded",e)}function Te(e){return m("selectedKeyword",e)}function De(){return m("refreshResults",Date.now())}function Pe(){return m("isPro",!0)}function Ie(e){return m("isDiviPageSettingsBarActive",e)}function Oe(e){return m("isDiviRankMathModalActive",e)}var Ee=wp.apiFetch,Ae=r.n(Ee);function je(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 Ce(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?je(Object(r),!0).forEach((function(t){Me(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):je(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Me(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Re(e){return m("isSchemaEditorOpen",e)}function Ue(e){return m("isSchemaTemplatesOpen",e)}function xe(e){return m("schemaUpdated",e)}function Ne(e){return m("editingSchemaId",e)}function Fe(e){return m("editorTab",e)}function He(e){return m("templateTab",e)}function Ke(e){return m("editSchemas",e)}function Be(e){return h("schemas",e)}function ze(e,t){var r=Ce({},(0,u.select)("rank-math").getEditSchemas());return r[e]=t,m("editSchemas",r)}function Le(e,t){var r=Ce({},(0,u.select)("rank-math").getSchemas());return r[e]=t,h("schemas",r)}function Ge(e){var t=Ce({},(0,u.select)("rank-math").getSchemas());return delete t[e],(0,l.doAction)("rank_math_schema_trash",e),h("schemas",t,"rank_math_delete_"+e,"")}function Ve(e,t,r){return Ae()({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}),(0,z.get)(rankMath,"isTemplateScreen",!1)&&(document.title=(0,o.__)("Edit Schema","rank-math"),window.history.pushState(null,"",r.link.replace(/&amp;/g,"&")))}),2e3),rankMath.schemaTemplates.push({schema:e,title:e.metadata.title,type:e["@type"]})})),t({loading:!0}),{type:"DONT_WANT_TO_DO_SOMETHING"}}function qe(e){return m("keywordsData",e)}function We(e){return h("contentAIScore",e,"rank_math_contentai_score")}function $e(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 Je(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?$e(Object(r),!0).forEach((function(t){Qe(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$e(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Qe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Xe=rankMath.assessor.serpData,Ye=rankMath.assessor.hasRedirection,Ze={postID:null,title:Xe.title?Xe.title:Xe.titleTemplate,description:Xe.description,keywords:Xe.focusKeywords,pillarContent:Xe.pillarContent,featuredImage:"",permalink:!1,primaryTerm:Xe.primaryTerm,robots:Xe.robots,advancedRobots:Xe.advancedRobots,canonicalUrl:Xe.canonicalUrl,breadcrumbTitle:Xe.breadcrumbTitle,showScoreFrontend:Xe.showScoreFrontend,redirectionID:Ye?(0,z.get)(rankMath.assessor,"redirection.id",""):"",redirectionType:Ye?(0,z.get)(rankMath.assessor,"redirection.header_code",""):"",redirectionUrl:Ye?(0,z.get)(rankMath.assessor,"redirection.url_to",""):"",facebookTitle:Xe.facebookTitle,facebookImage:Xe.facebookImage,facebookImageID:Xe.facebookImageID,facebookAuthor:Xe.facebookAuthor,facebookDescription:Xe.facebookDescription,facebookHasOverlay:Xe.facebookHasOverlay,facebookImageOverlay:Xe.facebookImageOverlay,twitterTitle:Xe.twitterTitle,twitterImage:Xe.twitterImage,twitterAuthor:Xe.twitterAuthor,twitterImageID:Xe.twitterImageID,twitterCardType:Xe.twitterCardType,twitterUseFacebook:Xe.twitterUseFacebook,twitterDescription:Xe.twitterDescription,twitterHasOverlay:Xe.twitterHasOverlay,twitterImageOverlay:Xe.twitterImageOverlay,twitterPlayerUrl:Xe.twitterPlayerUrl,twitterPlayerSize:Xe.twitterPlayerSize,twitterPlayerStream:Xe.twitterPlayerStream,twitterPlayerStreamCtype:Xe.twitterPlayerStreamCtype,twitterAppDescription:Xe.twitterAppDescription,twitterAppIphoneName:Xe.twitterAppIphoneName,twitterAppIphoneID:Xe.twitterAppIphoneID,twitterAppIphoneUrl:Xe.twitterAppIphoneUrl,twitterAppIpadName:Xe.twitterAppIpadName,twitterAppIpadID:Xe.twitterAppIpadID,twitterAppIpadUrl:Xe.twitterAppIpadUrl,twitterAppGoogleplayName:Xe.twitterAppGoogleplayName,twitterAppGoogleplayID:Xe.twitterAppGoogleplayID,twitterAppGoogleplayUrl:Xe.twitterAppGoogleplayUrl,twitterAppCountry:Xe.twitterAppCountry,schemas:(0,z.get)(rankMath,"schemas",{}),score:0,contentAIScore:{},dirtyMetadata:{}};function et(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ze,r=arguments.length>1?arguments[1]:void 0,n=Je({},t.dirtyMetadata);return!1!==r.metaKey&&(n[r.metaKey]=r.metaValue),"RANK_MATH_APP_DATA"===r.type?"dirtyMetadata"===r.key?Je(Je({},t),{},{dirtyMetadata:r.value}):Je(Je({},t),{},(Qe(e={},r.key,r.value),Qe(e,"dirtyMetadata",n),e)):t}function tt(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 rt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?tt(Object(r),!0).forEach((function(t){nt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):tt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function nt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var at={isLoaded:!1,isPro:!1,selectedKeyword:{tag:"",index:0,data:{value:""}},hasRedirect:rankMath.assessor.hasRedirection&&!(0,z.isEmpty)((0,z.get)(rankMath.assessor,"redirection.id",""))&&!(0,z.isEmpty)((0,z.get)(rankMath.assessor,"redirection.url_to","")),serpTitle:"",serpSlug:"",serpDescription:"",isSnippetEditorOpen:!1,snippetPreviewType:"",refreshResults:"",redirectionItem:{},isTrendsCtaOpen:!1,editorTab:"",templateTab:"",editSchemas:{},editingSchemaId:"",isSchemaEditorOpen:!1,isSchemaTemplatesOpen:!1,schemaUpdated:!1,isDiviRankMathModalActive:!1,isDiviPageSettingsBarActive:!1,keywordsData:(0,z.get)(rankMath,"ca_data",[])};function it(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:at,t=arguments.length>1?arguments[1]:void 0;return"RANK_MATH_APP_UI"===t.type?rt(rt({},e),{},nt({},t.key,t.value)):e}function ot(e){return e.appData}function ut(e){return e.appData.dirtyMetadata}function ct(e){return e.appData.score}function st(e){return e.appData.keywords}function lt(e){return e.appData.pillarContent}function pt(e){return e.appData.robots}function ft(e){return e.appData.advancedRobots}function dt(e){return e.appData.canonicalUrl}function ht(e){return e.appData.breadcrumbTitle}function mt(e){return"todo"}function yt(e){return e.appData.showScoreFrontend}function gt(e){return e.appUi.isLoaded}function bt(e){return e.appUi.selectedKeyword}function wt(e){return e.appUi.refreshResults}function kt(e){return e.appUi.isPro}function vt(e){return e.appUi.isDiviPageSettingsBarActive}function _t(e){return e.appUi.isDiviRankMathModalActive}function St(e){return e.appData.facebookTitle}function Tt(e){return e.appData.facebookDescription}function Dt(e){return e.appData.facebookAuthor}function Pt(e){return e.appData.facebookImageID}function It(e){return e.appData.facebookImage}function Ot(e){return e.appData.facebookHasOverlay}function Et(e){return""!==e.appData.facebookImageOverlay?e.appData.facebookImageOverlay:"play"}function At(e){return e.appData.postID}function jt(e){return e.appData.title}function Ct(e){return e.appData.permalink}function Mt(e){return e.appData.description}function Rt(e){return e.appData.featuredImage}function Ut(e){var t=e.appData.featuredImage;return'<img src="'.concat(t.source_url,'" alt="').concat(t.alt_text,'" >')}function xt(e){return e.appData.primaryTerm}function Nt(e){return e.appData.redirectionID}function Ft(e){return e.appData.redirectionType}function Ht(e){return e.appData.redirectionUrl}function Kt(e){return e.appUi.redirectionItem}function Bt(e){return e.appUi.hasRedirect}var zt=wp.url;function Lt(e){return G(e.appUi.serpTitle)}function Gt(e){return(0,zt.safeDecodeURIComponent)(e.appUi.serpSlug)}function Vt(e){return e.appUi.serpDescription}function qt(e){return e.appUi.isSnippetEditorOpen}function Wt(e){return e.appUi.snippetPreviewType}function $t(e){return e.appUi.isTrendsCtaOpen}function Jt(e){return e.appUi.isSchemaEditorOpen}function Qt(e){return e.appUi.isSchemaTemplatesOpen}function Xt(e){return e.appUi.schemaUpdated}function Yt(e){return e.appData.schemas}function Zt(e){return e.appUi.editSchemas}function er(e){return{id:e.appUi.editingSchemaId,data:e.appUi.editSchemas[e.appUi.editingSchemaId]}}function tr(e){return e.appData.schemas[e.appUi.editingSchemaId]}function rr(e){return e.appUi.editorTab}function nr(e){return e.appUi.templateTab}function ar(e){return e.appData.twitterUseFacebook}function ir(e){return e.appData.twitterCardType}function or(e){return e.appData.twitterTitle}function ur(e){return e.appData.twitterDescription}function cr(e){return e.appData.twitterAuthor}function sr(e){return e.appData.twitterImageID}function lr(e){return e.appData.twitterImage}function pr(e){return e.appData.twitterHasOverlay}function fr(e){return""!==e.appData.twitterImageOverlay?e.appData.twitterImageOverlay:"play"}function dr(e){return e.appData.twitterAppDescription}function hr(e){return e.appData.twitterAppIphoneID}function mr(e){return e.appData.twitterAppIphoneName}function yr(e){return e.appData.twitterAppIphoneUrl}function gr(e){return e.appData.twitterAppIpadID}function br(e){return e.appData.twitterAppIpadName}function wr(e){return e.appData.twitterAppIpadUrl}function kr(e){return e.appData.twitterAppGoogleplayID}function vr(e){return e.appData.twitterAppGoogleplayName}function _r(e){return e.appData.twitterAppGoogleplayUrl}function Sr(e){return e.appData.twitterAppCountry}function Tr(e){return e.appData.twitterPlayerUrl}function Dr(e){return e.appData.twitterPlayerSize}function Pr(e){return e.appData.twitterPlayerStream}function Ir(e){return e.appData.twitterPlayerStreamCtype}function Or(e){return e.appUi.keywordsData}function Er(e){return e.appData.contentAIScore}var Ar=(0,u.registerStore)("rank-math",{reducer:(0,u.combineReducers)(t),selectors:n,actions:e});function jr(){return Ar}var Cr={"&amp;":"&","&quot;":'"',"&#39;":"'"},Mr=/&(?:amp|quot|#(0+)?39);/g,Rr=RegExp(Mr.source);var Ur=function(e){return e&&Rr.test(e)?e.replace(Mr,(function(e){return Cr[e]||"'"})):e||""};function xr(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 Nr=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 B.Analyzer({i18n:o,analyses:rankMath.assessor.researchesTests}),this.dataCollector=t,this.registerRefresh(),this.updateKeywordResult=this.updateKeywordResult.bind(this),this.sanitizeData=this.sanitizeData.bind(this),(0,l.addAction)("rankMath_analysis_keywordUsage_updated","rank-math",this.updateKeywordResult),(0,l.addFilter)("rank_math_sanitize_meta_value","rank-math",this.sanitizeData),(0,l.addFilter)("rank_math_sanitize_data","rank-math",this.sanitizeData)}var t,r,n;return t=e,r=[{key:"updateKeywordResult",value:function(e,t){rankMathEditor.resultManager.update(e,{keywordNotUsed:t}),e===this.getSelectedKeyword().toLowerCase()&&(0,u.dispatch)("rank-math").refreshResults()}},{key:"sanitizeData",value:function(e,t){return"schemas"===t||(0,z.isObject)(e)||(0,z.isEmpty)(e)?e:B.Helpers.sanitizeAppData(e)}},{key:"getPaper",value:function(e,t){var r=jr().getState(),n=this.dataCollector.getData(),a=new B.Paper("",{locale:rankMath.localeFull});return a.setTitle(r.appUi.serpTitle),a.setPermalink(n.slug),a.setDescription(r.appUi.serpDescription),a.setUrl(n.permalink),a.setText(Ur((0,l.applyFilters)("rank_math_content",n.content))),a.setKeyword(e),a.setKeywords(t),a.setSchema(r.appData.schemas),(0,z.isUndefined)(n.featuredImage)||(a.setThumbnail(n.featuredImage.source_url),a.setThumbnailAltText(B.Helpers.removeDiacritics(n.featuredImage.alt_text))),(0,z.isEmpty)(r.appData.contentAIScore)&&(0,z.isEmpty)(rankMath.ca_keyword)||a.setContentAI(!0),a}},{key:"registerRefresh",value:function(){var e=this;this.refresh=(0,z.debounce)((function(t){var r=jr().getState();if(!1!==r.appUi.isLoaded){var n=r.appData.keywords.split(","),a=[];(0,l.doAction)("rank_math_"+t+"_refresh"),n.map((function(t,r){var i=e.getPaper(B.Helpers.removeDiacritics(t),n),o=0===r?rankMath.assessor.researchesTests:e.filterTests(e.getSecondaryKeywordTests());a.push(e.analyzer.analyzeSome(o,i).then((function(e){rankMathEditor.resultManager.update(i.getKeyword(),e,0===r),0===r&&(0,u.dispatch)("rank-math").updateAnalysisScore(rankMathEditor.resultManager.getScore(i.getKeyword()))}))),Promise.all(a).then((function(){(0,u.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=jr().getState().appData.keywords;return B.Helpers.removeDiacritics(e.split(",")[0])}},{key:"getSelectedKeyword",value:function(){var e=jr().getState(),t=""!==e.appUi.selectedKeyword.data.value?e.appUi.selectedKeyword.data.value:e.appData.keywords.split(",")[0];return B.Helpers.removeDiacritics(t)}},{key:"getResearch",value:function(e){return this.analyzer.researcher.getResearch(e)}},{key:"filterTests",value:function(e){return(0,z.intersection)(e,rankMath.assessor.researchesTests)}}],r&&xr(t.prototype,r),n&&xr(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),Fr=Nr;function Hr(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 Kr=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&&((0,l.addFilter)("rankMath_analysis_contentLength","rank-math",this.contentLength),(0,l.addFilter)("rankMath_analysis_contentLength_boundaries","rank-math",this.contentLengthBoundary))}var t,r,n;return t=e,(r=[{key:"contentLength",value:function(e){return{hasScore:e.hasScore,failed:(0,o.__)("Content is %1$d words long. Consider using at least 300 words.","rank-math"),tooltipText:(0,o.__)("Minimum recommended content length should be 300 words.","rank-math"),emptyContent:(0,o.sprintf)((0,o.__)("Content should be %1$s long.","rank-math"),'<a href="https://s.rankmath.com/100contentlength" target="_blank">'+(0,o.__)("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}}}}])&&Hr(t.prototype,r),n&&Hr(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function Br(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 zr=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(e){jr(),this.resultManager=new B.ResultManager,this.assessor=new Fr(e),new Kr,(0,l.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"}}])&&Br(t.prototype,r),n&&Br(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),Lr=function(){return!((0,z.isNil)(window.wp)||(0,z.isNil)(wp.data)||(0,z.isNil)(wp.data.select("core/editor"))||!window.document.body.classList.contains("block-editor-page")||!(0,z.isFunction)(wp.data.select("core/editor").getEditedPostAttribute))};function Gr(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 Vr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Gr(Object(r),!0).forEach((function(t){Wr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Gr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function qr(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 Wr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var $r=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Wr(this,"initialize",!1),Wr(this,"isSavingRedirection",!1),Wr(this,"isSavingSchemas",!1),Wr(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,r,n;return t=e,(r=[{key:"collectGutenbergData",value:function(){if(Lr())return this._coreEditorSelect||(this._coreEditorSelect=(0,u.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=""),(0,zt.safeDecodeURIComponent)(this._coreEditorSelect.getPermalink())}},{key:"getSlug",value:function(){var e=this.getPostAttribute("generated_slug");return"auto-draft"!==e&&"en"===rankMath.locale||(e=""),(0,zt.safeDecodeURIComponent)(this.getPostAttribute("slug")||e)}},{key:"getFeaturedImage",value:function(){var e=this.getPostAttribute("featured_media");if(this.isValidMediaId(e)){var t=(0,u.select)("core").getMedia(e);if(!(0,z.isUndefined)(t))return t}}},{key:"isValidMediaId",value:function(e){return"number"==typeof e&&0<e}},{key:"getPostAttribute",value:function(e){return Lr()?(this._coreEditorSelect||(this._coreEditorSelect=(0,u.select)("core/editor")),this._coreEditorSelect.getEditedPostAttribute(e)):""}},{key:"subscribeToGutenberg",value:function(){this.subscriber=(0,z.debounce)(this.refresh,500),(0,u.subscribe)(this.subscriber),(0,u.subscribe)(this.isSavingPost)}},{key:"refresh",value:function(){var e=Vr({},this._data);this._data=this.collectGutenbergData(),this.handleEditorChange(e)}},{key:"isSavingPost",value:function(){var e=(0,u.select)("core/editor");if(!e.isAutosavingPost()&&e.isSavingPost()){var t=(0,u.select)("rank-math").getDirtyMetadata();(0,z.isEmpty)(t)||(Ae()({method:"POST",path:"rankmath/v1/updateMeta",data:{objectID:rankMath.objectID,objectType:rankMath.objectType,meta:t,content:this.getPostAttribute("content")}}).then((function(e){(0,l.doAction)("rank_math_metadata_updated",e)})),(0,u.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=(0,u.select)("rank-math").getSchemas();if(!(0,z.isEmpty)(t)&&(0,u.select)("rank-math").hasSchemaUpdated()){this.isSavingSchemas=!0;var r=(0,u.select)("rank-math").getEditSchemas();Ae()({method:"POST",path:"rankmath/v1/updateSchemas",data:{objectID:this.getPostID(),objectType:rankMath.objectType,schemas:t}}).then((function(n){var a=Vr({},t),i=Vr({},r);(0,z.isEmpty)(n)||(0,z.map)(n,(function(e,t){a["schema-"+e]=Vr({},a[t]),i["schema-"+e]=Vr({},i[t]),delete a[t],delete i[t]})),(0,u.dispatch)("rank-math").updateSchemas(a),(0,u.dispatch)("rank-math").updateEditSchemas(i),setTimeout((function(){(0,u.dispatch)("rank-math").schemaUpdated(!1),(0,l.doAction)("rank_math_schema_changed"),e.isSavingSchemas=!1}),2e3)}))}}}},{key:"saveRedirection",value:function(){var e=this;if(!this.isSavingRedirection){var t=(0,u.select)("rank-math").getRedirectionItem();if(!(0,z.isEmpty)(t)){this.isSavingRedirection=!0,t.objectID=this.getPostID(),t.redirectionSources=this.getPermalink();var r=(0,u.dispatch)("rank-math"),n=(0,u.dispatch)("core/notices");r.resetRedirection(),Ae()({method:"POST",path:"rankmath/v1/updateRedirection",data:t}).then((function(t){"delete"===t.action?(n.createInfoNotice(t.message,{id:"redirectionNotice"}),r.updateRedirection("redirectionID",0)):"update"===t.action?n.createInfoNotice(t.message,{id:"redirectionNotice"}):"new"===t.action&&(r.updateRedirection("redirectionID",t.id),n.createSuccessNotice(t.message,{id:"redirectionNotice"})),setTimeout((function(){e.isSavingRedirection=!1,n.removeNotice("redirectionNotice")}),2e3)}))}}}},{key:"autoCreateRedirectionNotice",value:function(){if(rankMath.assessor.hasRedirection&&(0,z.get)(rankMath,["assessor","autoCreateRedirection"],!1)&&!(0,u.select)("core/editor").isEditedPostNew()&&!1!==this.oldSlug){var e=this.getSlug();if(this.oldSlug!==e){var t=(0,u.dispatch)("core/notices");this.oldSlug=e,t.createSuccessNotice((0,o.__)("Auto redirection created.","rank-math"),{id:"redirectionAutoCreationNotice"}),setTimeout((function(){t.removeNotice("redirectionAutoCreationNotice")}),2e3)}}}},{key:"handleEditorChange",value:function(e){var t=this,r={id:"handleIDChange",slug:"handleSlugChange",title:"handleTitleChange",excerpt:"handleExcerptChange",content:"handleContentChange",featuredImage:"handleFeaturedImageChange"};if((0,z.isInteger)(e.id))return this.initialize?void(0,z.forEach)(r,(function(r,n){t._data[n]!==e[n]&&t[r](t._data[n])})):(this.initialize=!0,(0,z.forEach)(r,(function(e,r){t[e](t._data[r])})),void rankMathEditor.refresh("init"));(0,u.dispatch)("rank-math").refreshResults()}},{key:"handleIDChange",value:function(e){(0,u.dispatch)("rank-math").updatePostID(e),(0,u.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){d.setVariable("title",e),d.setVariable("term",e),d.setVariable("author",e),(0,u.dispatch)("rank-math").updateSerpTitle((0,u.select)("rank-math").getTitle()),rankMathEditor.refresh("title")}},{key:"handleExcerptChange",value:function(e){d.setVariable("excerpt",e),d.setVariable("excerpt_only",e),d.setVariable("wc_shortdesc",e),d.setVariable("seo_description",e),(0,u.dispatch)("rank-math").updateSerpDescription((0,u.select)("rank-math").getDescription())}},{key:"handleFeaturedImageChange",value:function(e){(0,u.dispatch)("rank-math").updateFeaturedImage(e),rankMathEditor.refresh("featuredImage")}},{key:"handleContentChange",value:function(){(0,u.dispatch)("rank-math").updateSerpDescription((0,u.select)("rank-math").getDescription()),rankMathEditor.refresh("content")}},{key:"getData",value:function(){return this._data}}])&&qr(t.prototype,r),n&&qr(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),Jr=wp.blocks;function Qr(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 Xr=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.core=(0,u.select)("core"),this.coreEditor=(0,u.select)("core/editor"),this.reusableBlocks={},this.getContent=this.getContent.bind(this),this.reusableBlockEvent=this.reusableBlockEvent.bind(this),this.init()}var t,r,n;return t=e,r=[{key:"init",value:function(){(0,l.addFilter)("rank_math_content","rank-math",this.getContent,11),(0,u.subscribe)((0,z.debounce)(this.reusableBlockEvent,500))}},{key:"getContent",value:function(e){return(0,z.isEmpty)(this.reusableBlocks)||(0,z.forEach)(this.reusableBlocks,(function(t){(0,z.forEach)(t,(function(t){e+=t}))})),e}},{key:"reusableBlockEvent",value:function(){var e=this,t=this.coreEditor.getPostEdits().blocks;if(!(0,z.isEmpty)(t)){var r=!1;(0,z.forEach)(t,(function(t){if((0,Jr.isReusableBlock)(t)){var n=t.clientId,a=e.getBlockContent(t.attributes.ref);if((0,z.isUndefined)(e.reusableBlocks[t.attributes.ref])||(0,z.isUndefined)(e.reusableBlocks[t.attributes.ref][n]))return(0,z.isUndefined)(e.reusableBlocks[t.attributes.ref])&&(e.reusableBlocks[t.attributes.ref]={}),e.reusableBlocks[t.attributes.ref][n]=a,void(r=!0);e.reusableBlocks[t.attributes.ref][n].content!==a&&(e.reusableBlocks[t.attributes.ref][n]=a,r=!0)}})),r&&rankMathEditor.refresh("content")}}},{key:"getBlockContent",value:function(e){var t=this.core.getEditedEntityRecord("postType","wp_block",e);if(t&&t.content)return(0,z.isFunction)(t.content)?t.content(t):t.content}}],r&&Qr(t.prototype,r),n&&Qr(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),Yr=Xr,Zr=r(184),en=r.n(Zr),tn=r(759),rn=r.n(tn);function nn(e){return 100<e?"bad-fk dark":80<e?"good-fk":50<e?"ok-fk":"bad-fk"}var an=(0,u.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 "+nn(t)},wp.element.createElement("div",{className:"score-text"},t," / 100"))}));function on(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var un=(0,u.withSelect)((function(e){var t=e("rank-math");return{isLoaded:t.isLoaded(),score:t.getAnalysisScore()}}))((function(e){var t,r=e.isLoaded,n=e.score,a=en()("rank-math-toolbar-score",(on(t={},nn(n),!0),on(t,"loading",!r),t));return wp.element.createElement("div",{className:a},wp.element.createElement(rn(),null),wp.element.createElement(an,null))})),cn=wp.components,sn=(0,u.withSelect)((function(e){var t=e("rank-math"),r=t.getTwitterUseFacebook()?t.getFacebookTitle():t.getTwitterTitle();return(0,z.isEmpty)(r)&&(r=t.getSerpTitle()),{title:r,permalink:e("core/editor").getPermalink()}}))((function(e){var t=e.title,r=e.permalink,n=encodeURI(r),a=encodeURI(t);return wp.element.createElement(c.Fragment,null,wp.element.createElement("p",null,(0,o.__)("Notify your readers by sharing!","rank-math")),wp.element.createElement("div",{className:"rank-math-social-share-buttons"},wp.element.createElement("div",{className:"rank-math-share-button rm-facebook"},wp.element.createElement("a",{href:"https://www.facebook.com/sharer/sharer.php?u="+n,target:"_blank",rel:"noopener noreferrer"},wp.element.createElement(cn.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="+n+"&text="+a,target:"_blank",rel:"noopener noreferrer"},wp.element.createElement(cn.Dashicon,{icon:"twitter"}))),wp.element.createElement("div",{className:"rank-math-share-button rm-email"},wp.element.createElement("a",{href:"mailto:?subject="+a+"&body="+n,target:"_blank",rel:"noopener noreferrer"},wp.element.createElement(cn.Dashicon,{icon:"email"})))))}));function ln(e){return ln="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},ln(e)}function pn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fn(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 dn(e,t){return dn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},dn(e,t)}function hn(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=gn(e);if(t){var a=gn(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return mn(this,r)}}function mn(e,t){if(t&&("object"===ln(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return yn(e)}function yn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gn(e){return gn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},gn(e)}var bn=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&dn(e,t)}(i,e);var t,r,n,a=hn(i);function i(){var e;return pn(this,i),(e=a.apply(this,arguments)).onChange=e.onChange.bind(yn(e)),e.state={loading:!0,availableTerms:[],selectedTerms:[]},e}return t=i,(r=[{key:"componentDidMount",value:function(){this.fetchTerms()}},{key:"componentWillUnmount",value:function(){(0,z.invoke)(this.fetchRequest,["abort"])}},{key:"componentDidUpdate",value:function(e,t){if(e.selectedTermIds.length<this.props.selectedTermIds.length){var r=(0,z.difference)(this.props.selectedTermIds,e.selectedTermIds)[0];if(!this.termIsAvailable(r))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=Ae()({path:(0,zt.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){(0,u.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(cn.Spinner,{key:"spinner"}),wp.element.createElement("p",{key:"spinner-text"},"Loading")]:wp.element.createElement(cn.SelectControl,{label:(0,o.__)("Select Primary Term","rank-math"),value:this.props.primaryTermID,options:this.state.selectedTerms.map((function(e){return{value:e.id,label:(0,z.unescape)(e.name)}})),onChange:this.onChange})}}])&&fn(t.prototype,r),n&&fn(t,n),Object.defineProperty(t,"prototype",{writable:!1}),i}(c.Component);function wn(e){return wn="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},wn(e)}function kn(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 vn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _n(e,t){return _n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_n(e,t)}function Sn(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=Dn(e);if(t){var a=Dn(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return Tn(this,r)}}function Tn(e,t){if(t&&("object"===wn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Dn(e){return Dn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Dn(e)}var Pn=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_n(e,t)}(i,e);var t,r,n,a=Sn(i);function i(){return vn(this,i),a.apply(this,arguments)}return t=i,r&&kn(t.prototype,r),n&&kn(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}(bn),In=(0,u.withSelect)((function(e,t){var r=t.slug,n=e("core").getTaxonomy(r),a=e("core/editor").getEditedPostAttribute;return{taxonomy:n,selectedTermIds:n?a(n.rest_base):[],primaryTermID:e("rank-math").getPrimaryTermID()}}))(Pn),On=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(cn.PanelRow,{className:"rank-math-primary-term-picker"},wp.element.createElement(In,e))):wp.element.createElement(t,e)};function En(e){return En="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},En(e)}function An(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 jn(e,t,r){return t&&An(e.prototype,t),r&&An(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}var Cn=jn((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){i().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&&i()(".suggestion-copy").on("click",(function(e){e.preventDefault(),new ClipboardJS(".suggestion-copy");var t=i()(this).parent().next(".suggestion-title"),r=t.html();t.text("Link Copied"),setTimeout((function(){t.html(r)}),1500)})),"object"!==("undefined"==typeof tinymce?"undefined":En(tinymce)))return!0;var t=null,r=null;i()(".suggestion-insert").on("click",(function(e){e.preventDefault();var n,a,o,c,s=i()(this);if(s.hasClass("clicked"))return!0;if(null!==tinymce.activeEditor&&!0!==tinymce.activeEditor.isHidden()&&"content"===tinymce.activeEditor.id){t=tinymce.activeEditor,r=i()(t.getBody());var l=t.selection.getContent()||"";if(r.find("a[data-mce-selected]").length){var p=(n="",a="",o=t.selection.getStart(),(c=t.dom.getParent(o,"a[href]"))||(a=t.selection.getContent({format:"raw"}))&&-1!==a.indexOf("</a>")&&((n=a.match(/href="([^">]+)"/))&&n[1]&&(c=t.$('a[href="'+n[1]+'"]',o)[0]),c&&t.selection.select(c)),c);t.dom.setAttribs(p,{href:s.data("url")}),i()(p).text()!==l&&t.insertContent(l)}else l.length?t.insertContent('<a href="'+s.data("url")+'">'+l+"</a>"):t.insertContent('<a href="'+s.data("url")+'">'+s.data("text")+"</a>")}else if(Lr()){var f=(0,u.select)("core/block-editor").getSelectedBlock().clientId,d=(0,u.select)("core/block-editor").getSelectionStart().offset,h=(0,u.select)("core/block-editor").getSelectionEnd().offset;if(document.getSelection){var m=document.getSelection();if(m.rangeCount){var y=m.getRangeAt(0),g=i()("#block-"+f).text().substring(d,h),b=document.createElement("a");b.href=s.data("url"),b.innerText=""!==g?g:s.data("text"),y.deleteContents(),y.insertNode(b);var w=m.focusNode.innerHTML;(0,u.dispatch)("core/block-editor").updateBlock(f,{attributes:{content:w}})}}}var k=s.closest(".suggestion-item").find(".suggestion-title"),v=k.html();k.text("Link Inserted"),s.addClass("clicked"),setTimeout((function(){var e,t,r,n;k.html(v),s.removeClass("clicked"),!0===rankMath.postSettings.useFocusKeyword&&(t=s,r=(e=k).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)})),i()("#rank_math_metabox_link_suggestions").find("h2").append(i()("#rank-math-link-suggestions-tooltip").html())}})),Mn=(0,cn.createSlotFill)("RankMathAfterEditor"),Rn=Mn.Fill,Un=Mn.Slot,xn=function(e){var t=e.children,r=e.className;return wp.element.createElement(Rn,null,wp.element.createElement(cn.PanelRow,{className:r},t))};xn.Slot=Un;var Nn=xn,Fn=(0,cn.createSlotFill)("RankMathAdvancedTab"),Hn=Fn.Fill,Kn=Fn.Slot,Bn=function(e){var t=e.children,r=e.className;return wp.element.createElement(Hn,null,wp.element.createElement(cn.PanelRow,{className:r},t))};Bn.Slot=Kn;var zn=Bn,Ln=(0,cn.createSlotFill)("RankMathAfterFocusKeyword"),Gn=Ln.Fill,Vn=Ln.Slot,qn=function(e){var t=e.children,r=e.className;return wp.element.createElement(Gn,null,wp.element.createElement("div",{className:r},t))};qn.Slot=Vn;var Wn=qn;function $n(e){return $n="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},$n(e)}function Jn(){return Jn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Jn.apply(this,arguments)}function Qn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xn(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 Yn(){return Yn="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=Zn(e,t);if(n){var a=Object.getOwnPropertyDescriptor(n,t);return a.get?a.get.call(arguments.length<3?e:r):a.value}},Yn.apply(this,arguments)}function Zn(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=na(e)););return e}function ea(e,t){return ea=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ea(e,t)}function ta(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=na(e);if(t){var a=na(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return ra(this,r)}}function ra(e,t){if(t&&("object"===$n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function na(e){return na=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},na(e)}var aa=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ea(e,t)}(i,e);var t,r,n,a=ta(i);function i(){return Qn(this,i),a.apply(this,arguments)}return t=i,(r=[{key:"setup",value:function(e){jr(),this.registerSlots=this.registerSlots.bind(this),(0,l.addAction)("rank_math_loaded","rank-math",this.registerSlots,0),Yn(na(i.prototype),"setup",this).call(this,e),this.registerSidebar(),this.registerPostPublish(),this.registerPrimaryTermSelector(),new Cn,new Yr}},{key:"registerSlots",value:function(){this.RankMathAfterEditor=Nn,this.RankMathAfterFocusKeyword=Wn,this.RankMathAdvancedTab=zn,this.slots={AfterEditor:Nn,AfterFocusKeyword:Wn,AdvancedTab:zn}}},{key:"registerSidebar",value:function(){(0,s.registerPlugin)("rank-math",{icon:wp.element.createElement(un,null),render:function(){return wp.element.createElement(c.Fragment,null,wp.element.createElement(p.PluginSidebarMoreMenuItem,{target:"seo-by-rank-math-sidebar",icon:wp.element.createElement(un,null)},o.__("Rank Math","rank-math")),wp.element.createElement(p.PluginSidebar,{name:"seo-by-rank-math-sidebar",title:o.__("Rank Math","rank-math"),className:"rank-math-sidebar-panel"},(0,l.applyFilters)("rank_math_app",{})()))}})}},{key:"registerPostPublish",value:function(){(0,s.registerPlugin)("rank-math-post-publish",{render:function(){return wp.element.createElement(p.PluginPostPublishPanel,{initialOpen:!0,title:o.__("Rank Math","rank-math"),className:"rank-math-post-publish",icon:wp.element.createElement(c.Fragment,null)},wp.element.createElement(sn,null))}})}},{key:"registerPrimaryTermSelector",value:function(){(0,l.addFilter)("editor.PostTaxonomyType","rank-math",(function(e){return function(t){return wp.element.createElement(On,Jn({TermComponent:e},t))}}))}},{key:"updatePermalink",value:function(e){(0,u.dispatch)("core/editor").editPost({slug:e})}},{key:"updatePermalinkSanitize",value:function(e){e=this.assessor.getResearch("slugify")(e),(0,u.dispatch)("core/editor").editPost({slug:e})}}])&&Xn(t.prototype,r),n&&Xn(t,n),Object.defineProperty(t,"prototype",{writable:!1}),i}(zr);i()(document).ready((function(){window.rankMathEditor=new aa,window.rankMathGutenberg=window.rankMathEditor,window.rankMathEditor.setup(new $r)}))}()}();
assets/admin/js/import-export.js CHANGED
@@ -1 +1 @@
1
- !function(){"use strict";var e,t={n:function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(a,{a:a}),a},d:function(e,a){for(var r in a)t.o(a,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:a[r]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}},a=jQuery,r=t.n(a);function n(e,t,a){return r().ajax({url:rankMath.ajaxurl,type:a||"POST",dataType:"json",data:r().extend(!0,{action:"rank_math_"+e,security:rankMath.security},t)})}function i(e,t,a,n){t=t||"error",n=n||!1;var i=r()('<div class="notice notice-'+t+' is-dismissible"><p>'+e+"</p></div>").hide();a.next(".notice").remove(),a.after(i),i.slideDown(),r()(document).trigger("wp-updates-notice-added"),n&&setTimeout((function(){i.fadeOut((function(){i.remove()}))}),n)}(e=r())((function(){({init:function(){var t,a,n=this;a=t||".rank-math-box-tabs",r()(a).children().on("click",(function(e){e.preventDefault();var t=r()(this),a=t.attr("href").substr(1);t.addClass("active-tab").siblings().removeClass("active-tab"),r()("#"+a).addClass("active-tab").siblings().removeClass("active-tab")})),e(document.body).on("click",".rank-math-action",(function(t){var a=e(t.currentTarget).data("action");a in n&&n[a](t)})),this.importConfirm()},importConfirm:function(){var t=e("#import-me");t.on("change",(function(){t.removeClass("invalid")})),e("#rank-math-import-form").on("submit",(function(e){if(!t.get(0).files.length)return t.addClass("invalid"),void e.preventDefault();window.confirm(rankMath.importSettingsConfirm)||e.preventDefault()}))},createBackup:function(t){var a=e(t.currentTarget);a.prop("disabled",!0),n("create_backup").always((function(){a.prop("disabled",!1)})).done((function(t){if(t.success){var r=a.parent().find("tbody"),n=r.find("tr:first").clone();n.removeClass("hidden").find("th").html(t.backup),n.find("[data-action]").attr("data-key",t.key),r.prepend(n),e("#rank-math-no-backup-message").addClass("hidden"),i(t.message,"success",e(".wp-header-end"),2e3)}else i(t.error,"error",e(".wp-header-end"),2e3)}))},restoreBackup:function(t){if(window.confirm(rankMath.restoreConfirm)){var a=e(t.currentTarget);a.prop("disabled",!0),n("restore_backup",{key:a.attr("data-key")}).always((function(){a.prop("disabled",!1)})).done((function(t){t.success?i(t.message,"success",e(".wp-header-end"),2e3):i(t.error,"error",e(".wp-header-end"),2e3)}))}},deleteBackup:function(t){if(window.confirm(rankMath.deleteBackupConfirm)){var a=e(t.currentTarget);a.prop("disabled",!0),n("delete_backup",{key:a.data("key")}).always((function(){a.prop("disabled",!1)})).done((function(t){if(t.success){var r=a.closest("table");a.closest("tr").fadeOut((function(){e(this).remove(),1>r.find("tr").length&&e("#rank-math-no-backup-message").show()})),i(t.message,"success",e(".wp-header-end"),2e3)}else i(t.error,"error",e(".wp-header-end"),2e3)}))}},importPlugin:function(t){var a=e(t.currentTarget),r=a.closest("form").find(".rank-math-box-tabs > .active-tab").text().trim();if(window.confirm(rankMath.importPluginConfirm.replace("%s",r))){var n=e.map(a.parents(".active-tab").find(".choices").find("input:checkbox:checked"),(function(e){return e.value}));if(1>n.length)i(rankMath.importPluginSelectAction,"error",e(".wp-header-end"),5e3);else{a.prop("disabled",!0),a.data("active")&&n.push("deactivate");var o=e('<textarea id="import-progress-area" class="import-progress-area large-text" disabled="disabled" rows="8" style="margin: 20px 0;background: #eee;"></textarea>');e("#import-progress-area").remove(),a.parents(".active-tab").find("table").after(o),this.addLog("Import started...",o),this.ajaxImport(a.data("slug"),n,o,null,(function(){a.prop("disabled",!1),setTimeout((function(){o.fadeOut((function(){o.remove()}))}),3e3)}))}}},ajaxImport:function(e,t,a,r,i){var o=this;if(0===t.length)return this.addLog("Import finished.",a),void i();var s=t.shift(),c="deactivate"===s?"Deactivating plugin":"Importing "+s;r=r||1,this.addLog(c,a),n("import_plugin",{perform:s,pluginSlug:e,paged:r}).done((function(n){r=1,n&&n.page&&n.page<n.total_pages&&(r=n.page+1,t.unshift(s)),o.addLog(n.success?n.message:n.error,a),o.ajaxImport(e,t,a,r,i)})).fail((function(r){this.addLog(r.statusText,a),this.ajaxImport(e,t,a,null,i)}))},addLog:function(e,t){var a=new Date,r=t.val()+"["+(10>a.getHours()?"0":"")+a.getHours()+":"+(10>a.getMinutes()?"0":"")+a.getMinutes()+":"+(10>a.getSeconds()?"0":"")+a.getSeconds()+"] "+e+"\n";t.text(r).scrollTop(t[0].scrollHeight-t.height()-20)},cleanPlugin:function(t){var a=e(t.currentTarget),r=a.closest("form").find(".rank-math-box-tabs > .active-tab").text().trim();window.confirm(rankMath.cleanPluginConfirm.replace("%s",r))&&(a.prop("disabled",!0),n("clean_plugin",{pluginSlug:a.data("slug")}).always((function(){a.prop("disabled",!1),e("html, body").animate({scrollTop:0},"fast")})).done((function(t){t.success&&a.closest("tr").fadeOut((function(){e(this).remove()})),i(t.success?t.message:t.error,t.success?"success":"error",e(".wp-header-end"),5e3)})))}}).init()}))}();
1
+ !function(){"use strict";var e,t={n:function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(a,{a:a}),a},d:function(e,a){for(var r in a)t.o(a,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:a[r]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}},a=jQuery,r=t.n(a);function n(e,t,a){return r().ajax({url:rankMath.ajaxurl,type:a||"POST",dataType:"json",data:r().extend(!0,{action:"rank_math_"+e,security:rankMath.security},t)})}function i(e,t,a,n){t=t||"error",n=n||!1;var i=r()('<div class="notice notice-'+t+' is-dismissible"><p>'+e+"</p></div>").hide();a.next(".notice").remove(),a.after(i),i.slideDown(),r()(document).trigger("wp-updates-notice-added"),n&&setTimeout((function(){i.fadeOut((function(){i.remove()}))}),n)}(e=r())((function(){({init:function(){var t,a,n=this;a=t||".rank-math-box-tabs",r()(a).children().on("click",(function(e){e.preventDefault();var t=r()(this),a=t.attr("href").substr(1);t.addClass("active-tab").siblings().removeClass("active-tab"),r()("#"+a).addClass("active-tab").siblings().removeClass("active-tab")})),e(document.body).on("click",".rank-math-action",(function(t){var a=e(t.currentTarget).data("action");a in n&&n[a](t)})),this.importConfirm()},importConfirm:function(){var t=e("#import-me");t.on("change",(function(){t.removeClass("invalid")})),e("#rank-math-import-form").on("submit",(function(e){if(!t.get(0).files.length)return t.addClass("invalid"),void e.preventDefault();window.confirm(rankMath.importSettingsConfirm)||e.preventDefault()}))},createBackup:function(t){var a=e(t.currentTarget);a.prop("disabled",!0),n("create_backup").always((function(){a.prop("disabled",!1)})).done((function(t){if(t.success){var r=a.parent().find("tbody"),n=r.find("tr:first").clone();n.removeClass("hidden").find("th").html(t.backup),n.find("[data-action]").attr("data-key",t.key),r.prepend(n),e("#rank-math-no-backup-message").addClass("hidden"),i(t.message,"success",e(".wp-header-end"),2e3)}else i(t.error,"error",e(".wp-header-end"),2e3)}))},restoreBackup:function(t){if(window.confirm(rankMath.restoreConfirm)){var a=e(t.currentTarget);a.prop("disabled",!0),n("restore_backup",{key:a.attr("data-key")}).always((function(){a.prop("disabled",!1)})).done((function(t){t.success?i(t.message,"success",e(".wp-header-end"),2e3):i(t.error,"error",e(".wp-header-end"),2e3)}))}},deleteBackup:function(t){if(window.confirm(rankMath.deleteBackupConfirm)){var a=e(t.currentTarget);a.prop("disabled",!0),n("delete_backup",{key:a.data("key")}).always((function(){a.prop("disabled",!1)})).done((function(t){if(t.success){var r=a.closest("table");a.closest("tr").fadeOut((function(){e(this).remove(),1>r.find("tr").length&&e("#rank-math-no-backup-message").show()})),i(t.message,"success",e(".wp-header-end"),2e3)}else i(t.error,"error",e(".wp-header-end"),2e3)}))}},getAllActions:function(){var t=e.map(e(".import-plugins .active-tab").find(".choices").find("input:checkbox:checked"),(function(e){return e.value}));if(-1!==t.indexOf("recalculate")){var a=(t=t.filter((function(e){return"recalculate"!==e}))).indexOf("postmeta");-1!==a?t.splice(a+1,0,"recalculate"):t.unshift("recalculate")}return t},importPlugin:function(t){var a=e(t.currentTarget),r=a.closest("form").find(".rank-math-box-tabs > .active-tab").text().trim();if(window.confirm(rankMath.importPluginConfirm.replace("%s",r))){var n=this.getAllActions();if(1>n.length)i(rankMath.importPluginSelectAction,"error",e(".wp-header-end"),5e3);else{a.prop("disabled",!0),a.data("active")&&n.push("deactivate");var o=e('<textarea id="import-progress-area" class="import-progress-area large-text" disabled="disabled" rows="8" style="margin: 20px 0;background: #eee;"></textarea>');e("#import-progress-area").remove(),a.parents(".active-tab").find("table").after(o),this.addLog("Import started...",o),this.ajaxImport(a.data("slug"),n,o,null,(function(){a.prop("disabled",!1),setTimeout((function(){o.fadeOut((function(){o.remove()}))}),1e4)}))}}},ajaxImport:function(e,t,a,r,i){var o=this;if(0===t.length){var s="Import finished.";return-1!==this.getAllActions().indexOf("recalculate")&&(s="Import finished. You can continue while we recalculate your SEO scores."),this.addLog(s,a),void i()}var c=t.shift(),u="deactivate"===c?"Deactivating plugin":"Importing "+c;if(r=r||1,"recalculate"===c)return this.addLog("Starting SEO Score Recalculation...",a),this.startRecalculation(a,i),void this.ajaxImport(e,t,a,null,i);this.addLog(u,a),n("import_plugin",{perform:c,pluginSlug:e,paged:r}).done((function(n){r=1,n&&n.page&&n.page<n.total_pages&&(r=n.page+1,t.unshift(c)),o.addLog(n.success?n.message:n.error,a),o.ajaxImport(e,t,a,r,i)})).fail((function(r){this.addLog(r.statusText,a),this.ajaxImport(e,t,a,null,i)}))},addLog:function(e,t){var a=new Date,r=t.val()+"["+(10>a.getHours()?"0":"")+a.getHours()+":"+(10>a.getMinutes()?"0":"")+a.getMinutes()+":"+(10>a.getSeconds()?"0":"")+a.getSeconds()+"] "+e+"\n";t.text(r).scrollTop(t[0].scrollHeight-t.height()-20)},cleanPlugin:function(t){var a=e(t.currentTarget),r=a.closest("form").find(".rank-math-box-tabs > .active-tab").text().trim();window.confirm(rankMath.cleanPluginConfirm.replace("%s",r))&&(a.prop("disabled",!0),n("clean_plugin",{pluginSlug:a.data("slug")}).always((function(){a.prop("disabled",!1),e("html, body").animate({scrollTop:0},"fast")})).done((function(t){t.success&&a.closest("tr").fadeOut((function(){e(this).remove()})),i(t.success?t.message:t.error,t.success?"success":"error",e(".wp-header-end"),5e3)})))},startRecalculation:function(t,a){null===window.open(rankMath.recalculateURL,"rank-math-recalculation","width=530,height=300")&&(e('input[value="recalculate"]').prop("checked",!1).next("label").find("a").removeClass("hidden"),this.addLog("The SEO Score Recalculation could not be started because the popup was blocked. Try again with the above link, or run it from Rank Math > Status & Tools > Database Tools.",t),a())}}).init()}))}();
assets/admin/js/post-list.js CHANGED
@@ -1 +1 @@
1
- !function(){"use strict";var t={n:function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(e,{a:e}),e},d:function(n,e){for(var a in e)t.o(e,a)&&!t.o(n,a)&&Object.defineProperty(n,a,{enumerable:!0,get:e[a]})},o:function(t,n){return Object.prototype.hasOwnProperty.call(t,n)}},n=jQuery,e=t.n(n);function a(t,n){for(var e=0;e<n.length;e++){var a=n[e];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}var r=function(){function t(){!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t),this.addButtons(),this.editingEvents(),this.saveEvents()}var n,r,i;return n=t,(r=[{key:"addButtons",value:function(){var t=e()("#rank_math_seo_details, #rank_math_title, #rank_math_description, #rank_math_image_alt, #rank_math_image_title");t.each((function(){var t=e()(this);t.append(' <a href=#" class="dashicons dashicons-edit" title="'+rankMath.bulkEditTitle+'"></a>'),t.wrapInner("<span/>"),t.append(' <span><a href="#" class="button button-primary button-small rank-math-column-save-all">'+rankMath.buttonSaveAll+'</a> <a href="#" class="button-link button-link-delete rank-math-column-cancel-all">'+rankMath.buttonCancel+"</a></span>")})),t.on("click",".dashicons-edit, .rank-math-column-cancel-all",(function(n){n.preventDefault();var a=e()(this).closest("th");e()(this).hasClass("rank-math-column-cancel-all")?(t.removeClass("bulk-editing"),e()(".rank-math-column-cancel","td.bulk-editing.dirty").trigger("click"),e()("td.bulk-editing").removeClass("bulk-editing")):(a.toggleClass("bulk-editing"),e()("td.column-"+a.attr("id")).toggleClass("bulk-editing"))}))}},{key:"editingEvents",value:function(){e()(".rank-math-column-value").on("input",(function(){var t=e()(this),n=t.closest("td");t.text()!==t.prev().text()?n.addClass("dirty"):n.removeClass("dirty")})).on("keypress",(function(t){if(13===t.keyCode)return e()(this).parent().find(".rank-math-column-save").trigger("click"),!1})),e()(".rank-math-column-cancel").on("click",(function(t){t.preventDefault();var n=e()(this).closest("td");n.removeClass("dirty");var a=n.find(".rank-math-column-value").prev(".rank-math-column-display");a.find("span").length&&(a=a.find("span")),n.find(".rank-math-column-value").text(a.text())}))}},{key:"saveEvents",value:function(){var t=this;e()(".rank-math-column-save-all").on("click",(function(n){n.preventDefault();var a=e()(this),r={},i=[];if(e()(".dirty.bulk-editing").each((function(){var t=e()(this),n=parseInt(t.closest("tr").attr("id").replace("post-","")),a=t.find(".rank-math-column-value");i.push(t),r[n]=r[n]||{},r[n][a.data("field")]=a.text()})),e().isEmptyObject(r))return e()(a.next()).trigger("click"),!0;t.save(r).done((function(n){n.success&&(i.forEach((function(n){t.setColumn(n)})),e()(a.next()).trigger("click"))}))})),e()(".rank-math-column-save").on("click",(function(n){n.preventDefault();var a=e()(this).closest(".dirty"),r=parseInt(a.closest("tr").attr("id").replace("post-","")),i=a.find(".rank-math-column-value"),l={};l[r]={},l[r][i.data("field")]=i.text(),t.save(l).done((function(n){n.success&&t.setColumn(a)}))}))}},{key:"setColumn",value:function(t){t.removeClass("dirty bulk-editing");var n=t.find(".rank-math-column-value").prev(".rank-math-column-display");n.find("span").length&&(n=n.find("span"));var e=document.createElement("div");e.innerHTML=t.find(".rank-math-column-value").text(),n.text(e.innerText)}},{key:"save",value:function(t){return e().ajax({url:rankMath.endpoint+"/updateMetaBulk",method:"POST",beforeSend:function(t){t.setRequestHeader("X-WP-Nonce",rankMath.restNonce)},data:{rows:t}})}}])&&a(n.prototype,r),i&&a(n,i),Object.defineProperty(n,"prototype",{writable:!1}),t}();e()((function(){new r}))}();
1
+ !function(){"use strict";var t={n:function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(e,{a:e}),e},d:function(n,e){for(var a in e)t.o(e,a)&&!t.o(n,a)&&Object.defineProperty(n,a,{enumerable:!0,get:e[a]})},o:function(t,n){return Object.prototype.hasOwnProperty.call(t,n)}},n=jQuery,e=t.n(n);function a(t,n){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=function(t,n){if(!t)return;if("string"==typeof t)return r(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return r(t,n)}(t))||n&&t&&"number"==typeof t.length){e&&(t=e);var a=0,i=function(){};return{s:i,n:function(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,o=!0,u=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return o=t.done,t},e:function(t){u=!0,l=t},f:function(){try{o||null==e.return||e.return()}finally{if(u)throw l}}}}function r(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,a=new Array(n);e<n;e++)a[e]=t[e];return a}function i(t,n){for(var e=0;e<n.length;e++){var a=n[e];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}var l=function(){function t(){!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t),this.addButtons(),this.editingEvents(),this.saveEvents()}var n,r,l;return n=t,(r=[{key:"addButtons",value:function(){var t=e()("#rank_math_seo_details, #rank_math_title, #rank_math_description, #rank_math_image_alt, #rank_math_image_title");t.each((function(){var t=e()(this);t.append(' <a href=#" class="dashicons dashicons-edit" title="'+rankMath.bulkEditTitle+'"></a>'),t.wrapInner("<span/>"),t.append(' <span><a href="#" class="button button-primary button-small rank-math-column-save-all">'+rankMath.buttonSaveAll+'</a> <a href="#" class="button-link button-link-delete rank-math-column-cancel-all">'+rankMath.buttonCancel+"</a></span>")})),t.on("click",".dashicons-edit, .rank-math-column-cancel-all",(function(n){n.preventDefault();var a=e()(this).closest("th");e()(this).hasClass("rank-math-column-cancel-all")?(t.removeClass("bulk-editing"),e()(".rank-math-column-cancel","td.bulk-editing.dirty").trigger("click"),e()("td.bulk-editing").removeClass("bulk-editing")):(a.toggleClass("bulk-editing"),e()("td.column-"+a.attr("id")).toggleClass("bulk-editing"))}))}},{key:"editingEvents",value:function(){e()(".rank-math-column-value").on("input",(function(){var t=e()(this),n=t.closest("td");t.val()!==t.prev().text()?n.addClass("dirty"):n.removeClass("dirty")})).on("keypress",(function(t){if(13===t.keyCode)return e()(this).parent().find(".rank-math-column-save").trigger("click"),!1})),e()(".rank-math-column-cancel").on("click",(function(t){t.preventDefault();var n=e()(this).closest("td");n.removeClass("dirty");var r=n.find(".rank-math-column-value").prev(".rank-math-column-display");r.find("span").length&&(r=r.find("span"));var i=r.html(),l=i.match(/<img\s+[^>]*?src=("|')([^"']+)">/gm);if(l){var o,u=a(l);try{for(u.s();!(o=u.n()).done;){var c=o.value,s=c.match(/alt=("|')([^"']+)/gm)[0];s=s.replace('alt="',""),i=i.replaceAll(c,s)}}catch(t){u.e(t)}finally{u.f()}}n.find(".rank-math-column-value").val(i)}))}},{key:"saveEvents",value:function(){var t=this;e()(".rank-math-column-save-all").on("click",(function(n){n.preventDefault();var a=e()(this),r={},i=[];if(e()(".dirty.bulk-editing").each((function(){var t=e()(this),n=parseInt(t.closest("tr").attr("id").replace("post-","")),a=t.find(".rank-math-column-value");i.push(t),r[n]=r[n]||{},r[n][a.data("field")]=a.val()})),e().isEmptyObject(r))return e()(a.next()).trigger("click"),!0;t.save(r).done((function(n){n.success&&(i.forEach((function(n){t.setColumn(n)})),e()(a.next()).trigger("click"))}))})),e()(".rank-math-column-save").on("click",(function(n){n.preventDefault();var a=e()(this).closest(".dirty"),r=parseInt(a.closest("tr").attr("id").replace("post-","")),i=a.find(".rank-math-column-value"),l={};l[r]={},l[r][i.data("field")]=i.val(),t.save(l).done((function(n){n.success&&t.setColumn(a)}))}))}},{key:"setColumn",value:function(t){t.removeClass("dirty bulk-editing");var n=t.find(".rank-math-column-value").prev(".rank-math-column-display");n.find("span").length&&(n=n.find("span"));var e=t.find(".rank-math-column-value").val();n.text(e)}},{key:"save",value:function(t){return e().ajax({url:rankMath.endpoint+"/updateMetaBulk",method:"POST",beforeSend:function(t){t.setRequestHeader("X-WP-Nonce",rankMath.restNonce)},data:{rows:t}})}}])&&i(n.prototype,r),l&&i(n,l),Object.defineProperty(n,"prototype",{writable:!1}),t}();e()((function(){new l}))}();
assets/admin/js/rank-math-app.js CHANGED
@@ -1 +1 @@
1
- !function(){var e={634:function(e){e.exports=function(){"use strict";function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function t(t){for(var a=1;a<arguments.length;a++){var r=null!=arguments[a]?arguments[a]:{};a%2?e(Object(r),!0).forEach((function(e){n(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):e(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const a=(e,t,n,a)=>(e=""+e,t=""+t,a&&(e=e.trim(),t=t.trim()),n?e==t:e.toLowerCase()==t.toLowerCase()),r=(e,t)=>e&&Array.isArray(e)&&e.map((e=>i(e,t)));function i(e,t){var n,a={};for(n in e)t.indexOf(n)<0&&(a[n]=e[n]);return a}function o(e){var t=document.createElement("div");return e.replace(/\&#?[0-9a-z]+;/gi,(function(e){return t.innerHTML=e,t.innerText}))}function s(e){return(new DOMParser).parseFromString(e.trim(),"text/html").body.firstElementChild}function l(e,t){for(t=t||"previous";e=e[t+"Sibling"];)if(3==e.nodeType)return e}function c(e){return"string"==typeof e?e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/`|'/g,"&#039;"):e}function p(e){var t=Object.prototype.toString.call(e).split(" ")[1].slice(0,-1);return e===Object(e)&&"Array"!=t&&"Function"!=t&&"RegExp"!=t&&"HTMLUnknownElement"!=t}function d(e,t,n){function a(e,t){for(var n in t)if(t.hasOwnProperty(n)){if(p(t[n])){p(e[n])?a(e[n],t[n]):e[n]=Object.assign({},t[n]);continue}if(Array.isArray(t[n])){e[n]=Object.assign([],t[n]);continue}e[n]=t[n]}}return e instanceof Object||(e={}),a(e,t),n&&a(e,n),e}function u(){const e=[],t={};for(let n of arguments)for(let a of n)p(a)?t[a.value]||(e.push(a),t[a.value]=1):e.includes(a)||e.push(a);return e}function h(e){return String.prototype.normalize?"string"==typeof e?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):void 0:e}var m=()=>/(?=.*chrome)(?=.*android)/i.test(navigator.userAgent);function g(){return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(e=>(e^crypto.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16)))}function f(e){return e&&e.classList&&e.classList.contains(this.settings.classNames.tag)}var w={delimiters:",",pattern:null,tagTextProp:"value",maxTags:1/0,callbacks:{},addTagOnBlur:!0,onChangeAfterBlur:!0,duplicates:!1,whitelist:[],blacklist:[],enforceWhitelist:!1,userInput:!0,keepInvalidTags:!1,createInvalidTags:!0,mixTagsAllowedAfter:/,|\.|\:|\s/,mixTagsInterpolator:["[[","]]"],backspace:!0,skipInvalid:!1,pasteAsTags:!0,editTags:{clicks:2,keepInvalid:!0},transformTag:()=>{},trim:!0,a11y:{focusableTags:!1},mixMode:{insertAfterTag:" "},autoComplete:{enabled:!0,rightKey:!1},classNames:{namespace:"tagify",mixMode:"tagify--mix",selectMode:"tagify--select",input:"tagify__input",focus:"tagify--focus",tagNoAnimation:"tagify--noAnim",tagInvalid:"tagify--invalid",tagNotAllowed:"tagify--notAllowed",scopeLoading:"tagify--loading",hasMaxTags:"tagify--hasMaxTags",hasNoTags:"tagify--noTags",empty:"tagify--empty",inputInvalid:"tagify__input--invalid",dropdown:"tagify__dropdown",dropdownWrapper:"tagify__dropdown__wrapper",dropdownHeader:"tagify__dropdown__header",dropdownFooter:"tagify__dropdown__footer",dropdownItem:"tagify__dropdown__item",dropdownItemActive:"tagify__dropdown__item--active",dropdownItemHidden:"tagify__dropdown__item--hidden",dropdownInital:"tagify__dropdown--initial",tag:"tagify__tag",tagText:"tagify__tag-text",tagX:"tagify__tag__removeBtn",tagLoading:"tagify__tag--loading",tagEditing:"tagify__tag--editable",tagFlash:"tagify__tag--flash",tagHide:"tagify__tag--hide"},dropdown:{classname:"",enabled:2,maxItems:10,searchKeys:["value","searchBy"],fuzzySearch:!0,caseSensitive:!1,accentedSearch:!0,includeSelectedTags:!1,highlightFirst:!1,closeOnSelect:!0,clearOnSelect:!0,position:"all",appendTarget:null},hooks:{beforeRemoveTag:()=>Promise.resolve(),beforePaste:()=>Promise.resolve(),suggestionClick:()=>Promise.resolve()}};function v(){this.dropdown={};for(let e in this._dropdown)this.dropdown[e]="function"==typeof this._dropdown[e]?this._dropdown[e].bind(this):this._dropdown[e];this.dropdown.refs()}var y={refs(){this.DOM.dropdown=this.parseTemplate("dropdown",[this.settings]),this.DOM.dropdown.content=this.DOM.dropdown.querySelector("[data-selector='tagify-suggestions-wrapper']")},getHeaderRef(){return this.DOM.dropdown.querySelector("[data-selector='tagify-suggestions-header']")},getFooterRef(){return this.DOM.dropdown.querySelector("[data-selector='tagify-suggestions-footer']")},getAllSuggestionsRefs(){return[...this.DOM.dropdown.content.querySelectorAll(this.settings.classNames.dropdownItemSelector)]},show(e){var t,n,r,i=this.settings,o="mix"==i.mode&&!i.enforceWhitelist,s=!i.whitelist||!i.whitelist.length,l="manual"==i.dropdown.position;if(e=void 0===e?this.state.inputText:e,!(s&&!o&&!i.templates.dropdownItemNoMatch||!1===i.dropdown.enable||this.state.isLoading||this.settings.readonly)){if(clearTimeout(this.dropdownHide__bindEventsTimeout),this.suggestedListItems=this.dropdown.filterListItems(e),e&&!this.suggestedListItems.length&&(this.trigger("dropdown:noMatch",e),i.templates.dropdownItemNoMatch&&(r=i.templates.dropdownItemNoMatch.call(this,{value:e}))),!r){if(this.suggestedListItems.length)e&&o&&!this.state.editing.scope&&!a(this.suggestedListItems[0].value,e)&&this.suggestedListItems.unshift({value:e});else{if(!e||!o||this.state.editing.scope)return this.input.autocomplete.suggest.call(this),void this.dropdown.hide();this.suggestedListItems=[{value:e}]}n=""+(p(t=this.suggestedListItems[0])?t.value:t),i.autoComplete&&n&&0==n.indexOf(e)&&this.input.autocomplete.suggest.call(this,t)}this.dropdown.fill(r),i.dropdown.highlightFirst&&this.dropdown.highlightOption(this.DOM.dropdown.content.querySelector(i.classNames.dropdownItemSelector)),this.state.dropdown.visible||setTimeout(this.dropdown.events.binding.bind(this)),this.state.dropdown.visible=e||!0,this.state.dropdown.query=e,this.setStateSelection(),l||setTimeout((()=>{this.dropdown.position(),this.dropdown.render()})),setTimeout((()=>{this.trigger("dropdown:show",this.DOM.dropdown)}))}},hide(e){var t=this.DOM,n=t.scope,a=t.dropdown,r="manual"==this.settings.dropdown.position&&!e;if(a&&document.body.contains(a)&&!r)return window.removeEventListener("resize",this.dropdown.position),this.dropdown.events.binding.call(this,!1),n.setAttribute("aria-expanded",!1),a.parentNode.removeChild(a),setTimeout((()=>{this.state.dropdown.visible=!1}),100),this.state.dropdown.query=this.state.ddItemData=this.state.ddItemElm=this.state.selection=null,this.state.tag&&this.state.tag.value.length&&(this.state.flaggedTags[this.state.tag.baseOffset]=this.state.tag),this.trigger("dropdown:hide",a),this},toggle(e){this.dropdown[this.state.dropdown.visible&&!e?"hide":"show"]()},render(){var e,t,n=((t=this.DOM.dropdown.cloneNode(!0)).style.cssText="position:fixed; top:-9999px; opacity:0",document.body.appendChild(t),e=t.clientHeight,t.parentNode.removeChild(t),e),a=this.settings;return"number"==typeof a.dropdown.enabled&&a.dropdown.enabled>=0?(this.DOM.scope.setAttribute("aria-expanded",!0),document.body.contains(this.DOM.dropdown)||(this.DOM.dropdown.classList.add(a.classNames.dropdownInital),this.dropdown.position(n),a.dropdown.appendTarget.appendChild(this.DOM.dropdown),setTimeout((()=>this.DOM.dropdown.classList.remove(a.classNames.dropdownInital)))),this):this},fill(e){e="string"==typeof e?e:this.dropdown.createListHTML(e||this.suggestedListItems);var t,n=this.settings.templates.dropdownContent.call(this,e);this.DOM.dropdown.content.innerHTML=(t=n)?t.replace(/\>[\r\n ]+\</g,"><").replace(/(<.*?>)|\s+/g,((e,t)=>t||" ")):""},fillHeaderFooter(){this.settings.templates;var e=this.dropdown.filterListItems(this.state.dropdown.query),t=this.parseTemplate("dropdownHeader",[e]),n=this.parseTemplate("dropdownFooter",[e]),a=this.dropdown.getHeaderRef(),r=this.dropdown.getFooterRef();t&&a?.parentNode.replaceChild(t,a),n&&r?.parentNode.replaceChild(n,r)},refilter(e){e=e||this.state.dropdown.query||"",this.suggestedListItems=this.dropdown.filterListItems(e),this.dropdown.fill(),this.suggestedListItems.length||this.dropdown.hide(),this.trigger("dropdown:updated",this.DOM.dropdown)},position(e){var t=this.settings.dropdown;if("manual"!=t.position){var n,a,r,i,o,s,l=this.DOM.dropdown,c=t.placeAbove,p=document.documentElement.clientHeight,d=Math.max(document.documentElement.clientWidth||0,window.innerWidth||0)>480?t.position:"all",u=this.DOM["input"==d?"input":"scope"];e=e||l.clientHeight,this.state.dropdown.visible&&("text"==d?(r=(n=this.getCaretGlobalPosition()).bottom,a=n.top,i=n.left,o="auto"):(s=function(e){for(var t=0,n=0;e;)t+=e.offsetLeft||0,n+=e.offsetTop||0,e=e.parentNode;return{left:t,top:n}}(this.settings.dropdown.appendTarget),a=(n=u.getBoundingClientRect()).top-s.top,r=n.bottom-1-s.top,i=n.left-s.left,o=n.width+"px"),a=Math.floor(a),r=Math.ceil(r),c=void 0===c?p-n.bottom<e:c,l.style.cssText="left:"+(i+window.pageXOffset)+"px; width:"+o+";"+(c?"top: "+(a+window.pageYOffset)+"px":"top: "+(r+window.pageYOffset)+"px"),l.setAttribute("placement",c?"top":"bottom"),l.setAttribute("position",d))}},events:{binding(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];var t=this.dropdown.events.callbacks,n=this.listeners.dropdown=this.listeners.dropdown||{position:this.dropdown.position.bind(this),onKeyDown:t.onKeyDown.bind(this),onMouseOver:t.onMouseOver.bind(this),onMouseLeave:t.onMouseLeave.bind(this),onClick:t.onClick.bind(this),onScroll:t.onScroll.bind(this)},a=e?"addEventListener":"removeEventListener";"manual"!=this.settings.dropdown.position&&(document[a]("scroll",n.position,!0),window[a]("resize",n.position),window[a]("keydown",n.onKeyDown)),this.DOM.dropdown[a]("mouseover",n.onMouseOver),this.DOM.dropdown[a]("mouseleave",n.onMouseLeave),this.DOM.dropdown[a]("mousedown",n.onClick),this.DOM.dropdown.content[a]("scroll",n.onScroll)},callbacks:{onKeyDown(e){if(this.state.hasFocus){var t=this.DOM.dropdown.querySelector(this.settings.classNames.dropdownItemActiveSelector),n=this.dropdown.getSuggestionDataByNode(t);switch(e.key){case"ArrowDown":case"ArrowUp":case"Down":case"Up":e.preventDefault();var a=this.dropdown.getAllSuggestionsRefs(),r="ArrowUp"==e.key||"Up"==e.key;t&&(t=this.dropdown.getNextOrPrevOption(t,!r)),t&&t.matches(this.settings.classNames.dropdownItemSelector)||(t=a[r?a.length-1:0]),n=this.dropdown.getSuggestionDataByNode(t),this.dropdown.highlightOption(t,!0);break;case"Escape":case"Esc":this.dropdown.hide();break;case"ArrowRight":if(this.state.actions.ArrowLeft)return;case"Tab":if("mix"!=this.settings.mode&&t&&!this.settings.autoComplete.rightKey&&!this.state.editing){e.preventDefault();var i=this.dropdown.getMappedValue(n);return this.input.autocomplete.set.call(this,i),!1}return!0;case"Enter":e.preventDefault(),this.settings.hooks.suggestionClick(e,{tagify:this,tagData:n,suggestionElm:t}).then((()=>{if(t)return this.dropdown.selectOption(t),t=this.dropdown.getNextOrPrevOption(t,!r),void this.dropdown.highlightOption(t);this.dropdown.hide(),"mix"!=this.settings.mode&&this.addTags(this.state.inputText.trim(),!0)})).catch((e=>e));break;case"Backspace":{if("mix"==this.settings.mode||this.state.editing.scope)return;const e=this.input.raw.call(this);""!=e&&8203!=e.charCodeAt(0)||(!0===this.settings.backspace?this.removeTags():"edit"==this.settings.backspace&&setTimeout(this.editTag.bind(this),0))}}}},onMouseOver(e){var t=e.target.closest(this.settings.classNames.dropdownItemSelector);t&&this.dropdown.highlightOption(t)},onMouseLeave(e){this.dropdown.highlightOption()},onClick(e){if(0==e.button&&e.target!=this.DOM.dropdown&&e.target!=this.DOM.dropdown.content){var t=e.target.closest(this.settings.classNames.dropdownItemSelector),n=this.dropdown.getSuggestionDataByNode(t);this.state.actions.selectOption=!0,setTimeout((()=>this.state.actions.selectOption=!1),50),this.settings.hooks.suggestionClick(e,{tagify:this,tagData:n,suggestionElm:t}).then((()=>{t?this.dropdown.selectOption(t,e):this.dropdown.hide()})).catch((e=>console.warn(e)))}},onScroll(e){var t=e.target,n=t.scrollTop/(t.scrollHeight-t.parentNode.clientHeight)*100;this.trigger("dropdown:scroll",{percentage:Math.round(n)})}}},getSuggestionDataByNode(e){var t=e&&e.getAttribute("value");return this.suggestedListItems.find((e=>e.value==t))||null},getNextOrPrevOption(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];var n=this.dropdown.getAllSuggestionsRefs(),a=n.findIndex((t=>t===e));return t?n[a+1]:n[a-1]},highlightOption(e,t){var n,a=this.settings.classNames.dropdownItemActive;if(this.state.ddItemElm&&(this.state.ddItemElm.classList.remove(a),this.state.ddItemElm.removeAttribute("aria-selected")),!e)return this.state.ddItemData=null,this.state.ddItemElm=null,void this.input.autocomplete.suggest.call(this);n=this.dropdown.getSuggestionDataByNode(e),this.state.ddItemData=n,this.state.ddItemElm=e,e.classList.add(a),e.setAttribute("aria-selected",!0),t&&(e.parentNode.scrollTop=e.clientHeight+e.offsetTop-e.parentNode.clientHeight),this.settings.autoComplete&&(this.input.autocomplete.suggest.call(this,n),this.dropdown.position())},selectOption(e,t){var n=this.settings.dropdown,a=n.clearOnSelect,r=n.closeOnSelect;if(!e)return this.addTags(this.state.inputText,!0),void(r&&this.dropdown.hide());t=t||{};var i=e.getAttribute("value"),o="noMatch"==i,s=this.suggestedListItems.find((e=>(e.value||e)==i));this.trigger("dropdown:select",{data:s,elm:e,event:t}),i&&(s||o)?(this.state.editing?this.onEditTagDone(null,d({__isValid:!0},this.normalizeTags([s])[0])):this["mix"==this.settings.mode?"addMixTags":"addTags"]([s||this.input.raw.call(this)],a),this.DOM.input.parentNode&&(setTimeout((()=>{this.DOM.input.focus(),this.toggleFocusClass(!0)})),r&&setTimeout(this.dropdown.hide.bind(this)),e.addEventListener("transitionend",(()=>{this.dropdown.fillHeaderFooter(),setTimeout((()=>e.remove()),100)}),{once:!0}),e.classList.add(this.settings.classNames.dropdownItemHidden))):r&&setTimeout(this.dropdown.hide.bind(this))},selectAll(e){this.suggestedListItems.length=0,this.dropdown.hide(),this.dropdown.filterListItems("");var t=this.dropdown.filterListItems("");return e||(t=this.state.dropdown.suggestions),this.addTags(t,!0),this},filterListItems(e,t){var n,a,r,i,o,s=this.settings,l=s.dropdown,c=(t=t||{},[]),d=[],u=s.whitelist,m=l.maxItems>=0?l.maxItems:1/0,g=l.searchKeys,f=0;if(!(e="select"==s.mode&&this.value.length&&this.value[0][s.tagTextProp]==e?"":e)||!g.length)return c=l.includeSelectedTags?u:u.filter((e=>!this.isTagDuplicate(p(e)?e.value:e))),this.state.dropdown.suggestions=c,c.slice(0,m);function w(e,t){return t.toLowerCase().split(" ").every((t=>e.includes(t.toLowerCase())))}for(o=l.caseSensitive?""+e:(""+e).toLowerCase();f<u.length;f++){let e,s;n=u[f]instanceof Object?u[f]:{value:u[f]};let m=Object.keys(n).some((e=>g.includes(e)))?g:["value"];l.fuzzySearch&&!t.exact?(r=m.reduce(((e,t)=>e+" "+(n[t]||"")),"").toLowerCase().trim(),l.accentedSearch&&(r=h(r),o=h(o)),e=0==r.indexOf(o),s=r===o,a=w(r,o)):(e=!0,a=m.some((e=>{var a=""+(n[e]||"");return l.accentedSearch&&(a=h(a),o=h(o)),l.caseSensitive||(a=a.toLowerCase()),s=a===o,t.exact?a===o:0==a.indexOf(o)}))),i=!l.includeSelectedTags&&this.isTagDuplicate(p(n)?n.value:n),a&&!i&&(s&&e?d.push(n):"startsWith"==l.sortby&&e?c.unshift(n):c.push(n))}return this.state.dropdown.suggestions=d.concat(c),"function"==typeof l.sortby?l.sortby(d.concat(c),o):d.concat(c).slice(0,m)},getMappedValue(e){var t=this.settings.dropdown.mapValueTo;return t?"function"==typeof t?t(e):e[t]||e.value:e.value},createListHTML(e){return d([],e).map(((e,n)=>{"string"!=typeof e&&"number"!=typeof e||(e={value:e});var a=this.dropdown.getMappedValue(e);return a="string"==typeof a?c(a):a,this.settings.templates.dropdownItem.apply(this,[t(t({},e),{},{mappedValue:a}),this])})).join("")}};const b="@yaireo/tagify/";var k,T={empty:"empty",exceed:"number of tags exceeded",pattern:"pattern mismatch",duplicate:"already exists",notAllowed:"not allowed"},E={wrapper:(e,t)=>`<tags class="${t.classNames.namespace} ${t.mode?`${t.classNames[t.mode+"Mode"]}`:""} ${e.className}"\n ${t.readonly?"readonly":""}\n ${t.disabled?"disabled":""}\n ${t.required?"required":""}\n ${"select"===t.mode?"spellcheck='false'":""}\n tabIndex="-1">\n <span ${!t.readonly&&t.userInput?"contenteditable":""} tabIndex="0" data-placeholder="${t.placeholder||"&#8203;"}" aria-placeholder="${t.placeholder||""}"\n class="${t.classNames.input}"\n role="textbox"\n aria-autocomplete="both"\n aria-multiline="${"mix"==t.mode}"></span>\n &#8203;\n </tags>`,tag(e,t){let n=t.settings;return`<tag title="${e.title||e.value}"\n contenteditable='false'\n spellcheck='false'\n tabIndex="${n.a11y.focusableTags?0:-1}"\n class="${n.classNames.tag} ${e.class||""}"\n ${this.getAttributes(e)}>\n <x title='' class="${n.classNames.tagX}" role='button' aria-label='remove tag'></x>\n <div>\n <span class="${n.classNames.tagText}">${e[n.tagTextProp]||e.value}</span>\n </div>\n </tag>`},dropdown(e){var t=e.dropdown,n="manual"==t.position,a=`${e.classNames.dropdown}`;return`<div class="${n?"":a} ${t.classname}" role="listbox" aria-labelledby="dropdown">\n <div data-selector='tagify-suggestions-wrapper' class="${e.classNames.dropdownWrapper}"></div>\n </div>`},dropdownContent(e){var t=this.settings,n=this.state.dropdown.suggestions;return`\n ${t.templates.dropdownHeader.call(this,n)}\n ${e}\n ${t.templates.dropdownFooter.call(this,n)}\n `},dropdownItem(e){return`<div ${this.getAttributes(e)}\n class='${this.settings.classNames.dropdownItem} ${e.class?e.class:""}'\n tabindex="0"\n role="option">${e.mappedValue||e.value}</div>`},dropdownHeader(e){return`<header data-selector='tagify-suggestions-header' class="${this.settings.classNames.dropdownHeader}"></header>`},dropdownFooter(e){var t=e.length-this.settings.dropdown.maxItems;return t>0?`<footer data-selector='tagify-suggestions-footer' class="${this.settings.classNames.dropdownFooter}">\n ${t} more items. Refine your search.\n </footer>`:""},dropdownItemNoMatch:null},_={customBinding(){this.customEventsList.forEach((e=>{this.on(e,this.settings.callbacks[e])}))},binding(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];var t,n=this.events.callbacks,a=e?"addEventListener":"removeEventListener";if(!this.state.mainEvents||!e){for(var r in this.state.mainEvents=e,e&&!this.listeners.main&&(this.events.bindGlobal.call(this),this.settings.isJQueryPlugin&&jQuery(this.DOM.originalInput).on("tagify.removeAllTags",this.removeAllTags.bind(this))),t=this.listeners.main=this.listeners.main||{focus:["input",n.onFocusBlur.bind(this)],keydown:["input",n.onKeydown.bind(this)],click:["scope",n.onClickScope.bind(this)],dblclick:["scope",n.onDoubleClickScope.bind(this)],paste:["input",n.onPaste.bind(this)],drop:["input",n.onDrop.bind(this)]})this.DOM[t[r][0]][a](r,t[r][1]);clearInterval(this.listeners.main.originalInputValueObserverInterval),this.listeners.main.originalInputValueObserverInterval=setInterval(n.observeOriginalInputValue.bind(this),500);var i=this.listeners.main.inputMutationObserver||new MutationObserver(n.onInputDOMChange.bind(this));i&&i.disconnect(),"mix"==this.settings.mode&&i.observe(this.DOM.input,{childList:!0})}},bindGlobal(e){var t,n=this.events.callbacks,a=e?"removeEventListener":"addEventListener";if(e||!this.listeners.global)for(t of(this.listeners.global=this.listeners&&this.listeners.global||[{type:this.isIE?"keydown":"input",target:this.DOM.input,cb:n[this.isIE?"onInputIE":"onInput"].bind(this)},{type:"keydown",target:window,cb:n.onWindowKeyDown.bind(this)},{type:"blur",target:this.DOM.input,cb:n.onFocusBlur.bind(this)}],this.listeners.global))t.target[a](t.type,t.cb)},unbindGlobal(){this.events.bindGlobal.call(this,!0)},callbacks:{onFocusBlur(e){var t=this.settings,n=e.target?this.trim(e.target.textContent):"",a=this.value?.[0]?.[t.tagTextProp],r=e.type,i=t.dropdown.enabled>=0,o={relatedTarget:e.relatedTarget},s=this.state.actions.selectOption&&(i||!t.dropdown.closeOnSelect),l=this.state.actions.addNew&&i,c=e.relatedTarget&&f.call(this,e.relatedTarget)&&this.DOM.scope.contains(e.relatedTarget);if("blur"==r){if(e.relatedTarget===this.DOM.scope)return this.dropdown.hide(),void this.DOM.input.focus();this.postUpdate(),t.onChangeAfterBlur&&this.triggerChangeEvent()}if(!s&&!l)if(this.state.hasFocus="focus"==r&&+new Date,this.toggleFocusClass(this.state.hasFocus),"mix"!=t.mode){if("focus"==r)return this.trigger("focus",o),void(0!==t.dropdown.enabled&&t.userInput||this.dropdown.show(this.value.length?"":void 0));"blur"==r&&(this.trigger("blur",o),this.loading(!1),"select"==t.mode&&(c&&(this.removeTags(),n=""),a===n&&(n="")),n&&!this.state.actions.selectOption&&t.addTagOnBlur&&this.addTags(n,!0)),this.DOM.input.removeAttribute("style"),this.dropdown.hide()}else"focus"==r?this.trigger("focus",o):"blur"==e.type&&(this.trigger("blur",o),this.loading(!1),this.dropdown.hide(),this.state.dropdown.visible=void 0,this.setStateSelection())},onWindowKeyDown(e){var t,n=document.activeElement;if(f.call(this,n)&&this.DOM.scope.contains(document.activeElement))switch(t=n.nextElementSibling,e.key){case"Backspace":this.settings.readonly||(this.removeTags(n),(t||this.DOM.input).focus());break;case"Enter":setTimeout(this.editTag.bind(this),0,n)}},onKeydown(e){var t=this.settings;"select"==t.mode&&t.enforceWhitelist&&this.value.length&&"Tab"!=e.key&&e.preventDefault();var n=this.trim(e.target.textContent);if(this.trigger("keydown",{event:e}),"mix"==t.mode){switch(e.key){case"Left":case"ArrowLeft":this.state.actions.ArrowLeft=!0;break;case"Delete":case"Backspace":if(this.state.editing)return;var a,r,i,s=document.getSelection(),c="Delete"==e.key&&s.anchorOffset==(s.anchorNode.length||0),p=s.anchorNode.previousSibling,d=1==s.anchorNode.nodeType||!s.anchorOffset&&p&&1==p.nodeType&&s.anchorNode.previousSibling,u=o(this.DOM.input.innerHTML),h=this.getTagElms();if("edit"==t.backspace&&d)return a=1==s.anchorNode.nodeType?null:s.anchorNode.previousElementSibling,setTimeout(this.editTag.bind(this),0,a),void e.preventDefault();if(m()&&d)return i=l(d),d.hasAttribute("readonly")||d.remove(),this.DOM.input.focus(),void setTimeout((()=>{this.placeCaretAfterNode(i),this.DOM.input.click()}));if("BR"==s.anchorNode.nodeName)return;if((c||d)&&1==s.anchorNode.nodeType?r=0==s.anchorOffset?c?h[0]:null:h[Math.min(h.length,s.anchorOffset)-1]:c?r=s.anchorNode.nextElementSibling:d&&(r=d),3==s.anchorNode.nodeType&&!s.anchorNode.nodeValue&&s.anchorNode.previousElementSibling&&e.preventDefault(),(d||c)&&!t.backspace)return void e.preventDefault();if("Range"!=s.type&&!s.anchorOffset&&s.anchorNode==this.DOM.input&&"Delete"!=e.key)return void e.preventDefault();if("Range"!=s.type&&r&&r.hasAttribute("readonly"))return void this.placeCaretAfterNode(l(r));clearTimeout(k),k=setTimeout((()=>{var e=document.getSelection(),t=o(this.DOM.input.innerHTML),n=!c&&e.anchorNode.previousSibling;if(t.length>=u.length&&n)if(f.call(this,n)&&!n.hasAttribute("readonly")){if(this.removeTags(n),this.fixFirefoxLastTagNoCaret(),2==this.DOM.input.children.length&&"BR"==this.DOM.input.children[1].tagName)return this.DOM.input.innerHTML="",this.value.length=0,!0}else n.remove();this.value=[].map.call(h,((e,t)=>{var n=this.tagData(e);if(e.parentNode||n.readonly)return n;this.trigger("remove",{tag:e,index:t,data:n})})).filter((e=>e))}),20)}return!0}switch(e.key){case"Backspace":"select"==t.mode&&t.enforceWhitelist&&this.value.length?this.removeTags():this.state.dropdown.visible&&"manual"!=t.dropdown.position||""!=e.target.textContent&&8203!=n.charCodeAt(0)||(!0===t.backspace?this.removeTags():"edit"==t.backspace&&setTimeout(this.editTag.bind(this),0));break;case"Esc":case"Escape":if(this.state.dropdown.visible)return;e.target.blur();break;case"Down":case"ArrowDown":this.state.dropdown.visible||this.dropdown.show();break;case"ArrowRight":{let e=this.state.inputSuggestion||this.state.ddItemData;if(e&&t.autoComplete.rightKey)return void this.addTags([e],!0);break}case"Tab":{let a="select"==t.mode;if(!n||a)return!0;e.preventDefault()}case"Enter":if(this.state.dropdown.visible||229==e.keyCode)return;e.preventDefault(),setTimeout((()=>{this.state.actions.selectOption||this.addTags(n,!0)}))}},onInput(e){this.postUpdate();var t=this.settings;if("mix"==t.mode)return this.events.callbacks.onMixTagsInput.call(this,e);var n=this.input.normalize.call(this),a=n.length>=t.dropdown.enabled,r={value:n,inputElm:this.DOM.input},i=this.validateTag({value:n});"select"==t.mode&&this.toggleScopeValidation(i),r.isValid=i,this.state.inputText!=n&&(this.input.set.call(this,n,!1),-1!=n.search(t.delimiters)?this.addTags(n)&&this.input.set.call(this):t.dropdown.enabled>=0&&this.dropdown[a?"show":"hide"](n),this.trigger("input",r))},onMixTagsInput(e){var t,n,a,r,i,o,s,l,c=this.settings,p=this.value.length,u=this.getTagElms(),h=document.createDocumentFragment(),g=window.getSelection().getRangeAt(0),f=[].map.call(u,(e=>this.tagData(e).value));if("deleteContentBackward"==e.inputType&&m()&&this.events.callbacks.onKeydown.call(this,{target:e.target,key:"Backspace"}),this.value.slice().forEach((e=>{e.readonly&&!f.includes(e.value)&&h.appendChild(this.createTagElem(e))})),h.childNodes.length&&(g.insertNode(h),this.setRangeAtStartEnd(!1,h.lastChild)),u.length!=p)return this.value=[].map.call(this.getTagElms(),(e=>this.tagData(e))),void this.update({withoutChangeEvent:!0});if(this.hasMaxTags())return!0;if(window.getSelection&&(o=window.getSelection()).rangeCount>0&&3==o.anchorNode.nodeType){if((g=o.getRangeAt(0).cloneRange()).collapse(!0),g.setStart(o.focusNode,0),a=(t=g.toString().slice(0,g.endOffset)).split(c.pattern).length-1,(n=t.match(c.pattern))&&(r=t.slice(t.lastIndexOf(n[n.length-1]))),r){if(this.state.actions.ArrowLeft=!1,this.state.tag={prefix:r.match(c.pattern)[0],value:r.replace(c.pattern,"")},this.state.tag.baseOffset=o.baseOffset-this.state.tag.value.length,l=this.state.tag.value.match(c.delimiters))return this.state.tag.value=this.state.tag.value.replace(c.delimiters,""),this.state.tag.delimiters=l[0],this.addTags(this.state.tag.value,c.dropdown.clearOnSelect),void this.dropdown.hide();i=this.state.tag.value.length>=c.dropdown.enabled;try{s=(s=this.state.flaggedTags[this.state.tag.baseOffset]).prefix==this.state.tag.prefix&&s.value[0]==this.state.tag.value[0],this.state.flaggedTags[this.state.tag.baseOffset]&&!this.state.tag.value&&delete this.state.flaggedTags[this.state.tag.baseOffset]}catch(e){}(s||a<this.state.mixMode.matchedPatternCount)&&(i=!1)}else this.state.flaggedTags={};this.state.mixMode.matchedPatternCount=a}setTimeout((()=>{this.update({withoutChangeEvent:!0}),this.trigger("input",d({},this.state.tag,{textContent:this.DOM.input.textContent})),this.state.tag&&this.dropdown[i?"show":"hide"](this.state.tag.value)}),10)},onInputIE(e){var t=this;setTimeout((function(){t.events.callbacks.onInput.call(t,e)}))},observeOriginalInputValue(){this.DOM.originalInput.parentNode||this.destroy(),this.DOM.originalInput.value!=this.DOM.originalInput.tagifyValue&&this.loadOriginalValues()},onClickScope(e){var t=this.settings,n=e.target.closest("."+t.classNames.tag),a=+new Date-this.state.hasFocus;if(e.target!=this.DOM.scope){if(!e.target.classList.contains(t.classNames.tagX))return n?(this.trigger("click",{tag:n,index:this.getNodeIndex(n),data:this.tagData(n),event:e}),void(1!==t.editTags&&1!==t.editTags.clicks||this.events.callbacks.onDoubleClickScope.call(this,e))):void(e.target==this.DOM.input&&("mix"==t.mode&&this.fixFirefoxLastTagNoCaret(),a>500)?this.state.dropdown.visible?this.dropdown.hide():0===t.dropdown.enabled&&"mix"!=t.mode&&this.dropdown.show(this.value.length?"":void 0):"select"==t.mode&&!this.state.dropdown.visible&&this.dropdown.show());this.removeTags(e.target.parentNode)}else this.state.hasFocus||this.DOM.input.focus()},onPaste(e){e.preventDefault();var t,n,a=this.settings;if("select"==a.mode&&a.enforceWhitelist||!a.userInput)return!1;a.readonly||(t=e.clipboardData||window.clipboardData,n=t.getData("Text"),a.hooks.beforePaste(e,{tagify:this,pastedText:n,clipboardData:t}).then((t=>{void 0===t&&(t=n),t&&(this.injectAtCaret(t,window.getSelection().getRangeAt(0)),"mix"==this.settings.mode?this.events.callbacks.onMixTagsInput.call(this,e):this.settings.pasteAsTags?this.addTags(this.state.inputText+t,!0):this.state.inputText=t)})).catch((e=>e)))},onDrop(e){e.preventDefault()},onEditTagInput(e,t){var n=e.closest("."+this.settings.classNames.tag),a=this.getNodeIndex(n),r=this.tagData(n),i=this.input.normalize.call(this,e),o={[this.settings.tagTextProp]:i,__tagId:r.__tagId},s=this.validateTag(o);this.editTagChangeDetected(d(r,o))||!0!==e.originalIsValid||(s=!0),n.classList.toggle(this.settings.classNames.tagInvalid,!0!==s),r.__isValid=s,n.title=!0===s?r.title||r.value:s,i.length>=this.settings.dropdown.enabled&&(this.state.editing&&(this.state.editing.value=i),this.dropdown.show(i)),this.trigger("edit:input",{tag:n,index:a,data:d({},this.value[a],{newValue:i}),event:t})},onEditTagFocus(e){this.state.editing={scope:e,input:e.querySelector("[contenteditable]")}},onEditTagBlur(e){if(this.state.hasFocus||this.toggleFocusClass(),this.DOM.scope.contains(e)){var t,n,a=this.settings,r=e.closest("."+a.classNames.tag),i=this.input.normalize.call(this,e),o=this.tagData(r),s=o.__originalData,l=this.editTagChangeDetected(o),c=this.validateTag({[a.tagTextProp]:i,__tagId:o.__tagId});if(i)if(l){if(t=this.hasMaxTags(),n=d({},s,{[a.tagTextProp]:this.trim(i),__isValid:c}),a.transformTag.call(this,n,s),!0!==(c=(!t||!0===s.__isValid)&&this.validateTag(n))){if(this.trigger("invalid",{data:n,tag:r,message:c}),a.editTags.keepInvalid)return;a.keepInvalidTags?n.__isValid=c:n=s}else a.keepInvalidTags&&(delete n.title,delete n["aria-invalid"],delete n.class);this.onEditTagDone(r,n)}else this.onEditTagDone(r,s);else this.onEditTagDone(r)}},onEditTagkeydown(e,t){switch(this.trigger("edit:keydown",{event:e}),e.key){case"Esc":case"Escape":t.parentNode.replaceChild(t.__tagifyTagData.__originalHTML,t),this.state.editing=!1;case"Enter":case"Tab":e.preventDefault(),e.target.blur()}},onDoubleClickScope(e){var t,n,a=e.target.closest("."+this.settings.classNames.tag),r=this.tagData(a),i=this.settings;a&&i.userInput&&!1!==r.editable&&(t=a.classList.contains(this.settings.classNames.tagEditing),n=a.hasAttribute("readonly"),"select"==i.mode||i.readonly||t||n||!this.settings.editTags||this.editTag(a),this.toggleFocusClass(!0),this.trigger("dblclick",{tag:a,index:this.getNodeIndex(a),data:this.tagData(a)}))},onInputDOMChange(e){e.forEach((e=>{e.addedNodes.forEach((e=>{if("<div><br></div>"==e.outerHTML)e.replaceWith(document.createElement("br"));else if(1==e.nodeType&&e.querySelector(this.settings.classNames.tagSelector)){let t=document.createTextNode("");3==e.childNodes[0].nodeType&&"BR"!=e.previousSibling.nodeName&&(t=document.createTextNode("\n")),e.replaceWith(t,...[...e.childNodes].slice(0,-1)),this.placeCaretAfterNode(t)}else if(f.call(this,e)&&(3!=e.previousSibling?.nodeType||e.previousSibling.textContent||e.previousSibling.remove(),e.previousSibling&&"BR"==e.previousSibling.nodeName)){e.previousSibling.replaceWith("\n​");let t=e.nextSibling,n="";for(;t;)n+=t.textContent,t=t.nextSibling;n.trim()&&this.placeCaretAfterNode(e.previousSibling)}})),e.removedNodes.forEach((e=>{e&&"BR"==e.nodeName&&f.call(this,t)&&(this.removeTags(t),this.fixFirefoxLastTagNoCaret())}))}));var t=this.DOM.input.lastChild;t&&""==t.nodeValue&&t.remove(),t&&"BR"==t.nodeName||this.DOM.input.appendChild(document.createElement("br"))}}};function O(e,t){if(!e){console.warn("Tagify:","input element not found",e);const t=new Proxy(this,{get:()=>()=>t});return t}if(e.__tagify)return console.warn("Tagify: ","input element is already Tagified - Same instance is returned.",e),e.__tagify;var n;d(this,function(e){var t=document.createTextNode("");function n(e,n,a){a&&n.split(/\s+/g).forEach((n=>t[e+"EventListener"].call(t,n,a)))}return{off(e,t){return n("remove",e,t),this},on(e,t){return t&&"function"==typeof t&&n("add",e,t),this},trigger(n,a,r){var i;if(r=r||{cloneData:!0},n)if(e.settings.isJQueryPlugin)"remove"==n&&(n="removeTag"),jQuery(e.DOM.originalInput).triggerHandler(n,[a]);else{try{var o="object"==typeof a?a:{value:a};if((o=r.cloneData?d({},o):o).tagify=this,a.event&&(o.event=this.cloneEvent(a.event)),a instanceof Object)for(var s in a)a[s]instanceof HTMLElement&&(o[s]=a[s]);i=new CustomEvent(n,{detail:o})}catch(e){console.warn(e)}t.dispatchEvent(i)}}}}(this)),this.isFirefox="undefined"!=typeof InstallTrigger,this.isIE=window.document.documentMode,t=t||{},this.getPersistedData=(n=t.id,e=>{let t,a="/"+e;if(1==localStorage.getItem(b+n+"/v",1))try{t=JSON.parse(localStorage[b+n+a])}catch(e){}return t}),this.setPersistedData=(e=>e?(localStorage.setItem(b+e+"/v",1),(t,n)=>{let a="/"+n,r=JSON.stringify(t);t&&n&&(localStorage.setItem(b+e+a,r),dispatchEvent(new Event("storage")))}):()=>{})(t.id),this.clearPersistedData=(e=>t=>{const n=b+"/"+e+"/";if(t)localStorage.removeItem(n+t);else for(let e in localStorage)e.includes(n)&&localStorage.removeItem(e)})(t.id),this.applySettings(e,t),this.state={inputText:"",editing:!1,actions:{},mixMode:{},dropdown:{},flaggedTags:{}},this.value=[],this.listeners={},this.DOM={},this.build(e),v.call(this),this.getCSSVars(),this.loadOriginalValues(),this.events.customBinding.call(this),this.events.binding.call(this),e.autofocus&&this.DOM.input.focus(),e.__tagify=this}return O.prototype={_dropdown:y,helpers:{sameStr:a,removeCollectionProp:r,omit:i,isObject:p,parseHTML:s,escapeHTML:c,extend:d,concatWithoutDups:u,getUID:g,isNodeTag:f},customEventsList:["change","add","remove","invalid","input","click","keydown","focus","blur","edit:input","edit:beforeUpdate","edit:updated","edit:start","edit:keydown","dropdown:show","dropdown:hide","dropdown:select","dropdown:updated","dropdown:noMatch","dropdown:scroll"],dataProps:["__isValid","__removed","__originalData","__originalHTML","__tagId"],trim(e){return this.settings.trim&&e&&"string"==typeof e?e.trim():e},parseHTML:s,templates:E,parseTemplate(e,t){return e=this.settings.templates[e]||e,this.parseHTML(e.apply(this,t))},set whitelist(e){const t=e&&Array.isArray(e);this.settings.whitelist=t?e:[],this.setPersistedData(t?e:[],"whitelist")},get whitelist(){return this.settings.whitelist},generateClassSelectors(e){for(let t in e){let n=t;Object.defineProperty(e,n+"Selector",{get(){return"."+this[n].split(" ")[0]}})}},applySettings(e,n){w.templates=this.templates;var a=this.settings=d({},w,n);if(a.disabled=e.hasAttribute("disabled"),a.readonly=a.readonly||e.hasAttribute("readonly"),a.placeholder=c(e.getAttribute("placeholder")||a.placeholder||""),a.required=e.hasAttribute("required"),this.generateClassSelectors(a.classNames),void 0===a.dropdown.includeSelectedTags&&(a.dropdown.includeSelectedTags=a.duplicates),this.isIE&&(a.autoComplete=!1),["whitelist","blacklist"].forEach((t=>{var n=e.getAttribute("data-"+t);n&&(n=n.split(a.delimiters))instanceof Array&&(a[t]=n)})),"autoComplete"in n&&!p(n.autoComplete)&&(a.autoComplete=w.autoComplete,a.autoComplete.enabled=n.autoComplete),"mix"==a.mode&&(a.autoComplete.rightKey=!0,a.delimiters=n.delimiters||null,a.tagTextProp&&!a.dropdown.searchKeys.includes(a.tagTextProp)&&a.dropdown.searchKeys.push(a.tagTextProp)),e.pattern)try{a.pattern=new RegExp(e.pattern)}catch(e){}if(a.delimiters){a._delimiters=a.delimiters;try{a.delimiters=new RegExp(this.settings.delimiters,"g")}catch(e){}}a.disabled&&(a.userInput=!1),this.TEXTS=t(t({},T),a.texts||{}),"select"!=a.mode&&a.userInput||(a.dropdown.enabled=0),a.dropdown.appendTarget=n.dropdown&&n.dropdown.appendTarget?n.dropdown.appendTarget:document.body;let r=this.getPersistedData("whitelist");Array.isArray(r)&&(this.whitelist=Array.isArray(a.whitelist)?u(a.whitelist,r):r)},getAttributes(e){var t,n=this.getCustomAttributes(e),a="";for(t in n)a+=" "+t+(void 0!==e[t]?`="${n[t]}"`:"");return a},getCustomAttributes(e){if(!p(e))return"";var t,n={};for(t in e)"__"!=t.slice(0,2)&&"class"!=t&&e.hasOwnProperty(t)&&void 0!==e[t]&&(n[t]=c(e[t]));return n},setStateSelection(){var e=window.getSelection(),t={anchorOffset:e.anchorOffset,anchorNode:e.anchorNode,range:e.getRangeAt&&e.rangeCount&&e.getRangeAt(0)};return this.state.selection=t,t},getCaretGlobalPosition(){const e=document.getSelection();if(e.rangeCount){const t=e.getRangeAt(0),n=t.startContainer,a=t.startOffset;let r,i;if(a>0)return i=document.createRange(),i.setStart(n,a-1),i.setEnd(n,a),r=i.getBoundingClientRect(),{left:r.right,top:r.top,bottom:r.bottom};if(n.getBoundingClientRect)return n.getBoundingClientRect()}return{left:-9999,top:-9999}},getCSSVars(){var e,t=getComputedStyle(this.DOM.scope,null);this.CSSVars={tagHideTransition:(e=>{let t=e.value;return"s"==e.unit?1e3*t:t})(function(e){if(!e)return{};var t=(e=e.trim().split(" ")[0]).split(/\d+/g).filter((e=>e)).pop().trim();return{value:+e.split(t).filter((e=>e))[0].trim(),unit:t}}((e="tag-hide-transition",t.getPropertyValue("--"+e))))}},build(e){var t=this.DOM;this.settings.mixMode.integrated?(t.originalInput=null,t.scope=e,t.input=e):(t.originalInput=e,t.originalInput_tabIndex=e.tabIndex,t.scope=this.parseTemplate("wrapper",[e,this.settings]),t.input=t.scope.querySelector(this.settings.classNames.inputSelector),e.parentNode.insertBefore(t.scope,e),e.tabIndex=-1)},destroy(){this.events.unbindGlobal.call(this),this.DOM.scope.parentNode.removeChild(this.DOM.scope),this.DOM.originalInput.tabIndex=this.DOM.originalInput_tabIndex,delete this.DOM.originalInput.__tagify,this.dropdown.hide(!0),clearTimeout(this.dropdownHide__bindEventsTimeout),clearInterval(this.listeners.main.originalInputValueObserverInterval)},loadOriginalValues(e){var t,n=this.settings;if(this.state.blockChangeEvent=!0,void 0===e){const t=this.getPersistedData("value");e=t&&!this.DOM.originalInput.value?t:n.mixMode.integrated?this.DOM.input.textContent:this.DOM.originalInput.value}if(this.removeAllTags(),e)if("mix"==n.mode)this.parseMixTags(this.trim(e)),(t=this.DOM.input.lastChild)&&"BR"==t.tagName||this.DOM.input.insertAdjacentHTML("beforeend","<br>");else{try{JSON.parse(e)instanceof Array&&(e=JSON.parse(e))}catch(e){}this.addTags(e,!0).forEach((e=>e&&e.classList.add(n.classNames.tagNoAnimation)))}else this.postUpdate();this.state.lastOriginalValueReported=n.mixMode.integrated?"":this.DOM.originalInput.value,this.state.blockChangeEvent=!1},cloneEvent(e){var t={};for(var n in e)"path"!=n&&(t[n]=e[n]);return t},loading(e){return this.state.isLoading=e,this.DOM.scope.classList[e?"add":"remove"](this.settings.classNames.scopeLoading),this},tagLoading(e,t){return e&&e.classList[t?"add":"remove"](this.settings.classNames.tagLoading),this},toggleClass(e,t){"string"==typeof e&&this.DOM.scope.classList.toggle(e,t)},toggleScopeValidation(e){var t=!0===e||void 0===e;!this.settings.required&&e&&e===this.TEXTS.empty&&(t=!0),this.toggleClass(this.settings.classNames.tagInvalid,!t),this.DOM.scope.title=t?"":e},toggleFocusClass(e){this.toggleClass(this.settings.classNames.focus,!!e)},triggerChangeEvent:function(){if(!this.settings.mixMode.integrated){var e=this.DOM.originalInput,t=this.state.lastOriginalValueReported!==e.value,n=new CustomEvent("change",{bubbles:!0});t&&(this.state.lastOriginalValueReported=e.value,n.simulated=!0,e._valueTracker&&e._valueTracker.setValue(Math.random()),e.dispatchEvent(n),this.trigger("change",this.state.lastOriginalValueReported),e.value=this.state.lastOriginalValueReported)}},events:_,fixFirefoxLastTagNoCaret(){},placeCaretAfterNode(e){if(e&&e.parentNode){var t=e,n=window.getSelection(),a=n.getRangeAt(0);n.rangeCount&&(a.setStartAfter(t||e),a.collapse(!0),n.removeAllRanges(),n.addRange(a))}},insertAfterTag(e,t){if(t=t||this.settings.mixMode.insertAfterTag,e&&e.parentNode&&t)return t="string"==typeof t?document.createTextNode(t):t,e.parentNode.insertBefore(t,e.nextSibling),t},editTagChangeDetected(e){var t=e.__originalData;for(var n in t)if(!this.dataProps.includes(n)&&e[n]!=t[n])return!0;return!1},getTagTextNode(e){return e.querySelector(this.settings.classNames.tagTextSelector)},setTagTextNode(e,t){this.getTagTextNode(e).innerHTML=c(t)},editTag(e,t){e=e||this.getLastTag(),t=t||{},this.dropdown.hide();var n=this.settings,a=this.getTagTextNode(e),r=this.getNodeIndex(e),i=this.tagData(e),o=this.events.callbacks,s=this,l=!0;if(a){if(!(i instanceof Object&&"editable"in i)||i.editable)return i=this.tagData(e,{__originalData:d({},i),__originalHTML:e.cloneNode(!0)}),this.tagData(i.__originalHTML,i.__originalData),a.setAttribute("contenteditable",!0),e.classList.add(n.classNames.tagEditing),a.addEventListener("focus",o.onEditTagFocus.bind(this,e)),a.addEventListener("blur",(function(){setTimeout((()=>o.onEditTagBlur.call(s,s.getTagTextNode(e))))})),a.addEventListener("input",o.onEditTagInput.bind(this,a)),a.addEventListener("keydown",(t=>o.onEditTagkeydown.call(this,t,e))),t.skipValidation||(l=this.editTagToggleValidity(e)),a.originalIsValid=l,this.trigger("edit:start",{tag:e,index:r,data:i,isValid:l}),a.focus(),this.setRangeAtStartEnd(!1,a),this}else console.warn("Cannot find element in Tag template: .",n.classNames.tagTextSelector)},editTagToggleValidity(e,t){var n;if(t=t||this.tagData(e))return(n=!("__isValid"in t)||!0===t.__isValid)||this.removeTagsFromValue(e),this.update(),e.classList.toggle(this.settings.classNames.tagNotAllowed,!n),t.__isValid;console.warn("tag has no data: ",e,t)},onEditTagDone(e,t){t=t||{};var n={tag:e=e||this.state.editing.scope,index:this.getNodeIndex(e),previousData:this.tagData(e),data:t};this.trigger("edit:beforeUpdate",n,{cloneData:!1}),this.state.editing=!1,delete t.__originalData,delete t.__originalHTML,e&&t[this.settings.tagTextProp]?(e=this.replaceTag(e,t),this.editTagToggleValidity(e,t),this.settings.a11y.focusableTags?e.focus():this.placeCaretAfterNode(e)):e&&this.removeTags(e),this.trigger("edit:updated",n),this.dropdown.hide(),this.settings.keepInvalidTags&&this.reCheckInvalidTags()},replaceTag(e,t){t&&t.value||(t=e.__tagifyTagData),t.__isValid&&1!=t.__isValid&&d(t,this.getInvalidTagAttrs(t,t.__isValid));var n=this.createTagElem(t);return e.parentNode.replaceChild(n,e),this.updateValueByDOMTags(),n},updateValueByDOMTags(){this.value.length=0,[].forEach.call(this.getTagElms(),(e=>{e.classList.contains(this.settings.classNames.tagNotAllowed.split(" ")[0])||this.value.push(this.tagData(e))})),this.update()},setRangeAtStartEnd(e,t){e="number"==typeof e?e:!!e,t=(t=t||this.DOM.input).lastChild||t;var n=document.getSelection();try{n.rangeCount>=1&&["Start","End"].forEach((a=>n.getRangeAt(0)["set"+a](t,e||t.length)))}catch(e){}},injectAtCaret(e,t){return!(t=t||this.state.selection?.range)&&e?(this.appendMixTags(e),this):("string"==typeof e&&(e=document.createTextNode(e)),t.deleteContents(),t.insertNode(e),this.setRangeAtStartEnd(!1,e),this.updateValueByDOMTags(),this.update(),this)},input:{set(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];var n=this.settings.dropdown.closeOnSelect;this.state.inputText=e,t&&(this.DOM.input.innerHTML=c(""+e)),!e&&n&&this.dropdown.hide.bind(this),this.input.autocomplete.suggest.call(this),this.input.validate.call(this)},raw(){return this.DOM.input.textContent},validate(){var e=!this.state.inputText||!0===this.validateTag({value:this.state.inputText});return this.DOM.input.classList.toggle(this.settings.classNames.inputInvalid,!e),e},normalize(e){var t=e||this.DOM.input,n=[];t.childNodes.forEach((e=>3==e.nodeType&&n.push(e.nodeValue))),n=n.join("\n");try{n=n.replace(/(?:\r\n|\r|\n)/g,this.settings.delimiters.source.charAt(0))}catch(e){}return n=n.replace(/\s/g," "),this.trim(n)},autocomplete:{suggest(e){if(this.settings.autoComplete.enabled){"string"==typeof(e=e||{})&&(e={value:e});var t=e.value?""+e.value:"",n=t.substr(0,this.state.inputText.length).toLowerCase(),a=t.substring(this.state.inputText.length);t&&this.state.inputText&&n==this.state.inputText.toLowerCase()?(this.DOM.input.setAttribute("data-suggest",a),this.state.inputSuggestion=e):(this.DOM.input.removeAttribute("data-suggest"),delete this.state.inputSuggestion)}},set(e){var t=this.DOM.input.getAttribute("data-suggest"),n=e||(t?this.state.inputText+t:null);return!!n&&("mix"==this.settings.mode?this.replaceTextWithNode(document.createTextNode(this.state.tag.prefix+n)):(this.input.set.call(this,n),this.setRangeAtStartEnd()),this.input.autocomplete.suggest.call(this),this.dropdown.hide(),!0)}}},getTagIdx(e){return this.value.findIndex((t=>t.__tagId==(e||{}).__tagId))},getNodeIndex(e){var t=0;if(e)for(;e=e.previousElementSibling;)t++;return t},getTagElms(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a="."+[...this.settings.classNames.tag.split(" "),...t].join(".");return[].slice.call(this.DOM.scope.querySelectorAll(a))},getLastTag(){var e=this.DOM.scope.querySelectorAll(`${this.settings.classNames.tagSelector}:not(.${this.settings.classNames.tagHide}):not([readonly])`);return e[e.length-1]},tagData:(e,t,n)=>e?(t&&(e.__tagifyTagData=n?t:d({},e.__tagifyTagData||{},t)),e.__tagifyTagData):(console.warn("tag element doesn't exist",e,t),t),isTagDuplicate(e,t,n){var r=0;if("select"==this.settings.mode)return!1;for(let i of this.value)a(this.trim(""+e),i.value,t)&&n!=i.__tagId&&r++;return r},getTagIndexByValue(e){var t=[];return this.getTagElms().forEach(((n,r)=>{a(this.trim(n.textContent),e,this.settings.dropdown.caseSensitive)&&t.push(r)})),t},getTagElmByValue(e){var t=this.getTagIndexByValue(e)[0];return this.getTagElms()[t]},flashTag(e){e&&(e.classList.add(this.settings.classNames.tagFlash),setTimeout((()=>{e.classList.remove(this.settings.classNames.tagFlash)}),100))},isTagBlacklisted(e){return e=this.trim(e.toLowerCase()),this.settings.blacklist.filter((t=>(""+t).toLowerCase()==e)).length},isTagWhitelisted(e){return!!this.getWhitelistItem(e)},getWhitelistItem(e,t,n){t=t||"value";var r,i=this.settings;return(n=n||i.whitelist).some((n=>{var o="string"==typeof n?n:n[t]||n.value;if(a(o,e,i.dropdown.caseSensitive,i.trim))return r="string"==typeof n?{value:n}:n,!0})),r||"value"!=t||"value"==i.tagTextProp||(r=this.getWhitelistItem(e,i.tagTextProp,n)),r},validateTag(e){var t=this.settings,n="value"in e?"value":t.tagTextProp,a=this.trim(e[n]+"");return(e[n]+"").trim()?t.pattern&&t.pattern instanceof RegExp&&!t.pattern.test(a)?this.TEXTS.pattern:!t.duplicates&&this.isTagDuplicate(a,t.dropdown.caseSensitive,e.__tagId)?this.TEXTS.duplicate:this.isTagBlacklisted(a)||t.enforceWhitelist&&!this.isTagWhitelisted(a)?this.TEXTS.notAllowed:!t.validate||t.validate(e):this.TEXTS.empty},getInvalidTagAttrs(e,t){return{"aria-invalid":!0,class:`${e.class||""} ${this.settings.classNames.tagNotAllowed}`.trim(),title:t}},hasMaxTags(){return this.value.length>=this.settings.maxTags&&this.TEXTS.exceed},setReadonly(e,t){var n=this.settings;document.activeElement.blur(),n[t||"readonly"]=e,this.DOM.scope[(e?"set":"remove")+"Attribute"](t||"readonly",!0),this.setContentEditable(!e)},setContentEditable(e){this.DOM.input.contentEditable=e,this.DOM.input.tabIndex=e?0:-1},setDisabled(e){this.setReadonly(e,"disabled")},normalizeTags(e){var t=this.settings,n=t.whitelist,a=t.delimiters,r=t.mode,i=t.tagTextProp;t.enforceWhitelist;var o=[],s=!!n&&n[0]instanceof Object,l=Array.isArray(e),c=l&&e[0].value,p=e=>(e+"").split(a).filter((e=>e)).map((e=>({[i]:this.trim(e),value:this.trim(e)})));if("number"==typeof e&&(e=e.toString()),"string"==typeof e){if(!e.trim())return[];e=p(e)}else l&&(e=[].concat(...e.map((e=>e.value?e:p(e)))));return s&&!c&&(e.forEach((e=>{var t=o.map((e=>e.value)),n=this.dropdown.filterListItems.call(this,e[i],{exact:!0});this.settings.duplicates||(n=n.filter((e=>!t.includes(e.value))));var a=n.length>1?this.getWhitelistItem(e[i],i,n):n[0];a&&a instanceof Object?o.push(a):"mix"!=r&&(null==e.value&&(e.value=e[i]),o.push(e))})),o.length&&(e=o)),e},parseMixTags(e){var t=this.settings,n=t.mixTagsInterpolator,a=t.duplicates,r=t.transformTag,i=t.enforceWhitelist,o=t.maxTags,s=t.tagTextProp,l=[];return e=e.split(n[0]).map(((e,t)=>{var c,p,d,u=e.split(n[1]),h=u[0],m=l.length==o;try{if(h==+h)throw Error;p=JSON.parse(h)}catch(e){p=this.normalizeTags(h)[0]||{value:h}}if(r.call(this,p),m||!(u.length>1)||i&&!this.isTagWhitelisted(p.value)||!a&&this.isTagDuplicate(p.value)){if(e)return t?n[0]+e:e}else p[c=p[s]?s:"value"]=this.trim(p[c]),d=this.createTagElem(p),l.push(p),d.classList.add(this.settings.classNames.tagNoAnimation),u[0]=d.outerHTML,this.value.push(p);return u.join("")})).join(""),this.DOM.input.innerHTML=e,this.DOM.input.appendChild(document.createTextNode("")),this.DOM.input.normalize(),this.getTagElms().forEach(((e,t)=>this.tagData(e,l[t]))),this.update({withoutChangeEvent:!0}),e},replaceTextWithNode(e,t){if(this.state.tag||t){t=t||this.state.tag.prefix+this.state.tag.value;var n,a,r=this.state.selection||window.getSelection(),i=r.anchorNode,o=this.state.tag.delimiters?this.state.tag.delimiters.length:0;return i.splitText(r.anchorOffset-o),-1==(n=i.nodeValue.lastIndexOf(t))||(a=i.splitText(n),e&&i.parentNode.replaceChild(e,a)),!0}},selectTag(e,t){var n=this.settings;if(!n.enforceWhitelist||this.isTagWhitelisted(t.value)){this.input.set.call(this,t[n.tagTextProp]||t.value,!0),this.state.actions.selectOption&&setTimeout(this.setRangeAtStartEnd.bind(this));var a=this.getLastTag();return a?this.replaceTag(a,t):this.appendTag(e),this.value[0]=t,this.update(),this.trigger("add",{tag:e,data:t}),[e]}},addEmptyTag(e){var t=d({value:""},e||{}),n=this.createTagElem(t);this.tagData(n,t),this.appendTag(n),this.editTag(n,{skipValidation:!0})},addTags(e,t,n){var a=[],r=this.settings,i=[],o=document.createDocumentFragment();if(n=n||r.skipInvalid,!e||0==e.length)return a;switch(e=this.normalizeTags(e),r.mode){case"mix":return this.addMixTags(e);case"select":t=!1,this.removeAllTags()}return this.DOM.input.removeAttribute("style"),e.forEach((e=>{var t,s={},l=Object.assign({},e,{value:e.value+""});if(e=Object.assign({},l),r.transformTag.call(this,e),e.__isValid=this.hasMaxTags()||this.validateTag(e),!0!==e.__isValid){if(n)return;if(d(s,this.getInvalidTagAttrs(e,e.__isValid),{__preInvalidData:l}),e.__isValid==this.TEXTS.duplicate&&this.flashTag(this.getTagElmByValue(e.value)),!r.createInvalidTags)return void i.push(e.value)}if("readonly"in e&&(e.readonly?s["aria-readonly"]=!0:delete e.readonly),t=this.createTagElem(e,s),a.push(t),"select"==r.mode)return this.selectTag(t,e);o.appendChild(t),e.__isValid&&!0===e.__isValid?(this.value.push(e),this.trigger("add",{tag:t,index:this.value.length-1,data:e})):(this.trigger("invalid",{data:e,index:this.value.length,tag:t,message:e.__isValid}),r.keepInvalidTags||setTimeout((()=>this.removeTags(t,!0)),1e3)),this.dropdown.position()})),this.appendTag(o),this.update(),e.length&&t&&(this.input.set.call(this,r.createInvalidTags?"":i.join(r._delimiters)),this.setRangeAtStartEnd()),r.dropdown.enabled&&this.dropdown.refilter(),a},addMixTags(e){if((e=this.normalizeTags(e))[0].prefix||this.state.tag)return this.prefixedTextToTag(e[0]);"string"==typeof e&&(e=[{value:e}]),this.state.selection;var t=document.createDocumentFragment();return e.forEach((e=>{var n=this.createTagElem(e);t.appendChild(n),this.insertAfterTag(n)})),this.appendMixTags(t),t},appendMixTags(e){var t=!!this.state.selection;t?this.injectAtCaret(e):(this.DOM.input.focus(),(t=this.setStateSelection()).range.setStart(this.DOM.input,t.range.endOffset),t.range.setEnd(this.DOM.input,t.range.endOffset),this.DOM.input.appendChild(e),this.updateValueByDOMTags(),this.update())},prefixedTextToTag(e){var t,n=this.settings,a=this.state.tag.delimiters;if(n.transformTag.call(this,e),e.prefix=e.prefix||this.state.tag?this.state.tag.prefix:(n.pattern.source||n.pattern)[0],t=this.createTagElem(e),this.replaceTextWithNode(t)||this.DOM.input.appendChild(t),setTimeout((()=>t.classList.add(this.settings.classNames.tagNoAnimation)),300),this.value.push(e),this.update(),!a){var r=this.insertAfterTag(t)||t;this.placeCaretAfterNode(r)}return this.state.tag=null,this.trigger("add",d({},{tag:t},{data:e})),t},appendTag(e){var t=this.DOM,n=t.input;n===t.input?t.scope.insertBefore(e,n):t.scope.appendChild(e)},createTagElem(e,n){e.__tagId=g();var a,r=d({},e,t({value:c(e.value+"")},n));return function(e){for(var t,n=document.createNodeIterator(e,NodeFilter.SHOW_TEXT,null,!1);t=n.nextNode();)t.textContent.trim()||t.parentNode.removeChild(t)}(a=this.parseTemplate("tag",[r,this])),this.tagData(a,e),a},reCheckInvalidTags(){var e=this.settings;this.getTagElms(e.classNames.tagNotAllowed).forEach(((t,n)=>{var a=this.tagData(t),r=this.hasMaxTags(),i=this.validateTag(a),o=!0===i&&!r;if("select"==e.mode&&this.toggleScopeValidation(i),o)return a=a.__preInvalidData?a.__preInvalidData:{value:a.value},this.replaceTag(t,a);t.title=r||i}))},removeTags(e,t,n){var a,r=this.settings;if(e=e&&e instanceof HTMLElement?[e]:e instanceof Array?e:e?[e]:[this.getLastTag()],a=e.reduce(((e,t)=>{t&&"string"==typeof t&&(t=this.getTagElmByValue(t));var n=this.tagData(t);return t&&n&&!n.readonly&&e.push({node:t,idx:this.getTagIdx(n),data:this.tagData(t,{__removed:!0})}),e}),[]),n="number"==typeof n?n:this.CSSVars.tagHideTransition,"select"==r.mode&&(n=0,this.input.set.call(this)),1==a.length&&"select"!=r.mode&&a[0].node.classList.contains(r.classNames.tagNotAllowed)&&(t=!0),a.length)return r.hooks.beforeRemoveTag(a,{tagify:this}).then((()=>{function e(e){e.node.parentNode&&(e.node.parentNode.removeChild(e.node),t?r.keepInvalidTags&&this.trigger("remove",{tag:e.node,index:e.idx}):(this.trigger("remove",{tag:e.node,index:e.idx,data:e.data}),this.dropdown.refilter(),this.dropdown.position(),this.DOM.input.normalize(),r.keepInvalidTags&&this.reCheckInvalidTags()))}n&&n>10&&1==a.length?function(t){t.node.style.width=parseFloat(window.getComputedStyle(t.node).width)+"px",document.body.clientTop,t.node.classList.add(r.classNames.tagHide),setTimeout(e.bind(this),n,t)}.call(this,a[0]):a.forEach(e.bind(this)),t||(this.removeTagsFromValue(a.map((e=>e.node))),this.update(),"select"==r.mode&&this.setContentEditable(!0))})).catch((e=>{}))},removeTagsFromDOM(){[].slice.call(this.getTagElms()).forEach((e=>e.parentNode.removeChild(e)))},removeTagsFromValue(e){(e=Array.isArray(e)?e:[e]).forEach((e=>{var t=this.tagData(e),n=this.getTagIdx(t);n>-1&&this.value.splice(n,1)}))},removeAllTags(e){e=e||{},this.value=[],"mix"==this.settings.mode?this.DOM.input.innerHTML="":this.removeTagsFromDOM(),this.dropdown.refilter(),this.dropdown.position(),this.state.dropdown.visible&&setTimeout((()=>{this.DOM.input.focus()})),"select"==this.settings.mode&&(this.input.set.call(this),this.setContentEditable(!0)),this.update(e)},postUpdate(){var e=this.settings,t=e.classNames,n="mix"==e.mode?e.mixMode.integrated?this.DOM.input.textContent:this.DOM.originalInput.value.trim():this.value.length+this.input.raw.call(this).length;this.toggleClass(t.hasMaxTags,this.value.length>=e.maxTags),this.toggleClass(t.hasNoTags,!this.value.length),this.toggleClass(t.empty,!n),"select"==e.mode&&this.toggleScopeValidation(this.value?.[0]?.__isValid)},setOriginalInputValue(e){var t=this.DOM.originalInput;this.settings.mixMode.integrated||(t.value=e,t.tagifyValue=t.value,this.setPersistedData(e,"value"))},update(e){var t=this.getInputValue();this.setOriginalInputValue(t),this.postUpdate(),this.settings.onChangeAfterBlur&&(e||{}).withoutChangeEvent||this.state.blockChangeEvent||this.triggerChangeEvent()},getInputValue(){var e=this.getCleanValue();return"mix"==this.settings.mode?this.getMixedTagsAsString(e):e.length?this.settings.originalInputValueFormat?this.settings.originalInputValueFormat(e):JSON.stringify(e):""},getCleanValue(e){return r(e||this.value,this.dataProps)},getMixedTagsAsString(){var e="",t=this,n=this.settings,a=n.originalInputValueFormat||JSON.stringify,r=n.mixTagsInterpolator;return function n(o){o.childNodes.forEach((o=>{if(1==o.nodeType){const s=t.tagData(o);if("BR"==o.tagName&&(e+="\r\n"),s&&f.call(t,o)){if(s.__removed)return;e+=r[0]+a(i(s,t.dataProps))+r[1]}else o.getAttribute("style")||["B","I","U"].includes(o.tagName)?e+=o.textContent:"DIV"!=o.tagName&&"P"!=o.tagName||(e+="\r\n",n(o))}else e+=o.textContent}))}(this.DOM.input),e}},O.prototype.removeTag=O.prototype.removeTags,O}()},184:function(e,t){var n;!function(){"use strict";var a={}.hasOwnProperty;function r(){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)){if(n.length){var o=r.apply(null,n);o&&e.push(o)}}else if("object"===i)if(n.toString===Object.prototype.toString)for(var s in n)a.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},705:function(e,t,n){var a=n(639).Symbol;e.exports=a},239:function(e,t,n){var a=n(705),r=n(607),i=n(333),o=a?a.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?r(e):i(e)}},561:function(e,t,n){var a=n(990),r=/^\s+/;e.exports=function(e){return e?e.slice(0,a(e)+1).replace(r,""):e}},957:function(e,t,n){var a="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=a},607:function(e,t,n){var a=n(705),r=Object.prototype,i=r.hasOwnProperty,o=r.toString,s=a?a.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var a=!0}catch(e){}var r=o.call(e);return a&&(t?e[s]=n:delete e[s]),r}},333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},639:function(e,t,n){var a=n(957),r="object"==typeof self&&self&&self.Object===Object&&self,i=a||r||Function("return this")();e.exports=i},990:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},279:function(e,t,n){var a=n(218),r=n(771),i=n(841),o=Math.max,s=Math.min;e.exports=function(e,t,n){var l,c,p,d,u,h,m=0,g=!1,f=!1,w=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function v(t){var n=l,a=c;return l=c=void 0,m=t,d=e.apply(a,n)}function y(e){return m=e,u=setTimeout(k,t),g?v(e):d}function b(e){var n=e-h;return void 0===h||n>=t||n<0||f&&e-m>=p}function k(){var e=r();if(b(e))return T(e);u=setTimeout(k,function(e){var n=t-(e-h);return f?s(n,p-(e-m)):n}(e))}function T(e){return u=void 0,w&&l?v(e):(l=c=void 0,d)}function E(){var e=r(),n=b(e);if(l=arguments,c=this,h=e,n){if(void 0===u)return y(h);if(f)return clearTimeout(u),u=setTimeout(k,t),v(h)}return void 0===u&&(u=setTimeout(k,t)),d}return t=i(t)||0,a(n)&&(g=!!n.leading,p=(f="maxWait"in n)?o(i(n.maxWait)||0,t):p,w="trailing"in n?!!n.trailing:w),E.cancel=function(){void 0!==u&&clearTimeout(u),m=0,l=h=c=u=void 0},E.flush=function(){return void 0===u?d:T(r())},E}},218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},5:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},448:function(e,t,n){var a=n(239),r=n(5);e.exports=function(e){return"symbol"==typeof e||r(e)&&"[object Symbol]"==a(e)}},771:function(e,t,n){var a=n(639);e.exports=function(){return a.Date.now()}},841:function(e,t,n){var a=n(561),r=n(218),i=n(448),o=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=a(e);var n=s.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):o.test(e)?NaN:+e}}},t={};function n(a){var r=t[a];if(void 0!==r)return r.exports;var i=t[a]={exports:{}};return e[a].call(i.exports,i,i.exports,n),i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";var e=wp.i18n,t=wp.data,a=wp.hooks,r=wp.element,i=n(184),o=n.n(i),s=lodash,l=wp.compose,c=wp.components;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},p(e)}var d=["tabId","onClick","children","selected"];function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function m(e,t){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},m(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,a=v(e);if(t){var r=v(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return f(this,n)}}function f(e,t){if(t&&("object"===p(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return w(e)}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b(){return b=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},b.apply(this,arguments)}function k(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var T=function(e){var t=e.tabId,n=e.onClick,a=e.children,r=e.selected,i=k(e,d);return wp.element.createElement(c.Button,b({role:"tab",tabIndex:r?null:-1,"aria-selected":r,id:t,onClick:n},i),a)},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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&m(e,t)}(i,e);var t,n,a,r=g(i);function i(){var e;u(this,i),y(w(e=r.apply(this,arguments)),"handleClick",(function(t){var n=e.props.onSelect,a=void 0===n?s.noop:n;e.setState({selected:t}),a(t)})),y(w(e),"onNavigate",(function(e,t){t.click()}));var t=e.props,n=t.tabs,a=t.initialTabName;return e.state={selected:a||(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,a=n.activeClass,r=void 0===a?"is-active":a,i=n.className,l=n.instanceId,p=n.orientation,d=void 0===p?"horizontal":p,u=n.tabs,h=(0,s.find)(u,{name:t}),m=l+"-"+h.name,g=u.slice(4);return wp.element.createElement("div",{className:i},wp.element.createElement(c.NavigableMenu,{role:"tablist",orientation:d,onNavigate:this.onNavigate,className:"components-tab-panel__tabs "+t},u.slice(0,4).map((function(n){return wp.element.createElement(T,{className:o()("components-tab-panel__tabs-item",n.className,y({},r,n.name===t)),tabId:l+"-"+n.name,"aria-controls":l+"-"+n.name+"-view",selected:n.name===t,key:n.name,onClick:(0,s.partial)(e.handleClick,n.name)},n.title)})),g.map((function(n){return wp.element.createElement(T,{className:o()("components-tab-panel__tabs-item",n.className,y({},r,n.name===t)),tabId:l+"-"+n.name,"aria-controls":l+"-"+n.name+"-view",selected:n.name===t,key:n.name,onClick:(0,s.partial)(e.handleClick,n.name)},n.title)}))),h&&wp.element.createElement("div",{"aria-labelledby":m,role:"tabpanel",id:m+"-view",className:"components-tab-panel__tab-content"},this.props.children(h)))}}])&&h(t.prototype,n),a&&h(t,a),Object.defineProperty(t,"prototype",{writable:!1}),i}(r.Component),_=(0,l.withInstanceId)(E),O=document.createElement("div");function x(e){return e&&"string"==typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,"").replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,""),O.innerHTML=e,e=O.textContent,O.textContent=""),e}function C(e,t,n){var a=0;return!1!==(0,s.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 N(e,t){return e<=t.min||e>t.max}function I(e,t){return e<=t.minWidth||e>t.pixelWidth}var S=function(e){var t=function(e,t){var n=x(e).length,a=0,r=!1;if(!1!==(0,s.get)(t,"pixelWidth",!1)){r=!0;var i=document.createTextNode(e),o=document.createElement("span");o.appendChild(i),o.id="rank-math-width-tester",o.className=t.widthCheckerClass;var l=document.body.appendChild(o);a=document.getElementById("rank-math-width-tester").offsetWidth,l.outerHTML=""}return{left:C(n,a,t),isInvalid:N(n,t),isInvalidWidth:!!r&&I(a,t),count:n+" / "+t.max,pixelWidth:r?a+"px / "+t.pixelWidth+"px":""}}(e.source,e),n=t.pixelWidth?" (".concat(t.pixelWidth,")"):"";return wp.element.createElement("span",{className:o()("length-indicator-wrapper",{invalid:t.isInvalid||t.isInvalidWidth})},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}})))},D=wp.htmlEntities,M=React;function A(e){return e.startsWith("{{/")?{type:"componentClose",value:e.replace(/\W/g,"")}:e.endsWith("/}}")?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.startsWith("{{")?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}function P(e,t){let n,a,r=[];for(let i=0;i<e.length;i++){const o=e[i];if("string"!==o.type){if(void 0===t[o.value])throw new Error(`Invalid interpolation, missing component node: \`${o.value}\``);if("object"!=typeof t[o.value])throw new Error(`Invalid interpolation, component node must be a ReactElement or null: \`${o.value}\``);if("componentClose"===o.type)throw new Error(`Missing opening component token: \`${o.value}\``);if("componentOpen"===o.type){n=t[o.value],a=i;break}r.push(t[o.value])}else r.push(o.value)}if(n){const i=function(e,t){const n=t[e];let a=0;for(let r=e+1;r<t.length;r++){const e=t[r];if(e.value===n.value){if("componentOpen"===e.type){a++;continue}if("componentClose"===e.type){if(0===a)return r;a--}}}throw new Error("Missing closing component token `"+n.value+"`")}(a,e),o=P(e.slice(a+1,i),t),s=(0,M.cloneElement)(n,{},o);if(r.push(s),i<e.length-1){const n=P(e.slice(i+1),t);r=r.concat(n)}}return r=r.filter(Boolean),0===r.length?null:1===r.length?r[0]:(0,M.createElement)(M.Fragment,null,...r)}function R(e){const{mixedString:t,components:n,throwErrors:a}=e;if(!n)return t;if("object"!=typeof n){if(a)throw new Error(`Interpolation Error: unable to process \`${t}\` because components is not an object`);return t}const r=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(A)}(t);try{return P(r,n)}catch(e){if(a)throw new Error(`Interpolation Error: unable to process \`${t}\` because of error \`${e.message}\``);return t}}var j=function(e){var t=e.tags,n=e.components,a=e.children;return n=n||{},!1===(0,s.isUndefined)(t)&&(t=t.split(",")).forEach((function(e){var t=e;n[e]=wp.element.createElement(t,null)})),R({mixedString:a,components:n})};function L(e){return L="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},L(e)}function F(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function H(e,t){return H=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},H(e,t)}function B(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,a=z(e);if(t){var r=z(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return U(this,n)}}function U(e,t){if(t&&("object"===L(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return V(e)}function V(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function z(e){return z=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},z(e)}var W=function(t){!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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&H(e,t)}(l,t);var n,a,i,o=B(l);function l(e){var t,n,a,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),t=o.call(this,e),n=V(t),r={},(a="state")in n?Object.defineProperty(n,a,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[a]=r,t.state.variables=t.getFiltered(),t.state.filtered=t.state.variables,t.state.display="none",t.state.isOpen=!1,t.handleOutsideClick=t.handleOutsideClick.bind(V(t)),t}return n=l,(a=[{key:"getFiltered",value:function(){var e=this.props.exclude,t=Object.values(rankMath.variables);return(0,s.isUndefined)(e)?t:t.filter((function(t){return!e.includes(t.variable)}))}},{key:"render",value:function(){var t=this;return wp.element.createElement(r.Fragment,null,wp.element.createElement("div",{className:"rank-math-variables-dropdown",style:{display:this.state.display},ref:function(e){t.node=e}},wp.element.createElement(c.TextControl,{autoComplete:"off",placeholder:(0,D.decodeEntities)((0,e.__)("Search &hellip;","rank-math")),onChange:function(e){t.handleSearch(e)}}),wp.element.createElement("ul",null,this.state.filtered.map((function(e,n){return wp.element.createElement("li",{key:n,"data-var":e.variable,role:"presentation",onClick:function(){t.props.onClick(e)}},wp.element.createElement("strong",null,e.name),wp.element.createElement("span",null,wp.element.createElement(j,{tags:"strong"},e.description.replace("<strong>","{{strong}}").replace("</strong>","{{/strong}}"))))}),this))),wp.element.createElement(c.Button,{icon:"arrow-down-alt2",onClick:function(){t.toggle()}}))}},{key:"toggle",value:function(){this.state.isOpen?document.removeEventListener("click",this.handleOutsideClick,!0):document.addEventListener("click",this.handleOutsideClick,!0),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)}))})}}])&&F(n.prototype,a),i&&F(n,i),Object.defineProperty(n,"prototype",{writable:!1}),l}(r.Component),G=(0,l.compose)((0,t.withSelect)((function(e){var t=e("rank-math");return{title:t.getTitle(),serpTitle:t.getSerpTitle()}})),(0,t.withDispatch)((function(e){return{updateTitle:function(t){e("rank-math").updateSerpTitle(t),e("rank-math").updateTitle(t)}}})))((function(t){var n=t.title,a=t.serpTitle,r=t.updateTitle;return wp.element.createElement("div",{className:"field-group"},wp.element.createElement("label",{htmlFor:"rank-math-editor-title"},(0,e.__)("Title","rank-math")),wp.element.createElement(S,{source:a,min:15,max:60,pixelWidth:580,widthCheckerClass:"title"}),wp.element.createElement("div",{className:"variable-group"},wp.element.createElement(c.TextControl,{id:"rank-math-editor-title",value:n,placeholder:rankMath.assessor.serpData.titleTemplate,help:(0,e.__)("This is what will appear in the first line when this post shows up in the search results.","rank-math"),onChange:r}),wp.element.createElement(W,{exclude:["seo_title","seo_description"],onClick:function(e){return r(n+" %"+e.variable+"%")}})))})),K=rankMathAnalyzer,$=wp.url;var q=(0,l.compose)((0,t.withSelect)((function(e){var t=rankMathEditor.assessor.dataCollector,n=e("rank-math").getSerpSlug();return{permalink:n||t.getSlug(),serpPermalink:t.getPermalink()}})),(0,t.withDispatch)((function(){return{updatePermalink:function(e){rankMathEditor.updatePermalink(K.Helpers.sanitizeText(e),!0)},updatePermalinkSanitize:function(e){rankMathEditor.updatePermalinkSanitize(function(e){return e=e.replace(/,/g,""),e=K.Helpers.removeDiacritics(e),K.Helpers.sanitizeText(e)}(e))}}})))((function(t){var n=t.permalink,a=t.serpPermalink,r=t.updatePermalink,i=t.updatePermalinkSanitize;return wp.element.createElement("div",{className:"field-group"},wp.element.createElement("label",{htmlFor:"rank-math-editor-permalink"},(0,e.__)("Permalink","rank-math")),wp.element.createElement(S,{source:(0,$.safeDecodeURIComponent)(a),min:5,max:75}),wp.element.createElement(c.TextControl,{id:"rank-math-editor-permalink",value:rankMath.is_front_page?"/":(0,$.safeDecodeURIComponent)(n),onChange:r,help:rankMath.is_front_page?(0,e.__)("Editing Homepage permalink is not possible.","rank-math"):(0,e.__)("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)}}))})),Y=(0,l.compose)((0,t.withSelect)((function(e){var t=e("rank-math");return{description:t.getDescription(),serpDescription:t.getSerpDescription()}})),(0,t.withDispatch)((function(e){return{updateDescription:function(t){e("rank-math").updateSerpDescription(t),e("rank-math").updateDescription(t)}}})))((function(t){var n=t.description,a=t.serpDescription,r=t.updateDescription;return wp.element.createElement("div",{className:"field-group"},wp.element.createElement("label",{htmlFor:"rank-math-editor-description"},(0,e.__)("Description","rank-math")),wp.element.createElement(S,{source:a,min:80,max:160,pixelWidth:920,widthCheckerClass:"description"}),wp.element.createElement("div",{className:"variable-group rank-math-description-variables"},wp.element.createElement(c.TextareaControl,{id:"rank-math-editor-description",value:x(n),placeholder:a||(0,s.unescape)(rankMath.assessor.serpData.descriptionTemplate),help:(0,e.__)("This is what will appear as the description when this post shows up in the search results.","rank-math"),onChange:r}),wp.element.createElement(W,{exclude:["seo_title","seo_description"],onClick:function(e){return r(n+" %"+e.variable+"%")}})))})),X=(0,l.compose)((0,t.withSelect)((function(e){return{type:e("rank-math").getSnippetPreviewType()}})),(0,t.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,a=o()("button button-secondary button-small",{active:"desktop"===t}),r=o()("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:a},wp.element.createElement("i",{className:"rm-icon rm-icon-desktop"})),wp.element.createElement("div",{onClick:function(){return n("mobile")},className:r},wp.element.createElement("i",{className:"rm-icon rm-icon-mobile"})))}));function J(e){return 100<e?"bad-fk dark":80<e?"good-fk":50<e?"ok-fk":"bad-fk"}var Z=(0,t.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 "+J(t)},wp.element.createElement("div",{className:"score-text"},t," / 100"))}));function Q(e,t,n,a){return(0,s.isUndefined)(t)?t:(t=(0,s.truncate)(t,{length:n,separator:a||" "}),""===e?t:t.replace(new RegExp(function(e){return e.replace(/[\\^$*+?.()|[\]{}]/g,"\\$&")}(e),"gi"),(function(e){return'<mark className="highlight">'+e+"</mark>"})))}var ee=function(e,t){for(var n=[],a=1;a<=e;a++)n.push(wp.element.createElement(c.Dashicon,{key:Math.random(),size:"13",icon:"star-"+t}));return n},te=(0,t.withSelect)((function(e){var t=e("rank-math").getSchemas();return{schema:(0,s.find)(t,(function(e){return!(0,s.isEmpty)(e.metadata.isPrimary)}))}}))((function(t){var n=t.schema;if((0,s.isEmpty)(n))return null;var a=(0,s.get)(n,"review.reviewRating",{}),r=a.ratingValue;if((0,s.isEmpty)(r))return null;(0,s.get)(a,"worstRating",1);var i=(0,s.get)(a,"bestRating",5);return wp.element.createElement("div",{className:"rank-math-rating-preview"},wp.element.createElement("div",{className:"serp-ratings"},ee(i,"filled"),function(e,t,n){return e*=100/n,wp.element.createElement("div",{className:"serp-result",style:{width:e+"%"}},ee(n,"filled"))}(r,0,i)),wp.element.createElement("span",{className:"serp-rating-label"},(0,e.__)("Rating: ","rank-math")),wp.element.createElement("span",{className:"serp-rating-value"},r))}));function ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ae=(0,t.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(t){var n,a=t.title,r=t.permalink,i=t.description,s=t.previewType,l=void 0===s?"desktop":s,c=t.isNoIndex,p=t.keyword,d=t.onClick,u=t.showScore,h=void 0===u||u,m=t.showDevices,g=void 0!==m&&m,f=o()("serp-preview",(ne(n={"expanded-preview":""!==l},"".concat(l,"-preview"),""!==l&&g),ne(n,"noindex-preview",c),n)),w=o()("serp-title",{capitalize:rankMath.capitalizeTitle}),v=rankMathEditor.assessor.getResearch("slugify")(p);return wp.element.createElement("div",{className:f},wp.element.createElement("div",{className:"serp-preview-title","data-title":(0,e.__)("Preview","rank-math"),"data-desktop":(0,e.__)("Desktop Preview","rank-math"),"data-mobile":(0,e.__)("Mobile Preview","rank-math")},h&&wp.element.createElement(Z,null)," ",g&&wp.element.createElement(X,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:p||(0,e.__)("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"}),(0,e.__)("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"}))," ",(0,e.__)("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"}))," ",(0,e.__)("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"}))," ",(0,e.__)("News","rank-math")),wp.element.createElement("li",null,wp.element.createElement("svg",{focusable:"false",viewBox:"0 0 16 16"},wp.element.createElement("path",{d:"M7.503 0c3.09 0 5.502 2.487 5.502 5.427 0 2.337-1.13 3.694-2.26 5.05-.454.528-.906 1.13-1.358 1.734-.452.603-.754 1.508-.98 1.96-.226.452-.377.829-.904.829-.528 0-.678-.377-.905-.83-.226-.451-.527-1.356-.98-1.959-.452-.603-.904-1.206-1.356-1.734C3.132 9.121 2 7.764 2 5.427 2 2.487 4.412 0 7.503 0zm0 1.364c-2.283 0-4.14 1.822-4.14 4.063 0 1.843.86 2.873 1.946 4.177.468.547.942 1.178 1.4 1.79.34.452.596.99.794 1.444.198-.455.453-.992.793-1.445.459-.61.931-1.242 1.413-1.803 1.074-1.29 1.933-2.32 1.933-4.163 0-2.24-1.858-4.063-4.139-4.063zm0 2.734a1.33 1.33 0 11-.001 2.658 1.33 1.33 0 010-2.658"}))," ",(0,e.__)("Maps","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"}))," ",(0,e.__)("More","rank-math"))),wp.element.createElement("ul",{className:"menus-right"},wp.element.createElement("li",null,(0,e.__)("Settings","rank-math")),wp.element.createElement("li",null,(0,e.__)("Tools","rank-math")))),wp.element.createElement("div",{className:"serp-preview-result-stats"},(0,e.__)("About 43,700,000 results (0.32 seconds) ","rank-math"))),wp.element.createElement("div",{className:"serp-preview-body",role:"button",tabIndex:0,onClick:function(){d&&d()}},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:Q(v,K.Helpers.sanitizeText((0,$.safeDecodeURIComponent)(r)),75,/-? +/)}})),wp.element.createElement("div",{className:"group"},wp.element.createElement("h5",{className:w,dangerouslySetInnerHTML:{__html:Q(p,K.Helpers.sanitizeText(a),60)}})),wp.element.createElement(te,null),wp.element.createElement("div",{className:"group"},wp.element.createElement("div",{className:"serp-description",dangerouslySetInnerHTML:{__html:Q(p,K.Helpers.sanitizeText(i),160)}}))),wp.element.createElement("div",{className:"serp-preview-noindex"},wp.element.createElement("h3",null,(0,e.__)("Noindex robots meta is enabled","rank-math")),wp.element.createElement("p",null,(0,e.__)("This page will not appear in search results. You can disable noindex in the Advanced tab.","rank-math")))))})),re=(0,t.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(ae,{showScore:!1,showDevices:!0}),wp.element.createElement(G,null),wp.element.createElement(q,null),wp.element.createElement(Y,null))})),ie=jQuery,oe=n.n(ie);function se(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}var le=new(function(){function e(){var t,n,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),a=null,(n="map")in(t=this)?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a}var t,n,a;return t=e,(n=[{key:"swap",value:function(e,t){var n=this;if(!(e=e||""))return"";var a=new RegExp(/%(([a-z0-9_-]+)\(([^)]*)\)|[^\s]+)%/,"giu");return e.replace(" %page%","").replace("%sep% %sep%","%sep%").replace(a,(function(e){return 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():oe()("#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={},oe().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)}}])&&se(t.prototype,n),a&&se(t,a),Object.defineProperty(t,"prototype",{writable:!1}),e}());function ce(e){return ce="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},ce(e)}var pe=function(e){var t=o()("rank-math-social-preview","rank-math-social-preview-"+e.network,e.cardType),n=o()("rank-math-social-preview-title",{capitalize:rankMath.capitalizeTitle});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&&"object"===ce(rankMath.overlayImages[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:n},e.title?le.swap(e.title):e.serpTitle),wp.element.createElement("p",{className:"rank-math-social-preview-description"},e.description?le.swap(e.description):e.serpDescription),"twitter"===e.network&&wp.element.createElement(r.Fragment,null,wp.element.createElement("h4",{className:"rank-math-social-preview-publisher"},wp.element.createElement(c.Dashicon,{icon:"admin-links"}),e.siteurl))))))},de=wp.mediaUtils,ue=function(t){return wp.element.createElement("div",{className:"components-base-control field-group"},wp.element.createElement(de.MediaUpload,{allowedTypes:["image"],multiple:!1,value:t.imageID,render:function(n){var a=n.open;return wp.element.createElement(r.Fragment,null,wp.element.createElement(c.Button,{onClick:a,className:"button",isPrimary:!0},t.imageID>0?(0,e.__)("Replace Image","rank-math"):(0,e.__)("Add Image","rank-math")),t.imageID>0&&wp.element.createElement(c.Button,{className:"button",isDestructive:!0,isLink:!0,onClick:t.removeImage},(0,e.__)("Remove Image","rank-math")))},onSelect:t.updateImage}),wp.element.createElement("p",{className:"components-base-control__help"},(0,e.__)("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,(0,e.__)("Image is smaller than the minimum size, please select a different image.","rank-math"))))};function he(){var e=rankMath.overlayImages,t=[];return Object.keys(e).forEach((function(n){t.push({label:e[n].name,value:n})})),t}function me(){return me=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},me.apply(this,arguments)}var ge=(0,l.compose)((0,t.withSelect)((function(e){var t=e("rank-math"),n=function(){if(t.getFacebookImage())return t.getFacebookImage();var e=t.getFeaturedImage();return(0,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()}})),(0,t.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(t){return wp.element.createElement(r.Fragment,null,wp.element.createElement(pe,me({},t,{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,(0,e.__)("2 hrs","rank-math")),wp.element.createElement("span",null,wp.element.createElement(c.Dashicon,{icon:"admin-site",size:"12"})))),wp.element.createElement("div",{className:"notice notice-alt notice-info components-base-control"},wp.element.createElement("p",null,(0,e.__)("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"},(0,e.__)("Read more","rank-math")))),wp.element.createElement(ue,t),wp.element.createElement("div",{className:"field-group"},wp.element.createElement("label",{htmlFor:"rank-math-facebook-title"},(0,e.__)("Title","rank-math")),wp.element.createElement("div",{className:"variable-group"},wp.element.createElement(c.TextControl,{id:"rank-math-facebook-title",value:t.title,placeholder:t.serpTitle,onChange:t.updateTitle}),wp.element.createElement(W,{onClick:function(e){return t.updateTitle(t.title+" %"+e.variable+"%")}}))),wp.element.createElement("div",{className:"field-group"},wp.element.createElement("label",{htmlFor:"rank-math-facebook-description"},(0,e.__)("Description","rank-math")),wp.element.createElement("div",{className:"variable-group"},wp.element.createElement(c.TextareaControl,{id:"rank-math-facebook-description",value:t.description,placeholder:t.serpDescription,onChange:t.updateDescription}),wp.element.createElement(W,{onClick:function(e){return t.updateDescription(t.description+" %"+e.variable+"%")}}))),wp.element.createElement("div",{className:"field-group"},wp.element.createElement(c.ToggleControl,{label:(0,e.__)("Add icon overlay to thumbnail","rank-math"),checked:t.hasOverlay,onChange:t.toggleOverlay}),wp.element.createElement("div",{className:t.hasOverlay?"components-base-control":"hidden"},wp.element.createElement(c.SelectControl,{value:t.imageOverlay,label:(0,e.__)("Icon overlay","rank-math"),options:he(),onChange:t.updateImageOverlay}),!rankMath.isPro&&wp.element.createElement("div",{className:"notice notice-alt notice-warning"},wp.element.createElement("p",null,wp.element.createElement(j,{components:{link:wp.element.createElement("a",{href:"https://rankmath.com/pricing/?utm_source=Plugin&utm_medium=Gutenberg%20Social%20Tab&utm_campaign=WP",target:"_blank",rel:"noopener noreferrer"})}},(0,e.__)("You can add custom thumbnail overlays with {{link}}Rank Math Pro{{/link}}.","rank-math")))))))})),fe=(0,l.compose)((0,t.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()}})),(0,t.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(t){return wp.element.createElement(r.Fragment,null,wp.element.createElement(c.TextControl,{value:t.description,label:(0,e.__)("App Description","rank-math"),help:(0,e.__)("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:t.updateAppDescription}),function(t){return wp.element.createElement(r.Fragment,null,wp.element.createElement(c.TextControl,{value:t.iphoneName,label:(0,e.__)("iPhone App Name","rank-math"),help:(0,e.__)("The name of your app to show.","rank-math"),onChange:t.updateAppIphoneName}),wp.element.createElement(c.TextControl,{value:t.iphoneID,label:(0,e.__)("iPhone App ID","rank-math"),help:(0,e.__)("The numeric representation of your app ID in the App Store.","rank-math"),onChange:t.updateAppIphoneID}),wp.element.createElement(c.TextControl,{value:t.iphoneUrl,label:(0,e.__)("iPhone App URL","rank-math"),help:(0,e.__)("Your app's custom URL scheme (must include ://).","rank-math"),onChange:t.updateAppIphoneUrl}))}(t),function(t){return wp.element.createElement(r.Fragment,null,wp.element.createElement(c.TextControl,{value:t.ipadName,label:(0,e.__)("iPad App Name","rank-math"),help:(0,e.__)("The name of your app to show.","rank-math"),onChange:t.updateAppIpadName}),wp.element.createElement(c.TextControl,{value:t.ipadID,label:(0,e.__)("iPad App ID","rank-math"),help:(0,e.__)("The numeric representation of your app ID in the App Store.","rank-math"),onChange:t.updateAppIpadID}),wp.element.createElement(c.TextControl,{value:t.ipadUrl,label:(0,e.__)("iPad App URL","rank-math"),help:(0,e.__)("Your app's custom URL scheme (must include ://).","rank-math"),onChange:t.updateAppIpadUrl}))}(t),function(t){return wp.element.createElement(r.Fragment,null,wp.element.createElement(c.TextControl,{value:t.googleplayName,label:(0,e.__)("Google Play App Name","rank-math"),help:(0,e.__)("The name of your app to show.","rank-math"),onChange:t.updateAppGoogleplayName}),wp.element.createElement(c.TextControl,{value:t.googleplayID,label:(0,e.__)("Google Play App ID","rank-math"),help:(0,e.__)("Your app ID in the Google Play (.i.e. com.android.app)","rank-math"),onChange:t.updateAppGoogleplayID}),wp.element.createElement(c.TextControl,{value:t.googleplayUrl,label:(0,e.__)("Google Play App URL","rank-math"),help:(0,e.__)("Your app's custom URL scheme (must include ://).","rank-math"),onChange:t.updateAppGoogleplayUrl}))}(t),wp.element.createElement(c.TextControl,{value:t.country,label:(0,e.__)("App Country","rank-math"),help:(0,e.__)("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:t.updateAppCountry}))})),we=(0,l.compose)((0,t.withSelect)((function(e){var t=e("rank-math");return{url:t.getTwitterPlayerUrl(),size:t.getTwitterPlayerSize(),stream:t.getTwitterPlayerStream(),ctype:t.getTwitterPlayerStreamCtype()}})),(0,t.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(t){return wp.element.createElement(r.Fragment,null,wp.element.createElement(c.TextControl,{value:t.url,label:(0,e.__)("Player URL","rank-math"),help:(0,e.__)("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:t.updatePlayerUrl}),wp.element.createElement(c.TextControl,{value:t.size,label:(0,e.__)("Player Size","rank-math"),help:(0,e.__)("iFrame width and height, specified in pixels in the following format: 600x400.","rank-math"),onChange:t.updatePlayerSize}),wp.element.createElement(c.TextControl,{value:t.stream,label:(0,e.__)("Stream URL","rank-math"),help:(0,e.__)("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:t.updatePlayerStreamUrl}),wp.element.createElement(c.TextControl,{value:t.ctype,label:(0,e.__)("Stream Content Type","rank-math"),help:(0,e.__)("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:t.updatePlayerStreamCtype}))}));function ve(){return ve=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},ve.apply(this,arguments)}var ye=(0,l.compose)((0,t.withSelect)((function(e){var t=e("rank-math"),n=t.getTwitterUseFacebook(),a=function(){if(n&&t.getFacebookImage())return t.getFacebookImage();if(t.getTwitterImage())return t.getTwitterImage();var e=t.getFeaturedImage();return(0,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:a,imageID:n?t.getFacebookImageID():t.getTwitterImageID(),hasOverlay:n?t.getFacebookHasOverlay():t.getTwitterHasOverlay(),imageOverlay:n?t.getFacebookImageOverlay():t.getTwitterImageOverlay()}})),(0,t.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(t){return wp.element.createElement(r.Fragment,null,wp.element.createElement(pe,ve({},t,{network:"twitter",siteurl:rankMath.parentDomain,classes:t.cardType,description:(0,s.truncate)(t.description?t.description:t.serpDescription,{length:240,separator:" "})}),wp.element.createElement("div",{className:"social-name"},rankMath.assessor.serpData.authorName,wp.element.createElement("span",{className:"social-username"},"@",t.author),wp.element.createElement("span",{className:"social-time"},(0,e.__)("2h","rank-math"))),wp.element.createElement("div",{className:"social-text"},(0,e.__)("The card for your website will look little something like this!","rank-math"))),wp.element.createElement("div",{className:"field-group"},wp.element.createElement(c.ToggleControl,{label:(0,e.__)("Use Data from Facebook Tab","rank-math"),checked:t.useFacebook,onChange:t.toggleUseFacebook})),wp.element.createElement("div",{className:"field-group"},wp.element.createElement(c.SelectControl,{value:t.cardType,label:(0,e.__)("Card Type","rank-math"),options:[{value:"summary_large_image",label:(0,e.__)("Summary Card with Large Image","rank-math")},{value:"summary_card",label:(0,e.__)("Summary Card","rank-math")},{value:"app",label:(0,e.__)("App Card","rank-math")},{value:"player",label:(0,e.__)("Player Card","rank-math")}],onChange:t.updateCardType})),"player"===t.cardType&&wp.element.createElement("div",{className:"notice notice-alt notice-info"},wp.element.createElement("p",null,(0,e.__)("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"===t.cardType&&wp.element.createElement("div",{className:"notice notice-alt notice-info"},wp.element.createElement("p",null,(0,e.__)("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"))),!t.useFacebook&&"app"!==t.cardType&&wp.element.createElement(ue,t),!t.useFacebook&&"app"!==t.cardType&&wp.element.createElement("div",{className:"field-group"},wp.element.createElement("label",{htmlFor:"rank-math-twitter-title"},(0,e.__)("Title","rank-math")),wp.element.createElement("div",{className:"variable-group"},wp.element.createElement(c.TextControl,{id:"rank-math-twitter-title",value:t.title,placeholder:t.serpTitle,onChange:t.updateTitle}),wp.element.createElement(W,{onClick:function(e){return t.updateTitle(t.title+" %"+e.variable+"%")}}))),!t.useFacebook&&"app"!==t.cardType&&wp.element.createElement("div",{className:"field-group"},wp.element.createElement("label",{htmlFor:"rank-math-twitter-description"},(0,e.__)("Description","rank-math")),wp.element.createElement("div",{className:"variable-group"},wp.element.createElement(c.TextareaControl,{id:"rank-math-twitter-description",value:t.description,placeholder:t.serpDescription,onChange:t.updateDescription}),wp.element.createElement(W,{onClick:function(e){return t.updateDescription(t.description+" %"+e.variable+"%")}}))),!t.useFacebook&&"app"!==t.cardType&&wp.element.createElement("div",{className:"field-group"},wp.element.createElement(c.ToggleControl,{label:(0,e.__)("Add icon overlay to thumbnail","rank-math"),checked:t.hasOverlay,onChange:t.toggleOverlay}),wp.element.createElement("div",{className:t.hasOverlay?"components-base-control":"hidden"},wp.element.createElement(c.SelectControl,{value:t.imageOverlay,label:(0,e.__)("Icon overlay","rank-math"),options:he(),onChange:t.updateImageOverlay}),!rankMath.isPro&&wp.element.createElement("div",{className:"notice notice-alt notice-warning"},wp.element.createElement("p",null,wp.element.createElement(j,{components:{link:wp.element.createElement("a",{href:"https://rankmath.com/pricing/?utm_source=Plugin&utm_medium=Gutenberg%20Social%20Tab&utm_campaign=WP",target:"_blank",rel:"noopener noreferrer"})}},(0,e.__)("You can add custom thumbnail overlays with {{link}}Rank Math Pro{{/link}}.","rank-math")))))),"player"===t.cardType&&wp.element.createElement(we,null),"app"===t.cardType&&wp.element.createElement(fe,null))})),be=function(){return wp.element.createElement(r.Fragment,null,wp.element.createElement(c.TabPanel,{className:"rank-math-editor-social",activeClass:"is-active",tabs:[{name:"facebook",title:wp.element.createElement(r.Fragment,null,wp.element.createElement(c.Dashicon,{icon:"facebook-alt"}),(0,e.__)("Facebook","rank-math")),view:ge,className:"button-facebook"},{name:"twitter",title:wp.element.createElement(r.Fragment,null,wp.element.createElement(c.Dashicon,{icon:"twitter"}),(0,e.__)("Twitter","rank-math")),view:ye,className:"button-twitter"}]},(function(e){return(0,r.createElement)(e.view)})))};function ke(e){return ke="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},ke(e)}function Te(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Ee(e,t){return Ee=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ee(e,t)}function _e(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,a=Ce(e);if(t){var r=Ce(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Oe(this,n)}}function Oe(e,t){if(t&&("object"===ke(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return xe(e)}function xe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ce(e){return Ce=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ce(e)}var Ne=function(t){!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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ee(e,t)}(s,t);var n,a,i,o=_e(s);function s(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(e=o.call(this))._handleRef=e._handleRef.bind(xe(e)),e}return n=s,(a=[{key:"componentDidMount",value:function(){var e=oe()(this.component),t=e.find(".stars a"),n=e.find(".smiley");t.on("mouseenter",(function(){var e=oe()(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 t=this,n=[],a=1;a<=5;a++)n.push(wp.element.createElement("a",{key:a,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,(0,e.__)("Rate Rank Math SEO","rank-math")),wp.element.createElement("p",null,wp.element.createElement(j,{tags:"em"},(0,e.__)("Hey, we noticed you are using Rank Math SEO plugin for more than a week now –{{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"},n)),wp.element.createElement(c.CheckboxControl,{label:wp.element.createElement(r.Fragment,null,wp.element.createElement("span",null,(0,e.__)("I already did. Please don't show this message again.","rank-math"))),onChange:function(){return t.alreadyReviewed()}}))}},{key:"alreadyReviewed",value:function(){oe().ajax({url:rankMath.ajaxurl,data:{action:"rank_math_already_reviewed",security:rankMath.security}}),rankMath.pluginReviewed=!0;var e=oe()(this.component);e.animate({opacity:.01},1500,(function(){var t=oe()(".rank-math-editor > .components-tab-panel__tabs > button");t.first().click(),t.last().remove(),e.remove()}))}}])&&Te(n.prototype,a),i&&Te(n,i),Object.defineProperty(n,"prototype",{writable:!1}),s}(r.Component),Ie=(0,c.withFilters)("rankMath.analytics.reportButton")((function(){return null})),Se=(0,l.compose)((0,t.withSelect)((function(e){return{isOpen:e("rank-math").isSnippetEditorOpen()}})),(0,t.withDispatch)((function(e,t){return{toggleEditor:function(){e("rank-math").toggleSnippetEditor(!t.isOpen)}}})))((function(t){var n=t.isOpen,a=t.initialTab,i=void 0===a?"":a,o=t.toggleEditor,s=[{name:"general",title:wp.element.createElement(r.Fragment,null,wp.element.createElement("i",{className:"rm-icon rm-icon-settings"}),wp.element.createElement("span",null,(0,e.__)("General","rank-math"))),view:re}];return rankMath.canUser.social&&s.push({name:"social",title:wp.element.createElement(r.Fragment,null,wp.element.createElement("i",{className:"rm-icon rm-icon-social"}),wp.element.createElement("span",null,(0,e.__)("Social","rank-math"))),view:be}),rankMath.showReviewTab&&!1===rankMath.pluginReviewed&&s.push({name:"review",className:"review-tab",title:wp.element.createElement(r.Fragment,null,wp.element.createElement("i",{className:"rm-icon rm-icon-heart-filled"})),view:Ne}),wp.element.createElement(r.Fragment,null,wp.element.createElement(c.Button,{isPrimary:!0,className:"rank-math-edit-snippet",onClick:o},(0,e.__)("Edit Snippet","rank-math")),""===i&&wp.element.createElement(Ie,null),n&&wp.element.createElement(c.Modal,{title:(0,e.__)("Preview Snippet Editor","rank-math"),closeButtonLabel:(0,e.__)("Close","rank-math"),shouldCloseOnClickOutside:!1,onRequestClose:o,className:"rank-math-modal",overlayClassName:"rank-math-modal-overlay"},wp.element.createElement(c.TabPanel,{className:"rank-math-tabs rank-math-editor",activeClass:"is-active",initialTabName:i,tabs:s},(function(e){return(0,r.createElement)(e.view)}))))})),De=function(){return wp.element.createElement(c.PanelBody,{initialOpen:!0},wp.element.createElement(c.BaseControl,{className:"rank-math-social"},wp.element.createElement("span",{className:"components-base-control__label"},(0,e.__)("Social Media Preview","rank-math")),wp.element.createElement("p",{className:"cmb2-metabox-description"},(0,e.__)("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"},(0,e.__)("Click on the button below to view and edit the preview.","rank-math")),wp.element.createElement(Se,{buttonLabel:(0,e.__)("Preview & Edit Social Media","rank-math"),initialTab:"social"})))};function Me(e){return Me="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},Me(e)}function Ae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pe(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Re(e,t){return Re=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Re(e,t)}function je(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,a=Fe(e);if(t){var r=Fe(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Le(this,n)}}function Le(e,t){if(t&&("object"===Me(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Fe(e){return Fe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Fe(e)}var He=function(t){!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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Re(e,t)}(p,t);var n,a,i,l=je(p);function p(){return Ae(this,p),l.apply(this,arguments)}return n=p,(a=[{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,(0,s.isUndefined)(this.results)?null:Object.keys(this.getGroups()).map((function(t){return e.renderGroup(t)}))}},{key:"renderGroup",value:function(t){this.errors=0;var n=this.renderGroupItems(t);return wp.element.createElement(c.PanelBody,{key:"panel-"+t,title:wp.element.createElement(r.Fragment,null,this.getGroupTitle(t),0===this.errors?wp.element.createElement("span",{className:"rank-math-group-score test-ok"},(0,e.__)("All Good","rank-math")):wp.element.createElement("span",{className:"rank-math-group-score test-fail"},this.errors," ",(0,e.__)("Errors","rank-math"))),initialOpen:"basic"===t,className:"rank-math-checklist"},wp.element.createElement("ul",null,n))}},{key:"renderGroupItems",value:function(e){var t=this,n=this.results.results,a=this.getGroupItems(e);return Object.keys(a).map((function(e){if((0,s.isUndefined)(n[e])||!t.isPrimary&&a[e])return!1;var r=n[e],i=o()("seo-check-"+e,{"test-ok":r.hasScore(),"test-fail":!r.hasScore()});r.hasScore()&&["contentHasAssets","lengthContent","keywordDensity"].includes(e)&&(i+=" "+function(e,t){var n=(0,s.round)(e/t*100);if(!(100<=n))return 49<n?"test-check-good":30<n?"test-check-ok":"test-check-bad"}(r.getScore(),r.getMaxScore())),!1===r.hasScore()&&(t.errors+=1);var l=t.getLink(e);return wp.element.createElement("li",{key:e,className:i},wp.element.createElement("span",{dangerouslySetInnerHTML:{__html:r.getText()}}),l&&wp.element.createElement("a",{href:"https://rankmath.com/kb/score-100-in-tests/?utm_source=Plugin&utm_medium=Content%20Analysis%20Single%20Test%20KB&utm_campaign=WP"+l,rel:"noreferrer",target:"_blank",className:"dashicons-before dashicons-editor-help rank-math-help-icon"}))}))}},{key:"getGroupItems",value:function(e){return("post"===rankMath.objectType?{basic:{keywordInTitle:!0,keywordInMetaDescription:!0,keywordInPermalink:!0,keywordIn10Percent:!0,keywordInContent:!1,lengthContent:!1,hasProductSchema:!0},advanced:{keywordInSubheadings:!1,keywordInImageAlt:!0,keywordDensity:!1,lengthPermalink:!1,linksHasExternals:!1,linksNotAllExternals:!1,linksHasInternal:!1,keywordNotUsed:!0,hasContentAI:!0,isReviewEnabled:!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:(0,e.__)("Basic SEO","rank-math"),advanced:(0,e.__)("Additional","rank-math"),"title-readability":(0,e.__)("Title Readability","rank-math"),"content-readability":(0,e.__)("Content Readability","rank-math")}:{basic:(0,e.__)("Basic SEO","rank-math"),advanced:(0,e.__)("Additional","rank-math")}}},{key:"getLink",value:function(e){var t={keywordInTitle:"#focus-keyword-in-the-seo-title-primary-focus-keyword-only",keywordInMetaDescription:"#focus-keyword-in-the-meta-description-primary-focus-keyword-only",keywordInPermalink:"#focus-keyword-in-the-url-primary-focus-keyword-only",keywordIn10Percent:"#focus-keyword-at-the-beginning-of-the-content",keywordInContent:"#focus-keyword-in-the-content-runs-of-all-focus-keywords",lengthContent:"#overall-content-length",keywordInSubheadings:"#focus-keyword-in-subheading-primary-and-secondary-focus-keywords",keywordInImageAlt:"#focus-keyword-in-image-alt-attributes-primary-focus-keyword-only",keywordDensity:"#keyword-density-primary-and-secondary-focus-keywords",lengthPermalink:"#url-length",linksHasExternals:"#linking-to-external-sources",linksNotAllExternals:"#linking-to-external-content-with-a-followed-link",linksHasInternal:"#linking-to-internal-resources",keywordNotUsed:"#focus-keyword-uniqueness-primary-focus-keyword-only",titleStartWithKeyword:"#focus-keyword-at-the-beginning-of-the-seo-title-only-for-primary-keyword",titleSentiment:"#sentiment-in-a-title",titleHasPowerWords:"#use-of-power-word-in-title",titleHasNumber:"#number-in-title",contentHasTOC:"#table-of-contents",contentHasShortParagraphs:"#use-of-short-paragraphs",contentHasAssets:"#use-of-media-in-your-posts",hasContentAI:"#used-content-ai",hasProductSchema:"#has-product-schema",isReviewEnabled:"#is-review-enabled"};return(0,s.has)(t,e)?t[e]:""}}])&&Pe(n.prototype,a),i&&Pe(n,i),Object.defineProperty(n,"prototype",{writable:!1}),p}(r.Component),Be=(0,t.withSelect)((function(e){var t=e("rank-math");return{isLoaded:t.isLoaded(),isRefreshing:t.isRefreshing(),selectedKeyword:t.getSelectedKeyword()}}))(He),Ue=(0,c.createSlotFill)("RankMathAfterFocusKeyword"),Ve=Ue.Fill,ze=Ue.Slot,We=function(e){var t=e.children,n=e.className;return wp.element.createElement(Ve,null,wp.element.createElement("div",{className:n},t))};We.Slot=ze;var Ge=We,Ke=(0,t.withSelect)((function(e){return{isPro:e("rank-math").isPro()}}))((function(t){return t.isPro?rankMath.isUserRegistered?wp.element.createElement(c.Notice,{status:"warning",isDismissible:!1},wp.element.createElement(j,{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"})}},(0,e.__)("Read here to {{link}}Score 100/100{{/link}} ","rank-math"))):wp.element.createElement(c.Notice,{status:"warning",isDismissible:!1},wp.element.createElement(j,{components:{link:wp.element.createElement("a",{href:rankMath.adminurl+"?page=rank-math&view=help",target:"_blank",rel:"noopener noreferrer"})}},(0,e.__)("Activate your account by {{link}}connecting to Rank Math!{{/link}} ","rank-math"))):wp.element.createElement(c.Notice,{status:"warning",isDismissible:!1},wp.element.createElement(j,{components:{link:wp.element.createElement("a",{href:rankMath.assessor.futureSeo,target:"_blank",rel:"noopener noreferrer"}),strong:wp.element.createElement("strong",null)}},(0,e.__)("Want more? {{link}}{{strong}}Upgrade today to the PRO{{/strong}}{{/link}} version.","rank-math")))})),$e=(0,l.withInstanceId)((function(e){var t=e.className,n=e.instanceId,a=e.children,r="rank-math-tooltip-"+n,i=o()("rank-math-tooltip",t);return wp.element.createElement("span",{className:i},wp.element.createElement("input",{id:r,type:"checkbox"}),wp.element.createElement("label",{htmlFor:r,className:"dashicons-before dashicons-editor-help"}),wp.element.createElement("div",{className:"rank-math-tooltip-content"},a))})),qe=n(634),Ye=n.n(qe);function Xe(e){return Xe="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},Xe(e)}function Je(){return Je=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Je.apply(this,arguments)}function Ze(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Qe(e,t){return Qe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Qe(e,t)}function et(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,a=at(e);if(t){var r=at(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return tt(this,n)}}function tt(e,t){if(t&&("object"===Xe(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return nt(e)}function nt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function at(e){return at=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},at(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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Qe(e,t)}(o,e);var t,n,r,i=et(o);function o(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),(t=i.call(this,e))._handleRef=t._handleRef.bind(nt(t)),t}return t=o,(n=[{key:"componentDidMount",value:function(){var e=this;this.tagify=new(Ye())(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),this.props.settings.callbacks.dragEnd&&this.tagify.DOM.scope.addEventListener("dragend",this.props.settings.callbacks.dragEnd),(0,a.doAction)("rank_math_tagify_init",this)}},{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,className:this.props.className,placeholder:this.props.placeholder};return"textarea"===this.props.mode?wp.element.createElement("textarea",Je({},e,{defaultValue:this.props.initialValue})):wp.element.createElement("input",Je({},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")}}])&&Ze(t.prototype,n),r&&Ze(t,r),Object.defineProperty(t,"prototype",{writable:!1}),o}(r.Component),it=function(t){var n=t.onClick;return wp.element.createElement(c.Modal,{title:(0,e.__)("Upgrade to re-order Focus Keywords","rank-math"),closeButtonLabel:(0,e.__)("Close","rank-math"),shouldCloseOnClickOutside:!0,onRequestClose:function(){return n()},className:"rank-math-modal rank-math-focus-keywords-cta-modal",overlayClassName:"rank-math-modal-overlay"},wp.element.createElement("div",{className:"components-panel__body rank-math-focus-keywords-cta-wrapper"},wp.element.createElement("div",{id:"rank-math-pro-cta",className:"center"},wp.element.createElement("div",{className:"rank-math-cta-box blue-ticks"},wp.element.createElement("ul",null,wp.element.createElement("li",null,(0,e.__)("Improve the SEO workflow","rank-math")),wp.element.createElement("li",null,(0,e.__)("Set different Primary Focus Keyword","rank-math")),wp.element.createElement("li",null,(0,e.__)("and many other premium SEO features","rank-math"))),wp.element.createElement("a",{className:"button button-primary is-green",href:rankMath.trendsUpgradeLink,rel:"noreferrer noopener",target:"_blank"},rankMath.trendsUpgradeLabel)))))};function ot(e){return ot="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},ot(e)}function st(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function lt(e,t){return lt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},lt(e,t)}function ct(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,a=ut(e);if(t){var r=ut(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return pt(this,n)}}function pt(e,t){if(t&&("object"===ot(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return dt(e)}function dt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ut(e){return ut=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ut(e)}function ht(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var mt=function(t){!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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&lt(e,t)}(c,t);var n,i,o,l=ct(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),ht(dt(t=l.call(this)),"state",{}),ht(dt(t),"request",null),ht(dt(t),"hasAdded",!1),ht(dt(t),"clickCount",0),ht(dt(t),"singleClickTimer",null),t.state={showCTA:!1},t.tagifyField=(0,r.createRef)(),t.keywords=n,t.hideDropdown=t.hideDropdown.bind(dt(t)),t.callbacks={add:t.onAdd.bind(dt(t)),remove:(0,s.debounce)(t.onRemove.bind(dt(t)),300),"edit:updated":t.onEditUpdated.bind(dt(t)),click:t.onClick.bind(dt(t)),dragEnd:t.onDragEnd.bind(dt(t)),setup:t.onSetup.bind(dt(t)),blur:t.hideDropdown},rankMath.autoSuggestKeywords&&(t.callbacks.input=(0,s.debounce)(t.onInput.bind(dt(t)),300)),window.rankMathEditor.focusKeywordField=dt(t),t}return n=c,(i=[{key:"render",value:function(){var t=this,n=(0,a.applyFilters)("rank_math_focus_keyword_settings",{addTagOnBlur:!0,maxTags:"post"===rankMath.objectType?rankMath.maxTags:1,whitelist:this.state.whitelist||[],focusableTags:!0,transformTag:function(e){e.value=t.stripTags(e.value.replaceAll(",",""))},templates:{tag:function(e){var n=e.title||e.value,a="";if(!e.class){var r=rankMathEditor.resultManager.getScore(K.Helpers.removeDiacritics(n));a+=t.getScoreClass(r)}return"<tag draggable='true' title='".concat(t.stripTags(n),"'\n tabIndex='0'\n contenteditable='false'\n spellcheck='false'\n class='tagify__tag ").concat(e.class?e.class:a,"'\n ").concat(t.getAttributesEsc(e),">\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(n),"</span>\n </div>\n </tag>")}},callbacks:this.callbacks},this);return this.setKeywordsClasses(),wp.element.createElement(React.Fragment,null,wp.element.createElement(rt,{ref:this.tagifyField,mode:"input",settings:n,showDropdown:this.state.showDropdown,initialValue:this.keywords,placeholder:(0,e.__)("Example: Rank Math SEO","rank-math")}),this.state.showCTA&&wp.element.createElement(it,{onClick:function(){return t.setState({showCTA:!1})}}))}},{key:"shouldComponentUpdate",value:function(e,t){return this.state.showCTA!==t.showCTA||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 a=t.queryTags();n.map((function(t,n){if(!(0,s.isUndefined)(a[n])){var r=rankMathEditor.resultManager.getScore(K.Helpers.removeDiacritics(t.value));a[n].classList.remove("ok-fk","good-fk","bad-fk"),a[n].classList.add(e.getScoreClass(r))}}))}}}},{key:"onSetup",value:function(){this.selectFirstKeyword(),this.setKeywordsClasses()}},{key:"onInput",value:function(e){var t=this;(e=(0,s.has)(e.detail,"value")?e.detail.value:e.detail.data.value).length<2||(this.hideDropdown(),this.hasAdded?this.hasAdded=!1:this.request=oe().ajax({url:rankMath.keywordsApi.url,data:{keyword:e,locale:rankMath.locale},success:function(n){if(t.hasAdded)t.hasAdded=!1;else{var a=oe().map(n,(function(e){return e}));t.setState({whitelist:a,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:"onEditUpdated",value:function(e){this.hasAdded=!0,0===e.detail.index&&this.props.updateSelectedKeyword(e.detail,this.tagifyField.current),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:"onDragEnd",value:function(){1!==this.tagifyField.current.queryTags().length&&this.setState({showCTA:!0})}},{key:"hideDropdown",value:function(){null!==this.request&&(this.request.abort(),this.request=null),this.setState({whitelist:[],showDropdown:!1})}},{key:"getAttributesEsc",value:function(e){if("[object Object]"!==Object.prototype.toString.call(e))return"";var t,n,a="",r=Object.keys(e);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=oe()("<textarea />").html(e).text(),((new DOMParser).parseFromString(e,"text/html").body.textContent||"").replace(/["<>]/g,"")||""}}])&&st(n.prototype,i),o&&st(n,o),Object.defineProperty(n,"prototype",{writable:!1}),c}(r.Component),gt=(0,l.compose)((0,t.withSelect)((function(e){var t=e("rank-math");return{keywords:t.getKeywords(),isRefreshing:t.isRefreshing()}})),(0,t.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")})),(0,s.isUndefined)(t.tag)||""===t.tag||t.tag.classList.add("selected"),e("rank-math").updateSelectedKeyword(t)}}})))(mt),ft=(0,c.withFilters)("rankMath.focusKeywords.Trends")((0,l.compose)((0,t.withSelect)((function(e){return{isTrendsCtaOpen:e("rank-math").isTrendsCtaOpen()}})),(0,t.withDispatch)((function(e,t){return{toggleTrendsCta:function(){e("rank-math").toggleTrendsCta(!t.isTrendsCtaOpen)}}})))((function(t){var n=t.isTrendsCtaOpen,a=t.toggleTrendsCta;return wp.element.createElement(r.Fragment,null,wp.element.createElement("a",{href:"#",title:(0,e.__)("Trends","rank-math"),rel:"noreferrer noopener",id:"rank-math-compare-keywords-trigger",className:"button button-icon rank-math-compare-keywords-trigger",dangerouslySetInnerHTML:{__html:rankMath.trendsIcon},onClick:a}),n&&wp.element.createElement(c.Modal,{title:(0,e.__)("Google Trends","rank-math"),closeButtonLabel:(0,e.__)("Close","rank-math"),shouldCloseOnClickOutside:!0,onRequestClose:a,className:"rank-math-modal rank-math-trends-cta-modal",overlayClassName:"rank-math-modal-overlay"},wp.element.createElement("div",{className:"components-panel__body rank-math-trends-cta-wrapper"},wp.element.createElement("img",{src:rankMath.trendsPreviewImage,alt:"",className:"trends-cta blurred"}),wp.element.createElement("div",{id:"rank-math-pro-cta",className:"center"},wp.element.createElement("div",{className:"rank-math-cta-box blue-ticks width-50"},wp.element.createElement("h3",null,(0,e.__)("Track Keyword Trends","rank-math")),wp.element.createElement("ul",null,wp.element.createElement("li",null,(0,e.__)("Data fetched directly from Google","rank-math")),wp.element.createElement("li",null,(0,e.__)("Analyze search trends and compare keywords","rank-math")),wp.element.createElement("li",null,(0,e.__)("See data from a particular Country or timeframe","rank-math"))),wp.element.createElement("a",{className:"button button-primary is-green",href:rankMath.trendsUpgradeLink,rel:"noreferrer noopener",target:"_blank"},rankMath.trendsUpgradeLabel))))))}))),wt=(0,c.withFilters)("rankMath.analytics.contentAI")((function(){return!1})),vt=(0,l.compose)((0,t.withSelect)((function(e){var t=e("rank-math");return{isLoaded:t.isLoaded(),isPillarContent:t.getPillarContent()}})),(0,t.withDispatch)((function(e){return{togglePillarContent:function(t){e("rank-math").updatePillarContent(t)}}})))((function(t){var n=t.isLoaded,a=t.isPillarContent,i=t.togglePillarContent;return n?wp.element.createElement(c.PanelBody,{initialOpen:!0,className:"rank-math-focus-keyword"},wp.element.createElement("h2",{className:"components-panel__body-title"},(0,e.__)("Focus Keyword","rank-math"),wp.element.createElement($e,null,wp.element.createElement(j,{components:{link:wp.element.createElement("a",{href:rankMath.assessor.hundredScoreLink,target:"_blank",rel:"noopener noreferrer"})}},(0,e.__)("Insert keywords you want to rank for. Try to {{link}}attain 100/100 points{{/link}} for better chances of ranking.","rank-math")))),wp.element.createElement(ft,null),rankMath.currentEditor&&"classic"!==rankMath.currentEditor&&wp.element.createElement(wt,null),wp.element.createElement(Ge.Slot,null,(function(e){return e.length>0?e:[]})),wp.element.createElement("div",null,wp.element.createElement(gt,null)),wp.element.createElement(Ke,null),"post"===rankMath.objectType&&wp.element.createElement(c.CheckboxControl,{className:"pillar-content",label:wp.element.createElement(r.Fragment,null,wp.element.createElement("strong",null,(0,e.__)("This post is Pillar Content","rank-math")),wp.element.createElement("a",{href:"https://rankmath.com/kb/pillar-content-internal-linking/",rel:"noreferrer",target:"_blank",className:"dashicons-before dashicons-editor-help rank-math-help-icon"})),checked:a,onChange:i})):null})),yt=(0,c.createSlotFill)("RankMathAfterEditor"),bt=yt.Fill,kt=yt.Slot,Tt=function(e){var t=e.children,n=e.className;return wp.element.createElement(bt,null,wp.element.createElement(c.PanelRow,{className:n},t))};Tt.Slot=kt;var Et=Tt,_t=(0,t.withDispatch)((function(e){return{toggleEditor:function(){e("rank-math").toggleSnippetEditor(!0)}}}))((function(e){var t=e.toggleEditor;return wp.element.createElement(r.Fragment,null,wp.element.createElement(c.PanelBody,{initialOpen:!0},wp.element.createElement(ae,{onClick:t}),wp.element.createElement(Se,null),wp.element.createElement(Et.Slot,null,(function(e){return e.length>0?e:[]}))),wp.element.createElement(vt,null),rankMath.canUser.analysis&&wp.element.createElement(Be,null))})),Ot=function(e,t,n){return!1===n?delete e[t]:e[t]=!0,e},xt=(0,l.compose)((0,t.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}})),(0,t.withDispatch)((function(e,t){var n=t.robots;return{updateRobots:function(t,a){n=Ot(n,t,a),"index"===t&&(n=Ot(n,"noindex",!a)),"noindex"===t&&(n=Ot(n,"index",!a)),e("rank-math").updateRobots(n)}}})))((function(t){return wp.element.createElement(c.BaseControl,{className:"rank-math-robots",id:"rank-math-robots",label:(0,e.__)("Robots Meta","rank-math")},wp.element.createElement("div",{className:"rank-math-robots-list"},wp.element.createElement(c.CheckboxControl,{className:"robot-choice-index",label:wp.element.createElement(r.Fragment,null,(0,e.__)("Index","rank-math"),wp.element.createElement($e,null,(0,e.__)("Instructs search engines to index and show these pages in the search results","rank-math"))),checked:t.isRobotIndex,onChange:function(e){return t.updateRobots("index",e)}}),wp.element.createElement(c.CheckboxControl,{className:"robot-choice-noindex",label:wp.element.createElement(r.Fragment,null,(0,e.__)("No Index","rank-math"),wp.element.createElement($e,null,(0,e.__)("Prevents pages from being indexed and displayed in search engine result pages","rank-math"))),checked:t.isRobotNoIndex,onChange:function(e){return t.updateRobots("noindex",e)}}),wp.element.createElement(c.CheckboxControl,{className:"robot-choice-nofollow",label:wp.element.createElement(r.Fragment,null,(0,e.__)("Nofollow","rank-math"),wp.element.createElement($e,null,(0,e.__)("Prevents search engines from following links on the pages","rank-math"))),checked:t.isRobotNoFollow,onChange:function(e){return t.updateRobots("nofollow",e)}}),wp.element.createElement(c.CheckboxControl,{className:"robot-choice-noarchive",label:wp.element.createElement(r.Fragment,null,(0,e.__)("No Archive","rank-math"),wp.element.createElement($e,null,(0,e.__)("Prevents search engines from showing Cached links for pages","rank-math"))),checked:t.isRobotNoArchive,onChange:function(e){return t.updateRobots("noarchive",e)}}),wp.element.createElement(c.CheckboxControl,{className:"robot-choice-noimageindex",label:wp.element.createElement(r.Fragment,null,(0,e.__)("No Image Index","rank-math"),wp.element.createElement($e,null,(0,e.__)("This option prevents images on a page from being indexed by Google and other search engines","rank-math"))),checked:t.isRobotNoImageIndex,onChange:function(e){return t.updateRobots("noimageindex",e)}}),wp.element.createElement(c.CheckboxControl,{className:"robot-choice-nosnippet",label:wp.element.createElement(r.Fragment,null,(0,e.__)("No Snippet","rank-math"),wp.element.createElement($e,null,(0,e.__)("Prevents a snippet from being shown in the search results","rank-math"))),checked:t.isRobotNoSnippet,onChange:function(e){return t.updateRobots("nosnippet",e)}})))}));function Ct(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Nt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ct(Object(n),!0).forEach((function(t){It(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ct(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function It(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var St=(0,l.compose)((0,t.withSelect)((function(e){var t=e("rank-math");return{redirectionID:t.getRedirectionID(),redirectionUrl:t.getRedirectionUrl(),redirectionType:t.getRedirectionType(),hasRedirect:t.hasRedirect()}})),(0,t.withDispatch)((function(e,t){return{toggle:function(){e("rank-math").updateHasRedirect(!t.hasRedirect),e("rank-math").updateRedirectionItem(Nt(Nt({},t),{},{hasRedirect:!t.hasRedirect}))},updateRedirection:function(n,a){e("rank-math").updateRedirection(n,a),e("rank-math").updateRedirectionItem(Nt(Nt({},t),{},It({},n,a)))}}})))((function(t){return wp.element.createElement(r.Fragment,null,wp.element.createElement(c.ToggleControl,{className:t.hasRedirect?"is-open":"is-close",label:(0,e.__)("Redirect","rank-math"),checked:t.hasRedirect,onChange:function(){return t.toggle()}}),t.hasRedirect&&wp.element.createElement(c.SelectControl,{label:(0,e.__)("Redirection Type","rank-math"),className:t.hasRedirect?"":"hidden",value:t.redirectionType,onChange:function(e){return t.updateRedirection("redirectionType",e)},options:[{value:"301",label:(0,e.__)("301 Permanent Move","rank-math")},{value:"302",label:(0,e.__)("302 Temporary Move","rank-math")},{value:"307",label:(0,e.__)("307 Temporary Redirect","rank-math")},{value:"410",label:(0,e.__)("410 Content Deleted","rank-math")},{value:"451",label:(0,e.__)("451 Content Unavailable for Legal Reasons","rank-math")}]}),!1===["410","451"].includes(t.redirectionType)&&wp.element.createElement(c.TextControl,{type:"url",autoComplete:"off",label:(0,e.__)("Destination URL","rank-math"),value:t.redirectionUrl,placeholder:"https://rankmath.com/",className:t.hasRedirect?"":"hidden",onChange:function(e){return t.updateRedirection("redirectionUrl",e)}}),wp.element.createElement(c.TextControl,{type:"hidden",value:t.redirectionID,className:"hidden"}))})),Dt=(0,l.compose)((0,t.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()}})),(0,t.withDispatch)((function(e){return{onUrlChange:function(t){e("rank-math").updateCanonicalUrl(t)}}})))((function(t){var n=t.canonicalUrl,a=t.placeholder,r=t.onUrlChange;return wp.element.createElement(c.BaseControl,{className:"rank-math-canonical"},wp.element.createElement("span",{className:"components-base-control__label"},(0,e.__)("Canonical URL","rank-math"),wp.element.createElement($e,null,(0,e.__)("The canonical URL informs search crawlers which page is the main page if you have double content","rank-math"))),wp.element.createElement(c.TextControl,{type:"url",autoComplete:"off",value:n,placeholder:a,onChange:function(e){return r(e)}}))})),Mt=(0,l.compose)((0,t.withSelect)((function(e){return{title:e("rank-math").getBreadcrumbTitle()}})),(0,t.withDispatch)((function(e){return{onTitleChange:function(t){e("rank-math").updateBreadcrumbTitle(t)}}})))((function(t){var n=t.title,a=t.onTitleChange;return wp.element.createElement(c.BaseControl,{className:"rank-math-breadcrumb-title"},wp.element.createElement("span",{className:"components-base-control__label"},(0,e.__)("Breadcrumb Title","rank-math"),wp.element.createElement($e,null,(0,e.__)("Breadcrumb Title to use for this post","rank-math"))),wp.element.createElement(c.TextControl,{value:n,onChange:function(e){return a(e)}}))}));function At(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Pt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?At(Object(n),!0).forEach((function(t){Rt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):At(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Rt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var jt={"max-snippet":-1,"max-video-preview":-1,"max-image-preview":"large"},Lt=(0,l.compose)((0,t.withSelect)((function(e){var t=e("rank-math").getAdvancedRobots(),n=Pt({},t);(0,s.defaults)(n,jt);var a=null,r=null,i=null;return"max-snippet"in t&&(a=n["max-snippet"]),"max-image-preview"in t&&(r=n["max-image-preview"]),"max-video-preview"in t&&(i=n["max-video-preview"]),{meta:t,isSnippet:a,isImage:r,isVideo:i,maxSnippet:a?n["max-snippet"]:-1,maxImage:n["max-image-preview"],maxVideo:i?n["max-video-preview"]:-1}})),(0,t.withDispatch)((function(e,t){var n=Pt({},t.meta);return{updateRobots:function(t,a){(0,s.isBoolean)(a)?!1===a?delete n[t]:n[t]=jt[t]:n[t]=a,e("rank-math").updateAdvancedRobots(n)}}})))((function(t){return wp.element.createElement(c.BaseControl,{className:"rank-math-robots",id:"rank-math-robots",label:(0,e.__)("Advanced Robots Meta","rank-math")},wp.element.createElement("div",{className:"rank-math-robots-list advanced-robots"},wp.element.createElement(c.CheckboxControl,{label:wp.element.createElement(r.Fragment,null,(0,e.__)("Max Snippet","rank-math"),wp.element.createElement($e,null,(0,e.__)("Specify a maximum text-length, in characters, of a snippet for your page","rank-math"))),checked:t.isSnippet,onChange:function(e){return t.updateRobots("max-snippet",e)}}),wp.element.createElement(c.TextControl,{type:"number",value:t.maxSnippet,onChange:function(e){return t.updateRobots("max-snippet",e)}}),wp.element.createElement(c.CheckboxControl,{label:wp.element.createElement(r.Fragment,null,(0,e.__)("Max Video Preview","rank-math"),wp.element.createElement($e,null,(0,e.__)("Specify a maximum duration in seconds of an animated video preview","rank-math"))),checked:t.isVideo,onChange:function(e){return t.updateRobots("max-video-preview",e)}}),wp.element.createElement(c.TextControl,{type:"number",value:t.maxVideo,onChange:function(e){return t.updateRobots("max-video-preview",e)}}),wp.element.createElement(c.CheckboxControl,{label:wp.element.createElement(r.Fragment,null,(0,e.__)("Max Image Preview","rank-math"),wp.element.createElement($e,null,(0,e.__)("Specify a maximum size of image preview to be shown for images on this page","rank-math"))),checked:t.isImage,onChange:function(e){return t.updateRobots("max-image-preview",e)}}),wp.element.createElement(c.SelectControl,{value:t.maxImage,onChange:function(e){return t.updateRobots("max-image-preview",e)},options:[{value:"large",label:(0,e.__)("Large","rank-math")},{value:"standard",label:(0,e.__)("Standard","rank-math")},{value:"none",label:(0,e.__)("None","rank-math")}]})))})),Ft=(0,l.compose)((0,t.withSelect)((function(e){return{showScore:e("rank-math").getShowScoreFrontend()}})),(0,t.withDispatch)((function(e){return{toggleScore:function(t){e("rank-math").toggleFrontendScore(t)}}})))((function(t){var n=t.showScore,a=t.toggleScore;return wp.element.createElement(c.BaseControl,{className:"rank-math-frontend-score"},wp.element.createElement(c.ToggleControl,{label:(0,e.__)("Show SEO Score on Front-end","rank-math"),checked:n,onChange:a}))})),Ht=(0,c.createSlotFill)("RankMathAdvancedTab"),Bt=Ht.Fill,Ut=Ht.Slot,Vt=function(e){var t=e.children,n=e.className;return wp.element.createElement(Bt,null,wp.element.createElement(c.PanelRow,{className:n},t))};Vt.Slot=Ut;var zt=Vt,Wt=(0,c.withFilters)("rankMath.advanced.newsSitemap")((function(){return null})),Gt=function(){return wp.element.createElement(r.Fragment,null,wp.element.createElement(c.PanelBody,{initialOpen:!0},wp.element.createElement(xt,null)),wp.element.createElement(c.PanelBody,{initialOpen:!0},wp.element.createElement(Lt,null)),wp.element.createElement(Wt,null),wp.element.createElement(c.PanelBody,{initialOpen:!0},wp.element.createElement(Dt,null)),rankMath.assessor.hasBreadcrumb&&wp.element.createElement(c.PanelBody,{initialOpen:!0},wp.element.createElement(Mt,null)),rankMath.assessor.hasRedirection&&wp.element.createElement(c.PanelBody,{initialOpen:!0,className:"rank-math-redirect"},wp.element.createElement(St,null)),rankMath.frontEndScore&&wp.element.createElement(c.PanelBody,{initialOpen:!0},wp.element.createElement(Ft,null)),wp.element.createElement(zt.Slot,null,(function(e){return e.length>0?e:[]})))},Kt=n(279),$t=n.n(Kt),qt={init:function(){this.cacheProps(),this.initVars(),this.bindEvents()},cacheProps:function(){this.root=document.documentElement,this.$wpAdminbar=oe()("#wpadminbar")},initVars:function(){this.$wpAdminbar.length&&this.setWpAdminbarHeight.call(this)},bindEvents:function(){window.addEventListener("resize",$t()(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")}};oe()((function(){qt.init()}));var Yt=function(e){"social"===e&&(0,t.dispatch)("rank-math").toggleSnippetEditor(!0)},Xt=function(){return wp.element.createElement(_,{className:"rank-math-tabs",activeClass:"is-active",tabs:(t=[],rankMath.canUser.general&&t.push({name:"general",title:wp.element.createElement(r.Fragment,null,wp.element.createElement("i",{className:"rm-icon rm-icon-settings",title:(0,e.__)("General","rank-math")}),wp.element.createElement("span",null,(0,e.__)("General","rank-math"))),view:_t,className:"rank-math-general-tab"}),rankMath.canUser.advanced&&t.push({name:"advanced",title:wp.element.createElement(r.Fragment,null,wp.element.createElement("i",{className:"rm-icon rm-icon-toolbox",title:(0,e.__)("Advanced","rank-math")}),wp.element.createElement("span",null,(0,e.__)("Advanced","rank-math"))),view:Gt,className:"rank-math-advanced-tab"}),rankMath.canUser.social&&t.push({name:"social",title:wp.element.createElement(r.Fragment,null,wp.element.createElement("i",{className:"rm-icon rm-icon-social",title:(0,e.__)("Social","rank-math")}),wp.element.createElement("span",null,(0,e.__)("Social","rank-math"))),view:De,className:"rank-math-social-tab"}),(0,a.applyFilters)("rank_math_sidebar_tabs",t)),onSelect:Yt},(function(e){return wp.element.createElement("div",{className:"rank-math-tab-content-"+e.name},(0,r.createElement)(e.view))}));var t};(0,a.addAction)("rank_math_loaded","rank-math",(function(){(0,a.addFilter)("rank_math_app","rank-math",(function(){return Xt}))}))}()}();
1
+ !function(){var e={634:function(e){e.exports=function(){"use strict";function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function t(t){for(var a=1;a<arguments.length;a++){var i=null!=arguments[a]?arguments[a]:{};a%2?e(Object(i),!0).forEach((function(e){n(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):e(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const a=(e,t,n,a)=>(e=""+e,t=""+t,a&&(e=e.trim(),t=t.trim()),n?e==t:e.toLowerCase()==t.toLowerCase()),i=(e,t)=>e&&Array.isArray(e)&&e.map((e=>r(e,t)));function r(e,t){var n,a={};for(n in e)t.indexOf(n)<0&&(a[n]=e[n]);return a}function o(e){var t=document.createElement("div");return e.replace(/\&#?[0-9a-z]+;/gi,(function(e){return t.innerHTML=e,t.innerText}))}function s(e){return(new DOMParser).parseFromString(e.trim(),"text/html").body.firstElementChild}function l(e,t){for(t=t||"previous";e=e[t+"Sibling"];)if(3==e.nodeType)return e}function c(e){return"string"==typeof e?e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/`|'/g,"&#039;"):e}function p(e){var t=Object.prototype.toString.call(e).split(" ")[1].slice(0,-1);return e===Object(e)&&"Array"!=t&&"Function"!=t&&"RegExp"!=t&&"HTMLUnknownElement"!=t}function d(e,t,n){function a(e,t){for(var n in t)if(t.hasOwnProperty(n)){if(p(t[n])){p(e[n])?a(e[n],t[n]):e[n]=Object.assign({},t[n]);continue}if(Array.isArray(t[n])){e[n]=Object.assign([],t[n]);continue}e[n]=t[n]}}return e instanceof Object||(e={}),a(e,t),n&&a(e,n),e}function u(){const e=[],t={};for(let n of arguments)for(let a of n)p(a)?t[a.value]||(e.push(a),t[a.value]=1):e.includes(a)||e.push(a);return e}function m(e){return String.prototype.normalize?"string"==typeof e?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):void 0:e}var h=()=>/(?=.*chrome)(?=.*android)/i.test(navigator.userAgent);function g(){return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(e=>(e^crypto.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16)))}function f(e){return e&&e.classList&&e.classList.contains(this.settings.classNames.tag)}var w={delimiters:",",pattern:null,tagTextProp:"value",maxTags:1/0,callbacks:{},addTagOnBlur:!0,onChangeAfterBlur:!0,duplicates:!1,whitelist:[],blacklist:[],enforceWhitelist:!1,userInput:!0,keepInvalidTags:!1,createInvalidTags:!0,mixTagsAllowedAfter:/,|\.|\:|\s/,mixTagsInterpolator:["[[","]]"],backspace:!0,skipInvalid:!1,pasteAsTags:!0,editTags:{clicks:2,keepInvalid:!0},transformTag:()=>{},trim:!0,a11y:{focusableTags:!1},mixMode:{insertAfterTag:" "},autoComplete:{enabled:!0,rightKey:!1},classNames:{namespace:"tagify",mixMode:"tagify--mix",selectMode:"tagify--select",input:"tagify__input",focus:"tagify--focus",tagNoAnimation:"tagify--noAnim",tagInvalid:"tagify--invalid",tagNotAllowed:"tagify--notAllowed",scopeLoading:"tagify--loading",hasMaxTags:"tagify--hasMaxTags",hasNoTags:"tagify--noTags",empty:"tagify--empty",inputInvalid:"tagify__input--invalid",dropdown:"tagify__dropdown",dropdownWrapper:"tagify__dropdown__wrapper",dropdownHeader:"tagify__dropdown__header",dropdownFooter:"tagify__dropdown__footer",dropdownItem:"tagify__dropdown__item",dropdownItemActive:"tagify__dropdown__item--active",dropdownItemHidden:"tagify__dropdown__item--hidden",dropdownInital:"tagify__dropdown--initial",tag:"tagify__tag",tagText:"tagify__tag-text",tagX:"tagify__tag__removeBtn",tagLoading:"tagify__tag--loading",tagEditing:"tagify__tag--editable",tagFlash:"tagify__tag--flash",tagHide:"tagify__tag--hide"},dropdown:{classname:"",enabled:2,maxItems:10,searchKeys:["value","searchBy"],fuzzySearch:!0,caseSensitive:!1,accentedSearch:!0,includeSelectedTags:!1,highlightFirst:!1,closeOnSelect:!0,clearOnSelect:!0,position:"all",appendTarget:null},hooks:{beforeRemoveTag:()=>Promise.resolve(),beforePaste:()=>Promise.resolve(),suggestionClick:()=>Promise.resolve()}};function v(){this.dropdown={};for(let e in this._dropdown)this.dropdown[e]="function"==typeof this._dropdown[e]?this._dropdown[e].bind(this):this._dropdown[e];this.dropdown.refs()}var y={refs(){this.DOM.dropdown=this.parseTemplate("dropdown",[this.settings]),this.DOM.dropdown.content=this.DOM.dropdown.querySelector("[data-selector='tagify-suggestions-wrapper']")},getHeaderRef(){return this.DOM.dropdown.querySelector("[data-selector='tagify-suggestions-header']")},getFooterRef(){return this.DOM.dropdown.querySelector("[data-selector='tagify-suggestions-footer']")},getAllSuggestionsRefs(){return[...this.DOM.dropdown.content.querySelectorAll(this.settings.classNames.dropdownItemSelector)]},show(e){var t,n,i,r=this.settings,o="mix"==r.mode&&!r.enforceWhitelist,s=!r.whitelist||!r.whitelist.length,l="manual"==r.dropdown.position;if(e=void 0===e?this.state.inputText:e,!(s&&!o&&!r.templates.dropdownItemNoMatch||!1===r.dropdown.enable||this.state.isLoading||this.settings.readonly)){if(clearTimeout(this.dropdownHide__bindEventsTimeout),this.suggestedListItems=this.dropdown.filterListItems(e),e&&!this.suggestedListItems.length&&(this.trigger("dropdown:noMatch",e),r.templates.dropdownItemNoMatch&&(i=r.templates.dropdownItemNoMatch.call(this,{value:e}))),!i){if(this.suggestedListItems.length)e&&o&&!this.state.editing.scope&&!a(this.suggestedListItems[0].value,e)&&this.suggestedListItems.unshift({value:e});else{if(!e||!o||this.state.editing.scope)return this.input.autocomplete.suggest.call(this),void this.dropdown.hide();this.suggestedListItems=[{value:e}]}n=""+(p(t=this.suggestedListItems[0])?t.value:t),r.autoComplete&&n&&0==n.indexOf(e)&&this.input.autocomplete.suggest.call(this,t)}this.dropdown.fill(i),r.dropdown.highlightFirst&&this.dropdown.highlightOption(this.DOM.dropdown.content.querySelector(r.classNames.dropdownItemSelector)),this.state.dropdown.visible||setTimeout(this.dropdown.events.binding.bind(this)),this.state.dropdown.visible=e||!0,this.state.dropdown.query=e,this.setStateSelection(),l||setTimeout((()=>{this.dropdown.position(),this.dropdown.render()})),setTimeout((()=>{this.trigger("dropdown:show",this.DOM.dropdown)}))}},hide(e){var t=this.DOM,n=t.scope,a=t.dropdown,i="manual"==this.settings.dropdown.position&&!e;if(a&&document.body.contains(a)&&!i)return window.removeEventListener("resize",this.dropdown.position),this.dropdown.events.binding.call(this,!1),n.setAttribute("aria-expanded",!1),a.parentNode.removeChild(a),setTimeout((()=>{this.state.dropdown.visible=!1}),100),this.state.dropdown.query=this.state.ddItemData=this.state.ddItemElm=this.state.selection=null,this.state.tag&&this.state.tag.value.length&&(this.state.flaggedTags[this.state.tag.baseOffset]=this.state.tag),this.trigger("dropdown:hide",a),this},toggle(e){this.dropdown[this.state.dropdown.visible&&!e?"hide":"show"]()},render(){var e,t,n=((t=this.DOM.dropdown.cloneNode(!0)).style.cssText="position:fixed; top:-9999px; opacity:0",document.body.appendChild(t),e=t.clientHeight,t.parentNode.removeChild(t),e),a=this.settings;return"number"==typeof a.dropdown.enabled&&a.dropdown.enabled>=0?(this.DOM.scope.setAttribute("aria-expanded",!0),document.body.contains(this.DOM.dropdown)||(this.DOM.dropdown.classList.add(a.classNames.dropdownInital),this.dropdown.position(n),a.dropdown.appendTarget.appendChild(this.DOM.dropdown),setTimeout((()=>this.DOM.dropdown.classList.remove(a.classNames.dropdownInital)))),this):this},fill(e){e="string"==typeof e?e:this.dropdown.createListHTML(e||this.suggestedListItems);var t,n=this.settings.templates.dropdownContent.call(this,e);this.DOM.dropdown.content.innerHTML=(t=n)?t.replace(/\>[\r\n ]+\</g,"><").replace(/(<.*?>)|\s+/g,((e,t)=>t||" ")):""},fillHeaderFooter(){this.settings.templates;var e=this.dropdown.filterListItems(this.state.dropdown.query),t=this.parseTemplate("dropdownHeader",[e]),n=this.parseTemplate("dropdownFooter",[e]),a=this.dropdown.getHeaderRef(),i=this.dropdown.getFooterRef();t&&a?.parentNode.replaceChild(t,a),n&&i?.parentNode.replaceChild(n,i)},refilter(e){e=e||this.state.dropdown.query||"",this.suggestedListItems=this.dropdown.filterListItems(e),this.dropdown.fill(),this.suggestedListItems.length||this.dropdown.hide(),this.trigger("dropdown:updated",this.DOM.dropdown)},position(e){var t=this.settings.dropdown;if("manual"!=t.position){var n,a,i,r,o,s,l=this.DOM.dropdown,c=t.placeAbove,p=t.appendTarget===document.body,d=p?window.pageYOffset:t.appendTarget.scrollTop,u=document.fullscreenElement||document.webkitFullscreenElement||document.documentElement,m=u.clientHeight,h=Math.max(u.clientWidth||0,window.innerWidth||0)>480?t.position:"all",g=this.DOM["input"==h?"input":"scope"];if(e=e||l.clientHeight,this.state.dropdown.visible){if("text"==h?(i=(n=this.getCaretGlobalPosition()).bottom,a=n.top,r=n.left,o="auto"):(s=function(e){for(var t=0,n=0;e&&e!=u;)t+=e.offsetLeft||0,n+=e.offsetTop||0,e=e.parentNode;return{left:t,top:n}}(t.appendTarget),a=(n=g.getBoundingClientRect()).top-s.top,i=n.bottom-1-s.top,r=n.left-s.left,o=n.width+"px"),!p){let e=function(){for(var e=0,n=t.appendTarget.parentNode;n;)e+=n.scrollTop||0,n=n.parentNode;return e}();a+=e,i+=e}a=Math.floor(a),i=Math.ceil(i),c=void 0===c?m-n.bottom<e:c,l.style.cssText="left:"+(r+window.pageXOffset)+"px; width:"+o+";"+(c?"top: "+(a+d)+"px":"top: "+(i+d)+"px"),l.setAttribute("placement",c?"top":"bottom"),l.setAttribute("position",h)}}},events:{binding(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];var t=this.dropdown.events.callbacks,n=this.listeners.dropdown=this.listeners.dropdown||{position:this.dropdown.position.bind(this,null),onKeyDown:t.onKeyDown.bind(this),onMouseOver:t.onMouseOver.bind(this),onMouseLeave:t.onMouseLeave.bind(this),onClick:t.onClick.bind(this),onScroll:t.onScroll.bind(this)},a=e?"addEventListener":"removeEventListener";"manual"!=this.settings.dropdown.position&&(document[a]("scroll",n.position,!0),window[a]("resize",n.position),window[a]("keydown",n.onKeyDown)),this.DOM.dropdown[a]("mouseover",n.onMouseOver),this.DOM.dropdown[a]("mouseleave",n.onMouseLeave),this.DOM.dropdown[a]("mousedown",n.onClick),this.DOM.dropdown.content[a]("scroll",n.onScroll)},callbacks:{onKeyDown(e){if(this.state.hasFocus&&!this.state.composing){var t=this.DOM.dropdown.querySelector(this.settings.classNames.dropdownItemActiveSelector),n=this.dropdown.getSuggestionDataByNode(t);switch(e.key){case"ArrowDown":case"ArrowUp":case"Down":case"Up":e.preventDefault();var a=this.dropdown.getAllSuggestionsRefs(),i="ArrowUp"==e.key||"Up"==e.key;t&&(t=this.dropdown.getNextOrPrevOption(t,!i)),t&&t.matches(this.settings.classNames.dropdownItemSelector)||(t=a[i?a.length-1:0]),n=this.dropdown.getSuggestionDataByNode(t),this.dropdown.highlightOption(t,!0);break;case"Escape":case"Esc":this.dropdown.hide();break;case"ArrowRight":if(this.state.actions.ArrowLeft)return;case"Tab":if("mix"!=this.settings.mode&&t&&!this.settings.autoComplete.rightKey&&!this.state.editing){e.preventDefault();var r=this.dropdown.getMappedValue(n);return this.input.autocomplete.set.call(this,r),!1}return!0;case"Enter":e.preventDefault(),this.settings.hooks.suggestionClick(e,{tagify:this,tagData:n,suggestionElm:t}).then((()=>{if(t)return this.dropdown.selectOption(t),t=this.dropdown.getNextOrPrevOption(t,!i),void this.dropdown.highlightOption(t);this.dropdown.hide(),"mix"!=this.settings.mode&&this.addTags(this.state.inputText.trim(),!0)})).catch((e=>e));break;case"Backspace":{if("mix"==this.settings.mode||this.state.editing.scope)return;const e=this.input.raw.call(this);""!=e&&8203!=e.charCodeAt(0)||(!0===this.settings.backspace?this.removeTags():"edit"==this.settings.backspace&&setTimeout(this.editTag.bind(this),0))}}}},onMouseOver(e){var t=e.target.closest(this.settings.classNames.dropdownItemSelector);t&&this.dropdown.highlightOption(t)},onMouseLeave(e){this.dropdown.highlightOption()},onClick(e){if(0==e.button&&e.target!=this.DOM.dropdown&&e.target!=this.DOM.dropdown.content){var t=e.target.closest(this.settings.classNames.dropdownItemSelector),n=this.dropdown.getSuggestionDataByNode(t);this.state.actions.selectOption=!0,setTimeout((()=>this.state.actions.selectOption=!1),50),this.settings.hooks.suggestionClick(e,{tagify:this,tagData:n,suggestionElm:t}).then((()=>{t?this.dropdown.selectOption(t,e):this.dropdown.hide()})).catch((e=>console.warn(e)))}},onScroll(e){var t=e.target,n=t.scrollTop/(t.scrollHeight-t.parentNode.clientHeight)*100;this.trigger("dropdown:scroll",{percentage:Math.round(n)})}}},getSuggestionDataByNode(e){var t=e&&e.getAttribute("value");return this.suggestedListItems.find((e=>e.value==t))||null},getNextOrPrevOption(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];var n=this.dropdown.getAllSuggestionsRefs(),a=n.findIndex((t=>t===e));return t?n[a+1]:n[a-1]},highlightOption(e,t){var n,a=this.settings.classNames.dropdownItemActive;if(this.state.ddItemElm&&(this.state.ddItemElm.classList.remove(a),this.state.ddItemElm.removeAttribute("aria-selected")),!e)return this.state.ddItemData=null,this.state.ddItemElm=null,void this.input.autocomplete.suggest.call(this);n=this.dropdown.getSuggestionDataByNode(e),this.state.ddItemData=n,this.state.ddItemElm=e,e.classList.add(a),e.setAttribute("aria-selected",!0),t&&(e.parentNode.scrollTop=e.clientHeight+e.offsetTop-e.parentNode.clientHeight),this.settings.autoComplete&&(this.input.autocomplete.suggest.call(this,n),this.dropdown.position())},selectOption(e,t){var n=this.settings.dropdown,a=n.clearOnSelect,i=n.closeOnSelect;if(!e)return this.addTags(this.state.inputText,!0),void(i&&this.dropdown.hide());t=t||{};var r=e.getAttribute("value"),o="noMatch"==r,s=this.suggestedListItems.find((e=>(e.value||e)==r));this.trigger("dropdown:select",{data:s,elm:e,event:t}),r&&(s||o)?(this.state.editing?this.onEditTagDone(null,d({__isValid:!0},this.normalizeTags([s])[0])):this["mix"==this.settings.mode?"addMixTags":"addTags"]([s||this.input.raw.call(this)],a),this.DOM.input.parentNode&&(setTimeout((()=>{this.DOM.input.focus(),this.toggleFocusClass(!0),this.setRangeAtStartEnd(!1)})),i&&setTimeout(this.dropdown.hide.bind(this)),e.addEventListener("transitionend",(()=>{this.dropdown.fillHeaderFooter(),setTimeout((()=>e.remove()),100)}),{once:!0}),e.classList.add(this.settings.classNames.dropdownItemHidden))):i&&setTimeout(this.dropdown.hide.bind(this))},selectAll(e){this.suggestedListItems.length=0,this.dropdown.hide(),this.dropdown.filterListItems("");var t=this.dropdown.filterListItems("");return e||(t=this.state.dropdown.suggestions),this.addTags(t,!0),this},filterListItems(e,t){var n,a,i,r,o,s=this.settings,l=s.dropdown,c=(t=t||{},[]),d=[],u=s.whitelist,h=l.maxItems>=0?l.maxItems:1/0,g=l.searchKeys,f=0;if(!(e="select"==s.mode&&this.value.length&&this.value[0][s.tagTextProp]==e?"":e)||!g.length)return c=l.includeSelectedTags?u:u.filter((e=>!this.isTagDuplicate(p(e)?e.value:e))),this.state.dropdown.suggestions=c,c.slice(0,h);function w(e,t){return t.toLowerCase().split(" ").every((t=>e.includes(t.toLowerCase())))}for(o=l.caseSensitive?""+e:(""+e).toLowerCase();f<u.length;f++){let e,s;n=u[f]instanceof Object?u[f]:{value:u[f]};let h=Object.keys(n).some((e=>g.includes(e)))?g:["value"];l.fuzzySearch&&!t.exact?(i=h.reduce(((e,t)=>e+" "+(n[t]||"")),"").toLowerCase().trim(),l.accentedSearch&&(i=m(i),o=m(o)),e=0==i.indexOf(o),s=i===o,a=w(i,o)):(e=!0,a=h.some((e=>{var a=""+(n[e]||"");return l.accentedSearch&&(a=m(a),o=m(o)),l.caseSensitive||(a=a.toLowerCase()),s=a===o,t.exact?a===o:0==a.indexOf(o)}))),r=!l.includeSelectedTags&&this.isTagDuplicate(p(n)?n.value:n),a&&!r&&(s&&e?d.push(n):"startsWith"==l.sortby&&e?c.unshift(n):c.push(n))}return this.state.dropdown.suggestions=d.concat(c),"function"==typeof l.sortby?l.sortby(d.concat(c),o):d.concat(c).slice(0,h)},getMappedValue(e){var t=this.settings.dropdown.mapValueTo;return t?"function"==typeof t?t(e):e[t]||e.value:e.value},createListHTML(e){return d([],e).map(((e,n)=>{"string"!=typeof e&&"number"!=typeof e||(e={value:e});var a=this.dropdown.getMappedValue(e);return a="string"==typeof a?c(a):a,this.settings.templates.dropdownItem.apply(this,[t(t({},e),{},{mappedValue:a}),this])})).join("")}};const b="@yaireo/tagify/";var k,T={empty:"empty",exceed:"number of tags exceeded",pattern:"pattern mismatch",duplicate:"already exists",notAllowed:"not allowed"},E={wrapper:(e,t)=>`<tags class="${t.classNames.namespace} ${t.mode?`${t.classNames[t.mode+"Mode"]}`:""} ${e.className}"\n ${t.readonly?"readonly":""}\n ${t.disabled?"disabled":""}\n ${t.required?"required":""}\n ${"select"===t.mode?"spellcheck='false'":""}\n tabIndex="-1">\n <span ${!t.readonly&&t.userInput?"contenteditable":""} tabIndex="0" data-placeholder="${t.placeholder||"&#8203;"}" aria-placeholder="${t.placeholder||""}"\n class="${t.classNames.input}"\n role="textbox"\n aria-autocomplete="both"\n aria-multiline="${"mix"==t.mode}"></span>\n &#8203;\n </tags>`,tag(e,t){let n=t.settings;return`<tag title="${e.title||e.value}"\n contenteditable='false'\n spellcheck='false'\n tabIndex="${n.a11y.focusableTags?0:-1}"\n class="${n.classNames.tag} ${e.class||""}"\n ${this.getAttributes(e)}>\n <x title='' class="${n.classNames.tagX}" role='button' aria-label='remove tag'></x>\n <div>\n <span class="${n.classNames.tagText}">${e[n.tagTextProp]||e.value}</span>\n </div>\n </tag>`},dropdown(e){var t=e.dropdown,n="manual"==t.position,a=`${e.classNames.dropdown}`;return`<div class="${n?"":a} ${t.classname}" role="listbox" aria-labelledby="dropdown">\n <div data-selector='tagify-suggestions-wrapper' class="${e.classNames.dropdownWrapper}"></div>\n </div>`},dropdownContent(e){var t=this.settings,n=this.state.dropdown.suggestions;return`\n ${t.templates.dropdownHeader.call(this,n)}\n ${e}\n ${t.templates.dropdownFooter.call(this,n)}\n `},dropdownItem(e){return`<div ${this.getAttributes(e)}\n class='${this.settings.classNames.dropdownItem} ${e.class?e.class:""}'\n tabindex="0"\n role="option">${e.mappedValue||e.value}</div>`},dropdownHeader(e){return`<header data-selector='tagify-suggestions-header' class="${this.settings.classNames.dropdownHeader}"></header>`},dropdownFooter(e){var t=e.length-this.settings.dropdown.maxItems;return t>0?`<footer data-selector='tagify-suggestions-footer' class="${this.settings.classNames.dropdownFooter}">\n ${t} more items. Refine your search.\n </footer>`:""},dropdownItemNoMatch:null},_={customBinding(){this.customEventsList.forEach((e=>{this.on(e,this.settings.callbacks[e])}))},binding(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];var t,n=this.events.callbacks,a=e?"addEventListener":"removeEventListener";if(!this.state.mainEvents||!e){for(var i in this.state.mainEvents=e,e&&!this.listeners.main&&(this.events.bindGlobal.call(this),this.settings.isJQueryPlugin&&jQuery(this.DOM.originalInput).on("tagify.removeAllTags",this.removeAllTags.bind(this))),t=this.listeners.main=this.listeners.main||{focus:["input",n.onFocusBlur.bind(this)],keydown:["input",n.onKeydown.bind(this)],click:["scope",n.onClickScope.bind(this)],dblclick:["scope",n.onDoubleClickScope.bind(this)],paste:["input",n.onPaste.bind(this)],drop:["input",n.onDrop.bind(this)],compositionstart:["input",n.onCompositionStart.bind(this)],compositionend:["input",n.onCompositionEnd.bind(this)]})this.DOM[t[i][0]][a](i,t[i][1]);clearInterval(this.listeners.main.originalInputValueObserverInterval),this.listeners.main.originalInputValueObserverInterval=setInterval(n.observeOriginalInputValue.bind(this),500);var r=this.listeners.main.inputMutationObserver||new MutationObserver(n.onInputDOMChange.bind(this));r&&r.disconnect(),"mix"==this.settings.mode&&r.observe(this.DOM.input,{childList:!0})}},bindGlobal(e){var t,n=this.events.callbacks,a=e?"removeEventListener":"addEventListener";if(e||!this.listeners.global)for(t of(this.listeners.global=this.listeners&&this.listeners.global||[{type:this.isIE?"keydown":"input",target:this.DOM.input,cb:n[this.isIE?"onInputIE":"onInput"].bind(this)},{type:"keydown",target:window,cb:n.onWindowKeyDown.bind(this)},{type:"blur",target:this.DOM.input,cb:n.onFocusBlur.bind(this)}],this.listeners.global))t.target[a](t.type,t.cb)},unbindGlobal(){this.events.bindGlobal.call(this,!0)},callbacks:{onFocusBlur(e){var t=this.settings,n=e.target?this.trim(e.target.textContent):"",a=this.value?.[0]?.[t.tagTextProp],i=e.type,r=t.dropdown.enabled>=0,o={relatedTarget:e.relatedTarget},s=this.state.actions.selectOption&&(r||!t.dropdown.closeOnSelect),l=this.state.actions.addNew&&r,c=e.relatedTarget&&f.call(this,e.relatedTarget)&&this.DOM.scope.contains(e.relatedTarget);if("blur"==i){if(e.relatedTarget===this.DOM.scope)return this.dropdown.hide(),void this.DOM.input.focus();this.postUpdate(),t.onChangeAfterBlur&&this.triggerChangeEvent()}if(!s&&!l)if(this.state.hasFocus="focus"==i&&+new Date,this.toggleFocusClass(this.state.hasFocus),"mix"!=t.mode){if("focus"==i)return this.trigger("focus",o),void(0!==t.dropdown.enabled&&t.userInput||this.dropdown.show(this.value.length?"":void 0));"blur"==i&&(this.trigger("blur",o),this.loading(!1),"select"==t.mode&&(c&&(this.removeTags(),n=""),a===n&&(n="")),n&&!this.state.actions.selectOption&&t.addTagOnBlur&&this.addTags(n,!0)),this.DOM.input.removeAttribute("style"),this.dropdown.hide()}else"focus"==i?this.trigger("focus",o):"blur"==e.type&&(this.trigger("blur",o),this.loading(!1),this.dropdown.hide(),this.state.dropdown.visible=void 0,this.setStateSelection())},onCompositionStart(e){this.state.composing=!0},onCompositionEnd(e){this.state.composing=!1},onWindowKeyDown(e){var t,n=document.activeElement;if(f.call(this,n)&&this.DOM.scope.contains(document.activeElement))switch(t=n.nextElementSibling,e.key){case"Backspace":this.settings.readonly||(this.removeTags(n),(t||this.DOM.input).focus());break;case"Enter":setTimeout(this.editTag.bind(this),0,n)}},onKeydown(e){var t=this.settings;if(!this.state.composing&&t.userInput){"select"==t.mode&&t.enforceWhitelist&&this.value.length&&"Tab"!=e.key&&e.preventDefault();var n=this.trim(e.target.textContent);if(this.trigger("keydown",{event:e}),"mix"==t.mode){switch(e.key){case"Left":case"ArrowLeft":this.state.actions.ArrowLeft=!0;break;case"Delete":case"Backspace":if(this.state.editing)return;var a,i,r,s=document.getSelection(),c="Delete"==e.key&&s.anchorOffset==(s.anchorNode.length||0),p=s.anchorNode.previousSibling,d=1==s.anchorNode.nodeType||!s.anchorOffset&&p&&1==p.nodeType&&s.anchorNode.previousSibling,u=o(this.DOM.input.innerHTML),m=this.getTagElms();if("edit"==t.backspace&&d)return a=1==s.anchorNode.nodeType?null:s.anchorNode.previousElementSibling,setTimeout(this.editTag.bind(this),0,a),void e.preventDefault();if(h()&&d)return r=l(d),d.hasAttribute("readonly")||d.remove(),this.DOM.input.focus(),void setTimeout((()=>{this.placeCaretAfterNode(r),this.DOM.input.click()}));if("BR"==s.anchorNode.nodeName)return;if((c||d)&&1==s.anchorNode.nodeType?i=0==s.anchorOffset?c?m[0]:null:m[Math.min(m.length,s.anchorOffset)-1]:c?i=s.anchorNode.nextElementSibling:d&&(i=d),3==s.anchorNode.nodeType&&!s.anchorNode.nodeValue&&s.anchorNode.previousElementSibling&&e.preventDefault(),(d||c)&&!t.backspace)return void e.preventDefault();if("Range"!=s.type&&!s.anchorOffset&&s.anchorNode==this.DOM.input&&"Delete"!=e.key)return void e.preventDefault();if("Range"!=s.type&&i&&i.hasAttribute("readonly"))return void this.placeCaretAfterNode(l(i));clearTimeout(k),k=setTimeout((()=>{var e=document.getSelection(),t=o(this.DOM.input.innerHTML),n=!c&&e.anchorNode.previousSibling;if(t.length>=u.length&&n)if(f.call(this,n)&&!n.hasAttribute("readonly")){if(this.removeTags(n),this.fixFirefoxLastTagNoCaret(),2==this.DOM.input.children.length&&"BR"==this.DOM.input.children[1].tagName)return this.DOM.input.innerHTML="",this.value.length=0,!0}else n.remove();this.value=[].map.call(m,((e,t)=>{var n=this.tagData(e);if(e.parentNode||n.readonly)return n;this.trigger("remove",{tag:e,index:t,data:n})})).filter((e=>e))}),20)}return!0}switch(e.key){case"Backspace":"select"==t.mode&&t.enforceWhitelist&&this.value.length?this.removeTags():this.state.dropdown.visible&&"manual"!=t.dropdown.position||""!=e.target.textContent&&8203!=n.charCodeAt(0)||(!0===t.backspace?this.removeTags():"edit"==t.backspace&&setTimeout(this.editTag.bind(this),0));break;case"Esc":case"Escape":if(this.state.dropdown.visible)return;e.target.blur();break;case"Down":case"ArrowDown":this.state.dropdown.visible||this.dropdown.show();break;case"ArrowRight":{let e=this.state.inputSuggestion||this.state.ddItemData;if(e&&t.autoComplete.rightKey)return void this.addTags([e],!0);break}case"Tab":{let a="select"==t.mode;if(!n||a)return!0;e.preventDefault()}case"Enter":if(this.state.dropdown.visible&&"manual"!=t.dropdown.position)return;e.preventDefault(),setTimeout((()=>{this.state.actions.selectOption||this.addTags(n,!0)}))}}},onInput(e){this.postUpdate();var t=this.settings;if("mix"==t.mode)return this.events.callbacks.onMixTagsInput.call(this,e);var n=this.input.normalize.call(this),a=n.length>=t.dropdown.enabled,i={value:n,inputElm:this.DOM.input},r=this.validateTag({value:n});"select"==t.mode&&this.toggleScopeValidation(r),i.isValid=r,this.state.inputText!=n&&(this.input.set.call(this,n,!1),-1!=n.search(t.delimiters)?this.addTags(n)&&this.input.set.call(this):t.dropdown.enabled>=0&&this.dropdown[a?"show":"hide"](n),this.trigger("input",i))},onMixTagsInput(e){var t,n,a,i,r,o,s,l,c=this.settings,p=this.value.length,u=this.getTagElms(),m=document.createDocumentFragment(),g=window.getSelection().getRangeAt(0),f=[].map.call(u,(e=>this.tagData(e).value));if("deleteContentBackward"==e.inputType&&h()&&this.events.callbacks.onKeydown.call(this,{target:e.target,key:"Backspace"}),this.value.slice().forEach((e=>{e.readonly&&!f.includes(e.value)&&m.appendChild(this.createTagElem(e))})),m.childNodes.length&&(g.insertNode(m),this.setRangeAtStartEnd(!1,m.lastChild)),u.length!=p)return this.value=[].map.call(this.getTagElms(),(e=>this.tagData(e))),void this.update({withoutChangeEvent:!0});if(this.hasMaxTags())return!0;if(window.getSelection&&(o=window.getSelection()).rangeCount>0&&3==o.anchorNode.nodeType){if((g=o.getRangeAt(0).cloneRange()).collapse(!0),g.setStart(o.focusNode,0),a=(t=g.toString().slice(0,g.endOffset)).split(c.pattern).length-1,(n=t.match(c.pattern))&&(i=t.slice(t.lastIndexOf(n[n.length-1]))),i){if(this.state.actions.ArrowLeft=!1,this.state.tag={prefix:i.match(c.pattern)[0],value:i.replace(c.pattern,"")},this.state.tag.baseOffset=o.baseOffset-this.state.tag.value.length,l=this.state.tag.value.match(c.delimiters))return this.state.tag.value=this.state.tag.value.replace(c.delimiters,""),this.state.tag.delimiters=l[0],this.addTags(this.state.tag.value,c.dropdown.clearOnSelect),void this.dropdown.hide();r=this.state.tag.value.length>=c.dropdown.enabled;try{s=(s=this.state.flaggedTags[this.state.tag.baseOffset]).prefix==this.state.tag.prefix&&s.value[0]==this.state.tag.value[0],this.state.flaggedTags[this.state.tag.baseOffset]&&!this.state.tag.value&&delete this.state.flaggedTags[this.state.tag.baseOffset]}catch(e){}(s||a<this.state.mixMode.matchedPatternCount)&&(r=!1)}else this.state.flaggedTags={};this.state.mixMode.matchedPatternCount=a}setTimeout((()=>{this.update({withoutChangeEvent:!0}),this.trigger("input",d({},this.state.tag,{textContent:this.DOM.input.textContent})),this.state.tag&&this.dropdown[r?"show":"hide"](this.state.tag.value)}),10)},onInputIE(e){var t=this;setTimeout((function(){t.events.callbacks.onInput.call(t,e)}))},observeOriginalInputValue(){this.DOM.originalInput.parentNode||this.destroy(),this.DOM.originalInput.value!=this.DOM.originalInput.tagifyValue&&this.loadOriginalValues()},onClickScope(e){var t=this.settings,n=e.target.closest("."+t.classNames.tag),a=+new Date-this.state.hasFocus;if(e.target!=this.DOM.scope){if(!e.target.classList.contains(t.classNames.tagX))return n?(this.trigger("click",{tag:n,index:this.getNodeIndex(n),data:this.tagData(n),event:e}),void(1!==t.editTags&&1!==t.editTags.clicks||this.events.callbacks.onDoubleClickScope.call(this,e))):void(e.target==this.DOM.input&&("mix"==t.mode&&this.fixFirefoxLastTagNoCaret(),a>500)?this.state.dropdown.visible?this.dropdown.hide():0===t.dropdown.enabled&&"mix"!=t.mode&&this.dropdown.show(this.value.length?"":void 0):"select"==t.mode&&!this.state.dropdown.visible&&this.dropdown.show());this.removeTags(e.target.parentNode)}else this.state.hasFocus||this.DOM.input.focus()},onPaste(e){e.preventDefault();var t,n,a=this.settings;if("select"==a.mode&&a.enforceWhitelist||!a.userInput)return!1;a.readonly||(t=e.clipboardData||window.clipboardData,n=t.getData("Text"),a.hooks.beforePaste(e,{tagify:this,pastedText:n,clipboardData:t}).then((t=>{void 0===t&&(t=n),t&&(this.injectAtCaret(t,window.getSelection().getRangeAt(0)),"mix"==this.settings.mode?this.events.callbacks.onMixTagsInput.call(this,e):this.settings.pasteAsTags?this.addTags(this.state.inputText+t,!0):this.state.inputText=t)})).catch((e=>e)))},onDrop(e){e.preventDefault()},onEditTagInput(e,t){var n=e.closest("."+this.settings.classNames.tag),a=this.getNodeIndex(n),i=this.tagData(n),r=this.input.normalize.call(this,e),o={[this.settings.tagTextProp]:r,__tagId:i.__tagId},s=this.validateTag(o);this.editTagChangeDetected(d(i,o))||!0!==e.originalIsValid||(s=!0),n.classList.toggle(this.settings.classNames.tagInvalid,!0!==s),i.__isValid=s,n.title=!0===s?i.title||i.value:s,r.length>=this.settings.dropdown.enabled&&(this.state.editing&&(this.state.editing.value=r),this.dropdown.show(r)),this.trigger("edit:input",{tag:n,index:a,data:d({},this.value[a],{newValue:r}),event:t})},onEditTagFocus(e){this.state.editing={scope:e,input:e.querySelector("[contenteditable]")}},onEditTagBlur(e){if(this.state.hasFocus||this.toggleFocusClass(),this.DOM.scope.contains(e)){var t,n,a=this.settings,i=e.closest("."+a.classNames.tag),r=this.input.normalize.call(this,e),o=this.tagData(i),s=o.__originalData,l=this.editTagChangeDetected(o),c=this.validateTag({[a.tagTextProp]:r,__tagId:o.__tagId});if(r)if(l){if(t=this.hasMaxTags(),n=d({},s,{[a.tagTextProp]:this.trim(r),__isValid:c}),a.transformTag.call(this,n,s),!0!==(c=(!t||!0===s.__isValid)&&this.validateTag(n))){if(this.trigger("invalid",{data:n,tag:i,message:c}),a.editTags.keepInvalid)return;a.keepInvalidTags?n.__isValid=c:n=s}else a.keepInvalidTags&&(delete n.title,delete n["aria-invalid"],delete n.class);this.onEditTagDone(i,n)}else this.onEditTagDone(i,s);else this.onEditTagDone(i)}},onEditTagkeydown(e,t){if(!this.state.composing)switch(this.trigger("edit:keydown",{event:e}),e.key){case"Esc":case"Escape":t.parentNode.replaceChild(t.__tagifyTagData.__originalHTML,t),this.state.editing=!1;case"Enter":case"Tab":e.preventDefault(),e.target.blur()}},onDoubleClickScope(e){var t,n,a=e.target.closest("."+this.settings.classNames.tag),i=this.tagData(a),r=this.settings;a&&r.userInput&&!1!==i.editable&&(t=a.classList.contains(this.settings.classNames.tagEditing),n=a.hasAttribute("readonly"),"select"==r.mode||r.readonly||t||n||!this.settings.editTags||this.editTag(a),this.toggleFocusClass(!0),this.trigger("dblclick",{tag:a,index:this.getNodeIndex(a),data:this.tagData(a)}))},onInputDOMChange(e){e.forEach((e=>{e.addedNodes.forEach((e=>{if("<div><br></div>"==e.outerHTML)e.replaceWith(document.createElement("br"));else if(1==e.nodeType&&e.querySelector(this.settings.classNames.tagSelector)){let t=document.createTextNode("");3==e.childNodes[0].nodeType&&"BR"!=e.previousSibling.nodeName&&(t=document.createTextNode("\n")),e.replaceWith(t,...[...e.childNodes].slice(0,-1)),this.placeCaretAfterNode(t)}else if(f.call(this,e)&&(3!=e.previousSibling?.nodeType||e.previousSibling.textContent||e.previousSibling.remove(),e.previousSibling&&"BR"==e.previousSibling.nodeName)){e.previousSibling.replaceWith("\n​");let t=e.nextSibling,n="";for(;t;)n+=t.textContent,t=t.nextSibling;n.trim()&&this.placeCaretAfterNode(e.previousSibling)}})),e.removedNodes.forEach((e=>{e&&"BR"==e.nodeName&&f.call(this,t)&&(this.removeTags(t),this.fixFirefoxLastTagNoCaret())}))}));var t=this.DOM.input.lastChild;t&&""==t.nodeValue&&t.remove(),t&&"BR"==t.nodeName||this.DOM.input.appendChild(document.createElement("br"))}}};function O(e,t){if(!e){console.warn("Tagify:","input element not found",e);const t=new Proxy(this,{get:()=>()=>t});return t}if(e.__tagify)return console.warn("Tagify: ","input element is already Tagified - Same instance is returned.",e),e.__tagify;var n;d(this,function(e){var t=document.createTextNode("");function n(e,n,a){a&&n.split(/\s+/g).forEach((n=>t[e+"EventListener"].call(t,n,a)))}return{off(e,t){return n("remove",e,t),this},on(e,t){return t&&"function"==typeof t&&n("add",e,t),this},trigger(n,a,i){var r;if(i=i||{cloneData:!0},n)if(e.settings.isJQueryPlugin)"remove"==n&&(n="removeTag"),jQuery(e.DOM.originalInput).triggerHandler(n,[a]);else{try{var o="object"==typeof a?a:{value:a};if((o=i.cloneData?d({},o):o).tagify=this,a.event&&(o.event=this.cloneEvent(a.event)),a instanceof Object)for(var s in a)a[s]instanceof HTMLElement&&(o[s]=a[s]);r=new CustomEvent(n,{detail:o})}catch(e){console.warn(e)}t.dispatchEvent(r)}}}}(this)),this.isFirefox="undefined"!=typeof InstallTrigger,this.isIE=window.document.documentMode,t=t||{},this.getPersistedData=(n=t.id,e=>{let t,a="/"+e;if(1==localStorage.getItem(b+n+"/v",1))try{t=JSON.parse(localStorage[b+n+a])}catch(e){}return t}),this.setPersistedData=(e=>e?(localStorage.setItem(b+e+"/v",1),(t,n)=>{let a="/"+n,i=JSON.stringify(t);t&&n&&(localStorage.setItem(b+e+a,i),dispatchEvent(new Event("storage")))}):()=>{})(t.id),this.clearPersistedData=(e=>t=>{const n=b+"/"+e+"/";if(t)localStorage.removeItem(n+t);else for(let e in localStorage)e.includes(n)&&localStorage.removeItem(e)})(t.id),this.applySettings(e,t),this.state={inputText:"",editing:!1,composing:!1,actions:{},mixMode:{},dropdown:{},flaggedTags:{}},this.value=[],this.listeners={},this.DOM={},this.build(e),v.call(this),this.getCSSVars(),this.loadOriginalValues(),this.events.customBinding.call(this),this.events.binding.call(this),e.autofocus&&this.DOM.input.focus(),e.__tagify=this}return O.prototype={_dropdown:y,helpers:{sameStr:a,removeCollectionProp:i,omit:r,isObject:p,parseHTML:s,escapeHTML:c,extend:d,concatWithoutDups:u,getUID:g,isNodeTag:f},customEventsList:["change","add","remove","invalid","input","click","keydown","focus","blur","edit:input","edit:beforeUpdate","edit:updated","edit:start","edit:keydown","dropdown:show","dropdown:hide","dropdown:select","dropdown:updated","dropdown:noMatch","dropdown:scroll"],dataProps:["__isValid","__removed","__originalData","__originalHTML","__tagId"],trim(e){return this.settings.trim&&e&&"string"==typeof e?e.trim():e},parseHTML:s,templates:E,parseTemplate(e,t){return e=this.settings.templates[e]||e,this.parseHTML(e.apply(this,t))},set whitelist(e){const t=e&&Array.isArray(e);this.settings.whitelist=t?e:[],this.setPersistedData(t?e:[],"whitelist")},get whitelist(){return this.settings.whitelist},generateClassSelectors(e){for(let t in e){let n=t;Object.defineProperty(e,n+"Selector",{get(){return"."+this[n].split(" ")[0]}})}},applySettings(e,n){w.templates=this.templates;var a=this.settings=d({},w,n);if(a.disabled=e.hasAttribute("disabled"),a.readonly=a.readonly||e.hasAttribute("readonly"),a.placeholder=c(e.getAttribute("placeholder")||a.placeholder||""),a.required=e.hasAttribute("required"),this.generateClassSelectors(a.classNames),void 0===a.dropdown.includeSelectedTags&&(a.dropdown.includeSelectedTags=a.duplicates),this.isIE&&(a.autoComplete=!1),["whitelist","blacklist"].forEach((t=>{var n=e.getAttribute("data-"+t);n&&(n=n.split(a.delimiters))instanceof Array&&(a[t]=n)})),"autoComplete"in n&&!p(n.autoComplete)&&(a.autoComplete=w.autoComplete,a.autoComplete.enabled=n.autoComplete),"mix"==a.mode&&(a.autoComplete.rightKey=!0,a.delimiters=n.delimiters||null,a.tagTextProp&&!a.dropdown.searchKeys.includes(a.tagTextProp)&&a.dropdown.searchKeys.push(a.tagTextProp)),e.pattern)try{a.pattern=new RegExp(e.pattern)}catch(e){}if(a.delimiters){a._delimiters=a.delimiters;try{a.delimiters=new RegExp(this.settings.delimiters,"g")}catch(e){}}a.disabled&&(a.userInput=!1),this.TEXTS=t(t({},T),a.texts||{}),"select"!=a.mode&&a.userInput||(a.dropdown.enabled=0),a.dropdown.appendTarget=n.dropdown&&n.dropdown.appendTarget?n.dropdown.appendTarget:document.body;let i=this.getPersistedData("whitelist");Array.isArray(i)&&(this.whitelist=Array.isArray(a.whitelist)?u(a.whitelist,i):i)},getAttributes(e){var t,n=this.getCustomAttributes(e),a="";for(t in n)a+=" "+t+(void 0!==e[t]?`="${n[t]}"`:"");return a},getCustomAttributes(e){if(!p(e))return"";var t,n={};for(t in e)"__"!=t.slice(0,2)&&"class"!=t&&e.hasOwnProperty(t)&&void 0!==e[t]&&(n[t]=c(e[t]));return n},setStateSelection(){var e=window.getSelection(),t={anchorOffset:e.anchorOffset,anchorNode:e.anchorNode,range:e.getRangeAt&&e.rangeCount&&e.getRangeAt(0)};return this.state.selection=t,t},getCaretGlobalPosition(){const e=document.getSelection();if(e.rangeCount){const t=e.getRangeAt(0),n=t.startContainer,a=t.startOffset;let i,r;if(a>0)return r=document.createRange(),r.setStart(n,a-1),r.setEnd(n,a),i=r.getBoundingClientRect(),{left:i.right,top:i.top,bottom:i.bottom};if(n.getBoundingClientRect)return n.getBoundingClientRect()}return{left:-9999,top:-9999}},getCSSVars(){var e,t=getComputedStyle(this.DOM.scope,null);this.CSSVars={tagHideTransition:(e=>{let t=e.value;return"s"==e.unit?1e3*t:t})(function(e){if(!e)return{};var t=(e=e.trim().split(" ")[0]).split(/\d+/g).filter((e=>e)).pop().trim();return{value:+e.split(t).filter((e=>e))[0].trim(),unit:t}}((e="tag-hide-transition",t.getPropertyValue("--"+e))))}},build(e){var t=this.DOM;this.settings.mixMode.integrated?(t.originalInput=null,t.scope=e,t.input=e):(t.originalInput=e,t.originalInput_tabIndex=e.tabIndex,t.scope=this.parseTemplate("wrapper",[e,this.settings]),t.input=t.scope.querySelector(this.settings.classNames.inputSelector),e.parentNode.insertBefore(t.scope,e),e.tabIndex=-1)},destroy(){this.events.unbindGlobal.call(this),this.DOM.scope.parentNode.removeChild(this.DOM.scope),this.DOM.originalInput.tabIndex=this.DOM.originalInput_tabIndex,delete this.DOM.originalInput.__tagify,this.dropdown.hide(!0),clearTimeout(this.dropdownHide__bindEventsTimeout),clearInterval(this.listeners.main.originalInputValueObserverInterval)},loadOriginalValues(e){var t,n=this.settings;if(this.state.blockChangeEvent=!0,void 0===e){const t=this.getPersistedData("value");e=t&&!this.DOM.originalInput.value?t:n.mixMode.integrated?this.DOM.input.textContent:this.DOM.originalInput.value}if(this.removeAllTags(),e)if("mix"==n.mode)this.parseMixTags(this.trim(e)),(t=this.DOM.input.lastChild)&&"BR"==t.tagName||this.DOM.input.insertAdjacentHTML("beforeend","<br>");else{try{JSON.parse(e)instanceof Array&&(e=JSON.parse(e))}catch(e){}this.addTags(e,!0).forEach((e=>e&&e.classList.add(n.classNames.tagNoAnimation)))}else this.postUpdate();this.state.lastOriginalValueReported=n.mixMode.integrated?"":this.DOM.originalInput.value,this.state.blockChangeEvent=!1},cloneEvent(e){var t={};for(var n in e)"path"!=n&&(t[n]=e[n]);return t},loading(e){return this.state.isLoading=e,this.DOM.scope.classList[e?"add":"remove"](this.settings.classNames.scopeLoading),this},tagLoading(e,t){return e&&e.classList[t?"add":"remove"](this.settings.classNames.tagLoading),this},toggleClass(e,t){"string"==typeof e&&this.DOM.scope.classList.toggle(e,t)},toggleScopeValidation(e){var t=!0===e||void 0===e;!this.settings.required&&e&&e===this.TEXTS.empty&&(t=!0),this.toggleClass(this.settings.classNames.tagInvalid,!t),this.DOM.scope.title=t?"":e},toggleFocusClass(e){this.toggleClass(this.settings.classNames.focus,!!e)},triggerChangeEvent:function(){if(!this.settings.mixMode.integrated){var e=this.DOM.originalInput,t=this.state.lastOriginalValueReported!==e.value,n=new CustomEvent("change",{bubbles:!0});t&&(this.state.lastOriginalValueReported=e.value,n.simulated=!0,e._valueTracker&&e._valueTracker.setValue(Math.random()),e.dispatchEvent(n),this.trigger("change",this.state.lastOriginalValueReported),e.value=this.state.lastOriginalValueReported)}},events:_,fixFirefoxLastTagNoCaret(){},placeCaretAfterNode(e){if(e&&e.parentNode){var t=e,n=window.getSelection(),a=n.getRangeAt(0);n.rangeCount&&(a.setStartAfter(t||e),a.collapse(!0),n.removeAllRanges(),n.addRange(a))}},insertAfterTag(e,t){if(t=t||this.settings.mixMode.insertAfterTag,e&&e.parentNode&&t)return t="string"==typeof t?document.createTextNode(t):t,e.parentNode.insertBefore(t,e.nextSibling),t},editTagChangeDetected(e){var t=e.__originalData;for(var n in t)if(!this.dataProps.includes(n)&&e[n]!=t[n])return!0;return!1},getTagTextNode(e){return e.querySelector(this.settings.classNames.tagTextSelector)},setTagTextNode(e,t){this.getTagTextNode(e).innerHTML=c(t)},editTag(e,t){e=e||this.getLastTag(),t=t||{},this.dropdown.hide();var n=this.settings,a=this.getTagTextNode(e),i=this.getNodeIndex(e),r=this.tagData(e),o=this.events.callbacks,s=this,l=!0;if(a){if(!(r instanceof Object&&"editable"in r)||r.editable)return r=this.tagData(e,{__originalData:d({},r),__originalHTML:e.cloneNode(!0)}),this.tagData(r.__originalHTML,r.__originalData),a.setAttribute("contenteditable",!0),e.classList.add(n.classNames.tagEditing),a.addEventListener("focus",o.onEditTagFocus.bind(this,e)),a.addEventListener("blur",(function(){setTimeout((()=>o.onEditTagBlur.call(s,s.getTagTextNode(e))))})),a.addEventListener("input",o.onEditTagInput.bind(this,a)),a.addEventListener("keydown",(t=>o.onEditTagkeydown.call(this,t,e))),a.addEventListener("compositionstart",o.onCompositionStart.bind(this)),a.addEventListener("compositionend",o.onCompositionEnd.bind(this)),t.skipValidation||(l=this.editTagToggleValidity(e)),a.originalIsValid=l,this.trigger("edit:start",{tag:e,index:i,data:r,isValid:l}),a.focus(),this.setRangeAtStartEnd(!1,a),this}else console.warn("Cannot find element in Tag template: .",n.classNames.tagTextSelector)},editTagToggleValidity(e,t){var n;if(t=t||this.tagData(e))return(n=!("__isValid"in t)||!0===t.__isValid)||this.removeTagsFromValue(e),this.update(),e.classList.toggle(this.settings.classNames.tagNotAllowed,!n),t.__isValid;console.warn("tag has no data: ",e,t)},onEditTagDone(e,t){t=t||{};var n={tag:e=e||this.state.editing.scope,index:this.getNodeIndex(e),previousData:this.tagData(e),data:t};this.trigger("edit:beforeUpdate",n,{cloneData:!1}),this.state.editing=!1,delete t.__originalData,delete t.__originalHTML,e&&t[this.settings.tagTextProp]?(e=this.replaceTag(e,t),this.editTagToggleValidity(e,t),this.settings.a11y.focusableTags?e.focus():this.placeCaretAfterNode(e)):e&&this.removeTags(e),this.trigger("edit:updated",n),this.dropdown.hide(),this.settings.keepInvalidTags&&this.reCheckInvalidTags()},replaceTag(e,t){t&&t.value||(t=e.__tagifyTagData),t.__isValid&&1!=t.__isValid&&d(t,this.getInvalidTagAttrs(t,t.__isValid));var n=this.createTagElem(t);return e.parentNode.replaceChild(n,e),this.updateValueByDOMTags(),n},updateValueByDOMTags(){this.value.length=0,[].forEach.call(this.getTagElms(),(e=>{e.classList.contains(this.settings.classNames.tagNotAllowed.split(" ")[0])||this.value.push(this.tagData(e))})),this.update()},setRangeAtStartEnd(e,t){e="number"==typeof e?e:!!e,t=(t=t||this.DOM.input).lastChild||t;var n=document.getSelection();try{n.rangeCount>=1&&["Start","End"].forEach((a=>n.getRangeAt(0)["set"+a](t,e||t.length)))}catch(e){}},injectAtCaret(e,t){return!(t=t||this.state.selection?.range)&&e?(this.appendMixTags(e),this):("string"==typeof e&&(e=document.createTextNode(e)),t.deleteContents(),t.insertNode(e),this.setRangeAtStartEnd(!1,e),this.updateValueByDOMTags(),this.update(),this)},input:{set(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];var n=this.settings.dropdown.closeOnSelect;this.state.inputText=e,t&&(this.DOM.input.innerHTML=c(""+e)),!e&&n&&this.dropdown.hide.bind(this),this.input.autocomplete.suggest.call(this),this.input.validate.call(this)},raw(){return this.DOM.input.textContent},validate(){var e=!this.state.inputText||!0===this.validateTag({value:this.state.inputText});return this.DOM.input.classList.toggle(this.settings.classNames.inputInvalid,!e),e},normalize(e){var t=e||this.DOM.input,n=[];t.childNodes.forEach((e=>3==e.nodeType&&n.push(e.nodeValue))),n=n.join("\n");try{n=n.replace(/(?:\r\n|\r|\n)/g,this.settings.delimiters.source.charAt(0))}catch(e){}return n=n.replace(/\s/g," "),this.trim(n)},autocomplete:{suggest(e){if(this.settings.autoComplete.enabled){"string"==typeof(e=e||{})&&(e={value:e});var t=e.value?""+e.value:"",n=t.substr(0,this.state.inputText.length).toLowerCase(),a=t.substring(this.state.inputText.length);t&&this.state.inputText&&n==this.state.inputText.toLowerCase()?(this.DOM.input.setAttribute("data-suggest",a),this.state.inputSuggestion=e):(this.DOM.input.removeAttribute("data-suggest"),delete this.state.inputSuggestion)}},set(e){var t=this.DOM.input.getAttribute("data-suggest"),n=e||(t?this.state.inputText+t:null);return!!n&&("mix"==this.settings.mode?this.replaceTextWithNode(document.createTextNode(this.state.tag.prefix+n)):(this.input.set.call(this,n),this.setRangeAtStartEnd()),this.input.autocomplete.suggest.call(this),this.dropdown.hide(),!0)}}},getTagIdx(e){return this.value.findIndex((t=>t.__tagId==(e||{}).__tagId))},getNodeIndex(e){var t=0;if(e)for(;e=e.previousElementSibling;)t++;return t},getTagElms(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a="."+[...this.settings.classNames.tag.split(" "),...t].join(".");return[].slice.call(this.DOM.scope.querySelectorAll(a))},getLastTag(){var e=this.DOM.scope.querySelectorAll(`${this.settings.classNames.tagSelector}:not(.${this.settings.classNames.tagHide}):not([readonly])`);return e[e.length-1]},tagData:(e,t,n)=>e?(t&&(e.__tagifyTagData=n?t:d({},e.__tagifyTagData||{},t)),e.__tagifyTagData):(console.warn("tag element doesn't exist",e,t),t),isTagDuplicate(e,t,n){var i=0;if("select"==this.settings.mode)return!1;for(let r of this.value)a(this.trim(""+e),r.value,t)&&n!=r.__tagId&&i++;return i},getTagIndexByValue(e){var t=[];return this.getTagElms().forEach(((n,i)=>{a(this.trim(n.textContent),e,this.settings.dropdown.caseSensitive)&&t.push(i)})),t},getTagElmByValue(e){var t=this.getTagIndexByValue(e)[0];return this.getTagElms()[t]},flashTag(e){e&&(e.classList.add(this.settings.classNames.tagFlash),setTimeout((()=>{e.classList.remove(this.settings.classNames.tagFlash)}),100))},isTagBlacklisted(e){return e=this.trim(e.toLowerCase()),this.settings.blacklist.filter((t=>(""+t).toLowerCase()==e)).length},isTagWhitelisted(e){return!!this.getWhitelistItem(e)},getWhitelistItem(e,t,n){t=t||"value";var i,r=this.settings;return(n=n||r.whitelist).some((n=>{var o="string"==typeof n?n:n[t]||n.value;if(a(o,e,r.dropdown.caseSensitive,r.trim))return i="string"==typeof n?{value:n}:n,!0})),i||"value"!=t||"value"==r.tagTextProp||(i=this.getWhitelistItem(e,r.tagTextProp,n)),i},validateTag(e){var t=this.settings,n="value"in e?"value":t.tagTextProp,a=this.trim(e[n]+"");return(e[n]+"").trim()?t.pattern&&t.pattern instanceof RegExp&&!t.pattern.test(a)?this.TEXTS.pattern:!t.duplicates&&this.isTagDuplicate(a,t.dropdown.caseSensitive,e.__tagId)?this.TEXTS.duplicate:this.isTagBlacklisted(a)||t.enforceWhitelist&&!this.isTagWhitelisted(a)?this.TEXTS.notAllowed:!t.validate||t.validate(e):this.TEXTS.empty},getInvalidTagAttrs(e,t){return{"aria-invalid":!0,class:`${e.class||""} ${this.settings.classNames.tagNotAllowed}`.trim(),title:t}},hasMaxTags(){return this.value.length>=this.settings.maxTags&&this.TEXTS.exceed},setReadonly(e,t){var n=this.settings;document.activeElement.blur(),n[t||"readonly"]=e,this.DOM.scope[(e?"set":"remove")+"Attribute"](t||"readonly",!0),this.setContentEditable(!e)},setContentEditable(e){this.settings.userInput&&(this.DOM.input.contentEditable=e,this.DOM.input.tabIndex=e?0:-1)},setDisabled(e){this.setReadonly(e,"disabled")},normalizeTags(e){var t=this.settings,n=t.whitelist,a=t.delimiters,i=t.mode,r=t.tagTextProp;t.enforceWhitelist;var o=[],s=!!n&&n[0]instanceof Object,l=Array.isArray(e),c=l&&e[0].value,p=e=>(e+"").split(a).filter((e=>e)).map((e=>({[r]:this.trim(e),value:this.trim(e)})));if("number"==typeof e&&(e=e.toString()),"string"==typeof e){if(!e.trim())return[];e=p(e)}else l&&(e=[].concat(...e.map((e=>e.value?e:p(e)))));return s&&!c&&(e.forEach((e=>{var t=o.map((e=>e.value)),n=this.dropdown.filterListItems.call(this,e[r],{exact:!0});this.settings.duplicates||(n=n.filter((e=>!t.includes(e.value))));var a=n.length>1?this.getWhitelistItem(e[r],r,n):n[0];a&&a instanceof Object?o.push(a):"mix"!=i&&(null==e.value&&(e.value=e[r]),o.push(e))})),o.length&&(e=o)),e},parseMixTags(e){var t=this.settings,n=t.mixTagsInterpolator,a=t.duplicates,i=t.transformTag,r=t.enforceWhitelist,o=t.maxTags,s=t.tagTextProp,l=[];return e=e.split(n[0]).map(((e,t)=>{var c,p,d,u=e.split(n[1]),m=u[0],h=l.length==o;try{if(m==+m)throw Error;p=JSON.parse(m)}catch(e){p=this.normalizeTags(m)[0]||{value:m}}if(i.call(this,p),h||!(u.length>1)||r&&!this.isTagWhitelisted(p.value)||!a&&this.isTagDuplicate(p.value)){if(e)return t?n[0]+e:e}else p[c=p[s]?s:"value"]=this.trim(p[c]),d=this.createTagElem(p),l.push(p),d.classList.add(this.settings.classNames.tagNoAnimation),u[0]=d.outerHTML,this.value.push(p);return u.join("")})).join(""),this.DOM.input.innerHTML=e,this.DOM.input.appendChild(document.createTextNode("")),this.DOM.input.normalize(),this.getTagElms().forEach(((e,t)=>this.tagData(e,l[t]))),this.update({withoutChangeEvent:!0}),e},replaceTextWithNode(e,t){if(this.state.tag||t){t=t||this.state.tag.prefix+this.state.tag.value;var n,a,i=this.state.selection||window.getSelection(),r=i.anchorNode,o=this.state.tag.delimiters?this.state.tag.delimiters.length:0;return r.splitText(i.anchorOffset-o),-1==(n=r.nodeValue.lastIndexOf(t))||(a=r.splitText(n),e&&r.parentNode.replaceChild(e,a)),!0}},selectTag(e,t){var n=this.settings;if(!n.enforceWhitelist||this.isTagWhitelisted(t.value)){this.input.set.call(this,t[n.tagTextProp]||t.value,!0),this.state.actions.selectOption&&setTimeout(this.setRangeAtStartEnd.bind(this));var a=this.getLastTag();return a?this.replaceTag(a,t):this.appendTag(e),this.value[0]=t,this.update(),this.trigger("add",{tag:e,data:t}),[e]}},addEmptyTag(e){var t=d({value:""},e||{}),n=this.createTagElem(t);this.tagData(n,t),this.appendTag(n),this.editTag(n,{skipValidation:!0})},addTags(e,t,n){var a=[],i=this.settings,r=[],o=document.createDocumentFragment();if(n=n||i.skipInvalid,!e||0==e.length)return a;switch(e=this.normalizeTags(e),i.mode){case"mix":return this.addMixTags(e);case"select":t=!1,this.removeAllTags()}return this.DOM.input.removeAttribute("style"),e.forEach((e=>{var t,s={},l=Object.assign({},e,{value:e.value+""});if(e=Object.assign({},l),i.transformTag.call(this,e),e.__isValid=this.hasMaxTags()||this.validateTag(e),!0!==e.__isValid){if(n)return;if(d(s,this.getInvalidTagAttrs(e,e.__isValid),{__preInvalidData:l}),e.__isValid==this.TEXTS.duplicate&&this.flashTag(this.getTagElmByValue(e.value)),!i.createInvalidTags)return void r.push(e.value)}if("readonly"in e&&(e.readonly?s["aria-readonly"]=!0:delete e.readonly),t=this.createTagElem(e,s),a.push(t),"select"==i.mode)return this.selectTag(t,e);o.appendChild(t),e.__isValid&&!0===e.__isValid?(this.value.push(e),this.trigger("add",{tag:t,index:this.value.length-1,data:e})):(this.trigger("invalid",{data:e,index:this.value.length,tag:t,message:e.__isValid}),i.keepInvalidTags||setTimeout((()=>this.removeTags(t,!0)),1e3)),this.dropdown.position()})),this.appendTag(o),this.update(),e.length&&t&&(this.input.set.call(this,i.createInvalidTags?"":r.join(i._delimiters)),this.setRangeAtStartEnd()),i.dropdown.enabled&&this.dropdown.refilter(),a},addMixTags(e){if((e=this.normalizeTags(e))[0].prefix||this.state.tag)return this.prefixedTextToTag(e[0]);"string"==typeof e&&(e=[{value:e}]),this.state.selection;var t=document.createDocumentFragment();return e.forEach((e=>{var n=this.createTagElem(e);t.appendChild(n),this.insertAfterTag(n)})),this.appendMixTags(t),t},appendMixTags(e){var t=!!this.state.selection;t?this.injectAtCaret(e):(this.DOM.input.focus(),(t=this.setStateSelection()).range.setStart(this.DOM.input,t.range.endOffset),t.range.setEnd(this.DOM.input,t.range.endOffset),this.DOM.input.appendChild(e),this.updateValueByDOMTags(),this.update())},prefixedTextToTag(e){var t,n=this.settings,a=this.state.tag.delimiters;if(n.transformTag.call(this,e),e.prefix=e.prefix||this.state.tag?this.state.tag.prefix:(n.pattern.source||n.pattern)[0],t=this.createTagElem(e),this.replaceTextWithNode(t)||this.DOM.input.appendChild(t),setTimeout((()=>t.classList.add(this.settings.classNames.tagNoAnimation)),300),this.value.push(e),this.update(),!a){var i=this.insertAfterTag(t)||t;this.placeCaretAfterNode(i)}return this.state.tag=null,this.trigger("add",d({},{tag:t},{data:e})),t},appendTag(e){var t=this.DOM,n=t.input;n===t.input?t.scope.insertBefore(e,n):t.scope.appendChild(e)},createTagElem(e,n){e.__tagId=g();var a,i=d({},e,t({value:c(e.value+"")},n));return function(e){for(var t,n=document.createNodeIterator(e,NodeFilter.SHOW_TEXT,null,!1);t=n.nextNode();)t.textContent.trim()||t.parentNode.removeChild(t)}(a=this.parseTemplate("tag",[i,this])),this.tagData(a,e),a},reCheckInvalidTags(){var e=this.settings;this.getTagElms(e.classNames.tagNotAllowed).forEach(((t,n)=>{var a=this.tagData(t),i=this.hasMaxTags(),r=this.validateTag(a),o=!0===r&&!i;if("select"==e.mode&&this.toggleScopeValidation(r),o)return a=a.__preInvalidData?a.__preInvalidData:{value:a.value},this.replaceTag(t,a);t.title=i||r}))},removeTags(e,t,n){var a,i=this.settings;if(e=e&&e instanceof HTMLElement?[e]:e instanceof Array?e:e?[e]:[this.getLastTag()],a=e.reduce(((e,t)=>{t&&"string"==typeof t&&(t=this.getTagElmByValue(t));var n=this.tagData(t);return t&&n&&!n.readonly&&e.push({node:t,idx:this.getTagIdx(n),data:this.tagData(t,{__removed:!0})}),e}),[]),n="number"==typeof n?n:this.CSSVars.tagHideTransition,"select"==i.mode&&(n=0,this.input.set.call(this)),1==a.length&&"select"!=i.mode&&a[0].node.classList.contains(i.classNames.tagNotAllowed)&&(t=!0),a.length)return i.hooks.beforeRemoveTag(a,{tagify:this}).then((()=>{function e(e){e.node.parentNode&&(e.node.parentNode.removeChild(e.node),t?i.keepInvalidTags&&this.trigger("remove",{tag:e.node,index:e.idx}):(this.trigger("remove",{tag:e.node,index:e.idx,data:e.data}),this.dropdown.refilter(),this.dropdown.position(),this.DOM.input.normalize(),i.keepInvalidTags&&this.reCheckInvalidTags()))}n&&n>10&&1==a.length?function(t){t.node.style.width=parseFloat(window.getComputedStyle(t.node).width)+"px",document.body.clientTop,t.node.classList.add(i.classNames.tagHide),setTimeout(e.bind(this),n,t)}.call(this,a[0]):a.forEach(e.bind(this)),t||(this.removeTagsFromValue(a.map((e=>e.node))),this.update(),"select"==i.mode&&this.setContentEditable(!0))})).catch((e=>{}))},removeTagsFromDOM(){[].slice.call(this.getTagElms()).forEach((e=>e.parentNode.removeChild(e)))},removeTagsFromValue(e){(e=Array.isArray(e)?e:[e]).forEach((e=>{var t=this.tagData(e),n=this.getTagIdx(t);n>-1&&this.value.splice(n,1)}))},removeAllTags(e){e=e||{},this.value=[],"mix"==this.settings.mode?this.DOM.input.innerHTML="":this.removeTagsFromDOM(),this.dropdown.refilter(),this.dropdown.position(),this.state.dropdown.visible&&setTimeout((()=>{this.DOM.input.focus()})),"select"==this.settings.mode&&(this.input.set.call(this),this.setContentEditable(!0)),this.update(e)},postUpdate(){var e=this.settings,t=e.classNames,n="mix"==e.mode?e.mixMode.integrated?this.DOM.input.textContent:this.DOM.originalInput.value.trim():this.value.length+this.input.raw.call(this).length;this.toggleClass(t.hasMaxTags,this.value.length>=e.maxTags),this.toggleClass(t.hasNoTags,!this.value.length),this.toggleClass(t.empty,!n),"select"==e.mode&&this.toggleScopeValidation(this.value?.[0]?.__isValid)},setOriginalInputValue(e){var t=this.DOM.originalInput;this.settings.mixMode.integrated||(t.value=e,t.tagifyValue=t.value,this.setPersistedData(e,"value"))},update(e){var t=this.getInputValue();this.setOriginalInputValue(t),this.postUpdate(),this.settings.onChangeAfterBlur&&(e||{}).withoutChangeEvent||this.state.blockChangeEvent||this.triggerChangeEvent()},getInputValue(){var e=this.getCleanValue();return"mix"==this.settings.mode?this.getMixedTagsAsString(e):e.length?this.settings.originalInputValueFormat?this.settings.originalInputValueFormat(e):JSON.stringify(e):""},getCleanValue(e){return i(e||this.value,this.dataProps)},getMixedTagsAsString(){var e="",t=this,n=this.settings,a=n.originalInputValueFormat||JSON.stringify,i=n.mixTagsInterpolator;return function n(o){o.childNodes.forEach((o=>{if(1==o.nodeType){const s=t.tagData(o);if("BR"==o.tagName&&(e+="\r\n"),s&&f.call(t,o)){if(s.__removed)return;e+=i[0]+a(r(s,t.dataProps))+i[1]}else o.getAttribute("style")||["B","I","U"].includes(o.tagName)?e+=o.textContent:"DIV"!=o.tagName&&"P"!=o.tagName||(e+="\r\n",n(o))}else e+=o.textContent}))}(this.DOM.input),e}},O.prototype.removeTag=O.prototype.removeTags,O}()},184:function(e,t){var n;!function(){"use strict";var a={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var r=typeof n;if("string"===r||"number"===r)e.push(n);else if(Array.isArray(n)){if(n.length){var o=i.apply(null,n);o&&e.push(o)}}else if("object"===r){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var s in n)a.call(n,s)&&n[s]&&e.push(s)}}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},705:function(e,t,n){var a=n(639).Symbol;e.exports=a},239:function(e,t,n){var a=n(705),i=n(607),r=n(333),o=a?a.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?i(e):r(e)}},561:function(e,t,n){var a=n(990),i=/^\s+/;e.exports=function(e){return e?e.slice(0,a(e)+1).replace(i,""):e}},957:function(e,t,n){var a="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=a},607:function(e,t,n){var a=n(705),i=Object.prototype,r=i.hasOwnProperty,o=i.toString,s=a?a.toStringTag:void 0;e.exports=function(e){var t=r.call(e,s),n=e[s];try{e[s]=void 0;var a=!0}catch(e){}var i=o.call(e);return a&&(t?e[s]=n:delete e[s]),i}},333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},639:function(e,t,n){var a=n(957),i="object"==typeof self&&self&&self.Object===Object&&self,r=a||i||Function("return this")();e.exports=r},990:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},279:function(e,t,n){var a=n(218),i=n(771),r=n(841),o=Math.max,s=Math.min;e.exports=function(e,t,n){var l,c,p,d,u,m,h=0,g=!1,f=!1,w=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function v(t){var n=l,a=c;return l=c=void 0,h=t,d=e.apply(a,n)}function y(e){return h=e,u=setTimeout(k,t),g?v(e):d}function b(e){var n=e-m;return void 0===m||n>=t||n<0||f&&e-h>=p}function k(){var e=i();if(b(e))return T(e);u=setTimeout(k,function(e){var n=t-(e-m);return f?s(n,p-(e-h)):n}(e))}function T(e){return u=void 0,w&&l?v(e):(l=c=void 0,d)}function E(){var e=i(),n=b(e);if(l=arguments,c=this,m=e,n){if(void 0===u)return y(m);if(f)return clearTimeout(u),u=setTimeout(k,t),v(m)}return void 0===u&&(u=setTimeout(k,t)),d}return t=r(t)||0,a(n)&&(g=!!n.leading,p=(f="maxWait"in n)?o(r(n.maxWait)||0,t):p,w="trailing"in n?!!n.trailing:w),E.cancel=function(){void 0!==u&&clearTimeout(u),h=0,l=m=c=u=void 0},E.flush=function(){return void 0===u?d:T(i())},E}},218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},5:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},448:function(e,t,n){var a=n(239),i=n(5);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==a(e)}},771:function(e,t,n){var a=n(639);e.exports=function(){return a.Date.now()}},841:function(e,t,n){var a=n(561),i=n(218),r=n(448),o=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(r(e))return NaN;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=a(e);var n=s.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):o.test(e)?NaN:+e}}},t={};function n(a){var i=t[a];if(void 0!==i)return i.exports;var r=t[a]={exports:{}};return e[a].call(r.exports,r,r.exports,n),r.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";var e=wp.i18n,t=wp.data,a=wp.hooks,i=wp.element,r=n(184),o=n.n(r),s=lodash,l=wp.compose,c=wp.components;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},p(e)}var d=["tabId","onClick","children","selected"];function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function h(e,t){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},h(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,a=v(e);if(t){var i=v(this).constructor;n=Reflect.construct(a,arguments,i)}else n=a.apply(this,arguments);return f(this,n)}}function f(e,t){if(t&&("object"===p(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return w(e)}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b(){return b=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},b.apply(this,arguments)}function k(e,t){if(null==e)return{};var n,a,i=function(e,t){if(null==e)return{};var n,a,i={},r=Object.keys(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var T=function(e){var t=e.tabId,n=e.onClick,a=e.children,i=e.selected,r=k(e,d);return wp.element.createElement(c.Button,b({role:"tab",tabIndex:i?null:-1,"aria-selected":i,id:t,onClick:n},r),a)},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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&h(e,t)}(r,e);var t,n,a,i=g(r);function r(){var e;u(this,r),y(w(e=i.apply(this,arguments)),"handleClick",(function(t){var n=e.props.onSelect,a=void 0===n?s.noop:n;e.setState({selected:t}),a(t)})),y(w(e),"onNavigate",(function(e,t){t.click()}));var t=e.props,n=t.tabs,a=t.initialTabName;return e.state={selected:a||(n.length>0?n[0].name:null)},e}return t=r,(n=[{key:"render",value:function(){var e=this,t=this.state.selected,n=this.props,a=n.activeClass,i=void 0===a?"is-active":a,r=n.className,l=n.instanceId,p=n.orientation,d=void 0===p?"horizontal":p,u=n.tabs,m=(0,s.find)(u,{name:t}),h=l+"-"+m.name,g=u.slice(4);return wp.element.createElement("div",{className:r},wp.element.createElement(c.NavigableMenu,{role:"tablist",orientation:d,onNavigate:this.onNavigate,className:"components-tab-panel__tabs "+t},u.slice(0,4).map((function(n){return wp.element.createElement(T,{className:o()("components-tab-panel__tabs-item",n.className,y({},i,n.name===t)),tabId:l+"-"+n.name,"aria-controls":l+"-"+n.name+"-view",selected:n.name===t,key:n.name,onClick:(0,s.partial)(e.handleClick,n.name)},n.title)})),g.map((function(n){return wp.element.createElement(T,{className:o()("components-tab-panel__tabs-item",n.className,y({},i,n.name===t)),tabId:l+"-"+n.name,"aria-controls":l+"-"+n.name+"-view",selected:n.name===t,key:n.name,onClick:(0,s.partial)(e.handleClick,n.name)},n.title)}))),m&&wp.element.createElement("div",{"aria-labelledby":h,role:"tabpanel",id:h+"-view",className:"components-tab-panel__tab-content"},this.props.children(m)))}}])&&m(t.prototype,n),a&&m(t,a),Object.defineProperty(t,"prototype",{writable:!1}),r}(i.Component),_=(0,l.withInstanceId)(E),O=document.createElement("div");function x(e){return e&&"string"==typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,"").replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,""),O.innerHTML=e,e=O.textContent,O.textContent=""),e}function C(e,t,n){var a=0;return!1!==(0,s.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 N(e,t){return e<=t.min||e>t.max}function S(e,t){return e<=t.minWidth||e>t.pixelWidth}var I=function(e){var t=function(e,t){var n=x(e).length,a=0,i=!1;if(!1!==(0,s.get)(t,"pixelWidth",!1)){i=!0;var r=document.createTextNode(e),o=document.createElement("span");o.appendChild(r),o.id="rank-math-width-tester",o.className=t.widthCheckerClass;var l=document.body.appendChild(o);a=document.getElementById("rank-math-width-tester").offsetWidth,l.outerHTML=""}return{left:C(n,a,t),isInvalid:N(n,t),isInvalidWidth:!!i&&S(a,t),count:n+" / "+t.max,pixelWidth:i?a+"px / "+t.pixelWidth+"px":""}}(e.source,e),n=t.pixelWidth?" (".concat(t.pixelWidth,")"):"";return wp.element.createElement("span",{className:o()("length-indicator-wrapper",{invalid:t.isInvalid||t.isInvalidWidth})},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}})))},D=wp.htmlEntities,M=React;function A(e){return e.startsWith("{{/")?{type:"componentClose",value:e.replace(/\W/g,"")}:e.endsWith("/}}")?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.startsWith("{{")?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}function P(e,t){let n,a,i=[];for(let r=0;r<e.length;r++){const o=e[r];if("string"!==o.type){if(void 0===t[o.value])throw new Error(`Invalid interpolation, missing component node: \`${o.value}\``);if("object"!=typeof t[o.value])throw new Error(`Invalid interpolation, component node must be a ReactElement or null: \`${o.value}\``);if("componentClose"===o.type)throw new Error(`Missing opening component token: \`${o.value}\``);if("componentOpen"===o.type){n=t[o.value],a=r;break}i.push(t[o.value])}else i.push(o.value)}if(n){const r=function(e,t){const n=t[e];let a=0;for(let i=e+1;i<t.length;i++){const e=t[i];if(e.value===n.value){if("componentOpen"===e.type){a++;continue}if("componentClose"===e.type){if(0===a)return i;a--}}}throw new Error("Missing closing component token `"+n.value+"`")}(a,e),o=P(e.slice(a+1,r),t),s=(0,M.cloneElement)(n,{},o);if(i.push(s),r<e.length-1){const n=P(e.slice(r+1),t);i=i.concat(n)}}return i=i.filter(Boolean),0===i.length?null:1===i.length?i[0]:(0,M.createElement)(M.Fragment,null,...i)}function R(e){const{mixedString:t,components:n,throwErrors:a}=e;if(!n)return t;if("object"!=typeof n){if(a)throw new Error(`Interpolation Error: unable to process \`${t}\` because components is not an object`);return t}const i=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(A)}(t);try{return P(i,n)}catch(e){if(a)throw new Error(`Interpolation Error: unable to process \`${t}\` because of error \`${e.message}\``);return t}}var j=function(e){var t=e.tags,n=e.components,a=e.children;return n=n||{},!1===(0,s.isUndefined)(t)&&(t=t.split(",")).forEach((function(e){var t=e;n[e]=wp.element.createElement(t,null)})),R({mixedString:a,components:n})};function L(e){return L="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},L(e)}function F(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function H(e,t){return H=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},H(e,t)}function B(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,a=z(e);if(t){var i=z(this).constructor;n=Reflect.construct(a,arguments,i)}else n=a.apply(this,arguments);return U(this,n)}}function U(e,t){if(t&&("object"===L(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return V(e)}function V(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function z(e){return z=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},z(e)}var W=function(t){!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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&H(e,t)}(l,t);var n,a,r,o=B(l);function l(e){var t,n,a,i;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),t=o.call(this,e),n=V(t),i={},(a="state")in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,t.state.variables=t.getFiltered(),t.state.filtered=t.state.variables,t.state.display="none",t.state.isOpen=!1,t.handleOutsideClick=t.handleOutsideClick.bind(V(t)),t}return n=l,(a=[{key:"getFiltered",value:function(){var e=this.props.exclude,t=Object.values(rankMath.variables);return(0,s.isUndefined)(e)?t:t.filter((function(t){return!e.includes(t.variable)}))}},{key:"render",value:function(){var t=this;return wp.element.createElement(i.Fragment,null,wp.element.createElement("div",{className:"rank-math-variables-dropdown",style:{display:this.state.display},ref:function(e){t.node=e}},wp.element.createElement(c.TextControl,{autoComplete:"off",placeholder:(0,D.decodeEntities)((0,e.__)("Search &hellip;","rank-math")),onChange:function(e){t.handleSearch(e)}}),wp.element.createElement("ul",null,this.state.filtered.map((function(e,n){return wp.element.createElement("li",{key:n,"data-var":e.variable,role:"presentation",onClick:function(){t.props.onClick(e)}},wp.element.createElement("strong",null,e.name),wp.element.createElement("span",null,wp.element.createElement(j,{tags:"strong"},e.description.replace("<strong>","{{strong}}").replace("</strong>","{{/strong}}"))))}),this))),wp.element.createElement(c.Button,{icon:"arrow-down-alt2",onClick:function(){t.toggle()}}))}},{key:"toggle",value:function(){this.state.isOpen?document.removeEventListener("click",this.handleOutsideClick,!0):document.addEventListener("click",this.handleOutsideClick,!0),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)}))})}}])&&F(n.prototype,a),r&&F(n,r),Object.defineProperty(n,"prototype",{writable:!1}),l}(i.Component),G=(0,l.compose)((0,t.withSelect)((function(e){var t=e("rank-math");return{title:t.getTitle(),serpTitle:t.getSerpTitle()}})),(0,t.withDispatch)((function(e){return{updateTitle:function(t){e("rank-math").updateSerpTitle(t),e("rank-math").updateTitle(t)}}})))((function(t){var n=t.title,a=t.serpTitle,i=t.updateTitle;return wp.element.createElement("div",{className:"field-group"},wp.element.createElement("label",{htmlFor:"rank-math-editor-title"},(0,e.__)("Title","rank-math")),wp.element.createElement(I,{source:a,min:15,max:60,pixelWidth:580,widthCheckerClass:"title"}),wp.element.createElement("div",{className:"variable-group"},wp.element.createElement(c.TextControl,{id:"rank-math-editor-title",value:n,placeholder:rankMath.assessor.serpData.titleTemplate,help:(0,e.__)("This is what will appear in the first line when this post shows up in the search results.","rank-math"),onChange:i}),wp.element.createElement(W,{exclude:["seo_title","seo_description"],onClick:function(e){return i(n+" %"+e.variable+"%")}})))})),K=rankMathAnalyzer,$=wp.url;var q=(0,l.compose)((0,t.withSelect)((function(e){var t=rankMathEditor.assessor.dataCollector,n=e("rank-math").getSerpSlug();return{permalink:n||t.getSlug(),serpPermalink:t.getPermalink()}})),(0,t.withDispatch)((function(){return{updatePermalink:function(e){rankMathEditor.updatePermalink(K.Helpers.sanitizeText(e),!0)},updatePermalinkSanitize:function(e){rankMathEditor.updatePermalinkSanitize(function(e){return e=e.replace(/,/g,""),e=K.Helpers.removeDiacritics(e),K.Helpers.sanitizeText(e)}(e))}}})))((function(t){var n=t.permalink,a=t.serpPermalink,i=t.updatePermalink,r=t.updatePermalinkSanitize;return wp.element.createElement("div",{className:"field-group"},wp.element.createElement("label",{htmlFor:"rank-math-editor-permalink"},(0,e.__)("Permalink","rank-math")),wp.element.createElement(I,{source:(0,$.safeDecodeURIComponent)(a),min:5,max:75}),wp.element.createElement(c.TextControl,{id:"rank-math-editor-permalink",value:rankMath.is_front_page?"/":(0,$.safeDecodeURIComponent)(n),onChange:i,help:rankMath.is_front_page?(0,e.__)("Editing Homepage permalink is not possible.","rank-math"):(0,e.__)("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){r(e.target.value)}}))})),Y=(0,l.compose)((0,t.withSelect)((function(e){var t=e("rank-math");return{description:t.getDescription(),serpDescription:t.getSerpDescription()}})),(0,t.withDispatch)((function(e){return{updateDescription:function(t){e("rank-math").updateSerpDescription(t),e("rank-math").updateDescription(t)}}})))((function(t){var n=t.description,a=t.serpDescription,i=t.updateDescription;return wp.element.createElement("div",{className:"field-group"},wp.element.createElement("label",{htmlFor:"rank-math-editor-description"},(0,e.__)("Description","rank-math")),wp.element.createElement(I,{source:a,min:80,max:160,pixelWidth:920,widthCheckerClass:"description"}),wp.element.createElement("div",{className:"variable-group rank-math-description-variables"},wp.element.createElement(c.TextareaControl,{id:"rank-math-editor-description",value:x(n),placeholder:a||(0,s.unescape)(rankMath.assessor.serpData.descriptionTemplate),help:(0,e.__)("This is what will appear as the description when this post shows up in the search results.","rank-math"),onChange:i}),wp.element.createElement(W,{exclude:["seo_title","seo_description"],onClick:function(e){return i(n+" %"+e.variable+"%")}})))})),X=(0,l.compose)((0,t.withSelect)((function(e){return{type:e("rank-math").getSnippetPreviewType()}})),(0,t.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,a=o()("button button-secondary button-small",{active:"desktop"===t}),i=o()("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:a},wp.element.createElement("i",{className:"rm-icon rm-icon-desktop"})),wp.element.createElement("div",{onClick:function(){return n("mobile")},className:i},wp.element.createElement("i",{className:"rm-icon rm-icon-mobile"})))}));function J(e){return 100<e?"bad-fk dark":80<e?"good-fk":50<e?"ok-fk":"bad-fk"}var Z=(0,t.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 "+J(t)},wp.element.createElement("div",{className:"score-text"},t," / 100"))}));function Q(e,t,n,a){return(0,s.isUndefined)(t)?t:(t=(0,s.truncate)(t,{length:n,separator:a||" "}),""===e?t:t.replace(new RegExp(function(e){return e.replace(/[\\^$*+?.()|[\]{}]/g,"\\$&")}(e),"gi"),(function(e){return'<mark className="highlight">'+e+"</mark>"})))}var ee=function(e,t){for(var n=[],a=1;a<=e;a++)n.push(wp.element.createElement(c.Dashicon,{key:Math.random(),size:"13",icon:"star-"+t}));return n},te=(0,t.withSelect)((function(e){var t=e("rank-math").getSchemas();return{schema:(0,s.find)(t,(function(e){return!(0,s.isEmpty)(e.metadata.isPrimary)}))}}))((function(t){var n=t.schema;if((0,s.isEmpty)(n))return null;var a=(0,s.get)(n,"review.reviewRating",{}),i=a.ratingValue;if((0,s.isEmpty)(i))return null;(0,s.get)(a,"worstRating",1);var r=(0,s.get)(a,"bestRating",5);return wp.element.createElement("div",{className:"rank-math-rating-preview"},wp.element.createElement("div",{className:"serp-ratings"},ee(r,"filled"),function(e,t,n){return e*=100/n,wp.element.createElement("div",{className:"serp-result",style:{width:e+"%"}},ee(n,"filled"))}(i,0,r)),wp.element.createElement("span",{className:"serp-rating-label"},(0,e.__)("Rating: ","rank-math")),wp.element.createElement("span",{className:"serp-rating-value"},i))}));function ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ae=(0,t.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(t){var n,a=t.title,i=t.permalink,r=t.description,s=t.previewType,l=void 0===s?"desktop":s,c=t.isNoIndex,p=t.keyword,d=t.onClick,u=t.showScore,m=void 0===u||u,h=t.showDevices,g=void 0!==h&&h,f=o()("serp-preview",(ne(n={"expanded-preview":""!==l},"".concat(l,"-preview"),""!==l&&g),ne(n,"noindex-preview",c),n)),w=o()("serp-title",{capitalize:rankMath.capitalizeTitle}),v=rankMathEditor.assessor.getResearch("slugify")(p);return wp.element.createElement("div",{className:f},wp.element.createElement("div",{className:"serp-preview-title","data-title":(0,e.__)("Preview","rank-math"),"data-desktop":(0,e.__)("Desktop Preview","rank-math"),"data-mobile":(0,e.__)("Mobile Preview","rank-math")},m&&wp.element.createElement(Z,null)," ",g&&wp.element.createElement(X,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:p||(0,e.__)("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"}),(0,e.__)("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"}))," ",(0,e.__)("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"}))," ",(0,e.__)("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"}))," ",(0,e.__)("News","rank-math")),wp.element.createElement("li",null,wp.element.createElement("svg",{focusable:"false",viewBox:"0 0 16 16"},wp.element.createElement("path",{d:"M7.503 0c3.09 0 5.502 2.487 5.502 5.427 0 2.337-1.13 3.694-2.26 5.05-.454.528-.906 1.13-1.358 1.734-.452.603-.754 1.508-.98 1.96-.226.452-.377.829-.904.829-.528 0-.678-.377-.905-.83-.226-.451-.527-1.356-.98-1.959-.452-.603-.904-1.206-1.356-1.734C3.132 9.121 2 7.764 2 5.427 2 2.487 4.412 0 7.503 0zm0 1.364c-2.283 0-4.14 1.822-4.14 4.063 0 1.843.86 2.873 1.946 4.177.468.547.942 1.178 1.4 1.79.34.452.596.99.794 1.444.198-.455.453-.992.793-1.445.459-.61.931-1.242 1.413-1.803 1.074-1.29 1.933-2.32 1.933-4.163 0-2.24-1.858-4.063-4.139-4.063zm0 2.734a1.33 1.33 0 11-.001 2.658 1.33 1.33 0 010-2.658"}))," ",(0,e.__)("Maps","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"}))," ",(0,e.__)("More","rank-math"))),wp.element.createElement("ul",{className:"menus-right"},wp.element.createElement("li",null,(0,e.__)("Settings","rank-math")),wp.element.createElement("li",null,(0,e.__)("Tools","rank-math")))),wp.element.createElement("div",{className:"serp-preview-result-stats"},(0,e.__)("About 43,700,000 results (0.32 seconds) ","rank-math"))),wp.element.createElement("div",{className:"serp-preview-body",role:"button",tabIndex:0,onClick:function(){d&&d()}},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:Q(v,K.Helpers.sanitizeText((0,$.safeDecodeURIComponent)(i)),75,/-? +/)}})),wp.element.createElement("div",{className:"group"},wp.element.createElement("h5",{className:w,dangerouslySetInnerHTML:{__html:Q(p,K.Helpers.sanitizeText(a),60)}})),wp.element.createElement(te,null),wp.element.createElement("div",{className:"group"},wp.element.createElement("div",{className:"serp-description",dangerouslySetInnerHTML:{__html:Q(p,K.Helpers.sanitizeText(r),160)}}))),wp.element.createElement("div",{className:"serp-preview-noindex"},wp.element.createElement("h3",null,(0,e.__)("Noindex robots meta is enabled","rank-math")),wp.element.createElement("p",null,(0,e.__)("This page will not appear in search results. You can disable noindex in the Advanced tab.","rank-math")))))})),ie=(0,t.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(ae,{showScore:!1,showDevices:!0}),wp.element.createElement(G,null),wp.element.createElement(q,null),wp.element.createElement(Y,null))})),re=jQuery,oe=n.n(re);function se(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}var le=new(function(){function e(){var t,n,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),a=null,(n="map")in(t=this)?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a}var t,n,a;return t=e,(n=[{key:"swap",value:function(e,t){var n=this;if(!(e=e||""))return"";var a=new RegExp(/%(([a-z0-9_-]+)\(([^)]*)\)|[^\s]+)%/,"giu");return e.replace(" %page%","").replace("%sep% %sep%","%sep%").replace(a,(function(e){return 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():oe()("#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={},oe().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)}}])&&se(t.prototype,n),a&&se(t,a),Object.defineProperty(t,"prototype",{writable:!1}),e}());function ce(e){return ce="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},ce(e)}var pe=function(e){var t=o()("rank-math-social-preview","rank-math-social-preview-"+e.network,e.cardType),n=o()("rank-math-social-preview-title",{capitalize:rankMath.capitalizeTitle});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&&"object"===ce(rankMath.overlayImages[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:n},e.title?le.swap(e.title):e.serpTitle),wp.element.createElement("p",{className:"rank-math-social-preview-description"},e.description?le.swap(e.description):e.serpDescription),"twitter"===e.network&&wp.element.createElement(i.Fragment,null,wp.element.createElement("h4",{className:"rank-math-social-preview-publisher"},wp.element.createElement(c.Dashicon,{icon:"admin-links"}),e.siteurl))))))},de=wp.mediaUtils,ue=function(t){return wp.element.createElement("div",{className:"components-base-control field-group"},wp.element.createElement(de.MediaUpload,{allowedTypes:["image"],multiple:!1,value:t.imageID,render:function(n){var a=n.open;return wp.element.createElement(i.Fragment,null,wp.element.createElement(c.Button,{onClick:a,className:"button",isPrimary:!0},t.imageID>0?(0,e.__)("Replace Image","rank-math"):(0,e.__)("Add Image","rank-math")),t.imageID>0&&wp.element.createElement(c.Button,{className:"button",isDestructive:!0,isLink:!0,onClick:t.removeImage},(0,e.__)("Remove Image","rank-math")))},onSelect:t.updateImage}),wp.element.createElement("p",{className:"components-base-control__help"},(0,e.__)("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,(0,e.__)("Image is smaller than the minimum size, please select a different image.","rank-math"))))};function me(){var e=rankMath.overlayImages,t=[];return Object.keys(e).forEach((function(n){t.push({label:e[n].name,value:n})})),t}function he(){return he=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},he.apply(this,arguments)}var ge=(0,l.compose)((0,t.withSelect)((function(e){var t=e("rank-math"),n=function(){if(t.getFacebookImage())return t.getFacebookImage();var e=t.getFeaturedImage();return(0,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()}})),(0,t.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(t){return wp.element.createElement(i.Fragment,null,wp.element.createElement(pe,he({},t,{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,(0,e.__)("2 hrs","rank-math")),wp.element.createElement("span",null,wp.element.createElement(c.Dashicon,{icon:"admin-site",size:"12"})))),wp.element.createElement("div",{className:"notice notice-alt notice-info components-base-control"},wp.element.createElement("p",null,(0,e.__)("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"},(0,e.__)("Read more","rank-math")))),wp.element.createElement(ue,t),wp.element.createElement("div",{className:"field-group"},wp.element.createElement("label",{htmlFor:"rank-math-facebook-title"},(0,e.__)("Title","rank-math")),wp.element.createElement("div",{className:"variable-group"},wp.element.createElement(c.TextControl,{id:"rank-math-facebook-title",value:t.title,placeholder:t.serpTitle,onChange:t.updateTitle}),wp.element.createElement(W,{onClick:function(e){return t.updateTitle(t.title+" %"+e.variable+"%")}}))),wp.element.createElement("div",{className:"field-group"},wp.element.createElement("label",{htmlFor:"rank-math-facebook-description"},(0,e.__)("Description","rank-math")),wp.element.createElement("div",{className:"variable-group"},wp.element.createElement(c.TextareaControl,{id:"rank-math-facebook-description",value:t.description,placeholder:t.serpDescription,onChange:t.updateDescription}),wp.element.createElement(W,{onClick:function(e){return t.updateDescription(t.description+" %"+e.variable+"%")}}))),wp.element.createElement("div",{className:"field-group"},wp.element.createElement(c.ToggleControl,{label:(0,e.__)("Add icon overlay to thumbnail","rank-math"),checked:t.hasOverlay,onChange:t.toggleOverlay}),wp.element.createElement("div",{className:t.hasOverlay?"components-base-control":"hidden"},wp.element.createElement(c.SelectControl,{value:t.imageOverlay,label:(0,e.__)("Icon overlay","rank-math"),options:me(),onChange:t.updateImageOverlay}),!rankMath.isPro&&wp.element.createElement("div",{className:"notice notice-alt notice-warning"},wp.element.createElement("p",null,wp.element.createElement(j,{components:{link:wp.element.createElement("a",{href:"https://rankmath.com/pricing/?utm_source=Plugin&utm_medium=Gutenberg%20Social%20Tab&utm_campaign=WP",target:"_blank",rel:"noopener noreferrer"})}},(0,e.__)("You can add custom thumbnail overlays with {{link}}Rank Math Pro{{/link}}.","rank-math")))))))})),fe=(0,l.compose)((0,t.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()}})),(0,t.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(t){return wp.element.createElement(i.Fragment,null,wp.element.createElement(c.TextControl,{value:t.description,label:(0,e.__)("App Description","rank-math"),help:(0,e.__)("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:t.updateAppDescription}),function(t){return wp.element.createElement(i.Fragment,null,wp.element.createElement(c.TextControl,{value:t.iphoneName,label:(0,e.__)("iPhone App Name","rank-math"),help:(0,e.__)("The name of your app to show.","rank-math"),onChange:t.updateAppIphoneName}),wp.element.createElement(c.TextControl,{value:t.iphoneID,label:(0,e.__)("iPhone App ID","rank-math"),help:(0,e.__)("The numeric representation of your app ID in the App Store.","rank-math"),onChange:t.updateAppIphoneID}),wp.element.createElement(c.TextControl,{value:t.iphoneUrl,label:(0,e.__)("iPhone App URL","rank-math"),help:(0,e.__)("Your app's custom URL scheme (must include ://).","rank-math"),onChange:t.updateAppIphoneUrl}))}(t),function(t){return wp.element.createElement(i.Fragment,null,wp.element.createElement(c.TextControl,{value:t.ipadName,label:(0,e.__)("iPad App Name","rank-math"),help:(0,e.__)("The name of your app to show.","rank-math"),onChange:t.updateAppIpadName}),wp.element.createElement(c.TextControl,{value:t.ipadID,label:(0,e.__)("iPad App ID","rank-math"),help:(0,e.__)("The numeric representation of your app ID in the App Store.","rank-math"),onChange:t.updateAppIpadID}),wp.element.createElement(c.TextControl,{value:t.ipadUrl,label:(0,e.__)("iPad App URL","rank-math"),help:(0,e.__)("Your app's custom URL scheme (must include ://).","rank-math"),onChange:t.updateAppIpadUrl}))}(t),function(t){return wp.element.createElement(i.Fragment,null,wp.element.createElement(c.TextControl,{value:t.googleplayName,label:(0,e.__)("Google Play App Name","rank-math"),help:(0,e.__)("The name of your app to show.","rank-math"),onChange:t.updateAppGoogleplayName}),wp.element.createElement(c.TextControl,{value:t.googleplayID,label:(0,e.__)("Google Play App ID","rank-math"),help:(0,e.__)("Your app ID in the Google Play (.i.e. com.android.app)","rank-math"),onChange:t.updateAppGoogleplayID}),wp.element.createElement(c.TextControl,{value:t.googleplayUrl,label:(0,e.__)("Google Play App URL","rank-math"),help:(0,e.__)("Your app's custom URL scheme (must include ://).","rank-math"),onChange:t.updateAppGoogleplayUrl}))}(t),wp.element.createElement(c.TextControl,{value:t.country,label:(0,e.__)("App Country","rank-math"),help:(0,e.__)("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:t.updateAppCountry}))})),we=(0,l.compose)((0,t.withSelect)((function(e){var t=e("rank-math");return{url:t.getTwitterPlayerUrl(),size:t.getTwitterPlayerSize(),stream:t.getTwitterPlayerStream(),ctype:t.getTwitterPlayerStreamCtype()}})),(0,t.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(t){return wp.element.createElement(i.Fragment,null,wp.element.createElement(c.TextControl,{value:t.url,label:(0,e.__)("Player URL","rank-math"),help:(0,e.__)("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:t.updatePlayerUrl}),wp.element.createElement(c.TextControl,{value:t.size,label:(0,e.__)("Player Size","rank-math"),help:(0,e.__)("iFrame width and height, specified in pixels in the following format: 600x400.","rank-math"),onChange:t.updatePlayerSize}),wp.element.createElement(c.TextControl,{value:t.stream,label:(0,e.__)("Stream URL","rank-math"),help:(0,e.__)("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:t.updatePlayerStreamUrl}),wp.element.createElement(c.TextControl,{value:t.ctype,label:(0,e.__)("Stream Content Type","rank-math"),help:(0,e.__)("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:t.updatePlayerStreamCtype}))}));function ve(){return ve=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},ve.apply(this,arguments)}var ye=(0,l.compose)((0,t.withSelect)((function(e){var t=e("rank-math"),n=t.getTwitterUseFacebook(),a=function(){if(n&&t.getFacebookImage())return t.getFacebookImage();if(t.getTwitterImage())return t.getTwitterImage();var e=t.getFeaturedImage();return(0,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:a,imageID:n?t.getFacebookImageID():t.getTwitterImageID(),hasOverlay:n?t.getFacebookHasOverlay():t.getTwitterHasOverlay(),imageOverlay:n?t.getFacebookImageOverlay():t.getTwitterImageOverlay()}})),(0,t.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(t){return wp.element.createElement(i.Fragment,null,wp.element.createElement(pe,ve({},t,{network:"twitter",siteurl:rankMath.parentDomain,classes:t.cardType,description:(0,s.truncate)(t.description?t.description:t.serpDescription,{length:240,separator:" "})}),wp.element.createElement("div",{className:"social-name"},rankMath.assessor.serpData.authorName,wp.element.createElement("span",{className:"social-username"},"@",t.author),wp.element.createElement("span",{className:"social-time"},(0,e.__)("2h","rank-math"))),wp.element.createElement("div",{className:"social-text"},(0,e.__)("The card for your website will look little something like this!","rank-math"))),wp.element.createElement("div",{className:"field-group"},wp.element.createElement(c.ToggleControl,{label:(0,e.__)("Use Data from Facebook Tab","rank-math"),checked:t.useFacebook,onChange:t.toggleUseFacebook})),wp.element.createElement("div",{className:"field-group"},wp.element.createElement(c.SelectControl,{value:t.cardType,label:(0,e.__)("Card Type","rank-math"),options:[{value:"summary_large_image",label:(0,e.__)("Summary Card with Large Image","rank-math")},{value:"summary_card",label:(0,e.__)("Summary Card","rank-math")},{value:"app",label:(0,e.__)("App Card","rank-math")},{value:"player",label:(0,e.__)("Player Card","rank-math")}],onChange:t.updateCardType})),"player"===t.cardType&&wp.element.createElement("div",{className:"notice notice-alt notice-info"},wp.element.createElement("p",null,(0,e.__)("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"===t.cardType&&wp.element.createElement("div",{className:"notice notice-alt notice-info"},wp.element.createElement("p",null,(0,e.__)("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"))),!t.useFacebook&&"app"!==t.cardType&&wp.element.createElement(ue,t),!t.useFacebook&&"app"!==t.cardType&&wp.element.createElement("div",{className:"field-group"},wp.element.createElement("label",{htmlFor:"rank-math-twitter-title"},(0,e.__)("Title","rank-math")),wp.element.createElement("div",{className:"variable-group"},wp.element.createElement(c.TextControl,{id:"rank-math-twitter-title",value:t.title,placeholder:t.serpTitle,onChange:t.updateTitle}),wp.element.createElement(W,{onClick:function(e){return t.updateTitle(t.title+" %"+e.variable+"%")}}))),!t.useFacebook&&"app"!==t.cardType&&wp.element.createElement("div",{className:"field-group"},wp.element.createElement("label",{htmlFor:"rank-math-twitter-description"},(0,e.__)("Description","rank-math")),wp.element.createElement("div",{className:"variable-group"},wp.element.createElement(c.TextareaControl,{id:"rank-math-twitter-description",value:t.description,placeholder:t.serpDescription,onChange:t.updateDescription}),wp.element.createElement(W,{onClick:function(e){return t.updateDescription(t.description+" %"+e.variable+"%")}}))),!t.useFacebook&&"app"!==t.cardType&&wp.element.createElement("div",{className:"field-group"},wp.element.createElement(c.ToggleControl,{label:(0,e.__)("Add icon overlay to thumbnail","rank-math"),checked:t.hasOverlay,onChange:t.toggleOverlay}),wp.element.createElement("div",{className:t.hasOverlay?"components-base-control":"hidden"},wp.element.createElement(c.SelectControl,{value:t.imageOverlay,label:(0,e.__)("Icon overlay","rank-math"),options:me(),onChange:t.updateImageOverlay}),!rankMath.isPro&&wp.element.createElement("div",{className:"notice notice-alt notice-warning"},wp.element.createElement("p",null,wp.element.createElement(j,{components:{link:wp.element.createElement("a",{href:"https://rankmath.com/pricing/?utm_source=Plugin&utm_medium=Gutenberg%20Social%20Tab&utm_campaign=WP",target:"_blank",rel:"noopener noreferrer"})}},(0,e.__)("You can add custom thumbnail overlays with {{link}}Rank Math Pro{{/link}}.","rank-math")))))),"player"===t.cardType&&wp.element.createElement(we,null),"app"===t.cardType&&wp.element.createElement(fe,null))})),be=function(){return wp.element.createElement(i.Fragment,null,wp.element.createElement(c.TabPanel,{className:"rank-math-editor-social",activeClass:"is-active",tabs:[{name:"facebook",title:wp.element.createElement(i.Fragment,null,wp.element.createElement(c.Dashicon,{icon:"facebook-alt"}),(0,e.__)("Facebook","rank-math")),view:ge,className:"button-facebook"},{name:"twitter",title:wp.element.createElement(i.Fragment,null,wp.element.createElement(c.Dashicon,{icon:"twitter"}),(0,e.__)("Twitter","rank-math")),view:ye,className:"button-twitter"}]},(function(e){return(0,i.createElement)(e.view)})))};function ke(e){return ke="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},ke(e)}function Te(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Ee(e,t){return Ee=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ee(e,t)}function _e(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,a=Ce(e);if(t){var i=Ce(this).constructor;n=Reflect.construct(a,arguments,i)}else n=a.apply(this,arguments);return Oe(this,n)}}function Oe(e,t){if(t&&("object"===ke(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return xe(e)}function xe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ce(e){return Ce=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ce(e)}var Ne=function(t){!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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ee(e,t)}(s,t);var n,a,r,o=_e(s);function s(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(e=o.call(this))._handleRef=e._handleRef.bind(xe(e)),e}return n=s,(a=[{key:"componentDidMount",value:function(){var e=oe()(this.component),t=e.find(".stars a"),n=e.find(".smiley");t.on("mouseenter",(function(){var e=oe()(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 t=this,n=[],a=1;a<=5;a++)n.push(wp.element.createElement("a",{key:a,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,(0,e.__)("Rate Rank Math SEO","rank-math")),wp.element.createElement("p",null,wp.element.createElement(j,{tags:"em"},(0,e.__)("Hey, we noticed you are using Rank Math SEO plugin for more than a week now –{{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"},n)),wp.element.createElement(c.CheckboxControl,{label:wp.element.createElement(i.Fragment,null,wp.element.createElement("span",null,(0,e.__)("I already did. Please don't show this message again.","rank-math"))),onChange:function(){return t.alreadyReviewed()}}))}},{key:"alreadyReviewed",value:function(){oe().ajax({url:rankMath.ajaxurl,data:{action:"rank_math_already_reviewed",security:rankMath.security}}),rankMath.pluginReviewed=!0;var e=oe()(this.component);e.animate({opacity:.01},1500,(function(){var t=oe()(".rank-math-editor > .components-tab-panel__tabs > button");t.first().click(),t.last().remove(),e.remove()}))}}])&&Te(n.prototype,a),r&&Te(n,r),Object.defineProperty(n,"prototype",{writable:!1}),s}(i.Component),Se=(0,c.withFilters)("rankMath.analytics.reportButton")((function(){return null})),Ie=(0,l.compose)((0,t.withSelect)((function(e){return{isOpen:e("rank-math").isSnippetEditorOpen()}})),(0,t.withDispatch)((function(e,t){return{toggleEditor:function(){e("rank-math").toggleSnippetEditor(!t.isOpen)}}})))((function(t){var n=t.isOpen,a=t.initialTab,r=void 0===a?"":a,o=t.toggleEditor,s=[{name:"general",title:wp.element.createElement(i.Fragment,null,wp.element.createElement("i",{className:"rm-icon rm-icon-settings"}),wp.element.createElement("span",null,(0,e.__)("General","rank-math"))),view:ie}];return rankMath.canUser.social&&s.push({name:"social",title:wp.element.createElement(i.Fragment,null,wp.element.createElement("i",{className:"rm-icon rm-icon-social"}),wp.element.createElement("span",null,(0,e.__)("Social","rank-math"))),view:be}),rankMath.showReviewTab&&!1===rankMath.pluginReviewed&&s.push({name:"review",className:"review-tab",title:wp.element.createElement(i.Fragment,null,wp.element.createElement("i",{className:"rm-icon rm-icon-heart-filled"})),view:Ne}),wp.element.createElement(i.Fragment,null,wp.element.createElement(c.Button,{isPrimary:!0,className:"rank-math-edit-snippet",onClick:o},(0,e.__)("Edit Snippet","rank-math")),""===r&&wp.element.createElement(Se,null),n&&wp.element.createElement(c.Modal,{title:(0,e.__)("Preview Snippet Editor","rank-math"),closeButtonLabel:(0,e.__)("Close","rank-math"),shouldCloseOnClickOutside:!1,onRequestClose:o,className:"rank-math-modal",overlayClassName:"rank-math-modal-overlay"},wp.element.createElement(c.TabPanel,{className:"rank-math-tabs rank-math-editor",activeClass:"is-active",initialTabName:r,tabs:s},(function(e){return(0,i.createElement)(e.view)}))))})),De=function(){return wp.element.createElement(c.PanelBody,{initialOpen:!0},wp.element.createElement(c.BaseControl,{className:"rank-math-social"},wp.element.createElement("span",{className:"components-base-control__label"},(0,e.__)("Social Media Preview","rank-math")),wp.element.createElement("p",{className:"cmb2-metabox-description"},(0,e.__)("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"},(0,e.__)("Click on the button below to view and edit the preview.","rank-math")),wp.element.createElement(Ie,{buttonLabel:(0,e.__)("Preview & Edit Social Media","rank-math"),initialTab:"social"})))};function Me(e){return Me="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},Me(e)}function Ae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pe(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Re(e,t){return Re=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Re(e,t)}function je(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,a=Fe(e);if(t){var i=Fe(this).constructor;n=Reflect.construct(a,arguments,i)}else n=a.apply(this,arguments);return Le(this,n)}}function Le(e,t){if(t&&("object"===Me(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Fe(e){return Fe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Fe(e)}var He=function(t){!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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Re(e,t)}(p,t);var n,a,r,l=je(p);function p(){return Ae(this,p),l.apply(this,arguments)}return n=p,(a=[{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,(0,s.isUndefined)(this.results)?null:Object.keys(this.getGroups()).map((function(t){return e.renderGroup(t)}))}},{key:"renderGroup",value:function(t){this.errors=0;var n=this.renderGroupItems(t);return wp.element.createElement(c.PanelBody,{key:"panel-"+t,title:wp.element.createElement(i.Fragment,null,this.getGroupTitle(t),0===this.errors?wp.element.createElement("span",{className:"rank-math-group-score test-ok"},(0,e.__)("All Good","rank-math")):wp.element.createElement("span",{className:"rank-math-group-score test-fail"},this.errors," ",(0,e.__)("Errors","rank-math"))),initialOpen:"basic"===t,className:"rank-math-checklist"},wp.element.createElement("ul",null,n))}},{key:"renderGroupItems",value:function(e){var t=this,n=this.results.results,a=this.getGroupItems(e);return Object.keys(a).map((function(e){if((0,s.isUndefined)(n[e])||!t.isPrimary&&a[e])return!1;var i=n[e],r=o()("seo-check-"+e,{"test-ok":i.hasScore(),"test-fail":!i.hasScore()});i.hasScore()&&["contentHasAssets","lengthContent","keywordDensity"].includes(e)&&(r+=" "+function(e,t){var n=(0,s.round)(e/t*100);if(!(100<=n))return 49<n?"test-check-good":30<n?"test-check-ok":"test-check-bad"}(i.getScore(),i.getMaxScore())),!1===i.hasScore()&&(t.errors+=1);var l=t.getLink(e);return wp.element.createElement("li",{key:e,className:r},wp.element.createElement("span",{dangerouslySetInnerHTML:{__html:i.getText()}}),l&&wp.element.createElement("a",{href:"https://rankmath.com/kb/score-100-in-tests/?utm_source=Plugin&utm_medium=Content%20Analysis%20Single%20Test%20KB&utm_campaign=WP"+l,rel:"noreferrer",target:"_blank",className:"dashicons-before dashicons-editor-help rank-math-help-icon"}))}))}},{key:"getGroupItems",value:function(e){return("post"===rankMath.objectType?{basic:{keywordInTitle:!0,keywordInMetaDescription:!0,keywordInPermalink:!0,keywordIn10Percent:!0,keywordInContent:!1,lengthContent:!1,hasProductSchema:!0},advanced:{keywordInSubheadings:!1,keywordInImageAlt:!0,keywordDensity:!1,lengthPermalink:!1,linksHasExternals:!1,linksNotAllExternals:!1,linksHasInternal:!1,keywordNotUsed:!0,hasContentAI:!0,isReviewEnabled:!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:(0,e.__)("Basic SEO","rank-math"),advanced:(0,e.__)("Additional","rank-math"),"title-readability":(0,e.__)("Title Readability","rank-math"),"content-readability":(0,e.__)("Content Readability","rank-math")}:{basic:(0,e.__)("Basic SEO","rank-math"),advanced:(0,e.__)("Additional","rank-math")}}},{key:"getLink",value:function(e){var t={keywordInTitle:"#focus-keyword-in-the-seo-title-primary-focus-keyword-only",keywordInMetaDescription:"#focus-keyword-in-the-meta-description-primary-focus-keyword-only",keywordInPermalink:"#focus-keyword-in-the-url-primary-focus-keyword-only",keywordIn10Percent:"#focus-keyword-at-the-beginning-of-the-content",keywordInContent:"#focus-keyword-in-the-content-runs-of-all-focus-keywords",lengthContent:"#overall-content-length",keywordInSubheadings:"#focus-keyword-in-subheading-primary-and-secondary-focus-keywords",keywordInImageAlt:"#focus-keyword-in-image-alt-attributes-primary-focus-keyword-only",keywordDensity:"#keyword-density-primary-and-secondary-focus-keywords",lengthPermalink:"#url-length",linksHasExternals:"#linking-to-external-sources",linksNotAllExternals:"#linking-to-external-content-with-a-followed-link",linksHasInternal:"#linking-to-internal-resources",keywordNotUsed:"#focus-keyword-uniqueness-primary-focus-keyword-only",titleStartWithKeyword:"#focus-keyword-at-the-beginning-of-the-seo-title-only-for-primary-keyword",titleSentiment:"#sentiment-in-a-title",titleHasPowerWords:"#use-of-power-word-in-title",titleHasNumber:"#number-in-title",contentHasTOC:"#table-of-contents",contentHasShortParagraphs:"#use-of-short-paragraphs",contentHasAssets:"#use-of-media-in-your-posts",hasContentAI:"#used-content-ai",hasProductSchema:"#has-product-schema",isReviewEnabled:"#is-review-enabled"};return(0,s.has)(t,e)?t[e]:""}}])&&Pe(n.prototype,a),r&&Pe(n,r),Object.defineProperty(n,"prototype",{writable:!1}),p}(i.Component),Be=(0,t.withSelect)((function(e){var t=e("rank-math");return{isLoaded:t.isLoaded(),isRefreshing:t.isRefreshing(),selectedKeyword:t.getSelectedKeyword()}}))(He),Ue=(0,c.createSlotFill)("RankMathAfterFocusKeyword"),Ve=Ue.Fill,ze=Ue.Slot,We=function(e){var t=e.children,n=e.className;return wp.element.createElement(Ve,null,wp.element.createElement("div",{className:n},t))};We.Slot=ze;var Ge=We,Ke=(0,t.withSelect)((function(e){return{isPro:e("rank-math").isPro()}}))((function(t){return t.isPro?rankMath.isUserRegistered?wp.element.createElement(c.Notice,{status:"warning",isDismissible:!1},wp.element.createElement(j,{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"})}},(0,e.__)("Read here to {{link}}Score 100/100{{/link}} ","rank-math"))):wp.element.createElement(c.Notice,{status:"warning",isDismissible:!1},wp.element.createElement(j,{components:{link:wp.element.createElement("a",{href:rankMath.adminurl+"?page=rank-math&view=help",target:"_blank",rel:"noopener noreferrer"})}},(0,e.__)("Activate your account by {{link}}connecting to Rank Math!{{/link}} ","rank-math"))):wp.element.createElement(c.Notice,{status:"warning",isDismissible:!1},wp.element.createElement(j,{components:{link:wp.element.createElement("a",{href:rankMath.assessor.futureSeo,target:"_blank",rel:"noopener noreferrer"}),strong:wp.element.createElement("strong",null)}},(0,e.__)("Want more? {{link}}{{strong}}Upgrade today to the PRO{{/strong}}{{/link}} version.","rank-math")))})),$e=(0,l.withInstanceId)((function(e){var t=e.className,n=e.instanceId,a=e.children,i="rank-math-tooltip-"+n,r=o()("rank-math-tooltip",t);return wp.element.createElement("span",{className:r},wp.element.createElement("input",{id:i,type:"checkbox"}),wp.element.createElement("label",{htmlFor:i,className:"dashicons-before dashicons-editor-help"}),wp.element.createElement("div",{className:"rank-math-tooltip-content"},a))})),qe=n(634),Ye=n.n(qe);function Xe(e){return Xe="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},Xe(e)}function Je(){return Je=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Je.apply(this,arguments)}function Ze(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Qe(e,t){return Qe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Qe(e,t)}function et(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,a=at(e);if(t){var i=at(this).constructor;n=Reflect.construct(a,arguments,i)}else n=a.apply(this,arguments);return tt(this,n)}}function tt(e,t){if(t&&("object"===Xe(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return nt(e)}function nt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function at(e){return at=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},at(e)}var it=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Qe(e,t)}(o,e);var t,n,i,r=et(o);function o(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),(t=r.call(this,e))._handleRef=t._handleRef.bind(nt(t)),t}return t=o,(n=[{key:"componentDidMount",value:function(){var e=this;this.tagify=new(Ye())(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),this.props.settings.callbacks.dragEnd&&this.tagify.DOM.scope.addEventListener("dragend",this.props.settings.callbacks.dragEnd),(0,a.doAction)("rank_math_tagify_init",this)}},{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,className:this.props.className,placeholder:this.props.placeholder};return"textarea"===this.props.mode?wp.element.createElement("textarea",Je({},e,{defaultValue:this.props.initialValue})):wp.element.createElement("input",Je({},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")}}])&&Ze(t.prototype,n),i&&Ze(t,i),Object.defineProperty(t,"prototype",{writable:!1}),o}(i.Component),rt=function(t){var n=t.onClick;return wp.element.createElement(c.Modal,{title:(0,e.__)("Upgrade to re-order Focus Keywords","rank-math"),closeButtonLabel:(0,e.__)("Close","rank-math"),shouldCloseOnClickOutside:!0,onRequestClose:function(){return n()},className:"rank-math-modal rank-math-focus-keywords-cta-modal",overlayClassName:"rank-math-modal-overlay"},wp.element.createElement("div",{className:"components-panel__body rank-math-focus-keywords-cta-wrapper"},wp.element.createElement("div",{id:"rank-math-pro-cta",className:"center"},wp.element.createElement("div",{className:"rank-math-cta-box blue-ticks"},wp.element.createElement("ul",null,wp.element.createElement("li",null,(0,e.__)("Improve the SEO workflow","rank-math")),wp.element.createElement("li",null,(0,e.__)("Set different Primary Focus Keyword","rank-math")),wp.element.createElement("li",null,(0,e.__)("and many other premium SEO features","rank-math"))),wp.element.createElement("a",{className:"button button-primary is-green",href:rankMath.trendsUpgradeLink,rel:"noreferrer noopener",target:"_blank"},rankMath.trendsUpgradeLabel)))))};function ot(e){return ot="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},ot(e)}function st(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function lt(e,t){return lt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},lt(e,t)}function ct(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,a=ut(e);if(t){var i=ut(this).constructor;n=Reflect.construct(a,arguments,i)}else n=a.apply(this,arguments);return pt(this,n)}}function pt(e,t){if(t&&("object"===ot(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return dt(e)}function dt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ut(e){return ut=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ut(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 ht=function(t){!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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&lt(e,t)}(c,t);var n,r,o,l=ct(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),mt(dt(t=l.call(this)),"state",{}),mt(dt(t),"request",null),mt(dt(t),"hasAdded",!1),mt(dt(t),"clickCount",0),mt(dt(t),"singleClickTimer",null),t.state={showCTA:!1},t.tagifyField=(0,i.createRef)(),t.keywords=n,t.hideDropdown=t.hideDropdown.bind(dt(t)),t.callbacks={add:t.onAdd.bind(dt(t)),remove:(0,s.debounce)(t.onRemove.bind(dt(t)),300),"edit:updated":t.onEditUpdated.bind(dt(t)),click:t.onClick.bind(dt(t)),dragEnd:t.onDragEnd.bind(dt(t)),setup:t.onSetup.bind(dt(t)),blur:t.hideDropdown},rankMath.autoSuggestKeywords&&(t.callbacks.input=(0,s.debounce)(t.onInput.bind(dt(t)),300)),window.rankMathEditor.focusKeywordField=dt(t),t}return n=c,(r=[{key:"render",value:function(){var t=this,n=(0,a.applyFilters)("rank_math_focus_keyword_settings",{addTagOnBlur:!0,maxTags:"post"===rankMath.objectType?rankMath.maxTags:1,whitelist:this.state.whitelist||[],focusableTags:!0,transformTag:function(e){e.value=t.stripTags(e.value.replaceAll(",",""))},templates:{tag:function(e){var n=e.title||e.value,a="";if(!e.class){var i=rankMathEditor.resultManager.getScore(K.Helpers.removeDiacritics(n));a+=t.getScoreClass(i)}return"<tag draggable='true' title='".concat(t.stripTags(n),"'\n tabIndex='0'\n contenteditable='false'\n spellcheck='false'\n class='tagify__tag ").concat(e.class?e.class:a,"'\n ").concat(t.getAttributesEsc(e),">\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(n),"</span>\n </div>\n </tag>")}},callbacks:this.callbacks},this);return this.setKeywordsClasses(),wp.element.createElement(React.Fragment,null,wp.element.createElement(it,{ref:this.tagifyField,mode:"input",settings:n,showDropdown:this.state.showDropdown,initialValue:this.keywords,placeholder:(0,e.__)("Example: Rank Math SEO","rank-math")}),this.state.showCTA&&wp.element.createElement(rt,{onClick:function(){return t.setState({showCTA:!1})}}))}},{key:"shouldComponentUpdate",value:function(e,t){return this.state.showCTA!==t.showCTA||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 a=t.queryTags();n.map((function(t,n){if(!(0,s.isUndefined)(a[n])){var i=rankMathEditor.resultManager.getScore(K.Helpers.removeDiacritics(t.value));a[n].classList.remove("ok-fk","good-fk","bad-fk"),a[n].classList.add(e.getScoreClass(i))}}))}}}},{key:"onSetup",value:function(){this.selectFirstKeyword(),this.setKeywordsClasses()}},{key:"onInput",value:function(e){var t=this;(e=(0,s.has)(e.detail,"value")?e.detail.value:e.detail.data.value).length<2||(this.hideDropdown(),this.hasAdded?this.hasAdded=!1:this.request=oe().ajax({url:rankMath.keywordsApi.url,data:{keyword:e,locale:rankMath.locale},success:function(n){if(t.hasAdded)t.hasAdded=!1;else{var a=oe().map(n,(function(e){return e}));t.setState({whitelist:a,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:"onEditUpdated",value:function(e){this.hasAdded=!0,0===e.detail.index&&this.props.updateSelectedKeyword(e.detail,this.tagifyField.current),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:"onDragEnd",value:function(){1!==this.tagifyField.current.queryTags().length&&this.setState({showCTA:!0})}},{key:"hideDropdown",value:function(){null!==this.request&&(this.request.abort(),this.request=null),this.setState({whitelist:[],showDropdown:!1})}},{key:"getAttributesEsc",value:function(e){if("[object Object]"!==Object.prototype.toString.call(e))return"";var t,n,a="",i=Object.keys(e);for(n=i.length;n--;)"class"!==(t=i[n])&&e.hasOwnProperty(t)&&e[t]&&(a+=""+t+(e[t]?'="'.concat(this.stripTags(e[t]),'"'):""));return a}},{key:"stripTags",value:function(e){return e=oe()("<textarea />").html(e).text(),((new DOMParser).parseFromString(e,"text/html").body.textContent||"").replace(/["<>]/g,"")||""}}])&&st(n.prototype,r),o&&st(n,o),Object.defineProperty(n,"prototype",{writable:!1}),c}(i.Component),gt=(0,l.compose)((0,t.withSelect)((function(e){var t=e("rank-math");return{keywords:t.getKeywords(),isRefreshing:t.isRefreshing()}})),(0,t.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")})),(0,s.isUndefined)(t.tag)||""===t.tag||t.tag.classList.add("selected"),e("rank-math").updateSelectedKeyword(t)}}})))(ht),ft=(0,c.withFilters)("rankMath.focusKeywords.Trends")((0,l.compose)((0,t.withSelect)((function(e){return{isTrendsCtaOpen:e("rank-math").isTrendsCtaOpen()}})),(0,t.withDispatch)((function(e,t){return{toggleTrendsCta:function(){e("rank-math").toggleTrendsCta(!t.isTrendsCtaOpen)}}})))((function(t){var n=t.isTrendsCtaOpen,a=t.toggleTrendsCta;return wp.element.createElement(i.Fragment,null,wp.element.createElement("a",{href:"#",title:(0,e.__)("Trends","rank-math"),rel:"noreferrer noopener",id:"rank-math-compare-keywords-trigger",className:"button button-icon rank-math-compare-keywords-trigger",dangerouslySetInnerHTML:{__html:rankMath.trendsIcon},onClick:a}),n&&wp.element.createElement(c.Modal,{title:(0,e.__)("Google Trends","rank-math"),closeButtonLabel:(0,e.__)("Close","rank-math"),shouldCloseOnClickOutside:!0,onRequestClose:a,className:"rank-math-modal rank-math-trends-cta-modal",overlayClassName:"rank-math-modal-overlay"},wp.element.createElement("div",{className:"components-panel__body rank-math-trends-cta-wrapper"},wp.element.createElement("img",{src:rankMath.trendsPreviewImage,alt:"",className:"trends-cta blurred"}),wp.element.createElement("div",{id:"rank-math-pro-cta",className:"center"},wp.element.createElement("div",{className:"rank-math-cta-box blue-ticks width-50"},wp.element.createElement("h3",null,(0,e.__)("Track Keyword Trends","rank-math")),wp.element.createElement("ul",null,wp.element.createElement("li",null,(0,e.__)("Data fetched directly from Google","rank-math")),wp.element.createElement("li",null,(0,e.__)("Analyze search trends and compare keywords","rank-math")),wp.element.createElement("li",null,(0,e.__)("See data from a particular Country or timeframe","rank-math"))),wp.element.createElement("a",{className:"button button-primary is-green",href:rankMath.trendsUpgradeLink,rel:"noreferrer noopener",target:"_blank"},rankMath.trendsUpgradeLabel))))))}))),wt=(0,c.withFilters)("rankMath.analytics.contentAI")((function(){return!1})),vt=(0,l.compose)((0,t.withSelect)((function(e){var t=e("rank-math");return{isLoaded:t.isLoaded(),isPillarContent:t.getPillarContent()}})),(0,t.withDispatch)((function(e){return{togglePillarContent:function(t){e("rank-math").updatePillarContent(t)}}})))((function(t){var n=t.isLoaded,a=t.isPillarContent,r=t.togglePillarContent;return n?wp.element.createElement(c.PanelBody,{initialOpen:!0,className:"rank-math-focus-keyword"},wp.element.createElement("h2",{className:"components-panel__body-title"},(0,e.__)("Focus Keyword","rank-math"),wp.element.createElement($e,null,wp.element.createElement(j,{components:{link:wp.element.createElement("a",{href:rankMath.assessor.hundredScoreLink,target:"_blank",rel:"noopener noreferrer"})}},(0,e.__)("Insert keywords you want to rank for. Try to {{link}}attain 100/100 points{{/link}} for better chances of ranking.","rank-math")))),wp.element.createElement(ft,null),rankMath.currentEditor&&"classic"!==rankMath.currentEditor&&wp.element.createElement(wt,null),wp.element.createElement(Ge.Slot,null,(function(e){return e.length>0?e:[]})),wp.element.createElement("div",null,wp.element.createElement(gt,null)),wp.element.createElement(Ke,null),"post"===rankMath.objectType&&wp.element.createElement(c.CheckboxControl,{className:"pillar-content",label:wp.element.createElement(i.Fragment,null,wp.element.createElement("strong",null,(0,e.__)("This post is Pillar Content","rank-math")),wp.element.createElement("a",{href:"https://rankmath.com/kb/pillar-content-internal-linking/",rel:"noreferrer",target:"_blank",className:"dashicons-before dashicons-editor-help rank-math-help-icon"})),checked:a,onChange:r})):null})),yt=(0,c.createSlotFill)("RankMathAfterEditor"),bt=yt.Fill,kt=yt.Slot,Tt=function(e){var t=e.children,n=e.className;return wp.element.createElement(bt,null,wp.element.createElement(c.PanelRow,{className:n},t))};Tt.Slot=kt;var Et=Tt,_t=(0,t.withDispatch)((function(e){return{toggleEditor:function(){e("rank-math").toggleSnippetEditor(!0)}}}))((function(e){var t=e.toggleEditor;return wp.element.createElement(i.Fragment,null,wp.element.createElement(c.PanelBody,{initialOpen:!0},wp.element.createElement(ae,{onClick:t}),wp.element.createElement(Ie,null),wp.element.createElement(Et.Slot,null,(function(e){return e.length>0?e:[]}))),wp.element.createElement(vt,null),rankMath.canUser.analysis&&wp.element.createElement(Be,null))})),Ot=function(e,t,n){return!1===n?delete e[t]:e[t]=!0,e},xt=(0,l.compose)((0,t.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}})),(0,t.withDispatch)((function(e,t){var n=t.robots;return{updateRobots:function(t,a){n=Ot(n,t,a),"index"===t&&(n=Ot(n,"noindex",!a)),"noindex"===t&&(n=Ot(n,"index",!a)),e("rank-math").updateRobots(n)}}})))((function(t){return wp.element.createElement(c.BaseControl,{className:"rank-math-robots",id:"rank-math-robots",label:(0,e.__)("Robots Meta","rank-math")},wp.element.createElement("div",{className:"rank-math-robots-list"},wp.element.createElement(c.CheckboxControl,{className:"robot-choice-index",label:wp.element.createElement(i.Fragment,null,(0,e.__)("Index","rank-math"),wp.element.createElement($e,null,(0,e.__)("Instructs search engines to index and show these pages in the search results","rank-math"))),checked:t.isRobotIndex,onChange:function(e){return t.updateRobots("index",e)}}),wp.element.createElement(c.CheckboxControl,{className:"robot-choice-noindex",label:wp.element.createElement(i.Fragment,null,(0,e.__)("No Index","rank-math"),wp.element.createElement($e,null,(0,e.__)("Prevents pages from being indexed and displayed in search engine result pages","rank-math"))),checked:t.isRobotNoIndex,onChange:function(e){return t.updateRobots("noindex",e)}}),wp.element.createElement(c.CheckboxControl,{className:"robot-choice-nofollow",label:wp.element.createElement(i.Fragment,null,(0,e.__)("Nofollow","rank-math"),wp.element.createElement($e,null,(0,e.__)("Prevents search engines from following links on the pages","rank-math"))),checked:t.isRobotNoFollow,onChange:function(e){return t.updateRobots("nofollow",e)}}),wp.element.createElement(c.CheckboxControl,{className:"robot-choice-noarchive",label:wp.element.createElement(i.Fragment,null,(0,e.__)("No Archive","rank-math"),wp.element.createElement($e,null,(0,e.__)("Prevents search engines from showing Cached links for pages","rank-math"))),checked:t.isRobotNoArchive,onChange:function(e){return t.updateRobots("noarchive",e)}}),wp.element.createElement(c.CheckboxControl,{className:"robot-choice-noimageindex",label:wp.element.createElement(i.Fragment,null,(0,e.__)("No Image Index","rank-math"),wp.element.createElement($e,null,(0,e.__)("This option prevents images on a page from being indexed by Google and other search engines","rank-math"))),checked:t.isRobotNoImageIndex,onChange:function(e){return t.updateRobots("noimageindex",e)}}),wp.element.createElement(c.CheckboxControl,{className:"robot-choice-nosnippet",label:wp.element.createElement(i.Fragment,null,(0,e.__)("No Snippet","rank-math"),wp.element.createElement($e,null,(0,e.__)("Prevents a snippet from being shown in the search results","rank-math"))),checked:t.isRobotNoSnippet,onChange:function(e){return t.updateRobots("nosnippet",e)}})))}));function Ct(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Nt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ct(Object(n),!0).forEach((function(t){St(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ct(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function St(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var It=(0,l.compose)((0,t.withSelect)((function(e){var t=e("rank-math");return{redirectionID:t.getRedirectionID(),redirectionUrl:t.getRedirectionUrl(),redirectionType:t.getRedirectionType(),hasRedirect:t.hasRedirect()}})),(0,t.withDispatch)((function(e,t){return{toggle:function(){e("rank-math").updateHasRedirect(!t.hasRedirect),e("rank-math").updateRedirectionItem(Nt(Nt({},t),{},{hasRedirect:!t.hasRedirect}))},updateRedirection:function(n,a){e("rank-math").updateRedirection(n,a),e("rank-math").updateRedirectionItem(Nt(Nt({},t),{},St({},n,a)))}}})))((function(t){return wp.element.createElement(i.Fragment,null,wp.element.createElement(c.ToggleControl,{className:t.hasRedirect?"is-open":"is-close",label:(0,e.__)("Redirect","rank-math"),checked:t.hasRedirect,onChange:function(){return t.toggle()}}),t.hasRedirect&&wp.element.createElement(c.SelectControl,{label:(0,e.__)("Redirection Type","rank-math"),className:t.hasRedirect?"":"hidden",value:t.redirectionType,onChange:function(e){return t.updateRedirection("redirectionType",e)},options:[{value:"301",label:(0,e.__)("301 Permanent Move","rank-math")},{value:"302",label:(0,e.__)("302 Temporary Move","rank-math")},{value:"307",label:(0,e.__)("307 Temporary Redirect","rank-math")},{value:"410",label:(0,e.__)("410 Content Deleted","rank-math")},{value:"451",label:(0,e.__)("451 Content Unavailable for Legal Reasons","rank-math")}]}),!1===["410","451"].includes(t.redirectionType)&&wp.element.createElement(c.TextControl,{type:"url",autoComplete:"off",label:(0,e.__)("Destination URL","rank-math"),value:t.redirectionUrl,placeholder:"https://rankmath.com/",className:t.hasRedirect?"":"hidden",onChange:function(e){return t.updateRedirection("redirectionUrl",e)}}),wp.element.createElement(c.TextControl,{type:"hidden",value:t.redirectionID,className:"hidden"}))})),Dt=(0,l.compose)((0,t.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()}})),(0,t.withDispatch)((function(e){return{onUrlChange:function(t){e("rank-math").updateCanonicalUrl(t)}}})))((function(t){var n=t.canonicalUrl,a=t.placeholder,i=t.onUrlChange;return wp.element.createElement(c.BaseControl,{className:"rank-math-canonical"},wp.element.createElement("span",{className:"components-base-control__label"},(0,e.__)("Canonical URL","rank-math"),wp.element.createElement($e,null,(0,e.__)("The canonical URL informs search crawlers which page is the main page if you have double content","rank-math"))),wp.element.createElement(c.TextControl,{type:"url",autoComplete:"off",value:n,placeholder:a,onChange:function(e){return i(e)}}))})),Mt=(0,l.compose)((0,t.withSelect)((function(e){return{title:e("rank-math").getBreadcrumbTitle()}})),(0,t.withDispatch)((function(e){return{onTitleChange:function(t){e("rank-math").updateBreadcrumbTitle(t)}}})))((function(t){var n=t.title,a=t.onTitleChange;return wp.element.createElement(c.BaseControl,{className:"rank-math-breadcrumb-title"},wp.element.createElement("span",{className:"components-base-control__label"},(0,e.__)("Breadcrumb Title","rank-math"),wp.element.createElement($e,null,(0,e.__)("Breadcrumb Title to use for this post","rank-math"))),wp.element.createElement(c.TextControl,{value:n,onChange:function(e){return a(e)}}))}));function At(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Pt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?At(Object(n),!0).forEach((function(t){Rt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):At(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Rt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var jt={"max-snippet":-1,"max-video-preview":-1,"max-image-preview":"large"},Lt=(0,l.compose)((0,t.withSelect)((function(e){var t=e("rank-math").getAdvancedRobots(),n=Pt({},t);(0,s.defaults)(n,jt);var a=null,i=null,r=null;return"max-snippet"in t&&(a=n["max-snippet"]),"max-image-preview"in t&&(i=n["max-image-preview"]),"max-video-preview"in t&&(r=n["max-video-preview"]),{meta:t,isSnippet:a,isImage:i,isVideo:r,maxSnippet:a?n["max-snippet"]:-1,maxImage:n["max-image-preview"],maxVideo:r?n["max-video-preview"]:-1}})),(0,t.withDispatch)((function(e,t){var n=Pt({},t.meta);return{updateRobots:function(t,a){(0,s.isBoolean)(a)?!1===a?delete n[t]:n[t]=jt[t]:n[t]=a,e("rank-math").updateAdvancedRobots(n)}}})))((function(t){return wp.element.createElement(c.BaseControl,{className:"rank-math-robots",id:"rank-math-robots",label:(0,e.__)("Advanced Robots Meta","rank-math")},wp.element.createElement("div",{className:"rank-math-robots-list advanced-robots"},wp.element.createElement(c.CheckboxControl,{label:wp.element.createElement(i.Fragment,null,(0,e.__)("Max Snippet","rank-math"),wp.element.createElement($e,null,(0,e.__)("Specify a maximum text-length, in characters, of a snippet for your page","rank-math"))),checked:t.isSnippet,onChange:function(e){return t.updateRobots("max-snippet",e)}}),wp.element.createElement(c.TextControl,{type:"number",value:t.maxSnippet,onChange:function(e){return t.updateRobots("max-snippet",e)}}),wp.element.createElement(c.CheckboxControl,{label:wp.element.createElement(i.Fragment,null,(0,e.__)("Max Video Preview","rank-math"),wp.element.createElement($e,null,(0,e.__)("Specify a maximum duration in seconds of an animated video preview","rank-math"))),checked:t.isVideo,onChange:function(e){return t.updateRobots("max-video-preview",e)}}),wp.element.createElement(c.TextControl,{type:"number",value:t.maxVideo,onChange:function(e){return t.updateRobots("max-video-preview",e)}}),wp.element.createElement(c.CheckboxControl,{label:wp.element.createElement(i.Fragment,null,(0,e.__)("Max Image Preview","rank-math"),wp.element.createElement($e,null,(0,e.__)("Specify a maximum size of image preview to be shown for images on this page","rank-math"))),checked:t.isImage,onChange:function(e){return t.updateRobots("max-image-preview",e)}}),wp.element.createElement(c.SelectControl,{value:t.maxImage,onChange:function(e){return t.updateRobots("max-image-preview",e)},options:[{value:"large",label:(0,e.__)("Large","rank-math")},{value:"standard",label:(0,e.__)("Standard","rank-math")},{value:"none",label:(0,e.__)("None","rank-math")}]})))})),Ft=(0,l.compose)((0,t.withSelect)((function(e){return{showScore:e("rank-math").getShowScoreFrontend()}})),(0,t.withDispatch)((function(e){return{toggleScore:function(t){e("rank-math").toggleFrontendScore(t)}}})))((function(t){var n=t.showScore,a=t.toggleScore;return wp.element.createElement(c.BaseControl,{className:"rank-math-frontend-score"},wp.element.createElement(c.ToggleControl,{label:(0,e.__)("Show SEO Score on Front-end","rank-math"),checked:n,onChange:a}))})),Ht=(0,c.createSlotFill)("RankMathAdvancedTab"),Bt=Ht.Fill,Ut=Ht.Slot,Vt=function(e){var t=e.children,n=e.className;return wp.element.createElement(Bt,null,wp.element.createElement(c.PanelRow,{className:n},t))};Vt.Slot=Ut;var zt=Vt,Wt=(0,c.withFilters)("rankMath.advanced.newsSitemap")((function(){return null})),Gt=function(){return wp.element.createElement(i.Fragment,null,wp.element.createElement(c.PanelBody,{initialOpen:!0},wp.element.createElement(xt,null)),wp.element.createElement(c.PanelBody,{initialOpen:!0},wp.element.createElement(Lt,null)),wp.element.createElement(Wt,null),wp.element.createElement(c.PanelBody,{initialOpen:!0},wp.element.createElement(Dt,null)),rankMath.assessor.hasBreadcrumb&&wp.element.createElement(c.PanelBody,{initialOpen:!0},wp.element.createElement(Mt,null)),rankMath.assessor.hasRedirection&&wp.element.createElement(c.PanelBody,{initialOpen:!0,className:"rank-math-redirect"},wp.element.createElement(It,null)),rankMath.frontEndScore&&wp.element.createElement(c.PanelBody,{initialOpen:!0},wp.element.createElement(Ft,null)),wp.element.createElement(zt.Slot,null,(function(e){return e.length>0?e:[]})))},Kt=n(279),$t=n.n(Kt),qt={init:function(){this.cacheProps(),this.initVars(),this.bindEvents()},cacheProps:function(){this.root=document.documentElement,this.$wpAdminbar=oe()("#wpadminbar")},initVars:function(){this.$wpAdminbar.length&&this.setWpAdminbarHeight.call(this)},bindEvents:function(){window.addEventListener("resize",$t()(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")}};oe()((function(){qt.init()}));var Yt=function(e){"social"===e&&(0,t.dispatch)("rank-math").toggleSnippetEditor(!0)},Xt=function(){return wp.element.createElement(_,{className:"rank-math-tabs",activeClass:"is-active",tabs:(t=[],rankMath.canUser.general&&t.push({name:"general",title:wp.element.createElement(i.Fragment,null,wp.element.createElement("i",{className:"rm-icon rm-icon-settings",title:(0,e.__)("General","rank-math")}),wp.element.createElement("span",null,(0,e.__)("General","rank-math"))),view:_t,className:"rank-math-general-tab"}),rankMath.canUser.advanced&&t.push({name:"advanced",title:wp.element.createElement(i.Fragment,null,wp.element.createElement("i",{className:"rm-icon rm-icon-toolbox",title:(0,e.__)("Advanced","rank-math")}),wp.element.createElement("span",null,(0,e.__)("Advanced","rank-math"))),view:Gt,className:"rank-math-advanced-tab"}),rankMath.canUser.social&&t.push({name:"social",title:wp.element.createElement(i.Fragment,null,wp.element.createElement("i",{className:"rm-icon rm-icon-social",title:(0,e.__)("Social","rank-math")}),wp.element.createElement("span",null,(0,e.__)("Social","rank-math"))),view:De,className:"rank-math-social-tab"}),(0,a.applyFilters)("rank_math_sidebar_tabs",t)),onSelect:Yt},(function(e){return wp.element.createElement("div",{className:"rank-math-tab-content-"+e.name},(0,i.createElement)(e.view))}));var t};(0,a.addAction)("rank_math_loaded","rank-math",(function(){(0,a.addFilter)("rank_math_app","rank-math",(function(){return Xt}))}))}()}();
assets/admin/js/wizard.js CHANGED
@@ -1 +1 @@
1
- !function(){"use strict";var t,e={n:function(t){var a=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(a,{a:a}),a},d:function(t,a){for(var n in a)e.o(a,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:a[n]})},o:function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}},a=jQuery;(t=e.n(a)())((function(){window.rankMathSetupWizard={init:function(){rankMath.currentStep in this&&this[rankMath.currentStep](),t(document).on("cmb_init",(function(){t(".cmb-multicheck-toggle",".multicheck-checked").trigger("click")}))},compatibility:function(){t(".wizard-deactivate-plugin").on("click",(function(e){e.preventDefault();var a=t(this);if(!a.hasClass("disabled")){var n=a.closest("tr");t.ajax({url:rankMath.ajaxurl,type:"POST",data:{action:"rank_math_deactivate_plugins",security:rankMath.security,plugin:a.data("plugin")}}).always((function(t){"1"===t&&(n.find(".dashicons-warning").removeClass("dashicons-warning").addClass("dashicons-yes"),a.addClass("disabled").text(rankMath.deactivated))}))}})),t(".rank-math-setup-mode.is-free ul li:last-child").on("click",(function(t){return t.preventDefault(),window.open("//rankmath.com/pricing/?utm_source=Plugin&utm_medium=Setup%20Wizard%20Custom%20Mode&utm_campaign=WP"),!1}))},import:function(){var e=t("#import-progress"),a=t("#import-progress-bar"),n=0,i=0,r=function(t,e){var a=new Date,n=e.val()+"["+(10>a.getHours()?"0":"")+a.getHours()+":"+(10>a.getMinutes()?"0":"")+a.getMinutes()+":"+(10>a.getSeconds()?"0":"")+a.getSeconds()+"] "+t+"\n";e.text(n).scrollTop(e[0].scrollHeight-e.height()-20)},o=function(t){t>100&&(t=100),a.find(".number").html(t),a.find("#importBar").css("width",t+"%")},c=function e(a,c,u,s,p,l){if(0!==c.length){s=s||1;var h=c.shift(),d="deactivate"===h?"Deactivating "+l:"Importing "+h+" from "+l,g=Math.floor(100/i);r(d,u),t.ajax({url:rankMath.ajaxurl,type:"POST",data:{perform:h,pluginSlug:a,paged:s,action:"rank_math_import_plugin",security:rankMath.security}}).success((function(t){var i=1;t&&t.page&&t.page<t.total_pages&&(i=t.page+1,c.unshift(h)),t&&t.total_pages&&(g=Math.ceil(g/t.total_pages)),o(n+=g),r(t.success?t.message:t.error,u),e(a,c,u,i,p,l)})).error((function(t){r(t.statusText,u),e(a,c,u,null,p,l)}))}else p()};t(".button-import",".form-footer").on("click",(function(n){if(n.preventDefault(),rankMath.isConfigured&&!window.confirm(rankMath.confirm))return!1;var c=t(".import-data:checkbox:checked");if(!c.length)return window.alert("Please select plugin to import data."),!1;var s=t(this),p={},l=[];t.each(c,(function(){var e=t(this).val(),a=t(this).parents(".cmb-group-description").next().find(":checkbox:checked"),n=a.data("active"),r=t(this).data("plugin");l.push(r);var o=t.map(a,(function(t){return t.value}));0<o.length&&n&&o.push("deactivate"),i+=o.length,p[e]={plugin:r,actions:o}})),s.prop("disabled",!0),e.show(),a.show(),a.find(".plugin-from").html(l.join()),r("Import started...",e),u(p,e,(function(){o(100),s.prop("disabled",!1),t(".button",".form-footer").hide(),t(".button-continue").show()}))}));var u=function t(a,n,i){var o=Object.keys(a),u=o.length,s=a[o[0]],p=Object.keys(a)[0];if(delete a[p],0===u)return r("Import finished. Click on the button below to continue the Setup Wizard.",n),void i();c(p,s.actions,e,null,(function(){t(a,n,i)}),s.plugin)};t(".import-data").on("change",(function(){for(var e=t(this),a=this.checked,n=e.parents(".cmb-group-description").next().find(".cmb2-option"),i=0;i<n.length;i++)"checkbox"===n[i].type&&(n[i].checked=a);a&&("yoast"===e.val()?(t('.import-data[value="aioseo"]').prop("checked",!1).trigger("change"),t('.import-data[value="seopress"]').prop("checked",!1).trigger("change")):"aioseo"===e.val()?(t('.import-data[value="yoast"]').prop("checked",!1).trigger("change"),t('.import-data[value="seopress"]').prop("checked",!1).trigger("change")):"seopress"===e.val()&&(t('.import-data[value="yoast"]').prop("checked",!1).trigger("change"),t('.import-data[value="aioseo"]').prop("checked",!1).trigger("change")))})),t(".cmb-type-group .cmb2-checkbox-list .cmb2-option").on("click",(function(){var e=t(this),a=e.attr("name"),n=e.parents("ul").find('input[name="'+a+'"]:checkbox:checked'),i=e.parents("ul").find('input[name="'+a+'"]');n.length===i.length&&e.parents(".cmb-type-group").find(".import-data").prop("checked",!0).trigger("change")})),t(".button-deactivate-plugins").on("click",(function(e){var a=t(this);a.parents("form").find("input[data-active]").length&&(e.preventDefault(),a.text(a.data("deactivate-message")),t.ajax({url:rankMath.ajaxurl,type:"POST",data:{action:"rank_math_deactivate_plugins",security:rankMath.security,plugin:"all"}}).success((function(){a.parents("form").trigger("submit")})).error((function(){window.alert("Something went wrong! Please try again later.")})))}))},yoursite:function(){t("#rank-math-search-input").on("input keypress",(function(e){var a=t(this),n=a.next();if(13===e.keyCode||13===e.which){if("createEvent"in document){var i=this.ownerDocument,r=i.createEvent("MouseEvents");r.initMouseEvent("click",!0,!0,i.defaultView,1,0,0,0,0,!1,!1,!1,!1,0,null),n[0].dispatchEvent(r)}return!1}n.attr("href",n.data("href")+encodeURIComponent(a.val()))}));var e=t("#business_type");0!==parseInt(e.data("default"))&&t("#site_type").on("change",(function(){var a=t(this).val();"news"!==a&&"webshop"!==a&&"otherbusiness"!==a||e.val("Organization").trigger("change"),"business"===a&&e.val("LocalBusiness").trigger("change")}))},analytics:function(){t("#console_authorization_code").on("paste",(function(){var e=t(this).next(".button");setTimeout((function(){e.trigger("click")}),100)}))},ready:function(){t("#auto-update").on("change",(function(){t(".rank-math-auto-update-email-wrapper").toggle(t(this).is(":checked"))})),t(".rank-math-additional-options input.rank-math-modules").on("change",(function(){var e=t(this);t.ajax({url:rankMath.api.root+"rankmath/v1/autoUpdate",method:"POST",beforeSend:function(t){t.setRequestHeader("X-WP-Nonce",rankMath.api.nonce)},data:{key:e.data("key"),value:e.is(":checked")}})}))}},window.rankMathSetupWizard.init()}))}();
1
+ !function(){"use strict";var t,e={n:function(t){var a=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(a,{a:a}),a},d:function(t,a){for(var n in a)e.o(a,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:a[n]})},o:function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}},a=jQuery;(t=e.n(a)())((function(){window.rankMathSetupWizard={init:function(){rankMath.currentStep in this&&this[rankMath.currentStep](),t(document).on("cmb_init",(function(){t(".cmb-multicheck-toggle",".multicheck-checked").trigger("click")}))},compatibility:function(){t(".wizard-deactivate-plugin").on("click",(function(e){e.preventDefault();var a=t(this);if(!a.hasClass("disabled")){var n=a.closest("tr");t.ajax({url:rankMath.ajaxurl,type:"POST",data:{action:"rank_math_deactivate_plugins",security:rankMath.security,plugin:a.data("plugin")}}).always((function(t){"1"===t&&(n.find(".dashicons-warning").removeClass("dashicons-warning").addClass("dashicons-yes"),a.addClass("disabled").text(rankMath.deactivated))}))}})),t(".rank-math-setup-mode.is-free ul li:last-child").on("click",(function(t){return t.preventDefault(),window.open("//rankmath.com/pricing/?utm_source=Plugin&utm_medium=Setup%20Wizard%20Custom%20Mode&utm_campaign=WP"),!1}))},import:function(){var e=t("#import-progress"),a=t("#import-progress-bar"),n=0,i=0,r=function(t,e){var a=new Date,n=e.val()+"["+(10>a.getHours()?"0":"")+a.getHours()+":"+(10>a.getMinutes()?"0":"")+a.getMinutes()+":"+(10>a.getSeconds()?"0":"")+a.getSeconds()+"] "+t+"\n";e.text(n).scrollTop(e[0].scrollHeight-e.height()-20)},o=function(t){t>100&&(t=100),a.find(".number").html(t),a.find("#importBar").css("width",t+"%")},c=!1,u=function e(a,u,s,l,p,h){if(0!==u.length){l=l||1;var d=u.shift(),g="deactivate"===d?"Deactivating "+h:"Importing "+d+" from "+h,f=Math.floor(100/i);if("recalculate"===d)return r("Recalculating SEO Scores...",s),function(e,a){if(!c){var n=window.open(rankMath.recalculateURL,"rank-math-recalculation","width=530,height=300");c=!0,null===n&&(t('.recalculate-scores input[type="checkbox"]').prop("checked",!1).next("label").find("a").removeClass("hidden").first().appendTo("#import-progress-bar .left"),r("The SEO Score Recalculation could not be started because the popup was blocked. Try again with the above link, or run it from Rank Math > Status & Tools > Database Tools.",e),a())}}(s,p),void e(a,u,s,null,p,h);r(g,s),t.ajax({url:rankMath.ajaxurl,type:"POST",data:{perform:d,pluginSlug:a,paged:l,action:"rank_math_import_plugin",security:rankMath.security}}).success((function(t){var i=1;t&&t.page&&t.page<t.total_pages&&(i=t.page+1,u.unshift(d)),t&&t.total_pages&&(f=Math.ceil(f/t.total_pages)),o(n+=f),r(t.success?t.message:t.error,s),e(a,u,s,i,p,h)})).error((function(t){r(t.statusText,s),e(a,u,s,null,p,h)}))}else p()};t(".button-import",".form-footer").on("click",(function(n){if(n.preventDefault(),rankMath.isConfigured&&!window.confirm(rankMath.confirm))return!1;var c=t(".import-data:checkbox:checked");if(!c.length)return window.alert("Please select plugin to import data."),!1;var u=t(this),l={},p=[];t.each(c,(function(){var e=t(this).val(),a=t(this).parents(".cmb-group-description").next().find(":checkbox:checked"),n=a.data("active"),r=t(this).data("plugin");p.push(r);var o=function(e){var a=t.map(e,(function(t){return t.value}));if(-1!==a.indexOf("recalculate")){var n=(a=a.filter((function(t){return"recalculate"!==t}))).indexOf("postmeta");-1!==n?a.splice(n+1,0,"recalculate"):a.unshift("recalculate")}return a}(a);0<o.length&&n&&o.push("deactivate"),i+=o.length,l[e]={plugin:r,actions:o}})),u.prop("disabled",!0),e.show(),a.show(),a.find(".plugin-from").html(p.join(", ")),r("Import started...",e),s(l,e,(function(){o(100),u.prop("disabled",!1),t(".button",".form-footer").hide(),t(".button-continue").show()}))}));var s=function t(a,n,i){var o=Object.keys(a),c=o.length,s=a[o[0]],l=Object.keys(a)[0];if(delete a[l],0===c)return r("Import finished. Click on the button below to continue the Setup Wizard.",n),void i();u(l,s.actions,e,null,(function(){t(a,n,i)}),s.plugin)};t(".import-data").on("change",(function(){for(var e=t(this),a=this.checked,n=e.parents(".cmb-group-description").next().find(".cmb2-option"),i=0;i<n.length;i++)"checkbox"===n[i].type&&(n[i].checked=a);a&&("yoast"===e.val()?(t('.import-data[value="aioseo"]').prop("checked",!1).trigger("change"),t('.import-data[value="seopress"]').prop("checked",!1).trigger("change")):"aioseo"===e.val()?(t('.import-data[value="yoast"]').prop("checked",!1).trigger("change"),t('.import-data[value="seopress"]').prop("checked",!1).trigger("change")):"seopress"===e.val()&&(t('.import-data[value="yoast"]').prop("checked",!1).trigger("change"),t('.import-data[value="aioseo"]').prop("checked",!1).trigger("change")))})),t(".cmb-type-group .cmb2-checkbox-list .cmb2-option").on("click",(function(){var e=t(this),a=e.attr("name"),n=e.parents("ul").find('input[name="'+a+'"]:checkbox:checked'),i=e.parents("ul").find('input[name="'+a+'"]');n.length===i.length&&e.parents(".cmb-type-group").find(".import-data").prop("checked",!0).trigger("change")})),t(".button-deactivate-plugins").on("click",(function(e){var a=t(this);a.parents("form").find("input[data-active]").length&&(e.preventDefault(),a.text(a.data("deactivate-message")),t.ajax({url:rankMath.ajaxurl,type:"POST",data:{action:"rank_math_deactivate_plugins",security:rankMath.security,plugin:"all"}}).success((function(){a.parents("form").trigger("submit")})).error((function(){window.alert("Something went wrong! Please try again later.")})))}))},yoursite:function(){t("#rank-math-search-input").on("input keypress",(function(e){var a=t(this),n=a.next();if(13===e.keyCode||13===e.which){if("createEvent"in document){var i=this.ownerDocument,r=i.createEvent("MouseEvents");r.initMouseEvent("click",!0,!0,i.defaultView,1,0,0,0,0,!1,!1,!1,!1,0,null),n[0].dispatchEvent(r)}return!1}n.attr("href",n.data("href")+encodeURIComponent(a.val()))}));var e=t("#business_type");0!==parseInt(e.data("default"))&&t("#site_type").on("change",(function(){var a=t(this).val();"news"!==a&&"webshop"!==a&&"otherbusiness"!==a||e.val("Organization").trigger("change"),"business"===a&&e.val("LocalBusiness").trigger("change")}))},analytics:function(){t("#console_authorization_code").on("paste",(function(){var e=t(this).next(".button");setTimeout((function(){e.trigger("click")}),100)}))},ready:function(){t("#auto-update").on("change",(function(){t(".rank-math-auto-update-email-wrapper").toggle(t(this).is(":checked"))})),t(".rank-math-additional-options input.rank-math-modules").on("change",(function(){var e=t(this);t.ajax({url:rankMath.api.root+"rankmath/v1/autoUpdate",method:"POST",beforeSend:function(t){t.setRequestHeader("X-WP-Nonce",rankMath.api.nonce)},data:{key:e.data("key"),value:e.is(":checked")}})}))}},window.rankMathSetupWizard.init()}))}();
includes/3rdparty/divi/assets/js/divi-admin.js CHANGED
@@ -1 +1 @@
1
- !function(){var e={4184:function(e,t){var i;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var i=arguments[t];if(i){var r=typeof i;if("string"===r||"number"===r)e.push(i);else if(Array.isArray(i)){if(i.length){var s=o.apply(null,i);s&&e.push(s)}}else if("object"===r)if(i.toString===Object.prototype.toString)for(var a in i)n.call(i,a)&&i[a]&&e.push(a);else e.push(i.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(i=function(){return o}.apply(t,[]))||(e.exports=i)}()}},t={};function i(n){var o=t[n];if(void 0!==o)return o.exports;var r=t[n]={exports:{}};return e[n](r,r.exports,i),r.exports}i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,{a:t}),t},i.d=function(e,t){for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";var e=jQuery,t=i.n(e),n=wp.i18n,o=wp.element,r=i(4184),s=i.n(r),a=["type","isDismissible","children"];function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},d.apply(this,arguments)}function l(e,t){if(null==e)return{};var i,n,o=function(e,t){if(null==e)return{};var i,n,o={},r=Object.keys(e);for(n=0;n<r.length;n++)i=r[n],t.indexOf(i)>=0||(o[i]=e[i]);return o}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n<r.length;n++)i=r[n],t.indexOf(i)>=0||Object.prototype.propertyIsEnumerable.call(e,i)&&(o[i]=e[i])}return o}var _=function(e){var t=e.type,i=void 0===t?"info":t,n=e.isDismissible,o=void 0!==n&&n,r=e.children,_=l(e,a),c=s()("notice","notice-"+i,{"is-dismissible":o});return wp.element.createElement("div",d({className:c},_),r)};function c(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var p=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.cacheDom(),this.renderSeoSettingsNotice(),this.disableDiviSeoInputs()}var i,r,s;return i=e,(r=[{key:"cacheDom",value:function(){this.$etSeoSettingsArea=t()("#wrap-seo"),this.$etDisabledTextInputs=t()("#divi_seo_home_titletext").add("#divi_seo_home_descriptiontext").add("#divi_seo_home_keywordstext").add("#divi_seo_home_separate").add("#divi_seo_single_field_title").add("#divi_seo_single_field_description").add("#divi_seo_single_field_keywords").add("#divi_seo_single_separate").add("#divi_seo_index_separate"),this.$etDisabledSelectInputs=t()("#divi_seo_home_type").add("#divi_seo_single_type").add("#divi_seo_index_type"),this.$etDisabledToggleInputs=t()("#divi_seo_home_title").add("#divi_seo_home_description").add("#divi_seo_home_keywords").add("#divi_seo_home_canonical").add("#divi_seo_single_title").add("#divi_seo_single_description").add("#divi_seo_single_keywords").add("#divi_seo_single_canonical").add("#divi_seo_index_canonical").add("#divi_seo_index_description")}},{key:"renderSeoSettingsNotice",value:function(){var e="rank-math-divi-seo-admin-notice-container";this.$etSeoSettingsArea.find(".et-tab-content").prepend(t()('<div id="'.concat(e,'" />'))),document.querySelectorAll("#"+e).forEach((function(e){(0,o.render)(this.getAdminNotice(),e)}),this)}},{key:"disableDiviSeoInputs",value:function(){this.$etDisabledTextInputs.attr("readonly",!0).css({cursor:"not-allowed"}),this.$etDisabledSelectInputs.css({cursor:"not-allowed"}).find("option").attr("disabled",!0),this.$etDisabledToggleInputs.attr("disabled",!0).find("+ .et_pb_yes_no_button").css({cursor:"not-allowed"}).on("mousedown keydown",(function(){var e=t()(this);e.is(".et_pb_on_state")?e.removeClass("et_pb_on_state").addClass("et_pb_off_state"):e.is(".et_pb_off_state")&&e.addClass("et_pb_on_state").removeClass("et_pb_off_state")}))}},{key:"getAdminNotice",value:function(){return wp.element.createElement(_,{style:{margin:"0",marginBottom:"30px",padding:"12px",borderTopColor:"#e4e4e5",borderRightColor:"#e4e4e5",borderBottomColor:"#e4e4e5"}},wp.element.createElement("p",null,(0,o.createInterpolateElement)((0,n.__)("The below options are handled via the Rank Math SEO <settings_page_link/>.","rank-math"),{settings_page_link:wp.element.createElement("a",{href:"/wp-admin/admin.php?page=rank-math-options-titles"},(0,n.__)("settings page","rank-math"))})))}}])&&c(i.prototype,r),s&&c(i,s),Object.defineProperty(i,"prototype",{writable:!1}),e}();t()((function(){new p}))}()}();
1
+ !function(){var e={4184:function(e,t){var i;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var i=arguments[t];if(i){var r=typeof i;if("string"===r||"number"===r)e.push(i);else if(Array.isArray(i)){if(i.length){var s=o.apply(null,i);s&&e.push(s)}}else if("object"===r){if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]")){e.push(i.toString());continue}for(var a in i)n.call(i,a)&&i[a]&&e.push(a)}}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(i=function(){return o}.apply(t,[]))||(e.exports=i)}()}},t={};function i(n){var o=t[n];if(void 0!==o)return o.exports;var r=t[n]={exports:{}};return e[n](r,r.exports,i),r.exports}i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,{a:t}),t},i.d=function(e,t){for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";var e=jQuery,t=i.n(e),n=wp.i18n,o=wp.element,r=i(4184),s=i.n(r),a=["type","isDismissible","children"];function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},d.apply(this,arguments)}function l(e,t){if(null==e)return{};var i,n,o=function(e,t){if(null==e)return{};var i,n,o={},r=Object.keys(e);for(n=0;n<r.length;n++)i=r[n],t.indexOf(i)>=0||(o[i]=e[i]);return o}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n<r.length;n++)i=r[n],t.indexOf(i)>=0||Object.prototype.propertyIsEnumerable.call(e,i)&&(o[i]=e[i])}return o}var _=function(e){var t=e.type,i=void 0===t?"info":t,n=e.isDismissible,o=void 0!==n&&n,r=e.children,_=l(e,a),c=s()("notice","notice-"+i,{"is-dismissible":o});return wp.element.createElement("div",d({className:c},_),r)};function c(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var p=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.cacheDom(),this.renderSeoSettingsNotice(),this.disableDiviSeoInputs()}var i,r,s;return i=e,(r=[{key:"cacheDom",value:function(){this.$etSeoSettingsArea=t()("#wrap-seo"),this.$etDisabledTextInputs=t()("#divi_seo_home_titletext").add("#divi_seo_home_descriptiontext").add("#divi_seo_home_keywordstext").add("#divi_seo_home_separate").add("#divi_seo_single_field_title").add("#divi_seo_single_field_description").add("#divi_seo_single_field_keywords").add("#divi_seo_single_separate").add("#divi_seo_index_separate"),this.$etDisabledSelectInputs=t()("#divi_seo_home_type").add("#divi_seo_single_type").add("#divi_seo_index_type"),this.$etDisabledToggleInputs=t()("#divi_seo_home_title").add("#divi_seo_home_description").add("#divi_seo_home_keywords").add("#divi_seo_home_canonical").add("#divi_seo_single_title").add("#divi_seo_single_description").add("#divi_seo_single_keywords").add("#divi_seo_single_canonical").add("#divi_seo_index_canonical").add("#divi_seo_index_description")}},{key:"renderSeoSettingsNotice",value:function(){var e="rank-math-divi-seo-admin-notice-container";this.$etSeoSettingsArea.find(".et-tab-content").prepend(t()('<div id="'.concat(e,'" />'))),document.querySelectorAll("#"+e).forEach((function(e){(0,o.render)(this.getAdminNotice(),e)}),this)}},{key:"disableDiviSeoInputs",value:function(){this.$etDisabledTextInputs.attr("readonly",!0).css({cursor:"not-allowed"}),this.$etDisabledSelectInputs.css({cursor:"not-allowed"}).find("option").attr("disabled",!0),this.$etDisabledToggleInputs.attr("disabled",!0).find("+ .et_pb_yes_no_button").css({cursor:"not-allowed"}).on("mousedown keydown",(function(){var e=t()(this);e.is(".et_pb_on_state")?e.removeClass("et_pb_on_state").addClass("et_pb_off_state"):e.is(".et_pb_off_state")&&e.addClass("et_pb_on_state").removeClass("et_pb_off_state")}))}},{key:"getAdminNotice",value:function(){return wp.element.createElement(_,{style:{margin:"0",marginBottom:"30px",padding:"12px",borderTopColor:"#e4e4e5",borderRightColor:"#e4e4e5",borderBottomColor:"#e4e4e5"}},wp.element.createElement("p",null,(0,o.createInterpolateElement)((0,n.__)("The below options are handled via the Rank Math SEO <settings_page_link/>.","rank-math"),{settings_page_link:wp.element.createElement("a",{href:"/wp-admin/admin.php?page=rank-math-options-titles"},(0,n.__)("settings page","rank-math"))})))}}])&&c(i.prototype,r),s&&c(i,s),Object.defineProperty(i,"prototype",{writable:!1}),e}();t()((function(){new p}))}()}();
includes/3rdparty/divi/assets/js/divi.js CHANGED
@@ -1 +1 @@
1
- !function(){var t={4184:function(t,e){var r;!function(){"use strict";var n={}.hasOwnProperty;function a(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var i=typeof r;if("string"===i||"number"===i)t.push(r);else if(Array.isArray(r)){if(r.length){var o=a.apply(null,r);o&&t.push(o)}}else if("object"===i)if(r.toString===Object.prototype.toString)for(var u in r)n.call(r,u)&&r[u]&&t.push(u);else t.push(r.toString())}}return t.join(" ")}t.exports?(a.default=a,t.exports=a):void 0===(r=function(){return a}.apply(e,[]))||(t.exports=r)}()}},e={};function r(n){var a=e[n];if(void 0!==a)return a.exports;var i=e[n]={exports:{}};return t[n](i,i.exports,r),i.exports}r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,{a:e}),e},r.d=function(t,e){for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},function(){"use strict";var t={};r.r(t),r.d(t,{deleteSchema:function(){return ie},refreshResults:function(){return $t},resetDirtyMetadata:function(){return $},resetRedirection:function(){return rt},saveSchema:function(){return ae},saveTemplate:function(){return oe},schemaUpdated:function(){return Jt},setEditingSchemaId:function(){return Xt},setEditorTab:function(){return Zt},setTemplateTab:function(){return te},setVersion:function(){return Ht},toggleFrontendScore:function(){return j},toggleIsDiviPageSettingsBarActive:function(){return Kt},toggleIsDiviRankMathModalActive:function(){return Gt},toggleLoaded:function(){return Lt},toggleSchemaEditor:function(){return Wt},toggleSchemaTemplates:function(){return Yt},toggleSnippetEditor:function(){return ft},toggleTrendsCta:function(){return dt},updateAIScore:function(){return ce},updateAdvancedRobots:function(){return F},updateAnalysisScore:function(){return B},updateAppData:function(){return M},updateAppUi:function(){return x},updateBreadcrumbTitle:function(){return N},updateCanonicalUrl:function(){return U},updateDescription:function(){return J},updateEditSchema:function(){return ne},updateEditSchemas:function(){return ee},updateFacebookDescription:function(){return K},updateFacebookHasOverlay:function(){return V},updateFacebookImage:function(){return G},updateFacebookImageID:function(){return z},updateFacebookImageOverlay:function(){return q},updateFacebookTitle:function(){return H},updateFeaturedImage:function(){return X},updateHasRedirect:function(){return nt},updateKeywords:function(){return C},updateKeywordsData:function(){return ue},updatePermalink:function(){return W},updatePillarContent:function(){return R},updatePostID:function(){return Q},updatePrimaryTermID:function(){return Z},updateRedirection:function(){return tt},updateRedirectionItem:function(){return et},updateRobots:function(){return L},updateSchemas:function(){return re},updateSelectedKeyword:function(){return Nt},updateSerpDescription:function(){return pt},updateSerpSlug:function(){return lt},updateSerpTitle:function(){return st},updateSnippetPreviewType:function(){return ht},updateTitle:function(){return Y},updateTwitterAppCountry:function(){return Ft},updateTwitterAppDescription:function(){return Et},updateTwitterAppGoogleplayID:function(){return jt},updateTwitterAppGoogleplayName:function(){return Bt},updateTwitterAppGoogleplayUrl:function(){return Ut},updateTwitterAppIpadID:function(){return xt},updateTwitterAppIpadName:function(){return Ct},updateTwitterAppIpadUrl:function(){return Rt},updateTwitterAppIphoneID:function(){return Ot},updateTwitterAppIphoneName:function(){return At},updateTwitterAppIphoneUrl:function(){return Mt},updateTwitterAuthor:function(){return bt},updateTwitterCardType:function(){return gt},updateTwitterDescription:function(){return vt},updateTwitterHasOverlay:function(){return _t},updateTwitterImage:function(){return kt},updateTwitterImageID:function(){return wt},updateTwitterImageOverlay:function(){return St},updateTwitterPlayerSize:function(){return Dt},updateTwitterPlayerStreamCtype:function(){return Pt},updateTwitterPlayerStreamUrl:function(){return It},updateTwitterPlayerUrl:function(){return Tt},updateTwitterTitle:function(){return yt},updateTwitterUseFacebook:function(){return mt}});var e={};r.r(e),r.d(e,{appData:function(){return me},appUi:function(){return we}});var n={};r.r(n),r.d(n,{getAdvancedRobots:function(){return Pe},getAnalysisScore:function(){return Se},getAppData:function(){return ke},getBreadcrumbTitle:function(){return Oe},getCanonicalUrl:function(){return Ee},getContentAIScore:function(){return Gr},getDescription:function(){return Qe},getDirtyMetadata:function(){return _e},getEditSchemas:function(){return dr},getEditingSchema:function(){return mr},getEditorTab:function(){return yr},getFacebookAuthor:function(){return Ne},getFacebookDescription:function(){return Le},getFacebookHasOverlay:function(){return Ke},getFacebookImage:function(){return He},getFacebookImageID:function(){return $e},getFacebookImageOverlay:function(){return Ge},getFacebookTitle:function(){return Fe},getFeaturedImage:function(){return We},getFeaturedImageHtml:function(){return Ye},getKeywords:function(){return Te},getKeywordsData:function(){return Kr},getPermalink:function(){return qe},getPillarContent:function(){return De},getPostID:function(){return ze},getPreviewSchema:function(){return gr},getPrimaryTermID:function(){return Je},getRedirectionID:function(){return Xe},getRedirectionItem:function(){return er},getRedirectionType:function(){return Ze},getRedirectionUrl:function(){return tr},getRichSnippets:function(){return Ae},getRobots:function(){return Ie},getSchemas:function(){return hr},getSelectedKeyword:function(){return Ce},getSerpDescription:function(){return or},getSerpSlug:function(){return ir},getSerpTitle:function(){return ar},getShowScoreFrontend:function(){return Me},getSnippetPreviewType:function(){return cr},getTemplateTab:function(){return vr},getTitle:function(){return Ve},getTwitterAppCountry:function(){return Fr},getTwitterAppDescription:function(){return Er},getTwitterAppGoogleplayID:function(){return jr},getTwitterAppGoogleplayName:function(){return Br},getTwitterAppGoogleplayUrl:function(){return Ur},getTwitterAppIpadID:function(){return xr},getTwitterAppIpadName:function(){return Cr},getTwitterAppIpadUrl:function(){return Rr},getTwitterAppIphoneID:function(){return Or},getTwitterAppIphoneName:function(){return Ar},getTwitterAppIphoneUrl:function(){return Mr},getTwitterAuthor:function(){return Sr},getTwitterCardType:function(){return wr},getTwitterDescription:function(){return _r},getTwitterHasOverlay:function(){return Ir},getTwitterImage:function(){return Dr},getTwitterImageID:function(){return Tr},getTwitterImageOverlay:function(){return Pr},getTwitterPlayerSize:function(){return Nr},getTwitterPlayerStream:function(){return $r},getTwitterPlayerStreamCtype:function(){return Hr},getTwitterPlayerUrl:function(){return Lr},getTwitterTitle:function(){return kr},getTwitterUseFacebook:function(){return br},hasRedirect:function(){return rr},hasSchemaUpdated:function(){return fr},isDiviPageSettingsBarActive:function(){return Be},isDiviRankMathModalActive:function(){return Ue},isLoaded:function(){return xe},isPro:function(){return je},isRefreshing:function(){return Re},isSchemaEditorOpen:function(){return lr},isSchemaTemplatesOpen:function(){return pr},isSnippetEditorOpen:function(){return ur},isTrendsCtaOpen:function(){return sr}});var a=wp.apiFetch,i=r.n(a),o=wp.data,u=wp.mediaUtils,c=wp.element,s=wp.hooks,l=wp.components,p=(0,l.createSlotFill)("RankMathAfterEditor"),f=p.Fill,h=p.Slot,d=function(t){var e=t.children,r=t.className;return wp.element.createElement(f,null,wp.element.createElement(l.PanelRow,{className:r},e))};d.Slot=h;var m=d,g=(0,l.createSlotFill)("RankMathAdvancedTab"),y=g.Fill,v=g.Slot,b=function(t){var e=t.children,r=t.className;return wp.element.createElement(y,null,wp.element.createElement(l.PanelRow,{className:r},e))};b.Slot=v;var w=b,k=(0,l.createSlotFill)("RankMathAfterFocusKeyword"),_=k.Fill,S=k.Slot,T=function(t){var e=t.children,r=t.className;return wp.element.createElement(_,null,wp.element.createElement("div",{className:r},e))};T.Slot=S;var D=T,I=rankMathAnalyzer,P=jQuery,E=r.n(P);function O(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var A=new(function(){function t(){var e,r,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),n=null,(r="map")in(e=this)?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n}var e,r,n;return e=t,(r=[{key:"swap",value:function(t,e){var r=this;if(!(t=t||""))return"";var n=new RegExp(/%(([a-z0-9_-]+)\(([^)]*)\)|[^\s]+)%/,"giu");return t.replace(" %page%","").replace("%sep% %sep%","%sep%").replace(n,(function(t){return r.replace(e,t)})).trim()}},{key:"replace",value:function(t,e){var r=e.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():E()("#description").val():r.includes("customfield(")?(r=r.replace("customfield(","").replace(")",""))in rankMath.customFields?rankMath.customFields[r]:"":(t=t||this.getMap(),(r="seo_description"===(r="seo_title"===(r=r.includes("(")?r.split("(")[0]:r)?"title":r)?"excerpt":r)in t?t[r]:"")}},{key:"getMap",value:function(){var t=this;return null!==this.map||(this.map={},E().each(rankMath.variables,(function(e,r){e=e.toLowerCase().replace(/%+/g,"").split("(")[0],t.map[e]=r.example}))),this.map}},{key:"setVariable",value:function(t,e){null!==this.map?this.map[t]=e:void 0!==rankMath.variables[t]&&(rankMath.variables[t].example=e)}}])&&O(e.prototype,r),n&&O(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}());function M(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return e=(0,s.applyFilters)("rank_math_sanitize_data",e,t,r),null!==n&&(n=(0,s.applyFilters)("rank_math_sanitize_meta_value",n,t,r)),n=null===n?e:n,(0,s.doAction)("rank_math_data_changed",t,e,r),{type:"RANK_MATH_APP_DATA",key:t,value:e,metaKey:r,metaValue:n}}function x(t,e){return(0,s.doAction)("rank_math_update_app_ui",t,e),{type:"RANK_MATH_APP_UI",key:t,value:e}}function C(t){return A.setVariable("focuskw",t.split(",")[0]),rankMathEditor.refresh("keyword"),M("keywords",t,"rank_math_focus_keyword")}function R(t){return M("pillarContent",t,"rank_math_pillar_content",!0===t?"on":"off")}function j(t){return M("showScoreFrontend",t,"rank_math_dont_show_seo_score",!0===t?"off":"on")}function B(t){return M("score",t,"rank_math_seo_score")}function U(t){return M("canonicalUrl",t,"rank_math_canonical_url")}function F(t){return M("advancedRobots",t,"rank_math_advanced_robots")}function L(t){return M("robots",t,"rank_math_robots",Object.keys(t))}function N(t){return M("breadcrumbTitle",t,"rank_math_breadcrumb_title")}function $(){return M("dirtyMetadata",{})}function H(t){return M("facebookTitle",t,"rank_math_facebook_title")}function K(t){return M("facebookDescription",t,"rank_math_facebook_description")}function G(t){return M("facebookImage",t,"rank_math_facebook_image")}function z(t){return M("facebookImageID",t,"rank_math_facebook_image_id")}function V(t){return M("facebookHasOverlay",t,"rank_math_facebook_enable_image_overlay",!0===t?"on":"off")}function q(t){return M("facebookImageOverlay",t,"rank_math_facebook_image_overlay")}function Q(t){return rankMath.objectID=t,M("postID",t)}function W(t){return M("permalink",t,"permalink")}function Y(t){return M("title",t,"rank_math_title")}function J(t){return M("description",t,"rank_math_description")}function X(t){return M("featuredImage",t)}function Z(t,e){return M("primaryTerm",parseInt(t),"rank_math_primary_"+e)}function tt(t,e){return M(t,e)}function et(t){return x("redirectionItem",t)}function rt(){return x("redirectionItem",{})}function nt(t){return x("hasRedirect",t)}var at=lodash,it=document.createElement("div");function ot(t){return t&&"string"==typeof t&&(t=t.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,"").replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,""),it.innerHTML=t,t=it.textContent,it.textContent=""),t}var ut=function(t,e){return t=(t=I.Helpers.cleanText(t)).replace(/\r?\n|\r/g," "),e?(0,at.truncate)(t,{length:e,separator:" "}):t};function ct(t){var e=rankMathEditor.assessor.dataCollector.getData(),r=e.excerpt,n=function(t){if((0,at.isEmpty)(t))return"";t=I.Helpers.stripScript(t),t=I.Helpers.stripStyle(t),t=(0,at.unescape)(t).replace(/\[caption[^\]]*\](.*)\[\/caption\]/g,"");var e=(0,at.filter)(I.Helpers.matchParagraphs(t,!0,!0),(function(t){return""!==t.trim()}));if(!e.length)return"";var r=rankMathEditor.getPrimaryKeyword();if(""!==r){var n=(0,at.filter)(e,(function(t){return(0,at.includes)(t.toLowerCase(),r.toLowerCase())}));if(0<n.length)return ut(n[0],160)}return ut(e[0],160)}(e.content),a=(0,at.isUndefined)(r)||(0,at.isEmpty)(r)?n:(0,at.unescape)(r);if(A.setVariable("excerpt",a),A.setVariable("seo_description",a),""!==(t=ot((0,s.applyFilters)("rankMath/description",t))))return I.Helpers.cleanText(t);if(!(0,at.isUndefined)(r)&&!(0,at.isEmpty)(r))return I.Helpers.cleanText(r);var i=(0,at.unescape)(rankMath.assessor.serpData.descriptionTemplate);return(0,at.isUndefined)(i)||""===i?n:I.Helpers.cleanText(i)}function st(t){return t=A.swap(""!==t?t:rankMath.assessor.serpData.titleTemplate),rankMathEditor.refresh("title"),x("serpTitle",t)}function lt(t){return t=""!==t?t:rankMathEditor.assessor.dataCollector.getSlug(),rankMathEditor.refresh("permalink"),x("serpSlug",t)}function pt(t){return t=A.swap(ct(t)),rankMathEditor.refresh("description"),x("serpDescription",t)}function ft(t){return x("isSnippetEditorOpen",t)}function ht(t){return x("snippetPreviewType",t)}function dt(t){return x("isTrendsCtaOpen",t)}function mt(t){return M("twitterUseFacebook",t,"rank_math_twitter_use_facebook",!0===t?"on":"off")}function gt(t){return M("twitterCardType",t,"rank_math_twitter_card_type")}function yt(t){return M("twitterTitle",t,"rank_math_twitter_title")}function vt(t){return M("twitterDescription",t,"rank_math_twitter_description")}function bt(t){return M("twitterAuthor",t,"rank_math_twitter_author")}function wt(t){return M("twitterImageID",t,"rank_math_twitter_image_id")}function kt(t){return M("twitterImage",t,"rank_math_twitter_image")}function _t(t){return M("twitterHasOverlay",t,"rank_math_twitter_enable_image_overlay",!0===t?"on":"off")}function St(t){return M("twitterImageOverlay",t,"rank_math_twitter_image_overlay")}function Tt(t){return M("twitterPlayerUrl",t,"rank_math_twitter_player_url")}function Dt(t){return M("twitterPlayerSize",t,"rank_math_twitter_player_size")}function It(t){return M("twitterPlayerStream",t,"rank_math_twitter_player_stream")}function Pt(t){return M("twitterPlayerStreamCtype",t,"rank_math_twitter_player_stream_ctype")}function Et(t){return M("twitterAppDescription",t,"rank_math_twitter_app_description")}function Ot(t){return M("twitterAppIphoneID",t,"rank_math_twitter_app_iphone_id")}function At(t){return M("twitterAppIphoneName",t,"rank_math_twitter_app_iphone_name")}function Mt(t){return M("twitterAppIphoneUrl",t,"rank_math_twitter_app_iphone_url")}function xt(t){return M("twitterAppIpadID",t,"rank_math_twitter_app_ipad_id")}function Ct(t){return M("twitterAppIpadName",t,"rank_math_twitter_app_ipad_name")}function Rt(t){return M("twitterAppIpadUrl",t,"rank_math_twitter_app_ipad_url")}function jt(t){return M("twitterAppGoogleplayID",t,"rank_math_twitter_app_googleplay_id")}function Bt(t){return M("twitterAppGoogleplayName",t,"rank_math_twitter_app_googleplay_name")}function Ut(t){return M("twitterAppGoogleplayUrl",t,"rank_math_twitter_app_googleplay_url")}function Ft(t){return M("twitterAppCountry",t,"rank_math_twitter_app_country")}function Lt(t){return x("isLoaded",t)}function Nt(t){return x("selectedKeyword",t)}function $t(){return x("refreshResults",Date.now())}function Ht(){return x("isPro",!0)}function Kt(t){return x("isDiviPageSettingsBarActive",t)}function Gt(t){return x("isDiviRankMathModalActive",t)}var zt=wp.i18n;function Vt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function qt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Vt(Object(r),!0).forEach((function(e){Qt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Vt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Qt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Wt(t){return x("isSchemaEditorOpen",t)}function Yt(t){return x("isSchemaTemplatesOpen",t)}function Jt(t){return x("schemaUpdated",t)}function Xt(t){return x("editingSchemaId",t)}function Zt(t){return x("editorTab",t)}function te(t){return x("templateTab",t)}function ee(t){return x("editSchemas",t)}function re(t){return M("schemas",t)}function ne(t,e){var r=qt({},(0,o.select)("rank-math").getEditSchemas());return r[t]=e,x("editSchemas",r)}function ae(t,e){var r=qt({},(0,o.select)("rank-math").getSchemas());return r[t]=e,M("schemas",r)}function ie(t){var e=qt({},(0,o.select)("rank-math").getSchemas());return delete e[t],(0,s.doAction)("rank_math_schema_trash",t),M("schemas",e,"rank_math_delete_"+t,"")}function oe(t,e,r){return i()({method:"POST",path:"rankmath/v1/saveTemplate",data:{schema:t,postId:r}}).then((function(r){e({loading:!1,showNotice:!0,postId:r.id}),setTimeout((function(){e({showNotice:!1}),(0,at.get)(rankMath,"isTemplateScreen",!1)&&(document.title=(0,zt.__)("Edit Schema","rank-math"),window.history.pushState(null,"",r.link.replace(/&amp;/g,"&")))}),2e3),rankMath.schemaTemplates.push({schema:t,title:t.metadata.title,type:t["@type"]})})),e({loading:!0}),{type:"DONT_WANT_TO_DO_SOMETHING"}}function ue(t){return x("keywordsData",t)}function ce(t){return M("contentAIScore",t,"rank_math_contentai_score")}function se(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function le(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?se(Object(r),!0).forEach((function(e){pe(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):se(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function pe(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var fe=rankMath.assessor.serpData,he=rankMath.assessor.hasRedirection,de={postID:null,title:fe.title?fe.title:fe.titleTemplate,description:fe.description,keywords:fe.focusKeywords,pillarContent:fe.pillarContent,featuredImage:"",permalink:!1,primaryTerm:fe.primaryTerm,robots:fe.robots,advancedRobots:fe.advancedRobots,canonicalUrl:fe.canonicalUrl,breadcrumbTitle:fe.breadcrumbTitle,showScoreFrontend:fe.showScoreFrontend,redirectionID:he?(0,at.get)(rankMath.assessor,"redirection.id",""):"",redirectionType:he?(0,at.get)(rankMath.assessor,"redirection.header_code",""):"",redirectionUrl:he?(0,at.get)(rankMath.assessor,"redirection.url_to",""):"",facebookTitle:fe.facebookTitle,facebookImage:fe.facebookImage,facebookImageID:fe.facebookImageID,facebookAuthor:fe.facebookAuthor,facebookDescription:fe.facebookDescription,facebookHasOverlay:fe.facebookHasOverlay,facebookImageOverlay:fe.facebookImageOverlay,twitterTitle:fe.twitterTitle,twitterImage:fe.twitterImage,twitterAuthor:fe.twitterAuthor,twitterImageID:fe.twitterImageID,twitterCardType:fe.twitterCardType,twitterUseFacebook:fe.twitterUseFacebook,twitterDescription:fe.twitterDescription,twitterHasOverlay:fe.twitterHasOverlay,twitterImageOverlay:fe.twitterImageOverlay,twitterPlayerUrl:fe.twitterPlayerUrl,twitterPlayerSize:fe.twitterPlayerSize,twitterPlayerStream:fe.twitterPlayerStream,twitterPlayerStreamCtype:fe.twitterPlayerStreamCtype,twitterAppDescription:fe.twitterAppDescription,twitterAppIphoneName:fe.twitterAppIphoneName,twitterAppIphoneID:fe.twitterAppIphoneID,twitterAppIphoneUrl:fe.twitterAppIphoneUrl,twitterAppIpadName:fe.twitterAppIpadName,twitterAppIpadID:fe.twitterAppIpadID,twitterAppIpadUrl:fe.twitterAppIpadUrl,twitterAppGoogleplayName:fe.twitterAppGoogleplayName,twitterAppGoogleplayID:fe.twitterAppGoogleplayID,twitterAppGoogleplayUrl:fe.twitterAppGoogleplayUrl,twitterAppCountry:fe.twitterAppCountry,schemas:(0,at.get)(rankMath,"schemas",{}),score:0,contentAIScore:{},dirtyMetadata:{}};function me(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:de,r=arguments.length>1?arguments[1]:void 0,n=le({},e.dirtyMetadata);return!1!==r.metaKey&&(n[r.metaKey]=r.metaValue),"RANK_MATH_APP_DATA"===r.type?"dirtyMetadata"===r.key?le(le({},e),{},{dirtyMetadata:r.value}):le(le({},e),{},(pe(t={},r.key,r.value),pe(t,"dirtyMetadata",n),t)):e}function ge(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ye(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ge(Object(r),!0).forEach((function(e){ve(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ge(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function ve(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var be={isLoaded:!1,isPro:!1,selectedKeyword:{tag:"",index:0,data:{value:""}},hasRedirect:rankMath.assessor.hasRedirection&&!(0,at.isEmpty)((0,at.get)(rankMath.assessor,"redirection.id",""))&&!(0,at.isEmpty)((0,at.get)(rankMath.assessor,"redirection.url_to","")),serpTitle:"",serpSlug:"",serpDescription:"",isSnippetEditorOpen:!1,snippetPreviewType:"",refreshResults:"",redirectionItem:{},isTrendsCtaOpen:!1,editorTab:"",templateTab:"",editSchemas:{},editingSchemaId:"",isSchemaEditorOpen:!1,isSchemaTemplatesOpen:!1,schemaUpdated:!1,isDiviRankMathModalActive:!1,isDiviPageSettingsBarActive:!1,keywordsData:(0,at.get)(rankMath,"ca_data",[])};function we(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:be,e=arguments.length>1?arguments[1]:void 0;return"RANK_MATH_APP_UI"===e.type?ye(ye({},t),{},ve({},e.key,e.value)):t}function ke(t){return t.appData}function _e(t){return t.appData.dirtyMetadata}function Se(t){return t.appData.score}function Te(t){return t.appData.keywords}function De(t){return t.appData.pillarContent}function Ie(t){return t.appData.robots}function Pe(t){return t.appData.advancedRobots}function Ee(t){return t.appData.canonicalUrl}function Oe(t){return t.appData.breadcrumbTitle}function Ae(t){return"todo"}function Me(t){return t.appData.showScoreFrontend}function xe(t){return t.appUi.isLoaded}function Ce(t){return t.appUi.selectedKeyword}function Re(t){return t.appUi.refreshResults}function je(t){return t.appUi.isPro}function Be(t){return t.appUi.isDiviPageSettingsBarActive}function Ue(t){return t.appUi.isDiviRankMathModalActive}function Fe(t){return t.appData.facebookTitle}function Le(t){return t.appData.facebookDescription}function Ne(t){return t.appData.facebookAuthor}function $e(t){return t.appData.facebookImageID}function He(t){return t.appData.facebookImage}function Ke(t){return t.appData.facebookHasOverlay}function Ge(t){return""!==t.appData.facebookImageOverlay?t.appData.facebookImageOverlay:"play"}function ze(t){return t.appData.postID}function Ve(t){return t.appData.title}function qe(t){return t.appData.permalink}function Qe(t){return t.appData.description}function We(t){return t.appData.featuredImage}function Ye(t){var e=t.appData.featuredImage;return'<img src="'.concat(e.source_url,'" alt="').concat(e.alt_text,'" >')}function Je(t){return t.appData.primaryTerm}function Xe(t){return t.appData.redirectionID}function Ze(t){return t.appData.redirectionType}function tr(t){return t.appData.redirectionUrl}function er(t){return t.appUi.redirectionItem}function rr(t){return t.appUi.hasRedirect}var nr=wp.url;function ar(t){return ot(t.appUi.serpTitle)}function ir(t){return(0,nr.safeDecodeURIComponent)(t.appUi.serpSlug)}function or(t){return t.appUi.serpDescription}function ur(t){return t.appUi.isSnippetEditorOpen}function cr(t){return t.appUi.snippetPreviewType}function sr(t){return t.appUi.isTrendsCtaOpen}function lr(t){return t.appUi.isSchemaEditorOpen}function pr(t){return t.appUi.isSchemaTemplatesOpen}function fr(t){return t.appUi.schemaUpdated}function hr(t){return t.appData.schemas}function dr(t){return t.appUi.editSchemas}function mr(t){return{id:t.appUi.editingSchemaId,data:t.appUi.editSchemas[t.appUi.editingSchemaId]}}function gr(t){return t.appData.schemas[t.appUi.editingSchemaId]}function yr(t){return t.appUi.editorTab}function vr(t){return t.appUi.templateTab}function br(t){return t.appData.twitterUseFacebook}function wr(t){return t.appData.twitterCardType}function kr(t){return t.appData.twitterTitle}function _r(t){return t.appData.twitterDescription}function Sr(t){return t.appData.twitterAuthor}function Tr(t){return t.appData.twitterImageID}function Dr(t){return t.appData.twitterImage}function Ir(t){return t.appData.twitterHasOverlay}function Pr(t){return""!==t.appData.twitterImageOverlay?t.appData.twitterImageOverlay:"play"}function Er(t){return t.appData.twitterAppDescription}function Or(t){return t.appData.twitterAppIphoneID}function Ar(t){return t.appData.twitterAppIphoneName}function Mr(t){return t.appData.twitterAppIphoneUrl}function xr(t){return t.appData.twitterAppIpadID}function Cr(t){return t.appData.twitterAppIpadName}function Rr(t){return t.appData.twitterAppIpadUrl}function jr(t){return t.appData.twitterAppGoogleplayID}function Br(t){return t.appData.twitterAppGoogleplayName}function Ur(t){return t.appData.twitterAppGoogleplayUrl}function Fr(t){return t.appData.twitterAppCountry}function Lr(t){return t.appData.twitterPlayerUrl}function Nr(t){return t.appData.twitterPlayerSize}function $r(t){return t.appData.twitterPlayerStream}function Hr(t){return t.appData.twitterPlayerStreamCtype}function Kr(t){return t.appUi.keywordsData}function Gr(t){return t.appData.contentAIScore}var zr=(0,o.registerStore)("rank-math",{reducer:(0,o.combineReducers)(e),selectors:n,actions:t});function Vr(){return zr}var qr={"&amp;":"&","&quot;":'"',"&#39;":"'"},Qr=/&(?:amp|quot|#(0+)?39);/g,Wr=RegExp(Qr.source);var Yr=function(t){return t&&Wr.test(t)?t.replace(Qr,(function(t){return qr[t]||"'"})):t||""};function Jr(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var Xr=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.analyzer=new I.Analyzer({i18n:zt,analyses:rankMath.assessor.researchesTests}),this.dataCollector=e,this.registerRefresh(),this.updateKeywordResult=this.updateKeywordResult.bind(this),this.sanitizeData=this.sanitizeData.bind(this),(0,s.addAction)("rankMath_analysis_keywordUsage_updated","rank-math",this.updateKeywordResult),(0,s.addFilter)("rank_math_sanitize_meta_value","rank-math",this.sanitizeData),(0,s.addFilter)("rank_math_sanitize_data","rank-math",this.sanitizeData)}var e,r,n;return e=t,r=[{key:"updateKeywordResult",value:function(t,e){rankMathEditor.resultManager.update(t,{keywordNotUsed:e}),t===this.getSelectedKeyword().toLowerCase()&&(0,o.dispatch)("rank-math").refreshResults()}},{key:"sanitizeData",value:function(t,e){return"schemas"===e||(0,at.isObject)(t)||(0,at.isEmpty)(t)?t:I.Helpers.sanitizeAppData(t)}},{key:"getPaper",value:function(t,e){var r=Vr().getState(),n=this.dataCollector.getData(),a=new I.Paper("",{locale:rankMath.localeFull});return a.setTitle(r.appUi.serpTitle),a.setPermalink(n.slug),a.setDescription(r.appUi.serpDescription),a.setUrl(n.permalink),a.setText(Yr((0,s.applyFilters)("rank_math_content",n.content))),a.setKeyword(t),a.setKeywords(e),a.setSchema(r.appData.schemas),(0,at.isUndefined)(n.featuredImage)||(a.setThumbnail(n.featuredImage.source_url),a.setThumbnailAltText(I.Helpers.removeDiacritics(n.featuredImage.alt_text))),(0,at.isEmpty)(r.appData.contentAIScore)&&(0,at.isEmpty)(rankMath.ca_keyword)||a.setContentAI(!0),a}},{key:"registerRefresh",value:function(){var t=this;this.refresh=(0,at.debounce)((function(e){var r=Vr().getState();if(!1!==r.appUi.isLoaded){var n=r.appData.keywords.split(","),a=[];(0,s.doAction)("rank_math_"+e+"_refresh"),n.map((function(e,r){var i=t.getPaper(I.Helpers.removeDiacritics(e),n),u=0===r?rankMath.assessor.researchesTests:t.filterTests(t.getSecondaryKeywordTests());a.push(t.analyzer.analyzeSome(u,i).then((function(t){rankMathEditor.resultManager.update(i.getKeyword(),t,0===r),0===r&&(0,o.dispatch)("rank-math").updateAnalysisScore(rankMathEditor.resultManager.getScore(i.getKeyword()))}))),Promise.all(a).then((function(){(0,o.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 t=Vr().getState().appData.keywords;return I.Helpers.removeDiacritics(t.split(",")[0])}},{key:"getSelectedKeyword",value:function(){var t=Vr().getState(),e=""!==t.appUi.selectedKeyword.data.value?t.appUi.selectedKeyword.data.value:t.appData.keywords.split(",")[0];return I.Helpers.removeDiacritics(e)}},{key:"getResearch",value:function(t){return this.analyzer.researcher.getResearch(t)}},{key:"filterTests",value:function(t){return(0,at.intersection)(t,rankMath.assessor.researchesTests)}}],r&&Jr(e.prototype,r),n&&Jr(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}(),Zr=Xr;function tn(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var en=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),rankMath.is_front_page&&((0,s.addFilter)("rankMath_analysis_contentLength","rank-math",this.contentLength),(0,s.addFilter)("rankMath_analysis_contentLength_boundaries","rank-math",this.contentLengthBoundary))}var e,r,n;return e=t,(r=[{key:"contentLength",value:function(t){return{hasScore:t.hasScore,failed:(0,zt.__)("Content is %1$d words long. Consider using at least 300 words.","rank-math"),tooltipText:(0,zt.__)("Minimum recommended content length should be 300 words.","rank-math"),emptyContent:(0,zt.sprintf)((0,zt.__)("Content should be %1$s long.","rank-math"),'<a href="https://s.rankmath.com/100contentlength" target="_blank">'+(0,zt.__)("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}}}}])&&tn(e.prototype,r),n&&tn(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();function rn(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var nn=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,r,n;return e=t,(r=[{key:"setup",value:function(t){Vr(),this.resultManager=new I.ResultManager,this.assessor=new Zr(t),new en,(0,s.doAction)("rank_math_loaded")}},{key:"refresh",value:function(t){this.assessor.refresh(t)}},{key:"getPrimaryKeyword",value:function(){return this.assessor.getPrimaryKeyword()}},{key:"getSelectedKeyword",value:function(){return this.assessor.getSelectedKeyword()}},{key:"updatePermalink",value:function(t){throw"Implement the function"}},{key:"updatePermalinkSanitize",value:function(t){throw"Implement the function"}}])&&rn(e.prototype,r),n&&rn(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();function an(t){return an="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},an(t)}function on(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function un(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?on(Object(r),!0).forEach((function(e){fn(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):on(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function cn(){cn=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},a=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",o=n.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function c(t,e,r,n){var a=e&&e.prototype instanceof p?e:p,i=Object.create(a.prototype),o=new S(n||[]);return i._invoke=function(t,e,r){var n="suspendedStart";return function(a,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===a)throw i;return D()}for(r.method=a,r.arg=i;;){var o=r.delegate;if(o){var u=w(o,r);if(u){if(u===l)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=s(t,e,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(t,r,o),i}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var l={};function p(){}function f(){}function h(){}var d={};u(d,a,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(T([])));g&&g!==e&&r.call(g,a)&&(d=g);var y=h.prototype=p.prototype=Object.create(d);function v(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){function n(a,i,o,u){var c=s(t[a],t,i);if("throw"!==c.type){var l=c.arg,p=l.value;return p&&"object"==an(p)&&r.call(p,"__await")?e.resolve(p.__await).then((function(t){n("next",t,o,u)}),(function(t){n("throw",t,o,u)})):e.resolve(p).then((function(t){l.value=t,o(l)}),(function(t){return n("throw",t,o,u)}))}u(c.arg)}var a;this._invoke=function(t,r){function i(){return new e((function(e,a){n(t,r,e,a)}))}return a=a?a.then(i,i):i()}}function w(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,w(t,e),"throw"===e.method))return l;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var n=s(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,l;var a=n.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,l):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,l)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:D}}function D(){return{value:void 0,done:!0}}return f.prototype=h,u(y,"constructor",h),u(h,"constructor",f),f.displayName=u(h,o,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,o,"GeneratorFunction")),t.prototype=Object.create(y),t},t.awrap=function(t){return{__await:t}},v(b.prototype),u(b.prototype,i,(function(){return this})),t.AsyncIterator=b,t.async=function(e,r,n,a,i){void 0===i&&(i=Promise);var o=new b(c(e,r,n,a),i);return t.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},v(y),u(y,o,"Generator"),u(y,a,(function(){return this})),u(y,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=T,S.prototype={constructor:S,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(_),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return o.type="throw",o.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],o=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(u&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var i=a;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=t,o.arg=e,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),l},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),l}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var a=n.arg;_(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:T(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},t}function sn(t,e,r,n,a,i,o){try{var u=t[i](o),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,a)}function ln(t){return function(){var e=this,r=arguments;return new Promise((function(n,a){var i=t.apply(e,r);function o(t){sn(i,n,a,o,u,"next",t)}function u(t){sn(i,n,a,o,u,"throw",t)}o(void 0)}))}}function pn(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function fn(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var hn=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),fn(this,"initialize",!1),this.etSettingsData={title:"",excerpt:"",featuredImage:""},this._featuredImage=null,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.subscribeToDivi()}var e,r,n,a,u,c;return e=t,r=[{key:"collectPostData",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 parseInt((0,at.get)(ETBuilderBackendDynamic,"postId",0))}},{key:"getTitle",value:function(){return this.etSettingsData.title}},{key:"setTitle",value:function(t){this.etSettingsData.title=t}},{key:"getContent",value:function(){var t=[];return this.getContentArea().find(".et_pb_section").each((function(){t.push(E()(this).html())})),t.join("")}},{key:"getContentArea",value:function(){if(this._etAppFrameElem||(this._etAppFrameElem=(0,at.get)(ET_Builder,"Frames.app.frameElement",document.querySelector("iframe#et-fb-app-frame"))),!this._etAppFrameElem)return E()("<div />");var t=this._etAppFrameElem.contentWindow.document,e=E()((0,at.isNull)(t.querySelector("#theme-builder-area--post_content"))?t.querySelector("body"):t.querySelector("#theme-builder-area--post_content"));return e.length<1?E()("<div />"):e}},{key:"getExcerpt",value:function(){return this.etSettingsData.excerpt}},{key:"setExcerpt",value:function(t){this.etSettingsData.excerpt=t}},{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(0,nr.safeDecodeURIComponent)((0,o.select)("rank-math").getPermalink())}},{key:"getFeaturedImage",value:function(){if(this._featuredImage)return this._featuredImage;this.setFeaturedImage()}},{key:"setFeaturedImage",value:(c=ln(cn().mark((function t(e){return cn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0!==e){t.next=4;break}return t.next=3,this.fetchFeaturedImageId();case 3:e=t.sent;case 4:if(!this.isValidMediaId(e)||!e){t.next=10;break}return t.next=7,this.fetchWpMedia(e);case 7:this._featuredImage=t.sent,t.next=11;break;case 10:this._featuredImage=!1;case 11:case"end":return t.stop()}}),t,this)}))),function(t){return c.apply(this,arguments)})},{key:"fetchFeaturedImageId",value:(u=ln(cn().mark((function t(){var e;return cn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=null,t.next=3,i()({path:"/rankmath/v1/getFeaturedImageId",method:"POST",data:{postId:(0,at.get)(ETBuilderBackendDynamic,"postId",0)}}).then((function(t){return e=!!t.success&&t.featImgId}));case 3:return t.abrupt("return",e);case 4:case"end":return t.stop()}}),t)}))),function(){return u.apply(this,arguments)})},{key:"fetchWpMedia",value:(a=ln(cn().mark((function t(e){var r;return cn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r={},t.next=3,i()({path:"/wp/v2/media/".concat(e),method:"GET"}).then((function(t){return r=t}));case 3:return t.abrupt("return",r);case 4:case"end":return t.stop()}}),t)}))),function(t){return a.apply(this,arguments)})},{key:"isValidMediaId",value:function(t){return"number"==typeof t&&0<t}},{key:"subscribeToDivi",value:function(){var t=this;this.setTitle((0,at.get)(ETBuilderBackendDynamic,"postTitle","")),this.setExcerpt((0,at.get)(ETBuilderBackendDynamic,"postMeta.post_excerpt","")),this.setFeaturedImage((0,at.get)(ETBuilderBackendDynamic,"currentPage.thumbnailId",0)),(0,o.dispatch)("rank-math").updatePermalink(rankMath.postName),this.subscriber=(0,at.debounce)(this.refresh,500),(0,o.subscribe)(this.subscriber),E()(".et-fb-page-settings-bar").find(".et-fb-button--save-draft, .et-fb-button--publish").on("click",(function(){setTimeout((function(){t.savePost(),t.saveRedirection(),t.saveSchemas()}),500)})),(0,s.addFilter)("et.builder.store.setting.update","rank-math",(function(e,r){if(e)switch(r){case"et_pb_post_settings_title":t.setTitle(e),t.subscriber();break;case"et_pb_post_settings_excerpt":t.setExcerpt(e),t.subscriber();break;case"et_pb_post_settings_image":t.setFeaturedImage(parseInt(e)),t.subscriber()}return e})),window.addEventListener("message",(function(e){"et_fb_section_content_change"===e.data.etBuilderEvent&&t.subscriber()}))}},{key:"refresh",value:function(){var t=un({},this._data);this._data=this.collectPostData(),this.handleEditorChange(t),!(0,at.isEqual)(t,this._data)&&t.id&&(0,o.dispatch)("rank-math").refreshResults()}},{key:"savePost",value:function(){var t=(0,o.select)("rank-math").getDirtyMetadata();(0,at.isEmpty)(t)||(i()({method:"POST",path:"/rankmath/v1/updateMeta",data:{objectID:rankMath.objectID,objectType:rankMath.objectType,meta:t}}).then((function(t){(0,at.isString)(t.slug)&&(0,o.dispatch)("rank-math").updatePermalink(t.slug),(0,s.doAction)("rank_math_metadata_updated",t)})),(0,o.dispatch)("rank-math").resetDirtyMetadata())}},{key:"saveRedirection",value:function(){var t=(0,o.select)("rank-math").getRedirectionItem();(0,at.isEmpty)(t)||(t.objectID=this.getPostID(),t.redirectionSources=this.getPermalink(),i()({method:"POST",path:"/rankmath/v1/updateRedirection",data:t}).then((function(t){"delete"===t.action?(0,o.dispatch)("rank-math").updateRedirection("redirectionID",0):"new"===t.action&&(0,o.dispatch)("rank-math").updateRedirection("redirectionID",t.id)})),(0,o.dispatch)("rank-math").resetRedirection())}},{key:"saveSchemas",value:function(){var t=(0,o.select)("rank-math").getSchemas();if(!(0,at.isEmpty)(t)&&!(0,at.isEqual)(t,(0,at.get)(rankMath,"schemas",{}))){var e=(0,o.select)("rank-math").getEditSchemas();i()({method:"POST",path:"/rankmath/v1/updateSchemas",data:{objectID:rankMath.objectID,objectType:rankMath.objectType,schemas:t}}).then((function(r){if((0,at.isEmpty)(r))(0,o.dispatch)("rank-math").updateSchemas(t);else{var n=un({},t),a=un({},e);(0,at.map)(r,(function(t,e){n["schema-"+t]=un({},n[e]),a["schema-"+t]=un({},a[e]),delete n[e],delete a[e]})),(0,o.dispatch)("rank-math").updateSchemas(n),(0,o.dispatch)("rank-math").updateEditSchemas(a)}}))}}},{key:"handleEditorChange",value:function(t){var e=this,r={id:"handleIDChange",slug:"handleSlugChange",title:"handleTitleChange",excerpt:"handleExcerptChange",content:"handleContentChange",featuredImage:"handleFeaturedImageChange"};if((0,at.isInteger)(t.id))return this.initialize?void(0,at.forEach)(r,(function(r,n){e._data[n]!==t[n]&&e[r](e._data[n])})):(this.initialize=!0,(0,at.forEach)(r,(function(t,r){e[t](e._data[r])})),void rankMathEditor.refresh("init"));(0,o.dispatch)("rank-math").refreshResults()}},{key:"handleIDChange",value:function(t){(0,o.dispatch)("rank-math").updatePostID(t),(0,o.dispatch)("rank-math").toggleLoaded(!0)}},{key:"handleSlugChange",value:function(){rankMathEditor.refresh("permalink")}},{key:"handleTitleChange",value:function(t){A.setVariable("title",t),(0,o.dispatch)("rank-math").updateSerpTitle((0,o.select)("rank-math").getTitle()),rankMathEditor.refresh("title")}},{key:"handleExcerptChange",value:function(t){A.setVariable("excerpt",t),A.setVariable("excerpt_only",t),A.setVariable("wc_shortdesc",t),A.setVariable("seo_description",t),(0,o.dispatch)("rank-math").updateSerpDescription((0,o.select)("rank-math").getDescription())}},{key:"handleFeaturedImageChange",value:function(t){(0,o.dispatch)("rank-math").updateFeaturedImage(t),rankMathEditor.refresh("featuredImage")}},{key:"handleContentChange",value:function(){(0,o.dispatch)("rank-math").updateSerpDescription((0,o.select)("rank-math").getDescription()),rankMathEditor.refresh("content")}},{key:"getData",value:function(){return this._data}}],r&&pn(e.prototype,r),n&&pn(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}(),dn=hn,mn=r(4184),gn=r.n(mn),yn=function(){return wp.element.createElement("span",{className:"rank-math-rm-modal-toggle-button-icon",style:{display:"block",fill:"rgb(255, 255, 255)",width:"0px",height:"0px",marginTop:"-10px",marginLeft:"-1px"}},wp.element.createElement("svg",{viewBox:"0 0 462.03 462.03",xmlns:"http://www.w3.org/2000/svg",width:"20"},wp.element.createElement("g",null,wp.element.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"}),wp.element.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"}))))},vn=function(){return wp.element.createElement("button",{type:"button","data-tip":"Rank Math SEO",onClick:function(){(0,o.dispatch)("rank-math").toggleIsDiviRankMathModalActive(!(0,o.select)("rank-math").isDiviRankMathModalActive())},className:gn()("rank-math-rm-modal-toggle-button","et_fb_ignore_iframe","et-fb-button","et-fb-button--elevate","et-fb-button--primary","et-fb-button--round","et-fb-button--Tooltip"),style:{width:"40px",height:"40px"}},wp.element.createElement(yn,null))},bn=function(){return wp.element.createElement("div",{className:"rank-math-rm-settings-bar"},wp.element.createElement(vn,null))};function wn(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return kn(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return kn(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,a=function(){};return{s:a,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){u=!0,i=t},f:function(){try{o||null==r.return||r.return()}finally{if(u)throw i}}}}function kn(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var _n={init:function(){this.cacheProps(),this.toggleBodyClasses(),this.initSettingsBar(),this.addEventListeners()},cacheProps:function(){this.$document=E()(document),this.$body=E()("body"),this.rmModalHiddingTimer=null,this.rmPrevModalActiveState=!1,this.rmSettingsBarMediaQuery=window.matchMedia("(min-width: 768px)"),this.rmSettingsBarRootSelector="#rank-math-rm-settings-bar-root",this.$rmSettingsBarRoot=E()(this.rmSettingsBarRootSelector).detach(),this.$etPageSettingsBar=E()(".et-fb-page-settings-bar"),this.$etPageSettingsBarToggleButton=this.$etPageSettingsBar.find(".et-fb-page-settings-bar__toggle-button"),this.$etPageSettingsBarColumn=this.$etPageSettingsBar.find(".et-fb-page-settings-bar__column"),this.etSettingsBarObserver=new MutationObserver(this.onEtSettingsBarClassAttrChange.bind(this))},toggleBodyClasses:function(){var t=this.isEtSettingsBarActive();this.$body.toggleClass("rank-math-et-settings-bar-is-active",t),this.$body.toggleClass("rank-math-et-settings-bar-is-inactive",!t)},initSettingsBar:function(){var t=this.getEtSettingsBarPosition();this.onRmSettingsBarMediaQueryChange(),(0,c.render)((0,c.createElement)(bn),this.$rmSettingsBarRoot[0]),this.removePositionalClassNames(this.$body,"rank-math-et-settings-bar-is"),this.$body.addClass("rank-math-et-settings-bar-is-".concat(t)),this.attachRmSettingsBar(t)},addEventListeners:function(){this.$document.on("click",this.onDocumentClick.bind(this)),this.rmSettingsBarMediaQuery.addListener(this.onRmSettingsBarMediaQueryChange.bind(this)),this.etSettingsBarObserver.observe(this.$etPageSettingsBar[0],{attributeFilter:["class"]})},onDocumentClick:function(t){this.hideModalOnOutsideClick(t.target)},onRmSettingsBarMediaQueryChange:function(){this.detachRmSettingsBar(),this.attachRmSettingsBar(this.getEtSettingsBarPosition())},onEtSettingsBarClassAttrChange:function(){var t=this.isEtSettingsBarActive(),e=this.getEtSettingsBarPosition();this.removePositionalClassNames(this.$body,"rank-math-et-settings-bar-is"),this.$body.addClass("rank-math-et-settings-bar-is-".concat(e)),(0,o.dispatch)("rank-math").toggleIsDiviPageSettingsBarActive(t),this.toggleBodyClasses(),this.detachRmSettingsBar(),this.isEtSettingsBarDragged()?(this.rmPrevModalActiveState=(0,o.select)("rank-math").isDiviRankMathModalActive(),this.rmPrevModalActiveState&&(this.rmModalHiddingTimer=setTimeout((function(){(0,o.dispatch)("rank-math").toggleIsDiviRankMathModalActive(!1)}),200))):(clearTimeout(this.rmModalHiddingTimer),this.attachRmSettingsBar(e),(0,o.dispatch)("rank-math").toggleIsDiviRankMathModalActive(this.rmPrevModalActiveState||(0,o.select)("rank-math").isDiviRankMathModalActive()),this.rmPrevModalActiveState=!1)},attachRmSettingsBar:function(t){this.isRmSettingsBarAttached()||(this.toggleRmSettingsBarClassNames(t),this.isEtSettingsBarActive()?this.rmSettingsBarMediaQuery.matches?this.$etPageSettingsBarColumn.filter(".et-fb-page-settings-bar__column--main").append(this.$rmSettingsBarRoot):this.$etPageSettingsBarColumn.filter(".et-fb-page-settings-bar__column--left").prepend(this.$rmSettingsBarRoot):this.$etPageSettingsBarToggleButton.after(this.$rmSettingsBarRoot))},detachRmSettingsBar:function(){this.isRmSettingsBarAttached()&&(this.$rmSettingsBarRoot=this.$etPageSettingsBar.find(this.rmSettingsBarRootSelector).detach())},toggleRmSettingsBarClassNames:function(t){this.removePositionalClassNames(this.$rmSettingsBarRoot),this.$rmSettingsBarRoot.addClass("rank-math-rm-settings-bar-root-".concat(t)),this.$rmSettingsBarRoot.toggleClass(["rank-math-rm-settings-bar-root-is-mobile","rank-math-rm-settings-bar-root-is-mobile-".concat(t)].join(" "),!this.rmSettingsBarMediaQuery.matches),this.$rmSettingsBarRoot.toggleClass(["rank-math-rm-settings-bar-root-is-desktop","rank-math-rm-settings-bar-root-is-desktop-".concat(t)].join(" "),this.rmSettingsBarMediaQuery.matches)},isRmSettingsBarAttached:function(){return E().contains(document.documentElement,this.$rmSettingsBarRoot[0])},isEtSettingsBarActive:function(){return this.$etPageSettingsBar.hasClass("et-fb-page-settings-bar--active")},isEtSettingsBarDragged:function(){return this.$etPageSettingsBar.hasClass("et-fb-page-settings-bar--dragged")&&!this.isEtSettingsBarActive()},removePositionalClassNames:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=["".concat(e,"-left"),"".concat(e,"-right"),"".concat(e,"-top"),"".concat(e,"-top-left"),"".concat(e,"-top-right"),"".concat(e,"-bottom"),"".concat(e,"-bottom-left"),"".concat(e,"-bottom-right")].join("|"),n=new RegExp("(".concat(r,")$"),"gim");t.removeClass((function(t,e){var r,a=[],i=wn(e.split(" "));try{for(i.s();!(r=i.n()).done;){var o=r.value;n.test(o)&&a.push(o)}}catch(t){i.e(t)}finally{i.f()}return a}))},getEtSettingsBarPosition:function(){var t=this.$etPageSettingsBar;return t.hasClass("et-fb-page-settings-bar--horizontal")&&!t.hasClass("et-fb-page-settings-bar--top")?"bottom":t.hasClass("et-fb-page-settings-bar--top")&&!t.hasClass("et-fb-page-settings-bar--corner")?"top":t.hasClass("et-fb-page-settings-bar--bottom-corner")?t.hasClass("et-fb-page-settings-bar--left-corner")?"bottom-left":"bottom-right":t.hasClass("et-fb-page-settings-bar--top-corner")?t.hasClass("et-fb-page-settings-bar--left-corner")?"top-left":"top-right":t.hasClass("et-fb-page-settings-bar--vertical--right")?"right":t.hasClass("et-fb-page-settings-bar--vertical--left")?"left":""},hideModalOnOutsideClick:function(t){if((0,o.select)("rank-math").isDiviRankMathModalActive()){var e=".rank-math-rm-modal";E()(t).parents(e)||t.closest(".components-modal__screen-overlay.rank-math-modal-overlay")||t.closest(".rank-math-rm-modal-toggle-button")||t.contains(document.querySelector(e))||(0,o.dispatch)("rank-math").toggleIsDiviRankMathModalActive(!1)}}},Sn=(0,o.withSelect)((function(t){return{primaryTermId:t("rank-math").getPrimaryTermID()}}))((function(t){var e=t.taxonomySlug,r=t.primaryTermId,n=t.options;if(n.length<2||!e)return null;return wp.element.createElement(l.SelectControl,{className:"rank-math-primary-term-select",label:(0,zt.__)("Select Primary Term","rank-math"),value:r,options:n,onChange:function(t){(0,o.dispatch)("rank-math").updatePrimaryTermID(parseInt(t),e)}})}));function Tn(t){return Tn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Tn(t)}function Dn(){Dn=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},a=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",o=n.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function c(t,e,r,n){var a=e&&e.prototype instanceof p?e:p,i=Object.create(a.prototype),o=new S(n||[]);return i._invoke=function(t,e,r){var n="suspendedStart";return function(a,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===a)throw i;return D()}for(r.method=a,r.arg=i;;){var o=r.delegate;if(o){var u=w(o,r);if(u){if(u===l)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=s(t,e,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(t,r,o),i}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var l={};function p(){}function f(){}function h(){}var d={};u(d,a,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(T([])));g&&g!==e&&r.call(g,a)&&(d=g);var y=h.prototype=p.prototype=Object.create(d);function v(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){function n(a,i,o,u){var c=s(t[a],t,i);if("throw"!==c.type){var l=c.arg,p=l.value;return p&&"object"==Tn(p)&&r.call(p,"__await")?e.resolve(p.__await).then((function(t){n("next",t,o,u)}),(function(t){n("throw",t,o,u)})):e.resolve(p).then((function(t){l.value=t,o(l)}),(function(t){return n("throw",t,o,u)}))}u(c.arg)}var a;this._invoke=function(t,r){function i(){return new e((function(e,a){n(t,r,e,a)}))}return a=a?a.then(i,i):i()}}function w(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,w(t,e),"throw"===e.method))return l;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var n=s(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,l;var a=n.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,l):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,l)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:D}}function D(){return{value:void 0,done:!0}}return f.prototype=h,u(y,"constructor",h),u(h,"constructor",f),f.displayName=u(h,o,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,o,"GeneratorFunction")),t.prototype=Object.create(y),t},t.awrap=function(t){return{__await:t}},v(b.prototype),u(b.prototype,i,(function(){return this})),t.AsyncIterator=b,t.async=function(e,r,n,a,i){void 0===i&&(i=Promise);var o=new b(c(e,r,n,a),i);return t.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},v(y),u(y,o,"Generator"),u(y,a,(function(){return this})),u(y,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=T,S.prototype={constructor:S,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(_),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return o.type="throw",o.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],o=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(u&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var i=a;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=t,o.arg=e,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),l},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),l}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var a=n.arg;_(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:T(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},t}function In(t,e,r,n,a,i,o){try{var u=t[i](o),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,a)}function Pn(t){return function(){var e=this,r=arguments;return new Promise((function(n,a){var i=t.apply(e,r);function o(t){In(i,n,a,o,u,"next",t)}function u(t){In(i,n,a,o,u,"throw",t)}o(void 0)}))}}function En(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function On(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var An=function(){function t(){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),E()(document).on("click",".et-fb-button--toggle-setting",(function(){clearTimeout(e.initRecursionTimer),e.attemptsRun=0,e.init.call(e)}))}var e,r,n,a,o;return e=t,r=[{key:"init",value:(o=Pn(Dn().mark((function t(){return Dn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0!==this.hasPostPrimaryTaxonomySupport){t.next=3;break}return t.next=3,this.cacheTaxonomyData();case 3:if(this.hasPostPrimaryTaxonomySupport){t.next=5;break}return t.abrupt("return");case 5:if(this.attemptsRun++,!(this.attemptsRun>this.maxAttempts)){t.next=8;break}return t.abrupt("return");case 8:this.cacheDom()?(this.renderContainer(),this.renderComponent(),this.bindEvents()):this.initRecursionTimer=setTimeout(this.init.bind(this),this.attemptInterval);case 10:case"end":return t.stop()}}),t,this)}))),function(){return o.apply(this,arguments)})},{key:"cacheTaxonomyData",value:(a=Pn(Dn().mark((function t(){var e,r,n=this;return Dn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=(0,at.get)(rankMath,"assessor.primaryTaxonomy.name")||"",r=(0,at.get)(ETBuilderBackendDynamic,"getTaxonomies",{}),this.primaryTaxonomyTerms=r[e]||[],t.next=4,i()({path:"/wp/v2/taxonomies"}).then((function(t){n.primaryTaxonomy=Object.keys(r).includes(e)&&t[e]?t[e]:{}}));case 4:this.hasPostPrimaryTaxonomySupport=!E().isEmptyObject(this.primaryTaxonomy),this.primaryTaxonomyValue=(0,at.get)(ETBuilderBackendDynamic,"pageSettingsValues.et_pb_post_settings_".concat(this.primaryTaxonomy.rest_base),"");case 6:case"end":return t.stop()}}),t,this)}))),function(){return a.apply(this,arguments)})},{key:"cacheDom",value:function(){return this.$diviSettingsModal=E()(document).find(".et-fb-modal__page-settings"),!!this.$diviSettingsModal.length&&(this.$diviTermSettingInputs=this.$diviSettingsModal.find(".et-fb-option--".concat(this.primaryTaxonomy.rest_base)),this.$diviTermSettingArea=this.$diviTermSettingInputs.parents(".et-fb-form__group"),this.$diviTermSettingArea.length||(this.$diviTermSettingArea=this.workaroundForFalseDiviTaxonomySelector()),this.$PrimaryTermSelectContainer=E()('<div id="rank-math-primary-term-input" />'),!0)}},{key:"workaroundForFalseDiviTaxonomySelector",value:function(){var t=this.primaryTaxonomy.name.toLowerCase();return this.$diviSettingsModal.find(".et-fb-form__label-text").filter((function(e,r){return E()(r).text().toLowerCase()===t})).parents(".et-fb-form__group")}},{key:"renderContainer",value:function(){this.$diviTermSettingArea.after(this.$PrimaryTermSelectContainer)}},{key:"renderComponent",value:function(t){var e={taxonomySlug:this.primaryTaxonomy.slug,options:this.formatActiveTerms(t)};(0,c.render)((0,c.createElement)(Sn,e),this.$PrimaryTermSelectContainer[0])}},{key:"bindEvents",value:function(){var t=this;(0,s.addFilter)("et.builder.store.setting.update","rank-math",(function(e,r){return"et_pb_post_settings_".concat(t.primaryTaxonomy.rest_base)===r&&t.renderComponent(e),e}))}},{key:"formatActiveTerms",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.primaryTaxonomyValue;return this.primaryTaxonomyTerms.length&&e.trim()?e.split(",").map((function(e){var r=(0,at.find)(t.primaryTaxonomyTerms,["term_id",parseInt(e)])||{};return{label:r.name,value:r.term_id}})):[]}}],r&&En(e.prototype,r),n&&En(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();On(An,"initRecursionTimer",void 0),On(An,"attemptsRun",0),On(An,"maxAttempts",10),On(An,"attemptInterval",1e3);var Mn=["className","children"];function xn(){return xn=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},xn.apply(this,arguments)}function Cn(t,e){if(null==t)return{};var r,n,a=function(t,e){if(null==t)return{};var r,n,a={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(a[r]=t[r]);return a}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(a[r]=t[r])}return a}var Rn=function(t){var e=t.className,r=t.children,n=Cn(t,Mn),a=gn()("rank-math-rm-modal-button",e);return wp.element.createElement("button",xn({type:"button",className:a},n),r)},jn=function(){return wp.element.createElement("div",{className:"et-fb-icon et-fb-icon--close",style:{fill:"rgb(255, 255, 255)",width:"28px",minWidth:"28px",height:"28px",margin:"-6px"}},wp.element.createElement("svg",{viewBox:"0 0 28 28",preserveAspectRatio:"xMidYMid meet",shapeRendering:"geometricPrecision"},wp.element.createElement("g",null,wp.element.createElement("path",{d:"M15.59 14l4.08-4.082a1.124 1.124 0 0 0-1.587-1.588L14 12.411 9.918 8.329A1.124 1.124 0 0 0 8.33 9.92L12.411 14l-4.082 4.082a1.124 1.124 0 0 0 1.59 1.589L14 15.589l4.082 4.082a1.124 1.124 0 0 0 1.589-1.59L15.589 14h.001z",fillRule:"evenodd"}))))},Bn=function(){var t=gn()("rank-math-rm-modal-header-discard-button");return wp.element.createElement(Rn,{className:t,onClick:function(){(0,o.dispatch)("rank-math").toggleIsDiviRankMathModalActive(!1)}},wp.element.createElement(jn,null))},Un=function(){var t=gn()("rank-math-rm-modal-header");return wp.element.createElement("header",{className:t},wp.element.createElement("div",{className:"rank-math-rm-modal-header"},wp.element.createElement("div",{className:"rank-math-rm-modal-header-title"},"Rank Math SEO"),wp.element.createElement("ul",{className:"rank-math-rm-modal-header-options"},wp.element.createElement("li",{className:"rank-math-rm-modal-header-option"},wp.element.createElement(Bn,null)))))},Fn=function(t){var e=t.children,r=gn()("rank-math-rm-modal-content","rank-math-sidebar-panel");return wp.element.createElement("div",{className:r},e)},Ln=(0,o.withSelect)((function(t){return{rmUiActive:(0,t("rank-math").isDiviRankMathModalActive)()}}))((function(t){var e=t.rmUiActive,r=gn()("rank-math-rm-modal",{"rank-math-rm-modal-is-hidden":!e}),n=gn()("rank-math-rm-modal-inner");return wp.element.createElement("div",{className:r},wp.element.createElement("div",{className:n},wp.element.createElement(Un,null),wp.element.createElement(Fn,null,(0,s.applyFilters)("rank_math_app",{})())))})),Nn=(0,l.withFilters)("rankMath.diviAppModal")(Ln),$n=function(){return wp.element.createElement(l.SlotFillProvider,null,wp.element.createElement("div",{className:"rank-math-rm-app"},wp.element.createElement(Nn,null)))};function Hn(t){return Hn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Hn(t)}function Kn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gn(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function zn(){return zn="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=Vn(t,e);if(n){var a=Object.getOwnPropertyDescriptor(n,e);return a.get?a.get.call(arguments.length<3?t:r):a.value}},zn.apply(this,arguments)}function Vn(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Yn(t)););return t}function qn(t,e){return qn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},qn(t,e)}function Qn(t){var e=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(t){return!1}}();return function(){var r,n=Yn(t);if(e){var a=Yn(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return Wn(this,r)}}function Wn(t,e){if(e&&("object"===Hn(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Yn(t){return Yn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Yn(t)}var Jn=function(){return u.MediaUpload},Xn=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&qn(t,e)}(u,t);var e,r,n,a=Qn(u);function u(){return Kn(this,u),a.apply(this,arguments)}return e=u,(r=[{key:"setup",value:function(t){i().use(i().createRootURLMiddleware(rankMath.api.root)),i().use(i().createNonceMiddleware(rankMath.restNonce)),this.registerSlots=this.registerSlots.bind(this),(0,s.addAction)("rank_math_loaded","rank-math",this.registerSlots,0),(0,s.addFilter)("editor.MediaUpload","rank-math/replace-media-upload",Jn),zn(Yn(u.prototype),"setup",this).call(this,t)}},{key:"registerSlots",value:function(){this.RankMathAfterEditor=m,this.RankMathAfterFocusKeyword=D,this.RankMathAdvancedTab=w,this.slots={AfterEditor:m,AfterFocusKeyword:D,AdvancedTab:w}}},{key:"updatePermalink",value:function(t){(0,o.dispatch)("rank-math").updatePermalink(t)}},{key:"updatePermalinkSanitize",value:function(t){t=this.assessor.getResearch("slugify")(t),(0,o.dispatch)("rank-math").updatePermalink(t)}}])&&Gn(e.prototype,r),n&&Gn(e,n),Object.defineProperty(e,"prototype",{writable:!1}),u}(nn);window.addEventListener("message",(function(t){"et_builder_api_ready"===t.data.etBuilderEvent&&(window.rankMathEditor=new Xn,window.rankMathGutenberg=window.rankMathEditor,window.rankMathEditor.setup(new dn),_n.init(),new An,(0,c.render)((0,c.createElement)($n),document.getElementById("rank-math-rm-app-root")),(0,o.dispatch)("rank-math").refreshResults())}))}()}();
1
+ !function(){var t={4184:function(t,e){var r;!function(){"use strict";var n={}.hasOwnProperty;function a(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var i=typeof r;if("string"===i||"number"===i)t.push(r);else if(Array.isArray(r)){if(r.length){var o=a.apply(null,r);o&&t.push(o)}}else if("object"===i){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){t.push(r.toString());continue}for(var u in r)n.call(r,u)&&r[u]&&t.push(u)}}}return t.join(" ")}t.exports?(a.default=a,t.exports=a):void 0===(r=function(){return a}.apply(e,[]))||(t.exports=r)}()}},e={};function r(n){var a=e[n];if(void 0!==a)return a.exports;var i=e[n]={exports:{}};return t[n](i,i.exports,r),i.exports}r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,{a:e}),e},r.d=function(t,e){for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},function(){"use strict";var t={};r.r(t),r.d(t,{deleteSchema:function(){return ie},refreshResults:function(){return $t},resetDirtyMetadata:function(){return $},resetRedirection:function(){return rt},saveSchema:function(){return ae},saveTemplate:function(){return oe},schemaUpdated:function(){return Jt},setEditingSchemaId:function(){return Xt},setEditorTab:function(){return Zt},setTemplateTab:function(){return te},setVersion:function(){return Ht},toggleFrontendScore:function(){return j},toggleIsDiviPageSettingsBarActive:function(){return Kt},toggleIsDiviRankMathModalActive:function(){return Gt},toggleLoaded:function(){return Lt},toggleSchemaEditor:function(){return Wt},toggleSchemaTemplates:function(){return Yt},toggleSnippetEditor:function(){return ft},toggleTrendsCta:function(){return dt},updateAIScore:function(){return ce},updateAdvancedRobots:function(){return F},updateAnalysisScore:function(){return B},updateAppData:function(){return M},updateAppUi:function(){return x},updateBreadcrumbTitle:function(){return N},updateCanonicalUrl:function(){return U},updateDescription:function(){return J},updateEditSchema:function(){return ne},updateEditSchemas:function(){return ee},updateFacebookDescription:function(){return K},updateFacebookHasOverlay:function(){return V},updateFacebookImage:function(){return G},updateFacebookImageID:function(){return z},updateFacebookImageOverlay:function(){return q},updateFacebookTitle:function(){return H},updateFeaturedImage:function(){return X},updateHasRedirect:function(){return nt},updateKeywords:function(){return C},updateKeywordsData:function(){return ue},updatePermalink:function(){return W},updatePillarContent:function(){return R},updatePostID:function(){return Q},updatePrimaryTermID:function(){return Z},updateRedirection:function(){return tt},updateRedirectionItem:function(){return et},updateRobots:function(){return L},updateSchemas:function(){return re},updateSelectedKeyword:function(){return Nt},updateSerpDescription:function(){return pt},updateSerpSlug:function(){return lt},updateSerpTitle:function(){return st},updateSnippetPreviewType:function(){return ht},updateTitle:function(){return Y},updateTwitterAppCountry:function(){return Ft},updateTwitterAppDescription:function(){return Et},updateTwitterAppGoogleplayID:function(){return jt},updateTwitterAppGoogleplayName:function(){return Bt},updateTwitterAppGoogleplayUrl:function(){return Ut},updateTwitterAppIpadID:function(){return xt},updateTwitterAppIpadName:function(){return Ct},updateTwitterAppIpadUrl:function(){return Rt},updateTwitterAppIphoneID:function(){return Ot},updateTwitterAppIphoneName:function(){return At},updateTwitterAppIphoneUrl:function(){return Mt},updateTwitterAuthor:function(){return bt},updateTwitterCardType:function(){return gt},updateTwitterDescription:function(){return vt},updateTwitterHasOverlay:function(){return _t},updateTwitterImage:function(){return kt},updateTwitterImageID:function(){return wt},updateTwitterImageOverlay:function(){return St},updateTwitterPlayerSize:function(){return Dt},updateTwitterPlayerStreamCtype:function(){return Pt},updateTwitterPlayerStreamUrl:function(){return It},updateTwitterPlayerUrl:function(){return Tt},updateTwitterTitle:function(){return yt},updateTwitterUseFacebook:function(){return mt}});var e={};r.r(e),r.d(e,{appData:function(){return me},appUi:function(){return we}});var n={};r.r(n),r.d(n,{getAdvancedRobots:function(){return Pe},getAnalysisScore:function(){return Se},getAppData:function(){return ke},getBreadcrumbTitle:function(){return Oe},getCanonicalUrl:function(){return Ee},getContentAIScore:function(){return Gr},getDescription:function(){return Qe},getDirtyMetadata:function(){return _e},getEditSchemas:function(){return dr},getEditingSchema:function(){return mr},getEditorTab:function(){return yr},getFacebookAuthor:function(){return Ne},getFacebookDescription:function(){return Le},getFacebookHasOverlay:function(){return Ke},getFacebookImage:function(){return He},getFacebookImageID:function(){return $e},getFacebookImageOverlay:function(){return Ge},getFacebookTitle:function(){return Fe},getFeaturedImage:function(){return We},getFeaturedImageHtml:function(){return Ye},getKeywords:function(){return Te},getKeywordsData:function(){return Kr},getPermalink:function(){return qe},getPillarContent:function(){return De},getPostID:function(){return ze},getPreviewSchema:function(){return gr},getPrimaryTermID:function(){return Je},getRedirectionID:function(){return Xe},getRedirectionItem:function(){return er},getRedirectionType:function(){return Ze},getRedirectionUrl:function(){return tr},getRichSnippets:function(){return Ae},getRobots:function(){return Ie},getSchemas:function(){return hr},getSelectedKeyword:function(){return Ce},getSerpDescription:function(){return or},getSerpSlug:function(){return ir},getSerpTitle:function(){return ar},getShowScoreFrontend:function(){return Me},getSnippetPreviewType:function(){return cr},getTemplateTab:function(){return vr},getTitle:function(){return Ve},getTwitterAppCountry:function(){return Fr},getTwitterAppDescription:function(){return Er},getTwitterAppGoogleplayID:function(){return jr},getTwitterAppGoogleplayName:function(){return Br},getTwitterAppGoogleplayUrl:function(){return Ur},getTwitterAppIpadID:function(){return xr},getTwitterAppIpadName:function(){return Cr},getTwitterAppIpadUrl:function(){return Rr},getTwitterAppIphoneID:function(){return Or},getTwitterAppIphoneName:function(){return Ar},getTwitterAppIphoneUrl:function(){return Mr},getTwitterAuthor:function(){return Sr},getTwitterCardType:function(){return wr},getTwitterDescription:function(){return _r},getTwitterHasOverlay:function(){return Ir},getTwitterImage:function(){return Dr},getTwitterImageID:function(){return Tr},getTwitterImageOverlay:function(){return Pr},getTwitterPlayerSize:function(){return Nr},getTwitterPlayerStream:function(){return $r},getTwitterPlayerStreamCtype:function(){return Hr},getTwitterPlayerUrl:function(){return Lr},getTwitterTitle:function(){return kr},getTwitterUseFacebook:function(){return br},hasRedirect:function(){return rr},hasSchemaUpdated:function(){return fr},isDiviPageSettingsBarActive:function(){return Be},isDiviRankMathModalActive:function(){return Ue},isLoaded:function(){return xe},isPro:function(){return je},isRefreshing:function(){return Re},isSchemaEditorOpen:function(){return lr},isSchemaTemplatesOpen:function(){return pr},isSnippetEditorOpen:function(){return ur},isTrendsCtaOpen:function(){return sr}});var a=wp.apiFetch,i=r.n(a),o=wp.data,u=wp.mediaUtils,c=wp.element,s=wp.hooks,l=wp.components,p=(0,l.createSlotFill)("RankMathAfterEditor"),f=p.Fill,h=p.Slot,d=function(t){var e=t.children,r=t.className;return wp.element.createElement(f,null,wp.element.createElement(l.PanelRow,{className:r},e))};d.Slot=h;var m=d,g=(0,l.createSlotFill)("RankMathAdvancedTab"),y=g.Fill,v=g.Slot,b=function(t){var e=t.children,r=t.className;return wp.element.createElement(y,null,wp.element.createElement(l.PanelRow,{className:r},e))};b.Slot=v;var w=b,k=(0,l.createSlotFill)("RankMathAfterFocusKeyword"),_=k.Fill,S=k.Slot,T=function(t){var e=t.children,r=t.className;return wp.element.createElement(_,null,wp.element.createElement("div",{className:r},e))};T.Slot=S;var D=T,I=rankMathAnalyzer,P=jQuery,E=r.n(P);function O(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var A=new(function(){function t(){var e,r,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),n=null,(r="map")in(e=this)?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n}var e,r,n;return e=t,(r=[{key:"swap",value:function(t,e){var r=this;if(!(t=t||""))return"";var n=new RegExp(/%(([a-z0-9_-]+)\(([^)]*)\)|[^\s]+)%/,"giu");return t.replace(" %page%","").replace("%sep% %sep%","%sep%").replace(n,(function(t){return r.replace(e,t)})).trim()}},{key:"replace",value:function(t,e){var r=e.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():E()("#description").val():r.includes("customfield(")?(r=r.replace("customfield(","").replace(")",""))in rankMath.customFields?rankMath.customFields[r]:"":(t=t||this.getMap(),(r="seo_description"===(r="seo_title"===(r=r.includes("(")?r.split("(")[0]:r)?"title":r)?"excerpt":r)in t?t[r]:"")}},{key:"getMap",value:function(){var t=this;return null!==this.map||(this.map={},E().each(rankMath.variables,(function(e,r){e=e.toLowerCase().replace(/%+/g,"").split("(")[0],t.map[e]=r.example}))),this.map}},{key:"setVariable",value:function(t,e){null!==this.map?this.map[t]=e:void 0!==rankMath.variables[t]&&(rankMath.variables[t].example=e)}}])&&O(e.prototype,r),n&&O(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}());function M(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return e=(0,s.applyFilters)("rank_math_sanitize_data",e,t,r),null!==n&&(n=(0,s.applyFilters)("rank_math_sanitize_meta_value",n,t,r)),n=null===n?e:n,(0,s.doAction)("rank_math_data_changed",t,e,r),{type:"RANK_MATH_APP_DATA",key:t,value:e,metaKey:r,metaValue:n}}function x(t,e){return(0,s.doAction)("rank_math_update_app_ui",t,e),{type:"RANK_MATH_APP_UI",key:t,value:e}}function C(t){return A.setVariable("focuskw",t.split(",")[0]),rankMathEditor.refresh("keyword"),M("keywords",t,"rank_math_focus_keyword")}function R(t){return M("pillarContent",t,"rank_math_pillar_content",!0===t?"on":"off")}function j(t){return M("showScoreFrontend",t,"rank_math_dont_show_seo_score",!0===t?"off":"on")}function B(t){return M("score",t,"rank_math_seo_score")}function U(t){return M("canonicalUrl",t,"rank_math_canonical_url")}function F(t){return M("advancedRobots",t,"rank_math_advanced_robots")}function L(t){return M("robots",t,"rank_math_robots",Object.keys(t))}function N(t){return M("breadcrumbTitle",t,"rank_math_breadcrumb_title")}function $(){return M("dirtyMetadata",{})}function H(t){return M("facebookTitle",t,"rank_math_facebook_title")}function K(t){return M("facebookDescription",t,"rank_math_facebook_description")}function G(t){return M("facebookImage",t,"rank_math_facebook_image")}function z(t){return M("facebookImageID",t,"rank_math_facebook_image_id")}function V(t){return M("facebookHasOverlay",t,"rank_math_facebook_enable_image_overlay",!0===t?"on":"off")}function q(t){return M("facebookImageOverlay",t,"rank_math_facebook_image_overlay")}function Q(t){return rankMath.objectID=t,M("postID",t)}function W(t){return M("permalink",t,"permalink")}function Y(t){return M("title",t,"rank_math_title")}function J(t){return M("description",t,"rank_math_description")}function X(t){return M("featuredImage",t)}function Z(t,e){return M("primaryTerm",parseInt(t),"rank_math_primary_"+e)}function tt(t,e){return M(t,e)}function et(t){return x("redirectionItem",t)}function rt(){return x("redirectionItem",{})}function nt(t){return x("hasRedirect",t)}var at=lodash,it=document.createElement("div");function ot(t){return t&&"string"==typeof t&&(t=t.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,"").replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,""),it.innerHTML=t,t=it.textContent,it.textContent=""),t}var ut=function(t,e){return t=(t=I.Helpers.cleanText(t)).replace(/\r?\n|\r/g," "),e?(0,at.truncate)(t,{length:e,separator:" "}):t};function ct(t){var e=rankMathEditor.assessor.dataCollector.getData(),r=e.excerpt,n=function(t){if((0,at.isEmpty)(t))return"";t=I.Helpers.stripScript(t),t=I.Helpers.stripStyle(t),t=(0,at.unescape)(t).replace(/\[caption[^\]]*\](.*)\[\/caption\]/g,"");var e=(0,at.filter)(I.Helpers.matchParagraphs(t,!0,!0),(function(t){return""!==t.trim()}));if(!e.length)return"";var r=rankMathEditor.getPrimaryKeyword();if(""!==r){var n=(0,at.filter)(e,(function(t){return(0,at.includes)(t.toLowerCase(),r.toLowerCase())}));if(0<n.length)return ut(n[0],160)}return ut(e[0],160)}(e.content),a=(0,at.isUndefined)(r)||(0,at.isEmpty)(r)?n:(0,at.unescape)(r);if(A.setVariable("excerpt",a),A.setVariable("seo_description",a),""!==(t=ot((0,s.applyFilters)("rankMath/description",t))))return I.Helpers.cleanText(t);if(!(0,at.isUndefined)(r)&&!(0,at.isEmpty)(r))return I.Helpers.cleanText(r);var i=(0,at.unescape)(rankMath.assessor.serpData.descriptionTemplate);return(0,at.isUndefined)(i)||""===i?n:I.Helpers.cleanText(i)}function st(t){return t=A.swap(""!==t?t:rankMath.assessor.serpData.titleTemplate),rankMathEditor.refresh("title"),x("serpTitle",t)}function lt(t){return t=""!==t?t:rankMathEditor.assessor.dataCollector.getSlug(),rankMathEditor.refresh("permalink"),x("serpSlug",t)}function pt(t){return t=A.swap(ct(t)),rankMathEditor.refresh("description"),x("serpDescription",t)}function ft(t){return x("isSnippetEditorOpen",t)}function ht(t){return x("snippetPreviewType",t)}function dt(t){return x("isTrendsCtaOpen",t)}function mt(t){return M("twitterUseFacebook",t,"rank_math_twitter_use_facebook",!0===t?"on":"off")}function gt(t){return M("twitterCardType",t,"rank_math_twitter_card_type")}function yt(t){return M("twitterTitle",t,"rank_math_twitter_title")}function vt(t){return M("twitterDescription",t,"rank_math_twitter_description")}function bt(t){return M("twitterAuthor",t,"rank_math_twitter_author")}function wt(t){return M("twitterImageID",t,"rank_math_twitter_image_id")}function kt(t){return M("twitterImage",t,"rank_math_twitter_image")}function _t(t){return M("twitterHasOverlay",t,"rank_math_twitter_enable_image_overlay",!0===t?"on":"off")}function St(t){return M("twitterImageOverlay",t,"rank_math_twitter_image_overlay")}function Tt(t){return M("twitterPlayerUrl",t,"rank_math_twitter_player_url")}function Dt(t){return M("twitterPlayerSize",t,"rank_math_twitter_player_size")}function It(t){return M("twitterPlayerStream",t,"rank_math_twitter_player_stream")}function Pt(t){return M("twitterPlayerStreamCtype",t,"rank_math_twitter_player_stream_ctype")}function Et(t){return M("twitterAppDescription",t,"rank_math_twitter_app_description")}function Ot(t){return M("twitterAppIphoneID",t,"rank_math_twitter_app_iphone_id")}function At(t){return M("twitterAppIphoneName",t,"rank_math_twitter_app_iphone_name")}function Mt(t){return M("twitterAppIphoneUrl",t,"rank_math_twitter_app_iphone_url")}function xt(t){return M("twitterAppIpadID",t,"rank_math_twitter_app_ipad_id")}function Ct(t){return M("twitterAppIpadName",t,"rank_math_twitter_app_ipad_name")}function Rt(t){return M("twitterAppIpadUrl",t,"rank_math_twitter_app_ipad_url")}function jt(t){return M("twitterAppGoogleplayID",t,"rank_math_twitter_app_googleplay_id")}function Bt(t){return M("twitterAppGoogleplayName",t,"rank_math_twitter_app_googleplay_name")}function Ut(t){return M("twitterAppGoogleplayUrl",t,"rank_math_twitter_app_googleplay_url")}function Ft(t){return M("twitterAppCountry",t,"rank_math_twitter_app_country")}function Lt(t){return x("isLoaded",t)}function Nt(t){return x("selectedKeyword",t)}function $t(){return x("refreshResults",Date.now())}function Ht(){return x("isPro",!0)}function Kt(t){return x("isDiviPageSettingsBarActive",t)}function Gt(t){return x("isDiviRankMathModalActive",t)}var zt=wp.i18n;function Vt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function qt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Vt(Object(r),!0).forEach((function(e){Qt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Vt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Qt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Wt(t){return x("isSchemaEditorOpen",t)}function Yt(t){return x("isSchemaTemplatesOpen",t)}function Jt(t){return x("schemaUpdated",t)}function Xt(t){return x("editingSchemaId",t)}function Zt(t){return x("editorTab",t)}function te(t){return x("templateTab",t)}function ee(t){return x("editSchemas",t)}function re(t){return M("schemas",t)}function ne(t,e){var r=qt({},(0,o.select)("rank-math").getEditSchemas());return r[t]=e,x("editSchemas",r)}function ae(t,e){var r=qt({},(0,o.select)("rank-math").getSchemas());return r[t]=e,M("schemas",r)}function ie(t){var e=qt({},(0,o.select)("rank-math").getSchemas());return delete e[t],(0,s.doAction)("rank_math_schema_trash",t),M("schemas",e,"rank_math_delete_"+t,"")}function oe(t,e,r){return i()({method:"POST",path:"rankmath/v1/saveTemplate",data:{schema:t,postId:r}}).then((function(r){e({loading:!1,showNotice:!0,postId:r.id}),setTimeout((function(){e({showNotice:!1}),(0,at.get)(rankMath,"isTemplateScreen",!1)&&(document.title=(0,zt.__)("Edit Schema","rank-math"),window.history.pushState(null,"",r.link.replace(/&amp;/g,"&")))}),2e3),rankMath.schemaTemplates.push({schema:t,title:t.metadata.title,type:t["@type"]})})),e({loading:!0}),{type:"DONT_WANT_TO_DO_SOMETHING"}}function ue(t){return x("keywordsData",t)}function ce(t){return M("contentAIScore",t,"rank_math_contentai_score")}function se(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function le(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?se(Object(r),!0).forEach((function(e){pe(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):se(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function pe(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var fe=rankMath.assessor.serpData,he=rankMath.assessor.hasRedirection,de={postID:null,title:fe.title?fe.title:fe.titleTemplate,description:fe.description,keywords:fe.focusKeywords,pillarContent:fe.pillarContent,featuredImage:"",permalink:!1,primaryTerm:fe.primaryTerm,robots:fe.robots,advancedRobots:fe.advancedRobots,canonicalUrl:fe.canonicalUrl,breadcrumbTitle:fe.breadcrumbTitle,showScoreFrontend:fe.showScoreFrontend,redirectionID:he?(0,at.get)(rankMath.assessor,"redirection.id",""):"",redirectionType:he?(0,at.get)(rankMath.assessor,"redirection.header_code",""):"",redirectionUrl:he?(0,at.get)(rankMath.assessor,"redirection.url_to",""):"",facebookTitle:fe.facebookTitle,facebookImage:fe.facebookImage,facebookImageID:fe.facebookImageID,facebookAuthor:fe.facebookAuthor,facebookDescription:fe.facebookDescription,facebookHasOverlay:fe.facebookHasOverlay,facebookImageOverlay:fe.facebookImageOverlay,twitterTitle:fe.twitterTitle,twitterImage:fe.twitterImage,twitterAuthor:fe.twitterAuthor,twitterImageID:fe.twitterImageID,twitterCardType:fe.twitterCardType,twitterUseFacebook:fe.twitterUseFacebook,twitterDescription:fe.twitterDescription,twitterHasOverlay:fe.twitterHasOverlay,twitterImageOverlay:fe.twitterImageOverlay,twitterPlayerUrl:fe.twitterPlayerUrl,twitterPlayerSize:fe.twitterPlayerSize,twitterPlayerStream:fe.twitterPlayerStream,twitterPlayerStreamCtype:fe.twitterPlayerStreamCtype,twitterAppDescription:fe.twitterAppDescription,twitterAppIphoneName:fe.twitterAppIphoneName,twitterAppIphoneID:fe.twitterAppIphoneID,twitterAppIphoneUrl:fe.twitterAppIphoneUrl,twitterAppIpadName:fe.twitterAppIpadName,twitterAppIpadID:fe.twitterAppIpadID,twitterAppIpadUrl:fe.twitterAppIpadUrl,twitterAppGoogleplayName:fe.twitterAppGoogleplayName,twitterAppGoogleplayID:fe.twitterAppGoogleplayID,twitterAppGoogleplayUrl:fe.twitterAppGoogleplayUrl,twitterAppCountry:fe.twitterAppCountry,schemas:(0,at.get)(rankMath,"schemas",{}),score:0,contentAIScore:{},dirtyMetadata:{}};function me(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:de,r=arguments.length>1?arguments[1]:void 0,n=le({},e.dirtyMetadata);return!1!==r.metaKey&&(n[r.metaKey]=r.metaValue),"RANK_MATH_APP_DATA"===r.type?"dirtyMetadata"===r.key?le(le({},e),{},{dirtyMetadata:r.value}):le(le({},e),{},(pe(t={},r.key,r.value),pe(t,"dirtyMetadata",n),t)):e}function ge(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ye(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ge(Object(r),!0).forEach((function(e){ve(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ge(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function ve(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var be={isLoaded:!1,isPro:!1,selectedKeyword:{tag:"",index:0,data:{value:""}},hasRedirect:rankMath.assessor.hasRedirection&&!(0,at.isEmpty)((0,at.get)(rankMath.assessor,"redirection.id",""))&&!(0,at.isEmpty)((0,at.get)(rankMath.assessor,"redirection.url_to","")),serpTitle:"",serpSlug:"",serpDescription:"",isSnippetEditorOpen:!1,snippetPreviewType:"",refreshResults:"",redirectionItem:{},isTrendsCtaOpen:!1,editorTab:"",templateTab:"",editSchemas:{},editingSchemaId:"",isSchemaEditorOpen:!1,isSchemaTemplatesOpen:!1,schemaUpdated:!1,isDiviRankMathModalActive:!1,isDiviPageSettingsBarActive:!1,keywordsData:(0,at.get)(rankMath,"ca_data",[])};function we(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:be,e=arguments.length>1?arguments[1]:void 0;return"RANK_MATH_APP_UI"===e.type?ye(ye({},t),{},ve({},e.key,e.value)):t}function ke(t){return t.appData}function _e(t){return t.appData.dirtyMetadata}function Se(t){return t.appData.score}function Te(t){return t.appData.keywords}function De(t){return t.appData.pillarContent}function Ie(t){return t.appData.robots}function Pe(t){return t.appData.advancedRobots}function Ee(t){return t.appData.canonicalUrl}function Oe(t){return t.appData.breadcrumbTitle}function Ae(t){return"todo"}function Me(t){return t.appData.showScoreFrontend}function xe(t){return t.appUi.isLoaded}function Ce(t){return t.appUi.selectedKeyword}function Re(t){return t.appUi.refreshResults}function je(t){return t.appUi.isPro}function Be(t){return t.appUi.isDiviPageSettingsBarActive}function Ue(t){return t.appUi.isDiviRankMathModalActive}function Fe(t){return t.appData.facebookTitle}function Le(t){return t.appData.facebookDescription}function Ne(t){return t.appData.facebookAuthor}function $e(t){return t.appData.facebookImageID}function He(t){return t.appData.facebookImage}function Ke(t){return t.appData.facebookHasOverlay}function Ge(t){return""!==t.appData.facebookImageOverlay?t.appData.facebookImageOverlay:"play"}function ze(t){return t.appData.postID}function Ve(t){return t.appData.title}function qe(t){return t.appData.permalink}function Qe(t){return t.appData.description}function We(t){return t.appData.featuredImage}function Ye(t){var e=t.appData.featuredImage;return'<img src="'.concat(e.source_url,'" alt="').concat(e.alt_text,'" >')}function Je(t){return t.appData.primaryTerm}function Xe(t){return t.appData.redirectionID}function Ze(t){return t.appData.redirectionType}function tr(t){return t.appData.redirectionUrl}function er(t){return t.appUi.redirectionItem}function rr(t){return t.appUi.hasRedirect}var nr=wp.url;function ar(t){return ot(t.appUi.serpTitle)}function ir(t){return(0,nr.safeDecodeURIComponent)(t.appUi.serpSlug)}function or(t){return t.appUi.serpDescription}function ur(t){return t.appUi.isSnippetEditorOpen}function cr(t){return t.appUi.snippetPreviewType}function sr(t){return t.appUi.isTrendsCtaOpen}function lr(t){return t.appUi.isSchemaEditorOpen}function pr(t){return t.appUi.isSchemaTemplatesOpen}function fr(t){return t.appUi.schemaUpdated}function hr(t){return t.appData.schemas}function dr(t){return t.appUi.editSchemas}function mr(t){return{id:t.appUi.editingSchemaId,data:t.appUi.editSchemas[t.appUi.editingSchemaId]}}function gr(t){return t.appData.schemas[t.appUi.editingSchemaId]}function yr(t){return t.appUi.editorTab}function vr(t){return t.appUi.templateTab}function br(t){return t.appData.twitterUseFacebook}function wr(t){return t.appData.twitterCardType}function kr(t){return t.appData.twitterTitle}function _r(t){return t.appData.twitterDescription}function Sr(t){return t.appData.twitterAuthor}function Tr(t){return t.appData.twitterImageID}function Dr(t){return t.appData.twitterImage}function Ir(t){return t.appData.twitterHasOverlay}function Pr(t){return""!==t.appData.twitterImageOverlay?t.appData.twitterImageOverlay:"play"}function Er(t){return t.appData.twitterAppDescription}function Or(t){return t.appData.twitterAppIphoneID}function Ar(t){return t.appData.twitterAppIphoneName}function Mr(t){return t.appData.twitterAppIphoneUrl}function xr(t){return t.appData.twitterAppIpadID}function Cr(t){return t.appData.twitterAppIpadName}function Rr(t){return t.appData.twitterAppIpadUrl}function jr(t){return t.appData.twitterAppGoogleplayID}function Br(t){return t.appData.twitterAppGoogleplayName}function Ur(t){return t.appData.twitterAppGoogleplayUrl}function Fr(t){return t.appData.twitterAppCountry}function Lr(t){return t.appData.twitterPlayerUrl}function Nr(t){return t.appData.twitterPlayerSize}function $r(t){return t.appData.twitterPlayerStream}function Hr(t){return t.appData.twitterPlayerStreamCtype}function Kr(t){return t.appUi.keywordsData}function Gr(t){return t.appData.contentAIScore}var zr=(0,o.registerStore)("rank-math",{reducer:(0,o.combineReducers)(e),selectors:n,actions:t});function Vr(){return zr}var qr={"&amp;":"&","&quot;":'"',"&#39;":"'"},Qr=/&(?:amp|quot|#(0+)?39);/g,Wr=RegExp(Qr.source);var Yr=function(t){return t&&Wr.test(t)?t.replace(Qr,(function(t){return qr[t]||"'"})):t||""};function Jr(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var Xr=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.analyzer=new I.Analyzer({i18n:zt,analyses:rankMath.assessor.researchesTests}),this.dataCollector=e,this.registerRefresh(),this.updateKeywordResult=this.updateKeywordResult.bind(this),this.sanitizeData=this.sanitizeData.bind(this),(0,s.addAction)("rankMath_analysis_keywordUsage_updated","rank-math",this.updateKeywordResult),(0,s.addFilter)("rank_math_sanitize_meta_value","rank-math",this.sanitizeData),(0,s.addFilter)("rank_math_sanitize_data","rank-math",this.sanitizeData)}var e,r,n;return e=t,r=[{key:"updateKeywordResult",value:function(t,e){rankMathEditor.resultManager.update(t,{keywordNotUsed:e}),t===this.getSelectedKeyword().toLowerCase()&&(0,o.dispatch)("rank-math").refreshResults()}},{key:"sanitizeData",value:function(t,e){return"schemas"===e||(0,at.isObject)(t)||(0,at.isEmpty)(t)?t:I.Helpers.sanitizeAppData(t)}},{key:"getPaper",value:function(t,e){var r=Vr().getState(),n=this.dataCollector.getData(),a=new I.Paper("",{locale:rankMath.localeFull});return a.setTitle(r.appUi.serpTitle),a.setPermalink(n.slug),a.setDescription(r.appUi.serpDescription),a.setUrl(n.permalink),a.setText(Yr((0,s.applyFilters)("rank_math_content",n.content))),a.setKeyword(t),a.setKeywords(e),a.setSchema(r.appData.schemas),(0,at.isUndefined)(n.featuredImage)||(a.setThumbnail(n.featuredImage.source_url),a.setThumbnailAltText(I.Helpers.removeDiacritics(n.featuredImage.alt_text))),(0,at.isEmpty)(r.appData.contentAIScore)&&(0,at.isEmpty)(rankMath.ca_keyword)||a.setContentAI(!0),a}},{key:"registerRefresh",value:function(){var t=this;this.refresh=(0,at.debounce)((function(e){var r=Vr().getState();if(!1!==r.appUi.isLoaded){var n=r.appData.keywords.split(","),a=[];(0,s.doAction)("rank_math_"+e+"_refresh"),n.map((function(e,r){var i=t.getPaper(I.Helpers.removeDiacritics(e),n),u=0===r?rankMath.assessor.researchesTests:t.filterTests(t.getSecondaryKeywordTests());a.push(t.analyzer.analyzeSome(u,i).then((function(t){rankMathEditor.resultManager.update(i.getKeyword(),t,0===r),0===r&&(0,o.dispatch)("rank-math").updateAnalysisScore(rankMathEditor.resultManager.getScore(i.getKeyword()))}))),Promise.all(a).then((function(){(0,o.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 t=Vr().getState().appData.keywords;return I.Helpers.removeDiacritics(t.split(",")[0])}},{key:"getSelectedKeyword",value:function(){var t=Vr().getState(),e=""!==t.appUi.selectedKeyword.data.value?t.appUi.selectedKeyword.data.value:t.appData.keywords.split(",")[0];return I.Helpers.removeDiacritics(e)}},{key:"getResearch",value:function(t){return this.analyzer.researcher.getResearch(t)}},{key:"filterTests",value:function(t){return(0,at.intersection)(t,rankMath.assessor.researchesTests)}}],r&&Jr(e.prototype,r),n&&Jr(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}(),Zr=Xr;function tn(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var en=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),rankMath.is_front_page&&((0,s.addFilter)("rankMath_analysis_contentLength","rank-math",this.contentLength),(0,s.addFilter)("rankMath_analysis_contentLength_boundaries","rank-math",this.contentLengthBoundary))}var e,r,n;return e=t,(r=[{key:"contentLength",value:function(t){return{hasScore:t.hasScore,failed:(0,zt.__)("Content is %1$d words long. Consider using at least 300 words.","rank-math"),tooltipText:(0,zt.__)("Minimum recommended content length should be 300 words.","rank-math"),emptyContent:(0,zt.sprintf)((0,zt.__)("Content should be %1$s long.","rank-math"),'<a href="https://s.rankmath.com/100contentlength" target="_blank">'+(0,zt.__)("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}}}}])&&tn(e.prototype,r),n&&tn(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();function rn(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var nn=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,r,n;return e=t,(r=[{key:"setup",value:function(t){Vr(),this.resultManager=new I.ResultManager,this.assessor=new Zr(t),new en,(0,s.doAction)("rank_math_loaded")}},{key:"refresh",value:function(t){this.assessor.refresh(t)}},{key:"getPrimaryKeyword",value:function(){return this.assessor.getPrimaryKeyword()}},{key:"getSelectedKeyword",value:function(){return this.assessor.getSelectedKeyword()}},{key:"updatePermalink",value:function(t){throw"Implement the function"}},{key:"updatePermalinkSanitize",value:function(t){throw"Implement the function"}}])&&rn(e.prototype,r),n&&rn(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();function an(t){return an="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},an(t)}function on(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function un(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?on(Object(r),!0).forEach((function(e){fn(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):on(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function cn(){cn=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},a=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",o=n.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function c(t,e,r,n){var a=e&&e.prototype instanceof p?e:p,i=Object.create(a.prototype),o=new S(n||[]);return i._invoke=function(t,e,r){var n="suspendedStart";return function(a,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===a)throw i;return D()}for(r.method=a,r.arg=i;;){var o=r.delegate;if(o){var u=w(o,r);if(u){if(u===l)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=s(t,e,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(t,r,o),i}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var l={};function p(){}function f(){}function h(){}var d={};u(d,a,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(T([])));g&&g!==e&&r.call(g,a)&&(d=g);var y=h.prototype=p.prototype=Object.create(d);function v(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){function n(a,i,o,u){var c=s(t[a],t,i);if("throw"!==c.type){var l=c.arg,p=l.value;return p&&"object"==an(p)&&r.call(p,"__await")?e.resolve(p.__await).then((function(t){n("next",t,o,u)}),(function(t){n("throw",t,o,u)})):e.resolve(p).then((function(t){l.value=t,o(l)}),(function(t){return n("throw",t,o,u)}))}u(c.arg)}var a;this._invoke=function(t,r){function i(){return new e((function(e,a){n(t,r,e,a)}))}return a=a?a.then(i,i):i()}}function w(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,w(t,e),"throw"===e.method))return l;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var n=s(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,l;var a=n.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,l):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,l)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:D}}function D(){return{value:void 0,done:!0}}return f.prototype=h,u(y,"constructor",h),u(h,"constructor",f),f.displayName=u(h,o,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,o,"GeneratorFunction")),t.prototype=Object.create(y),t},t.awrap=function(t){return{__await:t}},v(b.prototype),u(b.prototype,i,(function(){return this})),t.AsyncIterator=b,t.async=function(e,r,n,a,i){void 0===i&&(i=Promise);var o=new b(c(e,r,n,a),i);return t.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},v(y),u(y,o,"Generator"),u(y,a,(function(){return this})),u(y,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=T,S.prototype={constructor:S,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(_),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return o.type="throw",o.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],o=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(u&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var i=a;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=t,o.arg=e,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),l},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),l}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var a=n.arg;_(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:T(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},t}function sn(t,e,r,n,a,i,o){try{var u=t[i](o),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,a)}function ln(t){return function(){var e=this,r=arguments;return new Promise((function(n,a){var i=t.apply(e,r);function o(t){sn(i,n,a,o,u,"next",t)}function u(t){sn(i,n,a,o,u,"throw",t)}o(void 0)}))}}function pn(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function fn(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var hn=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),fn(this,"initialize",!1),this.etSettingsData={title:"",excerpt:"",featuredImage:""},this._featuredImage=null,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.subscribeToDivi()}var e,r,n,a,u,c;return e=t,r=[{key:"collectPostData",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 parseInt((0,at.get)(ETBuilderBackendDynamic,"postId",0))}},{key:"getTitle",value:function(){return this.etSettingsData.title}},{key:"setTitle",value:function(t){this.etSettingsData.title=t}},{key:"getContent",value:function(){var t=[];return this.getContentArea().find(".et_pb_section").each((function(){t.push(E()(this).html())})),t.join("")}},{key:"getContentArea",value:function(){if(this._etAppFrameElem||(this._etAppFrameElem=(0,at.get)(ET_Builder,"Frames.app.frameElement",document.querySelector("iframe#et-fb-app-frame"))),!this._etAppFrameElem)return E()("<div />");var t=this._etAppFrameElem.contentWindow.document,e=E()((0,at.isNull)(t.querySelector("#theme-builder-area--post_content"))?t.querySelector("body"):t.querySelector("#theme-builder-area--post_content"));return e.length<1?E()("<div />"):e}},{key:"getExcerpt",value:function(){return this.etSettingsData.excerpt}},{key:"setExcerpt",value:function(t){this.etSettingsData.excerpt=t}},{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(0,nr.safeDecodeURIComponent)((0,o.select)("rank-math").getPermalink())}},{key:"getFeaturedImage",value:function(){if(this._featuredImage)return this._featuredImage;this.setFeaturedImage()}},{key:"setFeaturedImage",value:(c=ln(cn().mark((function t(e){return cn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0!==e){t.next=4;break}return t.next=3,this.fetchFeaturedImageId();case 3:e=t.sent;case 4:if(!this.isValidMediaId(e)||!e){t.next=10;break}return t.next=7,this.fetchWpMedia(e);case 7:this._featuredImage=t.sent,t.next=11;break;case 10:this._featuredImage=!1;case 11:case"end":return t.stop()}}),t,this)}))),function(t){return c.apply(this,arguments)})},{key:"fetchFeaturedImageId",value:(u=ln(cn().mark((function t(){var e;return cn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=null,t.next=3,i()({path:"/rankmath/v1/getFeaturedImageId",method:"POST",data:{postId:(0,at.get)(ETBuilderBackendDynamic,"postId",0)}}).then((function(t){return e=!!t.success&&t.featImgId}));case 3:return t.abrupt("return",e);case 4:case"end":return t.stop()}}),t)}))),function(){return u.apply(this,arguments)})},{key:"fetchWpMedia",value:(a=ln(cn().mark((function t(e){var r;return cn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r={},t.next=3,i()({path:"/wp/v2/media/".concat(e),method:"GET"}).then((function(t){return r=t}));case 3:return t.abrupt("return",r);case 4:case"end":return t.stop()}}),t)}))),function(t){return a.apply(this,arguments)})},{key:"isValidMediaId",value:function(t){return"number"==typeof t&&0<t}},{key:"subscribeToDivi",value:function(){var t=this;this.setTitle((0,at.get)(ETBuilderBackendDynamic,"postTitle","")),this.setExcerpt((0,at.get)(ETBuilderBackendDynamic,"postMeta.post_excerpt","")),this.setFeaturedImage((0,at.get)(ETBuilderBackendDynamic,"currentPage.thumbnailId",0)),(0,o.dispatch)("rank-math").updatePermalink(rankMath.postName),this.subscriber=(0,at.debounce)(this.refresh,500),(0,o.subscribe)(this.subscriber),E()(".et-fb-page-settings-bar").find(".et-fb-button--save-draft, .et-fb-button--publish").on("click",(function(){setTimeout((function(){t.savePost(),t.saveRedirection(),t.saveSchemas()}),500)})),(0,s.addFilter)("et.builder.store.setting.update","rank-math",(function(e,r){if(e)switch(r){case"et_pb_post_settings_title":t.setTitle(e),t.subscriber();break;case"et_pb_post_settings_excerpt":t.setExcerpt(e),t.subscriber();break;case"et_pb_post_settings_image":t.setFeaturedImage(parseInt(e)),t.subscriber()}return e})),window.addEventListener("message",(function(e){"et_fb_section_content_change"===e.data.etBuilderEvent&&t.subscriber()}))}},{key:"refresh",value:function(){var t=un({},this._data);this._data=this.collectPostData(),this.handleEditorChange(t),!(0,at.isEqual)(t,this._data)&&t.id&&(0,o.dispatch)("rank-math").refreshResults()}},{key:"savePost",value:function(){var t=(0,o.select)("rank-math").getDirtyMetadata();(0,at.isEmpty)(t)||(i()({method:"POST",path:"/rankmath/v1/updateMeta",data:{objectID:rankMath.objectID,objectType:rankMath.objectType,meta:t}}).then((function(t){(0,at.isString)(t.slug)&&(0,o.dispatch)("rank-math").updatePermalink(t.slug),(0,s.doAction)("rank_math_metadata_updated",t)})),(0,o.dispatch)("rank-math").resetDirtyMetadata())}},{key:"saveRedirection",value:function(){var t=(0,o.select)("rank-math").getRedirectionItem();(0,at.isEmpty)(t)||(t.objectID=this.getPostID(),t.redirectionSources=this.getPermalink(),i()({method:"POST",path:"/rankmath/v1/updateRedirection",data:t}).then((function(t){"delete"===t.action?(0,o.dispatch)("rank-math").updateRedirection("redirectionID",0):"new"===t.action&&(0,o.dispatch)("rank-math").updateRedirection("redirectionID",t.id)})),(0,o.dispatch)("rank-math").resetRedirection())}},{key:"saveSchemas",value:function(){var t=(0,o.select)("rank-math").getSchemas();if(!(0,at.isEmpty)(t)&&!(0,at.isEqual)(t,(0,at.get)(rankMath,"schemas",{}))){var e=(0,o.select)("rank-math").getEditSchemas();i()({method:"POST",path:"/rankmath/v1/updateSchemas",data:{objectID:rankMath.objectID,objectType:rankMath.objectType,schemas:t}}).then((function(r){if((0,at.isEmpty)(r))(0,o.dispatch)("rank-math").updateSchemas(t);else{var n=un({},t),a=un({},e);(0,at.map)(r,(function(t,e){n["schema-"+t]=un({},n[e]),a["schema-"+t]=un({},a[e]),delete n[e],delete a[e]})),(0,o.dispatch)("rank-math").updateSchemas(n),(0,o.dispatch)("rank-math").updateEditSchemas(a)}}))}}},{key:"handleEditorChange",value:function(t){var e=this,r={id:"handleIDChange",slug:"handleSlugChange",title:"handleTitleChange",excerpt:"handleExcerptChange",content:"handleContentChange",featuredImage:"handleFeaturedImageChange"};if((0,at.isInteger)(t.id))return this.initialize?void(0,at.forEach)(r,(function(r,n){e._data[n]!==t[n]&&e[r](e._data[n])})):(this.initialize=!0,(0,at.forEach)(r,(function(t,r){e[t](e._data[r])})),void rankMathEditor.refresh("init"));(0,o.dispatch)("rank-math").refreshResults()}},{key:"handleIDChange",value:function(t){(0,o.dispatch)("rank-math").updatePostID(t),(0,o.dispatch)("rank-math").toggleLoaded(!0)}},{key:"handleSlugChange",value:function(){rankMathEditor.refresh("permalink")}},{key:"handleTitleChange",value:function(t){A.setVariable("title",t),(0,o.dispatch)("rank-math").updateSerpTitle((0,o.select)("rank-math").getTitle()),rankMathEditor.refresh("title")}},{key:"handleExcerptChange",value:function(t){A.setVariable("excerpt",t),A.setVariable("excerpt_only",t),A.setVariable("wc_shortdesc",t),A.setVariable("seo_description",t),(0,o.dispatch)("rank-math").updateSerpDescription((0,o.select)("rank-math").getDescription())}},{key:"handleFeaturedImageChange",value:function(t){(0,o.dispatch)("rank-math").updateFeaturedImage(t),rankMathEditor.refresh("featuredImage")}},{key:"handleContentChange",value:function(){(0,o.dispatch)("rank-math").updateSerpDescription((0,o.select)("rank-math").getDescription()),rankMathEditor.refresh("content")}},{key:"getData",value:function(){return this._data}}],r&&pn(e.prototype,r),n&&pn(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}(),dn=hn,mn=r(4184),gn=r.n(mn),yn=function(){return wp.element.createElement("span",{className:"rank-math-rm-modal-toggle-button-icon",style:{display:"block",fill:"rgb(255, 255, 255)",width:"0px",height:"0px",marginTop:"-10px",marginLeft:"-1px"}},wp.element.createElement("svg",{viewBox:"0 0 462.03 462.03",xmlns:"http://www.w3.org/2000/svg",width:"20"},wp.element.createElement("g",null,wp.element.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"}),wp.element.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"}))))},vn=function(){return wp.element.createElement("button",{type:"button","data-tip":"Rank Math SEO",onClick:function(){(0,o.dispatch)("rank-math").toggleIsDiviRankMathModalActive(!(0,o.select)("rank-math").isDiviRankMathModalActive())},className:gn()("rank-math-rm-modal-toggle-button","et_fb_ignore_iframe","et-fb-button","et-fb-button--elevate","et-fb-button--primary","et-fb-button--round","et-fb-button--Tooltip"),style:{width:"40px",height:"40px"}},wp.element.createElement(yn,null))},bn=function(){return wp.element.createElement("div",{className:"rank-math-rm-settings-bar"},wp.element.createElement(vn,null))};function wn(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return kn(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return kn(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,a=function(){};return{s:a,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){u=!0,i=t},f:function(){try{o||null==r.return||r.return()}finally{if(u)throw i}}}}function kn(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var _n={init:function(){this.cacheProps(),this.toggleBodyClasses(),this.initSettingsBar(),this.addEventListeners()},cacheProps:function(){this.$document=E()(document),this.$body=E()("body"),this.rmModalHiddingTimer=null,this.rmPrevModalActiveState=!1,this.rmSettingsBarMediaQuery=window.matchMedia("(min-width: 768px)"),this.rmSettingsBarRootSelector="#rank-math-rm-settings-bar-root",this.$rmSettingsBarRoot=E()(this.rmSettingsBarRootSelector).detach(),this.$etPageSettingsBar=E()(".et-fb-page-settings-bar"),this.$etPageSettingsBarToggleButton=this.$etPageSettingsBar.find(".et-fb-page-settings-bar__toggle-button"),this.$etPageSettingsBarColumn=this.$etPageSettingsBar.find(".et-fb-page-settings-bar__column"),this.etSettingsBarObserver=new MutationObserver(this.onEtSettingsBarClassAttrChange.bind(this))},toggleBodyClasses:function(){var t=this.isEtSettingsBarActive();this.$body.toggleClass("rank-math-et-settings-bar-is-active",t),this.$body.toggleClass("rank-math-et-settings-bar-is-inactive",!t)},initSettingsBar:function(){var t=this.getEtSettingsBarPosition();this.onRmSettingsBarMediaQueryChange(),(0,c.render)((0,c.createElement)(bn),this.$rmSettingsBarRoot[0]),this.removePositionalClassNames(this.$body,"rank-math-et-settings-bar-is"),this.$body.addClass("rank-math-et-settings-bar-is-".concat(t)),this.attachRmSettingsBar(t)},addEventListeners:function(){this.$document.on("click",this.onDocumentClick.bind(this)),this.rmSettingsBarMediaQuery.addListener(this.onRmSettingsBarMediaQueryChange.bind(this)),this.etSettingsBarObserver.observe(this.$etPageSettingsBar[0],{attributeFilter:["class"]})},onDocumentClick:function(t){this.hideModalOnOutsideClick(t.target)},onRmSettingsBarMediaQueryChange:function(){this.detachRmSettingsBar(),this.attachRmSettingsBar(this.getEtSettingsBarPosition())},onEtSettingsBarClassAttrChange:function(){var t=this.isEtSettingsBarActive(),e=this.getEtSettingsBarPosition();this.removePositionalClassNames(this.$body,"rank-math-et-settings-bar-is"),this.$body.addClass("rank-math-et-settings-bar-is-".concat(e)),(0,o.dispatch)("rank-math").toggleIsDiviPageSettingsBarActive(t),this.toggleBodyClasses(),this.detachRmSettingsBar(),this.isEtSettingsBarDragged()?(this.rmPrevModalActiveState=(0,o.select)("rank-math").isDiviRankMathModalActive(),this.rmPrevModalActiveState&&(this.rmModalHiddingTimer=setTimeout((function(){(0,o.dispatch)("rank-math").toggleIsDiviRankMathModalActive(!1)}),200))):(clearTimeout(this.rmModalHiddingTimer),this.attachRmSettingsBar(e),(0,o.dispatch)("rank-math").toggleIsDiviRankMathModalActive(this.rmPrevModalActiveState||(0,o.select)("rank-math").isDiviRankMathModalActive()),this.rmPrevModalActiveState=!1)},attachRmSettingsBar:function(t){this.isRmSettingsBarAttached()||(this.toggleRmSettingsBarClassNames(t),this.isEtSettingsBarActive()?this.rmSettingsBarMediaQuery.matches?this.$etPageSettingsBarColumn.filter(".et-fb-page-settings-bar__column--main").append(this.$rmSettingsBarRoot):this.$etPageSettingsBarColumn.filter(".et-fb-page-settings-bar__column--left").prepend(this.$rmSettingsBarRoot):this.$etPageSettingsBarToggleButton.after(this.$rmSettingsBarRoot))},detachRmSettingsBar:function(){this.isRmSettingsBarAttached()&&(this.$rmSettingsBarRoot=this.$etPageSettingsBar.find(this.rmSettingsBarRootSelector).detach())},toggleRmSettingsBarClassNames:function(t){this.removePositionalClassNames(this.$rmSettingsBarRoot),this.$rmSettingsBarRoot.addClass("rank-math-rm-settings-bar-root-".concat(t)),this.$rmSettingsBarRoot.toggleClass(["rank-math-rm-settings-bar-root-is-mobile","rank-math-rm-settings-bar-root-is-mobile-".concat(t)].join(" "),!this.rmSettingsBarMediaQuery.matches),this.$rmSettingsBarRoot.toggleClass(["rank-math-rm-settings-bar-root-is-desktop","rank-math-rm-settings-bar-root-is-desktop-".concat(t)].join(" "),this.rmSettingsBarMediaQuery.matches)},isRmSettingsBarAttached:function(){return E().contains(document.documentElement,this.$rmSettingsBarRoot[0])},isEtSettingsBarActive:function(){return this.$etPageSettingsBar.hasClass("et-fb-page-settings-bar--active")},isEtSettingsBarDragged:function(){return this.$etPageSettingsBar.hasClass("et-fb-page-settings-bar--dragged")&&!this.isEtSettingsBarActive()},removePositionalClassNames:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=["".concat(e,"-left"),"".concat(e,"-right"),"".concat(e,"-top"),"".concat(e,"-top-left"),"".concat(e,"-top-right"),"".concat(e,"-bottom"),"".concat(e,"-bottom-left"),"".concat(e,"-bottom-right")].join("|"),n=new RegExp("(".concat(r,")$"),"gim");t.removeClass((function(t,e){var r,a=[],i=wn(e.split(" "));try{for(i.s();!(r=i.n()).done;){var o=r.value;n.test(o)&&a.push(o)}}catch(t){i.e(t)}finally{i.f()}return a}))},getEtSettingsBarPosition:function(){var t=this.$etPageSettingsBar;return t.hasClass("et-fb-page-settings-bar--horizontal")&&!t.hasClass("et-fb-page-settings-bar--top")?"bottom":t.hasClass("et-fb-page-settings-bar--top")&&!t.hasClass("et-fb-page-settings-bar--corner")?"top":t.hasClass("et-fb-page-settings-bar--bottom-corner")?t.hasClass("et-fb-page-settings-bar--left-corner")?"bottom-left":"bottom-right":t.hasClass("et-fb-page-settings-bar--top-corner")?t.hasClass("et-fb-page-settings-bar--left-corner")?"top-left":"top-right":t.hasClass("et-fb-page-settings-bar--vertical--right")?"right":t.hasClass("et-fb-page-settings-bar--vertical--left")?"left":""},hideModalOnOutsideClick:function(t){if((0,o.select)("rank-math").isDiviRankMathModalActive()){var e=".rank-math-rm-modal";E()(t).parents(e)||t.closest(".components-modal__screen-overlay.rank-math-modal-overlay")||t.closest(".rank-math-rm-modal-toggle-button")||t.contains(document.querySelector(e))||(0,o.dispatch)("rank-math").toggleIsDiviRankMathModalActive(!1)}}},Sn=(0,o.withSelect)((function(t){return{primaryTermId:t("rank-math").getPrimaryTermID()}}))((function(t){var e=t.taxonomySlug,r=t.primaryTermId,n=t.options;if(n.length<2||!e)return null;return wp.element.createElement(l.SelectControl,{className:"rank-math-primary-term-select",label:(0,zt.__)("Select Primary Term","rank-math"),value:r,options:n,onChange:function(t){(0,o.dispatch)("rank-math").updatePrimaryTermID(parseInt(t),e)}})}));function Tn(t){return Tn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Tn(t)}function Dn(){Dn=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},a=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",o=n.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function c(t,e,r,n){var a=e&&e.prototype instanceof p?e:p,i=Object.create(a.prototype),o=new S(n||[]);return i._invoke=function(t,e,r){var n="suspendedStart";return function(a,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===a)throw i;return D()}for(r.method=a,r.arg=i;;){var o=r.delegate;if(o){var u=w(o,r);if(u){if(u===l)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=s(t,e,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(t,r,o),i}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var l={};function p(){}function f(){}function h(){}var d={};u(d,a,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(T([])));g&&g!==e&&r.call(g,a)&&(d=g);var y=h.prototype=p.prototype=Object.create(d);function v(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){function n(a,i,o,u){var c=s(t[a],t,i);if("throw"!==c.type){var l=c.arg,p=l.value;return p&&"object"==Tn(p)&&r.call(p,"__await")?e.resolve(p.__await).then((function(t){n("next",t,o,u)}),(function(t){n("throw",t,o,u)})):e.resolve(p).then((function(t){l.value=t,o(l)}),(function(t){return n("throw",t,o,u)}))}u(c.arg)}var a;this._invoke=function(t,r){function i(){return new e((function(e,a){n(t,r,e,a)}))}return a=a?a.then(i,i):i()}}function w(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,w(t,e),"throw"===e.method))return l;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var n=s(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,l;var a=n.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,l):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,l)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:D}}function D(){return{value:void 0,done:!0}}return f.prototype=h,u(y,"constructor",h),u(h,"constructor",f),f.displayName=u(h,o,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,o,"GeneratorFunction")),t.prototype=Object.create(y),t},t.awrap=function(t){return{__await:t}},v(b.prototype),u(b.prototype,i,(function(){return this})),t.AsyncIterator=b,t.async=function(e,r,n,a,i){void 0===i&&(i=Promise);var o=new b(c(e,r,n,a),i);return t.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},v(y),u(y,o,"Generator"),u(y,a,(function(){return this})),u(y,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=T,S.prototype={constructor:S,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(_),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return o.type="throw",o.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],o=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(u&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var i=a;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=t,o.arg=e,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),l},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),l}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var a=n.arg;_(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:T(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},t}function In(t,e,r,n,a,i,o){try{var u=t[i](o),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,a)}function Pn(t){return function(){var e=this,r=arguments;return new Promise((function(n,a){var i=t.apply(e,r);function o(t){In(i,n,a,o,u,"next",t)}function u(t){In(i,n,a,o,u,"throw",t)}o(void 0)}))}}function En(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function On(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var An=function(){function t(){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),E()(document).on("click",".et-fb-button--toggle-setting",(function(){clearTimeout(e.initRecursionTimer),e.attemptsRun=0,e.init.call(e)}))}var e,r,n,a,o;return e=t,r=[{key:"init",value:(o=Pn(Dn().mark((function t(){return Dn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0!==this.hasPostPrimaryTaxonomySupport){t.next=3;break}return t.next=3,this.cacheTaxonomyData();case 3:if(this.hasPostPrimaryTaxonomySupport){t.next=5;break}return t.abrupt("return");case 5:if(this.attemptsRun++,!(this.attemptsRun>this.maxAttempts)){t.next=8;break}return t.abrupt("return");case 8:this.cacheDom()?(this.renderContainer(),this.renderComponent(),this.bindEvents()):this.initRecursionTimer=setTimeout(this.init.bind(this),this.attemptInterval);case 10:case"end":return t.stop()}}),t,this)}))),function(){return o.apply(this,arguments)})},{key:"cacheTaxonomyData",value:(a=Pn(Dn().mark((function t(){var e,r,n=this;return Dn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=(0,at.get)(rankMath,"assessor.primaryTaxonomy.name")||"",r=(0,at.get)(ETBuilderBackendDynamic,"getTaxonomies",{}),this.primaryTaxonomyTerms=r[e]||[],t.next=4,i()({path:"/wp/v2/taxonomies"}).then((function(t){n.primaryTaxonomy=Object.keys(r).includes(e)&&t[e]?t[e]:{}}));case 4:this.hasPostPrimaryTaxonomySupport=!E().isEmptyObject(this.primaryTaxonomy),this.primaryTaxonomyValue=(0,at.get)(ETBuilderBackendDynamic,"pageSettingsValues.et_pb_post_settings_".concat(this.primaryTaxonomy.rest_base),"");case 6:case"end":return t.stop()}}),t,this)}))),function(){return a.apply(this,arguments)})},{key:"cacheDom",value:function(){return this.$diviSettingsModal=E()(document).find(".et-fb-modal__page-settings"),!!this.$diviSettingsModal.length&&(this.$diviTermSettingInputs=this.$diviSettingsModal.find(".et-fb-option--".concat(this.primaryTaxonomy.rest_base)),this.$diviTermSettingArea=this.$diviTermSettingInputs.parents(".et-fb-form__group"),this.$diviTermSettingArea.length||(this.$diviTermSettingArea=this.workaroundForFalseDiviTaxonomySelector()),this.$PrimaryTermSelectContainer=E()('<div id="rank-math-primary-term-input" />'),!0)}},{key:"workaroundForFalseDiviTaxonomySelector",value:function(){var t=this.primaryTaxonomy.name.toLowerCase();return this.$diviSettingsModal.find(".et-fb-form__label-text").filter((function(e,r){return E()(r).text().toLowerCase()===t})).parents(".et-fb-form__group")}},{key:"renderContainer",value:function(){this.$diviTermSettingArea.after(this.$PrimaryTermSelectContainer)}},{key:"renderComponent",value:function(t){var e={taxonomySlug:this.primaryTaxonomy.slug,options:this.formatActiveTerms(t)};(0,c.render)((0,c.createElement)(Sn,e),this.$PrimaryTermSelectContainer[0])}},{key:"bindEvents",value:function(){var t=this;(0,s.addFilter)("et.builder.store.setting.update","rank-math",(function(e,r){return"et_pb_post_settings_".concat(t.primaryTaxonomy.rest_base)===r&&t.renderComponent(e),e}))}},{key:"formatActiveTerms",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.primaryTaxonomyValue;return this.primaryTaxonomyTerms.length&&e.trim()?e.split(",").map((function(e){var r=(0,at.find)(t.primaryTaxonomyTerms,["term_id",parseInt(e)])||{};return{label:r.name,value:r.term_id}})):[]}}],r&&En(e.prototype,r),n&&En(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();On(An,"initRecursionTimer",void 0),On(An,"attemptsRun",0),On(An,"maxAttempts",10),On(An,"attemptInterval",1e3);var Mn=["className","children"];function xn(){return xn=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},xn.apply(this,arguments)}function Cn(t,e){if(null==t)return{};var r,n,a=function(t,e){if(null==t)return{};var r,n,a={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(a[r]=t[r]);return a}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(a[r]=t[r])}return a}var Rn=function(t){var e=t.className,r=t.children,n=Cn(t,Mn),a=gn()("rank-math-rm-modal-button",e);return wp.element.createElement("button",xn({type:"button",className:a},n),r)},jn=function(){return wp.element.createElement("div",{className:"et-fb-icon et-fb-icon--close",style:{fill:"rgb(255, 255, 255)",width:"28px",minWidth:"28px",height:"28px",margin:"-6px"}},wp.element.createElement("svg",{viewBox:"0 0 28 28",preserveAspectRatio:"xMidYMid meet",shapeRendering:"geometricPrecision"},wp.element.createElement("g",null,wp.element.createElement("path",{d:"M15.59 14l4.08-4.082a1.124 1.124 0 0 0-1.587-1.588L14 12.411 9.918 8.329A1.124 1.124 0 0 0 8.33 9.92L12.411 14l-4.082 4.082a1.124 1.124 0 0 0 1.59 1.589L14 15.589l4.082 4.082a1.124 1.124 0 0 0 1.589-1.59L15.589 14h.001z",fillRule:"evenodd"}))))},Bn=function(){var t=gn()("rank-math-rm-modal-header-discard-button");return wp.element.createElement(Rn,{className:t,onClick:function(){(0,o.dispatch)("rank-math").toggleIsDiviRankMathModalActive(!1)}},wp.element.createElement(jn,null))},Un=function(){var t=gn()("rank-math-rm-modal-header");return wp.element.createElement("header",{className:t},wp.element.createElement("div",{className:"rank-math-rm-modal-header"},wp.element.createElement("div",{className:"rank-math-rm-modal-header-title"},"Rank Math SEO"),wp.element.createElement("ul",{className:"rank-math-rm-modal-header-options"},wp.element.createElement("li",{className:"rank-math-rm-modal-header-option"},wp.element.createElement(Bn,null)))))},Fn=function(t){var e=t.children,r=gn()("rank-math-rm-modal-content","rank-math-sidebar-panel");return wp.element.createElement("div",{className:r},e)},Ln=(0,o.withSelect)((function(t){return{rmUiActive:(0,t("rank-math").isDiviRankMathModalActive)()}}))((function(t){var e=t.rmUiActive,r=gn()("rank-math-rm-modal",{"rank-math-rm-modal-is-hidden":!e}),n=gn()("rank-math-rm-modal-inner");return wp.element.createElement("div",{className:r},wp.element.createElement("div",{className:n},wp.element.createElement(Un,null),wp.element.createElement(Fn,null,(0,s.applyFilters)("rank_math_app",{})())))})),Nn=(0,l.withFilters)("rankMath.diviAppModal")(Ln),$n=function(){return wp.element.createElement(l.SlotFillProvider,null,wp.element.createElement("div",{className:"rank-math-rm-app"},wp.element.createElement(Nn,null)))};function Hn(t){return Hn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Hn(t)}function Kn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gn(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function zn(){return zn="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=Vn(t,e);if(n){var a=Object.getOwnPropertyDescriptor(n,e);return a.get?a.get.call(arguments.length<3?t:r):a.value}},zn.apply(this,arguments)}function Vn(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Yn(t)););return t}function qn(t,e){return qn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},qn(t,e)}function Qn(t){var e=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(t){return!1}}();return function(){var r,n=Yn(t);if(e){var a=Yn(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return Wn(this,r)}}function Wn(t,e){if(e&&("object"===Hn(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Yn(t){return Yn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Yn(t)}var Jn=function(){return u.MediaUpload},Xn=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&qn(t,e)}(u,t);var e,r,n,a=Qn(u);function u(){return Kn(this,u),a.apply(this,arguments)}return e=u,(r=[{key:"setup",value:function(t){i().use(i().createRootURLMiddleware(rankMath.api.root)),i().use(i().createNonceMiddleware(rankMath.restNonce)),this.registerSlots=this.registerSlots.bind(this),(0,s.addAction)("rank_math_loaded","rank-math",this.registerSlots,0),(0,s.addFilter)("editor.MediaUpload","rank-math/replace-media-upload",Jn),zn(Yn(u.prototype),"setup",this).call(this,t)}},{key:"registerSlots",value:function(){this.RankMathAfterEditor=m,this.RankMathAfterFocusKeyword=D,this.RankMathAdvancedTab=w,this.slots={AfterEditor:m,AfterFocusKeyword:D,AdvancedTab:w}}},{key:"updatePermalink",value:function(t){(0,o.dispatch)("rank-math").updatePermalink(t)}},{key:"updatePermalinkSanitize",value:function(t){t=this.assessor.getResearch("slugify")(t),(0,o.dispatch)("rank-math").updatePermalink(t)}}])&&Gn(e.prototype,r),n&&Gn(e,n),Object.defineProperty(e,"prototype",{writable:!1}),u}(nn);window.addEventListener("message",(function(t){"et_builder_api_ready"===t.data.etBuilderEvent&&(window.rankMathEditor=new Xn,window.rankMathGutenberg=window.rankMathEditor,window.rankMathEditor.setup(new dn),_n.init(),new An,(0,c.render)((0,c.createElement)($n),document.getElementById("rank-math-rm-app-root")),(0,o.dispatch)("rank-math").refreshResults())}))}()}();
includes/admin/class-import-export.php CHANGED
@@ -153,6 +153,9 @@ class Import_Export implements Runner {
153
 
154
  // Translators: %s is the plugin name.
155
  Helper::add_json( 'cleanPluginConfirm', esc_html__( 'Are you sure you want erase all traces of %s?', 'rank-math' ) );
 
 
 
156
  }
157
 
158
  /**
153
 
154
  // Translators: %s is the plugin name.
155
  Helper::add_json( 'cleanPluginConfirm', esc_html__( 'Are you sure you want erase all traces of %s?', 'rank-math' ) );
156
+
157
+ // Recalculate SEO Scores tool URL.
158
+ Helper::add_json( 'recalculateURL', Helper::get_admin_url( 'status', [ 'view' => 'tools', 'update_scores' => '1', '_wpnonce' => wp_create_nonce( 'rank-math-recalculate-scores' ) ] ) );
159
  }
160
 
161
  /**
includes/admin/class-post-columns.php CHANGED
@@ -198,7 +198,7 @@ class Post_Columns implements Runner {
198
  }
199
  ?>
200
  <span class="rank-math-column-display"><?php echo esc_html( $title ); ?></span>
201
- <span class="rank-math-column-value" data-field="title" contenteditable="true" tabindex="11"><?php echo esc_html( $title ); ?></span>
202
  <div class="rank-math-column-edit">
203
  <a href="#" class="rank-math-column-save"><?php esc_html_e( 'Save', 'rank-math' ); ?></a>
204
  <a href="#" class="button-link-delete rank-math-column-cancel"><?php esc_html_e( 'Cancel', 'rank-math' ); ?></a>
@@ -219,7 +219,7 @@ class Post_Columns implements Runner {
219
  }
220
  ?>
221
  <span class="rank-math-column-display"><?php echo esc_html( $description ); ?></span>
222
- <span class="rank-math-column-value" data-field="description" contenteditable="true" tabindex="11"><?php echo esc_html( $description ); ?></span>
223
  <div class="rank-math-column-edit">
224
  <a href="#" class="rank-math-column-save"><?php esc_html_e( 'Save', 'rank-math' ); ?></a>
225
  <a href="#" class="button-link-delete rank-math-column-cancel"><?php esc_html_e( 'Cancel', 'rank-math' ); ?></a>
@@ -267,9 +267,7 @@ class Post_Columns implements Runner {
267
  <span><?php echo $keyword ? esc_html( $keyword ) : esc_html__( 'Not Set', 'rank-math' ); ?></span>
268
  </span>
269
 
270
- <span class="rank-math-column-value" data-field="focus_keyword" contenteditable="true" tabindex="11">
271
- <span><?php echo esc_html( $keyword ); ?></span>
272
- </span>
273
 
274
  <?php $this->do_action( 'post/column/seo_details', $post_id, $data, $this->data ); ?>
275
 
@@ -292,7 +290,7 @@ class Post_Columns implements Runner {
292
  $title = get_the_title( $post_id );
293
  ?>
294
  <span class="rank-math-column-display"><?php echo esc_html( $title ); ?></span>
295
- <span class="rank-math-column-value" data-field="image_title" contenteditable="true" tabindex="11"><?php echo esc_html( $title ); ?></span>
296
  <div class="rank-math-column-edit">
297
  <a href="#" class="rank-math-column-save"><?php esc_html_e( 'Save', 'rank-math' ); ?></a>
298
  <a href="#" class="button-link-delete rank-math-column-cancel"><?php esc_html_e( 'Cancel', 'rank-math' ); ?></a>
@@ -305,7 +303,7 @@ class Post_Columns implements Runner {
305
  $alt = get_post_meta( $post_id, '_wp_attachment_image_alt', true );
306
  ?>
307
  <span class="rank-math-column-display"><?php echo esc_html( $alt ); ?></span>
308
- <span class="rank-math-column-value" data-field="image_alt" contenteditable="true" tabindex="11"><?php echo esc_html( $alt ); ?></span>
309
  <div class="rank-math-column-edit">
310
  <a href="#" class="rank-math-column-save"><?php esc_html_e( 'Save', 'rank-math' ); ?></a>
311
  <a href="#" class="button-link-delete rank-math-column-cancel"><?php esc_html_e( 'Cancel', 'rank-math' ); ?></a>
198
  }
199
  ?>
200
  <span class="rank-math-column-display"><?php echo esc_html( $title ); ?></span>
201
+ <textarea class="rank-math-column-value" data-field="title" tabindex="11"><?php echo esc_attr( $title ); ?></textarea>
202
  <div class="rank-math-column-edit">
203
  <a href="#" class="rank-math-column-save"><?php esc_html_e( 'Save', 'rank-math' ); ?></a>
204
  <a href="#" class="button-link-delete rank-math-column-cancel"><?php esc_html_e( 'Cancel', 'rank-math' ); ?></a>
219
  }
220
  ?>
221
  <span class="rank-math-column-display"><?php echo esc_html( $description ); ?></span>
222
+ <textarea class="rank-math-column-value" data-field="description" tabindex="11"><?php echo esc_attr( $description ); ?></textarea>
223
  <div class="rank-math-column-edit">
224
  <a href="#" class="rank-math-column-save"><?php esc_html_e( 'Save', 'rank-math' ); ?></a>
225
  <a href="#" class="button-link-delete rank-math-column-cancel"><?php esc_html_e( 'Cancel', 'rank-math' ); ?></a>
267
  <span><?php echo $keyword ? esc_html( $keyword ) : esc_html__( 'Not Set', 'rank-math' ); ?></span>
268
  </span>
269
 
270
+ <input class="rank-math-column-value" data-field="focus_keyword" tabindex="11" value="<?php echo esc_attr( $keyword ); ?>" />
 
 
271
 
272
  <?php $this->do_action( 'post/column/seo_details', $post_id, $data, $this->data ); ?>
273
 
290
  $title = get_the_title( $post_id );
291
  ?>
292
  <span class="rank-math-column-display"><?php echo esc_html( $title ); ?></span>
293
+ <input class="rank-math-column-value" data-field="image_title" tabindex="11" value="<?php echo esc_attr( $title ); ?>" />
294
  <div class="rank-math-column-edit">
295
  <a href="#" class="rank-math-column-save"><?php esc_html_e( 'Save', 'rank-math' ); ?></a>
296
  <a href="#" class="button-link-delete rank-math-column-cancel"><?php esc_html_e( 'Cancel', 'rank-math' ); ?></a>
303
  $alt = get_post_meta( $post_id, '_wp_attachment_image_alt', true );
304
  ?>
305
  <span class="rank-math-column-display"><?php echo esc_html( $alt ); ?></span>
306
+ <input class="rank-math-column-value" data-field="image_alt" tabindex="11" value="<?php echo esc_attr( $alt ); ?>" />
307
  <div class="rank-math-column-edit">
308
  <a href="#" class="rank-math-column-save"><?php esc_html_e( 'Save', 'rank-math' ); ?></a>
309
  <a href="#" class="button-link-delete rank-math-column-cancel"><?php esc_html_e( 'Cancel', 'rank-math' ); ?></a>
includes/admin/class-setup-wizard.php CHANGED
@@ -287,6 +287,9 @@ class Setup_Wizard {
287
  Helper::add_json( 'deactivated', esc_html__( 'Deactivated', 'rank-math' ) );
288
  Helper::add_json( 'confirm', esc_html__( 'Are you sure you want to import settings into Rank Math? Don\'t worry, your current configuration will be saved as a backup.', 'rank-math' ) );
289
  Helper::add_json( 'isConfigured', Helper::is_configured() );
 
 
 
290
 
291
  ob_start();
292
 
287
  Helper::add_json( 'deactivated', esc_html__( 'Deactivated', 'rank-math' ) );
288
  Helper::add_json( 'confirm', esc_html__( 'Are you sure you want to import settings into Rank Math? Don\'t worry, your current configuration will be saved as a backup.', 'rank-math' ) );
289
  Helper::add_json( 'isConfigured', Helper::is_configured() );
290
+
291
+ // Recalculate SEO Scores tool URL.
292
+ Helper::add_json( 'recalculateURL', Helper::get_admin_url( 'status', [ 'view' => 'tools', 'update_scores' => '1', '_wpnonce' => wp_create_nonce( 'rank-math-recalculate-scores' ) ] ) );
293
 
294
  ob_start();
295
 
includes/admin/importers/class-detector.php CHANGED
@@ -34,7 +34,7 @@ class Detector {
34
  * @return array List of plugins we can import from.
35
  */
36
  public function detect() {
37
- $this->requirments();
38
  if ( ! is_null( self::$plugins ) ) {
39
  return self::$plugins;
40
  }
@@ -153,7 +153,7 @@ class Detector {
153
  /**
154
  * Check requirements.
155
  */
156
- private function requirments() {
157
  if ( ! function_exists( 'is_plugin_active' ) ) {
158
  require_once ABSPATH . 'wp-admin/includes/plugin.php';
159
  }
34
  * @return array List of plugins we can import from.
35
  */
36
  public function detect() {
37
+ $this->requirements();
38
  if ( ! is_null( self::$plugins ) ) {
39
  return self::$plugins;
40
  }
153
  /**
154
  * Check requirements.
155
  */
156
+ private function requirements() {
157
  if ( ! function_exists( 'is_plugin_active' ) ) {
158
  require_once ABSPATH . 'wp-admin/includes/plugin.php';
159
  }
includes/admin/importers/class-yoast.php CHANGED
@@ -68,6 +68,7 @@ class Yoast extends Plugin_Importer {
68
  */
69
  public function convert_variables( $string ) {
70
  $string = str_replace( '%%term_title%%', '%term%', $string );
 
71
  $string = preg_replace( '/%%cf_([^%]+)%%/i', '%customfield($1)%', $string );
72
  $string = preg_replace( '/%%ct_([^%]+)%%/i', '%customterm($1)%', $string );
73
  $string = preg_replace( '/%%ct_desc_([^%]+)%%/i', '%customterm($1)%', $string );
68
  */
69
  public function convert_variables( $string ) {
70
  $string = str_replace( '%%term_title%%', '%term%', $string );
71
+ $string = str_replace( '%%category_description%%', '%term_description%', $string );
72
  $string = preg_replace( '/%%cf_([^%]+)%%/i', '%customfield($1)%', $string );
73
  $string = preg_replace( '/%%ct_([^%]+)%%/i', '%customterm($1)%', $string );
74
  $string = preg_replace( '/%%ct_desc_([^%]+)%%/i', '%customterm($1)%', $string );
includes/admin/views/import-export/plugins-panel.php CHANGED
@@ -7,6 +7,7 @@
7
  */
8
 
9
  use RankMath\Admin\Importers\Detector;
 
10
 
11
  defined( 'ABSPATH' ) || exit;
12
 
@@ -52,10 +53,17 @@ $first = empty( $plugins ) ? '' : array_keys( $plugins )[0];
52
  $id = "{$slug}_{$key}";
53
  ?>
54
  <li>
55
- <input type="checkbox" class="cmb2-option" name="<?php echo $slug; ?>[]" id="<?php echo $id; ?>" value="<?php echo $key; ?>" checked="checked">
56
- <label for="<?php echo $id; ?>"><?php echo $label; ?></label>
57
  </li>
58
  <?php endforeach; ?>
 
 
 
 
 
 
 
59
  </ul>
60
  </td>
61
  </tr>
7
  */
8
 
9
  use RankMath\Admin\Importers\Detector;
10
+ use RankMath\Helper;
11
 
12
  defined( 'ABSPATH' ) || exit;
13
 
53
  $id = "{$slug}_{$key}";
54
  ?>
55
  <li>
56
+ <input type="checkbox" class="cmb2-option" name="<?php echo esc_attr( $slug ); ?>[]" id="<?php echo esc_attr( $id ); ?>" value="<?php echo esc_attr( $key ); ?>" checked="checked">
57
+ <label for="<?php echo esc_attr( $id ); ?>"><?php echo wp_kses_post( $label ); ?></label>
58
  </li>
59
  <?php endforeach; ?>
60
+
61
+ <?php if ( 'redirections' !== $slug ) : ?>
62
+ <li style="margin-top: 20px;">
63
+ <input type="checkbox" class="cmb2-option" name="<?php echo esc_attr( $slug ); ?>[]" id="<?php echo esc_attr( $slug ); ?>_recalculate" value="recalculate" checked="checked">
64
+ <label for="<?php echo esc_attr( $slug ); ?>_recalculate"><?php esc_html_e( 'Recalculate SEO Scores (opens in a new window)', 'rank-math' ); ?> <a href="<?php echo esc_url( Helper::get_admin_url( 'status', [ 'view' => 'tools', 'update_scores' => '1', '_wpnonce' => wp_create_nonce( 'rank-math-recalculate-scores' ) ] ) ); ?>" class="hidden recalculate-try-again" target="_blank"><?php esc_html_e( 'Popup blocked. Try again?', 'rank-math' ); ?></a></label>
65
+ </li>
66
+ <?php endif; ?>
67
  </ul>
68
  </td>
69
  </tr>
includes/admin/wizard/class-import.php CHANGED
@@ -11,6 +11,7 @@
11
  namespace RankMath\Wizard;
12
 
13
  use RankMath\KB;
 
14
  use RankMath\Admin\Importers\Detector;
15
 
16
  defined( 'ABSPATH' ) || exit;
@@ -41,7 +42,7 @@ class Import implements Wizard_Step {
41
  <div id="importProgress">
42
  <div id="importBar"></div>
43
  </div>
44
- <span class="left"><strong><?php echo esc_html__( 'Importing: ', 'rank-math' ); ?></strong><span class="plugin-from"></span></span>
45
  <span class="right"><span class="number">0</span>% <?php echo esc_html__( 'Completed', 'rank-math' ); ?></span>
46
  </div>
47
  <textarea id="import-progress" class="import-progress-area large-text" disabled="disabled" rows="8"></textarea>
@@ -102,19 +103,40 @@ class Import implements Wizard_Step {
102
  'options' => $plugin['choices'],
103
  'default' => $choices,
104
  'dep' => [ [ 'import_from', $slug ] ],
105
- 'classes' => 'nob nopb cmb-multicheck-inline with-description ' . $multi_checked . ' ' . $is_active,
106
  'attributes' => [ 'data-active' => $is_active ],
107
  ]
108
  );
109
 
110
  $count++;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
111
  }
112
  }
113
 
114
  /**
115
  * Set plugins priority.
116
  *
117
- * @param array $plugins Array of detected plgins.
118
  *
119
  * @return array
120
  */
@@ -162,7 +184,7 @@ class Import implements Wizard_Step {
162
  $desc = 'aio-rich-snippet' === $slug ? esc_html__( 'Import meta data from the %1$s plugin.', 'rank-math' ) : esc_html__( 'Import settings and meta data from the %1$s plugin.', 'rank-math' );
163
 
164
  /* translators: 2 is link to Knowledge Base article */
165
- $desc .= __( 'The process may take a few minutes if you have a large number of posts or pages <a href="%2$s" target="_blank">Learn more about the import process here.</a>', 'rank-math' );
166
 
167
  if ( $is_active ) {
168
  /* translators: 1 is plugin name */
11
  namespace RankMath\Wizard;
12
 
13
  use RankMath\KB;
14
+ use RankMath\Helper;
15
  use RankMath\Admin\Importers\Detector;
16
 
17
  defined( 'ABSPATH' ) || exit;
42
  <div id="importProgress">
43
  <div id="importBar"></div>
44
  </div>
45
+ <span class="left"><strong><?php echo esc_html__( 'Importing: ', 'rank-math' ); ?></strong><span class="plugin-from"></span> </span>
46
  <span class="right"><span class="number">0</span>% <?php echo esc_html__( 'Completed', 'rank-math' ); ?></span>
47
  </div>
48
  <textarea id="import-progress" class="import-progress-area large-text" disabled="disabled" rows="8"></textarea>
103
  'options' => $plugin['choices'],
104
  'default' => $choices,
105
  'dep' => [ [ 'import_from', $slug ] ],
106
+ 'classes' => 'nob nopb cmb-multicheck-inline with-description ' . $multi_checked,
107
  'attributes' => [ 'data-active' => $is_active ],
108
  ]
109
  );
110
 
111
  $count++;
112
+
113
+ // Add checkbox field to Recalculate SEO Scores.
114
+ // But not for Redirections.
115
+ if ( 'redirections' === $slug ) {
116
+ continue;
117
+ }
118
+
119
+ $wizard->cmb->add_group_field(
120
+ $group_id,
121
+ [
122
+ 'id' => $slug . '_recalculate',
123
+ 'type' => 'checkbox',
124
+ 'repeatable' => false,
125
+ 'desc' => esc_html__( 'Recalculate SEO Scores (opens in a new window)', 'rank-math' ) . ' <a href="' . esc_url( Helper::get_admin_url( 'status', [ 'view' => 'tools', 'update_scores' => '1', '_wpnonce' => wp_create_nonce( 'rank-math-recalculate-scores' ) ] ) ) . '" class="hidden recalculate-try-again" target="_blank">' . esc_html__( 'Popup blocked. Try again?', 'rank-math' ) . '</a>',
126
+ 'value' => 'recalculate',
127
+ 'default' => 'recalculate',
128
+ 'dep' => [ [ 'import_from', $slug ] ],
129
+ 'classes' => 'nob nopb recalculate-scores',
130
+ 'attributes' => [ 'data-active' => $is_active, 'value' => 'recalculate' ],
131
+ ]
132
+ );
133
  }
134
  }
135
 
136
  /**
137
  * Set plugins priority.
138
  *
139
+ * @param array $plugins Array of detected plugins.
140
  *
141
  * @return array
142
  */
184
  $desc = 'aio-rich-snippet' === $slug ? esc_html__( 'Import meta data from the %1$s plugin.', 'rank-math' ) : esc_html__( 'Import settings and meta data from the %1$s plugin.', 'rank-math' );
185
 
186
  /* translators: 2 is link to Knowledge Base article */
187
+ $desc .= ' ' . __( 'The process may take a few minutes if you have a large number of posts or pages <a href="%2$s" target="_blank">Learn more about the import process here.</a>', 'rank-math' );
188
 
189
  if ( $is_active ) {
190
  /* translators: 1 is plugin name */
includes/frontend/class-frontend.php CHANGED
@@ -62,8 +62,8 @@ class Frontend {
62
  add_filter( 'bbp_get_breadcrumb', '__return_false' );
63
  }
64
 
65
- new Link_Attributes();
66
- new Comments();
67
  }
68
 
69
  /**
62
  add_filter( 'bbp_get_breadcrumb', '__return_false' );
63
  }
64
 
65
+ rank_math()->link_attributes = new Link_Attributes();
66
+ rank_math()->comments = new Comments();
67
  }
68
 
69
  /**
includes/modules/analytics/assets/js/admin-bar.js CHANGED
@@ -1 +1 @@
1
- !function(){var e={4184:function(e,t){var n;!function(){"use strict";var a={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var l=typeof n;if("string"===l||"number"===l)e.push(n);else if(Array.isArray(n)){if(n.length){var s=r.apply(null,n);s&&e.push(s)}}else if("object"===l)if(n.toString===Object.prototype.toString)for(var i in n)a.call(n,i)&&n[i]&&e.push(i);else e.push(n.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()}},t={};function n(a){var r=t[a];if(void 0!==r)return r.exports;var l=t[a]={exports:{}};return e[a](l,l.exports,n),l.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";var e=jQuery,t=n.n(e),a=React,r=function(){return r=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},r.apply(this,arguments)};var l=function(e){var t=e.animate,n=e.animateBegin,l=e.backgroundColor,s=e.backgroundOpacity,i=e.baseUrl,o=e.children,c=e.foregroundColor,m=e.foregroundOpacity,u=e.gradientRatio,p=e.gradientDirection,d=e.uniqueKey,h=e.interval,f=e.rtl,w=e.speed,y=e.style,E=e.title,v=e.beforeMask,g=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n}(e,["animate","animateBegin","backgroundColor","backgroundOpacity","baseUrl","children","foregroundColor","foregroundOpacity","gradientRatio","gradientDirection","uniqueKey","interval","rtl","speed","style","title","beforeMask"]),b=d||Math.random().toString(36).substring(6),k=b+"-diff",_=b+"-animated-diff",N=b+"-aria",S=f?{transform:"scaleX(-1)"}:null,O="0; "+h+"; 1",x=w+"s",R="top-bottom"===p?"rotate(90)":void 0;return(0,a.createElement)("svg",r({"aria-labelledby":N,role:"img",style:r(r({},y),S)},g),E?(0,a.createElement)("title",{id:N},E):null,v&&(0,a.isValidElement)(v)?v:null,(0,a.createElement)("rect",{role:"presentation",x:"0",y:"0",width:"100%",height:"100%",clipPath:"url("+i+"#"+k+")",style:{fill:"url("+i+"#"+_+")"}}),(0,a.createElement)("defs",null,(0,a.createElement)("clipPath",{id:k},o),(0,a.createElement)("linearGradient",{id:_,gradientTransform:R},(0,a.createElement)("stop",{offset:"0%",stopColor:l,stopOpacity:s},t&&(0,a.createElement)("animate",{attributeName:"offset",values:-u+"; "+-u+"; 1",keyTimes:O,dur:x,repeatCount:"indefinite",begin:n})),(0,a.createElement)("stop",{offset:"50%",stopColor:c,stopOpacity:m},t&&(0,a.createElement)("animate",{attributeName:"offset",values:-u/2+"; "+-u/2+"; "+(1+u/2),keyTimes:O,dur:x,repeatCount:"indefinite",begin:n})),(0,a.createElement)("stop",{offset:"100%",stopColor:l,stopOpacity:s},t&&(0,a.createElement)("animate",{attributeName:"offset",values:"0; 0; "+(1+u),keyTimes:O,dur:x,repeatCount:"indefinite",begin:n})))))};l.defaultProps={animate:!0,backgroundColor:"#f5f6f7",backgroundOpacity:1,baseUrl:"",foregroundColor:"#eee",foregroundOpacity:1,gradientRatio:2,gradientDirection:"left-right",id:null,interval:.25,rtl:!1,speed:1.2,style:{},title:"Loading...",beforeMask:null};var s=function(e){return e.children?(0,a.createElement)(l,r({},e)):(0,a.createElement)(i,r({},e))},i=function(e){return(0,a.createElement)(s,r({viewBox:"0 0 476 124"},e),(0,a.createElement)("rect",{x:"48",y:"8",width:"88",height:"6",rx:"3"}),(0,a.createElement)("rect",{x:"48",y:"26",width:"52",height:"6",rx:"3"}),(0,a.createElement)("rect",{x:"0",y:"56",width:"410",height:"6",rx:"3"}),(0,a.createElement)("rect",{x:"0",y:"72",width:"380",height:"6",rx:"3"}),(0,a.createElement)("rect",{x:"0",y:"88",width:"178",height:"6",rx:"3"}),(0,a.createElement)("circle",{cx:"20",cy:"20",r:"20"}))},o=s,c=wp.apiFetch,m=n.n(c),u=wp.hooks,p=wp.element,d=wp.i18n,h=lodash,f=n(4184),w=n.n(f),y=wp.htmlEntities,E=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return(e=-1===e.toString().indexOf(".")?e:e.toFixed(t)).toString().replace(".00","")},v=function(e){e=parseFloat(e);var t=0,n=["K","M","B","T","Q"],a=Math.abs(e);if((e=E(a))<1e3)return e;for(;e>=1e3&&++t<n.length;)e/=1e3;return 0===t?e:E(e)+n[t-1]},g=function(e){var t=e.total,n=void 0===t?0:t,a=e.difference,r=void 0===a?0:a,l=e.revert,s=void 0!==l&&l;n=(0,h.isUndefined)(n)?0:n,r=(0,h.isUndefined)(r)?0:r,s=!(0,h.isUndefined)(s)&&s;var i=Math.abs(r)!==r,o=w()("rank-math-item-difference",{up:!s&&!i&&r>0||s&&i,down:!s&&i||s&&!i&&r>0});return wp.element.createElement("div",{className:"rank-math-item-numbers"},wp.element.createElement("strong",{className:"text-large",title:(0,h.round)(n,2)},v(n)),wp.element.createElement("span",{className:o,title:(0,h.round)(r,2)},v(r)))},b=wp.components;(0,b.withFilters)("rankMath.analytics.keywordAddRemoveButton")((function(e){var t=e.sequence;return wp.element.createElement(p.Fragment,null,t,wp.element.createElement(b.Button,{className:"button button-secondary button-small add-keyword",href:"https://rankmath.com/pricing/?utm_source=Plugin&utm_medium=Add%20KW%20Button&utm_campaign=WP",target:"_blank"},wp.element.createElement("div",{className:"rank-math-tooltip"},wp.element.createElement("i",{className:"rm-icon rm-icon-plus"}),wp.element.createElement("span",null,(0,d.__)("Pro Feature","rank-math")))))})),(0,b.withFilters)("rankMath.analytics.keywordTitle")((function(e){var t=e.query;return wp.element.createElement("h4",null,(0,y.decodeEntities)(t))})),(0,b.withFilters)("rankMath.analytics.keywordDelete")((function(e){var t=e.sequence,n=e.query;return wp.element.createElement(p.Fragment,null,t,wp.element.createElement(b.Button,{className:"button button-secondary button-small add-keyword delete",title:(0,d.__)("Delete from Keyword Manager","rank-math"),onClick:function(){return(0,u.doAction)("rank_math_remove_keyword",n)}},wp.element.createElement("i",{className:"rm-icon rm-icon-trash"})))})),(0,b.withFilters)("rankMath.analytics.IndexingDataFooter")((function(){return wp.element.createElement("div",{className:"row-footer"},wp.element.createElement("table",null,wp.element.createElement("tbody",null,wp.element.createElement("tr",null,wp.element.createElement("td",{colSpan:"8"},wp.element.createElement("div",{className:"last-crawl-data"},wp.element.createElement("div",null,wp.element.createElement("strong",null,(0,d.__)("Google: ","rank-math")),wp.element.createElement("span",{className:"blurred"},(0,d.__)("Available in the PRO version","rank-math"))),wp.element.createElement("div",null,wp.element.createElement("strong",null,(0,d.__)("Last Crawl: ","rank-math")),wp.element.createElement("span",{className:"blurred"},(0,d.__)("PRO Feature","rank-math")))))))))}));function k(e){return k="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},k(e)}function _(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function N(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function S(e,t){return S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},S(e,t)}function O(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,a=R(e);if(t){var r=R(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return x(this,n)}}function x(e,t){if(t&&("object"===k(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function R(e){return R=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},R(e)}var P=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&S(e,t)}(l,e);var t,n,a,r=O(l);function l(){return _(this,l),r.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(){return wp.element.createElement("div",{className:"inner-elements hidden"},wp.element.createElement("table",null,wp.element.createElement("tbody",null,wp.element.createElement("tr",null,wp.element.createElement("td",{colSpan:"8"},wp.element.createElement("div",{className:"indexing-data-wrapper"},this.getStatusResult(),this.getReferringURLs(),this.getMobileData(),this.richResultsData(),wp.element.createElement("div",{id:"rank-math-pro-cta",className:"center"},wp.element.createElement("div",{className:"rank-math-cta-box blue-ticks top-20 width-50"},wp.element.createElement("h3",null,(0,d.__)("PRO Version offers Advanced Indexing Stats","rank-math")),wp.element.createElement("ul",null,wp.element.createElement("li",null,(0,d.__)("Monitor metrics like Index Status, Last Crawl date, etc","rank-math")),wp.element.createElement("li",null,(0,d.__)("All the Indexing statistics about your content in one place","rank-math")),wp.element.createElement("li",null,(0,d.__)("Use data provided by Google instead of 3rd party tools","rank-math"))),wp.element.createElement("a",{href:"https://rankmath.com/pricing/?utm_source=Plugin&utm_medium=Index%20Status%20Tab%20Toggle&utm_campaign=WP",target:"_blank",rel:"noreferrer",className:"button button-primary is-green"},(0,d.__)("Upgrade","rank-math"))))))))))}},{key:"getStatusResult",value:function(){return wp.element.createElement("div",{className:"indexing-data status"},wp.element.createElement("h4",null,"Index Status Result"),Array.from([{label:"Verdict",value:"NEUTRAL"},{label:"Robots Text State",value:"ROBOTS_TXT_STATE_UNSPECIFIED"},{label:"Indexing State",value:"INDEXING_STATE_UNSPECIFIED"},{label:"Last Crawl Time",value:"2022-01-09 05:46:12"},{label:"Page Fetch State",value:"PAGE_FETCH_STATE_UNSPECIFIED"},{label:"Google Canonical",value:"https://example.com/"},{label:"User Canonical",value:"https://example.com/"},{label:"Sitemap",value:"https://example.com/sitemap_index.xml"}]).map((function(e){return wp.element.createElement("div",{key:e.label},wp.element.createElement("span",{className:"label"},e.label),wp.element.createElement("span",{className:"result"},e.value))})))}},{key:"getReferringURLs",value:function(){return wp.element.createElement("div",{className:"indexing-data referring-urls"},wp.element.createElement("h4",null,"Referring URLs"),wp.element.createElement("ul",null,["https://example.com/test1","https://example.com/test2"].map((function(e,t){return wp.element.createElement("li",{key:t},e)}))))}},{key:"getMobileData",value:function(){return wp.element.createElement(React.Fragment,null,wp.element.createElement("div",{className:"indexing-data crawled"},wp.element.createElement("h4",null,"Crawled As"),wp.element.createElement("div",null,"UNSPECIFIED")),wp.element.createElement("div",{className:"indexing-data status"},wp.element.createElement("h4",null,"Mobile Usability Result"),wp.element.createElement("div",null,wp.element.createElement("span",null,"Verdict"),wp.element.createElement("span",null,"Unspecified"))))}},{key:"richResultsData",value:function(){return wp.element.createElement("div",{className:"indexing-data detected-items"},wp.element.createElement("h4",null,"detectedItems"),wp.element.createElement("div",{className:"rich-results-wrapper"},wp.element.createElement("div",{className:"rich-results-header"},wp.element.createElement("h4",null,"Rich Result Types"),wp.element.createElement("h4",null,"Items")),wp.element.createElement("div",{className:"rich-results-data"},wp.element.createElement("div",{className:"inner-wrapper"},wp.element.createElement("h4",null,"Breadcrumbs"),wp.element.createElement("div",{className:"schema-data"},wp.element.createElement("strong",null,"Name"),wp.element.createElement("span",null,"Unnamed item"))),wp.element.createElement("div",{className:"inner-wrapper"},wp.element.createElement("h4",null,"Review snippets"),wp.element.createElement("div",{className:"schema-data"},wp.element.createElement("strong",null,"Name"),wp.element.createElement("span",null,"Issues"),wp.element.createElement("div",{className:"sub-issues"},wp.element.createElement("span",null,"Unnamed item"),wp.element.createElement("span",{className:"schema-issues"},wp.element.createElement("strong",null,"Issue Message"),wp.element.createElement("strong",null,"Severity"),wp.element.createElement("div",{className:"issue-details"},wp.element.createElement("span",{className:"error"},wp.element.createElement("span",null,"Item does not support reviews"),wp.element.createElement("span",null,"ERROR")),wp.element.createElement("span",{className:"warning"},wp.element.createElement("span",null,"Missing reviewed item name"),wp.element.createElement("span",null,"WARNING"))))))))))}}])&&N(t.prototype,n),a&&N(t,a),Object.defineProperty(t,"prototype",{writable:!1}),l}(p.Component);(0,b.withFilters)("rankMath.analytics.IndexingDataToggle")(P);function C(){return(0,u.applyFilters)("rank_math_is_pro",!1)}function I(e){return I="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},I(e)}function T(){return T=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},T.apply(this,arguments)}function A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function j(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function M(e,t){return M=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},M(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,a=D(e);if(t){var r=D(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return F(this,n)}}function F(e,t){if(t&&("object"===I(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function D(e){return D=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},D(e)}window.rankMath=window.rankMath||{},window.rankMath.analyticsHelpers=window.rankMath.analyticsHelpers||{},window.rankMath.analyticsHelpers={translateText:function(e,t){if("page_fetch_state"!==t)return e;var n={PAGE_FETCH_STATE_UNSPECIFIED:(0,d.__)("Unknown fetch state","rank-math"),SUCCESSFUL:(0,d.__)("Successful fetch","rank-math"),SOFT_404:(0,d.__)("Soft 404","rank-math"),BLOCKED_ROBOTS_TXT:(0,d.__)("Blocked by robots.txt","rank-math"),NOT_FOUND:(0,d.__)("Not found (404)","rank-math"),ACCESS_DENIED:(0,d.__)("Blocked due to unauthorized request (401)","rank-math"),SERVER_ERROR:(0,d.__)("Server error (5xx)","rank-math"),REDIRECT_ERROR:(0,d.__)("Redirection error","rank-math"),ACCESS_FORBIDDEN:(0,d.__)("Blocked due to access forbidden (403)","rank-math"),BLOCKED_4XX:(0,d.__)("Blocked due to other 4xx issue (not 403, 404)","rank-math"),INTERNAL_CRAWL_ERROR:(0,d.__)("Internal error","rank-math"),INVALID_URL:(0,d.__)("Invalid URL","rank-math")};return(0,h.has)(n,e)?n[e]:e},convertValue:function(e){return e?e.includes("UNSPECIFIED")?(0,d.__)("Unspecified","rank-math"):"NEUTRAL"===e?(0,d.__)("Excluded","rank-math"):e:(0,d.__)("Not available","rank-math")},noDataMessage:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return t=t||(0,d.sprintf)((0,d.__)("No data to display. Check back later or try to update data manually from %s","rank-math"),'<a href="'+rankMath.adminurl+'?page=rank-math-options-general#setting-panel-analytics"><strong>'+(0,d.__)("Rank Math > General Settings > Analytics > Click 'Update data manually' button.","rank-math")+"</strong></a>"),wp.element.createElement("div",{id:"rank-math-pro-cta",className:"rank-math-analytics-notice"},wp.element.createElement("div",{className:"rank-math-cta-table woocommerce-table rank-math-table"},wp.element.createElement("div",{className:"rank-math-cta-header"},wp.element.createElement("h2",null,e)),wp.element.createElement("div",{className:"rank-math-cta-body",dangerouslySetInnerHTML:{__html:t}})))}};var B=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&M(e,t)}(l,e);var t,n,a,r=U(l);function l(){var e;return A(this,l),(e=r.apply(this,arguments)).data=e.props.data,e}return t=l,(n=[{key:"render",value:function(){return wp.element.createElement(React.Fragment,null,this.getContentAiScore(),this.getSeoScore(),C()&&wp.element.createElement("div",{id:"rank-math-analytics-site-traffic",className:"rank-math-item"}),this.getSiteImpression(),this.getAveragePosition(),this.getIndexVerdict(),!C()&&this.getPageSpeed(),C()&&wp.element.createElement("div",{id:"rank-math-analytics-stats-pagespeed",className:"rank-math-single-tab rank-math-item"}))}},{key:"getContentAiScore",value:function(){return!(0,h.isUndefined)(this.data.contentAiScore)&&wp.element.createElement("div",{className:"rank-math-item content-ai-score"},wp.element.createElement("h3",null,(0,d.__)("Content AI score","rank-math"),wp.element.createElement("span",{className:"rank-math-tooltip"},wp.element.createElement("em",{className:"dashicons-before dashicons-editor-help"}),wp.element.createElement("span",null,(0,d.__)("Content AI Score.","rank-math")))),wp.element.createElement("div",{className:"score"},wp.element.createElement("strong",null,this.data.contentAiScore," / 100"),wp.element.createElement("div",{className:"score-wrapper"},wp.element.createElement("span",{className:"score-dot",style:{left:this.data.contentAiScore<13?13:this.data.contentAiScore+"%"}}))))}},{key:"getSeoScore",value:function(){var e=this.data.seo_score,t="rank-math-item seo-score "+this.getScoreClass(e);return wp.element.createElement("div",{className:t},wp.element.createElement("h3",null,(0,d.__)("SEO Score","rank-math"),wp.element.createElement("span",{className:"rank-math-tooltip"},wp.element.createElement("em",{className:"dashicons-before dashicons-editor-help"}),wp.element.createElement("span",null,(0,d.__)("Rank Math's SEO Score","rank-math")))),wp.element.createElement("div",{className:"score"},wp.element.createElement("strong",null,wp.element.createElement("span",null,e))))}},{key:"getSiteImpression",value:function(){if((0,h.isUndefined)(this.data.impressions)&&!rankMath.isAnalyticsConnected)return!1;var e=(0,h.get)(this.data,"impressions",0);return wp.element.createElement("div",{className:"rank-math-item"},wp.element.createElement("h3",null,(0,d.__)("Search Impressions","rank-math"),wp.element.createElement("span",{className:"rank-math-tooltip"},wp.element.createElement("em",{className:"dashicons-before dashicons-editor-help"}),wp.element.createElement("span",null,(0,d.__)("This is how many times your site showed up in the search results.","rank-math")))),wp.element.createElement("div",{className:"score"},wp.element.createElement(g,e)))}},{key:"getAveragePosition",value:function(){return!(0,h.isUndefined)(this.data.position)&&!rankMath.isAnalyticsConnected&&wp.element.createElement("div",{className:"rank-math-item"},wp.element.createElement("h3",null,(0,d.__)("Average Position","rank-math"),wp.element.createElement("span",{className:"rank-math-tooltip"},wp.element.createElement("em",{className:"dashicons-before dashicons-editor-help"}),wp.element.createElement("span",null,(0,d.__)("This is the average position of your site in the search results.","rank-math")))),wp.element.createElement("div",{className:"score"},wp.element.createElement(g,T({},this.data.position,{revert:!0}))))}},{key:"getIndexVerdict",value:function(){return(0,u.applyFilters)("rank-math-analytics-stats-index-verdict",wp.element.createElement("div",{className:"rank-math-item blur index-status"},wp.element.createElement("h3",null,(0,d.__)("Index Status","rank-math"),wp.element.createElement("span",{className:"rank-math-tooltip"},wp.element.createElement("em",{className:"dashicons-before dashicons-editor-help"}),wp.element.createElement("span",null,(0,d.__)("URL Inspection Status","rank-math")))),wp.element.createElement("div",{className:"verdict"},wp.element.createElement("i",{className:"indexing_state verdict indexing allowed undefined"}),wp.element.createElement("span",null,"undefined"))),this.data)}},{key:"getPageSpeed",value:function(){return wp.element.createElement(React.Fragment,null,wp.element.createElement("div",{id:"rank-math-analytics-stats-pagespeed",className:"rank-math-single-tab rank-math-item blur"},wp.element.createElement("div",{className:"rank-math-box rank-math-pagespeed-box"},wp.element.createElement("div",{className:"rank-math-pagespeed-header"},wp.element.createElement("h3",null,(0,d.__)("PageSpeed","rank-math"),wp.element.createElement("span",{className:"rank-math-tooltip"},wp.element.createElement("em",{className:"dashicons-before dashicons-editor-help"}))),wp.element.createElement("span",null,"April 2, 2022")),wp.element.createElement("div",{className:"grid"},wp.element.createElement("div",{className:"col pagespeed-desktop"},wp.element.createElement("i",{className:"rm-icon rm-icon-desktop"}),wp.element.createElement("strong",{className:"pagespeed interactive-good"},"0 s"),wp.element.createElement("small",{className:"pagescore score-bad"},"0")),wp.element.createElement("div",{className:"col pagespeed-mobile"},wp.element.createElement("i",{className:"rm-icon rm-icon-mobile"}),wp.element.createElement("strong",{className:"pagespeed interactive-good"},"0 s"),wp.element.createElement("small",{className:"pagescore score-bad"},"0"))))))}},{key:"getScoreClass",value:function(e){return e>80?"great":e>50&&e<81?"good":"bad"}}])&&j(t.prototype,n),a&&j(t,a),Object.defineProperty(t,"prototype",{writable:!1}),l}(p.Component),L=B;function G(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}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.init(),this.addContentLoader(),this.events()}var n,a,r;return n=e,(a=[{key:"init",value:function(){t()("body").prepend(this.analyticsWrapper()),m()({method:"GET",path:"rankmath/v1/an/post/"+rankMath.objectID}).then((function(e){e.errorMessage?t()("#rank-math-analytics-stats-wrapper").remove():((0,p.render)((0,p.createElement)((function(){return wp.element.createElement("div",{className:"rank-math-analytics-wrapper"},wp.element.createElement(L,{data:e}))})),document.getElementById("rank-math-analytics-stats")),(0,u.doAction)("rank-math-analytics-stats",e))})).catch((function(){t()("#rank-math-analytics-stats-wrapper").remove()}))}},{key:"analyticsWrapper",value:function(){var e=rankMath.hideFrontendStats?"hide-stats":"";return'<div id="rank-math-analytics-stats-wrapper" class="'.concat(e,'">\n\t\t\t\t<div class="top-icons">\t\n\t\t\t\t\t<a href="https://rankmath.com/kb/analytics-stats-bar/?utm_source=Plugin&utm_medium=Analytics%20Stats%20Bar%20KB&utm_campaign=WP" target="_blank" class="rank-math-stats-bar-help">\n\t\t\t\t\t\t<em class="dashicons-before dashicons-editor-help" title="').concat((0,d.__)("Learn More","rank-math"),'"></em>\n\t\t\t\t\t</a>\n\t\t\t\t\t<a href="#" class="rank-math-analytics-disable-stats" title="').concat((0,d.__)("Close Permanently","rank-math"),'">\n\t\t\t\t\t\t<span class="dashicons dashicons-no-alt"></span>\n\t\t\t\t\t</a>\n\t\t\t\t</div>\n\t\t\t\t<a href="#" class="rank-math-analytics-close-stats">\n\t\t\t\t\t<span class="dashicons dashicons-arrow-up-alt2" title="').concat((0,d.__)("Hide Analytics Stats","rank-math"),'"></span>\n\t\t\t\t\t<svg viewBox="0 0 462.03 462.03" xmlns="http://www.w3.org/2000/svg"><title>').concat((0,d.__)("Show Analytics Stats","rank-math"),'</title><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><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"></path></g></svg>\n\t\t\t\t</a>\n\n\t\t\t\t<div id="rank-math-analytics-stats-content">\n\t\t\t\t\t<div id="rank-math-analytics-stats" class="rank-math-analytics"></div>\n\t\t\t\t\t').concat(this.proContent(),"\n\t\t\t\t</div>\n\t\t\t</div>")}},{key:"addContentLoader",value:function(){for(var e=[],t=0;t<4;t++)e.push(wp.element.createElement(o,{animate:!0,backgroundColor:"#f0f2f4",foregroundColor:"#f0f2f4",style:{width:"23%",height:"83px",padding:"1rem"}},wp.element.createElement("rect",{x:"0",y:"0",rx:"0",ry:"0",width:"100%",height:"100%"})));(0,p.render)((0,p.createElement)((function(){return wp.element.createElement("div",{className:"rank-math-analytics-wrapper"},e)})),document.getElementById("rank-math-analytics-stats"))}},{key:"proContent",value:function(){return C()?"":'<div class="rank-math-analytics-stats-footer">\n\t\t\t<p>\n\t\t\t'.concat((0,d.sprintf)((0,d.__)("Advanced Stats are available in the PRO version, %1$s.","rank-math"),'<a href="https://rankmath.com/kb/analytics-stats-bar/?utm_source=Plugin&utm_medium=Analytics%20Stats%20Bar&utm_campaign=WP" target="_blank" rel="noreferrer" class="button button-primary">'+(0,d.__)("learn More","rank-math")+"</a>"),'\n\t\t\t</p>\n\t\t\t<a href="https://rankmath.com/pricing/?utm_source=Plugin&utm_medium=Analytics%20Stats%20Bar&utm_campaign=WP" target="_blank" rel="noreferrer" class="button button-primary">\n\t\t\t\t').concat((0,d.__)("Upgrade to PRO","rank-math"),"\n\t\t\t</a>\n\t\t\t</div>\n\t\t")}},{key:"events",value:function(){var e=t()("#rank-math-analytics-stats-wrapper");t()(".rank-math-analytics-close-stats").on("click",(function(t){return t.preventDefault(),e.toggleClass("hide-stats"),m()({method:"POST",path:"rankmath/v1/an/removeFrontendStats/",data:{toggleBar:!0,hide:e.hasClass("hide-stats")}}),!1})),t()(".rank-math-analytics-disable-stats").on("click",(function(t){return t.preventDefault(),confirm((0,d.__)("Are you sure you want to do this? This action will close the Stats bar permanently. Instead, you can use the toggle icon to minimize it.","rank-math"))&&(e.remove(),m()({method:"POST",path:"rankmath/v1/an/removeFrontendStats/"})),!1}))}}])&&G(n.prototype,a),r&&G(n,r),Object.defineProperty(n,"prototype",{writable:!1}),e}();t()((function(){new W}))}()}();
1
+ !function(){var e={4184:function(e,t){var n;!function(){"use strict";var a={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var l=typeof n;if("string"===l||"number"===l)e.push(n);else if(Array.isArray(n)){if(n.length){var i=r.apply(null,n);i&&e.push(i)}}else if("object"===l){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var s in n)a.call(n,s)&&n[s]&&e.push(s)}}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()}},t={};function n(a){var r=t[a];if(void 0!==r)return r.exports;var l=t[a]={exports:{}};return e[a](l,l.exports,n),l.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";var e=jQuery,t=n.n(e),a=React,r=function(){return r=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},r.apply(this,arguments)};var l=function(e){var t=e.animate,n=e.animateBegin,l=e.backgroundColor,i=e.backgroundOpacity,s=e.baseUrl,o=e.children,c=e.foregroundColor,m=e.foregroundOpacity,u=e.gradientRatio,p=e.gradientDirection,d=e.uniqueKey,h=e.interval,f=e.rtl,w=e.speed,y=e.style,E=e.title,v=e.beforeMask,g=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n}(e,["animate","animateBegin","backgroundColor","backgroundOpacity","baseUrl","children","foregroundColor","foregroundOpacity","gradientRatio","gradientDirection","uniqueKey","interval","rtl","speed","style","title","beforeMask"]),b=d||Math.random().toString(36).substring(6),k=b+"-diff",_=b+"-animated-diff",N=b+"-aria",S=f?{transform:"scaleX(-1)"}:null,O="0; "+h+"; 1",x=w+"s",R="top-bottom"===p?"rotate(90)":void 0;return(0,a.createElement)("svg",r({"aria-labelledby":N,role:"img",style:r(r({},y),S)},g),E?(0,a.createElement)("title",{id:N},E):null,v&&(0,a.isValidElement)(v)?v:null,(0,a.createElement)("rect",{role:"presentation",x:"0",y:"0",width:"100%",height:"100%",clipPath:"url("+s+"#"+k+")",style:{fill:"url("+s+"#"+_+")"}}),(0,a.createElement)("defs",null,(0,a.createElement)("clipPath",{id:k},o),(0,a.createElement)("linearGradient",{id:_,gradientTransform:R},(0,a.createElement)("stop",{offset:"0%",stopColor:l,stopOpacity:i},t&&(0,a.createElement)("animate",{attributeName:"offset",values:-u+"; "+-u+"; 1",keyTimes:O,dur:x,repeatCount:"indefinite",begin:n})),(0,a.createElement)("stop",{offset:"50%",stopColor:c,stopOpacity:m},t&&(0,a.createElement)("animate",{attributeName:"offset",values:-u/2+"; "+-u/2+"; "+(1+u/2),keyTimes:O,dur:x,repeatCount:"indefinite",begin:n})),(0,a.createElement)("stop",{offset:"100%",stopColor:l,stopOpacity:i},t&&(0,a.createElement)("animate",{attributeName:"offset",values:"0; 0; "+(1+u),keyTimes:O,dur:x,repeatCount:"indefinite",begin:n})))))};l.defaultProps={animate:!0,backgroundColor:"#f5f6f7",backgroundOpacity:1,baseUrl:"",foregroundColor:"#eee",foregroundOpacity:1,gradientRatio:2,gradientDirection:"left-right",id:null,interval:.25,rtl:!1,speed:1.2,style:{},title:"Loading...",beforeMask:null};var i=function(e){return e.children?(0,a.createElement)(l,r({},e)):(0,a.createElement)(s,r({},e))},s=function(e){return(0,a.createElement)(i,r({viewBox:"0 0 476 124"},e),(0,a.createElement)("rect",{x:"48",y:"8",width:"88",height:"6",rx:"3"}),(0,a.createElement)("rect",{x:"48",y:"26",width:"52",height:"6",rx:"3"}),(0,a.createElement)("rect",{x:"0",y:"56",width:"410",height:"6",rx:"3"}),(0,a.createElement)("rect",{x:"0",y:"72",width:"380",height:"6",rx:"3"}),(0,a.createElement)("rect",{x:"0",y:"88",width:"178",height:"6",rx:"3"}),(0,a.createElement)("circle",{cx:"20",cy:"20",r:"20"}))},o=i,c=wp.apiFetch,m=n.n(c),u=wp.hooks,p=wp.element,d=wp.i18n,h=lodash,f=n(4184),w=n.n(f),y=wp.htmlEntities,E=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return(e=-1===e.toString().indexOf(".")?e:e.toFixed(t)).toString().replace(".00","")},v=function(e){e=parseFloat(e);var t=0,n=["K","M","B","T","Q"],a=Math.abs(e);if((e=E(a))<1e3)return e;for(;e>=1e3&&++t<n.length;)e/=1e3;return 0===t?e:E(e)+n[t-1]},g=function(e){var t=e.total,n=void 0===t?0:t,a=e.difference,r=void 0===a?0:a,l=e.revert,i=void 0!==l&&l;n=(0,h.isUndefined)(n)?0:n,r=(0,h.isUndefined)(r)?0:r,i=!(0,h.isUndefined)(i)&&i;var s=Math.abs(r)!==r,o=w()("rank-math-item-difference",{up:!i&&!s&&r>0||i&&s,down:!i&&s||i&&!s&&r>0});return wp.element.createElement("div",{className:"rank-math-item-numbers"},wp.element.createElement("strong",{className:"text-large",title:(0,h.round)(n,2)},v(n)),wp.element.createElement("span",{className:o,title:(0,h.round)(r,2)},v(r)))},b=wp.components;(0,b.withFilters)("rankMath.analytics.keywordAddRemoveButton")((function(e){var t=e.sequence;return wp.element.createElement(p.Fragment,null,t,wp.element.createElement(b.Button,{className:"button button-secondary button-small add-keyword",href:"https://rankmath.com/pricing/?utm_source=Plugin&utm_medium=Add%20KW%20Button&utm_campaign=WP",target:"_blank"},wp.element.createElement("div",{className:"rank-math-tooltip"},wp.element.createElement("i",{className:"rm-icon rm-icon-plus"}),wp.element.createElement("span",null,(0,d.__)("Pro Feature","rank-math")))))})),(0,b.withFilters)("rankMath.analytics.keywordTitle")((function(e){var t=e.query;return wp.element.createElement("h4",null,(0,y.decodeEntities)(t))})),(0,b.withFilters)("rankMath.analytics.keywordDelete")((function(e){var t=e.sequence,n=e.query;return wp.element.createElement(p.Fragment,null,t,wp.element.createElement(b.Button,{className:"button button-secondary button-small add-keyword delete",title:(0,d.__)("Delete from Keyword Manager","rank-math"),onClick:function(){return(0,u.doAction)("rank_math_remove_keyword",n)}},wp.element.createElement("i",{className:"rm-icon rm-icon-trash"})))})),(0,b.withFilters)("rankMath.analytics.IndexingDataFooter")((function(){return wp.element.createElement("div",{className:"row-footer"},wp.element.createElement("table",null,wp.element.createElement("tbody",null,wp.element.createElement("tr",null,wp.element.createElement("td",{colSpan:"8"},wp.element.createElement("div",{className:"last-crawl-data"},wp.element.createElement("div",null,wp.element.createElement("strong",null,(0,d.__)("Google: ","rank-math")),wp.element.createElement("span",{className:"blurred"},(0,d.__)("Available in the PRO version","rank-math"))),wp.element.createElement("div",null,wp.element.createElement("strong",null,(0,d.__)("Last Crawl: ","rank-math")),wp.element.createElement("span",{className:"blurred"},(0,d.__)("PRO Feature","rank-math")))))))))}));function k(e){return k="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},k(e)}function _(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function N(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function S(e,t){return S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},S(e,t)}function O(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,a=R(e);if(t){var r=R(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return x(this,n)}}function x(e,t){if(t&&("object"===k(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function R(e){return R=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},R(e)}var P=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&S(e,t)}(l,e);var t,n,a,r=O(l);function l(){return _(this,l),r.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(){return wp.element.createElement("div",{className:"inner-elements hidden"},wp.element.createElement("table",null,wp.element.createElement("tbody",null,wp.element.createElement("tr",null,wp.element.createElement("td",{colSpan:"8"},wp.element.createElement("div",{className:"indexing-data-wrapper"},this.getStatusResult(),this.getReferringURLs(),this.getMobileData(),this.richResultsData(),wp.element.createElement("div",{id:"rank-math-pro-cta",className:"center"},wp.element.createElement("div",{className:"rank-math-cta-box blue-ticks top-20 width-50"},wp.element.createElement("h3",null,(0,d.__)("PRO Version offers Advanced Indexing Stats","rank-math")),wp.element.createElement("ul",null,wp.element.createElement("li",null,(0,d.__)("Monitor metrics like Index Status, Last Crawl date, etc","rank-math")),wp.element.createElement("li",null,(0,d.__)("All the Indexing statistics about your content in one place","rank-math")),wp.element.createElement("li",null,(0,d.__)("Use data provided by Google instead of 3rd party tools","rank-math"))),wp.element.createElement("a",{href:"https://rankmath.com/pricing/?utm_source=Plugin&utm_medium=Index%20Status%20Tab%20Toggle&utm_campaign=WP",target:"_blank",rel:"noreferrer",className:"button button-primary is-green"},(0,d.__)("Upgrade","rank-math"))))))))))}},{key:"getStatusResult",value:function(){return wp.element.createElement("div",{className:"indexing-data status"},wp.element.createElement("h4",null,"Index Status Result"),Array.from([{label:"Verdict",value:"NEUTRAL"},{label:"Robots Text State",value:"ROBOTS_TXT_STATE_UNSPECIFIED"},{label:"Indexing State",value:"INDEXING_STATE_UNSPECIFIED"},{label:"Last Crawl Time",value:"2022-01-09 05:46:12"},{label:"Page Fetch State",value:"PAGE_FETCH_STATE_UNSPECIFIED"},{label:"Google Canonical",value:"https://example.com/"},{label:"User Canonical",value:"https://example.com/"},{label:"Sitemap",value:"https://example.com/sitemap_index.xml"}]).map((function(e){return wp.element.createElement("div",{key:e.label},wp.element.createElement("span",{className:"label"},e.label),wp.element.createElement("span",{className:"result"},e.value))})))}},{key:"getReferringURLs",value:function(){return wp.element.createElement("div",{className:"indexing-data referring-urls"},wp.element.createElement("h4",null,"Referring URLs"),wp.element.createElement("ul",null,["https://example.com/test1","https://example.com/test2"].map((function(e,t){return wp.element.createElement("li",{key:t},e)}))))}},{key:"getMobileData",value:function(){return wp.element.createElement(React.Fragment,null,wp.element.createElement("div",{className:"indexing-data crawled"},wp.element.createElement("h4",null,"Crawled As"),wp.element.createElement("div",null,"UNSPECIFIED")),wp.element.createElement("div",{className:"indexing-data status"},wp.element.createElement("h4",null,"Mobile Usability Result"),wp.element.createElement("div",null,wp.element.createElement("span",null,"Verdict"),wp.element.createElement("span",null,"Unspecified"))))}},{key:"richResultsData",value:function(){return wp.element.createElement("div",{className:"indexing-data detected-items"},wp.element.createElement("h4",null,"detectedItems"),wp.element.createElement("div",{className:"rich-results-wrapper"},wp.element.createElement("div",{className:"rich-results-header"},wp.element.createElement("h4",null,"Rich Result Types"),wp.element.createElement("h4",null,"Items")),wp.element.createElement("div",{className:"rich-results-data"},wp.element.createElement("div",{className:"inner-wrapper"},wp.element.createElement("h4",null,"Breadcrumbs"),wp.element.createElement("div",{className:"schema-data"},wp.element.createElement("strong",null,"Name"),wp.element.createElement("span",null,"Unnamed item"))),wp.element.createElement("div",{className:"inner-wrapper"},wp.element.createElement("h4",null,"Review snippets"),wp.element.createElement("div",{className:"schema-data"},wp.element.createElement("strong",null,"Name"),wp.element.createElement("span",null,"Issues"),wp.element.createElement("div",{className:"sub-issues"},wp.element.createElement("span",null,"Unnamed item"),wp.element.createElement("span",{className:"schema-issues"},wp.element.createElement("strong",null,"Issue Message"),wp.element.createElement("strong",null,"Severity"),wp.element.createElement("div",{className:"issue-details"},wp.element.createElement("span",{className:"error"},wp.element.createElement("span",null,"Item does not support reviews"),wp.element.createElement("span",null,"ERROR")),wp.element.createElement("span",{className:"warning"},wp.element.createElement("span",null,"Missing reviewed item name"),wp.element.createElement("span",null,"WARNING"))))))))))}}])&&N(t.prototype,n),a&&N(t,a),Object.defineProperty(t,"prototype",{writable:!1}),l}(p.Component);(0,b.withFilters)("rankMath.analytics.IndexingDataToggle")(P);function C(){return(0,u.applyFilters)("rank_math_is_pro",!1)}function I(e){return I="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},I(e)}function T(){return T=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},T.apply(this,arguments)}function A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function j(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function M(e,t){return M=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},M(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,a=D(e);if(t){var r=D(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return F(this,n)}}function F(e,t){if(t&&("object"===I(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function D(e){return D=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},D(e)}window.rankMath=window.rankMath||{},window.rankMath.analyticsHelpers=window.rankMath.analyticsHelpers||{},window.rankMath.analyticsHelpers={translateText:function(e,t){if("page_fetch_state"!==t)return e;var n={PAGE_FETCH_STATE_UNSPECIFIED:(0,d.__)("Unknown fetch state","rank-math"),SUCCESSFUL:(0,d.__)("Successful fetch","rank-math"),SOFT_404:(0,d.__)("Soft 404","rank-math"),BLOCKED_ROBOTS_TXT:(0,d.__)("Blocked by robots.txt","rank-math"),NOT_FOUND:(0,d.__)("Not found (404)","rank-math"),ACCESS_DENIED:(0,d.__)("Blocked due to unauthorized request (401)","rank-math"),SERVER_ERROR:(0,d.__)("Server error (5xx)","rank-math"),REDIRECT_ERROR:(0,d.__)("Redirection error","rank-math"),ACCESS_FORBIDDEN:(0,d.__)("Blocked due to access forbidden (403)","rank-math"),BLOCKED_4XX:(0,d.__)("Blocked due to other 4xx issue (not 403, 404)","rank-math"),INTERNAL_CRAWL_ERROR:(0,d.__)("Internal error","rank-math"),INVALID_URL:(0,d.__)("Invalid URL","rank-math")};return(0,h.has)(n,e)?n[e]:e},convertValue:function(e){return e?e.includes("UNSPECIFIED")?(0,d.__)("Unspecified","rank-math"):"NEUTRAL"===e?(0,d.__)("Excluded","rank-math"):e:(0,d.__)("Not available","rank-math")},noDataMessage:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return t=t||(0,d.sprintf)((0,d.__)("No data to display. Check back later or try to update data manually from %s","rank-math"),'<a href="'+rankMath.adminurl+'?page=rank-math-options-general#setting-panel-analytics"><strong>'+(0,d.__)("Rank Math > General Settings > Analytics > Click 'Update data manually' button.","rank-math")+"</strong></a>"),wp.element.createElement("div",{id:"rank-math-pro-cta",className:"rank-math-analytics-notice"},wp.element.createElement("div",{className:"rank-math-cta-table woocommerce-table rank-math-table"},wp.element.createElement("div",{className:"rank-math-cta-header"},wp.element.createElement("h2",null,e)),wp.element.createElement("div",{className:"rank-math-cta-body",dangerouslySetInnerHTML:{__html:t}})))}};var B=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&M(e,t)}(l,e);var t,n,a,r=U(l);function l(){var e;return A(this,l),(e=r.apply(this,arguments)).data=e.props.data,e}return t=l,(n=[{key:"render",value:function(){return wp.element.createElement(React.Fragment,null,this.getContentAiScore(),this.getSeoScore(),C()&&wp.element.createElement("div",{id:"rank-math-analytics-site-traffic",className:"rank-math-item"}),this.getSiteImpression(),this.getAveragePosition(),this.getIndexVerdict(),!C()&&this.getPageSpeed(),C()&&wp.element.createElement("div",{id:"rank-math-analytics-stats-pagespeed",className:"rank-math-single-tab rank-math-item"}))}},{key:"getContentAiScore",value:function(){return!(0,h.isUndefined)(this.data.contentAiScore)&&wp.element.createElement("div",{className:"rank-math-item content-ai-score"},wp.element.createElement("h3",null,(0,d.__)("Content AI score","rank-math"),wp.element.createElement("span",{className:"rank-math-tooltip"},wp.element.createElement("em",{className:"dashicons-before dashicons-editor-help"}),wp.element.createElement("span",null,(0,d.__)("Content AI Score.","rank-math")))),wp.element.createElement("div",{className:"score"},wp.element.createElement("strong",null,this.data.contentAiScore," / 100"),wp.element.createElement("div",{className:"score-wrapper"},wp.element.createElement("span",{className:"score-dot",style:{left:this.data.contentAiScore<13?13:this.data.contentAiScore+"%"}}))))}},{key:"getSeoScore",value:function(){var e=this.data.seo_score,t="rank-math-item seo-score "+this.getScoreClass(e);return wp.element.createElement("div",{className:t},wp.element.createElement("h3",null,(0,d.__)("SEO Score","rank-math"),wp.element.createElement("span",{className:"rank-math-tooltip"},wp.element.createElement("em",{className:"dashicons-before dashicons-editor-help"}),wp.element.createElement("span",null,(0,d.__)("Rank Math's SEO Score","rank-math")))),wp.element.createElement("div",{className:"score"},wp.element.createElement("strong",null,wp.element.createElement("span",null,e))))}},{key:"getSiteImpression",value:function(){if((0,h.isUndefined)(this.data.impressions)&&!rankMath.isAnalyticsConnected)return!1;var e=(0,h.get)(this.data,"impressions",0);return wp.element.createElement("div",{className:"rank-math-item"},wp.element.createElement("h3",null,(0,d.__)("Search Impressions","rank-math"),wp.element.createElement("span",{className:"rank-math-tooltip"},wp.element.createElement("em",{className:"dashicons-before dashicons-editor-help"}),wp.element.createElement("span",null,(0,d.__)("This is how many times your site showed up in the search results.","rank-math")))),wp.element.createElement("div",{className:"score"},wp.element.createElement(g,e)))}},{key:"getAveragePosition",value:function(){return!(0,h.isUndefined)(this.data.position)&&!rankMath.isAnalyticsConnected&&wp.element.createElement("div",{className:"rank-math-item"},wp.element.createElement("h3",null,(0,d.__)("Average Position","rank-math"),wp.element.createElement("span",{className:"rank-math-tooltip"},wp.element.createElement("em",{className:"dashicons-before dashicons-editor-help"}),wp.element.createElement("span",null,(0,d.__)("This is the average position of your site in the search results.","rank-math")))),wp.element.createElement("div",{className:"score"},wp.element.createElement(g,T({},this.data.position,{revert:!0}))))}},{key:"getIndexVerdict",value:function(){return(0,u.applyFilters)("rank-math-analytics-stats-index-verdict",wp.element.createElement("div",{className:"rank-math-item blur index-status"},wp.element.createElement("h3",null,(0,d.__)("Index Status","rank-math"),wp.element.createElement("span",{className:"rank-math-tooltip"},wp.element.createElement("em",{className:"dashicons-before dashicons-editor-help"}),wp.element.createElement("span",null,(0,d.__)("URL Inspection Status","rank-math")))),wp.element.createElement("div",{className:"verdict"},wp.element.createElement("i",{className:"indexing_state verdict indexing allowed undefined"}),wp.element.createElement("span",null,"undefined"))),this.data)}},{key:"getPageSpeed",value:function(){return wp.element.createElement(React.Fragment,null,wp.element.createElement("div",{id:"rank-math-analytics-stats-pagespeed",className:"rank-math-single-tab rank-math-item blur"},wp.element.createElement("div",{className:"rank-math-box rank-math-pagespeed-box"},wp.element.createElement("div",{className:"rank-math-pagespeed-header"},wp.element.createElement("h3",null,(0,d.__)("PageSpeed","rank-math"),wp.element.createElement("span",{className:"rank-math-tooltip"},wp.element.createElement("em",{className:"dashicons-before dashicons-editor-help"}))),wp.element.createElement("span",null,"April 2, 2022")),wp.element.createElement("div",{className:"grid"},wp.element.createElement("div",{className:"col pagespeed-desktop"},wp.element.createElement("i",{className:"rm-icon rm-icon-desktop"}),wp.element.createElement("strong",{className:"pagespeed interactive-good"},"0 s"),wp.element.createElement("small",{className:"pagescore score-bad"},"0")),wp.element.createElement("div",{className:"col pagespeed-mobile"},wp.element.createElement("i",{className:"rm-icon rm-icon-mobile"}),wp.element.createElement("strong",{className:"pagespeed interactive-good"},"0 s"),wp.element.createElement("small",{className:"pagescore score-bad"},"0"))))))}},{key:"getScoreClass",value:function(e){return e>80?"great":e>50&&e<81?"good":"bad"}}])&&j(t.prototype,n),a&&j(t,a),Object.defineProperty(t,"prototype",{writable:!1}),l}(p.Component),L=B;function G(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}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.init(),this.addContentLoader(),this.events()}var n,a,r;return n=e,(a=[{key:"init",value:function(){t()("body").prepend(this.analyticsWrapper()),m()({method:"GET",path:"rankmath/v1/an/post/"+rankMath.objectID}).then((function(e){e.errorMessage?t()("#rank-math-analytics-stats-wrapper").remove():((0,p.render)((0,p.createElement)((function(){return wp.element.createElement("div",{className:"rank-math-analytics-wrapper"},wp.element.createElement(L,{data:e}))})),document.getElementById("rank-math-analytics-stats")),(0,u.doAction)("rank-math-analytics-stats",e))})).catch((function(){t()("#rank-math-analytics-stats-wrapper").remove()}))}},{key:"analyticsWrapper",value:function(){var e=rankMath.hideFrontendStats?"hide-stats":"";return'<div id="rank-math-analytics-stats-wrapper" class="'.concat(e,'">\n\t\t\t\t<div class="top-icons">\t\n\t\t\t\t\t<a href="https://rankmath.com/kb/analytics-stats-bar/?utm_source=Plugin&utm_medium=Analytics%20Stats%20Bar%20KB&utm_campaign=WP" target="_blank" class="rank-math-stats-bar-help">\n\t\t\t\t\t\t<em class="dashicons-before dashicons-editor-help" title="').concat((0,d.__)("Learn More","rank-math"),'"></em>\n\t\t\t\t\t</a>\n\t\t\t\t\t<a href="#" class="rank-math-analytics-disable-stats" title="').concat((0,d.__)("Close Permanently","rank-math"),'">\n\t\t\t\t\t\t<span class="dashicons dashicons-no-alt"></span>\n\t\t\