{"version":3,"file":"ConsentToggle.DoumkQLF.mjs","names":["Chevron","UIElementsLinkButton","React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId","RichText","useState"],"sources":["https:/framerusercontent.com/modules/ZFZrw2WmqOKfBUJAkwaB/E6TPQoSTNWGf3yrZTZH2/e0KGAhCFX.js","https:/framerusercontent.com/modules/bFUuYUVhAosETcYuL0i6/vxgeI40wZctAGeHy0sHD/ConsentToggle.js"],"sourcesContent":["// Generated by Framer (6776473)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,RichText,SmartComponentScopedContainer,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import Chevron from\"https://framerusercontent.com/modules/94cSuECZpLgb1XfGciiz/F97fSaNUU9WIgkjdgPk8/tskekqoR2.js\";import UIElementsLinkButton from\"https://framerusercontent.com/modules/KI0JvtJDPSF3rxAf9TEV/AmgXLKBWHq2nQzPB8LrZ/vmaUNOcxD.js\";const ChevronFonts=getFonts(Chevron);const UIElementsLinkButtonFonts=getFonts(UIElementsLinkButton);const cycleOrder=[\"tbNSRTfdW\",\"rj0mqoUqo\"];const serializationHash=\"framer-nZLrC\";const variantClassNames={rj0mqoUqo:\"framer-v-493gu9\",tbNSRTfdW:\"framer-v-i7uulp\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const cdCmkNCFx=undefined;const K9fzaH2ky=undefined;const k3wyoVDrh=undefined;const kPnd3kwdx=undefined;const ifuNELM2K=undefined;const un4rrh2bY=undefined;const oN_Cc5eHx=undefined;const T3pXnrmnH=undefined;const kXDJ_y4XD=undefined;const JtFC3w00R=undefined;const qhyblbhGp=undefined;const qe8MHQts2=undefined;const transition1={delay:0,duration:.4,ease:[.19,1,.22,1],type:\"tween\"};const isSet=value=>{if(Array.isArray(value))return value.length>0;return value!==undefined&&value!==null&&value!==\"\";};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={Closed:\"tbNSRTfdW\",Opened:\"rj0mqoUqo\"};const getProps=({height,id,title1,title2,title3,title4,title5,title6,uRL1,uRL2,uRL3,uRL4,uRL5,uRL6,width,...props})=>{return{...props,cdCmkNCFx:title1??props.cdCmkNCFx??\"Link title\",ifuNELM2K:uRL3??props.ifuNELM2K,JtFC3w00R:title5??props.JtFC3w00R??\"Link title\",k3wyoVDrh:title2??props.k3wyoVDrh??\"Link title\",K9fzaH2ky:uRL1??props.K9fzaH2ky,kPnd3kwdx:uRL2??props.kPnd3kwdx,kXDJ_y4XD:uRL5??props.kXDJ_y4XD,oN_Cc5eHx:uRL4??props.oN_Cc5eHx,qe8MHQts2:title6??props.qe8MHQts2??\"Link title\",qhyblbhGp:uRL6??props.qhyblbhGp,T3pXnrmnH:title4??props.T3pXnrmnH??\"Link title\",un4rrh2bY:title3??props.un4rrh2bY??\"Link title\",variant:humanReadableVariantMap[props.variant]??props.variant??\"tbNSRTfdW\"};};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,cdCmkNCFx,K9fzaH2ky,k3wyoVDrh,kPnd3kwdx,un4rrh2bY,ifuNELM2K,T3pXnrmnH,oN_Cc5eHx,JtFC3w00R,kXDJ_y4XD,qe8MHQts2,qhyblbhGp,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"tbNSRTfdW\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onTap1qjnnrb=activeVariantCallback(async(...args)=>{setVariant(\"rj0mqoUqo\");});const onTappgriah=activeVariantCallback(async(...args)=>{setVariant(\"tbNSRTfdW\");});const N5c3RuEYspgriah=activeVariantCallback(async(...args)=>{setVariant(\"tbNSRTfdW\");});const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const visible=isSet(ifuNELM2K);const visible1=isSet(oN_Cc5eHx);const visible2=isSet(kXDJ_y4XD);const visible3=isSet(qhyblbhGp);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsxs(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-i7uulp\",className,classNames),\"data-framer-name\":\"Closed\",layoutDependency:layoutDependency,layoutId:\"tbNSRTfdW\",ref:refBinding,style:{...style},...addPropertyOverrides({rj0mqoUqo:{\"data-framer-name\":\"Opened\"}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsxs(motion.div,{className:\"framer-gq77kn\",\"data-framer-name\":\"Accordion\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"WZPYvwBSB\",onTap:onTap1qjnnrb,style:{backgroundColor:\"rgb(255, 255, 255)\"},...addPropertyOverrides({rj0mqoUqo:{onTap:onTappgriah}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"Q1VTVE9NO0dyYXBoaWsgTWVkaXVt\",\"--framer-font-family\":'\"Graphik Medium\", \"Graphik Medium Placeholder\", sans-serif',\"--framer-font-weight\":\"500\",\"--framer-letter-spacing\":\"-0.256px\",\"--framer-line-height\":\"18px\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgba(20, 27, 36, 0.8))\"},children:\"Table of contents\"})}),className:\"framer-le6cxq\",fonts:[\"CUSTOM;Graphik Medium\"],layoutDependency:layoutDependency,layoutId:\"vOGRRIrkp\",style:{\"--extracted-r6o4lv\":\"rgba(20, 27, 36, 0.8)\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsx(ComponentViewportProvider,{height:20,width:\"20px\",y:(componentViewport?.y||0)+0+0+20,children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1v1h3tz-container\",layoutDependency:layoutDependency,layoutId:\"oLA7_aWuz-container\",nodeId:\"oLA7_aWuz\",rendersWithMotion:true,scopeId:\"e0KGAhCFX\",children:/*#__PURE__*/_jsx(Chevron,{height:\"100%\",id:\"oLA7_aWuz\",layoutId:\"oLA7_aWuz\",style:{height:\"100%\",width:\"100%\"},variant:\"IZQO3fYDQ\",width:\"100%\",...addPropertyOverrides({rj0mqoUqo:{variant:\"V8wloVP_U\"}},baseVariant,gestureVariant)})})})]}),/*#__PURE__*/_jsxs(motion.div,{className:\"framer-1mkyjmx\",\"data-framer-name\":\"List\",layoutDependency:layoutDependency,layoutId:\"c9M9yN05V\",style:{backgroundColor:\"rgb(255, 255, 255)\",opacity:0},variants:{rj0mqoUqo:{opacity:1}},children:[/*#__PURE__*/_jsx(ComponentViewportProvider,{height:30,y:(componentViewport?.y||0)+0+60+8+0,children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1gpyhf1-container\",\"data-framer-name\":\"Link 1\",layoutDependency:layoutDependency,layoutId:\"W1we9G6vB-container\",name:\"Link 1\",nodeId:\"W1we9G6vB\",rendersWithMotion:true,scopeId:\"e0KGAhCFX\",children:/*#__PURE__*/_jsx(UIElementsLinkButton,{fEKvJo0Tt:cdCmkNCFx,height:\"100%\",id:\"W1we9G6vB\",layoutId:\"W1we9G6vB\",mxRJOvhwE:K9fzaH2ky,name:\"Link 1\",variant:\"TP9IgsLPc\",width:\"100%\",...addPropertyOverrides({rj0mqoUqo:{N5c3RuEYs:N5c3RuEYspgriah}},baseVariant,gestureVariant)})})}),/*#__PURE__*/_jsx(ComponentViewportProvider,{height:30,y:(componentViewport?.y||0)+0+60+8+46,children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1cvga1i-container\",\"data-framer-name\":\"Link 2\",layoutDependency:layoutDependency,layoutId:\"V7Vn4yv_P-container\",name:\"Link 2\",nodeId:\"V7Vn4yv_P\",rendersWithMotion:true,scopeId:\"e0KGAhCFX\",children:/*#__PURE__*/_jsx(UIElementsLinkButton,{fEKvJo0Tt:k3wyoVDrh,height:\"100%\",id:\"V7Vn4yv_P\",layoutId:\"V7Vn4yv_P\",mxRJOvhwE:kPnd3kwdx,name:\"Link 2\",variant:\"TP9IgsLPc\",width:\"100%\",...addPropertyOverrides({rj0mqoUqo:{N5c3RuEYs:N5c3RuEYspgriah}},baseVariant,gestureVariant)})})}),visible!==false&&/*#__PURE__*/_jsx(ComponentViewportProvider,{height:30,y:(componentViewport?.y||0)+0+60+8+92,children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-10nsa7g-container\",\"data-framer-name\":\"Link 3\",layoutDependency:layoutDependency,layoutId:\"h7HlW4tXs-container\",name:\"Link 3\",nodeId:\"h7HlW4tXs\",rendersWithMotion:true,scopeId:\"e0KGAhCFX\",children:/*#__PURE__*/_jsx(UIElementsLinkButton,{fEKvJo0Tt:un4rrh2bY,height:\"100%\",id:\"h7HlW4tXs\",layoutId:\"h7HlW4tXs\",mxRJOvhwE:ifuNELM2K,name:\"Link 3\",variant:\"TP9IgsLPc\",width:\"100%\",...addPropertyOverrides({rj0mqoUqo:{N5c3RuEYs:N5c3RuEYspgriah}},baseVariant,gestureVariant)})})}),visible1!==false&&/*#__PURE__*/_jsx(ComponentViewportProvider,{height:30,y:(componentViewport?.y||0)+0+60+8+92,children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-qpfdh3-container\",\"data-framer-name\":\"Link 4\",layoutDependency:layoutDependency,layoutId:\"KY6QtnTWx-container\",name:\"Link 4\",nodeId:\"KY6QtnTWx\",rendersWithMotion:true,scopeId:\"e0KGAhCFX\",children:/*#__PURE__*/_jsx(UIElementsLinkButton,{fEKvJo0Tt:T3pXnrmnH,height:\"100%\",id:\"KY6QtnTWx\",layoutId:\"KY6QtnTWx\",mxRJOvhwE:oN_Cc5eHx,name:\"Link 4\",variant:\"TP9IgsLPc\",width:\"100%\",...addPropertyOverrides({rj0mqoUqo:{N5c3RuEYs:N5c3RuEYspgriah}},baseVariant,gestureVariant)})})}),visible2!==false&&/*#__PURE__*/_jsx(ComponentViewportProvider,{height:30,y:(componentViewport?.y||0)+0+60+8+92,children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1h19toi-container\",\"data-framer-name\":\"Link 5\",layoutDependency:layoutDependency,layoutId:\"HwTXfMGOC-container\",name:\"Link 5\",nodeId:\"HwTXfMGOC\",rendersWithMotion:true,scopeId:\"e0KGAhCFX\",children:/*#__PURE__*/_jsx(UIElementsLinkButton,{fEKvJo0Tt:JtFC3w00R,height:\"100%\",id:\"HwTXfMGOC\",layoutId:\"HwTXfMGOC\",mxRJOvhwE:kXDJ_y4XD,name:\"Link 5\",variant:\"TP9IgsLPc\",width:\"100%\",...addPropertyOverrides({rj0mqoUqo:{N5c3RuEYs:N5c3RuEYspgriah}},baseVariant,gestureVariant)})})}),visible3!==false&&/*#__PURE__*/_jsx(ComponentViewportProvider,{height:30,y:(componentViewport?.y||0)+0+60+8+92,children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1kk6ojc-container\",\"data-framer-name\":\"Link 6\",layoutDependency:layoutDependency,layoutId:\"I1pJOzLCQ-container\",name:\"Link 6\",nodeId:\"I1pJOzLCQ\",rendersWithMotion:true,scopeId:\"e0KGAhCFX\",children:/*#__PURE__*/_jsx(UIElementsLinkButton,{fEKvJo0Tt:qe8MHQts2,height:\"100%\",id:\"I1pJOzLCQ\",layoutId:\"I1pJOzLCQ\",mxRJOvhwE:qhyblbhGp,name:\"Link 6\",variant:\"TP9IgsLPc\",width:\"100%\",...addPropertyOverrides({rj0mqoUqo:{N5c3RuEYs:N5c3RuEYspgriah}},baseVariant,gestureVariant)})})})]})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-nZLrC.framer-eumkq3, .framer-nZLrC .framer-eumkq3 { display: block; }\",\".framer-nZLrC.framer-i7uulp { align-content: flex-start; align-items: flex-start; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 0px; height: min-content; justify-content: flex-start; overflow: visible; padding: 0px; position: relative; width: 300px; }\",\".framer-nZLrC .framer-gq77kn { align-content: center; align-items: center; cursor: pointer; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; height: 60px; justify-content: space-between; overflow: visible; padding: 0px; position: relative; width: 100%; }\",\".framer-nZLrC .framer-le6cxq { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",\".framer-nZLrC .framer-1v1h3tz-container { flex: none; height: 20px; position: relative; width: 20px; }\",\".framer-nZLrC .framer-1mkyjmx { -webkit-user-select: none; align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 16px; height: min-content; justify-content: center; overflow: visible; padding: 8px 0px 16px 0px; pointer-events: none; position: relative; user-select: none; width: 100%; }\",\".framer-nZLrC .framer-1gpyhf1-container, .framer-nZLrC .framer-1cvga1i-container, .framer-nZLrC .framer-10nsa7g-container, .framer-nZLrC .framer-qpfdh3-container, .framer-nZLrC .framer-1h19toi-container, .framer-nZLrC .framer-1kk6ojc-container { flex: none; height: auto; position: relative; width: auto; }\",\".framer-nZLrC.framer-v-493gu9 .framer-1mkyjmx { -webkit-user-select: auto; pointer-events: auto; user-select: auto; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 160\n * @framerIntrinsicWidth 300\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"]},\"rj0mqoUqo\":{\"layout\":[\"fixed\",\"auto\"]}}}\n * @framerVariables {\"cdCmkNCFx\":\"title1\",\"K9fzaH2ky\":\"uRL1\",\"k3wyoVDrh\":\"title2\",\"kPnd3kwdx\":\"uRL2\",\"un4rrh2bY\":\"title3\",\"ifuNELM2K\":\"uRL3\",\"T3pXnrmnH\":\"title4\",\"oN_Cc5eHx\":\"uRL4\",\"JtFC3w00R\":\"title5\",\"kXDJ_y4XD\":\"uRL5\",\"qe8MHQts2\":\"title6\",\"qhyblbhGp\":\"uRL6\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const Framere0KGAhCFX=withCSS(Component,css,\"framer-nZLrC\");export default Framere0KGAhCFX;Framere0KGAhCFX.displayName=\"TOC\";Framere0KGAhCFX.defaultProps={height:160,width:300};addPropertyControls(Framere0KGAhCFX,{variant:{options:[\"tbNSRTfdW\",\"rj0mqoUqo\"],optionTitles:[\"Closed\",\"Opened\"],title:\"Variant\",type:ControlType.Enum},cdCmkNCFx:{defaultValue:\"Link title\",displayTextArea:false,title:\"Title 1\",type:ControlType.String},K9fzaH2ky:{title:\"URL 1\",type:ControlType.Link},k3wyoVDrh:{defaultValue:\"Link title\",displayTextArea:false,title:\"Title 2\",type:ControlType.String},kPnd3kwdx:{title:\"URL 2\",type:ControlType.Link},un4rrh2bY:{defaultValue:\"Link title\",displayTextArea:false,title:\"Title 3\",type:ControlType.String},ifuNELM2K:{title:\"URL 3\",type:ControlType.Link},T3pXnrmnH:{defaultValue:\"Link title\",displayTextArea:false,title:\"Title 4\",type:ControlType.String},oN_Cc5eHx:{title:\"URL 4\",type:ControlType.Link},JtFC3w00R:{defaultValue:\"Link title\",displayTextArea:false,title:\"Title 5\",type:ControlType.String},kXDJ_y4XD:{title:\"URL 5\",type:ControlType.Link},qe8MHQts2:{defaultValue:\"Link title\",displayTextArea:false,title:\"Title 6\",type:ControlType.String},qhyblbhGp:{title:\"URL 6\",type:ControlType.Link}});addFonts(Framere0KGAhCFX,[{explicitInter:true,fonts:[{cssFamilyName:\"Graphik Medium\",source:\"custom\",style:\"normal\",uiFamilyName:\"Graphik\",url:\"https://framerusercontent.com/assets/GngxACMS8TY52I8MoDNusmlVF0M.otf\",weight:\"500\"}]},...ChevronFonts,...UIElementsLinkButtonFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Framere0KGAhCFX\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"160\",\"framerImmutableVariables\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"rj0mqoUqo\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]}}}\",\"framerVariables\":\"{\\\"cdCmkNCFx\\\":\\\"title1\\\",\\\"K9fzaH2ky\\\":\\\"uRL1\\\",\\\"k3wyoVDrh\\\":\\\"title2\\\",\\\"kPnd3kwdx\\\":\\\"uRL2\\\",\\\"un4rrh2bY\\\":\\\"title3\\\",\\\"ifuNELM2K\\\":\\\"uRL3\\\",\\\"T3pXnrmnH\\\":\\\"title4\\\",\\\"oN_Cc5eHx\\\":\\\"uRL4\\\",\\\"JtFC3w00R\\\":\\\"title5\\\",\\\"kXDJ_y4XD\\\":\\\"uRL5\\\",\\\"qe8MHQts2\\\":\\\"title6\\\",\\\"qhyblbhGp\\\":\\\"uRL6\\\"}\",\"framerColorSyntax\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerComponentViewportWidth\":\"true\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"300\",\"framerAutoSizeImages\":\"true\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useState}from\"react\";import{motion,addPropertyControls,ControlType}from\"framer\";const STORAGE_KEY=\"consentToggleState\";const setLocalStorage=value=>{localStorage.setItem(STORAGE_KEY,JSON.stringify(value));document.cookie=`${STORAGE_KEY}=${value}; path=/; max-age=31536000`// 1-year cookie\n;};const getLocalStorage=()=>{const storedValue=localStorage.getItem(STORAGE_KEY);if(storedValue!==null)return JSON.parse(storedValue);// Fallback: Check cookie if localStorage is empty\nconst cookies=document.cookie.split(\"; \");const cookie=cookies.find(row=>row.startsWith(`${STORAGE_KEY}=`));return cookie?cookie.split(\"=\")[1]===\"true\":null;};export function Toggle(props){if(typeof window!==\"undefined\"){const{toggled,onToggle}=props;const[isToggled,setIsToggled]=useState(()=>{const storedValue=getLocalStorage();return storedValue!==null?storedValue:toggled;});useEffect(()=>{setLocalStorage(isToggled);},[isToggled]);return /*#__PURE__*/_jsxs(motion.div,{style:{display:\"flex\",alignItems:\"center\",gap:16,paddingTop:12,paddingBottom:12,cursor:\"pointer\"},onTap:()=>{setIsToggled(prev=>{const newState=!prev;setLocalStorage(newState);if(onToggle)onToggle(newState);// Gestion du mode de consentement\nlet consentMode=newState?\"opt-out\":\"opt-in\";window._paqueue.push([\"consent.setByPurpose\",\"AM\",consentMode]);// Envoi de l'événement click.action avec un nom explicite\nwindow._paqueue.push([\"sendEvent\",\"click.action\",{click:\"consent_toggle\",status:newState?\"exempt\":\"opt-out\"}]);return newState;});},children:[/*#__PURE__*/_jsx(motion.div,{style:{width:60,height:30,display:\"flex\",alignItems:\"center\",justifyContent:\"flex-\"+(isToggled?\"end\":\"start\"),backgroundColor:isToggled?\"#8BD389\":\"#D0D2D3\",borderRadius:99,padding:2,flexShrink:0},children:/*#__PURE__*/_jsx(motion.div,{layout:true,transition:{type:\"spring\",bounce:.15,duration:.25},style:{width:26,height:26,backgroundColor:\"white\",borderRadius:\"50%\"}})}),/*#__PURE__*/_jsx(motion.span,{style:{fontFamily:`\"Graphik Regular\", \"Graphik Regular Placeholder\", sans-serif`,fontSize:16,lineHeight:\"24px\",color:\"#0A0E12\"},children:isToggled?props.textNoConsent:props.textConsent})]});}}Toggle.defaultProps={textConsent:\"My navigation data is collected for statistical purposes.\",textNoConsent:\"My right to object is effective, and no more personal data is collected.\"};// Property Controls\naddPropertyControls(Toggle,{toggled:{title:\"Toggled\",type:ControlType.Boolean,defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"},textNoConsent:{title:\"Text ON\",type:ControlType.String},textConsent:{title:\"Text OFF\",type:ControlType.String},onToggle:{type:ControlType.EventHandler}});\nexport const __FramerMetadata__ = {\"exports\":{\"Toggle\":{\"type\":\"reactComponent\",\"name\":\"Toggle\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ConsentToggle.map"],"mappings":"+eACw4B,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,CAAC,EAAuF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,EAAQ,CAAC,EAAS,CAAc,2CAAtgC,IAA8N,IAAkE,IAA4B,IAA4I,IAA+H,EAAO,EAAa,EAASA,CAAO,EAAQ,EAA0B,EAASC,CAAoB,EAAQ,EAAW,CAAC,YAAY,WAAW,EAAQ,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,UAAU,iBAAiB,EAAuf,EAA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