{"version":3,"file":"RequestVideoButton.C6WuTfsv.mjs","names":["__esmMin","c","init_jsx_runtime","init_framer_D6uXRwWs","addPropertyControls","ControlType","RequestVideoButton","props","href","machine","font","label","init_RequestVideoButton"],"sources":["https:/framerusercontent.com/modules/Or3SXdBirgu0VglywgZJ/1CyXDZGoPtC2ZmDaKR1I/RequestVideoButton.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Request-Button fuer das Full-Length-Video: verlinkt aufs Kontaktformular\n * und gibt die konkrete Maschine als Query-Parameter mit.\n *\n * Optik folgt dem Projekt-Button (Variante \"Primary\"): Hausschrift PT Sans\n * Bold, 3px Radius, 20/32 Padding. Schrift und Farben kommen per Property\n * aus dem Projekt (Font-Control laedt die Projekt-Schrift mit). Fallback\n * ohne gesetzte Schrift: \"PT Sans\" Bold.\n * ponytail: dupliziert die Button-Optik in Code, weil ein Framer-Link\n * keinen dynamischen Query-Parameter mitgeben kann. Wenn Framer das mal\n * kann, faellt diese Komponente ersatzlos weg.\n *\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function RequestVideoButton(props){const{machine,label,background,color,font={}}=props;const href=\"/kontakt?maschine=\"+encodeURIComponent(machine||\"\");return /*#__PURE__*/_jsx(\"a\",{href:href,style:{display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",padding:\"20px 32px\",background,color,borderRadius:3,fontSize:14,lineHeight:\"32px\",...font,fontFamily:font.fontFamily??'\"PT Sans\", sans-serif',fontWeight:font.fontWeight??700,textDecoration:\"none\",cursor:\"pointer\",whiteSpace:\"nowrap\"},children:label});}addPropertyControls(RequestVideoButton,{machine:{type:ControlType.String,title:\"Maschine\",defaultValue:\"\"},label:{type:ControlType.String,title:\"Label\",defaultValue:\"Request Full Length Video\"},background:{type:ControlType.Color,title:\"Background\",defaultValue:\"#F4C27F\"},color:{type:ControlType.Color,title:\"Text\",defaultValue:\"#000000\"},font:{type:ControlType.Font,title:\"Schrift\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"14px\",variant:\"Bold\",letterSpacing:\"0px\",lineHeight:\"32px\"}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"RequestVideoButton\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"auto\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./RequestVideoButton.map"],"mappings":"A,4JAcG,SAAwBM,EAAmB,EAAM,CAAC,GAAK,CAAC,UAAQ,QAAM,aAAW,QAAM,OAAK,CAAC,GAAGC,EAAYC,EAAK,qBAAqB,mBAAmBC,GAAS,EAAE,EAAE,MAAoB,gBAAK,IAAI,CAAM,OAAK,MAAM,CAAC,QAAQ,cAAc,WAAW,SAAS,eAAe,SAAS,QAAQ,YAAY,aAAW,QAAM,aAAa,EAAE,SAAS,GAAG,WAAW,OAAO,GAAGC,EAAK,WAAWA,EAAK,YAAY,wBAAwB,WAAWA,EAAK,YAAY,IAAI,eAAe,OAAO,OAAO,UAAU,WAAW,QAAQ,EAAE,SAASC,CAAK,CAAC,CAAE,C,sCAACP,EAAoBE,EAAmB,CAAC,QAAQ,CAAC,KAAKD,EAAY,OAAO,MAAM,WAAW,aAAa,EAAE,EAAE,MAAM,CAAC,KAAKA,EAAY,OAAO,MAAM,QAAQ,aAAa,2BAA2B,EAAE,WAAW,CAAC,KAAKA,EAAY,MAAM,MAAM,aAAa,aAAa,SAAS,EAAE,MAAM,CAAC,KAAKA,EAAY,MAAM,MAAM,OAAO,aAAa,SAAS,EAAE,KAAK,CAAC,KAAKA,EAAY,KAAK,MAAM,UAAU,SAAS,WAAW,gBAAgB,aAAa,aAAa,CAAC,SAAS,OAAO,QAAQ,OAAO,cAAc,MAAM,WAAW,MAAM,CAAC,CAAC,CAAC,C"}