{"ast":null,"code":"import _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport _asyncToGenerator from \"@babel/runtime/helpers/esm/asyncToGenerator\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nimport { Fragment as _Fragment } from \"react/jsx-dev-runtime\";\n\nvar _jsxFileName = \"/home/gkkdzdg/www/src/layouts/localized/contact/ContactPage.js\",\n    _this = this;\n\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__*/_jsxDEV(_Fragment, {\n      children: /*#__PURE__*/_jsxDEV(\"section\", {\n        className: cn(styles.contactPage),\n        children: /*#__PURE__*/_jsxDEV(Typeform, {}, void 0, false, {\n          fileName: _jsxFileName,\n          lineNumber: 19,\n          columnNumber: 4\n        }, _this)\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 15,\n        columnNumber: 3\n      }, _this)\n    }, void 0, false);\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":{"version":3,"sources":["/home/gkkdzdg/www/src/layouts/localized/contact/ContactPage.js"],"names":["cn","Typeform","styles","ContactPage","slug","lang","contactPage","getStaticPropsContactPage","preview","previewData","props","layoutProps"],"mappings":";;;;;;;;AAAA,OAAOA,EAAP,MAAe,YAAf;AACA,OAAOC,QAAP,MAAqB,8BAArB,C,CACA;;AACA,OAAOC,MAAP,MAAmB,2BAAnB;;AAIA,IAAMC,WAAW,GAAG,SAAdA,WAAc,CAACC,IAAD;AAAA,SAAU,gBAAe;AAAA,QAAZC,IAAY,QAAZA,IAAY;AAE5C;AACA;AAEA,wBAAQ;AAAA,6BAEP;AACC,QAAA,SAAS,EAAEL,EAAE,CAACE,MAAM,CAACI,WAAR,CADd;AAAA,+BAIC,QAAC,QAAD;AAAA;AAAA;AAAA;AAAA;AAJD;AAAA;AAAA;AAAA;AAAA;AAFO,qBAAR;AAUA,GAfmB;AAAA,CAApB;;AAiBA,OAAO,SAASC,yBAAT,CAAmCF,IAAnC,EAAyC;AAC/C;AAAA,yEAAO;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA,oCAASG,OAAT,EAASA,OAAT,8BAAmB,KAAnB,kBAA0BC,WAA1B,SAA0BA,WAA1B;AAAA,+CAGC;AACNC,gBAAAA,KAAK,EAAE;AACNL,kBAAAA,IAAI,EAAJA,IADM;AACAG,kBAAAA,OAAO,EAAPA,OADA;AAEN;AACAG,kBAAAA,WAAW,EAAE,CACZ;AACA;AAFY;AAHP;AADD,eAHD;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,KAAP;;AAAA;AAAA;AAAA;AAAA;AAcA;AAED,eAAeR,WAAf","sourcesContent":["import cn from 'classnames'\nimport Typeform from 'components/typeform/Typeform'\n// import { getContactPage } from 'lib/api'\nimport styles from './ContactPage.module.scss'\n\n\n\nconst ContactPage = (slug) => ({ lang, }) => {\n\n\t// const locale = useLocale()\n\t// const isDesktop = useIsDesktop()\n\n\treturn (<>\n\n\t\t<section\n\t\t\tclassName={cn(styles.contactPage)}\n\t\t>\n\t\t\t{/* <h1 className={cn('h--2')}>{'Contact'}</h1> */}\n\t\t\t<Typeform />\n\t\t</section>\n\n\t</>)\n}\n\nexport function getStaticPropsContactPage(lang) {\n\treturn async ({ preview = false, previewData }) => {\n\t\t// const contactPage = await getContactPage(lang)\n\n\t\treturn {\n\t\t\tprops: {\n\t\t\t\tlang, preview,\n\t\t\t\t// ...contactPage,\n\t\t\t\tlayoutProps: {\n\t\t\t\t\t// pageTitle: 'TODO(localize) Cities',\n\t\t\t\t\t// scripts: ['https://embed.typeform.com/embed.js'],\n\t\t\t\t},\n\t\t\t},\n\t\t}\n\t}\n}\n\nexport default ContactPage\n"]},"metadata":{},"sourceType":"module"}