HEX
Server: nginx/1.28.1
System: Linux 10-41-63-61 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64
User: www (1001)
PHP: 7.4.33
Disabled: 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
Upload Files
File: /www/wwwroot/www.xxlht.com/sh/030/js/module_-2712622_site_search_input.min.js
var module_2712622=(function(){var c={sv:{name:{message:"Inmatning av sökning på webbplatsen",description:null,placeholders:null}},el:{name:{message:"Είσοδος αναζήτησης ιστότοπου",description:null,placeholders:null}},en:{name:{message:"Site Search Input",description:null,placeholders:null}},pt:{name:{message:"Entrada de pesquisa no site",description:null,placeholders:null}},cs:{name:{message:"Výraz hledaný na stránce",description:null,placeholders:null}},fi:{name:{message:"Sivun haun tulos",description:null,placeholders:null}},pl:{name:{message:"Wyszukiwanie na stronie",description:null,placeholders:null}},fr:{name:{message:"Entrée de recherche sur le site",description:null,placeholders:null}},da:{name:{message:"Indtastning af webstedssøgning",description:null,placeholders:null}},"zh-cn":{name:{message:"网站搜索输入",description:null,placeholders:null}},no:{name:{message:"Inndata sidesøk",description:null,placeholders:null}},it:{name:{message:"Input di ricerca del sito",description:null,placeholders:null}},es:{name:{message:"Entrada de búsqueda del sitio",description:null,placeholders:null}},"es-mx":{name:{message:"Entrada de búsqueda del sitio",description:null,placeholders:null}},ko:{name:{message:"사이트 검색 입력",description:null,placeholders:null}},nl:{name:{message:"Invoer doorzoeken site",description:null,placeholders:null}},de:{name:{message:"Website-Sucheingabe",description:null,placeholders:null}},"zh-hk":{name:{message:"網站搜尋輸入",description:null,placeholders:null}},ja:{name:{message:"サイト検索入力",description:null,placeholders:null}}};i18n_getmessage=function(){return hs_i18n_getMessage(c,hsVars.language,arguments)};i18n_getlanguage=function(){return hsVars.language};var a=function(p){var i=3;var f="",e=p,q=p.querySelector(".hs-search-field__input"),d=p.querySelector(".hs-search-field__suggestions"),k=function(){var s=[];var t=p.querySelector("form");for(var r=0;r<t.querySelectorAll("input[type=hidden]").length;r++){var u=t.querySelectorAll("input[type=hidden]")[r];if(u.name!=="limit"){s.push(encodeURIComponent(u.name)+"="+encodeURIComponent(u.value))}}var v=s.join("&");return v};var m=function(s,u,r){var t;return function(){var y=this,x=arguments;var w=function(){t=null;if(!r){s.apply(y,x)}};var v=r&&!t;clearTimeout(t);t=setTimeout(w,u||200);if(v){s.apply(y,x)}}},n=function(){d.innerHTML="";q.focus();e.classList.remove("hs-search-field--open")},l=function(s){var r=[];r.push("<li id='results-for'>Results for \""+s.searchTerm+'"</li>');s.results.forEach(function(u,t){r.push("<li id='result"+t+"'><a href='"+u.url+"'>"+u.title+"</a></li>")});n();d.innerHTML=r.join("");e.classList.add("hs-search-field--open")},j=function(){var s=new XMLHttpRequest();var r="/_hcms/search?&term="+encodeURIComponent(f)+"&limit="+encodeURIComponent(i)+"&autocomplete=true&analytics=true&"+k();s.open("GET",r,true);s.onload=function(){if(s.status>=200&&s.status<400){var t=JSON.parse(s.responseText);if(t.total>0){l(t);g()}else{n()}}else{console.error("Server reached, error retrieving results.")}};s.onerror=function(){console.error("Could not reach the server.")};s.send()},g=function(){var y=[];y.push(q);var w=d.getElementsByTagName("A");for(var s=0;s<w.length;s++){y.push(w[s])}var v=y[0],r=y[y.length-1];var u=function(z){if(z.target==r&&!z.shiftKey){z.preventDefault();v.focus()}else{if(z.target==v&&z.shiftKey){z.preventDefault();r.focus()}}},t=function(z){z.preventDefault();if(z.target==r){v.focus()}else{y.forEach(function(A){if(A==z.target){y[y.indexOf(A)+1].focus()}})}},x=function(z){z.preventDefault();if(z.target==v){r.focus()}else{y.forEach(function(A){if(A==z.target){y[y.indexOf(A)-1].focus()}})}};e.addEventListener("keydown",function(z){switch(z.which){case 9:u(z);break;case 27:n();break;case 38:x(z);break;case 40:t(z);break}})},h=m(function(){f=q.value;if(f.length>2){j()}else{if(f.length==0){n()}}},250),o=(function(){q.addEventListener("input",function(r){if(r.which!=9&&r.which!=40&&r.which!=38&&r.which!=27&&f!=q.value){h()}})})()};if(document.attachEvent?document.readyState==="complete":document.readyState!=="loading"){var b=document.querySelectorAll(".hs-search-field");Array.prototype.forEach.call(b,function(e){var d=a(e)})}else{document.addEventListener("DOMContentLoaded",function(){var d=document.querySelectorAll(".hs-search-field");Array.prototype.forEach.call(d,function(f){var e=a(f)})})}})();