<?php
echo wp_kses_post( $before_widget );
if ( $title ) {
	echo wp_kses_post( $before_title ) . esc_html( $title ) . wp_kses_post( $after_title );
} ?>
<div class="ngg_slideshow widget">
	<?php
	// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Content is generated by internal slideshow renderer
	echo $out;
	?>
</div>
<?php echo wp_kses_post( $after_widget ); ?>
