PageSourceSearch

https://villago.it/wp-content/themes/tripster/plugins/contact-form-7/contact-form-7.js?reload=1788369466

js villago.it collected 2026-10-02 21:30:21 UTC 1,414 bytes, 39 lines download raw bytes

1/* global jQuery, TRIPSTER_STORAGE */
2
3(function() {
4	"use strict";
5
6	jQuery( document ).on(
7		'action.ready_tripster', function() {
8
9			// CF7 checkboxes and radio - add class to correct check/uncheck pseudoelement when input at right side of the label
10			jQuery( '.wpcf7-checkbox > .wpcf7-list-item > .wpcf7-list-item-label,.wpcf7-radio > .wpcf7-list-item > .wpcf7-list-item-label' ).each(
11				function() {
12					if (jQuery( this ).next( 'input[type="checkbox"],input[type="radio"]' ).length > 0) {
13						jQuery( this ).addClass( 'wpcf7-list-item-right' );
14					}
15				}
16			);
17			jQuery( '.wpcf7-checkbox > .wpcf7-list-item > .wpcf7-list-item-label,.wpcf7-radio > .wpcf7-list-item > .wpcf7-list-item-label,.wpcf7-wpgdprc > .wpcf7-list-item > .wpcf7-list-item-label' ).on(
18				'click', function() {
19					var chk = jQuery( this ).siblings( 'input[type="checkbox"],input[type="radio"]' );
20					if (chk.attr( 'type' ) == 'radio') {
21						jQuery( this ).parents( '.wpcf7-radio' )
22						.find( '.wpcf7-list-item-label' ).removeClass( 'wpcf7-list-item-checked' )
23						.find( 'input[type="radio"]' ).each(
24							function(){
25								this.checked = false;
26							}
27						);
28					}
29					if (chk.length > 0) {
30						chk.get( 0 ).checked = chk.get( 0 ).checked ? false : true;
31						jQuery( this ).toggleClass( 'wpcf7-list-item-checked', chk.get( 0 ).checked );
32						chk.trigger('change');
33					}
34				}
35			);
36		}
37	);
38
39})();

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.