PageSourceSearch

https://www.bloomlifestyle.co.uk/sgassets/custom-types/faq/assets/js/faq.js?ver=1790070453-342

js bloomlifestyle.co.uk collected 2026-10-08 01:07:30 UTC 2,754 bytes, 9 lines download raw bytes

1/****************************************************************************
2    * SG Assets. PHAR v342
3    * Copyright © 2026 | Salon Guru LTD | https://www.salonguru.net/
4    *
5    * Use of this file without a license is strictly prohibited.
6****************************************************************************/
7
8jQuery(document).ready(function($){$('.faq-full-wrapper .tab-title').click(function(){if(!$(this).hasClass('active')){$('.faq-full-wrapper .tab-title').not(this).removeClass('active');$(this).addClass('active');var category=$(this).attr('data-cat');$('.faq-full-wrapper .faq-questions').each(function(){if($(this).attr('data-cat')==category){$(this).addClass('show')}else{$(this).removeClass('show')}});$('.faq-full-wrapper .faq-question').removeClass('active');$('.faq-full-wrapper .faq-answer').removeClass('show');$('.faq-full-wrapper .faq-question[data-cat="'+category+'"]').first().addClass('active');$('.faq-full-wrapper .faq-answer[data-cat="'+category+'"]').first().addClass('show');var q=$('.faq-full-wrapper .faq-question.active').attr('data-id');updateQueryStringParam('c',category);updateQueryStringParam('q',q)}});$('.faq-full-wrapper .faq-question').click(function(){if(!$(this).hasClass('active')){$('.faq-full-wrapper .faq-question').not(this).removeClass('active');$(this).addClass('active');var faq_id=$(this).attr('data-id');var cat=$(this).attr('data-cat');$('.faq-full-wrapper .faq-answer').each(function(){if($(this).attr('data-id')==faq_id&&$(this).attr('data-cat')==cat){$(this).addClass('show')}else{$(this).removeClass('show')}});updateQueryStringParam('q',faq_id)}});$('.faq-accordion-wrapper .question').click(function(){if($(this).hasClass('open')){$(this).removeClass('open').next('.answer').slideUp();$('.open.single').removeClass('open').next('.answer').slideUp()}else{$('.open.single').removeClass('open').next('.answer').slideUp();$(this).addClass('open').next('.answer').slideDown()}});$('.faq-expandable .widget-title').on('click',function(){$(this).next('.faq-questions').slideToggle('slow')})});var updateQueryStringParam=function(key,value){var baseUrl=[location.protocol,'//',location.host,location.pathname].join(''),urlQueryString=document.location.search,newParam=key+'='+value,params='?'+newParam;if(urlQueryString){var updateRegex=new RegExp('([?&])'+key+'[^&]*');var removeRegex=new RegExp('([?&])'+key+'=[^&;]+[&;]?');if(typeof value=='undefined'||value==null||value==''){params=urlQueryString.replace(removeRegex,'$1');params=params.replace(/[&;]$/,'')}else if(urlQueryString.match(updateRegex)!==null){params=urlQueryString.replace(updateRegex,'$1'+newParam)}else{params=urlQueryString+'&'+newParam}}
9params=params=='?'?'':params;window.history.replaceState({},'',baseUrl+params)}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.