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AA,EAAAA,MAEXC,EAAY,SAAC3B,EAAmB4B,GAApB,OACvBC,EAAAA,EAAAA,KACEC,EAAAA,EAAAA,KAAgBC,EAAAA,EAAAA,QAChBC,EAAAA,EAAAA,IAAgBhC,EAAO4B,IACvBK,EAAAA,EAAAA,IAAsBV,GAJD,ECuBzB,QApBqB,SAACvB,EAAmB4B,GACvC,IAAMM,EAAQP,EAAU3B,EAAO4B,GAI/B,OAFAL,EAAeY,IAAIV,GAEZ,kBACL,gBAAC,KAAD,CAAUS,MAAOA,GACf,gBAAC,UAAD,KACE,gBAAC,UAAD,KACE,gBAAC,UAAD,KACE,gBAAC,IAAD,CAAQE,OAAQpC,EAAMoC,OAAQC,OAAQrC,EAAMqC,OAAQC,iBAAkBtC,EAAMsC,kBAC1E,gBAAC,KAAD,UANL,CAaR,EC9BD,ICDAC,IAAAA,SAAsB,CAACC,aAAAA,G,mCCFvB,SAAgB,aAAe,yCAAyC,MAAQ,kCAAkC,SAAW,qC","sources":["webpack://hichee/./app/rescript/bundles/pages-not-found/ui/NotFoundContainer/NotFoundContainer.bs.js","webpack://hichee/./app/rescript/styleguide/svgs/NotFoundIllustration.bs.js","webpack://hichee/./app/rescript/bundles/pages-not-found/store.js","webpack://hichee/./app/rescript/bundles/pages-not-found/NotFoundPage.jsx","webpack://hichee/./app/rescript/bundles/pages-not-found/ror_components/NotFoundPage.client.jsx","webpack://hichee/./app/ror-generated-packs/generated/NotFoundPage.js","webpack://hichee/./app/rescript/bundles/pages-not-found/ui/NotFoundContainer/NotFoundContainer.scss?0d38"],"sourcesContent":["// Generated by ReScript, PLEASE EDIT WITH CARE\n'use strict';\n\nvar A = require(\"../../../../styleguide/components/Link/A.bs.js\");\nvar Cx = require(\"rescript-classnames/src/Cx.bs.js\");\nvar React = require(\"react\");\nvar ReactIntl = require(\"react-intl\");\nvar NotFoundIllustration = require(\"../../../../styleguide/svgs/NotFoundIllustration.bs.js\");\nvar NotFoundContainerScss = require(\"./NotFoundContainer.scss\").default;\n\nvar css = NotFoundContainerScss;\n\nfunction NotFoundContainer(props) {\n  return React.createElement(\"div\", {\n              className: Cx.cx([\n                    \"container\",\n                    css.notFoundPage\n                  ])\n            }, React.createElement(NotFoundIllustration.make, {}), React.createElement(\"h1\", {\n                  className: css.title\n                }, React.createElement(ReactIntl.FormattedMessage, {\n                      id: \"not-found-page.title\",\n                      defaultMessage: \"Ooops! Page not found\"\n                    })), React.createElement(\"p\", {\n                  className: css.subtitle\n                }, React.createElement(ReactIntl.FormattedMessage, {\n                      id: \"not-found-page.subtitle\",\n                      defaultMessage: \"The page you're looking for is on vacation.\"\n                    }), React.createElement(\"br\", undefined), React.createElement(ReactIntl.FormattedMessage, {\n                      id: \"not-found-page.subtitle-second-line\",\n                      defaultMessage: \"We suggest you \"\n                    }), React.createElement(A.make, {\n                      href: \"/\",\n                      style: /* Primary */2,\n                      children: React.createElement(ReactIntl.FormattedMessage, {\n                            id: \"not-found-page.home-link\",\n                            defaultMessage: \"back to home\"\n                          })\n                    })));\n}\n\nvar make = NotFoundContainer;\n\nvar $$default = NotFoundContainer;\n\nexports.css = css;\nexports.make = make;\nexports.$$default = $$default;\nexports.default = $$default;\nexports.__esModule = true;\n/* css Not a pure module */\n","// Generated by ReScript, PLEASE EDIT WITH CARE\n'use strict';\n\nvar Svg = require(\"../components/Svg/Svg.bs.js\");\nvar Route = require(\"../../Route.bs.js\");\nvar React = require(\"react\");\n\nfunction NotFoundIllustration(props) {\n  var title = props.title;\n  var title$1 = title !== undefined ? title : \"404\";\n  return React.createElement(Svg.$$Image.make, {\n              src: Route.cdnEndpointUrl(\"/svgs/not_found_illustration.svg\"),\n              title: title$1,\n              className: props.className\n            });\n}\n\nvar make = NotFoundIllustration;\n\nexports.make = make;\n/* Svg Not a pure module */\n","/* @flow */\n\nimport { combineReducers, createStore } from 'redux';\nimport createSagaMiddleware from 'redux-saga';\n\nimport { withLayoutReducers, withLayoutState, withLayoutSagas, withLayoutMiddlewares } from 'layout/store';\n\nimport type { RailsProps, RailsContext } from './types';\n\nexport const sagaMiddleware = createSagaMiddleware();\n\nexport const rootSaga = withLayoutSagas();\n\nexport const initStore = (props: RailsProps, context: RailsContext) =>\n  createStore(\n    combineReducers(withLayoutReducers()),\n    withLayoutState(props, context),\n    withLayoutMiddlewares(sagaMiddleware),\n  );\n","/* @flow */\n\nimport * as React from 'react';\nimport { Provider } from 'react-redux';\n\nimport NotFoundContainer from 'app/rescript/bundles/pages-not-found/ui/NotFoundContainer/NotFoundContainer.bs.js';\n\nimport IntlProviderWrapper from 'app/rescript/i18n/IntlProviderWrapper.bs.js';\nimport ScreenSizeContext from 'app/rescript/contexts/ScreenSizeContext.bs.js';\nimport AdBlockContext from 'app/rescript/contexts/AdBlockContext.bs.js';\n\nimport Layout from 'layout';\nimport type { RailsProps, RailsContext } from './types';\n\nimport { initStore, rootSaga, sagaMiddleware } from './store';\n\nconst NotFoundPage = (props: RailsProps, context: RailsContext) => {\n  const store = initStore(props, context);\n\n  sagaMiddleware.run(rootSaga);\n\n  return () => (\n    <Provider store={store}>\n      <IntlProviderWrapper>\n        <ScreenSizeContext>\n          <AdBlockContext>\n            <Layout navbar={props.navbar} alerts={props.alerts} impersonatedUser={props.impersonatedUser}>\n              <NotFoundContainer />\n            </Layout>\n          </AdBlockContext>\n        </ScreenSizeContext>\n      </IntlProviderWrapper>\n    </Provider>\n  );\n};\n\nexport default NotFoundPage;\n","/* @flow */\n\nimport NotFoundPage from '../NotFoundPage';\n\nexport default NotFoundPage;\n","import ReactOnRails from 'react-on-rails';\nimport NotFoundPage from '../../rescript/bundles/pages-not-found/ror_components/NotFoundPage.client.jsx';\n\nReactOnRails.register({NotFoundPage});\n","// extracted by mini-css-extract-plugin\nexport default {\"notFoundPage\":\"NotFoundContainer__notFoundPage__DVZN1\",\"title\":\"NotFoundContainer__title__hP_9C\",\"subtitle\":\"NotFoundContainer__subtitle__O7f9i\"};"],"names":["A","require","Cx","React","ReactIntl","NotFoundIllustration","css","NotFoundContainer","props","createElement","className","cx","notFoundPage","make","title","FormattedMessage","id","defaultMessage","subtitle","undefined","href","style","children","$$default","exports","Svg","Route","title$1","$$Image","src","cdnEndpointUrl","sagaMiddleware","createSagaMiddleware","rootSaga","withLayoutSagas","initStore","context","createStore","combineReducers","withLayoutReducers","withLayoutState","withLayoutMiddlewares","store","run","navbar","alerts","impersonatedUser","ReactOnRails","NotFoundPage"],"sourceRoot":""}