{"version":3,"file":"FAQChatbot.DoMhXV3F.mjs","names":["useState","useRef","w"],"sources":["https:/framerusercontent.com/modules/2TNrxEGH7fLboOaSu326/DZbIXwkCyHYQBQTsoTdS/FAQChatbot.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState,useEffect,useRef}from\"react\";import ReactDOM from\"react-dom\";// ─── FAQ DATA ────────────────────────────────────────────────────────────────\nconst FAQ_ITEMS=[{id:1,question:\"Les prestataires sont-ils v\\xe9rifi\\xe9s ?\",answer:\"Oui. Chaque profil pr\\xe9sent sur la plateforme est v\\xe9rifi\\xe9 manuellement avant publication afin de garantir des informations fiables, des prestations s\\xe9rieuses et une exp\\xe9rience de qualit\\xe9.\"},{id:2,question:\"Est-ce que je r\\xe9serve ma prestation directement sur la plateforme ?\",answer:\"Non. La plateforme vous permet de d\\xe9couvrir, comparer et contacter les prestataires en direct. Vous \\xe9changez ensuite directement avec eux pour obtenir un devis, poser vos questions et organiser votre \\xe9v\\xe9nement.\"},{id:3,question:\"Comment contacter un prestataire ?\",answer:\"Chaque fiche prestataire contient plusieurs moyens de contact : formulaire rapide, email, t\\xe9l\\xe9phone ou r\\xe9seaux sociaux selon les informations renseign\\xe9es par le professionnel.\"},{id:4,question:\"La plateforme est-elle gratuite ?\",answer:\"Oui, la recherche de prestataires et l'acc\\xe8s aux fiches sont enti\\xe8rement gratuits pour les visiteurs.\"},{id:5,question:\"Dans quelle r\\xe9gion se trouvent les prestataires ?\",answer:\"La plateforme r\\xe9f\\xe9rence des prestataires \\xe9v\\xe9nementiels situ\\xe9s dans toute la r\\xe9gion Hauts-de-France : Nord, Pas-de-Calais, Somme, Oise et Aisne.\"}];// ─── STYLES ──────────────────────────────────────────────────────────────────\nconst TERRACOTTA=\"#C9735C\";const TERRACOTTA_DARK=\"#B96A55\";const TEXT_DARK=\"#2E2A27\";const TEXT_MUTED=\"#6F6964\";const BG_LIGHT=\"#F8F7F4\";const BORDER=\"#EAE6E1\";// NOTE PERF : AUCUN @import Google Fonts ici. « Plus Jakarta Sans » est déjà\n// chargée nativement par Framer (styles de texte du projet). Comme ce widget est\n// présent sur CHAQUE page, un @import y rajouterait une requête CSS externe\n// bloquant le rendu (~600-750 ms) sur tout le site → on s'appuie sur la police\n// déjà chargée. Aucun changement visuel.\nconst globalStyles=`\n  .faq-chatbot-widget * {\n    box-sizing: border-box;\n    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;\n    -webkit-font-smoothing: antialiased;\n  }\n\n  .faq-chatbot-widget {\n    position: fixed;\n    bottom: 28px;\n    right: 28px;\n    z-index: 99999;\n    display: flex;\n    flex-direction: column;\n    align-items: flex-end;\n  }\n\n  /* ── TRIGGER BUBBLE ── */\n  .faq-bubble-btn {\n    width: 58px;\n    height: 58px;\n    border-radius: 50%;\n    background: ${TERRACOTTA};\n    border: none;\n    cursor: pointer;\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    box-shadow: 0 4px 20px rgba(201, 115, 92, 0.35), 0 2px 8px rgba(0,0,0,0.12);\n    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1),\n                box-shadow 0.2s ease,\n                background 0.2s ease;\n    flex-shrink: 0;\n    outline: none;\n    position: relative;\n  }\n\n  .faq-bubble-btn:hover {\n    background: ${TERRACOTTA_DARK};\n    transform: scale(1.08);\n    box-shadow: 0 6px 24px rgba(201, 115, 92, 0.45), 0 3px 10px rgba(0,0,0,0.14);\n  }\n\n  .faq-bubble-btn:active {\n    transform: scale(0.96);\n  }\n\n  .faq-bubble-icon-slot {\n    position: absolute;\n    inset: 0;\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;\n  }\n\n  .faq-bubble-icon-slot.slot-hidden {\n    transform: rotate(80deg) scale(0.55);\n    opacity: 0;\n    pointer-events: none;\n  }\n\n  .faq-bubble-icon-slot.slot-visible {\n    transform: rotate(0deg) scale(1);\n    opacity: 1;\n  }\n\n  /* ── PANEL ── */\n  .faq-panel {\n    position: absolute;\n    bottom: 70px;\n    right: 0;\n    width: 360px;\n    background: #fff;\n    border-radius: 20px;\n    box-shadow:\n      0 24px 64px rgba(46, 42, 39, 0.14),\n      0 8px 24px rgba(46, 42, 39, 0.08),\n      0 0 0 1px rgba(234, 230, 225, 0.6);\n    /* Panel uses flex column so the list can grow/scroll properly */\n    display: flex;\n    flex-direction: column;\n    /* Constrain total panel height to viewport */\n    max-height: calc(100vh - 120px);\n    overflow: hidden;\n    transform-origin: bottom right;\n    transition: transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1),\n                opacity 0.25s ease;\n  }\n\n  .faq-panel.open {\n    transform: scale(1) translateY(0);\n    opacity: 1;\n    pointer-events: all;\n  }\n\n  .faq-panel.closed {\n    transform: scale(0.88) translateY(12px);\n    opacity: 0;\n    pointer-events: none;\n  }\n\n  /* ── HEADER ── */\n  .faq-header {\n    background: ${TERRACOTTA};\n    padding: 20px 20px 18px;\n    display: flex;\n    align-items: flex-start;\n    justify-content: space-between;\n    gap: 12px;\n    flex-shrink: 0;\n  }\n\n  .faq-header-content {\n    display: flex;\n    flex-direction: column;\n    gap: 4px;\n  }\n\n  .faq-header-label {\n    font-size: 11px;\n    font-weight: 600;\n    letter-spacing: 0.1em;\n    text-transform: uppercase;\n    color: rgba(255, 255, 255, 0.75);\n    margin: 0;\n  }\n\n  .faq-header-title {\n    font-size: 16px;\n    font-weight: 700;\n    color: #fff;\n    margin: 0;\n    line-height: 1.35;\n    letter-spacing: -0.015em;\n  }\n\n  .faq-close-btn {\n    background: rgba(255, 255, 255, 0.18);\n    border: 1px solid rgba(255, 255, 255, 0.25);\n    border-radius: 50%;\n    width: 30px;\n    height: 30px;\n    cursor: pointer;\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    flex-shrink: 0;\n    transition: background 0.18s ease, transform 0.18s ease;\n    outline: none;\n    margin-top: 2px;\n  }\n\n  .faq-close-btn:hover {\n    background: rgba(255, 255, 255, 0.28);\n    transform: rotate(90deg);\n  }\n\n  /* ── INTRO ── */\n  .faq-intro {\n    padding: 14px 20px 2px;\n    font-size: 13px;\n    color: ${TEXT_MUTED};\n    line-height: 1.5;\n    flex-shrink: 0;\n  }\n\n  /* ── FAQ LIST — scrollable zone ── */\n  .faq-list {\n    padding: 12px 16px 16px;\n    display: flex;\n    flex-direction: column;\n    gap: 6px;\n    /* Take remaining space, scroll when needed */\n    flex: 1;\n    overflow-y: auto;\n    min-height: 0; /* critical for flex children to scroll */\n    scrollbar-width: thin;\n    scrollbar-color: ${BORDER} transparent;\n  }\n\n  .faq-list::-webkit-scrollbar {\n    width: 4px;\n  }\n\n  .faq-list::-webkit-scrollbar-track {\n    background: transparent;\n  }\n\n  .faq-list::-webkit-scrollbar-thumb {\n    background: ${BORDER};\n    border-radius: 2px;\n  }\n\n  /* ── FAQ ITEM ── */\n  .faq-item {\n    border: 1.5px solid ${BORDER};\n    border-radius: 12px;\n    /* NO overflow:hidden here — it clips the expanding answer */\n    background: #fff;\n    transition: border-color 0.2s ease, box-shadow 0.2s ease;\n    flex-shrink: 0;\n  }\n\n  .faq-item.active {\n    border-color: rgba(201, 115, 92, 0.35);\n    box-shadow: 0 2px 12px rgba(201, 115, 92, 0.08);\n  }\n\n  .faq-question-btn {\n    width: 100%;\n    background: none;\n    border: none;\n    padding: 13px 14px;\n    text-align: left;\n    cursor: pointer;\n    display: flex;\n    align-items: flex-start;\n    justify-content: space-between;\n    gap: 10px;\n    outline: none;\n    border-radius: 11px;\n    transition: background 0.15s ease;\n  }\n\n  .faq-question-btn:hover {\n    background: ${BG_LIGHT};\n  }\n\n  .faq-question-text {\n    font-size: 13.5px;\n    font-weight: 600;\n    color: ${TEXT_DARK};\n    line-height: 1.4;\n    letter-spacing: -0.01em;\n    flex: 1;\n  }\n\n  .faq-chevron {\n    width: 18px;\n    height: 18px;\n    color: ${TEXT_MUTED};\n    flex-shrink: 0;\n    margin-top: 1px;\n    transition: transform 0.25s cubic-bezier(0.34, 1.2, 0.64, 1), color 0.2s ease;\n  }\n\n  .faq-chevron.open {\n    transform: rotate(180deg);\n    color: ${TERRACOTTA};\n  }\n\n  /* ── ACCORDION — CSS grid approach (no JS height needed, shows full content) ── */\n  .faq-answer-grid {\n    display: grid;\n    grid-template-rows: 0fr;\n    transition: grid-template-rows 0.32s cubic-bezier(0.4, 0, 0.2, 1);\n  }\n\n  .faq-answer-grid.open {\n    grid-template-rows: 1fr;\n  }\n\n  .faq-answer-inner {\n    /* min-height: 0 is required for grid 0fr → 1fr to clip properly */\n    min-height: 0;\n    overflow: hidden;\n  }\n\n  .faq-answer-text {\n    padding: 0 14px 14px;\n    font-size: 13px;\n    color: ${TEXT_MUTED};\n    line-height: 1.65;\n  }\n\n  /* ── FOOTER ── */\n  .faq-footer {\n    border-top: 1px solid ${BORDER};\n    padding: 12px 16px;\n    display: flex;\n    align-items: center;\n    justify-content: space-between;\n    gap: 10px;\n    background: ${BG_LIGHT};\n    flex-shrink: 0;\n  }\n\n  .faq-footer-text {\n    font-size: 12px;\n    color: ${TEXT_MUTED};\n    line-height: 1.4;\n    flex: 1;\n  }\n\n  .faq-footer-link {\n    font-size: 12px;\n    font-weight: 600;\n    color: ${TERRACOTTA};\n    text-decoration: none;\n    white-space: nowrap;\n    transition: color 0.15s ease;\n    display: flex;\n    align-items: center;\n    gap: 4px;\n  }\n\n  .faq-footer-link:hover {\n    color: ${TERRACOTTA_DARK};\n  }\n\n  /* ── NOTIFICATION DOT ── */\n  .faq-notif-dot {\n    position: absolute;\n    top: -2px;\n    right: -2px;\n    width: 14px;\n    height: 14px;\n    background: #fff;\n    border-radius: 50%;\n    display: flex;\n    align-items: center;\n    justify-content: center;\n  }\n\n  .faq-notif-dot::after {\n    content: '';\n    width: 9px;\n    height: 9px;\n    background: #10B981;\n    border-radius: 50%;\n    animation: faq-pulse 2.5s ease-in-out infinite;\n  }\n\n  @keyframes faq-pulse {\n    0%, 100% { transform: scale(1); opacity: 1; }\n    50% { transform: scale(1.2); opacity: 0.85; }\n  }\n\n  /* ── MOBILE ── */\n  @media (max-width: 480px) {\n    .faq-chatbot-widget {\n      bottom: 20px;\n      right: 16px;\n    }\n\n    .faq-panel {\n      width: calc(100vw - 32px);\n      right: 0;\n      bottom: 68px;\n      max-height: calc(100vh - 100px);\n    }\n\n    .faq-bubble-btn {\n      width: 54px;\n      height: 54px;\n    }\n  }\n\n  /* ── MASQUAGE PROPRE QUAND UN OVERLAY/MENU PLEIN \\xc9CRAN EST OUVERT (mobile) ── */\n  /* Le widget se replie en fondu + passe en arri\\xe8re-plan, sans bloquer les clics. */\n  .faq-chatbot-widget {\n    transition: opacity 0.22s ease, transform 0.22s ease;\n  }\n  .faq-chatbot-widget.faq-suppressed {\n    opacity: 0;\n    transform: translateY(10px) scale(0.96);\n    pointer-events: none;\n    z-index: 1;\n  }\n  @media (prefers-reduced-motion: reduce) {\n    .faq-chatbot-widget { transition: none; }\n  }\n`;// ─── ICONS ───────────────────────────────────────────────────────────────────\n/** Point d'interrogation — icône bulle principale */function IconQuestion(){return /*#__PURE__*/_jsxs(\"svg\",{width:\"24\",height:\"24\",viewBox:\"0 0 24 24\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",children:[/*#__PURE__*/_jsx(\"path\",{d:\"M9.09 9C9.3251 8.33167 9.78915 7.76811 10.4 7.40913C11.0108 7.05016 11.7289 6.91894 12.4272 7.03871C13.1255 7.15848 13.7588 7.52152 14.2151 8.06353C14.6713 8.60553 14.9211 9.29152 14.92 10C14.92 12 11.92 13 11.92 13M12 17H12.01\",stroke:\"white\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"12\",cy:\"12\",r:\"10\",stroke:\"white\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})]});}function IconClose(){return /*#__PURE__*/_jsx(\"svg\",{width:\"14\",height:\"14\",viewBox:\"0 0 14 14\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M13 1L1 13M1 1L13 13\",stroke:\"white\",strokeWidth:\"1.8\",strokeLinecap:\"round\"})});}function IconChevron({className}){return /*#__PURE__*/_jsx(\"svg\",{className:className,viewBox:\"0 0 24 24\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M6 9L12 15L18 9\",stroke:\"currentColor\",strokeWidth:\"1.8\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})});}function IconArrow(){return /*#__PURE__*/_jsx(\"svg\",{width:\"12\",height:\"12\",viewBox:\"0 0 12 12\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M2.5 9.5L9.5 2.5M9.5 2.5H4.5M9.5 2.5V7.5\",stroke:\"currentColor\",strokeWidth:\"1.5\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})});}// ─── FAQ ITEM COMPONENT ───────────────────────────────────────────────────────\nfunction FAQItem({item,isOpen,onToggle}){return(// role=\"listitem\" : enfant valide du conteneur role=\"list\" (.faq-list)\n// → arbre d'accessibilité bien formé (audit agents IA).\n/*#__PURE__*/_jsxs(\"div\",{className:`faq-item${isOpen?\" active\":\"\"}`,role:\"listitem\",children:[/*#__PURE__*/_jsxs(\"button\",{className:\"faq-question-btn\",onClick:onToggle,\"aria-expanded\":isOpen,children:[/*#__PURE__*/_jsx(\"span\",{className:\"faq-question-text\",children:item.question}),/*#__PURE__*/_jsx(IconChevron,{className:`faq-chevron${isOpen?\" open\":\"\"}`})]}),/*#__PURE__*/_jsx(\"div\",{className:`faq-answer-grid${isOpen?\" open\":\"\"}`,role:\"region\",\"aria-hidden\":!isOpen,children:/*#__PURE__*/_jsx(\"div\",{className:\"faq-answer-inner\",children:/*#__PURE__*/_jsx(\"div\",{className:\"faq-answer-text\",children:item.answer})})})]}));}// ─── MAIN WIDGET ─────────────────────────────────────────────────────────────\nfunction FAQChatbotWidget({contactUrl,hideWhenMenuOpen,menuBreakpoint}){const[isOpen,setIsOpen]=useState(false);const[openItem,setOpenItem]=useState(null);const[showDot,setShowDot]=useState(true);// Masqué quand un overlay/menu plein écran (mobile) est ouvert.\nconst[suppressed,setSuppressed]=useState(false);const panelRef=useRef(null);// ── Anti-mismatch d'hydratation (portail SSR-safe) ──\n// Un createPortal ne s'hydrate pas côté serveur : le HTML serveur ne contient\n// PAS ce widget. Si on rendait le portail dès le 1er rendu client, ce rendu ne\n// correspondrait pas au HTML serveur (vide) → erreur d'hydratation React #422\n// (flicker + perf dégradée). On attend donc le montage : serveur = null,\n// 1er rendu client = null (ça concorde), puis le widget apparaît une frame plus\n// tard, hors du flux d'hydratation. Même motif que VendorModal.\nconst[mounted,setMounted]=useState(false);useEffect(()=>{setMounted(true);},[]);// Close on outside click\nuseEffect(()=>{if(!isOpen)return;const handle=e=>{if(panelRef.current&&!panelRef.current.contains(e.target)){const btn=document.querySelector(\".faq-bubble-btn\");if(btn&&btn.contains(e.target))return;setIsOpen(false);}};document.addEventListener(\"mousedown\",handle);return()=>document.removeEventListener(\"mousedown\",handle);},[isOpen]);// ── Détection d'un menu/overlay plein écran ouvert (sans modifier la Navbar) ──\n// Signal : verrou de scroll du body (overflow:hidden / position:fixed), posé par\n// la quasi-totalité des menus mobiles & overlays. Un override explicite est aussi\n// supporté : window.__CP_MENU_OPEN__ = true/false, ou event \"cp:menu\".\n// Actif uniquement sous la largeur \"mobile\" définie, et seulement si l'option est ON.\nuseEffect(()=>{if(!hideWhenMenuOpen||typeof window===\"undefined\"||typeof document===\"undefined\"){setSuppressed(false);return;}const mq=window.matchMedia(`(max-width: ${menuBreakpoint}px)`);const evaluate=()=>{if(!mq.matches){setSuppressed(false);return;}const w=window;let overlayOpen=w.__CP_MENU_OPEN__===true;if(!overlayOpen){try{const b=getComputedStyle(document.body);const h=getComputedStyle(document.documentElement);overlayOpen=b.overflow===\"hidden\"||b.position===\"fixed\"||h.overflow===\"hidden\";}catch(err){overlayOpen=false;}}setSuppressed(overlayOpen);};evaluate();const mo=new MutationObserver(evaluate);mo.observe(document.body,{attributes:true,attributeFilter:[\"style\",\"class\"]});mo.observe(document.documentElement,{attributes:true,attributeFilter:[\"style\",\"class\"]});const onMq=()=>evaluate();if(mq.addEventListener)mq.addEventListener(\"change\",onMq);else if(mq.addListener)mq.addListener(onMq);const onMenu=()=>evaluate();window.addEventListener(\"cp:menu\",onMenu);return()=>{mo.disconnect();if(mq.removeEventListener)mq.removeEventListener(\"change\",onMq);else if(mq.removeListener)mq.removeListener(onMq);window.removeEventListener(\"cp:menu\",onMenu);};},[hideWhenMenuOpen,menuBreakpoint]);const handleToggle=()=>{setIsOpen(prev=>!prev);setShowDot(false);};const widget=/*#__PURE__*/_jsxs(\"div\",{className:`faq-chatbot-widget${suppressed?\" faq-suppressed\":\"\"}`,children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:globalStyles}}),/*#__PURE__*/_jsxs(\"div\",{ref:panelRef,className:`faq-panel ${isOpen?\"open\":\"closed\"}`,role:\"dialog\",\"aria-label\":\"FAQ — Aide\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"faq-header\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"faq-header-content\",children:[/*#__PURE__*/_jsx(\"p\",{className:\"faq-header-label\",children:\"Aide & FAQ\"}),/*#__PURE__*/_jsx(\"p\",{className:\"faq-header-title\",children:\"En quoi pouvons-nous vous aider\\xa0?\"})]}),/*#__PURE__*/_jsx(\"button\",{className:\"faq-close-btn\",onClick:()=>setIsOpen(false),\"aria-label\":\"Fermer\",children:/*#__PURE__*/_jsx(IconClose,{})})]}),/*#__PURE__*/_jsx(\"p\",{className:\"faq-intro\",children:\"Retrouvez les r\\xe9ponses aux questions fr\\xe9quentes sur notre plateforme.\"}),/*#__PURE__*/_jsx(\"div\",{className:\"faq-list\",role:\"list\",children:FAQ_ITEMS.map(item=>/*#__PURE__*/_jsx(FAQItem,{item:item,isOpen:openItem===item.id,onToggle:()=>setOpenItem(openItem===item.id?null:item.id)},item.id))}),/*#__PURE__*/_jsxs(\"div\",{className:\"faq-footer\",children:[/*#__PURE__*/_jsx(\"p\",{className:\"faq-footer-text\",children:\"Une autre question ? Contactez-nous.\"}),/*#__PURE__*/_jsxs(\"a\",{href:contactUrl||\"/contact\",className:\"faq-footer-link\",children:[\"Nous \\xe9crire \",/*#__PURE__*/_jsx(IconArrow,{})]})]})]}),/*#__PURE__*/_jsxs(\"button\",{className:\"faq-bubble-btn\",onClick:handleToggle,\"aria-label\":isOpen?\"Fermer la FAQ\":\"Ouvrir la FAQ\",children:[/*#__PURE__*/_jsx(\"span\",{className:`faq-bubble-icon-slot ${isOpen?\"slot-hidden\":\"slot-visible\"}`,children:/*#__PURE__*/_jsx(IconQuestion,{})}),/*#__PURE__*/_jsx(\"span\",{className:`faq-bubble-icon-slot ${isOpen?\"slot-visible\":\"slot-hidden\"}`,children:/*#__PURE__*/_jsx(IconClose,{})}),showDot&&!isOpen&&/*#__PURE__*/_jsx(\"span\",{className:\"faq-notif-dot\",\"aria-hidden\":\"true\"})]})]});// Tant que le composant n'est pas monté côté client (ou en rendu serveur),\n// on ne rend RIEN → concorde avec le HTML serveur, pas de mismatch.\nif(!mounted||typeof document===\"undefined\")return null;return /*#__PURE__*/ReactDOM.createPortal(widget,document.body);}// ─── FRAMER EXPORT ────────────────────────────────────────────────────────────\n/**\n * FAQ Chatbot — Hauts-de-France Événements\n *\n * Widget FAQ fixe en bas à droite, couleurs terracotta du design system.\n * À insérer sur chaque page du projet (position: fixed via portal).\n *\n * @framerIntrinsicWidth 1\n * @framerIntrinsicHeight 1\n */export default function FAQChatbot({contactUrl,hideWhenMenuOpen,menuBreakpoint}){return /*#__PURE__*/_jsx(FAQChatbotWidget,{contactUrl:contactUrl||\"/contact\",hideWhenMenuOpen:hideWhenMenuOpen!==false,menuBreakpoint:typeof menuBreakpoint===\"number\"&&menuBreakpoint>0?menuBreakpoint:810});}addPropertyControls(FAQChatbot,{contactUrl:{type:ControlType.String,title:\"URL Contact\",defaultValue:\"/contact\",placeholder:\"/contact\"},hideWhenMenuOpen:{type:ControlType.Boolean,title:\"Masquer si menu mobile ouvert\",defaultValue:true,enabledTitle:\"Oui\",disabledTitle:\"Non\"},menuBreakpoint:{type:ControlType.Number,title:\"Largeur mobile (px)\",defaultValue:810,min:320,max:1200,step:10,displayStepper:false}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FAQChatbot\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"1\",\"framerIntrinsicHeight\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FAQChatbot.map"],"mappings":"2NA6XqD,SAAS,GAAc,CAAC,OAAoB,EAAM,MAAM,CAAC,MAAM,KAAK,OAAO,KAAK,QAAQ,YAAY,KAAK,OAAO,MAAM,6BAA6B,SAAS,CAAc,EAAK,OAAO,CAAC,EAAE,sOAAsO,OAAO,QAAQ,YAAY,IAAI,cAAc,QAAQ,eAAe,OAAO,CAAC,EAAe,EAAK,SAAS,CAAC,GAAG,KAAK,GAAG,KAAK,EAAE,KAAK,OAAO,QAAQ,YAAY,IAAI,cAAc,QAAQ,eAAe,OAAO,CAAC,CAAC,CAAC,CAAC,CAAE,CAAC,SAAS,GAAW,CAAC,OAAoB,EAAK,MAAM,CAAC,MAAM,KAAK,OAAO,KAAK,QAAQ,YAAY,KAAK,OAAO,MAAM,6BAA6B,SAAsB,EAAK,OAAO,CAAC,EAAE,uBAAuB,OAAO,QAAQ,YAAY,MAAM,cAAc,OAAO,CAAC,CAAC,CAAC,CAAE,CAAC,SAAS,EAAY,CAAC,aAAW,CAAC,OAAoB,EAAK,MAAM,CAAW,YAAU,QAAQ,YAAY,KAAK,OAAO,MAAM,6BAA6B,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