{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/gvyNb9nOkTQNNaYKa6CQ/sdl7Qoi05JIB6cF6dB0S/FlipCard.js"],
  "sourcesContent": ["// Card component that flips on hover with customizable text and symbols on both sides\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState}from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{motion}from\"framer-motion\";/**\n * Flip Card Component - Card that flips on hover with customizable text and icons\n *\n * @framerIntrinsicWidth 300\n * @framerIntrinsicHeight 200\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function FlipCard(props){const{frontText,backText,frontIcon={src:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",alt:\"Front Icon\"},backIcon={src:\"https://framerusercontent.com/images/aNsAT3jCvt4zglbWCUoFe33Q.jpg\",alt:\"Back Icon\"},frontBackgroundColor,backBackgroundColor,frontTextColor,backTextColor,borderRadius,cardShadow,frontTextFont,backTextFont,iconSize,borderColor,borderWidth}=props;const[isFlipped,setIsFlipped]=useState(false);const cardStyle={width:\"100%\",height:\"100%\",position:\"relative\",transformStyle:\"preserve-3d\",cursor:\"pointer\",borderRadius:borderRadius,boxShadow:cardShadow?\"0 8px 24px rgba(0, 0, 0, 0.12)\":\"none\"};const sideStyle={position:\"absolute\",width:\"100%\",height:\"100%\",backfaceVisibility:\"hidden\",borderRadius:borderRadius,display:\"flex\",flexDirection:\"column\",justifyContent:\"center\",alignItems:\"center\",padding:\"24px\",gap:\"16px\"};const frontSideStyle={...sideStyle,backgroundColor:frontBackgroundColor,border:`${borderWidth}px solid ${borderColor}`};const backSideStyle={...sideStyle,backgroundColor:backBackgroundColor,transform:\"rotateY(180deg)\",border:`${borderWidth}px solid ${borderColor}`};const iconStyle={width:iconSize,height:iconSize,objectFit:\"contain\",borderRadius:\"4px\"};return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",perspective:\"1000px\"},onMouseEnter:()=>setIsFlipped(true),onMouseLeave:()=>setIsFlipped(false),children:/*#__PURE__*/_jsxs(motion.div,{style:cardStyle,animate:{rotateY:isFlipped?180:0},transition:{duration:.6,ease:\"easeInOut\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:frontSideStyle,children:[/*#__PURE__*/_jsx(\"img\",{src:frontIcon.src,alt:frontIcon.alt,style:iconStyle}),/*#__PURE__*/_jsx(\"div\",{style:{...frontTextFont,color:frontTextColor,textAlign:\"center\",wordBreak:\"break-word\"},children:frontText})]}),/*#__PURE__*/_jsx(\"div\",{style:backSideStyle,children:/*#__PURE__*/_jsx(\"div\",{style:{...backTextFont,color:backTextColor,textAlign:\"center\",wordBreak:\"break-word\"},children:backText})})]})});}addPropertyControls(FlipCard,{frontText:{type:ControlType.String,title:\"Front Text\",defaultValue:\"Vorderseite\",displayTextArea:true},backText:{type:ControlType.String,title:\"Back Text\",defaultValue:\"R\\xfcckseite\",displayTextArea:true},frontIcon:{type:ControlType.ResponsiveImage,title:\"Front Icon\"},iconSize:{type:ControlType.Number,title:\"Icon Size\",defaultValue:48,min:16,max:120,step:4,unit:\"px\"},frontBackgroundColor:{type:ControlType.Color,title:\"Front Background\",defaultValue:\"#FFFFFF\"},backBackgroundColor:{type:ControlType.Color,title:\"Back Background\",defaultValue:\"#F5F5F5\"},frontTextColor:{type:ControlType.Color,title:\"Front Text Color\",defaultValue:\"#000000\"},backTextColor:{type:ControlType.Color,title:\"Back Text Color\",defaultValue:\"#000000\"},borderColor:{type:ControlType.Color,title:\"Border Color\",defaultValue:\"#EEEEEE\"},borderWidth:{type:ControlType.Number,title:\"Border Width\",defaultValue:2,min:0,max:10,step:1,unit:\"px\"},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:12,min:0,max:50,step:1,unit:\"px\"},cardShadow:{type:ControlType.Boolean,title:\"Card Shadow\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},frontTextFont:{type:ControlType.Font,title:\"Front Text Font\",defaultValue:{fontSize:\"24px\",variant:\"Bold\",letterSpacing:\"-0.01em\",lineHeight:\"1.2em\"},controls:\"extended\",defaultFontType:\"sans-serif\"},backTextFont:{type:ControlType.Font,title:\"Back Text Font\",defaultValue:{fontSize:\"18px\",variant:\"Medium\",letterSpacing:\"-0.01em\",lineHeight:\"1.3em\"},controls:\"extended\",defaultFontType:\"sans-serif\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FlipCard\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"300\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"200\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FlipCard.map"],
  "mappings": "4EASkB,SAARA,EAA0BC,EAAM,CAAC,GAAK,CAAC,UAAAC,EAAU,SAAAC,EAAS,UAAAC,EAAU,CAAC,IAAI,sEAAsE,IAAI,YAAY,EAAE,SAAAC,EAAS,CAAC,IAAI,oEAAoE,IAAI,WAAW,EAAE,qBAAAC,EAAqB,oBAAAC,EAAoB,eAAAC,EAAe,cAAAC,EAAc,aAAAC,EAAa,WAAAC,EAAW,cAAAC,EAAc,aAAAC,EAAa,SAAAC,EAAS,YAAAC,EAAY,YAAAC,CAAW,EAAEf,EAAW,CAACgB,EAAUC,CAAY,EAAEC,EAAS,EAAK,EAAQC,EAAU,CAAC,MAAM,OAAO,OAAO,OAAO,SAAS,WAAW,eAAe,cAAc,OAAO,UAAU,aAAaV,EAAa,UAAUC,EAAW,iCAAiC,MAAM,EAAQU,EAAU,CAAC,SAAS,WAAW,MAAM,OAAO,OAAO,OAAO,mBAAmB,SAAS,aAAaX,EAAa,QAAQ,OAAO,cAAc,SAAS,eAAe,SAAS,WAAW,SAAS,QAAQ,OAAO,IAAI,MAAM,EAAQY,EAAe,CAAC,GAAGD,EAAU,gBAAgBf,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AY,OAAO,MAAM,YAAY,aAAa,GAAG,IAAI,GAAG,IAAI,IAAI,KAAK,EAAE,KAAK,IAAI,EAAE,qBAAqB,CAAC,KAAKA,EAAY,MAAM,MAAM,mBAAmB,aAAa,SAAS,EAAE,oBAAoB,CAAC,KAAKA,EAAY,MAAM,MAAM,kBAAkB,aAAa,SAAS,EAAE,eAAe,CAAC,KAAKA,EAAY,MAAM,MAAM,mBAAmB,aAAa,SAAS,EAAE,cAAc,CAAC,KAAKA,EAAY,MAAM,MAAM,kBAAkB,aAAa,SAAS,EAAE,YAAY,CAAC,KAAKA,EAAY,MAAM,MAAM,eAAe,aAAa,SAAS,EAAE,YAAY,CAAC,KAAKA,EAAY,OAAO,MAAM,eAAe,aAAa,EAAE,IAAI,EAAE,IAAI,GAAG,KAAK,EAAE,KAAK,IAAI,EAAE,aAAa,CAAC,KAAKA,EAAY,OAAO,MAAM,gBAAgB,aAAa,GAAG,IAAI,EAAE,IAAI,GAAG,KAAK,EAAE,KAAK,IAAI,EAAE,WAAW,CAAC,KAAKA,EAAY,QAAQ,MAAM,cAAc,aAAa,GAAK,aAAa,KAAK,cAAc,KAAK,EAAE,cAAc,CAAC,KAAKA,EAAY,KAAK,MAAM,kBAAkB,aAAa,CAAC,SAAS,OAAO,QAAQ,OAAO,cAAc,UAAU,WAAW,OAAO,EAAE,SAAS,WAAW,gBAAgB,YAAY,EAAE,aAAa,CAAC,KAAKA,EAAY,KAAK,MAAM,iBAAiB,aAAa,CAAC,SAAS,OAAO,QAAQ,SAAS,cAAc,UAAU,WAAW,OAAO,EAAE,SAAS,WAAW,gBAAgB,YAAY,CAAC,CAAC",
  "names": ["FlipCard", "props", "frontText", "backText", "frontIcon", "backIcon", "frontBackgroundColor", "backBackgroundColor", "frontTextColor", "backTextColor", "borderRadius", "cardShadow", "frontTextFont", "backTextFont", "iconSize", "borderColor", "borderWidth", "isFlipped", "setIsFlipped", "ye", "cardStyle", "sideStyle", "frontSideStyle", "backSideStyle", "iconStyle", "p", "u", "motion", "addPropertyControls", "ControlType"]
}
