{"version":3,"file":"JoinBanner.CdfGCtT5.mjs","names":["useId","__esmMin","init_npm_react_18_3_1","p","c","init_jsx_runtime","ie","addPropertyControls","init_framer_Bf4_tcb2","ControlType","JoinBanner","props","uid","s","items","perks","style","BODY","DISPLAY","eyebrow","headline","sticker","body","t","i","link","buttonLabel","init_JoinBanner"],"sources":["https:/framerusercontent.com/modules/xnCiLHxKG7dYA8YRHlcl/iAW9Fir8uuwzFE3sI2Eu/JoinBanner.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useId}from\"react\";/**\n * Join Stacked banner for the homepage (and anywhere else). Points to the\n * free membership form on /choose-character/for-operators#join.\n * Chunko text is always upper case.\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */const DISPLAY=\"'Chunko Bold Demo Regular', 'Titan One', sans-serif\";const BODY=\"'DM Sans', system-ui, sans-serif\";export default function JoinBanner(props){const{eyebrow,headline,sticker,body,perks,buttonLabel,link,style}=props;const uid=\"b\"+useId().replace(/[^a-zA-Z0-9]/g,\"\");const s=`[data-jb=\"${uid}\"]`;const items=(perks||[]).map(p=>typeof p===\"string\"?p:p?.text).filter(Boolean);return /*#__PURE__*/_jsxs(\"div\",{\"data-jb\":uid,style:{width:\"100%\",...style},children:[/*#__PURE__*/_jsx(\"link\",{rel:\"stylesheet\",href:\"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700;800&display=swap\"}),/*#__PURE__*/_jsx(\"style\",{children:`\n${s}{container-type:inline-size;font-family:${BODY};color:#111110;width:100%}\n${s} *{box-sizing:border-box}\n${s} .jb{position:relative;overflow:hidden;background:#FD612B;border-radius:30px;padding:clamp(28px,6cqw,72px);display:grid;grid-template-columns:1.3fr 1fr;gap:40px;align-items:center}\n${s} .jb-k{margin:0 0 16px;font-size:13px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}\n${s} .jb-h{margin:0 0 18px;font-family:${DISPLAY};font-weight:400;font-size:clamp(40px,6.4cqw,80px);line-height:.95;text-transform:uppercase;display:flex;flex-wrap:wrap;align-items:center;gap:12px}\n${s} .jb-st{background:#111110;color:#F1F0E9;padding:.1em .28em 0;border-radius:18px;transform:rotate(-2deg);box-shadow:0 6px 0 0 #C34014}\n${s} .jb-p{margin:0;font-size:clamp(16px,1.6cqw,19px);line-height:1.55;font-weight:500;max-width:32rem}\n${s} .jb-right{display:flex;flex-direction:column;gap:14px;align-items:flex-start}\n${s} .jb-li{display:flex;gap:10px;align-items:center;margin:0;font-size:16px;font-weight:700}\n${s} .jb-li span{flex:none;width:26px;height:26px;border-radius:9px;background:#FFF0C0;display:inline-flex;align-items:center;justify-content:center}\n${s} .jb-btn{margin-top:10px;display:inline-block;background:#111110;color:#F1F0E9;font-weight:800;font-size:18px;text-decoration:none;padding:18px 32px;border-radius:999px;box-shadow:0 8px 0 0 #C34014;transition:transform .15s cubic-bezier(.2,.8,.2,1)}\n${s} .jb-btn:hover{transform:translateY(-2px)}\n${s} .jb-btn:active{transform:translateY(6px);box-shadow:0 2px 0 0 #C34014}\n@container (max-width:760px){${s} .jb{grid-template-columns:1fr;gap:24px;border-radius:22px}${s} .jb-btn{font-size:17px;padding:16px 26px}${s} .jb-li{font-size:15px}}\n`}),/*#__PURE__*/_jsxs(\"div\",{className:\"jb\",children:[/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"p\",{className:\"jb-k\",children:eyebrow}),/*#__PURE__*/_jsxs(\"h2\",{className:\"jb-h\",children:[/*#__PURE__*/_jsx(\"span\",{children:String(headline||\"\").toUpperCase()}),sticker?/*#__PURE__*/_jsx(\"span\",{className:\"jb-st\",children:String(sticker).toUpperCase()}):null]}),/*#__PURE__*/_jsx(\"p\",{className:\"jb-p\",children:body})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"jb-right\",children:[items.map((t,i)=>/*#__PURE__*/_jsxs(\"p\",{className:\"jb-li\",children:[/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"svg\",{width:\"16\",height:\"16\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"#111110\",strokeWidth:\"3\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M5 12l5 5L20 7\"})})}),t]},i)),/*#__PURE__*/_jsx(\"a\",{className:\"jb-btn\",href:link,children:buttonLabel})]})]})]});}JoinBanner.defaultProps={eyebrow:\"For operators \\xb7 Free membership\",headline:\"Join Stacked.\",sticker:\"It’s free.\",body:\"You don’t have to be buying tech to be part of Stacked. Get the data, the events and honest advice, with no sales calls unless you ask for one.\",perks:[{text:\"The quarterly tech report\"},{text:\"Access to Renewals\"},{text:\"First dibs on events\"},{text:\"The operator WhatsApp group\"}],buttonLabel:\"Become a member →\",link:\"/choose-character/for-operators#join\"};addPropertyControls(JoinBanner,{eyebrow:{type:ControlType.String,title:\"Eyebrow\"},headline:{type:ControlType.String,title:\"Headline\"},sticker:{type:ControlType.String,title:\"Sticker\"},body:{type:ControlType.String,title:\"Text\",displayTextArea:true},perks:{type:ControlType.Array,title:\"Perks\",control:{type:ControlType.Object,controls:{text:{type:ControlType.String,title:\"Perk\"}}}},buttonLabel:{type:ControlType.String,title:\"Button\"},link:{type:ControlType.Link,title:\"Link\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"JoinBanner\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./JoinBanner.map"],"mappings":"A,iLAOqH,SAAwBU,EAAW,EAAM,CAAC,GAAK,CAAC,UAAQ,WAAS,UAAQ,OAAK,QAAM,cAAY,OAAK,SAAOC,EAAYC,EAAI,IAAIZ,EAAM,CAAC,CAAC,QAAQ,gBAAgB,EAAE,EAAQa,EAAE,aAAaD,EAAI,IAAUE,GAAOC,GAAO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