rewrite legacy png to svg if png file does not exist and svg file does -*/
			/**- and rewrite smartVISU svg with path to icons namespace if it exists -*/
			{% if ((pic matches '#^icons/../.*\.png$#' and not isfile(pic)) or (pic matches '#^icons/../.*\.svg$#' and noembed == 0)) and isfile(iconF ~ pic|slice(9,-4) ~ '.svg') %}
				{% if pic|slice(6, 2) != iconF|slice(-3, 2) %}
					{% set color = pic|slice(6, 2) %}
				{% endif %}
				{% set pic = '@icons/' ~ pic|slice(9,-4) ~ '.svg' %}
			{% endif %}
			
		