{"version":3,"file":"Partner_Logos.62CNNIBo.mjs","names":[],"sources":["https:/framerusercontent.com/modules/4zSb3Xl44cQu3ipHCYYi/JhFUDdafZr2ZlwOfL05q/Partner_Logos.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";// Headline-freie Partner-Logo-Marquee mit Auto-White-Logos\nexport default function PartnerLogoMarquee({logos,logoHeight,gap,speed,forceWhite}){// Logo-Höhe doppelt so groß machen (nur wenn px übergeben wird)\nconst doubledLogoHeight=logoHeight.includes(\"px\")?`${parseInt(logoHeight)*2}px`:logoHeight;return /*#__PURE__*/_jsxs(\"section\",{style:{background:\"#000\",padding:\"48px 0\",overflow:\"hidden\",width:\"100%\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",animation:`marquee ${Math.max(2,200/Math.max(10,speed))}s linear infinite`,width:\"max-content\",willChange:\"transform\"},children:[logos.map((logo,i)=>/*#__PURE__*/_jsx(\"img\",{src:logo,alt:`Logo ${i+1}`,style:{height:doubledLogoHeight,margin:`0 ${gap}`,filter:forceWhite?\"grayscale(1) brightness(0) invert(1) contrast(1000%)\":\"none\",display:\"block\"},loading:\"eager\",decoding:\"async\"},i)),logos.map((logo,i)=>/*#__PURE__*/_jsx(\"img\",{src:logo,alt:`Logo duplicate ${i+1}`,style:{height:doubledLogoHeight,margin:`0 ${gap}`,filter:forceWhite?\"grayscale(1) brightness(0) invert(1) contrast(1000%)\":\"none\",display:\"block\"},loading:\"eager\",decoding:\"async\"},`dup-${i}`))]}),/*#__PURE__*/_jsx(\"style\",{children:`\n        @keyframes marquee {\n          from { transform: translateX(0); }\n          to   { transform: translateX(-50%); }\n        }\n      `})]});}addPropertyControls(PartnerLogoMarquee,{logos:{type:ControlType.Array,title:\"Logos\",control:{type:ControlType.Image},defaultValue:[\"https://framerusercontent.com/images/8WkqVqJ-placeholder.png\",\"https://framerusercontent.com/images/8WkqVqJ-placeholder.png\",\"https://framerusercontent.com/images/8WkqVqJ-placeholder.png\"]},logoHeight:{type:ControlType.String,title:\"Logo-H\\xf6he\",defaultValue:\"48px\"},gap:{type:ControlType.String,title:\"Abstand\",defaultValue:\"36px\"},speed:{type:ControlType.Number,title:\"Speed (px/s)\",defaultValue:80,min:10,max:600,step:10},forceWhite:{type:ControlType.Boolean,title:\"Logos wei\\xdf f\\xe4rben\",defaultValue:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"PartnerLogoMarquee\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Partner_Logos.map"],"mappings":"mKACA,SAAwB,EAAmB,CAAC,QAAM,aAAW,MAAI,QAAM,cAAY,CACnF,IAAM,EAAkB,EAAW,SAAS,KAAK,CAAC,GAAG,SAAS,EAAW,CAAC,EAAE,IAAI,EAAW,OAAoB,EAAM,UAAU,CAAC,MAAM,CAAC,WAAW,OAAO,QAAQ,SAAS,SAAS,SAAS,MAAM,OAAO,CAAC,SAAS,CAAc,EAAM,MAAM,CAAC,MAAM,CAAC,QAAQ,OAAO,UAAU,WAAW,KAAK,IAAI,EAAE,IAAI,KAAK,IAAI,GAAG,EAAM,CAAC,CAAC,mBAAmB,MAAM,cAAc,WAAW,YAAY,CAAC,SAAS,CAAC,EAAM,KAAK,EAAK,IAAiB,EAAK,MAAM,CAAC,IAAI,EAAK,IAAI,QAAQ,EAAE,IAAI,MAAM,CAAC,OAAO,EAAkB,OAAO,KAAK,IAAM,OAAO,EAAW,uDAAuD,OAAO,QAAQ,QAAQ,CAAC,QAAQ,QAAQ,SAAS,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAM,KAAK,EAAK,IAAiB,EAAK,MAAM,CAAC,IAAI,EAAK,IAAI,kBAAkB,EAAE,IAAI,MAAM,CAAC,OAAO,EAAkB,OAAO,KAAK,IAAM,OAAO,EAAW,uDAAuD,OAAO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