{"version":3,"file":"HeroVideo.BiQiNEIA.mjs","names":[],"sources":["https:/framerusercontent.com/modules/pQ7vd1GWvfyRkBckWDBG/uMHQpXtYsdlQIYoc9VYZ/HeroVideo.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";/**\n * Full-bleed background video with a readable scrim.\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerIntrinsicWidth 1200\n * @framerIntrinsicHeight 720\n */export default function HeroVideo(props){const{src,poster,scrim,tint,focusX,focusY}=props;const isStatic=useIsStaticRenderer();const media={position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",objectFit:\"cover\",objectPosition:`${focusX}% ${focusY}%`};return /*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",inset:0,overflow:\"hidden\",background:\"#0E2419\"},children:[isStatic?poster?/*#__PURE__*/_jsx(\"img\",{src:poster,alt:\"\",style:media}):null:/*#__PURE__*/_jsx(\"video\",{src:src,poster:poster||undefined,autoPlay:true,muted:true,loop:true,playsInline:true,preload:\"auto\",style:media}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,background:tint,mixBlendMode:\"multiply\",opacity:.55}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,background:`linear-gradient(180deg, rgba(6, 18, 12, ${scrim*.9}) 0%, rgba(6, 18, 12, ${scrim*.35}) 38%, rgba(6, 18, 12, ${scrim*.85}) 100%)`}})]});}HeroVideo.defaultProps={src:\"https://framerusercontent.com/assets/U18SLEBrRn2jgr5RPbhLIyp9so.mp4\",poster:\"https://framerusercontent.com/images/mdNszqmYEy6ZBfaugiWGQAYp9U.jpg\",scrim:.72,tint:\"#12301F\",focusX:50,focusY:45};addPropertyControls(HeroVideo,{src:{type:ControlType.String,title:\"Video\"},poster:{type:ControlType.String,title:\"Poster\"},scrim:{type:ControlType.Number,title:\"Scrim\",min:0,max:1,step:.01},tint:{type:ControlType.Color,title:\"Tint\"},focusX:{type:ControlType.Number,title:\"Focus X\",min:0,max:100,step:1},focusY:{type:ControlType.Number,title:\"Focus Y\",min:0,max:100,step:1}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"HeroVideo\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerIntrinsicWidth\":\"1200\",\"framerSupportedLayoutHeight\":\"any\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"720\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./HeroVideo.map"],"mappings":"2KAOG,SAAwB,EAAU,EAAM,CAAC,GAAK,CAAC,MAAI,SAAO,QAAM,OAAK,SAAO,UAAQ,EAAY,EAAS,EAAoB,EAAQ,EAAM,CAAC,SAAS,WAAW,MAAM,EAAE,MAAM,OAAO,OAAO,OAAO,UAAU,QAAQ,eAAe,GAAG,EAAO,IAAI,EAAO,EAAE,EAAE,OAAoB,EAAM,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,MAAM,EAAE,SAAS,SAAS,WAAW,SAAS,EAAE,SAAS,CAAC,EAAS,EAAoB,EAAK,MAAM,CAAC,IAAI,EAAO,IAAI,GAAG,MAAM,CAAK,CAAC,EAAE,KAAkB,EAAK,QAAQ,CAAK,MAAI,OAAO,GAAQ,IAAA,GAAU,SAAS,GAAK,MAAM,GAAK,KAAK,GAAK,YAAY,GAAK,QAAQ,OAAO,MAAM,CAAK,CAAC,EAAe,EAAK,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,MAAM,EAAE,WAAW,EAAK,aAAa,WAAW,QAAQ,GAAG,CAAC,CAAC,EAAe,EAAK,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,MAAM,EAAE,WAAW,2CAA2C,EAAM,GAAG,wBAAwB,EAAM,IAAI,yBAAyB,EAAM,IAAI,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,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