| Server IP : 38.190.208.107 / Your IP : 216.73.217.46 Web Server : nginx/1.28.1 System : Linux ht2026040333114 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.37-1 (2023-07-03) x86_64 User : root ( 0) PHP Version : 8.2.28 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv,eval,assert,passthru,system,exec,shell_exec,popen,proc_open MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /www/wwwroot/wp.3/wp-content/plugins/js_composer/modules/design-options/assets/dist/ |
Upload File : |
jQuery(document).ready(function(i){var e=i("#wpb_js_use_custom").prop("checked"),n=[];function r(e,n,o,s){s&&i(".vc_atm-message").remove();var t=i('<div class="vc_atm-message '+(n||"")+'" style="display: none;"><p></p></div>');return t.find("p").text(e),_.isUndefined(o)||window.setTimeout(function(){t.fadeOut(500,function(){i(this).remove()})},o),t}vc.initColorPicker(null,{disabled:!e},null,n),i("#vc_settings-color-restore-default").on("click",function(e){e.preventDefault(),confirm(window.i18nLocaleSettings.are_you_sure_reset_color)&&(i("#vc_settings-color-action").val("restore_color"),i("#vc_settings-color").attr("action",window.location.href).find("[type=submit]").click())}),i("#wpb_js_use_custom").on("change",function(){this.checked?(i("#vc_settings-color").addClass("color_enabled"),n.forEach(function(e){e.enable()})):(i("#vc_settings-color").removeClass("color_enabled"),n.forEach(function(e){e.disable()}))});var a=!1;i("#vc_settings-color").on("submit",function(e){var n,o,s,t;e.preventDefault(),a||(t=i("#submit_btn"),i("#wpb_js_use_custom").prop("checked")&&"restore_color"!==i("#vc_settings-color-action").val()?(a=!0,n=i(this).serializeArray(),o=t.data("vc-less-variables"),s=i('<span class="vc_settings-spinner vc_ui-wp-spinner"></span>'),t.val(window.i18nLocaleSettings.saving),s.insertBefore(t).show(),_.delay(function(){vc.less.build({modifyVars:n,variablesDataLinker:o,lessPath:t.data("vc-less-path"),rootpath:t.data("vc-less-root")},function(e,n){_.isUndefined(e)||_.isUndefined(e.css)?_.isUndefined(n)||(window.console&&window.console.warn&&window.console.warn("build error",n),r(window.i18nLocaleSettings.save_error+". "+n,"error",void 0,!0).insertBefore(t.parent()).fadeIn(500),t.val(window.i18nLocaleSettings.save),a=!1,s.remove()):(i('[name="wpb_js_compiled_js_composer_less"]').val(e.css),n=i("#vc_settings-color"),i.ajax({type:"POST",url:n.attr("action"),data:n.eq(0).serializeArray(),success:function(){r(window.i18nLocaleSettings.saved,"updated",5e3,!0).insertBefore(t.parent()).fadeIn(500),t.val(window.i18nLocaleSettings.save),a=!1,s.remove()},error:function(){r(window.i18nLocaleSettings.form_save_error,"error",void 0,!0).insertBefore(t.parent()).fadeIn(500),t.val(window.i18nLocaleSettings.save),a=!1,s.remove()}}))})},100)):this.submit())})});