var gform;gform||(document.addEventListener("gform_main_scripts_loaded",function(){gform.scriptsLoaded=!0}),window.addEventListener("DOMContentLoaded",function(){gform.domLoaded=!0}),gform={domLoaded:!1,scriptsLoaded:!1,initializeOnLoaded:function(o){gform.domLoaded&&gform.scriptsLoaded?o():!gform.domLoaded&&gform.scriptsLoaded?window.addEventListener("DOMContentLoaded",o):document.addEventListener("gform_main_scripts_loaded",o)},hooks:{action:{},filter:{}},addAction:function(o,n,r,t){gform.addHook("action",o,n,r,t)},addFilter:function(o,n,r,t){gform.addHook("filter",o,n,r,t)},doAction:function(o){gform.doHook("action",o,arguments)},applyFilters:function(o){return gform.doHook("filter",o,arguments)},removeAction:function(o,n){gform.removeHook("action",o,n)},removeFilter:function(o,n,r){gform.removeHook("filter",o,n,r)},addHook:function(o,n,r,t,i){null==gform.hooks[o][n]&&(gform.hooks[o][n]=[]);var e=gform.hooks[o][n];null==i&&(i=n+"_"+e.length),gform.hooks[o][n].push({tag:i,callable:r,priority:t=null==t?10:t})},doHook:function(n,o,r){var t;if(r=Array.prototype.slice.call(r,1),null!=gform.hooks[n][o]&&((o=gform.hooks[n][o]).sort(function(o,n){return o.priority-n.priority}),o.forEach(function(o){"function"!=typeof(t=o.callable)&&(t=window[t]),"action"==n?t.apply(null,r):r[0]=t.apply(null,r)})),"filter"==n)return r[0]},removeHook:function(o,n,t,i){var r;null!=gform.hooks[o][n]&&(r=(r=gform.hooks[o][n]).filter(function(o,n,r){return!!(null!=i&&i!=o.tag||null!=t&&t!=o.priority)}),gform.hooks[o][n]=r)}});
console.log('PixelYourSite Free version 9.7.0.1');
var breeze_prefetch = {"local_url":"https:\/\/awakenpittsburgh.org","ignore_remote_prefetch":"1","ignore_list":["http:\/\/awakenpittsburgh.org\/","http:\/\/awakenpittsburgh.org\/support\/","http:\/\/awakenpittsburgh.org\/about\/team\/","http:\/\/awakenpittsburgh.org\/why\/","http:\/\/awakenpittsburgh.org\/programs\/teams-organizations\/public-safety\/","wp-admin","wp-login.php"]};
var pysOptions = {"staticEvents":{"facebook":{"init_event":[{"delay":0,"type":"static","name":"PageView","pixelIds":["3681554928727338"],"eventID":"f66dc361-f8de-4ad0-a75d-fc7429839de0","params":{"page_title":"Contact","post_type":"page","post_id":57,"plugin":"PixelYourSite","user_role":"guest","event_url":"awakenpittsburgh.org\/contact\/"},"e_id":"init_event","ids":[],"hasTimeWindow":false,"timeWindow":0,"woo_order":"","edd_order":""}]}},"dynamicEvents":[],"triggerEvents":[],"triggerEventTypes":[],"facebook":{"pixelIds":["3681554928727338"],"advancedMatching":{"external_id":"defceadcdccbefffbc"},"advancedMatchingEnabled":true,"removeMetadata":false,"contentParams":{"post_type":"page","post_id":57,"content_name":"Contact"},"commentEventEnabled":true,"wooVariableAsSimple":false,"downloadEnabled":true,"formEventEnabled":true,"serverApiEnabled":true,"wooCRSendFromServer":false,"send_external_id":null},"debug":"","siteUrl":"https:\/\/awakenpittsburgh.org","ajaxUrl":"https:\/\/awakenpittsburgh.org\/wp-admin\/admin-ajax.php","ajax_event":"02ae0d6207","enable_remove_download_url_param":"1","cookie_duration":"7","last_visit_duration":"60","enable_success_send_form":"","ajaxForServerEvent":"1","ajaxForServerStaticEvent":"1","send_external_id":"1","external_id_expire":"180","google_consent_mode":"1","gdpr":{"ajax_enabled":false,"all_disabled_by_api":false,"facebook_disabled_by_api":false,"analytics_disabled_by_api":false,"google_ads_disabled_by_api":false,"pinterest_disabled_by_api":false,"bing_disabled_by_api":false,"externalID_disabled_by_api":false,"facebook_prior_consent_enabled":true,"analytics_prior_consent_enabled":true,"google_ads_prior_consent_enabled":null,"pinterest_prior_consent_enabled":true,"bing_prior_consent_enabled":true,"cookiebot_integration_enabled":false,"cookiebot_facebook_consent_category":"marketing","cookiebot_analytics_consent_category":"statistics","cookiebot_tiktok_consent_category":"marketing","cookiebot_google_ads_consent_category":null,"cookiebot_pinterest_consent_category":"marketing","cookiebot_bing_consent_category":"marketing","consent_magic_integration_enabled":false,"real_cookie_banner_integration_enabled":false,"cookie_notice_integration_enabled":false,"cookie_law_info_integration_enabled":false,"analytics_storage":{"enabled":true,"value":"granted","filter":false},"ad_storage":{"enabled":true,"value":"granted","filter":false},"ad_user_data":{"enabled":true,"value":"granted","filter":false},"ad_personalization":{"enabled":true,"value":"granted","filter":false}},"cookie":{"disabled_all_cookie":false,"disabled_start_session_cookie":false,"disabled_advanced_form_data_cookie":false,"disabled_landing_page_cookie":false,"disabled_first_visit_cookie":false,"disabled_trafficsource_cookie":false,"disabled_utmTerms_cookie":false,"disabled_utmId_cookie":false},"tracking_analytics":{"TrafficSource":"direct","TrafficLanding":"undefined","TrafficUtms":[],"TrafficUtmsId":[]},"woo":{"enabled":false},"edd":{"enabled":false}};
var gf_global = {"gf_currency_config":{"name":"U.S. Dollar","symbol_left":"$","symbol_right":"","symbol_padding":"","thousand_separator":",","decimal_separator":".","decimals":2,"code":"USD"},"base_url":"https:\/\/awakenpittsburgh.org\/wp-content\/plugins\/gravityforms","number_formats":[],"spinnerUrl":"https:\/\/awakenpittsburgh.org\/wp-content\/plugins\/gravityforms\/images\/spinner.svg","version_hash":"3cfd04f3fe9d900cc12a282c7a911389","strings":{"newRowAdded":"New row added.","rowRemoved":"Row removed","formSaved":"The form has been saved. The content contains the link to return and complete the form."}};
var gform_i18n = {"datepicker":{"days":{"monday":"Mo","tuesday":"Tu","wednesday":"We","thursday":"Th","friday":"Fr","saturday":"Sa","sunday":"Su"},"months":{"january":"January","february":"February","march":"March","april":"April","may":"May","june":"June","july":"July","august":"August","september":"September","october":"October","november":"November","december":"December"},"firstDay":1,"iconText":"Select date"}};
var gf_legacy_multi = {"1":""};
var gform_gravityforms = {"strings":{"invalid_file_extension":"This type of file is not allowed. Must be one of the following:","delete_file":"Delete this file","in_progress":"in progress","file_exceeds_limit":"File exceeds size limit","illegal_extension":"This type of file is not allowed.","max_reached":"Maximum number of files reached","unknown_error":"There was a problem while saving the file on the server","currently_uploading":"Please wait for the uploading to complete","cancel":"Cancel","cancel_upload":"Cancel this upload","cancelled":"Cancelled"},"vars":{"images_url":"https:\/\/awakenpittsburgh.org\/wp-content\/plugins\/gravityforms\/images"}};
var __CONFIG__ = {"serverTimestamp":1728677114,"currentUser":{"user_login":false,"user_email":false,"user_level":false,"user_firstname":false,"user_lastname":false,"display_name":false,"ID":0,"roles":[]}};
jQuery(function(){
// Images
//begin updates to alternate text, title, and aria-label if needed only
var imgCnt = 1;
jQuery('img').each(function () {
var curAlt = jQuery(this).attr('alt');
var curTitle = jQuery(this).attr('title');
var curAriaLbl = jQuery(this).attr('aria-label');
var curImgPrnts = jQuery(this).parents().map(function () {
return this.tagName;
})
.get()
.join(', ');
//no alt text or empty alt text or undefined
if (!curAlt || curAlt === '' || curAlt === 'undefined') {
jQuery(this).attr('alt', ''); //decorative
if (curImgPrnts.includes('A,') || curImgPrnts.includes(' A ')) {
jQuery(this).attr('alt', 'Image link #' + imgCnt);
if (!curTitle || curTitle === '' || curTitle === 'undefined') {
} else {
jQuery(this).attr('title', curTitle);
}
if (!curAriaLbl || curAriaLbl === '' || curAriaLbl === 'undefined') {
if (!curTitle || curTitle === '' || curTitle === 'undefined') {
} else {
jQuery(this).attr('aria-label', curTitle);
}
} else {
/*add it back in*/
jQuery(this).attr('aria-label', curAriaLbl);
}
} else {
//if empty then should not contain title or aria-label
jQuery(this).removeAttr('aria-label');
jQuery(this).removeAttr('title');
}
} else {
//alt present so we should leave alt alone
jQuery(this).attr('alt', curAlt);
//if title present add an aria-label as well
if (!curTitle || curTitle === '' || curTitle === 'undefined') {
}
else {
/*Add title back in*/
jQuery(this).attr('title', curTitle);
//first check to make sure it doesn't already have aria-label
if (!curAriaLbl || curAriaLbl === '' || curAriaLbl === 'undefined') {
jQuery(this).attr('aria-label', curTitle);
} else {
/*add it back in*/
jQuery(this).attr('aria-label', curAriaLbl);
}
}
}
imgCnt++;
});
//end updates to alternate text, title, and aria-label if needed only
var h1Cnt = 0;
jQuery("h1").each(function () {
h1Cnt++;
});
if(h1Cnt == 0){
jQuery("#main").prepend('<div role="region" aria-label="Main Heading"><h1 class="sr-only">' + jQuery("title").html() + '</h1></div>');
}
/*shortcut not contained within previous navigation container - setup for unique landmark*/
jQuery("#wp-toolbar").removeAttr("role").removeAttr("aria-label");
jQuery("#wpadminbar").attr("role", "navigation");
jQuery("#wpadminbar").attr("aria-label", "Toolbar");
var navCnt = 1;
jQuery("nav").each( function(){
jQuery(this).attr("aria-label","Navigation Menu #"+navCnt);
navCnt++;
});
//location map
jQuery('iframe').each(function(){
var curTarget = String(jQuery(this).attr('src'));
if(curTarget.includes('google') && curTarget.includes('map')){
jQuery(this).attr('aria-label','Google Map');
}
});
//remove role from ul, li, buttons, and a = you can't change the default purpose on these without changing all the others
setTimeout(function(){
jQuery('#menu-desktop-menu').removeAttr('role');
jQuery('#menu-desktop-menu').find('a').each(function(){
var curRole = String(jQuery(this).attr('role'));
if(curRole.includes('menuitem')){
jQuery(this).removeAttr('role');
}
});
jQuery('#menu-desktop-menu').find('button').each(function(){
var curRole = String(jQuery(this).attr('role'));
if(curRole.includes('menuitem')){
jQuery(this).removeAttr('role');
}
});
jQuery('#menu-desktop-menu').find('li').each(function(){
var curRole = String(jQuery(this).attr('role'));
if(curRole.includes('none')){
jQuery(this).removeAttr('role');
}
});
},1200);
//fix discernible links
var curCnt = 1;
jQuery('body').find('a').each(function(){
var curContent = String(jQuery(this).html());
var curhref = String(jQuery(this).attr('href'));
if(curContent === ''){
if(curhref === ''){
jQuery(this).append('<span class="sr-only">Link #'+curCnt+'</span>');
}else{
jQuery(this).append('<span class="sr-only">Link: '+curhref+'</span>');
}
}
});
setTimeout(function(){
jQuery('a[data-brz-link-type="external"]').each(function(){
jQuery(this).attr('aria-label','opens in new window or tab').attr('role','button');
});
}, 1500);
});
( function ( body ) {
'use strict';
body.className = body.className.replace( /\btribe-no-js\b/, 'tribe-js' );
} )( document.body );
var tribe_l10n_datatables = {"aria":{"sort_ascending":": activate to sort column ascending","sort_descending":": activate to sort column descending"},"length_menu":"Show _MENU_ entries","empty_table":"No data available in table","info":"Showing _START_ to _END_ of _TOTAL_ entries","info_empty":"Showing 0 to 0 of 0 entries","info_filtered":"(filtered from _MAX_ total entries)","zero_records":"No matching records found","search":"Search:","all_selected_text":"All items on this page were selected. ","select_all_link":"Select all pages","clear_selection":"Clear Selection.","pagination":{"all":"All","next":"Next","previous":"Previous"},"select":{"rows":{"0":"","_":": Selected %d rows","1":": Selected 1 row"}},"datepicker":{"dayNames":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"dayNamesShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"dayNamesMin":["S","M","T","W","T","F","S"],"monthNames":["January","February","March","April","May","June","July","August","September","October","November","December"],"monthNamesShort":["January","February","March","April","May","June","July","August","September","October","November","December"],"monthNamesMin":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"nextText":"Next","prevText":"Prev","currentText":"Today","closeText":"Done","today":"Today","clear":"Clear"}};
var gform_theme_config = {"common":{"form":{"honeypot":{"version_hash":"3cfd04f3fe9d900cc12a282c7a911389"}}},"hmr_dev":"","public_path":"https:\/\/awakenpittsburgh.org\/wp-content\/plugins\/gravityforms\/assets\/js\/dist\/"};