{"version":3,"file":"JoinBand.D8Vk1Sts.mjs","names":["useRef","__esmMin","de","init_jsx_runtime","c","p","init_npm_react_18_3_1","init_framer_Bf4_tcb2","addPropertyControls","ControlType","init_tokens","space","init_motion","toneControl","init_Section","useReveal","SectionHeader","useSection","Section","init_PrimaryButton","PrimaryButton","Content","headerRef","ctaRef","headerStyle","ctaStyle","variant","buttonLabel","buttonLink","JoinBand","amb","status","ambitionHeading","heading","ambitionBody","body","init_JoinBand"],"sources":["https:/framerusercontent.com/modules/ylacd94F8z4s7tyurVJ9/zAEio6ALdUA3QtQWakfc/JoinBand.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useRef}from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{space}from\"https://framerusercontent.com/modules/HDAkrahb3ethcU2GAef2/DkF8oqFSecx6ZaRXcaSg/tokens.js\";import{Section,SectionHeader,useSection,toneControl}from\"https://framerusercontent.com/modules/QAOPTtLoApnb5MkIYZk8/dc3QSbcDf1WpIWW4hTIx/Section.js\";import{useReveal}from\"https://framerusercontent.com/modules/YFy4SNb784n2qKl2hppy/colxGJTFY3MkaqyjCjL8/motion.js\";import{PrimaryButton}from\"https://framerusercontent.com/modules/rVlHJhGuiWk2LiSpFzaU/gfmXiXreVqAGgmQ9Z6Cr/PrimaryButton.js\";function Content({heading,body,buttonLabel,buttonLink}){const s=useSection();// One-time reveal in page order (MOTION_SYSTEM §4.4, motion.tsx useReveal): header, then the button.\nconst headerRef=useRef(null);const ctaRef=useRef(null);const headerStyle=useReveal(headerRef);const ctaStyle=useReveal(ctaRef);const variant=s.tone===\"surfaceYellow\"?\"darkOnYellow\":\"dark\";return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:space.gapLarge},children:[/*#__PURE__*/_jsx(\"div\",{ref:headerRef,style:headerStyle,children:/*#__PURE__*/_jsx(SectionHeader,{heading:heading,body:body})}),buttonLabel&&buttonLink?/*#__PURE__*/_jsx(\"div\",{ref:ctaRef,style:ctaStyle,children:/*#__PURE__*/_jsx(PrimaryButton,{href:buttonLink,variant:variant,compact:s.isMobile,children:buttonLabel})}):null]});}/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n */export default function JoinBand({heading=\"Wil je meedoen?\",body=\"Deel je kennis, schuif aan tafel of werk met ons samen.\",buttonLabel=\"Doe mee\",buttonLink=\"/doe-mee\",tone=\"surfaceYellow\",status=\"None\",ambitionHeading=\"Wil je deel zijn van onze ambitie?\",ambitionBody=\"Dit project is nog een ambitie. We zoeken partners die het samen met ons willen waarmaken.\"}){// On a project page, bind Status to the project's status: an Ambition project asks for partners (2026-09-25)\n// CMS status may arrive as the Dutch display name (2026-10-08) or the old English key\nconst amb=status===\"Ambition\"||status===\"Ambitie\";return /*#__PURE__*/_jsx(Section,{tone:tone,children:/*#__PURE__*/_jsx(Content,{heading:amb?ambitionHeading:heading,body:amb?ambitionBody:body,buttonLabel:buttonLabel,buttonLink:buttonLink})});}addPropertyControls(JoinBand,{heading:{type:ControlType.String,title:\"Heading\",defaultValue:\"Wil je meedoen?\"},body:{type:ControlType.String,title:\"Body\",displayTextArea:true,defaultValue:\"Deel je kennis, schuif aan tafel of werk met ons samen.\"},buttonLabel:{type:ControlType.String,title:\"Button\",defaultValue:\"Doe mee\"},buttonLink:{type:ControlType.Link,title:\"Button link\",defaultValue:\"/doe-mee\"},tone:toneControl(\"surfaceYellow\"),status:{type:ControlType.String,title:\"Project status\",defaultValue:\"\",description:\"Bind to Projects → Status (display name) on /projects pages. Ambitie shows the ambition text\"},ambitionHeading:{type:ControlType.String,title:\"Ambition heading\",defaultValue:\"Wil je deel zijn van onze ambitie?\",hidden:p=>p.status!==\"Ambition\"&&p.status!==\"Ambitie\"},ambitionBody:{type:ControlType.String,title:\"Ambition body\",displayTextArea:true,defaultValue:\"Dit project is nog een ambitie. We zoeken partners die het samen met ons willen waarmaken.\",hidden:p=>p.status!==\"Ambition\"&&p.status!==\"Ambitie\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"JoinBand\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"A,wUAAsnB,SAASqB,EAAQ,CAAC,UAAQ,OAAK,cAAY,cAAY,CAAC,IAAM,EAAEJ,EAAW,EAC3rBK,EAAUtB,EAAO,IAAI,EAAQuB,EAAOvB,EAAO,IAAI,EAAQwB,EAAYT,EAAUO,CAAS,EAAQG,EAASV,EAAUQ,CAAM,EAAQG,EAAQ,EAAE,OAAO,gBAAgB,eAAe,OAAO,MAAoB,gBAAM,MAAM,CAAC,MAAM,CAAC,QAAQ,OAAO,cAAc,SAAS,IAAIf,EAAM,QAAQ,EAAE,SAAS,CAAc,gBAAK,MAAM,CAAC,IAAIW,EAAU,MAAME,EAAY,SAAsB,gBAAKR,EAAc,CAAS,UAAa,MAAI,CAAC,CAAC,CAAC,EAAEW,GAAaC,EAAwB,gBAAK,MAAM,CAAC,IAAIL,EAAO,MAAME,EAAS,SAAsB,gBAAKL,EAAc,CAAC,KAAKQ,EAAmB,UAAQ,QAAQ,EAAE,SAAS,SAASD,CAAW,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAE,CAG/mB,SAAwBE,EAAS,CAAC,UAAQ,kBAAkB,OAAK,0DAA0D,cAAY,UAAU,aAAW,WAAW,OAAK,gBAAgB,SAAO,OAAO,kBAAgB,qCAAqC,eAAa,8FAA8F,CAE7W,IAAMC,EAAIC,IAAS,YAAYA,IAAS,UAAU,MAAoB,gBAAKb,EAAQ,CAAM,OAAK,SAAsB,gBAAKG,EAAQ,CAAC,QAAQS,EAAIE,EAAgBC,EAAQ,KAAKH,EAAII,EAAaC,EAAiB,cAAuB,YAAU,CAAC,CAAC,CAAC,CAAE,C,0DAAC3B,EAAoB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