c = icon is iterable ? icon[loop.index0]|default(icon[0]) : icon %}
				{% if indicator is not empty and icon is iterable and icon|length > value|length %}
					{% set pic = [pic, pic]|merge([icon[icon|length-1]]) %}
				{% endif %}
				{{basic.stateswitch('', item, type|default('mini'), [val, val], pic, (text is iterable ? text[loop.index0]|default(text[0]) : text)|default(pic is empty ? val : ''), [color_on|default('icon1'), ''], indicator)}}
			{% endfor %}
		</div>
	{% endif %}
{% endmacro %}


/**
* Di