{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/Et29Bmd97gXC5bZoOcC9/zytU5NG5I7oSzhrXpemH/Resy_button_rc.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";export function ResyButtonRC(){// 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-8r-92sA7R4nDwR7wRj6zq\"),{venueId:59999,apiKey:\"TjIM4nbTsA2ECvOsfMzO4HjpRco71SjB\",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-rockefeller-center\",id:\"resyButton-8r-92sA7R4nDwR7wRj6zq\",children:\"Book your Avra Rockefeller Center reservation on Resy\"})});}\nexport const __FramerMetadata__ = {\"exports\":{\"ResyButtonRC\":{\"type\":\"reactComponent\",\"name\":\"ResyButtonRC\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Resy_button_rc.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,qDAAqD,GAAG,mCAAmC,SAAS,uDAAuD,CAAC,CAAC,CAAC,CAAE",
  "names": ["ResyButtonRC", "ue", "script", "p"]
}
