PageSourceSearch

https://www.myprotein.com/ssr-assets/HeaderFooter.astro_astro_type_script_index_1_lang.CyQTVzOE.js

js myprotein.com collected 2026-10-02 02:27:15 UTC 1,146 bytes, 1 lines download raw bytes

1import{c,d}from"./addToBasket.DjTXkdxA.js";import{r as u}from"./index.Ce1os6Eb.js";import"./formatPriceBasedOnLocale.B7ITJ6ey.js";import"./init-quantity-selector.kuOM4ZgD.js";import"./session.B9jEf57M.js";import"./jsonParse.DmCFq1Ah.js";async function w(e,t){if(!(window?.tenantConfig?.application?.features?.enableFlyoutBasket||window.__EXPERIMENTMAP__?.mini_basket_experiment==="v1|miniBasketFlyout"))return!1;try{const r=new URL(t,window.location.origin),n=r.searchParams.get("buylist"),l=r.searchParams.get("rctxt");if(!n)return!1;e.preventDefault(),e.stopPropagation();const a=u(n);if(!a||a.length===0)return console.warn("No valid items in buylist:",n),!0;if(!await c(a,!1,void 0,l))return window.location.assign(t),!0;try{document.getElementById("drawer-container")?.open||await d()}catch(o){console.error("Error showing flyout basket:",o);const i=new URL(t,window.location.origin);i.search="",window.location.assign(i.toString())}return!0}catch(r){return console.error("Error handling buylist click:",r),!1}}document.addEventListener("click",async e=>{const t=e.target.closest('a[href*="buylist="]');!t||await w(e,t.href)},{passive:!1});

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.