{"version":3,"file":"faq.295c1807fa8c58ae33c8.js","mappings":"kHAAAA,EAAEC,UAAUC,OAAM,WAEhB,IAAIC,EAAiB,WACnB,IAAIC,EAAUJ,EAAE,oBAAoBK,MAAMC,cACtCC,EAAWP,EAAE,gBAAgBQ,OAC7BC,EAAiB,EAErBT,EAAE,gBAAgBU,MAAK,YAEU,IADpBV,EAAEW,MAAMC,OAAON,cACjBO,QAAQT,IACfJ,EAAE,eAAec,OACjBd,EAAEW,MAAMI,SAERf,EAAEW,MAAMG,OACRL,IACIA,GAAkBF,GACpBP,EAAE,eAAee,OAGvB,GACF,EACAf,EAAE,gBAAgBgB,OAAM,WACtBhB,EAAE,oBAAoBK,IAAI,IAC1BL,EAAE,gBAAgBc,OAClBX,GACF,IACAH,EAAE,oBAAoBiB,MAAMd,EAC9B,G","sources":["webpack://stdcheck-exposed-wp-theme/./themes/stdcheck-exposed/src/js/faq.js"],"sourcesContent":["$(document).ready(function () {\n  /* The following script filters questions in How it work FAQ section */\n  let filterQuestion = function () {\n    let valThis = $('#filterQuestions').val().toLowerCase();\n    let totalBox = $('.boxquestion').length;\n    let counterVisible = 0;\n\n    $('.boxquestion').each(function () {\n      var text = $(this).text().toLowerCase();\n      if (text.indexOf(valThis) !== -1) {\n        $('#notmatches').hide();\n        $(this).show();\n      } else {\n        $(this).hide();\n        counterVisible++;\n        if (counterVisible == totalBox) {\n          $('#notmatches').show();\n        }\n      }\n    });\n  };\n  $('#clearSearch').click(function () {\n    $('#filterQuestions').val('');\n    $('#clearSearch').hide();\n    filterQuestion();\n  });\n  $('#filterQuestions').keyup(filterQuestion);\n});\n"],"names":["$","document","ready","filterQuestion","valThis","val","toLowerCase","totalBox","length","counterVisible","each","this","text","indexOf","hide","show","click","keyup"],"sourceRoot":""}