{% load static gtsettings %}
{% get_settings 'use_compress_static' as use_compress %}
{% get_define 'use_maps' as use_maps %}
{% get_define 'use_mdi' as use_mdi %}
{# Material Design Icons, opt-in: 347 KB of CSS plus a 403 KB woff2. Linked as #}
{# the vendor file rather than bundled, so the font stays a separate cached #}
{# request instead of being base64'd into the stylesheet by urlreplace. #}
{% if use_mdi %}
{% endif %}
{# Our own map styles, never behind the flag: without them .gt-map has no #}
{# height and a project that forgot use_maps gets a zero-pixel grey box. #}
{# Checkboxes, radios and switches. Never behind a flag and never bundled: it #}
{# is what draws every form control the library renders, and a project that #}
{# has to remember to link it would ship unstyled boxes. #}
{# The upload widgets: the drop surface, the progress bar and the two icon #}
{# actions. Their file input is transparent on purpose, so without this the #}
{# empty widget is a blank box. #}
{# Same reasoning: the dial of NumberKnobInput is this file, not a library. #}
{# PositionsGrid draws its rows with CSS grid, so without this file the cells #}
{# collapse into a stack and the irregular shape is lost. Same reasoning as #}
{# maps.css: never behind a define, because a broken grid is not a degraded #}
{# one. BreadcrumbNav only adds what Bootstrap's .breadcrumb does not cover. #}
{# Sizing for {% flag %}; under a kilobyte, and the artwork it positions comes #}
{# from the flags sprite view, so there is nothing to gate behind a define. #}
{# Same reasoning as maps.css: PDFViewerWidget is unusable without it -- the #}
{# canvas has no size and the controls no layout -- and a project that has to #}
{# remember to link a widget's own stylesheet will forget. #}
{% if use_compress == 'true' %}
{% get_define 'use_readonlywidgets' as use_readonlywidgets %}
{% if use_readonlywidgets %}
{% endif %}
{% if use_maps %}
{% endif %}
{% else %}
{% if use_maps %}
{% endif %}
{% endif %}