PageSourceSearch

https://aromantic.com/cdn/shop/t/429/assets/aro-search-page-new-query.js?v=163068967217712711941786455198

js aromantic.com collected 2026-10-09 17:52:48 UTC 1,407 bytes, 2 lines download raw bytes

1(function(){"use strict";function isOnSearchPage(){return/^\/search\/?$/.test(window.location.pathname)}function canAjax(){return!!(window.FacetFiltersForm&&typeof FacetFiltersForm.renderPage=="function")}function onSubmit(e){if(canAjax()){var form=e.currentTarget,input=form.querySelector('input[name="q"]');if(input){var q=(input.value||"").trim();if(q){var params=new URLSearchParams;params.set("q",q),form.querySelectorAll('select[name], input[type="hidden"][name]').forEach(function(el){el.name!=="q"&&el.value&&params.set(el.name,el.value)}),e.preventDefault();try{FacetFiltersForm.renderPage(params.toString(),null,!0);var searchFormEl=form.closest("search-form");searchFormEl&&typeof searchFormEl.close=="function"?searchFormEl.close():document.body.classList.remove("open-search"),input&&typeof input.blur=="function"&&input.blur()}catch(err){window.location.href="/search?"+params.toString()}}}}}function bindHeaderForms(){document.querySelectorAll('form[role="search"][action$="/search"]').forEach(function(form){form.__aroHijacked||form.closest("#ProductGridContainer")||(form.__aroHijacked=!0,form.addEventListener("submit",onSubmit))})}function init(){isOnSearchPage()&&bindHeaderForms()}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",init):init()})();
2//# sourceMappingURL=/cdn/shop/t/429/assets/aro-search-page-new-query.js.map?v=163068967217712711941786455198

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.