1/******* Do not edit this file ******* 2Simple Custom CSS and JS - by Silkypress.com 3Saved: Apr 29 2026 | 07:25:42 */ 4document.addEventListener('DOMContentLoaded', function () { 5 const openBtn = document.querySelector('.open-cf7-popup'); 6 const overlay = document.querySelector('.cf7-popup-overlay'); 7 const closeBtn = document.querySelector('.close-cf7-popup'); 8 9 if (openBtn && overlay && closeBtn) { 10 openBtn.addEventListener('click', function (e) { 11 e.preventDefault(); // ð¹ prevents scroll or jump 12 overlay.style.display = 'flex'; 13 document.body.style.overflow = 'hidden'; // ð¹ disables background scroll 14 }); 15 16 closeBtn.addEventListener('click', function () { 17 overlay.style.display = 'none'; 18 document.body.style.overflow = ''; // ð¹ re-enable scroll 19 }); 20 21 overlay.addEventListener('click', function (e) { 22 if (e.target === overlay) { 23 overlay.style.display = 'none'; 24 document.body.style.overflow = ''; 25 } 26 }); 27 } 28}); 29document.addEventListener('wpcf7mailsent', function(event) { 30 // Show the thank-you message for 2 seconds, then reload 31 setTimeout(function() { 32 // Fade out popup (if any) 33 jQuery('#cf7-popup, .cf7-popup-overlay').fadeOut(400, function() { 34 // Reload page after popup fades 35 location.reload(); 36 }); 37 }, 2000); 38}, false); 39 40document.addEventListener('change', function (e) { 41 if (e.target.matches('.file-input')) { 42 const fileInput = e.target; 43 const fileNameDisplay = fileInput.closest('.upload-container').querySelector('.file-name'); 44 const removeBtn = fileInput.closest('.upload-container').querySelector('.remove-file-btn'); 45 46 if (fileInput.files.length > 0) { 47 const fileName = fileInput.files[0].name; 48 fileNameDisplay.textContent = fileName; 49 removeBtn.style.display = 'inline-block'; 50 } else { 51 fileNameDisplay.textContent = ''; 52 removeBtn.style.display = 'none'; 53 } 54 } 55}); 56 57document.addEventListener('click', function (e) { 58 if (e.target.matches('.remove-file-btn')) { 59 const uploadContainer = e.target.closest('.upload-container'); 60 const fileInput = uploadContainer.querySelector('.file-input'); 61 const fileNameDisplay = uploadContainer.querySelector('.file-name'); 62 63 // Clear the file 64 fileInput.value = ''; 65 fileNameDisplay.textContent = ''; 66 e.target.style.display = 'none'; 67 } 68});
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.