{"version":3,"file":"MDX_StackCards_V1.DWEwGP-L.mjs","names":["React.useState","React.useRef","React.useMemo"],"sources":["https:/framerusercontent.com/modules/m0Mcd7OrLTUMWAAh38nK/C3xSk8UAVn1hdqM82Bwf/MDX_StackCards_V1.js"],"sourcesContent":["/**\n * ============================================================================\n * MDX STACK CARDS\n * MODAX Premium UI Library\n * ============================================================================\n *\n * @copyright Copyright (c) 2026 MODAX. All rights reserved.\n * @license Proprietary — Unauthorized copying, modification, redistribution,\n *          or resale of this component in source or compiled form is strictly\n *          prohibited without prior written consent from MODAX.\n *\n * @version 2.1.0\n * @author  MODAX Design Team\n * @see     https://modax.framer.website/mdx-components/mdx-stack-cards\n *\n * ============================================================================\n * OVERVIEW\n * ============================================================================\n *\n * A physics-based swipeable card stack for Framer with rich media support,\n * markdown text rendering, CTA links, and a fully theme-aware design system.\n * Cards can be swiped in any direction (left, right, up, down) with natural\n * drag inertia and exit animations powered by Framer Motion.\n *\n * ============================================================================\n * KEY FEATURES\n * ============================================================================\n *\n * • Swipe Interaction   — Drag in any direction with threshold-based dismissal\n *                         and physics-based exit fly-off animations.\n * • Solo Design Mode    — Isolate and inspect any individual card by index\n *                         without swiping through the full deck. Ideal for\n *                         designing and reviewing each card in Framer canvas.\n * • Rich Media Cards    — Three card types: Hybrid (image + text), Text Only,\n *                         and Image Only. Configurable image fit, position,\n *                         zoom, and layout direction (top/bottom/left/right).\n * • Markdown Support    — Body text supports **bold**, *italic*, and\n *                         [links](url) inline markdown syntax.\n * • CTA Buttons         — Optional call-to-action button per card. Supports\n *                         URL navigation (same tab or new tab) and smooth\n *                         scroll-to-section on the same page.\n * • Theme System        — Light, Dark, and Auto modes. Auto follows the\n *                         Framer site theme via body[data-framer-theme].\n *                         All colours are CSS-class driven for correctness\n *                         across all Framer theme contexts.\n * • Visual DNA          — Centralised design control for card width, height,\n *                         corner radius, and deck spread behaviour.\n * • Swipe Hint Badge    — A one-time hint badge (customisable text) fades in\n *                         before the first interaction to guide new users.\n * • Responsive          — Card constrains to viewport on mobile via maxWidth.\n *                         Swipe threshold scales proportionally with card width.\n * • Accessible          — ARIA roles, keyboard navigation (Enter / Space),\n *                         and focusable CTA elements throughout.\n * • Performance         — Markdown parsed with useMemo. SSR-safe window guard.\n *                         Back cards are fully pointer-inert during drag.\n *\n * ============================================================================\n * PROPERTIES — GROUP: DESIGNER TOOLS\n * ============================================================================\n *\n * @prop {boolean} soloDesignMode\n *   Enables Solo Design Mode. When active, renders a single isolated card\n *   instead of the full interactive stack. Use this to design and review\n *   each card individually on the Framer canvas without swiping.\n *   Default: false\n *\n * @prop {number} editIndex\n *   The 1-based index of the card to preview in Solo Design Mode.\n *   Only visible when soloDesignMode is true.\n *   Range: 1–100 | Default: 1\n *\n * ============================================================================\n * PROPERTIES — GROUP: CARDS (DECK)\n * ============================================================================\n *\n * @prop {CardItem[]} cards\n *   The array of card data objects that make up the deck.\n *   Each item supports the following fields:\n *\n *   CONTENT\n *   @field {string}  title            — Card heading text.\n *   @field {string}  description      — Body text. Supports **bold**, *italic*,\n *                                       and [link](url) markdown syntax.\n *                                       Hidden when cardType is \"image-only\".\n *\n *   CARD TYPE\n *   @field {string}  cardType         — Layout mode: \"hybrid\" | \"text-only\" |\n *                                       \"image-only\". Default: \"hybrid\".\n *\n *   IMAGE\n *   @field {string}  imageSource      — \"upload\" or \"url\". Default: \"upload\".\n *   @field {string}  imageUpload      — Framer image asset (when source=upload).\n *   @field {string}  imageUrl         — Remote image URL (when source=url).\n *   @field {string}  fitMode          — \"cover\" or \"contain\". Default: \"cover\".\n *   @field {string}  position         — Image focal point. One of: \"center\" |\n *                                       \"top\" | \"left\" | \"right\" | \"bottom\" |\n *                                       \"left top\" | \"right top\" | \"left bottom\"\n *                                       | \"right bottom\". Default: \"center\".\n *   @field {number}  imageZoom        — Image scale multiplier. Range: 0.5–3.\n *                                       Default: 1.\n *   @field {string}  layoutDirection  — Image position relative to text for\n *                                       hybrid cards: \"column\" (image top) |\n *                                       \"column-reverse\" (image bottom) |\n *                                       \"row\" (image left) |\n *                                       \"row-reverse\" (image right).\n *                                       Default: \"column\".\n *\n *   CTA\n *   @field {boolean} showCTA          — Show a call-to-action button. Default: false.\n *   @field {string}  ctaText          — Button label. Default: \"Learn More\".\n *   @field {string}  linkType         — \"link\" (URL navigation) or \"section\"\n *                                       (smooth scroll). Default: \"link\".\n *   @field {string}  ctaPageLink      — Destination URL (when linkType=\"link\").\n *   @field {boolean} openInNewTab     — Open link in new tab. Default: true.\n *   @field {string}  sectionId        — Target element ID for smooth scroll\n *                                       (when linkType=\"section\").\n *\n * ============================================================================\n * PROPERTIES — GROUP: APPEARANCE\n * ============================================================================\n *\n * @prop {\"light\"|\"dark\"|\"auto\"} theme\n *   Colour theme for all cards in the stack.\n *   \"auto\" follows the Framer site theme via body[data-framer-theme].\n *   Default: \"light\"\n *\n * ============================================================================\n * PROPERTIES — GROUP: VISUAL DNA\n * ============================================================================\n *\n * @prop {object} visual\n *   Centralised design token group controlling the card's physical appearance.\n *\n *   @field {number} cardWidth    — Card width in pixels. Range: 200–2500.\n *                                  Default: 520. Constrained to viewport width\n *                                  on smaller screens via maxWidth: 100%.\n *   @field {number} cardHeight   — Card height in pixels. Range: 200–2500.\n *                                  Default: 350.\n *   @field {number} borderRadius — Card corner radius in pixels. Range: 0–100.\n *                                  Default: 24.\n *   @field {boolean} spreadDeck  — When true, back cards are offset and rotated\n *                                  to create a fanned deck effect. Default: true.\n *\n * ============================================================================\n * PROPERTIES — GROUP: INTERACTION\n * ============================================================================\n *\n * @prop {string} hint\n *   Text shown in the one-time swipe hint badge before the user's first\n *   interaction. Set to empty string to disable.\n *   Default: \"Swipe Any Direction\"\n *\n * ============================================================================\n * MARKDOWN SYNTAX REFERENCE\n * ============================================================================\n *\n *   **bold text**              → <strong>\n *   *italic text*              → <em>\n *   [label](https://url)       → <a> link (opens in new tab)\n *   \\n                         → line break (use for lists, spacing, paragraphs)\n *   \\*                         → literal asterisk\n *   \\[  \\]  \\(  \\)            → literal bracket / parenthesis chars\n *   \\\\                         → literal backslash\n *\n * ============================================================================\n * THEME CSS CLASS REFERENCE\n * ============================================================================\n *\n *   .mdx-bg-light     — Explicit light theme card background\n *   .mdx-bg-dark      — Explicit dark theme card background\n *   .mdx-bg-auto      — Follows Framer site theme automatically\n *   .mdx-title        — Card heading — colour driven by theme class\n *   .mdx-desc         — Body text — colour driven by theme class\n *   .mdx-cta-btn      — CTA button — colour and border driven by theme class\n *   .mdx-scroll-mask  — Scroll fade gradient — matches card background exactly\n *   .mdx-card-top     — Top (active) card border\n *   .mdx-card-back    — Back card border\n *   .mdx-markdown-link — Inline markdown anchor style\n *\n * ============================================================================\n * CHANGELOG\n * ============================================================================\n *\n * v2.1.0 — 2026-03-04\n *   • Replaced ControlType.Image with ControlType.ResponsiveImage (srcSet support)\n *   • Added CardProps TypeScript interface — Card function fully typed\n *   • Fixed isDarkTheme to detect auto theme via MutationObserver on body attribute\n *   • Fixed cursor: grab → grabbing during active drag via whileDrag\n *   • Removed stray position: relative from img tag\n *   • Reordered handleScroll before checkOverflow — eliminates forward reference\n *   • ResizeObserver effect now re-runs on width prop change\n *   • Added escape support for \\\\, \\], \\(, \\) in parseMarkdown\n *   • Added alt, srcSet to img tag for accessibility and responsive loading\n *   • Added hint badge empty-string guard (!!hintText)\n *   • Added description, placeholder, enabledTitle, displayStepper to all controls\n *   • Replaced dead maskGradient variable with CSS class system\n *   • Fixed rotation counter — unbounded increment, no modulo overflow\n *   • Rewrote default cards — 7-card premium onboarding deck\n *   • Card 4 demonstrates markdown live with escape syntax side-by-side\n *\n * v2.0.0 — 2026-03-04\n *   • Fixed array mutation on visibleSlots.reverse()\n *   • Fixed swipe threshold to scale proportionally with card width\n *   • Fixed href=\"#\" fallback causing page jumps\n *   • Fixed DOM timing in checkOverflow via requestAnimationFrame\n *   • Fixed shadow opacities — natural depth instead of crushing dark\n *   • Fixed React key collision causing ghost card animations\n *   • Added Safari -webkit-backdrop-filter prefix\n *   • Fixed useTransform range to scale with card width\n *   • Implemented useDragControls to prevent back card drag lock\n *   • Fixed phantom focusable anchors on image-only cards\n *   • Added userSelect: none to prevent text selection during drag\n *   • Added maxWidth: 100% — cards no longer overflow on mobile\n *   • Added parseMarkdown memoization via useMemo\n *   • Added full TypeScript interfaces for all props\n *   • Added SSR guard for window.addEventListener\n *   • Fixed section scroll CTA (was silently broken)\n *   • Rebuilt dark mode colour system using CSS class selectors\n *   • Proportional font sizing formula for title, body, and CTA\n *   • Repositioned swipe hint badge to top-right corner (5px inset)\n *   • Added hint prop to addPropertyControls (was missing)\n *   • Reorganised properties panel with logical groups and labels\n *   • Solo Mode promoted to top of properties panel\n *\n */import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{motion,AnimatePresence,useMotionValue,useTransform,useDragControls}from\"framer-motion\";import{addPropertyControls,ControlType}from\"framer\";// --- STYLES ---\nconst themeStyles=`\n    .mdx-bg-auto { background-color: rgb(255, 255, 255); }\n    .framer-theme-light .mdx-bg-auto, body[data-framer-theme=\"light\"] .mdx-bg-auto, .mdx-bg-light { background-color: rgb(255, 255, 255) !important; }\n    .framer-theme-dark .mdx-bg-auto, body[data-framer-theme=\"dark\"] .mdx-bg-auto, .mdx-bg-dark { background-color: rgb(45, 47, 54) !important; }\n\n    .framer-theme-dark .mdx-bg-auto .mdx-title, body[data-framer-theme=\"dark\"] .mdx-bg-auto .mdx-title, .mdx-bg-dark .mdx-title { color: #ffffff !important; }\n    .framer-theme-dark .mdx-bg-auto .mdx-desc, body[data-framer-theme=\"dark\"] .mdx-bg-auto .mdx-desc, .mdx-bg-dark .mdx-desc { color: #a8abb4 !important; }\n\n    .framer-theme-light .mdx-bg-auto .mdx-title, body[data-framer-theme=\"light\"] .mdx-bg-auto .mdx-title, .mdx-bg-light .mdx-title { color: #000000 !important; }\n    .framer-theme-light .mdx-bg-auto .mdx-desc, body[data-framer-theme=\"light\"] .mdx-bg-auto .mdx-desc, .mdx-bg-light .mdx-desc { color: #555555 !important; }\n\n    .framer-theme-dark .mdx-bg-auto .mdx-cta-btn, body[data-framer-theme=\"dark\"] .mdx-bg-auto .mdx-cta-btn, .mdx-bg-dark .mdx-cta-btn { color: #f0f1f3 !important; border-color: rgba(255,255,255,0.25) !important; }\n    .framer-theme-dark .mdx-bg-auto .mdx-cta-btn:hover, body[data-framer-theme=\"dark\"] .mdx-bg-auto .mdx-cta-btn:hover, .mdx-bg-dark .mdx-cta-btn:hover { border-color: rgba(255,255,255,0.5) !important; background-color: rgba(255,255,255,0.08) !important; backdrop-filter: blur(8px); }\n    .framer-theme-dark .mdx-bg-auto .mdx-cta-btn:active, body[data-framer-theme=\"dark\"] .mdx-bg-auto .mdx-cta-btn:active, .mdx-bg-dark .mdx-cta-btn:active { border-color: rgba(255,255,255,0.7) !important; background-color: rgba(255,255,255,0.14) !important; backdrop-filter: blur(8px); }\n    .framer-theme-light .mdx-bg-auto .mdx-cta-btn, body[data-framer-theme=\"light\"] .mdx-bg-auto .mdx-cta-btn, .mdx-bg-light .mdx-cta-btn { color: #000000 !important; border-color: #dddddd !important; }\n    .framer-theme-light .mdx-bg-auto .mdx-cta-btn:hover, body[data-framer-theme=\"light\"] .mdx-bg-auto .mdx-cta-btn:hover, .mdx-bg-light .mdx-cta-btn:hover { border-color: #111111 !important; background-color: rgba(0,0,0,0.04) !important; backdrop-filter: blur(8px); }\n    .framer-theme-light .mdx-bg-auto .mdx-cta-btn:active, body[data-framer-theme=\"light\"] .mdx-bg-auto .mdx-cta-btn:active, .mdx-bg-light .mdx-cta-btn:active { border-color: #000000 !important; background-color: rgba(0,0,0,0.08) !important; backdrop-filter: blur(8px); }\n\n    .framer-theme-dark .mdx-bg-auto .mdx-scroll-mask, body[data-framer-theme=\"dark\"] .mdx-bg-auto .mdx-scroll-mask, .mdx-bg-dark .mdx-scroll-mask { background: linear-gradient(to top, rgb(45, 47, 54) 0%, rgba(45, 47, 54, 0) 100%) !important; }\n    .framer-theme-light .mdx-bg-auto .mdx-scroll-mask, body[data-framer-theme=\"light\"] .mdx-bg-auto .mdx-scroll-mask, .mdx-bg-light .mdx-scroll-mask { background: linear-gradient(to top, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0) 100%) !important; }\n    .mdx-scroll-mask { background: linear-gradient(to top, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0) 100%); }\n\n    .framer-theme-dark .mdx-bg-auto.mdx-card-top, body[data-framer-theme=\"dark\"] .mdx-bg-auto.mdx-card-top, .mdx-bg-dark.mdx-card-top { border: 1px solid rgba(135,144,163,0.7) !important; }\n    .framer-theme-dark .mdx-bg-auto.mdx-card-back, body[data-framer-theme=\"dark\"] .mdx-bg-auto.mdx-card-back, .mdx-bg-dark.mdx-card-back { border: 1px solid rgba(255,255,255,0.12) !important; }\n    .framer-theme-light .mdx-bg-auto.mdx-card-top, body[data-framer-theme=\"light\"] .mdx-bg-auto.mdx-card-top, .mdx-bg-light.mdx-card-top { border: 1px solid rgba(111,117,131,0.6) !important; }\n    .framer-theme-light .mdx-bg-auto.mdx-card-back, body[data-framer-theme=\"light\"] .mdx-bg-auto.mdx-card-back, .mdx-bg-light.mdx-card-back { border: 1px solid rgba(0,0,0,0.3) !important; }\n\n    .mdx-markdown-link { color: inherit; text-decoration: underline; font-weight: 600; cursor: pointer; }\n    .no-scrollbar::-webkit-scrollbar { display: none; }\n    .no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }\n    .mdx-cta-link { \n        text-decoration: none !important; \n        display: block; \n        transition: background-color 0.2s ease, border-color 0.2s ease; \n        -webkit-tap-highlight-color: transparent;\n        outline: none;\n    }\n`;const parseMarkdown=text=>{if(!text)return{__html:\"\"};let html=text.replace(/&/g,\"&amp;\").replace(/</g,\"&lt;\").replace(/>/g,\"&gt;\").replace(/\\\\\\\\/g,\"&#92;\").replace(/\\\\\\*/g,\"&#42;\").replace(/\\\\\\[/g,\"&#91;\").replace(/\\\\\\]/g,\"&#93;\").replace(/\\\\\\(/g,\"&#40;\").replace(/\\\\\\)/g,\"&#41;\").replace(/\\*\\*(.*?)\\*\\*/g,\"<strong>$1</strong>\").replace(/\\*(.*?)\\*/g,\"<em>$1</em>\").replace(/\\[(.*?)\\]\\((.*?)\\)/g,'<a href=\"$2\" target=\"_blank\" class=\"mdx-markdown-link\">$1</a>').replace(/\\n/g,\"<br />\");return{__html:html};};/**\n * @framerDisableUnlink\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerIntrinsicWidth 520\n * @framerIntrinsicHeight 490\n */export default function MDX_StackCards(props){const{cards=[],visual={},typography={},hint=\"Swipe Any Direction\",theme=\"light\",customColors={},soloDesignMode=false,editIndex=1}=props;const{cardWidth=520,cardHeight=350,borderRadius=24,spreadDeck=true}=visual;const[rotation,setRotation]=React.useState(0);const[hasInteracted,setHasInteracted]=React.useState(false);const[exitDir,setExitDir]=React.useState({x:0,y:0});const themeClass=theme===\"auto\"?\"mdx-bg-auto\":theme===\"dark\"?\"mdx-bg-dark\":theme===\"custom\"?\"mdx-bg-custom\":\"mdx-bg-light\";const getShadow=(slotIndex,isTop)=>{const topOpacity=.18;const backOpacity=Math.max(.04,.08-slotIndex*.01);if(isTop)return`0px 10px 30px -5px rgba(0, 0, 0, ${topOpacity}), 0px 4px 10px -2px rgba(0, 0, 0, 0.08)`;return`0px ${1+slotIndex*3}px ${6+slotIndex*5}px -1px rgba(0, 0, 0, ${backOpacity})`;};if(!cards||cards.length===0)return null;if(soloDesignMode){const safeIndex=Math.max(0,Math.min(editIndex-1,cards.length-1));return /*#__PURE__*/_jsxs(\"div\",{style:{...containerStyle,height:cardHeight+80,flexDirection:\"column\"},children:[/*#__PURE__*/_jsx(\"style\",{children:themeStyles}),/*#__PURE__*/_jsxs(\"div\",{style:soloIndicatorStyle,children:[\"DESIGNER SOLO MODE: CARD \",editIndex,\" OF \",cards.length]}),/*#__PURE__*/_jsx(Card,{item:cards[safeIndex],slotIndex:0,isTop:true,onSwipe:()=>{},width:cardWidth,height:cardHeight,radius:borderRadius,hintText:\"\",hasInteracted:true,spreadDeck:spreadDeck,themeClass:themeClass,theme:theme,customColors:customColors,typography:typography,getShadow:getShadow,isSolo:true,custom:{x:0,y:0}})]});}const handleSwipe=dir=>{setExitDir(dir);setRotation(prev=>prev+1);setHasInteracted(true);};const visibleSlots=[];const MAX_VISUAL_SLOTS=4;for(let i=0;i<Math.min(cards.length,MAX_VISUAL_SLOTS);i++){const dataIndex=(rotation+i)%cards.length;visibleSlots.push({data:cards[dataIndex],slotIndex:i,uniqueKey:`card-${rotation+i}`});}return /*#__PURE__*/_jsxs(\"div\",{style:{...containerStyle,height:cardHeight+140,width:\"100%\",position:\"relative\"},children:[/*#__PURE__*/_jsx(\"style\",{children:themeStyles}),/*#__PURE__*/_jsx(\"div\",{style:{...stackWrapper,width:cardWidth,height:cardHeight},children:/*#__PURE__*/_jsx(\"div\",{style:innerWrapper,children:/*#__PURE__*/_jsx(AnimatePresence,{initial:false,custom:exitDir,mode:\"popLayout\",children:[...visibleSlots].reverse().map(slot=>/*#__PURE__*/_jsx(Card,{item:slot.data,slotIndex:slot.slotIndex,isTop:slot.slotIndex===0,onSwipe:handleSwipe,width:cardWidth,height:cardHeight,radius:borderRadius,hintText:hint,hasInteracted:hasInteracted,spreadDeck:spreadDeck,themeClass:themeClass,theme:theme,customColors:customColors,typography:typography,getShadow:getShadow,custom:exitDir},slot.uniqueKey))})})})]});}function Card({item,slotIndex,isTop,onSwipe,width,height,radius,hintText,hasInteracted,spreadDeck,themeClass,theme,customColors,typography,getShadow,isSolo=false,custom}){const x=useMotionValue(0);const y=useMotionValue(0);const rotateDrag=useTransform(x,[-width*.48,width*.48],[-15,15]);const dragControls=useDragControls();const scrollRef=React.useRef(null);const cardRef=React.useRef(null);const[showMask,setShowMask]=React.useState(false);const[maskOpacity,setMaskOpacity]=React.useState(1);const[renderedWidth,setRenderedWidth]=React.useState(width);const[ctaPressed,setCtaPressed]=React.useState(false);React.useEffect(()=>{const el=cardRef.current;if(!el||typeof ResizeObserver===\"undefined\")return;const ro=new ResizeObserver(entries=>{const w=entries[0]?.contentRect.width;if(w&&w>0)setRenderedWidth(w);});ro.observe(el);return()=>ro.disconnect();},[width]);const[isDarkTheme,setIsDarkTheme]=React.useState(theme===\"dark\"||theme===\"auto\"&&typeof document!==\"undefined\"&&document.body.getAttribute(\"data-framer-theme\")===\"dark\");React.useEffect(()=>{if(theme===\"custom\"){setIsDarkTheme(false);return;}if(theme!==\"auto\"){setIsDarkTheme(theme===\"dark\");return;}const update=()=>setIsDarkTheme(document.body.getAttribute(\"data-framer-theme\")===\"dark\");update();const observer=new MutationObserver(update);observer.observe(document.body,{attributes:true,attributeFilter:[\"data-framer-theme\"]});return()=>observer.disconnect();},[theme]);const handleScroll=()=>{const el=scrollRef.current;if(el){const scrollBottom=el.scrollHeight-el.clientHeight-el.scrollTop;const opacity=Math.min(1,scrollBottom/40);setMaskOpacity(opacity);}};const checkOverflow=()=>{const el=scrollRef.current;if(el){const hasOverflow=el.scrollHeight>el.clientHeight;setShowMask(hasOverflow);requestAnimationFrame(handleScroll);}};React.useEffect(()=>{checkOverflow();if(typeof window===\"undefined\")return;window.addEventListener(\"resize\",checkOverflow);return()=>window.removeEventListener(\"resize\",checkOverflow);},[item.description,width,height]);const isImageOnly=item.cardType===\"image-only\";const isTextOnly=item.cardType===\"text-only\";const layoutDir=item.layoutDirection||\"column\";const isHorizontal=layoutDir===\"row\"||layoutDir===\"row-reverse\";const titleFontSize=Math.max(14,Math.min(18,renderedWidth*.0346));const descFontSize=Math.max(12,Math.min(14,renderedWidth*.0269));const ctaFontSize=Math.max(11,Math.min(13,renderedWidth*.025));const displayImg=item.imageSource===\"upload\"?typeof item.imageUpload===\"object\"?item.imageUpload?.src:item.imageUpload:item.imageUrl;const hasImage=!isTextOnly&&displayImg&&displayImg.trim()!==\"\";const href=item.linkType===\"link\"&&item.ctaPageLink?typeof item.ctaPageLink===\"string\"?item.ctaPageLink:item.ctaPageLink.web||item.ctaPageLink.url:undefined;const linkTarget=item.openInNewTab?\"_blank\":\"_self\";const linkRel=item.openInNewTab?\"noopener noreferrer\":undefined;const isSectionCTA=item.showCTA&&item.linkType===\"section\"&&!!item.sectionId;const isActiveCTA=item.showCTA&&(!!href||isSectionCTA);const handleCTAClick=e=>{e.stopPropagation();if(isSectionCTA){document.getElementById(item.sectionId)?.scrollIntoView({behavior:\"smooth\"});}else if(href){if(item.openInNewTab){window.open(href,\"_blank\",\"noopener,noreferrer\");}else{window.location.href=href;}}};const handleCTAKeyDown=e=>{if(e.key===\"Enter\"||e.key===\" \"){e.preventDefault();handleCTAClick(e);}};const parsedDescription=React.useMemo(()=>parseMarkdown(item.description),[item.description]);const isCustomTheme=theme===\"custom\";const customBg=isCustomTheme&&customColors.background?customColors.background:undefined;const customTitleColor=isCustomTheme&&customColors.title?customColors.title:undefined;const customBodyColor=isCustomTheme&&customColors.body?customColors.body:undefined;const customCtaText=isCustomTheme&&customColors.ctaText?customColors.ctaText:undefined;const customCtaBorder=isCustomTheme&&customColors.ctaBorder?customColors.ctaBorder:undefined;const ctaWhileHover={backgroundColor:\"rgba(255,255,255,0.12)\",backdropFilter:\"blur(8px)\",borderColor:customCtaBorder||\"rgba(255,255,255,0.4)\"};const ctaWhileTap={scale:.97,backgroundColor:\"rgba(255,255,255,0.22)\",borderColor:customCtaBorder||\"rgba(255,255,255,0.7)\"};const ctaPressedStyle=ctaPressed?{backgroundColor:\"rgba(255,255,255,0.22)\",borderColor:customCtaBorder||\"rgba(255,255,255,0.7)\"}:{};const ctaPointerHandlers={onPointerDown:e=>{e.stopPropagation();setCtaPressed(true);},onPointerUp:()=>setCtaPressed(false),onPointerLeave:()=>setCtaPressed(false),onPointerCancel:()=>setCtaPressed(false)};let scaleFactor=1;let visualRotate=0;let shiftY=0;let shiftX=0;if(isTop){scaleFactor=1;visualRotate=0;shiftX=0;shiftY=0;}else if(spreadDeck){scaleFactor=1-slotIndex*.01;visualRotate=slotIndex===1?3:slotIndex===2?5.5:8;shiftX=slotIndex===1?-(width*.01):slotIndex===2?width*.006:width*.021;shiftY=1;}else{scaleFactor=1-slotIndex*.0266;visualRotate=0;shiftX=0;const baseStep=height*.0125+width*.014+1.2;shiftY=-(slotIndex*baseStep-(slotIndex>0?baseStep*.06:0));}const cardVariants={initial:{scale:1,opacity:0,y:isTop?0:20},animate:{scale:scaleFactor,y:shiftY,x:shiftX,rotate:visualRotate,opacity:1,zIndex:100-slotIndex,transition:{type:\"spring\",stiffness:260,damping:28}},exit:isTop?info=>({x:info.x*700,y:info.y*900,opacity:0,rotate:info.x*35,zIndex:1e3,transition:{duration:.42,ease:\"easeIn\"}}):{opacity:0,scale:.95,transition:{duration:.2,ease:\"easeIn\"}}};return /*#__PURE__*/_jsxs(motion.div,{ref:cardRef,custom:custom,variants:cardVariants,initial:isSolo?false:\"initial\",animate:\"animate\",exit:\"exit\",whileDrag:isTop&&!isSolo?{scale:1.02,zIndex:110,cursor:\"grabbing\"}:undefined,drag:isTop&&!isSolo?true:false,dragControls:dragControls,dragListener:false,dragConstraints:{left:0,right:0,top:0,bottom:0},onPointerDown:isTop&&!isSolo?e=>dragControls.start(e):e=>{e.stopPropagation();e.preventDefault();},style:{...cardBase,width,height,borderRadius:radius,boxShadow:getShadow(slotIndex,isTop),border:(()=>{const backOpacity=slotIndex===1?.8:slotIndex===2?.7:.6;if(customBg){const base=customCtaBorder||\"#6F7583\";if(isTop)return`1px solid ${base}`;if(base.startsWith(\"#\")){const hex=base.length===4?\"#\"+base[1]+base[1]+base[2]+base[2]+base[3]+base[3]:base.slice(0,7);return`1px solid ${hex}${Math.round(backOpacity*255).toString(16).padStart(2,\"0\")}`;}if(base.startsWith(\"rgba\")){return`1px solid ${base.replace(/,\\s*[\\d.]+\\s*\\)/,`, ${backOpacity})`)}`;}if(base.startsWith(\"rgb(\")){return`1px solid ${base.replace(\"rgb(\",\"rgba(\").replace(\")\",`, ${backOpacity})`)}`;}return`1px solid ${base}`;}return isTop?\"1px solid rgba(111,117,131,0.6)\":`1px solid rgba(0,0,0,${backOpacity*.5})`;})(),position:isSolo?\"relative\":\"absolute\",touchAction:\"none\",pointerEvents:isTop?\"auto\":\"none\",cursor:isTop?\"grab\":\"default\",...customBg?{backgroundColor:customBg}:{},x,y,rotate:isTop?rotateDrag:visualRotate,transformOrigin:\"center center\"},onDragEnd:(_,info)=>{if(!isTop||isSolo)return;const threshold=Math.min(120,width*.25);if(Math.abs(info.offset.x)>threshold||Math.abs(info.offset.y)>threshold){const dirX=Math.abs(info.offset.x)>Math.abs(info.offset.y)?info.offset.x>0?1:-1:0;const dirY=Math.abs(info.offset.y)>=Math.abs(info.offset.x)?info.offset.y>0?1:-1:0;onSwipe({x:dirX,y:dirY});}},className:`${themeClass} ${isTop?\"mdx-card-top\":\"mdx-card-back\"}`,children:[!isSolo&&isTop&&!hasInteracted&&!!hintText&&/*#__PURE__*/_jsx(motion.div,{initial:{opacity:0},animate:{opacity:1},style:{...hintStyle,...customBg?{background:\"rgba(255,255,255,0.12)\",backdropFilter:\"blur(12px)\",WebkitBackdropFilter:\"blur(12px)\",border:`1px solid ${customCtaBorder||\"rgba(255,255,255,0.25)\"}`,color:customTitleColor||\"#ffffff\"}:{}},children:hintText}),/*#__PURE__*/_jsxs(\"div\",{style:{...contentLayout,padding:isImageOnly?\"0px\":\"32px\"},children:[item.cardType!==\"image-only\"&&item.title&&/*#__PURE__*/_jsx(\"h3\",{className:\"mdx-title\",style:{...titleStyle,fontSize:`${titleFontSize}px`,fontWeight:700,...customTitleColor?{color:customTitleColor}:{},...typography.titleFont||{}},children:item.title}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:isHorizontal?layoutDir:layoutDir===\"column\"?\"column\":\"column-reverse\",flexGrow:1,width:\"100%\",overflow:\"hidden\",gap:isHorizontal?\"24px\":\"16px\",marginTop:!isImageOnly?\"20px\":\"0\"},children:[hasImage&&/*#__PURE__*/_jsxs(\"div\",{style:{...imageZone,flex:isImageOnly?\"1 1 100%\":\"1 1 45%\",borderRadius:isImageOnly?\"0px\":\"16px\",background:\"transparent\"},children:[/*#__PURE__*/_jsx(\"img\",{src:displayImg,srcSet:typeof item.imageUpload===\"object\"?item.imageUpload?.srcSet:undefined,alt:item.title||\"\",style:{width:\"100%\",height:\"100%\",objectFit:item.fitMode||\"cover\",objectPosition:item.position||\"center\",transform:`scale(${item.imageZoom||1})`},draggable:\"false\"}),isImageOnly&&(item.title||item.showCTA)&&/*#__PURE__*/_jsx(motion.div,{role:isActiveCTA?\"link\":undefined,tabIndex:isActiveCTA?0:undefined,onClick:isActiveCTA?handleCTAClick:undefined,onKeyDown:isActiveCTA?handleCTAKeyDown:undefined,className:\"mdx-cta-link\",style:{...glassOverlayFixedCompact,cursor:isActiveCTA?\"pointer\":\"default\"},whileHover:isActiveCTA?{backgroundColor:\"rgba(0, 0, 0, 0.45)\"}:{},whileTap:isActiveCTA?{backgroundColor:\"rgba(0, 0, 0, 0.6)\",scale:.99}:{},children:/*#__PURE__*/_jsxs(\"div\",{style:{...titleStyle,fontSize:`${titleFontSize}px`,color:\"#fff\",display:\"flex\",justifyContent:\"space-between\",alignItems:\"center\",width:\"100%\"},children:[/*#__PURE__*/_jsx(\"span\",{children:item.title}),isActiveCTA&&/*#__PURE__*/_jsx(\"span\",{style:{opacity:.9},children:\"↗\"})]})})]}),!isImageOnly&&/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",flex:hasImage?\"1 1 55%\":\"1 1 100%\",overflow:\"hidden\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:descriptionContainer,children:[/*#__PURE__*/_jsx(\"div\",{ref:scrollRef,onScroll:handleScroll,className:\"no-scrollbar\",style:scrollArea,children:/*#__PURE__*/_jsx(\"p\",{className:\"mdx-desc\",style:{...descStyle,fontSize:`${descFontSize}px`,...customBodyColor?{color:customBodyColor}:{},...typography.bodyFont||{}},dangerouslySetInnerHTML:parsedDescription})}),showMask&&/*#__PURE__*/_jsx(\"div\",{className:\"mdx-scroll-mask\",style:{position:\"absolute\",bottom:0,left:0,right:0,height:\"50px\",pointerEvents:\"none\",zIndex:2,opacity:maskOpacity,transition:\"opacity 0.2s ease\",...customBg?{background:`linear-gradient(to top, ${customBg} 0%, transparent 100%)`}:{}}})]}),item.showCTA&&(href?/*#__PURE__*/_jsx(motion.a,{href:href,target:linkTarget,rel:linkRel,className:\"mdx-cta-link mdx-cta-btn\",whileHover:ctaWhileHover,whileTap:ctaWhileTap,...ctaPointerHandlers,style:{...ctaButtonStyle,fontSize:`${ctaFontSize}px`,...customCtaText?{color:customCtaText}:{},...customCtaBorder?{borderColor:customCtaBorder}:{},...ctaPressedStyle,...typography.ctaFont||{}},children:item.ctaText}):isSectionCTA?/*#__PURE__*/_jsx(motion.div,{role:\"button\",tabIndex:0,onClick:handleCTAClick,onKeyDown:handleCTAKeyDown,className:\"mdx-cta-link mdx-cta-btn\",whileHover:ctaWhileHover,whileTap:ctaWhileTap,...ctaPointerHandlers,style:{...ctaButtonStyle,fontSize:`${ctaFontSize}px`,cursor:\"pointer\",...customCtaText?{color:customCtaText}:{},...customCtaBorder?{borderColor:customCtaBorder}:{},...ctaPressedStyle,...typography.ctaFont||{}},children:item.ctaText}):/*#__PURE__*/_jsx(motion.div,{className:\"mdx-cta-link mdx-cta-btn\",style:{...ctaButtonStyle,fontSize:`${ctaFontSize}px`,opacity:.5,cursor:\"default\",...customCtaText?{color:customCtaText}:{},...customCtaBorder?{borderColor:customCtaBorder}:{},...typography.ctaFont||{}},children:item.ctaText}))]})]})]})]});}// --- CONSTANTS & STYLES ---\nconst soloIndicatorStyle={background:\"#ff4757\",color:\"white\",padding:\"6px 14px\",borderRadius:\"100px\",fontSize:\"10px\",fontWeight:\"bold\",marginBottom:\"20px\",boxShadow:\"0 4px 12px rgba(255, 71, 87, 0.3)\",letterSpacing:\"0.5px\"};const cardBase={overflow:\"hidden\",backfaceVisibility:\"hidden\",willChange:\"transform\",userSelect:\"none\",WebkitUserSelect:\"none\",maxWidth:\"100%\"};const contentLayout={height:\"100%\",display:\"flex\",flexDirection:\"column\",width:\"100%\"};const titleStyle={margin:0,fontSize:\"18px\",fontWeight:700,lineHeight:1.2};const descriptionContainer={position:\"relative\",overflow:\"hidden\",display:\"flex\",flexDirection:\"column\",flexGrow:1};const scrollArea={overflowY:\"auto\",paddingBottom:\"20px\"};const descStyle={margin:0,fontSize:\"14px\",lineHeight:1.7};const ctaButtonStyle={marginTop:\"12px\",padding:\"14px 20px\",borderRadius:\"14px\",fontSize:\"14px\",fontWeight:\"700\",textAlign:\"center\",border:\"1px solid\",color:\"#000000\",borderColor:\"#dddddd\"};const imageZone={position:\"relative\",overflow:\"hidden\",display:\"flex\"};const glassOverlayFixedCompact={position:\"absolute\",bottom:0,left:0,right:0,padding:\"12px 15px\",background:\"rgba(0, 0, 0, 0.35)\",backdropFilter:\"blur(14px)\",WebkitBackdropFilter:\"blur(14px)\",borderTop:\"1px solid rgba(255,255,255,0.12)\",zIndex:10};const containerStyle={width:\"100%\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\",boxSizing:\"border-box\"};const stackWrapper={position:\"relative\",maxWidth:\"100%\"};const innerWrapper={position:\"relative\",zIndex:10,width:\"100%\",height:\"100%\"};const hintStyle={position:\"absolute\",top:\"5px\",right:\"5px\",padding:\"6px 14px\",background:\"rgba(0,0,0,0.85)\",borderRadius:\"20px\",fontSize:\"11px\",color:\"#fff\",zIndex:110};addPropertyControls(MDX_StackCards,{// ─── DESIGNER TOOLS ──────────────────────────────────────────────────────\nsoloDesignMode:{type:ControlType.Boolean,title:\"Solo Mode\",enabledTitle:\"On\",disabledTitle:\"Off\",description:\"Isolate a single card for editing without swiping through the stack.\",defaultValue:false},editIndex:{type:ControlType.Number,title:\"Preview Card #\",min:1,max:100,defaultValue:1,displayStepper:true,description:\"Which card to preview in Solo Mode.\",hidden:p=>!p.soloDesignMode},// ─── DECK ────────────────────────────────────────────────────────────────\ncards:{type:ControlType.Array,title:\"Cards\",defaultValue:[{// ── Card 1 · Welcome ─────────────────────────────────────────\ntitle:\"Welcome to MDX Stack Cards\",cardType:\"hybrid\",imageSource:\"url\",imageUrl:\"https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?auto=format&fit=crop&q=80&w=1200\",fitMode:\"cover\",position:\"center\",layoutDirection:\"column\",description:\"A premium swipeable card stack for Framer — built for engaging content, product showcases, onboarding flows, and more.\\n\\n*Swipe this card in any direction to explore every feature.*\"},{// ── Card 2 · Swipe Interaction ────────────────────────────────\ntitle:\"Swipe Any Direction\",cardType:\"text-only\",description:\"Every card can be dismissed with a natural drag gesture — in **any of 4 directions**.\\n\\n→ Swipe right\\n← Swipe left\\n↑ Swipe up\\n↓ Swipe down\\n\\nAll directions do the same thing: send the top card to the back of the deck and reveal the next one. The stack loops endlessly, so no card is ever lost.\"},{// ── Card 3 · Card Types ───────────────────────────────────────\ntitle:\"Three Card Types\",cardType:\"hybrid\",imageSource:\"url\",imageUrl:\"https://images.unsplash.com/photo-1558655146-d09347e92766?auto=format&fit=crop&q=80&w=1200\",fitMode:\"cover\",position:\"center\",layoutDirection:\"row\",description:\"Choose the layout that fits your content:\\n\\n**Hybrid** — Image + title + body text. Perfect for rich editorial cards.\\n\\n**Text Only** — Pure content, no image. Great for quotes, tips, or steps.\\n\\n**Image Only** — Full-bleed visual with an optional glass overlay title and CTA.\"},{// ── Card 4 · Rich Text & Markdown ─────────────────────────────\ntitle:\"Rich Text Formatting\",cardType:\"text-only\",description:\"**bold text** — written as \\\\*\\\\*bold text\\\\*\\\\*\\n*italic text* — written as \\\\*italic text\\\\*\\n[Visit MODAX](https://modax.framer.website) — written as \\\\[Visit MODAX\\\\](url)\\n\\nUse \\\\n between lines to create spacing and lists.\\nUse \\\\\\\\*, \\\\\\\\[, \\\\\\\\], \\\\\\\\(, \\\\\\\\) to show literal chars without triggering formatting.\"},{// ── Card 5 · Design Controls ──────────────────────────────────\ntitle:\"Design Controls\",cardType:\"text-only\",description:\"Every visual aspect of the stack is configurable from the properties panel.\\n\\n**Theme** — Choose Light, Dark, or Auto to follow your site theme.\\n**Custom Theme** — Set your own Card Background, Title, Body, CTA Text and Border colours to match your brand.\\n**Typography** — Pick any font for Title, Body, and CTA independently using Framer's native font picker.\"},{// ── Card 6 · Image Controls ───────────────────────────────────\ntitle:\"Full Image Control\",cardType:\"hybrid\",imageSource:\"url\",imageUrl:\"https://images.unsplash.com/photo-1506905925346-21bda4d32df4?auto=format&fit=crop&q=80&w=1200\",fitMode:\"cover\",position:\"center\",imageZoom:1.1,layoutDirection:\"column\",description:\"Every image is fully controllable from the properties panel:\\n\\n**Fit** — Cover fills the frame. Contain shows the full image.\\n**Position** — 9 focal points to keep the subject in frame.\\n**Zoom** — Scale from 0.5\\xd7 to 3\\xd7 for the perfect crop.\\n**Layout** — Place the image above, below, left, or right of the text.\"},{// ── Card 7 · Solo Design Mode ─────────────────────────────────\ntitle:\"Solo Design Mode\",cardType:\"text-only\",description:\"Designing a specific card without swiping through the whole stack is painful — so we built **Solo Mode**.\\n\\nEnable it from the top of the properties panel. Then use **Preview Card #** to jump directly to any card by number.\\n\\nThe canvas shows that card in isolation with a red *Designer Solo Mode* badge — so you always know it's active.\\n\\n*Disable Solo Mode before publishing to restore the live stack.*\"},{// ── Card 8 · Explore MODAX ────────────────────────────────────\ntitle:\"Part of the MODAX Library\",cardType:\"hybrid\",imageSource:\"url\",imageUrl:\"https://images.unsplash.com/photo-1550745165-9bc0b252726f?auto=format&fit=crop&q=80&w=1200\",fitMode:\"cover\",position:\"center\",layoutDirection:\"column\",showCTA:true,ctaText:\"Explore MODAX Components →\",linkType:\"link\",ctaPageLink:\"https://modax.framer.website\",openInNewTab:true,description:\"MDX Stack Cards is one component in the **MODAX Premium UI** library — a growing collection of production-ready Framer components built with the same attention to craft, performance, and design quality.\\n\\n*Replace these default cards with your own content to get started.*\"}],control:{type:ControlType.Object,controls:{// — Content —\ntitle:{type:ControlType.String,title:\"Title\",placeholder:\"Card title\"},description:{type:ControlType.String,title:\"Body Text\",placeholder:\"Supports **bold**, *italic*, [links](url), \\\\n for new lines. Use \\\\* or \\\\[ to show literal chars\",displayTextArea:true,hidden:p=>p.cardType===\"image-only\"},// — Card Type —\ncardType:{type:ControlType.Enum,title:\"Card Type\",options:[\"hybrid\",\"text-only\",\"image-only\"],optionTitles:[\"Hybrid\",\"Text Only\",\"Image Only\"],defaultValue:\"hybrid\"},// — Image —\nimageSource:{type:ControlType.Enum,title:\"Image Source\",options:[\"upload\",\"url\"],optionTitles:[\"Upload\",\"URL\"],defaultValue:\"upload\",hidden:p=>p.cardType===\"text-only\"},imageUpload:{type:ControlType.ResponsiveImage,title:\"Image\",hidden:p=>p.cardType===\"text-only\"||p.imageSource!==\"upload\"},imageUrl:{type:ControlType.String,title:\"Image URL\",placeholder:\"https://...\",hidden:p=>p.cardType===\"text-only\"||p.imageSource!==\"url\"},fitMode:{type:ControlType.Enum,title:\"Image Fit\",options:[\"cover\",\"contain\"],optionTitles:[\"Cover\",\"Contain\"],defaultValue:\"cover\",hidden:p=>p.cardType===\"text-only\"},position:{type:ControlType.Enum,title:\"Image Position\",options:[\"center\",\"top\",\"left\",\"right\",\"bottom\",\"left top\",\"right top\",\"left bottom\",\"right bottom\"],optionTitles:[\"Center\",\"Top Center\",\"Left\",\"Right\",\"Bottom Center\",\"Top Left\",\"Top Right\",\"Bottom Left\",\"Bottom Right\"],defaultValue:\"center\",hidden:p=>p.cardType===\"text-only\"},imageZoom:{type:ControlType.Number,title:\"Image Zoom\",min:.5,max:3,step:.05,defaultValue:1,hidden:p=>p.cardType===\"text-only\"},layoutDirection:{type:ControlType.Enum,title:\"Layout Direction\",options:[\"column\",\"column-reverse\",\"row\",\"row-reverse\"],optionTitles:[\"Image Top\",\"Image Bottom\",\"Image Left\",\"Image Right\"],defaultValue:\"column\",hidden:p=>p.cardType===\"image-only\"||p.cardType===\"text-only\"},// — CTA —\nshowCTA:{type:ControlType.Boolean,title:\"Enable CTA\",enabledTitle:\"Show\",disabledTitle:\"Hide\",defaultValue:false},ctaText:{type:ControlType.String,title:\"Button Label\",placeholder:\"Learn More\",defaultValue:\"Learn More\",hidden:p=>!p.showCTA||p.cardType===\"image-only\"},linkType:{type:ControlType.Enum,title:\"Link Type\",options:[\"link\",\"section\"],optionTitles:[\"URL\",\"Page Section\"],defaultValue:\"link\",hidden:p=>!p.showCTA},ctaPageLink:{type:ControlType.Link,title:\"Destination URL\",hidden:p=>!p.showCTA||p.linkType!==\"link\"},openInNewTab:{type:ControlType.Boolean,title:\"Open in New Tab\",enabledTitle:\"Yes\",disabledTitle:\"No\",defaultValue:true,hidden:p=>!p.showCTA||p.linkType!==\"link\"},sectionId:{type:ControlType.String,title:\"Section ID\",placeholder:\"e.g. about, pricing\",hidden:p=>!p.showCTA||p.linkType!==\"section\"}}}},// ─── TYPOGRAPHY ──────────────────────────────────────────────────────────\ntypography:{type:ControlType.Object,title:\"Typography\",description:\"Customise fonts to match your site's type system.\",controls:{titleFont:{type:ControlType.Font,title:\"Title Font\",controls:\"extended\"},bodyFont:{type:ControlType.Font,title:\"Body Font\",controls:\"extended\"},ctaFont:{type:ControlType.Font,title:\"CTA Font\",controls:\"extended\"}}},// ─── APPEARANCE ──────────────────────────────────────────────────────────\ntheme:{type:ControlType.Enum,title:\"Theme\",options:[\"light\",\"dark\",\"auto\",\"custom\"],optionTitles:[\"Light\",\"Dark\",\"Auto\",\"Custom\"],defaultValue:\"light\",description:\"Auto follows the site theme. Custom lets you set your own brand colours.\"},customColors:{type:ControlType.Object,title:\"Custom Colors\",description:\"Applied when Theme is set to Custom.\",hidden:p=>p.theme!==\"custom\",controls:{background:{type:ControlType.Color,title:\"Card Background\",defaultValue:\"#FFFFFF\"},title:{type:ControlType.Color,title:\"Title Text\",defaultValue:\"#0A0A0A\"},body:{type:ControlType.Color,title:\"Body Text\",defaultValue:\"#555555\"},ctaText:{type:ControlType.Color,title:\"CTA Text\",defaultValue:\"#0A0A0A\"},ctaBorder:{type:ControlType.Color,title:\"CTA Border\",defaultValue:\"#DDDDDD\"}}},visual:{type:ControlType.Object,title:\"Visual DNA\",controls:{cardWidth:{type:ControlType.Number,title:\"Width\",defaultValue:520,min:200,max:2500,step:10,displayStepper:true,unit:\"px\"},cardHeight:{type:ControlType.Number,title:\"Height\",defaultValue:350,min:200,max:2500,step:10,displayStepper:true,unit:\"px\"},borderRadius:{type:ControlType.Number,title:\"Corner Radius\",defaultValue:24,min:0,max:100,step:1,displayStepper:true,unit:\"px\"},spreadDeck:{type:ControlType.Boolean,title:\"Spread Deck\",enabledTitle:\"Fan\",disabledTitle:\"Stack\",defaultValue:true,description:\"Fan spreads cards at angles. Stack layers them flat.\"}}},// ─── INTERACTION ─────────────────────────────────────────────────────────\nhint:{type:ControlType.String,title:\"Swipe Hint Text\",defaultValue:\"Swipe Any Direction\",placeholder:\"Swipe Any Direction\",description:\"Shown once before the first swipe. Leave empty to disable.\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"MDX_StackCards\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"490\",\"framerDisableUnlink\":\"* @framerSupportedLayoutWidth any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"520\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./MDX_StackCards_V1.map"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4QG,SAAwB,EAAe,EAAM,CAAC,GAAK,CAAC,QAAM,CAAC,EAAE,SAAO,CAAC,EAAE,aA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