{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/kegzZsYsxGbkxdxkDXnX/xsJ6HVwaNjccxPVyF4RR/Resy_button_forty_eighth.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";export function ResyButtonFE(){// Effect to load the script and initialize the Resy widget after component mounts\nuseEffect(()=>{// Create script element\nconst script=document.createElement(\"script\");script.src=\"https://widgets.resy.com/embed.js\";script.async=true;script.onload=()=>{// Once script is loaded, initialize the Resy button\nresyWidget.addButton(document.getElementById(\"resyButton-60kpH6NC9z9cm-yaD92GI\"),{venueId:54475,apiKey:\"ga5qMCsXOhJUflnN05nTgeGH7JR69Ati\",replace:true});};// Append the script to the body\ndocument.body.appendChild(script);// Cleanup: remove the script on component unmount\nreturn()=>{document.body.removeChild(script);};},[]);return /*#__PURE__*/_jsx(\"div\",{style:{textAlign:\"center\"},children:/*#__PURE__*/_jsx(\"a\",{href:\"https://resy.com/cities/ny/avra-48thstreet\",id:\"resyButton-60kpH6NC9z9cm-yaD92GI\",children:\"Book your Avra 48th Street reservation on Resy\"})});}\nexport const __FramerMetadata__ = {\"exports\":{\"ResyButtonFE\":{\"type\":\"reactComponent\",\"name\":\"ResyButtonFE\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Resy_button_forty_eighth.map"],
  "mappings": "gDAA+E,SAASA,GAAc,CACtG,OAAAC,EAAU,IAAI,CACd,IAAMC,EAAO,SAAS,cAAc,QAAQ,EAAE,OAAAA,EAAO,IAAI,oCAAoCA,EAAO,MAAM,GAAKA,EAAO,OAAO,IAAI,CACjI,WAAW,UAAU,SAAS,eAAe,kCAAkC,EAAE,CAAC,QAAQ,MAAM,OAAO,mCAAmC,QAAQ,EAAI,CAAC,CAAE,EACzJ,SAAS,KAAK,YAAYA,CAAM,EAC1B,IAAI,CAAC,SAAS,KAAK,YAAYA,CAAM,CAAE,CAAE,EAAE,CAAC,CAAC,EAAsBC,EAAK,MAAM,CAAC,MAAM,CAAC,UAAU,QAAQ,EAAE,SAAsBA,EAAK,IAAI,CAAC,KAAK,6CAA6C,GAAG,mCAAmC,SAAS,gDAAgD,CAAC,CAAC,CAAC,CAAE",
  "names": ["ResyButtonFE", "ue", "script", "p"]
}
