PageSourceSearch

https://honchosearch.com/cdn/shopifycloud/checkout-web/assets/c1/crypto-constants.BBKCG06j.js

js honchosearch.com collected 2026-09-30 11:38:14 UTC 4,122 bytes, 1 lines download raw bytes

1import{T as R,u as e,S,k as B,A as v,h as b,q as y,g as D}from"./esnext-vendor.7EcvH7tF.js";import{b as U,a as z}from"./Choice.BnQD4sDK.js";import{m as H,k as M,B as T,P as F,f2 as I,aU as Q,L as W}from"./hydrate.DbBIWEk-.js";import{cp as Y,Q as A}from"./utilities-previous.C42MP_Mw.js";import{u as $}from"./localization-index.DeoiIICN.js";const j="MsV8u",q={Title:j};function pe(o){const{title:t,titleHidden:r,selectedContentBackground:i,...u}=o,l=$(),d=R(()=>l?{border:"none",spacing:"none",background:"transparent",backgroundSelected:"base",selectedContentBackground:"selected",selectedContentTransitionProperties:["height","opacity"]}:{...i&&{selectedContentBackground:i}},[l,i]),p=t&&(r?e("legend",{className:Y({screenReaders:"only"}),children:t}):e("legend",{className:q.Title,children:e(H,{level:3,accessibilityRole:"presentation",children:t})}));return e(M,{children:e(G,{id:u.name,title:t,children:[p,e(U,{...d,children:e(z,{...u,variant:"block"})})]})})}function G({id:o,title:t,children:r}){return o?t?e("fieldset",{id:o,children:r}):e("div",{id:o,children:r}):e(S,{children:r})}function me({children:o}){const t=A().checkout.configuration.layout.isOnePage.value;return e(T,{background:t?"subdued":void 0,border:t?void 0:"base",borderRadius:"base",padding:`${t?"large-100":"base"} ${t?"large-100":"large-500"}`,children:e(M,{gap:"small-200",alignItems:"center",children:o})})}function ge({children:o}){return e(T,{maxInlineSize:"64px",maxBlockSize:"64px",inlineSize:"100%",blockAlignment:"center",inlineAlignment:"center",children:o})}function fe({children:o}){const t=A().checkout.configuration.layout.isOnePage.value;return e(F,{color:t?"subdued":void 0,textAlign:t?void 0:"center",children:o})}const V="_1gj5H",Z="QhZg2",J="_7cUDh",K="m110w",X="Ep6aM",ee="_6Qz8P",te="iugcG",s={incentiveBadge:V,shimmer:Z,giftIconOnly:J,tooltipWrapper:K,tooltipPopover:X,tooltipArrow:ee,incentiveBadgeTooltipContent:te},oe=150,ne=300,re=3;function ie(){return typeof window>"u"||typeof window.matchMedia!="function"?!0:window.matchMedia("(hover: hover)").matches}function he({notice:o,selected:t,showTitleWhenUnselected:r,...i}){const[u,l]=B(!1),[d,p]=B(!1),k=v(null),w=v(null),m=v("hover"),c=v(),a=v();b(()=>{if(t){l(!0);const n=setTimeout(()=>{l(!1)},800);return()=>clearTimeout(n)}},[t]);const O=!!o.additionalInfo,g=y(()=>{c.current&&(clearTimeout(c.current),c.current=void 0)},[]),f=y(()=>{a.current&&(clearTimeout(a.current),a.current=void 0)},[]),h=y(()=>{g(),f(),m.current="hover",p(!1)},[f,g]);b(()=>()=>{c.current&&clearTimeout(c.current),a.current&&clearTimeout(a.current)},[]),b(()=>{(!O||t)&&h()},[O,t,h]),b(()=>{if(!d)return;const n=P=>{P.target instanceof Node&&!k.current?.contains(P.target)&&!w.current?.contains(P.target)&&h()};return document.addEventListener("click",n),()=>{document.removeEventListener("click",n)}},[d,h]);const C=n=>{g(),f(),m.current=n,p(!0)},N=()=>{ie()&&(g(),f(),c.current=setTimeout(()=>{C("hover"),c.current=void 0},oe))},E=()=>{m.current!=="click"&&(g(),f(),a.current=setTimeout(()=>{m.current="hover",p(!1),a.current=void 0},ne))},_=n=>{n.preventDefault(),n.stopPropagation(),C("click")},x=n=>{n.preventDefault(),n.stopPropagation()},L=t||r?e(T,{className:D(s.incentiveBadge,{[s.shimmer]:u}),children:e(I,{...i,icon:t?"gift":void 0,children:o.title})}):e(T,{className:s.giftIconOnly,children:e(I,{...i,icon:"gift",tone:"accent",size:"small"})});return O?e(S,{children:[e("div",{ref:k,className:s.tooltipWrapper,onMouseEnter:N,onMouseLeave:E,onMouseDownCapture:t?void 0:h,onTouchEnd:t?_:void 0,onClick:t?x:void 0,children:L}),d&&k.current?e(Q,{activator:k.current,offset:re,positionArea:"block-start",children:e("div",{ref:w,className:s.tooltipPopover,role:"tooltip",onMouseEnter:()=>C(m.current),onMouseLeave:E,children:[e(T,{className:s.incentiveBadgeTooltipContent,children:[o.additionalInfo,o.terms&&o.termsUrl?e(S,{children:[" ",e(W,{href:o.termsUrl,accessibilityLabel:o.terms,children:o.terms})]}):null]}),e("div",{className:s.tooltipArrow})]})}):null]}):L}const ve="https://www.shopify.com/legal/usdc-rewards-terms";export{pe as C,me as E,he as I,ve as U,ge as a,fe as b};

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.