
{% set depicteds_without_region_by_property_id = {} %}
{% for depicted in depicteds %}
{% if depicted.iiif_region %}
{{ depicted_div(depicted) }}
{% else %}
{% do depicteds_without_region_by_property_id.setdefault(depicted.property_id, []).append(depicted) %}
{% endif %}
{% endfor %}