1import{_ as f}from"./CUA6B74k.js";import{aS as p,dn as u,dz as b,aE as r,aB as m,aO as _,dg as s,d6 as y,aD as g,cp as n,av as h}from"./CoDBd4dE.js";import{u as w}from"./3FhWPnO9.js";import{u as C}from"./B9ztLfFd.js";import"./BrOtaoJz.js";import"./DUhqz8X9.js";import"./_kmVGW6d.js";import"./JHKMIyXT.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"d92897b25bafb6bbc33b5580114674006cdc9bf0"};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="70b24701-e43d-4bfa-9f18-6c79cffcda7b",e._sentryDebugIdIdentifier="sentry-dbid-70b24701-e43d-4bfa-9f18-6c79cffcda7b")}catch{}})();const k={class:"relative"},x={key:0,class:"absolute -top-1 -right-1 min-w-[18px] h-[18px] px-1 rounded-full border border-base bg-primary text-primary-on text-[11px] leading-none font-semibold flex items-center justify-center shadow-sm",role:"status","aria-live":"polite"},j=p({__name:"Cart",setup(e){const t=u(),a=w(),{cartVersion:i}=C(),c=b(),o=h(()=>t.basket?.lineItems?.length??0);function d(){i.value==="drawer"?a.open():c.push("/cart")}return(v,D)=>{const l=f;return n(),r("div",k,[m("button",{id:"cart-link",class:"btn btn-outline hover:opacity-90 btn-sm w-10 h-10 p-0","aria-label":"Cart",onClick:d},[_(l)]),s(o)>0?(n(),r("span",x,y(s(o)),1)):g("",!0)])}}});export{j as default};
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.