Version Description
Download this release
Release Info
Developer | manejaam |
Plugin | Google Analytics for WordPress by MonsterInsights |
Version | 8.5.1 |
Comparing to | |
See all releases |
Code changes from version 8.5.0 to 8.5.1
- assets/css/admin-metabox.css +106 -0
- assets/css/admin-metabox.min.css +1 -1
- assets/gutenberg/js/editor.min.js +2 -2
- assets/images/restricted.svg +3 -0
- assets/js/admin-metabox.js +29 -0
- assets/js/admin-metabox.min.js +1 -0
- googleanalytics.php +2 -2
- includes/admin/admin.php +630 -630
- includes/admin/common.php +964 -964
- includes/admin/exclude-page-metabox.php +93 -41
- includes/admin/notifications/notification-bounce-rate.php +2 -2
- includes/admin/notifications/notification-dual-tracking.php +10 -5
- includes/admin/wp-site-health.php +51 -0
- includes/auth.php +4 -4
- includes/frontend/tracking/class-tracking-gtag.php +5 -5
- includes/gutenberg/headline-tool/headline-tool.php +992 -992
- includes/gutenberg/register-scripts.php +13 -1
- includes/helpers.php +777 -690
- includes/options.php +554 -537
- languages/google-analytics-for-wordpress.pot +1427 -1362
assets/css/admin-metabox.css
CHANGED
@@ -47,3 +47,109 @@
|
|
47 |
text-decoration: underline;
|
48 |
display: block;
|
49 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
text-decoration: underline;
|
48 |
display: block;
|
49 |
}
|
50 |
+
/*
|
51 |
+
***************************
|
52 |
+
** Page Insights in Meta **
|
53 |
+
***************************
|
54 |
+
*/
|
55 |
+
|
56 |
+
#monsterinsights-metabox-page-insights{
|
57 |
+
margin-top: 24px;
|
58 |
+
}
|
59 |
+
#monsterinsights_hide_page_insights{
|
60 |
+
margin-top: 8px;
|
61 |
+
}
|
62 |
+
#monsterinsights-page-insights-content{
|
63 |
+
display: none;
|
64 |
+
}
|
65 |
+
#monsterinsights-page-insights-content.active{
|
66 |
+
display: block;
|
67 |
+
}
|
68 |
+
.monsterinsights-page-insights__tabs{
|
69 |
+
display: grid;
|
70 |
+
grid-template-columns: 1fr 1fr;
|
71 |
+
}
|
72 |
+
.monsterinsights-page-insights__tabs-tab{
|
73 |
+
padding: 4px;
|
74 |
+
color: var(--wp-admin-theme-color);
|
75 |
+
font-style: normal;
|
76 |
+
font-weight: 400;
|
77 |
+
font-size: 13px;
|
78 |
+
line-height: 16px;
|
79 |
+
border-left: 1px solid transparent;
|
80 |
+
border-right: 1px solid transparent;
|
81 |
+
border-top: 1px solid transparent;
|
82 |
+
border-bottom: 1px solid #C4C4C4;
|
83 |
+
text-decoration: none;
|
84 |
+
text-align: center;
|
85 |
+
transition: 0.3s all ease-in-out;
|
86 |
+
}
|
87 |
+
.monsterinsights-page-insights__tabs-tab.active,
|
88 |
+
.monsterinsights-page-insights__tabs-tab:focus{
|
89 |
+
color: #2C3338;
|
90 |
+
border-left: 1px solid #C4C4C4;
|
91 |
+
border-right: 1px solid #C4C4C4;
|
92 |
+
border-top: 1px solid #C4C4C4;
|
93 |
+
border-bottom: 1px solid transparent;
|
94 |
+
}
|
95 |
+
.monsterinsights-page-insights__tabs-tab:focus{
|
96 |
+
outline: none;
|
97 |
+
-webkit-box-shadow: none;
|
98 |
+
box-shadow: none;
|
99 |
+
}
|
100 |
+
.monsterinsights-page-insights-tabs-content{
|
101 |
+
border-left: 1px solid #C4C4C4;
|
102 |
+
border-right: 1px solid #C4C4C4;
|
103 |
+
border-bottom: 1px solid #C4C4C4;
|
104 |
+
}
|
105 |
+
.monsterinsights-page-insights-tabs-content__tab{
|
106 |
+
display: none;
|
107 |
+
transition: 0.3s all ease-in-out;
|
108 |
+
}
|
109 |
+
.monsterinsights-page-insights-tabs-content__tab.active{
|
110 |
+
display: block;
|
111 |
+
}
|
112 |
+
.monsterinsights-page-insights-tabs-content__tab-items{
|
113 |
+
display: grid;
|
114 |
+
grid-template-columns: 1fr 1fr;
|
115 |
+
padding: 15px;
|
116 |
+
}
|
117 |
+
.monsterinsights-page-insights-tabs-content__tab-item{
|
118 |
+
padding: 16px;
|
119 |
+
}
|
120 |
+
.monsterinsights-page-insights-tabs-content__tab-item__result{
|
121 |
+
font-style: normal;
|
122 |
+
font-weight: 500;
|
123 |
+
font-size: 20px;
|
124 |
+
line-height: 24px;
|
125 |
+
color: #3C434A;
|
126 |
+
position: relative;
|
127 |
+
}
|
128 |
+
.lite .monsterinsights-page-insights-tabs-content__tab-item__result span{
|
129 |
+
filter: blur(3px);
|
130 |
+
}
|
131 |
+
.lite .monsterinsights-page-insights-tabs-content__tab-item__result:after{
|
132 |
+
content: '';
|
133 |
+
width: 10px;
|
134 |
+
height: 14px;
|
135 |
+
background: url("../images/restricted.svg") no-repeat center center;
|
136 |
+
position: absolute;
|
137 |
+
left: calc(40% - 5px);
|
138 |
+
top: calc(50% - 7px);
|
139 |
+
}
|
140 |
+
.monsterinsights-page-insights-tabs-content__tab-item__title{
|
141 |
+
font-style: normal;
|
142 |
+
font-weight: 400;
|
143 |
+
font-size: 12px;
|
144 |
+
line-height: 14px;
|
145 |
+
color: #7D7D7D;
|
146 |
+
margin-top: 4px;
|
147 |
+
}
|
148 |
+
.monsterinsights-insights-draft{
|
149 |
+
font-size: 12px;
|
150 |
+
font-style: normal;
|
151 |
+
padding: 16px;
|
152 |
+
border: 1px solid #C4C4C4;
|
153 |
+
margin-top: 8px;
|
154 |
+
color: rgb(117, 117, 117);
|
155 |
+
}
|
assets/css/admin-metabox.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.monsterinsights-metabox-input-checkbox{margin-top:15px}.monsterinsights-metabox-input-checkbox input[disabled]{cursor:not-allowed}.monsterinsights-metabox-helper{font-size:12px;line-height:120%;color:#7D7D7D;margin-top:16.5px}.monsterinsights-metabox-pro-badge{margin-top:15px;padding:15px;background:#EAFAEE;border:1px solid #46BF40;display:flex;position:relative;line-height:100%}.monsterinsights-metabox-pro-badge span{color:#31862D;font-weight:bold;font-size:13px;line-height:100%;letter-spacing:-0.02em;padding-left:20px}.monsterinsights-metabox-pro-badge span svg{position:absolute;left:15px}.monsterinsights-metabox-pro-badge .monsterinsights-metabox-pro-badge-upgrade{text-align:right;flex:1}.monsterinsights-metabox-pro-badge .monsterinsights-metabox-pro-badge-upgrade a{font-size:13px;color:#31862D;text-decoration:underline;display:block}
|
1 |
+
.monsterinsights-metabox-input-checkbox{margin-top:15px}.monsterinsights-metabox-input-checkbox input[disabled]{cursor:not-allowed}.monsterinsights-metabox-helper{font-size:12px;line-height:120%;color:#7D7D7D;margin-top:16.5px}.monsterinsights-metabox-pro-badge{margin-top:15px;padding:15px;background:#EAFAEE;border:1px solid #46BF40;display:flex;position:relative;line-height:100%}.monsterinsights-metabox-pro-badge span{color:#31862D;font-weight:bold;font-size:13px;line-height:100%;letter-spacing:-0.02em;padding-left:20px}.monsterinsights-metabox-pro-badge span svg{position:absolute;left:15px}.monsterinsights-metabox-pro-badge .monsterinsights-metabox-pro-badge-upgrade{text-align:right;flex:1}.monsterinsights-metabox-pro-badge .monsterinsights-metabox-pro-badge-upgrade a{font-size:13px;color:#31862D;text-decoration:underline;display:block}#monsterinsights-metabox-page-insights{margin-top:24px}#monsterinsights_hide_page_insights{margin-top:8px}#monsterinsights-page-insights-content{display:none}#monsterinsights-page-insights-content.active{display:block}.monsterinsights-page-insights__tabs{display:grid;grid-template-columns:1fr 1fr}.monsterinsights-page-insights__tabs-tab{padding:4px;font-style:normal;font-weight:400;font-size:13px;line-height:16px;border-left:1px solid transparent;border-right:1px solid transparent;border-top:1px solid transparent;border-bottom:1px solid #C4C4C4;text-decoration:none;text-align:center;transition:0.3s all ease-in-out}.monsterinsights-page-insights__tabs-tab.active,.monsterinsights-page-insights__tabs-tab:focus{color:#2C3338;border-left:1px solid #C4C4C4;border-right:1px solid #C4C4C4;border-top:1px solid #C4C4C4;border-bottom:1px solid transparent}.monsterinsights-page-insights__tabs-tab:focus{outline:none;-webkit-box-shadow:none;box-shadow:none}.monsterinsights-page-insights-tabs-content{border-left:1px solid #C4C4C4;border-right:1px solid #C4C4C4;border-bottom:1px solid #C4C4C4}.monsterinsights-page-insights-tabs-content__tab{display:none;transition:0.3s all ease-in-out}.monsterinsights-page-insights-tabs-content__tab.active{display:block}.monsterinsights-page-insights-tabs-content__tab-items{display:grid;grid-template-columns:1fr 1fr;padding:15px}.monsterinsights-page-insights-tabs-content__tab-item{padding:16px}.monsterinsights-page-insights-tabs-content__tab-item__result{font-style:normal;font-weight:500;font-size:20px;line-height:24px;color:#3C434A;position:relative}.lite .monsterinsights-page-insights-tabs-content__tab-item__result span{filter:blur(3px)}.lite .monsterinsights-page-insights-tabs-content__tab-item__result:after{content:'';width:10px;height:14px;background:url("../images/restricted.svg") no-repeat center center;position:absolute;left:calc(40% - 5px);top:calc(50% - 7px)}.monsterinsights-page-insights-tabs-content__tab-item__title{font-style:normal;font-weight:400;font-size:12px;line-height:14px;color:#7D7D7D;margin-top:4px}.monsterinsights-insights-draft{font-size:12px;font-style:normal;padding:16px;border:1px solid #C4C4C4;margin-top:8px;color:rgb(117, 117, 117)}
|
assets/gutenberg/js/editor.min.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
-
!function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=
|
2 |
Copyright (c) 2018 Jed Watson.
|
3 |
Licensed under the MIT License (MIT), see
|
4 |
http://jedwatson.github.io/classnames
|
5 |
*/
|
6 |
-
!function(){"use strict";function n(){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=n.apply(null,r);a&&e.push(a)}}else if("object"===i)if(r.toString===Object.prototype.toString)for(var s in r)o.call(r,s)&&r[s]&&e.push(s);else e.push(r.toString())}}return e.join(" ")}var o={}.hasOwnProperty;void 0!==e&&e.exports?(n.default=n,e.exports=n):(r=[],void 0!==(i=function(){return n}.apply(t,r))&&(e.exports=i))}()},function(e,t,n){var r=n(5),i=n(0),o=n(30),a=n(10),s=n(9),l=function(e,t,n){var c,u,d,p=e&l.F,h=e&l.G,m=e&l.S,f=e&l.P,g=e&l.B,w=e&l.W,v=h?i:i[t]||(i[t]={}),y=v.prototype,b=h?r:m?r[t]:(r[t]||{}).prototype;h&&(n=t);for(c in n)(u=!p&&b&&void 0!==b[c])&&s(v,c)||(d=u?b[c]:n[c],v[c]=h&&"function"!=typeof b[c]?n[c]:g&&u?o(d,r):w&&b[c]==d?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(d):f&&"function"==typeof d?o(Function.call,d):d,f&&((v.virtual||(v.virtual={}))[c]=d,e&l.R&&y&&!y[c]&&a(y,c,d)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){var r=n(8),i=n(47),o=n(31),a=Object.defineProperty;t.f=n(7)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){e.exports=!n(12)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(11);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(6),i=n(15);e.exports=n(7)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){e.exports={}},function(e,t,n){var r=n(51),i=n(29);e.exports=function(e){return r(i(e))}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(29);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";var r={};r.headline=wp.element.createElement("svg",{width:"15",height:"14",viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.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:"white"})),r.headlineBlack=wp.element.createElement("svg",{width:"15",height:"14",viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.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"})),r.warning=wp.element.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M16 8C16 6.58065 15.6129 5.22581 14.9032 4C14.1935 2.77419 13.2258 1.80645 12 1.09677C10.7742 0.387097 9.41936 0 8 0C6.54839 0 5.22581 0.387097 4 1.09677C2.77419 1.80645 1.77419 2.77419 1.06452 4C0.354839 5.22581 0 6.58065 0 8C0 9.45161 0.354839 10.7742 1.06452 12C1.77419 13.2258 2.77419 14.2258 4 14.9355C5.22581 15.6452 6.54839 16 8 16C9.41936 16 10.7742 15.6452 12 14.9355C13.2258 14.2258 14.1935 13.2258 14.9032 12C15.6129 10.7742 16 9.45161 16 8ZM8 9.6129C8.3871 9.6129 8.74194 9.77419 9.03226 10.0645C9.32258 10.3548 9.48387 10.7097 9.48387 11.0968C9.48387 11.5161 9.32258 11.871 9.03226 12.1613C8.74194 12.4516 8.3871 12.5806 8 12.5806C7.58065 12.5806 7.22581 12.4516 6.93548 12.1613C6.64516 11.871 6.51613 11.5161 6.51613 11.0968C6.51613 10.7097 6.64516 10.3548 6.93548 10.0645C7.22581 9.77419 7.58065 9.6129 8 9.6129ZM6.58065 4.29032C6.58065 4.16129 6.6129 4.06452 6.67742 4C6.74194 3.93548 6.83871 3.87097 6.96774 3.87097H9.03226C9.12903 3.87097 9.22581 3.93548 9.29032 4C9.35484 4.06452 9.41936 4.16129 9.41936 4.29032L9.16129 8.67742C9.16129 8.77419 9.09677 8.87097 9.03226 8.93548C8.96774 9 8.87097 9.03226 8.77419 9.03226H7.22581C7.09677 9.03226 7 9 6.93548 8.93548C6.87097 8.87097 6.83871 8.77419 6.83871 8.67742L6.58065 4.29032Z",fill:"#F2994A"})),r.smile=wp.element.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M2.32258 2.35484C3.89247 0.784946 5.78495 0 8 0C10.2151 0 12.0968 0.784946 13.6452 2.35484C15.2151 3.90323 16 5.78495 16 8C16 10.2151 15.2151 12.1075 13.6452 13.6774C12.0968 15.2258 10.2151 16 8 16C5.78495 16 3.89247 15.2258 2.32258 13.6774C0.774194 12.1075 0 10.2151 0 8C0 5.78495 0.774194 3.90323 2.32258 2.35484ZM11.2903 5.74194C11.0968 5.52688 10.8602 5.41935 10.5806 5.41935C10.3011 5.41935 10.0538 5.52688 9.83871 5.74194C9.64516 5.93548 9.54839 6.17204 9.54839 6.45161C9.54839 6.73118 9.64516 6.97849 9.83871 7.19355C10.0538 7.3871 10.3011 7.48387 10.5806 7.48387C10.8602 7.48387 11.0968 7.3871 11.2903 7.19355C11.5054 6.97849 11.6129 6.73118 11.6129 6.45161C11.6129 6.17204 11.5054 5.93548 11.2903 5.74194ZM6.12903 5.74194C5.93548 5.52688 5.69892 5.41935 5.41935 5.41935C5.13978 5.41935 4.89247 5.52688 4.67742 5.74194C4.48387 5.93548 4.3871 6.17204 4.3871 6.45161C4.3871 6.73118 4.48387 6.97849 4.67742 7.19355C4.89247 7.3871 5.13978 7.48387 5.41935 7.48387C5.69892 7.48387 5.93548 7.3871 6.12903 7.19355C6.34409 6.97849 6.45161 6.73118 6.45161 6.45161C6.45161 6.17204 6.34409 5.93548 6.12903 5.74194ZM11.7097 10.9032C11.7957 10.8172 11.8387 10.7204 11.8387 10.6129C11.8387 10.4839 11.8065 10.3871 11.7419 10.3226C11.6774 10.2366 11.5914 10.172 11.4839 10.129C11.3978 10.0645 11.3011 10.043 11.1935 10.0645C11.086 10.086 10.9892 10.1505 10.9032 10.2581C10.1505 11.1613 9.1828 11.6129 8 11.6129C6.8172 11.6129 5.84946 11.1613 5.09677 10.2581C5.01075 10.1505 4.91398 10.086 4.80645 10.0645C4.69892 10.043 4.5914 10.0645 4.48387 10.129C4.39785 10.172 4.32258 10.2366 4.25806 10.3226C4.19355 10.3871 4.16129 10.4839 4.16129 10.6129C4.16129 10.7204 4.2043 10.8172 4.29032 10.9032C5.25806 12.0645 6.49462 12.6452 8 12.6452C9.50538 12.6452 10.7419 12.0645 11.7097 10.9032Z",fill:"#1EC185"})),r.neutral=wp.element.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M2.32258 2.35484C3.89247 0.784946 5.78495 0 8 0C10.2151 0 12.0968 0.784946 13.6452 2.35484C15.2151 3.90323 16 5.78495 16 8C16 10.2151 15.2151 12.1075 13.6452 13.6774C12.0968 15.2258 10.2151 16 8 16C5.78495 16 3.89247 15.2258 2.32258 13.6774C0.774194 12.1075 0 10.2151 0 8C0 5.78495 0.774194 3.90323 2.32258 2.35484ZM6.12903 5.74194C5.93548 5.52688 5.69892 5.41935 5.41935 5.41935C5.13978 5.41935 4.89247 5.52688 4.67742 5.74194C4.48387 5.93548 4.3871 6.17204 4.3871 6.45161C4.3871 6.73118 4.48387 6.97849 4.67742 7.19355C4.89247 7.3871 5.13978 7.48387 5.41935 7.48387C5.69892 7.48387 5.93548 7.3871 6.12903 7.19355C6.34409 6.97849 6.45161 6.73118 6.45161 6.45161C6.45161 6.17204 6.34409 5.93548 6.12903 5.74194ZM11.0968 11.6129C11.4409 11.6129 11.6129 11.4409 11.6129 11.0968C11.6129 10.7527 11.4409 10.5806 11.0968 10.5806H4.90323C4.55914 10.5806 4.3871 10.7527 4.3871 11.0968C4.3871 11.4409 4.55914 11.6129 4.90323 11.6129H11.0968ZM9.83871 7.19355C10.0538 7.3871 10.3011 7.48387 10.5806 7.48387C10.8602 7.48387 11.0968 7.3871 11.2903 7.19355C11.5054 6.97849 11.6129 6.73118 11.6129 6.45161C11.6129 6.17204 11.5054 5.93548 11.2903 5.74194C11.0968 5.52688 10.8602 5.41935 10.5806 5.41935C10.3011 5.41935 10.0538 5.52688 9.83871 5.74194C9.64516 5.93548 9.54839 6.17204 9.54839 6.45161C9.54839 6.73118 9.64516 6.97849 9.83871 7.19355Z",fill:"#626D83"})),r.negative=wp.element.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M2.32258 2.35484C3.89247 0.784946 5.78495 0 8 0C10.2151 0 12.0968 0.784946 13.6452 2.35484C15.2151 3.90323 16 5.78495 16 8C16 10.2151 15.2151 12.1075 13.6452 13.6774C12.0968 15.2258 10.2151 16 8 16C5.78495 16 3.89247 15.2258 2.32258 13.6774C0.774194 12.1075 0 10.2151 0 8C0 5.78495 0.774194 3.90323 2.32258 2.35484ZM4.3871 7.48387C4.3871 7.76344 4.48387 8.01075 4.67742 8.22581C4.89247 8.41935 5.13978 8.51613 5.41935 8.51613C5.69892 8.51613 5.93548 8.41935 6.12903 8.22581C6.34409 8.01075 6.45161 7.76344 6.45161 7.48387C6.45161 7.44086 6.43011 7.35484 6.3871 7.22581C6.4086 7.22581 6.41935 7.22581 6.41935 7.22581C6.44086 7.22581 6.45161 7.22581 6.45161 7.22581C6.70968 7.22581 6.87097 7.10753 6.93548 6.87097C6.95699 6.78495 6.96774 6.70968 6.96774 6.64516C6.96774 6.58065 6.94624 6.52688 6.90323 6.48387C6.88172 6.41935 6.83871 6.36559 6.77419 6.32258C6.73118 6.27957 6.67742 6.24731 6.6129 6.22581L4.03226 5.45161C3.88172 5.4086 3.74194 5.41935 3.6129 5.48387C3.50538 5.54839 3.43011 5.64516 3.3871 5.77419C3.36559 5.86021 3.35484 5.93548 3.35484 6C3.37634 6.06452 3.39785 6.12903 3.41935 6.19355C3.44086 6.23656 3.47312 6.27957 3.51613 6.32258C3.58065 6.36559 3.65591 6.39785 3.74194 6.41935L4.70968 6.74194C4.49462 6.93548 4.3871 7.1828 4.3871 7.48387ZM9.80645 12.4516C9.93548 12.6237 10.0968 12.6882 10.2903 12.6452C10.4839 12.6021 10.6129 12.4946 10.6774 12.3226C10.7419 12.1505 10.7097 11.9785 10.5806 11.8065C9.91398 10.9892 9.05376 10.5806 8 10.5806C6.94624 10.5806 6.07527 10.9892 5.3871 11.8065C5.34409 11.871 5.31183 11.9462 5.29032 12.0323C5.26882 12.1183 5.26882 12.1935 5.29032 12.2581C5.31183 12.3226 5.34409 12.3871 5.3871 12.4516C5.43011 12.5161 5.48387 12.5699 5.54839 12.6129C5.6129 12.6344 5.67742 12.6559 5.74194 12.6774C5.82796 12.6774 5.90323 12.6667 5.96774 12.6452C6.05376 12.6021 6.12903 12.5376 6.19355 12.4516C6.64516 11.914 7.24731 11.6452 8 11.6452C8.75269 11.6452 9.35484 11.914 9.80645 12.4516ZM12.2903 6.41935C12.4194 6.37634 12.5161 6.30107 12.5806 6.19355C12.6452 6.06452 12.6559 5.92473 12.6129 5.77419C12.5914 5.68817 12.5484 5.6129 12.4839 5.54839C12.4194 5.48387 12.3441 5.45161 12.2581 5.45161C12.172 5.43011 12.086 5.43011 12 5.45161L9.41935 6.22581C9.26882 6.26882 9.16129 6.35484 9.09677 6.48387C9.03226 6.5914 9.02151 6.72043 9.06452 6.87097C9.12903 7.10753 9.29032 7.22581 9.54839 7.22581C9.56989 7.22581 9.5914 7.22581 9.6129 7.22581C9.56989 7.33333 9.54839 7.41935 9.54839 7.48387C9.54839 7.76344 9.64516 8.01075 9.83871 8.22581C10.0538 8.41935 10.3011 8.51613 10.5806 8.51613C10.8602 8.51613 11.0968 8.41935 11.2903 8.22581C11.5054 8.01075 11.6129 7.76344 11.6129 7.48387C11.6129 7.1828 11.5054 6.93548 11.2903 6.74194L12.2903 6.41935Z",fill:"#626D83"})),r.check=wp.element.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M13.6452 2.35484C15.2151 3.90323 16 5.78495 16 8C16 10.2151 15.2151 12.1075 13.6452 13.6774C12.0968 15.2258 10.2151 16 8 16C5.78495 16 3.89247 15.2258 2.32258 13.6774C0.774194 12.1075 0 10.2151 0 8C0 5.78495 0.774194 3.90323 2.32258 2.35484C3.89247 0.784946 5.78495 0 8 0C10.2151 0 12.0968 0.784946 13.6452 2.35484ZM7.06452 12.2258L13 6.29032C13.2581 6.05376 13.2581 5.8172 13 5.58065L12.2903 4.83871C12.0323 4.60215 11.7849 4.60215 11.5484 4.83871L6.70968 9.67742L4.45161 7.41935C4.21505 7.1828 3.96774 7.1828 3.70968 7.41935L3 8.16129C2.74194 8.39785 2.74194 8.63441 3 8.87097L6.35484 12.2258C6.5914 12.4839 6.82796 12.4839 7.06452 12.2258Z",fill:"#1EC185"})),t.a=r},function(e,t){e.exports=lodash},function(e,t,n){"use strict";var r=n(87)(!0);n(46)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t){e.exports=!0},function(e,t,n){var r=n(50),i=n(36);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){"use strict";t.__esModule=!0;var r=n(99),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=i.default||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}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){"use strict";var r=wp.element.Fragment,i=function(e){var t=e.barScore,n=e.width?e.width+"px":"80px",i=t>50?0:180-3.6*t,o=e.barColor;return wp.element.createElement(r,null,wp.element.createElement("div",{className:"monsterinsights-donut-container",style:{flexDirection:"column"}},wp.element.createElement("div",{className:"monsterinsights-donut",style:{width:n,paddingBottom:n,backgroundColor:"#f2f2f2"}},wp.element.createElement("div",{className:"monsterinsights-donut-sections",style:{transform:"rotate(0deg)"}},wp.element.createElement("div",{className:"monsterinsights-donut-section monsterinsights-donut-section-right",style:{transform:"rotate(0deg)"}},wp.element.createElement("div",{className:"monsterinsights-donut-filler",style:{backgroundColor:o,transform:"rotate(-"+i+"deg)"}})),function(){if(t>50){var e=180+360*(t-50)/100;return wp.element.createElement("div",{className:"monsterinsights-donut-section monsterinsights-donut-section-left",style:{transform:"rotate(0deg)"}},wp.element.createElement("div",{className:"monsterinsights-donut-filler",style:{backgroundColor:o,transform:"rotate("+e+"deg)"}}))}}()),wp.element.createElement("div",{className:"monsterinsights-donut-overlay",style:{height:"70%",width:"70%",top:"calc(15%)",left:"calc(15%)",backgroundColor:"rgb(255, 255, 255)"}}))))};t.a=i},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.a=r},function(e,t,n){"use strict";var r=(n(26),n(44),n(69)),i=(n.n(r),n(18));n.n(i);n.o(r,"cloneElement")&&n.d(t,"d",function(){return r.cloneElement}),n.o(r,"Component")&&n.d(t,"a",function(){return r.Component}),n.o(r,"createContext")&&n.d(t,"e",function(){return r.createContext}),n.o(r,"createElement")&&n.d(t,"f",function(){return r.createElement}),n.o(r,"forwardRef")&&n.d(t,"g",function(){return r.forwardRef}),n.o(r,"Fragment")&&n.d(t,"b",function(){return r.Fragment}),n.o(r,"isValidElement")&&n.d(t,"h",function(){return r.isValidElement}),n.o(r,"StrictMode")&&n.d(t,"c",function(){return r.StrictMode})},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(88);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(11);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var r=n(8),i=n(90),o=n(36),a=n(34)("IE_PROTO"),s=function(){},l=function(){var e,t=n(48)("iframe"),r=o.length;for(t.style.display="none",n(93).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;r--;)delete l.prototype[o[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[a]=e):n=l(),void 0===t?n:i(n,t)}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(35)("keys"),i=n(22);e.exports=function(e){return r[e]||(r[e]=i(e))}},function(e,t,n){var r=n(0),i=n(5),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(20)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(6).f,i=n(9),o=n(2)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(103),o=r(i),a=n(109),s=r(a);t.default=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,l=(0,s.default)(e);!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&l.return&&l.return()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if((0,o.default)(Object(t)))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},function(e,t,n){n(105);for(var r=n(5),i=n(10),o=n(13),a=n(2)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var c=s[l],u=r[c],d=u&&u.prototype;d&&!d[a]&&i(d,a,c),o[c]=o.Array}},function(e,t,n){t.f=n(2)},function(e,t,n){var r=n(5),i=n(0),o=n(20),a=n(41),s=n(6).f;e.exports=function(e){var t=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t,n){"use strict";function r(e){return"string"!=typeof e||""===e?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(e)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(e)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)}t.a=r},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o=Object(i.a)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}t.a=r;var i=n(213)},function(e,t,n){"use strict";t.__esModule=!0;var r=n(85),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return(0,i.default)(e)}},function(e,t,n){"use strict";var r=n(20),i=n(4),o=n(49),a=n(10),s=n(13),l=n(89),c=n(37),u=n(53),d=n(2)("iterator"),p=!([].keys&&"next"in[].keys()),h=function(){return this};e.exports=function(e,t,n,m,f,g,w){l(n,t,m);var v,y,b,S=function(e){if(!p&&e in x)return x[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},E=t+" Iterator",C="values"==f,_=!1,x=e.prototype,k=x[d]||x["@@iterator"]||f&&x[f],O=k||S(f),T=f?C?S("entries"):O:void 0,M="Array"==t?x.entries||k:k;if(M&&(b=u(M.call(new e)))!==Object.prototype&&b.next&&(c(b,E,!0),r||"function"==typeof b[d]||a(b,d,h)),C&&k&&"values"!==k.name&&(_=!0,O=function(){return k.call(this)}),r&&!w||!p&&!_&&x[d]||a(x,d,O),s[t]=O,s[E]=h,f)if(v={values:C?O:S("values"),keys:g?O:S("keys"),entries:T},w)for(y in v)y in x||o(x,y,v[y]);else i(i.P+i.F*(p||_),t,v);return v}},function(e,t,n){e.exports=!n(7)&&!n(12)(function(){return 7!=Object.defineProperty(n(48)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(11),i=n(5).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,n){e.exports=n(10)},function(e,t,n){var r=n(9),i=n(14),o=n(91)(!1),a=n(34)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),l=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~o(c,n)||c.push(n));return c}},function(e,t,n){var r=n(33);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(28),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){var r=n(9),i=n(16),o=n(34)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){var r=n(55),i=n(2)("iterator"),o=n(13);e.exports=n(0).getIteratorMethod=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||o[r(e)]}},function(e,t,n){var r=n(33),i=n(2)("toStringTag"),o="Arguments"==r(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=a(t=Object(e),i))?n:o?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t,n){e.exports=n(112)},function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},function(e,t,n){"use strict";function r(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var i=n(1);e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(i.isURLSearchParams(t))o=t.toString();else{var a=[];i.forEach(t,function(e,t){null!==e&&void 0!==e&&(i.isArray(e)?t+="[]":e=[e],i.forEach(e,function(e){i.isDate(e)?e=e.toISOString():i.isObject(e)&&(e=JSON.stringify(e)),a.push(r(t)+"="+r(e))}))}),o=a.join("&")}if(o){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,n){"use strict";(function(t){function r(e,t){!i.isUndefined(e)&&i.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var i=n(1),o=n(118),a={"Content-Type":"application/x-www-form-urlencoded"},s={adapter:function(){var e;return"undefined"!=typeof XMLHttpRequest?e=n(61):void 0!==t&&"[object process]"===Object.prototype.toString.call(t)&&(e=n(61)),e}(),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),i.isFormData(e)||i.isArrayBuffer(e)||i.isBuffer(e)||i.isStream(e)||i.isFile(e)||i.isBlob(e)?e:i.isArrayBufferView(e)?e.buffer:i.isURLSearchParams(e)?(r(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):i.isObject(e)?(r(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300}};s.headers={common:{Accept:"application/json, text/plain, */*"}},i.forEach(["delete","get","head"],function(e){s.headers[e]={}}),i.forEach(["post","put","patch"],function(e){s.headers[e]=i.merge(a)}),e.exports=s}).call(t,n(117))},function(e,t,n){"use strict";var r=n(1),i=n(119),o=n(58),a=n(121),s=n(124),l=n(125),c=n(62);e.exports=function(e){return new Promise(function(t,u){var d=e.data,p=e.headers;r.isFormData(d)&&delete p["Content-Type"];var h=new XMLHttpRequest;if(e.auth){var m=e.auth.username||"",f=e.auth.password||"";p.Authorization="Basic "+btoa(m+":"+f)}var g=a(e.baseURL,e.url);if(h.open(e.method.toUpperCase(),o(g,e.params,e.paramsSerializer),!0),h.timeout=e.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?s(h.getAllResponseHeaders()):null,r=e.responseType&&"text"!==e.responseType?h.response:h.responseText,o={data:r,status:h.status,statusText:h.statusText,headers:n,config:e,request:h};i(t,u,o),h=null}},h.onabort=function(){h&&(u(c("Request aborted",e,"ECONNABORTED",h)),h=null)},h.onerror=function(){u(c("Network Error",e,null,h)),h=null},h.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),u(c(t,e,"ECONNABORTED",h)),h=null},r.isStandardBrowserEnv()){var w=n(126),v=(e.withCredentials||l(g))&&e.xsrfCookieName?w.read(e.xsrfCookieName):void 0;v&&(p[e.xsrfHeaderName]=v)}if("setRequestHeader"in h&&r.forEach(p,function(e,t){void 0===d&&"content-type"===t.toLowerCase()?delete p[t]:h.setRequestHeader(t,e)}),r.isUndefined(e.withCredentials)||(h.withCredentials=!!e.withCredentials),e.responseType)try{h.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&h.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){h&&(h.abort(),u(e),h=null)}),void 0===d&&(d=null),h.send(d)})}},function(e,t,n){"use strict";var r=n(120);e.exports=function(e,t,n,i,o){var a=new Error(e);return r(a,t,n,i,o)}},function(e,t,n){"use strict";var r=n(1);e.exports=function(e,t){t=t||{};var n={},i=["url","method","params","data"],o=["headers","auth","proxy"],a=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];r.forEach(i,function(e){void 0!==t[e]&&(n[e]=t[e])}),r.forEach(o,function(i){r.isObject(t[i])?n[i]=r.deepMerge(e[i],t[i]):void 0!==t[i]?n[i]=t[i]:r.isObject(e[i])?n[i]=r.deepMerge(e[i]):void 0!==e[i]&&(n[i]=e[i])}),r.forEach(a,function(r){void 0!==t[r]?n[r]=t[r]:void 0!==e[r]&&(n[r]=e[r])});var s=i.concat(o).concat(a),l=Object.keys(t).filter(function(e){return-1===s.indexOf(e)});return r.forEach(l,function(r){void 0!==t[r]?n[r]=t[r]:void 0!==e[r]&&(n[r]=e[r])}),n}},function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},function(e,t,n){"use strict";t.__esModule=!0;var r=n(66),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e,t,n){return t in e?(0,i.default)(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){e.exports={default:n(146),__esModule:!0}},function(e,t,n){e.exports=n(148)},function(e,t,n){"use strict";function r(e){var t=e.className,n=e.selected,o=e.help,p=e.onChange,h=e.options,m=void 0===h?[]:h,f=e.icons,g=void 0===f?[]:f,w=u(r),v="inspector-monsterinsights-popular-posts-theme-control-"+w,y=function(e){return p(e.target.value)},b=[],S=0,E=0,C=0;for(var _ in m)if(m.hasOwnProperty(_)){var x=m[_];void 0===b[S]&&(b[S]=[]),b[S][E]=x,x.value===n&&(C=S),3===E?(E=0,S++):E++}var k=function(){return wp.element.createElement("span",{className:"monsterinsights-theme-picker-check"},l.a.checkmark)},O=function(e){var t="monsterinsights-theme-picker-label-"+e.value;return e.value===n&&(t+=" monsterinsights-theme-picker-label-selected"),s.a.canaccess(e.level)||(t+=" monsterinsights-theme-picker-label-disabled"),t};return!Object(i.isEmpty)(m)&&wp.element.createElement(d,{id:v,help:o,className:a()(t,"monsterinsights-theme-picker")},wp.element.createElement(c.c,{naturalSlideWidth:250,totalSlides:b.length,className:"monsterinsights-theme-picker-carousel",currentSlide:C,dragEnabled:!1},wp.element.createElement(c.f,null,b.map(function(e,t){return wp.element.createElement(c.e,{className:"monsterinsights-theme-picker-slide",index:t,key:v+"-"+t},e.map(function(e,r){return wp.element.createElement("div",{key:v+"-"+t+"-"+r,className:"monsterinsights-slider-theme-option"},wp.element.createElement("input",{id:v+"-"+t+"-"+r,className:"monsterinsights-slider-theme-input",type:"radio",name:v,value:e.value,onChange:y,checked:e.value===n,"aria-describedby":o?v+"__help":void 0}),wp.element.createElement("label",{htmlFor:v+"-"+t+"-"+r,className:O(e)},e.value===n&&k(),wp.element.createElement("span",{className:"monsterinsights-theme-picker-label-icon"},g[e.value]?g[e.value]:""),wp.element.createElement("span",{className:"monsterinsights-theme-picker-label-text"},e.label)))}))})),function(){if(b.length>1)return wp.element.createElement("div",{className:"monsterinsights-carousel-navigation"},wp.element.createElement(c.a,null,l.a.chevronleft),wp.element.createElement(c.d,{className:"monsterinsights-carousel-navigation-dots"}),wp.element.createElement(c.b,null,l.a.chevronright))}()))}t.a=r;var i=n(18),o=(n.n(i),n(3)),a=n.n(o),s=n(151),l=n(152),c=n(153),u=wp.compose.useInstanceId,d=wp.components.BaseControl},function(e,t){e.exports=React},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(164),o=r(i),a=n(166),s=r(a),l="function"==typeof s.default&&"symbol"==typeof o.default?function(e){return typeof e}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":typeof e};t.default="function"==typeof s.default&&"symbol"===l(o.default)?function(e){return void 0===e?"undefined":l(e)}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":void 0===e?"undefined":l(e)}},function(e,t,n){var r=n(50),i=n(36).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){var r=n(24),i=n(15),o=n(14),a=n(31),s=n(9),l=n(47),c=Object.getOwnPropertyDescriptor;t.f=n(7)?c:function(e,t){if(e=o(e),t=a(t,!0),l)try{return c(e,t)}catch(e){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},function(e,t,n){"use strict";function r(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 i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){Object(o.a)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}n.d(t,"a",function(){return c});var o=n(26),a=n(188),s={"":{plural_forms:function(e){return 1===e?0:1}}},l=/^i18n\.(n?gettext|has_translation)(_|$)/,c=function(e,t,n){var r=new a.a({}),o=new Set,c=function(){o.forEach(function(e){return e()})},u=function(e){return o.add(e),function(){return o.delete(e)}},d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return r.data[e]},p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default";r.data[t]=i(i(i({},s),r.data[t]),e),r.data[t][""]=i(i({},s[""]),r.data[t][""])},h=function(e,t){p(e,t),c()},m=function(e,t){r.data={},r.pluralForms={},h(e,t)},f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;return r.data[e]||p(void 0,e),r.dcnpgettext(e,t,n,i,o)},g=function(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default"},w=function(e,t){var r=f(t,void 0,e);return n?(r=n.applyFilters("i18n.gettext",r,e,t),n.applyFilters("i18n.gettext_"+g(t),r,e,t)):r},v=function(e,t,r){var i=f(r,t,e);return n?(i=n.applyFilters("i18n.gettext_with_context",i,e,t,r),n.applyFilters("i18n.gettext_with_context_"+g(r),i,e,t,r)):i},y=function(e,t,r,i){var o=f(i,void 0,e,t,r);return n?(o=n.applyFilters("i18n.ngettext",o,e,t,r,i),n.applyFilters("i18n.ngettext_"+g(i),o,e,t,r,i)):o},b=function(e,t,r,i,o){var a=f(o,i,e,t,r);return n?(a=n.applyFilters("i18n.ngettext_with_context",a,e,t,r,i,o),n.applyFilters("i18n.ngettext_with_context_"+g(o),a,e,t,r,i,o)):a},S=function(){return"rtl"===v("ltr","text direction")},E=function(e,t,i){var o,a,s=t?t+""+e:e,l=!(null===(o=r.data)||void 0===o||null===(a=o[null!==i&&void 0!==i?i:"default"])||void 0===a||!a[s]);return n&&(l=n.applyFilters("i18n.has_translation",l,e,t,i),l=n.applyFilters("i18n.has_translation_"+g(i),l,e,t,i)),l};if(e&&h(e,t),n){var C=function(e){l.test(e)&&c()};n.addAction("hookAdded","core/i18n",C),n.addAction("hookRemoved","core/i18n",C)}return{getLocaleData:d,setLocaleData:h,resetLocaleData:m,subscribe:u,__:w,_x:v,_n:y,_nx:b,isRTL:S,hasTranslation:E}}},function(e,t,n){"use strict";function r(e){return"string"!=typeof e||""===e?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(e)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)}t.a=r},function(e,t,n){"use strict";function r(e){return Object(i.a)(e)||Object(o.a)(e)||Object(a.a)(e)||Object(s.a)()}t.a=r;var i=n(201),o=n(202),a=n(77),s=n(203)},function(e,t,n){"use strict";function r(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}t.a=r},function(e,t,n){"use strict";function r(e,t){if(e){if("string"==typeof e)return Object(i.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(i.a)(e,t):void 0}}t.a=r;var i=n(76)},function(e,t,n){"use strict";function r(e){"@babel/helpers - typeof";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)}t.a=r},function(e,t,n){"use strict";function r(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 i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){Object(a.a)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function o(e){var t=e.children,n=Object(s.a)(e,["children"]);return Object(l.f)("div",i({dangerouslySetInnerHTML:{__html:t}},n))}t.a=o;var a=n(26),s=n(44),l=n(27)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(81),i=(n.n(r),n(82)),o=(n.n(i),n(83),n(144),wp.i18n.setLocaleData);void 0!==window.monsterinsights_gutenberg_tool_vars.translations&&o(window.monsterinsights_gutenberg_tool_vars.translations,"google-analytics-for-wordpress")},function(e,t){},function(e,t){},function(e,t,n){"use strict";n(84),n(142)},function(e,t,n){"use strict";var r=n(45),i=n.n(r),o=n(23),a=n.n(o),s=n(39),l=n.n(s),c=n(17),u=n(56),d=n.n(u),p=n(129),h=n(133),m=n(134),f=n(136),g=n(137),w=n(138),v=n(139),y=n(140),b=n(141),S=wp.i18n.__,E=wp.element,C=E.Fragment,_=E.useState,x=E.useEffect,k=wp.plugins.registerPlugin,O=wp.editPost,T=O.PluginSidebar,M=O.PluginSidebarMoreMenuItem,N=wp.data.select,j=function(e){var t=N("core/editor").getEditedPostAttribute("title"),n=S("Headline Analyzer","google-analytics-for-wordpress"),r=S("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.","google-analytics-for-wordpress"),o=_({}),s=l()(o,2),u=s[0],E=s[1],k=document.querySelector(".components-button[aria-label='"+n+"'] svg"),O=void 0!==u.previousHeadlinesData?u.previousHeadlinesData:[],j=sprintf(S("This headline analyzer is part of MonsterInsights to help you increase your traffic. See your %1swebsite traffic reports%2s.","google-analytics-for-wordpress"),'<a href="'+monsterinsights_gutenberg_tool_vars.reports_url+'" className="monsterinsights-headline-analyzer-link">',"</a>"),P=document.querySelector(".monsterinsights-headline-analyzer-wrapper");if(k){var D=document.createElement("span");if(u.dataExist&&void 0!==u.currentHeadlineData.score){var F=u.currentHeadlineData.score,A=F<40?"red":F<=60?"orange":"green";k.parentNode.setAttribute("monsterinsights-button-color",A),k.nextElementSibling?k.nextElementSibling.innerHTML=F+"/100":(D.innerHTML=F+"/100",k.parentNode.insertBefore(D,k.nextSibling))}else k.parentNode.setAttribute("monsterinsights-button-color","red"),k.nextElementSibling?k.nextElementSibling.innerHTML="00/100":(D.innerHTML="00/100",k.parentNode.insertBefore(D,k.nextSibling))}if(P){var L=P.parentNode.querySelectorAll(".components-panel__header");L&&L.forEach(function(e){var t=e.querySelector('[aria-pressed="true"]');t&&null!==t&&null!==t.offsetParent&&(t.style.display="none")})}var B=function(e){E(a()({},u,e))};return x(function(){var e=new FormData;e.append("_ajax_nonce",monsterinsights_gutenberg_tool_vars.nonce),e.append("action","monsterinsights_gutenberg_headline_analyzer_get_results"),e.append("dataType","json"),e.append("q",t),d.a.post(monsterinsights_gutenberg_tool_vars.ajaxurl,e).then(function(e){var t={dataExist:!1};e.data.data.analysed&&(t.currentHeadlineData=e.data.data,t.headlineData=e.data.data,t.dataExist=!0,void 0!==u.headlineData&&(t.previousHeadlinesData=[u.headlineData].concat(i()(O)))),E(a()({},u,t))}).catch(function(e){var t={dataExist:!1};E(a()({},u,t)),console.log(e)})},[t]),wp.element.createElement(C,null,wp.element.createElement(M,{target:"monsterinsights-headline-analyzer"},n),wp.element.createElement(T,{name:"monsterinsights-headline-analyzer",title:n,className:"monsterinsights-headline-analyzer-wrapper",icon:c.a.headline},void 0!==u.headlineData&&u.dataExist&&u.headlineData.analysed?wp.element.createElement(p.a,{analyzer:u,setAnalyzer:B}):wp.element.createElement("p",{className:"monsterinsights-headline-analyzer-empty-title-warning"},r),void 0!==u.headlineData&&u.dataExist&&u.headlineData.analysed&&O.length>0?wp.element.createElement(h.a,{analyzer:u,setAnalyzer:B}):"",void 0!==u.headlineData&&u.dataExist&&u.headlineData.analysed?wp.element.createElement(m.a,{data:u.headlineData}):"",void 0!==u.headlineData&&u.dataExist&&u.headlineData.analysed?wp.element.createElement(f.a,{data:u.headlineData}):"",void 0!==u.headlineData&&u.dataExist&&u.headlineData.analysed?wp.element.createElement(g.a,{data:u.headlineData}):"",void 0!==u.headlineData&&u.dataExist&&u.headlineData.analysed?wp.element.createElement(w.a,{data:u.headlineData}):"",void 0!==u.headlineData&&u.dataExist&&u.headlineData.analysed?wp.element.createElement(v.a,{data:u.headlineData}):"",void 0!==u.headlineData&&u.dataExist&&u.headlineData.analysed?wp.element.createElement(y.a,{data:u.headlineData}):"",void 0!==u.headlineData&&u.dataExist&&u.headlineData.analysed?wp.element.createElement(b.a,{data:u.headlineData}):"",wp.element.createElement("div",{className:"monsterinsights-headline-analyzer-bottom-notice"},wp.element.createElement("p",{dangerouslySetInnerHTML:{__html:j}}))))};"undefined"!=typeof monsterinsights_gutenberg_tool_vars&&monsterinsights_gutenberg_tool_vars.allowed_post_types.includes(monsterinsights_gutenberg_tool_vars.current_post_type)&&monsterinsights_gutenberg_tool_vars.is_headline_analyzer_enabled&&k("monsterinsights-headline-analyzer",{icon:c.a.headlineBlack,render:j})},function(e,t,n){e.exports={default:n(86),__esModule:!0}},function(e,t,n){n(19),n(94),e.exports=n(0).Array.from},function(e,t,n){var r=n(28),i=n(29);e.exports=function(e){return function(t,n){var o,a,s=String(i(t)),l=r(n),c=s.length;return l<0||l>=c?e?"":void 0:(o=s.charCodeAt(l),o<55296||o>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){"use strict";var r=n(32),i=n(15),o=n(37),a={};n(10)(a,n(2)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},function(e,t,n){var r=n(6),i=n(8),o=n(21);e.exports=n(7)?Object.defineProperties:function(e,t){i(e);for(var n,a=o(t),s=a.length,l=0;s>l;)r.f(e,n=a[l++],t[n]);return e}},function(e,t,n){var r=n(14),i=n(52),o=n(92);e.exports=function(e){return function(t,n,a){var s,l=r(t),c=i(l.length),u=o(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},function(e,t,n){var r=n(28),i=Math.max,o=Math.min;e.exports=function(e,t){return e=r(e),e<0?i(e+t,0):o(e,t)}},function(e,t,n){var r=n(5).document;e.exports=r&&r.documentElement},function(e,t,n){"use strict";var r=n(30),i=n(4),o=n(16),a=n(95),s=n(96),l=n(52),c=n(97),u=n(54);i(i.S+i.F*!n(98)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,i,d,p=o(e),h="function"==typeof this?this:Array,m=arguments.length,f=m>1?arguments[1]:void 0,g=void 0!==f,w=0,v=u(p);if(g&&(f=r(f,m>2?arguments[2]:void 0,2)),void 0==v||h==Array&&s(v))for(t=l(p.length),n=new h(t);t>w;w++)c(n,w,g?f(p[w],w):p[w]);else for(d=v.call(p),n=new h;!(i=d.next()).done;w++)c(n,w,g?a(d,f,[i.value,w],!0):i.value);return n.length=w,n}})},function(e,t,n){var r=n(8);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&r(o.call(e)),t}}},function(e,t,n){var r=n(13),i=n(2)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}},function(e,t,n){"use strict";var r=n(6),i=n(15);e.exports=function(e,t,n){t in e?r.f(e,t,i(0,n)):e[t]=n}},function(e,t,n){var r=n(2)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o=[7],a=o[r]();a.next=function(){return{done:n=!0}},o[r]=function(){return a},e(o)}catch(e){}return n}},function(e,t,n){e.exports={default:n(100),__esModule:!0}},function(e,t,n){n(101),e.exports=n(0).Object.assign},function(e,t,n){var r=n(4);r(r.S+r.F,"Object",{assign:n(102)})},function(e,t,n){"use strict";var r=n(7),i=n(21),o=n(38),a=n(24),s=n(16),l=n(51),c=Object.assign;e.exports=!c||n(12)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=c({},e)[n]||Object.keys(c({},t)).join("")!=r})?function(e,t){for(var n=s(e),c=arguments.length,u=1,d=o.f,p=a.f;c>u;)for(var h,m=l(arguments[u++]),f=d?i(m).concat(d(m)):i(m),g=f.length,w=0;g>w;)h=f[w++],r&&!p.call(m,h)||(n[h]=m[h]);return n}:c},function(e,t,n){e.exports={default:n(104),__esModule:!0}},function(e,t,n){n(40),n(19),e.exports=n(108)},function(e,t,n){"use strict";var r=n(106),i=n(107),o=n(13),a=n(14);e.exports=n(46)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):"keys"==t?i(0,n):"values"==t?i(0,e[n]):i(0,[n,e[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){var r=n(55),i=n(2)("iterator"),o=n(13);e.exports=n(0).isIterable=function(e){var t=Object(e);return void 0!==t[i]||"@@iterator"in t||o.hasOwnProperty(r(t))}},function(e,t,n){e.exports={default:n(110),__esModule:!0}},function(e,t,n){n(40),n(19),e.exports=n(111)},function(e,t,n){var r=n(8),i=n(54);e.exports=n(0).getIterator=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return r(t.call(e))}},function(e,t,n){"use strict";function r(e){var t=new a(e),n=o(a.prototype.request,t);return i.extend(n,a.prototype,t),i.extend(n,t),n}var i=n(1),o=n(57),a=n(113),s=n(63),l=n(60),c=r(l);c.Axios=a,c.create=function(e){return r(s(c.defaults,e))},c.Cancel=n(64),c.CancelToken=n(127),c.isCancel=n(59),c.all=function(e){return Promise.all(e)},c.spread=n(128),e.exports=c,e.exports.default=c},function(e,t,n){"use strict";function r(e){this.defaults=e,this.interceptors={request:new a,response:new a}}var i=n(1),o=n(58),a=n(114),s=n(115),l=n(63);r.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{},e.url=arguments[0]):e=e||{},e=l(this.defaults,e),e.method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[s,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});t.length;)n=n.then(t.shift(),t.shift());return n},r.prototype.getUri=function(e){return e=l(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},i.forEach(["delete","get","head","options"],function(e){r.prototype[e]=function(t,n){return this.request(i.merge(n||{},{method:e,url:t}))}}),i.forEach(["post","put","patch"],function(e){r.prototype[e]=function(t,n,r){return this.request(i.merge(r||{},{method:e,url:t,data:n}))}}),e.exports=r},function(e,t,n){"use strict";function r(){this.handlers=[]}var i=n(1);r.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},r.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},r.prototype.forEach=function(e){i.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=r},function(e,t,n){"use strict";function r(e){e.cancelToken&&e.cancelToken.throwIfRequested()}var i=n(1),o=n(116),a=n(59),s=n(60);e.exports=function(e){return r(e),e.headers=e.headers||{},e.data=o(e.data,e.headers,e.transformRequest),e.headers=i.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),i.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||s.adapter)(e).then(function(t){return r(e),t.data=o(t.data,t.headers,e.transformResponse),t},function(t){return a(t)||(r(e),t&&t.response&&(t.response.data=o(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},function(e,t,n){"use strict";var r=n(1);e.exports=function(e,t,n){return r.forEach(n,function(n){e=n(e,t)}),e}},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(e){if(u===setTimeout)return setTimeout(e,0);if((u===n||!u)&&setTimeout)return u=setTimeout,setTimeout(e,0);try{return u(e,0)}catch(t){try{return u.call(null,e,0)}catch(t){return u.call(this,e,0)}}}function o(e){if(d===clearTimeout)return clearTimeout(e);if((d===r||!d)&&clearTimeout)return d=clearTimeout,clearTimeout(e);try{return d(e)}catch(t){try{return d.call(null,e)}catch(t){return d.call(this,e)}}}function a(){f&&h&&(f=!1,h.length?m=h.concat(m):g=-1,m.length&&s())}function s(){if(!f){var e=i(a);f=!0;for(var t=m.length;t;){for(h=m,m=[];++g<t;)h&&h[g].run();g=-1,t=m.length}h=null,f=!1,o(e)}}function l(e,t){this.fun=e,this.array=t}function c(){}var u,d,p=e.exports={};!function(){try{u="function"==typeof setTimeout?setTimeout:n}catch(e){u=n}try{d="function"==typeof clearTimeout?clearTimeout:r}catch(e){d=r}}();var h,m=[],f=!1,g=-1;p.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];m.push(new l(e,t)),1!==m.length||f||i(s)},l.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=c,p.addListener=c,p.once=c,p.off=c,p.removeListener=c,p.removeAllListeners=c,p.emit=c,p.prependListener=c,p.prependOnceListener=c,p.listeners=function(e){return[]},p.binding=function(e){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(e){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},function(e,t,n){"use strict";var r=n(1);e.exports=function(e,t){r.forEach(e,function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])})}},function(e,t,n){"use strict";var r=n(62);e.exports=function(e,t,n){var i=n.config.validateStatus;!i||i(n.status)?e(n):t(r("Request failed with status code "+n.status,n.config,null,n.request,n))}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,i){return e.config=t,n&&(e.code=n),e.request=r,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},function(e,t,n){"use strict";var r=n(122),i=n(123);e.exports=function(e,t){return e&&!r(t)?i(e,t):t}},function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,n){"use strict";var r=n(1),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,o,a={};return e?(r.forEach(e.split("\n"),function(e){if(o=e.indexOf(":"),t=r.trim(e.substr(0,o)).toLowerCase(),n=r.trim(e.substr(o+1)),t){if(a[t]&&i.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}}),a):a}},function(e,t,n){"use strict";var r=n(1);e.exports=r.isStandardBrowserEnv()?function(){function e(e){var t=e;return n&&(i.setAttribute("href",t),t=i.href),i.setAttribute("href",t),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:"/"===i.pathname.charAt(0)?i.pathname:"/"+i.pathname}}var t,n=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");return t=e(window.location.href),function(n){var i=r.isString(n)?e(n):n;return i.protocol===t.protocol&&i.host===t.host}}():function(){return function(){return!0}}()},function(e,t,n){"use strict";var r=n(1);e.exports=r.isStandardBrowserEnv()?function(){return{write:function(e,t,n,i,o,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},function(e,t,n){"use strict";function r(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var n=this;e(function(e){n.reason||(n.reason=new i(e),t(n.reason))})}var i=n(64);r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var e;return{token:new r(function(t){e=t}),cancel:e}},e.exports=r},function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,n){"use strict";var r=n(39),i=n.n(r),o=n(3),a=n.n(o),s=n(130),l=n(131),c=n(132),u=wp.i18n.__,d=wp.element,p=d.Fragment,h=d.useState,m=d.useEffect,f=function(e){var t=u("Current Score","google-analytics-for-wordpress"),n=u("Try New Headline","google-analytics-for-wordpress"),r=h("current-score"),o=i()(r,2),d=o[0],f=o[1],g=function(){return f("current-score")},w=function(){return f("new-headline")},v=void 0!==e.analyzer.isNewData&&e.analyzer.isNewData;return m(function(){e.setAnalyzer({activeTab:d})},[d]),wp.element.createElement(p,null,wp.element.createElement("div",{className:"monsterinsights-inline-buttons"},wp.element.createElement("button",{onClick:g,className:a()("monsterinsights-switcher-button",{active:"current-score"===d})},t),wp.element.createElement("button",{onClick:w,className:a()("monsterinsights-switcher-button",{active:"new-headline"===d})},n)),"new-headline"===d?wp.element.createElement(l.a,{analyzer:e.analyzer,setAnalyzer:e.setAnalyzer}):wp.element.createElement(s.a,{analyzer:e.analyzer}),v?wp.element.createElement(c.a,{analyzer:e.analyzer}):"")};t.a=f},function(e,t,n){"use strict";var r=n(3),i=n.n(r),o=n(25),a=wp.i18n.__,s=wp.element.Fragment,l=wp.components,c=l.PanelBody,u=l.PanelRow,d=function(e){var t=e.analyzer.currentHeadlineData.sentence,n=a("Score","google-analytics-for-wordpress"),r=a("A good score is between 40 and 60. For best results, you should strive for 70 and above.","google-analytics-for-wordpress"),l=e.analyzer.currentHeadlineData.score,d=l<40?"red":l<=60?"orange":"green",p="red"===d?"#EB5757":"orange"===d?"#F2994A":"#1EC185";return wp.element.createElement(s,null,wp.element.createElement(c,{title:n},wp.element.createElement(u,null,wp.element.createElement("div",{className:"monsterinsights-headline-analyzer-current-score-tab"},wp.element.createElement("h4",{className:"monsterinsights-headline-analyzer-current-title"},"“",t,"”"),wp.element.createElement("div",{className:"monsterinsights-headline-analyzer-pie-chart-container"},wp.element.createElement("span",{className:i()("monsterinsights-headline-analyzer-current-score",d)},l),wp.element.createElement(o.a,{barScore:l,barColor:p})),wp.element.createElement("p",null,r)))))};t.a=d},function(e,t,n){"use strict";var r=n(45),i=n.n(r),o=n(56),a=n.n(o),s=wp.i18n.__,l=wp.element.Fragment,c=wp.components,u=c.PanelBody,d=c.PanelRow,p=c.TextControl,h=c.Button,m=function(e){var t=s("Try New Headline","google-analytics-for-wordpress"),n=s("Enter a different headline than your post title to see how it compares.","google-analytics-for-wordpress"),r=s("Analyze","google-analytics-for-wordpress"),o=void 0!==e.analyzer.newHeadline?e.analyzer.newHeadline:"",c=void 0!==e.analyzer.previousHeadlinesData?e.analyzer.previousHeadlinesData:[],m=!o,f=function(t){var n=t.trim();if(n){var r=new FormData;r.append("_ajax_nonce",monsterinsights_gutenberg_tool_vars.nonce),r.append("action","monsterinsights_gutenberg_headline_analyzer_get_results"),r.append("dataType","json"),r.append("q",n),a.a.post(monsterinsights_gutenberg_tool_vars.ajaxurl,r).then(function(t){e.setAnalyzer({newHeadlineData:t.data.data,headlineData:t.data.data,previousHeadlinesData:[e.analyzer.headlineData].concat(i()(c)),isNewData:!0})}).catch(function(t){e.setAnalyzer({isNewData:!1}),console.log(t)})}};return wp.element.createElement(l,null,wp.element.createElement(u,{title:t},wp.element.createElement(d,null,wp.element.createElement("div",{className:"monsterinsights-headline-analyzer-new-tab"},wp.element.createElement("form",{onSubmit:function(e){e.preventDefault(),f(o)}},wp.element.createElement(p,{label:n,value:o,onChange:function(t){" "!==t&&e.setAnalyzer({newHeadline:t})},className:"monsterinsights-headline-analyzer-input-field"}),wp.element.createElement(h,{className:"monsterinsights-headline-analyzer-button",isPrimary:!0,onClick:function(){f(o)},disabled:m},r))))))};t.a=m},function(e,t,n){"use strict";var r=n(3),i=n.n(r),o=n(25),a=wp.i18n.__,s=wp.element.Fragment,l=wp.components,c=l.PanelBody,u=l.PanelRow,d=function(e){var t=e.analyzer.currentHeadlineData.sentence,n=a("New Score","google-analytics-for-wordpress"),r=a("A good score is between 40 and 60. For best results, you should strive for 70 and above.","google-analytics-for-wordpress"),l=a("Current Score","google-analytics-for-wordpress"),d=void 0!==e.analyzer.newHeadlineData?e.analyzer.newHeadlineData.sentence:"",p=void 0!==e.analyzer.newHeadlineData?e.analyzer.newHeadlineData.score:"",h=void 0!==e.analyzer.currentHeadlineData.score?e.analyzer.currentHeadlineData.score:"",m=p<40?"red":p<=60?"orange":"green",f="red"===m?"#EB5757":"orange"===m?"#F2994A":"#1EC185",g=h<40?"red-bg":h<=60?"orange-bg":"green-bg",w=Math.abs(p-h);return wp.element.createElement(s,null,wp.element.createElement(c,{title:n},wp.element.createElement(u,null,wp.element.createElement("div",{className:"monsterinsights-headline-analyzer-new-score-panel"},wp.element.createElement("p",null,r),wp.element.createElement("h4",null,"“",d,"”"),wp.element.createElement("div",{className:"monsterinsights-headline-analyzer-pie-chart-container"},wp.element.createElement("span",{className:i()("monsterinsights-headline-analyzer-new-score",m)},p),wp.element.createElement(o.a,{barScore:p,barColor:f})),wp.element.createElement("div",{className:"current-score"},wp.element.createElement("span",{className:i()("monsterinsights-headline-analyzer-score-difference",m)},p>h?"+ ":p===h?"":"- ",w),wp.element.createElement("h5",null,l),wp.element.createElement("span",{className:i()("monsterinsights-headline-analyzer-score",g)},h),wp.element.createElement("p",null,"“",t,"”"))))))};t.a=d},function(e,t,n){"use strict";var r=n(3),i=n.n(r),o=wp.i18n.__,a=wp.element.Fragment,s=wp.components,l=s.PanelBody,c=s.PanelRow,u=function(e){var t=o("Previous Scores","google-analytics-for-wordpress"),n="undefined"!==e.analyzer.previousHeadlinesData?e.analyzer.previousHeadlinesData:[],r=document.querySelector(".edit-post-sidebar"),s="undefined"!==e.analyzer.activeTab?e.analyzer.activeTab:"current-score",u="current-score"===s?390:300,d=function(t){e.setAnalyzer({newHeadlineData:n[t],headlineData:n[t],newHeadline:n[t].sentence,isNewData:!0}),r&&(r.scrollTop=u)};return wp.element.createElement(a,null,wp.element.createElement(l,{title:t},wp.element.createElement(c,null,wp.element.createElement("ul",{className:"monsterinsights-headline-analyzer-previous-scores"},n.map(function(e,t){if(t<10&&(void 0!==e.sentence||void 0!==e.score)){var n=e.score<40?"red-bg":e.score<=60?"orange-bg":"green-bg";return wp.element.createElement("li",{key:t,onClick:function(){return d(t)}},wp.element.createElement("span",{className:i()("monsterinsights-headline-analyzer-score",n)},e.score),e.sentence)}})))))};t.a=u},function(e,t,n){"use strict";var r=n(17),i=n(3),o=n.n(i),a=n(135),s=wp.i18n.__,l=wp.element.Fragment,c=wp.components,u=c.PanelBody,d=c.PanelRow,p=function(e){var t=s("Word Balance","google-analytics-for-wordpress"),n=s("Compare the percentages of your results to the goal for each category and adjust as necessary.","google-analytics-for-wordpress"),i=e.data.score<40?"red":e.data.score<=60?"orange":"green",c=(e.data.score<40||e.data.score,0===e.data.result.common_words_per?"red":e.data.result.common_words_per<.2?"orange":"green"),p=0===e.data.result.common_words_per?"red-bg":e.data.result.common_words_per<.2?"orange-bg":"green-bg",h=s("Your headline would be more likely to get clicks if it had more uncommon words.","google-analytics-for-wordpress"),m=e.data.result.common_words_per<.2?h:s("Headlines with 20-30% common words are more likely to get clicks.","google-analytics-for-wordpress"),f=0===e.data.result.uncommon_words_per?"red":e.data.result.uncommon_words_per<.1?"orange":"green",g=0===e.data.result.uncommon_words_per?"red-bg":e.data.result.uncommon_words_per<.1?"orange-bg":"green-bg",w=e.data.result.uncommon_words_per<.1?h:s("Headlines with uncommon words are more likely to get clicks.","google-analytics-for-wordpress"),v=0===e.data.result.emotion_words_per?"red":e.data.result.emotion_words_per<.1?"orange":"green",y=0===e.data.result.emotion_words_per?"red-bg":e.data.result.emotion_words_per<.1?"orange-bg":"green-bg",b=s("Emotionally triggered headlines are likely to drive more clicks.","google-analytics-for-wordpress"),S=0===e.data.result.power_words.length?"orange":"green",E=0===e.data.result.power_words.length?"orange":"green-bg",C=s("Headlines with Power Words are more likely to get clicks.","google-analytics-for-wordpress"),_=s("Common Words","google-analytics-for-wordpress"),x=s("20-30%","google-analytics-for-wordpress"),k=s("Uncommon Words","google-analytics-for-wordpress"),O=s("10-20%","google-analytics-for-wordpress"),T=s("Emotional Words","google-analytics-for-wordpress"),M=s("10-15%","google-analytics-for-wordpress"),N=s("Power Words","google-analytics-for-wordpress"),j=s("At least one","google-analytics-for-wordpress");return wp.element.createElement(l,null,wp.element.createElement(u,{title:t,className:o()("monsterinsights-headline-analyzer-panel-word-balance","monsterinsights-headline-analyzer-panel-has-icon",i),icon:"green"===i?r.a.check:r.a.warning},wp.element.createElement(d,null,wp.element.createElement("h4",null,e.data.result.word_balance),wp.element.createElement("p",null,n),wp.element.createElement(a.a,{title:_,value:Math.round(100*e.data.result.common_words_per),goalValue:x,words:e.data.result.common_words,guideLine:m,classOnScore:c,classOnScoreBg:p}),wp.element.createElement(a.a,{title:k,value:Math.round(100*e.data.result.uncommon_words_per),goalValue:O,words:e.data.result.uncommon_words,guideLine:w,classOnScore:f,classOnScoreBg:g}),wp.element.createElement(a.a,{title:T,value:Math.round(100*e.data.result.emotion_words_per),goalValue:M,words:e.data.result.emotion_words,guideLine:b,classOnScore:v,classOnScoreBg:y}),wp.element.createElement(a.a,{title:N,value:Math.round(100*e.data.result.power_words_per),goalValue:j,words:e.data.result.power_words,guideLine:C,classOnScore:S,classOnScoreBg:E}))))};t.a=p},function(e,t,n){"use strict";var r=n(3),i=n.n(r),o=wp.i18n.__,a=function(e){var t=o("Goal: ","google-analytics-for-wordpress"),n={width:e.value+"%"};return wp.element.createElement("div",{className:"monsterinsights-headline-analyzer-words-block"},wp.element.createElement("h5",null,e.title),wp.element.createElement("div",{className:"monsterinsights-headline-analyzer-words-block-data"},wp.element.createElement("span",{className:i()("monsterinsights-headline-analyzer-words-block-percentage",e.classOnScore)},e.value,"%"),wp.element.createElement("span",{className:"monsterinsights-headline-analyzer-words-block-goal"},wp.element.createElement("strong",null,t),e.goalValue),wp.element.createElement("span",{className:"monsterinsights-headline-analyzer-words-block-progressbar"},wp.element.createElement("span",{className:"monsterinsights-headline-analyzer-progressbar-bg"}),wp.element.createElement("span",{className:i()("monsterinsights-headline-analyzer-progressbar-part",e.classOnScoreBg),style:n}))),wp.element.createElement("ul",{className:"monsterinsights-headline-analyzer-words-tag-list"},e.words.length>0?e.words.map(function(e,t){return wp.element.createElement("li",{key:t},e)}):""),wp.element.createElement("p",{className:"monsterinsights-headline-analyzer-words-guideline"},e.guideLine))};t.a=a},function(e,t,n){"use strict";var r=n(17),i=n(3),o=n.n(i),a=wp.i18n.__,s=wp.element.Fragment,l=wp.components,c=l.PanelBody,u=l.PanelRow,d=function(e){var t=a("Your headline has a neutral sentiment.","google-analytics-for-wordpress"),n=a("Headlines that are strongly positive or negative tend to get more engagement then neutral ones.","google-analytics-for-wordpress"),i=a("Your headline has a positive sentiment.","google-analytics-for-wordpress"),l=a("Positive headlines tend to get better engagement than neutral or negative ones.","google-analytics-for-wordpress"),d=a("Your headline has a negative sentiment.","google-analytics-for-wordpress"),p=a("Negative headlines are attention-grabbing and tend to perform better than neutral ones.","google-analytics-for-wordpress"),h=a("Sentiment","google-analytics-for-wordpress"),m="neu"===e.data.result.sentiment?a("Neutral","google-analytics-for-wordpress"):"pos"===e.data.result.sentiment?a("Positive","google-analytics-for-wordpress"):a("Negative","google-analytics-for-wordpress"),f="neu"===e.data.result.sentiment?r.a.neutral:"pos"===e.data.result.sentiment?r.a.smile:r.a.negative,g="neu"===e.data.result.sentiment?"orange":"pos"===e.data.result.sentiment?"green":"red";return wp.element.createElement(s,null,wp.element.createElement(c,{title:h,className:o()("monsterinsights-headline-analyzer-panel-sentiment","monsterinsights-headline-analyzer-panel-has-icon",g),icon:f},wp.element.createElement(u,null,wp.element.createElement("h4",null,m),"neu"===e.data.result.sentiment?wp.element.createElement("p",null,t," ",wp.element.createElement("br",null),wp.element.createElement("br",null)," ",n):"","pos"===e.data.result.sentiment?wp.element.createElement("p",null,i," ",wp.element.createElement("br",null),wp.element.createElement("br",null)," ",l):"","neg"===e.data.result.sentiment?wp.element.createElement("p",null,d," ",wp.element.createElement("br",null),wp.element.createElement("br",null)," ",p):"")))};t.a=d},function(e,t,n){"use strict";var r=wp.i18n,i=r.__,o=r.sprintf,a=wp.element.Fragment,s=wp.components,l=s.PanelBody,c=s.PanelRow,u=function(e){var t=e.data.result.headline_types.join(", "),n=i("Headline Type","google-analytics-for-wordpress"),r=wp.element.createElement("span",{className:"monsterinsights-headline-analyzer-panel-types-title"},n,wp.element.createElement("span",null,t)),s=o(i("Headlines that are lists and how-to get more engagement on average than other types of headlines. %1sRead more about %2sdifferent types of headlines here.%3s","google-analytics-for-wordpress"),"<br/><br/>",'<a href="https://optinmonster.com/why-these-21-headlines-went-viral-and-how-you-can-copy-their-success/" target="_blank" className="monsterinsights-headline-analyzer-link">',"</a>");return wp.element.createElement(a,null,wp.element.createElement(l,{title:r,className:"monsterinsights-headline-analyzer-panel-types"},wp.element.createElement(c,null,wp.element.createElement("h4",null,t),wp.element.createElement("p",{dangerouslySetInnerHTML:{__html:s}}))))};t.a=u},function(e,t,n){"use strict";var r=n(17),i=n(3),o=n.n(i),a=n(25),s=wp.i18n.__,l=wp.element.Fragment,c=wp.components,u=c.PanelBody,d=c.PanelRow,p=function(e){var t=s("Character Count","google-analytics-for-wordpress"),n=e.data.result.length,i=n>=66?100:Math.round(1.51*n),c="",p="",h="#1EC185",m="";return n<=19?(c="red",h="#EB5757"):n>=20&&n<=34?(c="orange",h="#F2994A"):n>=35&&n<=66?(c="green",h="#1EC185"):n>=67&&n<=79?(c="orange",h="#F2994A"):n>=80&&(c="red",h="#EB5757"),n<=34?(p=s("Too Short","google-analytics-for-wordpress"),m=s("You have space to add more keywords and power words to boost your rankings and click-through rate.","google-analytics-for-wordpress")):n>=35&&n<=66?(p=s("Good","google-analytics-for-wordpress"),m=s("Headlines that are about 55 characters long will display fully in search results and tend to get more clicks.","google-analytics-for-wordpress")):n>=67&&(p=s("Too Long","google-analytics-for-wordpress"),m=s("At this length, it will get cut off in search results. Try reducing it to about 55 characters.","google-analytics-for-wordpress")),wp.element.createElement(l,null,wp.element.createElement(u,{title:t,className:o()("monsterinsights-headline-analyzer-panel-character-count","monsterinsights-headline-analyzer-panel-has-icon",c),icon:"green"===c?r.a.check:r.a.warning},wp.element.createElement(d,null,wp.element.createElement("div",{className:"monsterinsights-headline-analyzer-pie-chart-container"},wp.element.createElement("span",{className:o()("monsterinsights-headline-analyzer-character-length",c)},n),wp.element.createElement(a.a,{barScore:i,barColor:h}),wp.element.createElement("span",{className:"monsterinsights-headline-analyzer-status-on-character-length"},p)),wp.element.createElement("p",null,m))))};t.a=p},function(e,t,n){"use strict";var r=n(17),i=n(3),o=n.n(i),a=n(25),s=wp.i18n.__,l=wp.element.Fragment,c=wp.components,u=c.PanelBody,d=c.PanelRow,p=function(e){var t=s("Word Count","google-analytics-for-wordpress"),n=e.data.result.word_count,i=n>=10?100:Math.round(10*n),c="",p="",h="#1EC185",m="";return n<=4?(c="red",h="#EB5757",p=s("Not Enough Words","google-analytics-for-wordpress"),m=s("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.","google-analytics-for-wordpress")):n>=5&&n<=9?(c="green",h="#1EC185",p=s("Good","google-analytics-for-wordpress"),m=s("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.","google-analytics-for-wordpress")):n>=10&&n<=11?(c="orange",h="#F2994A",p=s("Reduce Word Count","google-analytics-for-wordpress")):(c="red",h="#EB5757",p=s("Too Many Words","google-analytics-for-wordpress"),m=s("Your headline has too many words. Long headlines will get cut off in search results and won’t get as many clicks.","google-analytics-for-wordpress")),wp.element.createElement(l,null,wp.element.createElement(u,{title:t,className:o()("monsterinsights-headline-analyzer-panel-word-count","monsterinsights-headline-analyzer-panel-has-icon",c),icon:"green"===c?r.a.check:r.a.warning},wp.element.createElement(d,null,wp.element.createElement("div",{className:"monsterinsights-headline-analyzer-pie-chart-container"},wp.element.createElement("span",{className:o()("monsterinsights-headline-analyzer-word-length",c)},n),wp.element.createElement(a.a,{barScore:i,barColor:h}),wp.element.createElement("span",{className:"monsterinsights-headline-analyzer-status-on-word-length"},p)),wp.element.createElement("p",null,m))))};t.a=p},function(e,t,n){"use strict";var r=wp.i18n.__,i=wp.element.Fragment,o=wp.components,a=o.PanelBody,s=o.PanelRow,l=function(e){var t=r("Beginning & Ending Words","google-analytics-for-wordpress"),n=e.data.result.input_array_orig,o=r("Most readers only look at the first and last 3 words of a headline before deciding whether to click.","google-analytics-for-wordpress"),l="",c="";return n.length>=6?(l=n.slice(0,3).join(" "),c=n.slice(-3).join(" ")):n.length>3&&n.length<=5?(l=n.slice(0,3).join(" "),c=n.slice(3).join(" ")):l=n.slice(0,3).join(" "),wp.element.createElement(i,null,wp.element.createElement(a,{title:t,className:"monsterinsights-headline-analyzer-panel-beginning-ending-words"},wp.element.createElement(s,null,l?wp.element.createElement("div",{className:"monsterinsights-headline-analyzer-words beginning"},wp.element.createElement("span",null,l)):"",c?wp.element.createElement("div",{className:"monsterinsights-headline-analyzer-words ending"},wp.element.createElement("span",null,c)):"",wp.element.createElement("p",{className:"monsterinsights-headline-analyzer-words-guideline"},o))))};t.a=l},function(e,t,n){"use strict";var r=n(23),i=n.n(r),o=wp.i18n.__,a=wp.element.Fragment,s=wp.components,l=s.PanelBody,c=s.PanelRow,u=wp.data.select,d=function(e){var t=o("Search Preview","google-analytics-for-wordpress"),n=o("Here is how your headline will look like in google search results page.","google-analytics-for-wordpress"),r=u("core/editor").getPermalink(),s={href:r};return wp.element.createElement(a,null,wp.element.createElement(l,{title:t,className:"monsterinsights-headline-analyzer-panel-search-preview"},wp.element.createElement(c,null,wp.element.createElement("h4",null,e.data.sentence),wp.element.createElement("p",{className:"monsterinsights-headline-analyzer-post-url"},wp.element.createElement("a",i()({},s,{target:"_blank"}),r)),wp.element.createElement("p",null,n))))};t.a=d},function(e,t,n){"use strict";var r=n(39),i=n.n(r),o=n(143),a=wp.components.ToggleControl,s=wp.plugins.registerPlugin,l=wp.data,c=l.dispatch,u=l.select,d=wp.i18n.__,p=wp.editPost.PluginDocumentSettingPanel,h=wp.element,m=h.useState,f=h.Fragment;s("monsterinsights-exclude-page-tracking",{render:function(){var e=window.monsterinsights_gutenberg_tool_vars;if(!e||"1"!==e.supports_custom_fields)return wp.element.createElement(f,null);var t=u("core/editor").getEditedPostAttribute("meta")||[];t._mi_skip_tracking||(t._mi_skip_tracking=!1);var n=m(!!t._mi_skip_tracking),r=i()(n,2),s=r[0],l=r[1];return wp.element.createElement(p,{name:"monsterinsights-skip-tracking",title:"MonsterInsights",className:"monsterinsights-skip-tracking-wrapper",icon:"mi"},wp.element.createElement(a,{checked:s,help:d("Toggle to prevent Google Analytics from tracking this page.","google-analytics-for-wordpress"),label:d("Exclude page from Google Analytics Tracking","google-analytics-for-wordpress"),disabled:"lite"===e.license_type,onChange:function(e){l(!!e),c("core/editor").editPost({meta:{_mi_skip_tracking:e}})}}),wp.element.createElement(o.a,{license:e.license_type,upgrade_url:e.upgrade_url}))}})},function(e,t,n){"use strict";var r=wp.i18n.__,i=wp.element.Fragment,o=function(e){if("lite"!==e.license)return wp.element.createElement(i,null);var t={description:r("This is a PRO feature.","google-analytics-for-wordpress"),upgrade:r("Upgrade","google-analytics-for-wordpress")};return wp.element.createElement(i,null,wp.element.createElement("div",{className:"monsterinsights-metabox-pro-badge"},wp.element.createElement("span",null,wp.element.createElement("svg",{width:"15",height:"14",viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M6.57617 1.08203L4.92578 4.45898L1.19336 4.99219C0.533203 5.09375 0.279297 5.90625 0.761719 6.38867L3.42773 9.00391L2.79297 12.6855C2.69141 13.3457 3.40234 13.8535 3.98633 13.5488L7.3125 11.7969L10.6133 13.5488C11.1973 13.8535 11.9082 13.3457 11.8066 12.6855L11.1719 9.00391L13.8379 6.38867C14.3203 5.90625 14.0664 5.09375 13.4062 4.99219L9.69922 4.45898L8.02344 1.08203C7.74414 0.498047 6.88086 0.472656 6.57617 1.08203Z",fill:"#31862D"})),t.description),wp.element.createElement("div",{className:"monsterinsights-metabox-pro-badge-upgrade"},wp.element.createElement("a",{href:e.upgrade_url,target:"_blank",rel:"noopener"},t.upgrade))))};t.a=o},function(e,t,n){"use strict";n(145),n(154)},function(e,t,n){"use strict";var r=n(65),i=n.n(r),o=n(67),a=n.n(o),s=n(23),l=n.n(s),c=n(150),u=n(68),d=wp.i18n.__,p=wp.blocks.registerBlockType,h=wp,m=h.apiFetch,f=wp.data,g=f.registerStore,w=f.withSelect,v=wp.blockEditor.InspectorControls,y=wp.components,b=y.PanelBody,S=y.PanelRow,E=y.TextControl,C=y.ColorPalette,_=y.RangeControl,x=window.monsterinsights_gutenberg_tool_vars,k={setThemes:function(e){return{type:"SET_THEMES",themes:e}},receiveThemes:function(e){return{type:"RECEIVE_THEMES",path:e}}};g("monsterinsights/v1/popular-posts/inline",{reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{themes:{}},t=arguments[1];switch(t.type){case"SET_THEMES":return l()({},e,{themes:t.themes})}return e},actions:k,selectors:{receiveThemes:function(e){return e.themes}},controls:{RECEIVE_THEMES:function(e){return m({path:e.path})}},resolvers:{receiveThemes:a.a.mark(function e(t){var n,r;return a.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,k.receiveThemes("/monsterinsights/v1/popular-posts/themes/inline");case 2:if(n=e.sent,void 0===n.themes){e.next=6;break}for(r in n.themes)n.themes.hasOwnProperty(r)&&(n.themes[r].value=r);return e.abrupt("return",k.setThemes(n));case 6:case"end":return e.stop()}},e,this)})}}),p("monsterinsights/popular-posts-inline",{title:d("Inline Popular Posts","google-analytics-for-wordpress"),description:d("Add inline popular posts from MonsterInsights","google-analytics-for-wordpress"),category:"widgets",icon:c.a.inlinepop,keywords:[d("Popular","google-analytics-for-wordpress"),d("Posts","google-analytics-for-wordpress"),d("Inline","google-analytics-for-wordpress"),"MonsterInsights"],example:{},attributes:{theme:{type:"string"},title_size:{type:"number"},title_color:{type:"string"},label_color:{type:"string"},label_text:{type:"string"},label_background:{type:"string"},background_color:{type:"string"},background_border:{type:"string"},icon_background:{type:"string"},icon_color:{type:"string"},border_color:{type:"string"},border_color2:{type:"string"}},edit:w(function(e){return{themes:e("monsterinsights/v1/popular-posts/inline").receiveThemes()}})(function(e){var t=e.attributes,n=t.theme,r=(t.title_size,t.title_color,t.label_color,t.label_text,t.label_background,t.background_color,t.background_border,t.icon_background,t.icon_color,t.border_color,t.border_color2,e.themes),o=e.setAttributes,a=[{name:"pink",color:"#F58EA8"},{name:"red",color:"#CD3034"},{name:"orange",color:"#FD6A21"},{name:"yellow",color:"#FBB82B"},{name:"green",color:"#7FDBB6"},{name:"green",color:"#21CF86"},{name:"blue",color:"#91D2FA"},{name:"blue",color:"#1B95E0"},{name:"purple",color:"#9A57DD"},{name:"gray",color:"#EEEEEE"},{name:"gray",color:"#ACB8C3"},{name:"black",color:"#000000"}],s=void 0!==r.themes?r.themes:{},l=void 0===e.attributes.theme?r.selected:n,p=void 0!==l&&void 0!==s[l]?s[l]:{},h=void 0!==p.styles?p.styles:{},m={};for(var f in h)if(h.hasOwnProperty(f))for(var g in h[f])if(h[f].hasOwnProperty(g)){var w=f+"_"+g;void 0===e.attributes[w]?m[w]=h[f][g]:m[w]=e.attributes[w]}var y=function(e,t){var n=m[t];return wp.element.createElement(_,{key:"monsterinsights-popular-posts-input"+t,label:e,value:parseInt(n),min:1,max:100,onChange:function(e){return o(i()({},t,""===e?"":parseInt(e)))}})},k=function(e,t){var n=m[t];return wp.element.createElement(E,{key:"monsterinsights-popular-posts-input"+t,label:e,type:"text",value:n,onChange:function(e){return o(i()({},t,e))}})},O=function(e,t){var n=m[t];return[wp.element.createElement("label",{key:"monsterinsights-popular-posts-label"+t},e),wp.element.createElement(C,{key:"monsterinsights-popular-posts-input"+t,value:n,colors:a,onChange:function(e){o(i()({},t,e))}})]};return[wp.element.createElement(v,{key:"monsterinsights-popular-posts-inline-inspector-controls"},wp.element.createElement(b,{title:d("Theme","google-analytics-for-wordpress"),key:"monsterinsights-popular-posts-inline-theme"},wp.element.createElement(S,{key:"monsterinsights-popular-posts-inline-theme-row"},wp.element.createElement(u.a,{id:"monsterinsights-popular-posts-inline-theme",options:s,selected:l,icons:c.a,onChange:function(e){o({theme:e})}}))),function(){if(void 0!==h.title){var e=[];return void 0!==h.title.size&&e.push(y(d("Title Font Size","google-analytics-for-wordpress"),"title_size")),void 0!==h.title.color&&e.push(O(d("Title Color","google-analytics-for-wordpress"),"title_color")),wp.element.createElement(b,{title:d("Title Settings","google-analytics-for-wordpress"),key:"monsterinsights-popular-posts-inline-title"},e)}}(),function(){if(void 0!==h.label){var e=[];return void 0!==h.label.text&&e.push(k(d("Label Text","google-analytics-for-wordpress"),"label_text")),void 0!==h.label.color&&e.push(O(d("Label Color","google-analytics-for-wordpress"),"label_color")),void 0!==h.label.background&&e.push(O(d("Label Background","google-analytics-for-wordpress"),"label_background")),wp.element.createElement(b,{title:d("Label Settings","google-analytics-for-wordpress"),key:"monsterinsights-popular-posts-inline-label"}," ",e," ")}}(),function(){var e=[];if(void 0!==h.border&&void 0!==h.border.color&&e.push(O(d("Border Color","google-analytics-for-wordpress"),"border_color")),void 0!==h.border&&void 0!==h.border.color2&&e.push(O(d("Bottom Border Color","google-analytics-for-wordpress"),"border_color2")),void 0!==h.background&&void 0!==h.background.border&&e.push(O(d("Border Color","google-analytics-for-wordpress"),"background_border")),0!==e.length)return wp.element.createElement(b,{title:d("Border Settings","google-analytics-for-wordpress"),key:"monsterinsights-popular-posts-inline-border"}," ",e," ")}(),function(){if(void 0!==h.background&&void 0!==h.background.color){var e=[];return void 0!==h.background.color&&e.push(O(d("Background Color","google-analytics-for-wordpress"),"background_color")),wp.element.createElement(b,{title:d("Background Settings","google-analytics-for-wordpress"),key:"monsterinsights-popular-posts-inline-background"}," ",e," ")}}(),function(){if(void 0!==h.icon){var e=[];return void 0!==h.icon.color&&e.push(O(d("Icon Color","google-analytics-for-wordpress"),"icon_color")),void 0!==h.icon.background&&e.push(O(d("Icon Background Color","google-analytics-for-wordpress"),"icon_background")),wp.element.createElement(b,{title:d("Icon Settings","google-analytics-for-wordpress"),key:"monsterinsights-popular-posts-inline-icon"}," ",e," ")}}()),wp.element.createElement("div",{key:"monsterinsights-popular-posts-inline-preview"},wp.element.createElement("div",{className:"monsterinsights-inline-popular-posts-widget monsterinsights-inline-popular-posts-"+l,style:{backgroundColor:m.background_color,borderColor:m.background_border}},function(){if(void 0!==p.image&&p.image){var e=void 0!==h.image?h.image:"theme-preview-image.jpg";return wp.element.createElement("div",{className:"monsterinsights-inline-popular-posts-image"},wp.element.createElement("img",{src:x.vue_assets_path+"img/"+e}))}}(),wp.element.createElement("div",{className:"monsterinsights-inline-popular-posts-text"},function(){if(void 0!==h.icon)return wp.element.createElement("span",{className:"monsterinsights-inline-popular-posts-icon",style:{backgroundColor:m.icon_background}},c.a.themeIcon(m.icon_color))}(),function(){if(void 0!==h.label)return wp.element.createElement("span",{style:{color:m.label_color,backgroundColor:m.label_background},className:"monsterinsights-inline-popular-posts-label"},m.label_text)}(),function(){if(void 0!==h.border&&void 0!==h.border.color)return wp.element.createElement("span",{className:"monsterinsights-inline-popular-posts-border",style:{borderColor:m.border_color}})}(),function(){if(void 0!==h.title&&void 0===p.list&&void 0!==h.title.text)return wp.element.createElement("a",{href:"#",className:"monsterinsights-inline-popular-posts-title",style:{color:m.title_color,fontSize:m.title_size+"px"}},h.title.text)}(),function(){if(void 0!==p.list){var e=[];for(var t in p.list)e.push(wp.element.createElement("li",{key:"monsterinsights-popular-posts-preview-list-item-"+t,style:{color:m.title_color,fontSize:m.title_size+"px"}},p.list[t]));return wp.element.createElement("ul",{className:"monsterinsights-inline-popular-posts-list"},e)}}(),function(){if(void 0!==h.border&&void 0!==h.border.color2)return wp.element.createElement("span",{className:"monsterinsights-inline-popular-posts-border-2",style:{borderColor:m.border_color2}})}())))]}),save:function(e){return null}})},function(e,t,n){n(147);var r=n(0).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(4);r(r.S+r.F*!n(7),"Object",{defineProperty:n(6).f})},function(e,t,n){var r=function(){return this}()||Function("return this")(),i=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,o=i&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,e.exports=n(149),i)r.regeneratorRuntime=o;else try{delete r.regeneratorRuntime}catch(e){r.regeneratorRuntime=void 0}},function(e,t){!function(t){"use strict";function n(e,t,n,r){var o=t&&t.prototype instanceof i?t:i,a=Object.create(o.prototype),s=new h(r||[]);return a._invoke=c(e,n,s),a}function r(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function i(){}function o(){}function a(){}function s(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function l(e){function t(n,i,o,a){var s=r(e[n],e,i);if("throw"!==s.type){var l=s.arg,c=l.value;return c&&"object"==typeof c&&v.call(c,"__await")?Promise.resolve(c.__await).then(function(e){t("next",e,o,a)},function(e){t("throw",e,o,a)}):Promise.resolve(c).then(function(e){l.value=e,o(l)},a)}a(s.arg)}function n(e,n){function r(){return new Promise(function(r,i){t(e,n,r,i)})}return i=i?i.then(r,r):r()}var i;this._invoke=n}function c(e,t,n){var i=x;return function(o,a){if(i===O)throw new Error("Generator is already running");if(i===T){if("throw"===o)throw a;return f()}for(n.method=o,n.arg=a;;){var s=n.delegate;if(s){var l=u(s,n);if(l){if(l===M)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===x)throw i=T,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=O;var c=r(e,t,n);if("normal"===c.type){if(i=n.done?T:k,c.arg===M)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=T,n.method="throw",n.arg=c.arg)}}}function u(e,t){var n=e.iterator[t.method];if(n===g){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=g,u(e,t),"throw"===t.method))return M;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return M}var i=r(n,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,M;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=g),t.delegate=null,M):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,M)}function d(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function p(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function h(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(d,this),this.reset(!0)}function m(e){if(e){var t=e[b];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(v.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=g,t.done=!0,t};return r.next=r}}return{next:f}}function f(){return{value:g,done:!0}}var g,w=Object.prototype,v=w.hasOwnProperty,y="function"==typeof Symbol?Symbol:{},b=y.iterator||"@@iterator",S=y.asyncIterator||"@@asyncIterator",E=y.toStringTag||"@@toStringTag",C="object"==typeof e,_=t.regeneratorRuntime;if(_)return void(C&&(e.exports=_));_=t.regeneratorRuntime=C?e.exports:{},_.wrap=n;var x="suspendedStart",k="suspendedYield",O="executing",T="completed",M={},N={};N[b]=function(){return this};var j=Object.getPrototypeOf,P=j&&j(j(m([])));P&&P!==w&&v.call(P,b)&&(N=P);var D=a.prototype=i.prototype=Object.create(N);o.prototype=D.constructor=a,a.constructor=o,a[E]=o.displayName="GeneratorFunction",_.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===o||"GeneratorFunction"===(t.displayName||t.name))},_.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,a):(e.__proto__=a,E in e||(e[E]="GeneratorFunction")),e.prototype=Object.create(D),e},_.awrap=function(e){return{__await:e}},s(l.prototype),l.prototype[S]=function(){return this},_.AsyncIterator=l,_.async=function(e,t,r,i){var o=new l(n(e,t,r,i));return _.isGeneratorFunction(t)?o:o.next().then(function(e){return e.done?e.value:o.next()})},s(D),D[E]="Generator",D[b]=function(){return this},D.toString=function(){return"[object Generator]"},_.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},_.values=m,h.prototype={constructor:h,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=g,this.done=!1,this.delegate=null,this.method="next",this.arg=g,this.tryEntries.forEach(p),!e)for(var t in this)"t"===t.charAt(0)&&v.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=g)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){function t(t,r){return o.type="throw",o.arg=e,n.next=t,r&&(n.method="next",n.arg=g),!!r}if(this.done)throw e;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],o=i.completion;if("root"===i.tryLoc)return t("end");if(i.tryLoc<=this.prev){var a=v.call(i,"catchLoc"),s=v.call(i,"finallyLoc");if(a&&s){if(this.prev<i.catchLoc)return t(i.catchLoc,!0);if(this.prev<i.finallyLoc)return t(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return t(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return t(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&v.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,M):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),M},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),p(n),M}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;p(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:m(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=g),M}}}(function(){return this}()||Function("return this")())},function(e,t,n){"use strict";var r={};r.inlinepop=wp.element.createElement("svg",{width:"20",height:"16",viewBox:"0 0 20 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 0H20V2H0V0ZM20 14V16H0V14H20ZM2 4C0.895431 4 0 4.89543 0 6V10C0 11.1046 0.895431 12 2 12H6C7.10457 12 8 11.1046 8 10V6C8 4.89543 7.10457 4 6 4H2ZM10 5H20V7H10V5ZM18 9H10V11H18V9Z",fill:"#555D66"})),r.alpha=wp.element.createElement("svg",{width:"70",height:"38",viewBox:"0 0 70 38",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{width:"70",height:"37.8947",rx:"3",fill:"#E7F2FD"}),wp.element.createElement("rect",{x:"5.72729",y:"19.8947",width:"58.5455",height:"8.52632",rx:"3",fill:"#1170D5"}),wp.element.createElement("rect",{x:"5.72729",y:"7.57892",width:"17.1818",height:"8.52632",rx:"3",fill:"#338EEF"})),r.beta=wp.element.createElement("svg",{width:"70",height:"40",viewBox:"0 0 70 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{x:"31",y:"21",width:"32",height:"9",rx:"3",fill:"#1170D5"}),wp.element.createElement("rect",{x:"31",y:"10",width:"18",height:"9",rx:"3",fill:"#338EEF"}),wp.element.createElement("rect",{x:"7",y:"10",width:"20",height:"20",rx:"3",fill:"#338EEF"}),wp.element.createElement("rect",{x:"1.5",y:"1.5",width:"67",height:"37",rx:"1.5",stroke:"#E7F2FD",strokeWidth:"3"})),r.charlie=wp.element.createElement("svg",{width:"70",height:"28",viewBox:"0 0 70 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{x:"16",y:"19",width:"54",height:"9",rx:"3",fill:"#1170D5"}),wp.element.createElement("rect",{y:"11",width:"70",height:"3",rx:"1.5",fill:"#B8D8F9"}),wp.element.createElement("rect",{width:"26",height:"7",rx:"3",fill:"#338EEF"}),wp.element.createElement("circle",{cx:"4.5",cy:"23.5",r:"4.5",fill:"#1170D5"})),r.delta=wp.element.createElement("svg",{width:"70",height:"40",viewBox:"0 0 70 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{x:"8",y:"21",width:"54",height:"9",rx:"3",fill:"#1170D5"}),wp.element.createElement("rect",{x:"22",y:"9",width:"18",height:"9",rx:"3",fill:"#338EEF"}),wp.element.createElement("path",{d:"M12.0303 9.5625C12.4613 8.8125 13.5387 8.8125 13.9697 9.5625L17.8483 16.3125C18.2793 17.0625 17.7406 18 16.8787 18H9.12134C8.25942 18 7.72072 17.0625 8.15168 16.3125L12.0303 9.5625Z",fill:"#338EEF"}),wp.element.createElement("rect",{x:"1.5",y:"1.5",width:"67",height:"37",rx:"1.5",stroke:"#E7F2FD",strokeWidth:"3"})),r.echo=wp.element.createElement("svg",{width:"70",height:"40",viewBox:"0 0 70 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{width:"70",height:"40",rx:"3",fill:"#E7F2FD"}),wp.element.createElement("rect",{x:"24.8182",y:"16",width:"39.4545",height:"9",rx:"3",fill:"#1170D5"}),wp.element.createElement("rect",{x:"5.72729",y:"16",width:"15.2727",height:"9",rx:"3",fill:"#338EEF"})),r.foxtrot=wp.element.createElement("svg",{width:"70",height:"40",viewBox:"0 0 70 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{x:"26",y:"22",width:"44",height:"9",rx:"3",fill:"#1170D5"}),wp.element.createElement("rect",{x:"26",y:"9",width:"28",height:"9",rx:"3",fill:"#338EEF"}),wp.element.createElement("rect",{y:"9",width:"22",height:"22",rx:"3",fill:"#338EEF"})),r.golf=wp.element.createElement("svg",{width:"70",height:"29",viewBox:"0 0 70 29",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{y:"11",width:"70",height:"9",rx:"3",fill:"#1170D5"}),wp.element.createElement("rect",{y:"26",width:"70",height:"3",rx:"1.5",fill:"#B8D8F9"}),wp.element.createElement("rect",{width:"21",height:"7",rx:"3",fill:"#338EEF"}),wp.element.createElement("rect",{x:"25",y:"1",width:"45",height:"3",rx:"1.5",fill:"#B8D8F9"})),r.hotel=wp.element.createElement("svg",{width:"70",height:"40",viewBox:"0 0 70 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{width:"70",height:"40",rx:"3",fill:"#E7F2FD"}),wp.element.createElement("rect",{x:"22",y:"16",width:"40",height:"9",rx:"3",fill:"#1170D5"}),wp.element.createElement("path",{d:"M12.0303 16.5625C12.4613 15.8125 13.5387 15.8125 13.9697 16.5625L17.8483 23.3125C18.2793 24.0625 17.7406 25 16.8787 25H9.12134C8.25942 25 7.72072 24.0625 8.15168 23.3125L12.0303 16.5625Z",fill:"#338EEF"})),r.india=wp.element.createElement("svg",{width:"70",height:"40",viewBox:"0 0 70 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("g",{"clip-path":"url(#clip0)"},wp.element.createElement("rect",{width:"70",height:"40",rx:"3",fill:"#E7F2FD"}),wp.element.createElement("rect",{x:"26",y:"16",width:"36",height:"9",rx:"3",fill:"#1170D5"}),wp.element.createElement("rect",{x:"8",y:"16",width:"14",height:"9",rx:"3",fill:"#1170D5"}),wp.element.createElement("rect",{y:"41",width:"41",height:"4",transform:"rotate(-90 0 41)",fill:"#338EEF"})),wp.element.createElement("defs",null,wp.element.createElement("clipPath",{id:"clip0"},wp.element.createElement("rect",{width:"70",height:"40",rx:"3",fill:"white"})))),r.juliett=wp.element.createElement("svg",{width:"70",height:"40",viewBox:"0 0 70 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{width:"70",height:"40",rx:"3",fill:"#E7F2FD"}),wp.element.createElement("rect",{x:"30",y:"20",width:"32",height:"9",rx:"3",fill:"#1170D5"}),wp.element.createElement("path",{d:"M50 14C50 12.3431 51.3431 11 53 11H60C61.1046 11 62 11.8954 62 13V15C62 16.6569 60.6569 18 59 18H53C51.3431 18 50 16.6569 50 15V14Z",fill:"#338EEF"}),wp.element.createElement("rect",{x:"30",y:"11",width:"32",height:"4",rx:"2",fill:"#338EEF"}),wp.element.createElement("rect",{x:"8",y:"11",width:"18",height:"18",rx:"3",fill:"#338EEF"})),r.kilo=wp.element.createElement("svg",{width:"70",height:"40",viewBox:"0 0 70 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{y:"22",width:"70",height:"9",rx:"3",fill:"#1170D5"}),wp.element.createElement("rect",{y:"9",width:"26",height:"9",rx:"3",fill:"#338EEF"}),wp.element.createElement("rect",{width:"6.36364",height:"3",rx:"1",fill:"#B8D8F9"}),wp.element.createElement("rect",{x:"12.7273",width:"6.36364",height:"3",rx:"1",fill:"#B8D8F9"}),wp.element.createElement("rect",{x:"25.4545",width:"6.36364",height:"3",rx:"1",fill:"#B8D8F9"}),wp.element.createElement("rect",{x:"38.1818",width:"6.36364",height:"3",rx:"1",fill:"#B8D8F9"}),wp.element.createElement("rect",{x:"50.9091",width:"6.36364",height:"3",rx:"1",fill:"#B8D8F9"}),wp.element.createElement("rect",{x:"63.6364",width:"6.36364",height:"3",rx:"1",fill:"#B8D8F9"}),wp.element.createElement("rect",{y:"37",width:"6.36364",height:"3",rx:"1",fill:"#B8D8F9"}),wp.element.createElement("rect",{x:"12.7273",y:"37",width:"6.36364",height:"3",rx:"1",fill:"#B8D8F9"}),wp.element.createElement("rect",{x:"25.4545",y:"37",width:"6.36364",height:"3",rx:"1",fill:"#B8D8F9"}),wp.element.createElement("rect",{x:"38.1818",y:"37",width:"6.36364",height:"3",rx:"1",fill:"#B8D8F9"}),wp.element.createElement("rect",{x:"50.9091",y:"37",width:"6.36364",height:"3",rx:"1",fill:"#B8D8F9"}),wp.element.createElement("rect",{x:"63.6364",y:"37",width:"6.36364",height:"3",rx:"1",fill:"#B8D8F9"})),r.lima=wp.element.createElement("svg",{width:"70",height:"40",viewBox:"0 0 70 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{width:"70",height:"40",rx:"3",fill:"#E7F2FD"}),wp.element.createElement("rect",{x:"6",y:"22",width:"32",height:"9",rx:"3",fill:"#1170D5"}),wp.element.createElement("rect",{x:"6",y:"8",width:"20",height:"9",rx:"3",fill:"#338EEF"}),wp.element.createElement("rect",{x:"42",y:"9",width:"22",height:"22",rx:"3",fill:"#338EEF"})),r.mike=wp.element.createElement("svg",{width:"70",height:"40",viewBox:"0 0 70 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{width:"70",height:"40",rx:"3",fill:"#E7F2FD"}),wp.element.createElement("rect",{x:"35",y:"15",width:"27",height:"9",rx:"3",fill:"#1170D5"}),wp.element.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M28.8438 28H10.1562C9.55729 28 9.04818 27.7934 8.62891 27.3802C8.20964 26.967 8 26.4653 8 25.875V22.3C8 21.0297 9.02974 20 10.3 20H21.7C22.9703 20 24 18.9703 24 17.7V13.3C24 12.0297 25.0297 11 26.3 11H28.8438C29.4427 11 29.9518 11.2066 30.3711 11.6198C30.7904 12.033 31 12.5347 31 13.125V25.875C31 26.4653 30.7904 26.967 30.3711 27.3802C29.9518 27.7934 29.4427 28 28.8438 28ZM10.3 11C9.02974 11 8 12.0297 8 13.3V15.7C8 16.9703 9.02974 18 10.3 18H19.7C20.9703 18 22 16.9703 22 15.7V13.3C22 12.0297 20.9703 11 19.7 11H10.3Z",fill:"#338EEF"})),r.november=wp.element.createElement("svg",{width:"70",height:"40",viewBox:"0 0 70 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{x:"29",y:"22",width:"33",height:"9",rx:"3",fill:"#1170D5"}),wp.element.createElement("rect",{x:"29",y:"9",width:"18",height:"9",rx:"3",fill:"#338EEF"}),wp.element.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17 28C21.4183 28 25 24.4183 25 20C25 15.5817 21.4183 12 17 12C12.5817 12 9 15.5817 9 20C9 24.4183 12.5817 28 17 28ZM20.544 21.8756L17.5907 16.7081C17.3281 16.2488 16.6719 16.2488 16.4093 16.7081L13.456 21.8756C13.1935 22.3349 13.5217 22.9091 14.0467 22.9091H19.9533C20.4783 22.9091 20.8065 22.3349 20.544 21.8756Z",fill:"#338EEF"}),wp.element.createElement("rect",{x:"1.5",y:"1.5",width:"67",height:"37",rx:"1.5",stroke:"#E7F2FD",strokeWidth:"3"})),r.themeIcon=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"#EB5757";return wp.element.createElement("svg",{width:"14",height:"19",viewBox:"0 0 14 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M7.875 0.899463C7.875 1.59183 8.0816 2.24711 8.49479 2.8653C8.93229 3.48349 9.44271 4.06458 10.026 4.60859C10.6337 5.15259 11.2292 5.73369 11.8125 6.35188C12.4201 6.97007 12.9306 7.76135 13.3438 8.72572C13.7812 9.66537 14 10.7163 14 11.8785C14 13.832 13.3073 15.5011 11.9219 16.8858C10.5608 18.2953 8.92014 19 7 19C5.07986 19 3.42708 18.2953 2.04167 16.8858C0.680556 15.5011 0 13.832 0 11.8785C0 9.94973 0.668403 8.28062 2.00521 6.87116C2.27257 6.57443 2.58854 6.50024 2.95312 6.64861C3.31771 6.79697 3.5 7.08134 3.5 7.50171V10.6545C3.5 11.3221 3.71875 11.8908 4.15625 12.3607C4.61806 12.8305 5.16493 13.0654 5.79688 13.0654C6.45312 13.0654 7.01215 12.8428 7.47396 12.3978C7.93576 11.9279 8.16667 11.3592 8.16667 10.6916C8.16667 10.2712 8.04514 9.86318 7.80208 9.46754C7.58333 9.0719 7.31597 8.71336 7 8.3919C6.68403 8.07044 6.34375 7.73662 5.97917 7.39043C5.63889 7.04425 5.34722 6.66097 5.10417 6.2406C4.88542 5.82024 4.73958 5.35041 4.66667 4.83114C4.59375 4.31186 4.67882 3.68131 4.92188 2.93948C5.18924 2.17293 5.63889 1.33219 6.27083 0.417277C6.51389 0.0463641 6.84201 -0.0772735 7.25521 0.0463641C7.6684 0.170002 7.875 0.454368 7.875 0.899463Z",fill:e}))},t.a=r},function(e,t,n){"use strict";var r={};r.canaccess=function(e){return"lite"===e},t.a=r},function(e,t,n){"use strict";var r={};r.checkmark=wp.element.createElement("svg",{width:"24",height:"20",viewBox:"0 0 24 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M21.0565 2.94355C23.0188 4.87903 24 7.23118 24 10C24 12.7688 23.0188 15.1344 21.0565 17.0968C19.121 19.0323 16.7688 20 14 20C11.2312 20 8.86559 19.0323 6.90323 17.0968C4.96774 15.1344 4 12.7688 4 10C4 7.23118 4.96774 4.87903 6.90323 2.94355C8.86559 0.981183 11.2312 0 14 0C16.7688 0 19.121 0.981183 21.0565 2.94355ZM12.8306 15.2823L20.25 7.8629C20.5726 7.5672 20.5726 7.27151 20.25 6.97581L19.3629 6.04839C19.0403 5.75269 18.7312 5.75269 18.4355 6.04839L12.3871 12.0968L9.56452 9.27419C9.26882 8.97849 8.95968 8.97849 8.6371 9.27419L7.75 10.2016C7.42742 10.4973 7.42742 10.793 7.75 11.0887L11.9435 15.2823C12.2392 15.6048 12.5349 15.6048 12.8306 15.2823Z",fill:"#338EEF"})),r.chevronright=wp.element.createElement("svg",{width:"8",height:"12",viewBox:"0 0 8 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M7.77369 5.53211L2.28571 0.19266C2.1537 0.0642201 1.9934 -6.52786e-08 1.80481 -5.7035e-08C1.61622 -4.87915e-08 1.45592 0.0642201 1.3239 0.192661L0.701556 0.798165C0.569543 0.926605 0.503536 1.08257 0.503536 1.26605C0.484677 1.44954 0.541254 1.6055 0.673267 1.73394L5.05799 6L0.673268 10.2661C0.541255 10.3945 0.484678 10.5505 0.503537 10.7339C0.503537 10.9174 0.569543 11.0734 0.701556 11.2018L1.3239 11.8073C1.45592 11.9358 1.61622 12 1.80481 12C1.9934 12 2.1537 11.9358 2.28571 11.8073L7.77369 6.46789C7.92456 6.33945 8 6.18349 8 6C8 5.81651 7.92456 5.66055 7.77369 5.53211Z",fill:"#C4C4C4"})),r.chevronleft=wp.element.createElement("svg",{width:"8",height:"12",viewBox:"0 0 8 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M0.226309 5.53211L5.71429 0.19266C5.8463 0.0642201 6.0066 -6.52786e-08 6.19519 -5.7035e-08C6.38378 -4.87915e-08 6.54408 0.0642201 6.6761 0.192661L7.29844 0.798165C7.43046 0.926605 7.49646 1.08257 7.49646 1.26605C7.51532 1.44954 7.45875 1.6055 7.32673 1.73394L2.94201 6L7.32673 10.2661C7.45875 10.3945 7.51532 10.5505 7.49646 10.7339C7.49646 10.9174 7.43046 11.0734 7.29844 11.2018L6.6761 11.8073C6.54408 11.9358 6.38378 12 6.19519 12C6.0066 12 5.8463 11.9358 5.71429 11.8073L0.226309 6.46789C0.0754363 6.33945 6.83386e-07 6.18349 6.91406e-07 6C6.99426e-07 5.81651 0.0754363 5.66055 0.226309 5.53211Z",fill:"#C4C4C4"})),t.a=r},function(e,t,n){"use strict";function r(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 i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){l(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(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 s(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),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}function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(){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}}function m(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}function f(e,t){if(null==e)return{};var n,r,i=m(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return g(e)}function v(e){var t=h();return function(){var n,r=d(e);if(t){var i=d(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return w(this,n)}}function y(e){return b(e)||S(e)||E(e)||_()}function b(e){if(Array.isArray(e))return C(e)}function S(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function E(e,t){if(e){if("string"==typeof e)return C(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?C(e,t):void 0}}function C(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 _(){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 x(e,t){return t={exports:{}},e(t,t.exports),t.exports}function k(){}function O(){}function T(e){return e.map(function(e){return!1===e?null:e}).join(" ").replace(/\s+/g," ").trim()}function M(e,t){return 100/e*t/t}function N(e,t){return 100*e/t}function j(e){return"".concat(e,"%")}function P(e,t,n){if(e===t)return!0;var r=ie[re(e)],i=ie[re(t)];return!(!r||r!==i)&&r(e,t,n)}function D(e){return function(t,n,r){if(!r)return e(t,n,[]);for(var i,o=r.length;i=r[--o];)if(i[0]===t&&i[1]===n)return!0;return e(t,n,r)}}function F(e,t,n){var r=e.length;if(r!==t.length)return!1;for(n.push([e,t]);r--;)if(!P(e[r],t[r],n))return!1;return!0}function A(e,t,n){if("function"==typeof e.equal)return n.push([e,t]),e.equal(t,n);var r=L(e),i=L(t),o=r.length;if(o!==i.length)return!1;for(r.sort(),i.sort();o--;)if(r[o]!==i[o])return!1;for(n.push([e,t]),o=r.length;o--;){var a=r[o];if(!P(e[a],t[a],n))return!1}return!0}function L(e){var t=[];for(var n in e)"constructor"!==n&&t.push(n);return t}function B(e){return!!e&&"object"==typeof e}function z(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||R(e)}function R(e){return e.$$typeof===le}function H(e){return Array.isArray(e)?[]:{}}function I(e,t){return!1!==t.clone&&t.isMergeableObject(e)?W(H(e),e,t):e}function q(e,t,n){return e.concat(t).map(function(e){return I(e,n)})}function V(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach(function(t){r[t]=I(e[t],n)}),Object.keys(t).forEach(function(i){n.isMergeableObject(t[i])&&e[i]?r[i]=W(e[i],t[i],n):r[i]=I(t[i],n)}),r}function W(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||q,n.isMergeableObject=n.isMergeableObject||ae;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):V(e,t,n):I(t,n)}function Z(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return{}},n=function(n){function r(e,n){var s;return o(this,r),s=a.call(this,e,n),s.state=t(i({},n.state)),s.updateStateProps=s.updateStateProps.bind(g(s)),s}u(r,n);var a=v(r);return s(r,[{key:"componentDidMount",value:function(){this.context.subscribe(this.updateStateProps)}},{key:"shouldComponentUpdate",value:function(e,t){return!oe(t,this.state)||!oe(e,this.props)}},{key:"componentWillUnmount",value:function(){this.context.unsubscribe(this.updateStateProps)}},{key:"updateStateProps",value:function(){this.setState(t(i({},this.context.state)))}},{key:"render",value:function(){var t=this,n=de(this.state,this.props);return Y.a.createElement(e,c({ref:function(e){t.instance=e}},n,{carouselStore:{getStoreState:this.context.getStoreState,masterSpinnerError:this.context.masterSpinnerError,masterSpinnerSuccess:this.context.masterSpinnerSuccess,setStoreState:this.context.setStoreState,subscribeMasterSpinner:this.context.subscribeMasterSpinner,unsubscribeAllMasterSpinner:this.context.unsubscribeAllMasterSpinner,unsubscribeMasterSpinner:this.context.unsubscribeMasterSpinner}}),this.props.children)}}]),r}(Y.a.Component);return l(n,"contextType",pe),l(n,"propTypes",{children:J.children}),l(n,"defaultProps",{children:null}),n}n.d(t,"a",function(){return Ne}),n.d(t,"b",function(){return Be}),n.d(t,"c",function(){return we}),n.d(t,"d",function(){return Je}),n.d(t,"e",function(){return St}),n.d(t,"f",function(){return Tt});var U=n(69),Y=n.n(U),X="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";O.resetWarningCache=k;var G=function(){function e(e,t,n,r,i,o){if(o!==X){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:O,resetWarningCache:k};return n.PropTypes=n,n},K=x(function(e){e.exports=G()}),$="loading",J={children:K.oneOfType([K.arrayOf(K.node),K.node]),direction:K.oneOf(["forward","backward"]),height:function(e,t){var n=e[t];return"vertical"!==e.orientation||null!==n&&"number"==typeof n?null:new Error("Missing required property '".concat(t,"' when orientation is vertical. You must supply a number representing the height in pixels"))},orientation:K.oneOf(["horizontal","vertical"]),isBgImage:function(e,t){return!0===e[t]&&"img"===e.tag?new Error("HTML img elements should not have a backgroundImage. Please use ".concat(t," for other block-level HTML tags, like div, a, section, etc...")):null}},Q=function(e){var t=e.min,n=e.max,r=e.x;return Math.min(n,Math.max(t,r))},ee={buttonBack:"buttonBack___1mlaL"},te=["carouselStore","className","currentSlide","disabled","onClick","step","totalSlides","visibleSlides","infinite"],ne=function(e){function t(e){var r;return o(this,t),r=n.call(this,e),r.handleOnClick=r.handleOnClick.bind(g(r)),r}u(t,e);var n=v(t);return s(t,[{key:"handleOnClick",value:function(e){var t=this.props,n=t.carouselStore,r=t.currentSlide,i=t.onClick,o=t.step,a=t.infinite,s=t.visibleSlides,l=t.totalSlides-s,c=Math.max(r-o,0);a&&(c=0===r?l:c),n.setStoreState({currentSlide:c,isPlaying:!1},null!==i&&i.call(this,e))}},{key:"render",value:function(){var e=this.props,n=(e.carouselStore,e.className),r=(e.currentSlide,e.disabled,e.onClick,e.step,e.totalSlides,e.visibleSlides,e.infinite),i=f(e,te),o=T([ee.buttonBack,"carousel__back-button",n]),a=t.setDisabled(this.props.disabled,this.props.currentSlide,r);return Y.a.createElement("button",c({type:"button","aria-label":"previous",className:o,onClick:this.handleOnClick,disabled:a},i),this.props.children)}}],[{key:"setDisabled",value:function(e,t,n){return null!==e?e:0===t&&!n}}]),t}(Y.a.Component);l(ne,"propTypes",{carouselStore:K.object.isRequired,children:J.children.isRequired,className:K.string,currentSlide:K.number.isRequired,disabled:K.bool,onClick:K.func,step:K.number.isRequired,totalSlides:K.number.isRequired,visibleSlides:K.number.isRequired,infinite:K.bool}),l(ne,"defaultProps",{className:null,disabled:null,onClick:null,infinite:!1});var re=x(function(e,t){var n={}.toString,r="undefined"!=typeof window?window.Node:Function;e.exports=t=function(e){var t=typeof e;if("object"!=t)return t;if("object"==(t=i[n.call(e)]))return e instanceof Map?"map":e instanceof Set?"set":"object";if(t)return t;if(e instanceof r)switch(e.nodeType){case 1:return"element";case 3:return"text-node";case 9:return"document";case 11:return"document-fragment";default:return"dom-node"}};var i=t.types={"[object Function]":"function","[object Date]":"date","[object RegExp]":"regexp","[object Arguments]":"arguments","[object Array]":"array","[object Set]":"set","[object String]":"string","[object Null]":"null","[object Undefined]":"undefined","[object Number]":"number","[object Boolean]":"boolean","[object Object]":"object","[object Map]":"map","[object Text]":"text-node","[object Uint8Array]":"bit-array","[object Uint16Array]":"bit-array","[object Uint32Array]":"bit-array","[object Uint8ClampedArray]":"bit-array","[object Error]":"error","[object FormData]":"form-data","[object File]":"file","[object Blob]":"blob"}}),ie=(re.types,{});ie.number=function(e,t){return e!==e&&t!==t},ie.function=function(e,t,n){return e.toString()===t.toString()&&ie.object(e,t,n)&&P(e.prototype,t.prototype)},ie.date=function(e,t){return+e==+t},ie.regexp=function(e,t){return e.toString()===t.toString()},ie.element=function(e,t){return e.outerHTML===t.outerHTML},ie.textnode=function(e,t){return e.textContent===t.textContent},ie.arguments=ie["bit-array"]=ie.array=D(F),ie.object=D(A);var oe=P,ae=function(e){return B(e)&&!z(e)},se="function"==typeof Symbol&&Symbol.for,le=se?Symbol.for("react.element"):60103;W.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,n){return W(e,n,t)},{})};var ce,ue,de=W,pe=Y.a.createContext(),he=function e(t){return Object.freeze(t),Object.getOwnPropertyNames(t).forEach(function(n){!t.hasOwnProperty(n)||null===t[n]||"object"!=typeof t[n]&&"function"!=typeof t[n]||Object.isFrozen(t[n])||e(t[n])}),t},me={masterSpinnerFinished:!1},fe=function(){function e(t){o(this,e),this.state=he(de(me,t)),this.subscriptions=[],this.masterSpinnerSubscriptions={},this.setStoreState=this.setStoreState.bind(this),this.getStoreState=this.getStoreState.bind(this),this.subscribe=this.subscribe.bind(this),this.unsubscribe=this.unsubscribe.bind(this),this.updateSubscribers=this.updateSubscribers.bind(this),this.subscribeMasterSpinner=this.subscribeMasterSpinner.bind(this),this.unsubscribeMasterSpinner=this.unsubscribeMasterSpinner.bind(this),this.unsubscribeAllMasterSpinner=this.unsubscribeAllMasterSpinner.bind(this),this.masterSpinnerSuccess=this.masterSpinnerSuccess.bind(this),this.masterSpinnerError=this.masterSpinnerError.bind(this)}return s(e,[{key:"setStoreState",value:function(e,t){this.state=he(de(this.state,e)),this.updateSubscribers(t)}},{key:"getStoreState",value:function(){return de({},this.state)}},{key:"subscribe",value:function(e){this.subscriptions.push(e)}},{key:"unsubscribe",value:function(e){var t=this.subscriptions.indexOf(e);-1!==t&&this.subscriptions.splice(t,1)}},{key:"updateSubscribers",value:function(e){this.subscriptions.forEach(function(e){return e()}),"function"==typeof e&&e(this.getStoreState())}},{key:"subscribeMasterSpinner",value:function(e){-1===Object.keys(this.masterSpinnerSubscriptions).indexOf(e)&&(this.masterSpinnerSubscriptions[e]={success:!1,error:!1,complete:!1})}},{key:"unsubscribeMasterSpinner",value:function(e){return-1!==Object.keys(this.masterSpinnerSubscriptions).indexOf(e)&&(this.setMasterSpinnerFinished(),delete this.masterSpinnerSubscriptions[e])}},{key:"unsubscribeAllMasterSpinner",value:function(){this.masterSpinnerSubscriptions={},this.setMasterSpinnerFinished()}},{key:"masterSpinnerSuccess",value:function(e){this.masterSpinnerSubscriptions[e].success=!0,this.masterSpinnerSubscriptions[e].complete=!0,this.setMasterSpinnerFinished()}},{key:"masterSpinnerError",value:function(e){this.masterSpinnerSubscriptions[e].error=!0,this.masterSpinnerSubscriptions[e].complete=!0,this.setMasterSpinnerFinished()}},{key:"setMasterSpinnerFinished",value:function(){this.setStoreState({masterSpinnerFinished:this.isMasterSpinnerFinished()})}},{key:"isMasterSpinnerFinished",value:function(){var e=this;return 0===Object.keys(this.masterSpinnerSubscriptions).filter(function(t){return!0!==e.masterSpinnerSubscriptions[t].complete}).length}}]),e}(),ge=["children","className","currentSlide","disableAnimation","disableKeyboard","hasMasterSpinner","interval","isPageScrollLocked","isPlaying","lockOnWindowScroll","naturalSlideHeight","naturalSlideWidth","orientation","playDirection","step","dragStep","tag","totalSlides","touchEnabled","dragEnabled","visibleSlides","infinite","isIntrinsicHeight"],we=(ue=ce=function(e){function t(e){var r;if(o(this,t),r=n.call(this,e),e.isIntrinsicHeight&&"horizontal"!==e.orientation)throw Error('isIntrinsicHeight can only be used in "horizontal" orientation. See Readme for more information.');var i={currentSlide:e.currentSlide,disableAnimation:e.disableAnimation,disableKeyboard:e.disableKeyboard,hasMasterSpinner:e.hasMasterSpinner,imageErrorCount:0,imageSuccessCount:0,interval:e.interval,isPageScrollLocked:e.isPageScrollLocked,isPlaying:e.isPlaying,lockOnWindowScroll:e.lockOnWindowScroll,masterSpinnerThreshold:0,naturalSlideHeight:e.naturalSlideHeight,naturalSlideWidth:e.naturalSlideWidth,orientation:e.orientation,playDirection:e.playDirection,privateUnDisableAnimation:!1,slideSize:M(e.totalSlides,e.visibleSlides),slideTraySize:N(e.totalSlides,e.visibleSlides),step:e.step,dragStep:e.dragStep,totalSlides:e.totalSlides,touchEnabled:e.touchEnabled,dragEnabled:e.dragEnabled,visibleSlides:e.visibleSlides,infinite:e.infinite,isIntrinsicHeight:e.isIntrinsicHeight};return r.carouselStore=new fe(i),r}u(t,e);var n=v(t);return s(t,[{key:"componentDidUpdate",value:function(e){var t=this,n={};["currentSlide","disableAnimation","disableKeyboard","hasMasterSpinner","interval","isPlaying","naturalSlideHeight","naturalSlideWidth","lockOnWindowScroll","orientation","playDirection","step","dragStep","totalSlides","touchEnabled","dragEnabled","visibleSlides"].forEach(function(r){e[r]!==t.props[r]&&(n[r]=t.props[r])}),this.props.currentSlide!==e.currentSlide&&!this.props.disableAnimation&&(n.disableAnimation=!0,n.privateUnDisableAnimation=!0),this.props.totalSlides===e.totalSlides&&this.props.visibleSlides===e.visibleSlides||(n.slideSize=M(this.props.totalSlides,this.props.visibleSlides),n.slideTraySize=N(this.props.totalSlides,this.props.visibleSlides)),this.carouselStore.state.currentSlide>=this.props.totalSlides&&(n.currentSlide=Math.max(this.props.totalSlides-1,0)),Object.keys(n).length>0&&this.carouselStore.setStoreState(n)}},{key:"componentWillUnmount",value:function(){this.carouselStore.unsubscribeAllMasterSpinner()}},{key:"getStore",value:function(){return this.carouselStore}},{key:"render",value:function(){var e=this.props,t=(e.children,e.className,e.currentSlide,e.disableAnimation,e.disableKeyboard,e.hasMasterSpinner,e.interval,e.isPageScrollLocked,e.isPlaying,e.lockOnWindowScroll,e.naturalSlideHeight,e.naturalSlideWidth,e.orientation,e.playDirection,e.step,e.dragStep,e.tag),n=(e.totalSlides,e.touchEnabled,e.dragEnabled,e.visibleSlides,e.infinite,e.isIntrinsicHeight,f(e,ge)),r=T(["carousel",this.props.className]);return Y.a.createElement(t,c({className:r},n),Y.a.createElement(pe.Provider,{value:this.carouselStore},this.props.children))}}]),t}(Y.a.Component),l(ce,"propTypes",{children:J.children.isRequired,className:K.string,currentSlide:K.number,disableAnimation:K.bool,disableKeyboard:K.bool,hasMasterSpinner:K.bool,interval:K.number,isPageScrollLocked:K.bool,isPlaying:K.bool,lockOnWindowScroll:K.bool,naturalSlideHeight:K.number.isRequired,naturalSlideWidth:K.number.isRequired,orientation:J.orientation,playDirection:J.direction,step:K.number,dragStep:K.number,tag:K.string,totalSlides:K.number.isRequired,touchEnabled:K.bool,dragEnabled:K.bool,visibleSlides:K.number,infinite:K.bool,isIntrinsicHeight:K.bool}),l(ce,"defaultProps",{className:null,currentSlide:0,disableAnimation:!1,disableKeyboard:!1,hasMasterSpinner:!1,interval:5e3,isPageScrollLocked:!1,isPlaying:!1,lockOnWindowScroll:!1,orientation:"horizontal",playDirection:"forward",step:1,dragStep:1,tag:"div",touchEnabled:!0,dragEnabled:!0,visibleSlides:1,infinite:!1,isIntrinsicHeight:!1}),ue);pe.Consumer;var ve,ye,be,Se,Ee,Ce,_e,xe,ke,Oe,Te,Me,Ne=Z(ne,function(e){return{currentSlide:e.currentSlide,step:e.step,totalSlides:e.totalSlides,visibleSlides:e.visibleSlides,infinite:e.infinite}}),je={buttonFirst:"buttonFirst___2rhFr"},Pe=["carouselStore","className","currentSlide","disabled","onClick","totalSlides"],De=(ye=ve=function(e){function t(){var e;return o(this,t),e=n.call(this),e.handleOnClick=e.handleOnClick.bind(g(e)),e}u(t,e);var n=v(t);return s(t,[{key:"handleOnClick",value:function(e){var t=this.props,n=t.carouselStore,r=t.onClick;n.setStoreState({currentSlide:0,isPlaying:!1},null!==r&&r.call(this,e))}},{key:"render",value:function(){var e=this.props,t=(e.carouselStore,e.className),n=e.currentSlide,r=e.disabled,i=(e.onClick,e.totalSlides,f(e,Pe)),o=T([je.buttonFirst,"carousel__first-button",t]),a=null!==r?r:0===n;return Y.a.createElement("button",c({type:"button","aria-label":"first",className:o,onClick:this.handleOnClick,disabled:a},i),this.props.children)}}]),t}(Y.a.Component),l(ve,"propTypes",{carouselStore:K.object.isRequired,children:J.children.isRequired,className:K.string,currentSlide:K.number.isRequired,disabled:K.bool,onClick:K.func,totalSlides:K.number.isRequired}),l(ve,"defaultProps",{className:null,disabled:null,onClick:null}),ye),Fe=(Z(De,function(e){return{currentSlide:e.currentSlide,totalSlides:e.totalSlides}}),{buttonNext:"buttonNext___2mOCa"}),Ae=["carouselStore","className","currentSlide","disabled","onClick","step","totalSlides","visibleSlides","infinite"],Le=(Se=be=function(e){function t(e){var r;return o(this,t),r=n.call(this,e),r.handleOnClick=r.handleOnClick.bind(g(r)),r}u(t,e);var n=v(t);return s(t,[{key:"handleOnClick",value:function(e){var t=this.props,n=t.currentSlide,r=t.onClick,i=t.step,o=t.carouselStore,a=t.infinite,s=t.totalSlides-t.visibleSlides,l=i+n,c=Math.min(l,s);a&&(c=s===n?0:c),o.setStoreState({currentSlide:c,isPlaying:!1},null!==r&&r.call(this,e))}},{key:"render",value:function(){var e=this.props,n=(e.carouselStore,e.className),r=e.currentSlide,i=e.disabled,o=(e.onClick,e.step,e.totalSlides),a=e.visibleSlides,s=e.infinite,l=f(e,Ae),u=T([Fe.buttonNext,"carousel__next-button",n]),d=t.setDisabled(i,r,a,o,s);return Y.a.createElement("button",c({type:"button","aria-label":"next",className:u,onClick:this.handleOnClick,disabled:d},l),this.props.children)}}],[{key:"setDisabled",value:function(e,t,n,r,i){return null!==e?e:t>=r-n&&!i}}]),t}(Y.a.PureComponent),l(be,"propTypes",{carouselStore:K.object.isRequired,children:J.children.isRequired,className:K.string,currentSlide:K.number.isRequired,disabled:K.bool,onClick:K.func,step:K.number.isRequired,totalSlides:K.number.isRequired,visibleSlides:K.number.isRequired,infinite:K.bool}),l(be,"defaultProps",{className:null,disabled:null,onClick:null,infinite:!1}),Se),Be=Z(Le,function(e){return{currentSlide:e.currentSlide,step:e.step,totalSlides:e.totalSlides,visibleSlides:e.visibleSlides,infinite:e.infinite}}),ze={buttonLast:"buttonLast___2yuh0"},Re=["carouselStore","className","currentSlide","disabled","onClick","totalSlides","visibleSlides"],He=(Ce=Ee=function(e){function t(){var e;return o(this,t),e=n.call(this),e.handleOnClick=e.handleOnClick.bind(g(e)),e}u(t,e);var n=v(t);return s(t,[{key:"handleOnClick",value:function(e){var t=this.props,n=t.carouselStore,r=t.onClick,i=t.totalSlides,o=t.visibleSlides;n.setStoreState({currentSlide:i-o,isPlaying:!1},null!==r&&r.call(this,e))}},{key:"render",value:function(){var e=this.props,t=(e.carouselStore,e.className),n=e.currentSlide,r=e.disabled,i=(e.onClick,e.totalSlides),o=e.visibleSlides,a=f(e,Re),s=T([ze.buttonLast,"carousel__last-button",t]),l=null!==r?r:n>=i-o;return Y.a.createElement("button",c({type:"button","aria-label":"last",className:s,onClick:this.handleOnClick,disabled:l},a),this.props.children)}}]),t}(Y.a.Component),l(Ee,"propTypes",{carouselStore:K.object.isRequired,children:J.children.isRequired,className:K.string,currentSlide:K.number.isRequired,disabled:K.bool,onClick:K.func,totalSlides:K.number.isRequired,visibleSlides:K.number.isRequired}),l(Ee,"defaultProps",{className:null,disabled:null,onClick:null}),Ce),Ie=(Z(He,function(e){return{currentSlide:e.currentSlide,totalSlides:e.totalSlides,visibleSlides:e.visibleSlides}}),{buttonNext:"buttonNext___3Lm3s"}),qe=["carouselStore","children","childrenPaused","childrenPlaying","className","isPlaying","onClick"],Ve=(xe=_e=function(e){function t(e){var r;return o(this,t),r=n.call(this,e),r.handleOnClick=r.handleOnClick.bind(g(r)),r}u(t,e);var n=v(t);return s(t,[{key:"handleOnClick",value:function(e){var t=this.props.onClick;this.props.carouselStore.setStoreState({isPlaying:!this.props.isPlaying},null!==t&&t.call(this,e))}},{key:"render",value:function(){var e=this.props,t=(e.carouselStore,e.children,e.childrenPaused),n=e.childrenPlaying,r=e.className,i=e.isPlaying,o=(e.onClick,f(e,qe)),a=T([Ie.buttonNext,"carousel__play-button",r]);return Y.a.createElement("button",c({type:"button","aria-label":"play",className:a,onClick:this.handleOnClick},o),i&&n,!i&&t,this.props.children)}}]),t}(Y.a.PureComponent),l(_e,"propTypes",{carouselStore:K.object.isRequired,children:K.node,childrenPaused:K.node,childrenPlaying:K.node,className:K.string,isPlaying:K.bool.isRequired,onClick:K.func}),l(_e,"defaultProps",{children:null,childrenPaused:null,childrenPlaying:null,className:null,onClick:null}),xe),We=(Z(Ve,function(e){return{isPlaying:e.isPlaying}}),{dot:"dot___3c3SI"}),Ze=["carouselStore","children","className","currentSlide","disabled","onClick","selected","slide","totalSlides","visibleSlides"],Ue=(Oe=ke=function(e){function t(e){var r;return o(this,t),r=n.call(this,e),r.handleOnClick=r.handleOnClick.bind(g(r)),r}u(t,e);var n=v(t);return s(t,[{key:"handleOnClick",value:function(e){var t=this.props,n=t.carouselStore,r=t.onClick,i=t.slide,o=t.totalSlides,a=t.visibleSlides,s=i>=o-a?o-a:i;n.setStoreState({currentSlide:s,isPlaying:!1},null!==r&&r.call(this,e))}},{key:"render",value:function(){var e=this.props,t=(e.carouselStore,e.children,e.className),n=e.currentSlide,r=e.disabled,i=(e.onClick,e.selected),o=e.slide,a=(e.totalSlides,e.visibleSlides),s=f(e,Ze),l=o>=n&&o<n+a,u="boolean"==typeof i?i:l,d=!0===l,p="boolean"==typeof r?r:d,h=T([We.dot,u&&We.dotSelected,"carousel__dot","carousel__dot--".concat(o),u&&"carousel__dot--selected",t]);return Y.a.createElement("button",c({"aria-label":"slide dot",type:"button",onClick:this.handleOnClick,className:h,disabled:p},s),this.props.children)}}]),t}(Y.a.Component),l(ke,"propTypes",{carouselStore:K.object.isRequired,children:J.children,className:K.string,currentSlide:K.number.isRequired,disabled:K.bool,onClick:K.func,selected:K.bool,slide:K.number.isRequired,totalSlides:K.number.isRequired,visibleSlides:K.number.isRequired}),l(ke,"defaultProps",{children:null,className:null,disabled:null,onClick:null,selected:null}),Oe),Ye=Z(Ue,function(e){return{currentSlide:e.currentSlide,totalSlides:e.totalSlides,visibleSlides:e.visibleSlides}}),Xe={},Ge=["renderDots"],Ke=["carouselStore","children","className","currentSlide","dotNumbers","totalSlides","visibleSlides","disableActiveDots","showAsSelectedForCurrentSlideOnly","renderDots"],$e=(Me=Te=function(e){function t(){return o(this,t),n.apply(this,arguments)}u(t,e);var n=v(t);return s(t,[{key:"renderDots",value:function(){var e=this.props,t=e.currentSlide,n=e.totalSlides,r=e.visibleSlides,i=e.disableActiveDots,o=e.showAsSelectedForCurrentSlideOnly,a=e.renderDots;if(a){var s=this.props;return s.renderDots,a(f(s,Ge))}for(var l=[],c=0;c<n;c+=1){var u=c>=t&&c<t+r,d=c===t,p=o?d:u,h=c>=n-r?n-r:c;l.push(Y.a.createElement(Ye,{key:c,slide:h,selected:p,disabled:!!i&&p},Y.a.createElement("span",{className:T["carousel__dot-group-dot"]},this.props.dotNumbers&&c+1)))}return l}},{key:"render",value:function(){var e=this.props,t=(e.carouselStore,e.children),n=e.className,r=(e.currentSlide,e.dotNumbers,e.totalSlides,e.visibleSlides,e.disableActiveDots,e.showAsSelectedForCurrentSlideOnly,e.renderDots,f(e,Ke)),i=T([Xe.DotGroup,"carousel__dot-group",n]);return Y.a.createElement("div",c({className:i},r),this.renderDots(),t)}}]),t}(Y.a.Component),l(Te,"propTypes",{children:J.children,className:K.string,currentSlide:K.number.isRequired,carouselStore:K.object.isRequired,totalSlides:K.number.isRequired,visibleSlides:K.number.isRequired,dotNumbers:K.bool,disableActiveDots:K.bool,showAsSelectedForCurrentSlideOnly:K.bool,renderDots:K.func}),l(Te,"defaultProps",{children:null,className:null,dotNumbers:!1,disableActiveDots:!0,showAsSelectedForCurrentSlideOnly:!1,renderDots:null}),Me),Je=Z($e,function(e){return{currentSlide:e.currentSlide,totalSlides:e.totalSlides,visibleSlides:e.visibleSlides}}),Qe={image:"image___xtQGH"},et=["src","alt"],tt=["carouselStore","children","className","hasMasterSpinner","isBgImage","onError","onLoad","renderError","renderLoading","style","tag"],nt=function(e){function t(e){var r;return o(this,t),r=n.call(this,e),r.state={imageStatus:$},r.handleImageLoad=r.handleImageLoad.bind(g(r)),r.handleImageError=r.handleImageError.bind(g(r)),r.image=null,r}u(t,e);var n=v(t);return s(t,[{key:"componentDidMount",value:function(){t.subscribeMasterSpinner(this.props),this.initImage()}},{key:"componentDidUpdate",value:function(e){e.src!==this.props.src&&(t.unsubscribeMasterSpinner(e),t.subscribeMasterSpinner(this.props),this.initImage())}},{key:"componentWillUnmount",value:function(){t.unsubscribeMasterSpinner(this.props),this.image.removeEventListener("load",this.handleImageLoad),this.image.removeEventListener("error",this.handleImageError),this.image=null}},{key:"initImage",value:function(){if(this.setState({imageStatus:$}),this.image=document.createElement("img"),this.image.addEventListener("load",this.handleImageLoad,!1),this.image.addEventListener("error",this.handleImageError,!1),this.image.src=this.props.src,this.image.readyState||this.image.complete){var e=this.image.src;this.image.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==",this.image.src=e}}},{key:"handleImageLoad",value:function(e){this.setState({imageStatus:"success"}),this.props.hasMasterSpinner&&this.props.carouselStore.masterSpinnerSuccess(this.props.src),this.props.onLoad&&this.props.onLoad(e)}},{key:"handleImageError",value:function(e){this.setState({imageStatus:"error"}),this.props.hasMasterSpinner&&this.props.carouselStore.masterSpinnerError(this.props.src),this.props.onError&&this.props.onError(e)}},{key:"tempTag",value:function(){return"img"===this.props.tag?"div":this.props.tag}},{key:"customRender",value:function(e){return"function"==typeof this.props[e]?this.props[e]():this.props.children}},{key:"renderLoading",value:function(e){var t=this.tempTag(),n=T([Qe.image,Qe.imageLoading,"carousel__image",this.props.isBgImage&&"carousel__image--with-background","carousel__image--loading",this.props.className]);return Y.a.createElement(t,c({className:n},e),this.customRender("renderLoading"))}},{key:"renderError",value:function(e){var t=this.tempTag(),n=T([Qe.image,Qe.imageError,"carousel__image",this.props.isBgImage&&"carousel__image--with-background","carousel__image--error",this.props.className]);return Y.a.createElement(t,c({className:n},e),this.customRender("renderError"))}},{key:"renderSuccess",value:function(e){var t=this.props,n=t.style,r=t.tag,i=T([Qe.image,"carousel__image",this.props.isBgImage&&"carousel__image--with-background","carousel__image--success",this.props.className]),o=c({},n),a=e;if("img"!==r){var s=e.src;e.alt,a=f(e,et),o=c({},n,{backgroundImage:'url("'.concat(s,'")'),backgroundSize:"cover"})}return Y.a.createElement(r,c({className:i,style:o},a),this.props.children)}},{key:"render",value:function(){var e=this.props,t=(e.carouselStore,e.children,e.className,e.hasMasterSpinner,e.isBgImage,e.onError,e.onLoad,e.renderError,e.renderLoading,e.style,e.tag,f(e,tt));switch(this.state.imageStatus){case $:return this.renderLoading(t);case"success":return this.renderSuccess(t);case"error":return this.renderError(t);default:throw new Error("unknown value for this.state.imageStatus")}}}],[{key:"subscribeMasterSpinner",value:function(e){e.hasMasterSpinner&&e.carouselStore.subscribeMasterSpinner(e.src)}},{key:"unsubscribeMasterSpinner",value:function(e){e.hasMasterSpinner&&e.carouselStore.unsubscribeMasterSpinner(e.src)}}]),t}(Y.a.Component);l(nt,"propTypes",{alt:K.string,carouselStore:K.object.isRequired,children:J.children,className:K.string,hasMasterSpinner:K.bool.isRequired,isBgImage:J.isBgImage,onError:K.func,onLoad:K.func,renderError:K.func,renderLoading:K.func,src:K.string.isRequired,style:K.object,tag:K.string}),l(nt,"defaultProps",{alt:"",children:null,className:null,isBgImage:!1,onError:null,onLoad:null,renderError:null,renderLoading:null,style:null,tag:"img"});var rt,it,ot,at,st,lt,ct,ut,dt=Z(nt,function(e){return{hasMasterSpinner:e.hasMasterSpinner,orientation:e.orientation}}),pt={spinner:"spinner___27VUp",spin:"spin___S3UuE"},ht=["className"],mt=(it=rt=function(e){function t(){return o(this,t),n.apply(this,arguments)}u(t,e);var n=v(t);return s(t,[{key:"render",value:function(){var e=this.props,t=e.className,n=f(e,ht),r=T([pt.spinner,"carousel__spinner",t]);return Y.a.createElement("div",c({className:r},n))}}]),t}(Y.a.PureComponent),l(rt,"propTypes",{className:K.string}),l(rt,"defaultProps",{className:null}),it),ft={container:"container___2O72F",overlay:"overlay___IV4qY",hover:"hover___MYy31",zoom:"zoom___3kqYk",loading:"loading___1pvNI",imageLoadingSpinnerContainer:"imageLoadingSpinnerContainer___3UIPD"},gt=["alt","bgImageProps","bgImageTag","carouselStore","className","imageClassName","overlayClassName","isPinchZoomEnabled","spinner","src","srcZoomed","tag"],wt=(at=ot=function(e){function t(e){var r;return o(this,t),r=n.call(this,e),r.state={isImageLoading:!0,isHovering:!1,isZooming:!1,x:null,y:null,scale:1},r.tpCache={},r.handleImageComplete=r.handleImageComplete.bind(g(r)),r.handleOnMouseMove=r.handleOnMouseMove.bind(g(r)),r.handleOnMouseOut=r.handleOnMouseOut.bind(g(r)),r.handleOnMouseOver=r.handleOnMouseOver.bind(g(r)),r.handleOnTouchEnd=r.handleOnTouchEnd.bind(g(r)),r.handleOnTouchMove=r.handleOnTouchMove.bind(g(r)),r.handleOnTouchStart=r.handleOnTouchStart.bind(g(r)),r}u(t,e);var n=v(t);return s(t,[{key:"componentDidUpdate",value:function(e,t){!1===t.isZooming&&!0===this.state.isZooming&&this.props.carouselStore.setStoreState({isPageScrollLocked:!0}),!0===t.isZooming&&!1===this.state.isZooming&&this.props.carouselStore.setStoreState({isPageScrollLocked:!1})}},{key:"handleImageComplete",value:function(){this.setState({isImageLoading:!1})}},{key:"handleOnMouseOver",value:function(){this.state.isZooming||this.setState({isHovering:!0,scale:2})}},{key:"handleOnMouseOut",value:function(){this.state.isZooming||this.setState({isHovering:!1,scale:1})}},{key:"handleOnMouseMove",value:function(e){if(!this.state.isZooming){var t=j(e.nativeEvent.offsetX/e.target.offsetWidth*100),n=j(e.nativeEvent.offsetY/e.target.offsetHeight*100);this.setState({x:t,y:n})}}},{key:"handleOnTouchStart",value:function(e){var t=this;this.props.isPinchZoomEnabled&&(y(e.targetTouches).forEach(function(e){t.tpCache[e.identifier]={clientX:e.clientX,clientY:e.clientY}}),this.setState(function(e){return{isZooming:e.isZooming||Object.keys(t.tpCache).length>1}}))}},{key:"handleOnTouchMove",value:function(e){var n=this;if(this.state.isZooming){e.persist();var r=y(e.targetTouches).filter(function(e){return n.tpCache[e.identifier]}).slice(0,2);if(2===r.length){e.stopPropagation();var o=e.target.getBoundingClientRect(),a=r[0].identifier,s=r[1].identifier,l={x1:this.tpCache[a].clientX,y1:this.tpCache[a].clientY,x2:this.tpCache[s].clientX,y2:this.tpCache[s].clientY};l.distance=t.distanceBetweenTwoTouches(i({},l));var c=t.midpointBetweenTwoTouches(i({},l));l.cx=c.x,l.cy=c.y;var u={x1:r[0].clientX,y1:r[0].clientY,x2:r[1].clientX,y2:r[1].clientY};u.distance=t.distanceBetweenTwoTouches(i({},u));var d=t.midpointBetweenTwoTouches(i({},u));u.cx=d.x,u.cy=d.y;var p=j(Q({min:0,max:100,x:(u.cx-o.left)/o.width*100})),h=j(Q({min:0,max:100,x:(u.cy-o.top)/o.height*100})),m=function(e){return Q({min:1,max:3,x:e.scale+(u.distance-l.distance)/100})};this.setState(function(e){return{isZooming:1!==m(e),scale:m(e),x:p,y:h}})}}}},{key:"handleOnTouchEnd",value:function(e){var t=this;this.props.isPinchZoomEnabled&&(y(e.changedTouches).forEach(function(e){delete t.tpCache[e.identifier]}),0===Object.keys(this.tpCache).length&&this.setState({isZooming:!1}))}},{key:"renderLoading",value:function(){if(this.state.isImageLoading){var e=this.props.spinner;return Y.a.createElement("div",{className:T([ft.imageLoadingSpinnerContainer,"carousel__image-loading-spinner-container"])},e&&e(),!e&&Y.a.createElement(mt,null))}return null}},{key:"render",value:function(){var e=this.props,t=e.alt,n=e.bgImageProps,r=e.bgImageTag,i=(e.carouselStore,e.className),o=e.imageClassName,a=e.overlayClassName,s=(e.isPinchZoomEnabled,e.spinner,e.src),l=e.srcZoomed,u=e.tag,d=f(e,gt),p=T([ft.container,i]),h=T([ft.image,"carousel__zoom-image",o]),m=T([ft.overlay,"carousel__zoom-image-overlay",this.state.isHovering&&ft.hover,this.state.isZooming&&ft.zoom,this.state.isHovering&&"carousel__zoom-image-overlay--hovering",this.state.isZooming&&"carousel__zoom-image-overlay--zooming",a]),g={};return(this.state.isHovering||this.state.isZooming)&&(g.transformOrigin="".concat(this.state.x," ").concat(this.state.y),g.transform="scale(".concat(this.state.scale,")")),Y.a.createElement(u,c({className:p},d),Y.a.createElement(dt,c({alt:t,className:h,tag:r,src:s,onLoad:this.handleImageComplete,onError:this.handleImageComplete},n)),Y.a.createElement(dt,{className:m,tag:"div",src:l||s,style:g,isBgImage:!0,onFocus:this.handleOnMouseOver,onMouseOver:this.handleOnMouseOver,onBlur:this.handleOnMouseOut,onMouseOut:this.handleOnMouseOut,onMouseMove:this.handleOnMouseMove,onTouchStart:this.handleOnTouchStart,onTouchEnd:this.handleOnTouchEnd,onTouchMove:this.handleOnTouchMove}),this.renderLoading())}}],[{key:"midpointBetweenTwoTouches",value:function(e){var t=e.x1,n=e.y1;return{x:(t+e.x2)/2,y:(n+e.y2)/2}}},{key:"distanceBetweenTwoTouches",value:function(e){var t=e.x1,n=e.y1,r=e.x2,i=e.y2;return Math.sqrt(Math.pow(r-t,2)+Math.pow(i-n,2))}}]),t}(Y.a.Component),l(ot,"propTypes",{alt:K.string,bgImageProps:K.object,bgImageTag:K.string,carouselStore:K.object.isRequired,className:K.string,imageClassName:K.string,overlayClassName:K.string,spinner:K.func,src:K.string.isRequired,srcZoomed:K.string,tag:K.string,isPinchZoomEnabled:K.bool}),l(ot,"defaultProps",{alt:void 0,bgImageProps:{},bgImageTag:"div",className:null,imageClassName:null,overlayClassName:null,isPinchZoomEnabled:!0,spinner:null,srcZoomed:null,tag:"div"}),at),vt=(Z(wt,function(){return{}}),{slide:"slide___3-Nqo",slideHorizontal:"slideHorizontal___1NzNV",slideInner:"slideInner___2mfX9",focusRing:"focusRing___1airF"}),yt=["ariaLabel","carouselStore","children","className","classNameHidden","classNameVisible","currentSlide","index","innerClassName","innerTag","naturalSlideHeight","naturalSlideWidth","onBlur","onFocus","orientation","slideSize","style","tabIndex","tag","totalSlides","visibleSlides","isIntrinsicHeight"],bt=(lt=st=function(e){function t(e){var r;return o(this,t),r=n.call(this,e),r.handleOnFocus=r.handleOnFocus.bind(g(r)),r.handleOnBlur=r.handleOnBlur.bind(g(r)),r.state={focused:!1},r}u(t,e);var n=v(t);return s(t,[{key:"isVisible",value:function(){var e=this.props,t=e.currentSlide,n=e.index,r=e.visibleSlides;return n>=t&&n<t+r}},{key:"handleOnFocus",value:function(e){var t=this,n=this.props.onFocus;this.setState({focused:!0},function(){null!==n&&n.call(t,e)})}},{key:"handleOnBlur",value:function(e){var t=this,n=this.props.onBlur;this.setState({focused:!1},function(){null!==n&&n.call(t,e)})}},{key:"renderFocusRing",value:function(){return this.state.focused?Y.a.createElement("div",{className:[vt.focusRing,"carousel__slide-focus-ring"].join(" ")}):null}},{key:"render",value:function(){var e=this,t=this.props,n=t.ariaLabel,r=(t.carouselStore,t.children,t.className),i=t.classNameHidden,o=t.classNameVisible,a=(t.currentSlide,t.index,t.innerClassName),s=t.innerTag,l=t.naturalSlideHeight,u=t.naturalSlideWidth,d=(t.onBlur,t.onFocus,t.orientation),p=t.slideSize,h=t.style,m=t.tabIndex,g=t.tag,w=t.totalSlides,v=(t.visibleSlides,t.isIntrinsicHeight),y=f(t,yt),b={};"horizontal"===d?(b.width=j(p),b.paddingBottom=j(100*l/(u*w))):(b.width=j(100),b.paddingBottom=j(100*l/u));var S={};v&&("horizontal"===d?b.height="unset":b.width="unset",b.paddingBottom="unset",S.position="unset");var E=c({},b,h),C=this.isVisible(),_=T([vt.slide,"horizontal"===d&&vt.slideHorizontal,"carousel__slide",this.state.focused&&"carousel__slide--focused",C&&o,C&&"carousel__slide--visible",!C&&i,!C&&"carousel__slide--hidden",r]),x=T([vt.slideInner,"carousel__inner-slide",a]),k=this.isVisible()?0:-1,O="number"==typeof m?m:k;return Y.a.createElement(g,c({ref:function(t){e.tagRef=t},tabIndex:O,"aria-selected":this.isVisible(),"aria-label":n,role:"option",onFocus:this.handleOnFocus,onBlur:this.handleOnBlur,className:_,style:E},y),Y.a.createElement(s,{ref:function(t){e.innerTagRef=t},className:x,style:S},this.props.children,this.renderFocusRing()))}}]),t}(Y.a.PureComponent),l(st,"propTypes",{ariaLabel:K.string,carouselStore:K.object,children:J.children,className:K.string,classNameHidden:K.string,classNameVisible:K.string,currentSlide:K.number.isRequired,index:K.number.isRequired,innerClassName:K.string,innerTag:K.string,naturalSlideHeight:K.number.isRequired,naturalSlideWidth:K.number.isRequired,onBlur:K.func,onFocus:K.func,orientation:J.orientation.isRequired,slideSize:K.number.isRequired,style:K.object,tabIndex:K.number,tag:K.string,totalSlides:K.number.isRequired,visibleSlides:K.number.isRequired,isIntrinsicHeight:K.bool}),l(st,"defaultProps",{ariaLabel:"slide",carouselStore:null,children:null,className:null,classNameHidden:null,classNameVisible:null,innerClassName:null,innerTag:"div",onBlur:null,onFocus:null,style:{},tabIndex:null,tag:"div",isIntrinsicHeight:!1}),lt),St=Z(bt,function(e){return{currentSlide:e.currentSlide,naturalSlideHeight:e.naturalSlideHeight,naturalSlideWidth:e.naturalSlideWidth,orientation:e.orientation,slideSize:e.slideSize,totalSlides:e.totalSlides,visibleSlides:e.visibleSlides,isIntrinsicHeight:e.isIntrinsicHeight}}),Et=function(){function e(){o(this,e)}return s(e,[{key:"parents",value:function(e,t){return null===e.parentNode?t:this.parents(e.parentNode,t.concat([e]))}},{key:"scrollParent",value:function(t){for(var n=this.parents(t.parentNode,[]),r=0;r<n.length;r+=1)if(e.scroll(n[r]))return n[r];return document.scrollingElement||document.documentElement}},{key:"getScrollParent",value:function(t){return e.isNodeValid(t)?this.scrollParent(t):null}}],[{key:"style",value:function(e,t){return getComputedStyle(e,null).getPropertyValue(t)}},{key:"overflow",value:function(t){return e.style(t,"overflow")+e.style(t,"overflow-y")+e.style(t,"overflow-x")}},{key:"scroll",value:function(t){return/(auto|scroll)/.test(e.overflow(t))}},{key:"isNodeValid",value:function(e){return e instanceof HTMLElement||e instanceof SVGElement}}]),e}(),Ct={horizontalSlider:"horizontalSlider___281Ls",horizontalSliderTray:"horizontalSliderTray___1L-0W",verticalSlider:"verticalSlider___34ZFD",verticalSliderTray:"verticalSliderTray___267D8",verticalTray:"verticalTray___12Key",verticalSlideTrayWrap:"verticalSlideTrayWrap___2nO7o",sliderTray:"sliderTray___-vHFQ",sliderAnimation:"sliderAnimation___300FY",masterSpinnerContainer:"masterSpinnerContainer___1Z6hB"},_t=["ariaLabel","carouselStore","children","className","classNameAnimation","classNameTray","classNameTrayWrap","currentSlide","disableAnimation","disableKeyboard","dragEnabled","hasMasterSpinner","interval","isPageScrollLocked","isPlaying","lockOnWindowScroll","masterSpinnerFinished","moveThreshold","naturalSlideHeight","naturalSlideWidth","onMasterSpinner","orientation","playDirection","privateUnDisableAnimation","slideSize","slideTraySize","spinner","style","tabIndex","totalSlides","touchEnabled","trayProps","trayTag","visibleSlides","isIntrinsicHeight"],xt=["dragStep","step","infinite"],kt=["className","onClickCapture","onMouseDown","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","ref","style"],Ot=(ut=ct=function(e){function t(e){var r;return o(this,t),r=n.call(this,e),r.getSliderRef=r.getSliderRef.bind(g(r)),r.handleDocumentScroll=r.handleDocumentScroll.bind(g(r)),r.handleOnClickCapture=r.handleOnClickCapture.bind(g(r)),r.handleOnKeyDown=r.handleOnKeyDown.bind(g(r)),r.handleOnMouseDown=r.handleOnMouseDown.bind(g(r)),r.handleOnMouseMove=r.handleOnMouseMove.bind(g(r)),r.handleOnMouseUp=r.handleOnMouseUp.bind(g(r)),r.handleOnTouchCancel=r.handleOnTouchCancel.bind(g(r)),r.handleOnTouchEnd=r.handleOnTouchEnd.bind(g(r)),r.handleOnTouchMove=r.handleOnTouchMove.bind(g(r)),r.handleOnTouchStart=r.handleOnTouchStart.bind(g(r)),r.playBackward=r.playBackward.bind(g(r)),r.playForward=r.playForward.bind(g(r)),r.callCallback=r.callCallback.bind(g(r)),r.state={cancelNextClick:!1,deltaX:0,deltaY:0,isBeingMouseDragged:!1,isBeingTouchDragged:!1,startX:0,startY:0},r.interval=null,r.isDocumentScrolling=null,r.moveTimer=null,r.originalOverflow=null,r.scrollParent=null,r.scrollStopTimer=null,r}u(t,e);var n=v(t);return s(t,[{key:"componentDidMount",value:function(){this.props.lockOnWindowScroll&&window.addEventListener("scroll",this.handleDocumentScroll,!1),document.documentElement.addEventListener("mouseleave",this.handleOnMouseUp,!1),document.documentElement.addEventListener("mousemove",this.handleOnMouseMove,!1),document.documentElement.addEventListener("mouseup",this.handleOnMouseUp,!1),this.props.isPlaying&&this.play()}},{key:"componentDidUpdate",value:function(e){!e.isPlaying&&this.props.isPlaying&&this.play(),e.isPlaying&&!this.props.isPlaying&&this.stop(),!e.isPageScrollLocked&&this.props.isPageScrollLocked&&this.lockScroll(),e.isPageScrollLocked&&!this.props.isPageScrollLocked&&this.unlockScroll(),!1===e.privateUnDisableAnimation&&!0===this.props.privateUnDisableAnimation&&this.props.carouselStore.setStoreState({privateUnDisableAnimation:!1,disableAnimation:!1})}},{key:"componentWillUnmount",value:function(){document.documentElement.removeEventListener("mouseleave",this.handleOnMouseUp,!1),document.documentElement.removeEventListener("mousemove",this.handleOnMouseMove,!1),document.documentElement.removeEventListener("mouseup",this.handleOnMouseUp,!1),window.removeEventListener("scroll",this.handleDocumentScroll,!1),this.stop(),window.cancelAnimationFrame.call(window,this.moveTimer),window.clearTimeout(this.scrollStopTimer),this.isDocumentScrolling=null,this.moveTimer=null,this.scrollStopTimer=null}},{key:"getSliderRef",value:function(e){this.sliderTrayElement=e}},{key:"fakeOnDragStart",value:function(e){var t=e.screenX,n=e.screenY,r=e.touchDrag,i=void 0!==r&&r,o=e.mouseDrag,a=void 0!==o&&o;this.props.carouselStore.setStoreState({isPlaying:!1}),window.cancelAnimationFrame.call(window,this.moveTimer),"vertical"===this.props.orientation&&this.props.carouselStore.setStoreState({isPageScrollLocked:!0}),this.setState({isBeingTouchDragged:i,isBeingMouseDragged:a,startX:t,startY:n})}},{key:"fakeOnDragMove",value:function(e,t){var n=this;this.moveTimer=window.requestAnimationFrame.call(window,function(){n.setState(function(n){return{deltaX:e-n.startX,deltaY:t-n.startY}})})}},{key:"fakeOnDragEnd",value:function(){window.cancelAnimationFrame.call(window,this.moveTimer),this.computeCurrentSlide(),"vertical"===this.props.orientation&&this.props.carouselStore.setStoreState({isPageScrollLocked:!1}),this.setState({deltaX:0,deltaY:0,isBeingTouchDragged:!1,isBeingMouseDragged:!1}),this.isDocumentScrolling=!this.props.lockOnWindowScroll&&null}},{key:"callCallback",value:function(e,t){var n=this.props.trayProps;n&&"function"==typeof n[e]&&(t.persist(),n[e](t))}},{key:"handleOnMouseDown",value:function(e){if(!this.props.dragEnabled)return void this.callCallback("onMouseDown",e);e.preventDefault(),this.fakeOnDragStart({screenX:e.screenX,screenY:e.screenY,mouseDrag:!0}),this.callCallback("onMouseDown",e)}},{key:"handleOnMouseMove",value:function(e){this.state.isBeingMouseDragged&&(this.setState({cancelNextClick:!0}),e.preventDefault(),this.fakeOnDragMove(e.screenX,e.screenY))}},{key:"handleOnMouseUp",value:function(e){this.state.isBeingMouseDragged&&(e.preventDefault(),this.fakeOnDragEnd())}},{key:"handleOnClickCapture",value:function(e){if(!this.state.cancelNextClick)return void this.callCallback("onClickCapture",e);e.preventDefault(),this.setState({cancelNextClick:!1}),this.callCallback("onClickCapture",e)}},{key:"handleOnTouchStart",value:function(e){if(!this.props.touchEnabled)return void this.callCallback("onTouchStart",e);"vertical"===this.props.orientation&&e.preventDefault();var t=e.targetTouches[0];this.fakeOnDragStart({screenX:t.screenX,screenY:t.screenY,touchDrag:!0}),this.callCallback("onTouchStart",e)}},{key:"handleDocumentScroll",value:function(){var e=this;this.props.touchEnabled&&(this.isDocumentScrolling=!0,window.clearTimeout(this.scrollStopTimer),this.scrollStopTimer=window.setTimeout(function(){e.isDocumentScrolling=!1},66))}},{key:"handleOnTouchMove",value:function(e){if(!this.props.touchEnabled||this.props.lockOnWindowScroll&&this.isDocumentScrolling)return void this.callCallback("onTouchMove",e);window.cancelAnimationFrame.call(window,this.moveTimer);var t=e.targetTouches[0];t&&(this.fakeOnDragMove(t.screenX,t.screenY),this.callCallback("onTouchMove",e))}},{key:"forward",value:function(){var e=this.props,t=e.currentSlide,n=e.step,r=e.totalSlides,i=e.visibleSlides;return Math.min(t+n,r-i)}},{key:"backward",value:function(){var e=this.props,t=e.currentSlide,n=e.step;return Math.max(t-n,0)}},{key:"handleOnKeyDown",value:function(e){var t=e.keyCode,n=this.props,r=n.carouselStore,i=n.currentSlide,o=n.disableKeyboard,a=n.totalSlides,s=n.visibleSlides,l={};!0===o||a<=s||(37===t&&(e.preventDefault(),this.focus(),l.currentSlide=Math.max(0,i-1),l.isPlaying=!1),39===t&&(e.preventDefault(),this.focus(),l.currentSlide=Math.min(a-s,i+1),l.isPlaying=!1),r.setStoreState(l))}},{key:"playForward",value:function(){var e=this.props,t=e.carouselStore,n=e.currentSlide;t.setStoreState({currentSlide:this.forward()===n?0:this.forward()})}},{key:"playBackward",value:function(){var e=this.props,t=e.carouselStore,n=e.currentSlide,r=e.totalSlides,i=e.visibleSlides;t.setStoreState({currentSlide:this.backward()===n?r-i:this.backward()})}},{key:"play",value:function(){var e=this.props.playDirection;this.interval=setInterval("forward"===e?this.playForward:this.playBackward,this.props.interval)}},{key:"stop",value:function(){window.clearInterval(this.interval),this.interval=null}},{key:"lockScroll",value:function(){var e=new Et;this.scrollParent=e.getScrollParent(this.sliderTrayElement),this.scrollParent&&(this.originalOverflow=this.originalOverflow||this.scrollParent.style.overflow,this.scrollParent.style.overflow="hidden")}},{key:"unlockScroll",value:function(){this.scrollParent&&(this.scrollParent.style.overflow=this.originalOverflow,this.originalOverflow=null,this.scrollParent=null)}},{key:"computeCurrentSlide",value:function(){var e=t.slideSizeInPx(this.props.orientation,this.sliderTrayElement.clientWidth,this.sliderTrayElement.clientHeight,this.props.totalSlides),n=t.slidesMoved(this.props.moveThreshold,this.props.orientation,this.state.deltaX,this.state.deltaY,e,this.props.dragStep),r=this.props.totalSlides-Math.min(this.props.totalSlides,this.props.visibleSlides),i=Q({min:0,max:r,x:this.props.currentSlide+n});this.props.infinite&&(this.props.currentSlide>=r&&n>0&&(i=0),0===this.props.currentSlide&&n<0&&(i=r)),this.props.carouselStore.setStoreState({currentSlide:i})}},{key:"focus",value:function(){this.sliderElement.focus()}},{key:"handleOnTouchEnd",value:function(e){this.endTouchMove(),this.callCallback("onTouchEnd",e)}},{key:"handleOnTouchCancel",value:function(e){this.endTouchMove(),this.callCallback("onTouchCancel",e)}},{key:"endTouchMove",value:function(){this.props.touchEnabled&&this.fakeOnDragEnd()}},{key:"renderMasterSpinner",value:function(){var e=this.props,t=e.hasMasterSpinner,n=e.masterSpinnerFinished,r=e.spinner;return t&&!n?("function"==typeof this.props.onMasterSpinner&&this.props.onMasterSpinner(),Y.a.createElement("div",{className:T([Ct.masterSpinnerContainer,"carousel__master-spinner-container"])},r&&r(),!r&&Y.a.createElement(mt,null))):null}},{key:"render",value:function(){var e=this,t=this.props,n=t.ariaLabel,r=(t.carouselStore,t.children),i=t.className,o=t.classNameAnimation,a=t.classNameTray,s=t.classNameTrayWrap,l=t.currentSlide,u=t.disableAnimation,d=(t.disableKeyboard,t.dragEnabled,t.hasMasterSpinner,t.interval,t.isPageScrollLocked,t.isPlaying,t.lockOnWindowScroll,t.masterSpinnerFinished,t.moveThreshold,t.naturalSlideHeight),p=t.naturalSlideWidth,h=(t.onMasterSpinner,t.orientation),m=(t.playDirection,t.privateUnDisableAnimation,t.slideSize),g=t.slideTraySize,w=(t.spinner,t.style),v=t.tabIndex,y=(t.totalSlides,t.touchEnabled,t.trayProps),b=t.trayTag,S=t.visibleSlides,E=t.isIntrinsicHeight,C=f(t,_t),_=c({},w),x={};"vertical"===h&&(x.height=0,x.paddingBottom=j(100*d*S/p),x.width=j(100));var k={},O=j(m*l*-1);(this.state.isBeingTouchDragged||this.state.isBeingMouseDragged||u)&&(k.transition="none"),E&&(k.display="flex",k.alignItems="stretch"),"vertical"===h?(k.transform="translateY(".concat(O,") translateY(").concat(this.state.deltaY,"px)"),k.width=j(100),k.flexDirection="column"):(k.width=j(g),k.transform="translateX(".concat(O,") translateX(").concat(this.state.deltaX,"px)"),k.flexDirection="row");var M=T(["vertical"===h?Ct.verticalSlider:Ct.horizontalSlider,"carousel__slider","vertical"===h?"carousel__slider--vertical":"carousel__slider--horizontal",i]),N=T([Ct.sliderTrayWrap,"carousel__slider-tray-wrapper","vertical"===h?Ct.verticalSlideTrayWrap:Ct.horizontalTrayWrap,"vertical"===h?"carousel__slider-tray-wrap--vertical":"carousel__slider-tray-wrap--horizontal",s]),P=T([Ct.sliderTray,o||Ct.sliderAnimation,"carousel__slider-tray","vertical"===h?Ct.verticalTray:Ct.horizontalTray,"vertical"===h?"carousel__slider-tray--vertical":"carousel__slider-tray--horizontal",a]),D=null!==v?v:0,F=(C.dragStep,C.step,C.infinite,f(C,xt)),A=(y.className,y.onClickCapture,y.onMouseDown,y.onTouchCancel,y.onTouchEnd,y.onTouchMove,y.onTouchStart,y.ref,y.style,f(y,kt));return Y.a.createElement("div",c({ref:function(t){e.sliderElement=t},className:M,"aria-live":"polite","aria-label":n,style:_,tabIndex:D,onKeyDown:this.handleOnKeyDown,role:"listbox"},F),Y.a.createElement("div",{className:N,style:x},Y.a.createElement(b,c({ref:this.getSliderRef,className:P,style:k,onTouchStart:this.handleOnTouchStart,onTouchMove:this.handleOnTouchMove,onTouchEnd:this.handleOnTouchEnd,onTouchCancel:this.handleOnTouchCancel,onMouseDown:this.handleOnMouseDown,onClickCapture:this.handleOnClickCapture},A),r),this.renderMasterSpinner()))}}],[{key:"slideSizeInPx",value:function(e,t,n,r){return("horizontal"===e?t:n)/r}},{key:"slidesMoved",value:function(e,t,n,r,i,o){var a="horizontal"===t?n:r,s=Math.abs(Math.round(a/i)),l=Math.abs(a)>=i*e?o:0,c=Math.max(l,s);if(a<0)return c;var u=-c;return 0===u?0:u}}]),t}(Y.a.Component),l(ct,"propTypes",{ariaLabel:K.string,carouselStore:K.object.isRequired,children:K.node.isRequired,className:K.string,classNameAnimation:K.string,classNameTray:K.string,classNameTrayWrap:K.string,currentSlide:K.number.isRequired,disableAnimation:K.bool,disableKeyboard:K.bool,dragEnabled:K.bool.isRequired,dragStep:K.number,hasMasterSpinner:K.bool.isRequired,infinite:K.bool,interval:K.number.isRequired,isPageScrollLocked:K.bool.isRequired,isPlaying:K.bool.isRequired,lockOnWindowScroll:K.bool.isRequired,masterSpinnerFinished:K.bool.isRequired,moveThreshold:K.number,naturalSlideHeight:K.number.isRequired,naturalSlideWidth:K.number.isRequired,onMasterSpinner:K.func,orientation:J.orientation.isRequired,playDirection:J.direction.isRequired,privateUnDisableAnimation:K.bool,slideSize:K.number.isRequired,slideTraySize:K.number.isRequired,spinner:K.func,step:K.number.isRequired,style:K.object,tabIndex:K.number,totalSlides:K.number.isRequired,touchEnabled:K.bool.isRequired,trayProps:K.shape({className:K.string,onClickCapture:K.func,onMouseDown:K.func,onTouchCancel:K.func,onTouchEnd:K.func,onTouchMove:K.func,onTouchStart:K.func,ref:K.shape({}),style:K.string}),trayTag:K.string,visibleSlides:K.number,isIntrinsicHeight:K.bool}),l(ct,"defaultProps",{ariaLabel:"slider",className:null,classNameAnimation:null,classNameTray:null,classNameTrayWrap:null,disableAnimation:!1,disableKeyboard:!1,dragStep:1,infinite:!1,moveThreshold:.1,onMasterSpinner:null,privateUnDisableAnimation:!1,spinner:null,style:{},tabIndex:null,trayProps:{},trayTag:"div",visibleSlides:1,isIntrinsicHeight:!1}),ut),Tt=Z(Ot,function(e){return{currentSlide:e.currentSlide,disableAnimation:e.disableAnimation,privateUnDisableAnimation:e.privateUnDisableAnimation,disableKeyboard:e.disableKeyboard,dragEnabled:e.dragEnabled,hasMasterSpinner:e.hasMasterSpinner,infinite:e.infinite,interval:e.interval,isPageScrollLocked:e.isPageScrollLocked,isPlaying:e.isPlaying,lockOnWindowScroll:e.lockOnWindowScroll,masterSpinnerFinished:e.masterSpinnerFinished,naturalSlideHeight:e.naturalSlideHeight,naturalSlideWidth:e.naturalSlideWidth,orientation:e.orientation,playDirection:e.playDirection,slideSize:e.slideSize,slideTraySize:e.slideTraySize,step:e.step,dragStep:e.dragStep,totalSlides:e.totalSlides,touchEnabled:e.touchEnabled,visibleSlides:e.visibleSlides,isIntrinsicHeight:e.isIntrinsicHeight}})},function(e,t,n){"use strict";var r=n(65),i=n.n(r),o=n(67),a=n.n(o),s=n(23),l=n.n(s),c=n(155),u=n(68),d=n(156),p=wp.i18n.__,h=wp.blocks.registerBlockType,m=wp,f=m.apiFetch,g=wp.data,w=g.registerStore,v=g.withSelect,y=wp.blockEditor.InspectorControls,b=wp.components,S=b.PanelBody,E=b.PanelRow,C=b.TextControl,_=b.ColorPalette,x=b.RadioControl,k=b.ToggleControl,O=b.SelectControl,T=b.RangeControl,M=window.monsterinsights_gutenberg_tool_vars,N={setThemes:function(e){return{type:"SET_THEMES",themes:e}},receiveThemes:function(e){return{type:"RECEIVE_THEMES",path:e}}};w("monsterinsights/v1/popular-posts/widget",{reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{themes:{}},t=arguments[1];switch(t.type){case"SET_THEMES":return l()({},e,{themes:t.themes})}return e},actions:N,selectors:{receiveThemes:function(e){return e.themes}},controls:{RECEIVE_THEMES:function(e){return f({path:e.path})}},resolvers:{receiveThemes:a.a.mark(function e(t){var n,r;return a.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,N.receiveThemes("/monsterinsights/v1/popular-posts/themes/widget");case 2:if(n=e.sent,void 0===n.themes){e.next=6;break}for(r in n.themes)n.themes.hasOwnProperty(r)&&(n.themes[r].value=r);return e.abrupt("return",N.setThemes(n));case 6:case"end":return e.stop()}},e,this)})}}),h("monsterinsights/popular-posts-widget",{title:p("Popular Posts","google-analytics-for-wordpress"),description:p("Add popular posts from MonsterInsights","google-analytics-for-wordpress"),category:"widgets",icon:c.a.widgetpop,keywords:[p("Popular","google-analytics-for-wordpress"),p("Posts","google-analytics-for-wordpress"),p("Widget","google-analytics-for-wordpress"),"MonsterInsights"],example:{},attributes:{theme:{type:"string"},title_size:{type:"number"},title_color:{type:"string"},label_color:{type:"string"},label_text:{type:"string"},label_background:{type:"string"},background_color:{type:"string"},background_border:{type:"string"},meta_color:{type:"string"},meta_size:{type:"string"},meta_author:{type:"boolean"},meta_date:{type:"boolean"},meta_comments:{type:"boolean"},comments_color:{type:"string"},columns:{type:"number",default:1},widget_title:{type:"boolean"},widget_title_text:{type:"string"},post_count:{type:"number",default:5},categories:{type:"array",default:[]}},edit:v(function(e){return{themes:e("monsterinsights/v1/popular-posts/widget").receiveThemes()}})(function(e){var t=e.attributes,n=t.theme,r=(t.title_size,t.title_color,t.label_color,t.label_text,t.label_background,t.background_color,t.background_border,t.meta_color,t.meta_size,t.meta_author,t.meta_comments,t.meta_date,t.comments_color,t.columns),o=t.widget_title,a=t.widget_title_text,s=t.post_count,l=t.categories,h=e.themes,m=e.setAttributes,f=[{name:"pink",color:"#F58EA8"},{name:"red",color:"#CD3034"},{name:"orange",color:"#FD6A21"},{name:"yellow",color:"#FBB82B"},{name:"green",color:"#7FDBB6"},{name:"green",color:"#21CF86"},{name:"blue",color:"#91D2FA"},{name:"blue",color:"#1B95E0"},{name:"purple",color:"#9A57DD"},{name:"gray",color:"#EEEEEE"},{name:"gray",color:"#ACB8C3"},{name:"black",color:"#000000"}],g=void 0!==h.themes?h.themes:{},w=void 0===e.attributes.theme?h.selected:n,v=void 0!==w&&void 0!==g[w]?g[w]:{},b=void 0!==v.styles?v.styles:{},N={};for(var j in b)if(b.hasOwnProperty(j))for(var P in b[j])if(b[j].hasOwnProperty(P)){var D=j+"_"+P;void 0===e.attributes[D]?N[D]=b[j][P]:N[D]=e.attributes[D],"on"===N[D]&&(N[D]=!0),"off"===N[D]&&(N[D]=!1)}var F=function(e,t){var n=[1,2,3,4,5,6,7,8,9,10];return 2===e&&(n=[2,4,6,8,10]),3===e&&(n=[3,6,9]),t&&(n=n.map(function(e){return{value:e,label:e}})),n},A=function(){if(void 0!==b.meta.author)return wp.element.createElement(k,{label:p("Display Author","google-analytics-for-wordpress"),checked:N.meta_author,onChange:function(e){m(i()({},"meta_author",e))}})},L=function(){if(void 0!==b.meta.date)return wp.element.createElement(k,{label:p("Display Date","google-analytics-for-wordpress"),checked:N.meta_date,onChange:function(e){m(i()({},"meta_date",e))}})},B=function(){if(void 0!==b.meta.comments)return wp.element.createElement(k,{label:p("Display Comments","google-analytics-for-wordpress"),checked:N.meta_comments,onChange:function(e){m(i()({},"meta_comments",e))}})},z=function(){return wp.element.createElement("span",{className:"monsterinsights-wide-column monsterinsights-wide-column-one"},wp.element.createElement("span",null),wp.element.createElement("span",null))},R=function(){return wp.element.createElement("span",{className:"monsterinsights-wide-column monsterinsights-wide-column-two"},wp.element.createElement("span",null),wp.element.createElement("span",null),wp.element.createElement("span",null),wp.element.createElement("span",null))},H=function(){return wp.element.createElement("span",{className:"monsterinsights-wide-column monsterinsights-wide-column-three"},wp.element.createElement("span",null),wp.element.createElement("span",null),wp.element.createElement("span",null),wp.element.createElement("span",null),wp.element.createElement("span",null),wp.element.createElement("span",null))},I=function(e,t){var n=N[t];return wp.element.createElement(T,{key:"monsterinsights-popular-posts-input"+t,label:e,value:parseInt(n),min:1,max:100,onChange:function(e){return m(i()({},t,""===e?"":parseInt(e)))}})},q=function(e,t){var n=N[t];return wp.element.createElement(C,{key:"monsterinsights-popular-posts-input"+t,label:e,type:"text",value:n,onChange:function(e){return m(i()({},t,e))}})},V=function(e,t){var n=N[t];return[wp.element.createElement("label",{key:"monsterinsights-popular-posts-label"+t},e),wp.element.createElement(_,{key:"monsterinsights-popular-posts-input"+t,value:n,colors:f,onChange:function(e){m(i()({},t,e))}})]},W=function(e,t){if(e.length>0&&void 0!==e[t]){var n=e[t];return wp.element.createElement("div",{className:"monsterinsights-widget-popular-posts-image"},wp.element.createElement("img",{src:M.vue_assets_path+"img/"+n}))}},Z=function(){if(void 0!==b.label)return wp.element.createElement("span",{style:{color:N.label_color,backgroundColor:N.label_background},className:"monsterinsights-widget-popular-posts-label"},N.label_text)},U=function(){if(void 0!==b.meta)return[wp.element.createElement("div",{className:"monsterinsights-widget-popular-posts-meta",key:"monsterinsights-widget-popular-posts-meta-options",style:{color:N.meta_color,fontSize:N.meta_size+"px"}},Y(),X(),K()),wp.element.createElement("span",{key:"monsterinsights-widget-popular-posts-comments-options"},G())]},Y=function(){if(N.meta_author)return wp.element.createElement("span",{className:"monsterinsights-widget-popular-posts-author"},"by Aazim Akhtar")},X=function(){if(N.meta_author&&N.meta_date)return wp.element.createElement("span",{dangerouslySetInnerHTML:{__html:b.meta.separator}})},G=function(){if(void 0!==b.meta&&void 0!==b.meta.comments&&N.meta_comments){var e=void 0!==b.comments?N.comments_color:N.meta_color;return wp.element.createElement("span",{className:"monsterinsights-widget-popular-posts-comments",style:{color:e,fontSize:N.meta_size+"px"}},c.a.comments(e)," 24")}},K=function(){if(N.meta_date)return wp.element.createElement("span",{className:"monsterinsights-widget-popular-posts-date"},"Yesterday")},$=function(e){for(;e.length<=10;)e=e.concat(e);return e};return[wp.element.createElement(y,{key:"monsterinsights-popular-posts-widget-inspector-controls"},wp.element.createElement(S,{title:p("Theme","google-analytics-for-wordpress"),key:"monsterinsights-popular-posts-widget-theme"},wp.element.createElement(E,{key:"monsterinsights-popular-posts-widget-theme-row"},wp.element.createElement(u.a,{id:"monsterinsights-popular-posts-widget-theme",options:g,selected:w,icons:c.a,onChange:function(e){m({theme:e})}}))),function(){if(void 0!==b.title){var e=[];return void 0!==b.title.size&&e.push(I(p("Title Font Size","google-analytics-for-wordpress"),"title_size")),void 0!==b.title.color&&e.push(V(p("Title Color","google-analytics-for-wordpress"),"title_color")),wp.element.createElement(S,{title:p("Title Settings","google-analytics-for-wordpress"),key:"monsterinsights-popular-posts-widget-title"},e)}}(),function(){if(void 0!==b.background&&void 0!==b.background.color){var e=[];return void 0!==b.background.color&&e.push(V(p("Background Color","google-analytics-for-wordpress"),"background_color")),wp.element.createElement(S,{title:p("Background Settings","google-analytics-for-wordpress"),key:"monsterinsights-popular-posts-widget-background"}," ",e," ")}}(),function(){if(void 0!==b.label){var e=[];return void 0!==b.label.text&&e.push(q(p("Label Text","google-analytics-for-wordpress"),"label_text")),void 0!==b.label.color&&e.push(V(p("Label Color","google-analytics-for-wordpress"),"label_color")),void 0!==b.label.background&&e.push(V(p("Label Background","google-analytics-for-wordpress"),"label_background")),wp.element.createElement(S,{title:p("Label Settings","google-analytics-for-wordpress"),key:"monsterinsights-popular-posts-widget-label"}," ",e," ")}}(),function(){var e=[];if(void 0!==b.border&&void 0!==b.border.color&&e.push(V(p("Border Color","google-analytics-for-wordpress"),"borderColor")),void 0!==b.border&&void 0!==b.border.color2&&e.push(V(p("Bottom Border Color","google-analytics-for-wordpress"),"borderColor2")),void 0!==b.background&&void 0!==b.background.border&&e.push(V(p("Border Color","google-analytics-for-wordpress"),"background_border")),0!==e.length)return wp.element.createElement(S,{title:p("Border Settings","google-analytics-for-wordpress"),key:"monsterinsights-popular-posts-inline-border"}," ",e," ")}(),function(){if(void 0!==b.meta){var e=[];return void 0!==b.meta.size&&e.push(I(p("Meta Font Size","google-analytics-for-wordpress"),"meta_size")),void 0!==b.meta.color&&e.push(V(p("Meta Color","google-analytics-for-wordpress"),"meta_color")),wp.element.createElement(S,{title:p("Meta Settings","google-analytics-for-wordpress"),key:"monsterinsights-popular-posts-widget-meta-styles"},e)}}(),function(){if(void 0!==b.comments)return wp.element.createElement(S,{title:p("Comment Settings","google-analytics-for-wordpress"),key:"monsterinsights-popular-posts-widget-comment-styles"},V(p("Comment Color","google-analytics-for-wordpress"),"comments_color"))}(),function(){return wp.element.createElement(S,{title:p("Wide-Layout Options","google-analytics-for-wordpress"),key:"monsterinsights-popular-posts-widget-columns"},wp.element.createElement(x,{label:p("Choose Layout","google-analytics-for-wordpress"),help:p("Adjust the number of columns displayed when the widget is placed in a wide container.","google-analytics-for-wordpress"),className:"monsterinsights-wide-column-options",key:"monsterinsights-popular-posts-widget-columns-control",options:[{value:1,label:z()},{value:2,label:R()},{value:3,label:H()}],selected:r,onChange:function(e){m(i()({},"columns",""===e?"":parseInt(e)));var t=F(parseInt(e));-1===t.indexOf(s)&&m(i()({},"post_count",parseInt(t[0])))}}),wp.element.createElement(O,{label:p("Post Count","google-analytics-for-wordpress"),help:p("Number of posts displayed.","google-analytics-for-wordpress"),options:F(r,!0),value:s,key:"monsterinsights-popular-posts-widget-post-count",onChange:function(e){m(i()({},"post_count",parseInt(e)))}}))}(),function(){if(void 0!==b.meta)return wp.element.createElement(S,{title:p("Display Options","google-analytics-for-wordpress"),key:"monsterinsights-popular-posts-widget-meta-options"},A(),L(),B())}(),function(){return wp.element.createElement(S,{title:p("Behavior Settings","google-analytics-for-wordpress"),key:"monsterinsights-popular-posts-widget-behavior-options"},wp.element.createElement(k,{label:p("Display Widget Title","google-analytics-for-wordpress"),checked:o,onChange:function(e){m(i()({},"widget_title",e))}}),wp.element.createElement(C,{key:"monsterinsights-popular-posts-input-widget-title-text",label:p("Widget Title","google-analytics-for-wordpress"),type:"text",value:a,onChange:function(e){return m(i()({},"widget_title_text",e))}}),wp.element.createElement(d.a,{label:p("Only Show Posts From These Categories","google-analytics-for-wordpress"),slug:"category",onUpdateTerms:function(e){m(i()({},"categories",e))},terms:l}))}()),wp.element.createElement("div",{key:"monsterinsights-popular-posts-widget-preview"},wp.element.createElement("div",{className:"monsterinsights-widget-popular-posts-widget monsterinsights-widget-popular-posts-"+w+" monsterinsights-widget-popular-posts-columns-"+r},function(){if(o)return wp.element.createElement("h2",{className:"monsterinsights-widget-popular-posts-widget-title"},a)}(),wp.element.createElement("div",{className:"monsterinsights-widget-popular-posts-text"},function(){if(void 0!==v.list&&void 0!==v.list.items){var e=$(v.list.items),t=void 0!==v.list.images?$(v.list.images):[],n=[];for(var r in e){if(parseInt(r)===parseInt(s))break;n.push(wp.element.createElement("li",{key:"monsterinsights-popular-posts-preview-list-item-"+r,style:{backgroundColor:N.background_color,borderColor:N.background_border}},W(t,r),wp.element.createElement("div",{className:"monsterinsights-widget-popular-posts-text"},Z(),wp.element.createElement("a",{className:"monsterinsights-widget-popular-posts-title",style:{color:N.title_color,fontSize:N.title_size+"px"}},e[r]),U())))}return wp.element.createElement("ul",{className:"monsterinsights-widget-popular-posts-list"},n)}}())))]}),save:function(e){return null}})},function(e,t,n){"use strict";var r={};r.widgetpop=wp.element.createElement("svg",{width:"16",height:"20",viewBox:"0 0 16 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 0C0.895431 0 0 0.895431 0 2V10C0 11.1046 0.895431 12 2 12H14C15.1046 12 16 11.1046 16 10V2C16 0.895431 15.1046 0 14 0H2ZM8.94046 4.70557L8 2L7.05954 4.70557L4.19577 4.76393L6.47831 6.49443L5.64886 9.23607L8 7.6L10.3511 9.23607L9.52169 6.49443L11.8042 4.76393L8.94046 4.70557ZM0 14H14V16H0V14ZM10 18H0V20H10V18Z",fill:"#555D66"})),r.alpha=wp.element.createElement("svg",{width:"74",height:"46",viewBox:"0 0 74 46",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{width:"74",height:"46",rx:"5",fill:"#E7F2FD"}),wp.element.createElement("rect",{x:"7.40002",y:"12",width:"59.2",height:"9",rx:"2",fill:"#338EEF"}),wp.element.createElement("rect",{x:"7.40002",y:"25",width:"51.8",height:"9",rx:"2",fill:"#338EEF"})),r.beta=wp.element.createElement("svg",{width:"74",height:"46",viewBox:"0 0 74 46",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M0 15C0 13.3431 1.34315 12 3 12H4V34H3C1.34315 34 0 32.6569 0 31V15Z",fill:"#1170D5"}),wp.element.createElement("rect",{x:"12",y:"12",width:"54",height:"9",rx:"2",fill:"#4296F0"}),wp.element.createElement("rect",{x:"12",y:"25",width:"44",height:"9",rx:"2",fill:"#4296F0"})),r.charlie=wp.element.createElement("svg",{width:"74",height:"46",viewBox:"0 0 74 46",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{width:"74",height:"46",rx:"3",fill:"#E7F2FD"}),wp.element.createElement("rect",{width:"74",height:"4",fill:"#1170D5"}),wp.element.createElement("rect",{x:"8",y:"14",width:"58",height:"9",rx:"2",fill:"#4296F0"}),wp.element.createElement("rect",{x:"8",y:"27",width:"40",height:"9",rx:"2",fill:"#4296F0"})),r.delta=wp.element.createElement("svg",{width:"74",height:"39",viewBox:"0 0 74 39",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{x:"31",y:"12",width:"43",height:"7",rx:"2",fill:"#4296F0"}),wp.element.createElement("rect",{x:"31",y:"23",width:"32",height:"7",rx:"2",fill:"#4296F0"}),wp.element.createElement("rect",{x:"31",y:"34",width:"43",height:"5",rx:"2",fill:"#A0CBF8"}),wp.element.createElement("rect",{y:"12",width:"27",height:"27",rx:"2",fill:"#338EEF"}),wp.element.createElement("rect",{width:"74",height:"4",fill:"#1170D5"})),r.echo=wp.element.createElement("svg",{width:"74",height:"76",viewBox:"0 0 74 76",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{width:"74",height:"76",rx:"5",fill:"#E7F2FD"}),wp.element.createElement("rect",{x:"8",y:"41",width:"58",height:"7",rx:"2",fill:"#338EEF"}),wp.element.createElement("rect",{x:"8",y:"61",width:"7",height:"7",rx:"3.5",fill:"#A0CBF8"}),wp.element.createElement("rect",{x:"8",y:"8",width:"58",height:"29",rx:"2",fill:"#338EEF"}),wp.element.createElement("rect",{x:"8",y:"52",width:"34",height:"5",rx:"2",fill:"#A0CBF8"}),wp.element.createElement("rect",{x:"46",y:"52",width:"20",height:"5",rx:"2",fill:"#A0CBF8"})),r.foxtrot=wp.element.createElement("svg",{width:"74",height:"43",viewBox:"0 0 74 43",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{width:"74",height:"43",rx:"5",fill:"#E7F2FD"}),wp.element.createElement("rect",{x:"8",y:"8",width:"58",height:"7",rx:"2",fill:"#338EEF"}),wp.element.createElement("rect",{x:"8",y:"28",width:"7",height:"7",rx:"3.5",fill:"#A0CBF8"}),wp.element.createElement("rect",{x:"8",y:"19",width:"34",height:"5",rx:"2",fill:"#A0CBF8"}),wp.element.createElement("rect",{x:"46",y:"19",width:"20",height:"5",rx:"2",fill:"#A0CBF8"})),r.golf=wp.element.createElement("svg",{width:"74",height:"56",viewBox:"0 0 74 56",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{width:"74",height:"56",rx:"5",fill:"#E7F2FD"}),wp.element.createElement("rect",{x:"8",y:"21",width:"58",height:"7",rx:"2",fill:"#338EEF"}),wp.element.createElement("rect",{x:"8",y:"41",width:"7",height:"7",rx:"3.5",fill:"#A0CBF8"}),wp.element.createElement("rect",{x:"8",y:"8",width:"16",height:"9",rx:"2",fill:"#1170D5"}),wp.element.createElement("rect",{x:"8",y:"32",width:"34",height:"5",rx:"2",fill:"#A0CBF8"}),wp.element.createElement("rect",{x:"46",y:"32",width:"20",height:"5",rx:"2",fill:"#A0CBF8"})),r.hotel=wp.element.createElement("svg",{width:"74",height:"50",viewBox:"0 0 74 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{width:"74",height:"50",rx:"5",fill:"#338EEF"}),wp.element.createElement("path",{d:"M54.0625 42H19.9375C18.8438 42 17.9141 41.6111 17.1484 40.8333C16.3828 40.0556 16 39.1111 16 38V14C16 12.8889 16.3828 11.9444 17.1484 11.1667C17.9141 10.3889 18.8438 10 19.9375 10H54.0625C55.1562 10 56.0859 10.3889 56.8516 11.1667C57.6172 11.9444 58 12.8889 58 14V38C58 39.1111 57.6172 40.0556 56.8516 40.8333C56.0859 41.6111 55.1562 42 54.0625 42ZM28.3867 16.0833C27.5117 15.1389 26.4453 14.6667 25.1875 14.6667C23.9297 14.6667 22.8359 15.1389 21.9062 16.0833C21.0312 16.9722 20.5938 18.0556 20.5938 19.3333C20.5938 20.6111 21.0312 21.7222 21.9062 22.6667C22.8359 23.5556 23.9297 24 25.1875 24C26.4453 24 27.5117 23.5556 28.3867 22.6667C29.3164 21.7222 29.7812 20.6111 29.7812 19.3333C29.7812 18.0556 29.3164 16.9722 28.3867 16.0833ZM21.25 36.6667H52.75V27.3333L45.5312 20C45.0938 19.5556 44.6562 19.5556 44.2188 20L33.0625 31.3333L28.4688 26.6667C28.0312 26.2222 27.5938 26.2222 27.1562 26.6667L21.25 32.6667V36.6667Z",fill:"#59A3F2"}),wp.element.createElement("rect",{x:"8",y:"26",width:"58",height:"7",rx:"2",fill:"#F1F7FE"}),wp.element.createElement("rect",{x:"8",y:"37",width:"34",height:"5",rx:"2",fill:"#A0CBF8"}),wp.element.createElement("rect",{x:"46",y:"37",width:"20",height:"5",rx:"2",fill:"#A0CBF8"})),r.comments=function(e){return wp.element.createElement("svg",{width:"13",height:"12",viewBox:"0 0 13 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{fill:e}},wp.element.createElement("path",{d:"M7.8251 1.25893C8.70332 2.09821 9.14243 3.10714 9.14243 4.28571C9.14243 5.46429 8.70332 6.47321 7.8251 7.3125C6.94689 8.15179 5.8887 8.57143 4.65056 8.57143C3.78674 8.57143 2.98771 8.34821 2.25346 7.90179C1.63439 8.34821 0.993719 8.57143 0.331456 8.57143C0.302662 8.57143 0.273868 8.5625 0.245074 8.54464C0.216279 8.50893 0.194684 8.47321 0.180287 8.4375C0.151493 8.34821 0.158691 8.26786 0.201882 8.19643C0.50422 7.83929 0.763366 7.35714 0.979321 6.75C0.432235 6.01786 0.158691 5.19643 0.158691 4.28571C0.158691 3.10714 0.5978 2.09821 1.47602 1.25893C2.35424 0.419643 3.41242 0 4.65056 0C5.8887 0 6.94689 0.419643 7.8251 1.25893ZM11.7771 10.1786C11.993 10.7857 12.2522 11.2679 12.5545 11.625C12.5977 11.6964 12.6049 11.7768 12.5761 11.8661C12.5473 11.9554 12.4969 12 12.425 12C11.7627 12 11.122 11.7768 10.5029 11.3304C9.7687 11.7768 8.96967 12 8.10585 12C7.18444 12 6.34941 11.7589 5.60076 11.2768C4.85212 10.7946 4.30503 10.1607 3.9595 9.375C4.21865 9.41071 4.449 9.42857 4.65056 9.42857C6.07587 9.42857 7.29241 8.92857 8.30021 7.92857C9.32239 6.91071 9.83349 5.69643 9.83349 4.28571C9.83349 4.08929 9.82629 3.91071 9.81189 3.75C10.6325 4.07143 11.302 4.59821 11.8203 5.33036C12.3386 6.04464 12.5977 6.83929 12.5977 7.71429C12.5977 8.625 12.3242 9.44643 11.7771 10.1786Z"}))},t.a=r},function(e,t,n){"use strict";var r=n(157),i=n.n(r),o=n(161),a=n.n(o),s=n(162),l=n.n(s),c=n(163),u=n.n(c),d=n(176),p=n.n(d),h=n(18),m=(n.n(h),n(184),n(207)),f=wp.components.CheckboxControl,g=function(e){function t(){a()(this,t);var e=u()(this,(t.__proto__||i()(t)).call(this));return e.state={},e}return p()(t,e),l()(t,[{key:"renderTerms",value:function(e){return e.map(function(e){return wp.element.createElement("div",{key:e.id,className:"editor-post-taxonomies__hierarchical-terms-choice"},wp.element.createElement(f,{checked:!0,label:Object(h.unescape)(e.name)}))})}},{key:"render",value:function(){return[wp.element.createElement("label",{key:"monsterinsights-hierarchical-term-list-label",className:"components-base-control__label"},this.props.label,wp.element.createElement("span",{className:"monsterinsights-popular-posts-pro-pill"},"PRO")),wp.element.createElement("div",{className:"editor-post-taxonomies__hierarchical-terms-list monsterinsights-hierarchical-terms monsterinsights-hierarchical-terms-disabled",key:"monsterinsights-hierarchical-term-list",tabIndex:"0",role:"group"},this.renderTerms([{name:"News",id:1},{name:"Technology",id:2}]))]}}]),t}(m.a);t.a=g},function(e,t,n){e.exports={default:n(158),__esModule:!0}},function(e,t,n){n(159),e.exports=n(0).Object.getPrototypeOf},function(e,t,n){var r=n(16),i=n(53);n(160)("getPrototypeOf",function(){return function(e){return i(r(e))}})},function(e,t,n){var r=n(4),i=n(0),o=n(12);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*o(function(){n(1)}),"Object",a)}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";t.__esModule=!0;var r=n(66),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,i.default)(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()},function(e,t,n){"use strict";t.__esModule=!0;var r=n(70),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":(0,i.default)(t))&&"function"!=typeof t?e:t}},function(e,t,n){e.exports={default:n(165),__esModule:!0}},function(e,t,n){n(19),n(40),e.exports=n(41).f("iterator")},function(e,t,n){e.exports={default:n(167),__esModule:!0}},function(e,t,n){n(168),n(173),n(174),n(175),e.exports=n(0).Symbol},function(e,t,n){"use strict";var r=n(5),i=n(9),o=n(7),a=n(4),s=n(49),l=n(169).KEY,c=n(12),u=n(35),d=n(37),p=n(22),h=n(2),m=n(41),f=n(42),g=n(170),w=n(171),v=n(8),y=n(11),b=n(16),S=n(14),E=n(31),C=n(15),_=n(32),x=n(172),k=n(72),O=n(38),T=n(6),M=n(21),N=k.f,j=T.f,P=x.f,D=r.Symbol,F=r.JSON,A=F&&F.stringify,L=h("_hidden"),B=h("toPrimitive"),z={}.propertyIsEnumerable,R=u("symbol-registry"),H=u("symbols"),I=u("op-symbols"),q=Object.prototype,V="function"==typeof D&&!!O.f,W=r.QObject,Z=!W||!W.prototype||!W.prototype.findChild,U=o&&c(function(){return 7!=_(j({},"a",{get:function(){return j(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=N(q,t);r&&delete q[t],j(e,t,n),r&&e!==q&&j(q,t,r)}:j,Y=function(e){var t=H[e]=_(D.prototype);return t._k=e,t},X=V&&"symbol"==typeof D.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof D},G=function(e,t,n){return e===q&&G(I,t,n),v(e),t=E(t,!0),v(n),i(H,t)?(n.enumerable?(i(e,L)&&e[L][t]&&(e[L][t]=!1),n=_(n,{enumerable:C(0,!1)})):(i(e,L)||j(e,L,C(1,{})),e[L][t]=!0),U(e,t,n)):j(e,t,n)},K=function(e,t){v(e);for(var n,r=g(t=S(t)),i=0,o=r.length;o>i;)G(e,n=r[i++],t[n]);return e},$=function(e,t){return void 0===t?_(e):K(_(e),t)},J=function(e){var t=z.call(this,e=E(e,!0));return!(this===q&&i(H,e)&&!i(I,e))&&(!(t||!i(this,e)||!i(H,e)||i(this,L)&&this[L][e])||t)},Q=function(e,t){if(e=S(e),t=E(t,!0),e!==q||!i(H,t)||i(I,t)){var n=N(e,t);return!n||!i(H,t)||i(e,L)&&e[L][t]||(n.enumerable=!0),n}},ee=function(e){for(var t,n=P(S(e)),r=[],o=0;n.length>o;)i(H,t=n[o++])||t==L||t==l||r.push(t);return r},te=function(e){for(var t,n=e===q,r=P(n?I:S(e)),o=[],a=0;r.length>a;)!i(H,t=r[a++])||n&&!i(q,t)||o.push(H[t]);return o};V||(D=function(){if(this instanceof D)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),t=function(n){this===q&&t.call(I,n),i(this,L)&&i(this[L],e)&&(this[L][e]=!1),U(this,e,C(1,n))};return o&&Z&&U(q,e,{configurable:!0,set:t}),Y(e)},s(D.prototype,"toString",function(){return this._k}),k.f=Q,T.f=G,n(71).f=x.f=ee,n(24).f=J,O.f=te,o&&!n(20)&&s(q,"propertyIsEnumerable",J,!0),m.f=function(e){return Y(h(e))}),a(a.G+a.W+a.F*!V,{Symbol:D});for(var ne="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),re=0;ne.length>re;)h(ne[re++]);for(var ie=M(h.store),oe=0;ie.length>oe;)f(ie[oe++]);a(a.S+a.F*!V,"Symbol",{for:function(e){return i(R,e+="")?R[e]:R[e]=D(e)},keyFor:function(e){if(!X(e))throw TypeError(e+" is not a symbol!");for(var t in R)if(R[t]===e)return t},useSetter:function(){Z=!0},useSimple:function(){Z=!1}}),a(a.S+a.F*!V,"Object",{create:$,defineProperty:G,defineProperties:K,getOwnPropertyDescriptor:Q,getOwnPropertyNames:ee,getOwnPropertySymbols:te});var ae=c(function(){O.f(1)});a(a.S+a.F*ae,"Object",{getOwnPropertySymbols:function(e){return O.f(b(e))}}),F&&a(a.S+a.F*(!V||c(function(){var e=D();return"[null]"!=A([e])||"{}"!=A({a:e})||"{}"!=A(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(y(t)||void 0!==e)&&!X(e))return w(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!X(t))return t}),r[1]=t,A.apply(F,r)}}),D.prototype[B]||n(10)(D.prototype,B,D.prototype.valueOf),d(D,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},function(e,t,n){var r=n(22)("meta"),i=n(11),o=n(9),a=n(6).f,s=0,l=Object.isExtensible||function(){return!0},c=!n(12)(function(){return l(Object.preventExtensions({}))}),u=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},d=function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!l(e))return"F";if(!t)return"E";u(e)}return e[r].i},p=function(e,t){if(!o(e,r)){if(!l(e))return!0;if(!t)return!1;u(e)}return e[r].w},h=function(e){return c&&m.NEED&&l(e)&&!o(e,r)&&u(e),e},m=e.exports={KEY:r,NEED:!1,fastKey:d,getWeak:p,onFreeze:h}},function(e,t,n){var r=n(21),i=n(38),o=n(24);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var a,s=n(e),l=o.f,c=0;s.length>c;)l.call(e,a=s[c++])&&t.push(a);return t}},function(e,t,n){var r=n(33);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(14),i=n(71).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch(e){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?s(e):i(r(e))}},function(e,t){},function(e,t,n){n(42)("asyncIterator")},function(e,t,n){n(42)("observable")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(177),o=r(i),a=n(181),s=r(a),l=n(70),c=r(l);t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,c.default)(t)));e.prototype=(0,s.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(o.default?(0,o.default)(e,t):e.__proto__=t)}},function(e,t,n){e.exports={default:n(178),__esModule:!0}},function(e,t,n){n(179),e.exports=n(0).Object.setPrototypeOf},function(e,t,n){var r=n(4);r(r.S,"Object",{setPrototypeOf:n(180).set})},function(e,t,n){var r=n(11),i=n(8),o=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{r=n(30)(Function.call,n(72).f(Object.prototype,"__proto__").set,2),r(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return o(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:o}},function(e,t,n){e.exports={default:n(182),__esModule:!0}},function(e,t,n){n(183);var r=n(0).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){var r=n(4);r(r.S,"Object",{create:n(32)})},function(e,t,n){"use strict";n(185),n(73),n(193)},function(e,t,n){"use strict";var r=n(186),i=n.n(r),o=n(187);n.n(o),i()(console.error)},function(e,t,n){function r(e,t){function n(){var n,a,s=r,l=arguments.length;e:for(;s;){if(s.args.length===arguments.length){for(a=0;a<l;a++)if(s.args[a]!==arguments[a]){s=s.next;continue e}return s!==r&&(s===i&&(i=s.prev),s.prev.next=s.next,s.next&&(s.next.prev=s.prev),s.next=r,s.prev=null,r.prev=s,r=s),s.val}s=s.next}for(n=new Array(l),a=0;a<l;a++)n[a]=arguments[a];return s={args:n,val:e.apply(null,n)},r?(r.prev=s,s.next=r):i=s,o===t.maxSize?(i=i.prev,i.next=null):o++,r=s,s.val}var r,i,o=0;return t=t||{},n.clear=function(){r=null,i=null,o=0},n}e.exports=r},function(e,t,n){var r;!function(){"use strict";function i(e){return a(s(e),arguments)}function o(e,t){return i.apply(null,[e].concat(t||[]))}function a(e,t){var n,r,o,a,s,c,u,d,p,h=1,m=e.length,f="";for(r=0;r<m;r++)if("string"==typeof e[r])f+=e[r];else if("object"==typeof e[r]){if(a=e[r],a.keys)for(n=t[h],o=0;o<a.keys.length;o++){if(void 0==n)throw new Error(i('[sprintf] Cannot access property "%s" of undefined value "%s"',a.keys[o],a.keys[o-1]));n=n[a.keys[o]]}else n=a.param_no?t[a.param_no]:t[h++];if(l.not_type.test(a.type)&&l.not_primitive.test(a.type)&&n instanceof Function&&(n=n()),l.numeric_arg.test(a.type)&&"number"!=typeof n&&isNaN(n))throw new TypeError(i("[sprintf] expecting number but found %T",n));switch(l.number.test(a.type)&&(d=n>=0),a.type){case"b":n=parseInt(n,10).toString(2);break;case"c":n=String.fromCharCode(parseInt(n,10));break;case"d":case"i":n=parseInt(n,10);break;case"j":n=JSON.stringify(n,null,a.width?parseInt(a.width):0);break;case"e":n=a.precision?parseFloat(n).toExponential(a.precision):parseFloat(n).toExponential();break;case"f":n=a.precision?parseFloat(n).toFixed(a.precision):parseFloat(n);break;case"g":n=a.precision?String(Number(n.toPrecision(a.precision))):parseFloat(n);break;case"o":n=(parseInt(n,10)>>>0).toString(8);break;case"s":n=String(n),n=a.precision?n.substring(0,a.precision):n;break;case"t":n=String(!!n),n=a.precision?n.substring(0,a.precision):n;break;case"T":n=Object.prototype.toString.call(n).slice(8,-1).toLowerCase(),n=a.precision?n.substring(0,a.precision):n;break;case"u":n=parseInt(n,10)>>>0;break;case"v":n=n.valueOf(),n=a.precision?n.substring(0,a.precision):n;break;case"x":n=(parseInt(n,10)>>>0).toString(16);break;case"X":n=(parseInt(n,10)>>>0).toString(16).toUpperCase()}l.json.test(a.type)?f+=n:(!l.number.test(a.type)||d&&!a.sign?p="":(p=d?"+":"-",n=n.toString().replace(l.sign,"")),c=a.pad_char?"0"===a.pad_char?"0":a.pad_char.charAt(1):" ",u=a.width-(p+n).length,s=a.width&&u>0?c.repeat(u):"",f+=a.align?p+n+s:"0"===c?p+s+n:s+p+n)}return f}function s(e){if(c[e])return c[e];for(var t,n=e,r=[],i=0;n;){if(null!==(t=l.text.exec(n)))r.push(t[0]);else if(null!==(t=l.modulo.exec(n)))r.push("%");else{if(null===(t=l.placeholder.exec(n)))throw new SyntaxError("[sprintf] unexpected placeholder");if(t[2]){i|=1;var o=[],a=t[2],s=[];if(null===(s=l.key.exec(a)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(o.push(s[1]);""!==(a=a.substring(s[0].length));)if(null!==(s=l.key_access.exec(a)))o.push(s[1]);else{if(null===(s=l.index_access.exec(a)))throw new SyntaxError("[sprintf] failed to parse named argument key");o.push(s[1])}t[2]=o}else i|=2;if(3===i)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");r.push({placeholder:t[0],param_no:t[1],keys:t[2],sign:t[3],pad_char:t[4],align:t[5],width:t[6],precision:t[7],type:t[8]})}n=n.substring(t[0].length)}return c[e]=r}var l={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/},c=Object.create(null);t.sprintf=i,t.vsprintf=o,"undefined"!=typeof window&&(window.sprintf=i,window.vsprintf=o,void 0!==(r=function(){return{sprintf:i,vsprintf:o}}.call(t,n,t,e))&&(e.exports=r))}()},function(e,t,n){"use strict";function r(e){var t,n,r;for(t=e.split(";"),n=0;n<t.length;n++)if(r=t[n].trim(),0===r.indexOf("plural="))return r.substr(7)}function i(e,t){var n;this.data=e,this.pluralForms={},this.options={};for(n in a)this.options[n]=void 0!==t&&n in t?t[n]:a[n]}t.a=i;var o=n(189),a={contextDelimiter:"",onMissingKey:null};i.prototype.getPluralForm=function(e,t){var n,i,a,s=this.pluralForms[e];return s||(n=this.data[e][""],a=n["Plural-Forms"]||n["plural-forms"]||n.plural_forms,"function"!=typeof a&&(i=r(n["Plural-Forms"]||n["plural-forms"]||n.plural_forms),a=Object(o.a)(i)),s=this.pluralForms[e]=a),s(t)},i.prototype.dcnpgettext=function(e,t,n,r,i){var o,a,s;return o=void 0===i?0:this.getPluralForm(e,i),a=n,t&&(a=t+this.options.contextDelimiter+n),(s=this.data[e][a])&&s[o]?s[o]:(this.options.onMissingKey&&this.options.onMissingKey(n,e),0===o?n:r)}},function(e,t,n){"use strict";function r(e){var t=Object(i.a)(e);return function(e){return+t({n:e})}}t.a=r;var i=n(190)},function(e,t,n){"use strict";function r(e){var t=Object(i.a)(e);return function(e){return Object(o.a)(t,e)}}t.a=r;var i=n(191),o=n(192)},function(e,t,n){"use strict";function r(e){for(var t,n,r,l,c=[],u=[];t=e.match(s);){for(n=t[0],r=e.substr(0,t.index).trim(),r&&c.push(r);l=u.pop();){if(a[n]){if(a[n][0]===l){n=a[n][1]||n;break}}else if(o.indexOf(l)>=0||i[l]<i[n]){u.push(l);break}c.push(l)}a[n]||u.push(n),e=e.substr(t.index+n.length)}return e=e.trim(),e&&c.push(e),c.concat(u.reverse())}t.a=r;var i,o,a,s;i={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},o=["(","?"],a={")":["("],":":["?","?:"]},s=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/},function(e,t,n){"use strict";function r(e,t){var n,r,o,a,s,l,c=[];for(n=0;n<e.length;n++){if(s=e[n],a=i[s]){for(r=a.length,o=Array(r);r--;)o[r]=c.pop();try{l=a.apply(null,o)}catch(e){return e}}else l=t.hasOwnProperty(s)?t[s]:+s;c.push(l)}return c[0]}t.a=r;var i={"!":function(e){return!e},"*":function(e,t){return e*t},"/":function(e,t){return e/t},"%":function(e,t){return e%t},"+":function(e,t){return e+t},"-":function(e,t){return e-t},"<":function(e,t){return e<t},"<=":function(e,t){return e<=t},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"==":function(e,t){return e===t},"!=":function(e,t){return e!==t},"&&":function(e,t){return e&&t},"||":function(e,t){return e||t},"?:":function(e,t,n){if(e)throw t;return n}}},function(e,t,n){"use strict";var r=n(73),i=n(194),o=Object(r.a)(void 0,void 0,i.a);o.getLocaleData.bind(o),o.setLocaleData.bind(o),o.resetLocaleData.bind(o),o.subscribe.bind(o),o.__.bind(o),o._x.bind(o),o._n.bind(o),o._nx.bind(o),o.isRTL.bind(o),o.hasTranslation.bind(o)},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n(195),i=Object(r.a)();i.addAction,i.addFilter,i.removeAction,i.removeFilter,i.hasAction,i.hasFilter,i.removeAllActions,i.removeAllFilters,i.doAction,i.applyFilters,i.currentAction,i.currentFilter,i.doingAction,i.doingFilter,i.didAction,i.didFilter,i.actions,i.filters},function(e,t,n){"use strict";function r(){return new p}var i=n(196),o=n(197),a=n(198),s=n(199),l=n(200),c=n(204),u=n(205),d=n(206),p=function e(){Object(i.a)(this,e),this.actions=Object.create(null),this.actions.__current=[],this.filters=Object.create(null),this.filters.__current=[],this.addAction=Object(o.a)(this,"actions"),this.addFilter=Object(o.a)(this,"filters"),this.removeAction=Object(a.a)(this,"actions"),this.removeFilter=Object(a.a)(this,"filters"),this.hasAction=Object(s.a)(this,"actions"),this.hasFilter=Object(s.a)(this,"filters"),this.removeAllActions=Object(a.a)(this,"actions",!0),this.removeAllFilters=Object(a.a)(this,"filters",!0),this.doAction=Object(l.a)(this,"actions"),this.applyFilters=Object(l.a)(this,"filters",!0),this.currentAction=Object(c.a)(this,"actions"),this.currentFilter=Object(c.a)(this,"filters"),this.doingAction=Object(u.a)(this,"actions"),this.doingFilter=Object(u.a)(this,"filters"),this.didAction=Object(d.a)(this,"actions"),this.didFilter=Object(d.a)(this,"filters")};t.a=r},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.a=r},function(e,t,n){"use strict";function r(e,t){return function(n,r,a){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10,l=e[t];if(Object(o.a)(n)&&Object(i.a)(r)){if("function"!=typeof a)return void console.error("The hook callback must be a function.");if("number"!=typeof s)return void console.error("If specified, the hook priority must be a number.");var c={callback:a,priority:s,namespace:r};if(l[n]){var u,d=l[n].handlers;for(u=d.length;u>0&&!(s>=d[u-1].priority);u--);u===d.length?d[u]=c:d.splice(u,0,c),l.__current.forEach(function(e){e.name===n&&e.currentIndex>=u&&e.currentIndex++})}else l[n]={handlers:[c],runs:0};"hookAdded"!==n&&e.doAction("hookAdded",n,r,a,s)}}}var i=n(74),o=n(43);t.a=r},function(e,t,n){"use strict";function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(r,a){var s=e[t];if(Object(o.a)(r)&&(n||Object(i.a)(a))){if(!s[r])return 0;var l=0;if(n)l=s[r].handlers.length,s[r]={runs:s[r].runs,handlers:[]};else for(var c=s[r].handlers,u=c.length-1;u>=0;u--)!function(e){c[e].namespace===a&&(c.splice(e,1),l++,s.__current.forEach(function(t){t.name===r&&t.currentIndex>=e&&t.currentIndex--}))}(u);return"hookRemoved"!==r&&e.doAction("hookRemoved",r,a),l}}}var i=n(74),o=n(43);t.a=r},function(e,t,n){"use strict";function r(e,t){return function(n,r){var i=e[t];return void 0!==r?n in i&&i[n].handlers.some(function(e){return e.namespace===r}):n in i}}t.a=r},function(e,t,n){"use strict";function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(r){var i=e[t];i[r]||(i[r]={handlers:[],runs:0}),i[r].runs++;for(var o=i[r].handlers,a=arguments.length,s=new Array(a>1?a-1:0),l=1;l<a;l++)s[l-1]=arguments[l];if(!o||!o.length)return n?s[0]:void 0;var c={name:r,currentIndex:0};for(i.__current.push(c);c.currentIndex<o.length;){var u=o[c.currentIndex],d=u.callback.apply(null,s);n&&(s[0]=d),c.currentIndex++}return i.__current.pop(),n?s[0]:void 0}}n(75);t.a=r},function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return Object(i.a)(e)}t.a=r;var i=n(76)},function(e,t,n){"use strict";function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}t.a=r},function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}t.a=r},function(e,t,n){"use strict";function r(e,t){return function(){var n,r,i=e[t];return null!==(n=null===(r=i.__current[i.__current.length-1])||void 0===r?void 0:r.name)&&void 0!==n?n:null}}t.a=r},function(e,t,n){"use strict";function r(e,t){return function(n){var r=e[t];return void 0===n?void 0!==r.__current[0]:!!r.__current[0]&&n===r.__current[0].name}}t.a=r},function(e,t,n){"use strict";function r(e,t){return function(n){var r=e[t];if(Object(i.a)(n))return r[n]&&r[n].runs?r[n].runs:0}}var i=n(43);t.a=r},function(e,t,n){"use strict";var r=(n(208),n(27));n.d(t,"a",function(){return r.a});n(214),n(216),n(217),n(218),n(79)},function(e,t,n){"use strict";n(209),n(78),n(75),n(27)},function(e,t,n){"use strict";function r(e,t){return Object(i.a)(e)||Object(o.a)(e,t)||Object(a.a)(e,t)||Object(s.a)()}t.a=r;var i=n(210),o=n(211),a=n(77),s=n(212)},function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}t.a=r},function(e,t,n){"use strict";function r(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}t.a=r},function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}t.a=r},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}t.a=r},function(e,t,n){"use strict";var r=n(215);n.n(r)},function(e,t){e.exports=ReactDOM},function(e,t,n){"use strict";var r=n(18);n.n(r)},function(e,t,n){"use strict"},function(e,t,n){"use strict";var r=(n(26),n(44),n(78),n(18)),i=(n.n(r),n(219),n(27)),o=(n(79),Object(i.e)(void 0));o.Provider,o.Consumer,Object(i.g)(function(){return null}),new Set(["string","boolean","number"]),new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),new Set(["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","typemustmatch"]),new Set(["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),new Set(["animation","animationIterationCount","baselineShift","borderImageOutset","borderImageSlice","borderImageWidth","columnCount","cx","cy","fillOpacity","flexGrow","flexShrink","floodOpacity","fontWeight","gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart","lineHeight","opacity","order","orphans","r","rx","ry","shapeImageThreshold","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","tabSize","widows","x","y","zIndex","zoom"])},function(e,t,n){"use strict";function r(e){return e.replace(/&(?!([a-z0-9]+|#[0-9]+|#x[a-f0-9]+);)/gi,"&")}function i(e){return e.replace(/"/g,""")}function o(e){return e.replace(/</g,"<")}function a(e){return Object(c.a)(i(r(e)))}function s(e){return o(r(e))}function l(e){return!u.test(e)}t.a=a,t.b=s,t.c=l;var c=n(220),u=/[\u007F-\u009F "'>/="\uFDD0-\uFDEF]/},function(e,t,n){"use strict";function r(e){return e.replace(/>/g,">")}t.a=r}]);
|
1 |
+
!function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=87)}([function(e,t){var n=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},function(e,t,n){"use strict";function r(e){return"[object Array]"===x.call(e)}function i(e){return void 0===e}function o(e){return null!==e&&!i(e)&&null!==e.constructor&&!i(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function a(e){return"[object ArrayBuffer]"===x.call(e)}function s(e){return"undefined"!=typeof FormData&&e instanceof FormData}function l(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer}function c(e){return"string"==typeof e}function u(e){return"number"==typeof e}function d(e){return null!==e&&"object"==typeof e}function p(e){return"[object Date]"===x.call(e)}function h(e){return"[object File]"===x.call(e)}function m(e){return"[object Blob]"===x.call(e)}function f(e){return"[object Function]"===x.call(e)}function g(e){return d(e)&&f(e.pipe)}function w(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams}function v(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}function y(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)}function b(e,t){if(null!==e&&void 0!==e)if("object"!=typeof e&&(e=[e]),r(e))for(var n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}function S(){function e(e,n){"object"==typeof t[n]&&"object"==typeof e?t[n]=S(t[n],e):t[n]=e}for(var t={},n=0,r=arguments.length;n<r;n++)b(arguments[n],e);return t}function E(){function e(e,n){"object"==typeof t[n]&&"object"==typeof e?t[n]=E(t[n],e):t[n]="object"==typeof e?E({},e):e}for(var t={},n=0,r=arguments.length;n<r;n++)b(arguments[n],e);return t}function _(e,t,n){return b(t,function(t,r){e[r]=n&&"function"==typeof t?C(t,n):t}),e}var C=n(64),x=Object.prototype.toString;e.exports={isArray:r,isArrayBuffer:a,isBuffer:o,isFormData:s,isArrayBufferView:l,isString:c,isNumber:u,isObject:d,isUndefined:i,isDate:p,isFile:h,isBlob:m,isFunction:f,isStream:g,isURLSearchParams:w,isStandardBrowserEnv:y,forEach:b,merge:S,deepMerge:E,extend:_,trim:v}},function(e,t,n){var r=n(42)("wks"),i=n(29),o=n(6).Symbol,a="function"==typeof o;(e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=r},function(e,t,n){var r,i;/*!
|
2 |
Copyright (c) 2018 Jed Watson.
|
3 |
Licensed under the MIT License (MIT), see
|
4 |
http://jedwatson.github.io/classnames
|
5 |
*/
|
6 |
+
!function(){"use strict";function n(){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=n.apply(null,r);a&&e.push(a)}}else if("object"===i)if(r.toString===Object.prototype.toString)for(var s in r)o.call(r,s)&&r[s]&&e.push(s);else e.push(r.toString())}}return e.join(" ")}var o={}.hasOwnProperty;void 0!==e&&e.exports?(n.default=n,e.exports=n):(r=[],void 0!==(i=function(){return n}.apply(t,r))&&(e.exports=i))}()},function(e,t,n){var r=n(6),i=n(0),o=n(37),a=n(11),s=n(9),l=function(e,t,n){var c,u,d,p=e&l.F,h=e&l.G,m=e&l.S,f=e&l.P,g=e&l.B,w=e&l.W,v=h?i:i[t]||(i[t]={}),y=v.prototype,b=h?r:m?r[t]:(r[t]||{}).prototype;h&&(n=t);for(c in n)(u=!p&&b&&void 0!==b[c])&&s(v,c)||(d=u?b[c]:n[c],v[c]=h&&"function"!=typeof b[c]?n[c]:g&&u?o(d,r):w&&b[c]==d?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(d):f&&"function"==typeof d?o(Function.call,d):d,f&&((v.virtual||(v.virtual={}))[c]=d,e&l.R&&y&&!y[c]&&a(y,c,d)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,n){e.exports=!n(13)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){var r=n(8),i=n(53),o=n(38),a=Object.defineProperty;t.f=n(5)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(12);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(57),i=n(36);e.exports=function(e){return r(i(e))}},function(e,t,n){var r=n(7),i=n(15);e.exports=n(5)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){e.exports={}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(56),i=n(43);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t,n){var r=n(36);e.exports=function(e){return Object(r(e))}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){"use strict";var r={};r.headline=wp.element.createElement("svg",{width:"15",height:"14",viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.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:"white"})),r.headlineBlack=wp.element.createElement("svg",{width:"15",height:"14",viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.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"})),r.warning=wp.element.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M16 8C16 6.58065 15.6129 5.22581 14.9032 4C14.1935 2.77419 13.2258 1.80645 12 1.09677C10.7742 0.387097 9.41936 0 8 0C6.54839 0 5.22581 0.387097 4 1.09677C2.77419 1.80645 1.77419 2.77419 1.06452 4C0.354839 5.22581 0 6.58065 0 8C0 9.45161 0.354839 10.7742 1.06452 12C1.77419 13.2258 2.77419 14.2258 4 14.9355C5.22581 15.6452 6.54839 16 8 16C9.41936 16 10.7742 15.6452 12 14.9355C13.2258 14.2258 14.1935 13.2258 14.9032 12C15.6129 10.7742 16 9.45161 16 8ZM8 9.6129C8.3871 9.6129 8.74194 9.77419 9.03226 10.0645C9.32258 10.3548 9.48387 10.7097 9.48387 11.0968C9.48387 11.5161 9.32258 11.871 9.03226 12.1613C8.74194 12.4516 8.3871 12.5806 8 12.5806C7.58065 12.5806 7.22581 12.4516 6.93548 12.1613C6.64516 11.871 6.51613 11.5161 6.51613 11.0968C6.51613 10.7097 6.64516 10.3548 6.93548 10.0645C7.22581 9.77419 7.58065 9.6129 8 9.6129ZM6.58065 4.29032C6.58065 4.16129 6.6129 4.06452 6.67742 4C6.74194 3.93548 6.83871 3.87097 6.96774 3.87097H9.03226C9.12903 3.87097 9.22581 3.93548 9.29032 4C9.35484 4.06452 9.41936 4.16129 9.41936 4.29032L9.16129 8.67742C9.16129 8.77419 9.09677 8.87097 9.03226 8.93548C8.96774 9 8.87097 9.03226 8.77419 9.03226H7.22581C7.09677 9.03226 7 9 6.93548 8.93548C6.87097 8.87097 6.83871 8.77419 6.83871 8.67742L6.58065 4.29032Z",fill:"#F2994A"})),r.smile=wp.element.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M2.32258 2.35484C3.89247 0.784946 5.78495 0 8 0C10.2151 0 12.0968 0.784946 13.6452 2.35484C15.2151 3.90323 16 5.78495 16 8C16 10.2151 15.2151 12.1075 13.6452 13.6774C12.0968 15.2258 10.2151 16 8 16C5.78495 16 3.89247 15.2258 2.32258 13.6774C0.774194 12.1075 0 10.2151 0 8C0 5.78495 0.774194 3.90323 2.32258 2.35484ZM11.2903 5.74194C11.0968 5.52688 10.8602 5.41935 10.5806 5.41935C10.3011 5.41935 10.0538 5.52688 9.83871 5.74194C9.64516 5.93548 9.54839 6.17204 9.54839 6.45161C9.54839 6.73118 9.64516 6.97849 9.83871 7.19355C10.0538 7.3871 10.3011 7.48387 10.5806 7.48387C10.8602 7.48387 11.0968 7.3871 11.2903 7.19355C11.5054 6.97849 11.6129 6.73118 11.6129 6.45161C11.6129 6.17204 11.5054 5.93548 11.2903 5.74194ZM6.12903 5.74194C5.93548 5.52688 5.69892 5.41935 5.41935 5.41935C5.13978 5.41935 4.89247 5.52688 4.67742 5.74194C4.48387 5.93548 4.3871 6.17204 4.3871 6.45161C4.3871 6.73118 4.48387 6.97849 4.67742 7.19355C4.89247 7.3871 5.13978 7.48387 5.41935 7.48387C5.69892 7.48387 5.93548 7.3871 6.12903 7.19355C6.34409 6.97849 6.45161 6.73118 6.45161 6.45161C6.45161 6.17204 6.34409 5.93548 6.12903 5.74194ZM11.7097 10.9032C11.7957 10.8172 11.8387 10.7204 11.8387 10.6129C11.8387 10.4839 11.8065 10.3871 11.7419 10.3226C11.6774 10.2366 11.5914 10.172 11.4839 10.129C11.3978 10.0645 11.3011 10.043 11.1935 10.0645C11.086 10.086 10.9892 10.1505 10.9032 10.2581C10.1505 11.1613 9.1828 11.6129 8 11.6129C6.8172 11.6129 5.84946 11.1613 5.09677 10.2581C5.01075 10.1505 4.91398 10.086 4.80645 10.0645C4.69892 10.043 4.5914 10.0645 4.48387 10.129C4.39785 10.172 4.32258 10.2366 4.25806 10.3226C4.19355 10.3871 4.16129 10.4839 4.16129 10.6129C4.16129 10.7204 4.2043 10.8172 4.29032 10.9032C5.25806 12.0645 6.49462 12.6452 8 12.6452C9.50538 12.6452 10.7419 12.0645 11.7097 10.9032Z",fill:"#1EC185"})),r.neutral=wp.element.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M2.32258 2.35484C3.89247 0.784946 5.78495 0 8 0C10.2151 0 12.0968 0.784946 13.6452 2.35484C15.2151 3.90323 16 5.78495 16 8C16 10.2151 15.2151 12.1075 13.6452 13.6774C12.0968 15.2258 10.2151 16 8 16C5.78495 16 3.89247 15.2258 2.32258 13.6774C0.774194 12.1075 0 10.2151 0 8C0 5.78495 0.774194 3.90323 2.32258 2.35484ZM6.12903 5.74194C5.93548 5.52688 5.69892 5.41935 5.41935 5.41935C5.13978 5.41935 4.89247 5.52688 4.67742 5.74194C4.48387 5.93548 4.3871 6.17204 4.3871 6.45161C4.3871 6.73118 4.48387 6.97849 4.67742 7.19355C4.89247 7.3871 5.13978 7.48387 5.41935 7.48387C5.69892 7.48387 5.93548 7.3871 6.12903 7.19355C6.34409 6.97849 6.45161 6.73118 6.45161 6.45161C6.45161 6.17204 6.34409 5.93548 6.12903 5.74194ZM11.0968 11.6129C11.4409 11.6129 11.6129 11.4409 11.6129 11.0968C11.6129 10.7527 11.4409 10.5806 11.0968 10.5806H4.90323C4.55914 10.5806 4.3871 10.7527 4.3871 11.0968C4.3871 11.4409 4.55914 11.6129 4.90323 11.6129H11.0968ZM9.83871 7.19355C10.0538 7.3871 10.3011 7.48387 10.5806 7.48387C10.8602 7.48387 11.0968 7.3871 11.2903 7.19355C11.5054 6.97849 11.6129 6.73118 11.6129 6.45161C11.6129 6.17204 11.5054 5.93548 11.2903 5.74194C11.0968 5.52688 10.8602 5.41935 10.5806 5.41935C10.3011 5.41935 10.0538 5.52688 9.83871 5.74194C9.64516 5.93548 9.54839 6.17204 9.54839 6.45161C9.54839 6.73118 9.64516 6.97849 9.83871 7.19355Z",fill:"#626D83"})),r.negative=wp.element.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M2.32258 2.35484C3.89247 0.784946 5.78495 0 8 0C10.2151 0 12.0968 0.784946 13.6452 2.35484C15.2151 3.90323 16 5.78495 16 8C16 10.2151 15.2151 12.1075 13.6452 13.6774C12.0968 15.2258 10.2151 16 8 16C5.78495 16 3.89247 15.2258 2.32258 13.6774C0.774194 12.1075 0 10.2151 0 8C0 5.78495 0.774194 3.90323 2.32258 2.35484ZM4.3871 7.48387C4.3871 7.76344 4.48387 8.01075 4.67742 8.22581C4.89247 8.41935 5.13978 8.51613 5.41935 8.51613C5.69892 8.51613 5.93548 8.41935 6.12903 8.22581C6.34409 8.01075 6.45161 7.76344 6.45161 7.48387C6.45161 7.44086 6.43011 7.35484 6.3871 7.22581C6.4086 7.22581 6.41935 7.22581 6.41935 7.22581C6.44086 7.22581 6.45161 7.22581 6.45161 7.22581C6.70968 7.22581 6.87097 7.10753 6.93548 6.87097C6.95699 6.78495 6.96774 6.70968 6.96774 6.64516C6.96774 6.58065 6.94624 6.52688 6.90323 6.48387C6.88172 6.41935 6.83871 6.36559 6.77419 6.32258C6.73118 6.27957 6.67742 6.24731 6.6129 6.22581L4.03226 5.45161C3.88172 5.4086 3.74194 5.41935 3.6129 5.48387C3.50538 5.54839 3.43011 5.64516 3.3871 5.77419C3.36559 5.86021 3.35484 5.93548 3.35484 6C3.37634 6.06452 3.39785 6.12903 3.41935 6.19355C3.44086 6.23656 3.47312 6.27957 3.51613 6.32258C3.58065 6.36559 3.65591 6.39785 3.74194 6.41935L4.70968 6.74194C4.49462 6.93548 4.3871 7.1828 4.3871 7.48387ZM9.80645 12.4516C9.93548 12.6237 10.0968 12.6882 10.2903 12.6452C10.4839 12.6021 10.6129 12.4946 10.6774 12.3226C10.7419 12.1505 10.7097 11.9785 10.5806 11.8065C9.91398 10.9892 9.05376 10.5806 8 10.5806C6.94624 10.5806 6.07527 10.9892 5.3871 11.8065C5.34409 11.871 5.31183 11.9462 5.29032 12.0323C5.26882 12.1183 5.26882 12.1935 5.29032 12.2581C5.31183 12.3226 5.34409 12.3871 5.3871 12.4516C5.43011 12.5161 5.48387 12.5699 5.54839 12.6129C5.6129 12.6344 5.67742 12.6559 5.74194 12.6774C5.82796 12.6774 5.90323 12.6667 5.96774 12.6452C6.05376 12.6021 6.12903 12.5376 6.19355 12.4516C6.64516 11.914 7.24731 11.6452 8 11.6452C8.75269 11.6452 9.35484 11.914 9.80645 12.4516ZM12.2903 6.41935C12.4194 6.37634 12.5161 6.30107 12.5806 6.19355C12.6452 6.06452 12.6559 5.92473 12.6129 5.77419C12.5914 5.68817 12.5484 5.6129 12.4839 5.54839C12.4194 5.48387 12.3441 5.45161 12.2581 5.45161C12.172 5.43011 12.086 5.43011 12 5.45161L9.41935 6.22581C9.26882 6.26882 9.16129 6.35484 9.09677 6.48387C9.03226 6.5914 9.02151 6.72043 9.06452 6.87097C9.12903 7.10753 9.29032 7.22581 9.54839 7.22581C9.56989 7.22581 9.5914 7.22581 9.6129 7.22581C9.56989 7.33333 9.54839 7.41935 9.54839 7.48387C9.54839 7.76344 9.64516 8.01075 9.83871 8.22581C10.0538 8.41935 10.3011 8.51613 10.5806 8.51613C10.8602 8.51613 11.0968 8.41935 11.2903 8.22581C11.5054 8.01075 11.6129 7.76344 11.6129 7.48387C11.6129 7.1828 11.5054 6.93548 11.2903 6.74194L12.2903 6.41935Z",fill:"#626D83"})),r.check=wp.element.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M13.6452 2.35484C15.2151 3.90323 16 5.78495 16 8C16 10.2151 15.2151 12.1075 13.6452 13.6774C12.0968 15.2258 10.2151 16 8 16C5.78495 16 3.89247 15.2258 2.32258 13.6774C0.774194 12.1075 0 10.2151 0 8C0 5.78495 0.774194 3.90323 2.32258 2.35484C3.89247 0.784946 5.78495 0 8 0C10.2151 0 12.0968 0.784946 13.6452 2.35484ZM7.06452 12.2258L13 6.29032C13.2581 6.05376 13.2581 5.8172 13 5.58065L12.2903 4.83871C12.0323 4.60215 11.7849 4.60215 11.5484 4.83871L6.70968 9.67742L4.45161 7.41935C4.21505 7.1828 3.96774 7.1828 3.70968 7.41935L3 8.16129C2.74194 8.39785 2.74194 8.63441 3 8.87097L6.35484 12.2258C6.5914 12.4839 6.82796 12.4839 7.06452 12.2258Z",fill:"#1EC185"})),t.a=r},function(e,t,n){e.exports={default:n(155),__esModule:!0}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";t.__esModule=!0;var r=n(72),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,i.default)(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()},function(e,t,n){"use strict";t.__esModule=!0;var r=n(73),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":(0,i.default)(t))&&"function"!=typeof t?e:t}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(172),o=r(i),a=n(176),s=r(a),l=n(73),c=r(l);t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,c.default)(t)));e.prototype=(0,s.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(o.default?(0,o.default)(e,t):e.__proto__=t)}},function(e,t,n){"use strict";var r=(n(180),n(33));n.d(t,"a",function(){return r.a});n(189),n(191),n(192),n(193),n(81)},function(e,t){e.exports=lodash},function(e,t,n){"use strict";var r=n(94)(!0);n(52)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t){e.exports=!0},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){"use strict";t.__esModule=!0;var r=n(106),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=i.default||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}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(110),o=r(i),a=n(62),s=r(a);t.default=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,l=(0,s.default)(e);!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&l.return&&l.return()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if((0,o.default)(Object(t)))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},function(e,t,n){"use strict";var r=wp.element.Fragment,i=function(e){var t=e.barScore,n=e.width?e.width+"px":"80px",i=t>50?0:180-3.6*t,o=e.barColor;return wp.element.createElement(r,null,wp.element.createElement("div",{className:"monsterinsights-donut-container",style:{flexDirection:"column"}},wp.element.createElement("div",{className:"monsterinsights-donut",style:{width:n,paddingBottom:n,backgroundColor:"#f2f2f2"}},wp.element.createElement("div",{className:"monsterinsights-donut-sections",style:{transform:"rotate(0deg)"}},wp.element.createElement("div",{className:"monsterinsights-donut-section monsterinsights-donut-section-right",style:{transform:"rotate(0deg)"}},wp.element.createElement("div",{className:"monsterinsights-donut-filler",style:{backgroundColor:o,transform:"rotate(-"+i+"deg)"}})),function(){if(t>50){var e=180+360*(t-50)/100;return wp.element.createElement("div",{className:"monsterinsights-donut-section monsterinsights-donut-section-left",style:{transform:"rotate(0deg)"}},wp.element.createElement("div",{className:"monsterinsights-donut-filler",style:{backgroundColor:o,transform:"rotate("+e+"deg)"}}))}}()),wp.element.createElement("div",{className:"monsterinsights-donut-overlay",style:{height:"70%",width:"70%",top:"calc(15%)",left:"calc(15%)",backgroundColor:"rgb(255, 255, 255)"}}))))};t.a=i},function(e,t,n){"use strict";var r=(n(34),n(49),n(80)),i=(n.n(r),n(26));n.n(i);n.o(r,"cloneElement")&&n.d(t,"d",function(){return r.cloneElement}),n.o(r,"Component")&&n.d(t,"a",function(){return r.Component}),n.o(r,"createContext")&&n.d(t,"e",function(){return r.createContext}),n.o(r,"createElement")&&n.d(t,"f",function(){return r.createElement}),n.o(r,"forwardRef")&&n.d(t,"g",function(){return r.forwardRef}),n.o(r,"Fragment")&&n.d(t,"b",function(){return r.Fragment}),n.o(r,"isValidElement")&&n.d(t,"h",function(){return r.isValidElement}),n.o(r,"StrictMode")&&n.d(t,"c",function(){return r.StrictMode})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.a=r},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(95);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(12);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var r=n(8),i=n(97),o=n(43),a=n(41)("IE_PROTO"),s=function(){},l=function(){var e,t=n(54)("iframe"),r=o.length;for(t.style.display="none",n(100).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;r--;)delete l.prototype[o[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[a]=e):n=l(),void 0===t?n:i(n,t)}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(42)("keys"),i=n(29);e.exports=function(e){return r[e]||(r[e]=i(e))}},function(e,t,n){var r=n(0),i=n(6),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(28)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(7).f,i=n(9),o=n(2)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){n(112);for(var r=n(6),i=n(11),o=n(14),a=n(2)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var c=s[l],u=r[c],d=u&&u.prototype;d&&!d[a]&&i(d,a,c),o[c]=o.Array}},function(e,t,n){t.f=n(2)},function(e,t,n){var r=n(6),i=n(0),o=n(28),a=n(47),s=n(7).f;e.exports=function(e){var t=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o=Object(i.a)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}t.a=r;var i=n(188)},function(e,t,n){"use strict";function r(e){return"string"!=typeof e||""===e?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(e)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(e)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)}t.a=r},function(e,t,n){"use strict";t.__esModule=!0;var r=n(92),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return(0,i.default)(e)}},function(e,t,n){"use strict";var r=n(28),i=n(4),o=n(55),a=n(11),s=n(14),l=n(96),c=n(44),u=n(59),d=n(2)("iterator"),p=!([].keys&&"next"in[].keys()),h=function(){return this};e.exports=function(e,t,n,m,f,g,w){l(n,t,m);var v,y,b,S=function(e){if(!p&&e in x)return x[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},E=t+" Iterator",_="values"==f,C=!1,x=e.prototype,k=x[d]||x["@@iterator"]||f&&x[f],O=k||S(f),T=f?_?S("entries"):O:void 0,N="Array"==t?x.entries||k:k;if(N&&(b=u(N.call(new e)))!==Object.prototype&&b.next&&(c(b,E,!0),r||"function"==typeof b[d]||a(b,d,h)),_&&k&&"values"!==k.name&&(C=!0,O=function(){return k.call(this)}),r&&!w||!p&&!C&&x[d]||a(x,d,O),s[t]=O,s[E]=h,f)if(v={values:_?O:S("values"),keys:g?O:S("keys"),entries:T},w)for(y in v)y in x||o(x,y,v[y]);else i(i.P+i.F*(p||C),t,v);return v}},function(e,t,n){e.exports=!n(5)&&!n(13)(function(){return 7!=Object.defineProperty(n(54)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(12),i=n(6).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,n){e.exports=n(11)},function(e,t,n){var r=n(9),i=n(10),o=n(98)(!1),a=n(41)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),l=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~o(c,n)||c.push(n));return c}},function(e,t,n){var r=n(40);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(35),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){var r=n(9),i=n(17),o=n(41)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){var r=n(61),i=n(2)("iterator"),o=n(14);e.exports=n(0).getIteratorMethod=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||o[r(e)]}},function(e,t,n){var r=n(40),i=n(2)("toStringTag"),o="Arguments"==r(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=a(t=Object(e),i))?n:o?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t,n){e.exports={default:n(116),__esModule:!0}},function(e,t,n){e.exports=n(118)},function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},function(e,t,n){"use strict";function r(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var i=n(1);e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(i.isURLSearchParams(t))o=t.toString();else{var a=[];i.forEach(t,function(e,t){null!==e&&void 0!==e&&(i.isArray(e)?t+="[]":e=[e],i.forEach(e,function(e){i.isDate(e)?e=e.toISOString():i.isObject(e)&&(e=JSON.stringify(e)),a.push(r(t)+"="+r(e))}))}),o=a.join("&")}if(o){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,n){"use strict";(function(t){function r(e,t){!i.isUndefined(e)&&i.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var i=n(1),o=n(124),a={"Content-Type":"application/x-www-form-urlencoded"},s={adapter:function(){var e;return"undefined"!=typeof XMLHttpRequest?e=n(68):void 0!==t&&"[object process]"===Object.prototype.toString.call(t)&&(e=n(68)),e}(),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),i.isFormData(e)||i.isArrayBuffer(e)||i.isBuffer(e)||i.isStream(e)||i.isFile(e)||i.isBlob(e)?e:i.isArrayBufferView(e)?e.buffer:i.isURLSearchParams(e)?(r(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):i.isObject(e)?(r(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300}};s.headers={common:{Accept:"application/json, text/plain, */*"}},i.forEach(["delete","get","head"],function(e){s.headers[e]={}}),i.forEach(["post","put","patch"],function(e){s.headers[e]=i.merge(a)}),e.exports=s}).call(t,n(123))},function(e,t,n){"use strict";var r=n(1),i=n(125),o=n(65),a=n(127),s=n(130),l=n(131),c=n(69);e.exports=function(e){return new Promise(function(t,u){var d=e.data,p=e.headers;r.isFormData(d)&&delete p["Content-Type"];var h=new XMLHttpRequest;if(e.auth){var m=e.auth.username||"",f=e.auth.password||"";p.Authorization="Basic "+btoa(m+":"+f)}var g=a(e.baseURL,e.url);if(h.open(e.method.toUpperCase(),o(g,e.params,e.paramsSerializer),!0),h.timeout=e.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?s(h.getAllResponseHeaders()):null,r=e.responseType&&"text"!==e.responseType?h.response:h.responseText,o={data:r,status:h.status,statusText:h.statusText,headers:n,config:e,request:h};i(t,u,o),h=null}},h.onabort=function(){h&&(u(c("Request aborted",e,"ECONNABORTED",h)),h=null)},h.onerror=function(){u(c("Network Error",e,null,h)),h=null},h.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),u(c(t,e,"ECONNABORTED",h)),h=null},r.isStandardBrowserEnv()){var w=n(132),v=(e.withCredentials||l(g))&&e.xsrfCookieName?w.read(e.xsrfCookieName):void 0;v&&(p[e.xsrfHeaderName]=v)}if("setRequestHeader"in h&&r.forEach(p,function(e,t){void 0===d&&"content-type"===t.toLowerCase()?delete p[t]:h.setRequestHeader(t,e)}),r.isUndefined(e.withCredentials)||(h.withCredentials=!!e.withCredentials),e.responseType)try{h.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&h.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){h&&(h.abort(),u(e),h=null)}),void 0===d&&(d=null),h.send(d)})}},function(e,t,n){"use strict";var r=n(126);e.exports=function(e,t,n,i,o){var a=new Error(e);return r(a,t,n,i,o)}},function(e,t,n){"use strict";var r=n(1);e.exports=function(e,t){t=t||{};var n={},i=["url","method","params","data"],o=["headers","auth","proxy"],a=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];r.forEach(i,function(e){void 0!==t[e]&&(n[e]=t[e])}),r.forEach(o,function(i){r.isObject(t[i])?n[i]=r.deepMerge(e[i],t[i]):void 0!==t[i]?n[i]=t[i]:r.isObject(e[i])?n[i]=r.deepMerge(e[i]):void 0!==e[i]&&(n[i]=e[i])}),r.forEach(a,function(r){void 0!==t[r]?n[r]=t[r]:void 0!==e[r]&&(n[r]=e[r])});var s=i.concat(o).concat(a),l=Object.keys(t).filter(function(e){return-1===s.indexOf(e)});return r.forEach(l,function(r){void 0!==t[r]?n[r]=t[r]:void 0!==e[r]&&(n[r]=e[r])}),n}},function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},function(e,t,n){e.exports={default:n(158),__esModule:!0}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(160),o=r(i),a=n(162),s=r(a),l="function"==typeof s.default&&"symbol"==typeof o.default?function(e){return typeof e}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":typeof e};t.default="function"==typeof s.default&&"symbol"===l(o.default)?function(e){return void 0===e?"undefined":l(e)}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":void 0===e?"undefined":l(e)}},function(e,t,n){var r=n(56),i=n(43).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){var r=n(18),i=n(15),o=n(10),a=n(38),s=n(9),l=n(53),c=Object.getOwnPropertyDescriptor;t.f=n(5)?c:function(e,t){if(e=o(e),t=a(t,!0),l)try{return c(e,t)}catch(e){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},function(e,t,n){"use strict";function r(e,t){if(e){if("string"==typeof e)return Object(i.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(i.a)(e,t):void 0}}t.a=r;var i=n(77)},function(e,t,n){"use strict";function r(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}t.a=r},function(e,t,n){"use strict";function r(e){"@babel/helpers - typeof";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)}t.a=r},function(e,t,n){"use strict";function r(e){return Object(i.a)(e)||Object(o.a)(e)||Object(a.a)(e)||Object(s.a)()}t.a=r;var i=n(185),o=n(186),a=n(76),s=n(187)},function(e,t){e.exports=React},function(e,t,n){"use strict";function r(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 i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){Object(a.a)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function o(e){var t=e.children,n=Object(s.a)(e,["children"]);return Object(l.f)("div",i({dangerouslySetInnerHTML:{__html:t}},n))}t.a=o;var a=n(34),s=n(49),l=n(33)},function(e,t,n){"use strict";t.__esModule=!0;var r=n(72),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e,t,n){return t in e?(0,i.default)(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){e.exports=n(200)},function(e,t,n){"use strict";function r(e){var t=e.className,n=e.selected,o=e.help,p=e.onChange,h=e.options,m=void 0===h?[]:h,f=e.icons,g=void 0===f?[]:f,w=u(r),v="inspector-monsterinsights-popular-posts-theme-control-"+w,y=function(e){return p(e.target.value)},b=[],S=0,E=0,_=0;for(var C in m)if(m.hasOwnProperty(C)){var x=m[C];void 0===b[S]&&(b[S]=[]),b[S][E]=x,x.value===n&&(_=S),3===E?(E=0,S++):E++}var k=function(){return wp.element.createElement("span",{className:"monsterinsights-theme-picker-check"},l.a.checkmark)},O=function(e){var t="monsterinsights-theme-picker-label-"+e.value;return e.value===n&&(t+=" monsterinsights-theme-picker-label-selected"),s.a.canaccess(e.level)||(t+=" monsterinsights-theme-picker-label-disabled"),t};return!Object(i.isEmpty)(m)&&wp.element.createElement(d,{id:v,help:o,className:a()(t,"monsterinsights-theme-picker")},wp.element.createElement(c.c,{naturalSlideWidth:250,totalSlides:b.length,className:"monsterinsights-theme-picker-carousel",currentSlide:_,dragEnabled:!1},wp.element.createElement(c.f,null,b.map(function(e,t){return wp.element.createElement(c.e,{className:"monsterinsights-theme-picker-slide",index:t,key:v+"-"+t},e.map(function(e,r){return wp.element.createElement("div",{key:v+"-"+t+"-"+r,className:"monsterinsights-slider-theme-option"},wp.element.createElement("input",{id:v+"-"+t+"-"+r,className:"monsterinsights-slider-theme-input",type:"radio",name:v,value:e.value,onChange:y,checked:e.value===n,"aria-describedby":o?v+"__help":void 0}),wp.element.createElement("label",{htmlFor:v+"-"+t+"-"+r,className:O(e)},e.value===n&&k(),wp.element.createElement("span",{className:"monsterinsights-theme-picker-label-icon"},g[e.value]?g[e.value]:""),wp.element.createElement("span",{className:"monsterinsights-theme-picker-label-text"},e.label)))}))})),function(){if(b.length>1)return wp.element.createElement("div",{className:"monsterinsights-carousel-navigation"},wp.element.createElement(c.a,null,l.a.chevronleft),wp.element.createElement(c.d,{className:"monsterinsights-carousel-navigation-dots"}),wp.element.createElement(c.b,null,l.a.chevronright))}()))}t.a=r;var i=n(26),o=(n.n(i),n(3)),a=n.n(o),s=n(203),l=n(204),c=n(205),u=wp.compose.useInstanceId,d=wp.components.BaseControl},function(e,t,n){"use strict";function r(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 i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){Object(o.a)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}n.d(t,"a",function(){return c});var o=n(34),a=n(213),s={"":{plural_forms:function(e){return 1===e?0:1}}},l=/^i18n\.(n?gettext|has_translation)(_|$)/,c=function(e,t,n){var r=new a.a({}),o=new Set,c=function(){o.forEach(function(e){return e()})},u=function(e){return o.add(e),function(){return o.delete(e)}},d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return r.data[e]},p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default";r.data[t]=i(i(i({},s),r.data[t]),e),r.data[t][""]=i(i({},s[""]),r.data[t][""])},h=function(e,t){p(e,t),c()},m=function(e,t){r.data={},r.pluralForms={},h(e,t)},f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;return r.data[e]||p(void 0,e),r.dcnpgettext(e,t,n,i,o)},g=function(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default"},w=function(e,t){var r=f(t,void 0,e);return n?(r=n.applyFilters("i18n.gettext",r,e,t),n.applyFilters("i18n.gettext_"+g(t),r,e,t)):r},v=function(e,t,r){var i=f(r,t,e);return n?(i=n.applyFilters("i18n.gettext_with_context",i,e,t,r),n.applyFilters("i18n.gettext_with_context_"+g(r),i,e,t,r)):i},y=function(e,t,r,i){var o=f(i,void 0,e,t,r);return n?(o=n.applyFilters("i18n.ngettext",o,e,t,r,i),n.applyFilters("i18n.ngettext_"+g(i),o,e,t,r,i)):o},b=function(e,t,r,i,o){var a=f(o,i,e,t,r);return n?(a=n.applyFilters("i18n.ngettext_with_context",a,e,t,r,i,o),n.applyFilters("i18n.ngettext_with_context_"+g(o),a,e,t,r,i,o)):a},S=function(){return"rtl"===v("ltr","text direction")},E=function(e,t,i){var o,a,s=t?t+""+e:e,l=!(null===(o=r.data)||void 0===o||null===(a=o[null!==i&&void 0!==i?i:"default"])||void 0===a||!a[s]);return n&&(l=n.applyFilters("i18n.has_translation",l,e,t,i),l=n.applyFilters("i18n.has_translation_"+g(i),l,e,t,i)),l};if(e&&h(e,t),n){var _=function(e){l.test(e)&&c()};n.addAction("hookAdded","core/i18n",_),n.addAction("hookRemoved","core/i18n",_)}return{getLocaleData:d,setLocaleData:h,resetLocaleData:m,subscribe:u,__:w,_x:v,_n:y,_nx:b,isRTL:S,hasTranslation:E}}},function(e,t,n){"use strict";function r(e){return"string"!=typeof e||""===e?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(e)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)}t.a=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(88),i=(n.n(r),n(89)),o=(n.n(i),n(90),n(198),wp.i18n.setLocaleData);void 0!==window.monsterinsights_gutenberg_tool_vars.translations&&o(window.monsterinsights_gutenberg_tool_vars.translations,"google-analytics-for-wordpress")},function(e,t){},function(e,t){},function(e,t,n){"use strict";n(91),n(148)},function(e,t,n){"use strict";var r=n(51),i=n.n(r),o=n(30),a=n.n(o),s=n(31),l=n.n(s),c=n(19),u=n(63),d=n.n(u),p=n(135),h=n(139),m=n(140),f=n(142),g=n(143),w=n(144),v=n(145),y=n(146),b=n(147),S=wp.i18n.__,E=wp.element,_=E.Fragment,C=E.useState,x=E.useEffect,k=wp.plugins.registerPlugin,O=wp.editPost,T=O.PluginSidebar,N=O.PluginSidebarMoreMenuItem,M=wp.data.select,j=function(e){var t=M("core/editor").getEditedPostAttribute("title"),n=S("Headline Analyzer","google-analytics-for-wordpress"),r=S("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.","google-analytics-for-wordpress"),o=C({}),s=l()(o,2),u=s[0],E=s[1],k=document.querySelector(".components-button[aria-label='"+n+"'] svg"),O=void 0!==u.previousHeadlinesData?u.previousHeadlinesData:[],j=sprintf(S("This headline analyzer is part of MonsterInsights to help you increase your traffic. See your %1swebsite traffic reports%2s.","google-analytics-for-wordpress"),'<a href="'+monsterinsights_gutenberg_tool_vars.reports_url+'" className="monsterinsights-headline-analyzer-link">',"</a>"),P=document.querySelector(".monsterinsights-headline-analyzer-wrapper");if(k){var D=document.createElement("span");if(u.dataExist&&void 0!==u.currentHeadlineData.score){var F=u.currentHeadlineData.score,A=F<40?"red":F<=60?"orange":"green";k.parentNode.setAttribute("monsterinsights-button-color",A),k.nextElementSibling?k.nextElementSibling.innerHTML=F+"/100":(D.innerHTML=F+"/100",k.parentNode.insertBefore(D,k.nextSibling))}else k.parentNode.setAttribute("monsterinsights-button-color","red"),k.nextElementSibling?k.nextElementSibling.innerHTML="00/100":(D.innerHTML="00/100",k.parentNode.insertBefore(D,k.nextSibling))}if(P){var L=P.parentNode.querySelectorAll(".components-panel__header");L&&L.forEach(function(e){var t=e.querySelector('[aria-pressed="true"]');t&&null!==t&&null!==t.offsetParent&&(t.style.display="none")})}var B=function(e){E(a()({},u,e))};return x(function(){var e=new FormData;e.append("_ajax_nonce",monsterinsights_gutenberg_tool_vars.nonce),e.append("action","monsterinsights_gutenberg_headline_analyzer_get_results"),e.append("dataType","json"),e.append("q",t),d.a.post(monsterinsights_gutenberg_tool_vars.ajaxurl,e).then(function(e){var t={dataExist:!1};e.data.data.analysed&&(t.currentHeadlineData=e.data.data,t.headlineData=e.data.data,t.dataExist=!0,void 0!==u.headlineData&&(t.previousHeadlinesData=[u.headlineData].concat(i()(O)))),E(a()({},u,t))}).catch(function(e){var t={dataExist:!1};E(a()({},u,t)),console.log(e)})},[t]),wp.element.createElement(_,null,wp.element.createElement(N,{target:"monsterinsights-headline-analyzer"},n),wp.element.createElement(T,{name:"monsterinsights-headline-analyzer",title:n,className:"monsterinsights-headline-analyzer-wrapper",icon:c.a.headline},void 0!==u.headlineData&&u.dataExist&&u.headlineData.analysed?wp.element.createElement(p.a,{analyzer:u,setAnalyzer:B}):wp.element.createElement("p",{className:"monsterinsights-headline-analyzer-empty-title-warning"},r),void 0!==u.headlineData&&u.dataExist&&u.headlineData.analysed&&O.length>0?wp.element.createElement(h.a,{analyzer:u,setAnalyzer:B}):"",void 0!==u.headlineData&&u.dataExist&&u.headlineData.analysed?wp.element.createElement(m.a,{data:u.headlineData}):"",void 0!==u.headlineData&&u.dataExist&&u.headlineData.analysed?wp.element.createElement(f.a,{data:u.headlineData}):"",void 0!==u.headlineData&&u.dataExist&&u.headlineData.analysed?wp.element.createElement(g.a,{data:u.headlineData}):"",void 0!==u.headlineData&&u.dataExist&&u.headlineData.analysed?wp.element.createElement(w.a,{data:u.headlineData}):"",void 0!==u.headlineData&&u.dataExist&&u.headlineData.analysed?wp.element.createElement(v.a,{data:u.headlineData}):"",void 0!==u.headlineData&&u.dataExist&&u.headlineData.analysed?wp.element.createElement(y.a,{data:u.headlineData}):"",void 0!==u.headlineData&&u.dataExist&&u.headlineData.analysed?wp.element.createElement(b.a,{data:u.headlineData}):"",wp.element.createElement("div",{className:"monsterinsights-headline-analyzer-bottom-notice"},wp.element.createElement("p",{dangerouslySetInnerHTML:{__html:j}}))))};"undefined"!=typeof monsterinsights_gutenberg_tool_vars&&monsterinsights_gutenberg_tool_vars.allowed_post_types.includes(monsterinsights_gutenberg_tool_vars.current_post_type)&&monsterinsights_gutenberg_tool_vars.is_headline_analyzer_enabled&&k("monsterinsights-headline-analyzer",{icon:c.a.headlineBlack,render:j})},function(e,t,n){e.exports={default:n(93),__esModule:!0}},function(e,t,n){n(27),n(101),e.exports=n(0).Array.from},function(e,t,n){var r=n(35),i=n(36);e.exports=function(e){return function(t,n){var o,a,s=String(i(t)),l=r(n),c=s.length;return l<0||l>=c?e?"":void 0:(o=s.charCodeAt(l),o<55296||o>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){"use strict";var r=n(39),i=n(15),o=n(44),a={};n(11)(a,n(2)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},function(e,t,n){var r=n(7),i=n(8),o=n(16);e.exports=n(5)?Object.defineProperties:function(e,t){i(e);for(var n,a=o(t),s=a.length,l=0;s>l;)r.f(e,n=a[l++],t[n]);return e}},function(e,t,n){var r=n(10),i=n(58),o=n(99);e.exports=function(e){return function(t,n,a){var s,l=r(t),c=i(l.length),u=o(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},function(e,t,n){var r=n(35),i=Math.max,o=Math.min;e.exports=function(e,t){return e=r(e),e<0?i(e+t,0):o(e,t)}},function(e,t,n){var r=n(6).document;e.exports=r&&r.documentElement},function(e,t,n){"use strict";var r=n(37),i=n(4),o=n(17),a=n(102),s=n(103),l=n(58),c=n(104),u=n(60);i(i.S+i.F*!n(105)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,i,d,p=o(e),h="function"==typeof this?this:Array,m=arguments.length,f=m>1?arguments[1]:void 0,g=void 0!==f,w=0,v=u(p);if(g&&(f=r(f,m>2?arguments[2]:void 0,2)),void 0==v||h==Array&&s(v))for(t=l(p.length),n=new h(t);t>w;w++)c(n,w,g?f(p[w],w):p[w]);else for(d=v.call(p),n=new h;!(i=d.next()).done;w++)c(n,w,g?a(d,f,[i.value,w],!0):i.value);return n.length=w,n}})},function(e,t,n){var r=n(8);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&r(o.call(e)),t}}},function(e,t,n){var r=n(14),i=n(2)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}},function(e,t,n){"use strict";var r=n(7),i=n(15);e.exports=function(e,t,n){t in e?r.f(e,t,i(0,n)):e[t]=n}},function(e,t,n){var r=n(2)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o=[7],a=o[r]();a.next=function(){return{done:n=!0}},o[r]=function(){return a},e(o)}catch(e){}return n}},function(e,t,n){e.exports={default:n(107),__esModule:!0}},function(e,t,n){n(108),e.exports=n(0).Object.assign},function(e,t,n){var r=n(4);r(r.S+r.F,"Object",{assign:n(109)})},function(e,t,n){"use strict";var r=n(5),i=n(16),o=n(45),a=n(18),s=n(17),l=n(57),c=Object.assign;e.exports=!c||n(13)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=c({},e)[n]||Object.keys(c({},t)).join("")!=r})?function(e,t){for(var n=s(e),c=arguments.length,u=1,d=o.f,p=a.f;c>u;)for(var h,m=l(arguments[u++]),f=d?i(m).concat(d(m)):i(m),g=f.length,w=0;g>w;)h=f[w++],r&&!p.call(m,h)||(n[h]=m[h]);return n}:c},function(e,t,n){e.exports={default:n(111),__esModule:!0}},function(e,t,n){n(46),n(27),e.exports=n(115)},function(e,t,n){"use strict";var r=n(113),i=n(114),o=n(14),a=n(10);e.exports=n(52)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):"keys"==t?i(0,n):"values"==t?i(0,e[n]):i(0,[n,e[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){var r=n(61),i=n(2)("iterator"),o=n(14);e.exports=n(0).isIterable=function(e){var t=Object(e);return void 0!==t[i]||"@@iterator"in t||o.hasOwnProperty(r(t))}},function(e,t,n){n(46),n(27),e.exports=n(117)},function(e,t,n){var r=n(8),i=n(60);e.exports=n(0).getIterator=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return r(t.call(e))}},function(e,t,n){"use strict";function r(e){var t=new a(e),n=o(a.prototype.request,t);return i.extend(n,a.prototype,t),i.extend(n,t),n}var i=n(1),o=n(64),a=n(119),s=n(70),l=n(67),c=r(l);c.Axios=a,c.create=function(e){return r(s(c.defaults,e))},c.Cancel=n(71),c.CancelToken=n(133),c.isCancel=n(66),c.all=function(e){return Promise.all(e)},c.spread=n(134),e.exports=c,e.exports.default=c},function(e,t,n){"use strict";function r(e){this.defaults=e,this.interceptors={request:new a,response:new a}}var i=n(1),o=n(65),a=n(120),s=n(121),l=n(70);r.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{},e.url=arguments[0]):e=e||{},e=l(this.defaults,e),e.method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[s,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});t.length;)n=n.then(t.shift(),t.shift());return n},r.prototype.getUri=function(e){return e=l(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},i.forEach(["delete","get","head","options"],function(e){r.prototype[e]=function(t,n){return this.request(i.merge(n||{},{method:e,url:t}))}}),i.forEach(["post","put","patch"],function(e){r.prototype[e]=function(t,n,r){return this.request(i.merge(r||{},{method:e,url:t,data:n}))}}),e.exports=r},function(e,t,n){"use strict";function r(){this.handlers=[]}var i=n(1);r.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},r.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},r.prototype.forEach=function(e){i.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=r},function(e,t,n){"use strict";function r(e){e.cancelToken&&e.cancelToken.throwIfRequested()}var i=n(1),o=n(122),a=n(66),s=n(67);e.exports=function(e){return r(e),e.headers=e.headers||{},e.data=o(e.data,e.headers,e.transformRequest),e.headers=i.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),i.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||s.adapter)(e).then(function(t){return r(e),t.data=o(t.data,t.headers,e.transformResponse),t},function(t){return a(t)||(r(e),t&&t.response&&(t.response.data=o(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},function(e,t,n){"use strict";var r=n(1);e.exports=function(e,t,n){return r.forEach(n,function(n){e=n(e,t)}),e}},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(e){if(u===setTimeout)return setTimeout(e,0);if((u===n||!u)&&setTimeout)return u=setTimeout,setTimeout(e,0);try{return u(e,0)}catch(t){try{return u.call(null,e,0)}catch(t){return u.call(this,e,0)}}}function o(e){if(d===clearTimeout)return clearTimeout(e);if((d===r||!d)&&clearTimeout)return d=clearTimeout,clearTimeout(e);try{return d(e)}catch(t){try{return d.call(null,e)}catch(t){return d.call(this,e)}}}function a(){f&&h&&(f=!1,h.length?m=h.concat(m):g=-1,m.length&&s())}function s(){if(!f){var e=i(a);f=!0;for(var t=m.length;t;){for(h=m,m=[];++g<t;)h&&h[g].run();g=-1,t=m.length}h=null,f=!1,o(e)}}function l(e,t){this.fun=e,this.array=t}function c(){}var u,d,p=e.exports={};!function(){try{u="function"==typeof setTimeout?setTimeout:n}catch(e){u=n}try{d="function"==typeof clearTimeout?clearTimeout:r}catch(e){d=r}}();var h,m=[],f=!1,g=-1;p.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];m.push(new l(e,t)),1!==m.length||f||i(s)},l.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=c,p.addListener=c,p.once=c,p.off=c,p.removeListener=c,p.removeAllListeners=c,p.emit=c,p.prependListener=c,p.prependOnceListener=c,p.listeners=function(e){return[]},p.binding=function(e){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(e){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},function(e,t,n){"use strict";var r=n(1);e.exports=function(e,t){r.forEach(e,function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])})}},function(e,t,n){"use strict";var r=n(69);e.exports=function(e,t,n){var i=n.config.validateStatus;!i||i(n.status)?e(n):t(r("Request failed with status code "+n.status,n.config,null,n.request,n))}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,i){return e.config=t,n&&(e.code=n),e.request=r,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},function(e,t,n){"use strict";var r=n(128),i=n(129);e.exports=function(e,t){return e&&!r(t)?i(e,t):t}},function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,n){"use strict";var r=n(1),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,o,a={};return e?(r.forEach(e.split("\n"),function(e){if(o=e.indexOf(":"),t=r.trim(e.substr(0,o)).toLowerCase(),n=r.trim(e.substr(o+1)),t){if(a[t]&&i.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}}),a):a}},function(e,t,n){"use strict";var r=n(1);e.exports=r.isStandardBrowserEnv()?function(){function e(e){var t=e;return n&&(i.setAttribute("href",t),t=i.href),i.setAttribute("href",t),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:"/"===i.pathname.charAt(0)?i.pathname:"/"+i.pathname}}var t,n=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");return t=e(window.location.href),function(n){var i=r.isString(n)?e(n):n;return i.protocol===t.protocol&&i.host===t.host}}():function(){return function(){return!0}}()},function(e,t,n){"use strict";var r=n(1);e.exports=r.isStandardBrowserEnv()?function(){return{write:function(e,t,n,i,o,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},function(e,t,n){"use strict";function r(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var n=this;e(function(e){n.reason||(n.reason=new i(e),t(n.reason))})}var i=n(71);r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var e;return{token:new r(function(t){e=t}),cancel:e}},e.exports=r},function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,n){"use strict";var r=n(31),i=n.n(r),o=n(3),a=n.n(o),s=n(136),l=n(137),c=n(138),u=wp.i18n.__,d=wp.element,p=d.Fragment,h=d.useState,m=d.useEffect,f=function(e){var t=u("Current Score","google-analytics-for-wordpress"),n=u("Try New Headline","google-analytics-for-wordpress"),r=h("current-score"),o=i()(r,2),d=o[0],f=o[1],g=function(){return f("current-score")},w=function(){return f("new-headline")},v=void 0!==e.analyzer.isNewData&&e.analyzer.isNewData;return m(function(){e.setAnalyzer({activeTab:d})},[d]),wp.element.createElement(p,null,wp.element.createElement("div",{className:"monsterinsights-inline-buttons"},wp.element.createElement("button",{onClick:g,className:a()("monsterinsights-switcher-button",{active:"current-score"===d})},t),wp.element.createElement("button",{onClick:w,className:a()("monsterinsights-switcher-button",{active:"new-headline"===d})},n)),"new-headline"===d?wp.element.createElement(l.a,{analyzer:e.analyzer,setAnalyzer:e.setAnalyzer}):wp.element.createElement(s.a,{analyzer:e.analyzer}),v?wp.element.createElement(c.a,{analyzer:e.analyzer}):"")};t.a=f},function(e,t,n){"use strict";var r=n(3),i=n.n(r),o=n(32),a=wp.i18n.__,s=wp.element.Fragment,l=wp.components,c=l.PanelBody,u=l.PanelRow,d=function(e){var t=e.analyzer.currentHeadlineData.sentence,n=a("Score","google-analytics-for-wordpress"),r=a("A good score is between 40 and 60. For best results, you should strive for 70 and above.","google-analytics-for-wordpress"),l=e.analyzer.currentHeadlineData.score,d=l<40?"red":l<=60?"orange":"green",p="red"===d?"#EB5757":"orange"===d?"#F2994A":"#1EC185";return wp.element.createElement(s,null,wp.element.createElement(c,{title:n},wp.element.createElement(u,null,wp.element.createElement("div",{className:"monsterinsights-headline-analyzer-current-score-tab"},wp.element.createElement("h4",{className:"monsterinsights-headline-analyzer-current-title"},"“",t,"”"),wp.element.createElement("div",{className:"monsterinsights-headline-analyzer-pie-chart-container"},wp.element.createElement("span",{className:i()("monsterinsights-headline-analyzer-current-score",d)},l),wp.element.createElement(o.a,{barScore:l,barColor:p})),wp.element.createElement("p",null,r)))))};t.a=d},function(e,t,n){"use strict";var r=n(51),i=n.n(r),o=n(63),a=n.n(o),s=wp.i18n.__,l=wp.element.Fragment,c=wp.components,u=c.PanelBody,d=c.PanelRow,p=c.TextControl,h=c.Button,m=function(e){var t=s("Try New Headline","google-analytics-for-wordpress"),n=s("Enter a different headline than your post title to see how it compares.","google-analytics-for-wordpress"),r=s("Analyze","google-analytics-for-wordpress"),o=void 0!==e.analyzer.newHeadline?e.analyzer.newHeadline:"",c=void 0!==e.analyzer.previousHeadlinesData?e.analyzer.previousHeadlinesData:[],m=!o,f=function(t){var n=t.trim();if(n){var r=new FormData;r.append("_ajax_nonce",monsterinsights_gutenberg_tool_vars.nonce),r.append("action","monsterinsights_gutenberg_headline_analyzer_get_results"),r.append("dataType","json"),r.append("q",n),a.a.post(monsterinsights_gutenberg_tool_vars.ajaxurl,r).then(function(t){e.setAnalyzer({newHeadlineData:t.data.data,headlineData:t.data.data,previousHeadlinesData:[e.analyzer.headlineData].concat(i()(c)),isNewData:!0})}).catch(function(t){e.setAnalyzer({isNewData:!1}),console.log(t)})}};return wp.element.createElement(l,null,wp.element.createElement(u,{title:t},wp.element.createElement(d,null,wp.element.createElement("div",{className:"monsterinsights-headline-analyzer-new-tab"},wp.element.createElement("form",{onSubmit:function(e){e.preventDefault(),f(o)}},wp.element.createElement(p,{label:n,value:o,onChange:function(t){" "!==t&&e.setAnalyzer({newHeadline:t})},className:"monsterinsights-headline-analyzer-input-field"}),wp.element.createElement(h,{className:"monsterinsights-headline-analyzer-button",isPrimary:!0,onClick:function(){f(o)},disabled:m},r))))))};t.a=m},function(e,t,n){"use strict";var r=n(3),i=n.n(r),o=n(32),a=wp.i18n.__,s=wp.element.Fragment,l=wp.components,c=l.PanelBody,u=l.PanelRow,d=function(e){var t=e.analyzer.currentHeadlineData.sentence,n=a("New Score","google-analytics-for-wordpress"),r=a("A good score is between 40 and 60. For best results, you should strive for 70 and above.","google-analytics-for-wordpress"),l=a("Current Score","google-analytics-for-wordpress"),d=void 0!==e.analyzer.newHeadlineData?e.analyzer.newHeadlineData.sentence:"",p=void 0!==e.analyzer.newHeadlineData?e.analyzer.newHeadlineData.score:"",h=void 0!==e.analyzer.currentHeadlineData.score?e.analyzer.currentHeadlineData.score:"",m=p<40?"red":p<=60?"orange":"green",f="red"===m?"#EB5757":"orange"===m?"#F2994A":"#1EC185",g=h<40?"red-bg":h<=60?"orange-bg":"green-bg",w=Math.abs(p-h);return wp.element.createElement(s,null,wp.element.createElement(c,{title:n},wp.element.createElement(u,null,wp.element.createElement("div",{className:"monsterinsights-headline-analyzer-new-score-panel"},wp.element.createElement("p",null,r),wp.element.createElement("h4",null,"“",d,"”"),wp.element.createElement("div",{className:"monsterinsights-headline-analyzer-pie-chart-container"},wp.element.createElement("span",{className:i()("monsterinsights-headline-analyzer-new-score",m)},p),wp.element.createElement(o.a,{barScore:p,barColor:f})),wp.element.createElement("div",{className:"current-score"},wp.element.createElement("span",{className:i()("monsterinsights-headline-analyzer-score-difference",m)},p>h?"+ ":p===h?"":"- ",w),wp.element.createElement("h5",null,l),wp.element.createElement("span",{className:i()("monsterinsights-headline-analyzer-score",g)},h),wp.element.createElement("p",null,"“",t,"”"))))))};t.a=d},function(e,t,n){"use strict";var r=n(3),i=n.n(r),o=wp.i18n.__,a=wp.element.Fragment,s=wp.components,l=s.PanelBody,c=s.PanelRow,u=function(e){var t=o("Previous Scores","google-analytics-for-wordpress"),n="undefined"!==e.analyzer.previousHeadlinesData?e.analyzer.previousHeadlinesData:[],r=document.querySelector(".edit-post-sidebar"),s="undefined"!==e.analyzer.activeTab?e.analyzer.activeTab:"current-score",u="current-score"===s?390:300,d=function(t){e.setAnalyzer({newHeadlineData:n[t],headlineData:n[t],newHeadline:n[t].sentence,isNewData:!0}),r&&(r.scrollTop=u)};return wp.element.createElement(a,null,wp.element.createElement(l,{title:t},wp.element.createElement(c,null,wp.element.createElement("ul",{className:"monsterinsights-headline-analyzer-previous-scores"},n.map(function(e,t){if(t<10&&(void 0!==e.sentence||void 0!==e.score)){var n=e.score<40?"red-bg":e.score<=60?"orange-bg":"green-bg";return wp.element.createElement("li",{key:t,onClick:function(){return d(t)}},wp.element.createElement("span",{className:i()("monsterinsights-headline-analyzer-score",n)},e.score),e.sentence)}})))))};t.a=u},function(e,t,n){"use strict";var r=n(19),i=n(3),o=n.n(i),a=n(141),s=wp.i18n.__,l=wp.element.Fragment,c=wp.components,u=c.PanelBody,d=c.PanelRow,p=function(e){var t=s("Word Balance","google-analytics-for-wordpress"),n=s("Compare the percentages of your results to the goal for each category and adjust as necessary.","google-analytics-for-wordpress"),i=e.data.score<40?"red":e.data.score<=60?"orange":"green",c=(e.data.score<40||e.data.score,0===e.data.result.common_words_per?"red":e.data.result.common_words_per<.2?"orange":"green"),p=0===e.data.result.common_words_per?"red-bg":e.data.result.common_words_per<.2?"orange-bg":"green-bg",h=s("Your headline would be more likely to get clicks if it had more uncommon words.","google-analytics-for-wordpress"),m=e.data.result.common_words_per<.2?h:s("Headlines with 20-30% common words are more likely to get clicks.","google-analytics-for-wordpress"),f=0===e.data.result.uncommon_words_per?"red":e.data.result.uncommon_words_per<.1?"orange":"green",g=0===e.data.result.uncommon_words_per?"red-bg":e.data.result.uncommon_words_per<.1?"orange-bg":"green-bg",w=e.data.result.uncommon_words_per<.1?h:s("Headlines with uncommon words are more likely to get clicks.","google-analytics-for-wordpress"),v=0===e.data.result.emotion_words_per?"red":e.data.result.emotion_words_per<.1?"orange":"green",y=0===e.data.result.emotion_words_per?"red-bg":e.data.result.emotion_words_per<.1?"orange-bg":"green-bg",b=s("Emotionally triggered headlines are likely to drive more clicks.","google-analytics-for-wordpress"),S=0===e.data.result.power_words.length?"orange":"green",E=0===e.data.result.power_words.length?"orange":"green-bg",_=s("Headlines with Power Words are more likely to get clicks.","google-analytics-for-wordpress"),C=s("Common Words","google-analytics-for-wordpress"),x=s("20-30%","google-analytics-for-wordpress"),k=s("Uncommon Words","google-analytics-for-wordpress"),O=s("10-20%","google-analytics-for-wordpress"),T=s("Emotional Words","google-analytics-for-wordpress"),N=s("10-15%","google-analytics-for-wordpress"),M=s("Power Words","google-analytics-for-wordpress"),j=s("At least one","google-analytics-for-wordpress");return wp.element.createElement(l,null,wp.element.createElement(u,{title:t,className:o()("monsterinsights-headline-analyzer-panel-word-balance","monsterinsights-headline-analyzer-panel-has-icon",i),icon:"green"===i?r.a.check:r.a.warning},wp.element.createElement(d,null,wp.element.createElement("h4",null,e.data.result.word_balance),wp.element.createElement("p",null,n),wp.element.createElement(a.a,{title:C,value:Math.round(100*e.data.result.common_words_per),goalValue:x,words:e.data.result.common_words,guideLine:m,classOnScore:c,classOnScoreBg:p}),wp.element.createElement(a.a,{title:k,value:Math.round(100*e.data.result.uncommon_words_per),goalValue:O,words:e.data.result.uncommon_words,guideLine:w,classOnScore:f,classOnScoreBg:g}),wp.element.createElement(a.a,{title:T,value:Math.round(100*e.data.result.emotion_words_per),goalValue:N,words:e.data.result.emotion_words,guideLine:b,classOnScore:v,classOnScoreBg:y}),wp.element.createElement(a.a,{title:M,value:Math.round(100*e.data.result.power_words_per),goalValue:j,words:e.data.result.power_words,guideLine:_,classOnScore:S,classOnScoreBg:E}))))};t.a=p},function(e,t,n){"use strict";var r=n(3),i=n.n(r),o=wp.i18n.__,a=function(e){var t=o("Goal: ","google-analytics-for-wordpress"),n={width:e.value+"%"};return wp.element.createElement("div",{className:"monsterinsights-headline-analyzer-words-block"},wp.element.createElement("h5",null,e.title),wp.element.createElement("div",{className:"monsterinsights-headline-analyzer-words-block-data"},wp.element.createElement("span",{className:i()("monsterinsights-headline-analyzer-words-block-percentage",e.classOnScore)},e.value,"%"),wp.element.createElement("span",{className:"monsterinsights-headline-analyzer-words-block-goal"},wp.element.createElement("strong",null,t),e.goalValue),wp.element.createElement("span",{className:"monsterinsights-headline-analyzer-words-block-progressbar"},wp.element.createElement("span",{className:"monsterinsights-headline-analyzer-progressbar-bg"}),wp.element.createElement("span",{className:i()("monsterinsights-headline-analyzer-progressbar-part",e.classOnScoreBg),style:n}))),wp.element.createElement("ul",{className:"monsterinsights-headline-analyzer-words-tag-list"},e.words.length>0?e.words.map(function(e,t){return wp.element.createElement("li",{key:t},e)}):""),wp.element.createElement("p",{className:"monsterinsights-headline-analyzer-words-guideline"},e.guideLine))};t.a=a},function(e,t,n){"use strict";var r=n(19),i=n(3),o=n.n(i),a=wp.i18n.__,s=wp.element.Fragment,l=wp.components,c=l.PanelBody,u=l.PanelRow,d=function(e){var t=a("Your headline has a neutral sentiment.","google-analytics-for-wordpress"),n=a("Headlines that are strongly positive or negative tend to get more engagement then neutral ones.","google-analytics-for-wordpress"),i=a("Your headline has a positive sentiment.","google-analytics-for-wordpress"),l=a("Positive headlines tend to get better engagement than neutral or negative ones.","google-analytics-for-wordpress"),d=a("Your headline has a negative sentiment.","google-analytics-for-wordpress"),p=a("Negative headlines are attention-grabbing and tend to perform better than neutral ones.","google-analytics-for-wordpress"),h=a("Sentiment","google-analytics-for-wordpress"),m="neu"===e.data.result.sentiment?a("Neutral","google-analytics-for-wordpress"):"pos"===e.data.result.sentiment?a("Positive","google-analytics-for-wordpress"):a("Negative","google-analytics-for-wordpress"),f="neu"===e.data.result.sentiment?r.a.neutral:"pos"===e.data.result.sentiment?r.a.smile:r.a.negative,g="neu"===e.data.result.sentiment?"orange":"pos"===e.data.result.sentiment?"green":"red";return wp.element.createElement(s,null,wp.element.createElement(c,{title:h,className:o()("monsterinsights-headline-analyzer-panel-sentiment","monsterinsights-headline-analyzer-panel-has-icon",g),icon:f},wp.element.createElement(u,null,wp.element.createElement("h4",null,m),"neu"===e.data.result.sentiment?wp.element.createElement("p",null,t," ",wp.element.createElement("br",null),wp.element.createElement("br",null)," ",n):"","pos"===e.data.result.sentiment?wp.element.createElement("p",null,i," ",wp.element.createElement("br",null),wp.element.createElement("br",null)," ",l):"","neg"===e.data.result.sentiment?wp.element.createElement("p",null,d," ",wp.element.createElement("br",null),wp.element.createElement("br",null)," ",p):"")))};t.a=d},function(e,t,n){"use strict";var r=wp.i18n,i=r.__,o=r.sprintf,a=wp.element.Fragment,s=wp.components,l=s.PanelBody,c=s.PanelRow,u=function(e){var t=e.data.result.headline_types.join(", "),n=i("Headline Type","google-analytics-for-wordpress"),r=wp.element.createElement("span",{className:"monsterinsights-headline-analyzer-panel-types-title"},n,wp.element.createElement("span",null,t)),s=o(i("Headlines that are lists and how-to get more engagement on average than other types of headlines. %1sRead more about %2sdifferent types of headlines here.%3s","google-analytics-for-wordpress"),"<br/><br/>",'<a href="https://optinmonster.com/why-these-21-headlines-went-viral-and-how-you-can-copy-their-success/" target="_blank" className="monsterinsights-headline-analyzer-link">',"</a>");return wp.element.createElement(a,null,wp.element.createElement(l,{title:r,className:"monsterinsights-headline-analyzer-panel-types"},wp.element.createElement(c,null,wp.element.createElement("h4",null,t),wp.element.createElement("p",{dangerouslySetInnerHTML:{__html:s}}))))};t.a=u},function(e,t,n){"use strict";var r=n(19),i=n(3),o=n.n(i),a=n(32),s=wp.i18n.__,l=wp.element.Fragment,c=wp.components,u=c.PanelBody,d=c.PanelRow,p=function(e){var t=s("Character Count","google-analytics-for-wordpress"),n=e.data.result.length,i=n>=66?100:Math.round(1.51*n),c="",p="",h="#1EC185",m="";return n<=19?(c="red",h="#EB5757"):n>=20&&n<=34?(c="orange",h="#F2994A"):n>=35&&n<=66?(c="green",h="#1EC185"):n>=67&&n<=79?(c="orange",h="#F2994A"):n>=80&&(c="red",h="#EB5757"),n<=34?(p=s("Too Short","google-analytics-for-wordpress"),m=s("You have space to add more keywords and power words to boost your rankings and click-through rate.","google-analytics-for-wordpress")):n>=35&&n<=66?(p=s("Good","google-analytics-for-wordpress"),m=s("Headlines that are about 55 characters long will display fully in search results and tend to get more clicks.","google-analytics-for-wordpress")):n>=67&&(p=s("Too Long","google-analytics-for-wordpress"),m=s("At this length, it will get cut off in search results. Try reducing it to about 55 characters.","google-analytics-for-wordpress")),wp.element.createElement(l,null,wp.element.createElement(u,{title:t,className:o()("monsterinsights-headline-analyzer-panel-character-count","monsterinsights-headline-analyzer-panel-has-icon",c),icon:"green"===c?r.a.check:r.a.warning},wp.element.createElement(d,null,wp.element.createElement("div",{className:"monsterinsights-headline-analyzer-pie-chart-container"},wp.element.createElement("span",{className:o()("monsterinsights-headline-analyzer-character-length",c)},n),wp.element.createElement(a.a,{barScore:i,barColor:h}),wp.element.createElement("span",{className:"monsterinsights-headline-analyzer-status-on-character-length"},p)),wp.element.createElement("p",null,m))))};t.a=p},function(e,t,n){"use strict";var r=n(19),i=n(3),o=n.n(i),a=n(32),s=wp.i18n.__,l=wp.element.Fragment,c=wp.components,u=c.PanelBody,d=c.PanelRow,p=function(e){var t=s("Word Count","google-analytics-for-wordpress"),n=e.data.result.word_count,i=n>=10?100:Math.round(10*n),c="",p="",h="#1EC185",m="";return n<=4?(c="red",h="#EB5757",p=s("Not Enough Words","google-analytics-for-wordpress"),m=s("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.","google-analytics-for-wordpress")):n>=5&&n<=9?(c="green",h="#1EC185",p=s("Good","google-analytics-for-wordpress"),m=s("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.","google-analytics-for-wordpress")):n>=10&&n<=11?(c="orange",h="#F2994A",p=s("Reduce Word Count","google-analytics-for-wordpress")):(c="red",h="#EB5757",p=s("Too Many Words","google-analytics-for-wordpress"),m=s("Your headline has too many words. Long headlines will get cut off in search results and won’t get as many clicks.","google-analytics-for-wordpress")),wp.element.createElement(l,null,wp.element.createElement(u,{title:t,className:o()("monsterinsights-headline-analyzer-panel-word-count","monsterinsights-headline-analyzer-panel-has-icon",c),icon:"green"===c?r.a.check:r.a.warning},wp.element.createElement(d,null,wp.element.createElement("div",{className:"monsterinsights-headline-analyzer-pie-chart-container"},wp.element.createElement("span",{className:o()("monsterinsights-headline-analyzer-word-length",c)},n),wp.element.createElement(a.a,{barScore:i,barColor:h}),wp.element.createElement("span",{className:"monsterinsights-headline-analyzer-status-on-word-length"},p)),wp.element.createElement("p",null,m))))};t.a=p},function(e,t,n){"use strict";var r=wp.i18n.__,i=wp.element.Fragment,o=wp.components,a=o.PanelBody,s=o.PanelRow,l=function(e){var t=r("Beginning & Ending Words","google-analytics-for-wordpress"),n=e.data.result.input_array_orig,o=r("Most readers only look at the first and last 3 words of a headline before deciding whether to click.","google-analytics-for-wordpress"),l="",c="";return n.length>=6?(l=n.slice(0,3).join(" "),c=n.slice(-3).join(" ")):n.length>3&&n.length<=5?(l=n.slice(0,3).join(" "),c=n.slice(3).join(" ")):l=n.slice(0,3).join(" "),wp.element.createElement(i,null,wp.element.createElement(a,{title:t,className:"monsterinsights-headline-analyzer-panel-beginning-ending-words"},wp.element.createElement(s,null,l?wp.element.createElement("div",{className:"monsterinsights-headline-analyzer-words beginning"},wp.element.createElement("span",null,l)):"",c?wp.element.createElement("div",{className:"monsterinsights-headline-analyzer-words ending"},wp.element.createElement("span",null,c)):"",wp.element.createElement("p",{className:"monsterinsights-headline-analyzer-words-guideline"},o))))};t.a=l},function(e,t,n){"use strict";var r=n(30),i=n.n(r),o=wp.i18n.__,a=wp.element.Fragment,s=wp.components,l=s.PanelBody,c=s.PanelRow,u=wp.data.select,d=function(e){var t=o("Search Preview","google-analytics-for-wordpress"),n=o("Here is how your headline will look like in google search results page.","google-analytics-for-wordpress"),r=u("core/editor").getPermalink(),s={href:r};return wp.element.createElement(a,null,wp.element.createElement(l,{title:t,className:"monsterinsights-headline-analyzer-panel-search-preview"},wp.element.createElement(c,null,wp.element.createElement("h4",null,e.data.sentence),wp.element.createElement("p",{className:"monsterinsights-headline-analyzer-post-url"},wp.element.createElement("a",i()({},s,{target:"_blank"}),r)),wp.element.createElement("p",null,n))))};t.a=d},function(e,t,n){"use strict";var r=n(31),i=n.n(r),o=n(149),a=n(150),s=wp.components.ToggleControl,l=wp.plugins.registerPlugin,c=wp.data,u=c.dispatch,d=c.select,p=wp.i18n.__,h=wp.editPost.PluginDocumentSettingPanel,m=wp.element,f=m.useState,g=m.Fragment;l("monsterinsights-exclude-page-tracking",{render:function(){var e=window.monsterinsights_gutenberg_tool_vars;if(!e||"1"!==e.supports_custom_fields||"1"!==e.public_post_type)return wp.element.createElement(g,null);var t=d("core/editor").getEditedPostAttribute("meta")||[];t._mi_skip_tracking||(t._mi_skip_tracking=!1);var n=f(!!t._mi_skip_tracking),r=i()(n,2),l=r[0],c=r[1];return wp.element.createElement(h,{name:"monsterinsights-skip-tracking",title:"MonsterInsights",className:"monsterinsights-skip-tracking-wrapper",icon:"mi"},wp.element.createElement(s,{checked:l,help:p("Toggle to prevent Google Analytics from tracking this page.","google-analytics-for-wordpress"),label:p("Exclude page from Google Analytics Tracking","google-analytics-for-wordpress"),disabled:"lite"===e.license_type,onChange:function(e){c(!!e),u("core/editor").editPost({meta:{_mi_skip_tracking:e}})}}),wp.element.createElement(a.a,{addonInstalled:e.page_insights_addon_active,hidden:l}),wp.element.createElement(o.a,{license:e.license_type,upgrade_url:e.upgrade_url}))}})},function(e,t,n){"use strict";var r=wp.i18n.__,i=wp.element.Fragment,o=function(e){if("lite"!==e.license)return wp.element.createElement(i,null);var t={description:r("This is a PRO feature.","google-analytics-for-wordpress"),upgrade:r("Upgrade","google-analytics-for-wordpress")};return wp.element.createElement(i,null,wp.element.createElement("div",{className:"monsterinsights-metabox-pro-badge"},wp.element.createElement("span",null,wp.element.createElement("svg",{width:"15",height:"14",viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M6.57617 1.08203L4.92578 4.45898L1.19336 4.99219C0.533203 5.09375 0.279297 5.90625 0.761719 6.38867L3.42773 9.00391L2.79297 12.6855C2.69141 13.3457 3.40234 13.8535 3.98633 13.5488L7.3125 11.7969L10.6133 13.5488C11.1973 13.8535 11.9082 13.3457 11.8066 12.6855L11.1719 9.00391L13.8379 6.38867C14.3203 5.90625 14.0664 5.09375 13.4062 4.99219L9.69922 4.45898L8.02344 1.08203C7.74414 0.498047 6.88086 0.472656 6.57617 1.08203Z",fill:"#31862D"})),t.description),wp.element.createElement("div",{className:"monsterinsights-metabox-pro-badge-upgrade"},wp.element.createElement("a",{href:e.upgrade_url,target:"_blank",rel:"noopener"},t.upgrade))))};t.a=o},function(e,t,n){"use strict";var r=n(151),i=n.n(r),o=n(62),a=n.n(o),s=n(31),l=n.n(s),c=n(20),u=n.n(c),d=n(21),p=n.n(d),h=n(22),m=n.n(h),f=n(23),g=n.n(f),w=n(24),v=n.n(w),y=n(179),b=n(25),S=n(196),E=n(197),_=wp.i18n.__,C=function(e){function t(){p()(this,t);var e=g()(this,(t.__proto__||u()(t)).call(this));return e.showPageInsightsClick=function(){e.setState({showBtnClicked:!0})},e.hidePageInsightsClick=function(){e.setState({showBtnClicked:!1})},e.tabclick=function(t){var n=e.state.tabs,r=!0,o=!1,s=void 0;try{for(var c,u=a()(i()(n));!(r=(c=u.next()).done);r=!0){var d=c.value,p=l()(d,2),h=p[0];p[1];n[h]=h===t}}catch(e){o=!0,s=e}finally{try{!r&&u.return&&u.return()}finally{if(o)throw s}}e.setState({tabs:n})},e.state={showBtnClicked:!1,tabs:{last30days:!0,yesterday:!1}},e.texts={last30days:_("Last 30 days","google-analytics-for-wordpress"),yesterday:_("Yesterday","google-analytics-for-wordpress"),bouncerate:_("Bounce Rate","google-analytics-for-wordpress"),timeonpage:_("Time On Page","google-analytics-for-wordpress"),loadingtime:_("Load Time","google-analytics-for-wordpress"),entrances:_("Entrances","google-analytics-for-wordpress"),pageviews:_("Page Views","google-analytics-for-wordpress"),exits:_("Exits","google-analytics-for-wordpress")},e}return v()(t,e),m()(t,[{key:"render",value:function(){return this.props.hidden?wp.element.createElement(Fragment,null):wp.element.createElement("div",{className:"monsterinsights-metabox lite",id:"monsterinsights-metabox-page-insights"},!this.state.showBtnClicked&&wp.element.createElement(S.a,{onClick:this.showPageInsightsClick}),wp.element.createElement("div",{id:"monsterinsights-page-insights-content",className:this.state.showBtnClicked?"active":""},wp.element.createElement("div",{className:"monsterinsights-page-insights__tabs"},wp.element.createElement(y.a,{text:this.texts.last30days,tab:"tab-last-30-days-content",active:this.state.tabs.last30days,onClick:this.tabclick,interval:"last30days"}),wp.element.createElement(y.a,{text:this.texts.yesterday,tab:"tab-yesterday-content",active:this.state.tabs.yesterday,onClick:this.tabclick,interval:"yesterday"})),wp.element.createElement("div",{className:"monsterinsights-page-insights-tabs-content"},wp.element.createElement("div",{className:"monsterinsights-page-insights-tabs-content__tab active",id:"tab-last-30-days-content"},wp.element.createElement("div",{className:"monsterinsights-page-insights-tabs-content__tab-items"},wp.element.createElement("div",{className:"monsterinsights-page-insights-tabs-content__tab-item"},wp.element.createElement("div",{className:"monsterinsights-page-insights-tabs-content__tab-item__result"},wp.element.createElement("span",null,"53.40%")),wp.element.createElement("div",{className:"monsterinsights-page-insights-tabs-content__tab-item__title"},this.texts.bouncerate)),wp.element.createElement("div",{className:"monsterinsights-page-insights-tabs-content__tab-item"},wp.element.createElement("div",{className:"monsterinsights-page-insights-tabs-content__tab-item__result"},wp.element.createElement("span",null,"1m 43s")),wp.element.createElement("div",{className:"monsterinsights-page-insights-tabs-content__tab-item__title"},this.texts.timeonpage)),wp.element.createElement("div",{className:"monsterinsights-page-insights-tabs-content__tab-item"},wp.element.createElement("div",{className:"monsterinsights-page-insights-tabs-content__tab-item__result"},wp.element.createElement("span",null,"3.9s")),wp.element.createElement("div",{className:"monsterinsights-page-insights-tabs-content__tab-item__title"},this.texts.loadingtime)),wp.element.createElement("div",{className:"monsterinsights-page-insights-tabs-content__tab-item"},wp.element.createElement("div",{className:"monsterinsights-page-insights-tabs-content__tab-item__result"},wp.element.createElement("span",null,"19056")),wp.element.createElement("div",{className:"monsterinsights-page-insights-tabs-content__tab-item__title"},this.texts.entrances)),wp.element.createElement("div",{className:"monsterinsights-page-insights-tabs-content__tab-item"},wp.element.createElement("div",{className:"monsterinsights-page-insights-tabs-content__tab-item__result"},wp.element.createElement("span",null,"26558")),wp.element.createElement("div",{className:"monsterinsights-page-insights-tabs-content__tab-item__title"},this.texts.pageviews)),wp.element.createElement("div",{className:"monsterinsights-page-insights-tabs-content__tab-item"},wp.element.createElement("div",{className:"monsterinsights-page-insights-tabs-content__tab-item__result"},wp.element.createElement("span",null,"13428")),wp.element.createElement("div",{className:"monsterinsights-page-insights-tabs-content__tab-item__title"},this.texts.exits)))))),this.state.showBtnClicked&&wp.element.createElement(E.a,{onClick:this.hidePageInsightsClick}))}}]),t}(b.a);t.a=C},function(e,t,n){e.exports={default:n(152),__esModule:!0}},function(e,t,n){n(153),e.exports=n(0).Object.entries},function(e,t,n){var r=n(4),i=n(154)(!0);r(r.S,"Object",{entries:function(e){return i(e)}})},function(e,t,n){var r=n(5),i=n(16),o=n(10),a=n(18).f;e.exports=function(e){return function(t){for(var n,s=o(t),l=i(s),c=l.length,u=0,d=[];c>u;)n=l[u++],r&&!a.call(s,n)||d.push(e?[n,s[n]]:s[n]);return d}}},function(e,t,n){n(156),e.exports=n(0).Object.getPrototypeOf},function(e,t,n){var r=n(17),i=n(59);n(157)("getPrototypeOf",function(){return function(e){return i(r(e))}})},function(e,t,n){var r=n(4),i=n(0),o=n(13);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*o(function(){n(1)}),"Object",a)}},function(e,t,n){n(159);var r=n(0).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(4);r(r.S+r.F*!n(5),"Object",{defineProperty:n(7).f})},function(e,t,n){e.exports={default:n(161),__esModule:!0}},function(e,t,n){n(27),n(46),e.exports=n(47).f("iterator")},function(e,t,n){e.exports={default:n(163),__esModule:!0}},function(e,t,n){n(164),n(169),n(170),n(171),e.exports=n(0).Symbol},function(e,t,n){"use strict";var r=n(6),i=n(9),o=n(5),a=n(4),s=n(55),l=n(165).KEY,c=n(13),u=n(42),d=n(44),p=n(29),h=n(2),m=n(47),f=n(48),g=n(166),w=n(167),v=n(8),y=n(12),b=n(17),S=n(10),E=n(38),_=n(15),C=n(39),x=n(168),k=n(75),O=n(45),T=n(7),N=n(16),M=k.f,j=T.f,P=x.f,D=r.Symbol,F=r.JSON,A=F&&F.stringify,L=h("_hidden"),B=h("toPrimitive"),z={}.propertyIsEnumerable,R=u("symbol-registry"),H=u("symbols"),I=u("op-symbols"),q=Object.prototype,V="function"==typeof D&&!!O.f,W=r.QObject,Z=!W||!W.prototype||!W.prototype.findChild,U=o&&c(function(){return 7!=C(j({},"a",{get:function(){return j(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=M(q,t);r&&delete q[t],j(e,t,n),r&&e!==q&&j(q,t,r)}:j,Y=function(e){var t=H[e]=C(D.prototype);return t._k=e,t},X=V&&"symbol"==typeof D.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof D},G=function(e,t,n){return e===q&&G(I,t,n),v(e),t=E(t,!0),v(n),i(H,t)?(n.enumerable?(i(e,L)&&e[L][t]&&(e[L][t]=!1),n=C(n,{enumerable:_(0,!1)})):(i(e,L)||j(e,L,_(1,{})),e[L][t]=!0),U(e,t,n)):j(e,t,n)},K=function(e,t){v(e);for(var n,r=g(t=S(t)),i=0,o=r.length;o>i;)G(e,n=r[i++],t[n]);return e},$=function(e,t){return void 0===t?C(e):K(C(e),t)},J=function(e){var t=z.call(this,e=E(e,!0));return!(this===q&&i(H,e)&&!i(I,e))&&(!(t||!i(this,e)||!i(H,e)||i(this,L)&&this[L][e])||t)},Q=function(e,t){if(e=S(e),t=E(t,!0),e!==q||!i(H,t)||i(I,t)){var n=M(e,t);return!n||!i(H,t)||i(e,L)&&e[L][t]||(n.enumerable=!0),n}},ee=function(e){for(var t,n=P(S(e)),r=[],o=0;n.length>o;)i(H,t=n[o++])||t==L||t==l||r.push(t);return r},te=function(e){for(var t,n=e===q,r=P(n?I:S(e)),o=[],a=0;r.length>a;)!i(H,t=r[a++])||n&&!i(q,t)||o.push(H[t]);return o};V||(D=function(){if(this instanceof D)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),t=function(n){this===q&&t.call(I,n),i(this,L)&&i(this[L],e)&&(this[L][e]=!1),U(this,e,_(1,n))};return o&&Z&&U(q,e,{configurable:!0,set:t}),Y(e)},s(D.prototype,"toString",function(){return this._k}),k.f=Q,T.f=G,n(74).f=x.f=ee,n(18).f=J,O.f=te,o&&!n(28)&&s(q,"propertyIsEnumerable",J,!0),m.f=function(e){return Y(h(e))}),a(a.G+a.W+a.F*!V,{Symbol:D});for(var ne="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),re=0;ne.length>re;)h(ne[re++]);for(var ie=N(h.store),oe=0;ie.length>oe;)f(ie[oe++]);a(a.S+a.F*!V,"Symbol",{for:function(e){return i(R,e+="")?R[e]:R[e]=D(e)},keyFor:function(e){if(!X(e))throw TypeError(e+" is not a symbol!");for(var t in R)if(R[t]===e)return t},useSetter:function(){Z=!0},useSimple:function(){Z=!1}}),a(a.S+a.F*!V,"Object",{create:$,defineProperty:G,defineProperties:K,getOwnPropertyDescriptor:Q,getOwnPropertyNames:ee,getOwnPropertySymbols:te});var ae=c(function(){O.f(1)});a(a.S+a.F*ae,"Object",{getOwnPropertySymbols:function(e){return O.f(b(e))}}),F&&a(a.S+a.F*(!V||c(function(){var e=D();return"[null]"!=A([e])||"{}"!=A({a:e})||"{}"!=A(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(y(t)||void 0!==e)&&!X(e))return w(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!X(t))return t}),r[1]=t,A.apply(F,r)}}),D.prototype[B]||n(11)(D.prototype,B,D.prototype.valueOf),d(D,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},function(e,t,n){var r=n(29)("meta"),i=n(12),o=n(9),a=n(7).f,s=0,l=Object.isExtensible||function(){return!0},c=!n(13)(function(){return l(Object.preventExtensions({}))}),u=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},d=function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!l(e))return"F";if(!t)return"E";u(e)}return e[r].i},p=function(e,t){if(!o(e,r)){if(!l(e))return!0;if(!t)return!1;u(e)}return e[r].w},h=function(e){return c&&m.NEED&&l(e)&&!o(e,r)&&u(e),e},m=e.exports={KEY:r,NEED:!1,fastKey:d,getWeak:p,onFreeze:h}},function(e,t,n){var r=n(16),i=n(45),o=n(18);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var a,s=n(e),l=o.f,c=0;s.length>c;)l.call(e,a=s[c++])&&t.push(a);return t}},function(e,t,n){var r=n(40);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(10),i=n(74).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch(e){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?s(e):i(r(e))}},function(e,t){},function(e,t,n){n(48)("asyncIterator")},function(e,t,n){n(48)("observable")},function(e,t,n){e.exports={default:n(173),__esModule:!0}},function(e,t,n){n(174),e.exports=n(0).Object.setPrototypeOf},function(e,t,n){var r=n(4);r(r.S,"Object",{setPrototypeOf:n(175).set})},function(e,t,n){var r=n(12),i=n(8),o=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{r=n(37)(Function.call,n(75).f(Object.prototype,"__proto__").set,2),r(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return o(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:o}},function(e,t,n){e.exports={default:n(177),__esModule:!0}},function(e,t,n){n(178);var r=n(0).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){var r=n(4);r(r.S,"Object",{create:n(39)})},function(e,t,n){"use strict";var r=n(20),i=n.n(r),o=n(21),a=n.n(o),s=n(22),l=n.n(s),c=n(23),u=n.n(c),d=n(24),p=n.n(d),h=n(25),m=(wp.i18n.__,function(e){function t(e){a()(this,t);var n=u()(this,(t.__proto__||i()(t)).call(this,e));return n.handleClick=function(){n.props.onClick(n.props.interval)},n}return p()(t,e),l()(t,[{key:"render",value:function(){return wp.element.createElement("a",{href:"#",className:"monsterinsights-page-insights__tabs-tab "+(this.props.active?"active":""),"data-tab":"this.props.tab",onClick:this.handleClick},this.props.text)}}]),t}(h.a));t.a=m},function(e,t,n){"use strict";n(181),n(78),n(79),n(33)},function(e,t,n){"use strict";function r(e,t){return Object(i.a)(e)||Object(o.a)(e,t)||Object(a.a)(e,t)||Object(s.a)()}t.a=r;var i=n(182),o=n(183),a=n(76),s=n(184)},function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}t.a=r},function(e,t,n){"use strict";function r(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}t.a=r},function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}t.a=r},function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return Object(i.a)(e)}t.a=r;var i=n(77)},function(e,t,n){"use strict";function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}t.a=r},function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}t.a=r},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}t.a=r},function(e,t,n){"use strict";var r=n(190);n.n(r)},function(e,t){e.exports=ReactDOM},function(e,t,n){"use strict";var r=n(26);n.n(r)},function(e,t,n){"use strict"},function(e,t,n){"use strict";var r=(n(34),n(49),n(78),n(26)),i=(n.n(r),n(194),n(33)),o=(n(81),Object(i.e)(void 0));o.Provider,o.Consumer,Object(i.g)(function(){return null}),new Set(["string","boolean","number"]),new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),new Set(["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","typemustmatch"]),new Set(["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),new Set(["animation","animationIterationCount","baselineShift","borderImageOutset","borderImageSlice","borderImageWidth","columnCount","cx","cy","fillOpacity","flexGrow","flexShrink","floodOpacity","fontWeight","gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart","lineHeight","opacity","order","orphans","r","rx","ry","shapeImageThreshold","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","tabSize","widows","x","y","zIndex","zoom"])},function(e,t,n){"use strict";function r(e){return e.replace(/&(?!([a-z0-9]+|#[0-9]+|#x[a-f0-9]+);)/gi,"&")}function i(e){return e.replace(/"/g,""")}function o(e){return e.replace(/</g,"<")}function a(e){return Object(c.a)(i(r(e)))}function s(e){return o(r(e))}function l(e){return!u.test(e)}t.a=a,t.b=s,t.c=l;var c=n(195),u=/[\u007F-\u009F "'>/="\uFDD0-\uFDEF]/},function(e,t,n){"use strict";function r(e){return e.replace(/>/g,">")}t.a=r},function(e,t,n){"use strict";var r=n(20),i=n.n(r),o=n(21),a=n.n(o),s=n(22),l=n.n(s),c=n(23),u=n.n(c),d=n(24),p=n.n(d),h=n(25),m=wp.i18n.__,f=function(e){function t(){a()(this,t);var e=u()(this,(t.__proto__||i()(t)).call(this));return e.state={},e.btn_show_text=m("Show Page Insights","google-analytics-for-wordpress"),e}return p()(t,e),l()(t,[{key:"render",value:function(){return wp.element.createElement("a",{className:"button",href:"#",id:"monsterinsights_show_page_insights",onClick:this.props.onClick},this.btn_show_text)}}]),t}(h.a);t.a=f},function(e,t,n){"use strict";var r=n(20),i=n.n(r),o=n(21),a=n.n(o),s=n(22),l=n.n(s),c=n(23),u=n.n(c),d=n(24),p=n.n(d),h=n(25),m=wp.i18n.__,f=function(e){function t(){a()(this,t);var e=u()(this,(t.__proto__||i()(t)).call(this));return e.state={},e.btn_text=m("Hide Page Insights","google-analytics-for-wordpress"),e}return p()(t,e),l()(t,[{key:"render",value:function(){return wp.element.createElement("a",{className:"button",href:"#",id:"monsterinsights_hide_page_insights",onClick:this.props.onClick},this.btn_text)}}]),t}(h.a);t.a=f},function(e,t,n){"use strict";n(199),n(206)},function(e,t,n){"use strict";var r=n(82),i=n.n(r),o=n(83),a=n.n(o),s=n(30),l=n.n(s),c=n(202),u=n(84),d=wp.i18n.__,p=wp.blocks.registerBlockType,h=wp,m=h.apiFetch,f=wp.data,g=f.registerStore,w=f.withSelect,v=wp.blockEditor.InspectorControls,y=wp.components,b=y.PanelBody,S=y.PanelRow,E=y.TextControl,_=y.ColorPalette,C=y.RangeControl,x=window.monsterinsights_gutenberg_tool_vars,k={setThemes:function(e){return{type:"SET_THEMES",themes:e}},receiveThemes:function(e){return{type:"RECEIVE_THEMES",path:e}}};g("monsterinsights/v1/popular-posts/inline",{reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{themes:{}},t=arguments[1];switch(t.type){case"SET_THEMES":return l()({},e,{themes:t.themes})}return e},actions:k,selectors:{receiveThemes:function(e){return e.themes}},controls:{RECEIVE_THEMES:function(e){return m({path:e.path})}},resolvers:{receiveThemes:a.a.mark(function e(t){var n,r;return a.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,k.receiveThemes("/monsterinsights/v1/popular-posts/themes/inline");case 2:if(n=e.sent,void 0===n.themes){e.next=6;break}for(r in n.themes)n.themes.hasOwnProperty(r)&&(n.themes[r].value=r);return e.abrupt("return",k.setThemes(n));case 6:case"end":return e.stop()}},e,this)})}}),p("monsterinsights/popular-posts-inline",{title:d("Inline Popular Posts","google-analytics-for-wordpress"),description:d("Add inline popular posts from MonsterInsights","google-analytics-for-wordpress"),category:"widgets",icon:c.a.inlinepop,keywords:[d("Popular","google-analytics-for-wordpress"),d("Posts","google-analytics-for-wordpress"),d("Inline","google-analytics-for-wordpress"),"MonsterInsights"],example:{},attributes:{theme:{type:"string"},title_size:{type:"number"},title_color:{type:"string"},label_color:{type:"string"},label_text:{type:"string"},label_background:{type:"string"},background_color:{type:"string"},background_border:{type:"string"},icon_background:{type:"string"},icon_color:{type:"string"},border_color:{type:"string"},border_color2:{type:"string"}},edit:w(function(e){return{themes:e("monsterinsights/v1/popular-posts/inline").receiveThemes()}})(function(e){var t=e.attributes,n=t.theme,r=(t.title_size,t.title_color,t.label_color,t.label_text,t.label_background,t.background_color,t.background_border,t.icon_background,t.icon_color,t.border_color,t.border_color2,e.themes),o=e.setAttributes,a=[{name:"pink",color:"#F58EA8"},{name:"red",color:"#CD3034"},{name:"orange",color:"#FD6A21"},{name:"yellow",color:"#FBB82B"},{name:"green",color:"#7FDBB6"},{name:"green",color:"#21CF86"},{name:"blue",color:"#91D2FA"},{name:"blue",color:"#1B95E0"},{name:"purple",color:"#9A57DD"},{name:"gray",color:"#EEEEEE"},{name:"gray",color:"#ACB8C3"},{name:"black",color:"#000000"}],s=void 0!==r.themes?r.themes:{},l=void 0===e.attributes.theme?r.selected:n,p=void 0!==l&&void 0!==s[l]?s[l]:{},h=void 0!==p.styles?p.styles:{},m={};for(var f in h)if(h.hasOwnProperty(f))for(var g in h[f])if(h[f].hasOwnProperty(g)){var w=f+"_"+g;void 0===e.attributes[w]?m[w]=h[f][g]:m[w]=e.attributes[w]}var y=function(e,t){var n=m[t];return wp.element.createElement(C,{key:"monsterinsights-popular-posts-input"+t,label:e,value:parseInt(n),min:1,max:100,onChange:function(e){return o(i()({},t,""===e?"":parseInt(e)))}})},k=function(e,t){var n=m[t];return wp.element.createElement(E,{key:"monsterinsights-popular-posts-input"+t,label:e,type:"text",value:n,onChange:function(e){return o(i()({},t,e))}})},O=function(e,t){var n=m[t];return[wp.element.createElement("label",{key:"monsterinsights-popular-posts-label"+t},e),wp.element.createElement(_,{key:"monsterinsights-popular-posts-input"+t,value:n,colors:a,onChange:function(e){o(i()({},t,e))}})]};return[wp.element.createElement(v,{key:"monsterinsights-popular-posts-inline-inspector-controls"},wp.element.createElement(b,{title:d("Theme","google-analytics-for-wordpress"),key:"monsterinsights-popular-posts-inline-theme"},wp.element.createElement(S,{key:"monsterinsights-popular-posts-inline-theme-row"},wp.element.createElement(u.a,{id:"monsterinsights-popular-posts-inline-theme",options:s,selected:l,icons:c.a,onChange:function(e){o({theme:e})}}))),function(){if(void 0!==h.title){var e=[];return void 0!==h.title.size&&e.push(y(d("Title Font Size","google-analytics-for-wordpress"),"title_size")),void 0!==h.title.color&&e.push(O(d("Title Color","google-analytics-for-wordpress"),"title_color")),wp.element.createElement(b,{title:d("Title Settings","google-analytics-for-wordpress"),key:"monsterinsights-popular-posts-inline-title"},e)}}(),function(){if(void 0!==h.label){var e=[];return void 0!==h.label.text&&e.push(k(d("Label Text","google-analytics-for-wordpress"),"label_text")),void 0!==h.label.color&&e.push(O(d("Label Color","google-analytics-for-wordpress"),"label_color")),void 0!==h.label.background&&e.push(O(d("Label Background","google-analytics-for-wordpress"),"label_background")),wp.element.createElement(b,{title:d("Label Settings","google-analytics-for-wordpress"),key:"monsterinsights-popular-posts-inline-label"}," ",e," ")}}(),function(){var e=[];if(void 0!==h.border&&void 0!==h.border.color&&e.push(O(d("Border Color","google-analytics-for-wordpress"),"border_color")),void 0!==h.border&&void 0!==h.border.color2&&e.push(O(d("Bottom Border Color","google-analytics-for-wordpress"),"border_color2")),void 0!==h.background&&void 0!==h.background.border&&e.push(O(d("Border Color","google-analytics-for-wordpress"),"background_border")),0!==e.length)return wp.element.createElement(b,{title:d("Border Settings","google-analytics-for-wordpress"),key:"monsterinsights-popular-posts-inline-border"}," ",e," ")}(),function(){if(void 0!==h.background&&void 0!==h.background.color){var e=[];return void 0!==h.background.color&&e.push(O(d("Background Color","google-analytics-for-wordpress"),"background_color")),wp.element.createElement(b,{title:d("Background Settings","google-analytics-for-wordpress"),key:"monsterinsights-popular-posts-inline-background"}," ",e," ")}}(),function(){if(void 0!==h.icon){var e=[];return void 0!==h.icon.color&&e.push(O(d("Icon Color","google-analytics-for-wordpress"),"icon_color")),void 0!==h.icon.background&&e.push(O(d("Icon Background Color","google-analytics-for-wordpress"),"icon_background")),wp.element.createElement(b,{title:d("Icon Settings","google-analytics-for-wordpress"),key:"monsterinsights-popular-posts-inline-icon"}," ",e," ")}}()),wp.element.createElement("div",{key:"monsterinsights-popular-posts-inline-preview"},wp.element.createElement("div",{className:"monsterinsights-inline-popular-posts-widget monsterinsights-inline-popular-posts-"+l,style:{backgroundColor:m.background_color,borderColor:m.background_border}},function(){if(void 0!==p.image&&p.image){var e=void 0!==h.image?h.image:"theme-preview-image.jpg";return wp.element.createElement("div",{className:"monsterinsights-inline-popular-posts-image"},wp.element.createElement("img",{src:x.vue_assets_path+"img/"+e}))}}(),wp.element.createElement("div",{className:"monsterinsights-inline-popular-posts-text"},function(){if(void 0!==h.icon)return wp.element.createElement("span",{className:"monsterinsights-inline-popular-posts-icon",style:{backgroundColor:m.icon_background}},c.a.themeIcon(m.icon_color))}(),function(){if(void 0!==h.label)return wp.element.createElement("span",{style:{color:m.label_color,backgroundColor:m.label_background},className:"monsterinsights-inline-popular-posts-label"},m.label_text)}(),function(){if(void 0!==h.border&&void 0!==h.border.color)return wp.element.createElement("span",{className:"monsterinsights-inline-popular-posts-border",style:{borderColor:m.border_color}})}(),function(){if(void 0!==h.title&&void 0===p.list&&void 0!==h.title.text)return wp.element.createElement("a",{href:"#",className:"monsterinsights-inline-popular-posts-title",style:{color:m.title_color,fontSize:m.title_size+"px"}},h.title.text)}(),function(){if(void 0!==p.list){var e=[];for(var t in p.list)e.push(wp.element.createElement("li",{key:"monsterinsights-popular-posts-preview-list-item-"+t,style:{color:m.title_color,fontSize:m.title_size+"px"}},p.list[t]));return wp.element.createElement("ul",{className:"monsterinsights-inline-popular-posts-list"},e)}}(),function(){if(void 0!==h.border&&void 0!==h.border.color2)return wp.element.createElement("span",{className:"monsterinsights-inline-popular-posts-border-2",style:{borderColor:m.border_color2}})}())))]}),save:function(e){return null}})},function(e,t,n){var r=function(){return this}()||Function("return this")(),i=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,o=i&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,e.exports=n(201),i)r.regeneratorRuntime=o;else try{delete r.regeneratorRuntime}catch(e){r.regeneratorRuntime=void 0}},function(e,t){!function(t){"use strict";function n(e,t,n,r){var o=t&&t.prototype instanceof i?t:i,a=Object.create(o.prototype),s=new h(r||[]);return a._invoke=c(e,n,s),a}function r(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function i(){}function o(){}function a(){}function s(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function l(e){function t(n,i,o,a){var s=r(e[n],e,i);if("throw"!==s.type){var l=s.arg,c=l.value;return c&&"object"==typeof c&&v.call(c,"__await")?Promise.resolve(c.__await).then(function(e){t("next",e,o,a)},function(e){t("throw",e,o,a)}):Promise.resolve(c).then(function(e){l.value=e,o(l)},a)}a(s.arg)}function n(e,n){function r(){return new Promise(function(r,i){t(e,n,r,i)})}return i=i?i.then(r,r):r()}var i;this._invoke=n}function c(e,t,n){var i=x;return function(o,a){if(i===O)throw new Error("Generator is already running");if(i===T){if("throw"===o)throw a;return f()}for(n.method=o,n.arg=a;;){var s=n.delegate;if(s){var l=u(s,n);if(l){if(l===N)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===x)throw i=T,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=O;var c=r(e,t,n);if("normal"===c.type){if(i=n.done?T:k,c.arg===N)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=T,n.method="throw",n.arg=c.arg)}}}function u(e,t){var n=e.iterator[t.method];if(n===g){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=g,u(e,t),"throw"===t.method))return N;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return N}var i=r(n,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,N;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=g),t.delegate=null,N):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,N)}function d(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function p(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function h(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(d,this),this.reset(!0)}function m(e){if(e){var t=e[b];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(v.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=g,t.done=!0,t};return r.next=r}}return{next:f}}function f(){return{value:g,done:!0}}var g,w=Object.prototype,v=w.hasOwnProperty,y="function"==typeof Symbol?Symbol:{},b=y.iterator||"@@iterator",S=y.asyncIterator||"@@asyncIterator",E=y.toStringTag||"@@toStringTag",_="object"==typeof e,C=t.regeneratorRuntime;if(C)return void(_&&(e.exports=C));C=t.regeneratorRuntime=_?e.exports:{},C.wrap=n;var x="suspendedStart",k="suspendedYield",O="executing",T="completed",N={},M={};M[b]=function(){return this};var j=Object.getPrototypeOf,P=j&&j(j(m([])));P&&P!==w&&v.call(P,b)&&(M=P);var D=a.prototype=i.prototype=Object.create(M);o.prototype=D.constructor=a,a.constructor=o,a[E]=o.displayName="GeneratorFunction",C.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===o||"GeneratorFunction"===(t.displayName||t.name))},C.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,a):(e.__proto__=a,E in e||(e[E]="GeneratorFunction")),e.prototype=Object.create(D),e},C.awrap=function(e){return{__await:e}},s(l.prototype),l.prototype[S]=function(){return this},C.AsyncIterator=l,C.async=function(e,t,r,i){var o=new l(n(e,t,r,i));return C.isGeneratorFunction(t)?o:o.next().then(function(e){return e.done?e.value:o.next()})},s(D),D[E]="Generator",D[b]=function(){return this},D.toString=function(){return"[object Generator]"},C.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},C.values=m,h.prototype={constructor:h,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=g,this.done=!1,this.delegate=null,this.method="next",this.arg=g,this.tryEntries.forEach(p),!e)for(var t in this)"t"===t.charAt(0)&&v.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=g)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){function t(t,r){return o.type="throw",o.arg=e,n.next=t,r&&(n.method="next",n.arg=g),!!r}if(this.done)throw e;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],o=i.completion;if("root"===i.tryLoc)return t("end");if(i.tryLoc<=this.prev){var a=v.call(i,"catchLoc"),s=v.call(i,"finallyLoc");if(a&&s){if(this.prev<i.catchLoc)return t(i.catchLoc,!0);if(this.prev<i.finallyLoc)return t(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return t(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return t(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&v.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,N):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),N},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),p(n),N}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;p(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:m(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=g),N}}}(function(){return this}()||Function("return this")())},function(e,t,n){"use strict";var r={};r.inlinepop=wp.element.createElement("svg",{width:"20",height:"16",viewBox:"0 0 20 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 0H20V2H0V0ZM20 14V16H0V14H20ZM2 4C0.895431 4 0 4.89543 0 6V10C0 11.1046 0.895431 12 2 12H6C7.10457 12 8 11.1046 8 10V6C8 4.89543 7.10457 4 6 4H2ZM10 5H20V7H10V5ZM18 9H10V11H18V9Z",fill:"#555D66"})),r.alpha=wp.element.createElement("svg",{width:"70",height:"38",viewBox:"0 0 70 38",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{width:"70",height:"37.8947",rx:"3",fill:"#E7F2FD"}),wp.element.createElement("rect",{x:"5.72729",y:"19.8947",width:"58.5455",height:"8.52632",rx:"3",fill:"#1170D5"}),wp.element.createElement("rect",{x:"5.72729",y:"7.57892",width:"17.1818",height:"8.52632",rx:"3",fill:"#338EEF"})),r.beta=wp.element.createElement("svg",{width:"70",height:"40",viewBox:"0 0 70 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{x:"31",y:"21",width:"32",height:"9",rx:"3",fill:"#1170D5"}),wp.element.createElement("rect",{x:"31",y:"10",width:"18",height:"9",rx:"3",fill:"#338EEF"}),wp.element.createElement("rect",{x:"7",y:"10",width:"20",height:"20",rx:"3",fill:"#338EEF"}),wp.element.createElement("rect",{x:"1.5",y:"1.5",width:"67",height:"37",rx:"1.5",stroke:"#E7F2FD",strokeWidth:"3"})),r.charlie=wp.element.createElement("svg",{width:"70",height:"28",viewBox:"0 0 70 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{x:"16",y:"19",width:"54",height:"9",rx:"3",fill:"#1170D5"}),wp.element.createElement("rect",{y:"11",width:"70",height:"3",rx:"1.5",fill:"#B8D8F9"}),wp.element.createElement("rect",{width:"26",height:"7",rx:"3",fill:"#338EEF"}),wp.element.createElement("circle",{cx:"4.5",cy:"23.5",r:"4.5",fill:"#1170D5"})),r.delta=wp.element.createElement("svg",{width:"70",height:"40",viewBox:"0 0 70 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{x:"8",y:"21",width:"54",height:"9",rx:"3",fill:"#1170D5"}),wp.element.createElement("rect",{x:"22",y:"9",width:"18",height:"9",rx:"3",fill:"#338EEF"}),wp.element.createElement("path",{d:"M12.0303 9.5625C12.4613 8.8125 13.5387 8.8125 13.9697 9.5625L17.8483 16.3125C18.2793 17.0625 17.7406 18 16.8787 18H9.12134C8.25942 18 7.72072 17.0625 8.15168 16.3125L12.0303 9.5625Z",fill:"#338EEF"}),wp.element.createElement("rect",{x:"1.5",y:"1.5",width:"67",height:"37",rx:"1.5",stroke:"#E7F2FD",strokeWidth:"3"})),r.echo=wp.element.createElement("svg",{width:"70",height:"40",viewBox:"0 0 70 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{width:"70",height:"40",rx:"3",fill:"#E7F2FD"}),wp.element.createElement("rect",{x:"24.8182",y:"16",width:"39.4545",height:"9",rx:"3",fill:"#1170D5"}),wp.element.createElement("rect",{x:"5.72729",y:"16",width:"15.2727",height:"9",rx:"3",fill:"#338EEF"})),r.foxtrot=wp.element.createElement("svg",{width:"70",height:"40",viewBox:"0 0 70 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{x:"26",y:"22",width:"44",height:"9",rx:"3",fill:"#1170D5"}),wp.element.createElement("rect",{x:"26",y:"9",width:"28",height:"9",rx:"3",fill:"#338EEF"}),wp.element.createElement("rect",{y:"9",width:"22",height:"22",rx:"3",fill:"#338EEF"})),r.golf=wp.element.createElement("svg",{width:"70",height:"29",viewBox:"0 0 70 29",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{y:"11",width:"70",height:"9",rx:"3",fill:"#1170D5"}),wp.element.createElement("rect",{y:"26",width:"70",height:"3",rx:"1.5",fill:"#B8D8F9"}),wp.element.createElement("rect",{width:"21",height:"7",rx:"3",fill:"#338EEF"}),wp.element.createElement("rect",{x:"25",y:"1",width:"45",height:"3",rx:"1.5",fill:"#B8D8F9"})),r.hotel=wp.element.createElement("svg",{width:"70",height:"40",viewBox:"0 0 70 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{width:"70",height:"40",rx:"3",fill:"#E7F2FD"}),wp.element.createElement("rect",{x:"22",y:"16",width:"40",height:"9",rx:"3",fill:"#1170D5"}),wp.element.createElement("path",{d:"M12.0303 16.5625C12.4613 15.8125 13.5387 15.8125 13.9697 16.5625L17.8483 23.3125C18.2793 24.0625 17.7406 25 16.8787 25H9.12134C8.25942 25 7.72072 24.0625 8.15168 23.3125L12.0303 16.5625Z",fill:"#338EEF"})),r.india=wp.element.createElement("svg",{width:"70",height:"40",viewBox:"0 0 70 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("g",{"clip-path":"url(#clip0)"},wp.element.createElement("rect",{width:"70",height:"40",rx:"3",fill:"#E7F2FD"}),wp.element.createElement("rect",{x:"26",y:"16",width:"36",height:"9",rx:"3",fill:"#1170D5"}),wp.element.createElement("rect",{x:"8",y:"16",width:"14",height:"9",rx:"3",fill:"#1170D5"}),wp.element.createElement("rect",{y:"41",width:"41",height:"4",transform:"rotate(-90 0 41)",fill:"#338EEF"})),wp.element.createElement("defs",null,wp.element.createElement("clipPath",{id:"clip0"},wp.element.createElement("rect",{width:"70",height:"40",rx:"3",fill:"white"})))),r.juliett=wp.element.createElement("svg",{width:"70",height:"40",viewBox:"0 0 70 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{width:"70",height:"40",rx:"3",fill:"#E7F2FD"}),wp.element.createElement("rect",{x:"30",y:"20",width:"32",height:"9",rx:"3",fill:"#1170D5"}),wp.element.createElement("path",{d:"M50 14C50 12.3431 51.3431 11 53 11H60C61.1046 11 62 11.8954 62 13V15C62 16.6569 60.6569 18 59 18H53C51.3431 18 50 16.6569 50 15V14Z",fill:"#338EEF"}),wp.element.createElement("rect",{x:"30",y:"11",width:"32",height:"4",rx:"2",fill:"#338EEF"}),wp.element.createElement("rect",{x:"8",y:"11",width:"18",height:"18",rx:"3",fill:"#338EEF"})),r.kilo=wp.element.createElement("svg",{width:"70",height:"40",viewBox:"0 0 70 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{y:"22",width:"70",height:"9",rx:"3",fill:"#1170D5"}),wp.element.createElement("rect",{y:"9",width:"26",height:"9",rx:"3",fill:"#338EEF"}),wp.element.createElement("rect",{width:"6.36364",height:"3",rx:"1",fill:"#B8D8F9"}),wp.element.createElement("rect",{x:"12.7273",width:"6.36364",height:"3",rx:"1",fill:"#B8D8F9"}),wp.element.createElement("rect",{x:"25.4545",width:"6.36364",height:"3",rx:"1",fill:"#B8D8F9"}),wp.element.createElement("rect",{x:"38.1818",width:"6.36364",height:"3",rx:"1",fill:"#B8D8F9"}),wp.element.createElement("rect",{x:"50.9091",width:"6.36364",height:"3",rx:"1",fill:"#B8D8F9"}),wp.element.createElement("rect",{x:"63.6364",width:"6.36364",height:"3",rx:"1",fill:"#B8D8F9"}),wp.element.createElement("rect",{y:"37",width:"6.36364",height:"3",rx:"1",fill:"#B8D8F9"}),wp.element.createElement("rect",{x:"12.7273",y:"37",width:"6.36364",height:"3",rx:"1",fill:"#B8D8F9"}),wp.element.createElement("rect",{x:"25.4545",y:"37",width:"6.36364",height:"3",rx:"1",fill:"#B8D8F9"}),wp.element.createElement("rect",{x:"38.1818",y:"37",width:"6.36364",height:"3",rx:"1",fill:"#B8D8F9"}),wp.element.createElement("rect",{x:"50.9091",y:"37",width:"6.36364",height:"3",rx:"1",fill:"#B8D8F9"}),wp.element.createElement("rect",{x:"63.6364",y:"37",width:"6.36364",height:"3",rx:"1",fill:"#B8D8F9"})),r.lima=wp.element.createElement("svg",{width:"70",height:"40",viewBox:"0 0 70 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{width:"70",height:"40",rx:"3",fill:"#E7F2FD"}),wp.element.createElement("rect",{x:"6",y:"22",width:"32",height:"9",rx:"3",fill:"#1170D5"}),wp.element.createElement("rect",{x:"6",y:"8",width:"20",height:"9",rx:"3",fill:"#338EEF"}),wp.element.createElement("rect",{x:"42",y:"9",width:"22",height:"22",rx:"3",fill:"#338EEF"})),r.mike=wp.element.createElement("svg",{width:"70",height:"40",viewBox:"0 0 70 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{width:"70",height:"40",rx:"3",fill:"#E7F2FD"}),wp.element.createElement("rect",{x:"35",y:"15",width:"27",height:"9",rx:"3",fill:"#1170D5"}),wp.element.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M28.8438 28H10.1562C9.55729 28 9.04818 27.7934 8.62891 27.3802C8.20964 26.967 8 26.4653 8 25.875V22.3C8 21.0297 9.02974 20 10.3 20H21.7C22.9703 20 24 18.9703 24 17.7V13.3C24 12.0297 25.0297 11 26.3 11H28.8438C29.4427 11 29.9518 11.2066 30.3711 11.6198C30.7904 12.033 31 12.5347 31 13.125V25.875C31 26.4653 30.7904 26.967 30.3711 27.3802C29.9518 27.7934 29.4427 28 28.8438 28ZM10.3 11C9.02974 11 8 12.0297 8 13.3V15.7C8 16.9703 9.02974 18 10.3 18H19.7C20.9703 18 22 16.9703 22 15.7V13.3C22 12.0297 20.9703 11 19.7 11H10.3Z",fill:"#338EEF"})),r.november=wp.element.createElement("svg",{width:"70",height:"40",viewBox:"0 0 70 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{x:"29",y:"22",width:"33",height:"9",rx:"3",fill:"#1170D5"}),wp.element.createElement("rect",{x:"29",y:"9",width:"18",height:"9",rx:"3",fill:"#338EEF"}),wp.element.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17 28C21.4183 28 25 24.4183 25 20C25 15.5817 21.4183 12 17 12C12.5817 12 9 15.5817 9 20C9 24.4183 12.5817 28 17 28ZM20.544 21.8756L17.5907 16.7081C17.3281 16.2488 16.6719 16.2488 16.4093 16.7081L13.456 21.8756C13.1935 22.3349 13.5217 22.9091 14.0467 22.9091H19.9533C20.4783 22.9091 20.8065 22.3349 20.544 21.8756Z",fill:"#338EEF"}),wp.element.createElement("rect",{x:"1.5",y:"1.5",width:"67",height:"37",rx:"1.5",stroke:"#E7F2FD",strokeWidth:"3"})),r.themeIcon=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"#EB5757";return wp.element.createElement("svg",{width:"14",height:"19",viewBox:"0 0 14 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M7.875 0.899463C7.875 1.59183 8.0816 2.24711 8.49479 2.8653C8.93229 3.48349 9.44271 4.06458 10.026 4.60859C10.6337 5.15259 11.2292 5.73369 11.8125 6.35188C12.4201 6.97007 12.9306 7.76135 13.3438 8.72572C13.7812 9.66537 14 10.7163 14 11.8785C14 13.832 13.3073 15.5011 11.9219 16.8858C10.5608 18.2953 8.92014 19 7 19C5.07986 19 3.42708 18.2953 2.04167 16.8858C0.680556 15.5011 0 13.832 0 11.8785C0 9.94973 0.668403 8.28062 2.00521 6.87116C2.27257 6.57443 2.58854 6.50024 2.95312 6.64861C3.31771 6.79697 3.5 7.08134 3.5 7.50171V10.6545C3.5 11.3221 3.71875 11.8908 4.15625 12.3607C4.61806 12.8305 5.16493 13.0654 5.79688 13.0654C6.45312 13.0654 7.01215 12.8428 7.47396 12.3978C7.93576 11.9279 8.16667 11.3592 8.16667 10.6916C8.16667 10.2712 8.04514 9.86318 7.80208 9.46754C7.58333 9.0719 7.31597 8.71336 7 8.3919C6.68403 8.07044 6.34375 7.73662 5.97917 7.39043C5.63889 7.04425 5.34722 6.66097 5.10417 6.2406C4.88542 5.82024 4.73958 5.35041 4.66667 4.83114C4.59375 4.31186 4.67882 3.68131 4.92188 2.93948C5.18924 2.17293 5.63889 1.33219 6.27083 0.417277C6.51389 0.0463641 6.84201 -0.0772735 7.25521 0.0463641C7.6684 0.170002 7.875 0.454368 7.875 0.899463Z",fill:e}))},t.a=r},function(e,t,n){"use strict";var r={};r.canaccess=function(e){return"lite"===e},t.a=r},function(e,t,n){"use strict";var r={};r.checkmark=wp.element.createElement("svg",{width:"24",height:"20",viewBox:"0 0 24 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M21.0565 2.94355C23.0188 4.87903 24 7.23118 24 10C24 12.7688 23.0188 15.1344 21.0565 17.0968C19.121 19.0323 16.7688 20 14 20C11.2312 20 8.86559 19.0323 6.90323 17.0968C4.96774 15.1344 4 12.7688 4 10C4 7.23118 4.96774 4.87903 6.90323 2.94355C8.86559 0.981183 11.2312 0 14 0C16.7688 0 19.121 0.981183 21.0565 2.94355ZM12.8306 15.2823L20.25 7.8629C20.5726 7.5672 20.5726 7.27151 20.25 6.97581L19.3629 6.04839C19.0403 5.75269 18.7312 5.75269 18.4355 6.04839L12.3871 12.0968L9.56452 9.27419C9.26882 8.97849 8.95968 8.97849 8.6371 9.27419L7.75 10.2016C7.42742 10.4973 7.42742 10.793 7.75 11.0887L11.9435 15.2823C12.2392 15.6048 12.5349 15.6048 12.8306 15.2823Z",fill:"#338EEF"})),r.chevronright=wp.element.createElement("svg",{width:"8",height:"12",viewBox:"0 0 8 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M7.77369 5.53211L2.28571 0.19266C2.1537 0.0642201 1.9934 -6.52786e-08 1.80481 -5.7035e-08C1.61622 -4.87915e-08 1.45592 0.0642201 1.3239 0.192661L0.701556 0.798165C0.569543 0.926605 0.503536 1.08257 0.503536 1.26605C0.484677 1.44954 0.541254 1.6055 0.673267 1.73394L5.05799 6L0.673268 10.2661C0.541255 10.3945 0.484678 10.5505 0.503537 10.7339C0.503537 10.9174 0.569543 11.0734 0.701556 11.2018L1.3239 11.8073C1.45592 11.9358 1.61622 12 1.80481 12C1.9934 12 2.1537 11.9358 2.28571 11.8073L7.77369 6.46789C7.92456 6.33945 8 6.18349 8 6C8 5.81651 7.92456 5.66055 7.77369 5.53211Z",fill:"#C4C4C4"})),r.chevronleft=wp.element.createElement("svg",{width:"8",height:"12",viewBox:"0 0 8 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M0.226309 5.53211L5.71429 0.19266C5.8463 0.0642201 6.0066 -6.52786e-08 6.19519 -5.7035e-08C6.38378 -4.87915e-08 6.54408 0.0642201 6.6761 0.192661L7.29844 0.798165C7.43046 0.926605 7.49646 1.08257 7.49646 1.26605C7.51532 1.44954 7.45875 1.6055 7.32673 1.73394L2.94201 6L7.32673 10.2661C7.45875 10.3945 7.51532 10.5505 7.49646 10.7339C7.49646 10.9174 7.43046 11.0734 7.29844 11.2018L6.6761 11.8073C6.54408 11.9358 6.38378 12 6.19519 12C6.0066 12 5.8463 11.9358 5.71429 11.8073L0.226309 6.46789C0.0754363 6.33945 6.83386e-07 6.18349 6.91406e-07 6C6.99426e-07 5.81651 0.0754363 5.66055 0.226309 5.53211Z",fill:"#C4C4C4"})),t.a=r},function(e,t,n){"use strict";function r(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 i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){l(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(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 s(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),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}function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(){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}}function m(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}function f(e,t){if(null==e)return{};var n,r,i=m(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return g(e)}function v(e){var t=h();return function(){var n,r=d(e);if(t){var i=d(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return w(this,n)}}function y(e){return b(e)||S(e)||E(e)||C()}function b(e){if(Array.isArray(e))return _(e)}function S(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function E(e,t){if(e){if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_(e,t):void 0}}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}function C(){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 x(e,t){return t={exports:{}},e(t,t.exports),t.exports}function k(){}function O(){}function T(e){return e.map(function(e){return!1===e?null:e}).join(" ").replace(/\s+/g," ").trim()}function N(e,t){return 100/e*t/t}function M(e,t){return 100*e/t}function j(e){return"".concat(e,"%")}function P(e,t,n){if(e===t)return!0;var r=ie[re(e)],i=ie[re(t)];return!(!r||r!==i)&&r(e,t,n)}function D(e){return function(t,n,r){if(!r)return e(t,n,[]);for(var i,o=r.length;i=r[--o];)if(i[0]===t&&i[1]===n)return!0;return e(t,n,r)}}function F(e,t,n){var r=e.length;if(r!==t.length)return!1;for(n.push([e,t]);r--;)if(!P(e[r],t[r],n))return!1;return!0}function A(e,t,n){if("function"==typeof e.equal)return n.push([e,t]),e.equal(t,n);var r=L(e),i=L(t),o=r.length;if(o!==i.length)return!1;for(r.sort(),i.sort();o--;)if(r[o]!==i[o])return!1;for(n.push([e,t]),o=r.length;o--;){var a=r[o];if(!P(e[a],t[a],n))return!1}return!0}function L(e){var t=[];for(var n in e)"constructor"!==n&&t.push(n);return t}function B(e){return!!e&&"object"==typeof e}function z(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||R(e)}function R(e){return e.$$typeof===le}function H(e){return Array.isArray(e)?[]:{}}function I(e,t){return!1!==t.clone&&t.isMergeableObject(e)?W(H(e),e,t):e}function q(e,t,n){return e.concat(t).map(function(e){return I(e,n)})}function V(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach(function(t){r[t]=I(e[t],n)}),Object.keys(t).forEach(function(i){n.isMergeableObject(t[i])&&e[i]?r[i]=W(e[i],t[i],n):r[i]=I(t[i],n)}),r}function W(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||q,n.isMergeableObject=n.isMergeableObject||ae;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):V(e,t,n):I(t,n)}function Z(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return{}},n=function(n){function r(e,n){var s;return o(this,r),s=a.call(this,e,n),s.state=t(i({},n.state)),s.updateStateProps=s.updateStateProps.bind(g(s)),s}u(r,n);var a=v(r);return s(r,[{key:"componentDidMount",value:function(){this.context.subscribe(this.updateStateProps)}},{key:"shouldComponentUpdate",value:function(e,t){return!oe(t,this.state)||!oe(e,this.props)}},{key:"componentWillUnmount",value:function(){this.context.unsubscribe(this.updateStateProps)}},{key:"updateStateProps",value:function(){this.setState(t(i({},this.context.state)))}},{key:"render",value:function(){var t=this,n=de(this.state,this.props);return Y.a.createElement(e,c({ref:function(e){t.instance=e}},n,{carouselStore:{getStoreState:this.context.getStoreState,masterSpinnerError:this.context.masterSpinnerError,masterSpinnerSuccess:this.context.masterSpinnerSuccess,setStoreState:this.context.setStoreState,subscribeMasterSpinner:this.context.subscribeMasterSpinner,unsubscribeAllMasterSpinner:this.context.unsubscribeAllMasterSpinner,unsubscribeMasterSpinner:this.context.unsubscribeMasterSpinner}}),this.props.children)}}]),r}(Y.a.Component);return l(n,"contextType",pe),l(n,"propTypes",{children:J.children}),l(n,"defaultProps",{children:null}),n}n.d(t,"a",function(){return Me}),n.d(t,"b",function(){return Be}),n.d(t,"c",function(){return we}),n.d(t,"d",function(){return Je}),n.d(t,"e",function(){return St}),n.d(t,"f",function(){return Tt});var U=n(80),Y=n.n(U),X="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";O.resetWarningCache=k;var G=function(){function e(e,t,n,r,i,o){if(o!==X){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:O,resetWarningCache:k};return n.PropTypes=n,n},K=x(function(e){e.exports=G()}),$="loading",J={children:K.oneOfType([K.arrayOf(K.node),K.node]),direction:K.oneOf(["forward","backward"]),height:function(e,t){var n=e[t];return"vertical"!==e.orientation||null!==n&&"number"==typeof n?null:new Error("Missing required property '".concat(t,"' when orientation is vertical. You must supply a number representing the height in pixels"))},orientation:K.oneOf(["horizontal","vertical"]),isBgImage:function(e,t){return!0===e[t]&&"img"===e.tag?new Error("HTML img elements should not have a backgroundImage. Please use ".concat(t," for other block-level HTML tags, like div, a, section, etc...")):null}},Q=function(e){var t=e.min,n=e.max,r=e.x;return Math.min(n,Math.max(t,r))},ee={buttonBack:"buttonBack___1mlaL"},te=["carouselStore","className","currentSlide","disabled","onClick","step","totalSlides","visibleSlides","infinite"],ne=function(e){function t(e){var r;return o(this,t),r=n.call(this,e),r.handleOnClick=r.handleOnClick.bind(g(r)),r}u(t,e);var n=v(t);return s(t,[{key:"handleOnClick",value:function(e){var t=this.props,n=t.carouselStore,r=t.currentSlide,i=t.onClick,o=t.step,a=t.infinite,s=t.visibleSlides,l=t.totalSlides-s,c=Math.max(r-o,0);a&&(c=0===r?l:c),n.setStoreState({currentSlide:c,isPlaying:!1},null!==i&&i.call(this,e))}},{key:"render",value:function(){var e=this.props,n=(e.carouselStore,e.className),r=(e.currentSlide,e.disabled,e.onClick,e.step,e.totalSlides,e.visibleSlides,e.infinite),i=f(e,te),o=T([ee.buttonBack,"carousel__back-button",n]),a=t.setDisabled(this.props.disabled,this.props.currentSlide,r);return Y.a.createElement("button",c({type:"button","aria-label":"previous",className:o,onClick:this.handleOnClick,disabled:a},i),this.props.children)}}],[{key:"setDisabled",value:function(e,t,n){return null!==e?e:0===t&&!n}}]),t}(Y.a.Component);l(ne,"propTypes",{carouselStore:K.object.isRequired,children:J.children.isRequired,className:K.string,currentSlide:K.number.isRequired,disabled:K.bool,onClick:K.func,step:K.number.isRequired,totalSlides:K.number.isRequired,visibleSlides:K.number.isRequired,infinite:K.bool}),l(ne,"defaultProps",{className:null,disabled:null,onClick:null,infinite:!1});var re=x(function(e,t){var n={}.toString,r="undefined"!=typeof window?window.Node:Function;e.exports=t=function(e){var t=typeof e;if("object"!=t)return t;if("object"==(t=i[n.call(e)]))return e instanceof Map?"map":e instanceof Set?"set":"object";if(t)return t;if(e instanceof r)switch(e.nodeType){case 1:return"element";case 3:return"text-node";case 9:return"document";case 11:return"document-fragment";default:return"dom-node"}};var i=t.types={"[object Function]":"function","[object Date]":"date","[object RegExp]":"regexp","[object Arguments]":"arguments","[object Array]":"array","[object Set]":"set","[object String]":"string","[object Null]":"null","[object Undefined]":"undefined","[object Number]":"number","[object Boolean]":"boolean","[object Object]":"object","[object Map]":"map","[object Text]":"text-node","[object Uint8Array]":"bit-array","[object Uint16Array]":"bit-array","[object Uint32Array]":"bit-array","[object Uint8ClampedArray]":"bit-array","[object Error]":"error","[object FormData]":"form-data","[object File]":"file","[object Blob]":"blob"}}),ie=(re.types,{});ie.number=function(e,t){return e!==e&&t!==t},ie.function=function(e,t,n){return e.toString()===t.toString()&&ie.object(e,t,n)&&P(e.prototype,t.prototype)},ie.date=function(e,t){return+e==+t},ie.regexp=function(e,t){return e.toString()===t.toString()},ie.element=function(e,t){return e.outerHTML===t.outerHTML},ie.textnode=function(e,t){return e.textContent===t.textContent},ie.arguments=ie["bit-array"]=ie.array=D(F),ie.object=D(A);var oe=P,ae=function(e){return B(e)&&!z(e)},se="function"==typeof Symbol&&Symbol.for,le=se?Symbol.for("react.element"):60103;W.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,n){return W(e,n,t)},{})};var ce,ue,de=W,pe=Y.a.createContext(),he=function e(t){return Object.freeze(t),Object.getOwnPropertyNames(t).forEach(function(n){!t.hasOwnProperty(n)||null===t[n]||"object"!=typeof t[n]&&"function"!=typeof t[n]||Object.isFrozen(t[n])||e(t[n])}),t},me={masterSpinnerFinished:!1},fe=function(){function e(t){o(this,e),this.state=he(de(me,t)),this.subscriptions=[],this.masterSpinnerSubscriptions={},this.setStoreState=this.setStoreState.bind(this),this.getStoreState=this.getStoreState.bind(this),this.subscribe=this.subscribe.bind(this),this.unsubscribe=this.unsubscribe.bind(this),this.updateSubscribers=this.updateSubscribers.bind(this),this.subscribeMasterSpinner=this.subscribeMasterSpinner.bind(this),this.unsubscribeMasterSpinner=this.unsubscribeMasterSpinner.bind(this),this.unsubscribeAllMasterSpinner=this.unsubscribeAllMasterSpinner.bind(this),this.masterSpinnerSuccess=this.masterSpinnerSuccess.bind(this),this.masterSpinnerError=this.masterSpinnerError.bind(this)}return s(e,[{key:"setStoreState",value:function(e,t){this.state=he(de(this.state,e)),this.updateSubscribers(t)}},{key:"getStoreState",value:function(){return de({},this.state)}},{key:"subscribe",value:function(e){this.subscriptions.push(e)}},{key:"unsubscribe",value:function(e){var t=this.subscriptions.indexOf(e);-1!==t&&this.subscriptions.splice(t,1)}},{key:"updateSubscribers",value:function(e){this.subscriptions.forEach(function(e){return e()}),"function"==typeof e&&e(this.getStoreState())}},{key:"subscribeMasterSpinner",value:function(e){-1===Object.keys(this.masterSpinnerSubscriptions).indexOf(e)&&(this.masterSpinnerSubscriptions[e]={success:!1,error:!1,complete:!1})}},{key:"unsubscribeMasterSpinner",value:function(e){return-1!==Object.keys(this.masterSpinnerSubscriptions).indexOf(e)&&(this.setMasterSpinnerFinished(),delete this.masterSpinnerSubscriptions[e])}},{key:"unsubscribeAllMasterSpinner",value:function(){this.masterSpinnerSubscriptions={},this.setMasterSpinnerFinished()}},{key:"masterSpinnerSuccess",value:function(e){this.masterSpinnerSubscriptions[e].success=!0,this.masterSpinnerSubscriptions[e].complete=!0,this.setMasterSpinnerFinished()}},{key:"masterSpinnerError",value:function(e){this.masterSpinnerSubscriptions[e].error=!0,this.masterSpinnerSubscriptions[e].complete=!0,this.setMasterSpinnerFinished()}},{key:"setMasterSpinnerFinished",value:function(){this.setStoreState({masterSpinnerFinished:this.isMasterSpinnerFinished()})}},{key:"isMasterSpinnerFinished",value:function(){var e=this;return 0===Object.keys(this.masterSpinnerSubscriptions).filter(function(t){return!0!==e.masterSpinnerSubscriptions[t].complete}).length}}]),e}(),ge=["children","className","currentSlide","disableAnimation","disableKeyboard","hasMasterSpinner","interval","isPageScrollLocked","isPlaying","lockOnWindowScroll","naturalSlideHeight","naturalSlideWidth","orientation","playDirection","step","dragStep","tag","totalSlides","touchEnabled","dragEnabled","visibleSlides","infinite","isIntrinsicHeight"],we=(ue=ce=function(e){function t(e){var r;if(o(this,t),r=n.call(this,e),e.isIntrinsicHeight&&"horizontal"!==e.orientation)throw Error('isIntrinsicHeight can only be used in "horizontal" orientation. See Readme for more information.');var i={currentSlide:e.currentSlide,disableAnimation:e.disableAnimation,disableKeyboard:e.disableKeyboard,hasMasterSpinner:e.hasMasterSpinner,imageErrorCount:0,imageSuccessCount:0,interval:e.interval,isPageScrollLocked:e.isPageScrollLocked,isPlaying:e.isPlaying,lockOnWindowScroll:e.lockOnWindowScroll,masterSpinnerThreshold:0,naturalSlideHeight:e.naturalSlideHeight,naturalSlideWidth:e.naturalSlideWidth,orientation:e.orientation,playDirection:e.playDirection,privateUnDisableAnimation:!1,slideSize:N(e.totalSlides,e.visibleSlides),slideTraySize:M(e.totalSlides,e.visibleSlides),step:e.step,dragStep:e.dragStep,totalSlides:e.totalSlides,touchEnabled:e.touchEnabled,dragEnabled:e.dragEnabled,visibleSlides:e.visibleSlides,infinite:e.infinite,isIntrinsicHeight:e.isIntrinsicHeight};return r.carouselStore=new fe(i),r}u(t,e);var n=v(t);return s(t,[{key:"componentDidUpdate",value:function(e){var t=this,n={};["currentSlide","disableAnimation","disableKeyboard","hasMasterSpinner","interval","isPlaying","naturalSlideHeight","naturalSlideWidth","lockOnWindowScroll","orientation","playDirection","step","dragStep","totalSlides","touchEnabled","dragEnabled","visibleSlides"].forEach(function(r){e[r]!==t.props[r]&&(n[r]=t.props[r])}),this.props.currentSlide!==e.currentSlide&&!this.props.disableAnimation&&(n.disableAnimation=!0,n.privateUnDisableAnimation=!0),this.props.totalSlides===e.totalSlides&&this.props.visibleSlides===e.visibleSlides||(n.slideSize=N(this.props.totalSlides,this.props.visibleSlides),n.slideTraySize=M(this.props.totalSlides,this.props.visibleSlides)),this.carouselStore.state.currentSlide>=this.props.totalSlides&&(n.currentSlide=Math.max(this.props.totalSlides-1,0)),Object.keys(n).length>0&&this.carouselStore.setStoreState(n)}},{key:"componentWillUnmount",value:function(){this.carouselStore.unsubscribeAllMasterSpinner()}},{key:"getStore",value:function(){return this.carouselStore}},{key:"render",value:function(){var e=this.props,t=(e.children,e.className,e.currentSlide,e.disableAnimation,e.disableKeyboard,e.hasMasterSpinner,e.interval,e.isPageScrollLocked,e.isPlaying,e.lockOnWindowScroll,e.naturalSlideHeight,e.naturalSlideWidth,e.orientation,e.playDirection,e.step,e.dragStep,e.tag),n=(e.totalSlides,e.touchEnabled,e.dragEnabled,e.visibleSlides,e.infinite,e.isIntrinsicHeight,f(e,ge)),r=T(["carousel",this.props.className]);return Y.a.createElement(t,c({className:r},n),Y.a.createElement(pe.Provider,{value:this.carouselStore},this.props.children))}}]),t}(Y.a.Component),l(ce,"propTypes",{children:J.children.isRequired,className:K.string,currentSlide:K.number,disableAnimation:K.bool,disableKeyboard:K.bool,hasMasterSpinner:K.bool,interval:K.number,isPageScrollLocked:K.bool,isPlaying:K.bool,lockOnWindowScroll:K.bool,naturalSlideHeight:K.number.isRequired,naturalSlideWidth:K.number.isRequired,orientation:J.orientation,playDirection:J.direction,step:K.number,dragStep:K.number,tag:K.string,totalSlides:K.number.isRequired,touchEnabled:K.bool,dragEnabled:K.bool,visibleSlides:K.number,infinite:K.bool,isIntrinsicHeight:K.bool}),l(ce,"defaultProps",{className:null,currentSlide:0,disableAnimation:!1,disableKeyboard:!1,hasMasterSpinner:!1,interval:5e3,isPageScrollLocked:!1,isPlaying:!1,lockOnWindowScroll:!1,orientation:"horizontal",playDirection:"forward",step:1,dragStep:1,tag:"div",touchEnabled:!0,dragEnabled:!0,visibleSlides:1,infinite:!1,isIntrinsicHeight:!1}),ue);pe.Consumer;var ve,ye,be,Se,Ee,_e,Ce,xe,ke,Oe,Te,Ne,Me=Z(ne,function(e){return{currentSlide:e.currentSlide,step:e.step,totalSlides:e.totalSlides,visibleSlides:e.visibleSlides,infinite:e.infinite}}),je={buttonFirst:"buttonFirst___2rhFr"},Pe=["carouselStore","className","currentSlide","disabled","onClick","totalSlides"],De=(ye=ve=function(e){function t(){var e;return o(this,t),e=n.call(this),e.handleOnClick=e.handleOnClick.bind(g(e)),e}u(t,e);var n=v(t);return s(t,[{key:"handleOnClick",value:function(e){var t=this.props,n=t.carouselStore,r=t.onClick;n.setStoreState({currentSlide:0,isPlaying:!1},null!==r&&r.call(this,e))}},{key:"render",value:function(){var e=this.props,t=(e.carouselStore,e.className),n=e.currentSlide,r=e.disabled,i=(e.onClick,e.totalSlides,f(e,Pe)),o=T([je.buttonFirst,"carousel__first-button",t]),a=null!==r?r:0===n;return Y.a.createElement("button",c({type:"button","aria-label":"first",className:o,onClick:this.handleOnClick,disabled:a},i),this.props.children)}}]),t}(Y.a.Component),l(ve,"propTypes",{carouselStore:K.object.isRequired,children:J.children.isRequired,className:K.string,currentSlide:K.number.isRequired,disabled:K.bool,onClick:K.func,totalSlides:K.number.isRequired}),l(ve,"defaultProps",{className:null,disabled:null,onClick:null}),ye),Fe=(Z(De,function(e){return{currentSlide:e.currentSlide,totalSlides:e.totalSlides}}),{buttonNext:"buttonNext___2mOCa"}),Ae=["carouselStore","className","currentSlide","disabled","onClick","step","totalSlides","visibleSlides","infinite"],Le=(Se=be=function(e){function t(e){var r;return o(this,t),r=n.call(this,e),r.handleOnClick=r.handleOnClick.bind(g(r)),r}u(t,e);var n=v(t);return s(t,[{key:"handleOnClick",value:function(e){var t=this.props,n=t.currentSlide,r=t.onClick,i=t.step,o=t.carouselStore,a=t.infinite,s=t.totalSlides-t.visibleSlides,l=i+n,c=Math.min(l,s);a&&(c=s===n?0:c),o.setStoreState({currentSlide:c,isPlaying:!1},null!==r&&r.call(this,e))}},{key:"render",value:function(){var e=this.props,n=(e.carouselStore,e.className),r=e.currentSlide,i=e.disabled,o=(e.onClick,e.step,e.totalSlides),a=e.visibleSlides,s=e.infinite,l=f(e,Ae),u=T([Fe.buttonNext,"carousel__next-button",n]),d=t.setDisabled(i,r,a,o,s);return Y.a.createElement("button",c({type:"button","aria-label":"next",className:u,onClick:this.handleOnClick,disabled:d},l),this.props.children)}}],[{key:"setDisabled",value:function(e,t,n,r,i){return null!==e?e:t>=r-n&&!i}}]),t}(Y.a.PureComponent),l(be,"propTypes",{carouselStore:K.object.isRequired,children:J.children.isRequired,className:K.string,currentSlide:K.number.isRequired,disabled:K.bool,onClick:K.func,step:K.number.isRequired,totalSlides:K.number.isRequired,visibleSlides:K.number.isRequired,infinite:K.bool}),l(be,"defaultProps",{className:null,disabled:null,onClick:null,infinite:!1}),Se),Be=Z(Le,function(e){return{currentSlide:e.currentSlide,step:e.step,totalSlides:e.totalSlides,visibleSlides:e.visibleSlides,infinite:e.infinite}}),ze={buttonLast:"buttonLast___2yuh0"},Re=["carouselStore","className","currentSlide","disabled","onClick","totalSlides","visibleSlides"],He=(_e=Ee=function(e){function t(){var e;return o(this,t),e=n.call(this),e.handleOnClick=e.handleOnClick.bind(g(e)),e}u(t,e);var n=v(t);return s(t,[{key:"handleOnClick",value:function(e){var t=this.props,n=t.carouselStore,r=t.onClick,i=t.totalSlides,o=t.visibleSlides;n.setStoreState({currentSlide:i-o,isPlaying:!1},null!==r&&r.call(this,e))}},{key:"render",value:function(){var e=this.props,t=(e.carouselStore,e.className),n=e.currentSlide,r=e.disabled,i=(e.onClick,e.totalSlides),o=e.visibleSlides,a=f(e,Re),s=T([ze.buttonLast,"carousel__last-button",t]),l=null!==r?r:n>=i-o;return Y.a.createElement("button",c({type:"button","aria-label":"last",className:s,onClick:this.handleOnClick,disabled:l},a),this.props.children)}}]),t}(Y.a.Component),l(Ee,"propTypes",{carouselStore:K.object.isRequired,children:J.children.isRequired,className:K.string,currentSlide:K.number.isRequired,disabled:K.bool,onClick:K.func,totalSlides:K.number.isRequired,visibleSlides:K.number.isRequired}),l(Ee,"defaultProps",{className:null,disabled:null,onClick:null}),_e),Ie=(Z(He,function(e){return{currentSlide:e.currentSlide,totalSlides:e.totalSlides,visibleSlides:e.visibleSlides}}),{buttonNext:"buttonNext___3Lm3s"}),qe=["carouselStore","children","childrenPaused","childrenPlaying","className","isPlaying","onClick"],Ve=(xe=Ce=function(e){function t(e){var r;return o(this,t),r=n.call(this,e),r.handleOnClick=r.handleOnClick.bind(g(r)),r}u(t,e);var n=v(t);return s(t,[{key:"handleOnClick",value:function(e){var t=this.props.onClick;this.props.carouselStore.setStoreState({isPlaying:!this.props.isPlaying},null!==t&&t.call(this,e))}},{key:"render",value:function(){var e=this.props,t=(e.carouselStore,e.children,e.childrenPaused),n=e.childrenPlaying,r=e.className,i=e.isPlaying,o=(e.onClick,f(e,qe)),a=T([Ie.buttonNext,"carousel__play-button",r]);return Y.a.createElement("button",c({type:"button","aria-label":"play",className:a,onClick:this.handleOnClick},o),i&&n,!i&&t,this.props.children)}}]),t}(Y.a.PureComponent),l(Ce,"propTypes",{carouselStore:K.object.isRequired,children:K.node,childrenPaused:K.node,childrenPlaying:K.node,className:K.string,isPlaying:K.bool.isRequired,onClick:K.func}),l(Ce,"defaultProps",{children:null,childrenPaused:null,childrenPlaying:null,className:null,onClick:null}),xe),We=(Z(Ve,function(e){return{isPlaying:e.isPlaying}}),{dot:"dot___3c3SI"}),Ze=["carouselStore","children","className","currentSlide","disabled","onClick","selected","slide","totalSlides","visibleSlides"],Ue=(Oe=ke=function(e){function t(e){var r;return o(this,t),r=n.call(this,e),r.handleOnClick=r.handleOnClick.bind(g(r)),r}u(t,e);var n=v(t);return s(t,[{key:"handleOnClick",value:function(e){var t=this.props,n=t.carouselStore,r=t.onClick,i=t.slide,o=t.totalSlides,a=t.visibleSlides,s=i>=o-a?o-a:i;n.setStoreState({currentSlide:s,isPlaying:!1},null!==r&&r.call(this,e))}},{key:"render",value:function(){var e=this.props,t=(e.carouselStore,e.children,e.className),n=e.currentSlide,r=e.disabled,i=(e.onClick,e.selected),o=e.slide,a=(e.totalSlides,e.visibleSlides),s=f(e,Ze),l=o>=n&&o<n+a,u="boolean"==typeof i?i:l,d=!0===l,p="boolean"==typeof r?r:d,h=T([We.dot,u&&We.dotSelected,"carousel__dot","carousel__dot--".concat(o),u&&"carousel__dot--selected",t]);return Y.a.createElement("button",c({"aria-label":"slide dot",type:"button",onClick:this.handleOnClick,className:h,disabled:p},s),this.props.children)}}]),t}(Y.a.Component),l(ke,"propTypes",{carouselStore:K.object.isRequired,children:J.children,className:K.string,currentSlide:K.number.isRequired,disabled:K.bool,onClick:K.func,selected:K.bool,slide:K.number.isRequired,totalSlides:K.number.isRequired,visibleSlides:K.number.isRequired}),l(ke,"defaultProps",{children:null,className:null,disabled:null,onClick:null,selected:null}),Oe),Ye=Z(Ue,function(e){return{currentSlide:e.currentSlide,totalSlides:e.totalSlides,visibleSlides:e.visibleSlides}}),Xe={},Ge=["renderDots"],Ke=["carouselStore","children","className","currentSlide","dotNumbers","totalSlides","visibleSlides","disableActiveDots","showAsSelectedForCurrentSlideOnly","renderDots"],$e=(Ne=Te=function(e){function t(){return o(this,t),n.apply(this,arguments)}u(t,e);var n=v(t);return s(t,[{key:"renderDots",value:function(){var e=this.props,t=e.currentSlide,n=e.totalSlides,r=e.visibleSlides,i=e.disableActiveDots,o=e.showAsSelectedForCurrentSlideOnly,a=e.renderDots;if(a){var s=this.props;return s.renderDots,a(f(s,Ge))}for(var l=[],c=0;c<n;c+=1){var u=c>=t&&c<t+r,d=c===t,p=o?d:u,h=c>=n-r?n-r:c;l.push(Y.a.createElement(Ye,{key:c,slide:h,selected:p,disabled:!!i&&p},Y.a.createElement("span",{className:T["carousel__dot-group-dot"]},this.props.dotNumbers&&c+1)))}return l}},{key:"render",value:function(){var e=this.props,t=(e.carouselStore,e.children),n=e.className,r=(e.currentSlide,e.dotNumbers,e.totalSlides,e.visibleSlides,e.disableActiveDots,e.showAsSelectedForCurrentSlideOnly,e.renderDots,f(e,Ke)),i=T([Xe.DotGroup,"carousel__dot-group",n]);return Y.a.createElement("div",c({className:i},r),this.renderDots(),t)}}]),t}(Y.a.Component),l(Te,"propTypes",{children:J.children,className:K.string,currentSlide:K.number.isRequired,carouselStore:K.object.isRequired,totalSlides:K.number.isRequired,visibleSlides:K.number.isRequired,dotNumbers:K.bool,disableActiveDots:K.bool,showAsSelectedForCurrentSlideOnly:K.bool,renderDots:K.func}),l(Te,"defaultProps",{children:null,className:null,dotNumbers:!1,disableActiveDots:!0,showAsSelectedForCurrentSlideOnly:!1,renderDots:null}),Ne),Je=Z($e,function(e){return{currentSlide:e.currentSlide,totalSlides:e.totalSlides,visibleSlides:e.visibleSlides}}),Qe={image:"image___xtQGH"},et=["src","alt"],tt=["carouselStore","children","className","hasMasterSpinner","isBgImage","onError","onLoad","renderError","renderLoading","style","tag"],nt=function(e){function t(e){var r;return o(this,t),r=n.call(this,e),r.state={imageStatus:$},r.handleImageLoad=r.handleImageLoad.bind(g(r)),r.handleImageError=r.handleImageError.bind(g(r)),r.image=null,r}u(t,e);var n=v(t);return s(t,[{key:"componentDidMount",value:function(){t.subscribeMasterSpinner(this.props),this.initImage()}},{key:"componentDidUpdate",value:function(e){e.src!==this.props.src&&(t.unsubscribeMasterSpinner(e),t.subscribeMasterSpinner(this.props),this.initImage())}},{key:"componentWillUnmount",value:function(){t.unsubscribeMasterSpinner(this.props),this.image.removeEventListener("load",this.handleImageLoad),this.image.removeEventListener("error",this.handleImageError),this.image=null}},{key:"initImage",value:function(){if(this.setState({imageStatus:$}),this.image=document.createElement("img"),this.image.addEventListener("load",this.handleImageLoad,!1),this.image.addEventListener("error",this.handleImageError,!1),this.image.src=this.props.src,this.image.readyState||this.image.complete){var e=this.image.src;this.image.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==",this.image.src=e}}},{key:"handleImageLoad",value:function(e){this.setState({imageStatus:"success"}),this.props.hasMasterSpinner&&this.props.carouselStore.masterSpinnerSuccess(this.props.src),this.props.onLoad&&this.props.onLoad(e)}},{key:"handleImageError",value:function(e){this.setState({imageStatus:"error"}),this.props.hasMasterSpinner&&this.props.carouselStore.masterSpinnerError(this.props.src),this.props.onError&&this.props.onError(e)}},{key:"tempTag",value:function(){return"img"===this.props.tag?"div":this.props.tag}},{key:"customRender",value:function(e){return"function"==typeof this.props[e]?this.props[e]():this.props.children}},{key:"renderLoading",value:function(e){var t=this.tempTag(),n=T([Qe.image,Qe.imageLoading,"carousel__image",this.props.isBgImage&&"carousel__image--with-background","carousel__image--loading",this.props.className]);return Y.a.createElement(t,c({className:n},e),this.customRender("renderLoading"))}},{key:"renderError",value:function(e){var t=this.tempTag(),n=T([Qe.image,Qe.imageError,"carousel__image",this.props.isBgImage&&"carousel__image--with-background","carousel__image--error",this.props.className]);return Y.a.createElement(t,c({className:n},e),this.customRender("renderError"))}},{key:"renderSuccess",value:function(e){var t=this.props,n=t.style,r=t.tag,i=T([Qe.image,"carousel__image",this.props.isBgImage&&"carousel__image--with-background","carousel__image--success",this.props.className]),o=c({},n),a=e;if("img"!==r){var s=e.src;e.alt,a=f(e,et),o=c({},n,{backgroundImage:'url("'.concat(s,'")'),backgroundSize:"cover"})}return Y.a.createElement(r,c({className:i,style:o},a),this.props.children)}},{key:"render",value:function(){var e=this.props,t=(e.carouselStore,e.children,e.className,e.hasMasterSpinner,e.isBgImage,e.onError,e.onLoad,e.renderError,e.renderLoading,e.style,e.tag,f(e,tt));switch(this.state.imageStatus){case $:return this.renderLoading(t);case"success":return this.renderSuccess(t);case"error":return this.renderError(t);default:throw new Error("unknown value for this.state.imageStatus")}}}],[{key:"subscribeMasterSpinner",value:function(e){e.hasMasterSpinner&&e.carouselStore.subscribeMasterSpinner(e.src)}},{key:"unsubscribeMasterSpinner",value:function(e){e.hasMasterSpinner&&e.carouselStore.unsubscribeMasterSpinner(e.src)}}]),t}(Y.a.Component);l(nt,"propTypes",{alt:K.string,carouselStore:K.object.isRequired,children:J.children,className:K.string,hasMasterSpinner:K.bool.isRequired,isBgImage:J.isBgImage,onError:K.func,onLoad:K.func,renderError:K.func,renderLoading:K.func,src:K.string.isRequired,style:K.object,tag:K.string}),l(nt,"defaultProps",{alt:"",children:null,className:null,isBgImage:!1,onError:null,onLoad:null,renderError:null,renderLoading:null,style:null,tag:"img"});var rt,it,ot,at,st,lt,ct,ut,dt=Z(nt,function(e){return{hasMasterSpinner:e.hasMasterSpinner,orientation:e.orientation}}),pt={spinner:"spinner___27VUp",spin:"spin___S3UuE"},ht=["className"],mt=(it=rt=function(e){function t(){return o(this,t),n.apply(this,arguments)}u(t,e);var n=v(t);return s(t,[{key:"render",value:function(){var e=this.props,t=e.className,n=f(e,ht),r=T([pt.spinner,"carousel__spinner",t]);return Y.a.createElement("div",c({className:r},n))}}]),t}(Y.a.PureComponent),l(rt,"propTypes",{className:K.string}),l(rt,"defaultProps",{className:null}),it),ft={container:"container___2O72F",overlay:"overlay___IV4qY",hover:"hover___MYy31",zoom:"zoom___3kqYk",loading:"loading___1pvNI",imageLoadingSpinnerContainer:"imageLoadingSpinnerContainer___3UIPD"},gt=["alt","bgImageProps","bgImageTag","carouselStore","className","imageClassName","overlayClassName","isPinchZoomEnabled","spinner","src","srcZoomed","tag"],wt=(at=ot=function(e){function t(e){var r;return o(this,t),r=n.call(this,e),r.state={isImageLoading:!0,isHovering:!1,isZooming:!1,x:null,y:null,scale:1},r.tpCache={},r.handleImageComplete=r.handleImageComplete.bind(g(r)),r.handleOnMouseMove=r.handleOnMouseMove.bind(g(r)),r.handleOnMouseOut=r.handleOnMouseOut.bind(g(r)),r.handleOnMouseOver=r.handleOnMouseOver.bind(g(r)),r.handleOnTouchEnd=r.handleOnTouchEnd.bind(g(r)),r.handleOnTouchMove=r.handleOnTouchMove.bind(g(r)),r.handleOnTouchStart=r.handleOnTouchStart.bind(g(r)),r}u(t,e);var n=v(t);return s(t,[{key:"componentDidUpdate",value:function(e,t){!1===t.isZooming&&!0===this.state.isZooming&&this.props.carouselStore.setStoreState({isPageScrollLocked:!0}),!0===t.isZooming&&!1===this.state.isZooming&&this.props.carouselStore.setStoreState({isPageScrollLocked:!1})}},{key:"handleImageComplete",value:function(){this.setState({isImageLoading:!1})}},{key:"handleOnMouseOver",value:function(){this.state.isZooming||this.setState({isHovering:!0,scale:2})}},{key:"handleOnMouseOut",value:function(){this.state.isZooming||this.setState({isHovering:!1,scale:1})}},{key:"handleOnMouseMove",value:function(e){if(!this.state.isZooming){var t=j(e.nativeEvent.offsetX/e.target.offsetWidth*100),n=j(e.nativeEvent.offsetY/e.target.offsetHeight*100);this.setState({x:t,y:n})}}},{key:"handleOnTouchStart",value:function(e){var t=this;this.props.isPinchZoomEnabled&&(y(e.targetTouches).forEach(function(e){t.tpCache[e.identifier]={clientX:e.clientX,clientY:e.clientY}}),this.setState(function(e){return{isZooming:e.isZooming||Object.keys(t.tpCache).length>1}}))}},{key:"handleOnTouchMove",value:function(e){var n=this;if(this.state.isZooming){e.persist();var r=y(e.targetTouches).filter(function(e){return n.tpCache[e.identifier]}).slice(0,2);if(2===r.length){e.stopPropagation();var o=e.target.getBoundingClientRect(),a=r[0].identifier,s=r[1].identifier,l={x1:this.tpCache[a].clientX,y1:this.tpCache[a].clientY,x2:this.tpCache[s].clientX,y2:this.tpCache[s].clientY};l.distance=t.distanceBetweenTwoTouches(i({},l));var c=t.midpointBetweenTwoTouches(i({},l));l.cx=c.x,l.cy=c.y;var u={x1:r[0].clientX,y1:r[0].clientY,x2:r[1].clientX,y2:r[1].clientY};u.distance=t.distanceBetweenTwoTouches(i({},u));var d=t.midpointBetweenTwoTouches(i({},u));u.cx=d.x,u.cy=d.y;var p=j(Q({min:0,max:100,x:(u.cx-o.left)/o.width*100})),h=j(Q({min:0,max:100,x:(u.cy-o.top)/o.height*100})),m=function(e){return Q({min:1,max:3,x:e.scale+(u.distance-l.distance)/100})};this.setState(function(e){return{isZooming:1!==m(e),scale:m(e),x:p,y:h}})}}}},{key:"handleOnTouchEnd",value:function(e){var t=this;this.props.isPinchZoomEnabled&&(y(e.changedTouches).forEach(function(e){delete t.tpCache[e.identifier]}),0===Object.keys(this.tpCache).length&&this.setState({isZooming:!1}))}},{key:"renderLoading",value:function(){if(this.state.isImageLoading){var e=this.props.spinner;return Y.a.createElement("div",{className:T([ft.imageLoadingSpinnerContainer,"carousel__image-loading-spinner-container"])},e&&e(),!e&&Y.a.createElement(mt,null))}return null}},{key:"render",value:function(){var e=this.props,t=e.alt,n=e.bgImageProps,r=e.bgImageTag,i=(e.carouselStore,e.className),o=e.imageClassName,a=e.overlayClassName,s=(e.isPinchZoomEnabled,e.spinner,e.src),l=e.srcZoomed,u=e.tag,d=f(e,gt),p=T([ft.container,i]),h=T([ft.image,"carousel__zoom-image",o]),m=T([ft.overlay,"carousel__zoom-image-overlay",this.state.isHovering&&ft.hover,this.state.isZooming&&ft.zoom,this.state.isHovering&&"carousel__zoom-image-overlay--hovering",this.state.isZooming&&"carousel__zoom-image-overlay--zooming",a]),g={};return(this.state.isHovering||this.state.isZooming)&&(g.transformOrigin="".concat(this.state.x," ").concat(this.state.y),g.transform="scale(".concat(this.state.scale,")")),Y.a.createElement(u,c({className:p},d),Y.a.createElement(dt,c({alt:t,className:h,tag:r,src:s,onLoad:this.handleImageComplete,onError:this.handleImageComplete},n)),Y.a.createElement(dt,{className:m,tag:"div",src:l||s,style:g,isBgImage:!0,onFocus:this.handleOnMouseOver,onMouseOver:this.handleOnMouseOver,onBlur:this.handleOnMouseOut,onMouseOut:this.handleOnMouseOut,onMouseMove:this.handleOnMouseMove,onTouchStart:this.handleOnTouchStart,onTouchEnd:this.handleOnTouchEnd,onTouchMove:this.handleOnTouchMove}),this.renderLoading())}}],[{key:"midpointBetweenTwoTouches",value:function(e){var t=e.x1,n=e.y1;return{x:(t+e.x2)/2,y:(n+e.y2)/2}}},{key:"distanceBetweenTwoTouches",value:function(e){var t=e.x1,n=e.y1,r=e.x2,i=e.y2;return Math.sqrt(Math.pow(r-t,2)+Math.pow(i-n,2))}}]),t}(Y.a.Component),l(ot,"propTypes",{alt:K.string,bgImageProps:K.object,bgImageTag:K.string,carouselStore:K.object.isRequired,className:K.string,imageClassName:K.string,overlayClassName:K.string,spinner:K.func,src:K.string.isRequired,srcZoomed:K.string,tag:K.string,isPinchZoomEnabled:K.bool}),l(ot,"defaultProps",{alt:void 0,bgImageProps:{},bgImageTag:"div",className:null,imageClassName:null,overlayClassName:null,isPinchZoomEnabled:!0,spinner:null,srcZoomed:null,tag:"div"}),at),vt=(Z(wt,function(){return{}}),{slide:"slide___3-Nqo",slideHorizontal:"slideHorizontal___1NzNV",slideInner:"slideInner___2mfX9",focusRing:"focusRing___1airF"}),yt=["ariaLabel","carouselStore","children","className","classNameHidden","classNameVisible","currentSlide","index","innerClassName","innerTag","naturalSlideHeight","naturalSlideWidth","onBlur","onFocus","orientation","slideSize","style","tabIndex","tag","totalSlides","visibleSlides","isIntrinsicHeight"],bt=(lt=st=function(e){function t(e){var r;return o(this,t),r=n.call(this,e),r.handleOnFocus=r.handleOnFocus.bind(g(r)),r.handleOnBlur=r.handleOnBlur.bind(g(r)),r.state={focused:!1},r}u(t,e);var n=v(t);return s(t,[{key:"isVisible",value:function(){var e=this.props,t=e.currentSlide,n=e.index,r=e.visibleSlides;return n>=t&&n<t+r}},{key:"handleOnFocus",value:function(e){var t=this,n=this.props.onFocus;this.setState({focused:!0},function(){null!==n&&n.call(t,e)})}},{key:"handleOnBlur",value:function(e){var t=this,n=this.props.onBlur;this.setState({focused:!1},function(){null!==n&&n.call(t,e)})}},{key:"renderFocusRing",value:function(){return this.state.focused?Y.a.createElement("div",{className:[vt.focusRing,"carousel__slide-focus-ring"].join(" ")}):null}},{key:"render",value:function(){var e=this,t=this.props,n=t.ariaLabel,r=(t.carouselStore,t.children,t.className),i=t.classNameHidden,o=t.classNameVisible,a=(t.currentSlide,t.index,t.innerClassName),s=t.innerTag,l=t.naturalSlideHeight,u=t.naturalSlideWidth,d=(t.onBlur,t.onFocus,t.orientation),p=t.slideSize,h=t.style,m=t.tabIndex,g=t.tag,w=t.totalSlides,v=(t.visibleSlides,t.isIntrinsicHeight),y=f(t,yt),b={};"horizontal"===d?(b.width=j(p),b.paddingBottom=j(100*l/(u*w))):(b.width=j(100),b.paddingBottom=j(100*l/u));var S={};v&&("horizontal"===d?b.height="unset":b.width="unset",b.paddingBottom="unset",S.position="unset");var E=c({},b,h),_=this.isVisible(),C=T([vt.slide,"horizontal"===d&&vt.slideHorizontal,"carousel__slide",this.state.focused&&"carousel__slide--focused",_&&o,_&&"carousel__slide--visible",!_&&i,!_&&"carousel__slide--hidden",r]),x=T([vt.slideInner,"carousel__inner-slide",a]),k=this.isVisible()?0:-1,O="number"==typeof m?m:k;return Y.a.createElement(g,c({ref:function(t){e.tagRef=t},tabIndex:O,"aria-selected":this.isVisible(),"aria-label":n,role:"option",onFocus:this.handleOnFocus,onBlur:this.handleOnBlur,className:C,style:E},y),Y.a.createElement(s,{ref:function(t){e.innerTagRef=t},className:x,style:S},this.props.children,this.renderFocusRing()))}}]),t}(Y.a.PureComponent),l(st,"propTypes",{ariaLabel:K.string,carouselStore:K.object,children:J.children,className:K.string,classNameHidden:K.string,classNameVisible:K.string,currentSlide:K.number.isRequired,index:K.number.isRequired,innerClassName:K.string,innerTag:K.string,naturalSlideHeight:K.number.isRequired,naturalSlideWidth:K.number.isRequired,onBlur:K.func,onFocus:K.func,orientation:J.orientation.isRequired,slideSize:K.number.isRequired,style:K.object,tabIndex:K.number,tag:K.string,totalSlides:K.number.isRequired,visibleSlides:K.number.isRequired,isIntrinsicHeight:K.bool}),l(st,"defaultProps",{ariaLabel:"slide",carouselStore:null,children:null,className:null,classNameHidden:null,classNameVisible:null,innerClassName:null,innerTag:"div",onBlur:null,onFocus:null,style:{},tabIndex:null,tag:"div",isIntrinsicHeight:!1}),lt),St=Z(bt,function(e){return{currentSlide:e.currentSlide,naturalSlideHeight:e.naturalSlideHeight,naturalSlideWidth:e.naturalSlideWidth,orientation:e.orientation,slideSize:e.slideSize,totalSlides:e.totalSlides,visibleSlides:e.visibleSlides,isIntrinsicHeight:e.isIntrinsicHeight}}),Et=function(){function e(){o(this,e)}return s(e,[{key:"parents",value:function(e,t){return null===e.parentNode?t:this.parents(e.parentNode,t.concat([e]))}},{key:"scrollParent",value:function(t){for(var n=this.parents(t.parentNode,[]),r=0;r<n.length;r+=1)if(e.scroll(n[r]))return n[r];return document.scrollingElement||document.documentElement}},{key:"getScrollParent",value:function(t){return e.isNodeValid(t)?this.scrollParent(t):null}}],[{key:"style",value:function(e,t){return getComputedStyle(e,null).getPropertyValue(t)}},{key:"overflow",value:function(t){return e.style(t,"overflow")+e.style(t,"overflow-y")+e.style(t,"overflow-x")}},{key:"scroll",value:function(t){return/(auto|scroll)/.test(e.overflow(t))}},{key:"isNodeValid",value:function(e){return e instanceof HTMLElement||e instanceof SVGElement}}]),e}(),_t={horizontalSlider:"horizontalSlider___281Ls",horizontalSliderTray:"horizontalSliderTray___1L-0W",verticalSlider:"verticalSlider___34ZFD",verticalSliderTray:"verticalSliderTray___267D8",verticalTray:"verticalTray___12Key",verticalSlideTrayWrap:"verticalSlideTrayWrap___2nO7o",sliderTray:"sliderTray___-vHFQ",sliderAnimation:"sliderAnimation___300FY",masterSpinnerContainer:"masterSpinnerContainer___1Z6hB"},Ct=["ariaLabel","carouselStore","children","className","classNameAnimation","classNameTray","classNameTrayWrap","currentSlide","disableAnimation","disableKeyboard","dragEnabled","hasMasterSpinner","interval","isPageScrollLocked","isPlaying","lockOnWindowScroll","masterSpinnerFinished","moveThreshold","naturalSlideHeight","naturalSlideWidth","onMasterSpinner","orientation","playDirection","privateUnDisableAnimation","slideSize","slideTraySize","spinner","style","tabIndex","totalSlides","touchEnabled","trayProps","trayTag","visibleSlides","isIntrinsicHeight"],xt=["dragStep","step","infinite"],kt=["className","onClickCapture","onMouseDown","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","ref","style"],Ot=(ut=ct=function(e){function t(e){var r;return o(this,t),r=n.call(this,e),r.getSliderRef=r.getSliderRef.bind(g(r)),r.handleDocumentScroll=r.handleDocumentScroll.bind(g(r)),r.handleOnClickCapture=r.handleOnClickCapture.bind(g(r)),r.handleOnKeyDown=r.handleOnKeyDown.bind(g(r)),r.handleOnMouseDown=r.handleOnMouseDown.bind(g(r)),r.handleOnMouseMove=r.handleOnMouseMove.bind(g(r)),r.handleOnMouseUp=r.handleOnMouseUp.bind(g(r)),r.handleOnTouchCancel=r.handleOnTouchCancel.bind(g(r)),r.handleOnTouchEnd=r.handleOnTouchEnd.bind(g(r)),r.handleOnTouchMove=r.handleOnTouchMove.bind(g(r)),r.handleOnTouchStart=r.handleOnTouchStart.bind(g(r)),r.playBackward=r.playBackward.bind(g(r)),r.playForward=r.playForward.bind(g(r)),r.callCallback=r.callCallback.bind(g(r)),r.state={cancelNextClick:!1,deltaX:0,deltaY:0,isBeingMouseDragged:!1,isBeingTouchDragged:!1,startX:0,startY:0},r.interval=null,r.isDocumentScrolling=null,r.moveTimer=null,r.originalOverflow=null,r.scrollParent=null,r.scrollStopTimer=null,r}u(t,e);var n=v(t);return s(t,[{key:"componentDidMount",value:function(){this.props.lockOnWindowScroll&&window.addEventListener("scroll",this.handleDocumentScroll,!1),document.documentElement.addEventListener("mouseleave",this.handleOnMouseUp,!1),document.documentElement.addEventListener("mousemove",this.handleOnMouseMove,!1),document.documentElement.addEventListener("mouseup",this.handleOnMouseUp,!1),this.props.isPlaying&&this.play()}},{key:"componentDidUpdate",value:function(e){!e.isPlaying&&this.props.isPlaying&&this.play(),e.isPlaying&&!this.props.isPlaying&&this.stop(),!e.isPageScrollLocked&&this.props.isPageScrollLocked&&this.lockScroll(),e.isPageScrollLocked&&!this.props.isPageScrollLocked&&this.unlockScroll(),!1===e.privateUnDisableAnimation&&!0===this.props.privateUnDisableAnimation&&this.props.carouselStore.setStoreState({privateUnDisableAnimation:!1,disableAnimation:!1})}},{key:"componentWillUnmount",value:function(){document.documentElement.removeEventListener("mouseleave",this.handleOnMouseUp,!1),document.documentElement.removeEventListener("mousemove",this.handleOnMouseMove,!1),document.documentElement.removeEventListener("mouseup",this.handleOnMouseUp,!1),window.removeEventListener("scroll",this.handleDocumentScroll,!1),this.stop(),window.cancelAnimationFrame.call(window,this.moveTimer),window.clearTimeout(this.scrollStopTimer),this.isDocumentScrolling=null,this.moveTimer=null,this.scrollStopTimer=null}},{key:"getSliderRef",value:function(e){this.sliderTrayElement=e}},{key:"fakeOnDragStart",value:function(e){var t=e.screenX,n=e.screenY,r=e.touchDrag,i=void 0!==r&&r,o=e.mouseDrag,a=void 0!==o&&o;this.props.carouselStore.setStoreState({isPlaying:!1}),window.cancelAnimationFrame.call(window,this.moveTimer),"vertical"===this.props.orientation&&this.props.carouselStore.setStoreState({isPageScrollLocked:!0}),this.setState({isBeingTouchDragged:i,isBeingMouseDragged:a,startX:t,startY:n})}},{key:"fakeOnDragMove",value:function(e,t){var n=this;this.moveTimer=window.requestAnimationFrame.call(window,function(){n.setState(function(n){return{deltaX:e-n.startX,deltaY:t-n.startY}})})}},{key:"fakeOnDragEnd",value:function(){window.cancelAnimationFrame.call(window,this.moveTimer),this.computeCurrentSlide(),"vertical"===this.props.orientation&&this.props.carouselStore.setStoreState({isPageScrollLocked:!1}),this.setState({deltaX:0,deltaY:0,isBeingTouchDragged:!1,isBeingMouseDragged:!1}),this.isDocumentScrolling=!this.props.lockOnWindowScroll&&null}},{key:"callCallback",value:function(e,t){var n=this.props.trayProps;n&&"function"==typeof n[e]&&(t.persist(),n[e](t))}},{key:"handleOnMouseDown",value:function(e){if(!this.props.dragEnabled)return void this.callCallback("onMouseDown",e);e.preventDefault(),this.fakeOnDragStart({screenX:e.screenX,screenY:e.screenY,mouseDrag:!0}),this.callCallback("onMouseDown",e)}},{key:"handleOnMouseMove",value:function(e){this.state.isBeingMouseDragged&&(this.setState({cancelNextClick:!0}),e.preventDefault(),this.fakeOnDragMove(e.screenX,e.screenY))}},{key:"handleOnMouseUp",value:function(e){this.state.isBeingMouseDragged&&(e.preventDefault(),this.fakeOnDragEnd())}},{key:"handleOnClickCapture",value:function(e){if(!this.state.cancelNextClick)return void this.callCallback("onClickCapture",e);e.preventDefault(),this.setState({cancelNextClick:!1}),this.callCallback("onClickCapture",e)}},{key:"handleOnTouchStart",value:function(e){if(!this.props.touchEnabled)return void this.callCallback("onTouchStart",e);"vertical"===this.props.orientation&&e.preventDefault();var t=e.targetTouches[0];this.fakeOnDragStart({screenX:t.screenX,screenY:t.screenY,touchDrag:!0}),this.callCallback("onTouchStart",e)}},{key:"handleDocumentScroll",value:function(){var e=this;this.props.touchEnabled&&(this.isDocumentScrolling=!0,window.clearTimeout(this.scrollStopTimer),this.scrollStopTimer=window.setTimeout(function(){e.isDocumentScrolling=!1},66))}},{key:"handleOnTouchMove",value:function(e){if(!this.props.touchEnabled||this.props.lockOnWindowScroll&&this.isDocumentScrolling)return void this.callCallback("onTouchMove",e);window.cancelAnimationFrame.call(window,this.moveTimer);var t=e.targetTouches[0];t&&(this.fakeOnDragMove(t.screenX,t.screenY),this.callCallback("onTouchMove",e))}},{key:"forward",value:function(){var e=this.props,t=e.currentSlide,n=e.step,r=e.totalSlides,i=e.visibleSlides;return Math.min(t+n,r-i)}},{key:"backward",value:function(){var e=this.props,t=e.currentSlide,n=e.step;return Math.max(t-n,0)}},{key:"handleOnKeyDown",value:function(e){var t=e.keyCode,n=this.props,r=n.carouselStore,i=n.currentSlide,o=n.disableKeyboard,a=n.totalSlides,s=n.visibleSlides,l={};!0===o||a<=s||(37===t&&(e.preventDefault(),this.focus(),l.currentSlide=Math.max(0,i-1),l.isPlaying=!1),39===t&&(e.preventDefault(),this.focus(),l.currentSlide=Math.min(a-s,i+1),l.isPlaying=!1),r.setStoreState(l))}},{key:"playForward",value:function(){var e=this.props,t=e.carouselStore,n=e.currentSlide;t.setStoreState({currentSlide:this.forward()===n?0:this.forward()})}},{key:"playBackward",value:function(){var e=this.props,t=e.carouselStore,n=e.currentSlide,r=e.totalSlides,i=e.visibleSlides;t.setStoreState({currentSlide:this.backward()===n?r-i:this.backward()})}},{key:"play",value:function(){var e=this.props.playDirection;this.interval=setInterval("forward"===e?this.playForward:this.playBackward,this.props.interval)}},{key:"stop",value:function(){window.clearInterval(this.interval),this.interval=null}},{key:"lockScroll",value:function(){var e=new Et;this.scrollParent=e.getScrollParent(this.sliderTrayElement),this.scrollParent&&(this.originalOverflow=this.originalOverflow||this.scrollParent.style.overflow,this.scrollParent.style.overflow="hidden")}},{key:"unlockScroll",value:function(){this.scrollParent&&(this.scrollParent.style.overflow=this.originalOverflow,this.originalOverflow=null,this.scrollParent=null)}},{key:"computeCurrentSlide",value:function(){var e=t.slideSizeInPx(this.props.orientation,this.sliderTrayElement.clientWidth,this.sliderTrayElement.clientHeight,this.props.totalSlides),n=t.slidesMoved(this.props.moveThreshold,this.props.orientation,this.state.deltaX,this.state.deltaY,e,this.props.dragStep),r=this.props.totalSlides-Math.min(this.props.totalSlides,this.props.visibleSlides),i=Q({min:0,max:r,x:this.props.currentSlide+n});this.props.infinite&&(this.props.currentSlide>=r&&n>0&&(i=0),0===this.props.currentSlide&&n<0&&(i=r)),this.props.carouselStore.setStoreState({currentSlide:i})}},{key:"focus",value:function(){this.sliderElement.focus()}},{key:"handleOnTouchEnd",value:function(e){this.endTouchMove(),this.callCallback("onTouchEnd",e)}},{key:"handleOnTouchCancel",value:function(e){this.endTouchMove(),this.callCallback("onTouchCancel",e)}},{key:"endTouchMove",value:function(){this.props.touchEnabled&&this.fakeOnDragEnd()}},{key:"renderMasterSpinner",value:function(){var e=this.props,t=e.hasMasterSpinner,n=e.masterSpinnerFinished,r=e.spinner;return t&&!n?("function"==typeof this.props.onMasterSpinner&&this.props.onMasterSpinner(),Y.a.createElement("div",{className:T([_t.masterSpinnerContainer,"carousel__master-spinner-container"])},r&&r(),!r&&Y.a.createElement(mt,null))):null}},{key:"render",value:function(){var e=this,t=this.props,n=t.ariaLabel,r=(t.carouselStore,t.children),i=t.className,o=t.classNameAnimation,a=t.classNameTray,s=t.classNameTrayWrap,l=t.currentSlide,u=t.disableAnimation,d=(t.disableKeyboard,t.dragEnabled,t.hasMasterSpinner,t.interval,t.isPageScrollLocked,t.isPlaying,t.lockOnWindowScroll,t.masterSpinnerFinished,t.moveThreshold,t.naturalSlideHeight),p=t.naturalSlideWidth,h=(t.onMasterSpinner,t.orientation),m=(t.playDirection,t.privateUnDisableAnimation,t.slideSize),g=t.slideTraySize,w=(t.spinner,t.style),v=t.tabIndex,y=(t.totalSlides,t.touchEnabled,t.trayProps),b=t.trayTag,S=t.visibleSlides,E=t.isIntrinsicHeight,_=f(t,Ct),C=c({},w),x={};"vertical"===h&&(x.height=0,x.paddingBottom=j(100*d*S/p),x.width=j(100));var k={},O=j(m*l*-1);(this.state.isBeingTouchDragged||this.state.isBeingMouseDragged||u)&&(k.transition="none"),E&&(k.display="flex",k.alignItems="stretch"),"vertical"===h?(k.transform="translateY(".concat(O,") translateY(").concat(this.state.deltaY,"px)"),k.width=j(100),k.flexDirection="column"):(k.width=j(g),k.transform="translateX(".concat(O,") translateX(").concat(this.state.deltaX,"px)"),k.flexDirection="row");var N=T(["vertical"===h?_t.verticalSlider:_t.horizontalSlider,"carousel__slider","vertical"===h?"carousel__slider--vertical":"carousel__slider--horizontal",i]),M=T([_t.sliderTrayWrap,"carousel__slider-tray-wrapper","vertical"===h?_t.verticalSlideTrayWrap:_t.horizontalTrayWrap,"vertical"===h?"carousel__slider-tray-wrap--vertical":"carousel__slider-tray-wrap--horizontal",s]),P=T([_t.sliderTray,o||_t.sliderAnimation,"carousel__slider-tray","vertical"===h?_t.verticalTray:_t.horizontalTray,"vertical"===h?"carousel__slider-tray--vertical":"carousel__slider-tray--horizontal",a]),D=null!==v?v:0,F=(_.dragStep,_.step,_.infinite,f(_,xt)),A=(y.className,y.onClickCapture,y.onMouseDown,y.onTouchCancel,y.onTouchEnd,y.onTouchMove,y.onTouchStart,y.ref,y.style,f(y,kt));return Y.a.createElement("div",c({ref:function(t){e.sliderElement=t},className:N,"aria-live":"polite","aria-label":n,style:C,tabIndex:D,onKeyDown:this.handleOnKeyDown,role:"listbox"},F),Y.a.createElement("div",{className:M,style:x},Y.a.createElement(b,c({ref:this.getSliderRef,className:P,style:k,onTouchStart:this.handleOnTouchStart,onTouchMove:this.handleOnTouchMove,onTouchEnd:this.handleOnTouchEnd,onTouchCancel:this.handleOnTouchCancel,onMouseDown:this.handleOnMouseDown,onClickCapture:this.handleOnClickCapture},A),r),this.renderMasterSpinner()))}}],[{key:"slideSizeInPx",value:function(e,t,n,r){return("horizontal"===e?t:n)/r}},{key:"slidesMoved",value:function(e,t,n,r,i,o){var a="horizontal"===t?n:r,s=Math.abs(Math.round(a/i)),l=Math.abs(a)>=i*e?o:0,c=Math.max(l,s);if(a<0)return c;var u=-c;return 0===u?0:u}}]),t}(Y.a.Component),l(ct,"propTypes",{ariaLabel:K.string,carouselStore:K.object.isRequired,children:K.node.isRequired,className:K.string,classNameAnimation:K.string,classNameTray:K.string,classNameTrayWrap:K.string,currentSlide:K.number.isRequired,disableAnimation:K.bool,disableKeyboard:K.bool,dragEnabled:K.bool.isRequired,dragStep:K.number,hasMasterSpinner:K.bool.isRequired,infinite:K.bool,interval:K.number.isRequired,isPageScrollLocked:K.bool.isRequired,isPlaying:K.bool.isRequired,lockOnWindowScroll:K.bool.isRequired,masterSpinnerFinished:K.bool.isRequired,moveThreshold:K.number,naturalSlideHeight:K.number.isRequired,naturalSlideWidth:K.number.isRequired,onMasterSpinner:K.func,orientation:J.orientation.isRequired,playDirection:J.direction.isRequired,privateUnDisableAnimation:K.bool,slideSize:K.number.isRequired,slideTraySize:K.number.isRequired,spinner:K.func,step:K.number.isRequired,style:K.object,tabIndex:K.number,totalSlides:K.number.isRequired,touchEnabled:K.bool.isRequired,trayProps:K.shape({className:K.string,onClickCapture:K.func,onMouseDown:K.func,onTouchCancel:K.func,onTouchEnd:K.func,onTouchMove:K.func,onTouchStart:K.func,ref:K.shape({}),style:K.string}),trayTag:K.string,visibleSlides:K.number,isIntrinsicHeight:K.bool}),l(ct,"defaultProps",{ariaLabel:"slider",className:null,classNameAnimation:null,classNameTray:null,classNameTrayWrap:null,disableAnimation:!1,disableKeyboard:!1,dragStep:1,infinite:!1,moveThreshold:.1,onMasterSpinner:null,privateUnDisableAnimation:!1,spinner:null,style:{},tabIndex:null,trayProps:{},trayTag:"div",visibleSlides:1,isIntrinsicHeight:!1}),ut),Tt=Z(Ot,function(e){return{currentSlide:e.currentSlide,disableAnimation:e.disableAnimation,privateUnDisableAnimation:e.privateUnDisableAnimation,disableKeyboard:e.disableKeyboard,dragEnabled:e.dragEnabled,hasMasterSpinner:e.hasMasterSpinner,infinite:e.infinite,interval:e.interval,isPageScrollLocked:e.isPageScrollLocked,isPlaying:e.isPlaying,lockOnWindowScroll:e.lockOnWindowScroll,masterSpinnerFinished:e.masterSpinnerFinished,naturalSlideHeight:e.naturalSlideHeight,naturalSlideWidth:e.naturalSlideWidth,orientation:e.orientation,playDirection:e.playDirection,slideSize:e.slideSize,slideTraySize:e.slideTraySize,step:e.step,dragStep:e.dragStep,totalSlides:e.totalSlides,touchEnabled:e.touchEnabled,visibleSlides:e.visibleSlides,isIntrinsicHeight:e.isIntrinsicHeight}})},function(e,t,n){"use strict";var r=n(82),i=n.n(r),o=n(83),a=n.n(o),s=n(30),l=n.n(s),c=n(207),u=n(84),d=n(208),p=wp.i18n.__,h=wp.blocks.registerBlockType,m=wp,f=m.apiFetch,g=wp.data,w=g.registerStore,v=g.withSelect,y=wp.blockEditor.InspectorControls,b=wp.components,S=b.PanelBody,E=b.PanelRow,_=b.TextControl,C=b.ColorPalette,x=b.RadioControl,k=b.ToggleControl,O=b.SelectControl,T=b.RangeControl,N=window.monsterinsights_gutenberg_tool_vars,M={setThemes:function(e){return{type:"SET_THEMES",themes:e}},receiveThemes:function(e){return{type:"RECEIVE_THEMES",path:e}}};w("monsterinsights/v1/popular-posts/widget",{reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{themes:{}},t=arguments[1];switch(t.type){case"SET_THEMES":return l()({},e,{themes:t.themes})}return e},actions:M,selectors:{receiveThemes:function(e){return e.themes}},controls:{RECEIVE_THEMES:function(e){return f({path:e.path})}},resolvers:{receiveThemes:a.a.mark(function e(t){var n,r;return a.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,M.receiveThemes("/monsterinsights/v1/popular-posts/themes/widget");case 2:if(n=e.sent,void 0===n.themes){e.next=6;break}for(r in n.themes)n.themes.hasOwnProperty(r)&&(n.themes[r].value=r);return e.abrupt("return",M.setThemes(n));case 6:case"end":return e.stop()}},e,this)})}}),h("monsterinsights/popular-posts-widget",{title:p("Popular Posts","google-analytics-for-wordpress"),description:p("Add popular posts from MonsterInsights","google-analytics-for-wordpress"),category:"widgets",icon:c.a.widgetpop,keywords:[p("Popular","google-analytics-for-wordpress"),p("Posts","google-analytics-for-wordpress"),p("Widget","google-analytics-for-wordpress"),"MonsterInsights"],example:{},attributes:{theme:{type:"string"},title_size:{type:"number"},title_color:{type:"string"},label_color:{type:"string"},label_text:{type:"string"},label_background:{type:"string"},background_color:{type:"string"},background_border:{type:"string"},meta_color:{type:"string"},meta_size:{type:"string"},meta_author:{type:"boolean"},meta_date:{type:"boolean"},meta_comments:{type:"boolean"},comments_color:{type:"string"},columns:{type:"number",default:1},widget_title:{type:"boolean"},widget_title_text:{type:"string"},post_count:{type:"number",default:5},categories:{type:"array",default:[]}},edit:v(function(e){return{themes:e("monsterinsights/v1/popular-posts/widget").receiveThemes()}})(function(e){var t=e.attributes,n=t.theme,r=(t.title_size,t.title_color,t.label_color,t.label_text,t.label_background,t.background_color,t.background_border,t.meta_color,t.meta_size,t.meta_author,t.meta_comments,t.meta_date,t.comments_color,t.columns),o=t.widget_title,a=t.widget_title_text,s=t.post_count,l=t.categories,h=e.themes,m=e.setAttributes,f=[{name:"pink",color:"#F58EA8"},{name:"red",color:"#CD3034"},{name:"orange",color:"#FD6A21"},{name:"yellow",color:"#FBB82B"},{name:"green",color:"#7FDBB6"},{name:"green",color:"#21CF86"},{name:"blue",color:"#91D2FA"},{name:"blue",color:"#1B95E0"},{name:"purple",color:"#9A57DD"},{name:"gray",color:"#EEEEEE"},{name:"gray",color:"#ACB8C3"},{name:"black",color:"#000000"}],g=void 0!==h.themes?h.themes:{},w=void 0===e.attributes.theme?h.selected:n,v=void 0!==w&&void 0!==g[w]?g[w]:{},b=void 0!==v.styles?v.styles:{},M={};for(var j in b)if(b.hasOwnProperty(j))for(var P in b[j])if(b[j].hasOwnProperty(P)){var D=j+"_"+P;void 0===e.attributes[D]?M[D]=b[j][P]:M[D]=e.attributes[D],"on"===M[D]&&(M[D]=!0),"off"===M[D]&&(M[D]=!1)}var F=function(e,t){var n=[1,2,3,4,5,6,7,8,9,10];return 2===e&&(n=[2,4,6,8,10]),3===e&&(n=[3,6,9]),t&&(n=n.map(function(e){return{value:e,label:e}})),n},A=function(){if(void 0!==b.meta.author)return wp.element.createElement(k,{label:p("Display Author","google-analytics-for-wordpress"),checked:M.meta_author,onChange:function(e){m(i()({},"meta_author",e))}})},L=function(){if(void 0!==b.meta.date)return wp.element.createElement(k,{label:p("Display Date","google-analytics-for-wordpress"),checked:M.meta_date,onChange:function(e){m(i()({},"meta_date",e))}})},B=function(){if(void 0!==b.meta.comments)return wp.element.createElement(k,{label:p("Display Comments","google-analytics-for-wordpress"),checked:M.meta_comments,onChange:function(e){m(i()({},"meta_comments",e))}})},z=function(){return wp.element.createElement("span",{className:"monsterinsights-wide-column monsterinsights-wide-column-one"},wp.element.createElement("span",null),wp.element.createElement("span",null))},R=function(){return wp.element.createElement("span",{className:"monsterinsights-wide-column monsterinsights-wide-column-two"},wp.element.createElement("span",null),wp.element.createElement("span",null),wp.element.createElement("span",null),wp.element.createElement("span",null))},H=function(){return wp.element.createElement("span",{className:"monsterinsights-wide-column monsterinsights-wide-column-three"},wp.element.createElement("span",null),wp.element.createElement("span",null),wp.element.createElement("span",null),wp.element.createElement("span",null),wp.element.createElement("span",null),wp.element.createElement("span",null))},I=function(e,t){var n=M[t];return wp.element.createElement(T,{key:"monsterinsights-popular-posts-input"+t,label:e,value:parseInt(n),min:1,max:100,onChange:function(e){return m(i()({},t,""===e?"":parseInt(e)))}})},q=function(e,t){var n=M[t];return wp.element.createElement(_,{key:"monsterinsights-popular-posts-input"+t,label:e,type:"text",value:n,onChange:function(e){return m(i()({},t,e))}})},V=function(e,t){var n=M[t];return[wp.element.createElement("label",{key:"monsterinsights-popular-posts-label"+t},e),wp.element.createElement(C,{key:"monsterinsights-popular-posts-input"+t,value:n,colors:f,onChange:function(e){m(i()({},t,e))}})]},W=function(e,t){if(e.length>0&&void 0!==e[t]){var n=e[t];return wp.element.createElement("div",{className:"monsterinsights-widget-popular-posts-image"},wp.element.createElement("img",{src:N.vue_assets_path+"img/"+n}))}},Z=function(){if(void 0!==b.label)return wp.element.createElement("span",{style:{color:M.label_color,backgroundColor:M.label_background},className:"monsterinsights-widget-popular-posts-label"},M.label_text)},U=function(){if(void 0!==b.meta)return[wp.element.createElement("div",{className:"monsterinsights-widget-popular-posts-meta",key:"monsterinsights-widget-popular-posts-meta-options",style:{color:M.meta_color,fontSize:M.meta_size+"px"}},Y(),X(),K()),wp.element.createElement("span",{key:"monsterinsights-widget-popular-posts-comments-options"},G())]},Y=function(){if(M.meta_author)return wp.element.createElement("span",{className:"monsterinsights-widget-popular-posts-author"},"by Aazim Akhtar")},X=function(){if(M.meta_author&&M.meta_date)return wp.element.createElement("span",{dangerouslySetInnerHTML:{__html:b.meta.separator}})},G=function(){if(void 0!==b.meta&&void 0!==b.meta.comments&&M.meta_comments){var e=void 0!==b.comments?M.comments_color:M.meta_color;return wp.element.createElement("span",{className:"monsterinsights-widget-popular-posts-comments",style:{color:e,fontSize:M.meta_size+"px"}},c.a.comments(e)," 24")}},K=function(){if(M.meta_date)return wp.element.createElement("span",{className:"monsterinsights-widget-popular-posts-date"},"Yesterday")},$=function(e){for(;e.length<=10;)e=e.concat(e);return e};return[wp.element.createElement(y,{key:"monsterinsights-popular-posts-widget-inspector-controls"},wp.element.createElement(S,{title:p("Theme","google-analytics-for-wordpress"),key:"monsterinsights-popular-posts-widget-theme"},wp.element.createElement(E,{key:"monsterinsights-popular-posts-widget-theme-row"},wp.element.createElement(u.a,{id:"monsterinsights-popular-posts-widget-theme",options:g,selected:w,icons:c.a,onChange:function(e){m({theme:e})}}))),function(){if(void 0!==b.title){var e=[];return void 0!==b.title.size&&e.push(I(p("Title Font Size","google-analytics-for-wordpress"),"title_size")),void 0!==b.title.color&&e.push(V(p("Title Color","google-analytics-for-wordpress"),"title_color")),wp.element.createElement(S,{title:p("Title Settings","google-analytics-for-wordpress"),key:"monsterinsights-popular-posts-widget-title"},e)}}(),function(){if(void 0!==b.background&&void 0!==b.background.color){var e=[];return void 0!==b.background.color&&e.push(V(p("Background Color","google-analytics-for-wordpress"),"background_color")),wp.element.createElement(S,{title:p("Background Settings","google-analytics-for-wordpress"),key:"monsterinsights-popular-posts-widget-background"}," ",e," ")}}(),function(){if(void 0!==b.label){var e=[];return void 0!==b.label.text&&e.push(q(p("Label Text","google-analytics-for-wordpress"),"label_text")),void 0!==b.label.color&&e.push(V(p("Label Color","google-analytics-for-wordpress"),"label_color")),void 0!==b.label.background&&e.push(V(p("Label Background","google-analytics-for-wordpress"),"label_background")),wp.element.createElement(S,{title:p("Label Settings","google-analytics-for-wordpress"),key:"monsterinsights-popular-posts-widget-label"}," ",e," ")}}(),function(){var e=[];if(void 0!==b.border&&void 0!==b.border.color&&e.push(V(p("Border Color","google-analytics-for-wordpress"),"borderColor")),void 0!==b.border&&void 0!==b.border.color2&&e.push(V(p("Bottom Border Color","google-analytics-for-wordpress"),"borderColor2")),void 0!==b.background&&void 0!==b.background.border&&e.push(V(p("Border Color","google-analytics-for-wordpress"),"background_border")),0!==e.length)return wp.element.createElement(S,{title:p("Border Settings","google-analytics-for-wordpress"),key:"monsterinsights-popular-posts-inline-border"}," ",e," ")}(),function(){if(void 0!==b.meta){var e=[];return void 0!==b.meta.size&&e.push(I(p("Meta Font Size","google-analytics-for-wordpress"),"meta_size")),void 0!==b.meta.color&&e.push(V(p("Meta Color","google-analytics-for-wordpress"),"meta_color")),wp.element.createElement(S,{title:p("Meta Settings","google-analytics-for-wordpress"),key:"monsterinsights-popular-posts-widget-meta-styles"},e)}}(),function(){if(void 0!==b.comments)return wp.element.createElement(S,{title:p("Comment Settings","google-analytics-for-wordpress"),key:"monsterinsights-popular-posts-widget-comment-styles"},V(p("Comment Color","google-analytics-for-wordpress"),"comments_color"))}(),function(){return wp.element.createElement(S,{title:p("Wide-Layout Options","google-analytics-for-wordpress"),key:"monsterinsights-popular-posts-widget-columns"},wp.element.createElement(x,{label:p("Choose Layout","google-analytics-for-wordpress"),help:p("Adjust the number of columns displayed when the widget is placed in a wide container.","google-analytics-for-wordpress"),className:"monsterinsights-wide-column-options",key:"monsterinsights-popular-posts-widget-columns-control",options:[{value:1,label:z()},{value:2,label:R()},{value:3,label:H()}],selected:r,onChange:function(e){m(i()({},"columns",""===e?"":parseInt(e)));var t=F(parseInt(e));-1===t.indexOf(s)&&m(i()({},"post_count",parseInt(t[0])))}}),wp.element.createElement(O,{label:p("Post Count","google-analytics-for-wordpress"),help:p("Number of posts displayed.","google-analytics-for-wordpress"),options:F(r,!0),value:s,key:"monsterinsights-popular-posts-widget-post-count",onChange:function(e){m(i()({},"post_count",parseInt(e)))}}))}(),function(){if(void 0!==b.meta)return wp.element.createElement(S,{title:p("Display Options","google-analytics-for-wordpress"),key:"monsterinsights-popular-posts-widget-meta-options"},A(),L(),B())}(),function(){return wp.element.createElement(S,{title:p("Behavior Settings","google-analytics-for-wordpress"),key:"monsterinsights-popular-posts-widget-behavior-options"},wp.element.createElement(k,{label:p("Display Widget Title","google-analytics-for-wordpress"),checked:o,onChange:function(e){m(i()({},"widget_title",e))}}),wp.element.createElement(_,{key:"monsterinsights-popular-posts-input-widget-title-text",label:p("Widget Title","google-analytics-for-wordpress"),type:"text",value:a,onChange:function(e){return m(i()({},"widget_title_text",e))}}),wp.element.createElement(d.a,{label:p("Only Show Posts From These Categories","google-analytics-for-wordpress"),slug:"category",onUpdateTerms:function(e){m(i()({},"categories",e))},terms:l}))}()),wp.element.createElement("div",{key:"monsterinsights-popular-posts-widget-preview"},wp.element.createElement("div",{className:"monsterinsights-widget-popular-posts-widget monsterinsights-widget-popular-posts-"+w+" monsterinsights-widget-popular-posts-columns-"+r},function(){if(o)return wp.element.createElement("h2",{className:"monsterinsights-widget-popular-posts-widget-title"},a)}(),wp.element.createElement("div",{className:"monsterinsights-widget-popular-posts-text"},function(){if(void 0!==v.list&&void 0!==v.list.items){var e=$(v.list.items),t=void 0!==v.list.images?$(v.list.images):[],n=[];for(var r in e){if(parseInt(r)===parseInt(s))break;n.push(wp.element.createElement("li",{key:"monsterinsights-popular-posts-preview-list-item-"+r,style:{backgroundColor:M.background_color,borderColor:M.background_border}},W(t,r),wp.element.createElement("div",{className:"monsterinsights-widget-popular-posts-text"},Z(),wp.element.createElement("a",{className:"monsterinsights-widget-popular-posts-title",style:{color:M.title_color,fontSize:M.title_size+"px"}},e[r]),U())))}return wp.element.createElement("ul",{className:"monsterinsights-widget-popular-posts-list"},n)}}())))]}),save:function(e){return null}})},function(e,t,n){"use strict";var r={};r.widgetpop=wp.element.createElement("svg",{width:"16",height:"20",viewBox:"0 0 16 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 0C0.895431 0 0 0.895431 0 2V10C0 11.1046 0.895431 12 2 12H14C15.1046 12 16 11.1046 16 10V2C16 0.895431 15.1046 0 14 0H2ZM8.94046 4.70557L8 2L7.05954 4.70557L4.19577 4.76393L6.47831 6.49443L5.64886 9.23607L8 7.6L10.3511 9.23607L9.52169 6.49443L11.8042 4.76393L8.94046 4.70557ZM0 14H14V16H0V14ZM10 18H0V20H10V18Z",fill:"#555D66"})),r.alpha=wp.element.createElement("svg",{width:"74",height:"46",viewBox:"0 0 74 46",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{width:"74",height:"46",rx:"5",fill:"#E7F2FD"}),wp.element.createElement("rect",{x:"7.40002",y:"12",width:"59.2",height:"9",rx:"2",fill:"#338EEF"}),wp.element.createElement("rect",{x:"7.40002",y:"25",width:"51.8",height:"9",rx:"2",fill:"#338EEF"})),r.beta=wp.element.createElement("svg",{width:"74",height:"46",viewBox:"0 0 74 46",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M0 15C0 13.3431 1.34315 12 3 12H4V34H3C1.34315 34 0 32.6569 0 31V15Z",fill:"#1170D5"}),wp.element.createElement("rect",{x:"12",y:"12",width:"54",height:"9",rx:"2",fill:"#4296F0"}),wp.element.createElement("rect",{x:"12",y:"25",width:"44",height:"9",rx:"2",fill:"#4296F0"})),r.charlie=wp.element.createElement("svg",{width:"74",height:"46",viewBox:"0 0 74 46",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{width:"74",height:"46",rx:"3",fill:"#E7F2FD"}),wp.element.createElement("rect",{width:"74",height:"4",fill:"#1170D5"}),wp.element.createElement("rect",{x:"8",y:"14",width:"58",height:"9",rx:"2",fill:"#4296F0"}),wp.element.createElement("rect",{x:"8",y:"27",width:"40",height:"9",rx:"2",fill:"#4296F0"})),r.delta=wp.element.createElement("svg",{width:"74",height:"39",viewBox:"0 0 74 39",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{x:"31",y:"12",width:"43",height:"7",rx:"2",fill:"#4296F0"}),wp.element.createElement("rect",{x:"31",y:"23",width:"32",height:"7",rx:"2",fill:"#4296F0"}),wp.element.createElement("rect",{x:"31",y:"34",width:"43",height:"5",rx:"2",fill:"#A0CBF8"}),wp.element.createElement("rect",{y:"12",width:"27",height:"27",rx:"2",fill:"#338EEF"}),wp.element.createElement("rect",{width:"74",height:"4",fill:"#1170D5"})),r.echo=wp.element.createElement("svg",{width:"74",height:"76",viewBox:"0 0 74 76",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{width:"74",height:"76",rx:"5",fill:"#E7F2FD"}),wp.element.createElement("rect",{x:"8",y:"41",width:"58",height:"7",rx:"2",fill:"#338EEF"}),wp.element.createElement("rect",{x:"8",y:"61",width:"7",height:"7",rx:"3.5",fill:"#A0CBF8"}),wp.element.createElement("rect",{x:"8",y:"8",width:"58",height:"29",rx:"2",fill:"#338EEF"}),wp.element.createElement("rect",{x:"8",y:"52",width:"34",height:"5",rx:"2",fill:"#A0CBF8"}),wp.element.createElement("rect",{x:"46",y:"52",width:"20",height:"5",rx:"2",fill:"#A0CBF8"})),r.foxtrot=wp.element.createElement("svg",{width:"74",height:"43",viewBox:"0 0 74 43",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{width:"74",height:"43",rx:"5",fill:"#E7F2FD"}),wp.element.createElement("rect",{x:"8",y:"8",width:"58",height:"7",rx:"2",fill:"#338EEF"}),wp.element.createElement("rect",{x:"8",y:"28",width:"7",height:"7",rx:"3.5",fill:"#A0CBF8"}),wp.element.createElement("rect",{x:"8",y:"19",width:"34",height:"5",rx:"2",fill:"#A0CBF8"}),wp.element.createElement("rect",{x:"46",y:"19",width:"20",height:"5",rx:"2",fill:"#A0CBF8"})),r.golf=wp.element.createElement("svg",{width:"74",height:"56",viewBox:"0 0 74 56",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{width:"74",height:"56",rx:"5",fill:"#E7F2FD"}),wp.element.createElement("rect",{x:"8",y:"21",width:"58",height:"7",rx:"2",fill:"#338EEF"}),wp.element.createElement("rect",{x:"8",y:"41",width:"7",height:"7",rx:"3.5",fill:"#A0CBF8"}),wp.element.createElement("rect",{x:"8",y:"8",width:"16",height:"9",rx:"2",fill:"#1170D5"}),wp.element.createElement("rect",{x:"8",y:"32",width:"34",height:"5",rx:"2",fill:"#A0CBF8"}),wp.element.createElement("rect",{x:"46",y:"32",width:"20",height:"5",rx:"2",fill:"#A0CBF8"})),r.hotel=wp.element.createElement("svg",{width:"74",height:"50",viewBox:"0 0 74 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{width:"74",height:"50",rx:"5",fill:"#338EEF"}),wp.element.createElement("path",{d:"M54.0625 42H19.9375C18.8438 42 17.9141 41.6111 17.1484 40.8333C16.3828 40.0556 16 39.1111 16 38V14C16 12.8889 16.3828 11.9444 17.1484 11.1667C17.9141 10.3889 18.8438 10 19.9375 10H54.0625C55.1562 10 56.0859 10.3889 56.8516 11.1667C57.6172 11.9444 58 12.8889 58 14V38C58 39.1111 57.6172 40.0556 56.8516 40.8333C56.0859 41.6111 55.1562 42 54.0625 42ZM28.3867 16.0833C27.5117 15.1389 26.4453 14.6667 25.1875 14.6667C23.9297 14.6667 22.8359 15.1389 21.9062 16.0833C21.0312 16.9722 20.5938 18.0556 20.5938 19.3333C20.5938 20.6111 21.0312 21.7222 21.9062 22.6667C22.8359 23.5556 23.9297 24 25.1875 24C26.4453 24 27.5117 23.5556 28.3867 22.6667C29.3164 21.7222 29.7812 20.6111 29.7812 19.3333C29.7812 18.0556 29.3164 16.9722 28.3867 16.0833ZM21.25 36.6667H52.75V27.3333L45.5312 20C45.0938 19.5556 44.6562 19.5556 44.2188 20L33.0625 31.3333L28.4688 26.6667C28.0312 26.2222 27.5938 26.2222 27.1562 26.6667L21.25 32.6667V36.6667Z",fill:"#59A3F2"}),wp.element.createElement("rect",{x:"8",y:"26",width:"58",height:"7",rx:"2",fill:"#F1F7FE"}),wp.element.createElement("rect",{x:"8",y:"37",width:"34",height:"5",rx:"2",fill:"#A0CBF8"}),wp.element.createElement("rect",{x:"46",y:"37",width:"20",height:"5",rx:"2",fill:"#A0CBF8"})),r.comments=function(e){return wp.element.createElement("svg",{width:"13",height:"12",viewBox:"0 0 13 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{fill:e}},wp.element.createElement("path",{d:"M7.8251 1.25893C8.70332 2.09821 9.14243 3.10714 9.14243 4.28571C9.14243 5.46429 8.70332 6.47321 7.8251 7.3125C6.94689 8.15179 5.8887 8.57143 4.65056 8.57143C3.78674 8.57143 2.98771 8.34821 2.25346 7.90179C1.63439 8.34821 0.993719 8.57143 0.331456 8.57143C0.302662 8.57143 0.273868 8.5625 0.245074 8.54464C0.216279 8.50893 0.194684 8.47321 0.180287 8.4375C0.151493 8.34821 0.158691 8.26786 0.201882 8.19643C0.50422 7.83929 0.763366 7.35714 0.979321 6.75C0.432235 6.01786 0.158691 5.19643 0.158691 4.28571C0.158691 3.10714 0.5978 2.09821 1.47602 1.25893C2.35424 0.419643 3.41242 0 4.65056 0C5.8887 0 6.94689 0.419643 7.8251 1.25893ZM11.7771 10.1786C11.993 10.7857 12.2522 11.2679 12.5545 11.625C12.5977 11.6964 12.6049 11.7768 12.5761 11.8661C12.5473 11.9554 12.4969 12 12.425 12C11.7627 12 11.122 11.7768 10.5029 11.3304C9.7687 11.7768 8.96967 12 8.10585 12C7.18444 12 6.34941 11.7589 5.60076 11.2768C4.85212 10.7946 4.30503 10.1607 3.9595 9.375C4.21865 9.41071 4.449 9.42857 4.65056 9.42857C6.07587 9.42857 7.29241 8.92857 8.30021 7.92857C9.32239 6.91071 9.83349 5.69643 9.83349 4.28571C9.83349 4.08929 9.82629 3.91071 9.81189 3.75C10.6325 4.07143 11.302 4.59821 11.8203 5.33036C12.3386 6.04464 12.5977 6.83929 12.5977 7.71429C12.5977 8.625 12.3242 9.44643 11.7771 10.1786Z"}))},t.a=r},function(e,t,n){"use strict";var r=n(20),i=n.n(r),o=n(21),a=n.n(o),s=n(22),l=n.n(s),c=n(23),u=n.n(c),d=n(24),p=n.n(d),h=n(26),m=(n.n(h),n(209),n(25)),f=wp.components.CheckboxControl,g=function(e){function t(){a()(this,t);var e=u()(this,(t.__proto__||i()(t)).call(this));return e.state={},e}return p()(t,e),l()(t,[{key:"renderTerms",value:function(e){return e.map(function(e){return wp.element.createElement("div",{key:e.id,className:"editor-post-taxonomies__hierarchical-terms-choice"},wp.element.createElement(f,{checked:!0,label:Object(h.unescape)(e.name)}))})}},{key:"render",value:function(){return[wp.element.createElement("label",{key:"monsterinsights-hierarchical-term-list-label",className:"components-base-control__label"},this.props.label,wp.element.createElement("span",{className:"monsterinsights-popular-posts-pro-pill"},"PRO")),wp.element.createElement("div",{className:"editor-post-taxonomies__hierarchical-terms-list monsterinsights-hierarchical-terms monsterinsights-hierarchical-terms-disabled",key:"monsterinsights-hierarchical-term-list",tabIndex:"0",role:"group"},this.renderTerms([{name:"News",id:1},{name:"Technology",id:2}]))]}}]),t}(m.a);t.a=g},function(e,t,n){"use strict";n(210),n(85),n(218)},function(e,t,n){"use strict";var r=n(211),i=n.n(r),o=n(212);n.n(o),i()(console.error)},function(e,t,n){function r(e,t){function n(){var n,a,s=r,l=arguments.length;e:for(;s;){if(s.args.length===arguments.length){for(a=0;a<l;a++)if(s.args[a]!==arguments[a]){s=s.next;continue e}return s!==r&&(s===i&&(i=s.prev),s.prev.next=s.next,s.next&&(s.next.prev=s.prev),s.next=r,s.prev=null,r.prev=s,r=s),s.val}s=s.next}for(n=new Array(l),a=0;a<l;a++)n[a]=arguments[a];return s={args:n,val:e.apply(null,n)},r?(r.prev=s,s.next=r):i=s,o===t.maxSize?(i=i.prev,i.next=null):o++,r=s,s.val}var r,i,o=0;return t=t||{},n.clear=function(){r=null,i=null,o=0},n}e.exports=r},function(e,t,n){var r;!function(){"use strict";function i(e){return a(s(e),arguments)}function o(e,t){return i.apply(null,[e].concat(t||[]))}function a(e,t){var n,r,o,a,s,c,u,d,p,h=1,m=e.length,f="";for(r=0;r<m;r++)if("string"==typeof e[r])f+=e[r];else if("object"==typeof e[r]){if(a=e[r],a.keys)for(n=t[h],o=0;o<a.keys.length;o++){if(void 0==n)throw new Error(i('[sprintf] Cannot access property "%s" of undefined value "%s"',a.keys[o],a.keys[o-1]));n=n[a.keys[o]]}else n=a.param_no?t[a.param_no]:t[h++];if(l.not_type.test(a.type)&&l.not_primitive.test(a.type)&&n instanceof Function&&(n=n()),l.numeric_arg.test(a.type)&&"number"!=typeof n&&isNaN(n))throw new TypeError(i("[sprintf] expecting number but found %T",n));switch(l.number.test(a.type)&&(d=n>=0),a.type){case"b":n=parseInt(n,10).toString(2);break;case"c":n=String.fromCharCode(parseInt(n,10));break;case"d":case"i":n=parseInt(n,10);break;case"j":n=JSON.stringify(n,null,a.width?parseInt(a.width):0);break;case"e":n=a.precision?parseFloat(n).toExponential(a.precision):parseFloat(n).toExponential();break;case"f":n=a.precision?parseFloat(n).toFixed(a.precision):parseFloat(n);break;case"g":n=a.precision?String(Number(n.toPrecision(a.precision))):parseFloat(n);break;case"o":n=(parseInt(n,10)>>>0).toString(8);break;case"s":n=String(n),n=a.precision?n.substring(0,a.precision):n;break;case"t":n=String(!!n),n=a.precision?n.substring(0,a.precision):n;break;case"T":n=Object.prototype.toString.call(n).slice(8,-1).toLowerCase(),n=a.precision?n.substring(0,a.precision):n;break;case"u":n=parseInt(n,10)>>>0;break;case"v":n=n.valueOf(),n=a.precision?n.substring(0,a.precision):n;break;case"x":n=(parseInt(n,10)>>>0).toString(16);break;case"X":n=(parseInt(n,10)>>>0).toString(16).toUpperCase()}l.json.test(a.type)?f+=n:(!l.number.test(a.type)||d&&!a.sign?p="":(p=d?"+":"-",n=n.toString().replace(l.sign,"")),c=a.pad_char?"0"===a.pad_char?"0":a.pad_char.charAt(1):" ",u=a.width-(p+n).length,s=a.width&&u>0?c.repeat(u):"",f+=a.align?p+n+s:"0"===c?p+s+n:s+p+n)}return f}function s(e){if(c[e])return c[e];for(var t,n=e,r=[],i=0;n;){if(null!==(t=l.text.exec(n)))r.push(t[0]);else if(null!==(t=l.modulo.exec(n)))r.push("%");else{if(null===(t=l.placeholder.exec(n)))throw new SyntaxError("[sprintf] unexpected placeholder");if(t[2]){i|=1;var o=[],a=t[2],s=[];if(null===(s=l.key.exec(a)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(o.push(s[1]);""!==(a=a.substring(s[0].length));)if(null!==(s=l.key_access.exec(a)))o.push(s[1]);else{if(null===(s=l.index_access.exec(a)))throw new SyntaxError("[sprintf] failed to parse named argument key");o.push(s[1])}t[2]=o}else i|=2;if(3===i)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");r.push({placeholder:t[0],param_no:t[1],keys:t[2],sign:t[3],pad_char:t[4],align:t[5],width:t[6],precision:t[7],type:t[8]})}n=n.substring(t[0].length)}return c[e]=r}var l={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/},c=Object.create(null);t.sprintf=i,t.vsprintf=o,"undefined"!=typeof window&&(window.sprintf=i,window.vsprintf=o,void 0!==(r=function(){return{sprintf:i,vsprintf:o}}.call(t,n,t,e))&&(e.exports=r))}()},function(e,t,n){"use strict";function r(e){var t,n,r;for(t=e.split(";"),n=0;n<t.length;n++)if(r=t[n].trim(),0===r.indexOf("plural="))return r.substr(7)}function i(e,t){var n;this.data=e,this.pluralForms={},this.options={};for(n in a)this.options[n]=void 0!==t&&n in t?t[n]:a[n]}t.a=i;var o=n(214),a={contextDelimiter:"",onMissingKey:null};i.prototype.getPluralForm=function(e,t){var n,i,a,s=this.pluralForms[e];return s||(n=this.data[e][""],a=n["Plural-Forms"]||n["plural-forms"]||n.plural_forms,"function"!=typeof a&&(i=r(n["Plural-Forms"]||n["plural-forms"]||n.plural_forms),a=Object(o.a)(i)),s=this.pluralForms[e]=a),s(t)},i.prototype.dcnpgettext=function(e,t,n,r,i){var o,a,s;return o=void 0===i?0:this.getPluralForm(e,i),a=n,t&&(a=t+this.options.contextDelimiter+n),(s=this.data[e][a])&&s[o]?s[o]:(this.options.onMissingKey&&this.options.onMissingKey(n,e),0===o?n:r)}},function(e,t,n){"use strict";function r(e){var t=Object(i.a)(e);return function(e){return+t({n:e})}}t.a=r;var i=n(215)},function(e,t,n){"use strict";function r(e){var t=Object(i.a)(e);return function(e){return Object(o.a)(t,e)}}t.a=r;var i=n(216),o=n(217)},function(e,t,n){"use strict";function r(e){for(var t,n,r,l,c=[],u=[];t=e.match(s);){for(n=t[0],r=e.substr(0,t.index).trim(),r&&c.push(r);l=u.pop();){if(a[n]){if(a[n][0]===l){n=a[n][1]||n;break}}else if(o.indexOf(l)>=0||i[l]<i[n]){u.push(l);break}c.push(l)}a[n]||u.push(n),e=e.substr(t.index+n.length)}return e=e.trim(),e&&c.push(e),c.concat(u.reverse())}t.a=r;var i,o,a,s;i={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},o=["(","?"],a={")":["("],":":["?","?:"]},s=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/},function(e,t,n){"use strict";function r(e,t){var n,r,o,a,s,l,c=[];for(n=0;n<e.length;n++){if(s=e[n],a=i[s]){for(r=a.length,o=Array(r);r--;)o[r]=c.pop();try{l=a.apply(null,o)}catch(e){return e}}else l=t.hasOwnProperty(s)?t[s]:+s;c.push(l)}return c[0]}t.a=r;var i={"!":function(e){return!e},"*":function(e,t){return e*t},"/":function(e,t){return e/t},"%":function(e,t){return e%t},"+":function(e,t){return e+t},"-":function(e,t){return e-t},"<":function(e,t){return e<t},"<=":function(e,t){return e<=t},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"==":function(e,t){return e===t},"!=":function(e,t){return e!==t},"&&":function(e,t){return e&&t},"||":function(e,t){return e||t},"?:":function(e,t,n){if(e)throw t;return n}}},function(e,t,n){"use strict";var r=n(85),i=n(219),o=Object(r.a)(void 0,void 0,i.a);o.getLocaleData.bind(o),o.setLocaleData.bind(o),o.resetLocaleData.bind(o),o.subscribe.bind(o),o.__.bind(o),o._x.bind(o),o._n.bind(o),o._nx.bind(o),o.isRTL.bind(o),o.hasTranslation.bind(o)},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n(220),i=Object(r.a)();i.addAction,i.addFilter,i.removeAction,i.removeFilter,i.hasAction,i.hasFilter,i.removeAllActions,i.removeAllFilters,i.doAction,i.applyFilters,i.currentAction,i.currentFilter,i.doingAction,i.doingFilter,i.didAction,i.didFilter,i.actions,i.filters},function(e,t,n){"use strict";function r(){return new p}var i=n(221),o=n(222),a=n(223),s=n(224),l=n(225),c=n(226),u=n(227),d=n(228),p=function e(){Object(i.a)(this,e),this.actions=Object.create(null),this.actions.__current=[],this.filters=Object.create(null),this.filters.__current=[],this.addAction=Object(o.a)(this,"actions"),this.addFilter=Object(o.a)(this,"filters"),this.removeAction=Object(a.a)(this,"actions"),this.removeFilter=Object(a.a)(this,"filters"),this.hasAction=Object(s.a)(this,"actions"),this.hasFilter=Object(s.a)(this,"filters"),this.removeAllActions=Object(a.a)(this,"actions",!0),this.removeAllFilters=Object(a.a)(this,"filters",!0),this.doAction=Object(l.a)(this,"actions"),this.applyFilters=Object(l.a)(this,"filters",!0),this.currentAction=Object(c.a)(this,"actions"),this.currentFilter=Object(c.a)(this,"filters"),this.doingAction=Object(u.a)(this,"actions"),this.doingFilter=Object(u.a)(this,"filters"),this.didAction=Object(d.a)(this,"actions"),this.didFilter=Object(d.a)(this,"filters")};t.a=r},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.a=r},function(e,t,n){"use strict";function r(e,t){return function(n,r,a){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10,l=e[t];if(Object(o.a)(n)&&Object(i.a)(r)){if("function"!=typeof a)return void console.error("The hook callback must be a function.");if("number"!=typeof s)return void console.error("If specified, the hook priority must be a number.");var c={callback:a,priority:s,namespace:r};if(l[n]){var u,d=l[n].handlers;for(u=d.length;u>0&&!(s>=d[u-1].priority);u--);u===d.length?d[u]=c:d.splice(u,0,c),l.__current.forEach(function(e){e.name===n&&e.currentIndex>=u&&e.currentIndex++})}else l[n]={handlers:[c],runs:0};"hookAdded"!==n&&e.doAction("hookAdded",n,r,a,s)}}}var i=n(86),o=n(50);t.a=r},function(e,t,n){"use strict";function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(r,a){var s=e[t];if(Object(o.a)(r)&&(n||Object(i.a)(a))){if(!s[r])return 0;var l=0;if(n)l=s[r].handlers.length,s[r]={runs:s[r].runs,handlers:[]};else for(var c=s[r].handlers,u=c.length-1;u>=0;u--)!function(e){c[e].namespace===a&&(c.splice(e,1),l++,s.__current.forEach(function(t){t.name===r&&t.currentIndex>=e&&t.currentIndex--}))}(u);return"hookRemoved"!==r&&e.doAction("hookRemoved",r,a),l}}}var i=n(86),o=n(50);t.a=r},function(e,t,n){"use strict";function r(e,t){return function(n,r){var i=e[t];return void 0!==r?n in i&&i[n].handlers.some(function(e){return e.namespace===r}):n in i}}t.a=r},function(e,t,n){"use strict";function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(r){var i=e[t];i[r]||(i[r]={handlers:[],runs:0}),i[r].runs++;for(var o=i[r].handlers,a=arguments.length,s=new Array(a>1?a-1:0),l=1;l<a;l++)s[l-1]=arguments[l];if(!o||!o.length)return n?s[0]:void 0;var c={name:r,currentIndex:0};for(i.__current.push(c);c.currentIndex<o.length;){var u=o[c.currentIndex],d=u.callback.apply(null,s);n&&(s[0]=d),c.currentIndex++}return i.__current.pop(),n?s[0]:void 0}}n(79);t.a=r},function(e,t,n){"use strict";function r(e,t){return function(){var n,r,i=e[t];return null!==(n=null===(r=i.__current[i.__current.length-1])||void 0===r?void 0:r.name)&&void 0!==n?n:null}}t.a=r},function(e,t,n){"use strict";function r(e,t){return function(n){var r=e[t];return void 0===n?void 0!==r.__current[0]:!!r.__current[0]&&n===r.__current[0].name}}t.a=r},function(e,t,n){"use strict";function r(e,t){return function(n){var r=e[t];if(Object(i.a)(n))return r[n]&&r[n].runs?r[n].runs:0}}var i=n(50);t.a=r}]);
|
assets/images/restricted.svg
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
<svg width="10" height="14" viewBox="0 0 10 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
2 |
+
<path d="M9.0002 6.19961H8.2002V3.79961C8.2002 2.03961 6.7602 0.599609 5.0002 0.599609C3.2402 0.599609 1.8002 2.03961 1.8002 3.79961V6.19961H1.0002C0.600195 6.19961 0.200195 6.59961 0.200195 6.99961V12.5996C0.200195 12.9996 0.600195 13.3996 1.0002 13.3996H9.0002C9.4002 13.3996 9.8002 12.9996 9.8002 12.5996V6.99961C9.8002 6.59961 9.4002 6.19961 9.0002 6.19961ZM5.8002 11.7996H4.2002L4.5202 10.0396C4.1202 9.87961 3.8002 9.39961 3.8002 8.99961C3.8002 8.35961 4.3602 7.79961 5.0002 7.79961C5.6402 7.79961 6.2002 8.35961 6.2002 8.99961C6.2002 9.47961 5.9602 9.87961 5.4802 10.0396L5.8002 11.7996ZM6.6002 6.19961H3.4002V3.79961C3.4002 2.91961 4.1202 2.19961 5.0002 2.19961C5.8802 2.19961 6.6002 2.91961 6.6002 3.79961V6.19961Z" fill="#1E1E1E"/>
|
3 |
+
</svg>
|
assets/js/admin-metabox.js
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
jQuery(document).ready(function(){
|
2 |
+
if ( 0 === jQuery('#monsterinsights-metabox-page-insights').length ){
|
3 |
+
return;
|
4 |
+
}
|
5 |
+
|
6 |
+
jQuery('#monsterinsights_show_page_insights').click(function(event){
|
7 |
+
event.preventDefault();
|
8 |
+
jQuery( '#monsterinsights-page-insights-content' ).slideDown( 'slow' );
|
9 |
+
jQuery('#monsterinsights_show_page_insights').fadeOut( 'slow' );
|
10 |
+
});
|
11 |
+
|
12 |
+
jQuery('#monsterinsights_hide_page_insights').click(function(event){
|
13 |
+
event.preventDefault();
|
14 |
+
jQuery( '#monsterinsights-page-insights-content' ).slideUp( 'slow', function (){
|
15 |
+
jQuery('#monsterinsights_show_page_insights').fadeIn( 'slow' );
|
16 |
+
} );
|
17 |
+
});
|
18 |
+
|
19 |
+
jQuery( '.monsterinsights-page-insights__tabs-tab' ).click(function (event){
|
20 |
+
event.preventDefault();
|
21 |
+
let tab_target = jQuery(this).data('tab');
|
22 |
+
|
23 |
+
jQuery( '.monsterinsights-page-insights__tabs-tab.active' ).removeClass('active');
|
24 |
+
jQuery(this).addClass( 'active' );
|
25 |
+
|
26 |
+
jQuery('.monsterinsights-page-insights-tabs-content__tab.active').removeClass( 'active' );
|
27 |
+
jQuery('#' + tab_target).addClass('active');
|
28 |
+
});
|
29 |
+
});
|
assets/js/admin-metabox.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
;jQuery(document).ready(function(){if(0===jQuery('#monsterinsights-metabox-page-insights').length){return};jQuery('#monsterinsights_show_page_insights').click(function(t){t.preventDefault();jQuery('#monsterinsights-page-insights-content').slideDown('slow');jQuery('#monsterinsights_show_page_insights').fadeOut('slow')});jQuery('#monsterinsights_hide_page_insights').click(function(t){t.preventDefault();jQuery('#monsterinsights-page-insights-content').slideUp('slow',function(){jQuery('#monsterinsights_show_page_insights').fadeIn('slow')})});jQuery('.monsterinsights-page-insights__tabs-tab').click(function(t){t.preventDefault();let tab_target=jQuery(this).data('tab');jQuery('.monsterinsights-page-insights__tabs-tab.active').removeClass('active');jQuery(this).addClass('active');jQuery('.monsterinsights-page-insights-tabs-content__tab.active').removeClass('active');jQuery('#'+tab_target).addClass('active')})});
|
googleanalytics.php
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
* Author: MonsterInsights
|
7 |
* Author URI: https://www.monsterinsights.com/?utm_source=liteplugin&utm_medium=pluginheader&utm_campaign=authoruri&utm_content=7%2E0%2E0
|
8 |
*
|
9 |
-
* Version: 8.5.
|
10 |
* Requires at least: 4.8.0
|
11 |
* Requires PHP: 5.5
|
12 |
*
|
@@ -69,7 +69,7 @@ final class MonsterInsights_Lite {
|
|
69 |
* @access public
|
70 |
* @var string $version Plugin version.
|
71 |
*/
|
72 |
-
public $version = '8.5.
|
73 |
|
74 |
/**
|
75 |
* Plugin file.
|
6 |
* Author: MonsterInsights
|
7 |
* Author URI: https://www.monsterinsights.com/?utm_source=liteplugin&utm_medium=pluginheader&utm_campaign=authoruri&utm_content=7%2E0%2E0
|
8 |
*
|
9 |
+
* Version: 8.5.1
|
10 |
* Requires at least: 4.8.0
|
11 |
* Requires PHP: 5.5
|
12 |
*
|
69 |
* @access public
|
70 |
* @var string $version Plugin version.
|
71 |
*/
|
72 |
+
public $version = '8.5.1';
|
73 |
|
74 |
/**
|
75 |
* Plugin file.
|
includes/admin/admin.php
CHANGED
@@ -1,630 +1,630 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Admin class.
|
4 |
-
*
|
5 |
-
* @since 6.0.0
|
6 |
-
*
|
7 |
-
* @package MonsterInsights
|
8 |
-
* @subpackage Admin
|
9 |
-
* @author Chris Christoff
|
10 |
-
*/
|
11 |
-
|
12 |
-
// Exit if accessed directly
|
13 |
-
if ( ! defined( 'ABSPATH' ) ) {
|
14 |
-
exit;
|
15 |
-
}
|
16 |
-
|
17 |
-
/**
|
18 |
-
* Register menu items for MonsterInsights.
|
19 |
-
*
|
20 |
-
* @since 6.0.0
|
21 |
-
* @access public
|
22 |
-
*
|
23 |
-
* @return void
|
24 |
-
*/
|
25 |
-
function monsterinsights_admin_menu() {
|
26 |
-
$hook = monsterinsights_get_menu_hook();
|
27 |
-
$menu_icon_inline = monsterinsights_get_inline_menu_icon();
|
28 |
-
|
29 |
-
if ( $hook === 'monsterinsights_settings' ) {
|
30 |
-
// If dashboards disabled, first settings page
|
31 |
-
add_menu_page( __( 'MonsterInsights', 'google-analytics-for-wordpress' ), __( 'Insights', 'google-analytics-for-wordpress' ) . MonsterInsights()->notifications->get_menu_count(), 'monsterinsights_save_settings', 'monsterinsights_settings', 'monsterinsights_settings_page', $menu_icon_inline, '100.00013467543' );
|
32 |
-
$hook = 'monsterinsights_settings';
|
33 |
-
|
34 |
-
add_submenu_page( $hook, __( 'MonsterInsights', 'google-analytics-for-wordpress' ), __( 'Settings', 'google-analytics-for-wordpress' ), 'monsterinsights_save_settings', 'monsterinsights_settings' );
|
35 |
-
} else {
|
36 |
-
// if dashboards enabled, first dashboard
|
37 |
-
add_menu_page( __( 'General:', 'google-analytics-for-wordpress' ), __( 'Insights', 'google-analytics-for-wordpress' ) . MonsterInsights()->notifications->get_menu_count(), 'monsterinsights_view_dashboard', 'monsterinsights_reports', 'monsterinsights_reports_page', $menu_icon_inline, '100.00013467543' );
|
38 |
-
|
39 |
-
add_submenu_page( $hook, __( 'General Reports:', 'google-analytics-for-wordpress' ), __( 'Reports', 'google-analytics-for-wordpress' ), 'monsterinsights_view_dashboard', 'monsterinsights_reports', 'monsterinsights_reports_page' );
|
40 |
-
|
41 |
-
// then settings page
|
42 |
-
add_submenu_page( $hook, __( 'MonsterInsights', 'google-analytics-for-wordpress' ), __( 'Settings', 'google-analytics-for-wordpress' ), 'monsterinsights_save_settings', 'monsterinsights_settings', 'monsterinsights_settings_page' );
|
43 |
-
|
44 |
-
// Add dashboard submenu.
|
45 |
-
add_submenu_page( 'index.php', __( 'General Reports:', 'google-analytics-for-wordpress' ), __( 'Insights', 'google-analytics-for-wordpress' ), 'monsterinsights_view_dashboard', 'admin.php?page=monsterinsights_reports' );
|
46 |
-
}
|
47 |
-
|
48 |
-
$submenu_base = add_query_arg( 'page', 'monsterinsights_settings', admin_url( 'admin.php' ) );
|
49 |
-
|
50 |
-
// Add Popular Posts menu item.
|
51 |
-
add_submenu_page( $hook, __( 'Popular Posts:', 'google-analytics-for-wordpress' ), __( 'Popular Posts', 'google-analytics-for-wordpress' ), 'monsterinsights_save_settings', $submenu_base . '#/popular-posts' );
|
52 |
-
|
53 |
-
if ( function_exists( 'aioseo' ) ) {
|
54 |
-
$seo_url = monsterinsights_aioseo_dashboard_url();
|
55 |
-
} else {
|
56 |
-
$seo_url = $submenu_base . '#/seo';
|
57 |
-
}
|
58 |
-
// then SEO
|
59 |
-
add_submenu_page( $hook, __( 'SEO', 'google-analytics-for-wordpress' ), __( 'SEO', 'google-analytics-for-wordpress' ), 'manage_options', $seo_url );
|
60 |
-
|
61 |
-
// then tools
|
62 |
-
add_submenu_page( $hook, __( 'Tools:', 'google-analytics-for-wordpress' ), __( 'Tools', 'google-analytics-for-wordpress' ), 'manage_options', $submenu_base . '#/tools' );
|
63 |
-
|
64 |
-
// then addons
|
65 |
-
$network_key = monsterinsights_is_pro_version() ? MonsterInsights()->license->get_network_license_key() : '';
|
66 |
-
if ( ! monsterinsights_is_network_active() || ( monsterinsights_is_network_active() && empty( $network_key ) ) ) {
|
67 |
-
add_submenu_page( $hook, __( 'Addons:', 'google-analytics-for-wordpress' ), '<span style="color:' . monsterinsights_menu_highlight_color() . '"> ' . __( 'Addons', 'google-analytics-for-wordpress' ) . '</span>', 'monsterinsights_save_settings', $submenu_base . '#/addons' );
|
68 |
-
}
|
69 |
-
|
70 |
-
// Add About us page.
|
71 |
-
add_submenu_page( $hook, __( 'About Us:', 'google-analytics-for-wordpress' ), __( 'About Us', 'google-analytics-for-wordpress' ), 'manage_options', $submenu_base . '#/about' );
|
72 |
-
|
73 |
-
add_submenu_page( $hook, __( 'Growth Tools:', 'google-analytics-for-wordpress' ), __( 'Growth Tools', 'google-analytics-for-wordpress' ), 'manage_options', $submenu_base . '#/growth-tools' );
|
74 |
-
|
75 |
-
if ( ! monsterinsights_is_pro_version() ) {
|
76 |
-
add_submenu_page( $hook, __( 'Upgrade to Pro:', 'google-analytics-for-wordpress' ), '<span class="monsterinsights-upgrade-submenu"> ' . __( 'Upgrade to Pro', 'google-analytics-for-wordpress' ) . '</span>', 'monsterinsights_save_settings', monsterinsights_get_upgrade_link( 'admin-menu', 'submenu', "https://www.monsterinsights.com/lite/" ) );
|
77 |
-
}
|
78 |
-
|
79 |
-
}
|
80 |
-
add_action( 'admin_menu', 'monsterinsights_admin_menu' );
|
81 |
-
|
82 |
-
/**
|
83 |
-
* Add this separately so all the Woo menu items are loaded and the position parameter works correctly.
|
84 |
-
*/
|
85 |
-
function monsterinsights_woocommerce_menu_item() {
|
86 |
-
// Add "Insights" sub menu item for WooCommerce Analytics menu
|
87 |
-
if ( class_exists( 'WooCommerce' ) && ! apply_filters( 'monsterinsights_disable_woo_analytics_menu', false ) ) {
|
88 |
-
if ( class_exists( 'MonsterInsights_eCommerce' ) ) {
|
89 |
-
add_submenu_page( 'wc-admin&path=/analytics/overview', __( 'Insights', 'google-analytics-for-wordpress' ), __( 'Insights', 'google-analytics-for-wordpress' ), 'monsterinsights_view_dashboard', admin_url( 'admin.php?page=monsterinsights_reports#/ecommerce' ), '', 2 );
|
90 |
-
} else {
|
91 |
-
$submenu_base = add_query_arg( 'page', 'monsterinsights_settings', admin_url( 'admin.php' ) );
|
92 |
-
add_submenu_page( 'wc-admin&path=/analytics/overview', __( 'Insights', 'google-analytics-for-wordpress' ), __( 'Insights', 'google-analytics-for-wordpress' ), 'manage_options', $submenu_base . '#/woocommerce-insights', '', 1 );
|
93 |
-
}
|
94 |
-
}
|
95 |
-
}
|
96 |
-
|
97 |
-
add_action( 'admin_menu', 'monsterinsights_woocommerce_menu_item', 11 );
|
98 |
-
|
99 |
-
function monsterinsights_get_menu_hook() {
|
100 |
-
$dashboards_disabled = monsterinsights_get_option( 'dashboards_disabled', false );
|
101 |
-
if ( $dashboards_disabled || ( current_user_can( 'monsterinsights_save_settings' ) && ! current_user_can( 'monsterinsights_view_dashboard' ) ) ) {
|
102 |
-
return 'monsterinsights_settings';
|
103 |
-
} else {
|
104 |
-
return 'monsterinsights_reports';
|
105 |
-
}
|
106 |
-
}
|
107 |
-
|
108 |
-
function monsterinsights_network_admin_menu() {
|
109 |
-
// Get the base class object.
|
110 |
-
$base = MonsterInsights();
|
111 |
-
|
112 |
-
// First, let's see if this is an MS network enabled plugin. If it is, we should load the license
|
113 |
-
// menu page and the updater on the network panel
|
114 |
-
if ( ! function_exists( 'is_plugin_active_for_network' ) ) {
|
115 |
-
require_once( ABSPATH . '/wp-admin/includes/plugin.php' );
|
116 |
-
}
|
117 |
-
|
118 |
-
$plugin = plugin_basename( MONSTERINSIGHTS_PLUGIN_FILE );
|
119 |
-
if ( ! is_plugin_active_for_network( $plugin ) ) {
|
120 |
-
return;
|
121 |
-
}
|
122 |
-
|
123 |
-
$menu_icon_inline = monsterinsights_get_inline_menu_icon();
|
124 |
-
$hook = 'monsterinsights_network';
|
125 |
-
$submenu_base = add_query_arg( 'page', 'monsterinsights_network', network_admin_url( 'admin.php' ) );
|
126 |
-
add_menu_page( __( 'Network Settings:', 'google-analytics-for-wordpress' ), __( 'Insights', 'google-analytics-for-wordpress' ) . MonsterInsights()->notifications->get_menu_count(), 'monsterinsights_save_settings', 'monsterinsights_network', 'monsterinsights_network_page', $menu_icon_inline, '100.00013467543' );
|
127 |
-
|
128 |
-
add_submenu_page( $hook, __( 'Network Settings:', 'google-analytics-for-wordpress' ), __( 'Network Settings', 'google-analytics-for-wordpress' ), 'monsterinsights_save_settings', 'monsterinsights_network', 'monsterinsights_network_page' );
|
129 |
-
|
130 |
-
add_submenu_page( $hook, __( 'General Reports:', 'google-analytics-for-wordpress' ), __( 'Reports', 'google-analytics-for-wordpress' ), 'monsterinsights_view_dashboard', 'monsterinsights_reports', 'monsterinsights_reports_page' );
|
131 |
-
|
132 |
-
if ( function_exists( 'aioseo' ) ) {
|
133 |
-
$seo_url = monsterinsights_aioseo_dashboard_url();
|
134 |
-
} else {
|
135 |
-
$seo_url = $submenu_base . '#/seo';
|
136 |
-
}
|
137 |
-
// then seo
|
138 |
-
add_submenu_page( $hook, __( 'SEO:', 'google-analytics-for-wordpress' ), __( 'SEO', 'google-analytics-for-wordpress' ), 'manage_options', $seo_url, 'monsterinsights_seo_page' );
|
139 |
-
|
140 |
-
// then addons
|
141 |
-
add_submenu_page( $hook, __( 'Addons:', 'google-analytics-for-wordpress' ), '<span style="color:' . monsterinsights_menu_highlight_color() . '"> ' . __( 'Addons', 'google-analytics-for-wordpress' ) . '</span>', 'monsterinsights_save_settings', $submenu_base . '#/addons' );
|
142 |
-
|
143 |
-
$submenu_base = add_query_arg( 'page', 'monsterinsights_network', network_admin_url( 'admin.php' ) );
|
144 |
-
|
145 |
-
// Add About us page.
|
146 |
-
add_submenu_page( $hook, __( 'About Us:', 'google-analytics-for-wordpress' ), __( 'About Us', 'google-analytics-for-wordpress' ), 'manage_options', $submenu_base . '#/about' );
|
147 |
-
}
|
148 |
-
add_action( 'network_admin_menu', 'monsterinsights_network_admin_menu', 5 );
|
149 |
-
|
150 |
-
/**
|
151 |
-
* Adds one or more classes to the body tag in the dashboard.
|
152 |
-
*
|
153 |
-
* @param String $classes Current body classes.
|
154 |
-
* @return String Altered body classes.
|
155 |
-
*/
|
156 |
-
function monsterinsights_add_admin_body_class( $classes ) {
|
157 |
-
$screen = function_exists( 'get_current_screen' ) ? get_current_screen() : false;
|
158 |
-
if ( empty( $screen ) || empty( $screen->id ) || strpos( $screen->id, 'monsterinsights' ) === false ) {
|
159 |
-
return $classes;
|
160 |
-
}
|
161 |
-
|
162 |
-
return "$classes monsterinsights_page ";
|
163 |
-
}
|
164 |
-
add_filter( 'admin_body_class', 'monsterinsights_add_admin_body_class', 10, 1 );
|
165 |
-
|
166 |
-
/**
|
167 |
-
* Adds one or more classes to the body tag in the dashboard.
|
168 |
-
*
|
169 |
-
* @param String $classes Current body classes.
|
170 |
-
* @return String Altered body classes.
|
171 |
-
*/
|
172 |
-
function monsterinsights_add_admin_body_class_tools_page( $classes ) {
|
173 |
-
$screen = function_exists( 'get_current_screen' ) ? get_current_screen() : false;
|
174 |
-
|
175 |
-
if ( empty( $screen ) || empty( $screen->id ) || strpos( $screen->id, 'monsterinsights_tools' ) === false || 'insights_page_monsterinsights_tools' === $screen->id ) {
|
176 |
-
return $classes;
|
177 |
-
}
|
178 |
-
|
179 |
-
return "$classes insights_page_monsterinsights_tools ";
|
180 |
-
}
|
181 |
-
add_filter( 'admin_body_class', 'monsterinsights_add_admin_body_class_tools_page', 10, 1 );
|
182 |
-
|
183 |
-
/**
|
184 |
-
* Adds one or more classes to the body tag in the dashboard.
|
185 |
-
*
|
186 |
-
* @param String $classes Current body classes.
|
187 |
-
* @return String Altered body classes.
|
188 |
-
*/
|
189 |
-
function monsterinsights_add_admin_body_class_addons_page( $classes ) {
|
190 |
-
$screen = function_exists( 'get_current_screen' ) ? get_current_screen() : false;
|
191 |
-
if ( empty( $screen ) || empty( $screen->id ) || strpos( $screen->id, 'monsterinsights_addons' ) === false || 'insights_page_monsterinsights_addons' === $screen->id ) {
|
192 |
-
return $classes;
|
193 |
-
}
|
194 |
-
|
195 |
-
return "$classes insights_page_monsterinsights_addons ";
|
196 |
-
}
|
197 |
-
add_filter( 'admin_body_class', 'monsterinsights_add_admin_body_class_addons_page', 10, 1 );
|
198 |
-
|
199 |
-
/**
|
200 |
-
* Add a link to the settings page to the plugins list
|
201 |
-
*
|
202 |
-
* @param array $links array of links for the plugins, adapted when the current plugin is found.
|
203 |
-
*
|
204 |
-
* @return array $links
|
205 |
-
*/
|
206 |
-
function monsterinsights_add_action_links( $links ) {
|
207 |
-
$docs = '<a title="' . esc_html__( 'MonsterInsights Knowledge Base', 'google-analytics-for-wordpress' ) . '" href="'. monsterinsights_get_url( 'all-plugins', 'kb-link', "https://www.monsterinsights.com/docs/" ) .'">' . esc_html__( 'Documentation', 'google-analytics-for-wordpress' ) . '</a>';
|
208 |
-
array_unshift( $links, $docs );
|
209 |
-
|
210 |
-
// If Lite, support goes to forum. If pro, it goes to our website
|
211 |
-
if ( monsterinsights_is_pro_version() ) {
|
212 |
-
$support = '<a title="MonsterInsights Pro Support" href="'. monsterinsights_get_url( 'all-plugins', 'pro-support-link', "https://www.monsterinsights.com/my-account/support/" ) .'">' . esc_html__( 'Support', 'google-analytics-for-wordpress' ) . '</a>';
|
213 |
-
array_unshift( $links, $support );
|
214 |
-
} else {
|
215 |
-
$support = '<a title="MonsterInsights Lite Support" href="'. monsterinsights_get_url( 'all-plugins', 'lite-support-link', "https://www.monsterinsights.com/lite-support/" ) .'">' . esc_html__( 'Support', 'google-analytics-for-wordpress' ) . '</a>';
|
216 |
-
array_unshift( $links, $support );
|
217 |
-
}
|
218 |
-
|
219 |
-
if ( is_network_admin() ) {
|
220 |
-
$settings_link = '<a href="' . esc_url( network_admin_url( 'admin.php?page=monsterinsights_network' ) ) . '">' . esc_html__( 'Network Settings', 'google-analytics-for-wordpress' ) . '</a>';
|
221 |
-
} else {
|
222 |
-
$settings_link = '<a href="' . esc_url( admin_url( 'admin.php?page=monsterinsights_settings' ) ) . '">' . esc_html__( 'Settings', 'google-analytics-for-wordpress' ) . '</a>';
|
223 |
-
}
|
224 |
-
|
225 |
-
array_unshift( $links, $settings_link );
|
226 |
-
|
227 |
-
// If lite, show a link where they can get pro from
|
228 |
-
if ( ! monsterinsights_is_pro_version() ) {
|
229 |
-
$get_pro = '<a title="' . esc_html__( 'Get MonsterInsights Pro', 'google-analytics-for-wordpress' ) .'" href="'. monsterinsights_get_upgrade_link( 'all-plugins', 'upgrade-link', "https://www.monsterinsights.com/lite/" ) .'" style="font-weight:700; color: #1da867;">' . esc_html__( 'Get MonsterInsights Pro', 'google-analytics-for-wordpress' ) . '</a>';
|
230 |
-
array_unshift( $links, $get_pro );
|
231 |
-
}
|
232 |
-
|
233 |
-
return $links;
|
234 |
-
}
|
235 |
-
add_filter( 'plugin_action_links_' . plugin_basename( MONSTERINSIGHTS_PLUGIN_FILE ), 'monsterinsights_add_action_links' );
|
236 |
-
add_filter( 'network_admin_plugin_action_links_' . plugin_basename( MONSTERINSIGHTS_PLUGIN_FILE ), 'monsterinsights_add_action_links' );
|
237 |
-
|
238 |
-
/**
|
239 |
-
* Loads a partial view for the Administration screen
|
240 |
-
*
|
241 |
-
* @access public
|
242 |
-
* @since 6.0.0
|
243 |
-
*
|
244 |
-
* @param string $template PHP file at includes/admin/partials, excluding file extension
|
245 |
-
* @param array $data Any data to pass to the view
|
246 |
-
* @return void
|
247 |
-
*/
|
248 |
-
function monsterinsights_load_admin_partial( $template, $data = array() ) {
|
249 |
-
|
250 |
-
if ( monsterinsights_is_pro_version() ) {
|
251 |
-
$dir = trailingslashit( plugin_dir_path( MonsterInsights()->file ) . 'pro/includes/admin/partials' );
|
252 |
-
|
253 |
-
if ( file_exists( $dir . $template . '.php' ) ) {
|
254 |
-
require_once( $dir . $template . '.php' );
|
255 |
-
return true;
|
256 |
-
}
|
257 |
-
} else {
|
258 |
-
$dir = trailingslashit( plugin_dir_path( MonsterInsights()->file ) . 'lite/includes/admin/partials' );
|
259 |
-
|
260 |
-
if ( file_exists( $dir . $template . '.php' ) ) {
|
261 |
-
require_once( $dir . $template . '.php' );
|
262 |
-
return true;
|
263 |
-
}
|
264 |
-
}
|
265 |
-
|
266 |
-
$dir = trailingslashit( plugin_dir_path( MonsterInsights()->file ) . 'includes/admin/partials' );
|
267 |
-
|
268 |
-
if ( file_exists( $dir . $template . '.php' ) ) {
|
269 |
-
require_once( $dir . $template . '.php' );
|
270 |
-
return true;
|
271 |
-
}
|
272 |
-
|
273 |
-
return false;
|
274 |
-
}
|
275 |
-
|
276 |
-
/**
|
277 |
-
* When user is on a MonsterInsights related admin page, display footer text
|
278 |
-
* that graciously asks them to rate us.
|
279 |
-
*
|
280 |
-
* @since 6.0.0
|
281 |
-
* @param string $text
|
282 |
-
* @return string
|
283 |
-
*/
|
284 |
-
function monsterinsights_admin_footer( $text ) {
|
285 |
-
global $current_screen;
|
286 |
-
if ( ! empty( $current_screen->id ) && strpos( $current_screen->id, 'monsterinsights' ) !== false ) {
|
287 |
-
$url = 'https://wordpress.org/support/view/plugin-reviews/google-analytics-for-wordpress?filter=5';
|
288 |
-
// Translators: Placeholders add a link to the wordpress.org repository.
|
289 |
-
$text = sprintf( esc_html__( 'Please rate %1$sMonsterInsights%2$s on %3$s %4$sWordPress.org%5$s to help us spread the word. Thank you from the MonsterInsights team!', 'google-analytics-for-wordpress' ), '<strong>', '</strong>', '<a class="monsterinsights-no-text-decoration" href="' . $url . '" target="_blank" rel="noopener noreferrer"><i class="monstericon-star"></i><i class="monstericon-star"></i><i class="monstericon-star"></i><i class="monstericon-star"></i><i class="monstericon-star"></i></a>', '<a href="' . $url . '" target="_blank" rel="noopener noreferrer">', '</a>' );
|
290 |
-
}
|
291 |
-
return $text;
|
292 |
-
}
|
293 |
-
add_filter( 'admin_footer_text', 'monsterinsights_admin_footer', 1, 2 );
|
294 |
-
|
295 |
-
function monsterinsights_admin_setup_notices() {
|
296 |
-
|
297 |
-
// Don't show on MonsterInsights pages
|
298 |
-
$screen = get_current_screen();
|
299 |
-
if ( empty( $screen->id ) || strpos( $screen->id, 'monsterinsights' ) !== false ) {
|
300 |
-
return;
|
301 |
-
}
|
302 |
-
|
303 |
-
// Make sure they have the permissions to do something
|
304 |
-
if ( ! current_user_can( 'monsterinsights_save_settings' ) ) {
|
305 |
-
return;
|
306 |
-
}
|
307 |
-
|
308 |
-
// Priority:
|
309 |
-
// 1. Google Analytics not authenticated
|
310 |
-
// 2. License key not entered for pro
|
311 |
-
// 3. License key not valid/okay for pro
|
312 |
-
// 4. WordPress + PHP min versions
|
313 |
-
// 5. (old) Optin setting not configured
|
314 |
-
// 6. Manual UA code
|
315 |
-
// 7. Automatic updates not configured
|
316 |
-
// 8. Woo upsell
|
317 |
-
// 9. EDD upsell
|
318 |
-
|
319 |
-
|
320 |
-
// 1. Google Analytics not authenticated
|
321 |
-
if ( ! is_network_admin() && ! monsterinsights_get_ua() && ! monsterinsights_get_v4_id() && ! defined( 'MONSTERINSIGHTS_DISABLE_TRACKING' ) ) {
|
322 |
-
|
323 |
-
$submenu_base = is_network_admin() ? add_query_arg( 'page', 'monsterinsights_network', network_admin_url( 'admin.php' ) ) : add_query_arg( 'page', 'monsterinsights_settings', admin_url( 'admin.php' ) );
|
324 |
-
$title = esc_html__( 'Please Setup Website Analytics to See Audience Insights', 'google-analytics-for-wordpress' );
|
325 |
-
$primary = esc_html__( 'Connect MonsterInsights and Setup Website Analytics', 'google-analytics-for-wordpress' );
|
326 |
-
$urlone = is_network_admin() ? network_admin_url( 'admin.php?page=monsterinsights-onboarding' ) : admin_url( 'admin.php?page=monsterinsights-onboarding' );
|
327 |
-
$secondary = esc_html__( 'Learn More', 'google-analytics-for-wordpress' );
|
328 |
-
$urltwo = $submenu_base . '#/about/getting-started';
|
329 |
-
$message = esc_html__( 'MonsterInsights, WordPress analytics plugin, helps you connect your website with Google Analytics, so you can see how people find and use your website. Over 3 million website owners use MonsterInsights to see the stats that matter and grow their business.', 'google-analytics-for-wordpress' );
|
330 |
-
echo '<div class="notice notice-info"><p style="font-weight:700">'. $title .'</p><p>'. $message.'</p><p><a href="'. $urlone .'" class="button-primary">'. $primary .'</a> <a href="'. $urltwo .'" class="button-secondary">'. $secondary .'</a></p></div>';
|
331 |
-
return;
|
332 |
-
}
|
333 |
-
|
334 |
-
// 2. License key not entered for pro
|
335 |
-
$key = monsterinsights_is_pro_version() ? MonsterInsights()->license->get_license_key() : '';
|
336 |
-
if ( monsterinsights_is_pro_version() && empty( $key ) ) {
|
337 |
-
$page = is_network_admin() ? network_admin_url( 'admin.php?page=monsterinsights_network' ) : admin_url( 'admin.php?page=monsterinsights_settings' );
|
338 |
-
// Translators: Adds a link to retrieve the license.
|
339 |
-
$message = sprintf( esc_html__( 'Warning: No valid license key has been entered for MonsterInsights. You are currently not getting updates, and are not able to view reports. %1$sPlease click here to enter your license key and begin receiving updates and reports.%2$s', 'google-analytics-for-wordpress' ), '<a href="'. esc_url( $page ) . '">', '</a>' );
|
340 |
-
echo '<div class="error"><p>'. $message.'</p></div>';
|
341 |
-
return;
|
342 |
-
}
|
343 |
-
|
344 |
-
// 3. License key not valid/okay for pro
|
345 |
-
if ( monsterinsights_is_pro_version() ) {
|
346 |
-
$message = '';
|
347 |
-
if ( MonsterInsights()->license->get_site_license_key() ){
|
348 |
-
if ( MonsterInsights()->license->site_license_expired() ) {
|
349 |
-
// Translators: Adds a link to the license renewal.
|
350 |
-
$message = sprintf( esc_html__( 'Your license key for MonsterInsights has expired. %1$sPlease click here to renew your license key.%2$s', 'google-analytics-for-wordpress' ), '<a href="'. monsterinsights_get_url( 'admin-notices', 'expired-license', "https://www.monsterinsights.com/login/" ) .'" target="_blank" rel="noopener noreferrer" referrer="no-referrer">', '</a>' );
|
351 |
-
} else if ( MonsterInsights()->license->site_license_disabled() ) {
|
352 |
-
$message = esc_html__( 'Your license key for MonsterInsights has been disabled. Please use a different key.', 'google-analytics-for-wordpress' );
|
353 |
-
} else if ( MonsterInsights()->license->site_license_invalid() ) {
|
354 |
-
$message = esc_html__( 'Your license key for MonsterInsights is invalid. The key no longer exists or the user associated with the key has been deleted. Please use a different key.', 'google-analytics-for-wordpress' );
|
355 |
-
}
|
356 |
-
} else if ( MonsterInsights()->license->get_network_license_key() ) {
|
357 |
-
if ( MonsterInsights()->license->network_license_expired() ) {
|
358 |
-
// Translators: Adds a link to renew license.
|
359 |
-
$message = sprintf( esc_html__( 'Your network license key for MonsterInsights has expired. %1$sPlease click here to renew your license key.%2$s', 'google-analytics-for-wordpress' ), '<a href="'. monsterinsights_get_url( 'admin-notices', 'expired-license', "https://www.monsterinsights.com/login/" ) .'" target="_blank" rel="noopener noreferrer" referrer="no-referrer">', '</a>' );
|
360 |
-
} else if ( MonsterInsights()->license->network_license_disabled() ) {
|
361 |
-
$message = esc_html__( 'Your network license key for MonsterInsights has been disabled. Please use a different key.', 'google-analytics-for-wordpress' );
|
362 |
-
} else if ( MonsterInsights()->license->network_license_invalid() ) {
|
363 |
-
$message = esc_html__( 'Your network license key for MonsterInsights is invalid. The key no longer exists or the user associated with the key has been deleted. Please use a different key.', 'google-analytics-for-wordpress' );
|
364 |
-
}
|
365 |
-
}
|
366 |
-
if ( ! empty( $message ) ) {
|
367 |
-
echo '<div class="error"><p>'. $message.'</p></div>';
|
368 |
-
return;
|
369 |
-
}
|
370 |
-
}
|
371 |
-
|
372 |
-
// 4. Notices for PHP/WP version deprecations
|
373 |
-
if ( current_user_can( 'update_core' ) ) {
|
374 |
-
global $wp_version;
|
375 |
-
|
376 |
-
$compatible_php_version = apply_filters( 'monsterinsights_compatible_php_version', false );
|
377 |
-
$compatible_wp_version = apply_filters( 'monsterinsights_compatible_wp_version', false );
|
378 |
-
|
379 |
-
$url = monsterinsights_get_url( 'global-notice', 'settings-page', 'https://www.monsterinsights.com/docs/update-php/' );
|
380 |
-
|
381 |
-
$message = false;
|
382 |
-
if ( version_compare( phpversion(), $compatible_php_version['required'], '<' ) ) {
|
383 |
-
// Translators: Placeholders add the PHP version, a link to the MonsterInsights blog and a line break.
|
384 |
-
$message = sprintf( esc_html__( 'Your site is running an outdated, insecure version of PHP (%1$s), which could be putting your site at risk for being hacked.%4$sWordPress stopped supporting your PHP version in April, 2019.%4$sUpdating PHP only takes a few minutes and will make your website significantly faster and more secure.%4$s%2$sLearn more about updating PHP%3$s', 'google-analytics-for-wordpress' ), phpversion(), '<a href="' . $url . '" target="_blank">', '</a>', '<br>' );
|
385 |
-
} else if ( version_compare( phpversion(), $compatible_php_version['warning'], '<' ) ) {
|
386 |
-
// Translators: Placeholders add the PHP version, a link to the MonsterInsights blog and a line break.
|
387 |
-
$message = sprintf( esc_html__( 'Your site is running an outdated, insecure version of PHP (%1$s), which could be putting your site at risk for being hacked.%4$sWordPress stopped supporting your PHP version in November, 2019.%4$sUpdating PHP only takes a few minutes and will make your website significantly faster and more secure.%4$s%2$sLearn more about updating PHP%3$s', 'google-analytics-for-wordpress' ), phpversion(), '<a href="' . $url . '" target="_blank">', '</a>', '<br>' );
|
388 |
-
} else if ( version_compare( phpversion(), $compatible_php_version['recommended'], '<' ) ) {
|
389 |
-
// Translators: Placeholders add the PHP version, a link to the MonsterInsights blog and a line break.
|
390 |
-
$message = sprintf( esc_html__( 'Your site is running an outdated, insecure version of PHP (%1$s), which could be putting your site at risk for being hacked.%4$sWordPress is working towards discontinuing support for your PHP version.%4$sUpdating PHP only takes a few minutes and will make your website significantly faster and more secure.%4$s%2$sLearn more about updating PHP%3$s', 'google-analytics-for-wordpress' ), phpversion(), '<a href="' . $url . '" target="_blank">', '</a>', '<br>' );
|
391 |
-
}
|
392 |
-
|
393 |
-
if ( $message ) {
|
394 |
-
echo '<div class="error"><p>'. $message.'</p></div>';
|
395 |
-
return;
|
396 |
-
}
|
397 |
-
|
398 |
-
// WordPress 4.9
|
399 |
-
/* else if ( version_compare( $wp_version, '5.0', '<' ) ) {
|
400 |
-
$url = monsterinsights_get_url( 'global-notice', 'settings-page', 'https://www.monsterinsights.com/docs/update-wordpress/' );
|
401 |
-
// Translators: Placeholders add the current WordPress version and links to the MonsterInsights blog
|
402 |
-
$message = sprintf( esc_html__( 'Your site is running an outdated version of WordPress (%1$s).%4$sMonsterInsights will stop supporting WordPress versions lower than 5.0 in 2021.%4$sUpdating WordPress takes just a few minutes and will also solve many bugs that exist in your WordPress install.%4$s%2$sLearn more about updating WordPress%3$s', 'google-analytics-for-wordpress' ), $wp_version, '<a href="' . $url . '" target="_blank">', '</a>', '<br>' );
|
403 |
-
echo '<div class="error"><p>'. $message.'</p></div>';
|
404 |
-
return;
|
405 |
-
} */
|
406 |
-
// PHP 5.4/5.5
|
407 |
-
// else if ( version_compare( phpversion(), '5.6', '<' ) ) {
|
408 |
-
// $url = monsterinsights_get_url( 'global-notice', 'settings-page', 'https://www.monsterinsights.com/docs/update-php/' );
|
409 |
-
// $message = sprintf( esc_html__( 'Your site is running an outdated, insecure version of PHP (%1$s), which could be putting your site at risk for being hacked.%4$sWordPress will stop supporting your PHP version in April, 2019.%4$sUpdating PHP only takes a few minutes and will make your website significantly faster and more secure.%4$s%2$sLearn more about updating PHP%3$s', 'google-analytics-for-wordpress' ), phpversion(), '<a href="' . $url . '" target="_blank">', '</a>', '<br>' );
|
410 |
-
// echo '<div class="error"><p>'. $message.'</p></div>';
|
411 |
-
// return;
|
412 |
-
// }
|
413 |
-
// // WordPress 4.6 - 4.8
|
414 |
-
// else if ( version_compare( $wp_version, '4.9', '<' ) ) {
|
415 |
-
// $url = monsterinsights_get_url( 'global-notice', 'settings-page', 'https://www.monsterinsights.com/docs/update-wordpress/' );
|
416 |
-
// $message = sprintf( esc_html__( 'Your site is running an outdated version of WordPress (%1$s).%4$sMonsterInsights will stop supporting WordPress versions lower than 4.9 in October, 2019.%4$sUpdating WordPress takes just a few minutes and will also solve many bugs that exist in your WordPress install.%4$s%2$sLearn more about updating WordPress%3$s', 'google-analytics-for-wordpress' ), $wp_version, '<a href="' . $url . '" target="_blank">', '</a>', '<br>' );
|
417 |
-
// echo '<div class="error"><p>'. $message.'</p></div>';
|
418 |
-
// return;
|
419 |
-
// }
|
420 |
-
}
|
421 |
-
|
422 |
-
// 5. Optin setting not configured
|
423 |
-
// if ( ! is_network_admin() ) {
|
424 |
-
// if ( ! get_option( 'monsterinsights_tracking_notice' ) ) {
|
425 |
-
// if ( ! monsterinsights_get_option( 'anonymous_data', false ) ) {
|
426 |
-
// if ( ! monsterinsights_is_dev_url( network_site_url( '/' ) ) ) {
|
427 |
-
// if ( monsterinsights_is_pro_version() ) {
|
428 |
-
// monsterinsights_update_option( 'anonymous_data', 1 );
|
429 |
-
// return;
|
430 |
-
// }
|
431 |
-
// $optin_url = add_query_arg( 'mi_action', 'opt_into_tracking' );
|
432 |
-
// $optout_url = add_query_arg( 'mi_action', 'opt_out_of_tracking' );
|
433 |
-
// echo '<div class="updated"><p>';
|
434 |
-
// echo esc_html__( 'Allow MonsterInsights to track plugin usage? Opt-in to tracking and our newsletter to stay informed of the latest changes to MonsterInsights and help us ensure compatibility.', 'google-analytics-for-wordpress' );
|
435 |
-
// echo ' <a href="' . esc_url( $optin_url ) . '" class="button-secondary">' . __( 'Allow', 'google-analytics-for-wordpress' ) . '</a>';
|
436 |
-
// echo ' <a href="' . esc_url( $optout_url ) . '" class="button-secondary">' . __( 'Do not allow', 'google-analytics-for-wordpress' ) . '</a>';
|
437 |
-
// echo '</p></div>';
|
438 |
-
// return;
|
439 |
-
// } else {
|
440 |
-
// // is testing site
|
441 |
-
// update_option( 'monsterinsights_tracking_notice', '1' );
|
442 |
-
// }
|
443 |
-
// }
|
444 |
-
// }
|
445 |
-
// }
|
446 |
-
|
447 |
-
$notices = get_option( 'monsterinsights_notices' );
|
448 |
-
if ( ! is_array( $notices ) ) {
|
449 |
-
$notices = array();
|
450 |
-
}
|
451 |
-
|
452 |
-
// 6. Authenticate, not manual
|
453 |
-
$authed = MonsterInsights()->auth->is_authed() || MonsterInsights()->auth->is_network_authed();
|
454 |
-
$url = is_network_admin() ? network_admin_url( 'admin.php?page=monsterinsights_network' ) : admin_url( 'admin.php?page=monsterinsights_settings' );
|
455 |
-
$ua_code = monsterinsights_get_ua_to_output();
|
456 |
-
// Translators: Placeholders add links to the settings panel.
|
457 |
-
$manual_text = sprintf( esc_html__( 'Important: You are currently using manual UA code output. We highly recommend %1$sauthenticating with MonsterInsights%2$s so that you can access our new reporting area and take advantage of new MonsterInsights features.', 'google-analytics-for-wordpress' ), '<a href="' . $url . '">', '</a>' );
|
458 |
-
$migrated = monsterinsights_get_option( 'gadwp_migrated', 0 );
|
459 |
-
if ( $migrated > 0 ) {
|
460 |
-
$url = admin_url( 'admin.php?page=monsterinsights-getting-started&monsterinsights-migration=1' );
|
461 |
-
// Translators: Placeholders add links to the settings panel.
|
462 |
-
$text = esc_html__( 'Click %1$shere%2$s to reauthenticate to be able to access reports. For more information why this is required, see our %3$sblog post%4$s.', 'google-analytics-for-wordpress' );
|
463 |
-
$manual_text = sprintf( $text, '<a href="' . $url . '">', '</a>', '<a href="' . monsterinsights_get_url( 'notice', 'manual-ua', 'https://www.exactmetrics.com/why-did-we-implement-the-new-google-analytics-authentication-flow-challenges-explained/' ) . '" target="_blank">', '</a>' );
|
464 |
-
}
|
465 |
-
|
466 |
-
if ( empty( $authed ) && ! isset( $notices['monsterinsights_auth_not_manual'] ) && ! empty( $ua_code ) ) {
|
467 |
-
echo '<div class="notice notice-info is-dismissible monsterinsights-notice" data-notice="monsterinsights_auth_not_manual">';
|
468 |
-
echo '<p>';
|
469 |
-
echo $manual_text;
|
470 |
-
echo '</p>';
|
471 |
-
echo '</div>';
|
472 |
-
|
473 |
-
return;
|
474 |
-
}
|
475 |
-
|
476 |
-
// 7. Automatic updates not configured
|
477 |
-
// if ( ! is_network_admin() ) {
|
478 |
-
// $updates = monsterinsights_get_option( 'automatic_updates', false );
|
479 |
-
// $url = admin_url( 'admin.php?page=monsterinsights_settings' );
|
480 |
-
|
481 |
-
// if ( empty( $updates) && ! isset( $notices['monsterinsights_automatic_updates' ] ) ) {
|
482 |
-
// echo '<div class="notice notice-info is-dismissible monsterinsights-notice" data-notice="monsterinsights_automatic_updates">';
|
483 |
-
// echo '<p>';
|
484 |
-
// echo sprintf( esc_html__( 'Important: Please %1$sconfigure the Automatic Updates Settings%2$s in MonsterInsights.', 'google-analytics-for-wordpress' ), '<a href="' . $url .'">', '</a>' );
|
485 |
-
// echo '</p>';
|
486 |
-
// echo '</div>';
|
487 |
-
// return;
|
488 |
-
// }
|
489 |
-
// }
|
490 |
-
|
491 |
-
// 8. WooUpsell
|
492 |
-
if ( ! monsterinsights_is_pro_version() && class_exists( 'WooCommerce' ) ) {
|
493 |
-
if ( ! isset( $notices['monsterinsights_woocommerce_tracking_available' ] ) ) {
|
494 |
-
echo '<div class="notice notice-success is-dismissible monsterinsights-notice monsterinsights-wooedd-upsell-row" data-notice="monsterinsights_woocommerce_tracking_available">';
|
495 |
-
echo '<div class="monsterinsights-wooedd-upsell-left">';
|
496 |
-
echo '<p><strong>';
|
497 |
-
echo esc_html( 'Enhanced Ecommerce Analytics for Your WooCommerce Store', 'google-analytics-for-wordpress' );
|
498 |
-
echo '</strong></p>';
|
499 |
-
echo '<img class="monsterinsights-wooedd-upsell-image monsterinsights-wooedd-upsell-image-small" src="' . trailingslashit( MONSTERINSIGHTS_PLUGIN_URL ) . 'assets/images/upsell/woo-edd-upsell.png">';
|
500 |
-
echo '<p>';
|
501 |
-
echo esc_html( 'MonsterInsights Pro gives you detailed stats and insights about your customers.', 'google-analytics-for-wordpress' );
|
502 |
-
echo '</p>';
|
503 |
-
echo '<p>';
|
504 |
-
echo esc_html( 'This helps you make data-driven decisions about your content, and marketing strategy so you can increase your website traffic, leads, and sales.', 'google-analytics-for-wordpress' );
|
505 |
-
echo '</p>';
|
506 |
-
echo '<p>';
|
507 |
-
echo esc_html( 'Pro customers also get Form Tracking, Custom Dimensions Tracking, UserID Tracking and much more.', 'google-analytics-for-wordpress' );
|
508 |
-
echo '</p>';
|
509 |
-
echo '<p>';
|
510 |
-
echo esc_html( 'Start making data-driven decisions to grow your business.', 'google-analytics-for-wordpress' );
|
511 |
-
echo '</p>';
|
512 |
-
// Translators: Placeholders add a link to the MonsterInsights website.
|
513 |
-
echo sprintf( esc_html__( '%1$sGet MonsterInsights Pro%2$s', 'google-analytics-for-wordpress' ), '<a class="button button-primary button-hero" href="'. monsterinsights_get_upgrade_link( 'admin-notices', 'woocommerce-upgrade' ) .'">', ' »</a>' );
|
514 |
-
echo '</p>';
|
515 |
-
echo '</div><div class="monsterinsights-wooedd-upsell-right">';
|
516 |
-
echo '<img class="monsterinsights-wooedd-upsell-image monsterinsights-wooedd-upsell-image-large" src="' . trailingslashit( MONSTERINSIGHTS_PLUGIN_URL ) . 'assets/images/upsell/woo-edd-upsell.png">';
|
517 |
-
echo '</div>';
|
518 |
-
echo '</div>';
|
519 |
-
echo '<style type="text/css">.monsterinsights-wooedd-upsell-left{width:50%;display:table-cell;float:left}.monsterinsights-wooedd-upsell-right{width:50%;display:table-cell;float:left}.monsterinsights-wooedd-upsell-image{width:100%;height:auto;padding:20px}.monsterinsights-wooedd-upsell-image-small{display:none}.monsterinsights-wooedd-upsell-row{display:table}.monsterinsights-wooedd-upsell-left p{margin:1em 0;font-size:16px}@media (max-width:900px){.monsterinsights-wooedd-upsell-left{width:100%}.monsterinsights-wooedd-upsell-right{display:none}.monsterinsights-wooedd-upsell-image-small{display:block}.monsterinsights-wooedd-upsell-image-large{display:none}}</style>';
|
520 |
-
return;
|
521 |
-
}
|
522 |
-
}
|
523 |
-
|
524 |
-
// 9. EDDUpsell
|
525 |
-
if ( ! monsterinsights_is_pro_version() && class_exists( 'Easy_Digital_Downloads' ) ) {
|
526 |
-
if ( ! isset( $notices['monsterinsights_edd_tracking_available' ] ) ) {
|
527 |
-
echo '<div class="notice notice-success is-dismissible monsterinsights-notice monsterinsights-wooedd-upsell-row" data-notice="monsterinsights_edd_tracking_available">';
|
528 |
-
echo '<div class="monsterinsights-wooedd-upsell-left">';
|
529 |
-
echo '<p><strong>';
|
530 |
-
echo esc_html( 'Enhanced Ecommerce Analytics for Your Easy Digital Downloads Store', 'google-analytics-for-wordpress' );
|
531 |
-
echo '</strong></p>';
|
532 |
-
echo '<img class="monsterinsights-wooedd-upsell-image monsterinsights-wooedd-upsell-image-small" src="' . trailingslashit( MONSTERINSIGHTS_PLUGIN_URL ) . 'assets/images/upsell/woo-edd-upsell.png">';
|
533 |
-
echo '<p>';
|
534 |
-
echo esc_html( 'MonsterInsights Pro gives you detailed stats and insights about your customers.', 'google-analytics-for-wordpress' );
|
535 |
-
echo '</p>';
|
536 |
-
echo '<p>';
|
537 |
-
echo esc_html( 'This helps you make data-driven decisions about your content, and marketing strategy so you can increase your website traffic, leads, and sales.', 'google-analytics-for-wordpress' );
|
538 |
-
echo '</p>';
|
539 |
-
echo '<p>';
|
540 |
-
echo esc_html( 'Pro customers also get Form Tracking, Custom Dimensions Tracking, UserID Tracking and much more.', 'google-analytics-for-wordpress' );
|
541 |
-
echo '</p>';
|
542 |
-
echo '<p>';
|
543 |
-
echo esc_html( 'Start making data-driven decisions to grow your business.', 'google-analytics-for-wordpress' );
|
544 |
-
echo '</p>';
|
545 |
-
echo sprintf( esc_html__( '%1$sGet MonsterInsights Pro%2$s', 'google-analytics-for-wordpress' ), '<a class="button button-primary button-hero" href="'. monsterinsights_get_upgrade_link( 'admin-notices', 'edd-upgrade' ) .'">', ' »</a>' );
|
546 |
-
echo '</p>';
|
547 |
-
echo '</div><div class="monsterinsights-wooedd-upsell-right">';
|
548 |
-
echo '<img class="monsterinsights-wooedd-upsell-image monsterinsights-wooedd-upsell-image-large" src="' . trailingslashit( MONSTERINSIGHTS_PLUGIN_URL ) . 'assets/images/upsell/woo-edd-upsell.png">';
|
549 |
-
echo '</div>';
|
550 |
-
echo '</div>';
|
551 |
-
return;
|
552 |
-
}
|
553 |
-
}
|
554 |
-
|
555 |
-
if ( isset( $notices['monsterinsights_cross_domains_extracted'] ) && false === $notices['monsterinsights_cross_domains_extracted'] ) {
|
556 |
-
$page = is_network_admin() ? network_admin_url( 'admin.php?page=monsterinsights_network' ) : admin_url( 'admin.php?page=monsterinsights_settings' );
|
557 |
-
$page = $page . '#/advanced';
|
558 |
-
// Translators: Adds a link to the settings panel.
|
559 |
-
$message = sprintf( esc_html__( 'Warning: MonsterInsights found cross-domain settings in the custom code field and converted them to the new settings structure. %1$sPlease click here to review and remove the code no longer needed.%2$s', 'google-analytics-for-wordpress' ), '<a href="'. esc_url( $page ) . '">', '</a>' );
|
560 |
-
echo '<div class="notice notice-success is-dismissible monsterinsights-notice" data-notice="monsterinsights_cross_domains_extracted"><p>'. $message.'</p></div>';
|
561 |
-
return;
|
562 |
-
}
|
563 |
-
}
|
564 |
-
add_action( 'admin_notices', 'monsterinsights_admin_setup_notices' );
|
565 |
-
add_action( 'network_admin_notices', 'monsterinsights_admin_setup_notices' );
|
566 |
-
|
567 |
-
|
568 |
-
// AM Notices
|
569 |
-
function monsterinsights_am_notice_optout( $super_admin ) {
|
570 |
-
if ( monsterinsights_get_option( 'hide_am_notices', false ) || monsterinsights_get_option( 'network_hide_am_notices', false ) ) {
|
571 |
-
return false;
|
572 |
-
}
|
573 |
-
return $super_admin;
|
574 |
-
}
|
575 |
-
add_filter( "am_notifications_display", 'monsterinsights_am_notice_optout', 10, 1 );
|
576 |
-
|
577 |
-
/**
|
578 |
-
* Inline critical css for the menu to prevent breaking the layout when our scripts get blocked by browsers.
|
579 |
-
*/
|
580 |
-
function monsterinsights_admin_menu_inline_styles() {
|
581 |
-
?>
|
582 |
-
<style type="text/css">
|
583 |
-
#toplevel_page_monsterinsights_reports .wp-menu-image img,
|
584 |
-
#toplevel_page_monsterinsights_settings .wp-menu-image img,
|
585 |
-
#toplevel_page_monsterinsights_network .wp-menu-image img {
|
586 |
-
width: 18px;
|
587 |
-
height: auto;
|
588 |
-
padding-top: 7px;
|
589 |
-
}
|
590 |
-
</style>
|
591 |
-
<?php
|
592 |
-
}
|
593 |
-
|
594 |
-
add_action( 'admin_head', 'monsterinsights_admin_menu_inline_styles', 300 );
|
595 |
-
|
596 |
-
/**
|
597 |
-
* Display notice in admin when measurement protocol is left blank
|
598 |
-
*/
|
599 |
-
function monsterinsights_empty_measurement_protocol_token() {
|
600 |
-
if ( ! class_exists( 'MonsterInsights_eCommerce' ) && ! class_exists( 'MonsterInsights_Forms' ) ) {
|
601 |
-
return;
|
602 |
-
}
|
603 |
-
|
604 |
-
$page = is_network_admin()
|
605 |
-
? network_admin_url( 'admin.php?page=monsterinsights_network' )
|
606 |
-
: admin_url( 'admin.php?page=monsterinsights_settings' );
|
607 |
-
|
608 |
-
$api_secret = is_network_admin()
|
609 |
-
? MonsterInsights()->auth->get_network_measurement_protocol_secret()
|
610 |
-
: MonsterInsights()->auth->get_measurement_protocol_secret();
|
611 |
-
|
612 |
-
$current_code = monsterinsights_get_v4_id_to_output();
|
613 |
-
|
614 |
-
if ( empty( $current_code ) || ! empty( $api_secret ) ) {
|
615 |
-
return;
|
616 |
-
}
|
617 |
-
|
618 |
-
$message = sprintf(
|
619 |
-
esc_html__(
|
620 |
-
'Your Measurement Protocol API Secret is currently left blank, so you won\'t be able to use some of the tracking features with your GA4 property. %1$sPlease enter your Measurement Protocol API Secret here.%2$s',
|
621 |
-
'google-analytics-for-wordpress'
|
622 |
-
),
|
623 |
-
'<a href="' . esc_url( $page ). '">',
|
624 |
-
'</a>'
|
625 |
-
);
|
626 |
-
echo '<div class="error"><p>'. $message.'</p></div>';
|
627 |
-
}
|
628 |
-
|
629 |
-
add_action( 'admin_notices', 'monsterinsights_empty_measurement_protocol_token' );
|
630 |
-
add_action( 'network_admin_notices', 'monsterinsights_admin_setup_notices' );
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Admin class.
|
4 |
+
*
|
5 |
+
* @since 6.0.0
|
6 |
+
*
|
7 |
+
* @package MonsterInsights
|
8 |
+
* @subpackage Admin
|
9 |
+
* @author Chris Christoff
|
10 |
+
*/
|
11 |
+
|
12 |
+
// Exit if accessed directly
|
13 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
14 |
+
exit;
|
15 |
+
}
|
16 |
+
|
17 |
+
/**
|
18 |
+
* Register menu items for MonsterInsights.
|
19 |
+
*
|
20 |
+
* @since 6.0.0
|
21 |
+
* @access public
|
22 |
+
*
|
23 |
+
* @return void
|
24 |
+
*/
|
25 |
+
function monsterinsights_admin_menu() {
|
26 |
+
$hook = monsterinsights_get_menu_hook();
|
27 |
+
$menu_icon_inline = monsterinsights_get_inline_menu_icon();
|
28 |
+
|
29 |
+
if ( $hook === 'monsterinsights_settings' ) {
|
30 |
+
// If dashboards disabled, first settings page
|
31 |
+
add_menu_page( __( 'MonsterInsights', 'google-analytics-for-wordpress' ), __( 'Insights', 'google-analytics-for-wordpress' ) . MonsterInsights()->notifications->get_menu_count(), 'monsterinsights_save_settings', 'monsterinsights_settings', 'monsterinsights_settings_page', $menu_icon_inline, '100.00013467543' );
|
32 |
+
$hook = 'monsterinsights_settings';
|
33 |
+
|
34 |
+
add_submenu_page( $hook, __( 'MonsterInsights', 'google-analytics-for-wordpress' ), __( 'Settings', 'google-analytics-for-wordpress' ), 'monsterinsights_save_settings', 'monsterinsights_settings' );
|
35 |
+
} else {
|
36 |
+
// if dashboards enabled, first dashboard
|
37 |
+
add_menu_page( __( 'General:', 'google-analytics-for-wordpress' ), __( 'Insights', 'google-analytics-for-wordpress' ) . MonsterInsights()->notifications->get_menu_count(), 'monsterinsights_view_dashboard', 'monsterinsights_reports', 'monsterinsights_reports_page', $menu_icon_inline, '100.00013467543' );
|
38 |
+
|
39 |
+
add_submenu_page( $hook, __( 'General Reports:', 'google-analytics-for-wordpress' ), __( 'Reports', 'google-analytics-for-wordpress' ), 'monsterinsights_view_dashboard', 'monsterinsights_reports', 'monsterinsights_reports_page' );
|
40 |
+
|
41 |
+
// then settings page
|
42 |
+
add_submenu_page( $hook, __( 'MonsterInsights', 'google-analytics-for-wordpress' ), __( 'Settings', 'google-analytics-for-wordpress' ), 'monsterinsights_save_settings', 'monsterinsights_settings', 'monsterinsights_settings_page' );
|
43 |
+
|
44 |
+
// Add dashboard submenu.
|
45 |
+
add_submenu_page( 'index.php', __( 'General Reports:', 'google-analytics-for-wordpress' ), __( 'Insights', 'google-analytics-for-wordpress' ), 'monsterinsights_view_dashboard', 'admin.php?page=monsterinsights_reports' );
|
46 |
+
}
|
47 |
+
|
48 |
+
$submenu_base = add_query_arg( 'page', 'monsterinsights_settings', admin_url( 'admin.php' ) );
|
49 |
+
|
50 |
+
// Add Popular Posts menu item.
|
51 |
+
add_submenu_page( $hook, __( 'Popular Posts:', 'google-analytics-for-wordpress' ), __( 'Popular Posts', 'google-analytics-for-wordpress' ), 'monsterinsights_save_settings', $submenu_base . '#/popular-posts' );
|
52 |
+
|
53 |
+
if ( function_exists( 'aioseo' ) ) {
|
54 |
+
$seo_url = monsterinsights_aioseo_dashboard_url();
|
55 |
+
} else {
|
56 |
+
$seo_url = $submenu_base . '#/seo';
|
57 |
+
}
|
58 |
+
// then SEO
|
59 |
+
add_submenu_page( $hook, __( 'SEO', 'google-analytics-for-wordpress' ), __( 'SEO', 'google-analytics-for-wordpress' ), 'manage_options', $seo_url );
|
60 |
+
|
61 |
+
// then tools
|
62 |
+
add_submenu_page( $hook, __( 'Tools:', 'google-analytics-for-wordpress' ), __( 'Tools', 'google-analytics-for-wordpress' ), 'manage_options', $submenu_base . '#/tools' );
|
63 |
+
|
64 |
+
// then addons
|
65 |
+
$network_key = monsterinsights_is_pro_version() ? MonsterInsights()->license->get_network_license_key() : '';
|
66 |
+
if ( ! monsterinsights_is_network_active() || ( monsterinsights_is_network_active() && empty( $network_key ) ) ) {
|
67 |
+
add_submenu_page( $hook, __( 'Addons:', 'google-analytics-for-wordpress' ), '<span style="color:' . monsterinsights_menu_highlight_color() . '"> ' . __( 'Addons', 'google-analytics-for-wordpress' ) . '</span>', 'monsterinsights_save_settings', $submenu_base . '#/addons' );
|
68 |
+
}
|
69 |
+
|
70 |
+
// Add About us page.
|
71 |
+
add_submenu_page( $hook, __( 'About Us:', 'google-analytics-for-wordpress' ), __( 'About Us', 'google-analytics-for-wordpress' ), 'manage_options', $submenu_base . '#/about' );
|
72 |
+
|
73 |
+
add_submenu_page( $hook, __( 'Growth Tools:', 'google-analytics-for-wordpress' ), __( 'Growth Tools', 'google-analytics-for-wordpress' ), 'manage_options', $submenu_base . '#/growth-tools' );
|
74 |
+
|
75 |
+
if ( ! monsterinsights_is_pro_version() ) {
|
76 |
+
add_submenu_page( $hook, __( 'Upgrade to Pro:', 'google-analytics-for-wordpress' ), '<span class="monsterinsights-upgrade-submenu"> ' . __( 'Upgrade to Pro', 'google-analytics-for-wordpress' ) . '</span>', 'monsterinsights_save_settings', monsterinsights_get_upgrade_link( 'admin-menu', 'submenu', "https://www.monsterinsights.com/lite/" ) );
|
77 |
+
}
|
78 |
+
|
79 |
+
}
|
80 |
+
add_action( 'admin_menu', 'monsterinsights_admin_menu' );
|
81 |
+
|
82 |
+
/**
|
83 |
+
* Add this separately so all the Woo menu items are loaded and the position parameter works correctly.
|
84 |
+
*/
|
85 |
+
function monsterinsights_woocommerce_menu_item() {
|
86 |
+
// Add "Insights" sub menu item for WooCommerce Analytics menu
|
87 |
+
if ( class_exists( 'WooCommerce' ) && ! apply_filters( 'monsterinsights_disable_woo_analytics_menu', false ) ) {
|
88 |
+
if ( class_exists( 'MonsterInsights_eCommerce' ) ) {
|
89 |
+
add_submenu_page( 'wc-admin&path=/analytics/overview', __( 'Insights', 'google-analytics-for-wordpress' ), __( 'Insights', 'google-analytics-for-wordpress' ), 'monsterinsights_view_dashboard', admin_url( 'admin.php?page=monsterinsights_reports#/ecommerce' ), '', 2 );
|
90 |
+
} else {
|
91 |
+
$submenu_base = add_query_arg( 'page', 'monsterinsights_settings', admin_url( 'admin.php' ) );
|
92 |
+
add_submenu_page( 'wc-admin&path=/analytics/overview', __( 'Insights', 'google-analytics-for-wordpress' ), __( 'Insights', 'google-analytics-for-wordpress' ), 'manage_options', $submenu_base . '#/woocommerce-insights', '', 1 );
|
93 |
+
}
|
94 |
+
}
|
95 |
+
}
|
96 |
+
|
97 |
+
add_action( 'admin_menu', 'monsterinsights_woocommerce_menu_item', 11 );
|
98 |
+
|
99 |
+
function monsterinsights_get_menu_hook() {
|
100 |
+
$dashboards_disabled = monsterinsights_get_option( 'dashboards_disabled', false );
|
101 |
+
if ( $dashboards_disabled || ( current_user_can( 'monsterinsights_save_settings' ) && ! current_user_can( 'monsterinsights_view_dashboard' ) ) ) {
|
102 |
+
return 'monsterinsights_settings';
|
103 |
+
} else {
|
104 |
+
return 'monsterinsights_reports';
|
105 |
+
}
|
106 |
+
}
|
107 |
+
|
108 |
+
function monsterinsights_network_admin_menu() {
|
109 |
+
// Get the base class object.
|
110 |
+
$base = MonsterInsights();
|
111 |
+
|
112 |
+
// First, let's see if this is an MS network enabled plugin. If it is, we should load the license
|
113 |
+
// menu page and the updater on the network panel
|
114 |
+
if ( ! function_exists( 'is_plugin_active_for_network' ) ) {
|
115 |
+
require_once( ABSPATH . '/wp-admin/includes/plugin.php' );
|
116 |
+
}
|
117 |
+
|
118 |
+
$plugin = plugin_basename( MONSTERINSIGHTS_PLUGIN_FILE );
|
119 |
+
if ( ! is_plugin_active_for_network( $plugin ) ) {
|
120 |
+
return;
|
121 |
+
}
|
122 |
+
|
123 |
+
$menu_icon_inline = monsterinsights_get_inline_menu_icon();
|
124 |
+
$hook = 'monsterinsights_network';
|
125 |
+
$submenu_base = add_query_arg( 'page', 'monsterinsights_network', network_admin_url( 'admin.php' ) );
|
126 |
+
add_menu_page( __( 'Network Settings:', 'google-analytics-for-wordpress' ), __( 'Insights', 'google-analytics-for-wordpress' ) . MonsterInsights()->notifications->get_menu_count(), 'monsterinsights_save_settings', 'monsterinsights_network', 'monsterinsights_network_page', $menu_icon_inline, '100.00013467543' );
|
127 |
+
|
128 |
+
add_submenu_page( $hook, __( 'Network Settings:', 'google-analytics-for-wordpress' ), __( 'Network Settings', 'google-analytics-for-wordpress' ), 'monsterinsights_save_settings', 'monsterinsights_network', 'monsterinsights_network_page' );
|
129 |
+
|
130 |
+
add_submenu_page( $hook, __( 'General Reports:', 'google-analytics-for-wordpress' ), __( 'Reports', 'google-analytics-for-wordpress' ), 'monsterinsights_view_dashboard', 'monsterinsights_reports', 'monsterinsights_reports_page' );
|
131 |
+
|
132 |
+
if ( function_exists( 'aioseo' ) ) {
|
133 |
+
$seo_url = monsterinsights_aioseo_dashboard_url();
|
134 |
+
} else {
|
135 |
+
$seo_url = $submenu_base . '#/seo';
|
136 |
+
}
|
137 |
+
// then seo
|
138 |
+
add_submenu_page( $hook, __( 'SEO:', 'google-analytics-for-wordpress' ), __( 'SEO', 'google-analytics-for-wordpress' ), 'manage_options', $seo_url, 'monsterinsights_seo_page' );
|
139 |
+
|
140 |
+
// then addons
|
141 |
+
add_submenu_page( $hook, __( 'Addons:', 'google-analytics-for-wordpress' ), '<span style="color:' . monsterinsights_menu_highlight_color() . '"> ' . __( 'Addons', 'google-analytics-for-wordpress' ) . '</span>', 'monsterinsights_save_settings', $submenu_base . '#/addons' );
|
142 |
+
|
143 |
+
$submenu_base = add_query_arg( 'page', 'monsterinsights_network', network_admin_url( 'admin.php' ) );
|
144 |
+
|
145 |
+
// Add About us page.
|
146 |
+
add_submenu_page( $hook, __( 'About Us:', 'google-analytics-for-wordpress' ), __( 'About Us', 'google-analytics-for-wordpress' ), 'manage_options', $submenu_base . '#/about' );
|
147 |
+
}
|
148 |
+
add_action( 'network_admin_menu', 'monsterinsights_network_admin_menu', 5 );
|
149 |
+
|
150 |
+
/**
|
151 |
+
* Adds one or more classes to the body tag in the dashboard.
|
152 |
+
*
|
153 |
+
* @param String $classes Current body classes.
|
154 |
+
* @return String Altered body classes.
|
155 |
+
*/
|
156 |
+
function monsterinsights_add_admin_body_class( $classes ) {
|
157 |
+
$screen = function_exists( 'get_current_screen' ) ? get_current_screen() : false;
|
158 |
+
if ( empty( $screen ) || empty( $screen->id ) || strpos( $screen->id, 'monsterinsights' ) === false ) {
|
159 |
+
return $classes;
|
160 |
+
}
|
161 |
+
|
162 |
+
return "$classes monsterinsights_page ";
|
163 |
+
}
|
164 |
+
add_filter( 'admin_body_class', 'monsterinsights_add_admin_body_class', 10, 1 );
|
165 |
+
|
166 |
+
/**
|
167 |
+
* Adds one or more classes to the body tag in the dashboard.
|
168 |
+
*
|
169 |
+
* @param String $classes Current body classes.
|
170 |
+
* @return String Altered body classes.
|
171 |
+
*/
|
172 |
+
function monsterinsights_add_admin_body_class_tools_page( $classes ) {
|
173 |
+
$screen = function_exists( 'get_current_screen' ) ? get_current_screen() : false;
|
174 |
+
|
175 |
+
if ( empty( $screen ) || empty( $screen->id ) || strpos( $screen->id, 'monsterinsights_tools' ) === false || 'insights_page_monsterinsights_tools' === $screen->id ) {
|
176 |
+
return $classes;
|
177 |
+
}
|
178 |
+
|
179 |
+
return "$classes insights_page_monsterinsights_tools ";
|
180 |
+
}
|
181 |
+
add_filter( 'admin_body_class', 'monsterinsights_add_admin_body_class_tools_page', 10, 1 );
|
182 |
+
|
183 |
+
/**
|
184 |
+
* Adds one or more classes to the body tag in the dashboard.
|
185 |
+
*
|
186 |
+
* @param String $classes Current body classes.
|
187 |
+
* @return String Altered body classes.
|
188 |
+
*/
|
189 |
+
function monsterinsights_add_admin_body_class_addons_page( $classes ) {
|
190 |
+
$screen = function_exists( 'get_current_screen' ) ? get_current_screen() : false;
|
191 |
+
if ( empty( $screen ) || empty( $screen->id ) || strpos( $screen->id, 'monsterinsights_addons' ) === false || 'insights_page_monsterinsights_addons' === $screen->id ) {
|
192 |
+
return $classes;
|
193 |
+
}
|
194 |
+
|
195 |
+
return "$classes insights_page_monsterinsights_addons ";
|
196 |
+
}
|
197 |
+
add_filter( 'admin_body_class', 'monsterinsights_add_admin_body_class_addons_page', 10, 1 );
|
198 |
+
|
199 |
+
/**
|
200 |
+
* Add a link to the settings page to the plugins list
|
201 |
+
*
|
202 |
+
* @param array $links array of links for the plugins, adapted when the current plugin is found.
|
203 |
+
*
|
204 |
+
* @return array $links
|
205 |
+
*/
|
206 |
+
function monsterinsights_add_action_links( $links ) {
|
207 |
+
$docs = '<a title="' . esc_html__( 'MonsterInsights Knowledge Base', 'google-analytics-for-wordpress' ) . '" href="'. monsterinsights_get_url( 'all-plugins', 'kb-link', "https://www.monsterinsights.com/docs/" ) .'">' . esc_html__( 'Documentation', 'google-analytics-for-wordpress' ) . '</a>';
|
208 |
+
array_unshift( $links, $docs );
|
209 |
+
|
210 |
+
// If Lite, support goes to forum. If pro, it goes to our website
|
211 |
+
if ( monsterinsights_is_pro_version() ) {
|
212 |
+
$support = '<a title="MonsterInsights Pro Support" href="'. monsterinsights_get_url( 'all-plugins', 'pro-support-link', "https://www.monsterinsights.com/my-account/support/" ) .'">' . esc_html__( 'Support', 'google-analytics-for-wordpress' ) . '</a>';
|
213 |
+
array_unshift( $links, $support );
|
214 |
+
} else {
|
215 |
+
$support = '<a title="MonsterInsights Lite Support" href="'. monsterinsights_get_url( 'all-plugins', 'lite-support-link', "https://www.monsterinsights.com/lite-support/" ) .'">' . esc_html__( 'Support', 'google-analytics-for-wordpress' ) . '</a>';
|
216 |
+
array_unshift( $links, $support );
|
217 |
+
}
|
218 |
+
|
219 |
+
if ( is_network_admin() ) {
|
220 |
+
$settings_link = '<a href="' . esc_url( network_admin_url( 'admin.php?page=monsterinsights_network' ) ) . '">' . esc_html__( 'Network Settings', 'google-analytics-for-wordpress' ) . '</a>';
|
221 |
+
} else {
|
222 |
+
$settings_link = '<a href="' . esc_url( admin_url( 'admin.php?page=monsterinsights_settings' ) ) . '">' . esc_html__( 'Settings', 'google-analytics-for-wordpress' ) . '</a>';
|
223 |
+
}
|
224 |
+
|
225 |
+
array_unshift( $links, $settings_link );
|
226 |
+
|
227 |
+
// If lite, show a link where they can get pro from
|
228 |
+
if ( ! monsterinsights_is_pro_version() ) {
|
229 |
+
$get_pro = '<a title="' . esc_html__( 'Get MonsterInsights Pro', 'google-analytics-for-wordpress' ) .'" target="_blank" rel="noopener" href="'. monsterinsights_get_upgrade_link( 'all-plugins', 'upgrade-link', "https://www.monsterinsights.com/lite/" ) .'" style="font-weight:700; color: #1da867;">' . esc_html__( 'Get MonsterInsights Pro', 'google-analytics-for-wordpress' ) . '</a>';
|
230 |
+
array_unshift( $links, $get_pro );
|
231 |
+
}
|
232 |
+
|
233 |
+
return $links;
|
234 |
+
}
|
235 |
+
add_filter( 'plugin_action_links_' . plugin_basename( MONSTERINSIGHTS_PLUGIN_FILE ), 'monsterinsights_add_action_links' );
|
236 |
+
add_filter( 'network_admin_plugin_action_links_' . plugin_basename( MONSTERINSIGHTS_PLUGIN_FILE ), 'monsterinsights_add_action_links' );
|
237 |
+
|
238 |
+
/**
|
239 |
+
* Loads a partial view for the Administration screen
|
240 |
+
*
|
241 |
+
* @access public
|
242 |
+
* @since 6.0.0
|
243 |
+
*
|
244 |
+
* @param string $template PHP file at includes/admin/partials, excluding file extension
|
245 |
+
* @param array $data Any data to pass to the view
|
246 |
+
* @return void
|
247 |
+
*/
|
248 |
+
function monsterinsights_load_admin_partial( $template, $data = array() ) {
|
249 |
+
|
250 |
+
if ( monsterinsights_is_pro_version() ) {
|
251 |
+
$dir = trailingslashit( plugin_dir_path( MonsterInsights()->file ) . 'pro/includes/admin/partials' );
|
252 |
+
|
253 |
+
if ( file_exists( $dir . $template . '.php' ) ) {
|
254 |
+
require_once( $dir . $template . '.php' );
|
255 |
+
return true;
|
256 |
+
}
|
257 |
+
} else {
|
258 |
+
$dir = trailingslashit( plugin_dir_path( MonsterInsights()->file ) . 'lite/includes/admin/partials' );
|
259 |
+
|
260 |
+
if ( file_exists( $dir . $template . '.php' ) ) {
|
261 |
+
require_once( $dir . $template . '.php' );
|
262 |
+
return true;
|
263 |
+
}
|
264 |
+
}
|
265 |
+
|
266 |
+
$dir = trailingslashit( plugin_dir_path( MonsterInsights()->file ) . 'includes/admin/partials' );
|
267 |
+
|
268 |
+
if ( file_exists( $dir . $template . '.php' ) ) {
|
269 |
+
require_once( $dir . $template . '.php' );
|
270 |
+
return true;
|
271 |
+
}
|
272 |
+
|
273 |
+
return false;
|
274 |
+
}
|
275 |
+
|
276 |
+
/**
|
277 |
+
* When user is on a MonsterInsights related admin page, display footer text
|
278 |
+
* that graciously asks them to rate us.
|
279 |
+
*
|
280 |
+
* @since 6.0.0
|
281 |
+
* @param string $text
|
282 |
+
* @return string
|
283 |
+
*/
|
284 |
+
function monsterinsights_admin_footer( $text ) {
|
285 |
+
global $current_screen;
|
286 |
+
if ( ! empty( $current_screen->id ) && strpos( $current_screen->id, 'monsterinsights' ) !== false ) {
|
287 |
+
$url = 'https://wordpress.org/support/view/plugin-reviews/google-analytics-for-wordpress?filter=5';
|
288 |
+
// Translators: Placeholders add a link to the wordpress.org repository.
|
289 |
+
$text = sprintf( esc_html__( 'Please rate %1$sMonsterInsights%2$s on %3$s %4$sWordPress.org%5$s to help us spread the word. Thank you from the MonsterInsights team!', 'google-analytics-for-wordpress' ), '<strong>', '</strong>', '<a class="monsterinsights-no-text-decoration" href="' . $url . '" target="_blank" rel="noopener noreferrer"><i class="monstericon-star"></i><i class="monstericon-star"></i><i class="monstericon-star"></i><i class="monstericon-star"></i><i class="monstericon-star"></i></a>', '<a href="' . $url . '" target="_blank" rel="noopener noreferrer">', '</a>' );
|
290 |
+
}
|
291 |
+
return $text;
|
292 |
+
}
|
293 |
+
add_filter( 'admin_footer_text', 'monsterinsights_admin_footer', 1, 2 );
|
294 |
+
|
295 |
+
function monsterinsights_admin_setup_notices() {
|
296 |
+
|
297 |
+
// Don't show on MonsterInsights pages
|
298 |
+
$screen = get_current_screen();
|
299 |
+
if ( empty( $screen->id ) || strpos( $screen->id, 'monsterinsights' ) !== false ) {
|
300 |
+
return;
|
301 |
+
}
|
302 |
+
|
303 |
+
// Make sure they have the permissions to do something
|
304 |
+
if ( ! current_user_can( 'monsterinsights_save_settings' ) ) {
|
305 |
+
return;
|
306 |
+
}
|
307 |
+
|
308 |
+
// Priority:
|
309 |
+
// 1. Google Analytics not authenticated
|
310 |
+
// 2. License key not entered for pro
|
311 |
+
// 3. License key not valid/okay for pro
|
312 |
+
// 4. WordPress + PHP min versions
|
313 |
+
// 5. (old) Optin setting not configured
|
314 |
+
// 6. Manual UA code
|
315 |
+
// 7. Automatic updates not configured
|
316 |
+
// 8. Woo upsell
|
317 |
+
// 9. EDD upsell
|
318 |
+
|
319 |
+
|
320 |
+
// 1. Google Analytics not authenticated
|
321 |
+
if ( ! is_network_admin() && ! monsterinsights_get_ua() && ! monsterinsights_get_v4_id() && ! defined( 'MONSTERINSIGHTS_DISABLE_TRACKING' ) ) {
|
322 |
+
|
323 |
+
$submenu_base = is_network_admin() ? add_query_arg( 'page', 'monsterinsights_network', network_admin_url( 'admin.php' ) ) : add_query_arg( 'page', 'monsterinsights_settings', admin_url( 'admin.php' ) );
|
324 |
+
$title = esc_html__( 'Please Setup Website Analytics to See Audience Insights', 'google-analytics-for-wordpress' );
|
325 |
+
$primary = esc_html__( 'Connect MonsterInsights and Setup Website Analytics', 'google-analytics-for-wordpress' );
|
326 |
+
$urlone = is_network_admin() ? network_admin_url( 'admin.php?page=monsterinsights-onboarding' ) : admin_url( 'admin.php?page=monsterinsights-onboarding' );
|
327 |
+
$secondary = esc_html__( 'Learn More', 'google-analytics-for-wordpress' );
|
328 |
+
$urltwo = $submenu_base . '#/about/getting-started';
|
329 |
+
$message = esc_html__( 'MonsterInsights, WordPress analytics plugin, helps you connect your website with Google Analytics, so you can see how people find and use your website. Over 3 million website owners use MonsterInsights to see the stats that matter and grow their business.', 'google-analytics-for-wordpress' );
|
330 |
+
echo '<div class="notice notice-info"><p style="font-weight:700">'. $title .'</p><p>'. $message.'</p><p><a href="'. $urlone .'" class="button-primary">'. $primary .'</a> <a href="'. $urltwo .'" class="button-secondary">'. $secondary .'</a></p></div>';
|
331 |
+
return;
|
332 |
+
}
|
333 |
+
|
334 |
+
// 2. License key not entered for pro
|
335 |
+
$key = monsterinsights_is_pro_version() ? MonsterInsights()->license->get_license_key() : '';
|
336 |
+
if ( monsterinsights_is_pro_version() && empty( $key ) ) {
|
337 |
+
$page = is_network_admin() ? network_admin_url( 'admin.php?page=monsterinsights_network' ) : admin_url( 'admin.php?page=monsterinsights_settings' );
|
338 |
+
// Translators: Adds a link to retrieve the license.
|
339 |
+
$message = sprintf( esc_html__( 'Warning: No valid license key has been entered for MonsterInsights. You are currently not getting updates, and are not able to view reports. %1$sPlease click here to enter your license key and begin receiving updates and reports.%2$s', 'google-analytics-for-wordpress' ), '<a href="'. esc_url( $page ) . '">', '</a>' );
|
340 |
+
echo '<div class="error"><p>'. $message.'</p></div>';
|
341 |
+
return;
|
342 |
+
}
|
343 |
+
|
344 |
+
// 3. License key not valid/okay for pro
|
345 |
+
if ( monsterinsights_is_pro_version() ) {
|
346 |
+
$message = '';
|
347 |
+
if ( MonsterInsights()->license->get_site_license_key() ){
|
348 |
+
if ( MonsterInsights()->license->site_license_expired() ) {
|
349 |
+
// Translators: Adds a link to the license renewal.
|
350 |
+
$message = sprintf( esc_html__( 'Your license key for MonsterInsights has expired. %1$sPlease click here to renew your license key.%2$s', 'google-analytics-for-wordpress' ), '<a href="'. monsterinsights_get_url( 'admin-notices', 'expired-license', "https://www.monsterinsights.com/login/" ) .'" target="_blank" rel="noopener noreferrer" referrer="no-referrer">', '</a>' );
|
351 |
+
} else if ( MonsterInsights()->license->site_license_disabled() ) {
|
352 |
+
$message = esc_html__( 'Your license key for MonsterInsights has been disabled. Please use a different key.', 'google-analytics-for-wordpress' );
|
353 |
+
} else if ( MonsterInsights()->license->site_license_invalid() ) {
|
354 |
+
$message = esc_html__( 'Your license key for MonsterInsights is invalid. The key no longer exists or the user associated with the key has been deleted. Please use a different key.', 'google-analytics-for-wordpress' );
|
355 |
+
}
|
356 |
+
} else if ( MonsterInsights()->license->get_network_license_key() ) {
|
357 |
+
if ( MonsterInsights()->license->network_license_expired() ) {
|
358 |
+
// Translators: Adds a link to renew license.
|
359 |
+
$message = sprintf( esc_html__( 'Your network license key for MonsterInsights has expired. %1$sPlease click here to renew your license key.%2$s', 'google-analytics-for-wordpress' ), '<a href="'. monsterinsights_get_url( 'admin-notices', 'expired-license', "https://www.monsterinsights.com/login/" ) .'" target="_blank" rel="noopener noreferrer" referrer="no-referrer">', '</a>' );
|
360 |
+
} else if ( MonsterInsights()->license->network_license_disabled() ) {
|
361 |
+
$message = esc_html__( 'Your network license key for MonsterInsights has been disabled. Please use a different key.', 'google-analytics-for-wordpress' );
|
362 |
+
} else if ( MonsterInsights()->license->network_license_invalid() ) {
|
363 |
+
$message = esc_html__( 'Your network license key for MonsterInsights is invalid. The key no longer exists or the user associated with the key has been deleted. Please use a different key.', 'google-analytics-for-wordpress' );
|
364 |
+
}
|
365 |
+
}
|
366 |
+
if ( ! empty( $message ) ) {
|
367 |
+
echo '<div class="error"><p>'. $message.'</p></div>';
|
368 |
+
return;
|
369 |
+
}
|
370 |
+
}
|
371 |
+
|
372 |
+
// 4. Notices for PHP/WP version deprecations
|
373 |
+
if ( current_user_can( 'update_core' ) ) {
|
374 |
+
global $wp_version;
|
375 |
+
|
376 |
+
$compatible_php_version = apply_filters( 'monsterinsights_compatible_php_version', false );
|
377 |
+
$compatible_wp_version = apply_filters( 'monsterinsights_compatible_wp_version', false );
|
378 |
+
|
379 |
+
$url = monsterinsights_get_url( 'global-notice', 'settings-page', 'https://www.monsterinsights.com/docs/update-php/' );
|
380 |
+
|
381 |
+
$message = false;
|
382 |
+
if ( version_compare( phpversion(), $compatible_php_version['required'], '<' ) ) {
|
383 |
+
// Translators: Placeholders add the PHP version, a link to the MonsterInsights blog and a line break.
|
384 |
+
$message = sprintf( esc_html__( 'Your site is running an outdated, insecure version of PHP (%1$s), which could be putting your site at risk for being hacked.%4$sWordPress stopped supporting your PHP version in April, 2019.%4$sUpdating PHP only takes a few minutes and will make your website significantly faster and more secure.%4$s%2$sLearn more about updating PHP%3$s', 'google-analytics-for-wordpress' ), phpversion(), '<a href="' . $url . '" target="_blank">', '</a>', '<br>' );
|
385 |
+
} else if ( version_compare( phpversion(), $compatible_php_version['warning'], '<' ) ) {
|
386 |
+
// Translators: Placeholders add the PHP version, a link to the MonsterInsights blog and a line break.
|
387 |
+
$message = sprintf( esc_html__( 'Your site is running an outdated, insecure version of PHP (%1$s), which could be putting your site at risk for being hacked.%4$sWordPress stopped supporting your PHP version in November, 2019.%4$sUpdating PHP only takes a few minutes and will make your website significantly faster and more secure.%4$s%2$sLearn more about updating PHP%3$s', 'google-analytics-for-wordpress' ), phpversion(), '<a href="' . $url . '" target="_blank">', '</a>', '<br>' );
|
388 |
+
} else if ( version_compare( phpversion(), $compatible_php_version['recommended'], '<' ) ) {
|
389 |
+
// Translators: Placeholders add the PHP version, a link to the MonsterInsights blog and a line break.
|
390 |
+
$message = sprintf( esc_html__( 'Your site is running an outdated, insecure version of PHP (%1$s), which could be putting your site at risk for being hacked.%4$sWordPress is working towards discontinuing support for your PHP version.%4$sUpdating PHP only takes a few minutes and will make your website significantly faster and more secure.%4$s%2$sLearn more about updating PHP%3$s', 'google-analytics-for-wordpress' ), phpversion(), '<a href="' . $url . '" target="_blank">', '</a>', '<br>' );
|
391 |
+
}
|
392 |
+
|
393 |
+
if ( $message ) {
|
394 |
+
echo '<div class="error"><p>'. $message.'</p></div>';
|
395 |
+
return;
|
396 |
+
}
|
397 |
+
|
398 |
+
// WordPress 4.9
|
399 |
+
/* else if ( version_compare( $wp_version, '5.0', '<' ) ) {
|
400 |
+
$url = monsterinsights_get_url( 'global-notice', 'settings-page', 'https://www.monsterinsights.com/docs/update-wordpress/' );
|
401 |
+
// Translators: Placeholders add the current WordPress version and links to the MonsterInsights blog
|
402 |
+
$message = sprintf( esc_html__( 'Your site is running an outdated version of WordPress (%1$s).%4$sMonsterInsights will stop supporting WordPress versions lower than 5.0 in 2021.%4$sUpdating WordPress takes just a few minutes and will also solve many bugs that exist in your WordPress install.%4$s%2$sLearn more about updating WordPress%3$s', 'google-analytics-for-wordpress' ), $wp_version, '<a href="' . $url . '" target="_blank">', '</a>', '<br>' );
|
403 |
+
echo '<div class="error"><p>'. $message.'</p></div>';
|
404 |
+
return;
|
405 |
+
} */
|
406 |
+
// PHP 5.4/5.5
|
407 |
+
// else if ( version_compare( phpversion(), '5.6', '<' ) ) {
|
408 |
+
// $url = monsterinsights_get_url( 'global-notice', 'settings-page', 'https://www.monsterinsights.com/docs/update-php/' );
|
409 |
+
// $message = sprintf( esc_html__( 'Your site is running an outdated, insecure version of PHP (%1$s), which could be putting your site at risk for being hacked.%4$sWordPress will stop supporting your PHP version in April, 2019.%4$sUpdating PHP only takes a few minutes and will make your website significantly faster and more secure.%4$s%2$sLearn more about updating PHP%3$s', 'google-analytics-for-wordpress' ), phpversion(), '<a href="' . $url . '" target="_blank">', '</a>', '<br>' );
|
410 |
+
// echo '<div class="error"><p>'. $message.'</p></div>';
|
411 |
+
// return;
|
412 |
+
// }
|
413 |
+
// // WordPress 4.6 - 4.8
|
414 |
+
// else if ( version_compare( $wp_version, '4.9', '<' ) ) {
|
415 |
+
// $url = monsterinsights_get_url( 'global-notice', 'settings-page', 'https://www.monsterinsights.com/docs/update-wordpress/' );
|
416 |
+
// $message = sprintf( esc_html__( 'Your site is running an outdated version of WordPress (%1$s).%4$sMonsterInsights will stop supporting WordPress versions lower than 4.9 in October, 2019.%4$sUpdating WordPress takes just a few minutes and will also solve many bugs that exist in your WordPress install.%4$s%2$sLearn more about updating WordPress%3$s', 'google-analytics-for-wordpress' ), $wp_version, '<a href="' . $url . '" target="_blank">', '</a>', '<br>' );
|
417 |
+
// echo '<div class="error"><p>'. $message.'</p></div>';
|
418 |
+
// return;
|
419 |
+
// }
|
420 |
+
}
|
421 |
+
|
422 |
+
// 5. Optin setting not configured
|
423 |
+
// if ( ! is_network_admin() ) {
|
424 |
+
// if ( ! get_option( 'monsterinsights_tracking_notice' ) ) {
|
425 |
+
// if ( ! monsterinsights_get_option( 'anonymous_data', false ) ) {
|
426 |
+
// if ( ! monsterinsights_is_dev_url( network_site_url( '/' ) ) ) {
|
427 |
+
// if ( monsterinsights_is_pro_version() ) {
|
428 |
+
// monsterinsights_update_option( 'anonymous_data', 1 );
|
429 |
+
// return;
|
430 |
+
// }
|
431 |
+
// $optin_url = add_query_arg( 'mi_action', 'opt_into_tracking' );
|
432 |
+
// $optout_url = add_query_arg( 'mi_action', 'opt_out_of_tracking' );
|
433 |
+
// echo '<div class="updated"><p>';
|
434 |
+
// echo esc_html__( 'Allow MonsterInsights to track plugin usage? Opt-in to tracking and our newsletter to stay informed of the latest changes to MonsterInsights and help us ensure compatibility.', 'google-analytics-for-wordpress' );
|
435 |
+
// echo ' <a href="' . esc_url( $optin_url ) . '" class="button-secondary">' . __( 'Allow', 'google-analytics-for-wordpress' ) . '</a>';
|
436 |
+
// echo ' <a href="' . esc_url( $optout_url ) . '" class="button-secondary">' . __( 'Do not allow', 'google-analytics-for-wordpress' ) . '</a>';
|
437 |
+
// echo '</p></div>';
|
438 |
+
// return;
|
439 |
+
// } else {
|
440 |
+
// // is testing site
|
441 |
+
// update_option( 'monsterinsights_tracking_notice', '1' );
|
442 |
+
// }
|
443 |
+
// }
|
444 |
+
// }
|
445 |
+
// }
|
446 |
+
|
447 |
+
$notices = get_option( 'monsterinsights_notices' );
|
448 |
+
if ( ! is_array( $notices ) ) {
|
449 |
+
$notices = array();
|
450 |
+
}
|
451 |
+
|
452 |
+
// 6. Authenticate, not manual
|
453 |
+
$authed = MonsterInsights()->auth->is_authed() || MonsterInsights()->auth->is_network_authed();
|
454 |
+
$url = is_network_admin() ? network_admin_url( 'admin.php?page=monsterinsights_network' ) : admin_url( 'admin.php?page=monsterinsights_settings' );
|
455 |
+
$ua_code = monsterinsights_get_ua_to_output();
|
456 |
+
// Translators: Placeholders add links to the settings panel.
|
457 |
+
$manual_text = sprintf( esc_html__( 'Important: You are currently using manual UA code output. We highly recommend %1$sauthenticating with MonsterInsights%2$s so that you can access our new reporting area and take advantage of new MonsterInsights features.', 'google-analytics-for-wordpress' ), '<a href="' . $url . '">', '</a>' );
|
458 |
+
$migrated = monsterinsights_get_option( 'gadwp_migrated', 0 );
|
459 |
+
if ( $migrated > 0 ) {
|
460 |
+
$url = admin_url( 'admin.php?page=monsterinsights-getting-started&monsterinsights-migration=1' );
|
461 |
+
// Translators: Placeholders add links to the settings panel.
|
462 |
+
$text = esc_html__( 'Click %1$shere%2$s to reauthenticate to be able to access reports. For more information why this is required, see our %3$sblog post%4$s.', 'google-analytics-for-wordpress' );
|
463 |
+
$manual_text = sprintf( $text, '<a href="' . $url . '">', '</a>', '<a href="' . monsterinsights_get_url( 'notice', 'manual-ua', 'https://www.exactmetrics.com/why-did-we-implement-the-new-google-analytics-authentication-flow-challenges-explained/' ) . '" target="_blank">', '</a>' );
|
464 |
+
}
|
465 |
+
|
466 |
+
if ( empty( $authed ) && ! isset( $notices['monsterinsights_auth_not_manual'] ) && ! empty( $ua_code ) ) {
|
467 |
+
echo '<div class="notice notice-info is-dismissible monsterinsights-notice" data-notice="monsterinsights_auth_not_manual">';
|
468 |
+
echo '<p>';
|
469 |
+
echo $manual_text;
|
470 |
+
echo '</p>';
|
471 |
+
echo '</div>';
|
472 |
+
|
473 |
+
return;
|
474 |
+
}
|
475 |
+
|
476 |
+
// 7. Automatic updates not configured
|
477 |
+
// if ( ! is_network_admin() ) {
|
478 |
+
// $updates = monsterinsights_get_option( 'automatic_updates', false );
|
479 |
+
// $url = admin_url( 'admin.php?page=monsterinsights_settings' );
|
480 |
+
|
481 |
+
// if ( empty( $updates) && ! isset( $notices['monsterinsights_automatic_updates' ] ) ) {
|
482 |
+
// echo '<div class="notice notice-info is-dismissible monsterinsights-notice" data-notice="monsterinsights_automatic_updates">';
|
483 |
+
// echo '<p>';
|
484 |
+
// echo sprintf( esc_html__( 'Important: Please %1$sconfigure the Automatic Updates Settings%2$s in MonsterInsights.', 'google-analytics-for-wordpress' ), '<a href="' . $url .'">', '</a>' );
|
485 |
+
// echo '</p>';
|
486 |
+
// echo '</div>';
|
487 |
+
// return;
|
488 |
+
// }
|
489 |
+
// }
|
490 |
+
|
491 |
+
// 8. WooUpsell
|
492 |
+
if ( ! monsterinsights_is_pro_version() && class_exists( 'WooCommerce' ) ) {
|
493 |
+
if ( ! isset( $notices['monsterinsights_woocommerce_tracking_available' ] ) ) {
|
494 |
+
echo '<div class="notice notice-success is-dismissible monsterinsights-notice monsterinsights-wooedd-upsell-row" data-notice="monsterinsights_woocommerce_tracking_available">';
|
495 |
+
echo '<div class="monsterinsights-wooedd-upsell-left">';
|
496 |
+
echo '<p><strong>';
|
497 |
+
echo esc_html( 'Enhanced Ecommerce Analytics for Your WooCommerce Store', 'google-analytics-for-wordpress' );
|
498 |
+
echo '</strong></p>';
|
499 |
+
echo '<img class="monsterinsights-wooedd-upsell-image monsterinsights-wooedd-upsell-image-small" src="' . trailingslashit( MONSTERINSIGHTS_PLUGIN_URL ) . 'assets/images/upsell/woo-edd-upsell.png">';
|
500 |
+
echo '<p>';
|
501 |
+
echo esc_html( 'MonsterInsights Pro gives you detailed stats and insights about your customers.', 'google-analytics-for-wordpress' );
|
502 |
+
echo '</p>';
|
503 |
+
echo '<p>';
|
504 |
+
echo esc_html( 'This helps you make data-driven decisions about your content, and marketing strategy so you can increase your website traffic, leads, and sales.', 'google-analytics-for-wordpress' );
|
505 |
+
echo '</p>';
|
506 |
+
echo '<p>';
|
507 |
+
echo esc_html( 'Pro customers also get Form Tracking, Custom Dimensions Tracking, UserID Tracking and much more.', 'google-analytics-for-wordpress' );
|
508 |
+
echo '</p>';
|
509 |
+
echo '<p>';
|
510 |
+
echo esc_html( 'Start making data-driven decisions to grow your business.', 'google-analytics-for-wordpress' );
|
511 |
+
echo '</p>';
|
512 |
+
// Translators: Placeholders add a link to the MonsterInsights website.
|
513 |
+
echo sprintf( esc_html__( '%1$sGet MonsterInsights Pro%2$s', 'google-analytics-for-wordpress' ), '<a class="button button-primary button-hero" target="_blank" href="'. monsterinsights_get_upgrade_link( 'admin-notices', 'woocommerce-upgrade' ) .'">', ' »</a>' );
|
514 |
+
echo '</p>';
|
515 |
+
echo '</div><div class="monsterinsights-wooedd-upsell-right">';
|
516 |
+
echo '<img class="monsterinsights-wooedd-upsell-image monsterinsights-wooedd-upsell-image-large" src="' . trailingslashit( MONSTERINSIGHTS_PLUGIN_URL ) . 'assets/images/upsell/woo-edd-upsell.png">';
|
517 |
+
echo '</div>';
|
518 |
+
echo '</div>';
|
519 |
+
echo '<style type="text/css">.monsterinsights-wooedd-upsell-left{width:50%;display:table-cell;float:left}.monsterinsights-wooedd-upsell-right{width:50%;display:table-cell;float:left}.monsterinsights-wooedd-upsell-image{width:100%;height:auto;padding:20px}.monsterinsights-wooedd-upsell-image-small{display:none}.monsterinsights-wooedd-upsell-row{display:table}.monsterinsights-wooedd-upsell-left p{margin:1em 0;font-size:16px}@media (max-width:900px){.monsterinsights-wooedd-upsell-left{width:100%}.monsterinsights-wooedd-upsell-right{display:none}.monsterinsights-wooedd-upsell-image-small{display:block}.monsterinsights-wooedd-upsell-image-large{display:none}}</style>';
|
520 |
+
return;
|
521 |
+
}
|
522 |
+
}
|
523 |
+
|
524 |
+
// 9. EDDUpsell
|
525 |
+
if ( ! monsterinsights_is_pro_version() && class_exists( 'Easy_Digital_Downloads' ) ) {
|
526 |
+
if ( ! isset( $notices['monsterinsights_edd_tracking_available' ] ) ) {
|
527 |
+
echo '<div class="notice notice-success is-dismissible monsterinsights-notice monsterinsights-wooedd-upsell-row" data-notice="monsterinsights_edd_tracking_available">';
|
528 |
+
echo '<div class="monsterinsights-wooedd-upsell-left">';
|
529 |
+
echo '<p><strong>';
|
530 |
+
echo esc_html( 'Enhanced Ecommerce Analytics for Your Easy Digital Downloads Store', 'google-analytics-for-wordpress' );
|
531 |
+
echo '</strong></p>';
|
532 |
+
echo '<img class="monsterinsights-wooedd-upsell-image monsterinsights-wooedd-upsell-image-small" src="' . trailingslashit( MONSTERINSIGHTS_PLUGIN_URL ) . 'assets/images/upsell/woo-edd-upsell.png">';
|
533 |
+
echo '<p>';
|
534 |
+
echo esc_html( 'MonsterInsights Pro gives you detailed stats and insights about your customers.', 'google-analytics-for-wordpress' );
|
535 |
+
echo '</p>';
|
536 |
+
echo '<p>';
|
537 |
+
echo esc_html( 'This helps you make data-driven decisions about your content, and marketing strategy so you can increase your website traffic, leads, and sales.', 'google-analytics-for-wordpress' );
|
538 |
+
echo '</p>';
|
539 |
+
echo '<p>';
|
540 |
+
echo esc_html( 'Pro customers also get Form Tracking, Custom Dimensions Tracking, UserID Tracking and much more.', 'google-analytics-for-wordpress' );
|
541 |
+
echo '</p>';
|
542 |
+
echo '<p>';
|
543 |
+
echo esc_html( 'Start making data-driven decisions to grow your business.', 'google-analytics-for-wordpress' );
|
544 |
+
echo '</p>';
|
545 |
+
echo sprintf( esc_html__( '%1$sGet MonsterInsights Pro%2$s', 'google-analytics-for-wordpress' ), '<a class="button button-primary button-hero" target="_blank" href="'. monsterinsights_get_upgrade_link( 'admin-notices', 'edd-upgrade' ) .'">', ' »</a>' );
|
546 |
+
echo '</p>';
|
547 |
+
echo '</div><div class="monsterinsights-wooedd-upsell-right">';
|
548 |
+
echo '<img class="monsterinsights-wooedd-upsell-image monsterinsights-wooedd-upsell-image-large" src="' . trailingslashit( MONSTERINSIGHTS_PLUGIN_URL ) . 'assets/images/upsell/woo-edd-upsell.png">';
|
549 |
+
echo '</div>';
|
550 |
+
echo '</div>';
|
551 |
+
return;
|
552 |
+
}
|
553 |
+
}
|
554 |
+
|
555 |
+
if ( isset( $notices['monsterinsights_cross_domains_extracted'] ) && false === $notices['monsterinsights_cross_domains_extracted'] ) {
|
556 |
+
$page = is_network_admin() ? network_admin_url( 'admin.php?page=monsterinsights_network' ) : admin_url( 'admin.php?page=monsterinsights_settings' );
|
557 |
+
$page = $page . '#/advanced';
|
558 |
+
// Translators: Adds a link to the settings panel.
|
559 |
+
$message = sprintf( esc_html__( 'Warning: MonsterInsights found cross-domain settings in the custom code field and converted them to the new settings structure. %1$sPlease click here to review and remove the code no longer needed.%2$s', 'google-analytics-for-wordpress' ), '<a href="'. esc_url( $page ) . '">', '</a>' );
|
560 |
+
echo '<div class="notice notice-success is-dismissible monsterinsights-notice" data-notice="monsterinsights_cross_domains_extracted"><p>'. $message.'</p></div>';
|
561 |
+
return;
|
562 |
+
}
|
563 |
+
}
|
564 |
+
add_action( 'admin_notices', 'monsterinsights_admin_setup_notices' );
|
565 |
+
add_action( 'network_admin_notices', 'monsterinsights_admin_setup_notices' );
|
566 |
+
|
567 |
+
|
568 |
+
// AM Notices
|
569 |
+
function monsterinsights_am_notice_optout( $super_admin ) {
|
570 |
+
if ( monsterinsights_get_option( 'hide_am_notices', false ) || monsterinsights_get_option( 'network_hide_am_notices', false ) ) {
|
571 |
+
return false;
|
572 |
+
}
|
573 |
+
return $super_admin;
|
574 |
+
}
|
575 |
+
add_filter( "am_notifications_display", 'monsterinsights_am_notice_optout', 10, 1 );
|
576 |
+
|
577 |
+
/**
|
578 |
+
* Inline critical css for the menu to prevent breaking the layout when our scripts get blocked by browsers.
|
579 |
+
*/
|
580 |
+
function monsterinsights_admin_menu_inline_styles() {
|
581 |
+
?>
|
582 |
+
<style type="text/css">
|
583 |
+
#toplevel_page_monsterinsights_reports .wp-menu-image img,
|
584 |
+
#toplevel_page_monsterinsights_settings .wp-menu-image img,
|
585 |
+
#toplevel_page_monsterinsights_network .wp-menu-image img {
|
586 |
+
width: 18px;
|
587 |
+
height: auto;
|
588 |
+
padding-top: 7px;
|
589 |
+
}
|
590 |
+
</style>
|
591 |
+
<?php
|
592 |
+
}
|
593 |
+
|
594 |
+
add_action( 'admin_head', 'monsterinsights_admin_menu_inline_styles', 300 );
|
595 |
+
|
596 |
+
/**
|
597 |
+
* Display notice in admin when measurement protocol is left blank
|
598 |
+
*/
|
599 |
+
function monsterinsights_empty_measurement_protocol_token() {
|
600 |
+
if ( ! class_exists( 'MonsterInsights_eCommerce' ) && ! class_exists( 'MonsterInsights_Forms' ) ) {
|
601 |
+
return;
|
602 |
+
}
|
603 |
+
|
604 |
+
$page = is_network_admin()
|
605 |
+
? network_admin_url( 'admin.php?page=monsterinsights_network' )
|
606 |
+
: admin_url( 'admin.php?page=monsterinsights_settings' );
|
607 |
+
|
608 |
+
$api_secret = is_network_admin()
|
609 |
+
? MonsterInsights()->auth->get_network_measurement_protocol_secret()
|
610 |
+
: MonsterInsights()->auth->get_measurement_protocol_secret();
|
611 |
+
|
612 |
+
$current_code = monsterinsights_get_v4_id_to_output();
|
613 |
+
|
614 |
+
if ( empty( $current_code ) || ! empty( $api_secret ) ) {
|
615 |
+
return;
|
616 |
+
}
|
617 |
+
|
618 |
+
$message = sprintf(
|
619 |
+
esc_html__(
|
620 |
+
'Your Measurement Protocol API Secret is currently left blank, so you won\'t be able to use some of the tracking features with your GA4 property. %1$sPlease enter your Measurement Protocol API Secret here.%2$s',
|
621 |
+
'google-analytics-for-wordpress'
|
622 |
+
),
|
623 |
+
'<a href="' . esc_url( $page ). '">',
|
624 |
+
'</a>'
|
625 |
+
);
|
626 |
+
echo '<div class="error"><p>'. $message.'</p></div>';
|
627 |
+
}
|
628 |
+
|
629 |
+
add_action( 'admin_notices', 'monsterinsights_empty_measurement_protocol_token' );
|
630 |
+
add_action( 'network_admin_notices', 'monsterinsights_admin_setup_notices' );
|
includes/admin/common.php
CHANGED
@@ -1,964 +1,964 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Common admin class.
|
4 |
-
*
|
5 |
-
* @since 6.0.0
|
6 |
-
*
|
7 |
-
* @package MonsterInsights
|
8 |
-
* @subpackage Common
|
9 |
-
* @author Chris Christoff
|
10 |
-
*/
|
11 |
-
|
12 |
-
// Exit if accessed directly
|
13 |
-
if ( ! defined( 'ABSPATH' ) ) {
|
14 |
-
exit;
|
15 |
-
}
|
16 |
-
|
17 |
-
function monsterinsights_is_settings_page() {
|
18 |
-
$current_screen = function_exists( 'get_current_screen' ) ? get_current_screen() : false;
|
19 |
-
global $admin_page_hooks;
|
20 |
-
|
21 |
-
if ( ! is_object( $current_screen ) || empty( $current_screen->id ) || empty( $admin_page_hooks ) ) {
|
22 |
-
return false;
|
23 |
-
}
|
24 |
-
|
25 |
-
$settings_page = false;
|
26 |
-
if ( ! empty( $admin_page_hooks['monsterinsights_settings'] ) && $current_screen->id === $admin_page_hooks['monsterinsights_settings'] ) {
|
27 |
-
$settings_page = true;
|
28 |
-
}
|
29 |
-
|
30 |
-
if ( $current_screen->id === 'toplevel_page_monsterinsights_settings' ) {
|
31 |
-
$settings_page = true;
|
32 |
-
}
|
33 |
-
|
34 |
-
if ( $current_screen->id === 'insights_page_monsterinsights_settings' ) {
|
35 |
-
$settings_page = true;
|
36 |
-
}
|
37 |
-
|
38 |
-
if ( strpos( $current_screen->id, 'monsterinsights_settings' ) !== false ) {
|
39 |
-
$settings_page = true;
|
40 |
-
}
|
41 |
-
|
42 |
-
if ( ! empty( $current_screen->base ) && strpos( $current_screen->base, 'monsterinsights_network' ) !== false ) {
|
43 |
-
$settings_page = true;
|
44 |
-
}
|
45 |
-
|
46 |
-
return $settings_page;
|
47 |
-
}
|
48 |
-
|
49 |
-
/**
|
50 |
-
* Determine if the current page is the Reports page.
|
51 |
-
*
|
52 |
-
* @return bool
|
53 |
-
*/
|
54 |
-
function monsterinsights_is_reports_page() {
|
55 |
-
$current_screen = function_exists( 'get_current_screen' ) ? get_current_screen() : false;
|
56 |
-
global $admin_page_hooks;
|
57 |
-
|
58 |
-
if ( ! is_object( $current_screen ) || empty( $current_screen->id ) || empty( $admin_page_hooks ) ) {
|
59 |
-
return false;
|
60 |
-
}
|
61 |
-
|
62 |
-
$reports_page = false;
|
63 |
-
if ( ! empty( $admin_page_hooks['monsterinsights_reports'] ) && $current_screen->id === $admin_page_hooks['monsterinsights_reports'] ) {
|
64 |
-
$reports_page = true;
|
65 |
-
}
|
66 |
-
|
67 |
-
if ( 'toplevel_page_monsterinsights_reports' === $current_screen->id ) {
|
68 |
-
$reports_page = true;
|
69 |
-
}
|
70 |
-
|
71 |
-
if ( strpos( $current_screen->id, 'monsterinsights_reports' ) !== false ) {
|
72 |
-
$reports_page = true;
|
73 |
-
}
|
74 |
-
|
75 |
-
return $reports_page;
|
76 |
-
}
|
77 |
-
|
78 |
-
/**
|
79 |
-
* Loads styles for all MonsterInsights-based Administration Screens.
|
80 |
-
*
|
81 |
-
* @return null Return early if not on the proper screen.
|
82 |
-
* @since 6.0.0
|
83 |
-
* @access public
|
84 |
-
*
|
85 |
-
*/
|
86 |
-
function monsterinsights_admin_styles() {
|
87 |
-
|
88 |
-
$suffix = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';
|
89 |
-
|
90 |
-
// Load Common admin styles.
|
91 |
-
wp_register_style( 'monsterinsights-admin-common-style', plugins_url( 'assets/css/admin-common' . $suffix . '.css', MONSTERINSIGHTS_PLUGIN_FILE ), array(), monsterinsights_get_asset_version() );
|
92 |
-
wp_enqueue_style( 'monsterinsights-admin-common-style' );
|
93 |
-
|
94 |
-
// Get current screen.
|
95 |
-
$screen = get_current_screen();
|
96 |
-
|
97 |
-
// Bail if we're not on a MonsterInsights screen.
|
98 |
-
if ( empty( $screen->id ) || strpos( $screen->id, 'monsterinsights' ) === false ) {
|
99 |
-
return;
|
100 |
-
}
|
101 |
-
|
102 |
-
$version_path = monsterinsights_is_pro_version() ? 'pro' : 'lite';
|
103 |
-
$rtl = is_rtl() ? '.rtl' : '';
|
104 |
-
|
105 |
-
// For the settings page, load the Vue app styles.
|
106 |
-
if ( monsterinsights_is_settings_page() ) {
|
107 |
-
if ( ! defined( 'MONSTERINSIGHTS_LOCAL_JS_URL' ) ) {
|
108 |
-
wp_enqueue_style( 'monsterinsights-vue-style-vendors', plugins_url( $version_path . '/assets/vue/css/chunk-vendors' . $rtl . '.css', MONSTERINSIGHTS_PLUGIN_FILE ), array(), monsterinsights_get_asset_version() );
|
109 |
-
wp_enqueue_style( 'monsterinsights-vue-style-common', plugins_url( $version_path . '/assets/vue/css/chunk-common' . $rtl . '.css', MONSTERINSIGHTS_PLUGIN_FILE ), array(), monsterinsights_get_asset_version() );
|
110 |
-
wp_enqueue_style( 'monsterinsights-vue-style', plugins_url( $version_path . '/assets/vue/css/settings' . $rtl . '.css', MONSTERINSIGHTS_PLUGIN_FILE ), array(), monsterinsights_get_asset_version() );
|
111 |
-
}
|
112 |
-
|
113 |
-
// Don't load other styles on the settings page.
|
114 |
-
return;
|
115 |
-
}
|
116 |
-
|
117 |
-
if ( monsterinsights_is_reports_page() ) {
|
118 |
-
if ( ! defined( 'MONSTERINSIGHTS_LOCAL_REPORTS_JS_URL' ) ) {
|
119 |
-
wp_enqueue_style( 'monsterinsights-vue-style-vendors', plugins_url( $version_path . '/assets/vue/css/chunk-vendors' . $rtl . '.css', MONSTERINSIGHTS_PLUGIN_FILE ), array(), monsterinsights_get_asset_version() );
|
120 |
-
wp_enqueue_style( 'monsterinsights-vue-style-common', plugins_url( $version_path . '/assets/vue/css/chunk-common' . $rtl . '.css', MONSTERINSIGHTS_PLUGIN_FILE ), array(), monsterinsights_get_asset_version() );
|
121 |
-
wp_enqueue_style( 'monsterinsights-vue-style', plugins_url( $version_path . '/assets/vue/css/reports' . $rtl . '.css', MONSTERINSIGHTS_PLUGIN_FILE ), array(), monsterinsights_get_asset_version() );
|
122 |
-
}
|
123 |
-
|
124 |
-
return;
|
125 |
-
}
|
126 |
-
|
127 |
-
// Tooltips
|
128 |
-
wp_enqueue_script( 'jquery-ui-tooltip' );
|
129 |
-
}
|
130 |
-
|
131 |
-
add_action( 'admin_enqueue_scripts', 'monsterinsights_admin_styles' );
|
132 |
-
|
133 |
-
/**
|
134 |
-
* Loads scripts for all MonsterInsights-based Administration Screens.
|
135 |
-
*
|
136 |
-
* @return null Return early if not on the proper screen.
|
137 |
-
* @since 6.0.0
|
138 |
-
* @access public
|
139 |
-
*
|
140 |
-
*/
|
141 |
-
function monsterinsights_admin_scripts() {
|
142 |
-
|
143 |
-
// Our Common Admin JS.
|
144 |
-
$suffix = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';
|
145 |
-
|
146 |
-
wp_register_script( 'monsterinsights-admin-common-script', plugins_url( 'assets/js/admin-common' . $suffix . '.js', MONSTERINSIGHTS_PLUGIN_FILE ), array( 'jquery' ), monsterinsights_get_asset_version(), true );
|
147 |
-
|
148 |
-
wp_enqueue_script( 'monsterinsights-admin-common-script' );
|
149 |
-
|
150 |
-
wp_localize_script(
|
151 |
-
'monsterinsights-admin-common-script',
|
152 |
-
'monsterinsights_admin_common',
|
153 |
-
array(
|
154 |
-
'ajax' => admin_url( 'admin-ajax.php' ),
|
155 |
-
'dismiss_notice_nonce' => wp_create_nonce( 'monsterinsights-dismiss-notice' ),
|
156 |
-
)
|
157 |
-
);
|
158 |
-
|
159 |
-
// Get current screen.
|
160 |
-
$screen = get_current_screen();
|
161 |
-
|
162 |
-
// Bail if we're not on a MonsterInsights screen.
|
163 |
-
if ( empty( $screen->id ) || strpos( $screen->id, 'monsterinsights' ) === false ) {
|
164 |
-
return;
|
165 |
-
}
|
166 |
-
|
167 |
-
$version_path = monsterinsights_is_pro_version() ? 'pro' : 'lite';
|
168 |
-
|
169 |
-
// For the settings page, load the Vue app.
|
170 |
-
if ( monsterinsights_is_settings_page() ) {
|
171 |
-
if ( ! defined( 'MONSTERINSIGHTS_LOCAL_VENDORS_JS_URL' ) ) {
|
172 |
-
wp_enqueue_script( 'monsterinsights-vue-vendors', plugins_url( $version_path . '/assets/vue/js/chunk-vendors.js', MONSTERINSIGHTS_PLUGIN_FILE ), array(), monsterinsights_get_asset_version(), true );
|
173 |
-
wp_enqueue_script( 'monsterinsights-vue-common', plugins_url( $version_path . '/assets/vue/js/chunk-common.js', MONSTERINSIGHTS_PLUGIN_FILE ), array(), monsterinsights_get_asset_version(), true );
|
174 |
-
} else {
|
175 |
-
wp_enqueue_script( 'monsterinsights-vue-vendors', MONSTERINSIGHTS_LOCAL_VENDORS_JS_URL, array(), monsterinsights_get_asset_version(), true );
|
176 |
-
wp_enqueue_script( 'monsterinsights-vue-common', MONSTERINSIGHTS_LOCAL_COMMON_JS_URL, array(), monsterinsights_get_asset_version(), true );
|
177 |
-
}
|
178 |
-
$app_js_url = defined( 'MONSTERINSIGHTS_LOCAL_JS_URL' ) && MONSTERINSIGHTS_LOCAL_JS_URL ? MONSTERINSIGHTS_LOCAL_JS_URL : plugins_url( $version_path . '/assets/vue/js/settings.js', MONSTERINSIGHTS_PLUGIN_FILE );
|
179 |
-
wp_register_script( 'monsterinsights-vue-script', $app_js_url, array(), monsterinsights_get_asset_version(), true );
|
180 |
-
wp_enqueue_script( 'monsterinsights-vue-script' );
|
181 |
-
$plugins = get_plugins();
|
182 |
-
$install_amp_url = false;
|
183 |
-
if ( monsterinsights_can_install_plugins() ) {
|
184 |
-
$amp_key = 'amp/amp.php';
|
185 |
-
if ( array_key_exists( $amp_key, $plugins ) ) {
|
186 |
-
$install_amp_url = wp_nonce_url( self_admin_url( 'plugins.php?action=activate&plugin=' . $amp_key ), 'activate-plugin_' . $amp_key );
|
187 |
-
} else {
|
188 |
-
$install_amp_url = wp_nonce_url( self_admin_url( 'update.php?action=install-plugin&plugin=amp' ), 'install-plugin_amp' );
|
189 |
-
}
|
190 |
-
}
|
191 |
-
$install_woocommerce_url = false;
|
192 |
-
if ( monsterinsights_can_install_plugins() ) {
|
193 |
-
$woo_key = 'woocommerce/woocommerce.php';
|
194 |
-
if ( array_key_exists( $woo_key, $plugins ) ) {
|
195 |
-
$install_woocommerce_url = wp_nonce_url( self_admin_url( 'plugins.php?action=activate&plugin=' . $woo_key ), 'activate-plugin_' . $woo_key );
|
196 |
-
} else {
|
197 |
-
$install_woocommerce_url = wp_nonce_url( self_admin_url( 'update.php?action=install-plugin&plugin=woocommerce' ), 'install-plugin_woocommerce' );
|
198 |
-
}
|
199 |
-
}
|
200 |
-
$install_fbia_url = false;
|
201 |
-
if ( monsterinsights_can_install_plugins() ) {
|
202 |
-
$fbia_key = 'fb-instant-articles/facebook-instant-articles.php';
|
203 |
-
if ( array_key_exists( $fbia_key, $plugins ) ) {
|
204 |
-
$install_fbia_url = wp_nonce_url( self_admin_url( 'plugins.php?action=activate&plugin=' . $fbia_key ), 'activate-plugin_' . $fbia_key );
|
205 |
-
} else {
|
206 |
-
$install_fbia_url = wp_nonce_url( self_admin_url( 'update.php?action=install-plugin&plugin=fb-instant-articles' ), 'install-plugin_fb-instant-articles' );
|
207 |
-
}
|
208 |
-
}
|
209 |
-
|
210 |
-
$prepared_dimensions = array();
|
211 |
-
if ( class_exists( 'MonsterInsights_Admin_Custom_Dimensions' ) ) {
|
212 |
-
$dimensions = new MonsterInsights_Admin_Custom_Dimensions();
|
213 |
-
$dimensions = $dimensions->custom_dimensions();
|
214 |
-
$prepared_dimensions = array();
|
215 |
-
foreach ( $dimensions as $dimension_type => $dimension ) {
|
216 |
-
$dimension['type'] = $dimension_type;
|
217 |
-
$prepared_dimensions[] = $dimension;
|
218 |
-
}
|
219 |
-
}
|
220 |
-
$is_authed = ( MonsterInsights()->auth->is_authed() || MonsterInsights()->auth->is_network_authed() );
|
221 |
-
|
222 |
-
wp_localize_script(
|
223 |
-
'monsterinsights-vue-script',
|
224 |
-
'monsterinsights',
|
225 |
-
array(
|
226 |
-
'ajax' => admin_url( 'admin-ajax.php' ),
|
227 |
-
'nonce' => wp_create_nonce( 'mi-admin-nonce' ),
|
228 |
-
'network' => is_network_admin(),
|
229 |
-
'translations' => wp_get_jed_locale_data( monsterinsights_is_pro_version() ? 'ga-premium' : 'google-analytics-for-wordpress' ),
|
230 |
-
'assets' => plugins_url( $version_path . '/assets/vue', MONSTERINSIGHTS_PLUGIN_FILE ),
|
231 |
-
'roles' => monsterinsights_get_roles(),
|
232 |
-
'roles_manage_options' => monsterinsights_get_manage_options_roles(),
|
233 |
-
'shareasale_id' => monsterinsights_get_shareasale_id(),
|
234 |
-
'shareasale_url' => monsterinsights_get_shareasale_url( monsterinsights_get_shareasale_id(), '' ),
|
235 |
-
'addons_url' => is_multisite() ? network_admin_url( 'admin.php?page=monsterinsights_network#/addons' ) : admin_url( 'admin.php?page=monsterinsights_settings#/addons' ),
|
236 |
-
'seo_settings_page_url' => is_multisite() ? network_admin_url( 'admin.php?page=monsterinsights_network#/seo' ) : admin_url( 'admin.php?page=monsterinsights_settings#/seo' ),
|
237 |
-
'aioseo_dashboard_url' => is_multisite() ? network_admin_url( 'admin.php?page=aioseo' ) : admin_url( 'admin.php?page=aioseo' ),
|
238 |
-
'wp_plugins_page_url' => is_multisite() ? network_admin_url( 'plugins.php' ) : admin_url( 'plugins.php' ),
|
239 |
-
'email_summary_url' => admin_url( 'admin.php?monsterinsights_email_preview&monsterinsights_email_template=summary' ),
|
240 |
-
'install_amp_url' => $install_amp_url,
|
241 |
-
'install_fbia_url' => $install_fbia_url,
|
242 |
-
'install_woo_url' => $install_woocommerce_url,
|
243 |
-
'dimensions' => $prepared_dimensions,
|
244 |
-
'wizard_url' => is_network_admin() ? network_admin_url( 'index.php?page=monsterinsights-onboarding' ) : admin_url( 'index.php?page=monsterinsights-onboarding' ),
|
245 |
-
'install_plugins' => monsterinsights_can_install_plugins(),
|
246 |
-
'unfiltered_html' => current_user_can( 'unfiltered_html' ),
|
247 |
-
'activate_nonce' => wp_create_nonce( 'monsterinsights-activate' ),
|
248 |
-
'deactivate_nonce' => wp_create_nonce( 'monsterinsights-deactivate' ),
|
249 |
-
'install_nonce' => wp_create_nonce( 'monsterinsights-install' ),
|
250 |
-
// Used to add notices for future deprecations.
|
251 |
-
'versions' => monsterinsights_get_php_wp_version_warning_data(),
|
252 |
-
'plugin_version' => MONSTERINSIGHTS_VERSION,
|
253 |
-
'is_admin' => true,
|
254 |
-
'admin_email' => get_option( 'admin_email' ),
|
255 |
-
'site_url' => get_site_url(),
|
256 |
-
'reports_url' => add_query_arg( 'page', 'monsterinsights_reports', admin_url( 'admin.php' ) ),
|
257 |
-
'ecommerce_report_url' => add_query_arg( 'page', 'monsterinsights_reports#/ecommerce', admin_url( 'admin.php' ) ),
|
258 |
-
'ecommerce_settings_tab_url' => add_query_arg( 'page', 'monsterinsights_settings#/ecommerce', admin_url( 'admin.php' ) ),
|
259 |
-
'first_run_notice' => apply_filters( 'monsterinsights_settings_first_time_notice_hide', monsterinsights_get_option( 'monsterinsights_first_run_notice' ) ),
|
260 |
-
'getting_started_url' => is_network_admin() ? network_admin_url( 'admin.php?page=monsterinsights_network#/about' ) : admin_url( 'admin.php?page=monsterinsights_settings#/about/getting-started' ),
|
261 |
-
'authed' => $is_authed,
|
262 |
-
'new_pretty_link_url' => admin_url( 'post-new.php?post_type=pretty-link' ),
|
263 |
-
'wpmailsmtp_admin_url' => admin_url( 'admin.php?page=wp-mail-smtp' ),
|
264 |
-
'load_headline_analyzer_settings' => monsterinsights_load_gutenberg_app() ? 'true' : 'false',
|
265 |
-
)
|
266 |
-
);
|
267 |
-
|
268 |
-
// Don't load other scripts on the settings page.
|
269 |
-
return;
|
270 |
-
}
|
271 |
-
|
272 |
-
if ( monsterinsights_is_reports_page() ) {
|
273 |
-
global $wp_version;
|
274 |
-
if ( ! defined( 'MONSTERINSIGHTS_LOCAL_VENDORS_JS_URL' ) ) {
|
275 |
-
wp_enqueue_script( 'monsterinsights-vue-vendors', plugins_url( $version_path . '/assets/vue/js/chunk-vendors.js', MONSTERINSIGHTS_PLUGIN_FILE ), array(), monsterinsights_get_asset_version(), true );
|
276 |
-
wp_enqueue_script( 'monsterinsights-vue-common', plugins_url( $version_path . '/assets/vue/js/chunk-common.js', MONSTERINSIGHTS_PLUGIN_FILE ), array(), monsterinsights_get_asset_version(), true );
|
277 |
-
} else {
|
278 |
-
wp_enqueue_script( 'monsterinsights-vue-vendors', MONSTERINSIGHTS_LOCAL_VENDORS_JS_URL, array(), monsterinsights_get_asset_version(), true );
|
279 |
-
wp_enqueue_script( 'monsterinsights-vue-common', MONSTERINSIGHTS_LOCAL_COMMON_JS_URL, array(), monsterinsights_get_asset_version(), true );
|
280 |
-
}
|
281 |
-
$app_js_url = defined( 'MONSTERINSIGHTS_LOCAL_REPORTS_JS_URL' ) && MONSTERINSIGHTS_LOCAL_REPORTS_JS_URL ? MONSTERINSIGHTS_LOCAL_REPORTS_JS_URL : plugins_url( $version_path . '/assets/vue/js/reports.js', MONSTERINSIGHTS_PLUGIN_FILE );
|
282 |
-
wp_register_script( 'monsterinsights-vue-reports', $app_js_url, array(), monsterinsights_get_asset_version(), true );
|
283 |
-
wp_enqueue_script( 'monsterinsights-vue-reports' );
|
284 |
-
|
285 |
-
// We do not have a current auth.
|
286 |
-
$auth = MonsterInsights()->auth;
|
287 |
-
$site_auth = $auth->get_viewname();
|
288 |
-
$ms_auth = is_multisite() && $auth->get_network_viewname();
|
289 |
-
|
290 |
-
wp_localize_script(
|
291 |
-
'monsterinsights-vue-reports',
|
292 |
-
'monsterinsights',
|
293 |
-
array(
|
294 |
-
'ajax' => admin_url( 'admin-ajax.php' ),
|
295 |
-
'nonce' => wp_create_nonce( 'mi-admin-nonce' ),
|
296 |
-
'network' => is_network_admin(),
|
297 |
-
'translations' => wp_get_jed_locale_data( monsterinsights_is_pro_version() ? 'ga-premium' : 'google-analytics-for-wordpress' ),
|
298 |
-
'assets' => plugins_url( $version_path . '/assets/vue', MONSTERINSIGHTS_PLUGIN_FILE ),
|
299 |
-
'shareasale_id' => monsterinsights_get_shareasale_id(),
|
300 |
-
'shareasale_url' => monsterinsights_get_shareasale_url( monsterinsights_get_shareasale_id(), '' ),
|
301 |
-
'addons_url' => is_multisite() ? network_admin_url( 'admin.php?page=monsterinsights_network#/addons' ) : admin_url( 'admin.php?page=monsterinsights_settings#/addons' ),
|
302 |
-
'timezone' => date( 'e' ),
|
303 |
-
'authed' => $site_auth || $ms_auth,
|
304 |
-
'auth_connected_type' => $auth->get_connected_type(),
|
305 |
-
'settings_url' => add_query_arg( 'page', 'monsterinsights_settings', admin_url( 'admin.php' ) ),
|
306 |
-
// Used to add notices for future deprecations.
|
307 |
-
'versions' => monsterinsights_get_php_wp_version_warning_data(),
|
308 |
-
'plugin_version' => MONSTERINSIGHTS_VERSION,
|
309 |
-
'is_admin' => true,
|
310 |
-
'admin_email' => get_option( 'admin_email' ),
|
311 |
-
'site_url' => get_site_url(),
|
312 |
-
'wizard_url' => is_network_admin() ? network_admin_url( 'index.php?page=monsterinsights-onboarding' ) : admin_url( 'index.php?page=monsterinsights-onboarding' ),
|
313 |
-
'install_nonce' => wp_create_nonce( 'monsterinsights-install' ),
|
314 |
-
'activate_nonce' => wp_create_nonce( 'monsterinsights-activate' ),
|
315 |
-
'deactivate_nonce' => wp_create_nonce( 'monsterinsights-deactivate' ),
|
316 |
-
'update_settings' => current_user_can( 'monsterinsights_save_settings' ),
|
317 |
-
'migrated' => monsterinsights_get_option( 'gadwp_migrated', 0 ),
|
318 |
-
)
|
319 |
-
);
|
320 |
-
|
321 |
-
return;
|
322 |
-
}
|
323 |
-
|
324 |
-
// ublock notice
|
325 |
-
add_action( 'admin_print_footer_scripts', 'monsterinsights_settings_ublock_error_js', 9999999 );
|
326 |
-
}
|
327 |
-
|
328 |
-
add_action( 'admin_enqueue_scripts', 'monsterinsights_admin_scripts' );
|
329 |
-
|
330 |
-
/**
|
331 |
-
* Remove Assets that conflict with ours from our screens.
|
332 |
-
*
|
333 |
-
* @return null Return early if not on the proper screen.
|
334 |
-
* @since 6.0.4
|
335 |
-
* @access public
|
336 |
-
*
|
337 |
-
*/
|
338 |
-
function monsterinsights_remove_conflicting_asset_files() {
|
339 |
-
|
340 |
-
// Get current screen.
|
341 |
-
$screen = get_current_screen();
|
342 |
-
|
343 |
-
// Bail if we're not on a MonsterInsights screen.
|
344 |
-
if ( empty( $screen->id ) || strpos( $screen->id, 'monsterinsights' ) === false ) {
|
345 |
-
return;
|
346 |
-
}
|
347 |
-
|
348 |
-
$styles = array(
|
349 |
-
'kt_admin_css', // Pinnacle theme
|
350 |
-
'select2-css', // Schema theme
|
351 |
-
'tweetshare_style', // TweetShare - Click To Tweet
|
352 |
-
'tweetshare_custom_style', // TweetShare - Click To Tweet
|
353 |
-
'tweeetshare_custome_style', // TweetShare - Click To Tweet
|
354 |
-
'tweeetshare_notice_style', // TweetShare - Click To Tweet
|
355 |
-
'tweeetshare_theme_style', // TweetShare - Click To Tweet
|
356 |
-
'tweeetshare_tweet_box_style', // TweetShare - Click To Tweet
|
357 |
-
'soultype2-admin', // SoulType Plugin
|
358 |
-
'thesis-options-stylesheet', // Thesis Options Stylesheet
|
359 |
-
'imagify-sweetalert-core', // Imagify
|
360 |
-
'imagify-sweetalert', // Imagify
|
361 |
-
'smls-backend-style', // Smart Logo Showcase Lite
|
362 |
-
'wp-reactjs-starter', // wp-real-media-library
|
363 |
-
'control-panel-modal-plugin', // Ken Theme
|
364 |
-
'theme-admin-css', // Vitrine Theme
|
365 |
-
'qi-framework-styles', // Artisan Nayma Theme
|
366 |
-
'artisan-pages-style', // Artisan Pages Plugin
|
367 |
-
'control-panel-modal-plugin', // Ken Theme
|
368 |
-
'sweetalert', // Church Suite Theme by Webnus
|
369 |
-
'woo_stock_alerts_admin_css', // WooCommerce bolder product alerts
|
370 |
-
'custom_wp_admin_css', // Fix for Add Social Share
|
371 |
-
'fo_css', // Fix for Add Social Share
|
372 |
-
'font_css', // Fix for Add Social Share
|
373 |
-
'font2_css', // Fix for Add Social Share
|
374 |
-
'font3_css', // Fix for Add Social Share
|
375 |
-
'hover_css', // Fix for Add Social Share
|
376 |
-
'fontend_styling', // Fix for Add Social Share
|
377 |
-
'datatable', // WP Todo
|
378 |
-
'bootstrap', // WP Todo
|
379 |
-
'flipclock', // WP Todo
|
380 |
-
'repuso_css_admin', // Social testimonials and reviews by Repuso
|
381 |
-
);
|
382 |
-
|
383 |
-
$scripts = array(
|
384 |
-
'kad_admin_js', // Pinnacle theme
|
385 |
-
'dt-chart', // DesignThemes core features plugin
|
386 |
-
'tweeetshare_font_script', // TweetShare - Click To Tweet
|
387 |
-
'tweeetshare_jquery_script', // TweetShare - Click To Tweet
|
388 |
-
'tweeetshare_jqueryui_script', // TweetShare - Click To Tweet
|
389 |
-
'tweeetshare_custom_script', // TweetShare - Click To Tweet
|
390 |
-
'imagify-promise-polyfill', // Imagify
|
391 |
-
'imagify-sweetalert', // Imagify
|
392 |
-
'imagify-chart', // Imagify
|
393 |
-
'chartjs', // Comet Cache Pro
|
394 |
-
'wp-reactjs-starter', // wp-real-media-library
|
395 |
-
'jquery-tooltipster', // WP Real Media Library
|
396 |
-
'jquery-nested-sortable', // WP Real Media Library
|
397 |
-
'jquery-aio-tree', // WP Real Media Library
|
398 |
-
'wp-media-picker', // WP Real Media Library
|
399 |
-
'rml-general', // WP Real Media Library
|
400 |
-
'rml-library', // WP Real Media Library
|
401 |
-
'rml-grid', // WP Real Media Library
|
402 |
-
'rml-list', // WP Real Media Library
|
403 |
-
'rml-modal', // WP Real Media Library
|
404 |
-
'rml-order', // WP Real Media Library
|
405 |
-
'rml-meta', // WP Real Media Library
|
406 |
-
'rml-uploader', // WP Real Media Library
|
407 |
-
'rml-options', // WP Real Media Library
|
408 |
-
'rml-usersettings', // WP Real Media Library
|
409 |
-
'rml-main', // WP Real Media Library
|
410 |
-
'control-panel-sweet-alert', // Ken Theme
|
411 |
-
'sweet-alert-js', // Vitrine Theme
|
412 |
-
'theme-admin-script', // Vitrine Theme
|
413 |
-
'sweetalert', // Church Suite Theme by Webnus
|
414 |
-
'be_alerts_charts', // WooCommerce bolder product alerts
|
415 |
-
'magayo-lottery-results', // Magayo Lottery Results
|
416 |
-
'control-panel-sweet-alert', // Ken Theme
|
417 |
-
'cpm_chart', // WP Project Manager
|
418 |
-
'adminscripts', // Artisan Nayma Theme
|
419 |
-
'artisan-pages-script', // Artisan Pages Plugin
|
420 |
-
'tooltipster', // Grand News Theme
|
421 |
-
'fancybox', // Grand News Theme
|
422 |
-
'grandnews-admin-cript', // Grand News Theme
|
423 |
-
'colorpicker', // Grand News Theme
|
424 |
-
'eye', // Grand News Theme
|
425 |
-
'icheck', // Grand News Theme
|
426 |
-
'learn-press-chart', // LearnPress
|
427 |
-
'theme-script-main', // My Listing Theme by 27collective
|
428 |
-
'selz', // Selz eCommerce
|
429 |
-
'tie-admin-scripts', // Tie Theme
|
430 |
-
'blossomthemes-toolkit', // BlossomThemes Toolkit
|
431 |
-
'illdy-widget-upload-image', // Illdy Companion By Colorlib
|
432 |
-
'moment.js', // WooCommerce Table Rate Shipping
|
433 |
-
'default', // Bridge Theme
|
434 |
-
'qode-tax-js', // Bridge Theme
|
435 |
-
'wc_smartship_moment_js', // WooCommerce Posti SmartShip by markup.fi
|
436 |
-
'ecwid-admin-js', // Fixes Conflict for Ecwid Shopping Cart
|
437 |
-
'td-wp-admin-js', // Newspaper by tagDiv
|
438 |
-
'moment', // Screets Live Chat
|
439 |
-
'wpmf-base', // WP Media Folder Fix
|
440 |
-
'wpmf-media-filters', // WP Media Folder Fix
|
441 |
-
'wpmf-folder-tree', // WP Media Folder Fix
|
442 |
-
'wpmf-assign-tree', // WP Media Folder Fix
|
443 |
-
'js_files_for_wp_admin', // TagDiv Composer Fix
|
444 |
-
'tdb_js_files_for_wp_admin_last', // TagDiv Composer Fix
|
445 |
-
'tdb_js_files_for_wp_admin', // TagDiv Composer Fix
|
446 |
-
'wd-functions', // affiliate boxes
|
447 |
-
'ellk-aliExpansion', // Ali Dropship Plugin
|
448 |
-
'ftmetajs', // Houzez Theme
|
449 |
-
'qode_admin_default', // Fix For Stockholm Theme
|
450 |
-
'qodef-tax-js', // Fix for Prowess Theme
|
451 |
-
'qodef-user-js', // Fix for Prowess Theme
|
452 |
-
'qodef-ui-admin', // Fix for Prowess Theme
|
453 |
-
'ssi_script', // Fix for Add Social Share
|
454 |
-
'live_templates', // Fix for Add Social Share
|
455 |
-
'default', // Fix for Add Social Share
|
456 |
-
'handsontable', // Fix WP Tables
|
457 |
-
'moment-js', // Magee Shortcodes
|
458 |
-
'postbox', // Scripts from wp-admin enqueued everywhere by WP Posts Filter
|
459 |
-
'link', // Scripts from wp-admin enqueued everywhere by WP Posts Filter
|
460 |
-
'wpvr_scripts', // WP Video Robot
|
461 |
-
'wpvr_scripts_loaded', // WP Video Robot
|
462 |
-
'wpvr_scripts_assets', // WP Video Robot
|
463 |
-
'writee_widget_admin', // Fix for the Writtee theme
|
464 |
-
'__ytprefs_admin__', // Fix for YouTube by EmbedPlus plugin
|
465 |
-
'momentjs', // Fix for Blog Time plugin
|
466 |
-
'c2c_BlogTime', // Fix for Blog Time plugin
|
467 |
-
'material-wp', // Fix for MaterialWP plugin
|
468 |
-
'wp-color-picker-alpha', // Fix for MaterialWP plugin
|
469 |
-
'grandtour-theme-script', // Grandtour Theme
|
470 |
-
'swifty-img-widget-admin-script', // Fix for Swifty Image Widget
|
471 |
-
'datatable', // WP Todo
|
472 |
-
'flipclock', // WP Todo
|
473 |
-
'bootstrap', // WP Todo
|
474 |
-
'repuso_js_admin', // Social testimonials and reviews by Repuso
|
475 |
-
'chart', // Video Mate Pro Theme
|
476 |
-
'reuse_vendor', // RedQ Reuse Form
|
477 |
-
'jetpack-onboarding-vendor', // Jetpack Onboarding Bluehost
|
478 |
-
'date-js', // Google Analytics by Web Dorado
|
479 |
-
);
|
480 |
-
|
481 |
-
if ( ! empty( $styles ) ) {
|
482 |
-
foreach ( $styles as $style ) {
|
483 |
-
wp_dequeue_style( $style ); // Remove CSS file from MI screen
|
484 |
-
wp_deregister_style( $style );
|
485 |
-
}
|
486 |
-
}
|
487 |
-
if ( ! empty( $scripts ) ) {
|
488 |
-
foreach ( $scripts as $script ) {
|
489 |
-
wp_dequeue_script( $script ); // Remove JS file from MI screen
|
490 |
-
wp_deregister_script( $script );
|
491 |
-
}
|
492 |
-
}
|
493 |
-
|
494 |
-
$third_party = array(
|
495 |
-
'select2',
|
496 |
-
'sweetalert',
|
497 |
-
'clipboard',
|
498 |
-
'matchHeight',
|
499 |
-
'inputmask',
|
500 |
-
'jquery-confirm',
|
501 |
-
'list',
|
502 |
-
'toastr',
|
503 |
-
'tooltipster',
|
504 |
-
'flag-icon',
|
505 |
-
'bootstrap',
|
506 |
-
);
|
507 |
-
|
508 |
-
global $wp_styles;
|
509 |
-
foreach ( $wp_styles->queue as $handle ) {
|
510 |
-
if ( strpos( $wp_styles->registered[ $handle ]->src, 'wp-content' ) === false ) {
|
511 |
-
return;
|
512 |
-
}
|
513 |
-
|
514 |
-
if ( strpos( $wp_styles->registered[ $handle ]->handle, 'monsterinsights' ) !== false ) {
|
515 |
-
return;
|
516 |
-
}
|
517 |
-
|
518 |
-
foreach ( $third_party as $partial ) {
|
519 |
-
if ( strpos( $wp_styles->registered[ $handle ]->handle, $partial ) !== false ) {
|
520 |
-
wp_dequeue_style( $handle ); // Remove css file from MI screen
|
521 |
-
wp_deregister_style( $handle );
|
522 |
-
break;
|
523 |
-
} else if ( strpos( $wp_styles->registered[ $handle ]->src, $partial ) !== false ) {
|
524 |
-
wp_dequeue_style( $handle ); // Remove css file from MI screen
|
525 |
-
wp_deregister_style( $handle );
|
526 |
-
break;
|
527 |
-
}
|
528 |
-
}
|
529 |
-
}
|
530 |
-
|
531 |
-
global $wp_scripts;
|
532 |
-
foreach ( $wp_scripts->queue as $handle ) {
|
533 |
-
if ( strpos( $wp_scripts->registered[ $handle ]->src, 'wp-content' ) === false ) {
|
534 |
-
return;
|
535 |
-
}
|
536 |
-
|
537 |
-
if ( strpos( $wp_scripts->registered[ $handle ]->handle, 'monsterinsights' ) !== false ) {
|
538 |
-
return;
|
539 |
-
}
|
540 |
-
|
541 |
-
foreach ( $third_party as $partial ) {
|
542 |
-
if ( strpos( $wp_scripts->registered[ $handle ]->handle, $partial ) !== false ) {
|
543 |
-
wp_dequeue_script( $handle ); // Remove JS file from MI screen
|
544 |
-
wp_deregister_script( $handle );
|
545 |
-
break;
|
546 |
-
} else if ( strpos( $wp_scripts->registered[ $handle ]->src, $partial ) !== false ) {
|
547 |
-
wp_dequeue_script( $handle ); // Remove JS file from MI screen
|
548 |
-
wp_deregister_script( $handle );
|
549 |
-
break;
|
550 |
-
}
|
551 |
-
}
|
552 |
-
}
|
553 |
-
|
554 |
-
// Remove actions from themes that are not following best practices and break the admin doing so
|
555 |
-
// Theme: Newspaper by tagDiv
|
556 |
-
remove_action( 'admin_enqueue_scripts', 'load_wp_admin_js' );
|
557 |
-
remove_action( 'admin_enqueue_scripts', 'load_wp_admin_css' );
|
558 |
-
remove_action( 'admin_print_scripts-widgets.php', 'td_on_admin_print_scripts_farbtastic' );
|
559 |
-
remove_action( 'admin_print_styles-widgets.php', 'td_on_admin_print_styles_farbtastic' );
|
560 |
-
remove_action( 'admin_print_footer_scripts', 'check_if_media_uploads_is_loaded', 9999 );
|
561 |
-
remove_action( 'print_media_templates', 'td_custom_gallery_settings_hook' );
|
562 |
-
remove_action( 'print_media_templates', 'td_change_backbone_js_hook' );
|
563 |
-
remove_action( 'admin_head', 'tdc_on_admin_head' ); // TagDiv Composer Fix
|
564 |
-
remove_action( 'print_media_templates', 'us_media_templates' ); // Impreza Theme Fix
|
565 |
-
remove_action( 'admin_footer', 'gt3pg_add_gallery_template' ); // GT3 Photo & Video Gallery By GT3 Themes Plugin Fix
|
566 |
-
// Plugin WP Booklist:
|
567 |
-
remove_action( 'admin_footer', 'wpbooklist_jre_dismiss_prem_notice_forever_action_javascript' );
|
568 |
-
remove_action( 'admin_footer', 'wpbooklist_dashboard_add_book_action_javascript' );
|
569 |
-
remove_action( 'admin_footer', 'wpbooklist_edit_book_show_form_action_javascript' );
|
570 |
-
remove_action( 'admin_footer', 'wpbooklist_show_book_in_colorbox_action_javascript' );
|
571 |
-
remove_action( 'admin_footer', 'wpbooklist_new_lib_shortcode_action_javascript' );
|
572 |
-
remove_action( 'admin_footer', 'wpbooklist_dashboard_save_library_display_options_action_javascript' );
|
573 |
-
remove_action( 'admin_footer', 'wpbooklist_dashboard_save_post_display_options_action_javascript' );
|
574 |
-
remove_action( 'admin_footer', 'wpbooklist_dashboard_save_page_display_options_action_javascript' );
|
575 |
-
remove_action( 'admin_footer', 'wpbooklist_update_display_options_action_javascript' );
|
576 |
-
remove_action( 'admin_footer', 'wpbooklist_edit_book_pagination_action_javascript' );
|
577 |
-
remove_action( 'admin_footer', 'wpbooklist_edit_book_switch_lib_action_javascript' );
|
578 |
-
remove_action( 'admin_footer', 'wpbooklist_edit_book_search_action_javascript' );
|
579 |
-
remove_action( 'admin_footer', 'wpbooklist_edit_book_actual_action_javascript' );
|
580 |
-
remove_action( 'admin_footer', 'wpbooklist_delete_book_action_javascript' );
|
581 |
-
remove_action( 'admin_footer', 'wpbooklist_user_apis_action_javascript' );
|
582 |
-
remove_action( 'admin_footer', 'wpbooklist_upload_new_stylepak_action_javascript' );
|
583 |
-
remove_action( 'admin_footer', 'wpbooklist_upload_new_post_template_action_javascript' );
|
584 |
-
remove_action( 'admin_footer', 'wpbooklist_upload_new_page_template_action_javascript' );
|
585 |
-
remove_action( 'admin_footer', 'wpbooklist_create_db_library_backup_action_javascript' );
|
586 |
-
remove_action( 'admin_footer', 'wpbooklist_restore_db_library_backup_action_javascript' );
|
587 |
-
remove_action( 'admin_footer', 'wpbooklist_create_csv_action_javascript' );
|
588 |
-
remove_action( 'admin_footer', 'wpbooklist_amazon_localization_action_javascript' );
|
589 |
-
remove_action( 'admin_footer', 'wpbooklist_delete_book_bulk_action_javascript' );
|
590 |
-
remove_action( 'admin_footer', 'wpbooklist_reorder_action_javascript' );
|
591 |
-
remove_action( 'admin_footer', 'wpbooklist_exit_results_action_javascript' );
|
592 |
-
remove_action( 'admin_footer', 'wpbooklist_storytime_select_category_action_javascript' );
|
593 |
-
remove_action( 'admin_footer', 'wpbooklist_storytime_get_story_action_javascript' );
|
594 |
-
remove_action( 'admin_footer', 'wpbooklist_storytime_expand_browse_action_javascript' );
|
595 |
-
remove_action( 'admin_footer', 'wpbooklist_storytime_save_settings_action_javascript' );
|
596 |
-
remove_action( 'admin_footer', 'wpbooklist_delete_story_action_javascript' );
|
597 |
-
}
|
598 |
-
|
599 |
-
add_action( 'admin_enqueue_scripts', 'monsterinsights_remove_conflicting_asset_files', 9999 );
|
600 |
-
|
601 |
-
/**
|
602 |
-
* Remove non-MI notices from MI page.
|
603 |
-
*
|
604 |
-
* @return null Return early if not on the proper screen.
|
605 |
-
* @since 6.0.0
|
606 |
-
* @access public
|
607 |
-
*
|
608 |
-
*/
|
609 |
-
function hide_non_monsterinsights_warnings() {
|
610 |
-
// Bail if we're not on a MonsterInsights screen.
|
611 |
-
if ( empty( $_REQUEST['page'] ) || strpos( $_REQUEST['page'], 'monsterinsights' ) === false ) {
|
612 |
-
return;
|
613 |
-
}
|
614 |
-
|
615 |
-
global $wp_filter;
|
616 |
-
if ( ! empty( $wp_filter['user_admin_notices']->callbacks ) && is_array( $wp_filter['user_admin_notices']->callbacks ) ) {
|
617 |
-
foreach ( $wp_filter['user_admin_notices']->callbacks as $priority => $hooks ) {
|
618 |
-
foreach ( $hooks as $name => $arr ) {
|
619 |
-
if ( is_object( $arr['function'] ) && $arr['function'] instanceof Closure ) {
|
620 |
-
unset( $wp_filter['user_admin_notices']->callbacks[ $priority ][ $name ] );
|
621 |
-
continue;
|
622 |
-
}
|
623 |
-
if ( ! empty( $arr['function'][0] ) && is_object( $arr['function'][0] ) && strpos( strtolower( get_class( $arr['function'][0] ) ), 'monsterinsights' ) !== false ) {
|
624 |
-
continue;
|
625 |
-
}
|
626 |
-
if ( ! empty( $name ) && strpos( $name, 'monsterinsights' ) === false ) {
|
627 |
-
unset( $wp_filter['user_admin_notices']->callbacks[ $priority ][ $name ] );
|
628 |
-
}
|
629 |
-
}
|
630 |
-
}
|
631 |
-
}
|
632 |
-
|
633 |
-
if ( ! empty( $wp_filter['admin_notices']->callbacks ) && is_array( $wp_filter['admin_notices']->callbacks ) ) {
|
634 |
-
foreach ( $wp_filter['admin_notices']->callbacks as $priority => $hooks ) {
|
635 |
-
foreach ( $hooks as $name => $arr ) {
|
636 |
-
if ( is_object( $arr['function'] ) && $arr['function'] instanceof Closure ) {
|
637 |
-
unset( $wp_filter['admin_notices']->callbacks[ $priority ][ $name ] );
|
638 |
-
continue;
|
639 |
-
}
|
640 |
-
if ( ! empty( $arr['function'][0] ) && is_object( $arr['function'][0] ) && strpos( strtolower( get_class( $arr['function'][0] ) ), 'monsterinsights' ) !== false ) {
|
641 |
-
continue;
|
642 |
-
}
|
643 |
-
if ( ! empty( $name ) && strpos( $name, 'monsterinsights' ) === false ) {
|
644 |
-
unset( $wp_filter['admin_notices']->callbacks[ $priority ][ $name ] );
|
645 |
-
}
|
646 |
-
}
|
647 |
-
}
|
648 |
-
}
|
649 |
-
|
650 |
-
if ( ! empty( $wp_filter['all_admin_notices']->callbacks ) && is_array( $wp_filter['all_admin_notices']->callbacks ) ) {
|
651 |
-
foreach ( $wp_filter['all_admin_notices']->callbacks as $priority => $hooks ) {
|
652 |
-
foreach ( $hooks as $name => $arr ) {
|
653 |
-
if ( is_object( $arr['function'] ) && $arr['function'] instanceof Closure ) {
|
654 |
-
unset( $wp_filter['all_admin_notices']->callbacks[ $priority ][ $name ] );
|
655 |
-
continue;
|
656 |
-
}
|
657 |
-
if ( ! empty( $arr['function'][0] ) && is_object( $arr['function'][0] ) && strpos( strtolower( get_class( $arr['function'][0] ) ), 'monsterinsights' ) !== false ) {
|
658 |
-
continue;
|
659 |
-
}
|
660 |
-
if ( ! empty( $name ) && strpos( $name, 'monsterinsights' ) === false ) {
|
661 |
-
unset( $wp_filter['all_admin_notices']->callbacks[ $priority ][ $name ] );
|
662 |
-
}
|
663 |
-
}
|
664 |
-
}
|
665 |
-
}
|
666 |
-
}
|
667 |
-
|
668 |
-
add_action( 'admin_print_scripts', 'hide_non_monsterinsights_warnings' );
|
669 |
-
add_action( 'admin_head', 'hide_non_monsterinsights_warnings', PHP_INT_MAX );
|
670 |
-
|
671 |
-
/**
|
672 |
-
* Called whenever an upgrade button / link is displayed in Lite, this function will
|
673 |
-
* check if there's a shareasale ID specified.
|
674 |
-
*
|
675 |
-
* There are three ways to specify an ID, ordered by highest to lowest priority
|
676 |
-
* - add_filter( 'monsterinsights_shareasale_id', function() { return 1234; } );
|
677 |
-
* - define( 'MONSTERINSIGHTS_SHAREASALE_ID', 1234 );
|
678 |
-
* - get_option( 'monsterinsights_shareasale_id' ); (with the option being in the wp_options table)
|
679 |
-
*
|
680 |
-
* If an ID is present, returns the ShareASale link with the affiliate ID, and tells
|
681 |
-
* ShareASale to then redirect to monsterinsights.com/lite
|
682 |
-
*
|
683 |
-
* If no ID is present, just returns the monsterinsights.com/lite URL with UTM tracking.
|
684 |
-
*
|
685 |
-
* @return string Upgrade link.
|
686 |
-
* @since 6.0.0
|
687 |
-
* @access public
|
688 |
-
*
|
689 |
-
*/
|
690 |
-
function monsterinsights_get_upgrade_link( $medium = '', $campaign = '', $url = '' ) {
|
691 |
-
$url = monsterinsights_get_url( $medium, $campaign, $url, false );
|
692 |
-
|
693 |
-
if ( monsterinsights_is_pro_version() ) {
|
694 |
-
return esc_url( $url );
|
695 |
-
}
|
696 |
-
|
697 |
-
// Get the ShareASale ID
|
698 |
-
$shareasale_id = monsterinsights_get_shareasale_id();
|
699 |
-
|
700 |
-
// If we have a shareasale ID return the shareasale url
|
701 |
-
if ( ! empty( $shareasale_id ) ) {
|
702 |
-
$shareasale_id = absint( $shareasale_id );
|
703 |
-
|
704 |
-
return esc_url( monsterinsights_get_shareasale_url( $shareasale_id, $url ) );
|
705 |
-
} else {
|
706 |
-
return esc_url( $url );
|
707 |
-
}
|
708 |
-
}
|
709 |
-
|
710 |
-
function monsterinsights_get_url( $medium = '', $campaign = '', $url = '', $escape = true ) {
|
711 |
-
// Setup Campaign variables
|
712 |
-
$source = monsterinsights_is_pro_version() ? 'proplugin' : 'liteplugin';
|
713 |
-
$medium = ! empty( $medium ) ? $medium : 'defaultmedium';
|
714 |
-
$campaign = ! empty( $campaign ) ? $campaign : 'defaultcampaign';
|
715 |
-
$content = MONSTERINSIGHTS_VERSION;
|
716 |
-
$default_url = monsterinsights_is_pro_version() ? '' : 'lite/';
|
717 |
-
$url = ! empty( $url ) ? $url : 'https://www.monsterinsights.com/' . $default_url;
|
718 |
-
|
719 |
-
// Put together redirect URL
|
720 |
-
$url = add_query_arg(
|
721 |
-
array(
|
722 |
-
'utm_source' => $source, // Pro/Lite Plugin
|
723 |
-
'utm_medium' => sanitize_key( $medium ), // Area of MonsterInsights (example Reports)
|
724 |
-
'utm_campaign' => sanitize_key( $campaign ), // Which link (example eCommerce Report)
|
725 |
-
'utm_content' => $content, // Version number of MI
|
726 |
-
),
|
727 |
-
trailingslashit( $url )
|
728 |
-
);
|
729 |
-
|
730 |
-
if ( $escape ) {
|
731 |
-
return esc_url( $url );
|
732 |
-
} else {
|
733 |
-
return $url;
|
734 |
-
}
|
735 |
-
}
|
736 |
-
|
737 |
-
function monsterinsights_settings_ublock_error_js() {
|
738 |
-
echo "<script type='text/javascript'>\n";
|
739 |
-
echo "jQuery( document ).ready( function( $ ) {
|
740 |
-
if ( window.uorigindetected == null){
|
741 |
-
$('#monsterinsights-ublock-origin-error').show();
|
742 |
-
$('.monsterinsights-nav-tabs').hide();
|
743 |
-
$('.monsterinsights-nav-container').hide();
|
744 |
-
$('#monsterinsights-addon-heading').hide();
|
745 |
-
$('#monsterinsights-addons').hide();
|
746 |
-
$('#monsterinsights-reports').hide();
|
747 |
-
}
|
748 |
-
});";
|
749 |
-
echo "\n</script>";
|
750 |
-
}
|
751 |
-
|
752 |
-
function monsterinsights_ublock_notice() {
|
753 |
-
ob_start(); ?>
|
754 |
-
<div id="monsterinsights-ublock-origin-error" class="error inline" style="display:none;">
|
755 |
-
<?php
|
756 |
-
// Translators: Placeholders are for links to fix the issue.
|
757 |
-
echo sprintf( esc_html__( 'MonsterInsights has detected that it\'s files are being blocked. This is usually caused by a adblock browser plugin (particularly uBlock Origin), or a conflicting WordPress theme or plugin. This issue only affects the admin side of MonsterInsights. To solve this, ensure MonsterInsights is whitelisted for your website URL in any adblock browser plugin you use. For step by step directions on how to do this, %1$sclick here%2$s. If this doesn\'t solve the issue (rare), send us a ticket %3$shere%2$s and we\'ll be happy to help diagnose the issue.', 'google-analytics-for-wordpress' ), '<a href="https://monsterinsights.com/docs/monsterinsights-asset-files-blocked/" target="_blank" rel="noopener noreferrer" referrer="no-referrer">', '</a>', '<a href="https://monsterinsights.com/contact/" target="_blank" rel="noopener noreferrer" referrer="no-referrer">' );
|
758 |
-
?>
|
759 |
-
</div>
|
760 |
-
<?php
|
761 |
-
return ob_get_clean();
|
762 |
-
}
|
763 |
-
|
764 |
-
/**
|
765 |
-
* Some themes/plugins don't add proper checks and load JS code in all admin pages causing conflicts.
|
766 |
-
*/
|
767 |
-
function monsterinsights_remove_unnecessary_footer_hooks() {
|
768 |
-
|
769 |
-
$screen = get_current_screen();
|
770 |
-
// Bail if we're not on a MonsterInsights screen.
|
771 |
-
if ( empty( $screen->id ) || strpos( $screen->id, 'monsterinsights' ) === false ) {
|
772 |
-
return;
|
773 |
-
}
|
774 |
-
|
775 |
-
// Remove js code added by Newspaper theme - version 8.8.0.
|
776 |
-
remove_action( 'print_media_templates', 'td_custom_gallery_settings_hook' );
|
777 |
-
remove_action( 'print_media_templates', 'td_change_backbone_js_hook' );
|
778 |
-
// Remove js code added by the Brooklyn theme - version 4.5.3.1.
|
779 |
-
remove_action( 'print_media_templates', 'ut_create_gallery_options' );
|
780 |
-
|
781 |
-
// Remove js code added by WordPress Book List Plugin - version 5.8.1.
|
782 |
-
remove_action( 'admin_footer', 'wpbooklist_jre_dismiss_prem_notice_forever_action_javascript' );
|
783 |
-
remove_action( 'admin_footer', 'wpbooklist_dashboard_add_book_action_javascript' );
|
784 |
-
remove_action( 'admin_footer', 'wpbooklist_edit_book_show_form_action_javascript' );
|
785 |
-
remove_action( 'admin_footer', 'wpbooklist_show_book_in_colorbox_action_javascript' );
|
786 |
-
remove_action( 'admin_footer', 'wpbooklist_new_lib_shortcode_action_javascript' );
|
787 |
-
remove_action( 'admin_footer', 'wpbooklist_dashboard_save_library_display_options_action_javascript' );
|
788 |
-
remove_action( 'admin_footer', 'wpbooklist_dashboard_save_post_display_options_action_javascript' );
|
789 |
-
remove_action( 'admin_footer', 'wpbooklist_dashboard_save_page_display_options_action_javascript' );
|
790 |
-
remove_action( 'admin_footer', 'wpbooklist_update_display_options_action_javascript' );
|
791 |
-
remove_action( 'admin_footer', 'wpbooklist_edit_book_pagination_action_javascript' );
|
792 |
-
remove_action( 'admin_footer', 'wpbooklist_edit_book_switch_lib_action_javascript' );
|
793 |
-
remove_action( 'admin_footer', 'wpbooklist_edit_book_search_action_javascript' );
|
794 |
-
remove_action( 'admin_footer', 'wpbooklist_edit_book_actual_action_javascript' );
|
795 |
-
remove_action( 'admin_footer', 'wpbooklist_delete_book_action_javascript' );
|
796 |
-
remove_action( 'admin_footer', 'wpbooklist_user_apis_action_javascript' );
|
797 |
-
remove_action( 'admin_footer', 'wpbooklist_upload_new_stylepak_action_javascript' );
|
798 |
-
remove_action( 'admin_footer', 'wpbooklist_upload_new_post_template_action_javascript' );
|
799 |
-
remove_action( 'admin_footer', 'wpbooklist_upload_new_page_template_action_javascript' );
|
800 |
-
remove_action( 'admin_footer', 'wpbooklist_create_db_library_backup_action_javascript' );
|
801 |
-
remove_action( 'admin_footer', 'wpbooklist_restore_db_library_backup_action_javascript' );
|
802 |
-
remove_action( 'admin_footer', 'wpbooklist_create_csv_action_javascript' );
|
803 |
-
remove_action( 'admin_footer', 'wpbooklist_amazon_localization_action_javascript' );
|
804 |
-
remove_action( 'admin_footer', 'wpbooklist_delete_book_bulk_action_javascript' );
|
805 |
-
remove_action( 'admin_footer', 'wpbooklist_reorder_action_javascript' );
|
806 |
-
remove_action( 'admin_footer', 'wpbooklist_exit_results_action_javascript' );
|
807 |
-
remove_action( 'admin_footer', 'wpbooklist_storytime_select_category_action_javascript' );
|
808 |
-
remove_action( 'admin_footer', 'wpbooklist_storytime_get_story_action_javascript' );
|
809 |
-
remove_action( 'admin_footer', 'wpbooklist_storytime_expand_browse_action_javascript' );
|
810 |
-
remove_action( 'admin_footer', 'wpbooklist_storytime_save_settings_action_javascript' );
|
811 |
-
remove_action( 'admin_footer', 'wpbooklist_delete_story_action_javascript' );
|
812 |
-
}
|
813 |
-
|
814 |
-
add_action( 'admin_head', 'monsterinsights_remove_unnecessary_footer_hooks', 15 );
|
815 |
-
|
816 |
-
|
817 |
-
/**
|
818 |
-
* Prevent plugins/themes from removing the version number from scripts loaded by our plugin.
|
819 |
-
* Ideally those plugins/themes would follow WordPress coding best practices, but in lieu of that
|
820 |
-
* we can at least attempt to prevent 99% of them from doing bad things.
|
821 |
-
*
|
822 |
-
* @param string $src The script source.
|
823 |
-
*
|
824 |
-
* @return string
|
825 |
-
*/
|
826 |
-
function monsterinsights_prevent_version_number_removal( $src ) {
|
827 |
-
// Apply this only to admin-side scripts.
|
828 |
-
if ( ! is_admin() ) {
|
829 |
-
return $src;
|
830 |
-
}
|
831 |
-
|
832 |
-
// Make sure are only changing our scripts and only if the version number is missing.
|
833 |
-
if ( ( false !== strpos( $src, 'monsterinsights' ) || false !== strpos( $src, 'google-analytics-for-wordpress' ) || false !== strpos( $src, 'google-analytics-premium' ) ) && false === strpos( $src, '?ver' ) ) {
|
834 |
-
$src = add_query_arg( 'ver', monsterinsights_get_asset_version(), $src );
|
835 |
-
}
|
836 |
-
|
837 |
-
return $src;
|
838 |
-
}
|
839 |
-
|
840 |
-
add_filter( 'script_loader_src', 'monsterinsights_prevent_version_number_removal', 9999, 1 );
|
841 |
-
add_filter( 'style_loader_src', 'monsterinsights_prevent_version_number_removal', 9999, 1 );
|
842 |
-
|
843 |
-
/**
|
844 |
-
* Data used for the Vue scripts to display old PHP and WP versions warnings.
|
845 |
-
*/
|
846 |
-
function monsterinsights_get_php_wp_version_warning_data() {
|
847 |
-
global $wp_version;
|
848 |
-
|
849 |
-
$compatible_php_version = apply_filters( 'monsterinsights_compatible_php_version', false );
|
850 |
-
$compatible_wp_version = apply_filters( 'monsterinsights_compatible_wp_version', false );
|
851 |
-
|
852 |
-
return array(
|
853 |
-
'php_version' => phpversion(),
|
854 |
-
'php_version_below_54' => apply_filters( 'monsterinsights_temporarily_hide_php_under_56_upgrade_warnings', version_compare( phpversion(), $compatible_php_version['warning'], '<' ) ),
|
855 |
-
'php_version_below_56' => apply_filters( 'monsterinsights_temporarily_hide_php_56_upgrade_warnings', version_compare( phpversion(), $compatible_php_version['warning'], '>=' ) && version_compare( phpversion(), $compatible_php_version['recommended'], '<' ) ),
|
856 |
-
'php_update_link' => monsterinsights_get_url( 'settings-notice', 'settings-page', 'https://www.monsterinsights.com/docs/update-php/' ),
|
857 |
-
'wp_version' => $wp_version,
|
858 |
-
'wp_version_below_46' => version_compare( $wp_version, $compatible_wp_version['warning'], '<' ),
|
859 |
-
'wp_version_below_49' => version_compare( $wp_version, $compatible_wp_version['recommended'], '<' ),
|
860 |
-
'wp_update_link' => monsterinsights_get_url( 'settings-notice', 'settings-page', 'https://www.monsterinsights.com/docs/update-wordpress/' ),
|
861 |
-
);
|
862 |
-
}
|
863 |
-
|
864 |
-
/**
|
865 |
-
* Check WP and PHP version and add contextual notifications for upgrades.
|
866 |
-
*/
|
867 |
-
function monsterinsights_maybe_add_wp_php_version_notification() {
|
868 |
-
global $wp_version;
|
869 |
-
|
870 |
-
$icon = '<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="16" cy="16" r="16" fill="#FAD1D1"/><path d="M17.3634 19.0714C17.792 19.4821 18.0063 19.9821 18.0063 20.5714C18.0063 21.1607 17.792 21.6607 17.3634 22.0714C16.9527 22.5 16.4527 22.7143 15.8634 22.7143C15.2742 22.7143 14.7652 22.5 14.3367 22.0714C13.9259 21.6607 13.7206 21.1607 13.7206 20.5714C13.7206 19.9821 13.9259 19.4821 14.3367 19.0714C14.7652 18.6429 15.2742 18.4286 15.8634 18.4286C16.4527 18.4286 16.9527 18.6429 17.3634 19.0714ZM13.9617 9.66964C13.9617 9.49107 14.0242 9.33929 14.1492 9.21429C14.2742 9.07143 14.4259 9 14.6045 9H17.1224C17.3009 9 17.4527 9.07143 17.5777 9.21429C17.7027 9.33929 17.7652 9.49107 17.7652 9.66964L17.3902 16.9554C17.3902 17.1339 17.3277 17.2857 17.2027 17.4107C17.0777 17.5179 16.9259 17.5714 16.7474 17.5714H14.9795C14.8009 17.5714 14.6492 17.5179 14.5242 17.4107C14.3992 17.2857 14.3367 17.1339 14.3367 16.9554L13.9617 9.66964Z" fill="#EB5757"/></svg>';
|
871 |
-
$needs_php_warning = version_compare( phpversion(), '5.6', '<' );
|
872 |
-
$needs_wp_warning = version_compare( $wp_version, '4.9', '<' );
|
873 |
-
|
874 |
-
if ( $needs_php_warning ) {
|
875 |
-
$notification['id'] = 'upgrade_php_56_notification';
|
876 |
-
$notification['title'] = __( 'ACTION REQUIRED: Your PHP version is putting your site at risk!', 'google-analytics-for-wordpress' );
|
877 |
-
if ( $needs_wp_warning ) {
|
878 |
-
$notification['title'] = __( 'ACTION REQUIRED: Speed your website up 400% with a single email!', 'google-analytics-for-wordpress' );
|
879 |
-
}
|
880 |
-
|
881 |
-
$php_url = monsterinsights_get_url( 'notifications', 'upgrade-php', 'https://www.monsterinsights.com/docs/update-php' );
|
882 |
-
|
883 |
-
$notification['type'] = array( 'basic', 'lite', 'master', 'plus', 'pro' );
|
884 |
-
// Translators: Placeholder is for the current PHP version.
|
885 |
-
$notification['content'] = sprintf( esc_html__( 'In the next major release of MonsterInsights we are planning to remove support for the version of PHP you are using (%s). This insecure version is no longer supported by WordPress itself, so you are already missing out on the latest features of WordPress along with critical updates for security and performance (modern PHP versions make websites much faster).', 'google-analytics-for-wordpress' ), phpversion() ) . "\n\n";
|
886 |
-
|
887 |
-
// Translators: Placeholders add a link to an article.
|
888 |
-
$notification['content'] .= sprintf( esc_html__( 'To ensure MonsterInsights and other plugins on your site continue to function properly, and avoid putting your site at risk, please take a few minutes to ask your website hosting provider to upgrade the version of PHP to a modern PHP version (7.2 or newer). We provide helpful templates for how to ask them %1$shere%2$s.', 'google-analytics-for-wordpress' ), '<a target="_blank" href="' . $php_url . '">', '</a>' ) . "\n\n";
|
889 |
-
$notification['content'] .= esc_html__( 'Upgrading your PHP version will make sure you are able to continue using WordPress without issues in the future, keep your site secure, and will also make your website up to 400% faster!', 'google-analytics-for-wordpress' );
|
890 |
-
|
891 |
-
$notification['icon'] = $icon;
|
892 |
-
$notification['btns'] = array(
|
893 |
-
'learn_more' => array(
|
894 |
-
'url' => $php_url,
|
895 |
-
'text' => esc_html__( 'Learn More', 'google-analytics-for-wordpress' ),
|
896 |
-
),
|
897 |
-
);
|
898 |
-
|
899 |
-
// Add the notification.
|
900 |
-
MonsterInsights()->notifications->add( $notification );
|
901 |
-
}
|
902 |
-
|
903 |
-
if ( $needs_wp_warning ) {
|
904 |
-
|
905 |
-
$isitwp_url = 'https://www.isitwp.com/upgrading-wordpress-is-easier-than-you-think/?utm_source=monsterinsights&utm_medium=notifications&utm_campaign=upgradewp';
|
906 |
-
$wpbeginner_url = 'https://www.wpbeginner.com/beginners-guide/why-you-should-always-use-the-latest-version-of-wordpress/utm_source=monsterinsights&utm_medium=notifications&utm_campaign=upgradewp';
|
907 |
-
|
908 |
-
$notification['id'] = 'upgrade_wp_49_notification';
|
909 |
-
$notification['title'] = __( 'ACTION REQUIRED: Your WordPress version is putting your site at risk!', 'google-analytics-for-wordpress' );
|
910 |
-
$notification['type'] = array( 'basic', 'lite', 'master', 'plus', 'pro' );
|
911 |
-
// Translators: Placeholder is for the current WordPress version.
|
912 |
-
$notification['content'] = sprintf( esc_html__( 'In the next major release of MonsterInsights we are planning to remove support for the version of WordPress you are using (version %s). This version is several years out of date, and most plugins do not support this version anymore, so you could be missing out on critical updates for performance and security already!', 'google-analytics-for-wordpress' ), $wp_version ) . "\n\n";
|
913 |
-
|
914 |
-
$notification['content'] .= esc_html__( 'The good news: updating WordPress has never been easier and only takes a few moments.', 'google-analytics-for-wordpress' );
|
915 |
-
// Translators: Placeholders add links to articles.
|
916 |
-
$notification['content'] .= sprintf( esc_html__( 'To update, we recommend following this %1$sstep by step guide for updating WordPress%2$s from IsItWP and afterwards check out %3$sWhy You Should Always Use the Latest Version of WordPress%4$s on WPBeginner.', 'google-analytics-for-wordpress' ), '<a target="_blank" href="' . $isitwp_url . '">', '</a>', '<a target="_blank" href="' . $wpbeginner_url . '">', '</a>' ) . "\n\n";
|
917 |
-
|
918 |
-
$notification['icon'] = $icon;
|
919 |
-
$notification['btns'] = array(
|
920 |
-
'learn_more' => array(
|
921 |
-
'url' => $isitwp_url,
|
922 |
-
'text' => esc_html__( 'Learn More', 'google-analytics-for-wordpress' ),
|
923 |
-
),
|
924 |
-
);
|
925 |
-
|
926 |
-
// Add the notification.
|
927 |
-
MonsterInsights()->notifications->add( $notification );
|
928 |
-
}
|
929 |
-
|
930 |
-
}
|
931 |
-
|
932 |
-
add_action( 'admin_init', 'monsterinsights_maybe_add_wp_php_version_notification' );
|
933 |
-
|
934 |
-
/**
|
935 |
-
* Add notification for Year In Review report for year 2021.
|
936 |
-
*
|
937 |
-
* @since 7.13.2
|
938 |
-
*
|
939 |
-
* @return void
|
940 |
-
*/
|
941 |
-
function monsterinsights_year_in_review_notification() {
|
942 |
-
|
943 |
-
// Check if dates are between Jan 1st 2022 & 13th Jan 2022.
|
944 |
-
if ( monsterinsights_date_is_between( '2022-01-01', '2022-01-14' ) ) {
|
945 |
-
|
946 |
-
$notification['id'] = 'monsterinsights_notification_year_in_review';
|
947 |
-
$notification['type'] = array( 'basic', 'lite', 'master', 'plus', 'pro' );
|
948 |
-
$notification['start'] = '2022-01-01';
|
949 |
-
$notification['end'] = '2022-01-14';
|
950 |
-
$notification['title'] = esc_html__( 'View 2021 Year in Review report!', 'google-analytics-for-wordpress' );
|
951 |
-
$notification['content'] = esc_html__( 'See how your website performed this year and find tips along the way to help grow even more in 2022!', 'google-analytics-for-wordpress' );
|
952 |
-
$notification['btns'] = array(
|
953 |
-
'learn_more' => array(
|
954 |
-
'url' => esc_url( admin_url( 'admin.php?page=monsterinsights_reports#/year-in-review' ) ),
|
955 |
-
'text' => esc_html__( 'Learn More', 'google-analytics-for-wordpress' ),
|
956 |
-
),
|
957 |
-
);
|
958 |
-
|
959 |
-
// Add the notification.
|
960 |
-
MonsterInsights()->notifications->add( $notification );
|
961 |
-
}
|
962 |
-
}
|
963 |
-
|
964 |
-
add_action( 'admin_init', 'monsterinsights_year_in_review_notification' );
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Common admin class.
|
4 |
+
*
|
5 |
+
* @since 6.0.0
|
6 |
+
*
|
7 |
+
* @package MonsterInsights
|
8 |
+
* @subpackage Common
|
9 |
+
* @author Chris Christoff
|
10 |
+
*/
|
11 |
+
|
12 |
+
// Exit if accessed directly
|
13 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
14 |
+
exit;
|
15 |
+
}
|
16 |
+
|
17 |
+
function monsterinsights_is_settings_page() {
|
18 |
+
$current_screen = function_exists( 'get_current_screen' ) ? get_current_screen() : false;
|
19 |
+
global $admin_page_hooks;
|
20 |
+
|
21 |
+
if ( ! is_object( $current_screen ) || empty( $current_screen->id ) || empty( $admin_page_hooks ) ) {
|
22 |
+
return false;
|
23 |
+
}
|
24 |
+
|
25 |
+
$settings_page = false;
|
26 |
+
if ( ! empty( $admin_page_hooks['monsterinsights_settings'] ) && $current_screen->id === $admin_page_hooks['monsterinsights_settings'] ) {
|
27 |
+
$settings_page = true;
|
28 |
+
}
|
29 |
+
|
30 |
+
if ( $current_screen->id === 'toplevel_page_monsterinsights_settings' ) {
|
31 |
+
$settings_page = true;
|
32 |
+
}
|
33 |
+
|
34 |
+
if ( $current_screen->id === 'insights_page_monsterinsights_settings' ) {
|
35 |
+
$settings_page = true;
|
36 |
+
}
|
37 |
+
|
38 |
+
if ( strpos( $current_screen->id, 'monsterinsights_settings' ) !== false ) {
|
39 |
+
$settings_page = true;
|
40 |
+
}
|
41 |
+
|
42 |
+
if ( ! empty( $current_screen->base ) && strpos( $current_screen->base, 'monsterinsights_network' ) !== false ) {
|
43 |
+
$settings_page = true;
|
44 |
+
}
|
45 |
+
|
46 |
+
return $settings_page;
|
47 |
+
}
|
48 |
+
|
49 |
+
/**
|
50 |
+
* Determine if the current page is the Reports page.
|
51 |
+
*
|
52 |
+
* @return bool
|
53 |
+
*/
|
54 |
+
function monsterinsights_is_reports_page() {
|
55 |
+
$current_screen = function_exists( 'get_current_screen' ) ? get_current_screen() : false;
|
56 |
+
global $admin_page_hooks;
|
57 |
+
|
58 |
+
if ( ! is_object( $current_screen ) || empty( $current_screen->id ) || empty( $admin_page_hooks ) ) {
|
59 |
+
return false;
|
60 |
+
}
|
61 |
+
|
62 |
+
$reports_page = false;
|
63 |
+
if ( ! empty( $admin_page_hooks['monsterinsights_reports'] ) && $current_screen->id === $admin_page_hooks['monsterinsights_reports'] ) {
|
64 |
+
$reports_page = true;
|
65 |
+
}
|
66 |
+
|
67 |
+
if ( 'toplevel_page_monsterinsights_reports' === $current_screen->id ) {
|
68 |
+
$reports_page = true;
|
69 |
+
}
|
70 |
+
|
71 |
+
if ( strpos( $current_screen->id, 'monsterinsights_reports' ) !== false ) {
|
72 |
+
$reports_page = true;
|
73 |
+
}
|
74 |
+
|
75 |
+
return $reports_page;
|
76 |
+
}
|
77 |
+
|
78 |
+
/**
|
79 |
+
* Loads styles for all MonsterInsights-based Administration Screens.
|
80 |
+
*
|
81 |
+
* @return null Return early if not on the proper screen.
|
82 |
+
* @since 6.0.0
|
83 |
+
* @access public
|
84 |
+
*
|
85 |
+
*/
|
86 |
+
function monsterinsights_admin_styles() {
|
87 |
+
|
88 |
+
$suffix = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';
|
89 |
+
|
90 |
+
// Load Common admin styles.
|
91 |
+
wp_register_style( 'monsterinsights-admin-common-style', plugins_url( 'assets/css/admin-common' . $suffix . '.css', MONSTERINSIGHTS_PLUGIN_FILE ), array(), monsterinsights_get_asset_version() );
|
92 |
+
wp_enqueue_style( 'monsterinsights-admin-common-style' );
|
93 |
+
|
94 |
+
// Get current screen.
|
95 |
+
$screen = get_current_screen();
|
96 |
+
|
97 |
+
// Bail if we're not on a MonsterInsights screen.
|
98 |
+
if ( empty( $screen->id ) || strpos( $screen->id, 'monsterinsights' ) === false ) {
|
99 |
+
return;
|
100 |
+
}
|
101 |
+
|
102 |
+
$version_path = monsterinsights_is_pro_version() ? 'pro' : 'lite';
|
103 |
+
$rtl = is_rtl() ? '.rtl' : '';
|
104 |
+
|
105 |
+
// For the settings page, load the Vue app styles.
|
106 |
+
if ( monsterinsights_is_settings_page() ) {
|
107 |
+
if ( ! defined( 'MONSTERINSIGHTS_LOCAL_JS_URL' ) ) {
|
108 |
+
wp_enqueue_style( 'monsterinsights-vue-style-vendors', plugins_url( $version_path . '/assets/vue/css/chunk-vendors' . $rtl . '.css', MONSTERINSIGHTS_PLUGIN_FILE ), array(), monsterinsights_get_asset_version() );
|
109 |
+
wp_enqueue_style( 'monsterinsights-vue-style-common', plugins_url( $version_path . '/assets/vue/css/chunk-common' . $rtl . '.css', MONSTERINSIGHTS_PLUGIN_FILE ), array(), monsterinsights_get_asset_version() );
|
110 |
+
wp_enqueue_style( 'monsterinsights-vue-style', plugins_url( $version_path . '/assets/vue/css/settings' . $rtl . '.css', MONSTERINSIGHTS_PLUGIN_FILE ), array(), monsterinsights_get_asset_version() );
|
111 |
+
}
|
112 |
+
|
113 |
+
// Don't load other styles on the settings page.
|
114 |
+
return;
|
115 |
+
}
|
116 |
+
|
117 |
+
if ( monsterinsights_is_reports_page() ) {
|
118 |
+
if ( ! defined( 'MONSTERINSIGHTS_LOCAL_REPORTS_JS_URL' ) ) {
|
119 |
+
wp_enqueue_style( 'monsterinsights-vue-style-vendors', plugins_url( $version_path . '/assets/vue/css/chunk-vendors' . $rtl . '.css', MONSTERINSIGHTS_PLUGIN_FILE ), array(), monsterinsights_get_asset_version() );
|
120 |
+
wp_enqueue_style( 'monsterinsights-vue-style-common', plugins_url( $version_path . '/assets/vue/css/chunk-common' . $rtl . '.css', MONSTERINSIGHTS_PLUGIN_FILE ), array(), monsterinsights_get_asset_version() );
|
121 |
+
wp_enqueue_style( 'monsterinsights-vue-style', plugins_url( $version_path . '/assets/vue/css/reports' . $rtl . '.css', MONSTERINSIGHTS_PLUGIN_FILE ), array(), monsterinsights_get_asset_version() );
|
122 |
+
}
|
123 |
+
|
124 |
+
return;
|
125 |
+
}
|
126 |
+
|
127 |
+
// Tooltips
|
128 |
+
wp_enqueue_script( 'jquery-ui-tooltip' );
|
129 |
+
}
|
130 |
+
|
131 |
+
add_action( 'admin_enqueue_scripts', 'monsterinsights_admin_styles' );
|
132 |
+
|
133 |
+
/**
|
134 |
+
* Loads scripts for all MonsterInsights-based Administration Screens.
|
135 |
+
*
|
136 |
+
* @return null Return early if not on the proper screen.
|
137 |
+
* @since 6.0.0
|
138 |
+
* @access public
|
139 |
+
*
|
140 |
+
*/
|
141 |
+
function monsterinsights_admin_scripts() {
|
142 |
+
|
143 |
+
// Our Common Admin JS.
|
144 |
+
$suffix = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';
|
145 |
+
|
146 |
+
wp_register_script( 'monsterinsights-admin-common-script', plugins_url( 'assets/js/admin-common' . $suffix . '.js', MONSTERINSIGHTS_PLUGIN_FILE ), array( 'jquery' ), monsterinsights_get_asset_version(), true );
|
147 |
+
|
148 |
+
wp_enqueue_script( 'monsterinsights-admin-common-script' );
|
149 |
+
|
150 |
+
wp_localize_script(
|
151 |
+
'monsterinsights-admin-common-script',
|
152 |
+
'monsterinsights_admin_common',
|
153 |
+
array(
|
154 |
+
'ajax' => admin_url( 'admin-ajax.php' ),
|
155 |
+
'dismiss_notice_nonce' => wp_create_nonce( 'monsterinsights-dismiss-notice' ),
|
156 |
+
)
|
157 |
+
);
|
158 |
+
|
159 |
+
// Get current screen.
|
160 |
+
$screen = get_current_screen();
|
161 |
+
|
162 |
+
// Bail if we're not on a MonsterInsights screen.
|
163 |
+
if ( empty( $screen->id ) || strpos( $screen->id, 'monsterinsights' ) === false ) {
|
164 |
+
return;
|
165 |
+
}
|
166 |
+
|
167 |
+
$version_path = monsterinsights_is_pro_version() ? 'pro' : 'lite';
|
168 |
+
|
169 |
+
// For the settings page, load the Vue app.
|
170 |
+
if ( monsterinsights_is_settings_page() ) {
|
171 |
+
if ( ! defined( 'MONSTERINSIGHTS_LOCAL_VENDORS_JS_URL' ) ) {
|
172 |
+
wp_enqueue_script( 'monsterinsights-vue-vendors', plugins_url( $version_path . '/assets/vue/js/chunk-vendors.js', MONSTERINSIGHTS_PLUGIN_FILE ), array(), monsterinsights_get_asset_version(), true );
|
173 |
+
wp_enqueue_script( 'monsterinsights-vue-common', plugins_url( $version_path . '/assets/vue/js/chunk-common.js', MONSTERINSIGHTS_PLUGIN_FILE ), array(), monsterinsights_get_asset_version(), true );
|
174 |
+
} else {
|
175 |
+
wp_enqueue_script( 'monsterinsights-vue-vendors', MONSTERINSIGHTS_LOCAL_VENDORS_JS_URL, array(), monsterinsights_get_asset_version(), true );
|
176 |
+
wp_enqueue_script( 'monsterinsights-vue-common', MONSTERINSIGHTS_LOCAL_COMMON_JS_URL, array(), monsterinsights_get_asset_version(), true );
|
177 |
+
}
|
178 |
+
$app_js_url = defined( 'MONSTERINSIGHTS_LOCAL_JS_URL' ) && MONSTERINSIGHTS_LOCAL_JS_URL ? MONSTERINSIGHTS_LOCAL_JS_URL : plugins_url( $version_path . '/assets/vue/js/settings.js', MONSTERINSIGHTS_PLUGIN_FILE );
|
179 |
+
wp_register_script( 'monsterinsights-vue-script', $app_js_url, array(), monsterinsights_get_asset_version(), true );
|
180 |
+
wp_enqueue_script( 'monsterinsights-vue-script' );
|
181 |
+
$plugins = get_plugins();
|
182 |
+
$install_amp_url = false;
|
183 |
+
if ( monsterinsights_can_install_plugins() ) {
|
184 |
+
$amp_key = 'amp/amp.php';
|
185 |
+
if ( array_key_exists( $amp_key, $plugins ) ) {
|
186 |
+
$install_amp_url = wp_nonce_url( self_admin_url( 'plugins.php?action=activate&plugin=' . $amp_key ), 'activate-plugin_' . $amp_key );
|
187 |
+
} else {
|
188 |
+
$install_amp_url = wp_nonce_url( self_admin_url( 'update.php?action=install-plugin&plugin=amp' ), 'install-plugin_amp' );
|
189 |
+
}
|
190 |
+
}
|
191 |
+
$install_woocommerce_url = false;
|
192 |
+
if ( monsterinsights_can_install_plugins() ) {
|
193 |
+
$woo_key = 'woocommerce/woocommerce.php';
|
194 |
+
if ( array_key_exists( $woo_key, $plugins ) ) {
|
195 |
+
$install_woocommerce_url = wp_nonce_url( self_admin_url( 'plugins.php?action=activate&plugin=' . $woo_key ), 'activate-plugin_' . $woo_key );
|
196 |
+
} else {
|
197 |
+
$install_woocommerce_url = wp_nonce_url( self_admin_url( 'update.php?action=install-plugin&plugin=woocommerce' ), 'install-plugin_woocommerce' );
|
198 |
+
}
|
199 |
+
}
|
200 |
+
$install_fbia_url = false;
|
201 |
+
if ( monsterinsights_can_install_plugins() ) {
|
202 |
+
$fbia_key = 'fb-instant-articles/facebook-instant-articles.php';
|
203 |
+
if ( array_key_exists( $fbia_key, $plugins ) ) {
|
204 |
+
$install_fbia_url = wp_nonce_url( self_admin_url( 'plugins.php?action=activate&plugin=' . $fbia_key ), 'activate-plugin_' . $fbia_key );
|
205 |
+
} else {
|
206 |
+
$install_fbia_url = wp_nonce_url( self_admin_url( 'update.php?action=install-plugin&plugin=fb-instant-articles' ), 'install-plugin_fb-instant-articles' );
|
207 |
+
}
|
208 |
+
}
|
209 |
+
|
210 |
+
$prepared_dimensions = array();
|
211 |
+
if ( class_exists( 'MonsterInsights_Admin_Custom_Dimensions' ) ) {
|
212 |
+
$dimensions = new MonsterInsights_Admin_Custom_Dimensions();
|
213 |
+
$dimensions = $dimensions->custom_dimensions();
|
214 |
+
$prepared_dimensions = array();
|
215 |
+
foreach ( $dimensions as $dimension_type => $dimension ) {
|
216 |
+
$dimension['type'] = $dimension_type;
|
217 |
+
$prepared_dimensions[] = $dimension;
|
218 |
+
}
|
219 |
+
}
|
220 |
+
$is_authed = ( MonsterInsights()->auth->is_authed() || MonsterInsights()->auth->is_network_authed() );
|
221 |
+
|
222 |
+
wp_localize_script(
|
223 |
+
'monsterinsights-vue-script',
|
224 |
+
'monsterinsights',
|
225 |
+
array(
|
226 |
+
'ajax' => admin_url( 'admin-ajax.php' ),
|
227 |
+
'nonce' => wp_create_nonce( 'mi-admin-nonce' ),
|
228 |
+
'network' => is_network_admin(),
|
229 |
+
'translations' => wp_get_jed_locale_data( monsterinsights_is_pro_version() ? 'ga-premium' : 'google-analytics-for-wordpress' ),
|
230 |
+
'assets' => plugins_url( $version_path . '/assets/vue', MONSTERINSIGHTS_PLUGIN_FILE ),
|
231 |
+
'roles' => monsterinsights_get_roles(),
|
232 |
+
'roles_manage_options' => monsterinsights_get_manage_options_roles(),
|
233 |
+
'shareasale_id' => monsterinsights_get_shareasale_id(),
|
234 |
+
'shareasale_url' => monsterinsights_get_shareasale_url( monsterinsights_get_shareasale_id(), '' ),
|
235 |
+
'addons_url' => is_multisite() ? network_admin_url( 'admin.php?page=monsterinsights_network#/addons' ) : admin_url( 'admin.php?page=monsterinsights_settings#/addons' ),
|
236 |
+
'seo_settings_page_url' => is_multisite() ? network_admin_url( 'admin.php?page=monsterinsights_network#/seo' ) : admin_url( 'admin.php?page=monsterinsights_settings#/seo' ),
|
237 |
+
'aioseo_dashboard_url' => is_multisite() ? network_admin_url( 'admin.php?page=aioseo' ) : admin_url( 'admin.php?page=aioseo' ),
|
238 |
+
'wp_plugins_page_url' => is_multisite() ? network_admin_url( 'plugins.php' ) : admin_url( 'plugins.php' ),
|
239 |
+
'email_summary_url' => admin_url( 'admin.php?monsterinsights_email_preview&monsterinsights_email_template=summary' ),
|
240 |
+
'install_amp_url' => $install_amp_url,
|
241 |
+
'install_fbia_url' => $install_fbia_url,
|
242 |
+
'install_woo_url' => $install_woocommerce_url,
|
243 |
+
'dimensions' => $prepared_dimensions,
|
244 |
+
'wizard_url' => is_network_admin() ? network_admin_url( 'index.php?page=monsterinsights-onboarding' ) : admin_url( 'index.php?page=monsterinsights-onboarding' ),
|
245 |
+
'install_plugins' => monsterinsights_can_install_plugins(),
|
246 |
+
'unfiltered_html' => current_user_can( 'unfiltered_html' ),
|
247 |
+
'activate_nonce' => wp_create_nonce( 'monsterinsights-activate' ),
|
248 |
+
'deactivate_nonce' => wp_create_nonce( 'monsterinsights-deactivate' ),
|
249 |
+
'install_nonce' => wp_create_nonce( 'monsterinsights-install' ),
|
250 |
+
// Used to add notices for future deprecations.
|
251 |
+
'versions' => monsterinsights_get_php_wp_version_warning_data(),
|
252 |
+
'plugin_version' => MONSTERINSIGHTS_VERSION,
|
253 |
+
'is_admin' => true,
|
254 |
+
'admin_email' => get_option( 'admin_email' ),
|
255 |
+
'site_url' => get_site_url(),
|
256 |
+
'reports_url' => add_query_arg( 'page', 'monsterinsights_reports', admin_url( 'admin.php' ) ),
|
257 |
+
'ecommerce_report_url' => add_query_arg( 'page', 'monsterinsights_reports#/ecommerce', admin_url( 'admin.php' ) ),
|
258 |
+
'ecommerce_settings_tab_url' => add_query_arg( 'page', 'monsterinsights_settings#/ecommerce', admin_url( 'admin.php' ) ),
|
259 |
+
'first_run_notice' => apply_filters( 'monsterinsights_settings_first_time_notice_hide', monsterinsights_get_option( 'monsterinsights_first_run_notice' ) ),
|
260 |
+
'getting_started_url' => is_network_admin() ? network_admin_url( 'admin.php?page=monsterinsights_network#/about' ) : admin_url( 'admin.php?page=monsterinsights_settings#/about/getting-started' ),
|
261 |
+
'authed' => $is_authed,
|
262 |
+
'new_pretty_link_url' => admin_url( 'post-new.php?post_type=pretty-link' ),
|
263 |
+
'wpmailsmtp_admin_url' => admin_url( 'admin.php?page=wp-mail-smtp' ),
|
264 |
+
'load_headline_analyzer_settings' => monsterinsights_load_gutenberg_app() ? 'true' : 'false',
|
265 |
+
)
|
266 |
+
);
|
267 |
+
|
268 |
+
// Don't load other scripts on the settings page.
|
269 |
+
return;
|
270 |
+
}
|
271 |
+
|
272 |
+
if ( monsterinsights_is_reports_page() ) {
|
273 |
+
global $wp_version;
|
274 |
+
if ( ! defined( 'MONSTERINSIGHTS_LOCAL_VENDORS_JS_URL' ) ) {
|
275 |
+
wp_enqueue_script( 'monsterinsights-vue-vendors', plugins_url( $version_path . '/assets/vue/js/chunk-vendors.js', MONSTERINSIGHTS_PLUGIN_FILE ), array(), monsterinsights_get_asset_version(), true );
|
276 |
+
wp_enqueue_script( 'monsterinsights-vue-common', plugins_url( $version_path . '/assets/vue/js/chunk-common.js', MONSTERINSIGHTS_PLUGIN_FILE ), array(), monsterinsights_get_asset_version(), true );
|
277 |
+
} else {
|
278 |
+
wp_enqueue_script( 'monsterinsights-vue-vendors', MONSTERINSIGHTS_LOCAL_VENDORS_JS_URL, array(), monsterinsights_get_asset_version(), true );
|
279 |
+
wp_enqueue_script( 'monsterinsights-vue-common', MONSTERINSIGHTS_LOCAL_COMMON_JS_URL, array(), monsterinsights_get_asset_version(), true );
|
280 |
+
}
|
281 |
+
$app_js_url = defined( 'MONSTERINSIGHTS_LOCAL_REPORTS_JS_URL' ) && MONSTERINSIGHTS_LOCAL_REPORTS_JS_URL ? MONSTERINSIGHTS_LOCAL_REPORTS_JS_URL : plugins_url( $version_path . '/assets/vue/js/reports.js', MONSTERINSIGHTS_PLUGIN_FILE );
|
282 |
+
wp_register_script( 'monsterinsights-vue-reports', $app_js_url, array(), monsterinsights_get_asset_version(), true );
|
283 |
+
wp_enqueue_script( 'monsterinsights-vue-reports' );
|
284 |
+
|
285 |
+
// We do not have a current auth.
|
286 |
+
$auth = MonsterInsights()->auth;
|
287 |
+
$site_auth = $auth->get_viewname();
|
288 |
+
$ms_auth = is_multisite() && $auth->get_network_viewname();
|
289 |
+
|
290 |
+
wp_localize_script(
|
291 |
+
'monsterinsights-vue-reports',
|
292 |
+
'monsterinsights',
|
293 |
+
array(
|
294 |
+
'ajax' => admin_url( 'admin-ajax.php' ),
|
295 |
+
'nonce' => wp_create_nonce( 'mi-admin-nonce' ),
|
296 |
+
'network' => is_network_admin(),
|
297 |
+
'translations' => wp_get_jed_locale_data( monsterinsights_is_pro_version() ? 'ga-premium' : 'google-analytics-for-wordpress' ),
|
298 |
+
'assets' => plugins_url( $version_path . '/assets/vue', MONSTERINSIGHTS_PLUGIN_FILE ),
|
299 |
+
'shareasale_id' => monsterinsights_get_shareasale_id(),
|
300 |
+
'shareasale_url' => monsterinsights_get_shareasale_url( monsterinsights_get_shareasale_id(), '' ),
|
301 |
+
'addons_url' => is_multisite() ? network_admin_url( 'admin.php?page=monsterinsights_network#/addons' ) : admin_url( 'admin.php?page=monsterinsights_settings#/addons' ),
|
302 |
+
'timezone' => date( 'e' ),
|
303 |
+
'authed' => $site_auth || $ms_auth,
|
304 |
+
'auth_connected_type' => $auth->get_connected_type(),
|
305 |
+
'settings_url' => add_query_arg( 'page', 'monsterinsights_settings', admin_url( 'admin.php' ) ),
|
306 |
+
// Used to add notices for future deprecations.
|
307 |
+
'versions' => monsterinsights_get_php_wp_version_warning_data(),
|
308 |
+
'plugin_version' => MONSTERINSIGHTS_VERSION,
|
309 |
+
'is_admin' => true,
|
310 |
+
'admin_email' => get_option( 'admin_email' ),
|
311 |
+
'site_url' => get_site_url(),
|
312 |
+
'wizard_url' => is_network_admin() ? network_admin_url( 'index.php?page=monsterinsights-onboarding' ) : admin_url( 'index.php?page=monsterinsights-onboarding' ),
|
313 |
+
'install_nonce' => wp_create_nonce( 'monsterinsights-install' ),
|
314 |
+
'activate_nonce' => wp_create_nonce( 'monsterinsights-activate' ),
|
315 |
+
'deactivate_nonce' => wp_create_nonce( 'monsterinsights-deactivate' ),
|
316 |
+
'update_settings' => current_user_can( 'monsterinsights_save_settings' ),
|
317 |
+
'migrated' => monsterinsights_get_option( 'gadwp_migrated', 0 ),
|
318 |
+
)
|
319 |
+
);
|
320 |
+
|
321 |
+
return;
|
322 |
+
}
|
323 |
+
|
324 |
+
// ublock notice
|
325 |
+
add_action( 'admin_print_footer_scripts', 'monsterinsights_settings_ublock_error_js', 9999999 );
|
326 |
+
}
|
327 |
+
|
328 |
+
add_action( 'admin_enqueue_scripts', 'monsterinsights_admin_scripts' );
|
329 |
+
|
330 |
+
/**
|
331 |
+
* Remove Assets that conflict with ours from our screens.
|
332 |
+
*
|
333 |
+
* @return null Return early if not on the proper screen.
|
334 |
+
* @since 6.0.4
|
335 |
+
* @access public
|
336 |
+
*
|
337 |
+
*/
|
338 |
+
function monsterinsights_remove_conflicting_asset_files() {
|
339 |
+
|
340 |
+
// Get current screen.
|
341 |
+
$screen = get_current_screen();
|
342 |
+
|
343 |
+
// Bail if we're not on a MonsterInsights screen.
|
344 |
+
if ( empty( $screen->id ) || strpos( $screen->id, 'monsterinsights' ) === false ) {
|
345 |
+
return;
|
346 |
+
}
|
347 |
+
|
348 |
+
$styles = array(
|
349 |
+
'kt_admin_css', // Pinnacle theme
|
350 |
+
'select2-css', // Schema theme
|
351 |
+
'tweetshare_style', // TweetShare - Click To Tweet
|
352 |
+
'tweetshare_custom_style', // TweetShare - Click To Tweet
|
353 |
+
'tweeetshare_custome_style', // TweetShare - Click To Tweet
|
354 |
+
'tweeetshare_notice_style', // TweetShare - Click To Tweet
|
355 |
+
'tweeetshare_theme_style', // TweetShare - Click To Tweet
|
356 |
+
'tweeetshare_tweet_box_style', // TweetShare - Click To Tweet
|
357 |
+
'soultype2-admin', // SoulType Plugin
|
358 |
+
'thesis-options-stylesheet', // Thesis Options Stylesheet
|
359 |
+
'imagify-sweetalert-core', // Imagify
|
360 |
+
'imagify-sweetalert', // Imagify
|
361 |
+
'smls-backend-style', // Smart Logo Showcase Lite
|
362 |
+
'wp-reactjs-starter', // wp-real-media-library
|
363 |
+
'control-panel-modal-plugin', // Ken Theme
|
364 |
+
'theme-admin-css', // Vitrine Theme
|
365 |
+
'qi-framework-styles', // Artisan Nayma Theme
|
366 |
+
'artisan-pages-style', // Artisan Pages Plugin
|
367 |
+
'control-panel-modal-plugin', // Ken Theme
|
368 |
+
'sweetalert', // Church Suite Theme by Webnus
|
369 |
+
'woo_stock_alerts_admin_css', // WooCommerce bolder product alerts
|
370 |
+
'custom_wp_admin_css', // Fix for Add Social Share
|
371 |
+
'fo_css', // Fix for Add Social Share
|
372 |
+
'font_css', // Fix for Add Social Share
|
373 |
+
'font2_css', // Fix for Add Social Share
|
374 |
+
'font3_css', // Fix for Add Social Share
|
375 |
+
'hover_css', // Fix for Add Social Share
|
376 |
+
'fontend_styling', // Fix for Add Social Share
|
377 |
+
'datatable', // WP Todo
|
378 |
+
'bootstrap', // WP Todo
|
379 |
+
'flipclock', // WP Todo
|
380 |
+
'repuso_css_admin', // Social testimonials and reviews by Repuso
|
381 |
+
);
|
382 |
+
|
383 |
+
$scripts = array(
|
384 |
+
'kad_admin_js', // Pinnacle theme
|
385 |
+
'dt-chart', // DesignThemes core features plugin
|
386 |
+
'tweeetshare_font_script', // TweetShare - Click To Tweet
|
387 |
+
'tweeetshare_jquery_script', // TweetShare - Click To Tweet
|
388 |
+
'tweeetshare_jqueryui_script', // TweetShare - Click To Tweet
|
389 |
+
'tweeetshare_custom_script', // TweetShare - Click To Tweet
|
390 |
+
'imagify-promise-polyfill', // Imagify
|
391 |
+
'imagify-sweetalert', // Imagify
|
392 |
+
'imagify-chart', // Imagify
|
393 |
+
'chartjs', // Comet Cache Pro
|
394 |
+
'wp-reactjs-starter', // wp-real-media-library
|
395 |
+
'jquery-tooltipster', // WP Real Media Library
|
396 |
+
'jquery-nested-sortable', // WP Real Media Library
|
397 |
+
'jquery-aio-tree', // WP Real Media Library
|
398 |
+
'wp-media-picker', // WP Real Media Library
|
399 |
+
'rml-general', // WP Real Media Library
|
400 |
+
'rml-library', // WP Real Media Library
|
401 |
+
'rml-grid', // WP Real Media Library
|
402 |
+
'rml-list', // WP Real Media Library
|
403 |
+
'rml-modal', // WP Real Media Library
|
404 |
+
'rml-order', // WP Real Media Library
|
405 |
+
'rml-meta', // WP Real Media Library
|
406 |
+
'rml-uploader', // WP Real Media Library
|
407 |
+
'rml-options', // WP Real Media Library
|
408 |
+
'rml-usersettings', // WP Real Media Library
|
409 |
+
'rml-main', // WP Real Media Library
|
410 |
+
'control-panel-sweet-alert', // Ken Theme
|
411 |
+
'sweet-alert-js', // Vitrine Theme
|
412 |
+
'theme-admin-script', // Vitrine Theme
|
413 |
+
'sweetalert', // Church Suite Theme by Webnus
|
414 |
+
'be_alerts_charts', // WooCommerce bolder product alerts
|
415 |
+
'magayo-lottery-results', // Magayo Lottery Results
|
416 |
+
'control-panel-sweet-alert', // Ken Theme
|
417 |
+
'cpm_chart', // WP Project Manager
|
418 |
+
'adminscripts', // Artisan Nayma Theme
|
419 |
+
'artisan-pages-script', // Artisan Pages Plugin
|
420 |
+
'tooltipster', // Grand News Theme
|
421 |
+
'fancybox', // Grand News Theme
|
422 |
+
'grandnews-admin-cript', // Grand News Theme
|
423 |
+
'colorpicker', // Grand News Theme
|
424 |
+
'eye', // Grand News Theme
|
425 |
+
'icheck', // Grand News Theme
|
426 |
+
'learn-press-chart', // LearnPress
|
427 |
+
'theme-script-main', // My Listing Theme by 27collective
|
428 |
+
'selz', // Selz eCommerce
|
429 |
+
'tie-admin-scripts', // Tie Theme
|
430 |
+
'blossomthemes-toolkit', // BlossomThemes Toolkit
|
431 |
+
'illdy-widget-upload-image', // Illdy Companion By Colorlib
|
432 |
+
'moment.js', // WooCommerce Table Rate Shipping
|
433 |
+
'default', // Bridge Theme
|
434 |
+
'qode-tax-js', // Bridge Theme
|
435 |
+
'wc_smartship_moment_js', // WooCommerce Posti SmartShip by markup.fi
|
436 |
+
'ecwid-admin-js', // Fixes Conflict for Ecwid Shopping Cart
|
437 |
+
'td-wp-admin-js', // Newspaper by tagDiv
|
438 |
+
'moment', // Screets Live Chat
|
439 |
+
'wpmf-base', // WP Media Folder Fix
|
440 |
+
'wpmf-media-filters', // WP Media Folder Fix
|
441 |
+
'wpmf-folder-tree', // WP Media Folder Fix
|
442 |
+
'wpmf-assign-tree', // WP Media Folder Fix
|
443 |
+
'js_files_for_wp_admin', // TagDiv Composer Fix
|
444 |
+
'tdb_js_files_for_wp_admin_last', // TagDiv Composer Fix
|
445 |
+
'tdb_js_files_for_wp_admin', // TagDiv Composer Fix
|
446 |
+
'wd-functions', // affiliate boxes
|
447 |
+
'ellk-aliExpansion', // Ali Dropship Plugin
|
448 |
+
'ftmetajs', // Houzez Theme
|
449 |
+
'qode_admin_default', // Fix For Stockholm Theme
|
450 |
+
'qodef-tax-js', // Fix for Prowess Theme
|
451 |
+
'qodef-user-js', // Fix for Prowess Theme
|
452 |
+
'qodef-ui-admin', // Fix for Prowess Theme
|
453 |
+
'ssi_script', // Fix for Add Social Share
|
454 |
+
'live_templates', // Fix for Add Social Share
|
455 |
+
'default', // Fix for Add Social Share
|
456 |
+
'handsontable', // Fix WP Tables
|
457 |
+
'moment-js', // Magee Shortcodes
|
458 |
+
'postbox', // Scripts from wp-admin enqueued everywhere by WP Posts Filter
|
459 |
+
'link', // Scripts from wp-admin enqueued everywhere by WP Posts Filter
|
460 |
+
'wpvr_scripts', // WP Video Robot
|
461 |
+
'wpvr_scripts_loaded', // WP Video Robot
|
462 |
+
'wpvr_scripts_assets', // WP Video Robot
|
463 |
+
'writee_widget_admin', // Fix for the Writtee theme
|
464 |
+
'__ytprefs_admin__', // Fix for YouTube by EmbedPlus plugin
|
465 |
+
'momentjs', // Fix for Blog Time plugin
|
466 |
+
'c2c_BlogTime', // Fix for Blog Time plugin
|
467 |
+
'material-wp', // Fix for MaterialWP plugin
|
468 |
+
'wp-color-picker-alpha', // Fix for MaterialWP plugin
|
469 |
+
'grandtour-theme-script', // Grandtour Theme
|
470 |
+
'swifty-img-widget-admin-script', // Fix for Swifty Image Widget
|
471 |
+
'datatable', // WP Todo
|
472 |
+
'flipclock', // WP Todo
|
473 |
+
'bootstrap', // WP Todo
|
474 |
+
'repuso_js_admin', // Social testimonials and reviews by Repuso
|
475 |
+
'chart', // Video Mate Pro Theme
|
476 |
+
'reuse_vendor', // RedQ Reuse Form
|
477 |
+
'jetpack-onboarding-vendor', // Jetpack Onboarding Bluehost
|
478 |
+
'date-js', // Google Analytics by Web Dorado
|
479 |
+
);
|
480 |
+
|
481 |
+
if ( ! empty( $styles ) ) {
|
482 |
+
foreach ( $styles as $style ) {
|
483 |
+
wp_dequeue_style( $style ); // Remove CSS file from MI screen
|
484 |
+
wp_deregister_style( $style );
|
485 |
+
}
|
486 |
+
}
|
487 |
+
if ( ! empty( $scripts ) ) {
|
488 |
+
foreach ( $scripts as $script ) {
|
489 |
+
wp_dequeue_script( $script ); // Remove JS file from MI screen
|
490 |
+
wp_deregister_script( $script );
|
491 |
+
}
|
492 |
+
}
|
493 |
+
|
494 |
+
$third_party = array(
|
495 |
+
'select2',
|
496 |
+
'sweetalert',
|
497 |
+
'clipboard',
|
498 |
+
'matchHeight',
|
499 |
+
'inputmask',
|
500 |
+
'jquery-confirm',
|
501 |
+
'list',
|
502 |
+
'toastr',
|
503 |
+
'tooltipster',
|
504 |
+
'flag-icon',
|
505 |
+
'bootstrap',
|
506 |
+
);
|
507 |
+
|
508 |
+
global $wp_styles;
|
509 |
+
foreach ( $wp_styles->queue as $handle ) {
|
510 |
+
if ( strpos( $wp_styles->registered[ $handle ]->src, 'wp-content' ) === false ) {
|
511 |
+
return;
|
512 |
+
}
|
513 |
+
|
514 |
+
if ( strpos( $wp_styles->registered[ $handle ]->handle, 'monsterinsights' ) !== false ) {
|
515 |
+
return;
|
516 |
+
}
|
517 |
+
|
518 |
+
foreach ( $third_party as $partial ) {
|
519 |
+
if ( strpos( $wp_styles->registered[ $handle ]->handle, $partial ) !== false ) {
|
520 |
+
wp_dequeue_style( $handle ); // Remove css file from MI screen
|
521 |
+
wp_deregister_style( $handle );
|
522 |
+
break;
|
523 |
+
} else if ( strpos( $wp_styles->registered[ $handle ]->src, $partial ) !== false ) {
|
524 |
+
wp_dequeue_style( $handle ); // Remove css file from MI screen
|
525 |
+
wp_deregister_style( $handle );
|
526 |
+
break;
|
527 |
+
}
|
528 |
+
}
|
529 |
+
}
|
530 |
+
|
531 |
+
global $wp_scripts;
|
532 |
+
foreach ( $wp_scripts->queue as $handle ) {
|
533 |
+
if ( strpos( $wp_scripts->registered[ $handle ]->src, 'wp-content' ) === false ) {
|
534 |
+
return;
|
535 |
+
}
|
536 |
+
|
537 |
+
if ( strpos( $wp_scripts->registered[ $handle ]->handle, 'monsterinsights' ) !== false ) {
|
538 |
+
return;
|
539 |
+
}
|
540 |
+
|
541 |
+
foreach ( $third_party as $partial ) {
|
542 |
+
if ( strpos( $wp_scripts->registered[ $handle ]->handle, $partial ) !== false ) {
|
543 |
+
wp_dequeue_script( $handle ); // Remove JS file from MI screen
|
544 |
+
wp_deregister_script( $handle );
|
545 |
+
break;
|
546 |
+
} else if ( strpos( $wp_scripts->registered[ $handle ]->src, $partial ) !== false ) {
|
547 |
+
wp_dequeue_script( $handle ); // Remove JS file from MI screen
|
548 |
+
wp_deregister_script( $handle );
|
549 |
+
break;
|
550 |
+
}
|
551 |
+
}
|
552 |
+
}
|
553 |
+
|
554 |
+
// Remove actions from themes that are not following best practices and break the admin doing so
|
555 |
+
// Theme: Newspaper by tagDiv
|
556 |
+
remove_action( 'admin_enqueue_scripts', 'load_wp_admin_js' );
|
557 |
+
remove_action( 'admin_enqueue_scripts', 'load_wp_admin_css' );
|
558 |
+
remove_action( 'admin_print_scripts-widgets.php', 'td_on_admin_print_scripts_farbtastic' );
|
559 |
+
remove_action( 'admin_print_styles-widgets.php', 'td_on_admin_print_styles_farbtastic' );
|
560 |
+
remove_action( 'admin_print_footer_scripts', 'check_if_media_uploads_is_loaded', 9999 );
|
561 |
+
remove_action( 'print_media_templates', 'td_custom_gallery_settings_hook' );
|
562 |
+
remove_action( 'print_media_templates', 'td_change_backbone_js_hook' );
|
563 |
+
remove_action( 'admin_head', 'tdc_on_admin_head' ); // TagDiv Composer Fix
|
564 |
+
remove_action( 'print_media_templates', 'us_media_templates' ); // Impreza Theme Fix
|
565 |
+
remove_action( 'admin_footer', 'gt3pg_add_gallery_template' ); // GT3 Photo & Video Gallery By GT3 Themes Plugin Fix
|
566 |
+
// Plugin WP Booklist:
|
567 |
+
remove_action( 'admin_footer', 'wpbooklist_jre_dismiss_prem_notice_forever_action_javascript' );
|
568 |
+
remove_action( 'admin_footer', 'wpbooklist_dashboard_add_book_action_javascript' );
|
569 |
+
remove_action( 'admin_footer', 'wpbooklist_edit_book_show_form_action_javascript' );
|
570 |
+
remove_action( 'admin_footer', 'wpbooklist_show_book_in_colorbox_action_javascript' );
|
571 |
+
remove_action( 'admin_footer', 'wpbooklist_new_lib_shortcode_action_javascript' );
|
572 |
+
remove_action( 'admin_footer', 'wpbooklist_dashboard_save_library_display_options_action_javascript' );
|
573 |
+
remove_action( 'admin_footer', 'wpbooklist_dashboard_save_post_display_options_action_javascript' );
|
574 |
+
remove_action( 'admin_footer', 'wpbooklist_dashboard_save_page_display_options_action_javascript' );
|
575 |
+
remove_action( 'admin_footer', 'wpbooklist_update_display_options_action_javascript' );
|
576 |
+
remove_action( 'admin_footer', 'wpbooklist_edit_book_pagination_action_javascript' );
|
577 |
+
remove_action( 'admin_footer', 'wpbooklist_edit_book_switch_lib_action_javascript' );
|
578 |
+
remove_action( 'admin_footer', 'wpbooklist_edit_book_search_action_javascript' );
|
579 |
+
remove_action( 'admin_footer', 'wpbooklist_edit_book_actual_action_javascript' );
|
580 |
+
remove_action( 'admin_footer', 'wpbooklist_delete_book_action_javascript' );
|
581 |
+
remove_action( 'admin_footer', 'wpbooklist_user_apis_action_javascript' );
|
582 |
+
remove_action( 'admin_footer', 'wpbooklist_upload_new_stylepak_action_javascript' );
|
583 |
+
remove_action( 'admin_footer', 'wpbooklist_upload_new_post_template_action_javascript' );
|
584 |
+
remove_action( 'admin_footer', 'wpbooklist_upload_new_page_template_action_javascript' );
|
585 |
+
remove_action( 'admin_footer', 'wpbooklist_create_db_library_backup_action_javascript' );
|
586 |
+
remove_action( 'admin_footer', 'wpbooklist_restore_db_library_backup_action_javascript' );
|
587 |
+
remove_action( 'admin_footer', 'wpbooklist_create_csv_action_javascript' );
|
588 |
+
remove_action( 'admin_footer', 'wpbooklist_amazon_localization_action_javascript' );
|
589 |
+
remove_action( 'admin_footer', 'wpbooklist_delete_book_bulk_action_javascript' );
|
590 |
+
remove_action( 'admin_footer', 'wpbooklist_reorder_action_javascript' );
|
591 |
+
remove_action( 'admin_footer', 'wpbooklist_exit_results_action_javascript' );
|
592 |
+
remove_action( 'admin_footer', 'wpbooklist_storytime_select_category_action_javascript' );
|
593 |
+
remove_action( 'admin_footer', 'wpbooklist_storytime_get_story_action_javascript' );
|
594 |
+
remove_action( 'admin_footer', 'wpbooklist_storytime_expand_browse_action_javascript' );
|
595 |
+
remove_action( 'admin_footer', 'wpbooklist_storytime_save_settings_action_javascript' );
|
596 |
+
remove_action( 'admin_footer', 'wpbooklist_delete_story_action_javascript' );
|
597 |
+
}
|
598 |
+
|
599 |
+
add_action( 'admin_enqueue_scripts', 'monsterinsights_remove_conflicting_asset_files', 9999 );
|
600 |
+
|
601 |
+
/**
|
602 |
+
* Remove non-MI notices from MI page.
|
603 |
+
*
|
604 |
+
* @return null Return early if not on the proper screen.
|
605 |
+
* @since 6.0.0
|
606 |
+
* @access public
|
607 |
+
*
|
608 |
+
*/
|
609 |
+
function hide_non_monsterinsights_warnings() {
|
610 |
+
// Bail if we're not on a MonsterInsights screen.
|
611 |
+
if ( empty( $_REQUEST['page'] ) || strpos( $_REQUEST['page'], 'monsterinsights' ) === false ) {
|
612 |
+
return;
|
613 |
+
}
|
614 |
+
|
615 |
+
global $wp_filter;
|
616 |
+
if ( ! empty( $wp_filter['user_admin_notices']->callbacks ) && is_array( $wp_filter['user_admin_notices']->callbacks ) ) {
|
617 |
+
foreach ( $wp_filter['user_admin_notices']->callbacks as $priority => $hooks ) {
|
618 |
+
foreach ( $hooks as $name => $arr ) {
|
619 |
+
if ( is_object( $arr['function'] ) && $arr['function'] instanceof Closure ) {
|
620 |
+
unset( $wp_filter['user_admin_notices']->callbacks[ $priority ][ $name ] );
|
621 |
+
continue;
|
622 |
+
}
|
623 |
+
if ( ! empty( $arr['function'][0] ) && is_object( $arr['function'][0] ) && strpos( strtolower( get_class( $arr['function'][0] ) ), 'monsterinsights' ) !== false ) {
|
624 |
+
continue;
|
625 |
+
}
|
626 |
+
if ( ! empty( $name ) && strpos( $name, 'monsterinsights' ) === false ) {
|
627 |
+
unset( $wp_filter['user_admin_notices']->callbacks[ $priority ][ $name ] );
|
628 |
+
}
|
629 |
+
}
|
630 |
+
}
|
631 |
+
}
|
632 |
+
|
633 |
+
if ( ! empty( $wp_filter['admin_notices']->callbacks ) && is_array( $wp_filter['admin_notices']->callbacks ) ) {
|
634 |
+
foreach ( $wp_filter['admin_notices']->callbacks as $priority => $hooks ) {
|
635 |
+
foreach ( $hooks as $name => $arr ) {
|
636 |
+
if ( is_object( $arr['function'] ) && $arr['function'] instanceof Closure ) {
|
637 |
+
unset( $wp_filter['admin_notices']->callbacks[ $priority ][ $name ] );
|
638 |
+
continue;
|
639 |
+
}
|
640 |
+
if ( ! empty( $arr['function'][0] ) && is_object( $arr['function'][0] ) && strpos( strtolower( get_class( $arr['function'][0] ) ), 'monsterinsights' ) !== false ) {
|
641 |
+
continue;
|
642 |
+
}
|
643 |
+
if ( ! empty( $name ) && strpos( $name, 'monsterinsights' ) === false ) {
|
644 |
+
unset( $wp_filter['admin_notices']->callbacks[ $priority ][ $name ] );
|
645 |
+
}
|
646 |
+
}
|
647 |
+
}
|
648 |
+
}
|
649 |
+
|
650 |
+
if ( ! empty( $wp_filter['all_admin_notices']->callbacks ) && is_array( $wp_filter['all_admin_notices']->callbacks ) ) {
|
651 |
+
foreach ( $wp_filter['all_admin_notices']->callbacks as $priority => $hooks ) {
|
652 |
+
foreach ( $hooks as $name => $arr ) {
|
653 |
+
if ( is_object( $arr['function'] ) && $arr['function'] instanceof Closure ) {
|
654 |
+
unset( $wp_filter['all_admin_notices']->callbacks[ $priority ][ $name ] );
|
655 |
+
continue;
|
656 |
+
}
|
657 |
+
if ( ! empty( $arr['function'][0] ) && is_object( $arr['function'][0] ) && strpos( strtolower( get_class( $arr['function'][0] ) ), 'monsterinsights' ) !== false ) {
|
658 |
+
continue;
|
659 |
+
}
|
660 |
+
if ( ! empty( $name ) && strpos( $name, 'monsterinsights' ) === false ) {
|
661 |
+
unset( $wp_filter['all_admin_notices']->callbacks[ $priority ][ $name ] );
|
662 |
+
}
|
663 |
+
}
|
664 |
+
}
|
665 |
+
}
|
666 |
+
}
|
667 |
+
|
668 |
+
add_action( 'admin_print_scripts', 'hide_non_monsterinsights_warnings' );
|
669 |
+
add_action( 'admin_head', 'hide_non_monsterinsights_warnings', PHP_INT_MAX );
|
670 |
+
|
671 |
+
/**
|
672 |
+
* Called whenever an upgrade button / link is displayed in Lite, this function will
|
673 |
+
* check if there's a shareasale ID specified.
|
674 |
+
*
|
675 |
+
* There are three ways to specify an ID, ordered by highest to lowest priority
|
676 |
+
* - add_filter( 'monsterinsights_shareasale_id', function() { return 1234; } );
|
677 |
+
* - define( 'MONSTERINSIGHTS_SHAREASALE_ID', 1234 );
|
678 |
+
* - get_option( 'monsterinsights_shareasale_id' ); (with the option being in the wp_options table)
|
679 |
+
*
|
680 |
+
* If an ID is present, returns the ShareASale link with the affiliate ID, and tells
|
681 |
+
* ShareASale to then redirect to monsterinsights.com/lite
|
682 |
+
*
|
683 |
+
* If no ID is present, just returns the monsterinsights.com/lite URL with UTM tracking.
|
684 |
+
*
|
685 |
+
* @return string Upgrade link.
|
686 |
+
* @since 6.0.0
|
687 |
+
* @access public
|
688 |
+
*
|
689 |
+
*/
|
690 |
+
function monsterinsights_get_upgrade_link( $medium = '', $campaign = '', $url = '' ) {
|
691 |
+
$url = monsterinsights_get_url( $medium, $campaign, $url, false );
|
692 |
+
|
693 |
+
if ( monsterinsights_is_pro_version() ) {
|
694 |
+
return esc_url( $url );
|
695 |
+
}
|
696 |
+
|
697 |
+
// Get the ShareASale ID
|
698 |
+
$shareasale_id = monsterinsights_get_shareasale_id();
|
699 |
+
|
700 |
+
// If we have a shareasale ID return the shareasale url
|
701 |
+
if ( ! empty( $shareasale_id ) ) {
|
702 |
+
$shareasale_id = absint( $shareasale_id );
|
703 |
+
|
704 |
+
return esc_url( monsterinsights_get_shareasale_url( $shareasale_id, $url ) );
|
705 |
+
} else {
|
706 |
+
return esc_url( $url );
|
707 |
+
}
|
708 |
+
}
|
709 |
+
|
710 |
+
function monsterinsights_get_url( $medium = '', $campaign = '', $url = '', $escape = true ) {
|
711 |
+
// Setup Campaign variables
|
712 |
+
$source = monsterinsights_is_pro_version() ? 'proplugin' : 'liteplugin';
|
713 |
+
$medium = ! empty( $medium ) ? $medium : 'defaultmedium';
|
714 |
+
$campaign = ! empty( $campaign ) ? $campaign : 'defaultcampaign';
|
715 |
+
$content = MONSTERINSIGHTS_VERSION;
|
716 |
+
$default_url = monsterinsights_is_pro_version() ? '' : 'lite/';
|
717 |
+
$url = ! empty( $url ) ? $url : 'https://www.monsterinsights.com/' . $default_url;
|
718 |
+
|
719 |
+
// Put together redirect URL
|
720 |
+
$url = add_query_arg(
|
721 |
+
array(
|
722 |
+
'utm_source' => $source, // Pro/Lite Plugin
|
723 |
+
'utm_medium' => sanitize_key( $medium ), // Area of MonsterInsights (example Reports)
|
724 |
+
'utm_campaign' => sanitize_key( $campaign ), // Which link (example eCommerce Report)
|
725 |
+
'utm_content' => $content, // Version number of MI
|
726 |
+
),
|
727 |
+
trailingslashit( $url )
|
728 |
+
);
|
729 |
+
|
730 |
+
if ( $escape ) {
|
731 |
+
return esc_url( $url );
|
732 |
+
} else {
|
733 |
+
return $url;
|
734 |
+
}
|
735 |
+
}
|
736 |
+
|
737 |
+
function monsterinsights_settings_ublock_error_js() {
|
738 |
+
echo "<script type='text/javascript'>\n";
|
739 |
+
echo "jQuery( document ).ready( function( $ ) {
|
740 |
+
if ( window.uorigindetected == null){
|
741 |
+
$('#monsterinsights-ublock-origin-error').show();
|
742 |
+
$('.monsterinsights-nav-tabs').hide();
|
743 |
+
$('.monsterinsights-nav-container').hide();
|
744 |
+
$('#monsterinsights-addon-heading').hide();
|
745 |
+
$('#monsterinsights-addons').hide();
|
746 |
+
$('#monsterinsights-reports').hide();
|
747 |
+
}
|
748 |
+
});";
|
749 |
+
echo "\n</script>";
|
750 |
+
}
|
751 |
+
|
752 |
+
function monsterinsights_ublock_notice() {
|
753 |
+
ob_start(); ?>
|
754 |
+
<div id="monsterinsights-ublock-origin-error" class="error inline" style="display:none;">
|
755 |
+
<?php
|
756 |
+
// Translators: Placeholders are for links to fix the issue.
|
757 |
+
echo sprintf( esc_html__( 'MonsterInsights has detected that it\'s files are being blocked. This is usually caused by a adblock browser plugin (particularly uBlock Origin), or a conflicting WordPress theme or plugin. This issue only affects the admin side of MonsterInsights. To solve this, ensure MonsterInsights is whitelisted for your website URL in any adblock browser plugin you use. For step by step directions on how to do this, %1$sclick here%2$s. If this doesn\'t solve the issue (rare), send us a ticket %3$shere%2$s and we\'ll be happy to help diagnose the issue.', 'google-analytics-for-wordpress' ), '<a href="https://monsterinsights.com/docs/monsterinsights-asset-files-blocked/" target="_blank" rel="noopener noreferrer" referrer="no-referrer">', '</a>', '<a href="https://monsterinsights.com/contact/" target="_blank" rel="noopener noreferrer" referrer="no-referrer">' );
|
758 |
+
?>
|
759 |
+
</div>
|
760 |
+
<?php
|
761 |
+
return ob_get_clean();
|
762 |
+
}
|
763 |
+
|
764 |
+
/**
|
765 |
+
* Some themes/plugins don't add proper checks and load JS code in all admin pages causing conflicts.
|
766 |
+
*/
|
767 |
+
function monsterinsights_remove_unnecessary_footer_hooks() {
|
768 |
+
|
769 |
+
$screen = get_current_screen();
|
770 |
+
// Bail if we're not on a MonsterInsights screen.
|
771 |
+
if ( empty( $screen->id ) || strpos( $screen->id, 'monsterinsights' ) === false ) {
|
772 |
+
return;
|
773 |
+
}
|
774 |
+
|
775 |
+
// Remove js code added by Newspaper theme - version 8.8.0.
|
776 |
+
remove_action( 'print_media_templates', 'td_custom_gallery_settings_hook' );
|
777 |
+
remove_action( 'print_media_templates', 'td_change_backbone_js_hook' );
|
778 |
+
// Remove js code added by the Brooklyn theme - version 4.5.3.1.
|
779 |
+
remove_action( 'print_media_templates', 'ut_create_gallery_options' );
|
780 |
+
|
781 |
+
// Remove js code added by WordPress Book List Plugin - version 5.8.1.
|
782 |
+
remove_action( 'admin_footer', 'wpbooklist_jre_dismiss_prem_notice_forever_action_javascript' );
|
783 |
+
remove_action( 'admin_footer', 'wpbooklist_dashboard_add_book_action_javascript' );
|
784 |
+
remove_action( 'admin_footer', 'wpbooklist_edit_book_show_form_action_javascript' );
|
785 |
+
remove_action( 'admin_footer', 'wpbooklist_show_book_in_colorbox_action_javascript' );
|
786 |
+
remove_action( 'admin_footer', 'wpbooklist_new_lib_shortcode_action_javascript' );
|
787 |
+
remove_action( 'admin_footer', 'wpbooklist_dashboard_save_library_display_options_action_javascript' );
|
788 |
+
remove_action( 'admin_footer', 'wpbooklist_dashboard_save_post_display_options_action_javascript' );
|
789 |
+
remove_action( 'admin_footer', 'wpbooklist_dashboard_save_page_display_options_action_javascript' );
|
790 |
+
remove_action( 'admin_footer', 'wpbooklist_update_display_options_action_javascript' );
|
791 |
+
remove_action( 'admin_footer', 'wpbooklist_edit_book_pagination_action_javascript' );
|
792 |
+
remove_action( 'admin_footer', 'wpbooklist_edit_book_switch_lib_action_javascript' );
|
793 |
+
remove_action( 'admin_footer', 'wpbooklist_edit_book_search_action_javascript' );
|
794 |
+
remove_action( 'admin_footer', 'wpbooklist_edit_book_actual_action_javascript' );
|
795 |
+
remove_action( 'admin_footer', 'wpbooklist_delete_book_action_javascript' );
|
796 |
+
remove_action( 'admin_footer', 'wpbooklist_user_apis_action_javascript' );
|
797 |
+
remove_action( 'admin_footer', 'wpbooklist_upload_new_stylepak_action_javascript' );
|
798 |
+
remove_action( 'admin_footer', 'wpbooklist_upload_new_post_template_action_javascript' );
|
799 |
+
remove_action( 'admin_footer', 'wpbooklist_upload_new_page_template_action_javascript' );
|
800 |
+
remove_action( 'admin_footer', 'wpbooklist_create_db_library_backup_action_javascript' );
|
801 |
+
remove_action( 'admin_footer', 'wpbooklist_restore_db_library_backup_action_javascript' );
|
802 |
+
remove_action( 'admin_footer', 'wpbooklist_create_csv_action_javascript' );
|
803 |
+
remove_action( 'admin_footer', 'wpbooklist_amazon_localization_action_javascript' );
|
804 |
+
remove_action( 'admin_footer', 'wpbooklist_delete_book_bulk_action_javascript' );
|
805 |
+
remove_action( 'admin_footer', 'wpbooklist_reorder_action_javascript' );
|
806 |
+
remove_action( 'admin_footer', 'wpbooklist_exit_results_action_javascript' );
|
807 |
+
remove_action( 'admin_footer', 'wpbooklist_storytime_select_category_action_javascript' );
|
808 |
+
remove_action( 'admin_footer', 'wpbooklist_storytime_get_story_action_javascript' );
|
809 |
+
remove_action( 'admin_footer', 'wpbooklist_storytime_expand_browse_action_javascript' );
|
810 |
+
remove_action( 'admin_footer', 'wpbooklist_storytime_save_settings_action_javascript' );
|
811 |
+
remove_action( 'admin_footer', 'wpbooklist_delete_story_action_javascript' );
|
812 |
+
}
|
813 |
+
|
814 |
+
add_action( 'admin_head', 'monsterinsights_remove_unnecessary_footer_hooks', 15 );
|
815 |
+
|
816 |
+
|
817 |
+
/**
|
818 |
+
* Prevent plugins/themes from removing the version number from scripts loaded by our plugin.
|
819 |
+
* Ideally those plugins/themes would follow WordPress coding best practices, but in lieu of that
|
820 |
+
* we can at least attempt to prevent 99% of them from doing bad things.
|
821 |
+
*
|
822 |
+
* @param string $src The script source.
|
823 |
+
*
|
824 |
+
* @return string
|
825 |
+
*/
|
826 |
+
function monsterinsights_prevent_version_number_removal( $src ) {
|
827 |
+
// Apply this only to admin-side scripts.
|
828 |
+
if ( ! is_admin() ) {
|
829 |
+
return $src;
|
830 |
+
}
|
831 |
+
|
832 |
+
// Make sure are only changing our scripts and only if the version number is missing.
|
833 |
+
if ( ( false !== strpos( $src, 'monsterinsights' ) || false !== strpos( $src, 'google-analytics-for-wordpress' ) || false !== strpos( $src, 'google-analytics-premium' ) ) && false === strpos( $src, '?ver' ) ) {
|
834 |
+
$src = add_query_arg( 'ver', monsterinsights_get_asset_version(), $src );
|
835 |
+
}
|
836 |
+
|
837 |
+
return $src;
|
838 |
+
}
|
839 |
+
|
840 |
+
add_filter( 'script_loader_src', 'monsterinsights_prevent_version_number_removal', 9999, 1 );
|
841 |
+
add_filter( 'style_loader_src', 'monsterinsights_prevent_version_number_removal', 9999, 1 );
|
842 |
+
|
843 |
+
/**
|
844 |
+
* Data used for the Vue scripts to display old PHP and WP versions warnings.
|
845 |
+
*/
|
846 |
+
function monsterinsights_get_php_wp_version_warning_data() {
|
847 |
+
global $wp_version;
|
848 |
+
|
849 |
+
$compatible_php_version = apply_filters( 'monsterinsights_compatible_php_version', false );
|
850 |
+
$compatible_wp_version = apply_filters( 'monsterinsights_compatible_wp_version', false );
|
851 |
+
|
852 |
+
return array(
|
853 |
+
'php_version' => phpversion(),
|
854 |
+
'php_version_below_54' => apply_filters( 'monsterinsights_temporarily_hide_php_under_56_upgrade_warnings', version_compare( phpversion(), $compatible_php_version['warning'], '<' ) ),
|
855 |
+
'php_version_below_56' => apply_filters( 'monsterinsights_temporarily_hide_php_56_upgrade_warnings', version_compare( phpversion(), $compatible_php_version['warning'], '>=' ) && version_compare( phpversion(), $compatible_php_version['recommended'], '<' ) ),
|
856 |
+
'php_update_link' => monsterinsights_get_url( 'settings-notice', 'settings-page', 'https://www.monsterinsights.com/docs/update-php/' ),
|
857 |
+
'wp_version' => $wp_version,
|
858 |
+
'wp_version_below_46' => version_compare( $wp_version, $compatible_wp_version['warning'], '<' ),
|
859 |
+
'wp_version_below_49' => version_compare( $wp_version, $compatible_wp_version['recommended'], '<' ),
|
860 |
+
'wp_update_link' => monsterinsights_get_url( 'settings-notice', 'settings-page', 'https://www.monsterinsights.com/docs/update-wordpress/' ),
|
861 |
+
);
|
862 |
+
}
|
863 |
+
|
864 |
+
/**
|
865 |
+
* Check WP and PHP version and add contextual notifications for upgrades.
|
866 |
+
*/
|
867 |
+
function monsterinsights_maybe_add_wp_php_version_notification() {
|
868 |
+
global $wp_version;
|
869 |
+
|
870 |
+
$icon = '<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="16" cy="16" r="16" fill="#FAD1D1"/><path d="M17.3634 19.0714C17.792 19.4821 18.0063 19.9821 18.0063 20.5714C18.0063 21.1607 17.792 21.6607 17.3634 22.0714C16.9527 22.5 16.4527 22.7143 15.8634 22.7143C15.2742 22.7143 14.7652 22.5 14.3367 22.0714C13.9259 21.6607 13.7206 21.1607 13.7206 20.5714C13.7206 19.9821 13.9259 19.4821 14.3367 19.0714C14.7652 18.6429 15.2742 18.4286 15.8634 18.4286C16.4527 18.4286 16.9527 18.6429 17.3634 19.0714ZM13.9617 9.66964C13.9617 9.49107 14.0242 9.33929 14.1492 9.21429C14.2742 9.07143 14.4259 9 14.6045 9H17.1224C17.3009 9 17.4527 9.07143 17.5777 9.21429C17.7027 9.33929 17.7652 9.49107 17.7652 9.66964L17.3902 16.9554C17.3902 17.1339 17.3277 17.2857 17.2027 17.4107C17.0777 17.5179 16.9259 17.5714 16.7474 17.5714H14.9795C14.8009 17.5714 14.6492 17.5179 14.5242 17.4107C14.3992 17.2857 14.3367 17.1339 14.3367 16.9554L13.9617 9.66964Z" fill="#EB5757"/></svg>';
|
871 |
+
$needs_php_warning = version_compare( phpversion(), '5.6', '<' );
|
872 |
+
$needs_wp_warning = version_compare( $wp_version, '4.9', '<' );
|
873 |
+
|
874 |
+
if ( $needs_php_warning ) {
|
875 |
+
$notification['id'] = 'upgrade_php_56_notification';
|
876 |
+
$notification['title'] = __( 'ACTION REQUIRED: Your PHP version is putting your site at risk!', 'google-analytics-for-wordpress' );
|
877 |
+
if ( $needs_wp_warning ) {
|
878 |
+
$notification['title'] = __( 'ACTION REQUIRED: Speed your website up 400% with a single email!', 'google-analytics-for-wordpress' );
|
879 |
+
}
|
880 |
+
|
881 |
+
$php_url = monsterinsights_get_url( 'notifications', 'upgrade-php', 'https://www.monsterinsights.com/docs/update-php' );
|
882 |
+
|
883 |
+
$notification['type'] = array( 'basic', 'lite', 'master', 'plus', 'pro' );
|
884 |
+
// Translators: Placeholder is for the current PHP version.
|
885 |
+
$notification['content'] = sprintf( esc_html__( 'In the next major release of MonsterInsights we are planning to remove support for the version of PHP you are using (%s). This insecure version is no longer supported by WordPress itself, so you are already missing out on the latest features of WordPress along with critical updates for security and performance (modern PHP versions make websites much faster).', 'google-analytics-for-wordpress' ), phpversion() ) . "\n\n";
|
886 |
+
|
887 |
+
// Translators: Placeholders add a link to an article.
|
888 |
+
$notification['content'] .= sprintf( esc_html__( 'To ensure MonsterInsights and other plugins on your site continue to function properly, and avoid putting your site at risk, please take a few minutes to ask your website hosting provider to upgrade the version of PHP to a modern PHP version (7.2 or newer). We provide helpful templates for how to ask them %1$shere%2$s.', 'google-analytics-for-wordpress' ), '<a target="_blank" href="' . $php_url . '">', '</a>' ) . "\n\n";
|
889 |
+
$notification['content'] .= esc_html__( 'Upgrading your PHP version will make sure you are able to continue using WordPress without issues in the future, keep your site secure, and will also make your website up to 400% faster!', 'google-analytics-for-wordpress' );
|
890 |
+
|
891 |
+
$notification['icon'] = $icon;
|
892 |
+
$notification['btns'] = array(
|
893 |
+
'learn_more' => array(
|
894 |
+
'url' => $php_url,
|
895 |
+
'text' => esc_html__( 'Learn More', 'google-analytics-for-wordpress' ),
|
896 |
+
),
|
897 |
+
);
|
898 |
+
|
899 |
+
// Add the notification.
|
900 |
+
MonsterInsights()->notifications->add( $notification );
|
901 |
+
}
|
902 |
+
|
903 |
+
if ( $needs_wp_warning ) {
|
904 |
+
|
905 |
+
$isitwp_url = 'https://www.isitwp.com/upgrading-wordpress-is-easier-than-you-think/?utm_source=monsterinsights&utm_medium=notifications&utm_campaign=upgradewp';
|
906 |
+
$wpbeginner_url = 'https://www.wpbeginner.com/beginners-guide/why-you-should-always-use-the-latest-version-of-wordpress/utm_source=monsterinsights&utm_medium=notifications&utm_campaign=upgradewp';
|
907 |
+
|
908 |
+
$notification['id'] = 'upgrade_wp_49_notification';
|
909 |
+
$notification['title'] = __( 'ACTION REQUIRED: Your WordPress version is putting your site at risk!', 'google-analytics-for-wordpress' );
|
910 |
+
$notification['type'] = array( 'basic', 'lite', 'master', 'plus', 'pro' );
|
911 |
+
// Translators: Placeholder is for the current WordPress version.
|
912 |
+
$notification['content'] = sprintf( esc_html__( 'In the next major release of MonsterInsights we are planning to remove support for the version of WordPress you are using (version %s). This version is several years out of date, and most plugins do not support this version anymore, so you could be missing out on critical updates for performance and security already!', 'google-analytics-for-wordpress' ), $wp_version ) . "\n\n";
|
913 |
+
|
914 |
+
$notification['content'] .= esc_html__( 'The good news: updating WordPress has never been easier and only takes a few moments.', 'google-analytics-for-wordpress' );
|
915 |
+
// Translators: Placeholders add links to articles.
|
916 |
+
$notification['content'] .= sprintf( esc_html__( 'To update, we recommend following this %1$sstep by step guide for updating WordPress%2$s from IsItWP and afterwards check out %3$sWhy You Should Always Use the Latest Version of WordPress%4$s on WPBeginner.', 'google-analytics-for-wordpress' ), '<a target="_blank" href="' . $isitwp_url . '">', '</a>', '<a target="_blank" href="' . $wpbeginner_url . '">', '</a>' ) . "\n\n";
|
917 |
+
|
918 |
+
$notification['icon'] = $icon;
|
919 |
+
$notification['btns'] = array(
|
920 |
+
'learn_more' => array(
|
921 |
+
'url' => $isitwp_url,
|
922 |
+
'text' => esc_html__( 'Learn More', 'google-analytics-for-wordpress' ),
|
923 |
+
),
|
924 |
+
);
|
925 |
+
|
926 |
+
// Add the notification.
|
927 |
+
MonsterInsights()->notifications->add( $notification );
|
928 |
+
}
|
929 |
+
|
930 |
+
}
|
931 |
+
|
932 |
+
add_action( 'admin_init', 'monsterinsights_maybe_add_wp_php_version_notification' );
|
933 |
+
|
934 |
+
/**
|
935 |
+
* Add notification for Year In Review report for year 2021.
|
936 |
+
*
|
937 |
+
* @since 7.13.2
|
938 |
+
*
|
939 |
+
* @return void
|
940 |
+
*/
|
941 |
+
function monsterinsights_year_in_review_notification() {
|
942 |
+
|
943 |
+
// Check if dates are between Jan 1st 2022 & 13th Jan 2022.
|
944 |
+
if ( monsterinsights_date_is_between( '2022-01-01', '2022-01-14' ) ) {
|
945 |
+
|
946 |
+
$notification['id'] = 'monsterinsights_notification_year_in_review';
|
947 |
+
$notification['type'] = array( 'basic', 'lite', 'master', 'plus', 'pro' );
|
948 |
+
$notification['start'] = '2022-01-01';
|
949 |
+
$notification['end'] = '2022-01-14';
|
950 |
+
$notification['title'] = esc_html__( 'View 2021 Year in Review report!', 'google-analytics-for-wordpress' );
|
951 |
+
$notification['content'] = esc_html__( 'See how your website performed this year and find tips along the way to help grow even more in 2022!', 'google-analytics-for-wordpress' );
|
952 |
+
$notification['btns'] = array(
|
953 |
+
'learn_more' => array(
|
954 |
+
'url' => esc_url( admin_url( 'admin.php?page=monsterinsights_reports#/year-in-review' ) ),
|
955 |
+
'text' => esc_html__( 'Learn More', 'google-analytics-for-wordpress' ),
|
956 |
+
),
|
957 |
+
);
|
958 |
+
|
959 |
+
// Add the notification.
|
960 |
+
MonsterInsights()->notifications->add( $notification );
|
961 |
+
}
|
962 |
+
}
|
963 |
+
|
964 |
+
add_action( 'admin_init', 'monsterinsights_year_in_review_notification' );
|
includes/admin/exclude-page-metabox.php
CHANGED
@@ -1,55 +1,94 @@
|
|
1 |
<?php
|
|
|
2 |
/**
|
3 |
* Metabox class.
|
4 |
*/
|
5 |
|
6 |
// Exit if accessed directly
|
7 |
-
if (
|
8 |
exit;
|
9 |
}
|
10 |
-
if (
|
11 |
-
class MonsterInsights_MetaBox_ExcludePage
|
|
|
12 |
|
13 |
-
public function __construct()
|
14 |
-
|
|
|
15 |
|
16 |
-
if (
|
17 |
return;
|
18 |
}
|
19 |
|
20 |
-
add_action(
|
21 |
-
add_action(
|
22 |
}
|
23 |
|
24 |
-
private function is_gutenberg_editor()
|
25 |
-
|
|
|
26 |
return true;
|
27 |
}
|
28 |
|
29 |
$current_screen = get_current_screen();
|
30 |
-
if (
|
31 |
return true;
|
32 |
}
|
33 |
|
34 |
return false;
|
35 |
}
|
36 |
|
37 |
-
|
38 |
-
|
39 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
|
41 |
-
public function meta_box_init()
|
42 |
-
|
43 |
-
|
|
|
44 |
return;
|
45 |
}
|
46 |
-
|
|
|
|
|
|
|
|
|
|
|
47 |
}
|
48 |
|
49 |
-
public function register_meta()
|
50 |
-
|
51 |
-
|
52 |
-
|
|
|
53 |
|
54 |
register_post_meta(
|
55 |
'',
|
@@ -64,18 +103,20 @@ if ( ! class_exists( 'MonsterInsights_MetaBox_ExcludePage' ) ) {
|
|
64 |
);
|
65 |
}
|
66 |
|
67 |
-
public function create_meta_box()
|
|
|
68 |
add_meta_box(
|
69 |
'monsterinsights-metabox',
|
70 |
'MonsterInsights',
|
71 |
-
[
|
72 |
null,
|
73 |
'side',
|
74 |
'high'
|
75 |
);
|
76 |
}
|
77 |
|
78 |
-
public function print_metabox_html(
|
|
|
79 |
$skipped = (bool) get_post_meta( $post->ID, '_mi_skip_tracking', true );
|
80 |
wp_nonce_field( 'monsterinsights_metabox', 'monsterinsights_metabox_nonce' );
|
81 |
?>
|
@@ -89,32 +130,43 @@ if ( ! class_exists( 'MonsterInsights_MetaBox_ExcludePage' ) ) {
|
|
89 |
<div class="monsterinsights-metabox-helper">
|
90 |
<?php _e( 'Toggle to prevent Google Analytics from tracking this page.', 'google-analytics-for-wordpress' ); ?>
|
91 |
</div>
|
92 |
-
|
93 |
-
|
|
|
|
|
|
|
|
|
94 |
<span>
|
95 |
<svg width="15" height="14" viewBox="0 0 15 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
96 |
<path d="M6.57617 1.08203L4.92578 4.45898L1.19336 4.99219C0.533203 5.09375 0.279297 5.90625 0.761719 6.38867L3.42773 9.00391L2.79297 12.6855C2.69141 13.3457 3.40234 13.8535 3.98633 13.5488L7.3125 11.7969L10.6133 13.5488C11.1973 13.8535 11.9082 13.3457 11.8066 12.6855L11.1719 9.00391L13.8379 6.38867C14.3203 5.90625 14.0664 5.09375 13.4062 4.99219L9.69922 4.45898L8.02344 1.08203C7.74414 0.498047 6.88086 0.472656 6.57617 1.08203Z" fill="#31862D"/>
|
97 |
</svg>
|
98 |
<?php _e( 'This is a PRO feature.', 'google-analytics-for-wordpress' ); ?>
|
99 |
</span>
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
}
|
110 |
|
111 |
-
public function load_metabox_styles()
|
112 |
-
|
|
|
113 |
|
114 |
-
wp_register_style(
|
115 |
-
wp_enqueue_style(
|
116 |
-
}
|
117 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
118 |
}
|
119 |
|
120 |
new MonsterInsights_MetaBox_ExcludePage();
|
1 |
<?php
|
2 |
+
|
3 |
/**
|
4 |
* Metabox class.
|
5 |
*/
|
6 |
|
7 |
// Exit if accessed directly
|
8 |
+
if (!defined('ABSPATH')) {
|
9 |
exit;
|
10 |
}
|
11 |
+
if (!class_exists('MonsterInsights_MetaBox_ExcludePage')) {
|
12 |
+
class MonsterInsights_MetaBox_ExcludePage
|
13 |
+
{
|
14 |
|
15 |
+
public function __construct()
|
16 |
+
{
|
17 |
+
add_action('init', [$this, 'register_meta']);
|
18 |
|
19 |
+
if (!is_admin()) {
|
20 |
return;
|
21 |
}
|
22 |
|
23 |
+
add_action('load-post.php', [$this, 'meta_box_init']);
|
24 |
+
add_action('load-post-new.php', [$this, 'meta_box_init']);
|
25 |
}
|
26 |
|
27 |
+
private function is_gutenberg_editor()
|
28 |
+
{
|
29 |
+
if (function_exists('is_gutenberg_page') && is_gutenberg_page()) {
|
30 |
return true;
|
31 |
}
|
32 |
|
33 |
$current_screen = get_current_screen();
|
34 |
+
if (method_exists($current_screen, 'is_block_editor') && $current_screen->is_block_editor()) {
|
35 |
return true;
|
36 |
}
|
37 |
|
38 |
return false;
|
39 |
}
|
40 |
|
41 |
+
private function posttype_supports_gutenberg()
|
42 |
+
{
|
43 |
+
return post_type_supports(monsterinsights_get_current_post_type(), 'custom-fields');
|
44 |
+
}
|
45 |
+
|
46 |
+
private function get_current_post_type()
|
47 |
+
{
|
48 |
+
global $post;
|
49 |
+
|
50 |
+
if ($post && $post->post_type) {
|
51 |
+
return $post->post_type;
|
52 |
+
}
|
53 |
+
|
54 |
+
global $typenow;
|
55 |
+
|
56 |
+
if ($typenow) {
|
57 |
+
return $typenow;
|
58 |
+
}
|
59 |
+
|
60 |
+
global $current_screen;
|
61 |
+
|
62 |
+
if ($current_screen && $current_screen->post_type) {
|
63 |
+
return $current_screen->post_type;
|
64 |
+
}
|
65 |
+
|
66 |
+
if (isset($_REQUEST['post_type'])) {
|
67 |
+
return sanitize_key($_REQUEST['post_type']);
|
68 |
+
}
|
69 |
+
|
70 |
+
return null;
|
71 |
+
}
|
72 |
|
73 |
+
public function meta_box_init()
|
74 |
+
{
|
75 |
+
$post_type = $this->get_current_post_type();
|
76 |
+
if (!is_post_type_viewable($post_type)) {
|
77 |
return;
|
78 |
}
|
79 |
+
|
80 |
+
add_action('admin_enqueue_scripts', array($this, 'load_metabox_styles'));
|
81 |
+
if ($this->is_gutenberg_editor() && $this->posttype_supports_gutenberg()) {
|
82 |
+
return;
|
83 |
+
}
|
84 |
+
add_action('add_meta_boxes', [$this, 'create_meta_box']);
|
85 |
}
|
86 |
|
87 |
+
public function register_meta()
|
88 |
+
{
|
89 |
+
if (!function_exists('register_post_meta')) {
|
90 |
+
return;
|
91 |
+
}
|
92 |
|
93 |
register_post_meta(
|
94 |
'',
|
103 |
);
|
104 |
}
|
105 |
|
106 |
+
public function create_meta_box()
|
107 |
+
{
|
108 |
add_meta_box(
|
109 |
'monsterinsights-metabox',
|
110 |
'MonsterInsights',
|
111 |
+
[$this, 'print_metabox_html'],
|
112 |
null,
|
113 |
'side',
|
114 |
'high'
|
115 |
);
|
116 |
}
|
117 |
|
118 |
+
public function print_metabox_html($post)
|
119 |
+
{
|
120 |
$skipped = (bool) get_post_meta( $post->ID, '_mi_skip_tracking', true );
|
121 |
wp_nonce_field( 'monsterinsights_metabox', 'monsterinsights_metabox_nonce' );
|
122 |
?>
|
130 |
<div class="monsterinsights-metabox-helper">
|
131 |
<?php _e( 'Toggle to prevent Google Analytics from tracking this page.', 'google-analytics-for-wordpress' ); ?>
|
132 |
</div>
|
133 |
+
</div>
|
134 |
+
|
135 |
+
<?php do_action( 'monsterinsights_after_exclude_metabox', $skipped, $post ); ?>
|
136 |
+
|
137 |
+
<?php if ( ! monsterinsights_is_pro_version() ) { ?>
|
138 |
+
<div class="monsterinsights-metabox-pro-badge">
|
139 |
<span>
|
140 |
<svg width="15" height="14" viewBox="0 0 15 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
141 |
<path d="M6.57617 1.08203L4.92578 4.45898L1.19336 4.99219C0.533203 5.09375 0.279297 5.90625 0.761719 6.38867L3.42773 9.00391L2.79297 12.6855C2.69141 13.3457 3.40234 13.8535 3.98633 13.5488L7.3125 11.7969L10.6133 13.5488C11.1973 13.8535 11.9082 13.3457 11.8066 12.6855L11.1719 9.00391L13.8379 6.38867C14.3203 5.90625 14.0664 5.09375 13.4062 4.99219L9.69922 4.45898L8.02344 1.08203C7.74414 0.498047 6.88086 0.472656 6.57617 1.08203Z" fill="#31862D"/>
|
142 |
</svg>
|
143 |
<?php _e( 'This is a PRO feature.', 'google-analytics-for-wordpress' ); ?>
|
144 |
</span>
|
145 |
+
<div class="monsterinsights-metabox-pro-badge-upgrade">
|
146 |
+
<a href="<?php echo monsterinsights_get_upgrade_link( 'exclude-page-tracking', 'lite-metabox', "https://www.monsterinsights.com/lite/" ); ?>" target="_blank" rel="noopener">
|
147 |
+
<?php _e( 'Upgrade', 'google-analytics-for-wordpress' ); ?>
|
148 |
+
</a>
|
149 |
+
</div>
|
150 |
+
</div>
|
151 |
+
<?php } ?>
|
152 |
+
|
153 |
+
<?php
|
154 |
}
|
155 |
|
156 |
+
public function load_metabox_styles()
|
157 |
+
{
|
158 |
+
$suffix = (defined('SCRIPT_DEBUG') && SCRIPT_DEBUG) ? '' : '.min';
|
159 |
|
160 |
+
wp_register_style('monsterinsights-admin-metabox-style', plugins_url('assets/css/admin-metabox' . $suffix . '.css', MONSTERINSIGHTS_PLUGIN_FILE), array(), monsterinsights_get_asset_version());
|
161 |
+
wp_enqueue_style('monsterinsights-admin-metabox-style');
|
|
|
162 |
|
163 |
+
if ( monsterinsights_is_pro_version() ){
|
164 |
+
return;
|
165 |
+
}
|
166 |
+
|
167 |
+
wp_register_script( 'monsterinsights-admin-metabox-script', plugins_url( 'assets/js/admin-metabox' . $suffix . '.js', MONSTERINSIGHTS_PLUGIN_FILE ), array( 'jquery' ), monsterinsights_get_asset_version() );
|
168 |
+
wp_enqueue_script( 'monsterinsights-admin-metabox-script' );
|
169 |
+
}
|
170 |
}
|
171 |
|
172 |
new MonsterInsights_MetaBox_ExcludePage();
|
includes/admin/notifications/notification-bounce-rate.php
CHANGED
@@ -27,14 +27,14 @@ final class MonsterInsights_Notification_Bounce_Rate extends MonsterInsights_Not
|
|
27 |
$report = $this->get_report( 'overview' );
|
28 |
$bounce_rate = isset( $report['data']['infobox']['bounce']['value'] ) ? $report['data']['infobox']['bounce']['value'] : 0;
|
29 |
|
30 |
-
if ( $bounce_rate
|
31 |
$is_em = defined( 'EXACTMETRICS_VERSION' );
|
32 |
|
33 |
$learn_more_url = $is_em
|
34 |
? 'https://www.exactmetrics.com/epic-list-of-marketing-hacks-for-explosive-traffic-growth/'
|
35 |
: 'https://www.monsterinsights.com/how-to-reduce-bounce-rate/';
|
36 |
|
37 |
-
$notification['title'] = sprintf( __( 'Your Website Bounce Rate is Higher Than %s
|
38 |
// Translators: Bounce rate notification content.
|
39 |
$notification['content'] = sprintf( __( 'Your site\'s bounce rate is %1$s. Double check your site is working properly and be sure it loads quickly. %2$sHere%3$s are some points to remember and steps to follow to get your bounce rates back to manageable levels.', 'google-analytics-for-wordpress' ), $bounce_rate, '<a href="' . $this->build_external_link( 'https://www.monsterinsights.com/how-to-reduce-bounce-rate/' ) . '" target="_blank">', '</a>' );
|
40 |
$notification['btns'] = array(
|
27 |
$report = $this->get_report( 'overview' );
|
28 |
$bounce_rate = isset( $report['data']['infobox']['bounce']['value'] ) ? $report['data']['infobox']['bounce']['value'] : 0;
|
29 |
|
30 |
+
if ( $bounce_rate ) {
|
31 |
$is_em = defined( 'EXACTMETRICS_VERSION' );
|
32 |
|
33 |
$learn_more_url = $is_em
|
34 |
? 'https://www.exactmetrics.com/epic-list-of-marketing-hacks-for-explosive-traffic-growth/'
|
35 |
: 'https://www.monsterinsights.com/how-to-reduce-bounce-rate/';
|
36 |
|
37 |
+
$notification['title'] = sprintf( __( 'Your Website Bounce Rate is Higher Than %s', 'google-analytics-for-wordpress' ), $bounce_rate );
|
38 |
// Translators: Bounce rate notification content.
|
39 |
$notification['content'] = sprintf( __( 'Your site\'s bounce rate is %1$s. Double check your site is working properly and be sure it loads quickly. %2$sHere%3$s are some points to remember and steps to follow to get your bounce rates back to manageable levels.', 'google-analytics-for-wordpress' ), $bounce_rate, '<a href="' . $this->build_external_link( 'https://www.monsterinsights.com/how-to-reduce-bounce-rate/' ) . '" target="_blank">', '</a>' );
|
40 |
$notification['btns'] = array(
|
includes/admin/notifications/notification-dual-tracking.php
CHANGED
@@ -24,11 +24,16 @@ class MonsterInsights_Notification_Dual_Tracking extends MonsterInsights_Notific
|
|
24 |
if ( $ua && !$v4 ) {
|
25 |
$is_em = defined( 'EXACTMETRICS_VERSION' );
|
26 |
$learn_more_url = $is_em
|
27 |
-
? 'https://www.exactmetrics.com/
|
28 |
-
: 'https://www.monsterinsights.com/
|
29 |
|
30 |
-
$
|
31 |
-
|
|
|
|
|
|
|
|
|
|
|
32 |
$notification['btns'] = array(
|
33 |
'setup_now' => array(
|
34 |
'url' => $this->get_view_url( 'monsterinsights-dual-tracking-id', 'monsterinsights_settings' ),
|
@@ -36,7 +41,7 @@ class MonsterInsights_Notification_Dual_Tracking extends MonsterInsights_Notific
|
|
36 |
),
|
37 |
'learn_more' => array(
|
38 |
'url' => $this->build_external_link( $learn_more_url ),
|
39 |
-
'text' => __( '
|
40 |
'is_external' => true,
|
41 |
),
|
42 |
);
|
24 |
if ( $ua && !$v4 ) {
|
25 |
$is_em = defined( 'EXACTMETRICS_VERSION' );
|
26 |
$learn_more_url = $is_em
|
27 |
+
? 'https://www.exactmetrics.com/docs/how-to-set-up-dual-tracking/'
|
28 |
+
: 'https://www.monsterinsights.com/docs/how-to-set-up-dual-tracking/';
|
29 |
|
30 |
+
$plugin_name = $is_em ? 'ExactMetrics' : 'MonsterInsights';
|
31 |
+
|
32 |
+
$notification['title'] = __( 'Enable Dual Tracking and Start Using Google Analytics 4 Today', 'google-analytics-for-wordpress' );
|
33 |
+
$notification['content'] = sprintf(
|
34 |
+
__( 'On July 1, 2023, Google Analytics will not track any website data for Universal Analytics (GA3). Be prepared for the future by enabling Dual Tracking inside %s to future-proof your website. We\'ve made it easy to upgrade.', 'google-analytics-for-wordpress' ),
|
35 |
+
$plugin_name
|
36 |
+
);
|
37 |
$notification['btns'] = array(
|
38 |
'setup_now' => array(
|
39 |
'url' => $this->get_view_url( 'monsterinsights-dual-tracking-id', 'monsterinsights_settings' ),
|
41 |
),
|
42 |
'learn_more' => array(
|
43 |
'url' => $this->build_external_link( $learn_more_url ),
|
44 |
+
'text' => __( 'How To Enable Dual Tracking', 'google-analytics-for-wordpress' ),
|
45 |
'is_external' => true,
|
46 |
),
|
47 |
);
|
includes/admin/wp-site-health.php
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class MonsterInsights_WP_Site_Health
|
4 |
+
{
|
5 |
+
public function __construct()
|
6 |
+
{
|
7 |
+
add_filter( 'site_status_tests', array( $this, 'add_tests' ) );
|
8 |
+
}
|
9 |
+
|
10 |
+
public function add_tests( $tests ) {
|
11 |
+
$tests['direct']['monsterinsights_dual_tracking'] = array(
|
12 |
+
'label' => __( 'MonsterInsights Dual Tracking', 'google-analytics-for-wordpress' ),
|
13 |
+
'test' => array( $this, 'test_dual_tracking' ),
|
14 |
+
);
|
15 |
+
|
16 |
+
return $tests;
|
17 |
+
}
|
18 |
+
|
19 |
+
public function test_dual_tracking() {
|
20 |
+
|
21 |
+
$has_v4_id = strlen( monsterinsights_get_v4_id() ) > 0;
|
22 |
+
|
23 |
+
if ( $has_v4_id ) {
|
24 |
+
return false;
|
25 |
+
}
|
26 |
+
|
27 |
+
$setup_link = add_query_arg( array(
|
28 |
+
'page' => 'monsterinsights_settings',
|
29 |
+
'monsterinsights-scroll' => 'monsterinsights-dual-tracking-id',
|
30 |
+
'monsterinsights-highlight' => 'monsterinsights-dual-tracking-id',
|
31 |
+
), admin_url( 'admin.php' ) );
|
32 |
+
|
33 |
+
return array(
|
34 |
+
'label' => __( 'Enable Google Analytics 4', 'google-analytics-for-wordpress' ),
|
35 |
+
'status' => 'critical',
|
36 |
+
'badge' => array(
|
37 |
+
'label' => __( 'MonsterInsights', 'google-analytics-for-wordpress' ),
|
38 |
+
'color' => 'blue',
|
39 |
+
),
|
40 |
+
'description' => __( 'Starting July 1, 2023, Google\'s Universal Analytics (GA3) will not accept any new traffic or event data. Upgrade to Google Analytics 4 today to be prepared for the sunset.', 'google-analytics-for-wordpress' ),
|
41 |
+
'actions' => sprintf(
|
42 |
+
'<p><a href="%s" target="_blank" rel="noopener noreferrer">%s</a></p>',
|
43 |
+
$setup_link,
|
44 |
+
__( 'Set Up Dual Tracking', 'google-analytics-for-wordpress' )
|
45 |
+
),
|
46 |
+
'test' => 'monsterinsights_dual_tracking',
|
47 |
+
);
|
48 |
+
}
|
49 |
+
}
|
50 |
+
|
51 |
+
new MonsterInsights_WP_Site_Health();
|
includes/auth.php
CHANGED
@@ -202,11 +202,11 @@ final class MonsterInsights_Auth {
|
|
202 |
unset( $data[ $key ] );
|
203 |
}
|
204 |
} else {
|
205 |
-
$is_dual_tracking_id_v4 = monsterinsights_is_valid_v4_id( $id );
|
206 |
-
$is_dual_tracking_id_ua = monsterinsights_is_valid_ua( $id );
|
207 |
|
208 |
-
$is_valid_dual_tracking_id =
|
209 |
-
|
210 |
|
211 |
if ( ! $is_valid_dual_tracking_id ) {
|
212 |
return false;
|
202 |
unset( $data[ $key ] );
|
203 |
}
|
204 |
} else {
|
205 |
+
$is_dual_tracking_id_v4 = ( $is_authed_ua || $is_manual_ua ) && monsterinsights_is_valid_v4_id( $id );
|
206 |
+
$is_dual_tracking_id_ua = ( $is_authed_v4 || $is_manual_v4 ) && monsterinsights_is_valid_ua( $id );
|
207 |
|
208 |
+
$is_valid_dual_tracking_id = $is_dual_tracking_id_ua ||
|
209 |
+
$is_dual_tracking_id_v4;
|
210 |
|
211 |
if ( ! $is_valid_dual_tracking_id ) {
|
212 |
return false;
|
includes/frontend/tracking/class-tracking-gtag.php
CHANGED
@@ -147,15 +147,15 @@ class MonsterInsights_Tracking_Gtag extends MonsterInsights_Tracking_Abstract
|
|
147 |
$options['page_path'] = "{$placeholder}'/404.html?page=' + document.location.pathname + document.location.search + '&from=' + document.referrer{$placeholder}";
|
148 |
}
|
149 |
} elseif ($wp_query->is_search) {
|
150 |
-
$pushstr = "
|
151 |
if (0 === (int) $wp_query->found_posts) {
|
152 |
-
$options['page_path'] = $pushstr.'no-results:'.rawurlencode($wp_query->query_vars['s'])."&cat=no-results
|
153 |
} elseif (1 === (int) $wp_query->found_posts) {
|
154 |
-
$options['page_path'] = $pushstr.rawurlencode($wp_query->query_vars['s'])."&cat=1-result
|
155 |
} elseif ($wp_query->found_posts > 1 && $wp_query->found_posts < 6) {
|
156 |
-
$options['page_path'] = $pushstr.rawurlencode($wp_query->query_vars['s'])."&cat=2-5-results
|
157 |
} else {
|
158 |
-
$options['page_path'] = $pushstr.rawurlencode($wp_query->query_vars['s'])."&cat=plus-5-results
|
159 |
}
|
160 |
} elseif (monsterinsights_get_option('hash_tracking', false)) {
|
161 |
$options['page_path'] = "{$placeholder}location.pathname + location.search + location.hash{$placeholder}";
|
147 |
$options['page_path'] = "{$placeholder}'/404.html?page=' + document.location.pathname + document.location.search + '&from=' + document.referrer{$placeholder}";
|
148 |
}
|
149 |
} elseif ($wp_query->is_search) {
|
150 |
+
$pushstr = "/?s=";
|
151 |
if (0 === (int) $wp_query->found_posts) {
|
152 |
+
$options['page_path'] = $pushstr . 'no-results:' . rawurlencode($wp_query->query_vars['s']) . "&cat=no-results";
|
153 |
} elseif (1 === (int) $wp_query->found_posts) {
|
154 |
+
$options['page_path'] = $pushstr . rawurlencode($wp_query->query_vars['s']) . "&cat=1-result";
|
155 |
} elseif ($wp_query->found_posts > 1 && $wp_query->found_posts < 6) {
|
156 |
+
$options['page_path'] = $pushstr . rawurlencode($wp_query->query_vars['s']) . "&cat=2-5-results";
|
157 |
} else {
|
158 |
+
$options['page_path'] = $pushstr . rawurlencode($wp_query->query_vars['s']) . "&cat=plus-5-results";
|
159 |
}
|
160 |
} elseif (monsterinsights_get_option('hash_tracking', false)) {
|
161 |
$options['page_path'] = "{$placeholder}location.pathname + location.search + location.hash{$placeholder}";
|
includes/gutenberg/headline-tool/headline-tool.php
CHANGED
@@ -1,992 +1,992 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
namespace MonsterInsightsHeadlineToolPlugin;
|
4 |
-
|
5 |
-
// setup defines
|
6 |
-
define ( 'MONSTERINSIGHTS_HEADLINE_TOOL_DIR_PATH', plugin_dir_path( __FILE__ ) );
|
7 |
-
|
8 |
-
/**
|
9 |
-
* Headline Tool
|
10 |
-
*
|
11 |
-
* @since 0.1
|
12 |
-
* @author Debjit Saha
|
13 |
-
*/
|
14 |
-
class MonsterInsightsHeadlineToolPlugin{
|
15 |
-
|
16 |
-
/**
|
17 |
-
* Class Variables.
|
18 |
-
*/
|
19 |
-
private $emotion_power_words = array();
|
20 |
-
private $power_words = array();
|
21 |
-
private $common_words = array();
|
22 |
-
private $uncommon_words = array();
|
23 |
-
|
24 |
-
/**
|
25 |
-
* Constructor
|
26 |
-
*
|
27 |
-
* @return none
|
28 |
-
*/
|
29 |
-
function __construct() {
|
30 |
-
$this->init();
|
31 |
-
}
|
32 |
-
|
33 |
-
/**
|
34 |
-
* Add the necessary hooks and filters
|
35 |
-
*/
|
36 |
-
function init() {
|
37 |
-
add_action( 'wp_ajax_monsterinsights_gutenberg_headline_analyzer_get_results', array( $this, 'get_result' ) );
|
38 |
-
}
|
39 |
-
|
40 |
-
/**
|
41 |
-
* Ajax request endpoint for the uptime check
|
42 |
-
*/
|
43 |
-
function get_result() {
|
44 |
-
|
45 |
-
// csrf check
|
46 |
-
if ( check_ajax_referer( 'monsterinsights_gutenberg_headline_nonce', false, false ) === false ) {
|
47 |
-
$content = self::output_template( 'results-error.php' );
|
48 |
-
wp_send_json_error(
|
49 |
-
array(
|
50 |
-
'html' => $content
|
51 |
-
)
|
52 |
-
);
|
53 |
-
}
|
54 |
-
|
55 |
-
// get whether or not the website is up
|
56 |
-
$result = $this->get_headline_scores();
|
57 |
-
|
58 |
-
if ( !empty( $result->err ) ) {
|
59 |
-
$content = self::output_template( 'results-error.php', $result );
|
60 |
-
wp_send_json_error(
|
61 |
-
array( 'html' => $content, 'analysed' => false )
|
62 |
-
);
|
63 |
-
} else {
|
64 |
-
|
65 |
-
// send the response
|
66 |
-
wp_send_json_success(
|
67 |
-
array(
|
68 |
-
'result' => $result,
|
69 |
-
'analysed' => !$result->err,
|
70 |
-
'sentence' => ucwords( wp_unslash( sanitize_text_field( $_REQUEST['q'] ) ) ),
|
71 |
-
'score' => ( isset( $result->score ) && ! empty( $result->score ) ) ? $result->score : 0
|
72 |
-
)
|
73 |
-
);
|
74 |
-
|
75 |
-
}
|
76 |
-
}
|
77 |
-
|
78 |
-
/**
|
79 |
-
* function to match words from sentence
|
80 |
-
* @return Object
|
81 |
-
*/
|
82 |
-
function match_words( $sentence, $sentence_split, $words ) {
|
83 |
-
$ret = array();
|
84 |
-
foreach( $words as $wrd ) {
|
85 |
-
// check if $wrd is a phrase
|
86 |
-
if ( strpos( $wrd, ' ' ) !== false ) {
|
87 |
-
if ( strpos( $sentence, $wrd ) !== false ) {
|
88 |
-
$ret[] = $wrd;
|
89 |
-
}
|
90 |
-
}
|
91 |
-
// if $wrd is a single word
|
92 |
-
else {
|
93 |
-
if ( in_array( $wrd, $sentence_split ) ) {
|
94 |
-
$ret[] = $wrd;
|
95 |
-
}
|
96 |
-
}
|
97 |
-
}
|
98 |
-
return $ret;
|
99 |
-
}
|
100 |
-
|
101 |
-
/**
|
102 |
-
* main function to calculate headline scores
|
103 |
-
* @return Object
|
104 |
-
*/
|
105 |
-
function get_headline_scores() {
|
106 |
-
$input = sanitize_text_field( @$_REQUEST['q'] );
|
107 |
-
|
108 |
-
// init the result array
|
109 |
-
$result = new \stdClass();
|
110 |
-
$result->input_array_orig = explode( ' ', wp_unslash( $input ) );
|
111 |
-
|
112 |
-
// strip useless characters
|
113 |
-
$input = preg_replace( '/[^A-Za-z0-9 ]/', '', $input );
|
114 |
-
|
115 |
-
// strip whitespace
|
116 |
-
$input = preg_replace( '!\s+!', ' ', $input);
|
117 |
-
|
118 |
-
// lower case
|
119 |
-
$input = strtolower( $input );
|
120 |
-
|
121 |
-
$result->input = $input;
|
122 |
-
|
123 |
-
// bad input
|
124 |
-
if ( ! $input || $input == ' ' || trim( $input ) == '' ) {
|
125 |
-
$result->err = true;
|
126 |
-
$result->msg = __('Bad Input', 'google-analytics-for-wordpress');
|
127 |
-
return $result;
|
128 |
-
}
|
129 |
-
|
130 |
-
// overall score;
|
131 |
-
$scoret = 0;
|
132 |
-
|
133 |
-
// headline array
|
134 |
-
$input_array = explode( ' ', $input );
|
135 |
-
|
136 |
-
$result->input_array = $input_array;
|
137 |
-
|
138 |
-
// all okay, start analysis
|
139 |
-
$result->err = false;
|
140 |
-
|
141 |
-
// Length - 55 chars. optimal
|
142 |
-
$result->length = strlen( str_replace( ' ', '', $input ) );
|
143 |
-
$scoret = $scoret + 3;
|
144 |
-
|
145 |
-
if ( $result->length <= 19 ) { $scoret += 5; }
|
146 |
-
elseif ( $result->length >= 20 && $result->length <= 34 ) { $scoret += 8; }
|
147 |
-
elseif ( $result->length >= 35 && $result->length <= 66 ) { $scoret += 11; }
|
148 |
-
elseif ( $result->length >= 67 && $result->length <= 79 ) { $scoret += 8; }
|
149 |
-
elseif ( $result->length >= 80 ) { $scoret += 5; }
|
150 |
-
|
151 |
-
// Count - typically 6-7 words
|
152 |
-
$result->word_count = count( $input_array );
|
153 |
-
$scoret = $scoret + 3;
|
154 |
-
|
155 |
-
if ( $result->word_count == 0 ) { $scoret = 0; }
|
156 |
-
else if ( $result->word_count >= 2 && $result->word_count <= 4 ) { $scoret += 5; }
|
157 |
-
elseif ( $result->word_count >= 5 && $result->word_count <= 9 ) { $scoret += 11; }
|
158 |
-
elseif ( $result->word_count >= 10 && $result->word_count <= 11 ) { $scoret += 8; }
|
159 |
-
elseif ( $result->word_count >= 12 ) { $scoret += 5; }
|
160 |
-
|
161 |
-
// Calculate word match counts
|
162 |
-
$result->power_words = $this->match_words( $result->input, $result->input_array, $this->power_words() );
|
163 |
-
$result->power_words_per = count( $result->power_words ) / $result->word_count;
|
164 |
-
$result->emotion_words = $this->match_words( $result->input, $result->input_array, $this->emotion_power_words() );
|
165 |
-
$result->emotion_words_per = count( $result->emotion_words ) / $result->word_count;
|
166 |
-
$result->common_words = $this->match_words( $result->input, $result->input_array, $this->common_words() );
|
167 |
-
$result->common_words_per = count( $result->common_words ) / $result->word_count;
|
168 |
-
$result->uncommon_words = $this->match_words( $result->input, $result->input_array, $this->uncommon_words() );
|
169 |
-
$result->uncommon_words_per = count( $result->uncommon_words ) / $result->word_count;
|
170 |
-
$result->word_balance = __('Can Be Improved', 'google-analytics-for-wordpress');
|
171 |
-
$result->word_balance_use = array();
|
172 |
-
|
173 |
-
if ( $result->emotion_words_per < 0.1 ) {
|
174 |
-
$result->word_balance_use[] = __('emotion', 'google-analytics-for-wordpress');
|
175 |
-
} else {
|
176 |
-
$scoret = $scoret + 15;
|
177 |
-
}
|
178 |
-
|
179 |
-
if ( $result->common_words_per < 0.2 ) {
|
180 |
-
$result->word_balance_use[] = __('common', 'google-analytics-for-wordpress');
|
181 |
-
} else {
|
182 |
-
$scoret = $scoret + 11;
|
183 |
-
}
|
184 |
-
|
185 |
-
if ( $result->uncommon_words_per < 0.1 ) {
|
186 |
-
$result->word_balance_use[] = __('uncommon', 'google-analytics-for-wordpress');
|
187 |
-
} else
|
188 |
-
$scoret = $scoret + 15;
|
189 |
-
|
190 |
-
if ( count( $result->power_words ) < 1 ) {
|
191 |
-
$result->word_balance_use[] = __('power', 'google-analytics-for-wordpress');
|
192 |
-
} else {
|
193 |
-
$scoret = $scoret + 19;
|
194 |
-
}
|
195 |
-
|
196 |
-
if (
|
197 |
-
$result->emotion_words_per >= 0.1 &&
|
198 |
-
$result->common_words_per >= 0.2 &&
|
199 |
-
$result->uncommon_words_per >= 0.1 &&
|
200 |
-
count( $result->power_words ) >= 1 ) {
|
201 |
-
$result->word_balance = __('Perfect', 'google-analytics-for-wordpress');
|
202 |
-
$scoret = $scoret + 3;
|
203 |
-
}
|
204 |
-
|
205 |
-
// Sentiment analysis also look - https://github.com/yooper/php-text-analysis
|
206 |
-
|
207 |
-
// Emotion of the headline - sentiment analysis
|
208 |
-
// Credits - https://github.com/JWHennessey/phpInsight/
|
209 |
-
require_once MONSTERINSIGHTS_HEADLINE_TOOL_DIR_PATH . '/phpinsight/autoload.php';
|
210 |
-
$sentiment = new \PHPInsight\Sentiment();
|
211 |
-
$class_senti = $sentiment->categorise( $input );
|
212 |
-
$result->sentiment = $class_senti;
|
213 |
-
|
214 |
-
$scoret = $scoret + ( $result->sentiment
|
215 |
-
|
216 |
-
// Headline types
|
217 |
-
$headline_types = array();
|
218 |
-
|
219 |
-
// HDL type: how to, how-to, howto
|
220 |
-
if ( strpos( $input, __('how to', 'google-analytics-for-wordpress') ) !== false || strpos( $input, __('howto', 'google-analytics-for-wordpress') ) !== false ) {
|
221 |
-
$headline_types[] = __('How-To', 'google-analytics-for-wordpress');
|
222 |
-
$scoret = $scoret + 7;
|
223 |
-
}
|
224 |
-
|
225 |
-
// HDL type: numbers - numeric and alpha
|
226 |
-
$num_quantifiers = array(
|
227 |
-
__('one', 'google-analytics-for-wordpress'),
|
228 |
-
__('two', 'google-analytics-for-wordpress'),
|
229 |
-
__('three', 'google-analytics-for-wordpress'),
|
230 |
-
__('four', 'google-analytics-for-wordpress'),
|
231 |
-
__('five', 'google-analytics-for-wordpress'),
|
232 |
-
__('six', 'google-analytics-for-wordpress'),
|
233 |
-
__('seven', 'google-analytics-for-wordpress'),
|
234 |
-
__('eight', 'google-analytics-for-wordpress'),
|
235 |
-
__('nine', 'google-analytics-for-wordpress'),
|
236 |
-
__('eleven', 'google-analytics-for-wordpress'),
|
237 |
-
__('twelve', 'google-analytics-for-wordpress'),
|
238 |
-
__('thirt', 'google-analytics-for-wordpress'),
|
239 |
-
__('fift', 'google-analytics-for-wordpress'),
|
240 |
-
__('hundred', 'google-analytics-for-wordpress'),
|
241 |
-
__('thousand', 'google-analytics-for-wordpress'),
|
242 |
-
);
|
243 |
-
|
244 |
-
$list_words = array_intersect( $input_array, $num_quantifiers );
|
245 |
-
if ( preg_match( '~[0-9]+~', $input ) || ! empty ( $list_words ) ) {
|
246 |
-
$headline_types[] = __('List', 'google-analytics-for-wordpress');
|
247 |
-
$scoret = $scoret + 7;
|
248 |
-
}
|
249 |
-
|
250 |
-
// HDL type: Question
|
251 |
-
$qn_quantifiers = array(
|
252 |
-
__('where', 'google-analytics-for-wordpress'),
|
253 |
-
__('when', 'google-analytics-for-wordpress'),
|
254 |
-
__('how', 'google-analytics-for-wordpress'),
|
255 |
-
__('what', 'google-analytics-for-wordpress'),
|
256 |
-
__('have', 'google-analytics-for-wordpress'),
|
257 |
-
__('has', 'google-analytics-for-wordpress'),
|
258 |
-
__('does', 'google-analytics-for-wordpress'),
|
259 |
-
__('do', 'google-analytics-for-wordpress'),
|
260 |
-
__('can', 'google-analytics-for-wordpress'),
|
261 |
-
__('are', 'google-analytics-for-wordpress'),
|
262 |
-
__('will', 'google-analytics-for-wordpress'),
|
263 |
-
);
|
264 |
-
$qn_quantifiers_sub = array(
|
265 |
-
__('you', 'google-analytics-for-wordpress'),
|
266 |
-
__('they', 'google-analytics-for-wordpress'),
|
267 |
-
__('he', 'google-analytics-for-wordpress'),
|
268 |
-
__('she', 'google-analytics-for-wordpress'),
|
269 |
-
__('your', 'google-analytics-for-wordpress'),
|
270 |
-
__('it', 'google-analytics-for-wordpress'),
|
271 |
-
__('they', 'google-analytics-for-wordpress'),
|
272 |
-
__('my', 'google-analytics-for-wordpress'),
|
273 |
-
__('have', 'google-analytics-for-wordpress'),
|
274 |
-
__('has', 'google-analytics-for-wordpress'),
|
275 |
-
__('does', 'google-analytics-for-wordpress'),
|
276 |
-
__('do', 'google-analytics-for-wordpress'),
|
277 |
-
__('can', 'google-analytics-for-wordpress'),
|
278 |
-
__('are', 'google-analytics-for-wordpress'),
|
279 |
-
__('will', 'google-analytics-for-wordpress'),
|
280 |
-
);
|
281 |
-
if ( in_array( $input_array[0], $qn_quantifiers ) ) {
|
282 |
-
if ( in_array( $input_array[1], $qn_quantifiers_sub ) ) {
|
283 |
-
$headline_types[] = __('Question', 'google-analytics-for-wordpress');
|
284 |
-
$scoret = $scoret + 7;
|
285 |
-
}
|
286 |
-
}
|
287 |
-
|
288 |
-
// General headline type
|
289 |
-
if ( empty( $headline_types ) ) {
|
290 |
-
$headline_types[] = __('General', 'google-analytics-for-wordpress');
|
291 |
-
$scoret = $scoret + 5;
|
292 |
-
}
|
293 |
-
|
294 |
-
// put to result
|
295 |
-
$result->headline_types = $headline_types;
|
296 |
-
|
297 |
-
// Resources for more reading:
|
298 |
-
// https://kopywritingkourse.com/copywriting-headlines-that-sell/
|
299 |
-
// How To _______ That Will Help You ______
|
300 |
-
// https://coschedule.com/blog/how-to-write-the-best-headlines-that-will-increase-traffic/
|
301 |
-
|
302 |
-
$result->score = $scoret >= 93 ? 93 : $scoret;
|
303 |
-
|
304 |
-
return $result;
|
305 |
-
}
|
306 |
-
|
307 |
-
/**
|
308 |
-
* Output template contents
|
309 |
-
* @param $template String template file name
|
310 |
-
* @return String template content
|
311 |
-
*/
|
312 |
-
static function output_template( $template, $result = '', $theme = '' ) {
|
313 |
-
ob_start();
|
314 |
-
require MONSTERINSIGHTS_HEADLINE_TOOL_DIR_PATH . '' . $template;
|
315 |
-
$tmp = ob_get_contents();
|
316 |
-
ob_end_clean();
|
317 |
-
return $tmp;
|
318 |
-
}
|
319 |
-
|
320 |
-
/**
|
321 |
-
* Get User IP
|
322 |
-
*
|
323 |
-
* Returns the IP address of the current visitor
|
324 |
-
* @see https://github.com/easydigitaldownloads/easy-digital-downloads/blob/904db487f6c07a3a46903202d31d4e8ea2b30808/includes/misc-functions.php#L163
|
325 |
-
* @return string $ip User's IP address
|
326 |
-
*/
|
327 |
-
static function get_ip() {
|
328 |
-
|
329 |
-
$ip = '127.0.0.1';
|
330 |
-
|
331 |
-
if ( ! empty( $_SERVER['HTTP_CLIENT_IP'] ) ) {
|
332 |
-
//check ip from share internet
|
333 |
-
$ip = $_SERVER['HTTP_CLIENT_IP'];
|
334 |
-
} elseif ( ! empty( $_SERVER['HTTP_X_FORWARDED_FOR'] ) ) {
|
335 |
-
//to check ip is pass from proxy
|
336 |
-
$ip = $_SERVER['HTTP_X_FORWARDED_FOR'];
|
337 |
-
} elseif( ! empty( $_SERVER['REMOTE_ADDR'] ) ) {
|
338 |
-
$ip = $_SERVER['REMOTE_ADDR'];
|
339 |
-
}
|
340 |
-
|
341 |
-
// Fix potential CSV returned from $_SERVER variables
|
342 |
-
$ip_array = explode( ',', $ip );
|
343 |
-
$ip_array = array_map( 'trim', $ip_array );
|
344 |
-
|
345 |
-
return $ip_array[0];
|
346 |
-
}
|
347 |
-
|
348 |
-
/**
|
349 |
-
* Emotional power words
|
350 |
-
*
|
351 |
-
* @return array emotional power words
|
352 |
-
*/
|
353 |
-
function emotion_power_words() {
|
354 |
-
if ( isset( $this->emotion_power_words ) && ! empty( $this->emotion_power_words ) ) {
|
355 |
-
return $this->emotion_power_words;
|
356 |
-
}
|
357 |
-
|
358 |
-
$this->emotion_power_words = array(
|
359 |
-
__("destroy", "google-analytics-for-wordpress"),
|
360 |
-
__("extra", "google-analytics-for-wordpress"),
|
361 |
-
__("in a", "google-analytics-for-wordpress"),
|
362 |
-
__("devastating", "google-analytics-for-wordpress"),
|
363 |
-
__("eye-opening", "google-analytics-for-wordpress"),
|
364 |
-
__("gift", "google-analytics-for-wordpress"),
|
365 |
-
__("in the world", "google-analytics-for-wordpress"),
|
366 |
-
__("devoted", "google-analytics-for-wordpress"),
|
367 |
-
__("fail", "google-analytics-for-wordpress"),
|
368 |
-
__("in the", "google-analytics-for-wordpress"),
|
369 |
-
__("faith", "google-analytics-for-wordpress"),
|
370 |
-
__("grateful", "google-analytics-for-wordpress"),
|
371 |
-
__("inexpensive", "google-analytics-for-wordpress"),
|
372 |
-
__("dirty", "google-analytics-for-wordpress"),
|
373 |
-
__("famous", "google-analytics-for-wordpress"),
|
374 |
-
__("disastrous", "google-analytics-for-wordpress"),
|
375 |
-
__("fantastic", "google-analytics-for-wordpress"),
|
376 |
-
__("greed", "google-analytics-for-wordpress"),
|
377 |
-
__("grit", "google-analytics-for-wordpress"),
|
378 |
-
__("insanely", "google-analytics-for-wordpress"),
|
379 |
-
__("disgusting", "google-analytics-for-wordpress"),
|
380 |
-
__("fearless", "google-analytics-for-wordpress"),
|
381 |
-
__("disinformation", "google-analytics-for-wordpress"),
|
382 |
-
__("feast", "google-analytics-for-wordpress"),
|
383 |
-
__("insidious", "google-analytics-for-wordpress"),
|
384 |
-
__("dollar", "google-analytics-for-wordpress"),
|
385 |
-
__("feeble", "google-analytics-for-wordpress"),
|
386 |
-
__("gullible", "google-analytics-for-wordpress"),
|
387 |
-
__("double", "google-analytics-for-wordpress"),
|
388 |
-
__("
|
389 |
-
__("hack", "google-analytics-for-wordpress"),
|
390 |
-
__("
|
391 |
-
__("had enough", "google-analytics-for-wordpress"),
|
392 |
-
__("invasion", "google-analytics-for-wordpress"),
|
393 |
-
__("drowning", "google-analytics-for-wordpress"),
|
394 |
-
__("
|
395 |
-
__("happy", "google-analytics-for-wordpress"),
|
396 |
-
__("ironclad", "google-analytics-for-wordpress"),
|
397 |
-
__("dumb", "google-analytics-for-wordpress"),
|
398 |
-
__("
|
399 |
-
__("hate", "google-analytics-for-wordpress"),
|
400 |
-
__("irresistibly", "google-analytics-for-wordpress"),
|
401 |
-
__("hazardous", "google-analytics-for-wordpress"),
|
402 |
-
__("is the", "google-analytics-for-wordpress"),
|
403 |
-
__("fool", "google-analytics-for-wordpress"),
|
404 |
-
__("is what happens when", "google-analytics-for-wordpress"),
|
405 |
-
__("fooled", "google-analytics-for-wordpress"),
|
406 |
-
__("helpless", "google-analytics-for-wordpress"),
|
407 |
-
__("it looks like a", "google-analytics-for-wordpress"),
|
408 |
-
__("embarrass", "google-analytics-for-wordpress"),
|
409 |
-
__("for the
|
410 |
-
__("help are the", "google-analytics-for-wordpress"),
|
411 |
-
__("jackpot", "google-analytics-for-wordpress"),
|
412 |
-
__("forbidden", "google-analytics-for-wordpress"),
|
413 |
-
__("hidden", "google-analytics-for-wordpress"),
|
414 |
-
__("jail", "google-analytics-for-wordpress"),
|
415 |
-
__("empower", "google-analytics-for-wordpress"),
|
416 |
-
__("force-fed", "google-analytics-for-wordpress"),
|
417 |
-
__("high", "google-analytics-for-wordpress"),
|
418 |
-
__("jaw-dropping", "google-analytics-for-wordpress"),
|
419 |
-
__("forgotten", "google-analytics-for-wordpress"),
|
420 |
-
__("jeopardy", "google-analytics-for-wordpress"),
|
421 |
-
__("energize", "google-analytics-for-wordpress"),
|
422 |
-
__("hoax", "google-analytics-for-wordpress"),
|
423 |
-
__("jubilant", "google-analytics-for-wordpress"),
|
424 |
-
__("foul", "google-analytics-for-wordpress"),
|
425 |
-
__("hope", "google-analytics-for-wordpress"),
|
426 |
-
__("killer", "google-analytics-for-wordpress"),
|
427 |
-
__("frantic", "google-analytics-for-wordpress"),
|
428 |
-
__("
|
429 |
-
__("know it all", "google-analytics-for-wordpress"),
|
430 |
-
__("epic", "google-analytics-for-wordpress"),
|
431 |
-
__("how to make", "google-analytics-for-wordpress"),
|
432 |
-
__("evil", "google-analytics-for-wordpress"),
|
433 |
-
__("freebie", "google-analytics-for-wordpress"),
|
434 |
-
__("frenzy", "google-analytics-for-wordpress"),
|
435 |
-
__("hurricane", "google-analytics-for-wordpress"),
|
436 |
-
__("excited", "google-analytics-for-wordpress"),
|
437 |
-
__("fresh on the mind", "google-analytics-for-wordpress"),
|
438 |
-
__("frightening", "google-analytics-for-wordpress"),
|
439 |
-
__("hypnotic", "google-analytics-for-wordpress"),
|
440 |
-
__("lawsuit", "google-analytics-for-wordpress"),
|
441 |
-
__("frugal", "google-analytics-for-wordpress"),
|
442 |
-
__("illegal", "google-analytics-for-wordpress"),
|
443 |
-
__("
|
444 |
-
__("lick", "google-analytics-for-wordpress"),
|
445 |
-
__("explode", "google-analytics-for-wordpress"),
|
446 |
-
__("lies", "google-analytics-for-wordpress"),
|
447 |
-
__("exposed", "google-analytics-for-wordpress"),
|
448 |
-
__("gambling", "google-analytics-for-wordpress"),
|
449 |
-
__("like a normal", "google-analytics-for-wordpress"),
|
450 |
-
__("nightmare", "google-analytics-for-wordpress"),
|
451 |
-
__("results", "google-analytics-for-wordpress"),
|
452 |
-
__("line", "google-analytics-for-wordpress"),
|
453 |
-
__("no good", "google-analytics-for-wordpress"),
|
454 |
-
__("pound", "google-analytics-for-wordpress"),
|
455 |
-
__("loathsome", "google-analytics-for-wordpress"),
|
456 |
-
__("no questions asked", "google-analytics-for-wordpress"),
|
457 |
-
__("revenge", "google-analytics-for-wordpress"),
|
458 |
-
__("lonely", "google-analytics-for-wordpress"),
|
459 |
-
__("looks like a", "google-analytics-for-wordpress"),
|
460 |
-
__("obnoxious", "google-analytics-for-wordpress"),
|
461 |
-
__("preposterous", "google-analytics-for-wordpress"),
|
462 |
-
__("revolting", "google-analytics-for-wordpress"),
|
463 |
-
__("looming", "google-analytics-for-wordpress"),
|
464 |
-
__("priced", "google-analytics-for-wordpress"),
|
465 |
-
__("lost", "google-analytics-for-wordpress"),
|
466 |
-
__("prison", "google-analytics-for-wordpress"),
|
467 |
-
__("lowest", "google-analytics-for-wordpress"),
|
468 |
-
__("of the", "google-analytics-for-wordpress"),
|
469 |
-
__("privacy", "google-analytics-for-wordpress"),
|
470 |
-
__("rich", "google-analytics-for-wordpress"),
|
471 |
-
__("lunatic", "google-analytics-for-wordpress"),
|
472 |
-
__("off-limits", "google-analytics-for-wordpress"),
|
473 |
-
__("private", "google-analytics-for-wordpress"),
|
474 |
-
__("risky", "google-analytics-for-wordpress"),
|
475 |
-
__("lurking", "google-analytics-for-wordpress"),
|
476 |
-
__("offer", "google-analytics-for-wordpress"),
|
477 |
-
__("prize", "google-analytics-for-wordpress"),
|
478 |
-
__("ruthless", "google-analytics-for-wordpress"),
|
479 |
-
__("lust", "google-analytics-for-wordpress"),
|
480 |
-
__("official", "google-analytics-for-wordpress"),
|
481 |
-
__("luxurious", "google-analytics-for-wordpress"),
|
482 |
-
__("on the", "google-analytics-for-wordpress"),
|
483 |
-
__("
|
484 |
-
__("scary", "google-analytics-for-wordpress"),
|
485 |
-
__("lying", "google-analytics-for-wordpress"),
|
486 |
-
__("outlawed", "google-analytics-for-wordpress"),
|
487 |
-
__("protected", "google-analytics-for-wordpress"),
|
488 |
-
__("scream", "google-analytics-for-wordpress"),
|
489 |
-
__("searing", "google-analytics-for-wordpress"),
|
490 |
-
__("overcome", "google-analytics-for-wordpress"),
|
491 |
-
__("provocative", "google-analytics-for-wordpress"),
|
492 |
-
__("make you", "google-analytics-for-wordpress"),
|
493 |
-
__("painful", "google-analytics-for-wordpress"),
|
494 |
-
__("pummel", "google-analytics-for-wordpress"),
|
495 |
-
__("secure", "google-analytics-for-wordpress"),
|
496 |
-
__("pale", "google-analytics-for-wordpress"),
|
497 |
-
__("punish", "google-analytics-for-wordpress"),
|
498 |
-
__("marked down", "google-analytics-for-wordpress"),
|
499 |
-
__("panic", "google-analytics-for-wordpress"),
|
500 |
-
__("quadruple", "google-analytics-for-wordpress"),
|
501 |
-
__("secutively", "google-analytics-for-wordpress"),
|
502 |
-
__("massive", "google-analytics-for-wordpress"),
|
503 |
-
__("pay zero", "google-analytics-for-wordpress"),
|
504 |
-
__("seize", "google-analytics-for-wordpress"),
|
505 |
-
__("meltdown", "google-analytics-for-wordpress"),
|
506 |
-
__("payback", "google-analytics-for-wordpress"),
|
507 |
-
__("might look like a", "google-analytics-for-wordpress"),
|
508 |
-
__("peril", "google-analytics-for-wordpress"),
|
509 |
-
__("mind-blowing", "google-analytics-for-wordpress"),
|
510 |
-
__("shameless", "google-analytics-for-wordpress"),
|
511 |
-
__("minute", "google-analytics-for-wordpress"),
|
512 |
-
__("rave", "google-analytics-for-wordpress"),
|
513 |
-
__("shatter", "google-analytics-for-wordpress"),
|
514 |
-
__("piranha", "google-analytics-for-wordpress"),
|
515 |
-
__("reckoning", "google-analytics-for-wordpress"),
|
516 |
-
__("shellacking", "google-analytics-for-wordpress"),
|
517 |
-
__("mired", "google-analytics-for-wordpress"),
|
518 |
-
__("pitfall", "google-analytics-for-wordpress"),
|
519 |
-
__("reclaim", "google-analytics-for-wordpress"),
|
520 |
-
__("mistakes", "google-analytics-for-wordpress"),
|
521 |
-
__("plague", "google-analytics-for-wordpress"),
|
522 |
-
__("sick and tired", "google-analytics-for-wordpress"),
|
523 |
-
__("money", "google-analytics-for-wordpress"),
|
524 |
-
__("played", "google-analytics-for-wordpress"),
|
525 |
-
__("refugee", "google-analytics-for-wordpress"),
|
526 |
-
__("silly", "google-analytics-for-wordpress"),
|
527 |
-
__("money-grubbing", "google-analytics-for-wordpress"),
|
528 |
-
__("pluck", "google-analytics-for-wordpress"),
|
529 |
-
__("refund", "google-analytics-for-wordpress"),
|
530 |
-
__("moneyback", "google-analytics-for-wordpress"),
|
531 |
-
__("plummet", "google-analytics-for-wordpress"),
|
532 |
-
__("plunge", "google-analytics-for-wordpress"),
|
533 |
-
__("murder", "google-analytics-for-wordpress"),
|
534 |
-
__("pointless", "google-analytics-for-wordpress"),
|
535 |
-
__("sinful", "google-analytics-for-wordpress"),
|
536 |
-
__("myths", "google-analytics-for-wordpress"),
|
537 |
-
__("poor", "google-analytics-for-wordpress"),
|
538 |
-
__("remarkably", "google-analytics-for-wordpress"),
|
539 |
-
__("six
|
540 |
-
__("never again", "google-analytics-for-wordpress"),
|
541 |
-
__("research", "google-analytics-for-wordpress"),
|
542 |
-
__("surrender", "google-analytics-for-wordpress"),
|
543 |
-
__("to the", "google-analytics-for-wordpress"),
|
544 |
-
__("varify", "google-analytics-for-wordpress"),
|
545 |
-
__("skyrocket", "google-analytics-for-wordpress"),
|
546 |
-
__("toxic", "google-analytics-for-wordpress"),
|
547 |
-
__("vibrant", "google-analytics-for-wordpress"),
|
548 |
-
__("slaughter", "google-analytics-for-wordpress"),
|
549 |
-
__("swindle", "google-analytics-for-wordpress"),
|
550 |
-
__("trap", "google-analytics-for-wordpress"),
|
551 |
-
__("victim", "google-analytics-for-wordpress"),
|
552 |
-
__("sleazy", "google-analytics-for-wordpress"),
|
553 |
-
__("taboo", "google-analytics-for-wordpress"),
|
554 |
-
__("treasure", "google-analytics-for-wordpress"),
|
555 |
-
__("victory", "google-analytics-for-wordpress"),
|
556 |
-
__("smash", "google-analytics-for-wordpress"),
|
557 |
-
__("tailspin", "google-analytics-for-wordpress"),
|
558 |
-
__("vindication", "google-analytics-for-wordpress"),
|
559 |
-
__("smug", "google-analytics-for-wordpress"),
|
560 |
-
__("tank", "google-analytics-for-wordpress"),
|
561 |
-
__("triple", "google-analytics-for-wordpress"),
|
562 |
-
__("viral", "google-analytics-for-wordpress"),
|
563 |
-
__("smuggled", "google-analytics-for-wordpress"),
|
564 |
-
__("tantalizing", "google-analytics-for-wordpress"),
|
565 |
-
__("triumph", "google-analytics-for-wordpress"),
|
566 |
-
__("volatile", "google-analytics-for-wordpress"),
|
567 |
-
__("sniveling", "google-analytics-for-wordpress"),
|
568 |
-
__("targeted", "google-analytics-for-wordpress"),
|
569 |
-
__("truth", "google-analytics-for-wordpress"),
|
570 |
-
__("vulnerable", "google-analytics-for-wordpress"),
|
571 |
-
__("snob", "google-analytics-for-wordpress"),
|
572 |
-
__("tawdry", "google-analytics-for-wordpress"),
|
573 |
-
__("try before you buy", "google-analytics-for-wordpress"),
|
574 |
-
__("tech", "google-analytics-for-wordpress"),
|
575 |
-
__("turn the tables", "google-analytics-for-wordpress"),
|
576 |
-
__("wanton", "google-analytics-for-wordpress"),
|
577 |
-
__("soaring", "google-analytics-for-wordpress"),
|
578 |
-
__("warning", "google-analytics-for-wordpress"),
|
579 |
-
__("teetering", "google-analytics-for-wordpress"),
|
580 |
-
__("unauthorized", "google-analytics-for-wordpress"),
|
581 |
-
__("spectacular", "google-analytics-for-wordpress"),
|
582 |
-
__("temporary
|
583 |
-
__("unbelievably", "google-analytics-for-wordpress"),
|
584 |
-
__("spine", "google-analytics-for-wordpress"),
|
585 |
-
__("tempting", "google-analytics-for-wordpress"),
|
586 |
-
__("uncommonly", "google-analytics-for-wordpress"),
|
587 |
-
__("what happened", "google-analytics-for-wordpress"),
|
588 |
-
__("spirit", "google-analytics-for-wordpress"),
|
589 |
-
__("what happens when", "google-analytics-for-wordpress"),
|
590 |
-
__("terror", "google-analytics-for-wordpress"),
|
591 |
-
__("under", "google-analytics-for-wordpress"),
|
592 |
-
__("what happens", "google-analytics-for-wordpress"),
|
593 |
-
__("staggering", "google-analytics-for-wordpress"),
|
594 |
-
__("underhanded", "google-analytics-for-wordpress"),
|
595 |
-
__("what this", "google-analytics-for-wordpress"),
|
596 |
-
__("that will make you", "google-analytics-for-wordpress"),
|
597 |
-
__("undo","when you see", "google-analytics-for-wordpress"),
|
598 |
-
__("that will make", "google-analytics-for-wordpress"),
|
599 |
-
__("unexpected", "google-analytics-for-wordpress"),
|
600 |
-
__("when you", "google-analytics-for-wordpress"),
|
601 |
-
__("strangle", "google-analytics-for-wordpress"),
|
602 |
-
__("that will", "google-analytics-for-wordpress"),
|
603 |
-
__("whip", "google-analytics-for-wordpress"),
|
604 |
-
__("the best", "google-analytics-for-wordpress"),
|
605 |
-
__("whopping", "google-analytics-for-wordpress"),
|
606 |
-
__("stuck up", "google-analytics-for-wordpress"),
|
607 |
-
__("the ranking of", "google-analytics-for-wordpress"),
|
608 |
-
__("wicked", "google-analytics-for-wordpress"),
|
609 |
-
__("stunning", "google-analytics-for-wordpress"),
|
610 |
-
__("the most", "google-analytics-for-wordpress"),
|
611 |
-
__("will make you", "google-analytics-for-wordpress"),
|
612 |
-
__("stupid", "google-analytics-for-wordpress"),
|
613 |
-
__("the reason why is", "google-analytics-for-wordpress"),
|
614 |
-
__("unscrupulous", "google-analytics-for-wordpress"),
|
615 |
-
__("thing ive ever seen", "google-analytics-for-wordpress"),
|
616 |
-
__("withheld", "google-analytics-for-wordpress"),
|
617 |
-
__("this is the", "google-analytics-for-wordpress"),
|
618 |
-
__("this is what happens", "google-analytics-for-wordpress"),
|
619 |
-
__("unusually", "google-analytics-for-wordpress"),
|
620 |
-
__("wondrous", "google-analytics-for-wordpress"),
|
621 |
-
__("this is what", "google-analytics-for-wordpress"),
|
622 |
-
__("uplifting", "google-analytics-for-wordpress"),
|
623 |
-
__("worry", "google-analytics-for-wordpress"),
|
624 |
-
__("sure", "google-analytics-for-wordpress"),
|
625 |
-
__("this is", "google-analytics-for-wordpress"),
|
626 |
-
__("wounded", "google-analytics-for-wordpress"),
|
627 |
-
__("surge", "google-analytics-for-wordpress"),
|
628 |
-
__("thrilled", "google-analytics-for-wordpress"),
|
629 |
-
__("you need to know", "google-analytics-for-wordpress"),
|
630 |
-
__("thrilling", "google-analytics-for-wordpress"),
|
631 |
-
__("valor", "google-analytics-for-wordpress"),
|
632 |
-
__("you need to", "google-analytics-for-wordpress"),
|
633 |
-
__("you see what", "google-analytics-for-wordpress"),
|
634 |
-
__("surprising", "google-analytics-for-wordpress"),
|
635 |
-
__("tired", "google-analytics-for-wordpress"),
|
636 |
-
__("you see", "google-analytics-for-wordpress"),
|
637 |
-
__("surprisingly", "google-analytics-for-wordpress"),
|
638 |
-
__("to be", "google-analytics-for-wordpress"),
|
639 |
-
__("vaporize", "google-analytics-for-wordpress"),
|
640 |
-
);
|
641 |
-
|
642 |
-
return $this->emotion_power_words;
|
643 |
-
}
|
644 |
-
|
645 |
-
/**
|
646 |
-
* Power words
|
647 |
-
*
|
648 |
-
* @return array power words
|
649 |
-
*/
|
650 |
-
function power_words() {
|
651 |
-
if ( isset( $this->power_words ) && ! empty( $this->power_words ) ) {
|
652 |
-
return $this->power_words;
|
653 |
-
}
|
654 |
-
|
655 |
-
$this->power_words = array(
|
656 |
-
__("great", "google-analytics-for-wordpress"),
|
657 |
-
__("free", "google-analytics-for-wordpress"),
|
658 |
-
__("focus", "google-analytics-for-wordpress"),
|
659 |
-
__("remarkable", "google-analytics-for-wordpress"),
|
660 |
-
__("
|
661 |
-
__("sale", "google-analytics-for-wordpress"),
|
662 |
-
__("wanted", "google-analytics-for-wordpress"),
|
663 |
-
__("obsession", "google-analytics-for-wordpress"),
|
664 |
-
__("sizable", "google-analytics-for-wordpress"),
|
665 |
-
__("new", "google-analytics-for-wordpress"),
|
666 |
-
__("absolutely lowest", "google-analytics-for-wordpress"),
|
667 |
-
__("surging", "google-analytics-for-wordpress"),
|
668 |
-
__("wonderful", "google-analytics-for-wordpress"),
|
669 |
-
__("professional", "google-analytics-for-wordpress"),
|
670 |
-
__("interesting", "google-analytics-for-wordpress"),
|
671 |
-
__("revisited", "google-analytics-for-wordpress"),
|
672 |
-
__("delivered", "google-analytics-for-wordpress"),
|
673 |
-
__("guaranteed", "google-analytics-for-wordpress"),
|
674 |
-
__("challenge", "google-analytics-for-wordpress"),
|
675 |
-
__("unique", "google-analytics-for-wordpress"),
|
676 |
-
__("secrets", "google-analytics-for-wordpress"),
|
677 |
-
__("special", "google-analytics-for-wordpress"),
|
678 |
-
__("lifetime", "google-analytics-for-wordpress"),
|
679 |
-
__("bargain", "google-analytics-for-wordpress"),
|
680 |
-
__("scarce", "google-analytics-for-wordpress"),
|
681 |
-
__("tested", "google-analytics-for-wordpress"),
|
682 |
-
__("highest", "google-analytics-for-wordpress"),
|
683 |
-
__("hurry", "google-analytics-for-wordpress"),
|
684 |
-
__("alert famous", "google-analytics-for-wordpress"),
|
685 |
-
__("improved", "google-analytics-for-wordpress"),
|
686 |
-
__("expert", "google-analytics-for-wordpress"),
|
687 |
-
__("daring", "google-analytics-for-wordpress"),
|
688 |
-
__("strong", "google-analytics-for-wordpress"),
|
689 |
-
__("immediately", "google-analytics-for-wordpress"),
|
690 |
-
__("advice", "google-analytics-for-wordpress"),
|
691 |
-
__("pioneering", "google-analytics-for-wordpress"),
|
692 |
-
__("unusual", "google-analytics-for-wordpress"),
|
693 |
-
__("limited", "google-analytics-for-wordpress"),
|
694 |
-
__("the truth about", "google-analytics-for-wordpress"),
|
695 |
-
__("destiny", "google-analytics-for-wordpress"),
|
696 |
-
__("outstanding", "google-analytics-for-wordpress"),
|
697 |
-
__("simplistic", "google-analytics-for-wordpress"),
|
698 |
-
__("compare", "google-analytics-for-wordpress"),
|
699 |
-
__("unsurpassed", "google-analytics-for-wordpress"),
|
700 |
-
__("energy", "google-analytics-for-wordpress"),
|
701 |
-
__("powerful", "google-analytics-for-wordpress"),
|
702 |
-
__("colorful", "google-analytics-for-wordpress"),
|
703 |
-
__("genuine", "google-analytics-for-wordpress"),
|
704 |
-
__("instructive", "google-analytics-for-wordpress"),
|
705 |
-
__("big", "google-analytics-for-wordpress"),
|
706 |
-
__("affordable", "google-analytics-for-wordpress"),
|
707 |
-
__("informative", "google-analytics-for-wordpress"),
|
708 |
-
__("liberal", "google-analytics-for-wordpress"),
|
709 |
-
__("popular", "google-analytics-for-wordpress"),
|
710 |
-
__("ultimate", "google-analytics-for-wordpress"),
|
711 |
-
__("mainstream", "google-analytics-for-wordpress"),
|
712 |
-
__("rare", "google-analytics-for-wordpress"),
|
713 |
-
__("exclusive", "google-analytics-for-wordpress"),
|
714 |
-
__("willpower", "google-analytics-for-wordpress"),
|
715 |
-
__("complete", "google-analytics-for-wordpress"),
|
716 |
-
__("edge", "google-analytics-for-wordpress"),
|
717 |
-
__("valuable", "google-analytics-for-wordpress"),
|
718 |
-
__("attractive", "google-analytics-for-wordpress"),
|
719 |
-
__("last chance", "google-analytics-for-wordpress"),
|
720 |
-
__("superior", "google-analytics-for-wordpress"),
|
721 |
-
__("how to", "google-analytics-for-wordpress"),
|
722 |
-
__("easily", "google-analytics-for-wordpress"),
|
723 |
-
__("exploit", "google-analytics-for-wordpress"),
|
724 |
-
__("unparalleled", "google-analytics-for-wordpress"),
|
725 |
-
__("endorsed", "google-analytics-for-wordpress"),
|
726 |
-
__("approved", "google-analytics-for-wordpress"),
|
727 |
-
__("quality", "google-analytics-for-wordpress"),
|
728 |
-
__("fascinating", "google-analytics-for-wordpress"),
|
729 |
-
__("unlimited", "google-analytics-for-wordpress"),
|
730 |
-
__("competitive", "google-analytics-for-wordpress"),
|
731 |
-
__("gigantic", "google-analytics-for-wordpress"),
|
732 |
-
__("compromise", "google-analytics-for-wordpress"),
|
733 |
-
__("discount", "google-analytics-for-wordpress"),
|
734 |
-
__("full", "google-analytics-for-wordpress"),
|
735 |
-
__("love", "google-analytics-for-wordpress"),
|
736 |
-
__("odd", "google-analytics-for-wordpress"),
|
737 |
-
__("fundamentals", "google-analytics-for-wordpress"),
|
738 |
-
__("mammoth", "google-analytics-for-wordpress"),
|
739 |
-
__("lavishly", "google-analytics-for-wordpress"),
|
740 |
-
__("bottom line", "google-analytics-for-wordpress"),
|
741 |
-
__("under priced", "google-analytics-for-wordpress"),
|
742 |
-
__("innovative", "google-analytics-for-wordpress"),
|
743 |
-
__("reliable", "google-analytics-for-wordpress"),
|
744 |
-
__("zinger", "google-analytics-for-wordpress"),
|
745 |
-
__("suddenly", "google-analytics-for-wordpress"),
|
746 |
-
__("it's here", "google-analytics-for-wordpress"),
|
747 |
-
__("
|
748 |
-
__("
|
749 |
-
__("perspective", "google-analytics-for-wordpress"),
|
750 |
-
__("just arrived", "google-analytics-for-wordpress"),
|
751 |
-
__("breakthrough", "google-analytics-for-wordpress"),
|
752 |
-
__("tremendous", "google-analytics-for-wordpress"),
|
753 |
-
__("launching", "google-analytics-for-wordpress"),
|
754 |
-
__("sure
|
755 |
-
__("emerging", "google-analytics-for-wordpress"),
|
756 |
-
__("helpful", "google-analytics-for-wordpress"),
|
757 |
-
__("skill", "google-analytics-for-wordpress"),
|
758 |
-
__("soar", "google-analytics-for-wordpress"),
|
759 |
-
__("
|
760 |
-
__("special offer", "google-analytics-for-wordpress"),
|
761 |
-
__("reduced", "google-analytics-for-wordpress"),
|
762 |
-
__("beautiful", "google-analytics-for-wordpress"),
|
763 |
-
__("sampler", "google-analytics-for-wordpress"),
|
764 |
-
__("technology", "google-analytics-for-wordpress"),
|
765 |
-
__("better", "google-analytics-for-wordpress"),
|
766 |
-
__("crammed", "google-analytics-for-wordpress"),
|
767 |
-
__("noted", "google-analytics-for-wordpress"),
|
768 |
-
__("selected", "google-analytics-for-wordpress"),
|
769 |
-
__("shrewd", "google-analytics-for-wordpress"),
|
770 |
-
__("growth", "google-analytics-for-wordpress"),
|
771 |
-
__("luxury", "google-analytics-for-wordpress"),
|
772 |
-
__("sturdy", "google-analytics-for-wordpress"),
|
773 |
-
__("enormous", "google-analytics-for-wordpress"),
|
774 |
-
__("promising", "google-analytics-for-wordpress"),
|
775 |
-
__("unconditional", "google-analytics-for-wordpress"),
|
776 |
-
__("wealth", "google-analytics-for-wordpress"),
|
777 |
-
__("spotlight", "google-analytics-for-wordpress"),
|
778 |
-
__("astonishing", "google-analytics-for-wordpress"),
|
779 |
-
__("timely", "google-analytics-for-wordpress"),
|
780 |
-
__("successful", "google-analytics-for-wordpress"),
|
781 |
-
__("useful", "google-analytics-for-wordpress"),
|
782 |
-
__("imagination", "google-analytics-for-wordpress"),
|
783 |
-
__("bonanza", "google-analytics-for-wordpress"),
|
784 |
-
__("opportunities", "google-analytics-for-wordpress"),
|
785 |
-
__("survival", "google-analytics-for-wordpress"),
|
786 |
-
__("greatest", "google-analytics-for-wordpress"),
|
787 |
-
__("security", "google-analytics-for-wordpress"),
|
788 |
-
__("last minute", "google-analytics-for-wordpress"),
|
789 |
-
__("largest", "google-analytics-for-wordpress"),
|
790 |
-
__("high tech", "google-analytics-for-wordpress"),
|
791 |
-
__("refundable", "google-analytics-for-wordpress"),
|
792 |
-
__("monumental", "google-analytics-for-wordpress"),
|
793 |
-
__("colossal", "google-analytics-for-wordpress"),
|
794 |
-
__("latest", "google-analytics-for-wordpress"),
|
795 |
-
__("quickly", "google-analytics-for-wordpress"),
|
796 |
-
__("startling", "google-analytics-for-wordpress"),
|
797 |
-
__("now", "google-analytics-for-wordpress"),
|
798 |
-
__("important", "google-analytics-for-wordpress"),
|
799 |
-
__("revolutionary", "google-analytics-for-wordpress"),
|
800 |
-
__("quick", "google-analytics-for-wordpress"),
|
801 |
-
__("unlock", "google-analytics-for-wordpress"),
|
802 |
-
__("urgent", "google-analytics-for-wordpress"),
|
803 |
-
__("miracle", "google-analytics-for-wordpress"),
|
804 |
-
__("easy", "google-analytics-for-wordpress"),
|
805 |
-
__("fortune", "google-analytics-for-wordpress"),
|
806 |
-
__("amazing", "google-analytics-for-wordpress"),
|
807 |
-
__("magic", "google-analytics-for-wordpress"),
|
808 |
-
__("direct", "google-analytics-for-wordpress"),
|
809 |
-
__("authentic", "google-analytics-for-wordpress"),
|
810 |
-
__("exciting", "google-analytics-for-wordpress"),
|
811 |
-
__("proven", "google-analytics-for-wordpress"),
|
812 |
-
__("simple", "google-analytics-for-wordpress"),
|
813 |
-
__("announcing", "google-analytics-for-wordpress"),
|
814 |
-
__("portfolio", "google-analytics-for-wordpress"),
|
815 |
-
__("reward", "google-analytics-for-wordpress"),
|
816 |
-
__("strange", "google-analytics-for-wordpress"),
|
817 |
-
__("huge gift", "google-analytics-for-wordpress"),
|
818 |
-
__("revealing", "google-analytics-for-wordpress"),
|
819 |
-
__("weird", "google-analytics-for-wordpress"),
|
820 |
-
__("value", "google-analytics-for-wordpress"),
|
821 |
-
__("introducing", "google-analytics-for-wordpress"),
|
822 |
-
__("sensational", "google-analytics-for-wordpress"),
|
823 |
-
__("surprise", "google-analytics-for-wordpress"),
|
824 |
-
__("insider", "google-analytics-for-wordpress"),
|
825 |
-
__("practical", "google-analytics-for-wordpress"),
|
826 |
-
__("excellent", "google-analytics-for-wordpress"),
|
827 |
-
__("delighted", "google-analytics-for-wordpress"),
|
828 |
-
__("download", "google-analytics-for-wordpress"),
|
829 |
-
);
|
830 |
-
|
831 |
-
return $this->power_words;
|
832 |
-
}
|
833 |
-
|
834 |
-
/**
|
835 |
-
* Common words
|
836 |
-
*
|
837 |
-
* @return array common words
|
838 |
-
*/
|
839 |
-
function common_words() {
|
840 |
-
if ( isset( $this->common_words ) && ! empty( $this->common_words ) ) {
|
841 |
-
return $this->common_words;
|
842 |
-
}
|
843 |
-
|
844 |
-
$this->common_words = array(
|
845 |
-
__("a", "google-analytics-for-wordpress"),
|
846 |
-
__("for", "google-analytics-for-wordpress"),
|
847 |
-
__("about", "google-analytics-for-wordpress"),
|
848 |
-
__("from", "google-analytics-for-wordpress"),
|
849 |
-
__("after", "google-analytics-for-wordpress"),
|
850 |
-
__("get", "google-analytics-for-wordpress"),
|
851 |
-
__("all", "google-analytics-for-wordpress"),
|
852 |
-
__("has", "google-analytics-for-wordpress"),
|
853 |
-
__("an", "google-analytics-for-wordpress"),
|
854 |
-
__("have", "google-analytics-for-wordpress"),
|
855 |
-
__("and", "google-analytics-for-wordpress"),
|
856 |
-
__("he", "google-analytics-for-wordpress"),
|
857 |
-
__("are", "google-analytics-for-wordpress"),
|
858 |
-
__("her", "google-analytics-for-wordpress"),
|
859 |
-
__("as", "google-analytics-for-wordpress"),
|
860 |
-
__("his", "google-analytics-for-wordpress"),
|
861 |
-
__("at", "google-analytics-for-wordpress"),
|
862 |
-
__("how", "google-analytics-for-wordpress"),
|
863 |
-
__("be", "google-analytics-for-wordpress"),
|
864 |
-
__("I", "google-analytics-for-wordpress"),
|
865 |
-
__("but", "google-analytics-for-wordpress"),
|
866 |
-
__("if", "google-analytics-for-wordpress"),
|
867 |
-
__("by", "google-analytics-for-wordpress"),
|
868 |
-
__("in", "google-analytics-for-wordpress"),
|
869 |
-
__("can", "google-analytics-for-wordpress"),
|
870 |
-
__("is", "google-analytics-for-wordpress"),
|
871 |
-
__("did", "google-analytics-for-wordpress"),
|
872 |
-
__("it", "google-analytics-for-wordpress"),
|
873 |
-
__("do", "google-analytics-for-wordpress"),
|
874 |
-
__("just", "google-analytics-for-wordpress"),
|
875 |
-
__("ever", "google-analytics-for-wordpress"),
|
876 |
-
__("like", "google-analytics-for-wordpress"),
|
877 |
-
__("ll", "google-analytics-for-wordpress"),
|
878 |
-
__("these", "google-analytics-for-wordpress"),
|
879 |
-
__("me", "google-analytics-for-wordpress"),
|
880 |
-
__("they", "google-analytics-for-wordpress"),
|
881 |
-
__("most", "google-analytics-for-wordpress"),
|
882 |
-
__("things", "google-analytics-for-wordpress"),
|
883 |
-
__("my", "google-analytics-for-wordpress"),
|
884 |
-
__("this", "google-analytics-for-wordpress"),
|
885 |
-
__("no", "google-analytics-for-wordpress"),
|
886 |
-
__("to", "google-analytics-for-wordpress"),
|
887 |
-
__("not", "google-analytics-for-wordpress"),
|
888 |
-
__("up", "google-analytics-for-wordpress"),
|
889 |
-
__("of", "google-analytics-for-wordpress"),
|
890 |
-
__("was", "google-analytics-for-wordpress"),
|
891 |
-
__("on", "google-analytics-for-wordpress"),
|
892 |
-
__("what", "google-analytics-for-wordpress"),
|
893 |
-
__("re", "google-analytics-for-wordpress"),
|
894 |
-
__("when", "google-analytics-for-wordpress"),
|
895 |
-
__("she", "google-analytics-for-wordpress"),
|
896 |
-
__("who", "google-analytics-for-wordpress"),
|
897 |
-
__("sould", "google-analytics-for-wordpress"),
|
898 |
-
__("why", "google-analytics-for-wordpress"),
|
899 |
-
__("so", "google-analytics-for-wordpress"),
|
900 |
-
__("will", "google-analytics-for-wordpress"),
|
901 |
-
__("that", "google-analytics-for-wordpress"),
|
902 |
-
__("with", "google-analytics-for-wordpress"),
|
903 |
-
__("the", "google-analytics-for-wordpress"),
|
904 |
-
__("you", "google-analytics-for-wordpress"),
|
905 |
-
__("their", "google-analytics-for-wordpress"),
|
906 |
-
__("your", "google-analytics-for-wordpress"),
|
907 |
-
__("there", "google-analytics-for-wordpress"),
|
908 |
-
);
|
909 |
-
|
910 |
-
return $this->common_words;
|
911 |
-
}
|
912 |
-
|
913 |
-
|
914 |
-
/**
|
915 |
-
* Uncommon words
|
916 |
-
*
|
917 |
-
* @return array uncommon words
|
918 |
-
*/
|
919 |
-
function uncommon_words() {
|
920 |
-
if ( isset( $this->uncommon_words ) && ! empty( $this->uncommon_words ) ) {
|
921 |
-
return $this->uncommon_words;
|
922 |
-
}
|
923 |
-
|
924 |
-
$this->uncommon_words = array(
|
925 |
-
__("actually", "google-analytics-for-wordpress"),
|
926 |
-
__("happened", "google-analytics-for-wordpress"),
|
927 |
-
__("need", "google-analytics-for-wordpress"),
|
928 |
-
__("thing", "google-analytics-for-wordpress"),
|
929 |
-
__("awesome", "google-analytics-for-wordpress"),
|
930 |
-
__("heart", "google-analytics-for-wordpress"),
|
931 |
-
__("never", "google-analytics-for-wordpress"),
|
932 |
-
__("think", "google-analytics-for-wordpress"),
|
933 |
-
__("baby", "google-analytics-for-wordpress"),
|
934 |
-
__("here", "google-analytics-for-wordpress"),
|
935 |
-
__("new", "google-analytics-for-wordpress"),
|
936 |
-
__("time", "google-analytics-for-wordpress"),
|
937 |
-
__("beautiful", "google-analytics-for-wordpress"),
|
938 |
-
__("its", "google-analytics-for-wordpress"),
|
939 |
-
__("now", "google-analytics-for-wordpress"),
|
940 |
-
__("valentines", "google-analytics-for-wordpress"),
|
941 |
-
__("being", "google-analytics-for-wordpress"),
|
942 |
-
__("know", "google-analytics-for-wordpress"),
|
943 |
-
__("old", "google-analytics-for-wordpress"),
|
944 |
-
__("video", "google-analytics-for-wordpress"),
|
945 |
-
__("best", "google-analytics-for-wordpress"),
|
946 |
-
__("life", "google-analytics-for-wordpress"),
|
947 |
-
__("one", "google-analytics-for-wordpress"),
|
948 |
-
__("want", "google-analytics-for-wordpress"),
|
949 |
-
__("better", "google-analytics-for-wordpress"),
|
950 |
-
__("little", "google-analytics-for-wordpress"),
|
951 |
-
__("out", "google-analytics-for-wordpress"),
|
952 |
-
__("watch", "google-analytics-for-wordpress"),
|
953 |
-
__("boy", "google-analytics-for-wordpress"),
|
954 |
-
__("look", "google-analytics-for-wordpress"),
|
955 |
-
__("people", "google-analytics-for-wordpress"),
|
956 |
-
__("way", "google-analytics-for-wordpress"),
|
957 |
-
__("dog", "google-analytics-for-wordpress"),
|
958 |
-
__("love", "google-analytics-for-wordpress"),
|
959 |
-
__("photos", "google-analytics-for-wordpress"),
|
960 |
-
__("ways", "google-analytics-for-wordpress"),
|
961 |
-
__("down", "google-analytics-for-wordpress"),
|
962 |
-
__("made", "google-analytics-for-wordpress"),
|
963 |
-
__("really", "google-analytics-for-wordpress"),
|
964 |
-
__("world", "google-analytics-for-wordpress"),
|
965 |
-
__("facebook", "google-analytics-for-wordpress"),
|
966 |
-
__("make", "google-analytics-for-wordpress"),
|
967 |
-
__("reasons", "google-analytics-for-wordpress"),
|
968 |
-
__("year", "google-analytics-for-wordpress"),
|
969 |
-
__("
|
970 |
-
__("makes", "google-analytics-for-wordpress"),
|
971 |
-
__("right", "google-analytics-for-wordpress"),
|
972 |
-
__("years", "google-analytics-for-wordpress"),
|
973 |
-
__("found", "google-analytics-for-wordpress"),
|
974 |
-
__("man", "google-analytics-for-wordpress"),
|
975 |
-
__("see", "google-analytics-for-wordpress"),
|
976 |
-
__("you
|
977 |
-
__("girl", "google-analytics-for-wordpress"),
|
978 |
-
__("media", "google-analytics-for-wordpress"),
|
979 |
-
__("seen", "google-analytics-for-wordpress"),
|
980 |
-
__("good", "google-analytics-for-wordpress"),
|
981 |
-
__("mind", "google-analytics-for-wordpress"),
|
982 |
-
__("social", "google-analytics-for-wordpress"),
|
983 |
-
__("guy", "google-analytics-for-wordpress"),
|
984 |
-
__("more", "google-analytics-for-wordpress"),
|
985 |
-
__("something", "google-analytics-for-wordpress"),
|
986 |
-
);
|
987 |
-
|
988 |
-
return $this->uncommon_words;
|
989 |
-
}
|
990 |
-
}
|
991 |
-
|
992 |
-
new MonsterInsightsHeadlineToolPlugin();
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace MonsterInsightsHeadlineToolPlugin;
|
4 |
+
|
5 |
+
// setup defines
|
6 |
+
define ( 'MONSTERINSIGHTS_HEADLINE_TOOL_DIR_PATH', plugin_dir_path( __FILE__ ) );
|
7 |
+
|
8 |
+
/**
|
9 |
+
* Headline Tool
|
10 |
+
*
|
11 |
+
* @since 0.1
|
12 |
+
* @author Debjit Saha
|
13 |
+
*/
|
14 |
+
class MonsterInsightsHeadlineToolPlugin{
|
15 |
+
|
16 |
+
/**
|
17 |
+
* Class Variables.
|
18 |
+
*/
|
19 |
+
private $emotion_power_words = array();
|
20 |
+
private $power_words = array();
|
21 |
+
private $common_words = array();
|
22 |
+
private $uncommon_words = array();
|
23 |
+
|
24 |
+
/**
|
25 |
+
* Constructor
|
26 |
+
*
|
27 |
+
* @return none
|
28 |
+
*/
|
29 |
+
function __construct() {
|
30 |
+
$this->init();
|
31 |
+
}
|
32 |
+
|
33 |
+
/**
|
34 |
+
* Add the necessary hooks and filters
|
35 |
+
*/
|
36 |
+
function init() {
|
37 |
+
add_action( 'wp_ajax_monsterinsights_gutenberg_headline_analyzer_get_results', array( $this, 'get_result' ) );
|
38 |
+
}
|
39 |
+
|
40 |
+
/**
|
41 |
+
* Ajax request endpoint for the uptime check
|
42 |
+
*/
|
43 |
+
function get_result() {
|
44 |
+
|
45 |
+
// csrf check
|
46 |
+
if ( check_ajax_referer( 'monsterinsights_gutenberg_headline_nonce', false, false ) === false ) {
|
47 |
+
$content = self::output_template( 'results-error.php' );
|
48 |
+
wp_send_json_error(
|
49 |
+
array(
|
50 |
+
'html' => $content
|
51 |
+
)
|
52 |
+
);
|
53 |
+
}
|
54 |
+
|
55 |
+
// get whether or not the website is up
|
56 |
+
$result = $this->get_headline_scores();
|
57 |
+
|
58 |
+
if ( !empty( $result->err ) ) {
|
59 |
+
$content = self::output_template( 'results-error.php', $result );
|
60 |
+
wp_send_json_error(
|
61 |
+
array( 'html' => $content, 'analysed' => false )
|
62 |
+
);
|
63 |
+
} else {
|
64 |
+
|
65 |
+
// send the response
|
66 |
+
wp_send_json_success(
|
67 |
+
array(
|
68 |
+
'result' => $result,
|
69 |
+
'analysed' => !$result->err,
|
70 |
+
'sentence' => ucwords( wp_unslash( sanitize_text_field( $_REQUEST['q'] ) ) ),
|
71 |
+
'score' => ( isset( $result->score ) && ! empty( $result->score ) ) ? $result->score : 0
|
72 |
+
)
|
73 |
+
);
|
74 |
+
|
75 |
+
}
|
76 |
+
}
|
77 |
+
|
78 |
+
/**
|
79 |
+
* function to match words from sentence
|
80 |
+
* @return Object
|
81 |
+
*/
|
82 |
+
function match_words( $sentence, $sentence_split, $words ) {
|
83 |
+
$ret = array();
|
84 |
+
foreach( $words as $wrd ) {
|
85 |
+
// check if $wrd is a phrase
|
86 |
+
if ( strpos( $wrd, ' ' ) !== false ) {
|
87 |
+
if ( strpos( $sentence, $wrd ) !== false ) {
|
88 |
+
$ret[] = $wrd;
|
89 |
+
}
|
90 |
+
}
|
91 |
+
// if $wrd is a single word
|
92 |
+
else {
|
93 |
+
if ( in_array( $wrd, $sentence_split ) ) {
|
94 |
+
$ret[] = $wrd;
|
95 |
+
}
|
96 |
+
}
|
97 |
+
}
|
98 |
+
return $ret;
|
99 |
+
}
|
100 |
+
|
101 |
+
/**
|
102 |
+
* main function to calculate headline scores
|
103 |
+
* @return Object
|
104 |
+
*/
|
105 |
+
function get_headline_scores() {
|
106 |
+
$input = sanitize_text_field( @$_REQUEST['q'] );
|
107 |
+
|
108 |
+
// init the result array
|
109 |
+
$result = new \stdClass();
|
110 |
+
$result->input_array_orig = explode( ' ', wp_unslash( $input ) );
|
111 |
+
|
112 |
+
// strip useless characters
|
113 |
+
$input = preg_replace( '/[^A-Za-z0-9 ]/', '', $input );
|
114 |
+
|
115 |
+
// strip whitespace
|
116 |
+
$input = preg_replace( '!\s+!', ' ', $input);
|
117 |
+
|
118 |
+
// lower case
|
119 |
+
$input = strtolower( $input );
|
120 |
+
|
121 |
+
$result->input = $input;
|
122 |
+
|
123 |
+
// bad input
|
124 |
+
if ( ! $input || $input == ' ' || trim( $input ) == '' ) {
|
125 |
+
$result->err = true;
|
126 |
+
$result->msg = __('Bad Input', 'google-analytics-for-wordpress');
|
127 |
+
return $result;
|
128 |
+
}
|
129 |
+
|
130 |
+
// overall score;
|
131 |
+
$scoret = 0;
|
132 |
+
|
133 |
+
// headline array
|
134 |
+
$input_array = explode( ' ', $input );
|
135 |
+
|
136 |
+
$result->input_array = $input_array;
|
137 |
+
|
138 |
+
// all okay, start analysis
|
139 |
+
$result->err = false;
|
140 |
+
|
141 |
+
// Length - 55 chars. optimal
|
142 |
+
$result->length = strlen( str_replace( ' ', '', $input ) );
|
143 |
+
$scoret = $scoret + 3;
|
144 |
+
|
145 |
+
if ( $result->length <= 19 ) { $scoret += 5; }
|
146 |
+
elseif ( $result->length >= 20 && $result->length <= 34 ) { $scoret += 8; }
|
147 |
+
elseif ( $result->length >= 35 && $result->length <= 66 ) { $scoret += 11; }
|
148 |
+
elseif ( $result->length >= 67 && $result->length <= 79 ) { $scoret += 8; }
|
149 |
+
elseif ( $result->length >= 80 ) { $scoret += 5; }
|
150 |
+
|
151 |
+
// Count - typically 6-7 words
|
152 |
+
$result->word_count = count( $input_array );
|
153 |
+
$scoret = $scoret + 3;
|
154 |
+
|
155 |
+
if ( $result->word_count == 0 ) { $scoret = 0; }
|
156 |
+
else if ( $result->word_count >= 2 && $result->word_count <= 4 ) { $scoret += 5; }
|
157 |
+
elseif ( $result->word_count >= 5 && $result->word_count <= 9 ) { $scoret += 11; }
|
158 |
+
elseif ( $result->word_count >= 10 && $result->word_count <= 11 ) { $scoret += 8; }
|
159 |
+
elseif ( $result->word_count >= 12 ) { $scoret += 5; }
|
160 |
+
|
161 |
+
// Calculate word match counts
|
162 |
+
$result->power_words = $this->match_words( $result->input, $result->input_array, $this->power_words() );
|
163 |
+
$result->power_words_per = count( $result->power_words ) / $result->word_count;
|
164 |
+
$result->emotion_words = $this->match_words( $result->input, $result->input_array, $this->emotion_power_words() );
|
165 |
+
$result->emotion_words_per = count( $result->emotion_words ) / $result->word_count;
|
166 |
+
$result->common_words = $this->match_words( $result->input, $result->input_array, $this->common_words() );
|
167 |
+
$result->common_words_per = count( $result->common_words ) / $result->word_count;
|
168 |
+
$result->uncommon_words = $this->match_words( $result->input, $result->input_array, $this->uncommon_words() );
|
169 |
+
$result->uncommon_words_per = count( $result->uncommon_words ) / $result->word_count;
|
170 |
+
$result->word_balance = __('Can Be Improved', 'google-analytics-for-wordpress');
|
171 |
+
$result->word_balance_use = array();
|
172 |
+
|
173 |
+
if ( $result->emotion_words_per < 0.1 ) {
|
174 |
+
$result->word_balance_use[] = __('emotion', 'google-analytics-for-wordpress');
|
175 |
+
} else {
|
176 |
+
$scoret = $scoret + 15;
|
177 |
+
}
|
178 |
+
|
179 |
+
if ( $result->common_words_per < 0.2 ) {
|
180 |
+
$result->word_balance_use[] = __('common', 'google-analytics-for-wordpress');
|
181 |
+
} else {
|
182 |
+
$scoret = $scoret + 11;
|
183 |
+
}
|
184 |
+
|
185 |
+
if ( $result->uncommon_words_per < 0.1 ) {
|
186 |
+
$result->word_balance_use[] = __('uncommon', 'google-analytics-for-wordpress');
|
187 |
+
} else
|
188 |
+
$scoret = $scoret + 15;
|
189 |
+
|
190 |
+
if ( count( $result->power_words ) < 1 ) {
|
191 |
+
$result->word_balance_use[] = __('power', 'google-analytics-for-wordpress');
|
192 |
+
} else {
|
193 |
+
$scoret = $scoret + 19;
|
194 |
+
}
|
195 |
+
|
196 |
+
if (
|
197 |
+
$result->emotion_words_per >= 0.1 &&
|
198 |
+
$result->common_words_per >= 0.2 &&
|
199 |
+
$result->uncommon_words_per >= 0.1 &&
|
200 |
+
count( $result->power_words ) >= 1 ) {
|
201 |
+
$result->word_balance = __('Perfect', 'google-analytics-for-wordpress');
|
202 |
+
$scoret = $scoret + 3;
|
203 |
+
}
|
204 |
+
|
205 |
+
// Sentiment analysis also look - https://github.com/yooper/php-text-analysis
|
206 |
+
|
207 |
+
// Emotion of the headline - sentiment analysis
|
208 |
+
// Credits - https://github.com/JWHennessey/phpInsight/
|
209 |
+
require_once MONSTERINSIGHTS_HEADLINE_TOOL_DIR_PATH . '/phpinsight/autoload.php';
|
210 |
+
$sentiment = new \PHPInsight\Sentiment();
|
211 |
+
$class_senti = $sentiment->categorise( $input );
|
212 |
+
$result->sentiment = $class_senti;
|
213 |
+
|
214 |
+
$scoret = $scoret + ( $result->sentiment === 'pos' ? 10 : ( $result->sentiment === 'neg' ? 10 : 7 ) );
|
215 |
+
|
216 |
+
// Headline types
|
217 |
+
$headline_types = array();
|
218 |
+
|
219 |
+
// HDL type: how to, how-to, howto
|
220 |
+
if ( strpos( $input, __('how to', 'google-analytics-for-wordpress') ) !== false || strpos( $input, __('howto', 'google-analytics-for-wordpress') ) !== false ) {
|
221 |
+
$headline_types[] = __('How-To', 'google-analytics-for-wordpress');
|
222 |
+
$scoret = $scoret + 7;
|
223 |
+
}
|
224 |
+
|
225 |
+
// HDL type: numbers - numeric and alpha
|
226 |
+
$num_quantifiers = array(
|
227 |
+
__('one', 'google-analytics-for-wordpress'),
|
228 |
+
__('two', 'google-analytics-for-wordpress'),
|
229 |
+
__('three', 'google-analytics-for-wordpress'),
|
230 |
+
__('four', 'google-analytics-for-wordpress'),
|
231 |
+
__('five', 'google-analytics-for-wordpress'),
|
232 |
+
__('six', 'google-analytics-for-wordpress'),
|
233 |
+
__('seven', 'google-analytics-for-wordpress'),
|
234 |
+
__('eight', 'google-analytics-for-wordpress'),
|
235 |
+
__('nine', 'google-analytics-for-wordpress'),
|
236 |
+
__('eleven', 'google-analytics-for-wordpress'),
|
237 |
+
__('twelve', 'google-analytics-for-wordpress'),
|
238 |
+
__('thirt', 'google-analytics-for-wordpress'),
|
239 |
+
__('fift', 'google-analytics-for-wordpress'),
|
240 |
+
__('hundred', 'google-analytics-for-wordpress'),
|
241 |
+
__('thousand', 'google-analytics-for-wordpress'),
|
242 |
+
);
|
243 |
+
|
244 |
+
$list_words = array_intersect( $input_array, $num_quantifiers );
|
245 |
+
if ( preg_match( '~[0-9]+~', $input ) || ! empty ( $list_words ) ) {
|
246 |
+
$headline_types[] = __('List', 'google-analytics-for-wordpress');
|
247 |
+
$scoret = $scoret + 7;
|
248 |
+
}
|
249 |
+
|
250 |
+
// HDL type: Question
|
251 |
+
$qn_quantifiers = array(
|
252 |
+
__('where', 'google-analytics-for-wordpress'),
|
253 |
+
__('when', 'google-analytics-for-wordpress'),
|
254 |
+
__('how', 'google-analytics-for-wordpress'),
|
255 |
+
__('what', 'google-analytics-for-wordpress'),
|
256 |
+
__('have', 'google-analytics-for-wordpress'),
|
257 |
+
__('has', 'google-analytics-for-wordpress'),
|
258 |
+
__('does', 'google-analytics-for-wordpress'),
|
259 |
+
__('do', 'google-analytics-for-wordpress'),
|
260 |
+
__('can', 'google-analytics-for-wordpress'),
|
261 |
+
__('are', 'google-analytics-for-wordpress'),
|
262 |
+
__('will', 'google-analytics-for-wordpress'),
|
263 |
+
);
|
264 |
+
$qn_quantifiers_sub = array(
|
265 |
+
__('you', 'google-analytics-for-wordpress'),
|
266 |
+
__('they', 'google-analytics-for-wordpress'),
|
267 |
+
__('he', 'google-analytics-for-wordpress'),
|
268 |
+
__('she', 'google-analytics-for-wordpress'),
|
269 |
+
__('your', 'google-analytics-for-wordpress'),
|
270 |
+
__('it', 'google-analytics-for-wordpress'),
|
271 |
+
__('they', 'google-analytics-for-wordpress'),
|
272 |
+
__('my', 'google-analytics-for-wordpress'),
|
273 |
+
__('have', 'google-analytics-for-wordpress'),
|
274 |
+
__('has', 'google-analytics-for-wordpress'),
|
275 |
+
__('does', 'google-analytics-for-wordpress'),
|
276 |
+
__('do', 'google-analytics-for-wordpress'),
|
277 |
+
__('can', 'google-analytics-for-wordpress'),
|
278 |
+
__('are', 'google-analytics-for-wordpress'),
|
279 |
+
__('will', 'google-analytics-for-wordpress'),
|
280 |
+
);
|
281 |
+
if ( in_array( $input_array[0], $qn_quantifiers ) ) {
|
282 |
+
if ( in_array( $input_array[1], $qn_quantifiers_sub ) ) {
|
283 |
+
$headline_types[] = __('Question', 'google-analytics-for-wordpress');
|
284 |
+
$scoret = $scoret + 7;
|
285 |
+
}
|
286 |
+
}
|
287 |
+
|
288 |
+
// General headline type
|
289 |
+
if ( empty( $headline_types ) ) {
|
290 |
+
$headline_types[] = __('General', 'google-analytics-for-wordpress');
|
291 |
+
$scoret = $scoret + 5;
|
292 |
+
}
|
293 |
+
|
294 |
+
// put to result
|
295 |
+
$result->headline_types = $headline_types;
|
296 |
+
|
297 |
+
// Resources for more reading:
|
298 |
+
// https://kopywritingkourse.com/copywriting-headlines-that-sell/
|
299 |
+
// How To _______ That Will Help You ______
|
300 |
+
// https://coschedule.com/blog/how-to-write-the-best-headlines-that-will-increase-traffic/
|
301 |
+
|
302 |
+
$result->score = $scoret >= 93 ? 93 : $scoret;
|
303 |
+
|
304 |
+
return $result;
|
305 |
+
}
|
306 |
+
|
307 |
+
/**
|
308 |
+
* Output template contents
|
309 |
+
* @param $template String template file name
|
310 |
+
* @return String template content
|
311 |
+
*/
|
312 |
+
static function output_template( $template, $result = '', $theme = '' ) {
|
313 |
+
ob_start();
|
314 |
+
require MONSTERINSIGHTS_HEADLINE_TOOL_DIR_PATH . '' . $template;
|
315 |
+
$tmp = ob_get_contents();
|
316 |
+
ob_end_clean();
|
317 |
+
return $tmp;
|
318 |
+
}
|
319 |
+
|
320 |
+
/**
|
321 |
+
* Get User IP
|
322 |
+
*
|
323 |
+
* Returns the IP address of the current visitor
|
324 |
+
* @see https://github.com/easydigitaldownloads/easy-digital-downloads/blob/904db487f6c07a3a46903202d31d4e8ea2b30808/includes/misc-functions.php#L163
|
325 |
+
* @return string $ip User's IP address
|
326 |
+
*/
|
327 |
+
static function get_ip() {
|
328 |
+
|
329 |
+
$ip = '127.0.0.1';
|
330 |
+
|
331 |
+
if ( ! empty( $_SERVER['HTTP_CLIENT_IP'] ) ) {
|
332 |
+
//check ip from share internet
|
333 |
+
$ip = $_SERVER['HTTP_CLIENT_IP'];
|
334 |
+
} elseif ( ! empty( $_SERVER['HTTP_X_FORWARDED_FOR'] ) ) {
|
335 |
+
//to check ip is pass from proxy
|
336 |
+
$ip = $_SERVER['HTTP_X_FORWARDED_FOR'];
|
337 |
+
} elseif( ! empty( $_SERVER['REMOTE_ADDR'] ) ) {
|
338 |
+
$ip = $_SERVER['REMOTE_ADDR'];
|
339 |
+
}
|
340 |
+
|
341 |
+
// Fix potential CSV returned from $_SERVER variables
|
342 |
+
$ip_array = explode( ',', $ip );
|
343 |
+
$ip_array = array_map( 'trim', $ip_array );
|
344 |
+
|
345 |
+
return $ip_array[0];
|
346 |
+
}
|
347 |
+
|
348 |
+
/**
|
349 |
+
* Emotional power words
|
350 |
+
*
|
351 |
+
* @return array emotional power words
|
352 |
+
*/
|
353 |
+
function emotion_power_words() {
|
354 |
+
if ( isset( $this->emotion_power_words ) && ! empty( $this->emotion_power_words ) ) {
|
355 |
+
return $this->emotion_power_words;
|
356 |
+
}
|
357 |
+
|
358 |
+
$this->emotion_power_words = array(
|
359 |
+
__("destroy", "google-analytics-for-wordpress"),
|
360 |
+
__("extra", "google-analytics-for-wordpress"),
|
361 |
+
__("in a", "google-analytics-for-wordpress"),
|
362 |
+
__("devastating", "google-analytics-for-wordpress"),
|
363 |
+
__("eye-opening", "google-analytics-for-wordpress"),
|
364 |
+
__("gift", "google-analytics-for-wordpress"),
|
365 |
+
__("in the world", "google-analytics-for-wordpress"),
|
366 |
+
__("devoted", "google-analytics-for-wordpress"),
|
367 |
+
__("fail", "google-analytics-for-wordpress"),
|
368 |
+
__("in the", "google-analytics-for-wordpress"),
|
369 |
+
__("faith", "google-analytics-for-wordpress"),
|
370 |
+
__("grateful", "google-analytics-for-wordpress"),
|
371 |
+
__("inexpensive", "google-analytics-for-wordpress"),
|
372 |
+
__("dirty", "google-analytics-for-wordpress"),
|
373 |
+
__("famous", "google-analytics-for-wordpress"),
|
374 |
+
__("disastrous", "google-analytics-for-wordpress"),
|
375 |
+
__("fantastic", "google-analytics-for-wordpress"),
|
376 |
+
__("greed", "google-analytics-for-wordpress"),
|
377 |
+
__("grit", "google-analytics-for-wordpress"),
|
378 |
+
__("insanely", "google-analytics-for-wordpress"),
|
379 |
+
__("disgusting", "google-analytics-for-wordpress"),
|
380 |
+
__("fearless", "google-analytics-for-wordpress"),
|
381 |
+
__("disinformation", "google-analytics-for-wordpress"),
|
382 |
+
__("feast", "google-analytics-for-wordpress"),
|
383 |
+
__("insidious", "google-analytics-for-wordpress"),
|
384 |
+
__("dollar", "google-analytics-for-wordpress"),
|
385 |
+
__("feeble", "google-analytics-for-wordpress"),
|
386 |
+
__("gullible", "google-analytics-for-wordpress"),
|
387 |
+
__("double", "google-analytics-for-wordpress"),
|
388 |
+
__("fire", "google-analytics-for-wordpress"),
|
389 |
+
__("hack", "google-analytics-for-wordpress"),
|
390 |
+
__("fleece", "google-analytics-for-wordpress"),
|
391 |
+
__("had enough", "google-analytics-for-wordpress"),
|
392 |
+
__("invasion", "google-analytics-for-wordpress"),
|
393 |
+
__("drowning", "google-analytics-for-wordpress"),
|
394 |
+
__("floundering", "google-analytics-for-wordpress"),
|
395 |
+
__("happy", "google-analytics-for-wordpress"),
|
396 |
+
__("ironclad", "google-analytics-for-wordpress"),
|
397 |
+
__("dumb", "google-analytics-for-wordpress"),
|
398 |
+
__("flush", "google-analytics-for-wordpress"),
|
399 |
+
__("hate", "google-analytics-for-wordpress"),
|
400 |
+
__("irresistibly", "google-analytics-for-wordpress"),
|
401 |
+
__("hazardous", "google-analytics-for-wordpress"),
|
402 |
+
__("is the", "google-analytics-for-wordpress"),
|
403 |
+
__("fool", "google-analytics-for-wordpress"),
|
404 |
+
__("is what happens when", "google-analytics-for-wordpress"),
|
405 |
+
__("fooled", "google-analytics-for-wordpress"),
|
406 |
+
__("helpless", "google-analytics-for-wordpress"),
|
407 |
+
__("it looks like a", "google-analytics-for-wordpress"),
|
408 |
+
__("embarrass", "google-analytics-for-wordpress"),
|
409 |
+
__("for the first time", "google-analytics-for-wordpress"),
|
410 |
+
__("help are the", "google-analytics-for-wordpress"),
|
411 |
+
__("jackpot", "google-analytics-for-wordpress"),
|
412 |
+
__("forbidden", "google-analytics-for-wordpress"),
|
413 |
+
__("hidden", "google-analytics-for-wordpress"),
|
414 |
+
__("jail", "google-analytics-for-wordpress"),
|
415 |
+
__("empower", "google-analytics-for-wordpress"),
|
416 |
+
__("force-fed", "google-analytics-for-wordpress"),
|
417 |
+
__("high", "google-analytics-for-wordpress"),
|
418 |
+
__("jaw-dropping", "google-analytics-for-wordpress"),
|
419 |
+
__("forgotten", "google-analytics-for-wordpress"),
|
420 |
+
__("jeopardy", "google-analytics-for-wordpress"),
|
421 |
+
__("energize", "google-analytics-for-wordpress"),
|
422 |
+
__("hoax", "google-analytics-for-wordpress"),
|
423 |
+
__("jubilant", "google-analytics-for-wordpress"),
|
424 |
+
__("foul", "google-analytics-for-wordpress"),
|
425 |
+
__("hope", "google-analytics-for-wordpress"),
|
426 |
+
__("killer", "google-analytics-for-wordpress"),
|
427 |
+
__("frantic", "google-analytics-for-wordpress"),
|
428 |
+
__("horrific", "google-analytics-for-wordpress"),
|
429 |
+
__("know it all", "google-analytics-for-wordpress"),
|
430 |
+
__("epic", "google-analytics-for-wordpress"),
|
431 |
+
__("how to make", "google-analytics-for-wordpress"),
|
432 |
+
__("evil", "google-analytics-for-wordpress"),
|
433 |
+
__("freebie", "google-analytics-for-wordpress"),
|
434 |
+
__("frenzy", "google-analytics-for-wordpress"),
|
435 |
+
__("hurricane", "google-analytics-for-wordpress"),
|
436 |
+
__("excited", "google-analytics-for-wordpress"),
|
437 |
+
__("fresh on the mind", "google-analytics-for-wordpress"),
|
438 |
+
__("frightening", "google-analytics-for-wordpress"),
|
439 |
+
__("hypnotic", "google-analytics-for-wordpress"),
|
440 |
+
__("lawsuit", "google-analytics-for-wordpress"),
|
441 |
+
__("frugal", "google-analytics-for-wordpress"),
|
442 |
+
__("illegal", "google-analytics-for-wordpress"),
|
443 |
+
__("fulfill", "google-analytics-for-wordpress"),
|
444 |
+
__("lick", "google-analytics-for-wordpress"),
|
445 |
+
__("explode", "google-analytics-for-wordpress"),
|
446 |
+
__("lies", "google-analytics-for-wordpress"),
|
447 |
+
__("exposed", "google-analytics-for-wordpress"),
|
448 |
+
__("gambling", "google-analytics-for-wordpress"),
|
449 |
+
__("like a normal", "google-analytics-for-wordpress"),
|
450 |
+
__("nightmare", "google-analytics-for-wordpress"),
|
451 |
+
__("results", "google-analytics-for-wordpress"),
|
452 |
+
__("line", "google-analytics-for-wordpress"),
|
453 |
+
__("no good", "google-analytics-for-wordpress"),
|
454 |
+
__("pound", "google-analytics-for-wordpress"),
|
455 |
+
__("loathsome", "google-analytics-for-wordpress"),
|
456 |
+
__("no questions asked", "google-analytics-for-wordpress"),
|
457 |
+
__("revenge", "google-analytics-for-wordpress"),
|
458 |
+
__("lonely", "google-analytics-for-wordpress"),
|
459 |
+
__("looks like a", "google-analytics-for-wordpress"),
|
460 |
+
__("obnoxious", "google-analytics-for-wordpress"),
|
461 |
+
__("preposterous", "google-analytics-for-wordpress"),
|
462 |
+
__("revolting", "google-analytics-for-wordpress"),
|
463 |
+
__("looming", "google-analytics-for-wordpress"),
|
464 |
+
__("priced", "google-analytics-for-wordpress"),
|
465 |
+
__("lost", "google-analytics-for-wordpress"),
|
466 |
+
__("prison", "google-analytics-for-wordpress"),
|
467 |
+
__("lowest", "google-analytics-for-wordpress"),
|
468 |
+
__("of the", "google-analytics-for-wordpress"),
|
469 |
+
__("privacy", "google-analytics-for-wordpress"),
|
470 |
+
__("rich", "google-analytics-for-wordpress"),
|
471 |
+
__("lunatic", "google-analytics-for-wordpress"),
|
472 |
+
__("off-limits", "google-analytics-for-wordpress"),
|
473 |
+
__("private", "google-analytics-for-wordpress"),
|
474 |
+
__("risky", "google-analytics-for-wordpress"),
|
475 |
+
__("lurking", "google-analytics-for-wordpress"),
|
476 |
+
__("offer", "google-analytics-for-wordpress"),
|
477 |
+
__("prize", "google-analytics-for-wordpress"),
|
478 |
+
__("ruthless", "google-analytics-for-wordpress"),
|
479 |
+
__("lust", "google-analytics-for-wordpress"),
|
480 |
+
__("official", "google-analytics-for-wordpress"),
|
481 |
+
__("luxurious", "google-analytics-for-wordpress"),
|
482 |
+
__("on the", "google-analytics-for-wordpress"),
|
483 |
+
__("profit", "google-analytics-for-wordpress"),
|
484 |
+
__("scary", "google-analytics-for-wordpress"),
|
485 |
+
__("lying", "google-analytics-for-wordpress"),
|
486 |
+
__("outlawed", "google-analytics-for-wordpress"),
|
487 |
+
__("protected", "google-analytics-for-wordpress"),
|
488 |
+
__("scream", "google-analytics-for-wordpress"),
|
489 |
+
__("searing", "google-analytics-for-wordpress"),
|
490 |
+
__("overcome", "google-analytics-for-wordpress"),
|
491 |
+
__("provocative", "google-analytics-for-wordpress"),
|
492 |
+
__("make you", "google-analytics-for-wordpress"),
|
493 |
+
__("painful", "google-analytics-for-wordpress"),
|
494 |
+
__("pummel", "google-analytics-for-wordpress"),
|
495 |
+
__("secure", "google-analytics-for-wordpress"),
|
496 |
+
__("pale", "google-analytics-for-wordpress"),
|
497 |
+
__("punish", "google-analytics-for-wordpress"),
|
498 |
+
__("marked down", "google-analytics-for-wordpress"),
|
499 |
+
__("panic", "google-analytics-for-wordpress"),
|
500 |
+
__("quadruple", "google-analytics-for-wordpress"),
|
501 |
+
__("secutively", "google-analytics-for-wordpress"),
|
502 |
+
__("massive", "google-analytics-for-wordpress"),
|
503 |
+
__("pay zero", "google-analytics-for-wordpress"),
|
504 |
+
__("seize", "google-analytics-for-wordpress"),
|
505 |
+
__("meltdown", "google-analytics-for-wordpress"),
|
506 |
+
__("payback", "google-analytics-for-wordpress"),
|
507 |
+
__("might look like a", "google-analytics-for-wordpress"),
|
508 |
+
__("peril", "google-analytics-for-wordpress"),
|
509 |
+
__("mind-blowing", "google-analytics-for-wordpress"),
|
510 |
+
__("shameless", "google-analytics-for-wordpress"),
|
511 |
+
__("minute", "google-analytics-for-wordpress"),
|
512 |
+
__("rave", "google-analytics-for-wordpress"),
|
513 |
+
__("shatter", "google-analytics-for-wordpress"),
|
514 |
+
__("piranha", "google-analytics-for-wordpress"),
|
515 |
+
__("reckoning", "google-analytics-for-wordpress"),
|
516 |
+
__("shellacking", "google-analytics-for-wordpress"),
|
517 |
+
__("mired", "google-analytics-for-wordpress"),
|
518 |
+
__("pitfall", "google-analytics-for-wordpress"),
|
519 |
+
__("reclaim", "google-analytics-for-wordpress"),
|
520 |
+
__("mistakes", "google-analytics-for-wordpress"),
|
521 |
+
__("plague", "google-analytics-for-wordpress"),
|
522 |
+
__("sick and tired", "google-analytics-for-wordpress"),
|
523 |
+
__("money", "google-analytics-for-wordpress"),
|
524 |
+
__("played", "google-analytics-for-wordpress"),
|
525 |
+
__("refugee", "google-analytics-for-wordpress"),
|
526 |
+
__("silly", "google-analytics-for-wordpress"),
|
527 |
+
__("money-grubbing", "google-analytics-for-wordpress"),
|
528 |
+
__("pluck", "google-analytics-for-wordpress"),
|
529 |
+
__("refund", "google-analytics-for-wordpress"),
|
530 |
+
__("moneyback", "google-analytics-for-wordpress"),
|
531 |
+
__("plummet", "google-analytics-for-wordpress"),
|
532 |
+
__("plunge", "google-analytics-for-wordpress"),
|
533 |
+
__("murder", "google-analytics-for-wordpress"),
|
534 |
+
__("pointless", "google-analytics-for-wordpress"),
|
535 |
+
__("sinful", "google-analytics-for-wordpress"),
|
536 |
+
__("myths", "google-analytics-for-wordpress"),
|
537 |
+
__("poor", "google-analytics-for-wordpress"),
|
538 |
+
__("remarkably", "google-analytics-for-wordpress"),
|
539 |
+
__("six-figure", "google-analytics-for-wordpress"),
|
540 |
+
__("never again", "google-analytics-for-wordpress"),
|
541 |
+
__("research", "google-analytics-for-wordpress"),
|
542 |
+
__("surrender", "google-analytics-for-wordpress"),
|
543 |
+
__("to the", "google-analytics-for-wordpress"),
|
544 |
+
__("varify", "google-analytics-for-wordpress"),
|
545 |
+
__("skyrocket", "google-analytics-for-wordpress"),
|
546 |
+
__("toxic", "google-analytics-for-wordpress"),
|
547 |
+
__("vibrant", "google-analytics-for-wordpress"),
|
548 |
+
__("slaughter", "google-analytics-for-wordpress"),
|
549 |
+
__("swindle", "google-analytics-for-wordpress"),
|
550 |
+
__("trap", "google-analytics-for-wordpress"),
|
551 |
+
__("victim", "google-analytics-for-wordpress"),
|
552 |
+
__("sleazy", "google-analytics-for-wordpress"),
|
553 |
+
__("taboo", "google-analytics-for-wordpress"),
|
554 |
+
__("treasure", "google-analytics-for-wordpress"),
|
555 |
+
__("victory", "google-analytics-for-wordpress"),
|
556 |
+
__("smash", "google-analytics-for-wordpress"),
|
557 |
+
__("tailspin", "google-analytics-for-wordpress"),
|
558 |
+
__("vindication", "google-analytics-for-wordpress"),
|
559 |
+
__("smug", "google-analytics-for-wordpress"),
|
560 |
+
__("tank", "google-analytics-for-wordpress"),
|
561 |
+
__("triple", "google-analytics-for-wordpress"),
|
562 |
+
__("viral", "google-analytics-for-wordpress"),
|
563 |
+
__("smuggled", "google-analytics-for-wordpress"),
|
564 |
+
__("tantalizing", "google-analytics-for-wordpress"),
|
565 |
+
__("triumph", "google-analytics-for-wordpress"),
|
566 |
+
__("volatile", "google-analytics-for-wordpress"),
|
567 |
+
__("sniveling", "google-analytics-for-wordpress"),
|
568 |
+
__("targeted", "google-analytics-for-wordpress"),
|
569 |
+
__("truth", "google-analytics-for-wordpress"),
|
570 |
+
__("vulnerable", "google-analytics-for-wordpress"),
|
571 |
+
__("snob", "google-analytics-for-wordpress"),
|
572 |
+
__("tawdry", "google-analytics-for-wordpress"),
|
573 |
+
__("try before you buy", "google-analytics-for-wordpress"),
|
574 |
+
__("tech", "google-analytics-for-wordpress"),
|
575 |
+
__("turn the tables", "google-analytics-for-wordpress"),
|
576 |
+
__("wanton", "google-analytics-for-wordpress"),
|
577 |
+
__("soaring", "google-analytics-for-wordpress"),
|
578 |
+
__("warning", "google-analytics-for-wordpress"),
|
579 |
+
__("teetering", "google-analytics-for-wordpress"),
|
580 |
+
__("unauthorized", "google-analytics-for-wordpress"),
|
581 |
+
__("spectacular", "google-analytics-for-wordpress"),
|
582 |
+
__("temporary fix", "google-analytics-for-wordpress"),
|
583 |
+
__("unbelievably", "google-analytics-for-wordpress"),
|
584 |
+
__("spine", "google-analytics-for-wordpress"),
|
585 |
+
__("tempting", "google-analytics-for-wordpress"),
|
586 |
+
__("uncommonly", "google-analytics-for-wordpress"),
|
587 |
+
__("what happened", "google-analytics-for-wordpress"),
|
588 |
+
__("spirit", "google-analytics-for-wordpress"),
|
589 |
+
__("what happens when", "google-analytics-for-wordpress"),
|
590 |
+
__("terror", "google-analytics-for-wordpress"),
|
591 |
+
__("under", "google-analytics-for-wordpress"),
|
592 |
+
__("what happens", "google-analytics-for-wordpress"),
|
593 |
+
__("staggering", "google-analytics-for-wordpress"),
|
594 |
+
__("underhanded", "google-analytics-for-wordpress"),
|
595 |
+
__("what this", "google-analytics-for-wordpress"),
|
596 |
+
__("that will make you", "google-analytics-for-wordpress"),
|
597 |
+
__("undo","when you see", "google-analytics-for-wordpress"),
|
598 |
+
__("that will make", "google-analytics-for-wordpress"),
|
599 |
+
__("unexpected", "google-analytics-for-wordpress"),
|
600 |
+
__("when you", "google-analytics-for-wordpress"),
|
601 |
+
__("strangle", "google-analytics-for-wordpress"),
|
602 |
+
__("that will", "google-analytics-for-wordpress"),
|
603 |
+
__("whip", "google-analytics-for-wordpress"),
|
604 |
+
__("the best", "google-analytics-for-wordpress"),
|
605 |
+
__("whopping", "google-analytics-for-wordpress"),
|
606 |
+
__("stuck up", "google-analytics-for-wordpress"),
|
607 |
+
__("the ranking of", "google-analytics-for-wordpress"),
|
608 |
+
__("wicked", "google-analytics-for-wordpress"),
|
609 |
+
__("stunning", "google-analytics-for-wordpress"),
|
610 |
+
__("the most", "google-analytics-for-wordpress"),
|
611 |
+
__("will make you", "google-analytics-for-wordpress"),
|
612 |
+
__("stupid", "google-analytics-for-wordpress"),
|
613 |
+
__("the reason why is", "google-analytics-for-wordpress"),
|
614 |
+
__("unscrupulous", "google-analytics-for-wordpress"),
|
615 |
+
__("thing ive ever seen", "google-analytics-for-wordpress"),
|
616 |
+
__("withheld", "google-analytics-for-wordpress"),
|
617 |
+
__("this is the", "google-analytics-for-wordpress"),
|
618 |
+
__("this is what happens", "google-analytics-for-wordpress"),
|
619 |
+
__("unusually", "google-analytics-for-wordpress"),
|
620 |
+
__("wondrous", "google-analytics-for-wordpress"),
|
621 |
+
__("this is what", "google-analytics-for-wordpress"),
|
622 |
+
__("uplifting", "google-analytics-for-wordpress"),
|
623 |
+
__("worry", "google-analytics-for-wordpress"),
|
624 |
+
__("sure", "google-analytics-for-wordpress"),
|
625 |
+
__("this is", "google-analytics-for-wordpress"),
|
626 |
+
__("wounded", "google-analytics-for-wordpress"),
|
627 |
+
__("surge", "google-analytics-for-wordpress"),
|
628 |
+
__("thrilled", "google-analytics-for-wordpress"),
|
629 |
+
__("you need to know", "google-analytics-for-wordpress"),
|
630 |
+
__("thrilling", "google-analytics-for-wordpress"),
|
631 |
+
__("valor", "google-analytics-for-wordpress"),
|
632 |
+
__("you need to", "google-analytics-for-wordpress"),
|
633 |
+
__("you see what", "google-analytics-for-wordpress"),
|
634 |
+
__("surprising", "google-analytics-for-wordpress"),
|
635 |
+
__("tired", "google-analytics-for-wordpress"),
|
636 |
+
__("you see", "google-analytics-for-wordpress"),
|
637 |
+
__("surprisingly", "google-analytics-for-wordpress"),
|
638 |
+
__("to be", "google-analytics-for-wordpress"),
|
639 |
+
__("vaporize", "google-analytics-for-wordpress"),
|
640 |
+
);
|
641 |
+
|
642 |
+
return $this->emotion_power_words;
|
643 |
+
}
|
644 |
+
|
645 |
+
/**
|
646 |
+
* Power words
|
647 |
+
*
|
648 |
+
* @return array power words
|
649 |
+
*/
|
650 |
+
function power_words() {
|
651 |
+
if ( isset( $this->power_words ) && ! empty( $this->power_words ) ) {
|
652 |
+
return $this->power_words;
|
653 |
+
}
|
654 |
+
|
655 |
+
$this->power_words = array(
|
656 |
+
__("great", "google-analytics-for-wordpress"),
|
657 |
+
__("free", "google-analytics-for-wordpress"),
|
658 |
+
__("focus", "google-analytics-for-wordpress"),
|
659 |
+
__("remarkable", "google-analytics-for-wordpress"),
|
660 |
+
__("confidential", "google-analytics-for-wordpress"),
|
661 |
+
__("sale", "google-analytics-for-wordpress"),
|
662 |
+
__("wanted", "google-analytics-for-wordpress"),
|
663 |
+
__("obsession", "google-analytics-for-wordpress"),
|
664 |
+
__("sizable", "google-analytics-for-wordpress"),
|
665 |
+
__("new", "google-analytics-for-wordpress"),
|
666 |
+
__("absolutely lowest", "google-analytics-for-wordpress"),
|
667 |
+
__("surging", "google-analytics-for-wordpress"),
|
668 |
+
__("wonderful", "google-analytics-for-wordpress"),
|
669 |
+
__("professional", "google-analytics-for-wordpress"),
|
670 |
+
__("interesting", "google-analytics-for-wordpress"),
|
671 |
+
__("revisited", "google-analytics-for-wordpress"),
|
672 |
+
__("delivered", "google-analytics-for-wordpress"),
|
673 |
+
__("guaranteed", "google-analytics-for-wordpress"),
|
674 |
+
__("challenge", "google-analytics-for-wordpress"),
|
675 |
+
__("unique", "google-analytics-for-wordpress"),
|
676 |
+
__("secrets", "google-analytics-for-wordpress"),
|
677 |
+
__("special", "google-analytics-for-wordpress"),
|
678 |
+
__("lifetime", "google-analytics-for-wordpress"),
|
679 |
+
__("bargain", "google-analytics-for-wordpress"),
|
680 |
+
__("scarce", "google-analytics-for-wordpress"),
|
681 |
+
__("tested", "google-analytics-for-wordpress"),
|
682 |
+
__("highest", "google-analytics-for-wordpress"),
|
683 |
+
__("hurry", "google-analytics-for-wordpress"),
|
684 |
+
__("alert famous", "google-analytics-for-wordpress"),
|
685 |
+
__("improved", "google-analytics-for-wordpress"),
|
686 |
+
__("expert", "google-analytics-for-wordpress"),
|
687 |
+
__("daring", "google-analytics-for-wordpress"),
|
688 |
+
__("strong", "google-analytics-for-wordpress"),
|
689 |
+
__("immediately", "google-analytics-for-wordpress"),
|
690 |
+
__("advice", "google-analytics-for-wordpress"),
|
691 |
+
__("pioneering", "google-analytics-for-wordpress"),
|
692 |
+
__("unusual", "google-analytics-for-wordpress"),
|
693 |
+
__("limited", "google-analytics-for-wordpress"),
|
694 |
+
__("the truth about", "google-analytics-for-wordpress"),
|
695 |
+
__("destiny", "google-analytics-for-wordpress"),
|
696 |
+
__("outstanding", "google-analytics-for-wordpress"),
|
697 |
+
__("simplistic", "google-analytics-for-wordpress"),
|
698 |
+
__("compare", "google-analytics-for-wordpress"),
|
699 |
+
__("unsurpassed", "google-analytics-for-wordpress"),
|
700 |
+
__("energy", "google-analytics-for-wordpress"),
|
701 |
+
__("powerful", "google-analytics-for-wordpress"),
|
702 |
+
__("colorful", "google-analytics-for-wordpress"),
|
703 |
+
__("genuine", "google-analytics-for-wordpress"),
|
704 |
+
__("instructive", "google-analytics-for-wordpress"),
|
705 |
+
__("big", "google-analytics-for-wordpress"),
|
706 |
+
__("affordable", "google-analytics-for-wordpress"),
|
707 |
+
__("informative", "google-analytics-for-wordpress"),
|
708 |
+
__("liberal", "google-analytics-for-wordpress"),
|
709 |
+
__("popular", "google-analytics-for-wordpress"),
|
710 |
+
__("ultimate", "google-analytics-for-wordpress"),
|
711 |
+
__("mainstream", "google-analytics-for-wordpress"),
|
712 |
+
__("rare", "google-analytics-for-wordpress"),
|
713 |
+
__("exclusive", "google-analytics-for-wordpress"),
|
714 |
+
__("willpower", "google-analytics-for-wordpress"),
|
715 |
+
__("complete", "google-analytics-for-wordpress"),
|
716 |
+
__("edge", "google-analytics-for-wordpress"),
|
717 |
+
__("valuable", "google-analytics-for-wordpress"),
|
718 |
+
__("attractive", "google-analytics-for-wordpress"),
|
719 |
+
__("last chance", "google-analytics-for-wordpress"),
|
720 |
+
__("superior", "google-analytics-for-wordpress"),
|
721 |
+
__("how to", "google-analytics-for-wordpress"),
|
722 |
+
__("easily", "google-analytics-for-wordpress"),
|
723 |
+
__("exploit", "google-analytics-for-wordpress"),
|
724 |
+
__("unparalleled", "google-analytics-for-wordpress"),
|
725 |
+
__("endorsed", "google-analytics-for-wordpress"),
|
726 |
+
__("approved", "google-analytics-for-wordpress"),
|
727 |
+
__("quality", "google-analytics-for-wordpress"),
|
728 |
+
__("fascinating", "google-analytics-for-wordpress"),
|
729 |
+
__("unlimited", "google-analytics-for-wordpress"),
|
730 |
+
__("competitive", "google-analytics-for-wordpress"),
|
731 |
+
__("gigantic", "google-analytics-for-wordpress"),
|
732 |
+
__("compromise", "google-analytics-for-wordpress"),
|
733 |
+
__("discount", "google-analytics-for-wordpress"),
|
734 |
+
__("full", "google-analytics-for-wordpress"),
|
735 |
+
__("love", "google-analytics-for-wordpress"),
|
736 |
+
__("odd", "google-analytics-for-wordpress"),
|
737 |
+
__("fundamentals", "google-analytics-for-wordpress"),
|
738 |
+
__("mammoth", "google-analytics-for-wordpress"),
|
739 |
+
__("lavishly", "google-analytics-for-wordpress"),
|
740 |
+
__("bottom line", "google-analytics-for-wordpress"),
|
741 |
+
__("under priced", "google-analytics-for-wordpress"),
|
742 |
+
__("innovative", "google-analytics-for-wordpress"),
|
743 |
+
__("reliable", "google-analytics-for-wordpress"),
|
744 |
+
__("zinger", "google-analytics-for-wordpress"),
|
745 |
+
__("suddenly", "google-analytics-for-wordpress"),
|
746 |
+
__("it's here", "google-analytics-for-wordpress"),
|
747 |
+
__("terrific", "google-analytics-for-wordpress"),
|
748 |
+
__("simplified", "google-analytics-for-wordpress"),
|
749 |
+
__("perspective", "google-analytics-for-wordpress"),
|
750 |
+
__("just arrived", "google-analytics-for-wordpress"),
|
751 |
+
__("breakthrough", "google-analytics-for-wordpress"),
|
752 |
+
__("tremendous", "google-analytics-for-wordpress"),
|
753 |
+
__("launching", "google-analytics-for-wordpress"),
|
754 |
+
__("sure fire", "google-analytics-for-wordpress"),
|
755 |
+
__("emerging", "google-analytics-for-wordpress"),
|
756 |
+
__("helpful", "google-analytics-for-wordpress"),
|
757 |
+
__("skill", "google-analytics-for-wordpress"),
|
758 |
+
__("soar", "google-analytics-for-wordpress"),
|
759 |
+
__("profitable", "google-analytics-for-wordpress"),
|
760 |
+
__("special offer", "google-analytics-for-wordpress"),
|
761 |
+
__("reduced", "google-analytics-for-wordpress"),
|
762 |
+
__("beautiful", "google-analytics-for-wordpress"),
|
763 |
+
__("sampler", "google-analytics-for-wordpress"),
|
764 |
+
__("technology", "google-analytics-for-wordpress"),
|
765 |
+
__("better", "google-analytics-for-wordpress"),
|
766 |
+
__("crammed", "google-analytics-for-wordpress"),
|
767 |
+
__("noted", "google-analytics-for-wordpress"),
|
768 |
+
__("selected", "google-analytics-for-wordpress"),
|
769 |
+
__("shrewd", "google-analytics-for-wordpress"),
|
770 |
+
__("growth", "google-analytics-for-wordpress"),
|
771 |
+
__("luxury", "google-analytics-for-wordpress"),
|
772 |
+
__("sturdy", "google-analytics-for-wordpress"),
|
773 |
+
__("enormous", "google-analytics-for-wordpress"),
|
774 |
+
__("promising", "google-analytics-for-wordpress"),
|
775 |
+
__("unconditional", "google-analytics-for-wordpress"),
|
776 |
+
__("wealth", "google-analytics-for-wordpress"),
|
777 |
+
__("spotlight", "google-analytics-for-wordpress"),
|
778 |
+
__("astonishing", "google-analytics-for-wordpress"),
|
779 |
+
__("timely", "google-analytics-for-wordpress"),
|
780 |
+
__("successful", "google-analytics-for-wordpress"),
|
781 |
+
__("useful", "google-analytics-for-wordpress"),
|
782 |
+
__("imagination", "google-analytics-for-wordpress"),
|
783 |
+
__("bonanza", "google-analytics-for-wordpress"),
|
784 |
+
__("opportunities", "google-analytics-for-wordpress"),
|
785 |
+
__("survival", "google-analytics-for-wordpress"),
|
786 |
+
__("greatest", "google-analytics-for-wordpress"),
|
787 |
+
__("security", "google-analytics-for-wordpress"),
|
788 |
+
__("last minute", "google-analytics-for-wordpress"),
|
789 |
+
__("largest", "google-analytics-for-wordpress"),
|
790 |
+
__("high tech", "google-analytics-for-wordpress"),
|
791 |
+
__("refundable", "google-analytics-for-wordpress"),
|
792 |
+
__("monumental", "google-analytics-for-wordpress"),
|
793 |
+
__("colossal", "google-analytics-for-wordpress"),
|
794 |
+
__("latest", "google-analytics-for-wordpress"),
|
795 |
+
__("quickly", "google-analytics-for-wordpress"),
|
796 |
+
__("startling", "google-analytics-for-wordpress"),
|
797 |
+
__("now", "google-analytics-for-wordpress"),
|
798 |
+
__("important", "google-analytics-for-wordpress"),
|
799 |
+
__("revolutionary", "google-analytics-for-wordpress"),
|
800 |
+
__("quick", "google-analytics-for-wordpress"),
|
801 |
+
__("unlock", "google-analytics-for-wordpress"),
|
802 |
+
__("urgent", "google-analytics-for-wordpress"),
|
803 |
+
__("miracle", "google-analytics-for-wordpress"),
|
804 |
+
__("easy", "google-analytics-for-wordpress"),
|
805 |
+
__("fortune", "google-analytics-for-wordpress"),
|
806 |
+
__("amazing", "google-analytics-for-wordpress"),
|
807 |
+
__("magic", "google-analytics-for-wordpress"),
|
808 |
+
__("direct", "google-analytics-for-wordpress"),
|
809 |
+
__("authentic", "google-analytics-for-wordpress"),
|
810 |
+
__("exciting", "google-analytics-for-wordpress"),
|
811 |
+
__("proven", "google-analytics-for-wordpress"),
|
812 |
+
__("simple", "google-analytics-for-wordpress"),
|
813 |
+
__("announcing", "google-analytics-for-wordpress"),
|
814 |
+
__("portfolio", "google-analytics-for-wordpress"),
|
815 |
+
__("reward", "google-analytics-for-wordpress"),
|
816 |
+
__("strange", "google-analytics-for-wordpress"),
|
817 |
+
__("huge gift", "google-analytics-for-wordpress"),
|
818 |
+
__("revealing", "google-analytics-for-wordpress"),
|
819 |
+
__("weird", "google-analytics-for-wordpress"),
|
820 |
+
__("value", "google-analytics-for-wordpress"),
|
821 |
+
__("introducing", "google-analytics-for-wordpress"),
|
822 |
+
__("sensational", "google-analytics-for-wordpress"),
|
823 |
+
__("surprise", "google-analytics-for-wordpress"),
|
824 |
+
__("insider", "google-analytics-for-wordpress"),
|
825 |
+
__("practical", "google-analytics-for-wordpress"),
|
826 |
+
__("excellent", "google-analytics-for-wordpress"),
|
827 |
+
__("delighted", "google-analytics-for-wordpress"),
|
828 |
+
__("download", "google-analytics-for-wordpress"),
|
829 |
+
);
|
830 |
+
|
831 |
+
return $this->power_words;
|
832 |
+
}
|
833 |
+
|
834 |
+
/**
|
835 |
+
* Common words
|
836 |
+
*
|
837 |
+
* @return array common words
|
838 |
+
*/
|
839 |
+
function common_words() {
|
840 |
+
if ( isset( $this->common_words ) && ! empty( $this->common_words ) ) {
|
841 |
+
return $this->common_words;
|
842 |
+
}
|
843 |
+
|
844 |
+
$this->common_words = array(
|
845 |
+
__("a", "google-analytics-for-wordpress"),
|
846 |
+
__("for", "google-analytics-for-wordpress"),
|
847 |
+
__("about", "google-analytics-for-wordpress"),
|
848 |
+
__("from", "google-analytics-for-wordpress"),
|
849 |
+
__("after", "google-analytics-for-wordpress"),
|
850 |
+
__("get", "google-analytics-for-wordpress"),
|
851 |
+
__("all", "google-analytics-for-wordpress"),
|
852 |
+
__("has", "google-analytics-for-wordpress"),
|
853 |
+
__("an", "google-analytics-for-wordpress"),
|
854 |
+
__("have", "google-analytics-for-wordpress"),
|
855 |
+
__("and", "google-analytics-for-wordpress"),
|
856 |
+
__("he", "google-analytics-for-wordpress"),
|
857 |
+
__("are", "google-analytics-for-wordpress"),
|
858 |
+
__("her", "google-analytics-for-wordpress"),
|
859 |
+
__("as", "google-analytics-for-wordpress"),
|
860 |
+
__("his", "google-analytics-for-wordpress"),
|
861 |
+
__("at", "google-analytics-for-wordpress"),
|
862 |
+
__("how", "google-analytics-for-wordpress"),
|
863 |
+
__("be", "google-analytics-for-wordpress"),
|
864 |
+
__("I", "google-analytics-for-wordpress"),
|
865 |
+
__("but", "google-analytics-for-wordpress"),
|
866 |
+
__("if", "google-analytics-for-wordpress"),
|
867 |
+
__("by", "google-analytics-for-wordpress"),
|
868 |
+
__("in", "google-analytics-for-wordpress"),
|
869 |
+
__("can", "google-analytics-for-wordpress"),
|
870 |
+
__("is", "google-analytics-for-wordpress"),
|
871 |
+
__("did", "google-analytics-for-wordpress"),
|
872 |
+
__("it", "google-analytics-for-wordpress"),
|
873 |
+
__("do", "google-analytics-for-wordpress"),
|
874 |
+
__("just", "google-analytics-for-wordpress"),
|
875 |
+
__("ever", "google-analytics-for-wordpress"),
|
876 |
+
__("like", "google-analytics-for-wordpress"),
|
877 |
+
__("ll", "google-analytics-for-wordpress"),
|
878 |
+
__("these", "google-analytics-for-wordpress"),
|
879 |
+
__("me", "google-analytics-for-wordpress"),
|
880 |
+
__("they", "google-analytics-for-wordpress"),
|
881 |
+
__("most", "google-analytics-for-wordpress"),
|
882 |
+
__("things", "google-analytics-for-wordpress"),
|
883 |
+
__("my", "google-analytics-for-wordpress"),
|
884 |
+
__("this", "google-analytics-for-wordpress"),
|
885 |
+
__("no", "google-analytics-for-wordpress"),
|
886 |
+
__("to", "google-analytics-for-wordpress"),
|
887 |
+
__("not", "google-analytics-for-wordpress"),
|
888 |
+
__("up", "google-analytics-for-wordpress"),
|
889 |
+
__("of", "google-analytics-for-wordpress"),
|
890 |
+
__("was", "google-analytics-for-wordpress"),
|
891 |
+
__("on", "google-analytics-for-wordpress"),
|
892 |
+
__("what", "google-analytics-for-wordpress"),
|
893 |
+
__("re", "google-analytics-for-wordpress"),
|
894 |
+
__("when", "google-analytics-for-wordpress"),
|
895 |
+
__("she", "google-analytics-for-wordpress"),
|
896 |
+
__("who", "google-analytics-for-wordpress"),
|
897 |
+
__("sould", "google-analytics-for-wordpress"),
|
898 |
+
__("why", "google-analytics-for-wordpress"),
|
899 |
+
__("so", "google-analytics-for-wordpress"),
|
900 |
+
__("will", "google-analytics-for-wordpress"),
|
901 |
+
__("that", "google-analytics-for-wordpress"),
|
902 |
+
__("with", "google-analytics-for-wordpress"),
|
903 |
+
__("the", "google-analytics-for-wordpress"),
|
904 |
+
__("you", "google-analytics-for-wordpress"),
|
905 |
+
__("their", "google-analytics-for-wordpress"),
|
906 |
+
__("your", "google-analytics-for-wordpress"),
|
907 |
+
__("there", "google-analytics-for-wordpress"),
|
908 |
+
);
|
909 |
+
|
910 |
+
return $this->common_words;
|
911 |
+
}
|
912 |
+
|
913 |
+
|
914 |
+
/**
|
915 |
+
* Uncommon words
|
916 |
+
*
|
917 |
+
* @return array uncommon words
|
918 |
+
*/
|
919 |
+
function uncommon_words() {
|
920 |
+
if ( isset( $this->uncommon_words ) && ! empty( $this->uncommon_words ) ) {
|
921 |
+
return $this->uncommon_words;
|
922 |
+
}
|
923 |
+
|
924 |
+
$this->uncommon_words = array(
|
925 |
+
__("actually", "google-analytics-for-wordpress"),
|
926 |
+
__("happened", "google-analytics-for-wordpress"),
|
927 |
+
__("need", "google-analytics-for-wordpress"),
|
928 |
+
__("thing", "google-analytics-for-wordpress"),
|
929 |
+
__("awesome", "google-analytics-for-wordpress"),
|
930 |
+
__("heart", "google-analytics-for-wordpress"),
|
931 |
+
__("never", "google-analytics-for-wordpress"),
|
932 |
+
__("think", "google-analytics-for-wordpress"),
|
933 |
+
__("baby", "google-analytics-for-wordpress"),
|
934 |
+
__("here", "google-analytics-for-wordpress"),
|
935 |
+
__("new", "google-analytics-for-wordpress"),
|
936 |
+
__("time", "google-analytics-for-wordpress"),
|
937 |
+
__("beautiful", "google-analytics-for-wordpress"),
|
938 |
+
__("its", "google-analytics-for-wordpress"),
|
939 |
+
__("now", "google-analytics-for-wordpress"),
|
940 |
+
__("valentines", "google-analytics-for-wordpress"),
|
941 |
+
__("being", "google-analytics-for-wordpress"),
|
942 |
+
__("know", "google-analytics-for-wordpress"),
|
943 |
+
__("old", "google-analytics-for-wordpress"),
|
944 |
+
__("video", "google-analytics-for-wordpress"),
|
945 |
+
__("best", "google-analytics-for-wordpress"),
|
946 |
+
__("life", "google-analytics-for-wordpress"),
|
947 |
+
__("one", "google-analytics-for-wordpress"),
|
948 |
+
__("want", "google-analytics-for-wordpress"),
|
949 |
+
__("better", "google-analytics-for-wordpress"),
|
950 |
+
__("little", "google-analytics-for-wordpress"),
|
951 |
+
__("out", "google-analytics-for-wordpress"),
|
952 |
+
__("watch", "google-analytics-for-wordpress"),
|
953 |
+
__("boy", "google-analytics-for-wordpress"),
|
954 |
+
__("look", "google-analytics-for-wordpress"),
|
955 |
+
__("people", "google-analytics-for-wordpress"),
|
956 |
+
__("way", "google-analytics-for-wordpress"),
|
957 |
+
__("dog", "google-analytics-for-wordpress"),
|
958 |
+
__("love", "google-analytics-for-wordpress"),
|
959 |
+
__("photos", "google-analytics-for-wordpress"),
|
960 |
+
__("ways", "google-analytics-for-wordpress"),
|
961 |
+
__("down", "google-analytics-for-wordpress"),
|
962 |
+
__("made", "google-analytics-for-wordpress"),
|
963 |
+
__("really", "google-analytics-for-wordpress"),
|
964 |
+
__("world", "google-analytics-for-wordpress"),
|
965 |
+
__("facebook", "google-analytics-for-wordpress"),
|
966 |
+
__("make", "google-analytics-for-wordpress"),
|
967 |
+
__("reasons", "google-analytics-for-wordpress"),
|
968 |
+
__("year", "google-analytics-for-wordpress"),
|
969 |
+
__("first", "google-analytics-for-wordpress"),
|
970 |
+
__("makes", "google-analytics-for-wordpress"),
|
971 |
+
__("right", "google-analytics-for-wordpress"),
|
972 |
+
__("years", "google-analytics-for-wordpress"),
|
973 |
+
__("found", "google-analytics-for-wordpress"),
|
974 |
+
__("man", "google-analytics-for-wordpress"),
|
975 |
+
__("see", "google-analytics-for-wordpress"),
|
976 |
+
__("you'll", "google-analytics-for-wordpress"),
|
977 |
+
__("girl", "google-analytics-for-wordpress"),
|
978 |
+
__("media", "google-analytics-for-wordpress"),
|
979 |
+
__("seen", "google-analytics-for-wordpress"),
|
980 |
+
__("good", "google-analytics-for-wordpress"),
|
981 |
+
__("mind", "google-analytics-for-wordpress"),
|
982 |
+
__("social", "google-analytics-for-wordpress"),
|
983 |
+
__("guy", "google-analytics-for-wordpress"),
|
984 |
+
__("more", "google-analytics-for-wordpress"),
|
985 |
+
__("something", "google-analytics-for-wordpress"),
|
986 |
+
);
|
987 |
+
|
988 |
+
return $this->uncommon_words;
|
989 |
+
}
|
990 |
+
}
|
991 |
+
|
992 |
+
new MonsterInsightsHeadlineToolPlugin();
|
includes/gutenberg/register-scripts.php
CHANGED
@@ -14,6 +14,14 @@ function monsterinsights_gutenberg_editor_assets() {
|
|
14 |
return;
|
15 |
}
|
16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
$plugins_js_path = '/assets/gutenberg/js/editor.min.js';
|
18 |
$plugins_style_path = '/assets/gutenberg/css/editor.css';
|
19 |
$version_path = monsterinsights_is_pro_version() ? 'pro' : 'lite';
|
@@ -85,9 +93,13 @@ function monsterinsights_gutenberg_editor_assets() {
|
|
85 |
'vue_assets_path' => plugins_url( $version_path . '/assets/vue/', MONSTERINSIGHTS_PLUGIN_FILE ),
|
86 |
'is_woocommerce_installed' => class_exists( 'WooCommerce' ),
|
87 |
'license_type' => MonsterInsights()->license->get_license_type(),
|
88 |
-
'upgrade_url' => monsterinsights_get_upgrade_link( '
|
89 |
'install_woocommerce_url' => $install_woocommerce_url,
|
90 |
'supports_custom_fields' => post_type_supports( $posttype, 'custom-fields' ),
|
|
|
|
|
|
|
|
|
91 |
)
|
92 |
);
|
93 |
}
|
14 |
return;
|
15 |
}
|
16 |
|
17 |
+
if ( function_exists( 'get_current_screen' ) ) {
|
18 |
+
$current_screen = get_current_screen();
|
19 |
+
|
20 |
+
if ( is_object( $current_screen ) && 'widgets' === $current_screen->id ) {
|
21 |
+
return;
|
22 |
+
}
|
23 |
+
}
|
24 |
+
|
25 |
$plugins_js_path = '/assets/gutenberg/js/editor.min.js';
|
26 |
$plugins_style_path = '/assets/gutenberg/css/editor.css';
|
27 |
$version_path = monsterinsights_is_pro_version() ? 'pro' : 'lite';
|
93 |
'vue_assets_path' => plugins_url( $version_path . '/assets/vue/', MONSTERINSIGHTS_PLUGIN_FILE ),
|
94 |
'is_woocommerce_installed' => class_exists( 'WooCommerce' ),
|
95 |
'license_type' => MonsterInsights()->license->get_license_type(),
|
96 |
+
'upgrade_url' => monsterinsights_get_upgrade_link( 'pageinsights-meta', 'products' ),
|
97 |
'install_woocommerce_url' => $install_woocommerce_url,
|
98 |
'supports_custom_fields' => post_type_supports( $posttype, 'custom-fields' ),
|
99 |
+
'public_post_type' => $posttype ? is_post_type_viewable( $posttype ) : 0,
|
100 |
+
'page_insights_addon_active' => class_exists( 'MonsterInsights_Page_Insights' ),
|
101 |
+
'page_insights_nonce' => wp_create_nonce( 'mi-admin-nonce' ),
|
102 |
+
'isnetwork' => is_network_admin(),
|
103 |
)
|
104 |
);
|
105 |
}
|
includes/helpers.php
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
<?php
|
|
|
2 |
/**
|
3 |
* Helper functions.
|
4 |
*
|
@@ -10,35 +11,37 @@
|
|
10 |
*/
|
11 |
|
12 |
// Exit if accessed directly
|
13 |
-
if (
|
14 |
exit;
|
15 |
}
|
16 |
|
17 |
-
function monsterinsights_is_page_reload()
|
|
|
18 |
// Can't be a refresh without having a referrer
|
19 |
-
if (
|
20 |
return false;
|
21 |
}
|
22 |
|
23 |
// IF the referrer is identical to the current page request, then it's a refresh
|
24 |
-
return (
|
25 |
}
|
26 |
|
27 |
|
28 |
-
function monsterinsights_track_user(
|
29 |
-
|
|
|
30 |
$user = wp_get_current_user();
|
31 |
} else {
|
32 |
-
$user = new WP_User(
|
33 |
}
|
34 |
|
35 |
$track_user = true;
|
36 |
-
$roles = monsterinsights_get_option(
|
37 |
|
38 |
-
if (
|
39 |
-
foreach (
|
40 |
-
if (
|
41 |
-
if (
|
42 |
$track_user = false;
|
43 |
break;
|
44 |
}
|
@@ -46,18 +49,18 @@ function monsterinsights_track_user( $user_id = -1 ) {
|
|
46 |
}
|
47 |
}
|
48 |
|
49 |
-
$track_super_admin = apply_filters(
|
50 |
-
if (
|
51 |
$track_user = false;
|
52 |
}
|
53 |
|
54 |
// or if tracking code is not entered
|
55 |
$tracking_ids = monsterinsights_get_tracking_ids();
|
56 |
-
if (
|
57 |
$track_user = false;
|
58 |
}
|
59 |
|
60 |
-
return apply_filters(
|
61 |
}
|
62 |
|
63 |
/**
|
@@ -65,20 +68,22 @@ function monsterinsights_track_user( $user_id = -1 ) {
|
|
65 |
*
|
66 |
* @return bool
|
67 |
*/
|
68 |
-
function monsterinsights_skip_tracking()
|
69 |
-
|
|
|
70 |
}
|
71 |
|
72 |
-
function monsterinsights_get_client_id(
|
73 |
-
|
|
|
74 |
$payment_id = $payment_id->ID;
|
75 |
}
|
76 |
$user_cid = monsterinsights_get_uuid();
|
77 |
-
$saved_cid = !
|
78 |
|
79 |
-
if (
|
80 |
return $saved_cid;
|
81 |
-
} else if (
|
82 |
return $user_cid;
|
83 |
} else {
|
84 |
return monsterinsights_generate_uuid();
|
@@ -94,8 +99,9 @@ function monsterinsights_get_client_id( $payment_id = false ) {
|
|
94 |
*
|
95 |
* @return bool|string False if cookie isn't set, GA UUID otherwise
|
96 |
*/
|
97 |
-
function monsterinsights_get_uuid()
|
98 |
-
|
|
|
99 |
return false;
|
100 |
}
|
101 |
|
@@ -111,16 +117,16 @@ function monsterinsights_get_uuid() {
|
|
111 |
*/
|
112 |
|
113 |
$ga_cookie = $_COOKIE['_ga'];
|
114 |
-
$cookie_parts = explode(
|
115 |
-
if (
|
116 |
-
$cookie_parts = array_slice(
|
117 |
-
$uuid = implode(
|
118 |
-
if (
|
119 |
return $uuid;
|
120 |
} else {
|
121 |
return false;
|
122 |
}
|
123 |
-
} elseif (
|
124 |
return $ga_cookie;
|
125 |
} else {
|
126 |
return false;
|
@@ -136,27 +142,32 @@ function monsterinsights_get_uuid() {
|
|
136 |
* @since 6.1.8
|
137 |
* @return string
|
138 |
*/
|
139 |
-
function monsterinsights_generate_uuid()
|
|
|
140 |
|
141 |
-
return sprintf(
|
|
|
142 |
|
143 |
// 32 bits for "time_low"
|
144 |
-
mt_rand(
|
|
|
145 |
|
146 |
// 16 bits for "time_mid"
|
147 |
-
mt_rand(
|
148 |
|
149 |
// 16 bits for "time_hi_and_version",
|
150 |
// four most significant bits holds version number 4
|
151 |
-
mt_rand(
|
152 |
|
153 |
// 16 bits, 8 bits for "clk_seq_hi_res",
|
154 |
// 8 bits for "clk_seq_low",
|
155 |
// two most significant bits holds zero and one for variant DCE1.1
|
156 |
-
mt_rand(
|
157 |
|
158 |
// 48 bits for "node"
|
159 |
-
mt_rand(
|
|
|
|
|
160 |
);
|
161 |
}
|
162 |
|
@@ -167,31 +178,33 @@ function monsterinsights_generate_uuid() {
|
|
167 |
*
|
168 |
* @return GA UUID or error code.
|
169 |
*/
|
170 |
-
function monsterinsights_get_cookie(
|
171 |
-
|
172 |
-
|
|
|
173 |
}
|
174 |
|
175 |
$ga_cookie = $_COOKIE['_ga'];
|
176 |
-
$cookie_parts = explode(
|
177 |
-
if (
|
178 |
-
$cookie_parts = array_slice(
|
179 |
-
$uuid = implode(
|
180 |
-
if (
|
181 |
return $ga_cookie;
|
182 |
} else {
|
183 |
-
return (
|
184 |
}
|
185 |
-
} elseif (
|
186 |
return $ga_cookie;
|
187 |
} else {
|
188 |
-
return (
|
189 |
}
|
190 |
}
|
191 |
|
192 |
|
193 |
-
function monsterinsights_generate_ga_client_id()
|
194 |
-
|
|
|
195 |
}
|
196 |
|
197 |
|
@@ -206,13 +219,14 @@ function monsterinsights_generate_ga_client_id() {
|
|
206 |
*
|
207 |
* @return int Hours between the two timestamps, rounded.
|
208 |
*/
|
209 |
-
function monsterinsights_hours_between(
|
210 |
-
|
|
|
211 |
$stop = time();
|
212 |
}
|
213 |
|
214 |
-
$diff = (int) abs(
|
215 |
-
$hours = round(
|
216 |
return $hours;
|
217 |
}
|
218 |
|
@@ -241,8 +255,9 @@ function monsterinsights_hours_between( $start, $stop = false ) {
|
|
241 |
*
|
242 |
* @return bool True if pro version.
|
243 |
*/
|
244 |
-
function monsterinsights_is_pro_version()
|
245 |
-
|
|
|
246 |
return true;
|
247 |
} else {
|
248 |
return false;
|
@@ -255,7 +270,8 @@ function monsterinsights_is_pro_version() {
|
|
255 |
*
|
256 |
* @return array
|
257 |
*/
|
258 |
-
function monsterinsights_get_roles()
|
|
|
259 |
global $wp_roles;
|
260 |
|
261 |
$all_roles = $wp_roles->roles;
|
@@ -266,10 +282,10 @@ function monsterinsights_get_roles() {
|
|
266 |
*
|
267 |
* @api array $all_roles
|
268 |
*/
|
269 |
-
$editable_roles = apply_filters(
|
270 |
|
271 |
-
foreach (
|
272 |
-
$roles[
|
273 |
}
|
274 |
|
275 |
return $roles;
|
@@ -280,7 +296,8 @@ function monsterinsights_get_roles() {
|
|
280 |
*
|
281 |
* @return array
|
282 |
*/
|
283 |
-
function monsterinsights_get_manage_options_roles()
|
|
|
284 |
global $wp_roles;
|
285 |
|
286 |
$all_roles = $wp_roles->roles;
|
@@ -291,11 +308,11 @@ function monsterinsights_get_manage_options_roles() {
|
|
291 |
*
|
292 |
* @api array $all_roles
|
293 |
*/
|
294 |
-
$editable_roles = apply_filters(
|
295 |
|
296 |
-
foreach (
|
297 |
-
if (
|
298 |
-
$roles[
|
299 |
}
|
300 |
}
|
301 |
|
@@ -303,49 +320,50 @@ function monsterinsights_get_manage_options_roles() {
|
|
303 |
}
|
304 |
|
305 |
/** Need to escape in advance of passing in $text. */
|
306 |
-
function monsterinsights_get_message(
|
|
|
307 |
$div = '';
|
308 |
-
if (
|
309 |
$base = MonsterInsights();
|
310 |
-
return $base->notices->display_inline_notice(
|
311 |
} else {
|
312 |
return '';
|
313 |
}
|
314 |
}
|
315 |
|
316 |
-
function monsterinsights_is_dev_url(
|
|
|
317 |
$is_local_url = false;
|
318 |
// Trim it up
|
319 |
-
$url = strtolower(
|
320 |
// Need to get the host...so let's add the scheme so we can use parse_url
|
321 |
-
if (
|
322 |
$url = 'http://' . $url;
|
323 |
}
|
324 |
-
$url_parts = parse_url(
|
325 |
-
$host = !
|
326 |
-
if (
|
327 |
-
if (
|
328 |
-
if (
|
329 |
$is_local_url = true;
|
330 |
}
|
331 |
-
} else if (
|
332 |
$is_local_url = true;
|
333 |
}
|
334 |
|
335 |
-
$tlds_to_check = array(
|
336 |
-
foreach (
|
337 |
-
if (
|
338 |
$is_local_url = true;
|
339 |
break;
|
340 |
}
|
341 |
-
|
342 |
}
|
343 |
-
if (
|
344 |
-
$subdomains_to_check = array(
|
345 |
-
foreach (
|
346 |
-
$subdomain = str_replace(
|
347 |
-
$subdomain = str_replace(
|
348 |
-
if (
|
349 |
$is_local_url = true;
|
350 |
break;
|
351 |
}
|
@@ -356,284 +374,288 @@ function monsterinsights_is_dev_url( $url = '' ) {
|
|
356 |
}
|
357 |
|
358 |
// Set cookie to expire in 2 years
|
359 |
-
function monsterinsights_get_cookie_expiration_date(
|
360 |
-
|
|
|
361 |
}
|
362 |
|
363 |
-
function monsterinsights_string_ends_with(
|
|
|
364 |
$strlen = strlen($string);
|
365 |
$endinglen = strlen($ending);
|
366 |
-
if (
|
367 |
return false;
|
368 |
}
|
369 |
-
return substr_compare(
|
370 |
}
|
371 |
|
372 |
-
function monsterinsights_string_starts_with(
|
373 |
-
|
|
|
374 |
return false;
|
375 |
}
|
376 |
|
377 |
-
return substr(
|
378 |
}
|
379 |
|
380 |
-
function monsterinsights_get_country_list(
|
381 |
-
|
|
|
382 |
$countries = array(
|
383 |
'' => '',
|
384 |
-
'US' => __(
|
385 |
-
'CA' => __(
|
386 |
-
'GB' => __(
|
387 |
-
'AF' => __(
|
388 |
-
'AX' => __(
|
389 |
-
'AL' => __(
|
390 |
-
'DZ' => __(
|
391 |
-
'AS' => __(
|
392 |
-
'AD' => __(
|
393 |
-
'AO' => __(
|
394 |
-
'AI' => __(
|
395 |
-
'AQ' => __(
|
396 |
-
'AG' => __(
|
397 |
-
'AR' => __(
|
398 |
-
'AM' => __(
|
399 |
-
'AW' => __(
|
400 |
-
'AU' => __(
|
401 |
-
'AT' => __(
|
402 |
-
'AZ' => __(
|
403 |
-
'BS' => __(
|
404 |
-
'BH' => __(
|
405 |
-
'BD' => __(
|
406 |
-
'BB' => __(
|
407 |
-
'BY' => __(
|
408 |
-
'BE' => __(
|
409 |
-
'BZ' => __(
|
410 |
-
'BJ' => __(
|
411 |
-
'BM' => __(
|
412 |
-
'BT' => __(
|
413 |
-
'BO' => __(
|
414 |
-
'BQ' => __(
|
415 |
-
'BA' => __(
|
416 |
-
'BW' => __(
|
417 |
-
'BV' => __(
|
418 |
-
'BR' => __(
|
419 |
-
'IO' => __(
|
420 |
-
'BN' => __(
|
421 |
-
'BG' => __(
|
422 |
-
'BF' => __(
|
423 |
-
'BI' => __(
|
424 |
-
'KH' => __(
|
425 |
-
'CM' => __(
|
426 |
-
'CV' => __(
|
427 |
-
'KY' => __(
|
428 |
-
'CF' => __(
|
429 |
-
'TD' => __(
|
430 |
-
'CL' => __(
|
431 |
-
'CN' => __(
|
432 |
-
'CX' => __(
|
433 |
-
'CC' => __(
|
434 |
-
'CO' => __(
|
435 |
-
'KM' => __(
|
436 |
-
'CD' => __(
|
437 |
-
'CG' => __(
|
438 |
-
'CK' => __(
|
439 |
-
'CR' => __(
|
440 |
-
'CI' => __(
|
441 |
-
'HR' => __(
|
442 |
-
'CU' => __(
|
443 |
-
'CW' => __(
|
444 |
-
'CY' => __(
|
445 |
-
'CZ' => __(
|
446 |
-
'DK' => __(
|
447 |
-
'DJ' => __(
|
448 |
-
'DM' => __(
|
449 |
-
'DO' => __(
|
450 |
-
'TP' => __(
|
451 |
-
'EC' => __(
|
452 |
-
'EG' => __(
|
453 |
-
'GQ' => __(
|
454 |
-
'SV' => __(
|
455 |
-
'ER' => __(
|
456 |
-
'EE' => __(
|
457 |
-
'ET' => __(
|
458 |
-
'FK' => __(
|
459 |
-
'FO' => __(
|
460 |
-
'FJ' => __(
|
461 |
-
'FI' => __(
|
462 |
-
'FR' => __(
|
463 |
-
'GF' => __(
|
464 |
-
'PF' => __(
|
465 |
-
'TF' => __(
|
466 |
-
'GA' => __(
|
467 |
-
'GM' => __(
|
468 |
-
'GE' => __(
|
469 |
-
'DE' => __(
|
470 |
-
'GR' => __(
|
471 |
-
'GH' => __(
|
472 |
-
'GI' => __(
|
473 |
-
'GL' => __(
|
474 |
-
'GD' => __(
|
475 |
-
'GP' => __(
|
476 |
-
'GU' => __(
|
477 |
-
'GT' => __(
|
478 |
-
'GG' => __(
|
479 |
-
'GN' => __(
|
480 |
-
'GW' => __(
|
481 |
-
'GY' => __(
|
482 |
-
'HT' => __(
|
483 |
-
'HM' => __(
|
484 |
-
'VA' => __(
|
485 |
-
'HN' => __(
|
486 |
-
'HK' => __(
|
487 |
-
'HU' => __(
|
488 |
-
'IS' => __(
|
489 |
-
'IN' => __(
|
490 |
-
'ID' => __(
|
491 |
-
'IR' => __(
|
492 |
-
'IQ' => __(
|
493 |
-
'IE' => __(
|
494 |
-
'IM' => __(
|
495 |
-
'IL' => __(
|
496 |
-
'IT' => __(
|
497 |
-
'JM' => __(
|
498 |
-
'JP' => __(
|
499 |
-
'JE' => __(
|
500 |
-
'JO' => __(
|
501 |
-
'KZ' => __(
|
502 |
-
'KE' => __(
|
503 |
-
'KI' => __(
|
504 |
-
'KW' => __(
|
505 |
-
'KG' => __(
|
506 |
-
'LA' => __(
|
507 |
-
'LV' => __(
|
508 |
-
'LB' => __(
|
509 |
-
'LS' => __(
|
510 |
-
'LR' => __(
|
511 |
-
'LY' => __(
|
512 |
-
'LI' => __(
|
513 |
-
'LT' => __(
|
514 |
-
'LU' => __(
|
515 |
-
'MO' => __(
|
516 |
-
'MK' => __(
|
517 |
-
'MG' => __(
|
518 |
-
'MW' => __(
|
519 |
-
'MY' => __(
|
520 |
-
'MV' => __(
|
521 |
-
'ML' => __(
|
522 |
-
'MT' => __(
|
523 |
-
'MH' => __(
|
524 |
-
'MQ' => __(
|
525 |
-
'MR' => __(
|
526 |
-
'MU' => __(
|
527 |
-
'YT' => __(
|
528 |
-
'MX' => __(
|
529 |
-
'FM' => __(
|
530 |
-
'MD' => __(
|
531 |
-
'MC' => __(
|
532 |
-
'MN' => __(
|
533 |
-
'ME' => __(
|
534 |
-
'MS' => __(
|
535 |
-
'MA' => __(
|
536 |
-
'MZ' => __(
|
537 |
-
'MM' => __(
|
538 |
-
'NA' => __(
|
539 |
-
'NR' => __(
|
540 |
-
'NP' => __(
|
541 |
-
'NL' => __(
|
542 |
-
'AN' => __(
|
543 |
-
'NC' => __(
|
544 |
-
'NZ' => __(
|
545 |
-
'NI' => __(
|
546 |
-
'NE' => __(
|
547 |
-
'NG' => __(
|
548 |
-
'NU' => __(
|
549 |
-
'NF' => __(
|
550 |
-
'KP' => __(
|
551 |
-
'MP' => __(
|
552 |
-
'NO' => __(
|
553 |
-
'OM' => __(
|
554 |
-
'PK' => __(
|
555 |
-
'PW' => __(
|
556 |
-
'PS' => __(
|
557 |
-
'PA' => __(
|
558 |
-
'PG' => __(
|
559 |
-
'PY' => __(
|
560 |
-
'PE' => __(
|
561 |
-
'PH' => __(
|
562 |
-
'PN' => __(
|
563 |
-
'PL' => __(
|
564 |
-
'PT' => __(
|
565 |
-
'PR' => __(
|
566 |
-
'QA' => __(
|
567 |
-
'XK' => __(
|
568 |
-
'RE' => __(
|
569 |
-
'RO' => __(
|
570 |
-
'RU' => __(
|
571 |
-
'RW' => __(
|
572 |
-
'BL' => __(
|
573 |
-
'SH' => __(
|
574 |
-
'KN' => __(
|
575 |
-
'LC' => __(
|
576 |
-
'MF' => __(
|
577 |
-
'SX' => __(
|
578 |
-
'PM' => __(
|
579 |
-
'VC' => __(
|
580 |
-
'SM' => __(
|
581 |
-
'ST' => __(
|
582 |
-
'SA' => __(
|
583 |
-
'SN' => __(
|
584 |
-
'RS' => __(
|
585 |
-
'SC' => __(
|
586 |
-
'SL' => __(
|
587 |
-
'SG' => __(
|
588 |
-
'SK' => __(
|
589 |
-
'SI' => __(
|
590 |
-
'SB' => __(
|
591 |
-
'SO' => __(
|
592 |
-
'ZA' => __(
|
593 |
-
'GS' => __(
|
594 |
-
'KR' => __(
|
595 |
-
'SS' => __(
|
596 |
-
'ES' => __(
|
597 |
-
'LK' => __(
|
598 |
-
'SD' => __(
|
599 |
-
'SR' => __(
|
600 |
-
'SJ' => __(
|
601 |
-
'SZ' => __(
|
602 |
-
'SE' => __(
|
603 |
-
'CH' => __(
|
604 |
-
'SY' => __(
|
605 |
-
'TW' => __(
|
606 |
-
'TJ' => __(
|
607 |
-
'TZ' => __(
|
608 |
-
'TH' => __(
|
609 |
-
'TL' => __(
|
610 |
-
'TG' => __(
|
611 |
-
'TK' => __(
|
612 |
-
'TO' => __(
|
613 |
-
'TT' => __(
|
614 |
-
'TN' => __(
|
615 |
-
'TR' => __(
|
616 |
-
'TM' => __(
|
617 |
-
'TC' => __(
|
618 |
-
'TV' => __(
|
619 |
-
'UG' => __(
|
620 |
-
'UA' => __(
|
621 |
-
'AE' => __(
|
622 |
-
'UY' => __(
|
623 |
-
'UM' => __(
|
624 |
-
'UZ' => __(
|
625 |
-
'VU' => __(
|
626 |
-
'VE' => __(
|
627 |
-
'VN' => __(
|
628 |
-
'VG' => __(
|
629 |
-
'VI' => __(
|
630 |
-
'WF' => __(
|
631 |
-
'EH' => __(
|
632 |
-
'WS' => __(
|
633 |
-
'YE' => __(
|
634 |
-
'ZM' => __(
|
635 |
-
'ZW' => __(
|
636 |
-
'ZZ' => __(
|
637 |
);
|
638 |
} else {
|
639 |
$countries = array(
|
@@ -896,55 +918,61 @@ function monsterinsights_get_country_list( $translated = false ) {
|
|
896 |
return $countries;
|
897 |
}
|
898 |
|
899 |
-
function monsterinsights_get_api_url()
|
900 |
-
|
|
|
901 |
}
|
902 |
|
903 |
-
function monsterinsights_get_licensing_url()
|
904 |
-
|
|
|
905 |
}
|
906 |
|
907 |
-
function monsterinsights_is_wp_seo_active(
|
|
|
908 |
$wp_seo_active = false; // @todo: improve this check. This is from old Yoast code.
|
909 |
|
910 |
// Makes sure is_plugin_active is available when called from front end
|
911 |
-
include_once(
|
912 |
-
if (
|
913 |
$wp_seo_active = true;
|
914 |
}
|
915 |
return $wp_seo_active;
|
916 |
}
|
917 |
|
918 |
-
function monsterinsights_get_asset_version()
|
919 |
-
|
|
|
920 |
return time();
|
921 |
} else {
|
922 |
return MONSTERINSIGHTS_VERSION;
|
923 |
}
|
924 |
}
|
925 |
|
926 |
-
function monsterinsights_is_debug_mode()
|
|
|
927 |
$debug_mode = false;
|
928 |
-
if (
|
929 |
$debug_mode = true;
|
930 |
}
|
931 |
|
932 |
-
return apply_filters(
|
933 |
}
|
934 |
|
935 |
-
function monsterinsights_is_network_active()
|
936 |
-
|
937 |
-
|
|
|
938 |
}
|
939 |
|
940 |
-
if (
|
941 |
return true;
|
942 |
} else {
|
943 |
return false;
|
944 |
}
|
945 |
}
|
946 |
|
947 |
-
if (
|
948 |
/**
|
949 |
* Remove Class Filter Without Access to Class Object
|
950 |
*
|
@@ -962,10 +990,11 @@ if ( ! function_exists ( 'remove_class_filter' ) ) {
|
|
962 |
*
|
963 |
* @return bool Whether the function is removed.
|
964 |
*/
|
965 |
-
function remove_class_filter(
|
|
|
966 |
global $wp_filter;
|
967 |
// Check that filter actually exists first
|
968 |
-
if (
|
969 |
/**
|
970 |
* If filter config is an object, means we're using WordPress 4.7+ and the config is no longer
|
971 |
* a simple array, rather it is an object that implements the ArrayAccess interface.
|
@@ -974,33 +1003,33 @@ if ( ! function_exists ( 'remove_class_filter' ) ) {
|
|
974 |
*
|
975 |
* @see https://make.wordpress.org/core/2016/09/08/wp_hook-next-generation-actions-and-filters/
|
976 |
*/
|
977 |
-
if (
|
978 |
-
$callbacks = &$wp_filter[
|
979 |
} else {
|
980 |
-
$callbacks = &$wp_filter[
|
981 |
}
|
982 |
// Exit if there aren't any callbacks for specified priority
|
983 |
-
if (
|
984 |
// Loop through each filter for the specified priority, looking for our class & method
|
985 |
-
foreach
|
986 |
// Filter should always be an array - array( $this, 'method' ), if not goto next
|
987 |
-
if (
|
988 |
// If first value in array is not an object, it can't be a class
|
989 |
-
if (
|
990 |
// Method doesn't match the one we're looking for, goto next
|
991 |
-
if (
|
992 |
// Method matched, now let's check the Class
|
993 |
-
if (
|
994 |
// Now let's remove it from the array
|
995 |
-
unset(
|
996 |
// and if it was the only filter in that priority, unset that priority
|
997 |
-
if (
|
998 |
// and if the only filter for that tag, set the tag to an empty array
|
999 |
-
if (
|
1000 |
// If using WordPress older than 4.7
|
1001 |
-
if (
|
1002 |
// Remove this filter from merged_filters, which specifies if filters have been sorted
|
1003 |
-
unset(
|
1004 |
}
|
1005 |
return TRUE;
|
1006 |
}
|
@@ -1009,7 +1038,7 @@ if ( ! function_exists ( 'remove_class_filter' ) ) {
|
|
1009 |
}
|
1010 |
} // End function exists
|
1011 |
|
1012 |
-
if (
|
1013 |
/**
|
1014 |
* Remove Class Action Without Access to Class Object
|
1015 |
*
|
@@ -1027,8 +1056,9 @@ if ( ! function_exists ( 'remove_class_action' ) ) {
|
|
1027 |
*
|
1028 |
* @return bool Whether the function is removed.
|
1029 |
*/
|
1030 |
-
function remove_class_action(
|
1031 |
-
|
|
|
1032 |
}
|
1033 |
} // End function exists
|
1034 |
|
@@ -1040,23 +1070,24 @@ if ( ! function_exists ( 'remove_class_action' ) ) {
|
|
1040 |
*
|
1041 |
* @return string
|
1042 |
*/
|
1043 |
-
function monsterinsights_round_number(
|
|
|
1044 |
|
1045 |
-
if (
|
1046 |
// Anything less than a million
|
1047 |
-
$number = number_format_i18n(
|
1048 |
-
} else if (
|
1049 |
// Anything less than a billion
|
1050 |
-
$number = number_format_i18n(
|
1051 |
} else {
|
1052 |
// At least a billion
|
1053 |
-
$number = number_format_i18n(
|
1054 |
}
|
1055 |
|
1056 |
return $number;
|
1057 |
}
|
1058 |
|
1059 |
-
if (
|
1060 |
/**
|
1061 |
* Returns Jed-formatted localization data. Added for backwards-compatibility.
|
1062 |
*
|
@@ -1064,138 +1095,144 @@ if ( ! function_exists( 'wp_get_jed_locale_data' ) ) {
|
|
1064 |
*
|
1065 |
* @return array
|
1066 |
*/
|
1067 |
-
function wp_get_jed_locale_data(
|
1068 |
-
|
|
|
1069 |
|
1070 |
$locale = array(
|
1071 |
'' => array(
|
1072 |
'domain' => $domain,
|
1073 |
-
'lang' => is_admin() && function_exists(
|
1074 |
),
|
1075 |
);
|
1076 |
|
1077 |
-
if (
|
1078 |
$locale['']['plural_forms'] = $translations->headers['Plural-Forms'];
|
1079 |
}
|
1080 |
|
1081 |
-
foreach (
|
1082 |
-
$locale[
|
1083 |
}
|
1084 |
|
1085 |
return $locale;
|
1086 |
}
|
1087 |
}
|
1088 |
|
1089 |
-
function monsterinsights_get_inline_menu_icon()
|
1090 |
-
|
|
|
1091 |
$use_dark_scheme = $scheme === 'light';
|
1092 |
-
if (
|
1093 |
-
return 'data:image/
|
|
|
1094 |
} else {
|
1095 |
-
return 'data:image/
|
|
|
1096 |
}
|
1097 |
}
|
1098 |
|
1099 |
|
1100 |
-
function monsterinsights_get_shareasale_id()
|
|
|
1101 |
// Check if there's a constant.
|
1102 |
$shareasale_id = '';
|
1103 |
-
if (
|
1104 |
$shareasale_id = MONSTERINSIGHTS_SHAREASALE_ID;
|
1105 |
}
|
1106 |
|
1107 |
// If there's no constant, check if there's an option.
|
1108 |
-
if (
|
1109 |
-
$shareasale_id = get_option(
|
1110 |
}
|
1111 |
|
1112 |
// Whether we have an ID or not, filter the ID.
|
1113 |
-
$shareasale_id = apply_filters(
|
1114 |
|
1115 |
// Ensure it's a number
|
1116 |
-
$shareasale_id = absint(
|
1117 |
|
1118 |
return $shareasale_id;
|
1119 |
}
|
1120 |
|
1121 |
// Passed in with mandatory default redirect and shareasaleid from monsterinsights_get_upgrade_link
|
1122 |
-
function monsterinsights_get_shareasale_url(
|
|
|
1123 |
// Check if there's a constant.
|
1124 |
$custom = false;
|
1125 |
-
if (
|
1126 |
$shareasale_redirect = MONSTERINSIGHTS_SHAREASALE_REDIRECT_URL;
|
1127 |
$custom = true;
|
1128 |
}
|
1129 |
|
1130 |
// If there's no constant, check if there's an option.
|
1131 |
-
if (
|
1132 |
-
$shareasale_redirect = get_option(
|
1133 |
$custom = true;
|
1134 |
}
|
1135 |
|
1136 |
// Whether we have an ID or not, filter the ID.
|
1137 |
-
$shareasale_redirect = apply_filters(
|
1138 |
-
$shareasale_url = sprintf(
|
1139 |
-
$shareasale_url = apply_filters(
|
1140 |
return $shareasale_url;
|
1141 |
}
|
1142 |
|
1143 |
/**
|
1144 |
* Get a clean page title for archives.
|
1145 |
*/
|
1146 |
-
function monsterinsights_get_page_title()
|
|
|
1147 |
|
1148 |
-
$title = __(
|
1149 |
|
1150 |
-
if (
|
1151 |
/* translators: Category archive title. %s: Category name */
|
1152 |
-
$title = sprintf(
|
1153 |
-
} elseif (
|
1154 |
/* translators: Tag archive title. %s: Tag name */
|
1155 |
-
$title = sprintf(
|
1156 |
-
} elseif (
|
1157 |
/* translators: Author archive title. %s: Author name */
|
1158 |
-
$title = sprintf(
|
1159 |
-
} elseif (
|
1160 |
/* translators: Yearly archive title. %s: Year */
|
1161 |
-
$title = sprintf(
|
1162 |
-
} elseif (
|
1163 |
/* translators: Monthly archive title. %s: Month name and year */
|
1164 |
-
$title = sprintf(
|
1165 |
-
} elseif (
|
1166 |
/* translators: Daily archive title. %s: Date */
|
1167 |
-
$title = sprintf(
|
1168 |
-
} elseif (
|
1169 |
-
if (
|
1170 |
-
$title = _x(
|
1171 |
-
} elseif (
|
1172 |
-
$title = _x(
|
1173 |
-
} elseif (
|
1174 |
-
$title = _x(
|
1175 |
-
} elseif (
|
1176 |
-
$title = _x(
|
1177 |
-
} elseif (
|
1178 |
-
$title = _x(
|
1179 |
-
} elseif (
|
1180 |
-
$title = _x(
|
1181 |
-
} elseif (
|
1182 |
-
$title = _x(
|
1183 |
-
} elseif (
|
1184 |
-
$title = _x(
|
1185 |
-
} elseif (
|
1186 |
-
$title = _x(
|
1187 |
}
|
1188 |
-
} elseif (
|
1189 |
/* translators: Post type archive title. %s: Post type name */
|
1190 |
-
$title = sprintf(
|
1191 |
-
} elseif (
|
1192 |
-
$tax = get_taxonomy(
|
1193 |
/* translators: Taxonomy term archive title. 1: Taxonomy singular name, 2: Current taxonomy term */
|
1194 |
-
$title = sprintf(
|
1195 |
}
|
1196 |
|
1197 |
return $title;
|
1198 |
-
|
1199 |
}
|
1200 |
|
1201 |
/**
|
@@ -1209,11 +1246,6 @@ function monsterinsights_get_page_title() {
|
|
1209 |
function monsterinsights_count_third_party_ua_codes( $body, $type = 'ua' ) {
|
1210 |
$count = 0;
|
1211 |
|
1212 |
-
// If the ads addon is installed another UA is added to the page.
|
1213 |
-
if ( class_exists( 'MonsterInsights_Ads' ) ) {
|
1214 |
-
$count++;
|
1215 |
-
}
|
1216 |
-
|
1217 |
// Count all potential google site verification tags
|
1218 |
if ( $type === 'ua' ) {
|
1219 |
$pattern = '/content="UA-[0-9-]+"/';
|
@@ -1248,6 +1280,38 @@ function monsterinsights_count_third_party_ua_codes( $body, $type = 'ua' ) {
|
|
1248 |
return $count;
|
1249 |
}
|
1250 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1251 |
/**
|
1252 |
* Detect tracking code error depending on the type of tracking code
|
1253 |
*
|
@@ -1270,6 +1334,7 @@ function monsterinsights_detect_tracking_code_error( $body, $type = 'ua' ) {
|
|
1270 |
if ( $current_code && false === strpos( $body, $current_code ) ) {
|
1271 |
// We have the tracking code but using another UA, so it's cached.
|
1272 |
$errors[] = $cache_error;
|
|
|
1273 |
return $errors;
|
1274 |
}
|
1275 |
|
@@ -1279,11 +1344,14 @@ function monsterinsights_detect_tracking_code_error( $body, $type = 'ua' ) {
|
|
1279 |
|
1280 |
if ( $type === 'v4' && false === strpos( $body, '__gtagTracker' ) ) {
|
1281 |
$errors[] = $cache_error;
|
|
|
1282 |
return $errors;
|
1283 |
}
|
1284 |
|
1285 |
$limit = 3;
|
1286 |
|
|
|
|
|
1287 |
// TODO: Need to re-evaluate this regularly when third party plugins start supporting v4
|
1288 |
$limit += monsterinsights_count_third_party_ua_codes( $body, $type );
|
1289 |
|
@@ -1296,7 +1364,7 @@ function monsterinsights_detect_tracking_code_error( $body, $type = 'ua' ) {
|
|
1296 |
$total_count -= count( $matches[0] );
|
1297 |
}
|
1298 |
|
1299 |
-
// Main property always has a ?id=(UA|G)-XXXXXXXX script
|
1300 |
$connected_type = MonsterInsights()->auth->get_connected_type();
|
1301 |
if ( $type === $connected_type && strpos( $body, 'googletagmanager.com/gtag/js?id=' . $current_code ) !== false ) {
|
1302 |
// In that case, we can safely deduct one from the total count
|
@@ -1327,11 +1395,12 @@ function monsterinsights_detect_tracking_code_error( $body, $type = 'ua' ) {
|
|
1327 |
*
|
1328 |
* @return array
|
1329 |
*/
|
1330 |
-
function monsterinsights_is_code_installed_frontend()
|
|
|
1331 |
// Grab the front page html.
|
1332 |
-
$request = wp_remote_request(
|
1333 |
'sslverify' => false,
|
1334 |
-
)
|
1335 |
$errors = array();
|
1336 |
|
1337 |
$accepted_http_codes = array(
|
@@ -1339,14 +1408,14 @@ function monsterinsights_is_code_installed_frontend() {
|
|
1339 |
503
|
1340 |
);
|
1341 |
|
1342 |
-
$response_code = wp_remote_retrieve_response_code(
|
1343 |
|
1344 |
-
if (
|
1345 |
-
$body = wp_remote_retrieve_body(
|
1346 |
|
1347 |
$errors = array_merge(
|
1348 |
-
monsterinsights_detect_tracking_code_error(
|
1349 |
-
monsterinsights_detect_tracking_code_error(
|
1350 |
);
|
1351 |
}
|
1352 |
|
@@ -1356,11 +1425,12 @@ function monsterinsights_is_code_installed_frontend() {
|
|
1356 |
/**
|
1357 |
* Returns a HEX color to highlight menu items based on the admin color scheme.
|
1358 |
*/
|
1359 |
-
function monsterinsights_menu_highlight_color()
|
|
|
1360 |
|
1361 |
-
$color_scheme = get_user_option(
|
1362 |
$color = '#1da867';
|
1363 |
-
if (
|
1364 |
$color = '#5f3ea7';
|
1365 |
}
|
1366 |
|
@@ -1372,39 +1442,40 @@ function monsterinsights_menu_highlight_color() {
|
|
1372 |
*
|
1373 |
* @param string $url The url to which users get redirected.
|
1374 |
*/
|
1375 |
-
function monsterinsights_custom_track_pretty_links_redirect(
|
1376 |
-
|
|
|
1377 |
return;
|
1378 |
}
|
1379 |
// Try to determine if click originated on the same site.
|
1380 |
-
$referer = !
|
1381 |
-
if (
|
1382 |
-
$current_site_url = get_bloginfo(
|
1383 |
-
$current_site_parsed = wp_parse_url(
|
1384 |
-
$parsed_referer = wp_parse_url(
|
1385 |
-
if (
|
1386 |
// Don't track clicks originating from same site as those are tracked with JS.
|
1387 |
return;
|
1388 |
}
|
1389 |
}
|
1390 |
// Check if this is an affiliate link and use the appropriate category.
|
1391 |
$ec = 'outbound-link';
|
1392 |
-
$inbound_paths = monsterinsights_get_option(
|
1393 |
-
$path = empty(
|
1394 |
-
if (
|
1395 |
$found = false;
|
1396 |
-
foreach (
|
1397 |
-
if (
|
1398 |
continue;
|
1399 |
}
|
1400 |
-
if (
|
1401 |
-
$label = !
|
1402 |
$ec .= '-' . $label;
|
1403 |
$found = true;
|
1404 |
break;
|
1405 |
}
|
1406 |
}
|
1407 |
-
if (
|
1408 |
return;
|
1409 |
}
|
1410 |
} else {
|
@@ -1412,18 +1483,18 @@ function monsterinsights_custom_track_pretty_links_redirect( $url ) {
|
|
1412 |
return;
|
1413 |
}
|
1414 |
|
1415 |
-
if (
|
1416 |
$track_args = array(
|
1417 |
't' => 'event',
|
1418 |
'ec' => $ec,
|
1419 |
'ea' => $url,
|
1420 |
'el' => 'external-redirect',
|
1421 |
);
|
1422 |
-
monsterinsights_mp_track_event_call(
|
1423 |
}
|
1424 |
|
1425 |
-
if (
|
1426 |
-
$url_components = parse_url(
|
1427 |
$args = array(
|
1428 |
'events' => array(
|
1429 |
array(
|
@@ -1435,31 +1506,32 @@ function monsterinsights_custom_track_pretty_links_redirect( $url ) {
|
|
1435 |
)
|
1436 |
);
|
1437 |
|
1438 |
-
if (
|
1439 |
$args['events'][0]['affiliate_label'] = $label;
|
1440 |
$args['events'][0]['is_affiliate_link'] = true;
|
1441 |
}
|
1442 |
|
1443 |
-
monsterinsights_mp_collect_v4(
|
1444 |
}
|
1445 |
}
|
1446 |
-
add_action(
|
1447 |
|
1448 |
/**
|
1449 |
* Get post type in admin side
|
1450 |
*
|
1451 |
*/
|
1452 |
-
function monsterinsights_get_current_post_type()
|
|
|
1453 |
global $post, $typenow, $current_screen;
|
1454 |
|
1455 |
-
if (
|
1456 |
return $post->post_type;
|
1457 |
-
} elseif (
|
1458 |
return $typenow;
|
1459 |
-
} elseif (
|
1460 |
return $current_screen->post_type;
|
1461 |
-
} elseif (
|
1462 |
-
return sanitize_key(
|
1463 |
}
|
1464 |
|
1465 |
return null;
|
@@ -1473,16 +1545,17 @@ function monsterinsights_get_current_post_type() {
|
|
1473 |
*
|
1474 |
* @return string
|
1475 |
*/
|
1476 |
-
function monsterinsights_decode_string(
|
|
|
1477 |
|
1478 |
-
if (
|
1479 |
return $string;
|
1480 |
}
|
1481 |
|
1482 |
-
return wp_kses_decode_entities(
|
1483 |
}
|
1484 |
|
1485 |
-
add_filter(
|
1486 |
|
1487 |
/**
|
1488 |
* Sanitize a string, that can be a multiline.
|
@@ -1495,16 +1568,17 @@ add_filter( 'monsterinsights_email_message', 'monsterinsights_decode_string' );
|
|
1495 |
*
|
1496 |
* @return string If empty var is passed, or not a string - return unmodified. Otherwise - sanitize.
|
1497 |
*/
|
1498 |
-
function monsterinsights_sanitize_textarea_field(
|
|
|
1499 |
|
1500 |
-
if (
|
1501 |
return $string;
|
1502 |
}
|
1503 |
|
1504 |
-
if (
|
1505 |
-
$string = sanitize_textarea_field(
|
1506 |
} else {
|
1507 |
-
$string = implode(
|
1508 |
}
|
1509 |
|
1510 |
return $string;
|
@@ -1520,15 +1594,16 @@ function monsterinsights_sanitize_textarea_field( $string ) {
|
|
1520 |
*
|
1521 |
* @return trimed sentence
|
1522 |
*/
|
1523 |
-
function monsterinsights_trim_text(
|
|
|
1524 |
$text = str_replace(" ", " ", $text);
|
1525 |
$string = explode(" ", $text);
|
1526 |
$trimed = "";
|
1527 |
|
1528 |
-
for (
|
1529 |
-
$trimed .= isset(
|
1530 |
|
1531 |
-
if (
|
1532 |
$trimed .= " ";
|
1533 |
} else {
|
1534 |
$trimed .= "...";
|
@@ -1544,131 +1619,134 @@ function monsterinsights_trim_text( $text, $count ){
|
|
1544 |
* Add newly generated builder URL to PrettyLinks &
|
1545 |
* Clear localStorage key(MonsterInsightsURL) after saving PrettyLink
|
1546 |
*/
|
1547 |
-
function monsterinsights_tools_copy_url_to_prettylinks()
|
|
|
1548 |
global $pagenow;
|
1549 |
|
1550 |
-
$post_type = isset(
|
1551 |
-
$monsterinsights_reference = isset(
|
1552 |
-
|
1553 |
-
if (
|
1554 |
-
|
1555 |
-
|
1556 |
-
|
1557 |
-
|
1558 |
-
|
1559 |
-
|
1560 |
-
|
1561 |
-
|
1562 |
-
|
1563 |
-
|
1564 |
-
|
1565 |
-
|
1566 |
-
|
1567 |
-
|
1568 |
-
|
1569 |
-
|
1570 |
-
|
1571 |
-
|
1572 |
-
|
1573 |
-
|
1574 |
-
|
1575 |
-
|
1576 |
-
|
1577 |
-
|
1578 |
-
|
1579 |
-
|
1580 |
-
|
1581 |
-
|
1582 |
-
|
1583 |
-
|
1584 |
-
|
1585 |
-
|
1586 |
-
|
1587 |
-
|
1588 |
-
|
1589 |
-
|
1590 |
-
|
1591 |
-
|
1592 |
-
|
1593 |
-
|
1594 |
-
|
1595 |
-
|
1596 |
-
|
1597 |
-
|
1598 |
-
|
1599 |
}
|
1600 |
-
add_action(
|
1601 |
|
1602 |
/**
|
1603 |
* When click on 'Create New Pretty Link" button(on tools/prettylinks-flow page) after installing & activating prettylinks plugin
|
1604 |
* it redirects to PrettyLinks welcome scree page instead of prettylinks add new page.
|
1605 |
* This function will skip that welcome screen
|
1606 |
*/
|
1607 |
-
function monsterinsights_skip_prettylinks_welcome_screen()
|
|
|
1608 |
global $pagenow;
|
1609 |
|
1610 |
-
$post_type = isset(
|
1611 |
-
$monsterinsights_reference = isset(
|
1612 |
|
1613 |
-
if (
|
1614 |
-
$onboard = get_option(
|
1615 |
|
1616 |
-
if (
|
1617 |
-
update_option(
|
1618 |
-
delete_option(
|
1619 |
}
|
1620 |
}
|
1621 |
}
|
1622 |
-
add_action(
|
1623 |
|
1624 |
/**
|
1625 |
* Restore the `prli_onboard` value after creating a prettylinks with monsterinsights prettylinks flow
|
1626 |
* users will see the prettylinks welcome screen after fresh installation & creating prettylinks with monsterinsights prettylinks flow
|
1627 |
*/
|
1628 |
-
function monsterinsights_restore_prettylinks_onboard_value()
|
|
|
1629 |
global $pagenow;
|
1630 |
|
1631 |
-
$post_type = isset(
|
1632 |
|
1633 |
-
if (
|
1634 |
-
$onboard = get_option(
|
1635 |
|
1636 |
-
if (
|
1637 |
-
update_option(
|
1638 |
-
delete_option(
|
1639 |
}
|
1640 |
}
|
1641 |
}
|
1642 |
-
add_action(
|
1643 |
|
1644 |
/**
|
1645 |
* Check WP version and include the compatible upgrader skin.
|
1646 |
*
|
1647 |
* @param bool $custom_upgrader If true it will include our custom upgrader, otherwise it will use the default WP one.
|
1648 |
*/
|
1649 |
-
function monsterinsights_require_upgrader(
|
|
|
1650 |
|
1651 |
global $wp_version;
|
1652 |
|
1653 |
$base = MonsterInsights();
|
1654 |
|
1655 |
-
if (
|
1656 |
require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
|
1657 |
}
|
1658 |
|
1659 |
// WP 5.3 changes the upgrader skin.
|
1660 |
-
if (
|
1661 |
-
if (
|
1662 |
-
require_once plugin_dir_path(
|
1663 |
}
|
1664 |
-
require_once plugin_dir_path(
|
1665 |
} else {
|
1666 |
-
if (
|
1667 |
-
require_once plugin_dir_path(
|
1668 |
}
|
1669 |
-
require_once plugin_dir_path(
|
1670 |
}
|
1671 |
-
|
1672 |
}
|
1673 |
|
1674 |
/**
|
@@ -1678,10 +1756,11 @@ function monsterinsights_require_upgrader( $custom_upgrader = true ) {
|
|
1678 |
* @since 7.12.3
|
1679 |
*
|
1680 |
*/
|
1681 |
-
function monsterinsights_load_gutenberg_app()
|
|
|
1682 |
global $wp_version;
|
1683 |
|
1684 |
-
if (
|
1685 |
return false;
|
1686 |
}
|
1687 |
|
@@ -1696,25 +1775,26 @@ function monsterinsights_load_gutenberg_app() {
|
|
1696 |
*
|
1697 |
*
|
1698 |
*/
|
1699 |
-
function monsterinsights_get_frontend_analytics_script_atts()
|
|
|
1700 |
$attr_string = '';
|
1701 |
|
1702 |
-
|
1703 |
'data-cfasync' => 'false',
|
1704 |
'data-wpfc-render' => 'false',
|
1705 |
-
|
1706 |
-
|
1707 |
$default_attributes['type'] = 'text/javascript';
|
1708 |
-
|
1709 |
|
1710 |
-
$attributes = apply_filters(
|
1711 |
|
1712 |
-
if (
|
1713 |
-
foreach (
|
1714 |
-
if (
|
1715 |
-
$attr_string .= ' ' . sanitize_key(
|
1716 |
} else {
|
1717 |
-
$attr_string .= ' ' . esc_attr(
|
1718 |
}
|
1719 |
}
|
1720 |
}
|
@@ -1729,26 +1809,27 @@ function monsterinsights_get_frontend_analytics_script_atts() {
|
|
1729 |
* @since 8.5.0
|
1730 |
*
|
1731 |
*/
|
1732 |
-
function monsterinsights_localize_script(
|
1733 |
-
|
1734 |
-
$
|
1735 |
-
$script_js
|
1736 |
-
$script_js .=
|
|
|
1737 |
|
1738 |
$script = sprintf(
|
1739 |
"<script%s id='%s-js-extra'>%s</script>\n",
|
1740 |
monsterinsights_get_frontend_analytics_script_atts(),
|
1741 |
-
esc_attr(
|
1742 |
$script_js
|
1743 |
);
|
1744 |
|
1745 |
-
add_filter(
|
1746 |
-
if (
|
1747 |
return $tag;
|
1748 |
}
|
1749 |
|
1750 |
return $tag . $script;
|
1751 |
-
}, $priority, 2
|
1752 |
}
|
1753 |
|
1754 |
/**
|
@@ -1758,66 +1839,67 @@ function monsterinsights_localize_script( $handle, $object_name, $data, $priorit
|
|
1758 |
*
|
1759 |
* @since 7.12.3
|
1760 |
*/
|
1761 |
-
function monsterinsights_get_english_speaking_countries()
|
|
|
1762 |
return array(
|
1763 |
-
'AG' => __(
|
1764 |
-
'AU' => __(
|
1765 |
-
'BB' => __(
|
1766 |
-
'BZ' => __(
|
1767 |
-
'BW' => __(
|
1768 |
-
'BI' => __(
|
1769 |
-
'CM' => __(
|
1770 |
-
'CA' => __(
|
1771 |
-
'DM' => __(
|
1772 |
-
'FJ' => __(
|
1773 |
-
'GD' => __(
|
1774 |
-
'GY' => __(
|
1775 |
-
'GM' => __(
|
1776 |
-
'GH' => __(
|
1777 |
-
'IE' => __(
|
1778 |
-
'IN' => __(
|
1779 |
-
'JM' => __(
|
1780 |
-
'KE' => __(
|
1781 |
-
'KI' => __(
|
1782 |
-
'LS' => __(
|
1783 |
-
'LR' => __(
|
1784 |
-
'MW' => __(
|
1785 |
-
'MT' => __(
|
1786 |
-
'MH' => __(
|
1787 |
-
'MU' => __(
|
1788 |
-
'FM' => __(
|
1789 |
-
'NZ' => __(
|
1790 |
-
'NA' => __(
|
1791 |
-
'NR' => __(
|
1792 |
-
'NG' => __(
|
1793 |
-
'PK' => __(
|
1794 |
-
'PW' => __(
|
1795 |
-
'PG' => __(
|
1796 |
-
'PH' => __(
|
1797 |
-
'RW' => __(
|
1798 |
-
'SG' => __(
|
1799 |
-
'KN' => __(
|
1800 |
-
'LC' => __(
|
1801 |
-
'VC' => __(
|
1802 |
-
'SZ' => __(
|
1803 |
-
'WS' => __(
|
1804 |
-
'SC' => __(
|
1805 |
-
'SL' => __(
|
1806 |
-
'SB' => __(
|
1807 |
-
'ZA' => __(
|
1808 |
-
'SS' => __(
|
1809 |
-
'SD' => __(
|
1810 |
-
'TT' => __(
|
1811 |
-
'BS' => __(
|
1812 |
-
'TZ' => __(
|
1813 |
-
'TO' => __(
|
1814 |
-
'TV' => __(
|
1815 |
-
'GB' => __(
|
1816 |
-
'US' => __(
|
1817 |
-
'UG' => __(
|
1818 |
-
'VU' => __(
|
1819 |
-
'ZM' => __(
|
1820 |
-
'ZW' => __(
|
1821 |
);
|
1822 |
}
|
1823 |
|
@@ -1826,14 +1908,15 @@ function monsterinsights_get_english_speaking_countries() {
|
|
1826 |
*
|
1827 |
* @return bool
|
1828 |
*/
|
1829 |
-
function monsterinsights_can_install_plugins()
|
|
|
1830 |
|
1831 |
-
if (
|
1832 |
return false;
|
1833 |
}
|
1834 |
|
1835 |
// Determine whether file modifications are allowed.
|
1836 |
-
if (
|
1837 |
return false;
|
1838 |
}
|
1839 |
|
@@ -1850,14 +1933,15 @@ function monsterinsights_can_install_plugins() {
|
|
1850 |
*
|
1851 |
* @return bool
|
1852 |
*/
|
1853 |
-
function monsterinsights_date_is_between(
|
|
|
1854 |
|
1855 |
-
$current_date = current_time(
|
1856 |
|
1857 |
-
$start_date = date(
|
1858 |
-
$end_date = date(
|
1859 |
|
1860 |
-
if (
|
1861 |
return true;
|
1862 |
}
|
1863 |
|
@@ -1871,9 +1955,10 @@ function monsterinsights_date_is_between( $start_date, $end_date ) {
|
|
1871 |
*
|
1872 |
* @return bool
|
1873 |
*/
|
1874 |
-
function monsterinsights_is_aioseo_active()
|
|
|
1875 |
|
1876 |
-
if (
|
1877 |
return true;
|
1878 |
}
|
1879 |
|
@@ -1887,11 +1972,12 @@ function monsterinsights_is_aioseo_active() {
|
|
1887 |
*
|
1888 |
* @return string
|
1889 |
*/
|
1890 |
-
function monsterinsights_aioseo_dashboard_url()
|
|
|
1891 |
$url = '';
|
1892 |
|
1893 |
-
if (
|
1894 |
-
$url = is_multisite() ? network_admin_url(
|
1895 |
}
|
1896 |
|
1897 |
return $url;
|
@@ -1904,10 +1990,11 @@ function monsterinsights_aioseo_dashboard_url() {
|
|
1904 |
*
|
1905 |
* @return bool
|
1906 |
*/
|
1907 |
-
function monsterinsights_is_installed_aioseo_pro()
|
|
|
1908 |
$installed_plugins = get_plugins();
|
1909 |
|
1910 |
-
if (
|
1911 |
return true;
|
1912 |
}
|
1913 |
|
1 |
<?php
|
2 |
+
|
3 |
/**
|
4 |
* Helper functions.
|
5 |
*
|
11 |
*/
|
12 |
|
13 |
// Exit if accessed directly
|
14 |
+
if (!defined('ABSPATH')) {
|
15 |
exit;
|
16 |
}
|
17 |
|
18 |
+
function monsterinsights_is_page_reload()
|
19 |
+
{
|
20 |
// Can't be a refresh without having a referrer
|
21 |
+
if (!isset($_SERVER['HTTP_REFERER'])) {
|
22 |
return false;
|
23 |
}
|
24 |
|
25 |
// IF the referrer is identical to the current page request, then it's a refresh
|
26 |
+
return (parse_url($_SERVER['HTTP_REFERER'], PHP_URL_PATH) === parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH));
|
27 |
}
|
28 |
|
29 |
|
30 |
+
function monsterinsights_track_user($user_id = -1)
|
31 |
+
{
|
32 |
+
if ($user_id === -1) {
|
33 |
$user = wp_get_current_user();
|
34 |
} else {
|
35 |
+
$user = new WP_User($user_id);
|
36 |
}
|
37 |
|
38 |
$track_user = true;
|
39 |
+
$roles = monsterinsights_get_option('ignore_users', array());
|
40 |
|
41 |
+
if (!empty($roles) && is_array($roles)) {
|
42 |
+
foreach ($roles as $role) {
|
43 |
+
if (is_string($role)) {
|
44 |
+
if (user_can($user, $role)) {
|
45 |
$track_user = false;
|
46 |
break;
|
47 |
}
|
49 |
}
|
50 |
}
|
51 |
|
52 |
+
$track_super_admin = apply_filters('monsterinsights_track_super_admins', false);
|
53 |
+
if ($user_id === -1 && $track_super_admin === false && is_multisite() && is_super_admin()) {
|
54 |
$track_user = false;
|
55 |
}
|
56 |
|
57 |
// or if tracking code is not entered
|
58 |
$tracking_ids = monsterinsights_get_tracking_ids();
|
59 |
+
if (empty($tracking_ids)) {
|
60 |
$track_user = false;
|
61 |
}
|
62 |
|
63 |
+
return apply_filters('monsterinsights_track_user', $track_user, $user);
|
64 |
}
|
65 |
|
66 |
/**
|
68 |
*
|
69 |
* @return bool
|
70 |
*/
|
71 |
+
function monsterinsights_skip_tracking()
|
72 |
+
{
|
73 |
+
return (bool) apply_filters('monsterinsights_skip_tracking', false);
|
74 |
}
|
75 |
|
76 |
+
function monsterinsights_get_client_id($payment_id = false)
|
77 |
+
{
|
78 |
+
if (is_object($payment_id)) {
|
79 |
$payment_id = $payment_id->ID;
|
80 |
}
|
81 |
$user_cid = monsterinsights_get_uuid();
|
82 |
+
$saved_cid = !empty($payment_id) ? get_post_meta($payment_id, '_yoast_gau_uuid', true) : false;
|
83 |
|
84 |
+
if (!empty($payment_id) && !empty($saved_cid)) {
|
85 |
return $saved_cid;
|
86 |
+
} else if (!empty($user_cid)) {
|
87 |
return $user_cid;
|
88 |
} else {
|
89 |
return monsterinsights_generate_uuid();
|
99 |
*
|
100 |
* @return bool|string False if cookie isn't set, GA UUID otherwise
|
101 |
*/
|
102 |
+
function monsterinsights_get_uuid()
|
103 |
+
{
|
104 |
+
if (empty($_COOKIE['_ga'])) {
|
105 |
return false;
|
106 |
}
|
107 |
|
117 |
*/
|
118 |
|
119 |
$ga_cookie = $_COOKIE['_ga'];
|
120 |
+
$cookie_parts = explode('.', $ga_cookie);
|
121 |
+
if (is_array($cookie_parts) && !empty($cookie_parts[2])) {
|
122 |
+
$cookie_parts = array_slice($cookie_parts, 2);
|
123 |
+
$uuid = implode('.', $cookie_parts);
|
124 |
+
if (is_string($uuid)) {
|
125 |
return $uuid;
|
126 |
} else {
|
127 |
return false;
|
128 |
}
|
129 |
+
} elseif (0 === strpos($ga_cookie, 'amp-')) {
|
130 |
return $ga_cookie;
|
131 |
} else {
|
132 |
return false;
|
142 |
* @since 6.1.8
|
143 |
* @return string
|
144 |
*/
|
145 |
+
function monsterinsights_generate_uuid()
|
146 |
+
{
|
147 |
|
148 |
+
return sprintf(
|
149 |
+
'%04x%04x-%04x-%04x-%04x-%04x%04x%04x',
|
150 |
|
151 |
// 32 bits for "time_low"
|
152 |
+
mt_rand(0, 0xffff),
|
153 |
+
mt_rand(0, 0xffff),
|
154 |
|
155 |
// 16 bits for "time_mid"
|
156 |
+
mt_rand(0, 0xffff),
|
157 |
|
158 |
// 16 bits for "time_hi_and_version",
|
159 |
// four most significant bits holds version number 4
|
160 |
+
mt_rand(0, 0x0fff) | 0x4000,
|
161 |
|
162 |
// 16 bits, 8 bits for "clk_seq_hi_res",
|
163 |
// 8 bits for "clk_seq_low",
|
164 |
// two most significant bits holds zero and one for variant DCE1.1
|
165 |
+
mt_rand(0, 0x3fff) | 0x8000,
|
166 |
|
167 |
// 48 bits for "node"
|
168 |
+
mt_rand(0, 0xffff),
|
169 |
+
mt_rand(0, 0xffff),
|
170 |
+
mt_rand(0, 0xffff)
|
171 |
);
|
172 |
}
|
173 |
|
178 |
*
|
179 |
* @return GA UUID or error code.
|
180 |
*/
|
181 |
+
function monsterinsights_get_cookie($debug = false)
|
182 |
+
{
|
183 |
+
if (empty($_COOKIE['_ga'])) {
|
184 |
+
return ($debug) ? 'FCE' : false;
|
185 |
}
|
186 |
|
187 |
$ga_cookie = $_COOKIE['_ga'];
|
188 |
+
$cookie_parts = explode('.', $ga_cookie);
|
189 |
+
if (is_array($cookie_parts) && !empty($cookie_parts[2])) {
|
190 |
+
$cookie_parts = array_slice($cookie_parts, 2);
|
191 |
+
$uuid = implode('.', $cookie_parts);
|
192 |
+
if (is_string($uuid)) {
|
193 |
return $ga_cookie;
|
194 |
} else {
|
195 |
+
return ($debug) ? 'FA' : false;
|
196 |
}
|
197 |
+
} elseif (0 === strpos($ga_cookie, 'amp-')) {
|
198 |
return $ga_cookie;
|
199 |
} else {
|
200 |
+
return ($debug) ? 'FAE' : false;
|
201 |
}
|
202 |
}
|
203 |
|
204 |
|
205 |
+
function monsterinsights_generate_ga_client_id()
|
206 |
+
{
|
207 |
+
return rand(100000000, 999999999) . '.' . time();
|
208 |
}
|
209 |
|
210 |
|
219 |
*
|
220 |
* @return int Hours between the two timestamps, rounded.
|
221 |
*/
|
222 |
+
function monsterinsights_hours_between($start, $stop = false)
|
223 |
+
{
|
224 |
+
if ($stop === false) {
|
225 |
$stop = time();
|
226 |
}
|
227 |
|
228 |
+
$diff = (int) abs($stop - $start);
|
229 |
+
$hours = round($diff / HOUR_IN_SECONDS);
|
230 |
return $hours;
|
231 |
}
|
232 |
|
255 |
*
|
256 |
* @return bool True if pro version.
|
257 |
*/
|
258 |
+
function monsterinsights_is_pro_version()
|
259 |
+
{
|
260 |
+
if (class_exists('MonsterInsights')) {
|
261 |
return true;
|
262 |
} else {
|
263 |
return false;
|
270 |
*
|
271 |
* @return array
|
272 |
*/
|
273 |
+
function monsterinsights_get_roles()
|
274 |
+
{
|
275 |
global $wp_roles;
|
276 |
|
277 |
$all_roles = $wp_roles->roles;
|
282 |
*
|
283 |
* @api array $all_roles
|
284 |
*/
|
285 |
+
$editable_roles = apply_filters('editable_roles', $all_roles);
|
286 |
|
287 |
+
foreach ($editable_roles as $id => $name) {
|
288 |
+
$roles[$id] = translate_user_role($name['name']);
|
289 |
}
|
290 |
|
291 |
return $roles;
|
296 |
*
|
297 |
* @return array
|
298 |
*/
|
299 |
+
function monsterinsights_get_manage_options_roles()
|
300 |
+
{
|
301 |
global $wp_roles;
|
302 |
|
303 |
$all_roles = $wp_roles->roles;
|
308 |
*
|
309 |
* @api array $all_roles
|
310 |
*/
|
311 |
+
$editable_roles = apply_filters('editable_roles', $all_roles);
|
312 |
|
313 |
+
foreach ($editable_roles as $id => $role) {
|
314 |
+
if (isset($role['capabilities']['manage_options']) && $role['capabilities']['manage_options']) {
|
315 |
+
$roles[$id] = translate_user_role($role['name']);
|
316 |
}
|
317 |
}
|
318 |
|
320 |
}
|
321 |
|
322 |
/** Need to escape in advance of passing in $text. */
|
323 |
+
function monsterinsights_get_message($type = 'error', $text = '')
|
324 |
+
{
|
325 |
$div = '';
|
326 |
+
if ($type === 'error' || $type === 'alert' || $type === 'success' || $type === 'info') {
|
327 |
$base = MonsterInsights();
|
328 |
+
return $base->notices->display_inline_notice('monsterinsights_standard_notice', '', $text, $type, false, array('skip_message_escape' => true));
|
329 |
} else {
|
330 |
return '';
|
331 |
}
|
332 |
}
|
333 |
|
334 |
+
function monsterinsights_is_dev_url($url = '')
|
335 |
+
{
|
336 |
$is_local_url = false;
|
337 |
// Trim it up
|
338 |
+
$url = strtolower(trim($url));
|
339 |
// Need to get the host...so let's add the scheme so we can use parse_url
|
340 |
+
if (false === strpos($url, 'http://') && false === strpos($url, 'https://')) {
|
341 |
$url = 'http://' . $url;
|
342 |
}
|
343 |
+
$url_parts = parse_url($url);
|
344 |
+
$host = !empty($url_parts['host']) ? $url_parts['host'] : false;
|
345 |
+
if (!empty($url) && !empty($host)) {
|
346 |
+
if (false !== ip2long($host)) {
|
347 |
+
if (!filter_var($host, FILTER_VALIDATE_IP, FILTER_FLAG_NO_PRIV_RANGE | FILTER_FLAG_NO_RES_RANGE)) {
|
348 |
$is_local_url = true;
|
349 |
}
|
350 |
+
} else if ('localhost' === $host) {
|
351 |
$is_local_url = true;
|
352 |
}
|
353 |
|
354 |
+
$tlds_to_check = array('.local', ':8888', ':8080', ':8081', '.invalid', '.example', '.test');
|
355 |
+
foreach ($tlds_to_check as $tld) {
|
356 |
+
if (false !== strpos($host, $tld)) {
|
357 |
$is_local_url = true;
|
358 |
break;
|
359 |
}
|
|
|
360 |
}
|
361 |
+
if (substr_count($host, '.') > 1) {
|
362 |
+
$subdomains_to_check = array('dev.', '*.staging.', 'beta.', 'test.');
|
363 |
+
foreach ($subdomains_to_check as $subdomain) {
|
364 |
+
$subdomain = str_replace('.', '(.)', $subdomain);
|
365 |
+
$subdomain = str_replace(array('*', '(.)'), '(.*)', $subdomain);
|
366 |
+
if (preg_match('/^(' . $subdomain . ')/', $host)) {
|
367 |
$is_local_url = true;
|
368 |
break;
|
369 |
}
|
374 |
}
|
375 |
|
376 |
// Set cookie to expire in 2 years
|
377 |
+
function monsterinsights_get_cookie_expiration_date($time)
|
378 |
+
{
|
379 |
+
return date('D, j F Y H:i:s', time() + $time);
|
380 |
}
|
381 |
|
382 |
+
function monsterinsights_string_ends_with($string, $ending)
|
383 |
+
{
|
384 |
$strlen = strlen($string);
|
385 |
$endinglen = strlen($ending);
|
386 |
+
if ($endinglen > $strlen) {
|
387 |
return false;
|
388 |
}
|
389 |
+
return substr_compare($string, $ending, $strlen - $endinglen, $endinglen) === 0;
|
390 |
}
|
391 |
|
392 |
+
function monsterinsights_string_starts_with($string, $start)
|
393 |
+
{
|
394 |
+
if (!is_string($string) || !is_string($start)) {
|
395 |
return false;
|
396 |
}
|
397 |
|
398 |
+
return substr($string, 0, strlen($start)) === $start;
|
399 |
}
|
400 |
|
401 |
+
function monsterinsights_get_country_list($translated = false)
|
402 |
+
{
|
403 |
+
if ($translated) {
|
404 |
$countries = array(
|
405 |
'' => '',
|
406 |
+
'US' => __('United States', 'google-analytics-for-wordpress'),
|
407 |
+
'CA' => __('Canada', 'google-analytics-for-wordpress'),
|
408 |
+
'GB' => __('United Kingdom', 'google-analytics-for-wordpress'),
|
409 |
+
'AF' => __('Afghanistan', 'google-analytics-for-wordpress'),
|
410 |
+
'AX' => __('Åland Islands', 'google-analytics-for-wordpress'),
|
411 |
+
'AL' => __('Albania', 'google-analytics-for-wordpress'),
|
412 |
+
'DZ' => __('Algeria', 'google-analytics-for-wordpress'),
|
413 |
+
'AS' => __('American Samoa', 'google-analytics-for-wordpress'),
|
414 |
+
'AD' => __('Andorra', 'google-analytics-for-wordpress'),
|
415 |
+
'AO' => __('Angola', 'google-analytics-for-wordpress'),
|
416 |
+
'AI' => __('Anguilla', 'google-analytics-for-wordpress'),
|
417 |
+
'AQ' => __('Antarctica', 'google-analytics-for-wordpress'),
|
418 |
+
'AG' => __('Antigua and Barbuda', 'google-analytics-for-wordpress'),
|
419 |
+
'AR' => __('Argentina', 'google-analytics-for-wordpress'),
|
420 |
+
'AM' => __('Armenia', 'google-analytics-for-wordpress'),
|
421 |
+
'AW' => __('Aruba', 'google-analytics-for-wordpress'),
|
422 |
+
'AU' => __('Australia', 'google-analytics-for-wordpress'),
|
423 |
+
'AT' => __('Austria', 'google-analytics-for-wordpress'),
|
424 |
+
'AZ' => __('Azerbaijan', 'google-analytics-for-wordpress'),
|
425 |
+
'BS' => __('Bahamas', 'google-analytics-for-wordpress'),
|
426 |
+
'BH' => __('Bahrain', 'google-analytics-for-wordpress'),
|
427 |
+
'BD' => __('Bangladesh', 'google-analytics-for-wordpress'),
|
428 |
+
'BB' => __('Barbados', 'google-analytics-for-wordpress'),
|
429 |
+
'BY' => __('Belarus', 'google-analytics-for-wordpress'),
|
430 |
+
'BE' => __('Belgium', 'google-analytics-for-wordpress'),
|
431 |
+
'BZ' => __('Belize', 'google-analytics-for-wordpress'),
|
432 |
+
'BJ' => __('Benin', 'google-analytics-for-wordpress'),
|
433 |
+
'BM' => __('Bermuda', 'google-analytics-for-wordpress'),
|
434 |
+
'BT' => __('Bhutan', 'google-analytics-for-wordpress'),
|
435 |
+
'BO' => __('Bolivia', 'google-analytics-for-wordpress'),
|
436 |
+
'BQ' => __('Bonaire, Saint Eustatius and Saba', 'google-analytics-for-wordpress'),
|
437 |
+
'BA' => __('Bosnia and Herzegovina', 'google-analytics-for-wordpress'),
|
438 |
+
'BW' => __('Botswana', 'google-analytics-for-wordpress'),
|
439 |
+
'BV' => __('Bouvet Island', 'google-analytics-for-wordpress'),
|
440 |
+
'BR' => __('Brazil', 'google-analytics-for-wordpress'),
|
441 |
+
'IO' => __('British Indian Ocean Territory', 'google-analytics-for-wordpress'),
|
442 |
+
'BN' => __('Brunei Darrussalam', 'google-analytics-for-wordpress'),
|
443 |
+
'BG' => __('Bulgaria', 'google-analytics-for-wordpress'),
|
444 |
+
'BF' => __('Burkina Faso', 'google-analytics-for-wordpress'),
|
445 |
+
'BI' => __('Burundi', 'google-analytics-for-wordpress'),
|
446 |
+
'KH' => __('Cambodia', 'google-analytics-for-wordpress'),
|
447 |
+
'CM' => __('Cameroon', 'google-analytics-for-wordpress'),
|
448 |
+
'CV' => __('Cape Verde', 'google-analytics-for-wordpress'),
|
449 |
+
'KY' => __('Cayman Islands', 'google-analytics-for-wordpress'),
|
450 |
+
'CF' => __('Central African Republic', 'google-analytics-for-wordpress'),
|
451 |
+
'TD' => __('Chad', 'google-analytics-for-wordpress'),
|
452 |
+
'CL' => __('Chile', 'google-analytics-for-wordpress'),
|
453 |
+
'CN' => __('China', 'google-analytics-for-wordpress'),
|
454 |
+
'CX' => __('Christmas Island', 'google-analytics-for-wordpress'),
|
455 |
+
'CC' => __('Cocos Islands', 'google-analytics-for-wordpress'),
|
456 |
+
'CO' => __('Colombia', 'google-analytics-for-wordpress'),
|
457 |
+
'KM' => __('Comoros', 'google-analytics-for-wordpress'),
|
458 |
+
'CD' => __('Congo, Democratic People\'s Republic', 'google-analytics-for-wordpress'),
|
459 |
+
'CG' => __('Congo, Republic of', 'google-analytics-for-wordpress'),
|
460 |
+
'CK' => __('Cook Islands', 'google-analytics-for-wordpress'),
|
461 |
+
'CR' => __('Costa Rica', 'google-analytics-for-wordpress'),
|
462 |
+
'CI' => __('Cote d\'Ivoire', 'google-analytics-for-wordpress'),
|
463 |
+
'HR' => __('Croatia/Hrvatska', 'google-analytics-for-wordpress'),
|
464 |
+
'CU' => __('Cuba', 'google-analytics-for-wordpress'),
|
465 |
+
'CW' => __('CuraÇao', 'google-analytics-for-wordpress'),
|
466 |
+
'CY' => __('Cyprus', 'google-analytics-for-wordpress'),
|
467 |
+
'CZ' => __('Czechia', 'google-analytics-for-wordpress'),
|
468 |
+
'DK' => __('Denmark', 'google-analytics-for-wordpress'),
|
469 |
+
'DJ' => __('Djibouti', 'google-analytics-for-wordpress'),
|
470 |
+
'DM' => __('Dominica', 'google-analytics-for-wordpress'),
|
471 |
+
'DO' => __('Dominican Republic', 'google-analytics-for-wordpress'),
|
472 |
+
'TP' => __('East Timor', 'google-analytics-for-wordpress'),
|
473 |
+
'EC' => __('Ecuador', 'google-analytics-for-wordpress'),
|
474 |
+
'EG' => __('Egypt', 'google-analytics-for-wordpress'),
|
475 |
+
'GQ' => __('Equatorial Guinea', 'google-analytics-for-wordpress'),
|
476 |
+
'SV' => __('El Salvador', 'google-analytics-for-wordpress'),
|
477 |
+
'ER' => __('Eritrea', 'google-analytics-for-wordpress'),
|
478 |
+
'EE' => __('Estonia', 'google-analytics-for-wordpress'),
|
479 |
+
'ET' => __('Ethiopia', 'google-analytics-for-wordpress'),
|
480 |
+
'FK' => __('Falkland Islands', 'google-analytics-for-wordpress'),
|
481 |
+
'FO' => __('Faroe Islands', 'google-analytics-for-wordpress'),
|
482 |
+
'FJ' => __('Fiji', 'google-analytics-for-wordpress'),
|
483 |
+
'FI' => __('Finland', 'google-analytics-for-wordpress'),
|
484 |
+
'FR' => __('France', 'google-analytics-for-wordpress'),
|
485 |
+
'GF' => __('French Guiana', 'google-analytics-for-wordpress'),
|
486 |
+
'PF' => __('French Polynesia', 'google-analytics-for-wordpress'),
|
487 |
+
'TF' => __('French Southern Territories', 'google-analytics-for-wordpress'),
|
488 |
+
'GA' => __('Gabon', 'google-analytics-for-wordpress'),
|
489 |
+
'GM' => __('Gambia', 'google-analytics-for-wordpress'),
|
490 |
+
'GE' => __('Georgia', 'google-analytics-for-wordpress'),
|
491 |
+
'DE' => __('Germany', 'google-analytics-for-wordpress'),
|
492 |
+
'GR' => __('Greece', 'google-analytics-for-wordpress'),
|
493 |
+
'GH' => __('Ghana', 'google-analytics-for-wordpress'),
|
494 |
+
'GI' => __('Gibraltar', 'google-analytics-for-wordpress'),
|
495 |
+
'GL' => __('Greenland', 'google-analytics-for-wordpress'),
|
496 |
+
'GD' => __('Grenada', 'google-analytics-for-wordpress'),
|
497 |
+
'GP' => __('Guadeloupe', 'google-analytics-for-wordpress'),
|
498 |
+
'GU' => __('Guam', 'google-analytics-for-wordpress'),
|
499 |
+
'GT' => __('Guatemala', 'google-analytics-for-wordpress'),
|
500 |
+
'GG' => __('Guernsey', 'google-analytics-for-wordpress'),
|
501 |
+
'GN' => __('Guinea', 'google-analytics-for-wordpress'),
|
502 |
+
'GW' => __('Guinea-Bissau', 'google-analytics-for-wordpress'),
|
503 |
+
'GY' => __('Guyana', 'google-analytics-for-wordpress'),
|
504 |
+
'HT' => __('Haiti', 'google-analytics-for-wordpress'),
|
505 |
+
'HM' => __('Heard and McDonald Islands', 'google-analytics-for-wordpress'),
|
506 |
+
'VA' => __('Holy See (City Vatican State)', 'google-analytics-for-wordpress'),
|
507 |
+
'HN' => __('Honduras', 'google-analytics-for-wordpress'),
|
508 |
+
'HK' => __('Hong Kong', 'google-analytics-for-wordpress'),
|
509 |
+
'HU' => __('Hungary', 'google-analytics-for-wordpress'),
|
510 |
+
'IS' => __('Iceland', 'google-analytics-for-wordpress'),
|
511 |
+
'IN' => __('India', 'google-analytics-for-wordpress'),
|
512 |
+
'ID' => __('Indonesia', 'google-analytics-for-wordpress'),
|
513 |
+
'IR' => __('Iran', 'google-analytics-for-wordpress'),
|
514 |
+
'IQ' => __('Iraq', 'google-analytics-for-wordpress'),
|
515 |
+
'IE' => __('Ireland', 'google-analytics-for-wordpress'),
|
516 |
+
'IM' => __('Isle of Man', 'google-analytics-for-wordpress'),
|
517 |
+
'IL' => __('Israel', 'google-analytics-for-wordpress'),
|
518 |
+
'IT' => __('Italy', 'google-analytics-for-wordpress'),
|
519 |
+
'JM' => __('Jamaica', 'google-analytics-for-wordpress'),
|
520 |
+
'JP' => __('Japan', 'google-analytics-for-wordpress'),
|
521 |
+
'JE' => __('Jersey', 'google-analytics-for-wordpress'),
|
522 |
+
'JO' => __('Jordan', 'google-analytics-for-wordpress'),
|
523 |
+
'KZ' => __('Kazakhstan', 'google-analytics-for-wordpress'),
|
524 |
+
'KE' => __('Kenya', 'google-analytics-for-wordpress'),
|
525 |
+
'KI' => __('Kiribati', 'google-analytics-for-wordpress'),
|
526 |
+
'KW' => __('Kuwait', 'google-analytics-for-wordpress'),
|
527 |
+
'KG' => __('Kyrgyzstan', 'google-analytics-for-wordpress'),
|
528 |
+
'LA' => __('Lao People\'s Democratic Republic', 'google-analytics-for-wordpress'),
|
529 |
+
'LV' => __('Latvia', 'google-analytics-for-wordpress'),
|
530 |
+
'LB' => __('Lebanon', 'google-analytics-for-wordpress'),
|
531 |
+
'LS' => __('Lesotho', 'google-analytics-for-wordpress'),
|
532 |
+
'LR' => __('Liberia', 'google-analytics-for-wordpress'),
|
533 |
+
'LY' => __('Libyan Arab Jamahiriya', 'google-analytics-for-wordpress'),
|
534 |
+
'LI' => __('Liechtenstein', 'google-analytics-for-wordpress'),
|
535 |
+
'LT' => __('Lithuania', 'google-analytics-for-wordpress'),
|
536 |
+
'LU' => __('Luxembourg', 'google-analytics-for-wordpress'),
|
537 |
+
'MO' => __('Macau', 'google-analytics-for-wordpress'),
|
538 |
+
'MK' => __('Macedonia (FYROM)', 'google-analytics-for-wordpress'),
|
539 |
+
'MG' => __('Madagascar', 'google-analytics-for-wordpress'),
|
540 |
+
'MW' => __('Malawi', 'google-analytics-for-wordpress'),
|
541 |
+
'MY' => __('Malaysia', 'google-analytics-for-wordpress'),
|
542 |
+
'MV' => __('Maldives', 'google-analytics-for-wordpress'),
|
543 |
+
'ML' => __('Mali', 'google-analytics-for-wordpress'),
|
544 |
+
'MT' => __('Malta', 'google-analytics-for-wordpress'),
|
545 |
+
'MH' => __('Marshall Islands', 'google-analytics-for-wordpress'),
|
546 |
+
'MQ' => __('Martinique', 'google-analytics-for-wordpress'),
|
547 |
+
'MR' => __('Mauritania', 'google-analytics-for-wordpress'),
|
548 |
+
'MU' => __('Mauritius', 'google-analytics-for-wordpress'),
|
549 |
+
'YT' => __('Mayotte', 'google-analytics-for-wordpress'),
|
550 |
+
'MX' => __('Mexico', 'google-analytics-for-wordpress'),
|
551 |
+
'FM' => __('Micronesia', 'google-analytics-for-wordpress'),
|
552 |
+
'MD' => __('Moldova, Republic of', 'google-analytics-for-wordpress'),
|
553 |
+
'MC' => __('Monaco', 'google-analytics-for-wordpress'),
|
554 |
+
'MN' => __('Mongolia', 'google-analytics-for-wordpress'),
|
555 |
+
'ME' => __('Montenegro', 'google-analytics-for-wordpress'),
|
556 |
+
'MS' => __('Montserrat', 'google-analytics-for-wordpress'),
|
557 |
+
'MA' => __('Morocco', 'google-analytics-for-wordpress'),
|
558 |
+
'MZ' => __('Mozambique', 'google-analytics-for-wordpress'),
|
559 |
+
'MM' => __('Myanmar', 'google-analytics-for-wordpress'),
|
560 |
+
'NA' => __('Namibia', 'google-analytics-for-wordpress'),
|
561 |
+
'NR' => __('Nauru', 'google-analytics-for-wordpress'),
|
562 |
+
'NP' => __('Nepal', 'google-analytics-for-wordpress'),
|
563 |
+
'NL' => __('Netherlands', 'google-analytics-for-wordpress'),
|
564 |
+
'AN' => __('Netherlands Antilles', 'google-analytics-for-wordpress'),
|
565 |
+
'NC' => __('New Caledonia', 'google-analytics-for-wordpress'),
|
566 |
+
'NZ' => __('New Zealand', 'google-analytics-for-wordpress'),
|
567 |
+
'NI' => __('Nicaragua', 'google-analytics-for-wordpress'),
|
568 |
+
'NE' => __('Niger', 'google-analytics-for-wordpress'),
|
569 |
+
'NG' => __('Nigeria', 'google-analytics-for-wordpress'),
|
570 |
+
'NU' => __('Niue', 'google-analytics-for-wordpress'),
|
571 |
+
'NF' => __('Norfolk Island', 'google-analytics-for-wordpress'),
|
572 |
+
'KP' => __('North Korea', 'google-analytics-for-wordpress'),
|
573 |
+
'MP' => __('Northern Mariana Islands', 'google-analytics-for-wordpress'),
|
574 |
+
'NO' => __('Norway', 'google-analytics-for-wordpress'),
|
575 |
+
'OM' => __('Oman', 'google-analytics-for-wordpress'),
|
576 |
+
'PK' => __('Pakistan', 'google-analytics-for-wordpress'),
|
577 |
+
'PW' => __('Palau', 'google-analytics-for-wordpress'),
|
578 |
+
'PS' => __('Palestinian Territories', 'google-analytics-for-wordpress'),
|
579 |
+
'PA' => __('Panama', 'google-analytics-for-wordpress'),
|
580 |
+
'PG' => __('Papua New Guinea', 'google-analytics-for-wordpress'),
|
581 |
+
'PY' => __('Paraguay', 'google-analytics-for-wordpress'),
|
582 |
+
'PE' => __('Peru', 'google-analytics-for-wordpress'),
|
583 |
+
'PH' => __('Philippines', 'google-analytics-for-wordpress'),
|
584 |
+
'PN' => __('Pitcairn Island', 'google-analytics-for-wordpress'),
|
585 |
+
'PL' => __('Poland', 'google-analytics-for-wordpress'),
|
586 |
+
'PT' => __('Portugal', 'google-analytics-for-wordpress'),
|
587 |
+
'PR' => __('Puerto Rico', 'google-analytics-for-wordpress'),
|
588 |
+
'QA' => __('Qatar', 'google-analytics-for-wordpress'),
|
589 |
+
'XK' => __('Republic of Kosovo', 'google-analytics-for-wordpress'),
|
590 |
+
'RE' => __('Reunion Island', 'google-analytics-for-wordpress'),
|
591 |
+
'RO' => __('Romania', 'google-analytics-for-wordpress'),
|
592 |
+
'RU' => __('Russian Federation', 'google-analytics-for-wordpress'),
|
593 |
+
'RW' => __('Rwanda', 'google-analytics-for-wordpress'),
|
594 |
+
'BL' => __('Saint Barthélemy', 'google-analytics-for-wordpress'),
|
595 |
+
'SH' => __('Saint Helena', 'google-analytics-for-wordpress'),
|
596 |
+
'KN' => __('Saint Kitts and Nevis', 'google-analytics-for-wordpress'),
|
597 |
+
'LC' => __('Saint Lucia', 'google-analytics-for-wordpress'),
|
598 |
+
'MF' => __('Saint Martin (French)', 'google-analytics-for-wordpress'),
|
599 |
+
'SX' => __('Saint Martin (Dutch)', 'google-analytics-for-wordpress'),
|
600 |
+
'PM' => __('Saint Pierre and Miquelon', 'google-analytics-for-wordpress'),
|
601 |
+
'VC' => __('Saint Vincent and the Grenadines', 'google-analytics-for-wordpress'),
|
602 |
+
'SM' => __('San Marino', 'google-analytics-for-wordpress'),
|
603 |
+
'ST' => __('São Tomé and Príncipe', 'google-analytics-for-wordpress'),
|
604 |
+
'SA' => __('Saudi Arabia', 'google-analytics-for-wordpress'),
|
605 |
+
'SN' => __('Senegal', 'google-analytics-for-wordpress'),
|
606 |
+
'RS' => __('Serbia', 'google-analytics-for-wordpress'),
|
607 |
+
'SC' => __('Seychelles', 'google-analytics-for-wordpress'),
|
608 |
+
'SL' => __('Sierra Leone', 'google-analytics-for-wordpress'),
|
609 |
+
'SG' => __('Singapore', 'google-analytics-for-wordpress'),
|
610 |
+
'SK' => __('Slovak Republic', 'google-analytics-for-wordpress'),
|
611 |
+
'SI' => __('Slovenia', 'google-analytics-for-wordpress'),
|
612 |
+
'SB' => __('Solomon Islands', 'google-analytics-for-wordpress'),
|
613 |
+
'SO' => __('Somalia', 'google-analytics-for-wordpress'),
|
614 |
+
'ZA' => __('South Africa', 'google-analytics-for-wordpress'),
|
615 |
+
'GS' => __('South Georgia', 'google-analytics-for-wordpress'),
|
616 |
+
'KR' => __('South Korea', 'google-analytics-for-wordpress'),
|
617 |
+
'SS' => __('South Sudan', 'google-analytics-for-wordpress'),
|
618 |
+
'ES' => __('Spain', 'google-analytics-for-wordpress'),
|
619 |
+
'LK' => __('Sri Lanka', 'google-analytics-for-wordpress'),
|
620 |
+
'SD' => __('Sudan', 'google-analytics-for-wordpress'),
|
621 |
+
'SR' => __('Suriname', 'google-analytics-for-wordpress'),
|
622 |
+
'SJ' => __('Svalbard and Jan Mayen Islands', 'google-analytics-for-wordpress'),
|
623 |
+
'SZ' => __('Swaziland', 'google-analytics-for-wordpress'),
|
624 |
+
'SE' => __('Sweden', 'google-analytics-for-wordpress'),
|
625 |
+
'CH' => __('Switzerland', 'google-analytics-for-wordpress'),
|
626 |
+
'SY' => __('Syrian Arab Republic', 'google-analytics-for-wordpress'),
|
627 |
+
'TW' => __('Taiwan', 'google-analytics-for-wordpress'),
|
628 |
+
'TJ' => __('Tajikistan', 'google-analytics-for-wordpress'),
|
629 |
+
'TZ' => __('Tanzania', 'google-analytics-for-wordpress'),
|
630 |
+
'TH' => __('Thailand', 'google-analytics-for-wordpress'),
|
631 |
+
'TL' => __('Timor-Leste', 'google-analytics-for-wordpress'),
|
632 |
+
'TG' => __('Togo', 'google-analytics-for-wordpress'),
|
633 |
+
'TK' => __('Tokelau', 'google-analytics-for-wordpress'),
|
634 |
+
'TO' => __('Tonga', 'google-analytics-for-wordpress'),
|
635 |
+
'TT' => __('Trinidad and Tobago', 'google-analytics-for-wordpress'),
|
636 |
+
'TN' => __('Tunisia', 'google-analytics-for-wordpress'),
|
637 |
+
'TR' => __('Turkey', 'google-analytics-for-wordpress'),
|
638 |
+
'TM' => __('Turkmenistan', 'google-analytics-for-wordpress'),
|
639 |
+
'TC' => __('Turks and Caicos Islands', 'google-analytics-for-wordpress'),
|
640 |
+
'TV' => __('Tuvalu', 'google-analytics-for-wordpress'),
|
641 |
+
'UG' => __('Uganda', 'google-analytics-for-wordpress'),
|
642 |
+
'UA' => __('Ukraine', 'google-analytics-for-wordpress'),
|
643 |
+
'AE' => __('United Arab Emirates', 'google-analytics-for-wordpress'),
|
644 |
+
'UY' => __('Uruguay', 'google-analytics-for-wordpress'),
|
645 |
+
'UM' => __('US Minor Outlying Islands', 'google-analytics-for-wordpress'),
|
646 |
+
'UZ' => __('Uzbekistan', 'google-analytics-for-wordpress'),
|
647 |
+
'VU' => __('Vanuatu', 'google-analytics-for-wordpress'),
|
648 |
+
'VE' => __('Venezuela', 'google-analytics-for-wordpress'),
|
649 |
+
'VN' => __('Vietnam', 'google-analytics-for-wordpress'),
|
650 |
+
'VG' => __('Virgin Islands (British)', 'google-analytics-for-wordpress'),
|
651 |
+
'VI' => __('Virgin Islands (USA)', 'google-analytics-for-wordpress'),
|
652 |
+
'WF' => __('Wallis and Futuna Islands', 'google-analytics-for-wordpress'),
|
653 |
+
'EH' => __('Western Sahara', 'google-analytics-for-wordpress'),
|
654 |
+
'WS' => __('Western Samoa', 'google-analytics-for-wordpress'),
|
655 |
+
'YE' => __('Yemen', 'google-analytics-for-wordpress'),
|
656 |
+
'ZM' => __('Zambia', 'google-analytics-for-wordpress'),
|
657 |
+
'ZW' => __('Zimbabwe', 'google-analytics-for-wordpress'),
|
658 |
+
'ZZ' => __('Unknown Country', 'google-analytics-for-wordpress'),
|
659 |
);
|
660 |
} else {
|
661 |
$countries = array(
|
918 |
return $countries;
|
919 |
}
|
920 |
|
921 |
+
function monsterinsights_get_api_url()
|
922 |
+
{
|
923 |
+
return apply_filters('monsterinsights_get_api_url', 'api.monsterinsights.com/v2/');
|
924 |
}
|
925 |
|
926 |
+
function monsterinsights_get_licensing_url()
|
927 |
+
{
|
928 |
+
return apply_filters('monsterinsights_get_licensing_url', 'https://www.monsterinsights.com');
|
929 |
}
|
930 |
|
931 |
+
function monsterinsights_is_wp_seo_active()
|
932 |
+
{
|
933 |
$wp_seo_active = false; // @todo: improve this check. This is from old Yoast code.
|
934 |
|
935 |
// Makes sure is_plugin_active is available when called from front end
|
936 |
+
include_once(ABSPATH . 'wp-admin/includes/plugin.php');
|
937 |
+
if (is_plugin_active('wordpress-seo/wp-seo.php') || is_plugin_active('wordpress-seo-premium/wp-seo-premium.php')) {
|
938 |
$wp_seo_active = true;
|
939 |
}
|
940 |
return $wp_seo_active;
|
941 |
}
|
942 |
|
943 |
+
function monsterinsights_get_asset_version()
|
944 |
+
{
|
945 |
+
if (monsterinsights_is_debug_mode() || (defined('SCRIPT_DEBUG') && SCRIPT_DEBUG)) {
|
946 |
return time();
|
947 |
} else {
|
948 |
return MONSTERINSIGHTS_VERSION;
|
949 |
}
|
950 |
}
|
951 |
|
952 |
+
function monsterinsights_is_debug_mode()
|
953 |
+
{
|
954 |
$debug_mode = false;
|
955 |
+
if (defined('MONSTERINSIGHTS_DEBUG_MODE') && MONSTERINSIGHTS_DEBUG_MODE) {
|
956 |
$debug_mode = true;
|
957 |
}
|
958 |
|
959 |
+
return apply_filters('monsterinsights_is_debug_mode', $debug_mode);
|
960 |
}
|
961 |
|
962 |
+
function monsterinsights_is_network_active()
|
963 |
+
{
|
964 |
+
if (!function_exists('is_plugin_active_for_network')) {
|
965 |
+
require_once(ABSPATH . '/wp-admin/includes/plugin.php');
|
966 |
}
|
967 |
|
968 |
+
if (is_multisite() && is_plugin_active_for_network(plugin_basename(MONSTERINSIGHTS_PLUGIN_FILE))) {
|
969 |
return true;
|
970 |
} else {
|
971 |
return false;
|
972 |
}
|
973 |
}
|
974 |
|
975 |
+
if (!function_exists('remove_class_filter')) {
|
976 |
/**
|
977 |
* Remove Class Filter Without Access to Class Object
|
978 |
*
|
990 |
*
|
991 |
* @return bool Whether the function is removed.
|
992 |
*/
|
993 |
+
function remove_class_filter($tag, $class_name = '', $method_name = '', $priority = 10)
|
994 |
+
{
|
995 |
global $wp_filter;
|
996 |
// Check that filter actually exists first
|
997 |
+
if (!isset($wp_filter[$tag])) return FALSE;
|
998 |
/**
|
999 |
* If filter config is an object, means we're using WordPress 4.7+ and the config is no longer
|
1000 |
* a simple array, rather it is an object that implements the ArrayAccess interface.
|
1003 |
*
|
1004 |
* @see https://make.wordpress.org/core/2016/09/08/wp_hook-next-generation-actions-and-filters/
|
1005 |
*/
|
1006 |
+
if (is_object($wp_filter[$tag]) && isset($wp_filter[$tag]->callbacks)) {
|
1007 |
+
$callbacks = &$wp_filter[$tag]->callbacks;
|
1008 |
} else {
|
1009 |
+
$callbacks = &$wp_filter[$tag];
|
1010 |
}
|
1011 |
// Exit if there aren't any callbacks for specified priority
|
1012 |
+
if (!isset($callbacks[$priority]) || empty($callbacks[$priority])) return FALSE;
|
1013 |
// Loop through each filter for the specified priority, looking for our class & method
|
1014 |
+
foreach ((array) $callbacks[$priority] as $filter_id => $filter) {
|
1015 |
// Filter should always be an array - array( $this, 'method' ), if not goto next
|
1016 |
+
if (!isset($filter['function']) || !is_array($filter['function'])) continue;
|
1017 |
// If first value in array is not an object, it can't be a class
|
1018 |
+
if (!is_object($filter['function'][0])) continue;
|
1019 |
// Method doesn't match the one we're looking for, goto next
|
1020 |
+
if ($filter['function'][1] !== $method_name) continue;
|
1021 |
// Method matched, now let's check the Class
|
1022 |
+
if (get_class($filter['function'][0]) === $class_name) {
|
1023 |
// Now let's remove it from the array
|
1024 |
+
unset($callbacks[$priority][$filter_id]);
|
1025 |
// and if it was the only filter in that priority, unset that priority
|
1026 |
+
if (empty($callbacks[$priority])) unset($callbacks[$priority]);
|
1027 |
// and if the only filter for that tag, set the tag to an empty array
|
1028 |
+
if (empty($callbacks)) $callbacks = array();
|
1029 |
// If using WordPress older than 4.7
|
1030 |
+
if (!is_object($wp_filter[$tag])) {
|
1031 |
// Remove this filter from merged_filters, which specifies if filters have been sorted
|
1032 |
+
unset($GLOBALS['merged_filters'][$tag]);
|
1033 |
}
|
1034 |
return TRUE;
|
1035 |
}
|
1038 |
}
|
1039 |
} // End function exists
|
1040 |
|
1041 |
+
if (!function_exists('remove_class_action')) {
|
1042 |
/**
|
1043 |
* Remove Class Action Without Access to Class Object
|
1044 |
*
|
1056 |
*
|
1057 |
* @return bool Whether the function is removed.
|
1058 |
*/
|
1059 |
+
function remove_class_action($tag, $class_name = '', $method_name = '', $priority = 10)
|
1060 |
+
{
|
1061 |
+
remove_class_filter($tag, $class_name, $method_name, $priority);
|
1062 |
}
|
1063 |
} // End function exists
|
1064 |
|
1070 |
*
|
1071 |
* @return string
|
1072 |
*/
|
1073 |
+
function monsterinsights_round_number($number, $precision = 2)
|
1074 |
+
{
|
1075 |
|
1076 |
+
if ($number < 1000000) {
|
1077 |
// Anything less than a million
|
1078 |
+
$number = number_format_i18n($number);
|
1079 |
+
} else if ($number < 1000000000) {
|
1080 |
// Anything less than a billion
|
1081 |
+
$number = number_format_i18n($number / 1000000, $precision) . 'M';
|
1082 |
} else {
|
1083 |
// At least a billion
|
1084 |
+
$number = number_format_i18n($number / 1000000000, $precision) . 'B';
|
1085 |
}
|
1086 |
|
1087 |
return $number;
|
1088 |
}
|
1089 |
|
1090 |
+
if (!function_exists('wp_get_jed_locale_data')) {
|
1091 |
/**
|
1092 |
* Returns Jed-formatted localization data. Added for backwards-compatibility.
|
1093 |
*
|
1095 |
*
|
1096 |
* @return array
|
1097 |
*/
|
1098 |
+
function wp_get_jed_locale_data($domain)
|
1099 |
+
{
|
1100 |
+
$translations = get_translations_for_domain($domain);
|
1101 |
|
1102 |
$locale = array(
|
1103 |
'' => array(
|
1104 |
'domain' => $domain,
|
1105 |
+
'lang' => is_admin() && function_exists('get_user_locale') ? get_user_locale() : get_locale(),
|
1106 |
),
|
1107 |
);
|
1108 |
|
1109 |
+
if (!empty($translations->headers['Plural-Forms'])) {
|
1110 |
$locale['']['plural_forms'] = $translations->headers['Plural-Forms'];
|
1111 |
}
|
1112 |
|
1113 |
+
foreach ($translations->entries as $msgid => $entry) {
|
1114 |
+
$locale[$msgid] = $entry->translations;
|
1115 |
}
|
1116 |
|
1117 |
return $locale;
|
1118 |
}
|
1119 |
}
|
1120 |
|
1121 |
+
function monsterinsights_get_inline_menu_icon()
|
1122 |
+
{
|
1123 |
+
$scheme = get_user_option('admin_color', get_current_user_id());
|
1124 |
$use_dark_scheme = $scheme === 'light';
|
1125 |
+
if ($use_dark_scheme) {
|
1126 |
+
return 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJub256ZXJvIj48cGF0aCBkPSJNOC4zNyA3LjE5OWMuMDI4LS4wMS4wNTQtLjAyLjA4My0uMDI5YTEuNDcgMS40NyAwIDAgMSAuMTExLS4wMzJjLjAzLS4wMDYuMDU1LS4wMTMuMDg0LS4wMTYuMDg2LS4wMTYuMTcyLS4wMjUuMjU5LS4wMzIuMDI4IDAgLjA1Ny0uMDAzLjA5LS4wMDNsLjAwMi4wMDNoLjAwNGMuMDMyIDAgLjA2NCAwIC4wOTYuMDAzLjAxNiAwIC4wMzUuMDA0LjA1LjAwNGwuMDQyLjAwMy4wNjcuMDEuMDIzLjAwM2MuMDI1LjAwMy4wNTEuMDEuMDc3LjAxMmwuMDEyLjAwNGMuMDMuMDA2LjA1NS4wMTIuMDguMDE5aC4wMWMuMDI2LjAwNi4wNTQuMDE2LjA4LjAyMmguMDA2YS43NzIuNzcyIDAgMCAxIC4wOC4wMjZsLjAwNy4wMDMuMDc2LjAzMi4wMDcuMDAzLjAyOS4wMTMuMDA2LjAwM2MuMjUuMTEyLjQ3LjI3OC42NS40OS4xNjUtLjI2LjM2Ny0uNDkuNi0uNjkxYTMuMjg0IDMuMjg0IDAgMCAwLTIuMDQzLTEuODM2Yy0uMDM1LS4wMS0uMDc0LS4wMjMtLjExMi0uMDMybC0uMDMyLS4wMWEzLjk0MyAzLjk0MyAwIDAgMC0uMzg3LS4wNzcgMS43NjIgMS43NjIgMCAwIDAtLjE4Mi0uMDE5IDEuNjI4IDEuNjI4IDAgMCAwLS4xMjUtLjAwNmMtLjA0MiAwLS4wODMtLjAwMy0uMTI4LS4wMDMtLjExNSAwLS4yMy4wMDYtLjM0Mi4wMTlsLS4wODcuMDEtLjA2NC4wMWMtLjA2My4wMDktLjEyNC4wMTgtLjE4OC4wMzRoLS4wMDNjLS4wMjMuMDA0LS4wNDIuMDEtLjA2NC4wMTNhLjUyNS41MjUgMCAwIDAtLjAzNi4wMWMtLjAwNiAwLS4wMTIuMDAzLS4wMTYuMDAzbC0uMDEuMDAzLS4wNTcuMDE2aC0uMDAzbC0uMDE2LjAwMy0uMDI5LjAxLS4wNi4wMTZoLS4wMDRhMy4yODYgMy4yODYgMCAwIDAtMi4xOTcgMi4zMDljMCAuMDAzIDAgLjAwMy0uMDAzLjAwNi0uMDA2LjAyNi0uMDEzLjA1MS0uMDE2LjA3N2EzLjI4IDMuMjggMCAwIDAgMi43MTggMy45ODJjLjAzMi4wMDMuMDYxLjAxLjA5My4wMTJsLjA5My4wMWMuMDk2LjAwNi4xOTIuMDEzLjI4OC4wMTNoLjAwM2MuMDUxIDAgLjEwNiAwIC4xNTctLjAwMy4wNS0uMDA0LjEwMi0uMDA3LjE1My0uMDEzYTQuNjMgNC42MyAwIDAgMCAuMzA0LS4wNDJjLjExMi0uMDIyLjIyNC0uMDQ4LjMzMy0uMDhsLjA4Ni0uMDI4YTMuMzM1IDMuMzM1IDAgMCAwIDEuMTYtLjY3NSAyLjkyNiAyLjkyNiAwIDAgMS0uMTI3LS4zM2gtLjAwM2ExLjgyIDEuODIgMCAwIDEtLjk4NS4zMzNoLS4wNzdjLS4wNDUgMC0uMDg2IDAtLjEyOC0uMDAzLS4wMjItLjAwMy0uMDQyLS4wMDMtLjA2LS4wMDdhMS44NTMgMS44NTMgMCAwIDEtMS40MjctLjk0NmgtLjAwM2ExLjg0NCAxLjg0NCAwIDAgMS0uMjMtLjg5M2MwLS4wMzIgMC0uMDY0LjAwMy0uMDk2YS43NDQuNzQ0IDAgMCAwIC42NTYuMjE3Ljc1Mi43NTIgMCAwIDAgLjYyLS44NjkuNzUzLjc1MyAwIDAgMC0uNjU2LS42MjdoLS4wMDNjLjE3LS4xNS4zNjUtLjI2OC41NzYtLjM0OGwuMDI4LS4wMTNaTTIuODk0IDE0LjEyYy0uNDYtLjAzOS0uNTc5LS4yMTgtLjU5MS0uMzIzLS4wNDItLjQxLS4wODctLjgyMi0uMTI1LTEuMjM1bC0uMDQ4LS41MDItLjIwMi0yLjE1MmMtLjAxMi0uMTI1LS4wMjItLjI1LS4wMzUtLjM3NWE0LjMgNC4zIDAgMCAwLS41MzQuNTE5Yy0uNjMuNzI2LS45OTQgMS42MDgtMS4xODMgMi41NzQtLjEwNi41NS0uMTYzIDEuMTA3LS4xNzYgMS42NjZsLjAwMy4wMDNIMGMuMDIuNDQ4LjExOC44LjMxNyAxLjAxNy4yMDEtLjAxNi4zOC0uMTY2LjUxNS0uMzUxYTEuNyAxLjcgMCAwIDAgLjI4LjY5Yy40NC0uMDkyLjc4NC0uMzMyLjk0MS0uNzEuMDc3LjAwNC4xNTcuMDA0LjIzNC4wMDQuMTEyLjQwMy41MDUuNTk4LjcxLjU4OC4wOTktLjE2Ni4xOTUtLjM4NC4xOTgtLjY0NnYtLjc1MWwtLjEzOC0uMDFjLS4wNiAwLS4xMTItLjAwMy0uMTYzLS4wMDZaTS4zNzcgMTUuMTVhMS4zMzQgMS4zMzQgMCAwIDEtLjIyLS43M2guMDE5Yy4wOTYuMDYuMTk1LjExNS4yOTQuMTYzbC0uMDkzLjU2NlptLjguMzMyYTEuNzY0IDEuNzY0IDAgMCAxLS4yMy0uNzEzYy4xNDQuMDQxLjI5LjA3Ni40MzguMTAybC0uMjA4LjYxWm0xLjc0LS4xLS4xMjgtLjQ1M2MuMDkyLS4wMDcuMTg1LS4wMTYuMjc4LS4wMjZhMS4wNjEgMS4wNjEgMCAwIDEtLjE1LjQ4Wk00LjYyNCAxNC4xOTNsLS4zMjktLjAxNmMtLjIzLjM0NS0uMzkuNzItLjQ0OCAxLjAzMy4xNjcuMjA4LjM2NS4zODcuNTg5LjUzMWEuODcuODcgMCAwIDAtLjE0MS4yNTZoMy4zNjh2LTEuNzI0Yy0uMTEgMC0uMjE4IDAtLjMyMy0uMDAzYTYzLjUxOCA2My41MTggMCAwIDEtMi43MTYtLjA3N1pNMTEuMjY0IDE0LjE5M2E2OS4yMyA2OS4yMyAwIDAgMS0yLjcxMi4wOGMtLjExIDAtLjIxOCAwLS4zMjcuMDAzVjE2aDMuMzY4YS44MjYuODI2IDAgMCAwLS4xNDQtLjI1OWMuMjItLjE0Ny40Mi0uMzI2LjU4NS0uNTMtLjA1Ny0uMzE0LS4yMTctLjY4OS0uNDQ3LTEuMDM0bC0uMzIzLjAxNloiLz48cGF0aCBkPSJNMTUuODE4IDExLjM4OGMtLjA0Mi0uMDQ0LS4wOS0uMDgzLS4xMzUtLjEyNC0uMDU0LjA3Ni0uMTEyLjE1LS4xNy4yMjRhMy4xNTMgMy4xNTMgMCAwIDEtMi4yNTUgMS4xMzVoLS4wMjhhMy41MjcgMy41MjcgMCAwIDEtLjM2Ny0uMDAzbC0uMDc3LS4wMDdhMy4xODYgMy4xODYgMCAwIDEtMi40MTEtMS40OTQgMy42NjEgMy42NjEgMCAwIDEtNS45NTItMy42bC4wMDYtLjAyM2MuMDA0LS4wMjIuMDEtLjA0MS4wMTYtLjA2NHYtLjAwNmEzLjY2OCAzLjY2OCAwIDAgMSAyLjc5LTIuNjY3IDMuNjYyIDMuNjYyIDAgMCAxIDQuMDggMi4wNDcgMy4xNzcgMy4xNzcgMCAwIDEgMi40ODgtLjQ0OGMuMDctLjgyOS4xMzctMS42Ny4yMDUtMi41NTJsLTEuMTIzLS4zMWMuMTIyLS44MDMtLjAxMy0xLjIxOS0uMTc2LTEuOTQ4LS41MDguNDIyLS44MzUuNzI5LTEuNDUyIDEuMDRBNi4yNzQgNi4yNzQgMCAwIDAgMTAuNDYxLjRsLS4yNC0uNGMtLjkwOC42ODQtMS42NzkgMS4yMzQtMi4yOCAyLjE0QzcuMzQ2IDEuMjM0IDYuNTY5LjY4NCA1LjY2NCAwbC0uMjM3LjQwM2E2LjMxMyA2LjMxMyAwIDAgMC0uNzk2IDIuMTljLS42Mi0uMzEzLS45NDQtLjYxNy0xLjQ1Mi0xLjAzOS0uMTY2LjczLS4zIDEuMTQ1LS4xNzYgMS45NDhoLS4wMDZsLTEuMTIzLjMxYTM2OS40MTEgMzY5LjQxMSAwIDAgMCAuNDg2IDUuNjdjLjA2Ny43Mi4xMzEgMS40MzYuMjAyIDIuMTUzbC4wNDguNTAyLjEyNCAxLjIzMWMuMDEzLjEwNi4xMjguMjg1LjU5Mi4zMjMuMDUxLjAwMy4xMDYuMDA2LjE2My4wMDZsLjEzOC4wMWMuMjIzLjAxNi40NDcuMDI5LjY3NC4wMzhhNjkuMjMgNjkuMjMgMCAwIDAgMy4wNDEuMDk2aDEuMjEzYTYzLjM1IDYzLjM1IDAgMCAwIDIuNzEyLS4wOGMuMTA5LS4wMDYuMjE3LS4wMTIuMzI2LS4wMTZsLjgwNi0uMDQ4Yy4xMTUgMCAuMjMtLjAxLjM0Mi0uMDMyLjM0Ni42MTEuOTkyLjk5MiAxLjY5NS45OTJoLjA1MWwuMTQ3LjQzOGMuMDguMjM3Ljk2My0uMDU4Ljg4My0uMjk0bC0uMDctLjIxOGExLjExIDEuMTEgMCAwIDEtLjMwNC0uMDU3IDEuMjE0IDEuMjE0IDAgMCAxLS4zNTItLjE5MiAxLjcxNiAxLjcxNiAwIDAgMS0uMjY5LS4yNmMuMTEyLS4yMTQuMjctLjQwMi40NTgtLjU1YTEuMTUgMS4xNSAwIDAgMS0uNDQ4LS4xODVjLjAzNS4zMTQtLjAzMi42MDUtLjIwOC44MjJhMS4wNjYgMS4wNjYgMCAwIDEtLjEzNC4xMzRjLS40NjctLjA0MS0uNjU5LS40NDQtLjYzLS45MjdsLS4wMDMtLjAwM2MuMTUzLS4wNDIuMzEzLS4wNy40NzMtLjA4My4xNjYtLjAxMy4zMzYuMDA2LjQ5Ni4wNTRhMS42NyAxLjY3IDAgMCAxLS4zMzMtLjMwN2MuMTI4LS4yNDMuMzEtLjQ1LjUzNC0uNjEuMDk2LS4wNzEuMTk1LS4xMzUuMy0uMjAyLjI1LjIxNy40MTcuNDcuNDUyLjcyOWEuNzI1LjcyNSAwIDAgMS0uMDUxLjM3N2MuMTMuMTE5LjIzNi4yNjIuMzEzLjQyMmEuODM2LjgzNiAwIDAgMSAuMDc3LjM0MyAxLjkxMiAxLjkxMiAwIDAgMCAwLTIuN1pNNi40MTIgMy42NWExLjkzOSAxLjkzOSAwIDAgMSAxLjUzMi0uMzhjLjQ1Ny4wODYuODg2LjM2IDEuMTguODY2di4wMDNDNy42NjYgMy45MTQgNi4zOCA0LjI3IDUuNzEgNS4zNzZhMS44MTUgMS44MTUgMCAwIDEgLjcwNC0xLjcyN1oiLz48cGF0aCBkPSJNMTMuMzY4IDYuNjg3YTIuNzg0IDIuNzg0IDAgMCAwLTIuNjc0IDQuMjA5bC41MDItLjY5NGEuNTcyLjU3MiAwIDEgMSAxLjAwMS0uMjgybC44NDUuMzUyYy4wMTMtLjAxNi4wMjUtLjAzNS4wNDEtLjA1LjEtLjExLjI0LS4xNzQuMzg0LS4xODNoLjAwN2EuNDQuNDQgMCAwIDEgLjE0My4wMTNsLjYwMi0xLjI0NGEuNTcuNTcgMCAwIDEtLjA3LS44MDYuNTcuNTcgMCAwIDEgLjgwNS0uMDdjLjEyMi4xMDIuMTk1LjI0OS4yMDUuNDA1di4wMDRsLjUwMi4wOTZoLjAwM2EyLjc4NiAyLjc4NiAwIDAgMC0xLjg5Ni0xLjY3MyAyLjQ1IDIuNDUgMCAwIDAtLjQtLjA3N1oiLz48cGF0aCBkPSJtMTQuNDY4IDguOTI5LS42MDEgMS4yNGEuNTc3LjU3NyAwIDAgMSAuMTUuNjg1LjU3NC41NzQgMCAwIDEtLjY0OS4zMS41NzQuNTc0IDAgMCAxLS40MzItLjY0M2wtLjg0NC0uMzUxYS41NzQuNTc0IDAgMCAxLS42NzIuMTg1bC0uNTYuNzc4YTIuNzcgMi43NyAwIDAgMCAyIDEuMDljLjAxMiAwIC4wMjUuMDAzLjAzOC4wMDMuMTEyLjAwNy4yMjQuMDEuMzM2LjAwMy4wMSAwIC4wMTktLjAwMy4wMzItLjAwMy4wNTctLjAwMy4xMTUtLjAxLjE3Mi0uMDE2YTIuNzkgMi43OSAwIDAgMCAxLjc0Ni0uOTQzYy4wNjEtLjA3NC4xMjItLjE0Ny4xNzYtLjIyN2EyLjc4NyAyLjc4NyAwIDAgMCAuNDEtMi4zMDZoLS4wMDNsLS42NTYtLjEyOGEuNTguNTggMCAwIDEtLjY0My4zMjNaIi8+PC9nPjwvc3ZnPg==';
|
1127 |
+
// return 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAFQUlEQVRYha2Yb2hXZRTHP+c3nc6pm07NF0KWWUtSo0wqzBdiZRItTKMaEZXSi0zRNAsqTBKKSFOa0B8Jigqz2lSwLMtqRURgRuCCLLNmselyZups2+/04pzbnt3de3eTDlzufc5znvN8n+ec55zzXFFV8pKITANOqmpTP3JTgIKq7sutPCJVzfUABeAb4DSwMENuKdABNObV3Wv8fwB0C6DAUX8/67sQ9Q8ANsVk5v5vgIDKWHsvcAgYCWzzCbc6kFJgh/PqgVHAb8DnWTpzA3LzHARmeXuqT/Zo0L/eeZuAV/x7fbRrwJPOu9Dbc4EDgJwNoMmurAt4Bljt7cmBjACvOl+BzTEdVzj/EWAj0O3tC84G0AIf3BRMeDz0GZcbBvzqKy+L9Q30A6AxXTdmARqQcPAAyv29CBjjO1RU1SKAiIwGFgLX+MrbgBnAh5ECVe0UkUMO6nHgFLA70J1McacD5gHbfTXzg77qwBeOBysPn830PnnVwXety7wL1AAV/ZoM+MIHdQCfAdfF+s8H/koBEz0rU9xgLtAInHG5j/KYrNWf8ap6OmFD7w+2/Cugwd/NmOkqgbIUS+wEdorIEOAwFqv6UBKgihQwANNc0b2quh1ARIZi/nUqZUycOrDDcCSps5AAaJBPkkStwNVAs4i8JiLHgBPASRFpFZEGEZktIpIBqBIoIWWH4nZegtl3fIofjAKeoyemfAe8hZnu64D/NjAsRcdEl1mcx6lvc+HLU6L3O97/JXBlgszF9KSVvXhswkxUC6wLdKzIA2iWC1+fMNlK72sASlMjrQHf4LIvAw8B7fScwmNAZ7DDs7MARSmjNsYf7oqak0wBjAXuBlb5Lo9wE0Yg6rHAOdjlR2KB9Qc384o0QOe4giUx/u3OX5oA5gEsCoexqBnYAxTTfMXHlvuOF4F5SYBKHPGaGH+jTzQxxefSnnVpYAIdg9x0PwEDkwSOAHUx3hafoDzGP5AB5gQ56h/XU+NjauJxCCxRjo7xOvw9ImKISBUwIWF8RLtVtT2jP6SdWBKe1QuQiCwDLsKcNKSoqJ8e8BJTREAHc4JBVTuBn4Gx/wISkflYndyNOXdI2/29OOAd7mfSIXkBOZUDxTACt2A78SLQnmDnBszOiwLeraT70Ld5/Mf1jPMxqyLGWqxcnYoFMqVvBTgOK9y7gOVAifMfdF4SqJk5Aa3FLFMNduxagQbvvJOUfIb51/f0lKSrsROyHCtlIyDtrrMJqOoHzAysRvrA28wmSBfAtd7uk6u8vwwr/JOqxm4sl01wvZ3AfhJyo+taAPyJhYi/gekCPIXdNitV9YyIXIIFqptVdVsf13MSkVJgJlZF4rvSqKq/BzJzgNexcPEp8LFPXAHcAFzqoKcAddjR5z2Cay/m4Arcl9cp+zFJFfA0dslMOwB1wD1AewGrTw4Ei2/zVcSP/lmRqrap6irs8gAwid7xDOAuzNwlgmXxF1T14ahXRPZjtU1k3+g5Tk8pkUUFzCwVWC003N/DgGVYIXheIF/EfmQcFczDW4DnsVtBCxbUtmIOPAAzY6MPLgMG+/dlDrIADHWlYL4QpZuZWLjYgp3SOb7QMbFFFLF6LDNB7sGcri7FP7qwWmcX9t8oSWaDA6zCqomXUuZ6U1UpYDXxH5jfgKWET/y7zXfolIgkJeJMEpES/xwMXKWq3aq6CLu9PAH8Eog/Fn2UYnlkDWa2c719E3Y/f8NX0AL8GHuianAXtuXx/lZ6brR9/npgcWgHcEfEkyg6ZqyyBrt1ptE+X9SkDJl6VX0/cyKnfwBb6gwNaZ8ExgAAAABJRU5ErkJggg';
|
1128 |
} else {
|
1129 |
+
return 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iI0ZGRiIgZmlsbC1ydWxlPSJub256ZXJvIj48cGF0aCBkPSJNOC4zNyA3LjE5OWMuMDI4LS4wMS4wNTQtLjAyLjA4My0uMDI5YTEuNDcgMS40NyAwIDAgMSAuMTExLS4wMzJjLjAzLS4wMDYuMDU1LS4wMTMuMDg0LS4wMTYuMDg2LS4wMTYuMTcyLS4wMjUuMjU5LS4wMzIuMDI4IDAgLjA1Ny0uMDAzLjA5LS4wMDNsLjAwMi4wMDNoLjAwNGMuMDMyIDAgLjA2NCAwIC4wOTYuMDAzLjAxNiAwIC4wMzUuMDA0LjA1LjAwNGwuMDQyLjAwMy4wNjcuMDEuMDIzLjAwM2MuMDI1LjAwMy4wNTEuMDEuMDc3LjAxMmwuMDEyLjAwNGMuMDMuMDA2LjA1NS4wMTIuMDguMDE5aC4wMWMuMDI2LjAwNi4wNTQuMDE2LjA4LjAyMmguMDA2YS43NzIuNzcyIDAgMCAxIC4wOC4wMjZsLjAwNy4wMDMuMDc2LjAzMi4wMDcuMDAzLjAyOS4wMTMuMDA2LjAwM2MuMjUuMTEyLjQ3LjI3OC42NS40OS4xNjUtLjI2LjM2Ny0uNDkuNi0uNjkxYTMuMjg0IDMuMjg0IDAgMCAwLTIuMDQzLTEuODM2Yy0uMDM1LS4wMS0uMDc0LS4wMjMtLjExMi0uMDMybC0uMDMyLS4wMWEzLjk0MyAzLjk0MyAwIDAgMC0uMzg3LS4wNzcgMS43NjIgMS43NjIgMCAwIDAtLjE4Mi0uMDE5IDEuNjI4IDEuNjI4IDAgMCAwLS4xMjUtLjAwNmMtLjA0MiAwLS4wODMtLjAwMy0uMTI4LS4wMDMtLjExNSAwLS4yMy4wMDYtLjM0Mi4wMTlsLS4wODcuMDEtLjA2NC4wMWMtLjA2My4wMDktLjEyNC4wMTgtLjE4OC4wMzRoLS4wMDNjLS4wMjMuMDA0LS4wNDIuMDEtLjA2NC4wMTNhLjUyNS41MjUgMCAwIDAtLjAzNi4wMWMtLjAwNiAwLS4wMTIuMDAzLS4wMTYuMDAzbC0uMDEuMDAzLS4wNTcuMDE2aC0uMDAzbC0uMDE2LjAwMy0uMDI5LjAxLS4wNi4wMTZoLS4wMDRhMy4yODYgMy4yODYgMCAwIDAtMi4xOTcgMi4zMDljMCAuMDAzIDAgLjAwMy0uMDAzLjAwNi0uMDA2LjAyNi0uMDEzLjA1MS0uMDE2LjA3N2EzLjI4IDMuMjggMCAwIDAgMi43MTggMy45ODJjLjAzMi4wMDMuMDYxLjAxLjA5My4wMTJsLjA5My4wMWMuMDk2LjAwNi4xOTIuMDEzLjI4OC4wMTNoLjAwM2MuMDUxIDAgLjEwNiAwIC4xNTctLjAwMy4wNS0uMDA0LjEwMi0uMDA3LjE1My0uMDEzYTQuNjMgNC42MyAwIDAgMCAuMzA0LS4wNDJjLjExMi0uMDIyLjIyNC0uMDQ4LjMzMy0uMDhsLjA4Ni0uMDI4YTMuMzM1IDMuMzM1IDAgMCAwIDEuMTYtLjY3NSAyLjkyNiAyLjkyNiAwIDAgMS0uMTI3LS4zM2gtLjAwM2ExLjgyIDEuODIgMCAwIDEtLjk4NS4zMzNoLS4wNzdjLS4wNDUgMC0uMDg2IDAtLjEyOC0uMDAzLS4wMjItLjAwMy0uMDQxLS4wMDMtLjA2LS4wMDdhMS44NTMgMS44NTMgMCAwIDEtMS40MjctLjk0NmgtLjAwM2ExLjg0NCAxLjg0NCAwIDAgMS0uMjMtLjg5M2MwLS4wMzIgMC0uMDY0LjAwMy0uMDk2YS43NDQuNzQ0IDAgMCAwIC42NTYuMjE3Ljc1Mi43NTIgMCAwIDAgLjYyLS44NjkuNzUzLjc1MyAwIDAgMC0uNjU2LS42MjdoLS4wMDNjLjE3LS4xNS4zNjUtLjI2OC41NzYtLjM0OGwuMDI4LS4wMTNaTTIuODk0IDE0LjEyYy0uNDYtLjAzOS0uNTc5LS4yMTgtLjU5MS0uMzIzLS4wNDItLjQxLS4wODctLjgyMi0uMTI1LTEuMjM1bC0uMDQ4LS41MDItLjIwMi0yLjE1MmMtLjAxMi0uMTI1LS4wMjItLjI1LS4wMzUtLjM3NWE0LjMgNC4zIDAgMCAwLS41MzQuNTE5Yy0uNjMuNzI2LS45OTQgMS42MDgtMS4xODMgMi41NzQtLjEwNi41NS0uMTYzIDEuMTA3LS4xNzYgMS42NjZsLjAwMy4wMDNIMGMuMDIuNDQ4LjExOC44LjMxNyAxLjAxNy4yMDEtLjAxNi4zOC0uMTY2LjUxNS0uMzUxYTEuNyAxLjcgMCAwIDAgLjI4LjY5Yy40NC0uMDkyLjc4NC0uMzMyLjk0MS0uNzEuMDc3LjAwNC4xNTcuMDA0LjIzNC4wMDQuMTEyLjQwMy41MDUuNTk4LjcxLjU4OC4wOTktLjE2Ni4xOTUtLjM4NC4xOTgtLjY0NnYtLjc1MWwtLjEzOC0uMDFjLS4wNiAwLS4xMTItLjAwMy0uMTYzLS4wMDZaTS4zNzcgMTUuMTVhMS4zMzQgMS4zMzQgMCAwIDEtLjIyLS43M2guMDE5Yy4wOTYuMDYuMTk1LjExNS4yOTQuMTYzbC0uMDkzLjU2NlptLjguMzMyYTEuNzY0IDEuNzY0IDAgMCAxLS4yMy0uNzEzYy4xNDQuMDQxLjI5LjA3Ni40MzguMTAybC0uMjA4LjYxWm0xLjc0LS4xLS4xMjgtLjQ1M2MuMDkyLS4wMDcuMTg1LS4wMTYuMjc4LS4wMjZhMS4wNjEgMS4wNjEgMCAwIDEtLjE1LjQ4Wk00LjYyNCAxNC4xOTNsLS4zMjktLjAxNmMtLjIzLjM0NS0uMzkuNzItLjQ0OCAxLjAzMy4xNjcuMjA4LjM2NS4zODcuNTg5LjUzMWEuODcuODcgMCAwIDAtLjE0MS4yNTZoMy4zNjh2LTEuNzI0Yy0uMTEgMC0uMjE4IDAtLjMyMy0uMDAzYTYzLjUxOCA2My41MTggMCAwIDEtMi43MTYtLjA3N1pNMTEuMjY0IDE0LjE5M2E2OS4yMyA2OS4yMyAwIDAgMS0yLjcxMi4wOGMtLjExIDAtLjIxOCAwLS4zMjcuMDAzVjE2aDMuMzY4YS44MjYuODI2IDAgMCAwLS4xNDQtLjI1OWMuMjItLjE0Ny40Mi0uMzI2LjU4NS0uNTMtLjA1Ny0uMzE0LS4yMTctLjY4OS0uNDQ3LTEuMDM0bC0uMzIzLjAxNloiLz48cGF0aCBkPSJNMTUuODE4IDExLjM4OGMtLjA0Mi0uMDQ0LS4wOS0uMDgzLS4xMzUtLjEyNC0uMDU0LjA3Ni0uMTEyLjE1LS4xNy4yMjRhMy4xNTMgMy4xNTMgMCAwIDEtMi4yNTUgMS4xMzVoLS4wMjhhMy41MjcgMy41MjcgMCAwIDEtLjM2Ny0uMDAzbC0uMDc3LS4wMDdhMy4xODYgMy4xODYgMCAwIDEtMi40MTEtMS40OTQgMy42NjEgMy42NjEgMCAwIDEtNS45NTItMy42bC4wMDYtLjAyM2MuMDA0LS4wMjIuMDEtLjA0MS4wMTYtLjA2NHYtLjAwNmEzLjY2OCAzLjY2OCAwIDAgMSAyLjc5LTIuNjY3IDMuNjYyIDMuNjYyIDAgMCAxIDQuMDggMi4wNDcgMy4xNzcgMy4xNzcgMCAwIDEgMi40ODgtLjQ0OGMuMDctLjgyOS4xMzctMS42Ny4yMDUtMi41NTJsLTEuMTIzLS4zMWMuMTIyLS44MDMtLjAxMy0xLjIxOS0uMTc2LTEuOTQ4LS41MDguNDIyLS44MzUuNzI5LTEuNDUyIDEuMDRBNi4yNzQgNi4yNzQgMCAwIDAgMTAuNDYxLjRsLS4yNC0uNGMtLjkwOC42ODQtMS42NzkgMS4yMzQtMi4yOCAyLjE0QzcuMzQ2IDEuMjM0IDYuNTY5LjY4NCA1LjY2NCAwbC0uMjM3LjQwM2E2LjMxMyA2LjMxMyAwIDAgMC0uNzk2IDIuMTljLS42Mi0uMzEzLS45NDQtLjYxNy0xLjQ1Mi0xLjAzOS0uMTY2LjczLS4zIDEuMTQ1LS4xNzYgMS45NDhoLS4wMDZsLTEuMTIzLjMxYTM2OS40MTEgMzY5LjQxMSAwIDAgMCAuNDg2IDUuNjdjLjA2Ny43Mi4xMzEgMS40MzYuMjAyIDIuMTUzbC4wNDguNTAyLjEyNCAxLjIzMWMuMDEzLjEwNi4xMjguMjg1LjU5Mi4zMjMuMDUxLjAwMy4xMDYuMDA2LjE2My4wMDZsLjEzOC4wMWMuMjIzLjAxNi40NDcuMDI5LjY3NC4wMzhhNjkuMjMgNjkuMjMgMCAwIDAgMy4wNDEuMDk2aDEuMjEzYTYzLjM1IDYzLjM1IDAgMCAwIDIuNzEyLS4wOGMuMTA5LS4wMDYuMjE3LS4wMTIuMzI2LS4wMTZsLjgwNi0uMDQ4Yy4xMTUgMCAuMjMtLjAxLjM0Mi0uMDMyLjM0Ni42MTEuOTkyLjk5MiAxLjY5NS45OTJoLjA1MWwuMTQ3LjQzOGMuMDguMjM3Ljk2My0uMDU4Ljg4My0uMjk0bC0uMDctLjIxOGExLjExIDEuMTEgMCAwIDEtLjMwNC0uMDU3IDEuMjE0IDEuMjE0IDAgMCAxLS4zNTItLjE5MiAxLjcxNiAxLjcxNiAwIDAgMS0uMjY5LS4yNmMuMTEyLS4yMTQuMjctLjQwMi40NTgtLjU1YTEuMTUgMS4xNSAwIDAgMS0uNDQ4LS4xODVjLjAzNS4zMTQtLjAzMi42MDUtLjIwOC44MjJhMS4wNjYgMS4wNjYgMCAwIDEtLjEzNC4xMzRjLS40NjctLjA0MS0uNjU5LS40NDQtLjYzLS45MjdsLS4wMDMtLjAwM2MuMTUzLS4wNDIuMzEzLS4wNy40NzMtLjA4My4xNjYtLjAxMy4zMzYuMDA2LjQ5Ni4wNTRhMS42NyAxLjY3IDAgMCAxLS4zMzMtLjMwN2MuMTI4LS4yNDMuMzEtLjQ1LjUzNC0uNjEuMDk2LS4wNzEuMTk1LS4xMzUuMy0uMjAyLjI1LjIxNy40MTcuNDcuNDUyLjcyOWEuNzI1LjcyNSAwIDAgMS0uMDUxLjM3N2MuMTMuMTE5LjIzNi4yNjIuMzEzLjQyMmEuODM2LjgzNiAwIDAgMSAuMDc3LjM0MyAxLjkxMiAxLjkxMiAwIDAgMCAwLTIuN1pNNi40MTIgMy42NWExLjkzOSAxLjkzOSAwIDAgMSAxLjUzMi0uMzhjLjQ1Ny4wODYuODg2LjM2IDEuMTguODY2di4wMDNDNy42NjYgMy45MTQgNi4zOCA0LjI3IDUuNzEgNS4zNzZhMS44MTUgMS44MTUgMCAwIDEgLjcwNC0xLjcyN1oiLz48cGF0aCBkPSJNMTMuMzY4IDYuNjg3YTIuNzg0IDIuNzg0IDAgMCAwLTIuNjc0IDQuMjA5bC41MDItLjY5NGEuNTcyLjU3MiAwIDEgMSAxLjAwMS0uMjgybC44NDUuMzUyYy4wMTMtLjAxNi4wMjUtLjAzNS4wNDEtLjA1LjEtLjExLjI0LS4xNzQuMzg0LS4xODNoLjAwN2EuNDQuNDQgMCAwIDEgLjE0My4wMTNsLjYwMi0xLjI0NGEuNTcuNTcgMCAwIDEtLjA3LS44MDYuNTcuNTcgMCAwIDEgLjgwNS0uMDdjLjEyMi4xMDIuMTk1LjI0OS4yMDUuNDA1di4wMDRsLjUwMi4wOTZoLjAwM2EyLjc4NiAyLjc4NiAwIDAgMC0xLjg5Ni0xLjY3MyAyLjQ1IDIuNDUgMCAwIDAtLjQtLjA3N1oiLz48cGF0aCBkPSJtMTQuNDY4IDguOTI5LS42MDEgMS4yNGEuNTc3LjU3NyAwIDAgMSAuMTUuNjg1LjU3NC41NzQgMCAwIDEtLjY0OS4zMS41NzQuNTc0IDAgMCAxLS40MzItLjY0M2wtLjg0NC0uMzUxYS41NzQuNTc0IDAgMCAxLS42NzIuMTg1bC0uNTYuNzc4YTIuNzcgMi43NyAwIDAgMCAyIDEuMDljLjAxMiAwIC4wMjUuMDAzLjAzOC4wMDMuMTEyLjAwNy4yMjQuMDEuMzM2LjAwMy4wMSAwIC4wMTktLjAwMy4wMzItLjAwMy4wNTctLjAwMy4xMTUtLjAxLjE3Mi0uMDE2YTIuNzkgMi43OSAwIDAgMCAyLjMzMi0zLjQ3NmgtLjAwM2wtLjY1Ni0uMTI4YS41OC41OCAwIDAgMS0uNjQzLjMyM1oiLz48L2c+PC9zdmc+';
|
1130 |
+
//return 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH4AoEBjcfBsDvpwAABQBJREFUWMO1mGmollUQgJ9z79Vc01LLH0GLWRqlUhYV5o+LbRIVbVQSUSn9qJTKsqDCoqCINKUbtBEUFbbeDGyz1SIiaCHIINu18KZ1bbkuV+/Tj+arw8v7fvdVcuDjvGdmzsycM3Nm5nywE6BOVSfW4JukTmF3gtqifqJuVmc34ZunblFX7W6DzvYf2BDjPWpLRm9T7y/wzPw/DRhZmH+sfq/urb4YCp8JQwaqLwXuBXW0+pP6XjOZO+ueb9X2mE8OZTdl9MWBu199NL4XN05NvT1wh8R8prpGTbti0BEhbLt6t7ow5kdkPEl9zP/gkYKMowN/o7pU3RHzg3fFoHNj8epM4aY8ZoJvuPpj7HxwgTYgLoAFWac1091WgR8a4xxgH2Ah0JdS6gtlY4DZwAnADmAjMA14vSEgpdSrfg9sBm4BeoCVmex6gayepS6P3ZyT0SZksbDJcnikcPMmZN+zgud59Qx1RB2D3o9FW9R31ZMK9IPUP20O11XInqmuUrcG3xt1XNYVvwNSSptL+K/IjvxDoDPGteG6kcDgMkUppRXACnUIsA7YUNegERXGAEwNQZellJbHzodFfPXUjIwtwHDglzJiS4lBe4SSMugCjgfWqo+rvwF/AH+pXWqnOqOfXDMSaK06oaKf54Z/D6igj1bvzXLK5+rTYchHGf5ZdXiFjPHBc2Udg84P5qMqsvdzQf9APbaEZ2JWVj5u5KbIV7PURZmM+XUMag/mk0to1wWtUx3YT9lZErwPq9er3dkt/E3tzU54Rp2SMauA3zMErS1zhTpWvURdEKe8V7jQrOBOUwcF/97qbPWrcPP8KoP2DQFzC/gLAj+vZM1Vak8hF61V31L7msWKOjROvE89q4yhNSy+rYBfGorGV8RcFSyqESZ7hOu+UQeUMfyidhRwy0LB0AJ+TRNj/qjb/0QpUT2jpYS+ERhTkswA9sqEjALGNdGzMqXUXTNZrogi3F5sJ64GDgXGFhasjvGYDDe4HyXf1i3qKaVe4DtgbF6ZzwHuiZq0b2HN8hjzAF3Xj9IhO9mGDQX68gy8PpqoB9XuEj93hp/nZLjzmsTQZzvR9uwXaxY0EHdEuzo5EpklHeB+0bhvV69RWwN/beDKYHpNg+6I2z2hce261M4gXlRVz9RD1S+zlnRh3JBropVtQHfIXB3B38yYadEjvdZAzMjLhXpizI+tEDA4Gv+yrnFH1LJxIbdX/aKsNma9+++RIrapxyT1TmAeMDKltFU9HPgcODOl9GKTnQ0EpgMHBaobWJVS+jnjOQV4ItLFO8CbwDZgBHAqMAXoBSYBHcBm1JfzZ28EuOrl/9ODc5R6Vzwyq6BDvVTtbgHGA2sKiXFbydXfJUgpbUwpLQAateqwQj4DuDjSTWuKru+BlNIN2a6+ACYCv0dH2PhtCtfYjx0t4ZYR0a7uGeNw4GpgLnBgxt8HfAJsSOpWYD1wH7AqvocAz0Q2bgNGB62RoQfF95FhZAswLIQSZaBRbqYDPwHLogqcEhvdp7CJPqC9vwL5VtyUjor42B69zqvqXxU8S+IFOyq6iYcqdD3VONqngV8jbhol4e0sntqAnuIzumZAt8bnIOC4lNKOlNKceL3cCvyQsd/87/WNRuk29T51/5ifHu/zJ2MH69WvCz+zE+oroXdlL9pUkYdeUi/89xLU6VWAZn88fQoMjNtTBS+klF6pc6p/A2ye4OCYzm1lAAAAAElFTkSuQmCC';
|
1131 |
}
|
1132 |
}
|
1133 |
|
1134 |
|
1135 |
+
function monsterinsights_get_shareasale_id()
|
1136 |
+
{
|
1137 |
// Check if there's a constant.
|
1138 |
$shareasale_id = '';
|
1139 |
+
if (defined('MONSTERINSIGHTS_SHAREASALE_ID')) {
|
1140 |
$shareasale_id = MONSTERINSIGHTS_SHAREASALE_ID;
|
1141 |
}
|
1142 |
|
1143 |
// If there's no constant, check if there's an option.
|
1144 |
+
if (empty($shareasale_id)) {
|
1145 |
+
$shareasale_id = get_option('monsterinsights_shareasale_id', '');
|
1146 |
}
|
1147 |
|
1148 |
// Whether we have an ID or not, filter the ID.
|
1149 |
+
$shareasale_id = apply_filters('monsterinsights_shareasale_id', $shareasale_id);
|
1150 |
|
1151 |
// Ensure it's a number
|
1152 |
+
$shareasale_id = absint($shareasale_id);
|
1153 |
|
1154 |
return $shareasale_id;
|
1155 |
}
|
1156 |
|
1157 |
// Passed in with mandatory default redirect and shareasaleid from monsterinsights_get_upgrade_link
|
1158 |
+
function monsterinsights_get_shareasale_url($shareasale_id, $shareasale_redirect)
|
1159 |
+
{
|
1160 |
// Check if there's a constant.
|
1161 |
$custom = false;
|
1162 |
+
if (defined('MONSTERINSIGHTS_SHAREASALE_REDIRECT_URL')) {
|
1163 |
$shareasale_redirect = MONSTERINSIGHTS_SHAREASALE_REDIRECT_URL;
|
1164 |
$custom = true;
|
1165 |
}
|
1166 |
|
1167 |
// If there's no constant, check if there's an option.
|
1168 |
+
if (empty($custom)) {
|
1169 |
+
$shareasale_redirect = get_option('monsterinsights_shareasale_redirect_url', '');
|
1170 |
$custom = true;
|
1171 |
}
|
1172 |
|
1173 |
// Whether we have an ID or not, filter the ID.
|
1174 |
+
$shareasale_redirect = apply_filters('monsterinsights_shareasale_redirect_url', $shareasale_redirect, $custom);
|
1175 |
+
$shareasale_url = sprintf('https://www.shareasale.com/r.cfm?B=971799&U=%s&M=69975&urllink=%s', $shareasale_id, $shareasale_redirect);
|
1176 |
+
$shareasale_url = apply_filters('monsterinsights_shareasale_redirect_entire_url', $shareasale_url, $shareasale_id, $shareasale_redirect);
|
1177 |
return $shareasale_url;
|
1178 |
}
|
1179 |
|
1180 |
/**
|
1181 |
* Get a clean page title for archives.
|
1182 |
*/
|
1183 |
+
function monsterinsights_get_page_title()
|
1184 |
+
{
|
1185 |
|
1186 |
+
$title = __('Archives');
|
1187 |
|
1188 |
+
if (is_category()) {
|
1189 |
/* translators: Category archive title. %s: Category name */
|
1190 |
+
$title = sprintf(__('Category: %s'), single_cat_title('', false));
|
1191 |
+
} elseif (is_tag()) {
|
1192 |
/* translators: Tag archive title. %s: Tag name */
|
1193 |
+
$title = sprintf(__('Tag: %s'), single_tag_title('', false));
|
1194 |
+
} elseif (is_author()) {
|
1195 |
/* translators: Author archive title. %s: Author name */
|
1196 |
+
$title = sprintf(__('Author: %s'), '<span class="vcard">' . get_the_author() . '</span>');
|
1197 |
+
} elseif (is_year()) {
|
1198 |
/* translators: Yearly archive title. %s: Year */
|
1199 |
+
$title = sprintf(__('Year: %s'), get_the_date(_x('Y', 'yearly archives date format')));
|
1200 |
+
} elseif (is_month()) {
|
1201 |
/* translators: Monthly archive title. %s: Month name and year */
|
1202 |
+
$title = sprintf(__('Month: %s'), get_the_date(_x('F Y', 'monthly archives date format')));
|
1203 |
+
} elseif (is_day()) {
|
1204 |
/* translators: Daily archive title. %s: Date */
|
1205 |
+
$title = sprintf(__('Day: %s'), get_the_date(_x('F j, Y', 'daily archives date format')));
|
1206 |
+
} elseif (is_tax('post_format')) {
|
1207 |
+
if (is_tax('post_format', 'post-format-aside')) {
|
1208 |
+
$title = _x('Asides', 'post format archive title');
|
1209 |
+
} elseif (is_tax('post_format', 'post-format-gallery')) {
|
1210 |
+
$title = _x('Galleries', 'post format archive title');
|
1211 |
+
} elseif (is_tax('post_format', 'post-format-image')) {
|
1212 |
+
$title = _x('Images', 'post format archive title');
|
1213 |
+
} elseif (is_tax('post_format', 'post-format-video')) {
|
1214 |
+
$title = _x('Videos', 'post format archive title');
|
1215 |
+
} elseif (is_tax('post_format', 'post-format-quote')) {
|
1216 |
+
$title = _x('Quotes', 'post format archive title');
|
1217 |
+
} elseif (is_tax('post_format', 'post-format-link')) {
|
1218 |
+
$title = _x('Links', 'post format archive title');
|
1219 |
+
} elseif (is_tax('post_format', 'post-format-status')) {
|
1220 |
+
$title = _x('Statuses', 'post format archive title');
|
1221 |
+
} elseif (is_tax('post_format', 'post-format-audio')) {
|
1222 |
+
$title = _x('Audio', 'post format archive title');
|
1223 |
+
} elseif (is_tax('post_format', 'post-format-chat')) {
|
1224 |
+
$title = _x('Chats', 'post format archive title');
|
1225 |
}
|
1226 |
+
} elseif (is_post_type_archive()) {
|
1227 |
/* translators: Post type archive title. %s: Post type name */
|
1228 |
+
$title = sprintf(__('Archives: %s'), post_type_archive_title('', false));
|
1229 |
+
} elseif (is_tax()) {
|
1230 |
+
$tax = get_taxonomy(get_queried_object()->taxonomy);
|
1231 |
/* translators: Taxonomy term archive title. 1: Taxonomy singular name, 2: Current taxonomy term */
|
1232 |
+
$title = sprintf(__('%1$s: %2$s'), $tax->labels->singular_name, single_term_title('', false));
|
1233 |
}
|
1234 |
|
1235 |
return $title;
|
|
|
1236 |
}
|
1237 |
|
1238 |
/**
|
1246 |
function monsterinsights_count_third_party_ua_codes( $body, $type = 'ua' ) {
|
1247 |
$count = 0;
|
1248 |
|
|
|
|
|
|
|
|
|
|
|
1249 |
// Count all potential google site verification tags
|
1250 |
if ( $type === 'ua' ) {
|
1251 |
$pattern = '/content="UA-[0-9-]+"/';
|
1280 |
return $count;
|
1281 |
}
|
1282 |
|
1283 |
+
/**
|
1284 |
+
* Count the number of times the same tracking ID is used for Ads and Performance
|
1285 |
+
*
|
1286 |
+
* @param $current_code
|
1287 |
+
*
|
1288 |
+
* @return int
|
1289 |
+
*/
|
1290 |
+
function monsterinsights_count_addon_codes( $current_code ) {
|
1291 |
+
$count = 0;
|
1292 |
+
|
1293 |
+
|
1294 |
+
// If the ads addon is installed and its conversion ID is the same as the current code, then increase the count
|
1295 |
+
if ( class_exists( 'MonsterInsights_Ads' ) ) {
|
1296 |
+
$ads_id = esc_attr( monsterinsights_get_option( 'gtag_ads_conversion_id' ) );
|
1297 |
+
|
1298 |
+
if ( $ads_id === $current_code ) {
|
1299 |
+
$count ++;
|
1300 |
+
}
|
1301 |
+
}
|
1302 |
+
|
1303 |
+
// If the performance addon is installed and its Google Optimize ID is the same as the current code, then increase the count
|
1304 |
+
if ( class_exists( 'MonsterInsights_Performance' ) ) {
|
1305 |
+
$container_id = monsterinsights_get_option( 'goptimize_container', '' );
|
1306 |
+
|
1307 |
+
if ( $container_id === $current_code ) {
|
1308 |
+
$count ++;
|
1309 |
+
}
|
1310 |
+
}
|
1311 |
+
|
1312 |
+
return $count;
|
1313 |
+
}
|
1314 |
+
|
1315 |
/**
|
1316 |
* Detect tracking code error depending on the type of tracking code
|
1317 |
*
|
1334 |
if ( $current_code && false === strpos( $body, $current_code ) ) {
|
1335 |
// We have the tracking code but using another UA, so it's cached.
|
1336 |
$errors[] = $cache_error;
|
1337 |
+
|
1338 |
return $errors;
|
1339 |
}
|
1340 |
|
1344 |
|
1345 |
if ( $type === 'v4' && false === strpos( $body, '__gtagTracker' ) ) {
|
1346 |
$errors[] = $cache_error;
|
1347 |
+
|
1348 |
return $errors;
|
1349 |
}
|
1350 |
|
1351 |
$limit = 3;
|
1352 |
|
1353 |
+
$limit += monsterinsights_count_addon_codes( $current_code );
|
1354 |
+
|
1355 |
// TODO: Need to re-evaluate this regularly when third party plugins start supporting v4
|
1356 |
$limit += monsterinsights_count_third_party_ua_codes( $body, $type );
|
1357 |
|
1364 |
$total_count -= count( $matches[0] );
|
1365 |
}
|
1366 |
|
1367 |
+
// Main property always has a ?id=(UA|G|GT)-XXXXXXXX script
|
1368 |
$connected_type = MonsterInsights()->auth->get_connected_type();
|
1369 |
if ( $type === $connected_type && strpos( $body, 'googletagmanager.com/gtag/js?id=' . $current_code ) !== false ) {
|
1370 |
// In that case, we can safely deduct one from the total count
|
1395 |
*
|
1396 |
* @return array
|
1397 |
*/
|
1398 |
+
function monsterinsights_is_code_installed_frontend()
|
1399 |
+
{
|
1400 |
// Grab the front page html.
|
1401 |
+
$request = wp_remote_request(home_url(), array(
|
1402 |
'sslverify' => false,
|
1403 |
+
));
|
1404 |
$errors = array();
|
1405 |
|
1406 |
$accepted_http_codes = array(
|
1408 |
503
|
1409 |
);
|
1410 |
|
1411 |
+
$response_code = wp_remote_retrieve_response_code($request);
|
1412 |
|
1413 |
+
if (in_array($response_code, $accepted_http_codes, true)) {
|
1414 |
+
$body = wp_remote_retrieve_body($request);
|
1415 |
|
1416 |
$errors = array_merge(
|
1417 |
+
monsterinsights_detect_tracking_code_error($body),
|
1418 |
+
monsterinsights_detect_tracking_code_error($body, 'v4')
|
1419 |
);
|
1420 |
}
|
1421 |
|
1425 |
/**
|
1426 |
* Returns a HEX color to highlight menu items based on the admin color scheme.
|
1427 |
*/
|
1428 |
+
function monsterinsights_menu_highlight_color()
|
1429 |
+
{
|
1430 |
|
1431 |
+
$color_scheme = get_user_option('admin_color');
|
1432 |
$color = '#1da867';
|
1433 |
+
if ('light' === $color_scheme || 'blue' === $color_scheme) {
|
1434 |
$color = '#5f3ea7';
|
1435 |
}
|
1436 |
|
1442 |
*
|
1443 |
* @param string $url The url to which users get redirected.
|
1444 |
*/
|
1445 |
+
function monsterinsights_custom_track_pretty_links_redirect($url)
|
1446 |
+
{
|
1447 |
+
if (!function_exists('monsterinsights_mp_track_event_call') && !function_exists('monsterinsights_mp_collect_v4')) {
|
1448 |
return;
|
1449 |
}
|
1450 |
// Try to determine if click originated on the same site.
|
1451 |
+
$referer = !empty($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '';
|
1452 |
+
if (!empty($referer)) {
|
1453 |
+
$current_site_url = get_bloginfo('url');
|
1454 |
+
$current_site_parsed = wp_parse_url($current_site_url);
|
1455 |
+
$parsed_referer = wp_parse_url($referer);
|
1456 |
+
if (!empty($parsed_referer['host']) && !empty($current_site_parsed['host']) && $current_site_parsed['host'] === $parsed_referer['host']) {
|
1457 |
// Don't track clicks originating from same site as those are tracked with JS.
|
1458 |
return;
|
1459 |
}
|
1460 |
}
|
1461 |
// Check if this is an affiliate link and use the appropriate category.
|
1462 |
$ec = 'outbound-link';
|
1463 |
+
$inbound_paths = monsterinsights_get_option('affiliate_links', array());
|
1464 |
+
$path = empty($_SERVER['REQUEST_URI']) ? '' : $_SERVER['REQUEST_URI'];
|
1465 |
+
if (!empty($inbound_paths) && is_array($inbound_paths) && !empty($path)) {
|
1466 |
$found = false;
|
1467 |
+
foreach ($inbound_paths as $inbound_path) {
|
1468 |
+
if (empty($inbound_path['path'])) {
|
1469 |
continue;
|
1470 |
}
|
1471 |
+
if (0 === strpos($path, trim($inbound_path['path']))) {
|
1472 |
+
$label = !empty($inbound_path['label']) ? trim($inbound_path['label']) : 'aff';
|
1473 |
$ec .= '-' . $label;
|
1474 |
$found = true;
|
1475 |
break;
|
1476 |
}
|
1477 |
}
|
1478 |
+
if (!$found) {
|
1479 |
return;
|
1480 |
}
|
1481 |
} else {
|
1483 |
return;
|
1484 |
}
|
1485 |
|
1486 |
+
if (monsterinsights_get_ua_to_output()) {
|
1487 |
$track_args = array(
|
1488 |
't' => 'event',
|
1489 |
'ec' => $ec,
|
1490 |
'ea' => $url,
|
1491 |
'el' => 'external-redirect',
|
1492 |
);
|
1493 |
+
monsterinsights_mp_track_event_call($track_args);
|
1494 |
}
|
1495 |
|
1496 |
+
if (monsterinsights_get_v4_id_to_output()) {
|
1497 |
+
$url_components = parse_url($url);
|
1498 |
$args = array(
|
1499 |
'events' => array(
|
1500 |
array(
|
1506 |
)
|
1507 |
);
|
1508 |
|
1509 |
+
if (!empty($label)) {
|
1510 |
$args['events'][0]['affiliate_label'] = $label;
|
1511 |
$args['events'][0]['is_affiliate_link'] = true;
|
1512 |
}
|
1513 |
|
1514 |
+
monsterinsights_mp_collect_v4($args);
|
1515 |
}
|
1516 |
}
|
1517 |
+
add_action('prli_before_redirect', 'monsterinsights_custom_track_pretty_links_redirect');
|
1518 |
|
1519 |
/**
|
1520 |
* Get post type in admin side
|
1521 |
*
|
1522 |
*/
|
1523 |
+
function monsterinsights_get_current_post_type()
|
1524 |
+
{
|
1525 |
global $post, $typenow, $current_screen;
|
1526 |
|
1527 |
+
if ($post && $post->post_type) {
|
1528 |
return $post->post_type;
|
1529 |
+
} elseif ($typenow) {
|
1530 |
return $typenow;
|
1531 |
+
} elseif ($current_screen && $current_screen->post_type) {
|
1532 |
return $current_screen->post_type;
|
1533 |
+
} elseif (isset($_REQUEST['post_type'])) {
|
1534 |
+
return sanitize_key($_REQUEST['post_type']);
|
1535 |
}
|
1536 |
|
1537 |
return null;
|
1545 |
*
|
1546 |
* @return string
|
1547 |
*/
|
1548 |
+
function monsterinsights_decode_string($string)
|
1549 |
+
{
|
1550 |
|
1551 |
+
if (!is_string($string)) {
|
1552 |
return $string;
|
1553 |
}
|
1554 |
|
1555 |
+
return wp_kses_decode_entities(html_entity_decode($string, ENT_QUOTES));
|
1556 |
}
|
1557 |
|
1558 |
+
add_filter('monsterinsights_email_message', 'monsterinsights_decode_string');
|
1559 |
|
1560 |
/**
|
1561 |
* Sanitize a string, that can be a multiline.
|
1568 |
*
|
1569 |
* @return string If empty var is passed, or not a string - return unmodified. Otherwise - sanitize.
|
1570 |
*/
|
1571 |
+
function monsterinsights_sanitize_textarea_field($string)
|
1572 |
+
{
|
1573 |
|
1574 |
+
if (empty($string) || !is_string($string)) {
|
1575 |
return $string;
|
1576 |
}
|
1577 |
|
1578 |
+
if (function_exists('sanitize_textarea_field')) {
|
1579 |
+
$string = sanitize_textarea_field($string);
|
1580 |
} else {
|
1581 |
+
$string = implode("\n", array_map('sanitize_text_field', explode("\n", $string)));
|
1582 |
}
|
1583 |
|
1584 |
return $string;
|
1594 |
*
|
1595 |
* @return trimed sentence
|
1596 |
*/
|
1597 |
+
function monsterinsights_trim_text($text, $count)
|
1598 |
+
{
|
1599 |
$text = str_replace(" ", " ", $text);
|
1600 |
$string = explode(" ", $text);
|
1601 |
$trimed = "";
|
1602 |
|
1603 |
+
for ($wordCounter = 0; $wordCounter <= $count; $wordCounter++) {
|
1604 |
+
$trimed .= isset($string[$wordCounter]) ? $string[$wordCounter] : '';
|
1605 |
|
1606 |
+
if ($wordCounter < $count) {
|
1607 |
$trimed .= " ";
|
1608 |
} else {
|
1609 |
$trimed .= "...";
|
1619 |
* Add newly generated builder URL to PrettyLinks &
|
1620 |
* Clear localStorage key(MonsterInsightsURL) after saving PrettyLink
|
1621 |
*/
|
1622 |
+
function monsterinsights_tools_copy_url_to_prettylinks()
|
1623 |
+
{
|
1624 |
global $pagenow;
|
1625 |
|
1626 |
+
$post_type = isset($_GET['post_type']) ? $_GET['post_type'] : '';
|
1627 |
+
$monsterinsights_reference = isset($_GET['monsterinsights_reference']) ? $_GET['monsterinsights_reference'] : '';
|
1628 |
+
|
1629 |
+
if ('post-new.php' === $pagenow && 'pretty-link' === $post_type && 'url_builder' === $monsterinsights_reference) { ?>
|
1630 |
+
<script>
|
1631 |
+
let targetTitleField = document.querySelector("input[name='post_title']");
|
1632 |
+
let targetUrlField = document.querySelector("textarea[name='prli_url']");
|
1633 |
+
let MonsterInsightsUrl = JSON.parse(localStorage.getItem('MonsterInsightsURL'));
|
1634 |
+
if ('undefined' !== typeof targetUrlField && 'undefined' !== typeof MonsterInsightsUrl) {
|
1635 |
+
let url = MonsterInsightsUrl.value;
|
1636 |
+
let postTitle = '';
|
1637 |
+
let pathArray = url.split('?');
|
1638 |
+
if (pathArray.length <= 1) {
|
1639 |
+
pathArray = url.split('#');
|
1640 |
+
}
|
1641 |
+
let urlParams = new URLSearchParams(pathArray[1]);
|
1642 |
+
if (urlParams.has('utm_campaign')) {
|
1643 |
+
let campaign_name = urlParams.get('utm_campaign');
|
1644 |
+
postTitle += campaign_name;
|
1645 |
+
}
|
1646 |
+
if (urlParams.has('utm_medium')) {
|
1647 |
+
let campaign_medium = urlParams.get('utm_medium');
|
1648 |
+
postTitle += ` ${campaign_medium}`;
|
1649 |
+
}
|
1650 |
+
if (urlParams.has('utm_source')) {
|
1651 |
+
let campaign_source = urlParams.get('utm_source');
|
1652 |
+
postTitle += ` on ${campaign_source}`;
|
1653 |
+
}
|
1654 |
+
if (urlParams.has('utm_term')) {
|
1655 |
+
let campaign_term = urlParams.get('utm_term');
|
1656 |
+
postTitle += ` for ${campaign_term}`;
|
1657 |
+
}
|
1658 |
+
if (urlParams.has('utm_content')) {
|
1659 |
+
let campaign_content = urlParams.get('utm_content');
|
1660 |
+
postTitle += ` - ${campaign_content}`;
|
1661 |
+
}
|
1662 |
+
if ('undefined' !== typeof targetTitleField && postTitle) {
|
1663 |
+
targetTitleField.value = postTitle;
|
1664 |
+
}
|
1665 |
+
if (url) {
|
1666 |
+
targetUrlField.value = url;
|
1667 |
+
}
|
1668 |
+
}
|
1669 |
+
let form = document.getElementById('post');
|
1670 |
+
form.addEventListener('submit', function() {
|
1671 |
+
localStorage.removeItem('MonsterInsightsURL');
|
1672 |
+
});
|
1673 |
+
</script>
|
1674 |
+
<?php }
|
1675 |
}
|
1676 |
+
add_action('admin_footer', 'monsterinsights_tools_copy_url_to_prettylinks');
|
1677 |
|
1678 |
/**
|
1679 |
* When click on 'Create New Pretty Link" button(on tools/prettylinks-flow page) after installing & activating prettylinks plugin
|
1680 |
* it redirects to PrettyLinks welcome scree page instead of prettylinks add new page.
|
1681 |
* This function will skip that welcome screen
|
1682 |
*/
|
1683 |
+
function monsterinsights_skip_prettylinks_welcome_screen()
|
1684 |
+
{
|
1685 |
global $pagenow;
|
1686 |
|
1687 |
+
$post_type = isset($_GET['post_type']) ? $_GET['post_type'] : '';
|
1688 |
+
$monsterinsights_reference = isset($_GET['monsterinsights_reference']) ? $_GET['monsterinsights_reference'] : '';
|
1689 |
|
1690 |
+
if ('post-new.php' === $pagenow && 'pretty-link' === $post_type && 'url_builder' === $monsterinsights_reference) {
|
1691 |
+
$onboard = get_option('prli_onboard');
|
1692 |
|
1693 |
+
if ($onboard == 'welcome' || $onboard == 'update') {
|
1694 |
+
update_option('monsterinsights_backup_prli_onboard_value', $onboard);
|
1695 |
+
delete_option('prli_onboard');
|
1696 |
}
|
1697 |
}
|
1698 |
}
|
1699 |
+
add_action('wp_loaded', 'monsterinsights_skip_prettylinks_welcome_screen', 9);
|
1700 |
|
1701 |
/**
|
1702 |
* Restore the `prli_onboard` value after creating a prettylinks with monsterinsights prettylinks flow
|
1703 |
* users will see the prettylinks welcome screen after fresh installation & creating prettylinks with monsterinsights prettylinks flow
|
1704 |
*/
|
1705 |
+
function monsterinsights_restore_prettylinks_onboard_value()
|
1706 |
+
{
|
1707 |
global $pagenow;
|
1708 |
|
1709 |
+
$post_type = isset($_GET['post_type']) ? $_GET['post_type'] : '';
|
1710 |
|
1711 |
+
if ('edit.php' === $pagenow && 'pretty-link' === $post_type) {
|
1712 |
+
$onboard = get_option('monsterinsights_backup_prli_onboard_value');
|
1713 |
|
1714 |
+
if (class_exists('PrliBaseController') && ($onboard == 'welcome' || $onboard == 'update')) {
|
1715 |
+
update_option('prli_onboard', $onboard);
|
1716 |
+
delete_option('monsterinsights_backup_prli_onboard_value');
|
1717 |
}
|
1718 |
}
|
1719 |
}
|
1720 |
+
add_action('wp_loaded', 'monsterinsights_restore_prettylinks_onboard_value', 15);
|
1721 |
|
1722 |
/**
|
1723 |
* Check WP version and include the compatible upgrader skin.
|
1724 |
*
|
1725 |
* @param bool $custom_upgrader If true it will include our custom upgrader, otherwise it will use the default WP one.
|
1726 |
*/
|
1727 |
+
function monsterinsights_require_upgrader($custom_upgrader = true)
|
1728 |
+
{
|
1729 |
|
1730 |
global $wp_version;
|
1731 |
|
1732 |
$base = MonsterInsights();
|
1733 |
|
1734 |
+
if (!$custom_upgrader) {
|
1735 |
require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
|
1736 |
}
|
1737 |
|
1738 |
// WP 5.3 changes the upgrader skin.
|
1739 |
+
if (version_compare($wp_version, '5.3', '<')) {
|
1740 |
+
if ($custom_upgrader) {
|
1741 |
+
require_once plugin_dir_path($base->file) . 'includes/admin/licensing/plugin-upgrader.php';
|
1742 |
}
|
1743 |
+
require_once plugin_dir_path($base->file) . '/includes/admin/licensing/skin-legacy.php';
|
1744 |
} else {
|
1745 |
+
if ($custom_upgrader) {
|
1746 |
+
require_once plugin_dir_path($base->file) . 'includes/admin/licensing/plugin-upgrader.php';
|
1747 |
}
|
1748 |
+
require_once plugin_dir_path($base->file) . '/includes/admin/licensing/skin.php';
|
1749 |
}
|
|
|
1750 |
}
|
1751 |
|
1752 |
/**
|
1756 |
* @since 7.12.3
|
1757 |
*
|
1758 |
*/
|
1759 |
+
function monsterinsights_load_gutenberg_app()
|
1760 |
+
{
|
1761 |
global $wp_version;
|
1762 |
|
1763 |
+
if (version_compare($wp_version, '5.4', '<')) {
|
1764 |
return false;
|
1765 |
}
|
1766 |
|
1775 |
*
|
1776 |
*
|
1777 |
*/
|
1778 |
+
function monsterinsights_get_frontend_analytics_script_atts()
|
1779 |
+
{
|
1780 |
$attr_string = '';
|
1781 |
|
1782 |
+
$default_attributes = [
|
1783 |
'data-cfasync' => 'false',
|
1784 |
'data-wpfc-render' => 'false',
|
1785 |
+
];
|
1786 |
+
if (!current_theme_supports('html5', 'script')) {
|
1787 |
$default_attributes['type'] = 'text/javascript';
|
1788 |
+
}
|
1789 |
|
1790 |
+
$attributes = apply_filters('monsterinsights_tracking_analytics_script_attributes', $default_attributes);
|
1791 |
|
1792 |
+
if (!empty($attributes)) {
|
1793 |
+
foreach ($attributes as $attr_name => $attr_value) {
|
1794 |
+
if (!empty($attr_name)) {
|
1795 |
+
$attr_string .= ' ' . sanitize_key($attr_name) . '="' . esc_attr($attr_value) . '"';
|
1796 |
} else {
|
1797 |
+
$attr_string .= ' ' . esc_attr($attr_value);
|
1798 |
}
|
1799 |
}
|
1800 |
}
|
1809 |
* @since 8.5.0
|
1810 |
*
|
1811 |
*/
|
1812 |
+
function monsterinsights_localize_script($handle, $object_name, $data, $priority = 100)
|
1813 |
+
{
|
1814 |
+
$theme_supports_html5 = current_theme_supports('html5', 'script');
|
1815 |
+
$script_js = !$theme_supports_html5 ? "/* <![CDATA[ */\n" : '';
|
1816 |
+
$script_js .= "var $object_name = " . wp_json_encode($data) . ';';
|
1817 |
+
$script_js .= !$theme_supports_html5 ? "/* ]]> */\n" : '';
|
1818 |
|
1819 |
$script = sprintf(
|
1820 |
"<script%s id='%s-js-extra'>%s</script>\n",
|
1821 |
monsterinsights_get_frontend_analytics_script_atts(),
|
1822 |
+
esc_attr($handle),
|
1823 |
$script_js
|
1824 |
);
|
1825 |
|
1826 |
+
add_filter('script_loader_tag', function ($tag, $current_handle) use ($handle, $script) {
|
1827 |
+
if ($current_handle !== $handle) {
|
1828 |
return $tag;
|
1829 |
}
|
1830 |
|
1831 |
return $tag . $script;
|
1832 |
+
}, $priority, 2);
|
1833 |
}
|
1834 |
|
1835 |
/**
|
1839 |
*
|
1840 |
* @since 7.12.3
|
1841 |
*/
|
1842 |
+
function monsterinsights_get_english_speaking_countries()
|
1843 |
+
{
|
1844 |
return array(
|
1845 |
+
'AG' => __('Antigua and Barbuda', 'google-analytics-for-wordpress'),
|
1846 |
+
'AU' => __('Australia', 'google-analytics-for-wordpress'),
|
1847 |
+
'BB' => __('Barbados', 'google-analytics-for-wordpress'),
|
1848 |
+
'BZ' => __('Belize', 'google-analytics-for-wordpress'),
|
1849 |
+
'BW' => __('Botswana', 'google-analytics-for-wordpress'),
|
1850 |
+
'BI' => __('Burundi', 'google-analytics-for-wordpress'),
|
1851 |
+
'CM' => __('Cameroon', 'google-analytics-for-wordpress'),
|
1852 |
+
'CA' => __('Canada', 'google-analytics-for-wordpress'),
|
1853 |
+
'DM' => __('Dominica', 'google-analytics-for-wordpress'),
|
1854 |
+
'FJ' => __('Fiji', 'google-analytics-for-wordpress'),
|
1855 |
+
'GD' => __('Grenada', 'google-analytics-for-wordpress'),
|
1856 |
+
'GY' => __('Guyana', 'google-analytics-for-wordpress'),
|
1857 |
+
'GM' => __('Gambia', 'google-analytics-for-wordpress'),
|
1858 |
+
'GH' => __('Ghana', 'google-analytics-for-wordpress'),
|
1859 |
+
'IE' => __('Ireland', 'google-analytics-for-wordpress'),
|
1860 |
+
'IN' => __('India', 'google-analytics-for-wordpress'),
|
1861 |
+
'JM' => __('Jamaica', 'google-analytics-for-wordpress'),
|
1862 |
+
'KE' => __('Kenya', 'google-analytics-for-wordpress'),
|
1863 |
+
'KI' => __('Kiribati', 'google-analytics-for-wordpress'),
|
1864 |
+
'LS' => __('Lesotho', 'google-analytics-for-wordpress'),
|
1865 |
+
'LR' => __('Liberia', 'google-analytics-for-wordpress'),
|
1866 |
+
'MW' => __('Malawi', 'google-analytics-for-wordpress'),
|
1867 |
+
'MT' => __('Malta', 'google-analytics-for-wordpress'),
|
1868 |
+
'MH' => __('Marshall Islands', 'google-analytics-for-wordpress'),
|
1869 |
+
'MU' => __('Mauritius', 'google-analytics-for-wordpress'),
|
1870 |
+
'FM' => __('Micronesia', 'google-analytics-for-wordpress'),
|
1871 |
+
'NZ' => __('New Zealand', 'google-analytics-for-wordpress'),
|
1872 |
+
'NA' => __('Namibia', 'google-analytics-for-wordpress'),
|
1873 |
+
'NR' => __('Nauru', 'google-analytics-for-wordpress'),
|
1874 |
+
'NG' => __('Nigeria', 'google-analytics-for-wordpress'),
|
1875 |
+
'PK' => __('Pakistan', 'google-analytics-for-wordpress'),
|
1876 |
+
'PW' => __('Palau', 'google-analytics-for-wordpress'),
|
1877 |
+
'PG' => __('Papua New Guinea', 'google-analytics-for-wordpress'),
|
1878 |
+
'PH' => __('Philippines', 'google-analytics-for-wordpress'),
|
1879 |
+
'RW' => __('Rwanda', 'google-analytics-for-wordpress'),
|
1880 |
+
'SG' => __('Singapore', 'google-analytics-for-wordpress'),
|
1881 |
+
'KN' => __('St Kitts and Nevis', 'google-analytics-for-wordpress'),
|
1882 |
+
'LC' => __('St Lucia', 'google-analytics-for-wordpress'),
|
1883 |
+
'VC' => __('St Vincent and the Grenadines', 'google-analytics-for-wordpress'),
|
1884 |
+
'SZ' => __('Swaziland', 'google-analytics-for-wordpress'),
|
1885 |
+
'WS' => __('Samoa', 'google-analytics-for-wordpress'),
|
1886 |
+
'SC' => __('Seychelles', 'google-analytics-for-wordpress'),
|
1887 |
+
'SL' => __('Sierra Leone', 'google-analytics-for-wordpress'),
|
1888 |
+
'SB' => __('Solomon Islands', 'google-analytics-for-wordpress'),
|
1889 |
+
'ZA' => __('South Africa', 'google-analytics-for-wordpress'),
|
1890 |
+
'SS' => __('South Sudan', 'google-analytics-for-wordpress'),
|
1891 |
+
'SD' => __('Sudan', 'google-analytics-for-wordpress'),
|
1892 |
+
'TT' => __('Trinidad and Tobago', 'google-analytics-for-wordpress'),
|
1893 |
+
'BS' => __('The Bahamas', 'google-analytics-for-wordpress'),
|
1894 |
+
'TZ' => __('Tanzania', 'google-analytics-for-wordpress'),
|
1895 |
+
'TO' => __('Tonga', 'google-analytics-for-wordpress'),
|
1896 |
+
'TV' => __('Tuvalu', 'google-analytics-for-wordpress'),
|
1897 |
+
'GB' => __('United Kingdom', 'google-analytics-for-wordpress'),
|
1898 |
+
'US' => __('United States of America', 'google-analytics-for-wordpress'),
|
1899 |
+
'UG' => __('Uganda', 'google-analytics-for-wordpress'),
|
1900 |
+
'VU' => __('Vanuatu', 'google-analytics-for-wordpress'),
|
1901 |
+
'ZM' => __('Zambia', 'google-analytics-for-wordpress'),
|
1902 |
+
'ZW' => __('Zimbabwe', 'google-analytics-for-wordpress'),
|
1903 |
);
|
1904 |
}
|
1905 |
|
1908 |
*
|
1909 |
* @return bool
|
1910 |
*/
|
1911 |
+
function monsterinsights_can_install_plugins()
|
1912 |
+
{
|
1913 |
|
1914 |
+
if (!current_user_can('install_plugins')) {
|
1915 |
return false;
|
1916 |
}
|
1917 |
|
1918 |
// Determine whether file modifications are allowed.
|
1919 |
+
if (function_exists('wp_is_file_mod_allowed') && !wp_is_file_mod_allowed('monsterinsights_can_install')) {
|
1920 |
return false;
|
1921 |
}
|
1922 |
|
1933 |
*
|
1934 |
* @return bool
|
1935 |
*/
|
1936 |
+
function monsterinsights_date_is_between($start_date, $end_date)
|
1937 |
+
{
|
1938 |
|
1939 |
+
$current_date = current_time('Y-m-d');
|
1940 |
|
1941 |
+
$start_date = date('Y-m-d', strtotime($start_date));
|
1942 |
+
$end_date = date('Y-m-d', strtotime($end_date));
|
1943 |
|
1944 |
+
if (($current_date >= $start_date) && ($current_date <= $end_date)) {
|
1945 |
return true;
|
1946 |
}
|
1947 |
|
1955 |
*
|
1956 |
* @return bool
|
1957 |
*/
|
1958 |
+
function monsterinsights_is_aioseo_active()
|
1959 |
+
{
|
1960 |
|
1961 |
+
if (function_exists('aioseo')) {
|
1962 |
return true;
|
1963 |
}
|
1964 |
|
1972 |
*
|
1973 |
* @return string
|
1974 |
*/
|
1975 |
+
function monsterinsights_aioseo_dashboard_url()
|
1976 |
+
{
|
1977 |
$url = '';
|
1978 |
|
1979 |
+
if (function_exists('aioseo')) {
|
1980 |
+
$url = is_multisite() ? network_admin_url('admin.php?page=aioseo') : admin_url('admin.php?page=aioseo');
|
1981 |
}
|
1982 |
|
1983 |
return $url;
|
1990 |
*
|
1991 |
* @return bool
|
1992 |
*/
|
1993 |
+
function monsterinsights_is_installed_aioseo_pro()
|
1994 |
+
{
|
1995 |
$installed_plugins = get_plugins();
|
1996 |
|
1997 |
+
if (array_key_exists('all-in-one-seo-pack-pro/all_in_one_seo_pack.php', $installed_plugins)) {
|
1998 |
return true;
|
1999 |
}
|
2000 |
|
includes/options.php
CHANGED
@@ -1,537 +1,554 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Option functions.
|
4 |
-
*
|
5 |
-
* @since 6.0.0
|
6 |
-
*
|
7 |
-
* @package MonsterInsights
|
8 |
-
* @subpackage Options
|
9 |
-
* @author Chris Christoff
|
10 |
-
*/
|
11 |
-
|
12 |
-
// Exit if accessed directly
|
13 |
-
if ( ! defined( 'ABSPATH' ) ) {
|
14 |
-
exit;
|
15 |
-
}
|
16 |
-
|
17 |
-
function monsterinsights_get_options() {
|
18 |
-
$settings = array();
|
19 |
-
$option_name = monsterinsights_get_option_name();
|
20 |
-
//$settings = get_site_option( $option_name );
|
21 |
-
//$use_network_settings = ! empty( $use_network_settings['use_network_settings'] ) ? true : false;
|
22 |
-
//$is_network = is_multisite();
|
23 |
-
|
24 |
-
//if ( $is_network && $use_network_settings ) {
|
25 |
-
// return $settings;
|
26 |
-
//} else if ( $is_network ) {
|
27 |
-
$settings = get_option( $option_name );
|
28 |
-
//} else {
|
29 |
-
// return $settings;
|
30 |
-
//}
|
31 |
-
if ( empty( $settings ) || ! is_array( $settings ) ) {
|
32 |
-
$settings = array();
|
33 |
-
}
|
34 |
-
return $settings;
|
35 |
-
}
|
36 |
-
|
37 |
-
/**
|
38 |
-
* Helper method for getting a setting's value. Falls back to the default
|
39 |
-
* setting value if none exists in the options table.
|
40 |
-
*
|
41 |
-
* @since 6.0.0
|
42 |
-
* @access public
|
43 |
-
*
|
44 |
-
* @param string $key The setting key to retrieve.
|
45 |
-
* @param mixed $default The default value of the setting key to retrieve.
|
46 |
-
* @return string The value of the setting.
|
47 |
-
*/
|
48 |
-
function monsterinsights_get_option( $key = '', $default = false ) {
|
49 |
-
global $monsterinsights_settings;
|
50 |
-
$value = ! empty( $monsterinsights_settings[ $key ] ) ? $monsterinsights_settings[ $key ] : $default;
|
51 |
-
$value = apply_filters( 'monsterinsights_get_option', $value, $key, $default );
|
52 |
-
return apply_filters( 'monsterinsights_get_option_' . $key, $value, $key, $default );
|
53 |
-
}
|
54 |
-
|
55 |
-
/**
|
56 |
-
* Helper method for getting the UA string.
|
57 |
-
*
|
58 |
-
* @since 6.0.0
|
59 |
-
* @access public
|
60 |
-
*
|
61 |
-
* @return string The UA to use.
|
62 |
-
*/
|
63 |
-
function monsterinsights_get_ua() {
|
64 |
-
// Allow short circuiting (for staging sites)
|
65 |
-
if ( defined( 'MONSTERINSIGHTS_DISABLE_TRACKING' ) && MONSTERINSIGHTS_DISABLE_TRACKING ) {
|
66 |
-
return '';
|
67 |
-
}
|
68 |
-
|
69 |
-
// Try getting it from the auth UA
|
70 |
-
$ua = MonsterInsights()->auth->get_ua();
|
71 |
-
|
72 |
-
// If that didn't work, try the manual UA at the site level
|
73 |
-
if ( empty( $ua ) ) {
|
74 |
-
$ua = MonsterInsights()->auth->get_manual_ua();
|
75 |
-
// If that didn't work try getting it from the network
|
76 |
-
if ( empty( $ua ) ) {
|
77 |
-
$ua = monsterinsights_get_network_ua();
|
78 |
-
// If that didn't work, try getting it from the overall constant. If it's not there, leave it blank
|
79 |
-
if ( empty( $ua ) ) {
|
80 |
-
$ua = defined( 'MONSTERINSIGHTS_GA_UA' ) && MONSTERINSIGHTS_GA_UA ? monsterinsights_is_valid_ua( MONSTERINSIGHTS_GA_UA ) : '';
|
81 |
-
}
|
82 |
-
}
|
83 |
-
}
|
84 |
-
|
85 |
-
// Feed through the filter
|
86 |
-
$pre_filter = $ua;
|
87 |
-
$ua = apply_filters( 'monsterinsights_get_ua', $ua );
|
88 |
-
|
89 |
-
// Only run through monsterinsights_is_valid_ua if it's different than pre-filter
|
90 |
-
return $pre_filter === $ua ? $ua : monsterinsights_is_valid_ua( $ua );
|
91 |
-
}
|
92 |
-
|
93 |
-
function monsterinsights_get_tracking_ids() {
|
94 |
-
$ids = array();
|
95 |
-
|
96 |
-
$ua = monsterinsights_get_ua_to_output();
|
97 |
-
if ( $ua ) {
|
98 |
-
$ids[] = $ua;
|
99 |
-
}
|
100 |
-
|
101 |
-
$v4 = monsterinsights_get_v4_id_to_output();
|
102 |
-
if ( $v4 ) {
|
103 |
-
$ids[] = $v4;
|
104 |
-
}
|
105 |
-
|
106 |
-
return $ids;
|
107 |
-
}
|
108 |
-
|
109 |
-
/**
|
110 |
-
* Helper method for getting the network UA string.
|
111 |
-
*
|
112 |
-
* @since 6.0.0
|
113 |
-
* @access public
|
114 |
-
*
|
115 |
-
* @return string The UA to use.
|
116 |
-
*/
|
117 |
-
function monsterinsights_get_network_ua() {
|
118 |
-
if ( ! is_multisite() ) {
|
119 |
-
return '';
|
120 |
-
}
|
121 |
-
|
122 |
-
// First try network auth UA
|
123 |
-
$ua = MonsterInsights()->auth->get_network_ua();
|
124 |
-
if ( ! empty( $ua ) ) {
|
125 |
-
return $ua;
|
126 |
-
}
|
127 |
-
|
128 |
-
// Then try manual network UA
|
129 |
-
$ua = MonsterInsights()->auth->get_network_manual_ua();
|
130 |
-
if ( ! empty( $ua ) ) {
|
131 |
-
return $ua;
|
132 |
-
}
|
133 |
-
|
134 |
-
// See if the constant is defined
|
135 |
-
if ( defined( 'MONSTERINSIGHTS_MS_GA_UA' ) && monsterinsights_is_valid_ua( MONSTERINSIGHTS_MS_GA_UA ) ) {
|
136 |
-
return MONSTERINSIGHTS_MS_GA_UA;
|
137 |
-
}
|
138 |
-
|
139 |
-
return '';
|
140 |
-
}
|
141 |
-
|
142 |
-
/**
|
143 |
-
* Helper method for getting the UA string that's output on the frontend.
|
144 |
-
*
|
145 |
-
* @since 6.0.0
|
146 |
-
* @access public
|
147 |
-
*
|
148 |
-
* @param array $args Allow calling functions to give args to use in future applications.
|
149 |
-
* @return string The UA to use on frontend.
|
150 |
-
*/
|
151 |
-
function monsterinsights_get_ua_to_output( $args = array() ) {
|
152 |
-
$ua = monsterinsights_get_ua();
|
153 |
-
$ua = apply_filters( 'monsterinsights_get_ua_to_output', $ua, $args );
|
154 |
-
return monsterinsights_is_valid_ua( $ua );
|
155 |
-
}
|
156 |
-
|
157 |
-
/**
|
158 |
-
* Helper method for getting the V4 string.
|
159 |
-
*
|
160 |
-
* @since 6.0.0
|
161 |
-
* @access public
|
162 |
-
*
|
163 |
-
* @return string The V4 ID to use.
|
164 |
-
*/
|
165 |
-
function monsterinsights_get_v4_id() {
|
166 |
-
// Allow short circuiting (for staging sites)
|
167 |
-
if ( defined( 'MONSTERINSIGHTS_DISABLE_TRACKING' ) && MONSTERINSIGHTS_DISABLE_TRACKING ) {
|
168 |
-
return '';
|
169 |
-
}
|
170 |
-
|
171 |
-
// Try getting it from the auth V4
|
172 |
-
$v4_id = MonsterInsights()->auth->get_v4_id();
|
173 |
-
|
174 |
-
// If that didn't work, try the manual V4 at the site level
|
175 |
-
if ( empty( $v4_id ) ) {
|
176 |
-
$v4_id = MonsterInsights()->auth->get_manual_v4_id();
|
177 |
-
// If that didn't work try getting it from the network
|
178 |
-
if ( empty( $v4_id ) ) {
|
179 |
-
$v4_id = monsterinsights_get_network_v4_id();
|
180 |
-
// If that didn't work, try getting it from the overall constant. If it's not there, leave it blank
|
181 |
-
if ( empty( $v4_id ) ) {
|
182 |
-
$v4_id = defined( 'MONSTERINSIGHTS_GA_V4_ID' ) && MONSTERINSIGHTS_GA_V4_ID ? monsterinsights_is_valid_v4_id( MONSTERINSIGHTS_GA_V4_ID ) : '';
|
183 |
-
}
|
184 |
-
}
|
185 |
-
}
|
186 |
-
|
187 |
-
// Feed through the filter
|
188 |
-
$pre_filter = $v4_id;
|
189 |
-
$v4_id = apply_filters( 'monsterinsights_get_v4_id', $v4_id );
|
190 |
-
|
191 |
-
// Only run through monsterinsights_is_valid_v4 if it's different than pre-filter
|
192 |
-
return $pre_filter === $v4_id ? $v4_id : monsterinsights_is_valid_v4_id( $v4_id );
|
193 |
-
}
|
194 |
-
|
195 |
-
/**
|
196 |
-
* Helper method for getting the network V4 string.
|
197 |
-
*
|
198 |
-
* @since 6.0.0
|
199 |
-
* @access public
|
200 |
-
*
|
201 |
-
* @return string The V4 ID to use.
|
202 |
-
*/
|
203 |
-
function monsterinsights_get_network_v4_id() {
|
204 |
-
if ( ! is_multisite() ) {
|
205 |
-
return '';
|
206 |
-
}
|
207 |
-
|
208 |
-
// First try network auth UA
|
209 |
-
$v4_id = MonsterInsights()->auth->get_network_v4_id();
|
210 |
-
if ( ! empty( $v4_id ) ) {
|
211 |
-
return $v4_id;
|
212 |
-
}
|
213 |
-
|
214 |
-
// Then try manual network UA
|
215 |
-
$v4_id = MonsterInsights()->auth->get_network_manual_v4_id();
|
216 |
-
if ( ! empty( $v4_id ) ) {
|
217 |
-
return $v4_id;
|
218 |
-
}
|
219 |
-
|
220 |
-
// See if the constant is defined
|
221 |
-
if ( defined( 'MONSTERINSIGHTS_MS_GA_V4_ID' ) && monsterinsights_is_valid_v4_id( MONSTERINSIGHTS_MS_GA_V4_ID ) ) {
|
222 |
-
return MONSTERINSIGHTS_MS_GA_V4_ID;
|
223 |
-
}
|
224 |
-
|
225 |
-
return '';
|
226 |
-
}
|
227 |
-
|
228 |
-
/**
|
229 |
-
* Helper method for getting the UA string that's output on the frontend.
|
230 |
-
*
|
231 |
-
* @since 6.0.0
|
232 |
-
* @access public
|
233 |
-
*
|
234 |
-
* @param array $args Allow calling functions to give args to use in future applications.
|
235 |
-
* @return string The UA to use on frontend.
|
236 |
-
*/
|
237 |
-
function monsterinsights_get_v4_id_to_output( $args = array() ) {
|
238 |
-
$v4_id = monsterinsights_get_v4_id();
|
239 |
-
$v4_id = apply_filters( 'monsterinsights_get_v4_id_to_output', $v4_id, $args );
|
240 |
-
return monsterinsights_is_valid_v4_id( $v4_id );
|
241 |
-
}
|
242 |
-
|
243 |
-
/**
|
244 |
-
* Helper method for updating a setting's value.
|
245 |
-
*
|
246 |
-
* @since 6.0.0
|
247 |
-
* @access public
|
248 |
-
*
|
249 |
-
* @param string $key The setting key.
|
250 |
-
* @param string $value The value to set for the key.
|
251 |
-
* @return boolean True if updated, false if not.
|
252 |
-
*/
|
253 |
-
function monsterinsights_update_option( $key = '', $value = false ) {
|
254 |
-
|
255 |
-
// If no key, exit
|
256 |
-
if ( empty( $key ) ){
|
257 |
-
return false;
|
258 |
-
}
|
259 |
-
|
260 |
-
if ( empty( $value ) ) {
|
261 |
-
$remove_option = monsterinsights_delete_option( $key );
|
262 |
-
return $remove_option;
|
263 |
-
}
|
264 |
-
|
265 |
-
$option_name = monsterinsights_get_option_name();
|
266 |
-
|
267 |
-
// First let's grab the current settings
|
268 |
-
|
269 |
-
// if on network panel or if on single site using network settings
|
270 |
-
//$settings = get_site_option( $option_name );
|
271 |
-
//$use_network_settings = ! empty( $use_network_settings['use_network_settings'] ) ? true : false;
|
272 |
-
//$is_network = is_multisite();
|
273 |
-
//$update_network_option = true;
|
274 |
-
//if ( ! is_network_admin() && ! ( $is_network && $use_network_settings ) ) {
|
275 |
-
$settings = get_option( $option_name );
|
276 |
-
// $update_network_option = false;
|
277 |
-
//}
|
278 |
-
|
279 |
-
if ( ! is_array( $settings ) ) {
|
280 |
-
$settings = array();
|
281 |
-
}
|
282 |
-
|
283 |
-
// Let's let devs alter that value coming in
|
284 |
-
$value = apply_filters( 'monsterinsights_update_option', $value, $key );
|
285 |
-
|
286 |
-
// Next let's try to update the value
|
287 |
-
$settings[ $key ] = $value;
|
288 |
-
$did_update = false;
|
289 |
-
//if ( $update_network_option ) {
|
290 |
-
// $did_update = update_site_option( $option_name, $settings );
|
291 |
-
//} else {
|
292 |
-
$did_update = update_option( $option_name, $settings );
|
293 |
-
//}
|
294 |
-
|
295 |
-
// If it updated, let's update the global variable
|
296 |
-
if ( $did_update ){
|
297 |
-
global $monsterinsights_settings;
|
298 |
-
$monsterinsights_settings[ $key ] = $value;
|
299 |
-
}
|
300 |
-
|
301 |
-
return $did_update;
|
302 |
-
}
|
303 |
-
|
304 |
-
/**
|
305 |
-
* Helper method for deleting a setting's value.
|
306 |
-
*
|
307 |
-
* @since 6.0.0
|
308 |
-
* @access public
|
309 |
-
*
|
310 |
-
* @param string $key The setting key.
|
311 |
-
* @return boolean True if removed, false if not.
|
312 |
-
*/
|
313 |
-
function monsterinsights_delete_option( $key = '' ) {
|
314 |
-
// If no key, exit
|
315 |
-
if ( empty( $key ) ){
|
316 |
-
return false;
|
317 |
-
}
|
318 |
-
|
319 |
-
$option_name = monsterinsights_get_option_name();
|
320 |
-
|
321 |
-
// First let's grab the current settings
|
322 |
-
|
323 |
-
// if on network panel or if on single site using network settings
|
324 |
-
//$settings = get_site_option( $option_name );
|
325 |
-
//$use_network_settings = ! empty( $use_network_settings['use_network_settings'] ) ? true : false;
|
326 |
-
//$is_network = is_multisite();
|
327 |
-
//$update_network_option = true;
|
328 |
-
//if ( ! is_network_admin() && ! ( $is_network && $use_network_settings ) ) {
|
329 |
-
$settings = get_option( $option_name );
|
330 |
-
// $update_network_option = false;
|
331 |
-
//}
|
332 |
-
|
333 |
-
// Next let's try to remove the key
|
334 |
-
if( isset( $settings[ $key ] ) ) {
|
335 |
-
unset( $settings[ $key ] );
|
336 |
-
}
|
337 |
-
|
338 |
-
$did_update = false;
|
339 |
-
//if ( $update_network_option ) {
|
340 |
-
// $did_update = update_site_option( 'monsterinsights_settings', $settings );
|
341 |
-
//} else {
|
342 |
-
$did_update = update_option( $option_name, $settings );
|
343 |
-
//}
|
344 |
-
|
345 |
-
// If it updated, let's update the global variable
|
346 |
-
if ( $did_update ){
|
347 |
-
global $monsterinsights_settings;
|
348 |
-
$monsterinsights_settings = $settings;
|
349 |
-
}
|
350 |
-
|
351 |
-
return $did_update;
|
352 |
-
}
|
353 |
-
|
354 |
-
/**
|
355 |
-
* Helper method for deleting multiple settings value.
|
356 |
-
*
|
357 |
-
* @since 6.0.0
|
358 |
-
* @access public
|
359 |
-
*
|
360 |
-
* @param string $key The setting key.
|
361 |
-
* @return boolean True if removed, false if not.
|
362 |
-
*/
|
363 |
-
function monsterinsights_delete_options( $keys = array() ) {
|
364 |
-
// If no keys, exit
|
365 |
-
if ( empty( $keys ) || ! is_array( $keys ) ){
|
366 |
-
return false;
|
367 |
-
}
|
368 |
-
|
369 |
-
$option_name = monsterinsights_get_option_name();
|
370 |
-
|
371 |
-
// First let's grab the current settings
|
372 |
-
|
373 |
-
// if on network panel or if on single site using network settings
|
374 |
-
//$settings = get_site_option( $option_name );
|
375 |
-
//$use_network_settings = ! empty( $use_network_settings['use_network_settings'] ) ? true : false;
|
376 |
-
//$is_network = is_multisite();
|
377 |
-
//$update_network_option = true;
|
378 |
-
//if ( ! is_network_admin() && ! ( $is_network && $use_network_settings ) ) {
|
379 |
-
$settings = get_option( $option_name );
|
380 |
-
// $update_network_option = false;
|
381 |
-
//}
|
382 |
-
|
383 |
-
// Next let's try to remove the keys
|
384 |
-
foreach ( $keys as $key ) {
|
385 |
-
if( isset( $settings[ $key ] ) ) {
|
386 |
-
unset( $settings[ $key ] );
|
387 |
-
}
|
388 |
-
}
|
389 |
-
|
390 |
-
$did_update = false;
|
391 |
-
//if ( $update_network_option ) {
|
392 |
-
// $did_update = update_site_option( 'monsterinsights_settings', $settings );
|
393 |
-
//} else {
|
394 |
-
$did_update = update_option( $option_name, $settings );
|
395 |
-
//}
|
396 |
-
|
397 |
-
// If it updated, let's update the global variable
|
398 |
-
if ( $did_update ){
|
399 |
-
global $monsterinsights_settings;
|
400 |
-
$monsterinsights_settings = $settings;
|
401 |
-
}
|
402 |
-
|
403 |
-
return $did_update;
|
404 |
-
}
|
405 |
-
|
406 |
-
function monsterinsights_sanitize_tracking_id( $id ) {
|
407 |
-
$id = (string) $id; // Rare case, but let's make sure it never happens.
|
408 |
-
$id = trim( $id );
|
409 |
-
|
410 |
-
if ( empty( $id ) ) {
|
411 |
-
return '';
|
412 |
-
}
|
413 |
-
|
414 |
-
// Replace all type of dashes (n-dash, m-dash, minus) with normal dashes.
|
415 |
-
$id = str_replace( array( '–', '—', '−' ), '-', $id );
|
416 |
-
|
417 |
-
return $id;
|
418 |
-
}
|
419 |
-
|
420 |
-
/**
|
421 |
-
* Is valid
|
422 |
-
*
|
423 |
-
* @
|
424 |
-
*
|
425 |
-
*
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
-
|
431 |
-
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
|
437 |
-
|
438 |
-
|
439 |
-
|
440 |
-
|
441 |
-
|
442 |
-
|
443 |
-
|
444 |
-
|
445 |
-
|
446 |
-
|
447 |
-
|
448 |
-
|
449 |
-
|
450 |
-
|
451 |
-
|
452 |
-
|
453 |
-
|
454 |
-
|
455 |
-
|
456 |
-
|
457 |
-
|
458 |
-
|
459 |
-
|
460 |
-
|
461 |
-
|
462 |
-
|
463 |
-
|
464 |
-
|
465 |
-
|
466 |
-
|
467 |
-
|
468 |
-
|
469 |
-
|
470 |
-
|
471 |
-
|
472 |
-
*
|
473 |
-
*
|
474 |
-
* @
|
475 |
-
* @
|
476 |
-
|
477 |
-
|
478 |
-
|
479 |
-
|
480 |
-
|
481 |
-
|
482 |
-
|
483 |
-
|
484 |
-
}
|
485 |
-
return
|
486 |
-
}
|
487 |
-
|
488 |
-
|
489 |
-
|
490 |
-
|
491 |
-
|
492 |
-
|
493 |
-
|
494 |
-
|
495 |
-
|
496 |
-
|
497 |
-
|
498 |
-
|
499 |
-
|
500 |
-
|
501 |
-
|
502 |
-
|
503 |
-
|
504 |
-
|
505 |
-
|
506 |
-
|
507 |
-
|
508 |
-
|
509 |
-
|
510 |
-
|
511 |
-
|
512 |
-
|
513 |
-
|
514 |
-
|
515 |
-
|
516 |
-
|
517 |
-
|
518 |
-
|
519 |
-
|
520 |
-
|
521 |
-
|
522 |
-
|
523 |
-
|
524 |
-
|
525 |
-
|
526 |
-
|
527 |
-
|
528 |
-
|
529 |
-
|
530 |
-
|
531 |
-
|
532 |
-
|
533 |
-
|
534 |
-
|
535 |
-
|
536 |
-
|
537 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Option functions.
|
4 |
+
*
|
5 |
+
* @since 6.0.0
|
6 |
+
*
|
7 |
+
* @package MonsterInsights
|
8 |
+
* @subpackage Options
|
9 |
+
* @author Chris Christoff
|
10 |
+
*/
|
11 |
+
|
12 |
+
// Exit if accessed directly
|
13 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
14 |
+
exit;
|
15 |
+
}
|
16 |
+
|
17 |
+
function monsterinsights_get_options() {
|
18 |
+
$settings = array();
|
19 |
+
$option_name = monsterinsights_get_option_name();
|
20 |
+
//$settings = get_site_option( $option_name );
|
21 |
+
//$use_network_settings = ! empty( $use_network_settings['use_network_settings'] ) ? true : false;
|
22 |
+
//$is_network = is_multisite();
|
23 |
+
|
24 |
+
//if ( $is_network && $use_network_settings ) {
|
25 |
+
// return $settings;
|
26 |
+
//} else if ( $is_network ) {
|
27 |
+
$settings = get_option( $option_name );
|
28 |
+
//} else {
|
29 |
+
// return $settings;
|
30 |
+
//}
|
31 |
+
if ( empty( $settings ) || ! is_array( $settings ) ) {
|
32 |
+
$settings = array();
|
33 |
+
}
|
34 |
+
return $settings;
|
35 |
+
}
|
36 |
+
|
37 |
+
/**
|
38 |
+
* Helper method for getting a setting's value. Falls back to the default
|
39 |
+
* setting value if none exists in the options table.
|
40 |
+
*
|
41 |
+
* @since 6.0.0
|
42 |
+
* @access public
|
43 |
+
*
|
44 |
+
* @param string $key The setting key to retrieve.
|
45 |
+
* @param mixed $default The default value of the setting key to retrieve.
|
46 |
+
* @return string The value of the setting.
|
47 |
+
*/
|
48 |
+
function monsterinsights_get_option( $key = '', $default = false ) {
|
49 |
+
global $monsterinsights_settings;
|
50 |
+
$value = ! empty( $monsterinsights_settings[ $key ] ) ? $monsterinsights_settings[ $key ] : $default;
|
51 |
+
$value = apply_filters( 'monsterinsights_get_option', $value, $key, $default );
|
52 |
+
return apply_filters( 'monsterinsights_get_option_' . $key, $value, $key, $default );
|
53 |
+
}
|
54 |
+
|
55 |
+
/**
|
56 |
+
* Helper method for getting the UA string.
|
57 |
+
*
|
58 |
+
* @since 6.0.0
|
59 |
+
* @access public
|
60 |
+
*
|
61 |
+
* @return string The UA to use.
|
62 |
+
*/
|
63 |
+
function monsterinsights_get_ua() {
|
64 |
+
// Allow short circuiting (for staging sites)
|
65 |
+
if ( defined( 'MONSTERINSIGHTS_DISABLE_TRACKING' ) && MONSTERINSIGHTS_DISABLE_TRACKING ) {
|
66 |
+
return '';
|
67 |
+
}
|
68 |
+
|
69 |
+
// Try getting it from the auth UA
|
70 |
+
$ua = MonsterInsights()->auth->get_ua();
|
71 |
+
|
72 |
+
// If that didn't work, try the manual UA at the site level
|
73 |
+
if ( empty( $ua ) ) {
|
74 |
+
$ua = MonsterInsights()->auth->get_manual_ua();
|
75 |
+
// If that didn't work try getting it from the network
|
76 |
+
if ( empty( $ua ) ) {
|
77 |
+
$ua = monsterinsights_get_network_ua();
|
78 |
+
// If that didn't work, try getting it from the overall constant. If it's not there, leave it blank
|
79 |
+
if ( empty( $ua ) ) {
|
80 |
+
$ua = defined( 'MONSTERINSIGHTS_GA_UA' ) && MONSTERINSIGHTS_GA_UA ? monsterinsights_is_valid_ua( MONSTERINSIGHTS_GA_UA ) : '';
|
81 |
+
}
|
82 |
+
}
|
83 |
+
}
|
84 |
+
|
85 |
+
// Feed through the filter
|
86 |
+
$pre_filter = $ua;
|
87 |
+
$ua = apply_filters( 'monsterinsights_get_ua', $ua );
|
88 |
+
|
89 |
+
// Only run through monsterinsights_is_valid_ua if it's different than pre-filter
|
90 |
+
return $pre_filter === $ua ? $ua : monsterinsights_is_valid_ua( $ua );
|
91 |
+
}
|
92 |
+
|
93 |
+
function monsterinsights_get_tracking_ids() {
|
94 |
+
$ids = array();
|
95 |
+
|
96 |
+
$ua = monsterinsights_get_ua_to_output();
|
97 |
+
if ( $ua ) {
|
98 |
+
$ids[] = $ua;
|
99 |
+
}
|
100 |
+
|
101 |
+
$v4 = monsterinsights_get_v4_id_to_output();
|
102 |
+
if ( $v4 ) {
|
103 |
+
$ids[] = $v4;
|
104 |
+
}
|
105 |
+
|
106 |
+
return $ids;
|
107 |
+
}
|
108 |
+
|
109 |
+
/**
|
110 |
+
* Helper method for getting the network UA string.
|
111 |
+
*
|
112 |
+
* @since 6.0.0
|
113 |
+
* @access public
|
114 |
+
*
|
115 |
+
* @return string The UA to use.
|
116 |
+
*/
|
117 |
+
function monsterinsights_get_network_ua() {
|
118 |
+
if ( ! is_multisite() ) {
|
119 |
+
return '';
|
120 |
+
}
|
121 |
+
|
122 |
+
// First try network auth UA
|
123 |
+
$ua = MonsterInsights()->auth->get_network_ua();
|
124 |
+
if ( ! empty( $ua ) ) {
|
125 |
+
return $ua;
|
126 |
+
}
|
127 |
+
|
128 |
+
// Then try manual network UA
|
129 |
+
$ua = MonsterInsights()->auth->get_network_manual_ua();
|
130 |
+
if ( ! empty( $ua ) ) {
|
131 |
+
return $ua;
|
132 |
+
}
|
133 |
+
|
134 |
+
// See if the constant is defined
|
135 |
+
if ( defined( 'MONSTERINSIGHTS_MS_GA_UA' ) && monsterinsights_is_valid_ua( MONSTERINSIGHTS_MS_GA_UA ) ) {
|
136 |
+
return MONSTERINSIGHTS_MS_GA_UA;
|
137 |
+
}
|
138 |
+
|
139 |
+
return '';
|
140 |
+
}
|
141 |
+
|
142 |
+
/**
|
143 |
+
* Helper method for getting the UA string that's output on the frontend.
|
144 |
+
*
|
145 |
+
* @since 6.0.0
|
146 |
+
* @access public
|
147 |
+
*
|
148 |
+
* @param array $args Allow calling functions to give args to use in future applications.
|
149 |
+
* @return string The UA to use on frontend.
|
150 |
+
*/
|
151 |
+
function monsterinsights_get_ua_to_output( $args = array() ) {
|
152 |
+
$ua = monsterinsights_get_ua();
|
153 |
+
$ua = apply_filters( 'monsterinsights_get_ua_to_output', $ua, $args );
|
154 |
+
return monsterinsights_is_valid_ua( $ua );
|
155 |
+
}
|
156 |
+
|
157 |
+
/**
|
158 |
+
* Helper method for getting the V4 string.
|
159 |
+
*
|
160 |
+
* @since 6.0.0
|
161 |
+
* @access public
|
162 |
+
*
|
163 |
+
* @return string The V4 ID to use.
|
164 |
+
*/
|
165 |
+
function monsterinsights_get_v4_id() {
|
166 |
+
// Allow short circuiting (for staging sites)
|
167 |
+
if ( defined( 'MONSTERINSIGHTS_DISABLE_TRACKING' ) && MONSTERINSIGHTS_DISABLE_TRACKING ) {
|
168 |
+
return '';
|
169 |
+
}
|
170 |
+
|
171 |
+
// Try getting it from the auth V4
|
172 |
+
$v4_id = MonsterInsights()->auth->get_v4_id();
|
173 |
+
|
174 |
+
// If that didn't work, try the manual V4 at the site level
|
175 |
+
if ( empty( $v4_id ) ) {
|
176 |
+
$v4_id = MonsterInsights()->auth->get_manual_v4_id();
|
177 |
+
// If that didn't work try getting it from the network
|
178 |
+
if ( empty( $v4_id ) ) {
|
179 |
+
$v4_id = monsterinsights_get_network_v4_id();
|
180 |
+
// If that didn't work, try getting it from the overall constant. If it's not there, leave it blank
|
181 |
+
if ( empty( $v4_id ) ) {
|
182 |
+
$v4_id = defined( 'MONSTERINSIGHTS_GA_V4_ID' ) && MONSTERINSIGHTS_GA_V4_ID ? monsterinsights_is_valid_v4_id( MONSTERINSIGHTS_GA_V4_ID ) : '';
|
183 |
+
}
|
184 |
+
}
|
185 |
+
}
|
186 |
+
|
187 |
+
// Feed through the filter
|
188 |
+
$pre_filter = $v4_id;
|
189 |
+
$v4_id = apply_filters( 'monsterinsights_get_v4_id', $v4_id );
|
190 |
+
|
191 |
+
// Only run through monsterinsights_is_valid_v4 if it's different than pre-filter
|
192 |
+
return $pre_filter === $v4_id ? $v4_id : monsterinsights_is_valid_v4_id( $v4_id );
|
193 |
+
}
|
194 |
+
|
195 |
+
/**
|
196 |
+
* Helper method for getting the network V4 string.
|
197 |
+
*
|
198 |
+
* @since 6.0.0
|
199 |
+
* @access public
|
200 |
+
*
|
201 |
+
* @return string The V4 ID to use.
|
202 |
+
*/
|
203 |
+
function monsterinsights_get_network_v4_id() {
|
204 |
+
if ( ! is_multisite() ) {
|
205 |
+
return '';
|
206 |
+
}
|
207 |
+
|
208 |
+
// First try network auth UA
|
209 |
+
$v4_id = MonsterInsights()->auth->get_network_v4_id();
|
210 |
+
if ( ! empty( $v4_id ) ) {
|
211 |
+
return $v4_id;
|
212 |
+
}
|
213 |
+
|
214 |
+
// Then try manual network UA
|
215 |
+
$v4_id = MonsterInsights()->auth->get_network_manual_v4_id();
|
216 |
+
if ( ! empty( $v4_id ) ) {
|
217 |
+
return $v4_id;
|
218 |
+
}
|
219 |
+
|
220 |
+
// See if the constant is defined
|
221 |
+
if ( defined( 'MONSTERINSIGHTS_MS_GA_V4_ID' ) && monsterinsights_is_valid_v4_id( MONSTERINSIGHTS_MS_GA_V4_ID ) ) {
|
222 |
+
return MONSTERINSIGHTS_MS_GA_V4_ID;
|
223 |
+
}
|
224 |
+
|
225 |
+
return '';
|
226 |
+
}
|
227 |
+
|
228 |
+
/**
|
229 |
+
* Helper method for getting the UA string that's output on the frontend.
|
230 |
+
*
|
231 |
+
* @since 6.0.0
|
232 |
+
* @access public
|
233 |
+
*
|
234 |
+
* @param array $args Allow calling functions to give args to use in future applications.
|
235 |
+
* @return string The UA to use on frontend.
|
236 |
+
*/
|
237 |
+
function monsterinsights_get_v4_id_to_output( $args = array() ) {
|
238 |
+
$v4_id = monsterinsights_get_v4_id();
|
239 |
+
$v4_id = apply_filters( 'monsterinsights_get_v4_id_to_output', $v4_id, $args );
|
240 |
+
return monsterinsights_is_valid_v4_id( $v4_id );
|
241 |
+
}
|
242 |
+
|
243 |
+
/**
|
244 |
+
* Helper method for updating a setting's value.
|
245 |
+
*
|
246 |
+
* @since 6.0.0
|
247 |
+
* @access public
|
248 |
+
*
|
249 |
+
* @param string $key The setting key.
|
250 |
+
* @param string $value The value to set for the key.
|
251 |
+
* @return boolean True if updated, false if not.
|
252 |
+
*/
|
253 |
+
function monsterinsights_update_option( $key = '', $value = false ) {
|
254 |
+
|
255 |
+
// If no key, exit
|
256 |
+
if ( empty( $key ) ){
|
257 |
+
return false;
|
258 |
+
}
|
259 |
+
|
260 |
+
if ( empty( $value ) ) {
|
261 |
+
$remove_option = monsterinsights_delete_option( $key );
|
262 |
+
return $remove_option;
|
263 |
+
}
|
264 |
+
|
265 |
+
$option_name = monsterinsights_get_option_name();
|
266 |
+
|
267 |
+
// First let's grab the current settings
|
268 |
+
|
269 |
+
// if on network panel or if on single site using network settings
|
270 |
+
//$settings = get_site_option( $option_name );
|
271 |
+
//$use_network_settings = ! empty( $use_network_settings['use_network_settings'] ) ? true : false;
|
272 |
+
//$is_network = is_multisite();
|
273 |
+
//$update_network_option = true;
|
274 |
+
//if ( ! is_network_admin() && ! ( $is_network && $use_network_settings ) ) {
|
275 |
+
$settings = get_option( $option_name );
|
276 |
+
// $update_network_option = false;
|
277 |
+
//}
|
278 |
+
|
279 |
+
if ( ! is_array( $settings ) ) {
|
280 |
+
$settings = array();
|
281 |
+
}
|
282 |
+
|
283 |
+
// Let's let devs alter that value coming in
|
284 |
+
$value = apply_filters( 'monsterinsights_update_option', $value, $key );
|
285 |
+
|
286 |
+
// Next let's try to update the value
|
287 |
+
$settings[ $key ] = $value;
|
288 |
+
$did_update = false;
|
289 |
+
//if ( $update_network_option ) {
|
290 |
+
// $did_update = update_site_option( $option_name, $settings );
|
291 |
+
//} else {
|
292 |
+
$did_update = update_option( $option_name, $settings );
|
293 |
+
//}
|
294 |
+
|
295 |
+
// If it updated, let's update the global variable
|
296 |
+
if ( $did_update ){
|
297 |
+
global $monsterinsights_settings;
|
298 |
+
$monsterinsights_settings[ $key ] = $value;
|
299 |
+
}
|
300 |
+
|
301 |
+
return $did_update;
|
302 |
+
}
|
303 |
+
|
304 |
+
/**
|
305 |
+
* Helper method for deleting a setting's value.
|
306 |
+
*
|
307 |
+
* @since 6.0.0
|
308 |
+
* @access public
|
309 |
+
*
|
310 |
+
* @param string $key The setting key.
|
311 |
+
* @return boolean True if removed, false if not.
|
312 |
+
*/
|
313 |
+
function monsterinsights_delete_option( $key = '' ) {
|
314 |
+
// If no key, exit
|
315 |
+
if ( empty( $key ) ){
|
316 |
+
return false;
|
317 |
+
}
|
318 |
+
|
319 |
+
$option_name = monsterinsights_get_option_name();
|
320 |
+
|
321 |
+
// First let's grab the current settings
|
322 |
+
|
323 |
+
// if on network panel or if on single site using network settings
|
324 |
+
//$settings = get_site_option( $option_name );
|
325 |
+
//$use_network_settings = ! empty( $use_network_settings['use_network_settings'] ) ? true : false;
|
326 |
+
//$is_network = is_multisite();
|
327 |
+
//$update_network_option = true;
|
328 |
+
//if ( ! is_network_admin() && ! ( $is_network && $use_network_settings ) ) {
|
329 |
+
$settings = get_option( $option_name );
|
330 |
+
// $update_network_option = false;
|
331 |
+
//}
|
332 |
+
|
333 |
+
// Next let's try to remove the key
|
334 |
+
if( isset( $settings[ $key ] ) ) {
|
335 |
+
unset( $settings[ $key ] );
|
336 |
+
}
|
337 |
+
|
338 |
+
$did_update = false;
|
339 |
+
//if ( $update_network_option ) {
|
340 |
+
// $did_update = update_site_option( 'monsterinsights_settings', $settings );
|
341 |
+
//} else {
|
342 |
+
$did_update = update_option( $option_name, $settings );
|
343 |
+
//}
|
344 |
+
|
345 |
+
// If it updated, let's update the global variable
|
346 |
+
if ( $did_update ){
|
347 |
+
global $monsterinsights_settings;
|
348 |
+
$monsterinsights_settings = $settings;
|
349 |
+
}
|
350 |
+
|
351 |
+
return $did_update;
|
352 |
+
}
|
353 |
+
|
354 |
+
/**
|
355 |
+
* Helper method for deleting multiple settings value.
|
356 |
+
*
|
357 |
+
* @since 6.0.0
|
358 |
+
* @access public
|
359 |
+
*
|
360 |
+
* @param string $key The setting key.
|
361 |
+
* @return boolean True if removed, false if not.
|
362 |
+
*/
|
363 |
+
function monsterinsights_delete_options( $keys = array() ) {
|
364 |
+
// If no keys, exit
|
365 |
+
if ( empty( $keys ) || ! is_array( $keys ) ){
|
366 |
+
return false;
|
367 |
+
}
|
368 |
+
|
369 |
+
$option_name = monsterinsights_get_option_name();
|
370 |
+
|
371 |
+
// First let's grab the current settings
|
372 |
+
|
373 |
+
// if on network panel or if on single site using network settings
|
374 |
+
//$settings = get_site_option( $option_name );
|
375 |
+
//$use_network_settings = ! empty( $use_network_settings['use_network_settings'] ) ? true : false;
|
376 |
+
//$is_network = is_multisite();
|
377 |
+
//$update_network_option = true;
|
378 |
+
//if ( ! is_network_admin() && ! ( $is_network && $use_network_settings ) ) {
|
379 |
+
$settings = get_option( $option_name );
|
380 |
+
// $update_network_option = false;
|
381 |
+
//}
|
382 |
+
|
383 |
+
// Next let's try to remove the keys
|
384 |
+
foreach ( $keys as $key ) {
|
385 |
+
if( isset( $settings[ $key ] ) ) {
|
386 |
+
unset( $settings[ $key ] );
|
387 |
+
}
|
388 |
+
}
|
389 |
+
|
390 |
+
$did_update = false;
|
391 |
+
//if ( $update_network_option ) {
|
392 |
+
// $did_update = update_site_option( 'monsterinsights_settings', $settings );
|
393 |
+
//} else {
|
394 |
+
$did_update = update_option( $option_name, $settings );
|
395 |
+
//}
|
396 |
+
|
397 |
+
// If it updated, let's update the global variable
|
398 |
+
if ( $did_update ){
|
399 |
+
global $monsterinsights_settings;
|
400 |
+
$monsterinsights_settings = $settings;
|
401 |
+
}
|
402 |
+
|
403 |
+
return $did_update;
|
404 |
+
}
|
405 |
+
|
406 |
+
function monsterinsights_sanitize_tracking_id( $id ) {
|
407 |
+
$id = (string) $id; // Rare case, but let's make sure it never happens.
|
408 |
+
$id = trim( $id );
|
409 |
+
|
410 |
+
if ( empty( $id ) ) {
|
411 |
+
return '';
|
412 |
+
}
|
413 |
+
|
414 |
+
// Replace all type of dashes (n-dash, m-dash, minus) with normal dashes.
|
415 |
+
$id = str_replace( array( '–', '—', '−' ), '-', $id );
|
416 |
+
|
417 |
+
return $id;
|
418 |
+
}
|
419 |
+
|
420 |
+
/**
|
421 |
+
* Is this a valid GT code
|
422 |
+
*
|
423 |
+
* @param string $gt_code
|
424 |
+
*
|
425 |
+
* @return bool
|
426 |
+
*/
|
427 |
+
function monsterinsights_is_valid_gt( $gt_code = '' ) {
|
428 |
+
return (bool) preg_match( '/^GT-[a-zA-Z0-9]{5,}$/', $gt_code );
|
429 |
+
}
|
430 |
+
|
431 |
+
/**
|
432 |
+
* Is valid ua code.
|
433 |
+
*
|
434 |
+
* @access public
|
435 |
+
* @since 6.0.0
|
436 |
+
*
|
437 |
+
* @param string $ua_code UA code to check validity for.
|
438 |
+
*
|
439 |
+
* @return string|false Return cleaned ua string if valid, else returns false.
|
440 |
+
*/
|
441 |
+
function monsterinsights_is_valid_ua( $ua_code = '' ) {
|
442 |
+
$ua_code = monsterinsights_sanitize_tracking_id( $ua_code );
|
443 |
+
|
444 |
+
if (
|
445 |
+
preg_match( "/^(UA|YT|MO)-\d{4,}-\d+$/", $ua_code ) ||
|
446 |
+
monsterinsights_is_valid_gt( $ua_code )
|
447 |
+
) {
|
448 |
+
return $ua_code;
|
449 |
+
}
|
450 |
+
|
451 |
+
return '';
|
452 |
+
}
|
453 |
+
|
454 |
+
function monsterinsights_is_valid_v4_id( $v4_code = '' ) {
|
455 |
+
$v4_code = monsterinsights_sanitize_tracking_id( $v4_code );
|
456 |
+
|
457 |
+
if (
|
458 |
+
preg_match( '/G-[A-Za-z\d]+/', $v4_code ) ||
|
459 |
+
monsterinsights_is_valid_gt( $v4_code )
|
460 |
+
) {
|
461 |
+
return strtoupper( $v4_code );
|
462 |
+
}
|
463 |
+
|
464 |
+
return '';
|
465 |
+
}
|
466 |
+
|
467 |
+
/**
|
468 |
+
* Helper method for getting the license information.
|
469 |
+
*
|
470 |
+
* @since 6.0.0
|
471 |
+
* @access public
|
472 |
+
*
|
473 |
+
* @param string $key The setting key to retrieve.
|
474 |
+
* @param mixed $default_value The default value of the setting key to retrieve.
|
475 |
+
* @return string The value of the setting.
|
476 |
+
*/
|
477 |
+
function monsterinsights_get_license() {
|
478 |
+
$license = MonsterInsights()->license->get_site_license();
|
479 |
+
$license = $license ? $license : MonsterInsights()->license->get_network_license();
|
480 |
+
$default = MonsterInsights()->license->get_default_license_key();
|
481 |
+
if ( empty( $license ) && ! empty( $default ) ) {
|
482 |
+
$license = array();
|
483 |
+
$license['key'] = MonsterInsights()->license->get_default_license_key();
|
484 |
+
}
|
485 |
+
return $license;
|
486 |
+
}
|
487 |
+
|
488 |
+
/**
|
489 |
+
* Helper method for getting the license key.
|
490 |
+
*
|
491 |
+
* @since 6.0.0
|
492 |
+
* @access public
|
493 |
+
*
|
494 |
+
* @param string $key The setting key to retrieve.
|
495 |
+
* @param mixed $default_value The default value of the setting key to retrieve.
|
496 |
+
* @return string The value of the setting.
|
497 |
+
*/
|
498 |
+
function monsterinsights_get_license_key() {
|
499 |
+
if ( monsterinsights_is_pro_version() ) {
|
500 |
+
return MonsterInsights()->license->get_license_key();
|
501 |
+
}
|
502 |
+
return '';
|
503 |
+
}
|
504 |
+
|
505 |
+
function monsterinsights_get_option_name() {
|
506 |
+
//if ( monsterinsights_is_pro_version() ) {
|
507 |
+
return 'monsterinsights_settings';
|
508 |
+
//} else {
|
509 |
+
// return 'monsterinsights_settings';
|
510 |
+
//}
|
511 |
+
}
|
512 |
+
|
513 |
+
function monsterinsights_export_settings() {
|
514 |
+
$settings = monsterinsights_get_options();
|
515 |
+
$exclude = array(
|
516 |
+
'analytics_profile',
|
517 |
+
'analytics_profile_code',
|
518 |
+
'analytics_profile_name',
|
519 |
+
'oauth_version',
|
520 |
+
'cron_last_run',
|
521 |
+
'monsterinsights_oauth_status',
|
522 |
+
);
|
523 |
+
|
524 |
+
foreach ( $exclude as $e ) {
|
525 |
+
if ( ! empty( $settings[ $e ] ) ) {
|
526 |
+
unset( $settings[ $e ] );
|
527 |
+
}
|
528 |
+
}
|
529 |
+
return wp_json_encode( $settings );
|
530 |
+
}
|
531 |
+
|
532 |
+
/**
|
533 |
+
* Always return 'gtag' when grabbing the tracking mode.
|
534 |
+
*
|
535 |
+
* @param string $value The value to override.
|
536 |
+
*
|
537 |
+
* @return string
|
538 |
+
*/
|
539 |
+
function monsterinsights_force_tracking_mode( $value ) {
|
540 |
+
return 'gtag';
|
541 |
+
}
|
542 |
+
add_filter( 'monsterinsights_get_option_tracking_mode', 'monsterinsights_force_tracking_mode' );
|
543 |
+
|
544 |
+
/**
|
545 |
+
* Always return 'js' when grabbing the events mode.
|
546 |
+
*
|
547 |
+
* @param string $value The value to override.
|
548 |
+
*
|
549 |
+
* @return string
|
550 |
+
*/
|
551 |
+
function monsterinsights_force_events_mode( $value ) {
|
552 |
+
return 'js';
|
553 |
+
}
|
554 |
+
add_filter( 'monsterinsights_get_option_events_mode', 'monsterinsights_force_events_mode' );
|
languages/google-analytics-for-wordpress.pot
CHANGED
@@ -2,14 +2,14 @@
|
|
2 |
# This file is distributed under the same license as the ExactMetrics Pro plugin.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: ExactMetrics Pro 7.5.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/monsterinsights-temp\n"
|
7 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
8 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"POT-Creation-Date: 2022-
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
"X-Generator: WP-CLI 2.6.0\n"
|
15 |
"X-Domain: google-analytics-for-wordpress\n"
|
@@ -98,6 +98,7 @@ msgstr ""
|
|
98 |
#: includes/admin/admin.php:31
|
99 |
#: includes/admin/admin.php:34
|
100 |
#: includes/admin/admin.php:42
|
|
|
101 |
#: includes/emails/class-emails.php:254
|
102 |
#: lite/includes/admin/dashboard-widget.php:99
|
103 |
#: lite/includes/admin/wp-site-health.php:246
|
@@ -119,7 +120,7 @@ msgstr ""
|
|
119 |
#: includes/admin/admin.php:126
|
120 |
#: includes/admin/em-admin.php:18
|
121 |
#: includes/admin/em-admin.php:21
|
122 |
-
#: languages/vue.php:
|
123 |
msgid "Insights"
|
124 |
msgstr ""
|
125 |
|
@@ -142,7 +143,7 @@ msgstr ""
|
|
142 |
|
143 |
#: includes/admin/admin.php:39
|
144 |
#: includes/admin/admin.php:130
|
145 |
-
#: languages/vue.php:
|
146 |
msgid "Reports"
|
147 |
msgstr ""
|
148 |
|
@@ -152,7 +153,7 @@ msgstr ""
|
|
152 |
|
153 |
#: includes/admin/admin.php:51
|
154 |
#: languages/gutenberg.php:83
|
155 |
-
#: languages/vue.php:
|
156 |
msgid "Popular Posts"
|
157 |
msgstr ""
|
158 |
|
@@ -186,7 +187,7 @@ msgstr ""
|
|
186 |
|
187 |
#: includes/admin/admin.php:71
|
188 |
#: includes/admin/admin.php:146
|
189 |
-
#: languages/vue.php:
|
190 |
msgid "About Us"
|
191 |
msgstr ""
|
192 |
|
@@ -205,7 +206,7 @@ msgstr ""
|
|
205 |
#: includes/admin/admin.php:76
|
206 |
#: includes/admin/notifications/notification-upgrade-to-pro-high-traffic.php:41
|
207 |
#: includes/admin/notifications/notification-upgrade-to-pro.php:33
|
208 |
-
#: languages/vue.php:
|
209 |
msgid "Upgrade to Pro"
|
210 |
msgstr ""
|
211 |
|
@@ -233,7 +234,7 @@ msgstr ""
|
|
233 |
|
234 |
#: includes/admin/admin.php:212
|
235 |
#: includes/admin/admin.php:215
|
236 |
-
#: languages/vue.php:
|
237 |
msgid "Support"
|
238 |
msgstr ""
|
239 |
|
@@ -245,7 +246,7 @@ msgstr ""
|
|
245 |
#: includes/admin/notifications/notification-upgrade-for-google-optimize.php:32
|
246 |
#: includes/admin/notifications/notification-upgrade-for-post-templates.php:32
|
247 |
#: includes/admin/reports/abstract-report.php:418
|
248 |
-
#: languages/vue.php:
|
249 |
msgid "Get MonsterInsights Pro"
|
250 |
msgstr ""
|
251 |
|
@@ -255,12 +256,12 @@ msgid "Please rate %1$sMonsterInsights%2$s on %3$s %4$sWordPress.org%5$s to help
|
|
255 |
msgstr ""
|
256 |
|
257 |
#: includes/admin/admin.php:324
|
258 |
-
#: languages/vue.php:
|
259 |
msgid "Please Setup Website Analytics to See Audience Insights"
|
260 |
msgstr ""
|
261 |
|
262 |
#: includes/admin/admin.php:325
|
263 |
-
#: languages/vue.php:
|
264 |
msgid "Connect MonsterInsights and Setup Website Analytics"
|
265 |
msgstr ""
|
266 |
|
@@ -270,17 +271,16 @@ msgstr ""
|
|
270 |
#: includes/admin/common.php:955
|
271 |
#: includes/admin/notifications/notification-audience.php:45
|
272 |
#: includes/admin/notifications/notification-bounce-rate.php:47
|
273 |
-
#: includes/admin/notifications/notification-dual-tracking.php:39
|
274 |
#: includes/admin/notifications/notification-headline-analyzer.php:39
|
275 |
#: includes/admin/notifications/notification-mobile-device-low-traffic.php:41
|
276 |
#: includes/admin/notifications/notification-returning-visitors.php:43
|
277 |
#: includes/admin/notifications/notification-traffic-dropping.php:43
|
278 |
-
#: languages/vue.php:
|
279 |
msgid "Learn More"
|
280 |
msgstr ""
|
281 |
|
282 |
#: includes/admin/admin.php:329
|
283 |
-
#: languages/vue.php:
|
284 |
msgid "MonsterInsights, WordPress analytics plugin, helps you connect your website with Google Analytics, so you can see how people find and use your website. Over 3 million website owners use MonsterInsights to see the stats that matter and grow their business."
|
285 |
msgstr ""
|
286 |
|
@@ -291,17 +291,17 @@ msgstr ""
|
|
291 |
|
292 |
#. Translators: Adds a link to the license renewal.
|
293 |
#: includes/admin/admin.php:350
|
294 |
-
#: languages/vue.php:
|
295 |
msgid "Your license key for MonsterInsights has expired. %1$sPlease click here to renew your license key.%2$s"
|
296 |
msgstr ""
|
297 |
|
298 |
#: includes/admin/admin.php:352
|
299 |
-
#: languages/vue.php:
|
300 |
msgid "Your license key for MonsterInsights has been disabled. Please use a different key."
|
301 |
msgstr ""
|
302 |
|
303 |
#: includes/admin/admin.php:354
|
304 |
-
#: languages/vue.php:
|
305 |
msgid "Your license key for MonsterInsights is invalid. The key no longer exists or the user associated with the key has been deleted. Please use a different key."
|
306 |
msgstr ""
|
307 |
|
@@ -505,28 +505,28 @@ msgid "View 2021 Year in Review report!"
|
|
505 |
msgstr ""
|
506 |
|
507 |
#: includes/admin/common.php:951
|
508 |
-
#: languages/vue.php:
|
509 |
msgid "See how your website performed this year and find tips along the way to help grow even more in 2022!"
|
510 |
msgstr ""
|
511 |
|
512 |
-
#: includes/admin/exclude-page-metabox.php:
|
513 |
-
#: languages/gutenberg.php:
|
514 |
msgid "Exclude page from Google Analytics Tracking"
|
515 |
msgstr ""
|
516 |
|
517 |
-
#: includes/admin/exclude-page-metabox.php:
|
518 |
-
#: languages/gutenberg.php:
|
519 |
msgid "Toggle to prevent Google Analytics from tracking this page."
|
520 |
msgstr ""
|
521 |
|
522 |
-
#: includes/admin/exclude-page-metabox.php:
|
523 |
-
#: languages/gutenberg.php:
|
524 |
msgid "This is a PRO feature."
|
525 |
msgstr ""
|
526 |
|
527 |
-
#: includes/admin/exclude-page-metabox.php:
|
528 |
-
#: languages/gutenberg.php:
|
529 |
-
#: languages/vue.php:
|
530 |
msgid "Upgrade"
|
531 |
msgstr ""
|
532 |
|
@@ -583,7 +583,7 @@ msgid "View Report"
|
|
583 |
msgstr ""
|
584 |
|
585 |
#: includes/admin/notifications/notification-bounce-rate.php:37
|
586 |
-
msgid "Your Website Bounce Rate is Higher Than %s
|
587 |
msgstr ""
|
588 |
|
589 |
#. Translators: Bounce rate notification content.
|
@@ -591,18 +591,22 @@ msgstr ""
|
|
591 |
msgid "Your site's bounce rate is %1$s. Double check your site is working properly and be sure it loads quickly. %2$sHere%3$s are some points to remember and steps to follow to get your bounce rates back to manageable levels."
|
592 |
msgstr ""
|
593 |
|
594 |
-
#: includes/admin/notifications/notification-dual-tracking.php:
|
595 |
-
msgid "
|
596 |
msgstr ""
|
597 |
|
598 |
-
#: includes/admin/notifications/notification-dual-tracking.php:
|
599 |
-
msgid "
|
600 |
msgstr ""
|
601 |
|
602 |
-
#: includes/admin/notifications/notification-dual-tracking.php:
|
603 |
msgid "Setup now"
|
604 |
msgstr ""
|
605 |
|
|
|
|
|
|
|
|
|
606 |
#: includes/admin/notifications/notification-headline-analyzer.php:33
|
607 |
msgid "Try the Headline Analyzer to Boost Your Clicks & Traffic"
|
608 |
msgstr ""
|
@@ -720,8 +724,8 @@ msgstr ""
|
|
720 |
#: includes/admin/notifications/notification-upgrade-for-custom-dimensions.php:26
|
721 |
#: includes/admin/notifications/notification-upgrade-for-events-reporting.php:26
|
722 |
#: includes/admin/notifications/notification-upgrade-for-post-templates.php:26
|
723 |
-
#: languages/vue.php:
|
724 |
-
#: lite/includes/admin/helpers.php:
|
725 |
msgid "Upgrade to MonsterInsights Pro"
|
726 |
msgstr ""
|
727 |
|
@@ -756,7 +760,7 @@ msgstr ""
|
|
756 |
#: includes/admin/notifications/notification-upgrade-for-form-conversion.php:31
|
757 |
#: includes/admin/notifications/notification-upgrade-for-search-console.php:32
|
758 |
#: includes/admin/reports/abstract-report.php:415
|
759 |
-
#: languages/vue.php:
|
760 |
msgid "Upgrade Now"
|
761 |
msgstr ""
|
762 |
|
@@ -933,7 +937,7 @@ msgid "Please ask your webmaster to enable this addon."
|
|
933 |
msgstr ""
|
934 |
|
935 |
#: includes/admin/reports/overview.php:34
|
936 |
-
#: languages/vue.php:
|
937 |
msgid "Overview"
|
938 |
msgstr ""
|
939 |
|
@@ -1111,6 +1115,22 @@ msgstr ""
|
|
1111 |
msgid "Once Weekly"
|
1112 |
msgstr ""
|
1113 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1114 |
#. Translators: Placeholder gets replaced with the error message.
|
1115 |
#: includes/api-request.php:192
|
1116 |
msgid "The firewall of your server is blocking outbound calls. Please contact your hosting provider to fix this issue. %s"
|
@@ -1429,7 +1449,7 @@ msgid "Question"
|
|
1429 |
msgstr ""
|
1430 |
|
1431 |
#: includes/gutenberg/headline-tool/headline-tool.php:290
|
1432 |
-
#: languages/vue.php:
|
1433 |
msgid "General"
|
1434 |
msgstr ""
|
1435 |
|
@@ -1550,7 +1570,7 @@ msgid "double"
|
|
1550 |
msgstr ""
|
1551 |
|
1552 |
#: includes/gutenberg/headline-tool/headline-tool.php:388
|
1553 |
-
msgid "
|
1554 |
msgstr ""
|
1555 |
|
1556 |
#: includes/gutenberg/headline-tool/headline-tool.php:389
|
@@ -1558,7 +1578,7 @@ msgid "hack"
|
|
1558 |
msgstr ""
|
1559 |
|
1560 |
#: includes/gutenberg/headline-tool/headline-tool.php:390
|
1561 |
-
msgid "
|
1562 |
msgstr ""
|
1563 |
|
1564 |
#: includes/gutenberg/headline-tool/headline-tool.php:391
|
@@ -1574,7 +1594,7 @@ msgid "drowning"
|
|
1574 |
msgstr ""
|
1575 |
|
1576 |
#: includes/gutenberg/headline-tool/headline-tool.php:394
|
1577 |
-
msgid "
|
1578 |
msgstr ""
|
1579 |
|
1580 |
#: includes/gutenberg/headline-tool/headline-tool.php:395
|
@@ -1590,7 +1610,7 @@ msgid "dumb"
|
|
1590 |
msgstr ""
|
1591 |
|
1592 |
#: includes/gutenberg/headline-tool/headline-tool.php:398
|
1593 |
-
msgid "
|
1594 |
msgstr ""
|
1595 |
|
1596 |
#: includes/gutenberg/headline-tool/headline-tool.php:399
|
@@ -1634,7 +1654,7 @@ msgid "embarrass"
|
|
1634 |
msgstr ""
|
1635 |
|
1636 |
#: includes/gutenberg/headline-tool/headline-tool.php:409
|
1637 |
-
msgid "for the
|
1638 |
msgstr ""
|
1639 |
|
1640 |
#: includes/gutenberg/headline-tool/headline-tool.php:410
|
@@ -1710,7 +1730,7 @@ msgid "frantic"
|
|
1710 |
msgstr ""
|
1711 |
|
1712 |
#: includes/gutenberg/headline-tool/headline-tool.php:428
|
1713 |
-
msgid "
|
1714 |
msgstr ""
|
1715 |
|
1716 |
#: includes/gutenberg/headline-tool/headline-tool.php:429
|
@@ -1770,7 +1790,7 @@ msgid "illegal"
|
|
1770 |
msgstr ""
|
1771 |
|
1772 |
#: includes/gutenberg/headline-tool/headline-tool.php:443
|
1773 |
-
msgid "
|
1774 |
msgstr ""
|
1775 |
|
1776 |
#: includes/gutenberg/headline-tool/headline-tool.php:444
|
@@ -1930,7 +1950,7 @@ msgid "on the"
|
|
1930 |
msgstr ""
|
1931 |
|
1932 |
#: includes/gutenberg/headline-tool/headline-tool.php:483
|
1933 |
-
msgid "
|
1934 |
msgstr ""
|
1935 |
|
1936 |
#: includes/gutenberg/headline-tool/headline-tool.php:484
|
@@ -2154,7 +2174,7 @@ msgid "remarkably"
|
|
2154 |
msgstr ""
|
2155 |
|
2156 |
#: includes/gutenberg/headline-tool/headline-tool.php:539
|
2157 |
-
msgid "six
|
2158 |
msgstr ""
|
2159 |
|
2160 |
#: includes/gutenberg/headline-tool/headline-tool.php:540
|
@@ -2326,7 +2346,7 @@ msgid "spectacular"
|
|
2326 |
msgstr ""
|
2327 |
|
2328 |
#: includes/gutenberg/headline-tool/headline-tool.php:582
|
2329 |
-
msgid "temporary
|
2330 |
msgstr ""
|
2331 |
|
2332 |
#: includes/gutenberg/headline-tool/headline-tool.php:583
|
@@ -2570,7 +2590,7 @@ msgid "remarkable"
|
|
2570 |
msgstr ""
|
2571 |
|
2572 |
#: includes/gutenberg/headline-tool/headline-tool.php:660
|
2573 |
-
msgid "
|
2574 |
msgstr ""
|
2575 |
|
2576 |
#: includes/gutenberg/headline-tool/headline-tool.php:661
|
@@ -2916,11 +2936,11 @@ msgid "it's here"
|
|
2916 |
msgstr ""
|
2917 |
|
2918 |
#: includes/gutenberg/headline-tool/headline-tool.php:747
|
2919 |
-
msgid "
|
2920 |
msgstr ""
|
2921 |
|
2922 |
#: includes/gutenberg/headline-tool/headline-tool.php:748
|
2923 |
-
msgid "
|
2924 |
msgstr ""
|
2925 |
|
2926 |
#: includes/gutenberg/headline-tool/headline-tool.php:749
|
@@ -2944,7 +2964,7 @@ msgid "launching"
|
|
2944 |
msgstr ""
|
2945 |
|
2946 |
#: includes/gutenberg/headline-tool/headline-tool.php:754
|
2947 |
-
msgid "sure
|
2948 |
msgstr ""
|
2949 |
|
2950 |
#: includes/gutenberg/headline-tool/headline-tool.php:755
|
@@ -2964,7 +2984,7 @@ msgid "soar"
|
|
2964 |
msgstr ""
|
2965 |
|
2966 |
#: includes/gutenberg/headline-tool/headline-tool.php:759
|
2967 |
-
msgid "
|
2968 |
msgstr ""
|
2969 |
|
2970 |
#: includes/gutenberg/headline-tool/headline-tool.php:760
|
@@ -3587,7 +3607,7 @@ msgid "year"
|
|
3587 |
msgstr ""
|
3588 |
|
3589 |
#: includes/gutenberg/headline-tool/headline-tool.php:969
|
3590 |
-
msgid "
|
3591 |
msgstr ""
|
3592 |
|
3593 |
#: includes/gutenberg/headline-tool/headline-tool.php:970
|
@@ -3615,7 +3635,7 @@ msgid "see"
|
|
3615 |
msgstr ""
|
3616 |
|
3617 |
#: includes/gutenberg/headline-tool/headline-tool.php:976
|
3618 |
-
msgid "you
|
3619 |
msgstr ""
|
3620 |
|
3621 |
#: includes/gutenberg/headline-tool/headline-tool.php:977
|
@@ -3654,1101 +3674,1101 @@ msgstr ""
|
|
3654 |
msgid "something"
|
3655 |
msgstr ""
|
3656 |
|
3657 |
-
#: includes/helpers.php:
|
3658 |
msgid "United States"
|
3659 |
msgstr ""
|
3660 |
|
3661 |
-
#: includes/helpers.php:
|
3662 |
-
#: includes/helpers.php:
|
3663 |
msgid "Canada"
|
3664 |
msgstr ""
|
3665 |
|
3666 |
-
#: includes/helpers.php:
|
3667 |
-
#: includes/helpers.php:
|
3668 |
msgid "United Kingdom"
|
3669 |
msgstr ""
|
3670 |
|
3671 |
-
#: includes/helpers.php:
|
3672 |
msgid "Afghanistan"
|
3673 |
msgstr ""
|
3674 |
|
3675 |
-
#: includes/helpers.php:
|
3676 |
msgid "Åland Islands"
|
3677 |
msgstr ""
|
3678 |
|
3679 |
-
#: includes/helpers.php:
|
3680 |
msgid "Albania"
|
3681 |
msgstr ""
|
3682 |
|
3683 |
-
#: includes/helpers.php:
|
3684 |
msgid "Algeria"
|
3685 |
msgstr ""
|
3686 |
|
3687 |
-
#: includes/helpers.php:
|
3688 |
msgid "American Samoa"
|
3689 |
msgstr ""
|
3690 |
|
3691 |
-
#: includes/helpers.php:
|
3692 |
msgid "Andorra"
|
3693 |
msgstr ""
|
3694 |
|
3695 |
-
#: includes/helpers.php:
|
3696 |
msgid "Angola"
|
3697 |
msgstr ""
|
3698 |
|
3699 |
-
#: includes/helpers.php:
|
3700 |
msgid "Anguilla"
|
3701 |
msgstr ""
|
3702 |
|
3703 |
-
#: includes/helpers.php:
|
3704 |
msgid "Antarctica"
|
3705 |
msgstr ""
|
3706 |
|
3707 |
-
#: includes/helpers.php:
|
3708 |
-
#: includes/helpers.php:
|
3709 |
msgid "Antigua and Barbuda"
|
3710 |
msgstr ""
|
3711 |
|
3712 |
-
#: includes/helpers.php:
|
3713 |
msgid "Argentina"
|
3714 |
msgstr ""
|
3715 |
|
3716 |
-
#: includes/helpers.php:
|
3717 |
msgid "Armenia"
|
3718 |
msgstr ""
|
3719 |
|
3720 |
-
#: includes/helpers.php:
|
3721 |
msgid "Aruba"
|
3722 |
msgstr ""
|
3723 |
|
3724 |
-
#: includes/helpers.php:
|
3725 |
-
#: includes/helpers.php:
|
3726 |
msgid "Australia"
|
3727 |
msgstr ""
|
3728 |
|
3729 |
-
#: includes/helpers.php:
|
3730 |
msgid "Austria"
|
3731 |
msgstr ""
|
3732 |
|
3733 |
-
#: includes/helpers.php:
|
3734 |
msgid "Azerbaijan"
|
3735 |
msgstr ""
|
3736 |
|
3737 |
-
#: includes/helpers.php:
|
3738 |
msgid "Bahamas"
|
3739 |
msgstr ""
|
3740 |
|
3741 |
-
#: includes/helpers.php:
|
3742 |
msgid "Bahrain"
|
3743 |
msgstr ""
|
3744 |
|
3745 |
-
#: includes/helpers.php:
|
3746 |
msgid "Bangladesh"
|
3747 |
msgstr ""
|
3748 |
|
3749 |
-
#: includes/helpers.php:
|
3750 |
-
#: includes/helpers.php:
|
3751 |
msgid "Barbados"
|
3752 |
msgstr ""
|
3753 |
|
3754 |
-
#: includes/helpers.php:
|
3755 |
msgid "Belarus"
|
3756 |
msgstr ""
|
3757 |
|
3758 |
-
#: includes/helpers.php:
|
3759 |
msgid "Belgium"
|
3760 |
msgstr ""
|
3761 |
|
3762 |
-
#: includes/helpers.php:
|
3763 |
-
#: includes/helpers.php:
|
3764 |
msgid "Belize"
|
3765 |
msgstr ""
|
3766 |
|
3767 |
-
#: includes/helpers.php:
|
3768 |
msgid "Benin"
|
3769 |
msgstr ""
|
3770 |
|
3771 |
-
#: includes/helpers.php:
|
3772 |
msgid "Bermuda"
|
3773 |
msgstr ""
|
3774 |
|
3775 |
-
#: includes/helpers.php:
|
3776 |
msgid "Bhutan"
|
3777 |
msgstr ""
|
3778 |
|
3779 |
-
#: includes/helpers.php:
|
3780 |
msgid "Bolivia"
|
3781 |
msgstr ""
|
3782 |
|
3783 |
-
#: includes/helpers.php:
|
3784 |
msgid "Bonaire, Saint Eustatius and Saba"
|
3785 |
msgstr ""
|
3786 |
|
3787 |
-
#: includes/helpers.php:
|
3788 |
msgid "Bosnia and Herzegovina"
|
3789 |
msgstr ""
|
3790 |
|
3791 |
-
#: includes/helpers.php:
|
3792 |
-
#: includes/helpers.php:
|
3793 |
msgid "Botswana"
|
3794 |
msgstr ""
|
3795 |
|
3796 |
-
#: includes/helpers.php:
|
3797 |
msgid "Bouvet Island"
|
3798 |
msgstr ""
|
3799 |
|
3800 |
-
#: includes/helpers.php:
|
3801 |
msgid "Brazil"
|
3802 |
msgstr ""
|
3803 |
|
3804 |
-
#: includes/helpers.php:
|
3805 |
msgid "British Indian Ocean Territory"
|
3806 |
msgstr ""
|
3807 |
|
3808 |
-
#: includes/helpers.php:
|
3809 |
msgid "Brunei Darrussalam"
|
3810 |
msgstr ""
|
3811 |
|
3812 |
-
#: includes/helpers.php:
|
3813 |
msgid "Bulgaria"
|
3814 |
msgstr ""
|
3815 |
|
3816 |
-
#: includes/helpers.php:
|
3817 |
msgid "Burkina Faso"
|
3818 |
msgstr ""
|
3819 |
|
3820 |
-
#: includes/helpers.php:
|
3821 |
-
#: includes/helpers.php:
|
3822 |
msgid "Burundi"
|
3823 |
msgstr ""
|
3824 |
|
3825 |
-
#: includes/helpers.php:
|
3826 |
msgid "Cambodia"
|
3827 |
msgstr ""
|
3828 |
|
3829 |
-
#: includes/helpers.php:
|
3830 |
-
#: includes/helpers.php:
|
3831 |
msgid "Cameroon"
|
3832 |
msgstr ""
|
3833 |
|
3834 |
-
#: includes/helpers.php:
|
3835 |
msgid "Cape Verde"
|
3836 |
msgstr ""
|
3837 |
|
3838 |
-
#: includes/helpers.php:
|
3839 |
msgid "Cayman Islands"
|
3840 |
msgstr ""
|
3841 |
|
3842 |
-
#: includes/helpers.php:
|
3843 |
msgid "Central African Republic"
|
3844 |
msgstr ""
|
3845 |
|
3846 |
-
#: includes/helpers.php:
|
3847 |
msgid "Chad"
|
3848 |
msgstr ""
|
3849 |
|
3850 |
-
#: includes/helpers.php:
|
3851 |
msgid "Chile"
|
3852 |
msgstr ""
|
3853 |
|
3854 |
-
#: includes/helpers.php:
|
3855 |
msgid "China"
|
3856 |
msgstr ""
|
3857 |
|
3858 |
-
#: includes/helpers.php:
|
3859 |
msgid "Christmas Island"
|
3860 |
msgstr ""
|
3861 |
|
3862 |
-
#: includes/helpers.php:
|
3863 |
msgid "Cocos Islands"
|
3864 |
msgstr ""
|
3865 |
|
3866 |
-
#: includes/helpers.php:
|
3867 |
msgid "Colombia"
|
3868 |
msgstr ""
|
3869 |
|
3870 |
-
#: includes/helpers.php:
|
3871 |
msgid "Comoros"
|
3872 |
msgstr ""
|
3873 |
|
3874 |
-
#: includes/helpers.php:
|
3875 |
msgid "Congo, Democratic People's Republic"
|
3876 |
msgstr ""
|
3877 |
|
3878 |
-
#: includes/helpers.php:
|
3879 |
msgid "Congo, Republic of"
|
3880 |
msgstr ""
|
3881 |
|
3882 |
-
#: includes/helpers.php:
|
3883 |
msgid "Cook Islands"
|
3884 |
msgstr ""
|
3885 |
|
3886 |
-
#: includes/helpers.php:
|
3887 |
msgid "Costa Rica"
|
3888 |
msgstr ""
|
3889 |
|
3890 |
-
#: includes/helpers.php:
|
3891 |
msgid "Cote d'Ivoire"
|
3892 |
msgstr ""
|
3893 |
|
3894 |
-
#: includes/helpers.php:
|
3895 |
msgid "Croatia/Hrvatska"
|
3896 |
msgstr ""
|
3897 |
|
3898 |
-
#: includes/helpers.php:
|
3899 |
msgid "Cuba"
|
3900 |
msgstr ""
|
3901 |
|
3902 |
-
#: includes/helpers.php:
|
3903 |
msgid "CuraÇao"
|
3904 |
msgstr ""
|
3905 |
|
3906 |
-
#: includes/helpers.php:
|
3907 |
msgid "Cyprus"
|
3908 |
msgstr ""
|
3909 |
|
3910 |
-
#: includes/helpers.php:
|
3911 |
msgid "Czechia"
|
3912 |
msgstr ""
|
3913 |
|
3914 |
-
#: includes/helpers.php:
|
3915 |
msgid "Denmark"
|
3916 |
msgstr ""
|
3917 |
|
3918 |
-
#: includes/helpers.php:
|
3919 |
msgid "Djibouti"
|
3920 |
msgstr ""
|
3921 |
|
3922 |
-
#: includes/helpers.php:
|
3923 |
-
#: includes/helpers.php:
|
3924 |
msgid "Dominica"
|
3925 |
msgstr ""
|
3926 |
|
3927 |
-
#: includes/helpers.php:
|
3928 |
msgid "Dominican Republic"
|
3929 |
msgstr ""
|
3930 |
|
3931 |
-
#: includes/helpers.php:
|
3932 |
msgid "East Timor"
|
3933 |
msgstr ""
|
3934 |
|
3935 |
-
#: includes/helpers.php:
|
3936 |
msgid "Ecuador"
|
3937 |
msgstr ""
|
3938 |
|
3939 |
-
#: includes/helpers.php:
|
3940 |
msgid "Egypt"
|
3941 |
msgstr ""
|
3942 |
|
3943 |
-
#: includes/helpers.php:
|
3944 |
msgid "Equatorial Guinea"
|
3945 |
msgstr ""
|
3946 |
|
3947 |
-
#: includes/helpers.php:
|
3948 |
msgid "El Salvador"
|
3949 |
msgstr ""
|
3950 |
|
3951 |
-
#: includes/helpers.php:
|
3952 |
msgid "Eritrea"
|
3953 |
msgstr ""
|
3954 |
|
3955 |
-
#: includes/helpers.php:
|
3956 |
msgid "Estonia"
|
3957 |
msgstr ""
|
3958 |
|
3959 |
-
#: includes/helpers.php:
|
3960 |
msgid "Ethiopia"
|
3961 |
msgstr ""
|
3962 |
|
3963 |
-
#: includes/helpers.php:
|
3964 |
msgid "Falkland Islands"
|
3965 |
msgstr ""
|
3966 |
|
3967 |
-
#: includes/helpers.php:
|
3968 |
msgid "Faroe Islands"
|
3969 |
msgstr ""
|
3970 |
|
3971 |
-
#: includes/helpers.php:
|
3972 |
-
#: includes/helpers.php:
|
3973 |
msgid "Fiji"
|
3974 |
msgstr ""
|
3975 |
|
3976 |
-
#: includes/helpers.php:
|
3977 |
msgid "Finland"
|
3978 |
msgstr ""
|
3979 |
|
3980 |
-
#: includes/helpers.php:
|
3981 |
msgid "France"
|
3982 |
msgstr ""
|
3983 |
|
3984 |
-
#: includes/helpers.php:
|
3985 |
msgid "French Guiana"
|
3986 |
msgstr ""
|
3987 |
|
3988 |
-
#: includes/helpers.php:
|
3989 |
msgid "French Polynesia"
|
3990 |
msgstr ""
|
3991 |
|
3992 |
-
#: includes/helpers.php:
|
3993 |
msgid "French Southern Territories"
|
3994 |
msgstr ""
|
3995 |
|
3996 |
-
#: includes/helpers.php:
|
3997 |
msgid "Gabon"
|
3998 |
msgstr ""
|
3999 |
|
4000 |
-
#: includes/helpers.php:
|
4001 |
-
#: includes/helpers.php:
|
4002 |
msgid "Gambia"
|
4003 |
msgstr ""
|
4004 |
|
4005 |
-
#: includes/helpers.php:
|
4006 |
msgid "Georgia"
|
4007 |
msgstr ""
|
4008 |
|
4009 |
-
#: includes/helpers.php:
|
4010 |
msgid "Germany"
|
4011 |
msgstr ""
|
4012 |
|
4013 |
-
#: includes/helpers.php:
|
4014 |
msgid "Greece"
|
4015 |
msgstr ""
|
4016 |
|
4017 |
-
#: includes/helpers.php:
|
4018 |
-
#: includes/helpers.php:
|
4019 |
msgid "Ghana"
|
4020 |
msgstr ""
|
4021 |
|
4022 |
-
#: includes/helpers.php:
|
4023 |
msgid "Gibraltar"
|
4024 |
msgstr ""
|
4025 |
|
4026 |
-
#: includes/helpers.php:
|
4027 |
msgid "Greenland"
|
4028 |
msgstr ""
|
4029 |
|
4030 |
-
#: includes/helpers.php:
|
4031 |
-
#: includes/helpers.php:
|
4032 |
msgid "Grenada"
|
4033 |
msgstr ""
|
4034 |
|
4035 |
-
#: includes/helpers.php:
|
4036 |
msgid "Guadeloupe"
|
4037 |
msgstr ""
|
4038 |
|
4039 |
-
#: includes/helpers.php:
|
4040 |
msgid "Guam"
|
4041 |
msgstr ""
|
4042 |
|
4043 |
-
#: includes/helpers.php:
|
4044 |
msgid "Guatemala"
|
4045 |
msgstr ""
|
4046 |
|
4047 |
-
#: includes/helpers.php:
|
4048 |
msgid "Guernsey"
|
4049 |
msgstr ""
|
4050 |
|
4051 |
-
#: includes/helpers.php:
|
4052 |
msgid "Guinea"
|
4053 |
msgstr ""
|
4054 |
|
4055 |
-
#: includes/helpers.php:
|
4056 |
msgid "Guinea-Bissau"
|
4057 |
msgstr ""
|
4058 |
|
4059 |
-
#: includes/helpers.php:
|
4060 |
-
#: includes/helpers.php:
|
4061 |
msgid "Guyana"
|
4062 |
msgstr ""
|
4063 |
|
4064 |
-
#: includes/helpers.php:
|
4065 |
msgid "Haiti"
|
4066 |
msgstr ""
|
4067 |
|
4068 |
-
#: includes/helpers.php:
|
4069 |
msgid "Heard and McDonald Islands"
|
4070 |
msgstr ""
|
4071 |
|
4072 |
-
#: includes/helpers.php:
|
4073 |
msgid "Holy See (City Vatican State)"
|
4074 |
msgstr ""
|
4075 |
|
4076 |
-
#: includes/helpers.php:
|
4077 |
msgid "Honduras"
|
4078 |
msgstr ""
|
4079 |
|
4080 |
-
#: includes/helpers.php:
|
4081 |
msgid "Hong Kong"
|
4082 |
msgstr ""
|
4083 |
|
4084 |
-
#: includes/helpers.php:
|
4085 |
msgid "Hungary"
|
4086 |
msgstr ""
|
4087 |
|
4088 |
-
#: includes/helpers.php:
|
4089 |
msgid "Iceland"
|
4090 |
msgstr ""
|
4091 |
|
4092 |
-
#: includes/helpers.php:
|
4093 |
-
#: includes/helpers.php:
|
4094 |
msgid "India"
|
4095 |
msgstr ""
|
4096 |
|
4097 |
-
#: includes/helpers.php:
|
4098 |
msgid "Indonesia"
|
4099 |
msgstr ""
|
4100 |
|
4101 |
-
#: includes/helpers.php:
|
4102 |
msgid "Iran"
|
4103 |
msgstr ""
|
4104 |
|
4105 |
-
#: includes/helpers.php:
|
4106 |
msgid "Iraq"
|
4107 |
msgstr ""
|
4108 |
|
4109 |
-
#: includes/helpers.php:
|
4110 |
-
#: includes/helpers.php:
|
4111 |
msgid "Ireland"
|
4112 |
msgstr ""
|
4113 |
|
4114 |
-
#: includes/helpers.php:
|
4115 |
msgid "Isle of Man"
|
4116 |
msgstr ""
|
4117 |
|
4118 |
-
#: includes/helpers.php:
|
4119 |
msgid "Israel"
|
4120 |
msgstr ""
|
4121 |
|
4122 |
-
#: includes/helpers.php:
|
4123 |
msgid "Italy"
|
4124 |
msgstr ""
|
4125 |
|
4126 |
-
#: includes/helpers.php:
|
4127 |
-
#: includes/helpers.php:
|
4128 |
msgid "Jamaica"
|
4129 |
msgstr ""
|
4130 |
|
4131 |
-
#: includes/helpers.php:
|
4132 |
msgid "Japan"
|
4133 |
msgstr ""
|
4134 |
|
4135 |
-
#: includes/helpers.php:
|
4136 |
msgid "Jersey"
|
4137 |
msgstr ""
|
4138 |
|
4139 |
-
#: includes/helpers.php:
|
4140 |
msgid "Jordan"
|
4141 |
msgstr ""
|
4142 |
|
4143 |
-
#: includes/helpers.php:
|
4144 |
msgid "Kazakhstan"
|
4145 |
msgstr ""
|
4146 |
|
4147 |
-
#: includes/helpers.php:
|
4148 |
-
#: includes/helpers.php:
|
4149 |
msgid "Kenya"
|
4150 |
msgstr ""
|
4151 |
|
4152 |
-
#: includes/helpers.php:
|
4153 |
-
#: includes/helpers.php:
|
4154 |
msgid "Kiribati"
|
4155 |
msgstr ""
|
4156 |
|
4157 |
-
#: includes/helpers.php:
|
4158 |
msgid "Kuwait"
|
4159 |
msgstr ""
|
4160 |
|
4161 |
-
#: includes/helpers.php:
|
4162 |
msgid "Kyrgyzstan"
|
4163 |
msgstr ""
|
4164 |
|
4165 |
-
#: includes/helpers.php:
|
4166 |
msgid "Lao People's Democratic Republic"
|
4167 |
msgstr ""
|
4168 |
|
4169 |
-
#: includes/helpers.php:
|
4170 |
msgid "Latvia"
|
4171 |
msgstr ""
|
4172 |
|
4173 |
-
#: includes/helpers.php:
|
4174 |
msgid "Lebanon"
|
4175 |
msgstr ""
|
4176 |
|
4177 |
-
#: includes/helpers.php:
|
4178 |
-
#: includes/helpers.php:
|
4179 |
msgid "Lesotho"
|
4180 |
msgstr ""
|
4181 |
|
4182 |
-
#: includes/helpers.php:
|
4183 |
-
#: includes/helpers.php:
|
4184 |
msgid "Liberia"
|
4185 |
msgstr ""
|
4186 |
|
4187 |
-
#: includes/helpers.php:
|
4188 |
msgid "Libyan Arab Jamahiriya"
|
4189 |
msgstr ""
|
4190 |
|
4191 |
-
#: includes/helpers.php:
|
4192 |
msgid "Liechtenstein"
|
4193 |
msgstr ""
|
4194 |
|
4195 |
-
#: includes/helpers.php:
|
4196 |
msgid "Lithuania"
|
4197 |
msgstr ""
|
4198 |
|
4199 |
-
#: includes/helpers.php:
|
4200 |
msgid "Luxembourg"
|
4201 |
msgstr ""
|
4202 |
|
4203 |
-
#: includes/helpers.php:
|
4204 |
msgid "Macau"
|
4205 |
msgstr ""
|
4206 |
|
4207 |
-
#: includes/helpers.php:
|
4208 |
msgid "Macedonia (FYROM)"
|
4209 |
msgstr ""
|
4210 |
|
4211 |
-
#: includes/helpers.php:
|
4212 |
msgid "Madagascar"
|
4213 |
msgstr ""
|
4214 |
|
4215 |
-
#: includes/helpers.php:
|
4216 |
-
#: includes/helpers.php:
|
4217 |
msgid "Malawi"
|
4218 |
msgstr ""
|
4219 |
|
4220 |
-
#: includes/helpers.php:
|
4221 |
msgid "Malaysia"
|
4222 |
msgstr ""
|
4223 |
|
4224 |
-
#: includes/helpers.php:
|
4225 |
msgid "Maldives"
|
4226 |
msgstr ""
|
4227 |
|
4228 |
-
#: includes/helpers.php:
|
4229 |
msgid "Mali"
|
4230 |
msgstr ""
|
4231 |
|
4232 |
-
#: includes/helpers.php:
|
4233 |
-
#: includes/helpers.php:
|
4234 |
msgid "Malta"
|
4235 |
msgstr ""
|
4236 |
|
4237 |
-
#: includes/helpers.php:
|
4238 |
-
#: includes/helpers.php:
|
4239 |
msgid "Marshall Islands"
|
4240 |
msgstr ""
|
4241 |
|
4242 |
-
#: includes/helpers.php:
|
4243 |
msgid "Martinique"
|
4244 |
msgstr ""
|
4245 |
|
4246 |
-
#: includes/helpers.php:
|
4247 |
msgid "Mauritania"
|
4248 |
msgstr ""
|
4249 |
|
4250 |
-
#: includes/helpers.php:
|
4251 |
-
#: includes/helpers.php:
|
4252 |
msgid "Mauritius"
|
4253 |
msgstr ""
|
4254 |
|
4255 |
-
#: includes/helpers.php:
|
4256 |
msgid "Mayotte"
|
4257 |
msgstr ""
|
4258 |
|
4259 |
-
#: includes/helpers.php:
|
4260 |
msgid "Mexico"
|
4261 |
msgstr ""
|
4262 |
|
4263 |
-
#: includes/helpers.php:
|
4264 |
-
#: includes/helpers.php:
|
4265 |
msgid "Micronesia"
|
4266 |
msgstr ""
|
4267 |
|
4268 |
-
#: includes/helpers.php:
|
4269 |
msgid "Moldova, Republic of"
|
4270 |
msgstr ""
|
4271 |
|
4272 |
-
#: includes/helpers.php:
|
4273 |
msgid "Monaco"
|
4274 |
msgstr ""
|
4275 |
|
4276 |
-
#: includes/helpers.php:
|
4277 |
msgid "Mongolia"
|
4278 |
msgstr ""
|
4279 |
|
4280 |
-
#: includes/helpers.php:
|
4281 |
msgid "Montenegro"
|
4282 |
msgstr ""
|
4283 |
|
4284 |
-
#: includes/helpers.php:
|
4285 |
msgid "Montserrat"
|
4286 |
msgstr ""
|
4287 |
|
4288 |
-
#: includes/helpers.php:
|
4289 |
msgid "Morocco"
|
4290 |
msgstr ""
|
4291 |
|
4292 |
-
#: includes/helpers.php:
|
4293 |
msgid "Mozambique"
|
4294 |
msgstr ""
|
4295 |
|
4296 |
-
#: includes/helpers.php:
|
4297 |
msgid "Myanmar"
|
4298 |
msgstr ""
|
4299 |
|
4300 |
-
#: includes/helpers.php:
|
4301 |
-
#: includes/helpers.php:
|
4302 |
msgid "Namibia"
|
4303 |
msgstr ""
|
4304 |
|
4305 |
-
#: includes/helpers.php:
|
4306 |
-
#: includes/helpers.php:
|
4307 |
msgid "Nauru"
|
4308 |
msgstr ""
|
4309 |
|
4310 |
-
#: includes/helpers.php:
|
4311 |
msgid "Nepal"
|
4312 |
msgstr ""
|
4313 |
|
4314 |
-
#: includes/helpers.php:
|
4315 |
msgid "Netherlands"
|
4316 |
msgstr ""
|
4317 |
|
4318 |
-
#: includes/helpers.php:
|
4319 |
msgid "Netherlands Antilles"
|
4320 |
msgstr ""
|
4321 |
|
4322 |
-
#: includes/helpers.php:
|
4323 |
msgid "New Caledonia"
|
4324 |
msgstr ""
|
4325 |
|
4326 |
-
#: includes/helpers.php:
|
4327 |
-
#: includes/helpers.php:
|
4328 |
msgid "New Zealand"
|
4329 |
msgstr ""
|
4330 |
|
4331 |
-
#: includes/helpers.php:
|
4332 |
msgid "Nicaragua"
|
4333 |
msgstr ""
|
4334 |
|
4335 |
-
#: includes/helpers.php:
|
4336 |
msgid "Niger"
|
4337 |
msgstr ""
|
4338 |
|
4339 |
-
#: includes/helpers.php:
|
4340 |
-
#: includes/helpers.php:
|
4341 |
msgid "Nigeria"
|
4342 |
msgstr ""
|
4343 |
|
4344 |
-
#: includes/helpers.php:
|
4345 |
msgid "Niue"
|
4346 |
msgstr ""
|
4347 |
|
4348 |
-
#: includes/helpers.php:
|
4349 |
msgid "Norfolk Island"
|
4350 |
msgstr ""
|
4351 |
|
4352 |
-
#: includes/helpers.php:
|
4353 |
msgid "North Korea"
|
4354 |
msgstr ""
|
4355 |
|
4356 |
-
#: includes/helpers.php:
|
4357 |
msgid "Northern Mariana Islands"
|
4358 |
msgstr ""
|
4359 |
|
4360 |
-
#: includes/helpers.php:
|
4361 |
msgid "Norway"
|
4362 |
msgstr ""
|
4363 |
|
4364 |
-
#: includes/helpers.php:
|
4365 |
msgid "Oman"
|
4366 |
msgstr ""
|
4367 |
|
4368 |
-
#: includes/helpers.php:
|
4369 |
-
#: includes/helpers.php:
|
4370 |
msgid "Pakistan"
|
4371 |
msgstr ""
|
4372 |
|
4373 |
-
#: includes/helpers.php:
|
4374 |
-
#: includes/helpers.php:
|
4375 |
msgid "Palau"
|
4376 |
msgstr ""
|
4377 |
|
4378 |
-
#: includes/helpers.php:
|
4379 |
msgid "Palestinian Territories"
|
4380 |
msgstr ""
|
4381 |
|
4382 |
-
#: includes/helpers.php:
|
4383 |
msgid "Panama"
|
4384 |
msgstr ""
|
4385 |
|
4386 |
-
#: includes/helpers.php:
|
4387 |
-
#: includes/helpers.php:
|
4388 |
msgid "Papua New Guinea"
|
4389 |
msgstr ""
|
4390 |
|
4391 |
-
#: includes/helpers.php:
|
4392 |
msgid "Paraguay"
|
4393 |
msgstr ""
|
4394 |
|
4395 |
-
#: includes/helpers.php:
|
4396 |
msgid "Peru"
|
4397 |
msgstr ""
|
4398 |
|
4399 |
-
#: includes/helpers.php:
|
4400 |
-
#: includes/helpers.php:
|
4401 |
msgid "Philippines"
|
4402 |
msgstr ""
|
4403 |
|
4404 |
-
#: includes/helpers.php:
|
4405 |
msgid "Pitcairn Island"
|
4406 |
msgstr ""
|
4407 |
|
4408 |
-
#: includes/helpers.php:
|
4409 |
msgid "Poland"
|
4410 |
msgstr ""
|
4411 |
|
4412 |
-
#: includes/helpers.php:
|
4413 |
msgid "Portugal"
|
4414 |
msgstr ""
|
4415 |
|
4416 |
-
#: includes/helpers.php:
|
4417 |
msgid "Puerto Rico"
|
4418 |
msgstr ""
|
4419 |
|
4420 |
-
#: includes/helpers.php:
|
4421 |
msgid "Qatar"
|
4422 |
msgstr ""
|
4423 |
|
4424 |
-
#: includes/helpers.php:
|
4425 |
msgid "Republic of Kosovo"
|
4426 |
msgstr ""
|
4427 |
|
4428 |
-
#: includes/helpers.php:
|
4429 |
msgid "Reunion Island"
|
4430 |
msgstr ""
|
4431 |
|
4432 |
-
#: includes/helpers.php:
|
4433 |
msgid "Romania"
|
4434 |
msgstr ""
|
4435 |
|
4436 |
-
#: includes/helpers.php:
|
4437 |
msgid "Russian Federation"
|
4438 |
msgstr ""
|
4439 |
|
4440 |
-
#: includes/helpers.php:
|
4441 |
-
#: includes/helpers.php:
|
4442 |
msgid "Rwanda"
|
4443 |
msgstr ""
|
4444 |
|
4445 |
-
#: includes/helpers.php:
|
4446 |
msgid "Saint Barthélemy"
|
4447 |
msgstr ""
|
4448 |
|
4449 |
-
#: includes/helpers.php:
|
4450 |
msgid "Saint Helena"
|
4451 |
msgstr ""
|
4452 |
|
4453 |
-
#: includes/helpers.php:
|
4454 |
msgid "Saint Kitts and Nevis"
|
4455 |
msgstr ""
|
4456 |
|
4457 |
-
#: includes/helpers.php:
|
4458 |
msgid "Saint Lucia"
|
4459 |
msgstr ""
|
4460 |
|
4461 |
-
#: includes/helpers.php:
|
4462 |
msgid "Saint Martin (French)"
|
4463 |
msgstr ""
|
4464 |
|
4465 |
-
#: includes/helpers.php:
|
4466 |
msgid "Saint Martin (Dutch)"
|
4467 |
msgstr ""
|
4468 |
|
4469 |
-
#: includes/helpers.php:
|
4470 |
msgid "Saint Pierre and Miquelon"
|
4471 |
msgstr ""
|
4472 |
|
4473 |
-
#: includes/helpers.php:
|
4474 |
msgid "Saint Vincent and the Grenadines"
|
4475 |
msgstr ""
|
4476 |
|
4477 |
-
#: includes/helpers.php:
|
4478 |
msgid "San Marino"
|
4479 |
msgstr ""
|
4480 |
|
4481 |
-
#: includes/helpers.php:
|
4482 |
msgid "São Tomé and Príncipe"
|
4483 |
msgstr ""
|
4484 |
|
4485 |
-
#: includes/helpers.php:
|
4486 |
msgid "Saudi Arabia"
|
4487 |
msgstr ""
|
4488 |
|
4489 |
-
#: includes/helpers.php:
|
4490 |
msgid "Senegal"
|
4491 |
msgstr ""
|
4492 |
|
4493 |
-
#: includes/helpers.php:
|
4494 |
msgid "Serbia"
|
4495 |
msgstr ""
|
4496 |
|
4497 |
-
#: includes/helpers.php:
|
4498 |
-
#: includes/helpers.php:
|
4499 |
msgid "Seychelles"
|
4500 |
msgstr ""
|
4501 |
|
4502 |
-
#: includes/helpers.php:
|
4503 |
-
#: includes/helpers.php:
|
4504 |
msgid "Sierra Leone"
|
4505 |
msgstr ""
|
4506 |
|
4507 |
-
#: includes/helpers.php:
|
4508 |
-
#: includes/helpers.php:
|
4509 |
msgid "Singapore"
|
4510 |
msgstr ""
|
4511 |
|
4512 |
-
#: includes/helpers.php:
|
4513 |
msgid "Slovak Republic"
|
4514 |
msgstr ""
|
4515 |
|
4516 |
-
#: includes/helpers.php:
|
4517 |
msgid "Slovenia"
|
4518 |
msgstr ""
|
4519 |
|
4520 |
-
#: includes/helpers.php:
|
4521 |
-
#: includes/helpers.php:
|
4522 |
msgid "Solomon Islands"
|
4523 |
msgstr ""
|
4524 |
|
4525 |
-
#: includes/helpers.php:
|
4526 |
msgid "Somalia"
|
4527 |
msgstr ""
|
4528 |
|
4529 |
-
#: includes/helpers.php:
|
4530 |
-
#: includes/helpers.php:
|
4531 |
msgid "South Africa"
|
4532 |
msgstr ""
|
4533 |
|
4534 |
-
#: includes/helpers.php:
|
4535 |
msgid "South Georgia"
|
4536 |
msgstr ""
|
4537 |
|
4538 |
-
#: includes/helpers.php:
|
4539 |
msgid "South Korea"
|
4540 |
msgstr ""
|
4541 |
|
4542 |
-
#: includes/helpers.php:
|
4543 |
-
#: includes/helpers.php:
|
4544 |
msgid "South Sudan"
|
4545 |
msgstr ""
|
4546 |
|
4547 |
-
#: includes/helpers.php:
|
4548 |
msgid "Spain"
|
4549 |
msgstr ""
|
4550 |
|
4551 |
-
#: includes/helpers.php:
|
4552 |
msgid "Sri Lanka"
|
4553 |
msgstr ""
|
4554 |
|
4555 |
-
#: includes/helpers.php:
|
4556 |
-
#: includes/helpers.php:
|
4557 |
msgid "Sudan"
|
4558 |
msgstr ""
|
4559 |
|
4560 |
-
#: includes/helpers.php:
|
4561 |
msgid "Suriname"
|
4562 |
msgstr ""
|
4563 |
|
4564 |
-
#: includes/helpers.php:
|
4565 |
msgid "Svalbard and Jan Mayen Islands"
|
4566 |
msgstr ""
|
4567 |
|
4568 |
-
#: includes/helpers.php:
|
4569 |
-
#: includes/helpers.php:
|
4570 |
msgid "Swaziland"
|
4571 |
msgstr ""
|
4572 |
|
4573 |
-
#: includes/helpers.php:
|
4574 |
msgid "Sweden"
|
4575 |
msgstr ""
|
4576 |
|
4577 |
-
#: includes/helpers.php:
|
4578 |
msgid "Switzerland"
|
4579 |
msgstr ""
|
4580 |
|
4581 |
-
#: includes/helpers.php:
|
4582 |
msgid "Syrian Arab Republic"
|
4583 |
msgstr ""
|
4584 |
|
4585 |
-
#: includes/helpers.php:
|
4586 |
msgid "Taiwan"
|
4587 |
msgstr ""
|
4588 |
|
4589 |
-
#: includes/helpers.php:
|
4590 |
msgid "Tajikistan"
|
4591 |
msgstr ""
|
4592 |
|
4593 |
-
#: includes/helpers.php:
|
4594 |
-
#: includes/helpers.php:
|
4595 |
msgid "Tanzania"
|
4596 |
msgstr ""
|
4597 |
|
4598 |
-
#: includes/helpers.php:
|
4599 |
msgid "Thailand"
|
4600 |
msgstr ""
|
4601 |
|
4602 |
-
#: includes/helpers.php:
|
4603 |
msgid "Timor-Leste"
|
4604 |
msgstr ""
|
4605 |
|
4606 |
-
#: includes/helpers.php:
|
4607 |
msgid "Togo"
|
4608 |
msgstr ""
|
4609 |
|
4610 |
-
#: includes/helpers.php:
|
4611 |
msgid "Tokelau"
|
4612 |
msgstr ""
|
4613 |
|
4614 |
-
#: includes/helpers.php:
|
4615 |
-
#: includes/helpers.php:
|
4616 |
msgid "Tonga"
|
4617 |
msgstr ""
|
4618 |
|
4619 |
-
#: includes/helpers.php:
|
4620 |
-
#: includes/helpers.php:
|
4621 |
msgid "Trinidad and Tobago"
|
4622 |
msgstr ""
|
4623 |
|
4624 |
-
#: includes/helpers.php:
|
4625 |
msgid "Tunisia"
|
4626 |
msgstr ""
|
4627 |
|
4628 |
-
#: includes/helpers.php:
|
4629 |
msgid "Turkey"
|
4630 |
msgstr ""
|
4631 |
|
4632 |
-
#: includes/helpers.php:
|
4633 |
msgid "Turkmenistan"
|
4634 |
msgstr ""
|
4635 |
|
4636 |
-
#: includes/helpers.php:
|
4637 |
msgid "Turks and Caicos Islands"
|
4638 |
msgstr ""
|
4639 |
|
4640 |
-
#: includes/helpers.php:
|
4641 |
-
#: includes/helpers.php:
|
4642 |
msgid "Tuvalu"
|
4643 |
msgstr ""
|
4644 |
|
4645 |
-
#: includes/helpers.php:
|
4646 |
-
#: includes/helpers.php:
|
4647 |
msgid "Uganda"
|
4648 |
msgstr ""
|
4649 |
|
4650 |
-
#: includes/helpers.php:
|
4651 |
msgid "Ukraine"
|
4652 |
msgstr ""
|
4653 |
|
4654 |
-
#: includes/helpers.php:
|
4655 |
msgid "United Arab Emirates"
|
4656 |
msgstr ""
|
4657 |
|
4658 |
-
#: includes/helpers.php:
|
4659 |
msgid "Uruguay"
|
4660 |
msgstr ""
|
4661 |
|
4662 |
-
#: includes/helpers.php:
|
4663 |
msgid "US Minor Outlying Islands"
|
4664 |
msgstr ""
|
4665 |
|
4666 |
-
#: includes/helpers.php:
|
4667 |
msgid "Uzbekistan"
|
4668 |
msgstr ""
|
4669 |
|
4670 |
-
#: includes/helpers.php:
|
4671 |
-
#: includes/helpers.php:
|
4672 |
msgid "Vanuatu"
|
4673 |
msgstr ""
|
4674 |
|
4675 |
-
#: includes/helpers.php:
|
4676 |
msgid "Venezuela"
|
4677 |
msgstr ""
|
4678 |
|
4679 |
-
#: includes/helpers.php:
|
4680 |
msgid "Vietnam"
|
4681 |
msgstr ""
|
4682 |
|
4683 |
-
#: includes/helpers.php:
|
4684 |
msgid "Virgin Islands (British)"
|
4685 |
msgstr ""
|
4686 |
|
4687 |
-
#: includes/helpers.php:
|
4688 |
msgid "Virgin Islands (USA)"
|
4689 |
msgstr ""
|
4690 |
|
4691 |
-
#: includes/helpers.php:
|
4692 |
msgid "Wallis and Futuna Islands"
|
4693 |
msgstr ""
|
4694 |
|
4695 |
-
#: includes/helpers.php:
|
4696 |
msgid "Western Sahara"
|
4697 |
msgstr ""
|
4698 |
|
4699 |
-
#: includes/helpers.php:
|
4700 |
msgid "Western Samoa"
|
4701 |
msgstr ""
|
4702 |
|
4703 |
-
#: includes/helpers.php:
|
4704 |
msgid "Yemen"
|
4705 |
msgstr ""
|
4706 |
|
4707 |
-
#: includes/helpers.php:
|
4708 |
-
#: includes/helpers.php:
|
4709 |
msgid "Zambia"
|
4710 |
msgstr ""
|
4711 |
|
4712 |
-
#: includes/helpers.php:
|
4713 |
-
#: includes/helpers.php:
|
4714 |
msgid "Zimbabwe"
|
4715 |
msgstr ""
|
4716 |
|
4717 |
-
#: includes/helpers.php:
|
4718 |
msgid "Unknown Country"
|
4719 |
msgstr ""
|
4720 |
|
4721 |
#. Translators: The placeholders are for making the "We noticed you're using a caching plugin" text bold.
|
4722 |
-
#: includes/helpers.php:
|
4723 |
msgid "%1$sWe noticed you're using a caching plugin or caching from your hosting provider.%2$s Be sure to clear the cache to ensure the tracking appears on all pages and posts. %3$s(See this guide on how to clear cache)%4$s."
|
4724 |
msgstr ""
|
4725 |
|
4726 |
#. Translators: The placeholders are for making the "We have detected multiple tracking codes" text bold & adding a link to support.
|
4727 |
-
#: includes/helpers.php:
|
4728 |
msgid "%1$sWe have detected multiple tracking codes%2$s! You should remove non-MonsterInsights ones. If you need help finding them please %3$sread this article%4$s."
|
4729 |
msgstr ""
|
4730 |
|
4731 |
-
#: includes/helpers.php:
|
4732 |
msgid "St Kitts and Nevis"
|
4733 |
msgstr ""
|
4734 |
|
4735 |
-
#: includes/helpers.php:
|
4736 |
msgid "St Lucia"
|
4737 |
msgstr ""
|
4738 |
|
4739 |
-
#: includes/helpers.php:
|
4740 |
msgid "St Vincent and the Grenadines"
|
4741 |
msgstr ""
|
4742 |
|
4743 |
-
#: includes/helpers.php:
|
4744 |
msgid "Samoa"
|
4745 |
msgstr ""
|
4746 |
|
4747 |
-
#: includes/helpers.php:
|
4748 |
msgid "The Bahamas"
|
4749 |
msgstr ""
|
4750 |
|
4751 |
-
#: includes/helpers.php:
|
4752 |
msgid "United States of America"
|
4753 |
msgstr ""
|
4754 |
|
@@ -4829,7 +4849,7 @@ msgid "Theme"
|
|
4829 |
msgstr ""
|
4830 |
|
4831 |
#: languages/gutenberg.php:77
|
4832 |
-
#: languages/vue.php:
|
4833 |
msgid "Inline Popular Posts"
|
4834 |
msgstr ""
|
4835 |
|
@@ -4866,7 +4886,7 @@ msgid "Comment Color"
|
|
4866 |
msgstr ""
|
4867 |
|
4868 |
#: languages/gutenberg.php:107
|
4869 |
-
#: languages/vue.php:
|
4870 |
msgid "Wide-Layout Options"
|
4871 |
msgstr ""
|
4872 |
|
@@ -4875,12 +4895,12 @@ msgid "Choose Layout"
|
|
4875 |
msgstr ""
|
4876 |
|
4877 |
#: languages/gutenberg.php:113
|
4878 |
-
#: languages/vue.php:
|
4879 |
msgid "Adjust the number of columns displayed when the widget is placed in a wide container."
|
4880 |
msgstr ""
|
4881 |
|
4882 |
#: languages/gutenberg.php:116
|
4883 |
-
#: languages/vue.php:
|
4884 |
msgid "Post Count"
|
4885 |
msgstr ""
|
4886 |
|
@@ -4889,7 +4909,7 @@ msgid "Number of posts displayed."
|
|
4889 |
msgstr ""
|
4890 |
|
4891 |
#: languages/gutenberg.php:122
|
4892 |
-
#: languages/vue.php:
|
4893 |
msgid "Display Options"
|
4894 |
msgstr ""
|
4895 |
|
@@ -4902,7 +4922,7 @@ msgid "Display Widget Title"
|
|
4902 |
msgstr ""
|
4903 |
|
4904 |
#: languages/gutenberg.php:131
|
4905 |
-
#: languages/vue.php:
|
4906 |
msgid "Widget Title"
|
4907 |
msgstr ""
|
4908 |
|
@@ -4911,246 +4931,303 @@ msgid "Only Show Posts From These Categories"
|
|
4911 |
msgstr ""
|
4912 |
|
4913 |
#: languages/gutenberg.php:137
|
4914 |
-
#: languages/vue.php:
|
4915 |
msgid "Display Author"
|
4916 |
msgstr ""
|
4917 |
|
4918 |
#: languages/gutenberg.php:140
|
4919 |
-
#: languages/vue.php:
|
4920 |
msgid "Display Date"
|
4921 |
msgstr ""
|
4922 |
|
4923 |
#: languages/gutenberg.php:143
|
4924 |
-
#: languages/vue.php:
|
4925 |
msgid "Display Comments"
|
4926 |
msgstr ""
|
4927 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4928 |
#: languages/gutenberg.php:158
|
4929 |
-
|
|
|
|
|
4930 |
msgstr ""
|
4931 |
|
4932 |
#: languages/gutenberg.php:161
|
4933 |
-
|
|
|
|
|
4934 |
msgstr ""
|
4935 |
|
4936 |
#: languages/gutenberg.php:164
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4937 |
msgid "You have space to add more keywords and power words to boost your rankings and click-through rate."
|
4938 |
msgstr ""
|
4939 |
|
4940 |
-
#: languages/gutenberg.php:
|
4941 |
msgid "Good"
|
4942 |
msgstr ""
|
4943 |
|
4944 |
-
#: languages/gutenberg.php:
|
4945 |
msgid "Headlines that are about 55 characters long will display fully in search results and tend to get more clicks."
|
4946 |
msgstr ""
|
4947 |
|
4948 |
-
#: languages/gutenberg.php:
|
4949 |
msgid "Too Long"
|
4950 |
msgstr ""
|
4951 |
|
4952 |
-
#: languages/gutenberg.php:
|
4953 |
msgid "At this length, it will get cut off in search results. Try reducing it to about 55 characters."
|
4954 |
msgstr ""
|
4955 |
|
4956 |
-
#: languages/gutenberg.php:
|
4957 |
msgid "New Score"
|
4958 |
msgstr ""
|
4959 |
|
4960 |
-
#: languages/gutenberg.php:
|
4961 |
msgid "A good score is between 40 and 60. For best results, you should strive for 70 and above."
|
4962 |
msgstr ""
|
4963 |
|
4964 |
-
#: languages/gutenberg.php:
|
4965 |
msgid "Current Score"
|
4966 |
msgstr ""
|
4967 |
|
4968 |
-
#: languages/gutenberg.php:
|
4969 |
msgid "Previous Scores"
|
4970 |
msgstr ""
|
4971 |
|
4972 |
-
#: languages/gutenberg.php:
|
4973 |
msgid "Search Preview"
|
4974 |
msgstr ""
|
4975 |
|
4976 |
-
#: languages/gutenberg.php:
|
4977 |
msgid "Here is how your headline will look like in google search results page."
|
4978 |
msgstr ""
|
4979 |
|
4980 |
-
#: languages/gutenberg.php:
|
4981 |
msgid "Headlines that are strongly positive or negative tend to get more engagement then neutral ones."
|
4982 |
msgstr ""
|
4983 |
|
4984 |
-
#: languages/gutenberg.php:
|
4985 |
msgid "Your headline has a positive sentiment."
|
4986 |
msgstr ""
|
4987 |
|
4988 |
-
#: languages/gutenberg.php:
|
4989 |
msgid "Positive headlines tend to get better engagement than neutral or negative ones."
|
4990 |
msgstr ""
|
4991 |
|
4992 |
-
#: languages/gutenberg.php:
|
4993 |
msgid "Your headline has a negative sentiment."
|
4994 |
msgstr ""
|
4995 |
|
4996 |
-
#: languages/gutenberg.php:
|
4997 |
msgid "Negative headlines are attention-grabbing and tend to perform better than neutral ones."
|
4998 |
msgstr ""
|
4999 |
|
5000 |
-
#: languages/gutenberg.php:
|
5001 |
msgid "Sentiment"
|
5002 |
msgstr ""
|
5003 |
|
5004 |
-
#: languages/gutenberg.php:
|
5005 |
msgid "Neutral"
|
5006 |
msgstr ""
|
5007 |
|
5008 |
-
#: languages/gutenberg.php:
|
5009 |
msgid "Positive"
|
5010 |
msgstr ""
|
5011 |
|
5012 |
-
#: languages/gutenberg.php:
|
5013 |
msgid "Negative"
|
5014 |
msgstr ""
|
5015 |
|
5016 |
-
#: languages/gutenberg.php:
|
5017 |
msgid "Your headline has a neutral sentiment."
|
5018 |
msgstr ""
|
5019 |
|
5020 |
-
#: languages/gutenberg.php:
|
5021 |
msgid "Beginning & Ending Words"
|
5022 |
msgstr ""
|
5023 |
|
5024 |
-
#: languages/gutenberg.php:
|
5025 |
msgid "Most readers only look at the first and last 3 words of a headline before deciding whether to click."
|
5026 |
msgstr ""
|
5027 |
|
5028 |
-
#: languages/gutenberg.php:
|
5029 |
msgid "Headlines that are lists and how-to get more engagement on average than other types of headlines. %1sRead more about %2sdifferent types of headlines here.%3s"
|
5030 |
msgstr ""
|
5031 |
|
5032 |
-
#: languages/gutenberg.php:
|
5033 |
msgid "Headline Type"
|
5034 |
msgstr ""
|
5035 |
|
5036 |
-
#: languages/gutenberg.php:
|
5037 |
msgid "Word Balance"
|
5038 |
msgstr ""
|
5039 |
|
5040 |
-
#: languages/gutenberg.php:
|
5041 |
msgid "Compare the percentages of your results to the goal for each category and adjust as necessary."
|
5042 |
msgstr ""
|
5043 |
|
5044 |
-
#: languages/gutenberg.php:
|
5045 |
msgid "Your headline would be more likely to get clicks if it had more uncommon words."
|
5046 |
msgstr ""
|
5047 |
|
5048 |
-
#: languages/gutenberg.php:
|
5049 |
msgid "Headlines with 20-30% common words are more likely to get clicks."
|
5050 |
msgstr ""
|
5051 |
|
5052 |
-
#: languages/gutenberg.php:
|
5053 |
msgid "Headlines with uncommon words are more likely to get clicks."
|
5054 |
msgstr ""
|
5055 |
|
5056 |
-
#: languages/gutenberg.php:
|
5057 |
msgid "Emotionally triggered headlines are likely to drive more clicks."
|
5058 |
msgstr ""
|
5059 |
|
5060 |
-
#: languages/gutenberg.php:
|
5061 |
msgid "Headlines with Power Words are more likely to get clicks."
|
5062 |
msgstr ""
|
5063 |
|
5064 |
-
#: languages/gutenberg.php:
|
5065 |
msgid "Common Words"
|
5066 |
msgstr ""
|
5067 |
|
5068 |
-
#: languages/gutenberg.php:
|
5069 |
msgid "20-30%"
|
5070 |
msgstr ""
|
5071 |
|
5072 |
-
#: languages/gutenberg.php:
|
5073 |
msgid "Uncommon Words"
|
5074 |
msgstr ""
|
5075 |
|
5076 |
-
#: languages/gutenberg.php:
|
5077 |
msgid "10-20%"
|
5078 |
msgstr ""
|
5079 |
|
5080 |
-
#: languages/gutenberg.php:
|
5081 |
msgid "Emotional Words"
|
5082 |
msgstr ""
|
5083 |
|
5084 |
-
#: languages/gutenberg.php:
|
5085 |
msgid "10-15%"
|
5086 |
msgstr ""
|
5087 |
|
5088 |
-
#: languages/gutenberg.php:
|
5089 |
msgid "Power Words"
|
5090 |
msgstr ""
|
5091 |
|
5092 |
-
#: languages/gutenberg.php:
|
5093 |
msgid "At least one"
|
5094 |
msgstr ""
|
5095 |
|
5096 |
-
#: languages/gutenberg.php:
|
5097 |
msgid "Word Count"
|
5098 |
msgstr ""
|
5099 |
|
5100 |
-
#: languages/gutenberg.php:
|
5101 |
msgid "Not Enough Words"
|
5102 |
msgstr ""
|
5103 |
|
5104 |
-
#: languages/gutenberg.php:
|
5105 |
msgid "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."
|
5106 |
msgstr ""
|
5107 |
|
5108 |
-
#: languages/gutenberg.php:
|
5109 |
msgid "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."
|
5110 |
msgstr ""
|
5111 |
|
5112 |
-
#: languages/gutenberg.php:
|
5113 |
msgid "Reduce Word Count"
|
5114 |
msgstr ""
|
5115 |
|
5116 |
-
#: languages/gutenberg.php:
|
5117 |
msgid "Too Many Words"
|
5118 |
msgstr ""
|
5119 |
|
5120 |
-
#: languages/gutenberg.php:
|
5121 |
msgid "Your headline has too many words. Long headlines will get cut off in search results and won’t get as many clicks."
|
5122 |
msgstr ""
|
5123 |
|
5124 |
-
#: languages/gutenberg.php:
|
5125 |
msgid "Try New Headline"
|
5126 |
msgstr ""
|
5127 |
|
5128 |
-
#: languages/gutenberg.php:
|
5129 |
msgid "Score"
|
5130 |
msgstr ""
|
5131 |
|
5132 |
-
#: languages/gutenberg.php:
|
5133 |
msgid "Analyze"
|
5134 |
msgstr ""
|
5135 |
|
5136 |
-
#: languages/gutenberg.php:
|
5137 |
msgid "Enter a different headline than your post title to see how it compares."
|
5138 |
msgstr ""
|
5139 |
|
5140 |
-
#: languages/gutenberg.php:
|
5141 |
msgid "Goal: "
|
5142 |
msgstr ""
|
5143 |
|
5144 |
-
#: languages/gutenberg.php:
|
5145 |
-
#: languages/vue.php:
|
5146 |
msgid "Headline Analyzer"
|
5147 |
msgstr ""
|
5148 |
|
5149 |
-
#: languages/gutenberg.php:
|
5150 |
msgid "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."
|
5151 |
msgstr ""
|
5152 |
|
5153 |
-
#: languages/gutenberg.php:
|
5154 |
msgid "This headline analyzer is part of MonsterInsights to help you increase your traffic. See your %1swebsite traffic reports%2s."
|
5155 |
msgstr ""
|
5156 |
|
@@ -5162,7 +5239,7 @@ msgstr ""
|
|
5162 |
msgid "2"
|
5163 |
msgstr ""
|
5164 |
|
5165 |
-
#: languages/vue.php:
|
5166 |
msgid "Error"
|
5167 |
msgstr ""
|
5168 |
|
@@ -5170,621 +5247,613 @@ msgstr ""
|
|
5170 |
msgid "Please try again."
|
5171 |
msgstr ""
|
5172 |
|
5173 |
-
#: languages/vue.php:
|
5174 |
msgid "Today"
|
5175 |
msgstr ""
|
5176 |
|
5177 |
-
#: languages/vue.php:
|
5178 |
-
msgid "Yesterday"
|
5179 |
-
msgstr ""
|
5180 |
-
|
5181 |
-
#: languages/vue.php:24
|
5182 |
msgid "Last Week"
|
5183 |
msgstr ""
|
5184 |
|
5185 |
-
#: languages/vue.php:
|
5186 |
msgid "Last Month"
|
5187 |
msgstr ""
|
5188 |
|
5189 |
-
#: languages/vue.php:
|
5190 |
msgid "Last 7 days"
|
5191 |
msgstr ""
|
5192 |
|
5193 |
-
#: languages/vue.php:
|
5194 |
-
msgid "Last 30 days"
|
5195 |
-
msgstr ""
|
5196 |
-
|
5197 |
-
#: languages/vue.php:36
|
5198 |
msgid "Loading settings"
|
5199 |
msgstr ""
|
5200 |
|
5201 |
-
#: languages/vue.php:
|
5202 |
msgid "Loading new report data"
|
5203 |
msgstr ""
|
5204 |
|
5205 |
-
#: languages/vue.php:
|
5206 |
msgid "Please wait..."
|
5207 |
msgstr ""
|
5208 |
|
5209 |
#. Translators: Adds an arrow icon.
|
5210 |
-
#: languages/vue.php:
|
5211 |
msgid "Continue %s"
|
5212 |
msgstr ""
|
5213 |
|
5214 |
-
#: languages/vue.php:
|
5215 |
msgid "Unlock the Publishers Report and Focus on the Content that Matters"
|
5216 |
msgstr ""
|
5217 |
|
5218 |
-
#: languages/vue.php:
|
5219 |
msgid "Stop guessing about what content your visitors are interested in. MonsterInsights Publisher Report shows you exactly which content gets the most visits, so you can analyze and optimize it for higher conversions."
|
5220 |
msgstr ""
|
5221 |
|
5222 |
-
#: languages/vue.php:
|
5223 |
msgid "Unlock the Publishers Report and Focus on the Content That Matters"
|
5224 |
msgstr ""
|
5225 |
|
5226 |
-
#: languages/vue.php:
|
5227 |
msgid "Stop guessing about what content your visitors are interested in. The Publisher Report shows you exactly which content gets the most traffic, so you can analyze and optimize it for higher conversions."
|
5228 |
msgstr ""
|
5229 |
|
5230 |
-
#: languages/vue.php:
|
5231 |
msgid "Unlock the eCommerce Report and See Your Important Store Metrics"
|
5232 |
msgstr ""
|
5233 |
|
5234 |
-
#: languages/vue.php:
|
5235 |
msgid "Increase your sales & revenue with insights. ExactMetrics answers all your top eCommerce questions using metrics like total revenue, conversion rate, average order value, top products, top referral sources and more."
|
5236 |
msgstr ""
|
5237 |
|
5238 |
-
#: languages/vue.php:
|
5239 |
msgid "Unlock the Dimensions Report and Track Your Own Custom Data"
|
5240 |
msgstr ""
|
5241 |
|
5242 |
-
#: languages/vue.php:
|
5243 |
msgid "Decide what data is important using your own custom tracking parameters. The Dimensions report allows you to easily see what's working right inside your WordPress dashboard."
|
5244 |
msgstr ""
|
5245 |
|
5246 |
-
#: languages/vue.php:
|
5247 |
msgid "Unlock the Forms Report and Improve Conversions"
|
5248 |
msgstr ""
|
5249 |
|
5250 |
-
#: languages/vue.php:
|
5251 |
msgid "Easily track your form views and conversions. The Forms Report allows you to see which forms are performing better and which forms have lower conversion rates so you can optimize using real data."
|
5252 |
msgstr ""
|
5253 |
|
5254 |
-
#: languages/vue.php:
|
5255 |
msgid "Unlock the Search Console Report and See How People Find Your Website"
|
5256 |
msgstr ""
|
5257 |
|
5258 |
-
#: languages/vue.php:
|
5259 |
msgid "See exactly how people find your website, which keywords they searched for, how many times the results were viewed, and more."
|
5260 |
msgstr ""
|
5261 |
|
5262 |
-
#: languages/vue.php:
|
5263 |
msgid "Unlock the Real-Time Report and Track the Visitors on Your Site in Real-Time"
|
5264 |
msgstr ""
|
5265 |
|
5266 |
-
#: languages/vue.php:
|
5267 |
msgid "Track the results of your marketing efforts and product launches as-it-happens right from your WordPress site. The Real-Time report allows you to view your traffic sources and visitors activity when you need it."
|
5268 |
msgstr ""
|
5269 |
|
5270 |
-
#: languages/vue.php:
|
5271 |
msgid "Unlock the Site Speed Report and Improve the Performance of Your Site"
|
5272 |
msgstr ""
|
5273 |
|
5274 |
-
#: languages/vue.php:
|
5275 |
msgid "See How Your Homepage Performs According to Google’s Own Criteria and See How You Can Improve to Increase Your Ranking"
|
5276 |
msgstr ""
|
5277 |
|
5278 |
-
#: languages/vue.php:
|
5279 |
msgid "Loading Settings"
|
5280 |
msgstr ""
|
5281 |
|
5282 |
-
#: languages/vue.php:
|
5283 |
msgid "Saving Changes..."
|
5284 |
msgstr ""
|
5285 |
|
5286 |
-
#: languages/vue.php:
|
5287 |
msgid "Settings Updated"
|
5288 |
msgstr ""
|
5289 |
|
5290 |
#. Translators: Adds a link to the settings panel.
|
5291 |
-
#: languages/vue.php:
|
5292 |
msgid "You need to %1$sconnect MonsterInsights%2$s first"
|
5293 |
msgstr ""
|
5294 |
|
5295 |
-
#: languages/vue.php:
|
5296 |
msgid "Could Not Save Changes"
|
5297 |
msgstr ""
|
5298 |
|
5299 |
-
#: languages/vue.php:
|
5300 |
msgid "Refreshing Report"
|
5301 |
msgstr ""
|
5302 |
|
5303 |
-
#: languages/vue.php:
|
5304 |
msgid "Loading new report data..."
|
5305 |
msgstr ""
|
5306 |
|
5307 |
-
#: languages/vue.php:
|
5308 |
msgid "See Your Top Landing Pages to Improve Engagement"
|
5309 |
msgstr ""
|
5310 |
|
5311 |
-
#: languages/vue.php:
|
5312 |
msgid "See Your Top Exit Pages to Reduce Abandonment"
|
5313 |
msgstr ""
|
5314 |
|
5315 |
-
#: languages/vue.php:
|
5316 |
msgid "See Your Top Outbound Links to Find New Revenue Opportunities"
|
5317 |
msgstr ""
|
5318 |
|
5319 |
-
#: languages/vue.php:
|
5320 |
msgid "See Your Top Affiliate Links and Focus on What's Working"
|
5321 |
msgstr ""
|
5322 |
|
5323 |
-
#: languages/vue.php:
|
5324 |
msgid "See Your Top Downloads and Improve Conversions"
|
5325 |
msgstr ""
|
5326 |
|
5327 |
-
#: languages/vue.php:
|
5328 |
msgid "See Audience Demographic Report ( Age / Gender / Interests )"
|
5329 |
msgstr ""
|
5330 |
|
5331 |
-
#: languages/vue.php:
|
5332 |
msgid "Increase your sales & revenue with insights. MonsterInsights answers all your top eCommerce questions using metrics like total revenue, conversion rate, average order value, top products, top referral sources and more."
|
5333 |
msgstr ""
|
5334 |
|
5335 |
-
#: languages/vue.php:
|
5336 |
msgid "See Your Conversion Rate to Improve Your Funnel"
|
5337 |
msgstr ""
|
5338 |
|
5339 |
-
#: languages/vue.php:
|
5340 |
msgid "See The Number of Transactions and Make Data-Driven Decisions"
|
5341 |
msgstr ""
|
5342 |
|
5343 |
-
#: languages/vue.php:
|
5344 |
msgid "See The Total Revenue to Track Growth"
|
5345 |
msgstr ""
|
5346 |
|
5347 |
-
#: languages/vue.php:
|
5348 |
msgid "See Average Order Value to Find Offer Opportunities"
|
5349 |
msgstr ""
|
5350 |
|
5351 |
-
#: languages/vue.php:
|
5352 |
msgid "See Your Top Products to See Individual Performance"
|
5353 |
msgstr ""
|
5354 |
|
5355 |
-
#: languages/vue.php:
|
5356 |
msgid "See Your Top Conversion Sources and Focus on What's Working"
|
5357 |
msgstr ""
|
5358 |
|
5359 |
-
#: languages/vue.php:
|
5360 |
msgid "See The Time it Takes for Customers to Purchase"
|
5361 |
msgstr ""
|
5362 |
|
5363 |
-
#: languages/vue.php:
|
5364 |
msgid "See How Many Sessions are Needed for a Purchase"
|
5365 |
msgstr ""
|
5366 |
|
5367 |
-
#: languages/vue.php:
|
5368 |
msgid "See Which Authors Generate the Most Traffic"
|
5369 |
msgstr ""
|
5370 |
|
5371 |
-
#: languages/vue.php:
|
5372 |
msgid "See Which Post Types Perform Better"
|
5373 |
msgstr ""
|
5374 |
|
5375 |
-
#: languages/vue.php:
|
5376 |
msgid "See Which Categories are the Most Popular"
|
5377 |
msgstr ""
|
5378 |
|
5379 |
-
#: languages/vue.php:
|
5380 |
msgid "See Your Blog's Most Popular SEO Scores"
|
5381 |
msgstr ""
|
5382 |
|
5383 |
-
#: languages/vue.php:
|
5384 |
msgid "See Which Focus Keyword is Performing Better in Search Engines"
|
5385 |
msgstr ""
|
5386 |
|
5387 |
-
#: languages/vue.php:
|
5388 |
msgid "See Reports for Any Contact Form Plugin or Sign-up Form"
|
5389 |
msgstr ""
|
5390 |
|
5391 |
-
#: languages/vue.php:
|
5392 |
msgid "See Your Top Converting Forms and Optimize"
|
5393 |
msgstr ""
|
5394 |
|
5395 |
-
#: languages/vue.php:
|
5396 |
msgid "See Your Forms Impressions Count to Find the Best Placement"
|
5397 |
msgstr ""
|
5398 |
|
5399 |
-
#: languages/vue.php:
|
5400 |
msgid "See Your Top Google Search Terms and Optimize Content"
|
5401 |
msgstr ""
|
5402 |
|
5403 |
-
#: languages/vue.php:
|
5404 |
msgid "See The Number of Clicks and Track Interests"
|
5405 |
msgstr ""
|
5406 |
|
5407 |
-
#: languages/vue.php:
|
5408 |
msgid "See The Click-Through-Ratio and Improve SEO"
|
5409 |
msgstr ""
|
5410 |
|
5411 |
-
#: languages/vue.php:
|
5412 |
msgid "See The Average Results Position and Focus on what works"
|
5413 |
msgstr ""
|
5414 |
|
5415 |
-
#: languages/vue.php:
|
5416 |
msgid "See Your Active Visitors and Track Their Behaviour to Optimize"
|
5417 |
msgstr ""
|
5418 |
|
5419 |
-
#: languages/vue.php:
|
5420 |
msgid "See Your Top Pages Immediately After Making Changes"
|
5421 |
msgstr ""
|
5422 |
|
5423 |
-
#: languages/vue.php:
|
5424 |
msgid "See Your Top Referral Sources and Adapt Faster"
|
5425 |
msgstr ""
|
5426 |
|
5427 |
-
#: languages/vue.php:
|
5428 |
msgid "See Your Traffic Demographics"
|
5429 |
msgstr ""
|
5430 |
|
5431 |
-
#: languages/vue.php:
|
5432 |
msgid "Get Fresh Report Data Every 60 Seconds"
|
5433 |
msgstr ""
|
5434 |
|
5435 |
-
#: languages/vue.php:
|
5436 |
msgid "See Your Homepage's Overall Performance Score"
|
5437 |
msgstr ""
|
5438 |
|
5439 |
-
#: languages/vue.php:
|
5440 |
msgid "Run an Audit on Your Homepage and See Your Server Response Time"
|
5441 |
msgstr ""
|
5442 |
|
5443 |
-
#: languages/vue.php:
|
5444 |
msgid "Learn How Long It Takes for Your Viewers to Interact With Your Site"
|
5445 |
msgstr ""
|
5446 |
|
5447 |
-
#: languages/vue.php:
|
5448 |
msgid "Learn How to Improve the Core Metrics that Google Uses to Rank Your Site"
|
5449 |
msgstr ""
|
5450 |
|
5451 |
#. Translators: Number of visitors.
|
5452 |
-
#: languages/vue.php:
|
5453 |
msgid "See how %s visitors found your site!"
|
5454 |
msgstr ""
|
5455 |
|
5456 |
#. Translators: Number of visitors.
|
5457 |
-
#: languages/vue.php:
|
5458 |
msgid "Your website was visited by %s users in the last 30 days."
|
5459 |
msgstr ""
|
5460 |
|
5461 |
-
#: languages/vue.php:
|
5462 |
msgid "See the full analytics report!"
|
5463 |
msgstr ""
|
5464 |
|
5465 |
-
#: languages/vue.php:
|
5466 |
msgid "Congratulations! "
|
5467 |
msgstr ""
|
5468 |
|
5469 |
-
#: languages/vue.php:
|
5470 |
msgid "You Successfully Unlocked the most powerful Analytics plugin"
|
5471 |
msgstr ""
|
5472 |
|
5473 |
-
#: languages/vue.php:
|
5474 |
msgid "Overview Report"
|
5475 |
msgstr ""
|
5476 |
|
5477 |
-
#: languages/vue.php:
|
5478 |
#: lite/includes/admin/welcome.php:56
|
5479 |
#: lite/includes/admin/welcome.php:57
|
5480 |
msgid "Welcome to MonsterInsights"
|
5481 |
msgstr ""
|
5482 |
|
5483 |
-
#: languages/vue.php:
|
5484 |
msgid "Thank you for choosing MonsterInsights - The Most Powerful WordPress Analytics Plugin"
|
5485 |
msgstr ""
|
5486 |
|
5487 |
-
#: languages/vue.php:
|
5488 |
msgid "MonsterInsights makes it “effortless” to setup Google Analytics in WordPress, the RIGHT Way. You can watch the video tutorial or use our 3 minute setup wizard."
|
5489 |
msgstr ""
|
5490 |
|
5491 |
-
#: languages/vue.php:
|
5492 |
msgid "Launch the Wizard!"
|
5493 |
msgstr ""
|
5494 |
|
5495 |
-
#: languages/vue.php:
|
5496 |
msgid "Read the Full Guide"
|
5497 |
msgstr ""
|
5498 |
|
5499 |
-
#: languages/vue.php:
|
5500 |
msgid "MonsterInsights Features & Addons"
|
5501 |
msgstr ""
|
5502 |
|
5503 |
-
#: languages/vue.php:
|
5504 |
msgid "Here are the features that make MonsterInsights the most powerful and user-friendly WordPress analytics plugin in the market."
|
5505 |
msgstr ""
|
5506 |
|
5507 |
-
#: languages/vue.php:
|
5508 |
msgid "See All Features"
|
5509 |
msgstr ""
|
5510 |
|
5511 |
-
#: languages/vue.php:
|
5512 |
msgid "Upgrade to PRO"
|
5513 |
msgstr ""
|
5514 |
|
5515 |
-
#: languages/vue.php:
|
5516 |
msgid "per year"
|
5517 |
msgstr ""
|
5518 |
|
5519 |
-
#: languages/vue.php:
|
5520 |
msgid "Testimonials"
|
5521 |
msgstr ""
|
5522 |
|
5523 |
-
#: languages/vue.php:
|
5524 |
msgid "Universal Tracking"
|
5525 |
msgstr ""
|
5526 |
|
5527 |
-
#: languages/vue.php:
|
5528 |
msgid "Setup universal website tracking across devices and campaigns with just a few clicks (without any code)."
|
5529 |
msgstr ""
|
5530 |
|
5531 |
-
#: languages/vue.php:
|
5532 |
msgid "Google Analytics Dashboard"
|
5533 |
msgstr ""
|
5534 |
|
5535 |
-
#: languages/vue.php:
|
5536 |
msgid "See your website analytics report right inside your WordPress dashboard with actionable insights."
|
5537 |
msgstr ""
|
5538 |
|
5539 |
-
#: languages/vue.php:
|
5540 |
msgid "Real-time Stats"
|
5541 |
msgstr ""
|
5542 |
|
5543 |
-
#: languages/vue.php:
|
5544 |
msgid "Get real-time stats right inside WordPress to see who is online, what are they doing, and more."
|
5545 |
msgstr ""
|
5546 |
|
5547 |
-
#: languages/vue.php:
|
5548 |
msgid "Enhanced Ecommerce Tracking"
|
5549 |
msgstr ""
|
5550 |
|
5551 |
-
#: languages/vue.php:
|
5552 |
msgid "1-click Google Analytics Enhanced Ecommerce tracking for WooCommerce, Easy Digital Downloads & MemberPress."
|
5553 |
msgstr ""
|
5554 |
|
5555 |
-
#: languages/vue.php:
|
5556 |
msgid "Page Level Analytics"
|
5557 |
msgstr ""
|
5558 |
|
5559 |
-
#: languages/vue.php:
|
5560 |
msgid "Get detailed stats for each post and page, so you can see the most popular posts, pages, and sections of your site."
|
5561 |
msgstr ""
|
5562 |
|
5563 |
-
#: languages/vue.php:
|
5564 |
msgid "Affiliate Link & Ads Tracking"
|
5565 |
msgstr ""
|
5566 |
|
5567 |
-
#: languages/vue.php:
|
5568 |
msgid "Automatically track clicks on your affiliate links, banner ads, and other outbound links with our link tracking."
|
5569 |
msgstr ""
|
5570 |
|
5571 |
-
#: languages/vue.php:
|
5572 |
msgid "EU Compliance (GDPR Friendly)"
|
5573 |
msgstr ""
|
5574 |
|
5575 |
-
#: languages/vue.php:
|
5576 |
msgid "Make Google Analytics compliant with GDPR and other privacy regulations automatically."
|
5577 |
msgstr ""
|
5578 |
|
5579 |
-
#: languages/vue.php:
|
5580 |
msgid "Setup tracking for authors, categories, tags, searches, custom post types, users, and other events with 1-click."
|
5581 |
msgstr ""
|
5582 |
|
5583 |
-
#: languages/vue.php:
|
5584 |
msgid "Ecommerce Report"
|
5585 |
msgstr ""
|
5586 |
|
5587 |
-
#: languages/vue.php:
|
5588 |
msgid "Form Conversions"
|
5589 |
msgstr ""
|
5590 |
|
5591 |
-
#: languages/vue.php:
|
5592 |
msgid "Custom Dimensions"
|
5593 |
msgstr ""
|
5594 |
|
5595 |
-
#: languages/vue.php:
|
5596 |
msgid "Author Tracking"
|
5597 |
msgstr ""
|
5598 |
|
5599 |
-
#: languages/vue.php:
|
5600 |
msgid "Google Optimize"
|
5601 |
msgstr ""
|
5602 |
|
5603 |
-
#: languages/vue.php:
|
5604 |
msgid "Category / Tags Tracking"
|
5605 |
msgstr ""
|
5606 |
|
5607 |
-
#: languages/vue.php:
|
5608 |
msgid "WooCommerce"
|
5609 |
msgstr ""
|
5610 |
|
5611 |
-
#: languages/vue.php:
|
5612 |
msgid "Easy Digital Downloads"
|
5613 |
msgstr ""
|
5614 |
|
5615 |
-
#: languages/vue.php:
|
5616 |
msgid "MemberPress"
|
5617 |
msgstr ""
|
5618 |
|
5619 |
-
#: languages/vue.php:
|
5620 |
msgid "LifterLMS"
|
5621 |
msgstr ""
|
5622 |
|
5623 |
#. Translators: Current PHP version and recommended PHP version.
|
5624 |
-
#: languages/vue.php:
|
5625 |
msgid "MonsterInsights has detected that your site is running an outdated, insecure version of PHP (%1$s), which could be putting your site at risk for being hacked. WordPress stopped supporting your PHP version in April, 2019. Updating to the recommended version (PHP %2$s) only takes a few minutes and will make your website significantly faster and more secure."
|
5626 |
msgstr ""
|
5627 |
|
5628 |
#. Translators: Current WordPress version.
|
5629 |
-
#: languages/vue.php:
|
5630 |
msgid "MonsterInsights has detected that your site is running an outdated version of WordPress (%s). MonsterInsights will stop supporting WordPress versions lower than 4.9 in 2020. Updating WordPress takes just a few minutes and will also solve many bugs that exist in your WordPress install."
|
5631 |
msgstr ""
|
5632 |
|
5633 |
-
#: languages/vue.php:
|
5634 |
msgid "Yikes! PHP Update Required"
|
5635 |
msgstr ""
|
5636 |
|
5637 |
#. Translators: Current PHP version and recommended PHP version.
|
5638 |
-
#: languages/vue.php:
|
5639 |
msgid "MonsterInsights has detected that your site is running an outdated, insecure version of PHP (%1$s), which could be putting your site at risk for being hacked. Updating to the recommended version (PHP %2$s) only takes a few minutes and will make your website significantly faster and more secure."
|
5640 |
msgstr ""
|
5641 |
|
5642 |
-
#: languages/vue.php:
|
5643 |
msgid "Learn more about updating PHP"
|
5644 |
msgstr ""
|
5645 |
|
5646 |
-
#: languages/vue.php:
|
5647 |
msgid "Yikes! WordPress Update Required"
|
5648 |
msgstr ""
|
5649 |
|
5650 |
#. Translators: Current WordPress version.
|
5651 |
-
#: languages/vue.php:
|
5652 |
msgid "MonsterInsights has detected that your site is running an outdated version of WordPress (%s). Updating WordPress takes just a few minutes and will also solve many bugs that exist in your WordPress install."
|
5653 |
msgstr ""
|
5654 |
|
5655 |
-
#: languages/vue.php:
|
5656 |
msgid "Learn more about updating WordPress"
|
5657 |
msgstr ""
|
5658 |
|
5659 |
-
#: languages/vue.php:
|
5660 |
msgid "MonsterInsights encountered an error loading your report data"
|
5661 |
msgstr ""
|
5662 |
|
5663 |
-
#: languages/vue.php:
|
5664 |
msgid "There is an issue with your Google Account authentication. Please use the button below to fix it by re-authenticating."
|
5665 |
msgstr ""
|
5666 |
|
5667 |
-
#: languages/vue.php:
|
5668 |
msgid "Reconnect MonsterInsights"
|
5669 |
msgstr ""
|
5670 |
|
5671 |
-
#: languages/vue.php:
|
5672 |
msgid "Re-Authenticating"
|
5673 |
msgstr ""
|
5674 |
|
5675 |
-
#: languages/vue.php:
|
5676 |
msgid "Ok"
|
5677 |
msgstr ""
|
5678 |
|
5679 |
-
#: languages/vue.php:
|
5680 |
msgid "See Quick Links"
|
5681 |
msgstr ""
|
5682 |
|
5683 |
-
#: languages/vue.php:
|
5684 |
msgid "Suggest a Feature"
|
5685 |
msgstr ""
|
5686 |
|
5687 |
-
#: languages/vue.php:
|
5688 |
msgid "Join Our Community"
|
5689 |
msgstr ""
|
5690 |
|
5691 |
-
#: languages/vue.php:
|
5692 |
msgid "Support & Docs"
|
5693 |
msgstr ""
|
5694 |
|
5695 |
-
#: languages/vue.php:
|
5696 |
msgid "Upgrade to Pro »"
|
5697 |
msgstr ""
|
5698 |
|
5699 |
#. Translators: Placeholder is replaced with WPForms.
|
5700 |
-
#: languages/vue.php:
|
5701 |
msgid "Recommended Plugin: %s"
|
5702 |
msgstr ""
|
5703 |
|
5704 |
-
#: languages/vue.php:
|
5705 |
msgid "Install"
|
5706 |
msgstr ""
|
5707 |
|
5708 |
-
#: languages/vue.php:
|
5709 |
msgid "Activate"
|
5710 |
msgstr ""
|
5711 |
|
5712 |
-
#: languages/vue.php:
|
5713 |
msgid "Powered by MonsterInsights"
|
5714 |
msgstr ""
|
5715 |
|
5716 |
-
#: languages/vue.php:
|
5717 |
#: lite/includes/admin/wp-site-health.php:253
|
5718 |
msgid "View Reports"
|
5719 |
msgstr ""
|
5720 |
|
5721 |
-
#: languages/vue.php:
|
5722 |
msgid "Congratulations!"
|
5723 |
msgstr ""
|
5724 |
|
5725 |
#. Translators: Add link to YouTube video and Onboarding Wizard.
|
5726 |
-
#: languages/vue.php:
|
5727 |
msgid "MonsterInsights makes it easy to connect your website with Google Analytics and see all important website stats right inside your WordPress dashboard. In order to setup website analytics, please take a look at our %1$sGetting started video%2$s or use our %3$s to get you quickly set up."
|
5728 |
msgstr ""
|
5729 |
|
5730 |
#. Translators: Add link to YouTube video and Onboarding Wizard.
|
5731 |
-
#: languages/vue.php:
|
5732 |
msgid "Onboarding Wizard"
|
5733 |
msgstr ""
|
5734 |
|
5735 |
-
#: languages/vue.php:
|
5736 |
msgid "You are now connected with MonsterInsights. We make it effortless for you to implement Google Analytics tracking and see the stats that matter, right inside the WordPress dashboard."
|
5737 |
msgstr ""
|
5738 |
|
5739 |
-
#: languages/vue.php:
|
5740 |
msgid "Save Changes"
|
5741 |
msgstr ""
|
5742 |
|
5743 |
-
#: languages/vue.php:
|
5744 |
msgid "Inbox"
|
5745 |
msgstr ""
|
5746 |
|
5747 |
-
#: languages/vue.php:
|
5748 |
msgid "Back to Inbox"
|
5749 |
msgstr ""
|
5750 |
|
5751 |
-
#: languages/vue.php:
|
5752 |
msgid "View Dismissed"
|
5753 |
msgstr ""
|
5754 |
|
5755 |
-
#: languages/vue.php:
|
5756 |
msgid "Notifications"
|
5757 |
msgstr ""
|
5758 |
|
5759 |
-
#: languages/vue.php:
|
5760 |
msgid "Dismiss All"
|
5761 |
msgstr ""
|
5762 |
|
5763 |
-
#: languages/vue.php:
|
5764 |
msgid "Dismissed"
|
5765 |
msgstr ""
|
5766 |
|
5767 |
-
#: languages/vue.php:
|
5768 |
msgid "No Notifications"
|
5769 |
msgstr ""
|
5770 |
|
5771 |
-
#: languages/vue.php:
|
5772 |
msgid "Import Export"
|
5773 |
msgstr ""
|
5774 |
|
5775 |
-
#: languages/vue.php:
|
5776 |
msgid "PrettyLinks Integration"
|
5777 |
msgstr ""
|
5778 |
|
5779 |
-
#: languages/vue.php:
|
5780 |
msgid "Getting Started"
|
5781 |
msgstr ""
|
5782 |
|
5783 |
-
#: languages/vue.php:
|
5784 |
msgid "Lite vs Pro"
|
5785 |
msgstr ""
|
5786 |
|
5787 |
-
#: languages/vue.php:
|
5788 |
msgid "Popular Posts Widget"
|
5789 |
msgstr ""
|
5790 |
|
@@ -5796,189 +5865,189 @@ msgstr ""
|
|
5796 |
msgid "Sub menu item for WooCommerce Analytics"
|
5797 |
msgstr ""
|
5798 |
|
5799 |
-
#: languages/vue.php:
|
5800 |
msgid "Engagement"
|
5801 |
msgstr ""
|
5802 |
|
5803 |
-
#: languages/vue.php:
|
5804 |
#: lite/includes/admin/reports/report-ecommerce.php:22
|
5805 |
msgid "eCommerce"
|
5806 |
msgstr ""
|
5807 |
|
5808 |
-
#: languages/vue.php:
|
5809 |
msgid "Publisher"
|
5810 |
msgstr ""
|
5811 |
|
5812 |
-
#: languages/vue.php:
|
5813 |
msgid "Conversions"
|
5814 |
msgstr ""
|
5815 |
|
5816 |
-
#: languages/vue.php:
|
5817 |
msgid "Advanced"
|
5818 |
msgstr ""
|
5819 |
|
5820 |
-
#: languages/vue.php:
|
5821 |
msgid "URL Builder"
|
5822 |
msgstr ""
|
5823 |
|
5824 |
-
#: languages/vue.php:
|
5825 |
msgid "MonsterInsights Addons"
|
5826 |
msgstr ""
|
5827 |
|
5828 |
-
#: languages/vue.php:
|
5829 |
msgid "Search Addons"
|
5830 |
msgstr ""
|
5831 |
|
5832 |
-
#: languages/vue.php:
|
5833 |
msgid "Exit Setup"
|
5834 |
msgstr ""
|
5835 |
|
5836 |
-
#: languages/vue.php:
|
5837 |
msgid "You must connect with MonsterInsights before you can view reports."
|
5838 |
msgstr ""
|
5839 |
|
5840 |
-
#: languages/vue.php:
|
5841 |
msgid "MonsterInsights makes it \"effortless\" for you to connect your site with Google Analytics and see reports right here in the WordPress dashboard."
|
5842 |
msgstr ""
|
5843 |
|
5844 |
-
#: languages/vue.php:
|
5845 |
msgid "Launch Setup Wizard"
|
5846 |
msgstr ""
|
5847 |
|
5848 |
-
#: languages/vue.php:
|
5849 |
msgid "Please ask your webmaster to connect MonsterInsights to Google Analytics."
|
5850 |
msgstr ""
|
5851 |
|
5852 |
-
#: languages/vue.php:
|
5853 |
#: lite/includes/admin/reports/report-publisher.php:22
|
5854 |
msgid "Publishers"
|
5855 |
msgstr ""
|
5856 |
|
5857 |
-
#: languages/vue.php:
|
5858 |
#: lite/includes/admin/reports/report-queries.php:22
|
5859 |
msgid "Search Console"
|
5860 |
msgstr ""
|
5861 |
|
5862 |
-
#: languages/vue.php:
|
5863 |
#: lite/includes/admin/reports/report-dimensions.php:22
|
5864 |
msgid "Dimensions"
|
5865 |
msgstr ""
|
5866 |
|
5867 |
-
#: languages/vue.php:
|
5868 |
#: lite/includes/admin/reports/report-forms.php:22
|
5869 |
msgid "Forms"
|
5870 |
msgstr ""
|
5871 |
|
5872 |
-
#: languages/vue.php:
|
5873 |
msgid "Real-Time"
|
5874 |
msgstr ""
|
5875 |
|
5876 |
-
#: languages/vue.php:
|
5877 |
msgid "Site Speed"
|
5878 |
msgstr ""
|
5879 |
|
5880 |
-
#: languages/vue.php:
|
5881 |
msgid "2020 Year in Review"
|
5882 |
msgstr ""
|
5883 |
|
5884 |
#. Translators: Error status and error text.
|
5885 |
-
#: languages/vue.php:
|
5886 |
msgid "Can't load report data. Error: %1$s, %2$s"
|
5887 |
msgstr ""
|
5888 |
|
5889 |
-
#: languages/vue.php:
|
5890 |
msgid "Error loading report data"
|
5891 |
msgstr ""
|
5892 |
|
5893 |
-
#: languages/vue.php:
|
5894 |
msgid "Publishers Report"
|
5895 |
msgstr ""
|
5896 |
|
5897 |
-
#: languages/vue.php:
|
5898 |
msgid "eCommerce Report"
|
5899 |
msgstr ""
|
5900 |
|
5901 |
-
#: languages/vue.php:
|
5902 |
msgid "Search Console Report"
|
5903 |
msgstr ""
|
5904 |
|
5905 |
-
#: languages/vue.php:
|
5906 |
msgid "Dimensions Report"
|
5907 |
msgstr ""
|
5908 |
|
5909 |
-
#: languages/vue.php:
|
5910 |
msgid "Forms Report"
|
5911 |
msgstr ""
|
5912 |
|
5913 |
-
#: languages/vue.php:
|
5914 |
msgid "Real-Time Report"
|
5915 |
msgstr ""
|
5916 |
|
5917 |
-
#: languages/vue.php:
|
5918 |
msgid "Site Speed Report"
|
5919 |
msgstr ""
|
5920 |
|
5921 |
-
#: languages/vue.php:
|
5922 |
msgid "Time to Purchase"
|
5923 |
msgstr ""
|
5924 |
|
5925 |
-
#: languages/vue.php:
|
5926 |
msgid "This list shows how many days from first visit it took users to purchase products from your site."
|
5927 |
msgstr ""
|
5928 |
|
5929 |
-
#: languages/vue.php:
|
5930 |
msgid "Sessions to Purchase"
|
5931 |
msgstr ""
|
5932 |
|
5933 |
-
#: languages/vue.php:
|
5934 |
msgid "This list shows the number of sessions it took users before they purchased a product from your website."
|
5935 |
msgstr ""
|
5936 |
|
5937 |
-
#: languages/vue.php:
|
5938 |
msgid "New Customers"
|
5939 |
msgstr ""
|
5940 |
|
5941 |
-
#: languages/vue.php:
|
5942 |
msgid "This list shows the percentage of new customers who purchased a product from your website."
|
5943 |
msgstr ""
|
5944 |
|
5945 |
-
#: languages/vue.php:
|
5946 |
msgid "Abandoned Checkouts"
|
5947 |
msgstr ""
|
5948 |
|
5949 |
-
#: languages/vue.php:
|
5950 |
msgid "This list shows the percentage of carts that never went through the checkout process."
|
5951 |
msgstr ""
|
5952 |
|
5953 |
-
#: languages/vue.php:
|
5954 |
msgid "Top Posts/Pages"
|
5955 |
msgstr ""
|
5956 |
|
5957 |
-
#: languages/vue.php:
|
5958 |
msgid "This list shows the most viewed posts and pages on your website."
|
5959 |
msgstr ""
|
5960 |
|
5961 |
-
#: languages/vue.php:
|
5962 |
msgid "New vs. Returning Visitors"
|
5963 |
msgstr ""
|
5964 |
|
5965 |
-
#: languages/vue.php:
|
5966 |
msgid "This graph shows what percent of your user sessions come from new versus repeat visitors."
|
5967 |
msgstr ""
|
5968 |
|
5969 |
-
#: languages/vue.php:
|
5970 |
msgid "Device Breakdown"
|
5971 |
msgstr ""
|
5972 |
|
5973 |
-
#: languages/vue.php:
|
5974 |
msgid "This graph shows what percent of your visitor sessions are done using a traditional computer or laptop, tablet or mobile device to view your site."
|
5975 |
msgstr ""
|
5976 |
|
5977 |
-
#: languages/vue.php:
|
5978 |
msgid "Top Landing Pages"
|
5979 |
msgstr ""
|
5980 |
|
5981 |
-
#: languages/vue.php:
|
5982 |
msgid "This list shows the top pages users first land on when visiting your website."
|
5983 |
msgstr ""
|
5984 |
|
@@ -5990,3967 +6059,3983 @@ msgstr ""
|
|
5990 |
msgid "This list shows the top pages users exit your website from."
|
5991 |
msgstr ""
|
5992 |
|
5993 |
-
#: languages/vue.php:
|
5994 |
msgid "Top Outbound Links"
|
5995 |
msgstr ""
|
5996 |
|
5997 |
-
#: languages/vue.php:
|
5998 |
msgid "This list shows the top links clicked on your website that go to another website."
|
5999 |
msgstr ""
|
6000 |
|
6001 |
-
#: languages/vue.php:
|
6002 |
msgid "Top Affiliate Links"
|
6003 |
msgstr ""
|
6004 |
|
6005 |
-
#: languages/vue.php:
|
6006 |
msgid "This list shows the top affiliate links your visitors clicked on."
|
6007 |
msgstr ""
|
6008 |
|
6009 |
-
#: languages/vue.php:
|
6010 |
msgid "Top Download Links"
|
6011 |
msgstr ""
|
6012 |
|
6013 |
-
#: languages/vue.php:
|
6014 |
msgid "This list shows the download links your visitors clicked the most."
|
6015 |
msgstr ""
|
6016 |
|
6017 |
-
#: languages/vue.php:
|
6018 |
msgid "Top Products"
|
6019 |
msgstr ""
|
6020 |
|
6021 |
-
#: languages/vue.php:
|
6022 |
msgid "This list shows the top selling products on your website."
|
6023 |
msgstr ""
|
6024 |
|
6025 |
-
#: languages/vue.php:
|
6026 |
msgid "Top Conversion Sources"
|
6027 |
msgstr ""
|
6028 |
|
6029 |
-
#: languages/vue.php:
|
6030 |
msgid "This list shows the top referral websites in terms of product revenue."
|
6031 |
msgstr ""
|
6032 |
|
6033 |
-
#: languages/vue.php:
|
6034 |
msgid "Total Add/Remove"
|
6035 |
msgstr ""
|
6036 |
|
6037 |
#. Translators: Adds a link to documentation.
|
6038 |
-
#: languages/vue.php:
|
6039 |
msgid "In order for the MonsterInsights Google AMP addon to work properly, please ask your webmaster to install the WordPress AMP plugin by Automattic. %1$sLearn More%2$s"
|
6040 |
msgstr ""
|
6041 |
|
6042 |
#. Translators: Adds link to activate/install plugin and documentation.
|
6043 |
-
#: languages/vue.php:
|
6044 |
msgid "In order for the MonsterInsights Google AMP addon to work properly, you need to install the WordPress AMP plugin by Automattic. %1$s%2$s Plugin%3$s | %4$sLearn More%5$s"
|
6045 |
msgstr ""
|
6046 |
|
6047 |
#. Translators: Adds a link to documentation.
|
6048 |
-
#: languages/vue.php:
|
6049 |
msgid "In order for the MonsterInsights Instant Articles addon to work properly, please ask your webmaster to install the Instant Articles for WP plugin by Automattic version 3.3.5 or newer. %1$sLearn More%2$s"
|
6050 |
msgstr ""
|
6051 |
|
6052 |
#. Translators: Adds link to activate/install plugin and documentation.
|
6053 |
-
#: languages/vue.php:
|
6054 |
msgid "In order for the MonsterInsights Instant Articles addon to work properly, you need to install the Instant Articles for WP plugin by Automattic version 3.3.5 or newer. %1$s%2$s Plugin%3$s | %4$sLearn More%5$s"
|
6055 |
msgstr ""
|
6056 |
|
6057 |
-
#: languages/vue.php:
|
6058 |
msgid "GDPR Guide"
|
6059 |
msgstr ""
|
6060 |
|
6061 |
-
#: languages/vue.php:
|
6062 |
msgid "Compliance with European data laws including GDPR can be confusing and time-consuming. In order to help MonsterInsights users comply with these laws, we’ve created an addon that automates a lot of the necessary configuration changes for you. "
|
6063 |
msgstr ""
|
6064 |
|
6065 |
-
#: languages/vue.php:
|
6066 |
msgid "How to Install and Activate MonsterInsights Addons"
|
6067 |
msgstr ""
|
6068 |
|
6069 |
-
#: languages/vue.php:
|
6070 |
msgid "The process for installing and activating addons is quick and easy after you install the MonsterInsights plugin. In this guide we’ll walk you through the process, step by step."
|
6071 |
msgstr ""
|
6072 |
|
6073 |
-
#: languages/vue.php:
|
6074 |
msgid "Enabling eCommerce Tracking and Reports"
|
6075 |
msgstr ""
|
6076 |
|
6077 |
-
#: languages/vue.php:
|
6078 |
msgid "Want to track your eCommerce sales data for your WooCommerce, MemberPress, or Easy Digital Downloads store with MonsterInsights? In this guide, we’ll show you how to enable eCommerce tracking in Google Analytics in just a few clicks."
|
6079 |
msgstr ""
|
6080 |
|
6081 |
-
#: languages/vue.php:
|
6082 |
msgid "Read Documentation"
|
6083 |
msgstr ""
|
6084 |
|
6085 |
-
#: languages/vue.php:
|
6086 |
msgid "Getting Started with MonsterInsights"
|
6087 |
msgstr ""
|
6088 |
|
6089 |
-
#: languages/vue.php:
|
6090 |
msgid "MonsterInsights is the easiest analytics solution on the market to get started with, as we walk you through exactly what you need to do, in plain english, using our 3 minute setup wizard."
|
6091 |
msgstr ""
|
6092 |
|
6093 |
-
#: languages/vue.php:
|
6094 |
msgid "To begin with, we’ll get your site authorized with Google Analytics, so we can start tracking and generating reports for you right away."
|
6095 |
msgstr ""
|
6096 |
|
6097 |
-
#: languages/vue.php:
|
6098 |
msgid "In no time at all, and after just a few clicks, you'll have setup the most powerful Google Analytics tracking available for WordPress. It's easy to double your traffic and sales when you know exactly how people find and use your website. Let's get started!."
|
6099 |
msgstr ""
|
6100 |
|
6101 |
-
#: languages/vue.php:
|
6102 |
msgid "Launch the wizard!"
|
6103 |
msgstr ""
|
6104 |
|
6105 |
-
#: languages/vue.php:
|
6106 |
msgid "Get MonsterInsights Pro and Unlock all the Powerful Features"
|
6107 |
msgstr ""
|
6108 |
|
6109 |
#. Translators: Makes text bold.
|
6110 |
-
#: languages/vue.php:
|
6111 |
msgid "Thanks for being a loyal MonsterInsights Lite user. %1$sUpgrade to MonsterInsights Pro%2$s to unlock all the awesome features and experience why MonsterInsights is consistently rated the best Google Analytics solution for WordPress."
|
6112 |
msgstr ""
|
6113 |
|
6114 |
-
#: languages/vue.php:
|
6115 |
msgid "Universal Tracking across devices and campaigns with just a few clicks."
|
6116 |
msgstr ""
|
6117 |
|
6118 |
-
#: languages/vue.php:
|
6119 |
msgid "See your website analytics reports inside the WordPress dashboard"
|
6120 |
msgstr ""
|
6121 |
|
6122 |
-
#: languages/vue.php:
|
6123 |
msgid "Get real-time stats right inside WordPress"
|
6124 |
msgstr ""
|
6125 |
|
6126 |
-
#: languages/vue.php:
|
6127 |
msgid "1-click Google Analytics Enhanced eCommerce tracking"
|
6128 |
msgstr ""
|
6129 |
|
6130 |
-
#: languages/vue.php:
|
6131 |
msgid "Get detailed stats for each post and page."
|
6132 |
msgstr ""
|
6133 |
|
6134 |
-
#: languages/vue.php:
|
6135 |
msgid "Automatically track clicks on your affiliate links and ads."
|
6136 |
msgstr ""
|
6137 |
|
6138 |
-
#: languages/vue.php:
|
6139 |
msgid "Make Google Analytics GDPR compliant automatically"
|
6140 |
msgstr ""
|
6141 |
|
6142 |
-
#: languages/vue.php:
|
6143 |
msgid "Setup tracking for authors, categories, tags, custom post types, users and more"
|
6144 |
msgstr ""
|
6145 |
|
6146 |
-
#: languages/vue.php:
|
6147 |
msgid "Enable Google Optimize for A/B testing, adjust sample speed & sample rate."
|
6148 |
msgstr ""
|
6149 |
|
6150 |
-
#: languages/vue.php:
|
6151 |
msgid "More advanced features"
|
6152 |
msgstr ""
|
6153 |
|
6154 |
-
#: languages/vue.php:
|
6155 |
msgid "Get MonsterInsights Pro Today and Unlock all the Powerful Features"
|
6156 |
msgstr ""
|
6157 |
|
6158 |
#. Translators: Makes text green.
|
6159 |
-
#: languages/vue.php:
|
6160 |
msgid "Bonus: MonsterInsights Lite users get %1$s50%% off regular price%2$s, automatically applied at checkout."
|
6161 |
msgstr ""
|
6162 |
|
6163 |
-
#: languages/vue.php:
|
6164 |
msgid "How to Connect to Google Analytics"
|
6165 |
msgstr ""
|
6166 |
|
6167 |
-
#: languages/vue.php:
|
6168 |
msgid "After you install MonsterInsights, you’ll need to connect your WordPress site with your Google Analytics account. MonsterInsights makes the process easy, with no coding required."
|
6169 |
msgstr ""
|
6170 |
|
6171 |
-
#: languages/vue.php:
|
6172 |
msgid "Guide and Checklist for Advanced Insights"
|
6173 |
msgstr ""
|
6174 |
|
6175 |
-
#: languages/vue.php:
|
6176 |
msgid "Our goal is to make it as easy as possible for you to measure and track your stats so you can grow your business. This easy-to-follow guide and checklist will get you set up with MonsterInsights’ advanced tracking."
|
6177 |
msgstr ""
|
6178 |
|
6179 |
-
#: languages/vue.php:
|
6180 |
msgid "WPForms, Ninja Forms, Contact Form 7, Gravity Forms and any other WordPress form plugin"
|
6181 |
msgstr ""
|
6182 |
|
6183 |
-
#: languages/vue.php:
|
6184 |
msgid "WordPress Admin Area Reports"
|
6185 |
msgstr ""
|
6186 |
|
6187 |
-
#: languages/vue.php:
|
6188 |
msgid "Standard Reports"
|
6189 |
msgstr ""
|
6190 |
|
6191 |
-
#: languages/vue.php:
|
6192 |
msgid "Overview Reports for the last 30 days."
|
6193 |
msgstr ""
|
6194 |
|
6195 |
-
#: languages/vue.php:
|
6196 |
msgid "Advanced Reports"
|
6197 |
msgstr ""
|
6198 |
|
6199 |
-
#: languages/vue.php:
|
6200 |
msgid "Publisher, eCommerce, Search Console, Custom Dimensions, Forms and Real-Time with custom date period selection"
|
6201 |
msgstr ""
|
6202 |
|
6203 |
-
#: languages/vue.php:
|
6204 |
msgid "Dashboard Widget"
|
6205 |
msgstr ""
|
6206 |
|
6207 |
-
#: languages/vue.php:
|
6208 |
msgid "Basic Widget"
|
6209 |
msgstr ""
|
6210 |
|
6211 |
-
#: languages/vue.php:
|
6212 |
msgid "Overview Report Synopsis"
|
6213 |
msgstr ""
|
6214 |
|
6215 |
-
#: languages/vue.php:
|
6216 |
msgid "Advanced Dashboard Widget"
|
6217 |
msgstr ""
|
6218 |
|
6219 |
-
#: languages/vue.php:
|
6220 |
msgid "Includes the complete Overview report, Publisher reports and 6 different eCommerce reports"
|
6221 |
msgstr ""
|
6222 |
|
6223 |
-
#: languages/vue.php:
|
6224 |
msgid "Email Summaries"
|
6225 |
msgstr ""
|
6226 |
|
6227 |
-
#: languages/vue.php:
|
6228 |
msgid "Included"
|
6229 |
msgstr ""
|
6230 |
|
6231 |
-
#: languages/vue.php:
|
6232 |
msgid "Get weekly traffic reports directly in your inbox."
|
6233 |
msgstr ""
|
6234 |
|
6235 |
-
#: languages/vue.php:
|
6236 |
msgid "Publisher Reports"
|
6237 |
msgstr ""
|
6238 |
|
6239 |
-
#: languages/vue.php:
|
6240 |
msgid "Advanced Publisher Reports & Tracking"
|
6241 |
msgstr ""
|
6242 |
|
6243 |
-
#: languages/vue.php:
|
6244 |
msgid "View Top Landing/Exit Pages, Top Links, Demographics & Interests data and more"
|
6245 |
msgstr ""
|
6246 |
|
6247 |
-
#: languages/vue.php:
|
6248 |
msgid "Basic Options"
|
6249 |
msgstr ""
|
6250 |
|
6251 |
-
#: languages/vue.php:
|
6252 |
msgid "Order Popular Posts by comments or shares with 3 simple theme choices."
|
6253 |
msgstr ""
|
6254 |
|
6255 |
-
#: languages/vue.php:
|
6256 |
msgid "Dynamic Popular Posts & Popular Products"
|
6257 |
msgstr ""
|
6258 |
|
6259 |
-
#: languages/vue.php:
|
6260 |
msgid "Display Popular Posts based on your actual traffic data from Google Analytics and choose from over 20 advanced themes. Display Popular WooCommerce products using widgets or Gutenberg blocks."
|
6261 |
msgstr ""
|
6262 |
|
6263 |
-
#: languages/vue.php:
|
6264 |
msgid "Not Available"
|
6265 |
msgstr ""
|
6266 |
|
6267 |
-
#: languages/vue.php:
|
6268 |
msgid "Complete Custom Dimensions Tracking"
|
6269 |
msgstr ""
|
6270 |
|
6271 |
-
#: languages/vue.php:
|
6272 |
msgid "Track and measure by the Author, Post Type, Category, Tag, SEO Score, Focus Keyword, Logged-in User, User ID and Published Time of each post and page"
|
6273 |
msgstr ""
|
6274 |
|
6275 |
-
#: languages/vue.php:
|
6276 |
msgid "Limited Support"
|
6277 |
msgstr ""
|
6278 |
|
6279 |
-
#: languages/vue.php:
|
6280 |
msgid "Priority Support"
|
6281 |
msgstr ""
|
6282 |
|
6283 |
-
#: languages/vue.php:
|
6284 |
msgid "Get the most out of MonsterInsights by upgrading to Pro and unlocking all of the powerful features."
|
6285 |
msgstr ""
|
6286 |
|
6287 |
-
#: languages/vue.php:
|
6288 |
msgid "Feature"
|
6289 |
msgstr ""
|
6290 |
|
6291 |
-
#: languages/vue.php:
|
6292 |
msgid "Lite"
|
6293 |
msgstr ""
|
6294 |
|
6295 |
-
#: languages/vue.php:
|
6296 |
msgid "Pro"
|
6297 |
msgstr ""
|
6298 |
|
6299 |
-
#: languages/vue.php:
|
6300 |
msgid "Custom Google Analytics Link Tracking"
|
6301 |
msgstr ""
|
6302 |
|
6303 |
-
#: languages/vue.php:
|
6304 |
msgid "Standard Tracking"
|
6305 |
msgstr ""
|
6306 |
|
6307 |
-
#: languages/vue.php:
|
6308 |
msgid "Advanced Tracking"
|
6309 |
msgstr ""
|
6310 |
|
6311 |
-
#: languages/vue.php:
|
6312 |
msgid "Automatic tracking of outbound/external, file download, affiliate, email and telephone links and our simple Custom Link Attribution markup for custom link tracking"
|
6313 |
msgstr ""
|
6314 |
|
6315 |
-
#: languages/vue.php:
|
6316 |
msgid "Scroll tracking as well as tracking on Google Accelerated Mobile Pages (AMP) and Facebook Instant Articles for Publishers"
|
6317 |
msgstr ""
|
6318 |
|
6319 |
-
#: languages/vue.php:
|
6320 |
msgid "No-Code-Needed Tracking Features"
|
6321 |
msgstr ""
|
6322 |
|
6323 |
-
#: languages/vue.php:
|
6324 |
msgid "Basic Tracking Options"
|
6325 |
msgstr ""
|
6326 |
|
6327 |
-
#: languages/vue.php:
|
6328 |
msgid "Cross-domain tracking, anonymization of IP addresses, and automatic exclusion of administrators from tracking"
|
6329 |
msgstr ""
|
6330 |
|
6331 |
-
#: languages/vue.php:
|
6332 |
msgid "Advanced Tracking Options"
|
6333 |
msgstr ""
|
6334 |
|
6335 |
-
#: languages/vue.php:
|
6336 |
msgid "Easily integrate Google Optimize as well as adjust recordings of site speed and the sample rate of visitors"
|
6337 |
msgstr ""
|
6338 |
|
6339 |
-
#: languages/vue.php:
|
6340 |
msgid "eCommerce Tracking"
|
6341 |
msgstr ""
|
6342 |
|
6343 |
-
#: languages/vue.php:
|
6344 |
msgid "One-click Complete eCommerce tracking"
|
6345 |
msgstr ""
|
6346 |
|
6347 |
-
#: languages/vue.php:
|
6348 |
msgid "Complete eCommerce tracking for WooCommerce, Easy Digital Downloads and MemberPress stores with no code or settings required"
|
6349 |
msgstr ""
|
6350 |
|
6351 |
-
#: languages/vue.php:
|
6352 |
msgid "Forms Tracking"
|
6353 |
msgstr ""
|
6354 |
|
6355 |
-
#: languages/vue.php:
|
6356 |
msgid "One-click Form Events Tracking"
|
6357 |
msgstr ""
|
6358 |
|
6359 |
-
#: languages/vue.php:
|
6360 |
msgid "License Key"
|
6361 |
msgstr ""
|
6362 |
|
6363 |
#. Translators: Add link to retrieve license key from account.
|
6364 |
-
#: languages/vue.php:
|
6365 |
msgid "Add your MonsterInsights license key from the email receipt or account area. %1$sRetrieve your license key%2$s."
|
6366 |
msgstr ""
|
6367 |
|
6368 |
-
#: languages/vue.php:
|
6369 |
msgid "Google Authentication"
|
6370 |
msgstr ""
|
6371 |
|
6372 |
-
#: languages/vue.php:
|
6373 |
msgid "Connect Google Analytics + WordPress"
|
6374 |
msgstr ""
|
6375 |
|
6376 |
-
#: languages/vue.php:
|
6377 |
msgid "You will be taken to the MonsterInsights website where you'll need to connect your Analytics account."
|
6378 |
msgstr ""
|
6379 |
|
6380 |
-
#: languages/vue.php:
|
6381 |
msgid "Miscellaneous"
|
6382 |
msgstr ""
|
6383 |
|
6384 |
-
#: languages/vue.php:
|
6385 |
msgid "Hides plugin announcements and update details. This includes critical notices we use to inform about deprecations and important required configuration changes."
|
6386 |
msgstr ""
|
6387 |
|
6388 |
-
#: languages/vue.php:
|
6389 |
msgid "Hide Announcements"
|
6390 |
msgstr ""
|
6391 |
|
6392 |
-
#: languages/vue.php:
|
6393 |
msgid "Setup Wizard"
|
6394 |
msgstr ""
|
6395 |
|
6396 |
-
#: languages/vue.php:
|
6397 |
msgid "Use our configuration wizard to properly setup Google Analytics with WordPress (with just a few clicks)."
|
6398 |
msgstr ""
|
6399 |
|
6400 |
-
#: languages/vue.php:
|
6401 |
msgid "Hello and welcome to MonsterInsights, the best Google Analytics plugin for WordPress. MonsterInsights shows you exactly which content gets the most visits, so you can analyze and optimize it for higher conversions."
|
6402 |
msgstr ""
|
6403 |
|
6404 |
-
#: languages/vue.php:
|
6405 |
msgid "Over the years, we found that in order to get the most out of Google Analytics, you needed a full time developer who could implement custom tracking, so that Google Analytics would integrate with things like WooCommerce, and track things which Google doesn't by default, like outbound links."
|
6406 |
msgstr ""
|
6407 |
|
6408 |
-
#: languages/vue.php:
|
6409 |
msgid "Our goal is to take the pain out of analytics, making it simple and easy, by eliminating the need to have to worry about code, putting the best reports directly into the area you already go to (your WordPress dashboard), and adding the most advanced insights and features without complicating our plugin with tons of settings. Quite simply, it should \"just work\"."
|
6410 |
msgstr ""
|
6411 |
|
6412 |
-
#: languages/vue.php:
|
6413 |
msgid "MonsterInsights is brought to you by the same team that's behind the largest WordPress resource site, WPBeginner, the most popular lead-generation software, OptinMonster, and the best WordPress forms plugin, WPForms."
|
6414 |
msgstr ""
|
6415 |
|
6416 |
-
#: languages/vue.php:
|
6417 |
msgid "Yup, we know a thing or two about building awesome products that customers love."
|
6418 |
msgstr ""
|
6419 |
|
6420 |
-
#: languages/vue.php:
|
6421 |
msgid "The MonsterInsights Team"
|
6422 |
msgstr ""
|
6423 |
|
6424 |
-
#: languages/vue.php:
|
6425 |
msgid "Make your MonsterInsights campaign links prettier with Pretty Links!"
|
6426 |
msgstr ""
|
6427 |
|
6428 |
-
#: languages/vue.php:
|
6429 |
msgid "Pretty Links turns those ugly, long campaign links into clean, memorable, speakable, totally shareable links."
|
6430 |
msgstr ""
|
6431 |
|
6432 |
-
#: languages/vue.php:
|
6433 |
msgid "Take your MonsterInsights campaign links from our URL Builder and shorten them with Pretty Links!"
|
6434 |
msgstr ""
|
6435 |
|
6436 |
-
#: languages/vue.php:
|
6437 |
msgid "Over 200,000 websites use Pretty Links!"
|
6438 |
msgstr ""
|
6439 |
|
6440 |
-
#: languages/vue.php:
|
6441 |
msgid "Install Pretty Links"
|
6442 |
msgstr ""
|
6443 |
|
6444 |
-
#: languages/vue.php:
|
6445 |
msgid "Pretty Links Installed & Activated"
|
6446 |
msgstr ""
|
6447 |
|
6448 |
-
#: languages/vue.php:
|
6449 |
msgid "Download Pretty Links"
|
6450 |
msgstr ""
|
6451 |
|
6452 |
-
#: languages/vue.php:
|
6453 |
msgid "Install Pretty Links from the WordPress.org plugin repository."
|
6454 |
msgstr ""
|
6455 |
|
6456 |
-
#: languages/vue.php:
|
6457 |
msgid "Activate Pretty Links"
|
6458 |
msgstr ""
|
6459 |
|
6460 |
-
#: languages/vue.php:
|
6461 |
msgid "Activating Pretty Links..."
|
6462 |
msgstr ""
|
6463 |
|
6464 |
-
#: languages/vue.php:
|
6465 |
msgid "Create New Pretty Link"
|
6466 |
msgstr ""
|
6467 |
|
6468 |
-
#: languages/vue.php:
|
6469 |
msgid "Create a New Pretty Link"
|
6470 |
msgstr ""
|
6471 |
|
6472 |
-
#: languages/vue.php:
|
6473 |
msgid "Grab your campaign link and paste it into the Target URL field."
|
6474 |
msgstr ""
|
6475 |
|
6476 |
-
#: languages/vue.php:
|
6477 |
msgid "Custom Campaign Parameters"
|
6478 |
msgstr ""
|
6479 |
|
6480 |
-
#: languages/vue.php:
|
6481 |
msgid "The URL builder helps you add parameters to your URLs you use in custom web or email ad campaigns."
|
6482 |
msgstr ""
|
6483 |
|
6484 |
-
#: languages/vue.php:
|
6485 |
msgid "A custom campaign is any ad campaign not using the AdWords auto-tagging feature. When users click one of the custom links, the unique parameters are sent to your Analytics account, so you can identify the URLs that are the most effective in attracting users to your content."
|
6486 |
msgstr ""
|
6487 |
|
6488 |
#. Translators: Marks the field as required.
|
6489 |
-
#: languages/vue.php:
|
6490 |
msgid "Website URL %s"
|
6491 |
msgstr ""
|
6492 |
|
6493 |
#. Translators: Display the current website url in italic.
|
6494 |
-
#: languages/vue.php:
|
6495 |
msgid "The full website URL (e.g. %1$s %2$s%3$s)"
|
6496 |
msgstr ""
|
6497 |
|
6498 |
#. Translators: Marks the field as required.
|
6499 |
-
#: languages/vue.php:
|
6500 |
msgid "Campaign Source %s"
|
6501 |
msgstr ""
|
6502 |
|
6503 |
#. Translators: Make the text italic.
|
6504 |
-
#: languages/vue.php:
|
6505 |
msgid "Enter a referrer (e.g. %1$sfacebook, newsletter, google%2$s)"
|
6506 |
msgstr ""
|
6507 |
|
6508 |
#. Translators: Make the text italic.
|
6509 |
-
#: languages/vue.php:
|
6510 |
msgid "Enter a marketing medium (e.g. %1$scpc, banner, email%2$s)"
|
6511 |
msgstr ""
|
6512 |
|
6513 |
#. Translators: Make the text italic.
|
6514 |
-
#: languages/vue.php:
|
6515 |
msgid "Enter a name to easily identify (e.g. %1$sspring_sale%2$s)"
|
6516 |
msgstr ""
|
6517 |
|
6518 |
-
#: languages/vue.php:
|
6519 |
msgid "Enter the paid keyword"
|
6520 |
msgstr ""
|
6521 |
|
6522 |
-
#: languages/vue.php:
|
6523 |
msgid "Enter something to differentiate ads"
|
6524 |
msgstr ""
|
6525 |
|
6526 |
-
#: languages/vue.php:
|
6527 |
msgid "Use Fragment"
|
6528 |
msgstr ""
|
6529 |
|
6530 |
#. Translators: Make the text bold.
|
6531 |
-
#: languages/vue.php:
|
6532 |
msgid "Set the parameters in the fragment portion of the URL %1$s(not recommended)%2$s"
|
6533 |
msgstr ""
|
6534 |
|
6535 |
-
#: languages/vue.php:
|
6536 |
msgid "URL to use"
|
6537 |
msgstr ""
|
6538 |
|
6539 |
-
#: languages/vue.php:
|
6540 |
msgid "(Updates automatically)"
|
6541 |
msgstr ""
|
6542 |
|
6543 |
-
#: languages/vue.php:
|
6544 |
msgid "Copy to Clipboard"
|
6545 |
msgstr ""
|
6546 |
|
6547 |
-
#: languages/vue.php:
|
6548 |
msgid "Copy to Pretty Links"
|
6549 |
msgstr ""
|
6550 |
|
6551 |
-
#: languages/vue.php:
|
6552 |
msgid "Make your campaign links prettier!"
|
6553 |
msgstr ""
|
6554 |
|
6555 |
-
#: languages/vue.php:
|
6556 |
msgid "Pretty Links turns those ugly, long campaign links into clean, memorable, speakable and totally shareable links."
|
6557 |
msgstr ""
|
6558 |
|
6559 |
-
#: languages/vue.php:
|
6560 |
msgid "More Information & Examples"
|
6561 |
msgstr ""
|
6562 |
|
6563 |
-
#: languages/vue.php:
|
6564 |
msgid "The following table gives a detailed explanation and example of each of the campaign parameters."
|
6565 |
msgstr ""
|
6566 |
|
6567 |
-
#: languages/vue.php:
|
6568 |
msgid "Campaign Source"
|
6569 |
msgstr ""
|
6570 |
|
6571 |
-
#: languages/vue.php:
|
6572 |
msgid "Required. Use utm_source to identify a search engine, newsletter name, or other source."
|
6573 |
msgstr ""
|
6574 |
|
6575 |
-
#: languages/vue.php:
|
6576 |
msgid "Campaign Medium"
|
6577 |
msgstr ""
|
6578 |
|
6579 |
-
#: languages/vue.php:
|
6580 |
msgid "Use utm_medium to identify a medium such as email or cost-per-click."
|
6581 |
msgstr ""
|
6582 |
|
6583 |
-
#: languages/vue.php:
|
6584 |
msgid "Campaign Name"
|
6585 |
msgstr ""
|
6586 |
|
6587 |
-
#: languages/vue.php:
|
6588 |
msgid "Used for keyword analysis. Use utm_campaign to identify a specific product promotion or strategic campaign."
|
6589 |
msgstr ""
|
6590 |
|
6591 |
-
#: languages/vue.php:
|
6592 |
msgid "Campaign Term"
|
6593 |
msgstr ""
|
6594 |
|
6595 |
-
#: languages/vue.php:
|
6596 |
msgid "Used for paid search. Use utm_term to note the keywords for this ad."
|
6597 |
msgstr ""
|
6598 |
|
6599 |
-
#: languages/vue.php:
|
6600 |
msgid "Campaign Content"
|
6601 |
msgstr ""
|
6602 |
|
6603 |
-
#: languages/vue.php:
|
6604 |
msgid "Used for A/B testing and content-targeted ads. Use utm_content to differentiate ads or links that point to the same URL."
|
6605 |
msgstr ""
|
6606 |
|
6607 |
#. Translators: Example.
|
6608 |
-
#: languages/vue.php:
|
6609 |
msgid "Example: %s"
|
6610 |
msgstr ""
|
6611 |
|
6612 |
#. Translators: Examples.
|
6613 |
-
#: languages/vue.php:
|
6614 |
msgid "Examples: %s"
|
6615 |
msgstr ""
|
6616 |
|
6617 |
-
#: languages/vue.php:
|
6618 |
msgid "About Campaigns"
|
6619 |
msgstr ""
|
6620 |
|
6621 |
-
#: languages/vue.php:
|
6622 |
msgid "About Custom Campaigns"
|
6623 |
msgstr ""
|
6624 |
|
6625 |
-
#: languages/vue.php:
|
6626 |
msgid "Best Practices for Creating Custom Campaigns"
|
6627 |
msgstr ""
|
6628 |
|
6629 |
-
#: languages/vue.php:
|
6630 |
msgid "About the Referral Traffic Report"
|
6631 |
msgstr ""
|
6632 |
|
6633 |
-
#: languages/vue.php:
|
6634 |
msgid "About Traffic Source Dimensions"
|
6635 |
msgstr ""
|
6636 |
|
6637 |
-
#: languages/vue.php:
|
6638 |
msgid "AdWords Auto-Tagging"
|
6639 |
msgstr ""
|
6640 |
|
6641 |
-
#: languages/vue.php:
|
6642 |
msgid "Additional Information"
|
6643 |
msgstr ""
|
6644 |
|
6645 |
-
#: languages/vue.php:
|
6646 |
msgid "Import/Export"
|
6647 |
msgstr ""
|
6648 |
|
6649 |
-
#: languages/vue.php:
|
6650 |
msgid "Import"
|
6651 |
msgstr ""
|
6652 |
|
6653 |
-
#: languages/vue.php:
|
6654 |
msgid "Import settings from another MonsterInsights website."
|
6655 |
msgstr ""
|
6656 |
|
6657 |
-
#: languages/vue.php:
|
6658 |
msgid "Export"
|
6659 |
msgstr ""
|
6660 |
|
6661 |
-
#: languages/vue.php:
|
6662 |
msgid "Export settings to import into another MonsterInsights install."
|
6663 |
msgstr ""
|
6664 |
|
6665 |
-
#: languages/vue.php:
|
6666 |
msgid "Import Settings"
|
6667 |
msgstr ""
|
6668 |
|
6669 |
-
#: languages/vue.php:
|
6670 |
msgid "Export Settings"
|
6671 |
msgstr ""
|
6672 |
|
6673 |
-
#: languages/vue.php:
|
6674 |
msgid "Please choose a file to import"
|
6675 |
msgstr ""
|
6676 |
|
6677 |
-
#: languages/vue.php:
|
6678 |
msgid "Click Choose file below to select the settings export file from another site."
|
6679 |
msgstr ""
|
6680 |
|
6681 |
-
#: languages/vue.php:
|
6682 |
msgid "Use the button below to export a file with your MonsterInsights settings."
|
6683 |
msgstr ""
|
6684 |
|
6685 |
-
#: languages/vue.php:
|
6686 |
msgid "Uploading file..."
|
6687 |
msgstr ""
|
6688 |
|
6689 |
-
#: languages/vue.php:
|
6690 |
msgid "File imported"
|
6691 |
msgstr ""
|
6692 |
|
6693 |
-
#: languages/vue.php:
|
6694 |
msgid "Settings successfully updated!"
|
6695 |
msgstr ""
|
6696 |
|
6697 |
-
#: languages/vue.php:
|
6698 |
msgid "Error importing settings"
|
6699 |
msgstr ""
|
6700 |
|
6701 |
-
#: languages/vue.php:
|
6702 |
msgid "Please choose a .json file generated by a MonsterInsights settings export."
|
6703 |
msgstr ""
|
6704 |
|
6705 |
-
#: languages/vue.php:
|
6706 |
msgid "MonsterInsights Recommends WPForms"
|
6707 |
msgstr ""
|
6708 |
|
6709 |
-
#: languages/vue.php:
|
6710 |
msgid "Built by the folks behind MonsterInsights, WPForms is the most beginner friendly form plugin in the market."
|
6711 |
msgstr ""
|
6712 |
|
6713 |
-
#: languages/vue.php:
|
6714 |
msgid "Used on over 4,000,000 websites!"
|
6715 |
msgstr ""
|
6716 |
|
6717 |
-
#: languages/vue.php:
|
6718 |
msgid "WPForms allow you to create beautiful contact forms, subscription forms, payment forms, and other types of forms for your site in minutes, not hours!"
|
6719 |
msgstr ""
|
6720 |
|
6721 |
-
#: languages/vue.php:
|
6722 |
msgid "Skip this Step"
|
6723 |
msgstr ""
|
6724 |
|
6725 |
-
#: languages/vue.php:
|
6726 |
msgid "Continue & Install WPForms"
|
6727 |
msgstr ""
|
6728 |
|
6729 |
-
#: languages/vue.php:
|
6730 |
msgid "Installing..."
|
6731 |
msgstr ""
|
6732 |
|
6733 |
-
#: languages/vue.php:
|
6734 |
msgid "Show in widget mode"
|
6735 |
msgstr ""
|
6736 |
|
6737 |
-
#: languages/vue.php:
|
6738 |
msgid "Show in full-width mode"
|
6739 |
msgstr ""
|
6740 |
|
6741 |
-
#: languages/vue.php:
|
6742 |
msgid "Installing Addon"
|
6743 |
msgstr ""
|
6744 |
|
6745 |
-
#: languages/vue.php:
|
6746 |
msgid "Activating Addon"
|
6747 |
msgstr ""
|
6748 |
|
6749 |
-
#: languages/vue.php:
|
6750 |
msgid "Addon Activated"
|
6751 |
msgstr ""
|
6752 |
|
6753 |
-
#: languages/vue.php:
|
6754 |
msgid "Loading report data"
|
6755 |
msgstr ""
|
6756 |
|
6757 |
-
#: languages/vue.php:
|
6758 |
msgid "Please activate manually"
|
6759 |
msgstr ""
|
6760 |
|
6761 |
#. Translators: Adds the error status and status text.
|
6762 |
-
#: languages/vue.php:
|
6763 |
msgid "Error: %1$s, %2$s"
|
6764 |
msgstr ""
|
6765 |
|
6766 |
-
#: languages/vue.php:
|
6767 |
msgid "Error Activating Addon"
|
6768 |
msgstr ""
|
6769 |
|
6770 |
-
#: languages/vue.php:
|
6771 |
#: lite/includes/admin/wp-site-health.php:372
|
6772 |
#: lite/includes/admin/wp-site-health.php:398
|
6773 |
#: lite/includes/admin/wp-site-health.php:425
|
6774 |
msgid "View Addons"
|
6775 |
msgstr ""
|
6776 |
|
6777 |
-
#: languages/vue.php:
|
6778 |
msgid "Dismiss"
|
6779 |
msgstr ""
|
6780 |
|
6781 |
-
#: languages/vue.php:
|
6782 |
msgid "Redirecting"
|
6783 |
msgstr ""
|
6784 |
|
6785 |
-
#: languages/vue.php:
|
6786 |
msgid "Please wait"
|
6787 |
msgstr ""
|
6788 |
|
6789 |
-
#: languages/vue.php:
|
6790 |
msgid "activate"
|
6791 |
msgstr ""
|
6792 |
|
6793 |
-
#: languages/vue.php:
|
6794 |
msgid "install"
|
6795 |
msgstr ""
|
6796 |
|
6797 |
-
#: languages/vue.php:
|
6798 |
msgid "Visit addons page"
|
6799 |
msgstr ""
|
6800 |
|
6801 |
-
#: languages/vue.php:
|
6802 |
msgid "Report Unavailable"
|
6803 |
msgstr ""
|
6804 |
|
6805 |
#. Translators: Install/Activate the addon.
|
6806 |
-
#: languages/vue.php:
|
6807 |
msgid "%s Addon"
|
6808 |
msgstr ""
|
6809 |
|
6810 |
-
#: languages/vue.php:
|
6811 |
msgid "Go Back To Reports"
|
6812 |
msgstr ""
|
6813 |
|
6814 |
-
#: languages/vue.php:
|
6815 |
msgid "Enable Enhanced eCommerce"
|
6816 |
msgstr ""
|
6817 |
|
6818 |
#. Translators: Placeholders are used for making text bold and adding a link.
|
6819 |
-
#: languages/vue.php:
|
6820 |
msgid "You're using %1$s%2$s Lite%3$s. To unlock more features consider %4$supgrading to Pro%5$s."
|
6821 |
msgstr ""
|
6822 |
|
6823 |
-
#: languages/vue.php:
|
6824 |
msgid "Last 30 Days Insights for:"
|
6825 |
msgstr ""
|
6826 |
|
6827 |
-
#: languages/vue.php:
|
6828 |
msgid "Your Website"
|
6829 |
msgstr ""
|
6830 |
|
6831 |
-
#: languages/vue.php:
|
6832 |
msgid "Sessions"
|
6833 |
msgstr ""
|
6834 |
|
6835 |
-
#: languages/vue.php:
|
6836 |
msgid "Pageviews"
|
6837 |
msgstr ""
|
6838 |
|
6839 |
-
#: languages/vue.php:
|
6840 |
msgid "Avg. Duration"
|
6841 |
msgstr ""
|
6842 |
|
6843 |
-
#: languages/vue.php:
|
6844 |
-
msgid "Bounce Rate"
|
6845 |
-
msgstr ""
|
6846 |
-
|
6847 |
-
#: languages/vue.php:1357
|
6848 |
msgid "Total Users"
|
6849 |
msgstr ""
|
6850 |
|
6851 |
-
#: languages/vue.php:
|
6852 |
msgid "More data is available"
|
6853 |
msgstr ""
|
6854 |
|
6855 |
-
#: languages/vue.php:
|
6856 |
msgid "Want to see page-specific stats?"
|
6857 |
msgstr ""
|
6858 |
|
6859 |
-
#: languages/vue.php:
|
6860 |
msgid "There was an issue retrieving the addons for this site. Please click on the button below the refresh the addons data."
|
6861 |
msgstr ""
|
6862 |
|
6863 |
-
#: languages/vue.php:
|
6864 |
msgid "No addons found."
|
6865 |
msgstr ""
|
6866 |
|
6867 |
-
#: languages/vue.php:
|
6868 |
msgid "Refresh Addons"
|
6869 |
msgstr ""
|
6870 |
|
6871 |
-
#: languages/vue.php:
|
6872 |
msgid "Refreshing Addons"
|
6873 |
msgstr ""
|
6874 |
|
6875 |
#. Translators: Make text green.
|
6876 |
-
#: languages/vue.php:
|
6877 |
msgid "Upgrade to Pro to unlock addons and other great features. As a valued MonsterInsights Lite user you %1$sreceive 50%% off%2$s, automatically applied at checkout!"
|
6878 |
msgstr ""
|
6879 |
|
6880 |
-
#: languages/vue.php:
|
6881 |
msgid "See who's viewing and submitting your forms, so you can increase your conversion rate."
|
6882 |
msgstr ""
|
6883 |
|
6884 |
-
#: languages/vue.php:
|
6885 |
msgid "Use Google Optimize to retarget your website visitors and perform A/B split tests with ease."
|
6886 |
msgstr ""
|
6887 |
|
6888 |
-
#: languages/vue.php:
|
6889 |
msgid "Add Custom Dimensions and track who's the most popular author on your site, which post types get the most traffic, and more"
|
6890 |
msgstr ""
|
6891 |
|
6892 |
-
#: languages/vue.php:
|
6893 |
msgid "See All Your Important Store Metrics in One Place"
|
6894 |
msgstr ""
|
6895 |
|
6896 |
-
#: languages/vue.php:
|
6897 |
msgid "Get an Answer to All Your Top Ecommerce Questions From a Single Report"
|
6898 |
msgstr ""
|
6899 |
|
6900 |
-
#: languages/vue.php:
|
6901 |
msgid "ONE-CLICK INTEGRATIONS"
|
6902 |
msgstr ""
|
6903 |
|
6904 |
-
#: languages/vue.php:
|
6905 |
msgid "Enable Ecommerce Tracking and Grow Your Business with Confidence"
|
6906 |
msgstr ""
|
6907 |
|
6908 |
-
#: languages/vue.php:
|
6909 |
msgid "MonsterInsights Ecommerce Addon makes it easy to setup enhanced eCommerce tracking, so you can see all your important eCommerce metrics like total revenue, conversion rate, average order value, top products, top referral sources, and more in a single report right inside your WordPress dashboard."
|
6910 |
msgstr ""
|
6911 |
|
6912 |
-
#: languages/vue.php:
|
6913 |
msgid "Affiliate Tracking"
|
6914 |
msgstr ""
|
6915 |
|
6916 |
-
#: languages/vue.php:
|
6917 |
msgid "Automatically Track Affiliate Sales"
|
6918 |
msgstr ""
|
6919 |
|
6920 |
-
#: languages/vue.php:
|
6921 |
msgid "The MonsterInsights eCommerce addon works with EasyAffiliate to automatically attribute orders originating from an EasyAffiliate link in Google Analytics. Gain valuable insights into your top affiliates with no coding required."
|
6922 |
msgstr ""
|
6923 |
|
6924 |
-
#: languages/vue.php:
|
6925 |
msgid "Works with WooCommerce, MemberPress and Easy Digital Downloads."
|
6926 |
msgstr ""
|
6927 |
|
6928 |
-
#: languages/vue.php:
|
6929 |
msgid "Cart Funnel"
|
6930 |
msgstr ""
|
6931 |
|
6932 |
-
#: languages/vue.php:
|
6933 |
msgid "Customer Insights"
|
6934 |
msgstr ""
|
6935 |
|
6936 |
-
#: languages/vue.php:
|
6937 |
msgid "Campaign Measurement"
|
6938 |
msgstr ""
|
6939 |
|
6940 |
-
#: languages/vue.php:
|
6941 |
msgid "Customer Profiles"
|
6942 |
msgstr ""
|
6943 |
|
6944 |
-
#: languages/vue.php:
|
6945 |
msgid "See all the critical eCommerce data you need at a glance: your conversion rate, transactions, revenue, and average order value, and more."
|
6946 |
msgstr ""
|
6947 |
|
6948 |
-
#: languages/vue.php:
|
6949 |
msgid "Truly Understand Your%1$s Customers With %2$sMonsterInsights%3$s"
|
6950 |
msgstr ""
|
6951 |
|
6952 |
-
#: languages/vue.php:
|
6953 |
msgid "You never truly understand your customers until you used Enhanced %1$s eCommerce from MonsterInsights!"
|
6954 |
msgstr ""
|
6955 |
|
6956 |
-
#: languages/vue.php:
|
6957 |
msgid "Track all-new metrics!"
|
6958 |
msgstr ""
|
6959 |
|
6960 |
-
#: languages/vue.php:
|
6961 |
msgid "Get stats WooCommerce doesn’t give you like: Conversion Sources, Avg. Order Value, Revenue per Source, Total Add to Carts & More!"
|
6962 |
msgstr ""
|
6963 |
|
6964 |
-
#: languages/vue.php:
|
6965 |
msgid "FEATURES"
|
6966 |
msgstr ""
|
6967 |
|
6968 |
-
#: languages/vue.php:
|
6969 |
msgid "Get The Unique Metrics Neccessary for Growth"
|
6970 |
msgstr ""
|
6971 |
|
6972 |
-
#: languages/vue.php:
|
6973 |
msgid "See all the critical eCommerce data you need at a glance: your conversion rate, transactions, %1$srevenue, and average order value, and more."
|
6974 |
msgstr ""
|
6975 |
|
6976 |
-
#: languages/vue.php:
|
6977 |
msgid "Get Answers to the important questions %1$syou should know."
|
6978 |
msgstr ""
|
6979 |
|
6980 |
-
#: languages/vue.php:
|
6981 |
msgid "Did the login/registration step of the checkout put users off?"
|
6982 |
msgstr ""
|
6983 |
|
6984 |
-
#: languages/vue.php:
|
6985 |
msgid "Which ad campaign is driving the most revenue?"
|
6986 |
msgstr ""
|
6987 |
|
6988 |
-
#: languages/vue.php:
|
6989 |
msgid "Who is my typical customer?"
|
6990 |
msgstr ""
|
6991 |
|
6992 |
-
#: languages/vue.php:
|
6993 |
msgid "Level-up Your eCommerce store with %1$sMonsterInsights + WooCommerce!%1$s"
|
6994 |
msgstr ""
|
6995 |
|
6996 |
#. Translators: placeholders make text small.
|
6997 |
-
#: languages/vue.php:
|
6998 |
msgid "Yes (recommended) %1$s- Get the latest features, bugfixes, and security updates as they are released.%2$s"
|
6999 |
msgstr ""
|
7000 |
|
7001 |
#. Translators: placeholders make text small.
|
7002 |
-
#: languages/vue.php:
|
7003 |
msgid "Minor only %1$s- Get bugfixes and security updates, but not major features.%2$s"
|
7004 |
msgstr ""
|
7005 |
|
7006 |
#. Translators: placeholders make text small.
|
7007 |
-
#: languages/vue.php:
|
7008 |
msgid "None %1$s- Manually update everything.%2$s"
|
7009 |
msgstr ""
|
7010 |
|
7011 |
-
#: languages/vue.php:
|
7012 |
msgid "Automatic Updates"
|
7013 |
msgstr ""
|
7014 |
|
7015 |
-
#: languages/vue.php:
|
7016 |
msgid "Awesome, You're All Set!"
|
7017 |
msgstr ""
|
7018 |
|
7019 |
-
#: languages/vue.php:
|
7020 |
msgid "MonsterInsights is all set up and ready to use. We've verified that the tracking code is deployed properly and collecting data."
|
7021 |
msgstr ""
|
7022 |
|
7023 |
#. Translators: Make text bold.
|
7024 |
-
#: languages/vue.php:
|
7025 |
msgid "%1$sPlease Note:%2$s While Google Analytics is properly setup and tracking everything, it does not send the data back to WordPress immediately. Depending on the size of your website, it can take between a few hours to 24 hours for reports to populate."
|
7026 |
msgstr ""
|
7027 |
|
7028 |
#. Translators: Link to our blog.
|
7029 |
-
#: languages/vue.php:
|
7030 |
msgid "%1$sSubscribe to the MonsterInsights blog%2$s for tips on how to get more traffic and grow your business."
|
7031 |
msgstr ""
|
7032 |
|
7033 |
-
#: languages/vue.php:
|
7034 |
msgid "Finish Setup & Exit Wizard"
|
7035 |
msgstr ""
|
7036 |
|
7037 |
-
#: languages/vue.php:
|
7038 |
msgid "Checking your website..."
|
7039 |
msgstr ""
|
7040 |
|
7041 |
-
#: languages/vue.php:
|
7042 |
msgid "See All Reports"
|
7043 |
msgstr ""
|
7044 |
|
7045 |
-
#: languages/vue.php:
|
7046 |
msgid "Go to the Analytics Dashboard"
|
7047 |
msgstr ""
|
7048 |
|
7049 |
#. Translators: Line break.
|
7050 |
-
#: languages/vue.php:
|
7051 |
msgid "Unique %s Sessions"
|
7052 |
msgstr ""
|
7053 |
|
7054 |
#. Translators: Line break.
|
7055 |
-
#: languages/vue.php:
|
7056 |
msgid "Unique %s Pageviews"
|
7057 |
msgstr ""
|
7058 |
|
7059 |
-
#: languages/vue.php:
|
7060 |
msgid "A session is the browsing session of a single user to your site."
|
7061 |
msgstr ""
|
7062 |
|
7063 |
-
#: languages/vue.php:
|
7064 |
msgid "A pageview is defined as a view of a page on your site that is being tracked by the Analytics tracking code. Each refresh of a page is also a new pageview."
|
7065 |
msgstr ""
|
7066 |
|
7067 |
-
#: languages/vue.php:
|
7068 |
msgid "Total duration of all sessions (in seconds) / number of sessions."
|
7069 |
msgstr ""
|
7070 |
|
7071 |
-
#: languages/vue.php:
|
7072 |
msgid "Percentage of single page visits (or web sessions). It is the number of visits in which a person leaves your website from the landing page without browsing any further."
|
7073 |
msgstr ""
|
7074 |
|
7075 |
-
#: languages/vue.php:
|
7076 |
msgid "The number of distinct tracked users"
|
7077 |
msgstr ""
|
7078 |
|
7079 |
-
#: languages/vue.php:
|
7080 |
msgid "Avg. Session Duration"
|
7081 |
msgstr ""
|
7082 |
|
7083 |
-
#: languages/vue.php:
|
7084 |
msgid "Still Calculating..."
|
7085 |
msgstr ""
|
7086 |
|
7087 |
-
#: languages/vue.php:
|
7088 |
msgid "Your 2020 Year in Review is still calculating. Please check back later to see how your website performed last year."
|
7089 |
msgstr ""
|
7090 |
|
7091 |
-
#: languages/vue.php:
|
7092 |
msgid "Back to Overview Report"
|
7093 |
msgstr ""
|
7094 |
|
7095 |
-
#: languages/vue.php:
|
7096 |
msgid "Your 2020 Analytics Report"
|
7097 |
msgstr ""
|
7098 |
|
7099 |
-
#: languages/vue.php:
|
7100 |
msgid "See how your website performed this year and find tips along the way to help grow even more in 2021!"
|
7101 |
msgstr ""
|
7102 |
|
7103 |
-
#: languages/vue.php:
|
7104 |
msgid "Audience"
|
7105 |
msgstr ""
|
7106 |
|
7107 |
-
#: languages/vue.php:
|
7108 |
msgid "Congrats"
|
7109 |
msgstr ""
|
7110 |
|
7111 |
-
#: languages/vue.php:
|
7112 |
msgid "Your website was quite popular this year! "
|
7113 |
msgstr ""
|
7114 |
|
7115 |
-
#: languages/vue.php:
|
7116 |
msgid "You had "
|
7117 |
msgstr ""
|
7118 |
|
7119 |
-
#: languages/vue.php:
|
7120 |
msgid " visitors!"
|
7121 |
msgstr ""
|
7122 |
|
7123 |
-
#: languages/vue.php:
|
7124 |
msgid " visitors"
|
7125 |
msgstr ""
|
7126 |
|
7127 |
-
#: languages/vue.php:
|
7128 |
msgid "Total Visitors"
|
7129 |
msgstr ""
|
7130 |
|
7131 |
-
#: languages/vue.php:
|
7132 |
msgid "Total Sessions"
|
7133 |
msgstr ""
|
7134 |
|
7135 |
-
#: languages/vue.php:
|
7136 |
msgid "Visitors by Month"
|
7137 |
msgstr ""
|
7138 |
|
7139 |
-
#: languages/vue.php:
|
7140 |
msgid "January 1, 2020 - December 31, 2020"
|
7141 |
msgstr ""
|
7142 |
|
7143 |
-
#: languages/vue.php:
|
7144 |
msgid "A Tip for 2021"
|
7145 |
msgstr ""
|
7146 |
|
7147 |
-
#: languages/vue.php:
|
7148 |
msgid "Demographics"
|
7149 |
msgstr ""
|
7150 |
|
7151 |
-
#: languages/vue.php:
|
7152 |
msgid "#1"
|
7153 |
msgstr ""
|
7154 |
|
7155 |
-
#: languages/vue.php:
|
7156 |
msgid "You Top 5 Countries"
|
7157 |
msgstr ""
|
7158 |
|
7159 |
-
#: languages/vue.php:
|
7160 |
msgid "Let’s get to know your visitors a little better, shall we?"
|
7161 |
msgstr ""
|
7162 |
|
7163 |
-
#: languages/vue.php:
|
7164 |
msgid "Gender"
|
7165 |
msgstr ""
|
7166 |
|
7167 |
-
#: languages/vue.php:
|
7168 |
msgid "Female"
|
7169 |
msgstr ""
|
7170 |
|
7171 |
-
#: languages/vue.php:
|
7172 |
msgid "Women"
|
7173 |
msgstr ""
|
7174 |
|
7175 |
-
#: languages/vue.php:
|
7176 |
msgid "Male"
|
7177 |
msgstr ""
|
7178 |
|
7179 |
-
#: languages/vue.php:
|
7180 |
msgid "Average Age"
|
7181 |
msgstr ""
|
7182 |
|
7183 |
-
#: languages/vue.php:
|
7184 |
msgid "Behavior"
|
7185 |
msgstr ""
|
7186 |
|
7187 |
-
#: languages/vue.php:
|
7188 |
msgid "Your Top 5 Pages"
|
7189 |
msgstr ""
|
7190 |
|
7191 |
-
#: languages/vue.php:
|
7192 |
msgid "Time Spent on Site"
|
7193 |
msgstr ""
|
7194 |
|
7195 |
-
#: languages/vue.php:
|
7196 |
msgid "minutes"
|
7197 |
msgstr ""
|
7198 |
|
7199 |
-
#: languages/vue.php:
|
7200 |
msgid "Device Type"
|
7201 |
msgstr ""
|
7202 |
|
7203 |
-
#: languages/vue.php:
|
7204 |
msgid "A Tip For 2021"
|
7205 |
msgstr ""
|
7206 |
|
7207 |
-
#: languages/vue.php:
|
7208 |
msgid "Take advantage of what you’ve already built. See how to get more traffic from existing content in our 32 Marketing Hacks to Grow Your Traffic."
|
7209 |
msgstr ""
|
7210 |
|
7211 |
-
#: languages/vue.php:
|
7212 |
msgid "Read - 32 Marketing Hacks to Grow Your Traffic"
|
7213 |
msgstr ""
|
7214 |
|
7215 |
-
#: languages/vue.php:
|
7216 |
msgid "So, where did all of these visitors come from?"
|
7217 |
msgstr ""
|
7218 |
|
7219 |
-
#: languages/vue.php:
|
7220 |
msgid "Clicks"
|
7221 |
msgstr ""
|
7222 |
|
7223 |
-
#: languages/vue.php:
|
7224 |
msgid "Your Top 5 Keywords"
|
7225 |
msgstr ""
|
7226 |
|
7227 |
-
#: languages/vue.php:
|
7228 |
msgid "What keywords visitors searched for to find your site"
|
7229 |
msgstr ""
|
7230 |
|
7231 |
-
#: languages/vue.php:
|
7232 |
msgid "Your Top 5 Referrals"
|
7233 |
msgstr ""
|
7234 |
|
7235 |
-
#: languages/vue.php:
|
7236 |
msgid "The websites that link back to your website"
|
7237 |
msgstr ""
|
7238 |
|
7239 |
-
#: languages/vue.php:
|
7240 |
msgid "Opportunity"
|
7241 |
msgstr ""
|
7242 |
|
7243 |
-
#: languages/vue.php:
|
7244 |
msgid "Use referral sources to create new partnerships or expand existing ones. See our guide on how to spy on your competitors and ethically steal their traffic."
|
7245 |
msgstr ""
|
7246 |
|
7247 |
-
#: languages/vue.php:
|
7248 |
msgid "Read - How to Ethically Steal Your Competitor’s Traffic"
|
7249 |
msgstr ""
|
7250 |
|
7251 |
-
#: languages/vue.php:
|
7252 |
msgid "Thank you for using MonsterInsights!"
|
7253 |
msgstr ""
|
7254 |
|
7255 |
-
#: languages/vue.php:
|
7256 |
msgid "We’re grateful for your continued support. If there’s anything we can do to help you grow your business, please don’t hesitate to contact our team."
|
7257 |
msgstr ""
|
7258 |
|
7259 |
-
#: languages/vue.php:
|
7260 |
msgid "Here's to an amazing 2021!"
|
7261 |
msgstr ""
|
7262 |
|
7263 |
-
#: languages/vue.php:
|
7264 |
msgid "Enjoying MonsterInsights"
|
7265 |
msgstr ""
|
7266 |
|
7267 |
-
#: languages/vue.php:
|
7268 |
msgid "Leave a five star review!"
|
7269 |
msgstr ""
|
7270 |
|
7271 |
-
#: languages/vue.php:
|
7272 |
msgid "Syed Balkhi"
|
7273 |
msgstr ""
|
7274 |
|
7275 |
-
#: languages/vue.php:
|
7276 |
msgid "Chris Christoff"
|
7277 |
msgstr ""
|
7278 |
|
7279 |
-
#: languages/vue.php:
|
7280 |
msgid "Write Review"
|
7281 |
msgstr ""
|
7282 |
|
7283 |
-
#: languages/vue.php:
|
7284 |
msgid "Did you know over 10 million websites use our plugins?"
|
7285 |
msgstr ""
|
7286 |
|
7287 |
-
#: languages/vue.php:
|
7288 |
msgid "Try our other popular WordPress plugins to grow your website in 2021."
|
7289 |
msgstr ""
|
7290 |
|
7291 |
-
#: languages/vue.php:
|
7292 |
msgid "Join our Communities!"
|
7293 |
msgstr ""
|
7294 |
|
7295 |
-
#: languages/vue.php:
|
7296 |
msgid "Become a WordPress expert in 2021. Join our amazing communities and take your website to the next level."
|
7297 |
msgstr ""
|
7298 |
|
7299 |
-
#: languages/vue.php:
|
7300 |
msgid "Facebook Group"
|
7301 |
msgstr ""
|
7302 |
|
7303 |
-
#: languages/vue.php:
|
7304 |
msgid "Join our team of WordPress experts and other motivated website owners in the WPBeginner Engage Facebook Group."
|
7305 |
msgstr ""
|
7306 |
|
7307 |
-
#: languages/vue.php:
|
7308 |
msgid "Join Now...It’s Free!"
|
7309 |
msgstr ""
|
7310 |
|
7311 |
-
#: languages/vue.php:
|
7312 |
msgid "WordPress Tutorials by WPBeginner"
|
7313 |
msgstr ""
|
7314 |
|
7315 |
-
#: languages/vue.php:
|
7316 |
msgid "WPBeginner is the largest free WordPress resource site for beginners and non-techy users."
|
7317 |
msgstr ""
|
7318 |
|
7319 |
-
#: languages/vue.php:
|
7320 |
msgid "Visit WPBeginner"
|
7321 |
msgstr ""
|
7322 |
|
7323 |
-
#: languages/vue.php:
|
7324 |
msgid "Follow Us!"
|
7325 |
msgstr ""
|
7326 |
|
7327 |
-
#: languages/vue.php:
|
7328 |
msgid "Follow MonsterInsights on social media to stay up to date with latest updates, trends, and tutorials on how to make the most out of analytics."
|
7329 |
msgstr ""
|
7330 |
|
7331 |
-
#: languages/vue.php:
|
7332 |
msgid "Copyright MonsterInsights, 2021"
|
7333 |
msgstr ""
|
7334 |
|
7335 |
-
#: languages/vue.php:
|
7336 |
msgid "Upgrade to MonsterInsights Pro to Unlock Additional Actionable Insights"
|
7337 |
msgstr ""
|
7338 |
|
7339 |
-
#: languages/vue.php:
|
7340 |
msgid "January"
|
7341 |
msgstr ""
|
7342 |
|
7343 |
-
#: languages/vue.php:
|
7344 |
msgid "February"
|
7345 |
msgstr ""
|
7346 |
|
7347 |
-
#: languages/vue.php:
|
7348 |
msgid "March"
|
7349 |
msgstr ""
|
7350 |
|
7351 |
-
#: languages/vue.php:
|
7352 |
msgid "April"
|
7353 |
msgstr ""
|
7354 |
|
7355 |
-
#: languages/vue.php:
|
7356 |
msgid "May"
|
7357 |
msgstr ""
|
7358 |
|
7359 |
-
#: languages/vue.php:
|
7360 |
msgid "June"
|
7361 |
msgstr ""
|
7362 |
|
7363 |
-
#: languages/vue.php:
|
7364 |
msgid "July"
|
7365 |
msgstr ""
|
7366 |
|
7367 |
-
#: languages/vue.php:
|
7368 |
msgid "August"
|
7369 |
msgstr ""
|
7370 |
|
7371 |
-
#: languages/vue.php:
|
7372 |
msgid "September"
|
7373 |
msgstr ""
|
7374 |
|
7375 |
-
#: languages/vue.php:
|
7376 |
msgid "October"
|
7377 |
msgstr ""
|
7378 |
|
7379 |
-
#: languages/vue.php:
|
7380 |
msgid "November"
|
7381 |
msgstr ""
|
7382 |
|
7383 |
-
#: languages/vue.php:
|
7384 |
msgid "December"
|
7385 |
msgstr ""
|
7386 |
|
7387 |
#. Translators: Number of visitors.
|
7388 |
-
#: languages/vue.php:
|
7389 |
msgid "Your best month was <strong>%1$s</strong> with <strong>%2$s visitors!</strong>"
|
7390 |
msgstr ""
|
7391 |
|
7392 |
-
#: languages/vue.php:
|
7393 |
msgid "See the top Traffic Sources and Top Pages for the Month of %s in the Overview Report to replicate your success."
|
7394 |
msgstr ""
|
7395 |
|
7396 |
#. Translators: Number of visitors.
|
7397 |
-
#: languages/vue.php:
|
7398 |
msgid "Your <strong>%1$s</strong> visitors came from <strong>%2$s</strong> different countries."
|
7399 |
msgstr ""
|
7400 |
|
7401 |
#. Translators: Number of visitors.
|
7402 |
-
#: languages/vue.php:
|
7403 |
msgid "%s Visitors"
|
7404 |
msgstr ""
|
7405 |
|
7406 |
#. Translators: Percent and Number of visitors.
|
7407 |
-
#: languages/vue.php:
|
7408 |
msgid "%1$s% of your visitors were %2$s"
|
7409 |
msgstr ""
|
7410 |
|
7411 |
#. Translators: Number of visitors and their age.
|
7412 |
-
#: languages/vue.php:
|
7413 |
msgid "%1$s% of your visitors were between the ages of %2$s"
|
7414 |
msgstr ""
|
7415 |
|
7416 |
-
#: languages/vue.php:
|
7417 |
msgid "Your <strong>%1$s</strong> visitors viewed a total of <strong>%2$s</strong> pages. <span class='average-page-per-user' style='font-size: 20px;margin-top:25px;display:block;font-family:Lato'>That's an average of %3$s pages for each visitor!</span>"
|
7418 |
msgstr ""
|
7419 |
|
7420 |
#. Translators: Number of minutes spent on site.
|
7421 |
-
#: languages/vue.php:
|
7422 |
msgid "Each visitor spent an average of %s minutes on your website in 2020."
|
7423 |
msgstr ""
|
7424 |
|
7425 |
#. Translators: Name of device type.
|
7426 |
-
#: languages/vue.php:
|
7427 |
msgid "Most of your visitors viewed your website from their <strong>%s</strong> device."
|
7428 |
msgstr ""
|
7429 |
|
7430 |
#. Translators: Number of visitors and device percentage.
|
7431 |
-
#: languages/vue.php:
|
7432 |
msgid "%1$s% of your visitors were on a %2$s device."
|
7433 |
msgstr ""
|
7434 |
|
7435 |
-
#: languages/vue.php:
|
7436 |
msgid "Desktop"
|
7437 |
msgstr ""
|
7438 |
|
7439 |
-
#: languages/vue.php:
|
7440 |
msgid "Tablet"
|
7441 |
msgstr ""
|
7442 |
|
7443 |
-
#: languages/vue.php:
|
7444 |
msgid "Mobile"
|
7445 |
msgstr ""
|
7446 |
|
7447 |
-
#: languages/vue.php:
|
7448 |
msgid "Right Now"
|
7449 |
msgstr ""
|
7450 |
|
7451 |
-
#: languages/vue.php:
|
7452 |
msgid "Active users on site"
|
7453 |
msgstr ""
|
7454 |
|
7455 |
-
#: languages/vue.php:
|
7456 |
msgid "The real-time graph of visitors over time is not currently available for this site. Please try again later."
|
7457 |
msgstr ""
|
7458 |
|
7459 |
-
#: languages/vue.php:
|
7460 |
msgid "Important: this only includes users who are tracked in real-time. Not all users are tracked in real-time including (but not limited to) logged-in site administrators, certain mobile users, and users who match a Google Analytics filter."
|
7461 |
msgstr ""
|
7462 |
|
7463 |
-
#: languages/vue.php:
|
7464 |
msgid "The real-time report automatically updates approximately every 60 seconds."
|
7465 |
msgstr ""
|
7466 |
|
7467 |
#. Translators: Number of seconds that have passed since the report was refreshed.
|
7468 |
-
#: languages/vue.php:
|
7469 |
msgid "The real-time report was last updated %s seconds ago."
|
7470 |
msgstr ""
|
7471 |
|
7472 |
-
#: languages/vue.php:
|
7473 |
msgid "The latest data will be automatically shown on this page when it becomes available."
|
7474 |
msgstr ""
|
7475 |
|
7476 |
-
#: languages/vue.php:
|
7477 |
msgid "There is no need to refresh the browser (doing so won't have any effect)."
|
7478 |
msgstr ""
|
7479 |
|
7480 |
-
#: languages/vue.php:
|
7481 |
msgid "Pageviews Per Minute"
|
7482 |
msgstr ""
|
7483 |
|
7484 |
-
#: languages/vue.php:
|
7485 |
msgid "Top Pages"
|
7486 |
msgstr ""
|
7487 |
|
7488 |
-
#: languages/vue.php:
|
7489 |
msgid "No pageviews currently."
|
7490 |
msgstr ""
|
7491 |
|
7492 |
-
#: languages/vue.php:
|
7493 |
msgid "Page"
|
7494 |
msgstr ""
|
7495 |
|
7496 |
-
#: languages/vue.php:
|
7497 |
msgid "Pageview Count"
|
7498 |
msgstr ""
|
7499 |
|
7500 |
-
#: languages/vue.php:
|
7501 |
msgid "Percent of Total"
|
7502 |
msgstr ""
|
7503 |
|
7504 |
-
#: languages/vue.php:
|
7505 |
msgid "This is the number of active users currently on your site."
|
7506 |
msgstr ""
|
7507 |
|
7508 |
-
#: languages/vue.php:
|
7509 |
msgid "This graph shows the number of pageviews for each of the last 30 minutes."
|
7510 |
msgstr ""
|
7511 |
|
7512 |
-
#: languages/vue.php:
|
7513 |
msgid "This list shows the top pages users are currently viewing on your site."
|
7514 |
msgstr ""
|
7515 |
|
7516 |
-
#: languages/vue.php:
|
7517 |
msgid "View All Real-Time Pageviews"
|
7518 |
msgstr ""
|
7519 |
|
7520 |
-
#: languages/vue.php:
|
7521 |
msgid "View All Real-Time Traffic Sources"
|
7522 |
msgstr ""
|
7523 |
|
7524 |
-
#: languages/vue.php:
|
7525 |
msgid "View All Real-Time Traffic by Country"
|
7526 |
msgstr ""
|
7527 |
|
7528 |
-
#: languages/vue.php:
|
7529 |
msgid "View All Real-Time Traffic by City"
|
7530 |
msgstr ""
|
7531 |
|
7532 |
-
#: languages/vue.php:
|
7533 |
msgid "Show Overview Reports"
|
7534 |
msgstr ""
|
7535 |
|
7536 |
-
#: languages/vue.php:
|
7537 |
msgid "Show Publishers Reports"
|
7538 |
msgstr ""
|
7539 |
|
7540 |
-
#: languages/vue.php:
|
7541 |
msgid "Show eCommerce Reports"
|
7542 |
msgstr ""
|
7543 |
|
7544 |
-
#: languages/vue.php:
|
7545 |
msgid "Settings Menu"
|
7546 |
msgstr ""
|
7547 |
|
7548 |
-
#: languages/vue.php:
|
7549 |
msgid "Available in PRO version"
|
7550 |
msgstr ""
|
7551 |
|
7552 |
-
#: languages/vue.php:
|
7553 |
msgid "Thank you for being a loyal MonsterInsights Lite user."
|
7554 |
msgstr ""
|
7555 |
|
7556 |
-
#: languages/vue.php:
|
7557 |
msgid "Upgrade to MonsterInsights Pro and unlock all the awesome features."
|
7558 |
msgstr ""
|
7559 |
|
7560 |
#. Translators: Gets replaced with the coupon code.
|
7561 |
-
#: languages/vue.php:
|
7562 |
msgid "Use coupon code %s to get 50%% off."
|
7563 |
msgstr ""
|
7564 |
|
7565 |
-
#: languages/vue.php:
|
7566 |
msgid "Dashboard widget"
|
7567 |
msgstr ""
|
7568 |
|
7569 |
-
#: languages/vue.php:
|
7570 |
msgid "Affiliate Links"
|
7571 |
msgstr ""
|
7572 |
|
7573 |
-
#: languages/vue.php:
|
7574 |
msgid "Enhanced Ecommerce"
|
7575 |
msgstr ""
|
7576 |
|
7577 |
-
#: languages/vue.php:
|
7578 |
msgid "Banner Ads"
|
7579 |
msgstr ""
|
7580 |
|
7581 |
-
#: languages/vue.php:
|
7582 |
msgid "Google AMP"
|
7583 |
msgstr ""
|
7584 |
|
7585 |
-
#: languages/vue.php:
|
7586 |
msgid "SEO Score Tracking"
|
7587 |
msgstr ""
|
7588 |
|
7589 |
-
#: languages/vue.php:
|
7590 |
msgid "Activating..."
|
7591 |
msgstr ""
|
7592 |
|
7593 |
-
#: languages/vue.php:
|
7594 |
msgid "Deactivating..."
|
7595 |
msgstr ""
|
7596 |
|
7597 |
-
#: languages/vue.php:
|
7598 |
msgid "Deactivate"
|
7599 |
msgstr ""
|
7600 |
|
7601 |
#. Translators: The status of the addon (installed/active/inactive).
|
7602 |
-
#: languages/vue.php:
|
7603 |
msgid "Status: %s"
|
7604 |
msgstr ""
|
7605 |
|
7606 |
-
#: languages/vue.php:
|
7607 |
msgid "Not Installed"
|
7608 |
msgstr ""
|
7609 |
|
7610 |
-
#: languages/vue.php:
|
7611 |
msgid "Network Active"
|
7612 |
msgstr ""
|
7613 |
|
7614 |
-
#: languages/vue.php:
|
7615 |
msgid "Active"
|
7616 |
msgstr ""
|
7617 |
|
7618 |
-
#: languages/vue.php:
|
7619 |
msgid "Inactive"
|
7620 |
msgstr ""
|
7621 |
|
7622 |
#. Translators: Adds a link to the general settings tab.
|
7623 |
-
#: languages/vue.php:
|
7624 |
msgid "It looks like you added a Google Analytics tracking code in the custom code area, this can potentially prevent proper tracking. If you want to use a manual UA please use the setting in the %1$sGeneral%2$s tab."
|
7625 |
msgstr ""
|
7626 |
|
7627 |
-
#: languages/vue.php:
|
7628 |
msgid "Export PDF Reports"
|
7629 |
msgstr ""
|
7630 |
|
7631 |
-
#: languages/vue.php:
|
7632 |
msgid "Permissions"
|
7633 |
msgstr ""
|
7634 |
|
7635 |
-
#: languages/vue.php:
|
7636 |
msgid "Allow These User Roles to See Reports"
|
7637 |
msgstr ""
|
7638 |
|
7639 |
-
#: languages/vue.php:
|
7640 |
msgid "Users that have at least one of these roles will be able to view the reports."
|
7641 |
msgstr ""
|
7642 |
|
7643 |
-
#: languages/vue.php:
|
7644 |
msgid "Users that have at least one of these roles will be able to view the reports, along with any user with the manage_options capability."
|
7645 |
msgstr ""
|
7646 |
|
7647 |
-
#: languages/vue.php:
|
7648 |
msgid "Allow These User Roles to Save Settings"
|
7649 |
msgstr ""
|
7650 |
|
7651 |
-
#: languages/vue.php:
|
7652 |
msgid "Users that have at least one of these roles will be able to view and save the settings panel."
|
7653 |
msgstr ""
|
7654 |
|
7655 |
-
#: languages/vue.php:
|
7656 |
msgid "Users that have at least one of these roles will be able to view and save the settings panel, along with any user with the manage_options capability."
|
7657 |
msgstr ""
|
7658 |
|
7659 |
-
#: languages/vue.php:
|
7660 |
msgid "Exclude These User Roles From Tracking"
|
7661 |
msgstr ""
|
7662 |
|
7663 |
-
#: languages/vue.php:
|
7664 |
msgid "Users that have at least one of these roles will not be tracked into Google Analytics."
|
7665 |
msgstr ""
|
7666 |
|
7667 |
-
#: languages/vue.php:
|
7668 |
msgid "Performance"
|
7669 |
msgstr ""
|
7670 |
|
7671 |
-
#: languages/vue.php:
|
7672 |
msgid "Custom code"
|
7673 |
msgstr ""
|
7674 |
|
7675 |
#. Translators: Adds a link to the Google reference.
|
7676 |
-
#: languages/vue.php:
|
7677 |
msgid "Not for the average user: this allows you to add a line of code, to be added before the %1$spageview is sent%2$s."
|
7678 |
msgstr ""
|
7679 |
|
7680 |
-
#: languages/vue.php:
|
7681 |
msgid "You must have the \"unfiltered_html\" capability to view/edit this setting."
|
7682 |
msgstr ""
|
7683 |
|
7684 |
-
#: languages/vue.php:
|
7685 |
msgid "Hide Admin Bar Reports"
|
7686 |
msgstr ""
|
7687 |
|
7688 |
#. Translators: placeholders make text small.
|
7689 |
-
#: languages/vue.php:
|
7690 |
msgid "Enabled %1$s- Show reports and dashboard widget.%2$s"
|
7691 |
msgstr ""
|
7692 |
|
7693 |
#. Translators: placeholders make text small.
|
7694 |
-
#: languages/vue.php:
|
7695 |
msgid "Dashboard Widget Only %1$s- Disable reports, but show dashboard widget.%2$s"
|
7696 |
msgstr ""
|
7697 |
|
7698 |
#. Translators: placeholders make text small.
|
7699 |
-
#: languages/vue.php:
|
7700 |
msgid "Disabled %1$s- Hide reports and dashboard widget.%2$s"
|
7701 |
msgstr ""
|
7702 |
|
7703 |
-
#: languages/vue.php:
|
7704 |
msgid "View notifications"
|
7705 |
msgstr ""
|
7706 |
|
7707 |
#. Translators: Error status and error text.
|
7708 |
-
#: languages/vue.php:
|
7709 |
msgid "Can't load settings. Error: %1$s, %2$s"
|
7710 |
msgstr ""
|
7711 |
|
7712 |
-
#: languages/vue.php:
|
7713 |
msgid "You appear to be offline."
|
7714 |
msgstr ""
|
7715 |
|
7716 |
#. Translators: Error status and error text.
|
7717 |
-
#: languages/vue.php:
|
7718 |
msgid "Can't save settings. Error: %1$s, %2$s"
|
7719 |
msgstr ""
|
7720 |
|
7721 |
-
#: languages/vue.php:
|
7722 |
msgid "Network error encountered. Settings not saved."
|
7723 |
msgstr ""
|
7724 |
|
7725 |
#. Translators: Error status and error text.
|
7726 |
-
#: languages/vue.php:
|
7727 |
msgid "Can't deactivate the license. Error: %1$s, %2$s"
|
7728 |
msgstr ""
|
7729 |
|
7730 |
#. Translators: Error status and error text.
|
7731 |
-
#: languages/vue.php:
|
7732 |
msgid "Can't upgrade to PRO please try again. Error: %1$s, %2$s"
|
7733 |
msgstr ""
|
7734 |
|
7735 |
#. Translators: Error status and error text.
|
7736 |
-
#: languages/vue.php:
|
7737 |
msgid "Can't load license details. Error: %1$s, %2$s"
|
7738 |
msgstr ""
|
7739 |
|
7740 |
-
#: languages/vue.php:
|
7741 |
msgid "Error loading license details"
|
7742 |
msgstr ""
|
7743 |
|
7744 |
#. Translators: Error status and error text.
|
7745 |
-
#: languages/vue.php:
|
7746 |
msgid "Can't verify the license. Error: %1$s, %2$s"
|
7747 |
msgstr ""
|
7748 |
|
7749 |
#. Translators: Error status and error text.
|
7750 |
-
#: languages/vue.php:
|
7751 |
msgid "Can't validate the license. Error: %1$s, %2$s"
|
7752 |
msgstr ""
|
7753 |
|
7754 |
#. Translators: Error status and error text.
|
7755 |
-
#: languages/vue.php:
|
7756 |
msgid "Can't deauthenticate. Error: %1$s, %2$s"
|
7757 |
msgstr ""
|
7758 |
|
7759 |
#. Translators: Error status and error text.
|
7760 |
-
#: languages/vue.php:
|
7761 |
msgid "Can't load authentication details. Error: %1$s, %2$s"
|
7762 |
msgstr ""
|
7763 |
|
7764 |
-
#: languages/vue.php:
|
7765 |
msgid "You appear to be offline. Settings not saved."
|
7766 |
msgstr ""
|
7767 |
|
7768 |
#. Translators: Error status and error text.
|
7769 |
-
#: languages/vue.php:
|
7770 |
msgid "Can't authenticate. Error: %1$s, %2$s"
|
7771 |
msgstr ""
|
7772 |
|
7773 |
#. Translators: Error status and error text.
|
7774 |
-
#: languages/vue.php:
|
7775 |
msgid "Can't reauthenticate. Error: %1$s, %2$s"
|
7776 |
msgstr ""
|
7777 |
|
7778 |
#. Translators: Error status and error text.
|
7779 |
-
#: languages/vue.php:
|
7780 |
msgid "Can't verify credentials. Error: %1$s, %2$s"
|
7781 |
msgstr ""
|
7782 |
|
7783 |
-
#: languages/vue.php:
|
7784 |
msgid "Proceed"
|
7785 |
msgstr ""
|
7786 |
|
7787 |
-
#: languages/vue.php:
|
7788 |
msgid "Connection Information"
|
7789 |
msgstr ""
|
7790 |
|
7791 |
-
#: languages/vue.php:
|
7792 |
msgid "To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host."
|
7793 |
msgstr ""
|
7794 |
|
7795 |
-
#: languages/vue.php:
|
7796 |
msgid "Hostname"
|
7797 |
msgstr ""
|
7798 |
|
7799 |
-
#: languages/vue.php:
|
7800 |
msgid "FTP Username"
|
7801 |
msgstr ""
|
7802 |
|
7803 |
-
#: languages/vue.php:
|
7804 |
msgid "FTP Password"
|
7805 |
msgstr ""
|
7806 |
|
7807 |
-
#: languages/vue.php:
|
7808 |
msgid "This password will not be stored on the server."
|
7809 |
msgstr ""
|
7810 |
|
7811 |
-
#: languages/vue.php:
|
7812 |
msgid "Connection Type"
|
7813 |
msgstr ""
|
7814 |
|
7815 |
-
#: languages/vue.php:
|
7816 |
msgid "Cancel"
|
7817 |
msgstr ""
|
7818 |
|
7819 |
-
#: languages/vue.php:
|
7820 |
msgid "You appear to be offline. WPForms not installed."
|
7821 |
msgstr ""
|
7822 |
|
7823 |
#. Translators: Error status and error text.
|
7824 |
-
#: languages/vue.php:
|
7825 |
msgid "Can't activate addon. Error: %1$s, %2$s"
|
7826 |
msgstr ""
|
7827 |
|
7828 |
-
#: languages/vue.php:
|
7829 |
msgid "You appear to be offline. Addon not activated."
|
7830 |
msgstr ""
|
7831 |
|
7832 |
#. Translators: Error status and error text.
|
7833 |
-
#: languages/vue.php:
|
7834 |
msgid "Can't deactivate addon. Error: %1$s, %2$s"
|
7835 |
msgstr ""
|
7836 |
|
7837 |
-
#: languages/vue.php:
|
7838 |
msgid "You appear to be offline. Addon not deactivated."
|
7839 |
msgstr ""
|
7840 |
|
7841 |
#. Translators: Error status and error text.
|
7842 |
-
#: languages/vue.php:
|
7843 |
msgid "Can't install plugin. Error: %1$s, %2$s"
|
7844 |
msgstr ""
|
7845 |
|
7846 |
-
#: languages/vue.php:
|
7847 |
msgid "You appear to be offline. Plugin not installed."
|
7848 |
msgstr ""
|
7849 |
|
7850 |
#. Translators: Error status and error text.
|
7851 |
-
#: languages/vue.php:
|
7852 |
msgid "Can't install addon. Error: %1$s, %2$s"
|
7853 |
msgstr ""
|
7854 |
|
7855 |
-
#: languages/vue.php:
|
7856 |
msgid "You appear to be offline. Addon not installed."
|
7857 |
msgstr ""
|
7858 |
|
7859 |
#. Translators: Error status and error text.
|
7860 |
-
#: languages/vue.php:
|
7861 |
msgid "Can't install WPForms. Error: %1$s, %2$s"
|
7862 |
msgstr ""
|
7863 |
|
7864 |
#. Translators: Example path (/go/).
|
7865 |
-
#: languages/vue.php:
|
7866 |
msgid "Path (example: %s)"
|
7867 |
msgstr ""
|
7868 |
|
7869 |
-
#: languages/vue.php:
|
7870 |
msgid "Path has to start with a / and have no spaces"
|
7871 |
msgstr ""
|
7872 |
|
7873 |
#. Translators: Example label (aff).
|
7874 |
-
#: languages/vue.php:
|
7875 |
msgid "Label (example: %s)"
|
7876 |
msgstr ""
|
7877 |
|
7878 |
-
#: languages/vue.php:
|
7879 |
msgid "Label can't contain any spaces"
|
7880 |
msgstr ""
|
7881 |
|
7882 |
#. Translators: Add links to documentation.
|
7883 |
-
#: languages/vue.php:
|
7884 |
msgid "This allows you to track custom affiliate links. A path of /go/ would match urls that start with that. The label is appended onto the end of the string \"outbound-link-\", to provide unique labels for these links in Google Analytics. Complete documentation on affiliate links is available %1$shere%2$s."
|
7885 |
msgstr ""
|
7886 |
|
7887 |
-
#: languages/vue.php:
|
7888 |
msgid "Our affiliate link tracking works by setting path for internal links to track as outbound links."
|
7889 |
msgstr ""
|
7890 |
|
7891 |
-
#: languages/vue.php:
|
7892 |
msgid "The MonsterInsights Headline Analyzer tool in the Gutenberg editor enables you to write irresistible SEO-friendly headlines that drive traffic, social media shares, and rank better in search results."
|
7893 |
msgstr ""
|
7894 |
|
7895 |
-
#: languages/vue.php:
|
7896 |
msgid "Disable the Headline Analyzer"
|
7897 |
msgstr ""
|
7898 |
|
7899 |
-
#: languages/vue.php:
|
7900 |
msgid "Warning: If you use a manual GA4 Measurement ID, you won't be able to use any of the reporting and some of the tracking features. Your Measurement ID should look like G-XXXXXXXXXX where the X's are numbers."
|
7901 |
msgstr ""
|
7902 |
|
7903 |
-
#: languages/vue.php:
|
7904 |
msgid "Or manually enter UA code (limited functionality)"
|
7905 |
msgstr ""
|
7906 |
|
7907 |
-
#: languages/vue.php:
|
7908 |
msgid "Dual Tracking Profile"
|
7909 |
msgstr ""
|
7910 |
|
7911 |
-
#: languages/vue.php:
|
7912 |
msgid "The dual tracking feature allows you to continue tracking this site into an existing GAv3 property so you can continue to use the GA reports you are used to already. Learn more about this feature %1$shere%2$s."
|
7913 |
msgstr ""
|
7914 |
|
7915 |
-
#: languages/vue.php:
|
7916 |
msgid "Your Universal Analytics code should look like UA-XXXXXXXXXX where the X's are numbers."
|
7917 |
msgstr ""
|
7918 |
|
7919 |
-
#: languages/vue.php:
|
7920 |
msgid "The dual tracking feature allows you to begin tracking this site into a GAv4 property to take advantage of the new GAv4 analysis tools. Learn more about this feature %1$shere%2$s."
|
7921 |
msgstr ""
|
7922 |
|
7923 |
-
#: languages/vue.php:
|
7924 |
msgid "Your Measurement ID should look like G-XXXXXXXXXX where the X's are numbers."
|
7925 |
msgstr ""
|
7926 |
|
7927 |
-
#: languages/vue.php:
|
7928 |
msgid "Measurement Protocol API Secret"
|
7929 |
msgstr ""
|
7930 |
|
7931 |
-
#: languages/vue.php:
|
7932 |
msgid "The Measurement Protocol API secret allows your site to send tracking data to Google Analytics. To retrieve your Measurement Protocol API Secret, follow %1$sthis guide%2$s."
|
7933 |
msgstr ""
|
7934 |
|
7935 |
-
#: languages/vue.php:
|
7936 |
msgid "Force Deauthenticate"
|
7937 |
msgstr ""
|
7938 |
|
7939 |
-
#: languages/vue.php:
|
7940 |
msgid "Disconnect MonsterInsights"
|
7941 |
msgstr ""
|
7942 |
|
7943 |
-
#: languages/vue.php:
|
7944 |
msgid "Authenticating"
|
7945 |
msgstr ""
|
7946 |
|
7947 |
-
#: languages/vue.php:
|
7948 |
msgid "Verifying Credentials"
|
7949 |
msgstr ""
|
7950 |
|
7951 |
-
#: languages/vue.php:
|
7952 |
msgid "Your site is connected to MonsterInsights!"
|
7953 |
msgstr ""
|
7954 |
|
7955 |
-
#: languages/vue.php:
|
7956 |
msgid "Deauthenticating"
|
7957 |
msgstr ""
|
7958 |
|
7959 |
-
#: languages/vue.php:
|
7960 |
msgid "You've disconnected your site from MonsterInsights. Your site is no longer being tracked by Google Analytics and you won't see reports anymore."
|
7961 |
msgstr ""
|
7962 |
|
7963 |
-
#: languages/vue.php:
|
7964 |
msgid "Connect MonsterInsights"
|
7965 |
msgstr ""
|
7966 |
|
7967 |
-
#: languages/vue.php:
|
7968 |
msgid "Verify Credentials"
|
7969 |
msgstr ""
|
7970 |
|
7971 |
-
#: languages/vue.php:
|
7972 |
msgid "Website Profile"
|
7973 |
msgstr ""
|
7974 |
|
7975 |
-
#: languages/vue.php:
|
7976 |
msgid "Active Profile"
|
7977 |
msgstr ""
|
7978 |
|
7979 |
-
#: languages/vue.php:
|
7980 |
msgid "Your website profile has been set at the network level of your WordPress Multisite."
|
7981 |
msgstr ""
|
7982 |
|
7983 |
-
#: languages/vue.php:
|
7984 |
msgid "If you would like to use a different profile for this subsite, you can authenticate below."
|
7985 |
msgstr ""
|
7986 |
|
7987 |
-
#: languages/vue.php:
|
7988 |
msgid "Manually enter your UA code"
|
7989 |
msgstr ""
|
7990 |
|
7991 |
-
#: languages/vue.php:
|
7992 |
msgid "Warning: If you use a manual UA code, you won't be able to use any of the reporting and some of the tracking features. Your UA code should look like UA-XXXXXX-XX where the X's are numbers."
|
7993 |
msgstr ""
|
7994 |
|
7995 |
-
#: languages/vue.php:
|
7996 |
msgid "Manually enter your GA4 Measurement ID"
|
7997 |
msgstr ""
|
7998 |
|
7999 |
-
#: languages/vue.php:
|
8000 |
msgid "Enable Demographics and Interests Reports for Remarketing and Advertising"
|
8001 |
msgstr ""
|
8002 |
|
8003 |
-
#: languages/vue.php:
|
8004 |
msgid "Anonymize IP Addresses"
|
8005 |
msgstr ""
|
8006 |
|
8007 |
-
#: languages/vue.php:
|
8008 |
msgid "Link Attribution"
|
8009 |
msgstr ""
|
8010 |
|
8011 |
-
#: languages/vue.php:
|
8012 |
msgid "Enable Enhanced Link Attribution"
|
8013 |
msgstr ""
|
8014 |
|
8015 |
-
#: languages/vue.php:
|
8016 |
msgid "Enable Anchor Tracking"
|
8017 |
msgstr ""
|
8018 |
|
8019 |
-
#: languages/vue.php:
|
8020 |
msgid "Enable allowAnchor"
|
8021 |
msgstr ""
|
8022 |
|
8023 |
-
#: languages/vue.php:
|
8024 |
msgid "Enable allowLinker"
|
8025 |
msgstr ""
|
8026 |
|
8027 |
-
#: languages/vue.php:
|
8028 |
msgid "Enable Tag Links in RSS"
|
8029 |
msgstr ""
|
8030 |
|
8031 |
-
#: languages/vue.php:
|
8032 |
msgid "File Downloads"
|
8033 |
msgstr ""
|
8034 |
|
8035 |
-
#: languages/vue.php:
|
8036 |
msgid "Extensions of Files to Track as Downloads"
|
8037 |
msgstr ""
|
8038 |
|
8039 |
-
#: languages/vue.php:
|
8040 |
msgid "MonsterInsights will send an event to Google Analytics if a link to a file has one of the above extensions."
|
8041 |
msgstr ""
|
8042 |
|
8043 |
#. Translators: Add links to the documentation.
|
8044 |
-
#: languages/vue.php:
|
8045 |
msgid "Enable this setting to add the Demographics and Remarketing features to your Google Analytics tracking code. Make sure to enable Demographics and Remarketing in your Google Analytics account. We have a guide for how to do that in our %1$sknowledge base%2$s. For more information about Remarketing, we refer you to %3$sGoogle's documentation%4$s. Note that usage of this function is affected by privacy and cookie laws around the world. Be sure to follow the laws that affect your target audience."
|
8046 |
msgstr ""
|
8047 |
|
8048 |
#. Translators: Adds a link to the documentation.
|
8049 |
-
#: languages/vue.php:
|
8050 |
msgid "This adds %1$sanonymizeIp%2$s, telling Google Analytics to anonymize the information sent by the tracker objects by removing the last octet of the IP address prior to its storage."
|
8051 |
msgstr ""
|
8052 |
|
8053 |
#. Translators: Adds a link to the documentation.
|
8054 |
-
#: languages/vue.php:
|
8055 |
msgid "Adds the Enhanced Link Attribution (retain link) code to improve the accuracy of your In-Page Analytics report by automatically differentiating between multiple links to the same URL on a single page by using link element IDs."
|
8056 |
msgstr ""
|
8057 |
|
8058 |
-
#: languages/vue.php:
|
8059 |
msgid "Many WordPress \"1-page\" style themes rely on anchor tags for navigation to show virtual pages. The problem is that to Google Analytics, these are all just a single page, and it makes it hard to get meaningful statistics about pages viewed. This feature allows proper tracking in those themes."
|
8060 |
msgstr ""
|
8061 |
|
8062 |
#. Translators: Adds a link to the documentation.
|
8063 |
-
#: languages/vue.php:
|
8064 |
msgid "This adds %1$sallowAnchor%2$s to the create command of the pageview hit tracking code, and makes RSS link tagging use a # as well."
|
8065 |
msgstr ""
|
8066 |
|
8067 |
#. Translators: Adds a link to the documentation.
|
8068 |
-
#: languages/vue.php:
|
8069 |
msgid "Enabling %1$scross-domain tracking (additional setup required)%2$s allows you to track users across multiple properties you own (such as example-1.com and example-2.com as a single session. It also allows you fix an issue so that when a user has to go to an off-site hosted payment gateway to finish a purchase it doesn't count it as referral traffic from that gateway but maintains the visit as part of the same session.) It is required that the other site includes a Google Analytics tracker with the same UA Code."
|
8070 |
msgstr ""
|
8071 |
|
8072 |
#. Translators: Adds a link to the documentation.
|
8073 |
-
#: languages/vue.php:
|
8074 |
msgid "Do not use this feature if you use FeedBurner, as FeedBurner can do this automatically and better than this plugin can. Check this %1$shelp page%2$s for info on how to enable this feature in FeedBurner."
|
8075 |
msgstr ""
|
8076 |
|
8077 |
-
#: languages/vue.php:
|
8078 |
msgid "Add domain"
|
8079 |
msgstr ""
|
8080 |
|
8081 |
#. Translators: Example domain.
|
8082 |
-
#: languages/vue.php:
|
8083 |
msgid "Domain (example: %s)"
|
8084 |
msgstr ""
|
8085 |
|
8086 |
#. Translators: Current site domain to be avoided.
|
8087 |
-
#: languages/vue.php:
|
8088 |
msgid "Please enter domain names only ( example: example.com not http://example.com ) and not current site domain ( %s )."
|
8089 |
msgstr ""
|
8090 |
|
8091 |
-
#: languages/vue.php:
|
8092 |
msgid "Cross Domain Tracking"
|
8093 |
msgstr ""
|
8094 |
|
8095 |
#. Translators: Adds a link to the documentation.
|
8096 |
-
#: languages/vue.php:
|
8097 |
msgid "Cross domain tracking makes it possible for Analytics to see sessions on two related sites as a single session. More info on specific setup steps can be found in our %1$sknowledge base%2$s."
|
8098 |
msgstr ""
|
8099 |
|
8100 |
#. Translators: Number of days.
|
8101 |
-
#: languages/vue.php:
|
8102 |
msgid "vs. Previous Day"
|
8103 |
msgstr ""
|
8104 |
|
8105 |
-
#: languages/vue.php:
|
8106 |
msgid "No change"
|
8107 |
msgstr ""
|
8108 |
|
8109 |
-
#: languages/vue.php:
|
8110 |
msgid "Forms Tracking help you see who’s viewing your forms, so you can increase conversions."
|
8111 |
msgstr ""
|
8112 |
|
8113 |
-
#: languages/vue.php:
|
8114 |
msgid "Custom Dimensions show you popular categories, best time to publish, focus keywords, etc."
|
8115 |
msgstr ""
|
8116 |
|
8117 |
-
#: languages/vue.php:
|
8118 |
msgid "Make Google Analytics GDPR compliant with our EU Compliance addon."
|
8119 |
msgstr ""
|
8120 |
|
8121 |
-
#: languages/vue.php:
|
8122 |
msgid "Get real-time Google Analytics report right inside your WordPress dashboard."
|
8123 |
msgstr ""
|
8124 |
|
8125 |
-
#: languages/vue.php:
|
8126 |
msgid "Use Google Optimize to easily perform A/B split tests on your site."
|
8127 |
msgstr ""
|
8128 |
|
8129 |
-
#: languages/vue.php:
|
8130 |
msgid "See all your important store metrics in one place with Enhanced Ecommerce Tracking."
|
8131 |
msgstr ""
|
8132 |
|
8133 |
-
#: languages/vue.php:
|
8134 |
msgid "Unlock search console report to see your top performing keywords in Google."
|
8135 |
msgstr ""
|
8136 |
|
8137 |
-
#: languages/vue.php:
|
8138 |
msgid "Get Page Insights to see important metrics for individual posts / pages in WordPress."
|
8139 |
msgstr ""
|
8140 |
|
8141 |
-
#: languages/vue.php:
|
8142 |
msgid "Publishers Report shows your top performing pages, audience demographics, and more."
|
8143 |
msgstr ""
|
8144 |
|
8145 |
-
#: languages/vue.php:
|
8146 |
msgid "Get Scroll-Depth tracking to see how far users scroll on your pages before leaving."
|
8147 |
msgstr ""
|
8148 |
|
8149 |
-
#: languages/vue.php:
|
8150 |
msgid "Upgrade to Pro »"
|
8151 |
msgstr ""
|
8152 |
|
8153 |
-
#: languages/vue.php:
|
8154 |
msgid "Pro Tip:"
|
8155 |
msgstr ""
|
8156 |
|
8157 |
-
#: languages/vue.php:
|
8158 |
msgid "Show"
|
8159 |
msgstr ""
|
8160 |
|
8161 |
-
#: languages/vue.php:
|
8162 |
msgid "Hide dashboard widget"
|
8163 |
msgstr ""
|
8164 |
|
8165 |
-
#: languages/vue.php:
|
8166 |
msgid "Are you sure you want to hide the MonsterInsights Dashboard Widget? "
|
8167 |
msgstr ""
|
8168 |
|
8169 |
-
#: languages/vue.php:
|
8170 |
msgid "Yes, hide it!"
|
8171 |
msgstr ""
|
8172 |
|
8173 |
-
#: languages/vue.php:
|
8174 |
msgid "No, cancel!"
|
8175 |
msgstr ""
|
8176 |
|
8177 |
-
#: languages/vue.php:
|
8178 |
msgid "MonsterInsights Widget Hidden"
|
8179 |
msgstr ""
|
8180 |
|
8181 |
-
#: languages/vue.php:
|
8182 |
msgid "You can re-enable the MonsterInsights widget at any time using the \"Screen Options\" menu on the top right of this page"
|
8183 |
msgstr ""
|
8184 |
|
8185 |
-
#: languages/vue.php:
|
8186 |
msgid "Usage Tracking"
|
8187 |
msgstr ""
|
8188 |
|
8189 |
-
#: languages/vue.php:
|
8190 |
msgid "Allow Usage Tracking"
|
8191 |
msgstr ""
|
8192 |
|
8193 |
-
#: languages/vue.php:
|
8194 |
msgid "By allowing us to track usage data we can better help you because we know with which WordPress configurations, themes and plugins we should test."
|
8195 |
msgstr ""
|
8196 |
|
8197 |
#. Translators: Add links to documentation.
|
8198 |
-
#: languages/vue.php:
|
8199 |
msgid "Complete documentation on usage tracking is available %1$shere%2$s."
|
8200 |
msgstr ""
|
8201 |
|
8202 |
#. Translators: Make text green and add smiley face.
|
8203 |
-
#: languages/vue.php:
|
8204 |
msgid "You're using %1$sMonsterInsights Lite%2$s - no license needed. Enjoy! %3$s"
|
8205 |
msgstr ""
|
8206 |
|
8207 |
#. Translators: Add link to upgrade.
|
8208 |
-
#: languages/vue.php:
|
8209 |
msgid "To unlock more features consider %1$supgrading to PRO%2$s."
|
8210 |
msgstr ""
|
8211 |
|
8212 |
#. Translators: Make text green.
|
8213 |
-
#: languages/vue.php:
|
8214 |
msgid "As a valued MonsterInsights Lite user you %1$sreceive 50%% off%2$s, automatically applied at checkout!"
|
8215 |
msgstr ""
|
8216 |
|
8217 |
-
#: languages/vue.php:
|
8218 |
msgid "Unlock PRO Features Now"
|
8219 |
msgstr ""
|
8220 |
|
8221 |
-
#: languages/vue.php:
|
8222 |
msgid "Paste your license key here"
|
8223 |
msgstr ""
|
8224 |
|
8225 |
-
#: languages/vue.php:
|
8226 |
msgid "Verify"
|
8227 |
msgstr ""
|
8228 |
|
8229 |
#. Translators: Add link to retrieve license from account area.
|
8230 |
-
#: languages/vue.php:
|
8231 |
msgid "Already purchased? Simply enter your license key below to connect with MonsterInsights PRO! %1$sRetrieve your license key%2$s."
|
8232 |
msgstr ""
|
8233 |
|
8234 |
-
#: languages/vue.php:
|
8235 |
msgid "There was an error unlocking MonsterInsights PRO please try again or install manually."
|
8236 |
msgstr ""
|
8237 |
|
8238 |
#. Translators: Error status and error text.
|
8239 |
-
#: languages/vue.php:
|
8240 |
msgid "Can't load errors. Error: %1$s, %2$s"
|
8241 |
msgstr ""
|
8242 |
|
8243 |
-
#: languages/vue.php:
|
8244 |
msgid "No options available"
|
8245 |
msgstr ""
|
8246 |
|
8247 |
-
#: languages/vue.php:
|
8248 |
msgid "%1$sAll-in-One SEO%2$s Makes SEO Simple. Gain Valuable Organic Traffic."
|
8249 |
msgstr ""
|
8250 |
|
8251 |
-
#: languages/vue.php:
|
8252 |
msgid "Automatically migrate all of your SEO settings with just 1 click!"
|
8253 |
msgstr ""
|
8254 |
|
8255 |
-
#: languages/vue.php:
|
8256 |
msgid "1,938"
|
8257 |
msgstr ""
|
8258 |
|
8259 |
-
#: languages/vue.php:
|
8260 |
msgid "2+ Million Active Installs"
|
8261 |
msgstr ""
|
8262 |
|
8263 |
-
#: languages/vue.php:
|
8264 |
msgid "AIOSEO is the DIY Solution for Managing your SEO"
|
8265 |
msgstr ""
|
8266 |
|
8267 |
-
#: languages/vue.php:
|
8268 |
msgid "Set up the proper SEO foundations in less than 10 minutes."
|
8269 |
msgstr ""
|
8270 |
|
8271 |
-
#: languages/vue.php:
|
8272 |
msgid "SEO Audit Checklist"
|
8273 |
msgstr ""
|
8274 |
|
8275 |
-
#: languages/vue.php:
|
8276 |
msgid "Analyze your entire WordPress site to detect critical errors and get actionable insights to boost your SEO and get more traffic."
|
8277 |
msgstr ""
|
8278 |
|
8279 |
-
#: languages/vue.php:
|
8280 |
msgid "Optimize Your Pages For Higher Rankings With TruSEO Score."
|
8281 |
msgstr ""
|
8282 |
|
8283 |
-
#: languages/vue.php:
|
8284 |
msgid "TruSEO Score gives you a more in-depth analysis into your optimization efforts than just a pass or fail. Our actionable checklist helps you to unlock maximum traffic with each page."
|
8285 |
msgstr ""
|
8286 |
|
8287 |
-
#: languages/vue.php:
|
8288 |
msgid "Get AIOSEO for WordPress"
|
8289 |
msgstr ""
|
8290 |
|
8291 |
-
#: languages/vue.php:
|
8292 |
msgid "Get the #1 Most Powerful WordPress SEO Plugin Today"
|
8293 |
msgstr ""
|
8294 |
|
8295 |
-
#: languages/vue.php:
|
8296 |
msgid "Try it out today, for free."
|
8297 |
msgstr ""
|
8298 |
|
8299 |
-
#: languages/vue.php:
|
8300 |
msgid "Join 2,000,000+ Professionals who use AIOSEO to Improve Their Website Search Rankings."
|
8301 |
msgstr ""
|
8302 |
|
8303 |
-
#: languages/vue.php:
|
8304 |
msgid "Activate and Install the Plugin with just one click!"
|
8305 |
msgstr ""
|
8306 |
|
8307 |
-
#: languages/vue.php:
|
8308 |
msgid "Installing AIOSEO..."
|
8309 |
msgstr ""
|
8310 |
|
8311 |
-
#: languages/vue.php:
|
8312 |
msgid "Congrats! All-in-One SEO Installed."
|
8313 |
msgstr ""
|
8314 |
|
8315 |
-
#: languages/vue.php:
|
8316 |
msgid "Switch to AIOSEO"
|
8317 |
msgstr ""
|
8318 |
|
8319 |
-
#: languages/vue.php:
|
8320 |
msgid "Installation Failed. Please refresh and try again."
|
8321 |
msgstr ""
|
8322 |
|
8323 |
-
#: languages/vue.php:
|
8324 |
msgid "Activating AIOSEO..."
|
8325 |
msgstr ""
|
8326 |
|
8327 |
-
#: languages/vue.php:
|
8328 |
msgid "Activate AIOSEO"
|
8329 |
msgstr ""
|
8330 |
|
8331 |
-
#: languages/vue.php:
|
8332 |
msgid "Activation Failed. Please refresh and try again."
|
8333 |
msgstr ""
|
8334 |
|
8335 |
#. Translators: The name of the field that is throwing a validation error.
|
8336 |
-
#: languages/vue.php:
|
8337 |
msgid "%s can't be empty."
|
8338 |
msgstr ""
|
8339 |
|
8340 |
-
#: languages/vue.php:
|
8341 |
msgid "Duplicate values are not allowed."
|
8342 |
msgstr ""
|
8343 |
|
8344 |
-
#: languages/vue.php:
|
8345 |
msgid "You can add maximum 5 items."
|
8346 |
msgstr ""
|
8347 |
|
8348 |
-
#: languages/vue.php:
|
8349 |
msgid "At least 0 item required."
|
8350 |
msgstr ""
|
8351 |
|
8352 |
-
#: languages/vue.php:
|
8353 |
msgid "Add Another Link Path"
|
8354 |
msgstr ""
|
8355 |
|
8356 |
-
#: languages/vue.php:
|
8357 |
msgid "Remove row"
|
8358 |
msgstr ""
|
8359 |
|
8360 |
-
#: languages/vue.php:
|
8361 |
msgid "New"
|
8362 |
msgstr ""
|
8363 |
|
8364 |
-
#: languages/vue.php:
|
8365 |
msgid "Returning"
|
8366 |
msgstr ""
|
8367 |
|
8368 |
-
#: languages/vue.php:
|
8369 |
msgid "Top 10 Countries"
|
8370 |
msgstr ""
|
8371 |
|
8372 |
-
#: languages/vue.php:
|
8373 |
msgid "View Countries Report"
|
8374 |
msgstr ""
|
8375 |
|
8376 |
-
#: languages/vue.php:
|
8377 |
msgid "Top 10 Referrals"
|
8378 |
msgstr ""
|
8379 |
|
8380 |
-
#: languages/vue.php:
|
8381 |
msgid "View All Referral Sources"
|
8382 |
msgstr ""
|
8383 |
|
8384 |
-
#: languages/vue.php:
|
8385 |
msgid "View Full Posts/Pages Report"
|
8386 |
msgstr ""
|
8387 |
|
8388 |
-
#: languages/vue.php:
|
8389 |
msgid "Percentage of single-page visits (or web sessions). It is the number of visits in which a person leaves your website from the landing page without browsing any further."
|
8390 |
msgstr ""
|
8391 |
|
8392 |
-
#: languages/vue.php:
|
8393 |
msgid "This list shows the top countries your website visitors are from."
|
8394 |
msgstr ""
|
8395 |
|
8396 |
-
#: languages/vue.php:
|
8397 |
msgid "This list shows the top websites that send your website traffic, known as referral traffic."
|
8398 |
msgstr ""
|
8399 |
|
8400 |
-
#: languages/vue.php:
|
8401 |
msgid "Export PDF Overview Report"
|
8402 |
msgstr ""
|
8403 |
|
8404 |
-
#: languages/vue.php:
|
8405 |
msgid "Reset to default"
|
8406 |
msgstr ""
|
8407 |
|
8408 |
-
#: languages/vue.php:
|
8409 |
msgid "The value entered does not match the required format"
|
8410 |
msgstr ""
|
8411 |
|
8412 |
-
#: languages/vue.php:
|
8413 |
msgid "Download the analytics reports instantly from the WordPress dashboard as PDF files and share them with anyone."
|
8414 |
msgstr ""
|
8415 |
|
8416 |
-
#: languages/vue.php:
|
8417 |
msgid "Our email summaries feature sends a weekly summary of the most important site analytics information."
|
8418 |
msgstr ""
|
8419 |
|
8420 |
-
#: languages/vue.php:
|
8421 |
msgid "Recommended Settings"
|
8422 |
msgstr ""
|
8423 |
|
8424 |
-
#: languages/vue.php:
|
8425 |
msgid "MonsterInsights recommends the following settings based on your configuration."
|
8426 |
msgstr ""
|
8427 |
|
8428 |
-
#: languages/vue.php:
|
8429 |
msgid "Events Tracking"
|
8430 |
msgstr ""
|
8431 |
|
8432 |
-
#: languages/vue.php:
|
8433 |
msgid "Must have for all click tracking on site."
|
8434 |
msgstr ""
|
8435 |
|
8436 |
-
#: languages/vue.php:
|
8437 |
msgid "MonsterInsights uses an advanced system to automatically detect all outbound links, download links, affiliate links, telephone links, mail links, and more automatically. We do all the work for you so you don't have to write any code."
|
8438 |
msgstr ""
|
8439 |
|
8440 |
-
#: languages/vue.php:
|
8441 |
msgid "Enhanced Link Attribution"
|
8442 |
msgstr ""
|
8443 |
|
8444 |
-
#: languages/vue.php:
|
8445 |
msgid "Improves the accuracy of your In-Page Analytics."
|
8446 |
msgstr ""
|
8447 |
|
8448 |
-
#: languages/vue.php:
|
8449 |
msgid "MonsterInsights will automatically help Google determine which links are unique and where they are on your site so that your In-Page Analytics reporting will be more accurate."
|
8450 |
msgstr ""
|
8451 |
|
8452 |
-
#: languages/vue.php:
|
8453 |
msgid "Install Updates Automatically"
|
8454 |
msgstr ""
|
8455 |
|
8456 |
-
#: languages/vue.php:
|
8457 |
msgid "Get the latest features, bug fixes, and security updates as they are released."
|
8458 |
msgstr ""
|
8459 |
|
8460 |
-
#: languages/vue.php:
|
8461 |
msgid "To ensure you get the latest bug fixes and security updates and avoid needing to spend time logging into your WordPress site to update MonsterInsights, we offer the ability to automatically have MonsterInsights update itself."
|
8462 |
msgstr ""
|
8463 |
|
8464 |
-
#: languages/vue.php:
|
8465 |
msgid "File Download Tracking"
|
8466 |
msgstr ""
|
8467 |
|
8468 |
-
#: languages/vue.php:
|
8469 |
msgid "Helps you see file downloads data."
|
8470 |
msgstr ""
|
8471 |
|
8472 |
-
#: languages/vue.php:
|
8473 |
msgid "MonsterInsights will automatically track downloads of common file types from links you have inserted onto your website. For example: want to know how many of your site's visitors have downloaded a PDF or other file you offer your visitors to download on your site? MonsterInsights makes this both easy, and code-free! You can customize the file types to track at any time from our settings panel."
|
8474 |
msgstr ""
|
8475 |
|
8476 |
-
#: languages/vue.php:
|
8477 |
msgid "Helps you increase affiliate revenue."
|
8478 |
msgstr ""
|
8479 |
|
8480 |
-
#: languages/vue.php:
|
8481 |
msgid "MonsterInsights will automatically help you track affiliate links that use internal looking urls like example.com/go/ or example.com/refer/. You can add custom affiliate patterns on our settings panel when you finish the onboarding wizard."
|
8482 |
msgstr ""
|
8483 |
|
8484 |
-
#: languages/vue.php:
|
8485 |
msgid "Affiliate Link Tracking"
|
8486 |
msgstr ""
|
8487 |
|
8488 |
-
#: languages/vue.php:
|
8489 |
msgid "Who Can See Reports"
|
8490 |
msgstr ""
|
8491 |
|
8492 |
-
#: languages/vue.php:
|
8493 |
msgid "These user roles will be able to access MonsterInsights' reports in the WordPress admin area."
|
8494 |
msgstr ""
|
8495 |
|
8496 |
-
#: languages/vue.php:
|
8497 |
msgid "Save and continue"
|
8498 |
msgstr ""
|
8499 |
|
8500 |
-
#: languages/vue.php:
|
8501 |
msgid "Events Tracking is enabled the moment you set up MonsterInsights"
|
8502 |
msgstr ""
|
8503 |
|
8504 |
-
#: languages/vue.php:
|
8505 |
msgid "Enhanced Link Attribution is enabled the moment you set up MonsterInsights"
|
8506 |
msgstr ""
|
8507 |
|
8508 |
-
#: languages/vue.php:
|
8509 |
msgid "+ Add Role"
|
8510 |
msgstr ""
|
8511 |
|
8512 |
-
#: languages/vue.php:
|
8513 |
msgid "Connect MonsterInsights to Your Website"
|
8514 |
msgstr ""
|
8515 |
|
8516 |
-
#: languages/vue.php:
|
8517 |
msgid "MonsterInsights connects Google Analytics to WordPress and shows you stats that matter."
|
8518 |
msgstr ""
|
8519 |
|
8520 |
-
#: languages/vue.php:
|
8521 |
msgid "Whoops, something went wrong and we weren't able to connect to MonsterInsights. Please enter your Google UA code manually."
|
8522 |
msgstr ""
|
8523 |
|
8524 |
-
#: languages/vue.php:
|
8525 |
msgid "Save and Continue"
|
8526 |
msgstr ""
|
8527 |
|
8528 |
-
#: languages/vue.php:
|
8529 |
msgid "UA code can't be empty"
|
8530 |
msgstr ""
|
8531 |
|
8532 |
-
#: languages/vue.php:
|
8533 |
msgid "Saving UA code..."
|
8534 |
msgstr ""
|
8535 |
|
8536 |
-
#: languages/vue.php:
|
8537 |
msgid "Allow usage tracking"
|
8538 |
msgstr ""
|
8539 |
|
8540 |
-
#: languages/vue.php:
|
8541 |
msgid "Adjust the sample rate so you don't exceed Google Analytics' processing limit. Can also be used to enable Google Optimize for A/B testing and personalization."
|
8542 |
msgstr ""
|
8543 |
|
8544 |
-
#: languages/vue.php:
|
8545 |
msgid "Install All-in-One SEO"
|
8546 |
msgstr ""
|
8547 |
|
8548 |
-
#: languages/vue.php:
|
8549 |
msgid "Improve Your Website Search Rankings With All-In-One SEO"
|
8550 |
msgstr ""
|
8551 |
|
8552 |
-
#: languages/vue.php:
|
8553 |
msgid "If you’re not using a plugin to optimize your website’s SEO you’re missing out on valuable organic traffic!"
|
8554 |
msgstr ""
|
8555 |
|
8556 |
-
#: languages/vue.php:
|
8557 |
msgid "Finally, a WordPress SEO Plugin that’s Easy and Powerful!"
|
8558 |
msgstr ""
|
8559 |
|
8560 |
-
#: languages/vue.php:
|
8561 |
msgid "AIOSEO makes it easy to set up the proper SEO foundations in less than 10 minutes."
|
8562 |
msgstr ""
|
8563 |
|
8564 |
-
#: languages/vue.php:
|
8565 |
msgid "Local SEO"
|
8566 |
msgstr ""
|
8567 |
|
8568 |
-
#: languages/vue.php:
|
8569 |
msgid "All in One SEO gives you all the tools you need to improve your local SEO and rank higher on Google Maps."
|
8570 |
msgstr ""
|
8571 |
|
8572 |
-
#: languages/vue.php:
|
8573 |
msgid "WooCommerce SEO"
|
8574 |
msgstr ""
|
8575 |
|
8576 |
-
#: languages/vue.php:
|
8577 |
msgid "Advanced eCommerce SEO support for WooCommerce to optimize product pages, product categories, and more."
|
8578 |
msgstr ""
|
8579 |
|
8580 |
-
#: languages/vue.php:
|
8581 |
msgid "SEO Custom User Roles"
|
8582 |
msgstr ""
|
8583 |
|
8584 |
-
#: languages/vue.php:
|
8585 |
msgid "SEO user roles allow you to manage access to important SEO features without handing over control of your website."
|
8586 |
msgstr ""
|
8587 |
|
8588 |
-
#: languages/vue.php:
|
8589 |
msgid "Google News Sitemap"
|
8590 |
msgstr ""
|
8591 |
|
8592 |
-
#: languages/vue.php:
|
8593 |
msgid "Get higher rankings and unlock more traffic by submitting your latest news articles to Google News."
|
8594 |
msgstr ""
|
8595 |
|
8596 |
-
#: languages/vue.php:
|
8597 |
msgid "Smart XML Sitemaps"
|
8598 |
msgstr ""
|
8599 |
|
8600 |
-
#: languages/vue.php:
|
8601 |
msgid "Automatically generate a WordPress XML sitemap and notify all search engines of any updates."
|
8602 |
msgstr ""
|
8603 |
|
8604 |
-
#: languages/vue.php:
|
8605 |
msgid "Social Media Integration"
|
8606 |
msgstr ""
|
8607 |
|
8608 |
-
#: languages/vue.php:
|
8609 |
msgid "Easily control how your content and thumbnails look on Facebook, Twitter, and other social media networks."
|
8610 |
msgstr ""
|
8611 |
|
8612 |
-
#: languages/vue.php:
|
8613 |
msgid "TruSEO On-Page Analysis"
|
8614 |
msgstr ""
|
8615 |
|
8616 |
-
#: languages/vue.php:
|
8617 |
msgid "Easily add title tags, meta descriptions, keywords, and everything else you need for proper on-page SEO optimization."
|
8618 |
msgstr ""
|
8619 |
|
8620 |
-
#: languages/vue.php:
|
8621 |
msgid "& Many More!"
|
8622 |
msgstr ""
|
8623 |
|
8624 |
-
#: languages/vue.php:
|
8625 |
msgid "Installing. Please wait.."
|
8626 |
msgstr ""
|
8627 |
|
8628 |
-
#: languages/vue.php:
|
8629 |
msgid "Install All-in-One-SEO"
|
8630 |
msgstr ""
|
8631 |
|
8632 |
-
#: languages/vue.php:
|
8633 |
msgid "Welcome to MonsterInsights!"
|
8634 |
msgstr ""
|
8635 |
|
8636 |
-
#: languages/vue.php:
|
8637 |
msgid "Let's get you set up."
|
8638 |
msgstr ""
|
8639 |
|
8640 |
-
#: languages/vue.php:
|
8641 |
msgid "Which category best describes your website?"
|
8642 |
msgstr ""
|
8643 |
|
8644 |
-
#: languages/vue.php:
|
8645 |
msgid "We will recommend the optimal settings for MonsterInsights based on your choice."
|
8646 |
msgstr ""
|
8647 |
|
8648 |
-
#: languages/vue.php:
|
8649 |
msgid "Business Website"
|
8650 |
msgstr ""
|
8651 |
|
8652 |
#. Translators: Make text bold.
|
8653 |
-
#: languages/vue.php:
|
8654 |
msgid "Publisher %1$s(Blog)%2$s"
|
8655 |
msgstr ""
|
8656 |
|
8657 |
-
#: languages/vue.php:
|
8658 |
msgid "Ecommerce"
|
8659 |
msgstr ""
|
8660 |
|
8661 |
-
#: languages/vue.php:
|
8662 |
msgid "Caching"
|
8663 |
msgstr ""
|
8664 |
|
8665 |
-
#: languages/vue.php:
|
8666 |
msgid "Enable Data Caching"
|
8667 |
msgstr ""
|
8668 |
|
8669 |
-
#: languages/vue.php:
|
8670 |
msgid "Refresh Cache Every"
|
8671 |
msgstr ""
|
8672 |
|
8673 |
-
#: languages/vue.php:
|
8674 |
msgid "Choose how often to refresh the cache."
|
8675 |
msgstr ""
|
8676 |
|
8677 |
-
#: languages/vue.php:
|
8678 |
msgid "Enable Ajaxify"
|
8679 |
msgstr ""
|
8680 |
|
8681 |
-
#: languages/vue.php:
|
8682 |
msgid "Ajaxify Widget"
|
8683 |
msgstr ""
|
8684 |
|
8685 |
-
#: languages/vue.php:
|
8686 |
msgid "Use to bypass page caching."
|
8687 |
msgstr ""
|
8688 |
|
8689 |
-
#: languages/vue.php:
|
8690 |
msgid "Empty Cache"
|
8691 |
msgstr ""
|
8692 |
|
8693 |
-
#: languages/vue.php:
|
8694 |
msgid "Click to manually wipe the cache right now."
|
8695 |
msgstr ""
|
8696 |
|
8697 |
-
#: languages/vue.php:
|
8698 |
msgid "Popular posts cache emptied"
|
8699 |
msgstr ""
|
8700 |
|
8701 |
-
#: languages/vue.php:
|
8702 |
msgid "Error emptying the popular posts cache. Please try again."
|
8703 |
msgstr ""
|
8704 |
|
8705 |
-
#: languages/vue.php:
|
8706 |
msgid "Choose Theme"
|
8707 |
msgstr ""
|
8708 |
|
8709 |
-
#: languages/vue.php:
|
8710 |
msgid "Widget Styling"
|
8711 |
msgstr ""
|
8712 |
|
8713 |
-
#: languages/vue.php:
|
8714 |
msgid "Choose how you want to determine the colors, font sizes and spacing of the widget."
|
8715 |
msgstr ""
|
8716 |
|
8717 |
-
#: languages/vue.php:
|
8718 |
msgid "Sort By"
|
8719 |
msgstr ""
|
8720 |
|
8721 |
-
#: languages/vue.php:
|
8722 |
msgid "Choose how you'd like the widget to determine your popular posts."
|
8723 |
msgstr ""
|
8724 |
|
8725 |
-
#: languages/vue.php:
|
8726 |
msgid "Display Title"
|
8727 |
msgstr ""
|
8728 |
|
8729 |
-
#: languages/vue.php:
|
8730 |
msgid "Title your widget and set its display preferences."
|
8731 |
msgstr ""
|
8732 |
|
8733 |
-
#: languages/vue.php:
|
8734 |
msgid "Include in Post Types"
|
8735 |
msgstr ""
|
8736 |
|
8737 |
-
#: languages/vue.php:
|
8738 |
msgid "Exclude from specific posts"
|
8739 |
msgstr ""
|
8740 |
|
8741 |
#. Translators: Placeholders make the text bold.
|
8742 |
-
#: languages/vue.php:
|
8743 |
msgid "Choose which Post Types the widget %1$sWILL%2$s be placed."
|
8744 |
msgstr ""
|
8745 |
|
8746 |
#. Translators: Placeholders make the text bold.
|
8747 |
-
#: languages/vue.php:
|
8748 |
msgid "Choose from which Posts the widget %1$sWILL NOT%2$s be placed."
|
8749 |
msgstr ""
|
8750 |
|
8751 |
-
#: languages/vue.php:
|
8752 |
msgid "Loading Themes"
|
8753 |
msgstr ""
|
8754 |
|
8755 |
#. Translators: placeholders make text small.
|
8756 |
-
#: languages/vue.php:
|
8757 |
msgid "Default Styles %1$s- As seen above.%2$s"
|
8758 |
msgstr ""
|
8759 |
|
8760 |
#. Translators: placeholders make text small.
|
8761 |
-
#: languages/vue.php:
|
8762 |
msgid "No Styles %1$s- Use your own CSS.%2$s"
|
8763 |
msgstr ""
|
8764 |
|
8765 |
#. Translators: placeholders make text small.
|
8766 |
-
#: languages/vue.php:
|
8767 |
msgid "Comments %1$s- Randomly rotate your most commented on posts from the past 30 days.%2$s"
|
8768 |
msgstr ""
|
8769 |
|
8770 |
#. Translators: placeholders make text small.
|
8771 |
-
#: languages/vue.php:
|
8772 |
msgid "SharedCount %1$s- Connect with your SharedCount account to determine popular posts by share count.%2$s"
|
8773 |
msgstr ""
|
8774 |
|
8775 |
#. Translators: placeholders make text small.
|
8776 |
-
#: languages/vue.php:
|
8777 |
msgid "Curated %1$s- Choose the posts which will randomly rotate in the widget.%2$s"
|
8778 |
msgstr ""
|
8779 |
|
8780 |
-
#: languages/vue.php:
|
8781 |
msgid "Placement"
|
8782 |
msgstr ""
|
8783 |
|
8784 |
-
#: languages/vue.php:
|
8785 |
msgid "Choose how you'd like to place the widget."
|
8786 |
msgstr ""
|
8787 |
|
8788 |
-
#: languages/vue.php:
|
8789 |
msgid "Insert After"
|
8790 |
msgstr ""
|
8791 |
|
8792 |
-
#: languages/vue.php:
|
8793 |
msgid "Choose where in the post body the widget will be placed."
|
8794 |
msgstr ""
|
8795 |
|
8796 |
-
#: languages/vue.php:
|
8797 |
msgid "Customize Design"
|
8798 |
msgstr ""
|
8799 |
|
8800 |
-
#: languages/vue.php:
|
8801 |
msgid "words"
|
8802 |
msgstr ""
|
8803 |
|
8804 |
-
#: languages/vue.php:
|
8805 |
msgid "Please select at least one post to display."
|
8806 |
msgstr ""
|
8807 |
|
8808 |
#. Translators: placeholders make text small.
|
8809 |
-
#: languages/vue.php:
|
8810 |
msgid "Automatic %1$s- The widget is automatically placed inside the post body.%2$s"
|
8811 |
msgstr ""
|
8812 |
|
8813 |
#. Translators: placeholders make text small.
|
8814 |
-
#: languages/vue.php:
|
8815 |
msgid "Manual %1$s- Manually place the widget using Gutenberg blocks or using our shortcode.%2$s"
|
8816 |
msgstr ""
|
8817 |
|
8818 |
-
#: languages/vue.php:
|
8819 |
msgid "Facebook Instant Articles"
|
8820 |
msgstr ""
|
8821 |
|
8822 |
-
#: languages/vue.php:
|
8823 |
msgid "Want to expand your website audience beyond your website with Facebook Instant Articles? Upgrade to MonsterInsights Pro."
|
8824 |
msgstr ""
|
8825 |
|
8826 |
-
#: languages/vue.php:
|
8827 |
msgid "Want to use track users visiting your AMP pages? By upgrading to MonsterInsights Pro, you can enable AMP page tracking."
|
8828 |
msgstr ""
|
8829 |
|
8830 |
-
#: languages/vue.php:
|
8831 |
msgid "Ads Tracking"
|
8832 |
msgstr ""
|
8833 |
|
8834 |
-
#: languages/vue.php:
|
8835 |
msgid "Add Ads tracking to see who's clicking on your Google Ads, so you can increase your revenue."
|
8836 |
msgstr ""
|
8837 |
|
8838 |
-
#: languages/vue.php:
|
8839 |
msgid "2,000,000+ use AIOSEO to Improve Their Website Search Rankings"
|
8840 |
msgstr ""
|
8841 |
|
8842 |
-
#: languages/vue.php:
|
8843 |
msgid "All-in-One SEO is a great product. I have been using it on all my WP sites for several years. I highly recommend it."
|
8844 |
msgstr ""
|
8845 |
|
8846 |
-
#: languages/vue.php:
|
8847 |
msgid "Jack Brown"
|
8848 |
msgstr ""
|
8849 |
|
8850 |
-
#: languages/vue.php:
|
8851 |
msgid "PJB Internet Marketing"
|
8852 |
msgstr ""
|
8853 |
|
8854 |
-
#: languages/vue.php:
|
8855 |
msgid "I’m a professional SEO and used many tools and extensions. Regarding simplicity, individuality and configurability All in One SEO Pro is by far the best SEO plugin out there for WordPress."
|
8856 |
msgstr ""
|
8857 |
|
8858 |
-
#: languages/vue.php:
|
8859 |
msgid "Joel Steinmann"
|
8860 |
msgstr ""
|
8861 |
|
8862 |
-
#: languages/vue.php:
|
8863 |
msgid "CEO, Solergo"
|
8864 |
msgstr ""
|
8865 |
|
8866 |
-
#: languages/vue.php:
|
8867 |
msgid "Recommended Addons"
|
8868 |
msgstr ""
|
8869 |
|
8870 |
-
#: languages/vue.php:
|
8871 |
msgid "To unlock more features consider upgrading to PRO. As a valued MonsterInsights Lite user you receive 50% off, automatically applied at checkout!"
|
8872 |
msgstr ""
|
8873 |
|
8874 |
-
#: languages/vue.php:
|
8875 |
msgid "Other Addons"
|
8876 |
msgstr ""
|
8877 |
|
8878 |
-
#: languages/vue.php:
|
8879 |
msgid "View all MonsterInsights addons"
|
8880 |
msgstr ""
|
8881 |
|
8882 |
-
#: languages/vue.php:
|
8883 |
msgid "Scroll Tracking"
|
8884 |
msgstr ""
|
8885 |
|
8886 |
-
#: languages/vue.php:
|
8887 |
msgid "Scroll depth tracking allows you to see how far your users scroll before they leave a page. This is great for publishers (bloggers), and eCommerce websites to boost conversions."
|
8888 |
msgstr ""
|
8889 |
|
8890 |
-
#: languages/vue.php:
|
8891 |
msgid ""
|
8892 |
"The EU Compliance addon allows you to improve compliance with GDPR\n"
|
8893 |
" and other privacy regulations."
|
8894 |
msgstr ""
|
8895 |
|
8896 |
-
#: languages/vue.php:
|
8897 |
msgid "EU Compliance"
|
8898 |
msgstr ""
|
8899 |
|
8900 |
-
#: languages/vue.php:
|
8901 |
msgid "Compatibility mode"
|
8902 |
msgstr ""
|
8903 |
|
8904 |
-
#: languages/vue.php:
|
8905 |
msgid "Enable _gtagTracker Compatibility"
|
8906 |
msgstr ""
|
8907 |
|
8908 |
#. Translators: Placeholder gets replaced with default GA js function.
|
8909 |
-
#: languages/vue.php:
|
8910 |
msgid "This enables MonsterInsights to work with plugins that use %1$s and don't support %2$s"
|
8911 |
msgstr ""
|
8912 |
|
8913 |
#. Translators: Page number of total pages. 1 & 2 make the first part of the text bold.
|
8914 |
-
#: languages/vue.php:
|
8915 |
msgid "%1$sPage %3$s%2$s of %4$s"
|
8916 |
msgstr ""
|
8917 |
|
8918 |
-
#: languages/vue.php:
|
8919 |
#: lite/includes/popular-posts/class-popular-posts-widget-sidebar.php:257
|
8920 |
msgid "Theme Preview"
|
8921 |
msgstr ""
|
8922 |
|
8923 |
-
#: languages/vue.php:
|
8924 |
msgid "Wide"
|
8925 |
msgstr ""
|
8926 |
|
8927 |
-
#: languages/vue.php:
|
8928 |
msgid "Narrow"
|
8929 |
msgstr ""
|
8930 |
|
8931 |
-
#: languages/vue.php:
|
8932 |
msgid "Title"
|
8933 |
msgstr ""
|
8934 |
|
8935 |
-
#: languages/vue.php:
|
8936 |
msgid "Color"
|
8937 |
msgstr ""
|
8938 |
|
8939 |
-
#: languages/vue.php:
|
8940 |
msgid "Size"
|
8941 |
msgstr ""
|
8942 |
|
8943 |
-
#: languages/vue.php:
|
8944 |
msgid "Border"
|
8945 |
msgstr ""
|
8946 |
|
8947 |
-
#: languages/vue.php:
|
8948 |
msgid "Author/Date"
|
8949 |
msgstr ""
|
8950 |
|
8951 |
-
#: languages/vue.php:
|
8952 |
msgid "Label"
|
8953 |
msgstr ""
|
8954 |
|
8955 |
-
#: languages/vue.php:
|
8956 |
msgid "Background"
|
8957 |
msgstr ""
|
8958 |
|
8959 |
-
#: languages/vue.php:
|
8960 |
msgid "Choose which content you would like displayed in the widget."
|
8961 |
msgstr ""
|
8962 |
|
8963 |
-
#: languages/vue.php:
|
8964 |
msgid "Comments"
|
8965 |
msgstr ""
|
8966 |
|
8967 |
-
#: languages/vue.php:
|
8968 |
msgid "Choose how many posts you’d like displayed in the widget."
|
8969 |
msgstr ""
|
8970 |
|
8971 |
-
#: languages/vue.php:
|
8972 |
msgid "Popular Posts data can be fetched correctly"
|
8973 |
msgstr ""
|
8974 |
|
8975 |
-
#: languages/vue.php:
|
8976 |
msgid "Please note: depending on when you
|
2 |
# This file is distributed under the same license as the ExactMetrics Pro plugin.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: ExactMetrics Pro 7.5.1\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/monsterinsights-temp\n"
|
7 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
8 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"POT-Creation-Date: 2022-05-04T06:50:50+00:00\n"
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
"X-Generator: WP-CLI 2.6.0\n"
|
15 |
"X-Domain: google-analytics-for-wordpress\n"
|
98 |
#: includes/admin/admin.php:31
|
99 |
#: includes/admin/admin.php:34
|
100 |
#: includes/admin/admin.php:42
|
101 |
+
#: includes/admin/wp-site-health.php:37
|
102 |
#: includes/emails/class-emails.php:254
|
103 |
#: lite/includes/admin/dashboard-widget.php:99
|
104 |
#: lite/includes/admin/wp-site-health.php:246
|
120 |
#: includes/admin/admin.php:126
|
121 |
#: includes/admin/em-admin.php:18
|
122 |
#: includes/admin/em-admin.php:21
|
123 |
+
#: languages/vue.php:249
|
124 |
msgid "Insights"
|
125 |
msgstr ""
|
126 |
|
143 |
|
144 |
#: includes/admin/admin.php:39
|
145 |
#: includes/admin/admin.php:130
|
146 |
+
#: languages/vue.php:2010
|
147 |
msgid "Reports"
|
148 |
msgstr ""
|
149 |
|
153 |
|
154 |
#: includes/admin/admin.php:51
|
155 |
#: languages/gutenberg.php:83
|
156 |
+
#: languages/vue.php:894
|
157 |
msgid "Popular Posts"
|
158 |
msgstr ""
|
159 |
|
187 |
|
188 |
#: includes/admin/admin.php:71
|
189 |
#: includes/admin/admin.php:146
|
190 |
+
#: languages/vue.php:505
|
191 |
msgid "About Us"
|
192 |
msgstr ""
|
193 |
|
206 |
#: includes/admin/admin.php:76
|
207 |
#: includes/admin/notifications/notification-upgrade-to-pro-high-traffic.php:41
|
208 |
#: includes/admin/notifications/notification-upgrade-to-pro.php:33
|
209 |
+
#: languages/vue.php:1429
|
210 |
msgid "Upgrade to Pro"
|
211 |
msgstr ""
|
212 |
|
234 |
|
235 |
#: includes/admin/admin.php:212
|
236 |
#: includes/admin/admin.php:215
|
237 |
+
#: languages/vue.php:918
|
238 |
msgid "Support"
|
239 |
msgstr ""
|
240 |
|
246 |
#: includes/admin/notifications/notification-upgrade-for-google-optimize.php:32
|
247 |
#: includes/admin/notifications/notification-upgrade-for-post-templates.php:32
|
248 |
#: includes/admin/reports/abstract-report.php:418
|
249 |
+
#: languages/vue.php:1426
|
250 |
msgid "Get MonsterInsights Pro"
|
251 |
msgstr ""
|
252 |
|
256 |
msgstr ""
|
257 |
|
258 |
#: includes/admin/admin.php:324
|
259 |
+
#: languages/vue.php:490
|
260 |
msgid "Please Setup Website Analytics to See Audience Insights"
|
261 |
msgstr ""
|
262 |
|
263 |
#: includes/admin/admin.php:325
|
264 |
+
#: languages/vue.php:496
|
265 |
msgid "Connect MonsterInsights and Setup Website Analytics"
|
266 |
msgstr ""
|
267 |
|
271 |
#: includes/admin/common.php:955
|
272 |
#: includes/admin/notifications/notification-audience.php:45
|
273 |
#: includes/admin/notifications/notification-bounce-rate.php:47
|
|
|
274 |
#: includes/admin/notifications/notification-headline-analyzer.php:39
|
275 |
#: includes/admin/notifications/notification-mobile-device-low-traffic.php:41
|
276 |
#: includes/admin/notifications/notification-returning-visitors.php:43
|
277 |
#: includes/admin/notifications/notification-traffic-dropping.php:43
|
278 |
+
#: languages/vue.php:443
|
279 |
msgid "Learn More"
|
280 |
msgstr ""
|
281 |
|
282 |
#: includes/admin/admin.php:329
|
283 |
+
#: languages/vue.php:493
|
284 |
msgid "MonsterInsights, WordPress analytics plugin, helps you connect your website with Google Analytics, so you can see how people find and use your website. Over 3 million website owners use MonsterInsights to see the stats that matter and grow their business."
|
285 |
msgstr ""
|
286 |
|
291 |
|
292 |
#. Translators: Adds a link to the license renewal.
|
293 |
#: includes/admin/admin.php:350
|
294 |
+
#: languages/vue.php:722
|
295 |
msgid "Your license key for MonsterInsights has expired. %1$sPlease click here to renew your license key.%2$s"
|
296 |
msgstr ""
|
297 |
|
298 |
#: includes/admin/admin.php:352
|
299 |
+
#: languages/vue.php:725
|
300 |
msgid "Your license key for MonsterInsights has been disabled. Please use a different key."
|
301 |
msgstr ""
|
302 |
|
303 |
#: includes/admin/admin.php:354
|
304 |
+
#: languages/vue.php:728
|
305 |
msgid "Your license key for MonsterInsights is invalid. The key no longer exists or the user associated with the key has been deleted. Please use a different key."
|
306 |
msgstr ""
|
307 |
|
505 |
msgstr ""
|
506 |
|
507 |
#: includes/admin/common.php:951
|
508 |
+
#: languages/vue.php:3495
|
509 |
msgid "See how your website performed this year and find tips along the way to help grow even more in 2022!"
|
510 |
msgstr ""
|
511 |
|
512 |
+
#: includes/admin/exclude-page-metabox.php:127
|
513 |
+
#: languages/gutenberg.php:185
|
514 |
msgid "Exclude page from Google Analytics Tracking"
|
515 |
msgstr ""
|
516 |
|
517 |
+
#: includes/admin/exclude-page-metabox.php:131
|
518 |
+
#: languages/gutenberg.php:182
|
519 |
msgid "Toggle to prevent Google Analytics from tracking this page."
|
520 |
msgstr ""
|
521 |
|
522 |
+
#: includes/admin/exclude-page-metabox.php:143
|
523 |
+
#: languages/gutenberg.php:176
|
524 |
msgid "This is a PRO feature."
|
525 |
msgstr ""
|
526 |
|
527 |
+
#: includes/admin/exclude-page-metabox.php:147
|
528 |
+
#: languages/gutenberg.php:179
|
529 |
+
#: languages/vue.php:2400
|
530 |
msgid "Upgrade"
|
531 |
msgstr ""
|
532 |
|
583 |
msgstr ""
|
584 |
|
585 |
#: includes/admin/notifications/notification-bounce-rate.php:37
|
586 |
+
msgid "Your Website Bounce Rate is Higher Than %s"
|
587 |
msgstr ""
|
588 |
|
589 |
#. Translators: Bounce rate notification content.
|
591 |
msgid "Your site's bounce rate is %1$s. Double check your site is working properly and be sure it loads quickly. %2$sHere%3$s are some points to remember and steps to follow to get your bounce rates back to manageable levels."
|
592 |
msgstr ""
|
593 |
|
594 |
+
#: includes/admin/notifications/notification-dual-tracking.php:32
|
595 |
+
msgid "Enable Dual Tracking and Start Using Google Analytics 4 Today"
|
596 |
msgstr ""
|
597 |
|
598 |
+
#: includes/admin/notifications/notification-dual-tracking.php:34
|
599 |
+
msgid "On July 1, 2023, Google Analytics will not track any website data for Universal Analytics (GA3). Be prepared for the future by enabling Dual Tracking inside %s to future-proof your website. We've made it easy to upgrade."
|
600 |
msgstr ""
|
601 |
|
602 |
+
#: includes/admin/notifications/notification-dual-tracking.php:40
|
603 |
msgid "Setup now"
|
604 |
msgstr ""
|
605 |
|
606 |
+
#: includes/admin/notifications/notification-dual-tracking.php:44
|
607 |
+
msgid "How To Enable Dual Tracking"
|
608 |
+
msgstr ""
|
609 |
+
|
610 |
#: includes/admin/notifications/notification-headline-analyzer.php:33
|
611 |
msgid "Try the Headline Analyzer to Boost Your Clicks & Traffic"
|
612 |
msgstr ""
|
724 |
#: includes/admin/notifications/notification-upgrade-for-custom-dimensions.php:26
|
725 |
#: includes/admin/notifications/notification-upgrade-for-events-reporting.php:26
|
726 |
#: includes/admin/notifications/notification-upgrade-for-post-templates.php:26
|
727 |
+
#: languages/vue.php:1279
|
728 |
+
#: lite/includes/admin/helpers.php:85
|
729 |
msgid "Upgrade to MonsterInsights Pro"
|
730 |
msgstr ""
|
731 |
|
760 |
#: includes/admin/notifications/notification-upgrade-for-form-conversion.php:31
|
761 |
#: includes/admin/notifications/notification-upgrade-for-search-console.php:32
|
762 |
#: includes/admin/reports/abstract-report.php:415
|
763 |
+
#: languages/vue.php:288
|
764 |
msgid "Upgrade Now"
|
765 |
msgstr ""
|
766 |
|
937 |
msgstr ""
|
938 |
|
939 |
#: includes/admin/reports/overview.php:34
|
940 |
+
#: languages/vue.php:572
|
941 |
msgid "Overview"
|
942 |
msgstr ""
|
943 |
|
1115 |
msgid "Once Weekly"
|
1116 |
msgstr ""
|
1117 |
|
1118 |
+
#: includes/admin/wp-site-health.php:12
|
1119 |
+
msgid "MonsterInsights Dual Tracking"
|
1120 |
+
msgstr ""
|
1121 |
+
|
1122 |
+
#: includes/admin/wp-site-health.php:34
|
1123 |
+
msgid "Enable Google Analytics 4"
|
1124 |
+
msgstr ""
|
1125 |
+
|
1126 |
+
#: includes/admin/wp-site-health.php:40
|
1127 |
+
msgid "Starting July 1, 2023, Google's Universal Analytics (GA3) will not accept any new traffic or event data. Upgrade to Google Analytics 4 today to be prepared for the sunset."
|
1128 |
+
msgstr ""
|
1129 |
+
|
1130 |
+
#: includes/admin/wp-site-health.php:44
|
1131 |
+
msgid "Set Up Dual Tracking"
|
1132 |
+
msgstr ""
|
1133 |
+
|
1134 |
#. Translators: Placeholder gets replaced with the error message.
|
1135 |
#: includes/api-request.php:192
|
1136 |
msgid "The firewall of your server is blocking outbound calls. Please contact your hosting provider to fix this issue. %s"
|
1449 |
msgstr ""
|
1450 |
|
1451 |
#: includes/gutenberg/headline-tool/headline-tool.php:290
|
1452 |
+
#: languages/vue.php:529
|
1453 |
msgid "General"
|
1454 |
msgstr ""
|
1455 |
|
1570 |
msgstr ""
|
1571 |
|
1572 |
#: includes/gutenberg/headline-tool/headline-tool.php:388
|
1573 |
+
msgid "fire"
|
1574 |
msgstr ""
|
1575 |
|
1576 |
#: includes/gutenberg/headline-tool/headline-tool.php:389
|
1578 |
msgstr ""
|
1579 |
|
1580 |
#: includes/gutenberg/headline-tool/headline-tool.php:390
|
1581 |
+
msgid "fleece"
|
1582 |
msgstr ""
|
1583 |
|
1584 |
#: includes/gutenberg/headline-tool/headline-tool.php:391
|
1594 |
msgstr ""
|
1595 |
|
1596 |
#: includes/gutenberg/headline-tool/headline-tool.php:394
|
1597 |
+
msgid "floundering"
|
1598 |
msgstr ""
|
1599 |
|
1600 |
#: includes/gutenberg/headline-tool/headline-tool.php:395
|
1610 |
msgstr ""
|
1611 |
|
1612 |
#: includes/gutenberg/headline-tool/headline-tool.php:398
|
1613 |
+
msgid "flush"
|
1614 |
msgstr ""
|
1615 |
|
1616 |
#: includes/gutenberg/headline-tool/headline-tool.php:399
|
1654 |
msgstr ""
|
1655 |
|
1656 |
#: includes/gutenberg/headline-tool/headline-tool.php:409
|
1657 |
+
msgid "for the first time"
|
1658 |
msgstr ""
|
1659 |
|
1660 |
#: includes/gutenberg/headline-tool/headline-tool.php:410
|
1730 |
msgstr ""
|
1731 |
|
1732 |
#: includes/gutenberg/headline-tool/headline-tool.php:428
|
1733 |
+
msgid "horrific"
|
1734 |
msgstr ""
|
1735 |
|
1736 |
#: includes/gutenberg/headline-tool/headline-tool.php:429
|
1790 |
msgstr ""
|
1791 |
|
1792 |
#: includes/gutenberg/headline-tool/headline-tool.php:443
|
1793 |
+
msgid "fulfill"
|
1794 |
msgstr ""
|
1795 |
|
1796 |
#: includes/gutenberg/headline-tool/headline-tool.php:444
|
1950 |
msgstr ""
|
1951 |
|
1952 |
#: includes/gutenberg/headline-tool/headline-tool.php:483
|
1953 |
+
msgid "profit"
|
1954 |
msgstr ""
|
1955 |
|
1956 |
#: includes/gutenberg/headline-tool/headline-tool.php:484
|
2174 |
msgstr ""
|
2175 |
|
2176 |
#: includes/gutenberg/headline-tool/headline-tool.php:539
|
2177 |
+
msgid "six-figure"
|
2178 |
msgstr ""
|
2179 |
|
2180 |
#: includes/gutenberg/headline-tool/headline-tool.php:540
|
2346 |
msgstr ""
|
2347 |
|
2348 |
#: includes/gutenberg/headline-tool/headline-tool.php:582
|
2349 |
+
msgid "temporary fix"
|
2350 |
msgstr ""
|
2351 |
|
2352 |
#: includes/gutenberg/headline-tool/headline-tool.php:583
|
2590 |
msgstr ""
|
2591 |
|
2592 |
#: includes/gutenberg/headline-tool/headline-tool.php:660
|
2593 |
+
msgid "confidential"
|
2594 |
msgstr ""
|
2595 |
|
2596 |
#: includes/gutenberg/headline-tool/headline-tool.php:661
|
2936 |
msgstr ""
|
2937 |
|
2938 |
#: includes/gutenberg/headline-tool/headline-tool.php:747
|
2939 |
+
msgid "terrific"
|
2940 |
msgstr ""
|
2941 |
|
2942 |
#: includes/gutenberg/headline-tool/headline-tool.php:748
|
2943 |
+
msgid "simplified"
|
2944 |
msgstr ""
|
2945 |
|
2946 |
#: includes/gutenberg/headline-tool/headline-tool.php:749
|
2964 |
msgstr ""
|
2965 |
|
2966 |
#: includes/gutenberg/headline-tool/headline-tool.php:754
|
2967 |
+
msgid "sure fire"
|
2968 |
msgstr ""
|
2969 |
|
2970 |
#: includes/gutenberg/headline-tool/headline-tool.php:755
|
2984 |
msgstr ""
|
2985 |
|
2986 |
#: includes/gutenberg/headline-tool/headline-tool.php:759
|
2987 |
+
msgid "profitable"
|
2988 |
msgstr ""
|
2989 |
|
2990 |
#: includes/gutenberg/headline-tool/headline-tool.php:760
|
3607 |
msgstr ""
|
3608 |
|
3609 |
#: includes/gutenberg/headline-tool/headline-tool.php:969
|
3610 |
+
msgid "first"
|
3611 |
msgstr ""
|
3612 |
|
3613 |
#: includes/gutenberg/headline-tool/headline-tool.php:970
|
3635 |
msgstr ""
|
3636 |
|
3637 |
#: includes/gutenberg/headline-tool/headline-tool.php:976
|
3638 |
+
msgid "you'll"
|
3639 |
msgstr ""
|
3640 |
|
3641 |
#: includes/gutenberg/headline-tool/headline-tool.php:977
|
3674 |
msgid "something"
|
3675 |
msgstr ""
|
3676 |
|
3677 |
+
#: includes/helpers.php:406
|
3678 |
msgid "United States"
|
3679 |
msgstr ""
|
3680 |
|
3681 |
+
#: includes/helpers.php:407
|
3682 |
+
#: includes/helpers.php:1852
|
3683 |
msgid "Canada"
|
3684 |
msgstr ""
|
3685 |
|
3686 |
+
#: includes/helpers.php:408
|
3687 |
+
#: includes/helpers.php:1897
|
3688 |
msgid "United Kingdom"
|
3689 |
msgstr ""
|
3690 |
|
3691 |
+
#: includes/helpers.php:409
|
3692 |
msgid "Afghanistan"
|
3693 |
msgstr ""
|
3694 |
|
3695 |
+
#: includes/helpers.php:410
|
3696 |
msgid "Åland Islands"
|
3697 |
msgstr ""
|
3698 |
|
3699 |
+
#: includes/helpers.php:411
|
3700 |
msgid "Albania"
|
3701 |
msgstr ""
|
3702 |
|
3703 |
+
#: includes/helpers.php:412
|
3704 |
msgid "Algeria"
|
3705 |
msgstr ""
|
3706 |
|
3707 |
+
#: includes/helpers.php:413
|
3708 |
msgid "American Samoa"
|
3709 |
msgstr ""
|
3710 |
|
3711 |
+
#: includes/helpers.php:414
|
3712 |
msgid "Andorra"
|
3713 |
msgstr ""
|
3714 |
|
3715 |
+
#: includes/helpers.php:415
|
3716 |
msgid "Angola"
|
3717 |
msgstr ""
|
3718 |
|
3719 |
+
#: includes/helpers.php:416
|
3720 |
msgid "Anguilla"
|
3721 |
msgstr ""
|
3722 |
|
3723 |
+
#: includes/helpers.php:417
|
3724 |
msgid "Antarctica"
|
3725 |
msgstr ""
|
3726 |
|
3727 |
+
#: includes/helpers.php:418
|
3728 |
+
#: includes/helpers.php:1845
|
3729 |
msgid "Antigua and Barbuda"
|
3730 |
msgstr ""
|
3731 |
|
3732 |
+
#: includes/helpers.php:419
|
3733 |
msgid "Argentina"
|
3734 |
msgstr ""
|
3735 |
|
3736 |
+
#: includes/helpers.php:420
|
3737 |
msgid "Armenia"
|
3738 |
msgstr ""
|
3739 |
|
3740 |
+
#: includes/helpers.php:421
|
3741 |
msgid "Aruba"
|
3742 |
msgstr ""
|
3743 |
|
3744 |
+
#: includes/helpers.php:422
|
3745 |
+
#: includes/helpers.php:1846
|
3746 |
msgid "Australia"
|
3747 |
msgstr ""
|
3748 |
|
3749 |
+
#: includes/helpers.php:423
|
3750 |
msgid "Austria"
|
3751 |
msgstr ""
|
3752 |
|
3753 |
+
#: includes/helpers.php:424
|
3754 |
msgid "Azerbaijan"
|
3755 |
msgstr ""
|
3756 |
|
3757 |
+
#: includes/helpers.php:425
|
3758 |
msgid "Bahamas"
|
3759 |
msgstr ""
|
3760 |
|
3761 |
+
#: includes/helpers.php:426
|
3762 |
msgid "Bahrain"
|
3763 |
msgstr ""
|
3764 |
|
3765 |
+
#: includes/helpers.php:427
|
3766 |
msgid "Bangladesh"
|
3767 |
msgstr ""
|
3768 |
|
3769 |
+
#: includes/helpers.php:428
|
3770 |
+
#: includes/helpers.php:1847
|
3771 |
msgid "Barbados"
|
3772 |
msgstr ""
|
3773 |
|
3774 |
+
#: includes/helpers.php:429
|
3775 |
msgid "Belarus"
|
3776 |
msgstr ""
|
3777 |
|
3778 |
+
#: includes/helpers.php:430
|
3779 |
msgid "Belgium"
|
3780 |
msgstr ""
|
3781 |
|
3782 |
+
#: includes/helpers.php:431
|
3783 |
+
#: includes/helpers.php:1848
|
3784 |
msgid "Belize"
|
3785 |
msgstr ""
|
3786 |
|
3787 |
+
#: includes/helpers.php:432
|
3788 |
msgid "Benin"
|
3789 |
msgstr ""
|
3790 |
|
3791 |
+
#: includes/helpers.php:433
|
3792 |
msgid "Bermuda"
|
3793 |
msgstr ""
|
3794 |
|
3795 |
+
#: includes/helpers.php:434
|
3796 |
msgid "Bhutan"
|
3797 |
msgstr ""
|
3798 |
|
3799 |
+
#: includes/helpers.php:435
|
3800 |
msgid "Bolivia"
|
3801 |
msgstr ""
|
3802 |
|
3803 |
+
#: includes/helpers.php:436
|
3804 |
msgid "Bonaire, Saint Eustatius and Saba"
|
3805 |
msgstr ""
|
3806 |
|
3807 |
+
#: includes/helpers.php:437
|
3808 |
msgid "Bosnia and Herzegovina"
|
3809 |
msgstr ""
|
3810 |
|
3811 |
+
#: includes/helpers.php:438
|
3812 |
+
#: includes/helpers.php:1849
|
3813 |
msgid "Botswana"
|
3814 |
msgstr ""
|
3815 |
|
3816 |
+
#: includes/helpers.php:439
|
3817 |
msgid "Bouvet Island"
|
3818 |
msgstr ""
|
3819 |
|
3820 |
+
#: includes/helpers.php:440
|
3821 |
msgid "Brazil"
|
3822 |
msgstr ""
|
3823 |
|
3824 |
+
#: includes/helpers.php:441
|
3825 |
msgid "British Indian Ocean Territory"
|
3826 |
msgstr ""
|
3827 |
|
3828 |
+
#: includes/helpers.php:442
|
3829 |
msgid "Brunei Darrussalam"
|
3830 |
msgstr ""
|
3831 |
|
3832 |
+
#: includes/helpers.php:443
|
3833 |
msgid "Bulgaria"
|
3834 |
msgstr ""
|
3835 |
|
3836 |
+
#: includes/helpers.php:444
|
3837 |
msgid "Burkina Faso"
|
3838 |
msgstr ""
|
3839 |
|
3840 |
+
#: includes/helpers.php:445
|
3841 |
+
#: includes/helpers.php:1850
|
3842 |
msgid "Burundi"
|
3843 |
msgstr ""
|
3844 |
|
3845 |
+
#: includes/helpers.php:446
|
3846 |
msgid "Cambodia"
|
3847 |
msgstr ""
|
3848 |
|
3849 |
+
#: includes/helpers.php:447
|
3850 |
+
#: includes/helpers.php:1851
|
3851 |
msgid "Cameroon"
|
3852 |
msgstr ""
|
3853 |
|
3854 |
+
#: includes/helpers.php:448
|
3855 |
msgid "Cape Verde"
|
3856 |
msgstr ""
|
3857 |
|
3858 |
+
#: includes/helpers.php:449
|
3859 |
msgid "Cayman Islands"
|
3860 |
msgstr ""
|
3861 |
|
3862 |
+
#: includes/helpers.php:450
|
3863 |
msgid "Central African Republic"
|
3864 |
msgstr ""
|
3865 |
|
3866 |
+
#: includes/helpers.php:451
|
3867 |
msgid "Chad"
|
3868 |
msgstr ""
|
3869 |
|
3870 |
+
#: includes/helpers.php:452
|
3871 |
msgid "Chile"
|
3872 |
msgstr ""
|
3873 |
|
3874 |
+
#: includes/helpers.php:453
|
3875 |
msgid "China"
|
3876 |
msgstr ""
|
3877 |
|
3878 |
+
#: includes/helpers.php:454
|
3879 |
msgid "Christmas Island"
|
3880 |
msgstr ""
|
3881 |
|
3882 |
+
#: includes/helpers.php:455
|
3883 |
msgid "Cocos Islands"
|
3884 |
msgstr ""
|
3885 |
|
3886 |
+
#: includes/helpers.php:456
|
3887 |
msgid "Colombia"
|
3888 |
msgstr ""
|
3889 |
|
3890 |
+
#: includes/helpers.php:457
|
3891 |
msgid "Comoros"
|
3892 |
msgstr ""
|
3893 |
|
3894 |
+
#: includes/helpers.php:458
|
3895 |
msgid "Congo, Democratic People's Republic"
|
3896 |
msgstr ""
|
3897 |
|
3898 |
+
#: includes/helpers.php:459
|
3899 |
msgid "Congo, Republic of"
|
3900 |
msgstr ""
|
3901 |
|
3902 |
+
#: includes/helpers.php:460
|
3903 |
msgid "Cook Islands"
|
3904 |
msgstr ""
|
3905 |
|
3906 |
+
#: includes/helpers.php:461
|
3907 |
msgid "Costa Rica"
|
3908 |
msgstr ""
|
3909 |
|
3910 |
+
#: includes/helpers.php:462
|
3911 |
msgid "Cote d'Ivoire"
|
3912 |
msgstr ""
|
3913 |
|
3914 |
+
#: includes/helpers.php:463
|
3915 |
msgid "Croatia/Hrvatska"
|
3916 |
msgstr ""
|
3917 |
|
3918 |
+
#: includes/helpers.php:464
|
3919 |
msgid "Cuba"
|
3920 |
msgstr ""
|
3921 |
|
3922 |
+
#: includes/helpers.php:465
|
3923 |
msgid "CuraÇao"
|
3924 |
msgstr ""
|
3925 |
|
3926 |
+
#: includes/helpers.php:466
|
3927 |
msgid "Cyprus"
|
3928 |
msgstr ""
|
3929 |
|
3930 |
+
#: includes/helpers.php:467
|
3931 |
msgid "Czechia"
|
3932 |
msgstr ""
|
3933 |
|
3934 |
+
#: includes/helpers.php:468
|
3935 |
msgid "Denmark"
|
3936 |
msgstr ""
|
3937 |
|
3938 |
+
#: includes/helpers.php:469
|
3939 |
msgid "Djibouti"
|
3940 |
msgstr ""
|
3941 |
|
3942 |
+
#: includes/helpers.php:470
|
3943 |
+
#: includes/helpers.php:1853
|
3944 |
msgid "Dominica"
|
3945 |
msgstr ""
|
3946 |
|
3947 |
+
#: includes/helpers.php:471
|
3948 |
msgid "Dominican Republic"
|
3949 |
msgstr ""
|
3950 |
|
3951 |
+
#: includes/helpers.php:472
|
3952 |
msgid "East Timor"
|
3953 |
msgstr ""
|
3954 |
|
3955 |
+
#: includes/helpers.php:473
|
3956 |
msgid "Ecuador"
|
3957 |
msgstr ""
|
3958 |
|
3959 |
+
#: includes/helpers.php:474
|
3960 |
msgid "Egypt"
|
3961 |
msgstr ""
|
3962 |
|
3963 |
+
#: includes/helpers.php:475
|
3964 |
msgid "Equatorial Guinea"
|
3965 |
msgstr ""
|
3966 |
|
3967 |
+
#: includes/helpers.php:476
|
3968 |
msgid "El Salvador"
|
3969 |
msgstr ""
|
3970 |
|
3971 |
+
#: includes/helpers.php:477
|
3972 |
msgid "Eritrea"
|
3973 |
msgstr ""
|
3974 |
|
3975 |
+
#: includes/helpers.php:478
|
3976 |
msgid "Estonia"
|
3977 |
msgstr ""
|
3978 |
|
3979 |
+
#: includes/helpers.php:479
|
3980 |
msgid "Ethiopia"
|
3981 |
msgstr ""
|
3982 |
|
3983 |
+
#: includes/helpers.php:480
|
3984 |
msgid "Falkland Islands"
|
3985 |
msgstr ""
|
3986 |
|
3987 |
+
#: includes/helpers.php:481
|
3988 |
msgid "Faroe Islands"
|
3989 |
msgstr ""
|
3990 |
|
3991 |
+
#: includes/helpers.php:482
|
3992 |
+
#: includes/helpers.php:1854
|
3993 |
msgid "Fiji"
|
3994 |
msgstr ""
|
3995 |
|
3996 |
+
#: includes/helpers.php:483
|
3997 |
msgid "Finland"
|
3998 |
msgstr ""
|
3999 |
|
4000 |
+
#: includes/helpers.php:484
|
4001 |
msgid "France"
|
4002 |
msgstr ""
|
4003 |
|
4004 |
+
#: includes/helpers.php:485
|
4005 |
msgid "French Guiana"
|
4006 |
msgstr ""
|
4007 |
|
4008 |
+
#: includes/helpers.php:486
|
4009 |
msgid "French Polynesia"
|
4010 |
msgstr ""
|
4011 |
|
4012 |
+
#: includes/helpers.php:487
|
4013 |
msgid "French Southern Territories"
|
4014 |
msgstr ""
|
4015 |
|
4016 |
+
#: includes/helpers.php:488
|
4017 |
msgid "Gabon"
|
4018 |
msgstr ""
|
4019 |
|
4020 |
+
#: includes/helpers.php:489
|
4021 |
+
#: includes/helpers.php:1857
|
4022 |
msgid "Gambia"
|
4023 |
msgstr ""
|
4024 |
|
4025 |
+
#: includes/helpers.php:490
|
4026 |
msgid "Georgia"
|
4027 |
msgstr ""
|
4028 |
|
4029 |
+
#: includes/helpers.php:491
|
4030 |
msgid "Germany"
|
4031 |
msgstr ""
|
4032 |
|
4033 |
+
#: includes/helpers.php:492
|
4034 |
msgid "Greece"
|
4035 |
msgstr ""
|
4036 |
|
4037 |
+
#: includes/helpers.php:493
|
4038 |
+
#: includes/helpers.php:1858
|
4039 |
msgid "Ghana"
|
4040 |
msgstr ""
|
4041 |
|
4042 |
+
#: includes/helpers.php:494
|
4043 |
msgid "Gibraltar"
|
4044 |
msgstr ""
|
4045 |
|
4046 |
+
#: includes/helpers.php:495
|
4047 |
msgid "Greenland"
|
4048 |
msgstr ""
|
4049 |
|
4050 |
+
#: includes/helpers.php:496
|
4051 |
+
#: includes/helpers.php:1855
|
4052 |
msgid "Grenada"
|
4053 |
msgstr ""
|
4054 |
|
4055 |
+
#: includes/helpers.php:497
|
4056 |
msgid "Guadeloupe"
|
4057 |
msgstr ""
|
4058 |
|
4059 |
+
#: includes/helpers.php:498
|
4060 |
msgid "Guam"
|
4061 |
msgstr ""
|
4062 |
|
4063 |
+
#: includes/helpers.php:499
|
4064 |
msgid "Guatemala"
|
4065 |
msgstr ""
|
4066 |
|
4067 |
+
#: includes/helpers.php:500
|
4068 |
msgid "Guernsey"
|
4069 |
msgstr ""
|
4070 |
|
4071 |
+
#: includes/helpers.php:501
|
4072 |
msgid "Guinea"
|
4073 |
msgstr ""
|
4074 |
|
4075 |
+
#: includes/helpers.php:502
|
4076 |
msgid "Guinea-Bissau"
|
4077 |
msgstr ""
|
4078 |
|
4079 |
+
#: includes/helpers.php:503
|
4080 |
+
#: includes/helpers.php:1856
|
4081 |
msgid "Guyana"
|
4082 |
msgstr ""
|
4083 |
|
4084 |
+
#: includes/helpers.php:504
|
4085 |
msgid "Haiti"
|
4086 |
msgstr ""
|
4087 |
|
4088 |
+
#: includes/helpers.php:505
|
4089 |
msgid "Heard and McDonald Islands"
|
4090 |
msgstr ""
|
4091 |
|
4092 |
+
#: includes/helpers.php:506
|
4093 |
msgid "Holy See (City Vatican State)"
|
4094 |
msgstr ""
|
4095 |
|
4096 |
+
#: includes/helpers.php:507
|
4097 |
msgid "Honduras"
|
4098 |
msgstr ""
|
4099 |
|
4100 |
+
#: includes/helpers.php:508
|
4101 |
msgid "Hong Kong"
|
4102 |
msgstr ""
|
4103 |
|
4104 |
+
#: includes/helpers.php:509
|
4105 |
msgid "Hungary"
|
4106 |
msgstr ""
|
4107 |
|
4108 |
+
#: includes/helpers.php:510
|
4109 |
msgid "Iceland"
|
4110 |
msgstr ""
|
4111 |
|
4112 |
+
#: includes/helpers.php:511
|
4113 |
+
#: includes/helpers.php:1860
|
4114 |
msgid "India"
|
4115 |
msgstr ""
|
4116 |
|
4117 |
+
#: includes/helpers.php:512
|
4118 |
msgid "Indonesia"
|
4119 |
msgstr ""
|
4120 |
|
4121 |
+
#: includes/helpers.php:513
|
4122 |
msgid "Iran"
|
4123 |
msgstr ""
|
4124 |
|
4125 |
+
#: includes/helpers.php:514
|
4126 |
msgid "Iraq"
|
4127 |
msgstr ""
|
4128 |
|
4129 |
+
#: includes/helpers.php:515
|
4130 |
+
#: includes/helpers.php:1859
|
4131 |
msgid "Ireland"
|
4132 |
msgstr ""
|
4133 |
|
4134 |
+
#: includes/helpers.php:516
|
4135 |
msgid "Isle of Man"
|
4136 |
msgstr ""
|
4137 |
|
4138 |
+
#: includes/helpers.php:517
|
4139 |
msgid "Israel"
|
4140 |
msgstr ""
|
4141 |
|
4142 |
+
#: includes/helpers.php:518
|
4143 |
msgid "Italy"
|
4144 |
msgstr ""
|
4145 |
|
4146 |
+
#: includes/helpers.php:519
|
4147 |
+
#: includes/helpers.php:1861
|
4148 |
msgid "Jamaica"
|
4149 |
msgstr ""
|
4150 |
|
4151 |
+
#: includes/helpers.php:520
|
4152 |
msgid "Japan"
|
4153 |
msgstr ""
|
4154 |
|
4155 |
+
#: includes/helpers.php:521
|
4156 |
msgid "Jersey"
|
4157 |
msgstr ""
|
4158 |
|
4159 |
+
#: includes/helpers.php:522
|
4160 |
msgid "Jordan"
|
4161 |
msgstr ""
|
4162 |
|
4163 |
+
#: includes/helpers.php:523
|
4164 |
msgid "Kazakhstan"
|
4165 |
msgstr ""
|
4166 |
|
4167 |
+
#: includes/helpers.php:524
|
4168 |
+
#: includes/helpers.php:1862
|
4169 |
msgid "Kenya"
|
4170 |
msgstr ""
|
4171 |
|
4172 |
+
#: includes/helpers.php:525
|
4173 |
+
#: includes/helpers.php:1863
|
4174 |
msgid "Kiribati"
|
4175 |
msgstr ""
|
4176 |
|
4177 |
+
#: includes/helpers.php:526
|
4178 |
msgid "Kuwait"
|
4179 |
msgstr ""
|
4180 |
|
4181 |
+
#: includes/helpers.php:527
|
4182 |
msgid "Kyrgyzstan"
|
4183 |
msgstr ""
|
4184 |
|
4185 |
+
#: includes/helpers.php:528
|
4186 |
msgid "Lao People's Democratic Republic"
|
4187 |
msgstr ""
|
4188 |
|
4189 |
+
#: includes/helpers.php:529
|
4190 |
msgid "Latvia"
|
4191 |
msgstr ""
|
4192 |
|
4193 |
+
#: includes/helpers.php:530
|
4194 |
msgid "Lebanon"
|
4195 |
msgstr ""
|
4196 |
|
4197 |
+
#: includes/helpers.php:531
|
4198 |
+
#: includes/helpers.php:1864
|
4199 |
msgid "Lesotho"
|
4200 |
msgstr ""
|
4201 |
|
4202 |
+
#: includes/helpers.php:532
|
4203 |
+
#: includes/helpers.php:1865
|
4204 |
msgid "Liberia"
|
4205 |
msgstr ""
|
4206 |
|
4207 |
+
#: includes/helpers.php:533
|
4208 |
msgid "Libyan Arab Jamahiriya"
|
4209 |
msgstr ""
|
4210 |
|
4211 |
+
#: includes/helpers.php:534
|
4212 |
msgid "Liechtenstein"
|
4213 |
msgstr ""
|
4214 |
|
4215 |
+
#: includes/helpers.php:535
|
4216 |
msgid "Lithuania"
|
4217 |
msgstr ""
|
4218 |
|
4219 |
+
#: includes/helpers.php:536
|
4220 |
msgid "Luxembourg"
|
4221 |
msgstr ""
|
4222 |
|
4223 |
+
#: includes/helpers.php:537
|
4224 |
msgid "Macau"
|
4225 |
msgstr ""
|
4226 |
|
4227 |
+
#: includes/helpers.php:538
|
4228 |
msgid "Macedonia (FYROM)"
|
4229 |
msgstr ""
|
4230 |
|
4231 |
+
#: includes/helpers.php:539
|
4232 |
msgid "Madagascar"
|
4233 |
msgstr ""
|
4234 |
|
4235 |
+
#: includes/helpers.php:540
|
4236 |
+
#: includes/helpers.php:1866
|
4237 |
msgid "Malawi"
|
4238 |
msgstr ""
|
4239 |
|
4240 |
+
#: includes/helpers.php:541
|
4241 |
msgid "Malaysia"
|
4242 |
msgstr ""
|
4243 |
|
4244 |
+
#: includes/helpers.php:542
|
4245 |
msgid "Maldives"
|
4246 |
msgstr ""
|
4247 |
|
4248 |
+
#: includes/helpers.php:543
|
4249 |
msgid "Mali"
|
4250 |
msgstr ""
|
4251 |
|
4252 |
+
#: includes/helpers.php:544
|
4253 |
+
#: includes/helpers.php:1867
|
4254 |
msgid "Malta"
|
4255 |
msgstr ""
|
4256 |
|
4257 |
+
#: includes/helpers.php:545
|
4258 |
+
#: includes/helpers.php:1868
|
4259 |
msgid "Marshall Islands"
|
4260 |
msgstr ""
|
4261 |
|
4262 |
+
#: includes/helpers.php:546
|
4263 |
msgid "Martinique"
|
4264 |
msgstr ""
|
4265 |
|
4266 |
+
#: includes/helpers.php:547
|
4267 |
msgid "Mauritania"
|
4268 |
msgstr ""
|
4269 |
|
4270 |
+
#: includes/helpers.php:548
|
4271 |
+
#: includes/helpers.php:1869
|
4272 |
msgid "Mauritius"
|
4273 |
msgstr ""
|
4274 |
|
4275 |
+
#: includes/helpers.php:549
|
4276 |
msgid "Mayotte"
|
4277 |
msgstr ""
|
4278 |
|
4279 |
+
#: includes/helpers.php:550
|
4280 |
msgid "Mexico"
|
4281 |
msgstr ""
|
4282 |
|
4283 |
+
#: includes/helpers.php:551
|
4284 |
+
#: includes/helpers.php:1870
|
4285 |
msgid "Micronesia"
|
4286 |
msgstr ""
|
4287 |
|
4288 |
+
#: includes/helpers.php:552
|
4289 |
msgid "Moldova, Republic of"
|
4290 |
msgstr ""
|
4291 |
|
4292 |
+
#: includes/helpers.php:553
|
4293 |
msgid "Monaco"
|
4294 |
msgstr ""
|
4295 |
|
4296 |
+
#: includes/helpers.php:554
|
4297 |
msgid "Mongolia"
|
4298 |
msgstr ""
|
4299 |
|
4300 |
+
#: includes/helpers.php:555
|
4301 |
msgid "Montenegro"
|
4302 |
msgstr ""
|
4303 |
|
4304 |
+
#: includes/helpers.php:556
|
4305 |
msgid "Montserrat"
|
4306 |
msgstr ""
|
4307 |
|
4308 |
+
#: includes/helpers.php:557
|
4309 |
msgid "Morocco"
|
4310 |
msgstr ""
|
4311 |
|
4312 |
+
#: includes/helpers.php:558
|
4313 |
msgid "Mozambique"
|
4314 |
msgstr ""
|
4315 |
|
4316 |
+
#: includes/helpers.php:559
|
4317 |
msgid "Myanmar"
|
4318 |
msgstr ""
|
4319 |
|
4320 |
+
#: includes/helpers.php:560
|
4321 |
+
#: includes/helpers.php:1872
|
4322 |
msgid "Namibia"
|
4323 |
msgstr ""
|
4324 |
|
4325 |
+
#: includes/helpers.php:561
|
4326 |
+
#: includes/helpers.php:1873
|
4327 |
msgid "Nauru"
|
4328 |
msgstr ""
|
4329 |
|
4330 |
+
#: includes/helpers.php:562
|
4331 |
msgid "Nepal"
|
4332 |
msgstr ""
|
4333 |
|
4334 |
+
#: includes/helpers.php:563
|
4335 |
msgid "Netherlands"
|
4336 |
msgstr ""
|
4337 |
|
4338 |
+
#: includes/helpers.php:564
|
4339 |
msgid "Netherlands Antilles"
|
4340 |
msgstr ""
|
4341 |
|
4342 |
+
#: includes/helpers.php:565
|
4343 |
msgid "New Caledonia"
|
4344 |
msgstr ""
|
4345 |
|
4346 |
+
#: includes/helpers.php:566
|
4347 |
+
#: includes/helpers.php:1871
|
4348 |
msgid "New Zealand"
|
4349 |
msgstr ""
|
4350 |
|
4351 |
+
#: includes/helpers.php:567
|
4352 |
msgid "Nicaragua"
|
4353 |
msgstr ""
|
4354 |
|
4355 |
+
#: includes/helpers.php:568
|
4356 |
msgid "Niger"
|
4357 |
msgstr ""
|
4358 |
|
4359 |
+
#: includes/helpers.php:569
|
4360 |
+
#: includes/helpers.php:1874
|
4361 |
msgid "Nigeria"
|
4362 |
msgstr ""
|
4363 |
|
4364 |
+
#: includes/helpers.php:570
|
4365 |
msgid "Niue"
|
4366 |
msgstr ""
|
4367 |
|
4368 |
+
#: includes/helpers.php:571
|
4369 |
msgid "Norfolk Island"
|
4370 |
msgstr ""
|
4371 |
|
4372 |
+
#: includes/helpers.php:572
|
4373 |
msgid "North Korea"
|
4374 |
msgstr ""
|
4375 |
|
4376 |
+
#: includes/helpers.php:573
|
4377 |
msgid "Northern Mariana Islands"
|
4378 |
msgstr ""
|
4379 |
|
4380 |
+
#: includes/helpers.php:574
|
4381 |
msgid "Norway"
|
4382 |
msgstr ""
|
4383 |
|
4384 |
+
#: includes/helpers.php:575
|
4385 |
msgid "Oman"
|
4386 |
msgstr ""
|
4387 |
|
4388 |
+
#: includes/helpers.php:576
|
4389 |
+
#: includes/helpers.php:1875
|
4390 |
msgid "Pakistan"
|
4391 |
msgstr ""
|
4392 |
|
4393 |
+
#: includes/helpers.php:577
|
4394 |
+
#: includes/helpers.php:1876
|
4395 |
msgid "Palau"
|
4396 |
msgstr ""
|
4397 |
|
4398 |
+
#: includes/helpers.php:578
|
4399 |
msgid "Palestinian Territories"
|
4400 |
msgstr ""
|
4401 |
|
4402 |
+
#: includes/helpers.php:579
|
4403 |
msgid "Panama"
|
4404 |
msgstr ""
|
4405 |
|
4406 |
+
#: includes/helpers.php:580
|
4407 |
+
#: includes/helpers.php:1877
|
4408 |
msgid "Papua New Guinea"
|
4409 |
msgstr ""
|
4410 |
|
4411 |
+
#: includes/helpers.php:581
|
4412 |
msgid "Paraguay"
|
4413 |
msgstr ""
|
4414 |
|
4415 |
+
#: includes/helpers.php:582
|
4416 |
msgid "Peru"
|
4417 |
msgstr ""
|
4418 |
|
4419 |
+
#: includes/helpers.php:583
|
4420 |
+
#: includes/helpers.php:1878
|
4421 |
msgid "Philippines"
|
4422 |
msgstr ""
|
4423 |
|
4424 |
+
#: includes/helpers.php:584
|
4425 |
msgid "Pitcairn Island"
|
4426 |
msgstr ""
|
4427 |
|
4428 |
+
#: includes/helpers.php:585
|
4429 |
msgid "Poland"
|
4430 |
msgstr ""
|
4431 |
|
4432 |
+
#: includes/helpers.php:586
|
4433 |
msgid "Portugal"
|
4434 |
msgstr ""
|
4435 |
|
4436 |
+
#: includes/helpers.php:587
|
4437 |
msgid "Puerto Rico"
|
4438 |
msgstr ""
|
4439 |
|
4440 |
+
#: includes/helpers.php:588
|
4441 |
msgid "Qatar"
|
4442 |
msgstr ""
|
4443 |
|
4444 |
+
#: includes/helpers.php:589
|
4445 |
msgid "Republic of Kosovo"
|
4446 |
msgstr ""
|
4447 |
|
4448 |
+
#: includes/helpers.php:590
|
4449 |
msgid "Reunion Island"
|
4450 |
msgstr ""
|
4451 |
|
4452 |
+
#: includes/helpers.php:591
|
4453 |
msgid "Romania"
|
4454 |
msgstr ""
|
4455 |
|
4456 |
+
#: includes/helpers.php:592
|
4457 |
msgid "Russian Federation"
|
4458 |
msgstr ""
|
4459 |
|
4460 |
+
#: includes/helpers.php:593
|
4461 |
+
#: includes/helpers.php:1879
|
4462 |
msgid "Rwanda"
|
4463 |
msgstr ""
|
4464 |
|
4465 |
+
#: includes/helpers.php:594
|
4466 |
msgid "Saint Barthélemy"
|
4467 |
msgstr ""
|
4468 |
|
4469 |
+
#: includes/helpers.php:595
|
4470 |
msgid "Saint Helena"
|
4471 |
msgstr ""
|
4472 |
|
4473 |
+
#: includes/helpers.php:596
|
4474 |
msgid "Saint Kitts and Nevis"
|
4475 |
msgstr ""
|
4476 |
|
4477 |
+
#: includes/helpers.php:597
|
4478 |
msgid "Saint Lucia"
|
4479 |
msgstr ""
|
4480 |
|
4481 |
+
#: includes/helpers.php:598
|
4482 |
msgid "Saint Martin (French)"
|
4483 |
msgstr ""
|
4484 |
|
4485 |
+
#: includes/helpers.php:599
|
4486 |
msgid "Saint Martin (Dutch)"
|
4487 |
msgstr ""
|
4488 |
|
4489 |
+
#: includes/helpers.php:600
|
4490 |
msgid "Saint Pierre and Miquelon"
|
4491 |
msgstr ""
|
4492 |
|
4493 |
+
#: includes/helpers.php:601
|
4494 |
msgid "Saint Vincent and the Grenadines"
|
4495 |
msgstr ""
|
4496 |
|
4497 |
+
#: includes/helpers.php:602
|
4498 |
msgid "San Marino"
|
4499 |
msgstr ""
|
4500 |
|
4501 |
+
#: includes/helpers.php:603
|
4502 |
msgid "São Tomé and Príncipe"
|
4503 |
msgstr ""
|
4504 |
|
4505 |
+
#: includes/helpers.php:604
|
4506 |
msgid "Saudi Arabia"
|
4507 |
msgstr ""
|
4508 |
|
4509 |
+
#: includes/helpers.php:605
|
4510 |
msgid "Senegal"
|
4511 |
msgstr ""
|
4512 |
|
4513 |
+
#: includes/helpers.php:606
|
4514 |
msgid "Serbia"
|
4515 |
msgstr ""
|
4516 |
|
4517 |
+
#: includes/helpers.php:607
|
4518 |
+
#: includes/helpers.php:1886
|
4519 |
msgid "Seychelles"
|
4520 |
msgstr ""
|
4521 |
|
4522 |
+
#: includes/helpers.php:608
|
4523 |
+
#: includes/helpers.php:1887
|
4524 |
msgid "Sierra Leone"
|
4525 |
msgstr ""
|
4526 |
|
4527 |
+
#: includes/helpers.php:609
|
4528 |
+
#: includes/helpers.php:1880
|
4529 |
msgid "Singapore"
|
4530 |
msgstr ""
|
4531 |
|
4532 |
+
#: includes/helpers.php:610
|
4533 |
msgid "Slovak Republic"
|
4534 |
msgstr ""
|
4535 |
|
4536 |
+
#: includes/helpers.php:611
|
4537 |
msgid "Slovenia"
|
4538 |
msgstr ""
|
4539 |
|
4540 |
+
#: includes/helpers.php:612
|
4541 |
+
#: includes/helpers.php:1888
|
4542 |
msgid "Solomon Islands"
|
4543 |
msgstr ""
|
4544 |
|
4545 |
+
#: includes/helpers.php:613
|
4546 |
msgid "Somalia"
|
4547 |
msgstr ""
|
4548 |
|
4549 |
+
#: includes/helpers.php:614
|
4550 |
+
#: includes/helpers.php:1889
|
4551 |
msgid "South Africa"
|
4552 |
msgstr ""
|
4553 |
|
4554 |
+
#: includes/helpers.php:615
|
4555 |
msgid "South Georgia"
|
4556 |
msgstr ""
|
4557 |
|
4558 |
+
#: includes/helpers.php:616
|
4559 |
msgid "South Korea"
|
4560 |
msgstr ""
|
4561 |
|
4562 |
+
#: includes/helpers.php:617
|
4563 |
+
#: includes/helpers.php:1890
|
4564 |
msgid "South Sudan"
|
4565 |
msgstr ""
|
4566 |
|
4567 |
+
#: includes/helpers.php:618
|
4568 |
msgid "Spain"
|
4569 |
msgstr ""
|
4570 |
|
4571 |
+
#: includes/helpers.php:619
|
4572 |
msgid "Sri Lanka"
|
4573 |
msgstr ""
|
4574 |
|
4575 |
+
#: includes/helpers.php:620
|
4576 |
+
#: includes/helpers.php:1891
|
4577 |
msgid "Sudan"
|
4578 |
msgstr ""
|
4579 |
|
4580 |
+
#: includes/helpers.php:621
|
4581 |
msgid "Suriname"
|
4582 |
msgstr ""
|
4583 |
|
4584 |
+
#: includes/helpers.php:622
|
4585 |
msgid "Svalbard and Jan Mayen Islands"
|
4586 |
msgstr ""
|
4587 |
|
4588 |
+
#: includes/helpers.php:623
|
4589 |
+
#: includes/helpers.php:1884
|
4590 |
msgid "Swaziland"
|
4591 |
msgstr ""
|
4592 |
|
4593 |
+
#: includes/helpers.php:624
|
4594 |
msgid "Sweden"
|
4595 |
msgstr ""
|
4596 |
|
4597 |
+
#: includes/helpers.php:625
|
4598 |
msgid "Switzerland"
|
4599 |
msgstr ""
|
4600 |
|
4601 |
+
#: includes/helpers.php:626
|
4602 |
msgid "Syrian Arab Republic"
|
4603 |
msgstr ""
|
4604 |
|
4605 |
+
#: includes/helpers.php:627
|
4606 |
msgid "Taiwan"
|
4607 |
msgstr ""
|
4608 |
|
4609 |
+
#: includes/helpers.php:628
|
4610 |
msgid "Tajikistan"
|
4611 |
msgstr ""
|
4612 |
|
4613 |
+
#: includes/helpers.php:629
|
4614 |
+
#: includes/helpers.php:1894
|
4615 |
msgid "Tanzania"
|
4616 |
msgstr ""
|
4617 |
|
4618 |
+
#: includes/helpers.php:630
|
4619 |
msgid "Thailand"
|
4620 |
msgstr ""
|
4621 |
|
4622 |
+
#: includes/helpers.php:631
|
4623 |
msgid "Timor-Leste"
|
4624 |
msgstr ""
|
4625 |
|
4626 |
+
#: includes/helpers.php:632
|
4627 |
msgid "Togo"
|
4628 |
msgstr ""
|
4629 |
|
4630 |
+
#: includes/helpers.php:633
|
4631 |
msgid "Tokelau"
|
4632 |
msgstr ""
|
4633 |
|
4634 |
+
#: includes/helpers.php:634
|
4635 |
+
#: includes/helpers.php:1895
|
4636 |
msgid "Tonga"
|
4637 |
msgstr ""
|
4638 |
|
4639 |
+
#: includes/helpers.php:635
|
4640 |
+
#: includes/helpers.php:1892
|
4641 |
msgid "Trinidad and Tobago"
|
4642 |
msgstr ""
|
4643 |
|
4644 |
+
#: includes/helpers.php:636
|
4645 |
msgid "Tunisia"
|
4646 |
msgstr ""
|
4647 |
|
4648 |
+
#: includes/helpers.php:637
|
4649 |
msgid "Turkey"
|
4650 |
msgstr ""
|
4651 |
|
4652 |
+
#: includes/helpers.php:638
|
4653 |
msgid "Turkmenistan"
|
4654 |
msgstr ""
|
4655 |
|
4656 |
+
#: includes/helpers.php:639
|
4657 |
msgid "Turks and Caicos Islands"
|
4658 |
msgstr ""
|
4659 |
|
4660 |
+
#: includes/helpers.php:640
|
4661 |
+
#: includes/helpers.php:1896
|
4662 |
msgid "Tuvalu"
|
4663 |
msgstr ""
|
4664 |
|
4665 |
+
#: includes/helpers.php:641
|
4666 |
+
#: includes/helpers.php:1899
|
4667 |
msgid "Uganda"
|
4668 |
msgstr ""
|
4669 |
|
4670 |
+
#: includes/helpers.php:642
|
4671 |
msgid "Ukraine"
|
4672 |
msgstr ""
|
4673 |
|
4674 |
+
#: includes/helpers.php:643
|
4675 |
msgid "United Arab Emirates"
|
4676 |
msgstr ""
|
4677 |
|
4678 |
+
#: includes/helpers.php:644
|
4679 |
msgid "Uruguay"
|
4680 |
msgstr ""
|
4681 |
|
4682 |
+
#: includes/helpers.php:645
|
4683 |
msgid "US Minor Outlying Islands"
|
4684 |
msgstr ""
|
4685 |
|
4686 |
+
#: includes/helpers.php:646
|
4687 |
msgid "Uzbekistan"
|
4688 |
msgstr ""
|
4689 |
|
4690 |
+
#: includes/helpers.php:647
|
4691 |
+
#: includes/helpers.php:1900
|
4692 |
msgid "Vanuatu"
|
4693 |
msgstr ""
|
4694 |
|
4695 |
+
#: includes/helpers.php:648
|
4696 |
msgid "Venezuela"
|
4697 |
msgstr ""
|
4698 |
|
4699 |
+
#: includes/helpers.php:649
|
4700 |
msgid "Vietnam"
|
4701 |
msgstr ""
|
4702 |
|
4703 |
+
#: includes/helpers.php:650
|
4704 |
msgid "Virgin Islands (British)"
|
4705 |
msgstr ""
|
4706 |
|
4707 |
+
#: includes/helpers.php:651
|
4708 |
msgid "Virgin Islands (USA)"
|
4709 |
msgstr ""
|
4710 |
|
4711 |
+
#: includes/helpers.php:652
|
4712 |
msgid "Wallis and Futuna Islands"
|
4713 |
msgstr ""
|
4714 |
|
4715 |
+
#: includes/helpers.php:653
|
4716 |
msgid "Western Sahara"
|
4717 |
msgstr ""
|
4718 |
|
4719 |
+
#: includes/helpers.php:654
|
4720 |
msgid "Western Samoa"
|
4721 |
msgstr ""
|
4722 |
|
4723 |
+
#: includes/helpers.php:655
|
4724 |
msgid "Yemen"
|
4725 |
msgstr ""
|
4726 |
|
4727 |
+
#: includes/helpers.php:656
|
4728 |
+
#: includes/helpers.php:1901
|
4729 |
msgid "Zambia"
|
4730 |
msgstr ""
|
4731 |
|
4732 |
+
#: includes/helpers.php:657
|
4733 |
+
#: includes/helpers.php:1902
|
4734 |
msgid "Zimbabwe"
|
4735 |
msgstr ""
|
4736 |
|
4737 |
+
#: includes/helpers.php:658
|
4738 |
msgid "Unknown Country"
|
4739 |
msgstr ""
|
4740 |
|
4741 |
#. Translators: The placeholders are for making the "We noticed you're using a caching plugin" text bold.
|
4742 |
+
#: includes/helpers.php:1331
|
4743 |
msgid "%1$sWe noticed you're using a caching plugin or caching from your hosting provider.%2$s Be sure to clear the cache to ensure the tracking appears on all pages and posts. %3$s(See this guide on how to clear cache)%4$s."
|
4744 |
msgstr ""
|
4745 |
|
4746 |
#. Translators: The placeholders are for making the "We have detected multiple tracking codes" text bold & adding a link to support.
|
4747 |
+
#: includes/helpers.php:1376
|
4748 |
msgid "%1$sWe have detected multiple tracking codes%2$s! You should remove non-MonsterInsights ones. If you need help finding them please %3$sread this article%4$s."
|
4749 |
msgstr ""
|
4750 |
|
4751 |
+
#: includes/helpers.php:1881
|
4752 |
msgid "St Kitts and Nevis"
|
4753 |
msgstr ""
|
4754 |
|
4755 |
+
#: includes/helpers.php:1882
|
4756 |
msgid "St Lucia"
|
4757 |
msgstr ""
|
4758 |
|
4759 |
+
#: includes/helpers.php:1883
|
4760 |
msgid "St Vincent and the Grenadines"
|
4761 |
msgstr ""
|
4762 |
|
4763 |
+
#: includes/helpers.php:1885
|
4764 |
msgid "Samoa"
|
4765 |
msgstr ""
|
4766 |
|
4767 |
+
#: includes/helpers.php:1893
|
4768 |
msgid "The Bahamas"
|
4769 |
msgstr ""
|
4770 |
|
4771 |
+
#: includes/helpers.php:1898
|
4772 |
msgid "United States of America"
|
4773 |
msgstr ""
|
4774 |
|
4849 |
msgstr ""
|
4850 |
|
4851 |
#: languages/gutenberg.php:77
|
4852 |
+
#: languages/vue.php:514
|
4853 |
msgid "Inline Popular Posts"
|
4854 |
msgstr ""
|
4855 |
|
4886 |
msgstr ""
|
4887 |
|
4888 |
#: languages/gutenberg.php:107
|
4889 |
+
#: languages/vue.php:2993
|
4890 |
msgid "Wide-Layout Options"
|
4891 |
msgstr ""
|
4892 |
|
4895 |
msgstr ""
|
4896 |
|
4897 |
#: languages/gutenberg.php:113
|
4898 |
+
#: languages/vue.php:2996
|
4899 |
msgid "Adjust the number of columns displayed when the widget is placed in a wide container."
|
4900 |
msgstr ""
|
4901 |
|
4902 |
#: languages/gutenberg.php:116
|
4903 |
+
#: languages/vue.php:3017
|
4904 |
msgid "Post Count"
|
4905 |
msgstr ""
|
4906 |
|
4909 |
msgstr ""
|
4910 |
|
4911 |
#: languages/gutenberg.php:122
|
4912 |
+
#: languages/vue.php:2999
|
4913 |
msgid "Display Options"
|
4914 |
msgstr ""
|
4915 |
|
4922 |
msgstr ""
|
4923 |
|
4924 |
#: languages/gutenberg.php:131
|
4925 |
+
#: languages/vue.php:2816
|
4926 |
msgid "Widget Title"
|
4927 |
msgstr ""
|
4928 |
|
4931 |
msgstr ""
|
4932 |
|
4933 |
#: languages/gutenberg.php:137
|
4934 |
+
#: languages/vue.php:3005
|
4935 |
msgid "Display Author"
|
4936 |
msgstr ""
|
4937 |
|
4938 |
#: languages/gutenberg.php:140
|
4939 |
+
#: languages/vue.php:3008
|
4940 |
msgid "Display Date"
|
4941 |
msgstr ""
|
4942 |
|
4943 |
#: languages/gutenberg.php:143
|
4944 |
+
#: languages/vue.php:3011
|
4945 |
msgid "Display Comments"
|
4946 |
msgstr ""
|
4947 |
|
4948 |
+
#: languages/gutenberg.php:146
|
4949 |
+
#: languages/vue.php:38
|
4950 |
+
#: lite/includes/admin/metaboxes.php:42
|
4951 |
+
msgid "Last 30 days"
|
4952 |
+
msgstr ""
|
4953 |
+
|
4954 |
+
#: languages/gutenberg.php:149
|
4955 |
+
#: languages/vue.php:22
|
4956 |
+
#: lite/includes/admin/metaboxes.php:45
|
4957 |
+
msgid "Yesterday"
|
4958 |
+
msgstr ""
|
4959 |
+
|
4960 |
+
#: languages/gutenberg.php:152
|
4961 |
+
#: languages/vue.php:1361
|
4962 |
+
#: lite/includes/admin/metaboxes.php:57
|
4963 |
+
#: lite/includes/admin/metaboxes.php:111
|
4964 |
+
msgid "Bounce Rate"
|
4965 |
+
msgstr ""
|
4966 |
+
|
4967 |
+
#: languages/gutenberg.php:155
|
4968 |
+
msgid "Time On Page"
|
4969 |
+
msgstr ""
|
4970 |
+
|
4971 |
#: languages/gutenberg.php:158
|
4972 |
+
#: lite/includes/admin/metaboxes.php:73
|
4973 |
+
#: lite/includes/admin/metaboxes.php:127
|
4974 |
+
msgid "Load Time"
|
4975 |
msgstr ""
|
4976 |
|
4977 |
#: languages/gutenberg.php:161
|
4978 |
+
#: lite/includes/admin/metaboxes.php:81
|
4979 |
+
#: lite/includes/admin/metaboxes.php:135
|
4980 |
+
msgid "Entrances"
|
4981 |
msgstr ""
|
4982 |
|
4983 |
#: languages/gutenberg.php:164
|
4984 |
+
#: lite/includes/admin/metaboxes.php:89
|
4985 |
+
#: lite/includes/admin/metaboxes.php:143
|
4986 |
+
msgid "Page Views"
|
4987 |
+
msgstr ""
|
4988 |
+
|
4989 |
+
#: languages/gutenberg.php:167
|
4990 |
+
#: lite/includes/admin/metaboxes.php:97
|
4991 |
+
#: lite/includes/admin/metaboxes.php:151
|
4992 |
+
msgid "Exits"
|
4993 |
+
msgstr ""
|
4994 |
+
|
4995 |
+
#: languages/gutenberg.php:170
|
4996 |
+
#: lite/includes/admin/metaboxes.php:160
|
4997 |
+
msgid "Hide Page Insights"
|
4998 |
+
msgstr ""
|
4999 |
+
|
5000 |
+
#: languages/gutenberg.php:173
|
5001 |
+
#: lite/includes/admin/metaboxes.php:36
|
5002 |
+
msgid "Show Page Insights"
|
5003 |
+
msgstr ""
|
5004 |
+
|
5005 |
+
#: languages/gutenberg.php:188
|
5006 |
+
msgid "Character Count"
|
5007 |
+
msgstr ""
|
5008 |
+
|
5009 |
+
#: languages/gutenberg.php:191
|
5010 |
+
msgid "Too Short"
|
5011 |
+
msgstr ""
|
5012 |
+
|
5013 |
+
#: languages/gutenberg.php:194
|
5014 |
msgid "You have space to add more keywords and power words to boost your rankings and click-through rate."
|
5015 |
msgstr ""
|
5016 |
|
5017 |
+
#: languages/gutenberg.php:198
|
5018 |
msgid "Good"
|
5019 |
msgstr ""
|
5020 |
|
5021 |
+
#: languages/gutenberg.php:201
|
5022 |
msgid "Headlines that are about 55 characters long will display fully in search results and tend to get more clicks."
|
5023 |
msgstr ""
|
5024 |
|
5025 |
+
#: languages/gutenberg.php:204
|
5026 |
msgid "Too Long"
|
5027 |
msgstr ""
|
5028 |
|
5029 |
+
#: languages/gutenberg.php:207
|
5030 |
msgid "At this length, it will get cut off in search results. Try reducing it to about 55 characters."
|
5031 |
msgstr ""
|
5032 |
|
5033 |
+
#: languages/gutenberg.php:210
|
5034 |
msgid "New Score"
|
5035 |
msgstr ""
|
5036 |
|
5037 |
+
#: languages/gutenberg.php:214
|
5038 |
msgid "A good score is between 40 and 60. For best results, you should strive for 70 and above."
|
5039 |
msgstr ""
|
5040 |
|
5041 |
+
#: languages/gutenberg.php:218
|
5042 |
msgid "Current Score"
|
5043 |
msgstr ""
|
5044 |
|
5045 |
+
#: languages/gutenberg.php:221
|
5046 |
msgid "Previous Scores"
|
5047 |
msgstr ""
|
5048 |
|
5049 |
+
#: languages/gutenberg.php:224
|
5050 |
msgid "Search Preview"
|
5051 |
msgstr ""
|
5052 |
|
5053 |
+
#: languages/gutenberg.php:227
|
5054 |
msgid "Here is how your headline will look like in google search results page."
|
5055 |
msgstr ""
|
5056 |
|
5057 |
+
#: languages/gutenberg.php:230
|
5058 |
msgid "Headlines that are strongly positive or negative tend to get more engagement then neutral ones."
|
5059 |
msgstr ""
|
5060 |
|
5061 |
+
#: languages/gutenberg.php:233
|
5062 |
msgid "Your headline has a positive sentiment."
|
5063 |
msgstr ""
|
5064 |
|
5065 |
+
#: languages/gutenberg.php:236
|
5066 |
msgid "Positive headlines tend to get better engagement than neutral or negative ones."
|
5067 |
msgstr ""
|
5068 |
|
5069 |
+
#: languages/gutenberg.php:239
|
5070 |
msgid "Your headline has a negative sentiment."
|
5071 |
msgstr ""
|
5072 |
|
5073 |
+
#: languages/gutenberg.php:242
|
5074 |
msgid "Negative headlines are attention-grabbing and tend to perform better than neutral ones."
|
5075 |
msgstr ""
|
5076 |
|
5077 |
+
#: languages/gutenberg.php:245
|
5078 |
msgid "Sentiment"
|
5079 |
msgstr ""
|
5080 |
|
5081 |
+
#: languages/gutenberg.php:248
|
5082 |
msgid "Neutral"
|
5083 |
msgstr ""
|
5084 |
|
5085 |
+
#: languages/gutenberg.php:251
|
5086 |
msgid "Positive"
|
5087 |
msgstr ""
|
5088 |
|
5089 |
+
#: languages/gutenberg.php:254
|
5090 |
msgid "Negative"
|
5091 |
msgstr ""
|
5092 |
|
5093 |
+
#: languages/gutenberg.php:257
|
5094 |
msgid "Your headline has a neutral sentiment."
|
5095 |
msgstr ""
|
5096 |
|
5097 |
+
#: languages/gutenberg.php:260
|
5098 |
msgid "Beginning & Ending Words"
|
5099 |
msgstr ""
|
5100 |
|
5101 |
+
#: languages/gutenberg.php:263
|
5102 |
msgid "Most readers only look at the first and last 3 words of a headline before deciding whether to click."
|
5103 |
msgstr ""
|
5104 |
|
5105 |
+
#: languages/gutenberg.php:266
|
5106 |
msgid "Headlines that are lists and how-to get more engagement on average than other types of headlines. %1sRead more about %2sdifferent types of headlines here.%3s"
|
5107 |
msgstr ""
|
5108 |
|
5109 |
+
#: languages/gutenberg.php:269
|
5110 |
msgid "Headline Type"
|
5111 |
msgstr ""
|
5112 |
|
5113 |
+
#: languages/gutenberg.php:272
|
5114 |
msgid "Word Balance"
|
5115 |
msgstr ""
|
5116 |
|
5117 |
+
#: languages/gutenberg.php:275
|
5118 |
msgid "Compare the percentages of your results to the goal for each category and adjust as necessary."
|
5119 |
msgstr ""
|
5120 |
|
5121 |
+
#: languages/gutenberg.php:278
|
5122 |
msgid "Your headline would be more likely to get clicks if it had more uncommon words."
|
5123 |
msgstr ""
|
5124 |
|
5125 |
+
#: languages/gutenberg.php:281
|
5126 |
msgid "Headlines with 20-30% common words are more likely to get clicks."
|
5127 |
msgstr ""
|
5128 |
|
5129 |
+
#: languages/gutenberg.php:284
|
5130 |
msgid "Headlines with uncommon words are more likely to get clicks."
|
5131 |
msgstr ""
|
5132 |
|
5133 |
+
#: languages/gutenberg.php:287
|
5134 |
msgid "Emotionally triggered headlines are likely to drive more clicks."
|
5135 |
msgstr ""
|
5136 |
|
5137 |
+
#: languages/gutenberg.php:290
|
5138 |
msgid "Headlines with Power Words are more likely to get clicks."
|
5139 |
msgstr ""
|
5140 |
|
5141 |
+
#: languages/gutenberg.php:293
|
5142 |
msgid "Common Words"
|
5143 |
msgstr ""
|
5144 |
|
5145 |
+
#: languages/gutenberg.php:296
|
5146 |
msgid "20-30%"
|
5147 |
msgstr ""
|
5148 |
|
5149 |
+
#: languages/gutenberg.php:299
|
5150 |
msgid "Uncommon Words"
|
5151 |
msgstr ""
|
5152 |
|
5153 |
+
#: languages/gutenberg.php:302
|
5154 |
msgid "10-20%"
|
5155 |
msgstr ""
|
5156 |
|
5157 |
+
#: languages/gutenberg.php:305
|
5158 |
msgid "Emotional Words"
|
5159 |
msgstr ""
|
5160 |
|
5161 |
+
#: languages/gutenberg.php:308
|
5162 |
msgid "10-15%"
|
5163 |
msgstr ""
|
5164 |
|
5165 |
+
#: languages/gutenberg.php:311
|
5166 |
msgid "Power Words"
|
5167 |
msgstr ""
|
5168 |
|
5169 |
+
#: languages/gutenberg.php:314
|
5170 |
msgid "At least one"
|
5171 |
msgstr ""
|
5172 |
|
5173 |
+
#: languages/gutenberg.php:317
|
5174 |
msgid "Word Count"
|
5175 |
msgstr ""
|
5176 |
|
5177 |
+
#: languages/gutenberg.php:320
|
5178 |
msgid "Not Enough Words"
|
5179 |
msgstr ""
|
5180 |
|
5181 |
+
#: languages/gutenberg.php:323
|
5182 |
msgid "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."
|
5183 |
msgstr ""
|
5184 |
|
5185 |
+
#: languages/gutenberg.php:326
|
5186 |
msgid "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."
|
5187 |
msgstr ""
|
5188 |
|
5189 |
+
#: languages/gutenberg.php:329
|
5190 |
msgid "Reduce Word Count"
|
5191 |
msgstr ""
|
5192 |
|
5193 |
+
#: languages/gutenberg.php:332
|
5194 |
msgid "Too Many Words"
|
5195 |
msgstr ""
|
5196 |
|
5197 |
+
#: languages/gutenberg.php:335
|
5198 |
msgid "Your headline has too many words. Long headlines will get cut off in search results and won’t get as many clicks."
|
5199 |
msgstr ""
|
5200 |
|
5201 |
+
#: languages/gutenberg.php:339
|
5202 |
msgid "Try New Headline"
|
5203 |
msgstr ""
|
5204 |
|
5205 |
+
#: languages/gutenberg.php:342
|
5206 |
msgid "Score"
|
5207 |
msgstr ""
|
5208 |
|
5209 |
+
#: languages/gutenberg.php:345
|
5210 |
msgid "Analyze"
|
5211 |
msgstr ""
|
5212 |
|
5213 |
+
#: languages/gutenberg.php:348
|
5214 |
msgid "Enter a different headline than your post title to see how it compares."
|
5215 |
msgstr ""
|
5216 |
|
5217 |
+
#: languages/gutenberg.php:351
|
5218 |
msgid "Goal: "
|
5219 |
msgstr ""
|
5220 |
|
5221 |
+
#: languages/gutenberg.php:354
|
5222 |
+
#: languages/vue.php:873
|
5223 |
msgid "Headline Analyzer"
|
5224 |
msgstr ""
|
5225 |
|
5226 |
+
#: languages/gutenberg.php:357
|
5227 |
msgid "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."
|
5228 |
msgstr ""
|
5229 |
|
5230 |
+
#: languages/gutenberg.php:360
|
5231 |
msgid "This headline analyzer is part of MonsterInsights to help you increase your traffic. See your %1swebsite traffic reports%2s."
|
5232 |
msgstr ""
|
5233 |
|
5239 |
msgid "2"
|
5240 |
msgstr ""
|
5241 |
|
5242 |
+
#: languages/vue.php:11
|
5243 |
msgid "Error"
|
5244 |
msgstr ""
|
5245 |
|
5247 |
msgid "Please try again."
|
5248 |
msgstr ""
|
5249 |
|
5250 |
+
#: languages/vue.php:19
|
5251 |
msgid "Today"
|
5252 |
msgstr ""
|
5253 |
|
5254 |
+
#: languages/vue.php:26
|
|
|
|
|
|
|
|
|
5255 |
msgid "Last Week"
|
5256 |
msgstr ""
|
5257 |
|
5258 |
+
#: languages/vue.php:30
|
5259 |
msgid "Last Month"
|
5260 |
msgstr ""
|
5261 |
|
5262 |
+
#: languages/vue.php:34
|
5263 |
msgid "Last 7 days"
|
5264 |
msgstr ""
|
5265 |
|
5266 |
+
#: languages/vue.php:41
|
|
|
|
|
|
|
|
|
5267 |
msgid "Loading settings"
|
5268 |
msgstr ""
|
5269 |
|
5270 |
+
#: languages/vue.php:44
|
5271 |
msgid "Loading new report data"
|
5272 |
msgstr ""
|
5273 |
|
5274 |
+
#: languages/vue.php:47
|
5275 |
msgid "Please wait..."
|
5276 |
msgstr ""
|
5277 |
|
5278 |
#. Translators: Adds an arrow icon.
|
5279 |
+
#: languages/vue.php:51
|
5280 |
msgid "Continue %s"
|
5281 |
msgstr ""
|
5282 |
|
5283 |
+
#: languages/vue.php:54
|
5284 |
msgid "Unlock the Publishers Report and Focus on the Content that Matters"
|
5285 |
msgstr ""
|
5286 |
|
5287 |
+
#: languages/vue.php:57
|
5288 |
msgid "Stop guessing about what content your visitors are interested in. MonsterInsights Publisher Report shows you exactly which content gets the most visits, so you can analyze and optimize it for higher conversions."
|
5289 |
msgstr ""
|
5290 |
|
5291 |
+
#: languages/vue.php:60
|
5292 |
msgid "Unlock the Publishers Report and Focus on the Content That Matters"
|
5293 |
msgstr ""
|
5294 |
|
5295 |
+
#: languages/vue.php:63
|
5296 |
msgid "Stop guessing about what content your visitors are interested in. The Publisher Report shows you exactly which content gets the most traffic, so you can analyze and optimize it for higher conversions."
|
5297 |
msgstr ""
|
5298 |
|
5299 |
+
#: languages/vue.php:66
|
5300 |
msgid "Unlock the eCommerce Report and See Your Important Store Metrics"
|
5301 |
msgstr ""
|
5302 |
|
5303 |
+
#: languages/vue.php:69
|
5304 |
msgid "Increase your sales & revenue with insights. ExactMetrics answers all your top eCommerce questions using metrics like total revenue, conversion rate, average order value, top products, top referral sources and more."
|
5305 |
msgstr ""
|
5306 |
|
5307 |
+
#: languages/vue.php:72
|
5308 |
msgid "Unlock the Dimensions Report and Track Your Own Custom Data"
|
5309 |
msgstr ""
|
5310 |
|
5311 |
+
#: languages/vue.php:75
|
5312 |
msgid "Decide what data is important using your own custom tracking parameters. The Dimensions report allows you to easily see what's working right inside your WordPress dashboard."
|
5313 |
msgstr ""
|
5314 |
|
5315 |
+
#: languages/vue.php:78
|
5316 |
msgid "Unlock the Forms Report and Improve Conversions"
|
5317 |
msgstr ""
|
5318 |
|
5319 |
+
#: languages/vue.php:81
|
5320 |
msgid "Easily track your form views and conversions. The Forms Report allows you to see which forms are performing better and which forms have lower conversion rates so you can optimize using real data."
|
5321 |
msgstr ""
|
5322 |
|
5323 |
+
#: languages/vue.php:84
|
5324 |
msgid "Unlock the Search Console Report and See How People Find Your Website"
|
5325 |
msgstr ""
|
5326 |
|
5327 |
+
#: languages/vue.php:87
|
5328 |
msgid "See exactly how people find your website, which keywords they searched for, how many times the results were viewed, and more."
|
5329 |
msgstr ""
|
5330 |
|
5331 |
+
#: languages/vue.php:90
|
5332 |
msgid "Unlock the Real-Time Report and Track the Visitors on Your Site in Real-Time"
|
5333 |
msgstr ""
|
5334 |
|
5335 |
+
#: languages/vue.php:93
|
5336 |
msgid "Track the results of your marketing efforts and product launches as-it-happens right from your WordPress site. The Real-Time report allows you to view your traffic sources and visitors activity when you need it."
|
5337 |
msgstr ""
|
5338 |
|
5339 |
+
#: languages/vue.php:96
|
5340 |
msgid "Unlock the Site Speed Report and Improve the Performance of Your Site"
|
5341 |
msgstr ""
|
5342 |
|
5343 |
+
#: languages/vue.php:99
|
5344 |
msgid "See How Your Homepage Performs According to Google’s Own Criteria and See How You Can Improve to Increase Your Ranking"
|
5345 |
msgstr ""
|
5346 |
|
5347 |
+
#: languages/vue.php:102
|
5348 |
msgid "Loading Settings"
|
5349 |
msgstr ""
|
5350 |
|
5351 |
+
#: languages/vue.php:105
|
5352 |
msgid "Saving Changes..."
|
5353 |
msgstr ""
|
5354 |
|
5355 |
+
#: languages/vue.php:108
|
5356 |
msgid "Settings Updated"
|
5357 |
msgstr ""
|
5358 |
|
5359 |
#. Translators: Adds a link to the settings panel.
|
5360 |
+
#: languages/vue.php:112
|
5361 |
msgid "You need to %1$sconnect MonsterInsights%2$s first"
|
5362 |
msgstr ""
|
5363 |
|
5364 |
+
#: languages/vue.php:115
|
5365 |
msgid "Could Not Save Changes"
|
5366 |
msgstr ""
|
5367 |
|
5368 |
+
#: languages/vue.php:118
|
5369 |
msgid "Refreshing Report"
|
5370 |
msgstr ""
|
5371 |
|
5372 |
+
#: languages/vue.php:121
|
5373 |
msgid "Loading new report data..."
|
5374 |
msgstr ""
|
5375 |
|
5376 |
+
#: languages/vue.php:124
|
5377 |
msgid "See Your Top Landing Pages to Improve Engagement"
|
5378 |
msgstr ""
|
5379 |
|
5380 |
+
#: languages/vue.php:127
|
5381 |
msgid "See Your Top Exit Pages to Reduce Abandonment"
|
5382 |
msgstr ""
|
5383 |
|
5384 |
+
#: languages/vue.php:130
|
5385 |
msgid "See Your Top Outbound Links to Find New Revenue Opportunities"
|
5386 |
msgstr ""
|
5387 |
|
5388 |
+
#: languages/vue.php:133
|
5389 |
msgid "See Your Top Affiliate Links and Focus on What's Working"
|
5390 |
msgstr ""
|
5391 |
|
5392 |
+
#: languages/vue.php:136
|
5393 |
msgid "See Your Top Downloads and Improve Conversions"
|
5394 |
msgstr ""
|
5395 |
|
5396 |
+
#: languages/vue.php:139
|
5397 |
msgid "See Audience Demographic Report ( Age / Gender / Interests )"
|
5398 |
msgstr ""
|
5399 |
|
5400 |
+
#: languages/vue.php:142
|
5401 |
msgid "Increase your sales & revenue with insights. MonsterInsights answers all your top eCommerce questions using metrics like total revenue, conversion rate, average order value, top products, top referral sources and more."
|
5402 |
msgstr ""
|
5403 |
|
5404 |
+
#: languages/vue.php:145
|
5405 |
msgid "See Your Conversion Rate to Improve Your Funnel"
|
5406 |
msgstr ""
|
5407 |
|
5408 |
+
#: languages/vue.php:148
|
5409 |
msgid "See The Number of Transactions and Make Data-Driven Decisions"
|
5410 |
msgstr ""
|
5411 |
|
5412 |
+
#: languages/vue.php:151
|
5413 |
msgid "See The Total Revenue to Track Growth"
|
5414 |
msgstr ""
|
5415 |
|
5416 |
+
#: languages/vue.php:154
|
5417 |
msgid "See Average Order Value to Find Offer Opportunities"
|
5418 |
msgstr ""
|
5419 |
|
5420 |
+
#: languages/vue.php:157
|
5421 |
msgid "See Your Top Products to See Individual Performance"
|
5422 |
msgstr ""
|
5423 |
|
5424 |
+
#: languages/vue.php:160
|
5425 |
msgid "See Your Top Conversion Sources and Focus on What's Working"
|
5426 |
msgstr ""
|
5427 |
|
5428 |
+
#: languages/vue.php:163
|
5429 |
msgid "See The Time it Takes for Customers to Purchase"
|
5430 |
msgstr ""
|
5431 |
|
5432 |
+
#: languages/vue.php:166
|
5433 |
msgid "See How Many Sessions are Needed for a Purchase"
|
5434 |
msgstr ""
|
5435 |
|
5436 |
+
#: languages/vue.php:169
|
5437 |
msgid "See Which Authors Generate the Most Traffic"
|
5438 |
msgstr ""
|
5439 |
|
5440 |
+
#: languages/vue.php:172
|
5441 |
msgid "See Which Post Types Perform Better"
|
5442 |
msgstr ""
|
5443 |
|
5444 |
+
#: languages/vue.php:175
|
5445 |
msgid "See Which Categories are the Most Popular"
|
5446 |
msgstr ""
|
5447 |
|
5448 |
+
#: languages/vue.php:178
|
5449 |
msgid "See Your Blog's Most Popular SEO Scores"
|
5450 |
msgstr ""
|
5451 |
|
5452 |
+
#: languages/vue.php:181
|
5453 |
msgid "See Which Focus Keyword is Performing Better in Search Engines"
|
5454 |
msgstr ""
|
5455 |
|
5456 |
+
#: languages/vue.php:184
|
5457 |
msgid "See Reports for Any Contact Form Plugin or Sign-up Form"
|
5458 |
msgstr ""
|
5459 |
|
5460 |
+
#: languages/vue.php:187
|
5461 |
msgid "See Your Top Converting Forms and Optimize"
|
5462 |
msgstr ""
|
5463 |
|
5464 |
+
#: languages/vue.php:190
|
5465 |
msgid "See Your Forms Impressions Count to Find the Best Placement"
|
5466 |
msgstr ""
|
5467 |
|
5468 |
+
#: languages/vue.php:193
|
5469 |
msgid "See Your Top Google Search Terms and Optimize Content"
|
5470 |
msgstr ""
|
5471 |
|
5472 |
+
#: languages/vue.php:196
|
5473 |
msgid "See The Number of Clicks and Track Interests"
|
5474 |
msgstr ""
|
5475 |
|
5476 |
+
#: languages/vue.php:199
|
5477 |
msgid "See The Click-Through-Ratio and Improve SEO"
|
5478 |
msgstr ""
|
5479 |
|
5480 |
+
#: languages/vue.php:202
|
5481 |
msgid "See The Average Results Position and Focus on what works"
|
5482 |
msgstr ""
|
5483 |
|
5484 |
+
#: languages/vue.php:205
|
5485 |
msgid "See Your Active Visitors and Track Their Behaviour to Optimize"
|
5486 |
msgstr ""
|
5487 |
|
5488 |
+
#: languages/vue.php:208
|
5489 |
msgid "See Your Top Pages Immediately After Making Changes"
|
5490 |
msgstr ""
|
5491 |
|
5492 |
+
#: languages/vue.php:211
|
5493 |
msgid "See Your Top Referral Sources and Adapt Faster"
|
5494 |
msgstr ""
|
5495 |
|
5496 |
+
#: languages/vue.php:214
|
5497 |
msgid "See Your Traffic Demographics"
|
5498 |
msgstr ""
|
5499 |
|
5500 |
+
#: languages/vue.php:217
|
5501 |
msgid "Get Fresh Report Data Every 60 Seconds"
|
5502 |
msgstr ""
|
5503 |
|
5504 |
+
#: languages/vue.php:220
|
5505 |
msgid "See Your Homepage's Overall Performance Score"
|
5506 |
msgstr ""
|
5507 |
|
5508 |
+
#: languages/vue.php:223
|
5509 |
msgid "Run an Audit on Your Homepage and See Your Server Response Time"
|
5510 |
msgstr ""
|
5511 |
|
5512 |
+
#: languages/vue.php:226
|
5513 |
msgid "Learn How Long It Takes for Your Viewers to Interact With Your Site"
|
5514 |
msgstr ""
|
5515 |
|
5516 |
+
#: languages/vue.php:229
|
5517 |
msgid "Learn How to Improve the Core Metrics that Google Uses to Rank Your Site"
|
5518 |
msgstr ""
|
5519 |
|
5520 |
#. Translators: Number of visitors.
|
5521 |
+
#: languages/vue.php:233
|
5522 |
msgid "See how %s visitors found your site!"
|
5523 |
msgstr ""
|
5524 |
|
5525 |
#. Translators: Number of visitors.
|
5526 |
+
#: languages/vue.php:237
|
5527 |
msgid "Your website was visited by %s users in the last 30 days."
|
5528 |
msgstr ""
|
5529 |
|
5530 |
+
#: languages/vue.php:240
|
5531 |
msgid "See the full analytics report!"
|
5532 |
msgstr ""
|
5533 |
|
5534 |
+
#: languages/vue.php:243
|
5535 |
msgid "Congratulations! "
|
5536 |
msgstr ""
|
5537 |
|
5538 |
+
#: languages/vue.php:246
|
5539 |
msgid "You Successfully Unlocked the most powerful Analytics plugin"
|
5540 |
msgstr ""
|
5541 |
|
5542 |
+
#: languages/vue.php:252
|
5543 |
msgid "Overview Report"
|
5544 |
msgstr ""
|
5545 |
|
5546 |
+
#: languages/vue.php:256
|
5547 |
#: lite/includes/admin/welcome.php:56
|
5548 |
#: lite/includes/admin/welcome.php:57
|
5549 |
msgid "Welcome to MonsterInsights"
|
5550 |
msgstr ""
|
5551 |
|
5552 |
+
#: languages/vue.php:259
|
5553 |
msgid "Thank you for choosing MonsterInsights - The Most Powerful WordPress Analytics Plugin"
|
5554 |
msgstr ""
|
5555 |
|
5556 |
+
#: languages/vue.php:262
|
5557 |
msgid "MonsterInsights makes it “effortless” to setup Google Analytics in WordPress, the RIGHT Way. You can watch the video tutorial or use our 3 minute setup wizard."
|
5558 |
msgstr ""
|
5559 |
|
5560 |
+
#: languages/vue.php:265
|
5561 |
msgid "Launch the Wizard!"
|
5562 |
msgstr ""
|
5563 |
|
5564 |
+
#: languages/vue.php:268
|
5565 |
msgid "Read the Full Guide"
|
5566 |
msgstr ""
|
5567 |
|
5568 |
+
#: languages/vue.php:271
|
5569 |
msgid "MonsterInsights Features & Addons"
|
5570 |
msgstr ""
|
5571 |
|
5572 |
+
#: languages/vue.php:274
|
5573 |
msgid "Here are the features that make MonsterInsights the most powerful and user-friendly WordPress analytics plugin in the market."
|
5574 |
msgstr ""
|
5575 |
|
5576 |
+
#: languages/vue.php:277
|
5577 |
msgid "See All Features"
|
5578 |
msgstr ""
|
5579 |
|
5580 |
+
#: languages/vue.php:280
|
5581 |
msgid "Upgrade to PRO"
|
5582 |
msgstr ""
|
5583 |
|
5584 |
+
#: languages/vue.php:283
|
5585 |
msgid "per year"
|
5586 |
msgstr ""
|
5587 |
|
5588 |
+
#: languages/vue.php:291
|
5589 |
msgid "Testimonials"
|
5590 |
msgstr ""
|
5591 |
|
5592 |
+
#: languages/vue.php:294
|
5593 |
msgid "Universal Tracking"
|
5594 |
msgstr ""
|
5595 |
|
5596 |
+
#: languages/vue.php:297
|
5597 |
msgid "Setup universal website tracking across devices and campaigns with just a few clicks (without any code)."
|
5598 |
msgstr ""
|
5599 |
|
5600 |
+
#: languages/vue.php:300
|
5601 |
msgid "Google Analytics Dashboard"
|
5602 |
msgstr ""
|
5603 |
|
5604 |
+
#: languages/vue.php:303
|
5605 |
msgid "See your website analytics report right inside your WordPress dashboard with actionable insights."
|
5606 |
msgstr ""
|
5607 |
|
5608 |
+
#: languages/vue.php:306
|
5609 |
msgid "Real-time Stats"
|
5610 |
msgstr ""
|
5611 |
|
5612 |
+
#: languages/vue.php:309
|
5613 |
msgid "Get real-time stats right inside WordPress to see who is online, what are they doing, and more."
|
5614 |
msgstr ""
|
5615 |
|
5616 |
+
#: languages/vue.php:312
|
5617 |
msgid "Enhanced Ecommerce Tracking"
|
5618 |
msgstr ""
|
5619 |
|
5620 |
+
#: languages/vue.php:315
|
5621 |
msgid "1-click Google Analytics Enhanced Ecommerce tracking for WooCommerce, Easy Digital Downloads & MemberPress."
|
5622 |
msgstr ""
|
5623 |
|
5624 |
+
#: languages/vue.php:318
|
5625 |
msgid "Page Level Analytics"
|
5626 |
msgstr ""
|
5627 |
|
5628 |
+
#: languages/vue.php:321
|
5629 |
msgid "Get detailed stats for each post and page, so you can see the most popular posts, pages, and sections of your site."
|
5630 |
msgstr ""
|
5631 |
|
5632 |
+
#: languages/vue.php:324
|
5633 |
msgid "Affiliate Link & Ads Tracking"
|
5634 |
msgstr ""
|
5635 |
|
5636 |
+
#: languages/vue.php:327
|
5637 |
msgid "Automatically track clicks on your affiliate links, banner ads, and other outbound links with our link tracking."
|
5638 |
msgstr ""
|
5639 |
|
5640 |
+
#: languages/vue.php:330
|
5641 |
msgid "EU Compliance (GDPR Friendly)"
|
5642 |
msgstr ""
|
5643 |
|
5644 |
+
#: languages/vue.php:333
|
5645 |
msgid "Make Google Analytics compliant with GDPR and other privacy regulations automatically."
|
5646 |
msgstr ""
|
5647 |
|
5648 |
+
#: languages/vue.php:336
|
5649 |
msgid "Setup tracking for authors, categories, tags, searches, custom post types, users, and other events with 1-click."
|
5650 |
msgstr ""
|
5651 |
|
5652 |
+
#: languages/vue.php:339
|
5653 |
msgid "Ecommerce Report"
|
5654 |
msgstr ""
|
5655 |
|
5656 |
+
#: languages/vue.php:342
|
5657 |
msgid "Form Conversions"
|
5658 |
msgstr ""
|
5659 |
|
5660 |
+
#: languages/vue.php:345
|
5661 |
msgid "Custom Dimensions"
|
5662 |
msgstr ""
|
5663 |
|
5664 |
+
#: languages/vue.php:349
|
5665 |
msgid "Author Tracking"
|
5666 |
msgstr ""
|
5667 |
|
5668 |
+
#: languages/vue.php:352
|
5669 |
msgid "Google Optimize"
|
5670 |
msgstr ""
|
5671 |
|
5672 |
+
#: languages/vue.php:355
|
5673 |
msgid "Category / Tags Tracking"
|
5674 |
msgstr ""
|
5675 |
|
5676 |
+
#: languages/vue.php:358
|
5677 |
msgid "WooCommerce"
|
5678 |
msgstr ""
|
5679 |
|
5680 |
+
#: languages/vue.php:361
|
5681 |
msgid "Easy Digital Downloads"
|
5682 |
msgstr ""
|
5683 |
|
5684 |
+
#: languages/vue.php:364
|
5685 |
msgid "MemberPress"
|
5686 |
msgstr ""
|
5687 |
|
5688 |
+
#: languages/vue.php:367
|
5689 |
msgid "LifterLMS"
|
5690 |
msgstr ""
|
5691 |
|
5692 |
#. Translators: Current PHP version and recommended PHP version.
|
5693 |
+
#: languages/vue.php:371
|
5694 |
msgid "MonsterInsights has detected that your site is running an outdated, insecure version of PHP (%1$s), which could be putting your site at risk for being hacked. WordPress stopped supporting your PHP version in April, 2019. Updating to the recommended version (PHP %2$s) only takes a few minutes and will make your website significantly faster and more secure."
|
5695 |
msgstr ""
|
5696 |
|
5697 |
#. Translators: Current WordPress version.
|
5698 |
+
#: languages/vue.php:375
|
5699 |
msgid "MonsterInsights has detected that your site is running an outdated version of WordPress (%s). MonsterInsights will stop supporting WordPress versions lower than 4.9 in 2020. Updating WordPress takes just a few minutes and will also solve many bugs that exist in your WordPress install."
|
5700 |
msgstr ""
|
5701 |
|
5702 |
+
#: languages/vue.php:378
|
5703 |
msgid "Yikes! PHP Update Required"
|
5704 |
msgstr ""
|
5705 |
|
5706 |
#. Translators: Current PHP version and recommended PHP version.
|
5707 |
+
#: languages/vue.php:382
|
5708 |
msgid "MonsterInsights has detected that your site is running an outdated, insecure version of PHP (%1$s), which could be putting your site at risk for being hacked. Updating to the recommended version (PHP %2$s) only takes a few minutes and will make your website significantly faster and more secure."
|
5709 |
msgstr ""
|
5710 |
|
5711 |
+
#: languages/vue.php:385
|
5712 |
msgid "Learn more about updating PHP"
|
5713 |
msgstr ""
|
5714 |
|
5715 |
+
#: languages/vue.php:388
|
5716 |
msgid "Yikes! WordPress Update Required"
|
5717 |
msgstr ""
|
5718 |
|
5719 |
#. Translators: Current WordPress version.
|
5720 |
+
#: languages/vue.php:392
|
5721 |
msgid "MonsterInsights has detected that your site is running an outdated version of WordPress (%s). Updating WordPress takes just a few minutes and will also solve many bugs that exist in your WordPress install."
|
5722 |
msgstr ""
|
5723 |
|
5724 |
+
#: languages/vue.php:395
|
5725 |
msgid "Learn more about updating WordPress"
|
5726 |
msgstr ""
|
5727 |
|
5728 |
+
#: languages/vue.php:398
|
5729 |
msgid "MonsterInsights encountered an error loading your report data"
|
5730 |
msgstr ""
|
5731 |
|
5732 |
+
#: languages/vue.php:401
|
5733 |
msgid "There is an issue with your Google Account authentication. Please use the button below to fix it by re-authenticating."
|
5734 |
msgstr ""
|
5735 |
|
5736 |
+
#: languages/vue.php:405
|
5737 |
msgid "Reconnect MonsterInsights"
|
5738 |
msgstr ""
|
5739 |
|
5740 |
+
#: languages/vue.php:409
|
5741 |
msgid "Re-Authenticating"
|
5742 |
msgstr ""
|
5743 |
|
5744 |
+
#: languages/vue.php:413
|
5745 |
msgid "Ok"
|
5746 |
msgstr ""
|
5747 |
|
5748 |
+
#: languages/vue.php:416
|
5749 |
msgid "See Quick Links"
|
5750 |
msgstr ""
|
5751 |
|
5752 |
+
#: languages/vue.php:419
|
5753 |
msgid "Suggest a Feature"
|
5754 |
msgstr ""
|
5755 |
|
5756 |
+
#: languages/vue.php:422
|
5757 |
msgid "Join Our Community"
|
5758 |
msgstr ""
|
5759 |
|
5760 |
+
#: languages/vue.php:425
|
5761 |
msgid "Support & Docs"
|
5762 |
msgstr ""
|
5763 |
|
5764 |
+
#: languages/vue.php:428
|
5765 |
msgid "Upgrade to Pro »"
|
5766 |
msgstr ""
|
5767 |
|
5768 |
#. Translators: Placeholder is replaced with WPForms.
|
5769 |
+
#: languages/vue.php:432
|
5770 |
msgid "Recommended Plugin: %s"
|
5771 |
msgstr ""
|
5772 |
|
5773 |
+
#: languages/vue.php:436
|
5774 |
msgid "Install"
|
5775 |
msgstr ""
|
5776 |
|
5777 |
+
#: languages/vue.php:440
|
5778 |
msgid "Activate"
|
5779 |
msgstr ""
|
5780 |
|
5781 |
+
#: languages/vue.php:446
|
5782 |
msgid "Powered by MonsterInsights"
|
5783 |
msgstr ""
|
5784 |
|
5785 |
+
#: languages/vue.php:449
|
5786 |
#: lite/includes/admin/wp-site-health.php:253
|
5787 |
msgid "View Reports"
|
5788 |
msgstr ""
|
5789 |
|
5790 |
+
#: languages/vue.php:452
|
5791 |
msgid "Congratulations!"
|
5792 |
msgstr ""
|
5793 |
|
5794 |
#. Translators: Add link to YouTube video and Onboarding Wizard.
|
5795 |
+
#: languages/vue.php:456
|
5796 |
msgid "MonsterInsights makes it easy to connect your website with Google Analytics and see all important website stats right inside your WordPress dashboard. In order to setup website analytics, please take a look at our %1$sGetting started video%2$s or use our %3$s to get you quickly set up."
|
5797 |
msgstr ""
|
5798 |
|
5799 |
#. Translators: Add link to YouTube video and Onboarding Wizard.
|
5800 |
+
#: languages/vue.php:460
|
5801 |
msgid "Onboarding Wizard"
|
5802 |
msgstr ""
|
5803 |
|
5804 |
+
#: languages/vue.php:463
|
5805 |
msgid "You are now connected with MonsterInsights. We make it effortless for you to implement Google Analytics tracking and see the stats that matter, right inside the WordPress dashboard."
|
5806 |
msgstr ""
|
5807 |
|
5808 |
+
#: languages/vue.php:466
|
5809 |
msgid "Save Changes"
|
5810 |
msgstr ""
|
5811 |
|
5812 |
+
#: languages/vue.php:469
|
5813 |
msgid "Inbox"
|
5814 |
msgstr ""
|
5815 |
|
5816 |
+
#: languages/vue.php:472
|
5817 |
msgid "Back to Inbox"
|
5818 |
msgstr ""
|
5819 |
|
5820 |
+
#: languages/vue.php:475
|
5821 |
msgid "View Dismissed"
|
5822 |
msgstr ""
|
5823 |
|
5824 |
+
#: languages/vue.php:478
|
5825 |
msgid "Notifications"
|
5826 |
msgstr ""
|
5827 |
|
5828 |
+
#: languages/vue.php:481
|
5829 |
msgid "Dismiss All"
|
5830 |
msgstr ""
|
5831 |
|
5832 |
+
#: languages/vue.php:484
|
5833 |
msgid "Dismissed"
|
5834 |
msgstr ""
|
5835 |
|
5836 |
+
#: languages/vue.php:487
|
5837 |
msgid "No Notifications"
|
5838 |
msgstr ""
|
5839 |
|
5840 |
+
#: languages/vue.php:499
|
5841 |
msgid "Import Export"
|
5842 |
msgstr ""
|
5843 |
|
5844 |
+
#: languages/vue.php:502
|
5845 |
msgid "PrettyLinks Integration"
|
5846 |
msgstr ""
|
5847 |
|
5848 |
+
#: languages/vue.php:508
|
5849 |
msgid "Getting Started"
|
5850 |
msgstr ""
|
5851 |
|
5852 |
+
#: languages/vue.php:511
|
5853 |
msgid "Lite vs Pro"
|
5854 |
msgstr ""
|
5855 |
|
5856 |
+
#: languages/vue.php:517
|
5857 |
msgid "Popular Posts Widget"
|
5858 |
msgstr ""
|
5859 |
|
5865 |
msgid "Sub menu item for WooCommerce Analytics"
|
5866 |
msgstr ""
|
5867 |
|
5868 |
+
#: languages/vue.php:532
|
5869 |
msgid "Engagement"
|
5870 |
msgstr ""
|
5871 |
|
5872 |
+
#: languages/vue.php:535
|
5873 |
#: lite/includes/admin/reports/report-ecommerce.php:22
|
5874 |
msgid "eCommerce"
|
5875 |
msgstr ""
|
5876 |
|
5877 |
+
#: languages/vue.php:538
|
5878 |
msgid "Publisher"
|
5879 |
msgstr ""
|
5880 |
|
5881 |
+
#: languages/vue.php:541
|
5882 |
msgid "Conversions"
|
5883 |
msgstr ""
|
5884 |
|
5885 |
+
#: languages/vue.php:544
|
5886 |
msgid "Advanced"
|
5887 |
msgstr ""
|
5888 |
|
5889 |
+
#: languages/vue.php:547
|
5890 |
msgid "URL Builder"
|
5891 |
msgstr ""
|
5892 |
|
5893 |
+
#: languages/vue.php:550
|
5894 |
msgid "MonsterInsights Addons"
|
5895 |
msgstr ""
|
5896 |
|
5897 |
+
#: languages/vue.php:553
|
5898 |
msgid "Search Addons"
|
5899 |
msgstr ""
|
5900 |
|
5901 |
+
#: languages/vue.php:556
|
5902 |
msgid "Exit Setup"
|
5903 |
msgstr ""
|
5904 |
|
5905 |
+
#: languages/vue.php:559
|
5906 |
msgid "You must connect with MonsterInsights before you can view reports."
|
5907 |
msgstr ""
|
5908 |
|
5909 |
+
#: languages/vue.php:562
|
5910 |
msgid "MonsterInsights makes it \"effortless\" for you to connect your site with Google Analytics and see reports right here in the WordPress dashboard."
|
5911 |
msgstr ""
|
5912 |
|
5913 |
+
#: languages/vue.php:566
|
5914 |
msgid "Launch Setup Wizard"
|
5915 |
msgstr ""
|
5916 |
|
5917 |
+
#: languages/vue.php:569
|
5918 |
msgid "Please ask your webmaster to connect MonsterInsights to Google Analytics."
|
5919 |
msgstr ""
|
5920 |
|
5921 |
+
#: languages/vue.php:575
|
5922 |
#: lite/includes/admin/reports/report-publisher.php:22
|
5923 |
msgid "Publishers"
|
5924 |
msgstr ""
|
5925 |
|
5926 |
+
#: languages/vue.php:578
|
5927 |
#: lite/includes/admin/reports/report-queries.php:22
|
5928 |
msgid "Search Console"
|
5929 |
msgstr ""
|
5930 |
|
5931 |
+
#: languages/vue.php:581
|
5932 |
#: lite/includes/admin/reports/report-dimensions.php:22
|
5933 |
msgid "Dimensions"
|
5934 |
msgstr ""
|
5935 |
|
5936 |
+
#: languages/vue.php:584
|
5937 |
#: lite/includes/admin/reports/report-forms.php:22
|
5938 |
msgid "Forms"
|
5939 |
msgstr ""
|
5940 |
|
5941 |
+
#: languages/vue.php:587
|
5942 |
msgid "Real-Time"
|
5943 |
msgstr ""
|
5944 |
|
5945 |
+
#: languages/vue.php:590
|
5946 |
msgid "Site Speed"
|
5947 |
msgstr ""
|
5948 |
|
5949 |
+
#: languages/vue.php:593
|
5950 |
msgid "2020 Year in Review"
|
5951 |
msgstr ""
|
5952 |
|
5953 |
#. Translators: Error status and error text.
|
5954 |
+
#: languages/vue.php:597
|
5955 |
msgid "Can't load report data. Error: %1$s, %2$s"
|
5956 |
msgstr ""
|
5957 |
|
5958 |
+
#: languages/vue.php:600
|
5959 |
msgid "Error loading report data"
|
5960 |
msgstr ""
|
5961 |
|
5962 |
+
#: languages/vue.php:603
|
5963 |
msgid "Publishers Report"
|
5964 |
msgstr ""
|
5965 |
|
5966 |
+
#: languages/vue.php:606
|
5967 |
msgid "eCommerce Report"
|
5968 |
msgstr ""
|
5969 |
|
5970 |
+
#: languages/vue.php:609
|
5971 |
msgid "Search Console Report"
|
5972 |
msgstr ""
|
5973 |
|
5974 |
+
#: languages/vue.php:612
|
5975 |
msgid "Dimensions Report"
|
5976 |
msgstr ""
|
5977 |
|
5978 |
+
#: languages/vue.php:615
|
5979 |
msgid "Forms Report"
|
5980 |
msgstr ""
|
5981 |
|
5982 |
+
#: languages/vue.php:618
|
5983 |
msgid "Real-Time Report"
|
5984 |
msgstr ""
|
5985 |
|
5986 |
+
#: languages/vue.php:621
|
5987 |
msgid "Site Speed Report"
|
5988 |
msgstr ""
|
5989 |
|
5990 |
+
#: languages/vue.php:626
|
5991 |
msgid "Time to Purchase"
|
5992 |
msgstr ""
|
5993 |
|
5994 |
+
#: languages/vue.php:629
|
5995 |
msgid "This list shows how many days from first visit it took users to purchase products from your site."
|
5996 |
msgstr ""
|
5997 |
|
5998 |
+
#: languages/vue.php:634
|
5999 |
msgid "Sessions to Purchase"
|
6000 |
msgstr ""
|
6001 |
|
6002 |
+
#: languages/vue.php:637
|
6003 |
msgid "This list shows the number of sessions it took users before they purchased a product from your website."
|
6004 |
msgstr ""
|
6005 |
|
6006 |
+
#: languages/vue.php:640
|
6007 |
msgid "New Customers"
|
6008 |
msgstr ""
|
6009 |
|
6010 |
+
#: languages/vue.php:643
|
6011 |
msgid "This list shows the percentage of new customers who purchased a product from your website."
|
6012 |
msgstr ""
|
6013 |
|
6014 |
+
#: languages/vue.php:646
|
6015 |
msgid "Abandoned Checkouts"
|
6016 |
msgstr ""
|
6017 |
|
6018 |
+
#: languages/vue.php:649
|
6019 |
msgid "This list shows the percentage of carts that never went through the checkout process."
|
6020 |
msgstr ""
|
6021 |
|
6022 |
+
#: languages/vue.php:652
|
6023 |
msgid "Top Posts/Pages"
|
6024 |
msgstr ""
|
6025 |
|
6026 |
+
#: languages/vue.php:655
|
6027 |
msgid "This list shows the most viewed posts and pages on your website."
|
6028 |
msgstr ""
|
6029 |
|
6030 |
+
#: languages/vue.php:658
|
6031 |
msgid "New vs. Returning Visitors"
|
6032 |
msgstr ""
|
6033 |
|
6034 |
+
#: languages/vue.php:661
|
6035 |
msgid "This graph shows what percent of your user sessions come from new versus repeat visitors."
|
6036 |
msgstr ""
|
6037 |
|
6038 |
+
#: languages/vue.php:664
|
6039 |
msgid "Device Breakdown"
|
6040 |
msgstr ""
|
6041 |
|
6042 |
+
#: languages/vue.php:667
|
6043 |
msgid "This graph shows what percent of your visitor sessions are done using a traditional computer or laptop, tablet or mobile device to view your site."
|
6044 |
msgstr ""
|
6045 |
|
6046 |
+
#: languages/vue.php:671
|
6047 |
msgid "Top Landing Pages"
|
6048 |
msgstr ""
|
6049 |
|
6050 |
+
#: languages/vue.php:674
|
6051 |
msgid "This list shows the top pages users first land on when visiting your website."
|
6052 |
msgstr ""
|
6053 |
|
6059 |
msgid "This list shows the top pages users exit your website from."
|
6060 |
msgstr ""
|
6061 |
|
6062 |
+
#: languages/vue.php:685
|
6063 |
msgid "Top Outbound Links"
|
6064 |
msgstr ""
|
6065 |
|
6066 |
+
#: languages/vue.php:688
|
6067 |
msgid "This list shows the top links clicked on your website that go to another website."
|
6068 |
msgstr ""
|
6069 |
|
6070 |
+
#: languages/vue.php:691
|
6071 |
msgid "Top Affiliate Links"
|
6072 |
msgstr ""
|
6073 |
|
6074 |
+
#: languages/vue.php:694
|
6075 |
msgid "This list shows the top affiliate links your visitors clicked on."
|
6076 |
msgstr ""
|
6077 |
|
6078 |
+
#: languages/vue.php:698
|
6079 |
msgid "Top Download Links"
|
6080 |
msgstr ""
|
6081 |
|
6082 |
+
#: languages/vue.php:701
|
6083 |
msgid "This list shows the download links your visitors clicked the most."
|
6084 |
msgstr ""
|
6085 |
|
6086 |
+
#: languages/vue.php:705
|
6087 |
msgid "Top Products"
|
6088 |
msgstr ""
|
6089 |
|
6090 |
+
#: languages/vue.php:708
|
6091 |
msgid "This list shows the top selling products on your website."
|
6092 |
msgstr ""
|
6093 |
|
6094 |
+
#: languages/vue.php:712
|
6095 |
msgid "Top Conversion Sources"
|
6096 |
msgstr ""
|
6097 |
|
6098 |
+
#: languages/vue.php:715
|
6099 |
msgid "This list shows the top referral websites in terms of product revenue."
|
6100 |
msgstr ""
|
6101 |
|
6102 |
+
#: languages/vue.php:718
|
6103 |
msgid "Total Add/Remove"
|
6104 |
msgstr ""
|
6105 |
|
6106 |
#. Translators: Adds a link to documentation.
|
6107 |
+
#: languages/vue.php:732
|
6108 |
msgid "In order for the MonsterInsights Google AMP addon to work properly, please ask your webmaster to install the WordPress AMP plugin by Automattic. %1$sLearn More%2$s"
|
6109 |
msgstr ""
|
6110 |
|
6111 |
#. Translators: Adds link to activate/install plugin and documentation.
|
6112 |
+
#: languages/vue.php:736
|
6113 |
msgid "In order for the MonsterInsights Google AMP addon to work properly, you need to install the WordPress AMP plugin by Automattic. %1$s%2$s Plugin%3$s | %4$sLearn More%5$s"
|
6114 |
msgstr ""
|
6115 |
|
6116 |
#. Translators: Adds a link to documentation.
|
6117 |
+
#: languages/vue.php:740
|
6118 |
msgid "In order for the MonsterInsights Instant Articles addon to work properly, please ask your webmaster to install the Instant Articles for WP plugin by Automattic version 3.3.5 or newer. %1$sLearn More%2$s"
|
6119 |
msgstr ""
|
6120 |
|
6121 |
#. Translators: Adds link to activate/install plugin and documentation.
|
6122 |
+
#: languages/vue.php:744
|
6123 |
msgid "In order for the MonsterInsights Instant Articles addon to work properly, you need to install the Instant Articles for WP plugin by Automattic version 3.3.5 or newer. %1$s%2$s Plugin%3$s | %4$sLearn More%5$s"
|
6124 |
msgstr ""
|
6125 |
|
6126 |
+
#: languages/vue.php:747
|
6127 |
msgid "GDPR Guide"
|
6128 |
msgstr ""
|
6129 |
|
6130 |
+
#: languages/vue.php:750
|
6131 |
msgid "Compliance with European data laws including GDPR can be confusing and time-consuming. In order to help MonsterInsights users comply with these laws, we’ve created an addon that automates a lot of the necessary configuration changes for you. "
|
6132 |
msgstr ""
|
6133 |
|
6134 |
+
#: languages/vue.php:753
|
6135 |
msgid "How to Install and Activate MonsterInsights Addons"
|
6136 |
msgstr ""
|
6137 |
|
6138 |
+
#: languages/vue.php:756
|
6139 |
msgid "The process for installing and activating addons is quick and easy after you install the MonsterInsights plugin. In this guide we’ll walk you through the process, step by step."
|
6140 |
msgstr ""
|
6141 |
|
6142 |
+
#: languages/vue.php:759
|
6143 |
msgid "Enabling eCommerce Tracking and Reports"
|
6144 |
msgstr ""
|
6145 |
|
6146 |
+
#: languages/vue.php:762
|
6147 |
msgid "Want to track your eCommerce sales data for your WooCommerce, MemberPress, or Easy Digital Downloads store with MonsterInsights? In this guide, we’ll show you how to enable eCommerce tracking in Google Analytics in just a few clicks."
|
6148 |
msgstr ""
|
6149 |
|
6150 |
+
#: languages/vue.php:765
|
6151 |
msgid "Read Documentation"
|
6152 |
msgstr ""
|
6153 |
|
6154 |
+
#: languages/vue.php:768
|
6155 |
msgid "Getting Started with MonsterInsights"
|
6156 |
msgstr ""
|
6157 |
|
6158 |
+
#: languages/vue.php:771
|
6159 |
msgid "MonsterInsights is the easiest analytics solution on the market to get started with, as we walk you through exactly what you need to do, in plain english, using our 3 minute setup wizard."
|
6160 |
msgstr ""
|
6161 |
|
6162 |
+
#: languages/vue.php:774
|
6163 |
msgid "To begin with, we’ll get your site authorized with Google Analytics, so we can start tracking and generating reports for you right away."
|
6164 |
msgstr ""
|
6165 |
|
6166 |
+
#: languages/vue.php:777
|
6167 |
msgid "In no time at all, and after just a few clicks, you'll have setup the most powerful Google Analytics tracking available for WordPress. It's easy to double your traffic and sales when you know exactly how people find and use your website. Let's get started!."
|
6168 |
msgstr ""
|
6169 |
|
6170 |
+
#: languages/vue.php:780
|
6171 |
msgid "Launch the wizard!"
|
6172 |
msgstr ""
|
6173 |
|
6174 |
+
#: languages/vue.php:783
|
6175 |
msgid "Get MonsterInsights Pro and Unlock all the Powerful Features"
|
6176 |
msgstr ""
|
6177 |
|
6178 |
#. Translators: Makes text bold.
|
6179 |
+
#: languages/vue.php:787
|
6180 |
msgid "Thanks for being a loyal MonsterInsights Lite user. %1$sUpgrade to MonsterInsights Pro%2$s to unlock all the awesome features and experience why MonsterInsights is consistently rated the best Google Analytics solution for WordPress."
|
6181 |
msgstr ""
|
6182 |
|
6183 |
+
#: languages/vue.php:790
|
6184 |
msgid "Universal Tracking across devices and campaigns with just a few clicks."
|
6185 |
msgstr ""
|
6186 |
|
6187 |
+
#: languages/vue.php:793
|
6188 |
msgid "See your website analytics reports inside the WordPress dashboard"
|
6189 |
msgstr ""
|
6190 |
|
6191 |
+
#: languages/vue.php:796
|
6192 |
msgid "Get real-time stats right inside WordPress"
|
6193 |
msgstr ""
|
6194 |
|
6195 |
+
#: languages/vue.php:799
|
6196 |
msgid "1-click Google Analytics Enhanced eCommerce tracking"
|
6197 |
msgstr ""
|
6198 |
|
6199 |
+
#: languages/vue.php:802
|
6200 |
msgid "Get detailed stats for each post and page."
|
6201 |
msgstr ""
|
6202 |
|
6203 |
+
#: languages/vue.php:805
|
6204 |
msgid "Automatically track clicks on your affiliate links and ads."
|
6205 |
msgstr ""
|
6206 |
|
6207 |
+
#: languages/vue.php:808
|
6208 |
msgid "Make Google Analytics GDPR compliant automatically"
|
6209 |
msgstr ""
|
6210 |
|
6211 |
+
#: languages/vue.php:811
|
6212 |
msgid "Setup tracking for authors, categories, tags, custom post types, users and more"
|
6213 |
msgstr ""
|
6214 |
|
6215 |
+
#: languages/vue.php:814
|
6216 |
msgid "Enable Google Optimize for A/B testing, adjust sample speed & sample rate."
|
6217 |
msgstr ""
|
6218 |
|
6219 |
+
#: languages/vue.php:817
|
6220 |
msgid "More advanced features"
|
6221 |
msgstr ""
|
6222 |
|
6223 |
+
#: languages/vue.php:820
|
6224 |
msgid "Get MonsterInsights Pro Today and Unlock all the Powerful Features"
|
6225 |
msgstr ""
|
6226 |
|
6227 |
#. Translators: Makes text green.
|
6228 |
+
#: languages/vue.php:824
|
6229 |
msgid "Bonus: MonsterInsights Lite users get %1$s50%% off regular price%2$s, automatically applied at checkout."
|
6230 |
msgstr ""
|
6231 |
|
6232 |
+
#: languages/vue.php:827
|
6233 |
msgid "How to Connect to Google Analytics"
|
6234 |
msgstr ""
|
6235 |
|
6236 |
+
#: languages/vue.php:830
|
6237 |
msgid "After you install MonsterInsights, you’ll need to connect your WordPress site with your Google Analytics account. MonsterInsights makes the process easy, with no coding required."
|
6238 |
msgstr ""
|
6239 |
|
6240 |
+
#: languages/vue.php:833
|
6241 |
msgid "Guide and Checklist for Advanced Insights"
|
6242 |
msgstr ""
|
6243 |
|
6244 |
+
#: languages/vue.php:836
|
6245 |
msgid "Our goal is to make it as easy as possible for you to measure and track your stats so you can grow your business. This easy-to-follow guide and checklist will get you set up with MonsterInsights’ advanced tracking."
|
6246 |
msgstr ""
|
6247 |
|
6248 |
+
#: languages/vue.php:839
|
6249 |
msgid "WPForms, Ninja Forms, Contact Form 7, Gravity Forms and any other WordPress form plugin"
|
6250 |
msgstr ""
|
6251 |
|
6252 |
+
#: languages/vue.php:842
|
6253 |
msgid "WordPress Admin Area Reports"
|
6254 |
msgstr ""
|
6255 |
|
6256 |
+
#: languages/vue.php:845
|
6257 |
msgid "Standard Reports"
|
6258 |
msgstr ""
|
6259 |
|
6260 |
+
#: languages/vue.php:848
|
6261 |
msgid "Overview Reports for the last 30 days."
|
6262 |
msgstr ""
|
6263 |
|
6264 |
+
#: languages/vue.php:852
|
6265 |
msgid "Advanced Reports"
|
6266 |
msgstr ""
|
6267 |
|
6268 |
+
#: languages/vue.php:855
|
6269 |
msgid "Publisher, eCommerce, Search Console, Custom Dimensions, Forms and Real-Time with custom date period selection"
|
6270 |
msgstr ""
|
6271 |
|
6272 |
+
#: languages/vue.php:858
|
6273 |
msgid "Dashboard Widget"
|
6274 |
msgstr ""
|
6275 |
|
6276 |
+
#: languages/vue.php:861
|
6277 |
msgid "Basic Widget"
|
6278 |
msgstr ""
|
6279 |
|
6280 |
+
#: languages/vue.php:864
|
6281 |
msgid "Overview Report Synopsis"
|
6282 |
msgstr ""
|
6283 |
|
6284 |
+
#: languages/vue.php:867
|
6285 |
msgid "Advanced Dashboard Widget"
|
6286 |
msgstr ""
|
6287 |
|
6288 |
+
#: languages/vue.php:870
|
6289 |
msgid "Includes the complete Overview report, Publisher reports and 6 different eCommerce reports"
|
6290 |
msgstr ""
|
6291 |
|
6292 |
+
#: languages/vue.php:876
|
6293 |
msgid "Email Summaries"
|
6294 |
msgstr ""
|
6295 |
|
6296 |
+
#: languages/vue.php:879
|
6297 |
msgid "Included"
|
6298 |
msgstr ""
|
6299 |
|
6300 |
+
#: languages/vue.php:882
|
6301 |
msgid "Get weekly traffic reports directly in your inbox."
|
6302 |
msgstr ""
|
6303 |
|
6304 |
+
#: languages/vue.php:885
|
6305 |
msgid "Publisher Reports"
|
6306 |
msgstr ""
|
6307 |
|
6308 |
+
#: languages/vue.php:888
|
6309 |
msgid "Advanced Publisher Reports & Tracking"
|
6310 |
msgstr ""
|
6311 |
|
6312 |
+
#: languages/vue.php:891
|
6313 |
msgid "View Top Landing/Exit Pages, Top Links, Demographics & Interests data and more"
|
6314 |
msgstr ""
|
6315 |
|
6316 |
+
#: languages/vue.php:897
|
6317 |
msgid "Basic Options"
|
6318 |
msgstr ""
|
6319 |
|
6320 |
+
#: languages/vue.php:900
|
6321 |
msgid "Order Popular Posts by comments or shares with 3 simple theme choices."
|
6322 |
msgstr ""
|
6323 |
|
6324 |
+
#: languages/vue.php:903
|
6325 |
msgid "Dynamic Popular Posts & Popular Products"
|
6326 |
msgstr ""
|
6327 |
|
6328 |
+
#: languages/vue.php:906
|
6329 |
msgid "Display Popular Posts based on your actual traffic data from Google Analytics and choose from over 20 advanced themes. Display Popular WooCommerce products using widgets or Gutenberg blocks."
|
6330 |
msgstr ""
|
6331 |
|
6332 |
+
#: languages/vue.php:909
|
6333 |
msgid "Not Available"
|
6334 |
msgstr ""
|
6335 |
|
6336 |
+
#: languages/vue.php:912
|
6337 |
msgid "Complete Custom Dimensions Tracking"
|
6338 |
msgstr ""
|
6339 |
|
6340 |
+
#: languages/vue.php:915
|
6341 |
msgid "Track and measure by the Author, Post Type, Category, Tag, SEO Score, Focus Keyword, Logged-in User, User ID and Published Time of each post and page"
|
6342 |
msgstr ""
|
6343 |
|
6344 |
+
#: languages/vue.php:921
|
6345 |
msgid "Limited Support"
|
6346 |
msgstr ""
|
6347 |
|
6348 |
+
#: languages/vue.php:924
|
6349 |
msgid "Priority Support"
|
6350 |
msgstr ""
|
6351 |
|
6352 |
+
#: languages/vue.php:927
|
6353 |
msgid "Get the most out of MonsterInsights by upgrading to Pro and unlocking all of the powerful features."
|
6354 |
msgstr ""
|
6355 |
|
6356 |
+
#: languages/vue.php:930
|
6357 |
msgid "Feature"
|
6358 |
msgstr ""
|
6359 |
|
6360 |
+
#: languages/vue.php:933
|
6361 |
msgid "Lite"
|
6362 |
msgstr ""
|
6363 |
|
6364 |
+
#: languages/vue.php:936
|
6365 |
msgid "Pro"
|
6366 |
msgstr ""
|
6367 |
|
6368 |
+
#: languages/vue.php:939
|
6369 |
msgid "Custom Google Analytics Link Tracking"
|
6370 |
msgstr ""
|
6371 |
|
6372 |
+
#: languages/vue.php:942
|
6373 |
msgid "Standard Tracking"
|
6374 |
msgstr ""
|
6375 |
|
6376 |
+
#: languages/vue.php:945
|
6377 |
msgid "Advanced Tracking"
|
6378 |
msgstr ""
|
6379 |
|
6380 |
+
#: languages/vue.php:948
|
6381 |
msgid "Automatic tracking of outbound/external, file download, affiliate, email and telephone links and our simple Custom Link Attribution markup for custom link tracking"
|
6382 |
msgstr ""
|
6383 |
|
6384 |
+
#: languages/vue.php:951
|
6385 |
msgid "Scroll tracking as well as tracking on Google Accelerated Mobile Pages (AMP) and Facebook Instant Articles for Publishers"
|
6386 |
msgstr ""
|
6387 |
|
6388 |
+
#: languages/vue.php:954
|
6389 |
msgid "No-Code-Needed Tracking Features"
|
6390 |
msgstr ""
|
6391 |
|
6392 |
+
#: languages/vue.php:957
|
6393 |
msgid "Basic Tracking Options"
|
6394 |
msgstr ""
|
6395 |
|
6396 |
+
#: languages/vue.php:960
|
6397 |
msgid "Cross-domain tracking, anonymization of IP addresses, and automatic exclusion of administrators from tracking"
|
6398 |
msgstr ""
|
6399 |
|
6400 |
+
#: languages/vue.php:963
|
6401 |
msgid "Advanced Tracking Options"
|
6402 |
msgstr ""
|
6403 |
|
6404 |
+
#: languages/vue.php:966
|
6405 |
msgid "Easily integrate Google Optimize as well as adjust recordings of site speed and the sample rate of visitors"
|
6406 |
msgstr ""
|
6407 |
|
6408 |
+
#: languages/vue.php:970
|
6409 |
msgid "eCommerce Tracking"
|
6410 |
msgstr ""
|
6411 |
|
6412 |
+
#: languages/vue.php:973
|
6413 |
msgid "One-click Complete eCommerce tracking"
|
6414 |
msgstr ""
|
6415 |
|
6416 |
+
#: languages/vue.php:976
|
6417 |
msgid "Complete eCommerce tracking for WooCommerce, Easy Digital Downloads and MemberPress stores with no code or settings required"
|
6418 |
msgstr ""
|
6419 |
|
6420 |
+
#: languages/vue.php:980
|
6421 |
msgid "Forms Tracking"
|
6422 |
msgstr ""
|
6423 |
|
6424 |
+
#: languages/vue.php:983
|
6425 |
msgid "One-click Form Events Tracking"
|
6426 |
msgstr ""
|
6427 |
|
6428 |
+
#: languages/vue.php:987
|
6429 |
msgid "License Key"
|
6430 |
msgstr ""
|
6431 |
|
6432 |
#. Translators: Add link to retrieve license key from account.
|
6433 |
+
#: languages/vue.php:991
|
6434 |
msgid "Add your MonsterInsights license key from the email receipt or account area. %1$sRetrieve your license key%2$s."
|
6435 |
msgstr ""
|
6436 |
|
6437 |
+
#: languages/vue.php:994
|
6438 |
msgid "Google Authentication"
|
6439 |
msgstr ""
|
6440 |
|
6441 |
+
#: languages/vue.php:997
|
6442 |
msgid "Connect Google Analytics + WordPress"
|
6443 |
msgstr ""
|
6444 |
|
6445 |
+
#: languages/vue.php:1000
|
6446 |
msgid "You will be taken to the MonsterInsights website where you'll need to connect your Analytics account."
|
6447 |
msgstr ""
|
6448 |
|
6449 |
+
#: languages/vue.php:1003
|
6450 |
msgid "Miscellaneous"
|
6451 |
msgstr ""
|
6452 |
|
6453 |
+
#: languages/vue.php:1006
|
6454 |
msgid "Hides plugin announcements and update details. This includes critical notices we use to inform about deprecations and important required configuration changes."
|
6455 |
msgstr ""
|
6456 |
|
6457 |
+
#: languages/vue.php:1009
|
6458 |
msgid "Hide Announcements"
|
6459 |
msgstr ""
|
6460 |
|
6461 |
+
#: languages/vue.php:1012
|
6462 |
msgid "Setup Wizard"
|
6463 |
msgstr ""
|
6464 |
|
6465 |
+
#: languages/vue.php:1015
|
6466 |
msgid "Use our configuration wizard to properly setup Google Analytics with WordPress (with just a few clicks)."
|
6467 |
msgstr ""
|
6468 |
|
6469 |
+
#: languages/vue.php:1018
|
6470 |
msgid "Hello and welcome to MonsterInsights, the best Google Analytics plugin for WordPress. MonsterInsights shows you exactly which content gets the most visits, so you can analyze and optimize it for higher conversions."
|
6471 |
msgstr ""
|
6472 |
|
6473 |
+
#: languages/vue.php:1021
|
6474 |
msgid "Over the years, we found that in order to get the most out of Google Analytics, you needed a full time developer who could implement custom tracking, so that Google Analytics would integrate with things like WooCommerce, and track things which Google doesn't by default, like outbound links."
|
6475 |
msgstr ""
|
6476 |
|
6477 |
+
#: languages/vue.php:1024
|
6478 |
msgid "Our goal is to take the pain out of analytics, making it simple and easy, by eliminating the need to have to worry about code, putting the best reports directly into the area you already go to (your WordPress dashboard), and adding the most advanced insights and features without complicating our plugin with tons of settings. Quite simply, it should \"just work\"."
|
6479 |
msgstr ""
|
6480 |
|
6481 |
+
#: languages/vue.php:1027
|
6482 |
msgid "MonsterInsights is brought to you by the same team that's behind the largest WordPress resource site, WPBeginner, the most popular lead-generation software, OptinMonster, and the best WordPress forms plugin, WPForms."
|
6483 |
msgstr ""
|
6484 |
|
6485 |
+
#: languages/vue.php:1030
|
6486 |
msgid "Yup, we know a thing or two about building awesome products that customers love."
|
6487 |
msgstr ""
|
6488 |
|
6489 |
+
#: languages/vue.php:1033
|
6490 |
msgid "The MonsterInsights Team"
|
6491 |
msgstr ""
|
6492 |
|
6493 |
+
#: languages/vue.php:1036
|
6494 |
msgid "Make your MonsterInsights campaign links prettier with Pretty Links!"
|
6495 |
msgstr ""
|
6496 |
|
6497 |
+
#: languages/vue.php:1039
|
6498 |
msgid "Pretty Links turns those ugly, long campaign links into clean, memorable, speakable, totally shareable links."
|
6499 |
msgstr ""
|
6500 |
|
6501 |
+
#: languages/vue.php:1042
|
6502 |
msgid "Take your MonsterInsights campaign links from our URL Builder and shorten them with Pretty Links!"
|
6503 |
msgstr ""
|
6504 |
|
6505 |
+
#: languages/vue.php:1045
|
6506 |
msgid "Over 200,000 websites use Pretty Links!"
|
6507 |
msgstr ""
|
6508 |
|
6509 |
+
#: languages/vue.php:1048
|
6510 |
msgid "Install Pretty Links"
|
6511 |
msgstr ""
|
6512 |
|
6513 |
+
#: languages/vue.php:1051
|
6514 |
msgid "Pretty Links Installed & Activated"
|
6515 |
msgstr ""
|
6516 |
|
6517 |
+
#: languages/vue.php:1054
|
6518 |
msgid "Download Pretty Links"
|
6519 |
msgstr ""
|
6520 |
|
6521 |
+
#: languages/vue.php:1057
|
6522 |
msgid "Install Pretty Links from the WordPress.org plugin repository."
|
6523 |
msgstr ""
|
6524 |
|
6525 |
+
#: languages/vue.php:1060
|
6526 |
msgid "Activate Pretty Links"
|
6527 |
msgstr ""
|
6528 |
|
6529 |
+
#: languages/vue.php:1063
|
6530 |
msgid "Activating Pretty Links..."
|
6531 |
msgstr ""
|
6532 |
|
6533 |
+
#: languages/vue.php:1066
|
6534 |
msgid "Create New Pretty Link"
|
6535 |
msgstr ""
|
6536 |
|
6537 |
+
#: languages/vue.php:1069
|
6538 |
msgid "Create a New Pretty Link"
|
6539 |
msgstr ""
|
6540 |
|
6541 |
+
#: languages/vue.php:1072
|
6542 |
msgid "Grab your campaign link and paste it into the Target URL field."
|
6543 |
msgstr ""
|
6544 |
|
6545 |
+
#: languages/vue.php:1075
|
6546 |
msgid "Custom Campaign Parameters"
|
6547 |
msgstr ""
|
6548 |
|
6549 |
+
#: languages/vue.php:1078
|
6550 |
msgid "The URL builder helps you add parameters to your URLs you use in custom web or email ad campaigns."
|
6551 |
msgstr ""
|
6552 |
|
6553 |
+
#: languages/vue.php:1081
|
6554 |
msgid "A custom campaign is any ad campaign not using the AdWords auto-tagging feature. When users click one of the custom links, the unique parameters are sent to your Analytics account, so you can identify the URLs that are the most effective in attracting users to your content."
|
6555 |
msgstr ""
|
6556 |
|
6557 |
#. Translators: Marks the field as required.
|
6558 |
+
#: languages/vue.php:1085
|
6559 |
msgid "Website URL %s"
|
6560 |
msgstr ""
|
6561 |
|
6562 |
#. Translators: Display the current website url in italic.
|
6563 |
+
#: languages/vue.php:1089
|
6564 |
msgid "The full website URL (e.g. %1$s %2$s%3$s)"
|
6565 |
msgstr ""
|
6566 |
|
6567 |
#. Translators: Marks the field as required.
|
6568 |
+
#: languages/vue.php:1093
|
6569 |
msgid "Campaign Source %s"
|
6570 |
msgstr ""
|
6571 |
|
6572 |
#. Translators: Make the text italic.
|
6573 |
+
#: languages/vue.php:1097
|
6574 |
msgid "Enter a referrer (e.g. %1$sfacebook, newsletter, google%2$s)"
|
6575 |
msgstr ""
|
6576 |
|
6577 |
#. Translators: Make the text italic.
|
6578 |
+
#: languages/vue.php:1101
|
6579 |
msgid "Enter a marketing medium (e.g. %1$scpc, banner, email%2$s)"
|
6580 |
msgstr ""
|
6581 |
|
6582 |
#. Translators: Make the text italic.
|
6583 |
+
#: languages/vue.php:1105
|
6584 |
msgid "Enter a name to easily identify (e.g. %1$sspring_sale%2$s)"
|
6585 |
msgstr ""
|
6586 |
|
6587 |
+
#: languages/vue.php:1108
|
6588 |
msgid "Enter the paid keyword"
|
6589 |
msgstr ""
|
6590 |
|
6591 |
+
#: languages/vue.php:1111
|
6592 |
msgid "Enter something to differentiate ads"
|
6593 |
msgstr ""
|
6594 |
|
6595 |
+
#: languages/vue.php:1114
|
6596 |
msgid "Use Fragment"
|
6597 |
msgstr ""
|
6598 |
|
6599 |
#. Translators: Make the text bold.
|
6600 |
+
#: languages/vue.php:1118
|
6601 |
msgid "Set the parameters in the fragment portion of the URL %1$s(not recommended)%2$s"
|
6602 |
msgstr ""
|
6603 |
|
6604 |
+
#: languages/vue.php:1121
|
6605 |
msgid "URL to use"
|
6606 |
msgstr ""
|
6607 |
|
6608 |
+
#: languages/vue.php:1124
|
6609 |
msgid "(Updates automatically)"
|
6610 |
msgstr ""
|
6611 |
|
6612 |
+
#: languages/vue.php:1127
|
6613 |
msgid "Copy to Clipboard"
|
6614 |
msgstr ""
|
6615 |
|
6616 |
+
#: languages/vue.php:1130
|
6617 |
msgid "Copy to Pretty Links"
|
6618 |
msgstr ""
|
6619 |
|
6620 |
+
#: languages/vue.php:1133
|
6621 |
msgid "Make your campaign links prettier!"
|
6622 |
msgstr ""
|
6623 |
|
6624 |
+
#: languages/vue.php:1136
|
6625 |
msgid "Pretty Links turns those ugly, long campaign links into clean, memorable, speakable and totally shareable links."
|
6626 |
msgstr ""
|
6627 |
|
6628 |
+
#: languages/vue.php:1139
|
6629 |
msgid "More Information & Examples"
|
6630 |
msgstr ""
|
6631 |
|
6632 |
+
#: languages/vue.php:1142
|
6633 |
msgid "The following table gives a detailed explanation and example of each of the campaign parameters."
|
6634 |
msgstr ""
|
6635 |
|
6636 |
+
#: languages/vue.php:1145
|
6637 |
msgid "Campaign Source"
|
6638 |
msgstr ""
|
6639 |
|
6640 |
+
#: languages/vue.php:1148
|
6641 |
msgid "Required. Use utm_source to identify a search engine, newsletter name, or other source."
|
6642 |
msgstr ""
|
6643 |
|
6644 |
+
#: languages/vue.php:1151
|
6645 |
msgid "Campaign Medium"
|
6646 |
msgstr ""
|
6647 |
|
6648 |
+
#: languages/vue.php:1154
|
6649 |
msgid "Use utm_medium to identify a medium such as email or cost-per-click."
|
6650 |
msgstr ""
|
6651 |
|
6652 |
+
#: languages/vue.php:1157
|
6653 |
msgid "Campaign Name"
|
6654 |
msgstr ""
|
6655 |
|
6656 |
+
#: languages/vue.php:1160
|
6657 |
msgid "Used for keyword analysis. Use utm_campaign to identify a specific product promotion or strategic campaign."
|
6658 |
msgstr ""
|
6659 |
|
6660 |
+
#: languages/vue.php:1163
|
6661 |
msgid "Campaign Term"
|
6662 |
msgstr ""
|
6663 |
|
6664 |
+
#: languages/vue.php:1166
|
6665 |
msgid "Used for paid search. Use utm_term to note the keywords for this ad."
|
6666 |
msgstr ""
|
6667 |
|
6668 |
+
#: languages/vue.php:1169
|
6669 |
msgid "Campaign Content"
|
6670 |
msgstr ""
|
6671 |
|
6672 |
+
#: languages/vue.php:1172
|
6673 |
msgid "Used for A/B testing and content-targeted ads. Use utm_content to differentiate ads or links that point to the same URL."
|
6674 |
msgstr ""
|
6675 |
|
6676 |
#. Translators: Example.
|
6677 |
+
#: languages/vue.php:1176
|
6678 |
msgid "Example: %s"
|
6679 |
msgstr ""
|
6680 |
|
6681 |
#. Translators: Examples.
|
6682 |
+
#: languages/vue.php:1180
|
6683 |
msgid "Examples: %s"
|
6684 |
msgstr ""
|
6685 |
|
6686 |
+
#: languages/vue.php:1183
|
6687 |
msgid "About Campaigns"
|
6688 |
msgstr ""
|
6689 |
|
6690 |
+
#: languages/vue.php:1186
|
6691 |
msgid "About Custom Campaigns"
|
6692 |
msgstr ""
|
6693 |
|
6694 |
+
#: languages/vue.php:1189
|
6695 |
msgid "Best Practices for Creating Custom Campaigns"
|
6696 |
msgstr ""
|
6697 |
|
6698 |
+
#: languages/vue.php:1192
|
6699 |
msgid "About the Referral Traffic Report"
|
6700 |
msgstr ""
|
6701 |
|
6702 |
+
#: languages/vue.php:1195
|
6703 |
msgid "About Traffic Source Dimensions"
|
6704 |
msgstr ""
|
6705 |
|
6706 |
+
#: languages/vue.php:1198
|
6707 |
msgid "AdWords Auto-Tagging"
|
6708 |
msgstr ""
|
6709 |
|
6710 |
+
#: languages/vue.php:1201
|
6711 |
msgid "Additional Information"
|
6712 |
msgstr ""
|
6713 |
|
6714 |
+
#: languages/vue.php:1204
|
6715 |
msgid "Import/Export"
|
6716 |
msgstr ""
|
6717 |
|
6718 |
+
#: languages/vue.php:1207
|
6719 |
msgid "Import"
|
6720 |
msgstr ""
|
6721 |
|
6722 |
+
#: languages/vue.php:1210
|
6723 |
msgid "Import settings from another MonsterInsights website."
|
6724 |
msgstr ""
|
6725 |
|
6726 |
+
#: languages/vue.php:1213
|
6727 |
msgid "Export"
|
6728 |
msgstr ""
|
6729 |
|
6730 |
+
#: languages/vue.php:1216
|
6731 |
msgid "Export settings to import into another MonsterInsights install."
|
6732 |
msgstr ""
|
6733 |
|
6734 |
+
#: languages/vue.php:1219
|
6735 |
msgid "Import Settings"
|
6736 |
msgstr ""
|
6737 |
|
6738 |
+
#: languages/vue.php:1222
|
6739 |
msgid "Export Settings"
|
6740 |
msgstr ""
|
6741 |
|
6742 |
+
#: languages/vue.php:1225
|
6743 |
msgid "Please choose a file to import"
|
6744 |
msgstr ""
|
6745 |
|
6746 |
+
#: languages/vue.php:1228
|
6747 |
msgid "Click Choose file below to select the settings export file from another site."
|
6748 |
msgstr ""
|
6749 |
|
6750 |
+
#: languages/vue.php:1231
|
6751 |
msgid "Use the button below to export a file with your MonsterInsights settings."
|
6752 |
msgstr ""
|
6753 |
|
6754 |
+
#: languages/vue.php:1234
|
6755 |
msgid "Uploading file..."
|
6756 |
msgstr ""
|
6757 |
|
6758 |
+
#: languages/vue.php:1237
|
6759 |
msgid "File imported"
|
6760 |
msgstr ""
|
6761 |
|
6762 |
+
#: languages/vue.php:1240
|
6763 |
msgid "Settings successfully updated!"
|
6764 |
msgstr ""
|
6765 |
|
6766 |
+
#: languages/vue.php:1243
|
6767 |
msgid "Error importing settings"
|
6768 |
msgstr ""
|
6769 |
|
6770 |
+
#: languages/vue.php:1246
|
6771 |
msgid "Please choose a .json file generated by a MonsterInsights settings export."
|
6772 |
msgstr ""
|
6773 |
|
6774 |
+
#: languages/vue.php:1249
|
6775 |
msgid "MonsterInsights Recommends WPForms"
|
6776 |
msgstr ""
|
6777 |
|
6778 |
+
#: languages/vue.php:1252
|
6779 |
msgid "Built by the folks behind MonsterInsights, WPForms is the most beginner friendly form plugin in the market."
|
6780 |
msgstr ""
|
6781 |
|
6782 |
+
#: languages/vue.php:1255
|
6783 |
msgid "Used on over 4,000,000 websites!"
|
6784 |
msgstr ""
|
6785 |
|
6786 |
+
#: languages/vue.php:1258
|
6787 |
msgid "WPForms allow you to create beautiful contact forms, subscription forms, payment forms, and other types of forms for your site in minutes, not hours!"
|
6788 |
msgstr ""
|
6789 |
|
6790 |
+
#: languages/vue.php:1261
|
6791 |
msgid "Skip this Step"
|
6792 |
msgstr ""
|
6793 |
|
6794 |
+
#: languages/vue.php:1264
|
6795 |
msgid "Continue & Install WPForms"
|
6796 |
msgstr ""
|
6797 |
|
6798 |
+
#: languages/vue.php:1268
|
6799 |
msgid "Installing..."
|
6800 |
msgstr ""
|
6801 |
|
6802 |
+
#: languages/vue.php:1271
|
6803 |
msgid "Show in widget mode"
|
6804 |
msgstr ""
|
6805 |
|
6806 |
+
#: languages/vue.php:1274
|
6807 |
msgid "Show in full-width mode"
|
6808 |
msgstr ""
|
6809 |
|
6810 |
+
#: languages/vue.php:1282
|
6811 |
msgid "Installing Addon"
|
6812 |
msgstr ""
|
6813 |
|
6814 |
+
#: languages/vue.php:1285
|
6815 |
msgid "Activating Addon"
|
6816 |
msgstr ""
|
6817 |
|
6818 |
+
#: languages/vue.php:1288
|
6819 |
msgid "Addon Activated"
|
6820 |
msgstr ""
|
6821 |
|
6822 |
+
#: languages/vue.php:1291
|
6823 |
msgid "Loading report data"
|
6824 |
msgstr ""
|
6825 |
|
6826 |
+
#: languages/vue.php:1294
|
6827 |
msgid "Please activate manually"
|
6828 |
msgstr ""
|
6829 |
|
6830 |
#. Translators: Adds the error status and status text.
|
6831 |
+
#: languages/vue.php:1298
|
6832 |
msgid "Error: %1$s, %2$s"
|
6833 |
msgstr ""
|
6834 |
|
6835 |
+
#: languages/vue.php:1301
|
6836 |
msgid "Error Activating Addon"
|
6837 |
msgstr ""
|
6838 |
|
6839 |
+
#: languages/vue.php:1304
|
6840 |
#: lite/includes/admin/wp-site-health.php:372
|
6841 |
#: lite/includes/admin/wp-site-health.php:398
|
6842 |
#: lite/includes/admin/wp-site-health.php:425
|
6843 |
msgid "View Addons"
|
6844 |
msgstr ""
|
6845 |
|
6846 |
+
#: languages/vue.php:1308
|
6847 |
msgid "Dismiss"
|
6848 |
msgstr ""
|
6849 |
|
6850 |
+
#: languages/vue.php:1311
|
6851 |
msgid "Redirecting"
|
6852 |
msgstr ""
|
6853 |
|
6854 |
+
#: languages/vue.php:1314
|
6855 |
msgid "Please wait"
|
6856 |
msgstr ""
|
6857 |
|
6858 |
+
#: languages/vue.php:1317
|
6859 |
msgid "activate"
|
6860 |
msgstr ""
|
6861 |
|
6862 |
+
#: languages/vue.php:1320
|
6863 |
msgid "install"
|
6864 |
msgstr ""
|
6865 |
|
6866 |
+
#: languages/vue.php:1323
|
6867 |
msgid "Visit addons page"
|
6868 |
msgstr ""
|
6869 |
|
6870 |
+
#: languages/vue.php:1326
|
6871 |
msgid "Report Unavailable"
|
6872 |
msgstr ""
|
6873 |
|
6874 |
#. Translators: Install/Activate the addon.
|
6875 |
+
#: languages/vue.php:1330
|
6876 |
msgid "%s Addon"
|
6877 |
msgstr ""
|
6878 |
|
6879 |
+
#: languages/vue.php:1333
|
6880 |
msgid "Go Back To Reports"
|
6881 |
msgstr ""
|
6882 |
|
6883 |
+
#: languages/vue.php:1336
|
6884 |
msgid "Enable Enhanced eCommerce"
|
6885 |
msgstr ""
|
6886 |
|
6887 |
#. Translators: Placeholders are used for making text bold and adding a link.
|
6888 |
+
#: languages/vue.php:1340
|
6889 |
msgid "You're using %1$s%2$s Lite%3$s. To unlock more features consider %4$supgrading to Pro%5$s."
|
6890 |
msgstr ""
|
6891 |
|
6892 |
+
#: languages/vue.php:1343
|
6893 |
msgid "Last 30 Days Insights for:"
|
6894 |
msgstr ""
|
6895 |
|
6896 |
+
#: languages/vue.php:1346
|
6897 |
msgid "Your Website"
|
6898 |
msgstr ""
|
6899 |
|
6900 |
+
#: languages/vue.php:1350
|
6901 |
msgid "Sessions"
|
6902 |
msgstr ""
|
6903 |
|
6904 |
+
#: languages/vue.php:1354
|
6905 |
msgid "Pageviews"
|
6906 |
msgstr ""
|
6907 |
|
6908 |
+
#: languages/vue.php:1357
|
6909 |
msgid "Avg. Duration"
|
6910 |
msgstr ""
|
6911 |
|
6912 |
+
#: languages/vue.php:1365
|
|
|
|
|
|
|
|
|
6913 |
msgid "Total Users"
|
6914 |
msgstr ""
|
6915 |
|
6916 |
+
#: languages/vue.php:1368
|
6917 |
msgid "More data is available"
|
6918 |
msgstr ""
|
6919 |
|
6920 |
+
#: languages/vue.php:1371
|
6921 |
msgid "Want to see page-specific stats?"
|
6922 |
msgstr ""
|
6923 |
|
6924 |
+
#: languages/vue.php:1374
|
6925 |
msgid "There was an issue retrieving the addons for this site. Please click on the button below the refresh the addons data."
|
6926 |
msgstr ""
|
6927 |
|
6928 |
+
#: languages/vue.php:1377
|
6929 |
msgid "No addons found."
|
6930 |
msgstr ""
|
6931 |
|
6932 |
+
#: languages/vue.php:1380
|
6933 |
msgid "Refresh Addons"
|
6934 |
msgstr ""
|
6935 |
|
6936 |
+
#: languages/vue.php:1383
|
6937 |
msgid "Refreshing Addons"
|
6938 |
msgstr ""
|
6939 |
|
6940 |
#. Translators: Make text green.
|
6941 |
+
#: languages/vue.php:1387
|
6942 |
msgid "Upgrade to Pro to unlock addons and other great features. As a valued MonsterInsights Lite user you %1$sreceive 50%% off%2$s, automatically applied at checkout!"
|
6943 |
msgstr ""
|
6944 |
|
6945 |
+
#: languages/vue.php:1390
|
6946 |
msgid "See who's viewing and submitting your forms, so you can increase your conversion rate."
|
6947 |
msgstr ""
|
6948 |
|
6949 |
+
#: languages/vue.php:1393
|
6950 |
msgid "Use Google Optimize to retarget your website visitors and perform A/B split tests with ease."
|
6951 |
msgstr ""
|
6952 |
|
6953 |
+
#: languages/vue.php:1396
|
6954 |
msgid "Add Custom Dimensions and track who's the most popular author on your site, which post types get the most traffic, and more"
|
6955 |
msgstr ""
|
6956 |
|
6957 |
+
#: languages/vue.php:1399
|
6958 |
msgid "See All Your Important Store Metrics in One Place"
|
6959 |
msgstr ""
|
6960 |
|
6961 |
+
#: languages/vue.php:1402
|
6962 |
msgid "Get an Answer to All Your Top Ecommerce Questions From a Single Report"
|
6963 |
msgstr ""
|
6964 |
|
6965 |
+
#: languages/vue.php:1405
|
6966 |
msgid "ONE-CLICK INTEGRATIONS"
|
6967 |
msgstr ""
|
6968 |
|
6969 |
+
#: languages/vue.php:1408
|
6970 |
msgid "Enable Ecommerce Tracking and Grow Your Business with Confidence"
|
6971 |
msgstr ""
|
6972 |
|
6973 |
+
#: languages/vue.php:1411
|
6974 |
msgid "MonsterInsights Ecommerce Addon makes it easy to setup enhanced eCommerce tracking, so you can see all your important eCommerce metrics like total revenue, conversion rate, average order value, top products, top referral sources, and more in a single report right inside your WordPress dashboard."
|
6975 |
msgstr ""
|
6976 |
|
6977 |
+
#: languages/vue.php:1414
|
6978 |
msgid "Affiliate Tracking"
|
6979 |
msgstr ""
|
6980 |
|
6981 |
+
#: languages/vue.php:1417
|
6982 |
msgid "Automatically Track Affiliate Sales"
|
6983 |
msgstr ""
|
6984 |
|
6985 |
+
#: languages/vue.php:1420
|
6986 |
msgid "The MonsterInsights eCommerce addon works with EasyAffiliate to automatically attribute orders originating from an EasyAffiliate link in Google Analytics. Gain valuable insights into your top affiliates with no coding required."
|
6987 |
msgstr ""
|
6988 |
|
6989 |
+
#: languages/vue.php:1423
|
6990 |
msgid "Works with WooCommerce, MemberPress and Easy Digital Downloads."
|
6991 |
msgstr ""
|
6992 |
|
6993 |
+
#: languages/vue.php:1432
|
6994 |
msgid "Cart Funnel"
|
6995 |
msgstr ""
|
6996 |
|
6997 |
+
#: languages/vue.php:1435
|
6998 |
msgid "Customer Insights"
|
6999 |
msgstr ""
|
7000 |
|
7001 |
+
#: languages/vue.php:1438
|
7002 |
msgid "Campaign Measurement"
|
7003 |
msgstr ""
|
7004 |
|
7005 |
+
#: languages/vue.php:1441
|
7006 |
msgid "Customer Profiles"
|
7007 |
msgstr ""
|
7008 |
|
7009 |
+
#: languages/vue.php:1444
|
7010 |
msgid "See all the critical eCommerce data you need at a glance: your conversion rate, transactions, revenue, and average order value, and more."
|
7011 |
msgstr ""
|
7012 |
|
7013 |
+
#: languages/vue.php:1447
|
7014 |
msgid "Truly Understand Your%1$s Customers With %2$sMonsterInsights%3$s"
|
7015 |
msgstr ""
|
7016 |
|
7017 |
+
#: languages/vue.php:1450
|
7018 |
msgid "You never truly understand your customers until you used Enhanced %1$s eCommerce from MonsterInsights!"
|
7019 |
msgstr ""
|
7020 |
|
7021 |
+
#: languages/vue.php:1453
|
7022 |
msgid "Track all-new metrics!"
|
7023 |
msgstr ""
|
7024 |
|
7025 |
+
#: languages/vue.php:1456
|
7026 |
msgid "Get stats WooCommerce doesn’t give you like: Conversion Sources, Avg. Order Value, Revenue per Source, Total Add to Carts & More!"
|
7027 |
msgstr ""
|
7028 |
|
7029 |
+
#: languages/vue.php:1459
|
7030 |
msgid "FEATURES"
|
7031 |
msgstr ""
|
7032 |
|
7033 |
+
#: languages/vue.php:1462
|
7034 |
msgid "Get The Unique Metrics Neccessary for Growth"
|
7035 |
msgstr ""
|
7036 |
|
7037 |
+
#: languages/vue.php:1465
|
7038 |
msgid "See all the critical eCommerce data you need at a glance: your conversion rate, transactions, %1$srevenue, and average order value, and more."
|
7039 |
msgstr ""
|
7040 |
|
7041 |
+
#: languages/vue.php:1468
|
7042 |
msgid "Get Answers to the important questions %1$syou should know."
|
7043 |
msgstr ""
|
7044 |
|
7045 |
+
#: languages/vue.php:1471
|
7046 |
msgid "Did the login/registration step of the checkout put users off?"
|
7047 |
msgstr ""
|
7048 |
|
7049 |
+
#: languages/vue.php:1474
|
7050 |
msgid "Which ad campaign is driving the most revenue?"
|
7051 |
msgstr ""
|
7052 |
|
7053 |
+
#: languages/vue.php:1477
|
7054 |
msgid "Who is my typical customer?"
|
7055 |
msgstr ""
|
7056 |
|
7057 |
+
#: languages/vue.php:1480
|
7058 |
msgid "Level-up Your eCommerce store with %1$sMonsterInsights + WooCommerce!%1$s"
|
7059 |
msgstr ""
|
7060 |
|
7061 |
#. Translators: placeholders make text small.
|
7062 |
+
#: languages/vue.php:1484
|
7063 |
msgid "Yes (recommended) %1$s- Get the latest features, bugfixes, and security updates as they are released.%2$s"
|
7064 |
msgstr ""
|
7065 |
|
7066 |
#. Translators: placeholders make text small.
|
7067 |
+
#: languages/vue.php:1488
|
7068 |
msgid "Minor only %1$s- Get bugfixes and security updates, but not major features.%2$s"
|
7069 |
msgstr ""
|
7070 |
|
7071 |
#. Translators: placeholders make text small.
|
7072 |
+
#: languages/vue.php:1492
|
7073 |
msgid "None %1$s- Manually update everything.%2$s"
|
7074 |
msgstr ""
|
7075 |
|
7076 |
+
#: languages/vue.php:1495
|
7077 |
msgid "Automatic Updates"
|
7078 |
msgstr ""
|
7079 |
|
7080 |
+
#: languages/vue.php:1498
|
7081 |
msgid "Awesome, You're All Set!"
|
7082 |
msgstr ""
|
7083 |
|
7084 |
+
#: languages/vue.php:1501
|
7085 |
msgid "MonsterInsights is all set up and ready to use. We've verified that the tracking code is deployed properly and collecting data."
|
7086 |
msgstr ""
|
7087 |
|
7088 |
#. Translators: Make text bold.
|
7089 |
+
#: languages/vue.php:1505
|
7090 |
msgid "%1$sPlease Note:%2$s While Google Analytics is properly setup and tracking everything, it does not send the data back to WordPress immediately. Depending on the size of your website, it can take between a few hours to 24 hours for reports to populate."
|
7091 |
msgstr ""
|
7092 |
|
7093 |
#. Translators: Link to our blog.
|
7094 |
+
#: languages/vue.php:1509
|
7095 |
msgid "%1$sSubscribe to the MonsterInsights blog%2$s for tips on how to get more traffic and grow your business."
|
7096 |
msgstr ""
|
7097 |
|
7098 |
+
#: languages/vue.php:1512
|
7099 |
msgid "Finish Setup & Exit Wizard"
|
7100 |
msgstr ""
|
7101 |
|
7102 |
+
#: languages/vue.php:1515
|
7103 |
msgid "Checking your website..."
|
7104 |
msgstr ""
|
7105 |
|
7106 |
+
#: languages/vue.php:1518
|
7107 |
msgid "See All Reports"
|
7108 |
msgstr ""
|
7109 |
|
7110 |
+
#: languages/vue.php:1521
|
7111 |
msgid "Go to the Analytics Dashboard"
|
7112 |
msgstr ""
|
7113 |
|
7114 |
#. Translators: Line break.
|
7115 |
+
#: languages/vue.php:1526
|
7116 |
msgid "Unique %s Sessions"
|
7117 |
msgstr ""
|
7118 |
|
7119 |
#. Translators: Line break.
|
7120 |
+
#: languages/vue.php:1532
|
7121 |
msgid "Unique %s Pageviews"
|
7122 |
msgstr ""
|
7123 |
|
7124 |
+
#: languages/vue.php:1536
|
7125 |
msgid "A session is the browsing session of a single user to your site."
|
7126 |
msgstr ""
|
7127 |
|
7128 |
+
#: languages/vue.php:1540
|
7129 |
msgid "A pageview is defined as a view of a page on your site that is being tracked by the Analytics tracking code. Each refresh of a page is also a new pageview."
|
7130 |
msgstr ""
|
7131 |
|
7132 |
+
#: languages/vue.php:1544
|
7133 |
msgid "Total duration of all sessions (in seconds) / number of sessions."
|
7134 |
msgstr ""
|
7135 |
|
7136 |
+
#: languages/vue.php:1547
|
7137 |
msgid "Percentage of single page visits (or web sessions). It is the number of visits in which a person leaves your website from the landing page without browsing any further."
|
7138 |
msgstr ""
|
7139 |
|
7140 |
+
#: languages/vue.php:1551
|
7141 |
msgid "The number of distinct tracked users"
|
7142 |
msgstr ""
|
7143 |
|
7144 |
+
#: languages/vue.php:1555
|
7145 |
msgid "Avg. Session Duration"
|
7146 |
msgstr ""
|
7147 |
|
7148 |
+
#: languages/vue.php:1558
|
7149 |
msgid "Still Calculating..."
|
7150 |
msgstr ""
|
7151 |
|
7152 |
+
#: languages/vue.php:1561
|
7153 |
msgid "Your 2020 Year in Review is still calculating. Please check back later to see how your website performed last year."
|
7154 |
msgstr ""
|
7155 |
|
7156 |
+
#: languages/vue.php:1564
|
7157 |
msgid "Back to Overview Report"
|
7158 |
msgstr ""
|
7159 |
|
7160 |
+
#: languages/vue.php:1567
|
7161 |
msgid "Your 2020 Analytics Report"
|
7162 |
msgstr ""
|
7163 |
|
7164 |
+
#: languages/vue.php:1570
|
7165 |
msgid "See how your website performed this year and find tips along the way to help grow even more in 2021!"
|
7166 |
msgstr ""
|
7167 |
|
7168 |
+
#: languages/vue.php:1573
|
7169 |
msgid "Audience"
|
7170 |
msgstr ""
|
7171 |
|
7172 |
+
#: languages/vue.php:1576
|
7173 |
msgid "Congrats"
|
7174 |
msgstr ""
|
7175 |
|
7176 |
+
#: languages/vue.php:1579
|
7177 |
msgid "Your website was quite popular this year! "
|
7178 |
msgstr ""
|
7179 |
|
7180 |
+
#: languages/vue.php:1582
|
7181 |
msgid "You had "
|
7182 |
msgstr ""
|
7183 |
|
7184 |
+
#: languages/vue.php:1585
|
7185 |
msgid " visitors!"
|
7186 |
msgstr ""
|
7187 |
|
7188 |
+
#: languages/vue.php:1588
|
7189 |
msgid " visitors"
|
7190 |
msgstr ""
|
7191 |
|
7192 |
+
#: languages/vue.php:1591
|
7193 |
msgid "Total Visitors"
|
7194 |
msgstr ""
|
7195 |
|
7196 |
+
#: languages/vue.php:1594
|
7197 |
msgid "Total Sessions"
|
7198 |
msgstr ""
|
7199 |
|
7200 |
+
#: languages/vue.php:1597
|
7201 |
msgid "Visitors by Month"
|
7202 |
msgstr ""
|
7203 |
|
7204 |
+
#: languages/vue.php:1600
|
7205 |
msgid "January 1, 2020 - December 31, 2020"
|
7206 |
msgstr ""
|
7207 |
|
7208 |
+
#: languages/vue.php:1603
|
7209 |
msgid "A Tip for 2021"
|
7210 |
msgstr ""
|
7211 |
|
7212 |
+
#: languages/vue.php:1606
|
7213 |
msgid "Demographics"
|
7214 |
msgstr ""
|
7215 |
|
7216 |
+
#: languages/vue.php:1609
|
7217 |
msgid "#1"
|
7218 |
msgstr ""
|
7219 |
|
7220 |
+
#: languages/vue.php:1612
|
7221 |
msgid "You Top 5 Countries"
|
7222 |
msgstr ""
|
7223 |
|
7224 |
+
#: languages/vue.php:1615
|
7225 |
msgid "Let’s get to know your visitors a little better, shall we?"
|
7226 |
msgstr ""
|
7227 |
|
7228 |
+
#: languages/vue.php:1618
|
7229 |
msgid "Gender"
|
7230 |
msgstr ""
|
7231 |
|
7232 |
+
#: languages/vue.php:1621
|
7233 |
msgid "Female"
|
7234 |
msgstr ""
|
7235 |
|
7236 |
+
#: languages/vue.php:1624
|
7237 |
msgid "Women"
|
7238 |
msgstr ""
|
7239 |
|
7240 |
+
#: languages/vue.php:1627
|
7241 |
msgid "Male"
|
7242 |
msgstr ""
|
7243 |
|
7244 |
+
#: languages/vue.php:1630
|
7245 |
msgid "Average Age"
|
7246 |
msgstr ""
|
7247 |
|
7248 |
+
#: languages/vue.php:1633
|
7249 |
msgid "Behavior"
|
7250 |
msgstr ""
|
7251 |
|
7252 |
+
#: languages/vue.php:1636
|
7253 |
msgid "Your Top 5 Pages"
|
7254 |
msgstr ""
|
7255 |
|
7256 |
+
#: languages/vue.php:1639
|
7257 |
msgid "Time Spent on Site"
|
7258 |
msgstr ""
|
7259 |
|
7260 |
+
#: languages/vue.php:1642
|
7261 |
msgid "minutes"
|
7262 |
msgstr ""
|
7263 |
|
7264 |
+
#: languages/vue.php:1645
|
7265 |
msgid "Device Type"
|
7266 |
msgstr ""
|
7267 |
|
7268 |
+
#: languages/vue.php:1648
|
7269 |
msgid "A Tip For 2021"
|
7270 |
msgstr ""
|
7271 |
|
7272 |
+
#: languages/vue.php:1651
|
7273 |
msgid "Take advantage of what you’ve already built. See how to get more traffic from existing content in our 32 Marketing Hacks to Grow Your Traffic."
|
7274 |
msgstr ""
|
7275 |
|
7276 |
+
#: languages/vue.php:1654
|
7277 |
msgid "Read - 32 Marketing Hacks to Grow Your Traffic"
|
7278 |
msgstr ""
|
7279 |
|
7280 |
+
#: languages/vue.php:1657
|
7281 |
msgid "So, where did all of these visitors come from?"
|
7282 |
msgstr ""
|
7283 |
|
7284 |
+
#: languages/vue.php:1660
|
7285 |
msgid "Clicks"
|
7286 |
msgstr ""
|
7287 |
|
7288 |
+
#: languages/vue.php:1663
|
7289 |
msgid "Your Top 5 Keywords"
|
7290 |
msgstr ""
|
7291 |
|
7292 |
+
#: languages/vue.php:1666
|
7293 |
msgid "What keywords visitors searched for to find your site"
|
7294 |
msgstr ""
|
7295 |
|
7296 |
+
#: languages/vue.php:1669
|
7297 |
msgid "Your Top 5 Referrals"
|
7298 |
msgstr ""
|
7299 |
|
7300 |
+
#: languages/vue.php:1672
|
7301 |
msgid "The websites that link back to your website"
|
7302 |
msgstr ""
|
7303 |
|
7304 |
+
#: languages/vue.php:1675
|
7305 |
msgid "Opportunity"
|
7306 |
msgstr ""
|
7307 |
|
7308 |
+
#: languages/vue.php:1678
|
7309 |
msgid "Use referral sources to create new partnerships or expand existing ones. See our guide on how to spy on your competitors and ethically steal their traffic."
|
7310 |
msgstr ""
|
7311 |
|
7312 |
+
#: languages/vue.php:1681
|
7313 |
msgid "Read - How to Ethically Steal Your Competitor’s Traffic"
|
7314 |
msgstr ""
|
7315 |
|
7316 |
+
#: languages/vue.php:1684
|
7317 |
msgid "Thank you for using MonsterInsights!"
|
7318 |
msgstr ""
|
7319 |
|
7320 |
+
#: languages/vue.php:1687
|
7321 |
msgid "We’re grateful for your continued support. If there’s anything we can do to help you grow your business, please don’t hesitate to contact our team."
|
7322 |
msgstr ""
|
7323 |
|
7324 |
+
#: languages/vue.php:1690
|
7325 |
msgid "Here's to an amazing 2021!"
|
7326 |
msgstr ""
|
7327 |
|
7328 |
+
#: languages/vue.php:1693
|
7329 |
msgid "Enjoying MonsterInsights"
|
7330 |
msgstr ""
|
7331 |
|
7332 |
+
#: languages/vue.php:1696
|
7333 |
msgid "Leave a five star review!"
|
7334 |
msgstr ""
|
7335 |
|
7336 |
+
#: languages/vue.php:1699
|
7337 |
msgid "Syed Balkhi"
|
7338 |
msgstr ""
|
7339 |
|
7340 |
+
#: languages/vue.php:1702
|
7341 |
msgid "Chris Christoff"
|
7342 |
msgstr ""
|
7343 |
|
7344 |
+
#: languages/vue.php:1705
|
7345 |
msgid "Write Review"
|
7346 |
msgstr ""
|
7347 |
|
7348 |
+
#: languages/vue.php:1708
|
7349 |
msgid "Did you know over 10 million websites use our plugins?"
|
7350 |
msgstr ""
|
7351 |
|
7352 |
+
#: languages/vue.php:1711
|
7353 |
msgid "Try our other popular WordPress plugins to grow your website in 2021."
|
7354 |
msgstr ""
|
7355 |
|
7356 |
+
#: languages/vue.php:1714
|
7357 |
msgid "Join our Communities!"
|
7358 |
msgstr ""
|
7359 |
|
7360 |
+
#: languages/vue.php:1717
|
7361 |
msgid "Become a WordPress expert in 2021. Join our amazing communities and take your website to the next level."
|
7362 |
msgstr ""
|
7363 |
|
7364 |
+
#: languages/vue.php:1720
|
7365 |
msgid "Facebook Group"
|
7366 |
msgstr ""
|
7367 |
|
7368 |
+
#: languages/vue.php:1723
|
7369 |
msgid "Join our team of WordPress experts and other motivated website owners in the WPBeginner Engage Facebook Group."
|
7370 |
msgstr ""
|
7371 |
|
7372 |
+
#: languages/vue.php:1726
|
7373 |
msgid "Join Now...It’s Free!"
|
7374 |
msgstr ""
|
7375 |
|
7376 |
+
#: languages/vue.php:1729
|
7377 |
msgid "WordPress Tutorials by WPBeginner"
|
7378 |
msgstr ""
|
7379 |
|
7380 |
+
#: languages/vue.php:1732
|
7381 |
msgid "WPBeginner is the largest free WordPress resource site for beginners and non-techy users."
|
7382 |
msgstr ""
|
7383 |
|
7384 |
+
#: languages/vue.php:1735
|
7385 |
msgid "Visit WPBeginner"
|
7386 |
msgstr ""
|
7387 |
|
7388 |
+
#: languages/vue.php:1738
|
7389 |
msgid "Follow Us!"
|
7390 |
msgstr ""
|
7391 |
|
7392 |
+
#: languages/vue.php:1741
|
7393 |
msgid "Follow MonsterInsights on social media to stay up to date with latest updates, trends, and tutorials on how to make the most out of analytics."
|
7394 |
msgstr ""
|
7395 |
|
7396 |
+
#: languages/vue.php:1744
|
7397 |
msgid "Copyright MonsterInsights, 2021"
|
7398 |
msgstr ""
|
7399 |
|
7400 |
+
#: languages/vue.php:1747
|
7401 |
msgid "Upgrade to MonsterInsights Pro to Unlock Additional Actionable Insights"
|
7402 |
msgstr ""
|
7403 |
|
7404 |
+
#: languages/vue.php:1750
|
7405 |
msgid "January"
|
7406 |
msgstr ""
|
7407 |
|
7408 |
+
#: languages/vue.php:1753
|
7409 |
msgid "February"
|
7410 |
msgstr ""
|
7411 |
|
7412 |
+
#: languages/vue.php:1756
|
7413 |
msgid "March"
|
7414 |
msgstr ""
|
7415 |
|
7416 |
+
#: languages/vue.php:1759
|
7417 |
msgid "April"
|
7418 |
msgstr ""
|
7419 |
|
7420 |
+
#: languages/vue.php:1762
|
7421 |
msgid "May"
|
7422 |
msgstr ""
|
7423 |
|
7424 |
+
#: languages/vue.php:1765
|
7425 |
msgid "June"
|
7426 |
msgstr ""
|
7427 |
|
7428 |
+
#: languages/vue.php:1768
|
7429 |
msgid "July"
|
7430 |
msgstr ""
|
7431 |
|
7432 |
+
#: languages/vue.php:1771
|
7433 |
msgid "August"
|
7434 |
msgstr ""
|
7435 |
|
7436 |
+
#: languages/vue.php:1774
|
7437 |
msgid "September"
|
7438 |
msgstr ""
|
7439 |
|
7440 |
+
#: languages/vue.php:1777
|
7441 |
msgid "October"
|
7442 |
msgstr ""
|
7443 |
|
7444 |
+
#: languages/vue.php:1780
|
7445 |
msgid "November"
|
7446 |
msgstr ""
|
7447 |
|
7448 |
+
#: languages/vue.php:1783
|
7449 |
msgid "December"
|
7450 |
msgstr ""
|
7451 |
|
7452 |
#. Translators: Number of visitors.
|
7453 |
+
#: languages/vue.php:1787
|
7454 |
msgid "Your best month was <strong>%1$s</strong> with <strong>%2$s visitors!</strong>"
|
7455 |
msgstr ""
|
7456 |
|
7457 |
+
#: languages/vue.php:1790
|
7458 |
msgid "See the top Traffic Sources and Top Pages for the Month of %s in the Overview Report to replicate your success."
|
7459 |
msgstr ""
|
7460 |
|
7461 |
#. Translators: Number of visitors.
|
7462 |
+
#: languages/vue.php:1794
|
7463 |
msgid "Your <strong>%1$s</strong> visitors came from <strong>%2$s</strong> different countries."
|
7464 |
msgstr ""
|
7465 |
|
7466 |
#. Translators: Number of visitors.
|
7467 |
+
#: languages/vue.php:1798
|
7468 |
msgid "%s Visitors"
|
7469 |
msgstr ""
|
7470 |
|
7471 |
#. Translators: Percent and Number of visitors.
|
7472 |
+
#: languages/vue.php:1802
|
7473 |
msgid "%1$s% of your visitors were %2$s"
|
7474 |
msgstr ""
|
7475 |
|
7476 |
#. Translators: Number of visitors and their age.
|
7477 |
+
#: languages/vue.php:1806
|
7478 |
msgid "%1$s% of your visitors were between the ages of %2$s"
|
7479 |
msgstr ""
|
7480 |
|
7481 |
+
#: languages/vue.php:1809
|
7482 |
msgid "Your <strong>%1$s</strong> visitors viewed a total of <strong>%2$s</strong> pages. <span class='average-page-per-user' style='font-size: 20px;margin-top:25px;display:block;font-family:Lato'>That's an average of %3$s pages for each visitor!</span>"
|
7483 |
msgstr ""
|
7484 |
|
7485 |
#. Translators: Number of minutes spent on site.
|
7486 |
+
#: languages/vue.php:1813
|
7487 |
msgid "Each visitor spent an average of %s minutes on your website in 2020."
|
7488 |
msgstr ""
|
7489 |
|
7490 |
#. Translators: Name of device type.
|
7491 |
+
#: languages/vue.php:1817
|
7492 |
msgid "Most of your visitors viewed your website from their <strong>%s</strong> device."
|
7493 |
msgstr ""
|
7494 |
|
7495 |
#. Translators: Number of visitors and device percentage.
|
7496 |
+
#: languages/vue.php:1821
|
7497 |
msgid "%1$s% of your visitors were on a %2$s device."
|
7498 |
msgstr ""
|
7499 |
|
7500 |
+
#: languages/vue.php:1824
|
7501 |
msgid "Desktop"
|
7502 |
msgstr ""
|
7503 |
|
7504 |
+
#: languages/vue.php:1827
|
7505 |
msgid "Tablet"
|
7506 |
msgstr ""
|
7507 |
|
7508 |
+
#: languages/vue.php:1830
|
7509 |
msgid "Mobile"
|
7510 |
msgstr ""
|
7511 |
|
7512 |
+
#: languages/vue.php:1833
|
7513 |
msgid "Right Now"
|
7514 |
msgstr ""
|
7515 |
|
7516 |
+
#: languages/vue.php:1836
|
7517 |
msgid "Active users on site"
|
7518 |
msgstr ""
|
7519 |
|
7520 |
+
#: languages/vue.php:1839
|
7521 |
msgid "The real-time graph of visitors over time is not currently available for this site. Please try again later."
|
7522 |
msgstr ""
|
7523 |
|
7524 |
+
#: languages/vue.php:1842
|
7525 |
msgid "Important: this only includes users who are tracked in real-time. Not all users are tracked in real-time including (but not limited to) logged-in site administrators, certain mobile users, and users who match a Google Analytics filter."
|
7526 |
msgstr ""
|
7527 |
|
7528 |
+
#: languages/vue.php:1845
|
7529 |
msgid "The real-time report automatically updates approximately every 60 seconds."
|
7530 |
msgstr ""
|
7531 |
|
7532 |
#. Translators: Number of seconds that have passed since the report was refreshed.
|
7533 |
+
#: languages/vue.php:1849
|
7534 |
msgid "The real-time report was last updated %s seconds ago."
|
7535 |
msgstr ""
|
7536 |
|
7537 |
+
#: languages/vue.php:1852
|
7538 |
msgid "The latest data will be automatically shown on this page when it becomes available."
|
7539 |
msgstr ""
|
7540 |
|
7541 |
+
#: languages/vue.php:1855
|
7542 |
msgid "There is no need to refresh the browser (doing so won't have any effect)."
|
7543 |
msgstr ""
|
7544 |
|
7545 |
+
#: languages/vue.php:1858
|
7546 |
msgid "Pageviews Per Minute"
|
7547 |
msgstr ""
|
7548 |
|
7549 |
+
#: languages/vue.php:1861
|
7550 |
msgid "Top Pages"
|
7551 |
msgstr ""
|
7552 |
|
7553 |
+
#: languages/vue.php:1864
|
7554 |
msgid "No pageviews currently."
|
7555 |
msgstr ""
|
7556 |
|
7557 |
+
#: languages/vue.php:1867
|
7558 |
msgid "Page"
|
7559 |
msgstr ""
|
7560 |
|
7561 |
+
#: languages/vue.php:1870
|
7562 |
msgid "Pageview Count"
|
7563 |
msgstr ""
|
7564 |
|
7565 |
+
#: languages/vue.php:1873
|
7566 |
msgid "Percent of Total"
|
7567 |
msgstr ""
|
7568 |
|
7569 |
+
#: languages/vue.php:1876
|
7570 |
msgid "This is the number of active users currently on your site."
|
7571 |
msgstr ""
|
7572 |
|
7573 |
+
#: languages/vue.php:1879
|
7574 |
msgid "This graph shows the number of pageviews for each of the last 30 minutes."
|
7575 |
msgstr ""
|
7576 |
|
7577 |
+
#: languages/vue.php:1882
|
7578 |
msgid "This list shows the top pages users are currently viewing on your site."
|
7579 |
msgstr ""
|
7580 |
|
7581 |
+
#: languages/vue.php:1885
|
7582 |
msgid "View All Real-Time Pageviews"
|
7583 |
msgstr ""
|
7584 |
|
7585 |
+
#: languages/vue.php:1888
|
7586 |
msgid "View All Real-Time Traffic Sources"
|
7587 |
msgstr ""
|
7588 |
|
7589 |
+
#: languages/vue.php:1891
|
7590 |
msgid "View All Real-Time Traffic by Country"
|
7591 |
msgstr ""
|
7592 |
|
7593 |
+
#: languages/vue.php:1894
|
7594 |
msgid "View All Real-Time Traffic by City"
|
7595 |
msgstr ""
|
7596 |
|
7597 |
+
#: languages/vue.php:1897
|
7598 |
msgid "Show Overview Reports"
|
7599 |
msgstr ""
|
7600 |
|
7601 |
+
#: languages/vue.php:1900
|
7602 |
msgid "Show Publishers Reports"
|
7603 |
msgstr ""
|
7604 |
|
7605 |
+
#: languages/vue.php:1903
|
7606 |
msgid "Show eCommerce Reports"
|
7607 |
msgstr ""
|
7608 |
|
7609 |
+
#: languages/vue.php:1906
|
7610 |
msgid "Settings Menu"
|
7611 |
msgstr ""
|
7612 |
|
7613 |
+
#: languages/vue.php:1909
|
7614 |
msgid "Available in PRO version"
|
7615 |
msgstr ""
|
7616 |
|
7617 |
+
#: languages/vue.php:1912
|
7618 |
msgid "Thank you for being a loyal MonsterInsights Lite user."
|
7619 |
msgstr ""
|
7620 |
|
7621 |
+
#: languages/vue.php:1915
|
7622 |
msgid "Upgrade to MonsterInsights Pro and unlock all the awesome features."
|
7623 |
msgstr ""
|
7624 |
|
7625 |
#. Translators: Gets replaced with the coupon code.
|
7626 |
+
#: languages/vue.php:1919
|
7627 |
msgid "Use coupon code %s to get 50%% off."
|
7628 |
msgstr ""
|
7629 |
|
7630 |
+
#: languages/vue.php:1922
|
7631 |
msgid "Dashboard widget"
|
7632 |
msgstr ""
|
7633 |
|
7634 |
+
#: languages/vue.php:1925
|
7635 |
msgid "Affiliate Links"
|
7636 |
msgstr ""
|
7637 |
|
7638 |
+
#: languages/vue.php:1928
|
7639 |
msgid "Enhanced Ecommerce"
|
7640 |
msgstr ""
|
7641 |
|
7642 |
+
#: languages/vue.php:1931
|
7643 |
msgid "Banner Ads"
|
7644 |
msgstr ""
|
7645 |
|
7646 |
+
#: languages/vue.php:1934
|
7647 |
msgid "Google AMP"
|
7648 |
msgstr ""
|
7649 |
|
7650 |
+
#: languages/vue.php:1937
|
7651 |
msgid "SEO Score Tracking"
|
7652 |
msgstr ""
|
7653 |
|
7654 |
+
#: languages/vue.php:1941
|
7655 |
msgid "Activating..."
|
7656 |
msgstr ""
|
7657 |
|
7658 |
+
#: languages/vue.php:1944
|
7659 |
msgid "Deactivating..."
|
7660 |
msgstr ""
|
7661 |
|
7662 |
+
#: languages/vue.php:1947
|
7663 |
msgid "Deactivate"
|
7664 |
msgstr ""
|
7665 |
|
7666 |
#. Translators: The status of the addon (installed/active/inactive).
|
7667 |
+
#: languages/vue.php:1951
|
7668 |
msgid "Status: %s"
|
7669 |
msgstr ""
|
7670 |
|
7671 |
+
#: languages/vue.php:1954
|
7672 |
msgid "Not Installed"
|
7673 |
msgstr ""
|
7674 |
|
7675 |
+
#: languages/vue.php:1957
|
7676 |
msgid "Network Active"
|
7677 |
msgstr ""
|
7678 |
|
7679 |
+
#: languages/vue.php:1960
|
7680 |
msgid "Active"
|
7681 |
msgstr ""
|
7682 |
|
7683 |
+
#: languages/vue.php:1963
|
7684 |
msgid "Inactive"
|
7685 |
msgstr ""
|
7686 |
|
7687 |
#. Translators: Adds a link to the general settings tab.
|
7688 |
+
#: languages/vue.php:1967
|
7689 |
msgid "It looks like you added a Google Analytics tracking code in the custom code area, this can potentially prevent proper tracking. If you want to use a manual UA please use the setting in the %1$sGeneral%2$s tab."
|
7690 |
msgstr ""
|
7691 |
|
7692 |
+
#: languages/vue.php:1970
|
7693 |
msgid "Export PDF Reports"
|
7694 |
msgstr ""
|
7695 |
|
7696 |
+
#: languages/vue.php:1973
|
7697 |
msgid "Permissions"
|
7698 |
msgstr ""
|
7699 |
|
7700 |
+
#: languages/vue.php:1976
|
7701 |
msgid "Allow These User Roles to See Reports"
|
7702 |
msgstr ""
|
7703 |
|
7704 |
+
#: languages/vue.php:1979
|
7705 |
msgid "Users that have at least one of these roles will be able to view the reports."
|
7706 |
msgstr ""
|
7707 |
|
7708 |
+
#: languages/vue.php:1982
|
7709 |
msgid "Users that have at least one of these roles will be able to view the reports, along with any user with the manage_options capability."
|
7710 |
msgstr ""
|
7711 |
|
7712 |
+
#: languages/vue.php:1985
|
7713 |
msgid "Allow These User Roles to Save Settings"
|
7714 |
msgstr ""
|
7715 |
|
7716 |
+
#: languages/vue.php:1988
|
7717 |
msgid "Users that have at least one of these roles will be able to view and save the settings panel."
|
7718 |
msgstr ""
|
7719 |
|
7720 |
+
#: languages/vue.php:1991
|
7721 |
msgid "Users that have at least one of these roles will be able to view and save the settings panel, along with any user with the manage_options capability."
|
7722 |
msgstr ""
|
7723 |
|
7724 |
+
#: languages/vue.php:1994
|
7725 |
msgid "Exclude These User Roles From Tracking"
|
7726 |
msgstr ""
|
7727 |
|
7728 |
+
#: languages/vue.php:1997
|
7729 |
msgid "Users that have at least one of these roles will not be tracked into Google Analytics."
|
7730 |
msgstr ""
|
7731 |
|
7732 |
+
#: languages/vue.php:2000
|
7733 |
msgid "Performance"
|
7734 |
msgstr ""
|
7735 |
|
7736 |
+
#: languages/vue.php:2003
|
7737 |
msgid "Custom code"
|
7738 |
msgstr ""
|
7739 |
|
7740 |
#. Translators: Adds a link to the Google reference.
|
7741 |
+
#: languages/vue.php:2007
|
7742 |
msgid "Not for the average user: this allows you to add a line of code, to be added before the %1$spageview is sent%2$s."
|
7743 |
msgstr ""
|
7744 |
|
7745 |
+
#: languages/vue.php:2013
|
7746 |
msgid "You must have the \"unfiltered_html\" capability to view/edit this setting."
|
7747 |
msgstr ""
|
7748 |
|
7749 |
+
#: languages/vue.php:2016
|
7750 |
msgid "Hide Admin Bar Reports"
|
7751 |
msgstr ""
|
7752 |
|
7753 |
#. Translators: placeholders make text small.
|
7754 |
+
#: languages/vue.php:2020
|
7755 |
msgid "Enabled %1$s- Show reports and dashboard widget.%2$s"
|
7756 |
msgstr ""
|
7757 |
|
7758 |
#. Translators: placeholders make text small.
|
7759 |
+
#: languages/vue.php:2024
|
7760 |
msgid "Dashboard Widget Only %1$s- Disable reports, but show dashboard widget.%2$s"
|
7761 |
msgstr ""
|
7762 |
|
7763 |
#. Translators: placeholders make text small.
|
7764 |
+
#: languages/vue.php:2028
|
7765 |
msgid "Disabled %1$s- Hide reports and dashboard widget.%2$s"
|
7766 |
msgstr ""
|
7767 |
|
7768 |
+
#: languages/vue.php:2031
|
7769 |
msgid "View notifications"
|
7770 |
msgstr ""
|
7771 |
|
7772 |
#. Translators: Error status and error text.
|
7773 |
+
#: languages/vue.php:2035
|
7774 |
msgid "Can't load settings. Error: %1$s, %2$s"
|
7775 |
msgstr ""
|
7776 |
|
7777 |
+
#: languages/vue.php:2038
|
7778 |
msgid "You appear to be offline."
|
7779 |
msgstr ""
|
7780 |
|
7781 |
#. Translators: Error status and error text.
|
7782 |
+
#: languages/vue.php:2042
|
7783 |
msgid "Can't save settings. Error: %1$s, %2$s"
|
7784 |
msgstr ""
|
7785 |
|
7786 |
+
#: languages/vue.php:2045
|
7787 |
msgid "Network error encountered. Settings not saved."
|
7788 |
msgstr ""
|
7789 |
|
7790 |
#. Translators: Error status and error text.
|
7791 |
+
#: languages/vue.php:2049
|
7792 |
msgid "Can't deactivate the license. Error: %1$s, %2$s"
|
7793 |
msgstr ""
|
7794 |
|
7795 |
#. Translators: Error status and error text.
|
7796 |
+
#: languages/vue.php:2053
|
7797 |
msgid "Can't upgrade to PRO please try again. Error: %1$s, %2$s"
|
7798 |
msgstr ""
|
7799 |
|
7800 |
#. Translators: Error status and error text.
|
7801 |
+
#: languages/vue.php:2057
|
7802 |
msgid "Can't load license details. Error: %1$s, %2$s"
|
7803 |
msgstr ""
|
7804 |
|
7805 |
+
#: languages/vue.php:2060
|
7806 |
msgid "Error loading license details"
|
7807 |
msgstr ""
|
7808 |
|
7809 |
#. Translators: Error status and error text.
|
7810 |
+
#: languages/vue.php:2064
|
7811 |
msgid "Can't verify the license. Error: %1$s, %2$s"
|
7812 |
msgstr ""
|
7813 |
|
7814 |
#. Translators: Error status and error text.
|
7815 |
+
#: languages/vue.php:2068
|
7816 |
msgid "Can't validate the license. Error: %1$s, %2$s"
|
7817 |
msgstr ""
|
7818 |
|
7819 |
#. Translators: Error status and error text.
|
7820 |
+
#: languages/vue.php:2072
|
7821 |
msgid "Can't deauthenticate. Error: %1$s, %2$s"
|
7822 |
msgstr ""
|
7823 |
|
7824 |
#. Translators: Error status and error text.
|
7825 |
+
#: languages/vue.php:2076
|
7826 |
msgid "Can't load authentication details. Error: %1$s, %2$s"
|
7827 |
msgstr ""
|
7828 |
|
7829 |
+
#: languages/vue.php:2079
|
7830 |
msgid "You appear to be offline. Settings not saved."
|
7831 |
msgstr ""
|
7832 |
|
7833 |
#. Translators: Error status and error text.
|
7834 |
+
#: languages/vue.php:2083
|
7835 |
msgid "Can't authenticate. Error: %1$s, %2$s"
|
7836 |
msgstr ""
|
7837 |
|
7838 |
#. Translators: Error status and error text.
|
7839 |
+
#: languages/vue.php:2087
|
7840 |
msgid "Can't reauthenticate. Error: %1$s, %2$s"
|
7841 |
msgstr ""
|
7842 |
|
7843 |
#. Translators: Error status and error text.
|
7844 |
+
#: languages/vue.php:2091
|
7845 |
msgid "Can't verify credentials. Error: %1$s, %2$s"
|
7846 |
msgstr ""
|
7847 |
|
7848 |
+
#: languages/vue.php:2094
|
7849 |
msgid "Proceed"
|
7850 |
msgstr ""
|
7851 |
|
7852 |
+
#: languages/vue.php:2097
|
7853 |
msgid "Connection Information"
|
7854 |
msgstr ""
|
7855 |
|
7856 |
+
#: languages/vue.php:2100
|
7857 |
msgid "To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host."
|
7858 |
msgstr ""
|
7859 |
|
7860 |
+
#: languages/vue.php:2103
|
7861 |
msgid "Hostname"
|
7862 |
msgstr ""
|
7863 |
|
7864 |
+
#: languages/vue.php:2106
|
7865 |
msgid "FTP Username"
|
7866 |
msgstr ""
|
7867 |
|
7868 |
+
#: languages/vue.php:2109
|
7869 |
msgid "FTP Password"
|
7870 |
msgstr ""
|
7871 |
|
7872 |
+
#: languages/vue.php:2112
|
7873 |
msgid "This password will not be stored on the server."
|
7874 |
msgstr ""
|
7875 |
|
7876 |
+
#: languages/vue.php:2115
|
7877 |
msgid "Connection Type"
|
7878 |
msgstr ""
|
7879 |
|
7880 |
+
#: languages/vue.php:2118
|
7881 |
msgid "Cancel"
|
7882 |
msgstr ""
|
7883 |
|
7884 |
+
#: languages/vue.php:2121
|
7885 |
msgid "You appear to be offline. WPForms not installed."
|
7886 |
msgstr ""
|
7887 |
|
7888 |
#. Translators: Error status and error text.
|
7889 |
+
#: languages/vue.php:2125
|
7890 |
msgid "Can't activate addon. Error: %1$s, %2$s"
|
7891 |
msgstr ""
|
7892 |
|
7893 |
+
#: languages/vue.php:2128
|
7894 |
msgid "You appear to be offline. Addon not activated."
|
7895 |
msgstr ""
|
7896 |
|
7897 |
#. Translators: Error status and error text.
|
7898 |
+
#: languages/vue.php:2132
|
7899 |
msgid "Can't deactivate addon. Error: %1$s, %2$s"
|
7900 |
msgstr ""
|
7901 |
|
7902 |
+
#: languages/vue.php:2135
|
7903 |
msgid "You appear to be offline. Addon not deactivated."
|
7904 |
msgstr ""
|
7905 |
|
7906 |
#. Translators: Error status and error text.
|
7907 |
+
#: languages/vue.php:2139
|
7908 |
msgid "Can't install plugin. Error: %1$s, %2$s"
|
7909 |
msgstr ""
|
7910 |
|
7911 |
+
#: languages/vue.php:2142
|
7912 |
msgid "You appear to be offline. Plugin not installed."
|
7913 |
msgstr ""
|
7914 |
|
7915 |
#. Translators: Error status and error text.
|
7916 |
+
#: languages/vue.php:2146
|
7917 |
msgid "Can't install addon. Error: %1$s, %2$s"
|
7918 |
msgstr ""
|
7919 |
|
7920 |
+
#: languages/vue.php:2149
|
7921 |
msgid "You appear to be offline. Addon not installed."
|
7922 |
msgstr ""
|
7923 |
|
7924 |
#. Translators: Error status and error text.
|
7925 |
+
#: languages/vue.php:2153
|
7926 |
msgid "Can't install WPForms. Error: %1$s, %2$s"
|
7927 |
msgstr ""
|
7928 |
|
7929 |
#. Translators: Example path (/go/).
|
7930 |
+
#: languages/vue.php:2157
|
7931 |
msgid "Path (example: %s)"
|
7932 |
msgstr ""
|
7933 |
|
7934 |
+
#: languages/vue.php:2160
|
7935 |
msgid "Path has to start with a / and have no spaces"
|
7936 |
msgstr ""
|
7937 |
|
7938 |
#. Translators: Example label (aff).
|
7939 |
+
#: languages/vue.php:2164
|
7940 |
msgid "Label (example: %s)"
|
7941 |
msgstr ""
|
7942 |
|
7943 |
+
#: languages/vue.php:2167
|
7944 |
msgid "Label can't contain any spaces"
|
7945 |
msgstr ""
|
7946 |
|
7947 |
#. Translators: Add links to documentation.
|
7948 |
+
#: languages/vue.php:2171
|
7949 |
msgid "This allows you to track custom affiliate links. A path of /go/ would match urls that start with that. The label is appended onto the end of the string \"outbound-link-\", to provide unique labels for these links in Google Analytics. Complete documentation on affiliate links is available %1$shere%2$s."
|
7950 |
msgstr ""
|
7951 |
|
7952 |
+
#: languages/vue.php:2174
|
7953 |
msgid "Our affiliate link tracking works by setting path for internal links to track as outbound links."
|
7954 |
msgstr ""
|
7955 |
|
7956 |
+
#: languages/vue.php:2177
|
7957 |
msgid "The MonsterInsights Headline Analyzer tool in the Gutenberg editor enables you to write irresistible SEO-friendly headlines that drive traffic, social media shares, and rank better in search results."
|
7958 |
msgstr ""
|
7959 |
|
7960 |
+
#: languages/vue.php:2180
|
7961 |
msgid "Disable the Headline Analyzer"
|
7962 |
msgstr ""
|
7963 |
|
7964 |
+
#: languages/vue.php:2183
|
7965 |
msgid "Warning: If you use a manual GA4 Measurement ID, you won't be able to use any of the reporting and some of the tracking features. Your Measurement ID should look like G-XXXXXXXXXX where the X's are numbers."
|
7966 |
msgstr ""
|
7967 |
|
7968 |
+
#: languages/vue.php:2186
|
7969 |
msgid "Or manually enter UA code (limited functionality)"
|
7970 |
msgstr ""
|
7971 |
|
7972 |
+
#: languages/vue.php:2189
|
7973 |
msgid "Dual Tracking Profile"
|
7974 |
msgstr ""
|
7975 |
|
7976 |
+
#: languages/vue.php:2192
|
7977 |
msgid "The dual tracking feature allows you to continue tracking this site into an existing GAv3 property so you can continue to use the GA reports you are used to already. Learn more about this feature %1$shere%2$s."
|
7978 |
msgstr ""
|
7979 |
|
7980 |
+
#: languages/vue.php:2195
|
7981 |
msgid "Your Universal Analytics code should look like UA-XXXXXXXXXX where the X's are numbers."
|
7982 |
msgstr ""
|
7983 |
|
7984 |
+
#: languages/vue.php:2198
|
7985 |
msgid "The dual tracking feature allows you to begin tracking this site into a GAv4 property to take advantage of the new GAv4 analysis tools. Learn more about this feature %1$shere%2$s."
|
7986 |
msgstr ""
|
7987 |
|
7988 |
+
#: languages/vue.php:2201
|
7989 |
msgid "Your Measurement ID should look like G-XXXXXXXXXX where the X's are numbers."
|
7990 |
msgstr ""
|
7991 |
|
7992 |
+
#: languages/vue.php:2204
|
7993 |
msgid "Measurement Protocol API Secret"
|
7994 |
msgstr ""
|
7995 |
|
7996 |
+
#: languages/vue.php:2207
|
7997 |
msgid "The Measurement Protocol API secret allows your site to send tracking data to Google Analytics. To retrieve your Measurement Protocol API Secret, follow %1$sthis guide%2$s."
|
7998 |
msgstr ""
|
7999 |
|
8000 |
+
#: languages/vue.php:2210
|
8001 |
msgid "Force Deauthenticate"
|
8002 |
msgstr ""
|
8003 |
|
8004 |
+
#: languages/vue.php:2213
|
8005 |
msgid "Disconnect MonsterInsights"
|
8006 |
msgstr ""
|
8007 |
|
8008 |
+
#: languages/vue.php:2216
|
8009 |
msgid "Authenticating"
|
8010 |
msgstr ""
|
8011 |
|
8012 |
+
#: languages/vue.php:2219
|
8013 |
msgid "Verifying Credentials"
|
8014 |
msgstr ""
|
8015 |
|
8016 |
+
#: languages/vue.php:2222
|
8017 |
msgid "Your site is connected to MonsterInsights!"
|
8018 |
msgstr ""
|
8019 |
|
8020 |
+
#: languages/vue.php:2225
|
8021 |
msgid "Deauthenticating"
|
8022 |
msgstr ""
|
8023 |
|
8024 |
+
#: languages/vue.php:2228
|
8025 |
msgid "You've disconnected your site from MonsterInsights. Your site is no longer being tracked by Google Analytics and you won't see reports anymore."
|
8026 |
msgstr ""
|
8027 |
|
8028 |
+
#: languages/vue.php:2231
|
8029 |
msgid "Connect MonsterInsights"
|
8030 |
msgstr ""
|
8031 |
|
8032 |
+
#: languages/vue.php:2234
|
8033 |
msgid "Verify Credentials"
|
8034 |
msgstr ""
|
8035 |
|
8036 |
+
#: languages/vue.php:2237
|
8037 |
msgid "Website Profile"
|
8038 |
msgstr ""
|
8039 |
|
8040 |
+
#: languages/vue.php:2240
|
8041 |
msgid "Active Profile"
|
8042 |
msgstr ""
|
8043 |
|
8044 |
+
#: languages/vue.php:2243
|
8045 |
msgid "Your website profile has been set at the network level of your WordPress Multisite."
|
8046 |
msgstr ""
|
8047 |
|
8048 |
+
#: languages/vue.php:2246
|
8049 |
msgid "If you would like to use a different profile for this subsite, you can authenticate below."
|
8050 |
msgstr ""
|
8051 |
|
8052 |
+
#: languages/vue.php:2249
|
8053 |
msgid "Manually enter your UA code"
|
8054 |
msgstr ""
|
8055 |
|
8056 |
+
#: languages/vue.php:2252
|
8057 |
msgid "Warning: If you use a manual UA code, you won't be able to use any of the reporting and some of the tracking features. Your UA code should look like UA-XXXXXX-XX where the X's are numbers."
|
8058 |
msgstr ""
|
8059 |
|
8060 |
+
#: languages/vue.php:2255
|
8061 |
msgid "Manually enter your GA4 Measurement ID"
|
8062 |
msgstr ""
|
8063 |
|
8064 |
+
#: languages/vue.php:2258
|
8065 |
msgid "Enable Demographics and Interests Reports for Remarketing and Advertising"
|
8066 |
msgstr ""
|
8067 |
|
8068 |
+
#: languages/vue.php:2261
|
8069 |
msgid "Anonymize IP Addresses"
|
8070 |
msgstr ""
|
8071 |
|
8072 |
+
#: languages/vue.php:2264
|
8073 |
msgid "Link Attribution"
|
8074 |
msgstr ""
|
8075 |
|
8076 |
+
#: languages/vue.php:2267
|
8077 |
msgid "Enable Enhanced Link Attribution"
|
8078 |
msgstr ""
|
8079 |
|
8080 |
+
#: languages/vue.php:2270
|
8081 |
msgid "Enable Anchor Tracking"
|
8082 |
msgstr ""
|
8083 |
|
8084 |
+
#: languages/vue.php:2273
|
8085 |
msgid "Enable allowAnchor"
|
8086 |
msgstr ""
|
8087 |
|
8088 |
+
#: languages/vue.php:2276
|
8089 |
msgid "Enable allowLinker"
|
8090 |
msgstr ""
|
8091 |
|
8092 |
+
#: languages/vue.php:2279
|
8093 |
msgid "Enable Tag Links in RSS"
|
8094 |
msgstr ""
|
8095 |
|
8096 |
+
#: languages/vue.php:2282
|
8097 |
msgid "File Downloads"
|
8098 |
msgstr ""
|
8099 |
|
8100 |
+
#: languages/vue.php:2285
|
8101 |
msgid "Extensions of Files to Track as Downloads"
|
8102 |
msgstr ""
|
8103 |
|
8104 |
+
#: languages/vue.php:2288
|
8105 |
msgid "MonsterInsights will send an event to Google Analytics if a link to a file has one of the above extensions."
|
8106 |
msgstr ""
|
8107 |
|
8108 |
#. Translators: Add links to the documentation.
|
8109 |
+
#: languages/vue.php:2292
|
8110 |
msgid "Enable this setting to add the Demographics and Remarketing features to your Google Analytics tracking code. Make sure to enable Demographics and Remarketing in your Google Analytics account. We have a guide for how to do that in our %1$sknowledge base%2$s. For more information about Remarketing, we refer you to %3$sGoogle's documentation%4$s. Note that usage of this function is affected by privacy and cookie laws around the world. Be sure to follow the laws that affect your target audience."
|
8111 |
msgstr ""
|
8112 |
|
8113 |
#. Translators: Adds a link to the documentation.
|
8114 |
+
#: languages/vue.php:2296
|
8115 |
msgid "This adds %1$sanonymizeIp%2$s, telling Google Analytics to anonymize the information sent by the tracker objects by removing the last octet of the IP address prior to its storage."
|
8116 |
msgstr ""
|
8117 |
|
8118 |
#. Translators: Adds a link to the documentation.
|
8119 |
+
#: languages/vue.php:2300
|
8120 |
msgid "Adds the Enhanced Link Attribution (retain link) code to improve the accuracy of your In-Page Analytics report by automatically differentiating between multiple links to the same URL on a single page by using link element IDs."
|
8121 |
msgstr ""
|
8122 |
|
8123 |
+
#: languages/vue.php:2303
|
8124 |
msgid "Many WordPress \"1-page\" style themes rely on anchor tags for navigation to show virtual pages. The problem is that to Google Analytics, these are all just a single page, and it makes it hard to get meaningful statistics about pages viewed. This feature allows proper tracking in those themes."
|
8125 |
msgstr ""
|
8126 |
|
8127 |
#. Translators: Adds a link to the documentation.
|
8128 |
+
#: languages/vue.php:2307
|
8129 |
msgid "This adds %1$sallowAnchor%2$s to the create command of the pageview hit tracking code, and makes RSS link tagging use a # as well."
|
8130 |
msgstr ""
|
8131 |
|
8132 |
#. Translators: Adds a link to the documentation.
|
8133 |
+
#: languages/vue.php:2311
|
8134 |
msgid "Enabling %1$scross-domain tracking (additional setup required)%2$s allows you to track users across multiple properties you own (such as example-1.com and example-2.com as a single session. It also allows you fix an issue so that when a user has to go to an off-site hosted payment gateway to finish a purchase it doesn't count it as referral traffic from that gateway but maintains the visit as part of the same session.) It is required that the other site includes a Google Analytics tracker with the same UA Code."
|
8135 |
msgstr ""
|
8136 |
|
8137 |
#. Translators: Adds a link to the documentation.
|
8138 |
+
#: languages/vue.php:2315
|
8139 |
msgid "Do not use this feature if you use FeedBurner, as FeedBurner can do this automatically and better than this plugin can. Check this %1$shelp page%2$s for info on how to enable this feature in FeedBurner."
|
8140 |
msgstr ""
|
8141 |
|
8142 |
+
#: languages/vue.php:2318
|
8143 |
msgid "Add domain"
|
8144 |
msgstr ""
|
8145 |
|
8146 |
#. Translators: Example domain.
|
8147 |
+
#: languages/vue.php:2322
|
8148 |
msgid "Domain (example: %s)"
|
8149 |
msgstr ""
|
8150 |
|
8151 |
#. Translators: Current site domain to be avoided.
|
8152 |
+
#: languages/vue.php:2326
|
8153 |
msgid "Please enter domain names only ( example: example.com not http://example.com ) and not current site domain ( %s )."
|
8154 |
msgstr ""
|
8155 |
|
8156 |
+
#: languages/vue.php:2329
|
8157 |
msgid "Cross Domain Tracking"
|
8158 |
msgstr ""
|
8159 |
|
8160 |
#. Translators: Adds a link to the documentation.
|
8161 |
+
#: languages/vue.php:2333
|
8162 |
msgid "Cross domain tracking makes it possible for Analytics to see sessions on two related sites as a single session. More info on specific setup steps can be found in our %1$sknowledge base%2$s."
|
8163 |
msgstr ""
|
8164 |
|
8165 |
#. Translators: Number of days.
|
8166 |
+
#: languages/vue.php:2337
|
8167 |
msgid "vs. Previous Day"
|
8168 |
msgstr ""
|
8169 |
|
8170 |
+
#: languages/vue.php:2340
|
8171 |
msgid "No change"
|
8172 |
msgstr ""
|
8173 |
|
8174 |
+
#: languages/vue.php:2343
|
8175 |
msgid "Forms Tracking help you see who’s viewing your forms, so you can increase conversions."
|
8176 |
msgstr ""
|
8177 |
|
8178 |
+
#: languages/vue.php:2346
|
8179 |
msgid "Custom Dimensions show you popular categories, best time to publish, focus keywords, etc."
|
8180 |
msgstr ""
|
8181 |
|
8182 |
+
#: languages/vue.php:2349
|
8183 |
msgid "Make Google Analytics GDPR compliant with our EU Compliance addon."
|
8184 |
msgstr ""
|
8185 |
|
8186 |
+
#: languages/vue.php:2352
|
8187 |
msgid "Get real-time Google Analytics report right inside your WordPress dashboard."
|
8188 |
msgstr ""
|
8189 |
|
8190 |
+
#: languages/vue.php:2355
|
8191 |
msgid "Use Google Optimize to easily perform A/B split tests on your site."
|
8192 |
msgstr ""
|
8193 |
|
8194 |
+
#: languages/vue.php:2358
|
8195 |
msgid "See all your important store metrics in one place with Enhanced Ecommerce Tracking."
|
8196 |
msgstr ""
|
8197 |
|
8198 |
+
#: languages/vue.php:2361
|
8199 |
msgid "Unlock search console report to see your top performing keywords in Google."
|
8200 |
msgstr ""
|
8201 |
|
8202 |
+
#: languages/vue.php:2364
|
8203 |
msgid "Get Page Insights to see important metrics for individual posts / pages in WordPress."
|
8204 |
msgstr ""
|
8205 |
|
8206 |
+
#: languages/vue.php:2367
|
8207 |
msgid "Publishers Report shows your top performing pages, audience demographics, and more."
|
8208 |
msgstr ""
|
8209 |
|
8210 |
+
#: languages/vue.php:2370
|
8211 |
msgid "Get Scroll-Depth tracking to see how far users scroll on your pages before leaving."
|
8212 |
msgstr ""
|
8213 |
|
8214 |
+
#: languages/vue.php:2373
|
8215 |
msgid "Upgrade to Pro »"
|
8216 |
msgstr ""
|
8217 |
|
8218 |
+
#: languages/vue.php:2376
|
8219 |
msgid "Pro Tip:"
|
8220 |
msgstr ""
|
8221 |
|
8222 |
+
#: languages/vue.php:2379
|
8223 |
msgid "Show"
|
8224 |
msgstr ""
|
8225 |
|
8226 |
+
#: languages/vue.php:2382
|
8227 |
msgid "Hide dashboard widget"
|
8228 |
msgstr ""
|
8229 |
|
8230 |
+
#: languages/vue.php:2385
|
8231 |
msgid "Are you sure you want to hide the MonsterInsights Dashboard Widget? "
|
8232 |
msgstr ""
|
8233 |
|
8234 |
+
#: languages/vue.php:2388
|
8235 |
msgid "Yes, hide it!"
|
8236 |
msgstr ""
|
8237 |
|
8238 |
+
#: languages/vue.php:2391
|
8239 |
msgid "No, cancel!"
|
8240 |
msgstr ""
|
8241 |
|
8242 |
+
#: languages/vue.php:2394
|
8243 |
msgid "MonsterInsights Widget Hidden"
|
8244 |
msgstr ""
|
8245 |
|
8246 |
+
#: languages/vue.php:2397
|
8247 |
msgid "You can re-enable the MonsterInsights widget at any time using the \"Screen Options\" menu on the top right of this page"
|
8248 |
msgstr ""
|
8249 |
|
8250 |
+
#: languages/vue.php:2404
|
8251 |
msgid "Usage Tracking"
|
8252 |
msgstr ""
|
8253 |
|
8254 |
+
#: languages/vue.php:2407
|
8255 |
msgid "Allow Usage Tracking"
|
8256 |
msgstr ""
|
8257 |
|
8258 |
+
#: languages/vue.php:2411
|
8259 |
msgid "By allowing us to track usage data we can better help you because we know with which WordPress configurations, themes and plugins we should test."
|
8260 |
msgstr ""
|
8261 |
|
8262 |
#. Translators: Add links to documentation.
|
8263 |
+
#: languages/vue.php:2416
|
8264 |
msgid "Complete documentation on usage tracking is available %1$shere%2$s."
|
8265 |
msgstr ""
|
8266 |
|
8267 |
#. Translators: Make text green and add smiley face.
|
8268 |
+
#: languages/vue.php:2420
|
8269 |
msgid "You're using %1$sMonsterInsights Lite%2$s - no license needed. Enjoy! %3$s"
|
8270 |
msgstr ""
|
8271 |
|
8272 |
#. Translators: Add link to upgrade.
|
8273 |
+
#: languages/vue.php:2424
|
8274 |
msgid "To unlock more features consider %1$supgrading to PRO%2$s."
|
8275 |
msgstr ""
|
8276 |
|
8277 |
#. Translators: Make text green.
|
8278 |
+
#: languages/vue.php:2428
|
8279 |
msgid "As a valued MonsterInsights Lite user you %1$sreceive 50%% off%2$s, automatically applied at checkout!"
|
8280 |
msgstr ""
|
8281 |
|
8282 |
+
#: languages/vue.php:2431
|
8283 |
msgid "Unlock PRO Features Now"
|
8284 |
msgstr ""
|
8285 |
|
8286 |
+
#: languages/vue.php:2434
|
8287 |
msgid "Paste your license key here"
|
8288 |
msgstr ""
|
8289 |
|
8290 |
+
#: languages/vue.php:2437
|
8291 |
msgid "Verify"
|
8292 |
msgstr ""
|
8293 |
|
8294 |
#. Translators: Add link to retrieve license from account area.
|
8295 |
+
#: languages/vue.php:2441
|
8296 |
msgid "Already purchased? Simply enter your license key below to connect with MonsterInsights PRO! %1$sRetrieve your license key%2$s."
|
8297 |
msgstr ""
|
8298 |
|
8299 |
+
#: languages/vue.php:2444
|
8300 |
msgid "There was an error unlocking MonsterInsights PRO please try again or install manually."
|
8301 |
msgstr ""
|
8302 |
|
8303 |
#. Translators: Error status and error text.
|
8304 |
+
#: languages/vue.php:2448
|
8305 |
msgid "Can't load errors. Error: %1$s, %2$s"
|
8306 |
msgstr ""
|
8307 |
|
8308 |
+
#: languages/vue.php:2451
|
8309 |
msgid "No options available"
|
8310 |
msgstr ""
|
8311 |
|
8312 |
+
#: languages/vue.php:2454
|
8313 |
msgid "%1$sAll-in-One SEO%2$s Makes SEO Simple. Gain Valuable Organic Traffic."
|
8314 |
msgstr ""
|
8315 |
|
8316 |
+
#: languages/vue.php:2457
|
8317 |
msgid "Automatically migrate all of your SEO settings with just 1 click!"
|
8318 |
msgstr ""
|
8319 |
|
8320 |
+
#: languages/vue.php:2460
|
8321 |
msgid "1,938"
|
8322 |
msgstr ""
|
8323 |
|
8324 |
+
#: languages/vue.php:2463
|
8325 |
msgid "2+ Million Active Installs"
|
8326 |
msgstr ""
|
8327 |
|
8328 |
+
#: languages/vue.php:2466
|
8329 |
msgid "AIOSEO is the DIY Solution for Managing your SEO"
|
8330 |
msgstr ""
|
8331 |
|
8332 |
+
#: languages/vue.php:2469
|
8333 |
msgid "Set up the proper SEO foundations in less than 10 minutes."
|
8334 |
msgstr ""
|
8335 |
|
8336 |
+
#: languages/vue.php:2472
|
8337 |
msgid "SEO Audit Checklist"
|
8338 |
msgstr ""
|
8339 |
|
8340 |
+
#: languages/vue.php:2475
|
8341 |
msgid "Analyze your entire WordPress site to detect critical errors and get actionable insights to boost your SEO and get more traffic."
|
8342 |
msgstr ""
|
8343 |
|
8344 |
+
#: languages/vue.php:2478
|
8345 |
msgid "Optimize Your Pages For Higher Rankings With TruSEO Score."
|
8346 |
msgstr ""
|
8347 |
|
8348 |
+
#: languages/vue.php:2481
|
8349 |
msgid "TruSEO Score gives you a more in-depth analysis into your optimization efforts than just a pass or fail. Our actionable checklist helps you to unlock maximum traffic with each page."
|
8350 |
msgstr ""
|
8351 |
|
8352 |
+
#: languages/vue.php:2484
|
8353 |
msgid "Get AIOSEO for WordPress"
|
8354 |
msgstr ""
|
8355 |
|
8356 |
+
#: languages/vue.php:2487
|
8357 |
msgid "Get the #1 Most Powerful WordPress SEO Plugin Today"
|
8358 |
msgstr ""
|
8359 |
|
8360 |
+
#: languages/vue.php:2490
|
8361 |
msgid "Try it out today, for free."
|
8362 |
msgstr ""
|
8363 |
|
8364 |
+
#: languages/vue.php:2493
|
8365 |
msgid "Join 2,000,000+ Professionals who use AIOSEO to Improve Their Website Search Rankings."
|
8366 |
msgstr ""
|
8367 |
|
8368 |
+
#: languages/vue.php:2496
|
8369 |
msgid "Activate and Install the Plugin with just one click!"
|
8370 |
msgstr ""
|
8371 |
|
8372 |
+
#: languages/vue.php:2499
|
8373 |
msgid "Installing AIOSEO..."
|
8374 |
msgstr ""
|
8375 |
|
8376 |
+
#: languages/vue.php:2502
|
8377 |
msgid "Congrats! All-in-One SEO Installed."
|
8378 |
msgstr ""
|
8379 |
|
8380 |
+
#: languages/vue.php:2505
|
8381 |
msgid "Switch to AIOSEO"
|
8382 |
msgstr ""
|
8383 |
|
8384 |
+
#: languages/vue.php:2508
|
8385 |
msgid "Installation Failed. Please refresh and try again."
|
8386 |
msgstr ""
|
8387 |
|
8388 |
+
#: languages/vue.php:2511
|
8389 |
msgid "Activating AIOSEO..."
|
8390 |
msgstr ""
|
8391 |
|
8392 |
+
#: languages/vue.php:2514
|
8393 |
msgid "Activate AIOSEO"
|
8394 |
msgstr ""
|
8395 |
|
8396 |
+
#: languages/vue.php:2517
|
8397 |
msgid "Activation Failed. Please refresh and try again."
|
8398 |
msgstr ""
|
8399 |
|
8400 |
#. Translators: The name of the field that is throwing a validation error.
|
8401 |
+
#: languages/vue.php:2521
|
8402 |
msgid "%s can't be empty."
|
8403 |
msgstr ""
|
8404 |
|
8405 |
+
#: languages/vue.php:2524
|
8406 |
msgid "Duplicate values are not allowed."
|
8407 |
msgstr ""
|
8408 |
|
8409 |
+
#: languages/vue.php:2527
|
8410 |
msgid "You can add maximum 5 items."
|
8411 |
msgstr ""
|
8412 |
|
8413 |
+
#: languages/vue.php:2530
|
8414 |
msgid "At least 0 item required."
|
8415 |
msgstr ""
|
8416 |
|
8417 |
+
#: languages/vue.php:2533
|
8418 |
msgid "Add Another Link Path"
|
8419 |
msgstr ""
|
8420 |
|
8421 |
+
#: languages/vue.php:2536
|
8422 |
msgid "Remove row"
|
8423 |
msgstr ""
|
8424 |
|
8425 |
+
#: languages/vue.php:2539
|
8426 |
msgid "New"
|
8427 |
msgstr ""
|
8428 |
|
8429 |
+
#: languages/vue.php:2542
|
8430 |
msgid "Returning"
|
8431 |
msgstr ""
|
8432 |
|
8433 |
+
#: languages/vue.php:2545
|
8434 |
msgid "Top 10 Countries"
|
8435 |
msgstr ""
|
8436 |
|
8437 |
+
#: languages/vue.php:2548
|
8438 |
msgid "View Countries Report"
|
8439 |
msgstr ""
|
8440 |
|
8441 |
+
#: languages/vue.php:2551
|
8442 |
msgid "Top 10 Referrals"
|
8443 |
msgstr ""
|
8444 |
|
8445 |
+
#: languages/vue.php:2554
|
8446 |
msgid "View All Referral Sources"
|
8447 |
msgstr ""
|
8448 |
|
8449 |
+
#: languages/vue.php:2557
|
8450 |
msgid "View Full Posts/Pages Report"
|
8451 |
msgstr ""
|
8452 |
|
8453 |
+
#: languages/vue.php:2560
|
8454 |
msgid "Percentage of single-page visits (or web sessions). It is the number of visits in which a person leaves your website from the landing page without browsing any further."
|
8455 |
msgstr ""
|
8456 |
|
8457 |
+
#: languages/vue.php:2563
|
8458 |
msgid "This list shows the top countries your website visitors are from."
|
8459 |
msgstr ""
|
8460 |
|
8461 |
+
#: languages/vue.php:2566
|
8462 |
msgid "This list shows the top websites that send your website traffic, known as referral traffic."
|
8463 |
msgstr ""
|
8464 |
|
8465 |
+
#: languages/vue.php:2569
|
8466 |
msgid "Export PDF Overview Report"
|
8467 |
msgstr ""
|
8468 |
|
8469 |
+
#: languages/vue.php:2572
|
8470 |
msgid "Reset to default"
|
8471 |
msgstr ""
|
8472 |
|
8473 |
+
#: languages/vue.php:2575
|
8474 |
msgid "The value entered does not match the required format"
|
8475 |
msgstr ""
|
8476 |
|
8477 |
+
#: languages/vue.php:2578
|
8478 |
msgid "Download the analytics reports instantly from the WordPress dashboard as PDF files and share them with anyone."
|
8479 |
msgstr ""
|
8480 |
|
8481 |
+
#: languages/vue.php:2581
|
8482 |
msgid "Our email summaries feature sends a weekly summary of the most important site analytics information."
|
8483 |
msgstr ""
|
8484 |
|
8485 |
+
#: languages/vue.php:2584
|
8486 |
msgid "Recommended Settings"
|
8487 |
msgstr ""
|
8488 |
|
8489 |
+
#: languages/vue.php:2587
|
8490 |
msgid "MonsterInsights recommends the following settings based on your configuration."
|
8491 |
msgstr ""
|
8492 |
|
8493 |
+
#: languages/vue.php:2590
|
8494 |
msgid "Events Tracking"
|
8495 |
msgstr ""
|
8496 |
|
8497 |
+
#: languages/vue.php:2593
|
8498 |
msgid "Must have for all click tracking on site."
|
8499 |
msgstr ""
|
8500 |
|
8501 |
+
#: languages/vue.php:2596
|
8502 |
msgid "MonsterInsights uses an advanced system to automatically detect all outbound links, download links, affiliate links, telephone links, mail links, and more automatically. We do all the work for you so you don't have to write any code."
|
8503 |
msgstr ""
|
8504 |
|
8505 |
+
#: languages/vue.php:2599
|
8506 |
msgid "Enhanced Link Attribution"
|
8507 |
msgstr ""
|
8508 |
|
8509 |
+
#: languages/vue.php:2602
|
8510 |
msgid "Improves the accuracy of your In-Page Analytics."
|
8511 |
msgstr ""
|
8512 |
|
8513 |
+
#: languages/vue.php:2605
|
8514 |
msgid "MonsterInsights will automatically help Google determine which links are unique and where they are on your site so that your In-Page Analytics reporting will be more accurate."
|
8515 |
msgstr ""
|
8516 |
|
8517 |
+
#: languages/vue.php:2608
|
8518 |
msgid "Install Updates Automatically"
|
8519 |
msgstr ""
|
8520 |
|
8521 |
+
#: languages/vue.php:2611
|
8522 |
msgid "Get the latest features, bug fixes, and security updates as they are released."
|
8523 |
msgstr ""
|
8524 |
|
8525 |
+
#: languages/vue.php:2614
|
8526 |
msgid "To ensure you get the latest bug fixes and security updates and avoid needing to spend time logging into your WordPress site to update MonsterInsights, we offer the ability to automatically have MonsterInsights update itself."
|
8527 |
msgstr ""
|
8528 |
|
8529 |
+
#: languages/vue.php:2617
|
8530 |
msgid "File Download Tracking"
|
8531 |
msgstr ""
|
8532 |
|
8533 |
+
#: languages/vue.php:2620
|
8534 |
msgid "Helps you see file downloads data."
|
8535 |
msgstr ""
|
8536 |
|
8537 |
+
#: languages/vue.php:2623
|
8538 |
msgid "MonsterInsights will automatically track downloads of common file types from links you have inserted onto your website. For example: want to know how many of your site's visitors have downloaded a PDF or other file you offer your visitors to download on your site? MonsterInsights makes this both easy, and code-free! You can customize the file types to track at any time from our settings panel."
|
8539 |
msgstr ""
|
8540 |
|
8541 |
+
#: languages/vue.php:2626
|
8542 |
msgid "Helps you increase affiliate revenue."
|
8543 |
msgstr ""
|
8544 |
|
8545 |
+
#: languages/vue.php:2629
|
8546 |
msgid "MonsterInsights will automatically help you track affiliate links that use internal looking urls like example.com/go/ or example.com/refer/. You can add custom affiliate patterns on our settings panel when you finish the onboarding wizard."
|
8547 |
msgstr ""
|
8548 |
|
8549 |
+
#: languages/vue.php:2632
|
8550 |
msgid "Affiliate Link Tracking"
|
8551 |
msgstr ""
|
8552 |
|
8553 |
+
#: languages/vue.php:2635
|
8554 |
msgid "Who Can See Reports"
|
8555 |
msgstr ""
|
8556 |
|
8557 |
+
#: languages/vue.php:2638
|
8558 |
msgid "These user roles will be able to access MonsterInsights' reports in the WordPress admin area."
|
8559 |
msgstr ""
|
8560 |
|
8561 |
+
#: languages/vue.php:2641
|
8562 |
msgid "Save and continue"
|
8563 |
msgstr ""
|
8564 |
|
8565 |
+
#: languages/vue.php:2644
|
8566 |
msgid "Events Tracking is enabled the moment you set up MonsterInsights"
|
8567 |
msgstr ""
|
8568 |
|
8569 |
+
#: languages/vue.php:2647
|
8570 |
msgid "Enhanced Link Attribution is enabled the moment you set up MonsterInsights"
|
8571 |
msgstr ""
|
8572 |
|
8573 |
+
#: languages/vue.php:2650
|
8574 |
msgid "+ Add Role"
|
8575 |
msgstr ""
|
8576 |
|
8577 |
+
#: languages/vue.php:2653
|
8578 |
msgid "Connect MonsterInsights to Your Website"
|
8579 |
msgstr ""
|
8580 |
|
8581 |
+
#: languages/vue.php:2656
|
8582 |
msgid "MonsterInsights connects Google Analytics to WordPress and shows you stats that matter."
|
8583 |
msgstr ""
|
8584 |
|
8585 |
+
#: languages/vue.php:2659
|
8586 |
msgid "Whoops, something went wrong and we weren't able to connect to MonsterInsights. Please enter your Google UA code manually."
|
8587 |
msgstr ""
|
8588 |
|
8589 |
+
#: languages/vue.php:2662
|
8590 |
msgid "Save and Continue"
|
8591 |
msgstr ""
|
8592 |
|
8593 |
+
#: languages/vue.php:2665
|
8594 |
msgid "UA code can't be empty"
|
8595 |
msgstr ""
|
8596 |
|
8597 |
+
#: languages/vue.php:2668
|
8598 |
msgid "Saving UA code..."
|
8599 |
msgstr ""
|
8600 |
|
8601 |
+
#: languages/vue.php:2671
|
8602 |
msgid "Allow usage tracking"
|
8603 |
msgstr ""
|
8604 |
|
8605 |
+
#: languages/vue.php:2674
|
8606 |
msgid "Adjust the sample rate so you don't exceed Google Analytics' processing limit. Can also be used to enable Google Optimize for A/B testing and personalization."
|
8607 |
msgstr ""
|
8608 |
|
8609 |
+
#: languages/vue.php:2677
|
8610 |
msgid "Install All-in-One SEO"
|
8611 |
msgstr ""
|
8612 |
|
8613 |
+
#: languages/vue.php:2680
|
8614 |
msgid "Improve Your Website Search Rankings With All-In-One SEO"
|
8615 |
msgstr ""
|
8616 |
|
8617 |
+
#: languages/vue.php:2683
|
8618 |
msgid "If you’re not using a plugin to optimize your website’s SEO you’re missing out on valuable organic traffic!"
|
8619 |
msgstr ""
|
8620 |
|
8621 |
+
#: languages/vue.php:2686
|
8622 |
msgid "Finally, a WordPress SEO Plugin that’s Easy and Powerful!"
|
8623 |
msgstr ""
|
8624 |
|
8625 |
+
#: languages/vue.php:2689
|
8626 |
msgid "AIOSEO makes it easy to set up the proper SEO foundations in less than 10 minutes."
|
8627 |
msgstr ""
|
8628 |
|
8629 |
+
#: languages/vue.php:2692
|
8630 |
msgid "Local SEO"
|
8631 |
msgstr ""
|
8632 |
|
8633 |
+
#: languages/vue.php:2695
|
8634 |
msgid "All in One SEO gives you all the tools you need to improve your local SEO and rank higher on Google Maps."
|
8635 |
msgstr ""
|
8636 |
|
8637 |
+
#: languages/vue.php:2698
|
8638 |
msgid "WooCommerce SEO"
|
8639 |
msgstr ""
|
8640 |
|
8641 |
+
#: languages/vue.php:2701
|
8642 |
msgid "Advanced eCommerce SEO support for WooCommerce to optimize product pages, product categories, and more."
|
8643 |
msgstr ""
|
8644 |
|
8645 |
+
#: languages/vue.php:2704
|
8646 |
msgid "SEO Custom User Roles"
|
8647 |
msgstr ""
|
8648 |
|
8649 |
+
#: languages/vue.php:2707
|
8650 |
msgid "SEO user roles allow you to manage access to important SEO features without handing over control of your website."
|
8651 |
msgstr ""
|
8652 |
|
8653 |
+
#: languages/vue.php:2710
|
8654 |
msgid "Google News Sitemap"
|
8655 |
msgstr ""
|
8656 |
|
8657 |
+
#: languages/vue.php:2713
|
8658 |
msgid "Get higher rankings and unlock more traffic by submitting your latest news articles to Google News."
|
8659 |
msgstr ""
|
8660 |
|
8661 |
+
#: languages/vue.php:2716
|
8662 |
msgid "Smart XML Sitemaps"
|
8663 |
msgstr ""
|
8664 |
|
8665 |
+
#: languages/vue.php:2719
|
8666 |
msgid "Automatically generate a WordPress XML sitemap and notify all search engines of any updates."
|
8667 |
msgstr ""
|
8668 |
|
8669 |
+
#: languages/vue.php:2722
|
8670 |
msgid "Social Media Integration"
|
8671 |
msgstr ""
|
8672 |
|
8673 |
+
#: languages/vue.php:2725
|
8674 |
msgid "Easily control how your content and thumbnails look on Facebook, Twitter, and other social media networks."
|
8675 |
msgstr ""
|
8676 |
|
8677 |
+
#: languages/vue.php:2728
|
8678 |
msgid "TruSEO On-Page Analysis"
|
8679 |
msgstr ""
|
8680 |
|
8681 |
+
#: languages/vue.php:2731
|
8682 |
msgid "Easily add title tags, meta descriptions, keywords, and everything else you need for proper on-page SEO optimization."
|
8683 |
msgstr ""
|
8684 |
|
8685 |
+
#: languages/vue.php:2734
|
8686 |
msgid "& Many More!"
|
8687 |
msgstr ""
|
8688 |
|
8689 |
+
#: languages/vue.php:2737
|
8690 |
msgid "Installing. Please wait.."
|
8691 |
msgstr ""
|
8692 |
|
8693 |
+
#: languages/vue.php:2740
|
8694 |
msgid "Install All-in-One-SEO"
|
8695 |
msgstr ""
|
8696 |
|
8697 |
+
#: languages/vue.php:2743
|
8698 |
msgid "Welcome to MonsterInsights!"
|
8699 |
msgstr ""
|
8700 |
|
8701 |
+
#: languages/vue.php:2746
|
8702 |
msgid "Let's get you set up."
|
8703 |
msgstr ""
|
8704 |
|
8705 |
+
#: languages/vue.php:2749
|
8706 |
msgid "Which category best describes your website?"
|
8707 |
msgstr ""
|
8708 |
|
8709 |
+
#: languages/vue.php:2752
|
8710 |
msgid "We will recommend the optimal settings for MonsterInsights based on your choice."
|
8711 |
msgstr ""
|
8712 |
|
8713 |
+
#: languages/vue.php:2755
|
8714 |
msgid "Business Website"
|
8715 |
msgstr ""
|
8716 |
|
8717 |
#. Translators: Make text bold.
|
8718 |
+
#: languages/vue.php:2759
|
8719 |
msgid "Publisher %1$s(Blog)%2$s"
|
8720 |
msgstr ""
|
8721 |
|
8722 |
+
#: languages/vue.php:2762
|
8723 |
msgid "Ecommerce"
|
8724 |
msgstr ""
|
8725 |
|
8726 |
+
#: languages/vue.php:2765
|
8727 |
msgid "Caching"
|
8728 |
msgstr ""
|
8729 |
|
8730 |
+
#: languages/vue.php:2768
|
8731 |
msgid "Enable Data Caching"
|
8732 |
msgstr ""
|
8733 |
|
8734 |
+
#: languages/vue.php:2771
|
8735 |
msgid "Refresh Cache Every"
|
8736 |
msgstr ""
|
8737 |
|
8738 |
+
#: languages/vue.php:2774
|
8739 |
msgid "Choose how often to refresh the cache."
|
8740 |
msgstr ""
|
8741 |
|
8742 |
+
#: languages/vue.php:2777
|
8743 |
msgid "Enable Ajaxify"
|
8744 |
msgstr ""
|
8745 |
|
8746 |
+
#: languages/vue.php:2780
|
8747 |
msgid "Ajaxify Widget"
|
8748 |
msgstr ""
|
8749 |
|
8750 |
+
#: languages/vue.php:2783
|
8751 |
msgid "Use to bypass page caching."
|
8752 |
msgstr ""
|
8753 |
|
8754 |
+
#: languages/vue.php:2786
|
8755 |
msgid "Empty Cache"
|
8756 |
msgstr ""
|
8757 |
|
8758 |
+
#: languages/vue.php:2789
|
8759 |
msgid "Click to manually wipe the cache right now."
|
8760 |
msgstr ""
|
8761 |
|
8762 |
+
#: languages/vue.php:2792
|
8763 |
msgid "Popular posts cache emptied"
|
8764 |
msgstr ""
|
8765 |
|
8766 |
+
#: languages/vue.php:2795
|
8767 |
msgid "Error emptying the popular posts cache. Please try again."
|
8768 |
msgstr ""
|
8769 |
|
8770 |
+
#: languages/vue.php:2798
|
8771 |
msgid "Choose Theme"
|
8772 |
msgstr ""
|
8773 |
|
8774 |
+
#: languages/vue.php:2801
|
8775 |
msgid "Widget Styling"
|
8776 |
msgstr ""
|
8777 |
|
8778 |
+
#: languages/vue.php:2804
|
8779 |
msgid "Choose how you want to determine the colors, font sizes and spacing of the widget."
|
8780 |
msgstr ""
|
8781 |
|
8782 |
+
#: languages/vue.php:2807
|
8783 |
msgid "Sort By"
|
8784 |
msgstr ""
|
8785 |
|
8786 |
+
#: languages/vue.php:2810
|
8787 |
msgid "Choose how you'd like the widget to determine your popular posts."
|
8788 |
msgstr ""
|
8789 |
|
8790 |
+
#: languages/vue.php:2813
|
8791 |
msgid "Display Title"
|
8792 |
msgstr ""
|
8793 |
|
8794 |
+
#: languages/vue.php:2819
|
8795 |
msgid "Title your widget and set its display preferences."
|
8796 |
msgstr ""
|
8797 |
|
8798 |
+
#: languages/vue.php:2822
|
8799 |
msgid "Include in Post Types"
|
8800 |
msgstr ""
|
8801 |
|
8802 |
+
#: languages/vue.php:2825
|
8803 |
msgid "Exclude from specific posts"
|
8804 |
msgstr ""
|
8805 |
|
8806 |
#. Translators: Placeholders make the text bold.
|
8807 |
+
#: languages/vue.php:2829
|
8808 |
msgid "Choose which Post Types the widget %1$sWILL%2$s be placed."
|
8809 |
msgstr ""
|
8810 |
|
8811 |
#. Translators: Placeholders make the text bold.
|
8812 |
+
#: languages/vue.php:2833
|
8813 |
msgid "Choose from which Posts the widget %1$sWILL NOT%2$s be placed."
|
8814 |
msgstr ""
|
8815 |
|
8816 |
+
#: languages/vue.php:2836
|
8817 |
msgid "Loading Themes"
|
8818 |
msgstr ""
|
8819 |
|
8820 |
#. Translators: placeholders make text small.
|
8821 |
+
#: languages/vue.php:2840
|
8822 |
msgid "Default Styles %1$s- As seen above.%2$s"
|
8823 |
msgstr ""
|
8824 |
|
8825 |
#. Translators: placeholders make text small.
|
8826 |
+
#: languages/vue.php:2844
|
8827 |
msgid "No Styles %1$s- Use your own CSS.%2$s"
|
8828 |
msgstr ""
|
8829 |
|
8830 |
#. Translators: placeholders make text small.
|
8831 |
+
#: languages/vue.php:2848
|
8832 |
msgid "Comments %1$s- Randomly rotate your most commented on posts from the past 30 days.%2$s"
|
8833 |
msgstr ""
|
8834 |
|
8835 |
#. Translators: placeholders make text small.
|
8836 |
+
#: languages/vue.php:2852
|
8837 |
msgid "SharedCount %1$s- Connect with your SharedCount account to determine popular posts by share count.%2$s"
|
8838 |
msgstr ""
|
8839 |
|
8840 |
#. Translators: placeholders make text small.
|
8841 |
+
#: languages/vue.php:2856
|
8842 |
msgid "Curated %1$s- Choose the posts which will randomly rotate in the widget.%2$s"
|
8843 |
msgstr ""
|
8844 |
|
8845 |
+
#: languages/vue.php:2859
|
8846 |
msgid "Placement"
|
8847 |
msgstr ""
|
8848 |
|
8849 |
+
#: languages/vue.php:2862
|
8850 |
msgid "Choose how you'd like to place the widget."
|
8851 |
msgstr ""
|
8852 |
|
8853 |
+
#: languages/vue.php:2865
|
8854 |
msgid "Insert After"
|
8855 |
msgstr ""
|
8856 |
|
8857 |
+
#: languages/vue.php:2868
|
8858 |
msgid "Choose where in the post body the widget will be placed."
|
8859 |
msgstr ""
|
8860 |
|
8861 |
+
#: languages/vue.php:2871
|
8862 |
msgid "Customize Design"
|
8863 |
msgstr ""
|
8864 |
|
8865 |
+
#: languages/vue.php:2874
|
8866 |
msgid "words"
|
8867 |
msgstr ""
|
8868 |
|
8869 |
+
#: languages/vue.php:2877
|
8870 |
msgid "Please select at least one post to display."
|
8871 |
msgstr ""
|
8872 |
|
8873 |
#. Translators: placeholders make text small.
|
8874 |
+
#: languages/vue.php:2881
|
8875 |
msgid "Automatic %1$s- The widget is automatically placed inside the post body.%2$s"
|
8876 |
msgstr ""
|
8877 |
|
8878 |
#. Translators: placeholders make text small.
|
8879 |
+
#: languages/vue.php:2885
|
8880 |
msgid "Manual %1$s- Manually place the widget using Gutenberg blocks or using our shortcode.%2$s"
|
8881 |
msgstr ""
|
8882 |
|
8883 |
+
#: languages/vue.php:2888
|
8884 |
msgid "Facebook Instant Articles"
|
8885 |
msgstr ""
|
8886 |
|
8887 |
+
#: languages/vue.php:2891
|
8888 |
msgid "Want to expand your website audience beyond your website with Facebook Instant Articles? Upgrade to MonsterInsights Pro."
|
8889 |
msgstr ""
|
8890 |
|
8891 |
+
#: languages/vue.php:2894
|
8892 |
msgid "Want to use track users visiting your AMP pages? By upgrading to MonsterInsights Pro, you can enable AMP page tracking."
|
8893 |
msgstr ""
|
8894 |
|
8895 |
+
#: languages/vue.php:2897
|
8896 |
msgid "Ads Tracking"
|
8897 |
msgstr ""
|
8898 |
|
8899 |
+
#: languages/vue.php:2900
|
8900 |
msgid "Add Ads tracking to see who's clicking on your Google Ads, so you can increase your revenue."
|
8901 |
msgstr ""
|
8902 |
|
8903 |
+
#: languages/vue.php:2903
|
8904 |
msgid "2,000,000+ use AIOSEO to Improve Their Website Search Rankings"
|
8905 |
msgstr ""
|
8906 |
|
8907 |
+
#: languages/vue.php:2906
|
8908 |
msgid "All-in-One SEO is a great product. I have been using it on all my WP sites for several years. I highly recommend it."
|
8909 |
msgstr ""
|
8910 |
|
8911 |
+
#: languages/vue.php:2909
|
8912 |
msgid "Jack Brown"
|
8913 |
msgstr ""
|
8914 |
|
8915 |
+
#: languages/vue.php:2912
|
8916 |
msgid "PJB Internet Marketing"
|
8917 |
msgstr ""
|
8918 |
|
8919 |
+
#: languages/vue.php:2915
|
8920 |
msgid "I’m a professional SEO and used many tools and extensions. Regarding simplicity, individuality and configurability All in One SEO Pro is by far the best SEO plugin out there for WordPress."
|
8921 |
msgstr ""
|
8922 |
|
8923 |
+
#: languages/vue.php:2918
|
8924 |
msgid "Joel Steinmann"
|
8925 |
msgstr ""
|
8926 |
|
8927 |
+
#: languages/vue.php:2921
|
8928 |
msgid "CEO, Solergo"
|
8929 |
msgstr ""
|
8930 |
|
8931 |
+
#: languages/vue.php:2924
|
8932 |
msgid "Recommended Addons"
|
8933 |
msgstr ""
|
8934 |
|
8935 |
+
#: languages/vue.php:2927
|
8936 |
msgid "To unlock more features consider upgrading to PRO. As a valued MonsterInsights Lite user you receive 50% off, automatically applied at checkout!"
|
8937 |
msgstr ""
|
8938 |
|
8939 |
+
#: languages/vue.php:2930
|
8940 |
msgid "Other Addons"
|
8941 |
msgstr ""
|
8942 |
|
8943 |
+
#: languages/vue.php:2933
|
8944 |
msgid "View all MonsterInsights addons"
|
8945 |
msgstr ""
|
8946 |
|
8947 |
+
#: languages/vue.php:2936
|
8948 |
msgid "Scroll Tracking"
|
8949 |
msgstr ""
|
8950 |
|
8951 |
+
#: languages/vue.php:2939
|
8952 |
msgid "Scroll depth tracking allows you to see how far your users scroll before they leave a page. This is great for publishers (bloggers), and eCommerce websites to boost conversions."
|
8953 |
msgstr ""
|
8954 |
|
8955 |
+
#: languages/vue.php:2942
|
8956 |
msgid ""
|
8957 |
"The EU Compliance addon allows you to improve compliance with GDPR\n"
|
8958 |
" and other privacy regulations."
|
8959 |
msgstr ""
|
8960 |
|
8961 |
+
#: languages/vue.php:2946
|
8962 |
msgid "EU Compliance"
|
8963 |
msgstr ""
|
8964 |
|
8965 |
+
#: languages/vue.php:2949
|
8966 |
msgid "Compatibility mode"
|
8967 |
msgstr ""
|
8968 |
|
8969 |
+
#: languages/vue.php:2952
|
8970 |
msgid "Enable _gtagTracker Compatibility"
|
8971 |
msgstr ""
|
8972 |
|
8973 |
#. Translators: Placeholder gets replaced with default GA js function.
|
8974 |
+
#: languages/vue.php:2956
|
8975 |
msgid "This enables MonsterInsights to work with plugins that use %1$s and don't support %2$s"
|
8976 |
msgstr ""
|
8977 |
|
8978 |
#. Translators: Page number of total pages. 1 & 2 make the first part of the text bold.
|
8979 |
+
#: languages/vue.php:2960
|
8980 |
msgid "%1$sPage %3$s%2$s of %4$s"
|
8981 |
msgstr ""
|
8982 |
|
8983 |
+
#: languages/vue.php:2963
|
8984 |
#: lite/includes/popular-posts/class-popular-posts-widget-sidebar.php:257
|
8985 |
msgid "Theme Preview"
|
8986 |
msgstr ""
|
8987 |
|
8988 |
+
#: languages/vue.php:2966
|
8989 |
msgid "Wide"
|
8990 |
msgstr ""
|
8991 |
|
8992 |
+
#: languages/vue.php:2969
|
8993 |
msgid "Narrow"
|
8994 |
msgstr ""
|
8995 |
|
8996 |
+
#: languages/vue.php:2972
|
8997 |
msgid "Title"
|
8998 |
msgstr ""
|
8999 |
|
9000 |
+
#: languages/vue.php:2975
|
9001 |
msgid "Color"
|
9002 |
msgstr ""
|
9003 |
|
9004 |
+
#: languages/vue.php:2978
|
9005 |
msgid "Size"
|
9006 |
msgstr ""
|
9007 |
|
9008 |
+
#: languages/vue.php:2981
|
9009 |
msgid "Border"
|
9010 |
msgstr ""
|
9011 |
|
9012 |
+
#: languages/vue.php:2984
|
9013 |
msgid "Author/Date"
|
9014 |
msgstr ""
|
9015 |
|
9016 |
+
#: languages/vue.php:2987
|
9017 |
msgid "Label"
|
9018 |
msgstr ""
|
9019 |
|
9020 |
+
#: languages/vue.php:2990
|
9021 |
msgid "Background"
|
9022 |
msgstr ""
|
9023 |
|
9024 |
+
#: languages/vue.php:3002
|
9025 |
msgid "Choose which content you would like displayed in the widget."
|
9026 |
msgstr ""
|
9027 |
|
9028 |
+
#: languages/vue.php:3014
|
9029 |
msgid "Comments"
|
9030 |
msgstr ""
|
9031 |
|
9032 |
+
#: languages/vue.php:3020
|
9033 |
msgid "Choose how many posts you’d like displayed in the widget."
|
9034 |
msgstr ""
|
9035 |
|
9036 |
+
#: languages/vue.php:3023
|
9037 |
msgid "Popular Posts data can be fetched correctly"
|
9038 |
msgstr ""
|
9039 |
|
9040 |
+
#: languages/vue.php:3026
|
9041 |
msgid "Please note: depending on when you
|