{"version":3,"file":"shared-lib.Cw0stdra.mjs","names":["React.useId","__esmMin","window","init_npm_react_18_3_1","le","init_ssg_sandbox_shims","ie","init_jsx_runtime","RenderTarget","addPropertyControls","ControlType","init_framer_DKgW_P28","HypePageHeaderTone","owner","canvas","w","heroVh","init_HypeHeaderContext"],"sources":["https:/framerusercontent.com/modules/a5BczYEczBFzJGZsyTCC/HjjsT8bWQphJoWyqLQ7i/HypeHeaderContext.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";/** @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n * @framerIntrinsicWidth 1\n * @framerIntrinsicHeight 1\n */export default function HypePageHeaderTone({heroVh=0}){const owner=React.useId();const canvas=RenderTarget.current()===RenderTarget.canvas;React.useLayoutEffect(()=>{if(canvas)return;const w=window;w.__hypeHeaderContext={owner,heroVh};w.dispatchEvent(new Event(\"hype:page-header\"));return()=>{if(w.__hypeHeaderContext?.owner===owner){w.__hypeHeaderContext={owner:\"\",heroVh:0};w.dispatchEvent(new Event(\"hype:page-header\"));}};},[owner,heroVh,canvas]);return /*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{display:\"none\"}});}addPropertyControls(HypePageHeaderTone,{heroVh:{type:ControlType.Number,title:\"Image hero (vh)\",defaultValue:0,min:0,max:100,step:1}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"HypePageHeaderTone\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerIntrinsicWidth\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./HypeHeaderContext.map"],"mappings":"A,kMAIG,SAAwBY,EAAmB,CAAC,SAAO,GAAG,CAAC,IAAMC,EAAMb,EAAY,EAAQc,EAAON,EAAa,QAAQ,IAAIA,EAAa,OAA+T,OAAxTJ,MAA0B,CAAC,GAAGU,EAAO,OAAO,IAAMC,EAAEb,EAA2F,MAApF,GAAE,oBAAoB,CAAC,QAAM,QAAM,EAAEa,EAAE,cAAc,IAAI,MAAM,kBAAkB,CAAC,MAAY,CAAIA,EAAE,qBAAqB,QAAQF,IAAO,EAAE,oBAAoB,CAAC,MAAM,GAAG,OAAO,CAAC,EAAEE,EAAE,cAAc,IAAI,MAAM,kBAAkB,CAAC,EAAG,CAAE,EAAE,CAACF,EAAMG,EAAOF,CAAM,CAAC,EAAsB,gBAAK,OAAO,CAAC,cAAc,OAAO,MAAM,CAAC,QAAQ,MAAM,CAAC,CAAC,CAAE,C,8CAACL,EAAoBG,EAAmB,CAAC,OAAO,CAAC,KAAKF,EAAY,OAAO,MAAM,kBAAkB,aAAa,EAAE,IAAI,EAAE,IAAI,IAAI,KAAK,CAAC,CAAC,CAAC,C"}