{"version":3,"file":"Examples_2.COtyKGlW.mjs","names":["useState","useId","useRef","useState","useCallback","useMemo","_Fragment","__esmMin","window","pe","te","init_ssg_sandbox_shims","init_npm_react_18_3_1","_e","init_npm_react_dom_18_3_1","de","Ha","ne","p","c","init_jsx_runtime","ie","ce","useInView","useReducedMotion","init_framer_motion_DhsWWWsN","init_framer_BWFVvmND","useObserveData","Data","useIsStaticRenderer","createStore","dataStore","state1","setDataStore","newState","storeState","storeSetters","setStoreState","setter","useStore","state","setState","init_createStore","init_store_js__1_0","centerContent","init_Utils","init_utils_js__0_9","GradientPulse","isStaticRenderer","prefersReducedMotion","shouldAnimate","gradientSource","props","nextStyle","Component","hashStringToSeed","hash","i","input","seededRange","mixed","seed","channel","min","max","withScatteredNote","id","localRef","closeButtonRef","dialogRef","previouslyFocusedRef","isInView","isHovered","setIsHovered","isFocused","setIsFocused","isTapped","setIsTapped","isReaderOpen","setIsReaderOpen","measuredSize","setMeasuredSize","readerViewportWidth","setReaderViewportWidth","readerMessage","setReaderMessage","readerAuthor","setReaderAuthor","readerBackgroundColor","setReaderBackgroundColor","setRefs","node","forwardedRef","updateSize","nextWidth","nextHeight","previous","observer","isTransparentColor","value","normalized","rgbaMatch","alpha","readTextContent","resolveMessageAndAuthorNodes","messageByName","root","authorByName","richTextNodes","name","element","signatureLike","messageFallback","authorFallback","extractReaderContent","message","messageNode","author","authorNode","computedRoot","resolvedBackground","descendants","descendant","computed","inlineBackground","applyDynamicMessageClamp","getOffsetTopWithinRoot","top","current","container","rootStyle","rootPaddingBottom","messageTopInRoot","authorHeight","availableHeight","typographySource","messageStyle","sourceStyle","containerFontSize","containerLineHeight","sourceFontSize","sourceLineHeight","fontSize","lineHeight","maxLines","clampTargets","list","index","target","frame","scheduleClamp","onResize","fontSet","isSmallCard","scattered","shouldLift","existingTransform","scatterTransform","xShift","yShift","rotate","scale","paperTextureDark","paperTextureLight","existingBackgroundImage","paperShadeGradient","composedBackgroundImage","composedBackgroundSize","composedBackgroundRepeat","composedBackgroundPosition","composedBackgroundBlendMode","mergedStyle","onHoverStart","args","onHoverEnd","onTapStart","openReader","extracted","closeReader","onTapEnd","onTapCancel","onClick","onKeyDown","event","onFocusCapture","onBlurCapture","onEscape","previousOverflow","updateViewportWidth","readerPadding","onDialogKeyDown","dialogNode","focusable","first","last","active","readerOverlay","init_Examples_2"],"sources":["https:/framerusercontent.com/modules/vj7bFUjvEQFgEzNBkdoG/vf3CKm378wlVcBk7IhSU/createStore.js","https:/framer.com/m/framer/store.js@^1.0.0","https:/framerusercontent.com/modules/28rXvpPsrum7FH6cMELS/1jCAazZw1EGHjrG5Nu5D/Utils.js","https:/framer.com/m/framer/utils.js@^0.9.0","https:/framerusercontent.com/modules/icCAvg2Pjn4bRgtQrIc0/HKLzjYVfvWf6OEAV18tj/Examples_2.js"],"sourcesContent":["import{useState,useEffect}from\"react\";import{Data,useObserveData}from\"framer\";export function createStore(state1){// Use Data so that a Preview reload resets the state\nconst dataStore=Data({state:Object.freeze({...state1})});// Create a set function that updates the state\nconst setDataStore=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(dataStore.state);}dataStore.state=Object.freeze({...dataStore.state,...newState});};// Store the initial state, copy the object if it's an object\nlet storeState=typeof state1===\"object\"?Object.freeze({...state1}):state1;// Keep a list of all the listeners, in the form of React hook setters\nconst storeSetters=new Set();// Create a set function that updates all the listeners / setters\nconst setStoreState=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(storeState);}storeState=typeof newState===\"object\"?Object.freeze({...storeState,...newState}):newState;// Update all the listeners / setters with the new value\nstoreSetters.forEach(setter=>setter(storeState));};// Create the actual hook based on everything above\nfunction useStore(){// Create the hook we are going to use as a listener\nconst[state,setState]=useState(storeState);// If we unmount the component using this hook, we need to remove the listener\n// @ts-ignore\nuseEffect(()=>{// But right now, we need to add the listener\nstoreSetters.add(setState);return()=>storeSetters.delete(setState);},[]);// If Data context exists, use Data, otherwise use vanilla React state\nif(useObserveData()===true){useObserveData();return[dataStore.state,setDataStore];}else{// Return the state and a function to update the central store\nreturn[state,setStoreState];}}return useStore;}\nexport const __FramerMetadata__ = {\"exports\":{\"createStore\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./createStore.map","/*\n * createStore (framer/store@1.0.1)\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/vj7bFUjvEQFgEzNBkdoG/vf3CKm378wlVcBk7IhSU/createStore.js\"\n","export const centerContent = {\n    display: \"flex\",\n    justifyContent: \"center\",\n    alignItems: \"center\"\n};\nexport const autoSizingText = {\n    width: \"max-content\",\n    wordBreak: \"break-word\",\n    overflowWrap: \"break-word\",\n    overflow: \"hidden\",\n    whiteSpace: \"pre-wrap\",\n    flexShrink: 0\n};\nexport const defaultContainerStyles = {\n    ...centerContent,\n    overflow: \"hidden\"\n};\nexport const containerStyles = defaultContainerStyles;\nexport const randomColor = ()=>\"#\" + Math.floor(Math.random() * 16777215).toString(16)\n;\n\nexport const __FramerMetadata__ = {\"exports\":{\"centerContent\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"containerStyles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"autoSizingText\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"defaultContainerStyles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"randomColor\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./Utils.map","/*\n * Utils (framer/utils@0.9.0)\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/28rXvpPsrum7FH6cMELS/1jCAazZw1EGHjrG5Nu5D/Utils.js\"\n","import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{forwardRef,startTransition,useCallback,useEffect,useId,useMemo,useRef,useState}from\"react\";import{createPortal}from\"react-dom\";import{useIsStaticRenderer}from\"framer\";import{useInView,useReducedMotion}from\"framer-motion\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";import{randomColor}from\"https://framer.com/m/framer/utils.js@^0.9.0\";// Learn more: https://www.framer.com/developers/overrides/\nconst useStore=createStore({background:\"#0099FF\"});export function withRotate(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,animate:{rotate:90},transition:{duration:2}});});}export function withHover(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,whileHover:{scale:1.05}});});}export function withRandomColor(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{ref:ref,...props,animate:{background:store.background},onClick:()=>{setStore({background:randomColor()});}});});}export function GradientPulse(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const isStaticRenderer=useIsStaticRenderer();const prefersReducedMotion=useReducedMotion();const shouldAnimate=!isStaticRenderer&&!prefersReducedMotion;const fallbackGradient=\"linear-gradient(90deg, rgb(249, 202, 61) 10%, rgb(213, 61, 120) 52.2639%, rgb(208, 67, 253) 100%)\";const gradientSource=props?.style?.backgroundImage??props?.style?.background??props?.textColor??fallbackGradient;const nextStyle={...props.style,backgroundImage:gradientSource,backgroundClip:\"text\",WebkitBackgroundClip:\"text\",color:\"transparent\",WebkitTextFillColor:\"transparent\",backgroundRepeat:\"repeat\",backgroundSize:props.style?.backgroundSize??\"220% 100%\",backgroundPosition:props.style?.backgroundPosition??\"0% 50%\",willChange:shouldAnimate?\"background-position\":props.style?.willChange};return /*#__PURE__*/_jsx(Component,{ref:ref,...props,style:nextStyle,animate:shouldAnimate?{...props.animate,backgroundPositionX:[\"0%\",\"100%\"]}:props.animate,transition:shouldAnimate?{...typeof props.transition===\"object\"?props.transition:{},duration:3.2,ease:\"easeInOut\",repeat:Infinity,repeatType:\"reverse\"}:props.transition});});}const ACCORDION_EVENT_NAME=\"framer-exclusive-accordion-toggle\";const parentGroupIds=new WeakMap;let groupIdCount=0;let instanceIdCount=0;function getVariantFamily(variant){return variant.includes(\"Phone\")?\"Phone\":\"Desktop\";}function normalizeVariant(variant){const family=getVariantFamily(variant);const isOpen=variant.endsWith(\" Open\");return isOpen?`${family} Open`:family;}function getOpenVariant(variant){return`${getVariantFamily(variant)} Open`;}function getClosedVariant(variant){return getVariantFamily(variant);}export function withExclusiveAccordion(Component){return /*#__PURE__*/forwardRef((props,forwardedRef)=>{const variantPropKey=props.variant!==undefined?\"variant\":props.$control__variant!==undefined?\"$control__variant\":null;const incomingVariantProp=variantPropKey!==null?props[variantPropKey]:undefined;const normalizedIncomingVariant=typeof incomingVariantProp===\"string\"?normalizeVariant(incomingVariantProp):null;const localRef=useRef(null);const groupIdRef=useRef(\"\");const sourceIdRef=useRef(`accordion-${++instanceIdCount}`);const lastIncomingVariantRef=useRef(normalizedIncomingVariant);const[currentVariant,setCurrentVariant]=useState(()=>normalizedIncomingVariant);useEffect(()=>{const next=typeof incomingVariantProp===\"string\"?normalizeVariant(incomingVariantProp):null;if(next!==lastIncomingVariantRef.current){lastIncomingVariantRef.current=next;startTransition(()=>setCurrentVariant(next));}},[incomingVariantProp]);const setRefs=useCallback(node=>{localRef.current=node;if(typeof forwardedRef===\"function\"){forwardedRef(node);}else if(forwardedRef&&\"current\"in forwardedRef){forwardedRef.current=node;}},[forwardedRef]);useEffect(()=>{if(typeof window===\"undefined\")return;const node=localRef.current;const parent=node?.parentElement;if(!parent)return;let groupId=parentGroupIds.get(parent);if(!groupId){groupIdCount+=1;groupId=`accordion-group-${groupIdCount}`;parentGroupIds.set(parent,groupId);}groupIdRef.current=groupId;},[]);useEffect(()=>{if(typeof window===\"undefined\")return;const onToggle=event=>{const customEvent=event;const detail=customEvent.detail;if(!detail||detail.groupId!==groupIdRef.current)return;if(detail.sourceId===sourceIdRef.current)return;if(!detail.nextOpen)return;startTransition(()=>setCurrentVariant(previous=>getClosedVariant(previous)));};window.addEventListener(ACCORDION_EVENT_NAME,onToggle);return()=>{window.removeEventListener(ACCORDION_EVENT_NAME,onToggle);};},[]);const onClickCapture=useCallback(event=>{if(!groupIdRef.current)return;if(!currentVariant){props.onClickCapture?.(event);return;}const isOpen=currentVariant.endsWith(\" Open\");const nextOpen=!isOpen;const nextVariant=nextOpen?getOpenVariant(currentVariant):getClosedVariant(currentVariant);event.stopPropagation();startTransition(()=>setCurrentVariant(nextVariant));if(typeof window!==\"undefined\"){window.dispatchEvent(new CustomEvent(ACCORDION_EVENT_NAME,{detail:{groupId:groupIdRef.current,sourceId:sourceIdRef.current,nextOpen}}));}props.onClickCapture?.(event);},[currentVariant,props]);const mergedStyle=useMemo(()=>({...props.style}),[props.style]);return /*#__PURE__*/_jsx(Component,{ref:setRefs,...props,style:mergedStyle,...variantPropKey===\"variant\"&&currentVariant?{variant:currentVariant}:{},...variantPropKey===\"$control__variant\"&&currentVariant?{$control__variant:currentVariant}:{},onClickCapture:onClickCapture});});}function hashStringToSeed(input){let hash=2166136261;for(let i=0;i<input.length;i++){hash^=input.charCodeAt(i);hash=Math.imul(hash,16777619);}return hash>>>0;}function seededRange(seed,channel,min,max){let mixed=(seed^Math.imul(channel+1,2654435761))>>>0;mixed^=mixed>>>16;mixed=Math.imul(mixed,2146121005)>>>0;mixed^=mixed>>>15;mixed=Math.imul(mixed,2221713035)>>>0;mixed^=mixed>>>16;const normalized=(mixed>>>0)/4294967295;return min+normalized*(max-min);}export function withScatteredNote(Component){return /*#__PURE__*/forwardRef((props,forwardedRef)=>{const id=useId();const isStaticRenderer=useIsStaticRenderer();const prefersReducedMotion=useReducedMotion();const localRef=useRef(null);const closeButtonRef=useRef(null);const dialogRef=useRef(null);const previouslyFocusedRef=useRef(null);const isInView=useInView(localRef,{amount:.08,once:false});const[isHovered,setIsHovered]=useState(false);const[isFocused,setIsFocused]=useState(false);const[isTapped,setIsTapped]=useState(false);const[isReaderOpen,setIsReaderOpen]=useState(false);const[measuredSize,setMeasuredSize]=useState({width:220,height:220});const[readerViewportWidth,setReaderViewportWidth]=useState(1024);const[readerMessage,setReaderMessage]=useState(\"\");const[readerAuthor,setReaderAuthor]=useState(\"\");const[readerBackgroundColor,setReaderBackgroundColor]=useState(\"#FFFFFF\");const setRefs=useCallback(node=>{localRef.current=node;if(typeof forwardedRef===\"function\"){forwardedRef(node);}else if(forwardedRef&&\"current\"in forwardedRef){forwardedRef.current=node;}},[forwardedRef]);useEffect(()=>{if(typeof window===\"undefined\")return;const node=localRef.current;if(!node)return;const updateSize=()=>{const nextWidth=node.offsetWidth||220;const nextHeight=node.offsetHeight||220;startTransition(()=>{setMeasuredSize(previous=>{if(previous.width===nextWidth&&previous.height===nextHeight){return previous;}return{width:nextWidth,height:nextHeight};});});};updateSize();if(typeof ResizeObserver!==\"undefined\"){const observer=new ResizeObserver(()=>updateSize());observer.observe(node);return()=>observer.disconnect();}window.addEventListener(\"resize\",updateSize);return()=>window.removeEventListener(\"resize\",updateSize);},[]);const isTransparentColor=useCallback(value=>{if(!value)return true;const normalized=value.trim().toLowerCase();if(!normalized||normalized===\"transparent\")return true;if(normalized===\"rgba(0, 0, 0, 0)\"||normalized===\"hsla(0, 0%, 0%, 0)\"){return true;}const rgbaMatch=normalized.match(/^rgba?\\(\\s*\\d+\\s*,\\s*\\d+\\s*,\\s*\\d+(?:\\s*,\\s*([.\\d]+))?\\s*\\)$/);if(!rgbaMatch)return false;const alpha=rgbaMatch[1];return alpha!==undefined&&Number(alpha)===0;},[]);const readTextContent=useCallback(node=>{return node?.textContent?.trim()??\"\";},[]);const resolveMessageAndAuthorNodes=useCallback(root=>{const messageByName=root.querySelector(\"[data-framer-name='Message'], [data-framer-name='message']\");const authorByName=root.querySelector(\"[data-framer-name='Display name'], [data-framer-name='display name'], [data-framer-name='Signature'], [data-framer-name='signature'], [data-framer-name='Author']\");const richTextNodes=Array.from(root.querySelectorAll(\"[data-framer-component-type='RichTextContainer']\")).filter(element=>{const name=(element.getAttribute(\"data-framer-name\")||\"\").toLowerCase();if(name.includes(\"tape\")||name.includes(\"status\"))return false;return true;});const signatureLike=richTextNodes.find(node=>{const name=(node.getAttribute(\"data-framer-name\")||\"\").toLowerCase();return name.includes(\"signature\")||name.includes(\"author\");});const messageFallback=richTextNodes.find(node=>node!==signatureLike)??richTextNodes[0]??null;const authorFallback=signatureLike??richTextNodes[richTextNodes.length-1]??null;return{messageNode:messageByName??messageFallback,authorNode:authorByName??authorFallback};},[]);const extractReaderContent=useCallback(()=>{const node=localRef.current;if(!node||typeof window===\"undefined\"){return{message:\"We couldn’t load this note’s full message preview. Open the source note to view the full content.\",author:\"Unknown author\",backgroundColor:\"#FFFFFF\"};}const{messageNode,authorNode}=resolveMessageAndAuthorNodes(node);const message=readTextContent(messageNode)||\"We couldn’t extract the full note message from this card.\";const author=readTextContent(authorNode)||\"Unknown author\";const computedRoot=window.getComputedStyle(node).backgroundColor;let resolvedBackground=isTransparentColor(computedRoot)?\"\":computedRoot;if(!resolvedBackground){const descendants=Array.from(node.querySelectorAll(\"*\"));for(const descendant of descendants){const computed=window.getComputedStyle(descendant).backgroundColor;if(!isTransparentColor(computed)){resolvedBackground=computed;break;}const inlineBackground=descendant.style?.backgroundColor;if(!isTransparentColor(inlineBackground)){resolvedBackground=inlineBackground;break;}}}return{message,author,backgroundColor:resolvedBackground||\"#FFFFFF\"};},[isTransparentColor,readTextContent,resolveMessageAndAuthorNodes]);const applyDynamicMessageClamp=useCallback(()=>{if(typeof window===\"undefined\")return;const root=localRef.current;if(!root)return;const{messageNode,authorNode}=resolveMessageAndAuthorNodes(root);if(!messageNode)return;const getOffsetTopWithinRoot=(element,container)=>{let top=0;let current=element;while(current&&current!==container){top+=current.offsetTop;current=current.offsetParent;}return top;};const rootStyle=window.getComputedStyle(root);const rootPaddingBottom=Number.parseFloat(rootStyle.paddingBottom||\"\")||0;const messageTopInRoot=Math.max(0,getOffsetTopWithinRoot(messageNode,root));const authorHeight=authorNode?.offsetHeight??0;const availableHeight=Math.max(0,root.clientHeight-messageTopInRoot-rootPaddingBottom-authorHeight-12);const typographySource=messageNode.querySelector(\"p, div, span\")||messageNode;const messageStyle=window.getComputedStyle(messageNode);const sourceStyle=window.getComputedStyle(typographySource);const containerFontSize=Number.parseFloat(messageStyle.fontSize||\"\");const containerLineHeight=Number.parseFloat(messageStyle.lineHeight||\"\");const sourceFontSize=Number.parseFloat(sourceStyle.fontSize||\"\");const sourceLineHeight=Number.parseFloat(sourceStyle.lineHeight||\"\");const fontSize=Number.isFinite(containerFontSize)&&containerFontSize>0?containerFontSize:sourceFontSize;const lineHeight=Number.isFinite(containerLineHeight)&&containerLineHeight>0?containerLineHeight:Number.isFinite(sourceLineHeight)&&sourceLineHeight>0?sourceLineHeight:Number.isFinite(fontSize)&&fontSize>0?fontSize*1.3:20;const maxLines=Math.max(1,Math.floor(availableHeight/lineHeight));const clampTargets=[messageNode,...Array.from(messageNode.querySelectorAll(\"p, div, span\"))].filter((node,index,list)=>list.indexOf(node)===index);for(const target of clampTargets){if(!target.textContent?.trim())continue;const existingClamp=Number.parseInt(target.style.webkitLineClamp||target.style.getPropertyValue(\"-webkit-line-clamp\"),10);if(existingClamp===maxLines)continue;target.style.display=\"-webkit-box\";target.style.setProperty(\"-webkit-box-orient\",\"vertical\");target.style.setProperty(\"-webkit-line-clamp\",String(maxLines));target.style.overflow=\"hidden\";}},[resolveMessageAndAuthorNodes]);useEffect(()=>{if(typeof window===\"undefined\")return;const node=localRef.current;if(!node)return;let frame=0;const scheduleClamp=()=>{if(frame)window.cancelAnimationFrame(frame);frame=window.requestAnimationFrame(()=>{applyDynamicMessageClamp();});};scheduleClamp();const onResize=()=>scheduleClamp();window.addEventListener(\"resize\",onResize);let observer=null;if(typeof MutationObserver!==\"undefined\"){observer=new MutationObserver(()=>scheduleClamp());observer.observe(node,{subtree:true,childList:true,characterData:true});}const fontSet=document.fonts;if(fontSet?.ready){fontSet.ready.then(()=>{scheduleClamp();});}return()=>{if(frame)window.cancelAnimationFrame(frame);window.removeEventListener(\"resize\",onResize);observer?.disconnect();};},[applyDynamicMessageClamp]);useEffect(()=>{if(typeof window===\"undefined\")return;const frame=window.requestAnimationFrame(()=>applyDynamicMessageClamp());return()=>window.cancelAnimationFrame(frame);},[applyDynamicMessageClamp,measuredSize.height,measuredSize.width]);const seed=useMemo(()=>hashStringToSeed(id),[id]);const isSmallCard=measuredSize.width<190;const scattered=useMemo(()=>({rotate:seededRange(seed,1,isSmallCard?-14:-19,isSmallCard?14:19),x:seededRange(seed,2,isSmallCard?-8:-24,isSmallCard?8:24),y:seededRange(seed,3,-26,26),scale:seededRange(seed,4,.94,1.04)}),[isSmallCard,seed]);const shouldLift=(isHovered||isFocused||isTapped)&&isInView;const shouldAnimate=!isStaticRenderer&&!prefersReducedMotion;const existingTransform=typeof props.style?.transform===\"string\"?props.style.transform:\"\";const scatterTransform=useMemo(()=>{const xShift=shouldLift?scattered.x*.35:scattered.x;const yShift=shouldLift?scattered.y-8:scattered.y;const rotate=shouldLift?scattered.rotate*.2:scattered.rotate;const scale=shouldLift?1.06:scattered.scale;return`translateX(${xShift.toFixed(3)}px) translateY(${yShift.toFixed(3)}px) rotate(${rotate.toFixed(3)}deg) scale(${scale.toFixed(4)})`;},[scattered,shouldLift]);const paperTextureDark=useMemo(()=>{const svg=`<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.08' numOctaves='3' seed='17' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(#n)' opacity='0.185' fill='black'/></svg>`;return`url(\"data:image/svg+xml,${encodeURIComponent(svg)}\")`;},[]);const paperTextureLight=useMemo(()=>{const svg=`<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240'><filter id='f'><feTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='2' seed='29' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(#f)' opacity='0.14' fill='white'/></svg>`;return`url(\"data:image/svg+xml,${encodeURIComponent(svg)}\")`;},[]);const existingBackgroundImage=typeof props.style?.backgroundImage===\"string\"?props.style.backgroundImage:undefined;const paperShadeGradient=\"linear-gradient(168deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.04) 42%, rgba(0, 0, 0, 0.1) 100%)\";const composedBackgroundImage=existingBackgroundImage?`${paperShadeGradient}, ${paperTextureLight}, ${paperTextureDark}, ${existingBackgroundImage}`:`${paperShadeGradient}, ${paperTextureLight}, ${paperTextureDark}`;const composedBackgroundSize=props.style?.backgroundSize?`100% 100%, 200px 200px, 160px 160px, ${props.style.backgroundSize}`:\"100% 100%, 200px 200px, 160px 160px\";const composedBackgroundRepeat=props.style?.backgroundRepeat?`no-repeat, repeat, repeat, ${props.style.backgroundRepeat}`:\"no-repeat, repeat, repeat\";const composedBackgroundPosition=props.style?.backgroundPosition?`0 0, 0 0, 0 0, ${props.style.backgroundPosition}`:\"0 0, 0 0, 0 0\";const composedBackgroundBlendMode=props.style?.backgroundBlendMode?`soft-light, overlay, multiply, ${props.style.backgroundBlendMode}`:\"soft-light, overlay, multiply\";const mergedStyle=useMemo(()=>({...props.style,position:\"relative\",transform:`${existingTransform}${existingTransform?\" \":\"\"}${scatterTransform}`,transformOrigin:\"50% 50%\",zIndex:shouldLift?8:1,height:`${measuredSize.width}px`,minHeight:0,maxHeight:`${measuredSize.width}px`,aspectRatio:\"1 / 1\",overflow:\"clip\",boxSizing:\"border-box\",flexShrink:0,gap:12,willChange:shouldAnimate?\"transform\":props.style?.willChange??undefined,transition:shouldAnimate?\"transform 280ms cubic-bezier(0.22, 1, 0.36, 1), z-index 0ms linear\":props.style?.transition??undefined,backgroundImage:composedBackgroundImage,backgroundSize:composedBackgroundSize,backgroundRepeat:composedBackgroundRepeat,backgroundPosition:composedBackgroundPosition,backgroundBlendMode:composedBackgroundBlendMode,boxShadow:\"0 14px 22px rgba(0, 0, 0, 0.22), -2px 10px 14px rgba(0, 0, 0, 0.12), 0 3px 6px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.32), inset 0 -1px 0 rgba(0, 0, 0, 0.14)\"}),[composedBackgroundBlendMode,composedBackgroundImage,composedBackgroundPosition,composedBackgroundRepeat,composedBackgroundSize,existingTransform,props.style,scatterTransform,shouldAnimate,shouldLift,measuredSize.width]);const onHoverStart=useCallback((...args)=>{startTransition(()=>setIsHovered(true));props.onHoverStart?.(...args);},[props]);const onHoverEnd=useCallback((...args)=>{startTransition(()=>setIsHovered(false));props.onHoverEnd?.(...args);},[props]);const onTapStart=useCallback((...args)=>{startTransition(()=>setIsTapped(true));props.onTapStart?.(...args);},[props]);const openReader=useCallback(()=>{if(isReaderOpen)return;if(typeof document!==\"undefined\"){previouslyFocusedRef.current=document.activeElement;}if(typeof window!==\"undefined\"){startTransition(()=>setReaderViewportWidth(window.innerWidth));}const extracted=extractReaderContent();startTransition(()=>setReaderMessage(extracted.message));startTransition(()=>setReaderAuthor(extracted.author));startTransition(()=>setReaderBackgroundColor(extracted.backgroundColor));startTransition(()=>setIsReaderOpen(true));},[extractReaderContent,isReaderOpen]);const closeReader=useCallback(()=>{startTransition(()=>setIsReaderOpen(false));startTransition(()=>setIsHovered(false));startTransition(()=>setIsFocused(false));startTransition(()=>setIsTapped(false));if(previouslyFocusedRef.current){previouslyFocusedRef.current.focus();}},[]);const onTapEnd=useCallback((...args)=>{startTransition(()=>setIsTapped(false));openReader();props.onTap?.(...args);},[openReader,props]);const onTapCancel=useCallback((...args)=>{startTransition(()=>setIsTapped(false));props.onTapCancel?.(...args);},[props]);const onClick=useCallback((...args)=>{openReader();props.onClick?.(...args);},[openReader,props]);const onKeyDown=useCallback(event=>{if(event.key===\"Enter\"||event.key===\" \"){event.preventDefault();openReader();}props.onKeyDown?.(event);},[openReader,props]);const onFocusCapture=useCallback(event=>{startTransition(()=>setIsFocused(true));props.onFocusCapture?.(event);},[props]);const onBlurCapture=useCallback(event=>{startTransition(()=>setIsFocused(false));props.onBlurCapture?.(event);},[props]);useEffect(()=>{if(!isReaderOpen||typeof window===\"undefined\")return;const onEscape=event=>{if(event.key===\"Escape\")closeReader();};window.addEventListener(\"keydown\",onEscape);return()=>{window.removeEventListener(\"keydown\",onEscape);};},[closeReader,isReaderOpen]);useEffect(()=>{if(!isReaderOpen||typeof document===\"undefined\")return;const previousOverflow=document.body.style.overflow;document.body.style.overflow=\"hidden\";return()=>{document.body.style.overflow=previousOverflow;};},[isReaderOpen]);useEffect(()=>{if(!isReaderOpen)return;closeButtonRef.current?.focus();},[isReaderOpen]);useEffect(()=>{if(!isReaderOpen||typeof window===\"undefined\")return;const updateViewportWidth=()=>{startTransition(()=>setReaderViewportWidth(window.innerWidth));};updateViewportWidth();window.addEventListener(\"resize\",updateViewportWidth);return()=>window.removeEventListener(\"resize\",updateViewportWidth);},[isReaderOpen]);const readerPadding=readerViewportWidth<=767?24:32;const onDialogKeyDown=useCallback(event=>{if(event.key!==\"Tab\")return;const dialogNode=dialogRef.current;if(!dialogNode)return;const focusable=dialogNode.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex=\"-1\"])');if(focusable.length===0){event.preventDefault();closeButtonRef.current?.focus();return;}const first=focusable[0];const last=focusable[focusable.length-1];const active=typeof document!==\"undefined\"?document.activeElement:null;if(event.shiftKey){if(!active||active===first||!dialogNode.contains(active)){event.preventDefault();last.focus();}return;}if(!active||active===last||!dialogNode.contains(active)){event.preventDefault();first.focus();}},[]);const readerOverlay=isReaderOpen&&typeof document!==\"undefined\"&&/*#__PURE__*/createPortal(/*#__PURE__*/_jsx(\"div\",{ref:dialogRef,role:\"dialog\",\"aria-modal\":\"true\",\"aria-label\":props.ariaLabel??\"Expanded note reader\",onKeyDown:onDialogKeyDown,onClick:event=>{if(event.target===event.currentTarget)closeReader();},style:{position:\"fixed\",inset:0,zIndex:9999,background:\"rgba(0, 0, 0, 0.45)\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",padding:24},children:/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\",maxWidth:\"calc(100vw - 48px)\",maxHeight:\"calc(100vh - 48px)\",overflow:\"auto\",display:\"flex\",justifyContent:\"center\",alignItems:\"flex-start\"},children:[/*#__PURE__*/_jsx(\"button\",{ref:closeButtonRef,\"aria-label\":\"Close note reader\",onClick:closeReader,style:{position:\"fixed\",top:16,right:16,zIndex:2,border:\"none\",borderRadius:999,width:36,height:36,cursor:\"pointer\",background:\"#FFFFFF\",color:\"#000000\",fontSize:20,lineHeight:\"1\"},children:\"\\xd7\"}),/*#__PURE__*/_jsxs(\"article\",{\"aria-label\":\"Expanded note content\",style:{width:\"min(560px, calc(100vw - 48px))\",maxWidth:\"100%\",maxHeight:\"calc(100vh - 48px)\",overflowY:\"auto\",boxSizing:\"border-box\",padding:`${readerPadding}px`,borderRadius:0,backgroundColor:readerBackgroundColor,color:\"#171717\",backgroundImage:`${paperShadeGradient}, ${paperTextureLight}, ${paperTextureDark}`,backgroundSize:\"100% 100%, 200px 200px, 160px 160px\",backgroundRepeat:\"no-repeat, repeat, repeat\",backgroundPosition:\"0 0, 0 0, 0 0\",backgroundBlendMode:\"soft-light, overlay, multiply\",position:\"relative\",boxShadow:\"0 24px 56px rgba(0, 0, 0, 0.24), 0 2px 6px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 0 rgba(0, 0, 0, 0.12)\",opacity:1,transform:shouldAnimate&&!prefersReducedMotion?\"translateY(0px)\":\"none\",transition:shouldAnimate&&!prefersReducedMotion?\"opacity 220ms ease, transform 220ms ease\":undefined},children:[/*#__PURE__*/_jsx(\"div\",{style:{whiteSpace:\"pre-wrap\",overflowWrap:\"anywhere\",fontFamily:'\"Mazzard H\", sans-serif',fontWeight:400,fontSize:20,lineHeight:1.5,margin:0},children:readerMessage}),/*#__PURE__*/_jsxs(\"p\",{style:{margin:\"12px 0 0 0\",fontFamily:'\"Mazzard H\", sans-serif',fontWeight:400,fontSize:16,lineHeight:1.4},children:[\"— \",readerAuthor]})]})]})}),document.body);return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(Component,{ref:setRefs,...props,style:mergedStyle,onHoverStart:onHoverStart,onHoverEnd:onHoverEnd,onTapStart:onTapStart,onTap:onTapEnd,onTapCancel:onTapCancel,onClick:onClick,onKeyDown:onKeyDown,onFocusCapture:onFocusCapture,onBlurCapture:onBlurCapture,tabIndex:props.tabIndex??0,role:props.role??\"button\",\"aria-haspopup\":\"dialog\",\"aria-expanded\":isReaderOpen}),readerOverlay]});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withRotate\":{\"type\":\"reactHoc\",\"name\":\"withRotate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRandomColor\":{\"type\":\"reactHoc\",\"name\":\"withRandomColor\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHover\":{\"type\":\"reactHoc\",\"name\":\"withHover\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"GradientPulse\":{\"type\":\"reactHoc\",\"name\":\"GradientPulse\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withScatteredNote\":{\"type\":\"reactHoc\",\"name\":\"withScatteredNote\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withExclusiveAccordion\":{\"type\":\"reactHoc\",\"name\":\"withExclusiveAccordion\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Examples_2.map"],"mappings":"A,kUAA8E,SAAgB8B,EAAY,EAAO,CACjH,IAAMC,EAAUH,EAAK,CAAC,MAAM,OAAO,OAAO,CAAC,GAAGI,CAAM,CAAC,CAAC,CAAC,EACjDC,EAAa,GAAU,CAC1B,OAAOC,GAAW,aAAY,EAASA,EAASH,EAAU,KAAK,GAAG,EAAU,MAAM,OAAO,OAAO,CAAC,GAAGA,EAAU,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