<% if head.google_site_verification %>
/>
<% end %>
<%= page_title %>
<% if head.description %>
<% end %>
<%
# Note: We use a different API Key for fontend since Bugsnag gives different project options
# depending on the technology that was chosen for the product.
%>
<% if ENV['BUGSNAG_JS_API_KEY'] %>
<% if ['staging', 'production'].include? Rails.env %>
<% end %>
<% end %>
<% if ENV['SEGMENT_WRITE_KEY'] %>
<% end %>
<% if ENV['GOOGLE_ANALYTICS_TRACKING_ID'] %>
<% end %>
<% if ENV['GOOGLE_TAG_MANAGER_ID'] %>
<% end %>
<% if ENV['HOTJAR_ID'] %>
<% end %>
<% if content_for? :canonical %>
/>
<% else %>
<% end %>
<% if content_for? :header_img_url %>
<% else %>
<% end %>
<% if content_for? :title %>
<% else %>
<% end %>
<% if content_for? :description %>
<% else %>
<% end %>
<%= javascript_include_tag 'application', defer: true %>
<%= javascript_packs_with_chunks_tag 'application', defer: true %>
<% if ENV['ENVIRONMENT_SCRIPTS'] %>
<%= ENV['ENVIRONMENT_SCRIPTS'].html_safe %>
<% end %>
<% if ENV['ADOBE_LAUNCH_URL'] %>
<% end %>
<%= stylesheet_pack_tag 'application', preload: true %>
<%= stylesheet_link_tag 'application', preload: true %>
<%= javascript_include_tag 'https://www.google.com/recaptcha/api.js', async: true, defer: true %>
<% if ENV['ALLOW_ROBOTS'].nil? || ENV['ALLOW_ROBOTS'] != 'true' %>
<% end %>
>
>
/>
/>
<% if search_enabled? %>
<% ALGOLIA_CONFIG.keys.each do |index| %>
<% end %>
<% end %>
<%= csrf_meta_tags %>