PageSourceSearch

https://punedataconference.com/js/notify_v2.0.4.js

js punedataconference.com collected 2026-10-08 08:41:25 UTC 4,779 bytes, 146 lines download raw bytes

1var _____WB$wombat$assign$function_____=function(name){return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name))||self[name];};if(!self.__WB_pmw){self.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{
2let window = _____WB$wombat$assign$function_____("window");
3let self = _____WB$wombat$assign$function_____("self");
4let document = _____WB$wombat$assign$function_____("document");
5let location = _____WB$wombat$assign$function_____("location");
6let top = _____WB$wombat$assign$function_____("top");
7let parent = _____WB$wombat$assign$function_____("parent");
8let frames = _____WB$wombat$assign$function_____("frames");
9let opens = _____WB$wombat$assign$function_____("opens");
10$(".cta").click(function () {
11    $(".cta:not(.sent)").addClass("active");
12    // $("input").focus();
13});
14
15function thankyou() {
16    document.querySelector(".cta").classList.remove("active");
17    document.getElementById("cta-text").textContent = "Thank you!";
18    document.getElementById("cta-text").style.pointerEvents = "none";
19}
20
21function buyTicketClick(event) {
22    // popup('pune-data-conference-2020-323301');
23    event.preventDefault();
24    $('html, body').animate({
25        scrollTop: $("#displayIframe").offset().top - 120
26    }, 700);
27    const displayIframe = document.getElementById("displayIframe");
28    displayIframe.innerHTML = "<i id='iframeClose' class='close-btn fas fa-times'></i><iframe id='ticket-frame' src='https://www.townscript.com/e/pune-data-conference-2022-323301' frameborder='0' height='600' width='100%'></iframe>";
29    const closeBtn = document.getElementById('iframeClose');
30    $(closeBtn).on('click', function (evt) {
31        displayIframe.innerHTML = "";
32    });
33}
34
35/* --------------------------------------------------
36 * Code to toggle help box window
37 * --------------------------------------------------*/
38function toggleHelpBox() {
39    var box = document.querySelector('.help-box');
40    if (box.classList.toString().indexOf("help-window") != -1) {
41        box.classList.remove('help-window');
42    }
43    else {
44        box.classList.add('help-window');
45    }
46}
47
48
49/* --------------------------------------------------
50 * Hide the helpbox when clicked outside
51 * --------------------------------------------------*/
52$(document).ready(function () {
53    $("#homepage").mouseup(function (e) {
54        var subject = $(".help-box");
55        if (e.target.classList.toString().indexOf("help") === -1) {
56            if (e.target.id != subject.attr('class')) {
57                subject.removeClass("help-window");
58            }
59        }
60    });
61});
62
63
64/* --------------------------------------------------
65 * Help box window form
66 * --------------------------------------------------*/
67document.getElementById("help-btn").addEventListener("click", sendEmail);
68
69function sendEmail(event) {
70    event.preventDefault();
71    var HelpEmail = document.getElementById("helpEmail").value;
72    var HelpMsg = document.getElementById("helpQuery").value;
73
74    if (HelpEmail === "" || HelpEmail === " ") {
75        $("#helpEmail").tooltip('show');
76    }
77    else if (HelpMsg === "" || HelpMsg === " ") {
78        $("#helpQuery").tooltip('show');
79    }
80    else {
81        thankyouHelp();
82
83        //send to formspree
84        $.ajax({
85            url: 'https://formspree.io/xvqdjzwm',
86            method: 'POST',
87            data: {
88                email: HelpEmail,
89                message: HelpMsg
90            },
91            dataType: "json",
92            success: function () {
93                console.log('form submission success');
94            }
95        });
96    }
97
98
99}
100
101function thankyouHelp() {
102    document.querySelector('.form').style.display = 'none';
103    document.querySelector('.thankyouReply ').style.display = 'block';
104}
105
106
107
108
109/* --------------------------------------------------
110 * On click banner, scroll down to the hackathon winners section
111 * --------------------------------------------------*/
112// $("#banner-url").click(function() {
113//     $('html,body').animate({
114//         scrollTop: $(".hackathon-winners").offset().top - 120},
115//         1200);
116// });
117
118// Open video with lightbox
119// $('.presentation-video').magnificPopup({
120//     type: 'iframe',
121//     srcAction: 'iframe_src', 
122// });
123
124// $(document).ready(function() {
125// 	$('.presentation-video').magnificPopup({
126// 		disableOn: 200,
127// 		type: 'iframe',
128// 		mainClass: 'mfp-fade',
129// 		removalDelay: 160,
130// 		preloader: false,
131// 		fixedContentPos: false
132// 	});
133// });
134
135// $.extend(true, $.magnificPopup.defaults, {  
136//     iframe: {
137//         patterns: {
138//            youtube: {
139//               index: 'youtube.com/', 
140//               id: 'v=', 
141//               src: 'http://www.youtube.com/embed/%id%?autoplay=1' 
142//           }
143//         }
144//     }
145// });
146}

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.