Server IP : 150.95.80.236 / Your IP : 3.147.28.206 Web Server : Apache System : Linux host-150-95-80-236 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64 User : social-telecare ( 10000) PHP Version : 7.4.33 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/vhosts/pcu.in.th/uat.pcu.in.th/assets/js/custom/documentation/general/search/ |
Upload File : |
"use strict";var KTGeneralSearchMenuDemos=function(){var e,t,n,a,s,c,r,o,d,l,i,m,u,h=function(e){setTimeout((function(){var a=KTUtil.getRandomInt(1,3);t.classList.add("d-none"),3===a?(n.classList.add("d-none"),s.classList.remove("d-none")):(n.classList.remove("d-none"),s.classList.add("d-none")),e.complete()}),1500)},L=function(e){t.classList.remove("d-none"),n.classList.add("d-none"),s.classList.add("d-none")};return{init:function(){(e=document.querySelector("#kt_docs_search_handler_menu"))&&(a=e.querySelector('[data-kt-search-element="wrapper"]'),e.querySelector('[data-kt-search-element="form"]'),t=e.querySelector('[data-kt-search-element="main"]'),n=e.querySelector('[data-kt-search-element="results"]'),s=e.querySelector('[data-kt-search-element="empty"]'),c=e.querySelector('[data-kt-search-element="preferences"]'),r=e.querySelector('[data-kt-search-element="preferences-show"]'),o=e.querySelector('[data-kt-search-element="preferences-dismiss"]'),d=e.querySelector('[data-kt-search-element="advanced-options-form"]'),l=e.querySelector('[data-kt-search-element="advanced-options-form-show"]'),i=e.querySelector('[data-kt-search-element="advanced-options-form-cancel"]'),m=e.querySelector('[data-kt-search-element="advanced-options-form-search"]'),(u=new KTSearch(e)).on("kt.search.process",h),u.on("kt.search.clear",L),r.addEventListener("click",(function(){a.classList.add("d-none"),c.classList.remove("d-none")})),o.addEventListener("click",(function(){a.classList.remove("d-none"),c.classList.add("d-none")})),l.addEventListener("click",(function(){a.classList.add("d-none"),d.classList.remove("d-none")})),i.addEventListener("click",(function(){a.classList.remove("d-none"),d.classList.add("d-none")})),m.addEventListener("click",(function(){})))}}}();KTUtil.onDOMContentLoaded((function(){KTGeneralSearchMenuDemos.init()}));