1import{a as $}from"/build/_shared/chunk-JHY7SVQQ.js";import{c as S}from"/build/_shared/chunk-PE2RAMGK.js";import{a as g}from"/build/_shared/chunk-I5UT2UAU.js";import{c as b}from"/build/_shared/chunk-7OOGFDHZ.js";import{a as H}from"/build/_shared/chunk-DEVQKMWM.js";import{a as D}from"/build/_shared/chunk-5OBEDPFR.js";import{a as K}from"/build/_shared/chunk-H6S7FWVP.js";import{d}from"/build/_shared/chunk-T36URGAI.js";var L=d(K());var r={paths:'<path d="M20.2126 23H4.78742C3.57678 23 2.64372 21.9329 2.80531 20.7331L4.72222 6.50003H20.2778L22.1947 20.7331C22.3563 21.9329 21.4232 23 20.2126 23Z" stroke="white"/><path d="M16.3891 9.8V4.88889C16.3891 2.74111 14.648 1 12.5002 1V1C10.3524 1 8.61133 2.74111 8.61133 4.88889V9.8" stroke="white" stroke-linecap="round"/>'};var h={paths:'<path d="M10 5H22L19 13.5H6L3.42759 4.9253C3.1738 4.07934 2.38322 3.5 1.5 3.5V3.5" stroke="white" stroke-linecap="round"/><circle cx="16.5" cy="19.5" r="2.5" stroke="white" stroke-linecap="round"/><circle cx="8.5" cy="19.5" r="2.5" stroke="white" stroke-linecap="round"/>'};var a={paths:'<path d="M11.5 7.99998V11.9296C11.5 12.5983 11.8342 13.2228 12.3906 13.5937L14.5 15" stroke="white" stroke-linecap="round"/><path d="M5 12L3 14L1 12" stroke="white" stroke-linecap="round" stroke-linejoin="round"/><path d="M4.08117 7.29278L3.65675 7.02845L4.08117 7.29278ZM9.0482 3.43902L8.89599 2.96275L9.0482 3.43902ZM17.2336 19.2821L16.9426 18.8755L17.2336 19.2821ZM11.1487 20.9722L11.11 21.4707L11.1487 20.9722ZM5.75844 18.0078C5.56174 17.814 5.24517 17.8163 5.05135 18.013C4.85754 18.2097 4.85987 18.5263 5.05657 18.7201L5.75844 18.0078ZM3.66087 14.0243C3.49791 13.0059 3.44425 11.8043 3.56786 10.6421C3.692 9.4749 3.99109 8.38323 4.50559 7.5571L3.65675 7.02845C3.03392 8.02854 2.70667 9.28389 2.57347 10.5363C2.43973 11.7937 2.49773 13.0843 2.67343 14.1823L3.66087 14.0243ZM4.50559 7.5571C5.57956 5.83261 7.24381 4.54059 9.20041 3.91529L8.89599 2.96275C6.71569 3.65954 4.85744 5.1005 3.65675 7.02845L4.50559 7.5571ZM9.20041 3.91529C11.1571 3.28996 13.2762 3.37307 15.1761 4.14945L15.5544 3.22376C13.437 2.35848 11.0762 2.26601 8.89599 2.96275L9.20041 3.91529ZM15.1761 4.14945C17.0758 4.92578 18.6303 6.3437 19.5617 8.14642L20.4501 7.68741C19.4085 5.6712 17.6719 4.08909 15.5544 3.22376L15.1761 4.14945ZM19.5617 8.14642C20.493 9.94896 20.7408 12.019 20.2613 13.9848L21.2328 14.2218C21.7697 12.021 21.4919 9.70379 20.4501 7.68741L19.5617 8.14642ZM20.2613 13.9848C19.7817 15.9508 18.6057 17.6853 16.9426 18.8755L17.5246 19.6887C19.3804 18.3606 20.696 16.4225 21.2328 14.2218L20.2613 13.9848ZM16.9426 18.8755C15.2793 20.0658 13.2386 20.6329 11.1874 20.4737L11.11 21.4707C13.3944 21.648 15.6689 21.0166 17.5246 19.6887L16.9426 18.8755ZM11.1874 20.4737C9.13625 20.3144 7.21137 19.4394 5.75844 18.0078L5.05657 18.7201C6.67889 20.3186 8.8255 21.2933 11.11 21.4707L11.1874 20.4737Z" fill="white"/>'};var s={paths:'<path d="M23.0632 10.8276C23.3444 11.1491 23.5 11.5669 23.5 12.0001C23.5 12.4332 23.3444 12.851 23.0632 13.1726C21.2829 15.1501 17.2305 19.0001 12.5 19.0001C7.76947 19.0001 3.71715 15.1501 1.93684 13.1726C1.65565 12.851 1.5 12.4332 1.5 12.0001C1.5 11.5669 1.65565 11.1491 1.93684 10.8276C3.71715 8.85007 7.76947 5.00006 12.5 5.00006C17.2305 5.00006 21.2829 8.85007 23.0632 10.8276Z" stroke="white" stroke-linecap="round" stroke-linejoin="round"/><path d="M12.5004 15.1109C14.3733 15.1109 15.8915 13.7181 15.8915 11.9999C15.8915 10.2817 14.3733 8.88879 12.5004 8.88879C10.6276 8.88879 9.10938 10.2817 9.10938 11.9999C9.10938 13.7181 10.6276 15.1109 12.5004 15.1109Z" stroke="white" stroke-linecap="round" stroke-linejoin="round"/>'};var c={paths:'<path d="M13.7007 10.0502C13.1118 10.7529 12.7525 11.6192 12.6713 12.5324C12.5901 13.4456 12.791 14.3617 13.2467 15.1572C13.6497 15.1868 14.0489 15.0628 14.3643 14.8102C14.6796 14.5576 14.8877 14.195 14.9467 13.7952C15.5501 14.125 16.0468 14.6201 16.3786 15.2223C16.7104 15.8246 16.8634 16.509 16.8197 17.1952C16.8202 17.732 16.715 18.2636 16.51 18.7596C16.305 19.2557 16.0043 19.7065 15.6251 20.0864C15.2458 20.4662 14.7954 20.7675 14.2997 20.9733C13.8039 21.179 13.2725 21.285 12.7357 21.2852C11.6568 21.2707 10.6262 20.8357 9.86318 20.0727C9.10021 19.3098 8.66518 18.2791 8.65068 17.2002C8.51421 15.6043 8.94616 14.0115 9.87021 12.7032C10.7943 11.3949 12.151 10.4552 13.7007 10.0502Z" stroke="white" stroke-linecap="round" stroke-linejoin="round"/>
1<path d="M5.11424 7.142H5.42924L7.68524 9.96196C8.5396 7.35671 8.42994 4.53124 7.37624 2C9.34044 2.09887 11.2463 2.70073 12.911 3.74787C14.5758 4.79501 15.9435 6.25231 16.8832 7.98L18.9292 5.987C20.1246 7.20731 20.948 8.74266 21.3032 10.4136C21.6584 12.0845 21.5308 13.822 20.9352 15.4231C20.3396 17.0241 19.3006 18.4226 17.9397 19.4551C16.5788 20.4876 14.9521 21.1114 13.2498 21.2538C11.5475 21.3961 9.83984 21.051 8.32637 20.2588C6.8129 19.4666 5.55614 18.2601 4.70294 16.7802C3.84975 15.3002 3.43535 13.608 3.50819 11.9013C3.58102 10.1946 4.13806 8.54386 5.11424 7.142Z" stroke="white" stroke-linecap="round" stroke-linejoin="round"/>'};var M={paths:'<path d="M4.91037 22.917L4.91046 22.9169L4.90102 22.9099C4.80097 22.8356 4.74143 22.7434 4.71613 22.6066C4.69475 22.456 4.71326 22.2288 4.81371 21.9047L7.11641 15.0226L7.23328 14.6733L6.93433 14.4581L1.05998 10.23C0.781487 10.0254 0.627325 9.84884 0.552305 9.70936C0.490966 9.58869 0.48607 9.48772 0.524625 9.37523L0.524711 9.37526L0.527621 9.36621C0.56264 9.25733 0.625904 9.17714 0.745359 9.11249C0.883401 9.04193 1.10577 8.98983 1.44749 8.99655L1.44749 8.99661L1.45493 8.99664L8.67925 9.03131L9.04718 9.03308L9.1583 8.68232L11.3464 1.77542C11.4556 1.44789 11.5768 1.25123 11.6858 1.14193L11.6859 1.14201L11.6929 1.13463C11.7884 1.03486 11.8791 1 11.9885 1C12.1222 1 12.2179 1.04151 12.3071 1.13463L12.307 1.13471L12.3142 1.14193C12.4232 1.25123 12.5444 1.44789 12.6536 1.77543L14.8417 8.68232L14.9528 9.03308L15.3207 9.03131L22.5451 8.99664V8.9967L22.5527 8.99655C22.8872 8.98984 23.1072 9.0421 23.2461 9.11402C23.3759 9.18122 23.439 9.26231 23.4724 9.36621L23.4723 9.36623L23.4754 9.37523C23.5139 9.48772 23.509 9.58871 23.4477 9.70938C23.3727 9.84886 23.2185 10.0254 22.94 10.23C22.9394 10.2305 22.9388 10.2309 22.9382 10.2314L17.0657 14.4581L16.7672 14.6729L16.8834 15.0219L19.1762 21.9089C19.1762 21.909 19.1762 21.9091 19.1762 21.9092C19.285 22.2364 19.2993 22.4578 19.2739 22.5981L19.2724 22.6064L19.2711 22.6147C19.2515 22.7489 19.1969 22.8371 19.099 22.9099L19.0989 22.9098L19.0896 22.917C18.995 22.9908 18.9044 23.014 18.7814 22.9922C18.6229 22.9642 18.406 22.871 18.126 22.6655L12.2848 18.3671L11.9879 18.1486L11.6914 18.3677L5.87403 22.6655C5.87376 22.6657 5.87349 22.6659 5.87323 22.6661C5.59356 22.8712 5.37694 22.9642 5.21855 22.9922C5.09557 23.014 5.005 22.9908 4.91037 22.917Z" stroke="white"/>'};var l={paths:'<path fill-rule="evenodd" clip-rule="evenodd" d="M6.5 3V1.5C6.5 0.671573 7.17157 0 8 0H17C17.8284 0 18.5 0.671573 18.5 1.5V3H21.1479C21.8988 3 22.5448 3.56062 22.465 4.30727C22.2854 5.98532 21.3811 8.22226 18.7619 9.50397C18.6636 9.55206 18.564 9.5796 18.466 9.58912C18.2179 11.7245 16.6367 13.4948 14.5 14.187V19.1961C16.4577 19.596 18.1944 20.6312 18.7853 22.5205C19.0325 23.3111 18.3286 24 17.5001 24H7.49986C6.67143 24 5.96746 23.3111 6.21475 22.5205C6.80563 20.6312 8.54228 19.596 10.5 19.1961V14.187C8.36326 13.4947 6.78203 11.7244 6.53401 9.58903C6.43635 9.57942 6.33705 9.5519 6.23911 9.50397C3.61987 8.22226 2.71551 5.98532 2.536 4.30727C2.45612 3.56062 3.10217 3 3.85308 3H6.5ZM17.5 9C17.5 11.4052 15.3451 13.5 12.5 13.5C9.65489 13.5 7.5 11.4052 7.5 9V8.67609C7.50032 8.66564 7.50048 8.65514 7.50048 8.6446V4C7.50048 3.98953 7.50032 3.97909 7.5 3.9687V1.5C7.5 1.22386 7.72386 1 8 1H17C17.2761 1 17.5 1.22386 17.5 1.5V9ZM6.5 4H3.85308C3.72131 4 3.62263 4.05022 3.57231 4.0981C3.54895 4.12033 3.53909 4.13861 3.53491 4.14941C3.53149 4.15822 3.52732 4.17287 3.53032 4.20089C3.67873 5.5881 4.40051 7.40908 6.5 8.51503V4ZM13.5 14.424C13.1748 14.474 12.8407 14.5 12.5 14.5C12.1593 14.5 11.8252 14.474 11.5 14.424V19.0475C11.8329 19.0155 12.1677 19 12.5 19C12.8323 19 13.1671 19.0155 13.5 19.0475V14.424ZM17.5001 23C17.6453 23 17.7573 22.9373 17.8092 22.8808C17.8206 22.8683 17.8273 22.8582 17.8309 22.8516C17.8345 22.8451 17.8354 22.8418 17.8354 22.8415C17.8354 22.8415 17.8354 22.8417 17.8354 22.8415C17.8354 22.8406 17.8352 22.8329 17.8308 22.819C17.2484 20.9565 15.0523 20 12.5 20C9.94769 20 7.75165 20.9565 7.16916 22.819C7.16481 22.8329 7.16458 22.8397 7.16455 22.8406C7.16456 22.8408 7.16455 22.8406 7.16455 22.8406C7.16462 22.8409 7.16549 22.8451 7.16906 22.8516C7.17272 22.8582 7.17941 22.8683 7.19083 22.8808C7.24269 22.9373 7.35472 23 7.49986 23H17.5001ZM21.1479 4H18.5005V8.51529C20.6003 7.40936 21.3222 5.5882 21.4706 4.20089C21.4736 4.17287 21.4695 4.15822 21.4661 4.14941C21.4619 4.13861 21.452 4.12033 21.4287 4.0981C21.3783 4.05022 21.2797 4 21.1479 4Z" fill="white"/>'};var o=d(D()),P1=({id:v="",messageKey:p,message:t,forceSingleLine:i,style:A,containerClass:B,iconColour:C,iconStrokeColour:f,iconFillOpacity:m,iconClass:R,onDismiss:u,location:N,isMenswearCategory:E,hideIcon:j,textTransform:Q,customStyle:_})=>{var k,I,P,V,Z,T,w,x,y;let{env:t1}=b(),e=(0,L.useContext)(H),{trackUserInteraction:U}=S(),W=F=>{F.stopPropagation(),u&&u(p!=null?p:""),U({section:"social_proof",action:"close"})},q=(0,L.useMemo)(()=>new Map([["SLVP",{icon:h,multiLine:!1}],["SLVB",{icon:r,multiLine:!1}],["SLVA",{icon:s,multiLine:!1}],["QPH",{icon:c,multiLine:!0}],["QP",{icon:h,multiLine:!0}],["ATB",{icon:r,multiLine:!0}],["ATW",{icon:c,multiLine:!0}],["LPSP",{icon:a,multiLine:!0}],["LPMS",{icon:a,multiLine:!0}],["LPMP",{icon:a,multiLine:!0}],["CAP",{icon:s,multiLine:!0}],["RAP",{icon:s,multiLine:!0}],["SBS",{icon:l,multiLine:!1}],["LSQ",{icon:a,multiLine:!1}],["CBS",{icon:l,multiLine:!1}],["RVPC",{icon:M,multiLine:!1}],["RV5S",{icon:M,multiLine:!0}],["LVVW",{icon:s,multiLine:!1}],["LVATB",{icon:r,multiLine:!1}],["BNR",{icon:r,multiLine:!1}],["BBS",{icon:l,multiLine:!0}]]),[]);if(!t)return null;let{icon:z,multiLine:G}=(k=q.get(t==null?void 0:t.code))!=null?k:{},J=R||"flex items-center mr-3",O=B,n=((V=(P=(I=e.theming)==null?void 0:I.global)==null?void 0:P.taggstarIconOverride)==null?void 0:V[`${t==null?void 0:t.code}-${N}`])||((w=(T=(Z=e.theming)==null?void 0:Z.global)==null?void 0:T.taggstarIconOverride)==null?void 0:w[t==null?void 0:t.code]),X=` 2 taggstar-container 3 flex flex-row items-center backdrop-blur-xl h-full 4 ${Boolean(E&&(e==null?void 0:e.enableAlternateTaggstarMessage))?"taggstar-alt-active":""} 5`,Y=Q==="uppercase"?"uppercase":"";return(0,o.jsxs)("div",{"data-test-id":"social-proof-container",style:{...A,..._},className:`${X} ${O}`,children:[!j&&(0,o.jsx)("div",{"data-test-id":"social-proof-icon",className:J,children:n!=null&&n.url?(0,o.jsx)("img",{alt:"Social Proof",height:`${i?20:30}px`,width:`${i?20:30}px`,src:`${n==null?void 0:n.url}?w=${i?40:60}&ttl=2592000`}):(0,o.jsx)(g,{icon:(y=(x=n==null?void 0:n.icon)!=null?x:z)!=null?y:c,height:i?20:30,width:i?20:30,strokeColor:f!=null?f:void 0,fillColor:C!=null?C:void 0,fillOpacity:m!=null?m:void 0,className:"fill-transparent"})}),(0,o.jsx)("div",{"data-test-id":"social-proof-message","data-product-id":v,className:`leading-tight ${Y}`,children:(0,o.jsx)("span",{dangerouslySetInnerHTML:{__html:t.message.replace(/(<strong>)(.*?)(<\/strong>)/g,`<span class="font-medium ${G&&!i?"block":""} pr-1">$1$2$3</span>`)}})}),u&&(0,o.jsx)("button",{onClick:W,className:"ml-auto",children:(0,o.jsx)(g,{icon:$,fillColor:C||"white",className:"pointer-events-auto"})})]})};export{P1 as a};
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.