<?php 
$template = (int)$widget->get_setting('content_template','0');
if($template > 0 ){
	if ( !has_action( 'pxl_anchor_target_hidden_panel_'.$template) ){
		add_action( 'pxl_anchor_target_hidden_panel_'.$template, 'breeza_hook_anchor_hidden_panel' );
	} 
}
?>
<div class="pxl-anchor-button pxl-hidden-panel-button pxl-cursor--cta <?php echo esc_attr($settings['style'].' '.$settings['pxl_animate']); ?> <?php if($template == '1') { echo 'pxl-anchor-mobile-menu'; } ?>" data-target=".pxl-hidden-template-<?php echo esc_attr($template); ?>" data-delay-hover="<?php echo esc_attr($settings['pxl_close_animate_delay']); ?>" data-wow-delay="<?php echo esc_attr($settings['pxl_animate_delay']); ?>ms">
	<?php if($settings['icon_type'] == 'default') { ?>
		<span class="pxl-icon-round">
			<span class="pxl-icon-round1"></span>
			<span class="pxl-icon-round2"></span>
			<span class="pxl-icon-round3"></span>
			<span class="pxl-icon-round4"></span>
			<span class="pxl-icon-round5"></span>
			<span class="pxl-icon-round6"></span>
			<span class="pxl-icon-round7"></span>
			<span class="pxl-icon-round8"></span>
			<span class="pxl-icon-round9"></span>
		</span>
	<?php } elseif(!empty($settings['pxl_icon']['value'])) { ?>
		<?php \Elementor\Icons_Manager::render_icon( $settings['pxl_icon'], [ 'aria-hidden' => 'true', 'class' => '' ], 'i' ); ?>
	<?php } ?>
</div>