PageSourceSearch

https://rawskylibrary.com/wp-content/themes/thegem-elementor/js/thegem-form-elements.js?ver=5.9.5.1

js rawskylibrary.com collected 2026-10-08 09:13:49 UTC 1,787 bytes, 57 lines download raw bytes

1(function($) {
2	$.fn.checkbox = function() {
3		$(this).each(function() {
4			var $el = $(this);
5			var typeClass = $el.attr('type');
6			$el.hide();
7			$el.next('.'+typeClass+'-sign').remove();
8			var $checkbox = $('<span class="'+typeClass+'-sign" />').insertAfter($el);
9			$checkbox.click(function() {
10				if($checkbox.closest('label').length) return;
11				if($el.attr('type') == 'radio') {
12					$el.prop('checked', true).trigger('change').trigger('click');
13				} else {
14					$el.prop('checked', !($el.is(':checked'))).trigger('change');
15				}
16			});
17			$el.change(function() {
18				$('input[name="'+$el.attr('name')+'"]').each(function() {
19					if($(this).is(':checked')) {
20						$(this).next('.'+$(this).attr('type')+'-sign').addClass('checked');
21					} else {
22						$(this).next('.'+$(this).attr('type')+'-sign').removeClass('checked');
23					}
24				});
25			});
26			if($el.is(':checked')) {
27				$checkbox.addClass('checked');
28			} else {
29				$checkbox.removeClass('checked');
30			}
31		});
32	}
33	$.fn.combobox = function() {
34		$(this).each(function() {
35			var $el = $(this);
36			$el.insertBefore($el.parent('.combobox-wrapper'));
37			$el.next('.combobox-wrapper').remove();
38			$el.css({
39				'opacity': 0,
40				'position': 'absolute',
41				'left': 0,
42				'right': 0,
43				'top': 0,
44				'bottom': 0
45			});
46			var $comboWrap = $('<span class="combobox-wrapper" />').insertAfter($el);
47			var $text = $('<span class="combobox-text" />').appendTo($comboWrap);
48			var $button = $('<span class="combobox-button" />').appendTo($comboWrap);
49			$el.appendTo($comboWrap);
50			$el.change(function() {
51				$text.text($('option:selected', $el).text());
52			});
53			$text.text($('option:selected', $el).text());
54			$el.comboWrap = $comboWrap;
55		});
56	}
57})(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.