{
  "version": 3,
  "sources": ["ssg:https://framer.com/m/framer/integrations-styles.js@0.2.0", "ssg:https://framerusercontent.com/modules/7GzNx3UWTFiuG1fPp4RN/QyEEgPY53ESHBscFDhFT/OpenTable.js"],
  "sourcesContent": ["import{containerStyles,emptyStateStyle as defaultEmptyStateStyle}from\"https://framer.com/m/framer/default-utils.js@^0.43.0\";export const emptyStateStyle={...containerStyles,...defaultEmptyStateStyle,textAlign:\"center\",padding:15,width:200,height:100,overflow:\"hidden\"};export const neutralStateStyle={...emptyStateStyle,color:\"#09f\",background:\"rgb(0, 153, 255, 0.1)\",borderColor:\"#09f\"};export const stateTitleStyle={fontSize:12,fontWeight:600,margin:0};export const stateParagraphStyle={fontSize:12,maxWidth:200,lineHeight:1.4,margin:\"5px 0 0 0\"};\nexport const __FramerMetadata__ = {\"exports\":{\"neutralStateStyle\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"stateTitleStyle\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"emptyStateStyle\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"stateParagraphStyle\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./styles.map", "import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{motion}from\"framer-motion\";import{containerStyles}from\"https://framer.com/m/framer/default-utils.js@^0.45.0\";import{emptyStateStyle,stateParagraphStyle,stateTitleStyle}from\"https://framer.com/m/framer/integrations-styles.js@0.2.0\";const languages={\"en-US\":\"English\",\"de-DE\":\"German\",\"es-MX\":\"Spanish\",\"fr-CA\":\"French\",\"nl-NL\":\"Dutch\",\"it-IT\":\"Italian\",\"ja-JP\":\"Japanese\"};/**\n * OPENTABLE\n *\n * @framerIntrinsicWidth 224\n * @framerIntrinsicHeight 301\n *\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */ export default function OpenTable({restaurantId,language,style,...props}){return restaurantId?/*#__PURE__*/ _jsx(motion.iframe,{style:{...containerStyles,...style,width:224,height:301},src:`https://www.opentable.com/widget/reservation/canvas?rid=${restaurantId}&type=standard&theme=standard&overlay=false&domain=com&lang=${language}&newtab=true&disablega=false`,frameBorder:0,width:224,height:301,scrolling:\"no\",...props}):/*#__PURE__*/ _jsxs(motion.div,{style:{...emptyStateStyle,...style,width:224,height:301},...props,children:[/*#__PURE__*/ _jsx(\"h1\",{style:stateTitleStyle,children:\"OpenTable\"}),/*#__PURE__*/ _jsx(\"p\",{style:stateParagraphStyle,children:\"Set a restaurant ID in the Properties.\"})]});};addPropertyControls(OpenTable,{restaurantId:{title:\"ID\",type:ControlType.String,placeholder:\"123456\",defaultValue:\"412810\",description:\"Create an [OpenTable](https://www.opentable.com/) account and copy your restaurant ID.\"},language:{title:\"Language\",type:ControlType.Enum,options:Object.keys(languages),optionTitles:Object.values(languages),defaultValue:\"en-US\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"OpenTable\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"224\",\"framerSupportedLayoutWidth\":\"auto\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"301\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./OpenTable.map"],
  "mappings": "qHAAmI,IAAMA,EAAgB,CAAC,GAAGC,EAAgB,GAAGD,EAAuB,UAAU,SAAS,QAAQ,GAAG,MAAM,IAAI,OAAO,IAAI,SAAS,QAAQ,EAAeE,GAAkB,CAAC,GAAGF,EAAgB,MAAM,OAAO,WAAW,wBAAwB,YAAY,MAAM,EAAeG,EAAgB,CAAC,SAAS,GAAG,WAAW,IAAI,OAAO,CAAC,EAAeC,EAAoB,CAAC,SAAS,GAAG,SAAS,IAAI,WAAW,IAAI,OAAO,WAAW,ECAxM,IAAMC,EAAU,CAAC,QAAQ,UAAU,QAAQ,SAAS,QAAQ,UAAU,QAAQ,SAAS,QAAQ,QAAQ,QAAQ,UAAU,QAAQ,UAAU,EAQnd,SAARC,EAA2B,CAAC,aAAAC,EAAa,SAAAC,EAAS,MAAAC,EAAM,GAAGC,CAAK,EAAE,CAAC,OAAOH,EAA2BI,EAAKC,EAAO,OAAO,CAAC,MAAM,CAAC,GAAGC,EAAgB,GAAGJ,EAAM,MAAM,IAAI,OAAO,GAAG,EAAE,IAAI,2DAA2DF,CAAY,+DAA+DC,CAAQ,+BAA+B,YAAY,EAAE,MAAM,IAAI,OAAO,IAAI,UAAU,KAAK,GAAGE,CAAK,CAAC,EAAgBI,EAAMF,EAAO,IAAI,CAAC,MAAM,CAAC,GAAGG,EAAgB,GAAGN,EAAM,MAAM,IAAI,OAAO,GAAG,EAAE,GAAGC,EAAM,SAAS,CAAeC,EAAK,KAAK,CAAC,MAAMK,EAAgB,SAAS,WAAW,CAAC,EAAgBL,EAAK,IAAI,CAAC,MAAMM,EAAoB,SAAS,wCAAwC,CAAC,CAAC,CAAC,CAAC,CAAE,CAAEC,EAAoBZ,EAAU,CAAC,aAAa,CAAC,MAAM,KAAK,KAAKa,EAAY,OAAO,YAAY,SAAS,aAAa,SAAS,YAAY,wFAAwF,EAAE,SAAS,CAAC,MAAM,WAAW,KAAKA,EAAY,KAAK,QAAQ,OAAO,KAAKd,CAAS,EAAE,aAAa,OAAO,OAAOA,CAAS,EAAE,aAAa,OAAO,CAAC,CAAC",
  "names": ["emptyStateStyle", "containerStyles", "neutralStateStyle", "stateTitleStyle", "stateParagraphStyle", "languages", "OpenTable", "restaurantId", "language", "style", "props", "p", "motion", "containerStyles", "u", "emptyStateStyle", "stateTitleStyle", "stateParagraphStyle", "addPropertyControls", "ControlType"]
}
