{"version":3,"file":"Trapez_Final.Dig4DIsq.mjs","names":[],"sources":["https:/framerusercontent.com/modules/F5FZOSlhgrr6t4QW8H6U/QCiSPdYilVaKoqxbwlh2/Trapez_Final.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";export default function TrapezWithContent({image,children,contentHeight,contentMarginTop,contentMarginBottom,imageMarginTop,imageMarginBottom,topLeft,topRight,bottomLeft,bottomRight,focalX,focalY,radiusBottomLeft,radiusBottomRight}){const clipPath=`polygon(\n    0% ${topLeft}%,\n    100% ${topRight}%,\n    100% ${100-bottomRight}%,\n    0% ${100-bottomLeft}%\n  )`;return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",display:\"flex\",flexDirection:\"column\",alignItems:\"center\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{clipPath:clipPath,width:\"100%\",aspectRatio:\"16 / 9\",overflow:\"hidden\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\",flexShrink:0,marginTop:`${imageMarginTop}px`,marginBottom:`${imageMarginBottom}px`,borderRadius:`0px 0px ${radiusBottomRight}px ${radiusBottomLeft}px`},children:/*#__PURE__*/_jsx(\"img\",{src:image||\"https://via.placeholder.com/800x400\",style:{width:\"100%\",height:\"100%\",objectFit:\"cover\",objectPosition:`${focalX}% ${focalY}%`}})}),/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:`${contentHeight}px`,minHeight:`${contentHeight}px`,marginTop:`${contentMarginTop}px`,marginBottom:`${contentMarginBottom}px`,background:\"#ffffff\",padding:\"20px\",boxSizing:\"border-box\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\",flexShrink:0},children:children})]});}addPropertyControls(TrapezWithContent,{image:{type:ControlType.Image,title:\"Bild\"},focalX:{type:ControlType.Number,title:\"Fokus horizontal\",defaultValue:50,min:0,max:100,step:5,displayStepper:true},focalY:{type:ControlType.Number,title:\"Fokus vertikal\",defaultValue:50,min:0,max:100,step:5,displayStepper:true},imageMarginTop:{type:ControlType.Number,title:\"Bild – Abstand oben\",defaultValue:0,min:-200,max:200,step:5,displayStepper:true},imageMarginBottom:{type:ControlType.Number,title:\"Bild – Abstand unten\",defaultValue:0,min:-200,max:200,step:5,displayStepper:true},radiusBottomLeft:{type:ControlType.Number,title:\"Radius unten links\",defaultValue:0,min:0,max:200,step:1,displayStepper:true},radiusBottomRight:{type:ControlType.Number,title:\"Radius unten rechts\",defaultValue:0,min:0,max:200,step:1,displayStepper:true},contentHeight:{type:ControlType.Number,title:\"H\\xf6he Content-Bereich\",defaultValue:200,min:50,max:800,step:10,displayStepper:true},contentMarginTop:{type:ControlType.Number,title:\"Content – Abstand oben\",defaultValue:0,min:-200,max:200,step:5,displayStepper:true},contentMarginBottom:{type:ControlType.Number,title:\"Content – Abstand unten\",defaultValue:0,min:-200,max:200,step:5,displayStepper:true},topLeft:{type:ControlType.Number,title:\"Oben links (vertikal)\",defaultValue:0,min:0,max:50,step:1,displayStepper:true},topRight:{type:ControlType.Number,title:\"Oben rechts (vertikal)\",defaultValue:0,min:0,max:50,step:1,displayStepper:true},bottomLeft:{type:ControlType.Number,title:\"Unten links (vertikal)\",defaultValue:0,min:0,max:50,step:1,displayStepper:true},bottomRight:{type:ControlType.Number,title:\"Unten rechts (vertikal)\",defaultValue:0,min:0,max:50,step:1,displayStepper:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"TrapezWithContent\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Trapez_Final.map"],"mappings":"mKAA6G,SAAwB,EAAkB,CAAC,QAAM,WAAS,gBAAc,mBAAiB,sBAAoB,iBAAe,oBAAkB,UAAQ,WAAS,aAAW,cAAY,SAAO,SAAO,mBAAiB,qBAAmB,CAKhV,OAAoB,EAAM,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,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