<?php $html_id = pxl_get_element_id($settings); ?>
<div class="pxl-particle pxl-particle1">
	<div id="<?php echo esc_attr($html_id); ?>" class="pxl-item--particle <?php echo esc_attr($settings['type_position'].' '.$settings['particle_effect']); ?>" <?php if($settings['particle_effect'] == 'move-parallax') { ?>data-move="<?php echo esc_attr($settings['parallax_move']); ?>"<?php } ?>>
		<?php if(!empty($settings['particle']['id']) && $settings['particle_effect'] != 'slide-draw-svg'):
			$particle = pxl_get_image_by_size( array(
				'attach_id'  => $settings['particle']['id'],
				'thumb_size' => 'full',
				'class'      => $settings['pxl_animate']
			) );
			$particle_thumbnail = $particle['thumbnail'];
			echo wp_kses_post($particle_thumbnail); ?>
		<?php endif; ?>
		<?php if(!empty($settings['pxl_icon']) && $settings['particle_effect'] == 'slide-draw-svg'):
			$is_new = \Elementor\Icons_Manager::is_migration_allowed();
			if ( $is_new ) {
				\Elementor\Icons_Manager::render_icon( $settings['pxl_icon'], [ 'aria-hidden' => 'true' ] );
			} ?>
		<?php endif; ?>
	</div>
</div>
