1(function(){if(window.__onlyPageBackButtonInit)return;window.__onlyPageBackButtonInit=!0;var INTERNAL_NAV_KEY="only_has_internal_nav";function getHomeUrl(){var config=document.getElementById("page-back-button-config");if(!config)return"/";try{return JSON.parse(config.textContent).homeUrl||"/"}catch(e){return"/"}}function markInternalNavigation(){try{sessionStorage.setItem(INTERNAL_NAV_KEY,"1")}catch(e){}}function hasInternalBrowsingHistory(){try{return sessionStorage.getItem(INTERNAL_NAV_KEY)==="1"&&window.history.length>1}catch(e){return window.history.length>1}}(function(){if(document.referrer)try{var cur=new URL(window.location.href),ref=new URL(document.referrer);if(ref.origin!==cur.origin)return;ref.pathname+ref.search!==cur.pathname+cur.search&&markInternalNavigation()}catch(e){}})(),document.addEventListener("click",function(event){var link=event.target.closest("a[href]");if(!(!link||link.target==="_blank"))try{var next=new URL(link.href,window.location.origin),cur=new URL(window.location.href);if(next.origin!==cur.origin||next.pathname+next.search===cur.pathname+cur.search)return;markInternalNavigation()}catch(e){}},!0);function bindButtons(){var homeUrl=getHomeUrl(),buttons=document.querySelectorAll("[data-page-back-button]:not([data-page-back-button-bound])");buttons.forEach(function(backButton){backButton.setAttribute("data-page-back-button-bound","true"),backButton.addEventListener("click",function(){hasInternalBrowsingHistory()?window.history.back():window.location.href=homeUrl})})}function init(){bindButtons()}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",init):init(),document.addEventListener("shopify:section:load",init)})(); 2//# sourceMappingURL=/cdn/shop/t/85/assets/page-back-button.js.map?v=93750427367071975771783492824
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.