{"version":3,"file":"Cursor_Selection.BtRMxp6m.mjs","names":[],"sources":["https:/framerusercontent.com/modules/aYUftJkKf6vYteP2w5R0/KjxS1CVFtQ5DQsnBlGbx/Cursor_Selection.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef}from\"react\";import{useEffect}from\"react\";export function withCustomTextSelection(Component){return /*#__PURE__*/forwardRef((props,ref)=>{useEffect(()=>{if(typeof document===\"undefined\")return;if(document.getElementById(\"custom-selection-style\"))return;const style=document.createElement(\"style\");style.id=\"custom-selection-style\";style.innerHTML=`\n        /* Scoped selection: yalnızca .custom-selection i\\xe7indeki metinler etkilenir */\n        .custom-selection ::selection { background: #FFD1BD; color: #FF4F00; }\n        .custom-selection::-moz-selection { background: #FFD1BD; color: #FF4F00; }\n      `;document.head.appendChild(style);},[]);const className=[props.className,\"custom-selection\"].filter(Boolean).join(\" \");return /*#__PURE__*/_jsx(Component,{ref:ref,...props,className:className});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withCustomTextSelection\":{\"type\":\"reactHoc\",\"name\":\"withCustomTextSelection\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Cursor_Selection.map"],"mappings":"yHAAsG,SAAgB,EAAwB,EAAU,CAAC,OAAoB,GAAY,EAAM,IAAM,CAAC,MAAc,CAAyC,GAArC,OAAO,SAAW,KAAsB,SAAS,eAAe,yBAAyB,CAAC,OAAO,IAAM,EAAM,SAAS,cAAc,QAAQ,CAAC,EAAM,GAAG,yBAAyB,EAAM,UAAU;;;;QAI/Y,SAAS,KAAK,YAAY,EAAM,EAAG,EAAE,CAAC,CAAC,IAAM,EAAU,CAAC,EAAM,UAAU,mBAAmB,CAAC,OAAO,QAAQ,CAAC,KAAK,IAAI,CAAC,OAAoB,EAAK,EAAU,CAAK,MAAI,GAAG,EAAgB,YAAU,CAAC,EAAG,kBAJhK,IAA8B"}