PageSourceSearch

https://northspore.com/cdn/shop/t/221/assets/CartHeader-Pcu_Sr8r.js

js northspore.com collected 2026-09-25 18:21:26 UTC 3,175 bytes, 3 lines download raw bytes

1import{j as e}from"./CheveronLeft-BLchON5X.js";import{u as p}from"./CartContext-CPmp6VK2.js";import{c as f}from"./index-C-Hu3FIm.js";import"./index-kA4PVysc.js";import"./useCartUpsells-oN76HI6E.js";import"./ShopifyCart-LdCOHsRZ.js";import"./tenderCoupons-ClMQo-uT.js";import"./tenderCoupon-B4fpH8v8.js";import"./events-Dm1k7AS7.js";const u=`<svg xmlns="http://www.w3.org/2000/svg" width="21" height="20" viewBox="0 0 21 20" fill="none">
2  <path d="M18.3257 0.230053C16.4856 0.183734 14.4475 3.44297 12.1694 6.20953C11.5714 6.91696 10.9651 7.59913 10.3798 8.22655C9.63864 7.40964 8.95647 6.64325 8.56486 6.18426C6.54363 3.68299 4.28659 0.684832 2.56854 0.642723C0.850497 0.600614 1.07367 1.59018 1.06104 2.07443C1.01472 3.91459 4.27396 5.95266 7.04052 8.23076C7.64688 8.74449 8.22799 9.25822 8.77962 9.76774C7.85743 10.6057 6.96893 11.4016 6.45941 11.8353C3.95814 13.8565 0.959981 16.1136 0.917872 17.8316C0.875762 19.5497 1.86532 19.3265 2.34958 19.3391C4.18974 19.3854 6.22781 16.1262 8.50591 13.3596C9.10807 12.6396 9.73128 11.949 10.3208 11.3173C11.2556 12.3448 12.1862 13.3765 12.6705 13.9449C14.6917 16.4462 16.9488 19.4444 18.6668 19.4865C20.3848 19.5286 20.1617 18.539 20.1743 18.0548C20.2206 16.2146 16.9614 14.1765 14.1948 11.8985C13.3695 11.2079 12.5863 10.492 11.8788 9.82669C12.8094 8.9803 13.7064 8.17602 14.2201 7.73808C16.7214 5.71685 19.7195 3.45981 19.7616 1.74177C19.8037 0.0237197 18.8142 0.246897 18.3299 0.234264L18.3257 0.230053Z" />
3</svg>`;function N(){const{closeCart:s,itemCount:n,subtotal:i}=p(),o=window.Cart?.enableFreeShippingMessage??!0,t=window.Cart?.freeShippingThreshold||75,r=i/100,l=Math.max(0,t-r),a=r>=t,c=Math.min(r/t*100,100),m=d=>new Intl.NumberFormat("en-US",{style:"currency",currency:"USD"}).format(d);return e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsxs("div",{className:"flex items-center content-center justify-between px-4 py-4 gap-x-column-gutter",children:[e.jsxs("div",{className:"font-heading flex items-center justify-start gap-x-4 content-center text-[2rem] leading-none sm:text-[2.25rem] font-extralight",children:["Your Cart",e.jsxs("div",{className:"font-serif text-[1.375rem] font-thin w-8 h-8 inline-flex items-center justify-center text-trip border-2 border-solid border-current group-data-[empty=true]:text-fungi rounded-full",children:[" ",n," "]})]}),e.jsx("button",{type:"button",className:"flex items-center justify-center w-12 p-[0.6875rem] h-12 **:fill-current",onClick:s,"aria-label":"Close cart",dangerouslySetInnerHTML:{__html:u}})]}),o&&e.jsxs("div",{className:"flex flex-col gap-2 px-4 pb-3",children:[e.jsx("div",{className:"text-sm leading-6 font-body",children:a?e.jsxs(e.Fragment,{children:["You qualify for ",e.jsx("span",{className:"font-bold",children:"free shipping!"})]}):e.jsxs(e.Fragment,{children:["You're ",e.jsxs("span",{className:"font-bold",children:[m(l)," away"]})," from free shipping"]})}),e.jsx("div",{className:f("relative w-full h-[10px]  rounded-full overflow-hidden",n>0?"bg-white":"bg-white/10"),children:e.jsx("div",{className:"absolute inset-y-0 left-0 transition-all duration-300 rounded-full bg-pink-oyster",style:{width:`${c}%`}})})]})]})}export{N as C};

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.