1import{y as u,U as C,g as t,c as a,o as i,d as m,z as f,u as g,B as h,h as p,w as v,f as x,t as w}from"./CjXW0tVs.js";import{G as _}from"./Bkk41BO9.js";import"./D4RB4MK1.js";const k={__name:"HeartIcon",props:["styles"],setup(n){const r=n,{styles:s}=u(r);return C(()=>{t(s)}),(l,e)=>(i(),a("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:f(t(s))},[...e[0]||(e[0]=[m("path",{d:"M19.5001 12.5719L12.0001 19.9999L4.50006 12.5719C4.00536 12.0905 3.6157 11.5119 3.3556 10.8726C3.09551 10.2332 2.97062 9.54688 2.98879 8.85687C3.00697 8.16685 3.16782 7.48807 3.46121 6.86327C3.75461 6.23847 4.17419 5.68119 4.69354 5.22651C5.21289 4.77184 5.82076 4.42962 6.47887 4.22141C7.13697 4.01321 7.83106 3.94352 8.51743 4.01673C9.20379 4.08995 9.86756 4.30449 10.4669 4.64684C11.0663 4.98919 11.5883 5.45193 12.0001 6.00593C12.4136 5.45595 12.9362 4.99725 13.5352 4.65854C14.1341 4.31982 14.7966 4.10838 15.481 4.03745C16.1654 3.96652 16.8571 4.03763 17.5128 4.24632C18.1685 4.45502 18.7741 4.79681 19.2916 5.2503C19.8091 5.70379 20.2275 6.25922 20.5205 6.88182C20.8135 7.50443 20.9748 8.18082 20.9944 8.86864C21.0139 9.55647 20.8913 10.2409 20.6342 10.8792C20.3771 11.5174 19.991 12.0958 19.5001 12.5779",stroke:"#262626","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)])],2))}},y={key:0,class:"absolute opacity-80 bg-neutral-200 rounded-full w-5 h-5 -top-3 -right-3 leading-5 text-xs font-medium text-black group-hover:text-neutral-800"},O={__name:"FavoritesIcon",props:["counter"],emits:["changeIsFavoritesOpen"],setup(n,{emit:r}){const{t:s}=g(),l=n,{counter:e}=u(l),c=r;return h(e,()=>{e===0&&c("changeIsFavoritesOpen",!1)}),(b,o)=>{const d=k;return i(),a("div",null,[p(t(_),{disabled:t(e)===0,class:"group flex justify-center items-center relative cursor-pointer",onClick:o[0]||(o[0]=I=>c("changeIsFavoritesOpen")),title:t(s)("global.Favorites")},{default:v(()=>[p(d,{styles:"h-6 w-6 flex-shrink-0 text-base group-hover:text-neutral-500"}),t(e)>0?(i(),a("span",y,w(t(e)),1)):x("",!0),o[1]||(o[1]=m("span",{class:"sr-only"},"items in favorites, view bag",-1))]),_:1},8,["disabled","title"])])}}};export{O as default};
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.