{"ast":null,"code":"import _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport _asyncToGenerator from \"@babel/runtime/helpers/esm/asyncToGenerator\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { Fragment as _Fragment } from \"react/jsx-runtime\";\nimport cn from 'classnames';\nimport Typeform from 'components/typeform/Typeform'; // import { getContactPage } from 'lib/api'\n\nimport styles from './ContactPage.module.scss';\n\nvar ContactPage = function ContactPage(slug) {\n  return function (_ref) {\n    var lang = _ref.lang;\n    // const locale = useLocale()\n    // const isDesktop = useIsDesktop()\n    return /*#__PURE__*/_jsx(_Fragment, {\n      children: /*#__PURE__*/_jsx(\"section\", {\n        className: cn(styles.contactPage),\n        children: /*#__PURE__*/_jsx(Typeform, {})\n      })\n    });\n  };\n};\n\nexport function getStaticPropsContactPage(lang) {\n  return /*#__PURE__*/function () {\n    var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(_ref2) {\n      var _ref2$preview, preview, previewData;\n\n      return _regeneratorRuntime.wrap(function _callee$(_context) {\n        while (1) {\n          switch (_context.prev = _context.next) {\n            case 0:\n              _ref2$preview = _ref2.preview, preview = _ref2$preview === void 0 ? false : _ref2$preview, previewData = _ref2.previewData;\n              return _context.abrupt(\"return\", {\n                props: {\n                  lang: lang,\n                  preview: preview,\n                  // ...contactPage,\n                  layoutProps: {// pageTitle: 'TODO(localize) Cities',\n                    // scripts: ['https://embed.typeform.com/embed.js'],\n                  }\n                }\n              });\n\n            case 2:\n            case \"end\":\n              return _context.stop();\n          }\n        }\n      }, _callee);\n    }));\n\n    return function (_x) {\n      return _ref3.apply(this, arguments);\n    };\n  }();\n}\nexport default ContactPage;","map":null,"metadata":{},"sourceType":"module"}