PageSourceSearch

https://www.biossance.com/ssr-assets/Layout.astro_astro_type_script_index_3_lang.BVdhmrKv.js

js biossance.com collected 2026-10-02 16:43:50 UTC 2,199 bytes, 1 lines download raw bytes

1import{g as h,i as p,h as r,j as u,k as g}from"./basket.B3ICJ1z6.js";import{g as n}from"./index.BqzFG1Jr.js";import"./index.D4P-I_8t.js";import"./trackingHelpers.Dff4Fqsb.js";import"./sideSheet.CnzolTvg.js";import"./announcer.D1aJMc3V.js";import"./index.rZQxnU_0.js";import"./gtmReviews.DM15Qbgu.js";import"./loyalty.CixpQc-h.js";import"./sideSheetSkeletons.DFkpnWXA.js";import"./index.CIwg00_m.js";import"./accordionItem.C9UV3yiT.js";import"./stickyUtils.CO6qpSCM.js";const o=new URLSearchParams(window.location.search),k=document.body.dataset.pagepath,d=document?.querySelectorAll("ai-personalised-recommendations");o.get("registrationSuccess")?(window.Tracker.store.set("account_registration_method",o.get("registrationMethod")),window.Tracker.store.set("user_id",o.get("userId"))):o.get("loginSuccess")&&window.Tracker.store.set("login_method",o.get("loginMethod"));const _=Array.isArray(window.__possibleWishlistSkus__)?window.__possibleWishlistSkus__:[],i=await h(_,{pagePath:k,hasWidget:d?.length>0}),t=i?.customer,f=i?.products,c=i?.basket;t?(await p(f,"",!1,!1),window.Tracker.store.pageInfo?(window.dataLayer=window?.dataLayer||[],window.dataLayer.push({event:"userDetails",visitorLoginState:"LOGGED_IN",visitorId:t?.id||t?.hashedEmail,visitorEmailAddress:t?.hashedEmail,visitorPhoneNumber:t?.hashedPhoneNumber??"unknown"}),window.Tracker.store.set("user_id",t?.hashedEmail)):window.__LOGIN__="LOGGED_IN",r(c?.id)):window.Tracker.store.pageInfo?(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"userDetails",visitorLoginState:"LOGGED_OUT",visitorId:"unknown",visitorEmailAddress:"unknown",visitorPhoneNumber:"unknown"})):window.__LOGIN__="LOGGED_OUT";if(n(`ElysiumBasket${window.tenantConfig?.application?.basketCookieName}_V6`))try{const e=n(`ElysiumBasket${window.tenantConfig?.application?.basketCookieName}_V6`),s=atob(e);r(s)}catch(e){console.error(e)}let w=0;const m=window.Tracker.getAllBasketItems(c);m?.forEach(e=>{w+=e.quantity});u(w);g(m);customElements.whenDefined("ai-personalised-recommendations").then(()=>{d.forEach(e=>{const s=e?.dataset?.widgetId,a=i?.page?.widgets?.find(l=>l.id===s);a?.aiPoweredRecommendations?.products?.length>0&&e?.render(a)})});

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.