{"version":3,"file":"ContactLogic.vs3tCHII.mjs","names":[],"sources":["https:/framerusercontent.com/modules/AgLdKQ4yOgEdFIjyaavx/Qqxls7wJz9Jj72naNM17/ContactLogic.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";// Données du contact\nconst vCardData=`BEGIN:VCARD\nVERSION:3.0\nN:Hamza;Quentin;;;\nFN:Quentin Hamza\nORG:HKN Corporation\nTITLE:Contact Pro\nTEL;TYPE=CELL:+33652797315\nEMAIL;TYPE=WORK:quentin@hkn-corporation.com\nURL;TYPE=WORK:https://hkn-corporation.com\nURL;TYPE=Instagram:https://www.instagram.com/hxmou/\nURL;TYPE=LinkedIn:https://www.linkedin.com/in/quentin-hamza/\nNOTE:Instagram: @hxmou | LinkedIn: Quentin Hamza\nEND:VCARD`;export function SaveContact(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,onTap:()=>{// 1. Création du fichier en mémoire (Blob)\n// On utilise le type MIME standard + charset pour les accents\nconst blob=new Blob([vCardData],{type:\"text/vcard;charset=utf-8\"});// 2. Création d'une URL temporaire\nconst url=URL.createObjectURL(blob);// 3. Création d'un lien invisible\nconst link=document.createElement(\"a\");link.href=url;link.setAttribute(\"download\",\"Quentin_Hamza.vcf\");// 4. Important : on l'ajoute au document (nécessaire pour certains mobiles)\ndocument.body.appendChild(link);// 5. On simule le clic\nlink.click();// 6. Nettoyage\ndocument.body.removeChild(link);URL.revokeObjectURL(url);}});};}\nexport const __FramerMetadata__ = {\"exports\":{\"SaveContact\":{\"type\":\"reactHoc\",\"name\":\"SaveContact\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ContactLogic.map"],"mappings":"oGAaW,SAAgB,EAAY,EAAU,CAAC,MAAO,IAA4B,EAAK,EAAU,CAAC,GAAG,EAAM,UAAU,CAExH,IAAM,EAAK,IAAI,KAAK,CAAC,EAAU,CAAC,CAAC,KAAK,2BAA2B,CAAC,CAC5D,EAAI,IAAI,gBAAgB,EAAK,CAC7B,EAAK,SAAS,cAAc,IAAI,CAAC,EAAK,KAAK,EAAI,EAAK,aAAa,WAAW,oBAAoB,CACtG,SAAS,KAAK,YAAY,EAAK,CAC/B,EAAK,OAAO,CACZ,SAAS,KAAK,YAAY,EAAK,CAAC,IAAI,gBAAgB,EAAI,EAAG,CAAC,oBApBjB,CACrC,EAAU"}