{"version":3,"file":"OrbotProjects.D09lFKso.mjs","names":[],"sources":["https:/framerusercontent.com/modules/6tdRt7vNUAPeyzktSAnN/UV6d8yvYakzbZc9DoEv8/OrbotProjects.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";function createNoiseSVG(opacity,scale){const svg=`\n    <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"240\" height=\"240\" viewBox=\"0 0 240 240\">\n        <filter id=\"n\">\n            <feTurbulence\n                type=\"fractalNoise\"\n                baseFrequency=\"${.85/Math.max(.2,scale)}\"\n                numOctaves=\"3\"\n                stitchTiles=\"stitch\"\n            />\n        </filter>\n        <rect width=\"100%\" height=\"100%\" filter=\"url(#n)\" opacity=\"${opacity}\" />\n    </svg>`;return`url(\"data:image/svg+xml;utf8,${encodeURIComponent(svg)}\")`;}/**\n * Made in Stylokit\n * https://stylokit.com\n * @framerDisableUnlink\n */export default function CenterLightGrainBackground(props){const{background,grainOpacity,grainScale,lightColor,lightCoreOpacity,lightBloomOpacity,lightWashOpacity,lightCoreWidth,lightCoreBlur,lightBloomSize,lightWashWidth,lightWashBlur,topGlowOpacity,vignetteOpacity,radius,style}=props;const noiseA=createNoiseSVG(grainOpacity,grainScale);const noiseB=createNoiseSVG(grainOpacity*.45,grainScale*1.5);return /*#__PURE__*/_jsxs(\"div\",{style:{...style,position:\"relative\",width:\"100%\",height:\"100%\",overflow:\"hidden\",borderRadius:radius,background},children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,background:`\n                        linear-gradient(\n                            180deg,\n                            rgba(255,255,255,0.012) 0%,\n                            rgba(255,255,255,0.006) 18%,\n                            rgba(0,0,0,0.06) 100%\n                        )\n                    `}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:\"50%\",top:\"-20%\",width:\"60%\",height:\"55%\",transform:\"translateX(-50%)\",borderRadius:\"50%\",background:`radial-gradient(\n                        ellipse at center,\n                        ${lightColor} 0%,\n                        rgba(255,255,255,0.05) 22%,\n                        transparent 72%\n                    )`,filter:\"blur(40px)\",opacity:topGlowOpacity,mixBlendMode:\"screen\"}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:\"50%\",top:\"-10%\",bottom:\"-8%\",width:lightWashWidth,transform:\"translateX(-50%)\",borderRadius:999,background:`linear-gradient(\n                        180deg,\n                        rgba(255,255,255,0.18) 0%,\n                        ${lightColor} 16%,\n                        rgba(255,255,255,0.05) 38%,\n                        rgba(255,255,255,0.015) 58%,\n                        transparent 100%\n                    )`,filter:`blur(${lightWashBlur}px)`,opacity:lightWashOpacity,mixBlendMode:\"screen\"}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:\"50%\",top:\"42%\",width:lightBloomSize,height:lightBloomSize*.72,transform:\"translate(-50%, -50%)\",borderRadius:\"50%\",background:`radial-gradient(\n                        ellipse at center,\n                        rgba(255,255,255,0.24) 0%,\n                        ${lightColor} 22%,\n                        rgba(255,255,255,0.05) 42%,\n                        transparent 74%\n                    )`,filter:\"blur(48px)\",opacity:lightBloomOpacity,mixBlendMode:\"screen\"}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:\"50%\",top:\"37%\",width:lightCoreWidth,height:\"48%\",transform:\"translateX(-50%)\",borderRadius:999,background:`linear-gradient(\n                        180deg,\n                        rgba(255,255,255,0.38) 0%,\n                        rgba(255,245,230,0.22) 18%,\n                        rgba(255,230,200,0.08) 42%,\n                        rgba(255,255,255,0.025) 70%,\n                        transparent 100%\n                    )`,filter:`blur(${lightCoreBlur}px)`,opacity:lightCoreOpacity,mixBlendMode:\"screen\"}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:\"-10%\",backgroundImage:noiseA,backgroundRepeat:\"repeat\",backgroundSize:`${120*grainScale}px ${120*grainScale}px`,mixBlendMode:\"soft-light\",opacity:1}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:\"-10%\",backgroundImage:noiseB,backgroundRepeat:\"repeat\",backgroundSize:`${180*grainScale}px ${180*grainScale}px`,mixBlendMode:\"overlay\",opacity:.65}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,background:`\n                        radial-gradient(\n                            ellipse at center,\n                            transparent 0%,\n                            rgba(0,0,0,0.06) 72%,\n                            rgba(0,0,0,0.16) 100%\n                        )\n                    `}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,background:`radial-gradient(\n                        ellipse at center,\n                        transparent 36%,\n                        rgba(0,0,0,${vignetteOpacity*.32}) 72%,\n                        rgba(0,0,0,${vignetteOpacity}) 100%\n                    )`}})]});}CenterLightGrainBackground.defaultProps={background:\"#0B0908\",grainOpacity:.16,grainScale:1,lightColor:\"rgba(225,170,110,0.28)\",lightCoreOpacity:.42,lightBloomOpacity:.34,lightWashOpacity:.22,lightCoreWidth:120,lightCoreBlur:26,lightBloomSize:680,lightWashWidth:300,lightWashBlur:52,topGlowOpacity:.22,vignetteOpacity:.58,radius:0};addPropertyControls(CenterLightGrainBackground,{background:{type:ControlType.Color,title:\"Background\"},grainOpacity:{type:ControlType.Number,title:\"Grain opacity\",min:0,max:1,step:.01},grainScale:{type:ControlType.Number,title:\"Grain scale\",min:.5,max:3,step:.1},lightColor:{type:ControlType.Color,title:\"Light color\"},lightCoreOpacity:{type:ControlType.Number,title:\"Core opacity\",min:0,max:1,step:.01},lightBloomOpacity:{type:ControlType.Number,title:\"Bloom opacity\",min:0,max:1,step:.01},lightWashOpacity:{type:ControlType.Number,title:\"Wash opacity\",min:0,max:1,step:.01},lightCoreWidth:{type:ControlType.Number,title:\"Core width\",min:20,max:400,step:1,unit:\"px\"},lightCoreBlur:{type:ControlType.Number,title:\"Core blur\",min:0,max:120,step:1,unit:\"px\"},lightBloomSize:{type:ControlType.Number,title:\"Bloom size\",min:100,max:1400,step:1,unit:\"px\"},lightWashWidth:{type:ControlType.Number,title:\"Wash width\",min:40,max:700,step:1,unit:\"px\"},lightWashBlur:{type:ControlType.Number,title:\"Wash blur\",min:0,max:160,step:1,unit:\"px\"},topGlowOpacity:{type:ControlType.Number,title:\"Top glow\",min:0,max:1,step:.01},vignetteOpacity:{type:ControlType.Number,title:\"Vignette\",min:0,max:1,step:.01},radius:{type:ControlType.Number,title:\"Radius\",min:0,max:80,step:1,unit:\"px\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CenterLightGrainBackground\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./OrbotProjects.map"],"mappings":"8JAA6G,SAAS,EAAe,EAAQ,EAAM,CAAC,IAAM,EAAI;;;;;iCAK7H,IAAI,KAAK,IAAI,GAAG,CAAK,EAAE;;;;;qEAKa,EAAQ;YACjE,MAAM,gCAAgC,mBAAmB,CAAG,EAAE,GAAI,CAI3E,SAAwB,EAA2B,EAAM,CAAC,GAAK,CAAC,aAAW,eAAa,aAAW,aAAW,mBAAiB,oBAAkB,mBAAiB,iBAAe,gBAAc,iBAAe,iBAAe,gBAAc,iBAAe,kBAAgB,SAAO,SAAO,EAAY,EAAO,EAAe,EAAa,CAAU,EAAQ,EAAO,EAAe,EAAa,IAAI,EAAW,GAAG,EAAE,OAAoB,EAAM,MAAM,CAAC,MAAM,CAAC,GAAG,EAAM,SAAS,WAAW,MAAM,OAAO,OAAO,OAAO,SAAS,SAAS,aAAa,EAAO,YAAU,EAAE,SAAS,CAAc,EAAK,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,MAAM,EAAE,WAAW;;;;;;;qBAOjmB,CAAC,CAAC,EAAe,EAAK,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,KAAK,MAAM,IAAI,OAAO,MAAM,MAAM,OAAO,MAAM,UAAU,mBAAmB,aAAa,MAAM,WAAW;;0BAE7J,EAAW;;;uBAGd,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