{"version":3,"file":"OriginField.DulMOUlY.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/pOOWy2nXWXqUurjJbT3b/2WNYZV5cZqByH8xf1kZe/OriginField.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useState}from\"react\";/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function OriginField(){const[origin,setOrigin]=useState(\"\");useEffect(()=>{const params=new URLSearchParams(window.location.search);setOrigin(params.get(\"origin\")??\"direct\");},[]);return /*#__PURE__*/_jsx(\"input\",{type:\"hidden\",name:\"origin\",value:origin,readOnly:true});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"OriginField\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./OriginField.map"],"mappings":"uIAGG,SAAwB,GAAa,CAAC,GAAK,CAAC,EAAO,GAAWA,EAAS,EAAE,EAA0H,OAAxH,MAAc,CAAC,IAAM,EAAO,IAAI,gBAAgB,EAAO,SAAS,MAAM,EAAE,EAAU,EAAO,IAAI,QAAQ,GAAG,QAAQ,CAAE,EAAE,CAAC,CAAC,EAAsB,EAAK,QAAQ,CAAC,KAAK,SAAS,KAAK,SAAS,MAAM,EAAO,SAAS,EAAI,CAAC,CAAE,qBAHvP,IAAsC"}