WP Mail SMTP by WPForms - Version 2.9.0

Version Description

  • 2021-06-24 =
  • Added: Action Scheduler table to the Tools page.
  • Added: Dashboard Widget with total emails sent counter.
  • Changed: Notifications design.
  • Changed: Sodium Compat library loading improved.
  • Fixed: Plugin conflict with plugins that populate $_POST data (Ultimate Addons for Elementor, WishList Member, ...).
  • Fixed: Sendinblue WooCommerce Email Marketing plugin conflict admin notice display.
  • Fixed: jQuery deprecated notices.
  • Fixed: Action Scheduler library loading issue.
  • Fixed: Canceled Setup Wizard's OAuth authorization redirecting to the Setup Wizard when connecting via regular plugin settings.
  • Fixed: Meta DB table not existing error notices on a WP Multisite subsite.
Download this release

Release Info

Developer capuderg
Plugin Icon 128x128 WP Mail SMTP by WPForms
Version 2.9.0
Comparing to
See all releases

Code changes from version 2.8.0 to 2.9.0

Files changed (160) hide show
  1. assets/css/admin-notifications.min.css +1 -1
  2. assets/css/dashboard-widget.min.css +1 -0
  3. assets/css/smtp-admin.min.css +1 -1
  4. assets/images/about/plugin-aioseo.png +0 -0
  5. assets/images/about/plugin-mi.png +0 -0
  6. assets/images/about/plugin-om.png +0 -0
  7. assets/images/about/plugin-pushengage.png +0 -0
  8. assets/images/about/plugin-rp.png +0 -0
  9. assets/images/about/plugin-seedprod.png +0 -0
  10. assets/images/about/plugin-smash-balloon-facebook-feeds.png +0 -0
  11. assets/images/about/plugin-smash-balloon-instagram-feeds.png +0 -0
  12. assets/images/about/plugin-smash-balloon-twitter-feeds.png +0 -0
  13. assets/images/about/plugin-smash-balloon-youtube-feeds.png +0 -0
  14. assets/images/about/plugin-trustpulse.png +0 -0
  15. assets/images/about/plugin-wpf.png +0 -0
  16. assets/images/about/team.jpg +0 -0
  17. assets/images/dash-widget/smtp/delivered.svg +1 -0
  18. assets/images/dash-widget/smtp/sent.svg +1 -0
  19. assets/images/dash-widget/smtp/total.svg +1 -0
  20. assets/images/dash-widget/smtp/unsent.svg +1 -0
  21. assets/images/dash-widget/wp/delivered.svg +1 -0
  22. assets/images/dash-widget/wp/sent.svg +1 -0
  23. assets/images/dash-widget/wp/total.svg +1 -0
  24. assets/images/dash-widget/wp/unsent.svg +1 -0
  25. assets/images/email/icon-check.png +0 -0
  26. assets/images/email/signature.png +0 -0
  27. assets/images/email/wp-mail-smtp-whitelabel.png +0 -0
  28. assets/images/email/wp-mail-smtp.png +0 -0
  29. assets/images/font-awesome/check-circle-solid-green.svg +1 -1
  30. assets/images/font-awesome/exclamation-circle-regular-red.svg +1 -1
  31. assets/images/font-awesome/exclamation-circle-solid-orange.svg +1 -1
  32. assets/images/font-awesome/exclamation-circle-solid-red.svg +1 -1
  33. assets/images/logs/archive.png +0 -0
  34. assets/images/logs/single.png +0 -0
  35. assets/images/pro-badge-small.svg +1 -0
  36. assets/js/connect.js +1 -10
  37. assets/js/connect.min.js +1 -1
  38. assets/js/smtp-about.js +1 -1
  39. assets/js/smtp-about.min.js +1 -1
  40. assets/js/smtp-admin.js +29 -18
  41. assets/js/smtp-admin.min.js +1 -1
  42. assets/js/smtp-dashboard-widget.js +263 -0
  43. assets/js/smtp-dashboard-widget.min.js +1 -0
  44. assets/js/smtp-notifications.js +4 -4
  45. assets/js/smtp-notifications.min.js +1 -1
  46. assets/js/vendor/chart.min.js +7 -0
  47. assets/js/vendor/moment.min.js +1 -0
  48. assets/languages/wp-mail-smtp-vue.php +26 -23
  49. assets/languages/wp-mail-smtp.pot +682 -422
  50. assets/vue/js/wizard.min.js +1 -1
  51. {vendor/paragonie → libs}/sodium_compat/LICENSE +0 -0
  52. {vendor/paragonie → libs}/sodium_compat/autoload-php7.php +0 -0
  53. {vendor/paragonie → libs}/sodium_compat/autoload.php +1 -4
  54. {vendor/paragonie → libs}/sodium_compat/lib/constants.php +0 -0
  55. {vendor/paragonie → libs}/sodium_compat/lib/namespaced.php +0 -0
  56. {vendor/paragonie → libs}/sodium_compat/lib/php72compat.php +0 -3
  57. {vendor/paragonie → libs}/sodium_compat/lib/php72compat_const.php +0 -2
  58. {vendor/paragonie → libs}/sodium_compat/lib/sodium_compat.php +1 -2
  59. {vendor/paragonie → libs}/sodium_compat/namespaced/Compat.php +0 -0
  60. {vendor/paragonie → libs}/sodium_compat/namespaced/Core/BLAKE2b.php +0 -0
  61. {vendor/paragonie → libs}/sodium_compat/namespaced/Core/ChaCha20.php +0 -0
  62. {vendor/paragonie → libs}/sodium_compat/namespaced/Core/ChaCha20/Ctx.php +0 -0
  63. {vendor/paragonie → libs}/sodium_compat/namespaced/Core/ChaCha20/IetfCtx.php +0 -0
  64. {vendor/paragonie → libs}/sodium_compat/namespaced/Core/Curve25519.php +0 -0
  65. {vendor/paragonie → libs}/sodium_compat/namespaced/Core/Curve25519/Fe.php +0 -0
  66. {vendor/paragonie → libs}/sodium_compat/namespaced/Core/Curve25519/Ge/Cached.php +0 -0
  67. {vendor/paragonie → libs}/sodium_compat/namespaced/Core/Curve25519/Ge/P1p1.php +0 -0
  68. {vendor/paragonie → libs}/sodium_compat/namespaced/Core/Curve25519/Ge/P2.php +0 -0
  69. {vendor/paragonie → libs}/sodium_compat/namespaced/Core/Curve25519/Ge/P3.php +0 -0
  70. {vendor/paragonie → libs}/sodium_compat/namespaced/Core/Curve25519/Ge/Precomp.php +0 -0
  71. {vendor/paragonie → libs}/sodium_compat/namespaced/Core/Curve25519/H.php +0 -0
  72. {vendor/paragonie → libs}/sodium_compat/namespaced/Core/Ed25519.php +0 -0
  73. {vendor/paragonie → libs}/sodium_compat/namespaced/Core/HChaCha20.php +0 -0
  74. {vendor/paragonie → libs}/sodium_compat/namespaced/Core/HSalsa20.php +0 -0
  75. {vendor/paragonie → libs}/sodium_compat/namespaced/Core/Poly1305.php +0 -0
  76. {vendor/paragonie → libs}/sodium_compat/namespaced/Core/Poly1305/State.php +0 -0
  77. {vendor/paragonie → libs}/sodium_compat/namespaced/Core/Salsa20.php +0 -0
  78. {vendor/paragonie → libs}/sodium_compat/namespaced/Core/SipHash.php +0 -0
  79. {vendor/paragonie → libs}/sodium_compat/namespaced/Core/Util.php +0 -0
  80. {vendor/paragonie → libs}/sodium_compat/namespaced/Core/X25519.php +0 -0
  81. {vendor/paragonie → libs}/sodium_compat/namespaced/Core/XChaCha20.php +0 -0
  82. {vendor/paragonie → libs}/sodium_compat/namespaced/Core/Xsalsa20.php +0 -0
  83. {vendor/paragonie → libs}/sodium_compat/namespaced/Crypto.php +0 -0
  84. {vendor/paragonie → libs}/sodium_compat/namespaced/File.php +0 -0
  85. {vendor/paragonie → libs}/sodium_compat/src/Compat.php +5 -115
  86. {vendor/paragonie → libs}/sodium_compat/src/Core/BLAKE2b.php +0 -0
  87. {vendor/paragonie → libs}/sodium_compat/src/Core/Base64/Common.php +0 -0
  88. {vendor/paragonie → libs}/sodium_compat/src/Core/Base64/Original.php +0 -0
  89. {vendor/paragonie → libs}/sodium_compat/src/Core/Base64/UrlSafe.php +0 -0
  90. {vendor/paragonie → libs}/sodium_compat/src/Core/ChaCha20.php +0 -0
  91. {vendor/paragonie → libs}/sodium_compat/src/Core/ChaCha20/Ctx.php +0 -0
  92. {vendor/paragonie → libs}/sodium_compat/src/Core/ChaCha20/IetfCtx.php +0 -0
  93. {vendor/paragonie → libs}/sodium_compat/src/Core/Curve25519.php +0 -0
  94. {vendor/paragonie → libs}/sodium_compat/src/Core/Curve25519/Fe.php +0 -0
  95. {vendor/paragonie → libs}/sodium_compat/src/Core/Curve25519/Ge/Cached.php +0 -0
  96. {vendor/paragonie → libs}/sodium_compat/src/Core/Curve25519/Ge/P1p1.php +0 -0
  97. {vendor/paragonie → libs}/sodium_compat/src/Core/Curve25519/Ge/P2.php +0 -0
  98. {vendor/paragonie → libs}/sodium_compat/src/Core/Curve25519/Ge/P3.php +0 -0
  99. {vendor/paragonie → libs}/sodium_compat/src/Core/Curve25519/Ge/Precomp.php +0 -0
  100. {vendor/paragonie → libs}/sodium_compat/src/Core/Curve25519/H.php +0 -0
  101. {vendor/paragonie → libs}/sodium_compat/src/Core/Ed25519.php +0 -0
  102. {vendor/paragonie → libs}/sodium_compat/src/Core/HChaCha20.php +0 -0
  103. {vendor/paragonie → libs}/sodium_compat/src/Core/HSalsa20.php +0 -0
  104. {vendor/paragonie → libs}/sodium_compat/src/Core/Poly1305.php +0 -0
  105. {vendor/paragonie → libs}/sodium_compat/src/Core/Poly1305/State.php +0 -0
  106. {vendor/paragonie → libs}/sodium_compat/src/Core/Salsa20.php +0 -0
  107. {vendor/paragonie → libs}/sodium_compat/src/Core/SecretStream/State.php +0 -0
  108. {vendor/paragonie → libs}/sodium_compat/src/Core/SipHash.php +2 -2
  109. {vendor/paragonie → libs}/sodium_compat/src/Core/Util.php +0 -0
  110. {vendor/paragonie → libs}/sodium_compat/src/Core/X25519.php +0 -0
  111. {vendor/paragonie → libs}/sodium_compat/src/Core/XChaCha20.php +0 -0
  112. {vendor/paragonie → libs}/sodium_compat/src/Core/XSalsa20.php +0 -0
  113. {vendor/paragonie → libs}/sodium_compat/src/Core32/BLAKE2b.php +0 -0
  114. {vendor/paragonie → libs}/sodium_compat/src/Core32/ChaCha20.php +0 -0
  115. {vendor/paragonie → libs}/sodium_compat/src/Core32/ChaCha20/Ctx.php +0 -0
  116. {vendor/paragonie → libs}/sodium_compat/src/Core32/ChaCha20/IetfCtx.php +0 -0
  117. {vendor/paragonie → libs}/sodium_compat/src/Core32/Curve25519.php +0 -0
  118. {vendor/paragonie → libs}/sodium_compat/src/Core32/Curve25519/Fe.php +0 -0
  119. {vendor/paragonie → libs}/sodium_compat/src/Core32/Curve25519/Ge/Cached.php +0 -0
  120. {vendor/paragonie → libs}/sodium_compat/src/Core32/Curve25519/Ge/P1p1.php +0 -0
  121. {vendor/paragonie → libs}/sodium_compat/src/Core32/Curve25519/Ge/P2.php +0 -0
  122. {vendor/paragonie → libs}/sodium_compat/src/Core32/Curve25519/Ge/P3.php +0 -0
  123. {vendor/paragonie → libs}/sodium_compat/src/Core32/Curve25519/Ge/Precomp.php +0 -0
  124. {vendor/paragonie → libs}/sodium_compat/src/Core32/Curve25519/H.php +0 -0
  125. {vendor/paragonie → libs}/sodium_compat/src/Core32/Ed25519.php +5 -22
  126. {vendor/paragonie → libs}/sodium_compat/src/Core32/HChaCha20.php +0 -0
  127. {vendor/paragonie → libs}/sodium_compat/src/Core32/HSalsa20.php +0 -0
  128. {vendor/paragonie → libs}/sodium_compat/src/Core32/Int32.php +0 -0
  129. {vendor/paragonie → libs}/sodium_compat/src/Core32/Int64.php +0 -0
  130. {vendor/paragonie → libs}/sodium_compat/src/Core32/Poly1305.php +0 -0
  131. {vendor/paragonie → libs}/sodium_compat/src/Core32/Poly1305/State.php +0 -0
  132. {vendor/paragonie → libs}/sodium_compat/src/Core32/Salsa20.php +0 -0
  133. {vendor/paragonie → libs}/sodium_compat/src/Core32/SecretStream/State.php +0 -0
  134. {vendor/paragonie → libs}/sodium_compat/src/Core32/SipHash.php +0 -0
  135. {vendor/paragonie → libs}/sodium_compat/src/Core32/Util.php +0 -0
  136. {vendor/paragonie → libs}/sodium_compat/src/Core32/X25519.php +0 -0
  137. {vendor/paragonie → libs}/sodium_compat/src/Core32/XChaCha20.php +0 -0
  138. {vendor/paragonie → libs}/sodium_compat/src/Core32/XSalsa20.php +0 -0
  139. {vendor/paragonie → libs}/sodium_compat/src/Crypto.php +0 -0
  140. {vendor/paragonie → libs}/sodium_compat/src/Crypto32.php +0 -0
  141. {vendor/paragonie → libs}/sodium_compat/src/File.php +19 -28
  142. {vendor/paragonie → libs}/sodium_compat/src/PHP52/SplFixedArray.php +0 -0
  143. {vendor/paragonie → libs}/sodium_compat/src/SodiumException.php +0 -0
  144. readme.txt +14 -2
  145. src/Admin/Area.php +113 -93
  146. src/Admin/DashboardWidget.php +577 -0
  147. src/Admin/Notifications.php +31 -15
  148. src/Admin/PageAbstract.php +15 -8
  149. src/Admin/Pages/About.php +25 -792
  150. src/Admin/Pages/AboutTab.php +530 -0
  151. src/Admin/Pages/ActionSchedulerTab.php +157 -0
  152. src/Admin/Pages/ExportTab.php +143 -0
  153. src/Admin/Pages/MiscTab.php +21 -0
  154. src/Admin/Pages/SettingsTab.php +16 -1
  155. src/Admin/Pages/TestTab.php +2 -1
  156. src/Admin/Pages/VersusTab.php +281 -0
  157. src/Admin/ParentPageAbstract.php +61 -6
  158. src/Compatibility/Compatibility.php +1 -2
  159. src/Compatibility/Plugin/WishListMember.php +0 -57
  160. src/Conflicts.php +0 -233
assets/css/admin-notifications.min.css CHANGED
@@ -1 +1 @@
1
- #wp-mail-smtp-notifications{position:relative;background:#FFFFFF 0 0 no-repeat padding-box;box-shadow:0 5px 15px #0000000D;border-radius:6px;opacity:1;min-height:48px;padding:15px 102px 15px 72px;margin:0 0 14px 0}#wp-mail-smtp-notifications *{box-sizing:border-box}#wp-mail-smtp-notifications .bell{position:absolute;top:15px;left:15px;width:42px;height:48px}#wp-mail-smtp-notifications .messages .message{display:none}#wp-mail-smtp-notifications .messages .message.current{display:block}#wp-mail-smtp-notifications .messages .message .title{font-weight:bold;font-size:17px;line-height:20px;margin:0;color:#444}#wp-mail-smtp-notifications .messages .message .content{font-weight:normal;font-size:13px;line-height:20px;margin:6px 0 40px 0}#wp-mail-smtp-notifications .messages .message .buttons{margin:-30px 80px 0 0}#wp-mail-smtp-notifications .messages .message .buttons a{margin:0 6px 0 0;padding:8px 10px;line-height:13px;font-size:13px;min-height:unset}#wp-mail-smtp-notifications .messages .message .buttons .button-secondary{border:1px solid #0071A1}#wp-mail-smtp-notifications .dismiss{position:absolute;top:15px;right:15px;width:16px;height:16px;color:#72777C;font-size:16px;cursor:pointer;text-align:center;vertical-align:middle;line-height:16px}#wp-mail-smtp-notifications .dismiss:hover{color:#dc3232}#wp-mail-smtp-notifications .navigation{position:absolute;bottom:15px;right:15px;width:63px;height:30px}#wp-mail-smtp-notifications .navigation a{display:block;width:30px;height:30px;border:1px solid #7E8993;border-radius:3px;font-size:8px;text-align:center;vertical-align:middle;line-height:30px;cursor:pointer;background-color:#ffffff;color:#41454A}#wp-mail-smtp-notifications .navigation a:hover{background-color:#f1f1f1}#wp-mail-smtp-notifications .navigation a .dashicons{margin-top:8px;font-size:12px}#wp-mail-smtp-notifications .navigation .prev{float:left}#wp-mail-smtp-notifications .navigation .next{float:right}#wp-mail-smtp-notifications .navigation .disabled{border-color:#dddddd;color:#A0A5AA;cursor:default}#wp-mail-smtp-notifications .navigation .disabled:hover{background-color:#ffffff}@media screen and (max-width: 768px){#wp-mail-smtp-notifications{padding:15px 15px 15px 72px}#wp-mail-smtp-notifications .messages .message .title{margin:0 30px 0 0}#wp-mail-smtp-notifications .messages .message .content{font-size:16px;line-height:24px}#wp-mail-smtp-notifications .messages .message .buttons{margin:-30px 80px 0 0}#wp-mail-smtp-notifications .messages .message .buttons a{margin:0;display:table}#wp-mail-smtp-notifications .messages .message .buttons .button-secondary{margin-top:6px}}
1
+ #wp-mail-smtp-notifications{position:relative;background:#FFFFFF 0 0 no-repeat padding-box;box-shadow:0 5px 15px #0000000D;border-radius:6px;opacity:1;min-height:48px;margin:0 0 14px 0}#wp-mail-smtp-notifications *{box-sizing:border-box}#wp-mail-smtp-notifications .wp-mail-smtp-notifications-header{display:flex;align-items:center;padding:8px 16px;border-bottom:1px solid rgba(204,208,212,0.5)}#wp-mail-smtp-notifications .wp-mail-smtp-notifications-header .wp-mail-smtp-notifications-bell{position:relative;top:2px;margin-right:10px}#wp-mail-smtp-notifications .wp-mail-smtp-notifications-header .wp-mail-smtp-notifications-title{font-style:normal;font-weight:500;font-size:14px;line-height:17px;color:#23282D}#wp-mail-smtp-notifications .wp-mail-smtp-notifications-body{position:relative}#wp-mail-smtp-notifications .wp-mail-smtp-notifications-messages{padding:16px 100px 16px 16px}#wp-mail-smtp-notifications .wp-mail-smtp-notifications-messages .wp-mail-smtp-notifications-message{display:none}#wp-mail-smtp-notifications .wp-mail-smtp-notifications-messages .wp-mail-smtp-notifications-message.current{display:block}#wp-mail-smtp-notifications .wp-mail-smtp-notifications-messages .wp-mail-smtp-notifications-title{font-weight:bold;font-size:17px;line-height:17px;margin:0;color:#444}#wp-mail-smtp-notifications .wp-mail-smtp-notifications-messages .wp-mail-smtp-notifications-content{font-weight:normal;font-size:14px;line-height:18px;margin:8px 0 41px 0;color:#777777}#wp-mail-smtp-notifications .wp-mail-smtp-notifications-messages .wp-mail-smtp-notifications-buttons{margin:-30px 80px 0 0}#wp-mail-smtp-notifications .wp-mail-smtp-notifications-messages .wp-mail-smtp-notifications-buttons a{margin:0 10px 0 0;padding:8px 10px;line-height:13px;font-size:13px;min-height:unset}#wp-mail-smtp-notifications .wp-mail-smtp-notifications-messages .wp-mail-smtp-notifications-buttons .button-secondary{border:1px solid #0071A1}#wp-mail-smtp-notifications .dismiss{position:absolute;top:15px;right:16px;width:16px;height:16px;color:#A0A5AA;font-size:16px;cursor:pointer;text-align:center;vertical-align:middle;line-height:16px}#wp-mail-smtp-notifications .dismiss:hover{color:#dc3232}#wp-mail-smtp-notifications .dismiss i{width:100%;height:100%;font-size:inherit}#wp-mail-smtp-notifications .navigation{position:absolute;bottom:20px;right:16px;width:63px;height:30px}#wp-mail-smtp-notifications .navigation a{display:block;width:30px;height:30px;border:1px solid #7E8993;border-radius:3px;font-size:16px;line-height:1.625;text-align:center;cursor:pointer;background-color:#ffffff;color:#41454A}#wp-mail-smtp-notifications .navigation a:hover{background-color:#f1f1f1}#wp-mail-smtp-notifications .navigation a .dashicons{margin-top:8px;font-size:12px}#wp-mail-smtp-notifications .navigation .prev{float:left}#wp-mail-smtp-notifications .navigation .next{float:right}#wp-mail-smtp-notifications .navigation .disabled{border-color:#dddddd;color:#A0A5AA;cursor:default}#wp-mail-smtp-notifications .navigation .disabled:hover{background-color:#ffffff}@media screen and (max-width: 768px){#wp-mail-smtp-notifications .wp-mail-smtp-notifications-messages{padding:15px 50px 20px 16px}#wp-mail-smtp-notifications .wp-mail-smtp-notifications-messages .wp-mail-smtp-notifications-title{margin:0 30px 0 0;line-height:22px}#wp-mail-smtp-notifications .wp-mail-smtp-notifications-messages .wp-mail-smtp-notifications-content{font-size:16px;line-height:22px}#wp-mail-smtp-notifications .wp-mail-smtp-notifications-messages .wp-mail-smtp-notifications-buttons{margin:-30px 80px 0 0}#wp-mail-smtp-notifications .wp-mail-smtp-notifications-messages .wp-mail-smtp-notifications-buttons a{margin:0;display:table}#wp-mail-smtp-notifications .wp-mail-smtp-notifications-messages .wp-mail-smtp-notifications-buttons .button-secondary{margin-top:6px}}
assets/css/dashboard-widget.min.css ADDED
@@ -0,0 +1 @@
 
1
+ #dashboard-widgets .meta-box-sortables .postbox:last-child .wp-mail-smtp-dash-widget-settings-menu{top:auto;bottom:40px}#wp_mail_smtp_reports_widget_pro .inside,#wp_mail_smtp_reports_widget_lite .inside{margin:0;padding:0}.wp-mail-smtp-dash-widget button:focus{outline:none}.wp-mail-smtp-dash-widget-block{position:relative;padding:0 12px;margin-top:12px}.wp-mail-smtp-dash-widget-block h3{display:inline-block;line-height:2}.wp-mail-smtp-dash-widget-block p{margin-top:0;margin-bottom:0}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-chart-block-container{position:relative}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-chart-block{border-bottom:1px solid #eeeeee;padding:0 12px 12px}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-block-settings{display:flex;align-items:center;justify-content:space-between;margin-top:0;padding:13px;background-color:#fafafa}@media (max-width: 830px){.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-block-settings{padding:13px 10px}}@media (max-width: 799px){.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-block-settings{padding:13px}}@media (max-width: 410px){.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-block-settings{flex-direction:column;align-items:normal}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-block-settings>div{display:flex}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-block-settings select{width:100%;margin:0 0 10px}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-block-settings .wp-mail-smtp-dash-widget-select-timespan{width:calc( 100% - 38px)}}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-block-settings a{vertical-align:middle}@media (max-width: 1120px){.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-block-settings a{display:none}}@media (min-width: 1500px) and (max-width: 1590px){.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-block-settings a{display:none}}@media (min-width: 1801px) and (max-width: 2040px){.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-block-settings a{display:none}}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-block-settings .wp-mail-smtp-dash-widget-select-email-type{margin-right:6px}@media (max-width: 830px){.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-block-settings .wp-mail-smtp-dash-widget-select-email-type{margin-right:2px}}@media (max-width: 410px){.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-block-settings .wp-mail-smtp-dash-widget-select-email-type{margin-right:0}}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-block-settings .wp-mail-smtp-dash-widget-settings-container{display:inline-block;position:relative;vertical-align:top;margin-left:6px}@media (max-width: 830px){.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-block-settings .wp-mail-smtp-dash-widget-settings-container{margin-left:2px}}@media (max-width: 799px){.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-block-settings .wp-mail-smtp-dash-widget-settings-container{margin-left:6px}}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-block-settings .wp-mail-smtp-dash-widget-settings-button{background:#fafafa;color:#787c82;border-color:#787c82;padding:0 5px 0 6px}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-block-settings .wp-mail-smtp-dash-widget-settings-button:hover,.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-block-settings .wp-mail-smtp-dash-widget-settings-button:active,.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-block-settings .wp-mail-smtp-dash-widget-settings-button:focus{color:#2271b1;border-color:#2271b1}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-block-settings .wp-mail-smtp-dash-widget-settings-button .dashicons{width:20px;height:20px;font-size:20px;margin-top:4px}@media (max-width: 782px){.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-block-settings .wp-mail-smtp-dash-widget-settings-button .dashicons{margin-top:9px}}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-block-settings .wp-mail-smtp-dash-widget-settings-menu{display:none;position:absolute;background-color:#ffffff;width:160px;border-radius:3px;box-shadow:0px 5px 15px rgba(0,0,0,0.15);padding:10px;z-index:9999;right:0;top:40px}@media (max-width: 380px){.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-block-settings .wp-mail-smtp-dash-widget-settings-menu{top:50px}}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-block-settings .wp-mail-smtp-dash-widget-settings-menu--style,.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-block-settings .wp-mail-smtp-dash-widget-settings-menu--color{border-bottom:1px solid #eeeeee}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-block-settings .wp-mail-smtp-dash-widget-settings-menu--style h4,.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-block-settings .wp-mail-smtp-dash-widget-settings-menu--color h4{text-transform:uppercase !important;color:#3c434a !important;font-size:11px !important;font-weight:500 !important;line-height:13px !important;margin:0 0 10px !important}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-block-settings .wp-mail-smtp-dash-widget-settings-menu--style .wp-mail-smtp-dash-widget-settings-menu-item,.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-block-settings .wp-mail-smtp-dash-widget-settings-menu--color .wp-mail-smtp-dash-widget-settings-menu-item{display:flex;align-items:center;color:#3c434a;font-size:13px;line-height:16px;margin:0 0 13px}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-block-settings .wp-mail-smtp-dash-widget-settings-menu--style .wp-mail-smtp-dash-widget-settings-menu-item:last-child,.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-block-settings .wp-mail-smtp-dash-widget-settings-menu--color .wp-mail-smtp-dash-widget-settings-menu-item:last-child{margin:0 0 10px}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-block-settings .wp-mail-smtp-dash-widget-settings-menu--style .wp-mail-smtp-dash-widget-settings-menu-item input[type="radio"],.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-block-settings .wp-mail-smtp-dash-widget-settings-menu--color .wp-mail-smtp-dash-widget-settings-menu-item input[type="radio"]{margin-right:5px}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-block-settings .wp-mail-smtp-dash-widget-settings-menu--style .wp-mail-smtp-dash-widget-settings-menu-item label,.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-block-settings .wp-mail-smtp-dash-widget-settings-menu--color .wp-mail-smtp-dash-widget-settings-menu-item label{vertical-align:top;margin-top:-3px}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-block-settings .wp-mail-smtp-dash-widget-settings-menu--color{margin-top:10px}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-block-settings .wp-mail-smtp-dash-widget-settings-menu-save{margin-top:10px}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-email-stats-block{margin-top:0}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-email-stats-block table{width:calc(100% + 24px);margin:0 -12px}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-email-stats-block table .wp-mail-smtp-dash-widget-email-stats-table-cell{padding:10px 12px;border-right:1px solid #eeeeee;border-top:1px solid #eeeeee;color:#3c434a;font-size:14px;width:50%;line-height:17px}@media (max-width: 410px){.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-email-stats-block table .wp-mail-smtp-dash-widget-email-stats-table-cell{display:block;width:100%}}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-email-stats-block table .wp-mail-smtp-dash-widget-email-stats-table-cell--2:not(:first-child){border-right:none}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-email-stats-block table .wp-mail-smtp-dash-widget-email-stats-table-cell--3{width:33.33%}@media (max-width: 410px){.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-email-stats-block table .wp-mail-smtp-dash-widget-email-stats-table-cell--3{width:100%}}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-email-stats-block table .wp-mail-smtp-dash-widget-email-stats-table-cell--3:last-child{border-right:none}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-email-stats-block table .wp-mail-smtp-dash-widget-email-stats-table-cell-container{display:flex;align-items:center}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-email-stats-block table .wp-mail-smtp-dash-widget-email-stats-table-cell-container img{width:16px;margin-right:10px}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-email-stats-block .wp-mail-smtp-dash-widget-overlay{background-position-y:50%}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-recommended-plugin-block{display:flex;padding:12px 7px 12px 12px;border-top:1px solid #eeeeee;color:#787c82;font-size:13px;line-height:16px}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-recommended-plugin-block b{color:#3c434a}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-recommended-plugin-block .sep{display:inline-block;margin:0 3px;color:#dddddd}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-recommended-plugin-block .sep-vertical{color:#dddddd}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-recommended-plugin-block p{margin:0}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-recommended-plugin-block .wp-mail-smtp-dash-widget-recommended-plugin{display:inline-block;width:calc( 100% - 24px)}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-recommended-plugin-block .wp-mail-smtp-dash-widget-recommended-plugin span{display:inline-block}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-recommended-plugin-block .wp-mail-smtp-dash-widget-dismiss-recommended-plugin-block{display:inline-block;border:0;color:grey;opacity:0.3;vertical-align:baseline;cursor:pointer;background:none;padding:0 2px}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-recommended-plugin-block .wp-mail-smtp-dash-widget-dismiss-recommended-plugin-block:hover{opacity:1}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-recommended-plugin-block .wp-mail-smtp-dash-widget-dismiss-recommended-plugin-block .dashicons{font-size:16px;height:16px;width:16px}.wp-mail-smtp-dash-widget .wp-mail-smtp-error{text-align:center}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-chart-upgrade,.wp-mail-smtp-dash-widget .wp-mail-smtp-error-no-data-chart{position:absolute;left:0;top:0;height:100%;width:100%;overflow:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;background:rgba(255,255,255,0);background:-moz-radial-gradient(center, ellipse cover, rgba(255,255,255,0) 0%, white 100%);background:-webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, rgba(255,255,255,0)), color-stop(100%, white));background:-webkit-radial-gradient(center, ellipse cover, rgba(255,255,255,0) 0%, white 100%);background:-o-radial-gradient(center, ellipse cover, rgba(255,255,255,0) 0%, white 100%);background:-ms-radial-gradient(center, ellipse cover, rgba(255,255,255,0) 0%, white 100%);background:radial-gradient(ellipse at center, rgba(255,255,255,0) 0%, white 100%)}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-chart-upgrade .wp-mail-smtp-dash-widget-modal,.wp-mail-smtp-dash-widget .wp-mail-smtp-error-no-data-chart .wp-mail-smtp-dash-widget-modal{position:absolute;top:calc(50% - 2em);left:50%;transform:translate(-50%, -50%);padding:1.5em 2em 2em 2em;box-shadow:0 0 25px 10px rgba(0,0,0,0.08);border-radius:3px;background-color:#fff;text-align:center;width:20em}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-chart-upgrade .wp-mail-smtp-dash-widget-modal h2,.wp-mail-smtp-dash-widget .wp-mail-smtp-error-no-data-chart .wp-mail-smtp-dash-widget-modal h2{padding:0;margin-bottom:5px;font-size:18px}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-chart-upgrade .wp-mail-smtp-dash-widget-modal p,.wp-mail-smtp-dash-widget .wp-mail-smtp-error-no-data-chart .wp-mail-smtp-dash-widget-modal p{line-height:1.3}.wp-mail-smtp-dash-widget .wp-mail-smtp-error-no-data-email-stats{padding-top:16px;padding-bottom:16px}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-block-logs-disabled{padding:21px 25px 30px;text-align:center}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-block-logs-disabled .wp-mail-smtp-dash-widget-block-logo{width:75px}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-block-logs-disabled h2{font-size:16px;line-height:20px;font-weight:500;padding:10px 0 0}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-block-logs-disabled p{font-size:14px;line-height:20px;margin:7px 0 19px}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-block-logs-disabled a.button:first-of-type:not(:only-of-type){margin-right:10px}.wp-mail-smtp-dash-widget .wp-mail-smtp-dash-widget-overlay{width:100%;position:absolute;top:0;right:0;bottom:0;left:0;background:url(/wp-includes/images/spinner.gif) no-repeat center calc(50% - 12px);background-color:white;z-index:10}#wp_mail_smtp_reports_widget_lite .wp-mail-smtp-dash-widget-chart-block-container #wp-mail-smtp-dash-widget-chart{opacity:0.15}#wp_mail_smtp_reports_widget_lite .wp-mail-smtp-dash-widget-chart-upgrade{background:none;display:flex;align-items:center;justify-content:center}#wp_mail_smtp_reports_widget_lite .wp-mail-smtp-dash-widget-chart-upgrade h2{font-size:20px;line-height:20px;font-weight:500;color:#3c434a;margin-bottom:15px}#wp_mail_smtp_reports_widget_lite .wp-mail-smtp-dash-widget-chart-upgrade p{font-size:14px;line-height:18px;color:#787c82;margin-bottom:15px}#wp_mail_smtp_reports_widget_lite .wp-mail-smtp-dash-widget-chart-upgrade p:last-child{margin-bottom:0}#wp_mail_smtp_reports_widget_lite .wp-mail-smtp-dash-widget-chart-upgrade a.button.button-hero{font-weight:500;font-size:14px;line-height:20px;padding:9px 15px;min-height:40px}#wp_mail_smtp_reports_widget_lite .wp-mail-smtp-dash-widget-chart-upgrade .wp-mail-smtp-dash-widget-modal{position:relative;top:inherit;left:inherit;transform:none;width:24em;padding:2.3em;box-shadow:0 5px 25px rgba(0,0,0,0.15);border-radius:6px}#wp_mail_smtp_reports_widget_lite .wp-mail-smtp-dash-widget-dismiss-chart-upgrade{position:absolute;width:16px;height:17px;right:5px;top:5px;color:#a0a5aa;text-decoration:none}#wp_mail_smtp_reports_widget_lite .wp-mail-smtp-dash-widget-dismiss-chart-upgrade .dashicons{width:16px;height:17px;font-style:normal;font-weight:normal;font-size:16px;line-height:17px}#wp_mail_smtp_reports_widget_lite .wp-mail-smtp-dash-widget-settings-menu input[type=radio]:checked::before{background-color:#a0a5aa}#wp_mail_smtp_reports_widget_lite .wp-mail-smtp-dash-widget-settings-menu *{cursor:not-allowed}#wp_mail_smtp_reports_widget_lite .wp-mail-smtp-dash-widget-upgrade-footer{padding:12px;margin-top:0;border-top:1px solid #eeeeee}#wp_mail_smtp_reports_widget_lite .wp-mail-smtp-dash-widget-upgrade-footer p{font-size:13px;line-height:16px}#wp_mail_smtp_reports_widget_lite .wp-mail-smtp-dash-widget-upgrade-footer--hide{display:none}
assets/css/smtp-admin.min.css CHANGED
@@ -1 +1 @@
1
- #wpcontent{padding-left:0 !important;position:relative}@media (max-width: 600px){#wpcontent{padding-top:46px}}@media (max-width: 600px){#wpbody{padding-top:0}}@-webkit-keyframes wp-mail-smtp-fade-in-stop-out{0%,100%{opacity:0}35%{opacity:1}65%{opacity:1}}@keyframes wp-mail-smtp-fade-in-stop-out{0%,100%{opacity:0}35%{opacity:1}65%{opacity:1}}body.toplevel_page_wp-mail-smtp div.jconfirm *,body.toplevel_page_wp-mail-smtp div.jconfirm *::before,body.toplevel_page_wp-mail-smtp div.jconfirm *::after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box-container div.jconfirm-box{border-radius:0;box-shadow:0 2px 6px rgba(0,0,0,0.2)}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box-container div.jconfirm-box div.jconfirm-closeIcon{color:rgba(0,0,0,0.4);top:8px;right:8px}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box-container div.jconfirm-box div.jconfirm-closeIcon:hover{color:rgba(0,0,0,0.8)}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-title-c{margin:0 0 26px 0 !important;padding:0 !important}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-title-c .jconfirm-icon-c{margin:0 !important;color:#c4c4c4 !important;-webkit-transition:none !important;transition:none !important;-webkit-transform:none !important;-ms-transform:none !important;transform:none !important;font-size:45px !important}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-title-c .jconfirm-icon-c i:empty{display:none}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-title-c .jconfirm-icon-c svg{height:35px}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-title-c .jconfirm-title{display:block;color:#444}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-title-c .jconfirm-icon-c+span.jconfirm-title{margin-top:20px !important}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-content-pane{margin-bottom:0;display:block}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-content-pane .jconfirm-content{overflow:inherit}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-content{font-size:16px;color:#777;line-height:1.4}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-content.lite-upgrade p{font-size:18px;padding:0 20px}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-content p{margin:0 0 20px;font-size:16px;line-height:1.5}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-content p:last-of-type{margin:0}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-content p.large{font-size:18px}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-content p.small{font-size:14px}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-content .already-purchased{font-size:12px;color:#ccc;text-decoration:none}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-content .already-purchased:hover{text-decoration:underline}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-content .wp-mail-smtp-btn{font-weight:bold;text-transform:uppercase;-webkit-transition:background .1s;transition:background .1s;padding:10px 20px;outline:none;display:inline-block;font-size:14px;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-radius:4px;min-height:1em;-webkit-tap-highlight-color:transparent;border:0;background-image:none}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-content .wp-mail-smtp-btn.with-loader{padding:12px 12px 7px}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-content .wp-mail-smtp-providers-amazonses-txt-record{display:flex;justify-content:space-evenly;align-items:center}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-content .wp-mail-smtp-providers-amazonses-txt-record-label{color:#444}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-content .wp-mail-smtp-providers-amazonses-txt-record input[type="text"]{display:inline-block;width:340px;color:#777;background-color:#f8f8f8;border:1px solid #ddd;border-radius:3px;margin:0;padding:10px 0 10px 12px;font-size:16px;line-height:18px}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-content .wp-mail-smtp-providers-amazonses-txt-record input[type="text"][readonly]{background-color:#f9f9f9}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-content .wp-mail-smtp-providers-amazonses-txt-record input[type="text"]:focus{border-color:#bbb}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-content .wp-mail-smtp-providers-amazonses-txt-record input[type="text"]:disabled{opacity:0.6}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-content .wp-mail-smtp-providers-amazonses-txt-record button{padding:9px 11px;background-color:#fff;border:1px solid #ddd;border-radius:3px;cursor:pointer;outline:none}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-content .wp-mail-smtp-providers-amazonses-txt-record button:hover{background-color:#ddd}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-content .wp-mail-smtp-providers-amazonses-txt-record button:active{background-color:#aaa;border-color:#aaa}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-content .wp-mail-smtp-providers-amazonses-txt-record .dashicons-yes-alt{color:#46b450}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-buttons .already-purchased{display:block;font-size:12px;color:#aaa;text-decoration:none;padding-top:20px}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-buttons .already-purchased:hover{color:#999;text-decoration:underline}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-buttons .btn-hide{display:none}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box .discount-note{text-align:center;margin:30px 0 0}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box .discount-note p{background-color:#faffac;margin:0 -30px;padding:24px 60px 20px;font-size:15px;color:#4d4d4d;position:relative}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box .discount-note p:after{content:url(../images/font-awesome/check-circle-solid-green.svg);width:40px;height:40px;background-color:#fff;border-radius:50%;padding:5px 6px;position:absolute;top:-20px;right:50%;margin-right:-18px}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box .discount-note span{font-weight:700;color:#3abc01}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box .discount-note a{color:#aaa;display:block;margin-top:12px}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box input[type=text]{display:block;width:99%;border:1px solid #d6d6d6;padding:10px;box-shadow:none;margin:20px auto 0 auto}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box button.btn-confirm{background-color:#FF982D;color:#fff;outline:none}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box button.btn-confirm:hover{background-color:#f97f00;border-color:#f97f00}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box button,body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box button.btn-default{color:#666}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box button.wp-mail-smtp-btn-orange{color:#fff}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box button.btn-block{display:block;text-align:center;width:100%;margin:0 0 10px 0 !important}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box button.btn-normal-case{text-transform:none !important}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box .error{display:none;color:red}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box .wpforms-error{border:1px solid #ebccd1 !important}@media screen and (max-width: 1023px){#wp-mail-smtp-notice-bar{display:none !important}}#wp-mail-smtp-notice-bar{max-height:35px;position:relative;margin-bottom:-3px;transition:all .3s ease-out;overflow:hidden}#wp-mail-smtp-notice-bar.out{max-height:3px}#wp-mail-smtp-notice-bar .wp-mail-smtp-notice-bar-container{background-color:#DDDDDD;border-top:3px solid #FF982D;color:#777777;text-align:center;padding:7px}#wp-mail-smtp-notice-bar a{color:#FF982D}#wp-mail-smtp-notice-bar a:hover{color:#f97f00}#wp-mail-smtp-notice-bar .dismiss{position:absolute;top:0;right:0;border:none;padding:5px;margin-top:4px;background:0 0;color:#72777c;cursor:pointer}#wp-mail-smtp-notice-bar .dismiss:before{background:0 0;color:#72777c;content:"\f335";display:block;font:normal 20px/20px dashicons;speak:none;height:20px;text-align:center;width:20px;-webkit-font-smoothing:antialiased}#screen-meta-links .screen-meta-toggle{position:absolute;right:20px;top:auto}.wp-mail-smtp-loading{animation:0.65s linear infinite wp-mail-smtp-loading-spin}.wp-mail-smtp-loading-md{width:32px;height:32px}.wp-mail-smtp-loading-sm{width:16px;height:16px}@keyframes wp-mail-smtp-loading-spin{0%{transform:rotateZ(270deg)}100%{transform:rotateZ(630deg)}}#screen-meta-links,#screen-meta{display:none}#wp-mail-smtp-header-temp{position:absolute;margin:0;top:-1px;left:20px;right:20px;z-index:99}#wp-mail-smtp-header{border-top:3px solid #FF982D;padding:24px 20px}#wp-mail-smtp-header img{display:block;margin:0;max-width:242px}@media (max-width: 782px){#wp-mail-smtp-header img{max-width:200px}}#wp-mail-smtp{margin:0}#wp-mail-smtp .wp-mail-smtp-hide{display:none}#wp-mail-smtp .wp-mail-smtp-page-title{height:58px;background-color:#fff;font-size:14px;margin:0 0 20px 0;padding:0 20px}#wp-mail-smtp .wp-mail-smtp-page-title a.tab{border-bottom:2px solid #fff;box-shadow:none;color:#666;display:inline-block;margin-right:30px;padding:20px 0 18px 0;text-decoration:none}#wp-mail-smtp .wp-mail-smtp-page-title a.tab.active{border-bottom:2px solid #FF982D}#wp-mail-smtp .wp-mail-smtp-page-title a.tab:hover{border-color:#999}#wp-mail-smtp .wp-mail-smtp-page-title a.action{padding:5px;border:0;min-height:auto;color:#fff;margin:-10px 0 0 20px}#wp-mail-smtp .wp-mail-smtp-page-title .page-title{background-color:#fff;display:inline-block;font-size:23px;margin:0;padding:20px 20px 20px 0}#wp-mail-smtp .wp-mail-smtp-page-content{padding:0 20px}#wp-mail-smtp .wp-mail-smtp-page-content *,#wp-mail-smtp .wp-mail-smtp-page-content *::before,#wp-mail-smtp .wp-mail-smtp-page-content *::after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-clear:before{content:" ";display:table}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-clear:after{clear:both;content:" ";display:table}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row{border-bottom:1px solid #e4e4e4;padding:30px 0;font-size:14px;line-height:1.3}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row:first-of-type{padding-top:10px !important}@media (max-width: 781px){#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row{padding:20px 0}}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.inactive{display:none}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row .wp-mail-smtp-setting-mid-row-sep{background:#e4e4e4;height:1px;border:0;margin:15px 0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.section-heading{padding:20px 0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.section-heading.no-desc h2,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.section-heading.no-desc h4{margin:0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.section-heading .wp-mail-smtp-setting-field{margin:0;max-width:1005px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox input[type=checkbox]{float:left;margin:1px 0 0 0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox input[type=checkbox]+label{margin:0 0 0 8px;vertical-align:baseline}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox .desc{margin:0 0 0 30px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox input[type=checkbox]+label+.desc{margin:8px 0 0 0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-text .wp-mail-smtp-setting-label,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-password .wp-mail-smtp-setting-label,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-number .wp-mail-smtp-setting-label,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-email .wp-mail-smtp-setting-label{padding-top:8px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-select .wp-mail-smtp-setting-label{padding-top:8px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-radio .wp-mail-smtp-setting-field input[type=radio]{margin:-3px 10px 0 0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-radio .wp-mail-smtp-setting-field label{margin-right:30px;display:inline-block}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field label{vertical-align:middle;display:inline-block}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]{position:absolute;top:auto;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;white-space:nowrap}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:checked+.wp-mail-smtp-setting-toggle-switch{background-color:#46B450}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:checked+.wp-mail-smtp-setting-toggle-switch:before{-webkit-transform:translateX(16px);-ms-transform:translateX(16px);transform:translateX(16px)}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:disabled:checked:hover+.wp-mail-smtp-setting-toggle-switch,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:disabled:not(:checked):hover+.wp-mail-smtp-setting-toggle-switch{box-shadow:none}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:disabled:not(:checked):hover+.wp-mail-smtp-setting-toggle-switch{background-color:#ddd}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:disabled+.wp-mail-smtp-setting-toggle-switch{background-color:#ddd;cursor:default}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:disabled:checked+.wp-mail-smtp-setting-toggle-switch{background-color:#a0daa5;cursor:default}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:checked+.wp-mail-smtp-setting-toggle-switch+.wp-mail-smtp-setting-toggle-checked-label{display:inline-block}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:checked+.wp-mail-smtp-setting-toggle-switch+.wp-mail-smtp-setting-toggle-checked-label+.wp-mail-smtp-setting-toggle-unchecked-label{display:none}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:disabled+.wp-mail-smtp-setting-toggle-switch+.wp-mail-smtp-setting-toggle-checked-label,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:disabled+.wp-mail-smtp-setting-toggle-switch+.wp-mail-smtp-setting-toggle-unchecked-label{color:#aaaaaa}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:checked:hover+.wp-mail-smtp-setting-toggle-switch,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:checked:focus+.wp-mail-smtp-setting-toggle-switch{box-shadow:0 0 0 1px #fff, 0 0 0 3px #46B450}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:not(:checked):hover+.wp-mail-smtp-setting-toggle-switch,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:not(:checked):focus+.wp-mail-smtp-setting-toggle-switch{background-color:#999;box-shadow:0 0 0 1px #fff, 0 0 0 3px #999}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field .wp-mail-smtp-setting-toggle-unchecked-label,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field .wp-mail-smtp-setting-toggle-checked-label{text-transform:uppercase;font-weight:400;color:#777;font-size:13px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field .wp-mail-smtp-setting-toggle-checked-label{display:none}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field .wp-mail-smtp-setting-toggle-switch{position:relative;cursor:pointer;background-color:#ccc;border-radius:15px;-webkit-transition:all 0.2s ease-in-out;-moz-transition:all 0.2s ease-in-out;-ms-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out;vertical-align:middle;display:inline-block;margin:0 5px 0 0;width:36px;height:20px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field .wp-mail-smtp-setting-toggle-switch:before{position:absolute;content:"";height:16px;width:16px;left:2px;top:2px;background-color:#fff;border-radius:50%;-webkit-transition:all 0.2s ease-in-out;-moz-transition:all 0.2s ease-in-out;-ms-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer{padding-bottom:20px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailers .wp-mail-smtp-mailer{display:inline-block;width:140px;margin-right:12px;margin-bottom:12px;position:relative}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailers .wp-mail-smtp-mailer .wp-mail-smtp-mailer-image{background:#fff;text-align:center;border:2px solid #E5E5E5;border-radius:4px;cursor:pointer;height:76px;position:relative;margin-bottom:10px;-webkit-transition:all 0.2s ease-in-out;-moz-transition:all 0.2s ease-in-out;-ms-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailers .wp-mail-smtp-mailer .wp-mail-smtp-mailer-image.is-recommended{background-image:url(../images/recommended.svg);background-repeat:no-repeat;background-size:60%;background-position:top right -2px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailers .wp-mail-smtp-mailer .wp-mail-smtp-mailer-image img{max-width:90%;max-height:40px;display:block;position:relative;top:50%;left:50%;transform:translate(-50%, -50%);opacity:0.6;-webkit-transition:all 0.2s ease-in-out;-moz-transition:all 0.2s ease-in-out;-ms-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailers .wp-mail-smtp-mailer.wp-mail-smtp-mailer-smtp .wp-mail-smtp-mailer-image img{max-height:30px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailers .wp-mail-smtp-mailer.active .wp-mail-smtp-mailer-image{border-color:#FF982D}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailers .wp-mail-smtp-mailer.active .wp-mail-smtp-mailer-image img{opacity:1}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailers .wp-mail-smtp-mailer:hover .wp-mail-smtp-mailer-image{border-color:#ccc}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailers .wp-mail-smtp-mailer:hover .wp-mail-smtp-mailer-image img{opacity:1}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row h2,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row h4{color:#444;font-size:20px;font-weight:700;margin:0 0 6px 0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row h2{margin-bottom:15px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row h3{color:#444;font-size:24px;font-weight:600;margin:0 0 20px 0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row h5{color:#444;font-size:16px;font-weight:600;margin:0 0 20px 0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row p{margin:12px 0 0;font-size:14px;line-height:1.5em}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row p:first-of-type{margin:8px 0 0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row p.desc{font-style:italic;color:#777}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row p.buttonned{margin-top:30px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row p.inline-notice{margin:5px 0 15px;box-sizing:border-box;background:#fff;border-left:4px solid transparent;box-shadow:0 1px 1px 0 rgba(0,0,0,0.1)}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row p.inline-notice.inline-error{border-color:#dc3232;margin-bottom:5px;padding:10px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row p.inline-notice.inline-edu-notice{border-color:#809EB0;line-height:1.5em;padding:10px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row p.inline-notice a.wp-mail-smtp-mailer-notice-dismiss{float:right;color:#999DA1;margin:0 0 10px 10px;text-decoration:none}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row p.inline-notice a.wp-mail-smtp-mailer-notice-dismiss:hover{color:#666a6e}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row ul{margin:8px 0 0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row ul.list li{margin-left:20px;list-style-type:disc}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row table.actions-list td,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row table.actions-list th{padding:5px 5px 5px 0;text-align:left}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row table.actions-list td.email{padding-right:2em}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row table.actions-list td.status{width:100px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row table.actions-list td.actions a{border-bottom:1px solid;display:inline-block;margin-right:5px;text-decoration:none}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row table.actions-list td.actions a[class*=delete],#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row table.actions-list td.actions a[class*=error]{color:#a00}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row table.actions-list td.actions a[class*=delete]:hover,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row table.actions-list td.actions a[class*=delete]:active,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row table.actions-list td.actions a[class*=delete]:focus,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row table.actions-list td.actions a[class*=error]:hover,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row table.actions-list td.actions a[class*=error]:active,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row table.actions-list td.actions a[class*=error]:focus{color:#440000}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=text],#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=email],#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=number],#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=password],#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row select{background-color:#fff;border:1px solid #ddd;border-radius:4px;box-shadow:none;color:#333;display:inline-block;vertical-align:middle;padding:7px 12px;margin:0 10px 0 0;width:400px;min-height:35px;line-height:1.3}@media (max-width: 959px){#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=text],#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=email],#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=number],#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=password],#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row select{width:300px}}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=text][readonly],#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=email][readonly],#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=number][readonly],#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=password][readonly],#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row select[readonly]{background-color:#f9f9f9}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=text].small-text,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=email].small-text,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=number].small-text,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=password].small-text,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row select.small-text{width:75px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=text]:focus,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=email]:focus,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=number]:focus,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=password]:focus,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row select:focus{border:1px solid #016AAB;box-shadow:0 0 0 1px #016AAB;outline:none}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=text]:disabled,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=email]:disabled,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=number]:disabled,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=password]:disabled,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row select:disabled{opacity:0.6}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=checkbox]:focus,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=radio]:focus{border:1px solid #016AAB;box-shadow:0 0 0 1px #016AAB;outline:none}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row .dashicons-yes-alt.wp-mail-smtp-animate{-webkit-animation:wp-mail-smtp-fade-in-stop-out 1s linear;animation:wp-mail-smtp-fade-in-stop-out 1s linear}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row .dashicons-yes-alt.wp-mail-smtp-success{color:#46b450}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-label{display:block;float:left;width:205px;padding:0 20px 0 0}@media (max-width: 781px){#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-label{float:none;width:100%;padding-bottom:15px}}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-label label{display:block;font-weight:600}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-field{display:block;margin:0 0 0 205px;max-width:800px}@media (max-width: 781px){#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-field{margin:0}}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-field hr{margin:20px 0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-field .wp-mail-smtp-setting-field-row{display:flex;flex-wrap:wrap}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-field .wp-mail-smtp-setting-field-row>.wp-mail-smtp-btn{margin-right:10px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-submit{margin:0;padding:25px 0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-submit .help-text{margin-left:10px;vertical-align:middle}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-mailer-options .wp-mail-smtp-mailer-option .wp-mail-smtp-setting-row.section-heading{padding:20px 0 !important}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-mailer-options .wp-mail-smtp-mailer-option blockquote{background:#E5E5E5;border-radius:4px;color:#666;font-size:14px;margin:20px 0;padding:15px;width:1005px}#wp-mail-smtp .wp-mail-smtp-page-content.wp-mail-smtp-page-general p{margin:0}#wp-mail-smtp .wp-mail-smtp-page-content .notice-inline{background:#fff;border-left:4px solid #fff;box-shadow:0 1px 1px 0 rgba(0,0,0,0.1);margin:5px 0 15px;padding:1px 12px}#wp-mail-smtp .wp-mail-smtp-page-content .notice-inline.notice-success{border-left-color:#46b450}#wp-mail-smtp .wp-mail-smtp-page-content .notice-inline.notice-warning{border-left-color:#ffb900}#wp-mail-smtp .wp-mail-smtp-page-content .notice-inline.notice-error{border-left-color:#dc3232}#wp-mail-smtp .wp-mail-smtp-page-content .notice-inline.notice-info{border-left-color:#00a0d2}#wp-mail-smtp .wp-mail-smtp-page-content .notice p,#wp-mail-smtp .wp-mail-smtp-page-content .notice-inline p{margin:0.5em 0;padding:2px}#wp-mail-smtp .wp-mail-smtp-page-content pre{white-space:pre-line}#wp-mail-smtp .wp-mail-smtp-page-content.active{display:block}#wp-mail-smtp .wp-mail-smtp-page-content .connected-as{margin-left:30px}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug{margin-top:25px}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug h2{margin:20px 0 10px;color:#444;font-size:16px;line-height:20px;font-weight:700}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug p{margin:10px 0;color:#777;font-size:14px;line-height:20px}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug ul{list-style-type:disc}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug ul,#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug ol{margin:10px 0 10px 15px;color:#777;font-size:14px;line-height:20px}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug ul li,#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug ol li{margin:0 0 8px 0}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug ul li:last-of-type,#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug ol li:last-of-type{margin:0}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug ul li ul,#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug ol li ul{list-style-type:disc}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug .dashicons-star-filled{color:#FF982D;width:16px;height:16px;font-size:16px;vertical-align:text-top}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug .price-off{color:green;font-weight:bold}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug .error-log-button-container{margin-bottom:30px}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug .error-log-toggle{float:left;margin-right:10px}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug .error-log-copy{min-width:122px}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug .error-log-copy .error-log-copy-back{display:none}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug .error-log-copy-copied .error-log-copy-front{display:none}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug .error-log-copy-copied .error-log-copy-back{display:inline}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug .error-log{padding-top:10px;display:none}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug .error-log.error-log-selection{display:block !important;opacity:0;height:0;padding:0;margin:0}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug .error-log pre{margin:0}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner{background-color:#fff;padding:25px 20px;border:1px solid #dadada;margin:10px 0 0 0;position:relative}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner .wp-mail-smtp-pro-banner-dismiss{position:absolute;right:10px;top:10px}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner .wp-mail-smtp-pro-banner-dismiss button{background:none;border:none;color:#A9A9A9;cursor:pointer;margin:0;padding:0}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner h2{color:#444;margin-top:0;font-size:16px;font-weight:700}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner p{font-size:14px;color:#555;margin-bottom:1.1em}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner p:last-of-type{margin:0}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner .benefits{margin:0 0 16px 0;overflow:auto;max-width:1000px}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner .benefits ul{margin:0;padding:0;width:50%;float:left}@media (max-width: 600px){#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner .benefits ul{width:100%;float:none}}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner .benefits ul li{margin:0;padding:0 0 2px 16px;color:#555;font-size:14px;position:relative}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner .benefits ul li:before{content:'+';position:absolute;top:-1px;left:0}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner .benefits ul li.arrow-right:before{content:'→'}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner a{color:#FF982D}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner a:hover,#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner a:active,#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner a:focus{color:#f97f00}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner .stars{text-decoration:none}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner .stars .dashicons{width:16px;height:16px;font-size:16px;vertical-align:text-top}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner .price-off{color:green;font-weight:bold}#wp-mail-smtp .wp-mail-smtp-admin-columns>div[class*="-column-"]{float:left}#wp-mail-smtp .wp-mail-smtp-admin-columns .wp-mail-smtp-admin-column-20{width:20%}#wp-mail-smtp .wp-mail-smtp-admin-columns .wp-mail-smtp-admin-column-33{width:33.33333%}#wp-mail-smtp .wp-mail-smtp-admin-columns .wp-mail-smtp-admin-column-40{width:40%}#wp-mail-smtp .wp-mail-smtp-admin-columns .wp-mail-smtp-admin-column-50{width:50%}#wp-mail-smtp .wp-mail-smtp-admin-columns .wp-mail-smtp-admin-column-60{width:60%}#wp-mail-smtp .wp-mail-smtp-admin-columns .wp-mail-smtp-admin-column-80{width:80%}#wp-mail-smtp .wp-mail-smtp-admin-columns .wp-mail-smtp-admin-column-last{float:right !important}#wp-mail-smtp .wp-mail-smtp-admin-columns:after{content:"";display:table;clear:both}#wp-mail-smtp .wp-mail-smtp-page-upsell{display:flex;align-items:center;justify-content:center;height:auto;flex-direction:column}#wp-mail-smtp .wp-mail-smtp-page-upsell>*{width:800px}#wp-mail-smtp .wp-mail-smtp-page-upsell *,#wp-mail-smtp .wp-mail-smtp-page-upsell *::before,#wp-mail-smtp .wp-mail-smtp-page-upsell *::after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#wp-mail-smtp .wp-mail-smtp-page-upsell h2{font-size:24px;color:#444444;text-align:center}#wp-mail-smtp .wp-mail-smtp-page-upsell h3{font-size:16px;font-weight:normal;color:#72777C;line-height:1.5em;margin-top:0;margin-bottom:6px;text-align:center}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-content .wp-mail-smtp-page-upsell-features{margin-bottom:40px;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-items:stretch;align-content:flex-start}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-content .wp-mail-smtp-page-upsell-features .wp-mail-smtp-page-upsell-feature{display:flex;flex-direction:row;width:360px;align-items:flex-start;align-content:flex-start;margin-right:60px;margin-top:40px}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-content .wp-mail-smtp-page-upsell-features .wp-mail-smtp-page-upsell-feature:nth-of-type(1){margin-top:20px}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-content .wp-mail-smtp-page-upsell-features .wp-mail-smtp-page-upsell-feature:nth-of-type(2){margin-top:20px}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-content .wp-mail-smtp-page-upsell-features .wp-mail-smtp-page-upsell-feature:nth-of-type(even){margin-right:0}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-content .wp-mail-smtp-page-upsell-features .wp-mail-smtp-page-upsell-feature .wp-mail-smtp-page-upsell-feature-image{display:flex;align-items:center}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-content .wp-mail-smtp-page-upsell-features .wp-mail-smtp-page-upsell-feature .wp-mail-smtp-page-upsell-feature-image svg{height:64px;width:64px}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-content .wp-mail-smtp-page-upsell-features .wp-mail-smtp-page-upsell-feature .wp-mail-smtp-page-upsell-feature-image .st0{fill:#C3D0D7}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-content .wp-mail-smtp-page-upsell-features .wp-mail-smtp-page-upsell-feature .wp-mail-smtp-page-upsell-feature-image .st1{fill:#809DB0}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-content .wp-mail-smtp-page-upsell-features .wp-mail-smtp-page-upsell-feature .wp-mail-smtp-page-upsell-feature-content{margin-left:20px}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-content .wp-mail-smtp-page-upsell-features .wp-mail-smtp-page-upsell-feature .wp-mail-smtp-page-upsell-feature-content h4{font-size:15px;margin:0 0 0.5em}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-content .wp-mail-smtp-page-upsell-features .wp-mail-smtp-page-upsell-feature .wp-mail-smtp-page-upsell-feature-content p{color:#72777C;margin:0}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-images{margin-top:20px;margin-bottom:30px;text-align:center}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-images img{width:380px;height:auto;margin-right:30px;border:5px solid #fff;border-radius:5px;box-shadow:0 5px 15px rgba(0,0,0,0.1);float:left}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-images img:last-child{margin-right:0}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-button{text-align:center}#wp-mail-smtp .wp-mail-smtp-page-nw-product-edu h2{display:inline-block;vertical-align:middle}#wp-mail-smtp .wp-mail-smtp-page-nw-product-edu .badge{margin:0 0 2px 7px;vertical-align:middle;width:40px;height:17px}#wp-mail-smtp .wp-mail-smtp-page-nw-product-edu .wp-mail-smtp-setting-row-multisite{color:#9a9a9a}#wp-mail-smtp .wp-mail-smtp-page-nw-product-edu .wp-mail-smtp-setting-row-multisite p.desc{color:#bababa}#wp-mail-smtp .wp-mail-smtp-page-nw-product-edu .wp-mail-smtp-setting-row-multisite input[type=checkbox]:disabled{border-color:#aaa}#wp-mail-smtp .wp-mail-smtp-page-nw-product-edu .wp-mail-smtp-setting-row-no-setting{margin-top:30px}#wp-mail-smtp .notice blockquote{margin-left:0;padding:2px}#wp-mail-smtp .notice blockquote pre{margin:0}.wp-mail-smtp-btn{border:0;border-radius:3px;cursor:pointer;display:inline-block;margin:0;text-decoration:none;text-align:center;vertical-align:middle;white-space:nowrap;text-shadow:none;box-shadow:none;outline:none}.wp-mail-smtp-btn .dashicons{font-size:16px;width:16px;height:16px}.wp-mail-smtp-btn:disabled{opacity:0.5;cursor:not-allowed}.wp-mail-smtp-btn.wp-mail-smtp-btn-md{font-size:13px;font-weight:600;padding:8px 12px;min-height:35px}.wp-mail-smtp-btn.wp-mail-smtp-btn-lg{font-size:16px;font-weight:600;padding:16px 28px}.wp-mail-smtp-btn.wp-mail-smtp-btn-orange{background-color:#FF982D;border-color:#FF982D;color:#fff}.wp-mail-smtp-btn.wp-mail-smtp-btn-orange:hover,.wp-mail-smtp-btn.wp-mail-smtp-btn-orange:active,.wp-mail-smtp-btn.wp-mail-smtp-btn-orange:focus{background-color:#f97f00;border-color:#f97f00}.wp-mail-smtp-btn.wp-mail-smtp-btn-orange:focus{box-shadow:0 0 0 1px #fff, 0 0 0 3px #f97f00}.wp-mail-smtp-btn.wp-mail-smtp-btn-red{background-color:#DC3232;border-color:#DC3232;color:#fff}.wp-mail-smtp-btn.wp-mail-smtp-btn-red:hover,.wp-mail-smtp-btn.wp-mail-smtp-btn-red:active,.wp-mail-smtp-btn.wp-mail-smtp-btn-red:focus{background-color:darkred;border-color:darkred}.wp-mail-smtp-btn.wp-mail-smtp-btn-red:focus{box-shadow:0 0 0 1px #fff, 0 0 0 3px darkred}.wp-mail-smtp-btn.wp-mail-smtp-btn-grey{background-color:#f5f5f5;border:1px solid #ccc;color:#666}.wp-mail-smtp-btn.wp-mail-smtp-btn-grey:hover,.wp-mail-smtp-btn.wp-mail-smtp-btn-grey:active,.wp-mail-smtp-btn.wp-mail-smtp-btn-grey:focus{background-color:#d7d7d7;border-color:#ccc;color:#444}.wp-mail-smtp-btn.wp-mail-smtp-btn-light-grey{background-color:#f5f5f5;border:1px solid #ccc;color:#666}.wp-mail-smtp-btn.wp-mail-smtp-btn-light-grey:hover,.wp-mail-smtp-btn.wp-mail-smtp-btn-light-grey:active,.wp-mail-smtp-btn.wp-mail-smtp-btn-light-grey:focus{background-color:#eee;color:#444}.wp-mail-smtp-btn.wp-mail-smtp-btn-blueish{background-color:#738e9e;border-color:#738e9e;color:#fff}.wp-mail-smtp-btn.wp-mail-smtp-btn-blueish:hover,.wp-mail-smtp-btn.wp-mail-smtp-btn-blueish:active,.wp-mail-smtp-btn.wp-mail-smtp-btn-blueish:focus{background-color:#395360;border-color:#395360;color:#fff}.wp-mail-smtp-btn.wp-mail-smtp-btn-blueish:focus{box-shadow:0 0 0 1px #fff, 0 0 0 3px #395360}a.wp-mail-smtp-btn.wp-mail-smtp-btn-md{line-height:19px}#wp-mail-smtp-domain-check-details h2{color:#444;font-size:20px;line-height:24px;font-weight:700;margin:28px 0 23px}#wp-mail-smtp-domain-check-details .wp-mail-smtp-domain-check-details-check-list-item{padding:25px 0 14px;border-top:1px solid #E4E4E4;display:flex}#wp-mail-smtp-domain-check-details .wp-mail-smtp-domain-check-details-check-list-item-icon{width:18px;height:16px;margin-right:10px}#wp-mail-smtp-domain-check-details .wp-mail-smtp-domain-check-details-check-list-item-content h3{text-transform:uppercase;font-weight:500;font-size:14px;line-height:17px;color:#444444;margin:0 0 4px 0}#wp-mail-smtp-domain-check-details .wp-mail-smtp-domain-check-details-check-list-item-content p{color:#777777;font-size:14px;line-height:20px;margin:0 0 10px 0}.wp-mail-smtp-tab-tools-test #email-test-form .wp-mail-smtp-btn{min-width:95px}.wp-mail-smtp-tab-tools-test #email-test-form .wp-mail-smtp-loading{display:none;margin-bottom:-2px}
1
+ #wpcontent{padding-left:0 !important;position:relative}@media (max-width: 600px){#wpcontent{padding-top:46px}}@media (max-width: 600px){#wpbody{padding-top:0}}@-webkit-keyframes wp-mail-smtp-fade-in-stop-out{0%,100%{opacity:0}35%{opacity:1}65%{opacity:1}}@keyframes wp-mail-smtp-fade-in-stop-out{0%,100%{opacity:0}35%{opacity:1}65%{opacity:1}}body.wp-mail-smtp-admin-page-body div.jconfirm *,body.wp-mail-smtp-admin-page-body div.jconfirm *::before,body.wp-mail-smtp-admin-page-body div.jconfirm *::after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box{padding:30px;border-radius:6px;box-shadow:0 3px 6px rgba(0,0,0,0.15);border-top-width:4px}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box div.jconfirm-closeIcon{color:rgba(0,0,0,0.4);top:8px;right:8px}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box div.jconfirm-closeIcon:hover{color:rgba(0,0,0,0.8)}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box div.jconfirm-title-c{margin:0 0 15px 0;padding:0}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box div.jconfirm-title-c .jconfirm-icon-c{margin:0 0 30px;-webkit-transition:none;transition:none;-webkit-transform:none !important;-ms-transform:none !important;transform:none !important}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box div.jconfirm-title-c .jconfirm-icon-c:empty,body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box div.jconfirm-title-c .jconfirm-icon-c i:empty{display:none}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box div.jconfirm-title-c .jconfirm-title{display:block;color:#444;font-weight:500;font-size:24px}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box div.jconfirm-content-pane{display:block;margin-bottom:30px}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box div.jconfirm-content-pane .jconfirm-content{margin-bottom:0;overflow:inherit}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box div.jconfirm-content{font-size:16px;color:#444444;line-height:1.4}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box div.jconfirm-content p{margin:0 0 20px;font-size:16px;line-height:1.5}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box div.jconfirm-content p:last-of-type{margin:0}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box div.jconfirm-content p.large{font-size:18px}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box div.jconfirm-content p.small{font-size:14px}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box div.jconfirm-content .wp-mail-smtp-btn{font-weight:bold;text-transform:uppercase;-webkit-transition:background .1s;transition:background .1s;padding:10px 20px;outline:none;display:inline-block;font-size:14px;line-height:1.4;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-radius:4px;min-height:1em;-webkit-tap-highlight-color:transparent;border:0;background-image:none}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box div.jconfirm-content .wp-mail-smtp-btn.with-loader{padding:12px 12px 7px}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box div.jconfirm-buttons{padding:0}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box div.jconfirm-buttons button{transition:0.2s;box-shadow:none;margin:0 10px 0}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box div.jconfirm-buttons button:hover{box-shadow:inset 0 0 0 100px rgba(0,0,0,0.1)}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box div.jconfirm-buttons button.btn-confirm{color:#fff;outline:none;border:1px solid #FF982D;background-color:#FF982D}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box div.jconfirm-buttons button.btn-cancel{color:#777777;outline:none;background:#F8F8F8;border:1px solid #CCCCCC}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box div.jconfirm-buttons button,body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box div.jconfirm-buttons button.btn-default{color:#666}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box div.jconfirm-buttons button.btn-hide{display:none}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box div.jconfirm-buttons button.btn-block{display:block;text-align:center;width:100%;margin:0 0 10px 0 !important}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box div.jconfirm-buttons button.btn-normal-case{text-transform:none !important}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box.jconfirm-type-green{border-color:#00A32A}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box.jconfirm-type-green div.jconfirm-buttons button.btn-confirm{background-color:#00A32A;border-color:#00A32A}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box.jconfirm-type-orange{border-color:#FFB900}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box.jconfirm-type-orange div.jconfirm-buttons button.btn-confirm{background-color:#FFB900;border-color:#FFB900}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box.jconfirm-type-red{border-color:#D63638}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box.jconfirm-type-red div.jconfirm-buttons button.btn-confirm{background-color:#D63638;border-color:#D63638}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box.jconfirm-type-blue{border-color:#3582c4}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box.jconfirm-type-blue div.jconfirm-buttons button.btn-confirm{background-color:#3582c4;border-color:#3582c4}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box.loading{border-top-color:#fff !important;height:160px}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box.loading .jconfirm-title-c{display:block !important;position:relative;z-index:4}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box.loading .jconfirm-title-c .jconfirm-icon-c{display:none}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box.loading:before{z-index:2}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box.loading:after{content:'';position:absolute;left:50%;top:68%;margin-left:-20px;height:40px;width:40px;border:solid 6px transparent;border-bottom-color:#FF982D;opacity:1;z-index:3}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box.wp-mail-smtp-upgrade-mailer-education-modal{padding:30px 30px 15px;border-top:none}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box.wp-mail-smtp-upgrade-mailer-education-modal div.jconfirm-title-c{margin:0 0 26px 0;padding:0}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box.wp-mail-smtp-upgrade-mailer-education-modal div.jconfirm-title-c .jconfirm-icon-c{margin-bottom:20px;color:#c4c4c4 !important}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box.wp-mail-smtp-upgrade-mailer-education-modal div.jconfirm-title-c .jconfirm-icon-c svg{height:35px}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box.wp-mail-smtp-upgrade-mailer-education-modal div.jconfirm-content-pane{margin-bottom:25px}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box.wp-mail-smtp-upgrade-mailer-education-modal div.jconfirm-buttons button.btn-confirm{background-color:#FF982D;border-color:#FF982D}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box.wp-mail-smtp-upgrade-mailer-education-modal .discount-note{text-align:center;margin:45px 0 0}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box.wp-mail-smtp-upgrade-mailer-education-modal .discount-note p{background-color:#fcf9e8;margin:0 -30px;padding:24px 60px 20px;font-size:15px;color:#4d4d4d;position:relative}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box.wp-mail-smtp-upgrade-mailer-education-modal .discount-note p:after{content:url(../images/font-awesome/check-circle-solid-green.svg);width:40px;height:40px;background-color:#fff;border-radius:50%;padding:5px 6px;position:absolute;top:-20px;right:50%;margin-right:-18px}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box.wp-mail-smtp-upgrade-mailer-education-modal .discount-note span{font-weight:700;color:#00a32a}body.wp-mail-smtp-admin-page-body div.jconfirm .jconfirm-box.wp-mail-smtp-upgrade-mailer-education-modal .discount-note a{color:#aaa;display:block;margin-top:12px}@media screen and (max-width: 1023px){#wp-mail-smtp-notice-bar{display:none !important}}#wp-mail-smtp-notice-bar{max-height:35px;position:relative;margin-bottom:-3px;transition:all .3s ease-out;overflow:hidden}#wp-mail-smtp-notice-bar.out{max-height:3px}#wp-mail-smtp-notice-bar .wp-mail-smtp-notice-bar-container{background-color:#DDDDDD;border-top:3px solid #FF982D;color:#777777;text-align:center;padding:7px}#wp-mail-smtp-notice-bar a{color:#FF982D}#wp-mail-smtp-notice-bar a:hover{color:#f97f00}#wp-mail-smtp-notice-bar .dismiss{position:absolute;top:0;right:0;border:none;padding:5px;margin-top:4px;background:0 0;color:#72777c;cursor:pointer}#wp-mail-smtp-notice-bar .dismiss:before{background:0 0;color:#72777c;content:"\f335";display:block;font:normal 20px/20px dashicons;speak:none;height:20px;text-align:center;width:20px;-webkit-font-smoothing:antialiased}#screen-meta-links .screen-meta-toggle{position:absolute;right:20px;top:auto}.wp-mail-smtp-loading{animation:0.65s linear infinite wp-mail-smtp-loading-spin}.wp-mail-smtp-loading-md{width:32px;height:32px}.wp-mail-smtp-loading-sm{width:16px;height:16px}@keyframes wp-mail-smtp-loading-spin{0%{transform:rotateZ(270deg)}100%{transform:rotateZ(630deg)}}#screen-meta-links,#screen-meta{display:none}#wp-mail-smtp-header-temp{position:absolute;margin:0;top:-1px;left:20px;right:20px;z-index:99}#wp-mail-smtp-header{border-top:3px solid #FF982D;padding:24px 20px}#wp-mail-smtp-header img{display:block;margin:0;max-width:242px}@media (max-width: 782px){#wp-mail-smtp-header img{max-width:200px}}#wp-mail-smtp{margin:0}#wp-mail-smtp .wp-mail-smtp-hide{display:none}#wp-mail-smtp .wp-mail-smtp-page-title{height:58px;background-color:#fff;font-size:14px;margin:0 0 20px 0;padding:0 20px}#wp-mail-smtp .wp-mail-smtp-page-title a.tab{border-bottom:2px solid #fff;box-shadow:none;color:#666;display:inline-block;margin-right:30px;padding:20px 0 18px 0;text-decoration:none}#wp-mail-smtp .wp-mail-smtp-page-title a.tab.active{border-bottom:2px solid #FF982D}#wp-mail-smtp .wp-mail-smtp-page-title a.tab:hover{border-color:#999}#wp-mail-smtp .wp-mail-smtp-page-title a.action{color:#fff;font-weight:600;margin:14px 0 0 10px}#wp-mail-smtp .wp-mail-smtp-page-title .page-title{background-color:#fff;display:inline-block;font-size:23px;margin:0;padding:20px 20px 20px 0}#wp-mail-smtp .wp-mail-smtp-page-content{padding:0 20px}#wp-mail-smtp .wp-mail-smtp-page-content *,#wp-mail-smtp .wp-mail-smtp-page-content *::before,#wp-mail-smtp .wp-mail-smtp-page-content *::after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-clear:before{content:" ";display:table}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-clear:after{clear:both;content:" ";display:table}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row{border-bottom:1px solid #e4e4e4;padding:30px 0;font-size:14px;line-height:1.3}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row:first-of-type{padding-top:10px !important}@media (max-width: 781px){#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row{padding:20px 0}}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.inactive{display:none}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row .wp-mail-smtp-setting-mid-row-sep{background:#e4e4e4;height:1px;border:0;margin:15px 0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.section-heading{padding:20px 0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.section-heading.no-desc h2,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.section-heading.no-desc h4{margin:0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.section-heading .wp-mail-smtp-setting-field{margin:0;max-width:1005px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox input[type=checkbox]{float:left;margin:1px 0 0 0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox input[type=checkbox]+label{margin:0 0 0 8px;vertical-align:baseline}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox .desc{margin:0 0 0 30px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox input[type=checkbox]+label+.desc{margin:8px 0 0 0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-text .wp-mail-smtp-setting-label,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-password .wp-mail-smtp-setting-label,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-number .wp-mail-smtp-setting-label,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-email .wp-mail-smtp-setting-label{padding-top:8px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-select .wp-mail-smtp-setting-label{padding-top:8px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-radio .wp-mail-smtp-setting-field input[type=radio]{margin:-3px 10px 0 0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-radio .wp-mail-smtp-setting-field label{margin-right:30px;display:inline-block}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field label{vertical-align:middle;display:inline-block}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]{position:absolute;top:auto;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;white-space:nowrap}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:checked+.wp-mail-smtp-setting-toggle-switch{background-color:#46B450}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:checked+.wp-mail-smtp-setting-toggle-switch:before{-webkit-transform:translateX(16px);-ms-transform:translateX(16px);transform:translateX(16px)}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:disabled:checked:hover+.wp-mail-smtp-setting-toggle-switch,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:disabled:not(:checked):hover+.wp-mail-smtp-setting-toggle-switch{box-shadow:none}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:disabled:not(:checked):hover+.wp-mail-smtp-setting-toggle-switch{background-color:#ddd}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:disabled+.wp-mail-smtp-setting-toggle-switch{background-color:#ddd;cursor:default}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:disabled:checked+.wp-mail-smtp-setting-toggle-switch{background-color:#a0daa5;cursor:default}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:checked+.wp-mail-smtp-setting-toggle-switch+.wp-mail-smtp-setting-toggle-checked-label{display:inline-block}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:checked+.wp-mail-smtp-setting-toggle-switch+.wp-mail-smtp-setting-toggle-checked-label+.wp-mail-smtp-setting-toggle-unchecked-label{display:none}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:disabled+.wp-mail-smtp-setting-toggle-switch+.wp-mail-smtp-setting-toggle-checked-label,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:disabled+.wp-mail-smtp-setting-toggle-switch+.wp-mail-smtp-setting-toggle-unchecked-label{color:#aaaaaa}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:checked:hover+.wp-mail-smtp-setting-toggle-switch,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:checked:focus+.wp-mail-smtp-setting-toggle-switch{box-shadow:0 0 0 1px #fff, 0 0 0 3px #46B450}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:not(:checked):hover+.wp-mail-smtp-setting-toggle-switch,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:not(:checked):focus+.wp-mail-smtp-setting-toggle-switch{background-color:#999;box-shadow:0 0 0 1px #fff, 0 0 0 3px #999}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field .wp-mail-smtp-setting-toggle-unchecked-label,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field .wp-mail-smtp-setting-toggle-checked-label{text-transform:uppercase;font-weight:400;color:#777;font-size:13px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field .wp-mail-smtp-setting-toggle-checked-label{display:none}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field .wp-mail-smtp-setting-toggle-switch{position:relative;cursor:pointer;background-color:#ccc;border-radius:15px;-webkit-transition:all 0.2s ease-in-out;-moz-transition:all 0.2s ease-in-out;-ms-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out;vertical-align:middle;display:inline-block;margin:0 5px 0 0;width:36px;height:20px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field .wp-mail-smtp-setting-toggle-switch:before{position:absolute;content:"";height:16px;width:16px;left:2px;top:2px;background-color:#fff;border-radius:50%;-webkit-transition:all 0.2s ease-in-out;-moz-transition:all 0.2s ease-in-out;-ms-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer{padding-bottom:20px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailers .wp-mail-smtp-mailer{display:inline-block;width:140px;margin-right:12px;margin-bottom:12px;position:relative}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailers .wp-mail-smtp-mailer .wp-mail-smtp-mailer-image{background:#fff;text-align:center;border:2px solid #E5E5E5;border-radius:4px;cursor:pointer;height:76px;position:relative;margin-bottom:10px;-webkit-transition:all 0.2s ease-in-out;-moz-transition:all 0.2s ease-in-out;-ms-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailers .wp-mail-smtp-mailer .wp-mail-smtp-mailer-image.is-recommended{background-image:url(../images/recommended.svg);background-repeat:no-repeat;background-size:60%;background-position:top right -2px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailers .wp-mail-smtp-mailer .wp-mail-smtp-mailer-image img{max-width:90%;max-height:40px;display:block;position:relative;top:50%;left:50%;transform:translate(-50%, -50%);opacity:0.6;-webkit-transition:all 0.2s ease-in-out;-moz-transition:all 0.2s ease-in-out;-ms-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailers .wp-mail-smtp-mailer.wp-mail-smtp-mailer-smtp .wp-mail-smtp-mailer-image img{max-height:30px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailers .wp-mail-smtp-mailer.active .wp-mail-smtp-mailer-image{border-color:#FF982D}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailers .wp-mail-smtp-mailer.active .wp-mail-smtp-mailer-image img{opacity:1}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailers .wp-mail-smtp-mailer:hover .wp-mail-smtp-mailer-image{border-color:#ccc}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailers .wp-mail-smtp-mailer:hover .wp-mail-smtp-mailer-image img{opacity:1}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row h2,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row h4{color:#444;font-size:20px;font-weight:700;margin:0 0 6px 0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row h2{margin-bottom:15px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row h3{color:#444;font-size:24px;font-weight:600;margin:0 0 20px 0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row h5{color:#444;font-size:16px;font-weight:600;margin:0 0 20px 0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row p{margin:12px 0 0;font-size:14px;line-height:1.5em}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row p:first-of-type{margin:8px 0 0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row p.desc{font-style:italic;color:#777}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row p.buttonned{margin-top:30px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row p.inline-notice{margin:5px 0 15px;box-sizing:border-box;background:#fff;border-left:4px solid transparent;box-shadow:0 1px 1px 0 rgba(0,0,0,0.1)}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row p.inline-notice.inline-error{border-color:#dc3232;margin-bottom:5px;padding:10px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row p.inline-notice.inline-edu-notice{border-color:#809EB0;line-height:1.5em;padding:10px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row p.inline-notice a.wp-mail-smtp-mailer-notice-dismiss{float:right;color:#999DA1;margin:0 0 10px 10px;text-decoration:none}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row p.inline-notice a.wp-mail-smtp-mailer-notice-dismiss:hover{color:#666a6e}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row ul{margin:8px 0 0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row ul.list li{margin-left:20px;list-style-type:disc}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row table.actions-list td,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row table.actions-list th{padding:5px 5px 5px 0;text-align:left}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row table.actions-list td.email{padding-right:2em}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row table.actions-list td.status{width:100px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row table.actions-list td.actions a{border-bottom:1px solid;display:inline-block;margin-right:5px;text-decoration:none}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row table.actions-list td.actions a[class*=delete],#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row table.actions-list td.actions a[class*=error]{color:#a00}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row table.actions-list td.actions a[class*=delete]:hover,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row table.actions-list td.actions a[class*=delete]:active,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row table.actions-list td.actions a[class*=delete]:focus,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row table.actions-list td.actions a[class*=error]:hover,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row table.actions-list td.actions a[class*=error]:active,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row table.actions-list td.actions a[class*=error]:focus{color:#440000}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=text],#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=email],#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=number],#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=password],#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row select{background-color:#fff;border:1px solid #ddd;border-radius:4px;box-shadow:none;color:#333;display:inline-block;vertical-align:middle;padding:7px 12px;margin:0 10px 0 0;width:400px;min-height:35px;line-height:1.3}@media (max-width: 959px){#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=text],#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=email],#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=number],#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=password],#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row select{width:300px}}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=text][readonly],#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=email][readonly],#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=number][readonly],#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=password][readonly],#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row select[readonly]{background-color:#f9f9f9}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=text].small-text,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=email].small-text,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=number].small-text,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=password].small-text,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row select.small-text{width:75px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=text]:focus,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=email]:focus,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=number]:focus,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=password]:focus,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row select:focus{border:1px solid #016AAB;box-shadow:0 0 0 1px #016AAB;outline:none}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=text]:disabled,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=email]:disabled,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=number]:disabled,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=password]:disabled,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row select:disabled{opacity:0.6}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=checkbox]:focus,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=radio]:focus{border:1px solid #016AAB;box-shadow:0 0 0 1px #016AAB;outline:none}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row .dashicons-yes-alt.wp-mail-smtp-animate{-webkit-animation:wp-mail-smtp-fade-in-stop-out 1s linear;animation:wp-mail-smtp-fade-in-stop-out 1s linear}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row .dashicons-yes-alt.wp-mail-smtp-success{color:#46b450}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-label{display:block;float:left;width:205px;padding:0 20px 0 0}@media (max-width: 781px){#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-label{float:none;width:100%;padding-bottom:15px}}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-label label{display:block;font-weight:600}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-field{display:block;margin:0 0 0 205px;max-width:800px}@media (max-width: 781px){#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-field{margin:0}}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-field hr{margin:20px 0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-field .wp-mail-smtp-setting-field-row{display:flex;flex-wrap:wrap}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-field .wp-mail-smtp-setting-field-row>.wp-mail-smtp-btn{margin-right:10px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-submit{margin:0;padding:25px 0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-submit .help-text{margin-left:10px;vertical-align:middle}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-mailer-options .wp-mail-smtp-mailer-option .wp-mail-smtp-setting-row.section-heading{padding:20px 0 !important}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-mailer-options .wp-mail-smtp-mailer-option blockquote{background:#E5E5E5;border-radius:4px;color:#666;font-size:14px;margin:20px 0;padding:15px;width:1005px}#wp-mail-smtp .wp-mail-smtp-page-content.wp-mail-smtp-page-general p{margin:0}#wp-mail-smtp .wp-mail-smtp-page-content .notice-inline{background:#fff;border-left:4px solid #fff;box-shadow:0 1px 1px 0 rgba(0,0,0,0.1);margin:5px 0 15px;padding:1px 12px}#wp-mail-smtp .wp-mail-smtp-page-content .notice-inline.notice-success{border-left-color:#46b450}#wp-mail-smtp .wp-mail-smtp-page-content .notice-inline.notice-warning{border-left-color:#ffb900}#wp-mail-smtp .wp-mail-smtp-page-content .notice-inline.notice-error{border-left-color:#dc3232}#wp-mail-smtp .wp-mail-smtp-page-content .notice-inline.notice-info{border-left-color:#00a0d2}#wp-mail-smtp .wp-mail-smtp-page-content .notice p,#wp-mail-smtp .wp-mail-smtp-page-content .notice-inline p{margin:0.5em 0;padding:2px}#wp-mail-smtp .wp-mail-smtp-page-content pre{white-space:pre-line}#wp-mail-smtp .wp-mail-smtp-page-content.active{display:block}#wp-mail-smtp .wp-mail-smtp-page-content .connected-as{margin-left:30px}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug{margin-top:25px}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug h2{margin:20px 0 10px;color:#444;font-size:16px;line-height:20px;font-weight:700}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug p{margin:10px 0;color:#777;font-size:14px;line-height:20px}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug ul{list-style-type:disc}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug ul,#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug ol{margin:10px 0 10px 15px;color:#777;font-size:14px;line-height:20px}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug ul li,#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug ol li{margin:0 0 8px 0}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug ul li:last-of-type,#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug ol li:last-of-type{margin:0}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug ul li ul,#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug ol li ul{list-style-type:disc}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug .dashicons-star-filled{color:#FF982D;width:16px;height:16px;font-size:16px;vertical-align:text-top}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug .price-off{color:green;font-weight:bold}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug .error-log-button-container{margin-bottom:30px}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug .error-log-toggle{float:left;margin-right:10px}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug .error-log-copy{min-width:122px}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug .error-log-copy .error-log-copy-back{display:none}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug .error-log-copy-copied .error-log-copy-front{display:none}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug .error-log-copy-copied .error-log-copy-back{display:inline}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug .error-log{padding-top:10px;padding-bottom:10px;display:none}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug .error-log.error-log-selection{display:block !important;opacity:0;height:0;padding:0;margin:0}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug .error-log pre{margin:0}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner{background-color:#fff;padding:25px 20px;border:1px solid #dadada;margin:10px 0 0 0;position:relative}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner .wp-mail-smtp-pro-banner-dismiss{position:absolute;right:10px;top:10px}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner .wp-mail-smtp-pro-banner-dismiss button{background:none;border:none;color:#A9A9A9;cursor:pointer;margin:0;padding:0}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner h2{color:#444;margin-top:0;font-size:16px;font-weight:700}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner p{font-size:14px;color:#555;margin-bottom:1.1em}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner p:last-of-type{margin:0}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner .benefits{margin:0 0 16px 0;overflow:auto;max-width:1000px}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner .benefits ul{margin:0;padding:0;width:50%;float:left}@media (max-width: 600px){#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner .benefits ul{width:100%;float:none}}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner .benefits ul li{margin:0;padding:0 0 2px 16px;color:#555;font-size:14px;position:relative}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner .benefits ul li:before{content:'+';position:absolute;top:-1px;left:0}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner .benefits ul li.arrow-right:before{content:'→'}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner a{color:#FF982D}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner a:hover,#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner a:active,#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner a:focus{color:#f97f00}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner .stars{text-decoration:none}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner .stars .dashicons{width:16px;height:16px;font-size:16px;vertical-align:text-top}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner .price-off{color:green;font-weight:bold}#wp-mail-smtp .wp-mail-smtp-admin-columns>div[class*="-column-"]{float:left}#wp-mail-smtp .wp-mail-smtp-admin-columns .wp-mail-smtp-admin-column-20{width:20%}#wp-mail-smtp .wp-mail-smtp-admin-columns .wp-mail-smtp-admin-column-33{width:33.33333%}#wp-mail-smtp .wp-mail-smtp-admin-columns .wp-mail-smtp-admin-column-40{width:40%}#wp-mail-smtp .wp-mail-smtp-admin-columns .wp-mail-smtp-admin-column-50{width:50%}#wp-mail-smtp .wp-mail-smtp-admin-columns .wp-mail-smtp-admin-column-60{width:60%}#wp-mail-smtp .wp-mail-smtp-admin-columns .wp-mail-smtp-admin-column-80{width:80%}#wp-mail-smtp .wp-mail-smtp-admin-columns .wp-mail-smtp-admin-column-last{float:right !important}#wp-mail-smtp .wp-mail-smtp-admin-columns:after{content:"";display:table;clear:both}#wp-mail-smtp .wp-mail-smtp-page-upsell{display:flex;align-items:center;justify-content:center;height:auto;flex-direction:column}#wp-mail-smtp .wp-mail-smtp-page-upsell>*{width:800px}#wp-mail-smtp .wp-mail-smtp-page-upsell *,#wp-mail-smtp .wp-mail-smtp-page-upsell *::before,#wp-mail-smtp .wp-mail-smtp-page-upsell *::after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#wp-mail-smtp .wp-mail-smtp-page-upsell h2{font-size:24px;color:#444444;text-align:center}#wp-mail-smtp .wp-mail-smtp-page-upsell h3{font-size:16px;font-weight:normal;color:#72777C;line-height:1.5em;margin-top:0;margin-bottom:6px;text-align:center}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-content .wp-mail-smtp-page-upsell-features{margin-bottom:40px;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-items:stretch;align-content:flex-start}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-content .wp-mail-smtp-page-upsell-features .wp-mail-smtp-page-upsell-feature{display:flex;flex-direction:row;width:360px;align-items:flex-start;align-content:flex-start;margin-right:60px;margin-top:40px}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-content .wp-mail-smtp-page-upsell-features .wp-mail-smtp-page-upsell-feature:nth-of-type(1){margin-top:20px}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-content .wp-mail-smtp-page-upsell-features .wp-mail-smtp-page-upsell-feature:nth-of-type(2){margin-top:20px}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-content .wp-mail-smtp-page-upsell-features .wp-mail-smtp-page-upsell-feature:nth-of-type(even){margin-right:0}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-content .wp-mail-smtp-page-upsell-features .wp-mail-smtp-page-upsell-feature .wp-mail-smtp-page-upsell-feature-image{display:flex;align-items:center}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-content .wp-mail-smtp-page-upsell-features .wp-mail-smtp-page-upsell-feature .wp-mail-smtp-page-upsell-feature-image svg{height:64px;width:64px}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-content .wp-mail-smtp-page-upsell-features .wp-mail-smtp-page-upsell-feature .wp-mail-smtp-page-upsell-feature-image .st0{fill:#C3D0D7}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-content .wp-mail-smtp-page-upsell-features .wp-mail-smtp-page-upsell-feature .wp-mail-smtp-page-upsell-feature-image .st1{fill:#809DB0}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-content .wp-mail-smtp-page-upsell-features .wp-mail-smtp-page-upsell-feature .wp-mail-smtp-page-upsell-feature-content{margin-left:20px}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-content .wp-mail-smtp-page-upsell-features .wp-mail-smtp-page-upsell-feature .wp-mail-smtp-page-upsell-feature-content h4{font-size:15px;margin:0 0 0.5em}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-content .wp-mail-smtp-page-upsell-features .wp-mail-smtp-page-upsell-feature .wp-mail-smtp-page-upsell-feature-content p{color:#72777C;margin:0}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-images{margin-top:20px;margin-bottom:30px;text-align:center}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-images img{width:380px;height:auto;margin-right:30px;border:5px solid #fff;border-radius:5px;box-shadow:0 5px 15px rgba(0,0,0,0.1);float:left}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-images img:last-child{margin-right:0}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-button{text-align:center}#wp-mail-smtp .wp-mail-smtp-page-nw-product-edu h2{display:inline-block;vertical-align:middle}#wp-mail-smtp .wp-mail-smtp-page-nw-product-edu .badge{margin:0 0 2px 7px;vertical-align:middle;width:40px;height:17px}#wp-mail-smtp .wp-mail-smtp-page-nw-product-edu .wp-mail-smtp-setting-row-multisite{color:#9a9a9a}#wp-mail-smtp .wp-mail-smtp-page-nw-product-edu .wp-mail-smtp-setting-row-multisite p.desc{color:#bababa}#wp-mail-smtp .wp-mail-smtp-page-nw-product-edu .wp-mail-smtp-setting-row-multisite input[type=checkbox]:disabled{border-color:#aaa}#wp-mail-smtp .wp-mail-smtp-page-nw-product-edu .wp-mail-smtp-setting-row-no-setting{margin-top:30px}#wp-mail-smtp .notice blockquote{margin-left:0;padding:2px}#wp-mail-smtp .notice blockquote pre{margin:0}#wp-mail-smtp #wp-mail-smtp-reset-filter{clear:both;margin:20px 0;padding:10px;font-size:15px;text-align:center;background:#fff;border:1px solid #ccd0d4;box-shadow:0 1px 1px rgba(0,0,0,0.04)}#wp-mail-smtp #wp-mail-smtp-reset-filter a{text-decoration:none}#wp-mail-smtp #wp-mail-smtp-reset-filter .reset{cursor:pointer;color:#a6a6a6;font-size:15px;line-height:18px;width:18px;height:18px}#wp-mail-smtp #wp-mail-smtp-reset-filter .reset:focus,#wp-mail-smtp #wp-mail-smtp-reset-filter .reset:hover{color:#d83638}#wp-mail-smtp #wp-mail-smtp-tools-export-email-logs-product-education h4{display:flex;align-items:center;margin-bottom:10px;font-size:20px;line-height:24px;color:#444}#wp-mail-smtp #wp-mail-smtp-tools-export-email-logs-product-education h4:after{content:'';margin-left:10px;background-image:url("../images/pro-badge-small.svg");background-size:contain;background-repeat:no-repeat;width:35px;height:16px}#wp-mail-smtp #wp-mail-smtp-tools-export-email-logs-product-education>p{font-size:14px;line-height:20px;color:#444}#wp-mail-smtp #wp-mail-smtp-tools-export-email-logs-product-education .wp-mail-smtp-setting-row{opacity:0.5;pointer-events:none;padding:30px 0;margin:30px 0;border-top:1px solid #E4E4E4;border-bottom:1px solid #E4E4E4}#wp-mail-smtp #wp-mail-smtp-tools-export-email-logs-product-education h5{clear:both;margin:20px 0 10px 0}#wp-mail-smtp #wp-mail-smtp-tools-export-email-logs-product-education label{clear:both;float:left;margin:3px 0 3px 0}#wp-mail-smtp #wp-mail-smtp-tools-export-email-logs-product-education .wp-mail-smtp-date-selector{width:200px;cursor:pointer}#wp-mail-smtp #wp-mail-smtp-tools-export-email-logs-product-education .wp-mail-smtp-search-box-field{width:200px}#wp-mail-smtp #wp-mail-smtp-tools-export-email-logs-product-education .wp-mail-smtp-search-box-term{width:300px}#wp-mail-smtp #wp-mail-smtp-tools-export-email-logs-product-education section{margin-top:30px;cursor:not-allowed}#wp-mail-smtp #wp-mail-smtp-tools-export-email-logs-product-education section:first-child{margin-top:20px}.wp-mail-smtp-btn{border:0;border-radius:3px;cursor:pointer;display:inline-block;margin:0;text-decoration:none;text-align:center;vertical-align:middle;white-space:nowrap;text-shadow:none;box-shadow:none;outline:none}.wp-mail-smtp-btn .dashicons{font-size:16px;width:16px;height:16px}.wp-mail-smtp-btn:disabled{opacity:0.5;cursor:not-allowed}.wp-mail-smtp-btn.wp-mail-smtp-btn-md{font-size:13px;font-weight:600;padding:8px 12px;min-height:35px}.wp-mail-smtp-btn.wp-mail-smtp-btn-lg{font-size:16px;font-weight:600;padding:16px 28px}.wp-mail-smtp-btn.wp-mail-smtp-btn-upgrade{font-size:16px;line-height:20px;font-weight:500;padding:14px 30px}.wp-mail-smtp-btn.wp-mail-smtp-btn-orange{background-color:#FF982D;border-color:#FF982D;color:#fff}.wp-mail-smtp-btn.wp-mail-smtp-btn-orange:hover,.wp-mail-smtp-btn.wp-mail-smtp-btn-orange:active,.wp-mail-smtp-btn.wp-mail-smtp-btn-orange:focus{background-color:#f97f00;border-color:#f97f00}.wp-mail-smtp-btn.wp-mail-smtp-btn-orange:focus{box-shadow:0 0 0 1px #fff, 0 0 0 3px #f97f00}.wp-mail-smtp-btn.wp-mail-smtp-btn-red{background-color:#DC3232;border-color:#DC3232;color:#fff}.wp-mail-smtp-btn.wp-mail-smtp-btn-red:hover,.wp-mail-smtp-btn.wp-mail-smtp-btn-red:active,.wp-mail-smtp-btn.wp-mail-smtp-btn-red:focus{background-color:darkred;border-color:darkred}.wp-mail-smtp-btn.wp-mail-smtp-btn-red:focus{box-shadow:0 0 0 1px #fff, 0 0 0 3px darkred}.wp-mail-smtp-btn.wp-mail-smtp-btn-grey{background-color:#f5f5f5;border:1px solid #ccc;color:#666}.wp-mail-smtp-btn.wp-mail-smtp-btn-grey:hover,.wp-mail-smtp-btn.wp-mail-smtp-btn-grey:active,.wp-mail-smtp-btn.wp-mail-smtp-btn-grey:focus{background-color:#d7d7d7;border-color:#ccc;color:#444}.wp-mail-smtp-btn.wp-mail-smtp-btn-light-grey{background-color:#f5f5f5;border:1px solid #ccc;color:#666}.wp-mail-smtp-btn.wp-mail-smtp-btn-light-grey:hover,.wp-mail-smtp-btn.wp-mail-smtp-btn-light-grey:active,.wp-mail-smtp-btn.wp-mail-smtp-btn-light-grey:focus{background-color:#eee;color:#444}.wp-mail-smtp-btn.wp-mail-smtp-btn-blueish{background-color:#738e9e;border-color:#738e9e;color:#fff}.wp-mail-smtp-btn.wp-mail-smtp-btn-blueish:hover,.wp-mail-smtp-btn.wp-mail-smtp-btn-blueish:active,.wp-mail-smtp-btn.wp-mail-smtp-btn-blueish:focus{background-color:#395360;border-color:#395360;color:#fff}.wp-mail-smtp-btn.wp-mail-smtp-btn-blueish:focus{box-shadow:0 0 0 1px #fff, 0 0 0 3px #395360}a.wp-mail-smtp-btn.wp-mail-smtp-btn-md{line-height:19px}#wp-mail-smtp-domain-check-details h2{color:#444;font-size:20px;line-height:24px;font-weight:700;margin:28px 0 23px}#wp-mail-smtp-domain-check-details .wp-mail-smtp-domain-check-details-check-list-item{padding:25px 0 14px;border-top:1px solid #E4E4E4;display:flex}#wp-mail-smtp-domain-check-details .wp-mail-smtp-domain-check-details-check-list-item-icon{width:18px;height:16px;margin-right:10px}#wp-mail-smtp-domain-check-details .wp-mail-smtp-domain-check-details-check-list-item-content h3{text-transform:uppercase;font-weight:500;font-size:14px;line-height:17px;color:#444444;margin:0 0 4px 0}#wp-mail-smtp-domain-check-details .wp-mail-smtp-domain-check-details-check-list-item-content p{color:#777777;font-size:14px;line-height:20px;margin:0 0 10px 0}.wp-mail-smtp-tab-tools-test #email-test-form .wp-mail-smtp-btn{min-width:95px}.wp-mail-smtp-tab-tools-test #email-test-form .wp-mail-smtp-loading{display:none;margin-bottom:-2px}.wp-mail-smtp-tab-tools-action-scheduler .wp-mail-smtp-page-content .wrap,.wp-mail-smtp-tab-tools-action-scheduler .wp-mail-smtp-page-content .subsubsub{margin:0}.wp-mail-smtp-tab-tools-action-scheduler .wp-mail-smtp-page-content>h1{color:#444;font-size:20px;font-weight:700;margin:0 0 15px 0;padding:0}.wp-mail-smtp-tab-tools-action-scheduler .wp-mail-smtp-page-content>p{font-size:14px}.wp-mail-smtp-tab-tools-action-scheduler .wp-mail-smtp-page-content h1.wp-heading-inline,.wp-mail-smtp-tab-tools-action-scheduler .wp-mail-smtp-page-content span.subtitle{display:none}.wp-mail-smtp-tab-tools-action-scheduler .wp-mail-smtp-page-content hr.wp-header-end{visibility:hidden;margin:-2px 0 0}
assets/images/about/plugin-aioseo.png CHANGED
Binary file
assets/images/about/plugin-mi.png CHANGED
Binary file
assets/images/about/plugin-om.png CHANGED
Binary file
assets/images/about/plugin-pushengage.png CHANGED
Binary file
assets/images/about/plugin-rp.png CHANGED
Binary file
assets/images/about/plugin-seedprod.png CHANGED
Binary file
assets/images/about/plugin-smash-balloon-facebook-feeds.png CHANGED
Binary file
assets/images/about/plugin-smash-balloon-instagram-feeds.png CHANGED
Binary file
assets/images/about/plugin-smash-balloon-twitter-feeds.png CHANGED
Binary file
assets/images/about/plugin-smash-balloon-youtube-feeds.png CHANGED
Binary file
assets/images/about/plugin-trustpulse.png CHANGED
Binary file
assets/images/about/plugin-wpf.png CHANGED
Binary file
assets/images/about/team.jpg CHANGED
Binary file
assets/images/dash-widget/smtp/delivered.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg width="16" height="17" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8 .5a7.71 7.71 0 00-4.02 1.093A7.988 7.988 0 001.054 4.48C.35 5.703 0 7.043 0 8.5c0 1.457.351 2.797 1.054 4.02a8.3 8.3 0 002.926 2.926C5.203 16.15 6.543 16.5 8 16.5c1.457 0 2.797-.351 4.02-1.054a7.986 7.986 0 002.887-2.926A7.709 7.709 0 0016 8.5a7.709 7.709 0 00-1.093-4.02 7.693 7.693 0 00-2.887-2.887A7.71 7.71 0 008 .5zm-.624 12.644H6.049l-3.24-4.527 1.328-1.249 2.575 2.42 5.151-5.932 1.327.937-5.814 8.35z" fill="#6AA08B"/></svg>
assets/images/dash-widget/smtp/sent.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg width="16" height="17" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8 .5a7.71 7.71 0 00-4.02 1.093A7.988 7.988 0 001.054 4.48C.35 5.703 0 7.043 0 8.5c0 1.457.351 2.797 1.054 4.02a8.3 8.3 0 002.926 2.926C5.203 16.15 6.543 16.5 8 16.5c1.457 0 2.797-.351 4.02-1.054a7.986 7.986 0 002.887-2.926A7.709 7.709 0 0016 8.5a7.709 7.709 0 00-1.093-4.02 7.693 7.693 0 00-2.887-2.887A7.71 7.71 0 008 .5zm-.624 12.644H6.049l-3.24-4.527 1.328-1.249 2.575 2.42 5.151-5.932 1.327.937-5.814 8.35z" fill="#A7AAAD"/></svg>
assets/images/dash-widget/smtp/total.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg width="17" height="13" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1.87.5h13.208c1.247 0 1.87.597 1.87 1.792v8.416c0 1.195-.623 1.792-1.87 1.792H1.87C.623 12.5 0 11.903 0 10.708V2.292C0 1.097.623.5 1.87.5zm6.624 8.61l6.7-5.532a.83.83 0 00.273-.468c.053-.207 0-.402-.155-.584a.71.71 0 00-.546-.35.937.937 0 00-.623.155l-5.65 3.857-5.688-3.857a.87.87 0 00-.623-.156.71.71 0 00-.546.351.805.805 0 00-.155.584c.051.208.142.364.272.468l6.74 5.532z" fill="#809EB0"/></svg>
assets/images/dash-widget/smtp/unsent.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg width="16" height="17" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8 .5a7.71 7.71 0 014.02 1.093 7.693 7.693 0 012.887 2.887A7.709 7.709 0 0116 8.5a7.709 7.709 0 01-1.093 4.02 7.986 7.986 0 01-2.887 2.926C10.796 16.15 9.457 16.5 8 16.5c-1.457 0-2.797-.351-4.02-1.054a8.3 8.3 0 01-2.926-2.926C.35 11.296 0 9.957 0 8.5c0-1.457.351-2.797 1.054-4.02A7.988 7.988 0 013.98 1.593 7.71 7.71 0 018 .5zm4.995 11.005L9.99 8.5l3.005-3.005-1.99-1.99L8 6.51 4.995 3.505l-1.99 1.99L6.01 8.5l-3.005 3.005 1.99 1.99L8 10.49l3.005 3.005 1.99-1.99z" fill="#D63638"/></svg>
assets/images/dash-widget/wp/delivered.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg width="16" height="17" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8 .5a7.71 7.71 0 00-4.02 1.093A7.988 7.988 0 001.054 4.48C.35 5.703 0 7.043 0 8.5c0 1.457.351 2.797 1.054 4.02a8.3 8.3 0 002.926 2.926C5.203 16.15 6.543 16.5 8 16.5c1.457 0 2.797-.351 4.02-1.054a7.986 7.986 0 002.887-2.926A7.709 7.709 0 0016 8.5a7.709 7.709 0 00-1.093-4.02 7.693 7.693 0 00-2.887-2.887A7.71 7.71 0 008 .5zm-.624 12.644H6.049l-3.24-4.527 1.328-1.249 2.575 2.42 5.151-5.932 1.327.937-5.814 8.35z" fill="#2271B1"/></svg>
assets/images/dash-widget/wp/sent.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg width="16" height="17" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8 .5a7.71 7.71 0 00-4.02 1.093A7.988 7.988 0 001.054 4.48C.35 5.703 0 7.043 0 8.5c0 1.457.351 2.797 1.054 4.02a8.3 8.3 0 002.926 2.926C5.203 16.15 6.543 16.5 8 16.5c1.457 0 2.797-.351 4.02-1.054a7.986 7.986 0 002.887-2.926A7.709 7.709 0 0016 8.5a7.709 7.709 0 00-1.093-4.02 7.693 7.693 0 00-2.887-2.887A7.71 7.71 0 008 .5zm-.624 12.644H6.049l-3.24-4.527 1.328-1.249 2.575 2.42 5.151-5.932 1.327.937-5.814 8.35z" fill="#A7AAAD"/></svg>
assets/images/dash-widget/wp/total.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg width="17" height="13" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1.87.5h13.208c1.247 0 1.87.597 1.87 1.792v8.416c0 1.195-.623 1.792-1.87 1.792H1.87C.623 12.5 0 11.903 0 10.708V2.292C0 1.097.623.5 1.87.5zm6.624 8.61l6.7-5.532a.83.83 0 00.273-.468c.053-.207 0-.402-.155-.584a.71.71 0 00-.546-.35.937.937 0 00-.623.155l-5.65 3.857-5.688-3.857a.87.87 0 00-.623-.156.71.71 0 00-.546.351.805.805 0 00-.155.584c.051.208.142.364.272.468l6.74 5.532z" fill="#646970"/></svg>
assets/images/dash-widget/wp/unsent.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg width="16" height="17" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8 .5a7.71 7.71 0 014.02 1.093 7.693 7.693 0 012.887 2.887A7.709 7.709 0 0116 8.5a7.709 7.709 0 01-1.093 4.02 7.986 7.986 0 01-2.887 2.926C10.796 16.15 9.457 16.5 8 16.5c-1.457 0-2.797-.351-4.02-1.054a8.3 8.3 0 01-2.926-2.926C.35 11.296 0 9.957 0 8.5c0-1.457.351-2.797 1.054-4.02A7.988 7.988 0 013.98 1.593 7.71 7.71 0 018 .5zm4.995 11.005L9.99 8.5l3.005-3.005-1.99-1.99L8 6.51 4.995 3.505l-1.99 1.99L6.01 8.5l-3.005 3.005 1.99 1.99L8 10.49l3.005 3.005 1.99-1.99z" fill="#D63638"/></svg>
assets/images/email/icon-check.png CHANGED
Binary file
assets/images/email/signature.png CHANGED
Binary file
assets/images/email/wp-mail-smtp-whitelabel.png CHANGED
Binary file
assets/images/email/wp-mail-smtp.png CHANGED
Binary file
assets/images/font-awesome/check-circle-solid-green.svg CHANGED
@@ -1 +1 @@
1
- <svg aria-hidden="true" data-prefix="fas" data-icon="check-circle" class="svg-inline--fa fa-check-circle fa-w-16" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#2ecc71" d="M504 256a248 248 0 11-496 0 248 248 0 01496 0zM227 387l184-184c7-6 7-16 0-22l-22-23c-7-6-17-6-23 0L216 308l-70-70c-6-6-16-6-23 0l-22 23c-7 6-7 16 0 22l104 104c6 7 16 7 22 0z"/></svg>
1
+ <svg aria-hidden="true" data-prefix="fas" data-icon="check-circle" class="svg-inline--fa fa-check-circle fa-w-16" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#00A32A" d="M504 256a248 248 0 11-496 0 248 248 0 01496 0zM227 387l184-184c7-6 7-16 0-22l-22-23c-7-6-17-6-23 0L216 308l-70-70c-6-6-16-6-23 0l-22 23c-7 6-7 16 0 22l104 104c6 7 16 7 22 0z"/></svg>
assets/images/font-awesome/exclamation-circle-regular-red.svg CHANGED
@@ -1 +1 @@
1
- <svg aria-hidden="true" data-prefix="far" data-icon="exclamation-circle" class="svg-inline--fa fa-exclamation-circle fa-w-16" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#e74c3c" d="M256 8a248 248 0 100 496 248 248 0 000-496zm0 448a200 200 0 11-.1-400.1A200 200 0 01256 456zm42-104a42 42 0 11-84 0 42 42 0 0184 0zm-81.4-211.4l6.8 136a12 12 0 0012 11.4h41.2a12 12 0 0012-11.4l6.8-136a12 12 0 00-12-12.6h-54.8a12 12 0 00-12 12.6z"/></svg>
1
+ <svg aria-hidden="true" data-prefix="far" data-icon="exclamation-circle" class="svg-inline--fa fa-exclamation-circle fa-w-16" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#D63638" d="M256 8a248 248 0 100 496 248 248 0 000-496zm0 448a200 200 0 11-.1-400.1A200 200 0 01256 456zm42-104a42 42 0 11-84 0 42 42 0 0184 0zm-81.4-211.4l6.8 136a12 12 0 0012 11.4h41.2a12 12 0 0012-11.4l6.8-136a12 12 0 00-12-12.6h-54.8a12 12 0 00-12 12.6z"/></svg>
assets/images/font-awesome/exclamation-circle-solid-orange.svg CHANGED
@@ -1 +1 @@
1
- <svg aria-hidden="true" data-prefix="fas" data-icon="exclamation-circle" class="svg-inline--fa fa-exclamation-circle fa-w-16" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#f1c40f" d="M504 256a248 248 0 11-496 0 248 248 0 01496 0zm-248 50a46 46 0 100 92 46 46 0 000-92zm-43.7-165.3l7.4 136a12 12 0 0012 11.3h48.6a12 12 0 0012-11.3l7.4-136a12 12 0 00-12-12.7h-63.4a12 12 0 00-12 12.7z"/></svg>
1
+ <svg aria-hidden="true" data-prefix="fas" data-icon="exclamation-circle" class="svg-inline--fa fa-exclamation-circle fa-w-16" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#FFB900" d="M504 256a248 248 0 11-496 0 248 248 0 01496 0zm-248 50a46 46 0 100 92 46 46 0 000-92zm-43.7-165.3l7.4 136a12 12 0 0012 11.3h48.6a12 12 0 0012-11.3l7.4-136a12 12 0 00-12-12.7h-63.4a12 12 0 00-12 12.7z"/></svg>
assets/images/font-awesome/exclamation-circle-solid-red.svg CHANGED
@@ -1 +1 @@
1
- <svg aria-hidden="true" data-prefix="fas" data-icon="exclamation-circle" class="svg-inline--fa fa-exclamation-circle fa-w-16" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#DC3232" d="M504 256a248 248 0 11-496 0 248 248 0 01496 0zm-248 50a46 46 0 100 92 46 46 0 000-92zm-43.7-165.3l7.4 136a12 12 0 0012 11.3h48.6a12 12 0 0012-11.3l7.4-136a12 12 0 00-12-12.7h-63.4a12 12 0 00-12 12.7z"/></svg>
1
+ <svg aria-hidden="true" data-prefix="fas" data-icon="exclamation-circle" class="svg-inline--fa fa-exclamation-circle fa-w-16" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#D63638" d="M504 256a248 248 0 11-496 0 248 248 0 01496 0zm-248 50a46 46 0 100 92 46 46 0 000-92zm-43.7-165.3l7.4 136a12 12 0 0012 11.3h48.6a12 12 0 0012-11.3l7.4-136a12 12 0 00-12-12.7h-63.4a12 12 0 00-12 12.7z"/></svg>
assets/images/logs/archive.png CHANGED
Binary file
assets/images/logs/single.png CHANGED
Binary file
assets/images/pro-badge-small.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg width="35" height="16" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="35" height="16" rx="8" fill="#999"/><path d="M6.7 5v7h1.78v-1.97h1.27c1.79 0 2.82-.95 2.82-2.59C12.57 5.88 11.54 5 9.75 5H6.7zm1.78 1.4h1.18c.78 0 1.23.37 1.23 1.1 0 .74-.45 1.13-1.23 1.13H8.48V6.4zm9.237 5.6h2.02l-1.47-2.31c.82-.41 1.27-1.18 1.27-2.25 0-1.56-1.06-2.44-2.91-2.44h-3.13v7h1.78v-1.97h1.4l1.04 1.97zm-2.44-3.37V6.4h1.35c.77 0 1.22.37 1.22 1.1 0 .74-.45 1.13-1.22 1.13h-1.35zm8.776-3.69c-2.16 0-3.78 1.51-3.78 3.55 0 2.05 1.62 3.59 3.78 3.59 2.17 0 3.79-1.55 3.79-3.59 0-2.03-1.62-3.55-3.79-3.55zm.02 1.49c1.08 0 1.94.89 1.94 2.07 0 1.18-.86 2.09-1.94 2.09-1.07 0-1.98-.91-1.98-2.09 0-1.18.9-2.07 1.98-2.07z" fill="#fff"/></svg>
assets/js/connect.js CHANGED
@@ -38,7 +38,7 @@ var WPMailSMTPConnect = window.WPMailSMTPConnect || ( function( document, window
38
  */
39
  init: function() {
40
 
41
- $( document ).ready( app.ready );
42
  },
43
 
44
  /**
@@ -87,9 +87,6 @@ var WPMailSMTPConnect = window.WPMailSMTPConnect || ( function( document, window
87
  return {
88
  title: wp_mail_smtp_connect.text.almost_done,
89
  content: res.data.message,
90
- useBootstrap: false,
91
- theme: 'modern',
92
- boxWidth: '550px',
93
  icon: '"></i><img src="' + wp_mail_smtp_connect.plugin_url + '/assets/images/font-awesome/check-circle-solid-green.svg" style="width: 40px; height: 40px;"><i class="',
94
  type: 'green',
95
  buttons: {
@@ -131,9 +128,6 @@ var WPMailSMTPConnect = window.WPMailSMTPConnect || ( function( document, window
131
  $.alert( {
132
  title: wp_mail_smtp_connect.text.oops,
133
  content: res.data.message,
134
- useBootstrap: false,
135
- theme: 'modern',
136
- boxWidth: '550px',
137
  icon: '"></i><img src="' + wp_mail_smtp_connect.plugin_url + '/assets/images/font-awesome/exclamation-circle-solid-orange.svg" style="width: 40px; height: 40px;"><i class="',
138
  type: 'orange',
139
  buttons: {
@@ -162,9 +156,6 @@ var WPMailSMTPConnect = window.WPMailSMTPConnect || ( function( document, window
162
  $.alert( {
163
  title: wp_mail_smtp_connect.text.oops,
164
  content: wp_mail_smtp_connect.text.server_error + '<br>' + xhr.status + ' ' + xhr.statusText + ' ' + xhr.responseText,
165
- useBootstrap: false,
166
- theme: 'modern',
167
- boxWidth: '550px',
168
  icon: '"></i><img src="' + wp_mail_smtp_connect.plugin_url + '/assets/images/font-awesome/exclamation-circle-regular-red.svg" style="width: 40px; height: 40px;"><i class="',
169
  type: 'red',
170
  buttons: {
38
  */
39
  init: function() {
40
 
41
+ $( app.ready );
42
  },
43
 
44
  /**
87
  return {
88
  title: wp_mail_smtp_connect.text.almost_done,
89
  content: res.data.message,
 
 
 
90
  icon: '"></i><img src="' + wp_mail_smtp_connect.plugin_url + '/assets/images/font-awesome/check-circle-solid-green.svg" style="width: 40px; height: 40px;"><i class="',
91
  type: 'green',
92
  buttons: {
128
  $.alert( {
129
  title: wp_mail_smtp_connect.text.oops,
130
  content: res.data.message,
 
 
 
131
  icon: '"></i><img src="' + wp_mail_smtp_connect.plugin_url + '/assets/images/font-awesome/exclamation-circle-solid-orange.svg" style="width: 40px; height: 40px;"><i class="',
132
  type: 'orange',
133
  buttons: {
156
  $.alert( {
157
  title: wp_mail_smtp_connect.text.oops,
158
  content: wp_mail_smtp_connect.text.server_error + '<br>' + xhr.status + ' ' + xhr.statusText + ' ' + xhr.responseText,
 
 
 
159
  icon: '"></i><img src="' + wp_mail_smtp_connect.plugin_url + '/assets/images/font-awesome/exclamation-circle-regular-red.svg" style="width: 40px; height: 40px;"><i class="',
160
  type: 'red',
161
  buttons: {
assets/js/connect.min.js CHANGED
@@ -1 +1 @@
1
- "use strict";var WPMailSMTPConnect=window.WPMailSMTPConnect||function(t,e,n){var o={$connectBtn:n("#wp-mail-smtp-setting-upgrade-license-button"),$connectKey:n("#wp-mail-smtp-setting-upgrade-license-key")},i={init:function(){n(t).ready(i.ready)},ready:function(){i.events()},events:function(){i.connectBtnClick()},connectBtnClick:function(){o.$connectBtn.on("click",function(){i.gotoUpgradeUrl()})},proAlreadyInstalled:function(t){return{title:wp_mail_smtp_connect.text.almost_done,content:t.data.message,useBootstrap:!1,theme:"modern",boxWidth:"550px",icon:'"></i><img src="'+wp_mail_smtp_connect.plugin_url+'/assets/images/font-awesome/check-circle-solid-green.svg" style="width: 40px; height: 40px;"><i class="',type:"green",buttons:{confirm:{text:wp_mail_smtp_connect.text.plugin_activate_btn,btnClass:"btn-confirm",keys:["enter"],action:function(){e.location.reload()}}}}},gotoUpgradeUrl:function(){var t={action:"wp_mail_smtp_connect_url",key:o.$connectKey.val(),nonce:wp_mail_smtp_connect.nonce};n.post(wp_mail_smtp_connect.ajax_url,t).done(function(t){if(t.success)return t.data.reload?void n.alert(i.proAlreadyInstalled(t)):void(e.location.href=t.data.url);n.alert({title:wp_mail_smtp_connect.text.oops,content:t.data.message,useBootstrap:!1,theme:"modern",boxWidth:"550px",icon:'"></i><img src="'+wp_mail_smtp_connect.plugin_url+'/assets/images/font-awesome/exclamation-circle-solid-orange.svg" style="width: 40px; height: 40px;"><i class="',type:"orange",buttons:{confirm:{text:wp_mail_smtp_connect.text.ok,btnClass:"btn-confirm",keys:["enter"]}}})}).fail(function(t){i.failAlert(t)})},failAlert:function(t){n.alert({title:wp_mail_smtp_connect.text.oops,content:wp_mail_smtp_connect.text.server_error+"<br>"+t.status+" "+t.statusText+" "+t.responseText,useBootstrap:!1,theme:"modern",boxWidth:"550px",icon:'"></i><img src="'+wp_mail_smtp_connect.plugin_url+'/assets/images/font-awesome/exclamation-circle-regular-red.svg" style="width: 40px; height: 40px;"><i class="',type:"red",buttons:{confirm:{text:wp_mail_smtp_connect.text.ok,btnClass:"btn-confirm",keys:["enter"]}}})}};return i}(document,window,jQuery);WPMailSMTPConnect.init();
1
+ "use strict";var WPMailSMTPConnect=window.WPMailSMTPConnect||function(n,e){var c={$connectBtn:e("#wp-mail-smtp-setting-upgrade-license-button"),$connectKey:e("#wp-mail-smtp-setting-upgrade-license-key")},o={init:function(){e(o.ready)},ready:function(){o.events()},events:function(){o.connectBtnClick()},connectBtnClick:function(){c.$connectBtn.on("click",function(){o.gotoUpgradeUrl()})},proAlreadyInstalled:function(t){return{title:wp_mail_smtp_connect.text.almost_done,content:t.data.message,icon:'"></i><img src="'+wp_mail_smtp_connect.plugin_url+'/assets/images/font-awesome/check-circle-solid-green.svg" style="width: 40px; height: 40px;"><i class="',type:"green",buttons:{confirm:{text:wp_mail_smtp_connect.text.plugin_activate_btn,btnClass:"btn-confirm",keys:["enter"],action:function(){n.location.reload()}}}}},gotoUpgradeUrl:function(){var t={action:"wp_mail_smtp_connect_url",key:c.$connectKey.val(),nonce:wp_mail_smtp_connect.nonce};e.post(wp_mail_smtp_connect.ajax_url,t).done(function(t){return t.success?t.data.reload?void e.alert(o.proAlreadyInstalled(t)):void(n.location.href=t.data.url):void e.alert({title:wp_mail_smtp_connect.text.oops,content:t.data.message,icon:'"></i><img src="'+wp_mail_smtp_connect.plugin_url+'/assets/images/font-awesome/exclamation-circle-solid-orange.svg" style="width: 40px; height: 40px;"><i class="',type:"orange",buttons:{confirm:{text:wp_mail_smtp_connect.text.ok,btnClass:"btn-confirm",keys:["enter"]}}})}).fail(function(t){o.failAlert(t)})},failAlert:function(t){e.alert({title:wp_mail_smtp_connect.text.oops,content:wp_mail_smtp_connect.text.server_error+"<br>"+t.status+" "+t.statusText+" "+t.responseText,icon:'"></i><img src="'+wp_mail_smtp_connect.plugin_url+'/assets/images/font-awesome/exclamation-circle-regular-red.svg" style="width: 40px; height: 40px;"><i class="',type:"red",buttons:{confirm:{text:wp_mail_smtp_connect.text.ok,btnClass:"btn-confirm",keys:["enter"]}}})}};return o}((document,window),jQuery);WPMailSMTPConnect.init();
assets/js/smtp-about.js CHANGED
@@ -29,7 +29,7 @@ WPMailSMTP.Admin.About = WPMailSMTP.Admin.About || ( function( document, window,
29
  init: function() {
30
 
31
  // Do that when DOM is ready.
32
- $( document ).ready( app.ready );
33
  },
34
 
35
  /**
29
  init: function() {
30
 
31
  // Do that when DOM is ready.
32
+ $( app.ready );
33
  },
34
 
35
  /**
assets/js/smtp-about.min.js CHANGED
@@ -1 +1 @@
1
- "use strict";var WPMailSMTP=window.WPMailSMTP||{};WPMailSMTP.Admin=WPMailSMTP.Admin||{},WPMailSMTP.Admin.About=WPMailSMTP.Admin.About||function(a,p){var t={init:function(){p(a).ready(t.ready)},ready:function(){t.pageHolder=p(".wp-mail-smtp-page-about"),t.bindActions(),p(".wp-mail-smtp-page").trigger("WPMailSMTP.Admin.About.ready")},bindActions:function(){jQuery(".wp-mail-smtp-admin-about-plugins .plugin-item .details").matchHeight(),p(a).on("click",".wp-mail-smtp-admin-about-plugins .plugin-item .action-button .button",function(a){a.preventDefault();var i=p(this);if(i.hasClass("disabled")||i.hasClass("loading"))return!1;var s,n,l,e,o,d=i.closest(".plugin-item"),t=i.attr("data-plugin");if(i.addClass("loading disabled"),i.text(wp_mail_smtp_about.plugin_processing),i.hasClass("status-inactive"))s="about_plugin_activate",n="status-active button button-secondary disabled",l=wp_mail_smtp_about.plugin_active,e=wp_mail_smtp_about.plugin_activated;else{if(!i.hasClass("status-download"))return;s="about_plugin_install",n="status-active button disabled",l=wp_mail_smtp_about.plugin_active,e=wp_mail_smtp_about.plugin_activated}var u={action:"wp_mail_smtp_ajax",task:s,nonce:wp_mail_smtp_about.nonce,plugin:t};p.post(wp_mail_smtp_about.ajax_url,u,function(a){var t;a.success?(t=!0,"about_plugin_install"===s?(i.attr("data-plugin",a.data.basename),o=a.data.msg,a.data.is_activated||(n="button",l=wp_mail_smtp_about.plugin_inactive,e=wp_mail_smtp_about.plugin_activate)):o=a.data,d.find(".actions").append('<div class="msg success">'+o+"</div>"),d.find("span.status-label").removeClass("status-active status-inactive status-download").addClass(n).removeClass("button button-primary button-secondary disabled").text(l),i.removeClass("status-active status-inactive status-download").removeClass("button button-primary button-secondary disabled").addClass(n).html(e)):(t=!1,a.hasOwnProperty("data")&&a.data.hasOwnProperty(0)&&a.data[0].hasOwnProperty("code")&&"download_failed"===a.data[0].code?d.find(".actions").append('<div class="msg error">'+wp_mail_smtp_about.plugin_install_error+"</div>"):d.find(".actions").append('<div class="msg error">'+a.data+"</div>"),i.html(wp_mail_smtp_about.plugin_download_btn)),t||i.removeClass("disabled"),i.removeClass("loading"),setTimeout(function(){p(".plugin-item .msg").remove()},3e3)}).fail(function(a){console.log(a.responseText)})})}};return t}(document,(window,jQuery)),WPMailSMTP.Admin.About.init();
1
+ "use strict";var WPMailSMTP=window.WPMailSMTP||{};WPMailSMTP.Admin=WPMailSMTP.Admin||{},WPMailSMTP.Admin.About=WPMailSMTP.Admin.About||function(a,d){var t={init:function(){d(t.ready)},ready:function(){t.pageHolder=d(".wp-mail-smtp-page-about"),t.bindActions(),d(".wp-mail-smtp-page").trigger("WPMailSMTP.Admin.About.ready")},bindActions:function(){jQuery(".wp-mail-smtp-admin-about-plugins .plugin-item .details").matchHeight(),d(a).on("click",".wp-mail-smtp-admin-about-plugins .plugin-item .action-button .button",function(a){a.preventDefault();var i=d(this);if(i.hasClass("disabled")||i.hasClass("loading"))return!1;var s,n,l,e,o,u=i.closest(".plugin-item"),a=i.attr("data-plugin");if(i.addClass("loading disabled"),i.text(wp_mail_smtp_about.plugin_processing),i.hasClass("status-inactive"))s="about_plugin_activate",n="status-active button button-secondary disabled",l=wp_mail_smtp_about.plugin_active,e=wp_mail_smtp_about.plugin_activated;else{if(!i.hasClass("status-download"))return;s="about_plugin_install",n="status-active button disabled",l=wp_mail_smtp_about.plugin_active,e=wp_mail_smtp_about.plugin_activated}a={action:"wp_mail_smtp_ajax",task:s,nonce:wp_mail_smtp_about.nonce,plugin:a};d.post(wp_mail_smtp_about.ajax_url,a,function(a){var t;a.success?(t=!0,"about_plugin_install"===s?(i.attr("data-plugin",a.data.basename),o=a.data.msg,a.data.is_activated||(n="button",l=wp_mail_smtp_about.plugin_inactive,e=wp_mail_smtp_about.plugin_activate)):o=a.data,u.find(".actions").append('<div class="msg success">'+o+"</div>"),u.find("span.status-label").removeClass("status-active status-inactive status-download").addClass(n).removeClass("button button-primary button-secondary disabled").text(l),i.removeClass("status-active status-inactive status-download").removeClass("button button-primary button-secondary disabled").addClass(n).html(e)):(t=!1,a.hasOwnProperty("data")&&a.data.hasOwnProperty(0)&&a.data[0].hasOwnProperty("code")&&"download_failed"===a.data[0].code?u.find(".actions").append('<div class="msg error">'+wp_mail_smtp_about.plugin_install_error+"</div>"):u.find(".actions").append('<div class="msg error">'+a.data+"</div>"),i.html(wp_mail_smtp_about.plugin_download_btn)),t||i.removeClass("disabled"),i.removeClass("loading"),setTimeout(function(){d(".plugin-item .msg").remove()},3e3)}).fail(function(a){console.log(a.responseText)})})}};return t}(document,(window,jQuery)),WPMailSMTP.Admin.About.init();
assets/js/smtp-admin.js CHANGED
@@ -1,4 +1,4 @@
1
- /* globals wp_mail_smtp, ajaxurl */
2
  'use strict';
3
 
4
  var WPMailSMTP = window.WPMailSMTP || {};
@@ -38,7 +38,7 @@ WPMailSMTP.Admin.Settings = WPMailSMTP.Admin.Settings || ( function( document, w
38
  init: function() {
39
 
40
  // Do that when DOM is ready.
41
- $( document ).ready( app.ready );
42
  },
43
 
44
  /**
@@ -54,6 +54,8 @@ WPMailSMTP.Admin.Settings = WPMailSMTP.Admin.Settings || ( function( document, w
54
  $( '#screen-meta-links, #screen-meta' ).prependTo( '#wp-mail-smtp-header-temp' ).show();
55
 
56
  app.bindActions();
 
 
57
  },
58
 
59
  /**
@@ -64,11 +66,11 @@ WPMailSMTP.Admin.Settings = WPMailSMTP.Admin.Settings || ( function( document, w
64
  bindActions: function() {
65
 
66
  // Mailer selection.
67
- $( '.wp-mail-smtp-mailer-image', app.pageHolder ).click( function() {
68
  $( this ).parents( '.wp-mail-smtp-mailer' ).find( 'input' ).trigger( 'click' );
69
  } );
70
 
71
- $( '.wp-mail-smtp-mailer input', app.pageHolder ).click( function() {
72
  var $input = $( this );
73
 
74
  if ( $input.prop( 'disabled' ) ) {
@@ -186,13 +188,12 @@ WPMailSMTP.Admin.Settings = WPMailSMTP.Admin.Settings || ( function( document, w
186
  } );
187
 
188
  // Copy input text to clipboard.
189
- $( '.wp-mail-smtp-setting-copy', app.pageHolder ).click( function( e ) {
190
  e.preventDefault();
191
 
192
  var target = $( '#' + $( this ).data( 'source_id' ) ).get( 0 );
193
 
194
  target.select();
195
-
196
  document.execCommand( 'Copy' );
197
 
198
  var $buttonIcon = $( this ).find( '.dashicons' );
@@ -255,18 +256,15 @@ WPMailSMTP.Admin.Settings = WPMailSMTP.Admin.Settings || ( function( document, w
255
  backgroundDismiss: true,
256
  escapeKey: true,
257
  animationBounce: 1,
258
- theme: 'modern',
259
  type: 'blue',
260
- animateFromElement: false,
261
- draggable: false,
262
  closeIcon: true,
263
- useBootstrap: false,
264
  title: wp_mail_smtp.education.upgrade_title.replace( /%name%/g, $input.siblings( 'label' ).text().trim() ),
265
  icon: '"></i>' + wp_mail_smtp.education.upgrade_icon_lock + '<i class="',
266
  content: $( '.wp-mail-smtp-mailer-options .wp-mail-smtp-mailer-option-' + $input.val() + ' .wp-mail-smtp-setting-field' ).html(),
267
  boxWidth: '550px',
268
  onOpenBefore: function() {
269
  this.$btnc.after( '<div class="discount-note">' + wp_mail_smtp.education.upgrade_bonus + wp_mail_smtp.education.upgrade_doc + '</div>' );
 
270
  },
271
  buttons: {
272
  confirm: {
@@ -292,12 +290,12 @@ WPMailSMTP.Admin.Settings = WPMailSMTP.Admin.Settings || ( function( document, w
292
  bindActions: function() {
293
 
294
  // Hide SMTP-specific user/pass when Auth disabled.
295
- $( '#wp-mail-smtp-setting-smtp-auth' ).change( function() {
296
  $( '#wp-mail-smtp-setting-row-smtp-user, #wp-mail-smtp-setting-row-smtp-pass' ).toggleClass( 'inactive' );
297
  } );
298
 
299
  // Port default values based on encryption type.
300
- $( '#wp-mail-smtp-setting-row-smtp-encryption input' ).change( function() {
301
 
302
  var $input = $( this ),
303
  $smtpPort = $( '#wp-mail-smtp-setting-smtp-port', app.pageHolder );
@@ -362,12 +360,7 @@ WPMailSMTP.Admin.Settings = WPMailSMTP.Admin.Settings || ( function( document, w
362
  backgroundDismiss: false,
363
  escapeKey: false,
364
  animationBounce: 1,
365
- theme: 'modern',
366
  type: 'orange',
367
- animateFromElement: false,
368
- draggable: false,
369
- closeIcon: false,
370
- useBootstrap: false,
371
  icon: '"></i><img src="' + wp_mail_smtp.plugin_url + '/assets/images/font-awesome/exclamation-circle-solid-orange.svg" style="width: 40px; height: 40px;" alt="' + wp_mail_smtp.default_mailer_notice.icon_alt + '"><i class="',
372
  title: wp_mail_smtp.default_mailer_notice.title,
373
  content: wp_mail_smtp.default_mailer_notice.content,
@@ -378,11 +371,12 @@ WPMailSMTP.Admin.Settings = WPMailSMTP.Admin.Settings || ( function( document, w
378
  btnClass: 'btn-confirm',
379
  keys: [ 'enter' ],
380
  action: function() {
381
- $thisForm.off( 'submit' ).submit();
382
  }
383
  },
384
  cancel: {
385
  text: wp_mail_smtp.default_mailer_notice.cancel_button,
 
386
  },
387
  }
388
  } );
@@ -427,6 +421,23 @@ WPMailSMTP.Admin.Settings = WPMailSMTP.Admin.Settings || ( function( document, w
427
  $mainSettingInGroup.siblings( '.wp-mail-smtp-setting-mid-row-sep' ).toggle(
428
  mailerSupportedSettings['from_name'] && mailerSupportedSettings['from_name_force']
429
  );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
430
  }
431
  };
432
 
1
+ /* globals wp_mail_smtp, jconfirm, ajaxurl */
2
  'use strict';
3
 
4
  var WPMailSMTP = window.WPMailSMTP || {};
38
  init: function() {
39
 
40
  // Do that when DOM is ready.
41
+ $( app.ready );
42
  },
43
 
44
  /**
54
  $( '#screen-meta-links, #screen-meta' ).prependTo( '#wp-mail-smtp-header-temp' ).show();
55
 
56
  app.bindActions();
57
+
58
+ app.setJQueryConfirmDefaults();
59
  },
60
 
61
  /**
66
  bindActions: function() {
67
 
68
  // Mailer selection.
69
+ $( '.wp-mail-smtp-mailer-image', app.pageHolder ).on( 'click', function() {
70
  $( this ).parents( '.wp-mail-smtp-mailer' ).find( 'input' ).trigger( 'click' );
71
  } );
72
 
73
+ $( '.wp-mail-smtp-mailer input', app.pageHolder ).on( 'click', function() {
74
  var $input = $( this );
75
 
76
  if ( $input.prop( 'disabled' ) ) {
188
  } );
189
 
190
  // Copy input text to clipboard.
191
+ $( '.wp-mail-smtp-setting-copy', app.pageHolder ).on( 'click', function( e ) {
192
  e.preventDefault();
193
 
194
  var target = $( '#' + $( this ).data( 'source_id' ) ).get( 0 );
195
 
196
  target.select();
 
197
  document.execCommand( 'Copy' );
198
 
199
  var $buttonIcon = $( this ).find( '.dashicons' );
256
  backgroundDismiss: true,
257
  escapeKey: true,
258
  animationBounce: 1,
 
259
  type: 'blue',
 
 
260
  closeIcon: true,
 
261
  title: wp_mail_smtp.education.upgrade_title.replace( /%name%/g, $input.siblings( 'label' ).text().trim() ),
262
  icon: '"></i>' + wp_mail_smtp.education.upgrade_icon_lock + '<i class="',
263
  content: $( '.wp-mail-smtp-mailer-options .wp-mail-smtp-mailer-option-' + $input.val() + ' .wp-mail-smtp-setting-field' ).html(),
264
  boxWidth: '550px',
265
  onOpenBefore: function() {
266
  this.$btnc.after( '<div class="discount-note">' + wp_mail_smtp.education.upgrade_bonus + wp_mail_smtp.education.upgrade_doc + '</div>' );
267
+ this.$body.addClass( 'wp-mail-smtp-upgrade-mailer-education-modal' );
268
  },
269
  buttons: {
270
  confirm: {
290
  bindActions: function() {
291
 
292
  // Hide SMTP-specific user/pass when Auth disabled.
293
+ $( '#wp-mail-smtp-setting-smtp-auth' ).on( 'change', function() {
294
  $( '#wp-mail-smtp-setting-row-smtp-user, #wp-mail-smtp-setting-row-smtp-pass' ).toggleClass( 'inactive' );
295
  } );
296
 
297
  // Port default values based on encryption type.
298
+ $( '#wp-mail-smtp-setting-row-smtp-encryption input' ).on( 'change', function() {
299
 
300
  var $input = $( this ),
301
  $smtpPort = $( '#wp-mail-smtp-setting-smtp-port', app.pageHolder );
360
  backgroundDismiss: false,
361
  escapeKey: false,
362
  animationBounce: 1,
 
363
  type: 'orange',
 
 
 
 
364
  icon: '"></i><img src="' + wp_mail_smtp.plugin_url + '/assets/images/font-awesome/exclamation-circle-solid-orange.svg" style="width: 40px; height: 40px;" alt="' + wp_mail_smtp.default_mailer_notice.icon_alt + '"><i class="',
365
  title: wp_mail_smtp.default_mailer_notice.title,
366
  content: wp_mail_smtp.default_mailer_notice.content,
371
  btnClass: 'btn-confirm',
372
  keys: [ 'enter' ],
373
  action: function() {
374
+ $thisForm.off( 'submit' ).trigger( 'submit' );
375
  }
376
  },
377
  cancel: {
378
  text: wp_mail_smtp.default_mailer_notice.cancel_button,
379
+ btnClass: 'btn-cancel',
380
  },
381
  }
382
  } );
421
  $mainSettingInGroup.siblings( '.wp-mail-smtp-setting-mid-row-sep' ).toggle(
422
  mailerSupportedSettings['from_name'] && mailerSupportedSettings['from_name_force']
423
  );
424
+ },
425
+
426
+ /**
427
+ * Set jQuery-Confirm default options.
428
+ *
429
+ * @since 2.9.0
430
+ */
431
+ setJQueryConfirmDefaults: function() {
432
+
433
+ jconfirm.defaults = {
434
+ typeAnimated: false,
435
+ draggable: false,
436
+ animateFromElement: false,
437
+ theme: 'modern',
438
+ boxWidth: '400px',
439
+ useBootstrap: false
440
+ };
441
  }
442
  };
443
 
assets/js/smtp-admin.min.js CHANGED
@@ -1 +1 @@
1
- "use strict";var WPMailSMTP=window.WPMailSMTP||{};WPMailSMTP.Admin=WPMailSMTP.Admin||{},WPMailSMTP.Admin.Settings=WPMailSMTP.Admin.Settings||function(s,n,o){var a={pluginSettingsChanged:!1,init:function(){o(s).ready(a.ready)},ready:function(){a.pageHolder=o(".wp-mail-smtp-tab-settings"),o("#screen-meta-links, #screen-meta").prependTo("#wp-mail-smtp-header-temp").show(),a.bindActions()},bindActions:function(){o(".wp-mail-smtp-mailer-image",a.pageHolder).click(function(){o(this).parents(".wp-mail-smtp-mailer").find("input").trigger("click")}),o(".wp-mail-smtp-mailer input",a.pageHolder).click(function(){var e=o(this);if(e.prop("disabled"))return e.hasClass("educate")&&a.education.upgradeMailer(e),!1;o(".wp-mail-smtp-mailer",a.pageHolder).removeClass("active"),o(this).parents(".wp-mail-smtp-mailer").addClass("active"),o(".wp-mail-smtp-mailer-option",a.pageHolder).addClass("hidden").removeClass("active"),o(".wp-mail-smtp-mailer-option-"+o(this).val(),a.pageHolder).addClass("active").removeClass("hidden")}),a.mailers.smtp.bindActions(),o("#wp-mail-smtp-pro-banner-dismiss",a.pageHolder).on("click",function(){o.ajax({url:ajaxurl,dataType:"json",type:"POST",data:{action:"wp_mail_smtp_ajax",task:"pro_banner_dismiss"}}).always(function(){o("#wp-mail-smtp-pro-banner",a.pageHolder).fadeOut("fast")})}),o(".js-wp-mail-smtp-mailer-notice-dismiss",a.pageHolder).on("click",function(e){e.preventDefault();var t=o(this),i=t.parents(".inline-notice");if(t.hasClass("disabled"))return!1;o.ajax({url:ajaxurl,dataType:"json",type:"POST",data:{action:"wp_mail_smtp_ajax",task:"notice_dismiss",notice:i.data("notice"),mailer:i.data("mailer")},beforeSend:function(){t.addClass("disabled")}}).always(function(){i.fadeOut("fast",function(){t.removeClass("disabled")})})}),o("#wp-mail-smtp-debug .error-log-toggle").on("click",function(e){e.preventDefault(),o("#wp-mail-smtp-debug .error-log").slideToggle()}),o("#wp-mail-smtp-debug .error-log-copy").on("click",function(e){e.preventDefault();var t=o(this),i=o("#wp-mail-smtp-debug .error-log");i.is(":visible")||i.addClass("error-log-selection");var a=s.createRange();a.selectNode(i[0]),n.getSelection().removeAllRanges(),n.getSelection().addRange(a),s.execCommand("Copy"),n.getSelection().removeAllRanges(),i.removeClass("error-log-selection"),t.addClass("error-log-copy-copied"),setTimeout(function(){t.removeClass("error-log-copy-copied")},1500)}),o(".js-wp-mail-smtp-provider-remove",a.pageHolder).on("click",function(){return confirm(wp_mail_smtp.text_provider_remove)}),o(".wp-mail-smtp-setting-copy",a.pageHolder).click(function(e){e.preventDefault(),o("#"+o(this).data("source_id")).get(0).select(),s.execCommand("Copy");var t=o(this).find(".dashicons");t.removeClass("dashicons-admin-page").addClass("dashicons-yes-alt wp-mail-smtp-success wp-mail-smtp-animate"),setTimeout(function(){t.removeClass("dashicons-yes-alt wp-mail-smtp-success wp-mail-smtp-animate").addClass("dashicons-admin-page")},1e3)}),o("#wp-mail-smtp-notice-bar").on("click",".dismiss",function(){var e=o(this).closest("#wp-mail-smtp-notice-bar");e.addClass("out"),setTimeout(function(){e.remove()},300),o.post(ajaxurl,{action:"wp_mail_smtp_notice_bar_dismiss",nonce:wp_mail_smtp.nonce})}),a.triggerExitNotice(),a.beforeSaveChecks(),o(".js-wp-mail-smtp-setting-mailer-radio-input",a.pageHolder).on("change",this.processMailerSettingsOnChange),o(".wp-mail-smtp-tab-tools-test #email-test-form").on("submit",function(){var e=o(this).find(".wp-mail-smtp-btn");e.attr("disabled",!0),e.find("span").hide(),e.find(".wp-mail-smtp-loading").show()})},education:{upgradeMailer:function(e){o.alert({backgroundDismiss:!0,escapeKey:!0,animationBounce:1,theme:"modern",type:"blue",animateFromElement:!1,draggable:!1,closeIcon:!0,useBootstrap:!1,title:wp_mail_smtp.education.upgrade_title.replace(/%name%/g,e.siblings("label").text().trim()),icon:'"></i>'+wp_mail_smtp.education.upgrade_icon_lock+'<i class="',content:o(".wp-mail-smtp-mailer-options .wp-mail-smtp-mailer-option-"+e.val()+" .wp-mail-smtp-setting-field").html(),boxWidth:"550px",onOpenBefore:function(){this.$btnc.after('<div class="discount-note">'+wp_mail_smtp.education.upgrade_bonus+wp_mail_smtp.education.upgrade_doc+"</div>")},buttons:{confirm:{text:wp_mail_smtp.education.upgrade_button,btnClass:"btn-confirm",keys:["enter"],action:function(){n.open(wp_mail_smtp.education.upgrade_url+"&utm_content="+encodeURI(e.val()),"_blank")}}}})}},mailers:{smtp:{bindActions:function(){o("#wp-mail-smtp-setting-smtp-auth").change(function(){o("#wp-mail-smtp-setting-row-smtp-user, #wp-mail-smtp-setting-row-smtp-pass").toggleClass("inactive")}),o("#wp-mail-smtp-setting-row-smtp-encryption input").change(function(){var e=o(this),t=o("#wp-mail-smtp-setting-smtp-port",a.pageHolder);"tls"===e.val()?(t.val("587"),o("#wp-mail-smtp-setting-row-smtp-autotls").addClass("inactive")):("ssl"===e.val()?t.val("465"):t.val("25"),o("#wp-mail-smtp-setting-row-smtp-autotls").removeClass("inactive"))})}}},triggerExitNotice:function(){var e=o(".wp-mail-smtp-page-general");o(n).on("beforeunload",function(){if(a.pluginSettingsChanged)return wp_mail_smtp.text_settings_not_saved}),o(":input:not( #wp-mail-smtp-setting-license-key, .wp-mail-smtp-not-form-input )",e).on("change",function(){a.pluginSettingsChanged=!0}),o("form",e).on("submit",function(){a.pluginSettingsChanged=!1})},beforeSaveChecks:function(){o("form",a.pageHolder).on("submit",function(){if("mail"===o(".wp-mail-smtp-mailer input:checked",a.pageHolder).val()){var e=o(this);return o.alert({backgroundDismiss:!1,escapeKey:!1,animationBounce:1,theme:"modern",type:"orange",animateFromElement:!1,draggable:!1,closeIcon:!1,useBootstrap:!1,icon:'"></i><img src="'+wp_mail_smtp.plugin_url+'/assets/images/font-awesome/exclamation-circle-solid-orange.svg" style="width: 40px; height: 40px;" alt="'+wp_mail_smtp.default_mailer_notice.icon_alt+'"><i class="',title:wp_mail_smtp.default_mailer_notice.title,content:wp_mail_smtp.default_mailer_notice.content,boxWidth:"550px",buttons:{confirm:{text:wp_mail_smtp.default_mailer_notice.save_button,btnClass:"btn-confirm",keys:["enter"],action:function(){e.off("submit").submit()}},cancel:{text:wp_mail_smtp.default_mailer_notice.cancel_button}}}),!1}})},processMailerSettingsOnChange:function(){var e=wp_mail_smtp.all_mailers_supports[o(this).val()];for(var t in e)e.hasOwnProperty(t)&&o(".js-wp-mail-smtp-setting-"+t,a.pageHolder).toggle(e[t]);var i=o(".js-wp-mail-smtp-setting-from_email");i.closest(".wp-mail-smtp-setting-row").toggle(e.from_email||e.from_email_force),i.siblings(".wp-mail-smtp-setting-mid-row-sep").toggle(e.from_email&&e.from_email_force),(i=o(".js-wp-mail-smtp-setting-from_name")).closest(".wp-mail-smtp-setting-row").toggle(e.from_name||e.from_name_force),i.siblings(".wp-mail-smtp-setting-mid-row-sep").toggle(e.from_name&&e.from_name_force)}};return a}(document,window,jQuery),WPMailSMTP.Admin.Settings.init();
1
+ "use strict";var WPMailSMTP=window.WPMailSMTP||{};WPMailSMTP.Admin=WPMailSMTP.Admin||{},WPMailSMTP.Admin.Settings=WPMailSMTP.Admin.Settings||function(a,s,n){var o={pluginSettingsChanged:!1,init:function(){n(o.ready)},ready:function(){o.pageHolder=n(".wp-mail-smtp-tab-settings"),n("#screen-meta-links, #screen-meta").prependTo("#wp-mail-smtp-header-temp").show(),o.bindActions(),o.setJQueryConfirmDefaults()},bindActions:function(){n(".wp-mail-smtp-mailer-image",o.pageHolder).on("click",function(){n(this).parents(".wp-mail-smtp-mailer").find("input").trigger("click")}),n(".wp-mail-smtp-mailer input",o.pageHolder).on("click",function(){var t=n(this);if(t.prop("disabled"))return t.hasClass("educate")&&o.education.upgradeMailer(t),!1;n(".wp-mail-smtp-mailer",o.pageHolder).removeClass("active"),n(this).parents(".wp-mail-smtp-mailer").addClass("active"),n(".wp-mail-smtp-mailer-option",o.pageHolder).addClass("hidden").removeClass("active"),n(".wp-mail-smtp-mailer-option-"+n(this).val(),o.pageHolder).addClass("active").removeClass("hidden")}),o.mailers.smtp.bindActions(),n("#wp-mail-smtp-pro-banner-dismiss",o.pageHolder).on("click",function(){n.ajax({url:ajaxurl,dataType:"json",type:"POST",data:{action:"wp_mail_smtp_ajax",task:"pro_banner_dismiss"}}).always(function(){n("#wp-mail-smtp-pro-banner",o.pageHolder).fadeOut("fast")})}),n(".js-wp-mail-smtp-mailer-notice-dismiss",o.pageHolder).on("click",function(t){t.preventDefault();var e=n(this),i=e.parents(".inline-notice");if(e.hasClass("disabled"))return!1;n.ajax({url:ajaxurl,dataType:"json",type:"POST",data:{action:"wp_mail_smtp_ajax",task:"notice_dismiss",notice:i.data("notice"),mailer:i.data("mailer")},beforeSend:function(){e.addClass("disabled")}}).always(function(){i.fadeOut("fast",function(){e.removeClass("disabled")})})}),n("#wp-mail-smtp-debug .error-log-toggle").on("click",function(t){t.preventDefault(),n("#wp-mail-smtp-debug .error-log").slideToggle()}),n("#wp-mail-smtp-debug .error-log-copy").on("click",function(t){t.preventDefault();var e=n(this),i=n("#wp-mail-smtp-debug .error-log");i.is(":visible")||i.addClass("error-log-selection");t=a.createRange();t.selectNode(i[0]),s.getSelection().removeAllRanges(),s.getSelection().addRange(t),a.execCommand("Copy"),s.getSelection().removeAllRanges(),i.removeClass("error-log-selection"),e.addClass("error-log-copy-copied"),setTimeout(function(){e.removeClass("error-log-copy-copied")},1500)}),n(".js-wp-mail-smtp-provider-remove",o.pageHolder).on("click",function(){return confirm(wp_mail_smtp.text_provider_remove)}),n(".wp-mail-smtp-setting-copy",o.pageHolder).on("click",function(t){t.preventDefault(),n("#"+n(this).data("source_id")).get(0).select(),a.execCommand("Copy");var e=n(this).find(".dashicons");e.removeClass("dashicons-admin-page").addClass("dashicons-yes-alt wp-mail-smtp-success wp-mail-smtp-animate"),setTimeout(function(){e.removeClass("dashicons-yes-alt wp-mail-smtp-success wp-mail-smtp-animate").addClass("dashicons-admin-page")},1e3)}),n("#wp-mail-smtp-notice-bar").on("click",".dismiss",function(){var t=n(this).closest("#wp-mail-smtp-notice-bar");t.addClass("out"),setTimeout(function(){t.remove()},300),n.post(ajaxurl,{action:"wp_mail_smtp_notice_bar_dismiss",nonce:wp_mail_smtp.nonce})}),o.triggerExitNotice(),o.beforeSaveChecks(),n(".js-wp-mail-smtp-setting-mailer-radio-input",o.pageHolder).on("change",this.processMailerSettingsOnChange),n(".wp-mail-smtp-tab-tools-test #email-test-form").on("submit",function(){var t=n(this).find(".wp-mail-smtp-btn");t.attr("disabled",!0),t.find("span").hide(),t.find(".wp-mail-smtp-loading").show()})},education:{upgradeMailer:function(t){n.alert({backgroundDismiss:!0,escapeKey:!0,animationBounce:1,type:"blue",closeIcon:!0,title:wp_mail_smtp.education.upgrade_title.replace(/%name%/g,t.siblings("label").text().trim()),icon:'"></i>'+wp_mail_smtp.education.upgrade_icon_lock+'<i class="',content:n(".wp-mail-smtp-mailer-options .wp-mail-smtp-mailer-option-"+t.val()+" .wp-mail-smtp-setting-field").html(),boxWidth:"550px",onOpenBefore:function(){this.$btnc.after('<div class="discount-note">'+wp_mail_smtp.education.upgrade_bonus+wp_mail_smtp.education.upgrade_doc+"</div>"),this.$body.addClass("wp-mail-smtp-upgrade-mailer-education-modal")},buttons:{confirm:{text:wp_mail_smtp.education.upgrade_button,btnClass:"btn-confirm",keys:["enter"],action:function(){s.open(wp_mail_smtp.education.upgrade_url+"&utm_content="+encodeURI(t.val()),"_blank")}}}})}},mailers:{smtp:{bindActions:function(){n("#wp-mail-smtp-setting-smtp-auth").on("change",function(){n("#wp-mail-smtp-setting-row-smtp-user, #wp-mail-smtp-setting-row-smtp-pass").toggleClass("inactive")}),n("#wp-mail-smtp-setting-row-smtp-encryption input").on("change",function(){var t=n(this),e=n("#wp-mail-smtp-setting-smtp-port",o.pageHolder);"tls"===t.val()?(e.val("587"),n("#wp-mail-smtp-setting-row-smtp-autotls").addClass("inactive")):("ssl"===t.val()?e.val("465"):e.val("25"),n("#wp-mail-smtp-setting-row-smtp-autotls").removeClass("inactive"))})}}},triggerExitNotice:function(){var t=n(".wp-mail-smtp-page-general");n(s).on("beforeunload",function(){if(o.pluginSettingsChanged)return wp_mail_smtp.text_settings_not_saved}),n(":input:not( #wp-mail-smtp-setting-license-key, .wp-mail-smtp-not-form-input )",t).on("change",function(){o.pluginSettingsChanged=!0}),n("form",t).on("submit",function(){o.pluginSettingsChanged=!1})},beforeSaveChecks:function(){n("form",o.pageHolder).on("submit",function(){if("mail"===n(".wp-mail-smtp-mailer input:checked",o.pageHolder).val()){var t=n(this);return n.alert({backgroundDismiss:!1,escapeKey:!1,animationBounce:1,type:"orange",icon:'"></i><img src="'+wp_mail_smtp.plugin_url+'/assets/images/font-awesome/exclamation-circle-solid-orange.svg" style="width: 40px; height: 40px;" alt="'+wp_mail_smtp.default_mailer_notice.icon_alt+'"><i class="',title:wp_mail_smtp.default_mailer_notice.title,content:wp_mail_smtp.default_mailer_notice.content,boxWidth:"550px",buttons:{confirm:{text:wp_mail_smtp.default_mailer_notice.save_button,btnClass:"btn-confirm",keys:["enter"],action:function(){t.off("submit").trigger("submit")}},cancel:{text:wp_mail_smtp.default_mailer_notice.cancel_button,btnClass:"btn-cancel"}}}),!1}})},processMailerSettingsOnChange:function(){var t,e=wp_mail_smtp.all_mailers_supports[n(this).val()];for(t in e)e.hasOwnProperty(t)&&n(".js-wp-mail-smtp-setting-"+t,o.pageHolder).toggle(e[t]);var i=n(".js-wp-mail-smtp-setting-from_email");i.closest(".wp-mail-smtp-setting-row").toggle(e.from_email||e.from_email_force),i.siblings(".wp-mail-smtp-setting-mid-row-sep").toggle(e.from_email&&e.from_email_force),(i=n(".js-wp-mail-smtp-setting-from_name")).closest(".wp-mail-smtp-setting-row").toggle(e.from_name||e.from_name_force),i.siblings(".wp-mail-smtp-setting-mid-row-sep").toggle(e.from_name&&e.from_name_force)},setJQueryConfirmDefaults:function(){jconfirm.defaults={typeAnimated:!1,draggable:!1,animateFromElement:!1,theme:"modern",boxWidth:"400px",useBootstrap:!1}}};return o}(document,window,jQuery),WPMailSMTP.Admin.Settings.init();
assets/js/smtp-dashboard-widget.js ADDED
@@ -0,0 +1,263 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* global wp_mail_smtp_dashboard_widget, ajaxurl, moment, Chart */
2
+ /**
3
+ * WP Mail SMTP Dashboard Widget function.
4
+ *
5
+ * @since 2.9.0
6
+ */
7
+
8
+ 'use strict';
9
+
10
+ var WPMailSMTPDashboardWidget = window.WPMailSMTPDashboardWidget || ( function( document, window, $ ) {
11
+
12
+ /**
13
+ * Elements reference.
14
+ *
15
+ * @since 2.9.0
16
+ *
17
+ * @type {object}
18
+ */
19
+ var el = {
20
+ $canvas : $( '#wp-mail-smtp-dash-widget-chart' ),
21
+ $settingsBtn : $( '#wp-mail-smtp-dash-widget-settings-button' ),
22
+ $dismissBtn : $( '.wp-mail-smtp-dash-widget-dismiss-chart-upgrade' ),
23
+ };
24
+
25
+ /**
26
+ * Chart.js functions and properties.
27
+ *
28
+ * @since 2.9.0
29
+ *
30
+ * @type {object}
31
+ */
32
+ var chart = {
33
+
34
+ /**
35
+ * Chart.js instance.
36
+ *
37
+ * @since 2.9.0
38
+ */
39
+ instance: null,
40
+
41
+ /**
42
+ * Chart.js settings.
43
+ *
44
+ * @since 2.9.0
45
+ */
46
+ settings: {
47
+ type: 'line',
48
+ data: {
49
+ labels: [],
50
+ datasets: [
51
+ {
52
+ label: '',
53
+ data: [],
54
+ backgroundColor: 'rgba(106, 160, 139, 1)',
55
+ borderColor: 'rgba(34, 113, 177, 1)',
56
+ borderWidth: 2,
57
+ pointRadius: 4,
58
+ pointBorderWidth: 1,
59
+ pointBackgroundColor: 'rgba(255, 255, 255, 1)',
60
+ }
61
+ ],
62
+ },
63
+ options: {
64
+ maintainAspectRatio: false,
65
+ scales: {
66
+ xAxes: [ {
67
+ type: 'time',
68
+ time: {
69
+ unit: 'day',
70
+ tooltipFormat: 'MMM D',
71
+ },
72
+ distribution: 'series',
73
+ ticks: {
74
+ beginAtZero: true,
75
+ source: 'labels',
76
+ padding: 10,
77
+ minRotation: 25,
78
+ maxRotation: 25,
79
+ callback: function( value, index, values ) {
80
+
81
+ // Distribute the ticks equally starting from a right side of xAxis.
82
+ var gap = Math.floor( values.length / 7 );
83
+
84
+ if ( gap < 1 ) {
85
+ return value;
86
+ }
87
+ if ( ( values.length - index - 1 ) % gap === 0 ) {
88
+ return value;
89
+ }
90
+ },
91
+ },
92
+ } ],
93
+ yAxes: [ {
94
+ ticks: {
95
+ beginAtZero: true,
96
+ maxTicksLimit: 6,
97
+ padding: 20,
98
+ callback: function( value ) {
99
+
100
+ // Make sure the tick value has no decimals.
101
+ if ( Math.floor( value ) === value ) {
102
+ return value;
103
+ }
104
+ },
105
+ },
106
+ } ],
107
+ },
108
+ elements: {
109
+ line: {
110
+ tension: 0,
111
+ },
112
+ },
113
+ animation: {
114
+ duration: 0,
115
+ },
116
+ hover: {
117
+ animationDuration: 0,
118
+ },
119
+ legend: {
120
+ display: false,
121
+ },
122
+ tooltips: {
123
+ displayColors: false,
124
+ },
125
+ responsiveAnimationDuration: 0,
126
+ },
127
+ },
128
+
129
+ /**
130
+ * Init Chart.js.
131
+ *
132
+ * @since 2.9.0
133
+ */
134
+ init: function() {
135
+
136
+ var ctx;
137
+
138
+ if ( ! el.$canvas.length ) {
139
+ return;
140
+ }
141
+
142
+ ctx = el.$canvas[ 0 ].getContext( '2d' );
143
+
144
+ chart.instance = new Chart( ctx, chart.settings );
145
+
146
+ chart.updateWithDummyData();
147
+
148
+ chart.instance.update();
149
+ },
150
+
151
+ /**
152
+ * Update Chart.js settings with dummy data.
153
+ *
154
+ * @since 2.9.0
155
+ */
156
+ updateWithDummyData: function() {
157
+
158
+ var end = moment().startOf( 'day' ),
159
+ days = 7,
160
+ data = [ 55, 45, 34, 45, 32, 55, 65 ],
161
+ date,
162
+ i;
163
+
164
+ for ( i = 1; i <= days; i++ ) {
165
+
166
+ date = end.clone().subtract( i, 'days' );
167
+
168
+ chart.settings.data.labels.push( date );
169
+ chart.settings.data.datasets[ 0 ].data.push( {
170
+ t: date,
171
+ y: data[ i - 1 ],
172
+ } );
173
+ }
174
+ },
175
+ };
176
+
177
+ /**
178
+ * Public functions and properties.
179
+ *
180
+ * @since 2.9.0
181
+ *
182
+ * @type {object}
183
+ */
184
+ var app = {
185
+
186
+ /**
187
+ * Publicly accessible Chart.js functions and properties.
188
+ *
189
+ * @since 2.9.0
190
+ */
191
+ chart: chart,
192
+
193
+ /**
194
+ * Start the engine.
195
+ *
196
+ * @since 2.9.0
197
+ */
198
+ init: function() {
199
+ $( app.ready );
200
+ },
201
+
202
+ /**
203
+ * Document ready.
204
+ *
205
+ * @since 2.9.0
206
+ */
207
+ ready: function() {
208
+
209
+ el.$settingsBtn.on( 'click', function() {
210
+ $( this ).siblings( '.wp-mail-smtp-dash-widget-settings-menu' ).toggle();
211
+ } );
212
+
213
+ el.$dismissBtn.on( 'click', function( event ) {
214
+ event.preventDefault();
215
+
216
+ app.saveWidgetMeta( 'hide_graph', 1 );
217
+ $( this ).closest( '.wp-mail-smtp-dash-widget-chart-block-container' ).remove();
218
+ $( '#wp-mail-smtp-dash-widget-upgrade-footer' ).show();
219
+ } );
220
+
221
+ chart.init();
222
+ app.removeOverlay( el.$canvas );
223
+ },
224
+
225
+ /**
226
+ * Save dashboard widget meta in backend.
227
+ *
228
+ * @since 2.9.0
229
+ *
230
+ * @param {string} meta Meta name to save.
231
+ * @param {number} value Value to save.
232
+ */
233
+ saveWidgetMeta: function( meta, value ) {
234
+
235
+ var data = {
236
+ _wpnonce: wp_mail_smtp_dashboard_widget.nonce,
237
+ action : 'wp_mail_smtp_' + wp_mail_smtp_dashboard_widget.slug + '_save_widget_meta',
238
+ meta : meta,
239
+ value : value,
240
+ };
241
+
242
+ $.post( ajaxurl, data );
243
+ },
244
+
245
+ /**
246
+ * Remove an overlay from a widget block containing $el.
247
+ *
248
+ * @since 2.9.0
249
+ *
250
+ * @param {object} $el jQuery element inside a widget block.
251
+ */
252
+ removeOverlay: function( $el ) {
253
+ $el.siblings( '.wp-mail-smtp-dash-widget-overlay' ).remove();
254
+ },
255
+ };
256
+
257
+ // Provide access to public functions/properties.
258
+ return app;
259
+
260
+ }( document, window, jQuery ) );
261
+
262
+ // Initialize.
263
+ WPMailSMTPDashboardWidget.init();
assets/js/smtp-dashboard-widget.min.js ADDED
@@ -0,0 +1 @@
 
1
+ "use strict";var WPMailSMTPDashboardWidget=window.WPMailSMTPDashboardWidget||function(i){var a={$canvas:i("#wp-mail-smtp-dash-widget-chart"),$settingsBtn:i("#wp-mail-smtp-dash-widget-settings-button"),$dismissBtn:i(".wp-mail-smtp-dash-widget-dismiss-chart-upgrade")},n={instance:null,settings:{type:"line",data:{labels:[],datasets:[{label:"",data:[],backgroundColor:"rgba(106, 160, 139, 1)",borderColor:"rgba(34, 113, 177, 1)",borderWidth:2,pointRadius:4,pointBorderWidth:1,pointBackgroundColor:"rgba(255, 255, 255, 1)"}]},options:{maintainAspectRatio:!1,scales:{xAxes:[{type:"time",time:{unit:"day",tooltipFormat:"MMM D"},distribution:"series",ticks:{beginAtZero:!0,source:"labels",padding:10,minRotation:25,maxRotation:25,callback:function(t,a,i){var e=Math.floor(i.length/7);return e<1||(i.length-a-1)%e==0?t:void 0}}}],yAxes:[{ticks:{beginAtZero:!0,maxTicksLimit:6,padding:20,callback:function(t){if(Math.floor(t)===t)return t}}}]},elements:{line:{tension:0}},animation:{duration:0},hover:{animationDuration:0},legend:{display:!1},tooltips:{displayColors:!1},responsiveAnimationDuration:0}},init:function(){var t;a.$canvas.length&&(t=a.$canvas[0].getContext("2d"),n.instance=new Chart(t,n.settings),n.updateWithDummyData(),n.instance.update())},updateWithDummyData:function(){for(var t,a=moment().startOf("day"),i=[55,45,34,45,32,55,65],e=1;e<=7;e++)t=a.clone().subtract(e,"days"),n.settings.data.labels.push(t),n.settings.data.datasets[0].data.push({t:t,y:i[e-1]})}},e={chart:n,init:function(){i(e.ready)},ready:function(){a.$settingsBtn.on("click",function(){i(this).siblings(".wp-mail-smtp-dash-widget-settings-menu").toggle()}),a.$dismissBtn.on("click",function(t){t.preventDefault(),e.saveWidgetMeta("hide_graph",1),i(this).closest(".wp-mail-smtp-dash-widget-chart-block-container").remove(),i("#wp-mail-smtp-dash-widget-upgrade-footer").show()}),n.init(),e.removeOverlay(a.$canvas)},saveWidgetMeta:function(t,a){a={_wpnonce:wp_mail_smtp_dashboard_widget.nonce,action:"wp_mail_smtp_"+wp_mail_smtp_dashboard_widget.slug+"_save_widget_meta",meta:t,value:a};i.post(ajaxurl,a)},removeOverlay:function(t){t.siblings(".wp-mail-smtp-dash-widget-overlay").remove()}};return e}((document,window,jQuery));WPMailSMTPDashboardWidget.init();
assets/js/smtp-notifications.js CHANGED
@@ -40,7 +40,7 @@ var WPMailSMTPAdminNotifications = window.WPMailSMTPAdminNotifications || ( func
40
  */
41
  init: function() {
42
 
43
- $( document ).ready( app.ready );
44
  },
45
 
46
  /**
@@ -159,9 +159,9 @@ var WPMailSMTPAdminNotifications = window.WPMailSMTPAdminNotifications || ( func
159
  */
160
  updateNavigation: function() {
161
 
162
- el.$currentMessage = el.$notifications.find( '.message.current' );
163
- el.$nextMessage = el.$currentMessage.next( '.message' );
164
- el.$prevMessage = el.$currentMessage.prev( '.message' );
165
 
166
  if ( el.$nextMessage.length === 0 ) {
167
  el.$nextButton.addClass( 'disabled' );
40
  */
41
  init: function() {
42
 
43
+ $( app.ready );
44
  },
45
 
46
  /**
159
  */
160
  updateNavigation: function() {
161
 
162
+ el.$currentMessage = el.$notifications.find( '.wp-mail-smtp-notifications-message.current' );
163
+ el.$nextMessage = el.$currentMessage.next( '.wp-mail-smtp-notifications-message' );
164
+ el.$prevMessage = el.$currentMessage.prev( '.wp-mail-smtp-notifications-message' );
165
 
166
  if ( el.$nextMessage.length === 0 ) {
167
  el.$nextButton.addClass( 'disabled' );
assets/js/smtp-notifications.min.js CHANGED
@@ -1 +1 @@
1
- "use strict";var WPMailSMTPAdminNotifications=window.WPMailSMTPAdminNotifications||function(e,t){var a={$notifications:t("#wp-mail-smtp-notifications"),$nextButton:t("#wp-mail-smtp-notifications .navigation .next"),$prevButton:t("#wp-mail-smtp-notifications .navigation .prev"),$adminBarCounter:t("#wp-admin-bar-wp-mail-smtp-menu .wp-mail-smtp-admin-bar-menu-notification-counter")},s={init:function(){t(e).ready(s.ready)},ready:function(){s.updateNavigation(),s.events()},events:function(){a.$notifications.on("click",".dismiss",s.dismiss).on("click",".next",s.navNext).on("click",".prev",s.navPrev)},dismiss:function(e){if(0!==a.$currentMessage.length){var n={action:"wp_mail_smtp_notification_dismiss",nonce:wp_mail_smtp.nonce,id:a.$currentMessage.data("message-id")};t.post(ajaxurl,n,function(e){if(e.success){var n=parseInt(a.$adminBarCounter.text(),10);1<n?(--n,a.$adminBarCounter.html("<span>"+n+"</span>")):a.$adminBarCounter.remove();var t=a.$nextMessage.length<1?a.$prevMessage:a.$nextMessage;0===t.length?a.$notifications.remove():(a.$currentMessage.remove(),t.addClass("current"),s.updateNavigation())}})}},navNext:function(e){a.$nextButton.hasClass("disabled")||(a.$currentMessage.removeClass("current"),a.$nextMessage.addClass("current"),s.updateNavigation())},navPrev:function(e){a.$prevButton.hasClass("disabled")||(a.$currentMessage.removeClass("current"),a.$prevMessage.addClass("current"),s.updateNavigation())},updateNavigation:function(){a.$currentMessage=a.$notifications.find(".message.current"),a.$nextMessage=a.$currentMessage.next(".message"),a.$prevMessage=a.$currentMessage.prev(".message"),0===a.$nextMessage.length?a.$nextButton.addClass("disabled"):a.$nextButton.removeClass("disabled"),0===a.$prevMessage.length?a.$prevButton.addClass("disabled"):a.$prevButton.removeClass("disabled")}};return s}(document,(window,jQuery));WPMailSMTPAdminNotifications.init();
1
+ "use strict";var WPMailSMTPAdminNotifications=window.WPMailSMTPAdminNotifications||function(t){var a={$notifications:t("#wp-mail-smtp-notifications"),$nextButton:t("#wp-mail-smtp-notifications .navigation .next"),$prevButton:t("#wp-mail-smtp-notifications .navigation .prev"),$adminBarCounter:t("#wp-admin-bar-wp-mail-smtp-menu .wp-mail-smtp-admin-bar-menu-notification-counter")},i={init:function(){t(i.ready)},ready:function(){i.updateNavigation(),i.events()},events:function(){a.$notifications.on("click",".dismiss",i.dismiss).on("click",".next",i.navNext).on("click",".prev",i.navPrev)},dismiss:function(e){var n;0!==a.$currentMessage.length&&(n={action:"wp_mail_smtp_notification_dismiss",nonce:wp_mail_smtp.nonce,id:a.$currentMessage.data("message-id")},t.post(ajaxurl,n,function(e){e.success&&(1<(e=parseInt(a.$adminBarCounter.text(),10))?a.$adminBarCounter.html("<span>"+--e+"</span>"):a.$adminBarCounter.remove(),0===(e=a.$nextMessage.length<1?a.$prevMessage:a.$nextMessage).length?a.$notifications.remove():(a.$currentMessage.remove(),e.addClass("current"),i.updateNavigation()))}))},navNext:function(e){a.$nextButton.hasClass("disabled")||(a.$currentMessage.removeClass("current"),a.$nextMessage.addClass("current"),i.updateNavigation())},navPrev:function(e){a.$prevButton.hasClass("disabled")||(a.$currentMessage.removeClass("current"),a.$prevMessage.addClass("current"),i.updateNavigation())},updateNavigation:function(){a.$currentMessage=a.$notifications.find(".wp-mail-smtp-notifications-message.current"),a.$nextMessage=a.$currentMessage.next(".wp-mail-smtp-notifications-message"),a.$prevMessage=a.$currentMessage.prev(".wp-mail-smtp-notifications-message"),0===a.$nextMessage.length?a.$nextButton.addClass("disabled"):a.$nextButton.removeClass("disabled"),0===a.$prevMessage.length?a.$prevButton.addClass("disabled"):a.$prevButton.removeClass("disabled")}};return i}((document,window,jQuery));WPMailSMTPAdminNotifications.init();
assets/js/vendor/chart.min.js ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ /*!
2
+ * Chart.js v2.9.4
3
+ * https://www.chartjs.org
4
+ * (c) 2020 Chart.js Contributors
5
+ * Released under the MIT License
6
+ */
7
+ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(function(){try{return require("moment")}catch(t){}}()):"function"==typeof define&&define.amd?define(["require"],(function(t){return e(function(){try{return t("moment")}catch(t){}}())})):(t=t||self).Chart=e(t.moment)}(this,(function(t){"use strict";t=t&&t.hasOwnProperty("default")?t.default:t;var e={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},n=function(t,e){return t(e={exports:{}},e.exports),e.exports}((function(t){var n={};for(var i in e)e.hasOwnProperty(i)&&(n[e[i]]=i);var a=t.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var r in a)if(a.hasOwnProperty(r)){if(!("channels"in a[r]))throw new Error("missing channels property: "+r);if(!("labels"in a[r]))throw new Error("missing channel labels property: "+r);if(a[r].labels.length!==a[r].channels)throw new Error("channel and label counts mismatch: "+r);var o=a[r].channels,s=a[r].labels;delete a[r].channels,delete a[r].labels,Object.defineProperty(a[r],"channels",{value:o}),Object.defineProperty(a[r],"labels",{value:s})}a.rgb.hsl=function(t){var e,n,i=t[0]/255,a=t[1]/255,r=t[2]/255,o=Math.min(i,a,r),s=Math.max(i,a,r),l=s-o;return s===o?e=0:i===s?e=(a-r)/l:a===s?e=2+(r-i)/l:r===s&&(e=4+(i-a)/l),(e=Math.min(60*e,360))<0&&(e+=360),n=(o+s)/2,[e,100*(s===o?0:n<=.5?l/(s+o):l/(2-s-o)),100*n]},a.rgb.hsv=function(t){var e,n,i,a,r,o=t[0]/255,s=t[1]/255,l=t[2]/255,u=Math.max(o,s,l),d=u-Math.min(o,s,l),h=function(t){return(u-t)/6/d+.5};return 0===d?a=r=0:(r=d/u,e=h(o),n=h(s),i=h(l),o===u?a=i-n:s===u?a=1/3+e-i:l===u&&(a=2/3+n-e),a<0?a+=1:a>1&&(a-=1)),[360*a,100*r,100*u]},a.rgb.hwb=function(t){var e=t[0],n=t[1],i=t[2];return[a.rgb.hsl(t)[0],100*(1/255*Math.min(e,Math.min(n,i))),100*(i=1-1/255*Math.max(e,Math.max(n,i)))]},a.rgb.cmyk=function(t){var e,n=t[0]/255,i=t[1]/255,a=t[2]/255;return[100*((1-n-(e=Math.min(1-n,1-i,1-a)))/(1-e)||0),100*((1-i-e)/(1-e)||0),100*((1-a-e)/(1-e)||0),100*e]},a.rgb.keyword=function(t){var i=n[t];if(i)return i;var a,r,o,s=1/0;for(var l in e)if(e.hasOwnProperty(l)){var u=e[l],d=(r=t,o=u,Math.pow(r[0]-o[0],2)+Math.pow(r[1]-o[1],2)+Math.pow(r[2]-o[2],2));d<s&&(s=d,a=l)}return a},a.keyword.rgb=function(t){return e[t]},a.rgb.xyz=function(t){var e=t[0]/255,n=t[1]/255,i=t[2]/255;return[100*(.4124*(e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92)),100*(.2126*e+.7152*n+.0722*i),100*(.0193*e+.1192*n+.9505*i)]},a.rgb.lab=function(t){var e=a.rgb.xyz(t),n=e[0],i=e[1],r=e[2];return i/=100,r/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116)-16,500*(n-i),200*(i-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},a.hsl.rgb=function(t){var e,n,i,a,r,o=t[0]/360,s=t[1]/100,l=t[2]/100;if(0===s)return[r=255*l,r,r];e=2*l-(n=l<.5?l*(1+s):l+s-l*s),a=[0,0,0];for(var u=0;u<3;u++)(i=o+1/3*-(u-1))<0&&i++,i>1&&i--,r=6*i<1?e+6*(n-e)*i:2*i<1?n:3*i<2?e+(n-e)*(2/3-i)*6:e,a[u]=255*r;return a},a.hsl.hsv=function(t){var e=t[0],n=t[1]/100,i=t[2]/100,a=n,r=Math.max(i,.01);return n*=(i*=2)<=1?i:2-i,a*=r<=1?r:2-r,[e,100*(0===i?2*a/(r+a):2*n/(i+n)),100*((i+n)/2)]},a.hsv.rgb=function(t){var e=t[0]/60,n=t[1]/100,i=t[2]/100,a=Math.floor(e)%6,r=e-Math.floor(e),o=255*i*(1-n),s=255*i*(1-n*r),l=255*i*(1-n*(1-r));switch(i*=255,a){case 0:return[i,l,o];case 1:return[s,i,o];case 2:return[o,i,l];case 3:return[o,s,i];case 4:return[l,o,i];case 5:return[i,o,s]}},a.hsv.hsl=function(t){var e,n,i,a=t[0],r=t[1]/100,o=t[2]/100,s=Math.max(o,.01);return i=(2-r)*o,n=r*s,[a,100*(n=(n/=(e=(2-r)*s)<=1?e:2-e)||0),100*(i/=2)]},a.hwb.rgb=function(t){var e,n,i,a,r,o,s,l=t[0]/360,u=t[1]/100,d=t[2]/100,h=u+d;switch(h>1&&(u/=h,d/=h),i=6*l-(e=Math.floor(6*l)),0!=(1&e)&&(i=1-i),a=u+i*((n=1-d)-u),e){default:case 6:case 0:r=n,o=a,s=u;break;case 1:r=a,o=n,s=u;break;case 2:r=u,o=n,s=a;break;case 3:r=u,o=a,s=n;break;case 4:r=a,o=u,s=n;break;case 5:r=n,o=u,s=a}return[255*r,255*o,255*s]},a.cmyk.rgb=function(t){var e=t[0]/100,n=t[1]/100,i=t[2]/100,a=t[3]/100;return[255*(1-Math.min(1,e*(1-a)+a)),255*(1-Math.min(1,n*(1-a)+a)),255*(1-Math.min(1,i*(1-a)+a))]},a.xyz.rgb=function(t){var e,n,i,a=t[0]/100,r=t[1]/100,o=t[2]/100;return n=-.9689*a+1.8758*r+.0415*o,i=.0557*a+-.204*r+1.057*o,e=(e=3.2406*a+-1.5372*r+-.4986*o)>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:12.92*i,[255*(e=Math.min(Math.max(0,e),1)),255*(n=Math.min(Math.max(0,n),1)),255*(i=Math.min(Math.max(0,i),1))]},a.xyz.lab=function(t){var e=t[0],n=t[1],i=t[2];return n/=100,i/=108.883,e=(e/=95.047)>.008856?Math.pow(e,1/3):7.787*e+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(e-n),200*(n-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]},a.lab.xyz=function(t){var e,n,i,a=t[0];e=t[1]/500+(n=(a+16)/116),i=n-t[2]/200;var r=Math.pow(n,3),o=Math.pow(e,3),s=Math.pow(i,3);return n=r>.008856?r:(n-16/116)/7.787,e=o>.008856?o:(e-16/116)/7.787,i=s>.008856?s:(i-16/116)/7.787,[e*=95.047,n*=100,i*=108.883]},a.lab.lch=function(t){var e,n=t[0],i=t[1],a=t[2];return(e=360*Math.atan2(a,i)/2/Math.PI)<0&&(e+=360),[n,Math.sqrt(i*i+a*a),e]},a.lch.lab=function(t){var e,n=t[0],i=t[1];return e=t[2]/360*2*Math.PI,[n,i*Math.cos(e),i*Math.sin(e)]},a.rgb.ansi16=function(t){var e=t[0],n=t[1],i=t[2],r=1 in arguments?arguments[1]:a.rgb.hsv(t)[2];if(0===(r=Math.round(r/50)))return 30;var o=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(e/255));return 2===r&&(o+=60),o},a.hsv.ansi16=function(t){return a.rgb.ansi16(a.hsv.rgb(t),t[2])},a.rgb.ansi256=function(t){var e=t[0],n=t[1],i=t[2];return e===n&&n===i?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(n/255*5)+Math.round(i/255*5)},a.ansi16.rgb=function(t){var e=t%10;if(0===e||7===e)return t>50&&(e+=3.5),[e=e/10.5*255,e,e];var n=.5*(1+~~(t>50));return[(1&e)*n*255,(e>>1&1)*n*255,(e>>2&1)*n*255]},a.ansi256.rgb=function(t){if(t>=232){var e=10*(t-232)+8;return[e,e,e]}var n;return t-=16,[Math.floor(t/36)/5*255,Math.floor((n=t%36)/6)/5*255,n%6/5*255]},a.rgb.hex=function(t){var e=(((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toString(16).toUpperCase();return"000000".substring(e.length)+e},a.hex.rgb=function(t){var e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];var n=e[0];3===e[0].length&&(n=n.split("").map((function(t){return t+t})).join(""));var i=parseInt(n,16);return[i>>16&255,i>>8&255,255&i]},a.rgb.hcg=function(t){var e,n=t[0]/255,i=t[1]/255,a=t[2]/255,r=Math.max(Math.max(n,i),a),o=Math.min(Math.min(n,i),a),s=r-o;return e=s<=0?0:r===n?(i-a)/s%6:r===i?2+(a-n)/s:4+(n-i)/s+4,e/=6,[360*(e%=1),100*s,100*(s<1?o/(1-s):0)]},a.hsl.hcg=function(t){var e=t[1]/100,n=t[2]/100,i=1,a=0;return(i=n<.5?2*e*n:2*e*(1-n))<1&&(a=(n-.5*i)/(1-i)),[t[0],100*i,100*a]},a.hsv.hcg=function(t){var e=t[1]/100,n=t[2]/100,i=e*n,a=0;return i<1&&(a=(n-i)/(1-i)),[t[0],100*i,100*a]},a.hcg.rgb=function(t){var e=t[0]/360,n=t[1]/100,i=t[2]/100;if(0===n)return[255*i,255*i,255*i];var a,r=[0,0,0],o=e%1*6,s=o%1,l=1-s;switch(Math.floor(o)){case 0:r[0]=1,r[1]=s,r[2]=0;break;case 1:r[0]=l,r[1]=1,r[2]=0;break;case 2:r[0]=0,r[1]=1,r[2]=s;break;case 3:r[0]=0,r[1]=l,r[2]=1;break;case 4:r[0]=s,r[1]=0,r[2]=1;break;default:r[0]=1,r[1]=0,r[2]=l}return a=(1-n)*i,[255*(n*r[0]+a),255*(n*r[1]+a),255*(n*r[2]+a)]},a.hcg.hsv=function(t){var e=t[1]/100,n=e+t[2]/100*(1-e),i=0;return n>0&&(i=e/n),[t[0],100*i,100*n]},a.hcg.hsl=function(t){var e=t[1]/100,n=t[2]/100*(1-e)+.5*e,i=0;return n>0&&n<.5?i=e/(2*n):n>=.5&&n<1&&(i=e/(2*(1-n))),[t[0],100*i,100*n]},a.hcg.hwb=function(t){var e=t[1]/100,n=e+t[2]/100*(1-e);return[t[0],100*(n-e),100*(1-n)]},a.hwb.hcg=function(t){var e=t[1]/100,n=1-t[2]/100,i=n-e,a=0;return i<1&&(a=(n-i)/(1-i)),[t[0],100*i,100*a]},a.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},a.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},a.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},a.gray.hsl=a.gray.hsv=function(t){return[0,0,t[0]]},a.gray.hwb=function(t){return[0,100,t[0]]},a.gray.cmyk=function(t){return[0,0,0,t[0]]},a.gray.lab=function(t){return[t[0],0,0]},a.gray.hex=function(t){var e=255&Math.round(t[0]/100*255),n=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(n.length)+n},a.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]}}));n.rgb,n.hsl,n.hsv,n.hwb,n.cmyk,n.xyz,n.lab,n.lch,n.hex,n.keyword,n.ansi16,n.ansi256,n.hcg,n.apple,n.gray;function i(t){var e=function(){for(var t={},e=Object.keys(n),i=e.length,a=0;a<i;a++)t[e[a]]={distance:-1,parent:null};return t}(),i=[t];for(e[t].distance=0;i.length;)for(var a=i.pop(),r=Object.keys(n[a]),o=r.length,s=0;s<o;s++){var l=r[s],u=e[l];-1===u.distance&&(u.distance=e[a].distance+1,u.parent=a,i.unshift(l))}return e}function a(t,e){return function(n){return e(t(n))}}function r(t,e){for(var i=[e[t].parent,t],r=n[e[t].parent][t],o=e[t].parent;e[o].parent;)i.unshift(e[o].parent),r=a(n[e[o].parent][o],r),o=e[o].parent;return r.conversion=i,r}var o={};Object.keys(n).forEach((function(t){o[t]={},Object.defineProperty(o[t],"channels",{value:n[t].channels}),Object.defineProperty(o[t],"labels",{value:n[t].labels});var e=function(t){for(var e=i(t),n={},a=Object.keys(e),o=a.length,s=0;s<o;s++){var l=a[s];null!==e[l].parent&&(n[l]=r(l,e))}return n}(t);Object.keys(e).forEach((function(n){var i=e[n];o[t][n]=function(t){var e=function(e){if(null==e)return e;arguments.length>1&&(e=Array.prototype.slice.call(arguments));var n=t(e);if("object"==typeof n)for(var i=n.length,a=0;a<i;a++)n[a]=Math.round(n[a]);return n};return"conversion"in t&&(e.conversion=t.conversion),e}(i),o[t][n].raw=function(t){var e=function(e){return null==e?e:(arguments.length>1&&(e=Array.prototype.slice.call(arguments)),t(e))};return"conversion"in t&&(e.conversion=t.conversion),e}(i)}))}));var s=o,l={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},u={getRgba:d,getHsla:h,getRgb:function(t){var e=d(t);return e&&e.slice(0,3)},getHsl:function(t){var e=h(t);return e&&e.slice(0,3)},getHwb:c,getAlpha:function(t){var e=d(t);if(e)return e[3];if(e=h(t))return e[3];if(e=c(t))return e[3]},hexString:function(t,e){e=void 0!==e&&3===t.length?e:t[3];return"#"+v(t[0])+v(t[1])+v(t[2])+(e>=0&&e<1?v(Math.round(255*e)):"")},rgbString:function(t,e){if(e<1||t[3]&&t[3]<1)return f(t,e);return"rgb("+t[0]+", "+t[1]+", "+t[2]+")"},rgbaString:f,percentString:function(t,e){if(e<1||t[3]&&t[3]<1)return g(t,e);var n=Math.round(t[0]/255*100),i=Math.round(t[1]/255*100),a=Math.round(t[2]/255*100);return"rgb("+n+"%, "+i+"%, "+a+"%)"},percentaString:g,hslString:function(t,e){if(e<1||t[3]&&t[3]<1)return p(t,e);return"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)"},hslaString:p,hwbString:function(t,e){void 0===e&&(e=void 0!==t[3]?t[3]:1);return"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+(void 0!==e&&1!==e?", "+e:"")+")"},keyword:function(t){return b[t.slice(0,3)]}};function d(t){if(t){var e=[0,0,0],n=1,i=t.match(/^#([a-fA-F0-9]{3,4})$/i),a="";if(i){a=(i=i[1])[3];for(var r=0;r<e.length;r++)e[r]=parseInt(i[r]+i[r],16);a&&(n=Math.round(parseInt(a+a,16)/255*100)/100)}else if(i=t.match(/^#([a-fA-F0-9]{6}([a-fA-F0-9]{2})?)$/i)){a=i[2],i=i[1];for(r=0;r<e.length;r++)e[r]=parseInt(i.slice(2*r,2*r+2),16);a&&(n=Math.round(parseInt(a,16)/255*100)/100)}else if(i=t.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(r=0;r<e.length;r++)e[r]=parseInt(i[r+1]);n=parseFloat(i[4])}else if(i=t.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(r=0;r<e.length;r++)e[r]=Math.round(2.55*parseFloat(i[r+1]));n=parseFloat(i[4])}else if(i=t.match(/(\w+)/)){if("transparent"==i[1])return[0,0,0,0];if(!(e=l[i[1]]))return}for(r=0;r<e.length;r++)e[r]=m(e[r],0,255);return n=n||0==n?m(n,0,1):1,e[3]=n,e}}function h(t){if(t){var e=t.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(e){var n=parseFloat(e[4]);return[m(parseInt(e[1]),0,360),m(parseFloat(e[2]),0,100),m(parseFloat(e[3]),0,100),m(isNaN(n)?1:n,0,1)]}}}function c(t){if(t){var e=t.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(e){var n=parseFloat(e[4]);return[m(parseInt(e[1]),0,360),m(parseFloat(e[2]),0,100),m(parseFloat(e[3]),0,100),m(isNaN(n)?1:n,0,1)]}}}function f(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+e+")"}function g(t,e){return"rgba("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%, "+(e||t[3]||1)+")"}function p(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+e+")"}function m(t,e,n){return Math.min(Math.max(e,t),n)}function v(t){var e=t.toString(16).toUpperCase();return e.length<2?"0"+e:e}var b={};for(var x in l)b[l[x]]=x;var y=function(t){return t instanceof y?t:this instanceof y?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"==typeof t?(e=u.getRgba(t))?this.setValues("rgb",e):(e=u.getHsla(t))?this.setValues("hsl",e):(e=u.getHwb(t))&&this.setValues("hwb",e):"object"==typeof t&&(void 0!==(e=t).r||void 0!==e.red?this.setValues("rgb",e):void 0!==e.l||void 0!==e.lightness?this.setValues("hsl",e):void 0!==e.v||void 0!==e.value?this.setValues("hsv",e):void 0!==e.w||void 0!==e.whiteness?this.setValues("hwb",e):void 0===e.c&&void 0===e.cyan||this.setValues("cmyk",e)))):new y(t);var e};y.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var t=this.values;return 1!==t.alpha?t.hwb.concat([t.alpha]):t.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var t=this.values;return t.rgb.concat([t.alpha])},hslaArray:function(){var t=this.values;return t.hsl.concat([t.alpha])},alpha:function(t){return void 0===t?this.values.alpha:(this.setValues("alpha",t),this)},red:function(t){return this.setChannel("rgb",0,t)},green:function(t){return this.setChannel("rgb",1,t)},blue:function(t){return this.setChannel("rgb",2,t)},hue:function(t){return t&&(t=(t%=360)<0?360+t:t),this.setChannel("hsl",0,t)},saturation:function(t){return this.setChannel("hsl",1,t)},lightness:function(t){return this.setChannel("hsl",2,t)},saturationv:function(t){return this.setChannel("hsv",1,t)},whiteness:function(t){return this.setChannel("hwb",1,t)},blackness:function(t){return this.setChannel("hwb",2,t)},value:function(t){return this.setChannel("hsv",2,t)},cyan:function(t){return this.setChannel("cmyk",0,t)},magenta:function(t){return this.setChannel("cmyk",1,t)},yellow:function(t){return this.setChannel("cmyk",2,t)},black:function(t){return this.setChannel("cmyk",3,t)},hexString:function(){return u.hexString(this.values.rgb)},rgbString:function(){return u.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return u.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return u.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return u.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return u.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return u.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return u.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var t=this.values.rgb;return t[0]<<16|t[1]<<8|t[2]},luminosity:function(){for(var t=this.values.rgb,e=[],n=0;n<t.length;n++){var i=t[n]/255;e[n]=i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4)}return.2126*e[0]+.7152*e[1]+.0722*e[2]},contrast:function(t){var e=this.luminosity(),n=t.luminosity();return e>n?(e+.05)/(n+.05):(n+.05)/(e+.05)},level:function(t){var e=this.contrast(t);return e>=7.1?"AAA":e>=4.5?"AA":""},dark:function(){var t=this.values.rgb;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var t=[],e=0;e<3;e++)t[e]=255-this.values.rgb[e];return this.setValues("rgb",t),this},lighten:function(t){var e=this.values.hsl;return e[2]+=e[2]*t,this.setValues("hsl",e),this},darken:function(t){var e=this.values.hsl;return e[2]-=e[2]*t,this.setValues("hsl",e),this},saturate:function(t){var e=this.values.hsl;return e[1]+=e[1]*t,this.setValues("hsl",e),this},desaturate:function(t){var e=this.values.hsl;return e[1]-=e[1]*t,this.setValues("hsl",e),this},whiten:function(t){var e=this.values.hwb;return e[1]+=e[1]*t,this.setValues("hwb",e),this},blacken:function(t){var e=this.values.hwb;return e[2]+=e[2]*t,this.setValues("hwb",e),this},greyscale:function(){var t=this.values.rgb,e=.3*t[0]+.59*t[1]+.11*t[2];return this.setValues("rgb",[e,e,e]),this},clearer:function(t){var e=this.values.alpha;return this.setValues("alpha",e-e*t),this},opaquer:function(t){var e=this.values.alpha;return this.setValues("alpha",e+e*t),this},rotate:function(t){var e=this.values.hsl,n=(e[0]+t)%360;return e[0]=n<0?360+n:n,this.setValues("hsl",e),this},mix:function(t,e){var n=t,i=void 0===e?.5:e,a=2*i-1,r=this.alpha()-n.alpha(),o=((a*r==-1?a:(a+r)/(1+a*r))+1)/2,s=1-o;return this.rgb(o*this.red()+s*n.red(),o*this.green()+s*n.green(),o*this.blue()+s*n.blue()).alpha(this.alpha()*i+n.alpha()*(1-i))},toJSON:function(){return this.rgb()},clone:function(){var t,e,n=new y,i=this.values,a=n.values;for(var r in i)i.hasOwnProperty(r)&&(t=i[r],"[object Array]"===(e={}.toString.call(t))?a[r]=t.slice(0):"[object Number]"===e?a[r]=t:console.error("unexpected color value:",t));return n}},y.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},y.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},y.prototype.getValues=function(t){for(var e=this.values,n={},i=0;i<t.length;i++)n[t.charAt(i)]=e[t][i];return 1!==e.alpha&&(n.a=e.alpha),n},y.prototype.setValues=function(t,e){var n,i,a=this.values,r=this.spaces,o=this.maxes,l=1;if(this.valid=!0,"alpha"===t)l=e;else if(e.length)a[t]=e.slice(0,t.length),l=e[t.length];else if(void 0!==e[t.charAt(0)]){for(n=0;n<t.length;n++)a[t][n]=e[t.charAt(n)];l=e.a}else if(void 0!==e[r[t][0]]){var u=r[t];for(n=0;n<t.length;n++)a[t][n]=e[u[n]];l=e.alpha}if(a.alpha=Math.max(0,Math.min(1,void 0===l?a.alpha:l)),"alpha"===t)return!1;for(n=0;n<t.length;n++)i=Math.max(0,Math.min(o[t][n],a[t][n])),a[t][n]=Math.round(i);for(var d in r)d!==t&&(a[d]=s[t][d](a[t]));return!0},y.prototype.setSpace=function(t,e){var n=e[0];return void 0===n?this.getValues(t):("number"==typeof n&&(n=Array.prototype.slice.call(e)),this.setValues(t,n),this)},y.prototype.setChannel=function(t,e,n){var i=this.values[t];return void 0===n?i[e]:n===i[e]?this:(i[e]=n,this.setValues(t,i),this)},"undefined"!=typeof window&&(window.Color=y);var _=y;function k(t){return-1===["__proto__","prototype","constructor"].indexOf(t)}var w,M={noop:function(){},uid:(w=0,function(){return w++}),isNullOrUndef:function(t){return null==t},isArray:function(t){if(Array.isArray&&Array.isArray(t))return!0;var e=Object.prototype.toString.call(t);return"[object"===e.substr(0,7)&&"Array]"===e.substr(-6)},isObject:function(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)},isFinite:function(t){return("number"==typeof t||t instanceof Number)&&isFinite(t)},valueOrDefault:function(t,e){return void 0===t?e:t},valueAtIndexOrDefault:function(t,e,n){return M.valueOrDefault(M.isArray(t)?t[e]:t,n)},callback:function(t,e,n){if(t&&"function"==typeof t.call)return t.apply(n,e)},each:function(t,e,n,i){var a,r,o;if(M.isArray(t))if(r=t.length,i)for(a=r-1;a>=0;a--)e.call(n,t[a],a);else for(a=0;a<r;a++)e.call(n,t[a],a);else if(M.isObject(t))for(r=(o=Object.keys(t)).length,a=0;a<r;a++)e.call(n,t[o[a]],o[a])},arrayEquals:function(t,e){var n,i,a,r;if(!t||!e||t.length!==e.length)return!1;for(n=0,i=t.length;n<i;++n)if(a=t[n],r=e[n],a instanceof Array&&r instanceof Array){if(!M.arrayEquals(a,r))return!1}else if(a!==r)return!1;return!0},clone:function(t){if(M.isArray(t))return t.map(M.clone);if(M.isObject(t)){for(var e=Object.create(t),n=Object.keys(t),i=n.length,a=0;a<i;++a)e[n[a]]=M.clone(t[n[a]]);return e}return t},_merger:function(t,e,n,i){if(k(t)){var a=e[t],r=n[t];M.isObject(a)&&M.isObject(r)?M.merge(a,r,i):e[t]=M.clone(r)}},_mergerIf:function(t,e,n){if(k(t)){var i=e[t],a=n[t];M.isObject(i)&&M.isObject(a)?M.mergeIf(i,a):e.hasOwnProperty(t)||(e[t]=M.clone(a))}},merge:function(t,e,n){var i,a,r,o,s,l=M.isArray(e)?e:[e],u=l.length;if(!M.isObject(t))return t;for(i=(n=n||{}).merger||M._merger,a=0;a<u;++a)if(e=l[a],M.isObject(e))for(s=0,o=(r=Object.keys(e)).length;s<o;++s)i(r[s],t,e,n);return t},mergeIf:function(t,e){return M.merge(t,e,{merger:M._mergerIf})},extend:Object.assign||function(t){return M.merge(t,[].slice.call(arguments,1),{merger:function(t,e,n){e[t]=n[t]}})},inherits:function(t){var e=this,n=t&&t.hasOwnProperty("constructor")?t.constructor:function(){return e.apply(this,arguments)},i=function(){this.constructor=n};return i.prototype=e.prototype,n.prototype=new i,n.extend=M.inherits,t&&M.extend(n.prototype,t),n.__super__=e.prototype,n},_deprecated:function(t,e,n,i){void 0!==e&&console.warn(t+': "'+n+'" is deprecated. Please use "'+i+'" instead')}},S=M;M.callCallback=M.callback,M.indexOf=function(t,e,n){return Array.prototype.indexOf.call(t,e,n)},M.getValueOrDefault=M.valueOrDefault,M.getValueAtIndexOrDefault=M.valueAtIndexOrDefault;var C={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return-t*(t-2)},easeInOutQuad:function(t){return(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1)},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return(t-=1)*t*t+1},easeInOutCubic:function(t){return(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return-((t-=1)*t*t*t-1)},easeInOutQuart:function(t){return(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return(t-=1)*t*t*t*t+1},easeInOutQuint:function(t){return(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},easeInSine:function(t){return 1-Math.cos(t*(Math.PI/2))},easeOutSine:function(t){return Math.sin(t*(Math.PI/2))},easeInOutSine:function(t){return-.5*(Math.cos(Math.PI*t)-1)},easeInExpo:function(t){return 0===t?0:Math.pow(2,10*(t-1))},easeOutExpo:function(t){return 1===t?1:1-Math.pow(2,-10*t)},easeInOutExpo:function(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*--t))},easeInCirc:function(t){return t>=1?t:-(Math.sqrt(1-t*t)-1)},easeOutCirc:function(t){return Math.sqrt(1-(t-=1)*t)},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===t?1:(n||(n=.3),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),-i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n))},easeOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===t?1:(n||(n=.3),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),i*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/n)+1)},easeInOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:2==(t/=.5)?1:(n||(n=.45),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),t<1?i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*-.5:i*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*.5+1)},easeInBack:function(t){var e=1.70158;return t*t*((e+1)*t-e)},easeOutBack:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:function(t){return 1-C.easeOutBounce(1-t)},easeOutBounce:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:function(t){return t<.5?.5*C.easeInBounce(2*t):.5*C.easeOutBounce(2*t-1)+.5}},P={effects:C};S.easingEffects=C;var A=Math.PI,D=A/180,T=2*A,I=A/2,F=A/4,O=2*A/3,L={clear:function(t){t.ctx.clearRect(0,0,t.width,t.height)},roundedRect:function(t,e,n,i,a,r){if(r){var o=Math.min(r,a/2,i/2),s=e+o,l=n+o,u=e+i-o,d=n+a-o;t.moveTo(e,l),s<u&&l<d?(t.arc(s,l,o,-A,-I),t.arc(u,l,o,-I,0),t.arc(u,d,o,0,I),t.arc(s,d,o,I,A)):s<u?(t.moveTo(s,n),t.arc(u,l,o,-I,I),t.arc(s,l,o,I,A+I)):l<d?(t.arc(s,l,o,-A,0),t.arc(s,d,o,0,A)):t.arc(s,l,o,-A,A),t.closePath(),t.moveTo(e,n)}else t.rect(e,n,i,a)},drawPoint:function(t,e,n,i,a,r){var o,s,l,u,d,h=(r||0)*D;if(e&&"object"==typeof e&&("[object HTMLImageElement]"===(o=e.toString())||"[object HTMLCanvasElement]"===o))return t.save(),t.translate(i,a),t.rotate(h),t.drawImage(e,-e.width/2,-e.height/2,e.width,e.height),void t.restore();if(!(isNaN(n)||n<=0)){switch(t.beginPath(),e){default:t.arc(i,a,n,0,T),t.closePath();break;case"triangle":t.moveTo(i+Math.sin(h)*n,a-Math.cos(h)*n),h+=O,t.lineTo(i+Math.sin(h)*n,a-Math.cos(h)*n),h+=O,t.lineTo(i+Math.sin(h)*n,a-Math.cos(h)*n),t.closePath();break;case"rectRounded":u=n-(d=.516*n),s=Math.cos(h+F)*u,l=Math.sin(h+F)*u,t.arc(i-s,a-l,d,h-A,h-I),t.arc(i+l,a-s,d,h-I,h),t.arc(i+s,a+l,d,h,h+I),t.arc(i-l,a+s,d,h+I,h+A),t.closePath();break;case"rect":if(!r){u=Math.SQRT1_2*n,t.rect(i-u,a-u,2*u,2*u);break}h+=F;case"rectRot":s=Math.cos(h)*n,l=Math.sin(h)*n,t.moveTo(i-s,a-l),t.lineTo(i+l,a-s),t.lineTo(i+s,a+l),t.lineTo(i-l,a+s),t.closePath();break;case"crossRot":h+=F;case"cross":s=Math.cos(h)*n,l=Math.sin(h)*n,t.moveTo(i-s,a-l),t.lineTo(i+s,a+l),t.moveTo(i+l,a-s),t.lineTo(i-l,a+s);break;case"star":s=Math.cos(h)*n,l=Math.sin(h)*n,t.moveTo(i-s,a-l),t.lineTo(i+s,a+l),t.moveTo(i+l,a-s),t.lineTo(i-l,a+s),h+=F,s=Math.cos(h)*n,l=Math.sin(h)*n,t.moveTo(i-s,a-l),t.lineTo(i+s,a+l),t.moveTo(i+l,a-s),t.lineTo(i-l,a+s);break;case"line":s=Math.cos(h)*n,l=Math.sin(h)*n,t.moveTo(i-s,a-l),t.lineTo(i+s,a+l);break;case"dash":t.moveTo(i,a),t.lineTo(i+Math.cos(h)*n,a+Math.sin(h)*n)}t.fill(),t.stroke()}},_isPointInArea:function(t,e){return t.x>e.left-1e-6&&t.x<e.right+1e-6&&t.y>e.top-1e-6&&t.y<e.bottom+1e-6},clipArea:function(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()},unclipArea:function(t){t.restore()},lineTo:function(t,e,n,i){var a=n.steppedLine;if(a){if("middle"===a){var r=(e.x+n.x)/2;t.lineTo(r,i?n.y:e.y),t.lineTo(r,i?e.y:n.y)}else"after"===a&&!i||"after"!==a&&i?t.lineTo(e.x,n.y):t.lineTo(n.x,e.y);t.lineTo(n.x,n.y)}else n.tension?t.bezierCurveTo(i?e.controlPointPreviousX:e.controlPointNextX,i?e.controlPointPreviousY:e.controlPointNextY,i?n.controlPointNextX:n.controlPointPreviousX,i?n.controlPointNextY:n.controlPointPreviousY,n.x,n.y):t.lineTo(n.x,n.y)}},R=L;S.clear=L.clear,S.drawRoundedRectangle=function(t){t.beginPath(),L.roundedRect.apply(L,arguments)};var z={_set:function(t,e){return S.merge(this[t]||(this[t]={}),e)}};z._set("global",{defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",defaultLineHeight:1.2,showLines:!0});var N=z,B=S.valueOrDefault;var E={toLineHeight:function(t,e){var n=(""+t).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!n||"normal"===n[1])return 1.2*e;switch(t=+n[2],n[3]){case"px":return t;case"%":t/=100}return e*t},toPadding:function(t){var e,n,i,a;return S.isObject(t)?(e=+t.top||0,n=+t.right||0,i=+t.bottom||0,a=+t.left||0):e=n=i=a=+t||0,{top:e,right:n,bottom:i,left:a,height:e+i,width:a+n}},_parseFont:function(t){var e=N.global,n=B(t.fontSize,e.defaultFontSize),i={family:B(t.fontFamily,e.defaultFontFamily),lineHeight:S.options.toLineHeight(B(t.lineHeight,e.defaultLineHeight),n),size:n,style:B(t.fontStyle,e.defaultFontStyle),weight:null,string:""};return i.string=function(t){return!t||S.isNullOrUndef(t.size)||S.isNullOrUndef(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}(i),i},resolve:function(t,e,n,i){var a,r,o,s=!0;for(a=0,r=t.length;a<r;++a)if(void 0!==(o=t[a])&&(void 0!==e&&"function"==typeof o&&(o=o(e),s=!1),void 0!==n&&S.isArray(o)&&(o=o[n],s=!1),void 0!==o))return i&&!s&&(i.cacheable=!1),o}},W={_factorize:function(t){var e,n=[],i=Math.sqrt(t);for(e=1;e<i;e++)t%e==0&&(n.push(e),n.push(t/e));return i===(0|i)&&n.push(i),n.sort((function(t,e){return t-e})).pop(),n},log10:Math.log10||function(t){var e=Math.log(t)*Math.LOG10E,n=Math.round(e);return t===Math.pow(10,n)?n:e}},V=W;S.log10=W.log10;var H=S,j=P,q=R,U=E,Y=V,G={getRtlAdapter:function(t,e,n){return t?function(t,e){return{x:function(n){return t+t+e-n},setWidth:function(t){e=t},textAlign:function(t){return"center"===t?t:"right"===t?"left":"right"},xPlus:function(t,e){return t-e},leftForLtr:function(t,e){return t-e}}}(e,n):{x:function(t){return t},setWidth:function(t){},textAlign:function(t){return t},xPlus:function(t,e){return t+e},leftForLtr:function(t,e){return t}}},overrideTextDirection:function(t,e){var n,i;"ltr"!==e&&"rtl"!==e||(i=[(n=t.canvas.style).getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=i)},restoreTextDirection:function(t){var e=t.prevTextDirection;void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}};H.easing=j,H.canvas=q,H.options=U,H.math=Y,H.rtl=G;var X=function(t){H.extend(this,t),this.initialize.apply(this,arguments)};H.extend(X.prototype,{_type:void 0,initialize:function(){this.hidden=!1},pivot:function(){var t=this;return t._view||(t._view=H.extend({},t._model)),t._start={},t},transition:function(t){var e=this,n=e._model,i=e._start,a=e._view;return n&&1!==t?(a||(a=e._view={}),i||(i=e._start={}),function(t,e,n,i){var a,r,o,s,l,u,d,h,c,f=Object.keys(n);for(a=0,r=f.length;a<r;++a)if(u=n[o=f[a]],e.hasOwnProperty(o)||(e[o]=u),(s=e[o])!==u&&"_"!==o[0]){if(t.hasOwnProperty(o)||(t[o]=s),(d=typeof u)===typeof(l=t[o]))if("string"===d){if((h=_(l)).valid&&(c=_(u)).valid){e[o]=c.mix(h,i).rgbString();continue}}else if(H.isFinite(l)&&H.isFinite(u)){e[o]=l+(u-l)*i;continue}e[o]=u}}(i,a,n,t),e):(e._view=H.extend({},n),e._start=null,e)},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return H.isNumber(this._model.x)&&H.isNumber(this._model.y)}}),X.extend=H.inherits;var K=X,Z=K.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),$=Z;Object.defineProperty(Z.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(Z.prototype,"chartInstance",{get:function(){return this.chart},set:function(t){this.chart=t}}),N._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:H.noop,onComplete:H.noop}});var J={animations:[],request:null,addAnimation:function(t,e,n,i){var a,r,o=this.animations;for(e.chart=t,e.startTime=Date.now(),e.duration=n,i||(t.animating=!0),a=0,r=o.length;a<r;++a)if(o[a].chart===t)return void(o[a]=e);o.push(e),1===o.length&&this.requestAnimationFrame()},cancelAnimation:function(t){var e=H.findIndex(this.animations,(function(e){return e.chart===t}));-1!==e&&(this.animations.splice(e,1),t.animating=!1)},requestAnimationFrame:function(){var t=this;null===t.request&&(t.request=H.requestAnimFrame.call(window,(function(){t.request=null,t.startDigest()})))},startDigest:function(){this.advance(),this.animations.length>0&&this.requestAnimationFrame()},advance:function(){for(var t,e,n,i,a=this.animations,r=0;r<a.length;)e=(t=a[r]).chart,n=t.numSteps,i=Math.floor((Date.now()-t.startTime)/t.duration*n)+1,t.currentStep=Math.min(i,n),H.callback(t.render,[e,t],e),H.callback(t.onAnimationProgress,[t],e),t.currentStep>=n?(H.callback(t.onAnimationComplete,[t],e),e.animating=!1,a.splice(r,1)):++r}},Q=H.options.resolve,tt=["push","pop","shift","splice","unshift"];function et(t,e){var n=t._chartjs;if(n){var i=n.listeners,a=i.indexOf(e);-1!==a&&i.splice(a,1),i.length>0||(tt.forEach((function(e){delete t[e]})),delete t._chartjs)}}var nt=function(t,e){this.initialize(t,e)};H.extend(nt.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(t,e){var n=this;n.chart=t,n.index=e,n.linkScales(),n.addElements(),n._type=n.getMeta().type},updateIndex:function(t){this.index=t},linkScales:function(){var t=this.getMeta(),e=this.chart,n=e.scales,i=this.getDataset(),a=e.options.scales;null!==t.xAxisID&&t.xAxisID in n&&!i.xAxisID||(t.xAxisID=i.xAxisID||a.xAxes[0].id),null!==t.yAxisID&&t.yAxisID in n&&!i.yAxisID||(t.yAxisID=i.yAxisID||a.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(t){return this.chart.scales[t]},_getValueScaleId:function(){return this.getMeta().yAxisID},_getIndexScaleId:function(){return this.getMeta().xAxisID},_getValueScale:function(){return this.getScaleForId(this._getValueScaleId())},_getIndexScale:function(){return this.getScaleForId(this._getIndexScaleId())},reset:function(){this._update(!0)},destroy:function(){this._data&&et(this._data,this)},createMetaDataset:function(){var t=this.datasetElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(t){var e=this.dataElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index,_index:t})},addElements:function(){var t,e,n=this.getMeta(),i=this.getDataset().data||[],a=n.data;for(t=0,e=i.length;t<e;++t)a[t]=a[t]||this.createMetaData(t);n.dataset=n.dataset||this.createMetaDataset()},addElementAndReset:function(t){var e=this.createMetaData(t);this.getMeta().data.splice(t,0,e),this.updateElement(e,t,!0)},buildOrUpdateElements:function(){var t,e,n=this,i=n.getDataset(),a=i.data||(i.data=[]);n._data!==a&&(n._data&&et(n._data,n),a&&Object.isExtensible(a)&&(e=n,(t=a)._chartjs?t._chartjs.listeners.push(e):(Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),tt.forEach((function(e){var n="onData"+e.charAt(0).toUpperCase()+e.slice(1),i=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:function(){var e=Array.prototype.slice.call(arguments),a=i.apply(this,e);return H.each(t._chartjs.listeners,(function(t){"function"==typeof t[n]&&t[n].apply(t,e)})),a}})})))),n._data=a),n.resyncElements()},_configure:function(){this._config=H.merge(Object.create(null),[this.chart.options.datasets[this._type],this.getDataset()],{merger:function(t,e,n){"_meta"!==t&&"data"!==t&&H._merger(t,e,n)}})},_update:function(t){this._configure(),this._cachedDataOpts=null,this.update(t)},update:H.noop,transition:function(t){for(var e=this.getMeta(),n=e.data||[],i=n.length,a=0;a<i;++a)n[a].transition(t);e.dataset&&e.dataset.transition(t)},draw:function(){var t=this.getMeta(),e=t.data||[],n=e.length,i=0;for(t.dataset&&t.dataset.draw();i<n;++i)e[i].draw()},getStyle:function(t){var e,n=this.getMeta(),i=n.dataset;return this._configure(),i&&void 0===t?e=this._resolveDatasetElementOptions(i||{}):(t=t||0,e=this._resolveDataElementOptions(n.data[t]||{},t)),!1!==e.fill&&null!==e.fill||(e.backgroundColor=e.borderColor),e},_resolveDatasetElementOptions:function(t,e){var n,i,a,r,o=this,s=o.chart,l=o._config,u=t.custom||{},d=s.options.elements[o.datasetElementType.prototype._type]||{},h=o._datasetElementOptions,c={},f={chart:s,dataset:o.getDataset(),datasetIndex:o.index,hover:e};for(n=0,i=h.length;n<i;++n)a=h[n],r=e?"hover"+a.charAt(0).toUpperCase()+a.slice(1):a,c[a]=Q([u[r],l[r],d[r]],f);return c},_resolveDataElementOptions:function(t,e){var n=this,i=t&&t.custom,a=n._cachedDataOpts;if(a&&!i)return a;var r,o,s,l,u=n.chart,d=n._config,h=u.options.elements[n.dataElementType.prototype._type]||{},c=n._dataElementOptions,f={},g={chart:u,dataIndex:e,dataset:n.getDataset(),datasetIndex:n.index},p={cacheable:!i};if(i=i||{},H.isArray(c))for(o=0,s=c.length;o<s;++o)f[l=c[o]]=Q([i[l],d[l],h[l]],g,e,p);else for(o=0,s=(r=Object.keys(c)).length;o<s;++o)f[l=r[o]]=Q([i[l],d[c[l]],d[l],h[l]],g,e,p);return p.cacheable&&(n._cachedDataOpts=Object.freeze(f)),f},removeHoverStyle:function(t){H.merge(t._model,t.$previousStyle||{}),delete t.$previousStyle},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t._index,i=t.custom||{},a=t._model,r=H.getHoverColor;t.$previousStyle={backgroundColor:a.backgroundColor,borderColor:a.borderColor,borderWidth:a.borderWidth},a.backgroundColor=Q([i.hoverBackgroundColor,e.hoverBackgroundColor,r(a.backgroundColor)],void 0,n),a.borderColor=Q([i.hoverBorderColor,e.hoverBorderColor,r(a.borderColor)],void 0,n),a.borderWidth=Q([i.hoverBorderWidth,e.hoverBorderWidth,a.borderWidth],void 0,n)},_removeDatasetHoverStyle:function(){var t=this.getMeta().dataset;t&&this.removeHoverStyle(t)},_setDatasetHoverStyle:function(){var t,e,n,i,a,r,o=this.getMeta().dataset,s={};if(o){for(r=o._model,a=this._resolveDatasetElementOptions(o,!0),t=0,e=(i=Object.keys(a)).length;t<e;++t)s[n=i[t]]=r[n],r[n]=a[n];o.$previousStyle=s}},resyncElements:function(){var t=this.getMeta(),e=this.getDataset().data,n=t.data.length,i=e.length;i<n?t.data.splice(i,n-i):i>n&&this.insertElements(n,i-n)},insertElements:function(t,e){for(var n=0;n<e;++n)this.addElementAndReset(t+n)},onDataPush:function(){var t=arguments.length;this.insertElements(this.getDataset().data.length-t,t)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(t,e){this.getMeta().data.splice(t,e),this.insertElements(t,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),nt.extend=H.inherits;var it=nt,at=2*Math.PI;function rt(t,e){var n=e.startAngle,i=e.endAngle,a=e.pixelMargin,r=a/e.outerRadius,o=e.x,s=e.y;t.beginPath(),t.arc(o,s,e.outerRadius,n-r,i+r),e.innerRadius>a?(r=a/e.innerRadius,t.arc(o,s,e.innerRadius-a,i+r,n-r,!0)):t.arc(o,s,a,i+Math.PI/2,n-Math.PI/2),t.closePath(),t.clip()}function ot(t,e,n){var i="inner"===e.borderAlign;i?(t.lineWidth=2*e.borderWidth,t.lineJoin="round"):(t.lineWidth=e.borderWidth,t.lineJoin="bevel"),n.fullCircles&&function(t,e,n,i){var a,r=n.endAngle;for(i&&(n.endAngle=n.startAngle+at,rt(t,n),n.endAngle=r,n.endAngle===n.startAngle&&n.fullCircles&&(n.endAngle+=at,n.fullCircles--)),t.beginPath(),t.arc(n.x,n.y,n.innerRadius,n.startAngle+at,n.startAngle,!0),a=0;a<n.fullCircles;++a)t.stroke();for(t.beginPath(),t.arc(n.x,n.y,e.outerRadius,n.startAngle,n.startAngle+at),a=0;a<n.fullCircles;++a)t.stroke()}(t,e,n,i),i&&rt(t,n),t.beginPath(),t.arc(n.x,n.y,e.outerRadius,n.startAngle,n.endAngle),t.arc(n.x,n.y,n.innerRadius,n.endAngle,n.startAngle,!0),t.closePath(),t.stroke()}N._set("global",{elements:{arc:{backgroundColor:N.global.defaultColor,borderColor:"#fff",borderWidth:2,borderAlign:"center"}}});var st=K.extend({_type:"arc",inLabelRange:function(t){var e=this._view;return!!e&&Math.pow(t-e.x,2)<Math.pow(e.radius+e.hoverRadius,2)},inRange:function(t,e){var n=this._view;if(n){for(var i=H.getAngleFromPoint(n,{x:t,y:e}),a=i.angle,r=i.distance,o=n.startAngle,s=n.endAngle;s<o;)s+=at;for(;a>s;)a-=at;for(;a<o;)a+=at;var l=a>=o&&a<=s,u=r>=n.innerRadius&&r<=n.outerRadius;return l&&u}return!1},getCenterPoint:function(){var t=this._view,e=(t.startAngle+t.endAngle)/2,n=(t.innerRadius+t.outerRadius)/2;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},getArea:function(){var t=this._view;return Math.PI*((t.endAngle-t.startAngle)/(2*Math.PI))*(Math.pow(t.outerRadius,2)-Math.pow(t.innerRadius,2))},tooltipPosition:function(){var t=this._view,e=t.startAngle+(t.endAngle-t.startAngle)/2,n=(t.outerRadius-t.innerRadius)/2+t.innerRadius;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},draw:function(){var t,e=this._chart.ctx,n=this._view,i="inner"===n.borderAlign?.33:0,a={x:n.x,y:n.y,innerRadius:n.innerRadius,outerRadius:Math.max(n.outerRadius-i,0),pixelMargin:i,startAngle:n.startAngle,endAngle:n.endAngle,fullCircles:Math.floor(n.circumference/at)};if(e.save(),e.fillStyle=n.backgroundColor,e.strokeStyle=n.borderColor,a.fullCircles){for(a.endAngle=a.startAngle+at,e.beginPath(),e.arc(a.x,a.y,a.outerRadius,a.startAngle,a.endAngle),e.arc(a.x,a.y,a.innerRadius,a.endAngle,a.startAngle,!0),e.closePath(),t=0;t<a.fullCircles;++t)e.fill();a.endAngle=a.startAngle+n.circumference%at}e.beginPath(),e.arc(a.x,a.y,a.outerRadius,a.startAngle,a.endAngle),e.arc(a.x,a.y,a.innerRadius,a.endAngle,a.startAngle,!0),e.closePath(),e.fill(),n.borderWidth&&ot(e,n,a),e.restore()}}),lt=H.valueOrDefault,ut=N.global.defaultColor;N._set("global",{elements:{line:{tension:.4,backgroundColor:ut,borderWidth:3,borderColor:ut,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}});var dt=K.extend({_type:"line",draw:function(){var t,e,n,i=this,a=i._view,r=i._chart.ctx,o=a.spanGaps,s=i._children.slice(),l=N.global,u=l.elements.line,d=-1,h=i._loop;if(s.length){if(i._loop){for(t=0;t<s.length;++t)if(e=H.previousItem(s,t),!s[t]._view.skip&&e._view.skip){s=s.slice(t).concat(s.slice(0,t)),h=o;break}h&&s.push(s[0])}for(r.save(),r.lineCap=a.borderCapStyle||u.borderCapStyle,r.setLineDash&&r.setLineDash(a.borderDash||u.borderDash),r.lineDashOffset=lt(a.borderDashOffset,u.borderDashOffset),r.lineJoin=a.borderJoinStyle||u.borderJoinStyle,r.lineWidth=lt(a.borderWidth,u.borderWidth),r.strokeStyle=a.borderColor||l.defaultColor,r.beginPath(),(n=s[0]._view).skip||(r.moveTo(n.x,n.y),d=0),t=1;t<s.length;++t)n=s[t]._view,e=-1===d?H.previousItem(s,t):s[d],n.skip||(d!==t-1&&!o||-1===d?r.moveTo(n.x,n.y):H.canvas.lineTo(r,e._view,n),d=t);h&&r.closePath(),r.stroke(),r.restore()}}}),ht=H.valueOrDefault,ct=N.global.defaultColor;function ft(t){var e=this._view;return!!e&&Math.abs(t-e.x)<e.radius+e.hitRadius}N._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:ct,borderColor:ct,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}});var gt=K.extend({_type:"point",inRange:function(t,e){var n=this._view;return!!n&&Math.pow(t-n.x,2)+Math.pow(e-n.y,2)<Math.pow(n.hitRadius+n.radius,2)},inLabelRange:ft,inXRange:ft,inYRange:function(t){var e=this._view;return!!e&&Math.abs(t-e.y)<e.radius+e.hitRadius},getCenterPoint:function(){var t=this._view;return{x:t.x,y:t.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y,padding:t.radius+t.borderWidth}},draw:function(t){var e=this._view,n=this._chart.ctx,i=e.pointStyle,a=e.rotation,r=e.radius,o=e.x,s=e.y,l=N.global,u=l.defaultColor;e.skip||(void 0===t||H.canvas._isPointInArea(e,t))&&(n.strokeStyle=e.borderColor||u,n.lineWidth=ht(e.borderWidth,l.elements.point.borderWidth),n.fillStyle=e.backgroundColor||u,H.canvas.drawPoint(n,i,r,o,s,a))}}),pt=N.global.defaultColor;function mt(t){return t&&void 0!==t.width}function vt(t){var e,n,i,a,r;return mt(t)?(r=t.width/2,e=t.x-r,n=t.x+r,i=Math.min(t.y,t.base),a=Math.max(t.y,t.base)):(r=t.height/2,e=Math.min(t.x,t.base),n=Math.max(t.x,t.base),i=t.y-r,a=t.y+r),{left:e,top:i,right:n,bottom:a}}function bt(t,e,n){return t===e?n:t===n?e:t}function xt(t,e,n){var i,a,r,o,s=t.borderWidth,l=function(t){var e=t.borderSkipped,n={};return e?(t.horizontal?t.base>t.x&&(e=bt(e,"left","right")):t.base<t.y&&(e=bt(e,"bottom","top")),n[e]=!0,n):n}(t);return H.isObject(s)?(i=+s.top||0,a=+s.right||0,r=+s.bottom||0,o=+s.left||0):i=a=r=o=+s||0,{t:l.top||i<0?0:i>n?n:i,r:l.right||a<0?0:a>e?e:a,b:l.bottom||r<0?0:r>n?n:r,l:l.left||o<0?0:o>e?e:o}}function yt(t,e,n){var i=null===e,a=null===n,r=!(!t||i&&a)&&vt(t);return r&&(i||e>=r.left&&e<=r.right)&&(a||n>=r.top&&n<=r.bottom)}N._set("global",{elements:{rectangle:{backgroundColor:pt,borderColor:pt,borderSkipped:"bottom",borderWidth:0}}});var _t=K.extend({_type:"rectangle",draw:function(){var t=this._chart.ctx,e=this._view,n=function(t){var e=vt(t),n=e.right-e.left,i=e.bottom-e.top,a=xt(t,n/2,i/2);return{outer:{x:e.left,y:e.top,w:n,h:i},inner:{x:e.left+a.l,y:e.top+a.t,w:n-a.l-a.r,h:i-a.t-a.b}}}(e),i=n.outer,a=n.inner;t.fillStyle=e.backgroundColor,t.fillRect(i.x,i.y,i.w,i.h),i.w===a.w&&i.h===a.h||(t.save(),t.beginPath(),t.rect(i.x,i.y,i.w,i.h),t.clip(),t.fillStyle=e.borderColor,t.rect(a.x,a.y,a.w,a.h),t.fill("evenodd"),t.restore())},height:function(){var t=this._view;return t.base-t.y},inRange:function(t,e){return yt(this._view,t,e)},inLabelRange:function(t,e){var n=this._view;return mt(n)?yt(n,t,null):yt(n,null,e)},inXRange:function(t){return yt(this._view,t,null)},inYRange:function(t){return yt(this._view,null,t)},getCenterPoint:function(){var t,e,n=this._view;return mt(n)?(t=n.x,e=(n.y+n.base)/2):(t=(n.x+n.base)/2,e=n.y),{x:t,y:e}},getArea:function(){var t=this._view;return mt(t)?t.width*Math.abs(t.y-t.base):t.height*Math.abs(t.x-t.base)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y}}}),kt={},wt=st,Mt=dt,St=gt,Ct=_t;kt.Arc=wt,kt.Line=Mt,kt.Point=St,kt.Rectangle=Ct;var Pt=H._deprecated,At=H.valueOrDefault;function Dt(t,e,n){var i,a,r=n.barThickness,o=e.stackCount,s=e.pixels[t],l=H.isNullOrUndef(r)?function(t,e){var n,i,a,r,o=t._length;for(a=1,r=e.length;a<r;++a)o=Math.min(o,Math.abs(e[a]-e[a-1]));for(a=0,r=t.getTicks().length;a<r;++a)i=t.getPixelForTick(a),o=a>0?Math.min(o,Math.abs(i-n)):o,n=i;return o}(e.scale,e.pixels):-1;return H.isNullOrUndef(r)?(i=l*n.categoryPercentage,a=n.barPercentage):(i=r*o,a=1),{chunk:i/o,ratio:a,start:s-i/2}}N._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),N._set("global",{datasets:{bar:{categoryPercentage:.8,barPercentage:.9}}});var Tt=it.extend({dataElementType:kt.Rectangle,_dataElementOptions:["backgroundColor","borderColor","borderSkipped","borderWidth","barPercentage","barThickness","categoryPercentage","maxBarThickness","minBarLength"],initialize:function(){var t,e,n=this;it.prototype.initialize.apply(n,arguments),(t=n.getMeta()).stack=n.getDataset().stack,t.bar=!0,e=n._getIndexScale().options,Pt("bar chart",e.barPercentage,"scales.[x/y]Axes.barPercentage","dataset.barPercentage"),Pt("bar chart",e.barThickness,"scales.[x/y]Axes.barThickness","dataset.barThickness"),Pt("bar chart",e.categoryPercentage,"scales.[x/y]Axes.categoryPercentage","dataset.categoryPercentage"),Pt("bar chart",n._getValueScale().options.minBarLength,"scales.[x/y]Axes.minBarLength","dataset.minBarLength"),Pt("bar chart",e.maxBarThickness,"scales.[x/y]Axes.maxBarThickness","dataset.maxBarThickness")},update:function(t){var e,n,i=this.getMeta().data;for(this._ruler=this.getRuler(),e=0,n=i.length;e<n;++e)this.updateElement(i[e],e,t)},updateElement:function(t,e,n){var i=this,a=i.getMeta(),r=i.getDataset(),o=i._resolveDataElementOptions(t,e);t._xScale=i.getScaleForId(a.xAxisID),t._yScale=i.getScaleForId(a.yAxisID),t._datasetIndex=i.index,t._index=e,t._model={backgroundColor:o.backgroundColor,borderColor:o.borderColor,borderSkipped:o.borderSkipped,borderWidth:o.borderWidth,datasetLabel:r.label,label:i.chart.data.labels[e]},H.isArray(r.data[e])&&(t._model.borderSkipped=null),i._updateElementGeometry(t,e,n,o),t.pivot()},_updateElementGeometry:function(t,e,n,i){var a=this,r=t._model,o=a._getValueScale(),s=o.getBasePixel(),l=o.isHorizontal(),u=a._ruler||a.getRuler(),d=a.calculateBarValuePixels(a.index,e,i),h=a.calculateBarIndexPixels(a.index,e,u,i);r.horizontal=l,r.base=n?s:d.base,r.x=l?n?s:d.head:h.center,r.y=l?h.center:n?s:d.head,r.height=l?h.size:void 0,r.width=l?void 0:h.size},_getStacks:function(t){var e,n,i=this._getIndexScale(),a=i._getMatchingVisibleMetas(this._type),r=i.options.stacked,o=a.length,s=[];for(e=0;e<o&&(n=a[e],(!1===r||-1===s.indexOf(n.stack)||void 0===r&&void 0===n.stack)&&s.push(n.stack),n.index!==t);++e);return s},getStackCount:function(){return this._getStacks().length},getStackIndex:function(t,e){var n=this._getStacks(t),i=void 0!==e?n.indexOf(e):-1;return-1===i?n.length-1:i},getRuler:function(){var t,e,n=this._getIndexScale(),i=[];for(t=0,e=this.getMeta().data.length;t<e;++t)i.push(n.getPixelForValue(null,t,this.index));return{pixels:i,start:n._startPixel,end:n._endPixel,stackCount:this.getStackCount(),scale:n}},calculateBarValuePixels:function(t,e,n){var i,a,r,o,s,l,u,d=this.chart,h=this._getValueScale(),c=h.isHorizontal(),f=d.data.datasets,g=h._getMatchingVisibleMetas(this._type),p=h._parseValue(f[t].data[e]),m=n.minBarLength,v=h.options.stacked,b=this.getMeta().stack,x=void 0===p.start?0:p.max>=0&&p.min>=0?p.min:p.max,y=void 0===p.start?p.end:p.max>=0&&p.min>=0?p.max-p.min:p.min-p.max,_=g.length;if(v||void 0===v&&void 0!==b)for(i=0;i<_&&(a=g[i]).index!==t;++i)a.stack===b&&(r=void 0===(u=h._parseValue(f[a.index].data[e])).start?u.end:u.min>=0&&u.max>=0?u.max:u.min,(p.min<0&&r<0||p.max>=0&&r>0)&&(x+=r));return o=h.getPixelForValue(x),l=(s=h.getPixelForValue(x+y))-o,void 0!==m&&Math.abs(l)<m&&(l=m,s=y>=0&&!c||y<0&&c?o-m:o+m),{size:l,base:o,head:s,center:s+l/2}},calculateBarIndexPixels:function(t,e,n,i){var a="flex"===i.barThickness?function(t,e,n){var i,a=e.pixels,r=a[t],o=t>0?a[t-1]:null,s=t<a.length-1?a[t+1]:null,l=n.categoryPercentage;return null===o&&(o=r-(null===s?e.end-e.start:s-r)),null===s&&(s=r+r-o),i=r-(r-Math.min(o,s))/2*l,{chunk:Math.abs(s-o)/2*l/e.stackCount,ratio:n.barPercentage,start:i}}(e,n,i):Dt(e,n,i),r=this.getStackIndex(t,this.getMeta().stack),o=a.start+a.chunk*r+a.chunk/2,s=Math.min(At(i.maxBarThickness,1/0),a.chunk*a.ratio);return{base:o-s/2,head:o+s/2,center:o,size:s}},draw:function(){var t=this.chart,e=this._getValueScale(),n=this.getMeta().data,i=this.getDataset(),a=n.length,r=0;for(H.canvas.clipArea(t.ctx,t.chartArea);r<a;++r){var o=e._parseValue(i.data[r]);isNaN(o.min)||isNaN(o.max)||n[r].draw()}H.canvas.unclipArea(t.ctx)},_resolveDataElementOptions:function(){var t=this,e=H.extend({},it.prototype._resolveDataElementOptions.apply(t,arguments)),n=t._getIndexScale().options,i=t._getValueScale().options;return e.barPercentage=At(n.barPercentage,e.barPercentage),e.barThickness=At(n.barThickness,e.barThickness),e.categoryPercentage=At(n.categoryPercentage,e.categoryPercentage),e.maxBarThickness=At(n.maxBarThickness,e.maxBarThickness),e.minBarLength=At(i.minBarLength,e.minBarLength),e}}),It=H.valueOrDefault,Ft=H.options.resolve;N._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(t,e){var n=e.datasets[t.datasetIndex].label||"",i=e.datasets[t.datasetIndex].data[t.index];return n+": ("+t.xLabel+", "+t.yLabel+", "+i.r+")"}}}});var Ot=it.extend({dataElementType:kt.Point,_dataElementOptions:["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle","rotation"],update:function(t){var e=this,n=e.getMeta().data;H.each(n,(function(n,i){e.updateElement(n,i,t)}))},updateElement:function(t,e,n){var i=this,a=i.getMeta(),r=t.custom||{},o=i.getScaleForId(a.xAxisID),s=i.getScaleForId(a.yAxisID),l=i._resolveDataElementOptions(t,e),u=i.getDataset().data[e],d=i.index,h=n?o.getPixelForDecimal(.5):o.getPixelForValue("object"==typeof u?u:NaN,e,d),c=n?s.getBasePixel():s.getPixelForValue(u,e,d);t._xScale=o,t._yScale=s,t._options=l,t._datasetIndex=d,t._index=e,t._model={backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,hitRadius:l.hitRadius,pointStyle:l.pointStyle,rotation:l.rotation,radius:n?0:l.radius,skip:r.skip||isNaN(h)||isNaN(c),x:h,y:c},t.pivot()},setHoverStyle:function(t){var e=t._model,n=t._options,i=H.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=It(n.hoverBackgroundColor,i(n.backgroundColor)),e.borderColor=It(n.hoverBorderColor,i(n.borderColor)),e.borderWidth=It(n.hoverBorderWidth,n.borderWidth),e.radius=n.radius+n.hoverRadius},_resolveDataElementOptions:function(t,e){var n=this,i=n.chart,a=n.getDataset(),r=t.custom||{},o=a.data[e]||{},s=it.prototype._resolveDataElementOptions.apply(n,arguments),l={chart:i,dataIndex:e,dataset:a,datasetIndex:n.index};return n._cachedDataOpts===s&&(s=H.extend({},s)),s.radius=Ft([r.radius,o.r,n._config.radius,i.options.elements.point.radius],l,e),s}}),Lt=H.valueOrDefault,Rt=Math.PI,zt=2*Rt,Nt=Rt/2;N._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(t){var e,n,i,a=document.createElement("ul"),r=t.data,o=r.datasets,s=r.labels;if(a.setAttribute("class",t.id+"-legend"),o.length)for(e=0,n=o[0].data.length;e<n;++e)(i=a.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=o[0].backgroundColor[e],s[e]&&i.appendChild(document.createTextNode(s[e]));return a.outerHTML},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map((function(n,i){var a=t.getDatasetMeta(0),r=a.controller.getStyle(i);return{text:n,fillStyle:r.backgroundColor,strokeStyle:r.borderColor,lineWidth:r.borderWidth,hidden:isNaN(e.datasets[0].data[i])||a.data[i].hidden,index:i}})):[]}},onClick:function(t,e){var n,i,a,r=e.index,o=this.chart;for(n=0,i=(o.data.datasets||[]).length;n<i;++n)(a=o.getDatasetMeta(n)).data[r]&&(a.data[r].hidden=!a.data[r].hidden);o.update()}},cutoutPercentage:50,rotation:-Nt,circumference:zt,tooltips:{callbacks:{title:function(){return""},label:function(t,e){var n=e.labels[t.index],i=": "+e.datasets[t.datasetIndex].data[t.index];return H.isArray(n)?(n=n.slice())[0]+=i:n+=i,n}}}});var Bt=it.extend({dataElementType:kt.Arc,linkScales:H.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],getRingIndex:function(t){for(var e=0,n=0;n<t;++n)this.chart.isDatasetVisible(n)&&++e;return e},update:function(t){var e,n,i,a,r=this,o=r.chart,s=o.chartArea,l=o.options,u=1,d=1,h=0,c=0,f=r.getMeta(),g=f.data,p=l.cutoutPercentage/100||0,m=l.circumference,v=r._getRingWeight(r.index);if(m<zt){var b=l.rotation%zt,x=(b+=b>=Rt?-zt:b<-Rt?zt:0)+m,y=Math.cos(b),_=Math.sin(b),k=Math.cos(x),w=Math.sin(x),M=b<=0&&x>=0||x>=zt,S=b<=Nt&&x>=Nt||x>=zt+Nt,C=b<=-Nt&&x>=-Nt||x>=Rt+Nt,P=b===-Rt||x>=Rt?-1:Math.min(y,y*p,k,k*p),A=C?-1:Math.min(_,_*p,w,w*p),D=M?1:Math.max(y,y*p,k,k*p),T=S?1:Math.max(_,_*p,w,w*p);u=(D-P)/2,d=(T-A)/2,h=-(D+P)/2,c=-(T+A)/2}for(i=0,a=g.length;i<a;++i)g[i]._options=r._resolveDataElementOptions(g[i],i);for(o.borderWidth=r.getMaxBorderWidth(),e=(s.right-s.left-o.borderWidth)/u,n=(s.bottom-s.top-o.borderWidth)/d,o.outerRadius=Math.max(Math.min(e,n)/2,0),o.innerRadius=Math.max(o.outerRadius*p,0),o.radiusLength=(o.outerRadius-o.innerRadius)/(r._getVisibleDatasetWeightTotal()||1),o.offsetX=h*o.outerRadius,o.offsetY=c*o.outerRadius,f.total=r.calculateTotal(),r.outerRadius=o.outerRadius-o.radiusLength*r._getRingWeightOffset(r.index),r.innerRadius=Math.max(r.outerRadius-o.radiusLength*v,0),i=0,a=g.length;i<a;++i)r.updateElement(g[i],i,t)},updateElement:function(t,e,n){var i=this,a=i.chart,r=a.chartArea,o=a.options,s=o.animation,l=(r.left+r.right)/2,u=(r.top+r.bottom)/2,d=o.rotation,h=o.rotation,c=i.getDataset(),f=n&&s.animateRotate?0:t.hidden?0:i.calculateCircumference(c.data[e])*(o.circumference/zt),g=n&&s.animateScale?0:i.innerRadius,p=n&&s.animateScale?0:i.outerRadius,m=t._options||{};H.extend(t,{_datasetIndex:i.index,_index:e,_model:{backgroundColor:m.backgroundColor,borderColor:m.borderColor,borderWidth:m.borderWidth,borderAlign:m.borderAlign,x:l+a.offsetX,y:u+a.offsetY,startAngle:d,endAngle:h,circumference:f,outerRadius:p,innerRadius:g,label:H.valueAtIndexOrDefault(c.label,e,a.data.labels[e])}});var v=t._model;n&&s.animateRotate||(v.startAngle=0===e?o.rotation:i.getMeta().data[e-1]._model.endAngle,v.endAngle=v.startAngle+v.circumference),t.pivot()},calculateTotal:function(){var t,e=this.getDataset(),n=this.getMeta(),i=0;return H.each(n.data,(function(n,a){t=e.data[a],isNaN(t)||n.hidden||(i+=Math.abs(t))})),i},calculateCircumference:function(t){var e=this.getMeta().total;return e>0&&!isNaN(t)?zt*(Math.abs(t)/e):0},getMaxBorderWidth:function(t){var e,n,i,a,r,o,s,l,u=0,d=this.chart;if(!t)for(e=0,n=d.data.datasets.length;e<n;++e)if(d.isDatasetVisible(e)){t=(i=d.getDatasetMeta(e)).data,e!==this.index&&(r=i.controller);break}if(!t)return 0;for(e=0,n=t.length;e<n;++e)a=t[e],r?(r._configure(),o=r._resolveDataElementOptions(a,e)):o=a._options,"inner"!==o.borderAlign&&(s=o.borderWidth,u=(l=o.hoverBorderWidth)>(u=s>u?s:u)?l:u);return u},setHoverStyle:function(t){var e=t._model,n=t._options,i=H.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth},e.backgroundColor=Lt(n.hoverBackgroundColor,i(n.backgroundColor)),e.borderColor=Lt(n.hoverBorderColor,i(n.borderColor)),e.borderWidth=Lt(n.hoverBorderWidth,n.borderWidth)},_getRingWeightOffset:function(t){for(var e=0,n=0;n<t;++n)this.chart.isDatasetVisible(n)&&(e+=this._getRingWeight(n));return e},_getRingWeight:function(t){return Math.max(Lt(this.chart.data.datasets[t].weight,1),0)},_getVisibleDatasetWeightTotal:function(){return this._getRingWeightOffset(this.chart.data.datasets.length)}});N._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{type:"category",position:"left",offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{mode:"index",axis:"y"}}),N._set("global",{datasets:{horizontalBar:{categoryPercentage:.8,barPercentage:.9}}});var Et=Tt.extend({_getValueScaleId:function(){return this.getMeta().xAxisID},_getIndexScaleId:function(){return this.getMeta().yAxisID}}),Wt=H.valueOrDefault,Vt=H.options.resolve,Ht=H.canvas._isPointInArea;function jt(t,e){var n=t&&t.options.ticks||{},i=n.reverse,a=void 0===n.min?e:0,r=void 0===n.max?e:0;return{start:i?r:a,end:i?a:r}}function qt(t,e,n){var i=n/2,a=jt(t,i),r=jt(e,i);return{top:r.end,right:a.end,bottom:r.start,left:a.start}}function Ut(t){var e,n,i,a;return H.isObject(t)?(e=t.top,n=t.right,i=t.bottom,a=t.left):e=n=i=a=t,{top:e,right:n,bottom:i,left:a}}N._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}});var Yt=it.extend({datasetElementType:kt.Line,dataElementType:kt.Point,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth","cubicInterpolationMode","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},update:function(t){var e,n,i=this,a=i.getMeta(),r=a.dataset,o=a.data||[],s=i.chart.options,l=i._config,u=i._showLine=Wt(l.showLine,s.showLines);for(i._xScale=i.getScaleForId(a.xAxisID),i._yScale=i.getScaleForId(a.yAxisID),u&&(void 0!==l.tension&&void 0===l.lineTension&&(l.lineTension=l.tension),r._scale=i._yScale,r._datasetIndex=i.index,r._children=o,r._model=i._resolveDatasetElementOptions(r),r.pivot()),e=0,n=o.length;e<n;++e)i.updateElement(o[e],e,t);for(u&&0!==r._model.tension&&i.updateBezierControlPoints(),e=0,n=o.length;e<n;++e)o[e].pivot()},updateElement:function(t,e,n){var i,a,r=this,o=r.getMeta(),s=t.custom||{},l=r.getDataset(),u=r.index,d=l.data[e],h=r._xScale,c=r._yScale,f=o.dataset._model,g=r._resolveDataElementOptions(t,e);i=h.getPixelForValue("object"==typeof d?d:NaN,e,u),a=n?c.getBasePixel():r.calculatePointY(d,e,u),t._xScale=h,t._yScale=c,t._options=g,t._datasetIndex=u,t._index=e,t._model={x:i,y:a,skip:s.skip||isNaN(i)||isNaN(a),radius:g.radius,pointStyle:g.pointStyle,rotation:g.rotation,backgroundColor:g.backgroundColor,borderColor:g.borderColor,borderWidth:g.borderWidth,tension:Wt(s.tension,f?f.tension:0),steppedLine:!!f&&f.steppedLine,hitRadius:g.hitRadius}},_resolveDatasetElementOptions:function(t){var e=this,n=e._config,i=t.custom||{},a=e.chart.options,r=a.elements.line,o=it.prototype._resolveDatasetElementOptions.apply(e,arguments);return o.spanGaps=Wt(n.spanGaps,a.spanGaps),o.tension=Wt(n.lineTension,r.tension),o.steppedLine=Vt([i.steppedLine,n.steppedLine,r.stepped]),o.clip=Ut(Wt(n.clip,qt(e._xScale,e._yScale,o.borderWidth))),o},calculatePointY:function(t,e,n){var i,a,r,o,s,l,u,d=this.chart,h=this._yScale,c=0,f=0;if(h.options.stacked){for(s=+h.getRightValue(t),u=(l=d._getSortedVisibleDatasetMetas()).length,i=0;i<u&&(r=l[i]).index!==n;++i)a=d.data.datasets[r.index],"line"===r.type&&r.yAxisID===h.id&&((o=+h.getRightValue(a.data[e]))<0?f+=o||0:c+=o||0);return s<0?h.getPixelForValue(f+s):h.getPixelForValue(c+s)}return h.getPixelForValue(t)},updateBezierControlPoints:function(){var t,e,n,i,a=this.chart,r=this.getMeta(),o=r.dataset._model,s=a.chartArea,l=r.data||[];function u(t,e,n){return Math.max(Math.min(t,n),e)}if(o.spanGaps&&(l=l.filter((function(t){return!t._model.skip}))),"monotone"===o.cubicInterpolationMode)H.splineCurveMonotone(l);else for(t=0,e=l.length;t<e;++t)n=l[t]._model,i=H.splineCurve(H.previousItem(l,t)._model,n,H.nextItem(l,t)._model,o.tension),n.controlPointPreviousX=i.previous.x,n.controlPointPreviousY=i.previous.y,n.controlPointNextX=i.next.x,n.controlPointNextY=i.next.y;if(a.options.elements.line.capBezierPoints)for(t=0,e=l.length;t<e;++t)n=l[t]._model,Ht(n,s)&&(t>0&&Ht(l[t-1]._model,s)&&(n.controlPointPreviousX=u(n.controlPointPreviousX,s.left,s.right),n.controlPointPreviousY=u(n.controlPointPreviousY,s.top,s.bottom)),t<l.length-1&&Ht(l[t+1]._model,s)&&(n.controlPointNextX=u(n.controlPointNextX,s.left,s.right),n.controlPointNextY=u(n.controlPointNextY,s.top,s.bottom)))},draw:function(){var t,e=this.chart,n=this.getMeta(),i=n.data||[],a=e.chartArea,r=e.canvas,o=0,s=i.length;for(this._showLine&&(t=n.dataset._model.clip,H.canvas.clipArea(e.ctx,{left:!1===t.left?0:a.left-t.left,right:!1===t.right?r.width:a.right+t.right,top:!1===t.top?0:a.top-t.top,bottom:!1===t.bottom?r.height:a.bottom+t.bottom}),n.dataset.draw(),H.canvas.unclipArea(e.ctx));o<s;++o)i[o].draw(a)},setHoverStyle:function(t){var e=t._model,n=t._options,i=H.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=Wt(n.hoverBackgroundColor,i(n.backgroundColor)),e.borderColor=Wt(n.hoverBorderColor,i(n.borderColor)),e.borderWidth=Wt(n.hoverBorderWidth,n.borderWidth),e.radius=Wt(n.hoverRadius,n.radius)}}),Gt=H.options.resolve;N._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(t){var e,n,i,a=document.createElement("ul"),r=t.data,o=r.datasets,s=r.labels;if(a.setAttribute("class",t.id+"-legend"),o.length)for(e=0,n=o[0].data.length;e<n;++e)(i=a.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=o[0].backgroundColor[e],s[e]&&i.appendChild(document.createTextNode(s[e]));return a.outerHTML},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map((function(n,i){var a=t.getDatasetMeta(0),r=a.controller.getStyle(i);return{text:n,fillStyle:r.backgroundColor,strokeStyle:r.borderColor,lineWidth:r.borderWidth,hidden:isNaN(e.datasets[0].data[i])||a.data[i].hidden,index:i}})):[]}},onClick:function(t,e){var n,i,a,r=e.index,o=this.chart;for(n=0,i=(o.data.datasets||[]).length;n<i;++n)(a=o.getDatasetMeta(n)).data[r].hidden=!a.data[r].hidden;o.update()}},tooltips:{callbacks:{title:function(){return""},label:function(t,e){return e.labels[t.index]+": "+t.yLabel}}}});var Xt=it.extend({dataElementType:kt.Arc,linkScales:H.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(t){var e,n,i,a=this,r=a.getDataset(),o=a.getMeta(),s=a.chart.options.startAngle||0,l=a._starts=[],u=a._angles=[],d=o.data;for(a._updateRadius(),o.count=a.countVisibleElements(),e=0,n=r.data.length;e<n;e++)l[e]=s,i=a._computeAngle(e),u[e]=i,s+=i;for(e=0,n=d.length;e<n;++e)d[e]._options=a._resolveDataElementOptions(d[e],e),a.updateElement(d[e],e,t)},_updateRadius:function(){var t=this,e=t.chart,n=e.chartArea,i=e.options,a=Math.min(n.right-n.left,n.bottom-n.top);e.outerRadius=Math.max(a/2,0),e.innerRadius=Math.max(i.cutoutPercentage?e.outerRadius/100*i.cutoutPercentage:1,0),e.radiusLength=(e.outerRadius-e.innerRadius)/e.getVisibleDatasetCount(),t.outerRadius=e.outerRadius-e.radiusLength*t.index,t.innerRadius=t.outerRadius-e.radiusLength},updateElement:function(t,e,n){var i=this,a=i.chart,r=i.getDataset(),o=a.options,s=o.animation,l=a.scale,u=a.data.labels,d=l.xCenter,h=l.yCenter,c=o.startAngle,f=t.hidden?0:l.getDistanceFromCenterForValue(r.data[e]),g=i._starts[e],p=g+(t.hidden?0:i._angles[e]),m=s.animateScale?0:l.getDistanceFromCenterForValue(r.data[e]),v=t._options||{};H.extend(t,{_datasetIndex:i.index,_index:e,_scale:l,_model:{backgroundColor:v.backgroundColor,borderColor:v.borderColor,borderWidth:v.borderWidth,borderAlign:v.borderAlign,x:d,y:h,innerRadius:0,outerRadius:n?m:f,startAngle:n&&s.animateRotate?c:g,endAngle:n&&s.animateRotate?c:p,label:H.valueAtIndexOrDefault(u,e,u[e])}}),t.pivot()},countVisibleElements:function(){var t=this.getDataset(),e=this.getMeta(),n=0;return H.each(e.data,(function(e,i){isNaN(t.data[i])||e.hidden||n++})),n},setHoverStyle:function(t){var e=t._model,n=t._options,i=H.getHoverColor,a=H.valueOrDefault;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth},e.backgroundColor=a(n.hoverBackgroundColor,i(n.backgroundColor)),e.borderColor=a(n.hoverBorderColor,i(n.borderColor)),e.borderWidth=a(n.hoverBorderWidth,n.borderWidth)},_computeAngle:function(t){var e=this,n=this.getMeta().count,i=e.getDataset(),a=e.getMeta();if(isNaN(i.data[t])||a.data[t].hidden)return 0;var r={chart:e.chart,dataIndex:t,dataset:i,datasetIndex:e.index};return Gt([e.chart.options.elements.arc.angle,2*Math.PI/n],r,t)}});N._set("pie",H.clone(N.doughnut)),N._set("pie",{cutoutPercentage:0});var Kt=Bt,Zt=H.valueOrDefault;N._set("radar",{spanGaps:!1,scale:{type:"radialLinear"},elements:{line:{fill:"start",tension:0}}});var $t=it.extend({datasetElementType:kt.Line,dataElementType:kt.Point,linkScales:H.noop,_datasetElementOptions:["backgroundColor","borderWidth","borderColor","borderCapStyle","borderDash","borderDashOffset","borderJoinStyle","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(t){var e,n,i=this,a=i.getMeta(),r=a.dataset,o=a.data||[],s=i.chart.scale,l=i._config;for(void 0!==l.tension&&void 0===l.lineTension&&(l.lineTension=l.tension),r._scale=s,r._datasetIndex=i.index,r._children=o,r._loop=!0,r._model=i._resolveDatasetElementOptions(r),r.pivot(),e=0,n=o.length;e<n;++e)i.updateElement(o[e],e,t);for(i.updateBezierControlPoints(),e=0,n=o.length;e<n;++e)o[e].pivot()},updateElement:function(t,e,n){var i=this,a=t.custom||{},r=i.getDataset(),o=i.chart.scale,s=o.getPointPositionForValue(e,r.data[e]),l=i._resolveDataElementOptions(t,e),u=i.getMeta().dataset._model,d=n?o.xCenter:s.x,h=n?o.yCenter:s.y;t._scale=o,t._options=l,t._datasetIndex=i.index,t._index=e,t._model={x:d,y:h,skip:a.skip||isNaN(d)||isNaN(h),radius:l.radius,pointStyle:l.pointStyle,rotation:l.rotation,backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,tension:Zt(a.tension,u?u.tension:0),hitRadius:l.hitRadius}},_resolveDatasetElementOptions:function(){var t=this,e=t._config,n=t.chart.options,i=it.prototype._resolveDatasetElementOptions.apply(t,arguments);return i.spanGaps=Zt(e.spanGaps,n.spanGaps),i.tension=Zt(e.lineTension,n.elements.line.tension),i},updateBezierControlPoints:function(){var t,e,n,i,a=this.getMeta(),r=this.chart.chartArea,o=a.data||[];function s(t,e,n){return Math.max(Math.min(t,n),e)}for(a.dataset._model.spanGaps&&(o=o.filter((function(t){return!t._model.skip}))),t=0,e=o.length;t<e;++t)n=o[t]._model,i=H.splineCurve(H.previousItem(o,t,!0)._model,n,H.nextItem(o,t,!0)._model,n.tension),n.controlPointPreviousX=s(i.previous.x,r.left,r.right),n.controlPointPreviousY=s(i.previous.y,r.top,r.bottom),n.controlPointNextX=s(i.next.x,r.left,r.right),n.controlPointNextY=s(i.next.y,r.top,r.bottom)},setHoverStyle:function(t){var e=t._model,n=t._options,i=H.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=Zt(n.hoverBackgroundColor,i(n.backgroundColor)),e.borderColor=Zt(n.hoverBorderColor,i(n.borderColor)),e.borderWidth=Zt(n.hoverBorderWidth,n.borderWidth),e.radius=Zt(n.hoverRadius,n.radius)}});N._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},tooltips:{callbacks:{title:function(){return""},label:function(t){return"("+t.xLabel+", "+t.yLabel+")"}}}}),N._set("global",{datasets:{scatter:{showLine:!1}}});var Jt={bar:Tt,bubble:Ot,doughnut:Bt,horizontalBar:Et,line:Yt,polarArea:Xt,pie:Kt,radar:$t,scatter:Yt};function Qt(t,e){return t.native?{x:t.x,y:t.y}:H.getRelativePosition(t,e)}function te(t,e){var n,i,a,r,o,s,l=t._getSortedVisibleDatasetMetas();for(i=0,r=l.length;i<r;++i)for(a=0,o=(n=l[i].data).length;a<o;++a)(s=n[a])._view.skip||e(s)}function ee(t,e){var n=[];return te(t,(function(t){t.inRange(e.x,e.y)&&n.push(t)})),n}function ne(t,e,n,i){var a=Number.POSITIVE_INFINITY,r=[];return te(t,(function(t){if(!n||t.inRange(e.x,e.y)){var o=t.getCenterPoint(),s=i(e,o);s<a?(r=[t],a=s):s===a&&r.push(t)}})),r}function ie(t){var e=-1!==t.indexOf("x"),n=-1!==t.indexOf("y");return function(t,i){var a=e?Math.abs(t.x-i.x):0,r=n?Math.abs(t.y-i.y):0;return Math.sqrt(Math.pow(a,2)+Math.pow(r,2))}}function ae(t,e,n){var i=Qt(e,t);n.axis=n.axis||"x";var a=ie(n.axis),r=n.intersect?ee(t,i):ne(t,i,!1,a),o=[];return r.length?(t._getSortedVisibleDatasetMetas().forEach((function(t){var e=t.data[r[0]._index];e&&!e._view.skip&&o.push(e)})),o):[]}var re={modes:{single:function(t,e){var n=Qt(e,t),i=[];return te(t,(function(t){if(t.inRange(n.x,n.y))return i.push(t),i})),i.slice(0,1)},label:ae,index:ae,dataset:function(t,e,n){var i=Qt(e,t);n.axis=n.axis||"xy";var a=ie(n.axis),r=n.intersect?ee(t,i):ne(t,i,!1,a);return r.length>0&&(r=t.getDatasetMeta(r[0]._datasetIndex).data),r},"x-axis":function(t,e){return ae(t,e,{intersect:!1})},point:function(t,e){return ee(t,Qt(e,t))},nearest:function(t,e,n){var i=Qt(e,t);n.axis=n.axis||"xy";var a=ie(n.axis);return ne(t,i,n.intersect,a)},x:function(t,e,n){var i=Qt(e,t),a=[],r=!1;return te(t,(function(t){t.inXRange(i.x)&&a.push(t),t.inRange(i.x,i.y)&&(r=!0)})),n.intersect&&!r&&(a=[]),a},y:function(t,e,n){var i=Qt(e,t),a=[],r=!1;return te(t,(function(t){t.inYRange(i.y)&&a.push(t),t.inRange(i.x,i.y)&&(r=!0)})),n.intersect&&!r&&(a=[]),a}}},oe=H.extend;function se(t,e){return H.where(t,(function(t){return t.pos===e}))}function le(t,e){return t.sort((function(t,n){var i=e?n:t,a=e?t:n;return i.weight===a.weight?i.index-a.index:i.weight-a.weight}))}function ue(t,e,n,i){return Math.max(t[n],e[n])+Math.max(t[i],e[i])}function de(t,e,n){var i,a,r=n.box,o=t.maxPadding;if(n.size&&(t[n.pos]-=n.size),n.size=n.horizontal?r.height:r.width,t[n.pos]+=n.size,r.getPadding){var s=r.getPadding();o.top=Math.max(o.top,s.top),o.left=Math.max(o.left,s.left),o.bottom=Math.max(o.bottom,s.bottom),o.right=Math.max(o.right,s.right)}if(i=e.outerWidth-ue(o,t,"left","right"),a=e.outerHeight-ue(o,t,"top","bottom"),i!==t.w||a!==t.h){t.w=i,t.h=a;var l=n.horizontal?[i,t.w]:[a,t.h];return!(l[0]===l[1]||isNaN(l[0])&&isNaN(l[1]))}}function he(t,e){var n=e.maxPadding;function i(t){var i={left:0,top:0,right:0,bottom:0};return t.forEach((function(t){i[t]=Math.max(e[t],n[t])})),i}return i(t?["left","right"]:["top","bottom"])}function ce(t,e,n){var i,a,r,o,s,l,u=[];for(i=0,a=t.length;i<a;++i)(o=(r=t[i]).box).update(r.width||e.w,r.height||e.h,he(r.horizontal,e)),de(e,n,r)&&(l=!0,u.length&&(s=!0)),o.fullWidth||u.push(r);return s&&ce(u,e,n)||l}function fe(t,e,n){var i,a,r,o,s=n.padding,l=e.x,u=e.y;for(i=0,a=t.length;i<a;++i)o=(r=t[i]).box,r.horizontal?(o.left=o.fullWidth?s.left:e.left,o.right=o.fullWidth?n.outerWidth-s.right:e.left+e.w,o.top=u,o.bottom=u+o.height,o.width=o.right-o.left,u=o.bottom):(o.left=l,o.right=l+o.width,o.top=e.top,o.bottom=e.top+e.h,o.height=o.bottom-o.top,l=o.right);e.x=l,e.y=u}N._set("global",{layout:{padding:{top:0,right:0,bottom:0,left:0}}});var ge,pe={defaults:{},addBox:function(t,e){t.boxes||(t.boxes=[]),e.fullWidth=e.fullWidth||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw:function(){e.draw.apply(e,arguments)}}]},t.boxes.push(e)},removeBox:function(t,e){var n=t.boxes?t.boxes.indexOf(e):-1;-1!==n&&t.boxes.splice(n,1)},configure:function(t,e,n){for(var i,a=["fullWidth","position","weight"],r=a.length,o=0;o<r;++o)i=a[o],n.hasOwnProperty(i)&&(e[i]=n[i])},update:function(t,e,n){if(t){var i=t.options.layout||{},a=H.options.toPadding(i.padding),r=e-a.width,o=n-a.height,s=function(t){var e=function(t){var e,n,i,a=[];for(e=0,n=(t||[]).length;e<n;++e)i=t[e],a.push({index:e,box:i,pos:i.position,horizontal:i.isHorizontal(),weight:i.weight});return a}(t),n=le(se(e,"left"),!0),i=le(se(e,"right")),a=le(se(e,"top"),!0),r=le(se(e,"bottom"));return{leftAndTop:n.concat(a),rightAndBottom:i.concat(r),chartArea:se(e,"chartArea"),vertical:n.concat(i),horizontal:a.concat(r)}}(t.boxes),l=s.vertical,u=s.horizontal,d=Object.freeze({outerWidth:e,outerHeight:n,padding:a,availableWidth:r,vBoxMaxWidth:r/2/l.length,hBoxMaxHeight:o/2}),h=oe({maxPadding:oe({},a),w:r,h:o,x:a.left,y:a.top},a);!function(t,e){var n,i,a;for(n=0,i=t.length;n<i;++n)(a=t[n]).width=a.horizontal?a.box.fullWidth&&e.availableWidth:e.vBoxMaxWidth,a.height=a.horizontal&&e.hBoxMaxHeight}(l.concat(u),d),ce(l,h,d),ce(u,h,d)&&ce(l,h,d),function(t){var e=t.maxPadding;function n(n){var i=Math.max(e[n]-t[n],0);return t[n]+=i,i}t.y+=n("top"),t.x+=n("left"),n("right"),n("bottom")}(h),fe(s.leftAndTop,h,d),h.x+=h.w,h.y+=h.h,fe(s.rightAndBottom,h,d),t.chartArea={left:h.left,top:h.top,right:h.left+h.w,bottom:h.top+h.h},H.each(s.chartArea,(function(e){var n=e.box;oe(n,t.chartArea),n.update(h.w,h.h)}))}}},me=(ge=Object.freeze({__proto__:null,default:"@keyframes chartjs-render-animation{from{opacity:.99}to{opacity:1}}.chartjs-render-monitor{animation:chartjs-render-animation 1ms}.chartjs-size-monitor,.chartjs-size-monitor-expand,.chartjs-size-monitor-shrink{position:absolute;direction:ltr;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1}.chartjs-size-monitor-expand>div{position:absolute;width:1000000px;height:1000000px;left:0;top:0}.chartjs-size-monitor-shrink>div{position:absolute;width:200%;height:200%;left:0;top:0}"}))&&ge.default||ge,ve="$chartjs",be="chartjs-size-monitor",xe="chartjs-render-monitor",ye="chartjs-render-animation",_e=["animationstart","webkitAnimationStart"],ke={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function we(t,e){var n=H.getStyle(t,e),i=n&&n.match(/^(\d+)(\.\d+)?px$/);return i?Number(i[1]):void 0}var Me=!!function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("e",null,e)}catch(t){}return t}()&&{passive:!0};function Se(t,e,n){t.addEventListener(e,n,Me)}function Ce(t,e,n){t.removeEventListener(e,n,Me)}function Pe(t,e,n,i,a){return{type:t,chart:e,native:a||null,x:void 0!==n?n:null,y:void 0!==i?i:null}}function Ae(t){var e=document.createElement("div");return e.className=t||"",e}function De(t,e,n){var i,a,r,o,s=t[ve]||(t[ve]={}),l=s.resizer=function(t){var e=Ae(be),n=Ae(be+"-expand"),i=Ae(be+"-shrink");n.appendChild(Ae()),i.appendChild(Ae()),e.appendChild(n),e.appendChild(i),e._reset=function(){n.scrollLeft=1e6,n.scrollTop=1e6,i.scrollLeft=1e6,i.scrollTop=1e6};var a=function(){e._reset(),t()};return Se(n,"scroll",a.bind(n,"expand")),Se(i,"scroll",a.bind(i,"shrink")),e}((i=function(){if(s.resizer){var i=n.options.maintainAspectRatio&&t.parentNode,a=i?i.clientWidth:0;e(Pe("resize",n)),i&&i.clientWidth<a&&n.canvas&&e(Pe("resize",n))}},r=!1,o=[],function(){o=Array.prototype.slice.call(arguments),a=a||this,r||(r=!0,H.requestAnimFrame.call(window,(function(){r=!1,i.apply(a,o)})))}));!function(t,e){var n=t[ve]||(t[ve]={}),i=n.renderProxy=function(t){t.animationName===ye&&e()};H.each(_e,(function(e){Se(t,e,i)})),n.reflow=!!t.offsetParent,t.classList.add(xe)}(t,(function(){if(s.resizer){var e=t.parentNode;e&&e!==l.parentNode&&e.insertBefore(l,e.firstChild),l._reset()}}))}function Te(t){var e=t[ve]||{},n=e.resizer;delete e.resizer,function(t){var e=t[ve]||{},n=e.renderProxy;n&&(H.each(_e,(function(e){Ce(t,e,n)})),delete e.renderProxy),t.classList.remove(xe)}(t),n&&n.parentNode&&n.parentNode.removeChild(n)}var Ie={disableCSSInjection:!1,_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,_ensureLoaded:function(t){if(!this.disableCSSInjection){var e=t.getRootNode?t.getRootNode():document;!function(t,e){var n=t[ve]||(t[ve]={});if(!n.containsStyles){n.containsStyles=!0,e="/* Chart.js */\n"+e;var i=document.createElement("style");i.setAttribute("type","text/css"),i.appendChild(document.createTextNode(e)),t.appendChild(i)}}(e.host?e:document.head,me)}},acquireContext:function(t,e){"string"==typeof t?t=document.getElementById(t):t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas);var n=t&&t.getContext&&t.getContext("2d");return n&&n.canvas===t?(this._ensureLoaded(t),function(t,e){var n=t.style,i=t.getAttribute("height"),a=t.getAttribute("width");if(t[ve]={initial:{height:i,width:a,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",null===a||""===a){var r=we(t,"width");void 0!==r&&(t.width=r)}if(null===i||""===i)if(""===t.style.height)t.height=t.width/(e.options.aspectRatio||2);else{var o=we(t,"height");void 0!==r&&(t.height=o)}}(t,e),n):null},releaseContext:function(t){var e=t.canvas;if(e[ve]){var n=e[ve].initial;["height","width"].forEach((function(t){var i=n[t];H.isNullOrUndef(i)?e.removeAttribute(t):e.setAttribute(t,i)})),H.each(n.style||{},(function(t,n){e.style[n]=t})),e.width=e.width,delete e[ve]}},addEventListener:function(t,e,n){var i=t.canvas;if("resize"!==e){var a=n[ve]||(n[ve]={});Se(i,e,(a.proxies||(a.proxies={}))[t.id+"_"+e]=function(e){n(function(t,e){var n=ke[t.type]||t.type,i=H.getRelativePosition(t,e);return Pe(n,e,i.x,i.y,t)}(e,t))})}else De(i,n,t)},removeEventListener:function(t,e,n){var i=t.canvas;if("resize"!==e){var a=((n[ve]||{}).proxies||{})[t.id+"_"+e];a&&Ce(i,e,a)}else Te(i)}};H.addEvent=Se,H.removeEvent=Ce;var Fe=Ie._enabled?Ie:{acquireContext:function(t){return t&&t.canvas&&(t=t.canvas),t&&t.getContext("2d")||null}},Oe=H.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},Fe);N._set("global",{plugins:{}});var Le={_plugins:[],_cacheId:0,register:function(t){var e=this._plugins;[].concat(t).forEach((function(t){-1===e.indexOf(t)&&e.push(t)})),this._cacheId++},unregister:function(t){var e=this._plugins;[].concat(t).forEach((function(t){var n=e.indexOf(t);-1!==n&&e.splice(n,1)})),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(t,e,n){var i,a,r,o,s,l=this.descriptors(t),u=l.length;for(i=0;i<u;++i)if("function"==typeof(s=(r=(a=l[i]).plugin)[e])&&((o=[t].concat(n||[])).push(a.options),!1===s.apply(r,o)))return!1;return!0},descriptors:function(t){var e=t.$plugins||(t.$plugins={});if(e.id===this._cacheId)return e.descriptors;var n=[],i=[],a=t&&t.config||{},r=a.options&&a.options.plugins||{};return this._plugins.concat(a.plugins||[]).forEach((function(t){if(-1===n.indexOf(t)){var e=t.id,a=r[e];!1!==a&&(!0===a&&(a=H.clone(N.global.plugins[e])),n.push(t),i.push({plugin:t,options:a||{}}))}})),e.descriptors=i,e.id=this._cacheId,i},_invalidate:function(t){delete t.$plugins}},Re={constructors:{},defaults:{},registerScaleType:function(t,e,n){this.constructors[t]=e,this.defaults[t]=H.clone(n)},getScaleConstructor:function(t){return this.constructors.hasOwnProperty(t)?this.constructors[t]:void 0},getScaleDefaults:function(t){return this.defaults.hasOwnProperty(t)?H.merge(Object.create(null),[N.scale,this.defaults[t]]):{}},updateScaleDefaults:function(t,e){this.defaults.hasOwnProperty(t)&&(this.defaults[t]=H.extend(this.defaults[t],e))},addScalesToLayout:function(t){H.each(t.scales,(function(e){e.fullWidth=e.options.fullWidth,e.position=e.options.position,e.weight=e.options.weight,pe.addBox(t,e)}))}},ze=H.valueOrDefault,Ne=H.rtl.getRtlAdapter;N._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:H.noop,title:function(t,e){var n="",i=e.labels,a=i?i.length:0;if(t.length>0){var r=t[0];r.label?n=r.label:r.xLabel?n=r.xLabel:a>0&&r.index<a&&(n=i[r.index])}return n},afterTitle:H.noop,beforeBody:H.noop,beforeLabel:H.noop,label:function(t,e){var n=e.datasets[t.datasetIndex].label||"";return n&&(n+=": "),H.isNullOrUndef(t.value)?n+=t.yLabel:n+=t.value,n},labelColor:function(t,e){var n=e.getDatasetMeta(t.datasetIndex).data[t.index]._view;return{borderColor:n.borderColor,backgroundColor:n.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:H.noop,afterBody:H.noop,beforeFooter:H.noop,footer:H.noop,afterFooter:H.noop}}});var Be={average:function(t){if(!t.length)return!1;var e,n,i=0,a=0,r=0;for(e=0,n=t.length;e<n;++e){var o=t[e];if(o&&o.hasValue()){var s=o.tooltipPosition();i+=s.x,a+=s.y,++r}}return{x:i/r,y:a/r}},nearest:function(t,e){var n,i,a,r=e.x,o=e.y,s=Number.POSITIVE_INFINITY;for(n=0,i=t.length;n<i;++n){var l=t[n];if(l&&l.hasValue()){var u=l.getCenterPoint(),d=H.distanceBetweenPoints(e,u);d<s&&(s=d,a=l)}}if(a){var h=a.tooltipPosition();r=h.x,o=h.y}return{x:r,y:o}}};function Ee(t,e){return e&&(H.isArray(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function We(t){return("string"==typeof t||t instanceof String)&&t.indexOf("\n")>-1?t.split("\n"):t}function Ve(t){var e=N.global;return{xPadding:t.xPadding,yPadding:t.yPadding,xAlign:t.xAlign,yAlign:t.yAlign,rtl:t.rtl,textDirection:t.textDirection,bodyFontColor:t.bodyFontColor,_bodyFontFamily:ze(t.bodyFontFamily,e.defaultFontFamily),_bodyFontStyle:ze(t.bodyFontStyle,e.defaultFontStyle),_bodyAlign:t.bodyAlign,bodyFontSize:ze(t.bodyFontSize,e.defaultFontSize),bodySpacing:t.bodySpacing,titleFontColor:t.titleFontColor,_titleFontFamily:ze(t.titleFontFamily,e.defaultFontFamily),_titleFontStyle:ze(t.titleFontStyle,e.defaultFontStyle),titleFontSize:ze(t.titleFontSize,e.defaultFontSize),_titleAlign:t.titleAlign,titleSpacing:t.titleSpacing,titleMarginBottom:t.titleMarginBottom,footerFontColor:t.footerFontColor,_footerFontFamily:ze(t.footerFontFamily,e.defaultFontFamily),_footerFontStyle:ze(t.footerFontStyle,e.defaultFontStyle),footerFontSize:ze(t.footerFontSize,e.defaultFontSize),_footerAlign:t.footerAlign,footerSpacing:t.footerSpacing,footerMarginTop:t.footerMarginTop,caretSize:t.caretSize,cornerRadius:t.cornerRadius,backgroundColor:t.backgroundColor,opacity:0,legendColorBackground:t.multiKeyBackground,displayColors:t.displayColors,borderColor:t.borderColor,borderWidth:t.borderWidth}}function He(t,e){return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-t.xPadding:t.x+t.xPadding}function je(t){return Ee([],We(t))}var qe=K.extend({initialize:function(){this._model=Ve(this._options),this._lastActive=[]},getTitle:function(){var t=this,e=t._options,n=e.callbacks,i=n.beforeTitle.apply(t,arguments),a=n.title.apply(t,arguments),r=n.afterTitle.apply(t,arguments),o=[];return o=Ee(o,We(i)),o=Ee(o,We(a)),o=Ee(o,We(r))},getBeforeBody:function(){return je(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(t,e){var n=this,i=n._options.callbacks,a=[];return H.each(t,(function(t){var r={before:[],lines:[],after:[]};Ee(r.before,We(i.beforeLabel.call(n,t,e))),Ee(r.lines,i.label.call(n,t,e)),Ee(r.after,We(i.afterLabel.call(n,t,e))),a.push(r)})),a},getAfterBody:function(){return je(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var t=this,e=t._options.callbacks,n=e.beforeFooter.apply(t,arguments),i=e.footer.apply(t,arguments),a=e.afterFooter.apply(t,arguments),r=[];return r=Ee(r,We(n)),r=Ee(r,We(i)),r=Ee(r,We(a))},update:function(t){var e,n,i,a,r,o,s,l,u,d,h=this,c=h._options,f=h._model,g=h._model=Ve(c),p=h._active,m=h._data,v={xAlign:f.xAlign,yAlign:f.yAlign},b={x:f.x,y:f.y},x={width:f.width,height:f.height},y={x:f.caretX,y:f.caretY};if(p.length){g.opacity=1;var _=[],k=[];y=Be[c.position].call(h,p,h._eventPosition);var w=[];for(e=0,n=p.length;e<n;++e)w.push((i=p[e],a=void 0,r=void 0,o=void 0,s=void 0,l=void 0,u=void 0,d=void 0,a=i._xScale,r=i._yScale||i._scale,o=i._index,s=i._datasetIndex,l=i._chart.getDatasetMeta(s).controller,u=l._getIndexScale(),d=l._getValueScale(),{xLabel:a?a.getLabelForIndex(o,s):"",yLabel:r?r.getLabelForIndex(o,s):"",label:u?""+u.getLabelForIndex(o,s):"",value:d?""+d.getLabelForIndex(o,s):"",index:o,datasetIndex:s,x:i._model.x,y:i._model.y}));c.filter&&(w=w.filter((function(t){return c.filter(t,m)}))),c.itemSort&&(w=w.sort((function(t,e){return c.itemSort(t,e,m)}))),H.each(w,(function(t){_.push(c.callbacks.labelColor.call(h,t,h._chart)),k.push(c.callbacks.labelTextColor.call(h,t,h._chart))})),g.title=h.getTitle(w,m),g.beforeBody=h.getBeforeBody(w,m),g.body=h.getBody(w,m),g.afterBody=h.getAfterBody(w,m),g.footer=h.getFooter(w,m),g.x=y.x,g.y=y.y,g.caretPadding=c.caretPadding,g.labelColors=_,g.labelTextColors=k,g.dataPoints=w,x=function(t,e){var n=t._chart.ctx,i=2*e.yPadding,a=0,r=e.body,o=r.reduce((function(t,e){return t+e.before.length+e.lines.length+e.after.length}),0);o+=e.beforeBody.length+e.afterBody.length;var s=e.title.length,l=e.footer.length,u=e.titleFontSize,d=e.bodyFontSize,h=e.footerFontSize;i+=s*u,i+=s?(s-1)*e.titleSpacing:0,i+=s?e.titleMarginBottom:0,i+=o*d,i+=o?(o-1)*e.bodySpacing:0,i+=l?e.footerMarginTop:0,i+=l*h,i+=l?(l-1)*e.footerSpacing:0;var c=0,f=function(t){a=Math.max(a,n.measureText(t).width+c)};return n.font=H.fontString(u,e._titleFontStyle,e._titleFontFamily),H.each(e.title,f),n.font=H.fontString(d,e._bodyFontStyle,e._bodyFontFamily),H.each(e.beforeBody.concat(e.afterBody),f),c=e.displayColors?d+2:0,H.each(r,(function(t){H.each(t.before,f),H.each(t.lines,f),H.each(t.after,f)})),c=0,n.font=H.fontString(h,e._footerFontStyle,e._footerFontFamily),H.each(e.footer,f),{width:a+=2*e.xPadding,height:i}}(this,g),b=function(t,e,n,i){var a=t.x,r=t.y,o=t.caretSize,s=t.caretPadding,l=t.cornerRadius,u=n.xAlign,d=n.yAlign,h=o+s,c=l+s;return"right"===u?a-=e.width:"center"===u&&((a-=e.width/2)+e.width>i.width&&(a=i.width-e.width),a<0&&(a=0)),"top"===d?r+=h:r-="bottom"===d?e.height+h:e.height/2,"center"===d?"left"===u?a+=h:"right"===u&&(a-=h):"left"===u?a-=c:"right"===u&&(a+=c),{x:a,y:r}}(g,x,v=function(t,e){var n,i,a,r,o,s=t._model,l=t._chart,u=t._chart.chartArea,d="center",h="center";s.y<e.height?h="top":s.y>l.height-e.height&&(h="bottom");var c=(u.left+u.right)/2,f=(u.top+u.bottom)/2;"center"===h?(n=function(t){return t<=c},i=function(t){return t>c}):(n=function(t){return t<=e.width/2},i=function(t){return t>=l.width-e.width/2}),a=function(t){return t+e.width+s.caretSize+s.caretPadding>l.width},r=function(t){return t-e.width-s.caretSize-s.caretPadding<0},o=function(t){return t<=f?"top":"bottom"},n(s.x)?(d="left",a(s.x)&&(d="center",h=o(s.y))):i(s.x)&&(d="right",r(s.x)&&(d="center",h=o(s.y)));var g=t._options;return{xAlign:g.xAlign?g.xAlign:d,yAlign:g.yAlign?g.yAlign:h}}(this,x),h._chart)}else g.opacity=0;return g.xAlign=v.xAlign,g.yAlign=v.yAlign,g.x=b.x,g.y=b.y,g.width=x.width,g.height=x.height,g.caretX=y.x,g.caretY=y.y,h._model=g,t&&c.custom&&c.custom.call(h,g),h},drawCaret:function(t,e){var n=this._chart.ctx,i=this._view,a=this.getCaretPosition(t,e,i);n.lineTo(a.x1,a.y1),n.lineTo(a.x2,a.y2),n.lineTo(a.x3,a.y3)},getCaretPosition:function(t,e,n){var i,a,r,o,s,l,u=n.caretSize,d=n.cornerRadius,h=n.xAlign,c=n.yAlign,f=t.x,g=t.y,p=e.width,m=e.height;if("center"===c)s=g+m/2,"left"===h?(a=(i=f)-u,r=i,o=s+u,l=s-u):(a=(i=f+p)+u,r=i,o=s-u,l=s+u);else if("left"===h?(i=(a=f+d+u)-u,r=a+u):"right"===h?(i=(a=f+p-d-u)-u,r=a+u):(i=(a=n.caretX)-u,r=a+u),"top"===c)s=(o=g)-u,l=o;else{s=(o=g+m)+u,l=o;var v=r;r=i,i=v}return{x1:i,x2:a,x3:r,y1:o,y2:s,y3:l}},drawTitle:function(t,e,n){var i,a,r,o=e.title,s=o.length;if(s){var l=Ne(e.rtl,e.x,e.width);for(t.x=He(e,e._titleAlign),n.textAlign=l.textAlign(e._titleAlign),n.textBaseline="middle",i=e.titleFontSize,a=e.titleSpacing,n.fillStyle=e.titleFontColor,n.font=H.fontString(i,e._titleFontStyle,e._titleFontFamily),r=0;r<s;++r)n.fillText(o[r],l.x(t.x),t.y+i/2),t.y+=i+a,r+1===s&&(t.y+=e.titleMarginBottom-a)}},drawBody:function(t,e,n){var i,a,r,o,s,l,u,d,h=e.bodyFontSize,c=e.bodySpacing,f=e._bodyAlign,g=e.body,p=e.displayColors,m=0,v=p?He(e,"left"):0,b=Ne(e.rtl,e.x,e.width),x=function(e){n.fillText(e,b.x(t.x+m),t.y+h/2),t.y+=h+c},y=b.textAlign(f);for(n.textAlign=f,n.textBaseline="middle",n.font=H.fontString(h,e._bodyFontStyle,e._bodyFontFamily),t.x=He(e,y),n.fillStyle=e.bodyFontColor,H.each(e.beforeBody,x),m=p&&"right"!==y?"center"===f?h/2+1:h+2:0,s=0,u=g.length;s<u;++s){for(i=g[s],a=e.labelTextColors[s],r=e.labelColors[s],n.fillStyle=a,H.each(i.before,x),l=0,d=(o=i.lines).length;l<d;++l){if(p){var _=b.x(v);n.fillStyle=e.legendColorBackground,n.fillRect(b.leftForLtr(_,h),t.y,h,h),n.lineWidth=1,n.strokeStyle=r.borderColor,n.strokeRect(b.leftForLtr(_,h),t.y,h,h),n.fillStyle=r.backgroundColor,n.fillRect(b.leftForLtr(b.xPlus(_,1),h-2),t.y+1,h-2,h-2),n.fillStyle=a}x(o[l])}H.each(i.after,x)}m=0,H.each(e.afterBody,x),t.y-=c},drawFooter:function(t,e,n){var i,a,r=e.footer,o=r.length;if(o){var s=Ne(e.rtl,e.x,e.width);for(t.x=He(e,e._footerAlign),t.y+=e.footerMarginTop,n.textAlign=s.textAlign(e._footerAlign),n.textBaseline="middle",i=e.footerFontSize,n.fillStyle=e.footerFontColor,n.font=H.fontString(i,e._footerFontStyle,e._footerFontFamily),a=0;a<o;++a)n.fillText(r[a],s.x(t.x),t.y+i/2),t.y+=i+e.footerSpacing}},drawBackground:function(t,e,n,i){n.fillStyle=e.backgroundColor,n.strokeStyle=e.borderColor,n.lineWidth=e.borderWidth;var a=e.xAlign,r=e.yAlign,o=t.x,s=t.y,l=i.width,u=i.height,d=e.cornerRadius;n.beginPath(),n.moveTo(o+d,s),"top"===r&&this.drawCaret(t,i),n.lineTo(o+l-d,s),n.quadraticCurveTo(o+l,s,o+l,s+d),"center"===r&&"right"===a&&this.drawCaret(t,i),n.lineTo(o+l,s+u-d),n.quadraticCurveTo(o+l,s+u,o+l-d,s+u),"bottom"===r&&this.drawCaret(t,i),n.lineTo(o+d,s+u),n.quadraticCurveTo(o,s+u,o,s+u-d),"center"===r&&"left"===a&&this.drawCaret(t,i),n.lineTo(o,s+d),n.quadraticCurveTo(o,s,o+d,s),n.closePath(),n.fill(),e.borderWidth>0&&n.stroke()},draw:function(){var t=this._chart.ctx,e=this._view;if(0!==e.opacity){var n={width:e.width,height:e.height},i={x:e.x,y:e.y},a=Math.abs(e.opacity<.001)?0:e.opacity,r=e.title.length||e.beforeBody.length||e.body.length||e.afterBody.length||e.footer.length;this._options.enabled&&r&&(t.save(),t.globalAlpha=a,this.drawBackground(i,e,t,n),i.y+=e.yPadding,H.rtl.overrideTextDirection(t,e.textDirection),this.drawTitle(i,e,t),this.drawBody(i,e,t),this.drawFooter(i,e,t),H.rtl.restoreTextDirection(t,e.textDirection),t.restore())}},handleEvent:function(t){var e,n=this,i=n._options;return n._lastActive=n._lastActive||[],"mouseout"===t.type?n._active=[]:(n._active=n._chart.getElementsAtEventForMode(t,i.mode,i),i.reverse&&n._active.reverse()),(e=!H.arrayEquals(n._active,n._lastActive))&&(n._lastActive=n._active,(i.enabled||i.custom)&&(n._eventPosition={x:t.x,y:t.y},n.update(!0),n.pivot())),e}}),Ue=Be,Ye=qe;Ye.positioners=Ue;var Ge=H.valueOrDefault;function Xe(){return H.merge(Object.create(null),[].slice.call(arguments),{merger:function(t,e,n,i){if("xAxes"===t||"yAxes"===t){var a,r,o,s=n[t].length;for(e[t]||(e[t]=[]),a=0;a<s;++a)o=n[t][a],r=Ge(o.type,"xAxes"===t?"category":"linear"),a>=e[t].length&&e[t].push({}),!e[t][a].type||o.type&&o.type!==e[t][a].type?H.merge(e[t][a],[Re.getScaleDefaults(r),o]):H.merge(e[t][a],o)}else H._merger(t,e,n,i)}})}function Ke(){return H.merge(Object.create(null),[].slice.call(arguments),{merger:function(t,e,n,i){var a=e[t]||Object.create(null),r=n[t];"scales"===t?e[t]=Xe(a,r):"scale"===t?e[t]=H.merge(a,[Re.getScaleDefaults(r.type),r]):H._merger(t,e,n,i)}})}function Ze(t){var e=t.options;H.each(t.scales,(function(e){pe.removeBox(t,e)})),e=Ke(N.global,N[t.config.type],e),t.options=t.config.options=e,t.ensureScalesHaveIDs(),t.buildOrUpdateScales(),t.tooltip._options=e.tooltips,t.tooltip.initialize()}function $e(t,e,n){var i,a=function(t){return t.id===i};do{i=e+n++}while(H.findIndex(t,a)>=0);return i}function Je(t){return"top"===t||"bottom"===t}function Qe(t,e){return function(n,i){return n[t]===i[t]?n[e]-i[e]:n[t]-i[t]}}N._set("global",{elements:{},events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,maintainAspectRatio:!0,responsive:!0,responsiveAnimationDuration:0});var tn=function(t,e){return this.construct(t,e),this};H.extend(tn.prototype,{construct:function(t,e){var n=this;e=function(t){var e=(t=t||Object.create(null)).data=t.data||{};return e.datasets=e.datasets||[],e.labels=e.labels||[],t.options=Ke(N.global,N[t.type],t.options||{}),t}(e);var i=Oe.acquireContext(t,e),a=i&&i.canvas,r=a&&a.height,o=a&&a.width;n.id=H.uid(),n.ctx=i,n.canvas=a,n.config=e,n.width=o,n.height=r,n.aspectRatio=r?o/r:null,n.options=e.options,n._bufferedRender=!1,n._layers=[],n.chart=n,n.controller=n,tn.instances[n.id]=n,Object.defineProperty(n,"data",{get:function(){return n.config.data},set:function(t){n.config.data=t}}),i&&a?(n.initialize(),n.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var t=this;return Le.notify(t,"beforeInit"),H.retinaScale(t,t.options.devicePixelRatio),t.bindEvents(),t.options.responsive&&t.resize(!0),t.initToolTip(),Le.notify(t,"afterInit"),t},clear:function(){return H.canvas.clear(this),this},stop:function(){return J.cancelAnimation(this),this},resize:function(t){var e=this,n=e.options,i=e.canvas,a=n.maintainAspectRatio&&e.aspectRatio||null,r=Math.max(0,Math.floor(H.getMaximumWidth(i))),o=Math.max(0,Math.floor(a?r/a:H.getMaximumHeight(i)));if((e.width!==r||e.height!==o)&&(i.width=e.width=r,i.height=e.height=o,i.style.width=r+"px",i.style.height=o+"px",H.retinaScale(e,n.devicePixelRatio),!t)){var s={width:r,height:o};Le.notify(e,"resize",[s]),n.onResize&&n.onResize(e,s),e.stop(),e.update({duration:n.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var t=this.options,e=t.scales||{},n=t.scale;H.each(e.xAxes,(function(t,n){t.id||(t.id=$e(e.xAxes,"x-axis-",n))})),H.each(e.yAxes,(function(t,n){t.id||(t.id=$e(e.yAxes,"y-axis-",n))})),n&&(n.id=n.id||"scale")},buildOrUpdateScales:function(){var t=this,e=t.options,n=t.scales||{},i=[],a=Object.keys(n).reduce((function(t,e){return t[e]=!1,t}),{});e.scales&&(i=i.concat((e.scales.xAxes||[]).map((function(t){return{options:t,dtype:"category",dposition:"bottom"}})),(e.scales.yAxes||[]).map((function(t){return{options:t,dtype:"linear",dposition:"left"}})))),e.scale&&i.push({options:e.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),H.each(i,(function(e){var i=e.options,r=i.id,o=Ge(i.type,e.dtype);Je(i.position)!==Je(e.dposition)&&(i.position=e.dposition),a[r]=!0;var s=null;if(r in n&&n[r].type===o)(s=n[r]).options=i,s.ctx=t.ctx,s.chart=t;else{var l=Re.getScaleConstructor(o);if(!l)return;s=new l({id:r,type:o,options:i,ctx:t.ctx,chart:t}),n[s.id]=s}s.mergeTicksOptions(),e.isDefault&&(t.scale=s)})),H.each(a,(function(t,e){t||delete n[e]})),t.scales=n,Re.addScalesToLayout(this)},buildOrUpdateControllers:function(){var t,e,n=this,i=[],a=n.data.datasets;for(t=0,e=a.length;t<e;t++){var r=a[t],o=n.getDatasetMeta(t),s=r.type||n.config.type;if(o.type&&o.type!==s&&(n.destroyDatasetMeta(t),o=n.getDatasetMeta(t)),o.type=s,o.order=r.order||0,o.index=t,o.controller)o.controller.updateIndex(t),o.controller.linkScales();else{var l=Jt[o.type];if(void 0===l)throw new Error('"'+o.type+'" is not a chart type.');o.controller=new l(n,t),i.push(o.controller)}}return i},resetElements:function(){var t=this;H.each(t.data.datasets,(function(e,n){t.getDatasetMeta(n).controller.reset()}),t)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(t){var e,n,i=this;if(t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]}),Ze(i),Le._invalidate(i),!1!==Le.notify(i,"beforeUpdate")){i.tooltip._data=i.data;var a=i.buildOrUpdateControllers();for(e=0,n=i.data.datasets.length;e<n;e++)i.getDatasetMeta(e).controller.buildOrUpdateElements();i.updateLayout(),i.options.animation&&i.options.animation.duration&&H.each(a,(function(t){t.reset()})),i.updateDatasets(),i.tooltip.initialize(),i.lastActive=[],Le.notify(i,"afterUpdate"),i._layers.sort(Qe("z","_idx")),i._bufferedRender?i._bufferedRequest={duration:t.duration,easing:t.easing,lazy:t.lazy}:i.render(t)}},updateLayout:function(){var t=this;!1!==Le.notify(t,"beforeLayout")&&(pe.update(this,this.width,this.height),t._layers=[],H.each(t.boxes,(function(e){e._configure&&e._configure(),t._layers.push.apply(t._layers,e._layers())}),t),t._layers.forEach((function(t,e){t._idx=e})),Le.notify(t,"afterScaleUpdate"),Le.notify(t,"afterLayout"))},updateDatasets:function(){if(!1!==Le.notify(this,"beforeDatasetsUpdate")){for(var t=0,e=this.data.datasets.length;t<e;++t)this.updateDataset(t);Le.notify(this,"afterDatasetsUpdate")}},updateDataset:function(t){var e=this.getDatasetMeta(t),n={meta:e,index:t};!1!==Le.notify(this,"beforeDatasetUpdate",[n])&&(e.controller._update(),Le.notify(this,"afterDatasetUpdate",[n]))},render:function(t){var e=this;t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]});var n=e.options.animation,i=Ge(t.duration,n&&n.duration),a=t.lazy;if(!1!==Le.notify(e,"beforeRender")){var r=function(t){Le.notify(e,"afterRender"),H.callback(n&&n.onComplete,[t],e)};if(n&&i){var o=new $({numSteps:i/16.66,easing:t.easing||n.easing,render:function(t,e){var n=H.easing.effects[e.easing],i=e.currentStep,a=i/e.numSteps;t.draw(n(a),a,i)},onAnimationProgress:n.onProgress,onAnimationComplete:r});J.addAnimation(e,o,i,a)}else e.draw(),r(new $({numSteps:0,chart:e}));return e}},draw:function(t){var e,n,i=this;if(i.clear(),H.isNullOrUndef(t)&&(t=1),i.transition(t),!(i.width<=0||i.height<=0)&&!1!==Le.notify(i,"beforeDraw",[t])){for(n=i._layers,e=0;e<n.length&&n[e].z<=0;++e)n[e].draw(i.chartArea);for(i.drawDatasets(t);e<n.length;++e)n[e].draw(i.chartArea);i._drawTooltip(t),Le.notify(i,"afterDraw",[t])}},transition:function(t){for(var e=0,n=(this.data.datasets||[]).length;e<n;++e)this.isDatasetVisible(e)&&this.getDatasetMeta(e).controller.transition(t);this.tooltip.transition(t)},_getSortedDatasetMetas:function(t){var e,n,i=[];for(e=0,n=(this.data.datasets||[]).length;e<n;++e)t&&!this.isDatasetVisible(e)||i.push(this.getDatasetMeta(e));return i.sort(Qe("order","index")),i},_getSortedVisibleDatasetMetas:function(){return this._getSortedDatasetMetas(!0)},drawDatasets:function(t){var e,n;if(!1!==Le.notify(this,"beforeDatasetsDraw",[t])){for(n=(e=this._getSortedVisibleDatasetMetas()).length-1;n>=0;--n)this.drawDataset(e[n],t);Le.notify(this,"afterDatasetsDraw",[t])}},drawDataset:function(t,e){var n={meta:t,index:t.index,easingValue:e};!1!==Le.notify(this,"beforeDatasetDraw",[n])&&(t.controller.draw(e),Le.notify(this,"afterDatasetDraw",[n]))},_drawTooltip:function(t){var e=this.tooltip,n={tooltip:e,easingValue:t};!1!==Le.notify(this,"beforeTooltipDraw",[n])&&(e.draw(),Le.notify(this,"afterTooltipDraw",[n]))},getElementAtEvent:function(t){return re.modes.single(this,t)},getElementsAtEvent:function(t){return re.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return re.modes["x-axis"](this,t,{intersect:!0})},getElementsAtEventForMode:function(t,e,n){var i=re.modes[e];return"function"==typeof i?i(this,t,n):[]},getDatasetAtEvent:function(t){return re.modes.dataset(this,t,{intersect:!0})},getDatasetMeta:function(t){var e=this.data.datasets[t];e._meta||(e._meta={});var n=e._meta[this.id];return n||(n=e._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e.order||0,index:t}),n},getVisibleDatasetCount:function(){for(var t=0,e=0,n=this.data.datasets.length;e<n;++e)this.isDatasetVisible(e)&&t++;return t},isDatasetVisible:function(t){var e=this.getDatasetMeta(t);return"boolean"==typeof e.hidden?!e.hidden:!this.data.datasets[t].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(t){var e=this.id,n=this.data.datasets[t],i=n._meta&&n._meta[e];i&&(i.controller.destroy(),delete n._meta[e])},destroy:function(){var t,e,n=this,i=n.canvas;for(n.stop(),t=0,e=n.data.datasets.length;t<e;++t)n.destroyDatasetMeta(t);i&&(n.unbindEvents(),H.canvas.clear(n),Oe.releaseContext(n.ctx),n.canvas=null,n.ctx=null),Le.notify(n,"destroy"),delete tn.instances[n.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var t=this;t.tooltip=new Ye({_chart:t,_chartInstance:t,_data:t.data,_options:t.options.tooltips},t)},bindEvents:function(){var t=this,e=t._listeners={},n=function(){t.eventHandler.apply(t,arguments)};H.each(t.options.events,(function(i){Oe.addEventListener(t,i,n),e[i]=n})),t.options.responsive&&(n=function(){t.resize()},Oe.addEventListener(t,"resize",n),e.resize=n)},unbindEvents:function(){var t=this,e=t._listeners;e&&(delete t._listeners,H.each(e,(function(e,n){Oe.removeEventListener(t,n,e)})))},updateHoverStyle:function(t,e,n){var i,a,r,o=n?"set":"remove";for(a=0,r=t.length;a<r;++a)(i=t[a])&&this.getDatasetMeta(i._datasetIndex).controller[o+"HoverStyle"](i);"dataset"===e&&this.getDatasetMeta(t[0]._datasetIndex).controller["_"+o+"DatasetHoverStyle"]()},eventHandler:function(t){var e=this,n=e.tooltip;if(!1!==Le.notify(e,"beforeEvent",[t])){e._bufferedRender=!0,e._bufferedRequest=null;var i=e.handleEvent(t);n&&(i=n._start?n.handleEvent(t):i|n.handleEvent(t)),Le.notify(e,"afterEvent",[t]);var a=e._bufferedRequest;return a?e.render(a):i&&!e.animating&&(e.stop(),e.render({duration:e.options.hover.animationDuration,lazy:!0})),e._bufferedRender=!1,e._bufferedRequest=null,e}},handleEvent:function(t){var e,n=this,i=n.options||{},a=i.hover;return n.lastActive=n.lastActive||[],"mouseout"===t.type?n.active=[]:n.active=n.getElementsAtEventForMode(t,a.mode,a),H.callback(i.onHover||i.hover.onHover,[t.native,n.active],n),"mouseup"!==t.type&&"click"!==t.type||i.onClick&&i.onClick.call(n,t.native,n.active),n.lastActive.length&&n.updateHoverStyle(n.lastActive,a.mode,!1),n.active.length&&a.mode&&n.updateHoverStyle(n.active,a.mode,!0),e=!H.arrayEquals(n.active,n.lastActive),n.lastActive=n.active,e}}),tn.instances={};var en=tn;tn.Controller=tn,tn.types={},H.configMerge=Ke,H.scaleMerge=Xe;function nn(){throw new Error("This method is not implemented: either no adapter can be found or an incomplete integration was provided.")}function an(t){this.options=t||{}}H.extend(an.prototype,{formats:nn,parse:nn,format:nn,add:nn,diff:nn,startOf:nn,endOf:nn,_create:function(t){return t}}),an.override=function(t){H.extend(an.prototype,t)};var rn={_date:an},on={formatters:{values:function(t){return H.isArray(t)?t:""+t},linear:function(t,e,n){var i=n.length>3?n[2]-n[1]:n[1]-n[0];Math.abs(i)>1&&t!==Math.floor(t)&&(i=t-Math.floor(t));var a=H.log10(Math.abs(i)),r="";if(0!==t)if(Math.max(Math.abs(n[0]),Math.abs(n[n.length-1]))<1e-4){var o=H.log10(Math.abs(t)),s=Math.floor(o)-Math.floor(a);s=Math.max(Math.min(s,20),0),r=t.toExponential(s)}else{var l=-1*Math.floor(a);l=Math.max(Math.min(l,20),0),r=t.toFixed(l)}else r="0";return r},logarithmic:function(t,e,n){var i=t/Math.pow(10,Math.floor(H.log10(t)));return 0===t?"0":1===i||2===i||5===i||0===e||e===n.length-1?t.toExponential():""}}},sn=H.isArray,ln=H.isNullOrUndef,un=H.valueOrDefault,dn=H.valueAtIndexOrDefault;function hn(t,e,n){var i,a=t.getTicks().length,r=Math.min(e,a-1),o=t.getPixelForTick(r),s=t._startPixel,l=t._endPixel;if(!(n&&(i=1===a?Math.max(o-s,l-o):0===e?(t.getPixelForTick(1)-o)/2:(o-t.getPixelForTick(r-1))/2,(o+=r<e?i:-i)<s-1e-6||o>l+1e-6)))return o}function cn(t,e,n,i){var a,r,o,s,l,u,d,h,c,f,g,p,m,v=n.length,b=[],x=[],y=[],_=0,k=0;for(a=0;a<v;++a){if(s=n[a].label,l=n[a].major?e.major:e.minor,t.font=u=l.string,d=i[u]=i[u]||{data:{},gc:[]},h=l.lineHeight,c=f=0,ln(s)||sn(s)){if(sn(s))for(r=0,o=s.length;r<o;++r)g=s[r],ln(g)||sn(g)||(c=H.measureText(t,d.data,d.gc,c,g),f+=h)}else c=H.measureText(t,d.data,d.gc,c,s),f=h;b.push(c),x.push(f),y.push(h/2),_=Math.max(c,_),k=Math.max(f,k)}function w(t){return{width:b[t]||0,height:x[t]||0,offset:y[t]||0}}return function(t,e){H.each(t,(function(t){var n,i=t.gc,a=i.length/2;if(a>e){for(n=0;n<a;++n)delete t.data[i[n]];i.splice(0,a)}}))}(i,v),p=b.indexOf(_),m=x.indexOf(k),{first:w(0),last:w(v-1),widest:w(p),highest:w(m)}}function fn(t){return t.drawTicks?t.tickMarkLength:0}function gn(t){var e,n;return t.display?(e=H.options._parseFont(t),n=H.options.toPadding(t.padding),e.lineHeight+n.height):0}function pn(t,e){return H.extend(H.options._parseFont({fontFamily:un(e.fontFamily,t.fontFamily),fontSize:un(e.fontSize,t.fontSize),fontStyle:un(e.fontStyle,t.fontStyle),lineHeight:un(e.lineHeight,t.lineHeight)}),{color:H.options.resolve([e.fontColor,t.fontColor,N.global.defaultFontColor])})}function mn(t){var e=pn(t,t.minor);return{minor:e,major:t.major.enabled?pn(t,t.major):e}}function vn(t){var e,n,i,a=[];for(n=0,i=t.length;n<i;++n)void 0!==(e=t[n])._index&&a.push(e);return a}function bn(t,e,n,i){var a,r,o,s,l=un(n,0),u=Math.min(un(i,t.length),t.length),d=0;for(e=Math.ceil(e),i&&(e=(a=i-n)/Math.floor(a/e)),s=l;s<0;)d++,s=Math.round(l+d*e);for(r=Math.max(l,0);r<u;r++)o=t[r],r===s?(o._index=r,d++,s=Math.round(l+d*e)):delete o.label}N._set("scale",{display:!0,position:"left",offset:!1,gridLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:"rgba(0,0,0,0.25)",zeroLineBorderDash:[],zeroLineBorderDashOffset:0,offsetGridLines:!1,borderDash:[],borderDashOffset:0},scaleLabel:{display:!1,labelString:"",padding:{top:4,bottom:4}},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:0,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:on.formatters.values,minor:{},major:{}}});var xn=K.extend({zeroLineIndex:0,getPadding:function(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}},getTicks:function(){return this._ticks},_getLabels:function(){var t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]},mergeTicksOptions:function(){},beforeUpdate:function(){H.callback(this.options.beforeUpdate,[this])},update:function(t,e,n){var i,a,r,o,s,l=this,u=l.options.ticks,d=u.sampleSize;if(l.beforeUpdate(),l.maxWidth=t,l.maxHeight=e,l.margins=H.extend({left:0,right:0,top:0,bottom:0},n),l._ticks=null,l.ticks=null,l._labelSizes=null,l._maxLabelLines=0,l.longestLabelWidth=0,l.longestTextCache=l.longestTextCache||{},l._gridLineItems=null,l._labelItems=null,l.beforeSetDimensions(),l.setDimensions(),l.afterSetDimensions(),l.beforeDataLimits(),l.determineDataLimits(),l.afterDataLimits(),l.beforeBuildTicks(),o=l.buildTicks()||[],(!(o=l.afterBuildTicks(o)||o)||!o.length)&&l.ticks)for(o=[],i=0,a=l.ticks.length;i<a;++i)o.push({value:l.ticks[i],major:!1});return l._ticks=o,s=d<o.length,r=l._convertTicksToLabels(s?function(t,e){for(var n=[],i=t.length/e,a=0,r=t.length;a<r;a+=i)n.push(t[Math.floor(a)]);return n}(o,d):o),l._configure(),l.beforeCalculateTickRotation(),l.calculateTickRotation(),l.afterCalculateTickRotation(),l.beforeFit(),l.fit(),l.afterFit(),l._ticksToDraw=u.display&&(u.autoSkip||"auto"===u.source)?l._autoSkip(o):o,s&&(r=l._convertTicksToLabels(l._ticksToDraw)),l.ticks=r,l.afterUpdate(),l.minSize},_configure:function(){var t,e,n=this,i=n.options.ticks.reverse;n.isHorizontal()?(t=n.left,e=n.right):(t=n.top,e=n.bottom,i=!i),n._startPixel=t,n._endPixel=e,n._reversePixels=i,n._length=e-t},afterUpdate:function(){H.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){H.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0},afterSetDimensions:function(){H.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){H.callback(this.options.beforeDataLimits,[this])},determineDataLimits:H.noop,afterDataLimits:function(){H.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){H.callback(this.options.beforeBuildTicks,[this])},buildTicks:H.noop,afterBuildTicks:function(t){var e=this;return sn(t)&&t.length?H.callback(e.options.afterBuildTicks,[e,t]):(e.ticks=H.callback(e.options.afterBuildTicks,[e,e.ticks])||e.ticks,t)},beforeTickToLabelConversion:function(){H.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var t=this.options.ticks;this.ticks=this.ticks.map(t.userCallback||t.callback,this)},afterTickToLabelConversion:function(){H.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){H.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var t,e,n,i,a,r,o,s=this,l=s.options,u=l.ticks,d=s.getTicks().length,h=u.minRotation||0,c=u.maxRotation,f=h;!s._isVisible()||!u.display||h>=c||d<=1||!s.isHorizontal()?s.labelRotation=h:(e=(t=s._getLabelSizes()).widest.width,n=t.highest.height-t.highest.offset,i=Math.min(s.maxWidth,s.chart.width-e),e+6>(a=l.offset?s.maxWidth/d:i/(d-1))&&(a=i/(d-(l.offset?.5:1)),r=s.maxHeight-fn(l.gridLines)-u.padding-gn(l.scaleLabel),o=Math.sqrt(e*e+n*n),f=H.toDegrees(Math.min(Math.asin(Math.min((t.highest.height+6)/a,1)),Math.asin(Math.min(r/o,1))-Math.asin(n/o))),f=Math.max(h,Math.min(c,f))),s.labelRotation=f)},afterCalculateTickRotation:function(){H.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){H.callback(this.options.beforeFit,[this])},fit:function(){var t=this,e=t.minSize={width:0,height:0},n=t.chart,i=t.options,a=i.ticks,r=i.scaleLabel,o=i.gridLines,s=t._isVisible(),l="bottom"===i.position,u=t.isHorizontal();if(u?e.width=t.maxWidth:s&&(e.width=fn(o)+gn(r)),u?s&&(e.height=fn(o)+gn(r)):e.height=t.maxHeight,a.display&&s){var d=mn(a),h=t._getLabelSizes(),c=h.first,f=h.last,g=h.widest,p=h.highest,m=.4*d.minor.lineHeight,v=a.padding;if(u){var b=0!==t.labelRotation,x=H.toRadians(t.labelRotation),y=Math.cos(x),_=Math.sin(x),k=_*g.width+y*(p.height-(b?p.offset:0))+(b?0:m);e.height=Math.min(t.maxHeight,e.height+k+v);var w,M,S=t.getPixelForTick(0)-t.left,C=t.right-t.getPixelForTick(t.getTicks().length-1);b?(w=l?y*c.width+_*c.offset:_*(c.height-c.offset),M=l?_*(f.height-f.offset):y*f.width+_*f.offset):(w=c.width/2,M=f.width/2),t.paddingLeft=Math.max((w-S)*t.width/(t.width-S),0)+3,t.paddingRight=Math.max((M-C)*t.width/(t.width-C),0)+3}else{var P=a.mirror?0:g.width+v+m;e.width=Math.min(t.maxWidth,e.width+P),t.paddingTop=c.height/2,t.paddingBottom=f.height/2}}t.handleMargins(),u?(t.width=t._length=n.width-t.margins.left-t.margins.right,t.height=e.height):(t.width=e.width,t.height=t._length=n.height-t.margins.top-t.margins.bottom)},handleMargins:function(){var t=this;t.margins&&(t.margins.left=Math.max(t.paddingLeft,t.margins.left),t.margins.top=Math.max(t.paddingTop,t.margins.top),t.margins.right=Math.max(t.paddingRight,t.margins.right),t.margins.bottom=Math.max(t.paddingBottom,t.margins.bottom))},afterFit:function(){H.callback(this.options.afterFit,[this])},isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(t){if(ln(t))return NaN;if(("number"==typeof t||t instanceof Number)&&!isFinite(t))return NaN;if(t)if(this.isHorizontal()){if(void 0!==t.x)return this.getRightValue(t.x)}else if(void 0!==t.y)return this.getRightValue(t.y);return t},_convertTicksToLabels:function(t){var e,n,i,a=this;for(a.ticks=t.map((function(t){return t.value})),a.beforeTickToLabelConversion(),e=a.convertTicksToLabels(t)||a.ticks,a.afterTickToLabelConversion(),n=0,i=t.length;n<i;++n)t[n].label=e[n];return e},_getLabelSizes:function(){var t=this,e=t._labelSizes;return e||(t._labelSizes=e=cn(t.ctx,mn(t.options.ticks),t.getTicks(),t.longestTextCache),t.longestLabelWidth=e.widest.width),e},_parseValue:function(t){var e,n,i,a;return sn(t)?(e=+this.getRightValue(t[0]),n=+this.getRightValue(t[1]),i=Math.min(e,n),a=Math.max(e,n)):(e=void 0,n=t=+this.getRightValue(t),i=t,a=t),{min:i,max:a,start:e,end:n}},_getScaleLabel:function(t){var e=this._parseValue(t);return void 0!==e.start?"["+e.start+", "+e.end+"]":+this.getRightValue(t)},getLabelForIndex:H.noop,getPixelForValue:H.noop,getValueForPixel:H.noop,getPixelForTick:function(t){var e=this.options.offset,n=this._ticks.length,i=1/Math.max(n-(e?0:1),1);return t<0||t>n-1?null:this.getPixelForDecimal(t*i+(e?i/2:0))},getPixelForDecimal:function(t){return this._reversePixels&&(t=1-t),this._startPixel+t*this._length},getDecimalForPixel:function(t){var e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var t=this.min,e=this.max;return this.beginAtZero?0:t<0&&e<0?e:t>0&&e>0?t:0},_autoSkip:function(t){var e,n,i,a,r=this.options.ticks,o=this._length,s=r.maxTicksLimit||o/this._tickSize()+1,l=r.major.enabled?function(t){var e,n,i=[];for(e=0,n=t.length;e<n;e++)t[e].major&&i.push(e);return i}(t):[],u=l.length,d=l[0],h=l[u-1];if(u>s)return function(t,e,n){var i,a,r=0,o=e[0];for(n=Math.ceil(n),i=0;i<t.length;i++)a=t[i],i===o?(a._index=i,o=e[++r*n]):delete a.label}(t,l,u/s),vn(t);if(i=function(t,e,n,i){var a,r,o,s,l=function(t){var e,n,i=t.length;if(i<2)return!1;for(n=t[0],e=1;e<i;++e)if(t[e]-t[e-1]!==n)return!1;return n}(t),u=(e.length-1)/i;if(!l)return Math.max(u,1);for(o=0,s=(a=H.math._factorize(l)).length-1;o<s;o++)if((r=a[o])>u)return r;return Math.max(u,1)}(l,t,0,s),u>0){for(e=0,n=u-1;e<n;e++)bn(t,i,l[e],l[e+1]);return a=u>1?(h-d)/(u-1):null,bn(t,i,H.isNullOrUndef(a)?0:d-a,d),bn(t,i,h,H.isNullOrUndef(a)?t.length:h+a),vn(t)}return bn(t,i),vn(t)},_tickSize:function(){var t=this.options.ticks,e=H.toRadians(this.labelRotation),n=Math.abs(Math.cos(e)),i=Math.abs(Math.sin(e)),a=this._getLabelSizes(),r=t.autoSkipPadding||0,o=a?a.widest.width+r:0,s=a?a.highest.height+r:0;return this.isHorizontal()?s*n>o*i?o/n:s/i:s*i<o*n?s/n:o/i},_isVisible:function(){var t,e,n,i=this.chart,a=this.options.display;if("auto"!==a)return!!a;for(t=0,e=i.data.datasets.length;t<e;++t)if(i.isDatasetVisible(t)&&((n=i.getDatasetMeta(t)).xAxisID===this.id||n.yAxisID===this.id))return!0;return!1},_computeGridLineItems:function(t){var e,n,i,a,r,o,s,l,u,d,h,c,f,g,p,m,v,b=this,x=b.chart,y=b.options,_=y.gridLines,k=y.position,w=_.offsetGridLines,M=b.isHorizontal(),S=b._ticksToDraw,C=S.length+(w?1:0),P=fn(_),A=[],D=_.drawBorder?dn(_.lineWidth,0,0):0,T=D/2,I=H._alignPixel,F=function(t){return I(x,t,D)};for("top"===k?(e=F(b.bottom),s=b.bottom-P,u=e-T,h=F(t.top)+T,f=t.bottom):"bottom"===k?(e=F(b.top),h=t.top,f=F(t.bottom)-T,s=e+T,u=b.top+P):"left"===k?(e=F(b.right),o=b.right-P,l=e-T,d=F(t.left)+T,c=t.right):(e=F(b.left),d=t.left,c=F(t.right)-T,o=e+T,l=b.left+P),n=0;n<C;++n)i=S[n]||{},ln(i.label)&&n<S.length||(n===b.zeroLineIndex&&y.offset===w?(g=_.zeroLineWidth,p=_.zeroLineColor,m=_.zeroLineBorderDash||[],v=_.zeroLineBorderDashOffset||0):(g=dn(_.lineWidth,n,1),p=dn(_.color,n,"rgba(0,0,0,0.1)"),m=_.borderDash||[],v=_.borderDashOffset||0),void 0!==(a=hn(b,i._index||n,w))&&(r=I(x,a,g),M?o=l=d=c=r:s=u=h=f=r,A.push({tx1:o,ty1:s,tx2:l,ty2:u,x1:d,y1:h,x2:c,y2:f,width:g,color:p,borderDash:m,borderDashOffset:v})));return A.ticksLength=C,A.borderValue=e,A},_computeLabelItems:function(){var t,e,n,i,a,r,o,s,l,u,d,h,c=this,f=c.options,g=f.ticks,p=f.position,m=g.mirror,v=c.isHorizontal(),b=c._ticksToDraw,x=mn(g),y=g.padding,_=fn(f.gridLines),k=-H.toRadians(c.labelRotation),w=[];for("top"===p?(r=c.bottom-_-y,o=k?"left":"center"):"bottom"===p?(r=c.top+_+y,o=k?"right":"center"):"left"===p?(a=c.right-(m?0:_)-y,o=m?"left":"right"):(a=c.left+(m?0:_)+y,o=m?"right":"left"),t=0,e=b.length;t<e;++t)i=(n=b[t]).label,ln(i)||(s=c.getPixelForTick(n._index||t)+g.labelOffset,u=(l=n.major?x.major:x.minor).lineHeight,d=sn(i)?i.length:1,v?(a=s,h="top"===p?((k?1:.5)-d)*u:(k?0:.5)*u):(r=s,h=(1-d)*u/2),w.push({x:a,y:r,rotation:k,label:i,font:l,textOffset:h,textAlign:o}));return w},_drawGrid:function(t){var e=this,n=e.options.gridLines;if(n.display){var i,a,r,o,s,l=e.ctx,u=e.chart,d=H._alignPixel,h=n.drawBorder?dn(n.lineWidth,0,0):0,c=e._gridLineItems||(e._gridLineItems=e._computeGridLineItems(t));for(r=0,o=c.length;r<o;++r)i=(s=c[r]).width,a=s.color,i&&a&&(l.save(),l.lineWidth=i,l.strokeStyle=a,l.setLineDash&&(l.setLineDash(s.borderDash),l.lineDashOffset=s.borderDashOffset),l.beginPath(),n.drawTicks&&(l.moveTo(s.tx1,s.ty1),l.lineTo(s.tx2,s.ty2)),n.drawOnChartArea&&(l.moveTo(s.x1,s.y1),l.lineTo(s.x2,s.y2)),l.stroke(),l.restore());if(h){var f,g,p,m,v=h,b=dn(n.lineWidth,c.ticksLength-1,1),x=c.borderValue;e.isHorizontal()?(f=d(u,e.left,v)-v/2,g=d(u,e.right,b)+b/2,p=m=x):(p=d(u,e.top,v)-v/2,m=d(u,e.bottom,b)+b/2,f=g=x),l.lineWidth=h,l.strokeStyle=dn(n.color,0),l.beginPath(),l.moveTo(f,p),l.lineTo(g,m),l.stroke()}}},_drawLabels:function(){var t=this;if(t.options.ticks.display){var e,n,i,a,r,o,s,l,u=t.ctx,d=t._labelItems||(t._labelItems=t._computeLabelItems());for(e=0,i=d.length;e<i;++e){if(o=(r=d[e]).font,u.save(),u.translate(r.x,r.y),u.rotate(r.rotation),u.font=o.string,u.fillStyle=o.color,u.textBaseline="middle",u.textAlign=r.textAlign,s=r.label,l=r.textOffset,sn(s))for(n=0,a=s.length;n<a;++n)u.fillText(""+s[n],0,l),l+=o.lineHeight;else u.fillText(s,0,l);u.restore()}}},_drawTitle:function(){var t=this,e=t.ctx,n=t.options,i=n.scaleLabel;if(i.display){var a,r,o=un(i.fontColor,N.global.defaultFontColor),s=H.options._parseFont(i),l=H.options.toPadding(i.padding),u=s.lineHeight/2,d=n.position,h=0;if(t.isHorizontal())a=t.left+t.width/2,r="bottom"===d?t.bottom-u-l.bottom:t.top+u+l.top;else{var c="left"===d;a=c?t.left+u+l.top:t.right-u-l.top,r=t.top+t.height/2,h=c?-.5*Math.PI:.5*Math.PI}e.save(),e.translate(a,r),e.rotate(h),e.textAlign="center",e.textBaseline="middle",e.fillStyle=o,e.font=s.string,e.fillText(i.labelString,0,0),e.restore()}},draw:function(t){this._isVisible()&&(this._drawGrid(t),this._drawTitle(),this._drawLabels())},_layers:function(){var t=this,e=t.options,n=e.ticks&&e.ticks.z||0,i=e.gridLines&&e.gridLines.z||0;return t._isVisible()&&n!==i&&t.draw===t._draw?[{z:i,draw:function(){t._drawGrid.apply(t,arguments),t._drawTitle.apply(t,arguments)}},{z:n,draw:function(){t._drawLabels.apply(t,arguments)}}]:[{z:n,draw:function(){t.draw.apply(t,arguments)}}]},_getMatchingVisibleMetas:function(t){var e=this,n=e.isHorizontal();return e.chart._getSortedVisibleDatasetMetas().filter((function(i){return(!t||i.type===t)&&(n?i.xAxisID===e.id:i.yAxisID===e.id)}))}});xn.prototype._draw=xn.prototype.draw;var yn=xn,_n=H.isNullOrUndef,kn=yn.extend({determineDataLimits:function(){var t,e=this,n=e._getLabels(),i=e.options.ticks,a=i.min,r=i.max,o=0,s=n.length-1;void 0!==a&&(t=n.indexOf(a))>=0&&(o=t),void 0!==r&&(t=n.indexOf(r))>=0&&(s=t),e.minIndex=o,e.maxIndex=s,e.min=n[o],e.max=n[s]},buildTicks:function(){var t=this._getLabels(),e=this.minIndex,n=this.maxIndex;this.ticks=0===e&&n===t.length-1?t:t.slice(e,n+1)},getLabelForIndex:function(t,e){var n=this.chart;return n.getDatasetMeta(e).controller._getValueScaleId()===this.id?this.getRightValue(n.data.datasets[e].data[t]):this._getLabels()[t]},_configure:function(){var t=this,e=t.options.offset,n=t.ticks;yn.prototype._configure.call(t),t.isHorizontal()||(t._reversePixels=!t._reversePixels),n&&(t._startValue=t.minIndex-(e?.5:0),t._valueRange=Math.max(n.length-(e?0:1),1))},getPixelForValue:function(t,e,n){var i,a,r,o=this;return _n(e)||_n(n)||(t=o.chart.data.datasets[n].data[e]),_n(t)||(i=o.isHorizontal()?t.x:t.y),(void 0!==i||void 0!==t&&isNaN(e))&&(a=o._getLabels(),t=H.valueOrDefault(i,t),e=-1!==(r=a.indexOf(t))?r:e,isNaN(e)&&(e=t)),o.getPixelForDecimal((e-o._startValue)/o._valueRange)},getPixelForTick:function(t){var e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t],t+this.minIndex)},getValueForPixel:function(t){var e=Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange);return Math.min(Math.max(e,0),this.ticks.length-1)},getBasePixel:function(){return this.bottom}}),wn={position:"bottom"};kn._defaults=wn;var Mn=H.noop,Sn=H.isNullOrUndef;var Cn=yn.extend({getRightValue:function(t){return"string"==typeof t?+t:yn.prototype.getRightValue.call(this,t)},handleTickRangeOptions:function(){var t=this,e=t.options.ticks;if(e.beginAtZero){var n=H.sign(t.min),i=H.sign(t.max);n<0&&i<0?t.max=0:n>0&&i>0&&(t.min=0)}var a=void 0!==e.min||void 0!==e.suggestedMin,r=void 0!==e.max||void 0!==e.suggestedMax;void 0!==e.min?t.min=e.min:void 0!==e.suggestedMin&&(null===t.min?t.min=e.suggestedMin:t.min=Math.min(t.min,e.suggestedMin)),void 0!==e.max?t.max=e.max:void 0!==e.suggestedMax&&(null===t.max?t.max=e.suggestedMax:t.max=Math.max(t.max,e.suggestedMax)),a!==r&&t.min>=t.max&&(a?t.max=t.min+1:t.min=t.max-1),t.min===t.max&&(t.max++,e.beginAtZero||t.min--)},getTickLimit:function(){var t,e=this.options.ticks,n=e.stepSize,i=e.maxTicksLimit;return n?t=Math.ceil(this.max/n)-Math.floor(this.min/n)+1:(t=this._computeTickLimit(),i=i||11),i&&(t=Math.min(i,t)),t},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:Mn,buildTicks:function(){var t=this,e=t.options.ticks,n=t.getTickLimit(),i={maxTicks:n=Math.max(2,n),min:e.min,max:e.max,precision:e.precision,stepSize:H.valueOrDefault(e.fixedStepSize,e.stepSize)},a=t.ticks=function(t,e){var n,i,a,r,o=[],s=t.stepSize,l=s||1,u=t.maxTicks-1,d=t.min,h=t.max,c=t.precision,f=e.min,g=e.max,p=H.niceNum((g-f)/u/l)*l;if(p<1e-14&&Sn(d)&&Sn(h))return[f,g];(r=Math.ceil(g/p)-Math.floor(f/p))>u&&(p=H.niceNum(r*p/u/l)*l),s||Sn(c)?n=Math.pow(10,H._decimalPlaces(p)):(n=Math.pow(10,c),p=Math.ceil(p*n)/n),i=Math.floor(f/p)*p,a=Math.ceil(g/p)*p,s&&(!Sn(d)&&H.almostWhole(d/p,p/1e3)&&(i=d),!Sn(h)&&H.almostWhole(h/p,p/1e3)&&(a=h)),r=(a-i)/p,r=H.almostEquals(r,Math.round(r),p/1e3)?Math.round(r):Math.ceil(r),i=Math.round(i*n)/n,a=Math.round(a*n)/n,o.push(Sn(d)?i:d);for(var m=1;m<r;++m)o.push(Math.round((i+m*p)*n)/n);return o.push(Sn(h)?a:h),o}(i,t);t.handleDirectionalChanges(),t.max=H.max(a),t.min=H.min(a),e.reverse?(a.reverse(),t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max)},convertTicksToLabels:function(){var t=this;t.ticksAsNumbers=t.ticks.slice(),t.zeroLineIndex=t.ticks.indexOf(0),yn.prototype.convertTicksToLabels.call(t)},_configure:function(){var t,e=this,n=e.getTicks(),i=e.min,a=e.max;yn.prototype._configure.call(e),e.options.offset&&n.length&&(i-=t=(a-i)/Math.max(n.length-1,1)/2,a+=t),e._startValue=i,e._endValue=a,e._valueRange=a-i}}),Pn={position:"left",ticks:{callback:on.formatters.linear}};function An(t,e,n,i){var a,r,o=t.options,s=function(t,e,n){var i=[n.type,void 0===e&&void 0===n.stack?n.index:"",n.stack].join(".");return void 0===t[i]&&(t[i]={pos:[],neg:[]}),t[i]}(e,o.stacked,n),l=s.pos,u=s.neg,d=i.length;for(a=0;a<d;++a)r=t._parseValue(i[a]),isNaN(r.min)||isNaN(r.max)||n.data[a].hidden||(l[a]=l[a]||0,u[a]=u[a]||0,o.relativePoints?l[a]=100:r.min<0||r.max<0?u[a]+=r.min:l[a]+=r.max)}function Dn(t,e,n){var i,a,r=n.length;for(i=0;i<r;++i)a=t._parseValue(n[i]),isNaN(a.min)||isNaN(a.max)||e.data[i].hidden||(t.min=Math.min(t.min,a.min),t.max=Math.max(t.max,a.max))}var Tn=Cn.extend({determineDataLimits:function(){var t,e,n,i,a=this,r=a.options,o=a.chart.data.datasets,s=a._getMatchingVisibleMetas(),l=r.stacked,u={},d=s.length;if(a.min=Number.POSITIVE_INFINITY,a.max=Number.NEGATIVE_INFINITY,void 0===l)for(t=0;!l&&t<d;++t)l=void 0!==(e=s[t]).stack;for(t=0;t<d;++t)n=o[(e=s[t]).index].data,l?An(a,u,e,n):Dn(a,e,n);H.each(u,(function(t){i=t.pos.concat(t.neg),a.min=Math.min(a.min,H.min(i)),a.max=Math.max(a.max,H.max(i))})),a.min=H.isFinite(a.min)&&!isNaN(a.min)?a.min:0,a.max=H.isFinite(a.max)&&!isNaN(a.max)?a.max:1,a.handleTickRangeOptions()},_computeTickLimit:function(){var t;return this.isHorizontal()?Math.ceil(this.width/40):(t=H.options._parseFont(this.options.ticks),Math.ceil(this.height/t.lineHeight))},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(t,e){return this._getScaleLabel(this.chart.data.datasets[e].data[t])},getPixelForValue:function(t){return this.getPixelForDecimal((+this.getRightValue(t)-this._startValue)/this._valueRange)},getValueForPixel:function(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange},getPixelForTick:function(t){var e=this.ticksAsNumbers;return t<0||t>e.length-1?null:this.getPixelForValue(e[t])}}),In=Pn;Tn._defaults=In;var Fn=H.valueOrDefault,On=H.math.log10;var Ln={position:"left",ticks:{callback:on.formatters.logarithmic}};function Rn(t,e){return H.isFinite(t)&&t>=0?t:e}var zn=yn.extend({determineDataLimits:function(){var t,e,n,i,a,r,o=this,s=o.options,l=o.chart,u=l.data.datasets,d=o.isHorizontal();function h(t){return d?t.xAxisID===o.id:t.yAxisID===o.id}o.min=Number.POSITIVE_INFINITY,o.max=Number.NEGATIVE_INFINITY,o.minNotZero=Number.POSITIVE_INFINITY;var c=s.stacked;if(void 0===c)for(t=0;t<u.length;t++)if(e=l.getDatasetMeta(t),l.isDatasetVisible(t)&&h(e)&&void 0!==e.stack){c=!0;break}if(s.stacked||c){var f={};for(t=0;t<u.length;t++){var g=[(e=l.getDatasetMeta(t)).type,void 0===s.stacked&&void 0===e.stack?t:"",e.stack].join(".");if(l.isDatasetVisible(t)&&h(e))for(void 0===f[g]&&(f[g]=[]),a=0,r=(i=u[t].data).length;a<r;a++){var p=f[g];n=o._parseValue(i[a]),isNaN(n.min)||isNaN(n.max)||e.data[a].hidden||n.min<0||n.max<0||(p[a]=p[a]||0,p[a]+=n.max)}}H.each(f,(function(t){if(t.length>0){var e=H.min(t),n=H.max(t);o.min=Math.min(o.min,e),o.max=Math.max(o.max,n)}}))}else for(t=0;t<u.length;t++)if(e=l.getDatasetMeta(t),l.isDatasetVisible(t)&&h(e))for(a=0,r=(i=u[t].data).length;a<r;a++)n=o._parseValue(i[a]),isNaN(n.min)||isNaN(n.max)||e.data[a].hidden||n.min<0||n.max<0||(o.min=Math.min(n.min,o.min),o.max=Math.max(n.max,o.max),0!==n.min&&(o.minNotZero=Math.min(n.min,o.minNotZero)));o.min=H.isFinite(o.min)?o.min:null,o.max=H.isFinite(o.max)?o.max:null,o.minNotZero=H.isFinite(o.minNotZero)?o.minNotZero:null,this.handleTickRangeOptions()},handleTickRangeOptions:function(){var t=this,e=t.options.ticks;t.min=Rn(e.min,t.min),t.max=Rn(e.max,t.max),t.min===t.max&&(0!==t.min&&null!==t.min?(t.min=Math.pow(10,Math.floor(On(t.min))-1),t.max=Math.pow(10,Math.floor(On(t.max))+1)):(t.min=1,t.max=10)),null===t.min&&(t.min=Math.pow(10,Math.floor(On(t.max))-1)),null===t.max&&(t.max=0!==t.min?Math.pow(10,Math.floor(On(t.min))+1):10),null===t.minNotZero&&(t.min>0?t.minNotZero=t.min:t.max<1?t.minNotZero=Math.pow(10,Math.floor(On(t.max))):t.minNotZero=1)},buildTicks:function(){var t=this,e=t.options.ticks,n=!t.isHorizontal(),i={min:Rn(e.min),max:Rn(e.max)},a=t.ticks=function(t,e){var n,i,a=[],r=Fn(t.min,Math.pow(10,Math.floor(On(e.min)))),o=Math.floor(On(e.max)),s=Math.ceil(e.max/Math.pow(10,o));0===r?(n=Math.floor(On(e.minNotZero)),i=Math.floor(e.minNotZero/Math.pow(10,n)),a.push(r),r=i*Math.pow(10,n)):(n=Math.floor(On(r)),i=Math.floor(r/Math.pow(10,n)));var l=n<0?Math.pow(10,Math.abs(n)):1;do{a.push(r),10===++i&&(i=1,l=++n>=0?1:l),r=Math.round(i*Math.pow(10,n)*l)/l}while(n<o||n===o&&i<s);var u=Fn(t.max,r);return a.push(u),a}(i,t);t.max=H.max(a),t.min=H.min(a),e.reverse?(n=!n,t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max),n&&a.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),yn.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(t,e){return this._getScaleLabel(this.chart.data.datasets[e].data[t])},getPixelForTick:function(t){var e=this.tickValues;return t<0||t>e.length-1?null:this.getPixelForValue(e[t])},_getFirstTickValue:function(t){var e=Math.floor(On(t));return Math.floor(t/Math.pow(10,e))*Math.pow(10,e)},_configure:function(){var t=this,e=t.min,n=0;yn.prototype._configure.call(t),0===e&&(e=t._getFirstTickValue(t.minNotZero),n=Fn(t.options.ticks.fontSize,N.global.defaultFontSize)/t._length),t._startValue=On(e),t._valueOffset=n,t._valueRange=(On(t.max)-On(e))/(1-n)},getPixelForValue:function(t){var e=this,n=0;return(t=+e.getRightValue(t))>e.min&&t>0&&(n=(On(t)-e._startValue)/e._valueRange+e._valueOffset),e.getPixelForDecimal(n)},getValueForPixel:function(t){var e=this,n=e.getDecimalForPixel(t);return 0===n&&0===e.min?0:Math.pow(10,e._startValue+(n-e._valueOffset)*e._valueRange)}}),Nn=Ln;zn._defaults=Nn;var Bn=H.valueOrDefault,En=H.valueAtIndexOrDefault,Wn=H.options.resolve,Vn={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,borderDash:[],borderDashOffset:0},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:on.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(t){return t}}};function Hn(t){var e=t.ticks;return e.display&&t.display?Bn(e.fontSize,N.global.defaultFontSize)+2*e.backdropPaddingY:0}function jn(t,e,n,i,a){return t===i||t===a?{start:e-n/2,end:e+n/2}:t<i||t>a?{start:e-n,end:e}:{start:e,end:e+n}}function qn(t){return 0===t||180===t?"center":t<180?"left":"right"}function Un(t,e,n,i){var a,r,o=n.y+i/2;if(H.isArray(e))for(a=0,r=e.length;a<r;++a)t.fillText(e[a],n.x,o),o+=i;else t.fillText(e,n.x,o)}function Yn(t,e,n){90===t||270===t?n.y-=e.h/2:(t>270||t<90)&&(n.y-=e.h)}function Gn(t){return H.isNumber(t)?t:0}var Xn=Cn.extend({setDimensions:function(){var t=this;t.width=t.maxWidth,t.height=t.maxHeight,t.paddingTop=Hn(t.options)/2,t.xCenter=Math.floor(t.width/2),t.yCenter=Math.floor((t.height-t.paddingTop)/2),t.drawingArea=Math.min(t.height-t.paddingTop,t.width)/2},determineDataLimits:function(){var t=this,e=t.chart,n=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;H.each(e.data.datasets,(function(a,r){if(e.isDatasetVisible(r)){var o=e.getDatasetMeta(r);H.each(a.data,(function(e,a){var r=+t.getRightValue(e);isNaN(r)||o.data[a].hidden||(n=Math.min(r,n),i=Math.max(r,i))}))}})),t.min=n===Number.POSITIVE_INFINITY?0:n,t.max=i===Number.NEGATIVE_INFINITY?0:i,t.handleTickRangeOptions()},_computeTickLimit:function(){return Math.ceil(this.drawingArea/Hn(this.options))},convertTicksToLabels:function(){var t=this;Cn.prototype.convertTicksToLabels.call(t),t.pointLabels=t.chart.data.labels.map((function(){var e=H.callback(t.options.pointLabels.callback,arguments,t);return e||0===e?e:""}))},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},fit:function(){var t=this.options;t.display&&t.pointLabels.display?function(t){var e,n,i,a=H.options._parseFont(t.options.pointLabels),r={l:0,r:t.width,t:0,b:t.height-t.paddingTop},o={};t.ctx.font=a.string,t._pointLabelSizes=[];var s,l,u,d=t.chart.data.labels.length;for(e=0;e<d;e++){i=t.getPointPosition(e,t.drawingArea+5),s=t.ctx,l=a.lineHeight,u=t.pointLabels[e],n=H.isArray(u)?{w:H.longestText(s,s.font,u),h:u.length*l}:{w:s.measureText(u).width,h:l},t._pointLabelSizes[e]=n;var h=t.getIndexAngle(e),c=H.toDegrees(h)%360,f=jn(c,i.x,n.w,0,180),g=jn(c,i.y,n.h,90,270);f.start<r.l&&(r.l=f.start,o.l=h),f.end>r.r&&(r.r=f.end,o.r=h),g.start<r.t&&(r.t=g.start,o.t=h),g.end>r.b&&(r.b=g.end,o.b=h)}t.setReductions(t.drawingArea,r,o)}(this):this.setCenterPoint(0,0,0,0)},setReductions:function(t,e,n){var i=this,a=e.l/Math.sin(n.l),r=Math.max(e.r-i.width,0)/Math.sin(n.r),o=-e.t/Math.cos(n.t),s=-Math.max(e.b-(i.height-i.paddingTop),0)/Math.cos(n.b);a=Gn(a),r=Gn(r),o=Gn(o),s=Gn(s),i.drawingArea=Math.min(Math.floor(t-(a+r)/2),Math.floor(t-(o+s)/2)),i.setCenterPoint(a,r,o,s)},setCenterPoint:function(t,e,n,i){var a=this,r=a.width-e-a.drawingArea,o=t+a.drawingArea,s=n+a.drawingArea,l=a.height-a.paddingTop-i-a.drawingArea;a.xCenter=Math.floor((o+r)/2+a.left),a.yCenter=Math.floor((s+l)/2+a.top+a.paddingTop)},getIndexAngle:function(t){var e=this.chart,n=(t*(360/e.data.labels.length)+((e.options||{}).startAngle||0))%360;return(n<0?n+360:n)*Math.PI*2/360},getDistanceFromCenterForValue:function(t){var e=this;if(H.isNullOrUndef(t))return NaN;var n=e.drawingArea/(e.max-e.min);return e.options.ticks.reverse?(e.max-t)*n:(t-e.min)*n},getPointPosition:function(t,e){var n=this.getIndexAngle(t)-Math.PI/2;return{x:Math.cos(n)*e+this.xCenter,y:Math.sin(n)*e+this.yCenter}},getPointPositionForValue:function(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))},getBasePosition:function(t){var e=this.min,n=this.max;return this.getPointPositionForValue(t||0,this.beginAtZero?0:e<0&&n<0?n:e>0&&n>0?e:0)},_drawGrid:function(){var t,e,n,i=this,a=i.ctx,r=i.options,o=r.gridLines,s=r.angleLines,l=Bn(s.lineWidth,o.lineWidth),u=Bn(s.color,o.color);if(r.pointLabels.display&&function(t){var e=t.ctx,n=t.options,i=n.pointLabels,a=Hn(n),r=t.getDistanceFromCenterForValue(n.ticks.reverse?t.min:t.max),o=H.options._parseFont(i);e.save(),e.font=o.string,e.textBaseline="middle";for(var s=t.chart.data.labels.length-1;s>=0;s--){var l=0===s?a/2:0,u=t.getPointPosition(s,r+l+5),d=En(i.fontColor,s,N.global.defaultFontColor);e.fillStyle=d;var h=t.getIndexAngle(s),c=H.toDegrees(h);e.textAlign=qn(c),Yn(c,t._pointLabelSizes[s],u),Un(e,t.pointLabels[s],u,o.lineHeight)}e.restore()}(i),o.display&&H.each(i.ticks,(function(t,n){0!==n&&(e=i.getDistanceFromCenterForValue(i.ticksAsNumbers[n]),function(t,e,n,i){var a,r=t.ctx,o=e.circular,s=t.chart.data.labels.length,l=En(e.color,i-1),u=En(e.lineWidth,i-1);if((o||s)&&l&&u){if(r.save(),r.strokeStyle=l,r.lineWidth=u,r.setLineDash&&(r.setLineDash(e.borderDash||[]),r.lineDashOffset=e.borderDashOffset||0),r.beginPath(),o)r.arc(t.xCenter,t.yCenter,n,0,2*Math.PI);else{a=t.getPointPosition(0,n),r.moveTo(a.x,a.y);for(var d=1;d<s;d++)a=t.getPointPosition(d,n),r.lineTo(a.x,a.y)}r.closePath(),r.stroke(),r.restore()}}(i,o,e,n))})),s.display&&l&&u){for(a.save(),a.lineWidth=l,a.strokeStyle=u,a.setLineDash&&(a.setLineDash(Wn([s.borderDash,o.borderDash,[]])),a.lineDashOffset=Wn([s.borderDashOffset,o.borderDashOffset,0])),t=i.chart.data.labels.length-1;t>=0;t--)e=i.getDistanceFromCenterForValue(r.ticks.reverse?i.min:i.max),n=i.getPointPosition(t,e),a.beginPath(),a.moveTo(i.xCenter,i.yCenter),a.lineTo(n.x,n.y),a.stroke();a.restore()}},_drawLabels:function(){var t=this,e=t.ctx,n=t.options.ticks;if(n.display){var i,a,r=t.getIndexAngle(0),o=H.options._parseFont(n),s=Bn(n.fontColor,N.global.defaultFontColor);e.save(),e.font=o.string,e.translate(t.xCenter,t.yCenter),e.rotate(r),e.textAlign="center",e.textBaseline="middle",H.each(t.ticks,(function(r,l){(0!==l||n.reverse)&&(i=t.getDistanceFromCenterForValue(t.ticksAsNumbers[l]),n.showLabelBackdrop&&(a=e.measureText(r).width,e.fillStyle=n.backdropColor,e.fillRect(-a/2-n.backdropPaddingX,-i-o.size/2-n.backdropPaddingY,a+2*n.backdropPaddingX,o.size+2*n.backdropPaddingY)),e.fillStyle=s,e.fillText(r,0,-i))})),e.restore()}},_drawTitle:H.noop}),Kn=Vn;Xn._defaults=Kn;var Zn=H._deprecated,$n=H.options.resolve,Jn=H.valueOrDefault,Qn=Number.MIN_SAFE_INTEGER||-9007199254740991,ti=Number.MAX_SAFE_INTEGER||9007199254740991,ei={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},ni=Object.keys(ei);function ii(t,e){return t-e}function ai(t){return H.valueOrDefault(t.time.min,t.ticks.min)}function ri(t){return H.valueOrDefault(t.time.max,t.ticks.max)}function oi(t,e,n,i){var a=function(t,e,n){for(var i,a,r,o=0,s=t.length-1;o>=0&&o<=s;){if(a=t[(i=o+s>>1)-1]||null,r=t[i],!a)return{lo:null,hi:r};if(r[e]<n)o=i+1;else{if(!(a[e]>n))return{lo:a,hi:r};s=i-1}}return{lo:r,hi:null}}(t,e,n),r=a.lo?a.hi?a.lo:t[t.length-2]:t[0],o=a.lo?a.hi?a.hi:t[t.length-1]:t[1],s=o[e]-r[e],l=s?(n-r[e])/s:0,u=(o[i]-r[i])*l;return r[i]+u}function si(t,e){var n=t._adapter,i=t.options.time,a=i.parser,r=a||i.format,o=e;return"function"==typeof a&&(o=a(o)),H.isFinite(o)||(o="string"==typeof r?n.parse(o,r):n.parse(o)),null!==o?+o:(a||"function"!=typeof r||(o=r(e),H.isFinite(o)||(o=n.parse(o))),o)}function li(t,e){if(H.isNullOrUndef(e))return null;var n=t.options.time,i=si(t,t.getRightValue(e));return null===i?i:(n.round&&(i=+t._adapter.startOf(i,n.round)),i)}function ui(t,e,n,i){var a,r,o,s=ni.length;for(a=ni.indexOf(t);a<s-1;++a)if(o=(r=ei[ni[a]]).steps?r.steps:ti,r.common&&Math.ceil((n-e)/(o*r.size))<=i)return ni[a];return ni[s-1]}function di(t,e,n){var i,a,r=[],o={},s=e.length;for(i=0;i<s;++i)o[a=e[i]]=i,r.push({value:a,major:!1});return 0!==s&&n?function(t,e,n,i){var a,r,o=t._adapter,s=+o.startOf(e[0].value,i),l=e[e.length-1].value;for(a=s;a<=l;a=+o.add(a,1,i))(r=n[a])>=0&&(e[r].major=!0);return e}(t,r,o,n):r}var hi=yn.extend({initialize:function(){this.mergeTicksOptions(),yn.prototype.initialize.call(this)},update:function(){var t=this,e=t.options,n=e.time||(e.time={}),i=t._adapter=new rn._date(e.adapters.date);return Zn("time scale",n.format,"time.format","time.parser"),Zn("time scale",n.min,"time.min","ticks.min"),Zn("time scale",n.max,"time.max","ticks.max"),H.mergeIf(n.displayFormats,i.formats()),yn.prototype.update.apply(t,arguments)},getRightValue:function(t){return t&&void 0!==t.t&&(t=t.t),yn.prototype.getRightValue.call(this,t)},determineDataLimits:function(){var t,e,n,i,a,r,o,s=this,l=s.chart,u=s._adapter,d=s.options,h=d.time.unit||"day",c=ti,f=Qn,g=[],p=[],m=[],v=s._getLabels();for(t=0,n=v.length;t<n;++t)m.push(li(s,v[t]));for(t=0,n=(l.data.datasets||[]).length;t<n;++t)if(l.isDatasetVisible(t))if(a=l.data.datasets[t].data,H.isObject(a[0]))for(p[t]=[],e=0,i=a.length;e<i;++e)r=li(s,a[e]),g.push(r),p[t][e]=r;else p[t]=m.slice(0),o||(g=g.concat(m),o=!0);else p[t]=[];m.length&&(c=Math.min(c,m[0]),f=Math.max(f,m[m.length-1])),g.length&&(g=n>1?function(t){var e,n,i,a={},r=[];for(e=0,n=t.length;e<n;++e)a[i=t[e]]||(a[i]=!0,r.push(i));return r}(g).sort(ii):g.sort(ii),c=Math.min(c,g[0]),f=Math.max(f,g[g.length-1])),c=li(s,ai(d))||c,f=li(s,ri(d))||f,c=c===ti?+u.startOf(Date.now(),h):c,f=f===Qn?+u.endOf(Date.now(),h)+1:f,s.min=Math.min(c,f),s.max=Math.max(c+1,f),s._table=[],s._timestamps={data:g,datasets:p,labels:m}},buildTicks:function(){var t,e,n,i=this,a=i.min,r=i.max,o=i.options,s=o.ticks,l=o.time,u=i._timestamps,d=[],h=i.getLabelCapacity(a),c=s.source,f=o.distribution;for(u="data"===c||"auto"===c&&"series"===f?u.data:"labels"===c?u.labels:function(t,e,n,i){var a,r=t._adapter,o=t.options,s=o.time,l=s.unit||ui(s.minUnit,e,n,i),u=$n([s.stepSize,s.unitStepSize,1]),d="week"===l&&s.isoWeekday,h=e,c=[];if(d&&(h=+r.startOf(h,"isoWeek",d)),h=+r.startOf(h,d?"day":l),r.diff(n,e,l)>1e5*u)throw e+" and "+n+" are too far apart with stepSize of "+u+" "+l;for(a=h;a<n;a=+r.add(a,u,l))c.push(a);return a!==n&&"ticks"!==o.bounds||c.push(a),c}(i,a,r,h),"ticks"===o.bounds&&u.length&&(a=u[0],r=u[u.length-1]),a=li(i,ai(o))||a,r=li(i,ri(o))||r,t=0,e=u.length;t<e;++t)(n=u[t])>=a&&n<=r&&d.push(n);return i.min=a,i.max=r,i._unit=l.unit||(s.autoSkip?ui(l.minUnit,i.min,i.max,h):function(t,e,n,i,a){var r,o;for(r=ni.length-1;r>=ni.indexOf(n);r--)if(o=ni[r],ei[o].common&&t._adapter.diff(a,i,o)>=e-1)return o;return ni[n?ni.indexOf(n):0]}(i,d.length,l.minUnit,i.min,i.max)),i._majorUnit=s.major.enabled&&"year"!==i._unit?function(t){for(var e=ni.indexOf(t)+1,n=ni.length;e<n;++e)if(ei[ni[e]].common)return ni[e]}(i._unit):void 0,i._table=function(t,e,n,i){if("linear"===i||!t.length)return[{time:e,pos:0},{time:n,pos:1}];var a,r,o,s,l,u=[],d=[e];for(a=0,r=t.length;a<r;++a)(s=t[a])>e&&s<n&&d.push(s);for(d.push(n),a=0,r=d.length;a<r;++a)l=d[a+1],o=d[a-1],s=d[a],void 0!==o&&void 0!==l&&Math.round((l+o)/2)===s||u.push({time:s,pos:a/(r-1)});return u}(i._timestamps.data,a,r,f),i._offsets=function(t,e,n,i,a){var r,o,s=0,l=0;return a.offset&&e.length&&(r=oi(t,"time",e[0],"pos"),s=1===e.length?1-r:(oi(t,"time",e[1],"pos")-r)/2,o=oi(t,"time",e[e.length-1],"pos"),l=1===e.length?o:(o-oi(t,"time",e[e.length-2],"pos"))/2),{start:s,end:l,factor:1/(s+1+l)}}(i._table,d,0,0,o),s.reverse&&d.reverse(),di(i,d,i._majorUnit)},getLabelForIndex:function(t,e){var n=this,i=n._adapter,a=n.chart.data,r=n.options.time,o=a.labels&&t<a.labels.length?a.labels[t]:"",s=a.datasets[e].data[t];return H.isObject(s)&&(o=n.getRightValue(s)),r.tooltipFormat?i.format(si(n,o),r.tooltipFormat):"string"==typeof o?o:i.format(si(n,o),r.displayFormats.datetime)},tickFormatFunction:function(t,e,n,i){var a=this._adapter,r=this.options,o=r.time.displayFormats,s=o[this._unit],l=this._majorUnit,u=o[l],d=n[e],h=r.ticks,c=l&&u&&d&&d.major,f=a.format(t,i||(c?u:s)),g=c?h.major:h.minor,p=$n([g.callback,g.userCallback,h.callback,h.userCallback]);return p?p(f,e,n):f},convertTicksToLabels:function(t){var e,n,i=[];for(e=0,n=t.length;e<n;++e)i.push(this.tickFormatFunction(t[e].value,e,t));return i},getPixelForOffset:function(t){var e=this._offsets,n=oi(this._table,"time",t,"pos");return this.getPixelForDecimal((e.start+n)*e.factor)},getPixelForValue:function(t,e,n){var i=null;if(void 0!==e&&void 0!==n&&(i=this._timestamps.datasets[n][e]),null===i&&(i=li(this,t)),null!==i)return this.getPixelForOffset(i)},getPixelForTick:function(t){var e=this.getTicks();return t>=0&&t<e.length?this.getPixelForOffset(e[t].value):null},getValueForPixel:function(t){var e=this._offsets,n=this.getDecimalForPixel(t)/e.factor-e.end,i=oi(this._table,"pos",n,"time");return this._adapter._create(i)},_getLabelSize:function(t){var e=this.options.ticks,n=this.ctx.measureText(t).width,i=H.toRadians(this.isHorizontal()?e.maxRotation:e.minRotation),a=Math.cos(i),r=Math.sin(i),o=Jn(e.fontSize,N.global.defaultFontSize);return{w:n*a+o*r,h:n*r+o*a}},getLabelWidth:function(t){return this._getLabelSize(t).w},getLabelCapacity:function(t){var e=this,n=e.options.time,i=n.displayFormats,a=i[n.unit]||i.millisecond,r=e.tickFormatFunction(t,0,di(e,[t],e._majorUnit),a),o=e._getLabelSize(r),s=Math.floor(e.isHorizontal()?e.width/o.w:e.height/o.h);return e.options.offset&&s--,s>0?s:1}}),ci={position:"bottom",distribution:"linear",bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}};hi._defaults=ci;var fi={category:kn,linear:Tn,logarithmic:zn,radialLinear:Xn,time:hi},gi={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};rn._date.override("function"==typeof t?{_id:"moment",formats:function(){return gi},parse:function(e,n){return"string"==typeof e&&"string"==typeof n?e=t(e,n):e instanceof t||(e=t(e)),e.isValid()?e.valueOf():null},format:function(e,n){return t(e).format(n)},add:function(e,n,i){return t(e).add(n,i).valueOf()},diff:function(e,n,i){return t(e).diff(t(n),i)},startOf:function(e,n,i){return e=t(e),"isoWeek"===n?e.isoWeekday(i).valueOf():e.startOf(n).valueOf()},endOf:function(e,n){return t(e).endOf(n).valueOf()},_create:function(e){return t(e)}}:{}),N._set("global",{plugins:{filler:{propagate:!0}}});var pi={dataset:function(t){var e=t.fill,n=t.chart,i=n.getDatasetMeta(e),a=i&&n.isDatasetVisible(e)&&i.dataset._children||[],r=a.length||0;return r?function(t,e){return e<r&&a[e]._view||null}:null},boundary:function(t){var e=t.boundary,n=e?e.x:null,i=e?e.y:null;return H.isArray(e)?function(t,n){return e[n]}:function(t){return{x:null===n?t.x:n,y:null===i?t.y:i}}}};function mi(t,e,n){var i,a=t._model||{},r=a.fill;if(void 0===r&&(r=!!a.backgroundColor),!1===r||null===r)return!1;if(!0===r)return"origin";if(i=parseFloat(r,10),isFinite(i)&&Math.floor(i)===i)return"-"!==r[0]&&"+"!==r[0]||(i=e+i),!(i===e||i<0||i>=n)&&i;switch(r){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return r;default:return!1}}function vi(t){return(t.el._scale||{}).getPointPositionForValue?function(t){var e,n,i,a,r,o=t.el._scale,s=o.options,l=o.chart.data.labels.length,u=t.fill,d=[];if(!l)return null;for(e=s.ticks.reverse?o.max:o.min,n=s.ticks.reverse?o.min:o.max,i=o.getPointPositionForValue(0,e),a=0;a<l;++a)r="start"===u||"end"===u?o.getPointPositionForValue(a,"start"===u?e:n):o.getBasePosition(a),s.gridLines.circular&&(r.cx=i.x,r.cy=i.y,r.angle=o.getIndexAngle(a)-Math.PI/2),d.push(r);return d}(t):function(t){var e,n=t.el._model||{},i=t.el._scale||{},a=t.fill,r=null;if(isFinite(a))return null;if("start"===a?r=void 0===n.scaleBottom?i.bottom:n.scaleBottom:"end"===a?r=void 0===n.scaleTop?i.top:n.scaleTop:void 0!==n.scaleZero?r=n.scaleZero:i.getBasePixel&&(r=i.getBasePixel()),null!=r){if(void 0!==r.x&&void 0!==r.y)return r;if(H.isFinite(r))return{x:(e=i.isHorizontal())?r:null,y:e?null:r}}return null}(t)}function bi(t,e,n){var i,a=t[e].fill,r=[e];if(!n)return a;for(;!1!==a&&-1===r.indexOf(a);){if(!isFinite(a))return a;if(!(i=t[a]))return!1;if(i.visible)return a;r.push(a),a=i.fill}return!1}function xi(t){var e=t.fill,n="dataset";return!1===e?null:(isFinite(e)||(n="boundary"),pi[n](t))}function yi(t){return t&&!t.skip}function _i(t,e,n,i,a){var r,o,s,l;if(i&&a){for(t.moveTo(e[0].x,e[0].y),r=1;r<i;++r)H.canvas.lineTo(t,e[r-1],e[r]);if(void 0===n[0].angle)for(t.lineTo(n[a-1].x,n[a-1].y),r=a-1;r>0;--r)H.canvas.lineTo(t,n[r],n[r-1],!0);else for(o=n[0].cx,s=n[0].cy,l=Math.sqrt(Math.pow(n[0].x-o,2)+Math.pow(n[0].y-s,2)),r=a-1;r>0;--r)t.arc(o,s,l,n[r].angle,n[r-1].angle,!0)}}function ki(t,e,n,i,a,r){var o,s,l,u,d,h,c,f,g=e.length,p=i.spanGaps,m=[],v=[],b=0,x=0;for(t.beginPath(),o=0,s=g;o<s;++o)d=n(u=e[l=o%g]._view,l,i),h=yi(u),c=yi(d),r&&void 0===f&&h&&(s=g+(f=o+1)),h&&c?(b=m.push(u),x=v.push(d)):b&&x&&(p?(h&&m.push(u),c&&v.push(d)):(_i(t,m,v,b,x),b=x=0,m=[],v=[]));_i(t,m,v,b,x),t.closePath(),t.fillStyle=a,t.fill()}var wi={id:"filler",afterDatasetsUpdate:function(t,e){var n,i,a,r,o=(t.data.datasets||[]).length,s=e.propagate,l=[];for(i=0;i<o;++i)r=null,(a=(n=t.getDatasetMeta(i)).dataset)&&a._model&&a instanceof kt.Line&&(r={visible:t.isDatasetVisible(i),fill:mi(a,i,o),chart:t,el:a}),n.$filler=r,l.push(r);for(i=0;i<o;++i)(r=l[i])&&(r.fill=bi(l,i,s),r.boundary=vi(r),r.mapper=xi(r))},beforeDatasetsDraw:function(t){var e,n,i,a,r,o,s,l=t._getSortedVisibleDatasetMetas(),u=t.ctx;for(n=l.length-1;n>=0;--n)(e=l[n].$filler)&&e.visible&&(a=(i=e.el)._view,r=i._children||[],o=e.mapper,s=a.backgroundColor||N.global.defaultColor,o&&s&&r.length&&(H.canvas.clipArea(u,t.chartArea),ki(u,r,o,a,s,i._loop),H.canvas.unclipArea(u)))}},Mi=H.rtl.getRtlAdapter,Si=H.noop,Ci=H.valueOrDefault;function Pi(t,e){return t.usePointStyle&&t.boxWidth>e?e:t.boxWidth}N._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(t,e){var n=e.datasetIndex,i=this.chart,a=i.getDatasetMeta(n);a.hidden=null===a.hidden?!i.data.datasets[n].hidden:null,i.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(t){var e=t.data.datasets,n=t.options.legend||{},i=n.labels&&n.labels.usePointStyle;return t._getSortedDatasetMetas().map((function(n){var a=n.controller.getStyle(i?0:void 0);return{text:e[n.index].label,fillStyle:a.backgroundColor,hidden:!t.isDatasetVisible(n.index),lineCap:a.borderCapStyle,lineDash:a.borderDash,lineDashOffset:a.borderDashOffset,lineJoin:a.borderJoinStyle,lineWidth:a.borderWidth,strokeStyle:a.borderColor,pointStyle:a.pointStyle,rotation:a.rotation,datasetIndex:n.index}}),this)}}},legendCallback:function(t){var e,n,i,a=document.createElement("ul"),r=t.data.datasets;for(a.setAttribute("class",t.id+"-legend"),e=0,n=r.length;e<n;e++)(i=a.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=r[e].backgroundColor,r[e].label&&i.appendChild(document.createTextNode(r[e].label));return a.outerHTML}});var Ai=K.extend({initialize:function(t){H.extend(this,t),this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1},beforeUpdate:Si,update:function(t,e,n){var i=this;return i.beforeUpdate(),i.maxWidth=t,i.maxHeight=e,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:Si,beforeSetDimensions:Si,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:Si,beforeBuildLabels:Si,buildLabels:function(){var t=this,e=t.options.labels||{},n=H.callback(e.generateLabels,[t.chart],t)||[];e.filter&&(n=n.filter((function(n){return e.filter(n,t.chart.data)}))),t.options.reverse&&n.reverse(),t.legendItems=n},afterBuildLabels:Si,beforeFit:Si,fit:function(){var t=this,e=t.options,n=e.labels,i=e.display,a=t.ctx,r=H.options._parseFont(n),o=r.size,s=t.legendHitBoxes=[],l=t.minSize,u=t.isHorizontal();if(u?(l.width=t.maxWidth,l.height=i?10:0):(l.width=i?10:0,l.height=t.maxHeight),i){if(a.font=r.string,u){var d=t.lineWidths=[0],h=0;a.textAlign="left",a.textBaseline="middle",H.each(t.legendItems,(function(t,e){var i=Pi(n,o)+o/2+a.measureText(t.text).width;(0===e||d[d.length-1]+i+2*n.padding>l.width)&&(h+=o+n.padding,d[d.length-(e>0?0:1)]=0),s[e]={left:0,top:0,width:i,height:o},d[d.length-1]+=i+n.padding})),l.height+=h}else{var c=n.padding,f=t.columnWidths=[],g=t.columnHeights=[],p=n.padding,m=0,v=0;H.each(t.legendItems,(function(t,e){var i=Pi(n,o)+o/2+a.measureText(t.text).width;e>0&&v+o+2*c>l.height&&(p+=m+n.padding,f.push(m),g.push(v),m=0,v=0),m=Math.max(m,i),v+=o+c,s[e]={left:0,top:0,width:i,height:o}})),p+=m,f.push(m),g.push(v),l.width+=p}t.width=l.width,t.height=l.height}else t.width=l.width=t.height=l.height=0},afterFit:Si,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var t=this,e=t.options,n=e.labels,i=N.global,a=i.defaultColor,r=i.elements.line,o=t.height,s=t.columnHeights,l=t.width,u=t.lineWidths;if(e.display){var d,h=Mi(e.rtl,t.left,t.minSize.width),c=t.ctx,f=Ci(n.fontColor,i.defaultFontColor),g=H.options._parseFont(n),p=g.size;c.textAlign=h.textAlign("left"),c.textBaseline="middle",c.lineWidth=.5,c.strokeStyle=f,c.fillStyle=f,c.font=g.string;var m=Pi(n,p),v=t.legendHitBoxes,b=function(t,i){switch(e.align){case"start":return n.padding;case"end":return t-i;default:return(t-i+n.padding)/2}},x=t.isHorizontal();d=x?{x:t.left+b(l,u[0]),y:t.top+n.padding,line:0}:{x:t.left+n.padding,y:t.top+b(o,s[0]),line:0},H.rtl.overrideTextDirection(t.ctx,e.textDirection);var y=p+n.padding;H.each(t.legendItems,(function(e,i){var f=c.measureText(e.text).width,g=m+p/2+f,_=d.x,k=d.y;h.setWidth(t.minSize.width),x?i>0&&_+g+n.padding>t.left+t.minSize.width&&(k=d.y+=y,d.line++,_=d.x=t.left+b(l,u[d.line])):i>0&&k+y>t.top+t.minSize.height&&(_=d.x=_+t.columnWidths[d.line]+n.padding,d.line++,k=d.y=t.top+b(o,s[d.line]));var w=h.x(_);!function(t,e,i){if(!(isNaN(m)||m<=0)){c.save();var o=Ci(i.lineWidth,r.borderWidth);if(c.fillStyle=Ci(i.fillStyle,a),c.lineCap=Ci(i.lineCap,r.borderCapStyle),c.lineDashOffset=Ci(i.lineDashOffset,r.borderDashOffset),c.lineJoin=Ci(i.lineJoin,r.borderJoinStyle),c.lineWidth=o,c.strokeStyle=Ci(i.strokeStyle,a),c.setLineDash&&c.setLineDash(Ci(i.lineDash,r.borderDash)),n&&n.usePointStyle){var s=m*Math.SQRT2/2,l=h.xPlus(t,m/2),u=e+p/2;H.canvas.drawPoint(c,i.pointStyle,s,l,u,i.rotation)}else c.fillRect(h.leftForLtr(t,m),e,m,p),0!==o&&c.strokeRect(h.leftForLtr(t,m),e,m,p);c.restore()}}(w,k,e),v[i].left=h.leftForLtr(w,v[i].width),v[i].top=k,function(t,e,n,i){var a=p/2,r=h.xPlus(t,m+a),o=e+a;c.fillText(n.text,r,o),n.hidden&&(c.beginPath(),c.lineWidth=2,c.moveTo(r,o),c.lineTo(h.xPlus(r,i),o),c.stroke())}(w,k,e,f),x?d.x+=g+n.padding:d.y+=y})),H.rtl.restoreTextDirection(t.ctx,e.textDirection)}},_getLegendItemAt:function(t,e){var n,i,a,r=this;if(t>=r.left&&t<=r.right&&e>=r.top&&e<=r.bottom)for(a=r.legendHitBoxes,n=0;n<a.length;++n)if(t>=(i=a[n]).left&&t<=i.left+i.width&&e>=i.top&&e<=i.top+i.height)return r.legendItems[n];return null},handleEvent:function(t){var e,n=this,i=n.options,a="mouseup"===t.type?"click":t.type;if("mousemove"===a){if(!i.onHover&&!i.onLeave)return}else{if("click"!==a)return;if(!i.onClick)return}e=n._getLegendItemAt(t.x,t.y),"click"===a?e&&i.onClick&&i.onClick.call(n,t.native,e):(i.onLeave&&e!==n._hoveredItem&&(n._hoveredItem&&i.onLeave.call(n,t.native,n._hoveredItem),n._hoveredItem=e),i.onHover&&e&&i.onHover.call(n,t.native,e))}});function Di(t,e){var n=new Ai({ctx:t.ctx,options:e,chart:t});pe.configure(t,n,e),pe.addBox(t,n),t.legend=n}var Ti={id:"legend",_element:Ai,beforeInit:function(t){var e=t.options.legend;e&&Di(t,e)},beforeUpdate:function(t){var e=t.options.legend,n=t.legend;e?(H.mergeIf(e,N.global.legend),n?(pe.configure(t,n,e),n.options=e):Di(t,e)):n&&(pe.removeBox(t,n),delete t.legend)},afterEvent:function(t,e){var n=t.legend;n&&n.handleEvent(e)}},Ii=H.noop;N._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var Fi=K.extend({initialize:function(t){H.extend(this,t),this.legendHitBoxes=[]},beforeUpdate:Ii,update:function(t,e,n){var i=this;return i.beforeUpdate(),i.maxWidth=t,i.maxHeight=e,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:Ii,beforeSetDimensions:Ii,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:Ii,beforeBuildLabels:Ii,buildLabels:Ii,afterBuildLabels:Ii,beforeFit:Ii,fit:function(){var t,e=this,n=e.options,i=e.minSize={},a=e.isHorizontal();n.display?(t=(H.isArray(n.text)?n.text.length:1)*H.options._parseFont(n).lineHeight+2*n.padding,e.width=i.width=a?e.maxWidth:t,e.height=i.height=a?t:e.maxHeight):e.width=i.width=e.height=i.height=0},afterFit:Ii,isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},draw:function(){var t=this,e=t.ctx,n=t.options;if(n.display){var i,a,r,o=H.options._parseFont(n),s=o.lineHeight,l=s/2+n.padding,u=0,d=t.top,h=t.left,c=t.bottom,f=t.right;e.fillStyle=H.valueOrDefault(n.fontColor,N.global.defaultFontColor),e.font=o.string,t.isHorizontal()?(a=h+(f-h)/2,r=d+l,i=f-h):(a="left"===n.position?h+l:f-l,r=d+(c-d)/2,i=c-d,u=Math.PI*("left"===n.position?-.5:.5)),e.save(),e.translate(a,r),e.rotate(u),e.textAlign="center",e.textBaseline="middle";var g=n.text;if(H.isArray(g))for(var p=0,m=0;m<g.length;++m)e.fillText(g[m],0,p,i),p+=s;else e.fillText(g,0,0,i);e.restore()}}});function Oi(t,e){var n=new Fi({ctx:t.ctx,options:e,chart:t});pe.configure(t,n,e),pe.addBox(t,n),t.titleBlock=n}var Li={},Ri=wi,zi=Ti,Ni={id:"title",_element:Fi,beforeInit:function(t){var e=t.options.title;e&&Oi(t,e)},beforeUpdate:function(t){var e=t.options.title,n=t.titleBlock;e?(H.mergeIf(e,N.global.title),n?(pe.configure(t,n,e),n.options=e):Oi(t,e)):n&&(pe.removeBox(t,n),delete t.titleBlock)}};for(var Bi in Li.filler=Ri,Li.legend=zi,Li.title=Ni,en.helpers=H,function(){function t(t,e,n){var i;return"string"==typeof t?(i=parseInt(t,10),-1!==t.indexOf("%")&&(i=i/100*e.parentNode[n])):i=t,i}function e(t){return null!=t&&"none"!==t}function n(n,i,a){var r=document.defaultView,o=H._getParentNode(n),s=r.getComputedStyle(n)[i],l=r.getComputedStyle(o)[i],u=e(s),d=e(l),h=Number.POSITIVE_INFINITY;return u||d?Math.min(u?t(s,n,a):h,d?t(l,o,a):h):"none"}H.where=function(t,e){if(H.isArray(t)&&Array.prototype.filter)return t.filter(e);var n=[];return H.each(t,(function(t){e(t)&&n.push(t)})),n},H.findIndex=Array.prototype.findIndex?function(t,e,n){return t.findIndex(e,n)}:function(t,e,n){n=void 0===n?t:n;for(var i=0,a=t.length;i<a;++i)if(e.call(n,t[i],i,t))return i;return-1},H.findNextWhere=function(t,e,n){H.isNullOrUndef(n)&&(n=-1);for(var i=n+1;i<t.length;i++){var a=t[i];if(e(a))return a}},H.findPreviousWhere=function(t,e,n){H.isNullOrUndef(n)&&(n=t.length);for(var i=n-1;i>=0;i--){var a=t[i];if(e(a))return a}},H.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},H.almostEquals=function(t,e,n){return Math.abs(t-e)<n},H.almostWhole=function(t,e){var n=Math.round(t);return n-e<=t&&n+e>=t},H.max=function(t){return t.reduce((function(t,e){return isNaN(e)?t:Math.max(t,e)}),Number.NEGATIVE_INFINITY)},H.min=function(t){return t.reduce((function(t,e){return isNaN(e)?t:Math.min(t,e)}),Number.POSITIVE_INFINITY)},H.sign=Math.sign?function(t){return Math.sign(t)}:function(t){return 0===(t=+t)||isNaN(t)?t:t>0?1:-1},H.toRadians=function(t){return t*(Math.PI/180)},H.toDegrees=function(t){return t*(180/Math.PI)},H._decimalPlaces=function(t){if(H.isFinite(t)){for(var e=1,n=0;Math.round(t*e)/e!==t;)e*=10,n++;return n}},H.getAngleFromPoint=function(t,e){var n=e.x-t.x,i=e.y-t.y,a=Math.sqrt(n*n+i*i),r=Math.atan2(i,n);return r<-.5*Math.PI&&(r+=2*Math.PI),{angle:r,distance:a}},H.distanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},H.aliasPixel=function(t){return t%2==0?0:.5},H._alignPixel=function(t,e,n){var i=t.currentDevicePixelRatio,a=n/2;return Math.round((e-a)*i)/i+a},H.splineCurve=function(t,e,n,i){var a=t.skip?e:t,r=e,o=n.skip?e:n,s=Math.sqrt(Math.pow(r.x-a.x,2)+Math.pow(r.y-a.y,2)),l=Math.sqrt(Math.pow(o.x-r.x,2)+Math.pow(o.y-r.y,2)),u=s/(s+l),d=l/(s+l),h=i*(u=isNaN(u)?0:u),c=i*(d=isNaN(d)?0:d);return{previous:{x:r.x-h*(o.x-a.x),y:r.y-h*(o.y-a.y)},next:{x:r.x+c*(o.x-a.x),y:r.y+c*(o.y-a.y)}}},H.EPSILON=Number.EPSILON||1e-14,H.splineCurveMonotone=function(t){var e,n,i,a,r,o,s,l,u,d=(t||[]).map((function(t){return{model:t._model,deltaK:0,mK:0}})),h=d.length;for(e=0;e<h;++e)if(!(i=d[e]).model.skip){if(n=e>0?d[e-1]:null,(a=e<h-1?d[e+1]:null)&&!a.model.skip){var c=a.model.x-i.model.x;i.deltaK=0!==c?(a.model.y-i.model.y)/c:0}!n||n.model.skip?i.mK=i.deltaK:!a||a.model.skip?i.mK=n.deltaK:this.sign(n.deltaK)!==this.sign(i.deltaK)?i.mK=0:i.mK=(n.deltaK+i.deltaK)/2}for(e=0;e<h-1;++e)i=d[e],a=d[e+1],i.model.skip||a.model.skip||(H.almostEquals(i.deltaK,0,this.EPSILON)?i.mK=a.mK=0:(r=i.mK/i.deltaK,o=a.mK/i.deltaK,(l=Math.pow(r,2)+Math.pow(o,2))<=9||(s=3/Math.sqrt(l),i.mK=r*s*i.deltaK,a.mK=o*s*i.deltaK)));for(e=0;e<h;++e)(i=d[e]).model.skip||(n=e>0?d[e-1]:null,a=e<h-1?d[e+1]:null,n&&!n.model.skip&&(u=(i.model.x-n.model.x)/3,i.model.controlPointPreviousX=i.model.x-u,i.model.controlPointPreviousY=i.model.y-u*i.mK),a&&!a.model.skip&&(u=(a.model.x-i.model.x)/3,i.model.controlPointNextX=i.model.x+u,i.model.controlPointNextY=i.model.y+u*i.mK))},H.nextItem=function(t,e,n){return n?e>=t.length-1?t[0]:t[e+1]:e>=t.length-1?t[t.length-1]:t[e+1]},H.previousItem=function(t,e,n){return n?e<=0?t[t.length-1]:t[e-1]:e<=0?t[0]:t[e-1]},H.niceNum=function(t,e){var n=Math.floor(H.log10(t)),i=t/Math.pow(10,n);return(e?i<1.5?1:i<3?2:i<7?5:10:i<=1?1:i<=2?2:i<=5?5:10)*Math.pow(10,n)},H.requestAnimFrame="undefined"==typeof window?function(t){t()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)},H.getRelativePosition=function(t,e){var n,i,a=t.originalEvent||t,r=t.target||t.srcElement,o=r.getBoundingClientRect(),s=a.touches;s&&s.length>0?(n=s[0].clientX,i=s[0].clientY):(n=a.clientX,i=a.clientY);var l=parseFloat(H.getStyle(r,"padding-left")),u=parseFloat(H.getStyle(r,"padding-top")),d=parseFloat(H.getStyle(r,"padding-right")),h=parseFloat(H.getStyle(r,"padding-bottom")),c=o.right-o.left-l-d,f=o.bottom-o.top-u-h;return{x:n=Math.round((n-o.left-l)/c*r.width/e.currentDevicePixelRatio),y:i=Math.round((i-o.top-u)/f*r.height/e.currentDevicePixelRatio)}},H.getConstraintWidth=function(t){return n(t,"max-width","clientWidth")},H.getConstraintHeight=function(t){return n(t,"max-height","clientHeight")},H._calculatePadding=function(t,e,n){return(e=H.getStyle(t,e)).indexOf("%")>-1?n*parseInt(e,10)/100:parseInt(e,10)},H._getParentNode=function(t){var e=t.parentNode;return e&&"[object ShadowRoot]"===e.toString()&&(e=e.host),e},H.getMaximumWidth=function(t){var e=H._getParentNode(t);if(!e)return t.clientWidth;var n=e.clientWidth,i=n-H._calculatePadding(e,"padding-left",n)-H._calculatePadding(e,"padding-right",n),a=H.getConstraintWidth(t);return isNaN(a)?i:Math.min(i,a)},H.getMaximumHeight=function(t){var e=H._getParentNode(t);if(!e)return t.clientHeight;var n=e.clientHeight,i=n-H._calculatePadding(e,"padding-top",n)-H._calculatePadding(e,"padding-bottom",n),a=H.getConstraintHeight(t);return isNaN(a)?i:Math.min(i,a)},H.getStyle=function(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},H.retinaScale=function(t,e){var n=t.currentDevicePixelRatio=e||"undefined"!=typeof window&&window.devicePixelRatio||1;if(1!==n){var i=t.canvas,a=t.height,r=t.width;i.height=a*n,i.width=r*n,t.ctx.scale(n,n),i.style.height||i.style.width||(i.style.height=a+"px",i.style.width=r+"px")}},H.fontString=function(t,e,n){return e+" "+t+"px "+n},H.longestText=function(t,e,n,i){var a=(i=i||{}).data=i.data||{},r=i.garbageCollect=i.garbageCollect||[];i.font!==e&&(a=i.data={},r=i.garbageCollect=[],i.font=e),t.font=e;var o,s,l,u,d,h=0,c=n.length;for(o=0;o<c;o++)if(null!=(u=n[o])&&!0!==H.isArray(u))h=H.measureText(t,a,r,h,u);else if(H.isArray(u))for(s=0,l=u.length;s<l;s++)null==(d=u[s])||H.isArray(d)||(h=H.measureText(t,a,r,h,d));var f=r.length/2;if(f>n.length){for(o=0;o<f;o++)delete a[r[o]];r.splice(0,f)}return h},H.measureText=function(t,e,n,i,a){var r=e[a];return r||(r=e[a]=t.measureText(a).width,n.push(a)),r>i&&(i=r),i},H.numberOfLabelLines=function(t){var e=1;return H.each(t,(function(t){H.isArray(t)&&t.length>e&&(e=t.length)})),e},H.color=_?function(t){return t instanceof CanvasGradient&&(t=N.global.defaultColor),_(t)}:function(t){return console.error("Color.js not found!"),t},H.getHoverColor=function(t){return t instanceof CanvasPattern||t instanceof CanvasGradient?t:H.color(t).saturate(.5).darken(.1).rgbString()}}(),en._adapters=rn,en.Animation=$,en.animationService=J,en.controllers=Jt,en.DatasetController=it,en.defaults=N,en.Element=K,en.elements=kt,en.Interaction=re,en.layouts=pe,en.platform=Oe,en.plugins=Le,en.Scale=yn,en.scaleService=Re,en.Ticks=on,en.Tooltip=Ye,en.helpers.each(fi,(function(t,e){en.scaleService.registerScaleType(e,t,t._defaults)})),Li)Li.hasOwnProperty(Bi)&&en.plugins.register(Li[Bi]);en.platform.initialize();var Ei=en;return"undefined"!=typeof window&&(window.Chart=en),en.Chart=en,en.Legend=Li.legend._element,en.Title=Li.title._element,en.pluginService=en.plugins,en.PluginBase=en.Element.extend({}),en.canvasHelpers=en.helpers.canvas,en.layoutService=en.layouts,en.LinearScaleBase=Cn,en.helpers.each(["Bar","Bubble","Doughnut","Line","PolarArea","Radar","Scatter"],(function(t){en[t]=function(e,n){return new en(e,en.helpers.merge(n||{},{type:t.charAt(0).toLowerCase()+t.slice(1)}))}})),Ei}));
assets/js/vendor/moment.min.js ADDED
@@ -0,0 +1 @@
 
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.moment=t()}(this,function(){"use strict";var e,i;function c(){return e.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function u(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function l(e){return void 0===e}function d(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function h(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function f(e,t){var n,s=[];for(n=0;n<e.length;++n)s.push(t(e[n],n));return s}function m(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function _(e,t){for(var n in t)m(t,n)&&(e[n]=t[n]);return m(t,"toString")&&(e.toString=t.toString),m(t,"valueOf")&&(e.valueOf=t.valueOf),e}function y(e,t,n,s){return Ot(e,t,n,s,!0).utc()}function g(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function p(e){if(null==e._isValid){var t=g(e),n=i.call(t.parsedDateParts,function(e){return null!=e}),s=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(s=s&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return s;e._isValid=s}return e._isValid}function v(e){var t=y(NaN);return null!=e?_(g(t),e):g(t).userInvalidated=!0,t}i=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,s=0;s<n;s++)if(s in t&&e.call(this,t[s],s,t))return!0;return!1};var r=c.momentProperties=[];function w(e,t){var n,s,i;if(l(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),l(t._i)||(e._i=t._i),l(t._f)||(e._f=t._f),l(t._l)||(e._l=t._l),l(t._strict)||(e._strict=t._strict),l(t._tzm)||(e._tzm=t._tzm),l(t._isUTC)||(e._isUTC=t._isUTC),l(t._offset)||(e._offset=t._offset),l(t._pf)||(e._pf=g(t)),l(t._locale)||(e._locale=t._locale),0<r.length)for(n=0;n<r.length;n++)l(i=t[s=r[n]])||(e[s]=i);return e}var t=!1;function M(e){w(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===t&&(t=!0,c.updateOffset(this),t=!1)}function S(e){return e instanceof M||null!=e&&null!=e._isAMomentObject}function D(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function k(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=D(t)),n}function a(e,t,n){var s,i=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),a=0;for(s=0;s<i;s++)(n&&e[s]!==t[s]||!n&&k(e[s])!==k(t[s]))&&a++;return a+r}function Y(e){!1===c.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function n(i,r){var a=!0;return _(function(){if(null!=c.deprecationHandler&&c.deprecationHandler(null,i),a){for(var e,t=[],n=0;n<arguments.length;n++){if(e="","object"==typeof arguments[n]){for(var s in e+="\n["+n+"] ",arguments[0])e+=s+": "+arguments[0][s]+", ";e=e.slice(0,-2)}else e=arguments[n];t.push(e)}Y(i+"\nArguments: "+Array.prototype.slice.call(t).join("")+"\n"+(new Error).stack),a=!1}return r.apply(this,arguments)},r)}var s,O={};function T(e,t){null!=c.deprecationHandler&&c.deprecationHandler(e,t),O[e]||(Y(t),O[e]=!0)}function x(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function b(e,t){var n,s=_({},e);for(n in t)m(t,n)&&(u(e[n])&&u(t[n])?(s[n]={},_(s[n],e[n]),_(s[n],t[n])):null!=t[n]?s[n]=t[n]:delete s[n]);for(n in e)m(e,n)&&!m(t,n)&&u(e[n])&&(s[n]=_({},s[n]));return s}function P(e){null!=e&&this.set(e)}c.suppressDeprecationWarnings=!1,c.deprecationHandler=null,s=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)m(e,t)&&n.push(t);return n};var W={};function H(e,t){var n=e.toLowerCase();W[n]=W[n+"s"]=W[t]=e}function R(e){return"string"==typeof e?W[e]||W[e.toLowerCase()]:void 0}function C(e){var t,n,s={};for(n in e)m(e,n)&&(t=R(n))&&(s[t]=e[n]);return s}var F={};function L(e,t){F[e]=t}function U(e,t,n){var s=""+Math.abs(e),i=t-s.length;return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+s}var N=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,G=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,V={},E={};function I(e,t,n,s){var i=s;"string"==typeof s&&(i=function(){return this[s]()}),e&&(E[e]=i),t&&(E[t[0]]=function(){return U(i.apply(this,arguments),t[1],t[2])}),n&&(E[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function A(e,t){return e.isValid()?(t=j(t,e.localeData()),V[t]=V[t]||function(s){var e,i,t,r=s.match(N);for(e=0,i=r.length;e<i;e++)E[r[e]]?r[e]=E[r[e]]:r[e]=(t=r[e]).match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"");return function(e){var t,n="";for(t=0;t<i;t++)n+=x(r[t])?r[t].call(e,s):r[t];return n}}(t),V[t](e)):e.localeData().invalidDate()}function j(e,t){var n=5;function s(e){return t.longDateFormat(e)||e}for(G.lastIndex=0;0<=n&&G.test(e);)e=e.replace(G,s),G.lastIndex=0,n-=1;return e}var Z=/\d/,z=/\d\d/,$=/\d{3}/,q=/\d{4}/,J=/[+-]?\d{6}/,B=/\d\d?/,Q=/\d\d\d\d?/,X=/\d\d\d\d\d\d?/,K=/\d{1,3}/,ee=/\d{1,4}/,te=/[+-]?\d{1,6}/,ne=/\d+/,se=/[+-]?\d+/,ie=/Z|[+-]\d\d:?\d\d/gi,re=/Z|[+-]\d\d(?::?\d\d)?/gi,ae=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,oe={};function ue(e,n,s){oe[e]=x(n)?n:function(e,t){return e&&s?s:n}}function le(e,t){return m(oe,e)?oe[e](t._strict,t._locale):new RegExp(de(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,s,i){return t||n||s||i})))}function de(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var he={};function ce(e,n){var t,s=n;for("string"==typeof e&&(e=[e]),d(n)&&(s=function(e,t){t[n]=k(e)}),t=0;t<e.length;t++)he[e[t]]=s}function fe(e,i){ce(e,function(e,t,n,s){n._w=n._w||{},i(e,n._w,n,s)})}var me=0,_e=1,ye=2,ge=3,pe=4,ve=5,we=6,Me=7,Se=8;function De(e){return ke(e)?366:365}function ke(e){return e%4==0&&e%100!=0||e%400==0}I("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),I(0,["YY",2],0,function(){return this.year()%100}),I(0,["YYYY",4],0,"year"),I(0,["YYYYY",5],0,"year"),I(0,["YYYYYY",6,!0],0,"year"),H("year","y"),L("year",1),ue("Y",se),ue("YY",B,z),ue("YYYY",ee,q),ue("YYYYY",te,J),ue("YYYYYY",te,J),ce(["YYYYY","YYYYYY"],me),ce("YYYY",function(e,t){t[me]=2===e.length?c.parseTwoDigitYear(e):k(e)}),ce("YY",function(e,t){t[me]=c.parseTwoDigitYear(e)}),ce("Y",function(e,t){t[me]=parseInt(e,10)}),c.parseTwoDigitYear=function(e){return k(e)+(68<k(e)?1900:2e3)};var Ye,Oe=Te("FullYear",!0);function Te(t,n){return function(e){return null!=e?(be(this,t,e),c.updateOffset(this,n),this):xe(this,t)}}function xe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function be(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&ke(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Pe(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function Pe(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,s=(t%(n=12)+n)%n;return e+=(t-s)/12,1===s?ke(e)?29:28:31-s%7%2}Ye=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},I("M",["MM",2],"Mo",function(){return this.month()+1}),I("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),I("MMMM",0,0,function(e){return this.localeData().months(this,e)}),H("month","M"),L("month",8),ue("M",B),ue("MM",B,z),ue("MMM",function(e,t){return t.monthsShortRegex(e)}),ue("MMMM",function(e,t){return t.monthsRegex(e)}),ce(["M","MM"],function(e,t){t[_e]=k(e)-1}),ce(["MMM","MMMM"],function(e,t,n,s){var i=n._locale.monthsParse(e,s,n._strict);null!=i?t[_e]=i:g(n).invalidMonth=e});var We=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,He="January_February_March_April_May_June_July_August_September_October_November_December".split("_");var Re="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function Ce(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=k(t);else if(!d(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Pe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Fe(e){return null!=e?(Ce(this,e),c.updateOffset(this,!0),this):xe(this,"Month")}var Le=ae;var Ue=ae;function Ne(){function e(e,t){return t.length-e.length}var t,n,s=[],i=[],r=[];for(t=0;t<12;t++)n=y([2e3,t]),s.push(this.monthsShort(n,"")),i.push(this.months(n,"")),r.push(this.months(n,"")),r.push(this.monthsShort(n,""));for(s.sort(e),i.sort(e),r.sort(e),t=0;t<12;t++)s[t]=de(s[t]),i[t]=de(i[t]);for(t=0;t<24;t++)r[t]=de(r[t]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+s.join("|")+")","i")}function Ge(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&0<=e&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function Ve(e,t,n){var s=7+t-n;return-((7+Ge(e,0,s).getUTCDay()-t)%7)+s-1}function Ee(e,t,n,s,i){var r,a,o=1+7*(t-1)+(7+n-s)%7+Ve(e,s,i);return o<=0?a=De(r=e-1)+o:o>De(e)?(r=e+1,a=o-De(e)):(r=e,a=o),{year:r,dayOfYear:a}}function Ie(e,t,n){var s,i,r=Ve(e.year(),t,n),a=Math.floor((e.dayOfYear()-r-1)/7)+1;return a<1?s=a+Ae(i=e.year()-1,t,n):a>Ae(e.year(),t,n)?(s=a-Ae(e.year(),t,n),i=e.year()+1):(i=e.year(),s=a),{week:s,year:i}}function Ae(e,t,n){var s=Ve(e,t,n),i=Ve(e+1,t,n);return(De(e)-s+i)/7}I("w",["ww",2],"wo","week"),I("W",["WW",2],"Wo","isoWeek"),H("week","w"),H("isoWeek","W"),L("week",5),L("isoWeek",5),ue("w",B),ue("ww",B,z),ue("W",B),ue("WW",B,z),fe(["w","ww","W","WW"],function(e,t,n,s){t[s.substr(0,1)]=k(e)});I("d",0,"do","day"),I("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),I("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),I("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),I("e",0,0,"weekday"),I("E",0,0,"isoWeekday"),H("day","d"),H("weekday","e"),H("isoWeekday","E"),L("day",11),L("weekday",11),L("isoWeekday",11),ue("d",B),ue("e",B),ue("E",B),ue("dd",function(e,t){return t.weekdaysMinRegex(e)}),ue("ddd",function(e,t){return t.weekdaysShortRegex(e)}),ue("dddd",function(e,t){return t.weekdaysRegex(e)}),fe(["dd","ddd","dddd"],function(e,t,n,s){var i=n._locale.weekdaysParse(e,s,n._strict);null!=i?t.d=i:g(n).invalidWeekday=e}),fe(["d","e","E"],function(e,t,n,s){t[s]=k(e)});var je="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");var Ze="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");var ze="Su_Mo_Tu_We_Th_Fr_Sa".split("_");var $e=ae;var qe=ae;var Je=ae;function Be(){function e(e,t){return t.length-e.length}var t,n,s,i,r,a=[],o=[],u=[],l=[];for(t=0;t<7;t++)n=y([2e3,1]).day(t),s=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),r=this.weekdays(n,""),a.push(s),o.push(i),u.push(r),l.push(s),l.push(i),l.push(r);for(a.sort(e),o.sort(e),u.sort(e),l.sort(e),t=0;t<7;t++)o[t]=de(o[t]),u[t]=de(u[t]),l[t]=de(l[t]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Qe(){return this.hours()%12||12}function Xe(e,t){I(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Ke(e,t){return t._meridiemParse}I("H",["HH",2],0,"hour"),I("h",["hh",2],0,Qe),I("k",["kk",2],0,function(){return this.hours()||24}),I("hmm",0,0,function(){return""+Qe.apply(this)+U(this.minutes(),2)}),I("hmmss",0,0,function(){return""+Qe.apply(this)+U(this.minutes(),2)+U(this.seconds(),2)}),I("Hmm",0,0,function(){return""+this.hours()+U(this.minutes(),2)}),I("Hmmss",0,0,function(){return""+this.hours()+U(this.minutes(),2)+U(this.seconds(),2)}),Xe("a",!0),Xe("A",!1),H("hour","h"),L("hour",13),ue("a",Ke),ue("A",Ke),ue("H",B),ue("h",B),ue("k",B),ue("HH",B,z),ue("hh",B,z),ue("kk",B,z),ue("hmm",Q),ue("hmmss",X),ue("Hmm",Q),ue("Hmmss",X),ce(["H","HH"],ge),ce(["k","kk"],function(e,t,n){var s=k(e);t[ge]=24===s?0:s}),ce(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ce(["h","hh"],function(e,t,n){t[ge]=k(e),g(n).bigHour=!0}),ce("hmm",function(e,t,n){var s=e.length-2;t[ge]=k(e.substr(0,s)),t[pe]=k(e.substr(s)),g(n).bigHour=!0}),ce("hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[ge]=k(e.substr(0,s)),t[pe]=k(e.substr(s,2)),t[ve]=k(e.substr(i)),g(n).bigHour=!0}),ce("Hmm",function(e,t,n){var s=e.length-2;t[ge]=k(e.substr(0,s)),t[pe]=k(e.substr(s))}),ce("Hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[ge]=k(e.substr(0,s)),t[pe]=k(e.substr(s,2)),t[ve]=k(e.substr(i))});var et,tt=Te("Hours",!0),nt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:He,monthsShort:Re,week:{dow:0,doy:6},weekdays:je,weekdaysMin:ze,weekdaysShort:Ze,meridiemParse:/[ap]\.?m?\.?/i},st={},it={};function rt(e){return e?e.toLowerCase().replace("_","-"):e}function at(e){var t=null;if(!st[e]&&"undefined"!=typeof module&&module&&module.exports)try{t=et._abbr,require("./locale/"+e),ot(t)}catch(e){}return st[e]}function ot(e,t){var n;return e&&((n=l(t)?lt(e):ut(e,t))?et=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),et._abbr}function ut(e,t){if(null!==t){var n,s=nt;if(t.abbr=e,null!=st[e])T("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),s=st[e]._config;else if(null!=t.parentLocale)if(null!=st[t.parentLocale])s=st[t.parentLocale]._config;else{if(null==(n=at(t.parentLocale)))return it[t.parentLocale]||(it[t.parentLocale]=[]),it[t.parentLocale].push({name:e,config:t}),null;s=n._config}return st[e]=new P(b(s,t)),it[e]&&it[e].forEach(function(e){ut(e.name,e.config)}),ot(e),st[e]}return delete st[e],null}function lt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return et;if(!o(e)){if(t=at(e))return t;e=[e]}return function(e){for(var t,n,s,i,r=0;r<e.length;){for(t=(i=rt(e[r]).split("-")).length,n=(n=rt(e[r+1]))?n.split("-"):null;0<t;){if(s=at(i.slice(0,t).join("-")))return s;if(n&&n.length>=t&&a(i,n,!0)>=t-1)break;t--}r++}return et}(e)}function dt(e){var t,n=e._a;return n&&-2===g(e).overflow&&(t=n[_e]<0||11<n[_e]?_e:n[ye]<1||n[ye]>Pe(n[me],n[_e])?ye:n[ge]<0||24<n[ge]||24===n[ge]&&(0!==n[pe]||0!==n[ve]||0!==n[we])?ge:n[pe]<0||59<n[pe]?pe:n[ve]<0||59<n[ve]?ve:n[we]<0||999<n[we]?we:-1,g(e)._overflowDayOfYear&&(t<me||ye<t)&&(t=ye),g(e)._overflowWeeks&&-1===t&&(t=Me),g(e)._overflowWeekday&&-1===t&&(t=Se),g(e).overflow=t),e}function ht(e,t,n){return null!=e?e:null!=t?t:n}function ct(e){var t,n,s,i,r,a=[];if(!e._d){var o,u;for(o=e,u=new Date(c.now()),s=o._useUTC?[u.getUTCFullYear(),u.getUTCMonth(),u.getUTCDate()]:[u.getFullYear(),u.getMonth(),u.getDate()],e._w&&null==e._a[ye]&&null==e._a[_e]&&function(e){var t,n,s,i,r,a,o,u;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)r=1,a=4,n=ht(t.GG,e._a[me],Ie(Tt(),1,4).year),s=ht(t.W,1),((i=ht(t.E,1))<1||7<i)&&(u=!0);else{r=e._locale._week.dow,a=e._locale._week.doy;var l=Ie(Tt(),r,a);n=ht(t.gg,e._a[me],l.year),s=ht(t.w,l.week),null!=t.d?((i=t.d)<0||6<i)&&(u=!0):null!=t.e?(i=t.e+r,(t.e<0||6<t.e)&&(u=!0)):i=r}s<1||s>Ae(n,r,a)?g(e)._overflowWeeks=!0:null!=u?g(e)._overflowWeekday=!0:(o=Ee(n,s,i,r,a),e._a[me]=o.year,e._dayOfYear=o.dayOfYear)}(e),null!=e._dayOfYear&&(r=ht(e._a[me],s[me]),(e._dayOfYear>De(r)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),n=Ge(r,0,e._dayOfYear),e._a[_e]=n.getUTCMonth(),e._a[ye]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=s[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ge]&&0===e._a[pe]&&0===e._a[ve]&&0===e._a[we]&&(e._nextDay=!0,e._a[ge]=0),e._d=(e._useUTC?Ge:function(e,t,n,s,i,r,a){var o=new Date(e,t,n,s,i,r,a);return e<100&&0<=e&&isFinite(o.getFullYear())&&o.setFullYear(e),o}).apply(null,a),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ge]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(g(e).weekdayMismatch=!0)}}var ft=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,mt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,_t=/Z|[+-]\d\d(?::?\d\d)?/,yt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],gt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],pt=/^\/?Date\((\-?\d+)/i;function vt(e){var t,n,s,i,r,a,o=e._i,u=ft.exec(o)||mt.exec(o);if(u){for(g(e).iso=!0,t=0,n=yt.length;t<n;t++)if(yt[t][1].exec(u[1])){i=yt[t][0],s=!1!==yt[t][2];break}if(null==i)return void(e._isValid=!1);if(u[3]){for(t=0,n=gt.length;t<n;t++)if(gt[t][1].exec(u[3])){r=(u[2]||" ")+gt[t][0];break}if(null==r)return void(e._isValid=!1)}if(!s&&null!=r)return void(e._isValid=!1);if(u[4]){if(!_t.exec(u[4]))return void(e._isValid=!1);a="Z"}e._f=i+(r||"")+(a||""),kt(e)}else e._isValid=!1}var wt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function Mt(e,t,n,s,i,r){var a=[function(e){var t=parseInt(e,10);{if(t<=49)return 2e3+t;if(t<=999)return 1900+t}return t}(e),Re.indexOf(t),parseInt(n,10),parseInt(s,10),parseInt(i,10)];return r&&a.push(parseInt(r,10)),a}var St={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Dt(e){var t,n,s,i=wt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(i){var r=Mt(i[4],i[3],i[2],i[5],i[6],i[7]);if(t=i[1],n=r,s=e,t&&Ze.indexOf(t)!==new Date(n[0],n[1],n[2]).getDay()&&(g(s).weekdayMismatch=!0,!(s._isValid=!1)))return;e._a=r,e._tzm=function(e,t,n){if(e)return St[e];if(t)return 0;var s=parseInt(n,10),i=s%100;return(s-i)/100*60+i}(i[8],i[9],i[10]),e._d=Ge.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0}else e._isValid=!1}function kt(e){if(e._f!==c.ISO_8601)if(e._f!==c.RFC_2822){e._a=[],g(e).empty=!0;var t,n,s,i,r,a,o,u,l=""+e._i,d=l.length,h=0;for(s=j(e._f,e._locale).match(N)||[],t=0;t<s.length;t++)i=s[t],(n=(l.match(le(i,e))||[])[0])&&(0<(r=l.substr(0,l.indexOf(n))).length&&g(e).unusedInput.push(r),l=l.slice(l.indexOf(n)+n.length),h+=n.length),E[i]?(n?g(e).empty=!1:g(e).unusedTokens.push(i),a=i,u=e,null!=(o=n)&&m(he,a)&&he[a](o,u._a,u,a)):e._strict&&!n&&g(e).unusedTokens.push(i);g(e).charsLeftOver=d-h,0<l.length&&g(e).unusedInput.push(l),e._a[ge]<=12&&!0===g(e).bigHour&&0<e._a[ge]&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[ge]=function(e,t,n){var s;if(null==n)return t;return null!=e.meridiemHour?e.meridiemHour(t,n):(null!=e.isPM&&((s=e.isPM(n))&&t<12&&(t+=12),s||12!==t||(t=0)),t)}(e._locale,e._a[ge],e._meridiem),ct(e),dt(e)}else Dt(e);else vt(e)}function Yt(e){var t,n,s,i,r=e._i,a=e._f;return e._locale=e._locale||lt(e._l),null===r||void 0===a&&""===r?v({nullInput:!0}):("string"==typeof r&&(e._i=r=e._locale.preparse(r)),S(r)?new M(dt(r)):(h(r)?e._d=r:o(a)?function(e){var t,n,s,i,r;if(0===e._f.length)return g(e).invalidFormat=!0,e._d=new Date(NaN);for(i=0;i<e._f.length;i++)r=0,t=w({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],kt(t),p(t)&&(r+=g(t).charsLeftOver,r+=10*g(t).unusedTokens.length,g(t).score=r,(null==s||r<s)&&(s=r,n=t));_(e,n||t)}(e):a?kt(e):l(n=(t=e)._i)?t._d=new Date(c.now()):h(n)?t._d=new Date(n.valueOf()):"string"==typeof n?(s=t,null===(i=pt.exec(s._i))?(vt(s),!1===s._isValid&&(delete s._isValid,Dt(s),!1===s._isValid&&(delete s._isValid,c.createFromInputFallback(s)))):s._d=new Date(+i[1])):o(n)?(t._a=f(n.slice(0),function(e){return parseInt(e,10)}),ct(t)):u(n)?function(e){if(!e._d){var t=C(e._i);e._a=f([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),ct(e)}}(t):d(n)?t._d=new Date(n):c.createFromInputFallback(t),p(e)||(e._d=null),e))}function Ot(e,t,n,s,i){var r,a={};return!0!==n&&!1!==n||(s=n,n=void 0),(u(e)&&function(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}(e)||o(e)&&0===e.length)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=i,a._l=n,a._i=e,a._f=t,a._strict=s,(r=new M(dt(Yt(a))))._nextDay&&(r.add(1,"d"),r._nextDay=void 0),r}function Tt(e,t,n,s){return Ot(e,t,n,s,!1)}c.createFromInputFallback=n("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),c.ISO_8601=function(){},c.RFC_2822=function(){};var xt=n("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Tt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:v()}),bt=n("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Tt.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:v()});function Pt(e,t){var n,s;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return Tt();for(n=t[0],s=1;s<t.length;++s)t[s].isValid()&&!t[s][e](n)||(n=t[s]);return n}var Wt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ht(e){var t=C(e),n=t.year||0,s=t.quarter||0,i=t.month||0,r=t.week||0,a=t.day||0,o=t.hour||0,u=t.minute||0,l=t.second||0,d=t.millisecond||0;this._isValid=function(e){for(var t in e)if(-1===Ye.call(Wt,t)||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,s=0;s<Wt.length;++s)if(e[Wt[s]]){if(n)return!1;parseFloat(e[Wt[s]])!==k(e[Wt[s]])&&(n=!0)}return!0}(t),this._milliseconds=+d+1e3*l+6e4*u+1e3*o*60*60,this._days=+a+7*r,this._months=+i+3*s+12*n,this._data={},this._locale=lt(),this._bubble()}function Rt(e){return e instanceof Ht}function Ct(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ft(e,n){I(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+U(~~(e/60),2)+n+U(~~e%60,2)})}Ft("Z",":"),Ft("ZZ",""),ue("Z",re),ue("ZZ",re),ce(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ut(re,e)});var Lt=/([\+\-]|\d\d)/gi;function Ut(e,t){var n=(t||"").match(e);if(null===n)return null;var s=((n[n.length-1]||[])+"").match(Lt)||["-",0,0],i=60*s[1]+k(s[2]);return 0===i?0:"+"===s[0]?i:-i}function Nt(e,t){var n,s;return t._isUTC?(n=t.clone(),s=(S(e)||h(e)?e.valueOf():Tt(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+s),c.updateOffset(n,!1),n):Tt(e).local()}function Gt(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Vt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}c.updateOffset=function(){};var Et=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,It=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function At(e,t){var n,s,i,r=e,a=null;return Rt(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:d(e)?(r={},t?r[t]=e:r.milliseconds=e):(a=Et.exec(e))?(n="-"===a[1]?-1:1,r={y:0,d:k(a[ye])*n,h:k(a[ge])*n,m:k(a[pe])*n,s:k(a[ve])*n,ms:k(Ct(1e3*a[we]))*n}):(a=It.exec(e))?(n="-"===a[1]?-1:(a[1],1),r={y:jt(a[2],n),M:jt(a[3],n),w:jt(a[4],n),d:jt(a[5],n),h:jt(a[6],n),m:jt(a[7],n),s:jt(a[8],n)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(i=function(e,t){var n;if(!e.isValid()||!t.isValid())return{milliseconds:0,months:0};t=Nt(t,e),e.isBefore(t)?n=Zt(e,t):((n=Zt(t,e)).milliseconds=-n.milliseconds,n.months=-n.months);return n}(Tt(r.from),Tt(r.to)),(r={}).ms=i.milliseconds,r.M=i.months),s=new Ht(r),Rt(e)&&m(e,"_locale")&&(s._locale=e._locale),s}function jt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Zt(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function zt(s,i){return function(e,t){var n;return null===t||isNaN(+t)||(T(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),$t(this,At(e="string"==typeof e?+e:e,t),s),this}}function $t(e,t,n,s){var i=t._milliseconds,r=Ct(t._days),a=Ct(t._months);e.isValid()&&(s=null==s||s,a&&Ce(e,xe(e,"Month")+a*n),r&&be(e,"Date",xe(e,"Date")+r*n),i&&e._d.setTime(e._d.valueOf()+i*n),s&&c.updateOffset(e,r||a))}At.fn=Ht.prototype,At.invalid=function(){return At(NaN)};var qt=zt(1,"add"),Jt=zt(-1,"subtract");function Bt(e,t){var n=12*(t.year()-e.year())+(t.month()-e.month()),s=e.clone().add(n,"months");return-(n+(t-s<0?(t-s)/(s-e.clone().add(n-1,"months")):(t-s)/(e.clone().add(n+1,"months")-s)))||0}function Qt(e){var t;return void 0===e?this._locale._abbr:(null!=(t=lt(e))&&(this._locale=t),this)}c.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",c.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Xt=n("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function Kt(){return this._locale}function en(e,t){I(0,[e,e.length],0,t)}function tn(e,t,n,s,i){var r;return null==e?Ie(this,s,i).year:((r=Ae(e,s,i))<t&&(t=r),function(e,t,n,s,i){var r=Ee(e,t,n,s,i),a=Ge(r.year,0,r.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}.call(this,e,t,n,s,i))}I(0,["gg",2],0,function(){return this.weekYear()%100}),I(0,["GG",2],0,function(){return this.isoWeekYear()%100}),en("gggg","weekYear"),en("ggggg","weekYear"),en("GGGG","isoWeekYear"),en("GGGGG","isoWeekYear"),H("weekYear","gg"),H("isoWeekYear","GG"),L("weekYear",1),L("isoWeekYear",1),ue("G",se),ue("g",se),ue("GG",B,z),ue("gg",B,z),ue("GGGG",ee,q),ue("gggg",ee,q),ue("GGGGG",te,J),ue("ggggg",te,J),fe(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,s){t[s.substr(0,2)]=k(e)}),fe(["gg","GG"],function(e,t,n,s){t[s]=c.parseTwoDigitYear(e)}),I("Q",0,"Qo","quarter"),H("quarter","Q"),L("quarter",7),ue("Q",Z),ce("Q",function(e,t){t[_e]=3*(k(e)-1)}),I("D",["DD",2],"Do","date"),H("date","D"),L("date",9),ue("D",B),ue("DD",B,z),ue("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ce(["D","DD"],ye),ce("Do",function(e,t){t[ye]=k(e.match(B)[0])});var nn=Te("Date",!0);I("DDD",["DDDD",3],"DDDo","dayOfYear"),H("dayOfYear","DDD"),L("dayOfYear",4),ue("DDD",K),ue("DDDD",$),ce(["DDD","DDDD"],function(e,t,n){n._dayOfYear=k(e)}),I("m",["mm",2],0,"minute"),H("minute","m"),L("minute",14),ue("m",B),ue("mm",B,z),ce(["m","mm"],pe);var sn=Te("Minutes",!1);I("s",["ss",2],0,"second"),H("second","s"),L("second",15),ue("s",B),ue("ss",B,z),ce(["s","ss"],ve);var rn,an=Te("Seconds",!1);for(I("S",0,0,function(){return~~(this.millisecond()/100)}),I(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),I(0,["SSS",3],0,"millisecond"),I(0,["SSSS",4],0,function(){return 10*this.millisecond()}),I(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),I(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),I(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),I(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),I(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),H("millisecond","ms"),L("millisecond",16),ue("S",K,Z),ue("SS",K,z),ue("SSS",K,$),rn="SSSS";rn.length<=9;rn+="S")ue(rn,ne);function on(e,t){t[we]=k(1e3*("0."+e))}for(rn="S";rn.length<=9;rn+="S")ce(rn,on);var un=Te("Milliseconds",!1);I("z",0,0,"zoneAbbr"),I("zz",0,0,"zoneName");var ln=M.prototype;function dn(e){return e}ln.add=qt,ln.calendar=function(e,t){var n=e||Tt(),s=Nt(n,this).startOf("day"),i=c.calendarFormat(this,s)||"sameElse",r=t&&(x(t[i])?t[i].call(this,n):t[i]);return this.format(r||this.localeData().calendar(i,this,Tt(n)))},ln.clone=function(){return new M(this)},ln.diff=function(e,t,n){var s,i,r;if(!this.isValid())return NaN;if(!(s=Nt(e,this)).isValid())return NaN;switch(i=6e4*(s.utcOffset()-this.utcOffset()),t=R(t)){case"year":r=Bt(this,s)/12;break;case"month":r=Bt(this,s);break;case"quarter":r=Bt(this,s)/3;break;case"second":r=(this-s)/1e3;break;case"minute":r=(this-s)/6e4;break;case"hour":r=(this-s)/36e5;break;case"day":r=(this-s-i)/864e5;break;case"week":r=(this-s-i)/6048e5;break;default:r=this-s}return n?r:D(r)},ln.endOf=function(e){return void 0===(e=R(e))||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))},ln.format=function(e){e||(e=this.isUtc()?c.defaultFormatUtc:c.defaultFormat);var t=A(this,e);return this.localeData().postformat(t)},ln.from=function(e,t){return this.isValid()&&(S(e)&&e.isValid()||Tt(e).isValid())?At({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ln.fromNow=function(e){return this.from(Tt(),e)},ln.to=function(e,t){return this.isValid()&&(S(e)&&e.isValid()||Tt(e).isValid())?At({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ln.toNow=function(e){return this.to(Tt(),e)},ln.get=function(e){return x(this[e=R(e)])?this[e]():this},ln.invalidAt=function(){return g(this).overflow},ln.isAfter=function(e,t){var n=S(e)?e:Tt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=R(l(t)?"millisecond":t))?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},ln.isBefore=function(e,t){var n=S(e)?e:Tt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=R(l(t)?"millisecond":t))?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},ln.isBetween=function(e,t,n,s){return("("===(s=s||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===s[1]?this.isBefore(t,n):!this.isAfter(t,n))},ln.isSame=function(e,t){var n,s=S(e)?e:Tt(e);return!(!this.isValid()||!s.isValid())&&("millisecond"===(t=R(t||"millisecond"))?this.valueOf()===s.valueOf():(n=s.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},ln.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},ln.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},ln.isValid=function(){return p(this)},ln.lang=Xt,ln.locale=Qt,ln.localeData=Kt,ln.max=bt,ln.min=xt,ln.parsingFlags=function(){return _({},g(this))},ln.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t=[];for(var n in e)t.push({unit:n,priority:F[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}(e=C(e)),s=0;s<n.length;s++)this[n[s].unit](e[n[s].unit]);else if(x(this[e=R(e)]))return this[e](t);return this},ln.startOf=function(e){switch(e=R(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this},ln.subtract=Jt,ln.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},ln.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},ln.toDate=function(){return new Date(this.valueOf())},ln.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||9999<n.year()?A(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):x(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",A(n,"Z")):A(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},ln.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',s=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i=t+'[")]';return this.format(n+s+"-MM-DD[T]HH:mm:ss.SSS"+i)},ln.toJSON=function(){return this.isValid()?this.toISOString():null},ln.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},ln.unix=function(){return Math.floor(this.valueOf()/1e3)},ln.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},ln.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},ln.year=Oe,ln.isLeapYear=function(){return ke(this.year())},ln.weekYear=function(e){return tn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},ln.isoWeekYear=function(e){return tn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},ln.quarter=ln.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},ln.month=Fe,ln.daysInMonth=function(){return Pe(this.year(),this.month())},ln.week=ln.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},ln.isoWeek=ln.isoWeeks=function(e){var t=Ie(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},ln.weeksInYear=function(){var e=this.localeData()._week;return Ae(this.year(),e.dow,e.doy)},ln.isoWeeksInYear=function(){return Ae(this.year(),1,4)},ln.date=nn,ln.day=ln.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,n,s=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,n=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-s,"d")):s},ln.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},ln.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=(n=e,s=this.localeData(),"string"==typeof n?s.weekdaysParse(n)%7||7:isNaN(n)?null:n);return this.day(this.day()%7?t:t-7)}return this.day()||7;var n,s},ln.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},ln.hour=ln.hours=tt,ln.minute=ln.minutes=sn,ln.second=ln.seconds=an,ln.millisecond=ln.milliseconds=un,ln.utcOffset=function(e,t,n){var s,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Ut(re,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(s=Gt(this)),this._offset=e,this._isUTC=!0,null!=s&&this.add(s,"m"),i!==e&&(!t||this._changeInProgress?$t(this,At(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,c.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:Gt(this)},ln.utc=function(e){return this.utcOffset(0,e)},ln.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Gt(this),"m")),this},ln.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Ut(ie,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},ln.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Tt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},ln.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},ln.isLocal=function(){return!!this.isValid()&&!this._isUTC},ln.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},ln.isUtc=Vt,ln.isUTC=Vt,ln.zoneAbbr=function(){return this._isUTC?"UTC":""},ln.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},ln.dates=n("dates accessor is deprecated. Use date instead.",nn),ln.months=n("months accessor is deprecated. Use month instead",Fe),ln.years=n("years accessor is deprecated. Use year instead",Oe),ln.zone=n("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),ln.isDSTShifted=n("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!l(this._isDSTShifted))return this._isDSTShifted;var e={};if(w(e,this),(e=Yt(e))._a){var t=e._isUTC?y(e._a):Tt(e._a);this._isDSTShifted=this.isValid()&&0<a(e._a,t.toArray())}else this._isDSTShifted=!1;return this._isDSTShifted});var hn=P.prototype;function cn(e,t,n,s){var i=lt(),r=y().set(s,t);return i[n](r,e)}function fn(e,t,n){if(d(e)&&(t=e,e=void 0),e=e||"",null!=t)return cn(e,t,n,"month");var s,i=[];for(s=0;s<12;s++)i[s]=cn(e,s,n,"month");return i}function mn(e,t,n,s){"boolean"==typeof e?d(t)&&(n=t,t=void 0):(t=e,e=!1,d(n=t)&&(n=t,t=void 0)),t=t||"";var i,r=lt(),a=e?r._week.dow:0;if(null!=n)return cn(t,(n+a)%7,s,"day");var o=[];for(i=0;i<7;i++)o[i]=cn(t,(i+a)%7,s,"day");return o}hn.calendar=function(e,t,n){var s=this._calendar[e]||this._calendar.sameElse;return x(s)?s.call(t,n):s},hn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])},hn.invalidDate=function(){return this._invalidDate},hn.ordinal=function(e){return this._ordinal.replace("%d",e)},hn.preparse=dn,hn.postformat=dn,hn.relativeTime=function(e,t,n,s){var i=this._relativeTime[n];return x(i)?i(e,t,n,s):i.replace(/%d/i,e)},hn.pastFuture=function(e,t){var n=this._relativeTime[0<e?"future":"past"];return x(n)?n(t):n.replace(/%s/i,t)},hn.set=function(e){var t,n;for(n in e)x(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},hn.months=function(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||We).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone},hn.monthsShort=function(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[We.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},hn.monthsParse=function(e,t,n){var s,i,r;if(this._monthsParseExact)return function(e,t,n){var s,i,r,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)r=y([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(r,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=Ye.call(this._shortMonthsParse,a))?i:null:-1!==(i=Ye.call(this._longMonthsParse,a))?i:null:"MMM"===t?-1!==(i=Ye.call(this._shortMonthsParse,a))?i:-1!==(i=Ye.call(this._longMonthsParse,a))?i:null:-1!==(i=Ye.call(this._longMonthsParse,a))?i:-1!==(i=Ye.call(this._shortMonthsParse,a))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(i=y([2e3,s]),n&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[s]||(r="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[s]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[s].test(e))return s;if(n&&"MMM"===t&&this._shortMonthsParse[s].test(e))return s;if(!n&&this._monthsParse[s].test(e))return s}},hn.monthsRegex=function(e){return this._monthsParseExact?(m(this,"_monthsRegex")||Ne.call(this),e?this._monthsStrictRegex:this._monthsRegex):(m(this,"_monthsRegex")||(this._monthsRegex=Ue),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},hn.monthsShortRegex=function(e){return this._monthsParseExact?(m(this,"_monthsRegex")||Ne.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(m(this,"_monthsShortRegex")||(this._monthsShortRegex=Le),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},hn.week=function(e){return Ie(e,this._week.dow,this._week.doy).week},hn.firstDayOfYear=function(){return this._week.doy},hn.firstDayOfWeek=function(){return this._week.dow},hn.weekdays=function(e,t){return e?o(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:o(this._weekdays)?this._weekdays:this._weekdays.standalone},hn.weekdaysMin=function(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin},hn.weekdaysShort=function(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort},hn.weekdaysParse=function(e,t,n){var s,i,r;if(this._weekdaysParseExact)return function(e,t,n){var s,i,r,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)r=y([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=Ye.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Ye.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=Ye.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=Ye.call(this._weekdaysParse,a))?i:-1!==(i=Ye.call(this._shortWeekdaysParse,a))?i:-1!==(i=Ye.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Ye.call(this._shortWeekdaysParse,a))?i:-1!==(i=Ye.call(this._weekdaysParse,a))?i:-1!==(i=Ye.call(this._minWeekdaysParse,a))?i:null:-1!==(i=Ye.call(this._minWeekdaysParse,a))?i:-1!==(i=Ye.call(this._weekdaysParse,a))?i:-1!==(i=Ye.call(this._shortWeekdaysParse,a))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(i=y([2e3,1]).day(s),n&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(r="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[s]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[s].test(e))return s;if(n&&"ddd"===t&&this._shortWeekdaysParse[s].test(e))return s;if(n&&"dd"===t&&this._minWeekdaysParse[s].test(e))return s;if(!n&&this._weekdaysParse[s].test(e))return s}},hn.weekdaysRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||Be.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(m(this,"_weekdaysRegex")||(this._weekdaysRegex=$e),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},hn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||Be.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(m(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=qe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},hn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||Be.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(m(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Je),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},hn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},hn.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},ot("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===k(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),c.lang=n("moment.lang is deprecated. Use moment.locale instead.",ot),c.langData=n("moment.langData is deprecated. Use moment.localeData instead.",lt);var _n=Math.abs;function yn(e,t,n,s){var i=At(t,n);return e._milliseconds+=s*i._milliseconds,e._days+=s*i._days,e._months+=s*i._months,e._bubble()}function gn(e){return e<0?Math.floor(e):Math.ceil(e)}function pn(e){return 4800*e/146097}function vn(e){return 146097*e/4800}function wn(e){return function(){return this.as(e)}}var Mn=wn("ms"),Sn=wn("s"),Dn=wn("m"),kn=wn("h"),Yn=wn("d"),On=wn("w"),Tn=wn("M"),xn=wn("y");function bn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Pn=bn("milliseconds"),Wn=bn("seconds"),Hn=bn("minutes"),Rn=bn("hours"),Cn=bn("days"),Fn=bn("months"),Ln=bn("years");var Un=Math.round,Nn={ss:44,s:45,m:45,h:22,d:26,M:11};var Gn=Math.abs;function Vn(e){return(0<e)-(e<0)||+e}function En(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n=Gn(this._milliseconds)/1e3,s=Gn(this._days),i=Gn(this._months);t=D((e=D(n/60))/60),n%=60,e%=60;var r=D(i/12),a=i%=12,o=s,u=t,l=e,d=n?n.toFixed(3).replace(/\.?0+$/,""):"",h=this.asSeconds();if(!h)return"P0D";var c=h<0?"-":"",f=Vn(this._months)!==Vn(h)?"-":"",m=Vn(this._days)!==Vn(h)?"-":"",_=Vn(this._milliseconds)!==Vn(h)?"-":"";return c+"P"+(r?f+r+"Y":"")+(a?f+a+"M":"")+(o?m+o+"D":"")+(u||l||d?"T":"")+(u?_+u+"H":"")+(l?_+l+"M":"")+(d?_+d+"S":"")}var In=Ht.prototype;return In.isValid=function(){return this._isValid},In.abs=function(){var e=this._data;return this._milliseconds=_n(this._milliseconds),this._days=_n(this._days),this._months=_n(this._months),e.milliseconds=_n(e.milliseconds),e.seconds=_n(e.seconds),e.minutes=_n(e.minutes),e.hours=_n(e.hours),e.months=_n(e.months),e.years=_n(e.years),this},In.add=function(e,t){return yn(this,e,t,1)},In.subtract=function(e,t){return yn(this,e,t,-1)},In.as=function(e){if(!this.isValid())return NaN;var t,n,s=this._milliseconds;if("month"===(e=R(e))||"year"===e)return t=this._days+s/864e5,n=this._months+pn(t),"month"===e?n:n/12;switch(t=this._days+Math.round(vn(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return 24*t+s/36e5;case"minute":return 1440*t+s/6e4;case"second":return 86400*t+s/1e3;case"millisecond":return Math.floor(864e5*t)+s;default:throw new Error("Unknown unit "+e)}},In.asMilliseconds=Mn,In.asSeconds=Sn,In.asMinutes=Dn,In.asHours=kn,In.asDays=Yn,In.asWeeks=On,In.asMonths=Tn,In.asYears=xn,In.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*k(this._months/12):NaN},In._bubble=function(){var e,t,n,s,i,r=this._milliseconds,a=this._days,o=this._months,u=this._data;return 0<=r&&0<=a&&0<=o||r<=0&&a<=0&&o<=0||(r+=864e5*gn(vn(o)+a),o=a=0),u.milliseconds=r%1e3,e=D(r/1e3),u.seconds=e%60,t=D(e/60),u.minutes=t%60,n=D(t/60),u.hours=n%24,o+=i=D(pn(a+=D(n/24))),a-=gn(vn(i)),s=D(o/12),o%=12,u.days=a,u.months=o,u.years=s,this},In.clone=function(){return At(this)},In.get=function(e){return e=R(e),this.isValid()?this[e+"s"]():NaN},In.milliseconds=Pn,In.seconds=Wn,In.minutes=Hn,In.hours=Rn,In.days=Cn,In.weeks=function(){return D(this.days()/7)},In.months=Fn,In.years=Ln,In.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t,n,s,i,r,a,o,u,l,d,h,c=this.localeData(),f=(n=!e,s=c,i=At(t=this).abs(),r=Un(i.as("s")),a=Un(i.as("m")),o=Un(i.as("h")),u=Un(i.as("d")),l=Un(i.as("M")),d=Un(i.as("y")),(h=r<=Nn.ss&&["s",r]||r<Nn.s&&["ss",r]||a<=1&&["m"]||a<Nn.m&&["mm",a]||o<=1&&["h"]||o<Nn.h&&["hh",o]||u<=1&&["d"]||u<Nn.d&&["dd",u]||l<=1&&["M"]||l<Nn.M&&["MM",l]||d<=1&&["y"]||["yy",d])[2]=n,h[3]=0<+t,h[4]=s,function(e,t,n,s,i){return i.relativeTime(t||1,!!n,e,s)}.apply(null,h));return e&&(f=c.pastFuture(+this,f)),c.postformat(f)},In.toISOString=En,In.toString=En,In.toJSON=En,In.locale=Qt,In.localeData=Kt,In.toIsoString=n("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",En),In.lang=Xt,I("X",0,0,"unix"),I("x",0,0,"valueOf"),ue("x",se),ue("X",/[+-]?\d+(\.\d{1,3})?/),ce("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),ce("x",function(e,t,n){n._d=new Date(k(e))}),c.version="2.22.2",e=Tt,c.fn=ln,c.min=function(){return Pt("isBefore",[].slice.call(arguments,0))},c.max=function(){return Pt("isAfter",[].slice.call(arguments,0))},c.now=function(){return Date.now?Date.now():+new Date},c.utc=y,c.unix=function(e){return Tt(1e3*e)},c.months=function(e,t){return fn(e,t,"months")},c.isDate=h,c.locale=ot,c.invalid=v,c.duration=At,c.isMoment=S,c.weekdays=function(e,t,n){return mn(e,t,n,"weekdays")},c.parseZone=function(){return Tt.apply(null,arguments).parseZone()},c.localeData=lt,c.isDuration=Rt,c.monthsShort=function(e,t){return fn(e,t,"monthsShort")},c.weekdaysMin=function(e,t,n){return mn(e,t,n,"weekdaysMin")},c.defineLocale=ut,c.updateLocale=function(e,t){if(null!=t){var n,s,i=nt;null!=(s=at(e))&&(i=s._config),(n=new P(t=b(i,t))).parentLocale=st[e],st[e]=n,ot(e)}else null!=st[e]&&(null!=st[e].parentLocale?st[e]=st[e].parentLocale:null!=st[e]&&delete st[e]);return st[e]},c.locales=function(){return s(st)},c.weekdaysShort=function(e,t,n){return mn(e,t,n,"weekdaysShort")},c.normalizeUnits=R,c.relativeTimeRounding=function(e){return void 0===e?Un:"function"==typeof e&&(Un=e,!0)},c.relativeTimeThreshold=function(e,t){return void 0!==Nn[e]&&(void 0===t?Nn[e]:(Nn[e]=t,"s"===e&&(Nn.ss=t-1),!0))},c.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},c.prototype=ln,c.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"YYYY-[W]WW",MONTH:"YYYY-MM"},c});
assets/languages/wp-mail-smtp-vue.php CHANGED
@@ -73,10 +73,10 @@ $generated_i18n_strings = array(
73
  // Reference: src/modules/setup-wizard/components/steps/WizardStepImport.vue:48
74
  __( 'Import Data and Continue', 'wp-mail-smtp' ),
75
 
76
- // Reference: src/modules/setup-wizard/components/steps/WizardStepLicense.vue:75
77
  __( 'Skip this Step', 'wp-mail-smtp' ),
78
 
79
- // Reference: src/modules/setup-wizard/components/steps/WizardStepLicense.vue:76
80
  __( 'Previous Step', 'wp-mail-smtp' ),
81
 
82
  // Reference: src/modules/setup-wizard/components/steps/WizardStepImport.vue:54
@@ -120,28 +120,28 @@ $generated_i18n_strings = array(
120
  /* Translators: Link to the SMTP.com Senders/Channel settings. */
121
  __( '%1$sFollow this link%2$s to get a Sender Name for SMTP.com.', 'wp-mail-smtp' ),
122
 
123
- // Reference: src/modules/setup-wizard/components/steps/configure-mailer/Smtp.vue:45
124
  __( 'From Name', 'wp-mail-smtp' ),
125
 
126
- // Reference: src/modules/setup-wizard/components/steps/configure-mailer/Smtp.vue:46
127
  __( 'Force From Name', 'wp-mail-smtp' ),
128
 
129
- // Reference: src/modules/setup-wizard/components/steps/configure-mailer/Smtp.vue:47
130
  __( 'From Email', 'wp-mail-smtp' ),
131
 
132
- // Reference: src/modules/setup-wizard/components/steps/configure-mailer/Smtp.vue:48
133
  __( 'Force From Email', 'wp-mail-smtp' ),
134
 
135
- // Reference: src/modules/setup-wizard/components/steps/configure-mailer/Smtp.vue:52
136
  __( 'If enabled, the From Name setting above will be used for all emails, ignoring values set by other plugins.', 'wp-mail-smtp' ),
137
 
138
- // Reference: src/modules/setup-wizard/components/steps/configure-mailer/Smtp.vue:53
139
  __( 'If enabled, the From Email setting above will be used for all emails, ignoring values set by other plugins.', 'wp-mail-smtp' ),
140
 
141
- // Reference: src/modules/setup-wizard/components/steps/configure-mailer/Smtp.vue:49
142
  __( 'The name that emails are sent from.', 'wp-mail-smtp' ),
143
 
144
- // Reference: src/modules/setup-wizard/components/steps/configure-mailer/Smtp.vue:50
145
  __( 'The email address that emails are sent from.', 'wp-mail-smtp' ),
146
 
147
  // Reference: src/modules/setup-wizard/components/steps/configure-mailer/SmtpCom.vue:48
@@ -247,7 +247,7 @@ $generated_i18n_strings = array(
247
  // Reference: src/modules/setup-wizard/components/steps/configure-mailer/Sendgrid.vue:46
248
  __( 'Read how to set up Sendgrid', 'wp-mail-smtp' ),
249
 
250
- // Reference: src/modules/setup-wizard/components/steps/configure-mailer/Mailgun.vue:33
251
  __( 'Region', 'wp-mail-smtp' ),
252
 
253
  // Reference: src/modules/setup-wizard/components/steps/configure-mailer/Zoho.vue:36
@@ -259,10 +259,10 @@ $generated_i18n_strings = array(
259
  // Reference: src/modules/setup-wizard/components/steps/configure-mailer/Zoho.vue:38
260
  __( 'Client Secret', 'wp-mail-smtp' ),
261
 
262
- // Reference: src/modules/setup-wizard/components/steps/configure-mailer/Outlook.vue:30
263
  __( 'Redirect URI', 'wp-mail-smtp' ),
264
 
265
- // Reference: src/modules/setup-wizard/components/steps/configure-mailer/Outlook.vue:31
266
  __( 'Authorization', 'wp-mail-smtp' ),
267
 
268
  // Reference: src/modules/setup-wizard/components/steps/configure-mailer/Zoho.vue:45
@@ -334,18 +334,21 @@ $generated_i18n_strings = array(
334
  // Reference: src/modules/setup-wizard/components/steps/configure-mailer/AmazonSES.vue:51
335
  __( 'Read how to set up Amazon SES', 'wp-mail-smtp' ),
336
 
 
337
  // Reference: src/modules/settings/store/actions.js:104
338
  __( 'It looks like we can\'t load oAuth connected data.', 'wp-mail-smtp' ),
339
 
340
  // Reference: src/modules/settings/store/actions.js:11
341
  __( 'It looks like we can\'t load existing settings.', 'wp-mail-smtp' ),
342
 
 
343
  // Reference: src/modules/settings/store/actions.js:116
344
  __( 'It looks like we can\'t remove oAuth connection.', 'wp-mail-smtp' ),
345
 
346
  // Reference: src/modules/settings/store/actions.js:31
347
  __( 'It looks like we can\'t retrieve the Amazon SES Identities.', 'wp-mail-smtp' ),
348
 
 
349
  // Reference: src/modules/settings/store/actions.js:40
350
  __( 'It looks like we can\'t register the Amazon SES Identity.', 'wp-mail-smtp' ),
351
 
@@ -450,8 +453,6 @@ $generated_i18n_strings = array(
450
  // Reference: src/modules/plugins/api/index.js:67
451
  __( 'It looks like we can\'t fetch plugins information.', 'wp-mail-smtp' ),
452
 
453
- // Reference: src/modules/plugins/api/index.js:69
454
- // Reference: src/modules/settings/api/index.js:234
455
  // Reference: src/modules/setup-wizard/api/index.js:39
456
  /* Translators: Error status and error text. */
457
  __( '%1$s, %2$s', 'wp-mail-smtp' ),
@@ -462,22 +463,22 @@ $generated_i18n_strings = array(
462
  // Reference: src/modules/settings/components/input/SettingsOAuthConnection.vue:129
463
  __( 'There was an error while processing the authentication request. Please try again.', 'wp-mail-smtp' ),
464
 
465
- // Reference: src/modules/settings/components/input/SettingsOAuthConnection.vue:136
466
  __( 'There was an error while processing the authentication request. Please recheck your Client ID and Client Secret and try again.', 'wp-mail-smtp' ),
467
 
468
- // Reference: src/modules/settings/components/input/SettingsOAuthConnection.vue:139
469
  __( 'You have successfully linked the current site with your Google API project. Now you can start sending emails through Gmail.', 'wp-mail-smtp' ),
470
 
471
- // Reference: src/modules/settings/components/input/SettingsOAuthConnection.vue:142
472
  __( 'You have successfully linked the current site with your Microsoft API project. Now you can start sending emails through Outlook.', 'wp-mail-smtp' ),
473
 
474
- // Reference: src/modules/settings/components/input/SettingsOAuthConnection.vue:145
475
  __( 'You have successfully linked the current site with your Zoho Mail API project. Now you can start sending emails through Zoho Mail.', 'wp-mail-smtp' ),
476
 
477
- // Reference: src/modules/settings/components/input/SettingsOAuthConnection.vue:151
478
  __( 'Successful Authorization', 'wp-mail-smtp' ),
479
 
480
- // Reference: src/modules/settings/components/input/SettingsOAuthConnection.vue:151
481
  __( 'Authorization Error!', 'wp-mail-smtp' ),
482
 
483
  // Reference: src/modules/settings/components/input/SettingsOAuthConnection.vue:46
@@ -514,7 +515,6 @@ $generated_i18n_strings = array(
514
  // Reference: src/modules/setup-wizard/api/index.js:37
515
  __( 'It looks like we can\'t send the feedback.', 'wp-mail-smtp' ),
516
 
517
- // Reference: src/modules/settings/api/index.js:238
518
  // Reference: src/modules/setup-wizard/api/index.js:43
519
  __( 'You appear to be offline.', 'wp-mail-smtp' ),
520
 
@@ -740,6 +740,9 @@ $generated_i18n_strings = array(
740
  __( 'Can\'t register the Amazon SES Identity', 'wp-mail-smtp' ),
741
 
742
  // Reference: src/modules/settings/components/misc/Loader.vue:23
743
- __( 'Loading', 'wp-mail-smtp' )
 
 
 
744
  );
745
  /* THIS IS THE END OF THE GENERATED FILE */
73
  // Reference: src/modules/setup-wizard/components/steps/WizardStepImport.vue:48
74
  __( 'Import Data and Continue', 'wp-mail-smtp' ),
75
 
76
+ // Reference: src/modules/setup-wizard/components/steps/WizardStepImport.vue:49
77
  __( 'Skip this Step', 'wp-mail-smtp' ),
78
 
79
+ // Reference: src/modules/setup-wizard/components/steps/WizardStepImport.vue:50
80
  __( 'Previous Step', 'wp-mail-smtp' ),
81
 
82
  // Reference: src/modules/setup-wizard/components/steps/WizardStepImport.vue:54
120
  /* Translators: Link to the SMTP.com Senders/Channel settings. */
121
  __( '%1$sFollow this link%2$s to get a Sender Name for SMTP.com.', 'wp-mail-smtp' ),
122
 
123
+ // Reference: src/modules/setup-wizard/components/steps/configure-mailer/SmtpCom.vue:40
124
  __( 'From Name', 'wp-mail-smtp' ),
125
 
126
+ // Reference: src/modules/setup-wizard/components/steps/configure-mailer/SmtpCom.vue:41
127
  __( 'Force From Name', 'wp-mail-smtp' ),
128
 
129
+ // Reference: src/modules/setup-wizard/components/steps/configure-mailer/SmtpCom.vue:42
130
  __( 'From Email', 'wp-mail-smtp' ),
131
 
132
+ // Reference: src/modules/setup-wizard/components/steps/configure-mailer/SmtpCom.vue:43
133
  __( 'Force From Email', 'wp-mail-smtp' ),
134
 
135
+ // Reference: src/modules/setup-wizard/components/steps/configure-mailer/SmtpCom.vue:44
136
  __( 'If enabled, the From Name setting above will be used for all emails, ignoring values set by other plugins.', 'wp-mail-smtp' ),
137
 
138
+ // Reference: src/modules/setup-wizard/components/steps/configure-mailer/SmtpCom.vue:45
139
  __( 'If enabled, the From Email setting above will be used for all emails, ignoring values set by other plugins.', 'wp-mail-smtp' ),
140
 
141
+ // Reference: src/modules/setup-wizard/components/steps/configure-mailer/SmtpCom.vue:46
142
  __( 'The name that emails are sent from.', 'wp-mail-smtp' ),
143
 
144
+ // Reference: src/modules/setup-wizard/components/steps/configure-mailer/SmtpCom.vue:47
145
  __( 'The email address that emails are sent from.', 'wp-mail-smtp' ),
146
 
147
  // Reference: src/modules/setup-wizard/components/steps/configure-mailer/SmtpCom.vue:48
247
  // Reference: src/modules/setup-wizard/components/steps/configure-mailer/Sendgrid.vue:46
248
  __( 'Read how to set up Sendgrid', 'wp-mail-smtp' ),
249
 
250
+ // Reference: src/modules/setup-wizard/components/steps/configure-mailer/Zoho.vue:35
251
  __( 'Region', 'wp-mail-smtp' ),
252
 
253
  // Reference: src/modules/setup-wizard/components/steps/configure-mailer/Zoho.vue:36
259
  // Reference: src/modules/setup-wizard/components/steps/configure-mailer/Zoho.vue:38
260
  __( 'Client Secret', 'wp-mail-smtp' ),
261
 
262
+ // Reference: src/modules/setup-wizard/components/steps/configure-mailer/Zoho.vue:39
263
  __( 'Redirect URI', 'wp-mail-smtp' ),
264
 
265
+ // Reference: src/modules/setup-wizard/components/steps/configure-mailer/Zoho.vue:40
266
  __( 'Authorization', 'wp-mail-smtp' ),
267
 
268
  // Reference: src/modules/setup-wizard/components/steps/configure-mailer/Zoho.vue:45
334
  // Reference: src/modules/setup-wizard/components/steps/configure-mailer/AmazonSES.vue:51
335
  __( 'Read how to set up Amazon SES', 'wp-mail-smtp' ),
336
 
337
+ // Reference: src/modules/settings/api/index.js:232
338
  // Reference: src/modules/settings/store/actions.js:104
339
  __( 'It looks like we can\'t load oAuth connected data.', 'wp-mail-smtp' ),
340
 
341
  // Reference: src/modules/settings/store/actions.js:11
342
  __( 'It looks like we can\'t load existing settings.', 'wp-mail-smtp' ),
343
 
344
+ // Reference: src/modules/settings/api/index.js:202
345
  // Reference: src/modules/settings/store/actions.js:116
346
  __( 'It looks like we can\'t remove oAuth connection.', 'wp-mail-smtp' ),
347
 
348
  // Reference: src/modules/settings/store/actions.js:31
349
  __( 'It looks like we can\'t retrieve the Amazon SES Identities.', 'wp-mail-smtp' ),
350
 
351
+ // Reference: src/modules/settings/api/index.js:84
352
  // Reference: src/modules/settings/store/actions.js:40
353
  __( 'It looks like we can\'t register the Amazon SES Identity.', 'wp-mail-smtp' ),
354
 
453
  // Reference: src/modules/plugins/api/index.js:67
454
  __( 'It looks like we can\'t fetch plugins information.', 'wp-mail-smtp' ),
455
 
 
 
456
  // Reference: src/modules/setup-wizard/api/index.js:39
457
  /* Translators: Error status and error text. */
458
  __( '%1$s, %2$s', 'wp-mail-smtp' ),
463
  // Reference: src/modules/settings/components/input/SettingsOAuthConnection.vue:129
464
  __( 'There was an error while processing the authentication request. Please try again.', 'wp-mail-smtp' ),
465
 
466
+ // Reference: src/modules/settings/components/input/SettingsOAuthConnection.vue:135
467
  __( 'There was an error while processing the authentication request. Please recheck your Client ID and Client Secret and try again.', 'wp-mail-smtp' ),
468
 
469
+ // Reference: src/modules/settings/components/input/SettingsOAuthConnection.vue:141
470
  __( 'You have successfully linked the current site with your Google API project. Now you can start sending emails through Gmail.', 'wp-mail-smtp' ),
471
 
472
+ // Reference: src/modules/settings/components/input/SettingsOAuthConnection.vue:144
473
  __( 'You have successfully linked the current site with your Microsoft API project. Now you can start sending emails through Outlook.', 'wp-mail-smtp' ),
474
 
475
+ // Reference: src/modules/settings/components/input/SettingsOAuthConnection.vue:147
476
  __( 'You have successfully linked the current site with your Zoho Mail API project. Now you can start sending emails through Zoho Mail.', 'wp-mail-smtp' ),
477
 
478
+ // Reference: src/modules/settings/components/input/SettingsOAuthConnection.vue:153
479
  __( 'Successful Authorization', 'wp-mail-smtp' ),
480
 
481
+ // Reference: src/modules/settings/components/input/SettingsOAuthConnection.vue:153
482
  __( 'Authorization Error!', 'wp-mail-smtp' ),
483
 
484
  // Reference: src/modules/settings/components/input/SettingsOAuthConnection.vue:46
515
  // Reference: src/modules/setup-wizard/api/index.js:37
516
  __( 'It looks like we can\'t send the feedback.', 'wp-mail-smtp' ),
517
 
 
518
  // Reference: src/modules/setup-wizard/api/index.js:43
519
  __( 'You appear to be offline.', 'wp-mail-smtp' ),
520
 
740
  __( 'Can\'t register the Amazon SES Identity', 'wp-mail-smtp' ),
741
 
742
  // Reference: src/modules/settings/components/misc/Loader.vue:23
743
+ __( 'Loading', 'wp-mail-smtp' ),
744
+
745
+ // Reference: src/modules/settings/components/input/SettingsOAuthConnection.vue:138
746
+ __( 'There was an error while processing the authentication request. Please recheck your Region, Client ID and Client Secret and try again.', 'wp-mail-smtp' )
747
  );
748
  /* THIS IS THE END OF THE GENERATED FILE */
assets/languages/wp-mail-smtp.pot CHANGED
@@ -1,24 +1,19 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: WP Mail SMTP 2.8.0\n"
4
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-mail-smtp\n"
5
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
6
  "Language-Team: LANGUAGE <LL@li.org>\n"
7
  "MIME-Version: 1.0\n"
8
  "Content-Type: text/plain; charset=UTF-8\n"
9
  "Content-Transfer-Encoding: 8bit\n"
10
- "POT-Creation-Date: 2021-05-04T06:10:41+00:00\n"
11
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12
  "X-Generator: WP-CLI 2.4.0\n"
13
  "X-Domain: wp-mail-smtp\n"
14
 
15
  #. Plugin Name of the plugin
16
- #: src/Admin/Area.php:232
17
- #: src/Admin/Area.php:233
18
- #: src/Admin/Area.php:290
19
- #: src/Admin/Area.php:291
20
- #: src/SiteHealth.php:43
21
- msgid "WP Mail SMTP"
22
  msgstr ""
23
 
24
  #. Plugin URI of the plugin
@@ -30,7 +25,7 @@ msgid "Reconfigures the <code>wp_mail()</code> function to use Gmail/Mailgun/Sen
30
  msgstr ""
31
 
32
  #. Author of the plugin
33
- #: src/Admin/Pages/About.php:373
34
  msgid "WPForms"
35
  msgstr ""
36
 
@@ -75,7 +70,7 @@ msgid "OK"
75
  msgstr ""
76
 
77
  #: assets/languages/wp-mail-smtp-vue.php:32
78
- #: src/Admin/Area.php:431
79
  msgid "Heads up!"
80
  msgstr ""
81
 
@@ -204,6 +199,7 @@ msgid "%1$sFollow this link%2$s to get a Sender Name for SMTP.com."
204
  msgstr ""
205
 
206
  #: assets/languages/wp-mail-smtp-vue.php:124
 
207
  #: src/Admin/Pages/SettingsTab.php:191
208
  msgid "From Name"
209
  msgstr ""
@@ -448,7 +444,7 @@ msgid "Authentication"
448
  msgstr ""
449
 
450
  #: assets/languages/wp-mail-smtp-vue.php:293
451
- #: src/Admin/Pages/TestTab.php:681
452
  msgid "Enable Authentication"
453
  msgstr ""
454
 
@@ -514,247 +510,248 @@ msgstr ""
514
  msgid "Read how to set up Amazon SES"
515
  msgstr ""
516
 
517
- #: assets/languages/wp-mail-smtp-vue.php:338
518
  msgid "It looks like we can't load oAuth connected data."
519
  msgstr ""
520
 
521
- #: assets/languages/wp-mail-smtp-vue.php:341
522
  msgid "It looks like we can't load existing settings."
523
  msgstr ""
524
 
525
- #: assets/languages/wp-mail-smtp-vue.php:344
526
  msgid "It looks like we can't remove oAuth connection."
527
  msgstr ""
528
 
529
- #: assets/languages/wp-mail-smtp-vue.php:347
530
  msgid "It looks like we can't retrieve the Amazon SES Identities."
531
  msgstr ""
532
 
533
- #: assets/languages/wp-mail-smtp-vue.php:350
534
  msgid "It looks like we can't register the Amazon SES Identity."
535
  msgstr ""
536
 
537
- #: assets/languages/wp-mail-smtp-vue.php:353
538
  msgid "It looks like we can't load oAuth redirect."
539
  msgstr ""
540
 
541
- #: assets/languages/wp-mail-smtp-vue.php:356
 
542
  #: src/Admin/Pages/SettingsTab.php:258
543
  msgid "Mailer"
544
  msgstr ""
545
 
546
- #: assets/languages/wp-mail-smtp-vue.php:359
547
  msgid "I Understand, Continue"
548
  msgstr ""
549
 
550
- #: assets/languages/wp-mail-smtp-vue.php:362
551
  msgid "Choose a Different Mailer"
552
  msgstr ""
553
 
554
- #: assets/languages/wp-mail-smtp-vue.php:365
555
  msgid "is a PRO Feature"
556
  msgstr ""
557
 
558
- #: assets/languages/wp-mail-smtp-vue.php:368
559
  msgid "Choose Your SMTP Mailer"
560
  msgstr ""
561
 
562
  #. Translators: Link to the SMTP Mailer docs page.
563
- #: assets/languages/wp-mail-smtp-vue.php:372
564
  msgid "Which mailer would you like to use to send emails? Not sure which mailer to choose? Check out our %1$scomplete mailer guide%2$s for details on each option."
565
  msgstr ""
566
 
567
- #: assets/languages/wp-mail-smtp-vue.php:375
568
  msgid "Save and Continue"
569
  msgstr ""
570
 
571
- #: assets/languages/wp-mail-smtp-vue.php:378
572
  msgid "Recommended Mailers"
573
  msgstr ""
574
 
575
- #: assets/languages/wp-mail-smtp-vue.php:381
576
  msgid "Application ID"
577
  msgstr ""
578
 
579
- #: assets/languages/wp-mail-smtp-vue.php:384
580
  msgid "Application Password"
581
  msgstr ""
582
 
583
- #: assets/languages/wp-mail-smtp-vue.php:387
584
  msgid "Read how to set up Outlook"
585
  msgstr ""
586
 
587
- #: assets/languages/wp-mail-smtp-vue.php:390
588
  #: src/Admin/SetupWizard.php:449
589
  msgid "WP Mail SMTP logo"
590
  msgstr ""
591
 
592
- #: assets/languages/wp-mail-smtp-vue.php:393
593
  #: src/Providers/Mailgun/Options.php:87
594
  msgid "Domain Name"
595
  msgstr ""
596
 
597
  #. Translators: Link to the Mailgun API settings.
598
- #: assets/languages/wp-mail-smtp-vue.php:397
599
  msgid "%1$sFollow this link%2$s to get an API Key from Mailgun."
600
  msgstr ""
601
 
602
  #. Translators: Link to the Mailgun Domain settings.
603
- #: assets/languages/wp-mail-smtp-vue.php:401
604
  msgid "%1$sFollow this link%2$s to get a Domain Name from Mailgun."
605
  msgstr ""
606
 
607
  #. Translators: Link to the Mailgun documentation.
608
- #: assets/languages/wp-mail-smtp-vue.php:405
609
  msgid "Define which endpoint you want to use for sending messages. If you are operating under EU laws, you may be required to use EU region. %1$sMore information%2$s on Mailgun.com."
610
  msgstr ""
611
 
612
- #: assets/languages/wp-mail-smtp-vue.php:408
613
  msgid "Read how to set up Mailgun"
614
  msgstr ""
615
 
616
- #: assets/languages/wp-mail-smtp-vue.php:411
617
  #: src/Providers/Mailgun/Options.php:122
618
  msgid "US"
619
  msgstr ""
620
 
621
- #: assets/languages/wp-mail-smtp-vue.php:414
622
  #: src/Providers/Mailgun/Options.php:131
623
  msgid "EU"
624
  msgstr ""
625
 
626
  #. Translators: %1$s - the number of current step, %2$s - number of all steps.
627
- #: assets/languages/wp-mail-smtp-vue.php:418
628
  msgid "Step %1$s of %2$s"
629
  msgstr ""
630
 
631
- #: assets/languages/wp-mail-smtp-vue.php:421
632
  msgid "Copy input value"
633
  msgstr ""
634
 
635
- #: assets/languages/wp-mail-smtp-vue.php:424
636
  msgid "Copied!"
637
  msgstr ""
638
 
639
- #: assets/languages/wp-mail-smtp-vue.php:427
640
  msgid "The value entered does not match the required format"
641
  msgstr ""
642
 
643
- #: assets/languages/wp-mail-smtp-vue.php:430
644
  msgid "Install"
645
  msgstr ""
646
 
647
- #: assets/languages/wp-mail-smtp-vue.php:433
648
  msgid "Installed"
649
  msgstr ""
650
 
651
- #: assets/languages/wp-mail-smtp-vue.php:436
652
- #: src/Admin/Area.php:530
653
- #: src/Admin/Pages/About.php:326
654
  msgid "Activated"
655
  msgstr ""
656
 
657
- #: assets/languages/wp-mail-smtp-vue.php:439
658
  msgid "It looks like the plugin installation failed!"
659
  msgstr ""
660
 
661
- #: assets/languages/wp-mail-smtp-vue.php:442
662
  msgid "It looks like we can't install the plugin."
663
  msgstr ""
664
 
665
- #: assets/languages/wp-mail-smtp-vue.php:445
666
  msgid "You appear to be offline. Plugin not installed."
667
  msgstr ""
668
 
669
- #: assets/languages/wp-mail-smtp-vue.php:448
670
  msgid "Can't fetch plugins information."
671
  msgstr ""
672
 
673
- #: assets/languages/wp-mail-smtp-vue.php:451
674
  msgid "It looks like we can't fetch plugins information."
675
  msgstr ""
676
 
677
  #. Translators: Error status and error text.
678
- #: assets/languages/wp-mail-smtp-vue.php:457
679
  msgid "%1$s, %2$s"
680
  msgstr ""
681
 
682
- #: assets/languages/wp-mail-smtp-vue.php:460
683
  msgid "You appear to be offline. Plugin information not retrieved."
684
  msgstr ""
685
 
686
- #: assets/languages/wp-mail-smtp-vue.php:463
687
  #: src/Admin/Area.php:140
688
  msgid "There was an error while processing the authentication request. Please try again."
689
  msgstr ""
690
 
691
- #: assets/languages/wp-mail-smtp-vue.php:466
692
  msgid "There was an error while processing the authentication request. Please recheck your Client ID and Client Secret and try again."
693
  msgstr ""
694
 
695
- #: assets/languages/wp-mail-smtp-vue.php:469
696
  #: src/Admin/Area.php:156
697
  msgid "You have successfully linked the current site with your Google API project. Now you can start sending emails through Gmail."
698
  msgstr ""
699
 
700
- #: assets/languages/wp-mail-smtp-vue.php:472
701
  msgid "You have successfully linked the current site with your Microsoft API project. Now you can start sending emails through Outlook."
702
  msgstr ""
703
 
704
- #: assets/languages/wp-mail-smtp-vue.php:475
705
  msgid "You have successfully linked the current site with your Zoho Mail API project. Now you can start sending emails through Zoho Mail."
706
  msgstr ""
707
 
708
- #: assets/languages/wp-mail-smtp-vue.php:478
709
  msgid "Successful Authorization"
710
  msgstr ""
711
 
712
- #: assets/languages/wp-mail-smtp-vue.php:481
713
  msgid "Authorization Error!"
714
  msgstr ""
715
 
716
  #. Translators: name of the oAuth provider (Google, Microsoft, ...).
717
- #: assets/languages/wp-mail-smtp-vue.php:485
718
  msgid "Connect to %s"
719
  msgstr ""
720
 
721
- #: assets/languages/wp-mail-smtp-vue.php:488
722
  msgid "Before continuing, you'll need to allow this plugin to send emails using your %s account."
723
  msgstr ""
724
 
725
- #: assets/languages/wp-mail-smtp-vue.php:491
726
  #: src/Providers/Gmail/Options.php:182
727
  msgid "Remove Connection"
728
  msgstr ""
729
 
730
  #. Translators: link to the Google documentation page.
731
- #: assets/languages/wp-mail-smtp-vue.php:495
732
  msgid "If you want to use a different From Email address you can setup a Google email alias. %1$sFollow these instructions%2$s, then select the alias in the From Email section below."
733
  msgstr ""
734
 
735
  #. Translators: name of the oAuth provider (Google, Microsoft, ...).
736
- #: assets/languages/wp-mail-smtp-vue.php:499
737
  msgid "Removing this connection will give you the ability to redo the connection or connect to different %s account."
738
  msgstr ""
739
 
740
- #: assets/languages/wp-mail-smtp-vue.php:502
741
  msgid "Connected as"
742
  msgstr ""
743
 
744
  #. Translators: Minimum and maximum number that can be used.
745
- #: assets/languages/wp-mail-smtp-vue.php:506
746
  msgid "Please enter a value between %1$s and %2$s"
747
  msgstr ""
748
 
749
- #: assets/languages/wp-mail-smtp-vue.php:509
750
  msgid "Value has to be a round number"
751
  msgstr ""
752
 
753
- #: assets/languages/wp-mail-smtp-vue.php:512
754
  msgid "It looks like we can't perform the mailer configuration check."
755
  msgstr ""
756
 
757
- #: assets/languages/wp-mail-smtp-vue.php:515
758
  msgid "It looks like we can't send the feedback."
759
  msgstr ""
760
 
@@ -873,7 +870,7 @@ msgid "Yes, count me in"
873
  msgstr ""
874
 
875
  #: assets/languages/wp-mail-smtp-vue.php:605
876
- #: src/Admin/Pages/MiscTab.php:203
877
  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."
878
  msgstr ""
879
 
@@ -1058,10 +1055,14 @@ msgid "Can't register the Amazon SES Identity"
1058
  msgstr ""
1059
 
1060
  #: assets/languages/wp-mail-smtp-vue.php:743
1061
- #: src/Core.php:1002
1062
  msgid "Loading"
1063
  msgstr ""
1064
 
 
 
 
 
1065
  #. translators: %s - error code, returned by Google API.
1066
  #: src/Admin/Area.php:133
1067
  msgid "There was an error while processing the authentication request: %s. Please try again."
@@ -1076,168 +1077,279 @@ msgstr ""
1076
  msgid "Thanks for using WP Mail SMTP! To complete the plugin setup and start sending emails, <strong>please select and configure your <a href=\"%s\">Mailer</a></strong>."
1077
  msgstr ""
1078
 
 
 
 
 
 
 
 
 
 
 
1079
  #: src/Admin/Area.php:243
1080
  #: src/Admin/Area.php:244
1081
- #: src/Admin/Area.php:1066
1082
  msgid "Settings"
1083
  msgstr ""
1084
 
1085
  #: src/Admin/Area.php:252
1086
  #: src/Admin/Area.php:253
1087
- #: src/Admin/Pages/About.php:754
1088
  #: src/Admin/Pages/Logs.php:48
1089
  #: src/Admin/Pages/LogsTab.php:30
 
1090
  msgid "Email Log"
1091
  msgstr ""
1092
 
1093
- #: src/Admin/Area.php:273
1094
- #: src/Admin/Area.php:274
1095
- #: src/Admin/Pages/About.php:106
1096
- msgid "About Us"
1097
- msgstr ""
1098
-
1099
- #: src/Admin/Area.php:318
1100
- #: src/Admin/Area.php:324
1101
  #: src/Admin/Pages/SettingsTab.php:39
1102
  msgid "General"
1103
  msgstr ""
1104
 
1105
- #: src/Admin/Area.php:332
1106
  msgid "Multisite"
1107
  msgstr ""
1108
 
1109
- #: src/Admin/Area.php:333
1110
  msgid "Pro+ badge icon"
1111
  msgstr ""
1112
 
1113
- #: src/Admin/Area.php:336
1114
  msgid "Simply enable network-wide settings and every site on your network will inherit the same SMTP settings. Save time and only configure your SMTP provider once."
1115
  msgstr ""
1116
 
1117
- #: src/Admin/Area.php:343
1118
  msgid "Settings control"
1119
  msgstr ""
1120
 
1121
- #: src/Admin/Area.php:349
1122
  msgid "Make the plugin settings global network-wide"
1123
  msgstr ""
1124
 
1125
- #: src/Admin/Area.php:353
1126
  msgid "If disabled, each subsite of this multisite will have its own WP Mail SMTP settings page that has to be configured separately."
1127
  msgstr ""
1128
 
1129
- #: src/Admin/Area.php:355
1130
  msgid "If enabled, these global settings will manage email sending for all subsites of this multisite."
1131
  msgstr ""
1132
 
1133
- #: src/Admin/Area.php:362
 
1134
  #: src/Admin/Pages/ControlTab.php:119
 
1135
  #: src/Admin/Pages/LogsTab.php:68
1136
  msgid "Upgrade to WP Mail SMTP Pro"
1137
  msgstr ""
1138
 
1139
- #: src/Admin/Area.php:428
1140
  msgid "Are you sure you want to reset the current provider connection? You will need to immediately create a new one to be able to send emails."
1141
  msgstr ""
1142
 
1143
- #: src/Admin/Area.php:429
1144
  msgid "Changes that you made to the settings are not saved!"
1145
  msgstr ""
1146
 
1147
- #: src/Admin/Area.php:433
1148
  msgid "<p>The Default (PHP) mailer is currently selected, but is not recommended because in most cases it does not resolve email delivery issues.</p><p>Please consider selecting and configuring one of the other mailers.</p>"
1149
  msgstr ""
1150
 
1151
- #: src/Admin/Area.php:436
1152
- #: src/Admin/PageAbstract.php:160
1153
  msgid "Save Settings"
1154
  msgstr ""
1155
 
1156
- #: src/Admin/Area.php:437
1157
  msgid "Cancel"
1158
  msgstr ""
1159
 
1160
- #: src/Admin/Area.php:438
1161
  msgid "Warning icon"
1162
  msgstr ""
1163
 
1164
- #: src/Admin/Area.php:443
1165
  msgid "%name% is a PRO Feature"
1166
  msgstr ""
1167
 
1168
- #: src/Admin/Area.php:444
1169
  #: src/Admin/SetupWizard.php:218
1170
  msgid "Upgrade to Pro"
1171
  msgstr ""
1172
 
1173
  #. Translators: %s - discount value $50.
1174
- #: src/Admin/Area.php:449
1175
  msgid "<strong>Bonus:</strong> WP Mail SMTP users get <span>%s off</span> regular price,<br>applied at checkout."
1176
  msgstr ""
1177
 
1178
- #: src/Admin/Area.php:460
1179
  #: src/Admin/SetupWizard.php:234
1180
  msgid "Already purchased?"
1181
  msgstr ""
1182
 
1183
- #: src/Admin/Area.php:529
1184
- #: src/Admin/Area.php:536
1185
- #: src/Admin/Pages/About.php:334
1186
  #: src/Connect.php:54
1187
  msgid "Activate"
1188
  msgstr ""
1189
 
1190
- #: src/Admin/Area.php:531
1191
- #: src/Admin/Pages/About.php:323
1192
  msgid "Active"
1193
  msgstr ""
1194
 
1195
- #: src/Admin/Area.php:532
1196
- #: src/Admin/Pages/About.php:331
1197
  msgid "Inactive"
1198
  msgstr ""
1199
 
1200
- #: src/Admin/Area.php:533
1201
  msgid "Processing..."
1202
  msgstr ""
1203
 
1204
- #: src/Admin/Area.php:534
1205
  msgid "Could not install a plugin. Please download from WordPress.org and install manually."
1206
  msgstr ""
1207
 
1208
- #: src/Admin/Area.php:535
1209
  msgid "Install and Activate"
1210
  msgstr ""
1211
 
1212
- #: src/Admin/Area.php:537
1213
  msgid "Download"
1214
  msgstr ""
1215
 
1216
  #. translators: %1$s - WP.org link; %2$s - same WP.org link.
1217
- #: src/Admin/Area.php:599
1218
  msgid "Please rate <strong>WP Mail SMTP</strong> <a href=\"%1$s\" target=\"_blank\" rel=\"noopener noreferrer\">&#9733;&#9733;&#9733;&#9733;&#9733;</a> on <a href=\"%2$s\" target=\"_blank\" rel=\"noopener noreferrer\">WordPress.org</a> to help us spread the word. Thank you from the WP Mail SMTP team!"
1219
  msgstr ""
1220
 
1221
- #: src/Admin/Area.php:1007
1222
  msgid "WP Mail SMTP Pro related message was successfully dismissed."
1223
  msgstr ""
1224
 
1225
- #: src/Admin/Area.php:1026
1226
  msgid "Educational notice for this mailer was successfully dismissed."
1227
  msgstr ""
1228
 
1229
- #: src/Admin/Area.php:1065
1230
  msgid "Go to WP Mail SMTP Settings page"
1231
  msgstr ""
1232
 
1233
- #: src/Admin/Area.php:1072
1234
  msgid "Go to WP Mail SMTP Lite vs Pro comparison page"
1235
  msgstr ""
1236
 
1237
- #: src/Admin/Area.php:1073
1238
  msgid "Premium Support"
1239
  msgstr ""
1240
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1241
  #: src/Admin/DomainChecker.php:63
1242
  msgid "Something went wrong. Please try again later."
1243
  msgstr ""
@@ -1260,356 +1372,398 @@ msgstr ""
1260
  msgid "Dismiss this message."
1261
  msgstr ""
1262
 
1263
- #: src/Admin/Notifications.php:442
 
 
 
 
1264
  msgid "Dismiss this message"
1265
  msgstr ""
1266
 
1267
- #: src/Admin/Notifications.php:445
1268
  msgid "Previous message"
1269
  msgstr ""
1270
 
1271
- #: src/Admin/Notifications.php:446
1272
  msgid "Next message"
1273
  msgstr ""
1274
 
1275
- #. translators: %s - plugin current license type.
1276
- #: src/Admin/Pages/About.php:99
1277
- #: src/Admin/Pages/About.php:650
1278
- msgid "%s vs Pro"
1279
  msgstr ""
1280
 
1281
- #: src/Admin/Pages/About.php:173
1282
  msgid "Hello and welcome to WP Mail SMTP, the easiest and most popular WordPress SMTP plugin. We build software that helps your site reliably deliver emails every time."
1283
  msgstr ""
1284
 
1285
- #: src/Admin/Pages/About.php:177
1286
  msgid "Email deliverability has been a well-documented problem for all WordPress websites. However as WPForms grew, we became more aware of this painful issue that affects our users and the larger WordPress community. So we decided to solve this problem and make a solution that's beginner friendly."
1287
  msgstr ""
1288
 
1289
- #: src/Admin/Pages/About.php:180
1290
  msgid "Our goal is to make reliable email deliverability easy for WordPress."
1291
  msgstr ""
1292
 
1293
  #. translators: %1$s - WPForms URL, %2$s - WPBeginner URL, %3$s - OptinMonster URL, %4$s - MonsterInsights URL, %5$s - Awesome Motive URL
1294
- #: src/Admin/Pages/About.php:187
1295
  msgid "WP Mail SMTP is brought to you by the same team that's behind the most user friendly WordPress forms, <a href=\"%1$s\" target=\"_blank\" rel=\"noopener noreferrer\">WPForms</a>, the largest WordPress resource site, <a href=\"%2$s\" target=\"_blank\" rel=\"noopener noreferrer\">WPBeginner</a>, the most popular lead-generation software, <a href=\"%3$s\" target=\"_blank\" rel=\"noopener noreferrer\">OptinMonster</a>, the best WordPress analytics plugin, <a href=\"%4$s\" target=\"_blank\" rel=\"noopener noreferrer\">MonsterInsights</a>, and <a href=\"%5$s\" target=\"_blank\" rel=\"noopener noreferrer\">more</a>."
1296
  msgstr ""
1297
 
1298
- #: src/Admin/Pages/About.php:205
1299
  msgid "Yup, we know a thing or two about building awesome products that customers love."
1300
  msgstr ""
1301
 
1302
- #: src/Admin/Pages/About.php:211
1303
  msgid "The WPForms Team photo"
1304
  msgstr ""
1305
 
1306
- #: src/Admin/Pages/About.php:213
1307
  msgid "The WPForms Team"
1308
  msgstr ""
1309
 
1310
- #: src/Admin/Pages/About.php:262
1311
  msgid "Plugin icon"
1312
  msgstr ""
1313
 
1314
  #. translators: %s - status HTML text.
1315
- #: src/Admin/Pages/About.php:276
1316
  msgid "Status: %s"
1317
  msgstr ""
1318
 
1319
- #: src/Admin/Pages/About.php:342
1320
  msgid "Not Installed"
1321
  msgstr ""
1322
 
1323
- #: src/Admin/Pages/About.php:345
1324
  msgid "Install Plugin"
1325
  msgstr ""
1326
 
1327
- #: src/Admin/Pages/About.php:366
1328
  msgid "OptinMonster"
1329
  msgstr ""
1330
 
1331
- #: src/Admin/Pages/About.php:367
1332
  msgid "Instantly get more subscribers, leads, and sales with the #1 conversion optimization toolkit. Create high converting popups, announcement bars, spin a wheel, and more with smart targeting and personalization."
1333
  msgstr ""
1334
 
1335
- #: src/Admin/Pages/About.php:374
1336
- #: src/Admin/Pages/About.php:380
1337
  msgid "The best drag & drop WordPress form builder. Easily create beautiful contact forms, surveys, payment forms, and more with our 100+ form templates. Trusted by over 4 million websites as the best forms plugin."
1338
  msgstr ""
1339
 
1340
- #: src/Admin/Pages/About.php:379
1341
  msgid "WPForms Pro"
1342
  msgstr ""
1343
 
1344
- #: src/Admin/Pages/About.php:387
1345
  msgid "MonsterInsights"
1346
  msgstr ""
1347
 
1348
- #: src/Admin/Pages/About.php:388
1349
- #: src/Admin/Pages/About.php:394
1350
  msgid "The leading WordPress analytics plugin that shows you how people find and use your website, so you can make data driven decisions to grow your business. Properly set up Google Analytics without writing code."
1351
  msgstr ""
1352
 
1353
- #: src/Admin/Pages/About.php:393
1354
  msgid "MonsterInsights Pro"
1355
  msgstr ""
1356
 
1357
- #: src/Admin/Pages/About.php:401
1358
- #: src/Admin/Pages/About.php:407
1359
  msgid "AIOSEO"
1360
  msgstr ""
1361
 
1362
- #: src/Admin/Pages/About.php:402
1363
- #: src/Admin/Pages/About.php:408
1364
  msgid "The original WordPress SEO plugin and toolkit that improves your website’s search rankings. Comes with all the SEO features like Local SEO, WooCommerce SEO, sitemaps, SEO optimizer, schema, and more."
1365
  msgstr ""
1366
 
1367
- #: src/Admin/Pages/About.php:415
1368
- #: src/Admin/Pages/About.php:421
1369
  msgid "SeedProd"
1370
  msgstr ""
1371
 
1372
- #: src/Admin/Pages/About.php:416
1373
- #: src/Admin/Pages/About.php:422
1374
  msgid "The fastest drag & drop landing page builder for WordPress. Create custom landing pages without writing code, connect them with your CRM, collect subscribers, and grow your audience. Trusted by 1 million sites."
1375
  msgstr ""
1376
 
1377
- #: src/Admin/Pages/About.php:429
1378
  msgid "RafflePress"
1379
  msgstr ""
1380
 
1381
- #: src/Admin/Pages/About.php:430
1382
- #: src/Admin/Pages/About.php:436
1383
  msgid "Turn your website visitors into brand ambassadors! Easily grow your email list, website traffic, and social media followers with the most powerful giveaways & contests plugin for WordPress."
1384
  msgstr ""
1385
 
1386
- #: src/Admin/Pages/About.php:435
1387
  msgid "RafflePress Pro"
1388
  msgstr ""
1389
 
1390
- #: src/Admin/Pages/About.php:443
1391
  msgid "PushEngage"
1392
  msgstr ""
1393
 
1394
- #: src/Admin/Pages/About.php:444
1395
  msgid "Connect with your visitors after they leave your website with the leading web push notification software. Over 10,000+ businesses worldwide use PushEngage to send 9 billion notifications each month."
1396
  msgstr ""
1397
 
1398
- #: src/Admin/Pages/About.php:450
1399
- #: src/Admin/Pages/About.php:456
1400
  msgid "Smash Balloon Instagram Feeds"
1401
  msgstr ""
1402
 
1403
- #: src/Admin/Pages/About.php:451
1404
- #: src/Admin/Pages/About.php:457
1405
  msgid "Easily display Instagram content on your WordPress site without writing any code. Comes with multiple templates, ability to show content from multiple accounts, hashtags, and more. Trusted by 1 million websites."
1406
  msgstr ""
1407
 
1408
- #: src/Admin/Pages/About.php:464
1409
- #: src/Admin/Pages/About.php:470
1410
  msgid "Smash Balloon Facebook Feeds"
1411
  msgstr ""
1412
 
1413
- #: src/Admin/Pages/About.php:465
1414
- #: src/Admin/Pages/About.php:471
1415
  msgid "Easily display Facebook content on your WordPress site without writing any code. Comes with multiple templates, ability to embed albums, group content, reviews, live videos, comments, and reactions."
1416
  msgstr ""
1417
 
1418
- #: src/Admin/Pages/About.php:478
1419
- #: src/Admin/Pages/About.php:484
1420
  msgid "Smash Balloon YouTube Feeds"
1421
  msgstr ""
1422
 
1423
- #: src/Admin/Pages/About.php:479
1424
- #: src/Admin/Pages/About.php:485
1425
  msgid "Easily display YouTube videos on your WordPress site without writing any code. Comes with multiple layouts, ability to embed live streams, video filtering, ability to combine multiple channel videos, and more."
1426
  msgstr ""
1427
 
1428
- #: src/Admin/Pages/About.php:492
1429
- #: src/Admin/Pages/About.php:498
1430
  msgid "Smash Balloon Twitter Feeds"
1431
  msgstr ""
1432
 
1433
- #: src/Admin/Pages/About.php:493
1434
- #: src/Admin/Pages/About.php:499
1435
  msgid "Easily display Twitter content in WordPress without writing any code. Comes with multiple layouts, ability to combine multiple Twitter feeds, Twitter card support, tweet moderation, and more."
1436
  msgstr ""
1437
 
1438
- #: src/Admin/Pages/About.php:506
1439
  msgid "TrustPulse"
1440
  msgstr ""
1441
 
1442
- #: src/Admin/Pages/About.php:507
1443
  msgid "Boost your sales and conversions by up to 15% with real-time social proof notifications. TrustPulse helps you show live user activity and purchases to help convince other users to purchase."
1444
  msgstr ""
1445
 
1446
- #: src/Admin/Pages/About.php:525
1447
  msgid "Could not activate the plugin. Please activate it from the Plugins page."
1448
  msgstr ""
1449
 
1450
- #: src/Admin/Pages/About.php:537
1451
  msgid "Plugin activated."
1452
  msgstr ""
1453
 
1454
- #: src/Admin/Pages/About.php:554
1455
  msgid "Could not install the plugin."
1456
  msgstr ""
1457
 
1458
- #: src/Admin/Pages/About.php:615
1459
  #: src/Connect.php:214
1460
  #: src/Connect.php:222
1461
  #: src/Connect.php:291
1462
  msgid "Plugin installed & activated."
1463
  msgstr ""
1464
 
1465
- #: src/Admin/Pages/About.php:623
1466
  msgid "Plugin installed."
1467
  msgstr ""
1468
 
1469
- #: src/Admin/Pages/About.php:658
1470
- msgid "Get the most out of WP Mail SMTP by upgrading to Pro and unlocking all of the powerful features."
1471
- msgstr ""
1472
-
1473
- #: src/Admin/Pages/About.php:667
1474
- msgid "Feature"
1475
  msgstr ""
1476
 
1477
- #: src/Admin/Pages/About.php:677
1478
- msgid "Pro"
 
1479
  msgstr ""
1480
 
1481
- #: src/Admin/Pages/About.php:718
1482
- msgid "Get WP Mail SMTP Pro Today and Unlock all of these Powerful Features"
1483
  msgstr ""
1484
 
1485
- #. Translators: %s - discount value $50.
1486
- #: src/Admin/Pages/About.php:726
1487
- msgid "Bonus: WP Mail SMTP Lite users get <span class=\"price-off\">%s off regular price</span>, automatically applied at checkout."
1488
  msgstr ""
1489
 
1490
- #: src/Admin/Pages/About.php:755
1491
  #: src/Admin/Pages/ControlTab.php:27
 
1492
  msgid "Email Controls"
1493
  msgstr ""
1494
 
1495
- #: src/Admin/Pages/About.php:756
1496
- msgid "Mailer Options"
1497
  msgstr ""
1498
 
1499
- #: src/Admin/Pages/About.php:757
1500
- msgid "WordPress Multisite"
1501
  msgstr ""
1502
 
1503
- #: src/Admin/Pages/About.php:758
1504
- msgid "Customer Support"
1505
  msgstr ""
1506
 
1507
- #: src/Admin/Pages/About.php:779
1508
- msgid "Emails are not logged"
1509
  msgstr ""
1510
 
1511
- #: src/Admin/Pages/About.php:785
1512
- msgid "Access to all Email Logging options right inside WordPress"
1513
  msgstr ""
1514
 
1515
- #: src/Admin/Pages/About.php:793
1516
- msgid "No controls over whether default WordPress emails are sent"
1517
  msgstr ""
1518
 
1519
- #: src/Admin/Pages/About.php:799
1520
- msgid "Complete Email Controls management for most default WordPress emails"
1521
  msgstr ""
1522
 
1523
- #: src/Admin/Pages/About.php:807
1524
- msgid "Limited Mailers"
1525
  msgstr ""
1526
 
1527
- #: src/Admin/Pages/About.php:807
1528
- msgid "Access is limited to standard mailer options only"
1529
  msgstr ""
1530
 
1531
- #: src/Admin/Pages/About.php:813
1532
- msgid "Additional Mailer Options"
1533
  msgstr ""
1534
 
1535
- #: src/Admin/Pages/About.php:813
1536
- msgid "Microsoft Outlook (with Office365 support), Amazon SES and Zoho Mail"
1537
  msgstr ""
1538
 
1539
- #: src/Admin/Pages/About.php:821
1540
- msgid "No Global Network Settings"
1541
  msgstr ""
1542
 
1543
- #: src/Admin/Pages/About.php:827
1544
- msgid "All Global Network Settings"
1545
  msgstr ""
1546
 
1547
- #: src/Admin/Pages/About.php:827
1548
- msgid "Optionally configure settings at the network level or manage separately for each subsiteWordPress.
"
1549
  msgstr ""
1550
 
1551
- #: src/Admin/Pages/About.php:835
1552
- msgid "Limited Support"
1553
  msgstr ""
1554
 
1555
- #: src/Admin/Pages/About.php:841
1556
- msgid "Priority Support"
1557
  msgstr ""
1558
 
1559
- #: src/Admin/Pages/ControlTab.php:48
1560
- msgid "Comment Notifications"
 
1561
  msgstr ""
1562
 
1563
- #: src/Admin/Pages/ControlTab.php:49
1564
- msgid "Manage emails sent when comments are published or awaiting moderation."
1565
  msgstr ""
1566
 
1567
- #: src/Admin/Pages/ControlTab.php:53
1568
- msgid "Site Admin Email Change Notifications"
1569
  msgstr ""
1570
 
1571
- #: src/Admin/Pages/ControlTab.php:54
1572
- msgid "Manage emails sent when site admin's account has been changed."
1573
  msgstr ""
1574
 
1575
- #: src/Admin/Pages/ControlTab.php:58
1576
- msgid "User Change Notifications"
1577
  msgstr ""
1578
 
1579
- #: src/Admin/Pages/ControlTab.php:59
1580
- msgid "Limit emails triggered by password changed/reset, email changed, and more."
1581
  msgstr ""
1582
 
1583
- #: src/Admin/Pages/ControlTab.php:63
1584
- msgid "Personal Data Requests Notifications"
1585
  msgstr ""
1586
 
1587
- #: src/Admin/Pages/ControlTab.php:64
1588
- msgid "Control emails for data requests and data removal actions."
1589
  msgstr ""
1590
 
1591
- #: src/Admin/Pages/ControlTab.php:68
1592
- msgid "Automatic Update Notifications"
1593
  msgstr ""
1594
 
1595
- #: src/Admin/Pages/ControlTab.php:69
1596
- msgid "Manage emails sent by the core automatic update process."
1597
  msgstr ""
1598
 
1599
- #: src/Admin/Pages/ControlTab.php:73
1600
- msgid "New User Notifications"
1601
  msgstr ""
1602
 
1603
- #: src/Admin/Pages/ControlTab.php:74
1604
- msgid "Toggle emails sent to both user and site administrator about new user accounts."
1605
  msgstr ""
1606
 
1607
- #: src/Admin/Pages/ControlTab.php:92
1608
- msgid "Unlock Email Controls"
1609
  msgstr ""
1610
 
1611
- #: src/Admin/Pages/ControlTab.php:95
1612
- msgid "Email Controls allows you to granularly manage emails sent by WordPress.
"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1613
  msgstr ""
1614
 
1615
  #: src/Admin/Pages/LogsTab.php:53
@@ -1687,19 +1841,27 @@ msgid "<strong>This is not recommended</strong> and should only be done for stag
1687
  msgstr ""
1688
 
1689
  #: src/Admin/Pages/MiscTab.php:177
 
 
 
 
 
 
 
 
1690
  msgid "Uninstall WP Mail SMTP"
1691
  msgstr ""
1692
 
1693
- #: src/Admin/Pages/MiscTab.php:185
1694
  msgid "Check this if you would like to remove ALL WP Mail SMTP data upon plugin deletion. All settings will be unrecoverable."
1695
  msgstr ""
1696
 
1697
- #: src/Admin/Pages/MiscTab.php:195
1698
  msgid "Allow Usage Tracking"
1699
  msgstr ""
1700
 
1701
- #: src/Admin/Pages/MiscTab.php:251
1702
- #: src/Admin/Pages/SettingsTab.php:633
1703
  msgid "Settings were successfully saved."
1704
  msgstr ""
1705
 
@@ -1931,562 +2093,562 @@ msgstr ""
1931
  msgid "Send Email"
1932
  msgstr ""
1933
 
1934
- #: src/Admin/Pages/TestTab.php:177
1935
  msgid "Test failed. Please use a valid email address and try to resend the test email."
1936
  msgstr ""
1937
 
1938
  #. translators: %s - email address a test email will be sent to.
1939
- #: src/Admin/Pages/TestTab.php:189
1940
- #: src/Admin/Pages/TestTab.php:195
1941
  msgid "Test email to %s"
1942
  msgstr ""
1943
 
1944
- #: src/Admin/Pages/TestTab.php:234
1945
  msgid "Test plain text email was sent successfully!"
1946
  msgstr ""
1947
 
1948
  #. translators: %s - "HTML" in bold.
1949
- #: src/Admin/Pages/TestTab.php:238
1950
  msgid "Test %s email was sent successfully! Please check your inbox to make sure it is delivered."
1951
  msgstr ""
1952
 
1953
- #: src/Admin/Pages/TestTab.php:559
1954
  msgid "SSL certificate issue."
1955
  msgstr ""
1956
 
1957
- #: src/Admin/Pages/TestTab.php:561
1958
  msgid "This means your web server cannot reliably make secure connections (make requests to HTTPS sites)."
1959
  msgstr ""
1960
 
1961
- #: src/Admin/Pages/TestTab.php:562
1962
- #: src/Admin/Pages/TestTab.php:627
1963
  msgid "Typically this error is returned when web server is not configured properly."
1964
  msgstr ""
1965
 
1966
- #: src/Admin/Pages/TestTab.php:565
1967
  msgid "Contact your web hosting provider and inform them your site has an issue with SSL certificates."
1968
  msgstr ""
1969
 
1970
- #: src/Admin/Pages/TestTab.php:566
1971
- #: src/Admin/Pages/TestTab.php:631
1972
  msgid "The exact error you can provide them is in the Error log, available at the bottom of this page."
1973
  msgstr ""
1974
 
1975
- #: src/Admin/Pages/TestTab.php:567
1976
- #: src/Admin/Pages/TestTab.php:632
1977
  msgid "Ask them to resolve the issue then try again."
1978
  msgstr ""
1979
 
1980
- #: src/Admin/Pages/TestTab.php:577
1981
  msgid "Could not connect to host."
1982
  msgstr ""
1983
 
1984
  #. translators: %s - SMTP host address.
1985
- #: src/Admin/Pages/TestTab.php:581
1986
- #: src/Admin/Pages/TestTab.php:623
1987
- #: src/Admin/Pages/TestTab.php:725
1988
  msgid "This means your web server was unable to connect to %s."
1989
  msgstr ""
1990
 
1991
- #: src/Admin/Pages/TestTab.php:584
1992
- #: src/Admin/Pages/TestTab.php:626
1993
- #: src/Admin/Pages/TestTab.php:728
1994
  msgid "This means your web server was unable to connect to the host server."
1995
  msgstr ""
1996
 
1997
- #: src/Admin/Pages/TestTab.php:585
1998
  msgid "Typically this error is returned your web server is blocking the connections or the SMTP host denying the request."
1999
  msgstr ""
2000
 
2001
  #. translators: %s - SMTP host address.
2002
- #: src/Admin/Pages/TestTab.php:589
2003
  msgid "Contact your web hosting provider and ask them to verify your server can connect to %s. Additionally, ask them if a firewall or security policy may be preventing the connection."
2004
  msgstr ""
2005
 
2006
- #: src/Admin/Pages/TestTab.php:592
2007
  msgid "If using \"Other SMTP\" Mailer, triple check your SMTP settings including host address, email, and password."
2008
  msgstr ""
2009
 
2010
- #: src/Admin/Pages/TestTab.php:593
2011
  msgid "If using \"Other SMTP\" Mailer, contact your SMTP host to confirm they are accepting outside connections with the settings you have configured (address, username, port, security, etc)."
2012
  msgstr ""
2013
 
2014
- #: src/Admin/Pages/TestTab.php:602
2015
  msgid "Invalid SendGrid API key"
2016
  msgstr ""
2017
 
2018
- #: src/Admin/Pages/TestTab.php:604
2019
  msgid "It looks like your SendGrid API Key is invalid."
2020
  msgstr ""
2021
 
2022
- #: src/Admin/Pages/TestTab.php:607
2023
- #: src/Admin/Pages/TestTab.php:680
2024
  msgid "Go to WP Mail SMTP plugin Settings page."
2025
  msgstr ""
2026
 
2027
- #: src/Admin/Pages/TestTab.php:608
2028
  msgid "Make sure your API Key in the SendGrid mailer settings is correct and valid."
2029
  msgstr ""
2030
 
2031
- #: src/Admin/Pages/TestTab.php:609
2032
  msgid "Save the plugin settings."
2033
  msgstr ""
2034
 
2035
- #: src/Admin/Pages/TestTab.php:610
2036
  msgid "If updating the API Key doesn't resolve this issue, please contact our support."
2037
  msgstr ""
2038
 
2039
- #: src/Admin/Pages/TestTab.php:619
2040
  msgid "Could not connect to your host."
2041
  msgstr ""
2042
 
2043
- #: src/Admin/Pages/TestTab.php:630
2044
  msgid "Contact your web hosting provider and inform them you are having issues making outbound connections."
2045
  msgstr ""
2046
 
2047
- #: src/Admin/Pages/TestTab.php:641
2048
  msgid "Could not authenticate your SMTP account."
2049
  msgstr ""
2050
 
2051
- #: src/Admin/Pages/TestTab.php:643
2052
  msgid "This means we were able to connect to your SMTP host, but were not able to proceed using the email/password in the settings."
2053
  msgstr ""
2054
 
2055
- #: src/Admin/Pages/TestTab.php:644
2056
  msgid "Typically this error is returned when the email or password is not correct or is not what the SMTP host is expecting."
2057
  msgstr ""
2058
 
2059
- #: src/Admin/Pages/TestTab.php:647
2060
  msgid "Triple check your SMTP settings including host address, email, and password. If you have recently reset your password you will need to update the settings."
2061
  msgstr ""
2062
 
2063
- #: src/Admin/Pages/TestTab.php:648
2064
- #: src/Admin/Pages/TestTab.php:761
2065
  msgid "Contact your SMTP host to confirm you are using the correct username and password."
2066
  msgstr ""
2067
 
2068
- #: src/Admin/Pages/TestTab.php:649
2069
- #: src/Admin/Pages/TestTab.php:762
2070
  msgid "Verify with your SMTP host that your account has permissions to send emails using outside connections."
2071
  msgstr ""
2072
 
2073
- #: src/Admin/Pages/TestTab.php:658
2074
  msgid "Error due to unsolicited and/or bulk e-mail."
2075
  msgstr ""
2076
 
2077
- #: src/Admin/Pages/TestTab.php:660
2078
  msgid "This means the connection to your SMTP host was made successfully, but the host rejected the email."
2079
  msgstr ""
2080
 
2081
- #: src/Admin/Pages/TestTab.php:661
2082
  msgid "Typically this error is returned when you are sending too many e-mails or e-mails that have been identified as spam."
2083
  msgstr ""
2084
 
2085
- #: src/Admin/Pages/TestTab.php:664
2086
  msgid "Check the emails that are sending are sending individually. Example: email is not sending to 30 recipients. You can install any WordPress e-mail logging plugin to do that."
2087
  msgstr ""
2088
 
2089
- #: src/Admin/Pages/TestTab.php:665
2090
  msgid "Contact your SMTP host to ask about sending/rate limits."
2091
  msgstr ""
2092
 
2093
- #: src/Admin/Pages/TestTab.php:666
2094
  msgid "Verify with them your SMTP account is in good standing and your account has not been flagged."
2095
  msgstr ""
2096
 
2097
- #: src/Admin/Pages/TestTab.php:675
2098
  msgid "Unauthenticated senders are not allowed."
2099
  msgstr ""
2100
 
2101
- #: src/Admin/Pages/TestTab.php:677
2102
  msgid "This means the connection to your SMTP host was made successfully, but you should enable Authentication and provide correct Username and Password."
2103
  msgstr ""
2104
 
2105
- #: src/Admin/Pages/TestTab.php:682
2106
  msgid "Enter correct SMTP Username (usually this is an email address) and Password in the appropriate fields."
2107
  msgstr ""
2108
 
2109
- #: src/Admin/Pages/TestTab.php:693
2110
  msgid "Misconfigured server certificate."
2111
  msgstr ""
2112
 
2113
- #: src/Admin/Pages/TestTab.php:695
2114
  msgid "This means OpenSSL on your server isn't able to verify the host certificate."
2115
  msgstr ""
2116
 
2117
- #: src/Admin/Pages/TestTab.php:696
2118
  msgid "There are a few reasons why this is happening. It could be that the host certificate is misconfigured, or this server's OpenSSL is using an outdated CA bundle."
2119
  msgstr ""
2120
 
2121
- #: src/Admin/Pages/TestTab.php:699
2122
  msgid "Verify that the host's SSL certificate is valid."
2123
  msgstr ""
2124
 
2125
  #. translators: %s - URL to the PHP openssl manual
2126
- #: src/Admin/Pages/TestTab.php:702
2127
  msgid "Contact your hosting support, show them the \"full Error Log for debugging\" below and share this <a href=\"%s\" target=\"_blank\" rel=\"noopener noreferrer\">link</a> with them."
2128
  msgstr ""
2129
 
2130
- #: src/Admin/Pages/TestTab.php:721
2131
  msgid "Could not connect to the SMTP host."
2132
  msgstr ""
2133
 
2134
- #: src/Admin/Pages/TestTab.php:729
2135
- #: src/Admin/Pages/TestTab.php:1124
2136
  msgid "Typically this error is returned for one of the following reasons:"
2137
  msgstr ""
2138
 
2139
- #: src/Admin/Pages/TestTab.php:732
2140
  msgid "SMTP settings are incorrect (wrong port, security setting, incorrect host)."
2141
  msgstr ""
2142
 
2143
- #: src/Admin/Pages/TestTab.php:735
2144
- #: src/Admin/Pages/TestTab.php:1130
2145
  msgid "Your web server is blocking the connection."
2146
  msgstr ""
2147
 
2148
- #: src/Admin/Pages/TestTab.php:738
2149
  msgid "Your SMTP host is rejecting the connection."
2150
  msgstr ""
2151
 
2152
- #: src/Admin/Pages/TestTab.php:743
2153
  msgid "Triple check your SMTP settings including host address, email, and password, port, and security."
2154
  msgstr ""
2155
 
2156
  #. translators: %1$s - SMTP host address, %2$s - SMTP port, %3$s - SMTP encryption.
2157
- #: src/Admin/Pages/TestTab.php:746
2158
  msgid "Contact your web hosting provider and ask them to verify your server can connect to %1$s on port %2$s using %3$s encryption. Additionally, ask them if a firewall or security policy may be preventing the connection - many shared hosts block certain ports.<br><strong>Note: this is the most common cause of this issue.</strong>"
2159
  msgstr ""
2160
 
2161
- #: src/Admin/Pages/TestTab.php:759
2162
  msgid "no"
2163
  msgstr ""
2164
 
2165
- #: src/Admin/Pages/TestTab.php:771
2166
- #: src/Admin/Pages/TestTab.php:786
2167
- #: src/Admin/Pages/TestTab.php:802
2168
  msgid "Mailgun failed."
2169
  msgstr ""
2170
 
2171
- #: src/Admin/Pages/TestTab.php:773
2172
  msgid "It seems that you forgot to activate your Mailgun account."
2173
  msgstr ""
2174
 
2175
- #: src/Admin/Pages/TestTab.php:776
2176
  msgid "Check your inbox you used to create a Mailgun account. Click the activation link in an email from Mailgun."
2177
  msgstr ""
2178
 
2179
- #: src/Admin/Pages/TestTab.php:777
2180
  msgid "If you do not see activation email, go to your Mailgun control panel and resend the activation email."
2181
  msgstr ""
2182
 
2183
- #: src/Admin/Pages/TestTab.php:788
2184
  msgid "Typically this error is because there is an issue with your Mailgun settings, in many cases the API key."
2185
  msgstr ""
2186
 
2187
- #: src/Admin/Pages/TestTab.php:791
2188
  msgid "Verify your API key is correct."
2189
  msgstr ""
2190
 
2191
- #: src/Admin/Pages/TestTab.php:792
2192
  msgid "Go to your Mailgun account and view your API key."
2193
  msgstr ""
2194
 
2195
- #: src/Admin/Pages/TestTab.php:793
2196
  msgid "Note that the API key includes the \"key\" prefix, so make sure that it is in the WP Mail SMTP Mailgun API setting."
2197
  msgstr ""
2198
 
2199
- #: src/Admin/Pages/TestTab.php:804
2200
  msgid "Your Mailgun account does not have access to send emails."
2201
  msgstr ""
2202
 
2203
- #: src/Admin/Pages/TestTab.php:805
2204
  msgid "Typically this error is because you have not set up and/or complete domain name verification for your Mailgun account."
2205
  msgstr ""
2206
 
2207
  #. translators: %s - Mailgun documentation URL.
2208
- #: src/Admin/Pages/TestTab.php:810
2209
  msgid "Go to our how-to guide for setting up <a href=\"%s\" target=\"_blank\" rel=\"noopener noreferrer\">Mailgun with WP Mail SMTP</a>."
2210
  msgstr ""
2211
 
2212
- #: src/Admin/Pages/TestTab.php:821
2213
  msgid "Complete the steps in section \"2. Verify Your Domain\"."
2214
  msgstr ""
2215
 
2216
- #: src/Admin/Pages/TestTab.php:830
2217
- #: src/Admin/Pages/TestTab.php:879
2218
- #: src/Admin/Pages/TestTab.php:899
2219
- #: src/Admin/Pages/TestTab.php:927
2220
- #: src/Admin/Pages/TestTab.php:943
2221
- #: src/Admin/Pages/TestTab.php:995
2222
- #: src/Admin/Pages/TestTab.php:1020
2223
  msgid "Google API Error."
2224
  msgstr ""
2225
 
2226
- #: src/Admin/Pages/TestTab.php:832
2227
  msgid "You have not properly configured Gmail mailer."
2228
  msgstr ""
2229
 
2230
- #: src/Admin/Pages/TestTab.php:833
2231
  msgid "Make sure that you have clicked the \"Allow plugin to send emails using your Google account\" button under Gmail settings."
2232
  msgstr ""
2233
 
2234
- #: src/Admin/Pages/TestTab.php:836
2235
  msgid "Go to plugin Settings page and click the \"Allow plugin to send emails using your Google account\" button."
2236
  msgstr ""
2237
 
2238
- #: src/Admin/Pages/TestTab.php:837
2239
  msgid "After the click you should be redirected to a Gmail authorization screen, where you will be asked a permission to send emails on your behalf."
2240
  msgstr ""
2241
 
2242
- #: src/Admin/Pages/TestTab.php:838
2243
  msgid "Please click \"Agree\", if you see that button. If not - you will need to enable less secure apps first:"
2244
  msgstr ""
2245
 
2246
  #. translators: %s - Google support article URL.
2247
- #: src/Admin/Pages/TestTab.php:843
2248
  msgid "if you are using regular Gmail account, please <a href=\"%s\" target=\"_blank\" rel=\"noopener noreferrer\">read this article</a> to proceed."
2249
  msgstr ""
2250
 
2251
  #. translators: %s - Google support article URL.
2252
- #: src/Admin/Pages/TestTab.php:858
2253
  msgid "if you are using G Suite, please <a href=\"%s\" target=\"_blank\" rel=\"noopener noreferrer\">read this article</a> to proceed."
2254
  msgstr ""
2255
 
2256
- #: src/Admin/Pages/TestTab.php:881
2257
  msgid "Typically this error is because address the email was sent to is invalid or was empty."
2258
  msgstr ""
2259
 
2260
- #: src/Admin/Pages/TestTab.php:884
2261
  msgid "Check the \"Send To\" email address used and confirm it is a valid email and was not empty."
2262
  msgstr ""
2263
 
2264
  #. translators: 1 - correct email address example. 2 - incorrect email address example.
2265
- #: src/Admin/Pages/TestTab.php:886
2266
  msgid "It should be something like this: %1$s. These are incorrect values: %2$s."
2267
  msgstr ""
2268
 
2269
- #: src/Admin/Pages/TestTab.php:890
2270
  msgid "Make sure that the generated email has a TO header, useful when you are responsible for email creation."
2271
  msgstr ""
2272
 
2273
- #: src/Admin/Pages/TestTab.php:901
2274
  msgid "Unfortunately, this error can be due to many different reasons."
2275
  msgstr ""
2276
 
2277
  #. translators: %s - Blog article URL.
2278
- #: src/Admin/Pages/TestTab.php:904
2279
  msgid "Please <a href=\"%s\" target=\"_blank\" rel=\"noopener noreferrer\">read this article</a> to learn more about what can cause this error and follow the steps below."
2280
  msgstr ""
2281
 
2282
- #: src/Admin/Pages/TestTab.php:917
2283
  #: src/Providers/Gmail/Mailer.php:270
2284
  msgid "Go to WP Mail SMTP plugin settings page. Click the “Remove Connection” button."
2285
  msgstr ""
2286
 
2287
- #: src/Admin/Pages/TestTab.php:918
2288
  #: src/Providers/Gmail/Mailer.php:271
2289
  msgid "Then click the “Allow plugin to send emails using your Google account” button and re-enable access."
2290
  msgstr ""
2291
 
2292
- #: src/Admin/Pages/TestTab.php:929
2293
  msgid "Authentication code that Google returned to you has already been used on your previous auth attempt."
2294
  msgstr ""
2295
 
2296
- #: src/Admin/Pages/TestTab.php:932
2297
  msgid "Make sure that you are not trying to manually clean up the plugin options to retry the \"Allow...\" step."
2298
  msgstr ""
2299
 
2300
- #: src/Admin/Pages/TestTab.php:933
2301
  msgid "Reinstall the plugin with clean plugin data turned on on Misc page. This will remove all the plugin options and you will be safe to retry."
2302
  msgstr ""
2303
 
2304
- #: src/Admin/Pages/TestTab.php:934
2305
  msgid "Make sure there is no aggressive caching on site admin area pages or try to clean cache between attempts."
2306
  msgstr ""
2307
 
2308
- #: src/Admin/Pages/TestTab.php:945
2309
  msgid "There are various reasons for that, please review the steps below."
2310
  msgstr ""
2311
 
2312
  #. translators: %s - Google G Suite Admin area URL.
2313
- #: src/Admin/Pages/TestTab.php:950
2314
  msgid "Make sure that your G Suite trial period has not expired. You can check the status <a href=\"%s\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>."
2315
  msgstr ""
2316
 
2317
  #. translators: %s - Google G Suite Admin area URL.
2318
- #: src/Admin/Pages/TestTab.php:963
2319
  msgid "Make sure that Gmail app in your G Suite is actually enabled. You can check that in Apps list in <a href=\"%s\" target=\"_blank\" rel=\"noopener noreferrer\">G Suite Admin</a> area."
2320
  msgstr ""
2321
 
2322
  #. translators: %s - Google Developers Console URL.
2323
- #: src/Admin/Pages/TestTab.php:976
2324
  msgid "Make sure that you have Gmail API enabled, and you can do that <a href=\"%s\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>."
2325
  msgstr ""
2326
 
2327
- #: src/Admin/Pages/TestTab.php:998
2328
- #: src/Admin/Pages/TestTab.php:1025
2329
  msgid "Make sure that the used Client ID/Secret correspond to a proper project that has Gmail API enabled."
2330
  msgstr ""
2331
 
2332
  #. translators: %s - Gmail documentation URL.
2333
- #: src/Admin/Pages/TestTab.php:1001
2334
  msgid "Please follow our <a href=\"%s\" target=\"_blank\" rel=\"noopener noreferrer\">Gmail tutorial</a> to be sure that all the correct project and data is applied."
2335
  msgstr ""
2336
 
2337
- #: src/Admin/Pages/TestTab.php:1022
2338
  msgid "You may have added a new API to a project"
2339
  msgstr ""
2340
 
2341
- #: src/Admin/Pages/TestTab.php:1026
2342
  msgid "Try to use a separate project for your emails, so the project has only 1 Gmail API in it enabled. You will need to remove the old project and create a new one from scratch."
2343
  msgstr ""
2344
 
2345
- #: src/Admin/Pages/TestTab.php:1035
2346
  msgid "SMTP.com API Error."
2347
  msgstr ""
2348
 
2349
- #: src/Admin/Pages/TestTab.php:1037
2350
  msgid "Your Sender Name option is incorrect."
2351
  msgstr ""
2352
 
2353
- #: src/Admin/Pages/TestTab.php:1040
2354
  msgid "Please make sure you entered an accurate Sender Name in WP Mail SMTP plugin settings."
2355
  msgstr ""
2356
 
2357
- #: src/Admin/Pages/TestTab.php:1049
2358
  msgid "GuzzleHttp requirements."
2359
  msgstr ""
2360
 
2361
- #: src/Admin/Pages/TestTab.php:1051
2362
  msgid "GuzzleHttp requires cURL, the allow_url_fopen ini setting, or a custom HTTP handler."
2363
  msgstr ""
2364
 
2365
- #: src/Admin/Pages/TestTab.php:1054
2366
  msgid "Edit your php.ini file on your hosting server."
2367
  msgstr ""
2368
 
2369
- #: src/Admin/Pages/TestTab.php:1055
2370
  msgid "(Recommended) Enable PHP extension: cURL, by adding \"extension=curl\" to the php.ini file (without the quotation marks) OR"
2371
  msgstr ""
2372
 
2373
- #: src/Admin/Pages/TestTab.php:1056
2374
  msgid "(If cURL can't be enabled on your hosting server) Enable PHP setting: allow_url_fopen, by adding \"allow_url_fopen = On\" to the php.ini file (without the quotation marks)"
2375
  msgstr ""
2376
 
2377
- #: src/Admin/Pages/TestTab.php:1057
2378
  msgid "If you don't know how to do the above we strongly suggest contacting your hosting support and provide them the \"full Error Log for debugging\" below and these steps. They should be able to fix this issue for you."
2379
  msgstr ""
2380
 
2381
- #: src/Admin/Pages/TestTab.php:1078
2382
  msgid "PCRE library issue"
2383
  msgstr ""
2384
 
2385
- #: src/Admin/Pages/TestTab.php:1080
2386
  msgid "It looks like your server is running PHP version 7.4.x with an outdated PCRE library (libpcre2) that has a known issue with email address validation."
2387
  msgstr ""
2388
 
2389
- #: src/Admin/Pages/TestTab.php:1081
2390
  msgid "There is a known issue with PHP version 7.4.x, when using libpcre2 library version lower than 10.33."
2391
  msgstr ""
2392
 
2393
- #: src/Admin/Pages/TestTab.php:1084
2394
  msgid "Contact your web hosting provider and inform them you are having issues with libpcre2 library on PHP 7.4."
2395
  msgstr ""
2396
 
2397
- #: src/Admin/Pages/TestTab.php:1085
2398
  msgid "They should be able to resolve this issue for you."
2399
  msgstr ""
2400
 
2401
- #: src/Admin/Pages/TestTab.php:1086
2402
  msgid "For a quick fix, until your web hosting resolves this, you can downgrade to PHP version 7.3 on your server."
2403
  msgstr ""
2404
 
2405
- #: src/Admin/Pages/TestTab.php:1121
2406
  msgid "An issue was detected."
2407
  msgstr ""
2408
 
2409
- #: src/Admin/Pages/TestTab.php:1123
2410
  msgid "This means your test email was unable to be sent."
2411
  msgstr ""
2412
 
2413
- #: src/Admin/Pages/TestTab.php:1127
2414
  msgid "Plugin settings are incorrect (wrong SMTP settings, invalid Mailer configuration, etc)."
2415
  msgstr ""
2416
 
2417
- #: src/Admin/Pages/TestTab.php:1133
2418
  msgid "Your host is rejecting the connection."
2419
  msgstr ""
2420
 
2421
- #: src/Admin/Pages/TestTab.php:1138
2422
  msgid "Triple check the plugin settings, consider reconfiguring to make sure everything is correct (eg bad copy and paste)."
2423
  msgstr ""
2424
 
2425
- #: src/Admin/Pages/TestTab.php:1140
2426
  msgid "Contact your web hosting provider and ask them to verify your server can make outside connections. Additionally, ask them if a firewall or security policy may be preventing the connection - many shared hosts block certain ports.<br><strong>Note: this is the most common cause of this issue.</strong>"
2427
  msgstr ""
2428
 
2429
- #: src/Admin/Pages/TestTab.php:1146
2430
  msgid "Try using a different mailer."
2431
  msgstr ""
2432
 
2433
- #: src/Admin/Pages/TestTab.php:1183
2434
  msgid "There was a problem while sending the test email."
2435
  msgstr ""
2436
 
2437
- #: src/Admin/Pages/TestTab.php:1200
2438
  msgid "Recommended next steps:"
2439
  msgstr ""
2440
 
2441
- #: src/Admin/Pages/TestTab.php:1208
2442
  msgid "Need support?"
2443
  msgstr ""
2444
 
2445
  #. translators: %s - WPMailSMTP.com account area link.
2446
- #: src/Admin/Pages/TestTab.php:1216
2447
  msgid "As a WP Mail SMTP Pro user you have access to WP Mail SMTP priority support. Please log in to your WPMailSMTP.com account and <a href=\"%s\" target=\"_blank\" rel=\"noopener noreferrer\">submit a support ticket</a>."
2448
  msgstr ""
2449
 
2450
- #: src/Admin/Pages/TestTab.php:1233
2451
  msgid "WP Mail SMTP is a free plugin, and the team behind WPForms maintains it to give back to the WordPress community."
2452
  msgstr ""
2453
 
2454
  #. translators: %s - WPMailSMTP.com URL.
2455
- #: src/Admin/Pages/TestTab.php:1240
2456
  msgid "To access our world class support, please <a href=\"%s\" target=\"_blank\" rel=\"noopener noreferrer\">upgrade to WP Mail SMTP Pro</a>. Along with getting expert support, you will also get Notification controls, Email Logging, and integrations for Amazon SES, Office 365, and Outlook.com."
2457
  msgstr ""
2458
 
2459
- #: src/Admin/Pages/TestTab.php:1255
2460
  msgid "Additionally, you can take advantage of our White Glove Setup. Sit back and relax while we handle everything for you! If you simply don't have time or maybe you feel a bit in over your head - we got you covered."
2461
  msgstr ""
2462
 
2463
  #. Translators: %s - discount value $50
2464
- #: src/Admin/Pages/TestTab.php:1262
2465
  msgid "As a valued WP Mail SMTP user, you will get <span class=\"price-off\">%s off regular pricing</span>, automatically applied at checkout!"
2466
  msgstr ""
2467
 
2468
  #. translators: %1$s - WP Mail SMTP support policy URL, %2$s - WP Mail SMTP support forum URL, %3$s - WPMailSMTP.com URL.
2469
- #: src/Admin/Pages/TestTab.php:1278
2470
  msgid "Alternatively, we also offer <a href=\"%1$s\" target=\"_blank\" rel=\"noopener noreferrer\">limited support</a> on the WordPress.org support forums. You can <a href=\"%2$s\" target=\"_blank\" rel=\"noopener noreferrer\">create a support thread</a> there, but please understand that free support is not guaranteed and is limited to simple issues. If you have an urgent or complex issue, then please consider <a href=\"%3$s\" target=\"_blank\" rel=\"noopener noreferrer\">upgrading to WP Mail SMTP Pro</a> to access our priority support ticket system."
2471
  msgstr ""
2472
 
2473
- #: src/Admin/Pages/TestTab.php:1297
2474
  msgid "Please copy the error log message below into the support ticket."
2475
  msgstr ""
2476
 
2477
- #: src/Admin/Pages/TestTab.php:1302
2478
  msgid "View Full Error Log"
2479
  msgstr ""
2480
 
2481
- #: src/Admin/Pages/TestTab.php:1306
2482
  msgid "Copy Error Log"
2483
  msgstr ""
2484
 
2485
- #: src/Admin/Pages/TestTab.php:1309
2486
  msgid "Copied"
2487
  msgstr ""
2488
 
2489
- #: src/Admin/Pages/TestTab.php:1335
2490
  msgid "The test email might have sent, but its deliverability should be improved."
2491
  msgstr ""
2492
 
@@ -2494,6 +2656,100 @@ msgstr ""
2494
  msgid "Tools"
2495
  msgstr ""
2496
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2497
  #: src/Admin/Review.php:120
2498
  msgid "Are you enjoying WP Mail SMTP?"
2499
  msgstr ""
@@ -2657,9 +2913,13 @@ msgstr ""
2657
  msgid "Upgrade functionality not available!"
2658
  msgstr ""
2659
 
2660
- #. translators: %1$s - Plugin name causing conflict; %2$s - Plugin name causing conflict.
2661
- #: src/Conflicts.php:350
2662
- msgid "Heads up! WP Mail SMTP has detected %1$s is activated. Please deactivate %2$s to prevent conflicts."
 
 
 
 
2663
  msgstr ""
2664
 
2665
  #: src/Connect.php:55
@@ -2711,35 +2971,35 @@ msgid "Pro version installed but needs to be activated on the Plugins page."
2711
  msgstr ""
2712
 
2713
  #. translators: %1$s - WP Mail SMTP plugin name; %2$s - WPMailSMTP.com URL to a related doc.
2714
- #: src/Core.php:390
2715
  msgid "Your site is running an outdated version of PHP that is no longer supported and may cause issues with %1$s. <a href=\"%2$s\" target=\"_blank\" rel=\"noopener noreferrer\">Read more</a> for additional information."
2716
  msgstr ""
2717
 
2718
- #: src/Core.php:404
2719
  msgid "<strong>Please Note:</strong> Support for PHP 5.5 will be discontinued in 2021. After this, if no further action is taken, WP Mail SMTP functionality will be disabled."
2720
  msgstr ""
2721
 
2722
  #. translators: %s - plugin name and its version.
2723
- #: src/Core.php:438
2724
  msgid "<strong>EMAILING DISABLED:</strong> The %s is currently blocking all emails from being sent."
2725
  msgstr ""
2726
 
2727
  #. translators: %1$s - constant name; %2$s - constant value.
2728
- #: src/Core.php:449
2729
  msgid "To send emails, change the value of the %1$s constant to %2$s."
2730
  msgstr ""
2731
 
2732
  #. translators: %s - plugin Misc settings page URL.
2733
- #: src/Core.php:460
2734
  msgid "To send emails, go to plugin <a href=\"%s\">Misc settings</a> and disable the \"Do Not Send\" option."
2735
  msgstr ""
2736
 
2737
  #. translators: %s - plugin name and its version.
2738
- #: src/Core.php:504
2739
  msgid "<strong>EMAIL DELIVERY ERROR:</strong> the plugin %s logged this error during the last time it tried to send an email:"
2740
  msgstr ""
2741
 
2742
- #: src/Core.php:534
2743
  msgid "Consider running an email test after fixing it."
2744
  msgstr ""
2745
 
@@ -2749,11 +3009,11 @@ msgid "There was an error while upgrading the database. Please contact %1$s supp
2749
  msgstr ""
2750
 
2751
  #. translators: %1$s - constant that was used; %2$s - file where it was used.
2752
- #: src/Options.php:1178
2753
  msgid "The value of this field was set using a constant %1$s most likely inside %2$s of your WordPress installation."
2754
  msgstr ""
2755
 
2756
- #: src/Pro/Emails/Logs/Admin/SinglePage.php:253
2757
  msgid "Error icon"
2758
  msgstr ""
2759
 
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: WP Mail SMTP 2.9.0\n"
4
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-mail-smtp\n"
5
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
6
  "Language-Team: LANGUAGE <LL@li.org>\n"
7
  "MIME-Version: 1.0\n"
8
  "Content-Type: text/plain; charset=UTF-8\n"
9
  "Content-Transfer-Encoding: 8bit\n"
10
+ "POT-Creation-Date: 2021-06-22T06:26:04+00:00\n"
11
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12
  "X-Generator: WP-CLI 2.4.0\n"
13
  "X-Domain: wp-mail-smtp\n"
14
 
15
  #. Plugin Name of the plugin
16
+ msgid "WP Mail SMTP Pro"
 
 
 
 
 
17
  msgstr ""
18
 
19
  #. Plugin URI of the plugin
25
  msgstr ""
26
 
27
  #. Author of the plugin
28
+ #: src/Admin/Pages/AboutTab.php:270
29
  msgid "WPForms"
30
  msgstr ""
31
 
70
  msgstr ""
71
 
72
  #: assets/languages/wp-mail-smtp-vue.php:32
73
+ #: src/Admin/Area.php:426
74
  msgid "Heads up!"
75
  msgstr ""
76
 
199
  msgstr ""
200
 
201
  #: assets/languages/wp-mail-smtp-vue.php:124
202
+ #: src/Admin/Pages/ExportTab.php:104
203
  #: src/Admin/Pages/SettingsTab.php:191
204
  msgid "From Name"
205
  msgstr ""
444
  msgstr ""
445
 
446
  #: assets/languages/wp-mail-smtp-vue.php:293
447
+ #: src/Admin/Pages/TestTab.php:682
448
  msgid "Enable Authentication"
449
  msgstr ""
450
 
510
  msgid "Read how to set up Amazon SES"
511
  msgstr ""
512
 
513
+ #: assets/languages/wp-mail-smtp-vue.php:339
514
  msgid "It looks like we can't load oAuth connected data."
515
  msgstr ""
516
 
517
+ #: assets/languages/wp-mail-smtp-vue.php:342
518
  msgid "It looks like we can't load existing settings."
519
  msgstr ""
520
 
521
+ #: assets/languages/wp-mail-smtp-vue.php:346
522
  msgid "It looks like we can't remove oAuth connection."
523
  msgstr ""
524
 
525
+ #: assets/languages/wp-mail-smtp-vue.php:349
526
  msgid "It looks like we can't retrieve the Amazon SES Identities."
527
  msgstr ""
528
 
529
+ #: assets/languages/wp-mail-smtp-vue.php:353
530
  msgid "It looks like we can't register the Amazon SES Identity."
531
  msgstr ""
532
 
533
+ #: assets/languages/wp-mail-smtp-vue.php:356
534
  msgid "It looks like we can't load oAuth redirect."
535
  msgstr ""
536
 
537
+ #: assets/languages/wp-mail-smtp-vue.php:359
538
+ #: src/Admin/Pages/ExportTab.php:118
539
  #: src/Admin/Pages/SettingsTab.php:258
540
  msgid "Mailer"
541
  msgstr ""
542
 
543
+ #: assets/languages/wp-mail-smtp-vue.php:362
544
  msgid "I Understand, Continue"
545
  msgstr ""
546
 
547
+ #: assets/languages/wp-mail-smtp-vue.php:365
548
  msgid "Choose a Different Mailer"
549
  msgstr ""
550
 
551
+ #: assets/languages/wp-mail-smtp-vue.php:368
552
  msgid "is a PRO Feature"
553
  msgstr ""
554
 
555
+ #: assets/languages/wp-mail-smtp-vue.php:371
556
  msgid "Choose Your SMTP Mailer"
557
  msgstr ""
558
 
559
  #. Translators: Link to the SMTP Mailer docs page.
560
+ #: assets/languages/wp-mail-smtp-vue.php:375
561
  msgid "Which mailer would you like to use to send emails? Not sure which mailer to choose? Check out our %1$scomplete mailer guide%2$s for details on each option."
562
  msgstr ""
563
 
564
+ #: assets/languages/wp-mail-smtp-vue.php:378
565
  msgid "Save and Continue"
566
  msgstr ""
567
 
568
+ #: assets/languages/wp-mail-smtp-vue.php:381
569
  msgid "Recommended Mailers"
570
  msgstr ""
571
 
572
+ #: assets/languages/wp-mail-smtp-vue.php:384
573
  msgid "Application ID"
574
  msgstr ""
575
 
576
+ #: assets/languages/wp-mail-smtp-vue.php:387
577
  msgid "Application Password"
578
  msgstr ""
579
 
580
+ #: assets/languages/wp-mail-smtp-vue.php:390
581
  msgid "Read how to set up Outlook"
582
  msgstr ""
583
 
584
+ #: assets/languages/wp-mail-smtp-vue.php:393
585
  #: src/Admin/SetupWizard.php:449
586
  msgid "WP Mail SMTP logo"
587
  msgstr ""
588
 
589
+ #: assets/languages/wp-mail-smtp-vue.php:396
590
  #: src/Providers/Mailgun/Options.php:87
591
  msgid "Domain Name"
592
  msgstr ""
593
 
594
  #. Translators: Link to the Mailgun API settings.
595
+ #: assets/languages/wp-mail-smtp-vue.php:400
596
  msgid "%1$sFollow this link%2$s to get an API Key from Mailgun."
597
  msgstr ""
598
 
599
  #. Translators: Link to the Mailgun Domain settings.
600
+ #: assets/languages/wp-mail-smtp-vue.php:404
601
  msgid "%1$sFollow this link%2$s to get a Domain Name from Mailgun."
602
  msgstr ""
603
 
604
  #. Translators: Link to the Mailgun documentation.
605
+ #: assets/languages/wp-mail-smtp-vue.php:408
606
  msgid "Define which endpoint you want to use for sending messages. If you are operating under EU laws, you may be required to use EU region. %1$sMore information%2$s on Mailgun.com."
607
  msgstr ""
608
 
609
+ #: assets/languages/wp-mail-smtp-vue.php:411
610
  msgid "Read how to set up Mailgun"
611
  msgstr ""
612
 
613
+ #: assets/languages/wp-mail-smtp-vue.php:414
614
  #: src/Providers/Mailgun/Options.php:122
615
  msgid "US"
616
  msgstr ""
617
 
618
+ #: assets/languages/wp-mail-smtp-vue.php:417
619
  #: src/Providers/Mailgun/Options.php:131
620
  msgid "EU"
621
  msgstr ""
622
 
623
  #. Translators: %1$s - the number of current step, %2$s - number of all steps.
624
+ #: assets/languages/wp-mail-smtp-vue.php:421
625
  msgid "Step %1$s of %2$s"
626
  msgstr ""
627
 
628
+ #: assets/languages/wp-mail-smtp-vue.php:424
629
  msgid "Copy input value"
630
  msgstr ""
631
 
632
+ #: assets/languages/wp-mail-smtp-vue.php:427
633
  msgid "Copied!"
634
  msgstr ""
635
 
636
+ #: assets/languages/wp-mail-smtp-vue.php:430
637
  msgid "The value entered does not match the required format"
638
  msgstr ""
639
 
640
+ #: assets/languages/wp-mail-smtp-vue.php:433
641
  msgid "Install"
642
  msgstr ""
643
 
644
+ #: assets/languages/wp-mail-smtp-vue.php:436
645
  msgid "Installed"
646
  msgstr ""
647
 
648
+ #: assets/languages/wp-mail-smtp-vue.php:439
649
+ #: src/Admin/Area.php:538
650
+ #: src/Admin/Pages/AboutTab.php:223
651
  msgid "Activated"
652
  msgstr ""
653
 
654
+ #: assets/languages/wp-mail-smtp-vue.php:442
655
  msgid "It looks like the plugin installation failed!"
656
  msgstr ""
657
 
658
+ #: assets/languages/wp-mail-smtp-vue.php:445
659
  msgid "It looks like we can't install the plugin."
660
  msgstr ""
661
 
662
+ #: assets/languages/wp-mail-smtp-vue.php:448
663
  msgid "You appear to be offline. Plugin not installed."
664
  msgstr ""
665
 
666
+ #: assets/languages/wp-mail-smtp-vue.php:451
667
  msgid "Can't fetch plugins information."
668
  msgstr ""
669
 
670
+ #: assets/languages/wp-mail-smtp-vue.php:454
671
  msgid "It looks like we can't fetch plugins information."
672
  msgstr ""
673
 
674
  #. Translators: Error status and error text.
675
+ #: assets/languages/wp-mail-smtp-vue.php:458
676
  msgid "%1$s, %2$s"
677
  msgstr ""
678
 
679
+ #: assets/languages/wp-mail-smtp-vue.php:461
680
  msgid "You appear to be offline. Plugin information not retrieved."
681
  msgstr ""
682
 
683
+ #: assets/languages/wp-mail-smtp-vue.php:464
684
  #: src/Admin/Area.php:140
685
  msgid "There was an error while processing the authentication request. Please try again."
686
  msgstr ""
687
 
688
+ #: assets/languages/wp-mail-smtp-vue.php:467
689
  msgid "There was an error while processing the authentication request. Please recheck your Client ID and Client Secret and try again."
690
  msgstr ""
691
 
692
+ #: assets/languages/wp-mail-smtp-vue.php:470
693
  #: src/Admin/Area.php:156
694
  msgid "You have successfully linked the current site with your Google API project. Now you can start sending emails through Gmail."
695
  msgstr ""
696
 
697
+ #: assets/languages/wp-mail-smtp-vue.php:473
698
  msgid "You have successfully linked the current site with your Microsoft API project. Now you can start sending emails through Outlook."
699
  msgstr ""
700
 
701
+ #: assets/languages/wp-mail-smtp-vue.php:476
702
  msgid "You have successfully linked the current site with your Zoho Mail API project. Now you can start sending emails through Zoho Mail."
703
  msgstr ""
704
 
705
+ #: assets/languages/wp-mail-smtp-vue.php:479
706
  msgid "Successful Authorization"
707
  msgstr ""
708
 
709
+ #: assets/languages/wp-mail-smtp-vue.php:482
710
  msgid "Authorization Error!"
711
  msgstr ""
712
 
713
  #. Translators: name of the oAuth provider (Google, Microsoft, ...).
714
+ #: assets/languages/wp-mail-smtp-vue.php:486
715
  msgid "Connect to %s"
716
  msgstr ""
717
 
718
+ #: assets/languages/wp-mail-smtp-vue.php:489
719
  msgid "Before continuing, you'll need to allow this plugin to send emails using your %s account."
720
  msgstr ""
721
 
722
+ #: assets/languages/wp-mail-smtp-vue.php:492
723
  #: src/Providers/Gmail/Options.php:182
724
  msgid "Remove Connection"
725
  msgstr ""
726
 
727
  #. Translators: link to the Google documentation page.
728
+ #: assets/languages/wp-mail-smtp-vue.php:496
729
  msgid "If you want to use a different From Email address you can setup a Google email alias. %1$sFollow these instructions%2$s, then select the alias in the From Email section below."
730
  msgstr ""
731
 
732
  #. Translators: name of the oAuth provider (Google, Microsoft, ...).
733
+ #: assets/languages/wp-mail-smtp-vue.php:500
734
  msgid "Removing this connection will give you the ability to redo the connection or connect to different %s account."
735
  msgstr ""
736
 
737
+ #: assets/languages/wp-mail-smtp-vue.php:503
738
  msgid "Connected as"
739
  msgstr ""
740
 
741
  #. Translators: Minimum and maximum number that can be used.
742
+ #: assets/languages/wp-mail-smtp-vue.php:507
743
  msgid "Please enter a value between %1$s and %2$s"
744
  msgstr ""
745
 
746
+ #: assets/languages/wp-mail-smtp-vue.php:510
747
  msgid "Value has to be a round number"
748
  msgstr ""
749
 
750
+ #: assets/languages/wp-mail-smtp-vue.php:513
751
  msgid "It looks like we can't perform the mailer configuration check."
752
  msgstr ""
753
 
754
+ #: assets/languages/wp-mail-smtp-vue.php:516
755
  msgid "It looks like we can't send the feedback."
756
  msgstr ""
757
 
870
  msgstr ""
871
 
872
  #: assets/languages/wp-mail-smtp-vue.php:605
873
+ #: src/Admin/Pages/MiscTab.php:221
874
  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."
875
  msgstr ""
876
 
1055
  msgstr ""
1056
 
1057
  #: assets/languages/wp-mail-smtp-vue.php:743
1058
+ #: src/Core.php:1005
1059
  msgid "Loading"
1060
  msgstr ""
1061
 
1062
+ #: assets/languages/wp-mail-smtp-vue.php:746
1063
+ msgid "There was an error while processing the authentication request. Please recheck your Region, Client ID and Client Secret and try again."
1064
+ msgstr ""
1065
+
1066
  #. translators: %s - error code, returned by Google API.
1067
  #: src/Admin/Area.php:133
1068
  msgid "There was an error while processing the authentication request: %s. Please try again."
1077
  msgid "Thanks for using WP Mail SMTP! To complete the plugin setup and start sending emails, <strong>please select and configure your <a href=\"%s\">Mailer</a></strong>."
1078
  msgstr ""
1079
 
1080
+ #: src/Admin/Area.php:232
1081
+ #: src/Admin/Area.php:233
1082
+ #: src/Admin/Area.php:279
1083
+ #: src/Admin/Area.php:280
1084
+ #: src/Admin/DashboardWidget.php:163
1085
+ #: src/Admin/DashboardWidget.php:391
1086
+ #: src/SiteHealth.php:43
1087
+ msgid "WP Mail SMTP"
1088
+ msgstr ""
1089
+
1090
  #: src/Admin/Area.php:243
1091
  #: src/Admin/Area.php:244
1092
+ #: src/Admin/Area.php:1086
1093
  msgid "Settings"
1094
  msgstr ""
1095
 
1096
  #: src/Admin/Area.php:252
1097
  #: src/Admin/Area.php:253
 
1098
  #: src/Admin/Pages/Logs.php:48
1099
  #: src/Admin/Pages/LogsTab.php:30
1100
+ #: src/Admin/Pages/VersusTab.php:176
1101
  msgid "Email Log"
1102
  msgstr ""
1103
 
1104
+ #: src/Admin/Area.php:307
1105
+ #: src/Admin/Area.php:313
 
 
 
 
 
 
1106
  #: src/Admin/Pages/SettingsTab.php:39
1107
  msgid "General"
1108
  msgstr ""
1109
 
1110
+ #: src/Admin/Area.php:321
1111
  msgid "Multisite"
1112
  msgstr ""
1113
 
1114
+ #: src/Admin/Area.php:322
1115
  msgid "Pro+ badge icon"
1116
  msgstr ""
1117
 
1118
+ #: src/Admin/Area.php:325
1119
  msgid "Simply enable network-wide settings and every site on your network will inherit the same SMTP settings. Save time and only configure your SMTP provider once."
1120
  msgstr ""
1121
 
1122
+ #: src/Admin/Area.php:332
1123
  msgid "Settings control"
1124
  msgstr ""
1125
 
1126
+ #: src/Admin/Area.php:338
1127
  msgid "Make the plugin settings global network-wide"
1128
  msgstr ""
1129
 
1130
+ #: src/Admin/Area.php:342
1131
  msgid "If disabled, each subsite of this multisite will have its own WP Mail SMTP settings page that has to be configured separately."
1132
  msgstr ""
1133
 
1134
+ #: src/Admin/Area.php:344
1135
  msgid "If enabled, these global settings will manage email sending for all subsites of this multisite."
1136
  msgstr ""
1137
 
1138
+ #: src/Admin/Area.php:351
1139
+ #: src/Admin/DashboardWidget.php:256
1140
  #: src/Admin/Pages/ControlTab.php:119
1141
+ #: src/Admin/Pages/ExportTab.php:138
1142
  #: src/Admin/Pages/LogsTab.php:68
1143
  msgid "Upgrade to WP Mail SMTP Pro"
1144
  msgstr ""
1145
 
1146
+ #: src/Admin/Area.php:423
1147
  msgid "Are you sure you want to reset the current provider connection? You will need to immediately create a new one to be able to send emails."
1148
  msgstr ""
1149
 
1150
+ #: src/Admin/Area.php:424
1151
  msgid "Changes that you made to the settings are not saved!"
1152
  msgstr ""
1153
 
1154
+ #: src/Admin/Area.php:428
1155
  msgid "<p>The Default (PHP) mailer is currently selected, but is not recommended because in most cases it does not resolve email delivery issues.</p><p>Please consider selecting and configuring one of the other mailers.</p>"
1156
  msgstr ""
1157
 
1158
+ #: src/Admin/Area.php:431
1159
+ #: src/Admin/PageAbstract.php:157
1160
  msgid "Save Settings"
1161
  msgstr ""
1162
 
1163
+ #: src/Admin/Area.php:432
1164
  msgid "Cancel"
1165
  msgstr ""
1166
 
1167
+ #: src/Admin/Area.php:433
1168
  msgid "Warning icon"
1169
  msgstr ""
1170
 
1171
+ #: src/Admin/Area.php:438
1172
  msgid "%name% is a PRO Feature"
1173
  msgstr ""
1174
 
1175
+ #: src/Admin/Area.php:439
1176
  #: src/Admin/SetupWizard.php:218
1177
  msgid "Upgrade to Pro"
1178
  msgstr ""
1179
 
1180
  #. Translators: %s - discount value $50.
1181
+ #: src/Admin/Area.php:444
1182
  msgid "<strong>Bonus:</strong> WP Mail SMTP users get <span>%s off</span> regular price,<br>applied at checkout."
1183
  msgstr ""
1184
 
1185
+ #: src/Admin/Area.php:455
1186
  #: src/Admin/SetupWizard.php:234
1187
  msgid "Already purchased?"
1188
  msgstr ""
1189
 
1190
+ #: src/Admin/Area.php:537
1191
+ #: src/Admin/Area.php:544
1192
+ #: src/Admin/Pages/AboutTab.php:231
1193
  #: src/Connect.php:54
1194
  msgid "Activate"
1195
  msgstr ""
1196
 
1197
+ #: src/Admin/Area.php:539
1198
+ #: src/Admin/Pages/AboutTab.php:220
1199
  msgid "Active"
1200
  msgstr ""
1201
 
1202
+ #: src/Admin/Area.php:540
1203
+ #: src/Admin/Pages/AboutTab.php:228
1204
  msgid "Inactive"
1205
  msgstr ""
1206
 
1207
+ #: src/Admin/Area.php:541
1208
  msgid "Processing..."
1209
  msgstr ""
1210
 
1211
+ #: src/Admin/Area.php:542
1212
  msgid "Could not install a plugin. Please download from WordPress.org and install manually."
1213
  msgstr ""
1214
 
1215
+ #: src/Admin/Area.php:543
1216
  msgid "Install and Activate"
1217
  msgstr ""
1218
 
1219
+ #: src/Admin/Area.php:545
1220
  msgid "Download"
1221
  msgstr ""
1222
 
1223
  #. translators: %1$s - WP.org link; %2$s - same WP.org link.
1224
+ #: src/Admin/Area.php:614
1225
  msgid "Please rate <strong>WP Mail SMTP</strong> <a href=\"%1$s\" target=\"_blank\" rel=\"noopener noreferrer\">&#9733;&#9733;&#9733;&#9733;&#9733;</a> on <a href=\"%2$s\" target=\"_blank\" rel=\"noopener noreferrer\">WordPress.org</a> to help us spread the word. Thank you from the WP Mail SMTP team!"
1226
  msgstr ""
1227
 
1228
+ #: src/Admin/Area.php:1027
1229
  msgid "WP Mail SMTP Pro related message was successfully dismissed."
1230
  msgstr ""
1231
 
1232
+ #: src/Admin/Area.php:1046
1233
  msgid "Educational notice for this mailer was successfully dismissed."
1234
  msgstr ""
1235
 
1236
+ #: src/Admin/Area.php:1085
1237
  msgid "Go to WP Mail SMTP Settings page"
1238
  msgstr ""
1239
 
1240
+ #: src/Admin/Area.php:1092
1241
  msgid "Go to WP Mail SMTP Lite vs Pro comparison page"
1242
  msgstr ""
1243
 
1244
+ #: src/Admin/Area.php:1093
1245
  msgid "Premium Support"
1246
  msgstr ""
1247
 
1248
+ #: src/Admin/DashboardWidget.php:252
1249
+ msgid "View Detailed Email Stats"
1250
+ msgstr ""
1251
+
1252
+ #: src/Admin/DashboardWidget.php:253
1253
+ msgid "Automatically keep track of every email sent from your WordPress site and view valuable statistics right here in your dashboard."
1254
+ msgstr ""
1255
+
1256
+ #. translators: %s - URL to WPMailSMTP.com.
1257
+ #: src/Admin/DashboardWidget.php:287
1258
+ msgid "<a href=\"%s\" target=\"_blank\" rel=\"noopener noreferrer\">Upgrade to Pro</a> for detailed stats, email logs, and more!"
1259
+ msgstr ""
1260
+
1261
+ #: src/Admin/DashboardWidget.php:312
1262
+ msgid "Select timespan"
1263
+ msgstr ""
1264
+
1265
+ #: src/Admin/DashboardWidget.php:314
1266
+ msgid "All Time"
1267
+ msgstr ""
1268
+
1269
+ #. translators: %d - Number of days.
1270
+ #: src/Admin/DashboardWidget.php:319
1271
+ msgid "Last %d day"
1272
+ msgid_plural "Last %d days"
1273
+ msgstr[0] ""
1274
+ msgstr[1] ""
1275
+
1276
+ #: src/Admin/DashboardWidget.php:335
1277
+ msgid "Confirmed Emails"
1278
+ msgstr ""
1279
+
1280
+ #: src/Admin/DashboardWidget.php:336
1281
+ msgid "Unconfirmed Emails"
1282
+ msgstr ""
1283
+
1284
+ #: src/Admin/DashboardWidget.php:337
1285
+ msgid "Failed Emails"
1286
+ msgstr ""
1287
+
1288
+ #: src/Admin/DashboardWidget.php:342
1289
+ msgid "Sent Emails"
1290
+ msgstr ""
1291
+
1292
+ #: src/Admin/DashboardWidget.php:346
1293
+ msgid "Select email type"
1294
+ msgstr ""
1295
+
1296
+ #: src/Admin/DashboardWidget.php:348
1297
+ msgid "All Emails"
1298
+ msgstr ""
1299
+
1300
+ #: src/Admin/DashboardWidget.php:374
1301
+ msgid "Graph Style"
1302
+ msgstr ""
1303
+
1304
+ #: src/Admin/DashboardWidget.php:378
1305
+ msgid "Bar"
1306
+ msgstr ""
1307
+
1308
+ #: src/Admin/DashboardWidget.php:382
1309
+ msgid "Line"
1310
+ msgstr ""
1311
+
1312
+ #: src/Admin/DashboardWidget.php:387
1313
+ msgid "Color Scheme"
1314
+ msgstr ""
1315
+
1316
+ #: src/Admin/DashboardWidget.php:395
1317
+ msgid "WordPress"
1318
+ msgstr ""
1319
+
1320
+ #: src/Admin/DashboardWidget.php:399
1321
+ msgid "Save Changes"
1322
+ msgstr ""
1323
+
1324
+ #: src/Admin/DashboardWidget.php:444
1325
+ msgid "Table cell icon"
1326
+ msgstr ""
1327
+
1328
+ #. translators: %d number of total emails sent.
1329
+ #: src/Admin/DashboardWidget.php:474
1330
+ msgid "%d total"
1331
+ msgstr ""
1332
+
1333
+ #. translators: %s fixed string of 'N/A'.
1334
+ #: src/Admin/DashboardWidget.php:480
1335
+ msgid "Confirmed %s"
1336
+ msgstr ""
1337
+
1338
+ #. translators: %s fixed string of 'N/A'.
1339
+ #: src/Admin/DashboardWidget.php:486
1340
+ msgid "Unconfirmed %s"
1341
+ msgstr ""
1342
+
1343
+ #. translators: %s fixed string of 'N/A'.
1344
+ #: src/Admin/DashboardWidget.php:492
1345
+ msgid "Failed %s"
1346
+ msgstr ""
1347
+
1348
+ #. translators: %s fixed string of 'N/A'.
1349
+ #: src/Admin/DashboardWidget.php:503
1350
+ msgid "Sent %s"
1351
+ msgstr ""
1352
+
1353
  #: src/Admin/DomainChecker.php:63
1354
  msgid "Something went wrong. Please try again later."
1355
  msgstr ""
1372
  msgid "Dismiss this message."
1373
  msgstr ""
1374
 
1375
+ #: src/Admin/Notifications.php:445
1376
+ msgid "Notifications"
1377
+ msgstr ""
1378
+
1379
+ #: src/Admin/Notifications.php:449
1380
  msgid "Dismiss this message"
1381
  msgstr ""
1382
 
1383
+ #: src/Admin/Notifications.php:454
1384
  msgid "Previous message"
1385
  msgstr ""
1386
 
1387
+ #: src/Admin/Notifications.php:458
1388
  msgid "Next message"
1389
  msgstr ""
1390
 
1391
+ #: src/Admin/Pages/About.php:50
1392
+ #: src/Admin/Pages/AboutTab.php:43
1393
+ msgid "About Us"
 
1394
  msgstr ""
1395
 
1396
+ #: src/Admin/Pages/AboutTab.php:70
1397
  msgid "Hello and welcome to WP Mail SMTP, the easiest and most popular WordPress SMTP plugin. We build software that helps your site reliably deliver emails every time."
1398
  msgstr ""
1399
 
1400
+ #: src/Admin/Pages/AboutTab.php:74
1401
  msgid "Email deliverability has been a well-documented problem for all WordPress websites. However as WPForms grew, we became more aware of this painful issue that affects our users and the larger WordPress community. So we decided to solve this problem and make a solution that's beginner friendly."
1402
  msgstr ""
1403
 
1404
+ #: src/Admin/Pages/AboutTab.php:77
1405
  msgid "Our goal is to make reliable email deliverability easy for WordPress."
1406
  msgstr ""
1407
 
1408
  #. translators: %1$s - WPForms URL, %2$s - WPBeginner URL, %3$s - OptinMonster URL, %4$s - MonsterInsights URL, %5$s - Awesome Motive URL
1409
+ #: src/Admin/Pages/AboutTab.php:84
1410
  msgid "WP Mail SMTP is brought to you by the same team that's behind the most user friendly WordPress forms, <a href=\"%1$s\" target=\"_blank\" rel=\"noopener noreferrer\">WPForms</a>, the largest WordPress resource site, <a href=\"%2$s\" target=\"_blank\" rel=\"noopener noreferrer\">WPBeginner</a>, the most popular lead-generation software, <a href=\"%3$s\" target=\"_blank\" rel=\"noopener noreferrer\">OptinMonster</a>, the best WordPress analytics plugin, <a href=\"%4$s\" target=\"_blank\" rel=\"noopener noreferrer\">MonsterInsights</a>, and <a href=\"%5$s\" target=\"_blank\" rel=\"noopener noreferrer\">more</a>."
1411
  msgstr ""
1412
 
1413
+ #: src/Admin/Pages/AboutTab.php:102
1414
  msgid "Yup, we know a thing or two about building awesome products that customers love."
1415
  msgstr ""
1416
 
1417
+ #: src/Admin/Pages/AboutTab.php:108
1418
  msgid "The WPForms Team photo"
1419
  msgstr ""
1420
 
1421
+ #: src/Admin/Pages/AboutTab.php:110
1422
  msgid "The WPForms Team"
1423
  msgstr ""
1424
 
1425
+ #: src/Admin/Pages/AboutTab.php:159
1426
  msgid "Plugin icon"
1427
  msgstr ""
1428
 
1429
  #. translators: %s - status HTML text.
1430
+ #: src/Admin/Pages/AboutTab.php:173
1431
  msgid "Status: %s"
1432
  msgstr ""
1433
 
1434
+ #: src/Admin/Pages/AboutTab.php:239
1435
  msgid "Not Installed"
1436
  msgstr ""
1437
 
1438
+ #: src/Admin/Pages/AboutTab.php:242
1439
  msgid "Install Plugin"
1440
  msgstr ""
1441
 
1442
+ #: src/Admin/Pages/AboutTab.php:263
1443
  msgid "OptinMonster"
1444
  msgstr ""
1445
 
1446
+ #: src/Admin/Pages/AboutTab.php:264
1447
  msgid "Instantly get more subscribers, leads, and sales with the #1 conversion optimization toolkit. Create high converting popups, announcement bars, spin a wheel, and more with smart targeting and personalization."
1448
  msgstr ""
1449
 
1450
+ #: src/Admin/Pages/AboutTab.php:271
1451
+ #: src/Admin/Pages/AboutTab.php:277
1452
  msgid "The best drag & drop WordPress form builder. Easily create beautiful contact forms, surveys, payment forms, and more with our 100+ form templates. Trusted by over 4 million websites as the best forms plugin."
1453
  msgstr ""
1454
 
1455
+ #: src/Admin/Pages/AboutTab.php:276
1456
  msgid "WPForms Pro"
1457
  msgstr ""
1458
 
1459
+ #: src/Admin/Pages/AboutTab.php:284
1460
  msgid "MonsterInsights"
1461
  msgstr ""
1462
 
1463
+ #: src/Admin/Pages/AboutTab.php:285
1464
+ #: src/Admin/Pages/AboutTab.php:291
1465
  msgid "The leading WordPress analytics plugin that shows you how people find and use your website, so you can make data driven decisions to grow your business. Properly set up Google Analytics without writing code."
1466
  msgstr ""
1467
 
1468
+ #: src/Admin/Pages/AboutTab.php:290
1469
  msgid "MonsterInsights Pro"
1470
  msgstr ""
1471
 
1472
+ #: src/Admin/Pages/AboutTab.php:298
1473
+ #: src/Admin/Pages/AboutTab.php:304
1474
  msgid "AIOSEO"
1475
  msgstr ""
1476
 
1477
+ #: src/Admin/Pages/AboutTab.php:299
1478
+ #: src/Admin/Pages/AboutTab.php:305
1479
  msgid "The original WordPress SEO plugin and toolkit that improves your website’s search rankings. Comes with all the SEO features like Local SEO, WooCommerce SEO, sitemaps, SEO optimizer, schema, and more."
1480
  msgstr ""
1481
 
1482
+ #: src/Admin/Pages/AboutTab.php:312
1483
+ #: src/Admin/Pages/AboutTab.php:318
1484
  msgid "SeedProd"
1485
  msgstr ""
1486
 
1487
+ #: src/Admin/Pages/AboutTab.php:313
1488
+ #: src/Admin/Pages/AboutTab.php:319
1489
  msgid "The fastest drag & drop landing page builder for WordPress. Create custom landing pages without writing code, connect them with your CRM, collect subscribers, and grow your audience. Trusted by 1 million sites."
1490
  msgstr ""
1491
 
1492
+ #: src/Admin/Pages/AboutTab.php:326
1493
  msgid "RafflePress"
1494
  msgstr ""
1495
 
1496
+ #: src/Admin/Pages/AboutTab.php:327
1497
+ #: src/Admin/Pages/AboutTab.php:333
1498
  msgid "Turn your website visitors into brand ambassadors! Easily grow your email list, website traffic, and social media followers with the most powerful giveaways & contests plugin for WordPress."
1499
  msgstr ""
1500
 
1501
+ #: src/Admin/Pages/AboutTab.php:332
1502
  msgid "RafflePress Pro"
1503
  msgstr ""
1504
 
1505
+ #: src/Admin/Pages/AboutTab.php:340
1506
  msgid "PushEngage"
1507
  msgstr ""
1508
 
1509
+ #: src/Admin/Pages/AboutTab.php:341
1510
  msgid "Connect with your visitors after they leave your website with the leading web push notification software. Over 10,000+ businesses worldwide use PushEngage to send 9 billion notifications each month."
1511
  msgstr ""
1512
 
1513
+ #: src/Admin/Pages/AboutTab.php:347
1514
+ #: src/Admin/Pages/AboutTab.php:353
1515
  msgid "Smash Balloon Instagram Feeds"
1516
  msgstr ""
1517
 
1518
+ #: src/Admin/Pages/AboutTab.php:348
1519
+ #: src/Admin/Pages/AboutTab.php:354
1520
  msgid "Easily display Instagram content on your WordPress site without writing any code. Comes with multiple templates, ability to show content from multiple accounts, hashtags, and more. Trusted by 1 million websites."
1521
  msgstr ""
1522
 
1523
+ #: src/Admin/Pages/AboutTab.php:361
1524
+ #: src/Admin/Pages/AboutTab.php:367
1525
  msgid "Smash Balloon Facebook Feeds"
1526
  msgstr ""
1527
 
1528
+ #: src/Admin/Pages/AboutTab.php:362
1529
+ #: src/Admin/Pages/AboutTab.php:368
1530
  msgid "Easily display Facebook content on your WordPress site without writing any code. Comes with multiple templates, ability to embed albums, group content, reviews, live videos, comments, and reactions."
1531
  msgstr ""
1532
 
1533
+ #: src/Admin/Pages/AboutTab.php:375
1534
+ #: src/Admin/Pages/AboutTab.php:381
1535
  msgid "Smash Balloon YouTube Feeds"
1536
  msgstr ""
1537
 
1538
+ #: src/Admin/Pages/AboutTab.php:376
1539
+ #: src/Admin/Pages/AboutTab.php:382
1540
  msgid "Easily display YouTube videos on your WordPress site without writing any code. Comes with multiple layouts, ability to embed live streams, video filtering, ability to combine multiple channel videos, and more."
1541
  msgstr ""
1542
 
1543
+ #: src/Admin/Pages/AboutTab.php:389
1544
+ #: src/Admin/Pages/AboutTab.php:395
1545
  msgid "Smash Balloon Twitter Feeds"
1546
  msgstr ""
1547
 
1548
+ #: src/Admin/Pages/AboutTab.php:390
1549
+ #: src/Admin/Pages/AboutTab.php:396
1550
  msgid "Easily display Twitter content in WordPress without writing any code. Comes with multiple layouts, ability to combine multiple Twitter feeds, Twitter card support, tweet moderation, and more."
1551
  msgstr ""
1552
 
1553
+ #: src/Admin/Pages/AboutTab.php:403
1554
  msgid "TrustPulse"
1555
  msgstr ""
1556
 
1557
+ #: src/Admin/Pages/AboutTab.php:404
1558
  msgid "Boost your sales and conversions by up to 15% with real-time social proof notifications. TrustPulse helps you show live user activity and purchases to help convince other users to purchase."
1559
  msgstr ""
1560
 
1561
+ #: src/Admin/Pages/AboutTab.php:422
1562
  msgid "Could not activate the plugin. Please activate it from the Plugins page."
1563
  msgstr ""
1564
 
1565
+ #: src/Admin/Pages/AboutTab.php:434
1566
  msgid "Plugin activated."
1567
  msgstr ""
1568
 
1569
+ #: src/Admin/Pages/AboutTab.php:451
1570
  msgid "Could not install the plugin."
1571
  msgstr ""
1572
 
1573
+ #: src/Admin/Pages/AboutTab.php:512
1574
  #: src/Connect.php:214
1575
  #: src/Connect.php:222
1576
  #: src/Connect.php:291
1577
  msgid "Plugin installed & activated."
1578
  msgstr ""
1579
 
1580
+ #: src/Admin/Pages/AboutTab.php:520
1581
  msgid "Plugin installed."
1582
  msgstr ""
1583
 
1584
+ #: src/Admin/Pages/ActionSchedulerTab.php:41
1585
+ #: src/Admin/Pages/ActionSchedulerTab.php:101
1586
+ msgid "Scheduled Actions"
 
 
 
1587
  msgstr ""
1588
 
1589
+ #. translators: %s - Action Scheduler website URL.
1590
+ #: src/Admin/Pages/ActionSchedulerTab.php:107
1591
+ msgid "WP Mail SMTP is using the <a href=\"%s\" target=\"_blank\" rel=\"noopener noreferrer\">Action Scheduler</a> library, which allows it to queue and process bigger tasks in the background without making your site slower for your visitors. Below you can see the list of all tasks and their status. This table can be very useful when debugging certain issues."
1592
  msgstr ""
1593
 
1594
+ #: src/Admin/Pages/ActionSchedulerTab.php:122
1595
+ msgid "Action Scheduler library is also used by other plugins, like WPForms and WooCommerce, so you might see tasks that are not related to our plugin in the table below."
1596
  msgstr ""
1597
 
1598
+ #. translators: %s - search term.
1599
+ #: src/Admin/Pages/ActionSchedulerTab.php:130
1600
+ msgid "Search results for <strong>%s</strong>"
1601
  msgstr ""
1602
 
 
1603
  #: src/Admin/Pages/ControlTab.php:27
1604
+ #: src/Admin/Pages/VersusTab.php:177
1605
  msgid "Email Controls"
1606
  msgstr ""
1607
 
1608
+ #: src/Admin/Pages/ControlTab.php:48
1609
+ msgid "Comment Notifications"
1610
  msgstr ""
1611
 
1612
+ #: src/Admin/Pages/ControlTab.php:49
1613
+ msgid "Manage emails sent when comments are published or awaiting moderation."
1614
  msgstr ""
1615
 
1616
+ #: src/Admin/Pages/ControlTab.php:53
1617
+ msgid "Site Admin Email Change Notifications"
1618
  msgstr ""
1619
 
1620
+ #: src/Admin/Pages/ControlTab.php:54
1621
+ msgid "Manage emails sent when site admin's account has been changed."
1622
  msgstr ""
1623
 
1624
+ #: src/Admin/Pages/ControlTab.php:58
1625
+ msgid "User Change Notifications"
1626
  msgstr ""
1627
 
1628
+ #: src/Admin/Pages/ControlTab.php:59
1629
+ msgid "Limit emails triggered by password changed/reset, email changed, and more."
1630
  msgstr ""
1631
 
1632
+ #: src/Admin/Pages/ControlTab.php:63
1633
+ msgid "Personal Data Requests Notifications"
1634
  msgstr ""
1635
 
1636
+ #: src/Admin/Pages/ControlTab.php:64
1637
+ msgid "Control emails for data requests and data removal actions."
1638
  msgstr ""
1639
 
1640
+ #: src/Admin/Pages/ControlTab.php:68
1641
+ msgid "Automatic Update Notifications"
1642
  msgstr ""
1643
 
1644
+ #: src/Admin/Pages/ControlTab.php:69
1645
+ msgid "Manage emails sent by the core automatic update process."
1646
  msgstr ""
1647
 
1648
+ #: src/Admin/Pages/ControlTab.php:73
1649
+ msgid "New User Notifications"
1650
  msgstr ""
1651
 
1652
+ #: src/Admin/Pages/ControlTab.php:74
1653
+ msgid "Toggle emails sent to both user and site administrator about new user accounts."
1654
  msgstr ""
1655
 
1656
+ #: src/Admin/Pages/ControlTab.php:92
1657
+ msgid "Unlock Email Controls"
1658
  msgstr ""
1659
 
1660
+ #: src/Admin/Pages/ControlTab.php:95
1661
+ msgid "Email Controls allows you to granularly manage emails sent by WordPress.
"
1662
  msgstr ""
1663
 
1664
+ #: src/Admin/Pages/ExportTab.php:42
1665
+ msgid "Export"
1666
  msgstr ""
1667
 
1668
+ #: src/Admin/Pages/ExportTab.php:66
1669
+ msgid "Export Email Logs"
1670
  msgstr ""
1671
 
1672
+ #. translators: %s - WPMailSMTP.com Upgrade page URL.
1673
+ #: src/Admin/Pages/ExportTab.php:72
1674
+ msgid "Easily export your logs to CSV or Excel. Filter the logs before you export and only download the data you need. This feature lets you easily create your own deliverability reports. You can also use the data in 3rd party dashboards to track deliverability along with your other website statistics. <a href=\"%s\" target=\"_blank\" rel=\"noopener noreferrer\">Upgrade to WP Mail SMTP Pro</a>"
1675
  msgstr ""
1676
 
1677
+ #: src/Admin/Pages/ExportTab.php:88
1678
+ msgid "Export Type"
1679
  msgstr ""
1680
 
1681
+ #: src/Admin/Pages/ExportTab.php:90
1682
+ msgid "Export in CSV (.csv)"
1683
  msgstr ""
1684
 
1685
+ #: src/Admin/Pages/ExportTab.php:93
1686
+ msgid "Export in Microsoft Excel (.xlsx)"
1687
  msgstr ""
1688
 
1689
+ #: src/Admin/Pages/ExportTab.php:96
1690
+ msgid "Export in EML (.eml)"
1691
  msgstr ""
1692
 
1693
+ #: src/Admin/Pages/ExportTab.php:101
1694
+ msgid "Common Information"
1695
  msgstr ""
1696
 
1697
+ #: src/Admin/Pages/ExportTab.php:102
1698
+ msgid "To Address"
1699
  msgstr ""
1700
 
1701
+ #: src/Admin/Pages/ExportTab.php:103
1702
+ msgid "From Address"
1703
  msgstr ""
1704
 
1705
+ #: src/Admin/Pages/ExportTab.php:105
1706
+ msgid "Subject"
1707
  msgstr ""
1708
 
1709
+ #: src/Admin/Pages/ExportTab.php:106
1710
+ msgid "Body"
1711
  msgstr ""
1712
 
1713
+ #: src/Admin/Pages/ExportTab.php:107
1714
+ msgid "Created Date"
1715
  msgstr ""
1716
 
1717
+ #: src/Admin/Pages/ExportTab.php:108
1718
+ msgid "Number of Attachments"
1719
  msgstr ""
1720
 
1721
+ #: src/Admin/Pages/ExportTab.php:109
1722
+ msgid "Attachments"
1723
  msgstr ""
1724
 
1725
+ #: src/Admin/Pages/ExportTab.php:113
1726
+ msgid "Additional Controls allows you to granularly manage emails sent by WordPress.
Information"
1727
+ msgstr ""
1728
+
1729
+ #: src/Admin/Pages/ExportTab.php:114
1730
+ msgid "Status"
1731
+ msgstr ""
1732
+
1733
+ #: src/Admin/Pages/ExportTab.php:115
1734
+ msgid "Carbon Copy (CC)"
1735
+ msgstr ""
1736
+
1737
+ #: src/Admin/Pages/ExportTab.php:116
1738
+ msgid "Blind Carbon Copy (BCC)"
1739
+ msgstr ""
1740
+
1741
+ #: src/Admin/Pages/ExportTab.php:117
1742
+ msgid "Headers"
1743
+ msgstr ""
1744
+
1745
+ #: src/Admin/Pages/ExportTab.php:119
1746
+ msgid "Error Details"
1747
+ msgstr ""
1748
+
1749
+ #: src/Admin/Pages/ExportTab.php:120
1750
+ msgid "Email log ID"
1751
+ msgstr ""
1752
+
1753
+ #: src/Admin/Pages/ExportTab.php:124
1754
+ msgid "Custom Date Range"
1755
+ msgstr ""
1756
+
1757
+ #: src/Admin/Pages/ExportTab.php:125
1758
+ msgid "Select a date range"
1759
+ msgstr ""
1760
+
1761
+ #: src/Admin/Pages/ExportTab.php:129
1762
+ msgid "Search"
1763
+ msgstr ""
1764
+
1765
+ #: src/Admin/Pages/ExportTab.php:131
1766
+ msgid "Email Addresses"
1767
  msgstr ""
1768
 
1769
  #: src/Admin/Pages/LogsTab.php:53
1841
  msgstr ""
1842
 
1843
  #: src/Admin/Pages/MiscTab.php:177
1844
+ msgid "Hide Dashboard Widget"
1845
+ msgstr ""
1846
+
1847
+ #: src/Admin/Pages/MiscTab.php:186
1848
+ msgid "Check this if you would like to hide the WP Mail SMTP Dashboard Widget."
1849
+ msgstr ""
1850
+
1851
+ #: src/Admin/Pages/MiscTab.php:195
1852
  msgid "Uninstall WP Mail SMTP"
1853
  msgstr ""
1854
 
1855
+ #: src/Admin/Pages/MiscTab.php:203
1856
  msgid "Check this if you would like to remove ALL WP Mail SMTP data upon plugin deletion. All settings will be unrecoverable."
1857
  msgstr ""
1858
 
1859
+ #: src/Admin/Pages/MiscTab.php:213
1860
  msgid "Allow Usage Tracking"
1861
  msgstr ""
1862
 
1863
+ #: src/Admin/Pages/MiscTab.php:272
1864
+ #: src/Admin/Pages/SettingsTab.php:648
1865
  msgid "Settings were successfully saved."
1866
  msgstr ""
1867
 
2093
  msgid "Send Email"
2094
  msgstr ""
2095
 
2096
+ #: src/Admin/Pages/TestTab.php:178
2097
  msgid "Test failed. Please use a valid email address and try to resend the test email."
2098
  msgstr ""
2099
 
2100
  #. translators: %s - email address a test email will be sent to.
2101
+ #: src/Admin/Pages/TestTab.php:190
2102
+ #: src/Admin/Pages/TestTab.php:196
2103
  msgid "Test email to %s"
2104
  msgstr ""
2105
 
2106
+ #: src/Admin/Pages/TestTab.php:235
2107
  msgid "Test plain text email was sent successfully!"
2108
  msgstr ""
2109
 
2110
  #. translators: %s - "HTML" in bold.
2111
+ #: src/Admin/Pages/TestTab.php:239
2112
  msgid "Test %s email was sent successfully! Please check your inbox to make sure it is delivered."
2113
  msgstr ""
2114
 
2115
+ #: src/Admin/Pages/TestTab.php:560
2116
  msgid "SSL certificate issue."
2117
  msgstr ""
2118
 
2119
+ #: src/Admin/Pages/TestTab.php:562
2120
  msgid "This means your web server cannot reliably make secure connections (make requests to HTTPS sites)."
2121
  msgstr ""
2122
 
2123
+ #: src/Admin/Pages/TestTab.php:563
2124
+ #: src/Admin/Pages/TestTab.php:628
2125
  msgid "Typically this error is returned when web server is not configured properly."
2126
  msgstr ""
2127
 
2128
+ #: src/Admin/Pages/TestTab.php:566
2129
  msgid "Contact your web hosting provider and inform them your site has an issue with SSL certificates."
2130
  msgstr ""
2131
 
2132
+ #: src/Admin/Pages/TestTab.php:567
2133
+ #: src/Admin/Pages/TestTab.php:632
2134
  msgid "The exact error you can provide them is in the Error log, available at the bottom of this page."
2135
  msgstr ""
2136
 
2137
+ #: src/Admin/Pages/TestTab.php:568
2138
+ #: src/Admin/Pages/TestTab.php:633
2139
  msgid "Ask them to resolve the issue then try again."
2140
  msgstr ""
2141
 
2142
+ #: src/Admin/Pages/TestTab.php:578
2143
  msgid "Could not connect to host."
2144
  msgstr ""
2145
 
2146
  #. translators: %s - SMTP host address.
2147
+ #: src/Admin/Pages/TestTab.php:582
2148
+ #: src/Admin/Pages/TestTab.php:624
2149
+ #: src/Admin/Pages/TestTab.php:726
2150
  msgid "This means your web server was unable to connect to %s."
2151
  msgstr ""
2152
 
2153
+ #: src/Admin/Pages/TestTab.php:585
2154
+ #: src/Admin/Pages/TestTab.php:627
2155
+ #: src/Admin/Pages/TestTab.php:729
2156
  msgid "This means your web server was unable to connect to the host server."
2157
  msgstr ""
2158
 
2159
+ #: src/Admin/Pages/TestTab.php:586
2160
  msgid "Typically this error is returned your web server is blocking the connections or the SMTP host denying the request."
2161
  msgstr ""
2162
 
2163
  #. translators: %s - SMTP host address.
2164
+ #: src/Admin/Pages/TestTab.php:590
2165
  msgid "Contact your web hosting provider and ask them to verify your server can connect to %s. Additionally, ask them if a firewall or security policy may be preventing the connection."
2166
  msgstr ""
2167
 
2168
+ #: src/Admin/Pages/TestTab.php:593
2169
  msgid "If using \"Other SMTP\" Mailer, triple check your SMTP settings including host address, email, and password."
2170
  msgstr ""
2171
 
2172
+ #: src/Admin/Pages/TestTab.php:594
2173
  msgid "If using \"Other SMTP\" Mailer, contact your SMTP host to confirm they are accepting outside connections with the settings you have configured (address, username, port, security, etc)."
2174
  msgstr ""
2175
 
2176
+ #: src/Admin/Pages/TestTab.php:603
2177
  msgid "Invalid SendGrid API key"
2178
  msgstr ""
2179
 
2180
+ #: src/Admin/Pages/TestTab.php:605
2181
  msgid "It looks like your SendGrid API Key is invalid."
2182
  msgstr ""
2183
 
2184
+ #: src/Admin/Pages/TestTab.php:608
2185
+ #: src/Admin/Pages/TestTab.php:681
2186
  msgid "Go to WP Mail SMTP plugin Settings page."
2187
  msgstr ""
2188
 
2189
+ #: src/Admin/Pages/TestTab.php:609
2190
  msgid "Make sure your API Key in the SendGrid mailer settings is correct and valid."
2191
  msgstr ""
2192
 
2193
+ #: src/Admin/Pages/TestTab.php:610
2194
  msgid "Save the plugin settings."
2195
  msgstr ""
2196
 
2197
+ #: src/Admin/Pages/TestTab.php:611
2198
  msgid "If updating the API Key doesn't resolve this issue, please contact our support."
2199
  msgstr ""
2200
 
2201
+ #: src/Admin/Pages/TestTab.php:620
2202
  msgid "Could not connect to your host."
2203
  msgstr ""
2204
 
2205
+ #: src/Admin/Pages/TestTab.php:631
2206
  msgid "Contact your web hosting provider and inform them you are having issues making outbound connections."
2207
  msgstr ""
2208
 
2209
+ #: src/Admin/Pages/TestTab.php:642
2210
  msgid "Could not authenticate your SMTP account."
2211
  msgstr ""
2212
 
2213
+ #: src/Admin/Pages/TestTab.php:644
2214
  msgid "This means we were able to connect to your SMTP host, but were not able to proceed using the email/password in the settings."
2215
  msgstr ""
2216
 
2217
+ #: src/Admin/Pages/TestTab.php:645
2218
  msgid "Typically this error is returned when the email or password is not correct or is not what the SMTP host is expecting."
2219
  msgstr ""
2220
 
2221
+ #: src/Admin/Pages/TestTab.php:648
2222
  msgid "Triple check your SMTP settings including host address, email, and password. If you have recently reset your password you will need to update the settings."
2223
  msgstr ""
2224
 
2225
+ #: src/Admin/Pages/TestTab.php:649
2226
+ #: src/Admin/Pages/TestTab.php:762
2227
  msgid "Contact your SMTP host to confirm you are using the correct username and password."
2228
  msgstr ""
2229
 
2230
+ #: src/Admin/Pages/TestTab.php:650
2231
+ #: src/Admin/Pages/TestTab.php:763
2232
  msgid "Verify with your SMTP host that your account has permissions to send emails using outside connections."
2233
  msgstr ""
2234
 
2235
+ #: src/Admin/Pages/TestTab.php:659
2236
  msgid "Error due to unsolicited and/or bulk e-mail."
2237
  msgstr ""
2238
 
2239
+ #: src/Admin/Pages/TestTab.php:661
2240
  msgid "This means the connection to your SMTP host was made successfully, but the host rejected the email."
2241
  msgstr ""
2242
 
2243
+ #: src/Admin/Pages/TestTab.php:662
2244
  msgid "Typically this error is returned when you are sending too many e-mails or e-mails that have been identified as spam."
2245
  msgstr ""
2246
 
2247
+ #: src/Admin/Pages/TestTab.php:665
2248
  msgid "Check the emails that are sending are sending individually. Example: email is not sending to 30 recipients. You can install any WordPress e-mail logging plugin to do that."
2249
  msgstr ""
2250
 
2251
+ #: src/Admin/Pages/TestTab.php:666
2252
  msgid "Contact your SMTP host to ask about sending/rate limits."
2253
  msgstr ""
2254
 
2255
+ #: src/Admin/Pages/TestTab.php:667
2256
  msgid "Verify with them your SMTP account is in good standing and your account has not been flagged."
2257
  msgstr ""
2258
 
2259
+ #: src/Admin/Pages/TestTab.php:676
2260
  msgid "Unauthenticated senders are not allowed."
2261
  msgstr ""
2262
 
2263
+ #: src/Admin/Pages/TestTab.php:678
2264
  msgid "This means the connection to your SMTP host was made successfully, but you should enable Authentication and provide correct Username and Password."
2265
  msgstr ""
2266
 
2267
+ #: src/Admin/Pages/TestTab.php:683
2268
  msgid "Enter correct SMTP Username (usually this is an email address) and Password in the appropriate fields."
2269
  msgstr ""
2270
 
2271
+ #: src/Admin/Pages/TestTab.php:694
2272
  msgid "Misconfigured server certificate."
2273
  msgstr ""
2274
 
2275
+ #: src/Admin/Pages/TestTab.php:696
2276
  msgid "This means OpenSSL on your server isn't able to verify the host certificate."
2277
  msgstr ""
2278
 
2279
+ #: src/Admin/Pages/TestTab.php:697
2280
  msgid "There are a few reasons why this is happening. It could be that the host certificate is misconfigured, or this server's OpenSSL is using an outdated CA bundle."
2281
  msgstr ""
2282
 
2283
+ #: src/Admin/Pages/TestTab.php:700
2284
  msgid "Verify that the host's SSL certificate is valid."
2285
  msgstr ""
2286
 
2287
  #. translators: %s - URL to the PHP openssl manual
2288
+ #: src/Admin/Pages/TestTab.php:703
2289
  msgid "Contact your hosting support, show them the \"full Error Log for debugging\" below and share this <a href=\"%s\" target=\"_blank\" rel=\"noopener noreferrer\">link</a> with them."
2290
  msgstr ""
2291
 
2292
+ #: src/Admin/Pages/TestTab.php:722
2293
  msgid "Could not connect to the SMTP host."
2294
  msgstr ""
2295
 
2296
+ #: src/Admin/Pages/TestTab.php:730
2297
+ #: src/Admin/Pages/TestTab.php:1125
2298
  msgid "Typically this error is returned for one of the following reasons:"
2299
  msgstr ""
2300
 
2301
+ #: src/Admin/Pages/TestTab.php:733
2302
  msgid "SMTP settings are incorrect (wrong port, security setting, incorrect host)."
2303
  msgstr ""
2304
 
2305
+ #: src/Admin/Pages/TestTab.php:736
2306
+ #: src/Admin/Pages/TestTab.php:1131
2307
  msgid "Your web server is blocking the connection."
2308
  msgstr ""
2309
 
2310
+ #: src/Admin/Pages/TestTab.php:739
2311
  msgid "Your SMTP host is rejecting the connection."
2312
  msgstr ""
2313
 
2314
+ #: src/Admin/Pages/TestTab.php:744
2315
  msgid "Triple check your SMTP settings including host address, email, and password, port, and security."
2316
  msgstr ""
2317
 
2318
  #. translators: %1$s - SMTP host address, %2$s - SMTP port, %3$s - SMTP encryption.
2319
+ #: src/Admin/Pages/TestTab.php:747
2320
  msgid "Contact your web hosting provider and ask them to verify your server can connect to %1$s on port %2$s using %3$s encryption. Additionally, ask them if a firewall or security policy may be preventing the connection - many shared hosts block certain ports.<br><strong>Note: this is the most common cause of this issue.</strong>"
2321
  msgstr ""
2322
 
2323
+ #: src/Admin/Pages/TestTab.php:760
2324
  msgid "no"
2325
  msgstr ""
2326
 
2327
+ #: src/Admin/Pages/TestTab.php:772
2328
+ #: src/Admin/Pages/TestTab.php:787
2329
+ #: src/Admin/Pages/TestTab.php:803
2330
  msgid "Mailgun failed."
2331
  msgstr ""
2332
 
2333
+ #: src/Admin/Pages/TestTab.php:774
2334
  msgid "It seems that you forgot to activate your Mailgun account."
2335
  msgstr ""
2336
 
2337
+ #: src/Admin/Pages/TestTab.php:777
2338
  msgid "Check your inbox you used to create a Mailgun account. Click the activation link in an email from Mailgun."
2339
  msgstr ""
2340
 
2341
+ #: src/Admin/Pages/TestTab.php:778
2342
  msgid "If you do not see activation email, go to your Mailgun control panel and resend the activation email."
2343
  msgstr ""
2344
 
2345
+ #: src/Admin/Pages/TestTab.php:789
2346
  msgid "Typically this error is because there is an issue with your Mailgun settings, in many cases the API key."
2347
  msgstr ""
2348
 
2349
+ #: src/Admin/Pages/TestTab.php:792
2350
  msgid "Verify your API key is correct."
2351
  msgstr ""
2352
 
2353
+ #: src/Admin/Pages/TestTab.php:793
2354
  msgid "Go to your Mailgun account and view your API key."
2355
  msgstr ""
2356
 
2357
+ #: src/Admin/Pages/TestTab.php:794
2358
  msgid "Note that the API key includes the \"key\" prefix, so make sure that it is in the WP Mail SMTP Mailgun API setting."
2359
  msgstr ""
2360
 
2361
+ #: src/Admin/Pages/TestTab.php:805
2362
  msgid "Your Mailgun account does not have access to send emails."
2363
  msgstr ""
2364
 
2365
+ #: src/Admin/Pages/TestTab.php:806
2366
  msgid "Typically this error is because you have not set up and/or complete domain name verification for your Mailgun account."
2367
  msgstr ""
2368
 
2369
  #. translators: %s - Mailgun documentation URL.
2370
+ #: src/Admin/Pages/TestTab.php:811
2371
  msgid "Go to our how-to guide for setting up <a href=\"%s\" target=\"_blank\" rel=\"noopener noreferrer\">Mailgun with WP Mail SMTP</a>."
2372
  msgstr ""
2373
 
2374
+ #: src/Admin/Pages/TestTab.php:822
2375
  msgid "Complete the steps in section \"2. Verify Your Domain\"."
2376
  msgstr ""
2377
 
2378
+ #: src/Admin/Pages/TestTab.php:831
2379
+ #: src/Admin/Pages/TestTab.php:880
2380
+ #: src/Admin/Pages/TestTab.php:900
2381
+ #: src/Admin/Pages/TestTab.php:928
2382
+ #: src/Admin/Pages/TestTab.php:944
2383
+ #: src/Admin/Pages/TestTab.php:996
2384
+ #: src/Admin/Pages/TestTab.php:1021
2385
  msgid "Google API Error."
2386
  msgstr ""
2387
 
2388
+ #: src/Admin/Pages/TestTab.php:833
2389
  msgid "You have not properly configured Gmail mailer."
2390
  msgstr ""
2391
 
2392
+ #: src/Admin/Pages/TestTab.php:834
2393
  msgid "Make sure that you have clicked the \"Allow plugin to send emails using your Google account\" button under Gmail settings."
2394
  msgstr ""
2395
 
2396
+ #: src/Admin/Pages/TestTab.php:837
2397
  msgid "Go to plugin Settings page and click the \"Allow plugin to send emails using your Google account\" button."
2398
  msgstr ""
2399
 
2400
+ #: src/Admin/Pages/TestTab.php:838
2401
  msgid "After the click you should be redirected to a Gmail authorization screen, where you will be asked a permission to send emails on your behalf."
2402
  msgstr ""
2403
 
2404
+ #: src/Admin/Pages/TestTab.php:839
2405
  msgid "Please click \"Agree\", if you see that button. If not - you will need to enable less secure apps first:"
2406
  msgstr ""
2407
 
2408
  #. translators: %s - Google support article URL.
2409
+ #: src/Admin/Pages/TestTab.php:844
2410
  msgid "if you are using regular Gmail account, please <a href=\"%s\" target=\"_blank\" rel=\"noopener noreferrer\">read this article</a> to proceed."
2411
  msgstr ""
2412
 
2413
  #. translators: %s - Google support article URL.
2414
+ #: src/Admin/Pages/TestTab.php:859
2415
  msgid "if you are using G Suite, please <a href=\"%s\" target=\"_blank\" rel=\"noopener noreferrer\">read this article</a> to proceed."
2416
  msgstr ""
2417
 
2418
+ #: src/Admin/Pages/TestTab.php:882
2419
  msgid "Typically this error is because address the email was sent to is invalid or was empty."
2420
  msgstr ""
2421
 
2422
+ #: src/Admin/Pages/TestTab.php:885
2423
  msgid "Check the \"Send To\" email address used and confirm it is a valid email and was not empty."
2424
  msgstr ""
2425
 
2426
  #. translators: 1 - correct email address example. 2 - incorrect email address example.
2427
+ #: src/Admin/Pages/TestTab.php:887
2428
  msgid "It should be something like this: %1$s. These are incorrect values: %2$s."
2429
  msgstr ""
2430
 
2431
+ #: src/Admin/Pages/TestTab.php:891
2432
  msgid "Make sure that the generated email has a TO header, useful when you are responsible for email creation."
2433
  msgstr ""
2434
 
2435
+ #: src/Admin/Pages/TestTab.php:902
2436
  msgid "Unfortunately, this error can be due to many different reasons."
2437
  msgstr ""
2438
 
2439
  #. translators: %s - Blog article URL.
2440
+ #: src/Admin/Pages/TestTab.php:905
2441
  msgid "Please <a href=\"%s\" target=\"_blank\" rel=\"noopener noreferrer\">read this article</a> to learn more about what can cause this error and follow the steps below."
2442
  msgstr ""
2443
 
2444
+ #: src/Admin/Pages/TestTab.php:918
2445
  #: src/Providers/Gmail/Mailer.php:270
2446
  msgid "Go to WP Mail SMTP plugin settings page. Click the “Remove Connection” button."
2447
  msgstr ""
2448
 
2449
+ #: src/Admin/Pages/TestTab.php:919
2450
  #: src/Providers/Gmail/Mailer.php:271
2451
  msgid "Then click the “Allow plugin to send emails using your Google account” button and re-enable access."
2452
  msgstr ""
2453
 
2454
+ #: src/Admin/Pages/TestTab.php:930
2455
  msgid "Authentication code that Google returned to you has already been used on your previous auth attempt."
2456
  msgstr ""
2457
 
2458
+ #: src/Admin/Pages/TestTab.php:933
2459
  msgid "Make sure that you are not trying to manually clean up the plugin options to retry the \"Allow...\" step."
2460
  msgstr ""
2461
 
2462
+ #: src/Admin/Pages/TestTab.php:934
2463
  msgid "Reinstall the plugin with clean plugin data turned on on Misc page. This will remove all the plugin options and you will be safe to retry."
2464
  msgstr ""
2465
 
2466
+ #: src/Admin/Pages/TestTab.php:935
2467
  msgid "Make sure there is no aggressive caching on site admin area pages or try to clean cache between attempts."
2468
  msgstr ""
2469
 
2470
+ #: src/Admin/Pages/TestTab.php:946
2471
  msgid "There are various reasons for that, please review the steps below."
2472
  msgstr ""
2473
 
2474
  #. translators: %s - Google G Suite Admin area URL.
2475
+ #: src/Admin/Pages/TestTab.php:951
2476
  msgid "Make sure that your G Suite trial period has not expired. You can check the status <a href=\"%s\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>."
2477
  msgstr ""
2478
 
2479
  #. translators: %s - Google G Suite Admin area URL.
2480
+ #: src/Admin/Pages/TestTab.php:964
2481
  msgid "Make sure that Gmail app in your G Suite is actually enabled. You can check that in Apps list in <a href=\"%s\" target=\"_blank\" rel=\"noopener noreferrer\">G Suite Admin</a> area."
2482
  msgstr ""
2483
 
2484
  #. translators: %s - Google Developers Console URL.
2485
+ #: src/Admin/Pages/TestTab.php:977
2486
  msgid "Make sure that you have Gmail API enabled, and you can do that <a href=\"%s\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>."
2487
  msgstr ""
2488
 
2489
+ #: src/Admin/Pages/TestTab.php:999
2490
+ #: src/Admin/Pages/TestTab.php:1026
2491
  msgid "Make sure that the used Client ID/Secret correspond to a proper project that has Gmail API enabled."
2492
  msgstr ""
2493
 
2494
  #. translators: %s - Gmail documentation URL.
2495
+ #: src/Admin/Pages/TestTab.php:1002
2496
  msgid "Please follow our <a href=\"%s\" target=\"_blank\" rel=\"noopener noreferrer\">Gmail tutorial</a> to be sure that all the correct project and data is applied."
2497
  msgstr ""
2498
 
2499
+ #: src/Admin/Pages/TestTab.php:1023
2500
  msgid "You may have added a new API to a project"
2501
  msgstr ""
2502
 
2503
+ #: src/Admin/Pages/TestTab.php:1027
2504
  msgid "Try to use a separate project for your emails, so the project has only 1 Gmail API in it enabled. You will need to remove the old project and create a new one from scratch."
2505
  msgstr ""
2506
 
2507
+ #: src/Admin/Pages/TestTab.php:1036
2508
  msgid "SMTP.com API Error."
2509
  msgstr ""
2510
 
2511
+ #: src/Admin/Pages/TestTab.php:1038
2512
  msgid "Your Sender Name option is incorrect."
2513
  msgstr ""
2514
 
2515
+ #: src/Admin/Pages/TestTab.php:1041
2516
  msgid "Please make sure you entered an accurate Sender Name in WP Mail SMTP plugin settings."
2517
  msgstr ""
2518
 
2519
+ #: src/Admin/Pages/TestTab.php:1050
2520
  msgid "GuzzleHttp requirements."
2521
  msgstr ""
2522
 
2523
+ #: src/Admin/Pages/TestTab.php:1052
2524
  msgid "GuzzleHttp requires cURL, the allow_url_fopen ini setting, or a custom HTTP handler."
2525
  msgstr ""
2526
 
2527
+ #: src/Admin/Pages/TestTab.php:1055
2528
  msgid "Edit your php.ini file on your hosting server."
2529
  msgstr ""
2530
 
2531
+ #: src/Admin/Pages/TestTab.php:1056
2532
  msgid "(Recommended) Enable PHP extension: cURL, by adding \"extension=curl\" to the php.ini file (without the quotation marks) OR"
2533
  msgstr ""
2534
 
2535
+ #: src/Admin/Pages/TestTab.php:1057
2536
  msgid "(If cURL can't be enabled on your hosting server) Enable PHP setting: allow_url_fopen, by adding \"allow_url_fopen = On\" to the php.ini file (without the quotation marks)"
2537
  msgstr ""
2538
 
2539
+ #: src/Admin/Pages/TestTab.php:1058
2540
  msgid "If you don't know how to do the above we strongly suggest contacting your hosting support and provide them the \"full Error Log for debugging\" below and these steps. They should be able to fix this issue for you."
2541
  msgstr ""
2542
 
2543
+ #: src/Admin/Pages/TestTab.php:1079
2544
  msgid "PCRE library issue"
2545
  msgstr ""
2546
 
2547
+ #: src/Admin/Pages/TestTab.php:1081
2548
  msgid "It looks like your server is running PHP version 7.4.x with an outdated PCRE library (libpcre2) that has a known issue with email address validation."
2549
  msgstr ""
2550
 
2551
+ #: src/Admin/Pages/TestTab.php:1082
2552
  msgid "There is a known issue with PHP version 7.4.x, when using libpcre2 library version lower than 10.33."
2553
  msgstr ""
2554
 
2555
+ #: src/Admin/Pages/TestTab.php:1085
2556
  msgid "Contact your web hosting provider and inform them you are having issues with libpcre2 library on PHP 7.4."
2557
  msgstr ""
2558
 
2559
+ #: src/Admin/Pages/TestTab.php:1086
2560
  msgid "They should be able to resolve this issue for you."
2561
  msgstr ""
2562
 
2563
+ #: src/Admin/Pages/TestTab.php:1087
2564
  msgid "For a quick fix, until your web hosting resolves this, you can downgrade to PHP version 7.3 on your server."
2565
  msgstr ""
2566
 
2567
+ #: src/Admin/Pages/TestTab.php:1122
2568
  msgid "An issue was detected."
2569
  msgstr ""
2570
 
2571
+ #: src/Admin/Pages/TestTab.php:1124
2572
  msgid "This means your test email was unable to be sent."
2573
  msgstr ""
2574
 
2575
+ #: src/Admin/Pages/TestTab.php:1128
2576
  msgid "Plugin settings are incorrect (wrong SMTP settings, invalid Mailer configuration, etc)."
2577
  msgstr ""
2578
 
2579
+ #: src/Admin/Pages/TestTab.php:1134
2580
  msgid "Your host is rejecting the connection."
2581
  msgstr ""
2582
 
2583
+ #: src/Admin/Pages/TestTab.php:1139
2584
  msgid "Triple check the plugin settings, consider reconfiguring to make sure everything is correct (eg bad copy and paste)."
2585
  msgstr ""
2586
 
2587
+ #: src/Admin/Pages/TestTab.php:1141
2588
  msgid "Contact your web hosting provider and ask them to verify your server can make outside connections. Additionally, ask them if a firewall or security policy may be preventing the connection - many shared hosts block certain ports.<br><strong>Note: this is the most common cause of this issue.</strong>"
2589
  msgstr ""
2590
 
2591
+ #: src/Admin/Pages/TestTab.php:1147
2592
  msgid "Try using a different mailer."
2593
  msgstr ""
2594
 
2595
+ #: src/Admin/Pages/TestTab.php:1184
2596
  msgid "There was a problem while sending the test email."
2597
  msgstr ""
2598
 
2599
+ #: src/Admin/Pages/TestTab.php:1201
2600
  msgid "Recommended next steps:"
2601
  msgstr ""
2602
 
2603
+ #: src/Admin/Pages/TestTab.php:1209
2604
  msgid "Need support?"
2605
  msgstr ""
2606
 
2607
  #. translators: %s - WPMailSMTP.com account area link.
2608
+ #: src/Admin/Pages/TestTab.php:1217
2609
  msgid "As a WP Mail SMTP Pro user you have access to WP Mail SMTP priority support. Please log in to your WPMailSMTP.com account and <a href=\"%s\" target=\"_blank\" rel=\"noopener noreferrer\">submit a support ticket</a>."
2610
  msgstr ""
2611
 
2612
+ #: src/Admin/Pages/TestTab.php:1234
2613
  msgid "WP Mail SMTP is a free plugin, and the team behind WPForms maintains it to give back to the WordPress community."
2614
  msgstr ""
2615
 
2616
  #. translators: %s - WPMailSMTP.com URL.
2617
+ #: src/Admin/Pages/TestTab.php:1241
2618
  msgid "To access our world class support, please <a href=\"%s\" target=\"_blank\" rel=\"noopener noreferrer\">upgrade to WP Mail SMTP Pro</a>. Along with getting expert support, you will also get Notification controls, Email Logging, and integrations for Amazon SES, Office 365, and Outlook.com."
2619
  msgstr ""
2620
 
2621
+ #: src/Admin/Pages/TestTab.php:1256
2622
  msgid "Additionally, you can take advantage of our White Glove Setup. Sit back and relax while we handle everything for you! If you simply don't have time or maybe you feel a bit in over your head - we got you covered."
2623
  msgstr ""
2624
 
2625
  #. Translators: %s - discount value $50
2626
+ #: src/Admin/Pages/TestTab.php:1263
2627
  msgid "As a valued WP Mail SMTP user, you will get <span class=\"price-off\">%s off regular pricing</span>, automatically applied at checkout!"
2628
  msgstr ""
2629
 
2630
  #. translators: %1$s - WP Mail SMTP support policy URL, %2$s - WP Mail SMTP support forum URL, %3$s - WPMailSMTP.com URL.
2631
+ #: src/Admin/Pages/TestTab.php:1279
2632
  msgid "Alternatively, we also offer <a href=\"%1$s\" target=\"_blank\" rel=\"noopener noreferrer\">limited support</a> on the WordPress.org support forums. You can <a href=\"%2$s\" target=\"_blank\" rel=\"noopener noreferrer\">create a support thread</a> there, but please understand that free support is not guaranteed and is limited to simple issues. If you have an urgent or complex issue, then please consider <a href=\"%3$s\" target=\"_blank\" rel=\"noopener noreferrer\">upgrading to WP Mail SMTP Pro</a> to access our priority support ticket system."
2633
  msgstr ""
2634
 
2635
+ #: src/Admin/Pages/TestTab.php:1298
2636
  msgid "Please copy the error log message below into the support ticket."
2637
  msgstr ""
2638
 
2639
+ #: src/Admin/Pages/TestTab.php:1303
2640
  msgid "View Full Error Log"
2641
  msgstr ""
2642
 
2643
+ #: src/Admin/Pages/TestTab.php:1307
2644
  msgid "Copy Error Log"
2645
  msgstr ""
2646
 
2647
+ #: src/Admin/Pages/TestTab.php:1310
2648
  msgid "Copied"
2649
  msgstr ""
2650
 
2651
+ #: src/Admin/Pages/TestTab.php:1336
2652
  msgid "The test email might have sent, but its deliverability should be improved."
2653
  msgstr ""
2654
 
2656
  msgid "Tools"
2657
  msgstr ""
2658
 
2659
+ #: src/Admin/Pages/VersusTab.php:41
2660
+ msgid "Lite vs Pro"
2661
+ msgstr ""
2662
+
2663
+ #. translators: %s - plugin current license type.
2664
+ #: src/Admin/Pages/VersusTab.php:72
2665
+ msgid "%s vs Pro"
2666
+ msgstr ""
2667
+
2668
+ #: src/Admin/Pages/VersusTab.php:80
2669
+ msgid "Get the most out of WP Mail SMTP by upgrading to Pro and unlocking all of the powerful features."
2670
+ msgstr ""
2671
+
2672
+ #: src/Admin/Pages/VersusTab.php:89
2673
+ msgid "Feature"
2674
+ msgstr ""
2675
+
2676
+ #: src/Admin/Pages/VersusTab.php:99
2677
+ msgid "Pro"
2678
+ msgstr ""
2679
+
2680
+ #: src/Admin/Pages/VersusTab.php:140
2681
+ msgid "Get WP Mail SMTP Pro Today and Unlock all of these Powerful Features"
2682
+ msgstr ""
2683
+
2684
+ #. Translators: %s - discount value $50.
2685
+ #: src/Admin/Pages/VersusTab.php:148
2686
+ msgid "Bonus: WP Mail SMTP Lite users get <span class=\"price-off\">%s off regular price</span>, automatically applied at checkout."
2687
+ msgstr ""
2688
+
2689
+ #: src/Admin/Pages/VersusTab.php:178
2690
+ msgid "Mailer Options"
2691
+ msgstr ""
2692
+
2693
+ #: src/Admin/Pages/VersusTab.php:179
2694
+ msgid "WordPress Multisite"
2695
+ msgstr ""
2696
+
2697
+ #: src/Admin/Pages/VersusTab.php:180
2698
+ msgid "Customer Support"
2699
+ msgstr ""
2700
+
2701
+ #: src/Admin/Pages/VersusTab.php:201
2702
+ msgid "Emails are not logged"
2703
+ msgstr ""
2704
+
2705
+ #: src/Admin/Pages/VersusTab.php:207
2706
+ msgid "Access to all Email Logging options right inside WordPress"
2707
+ msgstr ""
2708
+
2709
+ #: src/Admin/Pages/VersusTab.php:215
2710
+ msgid "No controls over whether default WordPress emails are sent"
2711
+ msgstr ""
2712
+
2713
+ #: src/Admin/Pages/VersusTab.php:221
2714
+ msgid "Complete Email Controls management for most default WordPress emails"
2715
+ msgstr ""
2716
+
2717
+ #: src/Admin/Pages/VersusTab.php:229
2718
+ msgid "Limited Mailers"
2719
+ msgstr ""
2720
+
2721
+ #: src/Admin/Pages/VersusTab.php:229
2722
+ msgid "Access is limited to standard mailer options only"
2723
+ msgstr ""
2724
+
2725
+ #: src/Admin/Pages/VersusTab.php:235
2726
+ msgid "Additional Mailer Options"
2727
+ msgstr ""
2728
+
2729
+ #: src/Admin/Pages/VersusTab.php:235
2730
+ msgid "Microsoft Outlook (with Office365 support), Amazon SES and Zoho Mail"
2731
+ msgstr ""
2732
+
2733
+ #: src/Admin/Pages/VersusTab.php:243
2734
+ msgid "No Global Network Settings"
2735
+ msgstr ""
2736
+
2737
+ #: src/Admin/Pages/VersusTab.php:249
2738
+ msgid "All Global Network Settings"
2739
+ msgstr ""
2740
+
2741
+ #: src/Admin/Pages/VersusTab.php:249
2742
+ msgid "Optionally configure settings at the network level or manage separately for each subsite"
2743
+ msgstr ""
2744
+
2745
+ #: src/Admin/Pages/VersusTab.php:257
2746
+ msgid "Limited Support"
2747
+ msgstr ""
2748
+
2749
+ #: src/Admin/Pages/VersusTab.php:263
2750
+ msgid "Priority Support"
2751
+ msgstr ""
2752
+
2753
  #: src/Admin/Review.php:120
2754
  msgid "Are you enjoying WP Mail SMTP?"
2755
  msgstr ""
2913
  msgid "Upgrade functionality not available!"
2914
  msgstr ""
2915
 
2916
+ #: src/Conflicts.php:307
2917
+ msgid "Or disable the Sendinblue email sending setting in WooCommerce > Settings > Sendinblue (tab) > Email Options (tab) > Enable Sendinblue to send WooCommerce emails."
2918
+ msgstr ""
2919
+
2920
+ #. translators: %1$s - Plugin name causing conflict.
2921
+ #: src/Conflicts.php:427
2922
+ msgid "Heads up! WP Mail SMTP has detected %1$s is activated. Please deactivate %1$s to prevent conflicts."
2923
  msgstr ""
2924
 
2925
  #: src/Connect.php:55
2971
  msgstr ""
2972
 
2973
  #. translators: %1$s - WP Mail SMTP plugin name; %2$s - WPMailSMTP.com URL to a related doc.
2974
+ #: src/Core.php:393
2975
  msgid "Your site is running an outdated version of PHP that is no longer supported and may cause issues with %1$s. <a href=\"%2$s\" target=\"_blank\" rel=\"noopener noreferrer\">Read more</a> for additional information."
2976
  msgstr ""
2977
 
2978
+ #: src/Core.php:407
2979
  msgid "<strong>Please Note:</strong> Support for PHP 5.5 will be discontinued in 2021. After this, if no further action is taken, WP Mail SMTP functionality will be disabled."
2980
  msgstr ""
2981
 
2982
  #. translators: %s - plugin name and its version.
2983
+ #: src/Core.php:441
2984
  msgid "<strong>EMAILING DISABLED:</strong> The %s is currently blocking all emails from being sent."
2985
  msgstr ""
2986
 
2987
  #. translators: %1$s - constant name; %2$s - constant value.
2988
+ #: src/Core.php:452
2989
  msgid "To send emails, change the value of the %1$s constant to %2$s."
2990
  msgstr ""
2991
 
2992
  #. translators: %s - plugin Misc settings page URL.
2993
+ #: src/Core.php:463
2994
  msgid "To send emails, go to plugin <a href=\"%s\">Misc settings</a> and disable the \"Do Not Send\" option."
2995
  msgstr ""
2996
 
2997
  #. translators: %s - plugin name and its version.
2998
+ #: src/Core.php:507
2999
  msgid "<strong>EMAIL DELIVERY ERROR:</strong> the plugin %s logged this error during the last time it tried to send an email:"
3000
  msgstr ""
3001
 
3002
+ #: src/Core.php:537
3003
  msgid "Consider running an email test after fixing it."
3004
  msgstr ""
3005
 
3009
  msgstr ""
3010
 
3011
  #. translators: %1$s - constant that was used; %2$s - file where it was used.
3012
+ #: src/Options.php:1179
3013
  msgid "The value of this field was set using a constant %1$s most likely inside %2$s of your WordPress installation."
3014
  msgstr ""
3015
 
3016
+ #: src/Pro/Emails/Logs/Admin/SinglePage.php:257
3017
  msgid "Error icon"
3018
  msgstr ""
3019
 
assets/vue/js/wizard.min.js CHANGED
@@ -1 +1 @@
1
- (function(t){function e(e){for(var s,o,r=e[0],l=e[1],c=e[2],m=0,u=[];m<r.length;m++)o=r[m],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&u.push(a[o][0]),a[o]=0;for(s in l)Object.prototype.hasOwnProperty.call(l,s)&&(t[s]=l[s]);p&&p(e);while(u.length)u.shift()();return n.push.apply(n,c||[]),i()}function i(){for(var t,e=0;e<n.length;e++){for(var i=n[e],s=!0,r=1;r<i.length;r++){var l=i[r];0!==a[l]&&(s=!1)}s&&(n.splice(e--,1),t=o(o.s=i[0]))}return t}var s={},a={wizard:0},n=[];function o(e){if(s[e])return s[e].exports;var i=s[e]={i:e,l:!1,exports:{}};return t[e].call(i.exports,i,i.exports,o),i.l=!0,i.exports}o.m=t,o.c=s,o.d=function(t,e,i){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},o.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(o.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var s in t)o.d(i,s,function(e){return t[e]}.bind(null,s));return i},o.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="http://localhost:8080/";var r=window["wpmailsmtpjsonp"]=window["wpmailsmtpjsonp"]||[],l=r.push.bind(r);r.push=e,r=r.slice();for(var c=0;c<r.length;c++)e(r[c]);var p=l;n.push([0,"chunk-vendors"]),i()})({0:function(t,e,i){t.exports=i("9f7c")},"107e":function(t,e,i){t.exports=i.p+"img/long-arrow-alt-right-regular.svg"},1532:function(t,e){t.exports="data:image/png;base64,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"},"1f7f":function(t,e,i){"use strict";i("e8f2")},"1fa5":function(t,e,i){t.exports=i.p+"img/long-arrow-alt-left-regular.svg"},"29b8":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAQKADAAQAAAABAAAAQAAAAABlmWCKAAALjklEQVR4Ad1ba2wU1xU+M7uzfmAMpODFCQ8H8IMCogpKGrVSZKlpEqQQF8jKNmlTaByaJuRHErUhIT+o8iNNU9oqTZSSKkU0kbEzsgNOIiW/CmklmkqOEI2KxdMYiL2AAdevxbsz0+/c2bter3dt78yujX2l2fs+93znnnPvuXdmFcpwsIgUSfL0+vWzZxcWLiFFWWYZxjqyrDJUVqB+IdIFsp2IFaXftKwu1LeRx3NSUZTWsKqeG4pEzi/T9f/JtqjHEJkLMWbdkpTAmcELmzeX+jRtF8q2gK4WpW0gZuZ5TPlEq0TEdfLhek+0MoxYN8PhV29vampDA67jH27rOghibqgwQ8xM+6ZNxbma9gxyP0K+DOUqZllF3kKsIE5vLMuy4vqaCvKgeQrPxxHTfHOxrl+SY7vhPz2m4kbiwTnbVVOzFMz9HMlf4CkE02YUuGPaTHdUsAVi0ybqx/h7VaJ3ihobz3JbDIai9IMjJhl867p13ttLS59QLetPAO0BaNYFR/TSZjuqHRC8Cbv65TenT7+9rrU14kQIaTPMMDs3by73aFo90qsB3DtpwBMlZQsiguKTEct67I7GxuPpCgFaNPEgwFdXb/d4vUeRXjul4Jlt1jieAKKVmqIcCVZX72AeJ45ogo0F0UBA61LVP2DMp6IDpCW8dJhy2NYU/Sxr/2Aw+HTJ4cM3J6IN40qLwbdXVubk+f1NkPgPp3zWx5KO2CjIwCT9fcgwqhbpOgvBFkyKfmPOIoOHM+PL9fs/APgHb2nwDNBehD3g+weax6O3b93qE9qbArzokqpOgocn1wzCD6HdmMJKRWcKy9nx+qffMNaTrodSmcNYoJTZc+b8Lqr245rKFAJNPjQ7YUTfC6rqm4hT8p9UADz7wZqabej49C2v9snh2+Zgb9E/A5aUu8MoyTD4K1u2rDAN49+Y/ULQTyqkVOPeguW8CPbhoHVvcWNjGwAD4nAYAY7BU2WlxzDNAwA/G81G1A93m1YpxlCgKkrzxUAgV2CMY38UwCt+/08gpTVQ/VF1cf2mV5IPY0TLNVWtS2Q8ZgIsmW+qqhZ58vJOoxF7VzNHADZqNoWIEg6vLGpqOidNYQRIT27u41HwMcHYfWfEL2P1ml6v9GQFKAGUZ//Sxo23eXNy2lB6G54RghEtZ8KP7Slet0yzYqGuX2UtiAHVNG3HjAbPE8ieoqLMxZXbrzjHRSrPPkvCUtWNXOA2gB5ZfEjLxuOWuWh/zHoVBQJexs6LHXVv2rRoyLIqIAiWkONhcPFJSn4+acuWgbIg7ZhWYkdraIjCZ8+SdfMmKWpMcRObjZ/HjoDJWdphmqVLiP7LXCoRn28nYIv0+BSSt4BdUf6DD1JBbS2peXnJG7ksNXt7qff992nwyBFSPPLONE2i0QNTjqY9j551yoVAIA8npyswgnxhI2nSE82hNb7Vq2nezp22QUkaLrRJkgBfsaRIg2Y3xglfuEC4EhuuSydlL4aDqmn61Tyvdyn6zgJ4h9Rg81DPvPvvHwmeGWIGnTIp+3MsQ1T18x/C4RQa5zLkRVS1TA2b5p2CkO0tOaMJZtRZs6JkLBr47DPq3rWLQl99BfwOhYB+bFaDX3xB3S+/LGLOc1ALcfnsRrCCCugoSinf3a9B3nSs/lFiImKmsBD2HTpEkY4OuvHaaxQ6fJisMN5tTFQQ3A5AebHrP3iQet56iyJQ974PPxS0XWmU5NXeDvl9xRoVDK8WApCVbmK2eSxOnvnzbRXVNOrZu5euv/46mYODNuXoLCYdJloXCQap+5VXqE/XsTRjbY5EyFtcLGi72aUSxjTZIVLBcmlChfMsBAB6VPDoo6TwTgDGebUe+vpruvrss2IWjatXh7VBakU0Dp8/Tz3vvkvdL75IkYsX7e2OaUDlC2pqbM/FOXeJPZnVO9kZmIMUZzITsFDlrF1L8/fsod4DB+jml1+SFQqRNTBAfU1N1N/SQr677qJcPJ6iImLfwbh0iUJHj9LQiRP29iZ3D2hQ3n330WyAV+fOtfljYWUoYB2Zy3v/YjyZE0CUOXXOHCp8CueObdto4PPPqb+5mawbN+B8qzR07BgNtbYK8DywBTUXZonYgqkoWFALqqoo/5FHSPH5MrI8RdkajuzjfpE3ijyzAojOoFipc3Jo1oYNlPfAAxSBiodPnRIzbXR2ktnfL8xBzc0l78KFpJWXk1ZRQVpJCanwKGP2LjVimH33KZum7Qq7p5aCgmQcMYP0lZWRDyBnPfyw6CC3yKSureybgnSmitkEJicwIAkqutrHgEu7lvWTwxGPYvEieAGslSHj0LlOk1uANeDTD3zyCYXPnRPbpVZaKsxEOFOTJwTck1pB/oDhBksiTRjOmgP8zePHqfuFF8RpsXD7diqsqxO7xNXnnqOh07iNG8tPcDZqql4WqWqPFwdL/uri7lStMl2uYC2YB9eWFzoZCrdupdx77hm5BcrKbMaKcsZrqiq/U/9xNseJ0YZ680Io3FlWdanu0AzfypV2XpbFOmUtwdp/wosDwX+gAXwm4G9ywFWWQzxwOVSyMlmXjVhsP/B9gJ0PmO1iDBfHYdgSmX199sxmg+F4mpgns6dHXLnFFztJ4/OeU2pfMNiBaQdF8fLACR3hrfERWIRsLmJwm3ny+j/9dNh8HHEsOvUZAwOnPH9sbzf7V636FtThuyh2fNlm4ARnXL9O2ooVwulxzlfynrxNmdeuUe9774nDVcyHSN587FJ8yQZ6+4qbm1v4GkjpCwTm93s8HRBvjpt1gC8smDHvokX20XVsNtKrxeyHccfAwRV4e60Lq4axaoGunxECgAlYndXVrVgDvwP6jrWAmeOZymbIwCrN10onuw1j7bd1Pcz3AbAqLGOW1ZgJxpnBbD6Z4BF4dYAX3xXK2bbUUOgdEL+Cx/VtYyaYzBINxnYtFAr9HrFQViEA1oL5LS19OL7uiVZkW5OzhG9MshLTn0sOHuxhzNxaaoDoqYbDH8Ag+PJONhblM+SHMQ3iy5e/xOOJCUBoQXNzF14bbUODsNhw41tO57Tt+UUggR3Fus6n39gExwTA+LjiH4bxEZLHsB3OnLUAXi4Qn7lmGPWJ8wjMIwMaKp1btizBa6N/oaYIzwghjWw9LXL8iX03bqfvLaqvj30ZIjkfBY61oLi+vgMa8Dw68sfIMXWRnaZNLHlXlJeSgWccowTAhSwE/4EDjYh3QxCRaSkE2+Nju3/D39CwjzExtsSQVADcCB3MItP8DeL6abkeYA1TTPNQxDB+zVgSgct8SgEIIej60BHDeALpRmiBfRSTPW/VmGcevGLZO3jEsmrwxXhoLFYhnLEDL4pooVyurd0H2rUgPnX/EBmbVSg5wLPJEn3kr6iopd27+YyfVPUlqTE1gBsxATxmUSTyJOJXox1TqpQkPAWxzZNl/XYwN/enyu7d5njgmUe0mXhgbcCHx7Xo8Qakjde1CJNxjSYGSvFjzzrPfhDXey8taGjYPxHgklpaAuBOLIQrgYDf9Hg+xqD8bQG/vOOqtGlxJxeBbZ2vxsJQ4zbDMDYkenkToT2uCSQSYekW6XoXztPfx8XEYxAIv1fgMJlmwc4NK98NPFuvGsbdTsAz065mjbUBi2MRXmY8jpl4BvT4TTOrI9+4uqIt6MT/2KqOIREsqxP3F2+HVHX/4oaGTp6U+KbppF0zyUJgBi4HAgUwiyfB3DaULQf+HDDCnqQ9RnpmItRbALFvqzmPDwSVc7h2+5sXdxcLWlp65djpAE5s61oA8QTBkEqVlerFBQv8PkWpwz1THSbujlgb+4CFZjHNk+NzGQe7Lu5TfQiyE4V/jXg8e7va2oL4h6iBThkzN8mAPXwGfsGs0AiO+e+1S8rLS/CvzuU4XJVDGBUwl6VoUcJDwVmZJyJFucZ5hPMAfB7fGbXxwgZP7uxl02znuzswCqu3adtNM/P7fzVZgkVauHi3AAAAAElFTkSuQmCC"},"2adc":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAIKADAAQAAAABAAAAIAAAAACPTkDJAAADyklEQVRYCbVXa0hTURz/nW0+Ssc0zdIQDR+RFoGGFFkolYkUZCJYIfSgiB4U1Kc+mN8qUnp8KAjC3g+KRZRlKZSlZUGZZaa23maumWXTzW262zkrL9vuPdPpdi6Xc87/8fv/7rn3f87/EvxrJPFwVgEBWQQiBPyX+aUjEOxDdvLsfavxIk4+txEWJelI1iUavMgvETmggiDUBvYackhSedZyoiQ3OXZ+FdsFYbuCKJDp1ygewOnyz1cIBEEebESVJkgtjn01IARKlRyYSqFCalQS0qJnIS2G3tGpiJgYjr01h6BtqZJzGbNMQkBJ38nt4grEhU2TgG6euxrXW+5CoJevmsIdKFgVLBuc2U0Pj0Vm3Fx3l3HNJQTMg2bYBTsXtHhOPlc3FoWEAE0NdPf3cLEWxmcgTiN9PVyHERQSAsz+46+vXDeWt/kpy7h6bxWyBF7r27k4A4MWPPvWxNV7q5Al8LSjURany2jA2qs78fjLc1n9WISSNGQgDZSA0dIHdVCoiPnu5yes1+6BwcT/PkRjLwayK2AdsqGy7b4LTPgEDfptZheZLyayBBjwuSatSzpG0p1wa0axL2K6YHAJ6Ho+4057rYvxhrRCpMfMdpGNd8IlwIDL6k/CbBsQYygVShzL24dp6imibLwDjwQ6jXoHCecgkSGTcKagHDEcEjMnJ2JTehGi1VHObtyxMiI3PpdWQ/N4Fq/0rUiOmI7EiDjRRBOsRl5SNhq/v0FXn0GUs5W5UHgUixMWgG3ZMyIT0E2zhj0IpzWPSIA5Pvj4BPNj0zBVPVnECQmcSHfEHATQE72pq4X2AajIL0OsJsZhw3ZMRnpVSi6WJmTCZDWj7ecH0f//oJnQevAwXYFd7hr3OdsTTq08iDlTZ7qrwDaob/Qp02nt4KktrliDjj9dTibCZY/fgJOlY2Nap92Nal2ds9gxZiszUnDLoBX6vm6J76gJME8TzYgdlSXY//A42JngTXutb4PNPihx8YoA82a10OnGa1hxfiNq3teBltcSUDnBi+/NcmJ4TWAY5UtvJ7bdKkHB5S248fYeBmyeV+RFpzyBUWXBcFC53kCLl2q6EmdfavH2hw69FiMILXdDaZawzGDtz4ARBx6dgGXI6g7RLHsauluNZm6iB1WVrtZxD9urA0MQGhTi+ID7rKZhsUuvIgIscPyguch9MjFa+8FuXqP/JEMKWgPW8wz8LbcLaGDPTpKPZF+hfaG/Azrj0+ypE5QdS/4tfikUyWFZhTSjsunrGNWvmjOYN2MBxEaT+anut+EcSt9Y/wKYPTFLjUA+DAAAAABJRU5ErkJggg=="},"2bc2":function(t,e,i){t.exports=i.p+"img/zoho.svg"},"2cf42":function(t,e){t.exports="data:image/png;base64,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"},"2db4":function(t,e,i){t.exports=i.p+"img/outlook.svg"},"31f1":function(t,e,i){var s={"./amazonses.svg":"7de8","./gmail.svg":"ddc9","./mailgun.svg":"776b","./outlook.svg":"2db4","./sendgrid.svg":"b1c2","./sendinblue.svg":"7f3e","./smtp.svg":"5f30","./smtpcom.svg":"78cb","./zoho.svg":"2bc2"};function a(t){var e=n(t);return i(e)}function n(t){if(!i.o(s,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return s[t]}a.keys=function(){return Object.keys(s)},a.resolve=n,t.exports=a,a.id="31f1"},"3af1":function(t,e,i){t.exports=i.p+"img/check-solid.svg"},"3dce":function(t,e,i){t.exports=i.p+"img/loading-white.svg"},"4bd8":function(t,e,i){t.exports=i.p+"img/logo.svg"},"4e2d":function(t,e,i){t.exports=i.p+"img/times-solid.svg"},"50bf":function(t,e,i){t.exports=i.p+"img/arrow.svg"},5711:function(t,e,i){var s={"./loading-blue.svg":"8e56","./loading-white.svg":"3dce","./loading.svg":"8e57"};function a(t){var e=n(t);return i(e)}function n(t){if(!i.o(s,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return s[t]}a.keys=function(){return Object.keys(s)},a.resolve=n,t.exports=a,a.id="5711"},"5f30":function(t,e,i){t.exports=i.p+"img/smtp.svg"},"6f43":function(t,e,i){t.exports=i.p+"img/star-solid.svg"},"776b":function(t,e,i){t.exports=i.p+"img/mailgun.svg"},"78cb":function(t,e,i){t.exports=i.p+"img/smtpcom.svg"},"7c9b":function(t,e,i){var s={"./all-in-one-seo-pack@2x.png":"2cf42","./coming-soon@2x.png":"9f86","./google-analytics-for-wordpress@2x.png":"82f2","./instagram-feed@2x.png":"877f","./rafflepress@2x.png":"a1c2","./wp-call-button@2x.png":"1532"};function a(t){var e=n(t);return i(e)}function n(t){if(!i.o(s,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return s[t]}a.keys=function(){return Object.keys(s)},a.resolve=n,t.exports=a,a.id="7c9b"},"7de8":function(t,e,i){t.exports=i.p+"img/amazonses.svg"},"7f3e":function(t,e,i){t.exports=i.p+"img/sendinblue.svg"},"827a":function(t,e,i){t.exports=i.p+"img/exclamation-circle-solid.svg"},"82f2":function(t,e,i){t.exports=i.p+"img/google-analytics-for-wordpress@2x.png"},8398:function(t,e,i){t.exports=i.p+"img/working.svg"},8475:function(t,e,i){t.exports=i.p+"img/question-circle-solid.svg"},"84d7":function(t,e,i){t.exports=i.p+"img/info-circle-solid.svg"},"877f":function(t,e,i){t.exports=i.p+"img/instagram-feed@2x.png"},"87eb":function(t,e,i){t.exports=i.p+"img/pro-badge.svg"},8888:function(t,e,i){t.exports=i.p+"img/post-smtp-mailer.png"},"8cbb":function(t,e,i){"use strict";i("da18")},"8d41":function(t,e){t.exports="data:image/png;base64,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"},"8e56":function(t,e,i){t.exports=i.p+"img/loading-blue.svg"},"8e57":function(t,e,i){t.exports=i.p+"img/loading.svg"},"9a1d":function(t,e,i){t.exports=i.p+"img/check-circle-solid.svg"},"9da7":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAA7DAAAOwwHHb6hkAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAABKdJREFUWIWtl11sFFUUx39ndqf0C0EhiKVluy01ARuoxMRo1CBBIqKRqNV2C4Sg8cGowQcViUFtFOmDCSYaE9SEqN0tluiDIRBBosYHQlBDowbSwu62fNTKh/JRSnd3jg9TdruzMzsN8H+79/zP+f/vzZ17zwgTRfNAGSWZh1FZCtoI3A6YwBRgECGBcghhD6R+oLPh/ETKii9j9dHZpAPrgVVA5QTtXgS2kTG2sH320Wsz0PxnCWZ5O8grQMkEhZ24gmgHZ9Ob2NVwZeIGVg7Mwcp8Ddx5jcJO9GClH6VrzoC/gdbkHRi6F2XmDRK/ipOotYxYXc/4SSOPsioRRvRHT3HlBOiHwBGXaA8q7wP9HgaqEGMXLX017gbWxEvJsAOY7lGgn3SggWh4HYb1ODAyLnaJACuIhTZQWTIXYdDbRPA7lvVOKjSQMt4CFnok2tzumssAfFV3BGUxIq+jvAbWYr6sjQOwtWoYJehZRVjAzcE3ckOASLIO9C9gklceoJRoOdvCI0U40NZ7E2r+V5QDV0DmEQ0ds3dAdb2POKhs9hUH6Gw4j8hmH9YkRNcBCKsGK8iMnAImOxR7QXqBeajEiIU2+IqPR1viXZSngB6ERpS5DsYFSkdmCa3JpxHd7ghmwKonWpd0L368mlEdprvmLGAf4FGrhmh9ryu/JV6LIX1AwLHIFQaG3ueS8runOICmOzDTL2fHo8ZjENjhye8KJ4CegnmRpQYqd7ukNNGWWOtZEEwQM1dITQTTnapCJPEisKAwxIIgaJVLVhDlc1qT1cRC7dnZRRqkKnk/yK2IpokklwBg0YhoBZHkElJl++mecTGbE0m2A296LCQUBKZ5rlM0/y2ojtdjGftAQQG01eZll7QHc/hJ4JtxWY2e9WGaQcHBuE6o431R26oHUgbg1Tgowt58ejDtayBgpPLGhuwCLA/2ZQPkmFsA1UforP04b3bKUD+QcuHnoNqXN+4MfYrqYuwmxQE5YqB6qLAIR4mFdxfMb70rBXQXkf+VhtmHC2Zj4Z9QCjsj0T8MRPcVBmgkEm9ylbCMV4FCERgCfY63Jbfda+KlAETiTQjzCzJUvxfWHp7MSOkgUO4InwZOAnMR/ZaKMyvHdgCaB27BtF4C3YD9DXxEMLOFL+rtXuD5gyYXpkcRngD6gBnAVEf9i6QCM8Zew8RnwLOuK86hi2goApI71W2JUygW0dpZecxIIga0+NT7hGjtC2P9QKYDv8MFLbT1Tfbh2O07POPDGkGCm+BqQxKt70XY4pN0Mq/Xbx4oQ5kCTB0TtWE3LfGilYQP6Kw+njMAYOpGYH+RtFJa+u1ru3mokmCmEygDyjGtGGsP27tjc4rt1EEqTr+T8zIeKxO3YXEAqPZIHgZ2Y7frYUesH/vFewiv5kY5gcgDREPZu8elLT82HzF2FjFxrfgb1UXEwnmfsFFAi9X1kEotBPn5Bor/RoB7nOLuBgC6G/7h3OhSRNuBS9chfBnhPc6l7s12zQ74/5w2x2diykZgNVAxQeF/EaIEMh3Zy8kD/gayRoYqKbm0HIwHQZtQwti3WxrkDOhx0AOI8Qujxs7sP4QP/gdLfYuNd8XCxgAAAABJRU5ErkJggg=="},"9f7c":function(t,e,i){"use strict";i.r(e);i("e260"),i("e6cf"),i("cca6"),i("a79d");var s=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"wp-mail-smtp-admin-page"},[s("router-view"),t.blocked?s("div",{staticClass:"wp-mail-smtp-blocked"}):t.loading?s("div",{staticClass:"wp-mail-smtp-loading"},[s("inline-svg",{staticClass:"icon",attrs:{src:i("c869"),width:"195"}})],1):t._e()],1)},a=[],n=i("5530"),o=i("8c4f"),r=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"wp-mail-smtp-welcome"},[s("the-wizard-header"),s("div",{staticClass:"wp-mail-smtp-setup-wizard-container"},[s("main",{staticClass:"wp-mail-smtp-setup-wizard-content"},[s("div",{staticClass:"wp-mail-smtp-setup-wizard-content-container"},[s("content-header",{attrs:{title:t.text_header_title,subtitle:t.text_header_subtitle}}),s("button",{staticClass:"wp-mail-smtp-button wp-mail-smtp-button-main wp-mail-smtp-button-large",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.nextStep(e)}}},[s("span",{staticClass:"text-with-arrow text-with-arrow-right"},[t._v(" "+t._s(t.text_button)+" "),s("inline-svg",{staticClass:"icon",attrs:{src:i("107e"),width:"16",height:"22"}})],1)])],1)]),s("footer",[s("p",{staticClass:"wp-mail-smtp-exit-link"},[s("a",{attrs:{href:t.exit_href}},[t._v(t._s(t.text_exit_link))])])])])],1)},l=[],c=(i("cc99"),i("561c")),p=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wp-mail-smtp-content-header"},[i("h2",{domProps:{innerHTML:t._s(t.title)}}),t.subtitle?i("p",{staticClass:"subtitle",domProps:{innerHTML:t._s(t.subtitle)}}):t._e()])},m=[],u={name:"ContentHeader",props:{title:String,subtitle:String}},d=u,_=i("2877"),f=Object(_["a"])(d,p,m,!1,null,null,null),h=f.exports,g=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("header",{staticClass:"wp-mail-smtp-setup-wizard-header"},[s("h1",{staticClass:"wp-mail-smtp-setup-wizard-logo"},[s("div",{staticClass:"wp-mail-smtp-logo"},[s("img",{staticClass:"wp-mail-smtp-logo-img",attrs:{src:i("4bd8"),alt:t.text_logo_alt}})])])])},w=[],b={name:"TheWizardHeader",data:function(){return{text_logo_alt:Object(c["a"])("WP Mail SMTP logo","wp-mail-smtp")}}},A=b,v=Object(_["a"])(A,g,w,!1,null,null,null),x=v.exports,y={name:"SetupWizardWelcome",components:{ContentHeader:h,TheWizardHeader:x},data:function(){return{text_header_title:Object(c["a"])("Welcome to the WP Mail SMTP Setup Wizard!","wp-mail-smtp"),text_header_subtitle:Object(c["a"])("We’ll guide you through each step needed to get WP Mail SMTP fully set up on your site.","wp-mail-smtp"),text_button:Object(c["a"])("Let's Get Started","wp-mail-smtp"),text_exit_link:Object(c["a"])("Go back to the Dashboard","wp-mail-smtp"),exit_href:this.$wpms.exit_url}},methods:{nextStep:function(){this.$router.push({name:this.$wizard_steps[0]})}}},C=y,k=Object(_["a"])(C,r,l,!1,null,null,null),O=k.exports,j=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wp-mail-smtp-step"},[i("the-wizard-header"),i("the-wizard-timeline"),i("div",{staticClass:"wp-mail-smtp-setup-wizard-container"},[i("main",{staticClass:"wp-mail-smtp-setup-wizard-content"},[i("router-view",{on:{displayContentBelow:t.displayContentBelow}})],1),i("footer",[t.content_below.length>0?i("div",{staticClass:"wp-mail-smtp-step-below-content",domProps:{innerHTML:t._s(t.content_below)}}):t._e(),t.display_exit_link?i("p",{staticClass:"wp-mail-smtp-exit-link"},[i("a",{attrs:{href:t.exit_href}},[t._v(t._s(t.text_exit_link))])]):t._e()])])],1)},S=[],P=(i("caad"),i("b0c0"),i("d3b7"),i("2532"),i("3ca3"),i("ddb0"),function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"wp-mail-smtp-setup-wizard-container"},[s("div",{staticClass:"wp-mail-smtp-setup-wizard-timeline"},[t._l(t.steps,(function(e,a){return[a>0?s("div",{key:a+"line",class:t.lineClass(a)}):t._e(),s("div",{key:a,class:t.stepClass(a)},[s("inline-svg",{staticClass:"icon icon-success",attrs:{src:i("3af1"),width:"10",height:"10"}}),s("inline-svg",{staticClass:"icon icon-failed",attrs:{src:i("4e2d"),width:"8",height:"11"}})],1)]}))],2)])}),E=[],T=(i("c740"),{name:"TheWizardTimeline",data:function(){return{steps:this.$wizard_steps}},methods:{stepClass:function(t){var e=this,i="wp-mail-smtp-setup-wizard-timeline-step",s=this.steps.findIndex((function(t){return e.$route.name.includes(t)}));return(t<s||parseInt(s)===this.steps.length-1&&this.$route.name.includes("_success"))&&(i+=" wp-mail-smtp-setup-wizard-timeline-step-completed"),t===s&&parseInt(s)===this.steps.length-1&&this.$route.name.includes("_failure")&&(i+=" wp-mail-smtp-setup-wizard-timeline-step-failed"),parseInt(t)===parseInt(s)&&(i+=" wp-mail-smtp-setup-wizard-timeline-step-active"),i},lineClass:function(t){var e=this,i="wp-mail-smtp-setup-wizard-timeline-step-line",s=this.steps.findIndex((function(t){return e.$route.name.includes(t)}));return t<=s&&(i+=" wp-mail-smtp-setup-wizard-timeline-line-active"),i}}}),z=T,B=Object(_["a"])(z,P,E,!1,null,null,null),I=B.exports,M={name:"SetupWizardSteps",components:{TheWizardHeader:x,TheWizardTimeline:I},data:function(){return{text_exit_link:Object(c["a"])("Close and exit the Setup Wizard","wp-mail-smtp"),exit_href:this.$wpms.exit_url,content_below:""}},computed:{display_exit_link:function(){return!this.$route.name.includes("check_configuration_step")}},methods:{displayContentBelow:function(t){this.content_below=t}},mounted:function(){var t=this;this.$store.dispatch("$_app/start_loading"),Promise.all([this.$store.dispatch("$_settings/getSettings"),this.$store.dispatch("$_plugins/getPlugins")]).finally((function(){t.$store.dispatch("$_app/stop_loading")}))}},D=M,F=Object(_["a"])(D,j,S,!1,null,null,null),N=F.exports,Q=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"wp-mail-smtp-setup-wizard-step wp-mail-smtp-setup-wizard-step-import"},[s("div",{staticClass:"wp-mail-smtp-setup-wizard-content-container"},[s("the-wizard-step-counter"),s("content-header",{attrs:{title:t.text_header_title,subtitle:t.text_header_subtitle}}),s("div",{staticClass:"wp-mail-smtp-setup-wizard-form"},[s("form",[s("div",{staticClass:"wp-mail-smtp-setup-wizard-form-row"},[s("settings-input-radios-with-icons",{attrs:{name:"import_from_plugin",options:t.options},model:{value:t.selectedImport,callback:function(e){t.selectedImport=e},expression:"selectedImport"}})],1)])])],1),s("div",{staticClass:"wp-mail-smtp-separator wp-mail-smtp-separator-no-margin"}),s("div",{staticClass:"wp-mail-smtp-setup-wizard-step-footer"},[s("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.previousStep(e)}}},[s("span",{staticClass:"text-with-arrow text-with-arrow-left"},[s("inline-svg",{staticClass:"icon",attrs:{src:i("1fa5"),width:"16",height:"18"}}),t._v(t._s(t.text_previous_step)+" ")],1)]),s("div",{staticClass:"wp-mail-smtp-setup-wizard-step-footer-buttons"},[s("button",{staticClass:"wp-mail-smtp-button",attrs:{type:"button",name:"skip_step"},domProps:{textContent:t._s(t.text_skip)},on:{click:function(e){return e.preventDefault(),t.nextStep(e)}}}),s("button",{staticClass:"wp-mail-smtp-button wp-mail-smtp-button-main",attrs:{type:"submit",name:"next_step",disabled:null===t.selectedImport},on:{click:function(e){return e.preventDefault(),t.handleSubmit(e)}}},[s("span",{staticClass:"text-with-arrow text-with-arrow-right"},[t._v(" "+t._s(t.text_save)+" "),s("inline-svg",{staticClass:"icon",attrs:{src:i("107e"),width:"16",height:"19"}})],1)])])])])},L=[],W=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"wp-mail-smtp-input-radios-with-icons"},t._l(t.options,(function(e){return s("label",{key:e.value,class:t.labelClass(e),attrs:{for:"wp-mail-smtp-settings-radio-"+t.name+"["+e.value+"]"},on:{click:function(i){return t.clicked(e)}}},[s("span",{class:t.titleClass(e.value)},[s("inline-svg",{staticClass:"icon",attrs:{src:i("3af1"),width:"16",height:"16"}})],1),e.logo.length?s("img",{staticClass:"wp-mail-smtp-logo-icon",attrs:{src:e.logo,alt:e.label}}):t._e(),s("input",{directives:[{name:"model",rawName:"v-model",value:t.selectedImport,expression:"selectedImport"}],attrs:{id:"wp-mail-smtp-settings-radio-"+t.name+"["+e.value+"]",type:"radio",name:t.name,autocomplete:"off",disabled:e.disabled||!1},domProps:{value:e.value,checked:t.isChecked(e.value),checked:t._q(t.selectedImport,e.value)},on:{change:function(i){t.selectedImport=e.value}}}),s("span",{staticClass:"wp-mail-smtp-styled-radio-text",domProps:{innerHTML:t._s(e.label)}}),e.is_pro?s("inline-svg",{staticClass:"wp-mail-smtp-pro-badge",attrs:{src:i("87eb"),width:"46",height:"26"}}):t._e()],1)})),0)},U=[],H={name:"SettingsInputRadiosWithIcons",props:{options:Array,name:String,value:String},data:function(){return{has_error:!1}},computed:{selectedImport:{get:function(){return this.value},set:function(t){this.$emit("input",t)}}},methods:{titleClass:function(t){var e="wp-mail-smtp-styled-radio";return this.isChecked(t)&&(e+=" wp-mail-smtp-styled-radio-checked"),e},labelClass:function(t){var e="";return this.isChecked(t.value)&&(e+=" wp-mail-smtp-styled-radio-label-checked"),t.disabled&&(e+=" wp-mail-smtp-styled-radio-label-disabled"),t.readonly&&(e+=" wp-mail-smtp-styled-radio-label-readonly"),e},isChecked:function(t){return t===this.selectedImport},clicked:function(t){t.disabled&&this.$emit("clicked-disabled",t)}}},R=H,G=(i("8cbb"),Object(_["a"])(R,W,U,!1,null,"1652957d",null)),V=G.exports,Y=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("p",{staticClass:"wp-mail-smtp-setup-wizard-step-count"},[t._v(" "+t._s(t.stepValue)+" ")])},J=[],K={name:"TheWizardStepCounter",computed:{stepValue:function(){var t=this,e=this.$wizard_steps.findIndex((function(e){return t.$route.name.includes(e)}))+1;return Object(c["c"])(Object(c["a"])("Step %1$s of %2$s","wp-mail-smtp"),e,this.$wizard_steps.length)}}},q=K,Z=(i("1f7f"),Object(_["a"])(q,Y,J,!1,null,"44fd4a93",null)),X=Z.exports,$={name:"WizardStepImport",components:{SettingsInputRadiosWithIcons:V,ContentHeader:h,TheWizardStepCounter:X},data:function(){return{text_header_title:Object(c["a"])("Import data from your current plugins","wp-mail-smtp"),text_header_subtitle:Object(c["a"])("We have detected other SMTP plugins installed on your website. Select which plugin's data you would like to import to WP Mail SMTP.","wp-mail-smtp"),text_save:Object(c["a"])("Import Data and Continue","wp-mail-smtp"),text_skip:Object(c["a"])("Skip this Step","wp-mail-smtp"),text_previous_step:Object(c["a"])("Previous Step","wp-mail-smtp"),options:[{value:"easy-smtp",label:Object(c["a"])("Easy WP SMTP","wp-mail-smtp"),logo:i("8d41"),disabled:!this.$wpms.other_smtp_plugins.includes("easy-smtp"),readonly:!this.$wpms.other_smtp_plugins.includes("easy-smtp")},{value:"post-smtp-mailer",label:Object(c["a"])("Post SMTP Mailer","wp-mail-smtp"),logo:i("8888"),disabled:!this.$wpms.other_smtp_plugins.includes("post-smtp-mailer"),readonly:!this.$wpms.other_smtp_plugins.includes("post-smtp-mailer")},{value:"smtp-mailer",label:Object(c["a"])("SMTP Mailer","wp-mail-smtp"),logo:i("29b8"),disabled:!this.$wpms.other_smtp_plugins.includes("smtp-mailer"),readonly:!this.$wpms.other_smtp_plugins.includes("smtp-mailer")},{value:"wp-smtp",label:Object(c["a"])("WP SMTP","wp-mail-smtp"),logo:i("b98f"),disabled:!this.$wpms.other_smtp_plugins.includes("wp-smtp"),readonly:!this.$wpms.other_smtp_plugins.includes("wp-smtp")}],selectedImport:null}},methods:{handleSubmit:function(){var t=this;null!==this.selectedImport&&(this.$store.dispatch("$_app/start_loading"),this.$store.dispatch("$_settings/importOtherPlugin",{value:this.selectedImport}).then((function(e){e?t.nextStep():t.$wpms_error_toast({})})).finally((function(){t.$store.dispatch("$_app/stop_loading")})))},nextStep:function(){this.$next_step()},previousStep:function(){this.$previous_step()}}},tt=$,et=Object(_["a"])(tt,Q,L,!1,null,null,null),it=et.exports,st=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"wp-mail-smtp-setup-wizard-step wp-mail-smtp-setup-wizard-step-choose-mailer"},[s("div",{staticClass:"wp-mail-smtp-setup-wizard-content-container"},[s("the-wizard-step-counter"),s("content-header",{attrs:{title:t.text_header_title,subtitle:t.text_header_subtitle}}),s("div",{staticClass:"wp-mail-smtp-setup-wizard-form"},[s("form",[s("div",{staticClass:"wp-mail-smtp-setup-wizard-form-row wp-mail-smtp-setup-wizard-form-row-highlight"},[s("h3",[t._v(t._s(t.text_recommended_mailers))]),s("settings-input-radios-with-icons",{attrs:{name:"choose_mailer",options:t.recommended_options},model:{value:t.selectedMailer,callback:function(e){t.selectedMailer=e},expression:"selectedMailer"}})],1),s("div",{staticClass:"wp-mail-smtp-setup-wizard-form-row"},[s("settings-input-radios-with-icons",{attrs:{name:"choose_mailer",options:t.options},on:{"clicked-disabled":t.clickedDisabledOption},model:{value:t.selectedMailer,callback:function(e){t.selectedMailer=e},expression:"selectedMailer"}})],1)])])],1),s("div",{staticClass:"wp-mail-smtp-separator wp-mail-smtp-separator-no-margin"}),s("div",{staticClass:"wp-mail-smtp-setup-wizard-step-footer"},[s("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.previousStep(e)}}},[s("span",{staticClass:"text-with-arrow text-with-arrow-left"},[s("inline-svg",{staticClass:"icon",attrs:{src:i("1fa5"),width:"16",height:"18"}}),t._v(t._s(t.text_previous_step)+" ")],1)]),s("div",{staticClass:"wp-mail-smtp-setup-wizard-step-footer-buttons"},[s("button",{staticClass:"wp-mail-smtp-button wp-mail-smtp-button-main",attrs:{type:"submit",name:"next_step",disabled:null===t.selectedMailer},on:{click:function(e){return e.preventDefault(),t.handleSubmit(e)}}},[s("span",{staticClass:"text-with-arrow text-with-arrow-right"},[t._v(" "+t._s(t.text_save)+" "),s("inline-svg",{staticClass:"icon",attrs:{src:i("107e"),width:"16",height:"19"}})],1)])])])])},at=[],nt=(i("99af"),i("7db0"),i("ac1f"),i("5319"),i("2f62")),ot={name:"WizardStepChooseMailer",components:{SettingsInputRadiosWithIcons:V,ContentHeader:h,TheWizardStepCounter:X},data:function(){return{text_header_title:Object(c["a"])("Choose Your SMTP Mailer","wp-mail-smtp"),text_header_subtitle:Object(c["c"])(Object(c["a"])("Which mailer would you like to use to send emails? Not sure which mailer to choose? Check out our %1$scomplete mailer guide%2$s for details on each option.","wp-mail-smtp"),'<a href="https://wpmailsmtp.com/docs/a-complete-guide-to-wp-mail-smtp-mailers/" target="_blank" rel="noopener noreferrer">',"</a>"),text_save:Object(c["a"])("Save and Continue","wp-mail-smtp"),text_previous_step:Object(c["a"])("Previous Step","wp-mail-smtp"),text_recommended_mailers:Object(c["a"])("Recommended Mailers","wp-mail-smtp"),recommended_options:[{value:"smtpcom",label:this.$wpms.mailer_options["smtpcom"].title,logo:i("78cb")},{value:"sendinblue",label:this.$wpms.mailer_options["sendinblue"].title,logo:i("7f3e")}],options:[{value:"mailgun",label:this.$wpms.mailer_options["mailgun"].title,logo:i("776b")},{value:"sendgrid",label:this.$wpms.mailer_options["sendgrid"].title,logo:i("b1c2")},{value:"gmail",label:this.$wpms.mailer_options["gmail"].title,logo:i("ddc9"),notice:this.$wpms.mailer_options["gmail"].edu_notice},{value:"amazonses",label:this.$wpms.mailer_options["amazonses"].title,logo:i("7de8"),disabled:!this.$wpms.is_pro,is_pro:!this.$wpms.is_pro,notice:this.$wpms.mailer_options["amazonses"].edu_notice},{value:"outlook",label:this.$wpms.mailer_options["outlook"].title,logo:i("2db4"),disabled:!this.$wpms.is_pro,is_pro:!this.$wpms.is_pro,notice:this.$wpms.mailer_options["outlook"].edu_notice},{value:"zoho",label:this.$wpms.mailer_options["zoho"].title,logo:i("2bc2"),disabled:!this.$wpms.is_pro,is_pro:!this.$wpms.is_pro},{value:"smtp",label:this.$wpms.mailer_options["smtp"].title,logo:i("5f30")}],selectedMailer:this.currentMailer}},watch:{currentMailer:function(t){this.selectedMailer=t}},computed:Object(n["a"])(Object(n["a"])({},Object(nt["b"])({currentMailer:"$_settings/mailer"})),{},{selectedMailerOptions:function(){var t=this;return this.recommended_options.concat(this.options).find((function(e){return e.value===t.selectedMailer}))}}),methods:{handleSubmit:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];null!==this.selectedMailer&&(void 0===this.selectedMailerOptions.notice||i?(this.$store.dispatch("$_app/start_loading"),this.$store.dispatch("$_settings/updateSettings",{value:{mail:{mailer:this.selectedMailer}}}).then((function(t){t.success?(e.$store.dispatch("$_settings/setMailer",e.selectedMailer),e.nextStep()):e.$wpms_error_toast({})})).finally((function(){e.$store.dispatch("$_app/stop_loading")}))):this.$swal({title:this.selectedMailerOptions.label+" "+Object(c["a"])("Mailer","wp-mail-smtp"),html:this.selectedMailerOptions.notice,width:650,showCloseButton:!0,allowOutsideClick:!1,allowEscapeKey:!1,allowEnterKey:!1,customClass:{container:"wp-mail-smtp-swal"},confirmButtonText:Object(c["a"])("I Understand, Continue","wp-mail-smtp"),cancelButtonText:Object(c["a"])("Choose a Different Mailer","wp-mail-smtp"),showCancelButton:!0,reverseButtons:!0}).then((function(t){t.value?e.handleSubmit(null,!0):void 0!==t.dismiss&&"cancel"===t.dismiss&&(e.selectedMailer=null)})))},nextStep:function(){var t=this,e=this.$wizard_steps.findIndex((function(e){return t.$route.name.includes(e)}))+1;this.$router.push({name:"".concat(this.$wizard_steps[e],"_").concat(this.selectedMailer)})},previousStep:function(){this.$previous_step()},clickedDisabledOption:function(t){this.$swal({title:t.label+" "+Object(c["a"])("is a PRO Feature","wp-mail-smtp"),html:"<p>".concat(this.$wpms.education.upgrade_text.replace("%mailer%",t.label),'</p>\n\t\t\t\t\t\t<p><a href="').concat(this.$wpms.education.upgrade_url+"&utm_content="+t.value,'" class="wp-mail-smtp-button wp-mail-smtp-button-small wp-mail-smtp-button-main" target="_blank" rel="noopener noreferrer">').concat(this.$wpms.education.upgrade_button,'</a></p>\n\t\t\t\t\t\t<p class="upgrade-bonus"><span class="icon-container"><svg data-v-6d7a07a8="" viewBox="0 0 512 512" role="img" class="icon" data-icon="check" data-prefix="fas" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="16"><path xmlns="http://www.w3.org/2000/svg" fill="currentColor" d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"></path></svg></span>').concat(this.$wpms.education.upgrade_bonus,"</p>\n\t\t\t\t\t\t<p>").concat(this.$wpms.education.upgrade_doc,"</p>"),width:550,imageUrl:i("b32f"),imageWidth:31,imageHeight:35,showCloseButton:!0,customClass:{container:"wp-mail-smtp-swal wp-mail-smtp-upgrade-popup"},showConfirmButton:!1})}},mounted:function(){this.selectedMailer=this.currentMailer}},rt=ot,lt=Object(_["a"])(rt,st,at,!1,null,null,null),ct=lt.exports,pt=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"wp-mail-smtp-setup-wizard-step wp-mail-smtp-setup-wizard-step-configure-mailer"},[s("div",{staticClass:"wp-mail-smtp-setup-wizard-content-container"},[s("div",{staticClass:"wp-mail-smtp-configure-mailer-header"},[s("div",{staticClass:"wp-mail-smtp-configure-mailer-header-container"},[s("the-wizard-step-counter"),s("content-header",{attrs:{title:t.text_header_title,subtitle:t.text_header_subtitle}})],1),s("span",{staticClass:"wp-mail-smtp-configure-mailer-logo"},[s("inline-svg",{attrs:{src:t.logo(t.mailer),height:"40"}})],1)]),s("div",{staticClass:"wp-mail-smtp-separator wp-mail-smtp-separator-no-margin"}),s("router-view",{ref:"mailerConfiguration"})],1),s("div",{staticClass:"wp-mail-smtp-separator wp-mail-smtp-separator-no-margin"}),s("div",{staticClass:"wp-mail-smtp-setup-wizard-step-footer"},[s("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.previousStep(e)}}},[s("span",{staticClass:"text-with-arrow text-with-arrow-left"},[s("inline-svg",{staticClass:"icon",attrs:{src:i("1fa5"),width:"16",height:"18"}}),t._v(t._s(t.text_previous_step)+" ")],1)]),s("div",{staticClass:"wp-mail-smtp-setup-wizard-step-footer-buttons"},[s("button",{staticClass:"wp-mail-smtp-button wp-mail-smtp-button-main",attrs:{type:"submit",name:"next_step",disabled:null===t.mailer||!0===t.blocked_step},on:{click:function(e){return e.preventDefault(),t.handleSubmit(e)}}},[s("span",{staticClass:"text-with-arrow text-with-arrow-right"},[t._v(" "+t._s(t.text_save)+" "),s("inline-svg",{staticClass:"icon",attrs:{src:i("107e"),width:"16",height:"19"}})],1)])])])])},mt=[],ut=i("5935"),dt={name:"WizardStepConfigureMailer",components:{ContentHeader:h,TheWizardStepCounter:X},data:function(){return{text_header_title:Object(c["a"])("Configure Mailer Settings","wp-mail-smtp"),text_header_subtitle:Object(c["a"])("Below, we'll show you all of the settings required to set up this mailer.","wp-mail-smtp"),text_save:Object(c["a"])("Save and Continue","wp-mail-smtp"),text_previous_step:Object(c["a"])("Previous Step","wp-mail-smtp")}},computed:Object(n["a"])(Object(n["a"])({},Object(nt["b"])({mailer:"$_settings/mailer"})),Object(ut["b"])("$_wizard",["blocked_step"])),methods:{handleSubmit:function(){var t=this;return!this.blocked_step&&(this.$refs.mailerConfiguration.areRequiredFieldsValid()?(this.$store.dispatch("$_app/start_loading"),void this.$store.dispatch("$_settings/saveCurrentSettings").then((function(e){e.success?t.$next_step():t.$wpms_error_toast({})})).finally((function(){t.$store.dispatch("$_app/stop_loading")}))):(this.$required_fields_modal(),!1))},previousStep:function(){this.blocked_step=!1,this.$previous_step()},logo:function(t){return t="mail"===t?"smtp":t,i("31f1")("./".concat(t,".svg"))}}},_t=dt,ft=Object(_["a"])(_t,pt,mt,!1,null,null,null),ht=ft.exports,gt=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"wp-mail-smtp-setup-wizard-step wp-mail-smtp-setup-wizard-step-plugin-features"},[s("div",{staticClass:"wp-mail-smtp-setup-wizard-content-container"},[s("div",{staticClass:"wp-mail-smtp-plugin-features-header"},[s("the-wizard-step-counter"),s("content-header",{attrs:{title:t.text_header_title,subtitle:t.text_header_subtitle}})],1),s("div",{staticClass:"wp-mail-smtp-plugin-features-list"},[s("settings-input-long-checkbox",{attrs:{value:!0,name:"improved_deliverability",label:t.text_improved_email_deliverability,description:t.text_improved_email_deliverability_desc,disabled:""}}),s("settings-input-long-checkbox",{attrs:{value:!0,name:"error_tracking",label:t.text_error_tracking,description:t.text_error_tracking_desc,disabled:""}}),t.contact_form_already_installed?t._e():s("settings-input-long-checkbox",{attrs:{name:"smart_contact_form",label:t.text_smart_contact_form,description:t.text_smart_contact_form_desc},model:{value:t.smart_contact_form,callback:function(e){t.smart_contact_form=e},expression:"smart_contact_form"}}),s("settings-input-long-checkbox",{attrs:{name:"email_log",label:t.text_email_log,description:t.text_email_log_desc,show_pro:!t.is_pro},model:{value:t.email_log,callback:function(e){t.email_log=e},expression:"email_log"}}),t.is_pro?t._e():s("settings-input-long-checkbox",{attrs:{name:"manage_notifications",label:t.text_manage_notifications,description:t.text_manage_notifications_desc,show_pro:!t.is_pro},model:{value:t.manage_notifications,callback:function(e){t.manage_notifications=e},expression:"manage_notifications"}}),t.is_multisite&&!t.is_pro?s("settings-input-long-checkbox",{attrs:{name:"network_settings",label:t.text_network_settings,description:t.text_network_settings_desc,show_pro:!t.is_pro},model:{value:t.network_settings,callback:function(e){t.network_settings=e},expression:"network_settings"}}):t._e()],1)]),s("div",{staticClass:"wp-mail-smtp-separator wp-mail-smtp-separator-no-margin"}),s("div",{staticClass:"wp-mail-smtp-setup-wizard-step-footer"},[s("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.previousStep(e)}}},[s("span",{staticClass:"text-with-arrow text-with-arrow-left"},[s("inline-svg",{staticClass:"icon",attrs:{src:i("1fa5"),width:"16",height:"18"}}),t._v(t._s(t.text_previous_step)+" ")],1)]),s("div",{staticClass:"wp-mail-smtp-setup-wizard-step-footer-buttons"},[s("button",{staticClass:"wp-mail-smtp-button wp-mail-smtp-button-main",attrs:{type:"submit",name:"next_step"},on:{click:function(e){return e.preventDefault(),t.handleSubmit(e)}}},[s("span",{staticClass:"text-with-arrow text-with-arrow-right"},[t._v(" "+t._s(t.text_save)+" "),s("inline-svg",{staticClass:"icon",attrs:{src:i("107e"),width:"16",height:"19"}})],1)])])])])},wt=[],bt=(i("4de4"),function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("label",{staticClass:"settings-input-long-checkbox",class:{"settings-input-long-checkbox-checked":t.value,"settings-input-long-checkbox-disabled":t.disabled},attrs:{for:"wp-mail-smtp-settings-long-checkbox-"+t.name}},[s("div",{staticClass:"settings-input-long-checkbox-header"},[s("span",{staticClass:"title-container"},[s("span",{staticClass:"label",domProps:{innerHTML:t._s(t.label)}}),t.show_pro?s("inline-svg",{staticClass:"wp-mail-smtp-pro-badge",attrs:{src:i("87eb"),width:"46",height:"24"}}):t._e()],1),t.description?s("p",{staticClass:"description",domProps:{innerHTML:t._s(t.description)}}):t._e()]),s("span",{staticClass:"settings-input-long-checkbox-container"},[s("span",{staticClass:"checkbox",class:{"checkbox-checked":t.value,"checkbox-disabled":t.disabled}},[s("inline-svg",{staticClass:"icon",attrs:{src:i("3af1"),width:"16",height:"16"}})],1),s("input",{attrs:{id:"wp-mail-smtp-settings-long-checkbox-"+t.name,type:"checkbox",name:t.name,disabled:t.disabled},domProps:{checked:t.value},on:{input:function(e){return t.$emit("input",e.target.checked)}}})])])}),At=[],vt={name:"SettingsInputLongCheckbox",props:{label:String,name:String,value:Boolean,description:String,disabled:Boolean,show_pro:Boolean}},xt=vt,yt=Object(_["a"])(xt,bt,At,!1,null,null,null),Ct=yt.exports,kt={name:"WizardStepPluginFeatures",components:{ContentHeader:h,TheWizardStepCounter:X,SettingsInputLongCheckbox:Ct},data:function(){return{text_header_title:Object(c["a"])("Which email features do you want to enable?","wp-mail-smtp"),text_header_subtitle:Object(c["a"])("Make sure you're getting the most out of WP Mail SMTP. Just check all of the features you'd like to use, and we'll go ahead and enable those for you.","wp-mail-smtp"),text_save:Object(c["a"])("Save and Continue","wp-mail-smtp"),text_previous_step:Object(c["a"])("Previous Step","wp-mail-smtp"),text_improved_email_deliverability:Object(c["a"])("Improved Email Deliverability","wp-mail-smtp"),text_improved_email_deliverability_desc:Object(c["a"])("Ensure your emails are sent successfully and reliably.","wp-mail-smtp"),text_error_tracking:Object(c["a"])("Email Error Tracking","wp-mail-smtp"),text_error_tracking_desc:Object(c["a"])("Easily spot errors causing delivery issues.","wp-mail-smtp"),text_smart_contact_form:Object(c["a"])("Smart Contact Form","wp-mail-smtp"),text_smart_contact_form_desc:Object(c["a"])("Create beautiful contact forms with just a few clicks.","wp-mail-smtp"),text_email_log:Object(c["a"])("Detailed Email Logs","wp-mail-smtp"),text_email_log_desc:Object(c["a"])("Keep records of every email that's sent out from your website.","wp-mail-smtp"),text_manage_notifications:Object(c["a"])("Manage Default Notifications","wp-mail-smtp"),text_manage_notifications_desc:Object(c["a"])("Control which email notifications your WordPress site sends.","wp-mail-smtp"),text_network_settings:Object(c["a"])("Multisite Network Settings","wp-mail-smtp"),text_network_settings_desc:Object(c["a"])("Save time with powerful WordPress Multisite controls.","wp-mail-smtp"),is_pro:this.$wpms.is_pro,is_multisite:this.$wpms.is_multisite,email_log:!1,manage_notifications:!1,network_settings:!1}},computed:Object(n["a"])(Object(n["a"])({},Object(nt["b"])({contact_form_already_installed:"$_plugins/contact_form_plugin_already_installed",email_log_setting:"$_settings/email_log_enabled"})),Object(ut["b"])("$_plugins",{smart_contact_form:"smart_contact_form_setting"})),watch:{smart_contact_form:function(t){if(this.contact_form_already_installed)return!1;this.showWPFormsPluginInstallFooterNotice(t)},contact_form_already_installed:function(t){t&&this.$emit("displayContentBelow","")},email_log_setting:function(t){this.email_log=t}},methods:{handleSubmit:function(){var t=this;this.$store.dispatch("$_app/start_loading");var e=[];if(this.is_pro){var i={value:{logs:{enabled:this.email_log}}};e.push(this.$store.dispatch("$_settings/updateSettings",i)),e.push(this.$store.dispatch("$_settings/setLogs",this.email_log))}if(this.smart_contact_form&&!this.contact_form_already_installed&&e.push(this.$store.dispatch("$_plugins/installPlugin","wpforms-lite")),!this.is_pro){var s=[];this.email_log&&s.push("email_log"),this.manage_notifications&&s.push("manage_notifications"),this.network_settings&&s.push("network_settings"),e.push(this.$store.dispatch("$_settings/savePluginFeatures",s))}Promise.all(e).then((function(e){var i=e.filter((function(t){return t.success}));i.length===e.length&&(t.$emit("displayContentBelow",""),t.$next_step())})).finally((function(){t.$store.dispatch("$_app/stop_loading")}))},previousStep:function(){var t=this;this.$emit("displayContentBelow","");var e=this.$wizard_steps.findIndex((function(e){return t.$route.name.includes(e)}))-1;this.$router.push({name:"".concat(this.$wizard_steps[e],"_").concat(this.$store.getters["$_settings/mailer"])})},showWPFormsPluginInstallFooterNotice:function(t){var e=t?"<p> ".concat(Object(c["a"])("The following plugin will be installed for free: WPForms","wp-mail-smtp"),"</p>"):"";this.$emit("displayContentBelow",e)}},mounted:function(){if(this.showWPFormsPluginInstallFooterNotice(this.smart_contact_form&&!this.contact_form_already_installed),this.email_log=this.$store.getters["$_settings/email_log_enabled"],!this.$wpms.is_pro){var t=this.$store.getters["$_settings/plugin_features"];t.includes("email_log")&&(this.email_log=!0),t.includes("manage_notifications")&&(this.manage_notifications=!0),t.includes("network_settings")&&(this.network_settings=!0)}}},Ot=kt,jt=Object(_["a"])(Ot,gt,wt,!1,null,null,null),St=jt.exports,Pt=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"wp-mail-smtp-setup-wizard-step wp-mail-smtp-setup-wizard-step-help-improve"},[s("div",{staticClass:"wp-mail-smtp-setup-wizard-content-container"},[s("div",{staticClass:"wp-mail-smtp-help-improve-header"},[s("the-wizard-step-counter"),s("content-header",{attrs:{title:t.text_header_title,subtitle:t.text_header_subtitle}})],1),s("settings-input-text",{attrs:{name:"email",type:"email",label:t.text_email_label,description:t.text_email_description},model:{value:t.email,callback:function(e){t.email=e},expression:"email"}}),s("settings-input-checkbox",{attrs:{name:"usage_tracking",label:t.text_usage_tracking_label,description:t.text_usage_tracking_description,tooltip:t.text_usage_tracking_tooltip},model:{value:t.usage_tracking,callback:function(e){t.usage_tracking=e},expression:"usage_tracking"}})],1),s("div",{staticClass:"wp-mail-smtp-separator wp-mail-smtp-separator-no-margin"}),s("div",{staticClass:"wp-mail-smtp-setup-wizard-step-footer"},[s("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.previousStep(e)}}},[s("span",{staticClass:"text-with-arrow text-with-arrow-left"},[s("inline-svg",{staticClass:"icon",attrs:{src:i("1fa5"),width:"16",height:"18"}}),t._v(t._s(t.text_previous_step)+" ")],1)]),s("div",{staticClass:"wp-mail-smtp-setup-wizard-step-footer-buttons"},[s("button",{staticClass:"wp-mail-smtp-button",attrs:{type:"button",name:"skip_step"},domProps:{textContent:t._s(t.text_skip)},on:{click:function(e){return e.preventDefault(),t.nextStep(e)}}}),s("button",{staticClass:"wp-mail-smtp-button wp-mail-smtp-button-main",attrs:{type:"submit",name:"next_step"},on:{click:function(e){return e.preventDefault(),t.handleSubmit(e)}}},[s("span",{staticClass:"text-with-arrow text-with-arrow-right"},[t._v(" "+t._s(t.text_save)+" "),s("inline-svg",{staticClass:"icon",attrs:{src:i("107e"),width:"16",height:"19"}})],1)])])])])},Et=[],Tt=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"settings-input-text",class:{"settings-input-text-with-copy":t.copy,"input-error":t.has_errors||t.field_error}},[s("label",{staticClass:"settings-input-label-container",attrs:{for:t.id}},[t.label?s("span",{staticClass:"label",domProps:{innerHTML:t._s(t.label)}}):t._e(),t.tooltip?s("settings-info-tooltip",{attrs:{content:t.tooltip}}):t._e()],1),s("span",{staticClass:"settings-input-container"},["checkbox"===t.type?s("input",{directives:[{name:"model",rawName:"v-model",value:t.currentValue,expression:"currentValue"}],ref:"input",attrs:{id:t.id,name:t.name,placeholder:t.placeholder,readonly:t.readonly,disabled:t.disabled,type:"checkbox"},domProps:{checked:Array.isArray(t.currentValue)?t._i(t.currentValue,null)>-1:t.currentValue},on:{change:[function(e){var i=t.currentValue,s=e.target,a=!!s.checked;if(Array.isArray(i)){var n=null,o=t._i(i,n);s.checked?o<0&&(t.currentValue=i.concat([n])):o>-1&&(t.currentValue=i.slice(0,o).concat(i.slice(o+1)))}else t.currentValue=a},t.inputUpdate]}}):"radio"===t.type?s("input",{directives:[{name:"model",rawName:"v-model",value:t.currentValue,expression:"currentValue"}],ref:"input",attrs:{id:t.id,name:t.name,placeholder:t.placeholder,readonly:t.readonly,disabled:t.disabled,type:"radio"},domProps:{checked:t._q(t.currentValue,null)},on:{change:[function(e){t.currentValue=null},t.inputUpdate]}}):s("input",{directives:[{name:"model",rawName:"v-model",value:t.currentValue,expression:"currentValue"}],ref:"input",attrs:{id:t.id,name:t.name,placeholder:t.placeholder,readonly:t.readonly,disabled:t.disabled,type:t.type},domProps:{value:t.currentValue},on:{change:t.inputUpdate,input:function(e){e.target.composing||(t.currentValue=e.target.value)}}}),t.copy?s("button",{staticClass:"wp-mail-smtp-button wp-mail-smtp-button-small",class:{"wp-mail-smtp-button-copied":t.show_copied},attrs:{title:t.text_copy_button},on:{click:function(e){return e.preventDefault(),t.copyValue(e)}}},[s("span",{staticClass:"copy-button-container"},[s("inline-svg",{staticClass:"icon",class:{active:!t.show_copied},attrs:{src:i("d51e"),width:"16",height:"16"}}),s("inline-svg",{staticClass:"icon copied",class:{active:t.show_copied},attrs:{src:i("e108"),width:"16",height:"16"}})],1)]):t._e()]),t.has_errors?s("p",{staticClass:"error"},[s("inline-svg",{staticClass:"icon",attrs:{src:i("827a"),width:"16"}}),s("span",{domProps:{innerHTML:t._s(t.text_error)}})],1):t._e(),t.description?s("p",{staticClass:"description",domProps:{innerHTML:t._s(t.description)}}):t._e()])},zt=[],Bt=(i("4d63"),i("25f0"),i("4795"),function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("span",{directives:[{name:"tooltip",rawName:"v-tooltip",value:t.tooltip_data,expression:"tooltip_data"}],staticClass:"wp-mail-smtp-info",attrs:{tabindex:"0"}},[s("inline-svg",{staticClass:"icon",attrs:{src:i("8475"),width:"14",height:"14"}})],1)}),It=[],Mt={name:"SettingsInfoTooltip",props:{content:String},data:function(){return{tooltip_data:{content:this.content,autoHide:!1,trigger:"hover focus click"}}}},Dt=Mt,Ft=(i("ba75"),Object(_["a"])(Dt,Bt,It,!1,null,"74a4d2ae",null)),Nt=Ft.exports,Qt={name:"SettingsInputText",components:{SettingsInfoTooltip:Nt},props:{name:String,value:String,label:String,description:String,placeholder:String,type:{type:String,default:"text"},tooltip:String,readonly:Boolean,disabled:Boolean,format:RegExp,error:{type:String,default:""},copy:{type:Boolean,default:!1},is_error:Boolean},data:function(){return{has_error:!1,id:"input-"+this.name,text_copy_button:Object(c["a"])("Copy input value","wp-mail-smtp"),text_copied:Object(c["a"])("Copied!","wp-mail-smtp"),show_copied:!1}},computed:{currentValue:{get:function(){return this.value},set:function(t){this.$emit("is_error_update",!1),this.$emit("input",t)}},field_error:{get:function(){return this.is_error},set:function(t){this.$emit("is_error_update",t)}},has_errors:function(){return this.error.length>0||this.has_error},text_error:function(){return this.error.length>0?this.error:Object(c["a"])("The value entered does not match the required format","wp-mail-smtp")}},methods:{inputUpdate:function(t){return!this.disabled&&(this.has_error=!1,this.format&&!this.format.test(t.target.value)?(this.has_error=!0,!1):void 0)},copyValue:function(){var t=this.$refs.input;t.select(),document.execCommand("copy"),this.show_copied=!0;var e=this;setTimeout((function(){e.show_copied=!1}),1e3)}}},Lt=Qt,Wt=Object(_["a"])(Lt,Tt,zt,!1,null,null,null),Ut=Wt.exports,Ht=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"settings-input-checkbox",class:{"settings-input-checkbox-checked":t.value,"settings-input-checkbox-disabled":t.disabled}},[s("span",{staticClass:"settings-input-label-container"},[s("span",{staticClass:"label",domProps:{innerHTML:t._s(t.label)}}),t.tooltip?s("settings-info-tooltip",{attrs:{content:t.tooltip}}):t._e()],1),s("label",{staticClass:"settings-input-checkbox-container",attrs:{for:"wp-mail-smtp-settings-checkbox-"+t.name}},[s("span",{staticClass:"checkbox",class:{"checkbox-checked":t.value,"checkbox-disabled":t.disabled}},[s("inline-svg",{staticClass:"icon",attrs:{src:i("3af1"),width:"14",height:"14"}})],1),s("input",{attrs:{id:"wp-mail-smtp-settings-checkbox-"+t.name,type:"checkbox",name:t.name,disabled:t.disabled},domProps:{checked:t.value},on:{input:function(e){return t.$emit("input",e.target.checked)}}}),t.description?s("span",{staticClass:"input-label",domProps:{innerHTML:t._s(t.description)}}):t._e()])])},Rt=[],Gt={name:"SettingsInputCheckbox",components:{SettingsInfoTooltip:Nt},props:{label:String,name:String,value:Boolean,description:String,tooltip:String,disabled:Boolean}},Vt=Gt,Yt=Object(_["a"])(Vt,Ht,Rt,!1,null,null,null),Jt=Yt.exports,Kt={name:"WizardStepHelpImprove",components:{ContentHeader:h,TheWizardStepCounter:X,SettingsInputText:Ut,SettingsInputCheckbox:Jt},data:function(){return{text_header_title:Object(c["a"])("Help Improve WP Mail SMTP + Smart Recommendations","wp-mail-smtp"),text_header_subtitle:Object(c["a"])("Get helpful suggestions from WP Mail SMTP on how to optimize your email deliverability and grow your business.","wp-mail-smtp"),text_save:Object(c["a"])("Save and Continue","wp-mail-smtp"),text_skip:Object(c["a"])("Skip this Step","wp-mail-smtp"),text_previous_step:Object(c["a"])("Previous Step","wp-mail-smtp"),text_email_label:Object(c["a"])("Your Email Address","wp-mail-smtp"),text_email_description:Object(c["a"])("Your email is needed, so you can receive recommendations.","wp-mail-smtp"),text_usage_tracking_label:Object(c["a"])("Help make WP Mail SMTP better for everyone","wp-mail-smtp"),text_usage_tracking_description:Object(c["a"])("Yes, count me in","wp-mail-smtp"),text_usage_tracking_tooltip:Object(c["a"])("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.","wp-mail-smtp"),is_pro:this.$wpms.is_pro,email:"",usage_tracking:!1}},methods:{handleSubmit:function(){var t=this;this.$store.dispatch("$_app/start_loading");var e=[];if(this.email&&e.push(this.$store.dispatch("$_settings/subscribeToNewsletter",this.email)),this.usage_tracking){var i={value:{general:{"usage-tracking-enabled":!0}}};e.push(this.$store.dispatch("$_settings/updateSettings",i))}Promise.all(e).then((function(){t.nextStep()})).finally((function(){t.$store.dispatch("$_app/stop_loading")}))},nextStep:function(){this.$next_step()},previousStep:function(){this.$previous_step()}}},qt=Kt,Zt=Object(_["a"])(qt,Pt,Et,!1,null,null,null),Xt=Zt.exports,$t=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"wp-mail-smtp-setup-wizard-step wp-mail-smtp-setup-wizard-step-license"},[s("div",{staticClass:"wp-mail-smtp-setup-wizard-content-container"},[s("div",{staticClass:"wp-mail-smtp-license-header"},[s("the-wizard-step-counter"),s("content-header",{attrs:{title:t.text_header_title,subtitle:t.text_header_subtitle}})],1),t.is_pro?t._e():s("div",{staticClass:"upgrade-content"},[s("p",{staticClass:"medium-bold",domProps:{innerHTML:t._s(t.text_upgrade_paragraph)}}),s("div",{staticClass:"checked-item-list"},[s("span",{staticClass:"checked-item"},[s("inline-svg",{staticClass:"icon",attrs:{src:i("3af1"),width:"16",height:"16"}}),t._v(" "),s("span",[t._v(t._s(t.text_email_log))])],1),s("span",{staticClass:"checked-item"},[s("inline-svg",{staticClass:"icon",attrs:{src:i("3af1"),width:"16",height:"16"}}),t._v(" "),s("span",[t._v(t._s(t.text_manage_notifications))])],1),s("span",{staticClass:"checked-item"},[s("inline-svg",{staticClass:"icon",attrs:{src:i("3af1"),width:"16",height:"16"}}),t._v(" "),s("span",[t._v(t._s(t.text_network_settings))])],1)])]),t.verified?s("div",{staticClass:"verified-license"},[s("p",{domProps:{innerHTML:t._s(t.text_verified_license)}})]):s("div",{staticClass:"license-form",class:{"license-form-error":t.license_error}},[s("p",{domProps:{innerHTML:t._s(t.text_license_form)}}),s("div",{staticClass:"license-control"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.license,expression:"license"}],attrs:{name:"license",type:"password",placeholder:t.text_license_input_placeholder,"aria-label":t.text_aria_label_for_license_input},domProps:{value:t.license},on:{input:function(e){e.target.composing||(t.license=e.target.value)}}}),s("button",{staticClass:"wp-mail-smtp-button wp-mail-smtp-button-success wp-mail-smtp-button-small",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.handleLicenseSubmit(e)}}},[t._v(" "+t._s(t.text_license_button)+" ")])]),t.license_error?s("p",{staticClass:"error-message",domProps:{textContent:t._s(t.text_license_error)}}):t._e()])]),s("div",{staticClass:"wp-mail-smtp-separator wp-mail-smtp-separator-no-margin"}),s("div",{staticClass:"wp-mail-smtp-setup-wizard-step-footer"},[s("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.previousStep(e)}}},[s("span",{staticClass:"text-with-arrow text-with-arrow-left"},[s("inline-svg",{staticClass:"icon",attrs:{src:i("1fa5"),width:"16",height:"18"}}),t._v(t._s(t.text_previous_step)+" ")],1)]),s("div",{staticClass:"wp-mail-smtp-setup-wizard-step-footer-buttons"},[t.verified?s("button",{staticClass:"wp-mail-smtp-button wp-mail-smtp-button-main",attrs:{type:"submit",name:"next_step"},on:{click:function(e){return e.preventDefault(),t.handleSubmit(e)}}},[s("span",{staticClass:"text-with-arrow text-with-arrow-right"},[t._v(" "+t._s(t.text_save)+" "),s("inline-svg",{staticClass:"icon",attrs:{src:i("107e"),width:"16",height:"19"}})],1)]):s("button",{staticClass:"wp-mail-smtp-button",attrs:{type:"button",name:"skip_step"},domProps:{textContent:t._s(t.text_skip)},on:{click:function(e){return e.preventDefault(),t.nextStep(e)}}})])])])},te=[],ee=(i("841c"),i("2b3d"),i("6341")),ie=i.n(ee),se={name:"WizardStepLicense",components:{ContentHeader:h,TheWizardStepCounter:X},data:function(){return{text_header_title:Object(c["a"])("Enter your WP Mail SMTP License Key","wp-mail-smtp"),text_header_subtitle:this.$wpms.is_pro?"":Object(c["c"])(Object(c["a"])("You're currently using %1$sWP Mail SMTP Lite%2$s - no license needed. Enjoy!","wp-mail-smtp"),'<span class="medium-bold">',"</span>")+" 🙂",text_save:Object(c["a"])("Continue","wp-mail-smtp"),text_skip:Object(c["a"])("Skip this Step","wp-mail-smtp"),text_previous_step:Object(c["a"])("Previous Step","wp-mail-smtp"),text_upgrade_paragraph:Object(c["c"])(Object(c["a"])("To unlock selected features, %1$sUpgrade to Pro%2$s and enter your license key below.","wp-mail-smtp"),'<a href="'+this.$wpms.upgrade_link+'" target="_blank" rel="noopener noreferrer">',"</a>"),text_network_settings:Object(c["a"])("Multisite Network Settings","wp-mail-smtp"),text_manage_notifications:Object(c["a"])("Manage Default Notifications","wp-mail-smtp"),text_email_log:Object(c["a"])("Detailed Email Logs","wp-mail-smtp"),text_license_form_lite:Object(c["c"])(Object(c["a"])("Already purchased? Enter your license key below to connect with %1$sWP Mail SMTP Pro%2$s!","wp-mail-smtp"),"<b>","</b>"),text_license_form_pro:Object(c["a"])("Enter your license key below to unlock plugin updates!","wp-mail-smtp"),text_license_button:this.$wpms.is_pro?Object(c["a"])("Verify License Key","wp-mail-smtp"):Object(c["a"])("Connect","wp-mail-smtp"),text_license_error:Object(c["a"])("The License Key format is incorrect. Please enter a valid key and try again.","wp-mail-smtp"),text_verified_license:Object(c["a"])("Your license was successfully verified! You are ready for the next step.","wp-mail-smtp"),text_email_log_desc:Object(c["a"])("Keep records of every email that's sent out from your website.","wp-mail-smtp"),text_manage_notifications_desc:Object(c["a"])("Control which email notifications your WordPress site sends.","wp-mail-smtp"),text_network_settings_desc:Object(c["a"])("Save time with powerful WordPress Multisite controls.","wp-mail-smtp"),text_pro_badge:Object(c["a"])("Pro badge","wp-mail-smtp"),text_aria_label_for_license_input:Object(c["a"])("License key input","wp-mail-smtp"),text_license_input_placeholder:Object(c["a"])("Paste your license key here","wp-mail-smtp"),pro_badge:i("87eb"),is_pro:this.$wpms.is_pro,verified:!1,license:"",license_error:!1}},computed:Object(n["a"])({text_license_form:function(){return this.is_pro?this.text_license_form_pro:this.text_license_form_lite}},Object(nt["b"])({selectedProFeatures:"$_settings/plugin_features"})),methods:{handleLicenseSubmit:function(){var t=this;return this.license_error=!1,!(!this.is_pro&&0===this.license.length)&&(this.is_pro&&this.license.length<16?(this.license_error=!0,!1):(this.$store.dispatch("$_app/start_loading"),void(this.is_pro?this.$store.dispatch("$_settings/verifyLicense",this.license).then((function(e){e.success?(t.verified=!0,t.$swal({title:Object(c["a"])("Successful Verification!","wp-mail-smtp"),html:e.data.message,width:450,showCloseButton:!0,customClass:{container:"wp-mail-smtp-swal wp-mail-smtp-swal-alert"}})):t.$swal({title:Object(c["a"])("Verification Error!","wp-mail-smtp"),html:e.data,width:450,showCloseButton:!0,customClass:{container:"wp-mail-smtp-swal wp-mail-smtp-swal-alert"}})})).finally((function(){t.$store.dispatch("$_app/stop_loading")})):this.$store.dispatch("$_settings/upgradePlugin",this.license).then((function(e){if(e.success&&ie()(e,"data.redirect_url"))return window.location=e.data.redirect_url;t.$store.dispatch("$_app/stop_loading"),t.$swal({title:e.success?Object(c["a"])("Successful Upgrade!","wp-mail-smtp"):Object(c["a"])("Upgrade Failed!","wp-mail-smtp"),html:e.data,width:450,showCloseButton:!0,customClass:{container:"wp-mail-smtp-swal wp-mail-smtp-swal-alert"}})})))))},handleSubmit:function(){this.nextStep()},nextStep:function(){this.$next_step()},previousStep:function(){this.$previous_step()},prepareLongCheckbox:function(t,e){return'<label for="email_log" class="settings-input-long-checkbox settings-input-long-checkbox-checked settings-input-long-checkbox-disabled">\n\t\t\t\t\t\t<div class="settings-input-long-checkbox-header">\n\t\t\t\t\t\t\t<span class="title-container">\n\t\t\t\t\t\t\t\t<span class="label">\n\t\t\t\t\t\t\t\t\t'.concat(t,'\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t<img src="').concat(this.pro_badge,'" alt="').concat(this.text_pro_badge,'" class="wp-mail-smtp-pro-badge">\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t<p class="description">\n\t\t\t\t\t\t\t\t').concat(e,'\n\t\t\t\t\t\t\t</p>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<span class="settings-input-long-checkbox-container">\n\t\t\t\t\t\t\t<span class="checkbox checkbox-checked checkbox-disabled">\n\t\t\t\t\t\t\t\t<svg viewBox="0 0 512 512" role="img" class="icon" data-icon="check" data-prefix="fas" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="16"><path xmlns="http://www.w3.org/2000/svg" fill="currentColor" d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"></path></svg>\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t<input id="email_log" type="checkbox" name="email_log" disabled="disabled">\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</label>')},prepareProFeaturesHtml:function(){var t="<div>";return this.selectedProFeatures.includes("email_log")&&(t+=this.prepareLongCheckbox(this.text_email_log,this.text_email_log_desc)),this.selectedProFeatures.includes("manage_notifications")&&(t+=this.prepareLongCheckbox(this.text_manage_notifications,this.text_manage_notifications_desc)),this.selectedProFeatures.includes("network_settings")&&(t+=this.prepareLongCheckbox(this.text_network_settings,this.text_network_settings_desc)),t+"</div>"}},mounted:function(){var t=this;if(!this.is_pro&&this.selectedProFeatures.length>0){var e=this.prepareProFeaturesHtml();this.$swal({title:Object(c["a"])("Would you like to purchase the following features now?","wp-mail-smtp"),html:'<p class="subtitle">'.concat(Object(c["a"])("These features are available as part of WP Mail SMTP Pro plan.","wp-mail-smtp"),"</p>\n\t\t\t\t\t\t").concat(e,'\n\t\t\t\t\t\t<p class="bonus">').concat(Object(c["c"])(Object(c["a"])("%1$sBonus:%2$s You can upgrade to the Pro plan and %3$ssave %5$s today%4$s, automatically applied at checkout.","wp-mail-smtp"),"<b>","</b>",'<span class="medium-bold">',"</span>","$50"),"</p>\n\t\t\t\t\t"),width:850,showCloseButton:!0,allowOutsideClick:!1,allowEscapeKey:!1,allowEnterKey:!1,customClass:{container:"wp-mail-smtp-swal wp-mail-smtp-swal-plugin-upgrade"},confirmButtonText:Object(c["a"])("Purchase Now","wp-mail-smtp"),cancelButtonText:Object(c["a"])("I'll do it later","wp-mail-smtp"),showCancelButton:!0,reverseButtons:!0}).then((function(e){if(e.value){var i=window.open(t.$wpms.upgrade_link,"_blank");i.focus()}}))}this.verified=this.$wpms.license_exists},created:function(){var t=new URLSearchParams(window.location.search);this.$wpms.license_exists&&!t.has("upgrade-redirect")&&this.nextStep()}},ae=se,ne=Object(_["a"])(ae,$t,te,!1,null,null,null),oe=ne.exports,re=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"wp-mail-smtp-setup-wizard-step wp-mail-smtp-setup-wizard-check-configuration"},[s("div",{staticClass:"wp-mail-smtp-setup-wizard-content-container"},[s("div",{staticClass:"wp-mail-smtp-check-configuration-header"},[s("content-header",{attrs:{title:t.text_header_title,subtitle:t.text_header_subtitle}})],1),s("div",{staticClass:"check-configuration-loading-image-container"},[s("img",{attrs:{src:i("8398"),alt:t.text_image_alt}})])])])},le=[],ce={name:"WizardStepCheckConfiguration",components:{ContentHeader:h},data:function(){return{text_header_title:Object(c["a"])("Checking Mailer Configuration","wp-mail-smtp"),text_header_subtitle:Object(c["a"])("We're running some tests in the background to make sure everything is set up properly.","wp-mail-smtp"),text_image_alt:Object(c["a"])("Checking mailer configuration image","wp-mail-smtp")}},mounted:function(){var t=this;this.$store.dispatch("$_wizard/checkMailerConfiguration").then((function(e){e.success?t.$router.push({name:"check_configuration_step_success"}):t.$router.push({name:"check_configuration_step_failure"})}))}},pe=ce,me=Object(_["a"])(pe,re,le,!1,null,null,null),ue=me.exports,de=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"wp-mail-smtp-setup-wizard-step wp-mail-smtp-setup-wizard-configuration-success"},[s("div",{staticClass:"wp-mail-smtp-setup-wizard-content-container"},[s("div",{staticClass:"wp-mail-smtp-configuration-success-header"},[s("the-wizard-step-counter"),s("content-header",{attrs:{title:t.text_header_title,subtitle:t.text_header_subtitle}})],1),s("div",{staticClass:"plugin-item-container"},[s("p",{staticClass:"medium-bold",domProps:{textContent:t._s(t.text_free_plugins_header)}}),s("div",t._l(t.plugins,(function(t,e){return s("plugin-item",{key:e,attrs:{name:t.name,slug:t.slug,is_installed:t.is_installed,is_activated:t.is_activated}})})),1)]),t.is_pro?t._e():s("div",{staticClass:"upgrade-banner-container"},[s("div",{staticClass:"upgrade-banner"},[s("h2",{domProps:{textContent:t._s(t.text_upgrade_title)}}),s("p",{staticClass:"subtitle",domProps:{textContent:t._s(t.text_upgrade_subtitle)}}),s("div",{staticClass:"checked-item-list"},[s("span",{staticClass:"checked-item"},[s("inline-svg",{staticClass:"icon",attrs:{src:i("3af1"),width:"16",height:"16"}}),t._v(" "),s("span",[t._v(t._s(t.text_email_log))])],1),s("span",{staticClass:"checked-item"},[s("inline-svg",{staticClass:"icon",attrs:{src:i("3af1"),width:"16",height:"16"}}),t._v(" "),s("span",[t._v(t._s(t.text_manage_notifications))])],1),s("span",{staticClass:"checked-item"},[s("inline-svg",{staticClass:"icon",attrs:{src:i("3af1"),width:"16",height:"16"}}),t._v(" "),s("span",[t._v(t._s(t.text_network_settings))])],1)]),s("button",{staticClass:"wp-mail-smtp-button wp-mail-smtp-button-success",attrs:{type:"button"},domProps:{textContent:t._s(t.text_upgrade_button)},on:{click:t.openUpgradePage}})]),s("p",{staticClass:"bonus",domProps:{innerHTML:t._s(t.text_bonus)}})])]),s("div",{staticClass:"wp-mail-smtp-separator wp-mail-smtp-separator-no-margin"}),s("div",{staticClass:"wp-mail-smtp-setup-wizard-step-footer"},[s("button",{staticClass:"wp-mail-smtp-button",attrs:{type:"button",name:"send_test_email"},domProps:{textContent:t._s(t.text_test_email)},on:{click:function(e){return e.preventDefault(),t.handleTestEmail(e)}}}),s("button",{staticClass:"wp-mail-smtp-button",attrs:{type:"button",name:"send_feedback"},domProps:{textContent:t._s(t.text_send_feedback)},on:{click:function(e){return e.preventDefault(),t.handleFeedback(e)}}}),s("button",{staticClass:"wp-mail-smtp-button wp-mail-smtp-button-main",attrs:{type:"button",name:"finish_setup"},domProps:{textContent:t._s(t.text_finish)},on:{click:function(e){return e.preventDefault(),t.handleFinish(e)}}})])])},_e=[],fe=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{class:"wp-mail-smtp-plugin-item wp-mail-smtp-plugin-"+t.slug},[i("span",{staticClass:"wp-mail-smtp-plugin-item-title-container"},[t.logo.length?i("img",{staticClass:"wp-mail-smtp-logo-icon",attrs:{src:t.logo2x,srcset:t.logo_srcset,alt:t.name}}):t._e(),i("span",{domProps:{textContent:t._s(t.name)}})]),i("button",{staticClass:"wp-mail-smtp-button",attrs:{type:"button",disabled:t.is_activated||t.is_installed},on:{click:function(e){return e.preventDefault(),t.handleClick(e)}}},[t.loading?i("loader",{attrs:{color:"white"}}):i("span",[t._v(" "+t._s(t.text_button_label)+" ")])],1)])},he=[],ge=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("img",{class:"wp-mail-smtp-loader wp-mail-smtp-loader-"+t.size,attrs:{src:t.image,alt:t.text_loading}})},we=[],be={name:"Loader",props:{color:{type:String,default:""},size:{type:String,default:"sm"}},data:function(){return{image:i("5711")("./loading".concat(this.color.length?"-"+this.color:"",".svg")),text_loading:Object(c["a"])("Loading","wp-mail-smtp")}}},Ae=be,ve=Object(_["a"])(Ae,ge,we,!1,null,null,null),xe=ve.exports,ye={name:"PluginItem",components:{Loader:xe},props:{slug:String,name:String,is_installed:Boolean,is_activated:Boolean},data:function(){return{loading:!1,logo:i("bbc2")("./".concat(this.slug,".png")),logo2x:i("7c9b")("./".concat(this.slug,"@2x.png"))}},computed:{text_button_label:function(){var t=Object(c["a"])("Install","wp-mail-smtp");return this.is_installed&&!this.is_activated&&(t=Object(c["a"])("Installed","wp-mail-smtp")),this.is_activated&&(t=Object(c["a"])("Activated","wp-mail-smtp")),t},logo_srcset:function(){return"".concat(this.logo,", ").concat(this.logo2x," 2x")}},methods:{handleClick:function(){var t=this;this.loading||(this.loading=!0,this.$store.dispatch("$_plugins/installPlugin",this.slug).then((function(e){e.success&&t.$wpms_success_toast({title:"Plugin: ".concat(t.name," installed!")}),t.loading=!1})))}}},Ce=ye,ke=(i("f8b1"),Object(_["a"])(Ce,fe,he,!1,null,"6b0d8118",null)),Oe=ke.exports,je={name:"WizardStepConfigurationSuccess",components:{ContentHeader:h,TheWizardStepCounter:X,PluginItem:Oe},data:function(){return{text_header_title:Object(c["a"])("Congrats, you’ve successfully set up WP Mail SMTP!","wp-mail-smtp"),text_header_subtitle:Object(c["a"])("Here’s what to do next:","wp-mail-smtp"),text_free_plugins_header:Object(c["a"])("Check out our other free WordPress plugins:","wp-mail-smtp"),text_upgrade_title:Object(c["a"])("Upgrade to Unlock Powerful SMTP Features","wp-mail-smtp"),text_upgrade_subtitle:Object(c["a"])("Upgrade to WP Mail SMTP Pro to unlock more awesome features and experience why WP Mail SMTP is used by over 2,000,000 websites.","wp-mail-smtp"),text_network_settings:Object(c["a"])("Multisite Network Settings","wp-mail-smtp"),text_manage_notifications:Object(c["a"])("Manage Default Notifications","wp-mail-smtp"),text_email_log:Object(c["a"])("Detailed Email Logs","wp-mail-smtp"),text_upgrade_button:Object(c["a"])("Upgrade to Pro Today","wp-mail-smtp"),text_test_email:Object(c["a"])("Send a Test Email","wp-mail-smtp"),text_send_feedback:Object(c["a"])("Send us Feedback","wp-mail-smtp"),text_finish:Object(c["a"])("Finish Setup","wp-mail-smtp"),text_bonus:Object(c["c"])(Object(c["a"])("%1$sBonus:%2$s You can upgrade to the Pro plan and %3$ssave %5$s today%4$s, automatically applied at checkout.","wp-mail-smtp"),"<b>","</b>",'<span class="medium-bold">',"</span>","$50"),star_image_html:'<img src="'.concat(i("6f43"),'" alt="').concat(Object(c["a"])("Star icon","wp-mail-smtp"),'" class="icon" / >'),is_pro:this.$wpms.is_pro}},computed:Object(n["a"])({},Object(nt["b"])({plugins:"$_plugins/partner_plugins"})),methods:{handleTestEmail:function(){return window.location=this.$wpms.email_test_tab_url},goodFeedback:function(){this.$swal({title:Object(c["a"])("Thanks for the feedback!","wp-mail-smtp"),html:"".concat(Object(c["c"])(Object(c["a"])("Help us spread the word %1$sby giving WP Mail SMTP a 5-star rating %3$s(%4$s) on WordPress.org%2$s. Thanks for your support and we look forward to bringing you more awesome features.","wp-mail-smtp"),'<span class="medium-bold">',"</span>","<br>",this.star_image_html+""+this.star_image_html+this.star_image_html+this.star_image_html+this.star_image_html)),width:650,showCloseButton:!0,allowEnterKey:!1,confirmButtonText:Object(c["a"])("Rate on WordPress.org","wp-mail-smtp"),customClass:{container:"wp-mail-smtp-swal wp-mail-smtp-swal-feedback-good"}}).then((function(t){if(t.value){var e=window.open("https://wordpress.org/support/plugin/wp-mail-smtp/reviews/#new-post","_blank");e.focus()}}))},badFeedback:function(){var t=this;this.$swal({title:Object(c["a"])("What could we do to improve?","wp-mail-smtp"),html:"".concat(Object(c["a"])("We're sorry things didn't go smoothly for you, and want to keep improving. Please let us know any specific parts of this process that you think could be better. We really appreciate any details you're willing to share!","wp-mail-smtp"),'\n\t\t\t\t\t\t\t\t<textarea id="feedback" name="feedback" rows="9"></textarea>\n\t\t\t\t\t\t\t\t<span class="permission-container">\n\t\t\t\t\t\t\t\t\t<input type="checkbox" id="permission" name="permission">\n\t\t\t\t\t\t\t\t\t<label for="permission">').concat(Object(c["a"])("Yes, I give WP Mail SMTP permission to contact me for any follow up questions.","wp-mail-smtp"),"</label>\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t"),width:650,showCloseButton:!0,allowEnterKey:!1,allowOutsideClick:!1,allowEscapeKey:!1,confirmButtonText:Object(c["a"])("Submit Feedback","wp-mail-smtp"),customClass:{container:"wp-mail-smtp-swal wp-mail-smtp-swal-feedback-bad"},preConfirm:function(){return[document.getElementById("feedback").value,document.getElementById("permission").checked]}}).then((function(e){if(e.value){var i=e.value[0],s=e.value[1];t.$store.dispatch("$_wizard/sendFeedback",{feedback:i,permission:s})}}))},handleFeedback:function(){var t=this;this.$swal({title:Object(c["a"])("How was your WP Mail SMTP setup experience?","wp-mail-smtp"),text:Object(c["a"])("Our goal is to make your SMTP setup as simple and straightforward as possible. We'd love to know how this process went for you!","wp-mail-smtp"),width:650,showCloseButton:!0,allowEnterKey:!1,customClass:{container:"wp-mail-smtp-swal wp-mail-smtp-swal-feedback"},showCancelButton:!0}).then((function(e){e.value?t.goodFeedback():void 0!==e.dismiss&&"cancel"===e.dismiss&&t.badFeedback()}))},handleFinish:function(){return window.location=this.$wpms.exit_url},openUpgradePage:function(){var t=window.open(this.$wpms.upgrade_link,"_blank");t.focus()}}},Se=je,Pe=Object(_["a"])(Se,de,_e,!1,null,null,null),Ee=Pe.exports,Te=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"wp-mail-smtp-setup-wizard-step wp-mail-smtp-setup-wizard-configuration-failure"},[s("div",{staticClass:"wp-mail-smtp-setup-wizard-content-container"},[s("div",{staticClass:"wp-mail-smtp-configuration-failure-header"},[s("the-wizard-step-counter"),s("content-header",{attrs:{title:t.text_header_title,subtitle:t.text_header_subtitle}})],1),s("div",{staticClass:"start-troubleshooting-arrow-container"},[s("inline-svg",{staticClass:"icon",attrs:{src:i("50bf"),width:"112",height:"112"}})],1)]),s("div",{staticClass:"wp-mail-smtp-separator wp-mail-smtp-separator-no-margin"}),s("div",{staticClass:"wp-mail-smtp-setup-wizard-step-footer"},[s("button",{staticClass:"wp-mail-smtp-button wp-mail-smtp-button-main",attrs:{type:"button",name:"start_troubleshooting"},domProps:{textContent:t._s(t.text_start_troubleshooting)},on:{click:function(e){return e.preventDefault(),t.handleTroubleshooting(e)}}}),s("button",{staticClass:"wp-mail-smtp-button",attrs:{type:"button",name:"finish_setup"},domProps:{textContent:t._s(t.text_finish)},on:{click:function(e){return e.preventDefault(),t.handleFinish(e)}}})])])},ze=[],Be={name:"WizardStepConfigurationFailure",components:{ContentHeader:h,TheWizardStepCounter:X},data:function(){return{text_header_title:Object(c["a"])("Whoops, looks like things aren’t configured properly.","wp-mail-smtp"),text_header_subtitle:Object(c["a"])("We just tried to send a test email, but something prevented that from working. To see more details about the issue we detected, as well as our suggestions to fix it, please start troubleshooting.","wp-mail-smtp"),text_start_troubleshooting:Object(c["a"])("Start Troubleshooting","wp-mail-smtp"),text_send_feedback:Object(c["a"])("Send us Feedback","wp-mail-smtp"),text_finish:Object(c["a"])("Finish Setup","wp-mail-smtp")}},methods:{handleTroubleshooting:function(){return window.location="".concat(this.$wpms.email_test_tab_url,"&auto-start=1")},handleFinish:function(){return window.location=this.$wpms.exit_url}}},Ie=Be,Me=Object(_["a"])(Ie,Te,ze,!1,null,null,null),De=Me.exports,Fe=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wp-mail-smtp-setup-wizard-step-configure-mailer-settings wp-mail-smtp-setup-wizard-step-configure-mailer-settings-smtp"},[i("p",{staticClass:"mailer-description",domProps:{innerHTML:t._s(t.description)}}),i("div",{staticClass:"wp-mail-smtp-setup-wizard-form"},[i("settings-input-text",{attrs:{name:"host",label:t.text_host_label,is_error:t.field_errors.includes("host")},on:{is_error_update:function(e){return t.removeFieldError("host")}},model:{value:t.host,callback:function(e){t.host=e},expression:"host"}}),i("settings-input-radio",{attrs:{name:"encryption",label:t.text_encryption_label,options:t.encryptionOptions,description:t.text_encryption_description},on:{input:t.encryptionChanged},model:{value:t.encryption,callback:function(e){t.encryption=e},expression:"encryption"}}),i("settings-input-number",{attrs:{name:"port",label:t.text_port_label,is_error:t.field_errors.includes("port")},on:{is_error_update:function(e){return t.removeFieldError("port")}},model:{value:t.port,callback:function(e){t.port=e},expression:"port"}}),i("settings-input-switch",{directives:[{name:"show",rawName:"v-show",value:t.show_autotls,expression:"show_autotls"}],attrs:{name:"autotls",title:t.text_autotls_title,label:t.text_autotls_label,description:t.text_autotls_description},model:{value:t.autotls,callback:function(e){t.autotls=e},expression:"autotls"}}),i("div",{staticClass:"wp-mail-smtp-separator wp-mail-smtp-separator-big-margin"}),i("settings-input-switch",{attrs:{name:"auth",title:t.text_auth_title,label:t.text_auth_label},model:{value:t.auth,callback:function(e){t.auth=e},expression:"auth"}}),i("settings-input-text",{directives:[{name:"show",rawName:"v-show",value:t.auth,expression:"auth"}],attrs:{name:"user",label:t.text_user_label,is_error:t.field_errors.includes("user")},on:{is_error_update:function(e){return t.removeFieldError("user")}},model:{value:t.user,callback:function(e){t.user=e},expression:"user"}}),i("settings-input-text",{directives:[{name:"show",rawName:"v-show",value:t.auth,expression:"auth"}],attrs:{name:"pass",type:"password",label:t.text_pass_label,is_error:t.field_errors.includes("pass")},on:{is_error_update:function(e){return t.removeFieldError("pass")}},model:{value:t.pass,callback:function(e){t.pass=e},expression:"pass"}}),i("div",{staticClass:"wp-mail-smtp-separator wp-mail-smtp-separator-big-margin"}),i("settings-input-text",{attrs:{name:"from_name",label:t.text_from_name_label,description:t.text_from_name_description},model:{value:t.from_name,callback:function(e){t.from_name=e},expression:"from_name"}}),i("settings-input-switch",{attrs:{classname:"sub_setting",name:"from_name_force",title:t.text_force_from_name_title,label:t.text_force_from_name_label},model:{value:t.from_name_force,callback:function(e){t.from_name_force=e},expression:"from_name_force"}}),i("settings-input-text",{attrs:{name:"from_email",type:"email",label:t.text_from_email_label,description:t.text_from_email_description,is_error:t.field_errors.includes("from_email")},on:{is_error_update:function(e){return t.removeFieldError("from_email")}},model:{value:t.from_email,callback:function(e){t.from_email=e},expression:"from_email"}}),i("settings-input-switch",{attrs:{classname:"sub_setting",name:"from_email_force",title:t.text_force_from_email_title,label:t.text_force_from_email_label},model:{value:t.from_email_force,callback:function(e){t.from_email_force=e},expression:"from_email_force"}})],1)])},Ne=[],Qe=(i("a4d3"),i("e01a"),function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"settings-input-radio"},[t.label?i("span",{staticClass:"settings-input-label-container"},[i("span",{staticClass:"label",domProps:{innerHTML:t._s(t.label)}})]):t._e(),i("div",{staticClass:"settings-input-radio-container"},t._l(t.options,(function(e){return i("label",{key:e.value,class:t.labelClass(e.value),attrs:{for:"wp-mail-smtp-settings-radio-"+t.name+"["+e.value+"]"}},[i("span",{class:t.titleClass(e.value)}),i("input",{directives:[{name:"model",rawName:"v-model",value:t.selected,expression:"selected"}],attrs:{id:"wp-mail-smtp-settings-radio-"+t.name+"["+e.value+"]",type:"radio",name:t.name,autocomplete:"off",readonly:t.disabled},domProps:{value:e.value,checked:t.isChecked(e.value),checked:t._q(t.selected,e.value)},on:{change:[function(i){t.selected=e.value},t.updateSetting]}}),i("span",{staticClass:"input-label",domProps:{innerHTML:t._s(e.label)}})])})),0),t.description?i("p",{staticClass:"description",domProps:{innerHTML:t._s(t.description)}}):t._e()])}),Le=[],We={name:"SettingsInputRadio",props:{options:Array,label:String,name:String,value:String,description:String,disabled:Boolean},data:function(){return{has_error:!1}},computed:{selected:{get:function(){return this.value},set:function(t){this.$emit("input",t)}}},methods:{updateSetting:function(){if(this.disabled)return!1},titleClass:function(t){var e="wp-mail-smtp-styled-radio";return this.isChecked(t)&&(e+=" wp-mail-smtp-styled-radio-checked"),e},labelClass:function(t){var e="";return this.isChecked(t)&&(e+=" wp-mail-smtp-styled-radio-label-checked"),e},isChecked:function(t){return t===this.selected}}},Ue=We,He=Object(_["a"])(Ue,Qe,Le,!1,null,null,null),Re=He.exports,Ge=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"settings-input-number",class:{"settings-input-number-error":t.field_error}},[s("label",{staticClass:"settings-input-label-container",attrs:{for:t.id}},[t.label?s("span",{staticClass:"label",domProps:{innerHTML:t._s(t.label)}}):t._e(),t.tooltip?s("settings-info-tooltip",{attrs:{content:t.tooltip}}):t._e()],1),s("input",{directives:[{name:"model",rawName:"v-model",value:t.currentValue,expression:"currentValue"}],attrs:{id:t.id,type:"number",name:t.name,placeholder:t.placeholder,min:t.min,max:t.max,step:t.step,readonly:t.disabled},domProps:{value:t.currentValue},on:{change:t.inputUpdate,input:function(e){e.target.composing||(t.currentValue=e.target.value)}}}),t.has_error?s("p",{staticClass:"error"},[s("inline-svg",{staticClass:"icon",attrs:{src:i("827a"),width:"16"}}),s("span",{domProps:{innerHTML:t._s(t.has_error)}})],1):t._e(),t.description?s("p",{staticClass:"description",domProps:{innerHTML:t._s(t.description)}}):t._e()])},Ve=[],Ye=(i("a9e3"),{name:"SettingsInputNumber",components:{SettingsInfoTooltip:Nt},props:{name:String,value:[Number,String],label:String,description:String,placeholder:String,type:{type:String,default:"text"},tooltip:String,default_value:String,min:Number,max:Number,disabled:Boolean,step:{type:Number,default:1},round:{type:Boolean,default:!1},is_error:Boolean},data:function(){return{has_error:!1,id:"input-"+this.name,text_error_value:Object(c["c"])(Object(c["a"])("Please enter a value between %1$s and %2$s","wp-mail-smtp"),"<strong>"+this.min+"</strong>","<strong>"+this.max+"</strong>"),text_error_round:Object(c["a"])("Value has to be a round number","wp-mail-smtp")}},computed:{currentValue:{get:function(){return this.value},set:function(t){this.$emit("is_error_update",!1),this.$emit("input",parseInt(t,10))}},field_error:{get:function(){return this.is_error},set:function(t){this.$emit("is_error_update",t)}}},methods:{inputUpdate:function(t){if(this.disabled)return!1;this.has_error=!1;var e=parseFloat(t.target.value);return this.round&&e%1!==0?(this.has_error=this.text_error_round,!1):e>this.max||e<this.min?(this.has_error=this.text_error_value,!1):void 0}}}),Je=Ye,Ke=Object(_["a"])(Je,Ge,Ve,!1,null,null,null),qe=Ke.exports,Ze=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"settings-input-switch",class:t.classname},[i("label",{attrs:{for:t.id}},[i("span",{staticClass:"title settings-input-label-container"},[i("span",{staticClass:"label",domProps:{innerHTML:t._s(t.title)}}),t.tooltip?i("settings-info-tooltip",{attrs:{content:t.tooltip}}):t._e()],1),t.description?i("p",{staticClass:"description",domProps:{innerHTML:t._s(t.description)}}):t._e(),i("span",{staticClass:"control"},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.currentValue,expression:"currentValue"}],attrs:{id:t.id,type:"checkbox",name:t.name,disabled:t.disabled},domProps:{checked:Array.isArray(t.currentValue)?t._i(t.currentValue,null)>-1:t.currentValue},on:{change:[function(e){var i=t.currentValue,s=e.target,a=!!s.checked;if(Array.isArray(i)){var n=null,o=t._i(i,n);s.checked?o<0&&(t.currentValue=i.concat([n])):o>-1&&(t.currentValue=i.slice(0,o).concat(i.slice(o+1)))}else t.currentValue=a},t.inputUpdate]}}),i("span",{class:{"toggle-switch":!0,"toggle-switch-with-label":t.label}}),t.label?i("span",{staticClass:"label-description",domProps:{innerHTML:t._s(t.label)}}):t._e()])])])},Xe=[],$e={name:"SettingsInputSwitch",components:{SettingsInfoTooltip:Nt},props:{name:String,value:Boolean,title:String,label:String,description:String,tooltip:String,classname:String,disabled:Boolean},data:function(){return{has_error:!1,id:"input-"+this.name}},computed:{currentValue:{get:function(){return this.value},set:function(t){this.$emit("input",!!t)}}},methods:{inputUpdate:function(){if(this.disabled)return!1}}},ti=$e,ei=Object(_["a"])(ti,Ze,Xe,!1,null,null,null),ii=ei.exports,si={name:"WizardStepConfigureMailerSmtp",components:{SettingsInputText:Ut,SettingsInputRadio:Re,SettingsInputNumber:qe,SettingsInputSwitch:ii},data:function(){return{mailer:"smtp",text_host_label:Object(c["a"])("SMTP Host","wp-mail-smtp"),text_encryption_label:Object(c["a"])("Encryption","wp-mail-smtp"),text_port_label:Object(c["a"])("SMTP Port","wp-mail-smtp"),text_autotls_title:Object(c["a"])("Auto TLS","wp-mail-smtp"),text_autotls_label:Object(c["a"])("Enable Auto TLS","wp-mail-smtp"),text_autotls_description:Object(c["a"])("By default, TLS encryption is automatically used if the server supports it (recommended). In some cases, due to server misconfigurations, this can cause issues and may need to be disabled.","wp-mail-smtp"),text_auth_title:Object(c["a"])("Authentication","wp-mail-smtp"),text_auth_label:Object(c["a"])("Enable Authentication","wp-mail-smtp"),text_user_label:Object(c["a"])("SMTP Username","wp-mail-smtp"),text_pass_label:Object(c["a"])("SMTP Password","wp-mail-smtp"),text_from_name_label:Object(c["a"])("From Name","wp-mail-smtp"),text_force_from_name_title:Object(c["a"])("Force From Name","wp-mail-smtp"),text_from_email_label:Object(c["a"])("From Email","wp-mail-smtp"),text_force_from_email_title:Object(c["a"])("Force From Email","wp-mail-smtp"),text_from_name_description:Object(c["a"])("The name that emails are sent from.","wp-mail-smtp"),text_from_email_description:Object(c["a"])("The email address that emails are sent from.","wp-mail-smtp"),text_encryption_description:Object(c["a"])("For most servers TLS is the recommended option. If your SMTP provider offers both SSL and TLS options, we recommend using TLS.","wp-mail-smtp"),text_force_from_name_label:Object(c["a"])("If enabled, the From Name setting above will be used for all emails, ignoring values set by other plugins.","wp-mail-smtp"),text_force_from_email_label:Object(c["a"])("If enabled, the From Email setting above will be used for all emails, ignoring values set by other plugins.","wp-mail-smtp"),description:this.$wpms.mailer_options.smtp.description,encryptionOptions:[{label:Object(c["a"])("None","wp-mail-smtp"),value:"none",default_port:25},{label:Object(c["a"])("SSL","wp-mail-smtp"),value:"ssl",default_port:465},{label:Object(c["a"])("TLS","wp-mail-smtp"),value:"tls",default_port:587}],show_autotls:!0,show_user_and_pass:!0,field_errors:[]}},computed:Object(n["a"])({},Object(ut["b"])("$_settings",["settings.smtp.host","settings.smtp.auth","settings.smtp.port","settings.smtp.encryption","settings.smtp.user","settings.smtp.pass","settings.smtp.autotls","settings.mail.from_email","settings.mail.from_name","settings.mail.from_email_force","settings.mail.from_name_force"])),watch:{encryption:function(t){this.show_autotls="tls"!==t}},methods:{getEncryptionDefaultPort:function(t){return this.encryptionOptions.find((function(e){return e.value===t})).default_port},encryptionChanged:function(t){this.port=this.getEncryptionDefaultPort(t)},areRequiredFieldsValid:function(){var t=!0;return""===this.host&&(t=!1,this.field_errors.push("host")),(""===this.port||isNaN(this.port))&&(t=!1,this.field_errors.push("port")),this.auth&&(""===this.user&&(t=!1,this.field_errors.push("user")),""===this.pass&&(t=!1,this.field_errors.push("pass"))),""===this.from_email&&(t=!1,this.field_errors.push("from_email")),t},removeFieldError:function(t){this.field_errors=this.field_errors.filter((function(e){return e!==t}))}},mounted:function(){"tls"===this.encryption&&(this.show_autotls=!1)}},ai=si,ni=Object(_["a"])(ai,Fe,Ne,!1,null,null,null),oi=ni.exports,ri=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"wp-mail-smtp-setup-wizard-step-configure-mailer-settings wp-mail-smtp-setup-wizard-step-configure-mailer-settings-smtpcom"},[s("p",{staticClass:"mailer-description",domProps:{innerHTML:t._s(t.description)}}),s("p",{staticClass:"mailer-description mailer-description-links"},[s("a",{staticClass:"wp-mail-smtp-button wp-mail-smtp-button-small wp-mail-smtp-button-secondary",attrs:{href:"https://wpmailsmtp.com/go/smtp/",target:"_blank",rel:"noopener noreferrer"}},[s("span",{staticClass:"text-with-arrow text-with-arrow-right"},[t._v(" "+t._s(t.text_get_started_button)),s("inline-svg",{staticClass:"icon",attrs:{src:i("107e"),width:"16",height:"23"}})],1)]),s("a",{staticClass:"wp-mail-smtp-link",attrs:{href:"https://wpmailsmtp.com/docs/how-to-set-up-the-smtp-com-mailer-in-wp-mail-smtp",target:"_blank",rel:"noopener noreferrer"}},[t._v(t._s(t.text_documentation_link))])]),s("div",{staticClass:"wp-mail-smtp-setup-wizard-form"},[s("settings-input-text",{attrs:{name:"api_key",type:"password",label:t.text_api_key_label,description:t.text_api_key_description,is_error:t.field_errors.includes("api_key")},on:{is_error_update:function(e){return t.removeFieldError("api_key")}},model:{value:t.api_key,callback:function(e){t.api_key=e},expression:"api_key"}}),s("settings-input-text",{attrs:{name:"channel",label:t.text_channel_label,description:t.text_channel_description,is_error:t.field_errors.includes("channel")},on:{is_error_update:function(e){return t.removeFieldError("channel")}},model:{value:t.channel,callback:function(e){t.channel=e},expression:"channel"}}),s("settings-input-text",{attrs:{name:"from_name",label:t.text_from_name_label,description:t.text_from_name_description},model:{value:t.from_name,callback:function(e){t.from_name=e},expression:"from_name"}}),s("settings-input-switch",{attrs:{classname:"sub_setting",name:"from_name_force",title:t.text_force_from_name_title,label:t.text_force_from_name_label},model:{value:t.from_name_force,callback:function(e){t.from_name_force=e},expression:"from_name_force"}}),s("settings-input-text",{attrs:{name:"from_email",type:"email",label:t.text_from_email_label,description:t.text_from_email_description,is_error:t.field_errors.includes("from_email")},on:{is_error_update:function(e){return t.removeFieldError("from_email")}},model:{value:t.from_email,callback:function(e){t.from_email=e},expression:"from_email"}}),s("settings-input-switch",{attrs:{classname:"sub_setting",name:"from_email_force",title:t.text_force_from_email_title,label:t.text_force_from_email_label},model:{value:t.from_email_force,callback:function(e){t.from_email_force=e},expression:"from_email_force"}})],1)])},li=[],ci=(i("baa5"),{name:"WizardStepConfigureMailerSmtpCom",components:{SettingsInputText:Ut,SettingsInputSwitch:ii},data:function(){return{mailer:"smtpcom",text_api_key_label:Object(c["a"])("API Key","wp-mail-smtp"),text_channel_label:Object(c["a"])("Sender Name","wp-mail-smtp"),text_api_key_description:Object(c["c"])(Object(c["a"])("%1$sFollow this link%2$s to get an API Key for SMTP.com.","wp-mail-smtp"),'<a href="https://my.smtp.com/settings/api" target="_blank" rel="noopener noreferrer">',"</a>"),text_channel_description:Object(c["c"])(Object(c["a"])("%1$sFollow this link%2$s to get a Sender Name for SMTP.com.","wp-mail-smtp"),'<a href="https://my.smtp.com/senders/" target="_blank" rel="noopener noreferrer">',"</a>"),text_from_name_label:Object(c["a"])("From Name","wp-mail-smtp"),text_force_from_name_title:Object(c["a"])("Force From Name","wp-mail-smtp"),text_from_email_label:Object(c["a"])("From Email","wp-mail-smtp"),text_force_from_email_title:Object(c["a"])("Force From Email","wp-mail-smtp"),text_force_from_name_label:Object(c["a"])("If enabled, the From Name setting above will be used for all emails, ignoring values set by other plugins.","wp-mail-smtp"),text_force_from_email_label:Object(c["a"])("If enabled, the From Email setting above will be used for all emails, ignoring values set by other plugins.","wp-mail-smtp"),text_from_name_description:Object(c["a"])("The name that emails are sent from.","wp-mail-smtp"),text_from_email_description:Object(c["a"])("The email address that emails are sent from.","wp-mail-smtp"),text_get_started_button:Object(c["a"])("Get Started with SMTP.com","wp-mail-smtp"),text_documentation_link:Object(c["a"])("Read how to set up SMTP.com","wp-mail-smtp"),description:this.$wpms.mailer_options.smtpcom.description.substr(0,this.$wpms.mailer_options.smtpcom.description.lastIndexOf("<br><br>")),field_errors:[]}},computed:Object(n["a"])({},Object(ut["b"])("$_settings",["settings.smtpcom.api_key","settings.smtpcom.channel","settings.mail.from_email","settings.mail.from_name","settings.mail.from_email_force","settings.mail.from_name_force"])),methods:{areRequiredFieldsValid:function(){var t=!0;return""===this.api_key&&(t=!1,this.field_errors.push("api_key")),""===this.channel&&(t=!1,this.field_errors.push("channel")),""===this.from_email&&(t=!1,this.field_errors.push("from_email")),t},removeFieldError:function(t){this.field_errors=this.field_errors.filter((function(e){return e!==t}))}}}),pi=ci,mi=Object(_["a"])(pi,ri,li,!1,null,null,null),ui=mi.exports,di=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"wp-mail-smtp-setup-wizard-step-configure-mailer-settings wp-mail-smtp-setup-wizard-step-configure-mailer-settings-sendinblue"},[s("p",{staticClass:"mailer-description",domProps:{innerHTML:t._s(t.description)}}),s("p",{staticClass:"mailer-description mailer-description-links"},[s("a",{staticClass:"wp-mail-smtp-button wp-mail-smtp-button-small wp-mail-smtp-button-secondary",attrs:{href:"https://wpmailsmtp.com/go/sendinblue/",target:"_blank",rel:"noopener noreferrer"}},[s("span",{staticClass:"text-with-arrow text-with-arrow-right"},[t._v(" "+t._s(t.text_get_started_button)),s("inline-svg",{staticClass:"icon",attrs:{src:i("107e"),width:"16",height:"23"}})],1)]),s("a",{staticClass:"wp-mail-smtp-link",attrs:{href:"https://wpmailsmtp.com/docs/how-to-set-up-the-sendinblue-mailer-in-wp-mail-smtp",target:"_blank",rel:"noopener noreferrer"}},[t._v(t._s(t.text_documentation_link))])]),s("div",{staticClass:"wp-mail-smtp-setup-wizard-form"},[s("settings-input-text",{attrs:{name:"api_key",type:"password",label:t.text_api_key_label,description:t.text_api_key_description,is_error:t.field_errors.includes("api_key")},on:{is_error_update:function(e){return t.removeFieldError("api_key")}},model:{value:t.api_key,callback:function(e){t.api_key=e},expression:"api_key"}}),s("settings-input-text",{attrs:{name:"domain",label:t.text_domain_label,description:t.text_domain_description},model:{value:t.domain,callback:function(e){t.domain=e},expression:"domain"}}),s("settings-input-text",{attrs:{name:"from_name",label:t.text_from_name_label,description:t.text_from_name_description},model:{value:t.from_name,callback:function(e){t.from_name=e},expression:"from_name"}}),s("settings-input-switch",{attrs:{classname:"sub_setting",name:"from_name_force",title:t.text_force_from_name_title,label:t.text_force_from_name_label},model:{value:t.from_name_force,callback:function(e){t.from_name_force=e},expression:"from_name_force"}}),s("settings-input-text",{attrs:{name:"from_email",type:"email",label:t.text_from_email_label,description:t.text_from_email_description,is_error:t.field_errors.includes("from_email")},on:{is_error_update:function(e){return t.removeFieldError("from_email")}},model:{value:t.from_email,callback:function(e){t.from_email=e},expression:"from_email"}}),s("settings-input-switch",{attrs:{classname:"sub_setting",name:"from_email_force",title:t.text_force_from_email_title,label:t.text_force_from_email_label},model:{value:t.from_email_force,callback:function(e){t.from_email_force=e},expression:"from_email_force"}})],1)])},_i=[],fi={name:"WizardStepConfigureMailerSendinblue",components:{SettingsInputText:Ut,SettingsInputSwitch:ii},data:function(){return{mailer:"sendinblue",text_api_key_label:Object(c["a"])("API Key","wp-mail-smtp"),text_domain_label:Object(c["a"])("Sending Domain","wp-mail-smtp"),text_api_key_description:Object(c["c"])(Object(c["a"])("%1$sFollow this link%2$s to get an API Key for Sendinblue.","wp-mail-smtp"),'<a href="https://account.sendinblue.com/advanced/api" target="_blank" rel="noopener noreferrer">',"</a>"),text_domain_description:Object(c["c"])(Object(c["a"])("Please input the sending domain/subdomain you configured in your Sendinblue dashboard. More information can be found in our %1$sSendinblue documentation%2$s","wp-mail-smtp"),'<a href="https://wpmailsmtp.com/docs/how-to-set-up-the-sendinblue-mailer-in-wp-mail-smtp#setup-smtp" target="_blank" rel="noopener noreferrer">',"</a>"),text_from_name_label:Object(c["a"])("From Name","wp-mail-smtp"),text_force_from_name_title:Object(c["a"])("Force From Name","wp-mail-smtp"),text_from_email_label:Object(c["a"])("From Email","wp-mail-smtp"),text_force_from_email_title:Object(c["a"])("Force From Email","wp-mail-smtp"),text_force_from_name_label:Object(c["a"])("If enabled, the From Name setting above will be used for all emails, ignoring values set by other plugins.","wp-mail-smtp"),text_force_from_email_label:Object(c["a"])("If enabled, the From Email setting above will be used for all emails, ignoring values set by other plugins.","wp-mail-smtp"),text_from_name_description:Object(c["a"])("The name that emails are sent from.","wp-mail-smtp"),text_from_email_description:Object(c["a"])("The email address that emails are sent from.","wp-mail-smtp"),text_get_started_button:Object(c["a"])("Get Started with Sendinblue","wp-mail-smtp"),text_documentation_link:Object(c["a"])("Read how to set up Sendinblue","wp-mail-smtp"),description:this.$wpms.mailer_options.sendinblue.description.substr(0,this.$wpms.mailer_options.sendinblue.description.lastIndexOf("<br><br>")),field_errors:[]}},computed:Object(n["a"])({},Object(ut["b"])("$_settings",["settings.sendinblue.api_key","settings.sendinblue.domain","settings.mail.from_email","settings.mail.from_name","settings.mail.from_email_force","settings.mail.from_name_force"])),methods:{areRequiredFieldsValid:function(){var t=!0;return""===this.api_key&&(t=!1,this.field_errors.push("api_key")),""===this.from_email&&(t=!1,this.field_errors.push("from_email")),t},removeFieldError:function(t){this.field_errors=this.field_errors.filter((function(e){return e!==t}))}}},hi=fi,gi=Object(_["a"])(hi,di,_i,!1,null,null,null),wi=gi.exports,bi=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wp-mail-smtp-setup-wizard-step-configure-mailer-settings wp-mail-smtp-setup-wizard-step-configure-mailer-settings-mailgun"},[i("p",{staticClass:"mailer-description",domProps:{innerHTML:t._s(t.description)}}),i("p",{staticClass:"mailer-description mailer-description-links"},[i("a",{staticClass:"wp-mail-smtp-link",attrs:{href:"https://wpmailsmtp.com/docs/how-to-set-up-the-mailgun-mailer-in-wp-mail-smtp/",target:"_blank",rel:"noopener noreferrer"}},[t._v(t._s(t.text_documentation_link))])]),i("div",{staticClass:"wp-mail-smtp-setup-wizard-form"},[i("settings-input-text",{attrs:{name:"api_key",type:"password",label:t.text_api_key_label,description:t.text_api_key_description,is_error:t.field_errors.includes("api_key")},on:{is_error_update:function(e){return t.removeFieldError("api_key")}},model:{value:t.api_key,callback:function(e){t.api_key=e},expression:"api_key"}}),i("settings-input-text",{attrs:{name:"domain",label:t.text_domain_label,description:t.text_domain_description,is_error:t.field_errors.includes("domain")},on:{is_error_update:function(e){return t.removeFieldError("domain")}},model:{value:t.domain,callback:function(e){t.domain=e},expression:"domain"}}),i("settings-input-radio",{attrs:{name:"region",label:t.text_region_label,options:t.regionOptions,description:t.text_region_description},model:{value:t.region,callback:function(e){t.region=e},expression:"region"}}),i("settings-input-text",{attrs:{name:"from_name",label:t.text_from_name_label,description:t.text_from_name_description},model:{value:t.from_name,callback:function(e){t.from_name=e},expression:"from_name"}}),i("settings-input-switch",{attrs:{classname:"sub_setting",name:"from_name_force",title:t.text_force_from_name_title,label:t.text_force_from_name_label},model:{value:t.from_name_force,callback:function(e){t.from_name_force=e},expression:"from_name_force"}}),i("settings-input-text",{attrs:{name:"from_email",type:"email",label:t.text_from_email_label,description:t.text_from_email_description,is_error:t.field_errors.includes("from_email")},on:{is_error_update:function(e){return t.removeFieldError("from_email")}},model:{value:t.from_email,callback:function(e){t.from_email=e},expression:"from_email"}}),i("settings-input-switch",{attrs:{classname:"sub_setting",name:"from_email_force",title:t.text_force_from_email_title,label:t.text_force_from_email_label},model:{value:t.from_email_force,callback:function(e){t.from_email_force=e},expression:"from_email_force"}})],1)])},Ai=[],vi=(i("c975"),{name:"WizardStepConfigureMailerMailgun",components:{SettingsInputText:Ut,SettingsInputRadio:Re,SettingsInputSwitch:ii},data:function(){return{mailer:"mailgun",text_api_key_label:Object(c["a"])("API Key","wp-mail-smtp"),text_domain_label:Object(c["a"])("Domain Name","wp-mail-smtp"),text_region_label:Object(c["a"])("Region","wp-mail-smtp"),text_api_key_description:Object(c["c"])(Object(c["a"])("%1$sFollow this link%2$s to get an API Key from Mailgun.","wp-mail-smtp"),'<a href="https://app.mailgun.com/app/account/security/api_keys" target="_blank" rel="noopener noreferrer">',"</a>"),text_domain_description:Object(c["c"])(Object(c["a"])("%1$sFollow this link%2$s to get a Domain Name from Mailgun.","wp-mail-smtp"),'<a href="https://app.mailgun.com/app/domains" target="_blank" rel="noopener noreferrer">',"</a>"),text_region_description:Object(c["c"])(Object(c["a"])("Define which endpoint you want to use for sending messages. If you are operating under EU laws, you may be required to use EU region. %1$sMore information%2$s on Mailgun.com.","wp-mail-smtp"),'<a href="https://www.mailgun.com/regions" target="_blank" rel="noopener noreferrer">',"</a>"),text_from_name_label:Object(c["a"])("From Name","wp-mail-smtp"),text_force_from_name_title:Object(c["a"])("Force From Name","wp-mail-smtp"),text_from_email_label:Object(c["a"])("From Email","wp-mail-smtp"),text_force_from_email_title:Object(c["a"])("Force From Email","wp-mail-smtp"),text_force_from_name_label:Object(c["a"])("If enabled, the From Name setting above will be used for all emails, ignoring values set by other plugins.","wp-mail-smtp"),text_force_from_email_label:Object(c["a"])("If enabled, the From Email setting above will be used for all emails, ignoring values set by other plugins.","wp-mail-smtp"),text_from_name_description:Object(c["a"])("The name that emails are sent from.","wp-mail-smtp"),text_from_email_description:Object(c["a"])("The email address that emails are sent from.","wp-mail-smtp"),text_documentation_link:Object(c["a"])("Read how to set up Mailgun","wp-mail-smtp"),description:this.$wpms.mailer_options.mailgun.description.substr(0,this.$wpms.mailer_options.mailgun.description.indexOf("<br>")),regionOptions:[{label:Object(c["a"])("US","wp-mail-smtp"),value:"US"},{label:Object(c["a"])("EU","wp-mail-smtp"),value:"EU"}],field_errors:[]}},computed:Object(n["a"])({},Object(ut["b"])("$_settings",["settings.mailgun.api_key","settings.mailgun.domain","settings.mailgun.region","settings.mail.from_email","settings.mail.from_name","settings.mail.from_email_force","settings.mail.from_name_force"])),methods:{areRequiredFieldsValid:function(){var t=!0;return""===this.api_key&&(t=!1,this.field_errors.push("api_key")),""===this.domain&&(t=!1,this.field_errors.push("domain")),""===this.from_email&&(t=!1,this.field_errors.push("from_email")),t},removeFieldError:function(t){this.field_errors=this.field_errors.filter((function(e){return e!==t}))}}}),xi=vi,yi=Object(_["a"])(xi,bi,Ai,!1,null,null,null),Ci=yi.exports,ki=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wp-mail-smtp-setup-wizard-step-configure-mailer-settings wp-mail-smtp-setup-wizard-step-configure-mailer-settings-sendgrid"},[i("p",{staticClass:"mailer-description",domProps:{innerHTML:t._s(t.description)}}),i("p",{staticClass:"mailer-description mailer-description-links"},[i("a",{staticClass:"wp-mail-smtp-link",attrs:{href:"https://wpmailsmtp.com/docs/how-to-set-up-the-sendgrid-mailer-in-wp-mail-smtp/",target:"_blank",rel:"noopener noreferrer"}},[t._v(t._s(t.text_documentation_link))])]),i("div",{staticClass:"wp-mail-smtp-setup-wizard-form"},[i("settings-input-text",{attrs:{name:"api_key",type:"password",label:t.text_api_key_label,description:t.text_api_key_description,is_error:t.field_errors.includes("api_key")},on:{is_error_update:function(e){return t.removeFieldError("api_key")}},model:{value:t.api_key,callback:function(e){t.api_key=e},expression:"api_key"}}),i("settings-input-text",{attrs:{name:"domain",label:t.text_domain_label,description:t.text_domain_description},model:{value:t.domain,callback:function(e){t.domain=e},expression:"domain"}}),i("settings-input-text",{attrs:{name:"from_name",label:t.text_from_name_label,description:t.text_from_name_description},model:{value:t.from_name,callback:function(e){t.from_name=e},expression:"from_name"}}),i("settings-input-switch",{attrs:{classname:"sub_setting",name:"from_name_force",title:t.text_force_from_name_title,label:t.text_force_from_name_label},model:{value:t.from_name_force,callback:function(e){t.from_name_force=e},expression:"from_name_force"}}),i("settings-input-text",{attrs:{name:"from_email",type:"email",label:t.text_from_email_label,description:t.text_from_email_description,is_error:t.field_errors.includes("from_email")},on:{is_error_update:function(e){return t.removeFieldError("from_email")}},model:{value:t.from_email,callback:function(e){t.from_email=e},expression:"from_email"}}),i("settings-input-switch",{attrs:{classname:"sub_setting",name:"from_email_force",title:t.text_force_from_email_title,label:t.text_force_from_email_label},model:{value:t.from_email_force,callback:function(e){t.from_email_force=e},expression:"from_email_force"}})],1)])},Oi=[],ji={name:"WizardStepConfigureMailerSendgrid",components:{SettingsInputText:Ut,SettingsInputSwitch:ii},data:function(){return{mailer:"sendgrid",text_api_key_label:Object(c["a"])("API Key","wp-mail-smtp"),text_domain_label:Object(c["a"])("Sending Domain","wp-mail-smtp"),text_api_key_description:Object(c["c"])(Object(c["a"])("%1$sFollow this link%2$s to get an API Key for Sendgrid.","wp-mail-smtp"),'<a href="https://app.sendgrid.com/settings/api_keys" target="_blank" rel="noopener noreferrer">',"</a>")+"<br>"+Object(c["c"])(Object(c["a"])("To send emails you will need only a %1$sMail Send%2$s access level for this API key.","wp-mail-smtp"),"<i>","</i>"),text_domain_description:Object(c["c"])(Object(c["a"])("Please input the sending domain/subdomain you configured in your SendGrid dashboard. More information can be found in our %1$sSendGrid documentation%2$s","wp-mail-smtp"),'<a href="https://wpmailsmtp.com/docs/how-to-set-up-the-sendgrid-mailer-in-wp-mail-smtp/#setup" target="_blank" rel="noopener noreferrer">',"</a>"),text_from_name_label:Object(c["a"])("From Name","wp-mail-smtp"),text_force_from_name_title:Object(c["a"])("Force From Name","wp-mail-smtp"),text_from_email_label:Object(c["a"])("From Email","wp-mail-smtp"),text_force_from_email_title:Object(c["a"])("Force From Email","wp-mail-smtp"),text_force_from_name_label:Object(c["a"])("If enabled, the From Name setting above will be used for all emails, ignoring values set by other plugins.","wp-mail-smtp"),text_force_from_email_label:Object(c["a"])("If enabled, the From Email setting above will be used for all emails, ignoring values set by other plugins.","wp-mail-smtp"),text_from_name_description:Object(c["a"])("The name that emails are sent from.","wp-mail-smtp"),text_from_email_description:Object(c["a"])("The email address that emails are sent from.","wp-mail-smtp"),text_documentation_link:Object(c["a"])("Read how to set up Sendgrid","wp-mail-smtp"),description:this.$wpms.mailer_options.sendgrid.description.substr(0,this.$wpms.mailer_options.sendgrid.description.indexOf("<br>")),field_errors:[]}},computed:Object(n["a"])({},Object(ut["b"])("$_settings",["settings.sendgrid.api_key","settings.sendgrid.domain","settings.mail.from_email","settings.mail.from_name","settings.mail.from_email_force","settings.mail.from_name_force"])),methods:{areRequiredFieldsValid:function(){var t=!0;return""===this.api_key&&(t=!1,this.field_errors.push("api_key")),""===this.from_email&&(t=!1,this.field_errors.push("from_email")),t},removeFieldError:function(t){this.field_errors=this.field_errors.filter((function(e){return e!==t}))}}},Si=ji,Pi=Object(_["a"])(Si,ki,Oi,!1,null,null,null),Ei=Pi.exports,Ti=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wp-mail-smtp-setup-wizard-step-configure-mailer-settings wp-mail-smtp-setup-wizard-step-configure-mailer-settings-amazonses"},[i("p",{staticClass:"mailer-description",domProps:{innerHTML:t._s(t.description)}}),i("p",{staticClass:"mailer-description mailer-description-links"},[i("b",[i("a",{staticClass:"wp-mail-smtp-link",attrs:{href:"https://wpmailsmtp.com/docs/how-to-set-up-the-amazon-ses-mailer-in-wp-mail-smtp/",target:"_blank",rel:"noopener noreferrer"}},[t._v(t._s(t.text_documentation_link))])])]),i("div",{staticClass:"wp-mail-smtp-setup-wizard-form"},[i("settings-input-text",{attrs:{name:"client_id",label:t.text_client_id_label,is_error:t.field_errors.includes("client_id")},on:{is_error_update:function(e){return t.removeFieldError("client_id")}},model:{value:t.client_id,callback:function(e){t.client_id=e},expression:"client_id"}}),i("settings-input-text",{attrs:{name:"client_secret",type:"password",label:t.text_client_secret_label,is_error:t.field_errors.includes("client_secret")},on:{is_error_update:function(e){return t.removeFieldError("client_secret")}},model:{value:t.client_secret,callback:function(e){t.client_secret=e},expression:"client_secret"}}),i("settings-input-select",{attrs:{name:"region",label:t.text_region_label,options:t.regionOptions,description:t.text_region_description,is_error:t.field_errors.includes("region")},on:{is_error_update:function(e){return t.removeFieldError("region")}},model:{value:t.region,callback:function(e){t.region=e},expression:"region"}}),t.is_api_auth_missing?t._e():i("div",[i("div",{staticClass:"wp-mail-smtp-separator wp-mail-smtp-separator-big-margin"}),i("settings-amazon-s-e-s-identities",{attrs:{options:t.identities,label:t.text_identities_label,columns:t.identities_columns}}),i("div",{staticClass:"wp-mail-smtp-separator wp-mail-smtp-separator-big-margin"}),i("settings-input-text",{attrs:{name:"from_name",label:t.text_from_name_label,description:t.text_from_name_description},model:{value:t.from_name,callback:function(e){t.from_name=e},expression:"from_name"}}),i("settings-input-switch",{attrs:{classname:"sub_setting",name:"from_name_force",title:t.text_force_from_name_title,label:t.text_force_from_name_label},model:{value:t.from_name_force,callback:function(e){t.from_name_force=e},expression:"from_name_force"}}),i("settings-input-text",{attrs:{name:"from_email",type:"email",label:t.text_from_email_label,description:t.text_from_email_description,is_error:t.field_errors.includes("from_email")},on:{is_error_update:function(e){return t.removeFieldError("from_email")}},model:{value:t.from_email,callback:function(e){t.from_email=e},expression:"from_email"}}),i("settings-input-switch",{attrs:{classname:"sub_setting",name:"from_email_force",title:t.text_force_from_email_title,label:t.text_force_from_email_label},model:{value:t.from_email_force,callback:function(e){t.from_email_force=e},expression:"from_email_force"}})],1)],1)])},zi=[],Bi=i("f7fe"),Ii=i.n(Bi),Mi=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"settings-input-select",class:{"settings-input-select-error":t.field_error}},[i("label",{staticClass:"settings-input-label-container",attrs:{for:"wp-mail-smtp-settings-select-"+t.name}},[i("span",{staticClass:"label",domProps:{innerHTML:t._s(t.label)}})]),i("div",{staticClass:"settings-input-select-container"},[i("select",{directives:[{name:"model",rawName:"v-model",value:t.selected,expression:"selected"}],attrs:{id:"wp-mail-smtp-settings-select-"+t.name,name:t.name,readonly:t.disabled},on:{change:function(e){var i=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.selected=e.target.multiple?i:i[0]}}},t._l(t.options,(function(e){return i("option",{key:e.value,domProps:{value:e.value}},[t._v(" "+t._s(e.label)+" ")])})),0)]),t.description?i("p",{staticClass:"description",domProps:{innerHTML:t._s(t.description)}}):t._e()])},Di=[],Fi={name:"SettingsInputSelect",props:{options:Array,label:String,name:String,value:String,description:String,disabled:Boolean,is_error:Boolean},computed:{selected:{get:function(){return this.value},set:function(t){this.$emit("is_error_update",!1),this.$emit("input",t)}},field_error:{get:function(){return this.is_error},set:function(t){this.$emit("is_error_update",t)}}}},Ni=Fi,Qi=Object(_["a"])(Ni,Mi,Di,!1,null,null,null),Li=Qi.exports,Wi=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"settings-amazon-ses-identities"},[s("label",{staticClass:"settings-input-label-container"},[s("span",{staticClass:"label",domProps:{innerHTML:t._s(t.label)}}),t.tooltip?s("settings-info-tooltip",{attrs:{content:t.tooltip}}):t._e()],1),t.options?s("div",[t.options&&0!==t.options.length?s("p",{staticClass:"description"},[t._v(" "+t._s(t.text_identities_table_description)+" ")]):s("p",{staticClass:"description"},[s("strong",[t._v(t._s(t.text_no_registered_identities_title))]),t._v(" "+t._s(t.text_no_registered_identities_content)+" ")]),s("div",{staticClass:"ses-identities-container"},[t.options&&t.options.length>0?s("div",{staticClass:"ses-identities-table-container"},[s("table",[t.columns?s("tr",{staticClass:"ses-identity-columns"},t._l(t.filtered_columns,(function(e){return s("th",{key:e.key,class:"ses-identity-column ses-identity-column-"+e.key},[t._v(" "+t._s(e.label)+" ")])})),0):t._e(),t._l(t.options,(function(e,i){return s("tr",{key:i},[s("td",[t._v(" "+t._s(e.value)+" ")]),s("td",[t._v(" "+t._s(e.type)+" ")]),s("td",[t._v(" "+t._s(e.status)+" ")])])})),t.show_identity_form?t._e():s("button",{staticClass:"wp-mail-smtp-button wp-mail-smtp-button-main wp-mail-smtp-button-small",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.addNewIdentity(e)}}},[t._v(" "+t._s(t.text_add_new_identity)+" ")])],2)]):t._e(),t.show_identity_form||!t.options||0===t.options.length?s("div",{staticClass:"wp-mail-smtp-amazonses-identity-form"},[t.options&&0!==t.options.length?t._e():s("h3",[t._v(" "+t._s(t.text_verify_identity)+" ")]),s("div",{directives:[{name:"show",rawName:"v-show",value:1===t.verify_identity_step,expression:"verify_identity_step === 1"}],staticClass:"amazonses-identity-form-step"},[s("settings-input-radio",{attrs:{name:"identity_type",options:t.identity_type_options},model:{value:t.identity_type,callback:function(e){t.identity_type=e},expression:"identity_type"}}),s("p",{domProps:{textContent:t._s(t.verify_identity_text)}}),s("settings-input-text",{attrs:{name:"identity_value",placeholder:t.identity_value_placeholder},model:{value:t.identity_value,callback:function(e){t.identity_value=e},expression:"identity_value"}}),s("button",{staticClass:"wp-mail-smtp-button wp-mail-smtp-button-main wp-mail-smtp-button-small wp-mail-smtp-button-verify",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.verifyIdentity(e)}}},[t.loading_verify_identity?s("loader",{attrs:{color:"white"}}):s("span",[t._v(t._s(t.text_verify))])],1)],1),s("div",{directives:[{name:"show",rawName:"v-show",value:2===t.verify_identity_step&&"domain"===t.verify_identity_result.type,expression:"verify_identity_step === 2 && verify_identity_result.type === 'domain'"}],staticClass:"amazonses-identity-form-step amazonses-identity-form-step-domain"},[s("p",{domProps:{innerHTML:t._s(t.text_verify_identity_step2_domain_text)}}),s("div",{staticClass:"amazonses-domain-identity-added-inputs"},[s("settings-input-text",{attrs:{value:t.ses_domain_name,label:t.text_name,name:"ses_domain_name",readonly:"",copy:""}}),s("settings-input-text",{attrs:{value:t.verify_identity_result.domain_txt,label:t.text_value,name:"ses_domain_value",readonly:"",copy:""}})],1)]),s("div",{directives:[{name:"show",rawName:"v-show",value:2===t.verify_identity_step&&"email"===t.verify_identity_result.type,expression:"verify_identity_step === 2 && verify_identity_result.type === 'email'"}],staticClass:"amazonses-identity-form-step"},[s("p",{staticClass:"ses-identities-email-success-notice"},[s("inline-svg",{staticClass:"icon",attrs:{src:i("84d7"),width:"16",height:"16"}}),t._v(" "),s("span",{domProps:{innerHTML:t._s(t.text_verify_identity_step2_email_text)}})],1)])]):t._e()])]):s("loader",{attrs:{size:"md"}})],1)},Ui=[],Hi={name:"SettingsAmazonSESIdentities",components:{SettingsInfoTooltip:Nt,SettingsInputRadio:Re,SettingsInputText:Ut,Loader:xe},props:{options:Array,columns:Array,label:String,tooltip:String},computed:{filtered_columns:function(){return this.columns.filter((function(t){return"action"!==t.key}))},identity_value_placeholder:function(){return"domain"===this.identity_type?Object(c["a"])("Please enter a domain","wp-mail-smtp"):Object(c["a"])("Please enter a valid email address","wp-mail-smtp")},verify_identity_text:function(){return"domain"===this.identity_type?Object(c["a"])("Enter the domain name to verify it on Amazon SES and generate the required DNS TXT record.","wp-mail-smtp"):Object(c["a"])("Enter a valid email address. A verification email will be sent to the email address you entered.","wp-mail-smtp")},text_verify_identity_step2_email_text:function(){return Object(c["c"])(Object(c["a"])("Please check the inbox of <b>%s</b> for a confirmation email.","wp-mail-smtp"),this.verify_identity_result.value)},ses_domain_name:function(){return this.verify_identity_result.value?"_amazonses.".concat(this.verify_identity_result.value):""},text_verify:function(){return"domain"===this.identity_type?Object(c["a"])("Verify Domain","wp-mail-smtp"):Object(c["a"])("Verify Email","wp-mail-smtp")}},data:function(){return{text_no_registered_identities_title:Object(c["a"])("No registered domains or emails.","wp-mail-smtp"),text_no_registered_identities_content:Object(c["a"])("You will not be able to send emails until you verify at least one domain or email address for the selected Amazon SES Region.","wp-mail-smtp"),text_view_dns:Object(c["a"])("View DNS","wp-mail-smtp"),text_resend:Object(c["a"])("Resend","wp-mail-smtp"),text_identities_table_description:Object(c["a"])("Here are the domains and email addresses that have been verified and can be used as the From Email.","wp-mail-smtp"),text_verify_identity:Object(c["a"])("Verify SES Identity","wp-mail-smtp"),text_add_new_identity:Object(c["a"])("Add New SES Identity","wp-mail-smtp"),text_name:Object(c["a"])("Name","wp-mail-smtp"),text_value:Object(c["a"])("Value","wp-mail-smtp"),text_verify_identity_step2_domain_text:Object(c["c"])(Object(c["a"])("Please add this TXT record to your domain's DNS settings. For information on how to add TXT DNS records, please refer to the %1$sAmazon SES documentation%2$s.","wp-mail-smtp"),'<a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/dns-txt-records.html" target="_blank" rel="noopener noreferrer">',"</a>"),show_identity_form:!1,identity_type:"domain",identity_type_options:[{label:Object(c["a"])("Verify Domain","wp-mail-smtp"),value:"domain"},{label:Object(c["a"])("Verify Email Address","wp-mail-smtp"),value:"email"}],identity_value:"",verify_identity_step:1,verify_identity_result:{},loading_verify_identity:!1}},methods:{verifyIdentity:function(){if(!this.loading_verify_identity){this.loading_verify_identity=!0;var t=this;this.$store.dispatch("$_settings/amazonSESRegisterIdentity",{value:this.identity_value,type:this.identity_type}).then((function(e){t.loading_verify_identity=!1,e.success&&e.data&&(t.verify_identity_result=e.data,t.verify_identity_step=2)}))}},addNewIdentity:function(){this.show_identity_form=!0}}},Ri=Hi,Gi=Object(_["a"])(Ri,Wi,Ui,!1,null,null,null),Vi=Gi.exports,Yi={name:"WizardStepConfigureMailerAmazonSES",components:{SettingsInputText:Ut,SettingsInputSelect:Li,SettingsInputSwitch:ii,SettingsAmazonSESIdentities:Vi},data:function(){return{mailer:"amazonses",text_client_id_label:Object(c["a"])("Access Key ID","wp-mail-smtp"),text_client_secret_label:Object(c["a"])("Secret Access Key",Object({NODE_ENV:"production",VUE_APP_TEXTDOMAIN:"wp-mail-smtp",VUE_APP_PRODUCT_NAME:"WPMailSMTP",BASE_URL:"http://localhost:8080/"}).VUE_APP_TEXTclient_id),text_region_label:Object(c["a"])("Region","wp-mail-smtp"),text_identities_label:Object(c["a"])("SES Identities","wp-mail-smtp"),text_region_description:Object(c["a"])("Please select the Amazon SES API region which is the closest to where your website is hosted. This can help to decrease network latency between your site and Amazon SES, which will speed up email sending.","wp-mail-smtp"),text_from_name_label:Object(c["a"])("From Name","wp-mail-smtp"),text_force_from_name_title:Object(c["a"])("Force From Name","wp-mail-smtp"),text_from_email_label:Object(c["a"])("From Email","wp-mail-smtp"),text_force_from_email_title:Object(c["a"])("Force From Email","wp-mail-smtp"),text_force_from_name_label:Object(c["a"])("If enabled, the From Name setting above will be used for all emails, ignoring values set by other plugins.","wp-mail-smtp"),text_force_from_email_label:Object(c["a"])("If enabled, the From Email setting above will be used for all emails, ignoring values set by other plugins.","wp-mail-smtp"),text_from_name_description:Object(c["a"])("The name that emails are sent from.","wp-mail-smtp"),text_from_email_description:Object(c["a"])("The email address that emails are sent from.","wp-mail-smtp"),text_documentation_link:Object(c["a"])("Read how to set up Amazon SES","wp-mail-smtp"),description:this.$wpms.mailer_options.amazonses.description.substr(0,this.$wpms.mailer_options.amazonses.description.indexOf("<br>")),regionOptions:this.$wpms.mailer_options.amazonses.region_options||[],fetching_identities:!1,field_errors:[]}},computed:Object(n["a"])(Object(n["a"])(Object(n["a"])({},Object(ut["b"])("$_settings",["settings.amazonses.client_id","settings.amazonses.client_secret","settings.amazonses.region","settings.mail.from_email","settings.mail.from_name","settings.mail.from_email_force","settings.mail.from_name_force"])),Object(ut["b"])("$_settings",{identities_columns:"amazonses_identities.columns",identities:"amazonses_identities.data"})),{},{is_api_auth_missing:function(){return!this.client_id||!this.client_secret||!this.region}}),watch:{client_id:function(){this.getIdentitiesDelayed()},client_secret:function(){this.getIdentitiesDelayed()},region:function(){this.getIdentities()}},methods:{getIdentities:function(){var t=this;this.fetching_identities||this.client_id.length<20||this.client_secret.length<40||!this.region||(this.fetching_identities=!0,this.$store.dispatch("$_app/start_loading"),this.$store.dispatch("$_settings/getAmazonSESIdentities").then((function(){t.fetching_identities=!1})).finally((function(){t.$store.dispatch("$_app/stop_loading")})))},getIdentitiesDelayed:Ii()((function(){this.getIdentities()}),500),areRequiredFieldsValid:function(){var t=!0;return""===this.client_id&&(t=!1,this.field_errors.push("client_id")),""===this.client_secret&&(t=!1,this.field_errors.push("client_secret")),""===this.region&&(t=!1,this.field_errors.push("region")),""===this.from_email&&(t=!1,this.field_errors.push("from_email")),t},removeFieldError:function(t){this.field_errors=this.field_errors.filter((function(e){return e!==t}))}},mounted:function(){this.getIdentities()}},Ji=Yi,Ki=Object(_["a"])(Ji,Ti,zi,!1,null,null,null),qi=Ki.exports,Zi=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wp-mail-smtp-setup-wizard-step-configure-mailer-settings wp-mail-smtp-setup-wizard-step-configure-mailer-settings-gmail"},[i("p",{staticClass:"mailer-description",domProps:{innerHTML:t._s(t.description)}}),i("p",{staticClass:"mailer-description mailer-description-links"},[i("b",[i("a",{staticClass:"wp-mail-smtp-link",attrs:{href:"https://wpmailsmtp.com/docs/how-to-set-up-the-gmail-mailer-in-wp-mail-smtp/#create-app",target:"_blank",rel:"noopener noreferrer"}},[t._v(t._s(t.text_documentation_link))])])]),i("div",{staticClass:"wp-mail-smtp-setup-wizard-form"},[i("settings-input-text",{attrs:{name:"client_id",label:t.text_client_id_label,is_error:t.field_errors.includes("client_id")},on:{is_error_update:function(e){return t.removeFieldError("client_id")}},model:{value:t.client_id,callback:function(e){t.client_id=e},expression:"client_id"}}),i("settings-input-text",{attrs:{name:"client_secret",type:"password",label:t.text_client_secret_label,is_error:t.field_errors.includes("client_secret")},on:{is_error_update:function(e){return t.removeFieldError("client_secret")}},model:{value:t.client_secret,callback:function(e){t.client_secret=e},expression:"client_secret"}}),i("settings-input-text",{attrs:{value:t.redirect_uri,name:"redirect_uri",label:t.text_redirect_uri_label,copy:"",readonly:""}}),i("div",{staticClass:"wp-mail-smtp-separator wp-mail-smtp-separator-big-margin"}),i("settings-o-auth-connection",{attrs:{label:t.text_authorization_label,mailer:t.mailer,connected_email:t.connected_email_address,is_auth_required:t.is_auth_required,client_id:t.client_id,client_secret:t.client_secret}}),t.is_auth_required?t._e():i("div",{staticClass:"wp-mail-smtp-setup-wizard-form-general-settings"},[i("div",{staticClass:"wp-mail-smtp-separator wp-mail-smtp-separator-big-margin"}),i("settings-input-text",{attrs:{name:"from_name",label:t.text_from_name_label,description:t.text_from_name_description},model:{value:t.from_name,callback:function(e){t.from_name=e},expression:"from_name"}}),i("settings-input-switch",{attrs:{classname:"sub_setting",name:"from_name_force",title:t.text_force_from_name_title,label:t.text_force_from_name_label},model:{value:t.from_name_force,callback:function(e){t.from_name_force=e},expression:"from_name_force"}}),i("settings-input-select",{attrs:{name:"from_email",label:t.text_from_email_label,options:t.possible_send_as_emails,description:t.text_from_email_description},model:{value:t.from_email,callback:function(e){t.from_email=e},expression:"from_email"}})],1)],1)])},Xi=[],$i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"settings-oauth-connection"},[s("label",{staticClass:"settings-input-label-container"},[s("span",{staticClass:"label",domProps:{innerHTML:t._s(t.label)}}),t.tooltip?s("settings-info-tooltip",{attrs:{content:t.tooltip}}):t._e()],1),t.is_auth_required?s("div",{staticClass:"add-authorization-container"},[s("p",{staticClass:"description",domProps:{textContent:t._s(t.text_authorization_button_description)}}),s("button",{staticClass:"wp-mail-smtp-button wp-mail-smtp-button-main wp-mail-smtp-button-small",attrs:{type:"button",disabled:!t.are_client_details_ready},on:{click:function(e){return e.preventDefault(),t.authorize(e)}}},[t._v(" "+t._s(t.text_authorization_button)+" ")])]):s("div",{staticClass:"remove-authorization-container"},[t.connected_email?s("p",{staticClass:"description connected-as"},[s("span",{domProps:{innerHTML:t._s(t.text_connected_as_with_email)}}),t._v(" "),s("inline-svg",{staticClass:"icon",attrs:{src:i("9a1d"),width:"16",height:"16"}})],1):t._e(),"gmail"===t.mailer?s("p",{staticClass:"description",domProps:{innerHTML:t._s(t.text_remove_authorization_button_description_google)}}):t._e(),s("p",{staticClass:"description",domProps:{innerHTML:t._s(t.text_remove_authorization_button_description)}}),s("button",{staticClass:"wp-mail-smtp-button wp-mail-smtp-button-red wp-mail-smtp-button-small",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.removeAuthorization(e)}}},[t._v(" "+t._s(t.text_remove_authorization_button)+" ")])])])},ts=[],es={name:"SettingsOAuthConnection",components:{SettingsInfoTooltip:Nt},props:{label:String,mailer:String,connected_email:String,is_auth_required:Boolean,client_id:String,client_secret:String,tooltip:String,disabled:Boolean},data:function(){return{text_allow_button:Object(c["a"])("Connect to %s","wp-mail-smtp"),text_authorization_button_description_general:Object(c["a"])("Before continuing, you'll need to allow this plugin to send emails using your %s account.","wp-mail-smtp"),text_remove_authorization_button:Object(c["a"])("Remove Connection","wp-mail-smtp"),text_remove_authorization_button_description_google:Object(c["c"])(Object(c["a"])("If you want to use a different From Email address you can setup a Google email alias. %1$sFollow these instructions%2$s, then select the alias in the From Email section below.","wp-mail-smtp"),'<a href="https://wpmailsmtp.com/gmail-send-from-alias-wp-mail-smtp/" target="_blank" rel="noopener noreferrer">',"</a>"),text_remove_authorization_button_desc_template:Object(c["a"])("Removing this connection will give you the ability to redo the connection or connect to different %s account.","wp-mail-smtp"),text_connected_as:Object(c["a"])("Connected as","wp-mail-smtp")}},computed:{are_client_details_ready:function(){return!!this.client_id&&!!this.client_secret},mailer_name:function(){var t="Google";return"outlook"===this.mailer?t="Microsoft Outlook":"zoho"===this.mailer&&(t="Zoho Mail"),t},text_authorization_button:function(){return Object(c["c"])(this.text_allow_button,this.mailer_name)},text_authorization_button_description:function(){return Object(c["c"])(this.text_authorization_button_description_general,this.mailer_name)},text_remove_authorization_button_description:function(){return Object(c["c"])(this.text_remove_authorization_button_desc_template,this.mailer_name)},text_connected_as_with_email:function(){return"".concat(this.text_connected_as," <b>").concat(this.connected_email,"</b>")}},methods:{authorize:function(){var t=this;this.$store.dispatch("$_app/start_loading"),this.$store.dispatch("$_settings/getAuthUrl",this.mailer).then((function(t){t.success&&t.data.oauth_url&&(window.location.href=t.data.oauth_url)})).finally((function(){t.$store.dispatch("$_app/stop_loading")}))},removeAuthorization:function(){var t=this;this.$store.dispatch("$_app/start_loading"),this.$store.dispatch("$_settings/removeAuth",this.mailer).finally((function(){t.$store.dispatch("$_app/stop_loading")}))},removeUrlParam:function(t,e,i){e.delete(i),t.search=e.toString(),window.history.replaceState({},document.title,t.toString())},catchAuthNotice:function(){var t=new URL(window.location.href),e=new URLSearchParams(t.search),i="",s="",a=!1;switch(e.has("success")?(i=e.get("success"),a=!0,this.removeUrlParam(t,e,"success")):e.has("error")&&(i=e.get("error"),this.removeUrlParam(t,e,"error")),i){case"google_access_denied":case"zoho_access_denied":case"google_no_code_scope":case"microsoft_no_code":case"zoho_no_code":case"zoho_invalid_nonce":s=Object(c["a"])("There was an error while processing the authentication request. Please try again.","wp-mail-smtp");break;case"google_no_clients":case"zoho_no_clients":case"zoho_unsuccessful_oauth":case"microsoft_unsuccessful_oauth":case"google_unsuccessful_oauth":s=Object(c["a"])("There was an error while processing the authentication request. Please recheck your Client ID and Client Secret and try again.","wp-mail-smtp");break;case"google_site_linked":s=Object(c["a"])("You have successfully linked the current site with your Google API project. Now you can start sending emails through Gmail.","wp-mail-smtp");break;case"microsoft_site_linked":s=Object(c["a"])("You have successfully linked the current site with your Microsoft API project. Now you can start sending emails through Outlook.","wp-mail-smtp");break;case"zoho_site_linked":s=Object(c["a"])("You have successfully linked the current site with your Zoho Mail API project. Now you can start sending emails through Zoho Mail.","wp-mail-smtp");break}s.length>0&&this.$swal({title:a?Object(c["a"])("Successful Authorization","wp-mail-smtp"):Object(c["a"])("Authorization Error!","wp-mail-smtp"),text:s,width:550,showCloseButton:!0,customClass:{container:"wp-mail-smtp-swal wp-mail-smtp-swal-alert"}})}},mounted:function(){this.catchAuthNotice()}},is=es,ss=Object(_["a"])(is,$i,ts,!1,null,null,null),as=ss.exports,ns={name:"WizardStepConfigureMailerGmail",components:{SettingsInputText:Ut,SettingsInputSwitch:ii,SettingsOAuthConnection:as,SettingsInputSelect:Li},data:function(){return{mailer:"gmail",text_client_id_label:Object(c["a"])("Client ID","wp-mail-smtp"),text_client_secret_label:Object(c["a"])("Client Secret","wp-mail-smtp"),text_redirect_uri_label:Object(c["a"])("Authorized Redirect URI","wp-mail-smtp"),text_authorization_label:Object(c["a"])("Authorization","wp-mail-smtp"),text_from_name_label:Object(c["a"])("From Name","wp-mail-smtp"),text_force_from_name_title:Object(c["a"])("Force From Name","wp-mail-smtp"),text_from_email_label:Object(c["a"])("From Email","wp-mail-smtp"),text_force_from_name_label:Object(c["a"])("If enabled, the From Name setting above will be used for all emails, ignoring values set by other plugins.","wp-mail-smtp"),text_from_name_description:Object(c["a"])("The name that emails are sent from.","wp-mail-smtp"),text_from_email_description:Object(c["a"])("Select which email address you would like to send your emails from.","wp-mail-smtp"),text_documentation_link:Object(c["a"])("Read how to set up the Gmail mailer","wp-mail-smtp"),description:this.$wpms.mailer_options.gmail.description.substr(0,this.$wpms.mailer_options.gmail.description.indexOf("<br>")),redirect_uri:this.$wpms.mailer_options.gmail.redirect_uri,connected_email_address:null,possible_send_as_emails:[],field_errors:[]}},computed:Object(n["a"])(Object(n["a"])(Object(n["a"])({},Object(ut["b"])("$_settings",["settings.gmail.client_id","settings.gmail.client_secret","settings.gmail.access_token","settings.gmail.refresh_token","settings.mail.from_email","settings.mail.from_name","settings.mail.from_name_force"])),Object(ut["b"])("$_wizard",["blocked_step"])),{},{is_auth_required:function(){return!this.access_token||!this.refresh_token}}),watch:{is_auth_required:function(t){this.blocked_step=t}},methods:{getConnectedData:function(){var t=this;this.$store.dispatch("$_settings/getConnectedData",this.mailer).then((function(e){e.success&&e.data&&(t.connected_email_address=e.data.connected_email||null,t.possible_send_as_emails=e.data.possible_send_from_addresses||[],t.isEmailInPosibleAddresses(t.from_email)||(t.from_email=t.connected_email_address))}))},isEmailInPosibleAddresses:function(t){return this.possible_send_as_emails.find((function(e){return e.value===t}))},areRequiredFieldsValid:function(){var t=!0;return""===this.client_id&&(t=!1,this.field_errors.push("client_id")),""===this.client_secret&&(t=!1,this.field_errors.push("client_secret")),t},removeFieldError:function(t){this.field_errors=this.field_errors.filter((function(e){return e!==t}))}},mounted:function(){this.getConnectedData(),this.is_auth_required&&(this.blocked_step=!0)}},os=ns,rs=Object(_["a"])(os,Zi,Xi,!1,null,null,null),ls=rs.exports,cs=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wp-mail-smtp-setup-wizard-step-configure-mailer-settings wp-mail-smtp-setup-wizard-step-configure-mailer-settings-outlook"},[i("p",{staticClass:"mailer-description",domProps:{innerHTML:t._s(t.description)}}),i("p",{staticClass:"mailer-description mailer-description-links"},[i("a",{staticClass:"wp-mail-smtp-link",attrs:{href:"https://wpmailsmtp.com/docs/how-to-set-up-the-outlook-mailer-in-wp-mail-smtp/#microsoft-setup",target:"_blank",rel:"noopener noreferrer"}},[t._v(t._s(t.text_documentation_link))])]),i("div",{staticClass:"wp-mail-smtp-setup-wizard-form"},[i("settings-input-text",{attrs:{name:"client_id",label:t.text_client_id_label,is_error:t.field_errors.includes("client_id")},on:{is_error_update:function(e){return t.removeFieldError("client_id")}},model:{value:t.client_id,callback:function(e){t.client_id=e},expression:"client_id"}}),i("settings-input-text",{attrs:{name:"client_secret",type:"password",label:t.text_client_secret_label,is_error:t.field_errors.includes("client_secret")},on:{is_error_update:function(e){return t.removeFieldError("client_secret")}},model:{value:t.client_secret,callback:function(e){t.client_secret=e},expression:"client_secret"}}),i("settings-input-text",{attrs:{value:t.redirect_uri,name:"redirect_uri",label:t.text_redirect_uri_label,copy:"",readonly:""}}),i("settings-o-auth-connection",{attrs:{label:t.text_authorization_label,mailer:t.mailer,connected_email:t.connected_email_address,is_auth_required:t.is_auth_required,client_id:t.client_id,client_secret:t.client_secret}})],1)])},ps=[],ms={name:"WizardStepConfigureMailerOutlook",components:{SettingsInputText:Ut,SettingsOAuthConnection:as},data:function(){return{mailer:"outlook",text_client_id_label:Object(c["a"])("Application ID","wp-mail-smtp"),text_client_secret_label:Object(c["a"])("Application Password","wp-mail-smtp"),text_redirect_uri_label:Object(c["a"])("Redirect URI","wp-mail-smtp"),text_authorization_label:Object(c["a"])("Authorization","wp-mail-smtp"),text_documentation_link:Object(c["a"])("Read how to set up Outlook","wp-mail-smtp"),description:this.$wpms.mailer_options.outlook.description.substr(0,this.$wpms.mailer_options.outlook.description.indexOf("<br>")),redirect_uri:this.$wpms.mailer_options.outlook.redirect_uri,field_errors:[]}},computed:Object(n["a"])(Object(n["a"])(Object(n["a"])(Object(n["a"])({},Object(ut["b"])("$_settings",["settings.outlook.client_id","settings.outlook.client_secret","settings.outlook.access_token","settings.outlook.refresh_token"])),Object(ut["b"])("$_wizard",["blocked_step"])),Object(nt["b"])({connected_email_address:"$_settings/outlook_email"})),{},{is_auth_required:function(){return!this.access_token||!this.refresh_token}}),watch:{is_auth_required:function(t){this.blocked_step=t}},methods:{areRequiredFieldsValid:function(){var t=!0;return""===this.client_id&&(t=!1,this.field_errors.push("client_id")),""===this.client_secret&&(t=!1,this.field_errors.push("client_secret")),t},removeFieldError:function(t){this.field_errors=this.field_errors.filter((function(e){return e!==t}))}},mounted:function(){this.is_auth_required&&(this.blocked_step=!0)}},us=ms,ds=Object(_["a"])(us,cs,ps,!1,null,null,null),_s=ds.exports,fs=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wp-mail-smtp-setup-wizard-step-configure-mailer-settings wp-mail-smtp-setup-wizard-step-configure-mailer-settings-zoho"},[i("p",{staticClass:"mailer-description",domProps:{innerHTML:t._s(t.description)}}),i("p",{staticClass:"mailer-description mailer-description-links"},[i("a",{staticClass:"wp-mail-smtp-link",attrs:{href:"https://wpmailsmtp.com/docs/how-to-set-up-the-zoho-mailer-in-wp-mail-smtp/#zoho-account",target:"_blank",rel:"noopener noreferrer"}},[t._v(t._s(t.text_documentation_link))])]),i("div",{staticClass:"wp-mail-smtp-setup-wizard-form"},[i("settings-input-select",{attrs:{name:"domain",label:t.text_domain_label,options:t.domain_options,description:t.text_domain_description,is_error:t.field_errors.includes("domain")},on:{is_error_update:function(e){return t.removeFieldError("domain")}},model:{value:t.domain,callback:function(e){t.domain=e},expression:"domain"}}),i("settings-input-text",{attrs:{name:"client_id",label:t.text_client_id_label,is_error:t.field_errors.includes("client_id")},on:{is_error_update:function(e){return t.removeFieldError("client_id")}},model:{value:t.client_id,callback:function(e){t.client_id=e},expression:"client_id"}}),i("settings-input-text",{attrs:{name:"client_secret",type:"password",label:t.text_client_secret_label,is_error:t.field_errors.includes("client_secret")},on:{is_error_update:function(e){return t.removeFieldError("client_secret")}},model:{value:t.client_secret,callback:function(e){t.client_secret=e},expression:"client_secret"}}),i("settings-input-text",{attrs:{value:t.redirect_uri,name:"redirect_uri",label:t.text_redirect_uri_label,copy:"",readonly:""}}),i("settings-o-auth-connection",{attrs:{label:t.text_authorization_label,mailer:t.mailer,connected_email:t.connected_email_address,is_auth_required:t.is_auth_required,client_id:t.client_id,client_secret:t.client_secret}}),t.is_auth_required?t._e():i("div",[i("settings-input-text",{attrs:{name:"from_name",label:t.text_from_name_label,description:t.text_from_name_description},model:{value:t.from_name,callback:function(e){t.from_name=e},expression:"from_name"}}),i("settings-input-switch",{attrs:{classname:"sub_setting",name:"from_name_force",title:t.text_force_from_name_title,label:t.text_force_from_name_label},model:{value:t.from_name_force,callback:function(e){t.from_name_force=e},expression:"from_name_force"}})],1)],1)])},hs=[],gs={name:"WizardStepConfigureMailerZoho",components:{SettingsInputText:Ut,SettingsInputSwitch:ii,SettingsInputSelect:Li,SettingsOAuthConnection:as},data:function(){return{mailer:"zoho",text_domain_label:Object(c["a"])("Region","wp-mail-smtp"),text_domain_description:Object(c["a"])("The data center location used by your Zoho account.","wp-mail-smtp"),text_client_id_label:Object(c["a"])("Client ID","wp-mail-smtp"),text_client_secret_label:Object(c["a"])("Client Secret","wp-mail-smtp"),text_redirect_uri_label:Object(c["a"])("Redirect URI","wp-mail-smtp"),text_authorization_label:Object(c["a"])("Authorization","wp-mail-smtp"),text_from_name_label:Object(c["a"])("From Name","wp-mail-smtp"),text_force_from_name_title:Object(c["a"])("Force From Name","wp-mail-smtp"),text_force_from_name_label:Object(c["a"])("If enabled, the From Name setting above will be used for all emails, ignoring values set by other plugins.","wp-mail-smtp"),text_from_name_description:Object(c["a"])("The name that emails are sent from.","wp-mail-smtp"),text_documentation_link:Object(c["a"])("Read how to set up Zoho Mail","wp-mail-smtp"),description:this.$wpms.mailer_options.zoho.description.substr(0,this.$wpms.mailer_options.zoho.description.indexOf("<br>")),redirect_uri:this.$wpms.mailer_options.zoho.redirect_uri,domain_options:this.$wpms.mailer_options.zoho.domain_options,field_errors:[]}},computed:Object(n["a"])(Object(n["a"])(Object(n["a"])(Object(n["a"])({},Object(ut["b"])("$_settings",["settings.zoho.domain","settings.zoho.client_id","settings.zoho.client_secret","settings.zoho.access_token","settings.zoho.refresh_token","settings.mail.from_name","settings.mail.from_name_force"])),Object(ut["b"])("$_wizard",["blocked_step"])),Object(nt["b"])({connected_email_address:"$_settings/zoho_email"})),{},{is_auth_required:function(){return!this.access_token||!this.refresh_token}}),watch:{is_auth_required:function(t){this.blocked_step=t}},methods:{areRequiredFieldsValid:function(){var t=!0;return""===this.domain&&(t=!1,this.field_errors.push("domain")),""===this.client_id&&(t=!1,this.field_errors.push("client_id")),""===this.client_secret&&(t=!1,this.field_errors.push("client_secret")),t},removeFieldError:function(t){this.field_errors=this.field_errors.filter((function(e){return e!==t}))}},mounted:function(){this.is_auth_required&&(this.blocked_step=!0)}},ws=gs,bs=Object(_["a"])(ws,fs,hs,!1,null,null,null),As=bs.exports,vs=new o["a"]({routes:[{path:"*",redirect:"/"},{path:"/",name:"welcome",component:O},{path:"/step",name:"step",component:N,children:[{path:"import",name:"import_step",component:it},{path:"choose_mailer",name:"choose_mailer_step",component:ct},{path:"configure_mailer",name:"configure_mailer_step",component:ht,children:[{path:"smtp",name:"configure_mailer_step_smtp",component:oi},{path:"smtpcom",name:"configure_mailer_step_smtpcom",component:ui},{path:"sendinblue",name:"configure_mailer_step_sendinblue",component:wi},{path:"mailgun",name:"configure_mailer_step_mailgun",component:Ci},{path:"sendgrid",name:"configure_mailer_step_sendgrid",component:Ei},{path:"amazoneses",name:"configure_mailer_step_amazonses",component:qi},{path:"gmail",name:"configure_mailer_step_gmail",component:ls},{path:"outlook",name:"configure_mailer_step_outlook",component:_s},{path:"zoho",name:"configure_mailer_step_zoho",component:As}]},{path:"plugin_features",name:"plugin_features_step",component:St},{path:"help_improve",name:"help_improve_step",component:Xt},{path:"license",name:"license_step",component:oe},{path:"check_configuration",name:"check_configuration_step",component:ue},{path:"successful_configuration",name:"check_configuration_step_success",component:Ee},{path:"failed_configuration",name:"check_configuration_step_failure",component:De}]}],scrollBehavior:function(){return{x:0,y:0}}}),xs={name:"SetupWizardApp",router:vs,computed:Object(n["a"])({},Object(nt["b"])({blocked:"$_app/blocked",loading:"$_app/loading"}))},ys=xs,Cs=Object(_["a"])(ys,s,a,!1,null,null,null),ks=Cs.exports,Os=i("2b0e"),js=i("5886"),Ss=(i("466d"),{install:function(t){window.wp_mail_smtp_vue&&(t.prototype.$wpms=window.wp_mail_smtp_vue),t.prototype.$isPro=Ps,t.prototype.$addQueryArg=Es}});function Ps(){return window.wp_mail_smtp_vue.is_pro}function Es(t,e,i){var s=new RegExp("([?&])"+e+"=.*?(&|#|$)","i");if(t.match(s))return t.replace(s,"$1"+e+"="+i+"$2");var a="";-1!==t.indexOf("#")&&(a=t.replace(/.*#/,"#"),t=t.replace(/#.*/,""));var n=-1!==t.indexOf("?")?"&":"?";return t+n+e+"="+i+a}var Ts=Ss,zs={install:function(t){t.prototype.$next_step=function(){var e=this,i=t.prototype.$wizard_steps.findIndex((function(t){return e.$route.name.includes(t)}))+1;this.$router.push({name:t.prototype.$wizard_steps[i]})},t.prototype.$previous_step=function(){var e=this,i="welcome",s=t.prototype.$wizard_steps.findIndex((function(t){return e.$route.name.includes(t)}))-1;s>=0&&(i=t.prototype.$wizard_steps[s]),this.$router.push({name:i})},t.prototype.$swal&&(t.prototype.$wpms_success_toast=function(e){var i=e.animation,s=void 0!==i&&i,a=e.toast,n=void 0===a||a,o=e.position,r=void 0===o?"top-end":o,l=e.showConfirmButton,p=void 0!==l&&l,m=e.icon,u=void 0===m?"success":m,d=e.timer,_=void 0===d?3e3:d,f=e.showCloseButton,h=void 0===f||f,g=e.title,w=void 0===g?Object(c["a"])("Settings Updated","wp-mail-smtp"):g,b=e.showCancelButton,A=void 0!==b&&b,v=e.confirmButtonText,x=void 0===v?"":v,y=e.cancelButtonText,C=void 0===y?"":y,k=e.text,O=void 0===k?"":k;return t.prototype.$swal({animation:s,toast:n,position:r,showConfirmButton:p,icon:u,showCloseButton:h,title:w,timer:_,showCancelButton:A,confirmButtonText:x,cancelButtonText:C,text:O})},t.prototype.$wpms_error_toast=function(e){var i=e.animation,s=void 0!==i&&i,a=e.toast,n=void 0===a||a,o=e.position,r=void 0===o?"top-end":o,l=e.showConfirmButton,p=void 0!==l&&l,m=e.icon,u=void 0===m?"error":m,d=e.showCloseButton,_=void 0===d||d,f=e.title,h=void 0===f?Object(c["a"])("Could Not Save Changes","wp-mail-smtp"):f,g=e.text,w=void 0===g?"":g;return t.prototype.$swal({animation:s,toast:n,position:r,showConfirmButton:p,icon:u,showCloseButton:_,title:h,text:w,onOpen:function(){t.prototype.$swal.hideLoading()}})},t.prototype.$wpms_error_modal=function(e){var i=e.position,s=void 0===i?"center":i,a=e.width,n=void 0===a?650:a,o=e.showConfirmButton,r=void 0===o||o,l=e.confirmButtonText,p=void 0===l?Object(c["a"])("Return to Mailer Settings","wp-mail-smtp"):l,m=e.customClass,u=void 0===m?{container:"wp-mail-smtp-swal wp-mail-smtp-swal-error"}:m,d=e.showCloseButton,_=void 0===d||d,f=e.title,h=void 0===f?Object(c["a"])("Whoops, we found an issue!","wp-mail-smtp"):f,g=e.subtitle,w=void 0===g?Object(c["a"])("It looks like something went wrong...","wp-mail-smtp"):g,b=e.detailedError,A=void 0===b?"":b;return t.prototype.$swal({position:s,width:n,showConfirmButton:r,confirmButtonText:p,customClass:u,showCloseButton:_,title:h,html:'\n\t\t\t\t\t\t<p class="subtitle">'.concat(w,'</p>\n\t\t\t\t\t\t<div class="detailed-error">\n\t\t\t\t\t\t\t<h3>').concat(Object(c["a"])("Error Message:","wp-mail-smtp"),"</h3>\n\t\t\t\t\t\t\t<div>").concat(A,"</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t"),allowEscapeKey:!1,allowOutsideClick:!1,onOpen:function(){t.prototype.$swal.hideLoading()}})},t.prototype.$required_fields_modal=function(){return t.prototype.$swal({position:"center",width:450,showConfirmButton:!0,confirmButtonText:Object(c["a"])("OK","wp-mail-smtp"),customClass:{container:"wp-mail-smtp-swal wp-mail-smtp-swal-alert"},showCloseButton:!0,title:Object(c["a"])("Heads up!","wp-mail-smtp"),text:Object(c["a"])("Please fill out all the required fields to continue.","wp-mail-smtp"),allowEscapeKey:!1,allowOutsideClick:!1})})}},Bs=zs,Is=i("bc3a"),Ms=i.n(Is),Ds=function(t,e){return new Promise((function(i,s){var a=new FormData;a.append("action","wp_mail_smtp_vue_install_plugin"),a.append("nonce",Os["a"].prototype.$wpms.nonce),a.append("slug",e),Ms.a.post(Os["a"].prototype.$wpms.ajax_url,a).then((function(e){if(e.data.success)t.commit("PLUGIN_INSTALLED",e.data);else{var s="";ie()(e.data,"data[0].message")?s=e.data.data[0].message:ie()(e.data,"data")&&(s=e.data.data),Os["a"].prototype.$wpms_error_modal({subtitle:Object(c["a"])("It looks like the plugin installation failed!","wp-mail-smtp"),detailedError:s})}i(e.data)})).catch((function(t){if(s(t),t.response){var e=t.response;return Os["a"].prototype.$wpms_error_modal({subtitle:Object(c["a"])("It looks like we can't install the plugin.","wp-mail-smtp"),detailedError:Object(c["c"])(Object(c["a"])("%1$s, %2$s","wp-mail-smtp"),e.status,e.statusText)})}Os["a"].prototype.$wpms_error_toast({title:Object(c["a"])("You appear to be offline. Plugin not installed.","wp-mail-smtp")})}))}))},Fs=function(t){return new Promise((function(e,i){var s=new FormData;s.append("action","wp_mail_smtp_vue_get_partner_plugins_info"),s.append("nonce",Os["a"].prototype.$wpms.nonce),Ms.a.post(Os["a"].prototype.$wpms.ajax_url,s).then((function(i){i.data.success?t.commit("PLUGINS_FETCHED",i.data):Os["a"].prototype.$wpms_error_toast({title:Object(c["a"])("Can't fetch plugins information.","wp-mail-smtp")}),e(i.data)})).catch((function(t){if(i(t),t.response){var e=t.response;return Os["a"].prototype.$wpms_error_modal({subtitle:Object(c["a"])("It looks like we can't fetch plugins information.","wp-mail-smtp"),detailedError:Object(c["c"])(Object(c["a"])("%1$s, %2$s","wp-mail-smtp"),e.status,e.statusText)})}Os["a"].prototype.$wpms_error_toast({title:Object(c["a"])("You appear to be offline. Plugin information not retrieved.","wp-mail-smtp")})}))}))},Ns={installPlugin:Ds,fetchPlugins:Fs},Qs=function(t,e){return Ns.installPlugin(t,e)},Ls=function(t){return Ns.fetchPlugins(t)},Ws={installPlugin:Qs,getPlugins:Ls},Us=function(t){return t.plugins},Hs=function(t){return t.plugins.filter((function(t){return"wpforms-lite"!==t.slug}))},Rs=function(t){return t.contact_form_plugin_already_installed},Gs={getField:ut["a"],plugins:Us,partner_plugins:Hs,contact_form_plugin_already_installed:Rs},Vs=(i("d81d"),function(t,e){t.plugins.map((function(i){return i.slug===e.data.slug&&(i.is_installed=e.data.is_installed,i.is_activated=e.data.is_activated),"wpforms-lite"===e.data.slug&&(t.contact_form_plugin_already_installed=!0),i}))}),Ys=function(t,e){t.plugins=e.data.plugins,t.contact_form_plugin_already_installed=e.data.contact_form_plugin_already_installed},Js={updateField:ut["c"],PLUGIN_INSTALLED:Vs,PLUGINS_FETCHED:Ys},Ks={plugins:[],contact_form_plugin_already_installed:!1,smart_contact_form_setting:!0},qs={namespaced:!0,state:Ks,actions:Ws,getters:Gs,mutations:Js},Zs=(i("b64b"),function(t){return new Promise((function(e,i){var s=new FormData;s.append("action","wp_mail_smtp_vue_get_settings"),s.append("nonce",Os["a"].prototype.$wpms.nonce),Ms.a.post(Os["a"].prototype.$wpms.ajax_url,s).then((function(t){t.data.success?e(t.data):i(t.data)})).catch((function(e){if(t.dispatch("$_app/block",!1,{root:!0}),e.response){var i=e.response;return Os["a"].prototype.$wpms_error_modal({subtitle:Object(c["a"])("It looks like we can't load the settings.","wp-mail-smtp"),detailedError:Object(c["c"])(Object(c["a"])("%1$s, %2$s","wp-mail-smtp"),i.status,i.statusText)})}Os["a"].prototype.$wpms_error_toast({title:Object(c["a"])("You appear to be offline.","wp-mail-smtp")})}))}))}),Xs=function(t,e){return new Promise((function(t,i){var s=new FormData;s.append("action","wp_mail_smtp_vue_get_amazon_ses_identities"),s.append("nonce",Os["a"].prototype.$wpms.nonce),!1!==e&&s.append("value",JSON.stringify(e)),Ms.a.post(Os["a"].prototype.$wpms.ajax_url,s).then((function(e){e.data.success?t(e.data):i(e.data)})).catch((function(t){if(t.response){var e=t.response;return Os["a"].prototype.$wpms_error_modal({subtitle:Object(c["a"])("It looks like we can't retrieve Amazon SES Identities.","wp-mail-smtp"),detailedError:Object(c["c"])(Object(c["a"])("%1$s, %2$s","wp-mail-smtp"),e.status,e.statusText)})}Os["a"].prototype.$wpms_error_toast({title:Object(c["a"])("Can't retrieve Amazon SES Identities.","wp-mail-smtp")})}))}))},$s=function(t,e){return new Promise((function(t,i){var s=new FormData;s.append("action","wp_mail_smtp_vue_amazon_ses_identity_registration"),s.append("nonce",Os["a"].prototype.$wpms.nonce),!1!==e.value&&s.append("value",e.value),!1!==e.value&&s.append("type",e.type),Ms.a.post(Os["a"].prototype.$wpms.ajax_url,s).then((function(e){e.data.success?t(e.data):i(e.data)})).catch((function(t){if(t.response){var e=t.response;return Os["a"].prototype.$wpms_error_modal({subtitle:Object(c["a"])("It looks like we can't register the Amazon SES Identity.","wp-mail-smtp"),detailedError:Object(c["c"])(Object(c["a"])("%1$s, %2$s","wp-mail-smtp"),e.status,e.statusText)})}Os["a"].prototype.$wpms_error_toast({title:Object(c["a"])("Can't register the Amazon SES Identity","wp-mail-smtp")})}))}))},ta=function(t,e){return new Promise((function(t){var i=new FormData;i.append("action","wp_mail_smtp_vue_update_settings"),i.append("nonce",Os["a"].prototype.$wpms.nonce),void 0!==e.overwrite&&i.append("overwrite",e.overwrite),!1!==e.value&&i.append("value",JSON.stringify(e.value)),Ms.a.post(Os["a"].prototype.$wpms.ajax_url,i).then((function(e){t(e.data)})).catch((function(t){if(t.response){var e=t.response;return Os["a"].prototype.$wpms_error_modal({subtitle:Object(c["a"])("It looks like we can't save the settings.","wp-mail-smtp"),detailedError:Object(c["c"])(Object(c["a"])("%1$s, %2$s","wp-mail-smtp"),e.status,e.statusText)})}Os["a"].prototype.$wpms_error_toast({title:Object(c["a"])("Network error encountered. Settings not saved.","wp-mail-smtp")})}))}))},ea=function(t,e){return new Promise((function(t){var i=new FormData;i.append("action","wp_mail_smtp_vue_import_settings"),i.append("nonce",Os["a"].prototype.$wpms.nonce),!1!==e.value&&i.append("value",e.value),Ms.a.post(Os["a"].prototype.$wpms.ajax_url,i).then((function(e){t(e.data)})).catch((function(t){if(t.response){var e=t.response;return Os["a"].prototype.$wpms_error_modal({subtitle:Object(c["a"])("It looks like we can't import the plugin settings.","wp-mail-smtp"),detailedError:Object(c["c"])(Object(c["a"])("%1$s, %2$s","wp-mail-smtp"),e.status,e.statusText)})}Os["a"].prototype.$wpms_error_toast({title:Object(c["a"])("Network error encountered. SMTP plugin import failed!","wp-mail-smtp")})}))}))},ia=function(t,e){return new Promise((function(i,s){var a=new FormData;a.append("action","wp_mail_smtp_vue_get_oauth_url"),a.append("nonce",Os["a"].prototype.$wpms.nonce),!1!==t&&a.append("mailer",t),!1!==e&&a.append("settings",JSON.stringify(e)),Ms.a.post(Os["a"].prototype.$wpms.ajax_url,a).then((function(t){t.data.success?i(t.data):s(t.data)})).catch((function(t){if(t.response){var e=t.response;return Os["a"].prototype.$wpms_error_modal({subtitle:Object(c["a"])("It looks like we can't load authentication details.","wp-mail-smtp"),detailedError:Object(c["c"])(Object(c["a"])("%1$s, %2$s","wp-mail-smtp"),e.status,e.statusText)})}Os["a"].prototype.$wpms_error_toast({title:Object(c["a"])("You appear to be offline.","wp-mail-smtp")})}))}))},sa=function(t){return new Promise((function(e,i){var s=new FormData;s.append("action","wp_mail_smtp_vue_remove_oauth_connection"),s.append("nonce",Os["a"].prototype.$wpms.nonce),!1!==t&&s.append("mailer",t),Ms.a.post(Os["a"].prototype.$wpms.ajax_url,s).then((function(t){t.data.success?e(t.data):i(t.data)})).catch((function(t){if(t.response){var e=t.response;return Os["a"].prototype.$wpms_error_modal({subtitle:Object(c["a"])("It looks like we can't remove oAuth connection.","wp-mail-smtp"),detailedError:Object(c["c"])(Object(c["a"])("%1$s, %2$s","wp-mail-smtp"),e.status,e.statusText)})}Os["a"].prototype.$wpms_error_toast({title:Object(c["a"])("You appear to be offline.","wp-mail-smtp")})}))}))},aa=function(t){return new Promise((function(e,i){var s=new FormData;s.append("action","wp_mail_smtp_vue_get_connected_data"),s.append("nonce",Os["a"].prototype.$wpms.nonce),!1!==t&&s.append("mailer",t),Ms.a.post(Os["a"].prototype.$wpms.ajax_url,s).then((function(t){t.data.success?e(t.data):i(t.data)})).catch((function(t){if(t.response){var e=t.response;return Os["a"].prototype.$wpms_error_modal({subtitle:Object(c["a"])("It looks like we can't load oAuth connected data.","wp-mail-smtp"),detailedError:Object(c["c"])(Object(c["a"])("%1$s, %2$s","wp-mail-smtp"),e.status,e.statusText)})}Os["a"].prototype.$wpms_error_toast({title:Object(c["a"])("You appear to be offline.","wp-mail-smtp")})}))}))},na=function(t){return new Promise((function(e){var i=new FormData;i.append("action","wp_mail_smtp_vue_subscribe_to_newsletter"),i.append("nonce",Os["a"].prototype.$wpms.nonce),i.append("email",t),Ms.a.post(Os["a"].prototype.$wpms.ajax_url,i).then((function(t){e(t.data)}))}))},oa=function(t){return new Promise((function(e){var i=new FormData;i.append("action","wp_mail_smtp_vue_verify_license_key"),i.append("nonce",Os["a"].prototype.$wpms.nonce),i.append("license_key",t),Ms.a.post(Os["a"].prototype.$wpms.ajax_url,i).then((function(t){e(t.data)}))}))},ra=function(t){return new Promise((function(e){var i=new FormData;i.append("action","wp_mail_smtp_vue_upgrade_plugin"),i.append("nonce",Os["a"].prototype.$wpms.nonce),i.append("license_key",t),Ms.a.post(Os["a"].prototype.$wpms.ajax_url,i).then((function(t){e(t.data)}))}))},la={fetchSettings:Zs,saveSettings:ta,importOtherPluginSettings:ea,fetchAmazonSESIdentities:Xs,amazonSESRegisterIdentity:$s,getAuthRedirect:ia,removeAuth:sa,getConnectedData:aa,subscribeToNewsletter:na,verifyLicense:oa,upgradePlugin:ra},ca=function(t){return la.fetchSettings(t).then((function(e){t.commit("SETTINGS_UPDATED",e.data)})).catch((function(t){if(t.data)return Os["a"].prototype.$wpms_error_modal({subtitle:Object(c["a"])("It looks like we can't load existing settings.","wp-mail-smtp"),detailedError:t.data})}))},pa=function(t){var e=t.getters.settings.amazonses;if(0!==Object.keys(e).length)return la.fetchAmazonSESIdentities(t,e).then((function(e){t.commit("AMAZONSES_IDENTITIES_UPDATED",e),Os["a"].swal.close()})).catch((function(t){Os["a"].prototype.$wpms_error_modal({subtitle:Object(c["a"])("It looks like we can't retrieve the Amazon SES Identities.","wp-mail-smtp"),detailedError:t.data?t.data:""})}))},ma=function(t,e){return la.amazonSESRegisterIdentity(t,e).catch((function(t){Os["a"].prototype.$wpms_error_modal({subtitle:Object(c["a"])("It looks like we can't register the Amazon SES Identity.","wp-mail-smtp"),detailedError:t.data})}))},ua=function(t,e){t.commit("MAILER_UPDATE",e)},da=function(t,e){return new Promise((function(i){t.commit("LOGS_UPDATE",e),i({success:!0})}))},_a=function(t,e){t.commit("SETTINGS_SAVE_START");var i=la.saveSettings(t,e);return i.then((function(){t.commit("SETTINGS_SAVE_END")})),i},fa=function(t){var e=t.getters.settings;t.commit("SETTINGS_SAVE_START");var i=la.saveSettings(t,{value:e});return i.then((function(){t.commit("SETTINGS_SAVE_END")})),i},ha=function(t,e){return t.commit("SETTINGS_SAVE_START"),new Promise((function(i){la.importOtherPluginSettings(t,e).then((function(e){t.commit("SETTINGS_SAVE_END"),e.success?ca(t).then((function(){i(!0)})):i(!1)}))}))},ga=function(t,e){return la.getAuthRedirect(e,t.getters.settings[e]).catch((function(t){Os["a"].prototype.$wpms_error_modal({subtitle:Object(c["a"])("It looks like we can't load oAuth redirect.","wp-mail-smtp"),detailedError:t.data})}))},wa=function(t,e){return la.getConnectedData(e).catch((function(t){Os["a"].prototype.$wpms_error_modal({subtitle:Object(c["a"])("It looks like we can't load oAuth connected data.","wp-mail-smtp"),detailedError:t.data})}))},ba=function(t,e){return la.removeAuth(e).then((function(){t.commit("SETTINGS_REMOVE_AUTH",e)})).catch((function(t){Os["a"].prototype.$wpms_error_modal({subtitle:Object(c["a"])("It looks like we can't remove oAuth connection.","wp-mail-smtp"),detailedError:t.data})}))},Aa=function(t,e){return new Promise((function(i){t.commit("SETTINGS_SAVE_PLUGIN_FEATURES",e),i({success:!0,features:e})}))},va=function(t,e){return la.subscribeToNewsletter(e)},xa=function(t,e){return la.verifyLicense(e)},ya=function(t,e){return la.upgradePlugin(e)},Ca={getSettings:ca,updateSettings:_a,importOtherPlugin:ha,setMailer:ua,setLogs:da,saveCurrentSettings:fa,getAmazonSESIdentities:pa,amazonSESRegisterIdentity:ma,getAuthUrl:ga,removeAuth:ba,getConnectedData:wa,savePluginFeatures:Aa,subscribeToNewsletter:va,verifyLicense:xa,upgradePlugin:ya},ka=(i("4160"),i("1276"),i("159b"),function(t){return t.settings}),Oa=function(t){return t.settings.mail.mailer},ja=function(t){return t.settings.outlook.user_details?t.settings.outlook.user_details.email:null},Sa=function(t){return t.settings.zoho.user_details?t.settings.zoho.user_details.email:null},Pa=function(t){return t.plugin_features},Ea=function(t){return!!t.settings.logs.enabled&&t.settings.logs.enabled},Ta=function(t){return function(e){var i=!1,s=t.amazonses_identities.data,a=e.split("@").pop();return void 0!==s&&(s.forEach((function(t){("email"===t.type&&t.value===e||"domain"===t.type&&t.value===a)&&(i=!0)})),i)}},za={getField:ut["a"],settings:ka,mailer:Oa,outlook_email:ja,zoho_email:Sa,plugin_features:Pa,amazonses_is_email_registered:Ta,email_log_enabled:Ea},Ba=i("da81"),Ia=i.n(Ba),Ma=function(t,e){t.is_saving=!1,t.settings=Ia()(t.settings,e)},Da=function(t,e){t.amazonses_identities=e.data},Fa=function(t,e){t.settings.mail.mailer=e},Na=function(t,e){t.settings.logs.enabled=e},Qa=function(t){t.is_saving=!0},La=function(t){t.is_saving=!1},Wa=function(t,e){var i=t.settings[e];t.settings[e]={client_id:i.client_id,client_secret:i.client_secret},"zoho"===e&&(t.settings[e].domain=i.domain)},Ua=function(t,e){t.plugin_features=e},Ha={updateField:ut["c"],SETTINGS_UPDATED:Ma,SETTINGS_SAVE_START:Qa,SETTINGS_SAVE_END:La,MAILER_UPDATE:Fa,LOGS_UPDATE:Na,AMAZONSES_IDENTITIES_UPDATED:Da,SETTINGS_REMOVE_AUTH:Wa,SETTINGS_SAVE_PLUGIN_FEATURES:Ua},Ra={settings:{mail:{mailer:"mail",from_email:"",from_name:"",return_path:!1,from_email_force:!0,from_name_force:!1},smtp:{host:"",port:"587",encryption:"tls",autotls:!0,auth:!0,user:"",pass:""},smtpcom:{api_key:"",channel:""},sendinblue:{api_key:"",domain:""},mailgun:{api_key:"",domain:"",region:"US"},sendgrid:{api_key:"",domain:""},amazonses:{client_id:"",client_secret:"",region:"us-east-1"},gmail:{client_id:"",client_secret:"",access_token:{},refresh_token:""},outlook:{client_id:"",client_secret:"",access_token:{},refresh_token:"",user_details:{email:""}},zoho:{client_id:"",client_secret:"",domain:"com",access_token:{},refresh_token:"",user_details:{email:""}},logs:{enabled:!1}},amazonses_identities:{},plugin_features:[]},Ga={namespaced:!0,state:Ra,actions:Ca,getters:za,mutations:Ha},Va=function(){return new Promise((function(t){var e=new FormData;e.append("action","wp_mail_smtp_vue_check_mailer_configuration"),e.append("nonce",Os["a"].prototype.$wpms.nonce),Ms.a.post(Os["a"].prototype.$wpms.ajax_url,e).then((function(e){t(e.data)})).catch((function(t){if(t.response){var e=t.response;return Os["a"].prototype.$wpms_error_modal({subtitle:Object(c["a"])("It looks like we can't perform the mailer configuration check.","wp-mail-smtp"),detailedError:Object(c["c"])(Object(c["a"])("%1$s, %2$s","wp-mail-smtp"),e.status,e.statusText)})}Os["a"].prototype.$wpms_error_toast({title:Object(c["a"])("You appear to be offline.","wp-mail-smtp")})}))}))},Ya=function(t){var e=new FormData;e.append("action","wp_mail_smtp_vue_send_feedback"),e.append("nonce",Os["a"].prototype.$wpms.nonce),e.append("data",JSON.stringify(t)),Ms.a.post(Os["a"].prototype.$wpms.ajax_url,e).catch((function(t){if(t.response){var e=t.response;return Os["a"].prototype.$wpms_error_modal({subtitle:Object(c["a"])("It looks like we can't send the feedback.","wp-mail-smtp"),detailedError:Object(c["c"])(Object(c["a"])("%1$s, %2$s","wp-mail-smtp"),e.status,e.statusText)})}Os["a"].prototype.$wpms_error_toast({title:Object(c["a"])("You appear to be offline.","wp-mail-smtp")})}))},Ja={checkMailerConfiguration:Va,sendFeedback:Ya},Ka=function(){return Ja.checkMailerConfiguration()},qa=function(t,e){Ja.sendFeedback(e)},Za={checkMailerConfiguration:Ka,sendFeedback:qa},Xa=function(t){return t.blocked_step},$a={getField:ut["a"],blocked_step:Xa},tn={updateField:ut["c"]},en={blocked_step:!1},sn={namespaced:!0,state:en,actions:Za,getters:$a,mutations:tn},an=function(t){t.commit("INIT")},nn=function(t){t.commit("BLOCK_APP")},on=function(t){t.commit("UNBLOCK_APP")},rn=function(t){t.commit("APP_LOADING_START")},ln=function(t){t.commit("APP_LOADING_STOP")},cn={init:an,block:nn,unblock:on,start_loading:rn,stop_loading:ln},pn=function(t){return t.blocked},mn=function(t){return t.loading},un=function(t){return t.wpms},dn={blocked:pn,loading:mn,wpms:un},_n=function(){},fn=function(t){t.blocked=!0},hn=function(t){t.blocked=!1},gn=function(t){t.loading=!0},wn=function(t){t.loading=!1},bn={INIT:_n,BLOCK_APP:fn,UNBLOCK_APP:hn,APP_LOADING_START:gn,APP_LOADING_STOP:wn},An={blocked:!1,loading:!1,wpms:window.wp_mail_smtp_vue?window.wp_mail_smtp_vue:{}},vn={namespaced:!0,state:An,actions:cn,getters:dn,mutations:bn},xn=function(t){t.subscribe((function(e,i){if("$_app/INIT"===e.type){var s=i["$_app"].wpms.versions,a="",n="";s.php_version_below_55?(a=Object(c["a"])("Yikes! PHP Update Required","wp-mail-smtp"),n=Object(c["c"])(Object(c["a"])("WP Mail SMTP 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.","wp-mail-smtp"),s.php_version,"7.4")):s.php_version_below_56?(a=Object(c["a"])("Yikes! PHP Update Required","wp-mail-smtp"),n=Object(c["c"])(Object(c["a"])("WP Mail SMTP has detected that your site is running an outdated, insecure version of PHP (%1$s). Some mailers require at least PHP version 5.6. Updating to the recommended version (PHP %2$s) only takes a few minutes and will make your website significantly faster and more secure.","wp-mail-smtp"),s.php_version,"7.4")):s.wp_version_below_49&&(a=Object(c["a"])("Yikes! WordPress Update Required","wp-mail-smtp"),n=Object(c["c"])(Object(c["a"])("WP Mail SMTP has detected that your site is running an outdated version of WordPress (%s). WP Mail SMTP requires at least WordPress version 4.9.","wp-mail-smtp"),s.wp_version)),Os["a"].prototype.$swal&&a.length&&(t.dispatch("$_app/block"),Os["a"].prototype.$swal.close(),Os["a"].prototype.$swal({title:a,html:"<p>".concat(n,'</p><p><a href="').concat(Os["a"].prototype.$wpms.exit_url,'">').concat(Object(c["a"])("Return to Plugin Settings","wp-mail-smtp"),"</a></p>"),customClass:{container:"wp-mail-smtp-swal wp-mail-smtp-swal-alert"},allowOutsideClick:!1,allowEscapeKey:!1,allowEnterKey:!1,showConfirmButton:!1,onOpen:function(){Os["a"].prototype.$swal.hideLoading()}}))}}))},yn=xn;Os["a"].use(nt["a"]);var Cn=[yn],kn=new nt["a"].Store({modules:{$_app:vn,$_plugins:qs,$_settings:Ga,$_wizard:sn},plugins:Cn}),On=i("e37d"),jn=(i("6c6b"),i("6d5e")),Sn=document.getElementById("wp-mail-smtp-vue-setup-wizard");Os["a"].config.productionTip=!1,i.p=window.wp_mail_smtp_vue.public_url,Os["a"].use(jn["InlineSvgPlugin"]),Os["a"].use(o["a"]),Os["a"].use(js["a"]),Os["a"].use(On["a"],{defaultTemplate:'<div class="wp-mail-smtp-tooltip" role="tooltip"><div class="wp-mail-smtp-tooltip-arrow"></div><div class="wp-mail-smtp-tooltip-inner"></div></div>',defaultArrowSelector:".wp-mail-smtp-tooltip-arrow, .wp-mail-smtp-tooltip__arrow",defaultInnerSelector:".wp-mail-smtp-tooltip-inner, .wp-mail-smtp-tooltip__inner"}),Os["a"].use(Ts),Object(c["b"])(window.wp_mail_smtp_vue.translations,"wp-mail-smtp");var Pn={install:function(t){t.prototype.$wizard_steps=[],t.prototype.$wpms&&t.prototype.$wpms.other_smtp_plugins.length>0&&t.prototype.$wizard_steps.push("import_step"),t.prototype.$wizard_steps.push("choose_mailer_step"),t.prototype.$wizard_steps.push("configure_mailer_step"),t.prototype.$wizard_steps.push("plugin_features_step"),t.prototype.$wpms&&!t.prototype.$wpms.is_pro&&t.prototype.$wizard_steps.push("help_improve_step"),t.prototype.$wizard_steps.push("license_step"),t.prototype.$wizard_steps.push("check_configuration_step")}};Os["a"].use(Pn),Os["a"].use(Bs),new Os["a"]({store:kn,mounted:function(){kn.dispatch("$_app/init")},render:function(t){return t(ks)}}).$mount(Sn)},"9f86":function(t,e){t.exports="data:image/png;base64,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"},"9fec":function(t,e,i){},a1c2:function(t,e){t.exports="data:image/png;base64,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"},b0d2:function(t,e,i){},b1c2:function(t,e,i){t.exports=i.p+"img/sendgrid.svg"},b32f:function(t,e,i){t.exports=i.p+"img/lock-solid.svg"},b98f:function(t,e,i){t.exports=i.p+"img/wp-smtp.png"},ba75:function(t,e,i){"use strict";i("b0d2")},bbc2:function(t,e,i){var s={"./all-in-one-seo-pack.png":"9da7","./all-in-one-seo-pack@2x.png":"2cf42","./coming-soon.png":"d686","./coming-soon@2x.png":"9f86","./google-analytics-for-wordpress.png":"c2d9","./google-analytics-for-wordpress@2x.png":"82f2","./instagram-feed.png":"e0ed","./instagram-feed@2x.png":"877f","./rafflepress.png":"d3f3","./rafflepress@2x.png":"a1c2","./wp-call-button.png":"2adc","./wp-call-button@2x.png":"1532"};function a(t){var e=n(t);return i(e)}function n(t){if(!i.o(s,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return s[t]}a.keys=function(){return Object.keys(s)},a.resolve=n,t.exports=a,a.id="bbc2"},c2d9:function(t,e){t.exports="data:image/png;base64,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"},c869:function(t,e,i){t.exports=i.p+"img/loading-pattie.svg"},cc99:function(t,e,i){},d3f3:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAIKADAAQAAAABAAAAIAAAAACPTkDJAAAFG0lEQVRYCaVXa0xcRRQ+M/exsJTFUgOCpawGLU9taBuB1kdqjRQxwWhMQNPaNqExjTXGgk3sDxOLptb+ayRVafyDRVJfNAImPtpQCdSaKK8mDW1poU2BQq0sLNzde8e5d5m7d+5ddhc9f+acb86c883MnTNzEfwHCbz1dDnM+ZpxwJ/qu3NbE7wFfVKKZ4frva/7lhsOLWcASyyoSiobNzM6zFQQ8kv+XC6RuAgEP9j+Erkx3CQs+D1mNqqonlXgT3sAyK8tVhjE4i3Dck7hTml3wzmuI4IRlYAxY8X/FZeYaBDMzAGx5h1AuRthcnYehMnrILV+DKSnHWDuHzONTkR0iS9G25qIBEhFRnbgobU/ibN3c8xoNLHqLQCx9jBA2moT1gkwwbN3QW7/FEjbcZ5IybZO99nWanQG/ma+rHUQUOoqmvHUWA3GAvMBNTvPkZh1WgkwDFEiLp1IyxEGAVqVoUiPPP5+4oGmQyZIFZOAsdwz09/TtDJz0EQJ8JvHjKVmmL2NRID5GFtzbB+QgW4GAfbm3ZIzsp5l22IQUA+9Ug9X+g+jxVkTjQDZWgNCdZ05UO3rArX3R8AFJSCWVZq4lYD8eyfga4OgFZSCkldm+sgXOgE1vQswMRrC3B4il5bXJtY3fW4QCOxapwoYYWD7fLDZHKwrCwcqQRofASTSxVGDQN4+TomUGj6MgHB1AMT9W8xx6LEKmK//wrR1xdVKt+R06PtAqenznpPDiVjvMJLTVttYDqItebCxDuSpm6HkhrMIcO2irnEizM9wNulth8SOzzhs4WW6orsbDIxMjyfoCg68kLmZeaGsh5kabvu7wvqipkUgAOPXHX7Q84MDI+lrOAyrsryBQ2wGIsSGUJOuiEMmnAQijOSG+Z5JWmdsAYfaDHJ/uBTYujgTI/NAhfFCc3HDmEUjAronJgG8fqtlSEglk2NO7KrzHtK8hQ4/OxCbwLadALZtwEq4+rGAeDZcgg3M7QGFftSxJCYBPYDqzefi4AU/Z+uGZik2Rufzexw+kYC4CBj1n9YIUwR6FH3hsq6XXk702T9Xy0FLGTRSHEIvH3VTFQjdbaazureM7owGrgnniSD0rJOkFNM3mhLXCmiX+0Dt+oaLg+UEEFxuDmMGohVPHBlk5pJtcqfvDBYU5cKSHosdgYZXQdaXPV6hRUn4aEdc3lj69ua5aJ7aHz8vLzkLRknEswoxt0C7eJ6FNFr9ptSvabsIRZsApWVxMB78jbMjGRwBMnrJ6TMywGH4w9MgNPaCakkmV70OSUc6IPkTPqHjdNBIyHZnGASISqdFBZ/vgCDd76jiXmF0E8G5CvZxyFaeE04dBThx0HBDK9OMamZ8WcG01Uel22P7gT5IhJEhUGvXA6raC7hilz0mBPY9SY+YByT97C9+mMp3jaBe6QfNNjttsYKKQ90g0sSEvhkMSUwmUvFTb0DLZf5Jhnx32jAh5tTUlHsB0r0gXFr6oFj/C+xsSWUt4LkZIL+cNLtwdu4tOXMN/yQze6kSepTeoI9S7vOwunB6NAJWR5R6nyI9+sTSj1Krs/4sV9bmn5VmprOteCQ9JgG63GLuhjZ3T9trcT3LrUmMl/KC7xQtVklW3KpHIyAUbR6SVrir2QvYOo7pEV4RrCvc6r9m2ujwCTHgTw6jIS0SAT2xK694z//+NbMni0TESoD+nP5Ff063R5uxPWZcK2AfpG8NmfN9KQTmV/qmxlXhwaKB5SZmMf8F4cLeesegrcIAAAAASUVORK5CYII="},d51e:function(t,e,i){t.exports=i.p+"img/copy-solid.svg"},d686:function(t,e){t.exports="data:image/png;base64,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"},da18:function(t,e,i){},ddc9:function(t,e,i){t.exports=i.p+"img/gmail.svg"},e0ed:function(t,e){t.exports="data:image/png;base64,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"},e108:function(t,e,i){t.exports=i.p+"img/check-circle-solid-white.svg"},e8f2:function(t,e,i){},f8b1:function(t,e,i){"use strict";i("9fec")}});
1
+ (function(t){function e(e){for(var s,o,r=e[0],l=e[1],c=e[2],m=0,u=[];m<r.length;m++)o=r[m],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&u.push(a[o][0]),a[o]=0;for(s in l)Object.prototype.hasOwnProperty.call(l,s)&&(t[s]=l[s]);p&&p(e);while(u.length)u.shift()();return n.push.apply(n,c||[]),i()}function i(){for(var t,e=0;e<n.length;e++){for(var i=n[e],s=!0,r=1;r<i.length;r++){var l=i[r];0!==a[l]&&(s=!1)}s&&(n.splice(e--,1),t=o(o.s=i[0]))}return t}var s={},a={wizard:0},n=[];function o(e){if(s[e])return s[e].exports;var i=s[e]={i:e,l:!1,exports:{}};return t[e].call(i.exports,i,i.exports,o),i.l=!0,i.exports}o.m=t,o.c=s,o.d=function(t,e,i){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},o.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(o.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var s in t)o.d(i,s,function(e){return t[e]}.bind(null,s));return i},o.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="http://localhost:8080/";var r=window["wpmailsmtpjsonp"]=window["wpmailsmtpjsonp"]||[],l=r.push.bind(r);r.push=e,r=r.slice();for(var c=0;c<r.length;c++)e(r[c]);var p=l;n.push([0,"chunk-vendors"]),i()})({0:function(t,e,i){t.exports=i("9f7c")},"107e":function(t,e,i){t.exports=i.p+"img/long-arrow-alt-right-regular.svg"},1532:function(t,e){t.exports="data:image/png;base64,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"},"1f7f":function(t,e,i){"use strict";i("e8f2")},"1fa5":function(t,e,i){t.exports=i.p+"img/long-arrow-alt-left-regular.svg"},"29b8":function(t,e){t.exports="data:image/png;base64,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"},"2adc":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAIKADAAQAAAABAAAAIAAAAACPTkDJAAADyklEQVRYCbVXa0hTURz/nW0+Ssc0zdIQDR+RFoGGFFkolYkUZCJYIfSgiB4U1Kc+mN8qUnp8KAjC3g+KRZRlKZSlZUGZZaa23maumWXTzW262zkrL9vuPdPpdi6Xc87/8fv/7rn3f87/EvxrJPFwVgEBWQQiBPyX+aUjEOxDdvLsfavxIk4+txEWJelI1iUavMgvETmggiDUBvYackhSedZyoiQ3OXZ+FdsFYbuCKJDp1ygewOnyz1cIBEEebESVJkgtjn01IARKlRyYSqFCalQS0qJnIS2G3tGpiJgYjr01h6BtqZJzGbNMQkBJ38nt4grEhU2TgG6euxrXW+5CoJevmsIdKFgVLBuc2U0Pj0Vm3Fx3l3HNJQTMg2bYBTsXtHhOPlc3FoWEAE0NdPf3cLEWxmcgTiN9PVyHERQSAsz+46+vXDeWt/kpy7h6bxWyBF7r27k4A4MWPPvWxNV7q5Al8LSjURany2jA2qs78fjLc1n9WISSNGQgDZSA0dIHdVCoiPnu5yes1+6BwcT/PkRjLwayK2AdsqGy7b4LTPgEDfptZheZLyayBBjwuSatSzpG0p1wa0axL2K6YHAJ6Ho+4057rYvxhrRCpMfMdpGNd8IlwIDL6k/CbBsQYygVShzL24dp6imibLwDjwQ6jXoHCecgkSGTcKagHDEcEjMnJ2JTehGi1VHObtyxMiI3PpdWQ/N4Fq/0rUiOmI7EiDjRRBOsRl5SNhq/v0FXn0GUs5W5UHgUixMWgG3ZMyIT0E2zhj0IpzWPSIA5Pvj4BPNj0zBVPVnECQmcSHfEHATQE72pq4X2AajIL0OsJsZhw3ZMRnpVSi6WJmTCZDWj7ecH0f//oJnQevAwXYFd7hr3OdsTTq08iDlTZ7qrwDaob/Qp02nt4KktrliDjj9dTibCZY/fgJOlY2Nap92Nal2ds9gxZiszUnDLoBX6vm6J76gJME8TzYgdlSXY//A42JngTXutb4PNPihx8YoA82a10OnGa1hxfiNq3teBltcSUDnBi+/NcmJ4TWAY5UtvJ7bdKkHB5S248fYeBmyeV+RFpzyBUWXBcFC53kCLl2q6EmdfavH2hw69FiMILXdDaZawzGDtz4ARBx6dgGXI6g7RLHsauluNZm6iB1WVrtZxD9urA0MQGhTi+ID7rKZhsUuvIgIscPyguch9MjFa+8FuXqP/JEMKWgPW8wz8LbcLaGDPTpKPZF+hfaG/Azrj0+ypE5QdS/4tfikUyWFZhTSjsunrGNWvmjOYN2MBxEaT+anut+EcSt9Y/wKYPTFLjUA+DAAAAABJRU5ErkJggg=="},"2bc2":function(t,e,i){t.exports=i.p+"img/zoho.svg"},"2cf42":function(t,e){t.exports="data:image/png;base64,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"},"2db4":function(t,e,i){t.exports=i.p+"img/outlook.svg"},"31f1":function(t,e,i){var s={"./amazonses.svg":"7de8","./gmail.svg":"ddc9","./mailgun.svg":"776b","./outlook.svg":"2db4","./sendgrid.svg":"b1c2","./sendinblue.svg":"7f3e","./smtp.svg":"5f30","./smtpcom.svg":"78cb","./zoho.svg":"2bc2"};function a(t){var e=n(t);return i(e)}function n(t){if(!i.o(s,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return s[t]}a.keys=function(){return Object.keys(s)},a.resolve=n,t.exports=a,a.id="31f1"},"3af1":function(t,e,i){t.exports=i.p+"img/check-solid.svg"},"3dce":function(t,e,i){t.exports=i.p+"img/loading-white.svg"},"4bd8":function(t,e,i){t.exports=i.p+"img/logo.svg"},"4e2d":function(t,e,i){t.exports=i.p+"img/times-solid.svg"},"50bf":function(t,e,i){t.exports=i.p+"img/arrow.svg"},5711:function(t,e,i){var s={"./loading-blue.svg":"8e56","./loading-white.svg":"3dce","./loading.svg":"8e57"};function a(t){var e=n(t);return i(e)}function n(t){if(!i.o(s,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return s[t]}a.keys=function(){return Object.keys(s)},a.resolve=n,t.exports=a,a.id="5711"},"5f30":function(t,e,i){t.exports=i.p+"img/smtp.svg"},"6f43":function(t,e,i){t.exports=i.p+"img/star-solid.svg"},"776b":function(t,e,i){t.exports=i.p+"img/mailgun.svg"},"78cb":function(t,e,i){t.exports=i.p+"img/smtpcom.svg"},"7c9b":function(t,e,i){var s={"./all-in-one-seo-pack@2x.png":"2cf42","./coming-soon@2x.png":"9f86","./google-analytics-for-wordpress@2x.png":"82f2","./instagram-feed@2x.png":"877f","./rafflepress@2x.png":"a1c2","./wp-call-button@2x.png":"1532"};function a(t){var e=n(t);return i(e)}function n(t){if(!i.o(s,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return s[t]}a.keys=function(){return Object.keys(s)},a.resolve=n,t.exports=a,a.id="7c9b"},"7de8":function(t,e,i){t.exports=i.p+"img/amazonses.svg"},"7f3e":function(t,e,i){t.exports=i.p+"img/sendinblue.svg"},"827a":function(t,e,i){t.exports=i.p+"img/exclamation-circle-solid.svg"},"82f2":function(t,e,i){t.exports=i.p+"img/google-analytics-for-wordpress@2x.png"},8398:function(t,e,i){t.exports=i.p+"img/working.svg"},8475:function(t,e,i){t.exports=i.p+"img/question-circle-solid.svg"},"84d7":function(t,e,i){t.exports=i.p+"img/info-circle-solid.svg"},"877f":function(t,e,i){t.exports=i.p+"img/instagram-feed@2x.png"},"87eb":function(t,e,i){t.exports=i.p+"img/pro-badge.svg"},8888:function(t,e,i){t.exports=i.p+"img/post-smtp-mailer.png"},"8cbb":function(t,e,i){"use strict";i("da18")},"8d41":function(t,e){t.exports="data:image/png;base64,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"},"8e56":function(t,e,i){t.exports=i.p+"img/loading-blue.svg"},"8e57":function(t,e,i){t.exports=i.p+"img/loading.svg"},"9a1d":function(t,e,i){t.exports=i.p+"img/check-circle-solid.svg"},"9da7":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAA7DAAAOwwHHb6hkAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAABKdJREFUWIWtl11sFFUUx39ndqf0C0EhiKVluy01ARuoxMRo1CBBIqKRqNV2C4Sg8cGowQcViUFtFOmDCSYaE9SEqN0tluiDIRBBosYHQlBDowbSwu62fNTKh/JRSnd3jg9TdruzMzsN8H+79/zP+f/vzZ17zwgTRfNAGSWZh1FZCtoI3A6YwBRgECGBcghhD6R+oLPh/ETKii9j9dHZpAPrgVVA5QTtXgS2kTG2sH320Wsz0PxnCWZ5O8grQMkEhZ24gmgHZ9Ob2NVwZeIGVg7Mwcp8Ddx5jcJO9GClH6VrzoC/gdbkHRi6F2XmDRK/ipOotYxYXc/4SSOPsioRRvRHT3HlBOiHwBGXaA8q7wP9HgaqEGMXLX017gbWxEvJsAOY7lGgn3SggWh4HYb1ODAyLnaJACuIhTZQWTIXYdDbRPA7lvVOKjSQMt4CFnok2tzumssAfFV3BGUxIq+jvAbWYr6sjQOwtWoYJehZRVjAzcE3ckOASLIO9C9gklceoJRoOdvCI0U40NZ7E2r+V5QDV0DmEQ0ds3dAdb2POKhs9hUH6Gw4j8hmH9YkRNcBCKsGK8iMnAImOxR7QXqBeajEiIU2+IqPR1viXZSngB6ERpS5DsYFSkdmCa3JpxHd7ghmwKonWpd0L368mlEdprvmLGAf4FGrhmh9ryu/JV6LIX1AwLHIFQaG3ueS8runOICmOzDTL2fHo8ZjENjhye8KJ4CegnmRpQYqd7ukNNGWWOtZEEwQM1dITQTTnapCJPEisKAwxIIgaJVLVhDlc1qT1cRC7dnZRRqkKnk/yK2IpokklwBg0YhoBZHkElJl++mecTGbE0m2A296LCQUBKZ5rlM0/y2ojtdjGftAQQG01eZll7QHc/hJ4JtxWY2e9WGaQcHBuE6o431R26oHUgbg1Tgowt58ejDtayBgpPLGhuwCLA/2ZQPkmFsA1UforP04b3bKUD+QcuHnoNqXN+4MfYrqYuwmxQE5YqB6qLAIR4mFdxfMb70rBXQXkf+VhtmHC2Zj4Z9QCjsj0T8MRPcVBmgkEm9ylbCMV4FCERgCfY63Jbfda+KlAETiTQjzCzJUvxfWHp7MSOkgUO4InwZOAnMR/ZaKMyvHdgCaB27BtF4C3YD9DXxEMLOFL+rtXuD5gyYXpkcRngD6gBnAVEf9i6QCM8Zew8RnwLOuK86hi2goApI71W2JUygW0dpZecxIIga0+NT7hGjtC2P9QKYDv8MFLbT1Tfbh2O07POPDGkGCm+BqQxKt70XY4pN0Mq/Xbx4oQ5kCTB0TtWE3LfGilYQP6Kw+njMAYOpGYH+RtFJa+u1ru3mokmCmEygDyjGtGGsP27tjc4rt1EEqTr+T8zIeKxO3YXEAqPZIHgZ2Y7frYUesH/vFewiv5kY5gcgDREPZu8elLT82HzF2FjFxrfgb1UXEwnmfsFFAi9X1kEotBPn5Bor/RoB7nOLuBgC6G/7h3OhSRNuBS9chfBnhPc6l7s12zQ74/5w2x2diykZgNVAxQeF/EaIEMh3Zy8kD/gayRoYqKbm0HIwHQZtQwti3WxrkDOhx0AOI8Qujxs7sP4QP/gdLfYuNd8XCxgAAAABJRU5ErkJggg=="},"9f7c":function(t,e,i){"use strict";i.r(e);i("e260"),i("e6cf"),i("cca6"),i("a79d");var s=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"wp-mail-smtp-admin-page"},[s("router-view"),t.blocked?s("div",{staticClass:"wp-mail-smtp-blocked"}):t.loading?s("div",{staticClass:"wp-mail-smtp-loading"},[s("inline-svg",{staticClass:"icon",attrs:{src:i("c869"),width:"195"}})],1):t._e()],1)},a=[],n=i("5530"),o=i("8c4f"),r=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"wp-mail-smtp-welcome"},[s("the-wizard-header"),s("div",{staticClass:"wp-mail-smtp-setup-wizard-container"},[s("main",{staticClass:"wp-mail-smtp-setup-wizard-content"},[s("div",{staticClass:"wp-mail-smtp-setup-wizard-content-container"},[s("content-header",{attrs:{title:t.text_header_title,subtitle:t.text_header_subtitle}}),s("button",{staticClass:"wp-mail-smtp-button wp-mail-smtp-button-main wp-mail-smtp-button-large",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.nextStep(e)}}},[s("span",{staticClass:"text-with-arrow text-with-arrow-right"},[t._v(" "+t._s(t.text_button)+" "),s("inline-svg",{staticClass:"icon",attrs:{src:i("107e"),width:"16",height:"22"}})],1)])],1)]),s("footer",[s("p",{staticClass:"wp-mail-smtp-exit-link"},[s("a",{attrs:{href:t.exit_href}},[t._v(t._s(t.text_exit_link))])])])])],1)},l=[],c=(i("cc99"),i("561c")),p=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wp-mail-smtp-content-header"},[i("h2",{domProps:{innerHTML:t._s(t.title)}}),t.subtitle?i("p",{staticClass:"subtitle",domProps:{innerHTML:t._s(t.subtitle)}}):t._e()])},m=[],u={name:"ContentHeader",props:{title:String,subtitle:String}},d=u,_=i("2877"),f=Object(_["a"])(d,p,m,!1,null,null,null),h=f.exports,g=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("header",{staticClass:"wp-mail-smtp-setup-wizard-header"},[s("h1",{staticClass:"wp-mail-smtp-setup-wizard-logo"},[s("div",{staticClass:"wp-mail-smtp-logo"},[s("img",{staticClass:"wp-mail-smtp-logo-img",attrs:{src:i("4bd8"),alt:t.text_logo_alt}})])])])},w=[],b={name:"TheWizardHeader",data:function(){return{text_logo_alt:Object(c["a"])("WP Mail SMTP logo","wp-mail-smtp")}}},A=b,v=Object(_["a"])(A,g,w,!1,null,null,null),x=v.exports,y={name:"SetupWizardWelcome",components:{ContentHeader:h,TheWizardHeader:x},data:function(){return{text_header_title:Object(c["a"])("Welcome to the WP Mail SMTP Setup Wizard!","wp-mail-smtp"),text_header_subtitle:Object(c["a"])("We’ll guide you through each step needed to get WP Mail SMTP fully set up on your site.","wp-mail-smtp"),text_button:Object(c["a"])("Let's Get Started","wp-mail-smtp"),text_exit_link:Object(c["a"])("Go back to the Dashboard","wp-mail-smtp"),exit_href:this.$wpms.exit_url}},methods:{nextStep:function(){this.$router.push({name:this.$wizard_steps[0]})}}},C=y,k=Object(_["a"])(C,r,l,!1,null,null,null),O=k.exports,j=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wp-mail-smtp-step"},[i("the-wizard-header"),i("the-wizard-timeline"),i("div",{staticClass:"wp-mail-smtp-setup-wizard-container"},[i("main",{staticClass:"wp-mail-smtp-setup-wizard-content"},[i("router-view",{on:{displayContentBelow:t.displayContentBelow}})],1),i("footer",[t.content_below.length>0?i("div",{staticClass:"wp-mail-smtp-step-below-content",domProps:{innerHTML:t._s(t.content_below)}}):t._e(),t.display_exit_link?i("p",{staticClass:"wp-mail-smtp-exit-link"},[i("a",{attrs:{href:t.exit_href}},[t._v(t._s(t.text_exit_link))])]):t._e()])])],1)},S=[],P=(i("caad"),i("b0c0"),i("d3b7"),i("2532"),i("3ca3"),i("ddb0"),function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"wp-mail-smtp-setup-wizard-container"},[s("div",{staticClass:"wp-mail-smtp-setup-wizard-timeline"},[t._l(t.steps,(function(e,a){return[a>0?s("div",{key:a+"line",class:t.lineClass(a)}):t._e(),s("div",{key:a,class:t.stepClass(a)},[s("inline-svg",{staticClass:"icon icon-success",attrs:{src:i("3af1"),width:"10",height:"10"}}),s("inline-svg",{staticClass:"icon icon-failed",attrs:{src:i("4e2d"),width:"8",height:"11"}})],1)]}))],2)])}),E=[],T=(i("c740"),{name:"TheWizardTimeline",data:function(){return{steps:this.$wizard_steps}},methods:{stepClass:function(t){var e=this,i="wp-mail-smtp-setup-wizard-timeline-step",s=this.steps.findIndex((function(t){return e.$route.name.includes(t)}));return(t<s||parseInt(s)===this.steps.length-1&&this.$route.name.includes("_success"))&&(i+=" wp-mail-smtp-setup-wizard-timeline-step-completed"),t===s&&parseInt(s)===this.steps.length-1&&this.$route.name.includes("_failure")&&(i+=" wp-mail-smtp-setup-wizard-timeline-step-failed"),parseInt(t)===parseInt(s)&&(i+=" wp-mail-smtp-setup-wizard-timeline-step-active"),i},lineClass:function(t){var e=this,i="wp-mail-smtp-setup-wizard-timeline-step-line",s=this.steps.findIndex((function(t){return e.$route.name.includes(t)}));return t<=s&&(i+=" wp-mail-smtp-setup-wizard-timeline-line-active"),i}}}),z=T,B=Object(_["a"])(z,P,E,!1,null,null,null),I=B.exports,M={name:"SetupWizardSteps",components:{TheWizardHeader:x,TheWizardTimeline:I},data:function(){return{text_exit_link:Object(c["a"])("Close and exit the Setup Wizard","wp-mail-smtp"),exit_href:this.$wpms.exit_url,content_below:""}},computed:{display_exit_link:function(){return!this.$route.name.includes("check_configuration_step")}},methods:{displayContentBelow:function(t){this.content_below=t}},mounted:function(){var t=this;this.$store.dispatch("$_app/start_loading"),Promise.all([this.$store.dispatch("$_settings/getSettings"),this.$store.dispatch("$_plugins/getPlugins")]).finally((function(){t.$store.dispatch("$_app/stop_loading")}))}},D=M,F=Object(_["a"])(D,j,S,!1,null,null,null),N=F.exports,Q=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"wp-mail-smtp-setup-wizard-step wp-mail-smtp-setup-wizard-step-import"},[s("div",{staticClass:"wp-mail-smtp-setup-wizard-content-container"},[s("the-wizard-step-counter"),s("content-header",{attrs:{title:t.text_header_title,subtitle:t.text_header_subtitle}}),s("div",{staticClass:"wp-mail-smtp-setup-wizard-form"},[s("form",[s("div",{staticClass:"wp-mail-smtp-setup-wizard-form-row"},[s("settings-input-radios-with-icons",{attrs:{name:"import_from_plugin",options:t.options},model:{value:t.selectedImport,callback:function(e){t.selectedImport=e},expression:"selectedImport"}})],1)])])],1),s("div",{staticClass:"wp-mail-smtp-separator wp-mail-smtp-separator-no-margin"}),s("div",{staticClass:"wp-mail-smtp-setup-wizard-step-footer"},[s("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.previousStep(e)}}},[s("span",{staticClass:"text-with-arrow text-with-arrow-left"},[s("inline-svg",{staticClass:"icon",attrs:{src:i("1fa5"),width:"16",height:"18"}}),t._v(t._s(t.text_previous_step)+" ")],1)]),s("div",{staticClass:"wp-mail-smtp-setup-wizard-step-footer-buttons"},[s("button",{staticClass:"wp-mail-smtp-button",attrs:{type:"button",name:"skip_step"},domProps:{textContent:t._s(t.text_skip)},on:{click:function(e){return e.preventDefault(),t.nextStep(e)}}}),s("button",{staticClass:"wp-mail-smtp-button wp-mail-smtp-button-main",attrs:{type:"submit",name:"next_step",disabled:null===t.selectedImport},on:{click:function(e){return e.preventDefault(),t.handleSubmit(e)}}},[s("span",{staticClass:"text-with-arrow text-with-arrow-right"},[t._v(" "+t._s(t.text_save)+" "),s("inline-svg",{staticClass:"icon",attrs:{src:i("107e"),width:"16",height:"19"}})],1)])])])])},L=[],W=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"wp-mail-smtp-input-radios-with-icons"},t._l(t.options,(function(e){return s("label",{key:e.value,class:t.labelClass(e),attrs:{for:"wp-mail-smtp-settings-radio-"+t.name+"["+e.value+"]"},on:{click:function(i){return t.clicked(e)}}},[s("span",{class:t.titleClass(e.value)},[s("inline-svg",{staticClass:"icon",attrs:{src:i("3af1"),width:"16",height:"16"}})],1),e.logo.length?s("img",{staticClass:"wp-mail-smtp-logo-icon",attrs:{src:e.logo,alt:e.label}}):t._e(),s("input",{directives:[{name:"model",rawName:"v-model",value:t.selectedImport,expression:"selectedImport"}],attrs:{id:"wp-mail-smtp-settings-radio-"+t.name+"["+e.value+"]",type:"radio",name:t.name,autocomplete:"off",disabled:e.disabled||!1},domProps:{value:e.value,checked:t.isChecked(e.value),checked:t._q(t.selectedImport,e.value)},on:{change:function(i){t.selectedImport=e.value}}}),s("span",{staticClass:"wp-mail-smtp-styled-radio-text",domProps:{innerHTML:t._s(e.label)}}),e.is_pro?s("inline-svg",{staticClass:"wp-mail-smtp-pro-badge",attrs:{src:i("87eb"),width:"46",height:"26"}}):t._e()],1)})),0)},U=[],H={name:"SettingsInputRadiosWithIcons",props:{options:Array,name:String,value:String},data:function(){return{has_error:!1}},computed:{selectedImport:{get:function(){return this.value},set:function(t){this.$emit("input",t)}}},methods:{titleClass:function(t){var e="wp-mail-smtp-styled-radio";return this.isChecked(t)&&(e+=" wp-mail-smtp-styled-radio-checked"),e},labelClass:function(t){var e="";return this.isChecked(t.value)&&(e+=" wp-mail-smtp-styled-radio-label-checked"),t.disabled&&(e+=" wp-mail-smtp-styled-radio-label-disabled"),t.readonly&&(e+=" wp-mail-smtp-styled-radio-label-readonly"),e},isChecked:function(t){return t===this.selectedImport},clicked:function(t){t.disabled&&this.$emit("clicked-disabled",t)}}},R=H,G=(i("8cbb"),Object(_["a"])(R,W,U,!1,null,"1652957d",null)),V=G.exports,Y=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("p",{staticClass:"wp-mail-smtp-setup-wizard-step-count"},[t._v(" "+t._s(t.stepValue)+" ")])},J=[],K={name:"TheWizardStepCounter",computed:{stepValue:function(){var t=this,e=this.$wizard_steps.findIndex((function(e){return t.$route.name.includes(e)}))+1;return Object(c["c"])(Object(c["a"])("Step %1$s of %2$s","wp-mail-smtp"),e,this.$wizard_steps.length)}}},q=K,Z=(i("1f7f"),Object(_["a"])(q,Y,J,!1,null,"44fd4a93",null)),X=Z.exports,$={name:"WizardStepImport",components:{SettingsInputRadiosWithIcons:V,ContentHeader:h,TheWizardStepCounter:X},data:function(){return{text_header_title:Object(c["a"])("Import data from your current plugins","wp-mail-smtp"),text_header_subtitle:Object(c["a"])("We have detected other SMTP plugins installed on your website. Select which plugin's data you would like to import to WP Mail SMTP.","wp-mail-smtp"),text_save:Object(c["a"])("Import Data and Continue","wp-mail-smtp"),text_skip:Object(c["a"])("Skip this Step","wp-mail-smtp"),text_previous_step:Object(c["a"])("Previous Step","wp-mail-smtp"),options:[{value:"easy-smtp",label:Object(c["a"])("Easy WP SMTP","wp-mail-smtp"),logo:i("8d41"),disabled:!this.$wpms.other_smtp_plugins.includes("easy-smtp"),readonly:!this.$wpms.other_smtp_plugins.includes("easy-smtp")},{value:"post-smtp-mailer",label:Object(c["a"])("Post SMTP Mailer","wp-mail-smtp"),logo:i("8888"),disabled:!this.$wpms.other_smtp_plugins.includes("post-smtp-mailer"),readonly:!this.$wpms.other_smtp_plugins.includes("post-smtp-mailer")},{value:"smtp-mailer",label:Object(c["a"])("SMTP Mailer","wp-mail-smtp"),logo:i("29b8"),disabled:!this.$wpms.other_smtp_plugins.includes("smtp-mailer"),readonly:!this.$wpms.other_smtp_plugins.includes("smtp-mailer")},{value:"wp-smtp",label:Object(c["a"])("WP SMTP","wp-mail-smtp"),logo:i("b98f"),disabled:!this.$wpms.other_smtp_plugins.includes("wp-smtp"),readonly:!this.$wpms.other_smtp_plugins.includes("wp-smtp")}],selectedImport:null}},methods:{handleSubmit:function(){var t=this;null!==this.selectedImport&&(this.$store.dispatch("$_app/start_loading"),this.$store.dispatch("$_settings/importOtherPlugin",{value:this.selectedImport}).then((function(e){e?t.nextStep():t.$wpms_error_toast({})})).finally((function(){t.$store.dispatch("$_app/stop_loading")})))},nextStep:function(){this.$next_step()},previousStep:function(){this.$previous_step()}}},tt=$,et=Object(_["a"])(tt,Q,L,!1,null,null,null),it=et.exports,st=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"wp-mail-smtp-setup-wizard-step wp-mail-smtp-setup-wizard-step-choose-mailer"},[s("div",{staticClass:"wp-mail-smtp-setup-wizard-content-container"},[s("the-wizard-step-counter"),s("content-header",{attrs:{title:t.text_header_title,subtitle:t.text_header_subtitle}}),s("div",{staticClass:"wp-mail-smtp-setup-wizard-form"},[s("form",[s("div",{staticClass:"wp-mail-smtp-setup-wizard-form-row wp-mail-smtp-setup-wizard-form-row-highlight"},[s("h3",[t._v(t._s(t.text_recommended_mailers))]),s("settings-input-radios-with-icons",{attrs:{name:"choose_mailer",options:t.recommended_options},model:{value:t.selectedMailer,callback:function(e){t.selectedMailer=e},expression:"selectedMailer"}})],1),s("div",{staticClass:"wp-mail-smtp-setup-wizard-form-row"},[s("settings-input-radios-with-icons",{attrs:{name:"choose_mailer",options:t.options},on:{"clicked-disabled":t.clickedDisabledOption},model:{value:t.selectedMailer,callback:function(e){t.selectedMailer=e},expression:"selectedMailer"}})],1)])])],1),s("div",{staticClass:"wp-mail-smtp-separator wp-mail-smtp-separator-no-margin"}),s("div",{staticClass:"wp-mail-smtp-setup-wizard-step-footer"},[s("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.previousStep(e)}}},[s("span",{staticClass:"text-with-arrow text-with-arrow-left"},[s("inline-svg",{staticClass:"icon",attrs:{src:i("1fa5"),width:"16",height:"18"}}),t._v(t._s(t.text_previous_step)+" ")],1)]),s("div",{staticClass:"wp-mail-smtp-setup-wizard-step-footer-buttons"},[s("button",{staticClass:"wp-mail-smtp-button wp-mail-smtp-button-main",attrs:{type:"submit",name:"next_step",disabled:null===t.selectedMailer},on:{click:function(e){return e.preventDefault(),t.handleSubmit(e)}}},[s("span",{staticClass:"text-with-arrow text-with-arrow-right"},[t._v(" "+t._s(t.text_save)+" "),s("inline-svg",{staticClass:"icon",attrs:{src:i("107e"),width:"16",height:"19"}})],1)])])])])},at=[],nt=(i("99af"),i("7db0"),i("ac1f"),i("5319"),i("2f62")),ot={name:"WizardStepChooseMailer",components:{SettingsInputRadiosWithIcons:V,ContentHeader:h,TheWizardStepCounter:X},data:function(){return{text_header_title:Object(c["a"])("Choose Your SMTP Mailer","wp-mail-smtp"),text_header_subtitle:Object(c["c"])(Object(c["a"])("Which mailer would you like to use to send emails? Not sure which mailer to choose? Check out our %1$scomplete mailer guide%2$s for details on each option.","wp-mail-smtp"),'<a href="https://wpmailsmtp.com/docs/a-complete-guide-to-wp-mail-smtp-mailers/" target="_blank" rel="noopener noreferrer">',"</a>"),text_save:Object(c["a"])("Save and Continue","wp-mail-smtp"),text_previous_step:Object(c["a"])("Previous Step","wp-mail-smtp"),text_recommended_mailers:Object(c["a"])("Recommended Mailers","wp-mail-smtp"),recommended_options:[{value:"smtpcom",label:this.$wpms.mailer_options["smtpcom"].title,logo:i("78cb")},{value:"sendinblue",label:this.$wpms.mailer_options["sendinblue"].title,logo:i("7f3e")}],options:[{value:"mailgun",label:this.$wpms.mailer_options["mailgun"].title,logo:i("776b")},{value:"sendgrid",label:this.$wpms.mailer_options["sendgrid"].title,logo:i("b1c2")},{value:"gmail",label:this.$wpms.mailer_options["gmail"].title,logo:i("ddc9"),notice:this.$wpms.mailer_options["gmail"].edu_notice},{value:"amazonses",label:this.$wpms.mailer_options["amazonses"].title,logo:i("7de8"),disabled:!this.$wpms.is_pro,is_pro:!this.$wpms.is_pro,notice:this.$wpms.mailer_options["amazonses"].edu_notice},{value:"outlook",label:this.$wpms.mailer_options["outlook"].title,logo:i("2db4"),disabled:!this.$wpms.is_pro,is_pro:!this.$wpms.is_pro,notice:this.$wpms.mailer_options["outlook"].edu_notice},{value:"zoho",label:this.$wpms.mailer_options["zoho"].title,logo:i("2bc2"),disabled:!this.$wpms.is_pro,is_pro:!this.$wpms.is_pro},{value:"smtp",label:this.$wpms.mailer_options["smtp"].title,logo:i("5f30")}],selectedMailer:this.currentMailer}},watch:{currentMailer:function(t){this.selectedMailer=t}},computed:Object(n["a"])(Object(n["a"])({},Object(nt["b"])({currentMailer:"$_settings/mailer"})),{},{selectedMailerOptions:function(){var t=this;return this.recommended_options.concat(this.options).find((function(e){return e.value===t.selectedMailer}))}}),methods:{handleSubmit:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];null!==this.selectedMailer&&(void 0===this.selectedMailerOptions.notice||i?(this.$store.dispatch("$_app/start_loading"),this.$store.dispatch("$_settings/updateSettings",{value:{mail:{mailer:this.selectedMailer}}}).then((function(t){t.success?(e.$store.dispatch("$_settings/setMailer",e.selectedMailer),e.nextStep()):e.$wpms_error_toast({})})).finally((function(){e.$store.dispatch("$_app/stop_loading")}))):this.$swal({title:this.selectedMailerOptions.label+" "+Object(c["a"])("Mailer","wp-mail-smtp"),html:this.selectedMailerOptions.notice,width:650,showCloseButton:!0,allowOutsideClick:!1,allowEscapeKey:!1,allowEnterKey:!1,customClass:{container:"wp-mail-smtp-swal"},confirmButtonText:Object(c["a"])("I Understand, Continue","wp-mail-smtp"),cancelButtonText:Object(c["a"])("Choose a Different Mailer","wp-mail-smtp"),showCancelButton:!0,reverseButtons:!0}).then((function(t){t.value?e.handleSubmit(null,!0):void 0!==t.dismiss&&"cancel"===t.dismiss&&(e.selectedMailer=null)})))},nextStep:function(){var t=this,e=this.$wizard_steps.findIndex((function(e){return t.$route.name.includes(e)}))+1;this.$router.push({name:"".concat(this.$wizard_steps[e],"_").concat(this.selectedMailer)})},previousStep:function(){this.$previous_step()},clickedDisabledOption:function(t){this.$swal({title:t.label+" "+Object(c["a"])("is a PRO Feature","wp-mail-smtp"),html:"<p>".concat(this.$wpms.education.upgrade_text.replace("%mailer%",t.label),'</p>\n\t\t\t\t\t\t<p><a href="').concat(this.$wpms.education.upgrade_url+"&utm_content="+t.value,'" class="wp-mail-smtp-button wp-mail-smtp-button-small wp-mail-smtp-button-main" target="_blank" rel="noopener noreferrer">').concat(this.$wpms.education.upgrade_button,'</a></p>\n\t\t\t\t\t\t<p class="upgrade-bonus"><span class="icon-container"><svg data-v-6d7a07a8="" viewBox="0 0 512 512" role="img" class="icon" data-icon="check" data-prefix="fas" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="16"><path xmlns="http://www.w3.org/2000/svg" fill="currentColor" d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"></path></svg></span>').concat(this.$wpms.education.upgrade_bonus,"</p>\n\t\t\t\t\t\t<p>").concat(this.$wpms.education.upgrade_doc,"</p>"),width:550,imageUrl:i("b32f"),imageWidth:31,imageHeight:35,showCloseButton:!0,customClass:{container:"wp-mail-smtp-swal wp-mail-smtp-upgrade-popup"},showConfirmButton:!1})}},mounted:function(){this.selectedMailer=this.currentMailer}},rt=ot,lt=Object(_["a"])(rt,st,at,!1,null,null,null),ct=lt.exports,pt=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"wp-mail-smtp-setup-wizard-step wp-mail-smtp-setup-wizard-step-configure-mailer"},[s("div",{staticClass:"wp-mail-smtp-setup-wizard-content-container"},[s("div",{staticClass:"wp-mail-smtp-configure-mailer-header"},[s("div",{staticClass:"wp-mail-smtp-configure-mailer-header-container"},[s("the-wizard-step-counter"),s("content-header",{attrs:{title:t.text_header_title,subtitle:t.text_header_subtitle}})],1),s("span",{staticClass:"wp-mail-smtp-configure-mailer-logo"},[s("inline-svg",{attrs:{src:t.logo(t.mailer),height:"40"}})],1)]),s("div",{staticClass:"wp-mail-smtp-separator wp-mail-smtp-separator-no-margin"}),s("router-view",{ref:"mailerConfiguration"})],1),s("div",{staticClass:"wp-mail-smtp-separator wp-mail-smtp-separator-no-margin"}),s("div",{staticClass:"wp-mail-smtp-setup-wizard-step-footer"},[s("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.previousStep(e)}}},[s("span",{staticClass:"text-with-arrow text-with-arrow-left"},[s("inline-svg",{staticClass:"icon",attrs:{src:i("1fa5"),width:"16",height:"18"}}),t._v(t._s(t.text_previous_step)+" ")],1)]),s("div",{staticClass:"wp-mail-smtp-setup-wizard-step-footer-buttons"},[s("button",{staticClass:"wp-mail-smtp-button wp-mail-smtp-button-main",attrs:{type:"submit",name:"next_step",disabled:null===t.mailer||!0===t.blocked_step},on:{click:function(e){return e.preventDefault(),t.handleSubmit(e)}}},[s("span",{staticClass:"text-with-arrow text-with-arrow-right"},[t._v(" "+t._s(t.text_save)+" "),s("inline-svg",{staticClass:"icon",attrs:{src:i("107e"),width:"16",height:"19"}})],1)])])])])},mt=[],ut=i("5935"),dt={name:"WizardStepConfigureMailer",components:{ContentHeader:h,TheWizardStepCounter:X},data:function(){return{text_header_title:Object(c["a"])("Configure Mailer Settings","wp-mail-smtp"),text_header_subtitle:Object(c["a"])("Below, we'll show you all of the settings required to set up this mailer.","wp-mail-smtp"),text_save:Object(c["a"])("Save and Continue","wp-mail-smtp"),text_previous_step:Object(c["a"])("Previous Step","wp-mail-smtp")}},computed:Object(n["a"])(Object(n["a"])({},Object(nt["b"])({mailer:"$_settings/mailer"})),Object(ut["b"])("$_wizard",["blocked_step"])),methods:{handleSubmit:function(){var t=this;return!this.blocked_step&&(this.$refs.mailerConfiguration.areRequiredFieldsValid()?(this.$store.dispatch("$_app/start_loading"),void this.$store.dispatch("$_settings/saveCurrentSettings").then((function(e){e.success?t.$next_step():t.$wpms_error_toast({})})).finally((function(){t.$store.dispatch("$_app/stop_loading")}))):(this.$required_fields_modal(),!1))},previousStep:function(){this.blocked_step=!1,this.$previous_step()},logo:function(t){return t="mail"===t?"smtp":t,i("31f1")("./".concat(t,".svg"))}}},_t=dt,ft=Object(_["a"])(_t,pt,mt,!1,null,null,null),ht=ft.exports,gt=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"wp-mail-smtp-setup-wizard-step wp-mail-smtp-setup-wizard-step-plugin-features"},[s("div",{staticClass:"wp-mail-smtp-setup-wizard-content-container"},[s("div",{staticClass:"wp-mail-smtp-plugin-features-header"},[s("the-wizard-step-counter"),s("content-header",{attrs:{title:t.text_header_title,subtitle:t.text_header_subtitle}})],1),s("div",{staticClass:"wp-mail-smtp-plugin-features-list"},[s("settings-input-long-checkbox",{attrs:{value:!0,name:"improved_deliverability",label:t.text_improved_email_deliverability,description:t.text_improved_email_deliverability_desc,disabled:""}}),s("settings-input-long-checkbox",{attrs:{value:!0,name:"error_tracking",label:t.text_error_tracking,description:t.text_error_tracking_desc,disabled:""}}),t.contact_form_already_installed?t._e():s("settings-input-long-checkbox",{attrs:{name:"smart_contact_form",label:t.text_smart_contact_form,description:t.text_smart_contact_form_desc},model:{value:t.smart_contact_form,callback:function(e){t.smart_contact_form=e},expression:"smart_contact_form"}}),s("settings-input-long-checkbox",{attrs:{name:"email_log",label:t.text_email_log,description:t.text_email_log_desc,show_pro:!t.is_pro},model:{value:t.email_log,callback:function(e){t.email_log=e},expression:"email_log"}}),t.is_pro?t._e():s("settings-input-long-checkbox",{attrs:{name:"manage_notifications",label:t.text_manage_notifications,description:t.text_manage_notifications_desc,show_pro:!t.is_pro},model:{value:t.manage_notifications,callback:function(e){t.manage_notifications=e},expression:"manage_notifications"}}),t.is_multisite&&!t.is_pro?s("settings-input-long-checkbox",{attrs:{name:"network_settings",label:t.text_network_settings,description:t.text_network_settings_desc,show_pro:!t.is_pro},model:{value:t.network_settings,callback:function(e){t.network_settings=e},expression:"network_settings"}}):t._e()],1)]),s("div",{staticClass:"wp-mail-smtp-separator wp-mail-smtp-separator-no-margin"}),s("div",{staticClass:"wp-mail-smtp-setup-wizard-step-footer"},[s("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.previousStep(e)}}},[s("span",{staticClass:"text-with-arrow text-with-arrow-left"},[s("inline-svg",{staticClass:"icon",attrs:{src:i("1fa5"),width:"16",height:"18"}}),t._v(t._s(t.text_previous_step)+" ")],1)]),s("div",{staticClass:"wp-mail-smtp-setup-wizard-step-footer-buttons"},[s("button",{staticClass:"wp-mail-smtp-button wp-mail-smtp-button-main",attrs:{type:"submit",name:"next_step"},on:{click:function(e){return e.preventDefault(),t.handleSubmit(e)}}},[s("span",{staticClass:"text-with-arrow text-with-arrow-right"},[t._v(" "+t._s(t.text_save)+" "),s("inline-svg",{staticClass:"icon",attrs:{src:i("107e"),width:"16",height:"19"}})],1)])])])])},wt=[],bt=(i("4de4"),function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("label",{staticClass:"settings-input-long-checkbox",class:{"settings-input-long-checkbox-checked":t.value,"settings-input-long-checkbox-disabled":t.disabled},attrs:{for:"wp-mail-smtp-settings-long-checkbox-"+t.name}},[s("div",{staticClass:"settings-input-long-checkbox-header"},[s("span",{staticClass:"title-container"},[s("span",{staticClass:"label",domProps:{innerHTML:t._s(t.label)}}),t.show_pro?s("inline-svg",{staticClass:"wp-mail-smtp-pro-badge",attrs:{src:i("87eb"),width:"46",height:"24"}}):t._e()],1),t.description?s("p",{staticClass:"description",domProps:{innerHTML:t._s(t.description)}}):t._e()]),s("span",{staticClass:"settings-input-long-checkbox-container"},[s("span",{staticClass:"checkbox",class:{"checkbox-checked":t.value,"checkbox-disabled":t.disabled}},[s("inline-svg",{staticClass:"icon",attrs:{src:i("3af1"),width:"16",height:"16"}})],1),s("input",{attrs:{id:"wp-mail-smtp-settings-long-checkbox-"+t.name,type:"checkbox",name:t.name,disabled:t.disabled},domProps:{checked:t.value},on:{input:function(e){return t.$emit("input",e.target.checked)}}})])])}),At=[],vt={name:"SettingsInputLongCheckbox",props:{label:String,name:String,value:Boolean,description:String,disabled:Boolean,show_pro:Boolean}},xt=vt,yt=Object(_["a"])(xt,bt,At,!1,null,null,null),Ct=yt.exports,kt={name:"WizardStepPluginFeatures",components:{ContentHeader:h,TheWizardStepCounter:X,SettingsInputLongCheckbox:Ct},data:function(){return{text_header_title:Object(c["a"])("Which email features do you want to enable?","wp-mail-smtp"),text_header_subtitle:Object(c["a"])("Make sure you're getting the most out of WP Mail SMTP. Just check all of the features you'd like to use, and we'll go ahead and enable those for you.","wp-mail-smtp"),text_save:Object(c["a"])("Save and Continue","wp-mail-smtp"),text_previous_step:Object(c["a"])("Previous Step","wp-mail-smtp"),text_improved_email_deliverability:Object(c["a"])("Improved Email Deliverability","wp-mail-smtp"),text_improved_email_deliverability_desc:Object(c["a"])("Ensure your emails are sent successfully and reliably.","wp-mail-smtp"),text_error_tracking:Object(c["a"])("Email Error Tracking","wp-mail-smtp"),text_error_tracking_desc:Object(c["a"])("Easily spot errors causing delivery issues.","wp-mail-smtp"),text_smart_contact_form:Object(c["a"])("Smart Contact Form","wp-mail-smtp"),text_smart_contact_form_desc:Object(c["a"])("Create beautiful contact forms with just a few clicks.","wp-mail-smtp"),text_email_log:Object(c["a"])("Detailed Email Logs","wp-mail-smtp"),text_email_log_desc:Object(c["a"])("Keep records of every email that's sent out from your website.","wp-mail-smtp"),text_manage_notifications:Object(c["a"])("Manage Default Notifications","wp-mail-smtp"),text_manage_notifications_desc:Object(c["a"])("Control which email notifications your WordPress site sends.","wp-mail-smtp"),text_network_settings:Object(c["a"])("Multisite Network Settings","wp-mail-smtp"),text_network_settings_desc:Object(c["a"])("Save time with powerful WordPress Multisite controls.","wp-mail-smtp"),is_pro:this.$wpms.is_pro,is_multisite:this.$wpms.is_multisite,email_log:!1,manage_notifications:!1,network_settings:!1}},computed:Object(n["a"])(Object(n["a"])({},Object(nt["b"])({contact_form_already_installed:"$_plugins/contact_form_plugin_already_installed",email_log_setting:"$_settings/email_log_enabled"})),Object(ut["b"])("$_plugins",{smart_contact_form:"smart_contact_form_setting"})),watch:{smart_contact_form:function(t){if(this.contact_form_already_installed)return!1;this.showWPFormsPluginInstallFooterNotice(t)},contact_form_already_installed:function(t){t&&this.$emit("displayContentBelow","")},email_log_setting:function(t){this.email_log=t}},methods:{handleSubmit:function(){var t=this;this.$store.dispatch("$_app/start_loading");var e=[];if(this.is_pro){var i={value:{logs:{enabled:this.email_log}}};e.push(this.$store.dispatch("$_settings/updateSettings",i)),e.push(this.$store.dispatch("$_settings/setLogs",this.email_log))}if(this.smart_contact_form&&!this.contact_form_already_installed&&e.push(this.$store.dispatch("$_plugins/installPlugin","wpforms-lite")),!this.is_pro){var s=[];this.email_log&&s.push("email_log"),this.manage_notifications&&s.push("manage_notifications"),this.network_settings&&s.push("network_settings"),e.push(this.$store.dispatch("$_settings/savePluginFeatures",s))}Promise.all(e).then((function(e){var i=e.filter((function(t){return t.success}));i.length===e.length&&(t.$emit("displayContentBelow",""),t.$next_step())})).finally((function(){t.$store.dispatch("$_app/stop_loading")}))},previousStep:function(){var t=this;this.$emit("displayContentBelow","");var e=this.$wizard_steps.findIndex((function(e){return t.$route.name.includes(e)}))-1;this.$router.push({name:"".concat(this.$wizard_steps[e],"_").concat(this.$store.getters["$_settings/mailer"])})},showWPFormsPluginInstallFooterNotice:function(t){var e=t?"<p> ".concat(Object(c["a"])("The following plugin will be installed for free: WPForms","wp-mail-smtp"),"</p>"):"";this.$emit("displayContentBelow",e)}},mounted:function(){if(this.showWPFormsPluginInstallFooterNotice(this.smart_contact_form&&!this.contact_form_already_installed),this.email_log=this.$store.getters["$_settings/email_log_enabled"],!this.$wpms.is_pro){var t=this.$store.getters["$_settings/plugin_features"];t.includes("email_log")&&(this.email_log=!0),t.includes("manage_notifications")&&(this.manage_notifications=!0),t.includes("network_settings")&&(this.network_settings=!0)}}},Ot=kt,jt=Object(_["a"])(Ot,gt,wt,!1,null,null,null),St=jt.exports,Pt=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"wp-mail-smtp-setup-wizard-step wp-mail-smtp-setup-wizard-step-help-improve"},[s("div",{staticClass:"wp-mail-smtp-setup-wizard-content-container"},[s("div",{staticClass:"wp-mail-smtp-help-improve-header"},[s("the-wizard-step-counter"),s("content-header",{attrs:{title:t.text_header_title,subtitle:t.text_header_subtitle}})],1),s("settings-input-text",{attrs:{name:"email",type:"email",label:t.text_email_label,description:t.text_email_description},model:{value:t.email,callback:function(e){t.email=e},expression:"email"}}),s("settings-input-checkbox",{attrs:{name:"usage_tracking",label:t.text_usage_tracking_label,description:t.text_usage_tracking_description,tooltip:t.text_usage_tracking_tooltip},model:{value:t.usage_tracking,callback:function(e){t.usage_tracking=e},expression:"usage_tracking"}})],1),s("div",{staticClass:"wp-mail-smtp-separator wp-mail-smtp-separator-no-margin"}),s("div",{staticClass:"wp-mail-smtp-setup-wizard-step-footer"},[s("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.previousStep(e)}}},[s("span",{staticClass:"text-with-arrow text-with-arrow-left"},[s("inline-svg",{staticClass:"icon",attrs:{src:i("1fa5"),width:"16",height:"18"}}),t._v(t._s(t.text_previous_step)+" ")],1)]),s("div",{staticClass:"wp-mail-smtp-setup-wizard-step-footer-buttons"},[s("button",{staticClass:"wp-mail-smtp-button",attrs:{type:"button",name:"skip_step"},domProps:{textContent:t._s(t.text_skip)},on:{click:function(e){return e.preventDefault(),t.nextStep(e)}}}),s("button",{staticClass:"wp-mail-smtp-button wp-mail-smtp-button-main",attrs:{type:"submit",name:"next_step"},on:{click:function(e){return e.preventDefault(),t.handleSubmit(e)}}},[s("span",{staticClass:"text-with-arrow text-with-arrow-right"},[t._v(" "+t._s(t.text_save)+" "),s("inline-svg",{staticClass:"icon",attrs:{src:i("107e"),width:"16",height:"19"}})],1)])])])])},Et=[],Tt=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"settings-input-text",class:{"settings-input-text-with-copy":t.copy,"input-error":t.has_errors||t.field_error}},[s("label",{staticClass:"settings-input-label-container",attrs:{for:t.id}},[t.label?s("span",{staticClass:"label",domProps:{innerHTML:t._s(t.label)}}):t._e(),t.tooltip?s("settings-info-tooltip",{attrs:{content:t.tooltip}}):t._e()],1),s("span",{staticClass:"settings-input-container"},["checkbox"===t.type?s("input",{directives:[{name:"model",rawName:"v-model",value:t.currentValue,expression:"currentValue"}],ref:"input",attrs:{id:t.id,name:t.name,placeholder:t.placeholder,readonly:t.readonly,disabled:t.disabled,type:"checkbox"},domProps:{checked:Array.isArray(t.currentValue)?t._i(t.currentValue,null)>-1:t.currentValue},on:{change:[function(e){var i=t.currentValue,s=e.target,a=!!s.checked;if(Array.isArray(i)){var n=null,o=t._i(i,n);s.checked?o<0&&(t.currentValue=i.concat([n])):o>-1&&(t.currentValue=i.slice(0,o).concat(i.slice(o+1)))}else t.currentValue=a},t.inputUpdate]}}):"radio"===t.type?s("input",{directives:[{name:"model",rawName:"v-model",value:t.currentValue,expression:"currentValue"}],ref:"input",attrs:{id:t.id,name:t.name,placeholder:t.placeholder,readonly:t.readonly,disabled:t.disabled,type:"radio"},domProps:{checked:t._q(t.currentValue,null)},on:{change:[function(e){t.currentValue=null},t.inputUpdate]}}):s("input",{directives:[{name:"model",rawName:"v-model",value:t.currentValue,expression:"currentValue"}],ref:"input",attrs:{id:t.id,name:t.name,placeholder:t.placeholder,readonly:t.readonly,disabled:t.disabled,type:t.type},domProps:{value:t.currentValue},on:{change:t.inputUpdate,input:function(e){e.target.composing||(t.currentValue=e.target.value)}}}),t.copy?s("button",{staticClass:"wp-mail-smtp-button wp-mail-smtp-button-small",class:{"wp-mail-smtp-button-copied":t.show_copied},attrs:{title:t.text_copy_button},on:{click:function(e){return e.preventDefault(),t.copyValue(e)}}},[s("span",{staticClass:"copy-button-container"},[s("inline-svg",{staticClass:"icon",class:{active:!t.show_copied},attrs:{src:i("d51e"),width:"16",height:"16"}}),s("inline-svg",{staticClass:"icon copied",class:{active:t.show_copied},attrs:{src:i("e108"),width:"16",height:"16"}})],1)]):t._e()]),t.has_errors?s("p",{staticClass:"error"},[s("inline-svg",{staticClass:"icon",attrs:{src:i("827a"),width:"16"}}),s("span",{domProps:{innerHTML:t._s(t.text_error)}})],1):t._e(),t.description?s("p",{staticClass:"description",domProps:{innerHTML:t._s(t.description)}}):t._e()])},zt=[],Bt=(i("4d63"),i("25f0"),i("4795"),function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("span",{directives:[{name:"tooltip",rawName:"v-tooltip",value:t.tooltip_data,expression:"tooltip_data"}],staticClass:"wp-mail-smtp-info",attrs:{tabindex:"0"}},[s("inline-svg",{staticClass:"icon",attrs:{src:i("8475"),width:"14",height:"14"}})],1)}),It=[],Mt={name:"SettingsInfoTooltip",props:{content:String},data:function(){return{tooltip_data:{content:this.content,autoHide:!1,trigger:"hover focus click"}}}},Dt=Mt,Ft=(i("ba75"),Object(_["a"])(Dt,Bt,It,!1,null,"74a4d2ae",null)),Nt=Ft.exports,Qt={name:"SettingsInputText",components:{SettingsInfoTooltip:Nt},props:{name:String,value:String,label:String,description:String,placeholder:String,type:{type:String,default:"text"},tooltip:String,readonly:Boolean,disabled:Boolean,format:RegExp,error:{type:String,default:""},copy:{type:Boolean,default:!1},is_error:Boolean},data:function(){return{has_error:!1,id:"input-"+this.name,text_copy_button:Object(c["a"])("Copy input value","wp-mail-smtp"),text_copied:Object(c["a"])("Copied!","wp-mail-smtp"),show_copied:!1}},computed:{currentValue:{get:function(){return this.value},set:function(t){this.$emit("is_error_update",!1),this.$emit("input",t)}},field_error:{get:function(){return this.is_error},set:function(t){this.$emit("is_error_update",t)}},has_errors:function(){return this.error.length>0||this.has_error},text_error:function(){return this.error.length>0?this.error:Object(c["a"])("The value entered does not match the required format","wp-mail-smtp")}},methods:{inputUpdate:function(t){return!this.disabled&&(this.has_error=!1,this.format&&!this.format.test(t.target.value)?(this.has_error=!0,!1):void 0)},copyValue:function(){var t=this.$refs.input;t.select(),document.execCommand("copy"),this.show_copied=!0;var e=this;setTimeout((function(){e.show_copied=!1}),1e3)}}},Lt=Qt,Wt=Object(_["a"])(Lt,Tt,zt,!1,null,null,null),Ut=Wt.exports,Ht=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"settings-input-checkbox",class:{"settings-input-checkbox-checked":t.value,"settings-input-checkbox-disabled":t.disabled}},[s("span",{staticClass:"settings-input-label-container"},[s("span",{staticClass:"label",domProps:{innerHTML:t._s(t.label)}}),t.tooltip?s("settings-info-tooltip",{attrs:{content:t.tooltip}}):t._e()],1),s("label",{staticClass:"settings-input-checkbox-container",attrs:{for:"wp-mail-smtp-settings-checkbox-"+t.name}},[s("span",{staticClass:"checkbox",class:{"checkbox-checked":t.value,"checkbox-disabled":t.disabled}},[s("inline-svg",{staticClass:"icon",attrs:{src:i("3af1"),width:"14",height:"14"}})],1),s("input",{attrs:{id:"wp-mail-smtp-settings-checkbox-"+t.name,type:"checkbox",name:t.name,disabled:t.disabled},domProps:{checked:t.value},on:{input:function(e){return t.$emit("input",e.target.checked)}}}),t.description?s("span",{staticClass:"input-label",domProps:{innerHTML:t._s(t.description)}}):t._e()])])},Rt=[],Gt={name:"SettingsInputCheckbox",components:{SettingsInfoTooltip:Nt},props:{label:String,name:String,value:Boolean,description:String,tooltip:String,disabled:Boolean}},Vt=Gt,Yt=Object(_["a"])(Vt,Ht,Rt,!1,null,null,null),Jt=Yt.exports,Kt={name:"WizardStepHelpImprove",components:{ContentHeader:h,TheWizardStepCounter:X,SettingsInputText:Ut,SettingsInputCheckbox:Jt},data:function(){return{text_header_title:Object(c["a"])("Help Improve WP Mail SMTP + Smart Recommendations","wp-mail-smtp"),text_header_subtitle:Object(c["a"])("Get helpful suggestions from WP Mail SMTP on how to optimize your email deliverability and grow your business.","wp-mail-smtp"),text_save:Object(c["a"])("Save and Continue","wp-mail-smtp"),text_skip:Object(c["a"])("Skip this Step","wp-mail-smtp"),text_previous_step:Object(c["a"])("Previous Step","wp-mail-smtp"),text_email_label:Object(c["a"])("Your Email Address","wp-mail-smtp"),text_email_description:Object(c["a"])("Your email is needed, so you can receive recommendations.","wp-mail-smtp"),text_usage_tracking_label:Object(c["a"])("Help make WP Mail SMTP better for everyone","wp-mail-smtp"),text_usage_tracking_description:Object(c["a"])("Yes, count me in","wp-mail-smtp"),text_usage_tracking_tooltip:Object(c["a"])("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.","wp-mail-smtp"),is_pro:this.$wpms.is_pro,email:"",usage_tracking:!1}},methods:{handleSubmit:function(){var t=this;this.$store.dispatch("$_app/start_loading");var e=[];if(this.email&&e.push(this.$store.dispatch("$_settings/subscribeToNewsletter",this.email)),this.usage_tracking){var i={value:{general:{"usage-tracking-enabled":!0}}};e.push(this.$store.dispatch("$_settings/updateSettings",i))}Promise.all(e).then((function(){t.nextStep()})).finally((function(){t.$store.dispatch("$_app/stop_loading")}))},nextStep:function(){this.$next_step()},previousStep:function(){this.$previous_step()}}},qt=Kt,Zt=Object(_["a"])(qt,Pt,Et,!1,null,null,null),Xt=Zt.exports,$t=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"wp-mail-smtp-setup-wizard-step wp-mail-smtp-setup-wizard-step-license"},[s("div",{staticClass:"wp-mail-smtp-setup-wizard-content-container"},[s("div",{staticClass:"wp-mail-smtp-license-header"},[s("the-wizard-step-counter"),s("content-header",{attrs:{title:t.text_header_title,subtitle:t.text_header_subtitle}})],1),t.is_pro?t._e():s("div",{staticClass:"upgrade-content"},[s("p",{staticClass:"medium-bold",domProps:{innerHTML:t._s(t.text_upgrade_paragraph)}}),s("div",{staticClass:"checked-item-list"},[s("span",{staticClass:"checked-item"},[s("inline-svg",{staticClass:"icon",attrs:{src:i("3af1"),width:"16",height:"16"}}),t._v(" "),s("span",[t._v(t._s(t.text_email_log))])],1),s("span",{staticClass:"checked-item"},[s("inline-svg",{staticClass:"icon",attrs:{src:i("3af1"),width:"16",height:"16"}}),t._v(" "),s("span",[t._v(t._s(t.text_manage_notifications))])],1),s("span",{staticClass:"checked-item"},[s("inline-svg",{staticClass:"icon",attrs:{src:i("3af1"),width:"16",height:"16"}}),t._v(" "),s("span",[t._v(t._s(t.text_network_settings))])],1)])]),t.verified?s("div",{staticClass:"verified-license"},[s("p",{domProps:{innerHTML:t._s(t.text_verified_license)}})]):s("div",{staticClass:"license-form",class:{"license-form-error":t.license_error}},[s("p",{domProps:{innerHTML:t._s(t.text_license_form)}}),s("div",{staticClass:"license-control"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.license,expression:"license"}],attrs:{name:"license",type:"password",placeholder:t.text_license_input_placeholder,"aria-label":t.text_aria_label_for_license_input},domProps:{value:t.license},on:{input:function(e){e.target.composing||(t.license=e.target.value)}}}),s("button",{staticClass:"wp-mail-smtp-button wp-mail-smtp-button-success wp-mail-smtp-button-small",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.handleLicenseSubmit(e)}}},[t._v(" "+t._s(t.text_license_button)+" ")])]),t.license_error?s("p",{staticClass:"error-message",domProps:{textContent:t._s(t.text_license_error)}}):t._e()])]),s("div",{staticClass:"wp-mail-smtp-separator wp-mail-smtp-separator-no-margin"}),s("div",{staticClass:"wp-mail-smtp-setup-wizard-step-footer"},[s("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.previousStep(e)}}},[s("span",{staticClass:"text-with-arrow text-with-arrow-left"},[s("inline-svg",{staticClass:"icon",attrs:{src:i("1fa5"),width:"16",height:"18"}}),t._v(t._s(t.text_previous_step)+" ")],1)]),s("div",{staticClass:"wp-mail-smtp-setup-wizard-step-footer-buttons"},[t.verified?s("button",{staticClass:"wp-mail-smtp-button wp-mail-smtp-button-main",attrs:{type:"submit",name:"next_step"},on:{click:function(e){return e.preventDefault(),t.handleSubmit(e)}}},[s("span",{staticClass:"text-with-arrow text-with-arrow-right"},[t._v(" "+t._s(t.text_save)+" "),s("inline-svg",{staticClass:"icon",attrs:{src:i("107e"),width:"16",height:"19"}})],1)]):s("button",{staticClass:"wp-mail-smtp-button",attrs:{type:"button",name:"skip_step"},domProps:{textContent:t._s(t.text_skip)},on:{click:function(e){return e.preventDefault(),t.nextStep(e)}}})])])])},te=[],ee=(i("841c"),i("2b3d"),i("6341")),ie=i.n(ee),se={name:"WizardStepLicense",components:{ContentHeader:h,TheWizardStepCounter:X},data:function(){return{text_header_title:Object(c["a"])("Enter your WP Mail SMTP License Key","wp-mail-smtp"),text_header_subtitle:this.$wpms.is_pro?"":Object(c["c"])(Object(c["a"])("You're currently using %1$sWP Mail SMTP Lite%2$s - no license needed. Enjoy!","wp-mail-smtp"),'<span class="medium-bold">',"</span>")+" 🙂",text_save:Object(c["a"])("Continue","wp-mail-smtp"),text_skip:Object(c["a"])("Skip this Step","wp-mail-smtp"),text_previous_step:Object(c["a"])("Previous Step","wp-mail-smtp"),text_upgrade_paragraph:Object(c["c"])(Object(c["a"])("To unlock selected features, %1$sUpgrade to Pro%2$s and enter your license key below.","wp-mail-smtp"),'<a href="'+this.$wpms.upgrade_link+'" target="_blank" rel="noopener noreferrer">',"</a>"),text_network_settings:Object(c["a"])("Multisite Network Settings","wp-mail-smtp"),text_manage_notifications:Object(c["a"])("Manage Default Notifications","wp-mail-smtp"),text_email_log:Object(c["a"])("Detailed Email Logs","wp-mail-smtp"),text_license_form_lite:Object(c["c"])(Object(c["a"])("Already purchased? Enter your license key below to connect with %1$sWP Mail SMTP Pro%2$s!","wp-mail-smtp"),"<b>","</b>"),text_license_form_pro:Object(c["a"])("Enter your license key below to unlock plugin updates!","wp-mail-smtp"),text_license_button:this.$wpms.is_pro?Object(c["a"])("Verify License Key","wp-mail-smtp"):Object(c["a"])("Connect","wp-mail-smtp"),text_license_error:Object(c["a"])("The License Key format is incorrect. Please enter a valid key and try again.","wp-mail-smtp"),text_verified_license:Object(c["a"])("Your license was successfully verified! You are ready for the next step.","wp-mail-smtp"),text_email_log_desc:Object(c["a"])("Keep records of every email that's sent out from your website.","wp-mail-smtp"),text_manage_notifications_desc:Object(c["a"])("Control which email notifications your WordPress site sends.","wp-mail-smtp"),text_network_settings_desc:Object(c["a"])("Save time with powerful WordPress Multisite controls.","wp-mail-smtp"),text_pro_badge:Object(c["a"])("Pro badge","wp-mail-smtp"),text_aria_label_for_license_input:Object(c["a"])("License key input","wp-mail-smtp"),text_license_input_placeholder:Object(c["a"])("Paste your license key here","wp-mail-smtp"),pro_badge:i("87eb"),is_pro:this.$wpms.is_pro,verified:!1,license:"",license_error:!1}},computed:Object(n["a"])({text_license_form:function(){return this.is_pro?this.text_license_form_pro:this.text_license_form_lite}},Object(nt["b"])({selectedProFeatures:"$_settings/plugin_features"})),methods:{handleLicenseSubmit:function(){var t=this;return this.license_error=!1,!(!this.is_pro&&0===this.license.length)&&(this.is_pro&&this.license.length<16?(this.license_error=!0,!1):(this.$store.dispatch("$_app/start_loading"),void(this.is_pro?this.$store.dispatch("$_settings/verifyLicense",this.license).then((function(e){e.success?(t.verified=!0,t.$swal({title:Object(c["a"])("Successful Verification!","wp-mail-smtp"),html:e.data.message,width:450,showCloseButton:!0,customClass:{container:"wp-mail-smtp-swal wp-mail-smtp-swal-alert"}})):t.$swal({title:Object(c["a"])("Verification Error!","wp-mail-smtp"),html:e.data,width:450,showCloseButton:!0,customClass:{container:"wp-mail-smtp-swal wp-mail-smtp-swal-alert"}})})).finally((function(){t.$store.dispatch("$_app/stop_loading")})):this.$store.dispatch("$_settings/upgradePlugin",this.license).then((function(e){if(e.success&&ie()(e,"data.redirect_url"))return window.location=e.data.redirect_url;t.$store.dispatch("$_app/stop_loading"),t.$swal({title:e.success?Object(c["a"])("Successful Upgrade!","wp-mail-smtp"):Object(c["a"])("Upgrade Failed!","wp-mail-smtp"),html:e.data,width:450,showCloseButton:!0,customClass:{container:"wp-mail-smtp-swal wp-mail-smtp-swal-alert"}})})))))},handleSubmit:function(){this.nextStep()},nextStep:function(){this.$next_step()},previousStep:function(){this.$previous_step()},prepareLongCheckbox:function(t,e){return'<label for="email_log" class="settings-input-long-checkbox settings-input-long-checkbox-checked settings-input-long-checkbox-disabled">\n\t\t\t\t\t\t<div class="settings-input-long-checkbox-header">\n\t\t\t\t\t\t\t<span class="title-container">\n\t\t\t\t\t\t\t\t<span class="label">\n\t\t\t\t\t\t\t\t\t'.concat(t,'\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t<img src="').concat(this.pro_badge,'" alt="').concat(this.text_pro_badge,'" class="wp-mail-smtp-pro-badge">\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t<p class="description">\n\t\t\t\t\t\t\t\t').concat(e,'\n\t\t\t\t\t\t\t</p>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<span class="settings-input-long-checkbox-container">\n\t\t\t\t\t\t\t<span class="checkbox checkbox-checked checkbox-disabled">\n\t\t\t\t\t\t\t\t<svg viewBox="0 0 512 512" role="img" class="icon" data-icon="check" data-prefix="fas" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="16"><path xmlns="http://www.w3.org/2000/svg" fill="currentColor" d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"></path></svg>\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t<input id="email_log" type="checkbox" name="email_log" disabled="disabled">\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</label>')},prepareProFeaturesHtml:function(){var t="<div>";return this.selectedProFeatures.includes("email_log")&&(t+=this.prepareLongCheckbox(this.text_email_log,this.text_email_log_desc)),this.selectedProFeatures.includes("manage_notifications")&&(t+=this.prepareLongCheckbox(this.text_manage_notifications,this.text_manage_notifications_desc)),this.selectedProFeatures.includes("network_settings")&&(t+=this.prepareLongCheckbox(this.text_network_settings,this.text_network_settings_desc)),t+"</div>"}},mounted:function(){var t=this;if(!this.is_pro&&this.selectedProFeatures.length>0){var e=this.prepareProFeaturesHtml();this.$swal({title:Object(c["a"])("Would you like to purchase the following features now?","wp-mail-smtp"),html:'<p class="subtitle">'.concat(Object(c["a"])("These features are available as part of WP Mail SMTP Pro plan.","wp-mail-smtp"),"</p>\n\t\t\t\t\t\t").concat(e,'\n\t\t\t\t\t\t<p class="bonus">').concat(Object(c["c"])(Object(c["a"])("%1$sBonus:%2$s You can upgrade to the Pro plan and %3$ssave %5$s today%4$s, automatically applied at checkout.","wp-mail-smtp"),"<b>","</b>",'<span class="medium-bold">',"</span>","$50"),"</p>\n\t\t\t\t\t"),width:850,showCloseButton:!0,allowOutsideClick:!1,allowEscapeKey:!1,allowEnterKey:!1,customClass:{container:"wp-mail-smtp-swal wp-mail-smtp-swal-plugin-upgrade"},confirmButtonText:Object(c["a"])("Purchase Now","wp-mail-smtp"),cancelButtonText:Object(c["a"])("I'll do it later","wp-mail-smtp"),showCancelButton:!0,reverseButtons:!0}).then((function(e){if(e.value){var i=window.open(t.$wpms.upgrade_link,"_blank");i.focus()}}))}this.verified=this.$wpms.license_exists},created:function(){var t=new URLSearchParams(window.location.search);this.$wpms.license_exists&&!t.has("upgrade-redirect")&&this.nextStep()}},ae=se,ne=Object(_["a"])(ae,$t,te,!1,null,null,null),oe=ne.exports,re=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"wp-mail-smtp-setup-wizard-step wp-mail-smtp-setup-wizard-check-configuration"},[s("div",{staticClass:"wp-mail-smtp-setup-wizard-content-container"},[s("div",{staticClass:"wp-mail-smtp-check-configuration-header"},[s("content-header",{attrs:{title:t.text_header_title,subtitle:t.text_header_subtitle}})],1),s("div",{staticClass:"check-configuration-loading-image-container"},[s("img",{attrs:{src:i("8398"),alt:t.text_image_alt}})])])])},le=[],ce={name:"WizardStepCheckConfiguration",components:{ContentHeader:h},data:function(){return{text_header_title:Object(c["a"])("Checking Mailer Configuration","wp-mail-smtp"),text_header_subtitle:Object(c["a"])("We're running some tests in the background to make sure everything is set up properly.","wp-mail-smtp"),text_image_alt:Object(c["a"])("Checking mailer configuration image","wp-mail-smtp")}},mounted:function(){var t=this;this.$store.dispatch("$_wizard/checkMailerConfiguration").then((function(e){e.success?t.$router.push({name:"check_configuration_step_success"}):t.$router.push({name:"check_configuration_step_failure"})}))}},pe=ce,me=Object(_["a"])(pe,re,le,!1,null,null,null),ue=me.exports,de=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"wp-mail-smtp-setup-wizard-step wp-mail-smtp-setup-wizard-configuration-success"},[s("div",{staticClass:"wp-mail-smtp-setup-wizard-content-container"},[s("div",{staticClass:"wp-mail-smtp-configuration-success-header"},[s("the-wizard-step-counter"),s("content-header",{attrs:{title:t.text_header_title,subtitle:t.text_header_subtitle}})],1),s("div",{staticClass:"plugin-item-container"},[s("p",{staticClass:"medium-bold",domProps:{textContent:t._s(t.text_free_plugins_header)}}),s("div",t._l(t.plugins,(function(t,e){return s("plugin-item",{key:e,attrs:{name:t.name,slug:t.slug,is_installed:t.is_installed,is_activated:t.is_activated}})})),1)]),t.is_pro?t._e():s("div",{staticClass:"upgrade-banner-container"},[s("div",{staticClass:"upgrade-banner"},[s("h2",{domProps:{textContent:t._s(t.text_upgrade_title)}}),s("p",{staticClass:"subtitle",domProps:{textContent:t._s(t.text_upgrade_subtitle)}}),s("div",{staticClass:"checked-item-list"},[s("span",{staticClass:"checked-item"},[s("inline-svg",{staticClass:"icon",attrs:{src:i("3af1"),width:"16",height:"16"}}),t._v(" "),s("span",[t._v(t._s(t.text_email_log))])],1),s("span",{staticClass:"checked-item"},[s("inline-svg",{staticClass:"icon",attrs:{src:i("3af1"),width:"16",height:"16"}}),t._v(" "),s("span",[t._v(t._s(t.text_manage_notifications))])],1),s("span",{staticClass:"checked-item"},[s("inline-svg",{staticClass:"icon",attrs:{src:i("3af1"),width:"16",height:"16"}}),t._v(" "),s("span",[t._v(t._s(t.text_network_settings))])],1)]),s("button",{staticClass:"wp-mail-smtp-button wp-mail-smtp-button-success",attrs:{type:"button"},domProps:{textContent:t._s(t.text_upgrade_button)},on:{click:t.openUpgradePage}})]),s("p",{staticClass:"bonus",domProps:{innerHTML:t._s(t.text_bonus)}})])]),s("div",{staticClass:"wp-mail-smtp-separator wp-mail-smtp-separator-no-margin"}),s("div",{staticClass:"wp-mail-smtp-setup-wizard-step-footer"},[s("button",{staticClass:"wp-mail-smtp-button",attrs:{type:"button",name:"send_test_email"},domProps:{textContent:t._s(t.text_test_email)},on:{click:function(e){return e.preventDefault(),t.handleTestEmail(e)}}}),s("button",{staticClass:"wp-mail-smtp-button",attrs:{type:"button",name:"send_feedback"},domProps:{textContent:t._s(t.text_send_feedback)},on:{click:function(e){return e.preventDefault(),t.handleFeedback(e)}}}),s("button",{staticClass:"wp-mail-smtp-button wp-mail-smtp-button-main",attrs:{type:"button",name:"finish_setup"},domProps:{textContent:t._s(t.text_finish)},on:{click:function(e){return e.preventDefault(),t.handleFinish(e)}}})])])},_e=[],fe=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{class:"wp-mail-smtp-plugin-item wp-mail-smtp-plugin-"+t.slug},[i("span",{staticClass:"wp-mail-smtp-plugin-item-title-container"},[t.logo.length?i("img",{staticClass:"wp-mail-smtp-logo-icon",attrs:{src:t.logo2x,srcset:t.logo_srcset,alt:t.name}}):t._e(),i("span",{domProps:{textContent:t._s(t.name)}})]),i("button",{staticClass:"wp-mail-smtp-button",attrs:{type:"button",disabled:t.is_activated||t.is_installed},on:{click:function(e){return e.preventDefault(),t.handleClick(e)}}},[t.loading?i("loader",{attrs:{color:"white"}}):i("span",[t._v(" "+t._s(t.text_button_label)+" ")])],1)])},he=[],ge=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("img",{class:"wp-mail-smtp-loader wp-mail-smtp-loader-"+t.size,attrs:{src:t.image,alt:t.text_loading}})},we=[],be={name:"Loader",props:{color:{type:String,default:""},size:{type:String,default:"sm"}},data:function(){return{image:i("5711")("./loading".concat(this.color.length?"-"+this.color:"",".svg")),text_loading:Object(c["a"])("Loading","wp-mail-smtp")}}},Ae=be,ve=Object(_["a"])(Ae,ge,we,!1,null,null,null),xe=ve.exports,ye={name:"PluginItem",components:{Loader:xe},props:{slug:String,name:String,is_installed:Boolean,is_activated:Boolean},data:function(){return{loading:!1,logo:i("bbc2")("./".concat(this.slug,".png")),logo2x:i("7c9b")("./".concat(this.slug,"@2x.png"))}},computed:{text_button_label:function(){var t=Object(c["a"])("Install","wp-mail-smtp");return this.is_installed&&!this.is_activated&&(t=Object(c["a"])("Installed","wp-mail-smtp")),this.is_activated&&(t=Object(c["a"])("Activated","wp-mail-smtp")),t},logo_srcset:function(){return"".concat(this.logo,", ").concat(this.logo2x," 2x")}},methods:{handleClick:function(){var t=this;this.loading||(this.loading=!0,this.$store.dispatch("$_plugins/installPlugin",this.slug).then((function(e){e.success&&t.$wpms_success_toast({title:"Plugin: ".concat(t.name," installed!")}),t.loading=!1})))}}},Ce=ye,ke=(i("f8b1"),Object(_["a"])(Ce,fe,he,!1,null,"6b0d8118",null)),Oe=ke.exports,je={name:"WizardStepConfigurationSuccess",components:{ContentHeader:h,TheWizardStepCounter:X,PluginItem:Oe},data:function(){return{text_header_title:Object(c["a"])("Congrats, you’ve successfully set up WP Mail SMTP!","wp-mail-smtp"),text_header_subtitle:Object(c["a"])("Here’s what to do next:","wp-mail-smtp"),text_free_plugins_header:Object(c["a"])("Check out our other free WordPress plugins:","wp-mail-smtp"),text_upgrade_title:Object(c["a"])("Upgrade to Unlock Powerful SMTP Features","wp-mail-smtp"),text_upgrade_subtitle:Object(c["a"])("Upgrade to WP Mail SMTP Pro to unlock more awesome features and experience why WP Mail SMTP is used by over 2,000,000 websites.","wp-mail-smtp"),text_network_settings:Object(c["a"])("Multisite Network Settings","wp-mail-smtp"),text_manage_notifications:Object(c["a"])("Manage Default Notifications","wp-mail-smtp"),text_email_log:Object(c["a"])("Detailed Email Logs","wp-mail-smtp"),text_upgrade_button:Object(c["a"])("Upgrade to Pro Today","wp-mail-smtp"),text_test_email:Object(c["a"])("Send a Test Email","wp-mail-smtp"),text_send_feedback:Object(c["a"])("Send us Feedback","wp-mail-smtp"),text_finish:Object(c["a"])("Finish Setup","wp-mail-smtp"),text_bonus:Object(c["c"])(Object(c["a"])("%1$sBonus:%2$s You can upgrade to the Pro plan and %3$ssave %5$s today%4$s, automatically applied at checkout.","wp-mail-smtp"),"<b>","</b>",'<span class="medium-bold">',"</span>","$50"),star_image_html:'<img src="'.concat(i("6f43"),'" alt="').concat(Object(c["a"])("Star icon","wp-mail-smtp"),'" class="icon" / >'),is_pro:this.$wpms.is_pro}},computed:Object(n["a"])({},Object(nt["b"])({plugins:"$_plugins/partner_plugins"})),methods:{handleTestEmail:function(){return window.location=this.$wpms.email_test_tab_url},goodFeedback:function(){this.$swal({title:Object(c["a"])("Thanks for the feedback!","wp-mail-smtp"),html:"".concat(Object(c["c"])(Object(c["a"])("Help us spread the word %1$sby giving WP Mail SMTP a 5-star rating %3$s(%4$s) on WordPress.org%2$s. Thanks for your support and we look forward to bringing you more awesome features.","wp-mail-smtp"),'<span class="medium-bold">',"</span>","<br>",this.star_image_html+""+this.star_image_html+this.star_image_html+this.star_image_html+this.star_image_html)),width:650,showCloseButton:!0,allowEnterKey:!1,confirmButtonText:Object(c["a"])("Rate on WordPress.org","wp-mail-smtp"),customClass:{container:"wp-mail-smtp-swal wp-mail-smtp-swal-feedback-good"}}).then((function(t){if(t.value){var e=window.open("https://wordpress.org/support/plugin/wp-mail-smtp/reviews/#new-post","_blank");e.focus()}}))},badFeedback:function(){var t=this;this.$swal({title:Object(c["a"])("What could we do to improve?","wp-mail-smtp"),html:"".concat(Object(c["a"])("We're sorry things didn't go smoothly for you, and want to keep improving. Please let us know any specific parts of this process that you think could be better. We really appreciate any details you're willing to share!","wp-mail-smtp"),'\n\t\t\t\t\t\t\t\t<textarea id="feedback" name="feedback" rows="9"></textarea>\n\t\t\t\t\t\t\t\t<span class="permission-container">\n\t\t\t\t\t\t\t\t\t<input type="checkbox" id="permission" name="permission">\n\t\t\t\t\t\t\t\t\t<label for="permission">').concat(Object(c["a"])("Yes, I give WP Mail SMTP permission to contact me for any follow up questions.","wp-mail-smtp"),"</label>\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t"),width:650,showCloseButton:!0,allowEnterKey:!1,allowOutsideClick:!1,allowEscapeKey:!1,confirmButtonText:Object(c["a"])("Submit Feedback","wp-mail-smtp"),customClass:{container:"wp-mail-smtp-swal wp-mail-smtp-swal-feedback-bad"},preConfirm:function(){return[document.getElementById("feedback").value,document.getElementById("permission").checked]}}).then((function(e){if(e.value){var i=e.value[0],s=e.value[1];t.$store.dispatch("$_wizard/sendFeedback",{feedback:i,permission:s})}}))},handleFeedback:function(){var t=this;this.$swal({title:Object(c["a"])("How was your WP Mail SMTP setup experience?","wp-mail-smtp"),text:Object(c["a"])("Our goal is to make your SMTP setup as simple and straightforward as possible. We'd love to know how this process went for you!","wp-mail-smtp"),width:650,showCloseButton:!0,allowEnterKey:!1,customClass:{container:"wp-mail-smtp-swal wp-mail-smtp-swal-feedback"},showCancelButton:!0}).then((function(e){e.value?t.goodFeedback():void 0!==e.dismiss&&"cancel"===e.dismiss&&t.badFeedback()}))},handleFinish:function(){return window.location=this.$wpms.exit_url},openUpgradePage:function(){var t=window.open(this.$wpms.upgrade_link,"_blank");t.focus()}}},Se=je,Pe=Object(_["a"])(Se,de,_e,!1,null,null,null),Ee=Pe.exports,Te=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"wp-mail-smtp-setup-wizard-step wp-mail-smtp-setup-wizard-configuration-failure"},[s("div",{staticClass:"wp-mail-smtp-setup-wizard-content-container"},[s("div",{staticClass:"wp-mail-smtp-configuration-failure-header"},[s("the-wizard-step-counter"),s("content-header",{attrs:{title:t.text_header_title,subtitle:t.text_header_subtitle}})],1),s("div",{staticClass:"start-troubleshooting-arrow-container"},[s("inline-svg",{staticClass:"icon",attrs:{src:i("50bf"),width:"112",height:"112"}})],1)]),s("div",{staticClass:"wp-mail-smtp-separator wp-mail-smtp-separator-no-margin"}),s("div",{staticClass:"wp-mail-smtp-setup-wizard-step-footer"},[s("button",{staticClass:"wp-mail-smtp-button wp-mail-smtp-button-main",attrs:{type:"button",name:"start_troubleshooting"},domProps:{textContent:t._s(t.text_start_troubleshooting)},on:{click:function(e){return e.preventDefault(),t.handleTroubleshooting(e)}}}),s("button",{staticClass:"wp-mail-smtp-button",attrs:{type:"button",name:"finish_setup"},domProps:{textContent:t._s(t.text_finish)},on:{click:function(e){return e.preventDefault(),t.handleFinish(e)}}})])])},ze=[],Be={name:"WizardStepConfigurationFailure",components:{ContentHeader:h,TheWizardStepCounter:X},data:function(){return{text_header_title:Object(c["a"])("Whoops, looks like things aren’t configured properly.","wp-mail-smtp"),text_header_subtitle:Object(c["a"])("We just tried to send a test email, but something prevented that from working. To see more details about the issue we detected, as well as our suggestions to fix it, please start troubleshooting.","wp-mail-smtp"),text_start_troubleshooting:Object(c["a"])("Start Troubleshooting","wp-mail-smtp"),text_send_feedback:Object(c["a"])("Send us Feedback","wp-mail-smtp"),text_finish:Object(c["a"])("Finish Setup","wp-mail-smtp")}},methods:{handleTroubleshooting:function(){return window.location="".concat(this.$wpms.email_test_tab_url,"&auto-start=1")},handleFinish:function(){return window.location=this.$wpms.exit_url}}},Ie=Be,Me=Object(_["a"])(Ie,Te,ze,!1,null,null,null),De=Me.exports,Fe=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wp-mail-smtp-setup-wizard-step-configure-mailer-settings wp-mail-smtp-setup-wizard-step-configure-mailer-settings-smtp"},[i("p",{staticClass:"mailer-description",domProps:{innerHTML:t._s(t.description)}}),i("div",{staticClass:"wp-mail-smtp-setup-wizard-form"},[i("settings-input-text",{attrs:{name:"host",label:t.text_host_label,is_error:t.field_errors.includes("host")},on:{is_error_update:function(e){return t.removeFieldError("host")}},model:{value:t.host,callback:function(e){t.host=e},expression:"host"}}),i("settings-input-radio",{attrs:{name:"encryption",label:t.text_encryption_label,options:t.encryptionOptions,description:t.text_encryption_description},on:{input:t.encryptionChanged},model:{value:t.encryption,callback:function(e){t.encryption=e},expression:"encryption"}}),i("settings-input-number",{attrs:{name:"port",label:t.text_port_label,is_error:t.field_errors.includes("port")},on:{is_error_update:function(e){return t.removeFieldError("port")}},model:{value:t.port,callback:function(e){t.port=e},expression:"port"}}),i("settings-input-switch",{directives:[{name:"show",rawName:"v-show",value:t.show_autotls,expression:"show_autotls"}],attrs:{name:"autotls",title:t.text_autotls_title,label:t.text_autotls_label,description:t.text_autotls_description},model:{value:t.autotls,callback:function(e){t.autotls=e},expression:"autotls"}}),i("div",{staticClass:"wp-mail-smtp-separator wp-mail-smtp-separator-big-margin"}),i("settings-input-switch",{attrs:{name:"auth",title:t.text_auth_title,label:t.text_auth_label},model:{value:t.auth,callback:function(e){t.auth=e},expression:"auth"}}),i("settings-input-text",{directives:[{name:"show",rawName:"v-show",value:t.auth,expression:"auth"}],attrs:{name:"user",label:t.text_user_label,is_error:t.field_errors.includes("user")},on:{is_error_update:function(e){return t.removeFieldError("user")}},model:{value:t.user,callback:function(e){t.user=e},expression:"user"}}),i("settings-input-text",{directives:[{name:"show",rawName:"v-show",value:t.auth,expression:"auth"}],attrs:{name:"pass",type:"password",label:t.text_pass_label,is_error:t.field_errors.includes("pass")},on:{is_error_update:function(e){return t.removeFieldError("pass")}},model:{value:t.pass,callback:function(e){t.pass=e},expression:"pass"}}),i("div",{staticClass:"wp-mail-smtp-separator wp-mail-smtp-separator-big-margin"}),i("settings-input-text",{attrs:{name:"from_name",label:t.text_from_name_label,description:t.text_from_name_description},model:{value:t.from_name,callback:function(e){t.from_name=e},expression:"from_name"}}),i("settings-input-switch",{attrs:{classname:"sub_setting",name:"from_name_force",title:t.text_force_from_name_title,label:t.text_force_from_name_label},model:{value:t.from_name_force,callback:function(e){t.from_name_force=e},expression:"from_name_force"}}),i("settings-input-text",{attrs:{name:"from_email",type:"email",label:t.text_from_email_label,description:t.text_from_email_description,is_error:t.field_errors.includes("from_email")},on:{is_error_update:function(e){return t.removeFieldError("from_email")}},model:{value:t.from_email,callback:function(e){t.from_email=e},expression:"from_email"}}),i("settings-input-switch",{attrs:{classname:"sub_setting",name:"from_email_force",title:t.text_force_from_email_title,label:t.text_force_from_email_label},model:{value:t.from_email_force,callback:function(e){t.from_email_force=e},expression:"from_email_force"}})],1)])},Ne=[],Qe=(i("a4d3"),i("e01a"),function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"settings-input-radio"},[t.label?i("span",{staticClass:"settings-input-label-container"},[i("span",{staticClass:"label",domProps:{innerHTML:t._s(t.label)}})]):t._e(),i("div",{staticClass:"settings-input-radio-container"},t._l(t.options,(function(e){return i("label",{key:e.value,class:t.labelClass(e.value),attrs:{for:"wp-mail-smtp-settings-radio-"+t.name+"["+e.value+"]"}},[i("span",{class:t.titleClass(e.value)}),i("input",{directives:[{name:"model",rawName:"v-model",value:t.selected,expression:"selected"}],attrs:{id:"wp-mail-smtp-settings-radio-"+t.name+"["+e.value+"]",type:"radio",name:t.name,autocomplete:"off",readonly:t.disabled},domProps:{value:e.value,checked:t.isChecked(e.value),checked:t._q(t.selected,e.value)},on:{change:[function(i){t.selected=e.value},t.updateSetting]}}),i("span",{staticClass:"input-label",domProps:{innerHTML:t._s(e.label)}})])})),0),t.description?i("p",{staticClass:"description",domProps:{innerHTML:t._s(t.description)}}):t._e()])}),Le=[],We={name:"SettingsInputRadio",props:{options:Array,label:String,name:String,value:String,description:String,disabled:Boolean},data:function(){return{has_error:!1}},computed:{selected:{get:function(){return this.value},set:function(t){this.$emit("input",t)}}},methods:{updateSetting:function(){if(this.disabled)return!1},titleClass:function(t){var e="wp-mail-smtp-styled-radio";return this.isChecked(t)&&(e+=" wp-mail-smtp-styled-radio-checked"),e},labelClass:function(t){var e="";return this.isChecked(t)&&(e+=" wp-mail-smtp-styled-radio-label-checked"),e},isChecked:function(t){return t===this.selected}}},Ue=We,He=Object(_["a"])(Ue,Qe,Le,!1,null,null,null),Re=He.exports,Ge=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"settings-input-number",class:{"settings-input-number-error":t.field_error}},[s("label",{staticClass:"settings-input-label-container",attrs:{for:t.id}},[t.label?s("span",{staticClass:"label",domProps:{innerHTML:t._s(t.label)}}):t._e(),t.tooltip?s("settings-info-tooltip",{attrs:{content:t.tooltip}}):t._e()],1),s("input",{directives:[{name:"model",rawName:"v-model",value:t.currentValue,expression:"currentValue"}],attrs:{id:t.id,type:"number",name:t.name,placeholder:t.placeholder,min:t.min,max:t.max,step:t.step,readonly:t.disabled},domProps:{value:t.currentValue},on:{change:t.inputUpdate,input:function(e){e.target.composing||(t.currentValue=e.target.value)}}}),t.has_error?s("p",{staticClass:"error"},[s("inline-svg",{staticClass:"icon",attrs:{src:i("827a"),width:"16"}}),s("span",{domProps:{innerHTML:t._s(t.has_error)}})],1):t._e(),t.description?s("p",{staticClass:"description",domProps:{innerHTML:t._s(t.description)}}):t._e()])},Ve=[],Ye=(i("a9e3"),{name:"SettingsInputNumber",components:{SettingsInfoTooltip:Nt},props:{name:String,value:[Number,String],label:String,description:String,placeholder:String,type:{type:String,default:"text"},tooltip:String,default_value:String,min:Number,max:Number,disabled:Boolean,step:{type:Number,default:1},round:{type:Boolean,default:!1},is_error:Boolean},data:function(){return{has_error:!1,id:"input-"+this.name,text_error_value:Object(c["c"])(Object(c["a"])("Please enter a value between %1$s and %2$s","wp-mail-smtp"),"<strong>"+this.min+"</strong>","<strong>"+this.max+"</strong>"),text_error_round:Object(c["a"])("Value has to be a round number","wp-mail-smtp")}},computed:{currentValue:{get:function(){return this.value},set:function(t){this.$emit("is_error_update",!1),this.$emit("input",parseInt(t,10))}},field_error:{get:function(){return this.is_error},set:function(t){this.$emit("is_error_update",t)}}},methods:{inputUpdate:function(t){if(this.disabled)return!1;this.has_error=!1;var e=parseFloat(t.target.value);return this.round&&e%1!==0?(this.has_error=this.text_error_round,!1):e>this.max||e<this.min?(this.has_error=this.text_error_value,!1):void 0}}}),Je=Ye,Ke=Object(_["a"])(Je,Ge,Ve,!1,null,null,null),qe=Ke.exports,Ze=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"settings-input-switch",class:t.classname},[i("label",{attrs:{for:t.id}},[i("span",{staticClass:"title settings-input-label-container"},[i("span",{staticClass:"label",domProps:{innerHTML:t._s(t.title)}}),t.tooltip?i("settings-info-tooltip",{attrs:{content:t.tooltip}}):t._e()],1),t.description?i("p",{staticClass:"description",domProps:{innerHTML:t._s(t.description)}}):t._e(),i("span",{staticClass:"control"},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.currentValue,expression:"currentValue"}],attrs:{id:t.id,type:"checkbox",name:t.name,disabled:t.disabled},domProps:{checked:Array.isArray(t.currentValue)?t._i(t.currentValue,null)>-1:t.currentValue},on:{change:[function(e){var i=t.currentValue,s=e.target,a=!!s.checked;if(Array.isArray(i)){var n=null,o=t._i(i,n);s.checked?o<0&&(t.currentValue=i.concat([n])):o>-1&&(t.currentValue=i.slice(0,o).concat(i.slice(o+1)))}else t.currentValue=a},t.inputUpdate]}}),i("span",{class:{"toggle-switch":!0,"toggle-switch-with-label":t.label}}),t.label?i("span",{staticClass:"label-description",domProps:{innerHTML:t._s(t.label)}}):t._e()])])])},Xe=[],$e={name:"SettingsInputSwitch",components:{SettingsInfoTooltip:Nt},props:{name:String,value:Boolean,title:String,label:String,description:String,tooltip:String,classname:String,disabled:Boolean},data:function(){return{has_error:!1,id:"input-"+this.name}},computed:{currentValue:{get:function(){return this.value},set:function(t){this.$emit("input",!!t)}}},methods:{inputUpdate:function(){if(this.disabled)return!1}}},ti=$e,ei=Object(_["a"])(ti,Ze,Xe,!1,null,null,null),ii=ei.exports,si={name:"WizardStepConfigureMailerSmtp",components:{SettingsInputText:Ut,SettingsInputRadio:Re,SettingsInputNumber:qe,SettingsInputSwitch:ii},data:function(){return{mailer:"smtp",text_host_label:Object(c["a"])("SMTP Host","wp-mail-smtp"),text_encryption_label:Object(c["a"])("Encryption","wp-mail-smtp"),text_port_label:Object(c["a"])("SMTP Port","wp-mail-smtp"),text_autotls_title:Object(c["a"])("Auto TLS","wp-mail-smtp"),text_autotls_label:Object(c["a"])("Enable Auto TLS","wp-mail-smtp"),text_autotls_description:Object(c["a"])("By default, TLS encryption is automatically used if the server supports it (recommended). In some cases, due to server misconfigurations, this can cause issues and may need to be disabled.","wp-mail-smtp"),text_auth_title:Object(c["a"])("Authentication","wp-mail-smtp"),text_auth_label:Object(c["a"])("Enable Authentication","wp-mail-smtp"),text_user_label:Object(c["a"])("SMTP Username","wp-mail-smtp"),text_pass_label:Object(c["a"])("SMTP Password","wp-mail-smtp"),text_from_name_label:Object(c["a"])("From Name","wp-mail-smtp"),text_force_from_name_title:Object(c["a"])("Force From Name","wp-mail-smtp"),text_from_email_label:Object(c["a"])("From Email","wp-mail-smtp"),text_force_from_email_title:Object(c["a"])("Force From Email","wp-mail-smtp"),text_from_name_description:Object(c["a"])("The name that emails are sent from.","wp-mail-smtp"),text_from_email_description:Object(c["a"])("The email address that emails are sent from.","wp-mail-smtp"),text_encryption_description:Object(c["a"])("For most servers TLS is the recommended option. If your SMTP provider offers both SSL and TLS options, we recommend using TLS.","wp-mail-smtp"),text_force_from_name_label:Object(c["a"])("If enabled, the From Name setting above will be used for all emails, ignoring values set by other plugins.","wp-mail-smtp"),text_force_from_email_label:Object(c["a"])("If enabled, the From Email setting above will be used for all emails, ignoring values set by other plugins.","wp-mail-smtp"),description:this.$wpms.mailer_options.smtp.description,encryptionOptions:[{label:Object(c["a"])("None","wp-mail-smtp"),value:"none",default_port:25},{label:Object(c["a"])("SSL","wp-mail-smtp"),value:"ssl",default_port:465},{label:Object(c["a"])("TLS","wp-mail-smtp"),value:"tls",default_port:587}],show_autotls:!0,show_user_and_pass:!0,field_errors:[]}},computed:Object(n["a"])({},Object(ut["b"])("$_settings",["settings.smtp.host","settings.smtp.auth","settings.smtp.port","settings.smtp.encryption","settings.smtp.user","settings.smtp.pass","settings.smtp.autotls","settings.mail.from_email","settings.mail.from_name","settings.mail.from_email_force","settings.mail.from_name_force"])),watch:{encryption:function(t){this.show_autotls="tls"!==t}},methods:{getEncryptionDefaultPort:function(t){return this.encryptionOptions.find((function(e){return e.value===t})).default_port},encryptionChanged:function(t){this.port=this.getEncryptionDefaultPort(t)},areRequiredFieldsValid:function(){var t=!0;return""===this.host&&(t=!1,this.field_errors.push("host")),(""===this.port||isNaN(this.port))&&(t=!1,this.field_errors.push("port")),this.auth&&(""===this.user&&(t=!1,this.field_errors.push("user")),""===this.pass&&(t=!1,this.field_errors.push("pass"))),""===this.from_email&&(t=!1,this.field_errors.push("from_email")),t},removeFieldError:function(t){this.field_errors=this.field_errors.filter((function(e){return e!==t}))}},mounted:function(){"tls"===this.encryption&&(this.show_autotls=!1)}},ai=si,ni=Object(_["a"])(ai,Fe,Ne,!1,null,null,null),oi=ni.exports,ri=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"wp-mail-smtp-setup-wizard-step-configure-mailer-settings wp-mail-smtp-setup-wizard-step-configure-mailer-settings-smtpcom"},[s("p",{staticClass:"mailer-description",domProps:{innerHTML:t._s(t.description)}}),s("p",{staticClass:"mailer-description mailer-description-links"},[s("a",{staticClass:"wp-mail-smtp-button wp-mail-smtp-button-small wp-mail-smtp-button-secondary",attrs:{href:"https://wpmailsmtp.com/go/smtp/",target:"_blank",rel:"noopener noreferrer"}},[s("span",{staticClass:"text-with-arrow text-with-arrow-right"},[t._v(" "+t._s(t.text_get_started_button)),s("inline-svg",{staticClass:"icon",attrs:{src:i("107e"),width:"16",height:"23"}})],1)]),s("a",{staticClass:"wp-mail-smtp-link",attrs:{href:"https://wpmailsmtp.com/docs/how-to-set-up-the-smtp-com-mailer-in-wp-mail-smtp",target:"_blank",rel:"noopener noreferrer"}},[t._v(t._s(t.text_documentation_link))])]),s("div",{staticClass:"wp-mail-smtp-setup-wizard-form"},[s("settings-input-text",{attrs:{name:"api_key",type:"password",label:t.text_api_key_label,description:t.text_api_key_description,is_error:t.field_errors.includes("api_key")},on:{is_error_update:function(e){return t.removeFieldError("api_key")}},model:{value:t.api_key,callback:function(e){t.api_key=e},expression:"api_key"}}),s("settings-input-text",{attrs:{name:"channel",label:t.text_channel_label,description:t.text_channel_description,is_error:t.field_errors.includes("channel")},on:{is_error_update:function(e){return t.removeFieldError("channel")}},model:{value:t.channel,callback:function(e){t.channel=e},expression:"channel"}}),s("settings-input-text",{attrs:{name:"from_name",label:t.text_from_name_label,description:t.text_from_name_description},model:{value:t.from_name,callback:function(e){t.from_name=e},expression:"from_name"}}),s("settings-input-switch",{attrs:{classname:"sub_setting",name:"from_name_force",title:t.text_force_from_name_title,label:t.text_force_from_name_label},model:{value:t.from_name_force,callback:function(e){t.from_name_force=e},expression:"from_name_force"}}),s("settings-input-text",{attrs:{name:"from_email",type:"email",label:t.text_from_email_label,description:t.text_from_email_description,is_error:t.field_errors.includes("from_email")},on:{is_error_update:function(e){return t.removeFieldError("from_email")}},model:{value:t.from_email,callback:function(e){t.from_email=e},expression:"from_email"}}),s("settings-input-switch",{attrs:{classname:"sub_setting",name:"from_email_force",title:t.text_force_from_email_title,label:t.text_force_from_email_label},model:{value:t.from_email_force,callback:function(e){t.from_email_force=e},expression:"from_email_force"}})],1)])},li=[],ci=(i("baa5"),{name:"WizardStepConfigureMailerSmtpCom",components:{SettingsInputText:Ut,SettingsInputSwitch:ii},data:function(){return{mailer:"smtpcom",text_api_key_label:Object(c["a"])("API Key","wp-mail-smtp"),text_channel_label:Object(c["a"])("Sender Name","wp-mail-smtp"),text_api_key_description:Object(c["c"])(Object(c["a"])("%1$sFollow this link%2$s to get an API Key for SMTP.com.","wp-mail-smtp"),'<a href="https://my.smtp.com/settings/api" target="_blank" rel="noopener noreferrer">',"</a>"),text_channel_description:Object(c["c"])(Object(c["a"])("%1$sFollow this link%2$s to get a Sender Name for SMTP.com.","wp-mail-smtp"),'<a href="https://my.smtp.com/senders/" target="_blank" rel="noopener noreferrer">',"</a>"),text_from_name_label:Object(c["a"])("From Name","wp-mail-smtp"),text_force_from_name_title:Object(c["a"])("Force From Name","wp-mail-smtp"),text_from_email_label:Object(c["a"])("From Email","wp-mail-smtp"),text_force_from_email_title:Object(c["a"])("Force From Email","wp-mail-smtp"),text_force_from_name_label:Object(c["a"])("If enabled, the From Name setting above will be used for all emails, ignoring values set by other plugins.","wp-mail-smtp"),text_force_from_email_label:Object(c["a"])("If enabled, the From Email setting above will be used for all emails, ignoring values set by other plugins.","wp-mail-smtp"),text_from_name_description:Object(c["a"])("The name that emails are sent from.","wp-mail-smtp"),text_from_email_description:Object(c["a"])("The email address that emails are sent from.","wp-mail-smtp"),text_get_started_button:Object(c["a"])("Get Started with SMTP.com","wp-mail-smtp"),text_documentation_link:Object(c["a"])("Read how to set up SMTP.com","wp-mail-smtp"),description:this.$wpms.mailer_options.smtpcom.description.substr(0,this.$wpms.mailer_options.smtpcom.description.lastIndexOf("<br><br>")),field_errors:[]}},computed:Object(n["a"])({},Object(ut["b"])("$_settings",["settings.smtpcom.api_key","settings.smtpcom.channel","settings.mail.from_email","settings.mail.from_name","settings.mail.from_email_force","settings.mail.from_name_force"])),methods:{areRequiredFieldsValid:function(){var t=!0;return""===this.api_key&&(t=!1,this.field_errors.push("api_key")),""===this.channel&&(t=!1,this.field_errors.push("channel")),""===this.from_email&&(t=!1,this.field_errors.push("from_email")),t},removeFieldError:function(t){this.field_errors=this.field_errors.filter((function(e){return e!==t}))}}}),pi=ci,mi=Object(_["a"])(pi,ri,li,!1,null,null,null),ui=mi.exports,di=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"wp-mail-smtp-setup-wizard-step-configure-mailer-settings wp-mail-smtp-setup-wizard-step-configure-mailer-settings-sendinblue"},[s("p",{staticClass:"mailer-description",domProps:{innerHTML:t._s(t.description)}}),s("p",{staticClass:"mailer-description mailer-description-links"},[s("a",{staticClass:"wp-mail-smtp-button wp-mail-smtp-button-small wp-mail-smtp-button-secondary",attrs:{href:"https://wpmailsmtp.com/go/sendinblue/",target:"_blank",rel:"noopener noreferrer"}},[s("span",{staticClass:"text-with-arrow text-with-arrow-right"},[t._v(" "+t._s(t.text_get_started_button)),s("inline-svg",{staticClass:"icon",attrs:{src:i("107e"),width:"16",height:"23"}})],1)]),s("a",{staticClass:"wp-mail-smtp-link",attrs:{href:"https://wpmailsmtp.com/docs/how-to-set-up-the-sendinblue-mailer-in-wp-mail-smtp",target:"_blank",rel:"noopener noreferrer"}},[t._v(t._s(t.text_documentation_link))])]),s("div",{staticClass:"wp-mail-smtp-setup-wizard-form"},[s("settings-input-text",{attrs:{name:"api_key",type:"password",label:t.text_api_key_label,description:t.text_api_key_description,is_error:t.field_errors.includes("api_key")},on:{is_error_update:function(e){return t.removeFieldError("api_key")}},model:{value:t.api_key,callback:function(e){t.api_key=e},expression:"api_key"}}),s("settings-input-text",{attrs:{name:"domain",label:t.text_domain_label,description:t.text_domain_description},model:{value:t.domain,callback:function(e){t.domain=e},expression:"domain"}}),s("settings-input-text",{attrs:{name:"from_name",label:t.text_from_name_label,description:t.text_from_name_description},model:{value:t.from_name,callback:function(e){t.from_name=e},expression:"from_name"}}),s("settings-input-switch",{attrs:{classname:"sub_setting",name:"from_name_force",title:t.text_force_from_name_title,label:t.text_force_from_name_label},model:{value:t.from_name_force,callback:function(e){t.from_name_force=e},expression:"from_name_force"}}),s("settings-input-text",{attrs:{name:"from_email",type:"email",label:t.text_from_email_label,description:t.text_from_email_description,is_error:t.field_errors.includes("from_email")},on:{is_error_update:function(e){return t.removeFieldError("from_email")}},model:{value:t.from_email,callback:function(e){t.from_email=e},expression:"from_email"}}),s("settings-input-switch",{attrs:{classname:"sub_setting",name:"from_email_force",title:t.text_force_from_email_title,label:t.text_force_from_email_label},model:{value:t.from_email_force,callback:function(e){t.from_email_force=e},expression:"from_email_force"}})],1)])},_i=[],fi={name:"WizardStepConfigureMailerSendinblue",components:{SettingsInputText:Ut,SettingsInputSwitch:ii},data:function(){return{mailer:"sendinblue",text_api_key_label:Object(c["a"])("API Key","wp-mail-smtp"),text_domain_label:Object(c["a"])("Sending Domain","wp-mail-smtp"),text_api_key_description:Object(c["c"])(Object(c["a"])("%1$sFollow this link%2$s to get an API Key for Sendinblue.","wp-mail-smtp"),'<a href="https://account.sendinblue.com/advanced/api" target="_blank" rel="noopener noreferrer">',"</a>"),text_domain_description:Object(c["c"])(Object(c["a"])("Please input the sending domain/subdomain you configured in your Sendinblue dashboard. More information can be found in our %1$sSendinblue documentation%2$s","wp-mail-smtp"),'<a href="https://wpmailsmtp.com/docs/how-to-set-up-the-sendinblue-mailer-in-wp-mail-smtp#setup-smtp" target="_blank" rel="noopener noreferrer">',"</a>"),text_from_name_label:Object(c["a"])("From Name","wp-mail-smtp"),text_force_from_name_title:Object(c["a"])("Force From Name","wp-mail-smtp"),text_from_email_label:Object(c["a"])("From Email","wp-mail-smtp"),text_force_from_email_title:Object(c["a"])("Force From Email","wp-mail-smtp"),text_force_from_name_label:Object(c["a"])("If enabled, the From Name setting above will be used for all emails, ignoring values set by other plugins.","wp-mail-smtp"),text_force_from_email_label:Object(c["a"])("If enabled, the From Email setting above will be used for all emails, ignoring values set by other plugins.","wp-mail-smtp"),text_from_name_description:Object(c["a"])("The name that emails are sent from.","wp-mail-smtp"),text_from_email_description:Object(c["a"])("The email address that emails are sent from.","wp-mail-smtp"),text_get_started_button:Object(c["a"])("Get Started with Sendinblue","wp-mail-smtp"),text_documentation_link:Object(c["a"])("Read how to set up Sendinblue","wp-mail-smtp"),description:this.$wpms.mailer_options.sendinblue.description.substr(0,this.$wpms.mailer_options.sendinblue.description.lastIndexOf("<br><br>")),field_errors:[]}},computed:Object(n["a"])({},Object(ut["b"])("$_settings",["settings.sendinblue.api_key","settings.sendinblue.domain","settings.mail.from_email","settings.mail.from_name","settings.mail.from_email_force","settings.mail.from_name_force"])),methods:{areRequiredFieldsValid:function(){var t=!0;return""===this.api_key&&(t=!1,this.field_errors.push("api_key")),""===this.from_email&&(t=!1,this.field_errors.push("from_email")),t},removeFieldError:function(t){this.field_errors=this.field_errors.filter((function(e){return e!==t}))}}},hi=fi,gi=Object(_["a"])(hi,di,_i,!1,null,null,null),wi=gi.exports,bi=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wp-mail-smtp-setup-wizard-step-configure-mailer-settings wp-mail-smtp-setup-wizard-step-configure-mailer-settings-mailgun"},[i("p",{staticClass:"mailer-description",domProps:{innerHTML:t._s(t.description)}}),i("p",{staticClass:"mailer-description mailer-description-links"},[i("a",{staticClass:"wp-mail-smtp-link",attrs:{href:"https://wpmailsmtp.com/docs/how-to-set-up-the-mailgun-mailer-in-wp-mail-smtp/",target:"_blank",rel:"noopener noreferrer"}},[t._v(t._s(t.text_documentation_link))])]),i("div",{staticClass:"wp-mail-smtp-setup-wizard-form"},[i("settings-input-text",{attrs:{name:"api_key",type:"password",label:t.text_api_key_label,description:t.text_api_key_description,is_error:t.field_errors.includes("api_key")},on:{is_error_update:function(e){return t.removeFieldError("api_key")}},model:{value:t.api_key,callback:function(e){t.api_key=e},expression:"api_key"}}),i("settings-input-text",{attrs:{name:"domain",label:t.text_domain_label,description:t.text_domain_description,is_error:t.field_errors.includes("domain")},on:{is_error_update:function(e){return t.removeFieldError("domain")}},model:{value:t.domain,callback:function(e){t.domain=e},expression:"domain"}}),i("settings-input-radio",{attrs:{name:"region",label:t.text_region_label,options:t.regionOptions,description:t.text_region_description},model:{value:t.region,callback:function(e){t.region=e},expression:"region"}}),i("settings-input-text",{attrs:{name:"from_name",label:t.text_from_name_label,description:t.text_from_name_description},model:{value:t.from_name,callback:function(e){t.from_name=e},expression:"from_name"}}),i("settings-input-switch",{attrs:{classname:"sub_setting",name:"from_name_force",title:t.text_force_from_name_title,label:t.text_force_from_name_label},model:{value:t.from_name_force,callback:function(e){t.from_name_force=e},expression:"from_name_force"}}),i("settings-input-text",{attrs:{name:"from_email",type:"email",label:t.text_from_email_label,description:t.text_from_email_description,is_error:t.field_errors.includes("from_email")},on:{is_error_update:function(e){return t.removeFieldError("from_email")}},model:{value:t.from_email,callback:function(e){t.from_email=e},expression:"from_email"}}),i("settings-input-switch",{attrs:{classname:"sub_setting",name:"from_email_force",title:t.text_force_from_email_title,label:t.text_force_from_email_label},model:{value:t.from_email_force,callback:function(e){t.from_email_force=e},expression:"from_email_force"}})],1)])},Ai=[],vi=(i("c975"),{name:"WizardStepConfigureMailerMailgun",components:{SettingsInputText:Ut,SettingsInputRadio:Re,SettingsInputSwitch:ii},data:function(){return{mailer:"mailgun",text_api_key_label:Object(c["a"])("API Key","wp-mail-smtp"),text_domain_label:Object(c["a"])("Domain Name","wp-mail-smtp"),text_region_label:Object(c["a"])("Region","wp-mail-smtp"),text_api_key_description:Object(c["c"])(Object(c["a"])("%1$sFollow this link%2$s to get an API Key from Mailgun.","wp-mail-smtp"),'<a href="https://app.mailgun.com/app/account/security/api_keys" target="_blank" rel="noopener noreferrer">',"</a>"),text_domain_description:Object(c["c"])(Object(c["a"])("%1$sFollow this link%2$s to get a Domain Name from Mailgun.","wp-mail-smtp"),'<a href="https://app.mailgun.com/app/domains" target="_blank" rel="noopener noreferrer">',"</a>"),text_region_description:Object(c["c"])(Object(c["a"])("Define which endpoint you want to use for sending messages. If you are operating under EU laws, you may be required to use EU region. %1$sMore information%2$s on Mailgun.com.","wp-mail-smtp"),'<a href="https://www.mailgun.com/regions" target="_blank" rel="noopener noreferrer">',"</a>"),text_from_name_label:Object(c["a"])("From Name","wp-mail-smtp"),text_force_from_name_title:Object(c["a"])("Force From Name","wp-mail-smtp"),text_from_email_label:Object(c["a"])("From Email","wp-mail-smtp"),text_force_from_email_title:Object(c["a"])("Force From Email","wp-mail-smtp"),text_force_from_name_label:Object(c["a"])("If enabled, the From Name setting above will be used for all emails, ignoring values set by other plugins.","wp-mail-smtp"),text_force_from_email_label:Object(c["a"])("If enabled, the From Email setting above will be used for all emails, ignoring values set by other plugins.","wp-mail-smtp"),text_from_name_description:Object(c["a"])("The name that emails are sent from.","wp-mail-smtp"),text_from_email_description:Object(c["a"])("The email address that emails are sent from.","wp-mail-smtp"),text_documentation_link:Object(c["a"])("Read how to set up Mailgun","wp-mail-smtp"),description:this.$wpms.mailer_options.mailgun.description.substr(0,this.$wpms.mailer_options.mailgun.description.indexOf("<br>")),regionOptions:[{label:Object(c["a"])("US","wp-mail-smtp"),value:"US"},{label:Object(c["a"])("EU","wp-mail-smtp"),value:"EU"}],field_errors:[]}},computed:Object(n["a"])({},Object(ut["b"])("$_settings",["settings.mailgun.api_key","settings.mailgun.domain","settings.mailgun.region","settings.mail.from_email","settings.mail.from_name","settings.mail.from_email_force","settings.mail.from_name_force"])),methods:{areRequiredFieldsValid:function(){var t=!0;return""===this.api_key&&(t=!1,this.field_errors.push("api_key")),""===this.domain&&(t=!1,this.field_errors.push("domain")),""===this.from_email&&(t=!1,this.field_errors.push("from_email")),t},removeFieldError:function(t){this.field_errors=this.field_errors.filter((function(e){return e!==t}))}}}),xi=vi,yi=Object(_["a"])(xi,bi,Ai,!1,null,null,null),Ci=yi.exports,ki=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wp-mail-smtp-setup-wizard-step-configure-mailer-settings wp-mail-smtp-setup-wizard-step-configure-mailer-settings-sendgrid"},[i("p",{staticClass:"mailer-description",domProps:{innerHTML:t._s(t.description)}}),i("p",{staticClass:"mailer-description mailer-description-links"},[i("a",{staticClass:"wp-mail-smtp-link",attrs:{href:"https://wpmailsmtp.com/docs/how-to-set-up-the-sendgrid-mailer-in-wp-mail-smtp/",target:"_blank",rel:"noopener noreferrer"}},[t._v(t._s(t.text_documentation_link))])]),i("div",{staticClass:"wp-mail-smtp-setup-wizard-form"},[i("settings-input-text",{attrs:{name:"api_key",type:"password",label:t.text_api_key_label,description:t.text_api_key_description,is_error:t.field_errors.includes("api_key")},on:{is_error_update:function(e){return t.removeFieldError("api_key")}},model:{value:t.api_key,callback:function(e){t.api_key=e},expression:"api_key"}}),i("settings-input-text",{attrs:{name:"domain",label:t.text_domain_label,description:t.text_domain_description},model:{value:t.domain,callback:function(e){t.domain=e},expression:"domain"}}),i("settings-input-text",{attrs:{name:"from_name",label:t.text_from_name_label,description:t.text_from_name_description},model:{value:t.from_name,callback:function(e){t.from_name=e},expression:"from_name"}}),i("settings-input-switch",{attrs:{classname:"sub_setting",name:"from_name_force",title:t.text_force_from_name_title,label:t.text_force_from_name_label},model:{value:t.from_name_force,callback:function(e){t.from_name_force=e},expression:"from_name_force"}}),i("settings-input-text",{attrs:{name:"from_email",type:"email",label:t.text_from_email_label,description:t.text_from_email_description,is_error:t.field_errors.includes("from_email")},on:{is_error_update:function(e){return t.removeFieldError("from_email")}},model:{value:t.from_email,callback:function(e){t.from_email=e},expression:"from_email"}}),i("settings-input-switch",{attrs:{classname:"sub_setting",name:"from_email_force",title:t.text_force_from_email_title,label:t.text_force_from_email_label},model:{value:t.from_email_force,callback:function(e){t.from_email_force=e},expression:"from_email_force"}})],1)])},Oi=[],ji={name:"WizardStepConfigureMailerSendgrid",components:{SettingsInputText:Ut,SettingsInputSwitch:ii},data:function(){return{mailer:"sendgrid",text_api_key_label:Object(c["a"])("API Key","wp-mail-smtp"),text_domain_label:Object(c["a"])("Sending Domain","wp-mail-smtp"),text_api_key_description:Object(c["c"])(Object(c["a"])("%1$sFollow this link%2$s to get an API Key for Sendgrid.","wp-mail-smtp"),'<a href="https://app.sendgrid.com/settings/api_keys" target="_blank" rel="noopener noreferrer">',"</a>")+"<br>"+Object(c["c"])(Object(c["a"])("To send emails you will need only a %1$sMail Send%2$s access level for this API key.","wp-mail-smtp"),"<i>","</i>"),text_domain_description:Object(c["c"])(Object(c["a"])("Please input the sending domain/subdomain you configured in your SendGrid dashboard. More information can be found in our %1$sSendGrid documentation%2$s","wp-mail-smtp"),'<a href="https://wpmailsmtp.com/docs/how-to-set-up-the-sendgrid-mailer-in-wp-mail-smtp/#setup" target="_blank" rel="noopener noreferrer">',"</a>"),text_from_name_label:Object(c["a"])("From Name","wp-mail-smtp"),text_force_from_name_title:Object(c["a"])("Force From Name","wp-mail-smtp"),text_from_email_label:Object(c["a"])("From Email","wp-mail-smtp"),text_force_from_email_title:Object(c["a"])("Force From Email","wp-mail-smtp"),text_force_from_name_label:Object(c["a"])("If enabled, the From Name setting above will be used for all emails, ignoring values set by other plugins.","wp-mail-smtp"),text_force_from_email_label:Object(c["a"])("If enabled, the From Email setting above will be used for all emails, ignoring values set by other plugins.","wp-mail-smtp"),text_from_name_description:Object(c["a"])("The name that emails are sent from.","wp-mail-smtp"),text_from_email_description:Object(c["a"])("The email address that emails are sent from.","wp-mail-smtp"),text_documentation_link:Object(c["a"])("Read how to set up Sendgrid","wp-mail-smtp"),description:this.$wpms.mailer_options.sendgrid.description.substr(0,this.$wpms.mailer_options.sendgrid.description.indexOf("<br>")),field_errors:[]}},computed:Object(n["a"])({},Object(ut["b"])("$_settings",["settings.sendgrid.api_key","settings.sendgrid.domain","settings.mail.from_email","settings.mail.from_name","settings.mail.from_email_force","settings.mail.from_name_force"])),methods:{areRequiredFieldsValid:function(){var t=!0;return""===this.api_key&&(t=!1,this.field_errors.push("api_key")),""===this.from_email&&(t=!1,this.field_errors.push("from_email")),t},removeFieldError:function(t){this.field_errors=this.field_errors.filter((function(e){return e!==t}))}}},Si=ji,Pi=Object(_["a"])(Si,ki,Oi,!1,null,null,null),Ei=Pi.exports,Ti=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wp-mail-smtp-setup-wizard-step-configure-mailer-settings wp-mail-smtp-setup-wizard-step-configure-mailer-settings-amazonses"},[i("p",{staticClass:"mailer-description",domProps:{innerHTML:t._s(t.description)}}),i("p",{staticClass:"mailer-description mailer-description-links"},[i("b",[i("a",{staticClass:"wp-mail-smtp-link",attrs:{href:"https://wpmailsmtp.com/docs/how-to-set-up-the-amazon-ses-mailer-in-wp-mail-smtp/",target:"_blank",rel:"noopener noreferrer"}},[t._v(t._s(t.text_documentation_link))])])]),i("div",{staticClass:"wp-mail-smtp-setup-wizard-form"},[i("settings-input-text",{attrs:{name:"client_id",label:t.text_client_id_label,is_error:t.field_errors.includes("client_id")},on:{is_error_update:function(e){return t.removeFieldError("client_id")}},model:{value:t.client_id,callback:function(e){t.client_id=e},expression:"client_id"}}),i("settings-input-text",{attrs:{name:"client_secret",type:"password",label:t.text_client_secret_label,is_error:t.field_errors.includes("client_secret")},on:{is_error_update:function(e){return t.removeFieldError("client_secret")}},model:{value:t.client_secret,callback:function(e){t.client_secret=e},expression:"client_secret"}}),i("settings-input-select",{attrs:{name:"region",label:t.text_region_label,options:t.regionOptions,description:t.text_region_description,is_error:t.field_errors.includes("region")},on:{is_error_update:function(e){return t.removeFieldError("region")}},model:{value:t.region,callback:function(e){t.region=e},expression:"region"}}),t.is_api_auth_missing?t._e():i("div",[i("div",{staticClass:"wp-mail-smtp-separator wp-mail-smtp-separator-big-margin"}),i("settings-amazon-s-e-s-identities",{attrs:{options:t.identities,label:t.text_identities_label,columns:t.identities_columns}}),i("div",{staticClass:"wp-mail-smtp-separator wp-mail-smtp-separator-big-margin"}),i("settings-input-text",{attrs:{name:"from_name",label:t.text_from_name_label,description:t.text_from_name_description},model:{value:t.from_name,callback:function(e){t.from_name=e},expression:"from_name"}}),i("settings-input-switch",{attrs:{classname:"sub_setting",name:"from_name_force",title:t.text_force_from_name_title,label:t.text_force_from_name_label},model:{value:t.from_name_force,callback:function(e){t.from_name_force=e},expression:"from_name_force"}}),i("settings-input-text",{attrs:{name:"from_email",type:"email",label:t.text_from_email_label,description:t.text_from_email_description,is_error:t.field_errors.includes("from_email")},on:{is_error_update:function(e){return t.removeFieldError("from_email")}},model:{value:t.from_email,callback:function(e){t.from_email=e},expression:"from_email"}}),i("settings-input-switch",{attrs:{classname:"sub_setting",name:"from_email_force",title:t.text_force_from_email_title,label:t.text_force_from_email_label},model:{value:t.from_email_force,callback:function(e){t.from_email_force=e},expression:"from_email_force"}})],1)],1)])},zi=[],Bi=i("f7fe"),Ii=i.n(Bi),Mi=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"settings-input-select",class:{"settings-input-select-error":t.field_error}},[i("label",{staticClass:"settings-input-label-container",attrs:{for:"wp-mail-smtp-settings-select-"+t.name}},[i("span",{staticClass:"label",domProps:{innerHTML:t._s(t.label)}})]),i("div",{staticClass:"settings-input-select-container"},[i("select",{directives:[{name:"model",rawName:"v-model",value:t.selected,expression:"selected"}],attrs:{id:"wp-mail-smtp-settings-select-"+t.name,name:t.name,readonly:t.disabled},on:{change:function(e){var i=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.selected=e.target.multiple?i:i[0]}}},t._l(t.options,(function(e){return i("option",{key:e.value,domProps:{value:e.value}},[t._v(" "+t._s(e.label)+" ")])})),0)]),t.description?i("p",{staticClass:"description",domProps:{innerHTML:t._s(t.description)}}):t._e()])},Di=[],Fi={name:"SettingsInputSelect",props:{options:Array,label:String,name:String,value:String,description:String,disabled:Boolean,is_error:Boolean},computed:{selected:{get:function(){return this.value},set:function(t){this.$emit("is_error_update",!1),this.$emit("input",t)}},field_error:{get:function(){return this.is_error},set:function(t){this.$emit("is_error_update",t)}}}},Ni=Fi,Qi=Object(_["a"])(Ni,Mi,Di,!1,null,null,null),Li=Qi.exports,Wi=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"settings-amazon-ses-identities"},[s("label",{staticClass:"settings-input-label-container"},[s("span",{staticClass:"label",domProps:{innerHTML:t._s(t.label)}}),t.tooltip?s("settings-info-tooltip",{attrs:{content:t.tooltip}}):t._e()],1),t.options?s("div",[t.options&&0!==t.options.length?s("p",{staticClass:"description"},[t._v(" "+t._s(t.text_identities_table_description)+" ")]):s("p",{staticClass:"description"},[s("strong",[t._v(t._s(t.text_no_registered_identities_title))]),t._v(" "+t._s(t.text_no_registered_identities_content)+" ")]),s("div",{staticClass:"ses-identities-container"},[t.options&&t.options.length>0?s("div",{staticClass:"ses-identities-table-container"},[s("table",[t.columns?s("tr",{staticClass:"ses-identity-columns"},t._l(t.filtered_columns,(function(e){return s("th",{key:e.key,class:"ses-identity-column ses-identity-column-"+e.key},[t._v(" "+t._s(e.label)+" ")])})),0):t._e(),t._l(t.options,(function(e,i){return s("tr",{key:i},[s("td",[t._v(" "+t._s(e.value)+" ")]),s("td",[t._v(" "+t._s(e.type)+" ")]),s("td",[t._v(" "+t._s(e.status)+" ")])])})),t.show_identity_form?t._e():s("button",{staticClass:"wp-mail-smtp-button wp-mail-smtp-button-main wp-mail-smtp-button-small",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.addNewIdentity(e)}}},[t._v(" "+t._s(t.text_add_new_identity)+" ")])],2)]):t._e(),t.show_identity_form||!t.options||0===t.options.length?s("div",{staticClass:"wp-mail-smtp-amazonses-identity-form"},[t.options&&0!==t.options.length?t._e():s("h3",[t._v(" "+t._s(t.text_verify_identity)+" ")]),s("div",{directives:[{name:"show",rawName:"v-show",value:1===t.verify_identity_step,expression:"verify_identity_step === 1"}],staticClass:"amazonses-identity-form-step"},[s("settings-input-radio",{attrs:{name:"identity_type",options:t.identity_type_options},model:{value:t.identity_type,callback:function(e){t.identity_type=e},expression:"identity_type"}}),s("p",{domProps:{textContent:t._s(t.verify_identity_text)}}),s("settings-input-text",{attrs:{name:"identity_value",placeholder:t.identity_value_placeholder},model:{value:t.identity_value,callback:function(e){t.identity_value=e},expression:"identity_value"}}),s("button",{staticClass:"wp-mail-smtp-button wp-mail-smtp-button-main wp-mail-smtp-button-small wp-mail-smtp-button-verify",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.verifyIdentity(e)}}},[t.loading_verify_identity?s("loader",{attrs:{color:"white"}}):s("span",[t._v(t._s(t.text_verify))])],1)],1),s("div",{directives:[{name:"show",rawName:"v-show",value:2===t.verify_identity_step&&"domain"===t.verify_identity_result.type,expression:"verify_identity_step === 2 && verify_identity_result.type === 'domain'"}],staticClass:"amazonses-identity-form-step amazonses-identity-form-step-domain"},[s("p",{domProps:{innerHTML:t._s(t.text_verify_identity_step2_domain_text)}}),s("div",{staticClass:"amazonses-domain-identity-added-inputs"},[s("settings-input-text",{attrs:{value:t.ses_domain_name,label:t.text_name,name:"ses_domain_name",readonly:"",copy:""}}),s("settings-input-text",{attrs:{value:t.verify_identity_result.domain_txt,label:t.text_value,name:"ses_domain_value",readonly:"",copy:""}})],1)]),s("div",{directives:[{name:"show",rawName:"v-show",value:2===t.verify_identity_step&&"email"===t.verify_identity_result.type,expression:"verify_identity_step === 2 && verify_identity_result.type === 'email'"}],staticClass:"amazonses-identity-form-step"},[s("p",{staticClass:"ses-identities-email-success-notice"},[s("inline-svg",{staticClass:"icon",attrs:{src:i("84d7"),width:"16",height:"16"}}),t._v(" "),s("span",{domProps:{innerHTML:t._s(t.text_verify_identity_step2_email_text)}})],1)])]):t._e()])]):s("loader",{attrs:{size:"md"}})],1)},Ui=[],Hi={name:"SettingsAmazonSESIdentities",components:{SettingsInfoTooltip:Nt,SettingsInputRadio:Re,SettingsInputText:Ut,Loader:xe},props:{options:Array,columns:Array,label:String,tooltip:String},computed:{filtered_columns:function(){return this.columns.filter((function(t){return"action"!==t.key}))},identity_value_placeholder:function(){return"domain"===this.identity_type?Object(c["a"])("Please enter a domain","wp-mail-smtp"):Object(c["a"])("Please enter a valid email address","wp-mail-smtp")},verify_identity_text:function(){return"domain"===this.identity_type?Object(c["a"])("Enter the domain name to verify it on Amazon SES and generate the required DNS TXT record.","wp-mail-smtp"):Object(c["a"])("Enter a valid email address. A verification email will be sent to the email address you entered.","wp-mail-smtp")},text_verify_identity_step2_email_text:function(){return Object(c["c"])(Object(c["a"])("Please check the inbox of <b>%s</b> for a confirmation email.","wp-mail-smtp"),this.verify_identity_result.value)},ses_domain_name:function(){return this.verify_identity_result.value?"_amazonses.".concat(this.verify_identity_result.value):""},text_verify:function(){return"domain"===this.identity_type?Object(c["a"])("Verify Domain","wp-mail-smtp"):Object(c["a"])("Verify Email","wp-mail-smtp")}},data:function(){return{text_no_registered_identities_title:Object(c["a"])("No registered domains or emails.","wp-mail-smtp"),text_no_registered_identities_content:Object(c["a"])("You will not be able to send emails until you verify at least one domain or email address for the selected Amazon SES Region.","wp-mail-smtp"),text_view_dns:Object(c["a"])("View DNS","wp-mail-smtp"),text_resend:Object(c["a"])("Resend","wp-mail-smtp"),text_identities_table_description:Object(c["a"])("Here are the domains and email addresses that have been verified and can be used as the From Email.","wp-mail-smtp"),text_verify_identity:Object(c["a"])("Verify SES Identity","wp-mail-smtp"),text_add_new_identity:Object(c["a"])("Add New SES Identity","wp-mail-smtp"),text_name:Object(c["a"])("Name","wp-mail-smtp"),text_value:Object(c["a"])("Value","wp-mail-smtp"),text_verify_identity_step2_domain_text:Object(c["c"])(Object(c["a"])("Please add this TXT record to your domain's DNS settings. For information on how to add TXT DNS records, please refer to the %1$sAmazon SES documentation%2$s.","wp-mail-smtp"),'<a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/dns-txt-records.html" target="_blank" rel="noopener noreferrer">',"</a>"),show_identity_form:!1,identity_type:"domain",identity_type_options:[{label:Object(c["a"])("Verify Domain","wp-mail-smtp"),value:"domain"},{label:Object(c["a"])("Verify Email Address","wp-mail-smtp"),value:"email"}],identity_value:"",verify_identity_step:1,verify_identity_result:{},loading_verify_identity:!1}},methods:{verifyIdentity:function(){if(!this.loading_verify_identity){this.loading_verify_identity=!0;var t=this;this.$store.dispatch("$_settings/amazonSESRegisterIdentity",{value:this.identity_value,type:this.identity_type}).then((function(e){t.loading_verify_identity=!1,e.success&&e.data&&(t.verify_identity_result=e.data,t.verify_identity_step=2)}))}},addNewIdentity:function(){this.show_identity_form=!0}}},Ri=Hi,Gi=Object(_["a"])(Ri,Wi,Ui,!1,null,null,null),Vi=Gi.exports,Yi={name:"WizardStepConfigureMailerAmazonSES",components:{SettingsInputText:Ut,SettingsInputSelect:Li,SettingsInputSwitch:ii,SettingsAmazonSESIdentities:Vi},data:function(){return{mailer:"amazonses",text_client_id_label:Object(c["a"])("Access Key ID","wp-mail-smtp"),text_client_secret_label:Object(c["a"])("Secret Access Key",Object({NODE_ENV:"production",VUE_APP_TEXTDOMAIN:"wp-mail-smtp",VUE_APP_PRODUCT_NAME:"WPMailSMTP",BASE_URL:"http://localhost:8080/"}).VUE_APP_TEXTclient_id),text_region_label:Object(c["a"])("Region","wp-mail-smtp"),text_identities_label:Object(c["a"])("SES Identities","wp-mail-smtp"),text_region_description:Object(c["a"])("Please select the Amazon SES API region which is the closest to where your website is hosted. This can help to decrease network latency between your site and Amazon SES, which will speed up email sending.","wp-mail-smtp"),text_from_name_label:Object(c["a"])("From Name","wp-mail-smtp"),text_force_from_name_title:Object(c["a"])("Force From Name","wp-mail-smtp"),text_from_email_label:Object(c["a"])("From Email","wp-mail-smtp"),text_force_from_email_title:Object(c["a"])("Force From Email","wp-mail-smtp"),text_force_from_name_label:Object(c["a"])("If enabled, the From Name setting above will be used for all emails, ignoring values set by other plugins.","wp-mail-smtp"),text_force_from_email_label:Object(c["a"])("If enabled, the From Email setting above will be used for all emails, ignoring values set by other plugins.","wp-mail-smtp"),text_from_name_description:Object(c["a"])("The name that emails are sent from.","wp-mail-smtp"),text_from_email_description:Object(c["a"])("The email address that emails are sent from.","wp-mail-smtp"),text_documentation_link:Object(c["a"])("Read how to set up Amazon SES","wp-mail-smtp"),description:this.$wpms.mailer_options.amazonses.description.substr(0,this.$wpms.mailer_options.amazonses.description.indexOf("<br>")),regionOptions:this.$wpms.mailer_options.amazonses.region_options||[],fetching_identities:!1,field_errors:[]}},computed:Object(n["a"])(Object(n["a"])(Object(n["a"])({},Object(ut["b"])("$_settings",["settings.amazonses.client_id","settings.amazonses.client_secret","settings.amazonses.region","settings.mail.from_email","settings.mail.from_name","settings.mail.from_email_force","settings.mail.from_name_force"])),Object(ut["b"])("$_settings",{identities_columns:"amazonses_identities.columns",identities:"amazonses_identities.data"})),{},{is_api_auth_missing:function(){return!this.client_id||!this.client_secret||!this.region}}),watch:{client_id:function(){this.getIdentitiesDelayed()},client_secret:function(){this.getIdentitiesDelayed()},region:function(){this.getIdentities()}},methods:{getIdentities:function(){var t=this;this.fetching_identities||this.client_id.length<20||this.client_secret.length<40||!this.region||(this.fetching_identities=!0,this.$store.dispatch("$_app/start_loading"),this.$store.dispatch("$_settings/getAmazonSESIdentities").then((function(){t.fetching_identities=!1})).finally((function(){t.$store.dispatch("$_app/stop_loading")})))},getIdentitiesDelayed:Ii()((function(){this.getIdentities()}),500),areRequiredFieldsValid:function(){var t=!0;return""===this.client_id&&(t=!1,this.field_errors.push("client_id")),""===this.client_secret&&(t=!1,this.field_errors.push("client_secret")),""===this.region&&(t=!1,this.field_errors.push("region")),""===this.from_email&&(t=!1,this.field_errors.push("from_email")),t},removeFieldError:function(t){this.field_errors=this.field_errors.filter((function(e){return e!==t}))}},mounted:function(){this.getIdentities()}},Ji=Yi,Ki=Object(_["a"])(Ji,Ti,zi,!1,null,null,null),qi=Ki.exports,Zi=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wp-mail-smtp-setup-wizard-step-configure-mailer-settings wp-mail-smtp-setup-wizard-step-configure-mailer-settings-gmail"},[i("p",{staticClass:"mailer-description",domProps:{innerHTML:t._s(t.description)}}),i("p",{staticClass:"mailer-description mailer-description-links"},[i("b",[i("a",{staticClass:"wp-mail-smtp-link",attrs:{href:"https://wpmailsmtp.com/docs/how-to-set-up-the-gmail-mailer-in-wp-mail-smtp/#create-app",target:"_blank",rel:"noopener noreferrer"}},[t._v(t._s(t.text_documentation_link))])])]),i("div",{staticClass:"wp-mail-smtp-setup-wizard-form"},[i("settings-input-text",{attrs:{name:"client_id",label:t.text_client_id_label,is_error:t.field_errors.includes("client_id")},on:{is_error_update:function(e){return t.removeFieldError("client_id")}},model:{value:t.client_id,callback:function(e){t.client_id=e},expression:"client_id"}}),i("settings-input-text",{attrs:{name:"client_secret",type:"password",label:t.text_client_secret_label,is_error:t.field_errors.includes("client_secret")},on:{is_error_update:function(e){return t.removeFieldError("client_secret")}},model:{value:t.client_secret,callback:function(e){t.client_secret=e},expression:"client_secret"}}),i("settings-input-text",{attrs:{value:t.redirect_uri,name:"redirect_uri",label:t.text_redirect_uri_label,copy:"",readonly:""}}),i("div",{staticClass:"wp-mail-smtp-separator wp-mail-smtp-separator-big-margin"}),i("settings-o-auth-connection",{attrs:{label:t.text_authorization_label,mailer:t.mailer,connected_email:t.connected_email_address,is_auth_required:t.is_auth_required,client_id:t.client_id,client_secret:t.client_secret}}),t.is_auth_required?t._e():i("div",{staticClass:"wp-mail-smtp-setup-wizard-form-general-settings"},[i("div",{staticClass:"wp-mail-smtp-separator wp-mail-smtp-separator-big-margin"}),i("settings-input-text",{attrs:{name:"from_name",label:t.text_from_name_label,description:t.text_from_name_description},model:{value:t.from_name,callback:function(e){t.from_name=e},expression:"from_name"}}),i("settings-input-switch",{attrs:{classname:"sub_setting",name:"from_name_force",title:t.text_force_from_name_title,label:t.text_force_from_name_label},model:{value:t.from_name_force,callback:function(e){t.from_name_force=e},expression:"from_name_force"}}),i("settings-input-select",{attrs:{name:"from_email",label:t.text_from_email_label,options:t.possible_send_as_emails,description:t.text_from_email_description},model:{value:t.from_email,callback:function(e){t.from_email=e},expression:"from_email"}})],1)],1)])},Xi=[],$i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"settings-oauth-connection"},[s("label",{staticClass:"settings-input-label-container"},[s("span",{staticClass:"label",domProps:{innerHTML:t._s(t.label)}}),t.tooltip?s("settings-info-tooltip",{attrs:{content:t.tooltip}}):t._e()],1),t.is_auth_required?s("div",{staticClass:"add-authorization-container"},[s("p",{staticClass:"description",domProps:{textContent:t._s(t.text_authorization_button_description)}}),s("button",{staticClass:"wp-mail-smtp-button wp-mail-smtp-button-main wp-mail-smtp-button-small",attrs:{type:"button",disabled:!t.are_client_details_ready},on:{click:function(e){return e.preventDefault(),t.authorize(e)}}},[t._v(" "+t._s(t.text_authorization_button)+" ")])]):s("div",{staticClass:"remove-authorization-container"},[t.connected_email?s("p",{staticClass:"description connected-as"},[s("span",{domProps:{innerHTML:t._s(t.text_connected_as_with_email)}}),t._v(" "),s("inline-svg",{staticClass:"icon",attrs:{src:i("9a1d"),width:"16",height:"16"}})],1):t._e(),"gmail"===t.mailer?s("p",{staticClass:"description",domProps:{innerHTML:t._s(t.text_remove_authorization_button_description_google)}}):t._e(),s("p",{staticClass:"description",domProps:{innerHTML:t._s(t.text_remove_authorization_button_description)}}),s("button",{staticClass:"wp-mail-smtp-button wp-mail-smtp-button-red wp-mail-smtp-button-small",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.removeAuthorization(e)}}},[t._v(" "+t._s(t.text_remove_authorization_button)+" ")])])])},ts=[],es={name:"SettingsOAuthConnection",components:{SettingsInfoTooltip:Nt},props:{label:String,mailer:String,connected_email:String,is_auth_required:Boolean,client_id:String,client_secret:String,tooltip:String,disabled:Boolean},data:function(){return{text_allow_button:Object(c["a"])("Connect to %s","wp-mail-smtp"),text_authorization_button_description_general:Object(c["a"])("Before continuing, you'll need to allow this plugin to send emails using your %s account.","wp-mail-smtp"),text_remove_authorization_button:Object(c["a"])("Remove Connection","wp-mail-smtp"),text_remove_authorization_button_description_google:Object(c["c"])(Object(c["a"])("If you want to use a different From Email address you can setup a Google email alias. %1$sFollow these instructions%2$s, then select the alias in the From Email section below.","wp-mail-smtp"),'<a href="https://wpmailsmtp.com/gmail-send-from-alias-wp-mail-smtp/" target="_blank" rel="noopener noreferrer">',"</a>"),text_remove_authorization_button_desc_template:Object(c["a"])("Removing this connection will give you the ability to redo the connection or connect to different %s account.","wp-mail-smtp"),text_connected_as:Object(c["a"])("Connected as","wp-mail-smtp")}},computed:{are_client_details_ready:function(){return!!this.client_id&&!!this.client_secret},mailer_name:function(){var t="Google";return"outlook"===this.mailer?t="Microsoft Outlook":"zoho"===this.mailer&&(t="Zoho Mail"),t},text_authorization_button:function(){return Object(c["c"])(this.text_allow_button,this.mailer_name)},text_authorization_button_description:function(){return Object(c["c"])(this.text_authorization_button_description_general,this.mailer_name)},text_remove_authorization_button_description:function(){return Object(c["c"])(this.text_remove_authorization_button_desc_template,this.mailer_name)},text_connected_as_with_email:function(){return"".concat(this.text_connected_as," <b>").concat(this.connected_email,"</b>")}},methods:{authorize:function(){var t=this;this.$store.dispatch("$_app/start_loading"),this.$store.dispatch("$_settings/getAuthUrl",this.mailer).then((function(t){t.success&&t.data.oauth_url&&(window.location.href=t.data.oauth_url)})).finally((function(){t.$store.dispatch("$_app/stop_loading")}))},removeAuthorization:function(){var t=this;this.$store.dispatch("$_app/start_loading"),this.$store.dispatch("$_settings/removeAuth",this.mailer).finally((function(){t.$store.dispatch("$_app/stop_loading")}))},removeUrlParam:function(t,e,i){e.delete(i),t.search=e.toString(),window.history.replaceState({},document.title,t.toString())},catchAuthNotice:function(){var t=new URL(window.location.href),e=new URLSearchParams(t.search),i="",s="",a=!1;switch(e.has("success")?(i=e.get("success"),a=!0,this.removeUrlParam(t,e,"success")):e.has("error")&&(i=e.get("error"),this.removeUrlParam(t,e,"error")),i){case"google_access_denied":case"zoho_access_denied":case"google_no_code_scope":case"microsoft_no_code":case"zoho_no_code":case"zoho_invalid_nonce":s=Object(c["a"])("There was an error while processing the authentication request. Please try again.","wp-mail-smtp");break;case"google_no_clients":case"zoho_no_clients":case"microsoft_unsuccessful_oauth":case"google_unsuccessful_oauth":s=Object(c["a"])("There was an error while processing the authentication request. Please recheck your Client ID and Client Secret and try again.","wp-mail-smtp");break;case"zoho_unsuccessful_oauth":s=Object(c["a"])("There was an error while processing the authentication request. Please recheck your Region, Client ID and Client Secret and try again.","wp-mail-smtp");break;case"google_site_linked":s=Object(c["a"])("You have successfully linked the current site with your Google API project. Now you can start sending emails through Gmail.","wp-mail-smtp");break;case"microsoft_site_linked":s=Object(c["a"])("You have successfully linked the current site with your Microsoft API project. Now you can start sending emails through Outlook.","wp-mail-smtp");break;case"zoho_site_linked":s=Object(c["a"])("You have successfully linked the current site with your Zoho Mail API project. Now you can start sending emails through Zoho Mail.","wp-mail-smtp");break}s.length>0&&this.$swal({title:a?Object(c["a"])("Successful Authorization","wp-mail-smtp"):Object(c["a"])("Authorization Error!","wp-mail-smtp"),text:s,width:550,showCloseButton:!0,customClass:{container:"wp-mail-smtp-swal wp-mail-smtp-swal-alert"}})}},mounted:function(){this.catchAuthNotice()}},is=es,ss=Object(_["a"])(is,$i,ts,!1,null,null,null),as=ss.exports,ns={name:"WizardStepConfigureMailerGmail",components:{SettingsInputText:Ut,SettingsInputSwitch:ii,SettingsOAuthConnection:as,SettingsInputSelect:Li},data:function(){return{mailer:"gmail",text_client_id_label:Object(c["a"])("Client ID","wp-mail-smtp"),text_client_secret_label:Object(c["a"])("Client Secret","wp-mail-smtp"),text_redirect_uri_label:Object(c["a"])("Authorized Redirect URI","wp-mail-smtp"),text_authorization_label:Object(c["a"])("Authorization","wp-mail-smtp"),text_from_name_label:Object(c["a"])("From Name","wp-mail-smtp"),text_force_from_name_title:Object(c["a"])("Force From Name","wp-mail-smtp"),text_from_email_label:Object(c["a"])("From Email","wp-mail-smtp"),text_force_from_name_label:Object(c["a"])("If enabled, the From Name setting above will be used for all emails, ignoring values set by other plugins.","wp-mail-smtp"),text_from_name_description:Object(c["a"])("The name that emails are sent from.","wp-mail-smtp"),text_from_email_description:Object(c["a"])("Select which email address you would like to send your emails from.","wp-mail-smtp"),text_documentation_link:Object(c["a"])("Read how to set up the Gmail mailer","wp-mail-smtp"),description:this.$wpms.mailer_options.gmail.description.substr(0,this.$wpms.mailer_options.gmail.description.indexOf("<br>")),redirect_uri:this.$wpms.mailer_options.gmail.redirect_uri,connected_email_address:null,possible_send_as_emails:[],field_errors:[]}},computed:Object(n["a"])(Object(n["a"])(Object(n["a"])({},Object(ut["b"])("$_settings",["settings.gmail.client_id","settings.gmail.client_secret","settings.gmail.access_token","settings.gmail.refresh_token","settings.mail.from_email","settings.mail.from_name","settings.mail.from_name_force"])),Object(ut["b"])("$_wizard",["blocked_step"])),{},{is_auth_required:function(){return!this.access_token||!this.refresh_token}}),watch:{is_auth_required:function(t){this.blocked_step=t}},methods:{getConnectedData:function(){var t=this;this.$store.dispatch("$_settings/getConnectedData",this.mailer).then((function(e){e.success&&e.data&&(t.connected_email_address=e.data.connected_email||null,t.possible_send_as_emails=e.data.possible_send_from_addresses||[],t.isEmailInPosibleAddresses(t.from_email)||(t.from_email=t.connected_email_address))}))},isEmailInPosibleAddresses:function(t){return this.possible_send_as_emails.find((function(e){return e.value===t}))},areRequiredFieldsValid:function(){var t=!0;return""===this.client_id&&(t=!1,this.field_errors.push("client_id")),""===this.client_secret&&(t=!1,this.field_errors.push("client_secret")),t},removeFieldError:function(t){this.field_errors=this.field_errors.filter((function(e){return e!==t}))}},mounted:function(){this.getConnectedData(),this.is_auth_required&&(this.blocked_step=!0)}},os=ns,rs=Object(_["a"])(os,Zi,Xi,!1,null,null,null),ls=rs.exports,cs=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wp-mail-smtp-setup-wizard-step-configure-mailer-settings wp-mail-smtp-setup-wizard-step-configure-mailer-settings-outlook"},[i("p",{staticClass:"mailer-description",domProps:{innerHTML:t._s(t.description)}}),i("p",{staticClass:"mailer-description mailer-description-links"},[i("a",{staticClass:"wp-mail-smtp-link",attrs:{href:"https://wpmailsmtp.com/docs/how-to-set-up-the-outlook-mailer-in-wp-mail-smtp/#microsoft-setup",target:"_blank",rel:"noopener noreferrer"}},[t._v(t._s(t.text_documentation_link))])]),i("div",{staticClass:"wp-mail-smtp-setup-wizard-form"},[i("settings-input-text",{attrs:{name:"client_id",label:t.text_client_id_label,is_error:t.field_errors.includes("client_id")},on:{is_error_update:function(e){return t.removeFieldError("client_id")}},model:{value:t.client_id,callback:function(e){t.client_id=e},expression:"client_id"}}),i("settings-input-text",{attrs:{name:"client_secret",type:"password",label:t.text_client_secret_label,is_error:t.field_errors.includes("client_secret")},on:{is_error_update:function(e){return t.removeFieldError("client_secret")}},model:{value:t.client_secret,callback:function(e){t.client_secret=e},expression:"client_secret"}}),i("settings-input-text",{attrs:{value:t.redirect_uri,name:"redirect_uri",label:t.text_redirect_uri_label,copy:"",readonly:""}}),i("settings-o-auth-connection",{attrs:{label:t.text_authorization_label,mailer:t.mailer,connected_email:t.connected_email_address,is_auth_required:t.is_auth_required,client_id:t.client_id,client_secret:t.client_secret}})],1)])},ps=[],ms={name:"WizardStepConfigureMailerOutlook",components:{SettingsInputText:Ut,SettingsOAuthConnection:as},data:function(){return{mailer:"outlook",text_client_id_label:Object(c["a"])("Application ID","wp-mail-smtp"),text_client_secret_label:Object(c["a"])("Application Password","wp-mail-smtp"),text_redirect_uri_label:Object(c["a"])("Redirect URI","wp-mail-smtp"),text_authorization_label:Object(c["a"])("Authorization","wp-mail-smtp"),text_documentation_link:Object(c["a"])("Read how to set up Outlook","wp-mail-smtp"),description:this.$wpms.mailer_options.outlook.description.substr(0,this.$wpms.mailer_options.outlook.description.indexOf("<br>")),redirect_uri:this.$wpms.mailer_options.outlook.redirect_uri,field_errors:[]}},computed:Object(n["a"])(Object(n["a"])(Object(n["a"])(Object(n["a"])({},Object(ut["b"])("$_settings",["settings.outlook.client_id","settings.outlook.client_secret","settings.outlook.access_token","settings.outlook.refresh_token"])),Object(ut["b"])("$_wizard",["blocked_step"])),Object(nt["b"])({connected_email_address:"$_settings/outlook_email"})),{},{is_auth_required:function(){return!this.access_token||!this.refresh_token}}),watch:{is_auth_required:function(t){this.blocked_step=t}},methods:{areRequiredFieldsValid:function(){var t=!0;return""===this.client_id&&(t=!1,this.field_errors.push("client_id")),""===this.client_secret&&(t=!1,this.field_errors.push("client_secret")),t},removeFieldError:function(t){this.field_errors=this.field_errors.filter((function(e){return e!==t}))}},mounted:function(){this.is_auth_required&&(this.blocked_step=!0)}},us=ms,ds=Object(_["a"])(us,cs,ps,!1,null,null,null),_s=ds.exports,fs=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wp-mail-smtp-setup-wizard-step-configure-mailer-settings wp-mail-smtp-setup-wizard-step-configure-mailer-settings-zoho"},[i("p",{staticClass:"mailer-description",domProps:{innerHTML:t._s(t.description)}}),i("p",{staticClass:"mailer-description mailer-description-links"},[i("a",{staticClass:"wp-mail-smtp-link",attrs:{href:"https://wpmailsmtp.com/docs/how-to-set-up-the-zoho-mailer-in-wp-mail-smtp/#zoho-account",target:"_blank",rel:"noopener noreferrer"}},[t._v(t._s(t.text_documentation_link))])]),i("div",{staticClass:"wp-mail-smtp-setup-wizard-form"},[i("settings-input-select",{attrs:{name:"domain",label:t.text_domain_label,options:t.domain_options,description:t.text_domain_description,is_error:t.field_errors.includes("domain")},on:{is_error_update:function(e){return t.removeFieldError("domain")}},model:{value:t.domain,callback:function(e){t.domain=e},expression:"domain"}}),i("settings-input-text",{attrs:{name:"client_id",label:t.text_client_id_label,is_error:t.field_errors.includes("client_id")},on:{is_error_update:function(e){return t.removeFieldError("client_id")}},model:{value:t.client_id,callback:function(e){t.client_id=e},expression:"client_id"}}),i("settings-input-text",{attrs:{name:"client_secret",type:"password",label:t.text_client_secret_label,is_error:t.field_errors.includes("client_secret")},on:{is_error_update:function(e){return t.removeFieldError("client_secret")}},model:{value:t.client_secret,callback:function(e){t.client_secret=e},expression:"client_secret"}}),i("settings-input-text",{attrs:{value:t.redirect_uri,name:"redirect_uri",label:t.text_redirect_uri_label,copy:"",readonly:""}}),i("settings-o-auth-connection",{attrs:{label:t.text_authorization_label,mailer:t.mailer,connected_email:t.connected_email_address,is_auth_required:t.is_auth_required,client_id:t.client_id,client_secret:t.client_secret}}),t.is_auth_required?t._e():i("div",[i("settings-input-text",{attrs:{name:"from_name",label:t.text_from_name_label,description:t.text_from_name_description},model:{value:t.from_name,callback:function(e){t.from_name=e},expression:"from_name"}}),i("settings-input-switch",{attrs:{classname:"sub_setting",name:"from_name_force",title:t.text_force_from_name_title,label:t.text_force_from_name_label},model:{value:t.from_name_force,callback:function(e){t.from_name_force=e},expression:"from_name_force"}})],1)],1)])},hs=[],gs={name:"WizardStepConfigureMailerZoho",components:{SettingsInputText:Ut,SettingsInputSwitch:ii,SettingsInputSelect:Li,SettingsOAuthConnection:as},data:function(){return{mailer:"zoho",text_domain_label:Object(c["a"])("Region","wp-mail-smtp"),text_domain_description:Object(c["a"])("The data center location used by your Zoho account.","wp-mail-smtp"),text_client_id_label:Object(c["a"])("Client ID","wp-mail-smtp"),text_client_secret_label:Object(c["a"])("Client Secret","wp-mail-smtp"),text_redirect_uri_label:Object(c["a"])("Redirect URI","wp-mail-smtp"),text_authorization_label:Object(c["a"])("Authorization","wp-mail-smtp"),text_from_name_label:Object(c["a"])("From Name","wp-mail-smtp"),text_force_from_name_title:Object(c["a"])("Force From Name","wp-mail-smtp"),text_force_from_name_label:Object(c["a"])("If enabled, the From Name setting above will be used for all emails, ignoring values set by other plugins.","wp-mail-smtp"),text_from_name_description:Object(c["a"])("The name that emails are sent from.","wp-mail-smtp"),text_documentation_link:Object(c["a"])("Read how to set up Zoho Mail","wp-mail-smtp"),description:this.$wpms.mailer_options.zoho.description.substr(0,this.$wpms.mailer_options.zoho.description.indexOf("<br>")),redirect_uri:this.$wpms.mailer_options.zoho.redirect_uri,domain_options:this.$wpms.mailer_options.zoho.domain_options,field_errors:[]}},computed:Object(n["a"])(Object(n["a"])(Object(n["a"])(Object(n["a"])({},Object(ut["b"])("$_settings",["settings.zoho.domain","settings.zoho.client_id","settings.zoho.client_secret","settings.zoho.access_token","settings.zoho.refresh_token","settings.mail.from_name","settings.mail.from_name_force"])),Object(ut["b"])("$_wizard",["blocked_step"])),Object(nt["b"])({connected_email_address:"$_settings/zoho_email"})),{},{is_auth_required:function(){return!this.access_token||!this.refresh_token}}),watch:{is_auth_required:function(t){this.blocked_step=t}},methods:{areRequiredFieldsValid:function(){var t=!0;return""===this.domain&&(t=!1,this.field_errors.push("domain")),""===this.client_id&&(t=!1,this.field_errors.push("client_id")),""===this.client_secret&&(t=!1,this.field_errors.push("client_secret")),t},removeFieldError:function(t){this.field_errors=this.field_errors.filter((function(e){return e!==t}))}},mounted:function(){this.is_auth_required&&(this.blocked_step=!0)}},ws=gs,bs=Object(_["a"])(ws,fs,hs,!1,null,null,null),As=bs.exports,vs=new o["a"]({routes:[{path:"*",redirect:"/"},{path:"/",name:"welcome",component:O},{path:"/step",name:"step",component:N,children:[{path:"import",name:"import_step",component:it},{path:"choose_mailer",name:"choose_mailer_step",component:ct},{path:"configure_mailer",name:"configure_mailer_step",component:ht,children:[{path:"smtp",name:"configure_mailer_step_smtp",component:oi},{path:"smtpcom",name:"configure_mailer_step_smtpcom",component:ui},{path:"sendinblue",name:"configure_mailer_step_sendinblue",component:wi},{path:"mailgun",name:"configure_mailer_step_mailgun",component:Ci},{path:"sendgrid",name:"configure_mailer_step_sendgrid",component:Ei},{path:"amazoneses",name:"configure_mailer_step_amazonses",component:qi},{path:"gmail",name:"configure_mailer_step_gmail",component:ls},{path:"outlook",name:"configure_mailer_step_outlook",component:_s},{path:"zoho",name:"configure_mailer_step_zoho",component:As}]},{path:"plugin_features",name:"plugin_features_step",component:St},{path:"help_improve",name:"help_improve_step",component:Xt},{path:"license",name:"license_step",component:oe},{path:"check_configuration",name:"check_configuration_step",component:ue},{path:"successful_configuration",name:"check_configuration_step_success",component:Ee},{path:"failed_configuration",name:"check_configuration_step_failure",component:De}]}],scrollBehavior:function(){return{x:0,y:0}}}),xs={name:"SetupWizardApp",router:vs,computed:Object(n["a"])({},Object(nt["b"])({blocked:"$_app/blocked",loading:"$_app/loading"}))},ys=xs,Cs=Object(_["a"])(ys,s,a,!1,null,null,null),ks=Cs.exports,Os=i("2b0e"),js=i("5886"),Ss=(i("466d"),{install:function(t){window.wp_mail_smtp_vue&&(t.prototype.$wpms=window.wp_mail_smtp_vue),t.prototype.$isPro=Ps,t.prototype.$addQueryArg=Es}});function Ps(){return window.wp_mail_smtp_vue.is_pro}function Es(t,e,i){var s=new RegExp("([?&])"+e+"=.*?(&|#|$)","i");if(t.match(s))return t.replace(s,"$1"+e+"="+i+"$2");var a="";-1!==t.indexOf("#")&&(a=t.replace(/.*#/,"#"),t=t.replace(/#.*/,""));var n=-1!==t.indexOf("?")?"&":"?";return t+n+e+"="+i+a}var Ts=Ss,zs={install:function(t){t.prototype.$next_step=function(){var e=this,i=t.prototype.$wizard_steps.findIndex((function(t){return e.$route.name.includes(t)}))+1;this.$router.push({name:t.prototype.$wizard_steps[i]})},t.prototype.$previous_step=function(){var e=this,i="welcome",s=t.prototype.$wizard_steps.findIndex((function(t){return e.$route.name.includes(t)}))-1;s>=0&&(i=t.prototype.$wizard_steps[s]),this.$router.push({name:i})},t.prototype.$swal&&(t.prototype.$wpms_success_toast=function(e){var i=e.animation,s=void 0!==i&&i,a=e.toast,n=void 0===a||a,o=e.position,r=void 0===o?"top-end":o,l=e.showConfirmButton,p=void 0!==l&&l,m=e.icon,u=void 0===m?"success":m,d=e.timer,_=void 0===d?3e3:d,f=e.showCloseButton,h=void 0===f||f,g=e.title,w=void 0===g?Object(c["a"])("Settings Updated","wp-mail-smtp"):g,b=e.showCancelButton,A=void 0!==b&&b,v=e.confirmButtonText,x=void 0===v?"":v,y=e.cancelButtonText,C=void 0===y?"":y,k=e.text,O=void 0===k?"":k;return t.prototype.$swal({animation:s,toast:n,position:r,showConfirmButton:p,icon:u,showCloseButton:h,title:w,timer:_,showCancelButton:A,confirmButtonText:x,cancelButtonText:C,text:O})},t.prototype.$wpms_error_toast=function(e){var i=e.animation,s=void 0!==i&&i,a=e.toast,n=void 0===a||a,o=e.position,r=void 0===o?"top-end":o,l=e.showConfirmButton,p=void 0!==l&&l,m=e.icon,u=void 0===m?"error":m,d=e.showCloseButton,_=void 0===d||d,f=e.title,h=void 0===f?Object(c["a"])("Could Not Save Changes","wp-mail-smtp"):f,g=e.text,w=void 0===g?"":g;return t.prototype.$swal({animation:s,toast:n,position:r,showConfirmButton:p,icon:u,showCloseButton:_,title:h,text:w,onOpen:function(){t.prototype.$swal.hideLoading()}})},t.prototype.$wpms_error_modal=function(e){var i=e.position,s=void 0===i?"center":i,a=e.width,n=void 0===a?650:a,o=e.showConfirmButton,r=void 0===o||o,l=e.confirmButtonText,p=void 0===l?Object(c["a"])("Return to Mailer Settings","wp-mail-smtp"):l,m=e.customClass,u=void 0===m?{container:"wp-mail-smtp-swal wp-mail-smtp-swal-error"}:m,d=e.showCloseButton,_=void 0===d||d,f=e.title,h=void 0===f?Object(c["a"])("Whoops, we found an issue!","wp-mail-smtp"):f,g=e.subtitle,w=void 0===g?Object(c["a"])("It looks like something went wrong...","wp-mail-smtp"):g,b=e.detailedError,A=void 0===b?"":b;return t.prototype.$swal({position:s,width:n,showConfirmButton:r,confirmButtonText:p,customClass:u,showCloseButton:_,title:h,html:'\n\t\t\t\t\t\t<p class="subtitle">'.concat(w,'</p>\n\t\t\t\t\t\t<div class="detailed-error">\n\t\t\t\t\t\t\t<h3>').concat(Object(c["a"])("Error Message:","wp-mail-smtp"),"</h3>\n\t\t\t\t\t\t\t<div>").concat(A,"</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t"),allowEscapeKey:!1,allowOutsideClick:!1,onOpen:function(){t.prototype.$swal.hideLoading()}})},t.prototype.$required_fields_modal=function(){return t.prototype.$swal({position:"center",width:450,showConfirmButton:!0,confirmButtonText:Object(c["a"])("OK","wp-mail-smtp"),customClass:{container:"wp-mail-smtp-swal wp-mail-smtp-swal-alert"},showCloseButton:!0,title:Object(c["a"])("Heads up!","wp-mail-smtp"),text:Object(c["a"])("Please fill out all the required fields to continue.","wp-mail-smtp"),allowEscapeKey:!1,allowOutsideClick:!1})})}},Bs=zs,Is=i("bc3a"),Ms=i.n(Is),Ds=function(t,e){return new Promise((function(i,s){var a=new FormData;a.append("action","wp_mail_smtp_vue_install_plugin"),a.append("nonce",Os["a"].prototype.$wpms.nonce),a.append("slug",e),Ms.a.post(Os["a"].prototype.$wpms.ajax_url,a).then((function(e){if(e.data.success)t.commit("PLUGIN_INSTALLED",e.data);else{var s="";ie()(e.data,"data[0].message")?s=e.data.data[0].message:ie()(e.data,"data")&&(s=e.data.data),Os["a"].prototype.$wpms_error_modal({subtitle:Object(c["a"])("It looks like the plugin installation failed!","wp-mail-smtp"),detailedError:s})}i(e.data)})).catch((function(t){if(s(t),t.response){var e=t.response;return Os["a"].prototype.$wpms_error_modal({subtitle:Object(c["a"])("It looks like we can't install the plugin.","wp-mail-smtp"),detailedError:Object(c["c"])(Object(c["a"])("%1$s, %2$s","wp-mail-smtp"),e.status,e.statusText)})}Os["a"].prototype.$wpms_error_toast({title:Object(c["a"])("You appear to be offline. Plugin not installed.","wp-mail-smtp")})}))}))},Fs=function(t){return new Promise((function(e,i){var s=new FormData;s.append("action","wp_mail_smtp_vue_get_partner_plugins_info"),s.append("nonce",Os["a"].prototype.$wpms.nonce),Ms.a.post(Os["a"].prototype.$wpms.ajax_url,s).then((function(i){i.data.success?t.commit("PLUGINS_FETCHED",i.data):Os["a"].prototype.$wpms_error_toast({title:Object(c["a"])("Can't fetch plugins information.","wp-mail-smtp")}),e(i.data)})).catch((function(t){if(i(t),t.response){var e=t.response;return Os["a"].prototype.$wpms_error_modal({subtitle:Object(c["a"])("It looks like we can't fetch plugins information.","wp-mail-smtp"),detailedError:Object(c["c"])(Object(c["a"])("%1$s, %2$s","wp-mail-smtp"),e.status,e.statusText)})}Os["a"].prototype.$wpms_error_toast({title:Object(c["a"])("You appear to be offline. Plugin information not retrieved.","wp-mail-smtp")})}))}))},Ns={installPlugin:Ds,fetchPlugins:Fs},Qs=function(t,e){return Ns.installPlugin(t,e)},Ls=function(t){return Ns.fetchPlugins(t)},Ws={installPlugin:Qs,getPlugins:Ls},Us=function(t){return t.plugins},Hs=function(t){return t.plugins.filter((function(t){return"wpforms-lite"!==t.slug}))},Rs=function(t){return t.contact_form_plugin_already_installed},Gs={getField:ut["a"],plugins:Us,partner_plugins:Hs,contact_form_plugin_already_installed:Rs},Vs=(i("d81d"),function(t,e){t.plugins.map((function(i){return i.slug===e.data.slug&&(i.is_installed=e.data.is_installed,i.is_activated=e.data.is_activated),"wpforms-lite"===e.data.slug&&(t.contact_form_plugin_already_installed=!0),i}))}),Ys=function(t,e){t.plugins=e.data.plugins,t.contact_form_plugin_already_installed=e.data.contact_form_plugin_already_installed},Js={updateField:ut["c"],PLUGIN_INSTALLED:Vs,PLUGINS_FETCHED:Ys},Ks={plugins:[],contact_form_plugin_already_installed:!1,smart_contact_form_setting:!0},qs={namespaced:!0,state:Ks,actions:Ws,getters:Gs,mutations:Js},Zs=(i("b64b"),function(t){return new Promise((function(e,i){var s=new FormData;s.append("action","wp_mail_smtp_vue_get_settings"),s.append("nonce",Os["a"].prototype.$wpms.nonce),Ms.a.post(Os["a"].prototype.$wpms.ajax_url,s).then((function(t){t.data.success?e(t.data):i(t.data)})).catch((function(e){if(t.dispatch("$_app/block",!1,{root:!0}),e.response){var i=e.response;return Os["a"].prototype.$wpms_error_modal({subtitle:Object(c["a"])("It looks like we can't load the settings.","wp-mail-smtp"),detailedError:Object(c["c"])(Object(c["a"])("%1$s, %2$s","wp-mail-smtp"),i.status,i.statusText)})}Os["a"].prototype.$wpms_error_toast({title:Object(c["a"])("You appear to be offline.","wp-mail-smtp")})}))}))}),Xs=function(t,e){return new Promise((function(t,i){var s=new FormData;s.append("action","wp_mail_smtp_vue_get_amazon_ses_identities"),s.append("nonce",Os["a"].prototype.$wpms.nonce),!1!==e&&s.append("value",JSON.stringify(e)),Ms.a.post(Os["a"].prototype.$wpms.ajax_url,s).then((function(e){e.data.success?t(e.data):i(e.data)})).catch((function(t){if(t.response){var e=t.response;return Os["a"].prototype.$wpms_error_modal({subtitle:Object(c["a"])("It looks like we can't retrieve Amazon SES Identities.","wp-mail-smtp"),detailedError:Object(c["c"])(Object(c["a"])("%1$s, %2$s","wp-mail-smtp"),e.status,e.statusText)})}Os["a"].prototype.$wpms_error_toast({title:Object(c["a"])("Can't retrieve Amazon SES Identities.","wp-mail-smtp")})}))}))},$s=function(t,e){return new Promise((function(t,i){var s=new FormData;s.append("action","wp_mail_smtp_vue_amazon_ses_identity_registration"),s.append("nonce",Os["a"].prototype.$wpms.nonce),!1!==e.value&&s.append("value",e.value),!1!==e.value&&s.append("type",e.type),Ms.a.post(Os["a"].prototype.$wpms.ajax_url,s).then((function(e){e.data.success?t(e.data):i(e.data)})).catch((function(t){if(t.response){var e=t.response;return Os["a"].prototype.$wpms_error_modal({subtitle:Object(c["a"])("It looks like we can't register the Amazon SES Identity.","wp-mail-smtp"),detailedError:Object(c["c"])(Object(c["a"])("%1$s, %2$s","wp-mail-smtp"),e.status,e.statusText)})}Os["a"].prototype.$wpms_error_toast({title:Object(c["a"])("Can't register the Amazon SES Identity","wp-mail-smtp")})}))}))},ta=function(t,e){return new Promise((function(t){var i=new FormData;i.append("action","wp_mail_smtp_vue_update_settings"),i.append("nonce",Os["a"].prototype.$wpms.nonce),void 0!==e.overwrite&&i.append("overwrite",e.overwrite),!1!==e.value&&i.append("value",JSON.stringify(e.value)),Ms.a.post(Os["a"].prototype.$wpms.ajax_url,i).then((function(e){t(e.data)})).catch((function(t){if(t.response){var e=t.response;return Os["a"].prototype.$wpms_error_modal({subtitle:Object(c["a"])("It looks like we can't save the settings.","wp-mail-smtp"),detailedError:Object(c["c"])(Object(c["a"])("%1$s, %2$s","wp-mail-smtp"),e.status,e.statusText)})}Os["a"].prototype.$wpms_error_toast({title:Object(c["a"])("Network error encountered. Settings not saved.","wp-mail-smtp")})}))}))},ea=function(t,e){return new Promise((function(t){var i=new FormData;i.append("action","wp_mail_smtp_vue_import_settings"),i.append("nonce",Os["a"].prototype.$wpms.nonce),!1!==e.value&&i.append("value",e.value),Ms.a.post(Os["a"].prototype.$wpms.ajax_url,i).then((function(e){t(e.data)})).catch((function(t){if(t.response){var e=t.response;return Os["a"].prototype.$wpms_error_modal({subtitle:Object(c["a"])("It looks like we can't import the plugin settings.","wp-mail-smtp"),detailedError:Object(c["c"])(Object(c["a"])("%1$s, %2$s","wp-mail-smtp"),e.status,e.statusText)})}Os["a"].prototype.$wpms_error_toast({title:Object(c["a"])("Network error encountered. SMTP plugin import failed!","wp-mail-smtp")})}))}))},ia=function(t,e){return new Promise((function(i,s){var a=new FormData;a.append("action","wp_mail_smtp_vue_get_oauth_url"),a.append("nonce",Os["a"].prototype.$wpms.nonce),!1!==t&&a.append("mailer",t),!1!==e&&a.append("settings",JSON.stringify(e)),Ms.a.post(Os["a"].prototype.$wpms.ajax_url,a).then((function(t){t.data.success?i(t.data):s(t.data)})).catch((function(t){if(t.response){var e=t.response;return Os["a"].prototype.$wpms_error_modal({subtitle:Object(c["a"])("It looks like we can't load authentication details.","wp-mail-smtp"),detailedError:Object(c["c"])(Object(c["a"])("%1$s, %2$s","wp-mail-smtp"),e.status,e.statusText)})}Os["a"].prototype.$wpms_error_toast({title:Object(c["a"])("You appear to be offline.","wp-mail-smtp")})}))}))},sa=function(t){return new Promise((function(e,i){var s=new FormData;s.append("action","wp_mail_smtp_vue_remove_oauth_connection"),s.append("nonce",Os["a"].prototype.$wpms.nonce),!1!==t&&s.append("mailer",t),Ms.a.post(Os["a"].prototype.$wpms.ajax_url,s).then((function(t){t.data.success?e(t.data):i(t.data)})).catch((function(t){if(t.response){var e=t.response;return Os["a"].prototype.$wpms_error_modal({subtitle:Object(c["a"])("It looks like we can't remove oAuth connection.","wp-mail-smtp"),detailedError:Object(c["c"])(Object(c["a"])("%1$s, %2$s","wp-mail-smtp"),e.status,e.statusText)})}Os["a"].prototype.$wpms_error_toast({title:Object(c["a"])("You appear to be offline.","wp-mail-smtp")})}))}))},aa=function(t){return new Promise((function(e,i){var s=new FormData;s.append("action","wp_mail_smtp_vue_get_connected_data"),s.append("nonce",Os["a"].prototype.$wpms.nonce),!1!==t&&s.append("mailer",t),Ms.a.post(Os["a"].prototype.$wpms.ajax_url,s).then((function(t){t.data.success?e(t.data):i(t.data)})).catch((function(t){if(t.response){var e=t.response;return Os["a"].prototype.$wpms_error_modal({subtitle:Object(c["a"])("It looks like we can't load oAuth connected data.","wp-mail-smtp"),detailedError:Object(c["c"])(Object(c["a"])("%1$s, %2$s","wp-mail-smtp"),e.status,e.statusText)})}Os["a"].prototype.$wpms_error_toast({title:Object(c["a"])("You appear to be offline.","wp-mail-smtp")})}))}))},na=function(t){return new Promise((function(e){var i=new FormData;i.append("action","wp_mail_smtp_vue_subscribe_to_newsletter"),i.append("nonce",Os["a"].prototype.$wpms.nonce),i.append("email",t),Ms.a.post(Os["a"].prototype.$wpms.ajax_url,i).then((function(t){e(t.data)}))}))},oa=function(t){return new Promise((function(e){var i=new FormData;i.append("action","wp_mail_smtp_vue_verify_license_key"),i.append("nonce",Os["a"].prototype.$wpms.nonce),i.append("license_key",t),Ms.a.post(Os["a"].prototype.$wpms.ajax_url,i).then((function(t){e(t.data)}))}))},ra=function(t){return new Promise((function(e){var i=new FormData;i.append("action","wp_mail_smtp_vue_upgrade_plugin"),i.append("nonce",Os["a"].prototype.$wpms.nonce),i.append("license_key",t),Ms.a.post(Os["a"].prototype.$wpms.ajax_url,i).then((function(t){e(t.data)}))}))},la={fetchSettings:Zs,saveSettings:ta,importOtherPluginSettings:ea,fetchAmazonSESIdentities:Xs,amazonSESRegisterIdentity:$s,getAuthRedirect:ia,removeAuth:sa,getConnectedData:aa,subscribeToNewsletter:na,verifyLicense:oa,upgradePlugin:ra},ca=function(t){return la.fetchSettings(t).then((function(e){t.commit("SETTINGS_UPDATED",e.data)})).catch((function(t){if(t.data)return Os["a"].prototype.$wpms_error_modal({subtitle:Object(c["a"])("It looks like we can't load existing settings.","wp-mail-smtp"),detailedError:t.data})}))},pa=function(t){var e=t.getters.settings.amazonses;if(0!==Object.keys(e).length)return la.fetchAmazonSESIdentities(t,e).then((function(e){t.commit("AMAZONSES_IDENTITIES_UPDATED",e),Os["a"].swal.close()})).catch((function(t){Os["a"].prototype.$wpms_error_modal({subtitle:Object(c["a"])("It looks like we can't retrieve the Amazon SES Identities.","wp-mail-smtp"),detailedError:t.data?t.data:""})}))},ma=function(t,e){return la.amazonSESRegisterIdentity(t,e).catch((function(t){Os["a"].prototype.$wpms_error_modal({subtitle:Object(c["a"])("It looks like we can't register the Amazon SES Identity.","wp-mail-smtp"),detailedError:t.data})}))},ua=function(t,e){t.commit("MAILER_UPDATE",e)},da=function(t,e){return new Promise((function(i){t.commit("LOGS_UPDATE",e),i({success:!0})}))},_a=function(t,e){t.commit("SETTINGS_SAVE_START");var i=la.saveSettings(t,e);return i.then((function(){t.commit("SETTINGS_SAVE_END")})),i},fa=function(t){var e=t.getters.settings;t.commit("SETTINGS_SAVE_START");var i=la.saveSettings(t,{value:e});return i.then((function(){t.commit("SETTINGS_SAVE_END")})),i},ha=function(t,e){return t.commit("SETTINGS_SAVE_START"),new Promise((function(i){la.importOtherPluginSettings(t,e).then((function(e){t.commit("SETTINGS_SAVE_END"),e.success?ca(t).then((function(){i(!0)})):i(!1)}))}))},ga=function(t,e){return la.getAuthRedirect(e,t.getters.settings[e]).catch((function(t){Os["a"].prototype.$wpms_error_modal({subtitle:Object(c["a"])("It looks like we can't load oAuth redirect.","wp-mail-smtp"),detailedError:t.data})}))},wa=function(t,e){return la.getConnectedData(e).catch((function(t){Os["a"].prototype.$wpms_error_modal({subtitle:Object(c["a"])("It looks like we can't load oAuth connected data.","wp-mail-smtp"),detailedError:t.data})}))},ba=function(t,e){return la.removeAuth(e).then((function(){t.commit("SETTINGS_REMOVE_AUTH",e)})).catch((function(t){Os["a"].prototype.$wpms_error_modal({subtitle:Object(c["a"])("It looks like we can't remove oAuth connection.","wp-mail-smtp"),detailedError:t.data})}))},Aa=function(t,e){return new Promise((function(i){t.commit("SETTINGS_SAVE_PLUGIN_FEATURES",e),i({success:!0,features:e})}))},va=function(t,e){return la.subscribeToNewsletter(e)},xa=function(t,e){return la.verifyLicense(e)},ya=function(t,e){return la.upgradePlugin(e)},Ca={getSettings:ca,updateSettings:_a,importOtherPlugin:ha,setMailer:ua,setLogs:da,saveCurrentSettings:fa,getAmazonSESIdentities:pa,amazonSESRegisterIdentity:ma,getAuthUrl:ga,removeAuth:ba,getConnectedData:wa,savePluginFeatures:Aa,subscribeToNewsletter:va,verifyLicense:xa,upgradePlugin:ya},ka=(i("4160"),i("1276"),i("159b"),function(t){return t.settings}),Oa=function(t){return t.settings.mail.mailer},ja=function(t){return t.settings.outlook.user_details?t.settings.outlook.user_details.email:null},Sa=function(t){return t.settings.zoho.user_details?t.settings.zoho.user_details.email:null},Pa=function(t){return t.plugin_features},Ea=function(t){return!!t.settings.logs.enabled&&t.settings.logs.enabled},Ta=function(t){return function(e){var i=!1,s=t.amazonses_identities.data,a=e.split("@").pop();return void 0!==s&&(s.forEach((function(t){("email"===t.type&&t.value===e||"domain"===t.type&&t.value===a)&&(i=!0)})),i)}},za={getField:ut["a"],settings:ka,mailer:Oa,outlook_email:ja,zoho_email:Sa,plugin_features:Pa,amazonses_is_email_registered:Ta,email_log_enabled:Ea},Ba=i("da81"),Ia=i.n(Ba),Ma=function(t,e){t.is_saving=!1,t.settings=Ia()(t.settings,e)},Da=function(t,e){t.amazonses_identities=e.data},Fa=function(t,e){t.settings.mail.mailer=e},Na=function(t,e){t.settings.logs.enabled=e},Qa=function(t){t.is_saving=!0},La=function(t){t.is_saving=!1},Wa=function(t,e){var i=t.settings[e];t.settings[e]={client_id:i.client_id,client_secret:i.client_secret},"zoho"===e&&(t.settings[e].domain=i.domain)},Ua=function(t,e){t.plugin_features=e},Ha={updateField:ut["c"],SETTINGS_UPDATED:Ma,SETTINGS_SAVE_START:Qa,SETTINGS_SAVE_END:La,MAILER_UPDATE:Fa,LOGS_UPDATE:Na,AMAZONSES_IDENTITIES_UPDATED:Da,SETTINGS_REMOVE_AUTH:Wa,SETTINGS_SAVE_PLUGIN_FEATURES:Ua},Ra={settings:{mail:{mailer:"mail",from_email:"",from_name:"",return_path:!1,from_email_force:!0,from_name_force:!1},smtp:{host:"",port:"587",encryption:"tls",autotls:!0,auth:!0,user:"",pass:""},smtpcom:{api_key:"",channel:""},sendinblue:{api_key:"",domain:""},mailgun:{api_key:"",domain:"",region:"US"},sendgrid:{api_key:"",domain:""},amazonses:{client_id:"",client_secret:"",region:"us-east-1"},gmail:{client_id:"",client_secret:"",access_token:{},refresh_token:""},outlook:{client_id:"",client_secret:"",access_token:{},refresh_token:"",user_details:{email:""}},zoho:{client_id:"",client_secret:"",domain:"com",access_token:{},refresh_token:"",user_details:{email:""}},logs:{enabled:!1}},amazonses_identities:{},plugin_features:[]},Ga={namespaced:!0,state:Ra,actions:Ca,getters:za,mutations:Ha},Va=function(){return new Promise((function(t){var e=new FormData;e.append("action","wp_mail_smtp_vue_check_mailer_configuration"),e.append("nonce",Os["a"].prototype.$wpms.nonce),Ms.a.post(Os["a"].prototype.$wpms.ajax_url,e).then((function(e){t(e.data)})).catch((function(t){if(t.response){var e=t.response;return Os["a"].prototype.$wpms_error_modal({subtitle:Object(c["a"])("It looks like we can't perform the mailer configuration check.","wp-mail-smtp"),detailedError:Object(c["c"])(Object(c["a"])("%1$s, %2$s","wp-mail-smtp"),e.status,e.statusText)})}Os["a"].prototype.$wpms_error_toast({title:Object(c["a"])("You appear to be offline.","wp-mail-smtp")})}))}))},Ya=function(t){var e=new FormData;e.append("action","wp_mail_smtp_vue_send_feedback"),e.append("nonce",Os["a"].prototype.$wpms.nonce),e.append("data",JSON.stringify(t)),Ms.a.post(Os["a"].prototype.$wpms.ajax_url,e).catch((function(t){if(t.response){var e=t.response;return Os["a"].prototype.$wpms_error_modal({subtitle:Object(c["a"])("It looks like we can't send the feedback.","wp-mail-smtp"),detailedError:Object(c["c"])(Object(c["a"])("%1$s, %2$s","wp-mail-smtp"),e.status,e.statusText)})}Os["a"].prototype.$wpms_error_toast({title:Object(c["a"])("You appear to be offline.","wp-mail-smtp")})}))},Ja={checkMailerConfiguration:Va,sendFeedback:Ya},Ka=function(){return Ja.checkMailerConfiguration()},qa=function(t,e){Ja.sendFeedback(e)},Za={checkMailerConfiguration:Ka,sendFeedback:qa},Xa=function(t){return t.blocked_step},$a={getField:ut["a"],blocked_step:Xa},tn={updateField:ut["c"]},en={blocked_step:!1},sn={namespaced:!0,state:en,actions:Za,getters:$a,mutations:tn},an=function(t){t.commit("INIT")},nn=function(t){t.commit("BLOCK_APP")},on=function(t){t.commit("UNBLOCK_APP")},rn=function(t){t.commit("APP_LOADING_START")},ln=function(t){t.commit("APP_LOADING_STOP")},cn={init:an,block:nn,unblock:on,start_loading:rn,stop_loading:ln},pn=function(t){return t.blocked},mn=function(t){return t.loading},un=function(t){return t.wpms},dn={blocked:pn,loading:mn,wpms:un},_n=function(){},fn=function(t){t.blocked=!0},hn=function(t){t.blocked=!1},gn=function(t){t.loading=!0},wn=function(t){t.loading=!1},bn={INIT:_n,BLOCK_APP:fn,UNBLOCK_APP:hn,APP_LOADING_START:gn,APP_LOADING_STOP:wn},An={blocked:!1,loading:!1,wpms:window.wp_mail_smtp_vue?window.wp_mail_smtp_vue:{}},vn={namespaced:!0,state:An,actions:cn,getters:dn,mutations:bn},xn=function(t){t.subscribe((function(e,i){if("$_app/INIT"===e.type){var s=i["$_app"].wpms.versions,a="",n="";s.php_version_below_55?(a=Object(c["a"])("Yikes! PHP Update Required","wp-mail-smtp"),n=Object(c["c"])(Object(c["a"])("WP Mail SMTP 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.","wp-mail-smtp"),s.php_version,"7.4")):s.php_version_below_56?(a=Object(c["a"])("Yikes! PHP Update Required","wp-mail-smtp"),n=Object(c["c"])(Object(c["a"])("WP Mail SMTP has detected that your site is running an outdated, insecure version of PHP (%1$s). Some mailers require at least PHP version 5.6. Updating to the recommended version (PHP %2$s) only takes a few minutes and will make your website significantly faster and more secure.","wp-mail-smtp"),s.php_version,"7.4")):s.wp_version_below_49&&(a=Object(c["a"])("Yikes! WordPress Update Required","wp-mail-smtp"),n=Object(c["c"])(Object(c["a"])("WP Mail SMTP has detected that your site is running an outdated version of WordPress (%s). WP Mail SMTP requires at least WordPress version 4.9.","wp-mail-smtp"),s.wp_version)),Os["a"].prototype.$swal&&a.length&&(t.dispatch("$_app/block"),Os["a"].prototype.$swal.close(),Os["a"].prototype.$swal({title:a,html:"<p>".concat(n,'</p><p><a href="').concat(Os["a"].prototype.$wpms.exit_url,'">').concat(Object(c["a"])("Return to Plugin Settings","wp-mail-smtp"),"</a></p>"),customClass:{container:"wp-mail-smtp-swal wp-mail-smtp-swal-alert"},allowOutsideClick:!1,allowEscapeKey:!1,allowEnterKey:!1,showConfirmButton:!1,onOpen:function(){Os["a"].prototype.$swal.hideLoading()}}))}}))},yn=xn;Os["a"].use(nt["a"]);var Cn=[yn],kn=new nt["a"].Store({modules:{$_app:vn,$_plugins:qs,$_settings:Ga,$_wizard:sn},plugins:Cn}),On=i("e37d"),jn=(i("6c6b"),i("6d5e")),Sn=document.getElementById("wp-mail-smtp-vue-setup-wizard");Os["a"].config.productionTip=!1,i.p=window.wp_mail_smtp_vue.public_url,Os["a"].use(jn["InlineSvgPlugin"]),Os["a"].use(o["a"]),Os["a"].use(js["a"]),Os["a"].use(On["a"],{defaultTemplate:'<div class="wp-mail-smtp-tooltip" role="tooltip"><div class="wp-mail-smtp-tooltip-arrow"></div><div class="wp-mail-smtp-tooltip-inner"></div></div>',defaultArrowSelector:".wp-mail-smtp-tooltip-arrow, .wp-mail-smtp-tooltip__arrow",defaultInnerSelector:".wp-mail-smtp-tooltip-inner, .wp-mail-smtp-tooltip__inner"}),Os["a"].use(Ts),Object(c["b"])(window.wp_mail_smtp_vue.translations,"wp-mail-smtp");var Pn={install:function(t){t.prototype.$wizard_steps=[],t.prototype.$wpms&&t.prototype.$wpms.other_smtp_plugins.length>0&&t.prototype.$wizard_steps.push("import_step"),t.prototype.$wizard_steps.push("choose_mailer_step"),t.prototype.$wizard_steps.push("configure_mailer_step"),t.prototype.$wizard_steps.push("plugin_features_step"),t.prototype.$wpms&&!t.prototype.$wpms.is_pro&&t.prototype.$wizard_steps.push("help_improve_step"),t.prototype.$wizard_steps.push("license_step"),t.prototype.$wizard_steps.push("check_configuration_step")}};Os["a"].use(Pn),Os["a"].use(Bs),new Os["a"]({store:kn,mounted:function(){kn.dispatch("$_app/init")},render:function(t){return t(ks)}}).$mount(Sn)},"9f86":function(t,e){t.exports="data:image/png;base64,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"},"9fec":function(t,e,i){},a1c2:function(t,e){t.exports="data:image/png;base64,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"},b0d2:function(t,e,i){},b1c2:function(t,e,i){t.exports=i.p+"img/sendgrid.svg"},b32f:function(t,e,i){t.exports=i.p+"img/lock-solid.svg"},b98f:function(t,e,i){t.exports=i.p+"img/wp-smtp.png"},ba75:function(t,e,i){"use strict";i("b0d2")},bbc2:function(t,e,i){var s={"./all-in-one-seo-pack.png":"9da7","./all-in-one-seo-pack@2x.png":"2cf42","./coming-soon.png":"d686","./coming-soon@2x.png":"9f86","./google-analytics-for-wordpress.png":"c2d9","./google-analytics-for-wordpress@2x.png":"82f2","./instagram-feed.png":"e0ed","./instagram-feed@2x.png":"877f","./rafflepress.png":"d3f3","./rafflepress@2x.png":"a1c2","./wp-call-button.png":"2adc","./wp-call-button@2x.png":"1532"};function a(t){var e=n(t);return i(e)}function n(t){if(!i.o(s,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return s[t]}a.keys=function(){return Object.keys(s)},a.resolve=n,t.exports=a,a.id="bbc2"},c2d9:function(t,e){t.exports="data:image/png;base64,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"},c869:function(t,e,i){t.exports=i.p+"img/loading-pattie.svg"},cc99:function(t,e,i){},d3f3:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAIKADAAQAAAABAAAAIAAAAACPTkDJAAAFG0lEQVRYCaVXa0xcRRQ+M/exsJTFUgOCpawGLU9taBuB1kdqjRQxwWhMQNPaNqExjTXGgk3sDxOLptb+ayRVafyDRVJfNAImPtpQCdSaKK8mDW1poU2BQq0sLNzde8e5d5m7d+5ddhc9f+acb86c883MnTNzEfwHCbz1dDnM+ZpxwJ/qu3NbE7wFfVKKZ4frva/7lhsOLWcASyyoSiobNzM6zFQQ8kv+XC6RuAgEP9j+Erkx3CQs+D1mNqqonlXgT3sAyK8tVhjE4i3Dck7hTml3wzmuI4IRlYAxY8X/FZeYaBDMzAGx5h1AuRthcnYehMnrILV+DKSnHWDuHzONTkR0iS9G25qIBEhFRnbgobU/ibN3c8xoNLHqLQCx9jBA2moT1gkwwbN3QW7/FEjbcZ5IybZO99nWanQG/ma+rHUQUOoqmvHUWA3GAvMBNTvPkZh1WgkwDFEiLp1IyxEGAVqVoUiPPP5+4oGmQyZIFZOAsdwz09/TtDJz0EQJ8JvHjKVmmL2NRID5GFtzbB+QgW4GAfbm3ZIzsp5l22IQUA+9Ug9X+g+jxVkTjQDZWgNCdZ05UO3rArX3R8AFJSCWVZq4lYD8eyfga4OgFZSCkldm+sgXOgE1vQswMRrC3B4il5bXJtY3fW4QCOxapwoYYWD7fLDZHKwrCwcqQRofASTSxVGDQN4+TomUGj6MgHB1AMT9W8xx6LEKmK//wrR1xdVKt+R06PtAqenznpPDiVjvMJLTVttYDqItebCxDuSpm6HkhrMIcO2irnEizM9wNulth8SOzzhs4WW6orsbDIxMjyfoCg68kLmZeaGsh5kabvu7wvqipkUgAOPXHX7Q84MDI+lrOAyrsryBQ2wGIsSGUJOuiEMmnAQijOSG+Z5JWmdsAYfaDHJ/uBTYujgTI/NAhfFCc3HDmEUjAronJgG8fqtlSEglk2NO7KrzHtK8hQ4/OxCbwLadALZtwEq4+rGAeDZcgg3M7QGFftSxJCYBPYDqzefi4AU/Z+uGZik2Rufzexw+kYC4CBj1n9YIUwR6FH3hsq6XXk702T9Xy0FLGTRSHEIvH3VTFQjdbaazureM7owGrgnniSD0rJOkFNM3mhLXCmiX+0Dt+oaLg+UEEFxuDmMGohVPHBlk5pJtcqfvDBYU5cKSHosdgYZXQdaXPV6hRUn4aEdc3lj69ua5aJ7aHz8vLzkLRknEswoxt0C7eJ6FNFr9ptSvabsIRZsApWVxMB78jbMjGRwBMnrJ6TMywGH4w9MgNPaCakkmV70OSUc6IPkTPqHjdNBIyHZnGASISqdFBZ/vgCDd76jiXmF0E8G5CvZxyFaeE04dBThx0HBDK9OMamZ8WcG01Uel22P7gT5IhJEhUGvXA6raC7hilz0mBPY9SY+YByT97C9+mMp3jaBe6QfNNjttsYKKQ90g0sSEvhkMSUwmUvFTb0DLZf5Jhnx32jAh5tTUlHsB0r0gXFr6oFj/C+xsSWUt4LkZIL+cNLtwdu4tOXMN/yQze6kSepTeoI9S7vOwunB6NAJWR5R6nyI9+sTSj1Krs/4sV9bmn5VmprOteCQ9JgG63GLuhjZ3T9trcT3LrUmMl/KC7xQtVklW3KpHIyAUbR6SVrir2QvYOo7pEV4RrCvc6r9m2ujwCTHgTw6jIS0SAT2xK694z//+NbMni0TESoD+nP5Ff063R5uxPWZcK2AfpG8NmfN9KQTmV/qmxlXhwaKB5SZmMf8F4cLeesegrcIAAAAASUVORK5CYII="},d51e:function(t,e,i){t.exports=i.p+"img/copy-solid.svg"},d686:function(t,e){t.exports="data:image/png;base64,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"},da18:function(t,e,i){},ddc9:function(t,e,i){t.exports=i.p+"img/gmail.svg"},e0ed:function(t,e){t.exports="data:image/png;base64,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"},e108:function(t,e,i){t.exports=i.p+"img/check-circle-solid-white.svg"},e8f2:function(t,e,i){},f8b1:function(t,e,i){"use strict";i("9fec")}});
{vendor/paragonie → libs}/sodium_compat/LICENSE RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/autoload-php7.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/autoload.php RENAMED
@@ -61,8 +61,5 @@ if (PHP_VERSION_ID < 70200 || !extension_loaded('sodium')) {
61
  } else {
62
  assert(class_exists('ParagonIE_Sodium_Compat'));
63
  }
64
- require_once(dirname(__FILE__) . '/lib/php72compat.php');
65
- } elseif (!function_exists('sodium_crypto_stream_xchacha20_xor')) {
66
- // Older versions of {PHP, ext/sodium} will not define these
67
- require_once(dirname(__FILE__) . '/lib/php72compat.php');
68
  }
61
  } else {
62
  assert(class_exists('ParagonIE_Sodium_Compat'));
63
  }
64
+ require_once (dirname(__FILE__) . '/lib/php72compat.php');
 
 
 
65
  }
{vendor/paragonie → libs}/sodium_compat/lib/constants.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/lib/namespaced.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/lib/php72compat.php RENAMED
@@ -94,8 +94,6 @@ foreach (array(
94
  'CRYPTO_SIGN_KEYPAIRBYTES',
95
  'CRYPTO_STREAM_KEYBYTES',
96
  'CRYPTO_STREAM_NONCEBYTES',
97
- 'CRYPTO_STREAM_XCHACHA20_KEYBYTES',
98
- 'CRYPTO_STREAM_XCHACHA20_NONCEBYTES',
99
  'LIBRARY_MAJOR_VERSION',
100
  'LIBRARY_MINOR_VERSION',
101
  'LIBRARY_VERSION_MAJOR',
@@ -1218,7 +1216,6 @@ if (!is_callable('sodium_crypto_stream_xor')) {
1218
  return ParagonIE_Sodium_Compat::crypto_stream_xor($message, $nonce, $key);
1219
  }
1220
  }
1221
- require_once dirname(__FILE__) . '/stream-xchacha20.php';
1222
  if (!is_callable('sodium_hex2bin')) {
1223
  /**
1224
  * @see ParagonIE_Sodium_Compat::hex2bin()
94
  'CRYPTO_SIGN_KEYPAIRBYTES',
95
  'CRYPTO_STREAM_KEYBYTES',
96
  'CRYPTO_STREAM_NONCEBYTES',
 
 
97
  'LIBRARY_MAJOR_VERSION',
98
  'LIBRARY_MINOR_VERSION',
99
  'LIBRARY_VERSION_MAJOR',
1216
  return ParagonIE_Sodium_Compat::crypto_stream_xor($message, $nonce, $key);
1217
  }
1218
  }
 
1219
  if (!is_callable('sodium_hex2bin')) {
1220
  /**
1221
  * @see ParagonIE_Sodium_Compat::hex2bin()
{vendor/paragonie → libs}/sodium_compat/lib/php72compat_const.php RENAMED
@@ -88,5 +88,3 @@ const SODIUM_CRYPTO_SIGN_SECRETKEYBYTES = 64;
88
  const SODIUM_CRYPTO_SIGN_KEYPAIRBYTES = 96;
89
  const SODIUM_CRYPTO_STREAM_KEYBYTES = 32;
90
  const SODIUM_CRYPTO_STREAM_NONCEBYTES = 24;
91
- const SODIUM_CRYPTO_STREAM_XCHACHA20_KEYBYTES = 32;
92
- const SODIUM_CRYPTO_STREAM_XCHACHA20_NONCEBYTES = 24;
88
  const SODIUM_CRYPTO_SIGN_KEYPAIRBYTES = 96;
89
  const SODIUM_CRYPTO_STREAM_KEYBYTES = 32;
90
  const SODIUM_CRYPTO_STREAM_NONCEBYTES = 24;
 
 
{vendor/paragonie → libs}/sodium_compat/lib/sodium_compat.php RENAMED
@@ -391,8 +391,7 @@ if (!is_callable('\\Sodium\\crypto_kx')) {
391
  $my_secret,
392
  $their_public,
393
  $client_public,
394
- $server_public,
395
- true
396
  );
397
  }
398
  }
391
  $my_secret,
392
  $their_public,
393
  $client_public,
394
+ $server_public
 
395
  );
396
  }
397
  }
{vendor/paragonie → libs}/sodium_compat/namespaced/Compat.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/namespaced/Core/BLAKE2b.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/namespaced/Core/ChaCha20.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/namespaced/Core/ChaCha20/Ctx.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/namespaced/Core/ChaCha20/IetfCtx.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/namespaced/Core/Curve25519.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/namespaced/Core/Curve25519/Fe.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/namespaced/Core/Curve25519/Ge/Cached.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/namespaced/Core/Curve25519/Ge/P1p1.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/namespaced/Core/Curve25519/Ge/P2.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/namespaced/Core/Curve25519/Ge/P3.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/namespaced/Core/Curve25519/Ge/Precomp.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/namespaced/Core/Curve25519/H.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/namespaced/Core/Ed25519.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/namespaced/Core/HChaCha20.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/namespaced/Core/HSalsa20.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/namespaced/Core/Poly1305.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/namespaced/Core/Poly1305/State.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/namespaced/Core/Salsa20.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/namespaced/Core/SipHash.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/namespaced/Core/Util.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/namespaced/Core/X25519.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/namespaced/Core/XChaCha20.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/namespaced/Core/Xsalsa20.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/namespaced/Crypto.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/namespaced/File.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Compat.php RENAMED
@@ -135,8 +135,6 @@ class ParagonIE_Sodium_Compat
135
  const CRYPTO_SIGN_KEYPAIRBYTES = 96;
136
  const CRYPTO_STREAM_KEYBYTES = 32;
137
  const CRYPTO_STREAM_NONCEBYTES = 24;
138
- const CRYPTO_STREAM_XCHACHA20_KEYBYTES = 32;
139
- const CRYPTO_STREAM_XCHACHA20_NONCEBYTES = 24;
140
 
141
  /**
142
  * Add two numbers (little-endian unsigned), storing the value in the first
@@ -729,9 +727,7 @@ class ParagonIE_Sodium_Compat
729
  ) {
730
  /* Type checks: */
731
  ParagonIE_Sodium_Core_Util::declareScalarType($plaintext, 'string', 1);
732
- if (!is_null($assocData)) {
733
- ParagonIE_Sodium_Core_Util::declareScalarType($assocData, 'string', 2);
734
- }
735
  ParagonIE_Sodium_Core_Util::declareScalarType($nonce, 'string', 3);
736
  ParagonIE_Sodium_Core_Util::declareScalarType($key, 'string', 4);
737
 
@@ -818,11 +814,7 @@ class ParagonIE_Sodium_Compat
818
  ) {
819
  /* Type checks: */
820
  ParagonIE_Sodium_Core_Util::declareScalarType($ciphertext, 'string', 1);
821
- if (!is_null($assocData)) {
822
- ParagonIE_Sodium_Core_Util::declareScalarType($assocData, 'string', 2);
823
- } else {
824
- $assocData = '';
825
- }
826
  ParagonIE_Sodium_Core_Util::declareScalarType($nonce, 'string', 3);
827
  ParagonIE_Sodium_Core_Util::declareScalarType($key, 'string', 4);
828
 
@@ -893,11 +885,7 @@ class ParagonIE_Sodium_Compat
893
  ) {
894
  /* Type checks: */
895
  ParagonIE_Sodium_Core_Util::declareScalarType($plaintext, 'string', 1);
896
- if (!is_null($assocData)) {
897
- ParagonIE_Sodium_Core_Util::declareScalarType($assocData, 'string', 2);
898
- } else {
899
- $assocData = '';
900
- }
901
  ParagonIE_Sodium_Core_Util::declareScalarType($nonce, 'string', 3);
902
  ParagonIE_Sodium_Core_Util::declareScalarType($key, 'string', 4);
903
 
@@ -1700,13 +1688,12 @@ class ParagonIE_Sodium_Compat
1700
  * @param string $their_public
1701
  * @param string $client_public
1702
  * @param string $server_public
1703
- * @param bool $dontFallback
1704
  * @return string
1705
  * @throws SodiumException
1706
  * @throws TypeError
1707
  * @psalm-suppress MixedArgument
1708
  */
1709
- public static function crypto_kx($my_secret, $their_public, $client_public, $server_public, $dontFallback = false)
1710
  {
1711
  /* Type checks: */
1712
  ParagonIE_Sodium_Core_Util::declareScalarType($my_secret, 'string', 1);
@@ -1728,7 +1715,7 @@ class ParagonIE_Sodium_Compat
1728
  throw new SodiumException('Argument 4 must be CRYPTO_BOX_PUBLICKEYBYTES long.');
1729
  }
1730
 
1731
- if (self::useNewSodiumAPI() && !$dontFallback) {
1732
  if (is_callable('sodium_crypto_kx')) {
1733
  return (string) sodium_crypto_kx(
1734
  $my_secret,
@@ -3063,103 +3050,6 @@ class ParagonIE_Sodium_Compat
3063
  return random_bytes(self::CRYPTO_STREAM_KEYBYTES);
3064
  }
3065
 
3066
-
3067
- /**
3068
- * Expand a key and nonce into a keystream of pseudorandom bytes.
3069
- *
3070
- * @param int $len Number of bytes desired
3071
- * @param string $nonce Number to be used Once; must be 24 bytes
3072
- * @param string $key XChaCha20 key
3073
- * @param bool $dontFallback
3074
- * @return string Pseudorandom stream that can be XORed with messages
3075
- * to provide encryption (but not authentication; see
3076
- * Poly1305 or crypto_auth() for that, which is not
3077
- * optional for security)
3078
- * @throws SodiumException
3079
- * @throws TypeError
3080
- * @psalm-suppress MixedArgument
3081
- */
3082
- public static function crypto_stream_xchacha20($len, $nonce, $key, $dontFallback = false)
3083
- {
3084
- /* Type checks: */
3085
- ParagonIE_Sodium_Core_Util::declareScalarType($len, 'int', 1);
3086
- ParagonIE_Sodium_Core_Util::declareScalarType($nonce, 'string', 2);
3087
- ParagonIE_Sodium_Core_Util::declareScalarType($key, 'string', 3);
3088
-
3089
- /* Input validation: */
3090
- if (ParagonIE_Sodium_Core_Util::strlen($nonce) !== self::CRYPTO_STREAM_XCHACHA20_NONCEBYTES) {
3091
- throw new SodiumException('Argument 2 must be CRYPTO_SECRETBOX_XCHACHA20_NONCEBYTES long.');
3092
- }
3093
- if (ParagonIE_Sodium_Core_Util::strlen($key) !== self::CRYPTO_STREAM_XCHACHA20_KEYBYTES) {
3094
- throw new SodiumException('Argument 3 must be CRYPTO_STREAM_XCHACHA20_KEYBYTES long.');
3095
- }
3096
-
3097
- if (self::useNewSodiumAPI() && !$dontFallback) {
3098
- return sodium_crypto_stream_xchacha20($len, $nonce, $key);
3099
- }
3100
- if (PHP_INT_SIZE === 4) {
3101
- return ParagonIE_Sodium_Core32_XChaCha20::stream($len, $nonce, $key);
3102
- }
3103
- return ParagonIE_Sodium_Core_XChaCha20::stream($len, $nonce, $key);
3104
- }
3105
-
3106
- /**
3107
- * DANGER! UNAUTHENTICATED ENCRYPTION!
3108
- *
3109
- * Unless you are following expert advice, do not used this feature.
3110
- *
3111
- * Algorithm: XChaCha20
3112
- *
3113
- * This DOES NOT provide ciphertext integrity.
3114
- *
3115
- * @param string $message Plaintext message
3116
- * @param string $nonce Number to be used Once; must be 24 bytes
3117
- * @param string $key Encryption key
3118
- * @return string Encrypted text which is vulnerable to chosen-
3119
- * ciphertext attacks unless you implement some
3120
- * other mitigation to the ciphertext (i.e.
3121
- * Encrypt then MAC)
3122
- * @param bool $dontFallback
3123
- * @throws SodiumException
3124
- * @throws TypeError
3125
- * @psalm-suppress MixedArgument
3126
- */
3127
- public static function crypto_stream_xchacha20_xor($message, $nonce, $key, $dontFallback = false)
3128
- {
3129
- /* Type checks: */
3130
- ParagonIE_Sodium_Core_Util::declareScalarType($message, 'string', 1);
3131
- ParagonIE_Sodium_Core_Util::declareScalarType($nonce, 'string', 2);
3132
- ParagonIE_Sodium_Core_Util::declareScalarType($key, 'string', 3);
3133
-
3134
- /* Input validation: */
3135
- if (ParagonIE_Sodium_Core_Util::strlen($nonce) !== self::CRYPTO_STREAM_XCHACHA20_NONCEBYTES) {
3136
- throw new SodiumException('Argument 2 must be CRYPTO_SECRETBOX_XCHACHA20_NONCEBYTES long.');
3137
- }
3138
- if (ParagonIE_Sodium_Core_Util::strlen($key) !== self::CRYPTO_STREAM_XCHACHA20_KEYBYTES) {
3139
- throw new SodiumException('Argument 3 must be CRYPTO_SECRETBOX_XCHACHA20_KEYBYTES long.');
3140
- }
3141
-
3142
- if (self::useNewSodiumAPI() && !$dontFallback) {
3143
- return sodium_crypto_stream_xchacha20_xor($message, $nonce, $key);
3144
- }
3145
- if (PHP_INT_SIZE === 4) {
3146
- return ParagonIE_Sodium_Core32_XChaCha20::streamXorIc($message, $nonce, $key);
3147
- }
3148
- return ParagonIE_Sodium_Core_XChaCha20::streamXorIc($message, $nonce, $key);
3149
- }
3150
-
3151
- /**
3152
- * Return a secure random key for use with crypto_stream_xchacha20
3153
- *
3154
- * @return string
3155
- * @throws Exception
3156
- * @throws Error
3157
- */
3158
- public static function crypto_stream_xchacha20_keygen()
3159
- {
3160
- return random_bytes(self::CRYPTO_STREAM_XCHACHA20_KEYBYTES);
3161
- }
3162
-
3163
  /**
3164
  * Cache-timing-safe implementation of hex2bin().
3165
  *
135
  const CRYPTO_SIGN_KEYPAIRBYTES = 96;
136
  const CRYPTO_STREAM_KEYBYTES = 32;
137
  const CRYPTO_STREAM_NONCEBYTES = 24;
 
 
138
 
139
  /**
140
  * Add two numbers (little-endian unsigned), storing the value in the first
727
  ) {
728
  /* Type checks: */
729
  ParagonIE_Sodium_Core_Util::declareScalarType($plaintext, 'string', 1);
730
+ ParagonIE_Sodium_Core_Util::declareScalarType($assocData, 'string', 2);
 
 
731
  ParagonIE_Sodium_Core_Util::declareScalarType($nonce, 'string', 3);
732
  ParagonIE_Sodium_Core_Util::declareScalarType($key, 'string', 4);
733
 
814
  ) {
815
  /* Type checks: */
816
  ParagonIE_Sodium_Core_Util::declareScalarType($ciphertext, 'string', 1);
817
+ ParagonIE_Sodium_Core_Util::declareScalarType($assocData, 'string', 2);
 
 
 
 
818
  ParagonIE_Sodium_Core_Util::declareScalarType($nonce, 'string', 3);
819
  ParagonIE_Sodium_Core_Util::declareScalarType($key, 'string', 4);
820
 
885
  ) {
886
  /* Type checks: */
887
  ParagonIE_Sodium_Core_Util::declareScalarType($plaintext, 'string', 1);
888
+ ParagonIE_Sodium_Core_Util::declareScalarType($assocData, 'string', 2);
 
 
 
 
889
  ParagonIE_Sodium_Core_Util::declareScalarType($nonce, 'string', 3);
890
  ParagonIE_Sodium_Core_Util::declareScalarType($key, 'string', 4);
891
 
1688
  * @param string $their_public
1689
  * @param string $client_public
1690
  * @param string $server_public
 
1691
  * @return string
1692
  * @throws SodiumException
1693
  * @throws TypeError
1694
  * @psalm-suppress MixedArgument
1695
  */
1696
+ public static function crypto_kx($my_secret, $their_public, $client_public, $server_public)
1697
  {
1698
  /* Type checks: */
1699
  ParagonIE_Sodium_Core_Util::declareScalarType($my_secret, 'string', 1);
1715
  throw new SodiumException('Argument 4 must be CRYPTO_BOX_PUBLICKEYBYTES long.');
1716
  }
1717
 
1718
+ if (self::useNewSodiumAPI()) {
1719
  if (is_callable('sodium_crypto_kx')) {
1720
  return (string) sodium_crypto_kx(
1721
  $my_secret,
3050
  return random_bytes(self::CRYPTO_STREAM_KEYBYTES);
3051
  }
3052
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3053
  /**
3054
  * Cache-timing-safe implementation of hex2bin().
3055
  *
{vendor/paragonie → libs}/sodium_compat/src/Core/BLAKE2b.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core/Base64/Common.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core/Base64/Original.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core/Base64/UrlSafe.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core/ChaCha20.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core/ChaCha20/Ctx.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core/ChaCha20/IetfCtx.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core/Curve25519.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core/Curve25519/Fe.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core/Curve25519/Ge/Cached.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core/Curve25519/Ge/P1p1.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core/Curve25519/Ge/P2.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core/Curve25519/Ge/P3.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core/Curve25519/Ge/Precomp.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core/Curve25519/H.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core/Ed25519.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core/HChaCha20.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core/HSalsa20.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core/Poly1305.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core/Poly1305/State.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core/Salsa20.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core/SecretStream/State.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core/SipHash.php RENAMED
@@ -14,8 +14,8 @@ class ParagonIE_Sodium_Core_SipHash extends ParagonIE_Sodium_Core_Util
14
  /**
15
  * @internal You should not use this directly from another application
16
  *
17
- * @param int[] $v
18
- * @return int[]
19
  *
20
  */
21
  public static function sipRound(array $v)
14
  /**
15
  * @internal You should not use this directly from another application
16
  *
17
+ * @param array<array-key, int> $v
18
+ * @return array<array-key, int>
19
  *
20
  */
21
  public static function sipRound(array $v)
{vendor/paragonie → libs}/sodium_compat/src/Core/Util.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core/X25519.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core/XChaCha20.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core/XSalsa20.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core32/BLAKE2b.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core32/ChaCha20.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core32/ChaCha20/Ctx.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core32/ChaCha20/IetfCtx.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core32/Curve25519.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core32/Curve25519/Fe.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core32/Curve25519/Ge/Cached.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core32/Curve25519/Ge/P1p1.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core32/Curve25519/Ge/P2.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core32/Curve25519/Ge/P3.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core32/Curve25519/Ge/Precomp.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core32/Curve25519/H.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core32/Ed25519.php RENAMED
@@ -207,7 +207,6 @@ abstract class ParagonIE_Sodium_Core32_Ed25519 extends ParagonIE_Sodium_Core32_C
207
  * @return string
208
  * @throws SodiumException
209
  * @throws TypeError
210
- * @psalm-suppress PossiblyInvalidArgument
211
  */
212
  public static function sign_detached($message, $sk)
213
  {
@@ -225,8 +224,8 @@ abstract class ParagonIE_Sodium_Core32_Ed25519 extends ParagonIE_Sodium_Core32_C
225
  # crypto_hash_sha512_update(&hs, m, mlen);
226
  # crypto_hash_sha512_final(&hs, nonce);
227
  $hs = hash_init('sha512');
228
- self::hash_update($hs, self::substr($az, 32, 32));
229
- self::hash_update($hs, $message);
230
  $nonceHash = hash_final($hs, true);
231
 
232
  # memmove(sig + 32, sk + 32, 32);
@@ -245,9 +244,9 @@ abstract class ParagonIE_Sodium_Core32_Ed25519 extends ParagonIE_Sodium_Core32_C
245
  # crypto_hash_sha512_update(&hs, m, mlen);
246
  # crypto_hash_sha512_final(&hs, hram);
247
  $hs = hash_init('sha512');
248
- self::hash_update($hs, self::substr($sig, 0, 32));
249
- self::hash_update($hs, self::substr($pk, 0, 32));
250
- self::hash_update($hs, $message);
251
  $hramHash = hash_final($hs, true);
252
 
253
  # sc_reduce(hram);
@@ -479,20 +478,4 @@ abstract class ParagonIE_Sodium_Core32_Ed25519 extends ParagonIE_Sodium_Core32_C
479
  }
480
  return false;
481
  }
482
-
483
- /**
484
- * Catch self::hash_update() failures and throw instead of silently proceding
485
- *
486
- * @param HashContext|resource &$hs
487
- * @param string $data
488
- * @return void
489
- * @throws SodiumException
490
- * @psalm-suppress PossiblyInvalidArgument
491
- */
492
- private static function hash_update(&$hs, $data)
493
- {
494
- if (!hash_update($hs, $data)) {
495
- throw new SodiumException('self::hash_update() failed');
496
- }
497
- }
498
  }
207
  * @return string
208
  * @throws SodiumException
209
  * @throws TypeError
 
210
  */
211
  public static function sign_detached($message, $sk)
212
  {
224
  # crypto_hash_sha512_update(&hs, m, mlen);
225
  # crypto_hash_sha512_final(&hs, nonce);
226
  $hs = hash_init('sha512');
227
+ hash_update($hs, self::substr($az, 32, 32));
228
+ hash_update($hs, $message);
229
  $nonceHash = hash_final($hs, true);
230
 
231
  # memmove(sig + 32, sk + 32, 32);
244
  # crypto_hash_sha512_update(&hs, m, mlen);
245
  # crypto_hash_sha512_final(&hs, hram);
246
  $hs = hash_init('sha512');
247
+ hash_update($hs, self::substr($sig, 0, 32));
248
+ hash_update($hs, self::substr($pk, 0, 32));
249
+ hash_update($hs, $message);
250
  $hramHash = hash_final($hs, true);
251
 
252
  # sc_reduce(hram);
478
  }
479
  return false;
480
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
481
  }
{vendor/paragonie → libs}/sodium_compat/src/Core32/HChaCha20.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core32/HSalsa20.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core32/Int32.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core32/Int64.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core32/Poly1305.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core32/Poly1305/State.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core32/Salsa20.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core32/SecretStream/State.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core32/SipHash.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core32/Util.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core32/X25519.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core32/XChaCha20.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Core32/XSalsa20.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Crypto.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/Crypto32.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/File.php RENAMED
@@ -597,7 +597,7 @@ class ParagonIE_Sodium_File extends ParagonIE_Sodium_Core_Util
597
  $az[31] = self::intToChr((self::chrToInt($az[31]) & 63) | 64);
598
 
599
  $hs = hash_init('sha512');
600
- self::hash_update($hs, self::substr($az, 32, 32));
601
  /** @var resource $hs */
602
  $hs = self::updateHashWithFile($hs, $fp, $size);
603
 
@@ -616,8 +616,8 @@ class ParagonIE_Sodium_File extends ParagonIE_Sodium_Core_Util
616
  );
617
 
618
  $hs = hash_init('sha512');
619
- self::hash_update($hs, self::substr($sig, 0, 32));
620
- self::hash_update($hs, self::substr($pk, 0, 32));
621
  /** @var resource $hs */
622
  $hs = self::updateHashWithFile($hs, $fp, $size);
623
 
@@ -728,8 +728,8 @@ class ParagonIE_Sodium_File extends ParagonIE_Sodium_Core_Util
728
  $A = ParagonIE_Sodium_Core_Ed25519::ge_frombytes_negate_vartime($publicKey);
729
 
730
  $hs = hash_init('sha512');
731
- self::hash_update($hs, self::substr($sig, 0, 32));
732
- self::hash_update($hs, self::substr($publicKey, 0, 32));
733
  /** @var resource $hs */
734
  $hs = self::updateHashWithFile($hs, $fp, $size);
735
  /** @var string $hDigest */
@@ -1083,7 +1083,7 @@ class ParagonIE_Sodium_File extends ParagonIE_Sodium_Core_Util
1083
  * Update a hash context with the contents of a file, without
1084
  * loading the entire file into memory.
1085
  *
1086
- * @param resource|HashContext $hash
1087
  * @param resource $fp
1088
  * @param int $size
1089
  * @return resource|object Resource on PHP < 7.2, HashContext object on PHP >= 7.2
@@ -1133,7 +1133,7 @@ class ParagonIE_Sodium_File extends ParagonIE_Sodium_Core_Util
1133
  }
1134
  /** @var string $message */
1135
  /** @psalm-suppress InvalidArgument */
1136
- self::hash_update($hash, $message);
1137
  }
1138
  // Reset file pointer's position
1139
  fseek($fp, $originalPosition, SEEK_SET);
@@ -1175,7 +1175,7 @@ class ParagonIE_Sodium_File extends ParagonIE_Sodium_Core_Util
1175
  $az[31] = self::intToChr((self::chrToInt($az[31]) & 63) | 64);
1176
 
1177
  $hs = hash_init('sha512');
1178
- self::hash_update($hs, self::substr($az, 32, 32));
1179
  /** @var resource $hs */
1180
  $hs = self::updateHashWithFile($hs, $fp, $size);
1181
 
@@ -1194,8 +1194,8 @@ class ParagonIE_Sodium_File extends ParagonIE_Sodium_Core_Util
1194
  );
1195
 
1196
  $hs = hash_init('sha512');
1197
- self::hash_update($hs, self::substr($sig, 0, 32));
1198
- self::hash_update($hs, self::substr($pk, 0, 32));
1199
  /** @var resource $hs */
1200
  $hs = self::updateHashWithFile($hs, $fp, $size);
1201
 
@@ -1278,8 +1278,8 @@ class ParagonIE_Sodium_File extends ParagonIE_Sodium_Core_Util
1278
  $A = ParagonIE_Sodium_Core32_Ed25519::ge_frombytes_negate_vartime($publicKey);
1279
 
1280
  $hs = hash_init('sha512');
1281
- self::hash_update($hs, self::substr($sig, 0, 32));
1282
- self::hash_update($hs, self::substr($publicKey, 0, 32));
1283
  /** @var resource $hs */
1284
  $hs = self::updateHashWithFile($hs, $fp, $size);
1285
  /** @var string $hDigest */
@@ -1527,6 +1527,12 @@ class ParagonIE_Sodium_File extends ParagonIE_Sodium_Core_Util
1527
  /** @var int $pos */
1528
  $pos = self::ftell($ifp);
1529
 
 
 
 
 
 
 
1530
  while ($mlen > 0) {
1531
  $blockSize = $mlen > self::BUFFER_SIZE
1532
  ? self::BUFFER_SIZE
@@ -1537,6 +1543,7 @@ class ParagonIE_Sodium_File extends ParagonIE_Sodium_Core_Util
1537
  }
1538
  $state->update($ciphertext);
1539
  $mlen -= $blockSize;
 
1540
  }
1541
  $res = ParagonIE_Sodium_Core32_Util::verify_16($tag, $state->finish());
1542
 
@@ -1557,20 +1564,4 @@ class ParagonIE_Sodium_File extends ParagonIE_Sodium_Core_Util
1557
  }
1558
  return (int) $return;
1559
  }
1560
-
1561
- /**
1562
- * Catch hash_update() failures and throw instead of silently proceding
1563
- *
1564
- * @param HashContext|resource &$hs
1565
- * @param string $data
1566
- * @return void
1567
- * @throws SodiumException
1568
- * @psalm-suppress PossiblyInvalidArgument
1569
- */
1570
- private static function hash_update(&$hs, $data)
1571
- {
1572
- if (!hash_update($hs, $data)) {
1573
- throw new SodiumException('hash_update() failed');
1574
- }
1575
- }
1576
  }
597
  $az[31] = self::intToChr((self::chrToInt($az[31]) & 63) | 64);
598
 
599
  $hs = hash_init('sha512');
600
+ hash_update($hs, self::substr($az, 32, 32));
601
  /** @var resource $hs */
602
  $hs = self::updateHashWithFile($hs, $fp, $size);
603
 
616
  );
617
 
618
  $hs = hash_init('sha512');
619
+ hash_update($hs, self::substr($sig, 0, 32));
620
+ hash_update($hs, self::substr($pk, 0, 32));
621
  /** @var resource $hs */
622
  $hs = self::updateHashWithFile($hs, $fp, $size);
623
 
728
  $A = ParagonIE_Sodium_Core_Ed25519::ge_frombytes_negate_vartime($publicKey);
729
 
730
  $hs = hash_init('sha512');
731
+ hash_update($hs, self::substr($sig, 0, 32));
732
+ hash_update($hs, self::substr($publicKey, 0, 32));
733
  /** @var resource $hs */
734
  $hs = self::updateHashWithFile($hs, $fp, $size);
735
  /** @var string $hDigest */
1083
  * Update a hash context with the contents of a file, without
1084
  * loading the entire file into memory.
1085
  *
1086
+ * @param resource|object $hash
1087
  * @param resource $fp
1088
  * @param int $size
1089
  * @return resource|object Resource on PHP < 7.2, HashContext object on PHP >= 7.2
1133
  }
1134
  /** @var string $message */
1135
  /** @psalm-suppress InvalidArgument */
1136
+ hash_update($hash, $message);
1137
  }
1138
  // Reset file pointer's position
1139
  fseek($fp, $originalPosition, SEEK_SET);
1175
  $az[31] = self::intToChr((self::chrToInt($az[31]) & 63) | 64);
1176
 
1177
  $hs = hash_init('sha512');
1178
+ hash_update($hs, self::substr($az, 32, 32));
1179
  /** @var resource $hs */
1180
  $hs = self::updateHashWithFile($hs, $fp, $size);
1181
 
1194
  );
1195
 
1196
  $hs = hash_init('sha512');
1197
+ hash_update($hs, self::substr($sig, 0, 32));
1198
+ hash_update($hs, self::substr($pk, 0, 32));
1199
  /** @var resource $hs */
1200
  $hs = self::updateHashWithFile($hs, $fp, $size);
1201
 
1278
  $A = ParagonIE_Sodium_Core32_Ed25519::ge_frombytes_negate_vartime($publicKey);
1279
 
1280
  $hs = hash_init('sha512');
1281
+ hash_update($hs, self::substr($sig, 0, 32));
1282
+ hash_update($hs, self::substr($publicKey, 0, 32));
1283
  /** @var resource $hs */
1284
  $hs = self::updateHashWithFile($hs, $fp, $size);
1285
  /** @var string $hDigest */
1527
  /** @var int $pos */
1528
  $pos = self::ftell($ifp);
1529
 
1530
+ /** @var int $iter */
1531
+ $iter = 1;
1532
+
1533
+ /** @var int $incr */
1534
+ $incr = self::BUFFER_SIZE >> 6;
1535
+
1536
  while ($mlen > 0) {
1537
  $blockSize = $mlen > self::BUFFER_SIZE
1538
  ? self::BUFFER_SIZE
1543
  }
1544
  $state->update($ciphertext);
1545
  $mlen -= $blockSize;
1546
+ $iter += $incr;
1547
  }
1548
  $res = ParagonIE_Sodium_Core32_Util::verify_16($tag, $state->finish());
1549
 
1564
  }
1565
  return (int) $return;
1566
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1567
  }
{vendor/paragonie → libs}/sodium_compat/src/PHP52/SplFixedArray.php RENAMED
File without changes
{vendor/paragonie → libs}/sodium_compat/src/SodiumException.php RENAMED
File without changes
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: wpforms, jaredatch, smub, slaFFik
3
  Tags: smtp, wp mail smtp, wordpress smtp, gmail smtp, sendgrid smtp, mailgun smtp, mail, mailer, phpmailer, wp_mail, email, mailgun, sengrid, gmail, sendinblue, wp smtp
4
  Requires at least: 4.9
5
- Tested up to: 5.7
6
- Stable tag: 2.8.0
7
  Requires PHP: 5.6.20
8
 
9
  Make email delivery easy for WordPress. Connect with SMTP, Gmail, Outlook, SendGrid, Mailgun, Zoho, SES, and more.
@@ -242,6 +242,18 @@ By all means please contact us to discuss features or options you'd like to see
242
 
243
  == Changelog ==
244
 
 
 
 
 
 
 
 
 
 
 
 
 
245
  = 2.8.0 - 2021-05-06 =
246
  * Added: WP Site Health status check for the sending domain.
247
  * Added: WP Mail SMTP WordPress admin menu position filter hook.
2
  Contributors: wpforms, jaredatch, smub, slaFFik
3
  Tags: smtp, wp mail smtp, wordpress smtp, gmail smtp, sendgrid smtp, mailgun smtp, mail, mailer, phpmailer, wp_mail, email, mailgun, sengrid, gmail, sendinblue, wp smtp
4
  Requires at least: 4.9
5
+ Tested up to: 5.8
6
+ Stable tag: 2.9.0
7
  Requires PHP: 5.6.20
8
 
9
  Make email delivery easy for WordPress. Connect with SMTP, Gmail, Outlook, SendGrid, Mailgun, Zoho, SES, and more.
242
 
243
  == Changelog ==
244
 
245
+ = 2.9.0 - 2021-06-24 =
246
+ * Added: Action Scheduler table to the Tools page.
247
+ * Added: Dashboard Widget with total emails sent counter.
248
+ * Changed: Notifications design.
249
+ * Changed: Sodium Compat library loading improved.
250
+ * Fixed: Plugin conflict with plugins that populate $_POST data (Ultimate Addons for Elementor, WishList Member, ...).
251
+ * Fixed: Sendinblue WooCommerce Email Marketing plugin conflict admin notice display.
252
+ * Fixed: jQuery deprecated notices.
253
+ * Fixed: Action Scheduler library loading issue.
254
+ * Fixed: Canceled Setup Wizard's OAuth authorization redirecting to the Setup Wizard when connecting via regular plugin settings.
255
+ * Fixed: Meta DB table not existing error notices on a WP Multisite subsite.
256
+
257
  = 2.8.0 - 2021-05-06 =
258
  * Added: WP Site Health status check for the sending domain.
259
  * Added: WP Mail SMTP WordPress admin menu position filter hook.
src/Admin/Area.php CHANGED
@@ -266,17 +266,6 @@ class Area {
266
  [ $this, 'display' ]
267
  );
268
  }
269
-
270
- if ( ! wp_mail_smtp()->is_white_labeled() ) {
271
- add_submenu_page(
272
- self::SLUG,
273
- esc_html__( 'About Us', 'wp-mail-smtp' ),
274
- esc_html__( 'About Us', 'wp-mail-smtp' ),
275
- $access_capability,
276
- self::SLUG . '-about',
277
- [ $this, 'display' ]
278
- );
279
- }
280
  }
281
 
282
  /**
@@ -405,45 +394,51 @@ class Area {
405
  return;
406
  }
407
 
 
 
 
 
 
 
 
 
 
408
  // General styles and js.
409
- \wp_enqueue_style(
410
  'wp-mail-smtp-admin',
411
- \wp_mail_smtp()->assets_url . '/css/smtp-admin.min.css',
412
  false,
413
  WPMS_PLUGIN_VER
414
  );
415
 
416
- \wp_enqueue_script(
417
  'wp-mail-smtp-admin',
418
- \wp_mail_smtp()->assets_url . '/js/smtp-admin' . WP::asset_min() . '.js',
419
- array( 'jquery' ),
420
  WPMS_PLUGIN_VER,
421
  false
422
  );
423
 
424
- \wp_localize_script(
425
- 'wp-mail-smtp-admin',
426
- 'wp_mail_smtp',
427
- array(
428
- 'text_provider_remove' => esc_html__( 'Are you sure you want to reset the current provider connection? You will need to immediately create a new one to be able to send emails.', 'wp-mail-smtp' ),
429
- 'text_settings_not_saved' => esc_html__( 'Changes that you made to the settings are not saved!', 'wp-mail-smtp' ),
430
- 'default_mailer_notice' => array(
431
- 'title' => esc_html__( 'Heads up!', 'wp-mail-smtp' ),
432
- 'content' => wp_kses(
433
- __( '<p>The Default (PHP) mailer is currently selected, but is not recommended because in most cases it does not resolve email delivery issues.</p><p>Please consider selecting and configuring one of the other mailers.</p>', 'wp-mail-smtp' ),
434
- [ 'p' => [] ]
435
- ),
436
- 'save_button' => esc_html__( 'Save Settings', 'wp-mail-smtp' ),
437
- 'cancel_button' => esc_html__( 'Cancel', 'wp-mail-smtp' ),
438
- 'icon_alt' => esc_html__( 'Warning icon', 'wp-mail-smtp' ),
439
  ),
440
- 'plugin_url' => wp_mail_smtp()->plugin_url,
441
- 'education' => array(
442
- 'upgrade_icon_lock' => '<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="lock" class="svg-inline--fa fa-lock fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M400 224h-24v-72C376 68.2 307.8 0 224 0S72 68.2 72 152v72H48c-26.5 0-48 21.5-48 48v192c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48zm-104 0H152v-72c0-39.7 32.3-72 72-72s72 32.3 72 72v72z"></path></svg>',
443
- 'upgrade_title' => esc_html__( '%name% is a PRO Feature', 'wp-mail-smtp' ),
444
- 'upgrade_button' => esc_html__( 'Upgrade to Pro', 'wp-mail-smtp' ),
445
- 'upgrade_url' => add_query_arg( 'discount', 'SMTPLITEUPGRADE', wp_mail_smtp()->get_upgrade_link( '' ) ),
446
- 'upgrade_bonus' => '<p>' .
 
 
 
 
447
  sprintf(
448
  wp_kses( /* Translators: %s - discount value $50. */
449
  __( '<strong>Bonus:</strong> WP Mail SMTP users get <span>%s off</span> regular price,<br>applied at checkout.', 'wp-mail-smtp' ),
@@ -456,28 +451,41 @@ class Area {
456
  '$50'
457
  )
458
  . '</p>',
459
- 'upgrade_doc' => '<a href="https://wpmailsmtp.com/docs/how-to-upgrade-wp-mail-smtp-to-pro-version/?utm_source=WordPress&amp;utm_medium=link&amp;utm_campaign=liteplugin" target="_blank" rel="noopener noreferrer" class="already-purchased">
460
  ' . esc_html__( 'Already purchased?', 'wp-mail-smtp' ) . '
461
  </a>',
462
- ),
463
- 'all_mailers_supports' => wp_mail_smtp()->get_providers()->get_supports_all(),
464
- 'nonce' => wp_create_nonce( 'wp-mail-smtp-admin' ),
465
- )
466
- );
 
 
 
 
 
 
 
 
 
 
 
 
 
467
 
468
  /*
469
  * jQuery Confirm library v3.3.4.
470
  */
471
- \wp_enqueue_style(
472
  'wp-mail-smtp-admin-jconfirm',
473
- \wp_mail_smtp()->assets_url . '/libs/jquery-confirm.min.css',
474
- array( 'wp-mail-smtp-admin' ),
475
  '3.3.4'
476
  );
477
- \wp_enqueue_script(
478
  'wp-mail-smtp-admin-jconfirm',
479
- \wp_mail_smtp()->assets_url . '/libs/jquery-confirm.min.js',
480
- array( 'wp-mail-smtp-admin' ),
481
  '3.3.4',
482
  false
483
  );
@@ -486,17 +494,17 @@ class Area {
486
  * Logs page.
487
  */
488
  if ( $this->is_admin_page( 'logs' ) ) {
489
- \wp_enqueue_style(
490
  'wp-mail-smtp-admin-logs',
491
  apply_filters( 'wp_mail_smtp_admin_enqueue_assets_logs_css', '' ),
492
- array( 'wp-mail-smtp-admin' ),
493
  WPMS_PLUGIN_VER
494
  );
495
 
496
- \wp_enqueue_script(
497
  'wp-mail-smtp-admin-logs',
498
  apply_filters( 'wp_mail_smtp_admin_enqueue_assets_logs_js', '' ),
499
- array( 'wp-mail-smtp-admin' ),
500
  WPMS_PLUGIN_VER,
501
  false
502
  );
@@ -507,51 +515,58 @@ class Area {
507
  */
508
  if ( $this->is_admin_page( 'about' ) ) {
509
 
510
- \wp_enqueue_style(
511
  'wp-mail-smtp-admin-about',
512
- \wp_mail_smtp()->assets_url . '/css/smtp-about.min.css',
513
- array( 'wp-mail-smtp-admin' ),
514
  WPMS_PLUGIN_VER
515
  );
516
 
517
- \wp_enqueue_script(
518
  'wp-mail-smtp-admin-about',
519
- \wp_mail_smtp()->assets_url . '/js/smtp-about' . WP::asset_min() . '.js',
520
- array( 'wp-mail-smtp-admin' ),
521
  '0.7.2',
522
  false
523
  );
524
 
525
- $settings = array(
526
- 'ajax_url' => \admin_url( 'admin-ajax.php' ),
527
- 'nonce' => \wp_create_nonce( 'wp-mail-smtp-about' ),
528
  // Strings.
529
- 'plugin_activate' => \esc_html__( 'Activate', 'wp-mail-smtp' ),
530
- 'plugin_activated' => \esc_html__( 'Activated', 'wp-mail-smtp' ),
531
- 'plugin_active' => \esc_html__( 'Active', 'wp-mail-smtp' ),
532
- 'plugin_inactive' => \esc_html__( 'Inactive', 'wp-mail-smtp' ),
533
- 'plugin_processing' => \esc_html__( 'Processing...', 'wp-mail-smtp' ),
534
- 'plugin_install_error' => \esc_html__( 'Could not install a plugin. Please download from WordPress.org and install manually.', 'wp-mail-smtp' ),
535
- 'plugin_install_activate_btn' => \esc_html__( 'Install and Activate', 'wp-mail-smtp' ),
536
- 'plugin_activate_btn' => \esc_html__( 'Activate', 'wp-mail-smtp' ),
537
- 'plugin_download_btn' => \esc_html__( 'Download', 'wp-mail-smtp' ),
538
- );
539
 
540
- \wp_localize_script(
541
  'wp-mail-smtp-admin-about',
542
  'wp_mail_smtp_about',
543
  $settings
544
  );
545
 
546
- \wp_enqueue_script(
547
  'wp-mail-smtp-admin-about-matchheight',
548
- \wp_mail_smtp()->assets_url . '/js/vendor/jquery.matchHeight.min.js',
549
- array( 'wp-mail-smtp-admin' ),
550
  '0.7.2',
551
  false
552
  );
553
  }
554
 
 
 
 
 
 
 
 
555
  do_action( 'wp_mail_smtp_admin_area_enqueue_assets', $hook );
556
  }
557
 
@@ -662,17 +677,6 @@ class Area {
662
  <?php
663
  break;
664
 
665
- case self::SLUG . '-about':
666
- $about = new Pages\About();
667
- ?>
668
-
669
- <div class="wp-mail-smtp-page wp-mail-smtp-page-about wp-mail-smtp-tab-about-<?php echo \esc_attr( $about->get_current_tab() ); ?>">
670
- <?php $about->display(); ?>
671
- </div>
672
-
673
- <?php
674
- break;
675
-
676
  default:
677
  foreach ( $this->get_parent_pages() as $parent_page ) {
678
  if ( $page === self::SLUG . '-' . $parent_page->get_slug() ) {
@@ -818,10 +822,24 @@ class Area {
818
  $pages = [
819
  'tools' => new Pages\Tools(
820
  [
821
- 'test' => new Pages\TestTab(),
 
 
822
  ]
823
  ),
824
  ];
 
 
 
 
 
 
 
 
 
 
 
 
825
  }
826
 
827
  /**
@@ -965,15 +983,17 @@ class Area {
965
  }
966
 
967
  // Process POST only if it exists.
968
- if ( ! empty( $_POST ) ) {
 
969
  if ( ! empty( $_POST['wp-mail-smtp'] ) ) {
970
  $post = $_POST['wp-mail-smtp'];
971
  } else {
972
- $post = array();
973
  }
974
 
975
  $pages[ $this->get_current_tab() ]->process_post( $post );
976
  }
 
977
 
978
  // This won't do anything for most pages.
979
  // Works for plugin page only, when GET params are allowed.
@@ -1008,11 +1028,11 @@ class Area {
1008
  break;
1009
 
1010
  case 'about_plugin_install':
1011
- Pages\About::ajax_plugin_install();
1012
  break;
1013
 
1014
  case 'about_plugin_activate':
1015
- Pages\About::ajax_plugin_activate();
1016
  break;
1017
 
1018
  case 'notice_dismiss':
266
  [ $this, 'display' ]
267
  );
268
  }
 
 
 
 
 
 
 
 
 
 
 
269
  }
270
 
271
  /**
394
  return;
395
  }
396
 
397
+ // Set general body class.
398
+ add_filter(
399
+ 'admin_body_class',
400
+ function ( $classes ) {
401
+ $classes .= ' wp-mail-smtp-admin-page-body';
402
+ return $classes;
403
+ }
404
+ );
405
+
406
  // General styles and js.
407
+ wp_enqueue_style(
408
  'wp-mail-smtp-admin',
409
+ wp_mail_smtp()->assets_url . '/css/smtp-admin.min.css',
410
  false,
411
  WPMS_PLUGIN_VER
412
  );
413
 
414
+ wp_enqueue_script(
415
  'wp-mail-smtp-admin',
416
+ wp_mail_smtp()->assets_url . '/js/smtp-admin' . WP::asset_min() . '.js',
417
+ [ 'jquery' ],
418
  WPMS_PLUGIN_VER,
419
  false
420
  );
421
 
422
+ $script_data = [
423
+ 'text_provider_remove' => esc_html__( 'Are you sure you want to reset the current provider connection? You will need to immediately create a new one to be able to send emails.', 'wp-mail-smtp' ),
424
+ 'text_settings_not_saved' => esc_html__( 'Changes that you made to the settings are not saved!', 'wp-mail-smtp' ),
425
+ 'default_mailer_notice' => [
426
+ 'title' => esc_html__( 'Heads up!', 'wp-mail-smtp' ),
427
+ 'content' => wp_kses(
428
+ __( '<p>The Default (PHP) mailer is currently selected, but is not recommended because in most cases it does not resolve email delivery issues.</p><p>Please consider selecting and configuring one of the other mailers.</p>', 'wp-mail-smtp' ),
429
+ [ 'p' => [] ]
 
 
 
 
 
 
 
430
  ),
431
+ 'save_button' => esc_html__( 'Save Settings', 'wp-mail-smtp' ),
432
+ 'cancel_button' => esc_html__( 'Cancel', 'wp-mail-smtp' ),
433
+ 'icon_alt' => esc_html__( 'Warning icon', 'wp-mail-smtp' ),
434
+ ],
435
+ 'plugin_url' => wp_mail_smtp()->plugin_url,
436
+ 'education' => [
437
+ 'upgrade_icon_lock' => '<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="lock" class="svg-inline--fa fa-lock fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M400 224h-24v-72C376 68.2 307.8 0 224 0S72 68.2 72 152v72H48c-26.5 0-48 21.5-48 48v192c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48zm-104 0H152v-72c0-39.7 32.3-72 72-72s72 32.3 72 72v72z"></path></svg>',
438
+ 'upgrade_title' => esc_html__( '%name% is a PRO Feature', 'wp-mail-smtp' ),
439
+ 'upgrade_button' => esc_html__( 'Upgrade to Pro', 'wp-mail-smtp' ),
440
+ 'upgrade_url' => add_query_arg( 'discount', 'SMTPLITEUPGRADE', wp_mail_smtp()->get_upgrade_link( '' ) ),
441
+ 'upgrade_bonus' => '<p>' .
442
  sprintf(
443
  wp_kses( /* Translators: %s - discount value $50. */
444
  __( '<strong>Bonus:</strong> WP Mail SMTP users get <span>%s off</span> regular price,<br>applied at checkout.', 'wp-mail-smtp' ),
451
  '$50'
452
  )
453
  . '</p>',
454
+ 'upgrade_doc' => '<a href="https://wpmailsmtp.com/docs/how-to-upgrade-wp-mail-smtp-to-pro-version/?utm_source=WordPress&amp;utm_medium=link&amp;utm_campaign=liteplugin" target="_blank" rel="noopener noreferrer" class="already-purchased">
455
  ' . esc_html__( 'Already purchased?', 'wp-mail-smtp' ) . '
456
  </a>',
457
+ ],
458
+ 'all_mailers_supports' => wp_mail_smtp()->get_providers()->get_supports_all(),
459
+ 'nonce' => wp_create_nonce( 'wp-mail-smtp-admin' ),
460
+ 'is_network_admin' => is_network_admin(),
461
+ 'ajax_url' => admin_url( 'admin-ajax.php' ),
462
+ ];
463
+
464
+ /**
465
+ * Filters plugin script data.
466
+ *
467
+ * @since 2.9.0
468
+ *
469
+ * @param array $script_data Data.
470
+ * @param string $hook Current hook.
471
+ */
472
+ $script_data = apply_filters( 'wp_mail_smtp_admin_area_enqueue_assets_scripts_data', $script_data, $hook );
473
+
474
+ wp_localize_script( 'wp-mail-smtp-admin', 'wp_mail_smtp', $script_data );
475
 
476
  /*
477
  * jQuery Confirm library v3.3.4.
478
  */
479
+ wp_enqueue_style(
480
  'wp-mail-smtp-admin-jconfirm',
481
+ wp_mail_smtp()->assets_url . '/libs/jquery-confirm.min.css',
482
+ [ 'wp-mail-smtp-admin' ],
483
  '3.3.4'
484
  );
485
+ wp_enqueue_script(
486
  'wp-mail-smtp-admin-jconfirm',
487
+ wp_mail_smtp()->assets_url . '/libs/jquery-confirm.min.js',
488
+ [ 'wp-mail-smtp-admin' ],
489
  '3.3.4',
490
  false
491
  );
494
  * Logs page.
495
  */
496
  if ( $this->is_admin_page( 'logs' ) ) {
497
+ wp_enqueue_style(
498
  'wp-mail-smtp-admin-logs',
499
  apply_filters( 'wp_mail_smtp_admin_enqueue_assets_logs_css', '' ),
500
+ [ 'wp-mail-smtp-admin' ],
501
  WPMS_PLUGIN_VER
502
  );
503
 
504
+ wp_enqueue_script(
505
  'wp-mail-smtp-admin-logs',
506
  apply_filters( 'wp_mail_smtp_admin_enqueue_assets_logs_js', '' ),
507
+ [ 'wp-mail-smtp-admin' ],
508
  WPMS_PLUGIN_VER,
509
  false
510
  );
515
  */
516
  if ( $this->is_admin_page( 'about' ) ) {
517
 
518
+ wp_enqueue_style(
519
  'wp-mail-smtp-admin-about',
520
+ wp_mail_smtp()->assets_url . '/css/smtp-about.min.css',
521
+ [ 'wp-mail-smtp-admin' ],
522
  WPMS_PLUGIN_VER
523
  );
524
 
525
+ wp_enqueue_script(
526
  'wp-mail-smtp-admin-about',
527
+ wp_mail_smtp()->assets_url . '/js/smtp-about' . WP::asset_min() . '.js',
528
+ [ 'wp-mail-smtp-admin' ],
529
  '0.7.2',
530
  false
531
  );
532
 
533
+ $settings = [
534
+ 'ajax_url' => admin_url( 'admin-ajax.php' ),
535
+ 'nonce' => wp_create_nonce( 'wp-mail-smtp-about' ),
536
  // Strings.
537
+ 'plugin_activate' => esc_html__( 'Activate', 'wp-mail-smtp' ),
538
+ 'plugin_activated' => esc_html__( 'Activated', 'wp-mail-smtp' ),
539
+ 'plugin_active' => esc_html__( 'Active', 'wp-mail-smtp' ),
540
+ 'plugin_inactive' => esc_html__( 'Inactive', 'wp-mail-smtp' ),
541
+ 'plugin_processing' => esc_html__( 'Processing...', 'wp-mail-smtp' ),
542
+ 'plugin_install_error' => esc_html__( 'Could not install a plugin. Please download from WordPress.org and install manually.', 'wp-mail-smtp' ),
543
+ 'plugin_install_activate_btn' => esc_html__( 'Install and Activate', 'wp-mail-smtp' ),
544
+ 'plugin_activate_btn' => esc_html__( 'Activate', 'wp-mail-smtp' ),
545
+ 'plugin_download_btn' => esc_html__( 'Download', 'wp-mail-smtp' ),
546
+ ];
547
 
548
+ wp_localize_script(
549
  'wp-mail-smtp-admin-about',
550
  'wp_mail_smtp_about',
551
  $settings
552
  );
553
 
554
+ wp_enqueue_script(
555
  'wp-mail-smtp-admin-about-matchheight',
556
+ wp_mail_smtp()->assets_url . '/js/vendor/jquery.matchHeight.min.js',
557
+ [ 'wp-mail-smtp-admin' ],
558
  '0.7.2',
559
  false
560
  );
561
  }
562
 
563
+ /**
564
+ * Fires after enqueue plugin assets.
565
+ *
566
+ * @since 1.5.0
567
+ *
568
+ * @param string $hook Current hook.
569
+ */
570
  do_action( 'wp_mail_smtp_admin_area_enqueue_assets', $hook );
571
  }
572
 
677
  <?php
678
  break;
679
 
 
 
 
 
 
 
 
 
 
 
 
680
  default:
681
  foreach ( $this->get_parent_pages() as $parent_page ) {
682
  if ( $page === self::SLUG . '-' . $parent_page->get_slug() ) {
822
  $pages = [
823
  'tools' => new Pages\Tools(
824
  [
825
+ 'test' => Pages\TestTab::class,
826
+ 'export' => Pages\ExportTab::class,
827
+ 'action-scheduler' => Pages\ActionSchedulerTab::class,
828
  ]
829
  ),
830
  ];
831
+
832
+ if ( ! wp_mail_smtp()->is_white_labeled() ) {
833
+ $about_tabs = [
834
+ 'about' => Pages\AboutTab::class,
835
+ ];
836
+
837
+ if ( wp_mail_smtp()->get_license_type() === 'lite' ) {
838
+ $about_tabs['versus'] = Pages\VersusTab::class;
839
+ }
840
+
841
+ $pages['about'] = new Pages\About( $about_tabs );
842
+ }
843
  }
844
 
845
  /**
983
  }
984
 
985
  // Process POST only if it exists.
986
+ // phpcs:disable WordPress.Security.NonceVerification.Missing, WordPress.Security.ValidatedSanitizedInput.InputNotSanitized, WordPress.Security.ValidatedSanitizedInput.MissingUnslash
987
+ if ( ! empty( $_POST ) && isset( $_POST['wp-mail-smtp-post'] ) ) {
988
  if ( ! empty( $_POST['wp-mail-smtp'] ) ) {
989
  $post = $_POST['wp-mail-smtp'];
990
  } else {
991
+ $post = [];
992
  }
993
 
994
  $pages[ $this->get_current_tab() ]->process_post( $post );
995
  }
996
+ // phpcs:enable WordPress.Security.NonceVerification.Missing, WordPress.Security.ValidatedSanitizedInput.InputNotSanitized, WordPress.Security.ValidatedSanitizedInput.MissingUnslash
997
 
998
  // This won't do anything for most pages.
999
  // Works for plugin page only, when GET params are allowed.
1028
  break;
1029
 
1030
  case 'about_plugin_install':
1031
+ Pages\AboutTab::ajax_plugin_install();
1032
  break;
1033
 
1034
  case 'about_plugin_activate':
1035
+ Pages\AboutTab::ajax_plugin_activate();
1036
  break;
1037
 
1038
  case 'notice_dismiss':
src/Admin/DashboardWidget.php ADDED
@@ -0,0 +1,577 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace WPMailSMTP\Admin;
4
+
5
+ use WPMailSMTP\Options;
6
+ use WPMailSMTP\WP;
7
+
8
+ /**
9
+ * Dashboard Widget shows the number of sent emails in WP Dashboard.
10
+ *
11
+ * @since 2.9.0
12
+ */
13
+ class DashboardWidget {
14
+
15
+ /**
16
+ * Instance slug.
17
+ *
18
+ * @since 2.9.0
19
+ *
20
+ * @const string
21
+ */
22
+ const SLUG = 'dash_widget_lite';
23
+
24
+ /**
25
+ * The WP option key for storing the total number of sent emails.
26
+ *
27
+ * @since 2.9.0
28
+ *
29
+ * @const string
30
+ */
31
+ const SENT_EMAILS_COUNTER_OPTION_KEY = 'wp_mail_smtp_lite_sent_email_counter';
32
+
33
+ /**
34
+ * Constructor.
35
+ *
36
+ * @since 2.9.0
37
+ */
38
+ public function __construct() {
39
+
40
+ // Prevent the class initialization, if the dashboard widget hidden setting is enabled.
41
+ if ( Options::init()->get( 'general', 'dashboard_widget_hidden' ) ) {
42
+ return;
43
+ }
44
+
45
+ add_action( 'admin_init', [ $this, 'init' ] );
46
+
47
+ // Update sent email counter when SMTP mailer is used.
48
+ add_action( 'wp_mail_smtp_mailcatcher_smtp_send_after', [ $this, 'increment_sent_email_counter' ] );
49
+
50
+ // Update sent email counter when all other mailers are used.
51
+ add_action( 'wp_mail_smtp_mailcatcher_send_after', [ $this, 'increment_sent_email_counter' ] );
52
+ }
53
+
54
+ /**
55
+ * Init class.
56
+ *
57
+ * @since 2.9.0
58
+ */
59
+ public function init() {
60
+
61
+ // This widget should be displayed for certain high-level users only.
62
+ if ( ! current_user_can( 'manage_options' ) ) {
63
+ return;
64
+ }
65
+
66
+ /**
67
+ * Filters whether the initialization of the dashboard widget should be allowed.
68
+ *
69
+ * @since 2.9.0
70
+ *
71
+ * @param bool $var If the dashboard widget should be initialized.
72
+ */
73
+ if ( ! apply_filters( 'wp_mail_smtp_admin_dashboard_widget', '__return_true' ) ) {
74
+ return;
75
+ }
76
+
77
+ $this->hooks();
78
+ }
79
+
80
+ /**
81
+ * Widget hooks.
82
+ *
83
+ * @since 2.9.0
84
+ */
85
+ public function hooks() {
86
+
87
+ add_action( 'admin_enqueue_scripts', [ $this, 'widget_scripts' ] );
88
+ add_action( 'wp_dashboard_setup', [ $this, 'widget_register' ] );
89
+
90
+ add_action( 'wp_ajax_wp_mail_smtp_' . static::SLUG . '_save_widget_meta', [ $this, 'save_widget_meta_ajax' ] );
91
+ }
92
+
93
+ /**
94
+ * Load widget-specific scripts.
95
+ * Load them only on the admin dashboard page.
96
+ *
97
+ * @since 2.9.0
98
+ */
99
+ public function widget_scripts() {
100
+
101
+ $screen = get_current_screen();
102
+
103
+ if ( ! isset( $screen->id ) || 'dashboard' !== $screen->id ) {
104
+ return;
105
+ }
106
+
107
+ $min = WP::asset_min();
108
+
109
+ wp_enqueue_style(
110
+ 'wp-mail-smtp-dashboard-widget',
111
+ wp_mail_smtp()->assets_url . '/css/dashboard-widget.min.css',
112
+ [],
113
+ WPMS_PLUGIN_VER
114
+ );
115
+
116
+ wp_enqueue_script(
117
+ 'wp-mail-smtp-moment',
118
+ wp_mail_smtp()->assets_url . '/js/vendor/moment.min.js',
119
+ [],
120
+ '2.22.2',
121
+ true
122
+ );
123
+
124
+ wp_enqueue_script(
125
+ 'wp-mail-smtp-chart',
126
+ wp_mail_smtp()->assets_url . '/js/vendor/chart.min.js',
127
+ [ 'wp-mail-smtp-moment' ],
128
+ '2.9.4',
129
+ true
130
+ );
131
+
132
+ wp_enqueue_script(
133
+ 'wp-mail-smtp-dashboard-widget',
134
+ wp_mail_smtp()->assets_url . "/js/smtp-dashboard-widget{$min}.js",
135
+ [ 'jquery', 'wp-mail-smtp-chart' ],
136
+ WPMS_PLUGIN_VER,
137
+ true
138
+ );
139
+
140
+ wp_localize_script(
141
+ 'wp-mail-smtp-dashboard-widget',
142
+ 'wp_mail_smtp_dashboard_widget',
143
+ [
144
+ 'slug' => static::SLUG,
145
+ 'nonce' => wp_create_nonce( 'wp_mail_smtp_' . static::SLUG . '_nonce' ),
146
+ ]
147
+ );
148
+ }
149
+
150
+ /**
151
+ * Register the widget.
152
+ *
153
+ * @since 2.9.0
154
+ */
155
+ public function widget_register() {
156
+
157
+ global $wp_meta_boxes;
158
+
159
+ $widget_key = 'wp_mail_smtp_reports_widget_lite';
160
+
161
+ wp_add_dashboard_widget(
162
+ $widget_key,
163
+ esc_html__( 'WP Mail SMTP', 'wp-mail-smtp' ),
164
+ [ $this, 'widget_content' ]
165
+ );
166
+
167
+ // Attempt to place the widget at the top.
168
+ $normal_dashboard = $wp_meta_boxes['dashboard']['normal']['core'];
169
+ $widget_instance = [ $widget_key => $normal_dashboard[ $widget_key ] ];
170
+ unset( $normal_dashboard[ $widget_key ] );
171
+ $sorted_dashboard = array_merge( $widget_instance, $normal_dashboard );
172
+
173
+ $wp_meta_boxes['dashboard']['normal']['core'] = $sorted_dashboard; //phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
174
+ }
175
+
176
+ /**
177
+ * Save a widget meta for a current user using AJAX.
178
+ *
179
+ * @since 2.9.0
180
+ */
181
+ public function save_widget_meta_ajax() {
182
+
183
+ check_admin_referer( 'wp_mail_smtp_' . static::SLUG . '_nonce' );
184
+
185
+ if ( ! current_user_can( 'manage_options' ) ) {
186
+ wp_send_json_error();
187
+ }
188
+
189
+ $meta = ! empty( $_POST['meta'] ) ? sanitize_key( $_POST['meta'] ) : '';
190
+ $value = ! empty( $_POST['value'] ) ? sanitize_key( $_POST['value'] ) : 0;
191
+
192
+ $this->widget_meta( 'set', $meta, $value );
193
+
194
+ wp_send_json_success();
195
+ }
196
+
197
+ /**
198
+ * Load widget content.
199
+ *
200
+ * @since 2.9.0
201
+ */
202
+ public function widget_content() {
203
+
204
+ echo '<div class="wp-mail-smtp-dash-widget wp-mail-smtp-dash-widget--lite">';
205
+
206
+ $this->widget_content_html();
207
+
208
+ echo '</div>';
209
+ }
210
+
211
+ /**
212
+ * Increment the number of total emails sent by 1.
213
+ *
214
+ * @since 2.9.0
215
+ */
216
+ public function increment_sent_email_counter() {
217
+
218
+ $value = $this->get_total_email_sent() + 1;
219
+
220
+ update_option( self::SENT_EMAILS_COUNTER_OPTION_KEY, $value, true );
221
+ }
222
+
223
+ /**
224
+ * Get the number of total emails sent.
225
+ *
226
+ * @since 2.9.0
227
+ */
228
+ private function get_total_email_sent() {
229
+
230
+ return get_option( self::SENT_EMAILS_COUNTER_OPTION_KEY, 0 );
231
+ }
232
+
233
+ /**
234
+ * Widget content HTML.
235
+ *
236
+ * @since 2.9.0
237
+ */
238
+ private function widget_content_html() {
239
+
240
+ $hide_graph = (bool) $this->widget_meta( 'get', 'hide_graph' );
241
+ ?>
242
+
243
+ <?php if ( ! $hide_graph ) : ?>
244
+ <div class="wp-mail-smtp-dash-widget-chart-block-container">
245
+ <div class="wp-mail-smtp-dash-widget-block wp-mail-smtp-dash-widget-chart-block">
246
+ <canvas id="wp-mail-smtp-dash-widget-chart" width="554" height="291"></canvas>
247
+ <div class="wp-mail-smtp-dash-widget-chart-upgrade">
248
+ <div class="wp-mail-smtp-dash-widget-modal">
249
+ <a href="#" class="wp-mail-smtp-dash-widget-dismiss-chart-upgrade">
250
+ <span class="dashicons dashicons-no-alt"></span>
251
+ </a>
252
+ <h2><?php esc_html_e( 'View Detailed Email Stats', 'wp-mail-smtp' ); ?></h2>
253
+ <p><?php esc_html_e( 'Automatically keep track of every email sent from your WordPress site and view valuable statistics right here in your dashboard.', 'wp-mail-smtp' ); ?></p>
254
+ <p>
255
+ <a href="<?php echo esc_url( wp_mail_smtp()->get_upgrade_link( [ 'medium' => 'dashboard-widget', 'content' => 'upgrade-to-wp-mail-smtp-pro' ] ) ); // phpcs:ignore WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound ?>" target="_blank" rel="noopener noreferrer" class="button button-primary button-hero">
256
+ <?php esc_html_e( 'Upgrade to WP Mail SMTP Pro', 'wp-mail-smtp' ); ?>
257
+ </a>
258
+ </p>
259
+ </div>
260
+ </div>
261
+ <div class="wp-mail-smtp-dash-widget-overlay"></div>
262
+ </div>
263
+ </div>
264
+ <?php endif; ?>
265
+
266
+ <div class="wp-mail-smtp-dash-widget-block wp-mail-smtp-dash-widget-block-settings">
267
+ <div>
268
+ <?php $this->email_types_select_html(); ?>
269
+ </div>
270
+ <div>
271
+ <?php
272
+ $this->timespan_select_html();
273
+ $this->widget_settings_html();
274
+ ?>
275
+ </div>
276
+ </div>
277
+
278
+ <div id="wp-mail-smtp-dash-widget-email-stats-block" class="wp-mail-smtp-dash-widget-block wp-mail-smtp-dash-widget-email-stats-block">
279
+ <?php $this->email_stats_block(); ?>
280
+ </div>
281
+
282
+ <div id="wp-mail-smtp-dash-widget-upgrade-footer" class="wp-mail-smtp-dash-widget-block wp-mail-smtp-dash-widget-upgrade-footer wp-mail-smtp-dash-widget-upgrade-footer--<?php echo ! $hide_graph ? 'hide' : 'show'; ?>">
283
+ <p>
284
+ <?php
285
+ printf(
286
+ wp_kses( /* translators: %s - URL to WPMailSMTP.com. */
287
+ __( '<a href="%s" target="_blank" rel="noopener noreferrer">Upgrade to Pro</a> for detailed stats, email logs, and more!', 'wp-mail-smtp' ),
288
+ [
289
+ 'a' => [
290
+ 'href' => [],
291
+ 'rel' => [],
292
+ 'target' => [],
293
+ ],
294
+ ]
295
+ ),
296
+ esc_url( wp_mail_smtp()->get_upgrade_link( [ 'medium' => 'dashboard-widget', 'content' => 'upgrade-to-pro' ] ) ) // phpcs:ignore WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound
297
+ );
298
+ ?>
299
+ </p>
300
+ </div>
301
+ <?php
302
+ }
303
+
304
+ /**
305
+ * Timespan select HTML.
306
+ *
307
+ * @since 2.9.0
308
+ */
309
+ private function timespan_select_html() {
310
+
311
+ ?>
312
+ <select id="wp-mail-smtp-dash-widget-timespan" class="wp-mail-smtp-dash-widget-select-timespan" title="<?php esc_attr_e( 'Select timespan', 'wp-mail-smtp' ); ?>">
313
+ <option value="all">
314
+ <?php esc_html_e( 'All Time', 'wp-mail-smtp' ); ?>
315
+ </option>
316
+ <?php foreach ( [ 7, 14, 30 ] as $option ) : ?>
317
+ <option value="<?php echo absint( $option ); ?>" disabled>
318
+ <?php /* translators: %d - Number of days. */ ?>
319
+ <?php echo esc_html( sprintf( _n( 'Last %d day', 'Last %d days', absint( $option ), 'wp-mail-smtp' ), absint( $option ) ) ); ?>
320
+ </option>
321
+ <?php endforeach; ?>
322
+ </select>
323
+
324
+ <?php
325
+ }
326
+
327
+ /**
328
+ * Email types select HTML.
329
+ *
330
+ * @since 2.9.0
331
+ */
332
+ private function email_types_select_html() {
333
+
334
+ $options = [
335
+ 'delivered' => esc_html__( 'Confirmed Emails', 'wp-mail-smtp' ),
336
+ 'sent' => esc_html__( 'Unconfirmed Emails', 'wp-mail-smtp' ),
337
+ 'unsent' => esc_html__( 'Failed Emails', 'wp-mail-smtp' ),
338
+ ];
339
+
340
+ if ( $this->mailer_without_send_confirmation() ) {
341
+ unset( $options['sent'] );
342
+ $options['delivered'] = esc_html__( 'Sent Emails', 'wp-mail-smtp' );
343
+ }
344
+
345
+ ?>
346
+ <select id="wp-mail-smtp-dash-widget-email-type" class="wp-mail-smtp-dash-widget-select-email-type" title="<?php esc_attr_e( 'Select email type', 'wp-mail-smtp' ); ?>">
347
+ <option value="all">
348
+ <?php esc_html_e( 'All Emails', 'wp-mail-smtp' ); ?>
349
+ </option>
350
+ <?php foreach ( $options as $key => $title ) : ?>
351
+ <option value="<?php echo sanitize_key( $key ); ?>" disabled>
352
+ <?php echo esc_html( $title ); ?>
353
+ </option>
354
+ <?php endforeach; ?>
355
+ </select>
356
+
357
+ <?php
358
+ }
359
+
360
+ /**
361
+ * Widget settings HTML.
362
+ *
363
+ * @since 2.9.0
364
+ */
365
+ private function widget_settings_html() {
366
+
367
+ ?>
368
+ <div class="wp-mail-smtp-dash-widget-settings-container">
369
+ <button id="wp-mail-smtp-dash-widget-settings-button" class="wp-mail-smtp-dash-widget-settings-button button" type="button">
370
+ <span class="dashicons dashicons-admin-generic"></span>
371
+ </button>
372
+ <div class="wp-mail-smtp-dash-widget-settings-menu">
373
+ <div class="wp-mail-smtp-dash-widget-settings-menu--style">
374
+ <h4><?php esc_html_e( 'Graph Style', 'wp-mail-smtp' ); ?></h4>
375
+ <div>
376
+ <div class="wp-mail-smtp-dash-widget-settings-menu-item">
377
+ <input type="radio" id="wp-mail-smtp-dash-widget-settings-style-bar" name="style" value="bar" disabled>
378
+ <label for="wp-mail-smtp-dash-widget-settings-style-bar"><?php esc_html_e( 'Bar', 'wp-mail-smtp' ); ?></label>
379
+ </div>
380
+ <div class="wp-mail-smtp-dash-widget-settings-menu-item">
381
+ <input type="radio" id="wp-mail-smtp-dash-widget-settings-style-line" name="style" value="line" checked disabled>
382
+ <label for="wp-mail-smtp-dash-widget-settings-style-line"><?php esc_html_e( 'Line', 'wp-mail-smtp' ); ?></label>
383
+ </div>
384
+ </div>
385
+ </div>
386
+ <div class="wp-mail-smtp-dash-widget-settings-menu--color">
387
+ <h4><?php esc_html_e( 'Color Scheme', 'wp-mail-smtp' ); ?></h4>
388
+ <div>
389
+ <div class="wp-mail-smtp-dash-widget-settings-menu-item">
390
+ <input type="radio" id="wp-mail-smtp-dash-widget-settings-color-smtp" name="color" value="smtp" disabled>
391
+ <label for="wp-mail-smtp-dash-widget-settings-color-smtp"><?php esc_html_e( 'WP Mail SMTP', 'wp-mail-smtp' ); ?></label>
392
+ </div>
393
+ <div class="wp-mail-smtp-dash-widget-settings-menu-item">
394
+ <input type="radio" id="wp-mail-smtp-dash-widget-settings-color-wp" name="color" value="wp" checked disabled>
395
+ <label for="wp-mail-smtp-dash-widget-settings-color-wp"><?php esc_html_e( 'WordPress', 'wp-mail-smtp' ); ?></label>
396
+ </div>
397
+ </div>
398
+ </div>
399
+ <button type="button" class="button wp-mail-smtp-dash-widget-settings-menu-save" disabled><?php esc_html_e( 'Save Changes', 'wp-mail-smtp' ); ?></button>
400
+ </div>
401
+ </div>
402
+ <?php
403
+ }
404
+
405
+ /**
406
+ * Email statistics block.
407
+ *
408
+ * @since 2.9.0
409
+ */
410
+ private function email_stats_block() {
411
+
412
+ $output_data = $this->get_email_stats_data();
413
+ ?>
414
+
415
+ <table id="wp-mail-smtp-dash-widget-email-stats-table" cellspacing="0">
416
+ <tr>
417
+ <?php
418
+ $count = 0;
419
+ $per_row = 2;
420
+
421
+ foreach ( array_values( $output_data ) as $stats ) :
422
+ if ( ! is_array( $stats ) ) {
423
+ continue;
424
+ }
425
+
426
+ if ( ! isset( $stats['icon'], $stats['title'] ) ) {
427
+ continue;
428
+ }
429
+
430
+ // Make some exceptions for mailers without send confirmation functionality.
431
+ if ( $this->mailer_without_send_confirmation() ) {
432
+ $per_row = 3;
433
+ }
434
+
435
+ // Create new row after every $per_row cells.
436
+ if ( $count !== 0 && $count % $per_row === 0 ) {
437
+ echo '</tr><tr>';
438
+ }
439
+
440
+ $count++;
441
+ ?>
442
+ <td class="wp-mail-smtp-dash-widget-email-stats-table-cell wp-mail-smtp-dash-widget-email-stats-table-cell--<?php echo esc_attr( $stats['type'] ); ?> wp-mail-smtp-dash-widget-email-stats-table-cell--3">
443
+ <div class="wp-mail-smtp-dash-widget-email-stats-table-cell-container">
444
+ <img src="<?php echo esc_url( $stats['icon'] ); ?>" alt="<?php esc_attr_e( 'Table cell icon', 'wp-mail-smtp' ); ?>">
445
+ <span>
446
+ <?php echo esc_html( $stats['title'] ); ?>
447
+ </span>
448
+ </div>
449
+ </td>
450
+ <?php endforeach; ?>
451
+ </tr>
452
+ </table>
453
+
454
+ <?php
455
+ }
456
+
457
+ /**
458
+ * Prepare the email stats data.
459
+ * The text and counts of the email stats.
460
+ *
461
+ * @since 2.9.0
462
+ *
463
+ * @return array[]
464
+ */
465
+ private function get_email_stats_data() {
466
+
467
+ $total_sent = $this->get_total_email_sent();
468
+
469
+ $output_data = [
470
+ 'all' => [
471
+ 'type' => 'all',
472
+ 'icon' => wp_mail_smtp()->assets_url . '/images/dash-widget/wp/total.svg',
473
+ /* translators: %d number of total emails sent. */
474
+ 'title' => esc_html( sprintf( esc_html__( '%d total', 'wp-mail-smtp' ), $total_sent ) ),
475
+ ],
476
+ 'delivered' => [
477
+ 'type' => 'delivered',
478
+ 'icon' => wp_mail_smtp()->assets_url . '/images/dash-widget/wp/delivered.svg',
479
+ /* translators: %s fixed string of 'N/A'. */
480
+ 'title' => esc_html( sprintf( esc_html__( 'Confirmed %s', 'wp-mail-smtp' ), 'N/A' ) ),
481
+ ],
482
+ 'sent' => [
483
+ 'type' => 'sent',
484
+ 'icon' => wp_mail_smtp()->assets_url . '/images/dash-widget/wp/sent.svg',
485
+ /* translators: %s fixed string of 'N/A'. */
486
+ 'title' => esc_html( sprintf( esc_html__( 'Unconfirmed %s', 'wp-mail-smtp' ), 'N/A' ) ),
487
+ ],
488
+ 'unsent' => [
489
+ 'type' => 'unsent',
490
+ 'icon' => wp_mail_smtp()->assets_url . '/images/dash-widget/wp/unsent.svg',
491
+ /* translators: %s fixed string of 'N/A'. */
492
+ 'title' => esc_html( sprintf( esc_html__( 'Failed %s', 'wp-mail-smtp' ), 'N/A' ) ),
493
+ ],
494
+ ];
495
+
496
+ if ( $this->mailer_without_send_confirmation() ) {
497
+
498
+ // Skip the 'unconfirmed sent' section.
499
+ unset( $output_data['sent'] );
500
+
501
+ // Change the 'confirmed sent' section into a general 'sent' section.
502
+ $output_data['delivered']['title'] = esc_html( /* translators: %s fixed string of 'N/A'. */
503
+ sprintf( esc_html__( 'Sent %s', 'wp-mail-smtp' ), 'N/A' )
504
+ );
505
+ }
506
+
507
+ return $output_data;
508
+ }
509
+
510
+ /**
511
+ * Get/set a widget meta.
512
+ *
513
+ * @since 2.9.0
514
+ *
515
+ * @param string $action Possible value: 'get' or 'set'.
516
+ * @param string $meta Meta name.
517
+ * @param int $value Value to set.
518
+ *
519
+ * @return mixed
520
+ */
521
+ protected function widget_meta( $action, $meta, $value = 0 ) {
522
+
523
+ $allowed_actions = [ 'get', 'set' ];
524
+
525
+ if ( ! in_array( $action, $allowed_actions, true ) ) {
526
+ return false;
527
+ }
528
+
529
+ $defaults = [
530
+ 'hide_graph' => 0,
531
+ ];
532
+
533
+ if ( ! array_key_exists( $meta, $defaults ) ) {
534
+ return false;
535
+ }
536
+
537
+ $meta_key = 'wp_mail_smtp_' . static::SLUG . '_' . $meta;
538
+
539
+ if ( 'get' === $action ) {
540
+ $meta_value = get_user_meta( get_current_user_id(), $meta_key, true );
541
+
542
+ return empty( $meta_value ) ? $defaults[ $meta ] : $meta_value;
543
+ }
544
+
545
+ $value = sanitize_key( $value );
546
+
547
+ if ( 'set' === $action && ! empty( $value ) ) {
548
+ return update_user_meta( get_current_user_id(), $meta_key, $value );
549
+ }
550
+
551
+ if ( 'set' === $action && empty( $value ) ) {
552
+ return delete_user_meta( get_current_user_id(), $meta_key );
553
+ }
554
+
555
+ return false;
556
+ }
557
+
558
+ /**
559
+ * Check if the current active mailer has email send confirmation functionality.
560
+ *
561
+ * @since 2.9.0
562
+ *
563
+ * @return bool
564
+ */
565
+ private function mailer_without_send_confirmation() {
566
+
567
+ return ! in_array(
568
+ Options::init()->get( 'mail', 'mailer' ),
569
+ [
570
+ 'smtpcom',
571
+ 'sendinblue',
572
+ 'mailgun',
573
+ ],
574
+ true
575
+ );
576
+ }
577
+ }
src/Admin/Notifications.php CHANGED
@@ -411,14 +411,14 @@ class Notifications {
411
  sanitize_text_field( $btn['text'] )
412
  );
413
  }
414
- $buttons_html = ! empty( $buttons_html ) ? '<div class="buttons">' . $buttons_html . '</div>' : '';
415
  }
416
 
417
  // Notification HTML.
418
  $notifications_html .= sprintf(
419
- '<div class="message%5$s" data-message-id="%4$s">
420
- <h3 class="title">%1$s</h3>
421
- <p class="content">%2$s</p>
422
  %3$s
423
  </div>',
424
  ! empty( $notification['title'] ) ? sanitize_text_field( $notification['title'] ) : '',
@@ -435,19 +435,35 @@ class Notifications {
435
 
436
  <div id="wp-mail-smtp-notifications">
437
 
438
- <div class="bell">
439
- <svg xmlns="http://www.w3.org/2000/svg" width="42" height="48" viewBox="0 0 42 48"><defs><style>.a{fill:#777;}.b{fill:#ca4a1f;}</style></defs><path class="a" d="M23-79a6.005,6.005,0,0,1-6-6h10.06a12.066,12.066,0,0,0,1.791,1.308,6.021,6.021,0,0,1-2.077,3.352A6.008,6.008,0,0,1,23-79Zm1.605-9H5.009a2.955,2.955,0,0,1-2.173-.923A3.088,3.088,0,0,1,2-91a2.919,2.919,0,0,1,.807-2.036c.111-.12.229-.243.351-.371a14.936,14.936,0,0,0,3.126-4.409A23.283,23.283,0,0,0,8.007-107.5a14.846,14.846,0,0,1,.906-5.145,14.5,14.5,0,0,1,2.509-4.324A15.279,15.279,0,0,1,20-122.046V-124a3,3,0,0,1,3-3,3,3,0,0,1,3,3v1.954a15.28,15.28,0,0,1,8.58,5.078,14.5,14.5,0,0,1,2.509,4.324,14.846,14.846,0,0,1,.906,5.145c0,.645.016,1.281.047,1.888A12.036,12.036,0,0,0,35-106a11.921,11.921,0,0,0-8.485,3.515A11.923,11.923,0,0,0,23-94a12,12,0,0,0,1.6,6Z" transform="translate(-2 127)"/><circle class="b" cx="9" cy="9" r="9" transform="translate(24 24)"/></svg>
 
 
 
 
 
 
440
  </div>
441
 
442
- <a class="dismiss" title="<?php echo esc_attr__( 'Dismiss this message', 'wp-mail-smtp' ); ?>"><span class="dashicons dashicons-dismiss"></span></a>
443
-
444
- <div class="navigation">
445
- <a class="prev disabled" title="<?php echo esc_attr__( 'Previous message', 'wp-mail-smtp' ); ?>"><span class="dashicons dashicons-arrow-left-alt2"></span></a>
446
- <a class="next disabled" title="<?php echo esc_attr__( 'Next message', 'wp-mail-smtp' ); ?>"><span class="dashicons dashicons-arrow-right-alt2"></span></a>
447
- </div>
448
-
449
- <div class="messages">
450
- <?php echo $notifications_html; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
 
 
 
 
 
 
 
 
 
 
451
  </div>
452
  </div>
453
  <?php
411
  sanitize_text_field( $btn['text'] )
412
  );
413
  }
414
+ $buttons_html = ! empty( $buttons_html ) ? '<div class="wp-mail-smtp-notifications-buttons">' . $buttons_html . '</div>' : '';
415
  }
416
 
417
  // Notification HTML.
418
  $notifications_html .= sprintf(
419
+ '<div class="wp-mail-smtp-notifications-message%5$s" data-message-id="%4$s">
420
+ <h3 class="wp-mail-smtp-notifications-title">%1$s</h3>
421
+ <p class="wp-mail-smtp-notifications-content">%2$s</p>
422
  %3$s
423
  </div>',
424
  ! empty( $notification['title'] ) ? sanitize_text_field( $notification['title'] ) : '',
435
 
436
  <div id="wp-mail-smtp-notifications">
437
 
438
+ <div class="wp-mail-smtp-notifications-header">
439
+ <div class="wp-mail-smtp-notifications-bell">
440
+ <svg width="16" height="20" viewBox="0 0 16 20" fill="none" xmlns="http://www.w3.org/2000/svg">
441
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M12.8173 8.92686C12.4476 9.01261 12.0624 9.05794 11.6666 9.05794C8.86542 9.05794 6.59455 6.78729 6.59419 3.98616C4.22974 4.54931 2.51043 6.64293 2.51043 9.23824C2.51043 12.4695 1.48985 13.6147 0.849845 14.3328C0.796894 14.3922 0.746548 14.4487 0.699601 14.5032C0.505584 14.707 0.408575 14.9787 0.440912 15.2165C0.440912 15.7939 0.828946 16.3034 1.47567 16.3034H13.8604C14.5071 16.3034 14.8952 15.7939 14.9275 15.2165C14.9275 14.9787 14.8305 14.707 14.6365 14.5032C14.5895 14.4487 14.5392 14.3922 14.4862 14.3328C13.8462 13.6147 12.8257 12.4695 12.8257 9.23824C12.8257 9.13361 12.8229 9.02979 12.8173 8.92686ZM9.72139 17.3904C9.72139 18.6132 8.81598 19.5643 7.68421 19.5643C6.52011 19.5643 5.6147 18.6132 5.6147 17.3904H9.72139Z" fill="#777777"/>
442
+ <path d="M11.6666 7.60868C13.6677 7.60868 15.2898 5.98653 15.2898 3.9855C15.2898 1.98447 13.6677 0.36232 11.6666 0.36232C9.66561 0.36232 8.04346 1.98447 8.04346 3.9855C8.04346 5.98653 9.66561 7.60868 11.6666 7.60868Z" fill="#CA4A1F"/>
443
+ </svg>
444
+ </div>
445
+ <div class="wp-mail-smtp-notifications-title"><?php esc_html_e( 'Notifications', 'wp-mail-smtp' ); ?></div>
446
  </div>
447
 
448
+ <div class="wp-mail-smtp-notifications-body">
449
+ <a class="dismiss" title="<?php echo esc_attr__( 'Dismiss this message', 'wp-mail-smtp' ); ?>"><i class="dashicons dashicons-dismiss" aria-hidden="true"></i></a>
450
+
451
+ <?php if ( count( $notifications ) > 1 ) : ?>
452
+ <div class="navigation">
453
+ <a class="prev">
454
+ <span class="screen-reader-text"><?php esc_attr_e( 'Previous message', 'wp-mail-smtp' ); ?></span>
455
+ <span aria-hidden="true">‹</span>
456
+ </a>
457
+ <a class="next">
458
+ <span class="screen-reader-text"><?php esc_attr_e( 'Next message', 'wp-mail-smtp' ); ?>"></span>
459
+ <span aria-hidden="true">›</span>
460
+ </a>
461
+ </div>
462
+ <?php endif; ?>
463
+
464
+ <div class="wp-mail-smtp-notifications-messages">
465
+ <?php echo $notifications_html; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
466
+ </div>
467
  </div>
468
  </div>
469
  <?php
src/Admin/PageAbstract.php CHANGED
@@ -57,12 +57,10 @@ abstract class PageAbstract implements PageInterface {
57
  $page .= '-' . $this->parent_page->get_slug();
58
  }
59
 
60
- return esc_url(
61
- add_query_arg(
62
- 'tab',
63
- $this->slug,
64
- WP::admin_url( 'admin.php?page=' . $page )
65
- )
66
  );
67
  }
68
 
@@ -154,13 +152,22 @@ abstract class PageAbstract implements PageInterface {
154
  public function display_save_btn() {
155
 
156
  ?>
157
-
158
  <p class="wp-mail-smtp-submit">
159
  <button type="submit" class="wp-mail-smtp-btn wp-mail-smtp-btn-md wp-mail-smtp-btn-orange">
160
  <?php esc_html_e( 'Save Settings', 'wp-mail-smtp' ); ?>
161
  </button>
162
  </p>
163
-
164
  <?php
 
 
 
 
 
 
 
 
 
 
 
165
  }
166
  }
57
  $page .= '-' . $this->parent_page->get_slug();
58
  }
59
 
60
+ return add_query_arg(
61
+ 'tab',
62
+ $this->slug,
63
+ WP::admin_url( 'admin.php?page=' . $page )
 
 
64
  );
65
  }
66
 
152
  public function display_save_btn() {
153
 
154
  ?>
 
155
  <p class="wp-mail-smtp-submit">
156
  <button type="submit" class="wp-mail-smtp-btn wp-mail-smtp-btn-md wp-mail-smtp-btn-orange">
157
  <?php esc_html_e( 'Save Settings', 'wp-mail-smtp' ); ?>
158
  </button>
159
  </p>
 
160
  <?php
161
+ $this->post_form_hidden_field();
162
+ }
163
+
164
+ /**
165
+ * Form hidden field for identifying plugin POST requests.
166
+ *
167
+ * @since 2.9.0
168
+ */
169
+ public function post_form_hidden_field() {
170
+
171
+ echo '<input type="hidden" name="wp-mail-smtp-post" value="1">';
172
  }
173
  }
src/Admin/Pages/About.php CHANGED
@@ -2,20 +2,19 @@
2
 
3
  namespace WPMailSMTP\Admin\Pages;
4
 
5
- use WPMailSMTP\Admin\Area;
6
- use WPMailSMTP\Admin\PageAbstract;
7
- use WPMailSMTP\Admin\PluginsInstallSkin;
8
- use WPMailSMTP\Admin\PluginsInstallUpgrader;
9
- use WPMailSMTP\WP;
10
 
11
  /**
12
- * Class About to display a page with About Us and Versus content.
13
  *
14
  * @since 1.5.0
 
15
  */
16
- class About extends PageAbstract {
17
 
18
  /**
 
 
19
  * @since 1.5.0
20
  *
21
  * @var string Slug of a page.
@@ -23,61 +22,13 @@ class About extends PageAbstract {
23
  protected $slug = 'about';
24
 
25
  /**
26
- * @since 1.5.0
27
  *
28
- * @var array List of supported tabs.
29
- */
30
- protected $tabs = array( 'about', 'versus' );
31
-
32
- /**
33
- * Get the page/tab link.
34
  *
35
- * @since 1.5.0
36
- *
37
- * @param string $tab Tab to generate a link to.
38
- *
39
- * @return string
40
  */
41
- public function get_link( $tab = '' ) {
42
-
43
- return add_query_arg(
44
- 'tab',
45
- $this->get_defined_tab( $tab ),
46
- WP::admin_url( 'admin.php?page=' . Area::SLUG . '-' . $this->slug )
47
- );
48
- }
49
-
50
- /**
51
- * Get the current tab.
52
- *
53
- * @since 1.5.0
54
- *
55
- * @return string Current tab.
56
- */
57
- public function get_current_tab() {
58
-
59
- if ( empty( $_GET['tab'] ) ) { // phpcs:ignore
60
- return $this->slug;
61
- }
62
-
63
- return $this->get_defined_tab( $_GET['tab'] ); // phpcs:ignore
64
- }
65
-
66
- /**
67
- * Get the defined or default tab.
68
- *
69
- * @since 1.5.0
70
- *
71
- * @param string $tab Tab to check.
72
- *
73
- * @return string Defined tab. Fallback to default one if it doesn't exist.
74
- */
75
- protected function get_defined_tab( $tab ) {
76
-
77
- $tab = \sanitize_key( $tab );
78
-
79
- return \in_array( $tab, $this->tabs, true ) ? $tab : $this->slug;
80
- }
81
 
82
  /**
83
  * Get label for a tab.
@@ -92,768 +43,50 @@ class About extends PageAbstract {
92
  */
93
  public function get_label( $tab = '' ) {
94
 
95
- switch ( $this->get_defined_tab( $tab ) ) {
96
- case 'versus':
97
- $label = \sprintf(
98
- /* translators: %s - plugin current license type. */
99
- \esc_html__( '%s vs Pro', 'wp-mail-smtp' ),
100
- \ucfirst( \wp_mail_smtp()->get_license_type() )
101
- );
102
- break;
103
-
104
- case 'about':
105
- default:
106
- $label = \esc_html__( 'About Us', 'wp-mail-smtp' );
107
- break;
108
- }
109
-
110
- return $label;
111
- }
112
-
113
- /**
114
- * @inheritdoc
115
- */
116
- public function get_title() {
117
- return $this->get_label( $this->get_current_tab() );
118
- }
119
-
120
- /**
121
- * Display About page content based on the current tab.
122
- *
123
- * @since 1.5.0
124
- */
125
- public function display() {
126
- ?>
127
-
128
- <div class="wp-mail-smtp-page-title">
129
- <a href="<?php echo \esc_url( $this->get_link() ); ?>" class="tab <?php echo $this->get_current_tab() === 'about' ? 'active' : ''; ?>">
130
- <?php echo \esc_html( $this->get_label( 'about' ) ); ?>
131
- </a>
132
-
133
- <?php if ( \wp_mail_smtp()->get_license_type() === 'lite' ) : ?>
134
- <a href="<?php echo \esc_url( $this->get_link( 'versus' ) ); ?>" class="tab <?php echo $this->get_current_tab() === 'versus' ? 'active' : ''; ?>">
135
- <?php echo \esc_html( $this->get_label( 'versus' ) ); ?>
136
- </a>
137
- <?php endif; ?>
138
- </div>
139
-
140
- <div class="wp-mail-smtp-page-content">
141
- <h1 class="screen-reader-text">
142
- <?php echo \esc_html( $this->get_label( $this->get_current_tab() ) ); ?>
143
- </h1>
144
-
145
- <?php do_action( 'wp_mail_smtp_admin_pages_before_content' ); ?>
146
-
147
- <?php
148
- $callback = 'display_' . $this->get_current_tab();
149
-
150
- if ( \method_exists( $this, $callback ) ) {
151
- $this->{$callback}();
152
- } else {
153
- $this->display_about();
154
- }
155
- ?>
156
- </div>
157
-
158
- <?php
159
- }
160
-
161
- /**
162
- * Display an "About Us" tab content.
163
- *
164
- * @since 1.5.0
165
- */
166
- protected function display_about() {
167
- ?>
168
-
169
- <div class="wp-mail-smtp-admin-about-section wp-mail-smtp-admin-columns">
170
-
171
- <div class="wp-mail-smtp-admin-column-60">
172
- <h3>
173
- <?php esc_html_e( 'Hello and welcome to WP Mail SMTP, the easiest and most popular WordPress SMTP plugin. We build software that helps your site reliably deliver emails every time.', 'wp-mail-smtp' ); ?>
174
- </h3>
175
-
176
- <p>
177
- <?php esc_html_e( 'Email deliverability has been a well-documented problem for all WordPress websites. However as WPForms grew, we became more aware of this painful issue that affects our users and the larger WordPress community. So we decided to solve this problem and make a solution that\'s beginner friendly.', 'wp-mail-smtp' ); ?>
178
- </p>
179
- <p>
180
- <?php esc_html_e( 'Our goal is to make reliable email deliverability easy for WordPress.', 'wp-mail-smtp' ); ?>
181
- </p>
182
- <p>
183
- <?php
184
- printf(
185
- wp_kses(
186
- /* translators: %1$s - WPForms URL, %2$s - WPBeginner URL, %3$s - OptinMonster URL, %4$s - MonsterInsights URL, %5$s - Awesome Motive URL */
187
- __( 'WP Mail SMTP is brought to you by the same team that\'s behind the most user friendly WordPress forms, <a href="%1$s" target="_blank" rel="noopener noreferrer">WPForms</a>, the largest WordPress resource site, <a href="%2$s" target="_blank" rel="noopener noreferrer">WPBeginner</a>, the most popular lead-generation software, <a href="%3$s" target="_blank" rel="noopener noreferrer">OptinMonster</a>, the best WordPress analytics plugin, <a href="%4$s" target="_blank" rel="noopener noreferrer">MonsterInsights</a>, and <a href="%5$s" target="_blank" rel="noopener noreferrer">more</a>.', 'wp-mail-smtp' ),
188
- array(
189
- 'a' => array(
190
- 'href' => array(),
191
- 'rel' => array(),
192
- 'target' => array(),
193
- ),
194
- )
195
- ),
196
- 'https://wpforms.com/?utm_source=wpmailsmtpplugin&utm_medium=pluginaboutpage&utm_campaign=aboutwpmailsmtp',
197
- 'https://www.wpbeginner.com/?utm_source=wpmailsmtpplugin&utm_medium=pluginaboutpage&utm_campaign=aboutwpmailsmtp',
198
- 'https://optinmonster.com/?utm_source=wpmailsmtpplugin&utm_medium=pluginaboutpage&utm_campaign=aboutwpmailsmtp',
199
- 'https://www.monsterinsights.com/?utm_source=wpmailsmtpplugin&utm_medium=pluginaboutpage&utm_campaign=aboutwpmailsmtp',
200
- 'https://awesomemotive.com/'
201
- );
202
- ?>
203
- </p>
204
- <p>
205
- <?php esc_html_e( 'Yup, we know a thing or two about building awesome products that customers love.', 'wp-mail-smtp' ); ?>
206
- </p>
207
- </div>
208
-
209
- <div class="wp-mail-smtp-admin-column-40 wp-mail-smtp-admin-column-last">
210
- <figure>
211
- <img src="<?php echo esc_url( wp_mail_smtp()->assets_url . '/images/about/team.jpg' ); ?>" alt="<?php esc_attr_e( 'The WPForms Team photo', 'wp-mail-smtp' ); ?>">
212
- <figcaption>
213
- <?php esc_html_e( 'The WPForms Team', 'wp-mail-smtp' ); ?>
214
- </figcaption>
215
- </figure>
216
- </div>
217
-
218
- </div>
219
-
220
- <?php
221
-
222
- // Do not display the plugin section if the user can't install or activate them.
223
- if ( ! current_user_can( 'install_plugins' ) && ! current_user_can( 'activate_plugins' ) ) {
224
- return;
225
  }
226
 
227
- $this->display_plugins();
228
- }
229
-
230
- /**
231
- * Display the plugins section.
232
- *
233
- * @since 2.2.0
234
- */
235
- protected function display_plugins() {
236
- ?>
237
-
238
- <div class="wp-mail-smtp-admin-about-plugins">
239
- <div class="plugins-container">
240
- <?php
241
- foreach ( $this->get_am_plugins() as $key => $plugin ) :
242
- $is_url_external = false;
243
-
244
- $data = $this->get_about_plugins_data( $plugin );
245
-
246
- if ( isset( $plugin['pro'] ) && \array_key_exists( $plugin['pro']['path'], \get_plugins() ) ) {
247
- $is_url_external = true;
248
- $plugin = $plugin['pro'];
249
-
250
- $data = array_merge( $data, $this->get_about_plugins_data( $plugin, true ) );
251
- }
252
-
253
- // Do not display a plugin which has to be installed and the user can't install it.
254
- if ( ! current_user_can( 'install_plugins' ) && $data['status_class'] === 'status-download' ) {
255
- continue;
256
- }
257
-
258
- ?>
259
- <div class="plugin-container">
260
- <div class="plugin-item">
261
- <div class="details wp-mail-smtp-clear">
262
- <img src="<?php echo \esc_url( $plugin['icon'] ); ?>" alt="<?php esc_attr_e( 'Plugin icon', 'wp-mail-smtp' ); ?>">
263
- <h5 class="plugin-name">
264
- <?php echo $plugin['name']; ?>
265
- </h5>
266
- <p class="plugin-desc">
267
- <?php echo $plugin['desc']; ?>
268
- </p>
269
- </div>
270
- <div class="actions wp-mail-smtp-clear">
271
- <div class="status">
272
- <strong>
273
- <?php
274
- \printf(
275
- /* translators: %s - status HTML text. */
276
- \esc_html__( 'Status: %s', 'wp-mail-smtp' ),
277
- '<span class="status-label ' . $data['status_class'] . '">' . $data['status_text'] . '</span>'
278
- );
279
- ?>
280
- </strong>
281
- </div>
282
- <div class="action-button">
283
- <?php
284
- $go_to_class = '';
285
- if ( $is_url_external && $data['status_class'] === 'status-download' ) {
286
- $go_to_class = 'go_to';
287
- }
288
- ?>
289
- <a href="<?php echo \esc_url( $plugin['url'] ); ?>"
290
- class="<?php echo \esc_attr( $data['action_class'] ); ?> <?php echo $go_to_class; ?>"
291
- data-plugin="<?php echo $data['plugin_src']; ?>">
292
- <?php echo $data['action_text']; ?>
293
- </a>
294
- </div>
295
- </div>
296
- </div>
297
- </div>
298
- <?php endforeach; ?>
299
- </div>
300
- </div>
301
-
302
- <?php
303
  }
304
 
305
  /**
306
- * Generate all the required CSS classed and labels to be used in rendering.
307
  *
308
  * @since 1.5.0
309
  *
310
- * @param array $plugin
311
- * @param bool $is_pro
312
- *
313
- * @return mixed
314
- */
315
- protected function get_about_plugins_data( $plugin, $is_pro = false ) {
316
-
317
- $data = array();
318
-
319
- if ( \array_key_exists( $plugin['path'], \get_plugins() ) ) {
320
- if ( \is_plugin_active( $plugin['path'] ) ) {
321
- // Status text/status.
322
- $data['status_class'] = 'status-active';
323
- $data['status_text'] = \esc_html__( 'Active', 'wp-mail-smtp' );
324
- // Button text/status.
325
- $data['action_class'] = $data['status_class'] . ' button button-secondary disabled';
326
- $data['action_text'] = \esc_html__( 'Activated', 'wp-mail-smtp' );
327
- $data['plugin_src'] = \esc_attr( $plugin['path'] );
328
- } else {
329
- // Status text/status.
330
- $data['status_class'] = 'status-inactive';
331
- $data['status_text'] = \esc_html__( 'Inactive', 'wp-mail-smtp' );
332
- // Button text/status.
333
- $data['action_class'] = $data['status_class'] . ' button button-secondary';
334
- $data['action_text'] = \esc_html__( 'Activate', 'wp-mail-smtp' );
335
- $data['plugin_src'] = \esc_attr( $plugin['path'] );
336
- }
337
- } else {
338
- if ( ! $is_pro ) {
339
- // Doesn't exist, install.
340
- // Status text/status.
341
- $data['status_class'] = 'status-download';
342
- $data['status_text'] = \esc_html__( 'Not Installed', 'wp-mail-smtp' );
343
- // Button text/status.
344
- $data['action_class'] = $data['status_class'] . ' button button-primary';
345
- $data['action_text'] = \esc_html__( 'Install Plugin', 'wp-mail-smtp' );
346
- $data['plugin_src'] = \esc_url( $plugin['url'] );
347
- }
348
- }
349
-
350
- return $data;
351
- }
352
-
353
- /**
354
- * List of AM plugins that we propose to install.
355
- *
356
- * @since 1.5.0
357
- *
358
- * @return array
359
  */
360
- private function get_am_plugins() {
361
-
362
- $data = array(
363
- 'om' => array(
364
- 'path' => 'optinmonster/optin-monster-wp-api.php',
365
- 'icon' => \wp_mail_smtp()->assets_url . '/images/about/plugin-om.png',
366
- 'name' => \esc_html__( 'OptinMonster', 'wp-mail-smtp' ),
367
- 'desc' => \esc_html__( 'Instantly get more subscribers, leads, and sales with the #1 conversion optimization toolkit. Create high converting popups, announcement bars, spin a wheel, and more with smart targeting and personalization.', 'wp-mail-smtp' ),
368
- 'url' => 'https://downloads.wordpress.org/plugin/optinmonster.zip',
369
- ),
370
- 'wpforms' => array(
371
- 'path' => 'wpforms-lite/wpforms.php',
372
- 'icon' => \wp_mail_smtp()->assets_url . '/images/about/plugin-wpf.png',
373
- 'name' => \esc_html__( 'WPForms', 'wp-mail-smtp' ),
374
- 'desc' => \esc_html__( 'The best drag & drop WordPress form builder. Easily create beautiful contact forms, surveys, payment forms, and more with our 100+ form templates. Trusted by over 4 million websites as the best forms plugin.', 'wp-mail-smtp' ),
375
- 'url' => 'https://downloads.wordpress.org/plugin/wpforms-lite.zip',
376
- 'pro' => array(
377
- 'path' => 'wpforms/wpforms.php',
378
- 'icon' => \wp_mail_smtp()->assets_url . '/images/about/plugin-wpf.png',
379
- 'name' => \esc_html__( 'WPForms Pro', 'wp-mail-smtp' ),
380
- 'desc' => \esc_html__( 'The best drag & drop WordPress form builder. Easily create beautiful contact forms, surveys, payment forms, and more with our 100+ form templates. Trusted by over 4 million websites as the best forms plugin.', 'wp-mail-smtp' ),
381
- 'url' => 'https://wpforms.com/?utm_source=WordPress&utm_medium=about&utm_campaign=smtp',
382
- ),
383
- ),
384
- 'mi' => array(
385
- 'path' => 'google-analytics-for-wordpress/googleanalytics.php',
386
- 'icon' => \wp_mail_smtp()->assets_url . '/images/about/plugin-mi.png',
387
- 'name' => \esc_html__( 'MonsterInsights', 'wp-mail-smtp' ),
388
- 'desc' => \esc_html__( 'The leading WordPress analytics plugin that shows you how people find and use your website, so you can make data driven decisions to grow your business. Properly set up Google Analytics without writing code.', 'wp-mail-smtp' ),
389
- 'url' => 'https://downloads.wordpress.org/plugin/google-analytics-for-wordpress.zip',
390
- 'pro' => array(
391
- 'path' => 'google-analytics-premium/googleanalytics-premium.php',
392
- 'icon' => \wp_mail_smtp()->assets_url . '/images/about/plugin-mi.png',
393
- 'name' => \esc_html__( 'MonsterInsights Pro', 'wp-mail-smtp' ),
394
- 'desc' => \esc_html__( 'The leading WordPress analytics plugin that shows you how people find and use your website, so you can make data driven decisions to grow your business. Properly set up Google Analytics without writing code.', 'wp-mail-smtp' ),
395
- 'url' => 'https://www.monsterinsights.com/?utm_source=WordPress&utm_medium=about&utm_campaign=smtp',
396
- ),
397
- ),
398
- 'aioseo' => array(
399
- 'path' => 'all-in-one-seo-pack/all_in_one_seo_pack.php',
400
- 'icon' => \wp_mail_smtp()->assets_url . '/images/about/plugin-aioseo.png',
401
- 'name' => \esc_html__( 'AIOSEO', 'wp-mail-smtp' ),
402
- 'desc' => \esc_html__( 'The original WordPress SEO plugin and toolkit that improves your website’s search rankings. Comes with all the SEO features like Local SEO, WooCommerce SEO, sitemaps, SEO optimizer, schema, and more.', 'wp-mail-smtp' ),
403
- 'url' => 'https://downloads.wordpress.org/plugin/all-in-one-seo-pack.zip',
404
- 'pro' => array(
405
- 'path' => 'all-in-one-seo-pack-pro/all_in_one_seo_pack.php',
406
- 'icon' => \wp_mail_smtp()->assets_url . '/images/about/plugin-aioseo.png',
407
- 'name' => \esc_html__( 'AIOSEO', 'wp-mail-smtp' ),
408
- 'desc' => \esc_html__( 'The original WordPress SEO plugin and toolkit that improves your website’s search rankings. Comes with all the SEO features like Local SEO, WooCommerce SEO, sitemaps, SEO optimizer, schema, and more.', 'wp-mail-smtp' ),
409
- 'url' => 'https://aioseo.com/?utm_source=WordPress&utm_medium=about&utm_campaign=smtp',
410
- ),
411
- ),
412
- 'seedprod' => array(
413
- 'path' => 'coming-soon/coming-soon.php',
414
- 'icon' => \wp_mail_smtp()->assets_url . '/images/about/plugin-seedprod.png',
415
- 'name' => \esc_html__( 'SeedProd', 'wp-mail-smtp' ),
416
- 'desc' => \esc_html__( 'The fastest drag & drop landing page builder for WordPress. Create custom landing pages without writing code, connect them with your CRM, collect subscribers, and grow your audience. Trusted by 1 million sites.', 'wp-mail-smtp' ),
417
- 'url' => 'https://downloads.wordpress.org/plugin/coming-soon.zip',
418
- 'pro' => array(
419
- 'path' => 'seedprod-coming-soon-pro-5/seedprod-coming-soon-pro-5.php',
420
- 'icon' => \wp_mail_smtp()->assets_url . '/images/about/plugin-seedprod.png',
421
- 'name' => \esc_html__( 'SeedProd', 'wp-mail-smtp' ),
422
- 'desc' => \esc_html__( 'The fastest drag & drop landing page builder for WordPress. Create custom landing pages without writing code, connect them with your CRM, collect subscribers, and grow your audience. Trusted by 1 million sites.', 'wp-mail-smtp' ),
423
- 'url' => 'https://www.seedprod.com/?utm_source=WordPress&utm_medium=about&utm_campaign=smtp',
424
- ),
425
- ),
426
- 'rafflepress' => array(
427
- 'path' => 'rafflepress/rafflepress.php',
428
- 'icon' => \wp_mail_smtp()->assets_url . '/images/about/plugin-rp.png',
429
- 'name' => \esc_html__( 'RafflePress', 'wp-mail-smtp' ),
430
- 'desc' => \esc_html__( 'Turn your website visitors into brand ambassadors! Easily grow your email list, website traffic, and social media followers with the most powerful giveaways & contests plugin for WordPress.', 'wp-mail-smtp' ),
431
- 'url' => 'https://downloads.wordpress.org/plugin/rafflepress.zip',
432
- 'pro' => array(
433
- 'path' => 'rafflepress-pro/rafflepress-pro.php',
434
- 'icon' => \wp_mail_smtp()->assets_url . '/images/about/plugin-rp.png',
435
- 'name' => \esc_html__( 'RafflePress Pro', 'wp-mail-smtp' ),
436
- 'desc' => \esc_html__( 'Turn your website visitors into brand ambassadors! Easily grow your email list, website traffic, and social media followers with the most powerful giveaways & contests plugin for WordPress.', 'wp-mail-smtp' ),
437
- 'url' => 'https://rafflepress.com/pricing/?utm_source=WordPress&utm_medium=about&utm_campaign=smtp',
438
- ),
439
- ),
440
- 'pushengage' => array(
441
- 'path' => 'pushengage/main.php',
442
- 'icon' => \wp_mail_smtp()->assets_url . '/images/about/plugin-pushengage.png',
443
- 'name' => \esc_html__( 'PushEngage', 'wp-mail-smtp' ),
444
- 'desc' => \esc_html__( 'Connect with your visitors after they leave your website with the leading web push notification software. Over 10,000+ businesses worldwide use PushEngage to send 9 billion notifications each month.', 'wp-mail-smtp' ),
445
- 'url' => 'https://downloads.wordpress.org/plugin/pushengage.zip',
446
- ),
447
- 'smash-balloon-instagram-feeds' => array(
448
- 'path' => 'instagram-feed/instagram-feed.php',
449
- 'icon' => \wp_mail_smtp()->assets_url . '/images/about/plugin-smash-balloon-instagram-feeds.png',
450
- 'name' => \esc_html__( 'Smash Balloon Instagram Feeds', 'wp-mail-smtp' ),
451
- 'desc' => \esc_html__( 'Easily display Instagram content on your WordPress site without writing any code. Comes with multiple templates, ability to show content from multiple accounts, hashtags, and more. Trusted by 1 million websites.', 'wp-mail-smtp' ),
452
- 'url' => 'https://downloads.wordpress.org/plugin/instagram-feed.zip',
453
- 'pro' => array(
454
- 'path' => 'instagram-feed-pro/instagram-feed.php',
455
- 'icon' => \wp_mail_smtp()->assets_url . '/images/about/',
456
- 'name' => \esc_html__( 'Smash Balloon Instagram Feeds', 'wp-mail-smtp' ),
457
- 'desc' => \esc_html__( 'Easily display Instagram content on your WordPress site without writing any code. Comes with multiple templates, ability to show content from multiple accounts, hashtags, and more. Trusted by 1 million websites.', 'wp-mail-smtp' ),
458
- 'url' => 'https://smashballoon.com/instagram-feed/?utm_source=WordPress&utm_medium=about&utm_campaign=smtp',
459
- ),
460
- ),
461
- 'smash-balloon-facebook-feeds' => array(
462
- 'path' => 'custom-facebook-feed/custom-facebook-feed.php',
463
- 'icon' => \wp_mail_smtp()->assets_url . '/images/about/plugin-smash-balloon-facebook-feeds.png',
464
- 'name' => \esc_html__( 'Smash Balloon Facebook Feeds', 'wp-mail-smtp' ),
465
- 'desc' => \esc_html__( 'Easily display Facebook content on your WordPress site without writing any code. Comes with multiple templates, ability to embed albums, group content, reviews, live videos, comments, and reactions.', 'wp-mail-smtp' ),
466
- 'url' => 'https://downloads.wordpress.org/plugin/custom-facebook-feed.zip',
467
- 'pro' => array(
468
- 'path' => 'custom-facebook-feed-pro/custom-facebook-feed.php',
469
- 'icon' => \wp_mail_smtp()->assets_url . '/images/about/',
470
- 'name' => \esc_html__( 'Smash Balloon Facebook Feeds', 'wp-mail-smtp' ),
471
- 'desc' => \esc_html__( 'Easily display Facebook content on your WordPress site without writing any code. Comes with multiple templates, ability to embed albums, group content, reviews, live videos, comments, and reactions.', 'wp-mail-smtp' ),
472
- 'url' => 'https://smashballoon.com/custom-facebook-feed/?utm_source=WordPress&utm_medium=about&utm_campaign=smtp',
473
- ),
474
- ),
475
- 'smash-balloon-youtube-feeds' => array(
476
- 'path' => 'feeds-for-youtube/youtube-feed.php',
477
- 'icon' => \wp_mail_smtp()->assets_url . '/images/about/plugin-smash-balloon-youtube-feeds.png',
478
- 'name' => \esc_html__( 'Smash Balloon YouTube Feeds', 'wp-mail-smtp' ),
479
- 'desc' => \esc_html__( 'Easily display YouTube videos on your WordPress site without writing any code. Comes with multiple layouts, ability to embed live streams, video filtering, ability to combine multiple channel videos, and more.', 'wp-mail-smtp' ),
480
- 'url' => 'https://downloads.wordpress.org/plugin/feeds-for-youtube.zip',
481
- 'pro' => array(
482
- 'path' => 'youtube-feed-pro/youtube-feed.php',
483
- 'icon' => \wp_mail_smtp()->assets_url . '/images/about/',
484
- 'name' => \esc_html__( 'Smash Balloon YouTube Feeds', 'wp-mail-smtp' ),
485
- 'desc' => \esc_html__( 'Easily display YouTube videos on your WordPress site without writing any code. Comes with multiple layouts, ability to embed live streams, video filtering, ability to combine multiple channel videos, and more.', 'wp-mail-smtp' ),
486
- 'url' => 'https://smashballoon.com/youtube-feed/?utm_source=WordPress&utm_medium=about&utm_campaign=smtp',
487
- ),
488
- ),
489
- 'smash-balloon-twitter-feeds' => array(
490
- 'path' => 'custom-twitter-feeds/custom-twitter-feed.php',
491
- 'icon' => \wp_mail_smtp()->assets_url . '/images/about/plugin-smash-balloon-twitter-feeds.png',
492
- 'name' => \esc_html__( 'Smash Balloon Twitter Feeds', 'wp-mail-smtp' ),
493
- 'desc' => \esc_html__( 'Easily display Twitter content in WordPress without writing any code. Comes with multiple layouts, ability to combine multiple Twitter feeds, Twitter card support, tweet moderation, and more.', 'wp-mail-smtp' ),
494
- 'url' => 'https://downloads.wordpress.org/plugin/custom-twitter-feeds.zip',
495
- 'pro' => array(
496
- 'path' => 'custom-twitter-feeds-pro/custom-twitter-feed.php',
497
- 'icon' => \wp_mail_smtp()->assets_url . '/images/about/',
498
- 'name' => \esc_html__( 'Smash Balloon Twitter Feeds', 'wp-mail-smtp' ),
499
- 'desc' => \esc_html__( 'Easily display Twitter content in WordPress without writing any code. Comes with multiple layouts, ability to combine multiple Twitter feeds, Twitter card support, tweet moderation, and more.', 'wp-mail-smtp' ),
500
- 'url' => 'https://smashballoon.com/custom-twitter-feeds/?utm_source=WordPress&utm_medium=about&utm_campaign=smtp',
501
- ),
502
- ),
503
- 'trustpulse' => array(
504
- 'path' => 'trustpulse-api/trustpulse.php',
505
- 'icon' => \wp_mail_smtp()->assets_url . '/images/about/plugin-trustpulse.png',
506
- 'name' => \esc_html__( 'TrustPulse', 'wp-mail-smtp' ),
507
- 'desc' => \esc_html__( 'Boost your sales and conversions by up to 15% with real-time social proof notifications. TrustPulse helps you show live user activity and purchases to help convince other users to purchase.', 'wp-mail-smtp' ),
508
- 'url' => 'https://downloads.wordpress.org/plugin/trustpulse-api.zip',
509
- ),
510
- );
511
 
512
- return $data;
513
  }
514
 
515
  /**
516
  * Active the given plugin.
517
  *
 
 
518
  * @since 1.5.0
519
  */
520
  public static function ajax_plugin_activate() {
521
 
522
- // Run a security check.
523
- \check_ajax_referer( 'wp-mail-smtp-about', 'nonce' );
524
 
525
- $error = \esc_html__( 'Could not activate the plugin. Please activate it from the Plugins page.', 'wp-mail-smtp' );
526
-
527
- // Check for permissions.
528
- if ( ! \current_user_can( 'activate_plugins' ) ) {
529
- \wp_send_json_error( $error );
530
- }
531
-
532
- if ( isset( $_POST['plugin'] ) ) {
533
-
534
- $activate = \activate_plugins( $_POST['plugin'] ); // phpcs:ignore
535
-
536
- if ( ! \is_wp_error( $activate ) ) {
537
- \wp_send_json_success( esc_html__( 'Plugin activated.', 'wp-mail-smtp' ) );
538
- }
539
- }
540
-
541
- \wp_send_json_error( $error );
542
  }
543
 
544
  /**
545
  * Install & activate the given plugin.
546
  *
547
- * @since 1.5.0
548
- */
549
- public static function ajax_plugin_install() {
550
-
551
- // Run a security check.
552
- \check_ajax_referer( 'wp-mail-smtp-about', 'nonce' );
553
-
554
- $error = \esc_html__( 'Could not install the plugin.', 'wp-mail-smtp' );
555
-
556
- // Check for permissions.
557
- if ( ! \current_user_can( 'install_plugins' ) ) {
558
- \wp_send_json_error( $error );
559
- }
560
-
561
- if ( empty( $_POST['plugin'] ) ) {
562
- \wp_send_json_error();
563
- }
564
-
565
- // Set the current screen to avoid undefined notices.
566
- \set_current_screen( 'wp-mail-smtp_page_wp-mail-smtp-about' );
567
-
568
- // Prepare variables.
569
- $url = \esc_url_raw(
570
- \add_query_arg(
571
- array(
572
- 'page' => 'wp-mail-smtp-about',
573
- ),
574
- \admin_url( 'admin.php' )
575
- )
576
- );
577
-
578
- $creds = \request_filesystem_credentials( $url, '', false, false, null );
579
-
580
- // Check for file system permissions.
581
- if ( false === $creds ) {
582
- \wp_send_json_error( $error );
583
- }
584
-
585
- if ( ! \WP_Filesystem( $creds ) ) {
586
- \wp_send_json_error( $error );
587
- }
588
-
589
- // Do not allow WordPress to search/download translations, as this will break JS output.
590
- \remove_action( 'upgrader_process_complete', array( 'Language_Pack_Upgrader', 'async_upgrade' ), 20 );
591
-
592
- // Create the plugin upgrader with our custom skin.
593
- $installer = new PluginsInstallUpgrader( new PluginsInstallSkin() );
594
-
595
- // Error check.
596
- if ( ! \method_exists( $installer, 'install' ) || empty( $_POST['plugin'] ) ) {
597
- \wp_send_json_error( $error );
598
- }
599
-
600
- $installer->install( $_POST['plugin'] ); // phpcs:ignore
601
-
602
- // Flush the cache and return the newly installed plugin basename.
603
- \wp_cache_flush();
604
-
605
- if ( $installer->plugin_info() ) {
606
-
607
- $plugin_basename = $installer->plugin_info();
608
-
609
- // Activate the plugin silently.
610
- $activated = \activate_plugin( $plugin_basename );
611
-
612
- if ( ! \is_wp_error( $activated ) ) {
613
- \wp_send_json_success(
614
- array(
615
- 'msg' => \esc_html__( 'Plugin installed & activated.', 'wp-mail-smtp' ),
616
- 'is_activated' => true,
617
- 'basename' => $plugin_basename,
618
- )
619
- );
620
- } else {
621
- \wp_send_json_success(
622
- array(
623
- 'msg' => esc_html__( 'Plugin installed.', 'wp-mail-smtp' ),
624
- 'is_activated' => false,
625
- 'basename' => $plugin_basename,
626
- )
627
- );
628
- }
629
- }
630
-
631
- \wp_send_json_error( $error );
632
- }
633
-
634
- /**
635
- * Display a "Lite vs Pro" tab content.
636
- *
637
- * @since 1.5.0
638
- */
639
- protected function display_versus() {
640
-
641
- $license = \wp_mail_smtp()->get_license_type();
642
- ?>
643
-
644
- <div class="wp-mail-smtp-admin-about-section wp-mail-smtp-admin-about-section-squashed">
645
- <h1 class="centered">
646
- <strong>
647
- <?php
648
- \printf(
649
- /* translators: %s - plugin current license type. */
650
- \esc_html__( '%s vs Pro', 'wp-mail-smtp' ),
651
- \esc_html( \ucfirst( $license ) )
652
- );
653
- ?>
654
- </strong>
655
- </h1>
656
-
657
- <p class="centered <?php echo ( $license === 'pro' ? 'hidden' : '' ); ?>">
658
- <?php esc_html_e( 'Get the most out of WP Mail SMTP by upgrading to Pro and unlocking all of the powerful features.', 'wp-mail-smtp' ); ?>
659
- </p>
660
- </div>
661
-
662
- <div class="wp-mail-smtp-admin-about-section wp-mail-smtp-admin-about-section-squashed wp-mail-smtp-admin-about-section-hero wp-mail-smtp-admin-about-section-table">
663
-
664
- <div class="wp-mail-smtp-admin-about-section-hero-main wp-mail-smtp-admin-columns">
665
- <div class="wp-mail-smtp-admin-column-33">
666
- <h3 class="no-margin">
667
- <?php esc_html_e( 'Feature', 'wp-mail-smtp' ); ?>
668
- </h3>
669
- </div>
670
- <div class="wp-mail-smtp-admin-column-33">
671
- <h3 class="no-margin">
672
- <?php echo esc_html( ucfirst( $license ) ); ?>
673
- </h3>
674
- </div>
675
- <div class="wp-mail-smtp-admin-column-33">
676
- <h3 class="no-margin">
677
- <?php esc_html_e( 'Pro', 'wp-mail-smtp' ); ?>
678
- </h3>
679
- </div>
680
- </div>
681
- <div class="wp-mail-smtp-admin-about-section-hero-extra no-padding wp-mail-smtp-admin-columns">
682
-
683
- <table>
684
- <?php
685
- foreach ( $this->get_license_features() as $slug => $name ) {
686
- $current = $this->get_license_data( $slug, $license );
687
- $pro = $this->get_license_data( $slug, 'pro' );
688
- ?>
689
- <tr class="wp-mail-smtp-admin-columns">
690
- <td class="wp-mail-smtp-admin-column-33">
691
- <p><?php echo $name; ?></p>
692
- </td>
693
- <td class="wp-mail-smtp-admin-column-33">
694
- <p class="features-<?php echo esc_attr( $current['status'] ); ?>">
695
- <?php echo \implode( '<br>', $current['text'] ); ?>
696
- </p>
697
- </td>
698
- <td class="wp-mail-smtp-admin-column-33">
699
- <p class="features-full">
700
- <?php echo \implode( '<br>', $pro['text'] ); ?>
701
- </p>
702
- </td>
703
- </tr>
704
- <?php
705
- }
706
- ?>
707
- </table>
708
-
709
- </div>
710
-
711
- </div>
712
-
713
- <?php if ( 'lite' === $license ) : ?>
714
- <div class="wp-mail-smtp-admin-about-section wp-mail-smtp-admin-about-section-hero">
715
- <div class="wp-mail-smtp-admin-about-section-hero-main no-border">
716
- <h3 class="call-to-action centered">
717
- <a href="<?php echo esc_url( wp_mail_smtp()->get_upgrade_link( 'lite-vs-pro' ) ); ?>" target="_blank" rel="noopener noreferrer">
718
- <?php \esc_html_e( 'Get WP Mail SMTP Pro Today and Unlock all of these Powerful Features', 'wp-mail-smtp' ); ?>
719
- </a>
720
- </h3>
721
-
722
- <p class="centered">
723
- <?php
724
- printf(
725
- wp_kses( /* Translators: %s - discount value $50. */
726
- __( 'Bonus: WP Mail SMTP Lite users get <span class="price-off">%s off regular price</span>, automatically applied at checkout.', 'wp-mail-smtp' ),
727
- array(
728
- 'span' => array(
729
- 'class' => array(),
730
- ),
731
- )
732
- ),
733
- '$50'
734
- );
735
- ?>
736
- </p>
737
- </div>
738
- </div>
739
- <?php endif; ?>
740
-
741
- <?php
742
- }
743
-
744
- /**
745
- * Get the list of features for all licenses.
746
- *
747
- * @since 1.5.0
748
- *
749
- * @return array
750
- */
751
- private function get_license_features() {
752
-
753
- return [
754
- 'log' => \esc_html__( 'Email Log', 'wp-mail-smtp' ),
755
- 'control' => \esc_html__( 'Email Controls', 'wp-mail-smtp' ),
756
- 'mailers' => \esc_html__( 'Mailer Options', 'wp-mail-smtp' ),
757
- 'multisite' => \esc_html__( 'WordPress Multisite', 'wp-mail-smtp' ),
758
- 'support' => \esc_html__( 'Customer Support', 'wp-mail-smtp' ),
759
- ];
760
- }
761
-
762
- /**
763
- * Get the array of data that compared the license data.
764
  *
765
  * @since 1.5.0
766
- *
767
- * @param string $feature Feature name.
768
- * @param string $license License type to get data for.
769
- *
770
- * @return array|false
771
  */
772
- private function get_license_data( $feature, $license ) {
773
-
774
- $data = [
775
- 'log' => [
776
- 'lite' => [
777
- 'status' => 'none',
778
- 'text' => [
779
- '<strong>' . esc_html__( 'Emails are not logged', 'wp-mail-smtp' ) . '</strong>',
780
- ],
781
- ],
782
- 'pro' => [
783
- 'status' => 'full',
784
- 'text' => [
785
- '<strong>' . esc_html__( 'Access to all Email Logging options right inside WordPress', 'wp-mail-smtp' ) . '</strong>',
786
- ],
787
- ],
788
- ],
789
- 'control' => [
790
- 'lite' => [
791
- 'status' => 'none',
792
- 'text' => [
793
- '<strong>' . esc_html__( 'No controls over whether default WordPress emails are sent', 'wp-mail-smtp' ) . '</strong>',
794
- ],
795
- ],
796
- 'pro' => [
797
- 'status' => 'full',
798
- 'text' => [
799
- '<strong>' . esc_html__( 'Complete Email Controls management for most default WordPress emails', 'wp-mail-smtp' ) . '</strong>',
800
- ],
801
- ],
802
- ],
803
- 'mailers' => [
804
- 'lite' => [
805
- 'status' => 'none',
806
- 'text' => [
807
- '<strong>' . esc_html__( 'Limited Mailers', 'wp-mail-smtp' ) . '</strong><br>' . esc_html__( 'Access is limited to standard mailer options only', 'wp-mail-smtp' ),
808
- ],
809
- ],
810
- 'pro' => [
811
- 'status' => 'full',
812
- 'text' => [
813
- '<strong>' . esc_html__( 'Additional Mailer Options', 'wp-mail-smtp' ) . '</strong><br>' . esc_html__( 'Microsoft Outlook (with Office365 support), Amazon SES and Zoho Mail', 'wp-mail-smtp' ),
814
- ],
815
- ],
816
- ],
817
- 'multisite' => [
818
- 'lite' => [
819
- 'status' => 'none',
820
- 'text' => [
821
- '<strong>' . esc_html__( 'No Global Network Settings', 'wp-mail-smtp' ) . '</strong>',
822
- ],
823
- ],
824
- 'pro' => [
825
- 'status' => 'full',
826
- 'text' => [
827
- '<strong>' . esc_html__( 'All Global Network Settings', 'wp-mail-smtp' ) . '</strong><br>' . esc_html__( 'Optionally configure settings at the network level or manage separately for each subsite', 'wp-mail-smtp' ),
828
- ],
829
- ],
830
- ],
831
- 'support' => [
832
- 'lite' => [
833
- 'status' => 'none',
834
- 'text' => [
835
- '<strong>' . esc_html__( 'Limited Support', 'wp-mail-smtp' ) . '</strong>',
836
- ],
837
- ],
838
- 'pro' => [
839
- 'status' => 'full',
840
- 'text' => [
841
- '<strong>' . esc_html__( 'Priority Support', 'wp-mail-smtp' ) . '</strong>',
842
- ],
843
- ],
844
- ],
845
- ];
846
-
847
- // Wrong feature?
848
- if ( ! isset( $data[ $feature ] ) ) {
849
- return false;
850
- }
851
 
852
- // Wrong license type?
853
- if ( ! isset( $data[ $feature ][ $license ] ) ) {
854
- return false;
855
- }
856
 
857
- return $data[ $feature ][ $license ];
858
  }
859
  }
2
 
3
  namespace WPMailSMTP\Admin\Pages;
4
 
5
+ use WPMailSMTP\Admin\ParentPageAbstract;
 
 
 
 
6
 
7
  /**
8
+ * About parent page.
9
  *
10
  * @since 1.5.0
11
+ * @since 2.9.0 changed parent class from PageAbstract to ParentPageAbstract.
12
  */
13
+ class About extends ParentPageAbstract {
14
 
15
  /**
16
+ * Slug of a page.
17
+ *
18
  * @since 1.5.0
19
  *
20
  * @var string Slug of a page.
22
  protected $slug = 'about';
23
 
24
  /**
25
+ * Page default tab slug.
26
  *
27
+ * @since 2.9.0
 
 
 
 
 
28
  *
29
+ * @var string
 
 
 
 
30
  */
31
+ protected $default_tab = 'about';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
 
33
  /**
34
  * Get label for a tab.
43
  */
44
  public function get_label( $tab = '' ) {
45
 
46
+ if ( ! empty( $tab ) ) {
47
+ return $this->get_tab_label( $tab );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48
  }
49
 
50
+ return esc_html__( 'About Us', 'wp-mail-smtp' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  }
52
 
53
  /**
54
+ * Title of a page.
55
  *
56
  * @since 1.5.0
57
  *
58
+ * @return string
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59
  */
60
+ public function get_title() {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
61
 
62
+ return $this->get_label();
63
  }
64
 
65
  /**
66
  * Active the given plugin.
67
  *
68
+ * @deprecated 2.9.0
69
+ *
70
  * @since 1.5.0
71
  */
72
  public static function ajax_plugin_activate() {
73
 
74
+ _deprecated_function( __METHOD__, '2.9.0', '\WPMailSMTP\Admin\Pages\AboutTab::ajax_plugin_activate' );
 
75
 
76
+ AboutTab::ajax_plugin_activate();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
77
  }
78
 
79
  /**
80
  * Install & activate the given plugin.
81
  *
82
+ * @deprecated 2.9.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
83
  *
84
  * @since 1.5.0
 
 
 
 
 
85
  */
86
+ public static function ajax_plugin_install() {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
87
 
88
+ _deprecated_function( __METHOD__, '2.9.0', '\WPMailSMTP\Admin\Pages\AboutTab::ajax_plugin_install' );
 
 
 
89
 
90
+ AboutTab::ajax_plugin_install();
91
  }
92
  }
src/Admin/Pages/AboutTab.php ADDED
@@ -0,0 +1,530 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace WPMailSMTP\Admin\Pages;
4
+
5
+ use WPMailSMTP\Admin\PageAbstract;
6
+ use WPMailSMTP\Admin\PluginsInstallSkin;
7
+ use WPMailSMTP\Admin\PluginsInstallUpgrader;
8
+
9
+ /**
10
+ * About tab.
11
+ *
12
+ * @since 2.9.0
13
+ */
14
+ class AboutTab extends PageAbstract {
15
+
16
+ /**
17
+ * Part of the slug of a tab.
18
+ *
19
+ * @since 2.9.0
20
+ *
21
+ * @var string
22
+ */
23
+ protected $slug = 'about';
24
+
25
+ /**
26
+ * Tab priority.
27
+ *
28
+ * @since 2.9.0
29
+ *
30
+ * @var int
31
+ */
32
+ protected $priority = 20;
33
+
34
+ /**
35
+ * Link label of a tab.
36
+ *
37
+ * @since 2.9.0
38
+ *
39
+ * @return string
40
+ */
41
+ public function get_label() {
42
+
43
+ return esc_html__( 'About Us', 'wp-mail-smtp' );
44
+ }
45
+
46
+ /**
47
+ * Title of a tab.
48
+ *
49
+ * @since 2.9.0
50
+ *
51
+ * @return string
52
+ */
53
+ public function get_title() {
54
+
55
+ return $this->get_label();
56
+ }
57
+
58
+ /**
59
+ * Tab content.
60
+ *
61
+ * @since 2.9.0
62
+ */
63
+ public function display() {
64
+
65
+ ?>
66
+ <div class="wp-mail-smtp-admin-about-section wp-mail-smtp-admin-columns">
67
+
68
+ <div class="wp-mail-smtp-admin-column-60">
69
+ <h3>
70
+ <?php esc_html_e( 'Hello and welcome to WP Mail SMTP, the easiest and most popular WordPress SMTP plugin. We build software that helps your site reliably deliver emails every time.', 'wp-mail-smtp' ); ?>
71
+ </h3>
72
+
73
+ <p>
74
+ <?php esc_html_e( 'Email deliverability has been a well-documented problem for all WordPress websites. However as WPForms grew, we became more aware of this painful issue that affects our users and the larger WordPress community. So we decided to solve this problem and make a solution that\'s beginner friendly.', 'wp-mail-smtp' ); ?>
75
+ </p>
76
+ <p>
77
+ <?php esc_html_e( 'Our goal is to make reliable email deliverability easy for WordPress.', 'wp-mail-smtp' ); ?>
78
+ </p>
79
+ <p>
80
+ <?php
81
+ printf(
82
+ wp_kses(
83
+ /* translators: %1$s - WPForms URL, %2$s - WPBeginner URL, %3$s - OptinMonster URL, %4$s - MonsterInsights URL, %5$s - Awesome Motive URL */
84
+ __( 'WP Mail SMTP is brought to you by the same team that\'s behind the most user friendly WordPress forms, <a href="%1$s" target="_blank" rel="noopener noreferrer">WPForms</a>, the largest WordPress resource site, <a href="%2$s" target="_blank" rel="noopener noreferrer">WPBeginner</a>, the most popular lead-generation software, <a href="%3$s" target="_blank" rel="noopener noreferrer">OptinMonster</a>, the best WordPress analytics plugin, <a href="%4$s" target="_blank" rel="noopener noreferrer">MonsterInsights</a>, and <a href="%5$s" target="_blank" rel="noopener noreferrer">more</a>.', 'wp-mail-smtp' ),
85
+ [
86
+ 'a' => [
87
+ 'href' => [],
88
+ 'rel' => [],
89
+ 'target' => [],
90
+ ],
91
+ ]
92
+ ),
93
+ 'https://wpforms.com/?utm_source=wpmailsmtpplugin&utm_medium=pluginaboutpage&utm_campaign=aboutwpmailsmtp',
94
+ 'https://www.wpbeginner.com/?utm_source=wpmailsmtpplugin&utm_medium=pluginaboutpage&utm_campaign=aboutwpmailsmtp',
95
+ 'https://optinmonster.com/?utm_source=wpmailsmtpplugin&utm_medium=pluginaboutpage&utm_campaign=aboutwpmailsmtp',
96
+ 'https://www.monsterinsights.com/?utm_source=wpmailsmtpplugin&utm_medium=pluginaboutpage&utm_campaign=aboutwpmailsmtp',
97
+ 'https://awesomemotive.com/'
98
+ );
99
+ ?>
100
+ </p>
101
+ <p>
102
+ <?php esc_html_e( 'Yup, we know a thing or two about building awesome products that customers love.', 'wp-mail-smtp' ); ?>
103
+ </p>
104
+ </div>
105
+
106
+ <div class="wp-mail-smtp-admin-column-40 wp-mail-smtp-admin-column-last">
107
+ <figure>
108
+ <img src="<?php echo esc_url( wp_mail_smtp()->assets_url . '/images/about/team.jpg' ); ?>" alt="<?php esc_attr_e( 'The WPForms Team photo', 'wp-mail-smtp' ); ?>">
109
+ <figcaption>
110
+ <?php esc_html_e( 'The WPForms Team', 'wp-mail-smtp' ); ?>
111
+ </figcaption>
112
+ </figure>
113
+ </div>
114
+
115
+ </div>
116
+
117
+ <?php
118
+
119
+ // Do not display the plugin section if the user can't install or activate them.
120
+ if ( ! current_user_can( 'install_plugins' ) && ! current_user_can( 'activate_plugins' ) ) {
121
+ return;
122
+ }
123
+
124
+ $this->display_plugins();
125
+ }
126
+
127
+ /**
128
+ * Display the plugins section.
129
+ *
130
+ * @since 2.9.0
131
+ */
132
+ protected function display_plugins() {
133
+
134
+ ?>
135
+ <div class="wp-mail-smtp-admin-about-plugins">
136
+ <div class="plugins-container">
137
+ <?php
138
+ foreach ( $this->get_am_plugins() as $key => $plugin ) :
139
+ $is_url_external = false;
140
+
141
+ $data = $this->get_about_plugins_data( $plugin );
142
+
143
+ if ( isset( $plugin['pro'] ) && array_key_exists( $plugin['pro']['path'], get_plugins() ) ) {
144
+ $is_url_external = true;
145
+ $plugin = $plugin['pro'];
146
+
147
+ $data = array_merge( $data, $this->get_about_plugins_data( $plugin, true ) );
148
+ }
149
+
150
+ // Do not display a plugin which has to be installed and the user can't install it.
151
+ if ( ! current_user_can( 'install_plugins' ) && $data['status_class'] === 'status-download' ) {
152
+ continue;
153
+ }
154
+
155
+ ?>
156
+ <div class="plugin-container">
157
+ <div class="plugin-item">
158
+ <div class="details wp-mail-smtp-clear">
159
+ <img src="<?php echo esc_url( $plugin['icon'] ); ?>" alt="<?php esc_attr_e( 'Plugin icon', 'wp-mail-smtp' ); ?>">
160
+ <h5 class="plugin-name">
161
+ <?php echo esc_html( $plugin['name'] ); ?>
162
+ </h5>
163
+ <p class="plugin-desc">
164
+ <?php echo esc_html( $plugin['desc'] ); ?>
165
+ </p>
166
+ </div>
167
+ <div class="actions wp-mail-smtp-clear">
168
+ <div class="status">
169
+ <strong>
170
+ <?php
171
+ printf(
172
+ /* translators: %s - status HTML text. */
173
+ esc_html__( 'Status: %s', 'wp-mail-smtp' ),
174
+ '<span class="status-label ' . esc_attr( $data['status_class'] ) . '">' . esc_html( $data['status_text'] ) . '</span>'
175
+ );
176
+ ?>
177
+ </strong>
178
+ </div>
179
+ <div class="action-button">
180
+ <?php
181
+ $go_to_class = '';
182
+ if ( $is_url_external && $data['status_class'] === 'status-download' ) {
183
+ $go_to_class = ' go_to';
184
+ }
185
+ ?>
186
+ <a href="<?php echo esc_url( $plugin['url'] ); ?>"
187
+ class="<?php echo esc_attr( $data['action_class'] . $go_to_class ); ?>"
188
+ data-plugin="<?php echo esc_attr( $data['plugin_src'] ); ?>">
189
+ <?php echo esc_html( $data['action_text'] ); ?>
190
+ </a>
191
+ </div>
192
+ </div>
193
+ </div>
194
+ </div>
195
+ <?php endforeach; ?>
196
+ </div>
197
+ </div>
198
+
199
+ <?php
200
+ }
201
+
202
+ /**
203
+ * Generate all the required CSS classed and labels to be used in rendering.
204
+ *
205
+ * @since 2.9.0
206
+ *
207
+ * @param array $plugin Plugin slug.
208
+ * @param bool $is_pro License type.
209
+ *
210
+ * @return mixed
211
+ */
212
+ protected function get_about_plugins_data( $plugin, $is_pro = false ) {
213
+
214
+ $data = [];
215
+
216
+ if ( array_key_exists( $plugin['path'], get_plugins() ) ) {
217
+ if ( is_plugin_active( $plugin['path'] ) ) {
218
+ // Status text/status.
219
+ $data['status_class'] = 'status-active';
220
+ $data['status_text'] = esc_html__( 'Active', 'wp-mail-smtp' );
221
+ // Button text/status.
222
+ $data['action_class'] = $data['status_class'] . ' button button-secondary disabled';
223
+ $data['action_text'] = esc_html__( 'Activated', 'wp-mail-smtp' );
224
+ $data['plugin_src'] = esc_attr( $plugin['path'] );
225
+ } else {
226
+ // Status text/status.
227
+ $data['status_class'] = 'status-inactive';
228
+ $data['status_text'] = esc_html__( 'Inactive', 'wp-mail-smtp' );
229
+ // Button text/status.
230
+ $data['action_class'] = $data['status_class'] . ' button button-secondary';
231
+ $data['action_text'] = esc_html__( 'Activate', 'wp-mail-smtp' );
232
+ $data['plugin_src'] = esc_attr( $plugin['path'] );
233
+ }
234
+ } else {
235
+ if ( ! $is_pro ) {
236
+ // Doesn't exist, install.
237
+ // Status text/status.
238
+ $data['status_class'] = 'status-download';
239
+ $data['status_text'] = esc_html__( 'Not Installed', 'wp-mail-smtp' );
240
+ // Button text/status.
241
+ $data['action_class'] = $data['status_class'] . ' button button-primary';
242
+ $data['action_text'] = esc_html__( 'Install Plugin', 'wp-mail-smtp' );
243
+ $data['plugin_src'] = esc_url( $plugin['url'] );
244
+ }
245
+ }
246
+
247
+ return $data;
248
+ }
249
+
250
+ /**
251
+ * List of AM plugins that we propose to install.
252
+ *
253
+ * @since 2.9.0
254
+ *
255
+ * @return array
256
+ */
257
+ private function get_am_plugins() {
258
+
259
+ $data = [
260
+ 'om' => [
261
+ 'path' => 'optinmonster/optin-monster-wp-api.php',
262
+ 'icon' => wp_mail_smtp()->assets_url . '/images/about/plugin-om.png',
263
+ 'name' => esc_html__( 'OptinMonster', 'wp-mail-smtp' ),
264
+ 'desc' => esc_html__( 'Instantly get more subscribers, leads, and sales with the #1 conversion optimization toolkit. Create high converting popups, announcement bars, spin a wheel, and more with smart targeting and personalization.', 'wp-mail-smtp' ),
265
+ 'url' => 'https://downloads.wordpress.org/plugin/optinmonster.zip',
266
+ ],
267
+ 'wpforms' => [
268
+ 'path' => 'wpforms-lite/wpforms.php',
269
+ 'icon' => wp_mail_smtp()->assets_url . '/images/about/plugin-wpf.png',
270
+ 'name' => esc_html__( 'WPForms', 'wp-mail-smtp' ),
271
+ 'desc' => esc_html__( 'The best drag & drop WordPress form builder. Easily create beautiful contact forms, surveys, payment forms, and more with our 100+ form templates. Trusted by over 4 million websites as the best forms plugin.', 'wp-mail-smtp' ),
272
+ 'url' => 'https://downloads.wordpress.org/plugin/wpforms-lite.zip',
273
+ 'pro' => [
274
+ 'path' => 'wpforms/wpforms.php',
275
+ 'icon' => wp_mail_smtp()->assets_url . '/images/about/plugin-wpf.png',
276
+ 'name' => esc_html__( 'WPForms Pro', 'wp-mail-smtp' ),
277
+ 'desc' => esc_html__( 'The best drag & drop WordPress form builder. Easily create beautiful contact forms, surveys, payment forms, and more with our 100+ form templates. Trusted by over 4 million websites as the best forms plugin.', 'wp-mail-smtp' ),
278
+ 'url' => 'https://wpforms.com/?utm_source=WordPress&utm_medium=about&utm_campaign=smtp',
279
+ ],
280
+ ],
281
+ 'mi' => [
282
+ 'path' => 'google-analytics-for-wordpress/googleanalytics.php',
283
+ 'icon' => wp_mail_smtp()->assets_url . '/images/about/plugin-mi.png',
284
+ 'name' => esc_html__( 'MonsterInsights', 'wp-mail-smtp' ),
285
+ 'desc' => esc_html__( 'The leading WordPress analytics plugin that shows you how people find and use your website, so you can make data driven decisions to grow your business. Properly set up Google Analytics without writing code.', 'wp-mail-smtp' ),
286
+ 'url' => 'https://downloads.wordpress.org/plugin/google-analytics-for-wordpress.zip',
287
+ 'pro' => [
288
+ 'path' => 'google-analytics-premium/googleanalytics-premium.php',
289
+ 'icon' => wp_mail_smtp()->assets_url . '/images/about/plugin-mi.png',
290
+ 'name' => esc_html__( 'MonsterInsights Pro', 'wp-mail-smtp' ),
291
+ 'desc' => esc_html__( 'The leading WordPress analytics plugin that shows you how people find and use your website, so you can make data driven decisions to grow your business. Properly set up Google Analytics without writing code.', 'wp-mail-smtp' ),
292
+ 'url' => 'https://www.monsterinsights.com/?utm_source=WordPress&utm_medium=about&utm_campaign=smtp',
293
+ ],
294
+ ],
295
+ 'aioseo' => [
296
+ 'path' => 'all-in-one-seo-pack/all_in_one_seo_pack.php',
297
+ 'icon' => wp_mail_smtp()->assets_url . '/images/about/plugin-aioseo.png',
298
+ 'name' => esc_html__( 'AIOSEO', 'wp-mail-smtp' ),
299
+ 'desc' => esc_html__( 'The original WordPress SEO plugin and toolkit that improves your website’s search rankings. Comes with all the SEO features like Local SEO, WooCommerce SEO, sitemaps, SEO optimizer, schema, and more.', 'wp-mail-smtp' ),
300
+ 'url' => 'https://downloads.wordpress.org/plugin/all-in-one-seo-pack.zip',
301
+ 'pro' => [
302
+ 'path' => 'all-in-one-seo-pack-pro/all_in_one_seo_pack.php',
303
+ 'icon' => wp_mail_smtp()->assets_url . '/images/about/plugin-aioseo.png',
304
+ 'name' => esc_html__( 'AIOSEO', 'wp-mail-smtp' ),
305
+ 'desc' => esc_html__( 'The original WordPress SEO plugin and toolkit that improves your website’s search rankings. Comes with all the SEO features like Local SEO, WooCommerce SEO, sitemaps, SEO optimizer, schema, and more.', 'wp-mail-smtp' ),
306
+ 'url' => 'https://aioseo.com/?utm_source=WordPress&utm_medium=about&utm_campaign=smtp',
307
+ ],
308
+ ],
309
+ 'seedprod' => [
310
+ 'path' => 'coming-soon/coming-soon.php',
311
+ 'icon' => wp_mail_smtp()->assets_url . '/images/about/plugin-seedprod.png',
312
+ 'name' => esc_html__( 'SeedProd', 'wp-mail-smtp' ),
313
+ 'desc' => esc_html__( 'The fastest drag & drop landing page builder for WordPress. Create custom landing pages without writing code, connect them with your CRM, collect subscribers, and grow your audience. Trusted by 1 million sites.', 'wp-mail-smtp' ),
314
+ 'url' => 'https://downloads.wordpress.org/plugin/coming-soon.zip',
315
+ 'pro' => [
316
+ 'path' => 'seedprod-coming-soon-pro-5/seedprod-coming-soon-pro-5.php',
317
+ 'icon' => wp_mail_smtp()->assets_url . '/images/about/plugin-seedprod.png',
318
+ 'name' => esc_html__( 'SeedProd', 'wp-mail-smtp' ),
319
+ 'desc' => esc_html__( 'The fastest drag & drop landing page builder for WordPress. Create custom landing pages without writing code, connect them with your CRM, collect subscribers, and grow your audience. Trusted by 1 million sites.', 'wp-mail-smtp' ),
320
+ 'url' => 'https://www.seedprod.com/?utm_source=WordPress&utm_medium=about&utm_campaign=smtp',
321
+ ],
322
+ ],
323
+ 'rafflepress' => [
324
+ 'path' => 'rafflepress/rafflepress.php',
325
+ 'icon' => wp_mail_smtp()->assets_url . '/images/about/plugin-rp.png',
326
+ 'name' => esc_html__( 'RafflePress', 'wp-mail-smtp' ),
327
+ 'desc' => esc_html__( 'Turn your website visitors into brand ambassadors! Easily grow your email list, website traffic, and social media followers with the most powerful giveaways & contests plugin for WordPress.', 'wp-mail-smtp' ),
328
+ 'url' => 'https://downloads.wordpress.org/plugin/rafflepress.zip',
329
+ 'pro' => [
330
+ 'path' => 'rafflepress-pro/rafflepress-pro.php',
331
+ 'icon' => wp_mail_smtp()->assets_url . '/images/about/plugin-rp.png',
332
+ 'name' => esc_html__( 'RafflePress Pro', 'wp-mail-smtp' ),
333
+ 'desc' => esc_html__( 'Turn your website visitors into brand ambassadors! Easily grow your email list, website traffic, and social media followers with the most powerful giveaways & contests plugin for WordPress.', 'wp-mail-smtp' ),
334
+ 'url' => 'https://rafflepress.com/pricing/?utm_source=WordPress&utm_medium=about&utm_campaign=smtp',
335
+ ],
336
+ ],
337
+ 'pushengage' => [
338
+ 'path' => 'pushengage/main.php',
339
+ 'icon' => wp_mail_smtp()->assets_url . '/images/about/plugin-pushengage.png',
340
+ 'name' => esc_html__( 'PushEngage', 'wp-mail-smtp' ),
341
+ 'desc' => esc_html__( 'Connect with your visitors after they leave your website with the leading web push notification software. Over 10,000+ businesses worldwide use PushEngage to send 9 billion notifications each month.', 'wp-mail-smtp' ),
342
+ 'url' => 'https://downloads.wordpress.org/plugin/pushengage.zip',
343
+ ],
344
+ 'smash-balloon-instagram-feeds' => [
345
+ 'path' => 'instagram-feed/instagram-feed.php',
346
+ 'icon' => wp_mail_smtp()->assets_url . '/images/about/plugin-smash-balloon-instagram-feeds.png',
347
+ 'name' => esc_html__( 'Smash Balloon Instagram Feeds', 'wp-mail-smtp' ),
348
+ 'desc' => esc_html__( 'Easily display Instagram content on your WordPress site without writing any code. Comes with multiple templates, ability to show content from multiple accounts, hashtags, and more. Trusted by 1 million websites.', 'wp-mail-smtp' ),
349
+ 'url' => 'https://downloads.wordpress.org/plugin/instagram-feed.zip',
350
+ 'pro' => [
351
+ 'path' => 'instagram-feed-pro/instagram-feed.php',
352
+ 'icon' => wp_mail_smtp()->assets_url . '/images/about/',
353
+ 'name' => esc_html__( 'Smash Balloon Instagram Feeds', 'wp-mail-smtp' ),
354
+ 'desc' => esc_html__( 'Easily display Instagram content on your WordPress site without writing any code. Comes with multiple templates, ability to show content from multiple accounts, hashtags, and more. Trusted by 1 million websites.', 'wp-mail-smtp' ),
355
+ 'url' => 'https://smashballoon.com/instagram-feed/?utm_source=WordPress&utm_medium=about&utm_campaign=smtp',
356
+ ],
357
+ ],
358
+ 'smash-balloon-facebook-feeds' => [
359
+ 'path' => 'custom-facebook-feed/custom-facebook-feed.php',
360
+ 'icon' => wp_mail_smtp()->assets_url . '/images/about/plugin-smash-balloon-facebook-feeds.png',
361
+ 'name' => esc_html__( 'Smash Balloon Facebook Feeds', 'wp-mail-smtp' ),
362
+ 'desc' => esc_html__( 'Easily display Facebook content on your WordPress site without writing any code. Comes with multiple templates, ability to embed albums, group content, reviews, live videos, comments, and reactions.', 'wp-mail-smtp' ),
363
+ 'url' => 'https://downloads.wordpress.org/plugin/custom-facebook-feed.zip',
364
+ 'pro' => [
365
+ 'path' => 'custom-facebook-feed-pro/custom-facebook-feed.php',
366
+ 'icon' => wp_mail_smtp()->assets_url . '/images/about/',
367
+ 'name' => esc_html__( 'Smash Balloon Facebook Feeds', 'wp-mail-smtp' ),
368
+ 'desc' => esc_html__( 'Easily display Facebook content on your WordPress site without writing any code. Comes with multiple templates, ability to embed albums, group content, reviews, live videos, comments, and reactions.', 'wp-mail-smtp' ),
369
+ 'url' => 'https://smashballoon.com/custom-facebook-feed/?utm_source=WordPress&utm_medium=about&utm_campaign=smtp',
370
+ ],
371
+ ],
372
+ 'smash-balloon-youtube-feeds' => [
373
+ 'path' => 'feeds-for-youtube/youtube-feed.php',
374
+ 'icon' => wp_mail_smtp()->assets_url . '/images/about/plugin-smash-balloon-youtube-feeds.png',
375
+ 'name' => esc_html__( 'Smash Balloon YouTube Feeds', 'wp-mail-smtp' ),
376
+ 'desc' => esc_html__( 'Easily display YouTube videos on your WordPress site without writing any code. Comes with multiple layouts, ability to embed live streams, video filtering, ability to combine multiple channel videos, and more.', 'wp-mail-smtp' ),
377
+ 'url' => 'https://downloads.wordpress.org/plugin/feeds-for-youtube.zip',
378
+ 'pro' => [
379
+ 'path' => 'youtube-feed-pro/youtube-feed.php',
380
+ 'icon' => wp_mail_smtp()->assets_url . '/images/about/',
381
+ 'name' => esc_html__( 'Smash Balloon YouTube Feeds', 'wp-mail-smtp' ),
382
+ 'desc' => esc_html__( 'Easily display YouTube videos on your WordPress site without writing any code. Comes with multiple layouts, ability to embed live streams, video filtering, ability to combine multiple channel videos, and more.', 'wp-mail-smtp' ),
383
+ 'url' => 'https://smashballoon.com/youtube-feed/?utm_source=WordPress&utm_medium=about&utm_campaign=smtp',
384
+ ],
385
+ ],
386
+ 'smash-balloon-twitter-feeds' => [
387
+ 'path' => 'custom-twitter-feeds/custom-twitter-feed.php',
388
+ 'icon' => wp_mail_smtp()->assets_url . '/images/about/plugin-smash-balloon-twitter-feeds.png',
389
+ 'name' => esc_html__( 'Smash Balloon Twitter Feeds', 'wp-mail-smtp' ),
390
+ 'desc' => esc_html__( 'Easily display Twitter content in WordPress without writing any code. Comes with multiple layouts, ability to combine multiple Twitter feeds, Twitter card support, tweet moderation, and more.', 'wp-mail-smtp' ),
391
+ 'url' => 'https://downloads.wordpress.org/plugin/custom-twitter-feeds.zip',
392
+ 'pro' => [
393
+ 'path' => 'custom-twitter-feeds-pro/custom-twitter-feed.php',
394
+ 'icon' => wp_mail_smtp()->assets_url . '/images/about/',
395
+ 'name' => esc_html__( 'Smash Balloon Twitter Feeds', 'wp-mail-smtp' ),
396
+ 'desc' => esc_html__( 'Easily display Twitter content in WordPress without writing any code. Comes with multiple layouts, ability to combine multiple Twitter feeds, Twitter card support, tweet moderation, and more.', 'wp-mail-smtp' ),
397
+ 'url' => 'https://smashballoon.com/custom-twitter-feeds/?utm_source=WordPress&utm_medium=about&utm_campaign=smtp',
398
+ ],
399
+ ],
400
+ 'trustpulse' => [
401
+ 'path' => 'trustpulse-api/trustpulse.php',
402
+ 'icon' => wp_mail_smtp()->assets_url . '/images/about/plugin-trustpulse.png',
403
+ 'name' => esc_html__( 'TrustPulse', 'wp-mail-smtp' ),
404
+ 'desc' => esc_html__( 'Boost your sales and conversions by up to 15% with real-time social proof notifications. TrustPulse helps you show live user activity and purchases to help convince other users to purchase.', 'wp-mail-smtp' ),
405
+ 'url' => 'https://downloads.wordpress.org/plugin/trustpulse-api.zip',
406
+ ],
407
+ ];
408
+
409
+ return $data;
410
+ }
411
+
412
+ /**
413
+ * Active the given plugin.
414
+ *
415
+ * @since 2.9.0
416
+ */
417
+ public static function ajax_plugin_activate() {
418
+
419
+ // Run a security check.
420
+ check_ajax_referer( 'wp-mail-smtp-about', 'nonce' );
421
+
422
+ $error = esc_html__( 'Could not activate the plugin. Please activate it from the Plugins page.', 'wp-mail-smtp' );
423
+
424
+ // Check for permissions.
425
+ if ( ! current_user_can( 'activate_plugins' ) ) {
426
+ wp_send_json_error( $error );
427
+ }
428
+
429
+ if ( isset( $_POST['plugin'] ) ) {
430
+
431
+ $activate = activate_plugins( $_POST['plugin'] ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized, WordPress.Security.ValidatedSanitizedInput.MissingUnslash
432
+
433
+ if ( ! is_wp_error( $activate ) ) {
434
+ wp_send_json_success( esc_html__( 'Plugin activated.', 'wp-mail-smtp' ) );
435
+ }
436
+ }
437
+
438
+ wp_send_json_error( $error );
439
+ }
440
+
441
+ /**
442
+ * Install & activate the given plugin.
443
+ *
444
+ * @since 2.9.0
445
+ */
446
+ public static function ajax_plugin_install() { // phpcs:ignore:Generic.Metrics.CyclomaticComplexity.TooHigh
447
+
448
+ // Run a security check.
449
+ check_ajax_referer( 'wp-mail-smtp-about', 'nonce' );
450
+
451
+ $error = esc_html__( 'Could not install the plugin.', 'wp-mail-smtp' );
452
+
453
+ // Check for permissions.
454
+ if ( ! current_user_can( 'install_plugins' ) ) {
455
+ wp_send_json_error( $error );
456
+ }
457
+
458
+ if ( empty( $_POST['plugin'] ) ) {
459
+ wp_send_json_error();
460
+ }
461
+
462
+ // Set the current screen to avoid undefined notices.
463
+ set_current_screen( 'wp-mail-smtp_page_wp-mail-smtp-about' );
464
+
465
+ // Prepare variables.
466
+ $url = esc_url_raw(
467
+ add_query_arg(
468
+ [
469
+ 'page' => 'wp-mail-smtp-about',
470
+ ],
471
+ admin_url( 'admin.php' )
472
+ )
473
+ );
474
+
475
+ $creds = request_filesystem_credentials( $url, '', false, false, null );
476
+
477
+ // Check for file system permissions.
478
+ if ( false === $creds ) {
479
+ wp_send_json_error( $error );
480
+ }
481
+
482
+ if ( ! WP_Filesystem( $creds ) ) {
483
+ wp_send_json_error( $error );
484
+ }
485
+
486
+ // Do not allow WordPress to search/download translations, as this will break JS output.
487
+ remove_action( 'upgrader_process_complete', [ 'Language_Pack_Upgrader', 'async_upgrade' ], 20 );
488
+
489
+ // Create the plugin upgrader with our custom skin.
490
+ $installer = new PluginsInstallUpgrader( new PluginsInstallSkin() );
491
+
492
+ // Error check.
493
+ if ( ! method_exists( $installer, 'install' ) || empty( $_POST['plugin'] ) ) {
494
+ wp_send_json_error( $error );
495
+ }
496
+
497
+ $installer->install( $_POST['plugin'] ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized, WordPress.Security.ValidatedSanitizedInput.MissingUnslash
498
+
499
+ // Flush the cache and return the newly installed plugin basename.
500
+ wp_cache_flush();
501
+
502
+ if ( $installer->plugin_info() ) {
503
+
504
+ $plugin_basename = $installer->plugin_info();
505
+
506
+ // Activate the plugin silently.
507
+ $activated = activate_plugin( $plugin_basename );
508
+
509
+ if ( ! is_wp_error( $activated ) ) {
510
+ wp_send_json_success(
511
+ [
512
+ 'msg' => esc_html__( 'Plugin installed & activated.', 'wp-mail-smtp' ),
513
+ 'is_activated' => true,
514
+ 'basename' => $plugin_basename,
515
+ ]
516
+ );
517
+ } else {
518
+ wp_send_json_success(
519
+ [
520
+ 'msg' => esc_html__( 'Plugin installed.', 'wp-mail-smtp' ),
521
+ 'is_activated' => false,
522
+ 'basename' => $plugin_basename,
523
+ ]
524
+ );
525
+ }
526
+ }
527
+
528
+ wp_send_json_error( $error );
529
+ }
530
+ }
src/Admin/Pages/ActionSchedulerTab.php ADDED
@@ -0,0 +1,157 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace WPMailSMTP\Admin\Pages;
4
+
5
+ use WPMailSMTP\Admin\PageAbstract;
6
+
7
+ /**
8
+ * Class ActionScheduler.
9
+ *
10
+ * @since 2.9.0
11
+ */
12
+ class ActionSchedulerTab extends PageAbstract {
13
+
14
+ /**
15
+ * Part of the slug of a tab.
16
+ *
17
+ * @since 2.9.0
18
+ *
19
+ * @var string
20
+ */
21
+ protected $slug = 'action-scheduler';
22
+
23
+ /**
24
+ * Tab priority.
25
+ *
26
+ * @since 2.9.0
27
+ *
28
+ * @var int
29
+ */
30
+ protected $priority = 30;
31
+
32
+ /**
33
+ * Link label of a tab.
34
+ *
35
+ * @since 2.9.0
36
+ *
37
+ * @return string
38
+ */
39
+ public function get_label() {
40
+
41
+ return esc_html__( 'Scheduled Actions', 'wp-mail-smtp' );
42
+ }
43
+
44
+ /**
45
+ * Title of a tab.
46
+ *
47
+ * @since 2.9.0
48
+ *
49
+ * @return string
50
+ */
51
+ public function get_title() {
52
+
53
+ return $this->get_label();
54
+ }
55
+
56
+ /**
57
+ * URL to a tab.
58
+ *
59
+ * @since 2.9.0
60
+ *
61
+ * @return string
62
+ */
63
+ public function get_link() {
64
+
65
+ return add_query_arg( [ 's' => 'wp_mail_smtp' ], parent::get_link() );
66
+ }
67
+
68
+ /**
69
+ * Register hooks.
70
+ *
71
+ * @since 2.9.0
72
+ */
73
+ public function hooks() {
74
+
75
+ add_action( 'admin_init', [ $this, 'init' ], 20 );
76
+ }
77
+
78
+ /**
79
+ * Init.
80
+ *
81
+ * @since 2.9.0
82
+ */
83
+ public function init() {
84
+
85
+ if ( $this->is_applicable() ) {
86
+ \ActionScheduler_AdminView::instance()->process_admin_ui();
87
+ }
88
+ }
89
+
90
+ /**
91
+ * Display scheduled actions table.
92
+ *
93
+ * @since 2.9.0
94
+ */
95
+ public function display() {
96
+
97
+ if ( ! $this->is_applicable() ) {
98
+ return;
99
+ }
100
+ ?>
101
+ <h1><?php echo esc_html__( 'Scheduled Actions', 'wp-mail-smtp' ); ?></h1>
102
+
103
+ <p>
104
+ <?php
105
+ echo sprintf(
106
+ wp_kses( /* translators: %s - Action Scheduler website URL. */
107
+ __( 'WP Mail SMTP is using the <a href="%s" target="_blank" rel="noopener noreferrer">Action Scheduler</a> library, which allows it to queue and process bigger tasks in the background without making your site slower for your visitors. Below you can see the list of all tasks and their status. This table can be very useful when debugging certain issues.', 'wp-mail-smtp' ),
108
+ [
109
+ 'a' => [
110
+ 'href' => [],
111
+ 'rel' => [],
112
+ 'target' => [],
113
+ ],
114
+ ]
115
+ ),
116
+ 'https://actionscheduler.org/'
117
+ );
118
+ ?>
119
+ </p>
120
+
121
+ <p>
122
+ <?php echo esc_html__( 'Action Scheduler library is also used by other plugins, like WPForms and WooCommerce, so you might see tasks that are not related to our plugin in the table below.', 'wp-mail-smtp' ); ?>
123
+ </p>
124
+
125
+ <?php if ( isset( $_GET['s'] ) ) : // phpcs:ignore WordPress.Security.NonceVerification.Recommended ?>
126
+ <div id="wp-mail-smtp-reset-filter">
127
+ <?php
128
+ echo wp_kses(
129
+ sprintf( /* translators: %s - search term. */
130
+ __( 'Search results for <strong>%s</strong>', 'wp-mail-smtp' ),
131
+ sanitize_text_field( wp_unslash( $_GET['s'] ) ) // phpcs:ignore WordPress.Security.NonceVerification.Recommended
132
+ ),
133
+ [ 'strong' => [] ]
134
+ );
135
+ ?>
136
+ <a href="<?php echo esc_url( remove_query_arg( 's' ) ); ?>">
137
+ <i class="reset dashicons dashicons-dismiss"></i>
138
+ </a>
139
+ </div>
140
+ <?php endif; ?>
141
+
142
+ <?php
143
+ \ActionScheduler_AdminView::instance()->render_admin_ui();
144
+ }
145
+
146
+ /**
147
+ * Check if ActionScheduler_AdminView class exists.
148
+ *
149
+ * @since 2.9.0
150
+ *
151
+ * @return bool
152
+ */
153
+ private function is_applicable() {
154
+
155
+ return class_exists( 'ActionScheduler_AdminView' );
156
+ }
157
+ }
src/Admin/Pages/ExportTab.php ADDED
@@ -0,0 +1,143 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace WPMailSMTP\Admin\Pages;
4
+
5
+ use WPMailSMTP\Admin\PageAbstract;
6
+
7
+ /**
8
+ * Class ExportTab is a placeholder for Pro email logs export.
9
+ * Displays product education.
10
+ *
11
+ * @since 2.9.0
12
+ */
13
+ class ExportTab extends PageAbstract {
14
+
15
+ /**
16
+ * Part of the slug of a tab.
17
+ *
18
+ * @since 2.9.0
19
+ *
20
+ * @var string
21
+ */
22
+ protected $slug = 'export';
23
+
24
+ /**
25
+ * Tab priority.
26
+ *
27
+ * @since 2.9.0
28
+ *
29
+ * @var int
30
+ */
31
+ protected $priority = 20;
32
+
33
+ /**
34
+ * Link label of a tab.
35
+ *
36
+ * @since 2.9.0
37
+ *
38
+ * @return string
39
+ */
40
+ public function get_label() {
41
+
42
+ return esc_html__( 'Export', 'wp-mail-smtp' );
43
+ }
44
+
45
+ /**
46
+ * Title of a tab.
47
+ *
48
+ * @since 2.9.0
49
+ *
50
+ * @return string
51
+ */
52
+ public function get_title() {
53
+
54
+ return $this->get_label();
55
+ }
56
+
57
+ /**
58
+ * Output HTML of the email logs export form preview.
59
+ *
60
+ * @since 2.9.0
61
+ */
62
+ public function display() {
63
+
64
+ ?>
65
+ <div id="wp-mail-smtp-tools-export-email-logs-product-education">
66
+ <h4><?php esc_html_e( 'Export Email Logs', 'wp-mail-smtp' ); ?></h4>
67
+
68
+ <p>
69
+ <?php
70
+ echo wp_kses(
71
+ sprintf( /* translators: %s - WPMailSMTP.com Upgrade page URL. */
72
+ __( 'Easily export your logs to CSV or Excel. Filter the logs before you export and only download the data you need. This feature lets you easily create your own deliverability reports. You can also use the data in 3rd party dashboards to track deliverability along with your other website statistics. <a href="%s" target="_blank" rel="noopener noreferrer">Upgrade to WP Mail SMTP Pro</a>', 'wp-mail-smtp' ),
73
+ esc_url( wp_mail_smtp()->get_upgrade_link( [ 'medium' => 'tools-export', 'content' => 'upgrade-to-wp-mail-smtp-pro-text-link' ] ) ) // phpcs:ignore WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound
74
+ ),
75
+ [
76
+ 'a' => [
77
+ 'href' => [],
78
+ 'rel' => [],
79
+ 'target' => [],
80
+ ],
81
+ ]
82
+ )
83
+ ?>
84
+ </p>
85
+
86
+ <div class="wp-mail-smtp-setting-row">
87
+ <section class="wp-clearfix">
88
+ <h5><?php esc_html_e( 'Export Type', 'wp-mail-smtp' ); ?></h5>
89
+ <label>
90
+ <input type="radio" checked><?php esc_html_e( 'Export in CSV (.csv)', 'wp-mail-smtp' ); ?>
91
+ </label>
92
+ <label>
93
+ <input type="radio"><?php esc_html_e( 'Export in Microsoft Excel (.xlsx)', 'wp-mail-smtp' ); ?>
94
+ </label>
95
+ <label>
96
+ <input type="radio"><?php esc_html_e( 'Export in EML (.eml)', 'wp-mail-smtp' ); ?>
97
+ </label>
98
+ </section>
99
+
100
+ <section class="wp-clearfix">
101
+ <h5><?php esc_html_e( 'Common Information', 'wp-mail-smtp' ); ?></h5>
102
+ <label><input type="checkbox" checked><?php esc_html_e( 'To Address', 'wp-mail-smtp' ); ?></label>
103
+ <label><input type="checkbox" checked><?php esc_html_e( 'From Address', 'wp-mail-smtp' ); ?></label>
104
+ <label><input type="checkbox" checked><?php esc_html_e( 'From Name', 'wp-mail-smtp' ); ?></label>
105
+ <label><input type="checkbox" checked><?php esc_html_e( 'Subject', 'wp-mail-smtp' ); ?></label>
106
+ <label><input type="checkbox" checked><?php esc_html_e( 'Body', 'wp-mail-smtp' ); ?></label>
107
+ <label><input type="checkbox" checked><?php esc_html_e( 'Created Date', 'wp-mail-smtp' ); ?></label>
108
+ <label><input type="checkbox" checked><?php esc_html_e( 'Number of Attachments', 'wp-mail-smtp' ); ?></label>
109
+ <label><input type="checkbox" checked><?php esc_html_e( 'Attachments', 'wp-mail-smtp' ); ?></label>
110
+ </section>
111
+
112
+ <section class="wp-clearfix">
113
+ <h5><?php esc_html_e( 'Additional Information', 'wp-mail-smtp' ); ?></h5>
114
+ <label><input type="checkbox"><?php esc_html_e( 'Status', 'wp-mail-smtp' ); ?></label>
115
+ <label><input type="checkbox"><?php esc_html_e( 'Carbon Copy (CC)', 'wp-mail-smtp' ); ?></label>
116
+ <label><input type="checkbox"><?php esc_html_e( 'Blind Carbon Copy (BCC)', 'wp-mail-smtp' ); ?></label>
117
+ <label><input type="checkbox"><?php esc_html_e( 'Headers', 'wp-mail-smtp' ); ?></label>
118
+ <label><input type="checkbox"><?php esc_html_e( 'Mailer', 'wp-mail-smtp' ); ?></label>
119
+ <label><input type="checkbox"><?php esc_html_e( 'Error Details', 'wp-mail-smtp' ); ?></label>
120
+ <label><input type="checkbox"><?php esc_html_e( 'Email log ID', 'wp-mail-smtp' ); ?></label>
121
+ </section>
122
+
123
+ <section class="wp-clearfix">
124
+ <h5><?php esc_html_e( 'Custom Date Range', 'wp-mail-smtp' ); ?></h5>
125
+ <input type="text" class="wp-mail-smtp-date-selector" placeholder="<?php esc_html_e( 'Select a date range', 'wp-mail-smtp' ); ?>">
126
+ </section>
127
+
128
+ <section class="wp-clearfix">
129
+ <h5><?php esc_html_e( 'Search', 'wp-mail-smtp' ); ?></h5>
130
+ <select class="wp-mail-smtp-search-box-field">
131
+ <option><?php esc_html_e( 'Email Addresses', 'wp-mail-smtp' ); ?></option>
132
+ </select>
133
+ <input type="text" class="wp-mail-smtp-search-box-term">
134
+ </section>
135
+ </div>
136
+
137
+ <a href="<?php echo esc_url( wp_mail_smtp()->get_upgrade_link( [ 'medium' => 'tools-export', 'content' => 'upgrade-to-wp-mail-smtp-pro-button' ] ) ); // phpcs:ignore WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound ?>" target="_blank" rel="noopener noreferrer" class="wp-mail-smtp-btn wp-mail-smtp-btn-upgrade wp-mail-smtp-btn-orange">
138
+ <?php esc_html_e( 'Upgrade to WP Mail SMTP Pro', 'wp-mail-smtp' ); ?>
139
+ </a>
140
+ </div>
141
+ <?php
142
+ }
143
+ }
src/Admin/Pages/MiscTab.php CHANGED
@@ -170,6 +170,24 @@ class MiscTab extends PageAbstract {
170
  </div>
171
  </div>
172
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
173
  <!-- Uninstall -->
174
  <div id="wp-mail-smtp-setting-row-uninstall" class="wp-mail-smtp-setting-row wp-mail-smtp-setting-row-checkbox wp-mail-smtp-clear">
175
  <div class="wp-mail-smtp-setting-label">
@@ -237,6 +255,9 @@ class MiscTab extends PageAbstract {
237
  if ( empty( $data['general']['email_delivery_errors_hidden'] ) ) {
238
  $data['general']['email_delivery_errors_hidden'] = false;
239
  }
 
 
 
240
  if ( empty( $data['general']['uninstall'] ) ) {
241
  $data['general']['uninstall'] = false;
242
  }
170
  </div>
171
  </div>
172
 
173
+ <!-- Hide Dashboard Widget -->
174
+ <div id="wp-mail-smtp-setting-row-dashboard_widget_hidden" class="wp-mail-smtp-setting-row wp-mail-smtp-setting-row-checkbox wp-mail-smtp-clear">
175
+ <div class="wp-mail-smtp-setting-label">
176
+ <label for="wp-mail-smtp-setting-dashboard_widget_hidden">
177
+ <?php esc_html_e( 'Hide Dashboard Widget', 'wp-mail-smtp' ); ?>
178
+ </label>
179
+ </div>
180
+ <div class="wp-mail-smtp-setting-field">
181
+ <input name="wp-mail-smtp[general][dashboard_widget_hidden]" type="checkbox"
182
+ value="true" <?php checked( true, $options->get( 'general', 'dashboard_widget_hidden' ) ); ?>
183
+ id="wp-mail-smtp-setting-dashboard_widget_hidden"
184
+ >
185
+ <label for="wp-mail-smtp-setting-dashboard_widget_hidden">
186
+ <?php esc_html_e( 'Check this if you would like to hide the WP Mail SMTP Dashboard Widget.', 'wp-mail-smtp' ); ?>
187
+ </label>
188
+ </div>
189
+ </div>
190
+
191
  <!-- Uninstall -->
192
  <div id="wp-mail-smtp-setting-row-uninstall" class="wp-mail-smtp-setting-row wp-mail-smtp-setting-row-checkbox wp-mail-smtp-clear">
193
  <div class="wp-mail-smtp-setting-label">
255
  if ( empty( $data['general']['email_delivery_errors_hidden'] ) ) {
256
  $data['general']['email_delivery_errors_hidden'] = false;
257
  }
258
+ if ( empty( $data['general']['dashboard_widget_hidden'] ) ) {
259
+ $data['general']['dashboard_widget_hidden'] = false;
260
+ }
261
  if ( empty( $data['general']['uninstall'] ) ) {
262
  $data['general']['uninstall'] = false;
263
  }
src/Admin/Pages/SettingsTab.php CHANGED
@@ -554,7 +554,7 @@ class SettingsTab extends PageAbstract {
554
  /**
555
  * @inheritdoc
556
  */
557
- public function process_post( $data ) {
558
 
559
  $this->check_admin_referer();
560
 
@@ -619,6 +619,21 @@ class SettingsTab extends PageAbstract {
619
  }
620
  }
621
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
622
  $data = apply_filters( 'wp_mail_smtp_settings_tab_process_post', $data );
623
 
624
  // All the sanitization is done in Options class.
554
  /**
555
  * @inheritdoc
556
  */
557
+ public function process_post( $data ) { // phpcs:ignore Generic.Metrics.CyclomaticComplexity.MaxExceeded
558
 
559
  $this->check_admin_referer();
560
 
619
  }
620
  }
621
 
622
+ // Prevent redirect to setup wizard from settings page after successful auth.
623
+ if (
624
+ ! empty( $data['mail']['mailer'] ) &&
625
+ in_array( $data['mail']['mailer'], [ 'gmail', 'outlook', 'zoho' ], true )
626
+ ) {
627
+ $data[ $data['mail']['mailer'] ]['is_setup_wizard_auth'] = false;
628
+ }
629
+
630
+ /**
631
+ * Filters mail settings before save.
632
+ *
633
+ * @since 2.2.1
634
+ *
635
+ * @param array $data Settings data.
636
+ */
637
  $data = apply_filters( 'wp_mail_smtp_settings_tab_process_post', $data );
638
 
639
  // All the sanitization is done in Options class.
src/Admin/Pages/TestTab.php CHANGED
@@ -135,6 +135,7 @@ class TestTab extends PageAbstract {
135
  </button>
136
  <?php echo $help_text; ?>
137
  </p>
 
138
  </form>
139
 
140
  <?php if ( ! empty( $mailer ) && $mailer->is_mailer_complete() && isset( $_GET['auto-start'] ) ) : // phpcs:ignore ?>
@@ -327,7 +328,7 @@ class TestTab extends PageAbstract {
327
  <img src="<?php echo esc_url( wp_mail_smtp()->plugin_url . '/assets/images/email/signature.png' ); ?>" width="180" alt="Signature" style="outline: none; text-decoration: none; max-width: 100%; clear: both; -ms-interpolation-mode: bicubic; width: 180px; display: block; margin: 0 0 0 0; Margin: 0 0 0 0;">
328
  </p>
329
  <p style="-ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; color: #444; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-weight: normal; padding: 0; text-align: left; font-size: 14px; mso-line-height-rule: exactly; line-height: 140%; margin: 0 0 15px 0; Margin: 0 0 15px 0;">
330
- Jared Atchison<br>Lead Developer, WP Mail SMTP
331
  </p>
332
  </div>
333
  </td>
135
  </button>
136
  <?php echo $help_text; ?>
137
  </p>
138
+ <?php $this->post_form_hidden_field(); ?>
139
  </form>
140
 
141
  <?php if ( ! empty( $mailer ) && $mailer->is_mailer_complete() && isset( $_GET['auto-start'] ) ) : // phpcs:ignore ?>
328
  <img src="<?php echo esc_url( wp_mail_smtp()->plugin_url . '/assets/images/email/signature.png' ); ?>" width="180" alt="Signature" style="outline: none; text-decoration: none; max-width: 100%; clear: both; -ms-interpolation-mode: bicubic; width: 180px; display: block; margin: 0 0 0 0; Margin: 0 0 0 0;">
329
  </p>
330
  <p style="-ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; color: #444; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-weight: normal; padding: 0; text-align: left; font-size: 14px; mso-line-height-rule: exactly; line-height: 140%; margin: 0 0 15px 0; Margin: 0 0 15px 0;">
331
+ Jared Atchison<br>Co-Founder, WP Mail SMTP
332
  </p>
333
  </div>
334
  </td>
src/Admin/Pages/VersusTab.php ADDED
@@ -0,0 +1,281 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace WPMailSMTP\Admin\Pages;
4
+
5
+ use WPMailSMTP\Admin\PageAbstract;
6
+
7
+ /**
8
+ * Versus tab.
9
+ *
10
+ * @since 2.9.0
11
+ */
12
+ class VersusTab extends PageAbstract {
13
+
14
+ /**
15
+ * Part of the slug of a tab.
16
+ *
17
+ * @since 2.9.0
18
+ *
19
+ * @var string
20
+ */
21
+ protected $slug = 'versus';
22
+
23
+ /**
24
+ * Tab priority.
25
+ *
26
+ * @since 2.9.0
27
+ *
28
+ * @var int
29
+ */
30
+ protected $priority = 40;
31
+
32
+ /**
33
+ * Link label of a tab.
34
+ *
35
+ * @since 2.9.0
36
+ *
37
+ * @return string
38
+ */
39
+ public function get_label() {
40
+
41
+ return esc_html__( 'Lite vs Pro', 'wp-mail-smtp' );
42
+ }
43
+
44
+ /**
45
+ * Title of a tab.
46
+ *
47
+ * @since 2.9.0
48
+ *
49
+ * @return string
50
+ */
51
+ public function get_title() {
52
+
53
+ return $this->get_label();
54
+ }
55
+
56
+ /**
57
+ * Tab content.
58
+ *
59
+ * @since 2.9.0
60
+ */
61
+ public function display() {
62
+
63
+ $license = wp_mail_smtp()->get_license_type();
64
+ ?>
65
+
66
+ <div class="wp-mail-smtp-admin-about-section wp-mail-smtp-admin-about-section-squashed">
67
+ <h1 class="centered">
68
+ <strong>
69
+ <?php
70
+ printf(
71
+ /* translators: %s - plugin current license type. */
72
+ esc_html__( '%s vs Pro', 'wp-mail-smtp' ),
73
+ esc_html( ucfirst( $license ) )
74
+ );
75
+ ?>
76
+ </strong>
77
+ </h1>
78
+
79
+ <p class="centered <?php echo( $license === 'pro' ? 'hidden' : '' ); ?>">
80
+ <?php esc_html_e( 'Get the most out of WP Mail SMTP by upgrading to Pro and unlocking all of the powerful features.', 'wp-mail-smtp' ); ?>
81
+ </p>
82
+ </div>
83
+
84
+ <div class="wp-mail-smtp-admin-about-section wp-mail-smtp-admin-about-section-squashed wp-mail-smtp-admin-about-section-hero wp-mail-smtp-admin-about-section-table">
85
+
86
+ <div class="wp-mail-smtp-admin-about-section-hero-main wp-mail-smtp-admin-columns">
87
+ <div class="wp-mail-smtp-admin-column-33">
88
+ <h3 class="no-margin">
89
+ <?php esc_html_e( 'Feature', 'wp-mail-smtp' ); ?>
90
+ </h3>
91
+ </div>
92
+ <div class="wp-mail-smtp-admin-column-33">
93
+ <h3 class="no-margin">
94
+ <?php echo esc_html( ucfirst( $license ) ); ?>
95
+ </h3>
96
+ </div>
97
+ <div class="wp-mail-smtp-admin-column-33">
98
+ <h3 class="no-margin">
99
+ <?php esc_html_e( 'Pro', 'wp-mail-smtp' ); ?>
100
+ </h3>
101
+ </div>
102
+ </div>
103
+ <div class="wp-mail-smtp-admin-about-section-hero-extra no-padding wp-mail-smtp-admin-columns">
104
+
105
+ <table>
106
+ <?php
107
+ foreach ( $this->get_license_features() as $slug => $name ) {
108
+ $current = $this->get_license_data( $slug, $license );
109
+ $pro = $this->get_license_data( $slug, 'pro' );
110
+ ?>
111
+ <tr class="wp-mail-smtp-admin-columns">
112
+ <td class="wp-mail-smtp-admin-column-33">
113
+ <p><?php echo esc_html( $name ); ?></p>
114
+ </td>
115
+ <td class="wp-mail-smtp-admin-column-33">
116
+ <p class="features-<?php echo esc_attr( $current['status'] ); ?>">
117
+ <?php echo implode( '<br>', $current['text'] ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
118
+ </p>
119
+ </td>
120
+ <td class="wp-mail-smtp-admin-column-33">
121
+ <p class="features-full">
122
+ <?php echo implode( '<br>', $pro['text'] ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
123
+ </p>
124
+ </td>
125
+ </tr>
126
+ <?php
127
+ }
128
+ ?>
129
+ </table>
130
+
131
+ </div>
132
+
133
+ </div>
134
+
135
+ <?php if ( 'lite' === $license ) : ?>
136
+ <div class="wp-mail-smtp-admin-about-section wp-mail-smtp-admin-about-section-hero">
137
+ <div class="wp-mail-smtp-admin-about-section-hero-main no-border">
138
+ <h3 class="call-to-action centered">
139
+ <a href="<?php echo esc_url( wp_mail_smtp()->get_upgrade_link( 'lite-vs-pro' ) ); ?>" target="_blank" rel="noopener noreferrer">
140
+ <?php esc_html_e( 'Get WP Mail SMTP Pro Today and Unlock all of these Powerful Features', 'wp-mail-smtp' ); ?>
141
+ </a>
142
+ </h3>
143
+
144
+ <p class="centered">
145
+ <?php
146
+ printf(
147
+ wp_kses( /* Translators: %s - discount value $50. */
148
+ __( 'Bonus: WP Mail SMTP Lite users get <span class="price-off">%s off regular price</span>, automatically applied at checkout.', 'wp-mail-smtp' ),
149
+ [
150
+ 'span' => [
151
+ 'class' => [],
152
+ ],
153
+ ]
154
+ ),
155
+ '$50'
156
+ );
157
+ ?>
158
+ </p>
159
+ </div>
160
+ </div>
161
+ <?php endif; ?>
162
+
163
+ <?php
164
+ }
165
+
166
+ /**
167
+ * Get the list of features for all licenses.
168
+ *
169
+ * @since 2.9.0
170
+ *
171
+ * @return array
172
+ */
173
+ private function get_license_features() {
174
+
175
+ return [
176
+ 'log' => esc_html__( 'Email Log', 'wp-mail-smtp' ),
177
+ 'control' => esc_html__( 'Email Controls', 'wp-mail-smtp' ),
178
+ 'mailers' => esc_html__( 'Mailer Options', 'wp-mail-smtp' ),
179
+ 'multisite' => esc_html__( 'WordPress Multisite', 'wp-mail-smtp' ),
180
+ 'support' => esc_html__( 'Customer Support', 'wp-mail-smtp' ),
181
+ ];
182
+ }
183
+
184
+ /**
185
+ * Get the array of data that compared the license data.
186
+ *
187
+ * @since 2.9.0
188
+ *
189
+ * @param string $feature Feature name.
190
+ * @param string $license License type to get data for.
191
+ *
192
+ * @return array|false
193
+ */
194
+ private function get_license_data( $feature, $license ) {
195
+
196
+ $data = [
197
+ 'log' => [
198
+ 'lite' => [
199
+ 'status' => 'none',
200
+ 'text' => [
201
+ '<strong>' . esc_html__( 'Emails are not logged', 'wp-mail-smtp' ) . '</strong>',
202
+ ],
203
+ ],
204
+ 'pro' => [
205
+ 'status' => 'full',
206
+ 'text' => [
207
+ '<strong>' . esc_html__( 'Access to all Email Logging options right inside WordPress', 'wp-mail-smtp' ) . '</strong>',
208
+ ],
209
+ ],
210
+ ],
211
+ 'control' => [
212
+ 'lite' => [
213
+ 'status' => 'none',
214
+ 'text' => [
215
+ '<strong>' . esc_html__( 'No controls over whether default WordPress emails are sent', 'wp-mail-smtp' ) . '</strong>',
216
+ ],
217
+ ],
218
+ 'pro' => [
219
+ 'status' => 'full',
220
+ 'text' => [
221
+ '<strong>' . esc_html__( 'Complete Email Controls management for most default WordPress emails', 'wp-mail-smtp' ) . '</strong>',
222
+ ],
223
+ ],
224
+ ],
225
+ 'mailers' => [
226
+ 'lite' => [
227
+ 'status' => 'none',
228
+ 'text' => [
229
+ '<strong>' . esc_html__( 'Limited Mailers', 'wp-mail-smtp' ) . '</strong><br>' . esc_html__( 'Access is limited to standard mailer options only', 'wp-mail-smtp' ),
230
+ ],
231
+ ],
232
+ 'pro' => [
233
+ 'status' => 'full',
234
+ 'text' => [
235
+ '<strong>' . esc_html__( 'Additional Mailer Options', 'wp-mail-smtp' ) . '</strong><br>' . esc_html__( 'Microsoft Outlook (with Office365 support), Amazon SES and Zoho Mail', 'wp-mail-smtp' ),
236
+ ],
237
+ ],
238
+ ],
239
+ 'multisite' => [
240
+ 'lite' => [
241
+ 'status' => 'none',
242
+ 'text' => [
243
+ '<strong>' . esc_html__( 'No Global Network Settings', 'wp-mail-smtp' ) . '</strong>',
244
+ ],
245
+ ],
246
+ 'pro' => [
247
+ 'status' => 'full',
248
+ 'text' => [
249
+ '<strong>' . esc_html__( 'All Global Network Settings', 'wp-mail-smtp' ) . '</strong><br>' . esc_html__( 'Optionally configure settings at the network level or manage separately for each subsite', 'wp-mail-smtp' ),
250
+ ],
251
+ ],
252
+ ],
253
+ 'support' => [
254
+ 'lite' => [
255
+ 'status' => 'none',
256
+ 'text' => [
257
+ '<strong>' . esc_html__( 'Limited Support', 'wp-mail-smtp' ) . '</strong>',
258
+ ],
259
+ ],
260
+ 'pro' => [
261
+ 'status' => 'full',
262
+ 'text' => [
263
+ '<strong>' . esc_html__( 'Priority Support', 'wp-mail-smtp' ) . '</strong>',
264
+ ],
265
+ ],
266
+ ],
267
+ ];
268
+
269
+ // Wrong feature?
270
+ if ( ! isset( $data[ $feature ] ) ) {
271
+ return false;
272
+ }
273
+
274
+ // Wrong license type?
275
+ if ( ! isset( $data[ $feature ][ $license ] ) ) {
276
+ return false;
277
+ }
278
+
279
+ return $data[ $feature ][ $license ];
280
+ }
281
+ }
src/Admin/ParentPageAbstract.php CHANGED
@@ -136,6 +136,38 @@ abstract class ParentPageAbstract implements PageInterface {
136
  return $this->get_defined_tab( $tab );
137
  }
138
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
139
  /**
140
  * Get the defined or default tab.
141
  *
@@ -200,15 +232,17 @@ abstract class ParentPageAbstract implements PageInterface {
200
  $this->tabs[ $this->get_current_tab() ]->hooks();
201
 
202
  // Process POST only if it exists.
203
- if ( ! empty( $_POST ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing
204
- if ( ! empty( $_POST['wp-mail-smtp'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing
205
- $post = $_POST['wp-mail-smtp']; // phpcs:ignore WordPress.Security.NonceVerification.Missing, WordPress.Security.ValidatedSanitizedInput.InputNotSanitized, WordPress.Security.ValidatedSanitizedInput.MissingUnslash
 
206
  } else {
207
  $post = [];
208
  }
209
 
210
  $this->tabs[ $this->get_current_tab() ]->process_post( $post );
211
  }
 
212
 
213
  // This won't do anything for most pages.
214
  // Works for plugin page only, when GET params are allowed.
@@ -223,14 +257,26 @@ abstract class ParentPageAbstract implements PageInterface {
223
  public function display() {
224
 
225
  $current_tab = $this->get_current_tab();
 
226
  ?>
227
  <div class="wp-mail-smtp-page-title">
228
  <?php foreach ( $this->tabs as $tab ) : ?>
229
- <a href="<?php echo esc_url( $this->get_link( $tab->get_slug() ) ); ?>"
230
  class="tab <?php echo $current_tab === $tab->get_slug() ? 'active' : ''; ?>">
231
  <?php echo esc_html( $tab->get_label() ); ?>
232
  </a>
233
  <?php endforeach; ?>
 
 
 
 
 
 
 
 
 
 
 
234
  </div>
235
 
236
  <div class="wp-mail-smtp-page-content">
@@ -247,7 +293,16 @@ abstract class ParentPageAbstract implements PageInterface {
247
  *
248
  * @param PageAbstract $tab Current tab.
249
  */
250
- do_action( 'wp_mail_smtp_admin_page_' . $this->slug . '_' . $current_tab . '_display_before', $tab );
 
 
 
 
 
 
 
 
 
251
 
252
  $tab->display();
253
 
@@ -258,7 +313,7 @@ abstract class ParentPageAbstract implements PageInterface {
258
  *
259
  * @param PageAbstract $tab Current tab.
260
  */
261
- do_action( 'wp_mail_smtp_admin_page_' . $this->slug . '_' . $current_tab . '_display_after', $tab );
262
 
263
  break;
264
  }
136
  return $this->get_defined_tab( $tab );
137
  }
138
 
139
+ /**
140
+ * Get the tab label.
141
+ *
142
+ * @since 2.9.0
143
+ *
144
+ * @param string $tab Tab key.
145
+ *
146
+ * @return string
147
+ */
148
+ public function get_tab_label( $tab ) {
149
+
150
+ $tabs = $this->get_tabs();
151
+
152
+ return isset( $tabs[ $tab ] ) ? $tabs[ $tab ]->get_label() : '';
153
+ }
154
+
155
+ /**
156
+ * Get the tab title.
157
+ *
158
+ * @since 2.9.0
159
+ *
160
+ * @param string $tab Tab key.
161
+ *
162
+ * @return string
163
+ */
164
+ public function get_tab_title( $tab ) {
165
+
166
+ $tabs = $this->get_tabs();
167
+
168
+ return isset( $tabs[ $tab ] ) ? $tabs[ $tab ]->get_title() : '';
169
+ }
170
+
171
  /**
172
  * Get the defined or default tab.
173
  *
232
  $this->tabs[ $this->get_current_tab() ]->hooks();
233
 
234
  // Process POST only if it exists.
235
+ // phpcs:disable WordPress.Security.NonceVerification.Missing, WordPress.Security.ValidatedSanitizedInput.InputNotSanitized, WordPress.Security.ValidatedSanitizedInput.MissingUnslash
236
+ if ( ! empty( $_POST ) && isset( $_POST['wp-mail-smtp-post'] ) ) {
237
+ if ( ! empty( $_POST['wp-mail-smtp'] ) ) {
238
+ $post = $_POST['wp-mail-smtp'];
239
  } else {
240
  $post = [];
241
  }
242
 
243
  $this->tabs[ $this->get_current_tab() ]->process_post( $post );
244
  }
245
+ // phpcs:enable WordPress.Security.NonceVerification.Missing, WordPress.Security.ValidatedSanitizedInput.InputNotSanitized, WordPress.Security.ValidatedSanitizedInput.MissingUnslash
246
 
247
  // This won't do anything for most pages.
248
  // Works for plugin page only, when GET params are allowed.
257
  public function display() {
258
 
259
  $current_tab = $this->get_current_tab();
260
+ $page_slug = $this->slug;
261
  ?>
262
  <div class="wp-mail-smtp-page-title">
263
  <?php foreach ( $this->tabs as $tab ) : ?>
264
+ <a href="<?php echo esc_url( $tab->get_link() ); ?>"
265
  class="tab <?php echo $current_tab === $tab->get_slug() ? 'active' : ''; ?>">
266
  <?php echo esc_html( $tab->get_label() ); ?>
267
  </a>
268
  <?php endforeach; ?>
269
+
270
+ <?php
271
+ /**
272
+ * Fires after page title.
273
+ *
274
+ * @since 2.9.0
275
+ *
276
+ * @param ParentPageAbstract $page Current page.
277
+ */
278
+ do_action( "wp_mail_smtp_admin_page_{$page_slug}_{$current_tab}_display_header", $this );
279
+ ?>
280
  </div>
281
 
282
  <div class="wp-mail-smtp-page-content">
293
  *
294
  * @param PageAbstract $tab Current tab.
295
  */
296
+ do_action( 'wp_mail_smtp_admin_pages_before_content', $tab );
297
+
298
+ /**
299
+ * Fires before tab content.
300
+ *
301
+ * @since 2.9.0
302
+ *
303
+ * @param PageAbstract $tab Current tab.
304
+ */
305
+ do_action( "wp_mail_smtp_admin_page_{$page_slug}_{$current_tab}_display_before", $tab );
306
 
307
  $tab->display();
308
 
313
  *
314
  * @param PageAbstract $tab Current tab.
315
  */
316
+ do_action( "wp_mail_smtp_admin_page_{$page_slug}_{$current_tab}_display_after", $tab );
317
 
318
  break;
319
  }
src/Compatibility/Compatibility.php CHANGED
@@ -42,8 +42,7 @@ class Compatibility {
42
  public function setup_compatibility() {
43
 
44
  $plugins = [
45
- 'admin-2020' => '\WPMailSMTP\Compatibility\Plugin\Admin2020',
46
- 'wishlist-member' => '\WPMailSMTP\Compatibility\Plugin\WishListMember',
47
  ];
48
 
49
  foreach ( $plugins as $key => $classname ) {
42
  public function setup_compatibility() {
43
 
44
  $plugins = [
45
+ 'admin-2020' => '\WPMailSMTP\Compatibility\Plugin\Admin2020',
 
46
  ];
47
 
48
  foreach ( $plugins as $key => $classname ) {
src/Compatibility/Plugin/WishListMember.php DELETED
@@ -1,57 +0,0 @@
1
- <?php
2
-
3
- namespace WPMailSMTP\Compatibility\Plugin;
4
-
5
- /**
6
- * WishList Member compatibility plugin.
7
- *
8
- * @since 2.8.0
9
- */
10
- class WishListMember extends PluginAbstract {
11
-
12
- /**
13
- * Get plugin name.
14
- *
15
- * @since 2.8.0
16
- *
17
- * @return string
18
- */
19
- public static function get_name() {
20
-
21
- return 'WishList Member';
22
- }
23
-
24
- /**
25
- * Get plugin path.
26
- *
27
- * @since 2.8.0
28
- *
29
- * @return string
30
- */
31
- public static function get_path() {
32
-
33
- return 'wishlist-member/wpm.php';
34
- }
35
-
36
- /**
37
- * Execute on init action in admin area.
38
- *
39
- * @since 2.8.0
40
- */
41
- public function load_admin() {
42
-
43
- add_action( 'admin_init', [ $this, 'clear_post' ], 0 );
44
- }
45
-
46
- /**
47
- * Clear $_POST array to prevent Area::process_actions on GET request.
48
- *
49
- * @since 2.8.0
50
- */
51
- public function clear_post() {
52
-
53
- if ( wp_mail_smtp()->get_admin()->is_admin_page() && isset( $_POST['msg'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing
54
- unset( $_POST['msg'] ); // phpcs:ignore WordPress.Security.NonceVerification.Missing
55
- }
56
- }
57
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
src/Conflicts.php CHANGED
@@ -17,294 +17,307 @@ class Conflicts {
17
  *
18
  * @var array List of plugins WP Mail SMTP may be conflicting with.
19
  */
20
- public static $plugins = [
21
-
22
- /**
23
- * Url: https://wordpress.org/plugins/easy-wp-smtp/
24
- */
25
- [
26
- 'name' => 'Easy WP SMTP',
27
- 'slug' => 'easy-wp-smtp/easy-wp-smtp.php',
28
- 'class' => 'EasyWPSMTP',
29
- ],
30
-
31
- /**
32
- * Closed.
33
- *
34
- * Url: https://wordpress.org/plugins/postman-smtp/
35
- */
36
- [
37
- 'name' => 'Postman SMTP',
38
- 'slug' => 'postman-smtp/postman-smtp.php',
39
- 'function' => 'postman_start',
40
- ],
41
-
42
- /**
43
- * Url: https://wordpress.org/plugins/post-smtp/
44
- */
45
- [
46
- 'name' => 'Post SMTP',
47
- 'slug' => 'post-smtp/postman-smtp.php',
48
- 'function' => 'post_smtp_start',
49
- ],
50
-
51
- /**
52
- * Url: https://wordpress.org/plugins/wp-mail-bank/
53
- */
54
- [
55
- 'name' => 'Mail Bank',
56
- 'slug' => 'wp-mail-bank/wp-mail-bank.php',
57
- 'function' => 'mail_bank',
58
- ],
59
-
60
- /**
61
- * Url: https://wordpress.org/plugins/smtp-mailer/
62
- */
63
- [
64
- 'name' => 'SMTP Mailer',
65
- 'slug' => 'smtp-mailer/main.php',
66
- 'class' => 'SMTP_MAILER',
67
- ],
68
-
69
- /**
70
- * Url: https://wordpress.org/plugins/gmail-smtp/
71
- */
72
- [
73
- 'name' => 'Gmail SMTP',
74
- 'slug' => 'gmail-smtp/main.php',
75
- 'class' => 'GMAIL_SMTP',
76
- ],
77
-
78
- /**
79
- * Url: https://wordpress.org/plugins/wp-email-smtp/
80
- */
81
- [
82
- 'name' => 'WP Email SMTP',
83
- 'class' => 'WP_Email_Smtp',
84
- ],
85
-
86
- /**
87
- * Url: https://wordpress.org/plugins/smtp-mail/
88
- */
89
- [
90
- 'name' => 'SMTP Mail',
91
- 'slug' => 'smtp-mail/index.php',
92
- 'function' => 'smtpmail_include',
93
- ],
94
-
95
- /**
96
- * Url: https://wordpress.org/plugins/bws-smtp/
97
- */
98
- [
99
- 'name' => 'SMTP by BestWebSoft',
100
- 'slug' => 'bws-smtp/bws-smtp.php',
101
- 'function' => 'bwssmtp_init',
102
- ],
103
-
104
- /**
105
- * Url: https://wordpress.org/plugins/wp-sendgrid-smtp/
106
- */
107
- [
108
- 'name' => 'WP SendGrid SMTP',
109
- 'slug' => 'wp-sendgrid-smtp/wp-sendgrid-smtp.php',
110
- 'class' => 'WPSendGrid_SMTP',
111
- ],
112
-
113
-
114
- /**
115
- * Url: https://wordpress.org/plugins/sar-friendly-smtp/
116
- */
117
- [
118
- 'name' => 'SAR Friendly SMTP',
119
- 'slug' => 'sar-friendly-smtp/sar-friendly-smtp.php',
120
- 'function' => 'sar_friendly_smtp',
121
- ],
122
-
123
- /**
124
- * Url: https://wordpress.org/plugins/wp-gmail-smtp/
125
- */
126
- [
127
- 'name' => 'WP Gmail SMTP',
128
- 'slug' => 'wp-gmail-smtp/wp-gmail-smtp.php',
129
- 'class' => 'WPGmail_SMTP',
130
- ],
131
-
132
- /**
133
- * Url: https://wordpress.org/plugins/cimy-swift-smtp/
134
- */
135
- [
136
- 'name' => 'Cimy Swift SMTP',
137
- 'slug' => 'cimy-swift-smtp/cimy_swift_smtp.php',
138
- 'function' => 'st_smtp_check_config',
139
- ],
140
-
141
- /**
142
- * Closed.
143
- *
144
- * Url: https://wordpress.org/plugins/wp-easy-smtp/
145
- */
146
- [
147
- 'name' => 'WP Easy SMTP',
148
- 'slug' => 'wp-easy-smtp/wp-easy-smtp.php',
149
- 'class' => 'WP_Easy_SMTP',
150
- ],
151
-
152
- /**
153
- * Url: https://wordpress.org/plugins/wp-mailgun-smtp/
154
- */
155
- [
156
- 'name' => 'WP Mailgun SMTP',
157
- 'slug' => 'wp-mailgun-smtp/wp-mailgun-smtp.php',
158
- 'class' => 'WPMailgun_SMTP',
159
- ],
160
-
161
- /**
162
- * Url: https://wordpress.org/plugins/my-smtp-wp/
163
- */
164
- [
165
- 'name' => 'MY SMTP WP',
166
- 'slug' => 'my-smtp-wp/my-smtp-wp.php',
167
- 'function' => 'my_smtp_wp',
168
- ],
169
-
170
- /**
171
- * Closed.
172
- *
173
- * Url: https://wordpress.org/plugins/wp-mail-booster/
174
- */
175
- [
176
- 'name' => 'WP Mail Booster',
177
- 'slug' => 'wp-mail-booster/wp-mail-booster.php',
178
- 'function' => 'mail_booster',
179
- ],
180
-
181
- /**
182
- * Url: https://wordpress.org/plugins/sendgrid-email-delivery-simplified/
183
- */
184
- [
185
- 'name' => 'SendGrid',
186
- 'slug' => 'sendgrid-email-delivery-simplified/wpsendgrid.php',
187
- 'class' => 'Sendgrid_Settings',
188
- ],
189
-
190
- /**
191
- * Url: https://wordpress.org/plugins/wp-mail-smtp-mailer/
192
- */
193
- [
194
- 'name' => 'WP Mail Smtp Mailer',
195
- 'slug' => 'wp-mail-smtp-mailer/wp-mail-smtp-mailer.php',
196
- 'function' => 'WPMS_php_mailer',
197
- ],
198
-
199
- /**
200
- * Closed.
201
- *
202
- * Url: https://wordpress.org/plugins/wp-amazon-ses-smtp/
203
- */
204
- [
205
- 'name' => 'WP Amazon SES SMTP',
206
- 'slug' => 'wp-amazon-ses-smtp/wp-amazon-ses.php',
207
- 'class' => 'WPAmazonSES_SMTP',
208
- ],
209
-
210
- /**
211
- * Url: https://wordpress.org/plugins/postmark-approved-wordpress-plugin/
212
- */
213
- [
214
- 'name' => 'Postmark (Official)',
215
- 'slug' => 'postmark-approved-wordpress-plugin/postmark.php',
216
- 'class' => 'Postmark_Mail',
217
- ],
218
-
219
- /**
220
- * Url: https://wordpress.org/plugins/mailgun/
221
- */
222
- [
223
- 'name' => 'Mailgun',
224
- 'slug' => 'mailgun/mailgun.php',
225
- 'class' => 'Mailgun',
226
- ],
227
-
228
- /**
229
- * Url: https://wordpress.org/plugins/sparkpost/
230
- */
231
- [
232
- 'name' => 'SparkPost',
233
- 'slug' => 'sparkpost/wordpress-sparkpost.php',
234
- 'class' => 'WPSparkPost\SparkPost',
235
- ],
236
-
237
- /**
238
- * Url: https://wordpress.org/plugins/wp-yahoo-smtp/
239
- */
240
- [
241
- 'name' => 'WP Yahoo SMTP',
242
- 'slug' => 'wp-yahoo-smtp/wp-yahoo-smtp.php',
243
- 'class' => 'WPYahoo_SMTP',
244
- ],
245
-
246
- /**
247
- * Url: https://wordpress.org/plugins/wp-ses/
248
- */
249
- [
250
- 'name' => 'WP Offload SES Lite',
251
- 'slug' => 'wp-ses/wp-ses.php',
252
- 'function' => 'wp_offload_ses
17
  *
18
  * @var array List of plugins WP Mail SMTP may be conflicting with.
19
  */