headline-analyzer.js
62.8 KB
/*! ! built on Tuesday, January 11th 2022, 10:19:57 am */
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=198)}({0:function(e,t){e.exports=window.wp.element},100:function(e,t,n){"use strict";(function(e){var r=n(0),a=n(8),o=n(2),i=n.n(o),s=window.wp.i18n.__,l=window.wp.element.Fragment,c=(o=window.wp.components).PanelBody,u=o.PanelRow,d=e.env.VUE_APP_TEXTDOMAIN;t.a=function(e){var t=s("Your headline has a neutral sentiment.",d),n=s("Headlines that are strongly positive or negative tend to get more engagement then neutral ones.",d),o=s("Your headline has a positive sentiment.",d),h=s("Positive headlines tend to get better engagement than neutral or negative ones.",d),p=s("Your headline has a negative sentiment.",d),f=s("Negative headlines are attention-grabbing and tend to perform better than neutral ones.",d),m=s("Sentiment",d),y="neu"===e.data.result.sentiment?s("Neutral",d):"pos"===e.data.result.sentiment?s("Positive",d):s("Negative",d),b="neu"===e.data.result.sentiment?a.a.neutral:"pos"===e.data.result.sentiment?a.a.smile:a.a.negative,w="neu"===e.data.result.sentiment?"orange":"pos"===e.data.result.sentiment?"green":"red";return Object(r.createElement)(l,null,Object(r.createElement)(c,{title:m,className:i()("aioseo-headline-analyzer-panel-sentiment","aioseo-headline-analyzer-panel-has-icon",w),icon:b},Object(r.createElement)(u,null,Object(r.createElement)("div",{className:"aioseo-headline-analyzer-panel-first-block"},Object(r.createElement)("h4",null,y),"neu"===e.data.result.sentiment?Object(r.createElement)("p",null,Object(r.createElement)("strong",null,t),Object(r.createElement)("br",null),n):"","pos"===e.data.result.sentiment?Object(r.createElement)("p",null,Object(r.createElement)("strong",null,o),Object(r.createElement)("br",null),h):"","neg"===e.data.result.sentiment?Object(r.createElement)("p",null,Object(r.createElement)("strong",null,p),Object(r.createElement)("br",null)," ",f):""))))}}).call(this,n(9))},101:function(e,t,n){"use strict";(function(e){var r,a=n(0),o=(r=window.wp.i18n).__,i=r.sprintf,s=window.wp.element.Fragment,l=(r=window.wp.components).PanelBody,c=r.PanelRow;t.a=function(t){var n=t.data.result.headlineTypes.join(", "),r=o("Headline Type",e.env.VUE_APP_TEXTDOMAIN);t=Object(a.createElement)("span",{className:"aioseo-headline-analyzer-panel-types-title"},r,Object(a.createElement)("span",null,n)),r=i(o("Headlines that are lists and how-to get more engagement on average than other types of headlines. %1s%2sLearn More%3s →",e.env.VUE_APP_TEXTDOMAIN),"<br /><br />",'<a href="https://optinmonster.com/why-these-21-headlines-went-viral-and-how-you-can-copy-their-success/" target="_blank" className="aioseo-headline-analyzer-link"><span>',"</span></a>");return Object(a.createElement)(s,null,Object(a.createElement)(l,{title:t,className:"aioseo-headline-analyzer-panel-types"},Object(a.createElement)(c,null,Object(a.createElement)("div",{className:"aioseo-headline-analyzer-panel-first-block"},Object(a.createElement)("h4",null,n),Object(a.createElement)("p",{dangerouslySetInnerHTML:{__html:r}})))))}}).call(this,n(9))},102:function(e,t,n){"use strict";(function(e){var r=n(0),a=n(8),o=n(2),i=n.n(o);function s(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Map"===(n="Object"===n&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return{s:t=function(){},n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:t}}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 a,o=!0,i=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){i=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(i)throw a}}}}function l(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}var c=window.wp.i18n.__,u=window.wp.element.Fragment,d=(o=window.wp.components).PanelBody,h=o.PanelRow,p=e.env.VUE_APP_TEXTDOMAIN;t.a=function(e){var t=c("Character Count",p),n=e.data.result.length,o=n.toString(),l="",f="",m=(e="","");if(1===o.length&&(m='<span class="character-zero">0</span><span class="character-zero">0</span><span>'.concat(n,"</span>")),2===o.length){m='<span class="character-zero">0</span>';var y,b=s(o);try{for(b.s();!(y=b.n()).done;){var w=y.value;m+="<span>".concat(w,"</span>")}}catch(e){b.e(e)}finally{b.f()}}if(3===n.toString().length){var g,v=s(o);try{for(v.s();!(g=v.n()).done;){var E=g.value;m+="<span>".concat(E,"</span>")}}catch(e){v.e(e)}finally{v.f()}}return n<=19?l="red":20<=n&&n<=34?l="orange":35<=n&&n<=66?l="green":67<=n&&n<=79?l="orange":80<=n&&(l="red"),n<=34?(f=c("Too Short 🙃",p),e=c("You have space to add more keywords and power words to boost your rankings and click-through rate.",p)):35<=n&&n<=66?(f=c("Good 🙂",p),e=c("Headlines that are about 55 characters long will display fully in search results and tend to get more clicks.",p)):67<=n&&(f=c("Too Long 😑",p),e=c("At this length, it will get cut off in search results. Try reducing it to about 55 characters.",p)),Object(r.createElement)(u,null,Object(r.createElement)(d,{title:t,className:i()("aioseo-headline-analyzer-panel-character-count","aioseo-headline-analyzer-panel-has-icon",l),icon:"green"===l?a.a.check:a.a.warning},Object(r.createElement)(h,null,Object(r.createElement)("div",{className:"aioseo-headline-analyzer-panel-first-block"},Object(r.createElement)("div",{className:"aioseo-headline-analyzer-character-count-container"},Object(r.createElement)("span",{className:"aioseo-headline-analyzer-status-on-character-length"},f),Object(r.createElement)("span",{className:i()("aioseo-headline-analyzer-character-length",l),dangerouslySetInnerHTML:{__html:m}})),Object(r.createElement)("p",null,e)))))}}).call(this,n(9))},103:function(e,t,n){"use strict";(function(e){var r=n(0),a=n(8),o=n(2),i=n.n(o);function s(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Map"===(n="Object"===n&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return{s:t=function(){},n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:t}}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 a,o=!0,i=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){i=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(i)throw a}}}}function l(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}var c=window.wp.i18n.__,u=window.wp.element.Fragment,d=(o=window.wp.components).PanelBody,h=o.PanelRow,p=e.env.VUE_APP_TEXTDOMAIN;t.a=function(e){var t=c("Word Count",p),n=e.data.result.wordCount,o=n.toString(),l="",f="",m=(e="","");if(1===o.length&&(m='<span class="character-zero">0</span><span class="character-zero">0</span><span>'.concat(n,"</span>")),2===o.length){m='<span class="character-zero">0</span>';var y,b=s(o);try{for(b.s();!(y=b.n()).done;){var w=y.value;m+="<span>".concat(w,"</span>")}}catch(e){b.e(e)}finally{b.f()}}if(3===o.length){var g,v=s(o);try{for(v.s();!(g=v.n()).done;){var E=g.value;m+="<span>".concat(E,"</span>")}}catch(e){v.e(e)}finally{v.f()}}return n<=4?(l="red",f=c("Not Enough Words 🙃",p),e=c("Your headline doesn’t use enough words. You have more space to add keywords and power words to improve your SEO and get more engagement.",p)):5<=n&&n<=9?(l="green",f=c("Good 🙂",p),e=c("Your headline has the right amount of words. Headlines are more likely to be clicked on in search results if they have about 6 words.",p)):10<=n&&n<=11?(l="orange",f=c("Reduce Word Count 🙂",p)):(l="red",f=c("Too Many Words 😑",p),e=c("Your headline has too many words. Long headlines will get cut off in search results and won’t get as many clicks.",p)),Object(r.createElement)(u,null,Object(r.createElement)(d,{title:t,className:i()("aioseo-headline-analyzer-panel-word-count","aioseo-headline-analyzer-panel-has-icon",l),icon:"green"===l?a.a.check:a.a.warning},Object(r.createElement)(h,null,Object(r.createElement)("div",{className:"aioseo-headline-analyzer-panel-first-block"},Object(r.createElement)("div",{className:"aioseo-headline-analyzer-word-counter"},Object(r.createElement)("span",{className:"aioseo-headline-analyzer-status-on-word-length"},f),Object(r.createElement)("span",{className:i()("aioseo-headline-analyzer-word-length",l),dangerouslySetInnerHTML:{__html:m}})),Object(r.createElement)("p",null,e)))))}}).call(this,n(9))},104:function(e,t,n){"use strict";(function(e){var r=n(0),a=window.wp.i18n.__,o=window.wp.element.Fragment,i=window.wp.components,s=i.PanelBody,l=i.PanelRow,c=e.env.VUE_APP_TEXTDOMAIN;t.a=function(e){var t=a("Beginning & Ending Words",c),n=e.data.result.originalExplodedHeadline,i=a("Most readers only look at the first and last 3 words of a headline before deciding whether to click.",c),u="";e="";return 6<=n.length?(u=n.slice(0,3).join(" "),e=n.slice(-3).join(" ")):3<n.length&&n.length<=5?(u=n.slice(0,3).join(" "),e=n.slice(3).join(" ")):u=n.slice(0,3).join(" "),Object(r.createElement)(o,null,Object(r.createElement)(s,{title:t,className:"aioseo-headline-analyzer-panel-beginning-ending-words"},Object(r.createElement)(l,null,Object(r.createElement)("div",{className:"aioseo-headline-analyzer-panel-first-block"},u?Object(r.createElement)(o,null,Object(r.createElement)("ul",{className:"aioseo-headline-analyzer-word-begining-title"},Object(r.createElement)("li",null,a("Beginning Words",c))),Object(r.createElement)("div",{className:"aioseo-headline-analyzer-words beginning"},Object(r.createElement)("span",null,u))):"",e?Object(r.createElement)(o,null,Object(r.createElement)("ul",{className:"aioseo-headline-analyzer-word-ending-title"},Object(r.createElement)("li",null,a("Ending Words",c))),Object(r.createElement)("div",{className:"aioseo-headline-analyzer-words ending"},Object(r.createElement)("span",null,e))):"",Object(r.createElement)("p",{className:"aioseo-headline-analyzer-words-guideline"},i)))))}}).call(this,n(9))},105:function(e,t,n){"use strict";(function(e){var r=n(106),a=n.n(r),o=n(0),i=window.wp.i18n.__,s=window.wp.element.Fragment,l=(r=window.wp.components).PanelBody,c=r.PanelRow,u=window.wp.data.select;t.a=function(t){var n=i("Search Preview",e.env.VUE_APP_TEXTDOMAIN),r=i("Here is how your headline will look like in Google search results page.",e.env.VUE_APP_TEXTDOMAIN),d=u("core/editor").getPermalink(),h={href:d};return Object(o.createElement)(s,null,Object(o.createElement)(l,{title:n,className:"aioseo-headline-analyzer-panel-search-preview"},Object(o.createElement)(c,null,Object(o.createElement)("div",{className:"aioseo-headline-analyzer-panel-first-block"},Object(o.createElement)("div",{className:"aioseo-headline-analyzer-search-prevew-wrap"},Object(o.createElement)("p",{className:"aioseo-headline-analyzer-post-url"},Object(o.createElement)("a",a()({},h,{target:"_blank"}),d)),Object(o.createElement)("h4",null,t.data.sentence),Object(o.createElement)("p",null,r))))))}}).call(this,n(9))},106:function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,n.apply(this,arguments)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},198:function(e,t,n){n(199),e.exports=n(212)},199:function(e,t,n){"use strict";n.r(t),function(e){var t=n(45),r=n.n(t),a=n(46),o=n.n(a),i=n(92),s=n.n(i),l=n(0),c=(t=n(8),n(29)),u=n(94),d=n(98),h=n(99),p=n(100),f=n(101),m=n(102),y=n(103),b=n(104),w=n(105);function g(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var E=(a=window.wp.i18n).__,O=a.sprintf,j=(i=window.wp.element).Fragment,_=i.useState,T=i.useEffect,x=(a=window.wp.plugins.registerPlugin,(i=window.wp.editPost).PluginSidebar),C=i.PluginSidebarMoreMenuItem,z=window.wp.data.select,k=e.env.VUE_APP_TEXTDOMAIN;a("aioseo-headline-analyzer",{icon:t.a.headline,render:function(){function e(){t?Object(c.b)(window.aioseo.nonce).post(Object(c.c)("analyze_headline")).send({headline:t,shouldStoreHeadline:!1}).then((function(e){var t={dataExist:!1};(e=JSON.parse(e.body[Object.keys(e.body)[0]])).analysed&&(t.currentHeadlineData=e,t.headlineData=e,t.dataExist=!0,void 0!==g.headlineData&&(t.previousHeadlinesData=[g.headlineData].concat(o()(A)))),P(v(v({},g),t))})).catch((function(e){P(v(v({},g),{dataExist:!1})),console.log("Couldn't fetch score for headline:",e)})):P(v(v({},g),{dataExist:!1}))}var t=z("core/editor").getEditedPostAttribute("title");T(e,[]),window.wp.data.subscribe((function(){t!==z("core/editor").getEditedPostAttribute("title")&&(t=z("core/editor").getEditedPostAttribute("title"),Object(c.a)(e,2e3))}));var n=E("SEO Headline Analyzer",k),a=E("Write your post title to see the analyzer data. This Headline Analyzer tool enables you to write irresistible SEO headlines that drive traffic, shares, and rank better in search results.",k),i=_({}),s=r()(i,2),g=s[0],P=s[1],A=void 0!==g.previousHeadlinesData?g.previousHeadlinesData:[],N=O(E("This headline analyzer is part of AIOSEO to help you increase your traffic. %1sAnalyze your site further here%2s →%3s",k),O('<a href="%1$s" className="aioseo-headline-analyzer-link" target="_blank"><span>',window.aioseo.urls.aio.seoAnalysis),"</span>","</a>"),S=document.querySelector(".components-button[aria-label='".concat(n,"'] svg"));S&&(i=document.createElement("span"),g.dataExist&&void 0!==g.currentHeadlineData.score?(s=g.currentHeadlineData.score,S.parentNode.setAttribute("aioseo-button-color",s<40?"red":s<=60?"orange":"green"),S.nextElementSibling?S.nextElementSibling.innerHTML="".concat(s,"/100"):(i.innerHTML="".concat(s,"/100"),S.parentNode.insertBefore(i,S.nextSibling))):(S.parentNode.setAttribute("aioseo-button-color","red"),S.nextElementSibling?S.nextElementSibling.innerHTML="00/100":(i.innerHTML="00/100",S.parentNode.insertBefore(i,S.nextSibling)))),!(S=document.querySelector(".aioseo-headline-analyzer-wrapper"))||(D=S.parentNode.querySelectorAll(".components-panel__header"))&&D.forEach((function(e){(e=e.querySelector('[aria-pressed="true"]'))&&null!==e&&(e.style.display="none")}));var D=function(e){P(v(v({},g),e))};return Object(l.createElement)(j,null,Object(l.createElement)(C,{target:"aioseo-headline-analyzer"},n),Object(l.createElement)(x,{name:"aioseo-headline-analyzer",title:n,className:"aioseo-headline-analyzer-wrapper"},void 0!==g.headlineData&&g.dataExist&&g.headlineData.analysed?Object(l.createElement)(u.a,{analyzer:g,setAnalyzer:D}):Object(l.createElement)("p",{className:"aioseo-headline-analyzer-empty-title-warning"},a),void 0!==g.headlineData&&g.dataExist&&g.headlineData.analysed&&0<A.length?Object(l.createElement)(d.a,{analyzer:g,setAnalyzer:D}):"",void 0!==g.headlineData&&g.dataExist&&g.headlineData.analysed?Object(l.createElement)(h.a,{data:g.headlineData}):"",void 0!==g.headlineData&&g.dataExist&&g.headlineData.analysed?Object(l.createElement)(p.a,{data:g.headlineData}):"",void 0!==g.headlineData&&g.dataExist&&g.headlineData.analysed?Object(l.createElement)(f.a,{data:g.headlineData}):"",void 0!==g.headlineData&&g.dataExist&&g.headlineData.analysed?Object(l.createElement)(m.a,{data:g.headlineData}):"",void 0!==g.headlineData&&g.dataExist&&g.headlineData.analysed?Object(l.createElement)(y.a,{data:g.headlineData}):"",void 0!==g.headlineData&&g.dataExist&&g.headlineData.analysed?Object(l.createElement)(b.a,{data:g.headlineData}):"",void 0!==g.headlineData&&g.dataExist&&g.headlineData.analysed?Object(l.createElement)(w.a,{data:g.headlineData}):"",Object(l.createElement)("div",{className:"aioseo-headline-analyzer-bottom-notice"},Object(l.createElement)("p",{dangerouslySetInnerHTML:{__html:N}}))))}})}.call(this,n(9))},2:function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o,i=typeof r;if("string"==i||"number"==i)e.push(r);else if(Array.isArray(r))!r.length||(o=a.apply(null,r))&&e.push(o);else if("object"==i)if(r.toString===Object.prototype.toString)for(var s in r)n.call(r,s)&&r[s]&&e.push(s);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)}()},200:function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},201:function(e,t){e.exports=function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){s=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(s)throw a}}return o}},e.exports.default=e.exports,e.exports.__esModule=!0},202:function(e,t){e.exports=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.")},e.exports.default=e.exports,e.exports.__esModule=!0},203:function(e,t,n){var r=n(80);e.exports=function(e){if(Array.isArray(e))return r(e)},e.exports.default=e.exports,e.exports.__esModule=!0},204:function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.default=e.exports,e.exports.__esModule=!0},205:function(e,t){e.exports=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.")},e.exports.default=e.exports,e.exports.__esModule=!0},206:function(e,t,n){function r(e){if(e)return function(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}(e)}(e.exports=r).prototype.on=r.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},r.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=r.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+e];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var a=0;a<r.length;a++)if((n=r[a])===t||n.fn===t){r.splice(a,1);break}return 0===r.length&&delete this._callbacks["$"+e],this},r.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),n=this._callbacks["$"+e],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(n){r=0;for(var a=(n=n.slice(0)).length;r<a;++r)n[r].apply(this,t)}return this},r.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},r.prototype.hasListeners=function(e){return!!this.listeners(e).length}},207:function(e,t){((e.exports=a).default=a).stable=i,a.stableStringify=i;var n=[],r=[];function a(e,t,a){for(function e(t,a,o,i){var s;if("object"==typeof t&&null!==t){for(s=0;s<o.length;s++)if(o[s]===t){var l=Object.getOwnPropertyDescriptor(i,a);return void(void 0!==l.get?l.configurable?(Object.defineProperty(i,a,{value:"[Circular]"}),n.push([i,a,t,l])):r.push([t,a]):(i[a]="[Circular]",n.push([i,a,t])))}if(o.push(t),Array.isArray(t))for(s=0;s<t.length;s++)e(t[s],s,o,t);else{var c=Object.keys(t);for(s=0;s<c.length;s++){var u=c[s];e(t[u],u,o,t)}}o.pop()}}(e,"",[],void 0),a=0===r.length?JSON.stringify(e,t,a):JSON.stringify(e,s(t),a);0!==n.length;){var o=n.pop();4===o.length?Object.defineProperty(o[0],o[1],o[3]):o[0][o[1]]=o[2]}return a}function o(e,t){return e<t?-1:t<e?1:0}function i(e,t,a){for(e=function e(t,a,i,s){var l;if("object"==typeof t&&null!==t){for(l=0;l<i.length;l++)if(i[l]===t){var c=Object.getOwnPropertyDescriptor(s,a);return void(void 0!==c.get?c.configurable?(Object.defineProperty(s,a,{value:"[Circular]"}),n.push([s,a,t,c])):r.push([t,a]):(s[a]="[Circular]",n.push([s,a,t])))}if("function"!=typeof t.toJSON){if(i.push(t),Array.isArray(t))for(l=0;l<t.length;l++)e(t[l],l,i,t);else{var u={},d=Object.keys(t).sort(o);for(l=0;l<d.length;l++){var h=d[l];e(t[h],h,i,t),u[h]=t[h]}if(void 0===s)return u;n.push([s,a,t]),s[a]=u}i.pop()}}}(e,"",[],void 0)||e,a=0===r.length?JSON.stringify(e,t,a):JSON.stringify(e,s(t),a);0!==n.length;){var i=n.pop();4===i.length?Object.defineProperty(i[0],i[1],i[3]):i[0][i[1]]=i[2]}return a}function s(e){return e=void 0!==e?e:function(e,t){return t},function(t,n){if(0<r.length)for(var a=0;a<r.length;a++){var o=r[a];if(o[1]===t&&o[0]===n){n="[Circular]",r.splice(a,1);break}}return e.call(this,t,n)}}},208:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var a=n(81);function o(e){if(e)return function(e){for(var t in o.prototype)Object.prototype.hasOwnProperty.call(o.prototype,t)&&(e[t]=o.prototype[t]);return e}(e)}(e.exports=o).prototype.clearTimeout=function(){return clearTimeout(this._timer),clearTimeout(this._responseTimeoutTimer),clearTimeout(this._uploadTimeoutTimer),delete this._timer,delete this._responseTimeoutTimer,delete this._uploadTimeoutTimer,this},o.prototype.parse=function(e){return this._parser=e,this},o.prototype.responseType=function(e){return this._responseType=e,this},o.prototype.serialize=function(e){return this._serializer=e,this},o.prototype.timeout=function(e){if(!e||"object"!==r(e))return this._timeout=e,this._responseTimeout=0,this._uploadTimeout=0,this;for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))switch(t){case"deadline":this._timeout=e.deadline;break;case"response":this._responseTimeout=e.response;break;case"upload":this._uploadTimeout=e.upload;break;default:console.warn("Unknown timeout option",t)}return this},o.prototype.retry=function(e,t){return this._maxRetries=e=(e=0===arguments.length||!0===e?1:e)<=0?0:e,this._retries=0,this._retryCallback=t,this};var i=["ECONNRESET","ETIMEDOUT","EADDRINFO","ESOCKETTIMEDOUT"];o.prototype._shouldRetry=function(e,t){if(!this._maxRetries||this._retries++>=this._maxRetries)return!1;if(this._retryCallback)try{var n=this._retryCallback(e,t);if(!0===n)return!0;if(!1===n)return!1}catch(e){console.error(e)}if(t&&t.status&&500<=t.status&&501!==t.status)return!0;if(e){if(e.code&&i.includes(e.code))return!0;if(e.timeout&&"ECONNABORTED"===e.code)return!0;if(e.crossDomain)return!0}return!1},o.prototype._retry=function(){return this.clearTimeout(),this.req&&(this.req=null,this.req=this.request()),this._aborted=!1,this.timedout=!1,this.timedoutError=null,this._end()},o.prototype.then=function(e,t){var n,r=this;return this._fullfilledPromise||((n=this)._endCalled&&console.warn("Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises"),this._fullfilledPromise=new Promise((function(e,t){n.on("abort",(function(){var e;r.timedout&&r.timedoutError?t(r.timedoutError):((e=new Error("Aborted")).code="ABORTED",e.status=r.status,e.method=r.method,e.url=r.url,t(e))})),n.end((function(n,r){n?t(n):e(r)}))}))),this._fullfilledPromise.then(e,t)},o.prototype.catch=function(e){return this.then(void 0,e)},o.prototype.use=function(e){return e(this),this},o.prototype.ok=function(e){if("function"!=typeof e)throw new Error("Callback required");return this._okCallback=e,this},o.prototype._isResponseOK=function(e){return!!e&&(this._okCallback?this._okCallback(e):200<=e.status&&e.status<300)},o.prototype.getHeader=o.prototype.get=function(e){return this._header[e.toLowerCase()]},o.prototype.set=function(e,t){if(a(e)){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&this.set(n,e[n]);return this}return this._header[e.toLowerCase()]=t,this.header[e]=t,this},o.prototype.unset=function(e){return delete this._header[e.toLowerCase()],delete this.header[e],this},o.prototype.field=function(e,t){if(null==e)throw new Error(".field(name, val) name can not be empty");if(this._data)throw new Error(".field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()");if(a(e)){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&this.field(n,e[n]);return this}if(Array.isArray(t)){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&this.field(e,t[r]);return this}if(null==t)throw new Error(".field(name, val) val can not be empty");return"boolean"==typeof t&&(t=String(t)),this._getFormData().append(e,t),this},o.prototype.abort=function(){return this._aborted||(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req&&this.req.abort(),this.clearTimeout(),this.emit("abort")),this},o.prototype._auth=function(e,t,n,r){switch(n.type){case"basic":this.set("Authorization","Basic ".concat(r("".concat(e,":").concat(t))));break;case"auto":this.username=e,this.password=t;break;case"bearer":this.set("Authorization","Bearer ".concat(e))}return this},o.prototype.withCredentials=function(e){return this._withCredentials=e=void 0===e||e,this},o.prototype.redirects=function(e){return this._maxRedirects=e,this},o.prototype.maxResponseSize=function(e){if("number"!=typeof e)throw new TypeError("Invalid argument");return this._maxResponseSize=e,this},o.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},o.prototype.send=function(e){var t=a(e),n=this._header["content-type"];if(this._formData)throw new Error(".send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()");if(t&&!this._data)Array.isArray(e)?this._data=[]:this._isHost(e)||(this._data={});else if(e&&this._data&&this._isHost(this._data))throw new Error("Can't merge these send calls");if(t&&a(this._data))for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(this._data[r]=e[r]);else"string"==typeof e?(n||this.type("form"),n=this._header["content-type"],this._data="application/x-www-form-urlencoded"===n?this._data?"".concat(this._data,"&").concat(e):e:(this._data||"")+e):this._data=e;return!t||this._isHost(e)||n||this.type("json"),this},o.prototype.sortQuery=function(e){return this._sort=void 0===e||e,this},o.prototype._finalizeQueryString=function(){var e,t=this._query.join("&");t&&(this.url+=(this.url.includes("?")?"&":"?")+t),this._query.length=0,!this._sort||0<=(e=this.url.indexOf("?"))&&(t=this.url.slice(e+1).split("&"),"function"==typeof this._sort?t.sort(this._sort):t.sort(),this.url=this.url.slice(0,e)+"?"+t.join("&"))},o.prototype._appendQueryString=function(){console.warn("Unsupported")},o.prototype._timeoutError=function(e,t,n){this._aborted||((e=new Error("".concat(e+t,"ms exceeded"))).timeout=t,e.code="ECONNABORTED",e.errno=n,this.timedout=!0,this.timedoutError=e,this.abort(),this.callback(e))},o.prototype._setTimeouts=function(){var e=this;this._timeout&&!this._timer&&(this._timer=setTimeout((function(){e._timeoutError("Timeout of ",e._timeout,"ETIME")}),this._timeout)),this._responseTimeout&&!this._responseTimeoutTimer&&(this._responseTimeoutTimer=setTimeout((function(){e._timeoutError("Response timeout of ",e._responseTimeout,"ETIMEDOUT")}),this._responseTimeout))}},209:function(e,t,n){"use strict";var r=n(210);function a(e){if(e)return function(e){for(var t in a.prototype)Object.prototype.hasOwnProperty.call(a.prototype,t)&&(e[t]=a.prototype[t]);return e}(e)}(e.exports=a).prototype.get=function(e){return this.header[e.toLowerCase()]},a.prototype._setHeaderProperties=function(e){var t=e["content-type"]||"";this.type=r.type(t);var n,a=r.params(t);for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(this[n]=a[n]);this.links={};try{e.link&&(this.links=r.parseLinks(e.link))}catch(e){}},a.prototype._setStatusProperties=function(e){var t=e/100|0;this.statusCode=e,this.status=this.statusCode,this.statusType=t,this.info=1==t,this.ok=2==t,this.redirect=3==t,this.clientError=4==t,this.serverError=5==t,this.error=(4==t||5==t)&&this.toError(),this.created=201===e,this.accepted=202===e,this.noContent=204===e,this.badRequest=400===e,this.unauthorized=401===e,this.notAcceptable=406===e,this.forbidden=403===e,this.notFound=404===e,this.unprocessableEntity=422===e}},210:function(e,t,n){"use strict";t.type=function(e){return e.split(/ *; */).shift()},t.params=function(e){return e.split(/ *; */).reduce((function(e,t){t=(n=t.split(/ *= */)).shift();var n=n.shift();return t&&n&&(e[t]=n),e}),{})},t.parseLinks=function(e){return e.split(/ *, */).reduce((function(e,t){var n=t.split(/ *; */);t=n[0].slice(1,-1);return e[n[1].split(/ *= */)[1].slice(1,-1)]=t,e}),{})},t.cleanHeader=function(e,t){return delete e["content-type"],delete e["content-length"],delete e["transfer-encoding"],delete e.host,t&&(delete e.authorization,delete e.cookie),e}},211:function(e,t,n){"use strict";function r(){this._defaults=[]}["use","on","once","set","query","type","accept","auth","withCredentials","sortQuery","retry","ok","redirects","timeout","buffer","serialize","parse","ca","key","pfx","cert","disableTLSCerts"].forEach((function(e){r.prototype[e]=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this._defaults.push({fn:e,args:n}),this}})),r.prototype._setDefaults=function(e){this._defaults.forEach((function(t){e[t.fn].apply(e,function(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}(t.args))}))},e.exports=r},212:function(e,t,n){"use strict";n.r(t)},29:function(e,t,n){"use strict";function r(e){return e.replace(/\/$/,"")}function a(e){return r(e)+"/"}n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return c}));t=n(93);var o,i=n.n(t),s=function(e,t){return function(){for(var n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];clearTimeout(o),o=setTimeout((function(){return e.apply(void 0,r)}),t)}.call()},l=function(e){return i.a.agent().set("X-WP-Nonce",e).use((function(e){e.on("response",(function(e){(401===e.status||403===e.status)&&console.error(e)}))}))},c=function(e){return e=(window.aioseo.data.hasUrlTrailingSlash?a:r)(e),a(window.aioseo.urls.restUrl)+a("aioseo/v1")+e.replace(/^\//,"")}},35:function(e,t,n){"use strict";(function(e){var r=n(0),a=n(2),o=n.n(a),i=window.wp.i18n.__;t.a=function(t){var n=i("Goal: ",e.env.VUE_APP_TEXTDOMAIN),a={width:t.value+"%"};return Object(r.createElement)("div",{className:"aioseo-headline-analyzer-words-block"},Object(r.createElement)("h5",null,t.title),Object(r.createElement)("div",{className:"aioseo-headline-analyzer-words-block-data"},Object(r.createElement)("span",{className:o()("aioseo-headline-analyzer-words-block-percentage",t.classOnScore)},t.value,"%"),Object(r.createElement)("span",{className:o()("aioseo-headline-analyzer-words-block-percentage-right-column",t.classOnScore)},Object(r.createElement)("span",{className:"aioseo-headline-analyzer-words-block-goal"},n," ",t.goalValue),Object(r.createElement)("span",{className:"aioseo-headline-analyzer-words-block-progressbar"},Object(r.createElement)("span",{className:"aioseo-headline-analyzer-progressbar-bg"}),Object(r.createElement)("span",{className:o()("aioseo-headline-analyzer-progressbar-part",t.classOnScoreBg),style:a})))),Object(r.createElement)("ul",{className:"aioseo-headline-analyzer-words-tag-list"},0<t.words.length?t.words.map((function(e,t){return Object(r.createElement)("li",{key:t},e)})):""),Object(r.createElement)("p",{className:"aioseo-headline-analyzer-words-guideline"},t.guideLine))}}).call(this,n(9))},45:function(e,t,n){var r=n(200),a=n(201),o=n(79),i=n(202);e.exports=function(e,t){return r(e)||a(e,t)||o(e,t)||i()},e.exports.default=e.exports,e.exports.__esModule=!0},46:function(e,t,n){var r=n(203),a=n(204),o=n(79),i=n(205);e.exports=function(e){return r(e)||a(e)||o(e)||i()},e.exports.default=e.exports,e.exports.__esModule=!0},47:function(e,t,n){"use strict";var r=n(0),a=window.wp.element.Fragment;t.a=function(e){var t=e.barScore;e=e.color;return Object(r.createElement)(a,null,Object(r.createElement)("div",{className:"aioseo-donut-container",style:{flexDirection:"column"}},Object(r.createElement)("svg",{className:"aioseo-donut-score-svg",viewBox:"0 0 33.83098862 33.83098862",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)("circle",{className:"aioseo-seo-headline-analyzer-score__background",stroke:"#e8e8eb",strokeWidth:"2",fill:"none",cx:"16.91549431",cy:"16.91549431",r:"15.91549431"}),Object(r.createElement)("circle",{className:"aioseo-seo-headline-analyzer-score__circle",stroke:e,strokeWidth:"2",strokeDasharray:"".concat(t,", 100"),strokeLinecap:"round",fill:"none",cx:"16.91549431",cy:"16.91549431",r:"15.91549431"}))))}},79:function(e,t,n){var r=n(80);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Map"===(n="Object"===n&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},8:function(e,t,n){"use strict";var r=n(0);(n={}).headline=Object(r.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.817 2H22v.038l-6.183 4.226V2.001zm-7.62 9.473V2H2.016v4.683-.267l6.126 5.094.057-.038zm-6.182 5.061l6.183 4.213v1.252H2.015v-5.465zm13.802-.857L22 11.559v10.437h-6.183v-6.32z",fill:"#141B38"}),Object(r.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.198 11.435l-.057.039L2.016 6.38v.265-4.644h6.182v9.434zm0 9.226L2.015 16.45v5.55h6.183v-1.337zm7.62-5.07L22 11.474v10.522h-6.183v-6.405zM22 2.001l-6.183 4.226V2H22z",fill:"#141B38"}),Object(r.createElement)("path",{d:"M8.141 13.537L22 4.064v5.432l-13.8 9.19L2 14.46l.016-6.018 6.125 5.094z",fill:"#141B38"})),n.headlineBlack=Object(r.createElement)("svg",{width:"15",height:"14",viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)("path",{d:"M13.5 2V12H14.5C14.6458 12 14.7604 12.0521 14.8438 12.1562C14.9479 12.2396 15 12.3542 15 12.5V13.5C15 13.6458 14.9479 13.7604 14.8438 13.8438C14.7604 13.9479 14.6458 14 14.5 14H9.5C9.35417 14 9.22917 13.9479 9.125 13.8438C9.04167 13.7604 9 13.6458 9 13.5V12.5C9 12.3542 9.04167 12.2396 9.125 12.1562C9.22917 12.0521 9.35417 12 9.5 12H10.5V8H4.5V12H5.5C5.64583 12 5.76042 12.0521 5.84375 12.1562C5.94792 12.2396 6 12.3542 6 12.5V13.5C6 13.6458 5.94792 13.7604 5.84375 13.8438C5.76042 13.9479 5.64583 14 5.5 14H0.5C0.354167 14 0.229167 13.9479 0.125 13.8438C0.0416667 13.7604 0 13.6458 0 13.5V12.5C0 12.3542 0.0416667 12.2396 0.125 12.1562C0.229167 12.0521 0.354167 12 0.5 12H1.5V2H0.5C0.354167 2 0.229167 1.95833 0.125 1.875C0.0416667 1.77083 0 1.64583 0 1.5V0.5C0 0.354167 0.0416667 0.239583 0.125 0.15625C0.229167 0.0520833 0.354167 0 0.5 0H5.5C5.64583 0 5.76042 0.0520833 5.84375 0.15625C5.94792 0.239583 6 0.354167 6 0.5V1.5C6 1.64583 5.94792 1.77083 5.84375 1.875C5.76042 1.95833 5.64583 2 5.5 2H4.5V6H10.5V2H9.5C9.35417 2 9.22917 1.95833 9.125 1.875C9.04167 1.77083 9 1.64583 9 1.5V0.5C9 0.354167 9.04167 0.239583 9.125 0.15625C9.22917 0.0520833 9.35417 0 9.5 0H14.5C14.6458 0 14.7604 0.0520833 14.8438 0.15625C14.9479 0.239583 15 0.354167 15 0.5V1.5C15 1.64583 14.9479 1.77083 14.8438 1.875C14.7604 1.95833 14.6458 2 14.5 2H13.5Z",fill:"#000"})),n.warning=Object(r.createElement)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.99 0C4.47 0 0 4.48 0 10C0 15.52 4.47 20 9.99 20C15.52 20 20 15.52 20 10C20 4.48 15.52 0 9.99 0ZM11 5.00002H9V11H11V5.00002ZM11 13H9V15H11V13ZM2.00002 10C2.00002 14.42 5.58002 18 10 18C14.42 18 18 14.42 18 10C18 5.58002 14.42 2.00002 10 2.00002C5.58002 2.00002 2.00002 5.58002 2.00002 10Z",fill:"#005AE0"})),n.smile=Object(r.createElement)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.99 0C4.47 0 0 4.48 0 10C0 15.52 4.47 20 9.99 20C15.52 20 20 15.52 20 10C20 4.48 15.52 0 9.99 0ZM6.5 6C5.67157 6 5 6.67157 5 7.5C5 8.32843 5.67157 9 6.5 9C7.32843 9 8 8.32843 8 7.5C8 6.67157 7.32843 6 6.5 6ZM13.5 6C12.6716 6 12 6.67157 12 7.5C12 8.32843 12.6716 9 13.5 9C14.3284 9 15 8.32843 15 7.5C15 6.67157 14.3284 6 13.5 6ZM6.55 12C7.25 13.19 8.52 14 10 14C11.48 14 12.75 13.19 13.45 12H15.12C14.32 14.05 12.33 15.5 10 15.5C7.67 15.5 5.68 14.05 4.88 12H6.55ZM2 10C2 14.42 5.58 18 10 18C14.42 18 18 14.42 18 10C18 5.58 14.42 2 10 2C5.58 2 2 5.58 2 10Z",fill:"#00AA63"})),n.neutral=Object(r.createElement)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.99 0C4.47 0 0 4.48 0 10C0 15.52 4.47 20 9.99 20C15.52 20 20 15.52 20 10C20 4.48 15.52 0 9.99 0ZM5 7.5C5 6.67157 5.67157 6 6.5 6C7.32843 6 8 6.67157 8 7.5C8 8.32843 7.32843 9 6.5 9C5.67157 9 5 8.32843 5 7.5ZM13.5 6C12.6716 6 12 6.67157 12 7.5C12 8.32843 12.6716 9 13.5 9C14.3284 9 15 8.32843 15 7.5C15 6.67157 14.3284 6 13.5 6ZM7 13.5V12H13V13.5H7ZM2 10C2 14.42 5.58 18 10 18C14.42 18 18 14.42 18 10C18 5.58 14.42 2 10 2C5.58 2 2 5.58 2 10Z",fill:"#005AE0"})),n.negative=Object(r.createElement)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.99 0C4.47 0 0 4.48 0 10C0 15.52 4.47 20 9.99 20C15.52 20 20 15.52 20 10C20 4.48 15.52 0 9.99 0ZM6.5 6C5.67157 6 5 6.67157 5 7.5C5 8.32843 5.67157 9 6.5 9C7.32843 9 8 8.32843 8 7.5C8 6.67157 7.32843 6 6.5 6ZM13.5 6C12.6716 6 12 6.67157 12 7.5C12 8.32843 12.6716 9 13.5 9C14.3284 9 15 8.32843 15 7.5C15 6.67157 14.3284 6 13.5 6ZM4.88 15.5C5.68 13.45 7.67 12 10 12C12.33 12 14.32 13.45 15.12 15.5H13.45C12.75 14.31 11.48 13.5 10 13.5C8.52 13.5 7.24 14.31 6.55 15.5H4.88ZM2 10C2 14.42 5.58 18 10 18C14.42 18 18 14.42 18 10C18 5.58 14.42 2 10 2C5.58 2 2 5.58 2 10Z",fill:"#DF2A4A"})),n.check=Object(r.createElement)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 0C4.48 0 0 4.48 0 10C0 15.52 4.48 20 10 20C15.52 20 20 15.52 20 10C20 4.48 15.52 0 10 0ZM10 18C5.59 18 2 14.41 2 10C2 5.59 5.59 2 10 2C14.41 2 18 5.59 18 10C18 14.41 14.41 18 10 18ZM8 12.17L14.59 5.58L16 7L8 15L4 11L5.41 9.59L8 12.17Z",fill:"#00AA63"})),t.a=n},80:function(e,t){e.exports=function(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},e.exports.default=e.exports,e.exports.__esModule=!0},81:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e.exports=function(e){return null!==e&&"object"===r(e)}},9:function(e,t){var n,r;e=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function i(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();var s,l=[],c=!1,u=-1;function d(){c&&s&&(c=!1,s.length?l=s.concat(l):u=-1,l.length&&h())}function h(){if(!c){var e=i(d);c=!0;for(var t=l.length;t;){for(s=l,l=[];++u<t;)s&&s[u].run();u=-1,t=l.length}s=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===o||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function f(){}e.nextTick=function(e){var t=new Array(arguments.length-1);if(1<arguments.length)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new p(e,t)),1!==l.length||c||i(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},e.title="browser",e.browser=!0,e.env={},e.argv=[],e.version="",e.versions={},e.on=f,e.addListener=f,e.once=f,e.off=f,e.removeListener=f,e.removeAllListeners=f,e.emit=f,e.prependListener=f,e.prependOnceListener=f,e.listeners=function(e){return[]},e.binding=function(e){throw new Error("process.binding is not supported")},e.cwd=function(){return"/"},e.chdir=function(e){throw new Error("process.chdir is not supported")},e.umask=function(){return 0}},92:function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.default=e.exports,e.exports.__esModule=!0},93:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var a="undefined"!=typeof window?window:"undefined"==typeof self?void console.warn("Using browser-only version of superagent in non-browser environment"):self,o=n(206),i=n(207),s=n(208),l=n(81),c=n(209),u=n(211);function d(){}e.exports=function(e,n){return"function"==typeof n?new t.Request("GET",e).end(n):1===arguments.length?new t.Request("GET",e):new t.Request(e,n)};var h=t=e.exports;t.Request=w,h.getXHR=function(){if(a.XMLHttpRequest&&(!a.location||"file:"!==a.location.protocol||!a.ActiveXObject))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(e){}throw new Error("Browser-only version of superagent could not find XHR")};var p="".trim?function(e){return e.trim()}:function(e){return e.replace(/(^\s*|\s*$)/g,"")};function f(e){if(!l(e))return e;var t,n=[];for(t in e)Object.prototype.hasOwnProperty.call(e,t)&&function e(t,n,r){if(void 0!==r)if(null!==r)if(Array.isArray(r))r.forEach((function(r){e(t,n,r)}));else if(l(r))for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&e(t,"".concat(n,"[").concat(a,"]"),r[a]);else t.push(encodeURI(n)+"="+encodeURIComponent(r));else t.push(encodeURI(n))}(n,t,e[t]);return n.join("&")}function m(e){for(var t,n,r={},a=e.split("&"),o=0,i=a.length;o<i;++o)-1===(n=(t=a[o]).indexOf("="))?r[decodeURIComponent(t)]="":r[decodeURIComponent(t.slice(0,n))]=decodeURIComponent(t.slice(n+1));return r}function y(e){return/[/+]json($|[^-\w])/.test(e)}function b(e){this.req=e,this.xhr=this.req.xhr,this.text="HEAD"!==this.req.method&&(""===this.xhr.responseType||"text"===this.xhr.responseType)||void 0===this.xhr.responseType?this.xhr.responseText:null,this.statusText=this.req.xhr.statusText;var t=this.xhr.status;this._setStatusProperties(t=1223===t?204:t),this.headers=function(e){for(var t,n,r,a=e.split(/\r?\n/),o={},i=0,s=a.length;i<s;++i)-1!==(r=(t=a[i]).indexOf(":"))&&(n=t.slice(0,r).toLowerCase(),r=p(t.slice(r+1)),o[n]=r);return o}(this.xhr.getAllResponseHeaders()),this.header=this.headers,this.header["content-type"]=this.xhr.getResponseHeader("content-type"),this._setHeaderProperties(this.header),null===this.text&&e._responseType?this.body=this.xhr.response:this.body="HEAD"===this.req.method?null:this._parseBody(this.text||this.xhr.response)}function w(e,t){var n=this;this._query=this._query||[],this.method=e,this.url=t,this.header={},this._header={},this.on("end",(function(){var e,t=null,r=null;try{r=new b(n)}catch(r){return(t=new Error("Parser is unable to parse the response")).parse=!0,t.original=r,n.xhr?(t.rawResponse=void 0===n.xhr.responseType?n.xhr.responseText:n.xhr.response,t.status=n.xhr.status||null,t.statusCode=t.status):(t.rawResponse=null,t.status=null),n.callback(t)}n.emit("response",r);try{n._isResponseOK(r)||(e=new Error(r.statusText||r.text||"Unsuccessful HTTP response"))}catch(r){e=r}e?(e.original=t,e.response=r,e.status=r.status,n.callback(e,r)):n.callback(null,r)}))}function g(e,t,n){return e=h("DELETE",e),"function"==typeof t&&(n=t,t=null),t&&e.send(t),n&&e.end(n),e}h.serializeObject=f,h.parseString=m,h.types={html:"text/html",json:"application/json",xml:"text/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},h.serialize={"application/x-www-form-urlencoded":f,"application/json":i},h.parse={"application/x-www-form-urlencoded":m,"application/json":JSON.parse},c(b.prototype),b.prototype._parseBody=function(e){var t=h.parse[this.type];return this.req._parser?this.req._parser(this,e):(t=!t&&y(this.type)?h.parse["application/json"]:t)&&e&&(0<e.length||e instanceof Object)?t(e):null},b.prototype.toError=function(){var e=(n=this.req).method,t=n.url,n="cannot ".concat(e," ").concat(t," (").concat(this.status,")");return(n=new Error(n)).status=this.status,n.method=e,n.url=t,n},h.Response=b,o(w.prototype),s(w.prototype),w.prototype.type=function(e){return this.set("Content-Type",h.types[e]||e),this},w.prototype.accept=function(e){return this.set("Accept",h.types[e]||e),this},w.prototype.auth=function(e,t,n){return"object"===r(t=1===arguments.length?"":t)&&null!==t&&(n=t,t=""),n=n||{type:"function"==typeof btoa?"basic":"auto"},this._auth(e,t,n,(function(e){if("function"==typeof btoa)return btoa(e);throw new Error("Cannot use basic auth, btoa is not a function")}))},w.prototype.query=function(e){return(e="string"!=typeof e?f(e):e)&&this._query.push(e),this},w.prototype.attach=function(e,t,n){if(t){if(this._data)throw new Error("superagent can't mix .send() and .attach()");this._getFormData().append(e,t,n||t.name)}return this},w.prototype._getFormData=function(){return this._formData||(this._formData=new a.FormData),this._formData},w.prototype.callback=function(e,t){if(this._shouldRetry(e,t))return this._retry();var n=this._callback;this.clearTimeout(),e&&(this._maxRetries&&(e.retries=this._retries-1),this.emit("error",e)),n(e,t)},w.prototype.crossDomainError=function(){var e=new Error("Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.");e.crossDomain=!0,e.status=this.status,e.method=this.method,e.url=this.url,this.callback(e)},w.prototype.buffer=w.prototype.ca=w.prototype.agent=function(){return console.warn("This is not supported in browser version of superagent"),this},w.prototype.pipe=w.prototype.write=function(){throw new Error("Streaming is not supported in browser version of superagent")},w.prototype._isHost=function(e){return e&&"object"===r(e)&&!Array.isArray(e)&&"[object Object]"!==Object.prototype.toString.call(e)},w.prototype.end=function(e){this._endCalled&&console.warn("Warning: .end() was called twice. This is not supported in superagent"),this._endCalled=!0,this._callback=e||d,this._finalizeQueryString(),this._end()},w.prototype._setUploadTimeout=function(){var e=this;this._uploadTimeout&&!this._uploadTimeoutTimer&&(this._uploadTimeoutTimer=setTimeout((function(){e._timeoutError("Upload timeout of ",e._uploadTimeout,"ETIMEDOUT")}),this._uploadTimeout))},w.prototype._end=function(){if(this._aborted)return this.callback(new Error("The request has been aborted even before .end() was called"));var e=this;this.xhr=h.getXHR();var t=this.xhr,n=this._formData||this._data;this._setTimeouts(),t.onreadystatechange=function(){var n,r=t.readyState;if(2<=r&&e._responseTimeoutTimer&&clearTimeout(e._responseTimeoutTimer),4===r){try{n=t.status}catch(r){n=0}if(!n)return e.timedout||e._aborted?void 0:e.crossDomainError();e.emit("end")}};var r,a,o=function(t,n){0<n.total&&(n.percent=n.loaded/n.total*100,100===n.percent&&clearTimeout(e._uploadTimeoutTimer)),n.direction=t,e.emit("progress",n)};if(this.hasListeners("progress"))try{t.addEventListener("progress",o.bind(null,"download")),t.upload&&t.upload.addEventListener("progress",o.bind(null,"upload"))}catch(n){}t.upload&&this._setUploadTimeout();try{this.username&&this.password?t.open(this.method,this.url,!0,this.username,this.password):t.open(this.method,this.url,!0)}catch(n){return this.callback(n)}for(a in this._withCredentials&&(t.withCredentials=!0),this._formData||"GET"===this.method||"HEAD"===this.method||"string"==typeof n||this._isHost(n)||(r=this._header["content-type"],(o=!(o=this._serializer||h.serialize[r?r.split(";")[0]:""])&&y(r)?h.serialize["application/json"]:o)&&(n=o(n))),this.header)null!==this.header[a]&&Object.prototype.hasOwnProperty.call(this.header,a)&&t.setRequestHeader(a,this.header[a]);this._responseType&&(t.responseType=this._responseType),this.emit("request",this),t.send(void 0===n?null:n)},h.agent=function(){return new u},["GET","POST","OPTIONS","PATCH","PUT","DELETE"].forEach((function(e){u.prototype[e.toLowerCase()]=function(t,n){return t=new h.Request(e,t),this._setDefaults(t),n&&t.end(n),t}})),u.prototype.del=u.prototype.delete,h.get=function(e,t,n){return e=h("GET",e),"function"==typeof t&&(n=t,t=null),t&&e.query(t),n&&e.end(n),e},h.head=function(e,t,n){return e=h("HEAD",e),"function"==typeof t&&(n=t,t=null),t&&e.query(t),n&&e.end(n),e},h.options=function(e,t,n){return e=h("OPTIONS",e),"function"==typeof t&&(n=t,t=null),t&&e.send(t),n&&e.end(n),e},h.del=g,h.delete=g,h.patch=function(e,t,n){return e=h("PATCH",e),"function"==typeof t&&(n=t,t=null),t&&e.send(t),n&&e.end(n),e},h.post=function(e,t,n){return e=h("POST",e),"function"==typeof t&&(n=t,t=null),t&&e.send(t),n&&e.end(n),e},h.put=function(e,t,n){return e=h("PUT",e),"function"==typeof t&&(n=t,t=null),t&&e.send(t),n&&e.end(n),e}},94:function(e,t,n){"use strict";(function(e){var r=n(45),a=n.n(r),o=n(0),i=(r=n(2),n.n(r)),s=n(95),l=n(96),c=n(97),u=window.wp.i18n.__,d=(r=window.wp.element).Fragment,h=r.useState,p=r.useEffect;t.a=function(t){var n=u("Current Score",e.env.VUE_APP_TEXTDOMAIN),r=u("Try New Headline",e.env.VUE_APP_TEXTDOMAIN),f=h("current-score"),m=(f=a()(f,2))[0],y=f[1];f=void 0!==t.analyzer.isNewData&&t.analyzer.isNewData;return p((function(){t.setAnalyzer({activeTab:m})}),[m]),Object(o.createElement)(d,null,Object(o.createElement)("div",{className:"aioseo-inline-buttons"},Object(o.createElement)("button",{onClick:function(){return y("current-score")},className:i()("aioseo-switcher-button",{active:"current-score"===m})},n),Object(o.createElement)("button",{onClick:function(){return y("new-headline")},className:i()("aioseo-switcher-button",{active:"new-headline"===m})},r)),"new-headline"===m?Object(o.createElement)(d,null,Object(o.createElement)(l.a,{analyzer:t.analyzer,setAnalyzer:t.setAnalyzer})):Object(o.createElement)(s.a,{analyzer:t.analyzer}),f?Object(o.createElement)(c.a,{analyzer:t.analyzer}):"")}}).call(this,n(9))},95:function(e,t,n){"use strict";(function(e){var r=n(0),a=n(2),o=n.n(a),i=n(47),s=window.wp.i18n.__,l=window.wp.element.Fragment,c=(a=window.wp.components).PanelBody,u=a.PanelRow,d=e.env.VUE_APP_TEXTDOMAIN;t.a=function(e){var t,n=e.analyzer.currentHeadlineData.sentence,a=s("Score",d),h=s("A good score is between 40 and 60. For best results, you should strive for 70 and above.",d),p=e.analyzer.currentHeadlineData.score,f=p<40?"red":p<=60?"orange":"green";e="red"==f?"#df2a4a":"orange"==f?"#F2994A":"#00aa63";switch(!0){case p<25:t=Object(r.createElement)("span",null,s("Not Looking Great",d));break;case p<50:t=Object(r.createElement)("span",null,s("Could Be Better",d));break;case p<60:t=Object(r.createElement)("span",null,s("Getting There",d));break;case p<75:t=Object(r.createElement)("span",null,s("Looks Good! 👍👍",d));break;case 75<p:t=Object(r.createElement)("span",null,s("Super! 🔥🔥🔥",d));break;default:t=!1}return Object(r.createElement)(l,null,Object(r.createElement)(c,{className:"aioseo-headline-analyzer-panel-score",title:a},Object(r.createElement)(u,null,Object(r.createElement)("div",{className:"aioseo-headline-analyzer-current-score-tab aioseo-headline-analyzer-panel-first-block"},Object(r.createElement)("h4",{className:"aioseo-headline-analyzer-current-title"},"“",n,"”"),Object(r.createElement)("div",{className:"aioseo-headline-analyzer-pie-chart-container"},Object(r.createElement)("div",{className:o()("aioseo-headline-analyzer-current-score",f)},p,Object(r.createElement)("span",{className:"aioseo-headline-analyzer-total-out-of-score"},"/ 100")),t&&Object(r.createElement)("div",{className:o()("aioseo-headline-analyzer-score-status",f)},t),Object(r.createElement)(i.a,{barScore:p,color:e})),Object(r.createElement)("p",null,h)))))}}).call(this,n(9))},96:function(e,t,n){"use strict";(function(e){var r=n(46),a=n.n(r),o=n(0),i=n(29),s=(r=n(2),n.n(r)),l=window.wp.i18n.__,c=window.wp.element.Fragment,u=(r=window.wp.components).PanelBody,d=r.PanelRow,h=r.TextControl,p=r.Button,f=e.env.VUE_APP_TEXTDOMAIN;t.a=function(e){function t(t){(t=t.trim())&&Object(i.b)(window.aioseo.nonce).post(Object(i.c)("analyze_headline")).send({headline:t,shouldStoreHeadline:!1}).then((function(t){t=JSON.parse(t.body[Object.keys(t.body)[0]]),e.setAnalyzer({newHeadlineData:t,headlineData:t,previousHeadlinesData:[e.analyzer.headlineData].concat(a()(b)),isNewData:!0})})).catch((function(t){e.setAnalyzer({isNewData:!1}),console.log(t)}))}var n=l("Try New Headline",f),r=l("Enter a different headline than your post title to see how it compares.",f),m=l("Analyze Headline",f),y=void 0!==e.analyzer.newHeadline?e.analyzer.newHeadline:"",b=void 0!==e.analyzer.previousHeadlinesData?e.analyzer.previousHeadlinesData:[],w=!y;return Object(o.createElement)(c,null,Object(o.createElement)(u,{title:n,className:s()("aioseo-headline-analyzer-panel-tab-new-score-form")},Object(o.createElement)(d,null,Object(o.createElement)("div",{className:"aioseo-headline-analyzer-new-tab"},Object(o.createElement)("div",{className:"aioseo-headline-analyzer-new-score-form-block"},Object(o.createElement)("form",{onSubmit:function(e){e.preventDefault(),t(y)}},Object(o.createElement)(h,{label:r,value:y,onChange:function(t){" "!==t&&e.setAnalyzer({newHeadline:t})},className:"aioseo-headline-analyzer-input-field"}),Object(o.createElement)(p,{className:s()("aioseo-headline-analyzer-button"),onClick:function(){t(y)},disabled:w},m)))))))}}).call(this,n(9))},97:function(e,t,n){"use strict";(function(e){var r=n(0),a=n(2),o=n.n(a),i=n(47),s=window.wp.i18n.__,l=window.wp.element.Fragment,c=(a=window.wp.components).PanelBody,u=a.PanelRow,d=e.env.VUE_APP_TEXTDOMAIN;t.a=function(e){var t,n=e.analyzer.currentHeadlineData.sentence,a=s("New Score",d),h=s("A good score is between 40 and 60. For best results, you should strive for 70 and above.",d),p=s("Current Score",d),f=void 0!==e.analyzer.newHeadlineData?e.analyzer.newHeadlineData.sentence:"",m=void 0!==e.analyzer.newHeadlineData?e.analyzer.newHeadlineData.score:"",y=void 0!==e.analyzer.currentHeadlineData.score?e.analyzer.currentHeadlineData.score:"",b=m<40?"red":m<=60?"orange":"green",w="red"==b?"#df2a4a":"orange"==b?"#F2994A":"#00aa63",g=y<40?"red-bg":y<=60?"orange-bg":"green-bg";e=Math.abs(m-y);switch(!0){case m<25:t=Object(r.createElement)("span",null,s("Not Looking Great",d));break;case m<50:t=Object(r.createElement)("span",null,s("Could Be Better",d));break;case m<60:t=Object(r.createElement)("span",null,s("Getting There",d));break;case m<75:t=Object(r.createElement)("span",null,s("Looks Good! 👍👍",d));break;case 75<m:t=Object(r.createElement)("span",null,s("Super! 🔥🔥🔥",d));break;default:t=!1}return Object(r.createElement)(l,null,Object(r.createElement)(c,{title:a,className:"aioseo-headline-analyzer-panel-tab-new-score"},Object(r.createElement)(u,null,Object(r.createElement)("div",{className:"aioseo-headline-analyzer-panel-first-block"},Object(r.createElement)("div",{className:"aioseo-headline-analyzer-new-score-panel"},Object(r.createElement)("p",null,h),Object(r.createElement)("h4",null,"“",f,"”"),Object(r.createElement)("div",{className:"aioseo-headline-analyzer-pie-chart-container"},Object(r.createElement)("span",{className:o()("aioseo-headline-analyzer-new-score",b)},m),Object(r.createElement)(i.a,{barScore:m,color:w}),Object(r.createElement)("span",{className:o()("aioseo-headline-analyzer-score-difference",b)},y<m?"+ ":m===y?"":"- ",e),t&&Object(r.createElement)("div",{className:o()("aioseo-headline-analyzer-score-status",b)},t)),Object(r.createElement)("div",{className:"current-score"},Object(r.createElement)("span",{className:o()("aioseo-headline-analyzer-score",g)},y),Object(r.createElement)("div",{className:"aioseo-headline-analyzer-current-score-content"},Object(r.createElement)("h5",null,p),Object(r.createElement)("p",null,n))))))))}}).call(this,n(9))},98:function(e,t,n){"use strict";(function(e){var r=n(0),a=n(2),o=n.n(a),i=window.wp.i18n.__,s=window.wp.element.Fragment,l=(a=window.wp.components).PanelBody,c=a.PanelRow;t.a=function(t){var n=i("Previous Scores",e.env.VUE_APP_TEXTDOMAIN),a="undefined"!==t.analyzer.previousHeadlinesData?t.analyzer.previousHeadlinesData:[],u=document.querySelector(".edit-post-sidebar"),d="current-score"===("undefined"!==t.analyzer.activeTab?t.analyzer.activeTab:"current-score")?390:300;return Object(r.createElement)(s,null,Object(r.createElement)(l,{title:n,className:"aioseo-headline-analyzer-panel-previous-scores"},Object(r.createElement)(c,null,Object(r.createElement)("div",{className:"aioseo-headline-analyzer-panel-first-block"},Object(r.createElement)("ul",{className:"aioseo-headline-analyzer-previous-scores"},a.map((function(e,n){if(n<10&&(void 0!==e.sentence||void 0!==e.score)){var i=e.score<40?"red-bg":e.score<=60?"orange-bg":"green-bg";return Object(r.createElement)("li",{key:n,onClick:function(){t.setAnalyzer({newHeadlineData:a[n],headlineData:a[n],newHeadline:a[n].sentence,isNewData:!0}),u&&(u.scrollTop=d)}},Object(r.createElement)("span",{className:o()("aioseo-headline-analyzer-score",i)},e.score),Object(r.createElement)("span",{className:"aioseo-headline-analyzer-score-text"},e.sentence))}return null})))))))}}).call(this,n(9))},99:function(e,t,n){"use strict";(function(e){var r=n(0),a=n(8),o=n(2),i=n.n(o),s=n(35),l=window.wp.i18n.__,c=window.wp.element.Fragment,u=(o=window.wp.components).PanelBody,d=o.PanelRow,h=e.env.VUE_APP_TEXTDOMAIN;t.a=function(e){var t,n=l("Word Balance",h),o=l("Compare the percentages of your results to the goal for each category and adjust as necessary.",h),p=e.data.score,f=e.data.score<40?"red":e.data.score<=60?"orange":"green",m=0===e.data.result.commonWordsPercentage?"red":e.data.result.commonWordsPercentage<.2?"orange":"green",y=0===e.data.result.commonWordsPercentage?"red-bg":e.data.result.commonWordsPercentage<.2?"orange-bg":"green-bg",b=e.data.result.commonWordsPercentage<.2?l("Your headline would be more likely to get clicks if it had more common words.",h):l("Headlines with 20-30% common words are more likely to get clicks.",h),w=0===e.data.result.uncommonWordsPercentage?"red":e.data.result.uncommonWordsPercentage<.1?"orange":"green",g=0===e.data.result.uncommonWordsPercentage?"red-bg":e.data.result.uncommonWordsPercentage<.1?"orange-bg":"green-bg",v=e.data.result.uncommonWordsPercentage<.1?l("Your headline would be more likely to get clicks if it had more uncommon words.",h):l("Headlines with uncommon words are more likely to get clicks.",h),E=0===e.data.result.emotionalWordsPercentage?"red":e.data.result.emotionalWordsPercentage<.1?"orange":"green",O=0===e.data.result.emotionalWordsPercentage?"red-bg":e.data.result.emotionalWordsPercentage<.1?"orange-bg":"green-bg",j=l("Emotionally triggered headlines are likely to drive more clicks.",h),_=0===e.data.result.powerWords.length?"orange":"green",T=0===e.data.result.powerWords.length?"orange":"green-bg",x=l("Headlines with power words are more likely to get clicks.",h),C=l("Common Words",h),z=l("20-30%",h),k=l("Uncommon Words",h),P=l("10-20%",h),A=l("Emotional Words",h),N=l("10-15%",h),S=l("Power Words",h),D=l("At least one",h);switch(!0){case p<25:t=Object(r.createElement)("span",null,l("Not Looking Great",h));break;case p<50:t=Object(r.createElement)("span",null,l("Could Be Better",h));break;case p<60:t=Object(r.createElement)("span",null,l("Getting There",h));break;case p<75:t=Object(r.createElement)("span",null,l("Looks Good! 👍👍",h));break;case 75<p:t=Object(r.createElement)("span",null,l("Super! 🔥🔥🔥",h));break;default:t=!1}return Object(r.createElement)(c,null,Object(r.createElement)(u,{title:n,className:i()("aioseo-headline-analyzer-panel-word-balance","aioseo-headline-analyzer-panel-has-icon",f),icon:"green"==f?a.a.check:a.a.warning},Object(r.createElement)(d,null,Object(r.createElement)("div",{className:"aioseo-headline-analyzer-words-block"},Object(r.createElement)("h4",null,t),Object(r.createElement)("p",null,o)),Object(r.createElement)(s.a,{title:C,value:Math.round(100*e.data.result.commonWordsPercentage),goalValue:z,words:e.data.result.commonWords,guideLine:b,classOnScore:m,classOnScoreBg:y}),Object(r.createElement)(s.a,{title:k,value:Math.round(100*e.data.result.uncommonWordsPercentage),goalValue:P,words:e.data.result.uncommonWords,guideLine:v,classOnScore:w,classOnScoreBg:g}),Object(r.createElement)(s.a,{title:A,value:Math.round(100*e.data.result.emotionalWordsPercentage),goalValue:N,words:e.data.result.emotionWords,guideLine:j,classOnScore:E,classOnScoreBg:O}),Object(r.createElement)(s.a,{title:S,value:Math.round(100*e.data.result.powerWordsPercentage),goalValue:D,words:e.data.result.powerWords,guideLine:x,classOnScore:_,classOnScoreBg:T}))))}}).call(this,n(9))}});