PageSourceSearch

https://lastlightcollection.com/cdn/shopifycloud/checkout-web/assets/c1/7bc8057b.BUn-23WY.js

js lastlightcollection.com collected 2026-10-06 08:00:31 UTC 2,220 bytes, 1 lines download raw bytes

1import{z as e,g as r,h as t,q as n,u as o,m as c,S as i}from"./2c1ab0fe.RaLGJvq2.js";import{aC as a,b as s,aD as u,L as l}from"./164ad2e3.bPUx3Fg0.js";const d="QhZg2";function m({notice:m,selected:h,showTitleWhenUnselected:v,...f}){const[p,w]=e(!1),[g,T]=e(!1),M=r(null),N=r(null),k=r("hover"),E=r(),L=r();t(()=>{if(h){w(!0);const e=setTimeout(()=>{w(!1)},800);return()=>clearTimeout(e)}},[h]);const b=Boolean(m.additionalInfo),D=n(()=>{E.current&&(clearTimeout(E.current),E.current=void 0)},[]),U=n(()=>{L.current&&(clearTimeout(L.current),L.current=void 0)},[]),y=n(()=>{D(),U(),k.current="hover",T(!1)},[U,D]);t(()=>()=>{E.current&&clearTimeout(E.current),L.current&&clearTimeout(L.current)},[]),t(()=>{b&&!h||y()},[b,h,y]),t(()=>{if(!g)return;const e=e=>{e.target instanceof Node&&!M.current?.contains(e.target)&&!N.current?.contains(e.target)&&y()};return document.addEventListener("click",e),()=>{document.removeEventListener("click",e)}},[g,y]);const j=e=>{D(),U(),k.current=e,T(!0)},z=()=>{"click"!==k.current&&(D(),U(),L.current=setTimeout(()=>{k.current="hover",T(!1),L.current=void 0},300))},C=o(s,h||v?{className:c("_1gj5H",{[d]:p}),children:o(a,{...f,icon:h?"gift":void 0,children:m.title})}:{className:"_7cUDh",children:o(a,{...f,icon:"gift",tone:"accent",size:"small"})});return b?o(i,{children:[o("div",{ref:M,className:"m110w",onMouseEnter:()=>{("undefined"==typeof window||"function"!=typeof window.matchMedia||window.matchMedia("(hover: hover)").matches)&&(D(),U(),E.current=setTimeout(()=>{j("hover"),E.current=void 0},150))},onMouseLeave:z,onMouseDownCapture:h?void 0:y,onTouchEnd:h?e=>{e.preventDefault(),e.stopPropagation(),j("click")}:void 0,onClick:h?e=>{e.preventDefault(),e.stopPropagation()}:void 0,children:C}),g&&M.current?o(u,{activator:M.current,offset:3,positionArea:"block-start",children:o("div",{ref:N,className:"Ep6aM",role:"tooltip",onMouseEnter:()=>j(k.current),onMouseLeave:z,children:[o(s,{className:"iugcG",children:[m.additionalInfo,m.terms&&m.termsUrl?o(i,{children:[" ",o(l,{href:m.termsUrl,accessibilityLabel:m.terms,children:m.terms})]}):null]}),o("div",{className:"_6Qz8P"})]})}):null]}):C}const h="https://www.shopify.com/legal/usdc-rewards-terms";export{m as I,h as U};

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.