{"version":3,"file":"CSNContact.CwpdbopJ.mjs","names":["React.useState","React.useRef","React.useId"],"sources":["https:/framerusercontent.com/modules/RMC9z6D6xxC9Kss1SCZK/GMOX7I0eJ8ALMW0zq9PK/CSNContact.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{openCSNSignup}from\"https://framerusercontent.com/modules/RXPhJhfuWAH0WjlY6iS2/fBEg0H39CghNTTjYPJPs/CSNFooterSignup.js\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";const categories=[{name:\"General Question\",icon:\"💬\",description:\"Have a general question about Career Seekers Network or one of our products?\"},{name:\"Feedback & Suggestions\",icon:\"💡\",description:\"Help us improve Career Seekers Network by sharing ideas, feature requests, bugs, or suggestions.\"},{name:\"Partnerships\",icon:\"🤝\",description:\"Are you a founder, business, nonprofit, educational institution, or organization interested in collaborating to expand career education, resources, or employment opportunities? Let's explore ways we can work together.\"},{name:\"Staffing Solutions\",icon:\"💼\",description:\"Does your organization need recruiting or staffing support? We partner with organizations to deliver flexible hiring solutions tailored to your hiring goals, budget, and business needs.\"},{name:\"Work With Aimee\",icon:\"👥\",description:\"Interested in our Career Advisory Services and working directly with Aimee? Start the conversation here.\"},{name:\"Other\",icon:\"❓\",description:\"Didn't find the right category? Send us a message.\"}];function validUrl(value){try{return Boolean(value&&new URL(value).protocol===\"https:\");}catch{return false;}}/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function CSNContact({style,endpoint=\"\",email=\"\",youtube=\"\",newsletter=\"\",bodyFont={}}){const[category,setCategory]=React.useState(\"General Question\");const[status,setStatus]=React.useState(\"idle\");const[draftUrl,setDraftUrl]=React.useState(\"\");const[signupError,setSignupError]=React.useState(\"\");const formRef=React.useRef(null);const successRef=React.useRef(null);const pendingRef=React.useRef(false);const submissionRef=React.useRef(null);const id=\"csnc-\"+React.useId().replace(/:/g,\"\");const configured=validUrl(endpoint);const organization=category===\"Partnerships\"||category===\"Staffing Solutions\";React.useEffect(()=>{if(status===\"success\")successRef.current?.focus();},[status]);React.useEffect(()=>{if(typeof window===\"undefined\")return;let frame=0;const applyPartnershipLink=()=>{const params=new URLSearchParams(window.location.search);let requested=false;try{requested=window.sessionStorage.getItem(\"csn-partnership-intent\")===\"true\";if(requested)window.sessionStorage.removeItem(\"csn-partnership-intent\");}catch{}if(!requested&&params.get(\"category\")?.toLowerCase()!==\"partnerships\"&&window.location.hash!==\"#partnerships\")return;setCategory(\"Partnerships\");frame=window.requestAnimationFrame(()=>{formRef.current?.scrollIntoView({behavior:\"auto\",block:\"start\"});});};const handlePartnershipClick=event=>{if(event.metaKey||event.ctrlKey||event.shiftKey||event.altKey||event.button!==0)return;const target=event.target instanceof Element?event.target.closest(\"a[href]\"):null;if(!target||new URL(target.href).hash!==\"#partnerships\")return;setCategory(\"Partnerships\");frame=window.requestAnimationFrame(()=>window.requestAnimationFrame(()=>{formRef.current?.scrollIntoView({behavior:\"auto\",block:\"start\"});}));};document.addEventListener(\"click\",handlePartnershipClick,true);applyPartnershipLink();window.addEventListener(\"csn-partnership-intent\",applyPartnershipLink);window.addEventListener(\"popstate\",applyPartnershipLink);window.addEventListener(\"hashchange\",applyPartnershipLink);return()=>{document.removeEventListener(\"click\",handlePartnershipClick,true);window.cancelAnimationFrame(frame);window.removeEventListener(\"csn-partnership-intent\",applyPartnershipLink);window.removeEventListener(\"popstate\",applyPartnershipLink);window.removeEventListener(\"hashchange\",applyPartnershipLink);};},[]);function selectCategory(value,scroll=false){if(status===\"pending\")return;if(status===\"success\"){pendingRef.current=false;submissionRef.current=null;}setCategory(value);setStatus(\"idle\");if(scroll)formRef.current?.scrollIntoView({behavior:window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches?\"auto\":\"smooth\",block:\"start\"});}async function submit(event){event.preventDefault();if(pendingRef.current)return;const form=event.currentTarget;if(!form.reportValidity())return;const data=new FormData(form);const payload={source:\"CSN Contact Form\",category};for(const key of[\"name\",\"email\",\"subject\",\"message\",...organization?[\"organization\"]:[],...category===\"Partnerships\"?[\"website\"]:[],...category===\"Staffing Solutions\"?[\"hiringNeeds\"]:[],...category===\"Work With Aimee\"?[\"careerStage\"]:[]])payload[key]=String(data.get(key)||\"\").trim();payload.email=payload.email.toLowerCase();if(!configured){const recipient=email.trim();if(!/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/.test(recipient)){setStatus(\"error\");return;}const labels={category:\"Category\",name:\"Name\",email:\"Email\",organization:\"Organization\",website:\"Website\",hiringNeeds:\"Hiring Needs\",careerStage:\"Current Career Stage\"};const details=Object.entries(labels).filter(([key])=>payload[key]).map(([key,label])=>label+\": \"+payload[key]);const body=details.join(\"\\n\")+\"\\n\\n\"+payload.message;const url=\"mailto:\"+recipient+\"?subject=\"+encodeURIComponent(\"[\"+category+\"] \"+payload.subject)+\"&body=\"+encodeURIComponent(body);setDraftUrl(url);setStatus(\"draft\");window.location.assign(url);return;}pendingRef.current=true;setStatus(\"pending\");const controller=new AbortController;const timer=window.setTimeout(()=>controller.abort(),9e4);let delivered=false;try{// Only a non-sensitive fingerprint and random ID are stored locally.\n// Reuse the ID after a timeout so a retry cannot create another inquiry.\nconst digest=await window.crypto.subtle.digest(\"SHA-256\",new TextEncoder().encode(JSON.stringify(payload)));const fingerprint=Array.from(new Uint8Array(digest)).map(byte=>byte.toString(16).padStart(2,\"0\")).join(\"\");const storageKey=\"csn-contact-submission:\"+fingerprint;if(submissionRef.current?.fingerprint!==fingerprint){let savedId=\"\";try{savedId=window.sessionStorage.getItem(storageKey)||\"\";}catch{}const validId=/^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$/i.test(savedId);submissionRef.current={fingerprint,id:validId?savedId:window.crypto.randomUUID()};try{window.sessionStorage.setItem(storageKey,submissionRef.current.id);}catch{}}payload.submissionId=submissionRef.current.id;const response=await fetch(endpoint,{method:\"POST\",headers:{\"Content-Type\":\"application/json\",Accept:\"application/json\"},body:JSON.stringify(payload),signal:controller.signal});const result=await response.json();if(!response.ok||result?.ok!==true)throw new Error(\"Delivery failed\");delivered=true;setStatus(\"success\");form.reset();}catch{setStatus(\"error\");}finally{window.clearTimeout(timer);if(!delivered)pendingRef.current=false;}}function field(name,label,type=\"text\",required=false,autoComplete){return /*#__PURE__*/_jsxs(\"label\",{className:\"csnc-field\",htmlFor:id+name,children:[label,required&&/*#__PURE__*/_jsx(\"span\",{className:\"csnc-required\",children:\"Required\"}),/*#__PURE__*/_jsx(\"input\",{id:id+name,name:name,type:type,required:required,autoComplete:autoComplete,maxLength:name===\"subject\"?200:300})]});}const connections=[{name:\"Email\",href:email&&/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/.test(email)?\"mailto:\"+email:\"\",description:email||\"Contact details coming soon\"},{name:\"LinkedIn\",href:\"https://www.linkedin.com/company/careerseekersnetwork/\",description:\"Follow us on LinkedIn\"},{name:\"YouTube\",href:validUrl(youtube)?youtube:\"\",description:youtube?\"Subscribe to our channel\":\"Channel link coming soon\"},{name:\"Subscribe\",href:\"#create-account\",description:\"Create an account for career updates\"}];return /*#__PURE__*/_jsxs(\"div\",{className:\"csnc\",style:{...style,...bodyFont,position:\"relative\",width:\"100%\",height:\"auto\"},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n        .csnc{--ink:var(--token-d0f1101c-0284-4318-8dc9-a62a51dbb80a,#2b2e34);--cyan:var(--token-b10594e9-70d6-415e-b767-36165f510028,#68dbe5);--soft:var(--token-5b07c10d-94c3-4374-81d7-33fd09ffbdd9,#dce9fb);--paper:var(--token-27ac5cc8-cb0a-4e93-9084-f87af726d313,#fff);color:var(--ink);font-family:Inter,sans-serif;font-size:16px;line-height:1.6;container-type:inline-size;background:var(--paper)}\n        .csnc *{box-sizing:border-box}.csnc h1,.csnc h2,.csnc h3,.csnc p{margin:0}.csnc h1{font-size:56px;line-height:1.1;letter-spacing:-.035em;font-weight:700}.csnc h2{font-size:40px;line-height:1.2;letter-spacing:-.025em;font-weight:700}.csnc h3{font-size:24px;line-height:1.25;letter-spacing:-.015em;font-weight:700}\n        .csnc-inner{max-width:1200px;margin:0 auto;padding:64px}.csnc-hero{text-align:center;padding-top:80px;padding-bottom:80px}.csnc-hero p{max-width:720px;margin:24px auto 0}.csnc-categories{background:var(--token-2e0c1f94-7b9a-444c-a673-93d53dbda9e7,#f5f7fa)}.csnc-grid{display:grid;grid-auto-rows:1fr;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:32px}\n        .csnc button,.csnc input,.csnc select,.csnc textarea{font:inherit;color:inherit}.csnc-card{background:var(--paper);border:1px solid #e5eaf2;border-radius:24px;padding:28px;text-align:left;cursor:pointer;box-shadow:0 12px 28px rgba(30,55,100,.06);transition:background .2s,border-color .2s;display:flex;flex-direction:column;gap:16px;min-width:0;position:relative}.csnc-card:hover{background:var(--soft)}.csnc-card[aria-pressed=true]{background:var(--soft);border-color:#1564d4}.csnc-icon{font-size:24px;line-height:1}.csnc-card-title{font-size:24px;line-height:1.25;font-weight:700;letter-spacing:-.015em}.csnc-card-description{font-size:16px;line-height:1.6}.csnc-selected{position:absolute;right:20px;top:20px;color:#0f54b8;font-size:20px}.csnc :is(button,a,input,select,textarea):focus-visible{outline:3px solid #1564d4;outline-offset:4px}\n        .csnc-formwrap{max-width:920px}.csnc-form{margin-top:32px;scroll-margin-top:120px}.csnc-fields{border:0;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;min-width:0}.csnc-field{display:flex;flex-direction:column;gap:8px;font-weight:500;position:relative;min-width:0}.csnc-required{position:absolute;right:0;top:3px;font-size:12px;font-weight:400;color:#5c6470}.csnc-wide{grid-column:1/-1}.csnc-field input,.csnc-field select,.csnc-field textarea{width:100%;min-width:0;background:var(--paper);border:1px solid #c7ced9;border-radius:16px;min-height:56px;padding:14px 16px;font-weight:400}.csnc-field select{appearance:none;-webkit-appearance:none;padding-right:48px;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%232b2e34' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E\");background-repeat:no-repeat;background-position:right 18px center;background-size:18px 18px;}.csnc-field textarea{min-height:176px;resize:vertical}.csnc-field textarea::placeholder{color:#626b77}.csnc-help{margin-top:16px!important;font-size:14px;color:#59616c}.csnc-send{display:inline-flex;align-items:center;gap:12px;background:#0f54b8;color:white!important;border:0;border-radius:999px;padding:4px 4px 4px 20px;min-height:48px;margin-top:24px;font-weight:600;box-shadow:0 10px 24px rgba(21,100,212,.24);cursor:pointer;transition:background .2s,color .2s}.csnc-send>span{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--cyan);color:var(--ink);font-size:22px;transition:transform .2s,background .2s}.csnc-send:not(:disabled):hover{background:var(--cyan);color:var(--ink)!important}.csnc-send:not(:disabled):hover>span{background:var(--ink);color:var(--cyan)}.csnc-send:disabled{background:#e2e6eb;color:#515966!important;cursor:not-allowed}.csnc-send:disabled>span{background:var(--cyan);color:var(--ink)}\n        .csnc-success{margin-top:32px;padding:32px;background:var(--soft);border-radius:24px}.csnc-error{color:#a32626;margin-top:20px!important}.csnc-connect{background:var(--token-2e0c1f94-7b9a-444c-a673-93d53dbda9e7,#f5f7fa)}.csnc-connections{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin-top:32px}.csnc-connection{border-top:1px solid #cbd3df;padding-top:20px;min-width:0}.csnc-connection a{color:var(--ink);font-size:20px;font-weight:600;display:inline-flex;align-items:center;min-height:44px;gap:12px;text-decoration:none}.csnc-connection a{transition:color .2s}.csnc-connection a:is(:hover,:focus-visible){color:var(--token-9ecde7a7-2045-4e04-b9f8-da603470b6a8,#3563d4);text-decoration:none}.csnc-connection>span{font-size:20px;font-weight:600;display:block;line-height:44px}.csnc-connection p{font-size:14px;overflow-wrap:anywhere;color:#59616c}\n        @container(max-width:1199px){.csnc-inner{padding:64px 32px}.csnc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.csnc h1{font-size:48px}.csnc h2{font-size:36px}}\n        @container(max-width:900px){.csnc-connections{grid-template-columns:repeat(2,minmax(0,1fr))}}\n        @container(max-width:600px){.csnc-inner{padding:48px 24px}.csnc h1{font-size:40px}.csnc h2{font-size:30px}.csnc-grid,.csnc-fields,.csnc-connections{grid-template-columns:1fr}.csnc-grid{grid-auto-rows:auto}.csnc-card{padding:24px}.csnc-card-title{font-size:22px}.csnc-fields{gap:20px}.csnc-hero p{margin-top:20px}.csnc-send{width:100%;justify-content:space-between}.csnc-connections{gap:20px}}\n        @media(prefers-reduced-motion:reduce){.csnc *{transition:none!important;scroll-behavior:auto!important}}\n        `}),/*#__PURE__*/_jsxs(\"header\",{className:\"csnc-inner csnc-hero\",children:[/*#__PURE__*/_jsx(\"h1\",{children:\"Message Us\"}),/*#__PURE__*/_jsx(\"p\",{children:\"Have a question, suggestion, partnership opportunity, or need staffing support? We'd love to hear from you!\"})]}),/*#__PURE__*/_jsx(\"section\",{className:\"csnc-categories\",\"aria-labelledby\":id+\"categories\",children:/*#__PURE__*/_jsxs(\"div\",{className:\"csnc-inner\",children:[/*#__PURE__*/_jsx(\"h2\",{id:id+\"categories\",children:\"What Can We Help You With Today?\"}),/*#__PURE__*/_jsx(\"div\",{className:\"csnc-grid\",children:categories.map(item=>/*#__PURE__*/_jsxs(\"button\",{type:\"button\",className:\"csnc-card\",\"aria-pressed\":category===item.name,\"aria-controls\":id+\"form\",onClick:()=>selectCategory(item.name,true),disabled:status===\"pending\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"csnc-icon\",\"aria-hidden\":\"true\",children:item.icon}),category===item.name&&/*#__PURE__*/_jsx(\"span\",{className:\"csnc-selected\",\"aria-hidden\":\"true\",children:\"✓\"}),/*#__PURE__*/_jsx(\"span\",{className:\"csnc-card-title\",children:item.name}),/*#__PURE__*/_jsx(\"span\",{className:\"csnc-card-description\",children:item.description})]},item.name))})]})}),/*#__PURE__*/_jsxs(\"section\",{className:\"csnc-inner csnc-formwrap\",\"aria-labelledby\":id+\"heading\",children:[/*#__PURE__*/_jsx(\"h2\",{id:id+\"heading\",children:\"Send Us a Message\"}),status===\"success\"?/*#__PURE__*/_jsxs(\"div\",{className:\"csnc-success\",tabIndex:-1,ref:successRef,role:\"status\",children:[/*#__PURE__*/_jsx(\"h3\",{children:\"Thank You!\"}),/*#__PURE__*/_jsx(\"p\",{children:\"Thanks for reaching out. Your message has been received, and someone from Career Seekers Network will follow up if a response is needed.\"})]}):/*#__PURE__*/_jsxs(\"form\",{id:id+\"form\",ref:formRef,className:\"csnc-form\",onSubmit:submit,\"aria-busy\":status===\"pending\",children:[/*#__PURE__*/_jsxs(\"fieldset\",{className:\"csnc-fields\",disabled:status===\"pending\",children:[/*#__PURE__*/_jsx(\"legend\",{style:{position:\"absolute\",width:1,height:1,overflow:\"hidden\",clipPath:\"inset(50%)\"},children:\"Contact details\"}),/*#__PURE__*/_jsxs(\"label\",{className:\"csnc-field csnc-wide\",htmlFor:id+\"category\",children:[\"Category\",/*#__PURE__*/_jsx(\"select\",{id:id+\"category\",name:\"category\",value:category,onChange:e=>selectCategory(e.target.value),children:categories.map(item=>/*#__PURE__*/_jsx(\"option\",{children:item.name},item.name))})]}),field(\"name\",\"Name\",\"text\",true,\"name\"),field(\"email\",\"Email Address\",\"email\",true,\"email\"),organization&&/*#__PURE__*/_jsx(\"div\",{className:\"csnc-wide\",children:field(\"organization\",\"Organization\",\"text\",false,\"organization\")}),category===\"Partnerships\"&&/*#__PURE__*/_jsx(\"div\",{className:\"csnc-wide\",children:field(\"website\",\"Website (optional)\",\"url\",false,\"url\")}),category===\"Staffing Solutions\"&&/*#__PURE__*/_jsx(\"div\",{className:\"csnc-wide\",children:field(\"hiringNeeds\",\"Hiring Needs (optional)\")}),category===\"Work With Aimee\"&&/*#__PURE__*/_jsx(\"div\",{className:\"csnc-wide\",children:field(\"careerStage\",\"Current Career Stage (optional)\")}),/*#__PURE__*/_jsx(\"div\",{className:\"csnc-wide\",children:field(\"subject\",\"Subject\",\"text\",true)}),/*#__PURE__*/_jsxs(\"label\",{className:\"csnc-field csnc-wide\",htmlFor:id+\"message\",children:[\"Message\",/*#__PURE__*/_jsx(\"span\",{className:\"csnc-required\",children:\"Required\"}),/*#__PURE__*/_jsx(\"textarea\",{required:true,id:id+\"message\",name:\"message\",placeholder:\"Tell us how we can help...\",maxLength:1e4})]})]}),status===\"draft\"&&/*#__PURE__*/_jsxs(\"p\",{className:\"csnc-help\",role:\"status\",children:[\"Finish sending your message in your email app. Nothing has been sent from this page. If your email app didn’t open,\",\" \",/*#__PURE__*/_jsx(\"a\",{href:draftUrl,children:\"open your email draft\"}),\" or email\",\" \",/*#__PURE__*/_jsx(\"a\",{href:\"mailto:\"+email,children:email}),\".\"]}),status===\"error\"&&/*#__PURE__*/_jsx(\"p\",{className:\"csnc-error\",role:\"alert\",children:\"We couldn’t send your message right now. Please try again or email support@careerseekersnetwork.com.\"}),/*#__PURE__*/_jsxs(\"button\",{type:\"submit\",className:\"csnc-send\",disabled:status===\"pending\",children:[status===\"pending\"?\"Sending…\":\"Send Message\",/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"svg\",{width:\"20\",height:\"20\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"1.5\",strokeLinecap:\"round\",strokeLinejoin:\"round\",focusable:\"false\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M7 17 17 7M7 7h10v10\"})})})]})]})]}),/*#__PURE__*/_jsx(\"section\",{className:\"csnc-connect\",\"aria-labelledby\":id+\"connect\",children:/*#__PURE__*/_jsxs(\"div\",{className:\"csnc-inner\",children:[/*#__PURE__*/_jsx(\"h2\",{id:id+\"connect\",children:\"Other Ways to Connect\"}),/*#__PURE__*/_jsx(\"div\",{className:\"csnc-connections\",children:connections.map(item=>/*#__PURE__*/_jsxs(\"div\",{className:\"csnc-connection\",children:[item.href?/*#__PURE__*/_jsxs(\"a\",{href:item.href,\"aria-haspopup\":item.name===\"Subscribe\"?\"dialog\":undefined,onClick:item.name===\"Subscribe\"?event=>{event.preventDefault();setSignupError(\"\");void openCSNSignup().catch(()=>setSignupError(\"Secure signup could not be opened. Please refresh and try again.\"));}:undefined,target:item.href.startsWith(\"https:\")?\"_blank\":undefined,rel:\"noopener noreferrer\",children:[item.name,/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",children:\"→\"})]}):/*#__PURE__*/_jsx(\"span\",{children:item.name}),/*#__PURE__*/_jsx(\"p\",{children:item.description}),item.name===\"Subscribe\"&&signupError&&/*#__PURE__*/_jsx(\"p\",{role:\"alert\",children:signupError})]},item.name))})]})})]});}addPropertyControls(CSNContact,{endpoint:{type:ControlType.String,title:\"Submit endpoint\",defaultValue:\"\",description:\"HTTPS JSON POST endpoint. Leave blank until delivery is configured. Must return a successful HTTP status only after accepting the message.\"},email:{type:ControlType.String,title:\"Contact email\",defaultValue:\"\"},youtube:{type:ControlType.String,title:\"YouTube URL\",defaultValue:\"\"},newsletter:{type:ControlType.String,title:\"Newsletter URL\",defaultValue:\"\"},bodyFont:{type:ControlType.Font,title:\"Body font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:16,lineHeight:\"1.6em\"}}});export function withPartnershipIntent(Component){return /*#__PURE__*/React.forwardRef(function PartnershipLink(props,ref){React.useEffect(()=>{if(typeof window===\"undefined\")return;const rememberIntent=event=>{if(event.metaKey||event.ctrlKey||event.shiftKey||event.altKey||event.button!==0)return;const anchor=event.target instanceof Element?event.target.closest(\"a[href]\"):null;if(!anchor||!anchor.closest(\"[data-csn-partnership-link]\")&&new URL(anchor.href).hash!==\"#partnerships\")return;try{window.sessionStorage.setItem(\"csn-partnership-intent\",\"true\");}catch{}window.dispatchEvent(new Event(\"csn-partnership-intent\"));};document.addEventListener(\"click\",rememberIntent,true);return()=>document.removeEventListener(\"click\",rememberIntent,true);},[]);return /*#__PURE__*/_jsx(Component,{...props,ref:ref,\"data-csn-partnership-link\":\"true\"});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withPartnershipIntent\":{\"type\":\"reactHoc\",\"name\":\"withPartnershipIntent\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"CSNContact\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"gRAA2xC,SAAS,EAAS,EAAM,CAAC,GAAG,CAAC,MAAO,GAAQ,GAAO,IAAI,IAAI,CAAK,CAAC,CAAC,WAAW,SAAU,MAAM,CAAC,MAAO,EAAM,CAAC,CAGp4C,SAAwB,EAAW,CAAC,QAAM,WAAS,GAAG,QAAM,GAAG,UAAQ,GAAG,aAAW,GAAG,WAAS,CAAC,GAAG,CAAC,GAAK,CAAC,EAAS,GAAaA,EAAe,kBAAkB,EAAO,CAAC,EAAO,GAAWA,EAAe,MAAM,EAAO,CAAC,EAAS,GAAaA,EAAe,EAAE,EAAO,CAAC,EAAY,GAAgBA,EAAe,EAAE,EAAQ,EAAQC,EAAa,IAAI,EAAQ,EAAWA,EAAa,IAAI,EAAQ,EAAWA,EAAa,EAAK,EAAQ,EAAcA,EAAa,IAAI,EAAQ,EAAG,QAAQC,EAAY,CAAC,CAAC,QAAQ,KAAK,EAAE,EAAQ,EAAW,EAAS,CAAQ,EAAQ,EAAa,IAAW,gBAAgB,IAAW,qBAAqB,MAAoB,CAAI,IAAS,WAAU,EAAW,SAAS,MAAM,CAAE,EAAE,CAAC,CAAM,CAAC,EAAE,MAAoB,CAAC,GAAU,IAAS,OAAY,OAAO,IAAI,EAAM,EAAQ,MAAyB,CAAC,IAAM,EAAO,IAAI,gBAAgB,EAAO,SAAS,MAAM,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