{"version":3,"file":"HeroPattern.Cs2n_jp3.mjs","names":["__esmMin","init_jsx_runtime","c","p","addPropertyControls","init_framer_Duogf4LG","HeroPattern","props","kind","style","LEAF","top","glow","color","position","init_HeroPattern","ControlType"],"sources":["https:/framerusercontent.com/modules/6pFEkLM53N4SB8luBYLr/y8mmcVclQOZ85TcBcPkO/HeroPattern.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";const LEAF=\"https://framerusercontent.com/images/IumX8OZgre5qqQWB0d6iiTLIISM.svg\";/**\n * Background that always fills its section, on any screen width. \"Leaf\" repeats\n * the Your CFO Guy pattern from the centre; \"Night\" is the navy dotted one.\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function HeroPattern(props){const{kind,top,style}=props;if(kind===\"leaf\"){return /*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{...style,width:\"100%\",height:\"100%\",pointerEvents:\"none\",backgroundImage:`url(${LEAF})`,backgroundSize:\"420px 552px\",backgroundRepeat:\"repeat-x\",backgroundPosition:`calc(50% + 210px) ${top-11}px`}});}const glow=(position,color)=>/*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",width:620,height:460,borderRadius:\"50%\",background:`radial-gradient(closest-side, ${color}, transparent)`,...position}});return /*#__PURE__*/_jsxs(\"div\",{\"aria-hidden\":\"true\",style:{...style,position:\"relative\",width:\"100%\",height:\"100%\",overflow:\"hidden\",pointerEvents:\"none\",background:\"linear-gradient(135deg, rgb(10, 17, 40) 0%, rgb(16, 24, 52) 100%)\"},children:[glow({left:\"calc(50% - 900px)\",bottom:-220},\"rgba(48, 84, 190, 0.34)\"),glow({left:\"calc(50% + 260px)\",top:-160},\"rgba(112, 60, 160, 0.3)\"),/*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",inset:0,backgroundImage:\"radial-gradient(rgba(233, 231, 202, 0.17) 1.5px, transparent 1.5px)\",backgroundSize:\"26px 26px\",backgroundPosition:\"50% 0\",WebkitMaskImage:\"linear-gradient(90deg, black, rgba(0,0,0,.25) 45%, black)\",maskImage:\"linear-gradient(90deg, black, rgba(0,0,0,.25) 45%, black)\"}})]});}addPropertyControls(HeroPattern,{kind:{type:ControlType.Enum,title:\"Kind\",options:[\"leaf\",\"night\"],optionTitles:[\"Leaf\",\"Night\"],defaultValue:\"leaf\"},top:{type:ControlType.Number,title:\"Top\",defaultValue:-40,min:-400,max:400,displayStepper:true,hidden:props=>props.kind!==\"leaf\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"HeroPattern\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./HeroPattern.map"],"mappings":"A,8JAMG,SAAwBM,EAAY,EAAM,CAAC,GAAK,CAAC,OAAK,MAAI,SAAOC,EAAM,GAAGC,IAAO,OAAQ,MAAoB,gBAAK,MAAM,CAAC,cAAc,OAAO,MAAM,CAAC,GAAGC,EAAM,MAAM,OAAO,OAAO,OAAO,cAAc,OAAO,gBAAgB,OAAOC,EAAK,GAAG,eAAe,cAAc,iBAAiB,WAAW,mBAAmB,qBAAqBC,EAAI,GAAG,GAAG,CAAC,CAAC,EAAG,IAAMC,GAAM,EAAS,IAAqB,gBAAK,OAAO,CAAC,MAAM,CAAC,SAAS,WAAW,MAAM,IAAI,OAAO,IAAI,aAAa,MAAM,WAAW,iCAAiCC,EAAM,gBAAgB,GAAGC,CAAQ,CAAC,CAAC,EAAE,MAAoB,gBAAM,MAAM,CAAC,cAAc,OAAO,MAAM,CAAC,GAAGL,EAAM,SAAS,WAAW,MAAM,OAAO,OAAO,OAAO,SAAS,SAAS,cAAc,OAAO,WAAW,mEAAmE,EAAE,SAA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