{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/hW06uMVvs8YBc00Qv9my/g4CxQkCY0akHBmPSPTf4/Activation_Key_1.js"],
  "sourcesContent": ["import { jsx as _jsx } from \"react/jsx-runtime\";\nexport function withUrlVariable(Component) {\n  return props => {\n    const key = \"key\" // What you will listen for in the url\n    ;\n    const url = new URL(window.location.href);\n    const value = url.searchParams.get(key) || `Add ?${key}=test to the url`;\n    return /*#__PURE__*/_jsx(Component, {\n      text: value,\n      ...props\n    });\n  };\n}\nexport const __FramerMetadata__ = {\n  \"exports\": {\n    \"withUrlVariable\": {\n      \"type\": \"reactHoc\",\n      \"name\": \"withUrlVariable\",\n      \"annotations\": {\n        \"framerContractVersion\": \"1\"\n      }\n    },\n    \"__FramerMetadata__\": {\n      \"type\": \"variable\"\n    }\n  }\n};\n//# sourceMappingURL=./Activation_Key_1.map"],
  "mappings": "kFACO,SAASA,EAAgBC,EAAW,CACzC,OAAOC,GAAS,CACd,IAAMC,EAAM,MAGNC,EADM,IAAI,IAAIC,EAAO,SAAS,IAAI,EACtB,aAAa,IAAIF,CAAG,GAAK,QAAQA,oBACnD,OAAoBG,EAAKL,EAAW,CAClC,KAAMG,EACN,GAAGF,CACL,CAAC,CACH,CACF",
  "names": ["withUrlVariable", "Component", "props", "key", "value", "window", "p"]
}
