PageSourceSearch

https://www.harrys.com/assets/SanityLink-Ccy1BKfw.js

js harrys.com collected 2026-10-02 02:28:33 UTC 1,436 bytes, 2 lines download raw bytes

1import{j as m}from"./jsx-runtime-D_zvdyIk.js";import{r as $}from"./chunk-EPOLDU6W-Swgka7OG.js";import{d as y,L as h}from"./index-BA4hAz4b.js";import{l as v}from"./index-FtxLiSl1.js";const x=(e,r,a)=>({home:"/",page:`/pages/${r}`,product:`/products/${r}`,collection:`/shop/${r}`,shopPage:`/shop/${r}`,blogPillar:`/blog/${r}`,relativeLink:`/${(r==null?void 0:r.replace(/^\/+|\/+$/g,""))||""}${a?`#${a}`:""}`})[e]||`/${r}${a?`#${a}`:""}`,S=$.forwardRef(({link:e,className:r,onClick:a,children:o,label:d,analytics:i},p)=>{var l;const u=y();if(!e)return null;const f="ariaLabel"in e?e.ariaLabel:void 0,s=d||f||void 0,c=t=>{i&&v({...i}),a==null||a(t)};if(e._type==="linkInternal"||e._type==="navLinkInternal"&&e.documentType){let t=x(e.documentType,e.slug),n=e.params?new URLSearchParams(e.params).toString():void 0;if(e.documentType==="relativeLink"){const[L,b]=t.split("?");t=L,n=b||n}return(l=e.slug)!=null&&l.includes("signup/customize")&&u?null:m.jsx(h,{to:{pathname:t,hash:(e==null?void 0:e.hash)||void 0,search:n},className:r,prefetch:"intent",ref:p,onClick:c,"aria-label":s,children:o||e.label})}if(e._type==="linkExternal"||e._type==="navLinkExternal"&&e.url){const t=e.newWindow?{target:"_blank",rel:"noopener noreferrer"}:{};return m.jsx("a",{href:e.url,className:r,...t,ref:p,onClick:c,"aria-label":s,children:o||e.label})}return null});S.displayName="SanityLink";export{S,x as g};
2//# sourceMappingURL=SanityLink-Ccy1BKfw.js.map

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.