| Server IP : 80.74.154.100 / Your IP : 216.73.217.0 Web Server : Apache System : Linux marissa.metanet.ch 4.18.0-553.141.2.lve.el7h.x86_64 #1 SMP Wed Jul 8 17:20:31 UTC 2026 x86_64 User : onlineadmin ( 10487) PHP Version : 8.5.7 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/httpd/vhosts/comeonline.ch/httpdocs/wp-content/plugins/wpsso/js/com/ |
Upload File : |
function sucomEditorUnchanged(e,o){if(void 0!==wp.data){var a=window[o];if(a._ajax_actions.metabox_postboxes)for(var t in a._ajax_actions.metabox_postboxes)sucomDisableUnchanged("#"+t);else console.error(arguments.callee.name+": missing _ajax_actions metabox_postboxes")}}function sucomEditorPostbox(e,o,a){if(void 0!==wp.data){void 0===a&&(a=wp.data.select("core/editor").getCurrentPostId);var t=window[o];if(t._ajax_nonce)if(t._ajax_actions.metabox_postboxes)for(var n in t._ajax_actions.metabox_postboxes){var s={action:sucomSanitizeHookname(t._ajax_actions.metabox_postboxes[n]),post_id:a,_ajax_nonce:t._ajax_nonce};jQuery.post(ajaxurl,s,function(e){e&&jQuery("#"+n+".postbox div.inside").replaceWith('<div class="inside">'+e+"</div>")})}else console.error(arguments.callee.name+": missing _ajax_actions metabox_postboxes");else console.error(arguments.callee.name+": missing _ajax_nonce")}}function sucomBlockEditorNotices(e,o){var i,c,a;void 0!==wp.data&&(i=wp.data.dispatch("core/notices").createNotice,c=wp.data.dispatch("core/notices").removeNotice,(a=window[o])._ajax_nonce?a._ajax_actions.get_notices_json?(a={action:a._ajax_actions.get_notices_json,context:"block_editor",_ajax_nonce:a._ajax_nonce,_exclude_types:a._toolbar_notice_types},jQuery.getJSON(ajaxurl,a,function(r){jQuery.each(r,function(s){jQuery.each(r[s],function(e){var o=!1,a=r[s][e].msg_spoken,t=!!r[s][e].dismiss_time,n=!!r[s][e].hidden;"err"==s?o="error":"warn"==s?o="warning":"inf"==s?(o="info",t=!0):"upd"==s&&(o="success",t=!0),o&&!n&&(n={id:e,spokenMessage:a,isDismissible:t},c(e),i(o,a,n))})}),sucomToolbarNotices(e,o)})):console.error(arguments.callee.name+": missing _ajax_actions get_notices_json"):console.error(arguments.callee.name+": missing _ajax_nonce"))}function sucomToolbarNotices(e,o){var _,u,m,a,d=window[o];d._ajax_nonce?d._ajax_actions.get_notices_json?d._toolbar_notice_types&&(_="#wp-admin-bar-"+e+"-toolbar-notices-container",u="#"+e+"-toolbar-notices-count",m=jQuery("#wp-admin-bar-"+e+"-toolbar-notices"),a={action:d._ajax_actions.get_notices_json,context:"toolbar_notices",_ajax_nonce:d._ajax_nonce,_notice_types:d._toolbar_notice_types},jQuery(m).show(),jQuery.getJSON(ajaxurl,a,function(a){var t="",n="",e=d._notice_text_id,o="",s=0,r={},i=d._toolbar_notice_timeout,c=d._no_notices_html,l=d._copy_notices_html;d._count_msgs_transl;jQuery.each(a,function(o){jQuery.each(a[o],function(e){a[o][e].hidden||(t+=a[o][e].msg_html,r[o]=++r[o]||1,s++),n=(n=(n=n+"\n["+o+"] ")+a[o][e].notice_label+": ")+sucomStripHtml(a[o][e].msg_text)+"\n"})}),jQuery("body.wp-admin").removeClass("has-toolbar-notices"),m.removeClass("has-toolbar-notices"),m.removeClass("toolbar-notices-error"),m.removeClass("toolbar-notices-warning"),m.removeClass("toolbar-notices-info"),m.removeClass("toolbar-notices-success"),t?(t='<div style="display:none;" id="'+e+'">'+n+"</div>"+l+t,jQuery(_).html(t),jQuery("body.wp-admin").addClass("has-toolbar-notices"),m.addClass("has-toolbar-notices")):jQuery(_).html(c),jQuery(u).html(s),s&&(o="",e=-1,r.err?(o="error",e=i.err):r.warn?(o="warning",e=i.warn):r.inf?(o="info",e=i.inf):r.upd&&(o="success",e=i.upd),m.addClass("toolbar-notices-"+o),e<0||(0<e?(m.addClass("show-timeout"),jQuery(document).on("click",function(e){m.is(e.target)||m.has(e.target).length||(m.removeClass("show-timeout"),jQuery(document).off("click",arguments.callee))}),setTimeout(function(){m.removeClass("show-timeout")},e)):(m.addClass("hover"),jQuery(document).on("click",function(e){m.is(e.target)||m.has(e.target).length||(m.removeClass("hover"),jQuery(document).off("click",arguments.callee))}))))})):console.error(arguments.callee.name+": missing _ajax_actions get_notices_json"):console.error(arguments.callee.name+": missing _ajax_nonce")}function sucomToolbarValidators(e,o,a){void 0===a&&(a=wp.data.select("core/editor").getCurrentPostId);var t,n=window[o];n._ajax_nonce?n._ajax_actions.get_validate_submenu?(t="#wp-admin-bar-"+e+"-validate ul.ab-submenu",n={action:n._ajax_actions.get_validate_submenu,post_id:a,_ajax_nonce:n._ajax_nonce},jQuery.post(ajaxurl,n,function(e){e&&jQuery(t).replaceWith(e)})):console.error(arguments.callee.name+": missing _ajax_actions get_validate_submenu"):console.error(arguments.callee.name+": missing _ajax_nonce")}function sucomDeleteMeta(e,o,a,t){var n,s=window[t],r="delete_"+e+"_meta";s._ajax_nonce?s._ajax_actions[r]?(n={action:s._ajax_actions[r],obj_id:o,meta_key:a,_ajax_nonce:s._ajax_nonce},jQuery.post(ajaxurl,n,function(e){(e=e.trim())?jQuery("#"+e).hide():s._del_failed_transl&&(e=s._del_failed_transl.formatUnicorn(o,a),alert(e))})):console.error(arguments.callee.name+": missing _ajax_actions "+r):console.error(arguments.callee.name+": missing _ajax_nonce")}function sucomCopyById(e,o){var a=window[o];if(a._copy_clipboard_transl){try{var t=a._copy_clipboard_transl,n=document.getElementById(e),s=n.value,r=(void 0===s&&(s=n.textContent),document.createElement("textarea"));r.id="copy_target_"+e,r.style.position="absolute",r.style.top="0",r.style.left="-9999px",document.body.appendChild(r),r.textContent=s,r.focus(),r.setSelectionRange(0,r.value.length),document.execCommand("copy"),r.textContent="",alert(t)}catch(e){alert(e)}return!1}console.error(arguments.callee.name+": missing _copy_clipboard_transl")}function sucomStripHtml(e){return e=(e=(e=e.replace(/<(p|pre|ul|li|br\/?)( [^<>]*>|>)/gi," ")).replace(/<[^<>]*>/gi,"")).replace(/\s\s+/gi," ")}function sucomEscAttr(e){var o={"&":"&","<":"<",">":">",'"':""","'":"'"};return String(e).replace(/[&<>"']/g,function(e){return o[e]})}function sucomSanitizeCssId(e){return e=(e=e.replace(/[^a-zA-Z0-9\-_]+/g,"-")).replace(/^-+|-+$/g,"")}function sucomSanitizeHookname(e){return sucomSanitizeKey(e=(e=e.replace(/[#:\/\-\. \[\]]+/g,"_")).replace(/_+$/,""))}function sucomSanitizeKey(e,o){return e=(e=(o=void 0===o?!1:o)?e:e.toLowerCase()).replace(/[^a-z0-9\-_:]/g,"")}function sucomTextLen(e,o){var o=window[o],a=(void 0===o&&(o={_min_len_transl:"{0} of {1} characters minimum",_req_len_transl:"{0} of {1} characters recommended",_max_len_transl:"{0} of {1} characters maximum",_len_transl:"{0} characters"}),jQuery("#"+e)),t=sucomTextLenClean(a.val()).length,n=Number(a.attr("maxLength")),s=Number(a.attr("warnLength")),r=Number(a.attr("minLength")),t=t||sucomTextLenClean(a.attr("placeholder")).length,n=n||0,s=s||(n?.9*n:0),a=n=(r=r||0)&&n&&n<r?r:n,o=(msg_transl=r?n?(r<n&&(a=String(r)+"-"+String(n)),o._req_len_transl):(a=r,o._min_len_transl):n?o._max_len_transl:o._len_transl,css_class=n&&n-5<=t?"maximum":s&&s<=t?"long":r&&t<r?"short":"good","");n&&(s=Math.round(100*t/n),o=(o+='<div class="text-len-progress-bar">')+'<div class="text-len-progress '+css_class+'" style="width:'+s+'%;"></div></div>'),o=(o+='<div class="text-len-status '+css_class+'">')+msg_transl.formatUnicorn(t,a)+"</div>",jQuery("#"+e+"-text-len-wrapper").html(o)}function sucomTextLenReset(e){jQuery("#"+e+"-text-len-wrapper").html("")}function sucomTextLenClean(e){if(void 0===e||!e.length)return"";try{e=(e=e.replace(/<\/?[^>]+>/g,"")).replace(/\[(.+?)\](.+?\[\/\\1\])?/,"")}catch(e){}return e.trim()}String.prototype.formatUnicorn=function(){"use strict";var e=this.toString();if(arguments.length){var o,a=typeof arguments[0],t="string"==a||"number"==a?Array.prototype.slice.call(arguments):arguments[0];for(o in t)e=e.replace(new RegExp("\\{"+o+"\\}","gi"),t[o])}return e};