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"]};
Join us for a transformative retreat designed for leaders who want to cultivate resilience, renew…
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 ct_localizations = {"ajax_url":"https:\/\/awakenpittsburgh.org\/wp-admin\/admin-ajax.php","public_url":"https:\/\/awakenpittsburgh.org\/wp-content\/themes\/blocksy\/static\/bundle\/","rest_url":"https:\/\/awakenpittsburgh.org\/wp-json\/","search_url":"https:\/\/awakenpittsburgh.org\/search\/QUERY_STRING\/","show_more_text":"Show more","more_text":"More","search_live_results":"Search results","search_live_no_results":"No results","search_live_no_result":"No results","search_live_one_result":"You got %s result. Please press Tab to select it.","search_live_many_results":"You got %s results. Please press Tab to select one.","clipboard_copied":"Copied!","clipboard_failed":"Failed to Copy","expand_submenu":"Expand dropdown menu","collapse_submenu":"Collapse dropdown menu","dynamic_js_chunks":[{"id":"blocksy_pro_micro_popups","selector":".ct-popup","url":"https:\/\/awakenpittsburgh.org\/wp-content\/plugins\/blocksy-companion-pro\/framework\/premium\/static\/bundle\/micro-popups.js?ver=2.0.73"},{"id":"blocksy_sticky_header","selector":"header [data-sticky]","url":"https:\/\/awakenpittsburgh.org\/wp-content\/plugins\/blocksy-companion-pro\/static\/bundle\/sticky.js?ver=2.0.73"}],"dynamic_styles":{"lazy_load":"https:\/\/awakenpittsburgh.org\/wp-content\/themes\/blocksy\/static\/bundle\/non-critical-styles.min.css?ver=2.0.73","search_lazy":"https:\/\/awakenpittsburgh.org\/wp-content\/themes\/blocksy\/static\/bundle\/non-critical-search-styles.min.css?ver=2.0.73","back_to_top":"https:\/\/awakenpittsburgh.org\/wp-content\/themes\/blocksy\/static\/bundle\/back-to-top.min.css?ver=2.0.73"},"dynamic_styles_selectors":[{"selector":".ct-header-cart, #woo-cart-panel","url":"https:\/\/awakenpittsburgh.org\/wp-content\/themes\/blocksy\/static\/bundle\/cart-header-element-lazy.min.css?ver=2.0.73"},{"selector":".flexy","url":"https:\/\/awakenpittsburgh.org\/wp-content\/themes\/blocksy\/static\/bundle\/flexy.min.css?ver=2.0.73"},{"selector":".ct-media-container[data-media-id], .ct-dynamic-media[data-media-id]","url":"https:\/\/awakenpittsburgh.org\/wp-content\/plugins\/blocksy-companion-pro\/framework\/premium\/static\/bundle\/video-lazy.min.css?ver=2.0.73"},{"selector":"#account-modal","url":"https:\/\/awakenpittsburgh.org\/wp-content\/plugins\/blocksy-companion-pro\/static\/bundle\/header-account-modal-lazy.min.css?ver=2.0.73"},{"selector":".ct-header-account","url":"https:\/\/awakenpittsburgh.org\/wp-content\/plugins\/blocksy-companion-pro\/static\/bundle\/header-account-dropdown-lazy.min.css?ver=2.0.73"}]};