PageSourceSearch

https://bowsandsequins.com/wp-content/plugins/em-pop/public/js/em-pop-public.js?ver=1.0.2

js bowsandsequins.com collected 2026-09-25 19:18:19 UTC 1,108 bytes, 42 lines download raw bytes

1(function( $ ) {
2	'use strict';
3
4	$(document).ready(function(){
5		var _ouibounce = ouibounce(document.getElementById('em-popup-wrapper'), {
6		  cookieExpire: parseInt( em_pop_display_options.cookie_expire, 10 ),
7		  sitewide: true,
8		});
9
10		$('#em-popup-overlay').on('click', function() {
11			$('#em-popup-wrapper').fadeOut(500);
12		});
13
14		$('#em-popup-wrapper #em-popup-close').on('click', function() {
15			event.preventDefault();
16			$('#em-popup-wrapper').fadeOut(500);
17		});	
18
19		$('.em-popup-open').on('click', function() {
20			event.preventDefault();
21			$('#em-popup-wrapper').fadeIn(500);
22		});
23		
24		$(window).on('scroll', function(){
25			var s = $(window).scrollTop(),
26				d = $(document).height(),
27				c = $(window).height();
28
29			var scrollPercent = (s / (d - c)) * 100;
30			
31			var scrollTrigger = parseInt( em_pop_display_options.scroll_percentage, 10  );
32			
33			var isMobile = window.matchMedia("only screen and (max-width: 767px)");
34			
35			if (isMobile.matches && (em_pop_display_options.mobile_enable == 1) && (scrollPercent > scrollTrigger)) {
36				_ouibounce.fire();
37			}
38			
39		})
40	});
41
42})( jQuery );

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.