{"version":3,"file":"ArticleTableOfContents.C3vKFyLW.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","sharedStyle.className","className","sharedStyle.css","sharedStyle.fonts","useState","useState","useRef","useCallback","__esmMin","window","x","pe","te","init_ssg_sandbox_shims","init_npm_react_18_3_1","Ha","ce","init_jsx_runtime","oe","ne","J","init_npm_react_dom_18_3_1","c","p","_e","ie","de","motion","LayoutGroup","MotionConfigContext","init_framer_motion_DhsWWWsN","addPropertyControls","useVariantState","SVG","getFontsFromSharedStyle","init_framer_Cb9Z_4vX","cx","withCSS","RichText","Link","useLocaleInfo","useComponentViewport","addFonts","ControlType","useIsStaticRenderer","fonts","css$1","className","init_SKgHQYCd2","addPropertyOverrides","variants","nextOverrides","variant","overrides","enabledGestures","cycleOrder","serializationHash","variantClassNames","transition1","Transition","Variants","humanReadableVariantMap","getProps","createLayoutDependency","Component","css","FramerSSTqu90WG","init_SSTqu90WG","config","transition","value","contextValue","props","link","fallbackRef","refBinding","ref","defaultLayoutId","className$1","restProps","layoutDependency","scopingClassNames","layoutId","hhquRffY1","gestureHandlers","classNames","style","baseVariant","gestureVariant","IconCircle","newTab","label","borderColor","icon","iconColor","ArticleShareButtons","pageUrl","setPageUrl","canonicalUrl","encodedUrl","encodedTitle","title","links","ICONS","init_ArticleShareButtons","slugify","base","text","index","ArticleTableOfContents","isStatic","items","setItems","activeId","setActiveId","observerRef","intersectionObserverRef","placeholderRef","navRef","listRef","fade","setFade","navRect","setNavRect","navHeight","setNavHeight","mounted","setMounted","scan","container","targetId","headings","next","heading","io","visible","entries","entry","topMost","a","b","stickyOffset","observer","timeoutId","updatePosition","placeholder","placeholderRect","articleEl","articleBottom","currentNavHeight","stickyBound","top","usePinning","enableSticky","resizeObserver","updateFade","list","bottom","prev","listRect","linkRect","target","handleClick","event","id","displayItems","PLACEHOLDER_ITEMS","effectiveActiveId","navContent","maxHeightVh","headingColor","isActive","item","accentColor","linkColor","init_ArticleTableOfContents"],"sources":["https:/framerusercontent.com/modules/pHw6VwQV6qJyxW8GOryQ/4UNN4yzrjasrQQvGakyo/SSTqu90WG.js","https:/framerusercontent.com/modules/QbOSbV0Y7MYVyK0PEaM0/wmLuapUfvMsJe2ZJ34g8/ArticleShareButtons.js","https:/framerusercontent.com/modules/h2amtx8kU3vrPydaVjF9/df370QYYnQCZRNW0cRzN/ArticleTableOfContents.js"],"sourcesContent":["// Generated by Framer (befeeaf)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getFontsFromSharedStyle,Link,RichText,SVG,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import*as sharedStyle from\"https://framerusercontent.com/modules/tzngWnhfKfOCIb0WztMV/G4R8yNOhSf9v4qTVwn8V/SKgHQYCd2.js\";const enabledGestures={YmpNyYdZW:{hover:true}};const cycleOrder=[\"YmpNyYdZW\",\"bue8oKD9Z\"];const serializationHash=\"framer-Uc4R7\";const variantClassNames={bue8oKD9Z:\"framer-v-15qy1ju\",YmpNyYdZW:\"framer-v-172j0i5\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={delay:0,duration:.4,ease:[.44,0,.56,1],type:\"tween\"};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion.create(React.Fragment);const humanReadableVariantMap={Desktop:\"YmpNyYdZW\",Phone:\"bue8oKD9Z\"};const getProps=({height,id,link,width,...props})=>{return{...props,hhquRffY1:link??props.hhquRffY1,variant:humanReadableVariantMap[props.variant]??props.variant??\"YmpNyYdZW\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,hhquRffY1,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"YmpNyYdZW\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[sharedStyle.className];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(Link,{href:hhquRffY1,motionChild:true,nodeId:\"YmpNyYdZW\",scopeId:\"SSTqu90WG\",children:/*#__PURE__*/_jsxs(motion.a,{...restProps,...gestureHandlers,className:`${cx(scopingClassNames,\"framer-172j0i5\",className,classNames)} framer-11tzzz7`,\"data-framer-name\":\"Desktop\",layoutDependency:layoutDependency,layoutId:\"YmpNyYdZW\",ref:refBinding,style:{...style},...addPropertyOverrides({\"YmpNyYdZW-hover\":{\"data-framer-name\":undefined},bue8oKD9Z:{\"data-framer-name\":\"Phone\"}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsx(motion.div,{className:\"framer-hiiixu\",\"data-framer-name\":\"Icon Wrapper\",layoutDependency:layoutDependency,layoutId:\"GXnEMDB1Y\",children:/*#__PURE__*/_jsx(SVG,{className:\"framer-1u74nad\",\"data-framer-name\":\"Icon\",fill:'var(--token-20942a3f-7115-4428-8fd2-13b19f857ccf, rgb(26, 106, 89)) /* {\"name\":\"Green\"} */',intrinsicHeight:24,intrinsicWidth:24,layoutDependency:layoutDependency,layoutId:\"dQ0nJl10Q\",svg:'<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14M5 12l4-4m-4 4 4 4\"/></svg>',withExternalLayout:true})}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-1vzjsrk\",\"data-styles-preset\":\"SKgHQYCd2\",style:{\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-20942a3f-7115-4428-8fd2-13b19f857ccf, rgb(26, 106, 89)))\"},children:\"zur\\xfcck\"})}),className:\"framer-thsgub\",\"data-framer-name\":\"Button Text\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"zTOuR6kdI\",style:{\"--extracted-r6o4lv\":\"var(--token-20942a3f-7115-4428-8fd2-13b19f857ccf, rgb(26, 106, 89))\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},verticalAlignment:\"top\",withExternalLayout:true})]})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-Uc4R7.framer-11tzzz7, .framer-Uc4R7 .framer-11tzzz7 { display: block; }\",\".framer-Uc4R7.framer-172j0i5 { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 5px; height: min-content; justify-content: center; padding: 0px; position: relative; text-decoration: none; width: min-content; }\",\".framer-Uc4R7 .framer-hiiixu { align-content: center; align-items: center; display: flex; flex: 1 0 0px; flex-direction: row; flex-wrap: nowrap; gap: 0px; height: min-content; justify-content: flex-end; min-width: 28px; overflow: visible; padding: 0px; position: relative; width: 1px; }\",\".framer-Uc4R7 .framer-1u74nad { aspect-ratio: 1 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 24px); position: relative; width: 24px; }\",\".framer-Uc4R7 .framer-thsgub { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",\".framer-Uc4R7.framer-v-15qy1ju.framer-172j0i5 { cursor: unset; }\",\".framer-Uc4R7.framer-v-172j0i5.hover .framer-hiiixu { justify-content: flex-start; }\",...sharedStyle.css];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 27\n * @framerIntrinsicWidth 87\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]},\"bue8oKD9Z\":{\"layout\":[\"auto\",\"auto\"]},\"YYTl8NWyC\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerVariables {\"hhquRffY1\":\"link\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerSSTqu90WG=withCSS(Component,css,\"framer-Uc4R7\");export default FramerSSTqu90WG;FramerSSTqu90WG.displayName=\"Go Back Button\";FramerSSTqu90WG.defaultProps={height:27,width:87};addPropertyControls(FramerSSTqu90WG,{variant:{options:[\"YmpNyYdZW\",\"bue8oKD9Z\"],optionTitles:[\"Desktop\",\"Phone\"],title:\"Variant\",type:ControlType.Enum},hhquRffY1:{title:\"Link\",type:ControlType.Link}});addFonts(FramerSSTqu90WG,[{explicitInter:true,fonts:[{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/5vvr9Vy74if2I6bQbJvbw7SY1pQ.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/EOr0mi4hNtlgWNn9if640EZzXCo.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/Y9k9QrlZAqio88Klkmbd8VoMQc.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/OYrD2tBIBPvoJXiIHnLoOXnY9M.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/JeYwfuaPfZHQhEG8U5gtPDZ7WQ.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/GrgcKwrN6d3Uz8EwcLHZxwEfC4.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/b6Y37FthZeALduNqHicBT6FutY.woff2\",weight:\"400\"}]},...getFontsFromSharedStyle(sharedStyle.fonts)],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerSSTqu90WG\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"87\",\"framerColorSyntax\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"bue8oKD9Z\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"YYTl8NWyC\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"27\",\"framerDisplayContentsDiv\":\"false\",\"framerAutoSizeImages\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerImmutableVariables\":\"true\",\"framerVariables\":\"{\\\"hhquRffY1\\\":\\\"link\\\"}\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useState}from\"react\";import{addPropertyControls,ControlType}from\"framer\";const ICONS={x:{mode:\"fill\",path:\"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z\"},facebook:{mode:\"fill\",path:\"M13.5 21v-8h2.68l.4-3.11h-3.08V7.94c0-.9.25-1.51 1.54-1.51h1.65V3.66C15.98 3.6 15.02 3.5 13.9 3.5c-2.34 0-3.94 1.43-3.94 4.05v2.34H7.28v3.11h2.68v8z\"},linkedin:{mode:\"fill\",path:\"M6.94 8.5H3.56V20.5H6.94V8.5ZM5.25 3.5A1.96 1.96 0 1 0 5.28 7.42 1.96 1.96 0 0 0 5.25 3.5ZM20.44 20.5h-3.38v-6.29c0-1.5-.03-3.44-2.09-3.44-2.1 0-2.42 1.64-2.42 3.33v6.4H9.17V8.5h3.24v1.64h.05c.45-.86 1.56-1.77 3.21-1.77 3.43 0 4.06 2.26 4.06 5.2v7.93Z\"},xing:{mode:\"fill\",path:\"M18.06 3h-3.29a.6.6 0 0 0-.55.34l-4.9 8.65 3.1 5.66a.6.6 0 0 0 .53.32h3.3a.4.4 0 0 0 .35-.6l-3.06-5.55 4.87-8.5a.4.4 0 0 0-.35-.32ZM8.72 8.6H5.4a.4.4 0 0 0-.35.6l1.8 3.18-2.83 4.98a.4.4 0 0 0 .35.6h3.3a.6.6 0 0 0 .54-.33l2.85-5.03-1.99-3.5a.6.6 0 0 0-.35-.5Z\"},email:{mode:\"stroke\",path:\"M3 5.5h18a1 1 0 0 1 1 1v11a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1v-11a1 1 0 0 1 1-1Zm1.4 1.6 7.1 5.68a.8.8 0 0 0 1 0l7.1-5.68\"},whatsapp:{mode:\"fill\",path:\"M12.02 2c-5.5 0-9.96 4.46-9.96 9.96 0 1.76.46 3.48 1.34 4.99L2 22l5.2-1.36a9.93 9.93 0 0 0 4.82 1.23h.01c5.5 0 9.96-4.46 9.96-9.96S17.52 2 12.02 2Zm5.83 14.13c-.24.68-1.4 1.3-1.94 1.36-.5.06-1.11.08-1.79-.11-.41-.13-.94-.3-1.62-.6-2.86-1.24-4.72-4.13-4.86-4.32-.14-.19-1.16-1.55-1.16-2.95 0-1.4.73-2.09.99-2.38.26-.28.57-.35.76-.35h.55c.18 0 .41-.07.64.49.24.57.81 1.98.88 2.12.07.14.12.31.02.5-.09.19-.14.31-.28.48-.14.16-.29.36-.42.49-.14.13-.28.28-.12.55.16.28.71 1.17 1.53 1.9 1.05.94 1.94 1.23 2.21 1.37.28.14.44.12.6-.07.16-.19.68-.79.86-1.07.18-.28.36-.23.61-.14.24.09 1.55.73 1.82.86.27.14.44.2.51.32.07.12.07.66-.17 1.35Z\"}};function IconCircle({icon,href,label,iconColor,borderColor,newTab}){return /*#__PURE__*/_jsx(\"a\",{href:href,...newTab?{target:\"_blank\",rel:\"noopener noreferrer\"}:{},\"aria-label\":label,style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",width:36,height:36,borderRadius:\"50%\",border:`1px solid ${borderColor}`,flexShrink:0,textDecoration:\"none\"},children:/*#__PURE__*/_jsx(\"svg\",{width:16,height:16,viewBox:\"0 0 24 24\",fill:\"none\",children:/*#__PURE__*/_jsx(\"path\",{d:icon.path,fill:icon.mode===\"fill\"?iconColor:\"none\",stroke:icon.mode===\"stroke\"?iconColor:\"none\",strokeWidth:icon.mode===\"stroke\"?1.6:undefined,strokeLinecap:\"round\",strokeLinejoin:\"round\"})})});}/**\n * Artikel teilen\n *\n * Zeigt Share-Buttons fuer den aktuellen Artikel (X, Facebook, LinkedIn,\n * Xing, E-Mail, WhatsApp). Liest die Seiten-URL client-seitig aus.\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function ArticleShareButtons(props){const{label=\"Artikel teilen:\",title=\"\",canonicalUrl=\"\",iconColor=\"#003127\",borderColor=\"#1A6A59\",style}=props;const[pageUrl,setPageUrl]=useState(canonicalUrl);useEffect(()=>{if(canonicalUrl){setPageUrl(canonicalUrl);return;}if(typeof window!==\"undefined\"){setPageUrl(window.location.href);}},[canonicalUrl]);const encodedUrl=encodeURIComponent(pageUrl);const encodedTitle=encodeURIComponent(title);const links=[{key:\"x\",href:`https://twitter.com/intent/tweet?url=${encodedUrl}&text=${encodedTitle}`,label:\"Auf X teilen\",newTab:true},{key:\"facebook\",href:`https://www.facebook.com/sharer/sharer.php?u=${encodedUrl}`,label:\"Auf Facebook teilen\",newTab:true},{key:\"linkedin\",href:`https://www.linkedin.com/sharing/share-offsite/?url=${encodedUrl}`,label:\"Auf LinkedIn teilen\",newTab:true},{key:\"xing\",href:`https://www.xing.com/spi/shares/new?url=${encodedUrl}`,label:\"Auf Xing teilen\",newTab:true},{key:\"email\",href:`mailto:?subject=${encodedTitle}&body=${encodedUrl}`,label:\"Per E-Mail teilen\",newTab:false},{key:\"whatsapp\",href:`https://wa.me/?text=${encodedTitle}%20${encodedUrl}`,label:\"Per WhatsApp teilen\",newTab:true}];return /*#__PURE__*/_jsxs(\"div\",{style:{...style,position:\"relative\",display:\"flex\",flexDirection:\"row\",alignItems:\"center\",flexWrap:\"wrap\",gap:12,width:\"100%\",boxSizing:\"border-box\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontSize:14,color:iconColor,fontWeight:500},children:label}),links.map(link=>/*#__PURE__*/_jsx(IconCircle,{icon:ICONS[link.key],href:pageUrl?link.href:\"#\",label:link.label,iconColor:iconColor,borderColor:borderColor,newTab:link.newTab},link.key))]});}addPropertyControls(ArticleShareButtons,{label:{type:ControlType.String,title:\"Label\",defaultValue:\"Artikel teilen:\"},title:{type:ControlType.String,title:\"Artikeltitel\",defaultValue:\"\",description:\"Wird als Share-Text/Betreff verwendet.\"},canonicalUrl:{type:ControlType.String,title:\"Kanonische URL\",defaultValue:\"\",description:\"Feste Artikel-URL zum Teilen. Wenn leer, wird die aktuelle Browser-URL verwendet (z.B. im Canvas-Preview nicht korrekt).\"},iconColor:{type:ControlType.Color,title:\"Icon-Farbe\",defaultValue:\"#003127\"},borderColor:{type:ControlType.Color,title:\"Rahmenfarbe\",defaultValue:\"#1A6A59\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ArticleShareButtons\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ArticleShareButtons.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useState,useRef,useCallback,startTransition}from\"react\";import{createPortal}from\"react-dom\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";const PLACEHOLDER_ITEMS=[{id:\"placeholder-1\",text:\"Abschnitt 1\",level:2},{id:\"placeholder-2\",text:\"Abschnitt 2\",level:2},{id:\"placeholder-3\",text:\"Unterabschnitt\",level:3}];function slugify(text,index){const base=text.toLowerCase().trim().replace(/[^a-z0-9äöüß\\s-]/gi,\"\").replace(/\\s+/g,\"-\").slice(0,60);return base?`toc-${base}-${index}`:`toc-heading-${index}`;}/**\n * Inhaltsverzeichnis\n *\n * Liest automatisch H2/H3-Überschriften aus einem Ziel-Container (per elementId)\n * aus und erzeugt daraus ein Inhaltsverzeichnis mit Sprungmarken. Bleibt beim\n * Scrollen sichtbar und markiert den aktuell gelesenen Abschnitt.\n *\n * Position wird per JS berechnet und über ein Portal in document.body gerendert,\n * da Framers eigener Seiten-Transform-Wrapper natives CSS position:sticky/fixed\n * auf dieser Seite unwirksam macht (transformierte Vorfahren brechen beide).\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function ArticleTableOfContents(props){const{title=\"Inhaltsverzeichnis\",targetId=\"article-content\",backgroundColor=\"#FAFAFA\",headingColor=\"#003127\",linkColor=\"#696E77\",accentColor=\"#1A6A59\",stickyOffset=100,enableSticky=true,maxHeightVh=58,style}=props;const isStatic=useIsStaticRenderer();const[items,setItems]=useState([]);const[activeId,setActiveId]=useState(null);const observerRef=useRef(null);const intersectionObserverRef=useRef(null);const placeholderRef=useRef(null);const navRef=useRef(null);const listRef=useRef(null);const[fade,setFade]=useState({top:false,bottom:false});const[navRect,setNavRect]=useState({top:0,left:0,width:0});const[navHeight,setNavHeight]=useState(0);const[mounted,setMounted]=useState(false);useEffect(()=>{setMounted(true);},[]);useEffect(()=>{if(typeof document===\"undefined\")return;if(isStatic)return;function scan(){const container=document.getElementById(targetId);if(!container)return;const headings=Array.from(container.querySelectorAll(\"h2, h3\"));if(headings.length===0)return;const next=headings.map((heading,index)=>{if(!heading.id){heading.id=slugify(heading.innerText||`heading-${index}`,index);}return{id:heading.id,text:heading.innerText||\"\",level:heading.tagName===\"H3\"?3:2};});startTransition(()=>setItems(next));intersectionObserverRef.current?.disconnect();const io=new IntersectionObserver(entries=>{const visible=entries.filter(entry=>entry.isIntersecting);if(visible.length>0){const topMost=visible.reduce((a,b)=>a.boundingClientRect.top<b.boundingClientRect.top?a:b);startTransition(()=>setActiveId(topMost.target.id));}},{rootMargin:`-${stickyOffset+8}px 0px -70% 0px`,threshold:0});headings.forEach(heading=>io.observe(heading));intersectionObserverRef.current=io;}scan();const container=document.getElementById(targetId);if(container){const observer=new MutationObserver(()=>scan());observer.observe(container,{childList:true,subtree:true});observerRef.current=observer;}const timeoutId=window.setTimeout(scan,800);return()=>{observerRef.current?.disconnect();intersectionObserverRef.current?.disconnect();window.clearTimeout(timeoutId);};},[targetId,isStatic,stickyOffset]);const updatePosition=useCallback(()=>{const placeholder=placeholderRef.current;if(!placeholder)return;const placeholderRect=placeholder.getBoundingClientRect();const articleEl=document.getElementById(targetId);const articleBottom=articleEl?articleEl.getBoundingClientRect().bottom:Infinity;const currentNavHeight=navRef.current?.getBoundingClientRect().height??navHeight;const stickyBound=Math.min(stickyOffset,articleBottom-currentNavHeight);const top=Math.max(placeholderRect.top,stickyBound);setNavRect({top,left:placeholderRect.left,width:placeholderRect.width});if(currentNavHeight&&Math.abs(currentNavHeight-navHeight)>1){setNavHeight(currentNavHeight);}},[targetId,stickyOffset,navHeight]);const usePinning=enableSticky&&!isStatic;useEffect(()=>{if(!usePinning||!mounted)return;updatePosition();window.addEventListener(\"scroll\",updatePosition,{passive:true});window.addEventListener(\"resize\",updatePosition);const timeoutId=window.setTimeout(updatePosition,900);let resizeObserver=null;if(navRef.current&&typeof ResizeObserver!==\"undefined\"){resizeObserver=new ResizeObserver(()=>updatePosition());resizeObserver.observe(navRef.current);}return()=>{window.removeEventListener(\"scroll\",updatePosition);window.removeEventListener(\"resize\",updatePosition);window.clearTimeout(timeoutId);resizeObserver?.disconnect();};},[usePinning,mounted,updatePosition,items.length]);const updateFade=useCallback(()=>{const list=listRef.current;if(!list)return;const top=list.scrollTop>4;const bottom=list.scrollTop+list.clientHeight<list.scrollHeight-4;setFade(prev=>prev.top===top&&prev.bottom===bottom?prev:{top,bottom});},[]);useEffect(()=>{updateFade();},[items.length,updateFade]);// Aktiven Eintrag nur innerhalb der Liste mitführen (nie die Seite scrollen)\nuseEffect(()=>{const list=listRef.current;if(!list||!activeId)return;if(list.scrollHeight<=list.clientHeight+1)return;const link=list.querySelector(`a[data-toc-id=\"${CSS.escape(activeId)}\"]`);if(!link)return;const listRect=list.getBoundingClientRect();const linkRect=link.getBoundingClientRect();const margin=48;const outOfView=linkRect.top<listRect.top+margin||linkRect.bottom>listRect.bottom-margin;if(!outOfView)return;const offsetInList=linkRect.top-listRect.top+list.scrollTop;const target=offsetInList-list.clientHeight/2+linkRect.height/2;list.scrollTo({top:Math.max(0,target),behavior:\"smooth\"});},[activeId]);function handleClick(event,id){event.preventDefault();const target=document.getElementById(id);if(!target)return;const top=target.getBoundingClientRect().top+window.scrollY-stickyOffset-16;window.scrollTo({top:Math.max(top,0),behavior:\"smooth\"});if(window.history?.replaceState){window.history.replaceState(null,\"\",`#${id}`);}}const displayItems=isStatic?PLACEHOLDER_ITEMS:items;const effectiveActiveId=isStatic?PLACEHOLDER_ITEMS[1].id:activeId;if(displayItems.length===0)return null;const navContent=/*#__PURE__*/_jsxs(\"nav\",{ref:navRef,\"aria-label\":title,style:{...usePinning?{position:\"fixed\",top:navRect.top,left:navRect.left,width:navRect.width||undefined,zIndex:4}:{position:\"relative\",width:\"100%\"},display:\"flex\",flexDirection:\"column\",gap:12,maxHeight:maxHeightVh>0?`min(${maxHeightVh}vh, calc(100vh - ${stickyOffset+40}px))`:undefined,overflow:\"hidden\",boxSizing:\"border-box\",backgroundColor,borderRadius:16,padding:24,fontFamily:\"inherit\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontSize:15,fontWeight:600,color:headingColor,letterSpacing:\"-0.01em\",flexShrink:0},children:title}),/*#__PURE__*/_jsx(\"ul\",{ref:listRef,onScroll:updateFade,style:{listStyle:\"none\",margin:0,padding:0,display:\"flex\",flexDirection:\"column\",gap:2,minHeight:0,overflowY:maxHeightVh>0?\"auto\":\"visible\",overscrollBehavior:\"contain\",scrollbarWidth:\"thin\",WebkitMaskImage:maxHeightVh>0?`linear-gradient(to bottom, ${fade.top?\"transparent 0, #000 28px\":\"#000 0\"}, ${fade.bottom?\"#000 calc(100% - 28px), transparent 100%\":\"#000 100%\"})`:undefined,maskImage:maxHeightVh>0?`linear-gradient(to bottom, ${fade.top?\"transparent 0, #000 28px\":\"#000 0\"}, ${fade.bottom?\"#000 calc(100% - 28px), transparent 100%\":\"#000 100%\"})`:undefined},children:displayItems.map(item=>{const isActive=item.id===effectiveActiveId;return /*#__PURE__*/_jsx(\"li\",{style:{marginLeft:item.level===3?16:0},children:/*#__PURE__*/_jsx(\"a\",{href:`#${item.id}`,\"data-toc-id\":item.id,onClick:event=>handleClick(event,item.id),style:{display:\"block\",fontSize:item.level===3?13:14,fontWeight:isActive?600:400,lineHeight:1.5,color:isActive?accentColor:linkColor,textDecoration:\"none\",borderLeft:`2px solid ${isActive?accentColor:\"transparent\"}`,paddingLeft:10,paddingTop:4,paddingBottom:4,transition:\"color 0.15s ease, border-color 0.15s ease\"},onMouseEnter:event=>{if(isActive)return;event.currentTarget.style.color=accentColor;},onMouseLeave:event=>{if(isActive)return;event.currentTarget.style.color=linkColor;},children:item.text})},item.id);})})]});if(!usePinning){return /*#__PURE__*/_jsx(\"div\",{style:{...style,position:\"relative\",width:\"100%\"},children:navContent});}return /*#__PURE__*/_jsx(\"div\",{ref:placeholderRef,style:{...style,position:\"relative\",width:\"100%\",height:navHeight||\"auto\"},children:mounted&&typeof document!==\"undefined\"?/*#__PURE__*/createPortal(navContent,document.body):navContent});}addPropertyControls(ArticleTableOfContents,{title:{type:ControlType.String,title:\"Titel\",defaultValue:\"Inhaltsverzeichnis\"},targetId:{type:ControlType.String,title:\"Ziel-Element-ID\",defaultValue:\"article-content\",description:\"Die elementId des RichText-Blocks, dessen \\xdcberschriften ausgelesen werden.\"},stickyOffset:{type:ControlType.Number,title:\"Sticky-Abstand oben\",defaultValue:100,min:0,max:300,unit:\"px\"},maxHeightVh:{type:ControlType.Number,title:\"Max. H\\xf6he\",defaultValue:58,min:0,max:100,unit:\"vh\",description:\"0 = keine Begrenzung. Titel bleibt stehen, nur die Liste scrollt und f\\xfchrt den aktiven Abschnitt mit.\"},enableSticky:{type:ControlType.Boolean,title:\"Sticky aktiv\",defaultValue:true,description:\"Auf schmalen Breakpoints deaktivieren, damit das Verzeichnis normal im Textfluss bleibt.\"},backgroundColor:{type:ControlType.Color,title:\"Hintergrund\",defaultValue:\"#FAFAFA\"},headingColor:{type:ControlType.Color,title:\"Titel-Farbe\",defaultValue:\"#003127\"},linkColor:{type:ControlType.Color,title:\"Link-Farbe\",defaultValue:\"#696E77\"},accentColor:{type:ControlType.Color,title:\"Akzentfarbe\",defaultValue:\"#1A6A59\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ArticleTableOfContents\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ArticleTableOfContents.map"],"mappings":"A,6dACoqB,SAASsD,EAAqB,EAAU,GAAGC,EAAS,CAAC,IAAMC,EAAc,CAAC,EAAuF,OAArFD,GAAU,QAAQ,GAASE,GAAS,OAAO,OAAOD,EAAcE,EAAUD,EAAQ,CAAC,EAASD,CAAc,C,mFAArY,EAAgB,CAAC,UAAU,CAAC,MAAM,EAAI,CAAC,EAAQ,EAAW,CAAC,YAAY,WAAW,EAAQ,EAAkB,eAAqB,EAAkB,CAAC,UAAU,mBAAmB,UAAU,kBAAkB,EAA+L,EAAY,CAAC,MAAM,EAAE,SAAS,GAAG,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,KAAK,OAAO,EAAQ,GAAY,CAAC,QAAM,cAAY,CAAC,IAAMiB,EAAOzE,EAAiBkC,CAAmB,EAAQwC,EAAWC,GAAOF,EAAO,WAAiBG,EAAa3E,OAAmB,CAAC,GAAGwE,EAAO,YAAU,GAAG,CAAC,KAA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