{"version":3,"file":"shared-lib.BFAOFvIE.mjs","names":["useState","startTransition","metadata","siteMetadata","metadataVersion","__FramerMetadata__","metadata","siteMetadata"],"sources":["https:/framerusercontent.com/modules/QZY9x7oGiuPqfsEEEB15/y4gJxZJUyGTl74ymzmQE/CardDeck.js","https:/framerusercontent.com/modules/gPwFtP9q1lT6Eai0Db09/R6WsZ5IE03sPLImgiuZK/siteMetadata.js","https:/framerusercontent.com/modules/eBLgHIZmYhXTcbdBZNeF/gEZ5fj48CptWU6EiptY0/augiA20Il.js","https:/framerusercontent.com/modules/8eTinT8IrVMzncgZO8C1/H8dieBDAMHgBcSk5e2V0/eNS8u5SKv.js"],"sourcesContent":["// Create a Framer component that follows the Framer component rules and achieves the user's goal: make a new component using this code\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{useState,startTransition}from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerIntrinsicWidth 850\n * @framerIntrinsicHeight 500\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function CardDeck(props){const{images=[{src:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",alt:\"Gradient 1 - Blue\"},{src:\"https://framerusercontent.com/images/aNsAT3jCvt4zglbWCUoFe33Q.jpg\",alt:\"Gradient 2 - Purple\"},{src:\"https://framerusercontent.com/images/BYnxEV1zjYb9bhWh1IwBZ1ZoS60.jpg\",alt:\"Gradient 3 - Orange\"},{src:\"https://framerusercontent.com/images/2uTNEj5aTl2K3NJaEFWMbnrA.jpg\",alt:\"Gradient 4 - Yellow\"},{src:\"https://framerusercontent.com/images/f9RiWoNpmlCMqVRIHz8l8wYfeI.jpg\",alt:\"Gradient 5 - Green\"}],fanSettings={spacing:120,rotationIntensity:12,arcIntensity:12,scaleDecay:.06},hoverBoost,hoverLift,pushForce,cardWidth,cardHeight,borderRadius,shadow,transitionStyle}=props;const[hoveredIndex,setHoveredIndex]=useState(null);// Use default images if the images array is empty\nconst defaultImages=[{src:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",alt:\"Gradient 1 - Blue\"},{src:\"https://framerusercontent.com/images/aNsAT3jCvt4zglbWCUoFe33Q.jpg\",alt:\"Gradient 2 - Purple\"},{src:\"https://framerusercontent.com/images/BYnxEV1zjYb9bhWh1IwBZ1ZoS60.jpg\",alt:\"Gradient 3 - Orange\"},{src:\"https://framerusercontent.com/images/2uTNEj5aTl2K3NJaEFWMbnrA.jpg\",alt:\"Gradient 4 - Yellow\"},{src:\"https://framerusercontent.com/images/f9RiWoNpmlCMqVRIHz8l8wYfeI.jpg\",alt:\"Gradient 5 - Green\"}];const imageList=images&&images.length>0?images:defaultImages;const totalCards=imageList.length;const centerIndex=Math.floor(totalCards/2);const transition=transitionStyle===\"bouncy\"?\"transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1)\":\"transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1)\";return /*#__PURE__*/_jsx(\"div\",{style:containerStyle,children:imageList.map((image,idx)=>{const distanceToCenter=Math.abs(idx-centerIndex);const zIndex=20-distanceToCenter;const baseScale=1-distanceToCenter*fanSettings.scaleDecay;let xOffset=(idx-centerIndex)*fanSettings.spacing;let yOffset=Math.pow(distanceToCenter,2)*fanSettings.arcIntensity;let rotation=(idx-centerIndex)*fanSettings.rotationIntensity;let scale=baseScale;if(hoveredIndex!==null){const distFromHover=idx-hoveredIndex;const absDistFromHover=Math.abs(distFromHover);if(idx===hoveredIndex){yOffset-=hoverLift;scale=baseScale*hoverBoost;}else{const decay=pushForce/(absDistFromHover+.6);const direction=distFromHover>0?1:-1;xOffset+=direction*decay;rotation+=direction*(5/(absDistFromHover+.2));scale=baseScale*.96;}}return /*#__PURE__*/_jsx(\"div\",{onMouseEnter:()=>startTransition(()=>setHoveredIndex(idx)),onMouseLeave:()=>startTransition(()=>setHoveredIndex(null)),style:{...cardStyle,width:cardWidth,height:cardHeight,borderRadius:borderRadius,backgroundImage:`url(${image.src})`,zIndex:zIndex,transform:`translate(${xOffset}px, ${yOffset}px) rotate(${rotation}deg) scale(${scale})`,transition:transition,boxShadow:`0 15px 35px rgba(0, 0, 0, ${shadow})`},role:\"img\",\"aria-label\":image.alt||`Card ${idx+1}`},`${image.src}-${idx}`);})});}const containerStyle={display:\"flex\",position:\"relative\",alignItems:\"center\",justifyContent:\"center\",width:\"100%\",height:\"100%\",overflow:\"visible\"};const cardStyle={position:\"absolute\",backgroundSize:\"cover\",backgroundPosition:\"center\",willChange:\"transform\",transformOrigin:\"center center\"};addPropertyControls(CardDeck,{images:{type:ControlType.Array,title:\"Images\",control:{type:ControlType.ResponsiveImage},defaultValue:[{src:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",alt:\"Gradient 1 - Blue\"},{src:\"https://framerusercontent.com/images/aNsAT3jCvt4zglbWCUoFe33Q.jpg\",alt:\"Gradient 2 - Purple\"},{src:\"https://framerusercontent.com/images/BYnxEV1zjYb9bhWh1IwBZ1ZoS60.jpg\",alt:\"Gradient 3 - Orange\"},{src:\"https://framerusercontent.com/images/2uTNEj5aTl2K3NJaEFWMbnrA.jpg\",alt:\"Gradient 4 - Yellow\"},{src:\"https://framerusercontent.com/images/f9RiWoNpmlCMqVRIHz8l8wYfeI.jpg\",alt:\"Gradient 5 - Green\"}]},fanSettings:{type:ControlType.Object,title:\"Layout\",controls:{spacing:{type:ControlType.Number,title:\"Spacing\",min:40,max:200,defaultValue:120},rotationIntensity:{type:ControlType.Number,title:\"Rotation\",min:0,max:25,defaultValue:12},arcIntensity:{type:ControlType.Number,title:\"Arc Depth\",min:0,max:30,defaultValue:12},scaleDecay:{type:ControlType.Number,title:\"Size Decay\",min:0,max:.15,step:.01,defaultValue:.06}},defaultValue:{spacing:120,rotationIntensity:12,arcIntensity:12,scaleDecay:.06}},hoverBoost:{type:ControlType.Number,title:\"Hover Scale\",min:1,max:1.5,step:.01,defaultValue:1.15},hoverLift:{type:ControlType.Number,title:\"Hover Lift\",min:0,max:150,defaultValue:60},pushForce:{type:ControlType.Number,title:\"Push Force\",description:\"Controls how far adjacent cards push away when hovering over a card\",min:0,max:300,defaultValue:130},cardWidth:{type:ControlType.Number,title:\"Card Width\",defaultValue:240,min:100,max:600,displayStepper:false},cardHeight:{type:ControlType.Number,title:\"Card Height\",defaultValue:360,min:100,max:800,displayStepper:false},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:32,min:0},shadow:{type:ControlType.Number,title:\"Shadow\",defaultValue:.15,min:0,max:1,step:.1},transitionStyle:{type:ControlType.Enum,title:\"Transition\",options:[\"bouncy\",\"smooth\"],optionTitles:[\"Bouncy\",\"Smooth\"],defaultValue:\"smooth\",displaySegmentedControl:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CardDeck\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"500\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"850\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CardDeck.map","// Generated by Framer (293632e)\nexport default function metadata(params,activeLocale){return{description:\"Made with Framer\",robots:\"max-image-preview:large\",title:\"My Framer Site\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (1d692b3)\nimport siteMetadata from\"https://framerusercontent.com/modules/gPwFtP9q1lT6Eai0Db09/R6WsZ5IE03sPLImgiuZK/siteMetadata.js\";export default function metadata(params,activeLocale){return{breakpoints:[{hash:\"72rtr7\",mediaQuery:\"(min-width: 1400px)\"},{hash:\"5as8gf\",mediaQuery:\"(min-width: 810px) and (max-width: 1399.98px)\"},{hash:\"122ye4q\",mediaQuery:\"(max-width: 809.98px)\"}],description:siteMetadata(params,activeLocale).description,elements:{},robots:\"max-image-preview:large\",serializationId:\"framer-llwaw\",title:siteMetadata(params,activeLocale).title||\"Home\",viewport:\"width=device-width\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (293632e)\nimport siteMetadata from\"https://framerusercontent.com/modules/gPwFtP9q1lT6Eai0Db09/R6WsZ5IE03sPLImgiuZK/siteMetadata.js\";export default function metadata(params,activeLocale){return{breakpoints:[{hash:\"sv58j2\",mediaQuery:\"(min-width: 1400px)\"},{hash:\"g5pjfu\",mediaQuery:\"(min-width: 810px) and (max-width: 1399.98px)\"},{hash:\"agkr4s\",mediaQuery:\"(max-width: 809.98px)\"}],description:siteMetadata(params,activeLocale).description,elements:{},robots:\"max-image-preview:large\",serializationId:\"framer-GjYT3\",title:siteMetadata(params,activeLocale).title||\"Page\",viewport:\"width=device-width\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"iLAOG,SAAwB,EAAS,EAAM,CAAC,GAAK,CAAC,SAAO,CAAC,CAAC,IAAI,sEAAsE,IAAI,oBAAoB,CAAC,CAAC,IAAI,oEAAoE,IAAI,sBAAsB,CAAC,CAAC,IAAI,uEAAuE,IAAI,sBAAsB,CAAC,CAAC,IAAI,oEAAoE,IAAI,sBAAsB,CAAC,CAAC,IAAI,sEAAsE,IAAI,qBAAqB,CAAC,CAAC,cAAY,CAAC,QAAQ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