HEX
Server: LiteSpeed
System: Linux cpir1.prohostdns.com 4.18.0-553.123.2.lve.el8.x86_64 #1 SMP Thu May 7 23:17:13 UTC 2026 x86_64
User: pelakir (2976)
PHP: 8.2.31
Disabled: exec, shell_exec, system, passthru, proc_open, proc_close, proc_terminate, proc_get_status, popen, pclose, pcntl_exec
Upload Files
File: /home/pelakir/www/wp-content/plugins/digits/assets/js/jquery.nice-select.min.js
/*  jQuery Nice Select - v1.1.0
    https://github.com/hernansartorio/jquery-nice-select
    Made by HernĂ¡n Sartorio  */
!function(l){l.fn.niceSelect=function(e){if("string"==typeof e)return"update"==e?this.each(function(){var e=l(this),t=l(this).next(".nice-select"),s=t.hasClass("open");t.length&&(t.remove(),n(e),s&&e.next().trigger("click"))}):"destroy"==e?(this.each(function(){var e=l(this),t=l(this).next(".nice-select");t.length&&(t.remove(),e.css("display",""))}),0==l(".nice-select").length&&l(document).off(".nice_select")):console.log('Method "'+e+'" does not exist.'),this;function n(e){e.after(l("<div></div>").addClass("nice-select").addClass(e.attr("class")||"").addClass(e.attr("disabled")?"disabled":"").attr("tabindex",e.attr("disabled")?null:"0").html('<span class="current"></span><ul class="list"></ul>'));var n=e.next(),t=e.find("option"),s=e.find("option:selected");n.find(".current").html(s.data("display")||s.text()),t.each(function(e){var t=l(this),s=t.data("display");n.find("ul").append(l("<li></li>").attr("data-value",t.val()).attr("data-display",s||null).addClass("option"+(t.is(":selected")?" selected":"")+(t.is(":disabled")?" disabled":"")).html(t.text()))})}this.hide(),this.each(function(){var e=l(this);e.next().hasClass("nice-select")||n(e)}),l(document).off(".nice_select"),l(document).on("click.nice_select",".nice-select",function(e){var t=l(this);l(".nice-select").not(t).removeClass("open"),t.toggleClass("open"),t.hasClass("open")?(t.find(".option"),t.find(".focus").removeClass("focus"),t.find(".selected").addClass("focus")):t.focus()}),l(document).on("click.nice_select",function(e){0===l(e.target).closest(".nice-select").length&&l(".nice-select").removeClass("open").find(".option")}),l(document).on("click.nice_select",".nice-select .option:not(.disabled)",function(e){var t=l(this),s=t.closest(".nice-select");s.find(".selected").removeClass("selected"),t.addClass("selected");var n=t.data("display")||t.text();s.find(".current").text(n),s.prev("select").val(t.data("value")).trigger("change")}),l(document).on("keydown.nice_select",".nice-select",function(e){var t=l(this),s=l(t.find(".focus")||t.find(".list .option.selected"));if(32==e.keyCode||13==e.keyCode)return t.hasClass("open")?s.trigger("click"):t.trigger("click"),!1;if(40==e.keyCode){if(t.hasClass("open")){var n=s.nextAll(".option:not(.disabled)").first();0<n.length&&(t.find(".focus").removeClass("focus"),n.addClass("focus"))}else t.trigger("click");return!1}if(38==e.keyCode){if(t.hasClass("open")){var i=s.prevAll(".option:not(.disabled)").first();0<i.length&&(t.find(".focus").removeClass("focus"),i.addClass("focus"))}else t.trigger("click");return!1}if(27==e.keyCode)t.hasClass("open")&&t.trigger("click");else if(9==e.keyCode&&t.hasClass("open"))return!1});var t=document.createElement("a").style;return t.cssText="pointer-events:auto","auto"!==t.pointerEvents&&l("html").addClass("no-csspointerevents"),this}}(jQuery);