{"version":3,"file":"WVNDarkHero.MIoJtkEh.mjs","names":["useRef","useState","_Fragment"],"sources":["https:/framerusercontent.com/modules/4B53SemjNsti9P6QBfCB/lxSWBioaQaCdcJahHl46/WVNDarkHero.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState,useEffect,useRef}from\"react\";const BLUE=\"#2663EB\";export default function WVNDarkHero({eyebrowText=\"Solutions\",heading=\"WVN works where most of your retail sales actually happen.\",subheading=\"Physical retail, brand activations, and live venues all share the same problem: they generate enormous signals and have no system to act on them. WVN is how that changes.\",bluePhrase=\"actually happen.\"}){const ref=useRef(null);const[w,setW]=useState(1440);useEffect(()=>{if(!ref.current)return;const ro=new ResizeObserver(entries=>setW(entries[0].contentRect.width));ro.observe(ref.current);return()=>ro.disconnect();},[]);const isM=w<=430;const isT=w<=820&&w>430;const hPad=isM?20:isT?28:40;const renderHeading=()=>{if(!bluePhrase)return heading;const idx=heading.indexOf(bluePhrase);if(idx===-1)return heading;return /*#__PURE__*/_jsxs(_Fragment,{children:[heading.slice(0,idx),/*#__PURE__*/_jsx(\"em\",{style:{fontStyle:\"normal\",color:BLUE},children:bluePhrase}),heading.slice(idx+bluePhrase.length)]});};return /*#__PURE__*/_jsx(\"div\",{ref:ref,style:{width:\"100%\",maxWidth:\"100%\"},children:/*#__PURE__*/_jsxs(\"section\",{style:{width:\"100%\",maxWidth:\"100%\",background:\"#0D1421\",paddingTop:isM?100:isT?108:112,paddingBottom:isM?56:isT?64:80,position:\"relative\",overflow:\"hidden\",overflowX:\"hidden\",fontFamily:\"'Plus Jakarta Sans', sans-serif\",boxSizing:\"border-box\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",bottom:0,left:\"50%\",transform:\"translateX(-50%)\",width:140,height:3,background:\"#EEFF3F\"}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",width:isM?600:800,height:isM?600:800,top:-250,right:-150,background:\"radial-gradient(ellipse at center, rgba(38,99,235,0.15) 0%, transparent 65%)\",pointerEvents:\"none\"}}),/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",zIndex:1,maxWidth:1280,margin:\"0 auto\",padding:`0 ${hPad}px`,boxSizing:\"border-box\",textAlign:\"left\",display:\"flex\",flexDirection:\"column\",alignItems:\"flex-start\"},children:[/*#__PURE__*/_jsx(\"p\",{style:{fontSize:11,fontWeight:700,textTransform:\"uppercase\",color:\"rgba(255,255,255,0.35)\",letterSpacing:\"0.12em\",marginBottom:isM?20:24},children:eyebrowText}),/*#__PURE__*/_jsx(\"h1\",{style:{fontSize:isM?32:isT?\"clamp(28px, 5vw, 44px)\":\"clamp(36px, 5vw, 64px)\",fontWeight:700,color:\"#FFFFFF\",letterSpacing:isM?\"-1.2px\":isT?\"-1.5px\":\"-2px\",lineHeight:isM?1.08:1.05,margin:\"0 0 24px\",maxWidth:isM?600:800},children:renderHeading()}),/*#__PURE__*/_jsx(\"p\",{style:{fontSize:isM?15:17,color:\"rgba(255,255,255,0.52)\",lineHeight:1.45,maxWidth:560,margin:0},children:subheading})]})]})});}addPropertyControls(WVNDarkHero,{eyebrowText:{type:ControlType.String,title:\"Eyebrow\",defaultValue:\"Solutions\"},heading:{type:ControlType.String,title:\"Heading\",defaultValue:\"WVN works where most of your retail sales actually happen.\"},subheading:{type:ControlType.String,title:\"Subheading\",defaultValue:\"Physical retail, brand activations, and live venues all share the same problem: they generate enormous signals and have no system to act on them. WVN is how that changes.\"},bluePhrase:{type:ControlType.String,title:\"Blue Phrase\",defaultValue:\"actually happen.\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"WVNDarkHero\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./WVNDarkHero.map"],"mappings":"sMAAqM,SAAwB,EAAY,CAAC,cAAY,YAA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