{"version":3,"file":"DottedBackground.BOLoeFp5.mjs","names":["React.useRef","React.useState","__esmMin","init_npm_react_18_3_1","_e","de","init_jsx_runtime","J","c","p","ce","addPropertyControls","ControlType","useIsStaticRenderer","init_framer_Cb9Z_4vX","useHeroStyles","sheet","css","studioTitle","rest","props","isStatic","wrapper","inView","setInView","align","observer","entries","entry","animate","waiting","style","SETTLE","EASE","Component","forwardedRef","BLUE","x","y","WHITE","withStudioTitle","entrance","role","duration","delay","withHeroCanvas","withHeroEyebrow","withHeroBody","withHeroAction","withHeroPrompt","withHeroProducts","init_StudioHeroMotion","DottedBackground","theme","appearance","themes","backgroundColor","dotColor","spacing","gridSpacing","radius","dotSize","init_DottedBackground"],"sources":["https:/framerusercontent.com/modules/n2MliF3foSCp0u29TYkm/opxf2qgA2NiUCUDhqbOa/StudioHeroMotion.js","https:/framerusercontent.com/modules/TnBrO26dpUWGLWMJc60i/vqeXNUEHlFz1ffGGhTnn/DottedBackground.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{useIsStaticRenderer}from\"framer\";const BLUE=\"var(--token-1756daa2-c3a8-4f68-94af-4b98a6371e5c, #007AFF)\";const WHITE=\"var(--token-8c47652b-dea5-4767-a9f2-5d952dcce49a, #fff)\";const EASE=\"cubic-bezier(.22,1,.36,1)\";// Fast out, soft landing. The light overshoot lives in the keyframe, not the curve,\n// so the settle reads as weight rather than as a second animation.\nconst SETTLE=\"cubic-bezier(.32,.72,0,1)\";const css=`\n@keyframes studioCanvasIn { from { opacity:0; transform:scale(1.015) } to { opacity:1; transform:scale(1) } }\n@keyframes studioLayerIn { from { opacity:0; translate:0 12px } to { opacity:1; translate:0 0 } }\n@keyframes studioTitleSet {\n  0% { opacity:0; transform:scale(.94) }\n  62% { opacity:1; transform:scale(1.012) }\n  100% { opacity:1; transform:scale(1) }\n}\n@keyframes studioFrameIn { from { opacity:0; scale:.98 } to { opacity:1; scale:1 } }\n@keyframes studioPointerGesture {\n  0% { opacity:0; transform:translate(38px,26px) }\n  18% { opacity:1; transform:translate(0,0) }\n  76% { opacity:1; transform:translate(0,0) }\n  100% { opacity:0; transform:translate(18px,12px) }\n}\n@media (prefers-reduced-motion:reduce) {\n [data-studio-hero], [data-studio-hero=\"title\"] [data-studio-intro] { animation:none !important; translate:none !important; }\n [data-studio-hero=\"title\"] [data-studio-cursor] { display:none !important; }\n}\n`;// Keep styles outside Framer's hydrated layout and preserve CSS as raw text.\nfunction useHeroStyles(){React.useEffect(()=>{if(document.getElementById(\"mm-studio-hero-styles\"))return;const sheet=document.createElement(\"style\");sheet.id=\"mm-studio-hero-styles\";sheet.textContent=css;document.head.appendChild(sheet);},[]);}/** Decorative introduction only. The original native text and its styles stay intact. */function studioTitle(Component,align){return /*#__PURE__*/React.forwardRef(function StudioTitle(props,forwardedRef){const{style,...rest}=props;useHeroStyles();const isStatic=useIsStaticRenderer();const wrapper=React.useRef(null);// The hero plays on load. A section title further down the page waits\n// until it scrolls into view, or the motion would be over unseen.\nconst[inView,setInView]=React.useState(align===\"center\");React.useEffect(()=>{if(isStatic||inView||!wrapper.current||typeof IntersectionObserver===\"undefined\"){if(!inView&&typeof IntersectionObserver===\"undefined\")setInView(true);return;}const observer=new IntersectionObserver(entries=>{if(entries.some(entry=>entry.isIntersecting)){setInView(true);observer.disconnect();}},{threshold:.4});observer.observe(wrapper.current);return()=>observer.disconnect();},[isStatic,inView]);const animate=!isStatic&&inView;// Before it plays, a start-aligned title is held invisible so the\n// entrance does not reveal an already visible title a second time.\nconst waiting=!isStatic&&!inView;return /*#__PURE__*/_jsx(\"div\",{ref:wrapper,\"data-studio-hero\":\"title\",style:{...style,overflow:\"visible\",position:\"relative\"},children:/*#__PURE__*/_jsxs(\"div\",{\"data-studio-intro\":\"scale\",style:{position:\"relative\",width:\"max-content\",maxWidth:\"100%\",marginInline:align===\"center\"?\"auto\":undefined,boxSizing:\"border-box\",padding:align===\"center\"?\"10px 14px\":\"2px 8px\",margin:align===\"start\"?\"-2px 0 -2px -8px\":undefined,transformOrigin:align===\"center\"?\"center\":\"left center\",opacity:waiting?0:undefined,animation:animate?align===\"center\"?`studioTitleSet 780ms ${SETTLE} 420ms backwards`:`studioLayerIn 600ms ${EASE} 0ms backwards`:undefined},children:[/*#__PURE__*/_jsx(\"div\",{\"data-studio-intro\":\"ink\",children:/*#__PURE__*/_jsx(Component,{...rest,ref:forwardedRef})}),/*#__PURE__*/_jsx(\"div\",{\"data-studio-intro\":\"frame\",\"aria-hidden\":\"true\",style:{position:\"absolute\",inset:0,border:`1px solid ${BLUE}`,pointerEvents:\"none\",animation:animate?`studioFrameIn 420ms ${EASE} 60ms backwards`:undefined}}),[[0,0],[1,0],[0,1],[1,1]].map(([x,y])=>/*#__PURE__*/_jsx(\"div\",{\"data-studio-intro\":\"handle\",\"aria-hidden\":\"true\",style:{position:\"absolute\",left:x?undefined:-5,right:x?-5:undefined,top:y?undefined:-5,bottom:y?-5:undefined,width:10,height:10,borderRadius:\"50%\",border:`1px solid ${BLUE}`,background:WHITE,animation:animate?`studioFrameIn 420ms ${EASE} 60ms backwards`:undefined,pointerEvents:\"none\",boxSizing:\"border-box\"}},`${x}${y}`)),animate&&align===\"center\"&&/*#__PURE__*/_jsx(\"svg\",{\"data-studio-cursor\":\"\",\"aria-hidden\":\"true\",width:\"22\",height:\"26\",viewBox:\"0 0 22 26\",style:{position:\"absolute\",right:-17,bottom:-23,overflow:\"visible\",pointerEvents:\"none\",opacity:0,animation:`studioPointerGesture 1200ms ${EASE} 300ms backwards`},children:/*#__PURE__*/_jsx(\"path\",{d:\"M2 1 19 16 11 17 7 24Z\",fill:\"var(--token-33722da1-56ef-4815-82ed-442105eb06b1, #111)\",stroke:WHITE,strokeWidth:\"1.5\",strokeLinejoin:\"round\"})})]})});});}export function withStudioTitle(Component){return studioTitle(Component,\"center\");}/** Quieter version for a left-aligned section title: the same frame and round\n * handles, a plain fade-up instead of the scale and cursor, and the padding\n * cancelled out so the text lines up with every other section title. */export function withStudioTitleStart(Component){return studioTitle(Component,\"start\");}function entrance(Component,role,delay,duration=600){return /*#__PURE__*/React.forwardRef(function StudioEntrance(props,ref){useHeroStyles();const isStatic=useIsStaticRenderer();return /*#__PURE__*/_jsx(Component,{...props,ref:ref,\"data-studio-hero\":role,style:{...props.style,animation:isStatic?undefined:`${role===\"canvas\"?\"studioCanvasIn\":\"studioLayerIn\"} ${duration}ms ${EASE} ${delay}ms backwards`}});});}export function withHeroCanvas(Component){return entrance(Component,\"canvas\",0,750);}export function withHeroEyebrow(Component){return entrance(Component,\"eyebrow\",580,500);}export function withHeroBody(Component){return entrance(Component,\"body\",720);}export function withHeroAction(Component){return entrance(Component,\"action\",840);}export function withHeroPrompt(Component){return entrance(Component,\"prompt\",960,700);}export function withHeroProducts(Component){return entrance(Component,\"products\",1100,750);}\nexport const __FramerMetadata__ = {\"exports\":{\"withStudioTitleStart\":{\"type\":\"reactHoc\",\"name\":\"withStudioTitleStart\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHeroEyebrow\":{\"type\":\"reactHoc\",\"name\":\"withHeroEyebrow\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHeroProducts\":{\"type\":\"reactHoc\",\"name\":\"withHeroProducts\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHeroPrompt\":{\"type\":\"reactHoc\",\"name\":\"withHeroPrompt\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHeroBody\":{\"type\":\"reactHoc\",\"name\":\"withHeroBody\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHeroAction\":{\"type\":\"reactHoc\",\"name\":\"withHeroAction\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHeroCanvas\":{\"type\":\"reactHoc\",\"name\":\"withHeroCanvas\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withStudioTitle\":{\"type\":\"reactHoc\",\"name\":\"withStudioTitle\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./StudioHeroMotion.map","// Pure CSS background. Nothing here renders a stylesheet into the React tree.\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";const themes={light:{background:\"#F3F4F2\",dots:\"#D0D2CF\"},dark:{background:\"#000000\",dots:\"rgba(208, 209, 207, 0.3)\"}};/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerIntrinsicWidth 360\n * @framerIntrinsicHeight 240\n */export default function DottedBackground({appearance=\"custom\",dotColor=\"#C8C8C8\",dotSize=1.5,gridSpacing=20,backgroundColor=\"#EBEBEB\",style}){const theme=appearance===\"light\"||appearance===\"dark\"?themes[appearance]:{background:backgroundColor,dots:dotColor};const spacing=Number.isFinite(gridSpacing)?Math.max(1,gridSpacing):20;const radius=(Number.isFinite(dotSize)?Math.max(0,dotSize):1.5)/2;return /*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{width:\"100%\",height:\"100%\",display:\"block\",...style,pointerEvents:\"none\",backgroundColor:theme.background,backgroundImage:radius>0?`radial-gradient(circle at center, ${theme.dots} ${radius}px, transparent ${radius+.15}px)`:\"none\",backgroundSize:`${spacing}px ${spacing}px`,backgroundPosition:`${-spacing/2}px ${-spacing/2}px`,backgroundRepeat:\"repeat\"}});}addPropertyControls(DottedBackground,{appearance:{type:ControlType.Enum,title:\"Mode\",options:[\"light\",\"dark\",\"custom\"],optionTitles:[\"Light\",\"Dark\",\"Custom\"],defaultValue:\"custom\",displaySegmentedControl:true,description:\"A static CSS pattern. Same dot spacing on the canvas and in preview.\"},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#EBEBEB\",hidden:({appearance})=>appearance===\"light\"||appearance===\"dark\"},dotColor:{type:ControlType.Color,title:\"Dots\",defaultValue:\"#C8C8C8\",hidden:({appearance})=>appearance===\"light\"||appearance===\"dark\"},dotSize:{type:ControlType.Number,title:\"Dot size\",defaultValue:1.5,min:.5,max:10,step:.5,unit:\"px\"},gridSpacing:{type:ControlType.Number,title:\"Spacing\",defaultValue:20,min:5,max:100,step:1,unit:\"px\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"DottedBackground\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"240\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"360\",\"framerSupportedLayoutHeight\":\"any\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./DottedBackground.map"],"mappings":"A,+MAsBA,SAASe,GAAe,CAACL,MAAoB,CAAC,GAAG,SAAS,eAAe,uBAAuB,EAAE,OAAO,IAAMM,EAAM,SAAS,cAAc,OAAO,EAAE,EAAM,GAAG,wBAAwB,EAAM,YAAYC,EAAI,SAAS,KAAK,YAAYD,CAAK,CAAE,EAAE,CAAC,CAAC,CAAE,CAA0F,SAASE,EAAY,EAAU,EAAM,CAAC,MAAoB,gBAAiB,SAAqB,EAAM,EAAa,CAAC,GAAK,CAAC,QAAM,GAAGC,GAAMC,EAAML,EAAc,EAAE,IAAMM,EAASR,EAAoB,EAAQS,EAAQtB,EAAa,IAAI,EAE3iB,CAACuB,EAAOC,GAAWvB,EAAewB,IAAQ,QAAQ,EAAEf,MAAoB,CAAC,GAAGW,GAAUE,GAAQ,CAACD,EAAQ,SAAS,OAAO,qBAAuB,IAAY,CAAI,CAACC,GAAQ,OAAO,qBAAuB,KAAYC,EAAU,EAAI,EAAE,MAAO,CAAC,IAAME,EAAS,IAAI,qBAAqB,GAAS,CAAIC,EAAQ,KAAK,GAAOC,EAAM,cAAc,IAAGJ,EAAU,EAAI,EAAEE,EAAS,WAAW,EAAG,EAAE,CAAC,UAAU,EAAE,CAAC,EAAoC,OAAlCA,EAAS,QAAQJ,EAAQ,OAAO,MAAYI,EAAS,WAAW,CAAE,EAAE,CAACL,EAASE,CAAM,CAAC,EAAE,IAAMM,EAA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