<select class="filters-column" data-filters-target="column" data-action="filters#columnSelect">

 <option value="">
 <?php esc_html_e('Choose a column', 'independent-analytics'); ?>
 </option>

 <?php $__currentLoopData = $column_sections; $this->addLoop($__currentLoopData);$this->getFirstLoop();
 foreach($__currentLoopData as $section_name => $column_section): $loop = $this->incrementLoopIndices();  ?>
 <optgroup label="<?php echo \htmlentities(esc_attr($section_name . (($column_section['plugin_group'])->requires_pro() && iawp_is_free() ? ' (PRO)' : ''))??'', ENT_QUOTES, 'UTF-8', false); ?>">
 <?php $__currentLoopData = $column_section['columns']; $this->addLoop($__currentLoopData);$this->getFirstLoop();
 foreach($__currentLoopData as $column): $loop = $this->incrementLoopIndices();  ?>
 <?php if(!$column->is_group_plugin_enabled()): ?>
 <option disabled><?php echo \htmlentities(esc_html($column->name())??'', ENT_QUOTES, 'UTF-8', false); ?></option>
 <?php continue; ?>
 <?php endif; ?>

 <option value="<?php echo \htmlentities(esc_attr($column->id())??'', ENT_QUOTES, 'UTF-8', false); ?>"
 data-type="<?php echo \htmlentities(esc_attr($column->type())??'', ENT_QUOTES, 'UTF-8', false); ?>">
 <?php echo \htmlentities(esc_html($column->name())??'', ENT_QUOTES, 'UTF-8', false); ?>

 </option>
 <?php endforeach; $this->popLoop(); $loop = $this->getFirstLoop(); ?>
 </optgroup>
 <?php endforeach; $this->popLoop(); $loop = $this->getFirstLoop(); ?>
</select>