{"version":3,"file":"RegisterBand.Db3HB3Pi.mjs","names":["React.useId"],"sources":["https:/framerusercontent.com/modules/QgSMO18CFWUMFB1WvSSg/RkFGWcpfIqVdJ4IUKssM/RegisterBand.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerIntrinsicWidth 1200\n * @framerIntrinsicHeight 190\n */export default function RegisterBand(props){const{registrationOpen=false,href=\"/registration\",infoHref=\"\"}=props;const cls=\"vlkband-\"+React.useId().replace(/:/g,\"\");const BLUE=\"var(--token-05399a43-5454-406e-a72f-6d0b53b127b0, #00B2FF)\";const WHITE=\"var(--token-d0efc0e3-12d8-41ce-bfe5-80c4830c27a6, #FFFFFF)\";const BODY=\"var(--token-6e24a8d1-61cf-45a5-8842-ef8b07a249cf, #E5E7EB)\";const SLATE=\"var(--token-e404e556-ed2f-43a8-beb0-311bf92ccb14, #23282F)\";const INK=\"var(--token-0382e42e-08d2-4a3f-a0d7-c633e53e5718, #000000)\";const HEAD='\"Barlow Condensed\",\"Barlow Condensed Placeholder\",sans-serif';const SANS='Inter,\"Inter Placeholder\",system-ui,sans-serif';const css=`\n.${cls}{width:100%;background:${INK};border-top:1px solid ${SLATE};font-family:${SANS};\n  padding:40px 24px;display:flex;justify-content:center}\n.${cls} .in{width:100%;max-width:1080px;display:flex;align-items:center;justify-content:space-between;\n  gap:26px;flex-wrap:wrap}\n.${cls} .txt{flex:1 1 360px;min-width:0}\n.${cls} h2{font-family:${HEAD};font-weight:700;text-transform:uppercase;letter-spacing:.4px;\n  font-size:26px;line-height:1.05;margin:0;color:${WHITE}}\n.${cls} p{margin:8px 0 0;font-size:15px;line-height:1.55;color:${BODY};max-width:560px}\n.${cls} a{flex:0 0 auto;background:none;border:1.5px solid ${WHITE};color:${WHITE};font-family:${SANS};font-weight:800;\n  text-transform:uppercase;letter-spacing:.06em;font-size:13px;padding:14px 24px;border-radius:4px;\n  text-decoration:none;white-space:nowrap;transition:opacity .18s ease,transform .18s ease}\n.${cls} a:hover{opacity:.86;transform:scale(1.04)}\n.${cls} a:focus-visible{outline:2px solid ${WHITE};outline-offset:3px}\n.${cls} .info{display:block;margin:10px 0 0;font-size:13.5px}\n.${cls} .info a{background:none;color:${BLUE};padding:0;font-weight:600;text-transform:none;\n  letter-spacing:0;font-size:13.5px;text-decoration:underline;text-underline-offset:3px}\n.${cls} .info a:hover{transform:none}\n@media (max-width:700px){\n  .${cls}{padding:32px 18px}\n  .${cls} .in{flex-direction:column;align-items:flex-start;gap:18px}\n  .${cls} h2{font-size:22px}\n  .${cls} a{width:100%;text-align:center}\n}\n`;return /*#__PURE__*/_jsxs(\"div\",{className:cls,style:props.style,children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:css}}),/*#__PURE__*/_jsxs(\"div\",{className:\"in\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"txt\",children:[/*#__PURE__*/_jsx(\"h2\",{children:registrationOpen?\"Registration is open.\":\"Thinking about racing Valkyrie?\"}),/*#__PURE__*/_jsx(\"p\",{children:registrationOpen?\"Durango, Colorado — September 18, 2027. Enter your team.\":\"Registration for Durango 2027 is not open yet. See how it works, what a team entry involves, and how to hear the moment it opens.\"})]}),/*#__PURE__*/_jsxs(\"div\",{style:{flex:\"0 0 auto\"},children:[/*#__PURE__*/_jsx(\"a\",{href:href,children:registrationOpen?\"Register your team\":\"See how registration works\"}),registrationOpen&&infoHref?/*#__PURE__*/_jsx(\"span\",{className:\"info\",children:/*#__PURE__*/_jsx(\"a\",{href:infoHref,children:\"Prices, terms and how it works\"})}):null]})]})]});}RegisterBand.defaultProps={registrationOpen:false,href:\"/registration\",infoHref:\"/registration\"};addPropertyControls(RegisterBand,{registrationOpen:{type:ControlType.Boolean,title:\"Registration open\",defaultValue:false,enabledTitle:\"Open\",disabledTitle:\"Not yet\"},href:{type:ControlType.String,title:\"Link\",defaultValue:\"/registration\"},infoHref:{type:ControlType.String,title:\"Info link\",defaultValue:\"/registration\",description:\"Shown only when registration is open - keeps prices and terms one click away.\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"RegisterBand\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"1200\",\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any\",\"framerIntrinsicHeight\":\"190\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./RegisterBand.map"],"mappings":"iLAKG,SAAwB,EAAa,EAAM,CAAC,GAAK,CAAC,mBAAiB,GAAM,OAAK,gBAAgB,WAAS,IAAI,EAAY,EAAI,WAAWA,EAAY,CAAC,CAAC,QAAQ,KAAK,EAAE,EAAgF,EAAM,6DAAqW,EAAK,iDAAuD,EAAI;GAC9pB,EAAI,gLAA0E,EAAK;;GAEnF,EAAI;;GAEJ,EAAI;GACJ,EAAI;mDAC4C,EAAM;GACtD,EAAI;GACJ,EAAI,sDAAsD,EAAM,SAAS,EAAM,eAAe,EAAK;;;GAGnG,EAAI;GACJ,EAAI,qCAAqC,EAAM;GAC/C,EAAI;GACJ,EAAI;;GAEJ,EAAI;;KAEF,EAAI;KACJ,EAAI;KACJ,EAAI;KACJ,EAAI;;EAEP,OAAoB,EAAM,MAAM,CAAC,UAAU,EAAI,MAAM,EAAM,MAAM,SAAS,CAAc,EAAK,QAAQ,CAAC,wBAAwB,CAAC,OAAO,CAAG,CAAC,CAAC,EAAe,EAAM,MAAM,CAAC,UAAU,KAAK,SAAS,CAAc,EAAM,MAAM,CAAC,UAAU,MAAM,SAAS,CAAc,EAAK,KAAK,CAAC,SAAS,EAAiB,wBAAwB,iCAAiC,CAAC,EAAe,EAAK,IAAI,CAAC,SAAS,EAAiB,2DAA2D,mIAAmI,CAAC,CAAC,CAAC,CAAC,EAAe,EAAM,MAAM,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