document.addEventListener("DOMContentLoaded", function(){ window.addEventListener( 'load', function(){
	UAGBTableOfContents._run( {"mappingHeaders":[true,true,false,false,false,false],"scrollToTop":false,"makeCollapsible":false}, '.uagb-block-c1f4286c' );
} );
var ssLinksParent = document.querySelector( '.uagb-block-dca86e85' );
ssLinksParent?.addEventListener( 'keyup', function ( e ) {
var link = e.target.closest( '.uagb-ss__link' );
if ( link && e.keyCode === 13 ) {
	handleSocialLinkClick( link );
}
});

ssLinksParent?.addEventListener( 'click', function ( e ) {
var link = e.target.closest( '.uagb-ss__link' );
if ( link ) {
	handleSocialLinkClick( link );
}
});

function handleSocialLinkClick( link ) {
var social_url = link.dataset.href;
var target = "";
if ( social_url == "mailto:?body=" ) {
	target = "_self";
}
var request_url = "";
if ( social_url.indexOf("/pin/create/link/?url=") !== -1 ) {
	request_url = social_url + encodeURIComponent( window.location.href ) + "&media=" + 'https://bambooagile.eu/wp-content/uploads/2024/10/supply-chain-software-development.jpg';
} else {
	request_url = social_url + encodeURIComponent( window.location.href );
}
window.open( request_url, target );
}
 });