1import{l as t,H as n,s as o,D as i}from"./index-CdokW4R4.js";/** 2 * @license lucide-react v1.17.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */const c=[["path",{d:"M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z",key:"oz39mx"}],["path",{d:"m9 10 2 2 4-4",key:"1gnqz4"}]],m=t("bookmark-check",c);/** 7 * @license lucide-react v1.17.0 - ISC 8 * 9 * This source code is licensed under the ISC license. 10 * See the LICENSE file in the root directory of this source tree. 11 */const d=[["path",{d:"M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z",key:"oz39mx"}]],l=t("bookmark",d);function u({type:a,slug:s,title:r,author:k}){const e=n(a,s);return o.jsxs("button",{type:"button",className:"bookmark-btn"+(e?" is-saved":""),onClick:()=>i({type:a,slug:s,title:r,author:k}),"aria-pressed":e,title:e?"Aus der Merkliste entfernen":"Zur Merkliste hinzufügen",children:[o.jsx("span",{className:"bookmark-btn-icon","aria-hidden":"true",children:e?o.jsx(m,{size:16,strokeWidth:2}):o.jsx(l,{size:16,strokeWidth:2})}),e?"Gemerkt":"Merken"]})}export{u 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.