{"version":3,"sources":["../assets/scripts/main.js"],"names":["jQuery","document","ready","hasClass","hash","window","location","tab","click","e","this","console","log","preventDefault","meetingId","attr","post","meeting_id","data","status","html"],"mappings":"AAAAA,OAAAC,UAAAC,MAAA,WACA,GAAAF,OAAA,QAAAG,SAAA,uBAAA,CACA,IAAAC,EAAAC,OAAAC,SAAAF,KACAA,IACAJ,OAAA,mBAAAI,EAAA,MAAAG,IAAA,QACAF,OAAAC,SAAA,KAKAN,OAAA,6BAAAQ,MAAA,SAAAC,GAGAJ,OAAAC,SAAAF,KAAAM,KAAAN,OAGAJ,OAAA,oBAAAQ,MAAA,SAAAC,GACAE,QAAAC,IAAA,WACAH,EAAAI,iBACA,IAAAC,EAAAd,OAAAU,MAAAK,KAAA,mBACAf,OAAAgB,KAAA,4BAAA,CACAC,WAAAH,GACA,SAAAI,EAAAC,GACA,YAAAA,GACAnB,OAAA,mBAAAoB,KAAAF","file":"child-main.js","sourcesContent":["jQuery(document).ready(function () {\n    if (jQuery('body').hasClass('single-tribe_events')) {\n        var hash = window.location.hash;\n        if (hash) {\n            jQuery('.nav-link[href=\"' + hash + '\"]').tab('show');\n            window.location = '#';\n        }\n    }\n\n\n    jQuery('#meetingInformationTabs a').click(function (e) {\n        //    jQuery(this).tab('show');\n        //    window.scrollTo(0,0);\n        window.location.hash = this.hash;\n    });\n\n    jQuery('#sync-attendance').click(function (e) {\n        console.log(\"Clicked\");\n        e.preventDefault();\n        var meetingId = jQuery(this).attr('data-meeting-id');\n        jQuery.post('/util/attendance-sync.php', {\n            meeting_id: meetingId\n        }, function (data, status) {\n            if (status === \"success\") {\n                jQuery('#meeting-result').html(data);\n            }\n        });\n\n    });\n});\n\n"],"sourceRoot":"assets/scripts/"}