PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/mytube.pm/wp-content/plugins/wp-mail-smtp/assets/js/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : /home/trave494/mytube.pm/wp-content/plugins/wp-mail-smtp/assets/js/smtp-admin.min.js

"use strict";var WPMailSMTP=window.WPMailSMTP||{};WPMailSMTP.Admin=WPMailSMTP.Admin||{},WPMailSMTP.Admin.Settings=WPMailSMTP.Admin.Settings||function(a,o,l){var s={pluginSettingsChanged:!1,init:function(){l(s.ready)},ready:function(){s.pageHolder=l(".wp-mail-smtp-tab-settings"),l("#screen-meta-links, #screen-meta").prependTo("#wp-mail-smtp-header-temp").show(),s.bindActions(),s.setJQueryConfirmDefaults(),s.initFlyoutMenu()},bindActions:function(){l(".wp-mail-smtp-mailer-image",s.pageHolder).on("click",function(){l(this).parents(".wp-mail-smtp-mailer").find("input").trigger("click")}),l(".wp-mail-smtp-mailer input",s.pageHolder).on("click",function(){var t=l(this);if(t.prop("disabled"))return t.hasClass("educate")&&s.education.upgradeMailer(t),!1;l(".wp-mail-smtp-mailer",s.pageHolder).removeClass("active"),l(this).parents(".wp-mail-smtp-mailer").addClass("active"),l(".wp-mail-smtp-mailer-option",s.pageHolder).addClass("hidden").removeClass("active"),l(".wp-mail-smtp-mailer-option-"+l(this).val(),s.pageHolder).addClass("active").removeClass("hidden")}),s.mailers.smtp.bindActions(),l("#wp-mail-smtp-pro-banner-dismiss",s.pageHolder).on("click",function(){l.ajax({url:ajaxurl,dataType:"json",type:"POST",data:{action:"wp_mail_smtp_ajax",task:"pro_banner_dismiss"}}).always(function(){l("#wp-mail-smtp-pro-banner",s.pageHolder).fadeOut("fast")})}),l(".js-wp-mail-smtp-mailer-notice-dismiss",s.pageHolder).on("click",function(t){t.preventDefault();var e=l(this),i=e.parents(".inline-notice");if(e.hasClass("disabled"))return!1;l.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")})})}),l("#wp-mail-smtp-debug .error-log-toggle").on("click",function(t){t.preventDefault(),l("#wp-mail-smtp-debug .error-log").slideToggle()}),l("#wp-mail-smtp-debug .error-log-copy").on("click",function(t){t.preventDefault();var e=l(this),i=l("#wp-mail-smtp-debug .error-log");i.is(":visible")||i.addClass("error-log-selection");t=a.createRange();t.selectNode(i[0]),o.getSelection().removeAllRanges(),o.getSelection().addRange(t),a.execCommand("Copy"),o.getSelection().removeAllRanges(),i.removeClass("error-log-selection"),e.addClass("error-log-copy-copied"),setTimeout(function(){e.removeClass("error-log-copy-copied")},1500)}),l(".js-wp-mail-smtp-provider-remove",s.pageHolder).on("click",function(){return confirm(wp_mail_smtp.text_provider_remove)}),l(".wp-mail-smtp-setting-copy",s.pageHolder).on("click",function(t){t.preventDefault(),l("#"+l(this).data("source_id")).get(0).select(),a.execCommand("Copy");var e=l(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)}),l("#wp-mail-smtp-notice-bar").on("click",".dismiss",function(){var t=l(this).closest("#wp-mail-smtp-notice-bar");t.addClass("out"),setTimeout(function(){t.remove()},300),l.post(ajaxurl,{action:"wp_mail_smtp_notice_bar_dismiss",nonce:wp_mail_smtp.nonce})}),s.triggerExitNotice(),s.beforeSaveChecks(),l(".js-wp-mail-smtp-setting-mailer-radio-input",s.pageHolder).on("change",this.processMailerSettingsOnChange),l(".wp-mail-smtp-tab-tools-test #email-test-form").on("submit",function(){var t=l(this).find(".wp-mail-smtp-btn");t.attr("disabled",!0),t.find("span").hide(),t.find(".wp-mail-smtp-loading").show()})},education:{upgradeMailer:function(e){l.alert({backgroundDismiss:!0,escapeKey:!0,animationBounce:1,type:"blue",closeIcon:!0,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:l(".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>"),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(){var t=/(\?)/.test(wp_mail_smtp.education.upgrade_url)?"&":"?",t=wp_mail_smtp.education.upgrade_url+t+"utm_content="+encodeURIComponent(e.val());o.open(t,"_blank")}}}})}},mailers:{smtp:{bindActions:function(){l("#wp-mail-smtp-setting-smtp-auth").on("change",function(){l("#wp-mail-smtp-setting-row-smtp-user, #wp-mail-smtp-setting-row-smtp-pass").toggleClass("inactive")}),l("#wp-mail-smtp-setting-row-smtp-encryption input").on("change",function(){var t=l(this),e=l("#wp-mail-smtp-setting-smtp-port",s.pageHolder);"tls"===t.val()?(e.val("587"),l("#wp-mail-smtp-setting-row-smtp-autotls").addClass("inactive")):("ssl"===t.val()?e.val("465"):e.val("25"),l("#wp-mail-smtp-setting-row-smtp-autotls").removeClass("inactive"))})}}},triggerExitNotice:function(){var t=l(".wp-mail-smtp-page-general");l(o).on("beforeunload",function(){if(s.pluginSettingsChanged)return wp_mail_smtp.text_settings_not_saved}),l(":input:not( #wp-mail-smtp-setting-license-key, .wp-mail-smtp-not-form-input )",t).on("change",function(){s.pluginSettingsChanged=!0}),l("form",t).on("submit",function(){s.pluginSettingsChanged=!1})},beforeSaveChecks:function(){l("form",s.pageHolder).on("submit",function(){if("mail"===l(".wp-mail-smtp-mailer input:checked",s.pageHolder).val()){var t=l(this);return l.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[l(this).val()];for(t in e)e.hasOwnProperty(t)&&l(".js-wp-mail-smtp-setting-"+t,s.pageHolder).toggle(e[t]);var i=l(".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=l(".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}},initFlyoutMenu:function(){var t,e,i,a,s,n=l("#wp-mail-smtp-flyout");0!==n.length&&(n.find(".wp-mail-smtp-flyout-head").on("click",function(t){t.preventDefault(),n.toggleClass("opened")}),0!==(t=l("#wpfooter")).length&&(e=l(".wp-mail-smtp-page-logs-archive, .wp-mail-smtp-tab-tools-action-scheduler, .wp-mail-smtp-page-reports, .wp-mail-smtp-tab-tools-debug-events"),i=t.offset().top,a=i+t.height(),s=0<e.length?e.offset().top+e.height()+85:0,l(o).on("resize scroll",_.debounce(function(){var t=l(o).scrollTop(),e=t+l(o).height();a<=e&&t<=i&&e<s?n.addClass("out"):n.removeClass("out")},50)),l(o).trigger("scroll")))}};return s}(document,window,jQuery),WPMailSMTP.Admin.Settings.init();