403Webshell
Server IP : 162.0.217.223  /  Your IP : 216.73.216.168
Web Server : LiteSpeed
System : Linux premium269.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : mypckeys ( 1539)
PHP Version : 8.1.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/mypckeys/backup/msckey.com/wp-content/plugins/easy-table-of-contents/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/mypckeys/backup/msckey.com/wp-content/plugins/easy-table-of-contents/assets/js/admin.min.js
function disableScrolling(){var e=window.scrollX,t=window.scrollY;window.onscroll=function(){window.scrollTo(e,t)}}function enableScrolling(){ezTocSettingsTabsFixed()}jQuery(document).ready(function(e){var t=e(".ez-toc-color-picker");t.length&&t.wpColorPicker();var s=document.getElementById("ez-toc-settings[width]"),n=document.getElementById("ez-toc-settings[width_custom]");n&&("custom"!=s.value&&(n.parentNode.parentNode.style.display="none"),s.addEventListener("change",function(){"custom"==document.getElementById("ez-toc-settings[width]").value?n.parentNode.parentNode.style.display="revert":n.parentNode.parentNode.style.display="none"})),e("#reset-options-to-default-button").click(function(){!0==confirm("Do you want reset settings to default options?")&&e.post(ajaxurl,{action:"eztoc_reset_options_to_default",eztoc_security_nonce:cn_toc_admin_data.eztoc_security_nonce},function(e){alert("Default Options Reset Now!"),window.location.reload()})}),e("#subscribe-newsletter-form").on("submit",function(t){t.preventDefault();var s=e("#subscribe-newsletter-form"),n=s.find('input[name="name"]').val(),i=s.find('input[name="email"]').val(),a=s.find('input[name="company"]').val();e.post(ajaxurl,{action:"eztoc_subscribe_newsletter",name:n,email:i,website:a,eztoc_security_nonce:cn_toc_admin_data.eztoc_security_nonce},function(e){if("security_nonce_not_verified"===e)return alert("Security nonce not verified"),!1})});let i=e("#eztoc-general").find("select[name='ez-toc-settings[position]']"),a=e("#eztoc-general").find("input[name='ez-toc-settings[custom_para_number]']"),o=e("#eztoc-general").find("input[name='ez-toc-settings[custom_img_number]']"),c=e("#eztoc-general").find("input[name='ez-toc-settings[blockqoute_checkbox]']");"aftercustompara"==e(i).val()?e(a).parents("tr").show():e(a).parents("tr").hide(),"afterpara"==e(i).val()||"aftercustompara"==e(i).val()?e(c).parents("tr").show():e(c).parents("tr").hide(),"aftercustomimg"==e(i).val()?e(o).parents("tr").show():e(o).parents("tr").hide(),e(document).on("change","select[name='ez-toc-settings[position]']",function(){"aftercustompara"==e(this).val()?e(a).parents("tr").show(500):e(a).parents("tr").hide(500),"afterpara"==e(this).val()||"aftercustompara"==e(this).val()?e(c).parents("tr").show(500):e(c).parents("tr").hide(500),"aftercustomimg"==e(this).val()?e(o).parents("tr").show(500):e(o).parents("tr").hide(500)});let r=e("#eztoc-general").find("select[name='ez-toc-settings[toc_loading]']"),l=e("#eztoc-general").find("input[name='ez-toc-settings[smooth_scroll]']"),p=e("#eztoc-general").find("input[name='ez-toc-settings[avoid_anch_jump]']"),d=e("#eztoc-advanced").find("select[name='ez-toc-settings[load_js_in]']");"js"==e(r).val()?(e(l).parents("tr").show(),e(p).parents("tr").show(),e(d).parents("tr").show()):(e(l).parents("tr").hide(),e(p).parents("tr").hide(),e(d).parents("tr").hide()),e(document).on("change","select[name='ez-toc-settings[toc_loading]']",function(){"js"==e(this).val()?(e(l).parents("tr").show(500),e(p).parents("tr").show(500),e(d).parents("tr").show(500)):(e(l).parents("tr").hide(500),e(p).parents("tr").hide(500),e(d).parents("tr").hide(500))});let u=e("#eztoc-sticky").find("input[name='ez-toc-settings[sticky_highlight_heading]']"),m=e("#eztoc-sticky").find("input[name='ez-toc-settings[sticky_highlight_bg_colour]']"),v=e("#eztoc-sticky").find("input[name='ez-toc-settings[sticky_highlight_title_colour]']");!0==e(u).prop("checked")?(e(m).parents("tr").show(),e(v).parents("tr").show()):(e(m).parents("tr").hide(),e(v).parents("tr").hide()),e(document).on("change","input[name='ez-toc-settings[sticky_highlight_heading]']",function(){!0==e(this).prop("checked")?(e(m).parents("tr").show(500),e(v).parents("tr").show(500)):(e(m).parents("tr").hide(500),e(v).parents("tr").hide(500))});let g=jQuery("#ez-toc").find("select[name='ez-toc-settings[position-specific]']"),h=jQuery("#ez-toc").find("input[name='ez-toc-settings[s_custom_para_number]']"),f=jQuery("#ez-toc").find("input[name='ez-toc-settings[s_custom_img_number]']"),$=jQuery("#ez-toc").find("input[name='ez-toc-settings[s_blockqoute_checkbox]']");if("aftercustompara"==jQuery(g).val()?jQuery(h).parents("tr").show():jQuery(h).parents("tr").hide(),"afterpara"==jQuery(g).val()||"aftercustompara"==jQuery(g).val()?jQuery($).parents("tr").show():jQuery($).parents("tr").hide(),"aftercustomimg"==jQuery(g).val()?jQuery(f).parents("tr").show():jQuery(f).parents("tr").hide(),jQuery("#ez-toc").on("change","select[name='ez-toc-settings[position-specific]']",function(){"aftercustompara"==jQuery(this).val()?jQuery(h).parents("tr").show(500):jQuery(h).parents("tr").hide(500),"afterpara"==jQuery(this).val()||"aftercustompara"==jQuery(this).val()?jQuery($).parents("tr").show(500):jQuery($).parents("tr").hide(500),"aftercustomimg"==jQuery(this).val()?jQuery(f).parents("tr").show(500):jQuery(f).parents("tr").hide(500)}),cn_toc_admin_data.do_tour){var z,b="<h3>"+cn_toc_admin_data.translable_txt.using_eztoc+"</h3>";b+="<p>"+cn_toc_admin_data.translable_txt.do_you_want+" <b>"+cn_toc_admin_data.translable_txt.sd_update+"</b> "+cn_toc_admin_data.translable_txt.before_others+"</p>",b+='<style type="text/css">',b+=".wp-pointer-buttons{ padding:0; overflow: hidden; }",b+=".wp-pointer-content .button-secondary{  left: -25px;background: transparent;top: 5px; border: 0;position: relative; padding: 0; box-shadow: none;margin: 0;color: #0085ba;} .wp-pointer-content .button-primary{ display:none}  #eztoc_mc_embed_signup{background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif; }",b+="</style>",b+='<div id="eztoc_mc_embed_signup">',b+='<form method="POST" accept-charset="utf-8" id="eztoc-news-letter-form">',b+='<div id="eztoc_mc_embed_signup_scroll">',b+='<div class="eztoc-mc-field-group" style="    margin-left: 15px;    width: 195px;    float: left;">',b+='<input type="text" name="eztoc_subscriber_name" class="form-control" placeholder="Name" hidden value="'+cn_toc_admin_data.current_user_name+'" style="display:none">',b+='<input type="text" value="'+cn_toc_admin_data.current_user_email+'" name="eztoc_subscriber_email" class="form-control" placeholder="Email*"  style="      width: 180px;    padding: 6px 5px;">',b+='<input type="text" name="eztoc_subscriber_website" class="form-control" placeholder="Website" hidden style=" display:none; width: 168px; padding: 6px 5px;" value="'+cn_toc_admin_data.get_home_url+'">',b+='<input type="hidden" name="ml-submit" value="1" />',b+="</div>",b+='<div id="mce-responses">',b+="</div>",b+='<div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_a631df13442f19caede5a5baf_c9a71edce6" tabindex="-1" value=""></div>',b+='<input type="submit" value="Subscribe" name="subscribe" id="pointer-close" class="button mc-newsletter-sent" style=" background: #0085ba; border-color: #006799; padding: 0px 16px; text-shadow: 0 -1px 1px #006799,1px 0 1px #006799,0 1px 1px #006799,-1px 0 1px #006799; height: 30px; margin-top: 1px; color: #fff; box-shadow: 0 1px 0 #006799;">',b+='<p id="eztoc-news-letter-status"></p>',b+="</div>",b+="</form>",b+="</div>",jQuery(document).on("submit","#eztoc-news-letter-form",function(e){e.preventDefault();var t=jQuery(this),s=t.find('input[name="eztoc_subscriber_name"]').val(),n=t.find('input[name="eztoc_subscriber_email"]').val();website=t.find('input[name="eztoc_subscriber_website"]').val(),jQuery.post(cn_toc_admin_data.ajax_url,{action:"eztoc_subscribe_newsletter",eztoc_security_nonce:cn_toc_admin_data.eztoc_security_nonce,name:s,email:n,website:website},function(e){e?"Some fields are missing."==e.response?(jQuery("#eztoc-news-letter-status").text(""),jQuery("#eztoc-news-letter-status").css("color","red")):"Invalid email address."==e.response?(jQuery("#eztoc-news-letter-status").text(""),jQuery("#eztoc-news-letter-status").css("color","red")):"Invalid list ID."==e.response?(jQuery("#eztoc-news-letter-status").text(""),jQuery("#eztoc-news-letter-status").css("color","red")):"Already subscribed."==e.response?(jQuery("#eztoc-news-letter-status").text(""),jQuery("#eztoc-news-letter-status").css("color","red")):(jQuery("#eztoc-news-letter-status").text("You're subscribed!"),jQuery("#eztoc-news-letter-status").css("color","green")):alert("Sorry, unable to subscribe. Please try again later!")},"json")});var y={content:b,position:{edge:"top",align:"left"}};y=e.extend(y,{buttons:function(t,s){return button=e('<a id="pointer-close" class="button-secondary">'+cn_toc_admin_data.button1+"</a>"),button_2=e("#pointer-close.button"),button.bind("click.pointer",function(){s.element.pointer("close")}),button_2.on("click",function(){setTimeout(function(){s.element.pointer("close")},3e3)}),button},close:function(){e.post(cn_toc_admin_data.ajax_url,{pointer:"eztoc_subscribe_pointer",action:"dismiss-wp-pointer"})},show:function(e,t){t.pointer.css({left:"170px",top:"160px"})}}),z=function(){e(cn_toc_admin_data.displayID).pointer(y).pointer("open"),cn_toc_admin_data.button2&&(e("#pointer-close").after('<a id="pointer-primary" class="button-primary">'+cn_toc_admin_data.button2+"</a>"),e("#pointer-primary").click(function(){cn_toc_admin_data.function_name}),e("#pointer-close").click(function(){e.post(cn_toc_admin_data.ajax_url,{pointer:"eztoc_subscribe_pointer",action:"dismiss-wp-pointer"})}))},y.position&&y.position.defer_loading?e(window).bind("load.wp-pointers",z):z()}});const unsecuredCopyToClipboard=e=>{let t=document.createElement("textarea");t.value=e,document.body.appendChild(t),t.focus(),t.select();try{document.execCommand("copy")}catch(s){console.error("Unable to copy to clipboard",s)}document.body.removeChild(t)};function ez_toc_clipboard(e,t,s,n){n.preventDefault(),disableScrolling();var i=s.parentNode.parentNode.querySelectorAll("#"+e)[0];i.select(),i.setSelectionRange(0,99999),navigator.clipboard.writeText(i.value),s.querySelectorAll("span."+t)[0].innerHTML="Copied: "+i.value}function ez_toc_outFunc(e,t,s){s.preventDefault(),t.querySelectorAll("span."+e)[0].innerHTML="Copy to clipboard",enableScrolling()}function ezTocSettingsTabsFixed(){var e=document.querySelector("#general #eztoc-tabs"),t=document.querySelector("#general form");null!==e?window.onscroll=function(){var s=window.scrollY,n=document.getElementsByClassName("ez-toc-pro-settings-link-paid"),i=document.getElementsByClassName("general-pro-settings-container"),a=document.querySelector("#general #eztoc-tabs #eztoc-link-general"),o=document.querySelector("#general #eztoc-tabs #eztoc-link-appearance"),c=document.querySelector("#general #eztoc-tabs #eztoc-link-advanced"),r=document.querySelector("#general #eztoc-tabs #eztoc-link-shortcode"),l=document.querySelector("#general #eztoc-tabs #eztoc-link-sticky"),p=document.querySelector("#general #eztoc-tabs #eztoc-link-compatibility"),d=document.querySelector("#general #eztoc-tabs #eztoc-link-iesettings"),u=document.querySelector("#general #eztoc-tabs #eztoc-link-prosettings"),m=document.querySelector("#general div#eztoc-general").offsetTop-100,v=document.querySelector("#general div#eztoc-appearance").offsetTop-100,g=document.querySelector("#general div#eztoc-advanced").offsetTop-100,h=document.querySelector("#general div#eztoc-shortcode").offsetTop-100,f=document.querySelector("#general div#eztoc-compatibility").offsetTop-100,$=document.querySelector("#general div#eztoc-iesettings").offsetTop-100,z=document.querySelector("#eztoc-sticky").offsetTop-100;if(null!==n&&n.length>0)var b=document.querySelector("#general div#eztoc-prosettings").offsetTop-100-150;else f-=150,$-=150;a.classList.add("active"),o.classList.remove("active"),c.classList.remove("active"),r.classList.remove("active"),p.classList.remove("active"),d.classList.remove("active"),l.classList.remove("active"),i.length>0&&null!==u&&u.classList.remove("active"),s>=100?(e.classList.remove("stay"),e.classList.add("moving"),t.classList.add("moving"),null!==n&&n.length>0&&0==i.length&&(e.innerHTML+='<span class="general-pro-settings-container"> | <a href="#eztoc-prosettings" id="eztoc-link-prosettings">Pro Settings</a></span>')):(e.classList.remove("moving"),e.classList.add("stay"),t.classList.remove("moving"),null!==n&&n.length>0&&i.length>0&&document.querySelector(".general-pro-settings-container").remove()),s>=m&&(a.classList.add("active"),o.classList.remove("active"),c.classList.remove("active"),r.classList.remove("active"),p.classList.remove("active"),d.classList.remove("active"),l.classList.remove("active"),null!==n&&n.length>0&&i.length>0&&null!==u&&u.classList.remove("active")),s>=v&&(a.classList.remove("active"),o.classList.add("active"),c.classList.remove("active"),r.classList.remove("active"),p.classList.remove("active"),d.classList.remove("active"),l.classList.remove("active"),null!==n&&n.length>0&&i.length>0&&null!==u&&u.classList.remove("active")),s>=g&&(a.classList.remove("active"),o.classList.remove("active"),c.classList.add("active"),r.classList.remove("active"),p.classList.remove("active"),d.classList.remove("active"),l.classList.remove("active"),null!==n&&n.length>0&&i.length>0&&null!==u&&u.classList.remove("active")),s>=h&&(a.classList.remove("active"),o.classList.remove("active"),c.classList.remove("active"),r.classList.add("active"),p.classList.remove("active"),d.classList.remove("active"),l.classList.remove("active"),null!==n&&n.length>0&&i.length>0&&null!==u&&u.classList.remove("active")),s>=z&&(a.classList.remove("active"),o.classList.remove("active"),c.classList.remove("active"),r.classList.remove("active"),p.classList.remove("active"),d.classList.remove("active"),l.classList.add("active"),null!==n&&n.length>0&&i.length>0&&null!==u&&u.classList.remove("active")),s>=f&&(a.classList.remove("active"),o.classList.remove("active"),c.classList.remove("active"),r.classList.remove("active"),p.classList.add("active"),d.classList.remove("active"),l.classList.remove("active"),null!==n&&n.length>0&&i.length>0&&null!==u&&u.classList.remove("active")),s>=$&&(a.classList.remove("active"),o.classList.remove("active"),c.classList.remove("active"),r.classList.remove("active"),p.classList.remove("active"),d.classList.add("active"),l.classList.remove("active"),null!==n&&n.length>0&&i.length>0&&null!==u&&u.classList.remove("active")),i.length>0&&s>=b&&(a.classList.remove("active"),o.classList.remove("active"),c.classList.remove("active"),r.classList.remove("active"),p.classList.remove("active"),d.classList.remove("active"),l.classList.remove("active"),null!==n&&n.length>0&&i.length>0&&null!==u&&u.classList.add("active"))}:window.onscroll=function(){}}function no_heading_text(e){!0==jQuery("input[name='ez-toc-settings[no_heading_text]']").prop("checked")?jQuery("input[name='ez-toc-settings[no_heading_text_value]']").parents("tr").show(200):jQuery("input[name='ez-toc-settings[no_heading_text_value]']").parents("tr").hide(200)}function eztoc_truncate_headings(e){let t=jQuery("select[name='ez-toc-settings[truncate_headings]']").val();"words"==t?(jQuery("input[name='ez-toc-settings[truncate_headings_special]']").parents("tr").hide(200),jQuery("input[name='ez-toc-settings[truncate_headings_words]']").parents("tr").show(200)):"special"==t?(jQuery("input[name='ez-toc-settings[truncate_headings_words]']").parents("tr").hide(200),jQuery("input[name='ez-toc-settings[truncate_headings_special]']").parents("tr").show(200)):(jQuery("input[name='ez-toc-settings[truncate_headings_words]']").parents("tr").hide(200),jQuery("input[name='ez-toc-settings[truncate_headings_special]']").parents("tr").hide(200))}ezTocSettingsTabsFixed(),jQuery(document).on("change","input[name='ez-toc-settings[no_heading_text]']",function(){no_heading_text()}),no_heading_text(),jQuery(function(e){if(0==cn_toc_admin_data.is_amp_activated){let t=e('input[name="ez-toc-settings[toc-run-on-amp-pages]"]');t.length>0&&t.attr("disabled",!0)}}),jQuery(function(e){let t=e("#eztoc-appearance"),s=t.find("input[name='ez-toc-settings[headings-padding]']"),n=["top","bottom","left","right"];n.forEach(e=>{var n;let i=t.find(`input[name='ez-toc-settings[headings-padding-${e}]']`),a=i.parent();i.attr("type","number"),i.parents("tr").remove(),s.parent().append(`&nbsp;&nbsp;&nbsp;<span id='headings-padding-${e}-container'><label for='ez-toc-settings[headings-padding-${e}]'><strong>${(n=e,n.charAt(0).toUpperCase()+n.slice(1))}</strong></label>&nbsp;&nbsp;&nbsp;${a.html()}</span>`),t.find(`select[name='ez-toc-settings[headings-padding-${e}_units]']`).html('<option value="px" selected="selected">px</option>')});let i={};function a(){n.forEach(e=>{i[e].hide(500),t.find(`input[name='ez-toc-settings[headings-padding-${e}]']`).val(0)})}n.forEach(e=>{i[e]=t.find(`span#headings-padding-${e}-container`)}),s.prop("checked")||a(),e(document).on("change click","input[name='ez-toc-settings[headings-padding]']",function(){s.prop("checked")?n.forEach(e=>{i[e].show(500)}):a()})}),jQuery(function(e){let t=e("#eztoc-general"),s=t.find("input[name='ez-toc-settings[show_heading_text]']"),n=t.find("input[name='ez-toc-settings[visibility_on_header_text]']"),i=t.find("input[name='ez-toc-settings[heading_text]']");function a(){s.prop("checked")?(n.parents("tr").show(500),i.parents("tr").show(500)):(n.parents("tr").hide(500),i.parents("tr").hide(500))}a(),e(document).on("change click","input[name='ez-toc-settings[show_heading_text]']",a)}),jQuery(function(e){let t=e("#eztoc-general"),s=t.find("input[name='ez-toc-settings[visibility]']"),n=t.find("input[name='ez-toc-settings[visibility_hide_by_default]']");function i(){s.prop("checked")?n.parents("tr").show(500):n.parents("tr").hide(500)}i(),e(document).on("change click","input[name='ez-toc-settings[visibility]']",i)}),jQuery("#eztoc_migrate_toc").on("click",function(e){if(e.preventDefault(),!confirm("Migration will overwrite the current Easy TOC settings."))return;jQuery("#eztoc-importer-loader").show();let t=new FormData;t.append("action","eztoc_migrate_tocplus"),t.append("nonce",eztoc_admin_data.eztoc_security_nonce),jQuery.ajax({url:eztoc_admin_data.ajax_url,method:"POST",data:t,processData:!1,contentType:!1,success:function(e){jQuery("#eztoc-importer-loader").hide(),e.success?(alert(e.data),window.location.reload()):alert(e.data)},error:function(){jQuery("#eztoc-importer-loader").hide(),alert("An error occurred while importing the settings.")}})}),jQuery(document).on("change","select[name='ez-toc-settings[truncate_headings]']",function(){eztoc_truncate_headings()}),eztoc_truncate_headings();

Youez - 2016 - github.com/yon3zu
LinuXploit