{% block js %}
<script src="https://telegram.org/js/telegram-web-app.js"></script>
<script src="/js/modules/damper.mjs" type="module"></script>
<script src="/js/core.js"></script>
<script src="/js/modules/loader.mjs" type="module"></script>
<script src="/js/modules/telegram.mjs" type="module"></script>
<script src="/js/modules/session.mjs" type="module"></script>
<script src="/js/authentication.js"></script>
<script src="/js/telegram.js"></script>
{% if javascript is not empty %}
<script>
core.modules.connect("damper").then(() => {
	let _window;

	{% for code in javascript %}
		{{ code|raw }}
	{% endfor %}
});
</script>
{% endif %}
{% endblock %}
