{"version":3,"file":"EmailSignup.B7PyNJIJ.mjs","names":["useId","useState","useRef","useCallback","c"],"sources":["https:/framerusercontent.com/modules/jtdReHl0pRUh8rA9eIFD/WoLBGOr4mvKUcZDzsNab/Tracking.js","https:/framerusercontent.com/modules/pOTWNlxhqUOdfP3gtQCO/7AU7P24jOgl2l2weZVtI/EmailSignup.js"],"sourcesContent":["// Request: Track the actions that matter in Google Analytics (Gary's Measurement\n// ID goes in Framer's Site Settings, which loads Google's tracker).\n// This file does two things:\n//  1. trackEvent(name, params) - a small helper the forms use to report a\n//     successful submission.\n//  2. The <Tracking /> component - placed once on each page (it is invisible).\n//     It listens for clicks across the whole page and reports the useful ones,\n//     so no button has to be set up by hand:\n//       ticket_click        any Get Tickets / tickets button or link (with the show name)\n//       book_click          Book Gary / Book This Show / any \"book\" button\n//       add_to_calendar     the Add to calendar downloads\n//       directions_click    venue address links that open Maps\n//       phone_click         tap-to-call links\n//       email_click         email links\n//       social_click        Facebook / Instagram / YouTube icons\n//       venue_website_click a venue's website link on the Tickets page\n//       video_open          opening a video in the popup (with the video's title)\n//     Form submissions are reported by the forms themselves (generate_lead for\n//     the booking form, sign_up for the email list).\n// Nothing is sent from the Framer editor, and nothing breaks if Google's tracker\n// is missing or blocked by a visitor's browser.\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";import{RenderTarget}from\"framer\";export function trackEvent(name,params={}){if(typeof window===\"undefined\")return;if(RenderTarget.current()===RenderTarget.canvas)return;const w=window;const clean={};Object.keys(params).forEach(k=>{const v=params[k];if(v===undefined||v===\"\")return;clean[k]=typeof v===\"string\"?v.slice(0,100):v;});clean.page_path=window.location.pathname;try{// Google's tracker reads anything queued here, even before it has finished loading\nif(typeof w.gtag!==\"function\"){w.dataLayer=w.dataLayer||[];w.gtag=function(){w.dataLayer.push(arguments);};}w.gtag(\"event\",name,clean);}catch{/* tracking must never break the page */}}const clean=s=>s.replace(/\\s+/g,\" \").trim();function hostOf(href){try{return new URL(href,window.location.href).hostname.replace(/^www\\./,\"\");}catch{return\"\";}}/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n * @framerIntrinsicWidth 1\n * @framerIntrinsicHeight 1\n */export default function Tracking(){useEffect(()=>{if(typeof window===\"undefined\"||typeof document===\"undefined\")return;if(RenderTarget.current()===RenderTarget.canvas)return;const w=window;// Only one listener, even if the component is placed more than once\nif(w.__garyTracking)return;w.__garyTracking=true;const onClick=e=>{const target=e.target;if(!target||!target.closest)return;const el=target.closest(\"a, button, [role='button']\");if(!el)return;const label=clean(el.getAttribute(\"aria-label\")||el.textContent||\"\");const href=el.tagName===\"A\"?el.getAttribute(\"href\")||\"\":\"\";const lower=label.toLowerCase();// The popup's own close button\nif(el.closest(\".ytm\"))return;if(href.startsWith(\"tel:\")){trackEvent(\"phone_click\",{phone:href.slice(4)});}else if(href.startsWith(\"mailto:\")){trackEvent(\"email_click\",{link_text:label});}else if(el.hasAttribute(\"download\")||href.startsWith(\"data:text/calendar\")){trackEvent(\"add_to_calendar\",{show:label.replace(/^add to calendar:?\\s*/i,\"\")});}else if(/google\\.[a-z.]+\\/maps|maps\\.apple\\.com|goo\\.gl\\/maps/i.test(href)){trackEvent(\"directions_click\",{venue:label});}else if(/facebook\\.com|instagram\\.com|youtube\\.com|youtu\\.be/i.test(href)&&!el.closest(\".sl-card\")){const platform=/facebook/i.test(href)?\"facebook\":/instagram/i.test(href)?\"instagram\":\"youtube\";trackEvent(\"social_click\",{platform});}else if(/ticket/i.test(label)){// \"Get Tickets: Gary Sings Barry on Friday, October 30 at ... (opens in a new tab)\"\nconst m=label.match(/^[^:]*tickets?:\\s*(.*?)(?:\\s+on\\s+|\\s*\\(opens|$)/i);trackEvent(\"ticket_click\",{show:m&&m[1]?m[1]:\"\",button_text:label.split(\":\")[0],destination:href?hostOf(href):\"\"});}else if(/\\bbook\\b/i.test(lower)&&!/booking form/i.test(lower)){trackEvent(\"book_click\",{button_text:label});}else if(/^play video/i.test(label)){trackEvent(\"video_open\",{video:label.replace(/^play video:?\\s*/i,\"\")});}else if(href&&el.closest(\".sl-card\")&&/^https?:/i.test(href)){trackEvent(\"venue_website_click\",{destination:hostOf(href)});}};document.addEventListener(\"click\",onClick,true);return()=>{document.removeEventListener(\"click\",onClick,true);w.__garyTracking=false;};},[]);return /*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":true,style:{position:\"absolute\",width:1,height:1,opacity:0,pointerEvents:\"none\",overflow:\"hidden\"}});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Tracking\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerIntrinsicHeight\":\"1\",\"framerIntrinsicWidth\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"trackEvent\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Tracking.map","// Request: Add a \"Join the list\" email signup to Gary's site to start building a\n// follower database for marketing. Collect first name, last name, email and city\n// (Las Vegas / New York / Elsewhere) so announcements can be targeted.\n// Connects to Kit (ConvertKit) by pasting a Form ID, or to any webhook\n// (Zapier / Make / Google Sheets) by pasting a URL. Styled to match the site.\n// Update: Gary's Kit form ID is built in as the fallback, so every copy of this\n// component on the site connects automatically. A value typed in the panel wins.\n// Update 2: Kit signups now go out as a real HTML form post into a hidden frame,\n// exactly like Kit's own embed (no cross-site fetch for the browser to block),\n// with Kit's field names (email_address, fields[first_name], fields[city]).\n// Kit asks new subscribers to confirm by email, so the success message says so.\n// Update 3: gold and teal come from Palette.tsx.\n// Update 4: added a Last name field. Kit stores it in a custom field, so a\n// custom field with the key in \"Kit Last Name Field\" (default last_name) must\n// exist in Kit.\n// Update 5: phone-friendly. Padding and headline size scale down on narrow\n// screens so the fields get more room.\n// Update 6: site-wide button rule. The teal Join the list button is a SOLID\n// button, so on hover an ivory color wipe slides in from the left.\n// Update 7: site-wide shape. Fields and the button are 12px rounded rectangles,\n// 44px tall, from Palette.tsx.\n// Update 8: the city dropdown says \"Your city\" (the longer wording was cut off on\n// narrower layouts), and the headline wraps in balanced lines so a single word\n// never sits alone on the last line.\n// Update 9: a successful signup is reported to Google Analytics as \"sign_up\"\n// (with the city), so you can see how many people join the list.\n// Update 10: people can type their own city. Choosing \"Elsewhere\" (or \"Other\",\n// or the automatic \"Other city\" option when the list has neither) swaps the\n// dropdown for a text box, with an x to go back to the list. What they type is\n// sent to Kit as the city.\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState,useRef,useId,useCallback,useEffect}from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{TEAL,ON_ACCENT,BUTTON_WIPE_MS,BUTTON_WIPE_IVORY,BUTTON_RADIUS,BUTTON_H,tealA,goldA}from\"https://framerusercontent.com/modules/zThc0aJf8DFolxA7jYZ7/Ymj5sRxNBvFRQbHV1iQx/Palette.js\";import{trackEvent}from\"https://framerusercontent.com/modules/jtdReHl0pRUh8rA9eIFD/WoLBGOr4mvKUcZDzsNab/Tracking.js\";// Kit form ID from the form's editor address (app.kit.com/forms/designers/<ID>/edit)\nconst FALLBACK_KIT_FORM_ID=\"10006996\";// Older copies of this component saved these wordings before double opt-in was\n// confirmed; swap them for the accurate message.\nconst OLD_SUCCESS_TITLE=\"You're on the list!\";const OLD_SUCCESS_TEXT=\"Watch your inbox for the next announcement.\";const NEW_SUCCESS_TITLE=\"Almost there!\";const NEW_SUCCESS_TEXT=\"Check your inbox and click the confirmation link to finish joining. It can take a minute, so peek at junk too.\";// Picking one of these in the dropdown opens the type-your-own-city box\nconst OTHER_RE=/^(elsewhere|other)/i;const OTHER_FALLBACK=\"Other city\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight auto\n */export default function EmailSignup(props){const{kicker=\"The List\",headline=\"Be first in line\",subhead=\"New dates, presale access and news from the stage, before tickets go public.\",buttonLabel=\"Join the list\",finePrint=\"No spam. Unsubscribe anytime.\",successTitle:rawTitle=NEW_SUCCESS_TITLE,successText:rawText=NEW_SUCCESS_TEXT,cities=[\"Las Vegas\",\"New York\",\"Elsewhere\"],provider=\"kit\",kitFormId=\"\",cityFieldKey=\"city\",lastNameFieldKey=\"last_name\",webhookUrl=\"\"}=props;const successTitle=rawTitle===OLD_SUCCESS_TITLE?NEW_SUCCESS_TITLE:rawTitle;const successText=rawText===OLD_SUCCESS_TEXT?NEW_SUCCESS_TEXT:rawText;const formId=(kitFormId||\"\").trim()||FALLBACK_KIT_FORM_ID;const frameName=\"kit-frame-\"+useId().replace(/[^a-zA-Z0-9]/g,\"\");const[name,setName]=useState(\"\");const[lastName,setLastName]=useState(\"\");const[email,setEmail]=useState(\"\");const[city,setCity]=useState(\"\");const[typing,setTyping]=useState(false);const[customCity,setCustomCity]=useState(\"\");const[trap,setTrap]=useState(\"\");const[status,setStatus]=useState(\"idle\");const[message,setMessage]=useState(\"\");const waiting=useRef(false);const timer=useRef(null);const cityInput=useRef(null);// The city that will actually be sent: typed text, or the dropdown choice\nconst cityValue=typing?customCity.trim():city;// Latest city, readable from the frame's load event\nconst cityRef=useRef(\"\");cityRef.current=cityValue;const isCanvas=RenderTarget.current()===RenderTarget.canvas;const connected=provider===\"kit\"?!!formId:!!webhookUrl.trim();const cityList=(cities||[]).filter(Boolean);const hasOther=cityList.some(c=>OTHER_RE.test(c.trim()));useEffect(()=>{return()=>{if(timer.current)clearTimeout(timer.current);};},[]);// Put the cursor in the box as soon as it appears\nuseEffect(()=>{if(typing&&cityInput.current)cityInput.current.focus();},[typing]);const finish=useCallback(()=>{if(!waiting.current)return;waiting.current=false;if(timer.current)clearTimeout(timer.current);setStatus(\"done\");// Report the signup to Google Analytics (no email or name is sent)\ntrackEvent(\"sign_up\",{method:\"email_list\",city:cityRef.current||\"Not specified\"});},[]);const onSubmit=useCallback(async e=>{if(trap){e.preventDefault();return;// bot\n}if(!/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/.test(email.trim())){e.preventDefault();setStatus(\"error\");setMessage(\"Please enter a valid email address.\");return;}if(!connected){e.preventDefault();setStatus(\"error\");setMessage(\"Signup isn't connected yet. Add the Kit Form ID or webhook URL in the panel.\");return;}setStatus(\"sending\");setMessage(\"\");if(provider===\"kit\"){// Let the browser post the form natively into the hidden frame.\nwaiting.current=true;if(timer.current)clearTimeout(timer.current);timer.current=setTimeout(()=>{if(!waiting.current)return;waiting.current=false;setStatus(\"error\");setMessage(\"That's taking too long. Please try again.\");},1e4);return;}e.preventDefault();try{await fetch(webhookUrl.trim(),{method:\"POST\",mode:\"no-cors\",headers:{\"Content-Type\":\"text/plain\"},body:JSON.stringify({first_name:name.trim(),last_name:lastName.trim(),email:email.trim(),city:cityValue,source:\"garyalaimo.com\",submitted_at:new Date().toISOString()})});setStatus(\"done\");trackEvent(\"sign_up\",{method:\"email_list\",city:cityValue||\"Not specified\"});}catch{setStatus(\"error\");setMessage(\"Something went wrong. Please try again.\");}},[trap,email,name,lastName,cityValue,connected,provider,webhookUrl]);const field={flex:\"1 1 180px\",minWidth:0,height:BUTTON_H,boxSizing:\"border-box\",padding:\"0 16px\",borderRadius:BUTTON_RADIUS,border:\"1px solid #2E2E36\",background:\"#0B0B0D\",color:\"#F4F2EE\",fontFamily:\"'Libre Franklin', sans-serif\",fontSize:15,outline:\"none\"};const kitAction=`https://app.kit.com/forms/${encodeURIComponent(formId)}/subscriptions`;const cityName=`fields[${cityFieldKey||\"city\"}]`;return /*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\",boxSizing:\"border-box\",padding:\"clamp(28px, 6vw, 44px) clamp(20px, 5vw, 48px)\",borderRadius:18,border:`1px solid ${goldA(.55)}`,background:`radial-gradient(90% 120% at 100% 0%, ${tealA(.1)} 0%, ${tealA(0)} 55%), #15151A`,color:\"#F4F2EE\",display:\"flex\",flexWrap:\"wrap\",gap:\"28px 56px\",alignItems:\"center\",...props.style},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                .es input:focus, .es select:focus { border-color: ${TEAL} !important; }\n                .es input::placeholder { color: #8F8C86; }\n                /* Headline wraps in balanced lines (no single word left alone) */\n                .es-h { text-wrap: balance; }\n                /* Type-your-own-city box: small x to go back to the list */\n                .es-city { position: relative; flex: 1 1 180px; min-width: 0; display: flex; }\n                .es-back {\n                    position: absolute; right: 6px; top: 50%; transform: translateY(-50%);\n                    width: 32px; height: 32px; border: none; border-radius: 8px;\n                    background: transparent; color: #8F8C86; cursor: pointer;\n                    font-size: 20px; line-height: 1; padding: 0;\n                    transition: color 0.2s ease;\n                }\n                .es-back:hover, .es-back:focus-visible { color: ${TEAL}; outline: none; }\n                /* Solid button: color wipe from the left */\n                .es-btn { position: relative; overflow: hidden; }\n                .es-btn::before {\n                    content: \"\"; position: absolute; inset: 0; z-index: 0;\n                    background: ${BUTTON_WIPE_IVORY};\n                    transform: translateX(-101%);\n                    transition: transform ${BUTTON_WIPE_MS}ms ease;\n                }\n                .es-btn:hover::before, .es-btn:focus-visible::before { transform: none; }\n                .es-lbl { position: relative; z-index: 1; }\n                @media (prefers-reduced-motion: reduce) { .es-btn::before, .es-back { transition: none; } }\n            `}),/*#__PURE__*/_jsxs(\"div\",{style:{flex:\"1 1 260px\",minWidth:0},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:\"'Inter', sans-serif\",fontWeight:600,fontSize:12,letterSpacing:\"0.25em\",textTransform:\"uppercase\",color:TEAL},children:kicker}),/*#__PURE__*/_jsx(\"div\",{className:\"es-h\",style:{marginTop:10,fontFamily:\"'Archivo Black', sans-serif\",fontSize:\"clamp(30px, 8vw, 40px)\",lineHeight:1.05,textTransform:\"uppercase\",letterSpacing:\"0.01em\"},children:headline}),/*#__PURE__*/_jsx(\"div\",{style:{marginTop:12,fontFamily:\"'Libre Franklin', sans-serif\",fontSize:16,lineHeight:1.6,color:\"#C9C6BF\",maxWidth:420},children:subhead})]}),/*#__PURE__*/_jsx(\"div\",{style:{flex:\"1.3 1 300px\",minWidth:0},children:status===\"done\"?/*#__PURE__*/_jsxs(\"div\",{role:\"status\",style:{padding:\"8px 0\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:\"'Archivo Black', sans-serif\",fontSize:26,textTransform:\"uppercase\",color:TEAL},children:successTitle}),/*#__PURE__*/_jsx(\"div\",{style:{marginTop:8,fontSize:15,lineHeight:1.6,color:\"#C9C6BF\"},children:successText})]}):/*#__PURE__*/_jsxs(\"form\",{className:\"es\",onSubmit:onSubmit,noValidate:true,...provider===\"kit\"?{action:kitAction,method:\"post\",target:frameName}:{},style:{display:\"flex\",flexDirection:\"column\",gap:12},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",gap:12,flexWrap:\"wrap\"},children:[/*#__PURE__*/_jsx(\"input\",{\"aria-label\":\"First name\",name:\"fields[first_name]\",placeholder:\"First name\",value:name,autoComplete:\"given-name\",onChange:e=>setName(e.target.value),style:{...field,flex:\"1 1 140px\"}}),/*#__PURE__*/_jsx(\"input\",{\"aria-label\":\"Last name\",name:`fields[${lastNameFieldKey||\"last_name\"}]`,placeholder:\"Last name\",value:lastName,autoComplete:\"family-name\",onChange:e=>setLastName(e.target.value),style:{...field,flex:\"1 1 140px\"}})]}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",gap:12,flexWrap:\"wrap\"},children:/*#__PURE__*/_jsx(\"input\",{\"aria-label\":\"Email\",name:\"email_address\",placeholder:\"Email address\",type:\"email\",required:true,value:email,autoComplete:\"email\",onChange:e=>setEmail(e.target.value),style:{...field,flex:\"1 1 100%\"}})}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",gap:12,flexWrap:\"wrap\"},children:[typing?/*#__PURE__*/_jsxs(\"div\",{className:\"es-city\",children:[/*#__PURE__*/_jsx(\"input\",{ref:cityInput,\"aria-label\":\"Your city\",name:cityName,placeholder:\"Type your city\",value:customCity,maxLength:60,autoComplete:\"address-level2\",onChange:e=>setCustomCity(e.target.value),style:{...field,flex:\"1 1 auto\",width:\"100%\",paddingRight:44}}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:\"es-back\",\"aria-label\":\"Back to the list of cities\",onClick:()=>{setTyping(false);setCustomCity(\"\");setCity(\"\");},children:\"\\xd7\"})]}):/*#__PURE__*/_jsxs(\"select\",{\"aria-label\":\"Where do you see Gary?\",name:cityName,value:city,onChange:e=>{const v=e.target.value;if(OTHER_RE.test(v.trim())){setCity(\"\");setTyping(true);}else{setCity(v);}},style:{...field,color:city?\"#F4F2EE\":\"#8F8C86\",appearance:\"none\",WebkitAppearance:\"none\",backgroundImage:\"url(\\\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238F8C86' stroke-width='2'/%3E%3C/svg%3E\\\")\",backgroundRepeat:\"no-repeat\",backgroundPosition:\"right 16px center\",paddingRight:40},children:[/*#__PURE__*/_jsx(\"option\",{value:\"\",children:\"Your city\"}),cityList.map(c=>/*#__PURE__*/_jsx(\"option\",{value:c,children:c},c)),!hasOther&&/*#__PURE__*/_jsxs(\"option\",{value:OTHER_FALLBACK,children:[OTHER_FALLBACK,\"…\"]})]}),/*#__PURE__*/_jsx(\"button\",{type:\"submit\",className:\"es-btn\",disabled:status===\"sending\",style:{flex:\"1 0 auto\",height:BUTTON_H,padding:\"0 26px\",borderRadius:BUTTON_RADIUS,border:\"none\",background:TEAL,color:ON_ACCENT,fontFamily:\"'Inter', sans-serif\",fontWeight:700,fontSize:13,letterSpacing:\"0.1em\",textTransform:\"uppercase\",cursor:\"pointer\",opacity:status===\"sending\"?.7:1,whiteSpace:\"nowrap\"},children:/*#__PURE__*/_jsx(\"span\",{className:\"es-lbl\",children:status===\"sending\"?\"Joining…\":buttonLabel})})]}),/*#__PURE__*/_jsx(\"input\",{tabIndex:-1,\"aria-hidden\":true,autoComplete:\"off\",value:trap,onChange:e=>setTrap(e.target.value),style:{position:\"absolute\",left:-9999,width:1,height:1,opacity:0}}),/*#__PURE__*/_jsx(\"div\",{role:status===\"error\"?\"alert\":undefined,style:{fontFamily:\"'Inter', sans-serif\",fontSize:12,color:status===\"error\"?\"#E8A27A\":\"#8F8C86\"},children:status===\"error\"?message:!connected&&isCanvas?\"Not connected yet: add a Kit Form ID in the panel.\":finePrint})]})}),/*#__PURE__*/_jsx(\"iframe\",{name:frameName,title:\"Signup response\",\"aria-hidden\":true,tabIndex:-1,onLoad:finish,style:{position:\"absolute\",width:0,height:0,border:0,opacity:0,pointerEvents:\"none\"}})]});}addPropertyControls(EmailSignup,{kicker:{type:ControlType.String,title:\"Kicker\",defaultValue:\"The List\"},headline:{type:ControlType.String,title:\"Headline\",defaultValue:\"Be first in line\"},subhead:{type:ControlType.String,title:\"Subhead\",displayTextArea:true,defaultValue:\"New dates, presale access and news from the stage, before tickets go public.\"},buttonLabel:{type:ControlType.String,title:\"Button\",defaultValue:\"Join the list\"},finePrint:{type:ControlType.String,title:\"Fine Print\",defaultValue:\"No spam. Unsubscribe anytime.\"},successTitle:{type:ControlType.String,title:\"Success Title\",defaultValue:NEW_SUCCESS_TITLE},successText:{type:ControlType.String,title:\"Success Text\",displayTextArea:true,defaultValue:NEW_SUCCESS_TEXT},cities:{type:ControlType.Array,title:\"City Options\",control:{type:ControlType.String},defaultValue:[\"Las Vegas\",\"New York\",\"Elsewhere\"],maxCount:8,description:'\"Elsewhere\" or \"Other\" lets people type their own city'},provider:{type:ControlType.Enum,title:\"Send To\",options:[\"kit\",\"webhook\"],optionTitles:[\"Kit\",\"Webhook\"],displaySegmentedControl:true,defaultValue:\"kit\"},kitFormId:{type:ControlType.String,title:\"Kit Form ID\",defaultValue:\"\",description:\"Optional override. Leave blank to use Gary's built-in form (10006996).\",hidden:p=>p.provider===\"webhook\"},cityFieldKey:{type:ControlType.String,title:\"Kit City Field\",defaultValue:\"city\",description:\"Key of the custom field in Kit\",hidden:p=>p.provider===\"webhook\"},lastNameFieldKey:{type:ControlType.String,title:\"Kit Last Name Field\",defaultValue:\"last_name\",description:\"Key of the Last name custom field in Kit (must exist there)\",hidden:p=>p.provider===\"webhook\"},webhookUrl:{type:ControlType.String,title:\"Webhook URL\",defaultValue:\"\",hidden:p=>p.provider!==\"webhook\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"EmailSignup\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./EmailSignup.map"],"mappings":"iTAqByG,SAAgB,EAAW,EAAK,EAAO,CAAC,EAAE,CAAuC,GAA5B,IAAS,QAAsB,EAAa,QAAQ,IAAI,EAAa,OAAO,OAAO,IAAM,EAAE,EAAa,EAAM,CAAC,EAAE,OAAO,KAAK,CAAM,CAAC,CAAC,QAAQ,GAAG,CAAC,IAAM,EAAE,EAAO,GAAM,IAAI,IAAA,IAAW,IAAI,KAAU,EAAM,GAAG,OAAO,GAAI,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,EAAE,CAAC,EAAE,EAAM,UAAU,EAAO,SAAS,SAAS,GAAG,CAC3b,OAAO,EAAE,MAAO,aAAY,EAAE,UAAU,EAAE,WAAW,CAAC,EAAE,EAAE,KAAK,UAAU,CAAC,EAAE,UAAU,KAAK,SAAS,CAAE,GAAG,EAAE,KAAK,QAAQ,EAAK,CAAK,CAAE,MAAM,CAAyC,CAAC,CAA6C,SAAS,EAAO,EAAK,CAAC,GAAG,CAAC,OAAO,IAAI,IAAI,EAAK,EAAO,SAAS,IAAI,CAAC,CAAC,SAAS,QAAQ,SAAS,EAAE,CAAE,MAAM,CAAC,MAAM,EAAG,CAAC,CAKpV,SAAwB,GAAU,CAG4nB,OAH3nB,MAAc,CAAsE,GAA3D,IAAS,QAAa,OAAO,SAAW,KAAsB,EAAa,QAAQ,I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