PageSourceSearch

https://artrio.com/js/tickets.js?cache=1790243403

js artrio.com collected 2026-09-24 09:50:18 UTC 2,482 bytes, 94 lines download raw bytes

1$(document).ready(function(){
2
3	$('.ticket-form').submit(function(){
4		$.post(window.base_url+'tickets/save_tickets_session', $(this).serialize(), function(response){
5			window.location.reload();
6			/*
7			var checkout_url = 'tickets/checkout';
8			var submission_type = $('input[name=submission_type]').val();
9			if(submission_type == 'login'){
10				show_auth_modal(checkout_url);
11			}else{
12				window.location = window.base_url + checkout_url;
13			}
14			*/
15		});
16		return false;
17	});
18
19	$('.go-to-checkout').click(function(e){
20		var checkout_url = 'tickets/checkout';
21		var submission_type = $('input[name=submission_type]').val();
22		if(submission_type == 'login'){
23			show_auth_modal(checkout_url);
24		}else{
25			window.location = window.base_url + checkout_url;
26		}
27		e.preventDefault();
28	});
29
30	/*
31	$('.ticket-form').submit(function(){
32
33		var action = $(this).attr('action');
34		var data = $(this).serialize();
35		var button = $(this).find('input[type=submit]');
36
37		button.val('Processando...');
38
39		$.post(action, data, function(response){
40			if(response.trim() == 'qtd_error'){
41				alert('Por favor, selecione um ingresso antes de prosseguir.');
42				button.val('Próximo >>');
43				return;
44			}else{
45				$('.ticket-form').hide();
46				$('.checkout-wrapper').html(response);
47			    $([document.documentElement, document.body]).animate({
48			        scrollTop: $('.checkout-form').offset().top - 100
49			    }, 500);
50			}
51		});
52
53		return false;
54
55	});
56	*/
57
58	/*
59	$('.ticket_modality input[type=radio]').change(function(){
60		if($(this).val() == 'family'){
61			$('.ticket_type .half').hide();
62			$('.ticket_type .full input[type=radio]').prop('checked', true);
63		}else{
64			$('.ticket_type .half').show();
65			$('.ticket_type .full input[type=radio]').prop('checked', false);
66		}
67	});
68
69	$('.buy-ticket').click(function(){
70		$('.page-description').hide();
71		$('.page-form').removeClass('hidden-xs');
72	});
73
74	$('.card').on('click', function(){
75	  $('html,body').stop();
76	});
77	*/
78
79	/*
80	$('.ticket_date input[type=radio]').change(function(){
81		if($(this).val() == 'all'){
82			$('.ticket_type .ticket_date_passport').show();
83			$('.ticket_type .ticket_date_normal').hide();
84			$('.ticket_type .half').hide();
85			$('.ticket_type .full input[type=radio]').prop('checked', true);
86		}else{
87			$('.ticket_type .ticket_date_passport').hide();
88			$('.ticket_type .ticket_date_normal').show();
89			$('.ticket_type .half').show();
90			$('.ticket_type .full input[type=radio]').prop('checked', false);
91		}
92	});
93	*/
94});

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.