{"version":3,"file":"TableOfContents.DSSsOPm8.mjs","names":["React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId","useState","useState","_Fragment","__exportAll","init_npm_react_18_3_1","ie","x","oe","pe","de","window","init_ssg_sandbox_shims","init_jsx_runtime","K","J","c","p","ce","_e","motion","LayoutGroup","MotionConfigContext","init_framer_motion_DhsWWWsN","withCSS","RichText","cx","addFonts","addPropertyControls","Link","init_framer_BisrWwwE","useObserveData","useLocaleInfo","Data","ControlType","useComponentViewport","useVariantState","g6bJfuD56_exports","__FramerMetadata__","Framerg6bJfuD56","addPropertyOverrides","variants","nextOverrides","variant","overrides","enabledGestures","cycleOrder","serializationHash","variantClassNames","transition1","Transition","humanReadableVariantMap","Variants","getProps","createLayoutDependency","init_g6bJfuD56","__esmMin","config","transition","value","contextValue","props","link","title","fallbackRef","refBinding","ref","defaultLayoutId","restProps","layoutDependency","scopingClassNames","layoutId","qdWy6p6jE","gestureHandlers","className","classNames","style","baseVariant","gestureVariant","WSfYhfhfs","\"exports\"","\"Props\"","\"type\"","\"annotations\"","\"framerContractVersion\"","\"default\"","\"name\"","\"slots\"","\"framerComponentViewportWidth\"","\"framerColorSyntax\"","\"framerDisplayContentsDiv\"","\"framerAutoSizeImages\"","\"framerIntrinsicHeight\"","\"framerCanvasComponentVariantDetails\"","\"framerIntrinsicWidth\"","\"framerImmutableVariables\"","\"framerVariables\"","\"__FramerMetadata__\"","createStore","dataStore","state1","setDataStore","newState","storeState","storeSetters","setStoreState","setter","useStore","state","setState","init_createStore","init_store_js__1_0","HEADINGS","formatHeading","formatTableOfContent","init_Utils","formattedHeading","formattedId","children","item","index","result","type","flattenChildren","walk","child","node","generateUniqueIds","idCount","headings","baseId","h","newCount","uniqueId","formatHeadingsWithCustomIds","rewrite","tag","newId","getActiveId","closest","minOffset","el","id","rect","withContent","store","setStore","newProps","setNewProps","attempts","tryUpdateHeadings","flattened","allElementsExist","l","SCROLL_MARGIN_TOP","Component","withTableOfContent","activeId","setActiveId","handleScroll","a","b","HEADING_TO_DISPLAY","heading","init_TableOfContents"],"sources":["https:/framerusercontent.com/modules/Tc1Daag0n3xum2FCJccc/P5L7qBRPAFpQGNWkxWlr/g6bJfuD56.js","https:/framerusercontent.com/modules/vj7bFUjvEQFgEzNBkdoG/vf3CKm378wlVcBk7IhSU/createStore.js","https:/framer.com/m/framer/store.js@^1.0.0","https:/framerusercontent.com/modules/1XxWQwY0hfK0NPkccp4R/KJkJpnADqLZBYSaIILnx/Utils.js","https:/framerusercontent.com/modules/IfXselaKkmQ3NnkSX1hP/yBohmqGFzTHzFjKOiu00/TableOfContents.js"],"sourcesContent":["// Generated by Framer (747ab96)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,Link,RichText,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const enabledGestures={knLWAp8Rs:{hover:true},SyJYVgQic:{hover:true}};const cycleOrder=[\"SyJYVgQic\",\"jP01XrGdO\",\"knLWAp8Rs\",\"BL6Ed8HSR\"];const serializationHash=\"framer-oE1bA\";const variantClassNames={BL6Ed8HSR:\"framer-v-itkx8i\",jP01XrGdO:\"framer-v-1n56snp\",knLWAp8Rs:\"framer-v-ob8c3z\",SyJYVgQic:\"framer-v-1gct772\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const qdWy6p6jE=undefined;const WSfYhfhfs=undefined;const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};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 humanReadableVariantMap={\"h2-active\":\"jP01XrGdO\",\"h3-active\":\"BL6Ed8HSR\",h2:\"SyJYVgQic\",h3:\"knLWAp8Rs\"};const Variants=motion.create(React.Fragment);const getProps=({height,id,link,title,width,...props})=>{return{...props,qdWy6p6jE:link??props.qdWy6p6jE,variant:humanReadableVariantMap[props.variant]??props.variant??\"SyJYVgQic\",WSfYhfhfs:title??props.WSfYhfhfs??\"Title\"};};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,WSfYhfhfs,qdWy6p6jE,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"SyJYVgQic\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];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:qdWy6p6jE,motionChild:true,nodeId:\"SyJYVgQic\",openInNewTab:false,scopeId:\"g6bJfuD56\",smoothScroll:true,children:/*#__PURE__*/_jsx(motion.a,{...restProps,...gestureHandlers,className:`${cx(scopingClassNames,\"framer-1gct772\",className,classNames)} framer-pfqzn`,\"data-framer-name\":\"h2\",layoutDependency:layoutDependency,layoutId:\"SyJYVgQic\",ref:refBinding,style:{...style},...addPropertyOverrides({\"knLWAp8Rs-hover\":{\"data-framer-name\":undefined},\"SyJYVgQic-hover\":{\"data-framer-name\":undefined},BL6Ed8HSR:{\"data-framer-name\":\"h3-active\"},jP01XrGdO:{\"data-framer-name\":\"h2-active\"},knLWAp8Rs:{\"data-framer-name\":\"h3\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"Q1VTVE9NVjI7SGVsbGl4IE1lZGl1bQ==\",\"--framer-font-family\":'\"Hellix Medium\", \"Hellix Medium Placeholder\", sans-serif',\"--framer-font-size\":\"15px\",\"--framer-font-weight\":\"500\",\"--framer-line-height\":\"19px\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-c066871b-66d6-4e65-9e1b-c40a8e4cb691, rgb(112, 117, 137)))\",\"--framer-text-transform\":\"inherit\"},children:\"Title\"})}),className:\"framer-lceny7\",fonts:[\"CUSTOMV2;Hellix Medium\"],layoutDependency:layoutDependency,layoutId:\"hvPOS1XrV\",style:{\"--extracted-r6o4lv\":\"var(--token-c066871b-66d6-4e65-9e1b-c40a8e4cb691, rgb(112, 117, 137))\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},text:WSfYhfhfs,variants:{BL6Ed8HSR:{\"--extracted-r6o4lv\":\"var(--token-32772868-c74f-48d7-bb1d-07b11c29aaa3, rgb(1, 16, 73))\"},jP01XrGdO:{\"--extracted-r6o4lv\":\"var(--token-32772868-c74f-48d7-bb1d-07b11c29aaa3, rgb(1, 16, 73))\"}},verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({BL6Ed8HSR:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"Q1VTVE9NVjI7SGVsbGl4IE1lZGl1bQ==\",\"--framer-font-family\":'\"Hellix Medium\", \"Hellix Medium Placeholder\", sans-serif',\"--framer-font-size\":\"15px\",\"--framer-font-weight\":\"500\",\"--framer-line-height\":\"19px\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-32772868-c74f-48d7-bb1d-07b11c29aaa3, rgb(1, 16, 73)))\",\"--framer-text-transform\":\"inherit\"},children:\"Title\"})})},jP01XrGdO:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"Q1VTVE9NVjI7SGVsbGl4IE1lZGl1bQ==\",\"--framer-font-family\":'\"Hellix Medium\", \"Hellix Medium Placeholder\", sans-serif',\"--framer-font-size\":\"15px\",\"--framer-font-weight\":\"500\",\"--framer-line-height\":\"19px\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-32772868-c74f-48d7-bb1d-07b11c29aaa3, rgb(1, 16, 73)))\",\"--framer-text-transform\":\"inherit\"},children:\"Title\"})})}},baseVariant,gestureVariant)})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-oE1bA.framer-pfqzn, .framer-oE1bA .framer-pfqzn { display: block; }\",\".framer-oE1bA.framer-1gct772 { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 8px; height: min-content; justify-content: center; overflow: hidden; padding: 4px 0px 4px 0px; position: relative; text-decoration: none; width: 70px; }\",\".framer-oE1bA .framer-lceny7 { flex: 1 0 0px; height: auto; position: relative; white-space: pre-wrap; width: 1px; word-break: break-word; word-wrap: break-word; }\",\".framer-oE1bA.framer-v-1n56snp.framer-1gct772 { cursor: unset; }\",\".framer-oE1bA.framer-v-ob8c3z.framer-1gct772 { padding: 4px 0px 4px 10px; }\",\".framer-oE1bA.framer-v-itkx8i.framer-1gct772 { cursor: unset; padding: 4px 0px 4px 10px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 27\n * @framerIntrinsicWidth 70\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"]},\"jP01XrGdO\":{\"layout\":[\"fixed\",\"auto\"]},\"knLWAp8Rs\":{\"layout\":[\"fixed\",\"auto\"]},\"BL6Ed8HSR\":{\"layout\":[\"fixed\",\"auto\"]},\"tIKwtX4a6\":{\"layout\":[\"fixed\",\"auto\"]},\"lAIC5Ko7h\":{\"layout\":[\"fixed\",\"auto\"]}}}\n * @framerVariables {\"WSfYhfhfs\":\"title\",\"qdWy6p6jE\":\"link\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const Framerg6bJfuD56=withCSS(Component,css,\"framer-oE1bA\");export default Framerg6bJfuD56;Framerg6bJfuD56.displayName=\"title\";Framerg6bJfuD56.defaultProps={height:27,width:70};addPropertyControls(Framerg6bJfuD56,{variant:{options:[\"SyJYVgQic\",\"jP01XrGdO\",\"knLWAp8Rs\",\"BL6Ed8HSR\"],optionTitles:[\"h2\",\"h2-active\",\"h3\",\"h3-active\"],title:\"Variant\",type:ControlType.Enum},WSfYhfhfs:{defaultValue:\"Title\",displayTextArea:false,title:\"Title\",type:ControlType.String},onWSfYhfhfsChange:{changes:\"WSfYhfhfs\",type:ControlType.ChangeHandler},qdWy6p6jE:{title:\"Link\",type:ControlType.Link}});addFonts(Framerg6bJfuD56,[{explicitInter:true,fonts:[{cssFamilyName:\"Hellix Medium\",source:\"custom\",style:\"normal\",uiFamilyName:\"Hellix\",url:\"https://framerusercontent.com/assets/7WBg7IgJ27gTA1RW89MymbaJpE.woff2\",weight:\"500\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"Framerg6bJfuD56\",\"slots\":[],\"annotations\":{\"framerComponentViewportWidth\":\"true\",\"framerColorSyntax\":\"true\",\"framerContractVersion\":\"1\",\"framerDisplayContentsDiv\":\"false\",\"framerAutoSizeImages\":\"true\",\"framerIntrinsicHeight\":\"27\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"jP01XrGdO\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"knLWAp8Rs\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"BL6Ed8HSR\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"tIKwtX4a6\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"lAIC5Ko7h\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]}}}\",\"framerIntrinsicWidth\":\"70\",\"framerImmutableVariables\":\"true\",\"framerVariables\":\"{\\\"WSfYhfhfs\\\":\\\"title\\\",\\\"qdWy6p6jE\\\":\\\"link\\\"}\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./g6bJfuD56.map","import{useState,useEffect}from\"react\";import{Data,useObserveData}from\"framer\";export function createStore(state1){// Use Data so that a Preview reload resets the state\nconst dataStore=Data({state:Object.freeze({...state1})});// Create a set function that updates the state\nconst setDataStore=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(dataStore.state);}dataStore.state=Object.freeze({...dataStore.state,...newState});};// Store the initial state, copy the object if it's an object\nlet storeState=typeof state1===\"object\"?Object.freeze({...state1}):state1;// Keep a list of all the listeners, in the form of React hook setters\nconst storeSetters=new Set();// Create a set function that updates all the listeners / setters\nconst setStoreState=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(storeState);}storeState=typeof newState===\"object\"?Object.freeze({...storeState,...newState}):newState;// Update all the listeners / setters with the new value\nstoreSetters.forEach(setter=>setter(storeState));};// Create the actual hook based on everything above\nfunction useStore(){// Create the hook we are going to use as a listener\nconst[state,setState]=useState(storeState);// If we unmount the component using this hook, we need to remove the listener\n// @ts-ignore\nuseEffect(()=>{// But right now, we need to add the listener\nstoreSetters.add(setState);return()=>storeSetters.delete(setState);},[]);// If Data context exists, use Data, otherwise use vanilla React state\nif(useObserveData()===true){useObserveData();return[dataStore.state,setDataStore];}else{// Return the state and a function to update the central store\nreturn[state,setStoreState];}}return useStore;}\nexport const __FramerMetadata__ = {\"exports\":{\"createStore\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./createStore.map","/*\n * createStore (framer/store@1.0.1)\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/vj7bFUjvEQFgEzNBkdoG/vf3CKm378wlVcBk7IhSU/createStore.js\"\n","export const HEADINGS=[\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\"];const formatHeading=(children,index)=>{let formattedHeading=\"\";let formattedId=\"\";if(typeof children===\"string\"){formattedHeading=children;}else if(Array.isArray(children)){formattedHeading=children.map(item=>{var _item_props;if(typeof item===\"string\")return item.trim();if(typeof((_item_props=item.props)===null||_item_props===void 0?void 0:_item_props.children)===\"string\")return item.props.children.trim();}).join(\" \");}else if(typeof children===\"object\"){if(typeof children.props.children===\"string\"){formattedHeading=children.props.children;}else{formattedHeading=children.type;}}else{formattedHeading=index.toString();}formattedId=formattedHeading.toLowerCase().replace(/[^a-z0-9]+/g,\"-\").replace(/^-+|-+$/g,\"\").trim();return{formattedId,formattedHeading};};export const formatTableOfContent=children=>{const result=[];children.length>0&&children.filter(({type})=>HEADINGS.includes(type)).map((item,index)=>{const children=item.props.children;const{formattedId,formattedHeading}=formatHeading(children,index);result.push({id:formattedId,heading:formattedHeading,type:item.type,originalIndex:index});});return result;};export const formatHeadings=props=>{const newChildren=[];props.children.props.children.forEach((item,index)=>{const children=item.props.children;if(HEADINGS.includes(item.type)){const{formattedId}=formatHeading(children,index);// Create a new object for the modified item\nconst newItem={...item,props:{...item.props,id:formattedId}};newChildren.push(newItem);}else{newChildren.push(item);}});// Return a new props object with the modified children\nreturn{...props,children:{...props.children,props:{...props.children.props,children:newChildren}}};};\nexport const __FramerMetadata__ = {\"exports\":{\"formatTableOfContent\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HEADINGS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"formatHeadings\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Utils.map","import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";import{formatTableOfContent,HEADINGS}from\"https://framer.com/m/Utils-WIyM.js\";import{useEffect,useState,isValidElement}from\"react\";const HEADING_TO_DISPLAY=[\"h2\",\"h3\"];const SCROLL_MARGIN_TOP=160;const useStore=createStore({headings:[]});// 🔁 Children flattening\nfunction flattenChildren(node){const result=[];const walk=child=>{if(!child)return;if(Array.isArray(child))child.forEach(walk);else if(/*#__PURE__*/isValidElement(child)){if(child.props?.children)walk(child.props.children);result.push(child);}};walk(node);return result;}// 🔐 Aynı başlıklar için benzersiz ID üret\nfunction generateUniqueIds(headings){const idCount=new Map;return headings.map(h=>{const baseId=h.id;const count=idCount.get(baseId)||0;const newCount=count+1;idCount.set(baseId,newCount);const uniqueId=newCount===1?baseId:`${baseId}-${newCount}`;return{...h,id:uniqueId};});}// 🛠️ Heading DOM’larına sadece `id` yazar\nfunction formatHeadingsWithCustomIds(props,headings){let index=0;const rewrite=node=>{if(!node||typeof node!==\"object\")return node;if(Array.isArray(node))return node.map(rewrite);if(/*#__PURE__*/isValidElement(node)){const tag=node.type;if(HEADINGS.includes(tag)){const newId=headings[index]?.id;index++;return{...node,props:{...node.props,id:newId,children:rewrite(node.props.children)}};}return{...node,props:{...node.props,children:rewrite(node.props.children)}};}return node;};return{...props,children:rewrite(props.children)};}// 🎯 Aktif başlığı görünürlüğe göre hesapla\nfunction getActiveId(headings){let closest=null;let minOffset=Infinity;for(const{id}of headings){const el=document.getElementById(id);if(!el)continue;const rect=el.getBoundingClientRect();if(rect.top>=0&&rect.top<minOffset){closest=id;minOffset=rect.top;}}return closest;}// 📌 İçerik saran HOC – DOM hazır olmadan çalışmaz\nexport function withContent(Component){return props=>{const[store,setStore]=useStore();const[newProps,setNewProps]=useState(props);useEffect(()=>{let attempts=0;const maxAttempts=10;const delay=100;const tryUpdateHeadings=()=>{const flattened=flattenChildren(props.children);const rawHeadings=formatTableOfContent(flattened);const headings=generateUniqueIds(rawHeadings);const allElementsExist=headings.every(({id})=>document.getElementById(id));if(headings.length>0&&allElementsExist){setStore({headings});setNewProps(formatHeadingsWithCustomIds(props,headings));}else if(attempts<maxAttempts){attempts++;setTimeout(tryUpdateHeadings,delay);}else{setStore({headings});setNewProps(formatHeadingsWithCustomIds(props,headings));}};requestAnimationFrame(()=>{setTimeout(tryUpdateHeadings,delay);});},[props.children]);return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`.framer-text { scroll-margin-top: ${SCROLL_MARGIN_TOP}px; }\n[data-framer-name=\"Content\"] :is(p, li, td) a.framer-text,\n[data-framer-name=\"Content\"] :is(p, li, td) a.framer-text:visited {\n    color: rgb(67, 185, 251) !important;\n    text-decoration: underline !important;\n    text-decoration-color: rgba(67, 185, 251, 0.4) !important;\n    text-underline-offset: 3px;\n    transition: color 0.15s ease, text-decoration-color 0.15s ease;\n}\n[data-framer-name=\"Content\"] :is(p, li, td) a.framer-text:hover {\n    color: rgb(0, 25, 117) !important;\n    text-decoration-color: rgb(0, 25, 117) !important;\n}\n[data-framer-name=\"Content\"] blockquote.framer-text {\n    margin: 4px 0;\n    padding: 14px 18px !important;\n    background: rgb(240, 246, 253);\n    border-left: 3px solid rgb(67, 185, 251) !important;\n    border-radius: 0 8px 8px 0;\n}\n[data-framer-name=\"Content\"] blockquote.framer-text::before { display: none; }\n[data-framer-name=\"Content\"] blockquote.framer-text p.framer-text,\n[data-framer-name=\"Content\"] blockquote.framer-text li.framer-text {\n    font-family: \"Hellix Medium\", \"Hellix Medium Placeholder\", sans-serif !important;\n    font-weight: 500 !important;\n    font-size: 16px !important;\n    line-height: 1.5 !important;\n    color: rgb(54, 61, 99) !important;\n    --framer-text-color: rgb(54, 61, 99);\n}\n[data-framer-name=\"Content\"] blockquote.framer-text strong.framer-text,\n[data-framer-name=\"Content\"] blockquote.framer-text b {\n    font-family: \"Hellix SemiBold\", \"Hellix SemiBold Placeholder\", sans-serif !important;\n    font-weight: 600 !important;\n    color: rgb(1, 16, 73) !important;\n}\n[data-framer-name=\"Content\"] blockquote.framer-text em.framer-text {\n    color: rgb(112, 117, 137) !important;\n}`}),/*#__PURE__*/_jsx(Component,{...newProps})]});};}// 📌 TOC bileşeni saran HOC – aktif başlığı takip eder\nexport function withTableOfContent(Component){return props=>{const[store]=useStore();const[activeId,setActiveId]=useState(null);useEffect(()=>{const handleScroll=()=>{const id=getActiveId(store.headings);setActiveId(id);};window.addEventListener(\"scroll\",handleScroll);handleScroll();return()=>window.removeEventListener(\"scroll\",handleScroll);},[store.headings]);return /*#__PURE__*/_jsx(_Fragment,{children:store.headings.length>0&&typeof window!==\"undefined\"?store.headings.sort((a,b)=>a.originalIndex-b.originalIndex).filter(({type})=>HEADING_TO_DISPLAY.includes(type)).map(({id,heading,type})=>{const variant=activeId===id?`${type}-active`:type;return /*#__PURE__*/_jsx(Component,{...props,layoutId:`toc-item-${id}`,variant:variant,title:heading,link:`${window.location.pathname}#${id}`},id);}):/*#__PURE__*/_jsx(Component,{...props})});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withTableOfContent\":{\"type\":\"reactHoc\",\"name\":\"withTableOfContent\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withContent\":{\"type\":\"reactHoc\",\"name\":\"withContent\",\"annotations\":{\"framerContractVersion\":\"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