Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 

15683 linhas
593 KiB

  1. (window["webpackJsonp"] = window["webpackJsonp"] || []).push([["static\\development\\pages\\_app.js"],{
  2. /***/ "./assets/jss/nextjs-material-kit.js":
  3. /*!*******************************************!*\
  4. !*** ./assets/jss/nextjs-material-kit.js ***!
  5. \*******************************************/
  6. /*! exports provided: hexToRGBAlpha, drawerWidth, transition, container, conatinerFluid, boxShadow, card, defaultFont, primaryColor, warningColor, dangerColor, successColor, infoColor, roseColor, grayColor, primaryBoxShadow, infoBoxShadow, successBoxShadow, warningBoxShadow, dangerBoxShadow, roseBoxShadow, warningCardHeader, successCardHeader, dangerCardHeader, infoCardHeader, primaryCardHeader, roseCardHeader, cardActions, cardHeader, defaultBoxShadow, title, cardTitle, cardLink, cardSubtitle */
  7. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  8. "use strict";
  9. __webpack_require__.r(__webpack_exports__);
  10. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hexToRGBAlpha", function() { return hexToRGBAlpha; });
  11. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "drawerWidth", function() { return drawerWidth; });
  12. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "transition", function() { return transition; });
  13. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "container", function() { return container; });
  14. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "conatinerFluid", function() { return conatinerFluid; });
  15. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "boxShadow", function() { return boxShadow; });
  16. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "card", function() { return card; });
  17. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "defaultFont", function() { return defaultFont; });
  18. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "primaryColor", function() { return primaryColor; });
  19. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "warningColor", function() { return warningColor; });
  20. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "dangerColor", function() { return dangerColor; });
  21. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "successColor", function() { return successColor; });
  22. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "infoColor", function() { return infoColor; });
  23. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "roseColor", function() { return roseColor; });
  24. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "grayColor", function() { return grayColor; });
  25. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "primaryBoxShadow", function() { return primaryBoxShadow; });
  26. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "infoBoxShadow", function() { return infoBoxShadow; });
  27. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "successBoxShadow", function() { return successBoxShadow; });
  28. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "warningBoxShadow", function() { return warningBoxShadow; });
  29. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "dangerBoxShadow", function() { return dangerBoxShadow; });
  30. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "roseBoxShadow", function() { return roseBoxShadow; });
  31. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "warningCardHeader", function() { return warningCardHeader; });
  32. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "successCardHeader", function() { return successCardHeader; });
  33. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "dangerCardHeader", function() { return dangerCardHeader; });
  34. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "infoCardHeader", function() { return infoCardHeader; });
  35. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "primaryCardHeader", function() { return primaryCardHeader; });
  36. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "roseCardHeader", function() { return roseCardHeader; });
  37. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "cardActions", function() { return cardActions; });
  38. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "cardHeader", function() { return cardHeader; });
  39. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "defaultBoxShadow", function() { return defaultBoxShadow; });
  40. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "title", function() { return title; });
  41. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "cardTitle", function() { return cardTitle; });
  42. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "cardLink", function() { return cardLink; });
  43. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "cardSubtitle", function() { return cardSubtitle; });
  44. /* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ "./node_modules/@babel/runtime/helpers/esm/defineProperty.js");
  45. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
  46. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
  47. var hexColorToRGB = function hexColorToRGB(hexColor) {
  48. var detectShorthand = /^#?([a-f\d])([a-f\d])([a-f\d])$/i; // #000 vs #000000
  49. hexColor = hexColor.replace(detectShorthand, function (m, r, g, b) {
  50. return r + r + g + g + b + b;
  51. });
  52. var hex_array = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hexColor); // #000000 to #ffffff
  53. return hex_array ? {
  54. r: parseInt(hex_array[1], 16),
  55. // 0-255
  56. g: parseInt(hex_array[2], 16),
  57. // 0-255
  58. b: parseInt(hex_array[3], 16) // 0-255
  59. } : null;
  60. };
  61. var hexToRGBAlpha = function hexToRGBAlpha(hexColor, alpha) {
  62. var rgb = hexColorToRGB(hexColor);
  63. return "rgba(".concat(rgb.r, ",").concat(rgb.g, ",").concat(rgb.b, ",").concat(alpha, ")");
  64. };
  65. var drawerWidth = 260;
  66. var transition = {
  67. transition: "all 0.33s cubic-bezier(0.685, 0.0473, 0.346, 1)"
  68. };
  69. var conatinerFluid = {
  70. paddingRight: "15px",
  71. paddingLeft: "15px",
  72. marginRight: "auto",
  73. marginLeft: "auto",
  74. width: "100%"
  75. };
  76. var container = _objectSpread({}, conatinerFluid, {
  77. "@media (min-width: 576px)": {
  78. maxWidth: "540px"
  79. },
  80. "@media (min-width: 768px)": {
  81. maxWidth: "720px"
  82. },
  83. "@media (min-width: 992px)": {
  84. maxWidth: "960px"
  85. },
  86. "@media (min-width: 1200px)": {
  87. maxWidth: "1140px"
  88. }
  89. });
  90. var boxShadow = {
  91. boxShadow: "0 10px 30px -12px rgba(0, 0, 0, 0.42), 0 4px 25px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2)"
  92. };
  93. var card = {
  94. display: "inline-block",
  95. position: "relative",
  96. width: "100%",
  97. margin: "25px 0",
  98. boxShadow: "0 1px 4px 0 rgba(0, 0, 0, 0.14)",
  99. borderRadius: "3px",
  100. color: "rgba(0, 0, 0, 0.87)",
  101. background: "#fff"
  102. };
  103. var defaultFont = {
  104. fontFamily: '"Roboto", "Helvetica", "Arial", sans-serif',
  105. fontWeight: "300",
  106. lineHeight: "1.5em"
  107. };
  108. var primaryColor = "#212121";
  109. var warningColor = "#ff9800";
  110. var dangerColor = "#f44336";
  111. var successColor = "#4caf50";
  112. var infoColor = "#212121";
  113. var roseColor = "#e91e63";
  114. var grayColor = "#ffffff";
  115. var primaryBoxShadow = {
  116. boxShadow: "0 12px 20px -10px ".concat(hexToRGBAlpha(primaryColor, 0.28), ", 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px ").concat(hexToRGBAlpha(primaryColor, 0.2))
  117. };
  118. var infoBoxShadow = {
  119. boxShadow: "0 12px 20px -10px ".concat(hexToRGBAlpha(infoColor, 0.28), ", 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px ").concat(hexToRGBAlpha(infoColor, 0.2))
  120. };
  121. var successBoxShadow = {
  122. boxShadow: "0 12px 20px -10px ".concat(hexToRGBAlpha(successColor, 0.28), ", 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px ").concat(hexToRGBAlpha(successColor, 0.2))
  123. };
  124. var warningBoxShadow = {
  125. boxShadow: "0 12px 20px -10px ".concat(hexToRGBAlpha(warningColor, 0.28), ", 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px ").concat(hexToRGBAlpha(warningColor, 0.2))
  126. };
  127. var dangerBoxShadow = {
  128. boxShadow: "0 12px 20px -10px ".concat(hexToRGBAlpha(dangerColor, 0.28), ", 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px ").concat(hexToRGBAlpha(dangerColor, 0.2))
  129. };
  130. var roseBoxShadow = {
  131. boxShadow: "0 4px 20px 0px ".concat(hexToRGBAlpha("#000", 0.14), ", 0 7px 10px -5px ").concat(hexToRGBAlpha(roseColor, 0.4))
  132. };
  133. var warningCardHeader = _objectSpread({
  134. color: "#fff",
  135. background: "linear-gradient(60deg, #ffa726, #fb8c00)"
  136. }, warningBoxShadow);
  137. var successCardHeader = _objectSpread({
  138. color: "#fff",
  139. background: "linear-gradient(60deg, #66bb6a, #43a047)"
  140. }, successBoxShadow);
  141. var dangerCardHeader = _objectSpread({
  142. color: "#fff",
  143. background: "linear-gradient(60deg, #ef5350, #e53935)"
  144. }, dangerBoxShadow);
  145. var infoCardHeader = _objectSpread({
  146. color: "#fff",
  147. background: "#212121"
  148. }, infoBoxShadow);
  149. var primaryCardHeader = _objectSpread({
  150. color: "#fff",
  151. background: "linear-gradient(60deg, #ab47bc, #8e24aa)"
  152. }, primaryBoxShadow);
  153. var roseCardHeader = _objectSpread({
  154. color: "#fff",
  155. background: "linear-gradient(60deg, #ec407a, #d81b60)"
  156. }, roseBoxShadow);
  157. var cardActions = _objectSpread({
  158. margin: "0 20px 10px",
  159. paddingTop: "10px",
  160. borderTop: "1px solid #eeeeee",
  161. height: "auto"
  162. }, defaultFont);
  163. var cardHeader = {
  164. margin: "-30px 15px 0",
  165. borderRadius: "3px",
  166. padding: "15px"
  167. };
  168. var defaultBoxShadow = {
  169. border: "0",
  170. borderRadius: "3px",
  171. boxShadow: "0 10px 20px -12px rgba(0, 0, 0, 0.42), 0 3px 20px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2)",
  172. padding: "10px 0",
  173. transition: "all 150ms ease 0s"
  174. };
  175. var title = {
  176. color: "#ffffff",
  177. margin: "1.75rem 0 0.875rem",
  178. textDecoration: "none",
  179. fontWeight: "700",
  180. fontFamily: "\"Roboto Slab\", \"Times New Roman\", serif"
  181. };
  182. var cardTitle = _objectSpread({}, title, {
  183. marginTop: ".625rem"
  184. });
  185. var cardLink = {
  186. "& + $cardLink": {
  187. marginLeft: "1.25rem"
  188. }
  189. };
  190. var cardSubtitle = {
  191. marginBottom: "0",
  192. marginTop: "-.375rem"
  193. };
  194. /***/ }),
  195. /***/ "./components/PageChange/PageChange.js":
  196. /*!*********************************************!*\
  197. !*** ./components/PageChange/PageChange.js ***!
  198. \*********************************************/
  199. /*! exports provided: default */
  200. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  201. "use strict";
  202. __webpack_require__.r(__webpack_exports__);
  203. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return PageChange; });
  204. /* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ "./node_modules/@babel/runtime/helpers/esm/defineProperty.js");
  205. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
  206. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  207. /* harmony import */ var _material_ui_core_styles__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @material-ui/core/styles */ "./node_modules/@material-ui/core/esm/styles/index.js");
  208. /* harmony import */ var _material_ui_core_CircularProgress__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @material-ui/core/CircularProgress */ "./node_modules/@material-ui/core/esm/CircularProgress/index.js");
  209. /* harmony import */ var assets_jss_nextjs_material_kit_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! assets/jss/nextjs-material-kit.js */ "./assets/jss/nextjs-material-kit.js");
  210. var _jsxFileName = "C:\\Thamrin Brothers\\tbg-ecomm-nextjs\\components\\PageChange\\PageChange.js";
  211. var __jsx = react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement;
  212. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
  213. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
  214. // @material-ui/core components
  215. // core components
  216. var useStyles = Object(_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_2__["makeStyles"])({
  217. progress: {
  218. color: assets_jss_nextjs_material_kit_js__WEBPACK_IMPORTED_MODULE_4__["infoColor"],
  219. width: "6rem !important",
  220. height: "6rem !important"
  221. },
  222. wrapperDiv: {
  223. margin: "100px auto",
  224. padding: "0px",
  225. maxWidth: "360px",
  226. textAlign: "center",
  227. position: "relative",
  228. zIndex: "9999",
  229. top: "0"
  230. },
  231. iconWrapper: {
  232. display: "block"
  233. },
  234. title: _objectSpread({}, assets_jss_nextjs_material_kit_js__WEBPACK_IMPORTED_MODULE_4__["title"], {
  235. color: "#FFFFFF"
  236. })
  237. });
  238. function PageChange(props) {
  239. var classes = useStyles();
  240. return __jsx("div", {
  241. __self: this,
  242. __source: {
  243. fileName: _jsxFileName,
  244. lineNumber: 37,
  245. columnNumber: 5
  246. }
  247. }, __jsx("div", {
  248. className: classes.wrapperDiv,
  249. __self: this,
  250. __source: {
  251. fileName: _jsxFileName,
  252. lineNumber: 38,
  253. columnNumber: 7
  254. }
  255. }, __jsx("div", {
  256. className: classes.iconWrapper,
  257. __self: this,
  258. __source: {
  259. fileName: _jsxFileName,
  260. lineNumber: 39,
  261. columnNumber: 9
  262. }
  263. }, __jsx(_material_ui_core_CircularProgress__WEBPACK_IMPORTED_MODULE_3__["default"], {
  264. className: classes.progress,
  265. __self: this,
  266. __source: {
  267. fileName: _jsxFileName,
  268. lineNumber: 40,
  269. columnNumber: 11
  270. }
  271. })), __jsx("div", {
  272. align: "center",
  273. color: "white",
  274. __self: this,
  275. __source: {
  276. fileName: _jsxFileName,
  277. lineNumber: 42,
  278. columnNumber: 9
  279. }
  280. }, __jsx("h4", {
  281. __self: this,
  282. __source: {
  283. fileName: _jsxFileName,
  284. lineNumber: 43,
  285. columnNumber: 11
  286. }
  287. }, "Thamrin Group - Generasi ke Generasi"))));
  288. }
  289. /***/ }),
  290. /***/ "./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js":
  291. /*!*********************************************************************!*\
  292. !*** ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js ***!
  293. \*********************************************************************/
  294. /*! exports provided: default */
  295. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  296. "use strict";
  297. __webpack_require__.r(__webpack_exports__);
  298. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _arrayLikeToArray; });
  299. function _arrayLikeToArray(arr, len) {
  300. if (len == null || len > arr.length) len = arr.length;
  301. for (var i = 0, arr2 = new Array(len); i < len; i++) {
  302. arr2[i] = arr[i];
  303. }
  304. return arr2;
  305. }
  306. /***/ }),
  307. /***/ "./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js":
  308. /*!*******************************************************************!*\
  309. !*** ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js ***!
  310. \*******************************************************************/
  311. /*! exports provided: default */
  312. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  313. "use strict";
  314. __webpack_require__.r(__webpack_exports__);
  315. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _arrayWithHoles; });
  316. function _arrayWithHoles(arr) {
  317. if (Array.isArray(arr)) return arr;
  318. }
  319. /***/ }),
  320. /***/ "./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js":
  321. /*!**********************************************************************!*\
  322. !*** ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js ***!
  323. \**********************************************************************/
  324. /*! exports provided: default */
  325. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  326. "use strict";
  327. __webpack_require__.r(__webpack_exports__);
  328. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _arrayWithoutHoles; });
  329. /* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayLikeToArray.js */ "./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js");
  330. function _arrayWithoutHoles(arr) {
  331. if (Array.isArray(arr)) return Object(_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(arr);
  332. }
  333. /***/ }),
  334. /***/ "./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js":
  335. /*!**************************************************************************!*\
  336. !*** ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js ***!
  337. \**************************************************************************/
  338. /*! exports provided: default */
  339. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  340. "use strict";
  341. __webpack_require__.r(__webpack_exports__);
  342. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _assertThisInitialized; });
  343. function _assertThisInitialized(self) {
  344. if (self === void 0) {
  345. throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
  346. }
  347. return self;
  348. }
  349. /***/ }),
  350. /***/ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js":
  351. /*!*******************************************************************!*\
  352. !*** ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
  353. \*******************************************************************/
  354. /*! exports provided: default */
  355. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  356. "use strict";
  357. __webpack_require__.r(__webpack_exports__);
  358. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _classCallCheck; });
  359. function _classCallCheck(instance, Constructor) {
  360. if (!(instance instanceof Constructor)) {
  361. throw new TypeError("Cannot call a class as a function");
  362. }
  363. }
  364. /***/ }),
  365. /***/ "./node_modules/@babel/runtime/helpers/esm/createClass.js":
  366. /*!****************************************************************!*\
  367. !*** ./node_modules/@babel/runtime/helpers/esm/createClass.js ***!
  368. \****************************************************************/
  369. /*! exports provided: default */
  370. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  371. "use strict";
  372. __webpack_require__.r(__webpack_exports__);
  373. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _createClass; });
  374. function _defineProperties(target, props) {
  375. for (var i = 0; i < props.length; i++) {
  376. var descriptor = props[i];
  377. descriptor.enumerable = descriptor.enumerable || false;
  378. descriptor.configurable = true;
  379. if ("value" in descriptor) descriptor.writable = true;
  380. Object.defineProperty(target, descriptor.key, descriptor);
  381. }
  382. }
  383. function _createClass(Constructor, protoProps, staticProps) {
  384. if (protoProps) _defineProperties(Constructor.prototype, protoProps);
  385. if (staticProps) _defineProperties(Constructor, staticProps);
  386. return Constructor;
  387. }
  388. /***/ }),
  389. /***/ "./node_modules/@babel/runtime/helpers/esm/defineProperty.js":
  390. /*!*******************************************************************!*\
  391. !*** ./node_modules/@babel/runtime/helpers/esm/defineProperty.js ***!
  392. \*******************************************************************/
  393. /*! exports provided: default */
  394. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  395. "use strict";
  396. __webpack_require__.r(__webpack_exports__);
  397. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _defineProperty; });
  398. function _defineProperty(obj, key, value) {
  399. if (key in obj) {
  400. Object.defineProperty(obj, key, {
  401. value: value,
  402. enumerable: true,
  403. configurable: true,
  404. writable: true
  405. });
  406. } else {
  407. obj[key] = value;
  408. }
  409. return obj;
  410. }
  411. /***/ }),
  412. /***/ "./node_modules/@babel/runtime/helpers/esm/extends.js":
  413. /*!************************************************************!*\
  414. !*** ./node_modules/@babel/runtime/helpers/esm/extends.js ***!
  415. \************************************************************/
  416. /*! exports provided: default */
  417. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  418. "use strict";
  419. __webpack_require__.r(__webpack_exports__);
  420. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _extends; });
  421. function _extends() {
  422. _extends = Object.assign || function (target) {
  423. for (var i = 1; i < arguments.length; i++) {
  424. var source = arguments[i];
  425. for (var key in source) {
  426. if (Object.prototype.hasOwnProperty.call(source, key)) {
  427. target[key] = source[key];
  428. }
  429. }
  430. }
  431. return target;
  432. };
  433. return _extends.apply(this, arguments);
  434. }
  435. /***/ }),
  436. /***/ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js":
  437. /*!*******************************************************************!*\
  438. !*** ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js ***!
  439. \*******************************************************************/
  440. /*! exports provided: default */
  441. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  442. "use strict";
  443. __webpack_require__.r(__webpack_exports__);
  444. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _getPrototypeOf; });
  445. function _getPrototypeOf(o) {
  446. _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
  447. return o.__proto__ || Object.getPrototypeOf(o);
  448. };
  449. return _getPrototypeOf(o);
  450. }
  451. /***/ }),
  452. /***/ "./node_modules/@babel/runtime/helpers/esm/inherits.js":
  453. /*!*************************************************************!*\
  454. !*** ./node_modules/@babel/runtime/helpers/esm/inherits.js ***!
  455. \*************************************************************/
  456. /*! exports provided: default */
  457. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  458. "use strict";
  459. __webpack_require__.r(__webpack_exports__);
  460. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _inherits; });
  461. /* harmony import */ var _setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./setPrototypeOf.js */ "./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js");
  462. function _inherits(subClass, superClass) {
  463. if (typeof superClass !== "function" && superClass !== null) {
  464. throw new TypeError("Super expression must either be null or a function");
  465. }
  466. subClass.prototype = Object.create(superClass && superClass.prototype, {
  467. constructor: {
  468. value: subClass,
  469. writable: true,
  470. configurable: true
  471. }
  472. });
  473. if (superClass) Object(_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__["default"])(subClass, superClass);
  474. }
  475. /***/ }),
  476. /***/ "./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js":
  477. /*!******************************************************************!*\
  478. !*** ./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js ***!
  479. \******************************************************************/
  480. /*! exports provided: default */
  481. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  482. "use strict";
  483. __webpack_require__.r(__webpack_exports__);
  484. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _inheritsLoose; });
  485. /* harmony import */ var _setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./setPrototypeOf.js */ "./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js");
  486. function _inheritsLoose(subClass, superClass) {
  487. subClass.prototype = Object.create(superClass.prototype);
  488. subClass.prototype.constructor = subClass;
  489. Object(_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__["default"])(subClass, superClass);
  490. }
  491. /***/ }),
  492. /***/ "./node_modules/@babel/runtime/helpers/esm/iterableToArray.js":
  493. /*!********************************************************************!*\
  494. !*** ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js ***!
  495. \********************************************************************/
  496. /*! exports provided: default */
  497. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  498. "use strict";
  499. __webpack_require__.r(__webpack_exports__);
  500. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _iterableToArray; });
  501. function _iterableToArray(iter) {
  502. if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
  503. }
  504. /***/ }),
  505. /***/ "./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js":
  506. /*!*************************************************************************!*\
  507. !*** ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js ***!
  508. \*************************************************************************/
  509. /*! exports provided: default */
  510. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  511. "use strict";
  512. __webpack_require__.r(__webpack_exports__);
  513. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _iterableToArrayLimit; });
  514. function _iterableToArrayLimit(arr, i) {
  515. var _i = arr && (typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]);
  516. if (_i == null) return;
  517. var _arr = [];
  518. var _n = true;
  519. var _d = false;
  520. var _s, _e;
  521. try {
  522. for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
  523. _arr.push(_s.value);
  524. if (i && _arr.length === i) break;
  525. }
  526. } catch (err) {
  527. _d = true;
  528. _e = err;
  529. } finally {
  530. try {
  531. if (!_n && _i["return"] != null) _i["return"]();
  532. } finally {
  533. if (_d) throw _e;
  534. }
  535. }
  536. return _arr;
  537. }
  538. /***/ }),
  539. /***/ "./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js":
  540. /*!********************************************************************!*\
  541. !*** ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js ***!
  542. \********************************************************************/
  543. /*! exports provided: default */
  544. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  545. "use strict";
  546. __webpack_require__.r(__webpack_exports__);
  547. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _nonIterableRest; });
  548. function _nonIterableRest() {
  549. throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
  550. }
  551. /***/ }),
  552. /***/ "./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js":
  553. /*!**********************************************************************!*\
  554. !*** ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js ***!
  555. \**********************************************************************/
  556. /*! exports provided: default */
  557. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  558. "use strict";
  559. __webpack_require__.r(__webpack_exports__);
  560. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _nonIterableSpread; });
  561. function _nonIterableSpread() {
  562. throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
  563. }
  564. /***/ }),
  565. /***/ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js":
  566. /*!****************************************************************************!*\
  567. !*** ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js ***!
  568. \****************************************************************************/
  569. /*! exports provided: default */
  570. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  571. "use strict";
  572. __webpack_require__.r(__webpack_exports__);
  573. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _objectWithoutProperties; });
  574. /* harmony import */ var _objectWithoutPropertiesLoose_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./objectWithoutPropertiesLoose.js */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
  575. function _objectWithoutProperties(source, excluded) {
  576. if (source == null) return {};
  577. var target = Object(_objectWithoutPropertiesLoose_js__WEBPACK_IMPORTED_MODULE_0__["default"])(source, excluded);
  578. var key, i;
  579. if (Object.getOwnPropertySymbols) {
  580. var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
  581. for (i = 0; i < sourceSymbolKeys.length; i++) {
  582. key = sourceSymbolKeys[i];
  583. if (excluded.indexOf(key) >= 0) continue;
  584. if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
  585. target[key] = source[key];
  586. }
  587. }
  588. return target;
  589. }
  590. /***/ }),
  591. /***/ "./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js":
  592. /*!*********************************************************************************!*\
  593. !*** ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js ***!
  594. \*********************************************************************************/
  595. /*! exports provided: default */
  596. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  597. "use strict";
  598. __webpack_require__.r(__webpack_exports__);
  599. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _objectWithoutPropertiesLoose; });
  600. function _objectWithoutPropertiesLoose(source, excluded) {
  601. if (source == null) return {};
  602. var target = {};
  603. var sourceKeys = Object.keys(source);
  604. var key, i;
  605. for (i = 0; i < sourceKeys.length; i++) {
  606. key = sourceKeys[i];
  607. if (excluded.indexOf(key) >= 0) continue;
  608. target[key] = source[key];
  609. }
  610. return target;
  611. }
  612. /***/ }),
  613. /***/ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js":
  614. /*!******************************************************************************!*\
  615. !*** ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js ***!
  616. \******************************************************************************/
  617. /*! exports provided: default */
  618. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  619. "use strict";
  620. __webpack_require__.r(__webpack_exports__);
  621. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _possibleConstructorReturn; });
  622. /* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "./node_modules/@babel/runtime/helpers/typeof.js");
  623. /* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__);
  624. /* harmony import */ var _assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./assertThisInitialized.js */ "./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
  625. function _possibleConstructorReturn(self, call) {
  626. if (call && (_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0___default()(call) === "object" || typeof call === "function")) {
  627. return call;
  628. }
  629. return Object(_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__["default"])(self);
  630. }
  631. /***/ }),
  632. /***/ "./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js":
  633. /*!*******************************************************************!*\
  634. !*** ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js ***!
  635. \*******************************************************************/
  636. /*! exports provided: default */
  637. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  638. "use strict";
  639. __webpack_require__.r(__webpack_exports__);
  640. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _setPrototypeOf; });
  641. function _setPrototypeOf(o, p) {
  642. _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
  643. o.__proto__ = p;
  644. return o;
  645. };
  646. return _setPrototypeOf(o, p);
  647. }
  648. /***/ }),
  649. /***/ "./node_modules/@babel/runtime/helpers/esm/slicedToArray.js":
  650. /*!******************************************************************!*\
  651. !*** ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js ***!
  652. \******************************************************************/
  653. /*! exports provided: default */
  654. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  655. "use strict";
  656. __webpack_require__.r(__webpack_exports__);
  657. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _slicedToArray; });
  658. /* harmony import */ var _arrayWithHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayWithHoles.js */ "./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js");
  659. /* harmony import */ var _iterableToArrayLimit_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./iterableToArrayLimit.js */ "./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js");
  660. /* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js");
  661. /* harmony import */ var _nonIterableRest_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./nonIterableRest.js */ "./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js");
  662. function _slicedToArray(arr, i) {
  663. return Object(_arrayWithHoles_js__WEBPACK_IMPORTED_MODULE_0__["default"])(arr) || Object(_iterableToArrayLimit_js__WEBPACK_IMPORTED_MODULE_1__["default"])(arr, i) || Object(_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__["default"])(arr, i) || Object(_nonIterableRest_js__WEBPACK_IMPORTED_MODULE_3__["default"])();
  664. }
  665. /***/ }),
  666. /***/ "./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js":
  667. /*!**********************************************************************!*\
  668. !*** ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js ***!
  669. \**********************************************************************/
  670. /*! exports provided: default */
  671. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  672. "use strict";
  673. __webpack_require__.r(__webpack_exports__);
  674. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _toConsumableArray; });
  675. /* harmony import */ var _arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayWithoutHoles.js */ "./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js");
  676. /* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./iterableToArray.js */ "./node_modules/@babel/runtime/helpers/esm/iterableToArray.js");
  677. /* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js");
  678. /* harmony import */ var _nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./nonIterableSpread.js */ "./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js");
  679. function _toConsumableArray(arr) {
  680. return Object(_arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__["default"])(arr) || Object(_iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__["default"])(arr) || Object(_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__["default"])(arr) || Object(_nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__["default"])();
  681. }
  682. /***/ }),
  683. /***/ "./node_modules/@babel/runtime/helpers/esm/typeof.js":
  684. /*!***********************************************************!*\
  685. !*** ./node_modules/@babel/runtime/helpers/esm/typeof.js ***!
  686. \***********************************************************/
  687. /*! exports provided: default */
  688. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  689. "use strict";
  690. __webpack_require__.r(__webpack_exports__);
  691. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _typeof; });
  692. function _typeof(obj) {
  693. "@babel/helpers - typeof";
  694. if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
  695. _typeof = function _typeof(obj) {
  696. return typeof obj;
  697. };
  698. } else {
  699. _typeof = function _typeof(obj) {
  700. return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
  701. };
  702. }
  703. return _typeof(obj);
  704. }
  705. /***/ }),
  706. /***/ "./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js":
  707. /*!*******************************************************************************!*\
  708. !*** ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js ***!
  709. \*******************************************************************************/
  710. /*! exports provided: default */
  711. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  712. "use strict";
  713. __webpack_require__.r(__webpack_exports__);
  714. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _unsupportedIterableToArray; });
  715. /* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayLikeToArray.js */ "./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js");
  716. function _unsupportedIterableToArray(o, minLen) {
  717. if (!o) return;
  718. if (typeof o === "string") return Object(_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(o, minLen);
  719. var n = Object.prototype.toString.call(o).slice(8, -1);
  720. if (n === "Object" && o.constructor) n = o.constructor.name;
  721. if (n === "Map" || n === "Set") return Array.from(o);
  722. if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Object(_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(o, minLen);
  723. }
  724. /***/ }),
  725. /***/ "./node_modules/@babel/runtime/helpers/typeof.js":
  726. /*!*******************************************************!*\
  727. !*** ./node_modules/@babel/runtime/helpers/typeof.js ***!
  728. \*******************************************************/
  729. /*! no static exports found */
  730. /***/ (function(module, exports) {
  731. function _typeof(obj) {
  732. "@babel/helpers - typeof";
  733. if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
  734. module.exports = _typeof = function _typeof(obj) {
  735. return typeof obj;
  736. };
  737. module.exports["default"] = module.exports, module.exports.__esModule = true;
  738. } else {
  739. module.exports = _typeof = function _typeof(obj) {
  740. return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
  741. };
  742. module.exports["default"] = module.exports, module.exports.__esModule = true;
  743. }
  744. return _typeof(obj);
  745. }
  746. module.exports = _typeof;
  747. module.exports["default"] = module.exports, module.exports.__esModule = true;
  748. /***/ }),
  749. /***/ "./node_modules/@babel/runtime/regenerator/index.js":
  750. /*!**********************************************************!*\
  751. !*** ./node_modules/@babel/runtime/regenerator/index.js ***!
  752. \**********************************************************/
  753. /*! no static exports found */
  754. /***/ (function(module, exports, __webpack_require__) {
  755. module.exports = __webpack_require__(/*! regenerator-runtime */ "./node_modules/regenerator-runtime/runtime.js");
  756. /***/ }),
  757. /***/ "./node_modules/@material-ui/core/esm/CircularProgress/CircularProgress.js":
  758. /*!*********************************************************************************!*\
  759. !*** ./node_modules/@material-ui/core/esm/CircularProgress/CircularProgress.js ***!
  760. \*********************************************************************************/
  761. /*! exports provided: styles, default */
  762. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  763. "use strict";
  764. __webpack_require__.r(__webpack_exports__);
  765. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "styles", function() { return styles; });
  766. /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
  767. /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
  768. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
  769. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
  770. /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js");
  771. /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
  772. /* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! clsx */ "./node_modules/clsx/dist/clsx.m.js");
  773. /* harmony import */ var _material_ui_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @material-ui/utils */ "./node_modules/@material-ui/utils/esm/index.js");
  774. /* harmony import */ var _styles_withStyles__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../styles/withStyles */ "./node_modules/@material-ui/core/esm/styles/withStyles.js");
  775. /* harmony import */ var _utils_capitalize__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/capitalize */ "./node_modules/@material-ui/core/esm/utils/capitalize.js");
  776. var SIZE = 44;
  777. var styles = function styles(theme) {
  778. return {
  779. /* Styles applied to the root element. */
  780. root: {
  781. display: 'inline-block'
  782. },
  783. /* Styles applied to the root element if `variant="static"`. */
  784. static: {
  785. transition: theme.transitions.create('transform')
  786. },
  787. /* Styles applied to the root element if `variant="indeterminate"`. */
  788. indeterminate: {
  789. animation: '$circular-rotate 1.4s linear infinite'
  790. },
  791. /* Styles applied to the root element if `variant="determinate"`. */
  792. determinate: {
  793. transition: theme.transitions.create('transform')
  794. },
  795. /* Styles applied to the root element if `color="primary"`. */
  796. colorPrimary: {
  797. color: theme.palette.primary.main
  798. },
  799. /* Styles applied to the root element if `color="secondary"`. */
  800. colorSecondary: {
  801. color: theme.palette.secondary.main
  802. },
  803. /* Styles applied to the `svg` element. */
  804. svg: {
  805. display: 'block' // Keeps the progress centered
  806. },
  807. /* Styles applied to the `circle` svg path. */
  808. circle: {
  809. stroke: 'currentColor' // Use butt to follow the specification, by chance, it's already the default CSS value.
  810. // strokeLinecap: 'butt',
  811. },
  812. /* Styles applied to the `circle` svg path if `variant="static"`. */
  813. circleStatic: {
  814. transition: theme.transitions.create('stroke-dashoffset')
  815. },
  816. /* Styles applied to the `circle` svg path if `variant="indeterminate"`. */
  817. circleIndeterminate: {
  818. animation: '$circular-dash 1.4s ease-in-out infinite',
  819. // Some default value that looks fine waiting for the animation to kicks in.
  820. strokeDasharray: '80px, 200px',
  821. strokeDashoffset: '0px' // Add the unit to fix a Edge 16 and below bug.
  822. },
  823. /* Styles applied to the `circle` svg path if `variant="determinate"`. */
  824. circleDeterminate: {
  825. transition: theme.transitions.create('stroke-dashoffset')
  826. },
  827. '@keyframes circular-rotate': {
  828. '0%': {
  829. // Fix IE 11 wobbly
  830. transformOrigin: '50% 50%'
  831. },
  832. '100%': {
  833. transform: 'rotate(360deg)'
  834. }
  835. },
  836. '@keyframes circular-dash': {
  837. '0%': {
  838. strokeDasharray: '1px, 200px',
  839. strokeDashoffset: '0px'
  840. },
  841. '50%': {
  842. strokeDasharray: '100px, 200px',
  843. strokeDashoffset: '-15px'
  844. },
  845. '100%': {
  846. strokeDasharray: '100px, 200px',
  847. strokeDashoffset: '-125px'
  848. }
  849. },
  850. /* Styles applied to the `circle` svg path if `disableShrink={true}`. */
  851. circleDisableShrink: {
  852. animation: 'none'
  853. }
  854. };
  855. };
  856. /**
  857. * ## ARIA
  858. *
  859. * If the progress bar is describing the loading progress of a particular region of a page,
  860. * you should use `aria-describedby` to point to the progress bar, and set the `aria-busy`
  861. * attribute to `true` on that region until it has finished loading.
  862. */
  863. var CircularProgress = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__["forwardRef"](function CircularProgress(props, ref) {
  864. var classes = props.classes,
  865. className = props.className,
  866. _props$color = props.color,
  867. color = _props$color === void 0 ? 'primary' : _props$color,
  868. _props$disableShrink = props.disableShrink,
  869. disableShrink = _props$disableShrink === void 0 ? false : _props$disableShrink,
  870. _props$size = props.size,
  871. size = _props$size === void 0 ? 40 : _props$size,
  872. style = props.style,
  873. _props$thickness = props.thickness,
  874. thickness = _props$thickness === void 0 ? 3.6 : _props$thickness,
  875. _props$value = props.value,
  876. value = _props$value === void 0 ? 0 : _props$value,
  877. _props$variant = props.variant,
  878. variant = _props$variant === void 0 ? 'indeterminate' : _props$variant,
  879. other = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__["default"])(props, ["classes", "className", "color", "disableShrink", "size", "style", "thickness", "value", "variant"]);
  880. var circleStyle = {};
  881. var rootStyle = {};
  882. var rootProps = {};
  883. if (variant === 'determinate' || variant === 'static') {
  884. var circumference = 2 * Math.PI * ((SIZE - thickness) / 2);
  885. circleStyle.strokeDasharray = circumference.toFixed(3);
  886. rootProps['aria-valuenow'] = Math.round(value);
  887. circleStyle.strokeDashoffset = "".concat(((100 - value) / 100 * circumference).toFixed(3), "px");
  888. rootStyle.transform = 'rotate(-90deg)';
  889. }
  890. return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__["createElement"]("div", Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
  891. className: Object(clsx__WEBPACK_IMPORTED_MODULE_4__["default"])(classes.root, className, color !== 'inherit' && classes["color".concat(Object(_utils_capitalize__WEBPACK_IMPORTED_MODULE_7__["default"])(color))], {
  892. 'determinate': classes.determinate,
  893. 'indeterminate': classes.indeterminate,
  894. 'static': classes.static
  895. }[variant]),
  896. style: Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
  897. width: size,
  898. height: size
  899. }, rootStyle, style),
  900. ref: ref,
  901. role: "progressbar"
  902. }, rootProps, other), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__["createElement"]("svg", {
  903. className: classes.svg,
  904. viewBox: "".concat(SIZE / 2, " ").concat(SIZE / 2, " ").concat(SIZE, " ").concat(SIZE)
  905. }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__["createElement"]("circle", {
  906. className: Object(clsx__WEBPACK_IMPORTED_MODULE_4__["default"])(classes.circle, disableShrink && classes.circleDisableShrink, {
  907. 'determinate': classes.circleDeterminate,
  908. 'indeterminate': classes.circleIndeterminate,
  909. 'static': classes.circleStatic
  910. }[variant]),
  911. style: circleStyle,
  912. cx: SIZE,
  913. cy: SIZE,
  914. r: (SIZE - thickness) / 2,
  915. fill: "none",
  916. strokeWidth: thickness
  917. })));
  918. });
  919. true ? CircularProgress.propTypes = {
  920. // ----------------------------- Warning --------------------------------
  921. // | These PropTypes are generated from the TypeScript type definitions |
  922. // | To update them edit the d.ts file and run "yarn proptypes" |
  923. // ----------------------------------------------------------------------
  924. /**
  925. * Override or extend the styles applied to the component.
  926. * See [CSS API](#css) below for more details.
  927. */
  928. classes: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object,
  929. /**
  930. * @ignore
  931. */
  932. className: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string,
  933. /**
  934. * The color of the component. It supports those theme colors that make sense for this component.
  935. */
  936. color: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOf(['inherit', 'primary', 'secondary']),
  937. /**
  938. * If `true`, the shrink animation is disabled.
  939. * This only works if variant is `indeterminate`.
  940. */
  941. disableShrink: Object(_material_ui_utils__WEBPACK_IMPORTED_MODULE_5__["chainPropTypes"])(prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.bool, function (props) {
  942. if (props.disableShrink && props.variant && props.variant !== 'indeterminate') {
  943. return new Error('Material-UI: You have provided the `disableShrink` prop ' + 'with a variant other than `indeterminate`. This will have no effect.');
  944. }
  945. return null;
  946. }),
  947. /**
  948. * The size of the circle.
  949. * If using a number, the pixel unit is assumed.
  950. * If using a string, you need to provide the CSS unit, e.g '3rem'.
  951. */
  952. size: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string]),
  953. /**
  954. * @ignore
  955. */
  956. style: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object,
  957. /**
  958. * The thickness of the circle.
  959. */
  960. thickness: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.number,
  961. /**
  962. * The value of the progress indicator for the determinate variant.
  963. * Value between 0 and 100.
  964. */
  965. value: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.number,
  966. /**
  967. * The variant to use.
  968. * Use indeterminate when there is no progress value.
  969. */
  970. variant: Object(_material_ui_utils__WEBPACK_IMPORTED_MODULE_5__["chainPropTypes"])(prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOf(['determinate', 'indeterminate', 'static']), function (props) {
  971. var variant = props.variant;
  972. if (variant === 'static') {
  973. throw new Error('Material-UI: `variant="static"` was deprecated. Use `variant="determinate"` instead.');
  974. }
  975. return null;
  976. })
  977. } : undefined;
  978. /* harmony default export */ __webpack_exports__["default"] = (Object(_styles_withStyles__WEBPACK_IMPORTED_MODULE_6__["default"])(styles, {
  979. name: 'MuiCircularProgress',
  980. flip: false
  981. })(CircularProgress));
  982. /***/ }),
  983. /***/ "./node_modules/@material-ui/core/esm/CircularProgress/index.js":
  984. /*!**********************************************************************!*\
  985. !*** ./node_modules/@material-ui/core/esm/CircularProgress/index.js ***!
  986. \**********************************************************************/
  987. /*! exports provided: default */
  988. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  989. "use strict";
  990. __webpack_require__.r(__webpack_exports__);
  991. /* harmony import */ var _CircularProgress__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CircularProgress */ "./node_modules/@material-ui/core/esm/CircularProgress/CircularProgress.js");
  992. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _CircularProgress__WEBPACK_IMPORTED_MODULE_0__["default"]; });
  993. /***/ }),
  994. /***/ "./node_modules/@material-ui/core/esm/colors/blue.js":
  995. /*!***********************************************************!*\
  996. !*** ./node_modules/@material-ui/core/esm/colors/blue.js ***!
  997. \***********************************************************/
  998. /*! exports provided: default */
  999. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1000. "use strict";
  1001. __webpack_require__.r(__webpack_exports__);
  1002. var blue = {
  1003. 50: '#e3f2fd',
  1004. 100: '#bbdefb',
  1005. 200: '#90caf9',
  1006. 300: '#64b5f6',
  1007. 400: '#42a5f5',
  1008. 500: '#2196f3',
  1009. 600: '#1e88e5',
  1010. 700: '#1976d2',
  1011. 800: '#1565c0',
  1012. 900: '#0d47a1',
  1013. A100: '#82b1ff',
  1014. A200: '#448aff',
  1015. A400: '#2979ff',
  1016. A700: '#2962ff'
  1017. };
  1018. /* harmony default export */ __webpack_exports__["default"] = (blue);
  1019. /***/ }),
  1020. /***/ "./node_modules/@material-ui/core/esm/colors/common.js":
  1021. /*!*************************************************************!*\
  1022. !*** ./node_modules/@material-ui/core/esm/colors/common.js ***!
  1023. \*************************************************************/
  1024. /*! exports provided: default */
  1025. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1026. "use strict";
  1027. __webpack_require__.r(__webpack_exports__);
  1028. var common = {
  1029. black: '#000',
  1030. white: '#fff'
  1031. };
  1032. /* harmony default export */ __webpack_exports__["default"] = (common);
  1033. /***/ }),
  1034. /***/ "./node_modules/@material-ui/core/esm/colors/green.js":
  1035. /*!************************************************************!*\
  1036. !*** ./node_modules/@material-ui/core/esm/colors/green.js ***!
  1037. \************************************************************/
  1038. /*! exports provided: default */
  1039. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1040. "use strict";
  1041. __webpack_require__.r(__webpack_exports__);
  1042. var green = {
  1043. 50: '#e8f5e9',
  1044. 100: '#c8e6c9',
  1045. 200: '#a5d6a7',
  1046. 300: '#81c784',
  1047. 400: '#66bb6a',
  1048. 500: '#4caf50',
  1049. 600: '#43a047',
  1050. 700: '#388e3c',
  1051. 800: '#2e7d32',
  1052. 900: '#1b5e20',
  1053. A100: '#b9f6ca',
  1054. A200: '#69f0ae',
  1055. A400: '#00e676',
  1056. A700: '#00c853'
  1057. };
  1058. /* harmony default export */ __webpack_exports__["default"] = (green);
  1059. /***/ }),
  1060. /***/ "./node_modules/@material-ui/core/esm/colors/grey.js":
  1061. /*!***********************************************************!*\
  1062. !*** ./node_modules/@material-ui/core/esm/colors/grey.js ***!
  1063. \***********************************************************/
  1064. /*! exports provided: default */
  1065. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1066. "use strict";
  1067. __webpack_require__.r(__webpack_exports__);
  1068. var grey = {
  1069. 50: '#fafafa',
  1070. 100: '#f5f5f5',
  1071. 200: '#eeeeee',
  1072. 300: '#e0e0e0',
  1073. 400: '#bdbdbd',
  1074. 500: '#9e9e9e',
  1075. 600: '#757575',
  1076. 700: '#616161',
  1077. 800: '#424242',
  1078. 900: '#212121',
  1079. A100: '#d5d5d5',
  1080. A200: '#aaaaaa',
  1081. A400: '#303030',
  1082. A700: '#616161'
  1083. };
  1084. /* harmony default export */ __webpack_exports__["default"] = (grey);
  1085. /***/ }),
  1086. /***/ "./node_modules/@material-ui/core/esm/colors/indigo.js":
  1087. /*!*************************************************************!*\
  1088. !*** ./node_modules/@material-ui/core/esm/colors/indigo.js ***!
  1089. \*************************************************************/
  1090. /*! exports provided: default */
  1091. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1092. "use strict";
  1093. __webpack_require__.r(__webpack_exports__);
  1094. var indigo = {
  1095. 50: '#e8eaf6',
  1096. 100: '#c5cae9',
  1097. 200: '#9fa8da',
  1098. 300: '#7986cb',
  1099. 400: '#5c6bc0',
  1100. 500: '#3f51b5',
  1101. 600: '#3949ab',
  1102. 700: '#303f9f',
  1103. 800: '#283593',
  1104. 900: '#1a237e',
  1105. A100: '#8c9eff',
  1106. A200: '#536dfe',
  1107. A400: '#3d5afe',
  1108. A700: '#304ffe'
  1109. };
  1110. /* harmony default export */ __webpack_exports__["default"] = (indigo);
  1111. /***/ }),
  1112. /***/ "./node_modules/@material-ui/core/esm/colors/orange.js":
  1113. /*!*************************************************************!*\
  1114. !*** ./node_modules/@material-ui/core/esm/colors/orange.js ***!
  1115. \*************************************************************/
  1116. /*! exports provided: default */
  1117. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1118. "use strict";
  1119. __webpack_require__.r(__webpack_exports__);
  1120. var orange = {
  1121. 50: '#fff3e0',
  1122. 100: '#ffe0b2',
  1123. 200: '#ffcc80',
  1124. 300: '#ffb74d',
  1125. 400: '#ffa726',
  1126. 500: '#ff9800',
  1127. 600: '#fb8c00',
  1128. 700: '#f57c00',
  1129. 800: '#ef6c00',
  1130. 900: '#e65100',
  1131. A100: '#ffd180',
  1132. A200: '#ffab40',
  1133. A400: '#ff9100',
  1134. A700: '#ff6d00'
  1135. };
  1136. /* harmony default export */ __webpack_exports__["default"] = (orange);
  1137. /***/ }),
  1138. /***/ "./node_modules/@material-ui/core/esm/colors/pink.js":
  1139. /*!***********************************************************!*\
  1140. !*** ./node_modules/@material-ui/core/esm/colors/pink.js ***!
  1141. \***********************************************************/
  1142. /*! exports provided: default */
  1143. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1144. "use strict";
  1145. __webpack_require__.r(__webpack_exports__);
  1146. var pink = {
  1147. 50: '#fce4ec',
  1148. 100: '#f8bbd0',
  1149. 200: '#f48fb1',
  1150. 300: '#f06292',
  1151. 400: '#ec407a',
  1152. 500: '#e91e63',
  1153. 600: '#d81b60',
  1154. 700: '#c2185b',
  1155. 800: '#ad1457',
  1156. 900: '#880e4f',
  1157. A100: '#ff80ab',
  1158. A200: '#ff4081',
  1159. A400: '#f50057',
  1160. A700: '#c51162'
  1161. };
  1162. /* harmony default export */ __webpack_exports__["default"] = (pink);
  1163. /***/ }),
  1164. /***/ "./node_modules/@material-ui/core/esm/colors/red.js":
  1165. /*!**********************************************************!*\
  1166. !*** ./node_modules/@material-ui/core/esm/colors/red.js ***!
  1167. \**********************************************************/
  1168. /*! exports provided: default */
  1169. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1170. "use strict";
  1171. __webpack_require__.r(__webpack_exports__);
  1172. var red = {
  1173. 50: '#ffebee',
  1174. 100: '#ffcdd2',
  1175. 200: '#ef9a9a',
  1176. 300: '#e57373',
  1177. 400: '#ef5350',
  1178. 500: '#f44336',
  1179. 600: '#e53935',
  1180. 700: '#d32f2f',
  1181. 800: '#c62828',
  1182. 900: '#b71c1c',
  1183. A100: '#ff8a80',
  1184. A200: '#ff5252',
  1185. A400: '#ff1744',
  1186. A700: '#d50000'
  1187. };
  1188. /* harmony default export */ __webpack_exports__["default"] = (red);
  1189. /***/ }),
  1190. /***/ "./node_modules/@material-ui/core/esm/styles/colorManipulator.js":
  1191. /*!***********************************************************************!*\
  1192. !*** ./node_modules/@material-ui/core/esm/styles/colorManipulator.js ***!
  1193. \***********************************************************************/
  1194. /*! exports provided: hexToRgb, rgbToHex, hslToRgb, decomposeColor, recomposeColor, getContrastRatio, getLuminance, emphasize, fade, darken, lighten */
  1195. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1196. "use strict";
  1197. __webpack_require__.r(__webpack_exports__);
  1198. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hexToRgb", function() { return hexToRgb; });
  1199. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "rgbToHex", function() { return rgbToHex; });
  1200. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hslToRgb", function() { return hslToRgb; });
  1201. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "decomposeColor", function() { return decomposeColor; });
  1202. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recomposeColor", function() { return recomposeColor; });
  1203. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getContrastRatio", function() { return getContrastRatio; });
  1204. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getLuminance", function() { return getLuminance; });
  1205. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "emphasize", function() { return emphasize; });
  1206. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fade", function() { return fade; });
  1207. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "darken", function() { return darken; });
  1208. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lighten", function() { return lighten; });
  1209. /* harmony import */ var _material_ui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material-ui/utils */ "./node_modules/@material-ui/utils/esm/index.js");
  1210. /* eslint-disable no-use-before-define */
  1211. /**
  1212. * Returns a number whose value is limited to the given range.
  1213. *
  1214. * @param {number} value The value to be clamped
  1215. * @param {number} min The lower boundary of the output range
  1216. * @param {number} max The upper boundary of the output range
  1217. * @returns {number} A number in the range [min, max]
  1218. */
  1219. function clamp(value) {
  1220. var min = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
  1221. var max = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;
  1222. if (true) {
  1223. if (value < min || value > max) {
  1224. console.error("Material-UI: The value provided ".concat(value, " is out of range [").concat(min, ", ").concat(max, "]."));
  1225. }
  1226. }
  1227. return Math.min(Math.max(min, value), max);
  1228. }
  1229. /**
  1230. * Converts a color from CSS hex format to CSS rgb format.
  1231. *
  1232. * @param {string} color - Hex color, i.e. #nnn or #nnnnnn
  1233. * @returns {string} A CSS rgb color string
  1234. */
  1235. function hexToRgb(color) {
  1236. color = color.substr(1);
  1237. var re = new RegExp(".{1,".concat(color.length >= 6 ? 2 : 1, "}"), 'g');
  1238. var colors = color.match(re);
  1239. if (colors && colors[0].length === 1) {
  1240. colors = colors.map(function (n) {
  1241. return n + n;
  1242. });
  1243. }
  1244. return colors ? "rgb".concat(colors.length === 4 ? 'a' : '', "(").concat(colors.map(function (n, index) {
  1245. return index < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1000) / 1000;
  1246. }).join(', '), ")") : '';
  1247. }
  1248. function intToHex(int) {
  1249. var hex = int.toString(16);
  1250. return hex.length === 1 ? "0".concat(hex) : hex;
  1251. }
  1252. /**
  1253. * Converts a color from CSS rgb format to CSS hex format.
  1254. *
  1255. * @param {string} color - RGB color, i.e. rgb(n, n, n)
  1256. * @returns {string} A CSS rgb color string, i.e. #nnnnnn
  1257. */
  1258. function rgbToHex(color) {
  1259. // Idempotent
  1260. if (color.indexOf('#') === 0) {
  1261. return color;
  1262. }
  1263. var _decomposeColor = decomposeColor(color),
  1264. values = _decomposeColor.values;
  1265. return "#".concat(values.map(function (n) {
  1266. return intToHex(n);
  1267. }).join(''));
  1268. }
  1269. /**
  1270. * Converts a color from hsl format to rgb format.
  1271. *
  1272. * @param {string} color - HSL color values
  1273. * @returns {string} rgb color values
  1274. */
  1275. function hslToRgb(color) {
  1276. color = decomposeColor(color);
  1277. var _color = color,
  1278. values = _color.values;
  1279. var h = values[0];
  1280. var s = values[1] / 100;
  1281. var l = values[2] / 100;
  1282. var a = s * Math.min(l, 1 - l);
  1283. var f = function f(n) {
  1284. var k = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : (n + h / 30) % 12;
  1285. return l - a * Math.max(Math.min(k - 3, 9 - k, 1), -1);
  1286. };
  1287. var type = 'rgb';
  1288. var rgb = [Math.round(f(0) * 255), Math.round(f(8) * 255), Math.round(f(4) * 255)];
  1289. if (color.type === 'hsla') {
  1290. type += 'a';
  1291. rgb.push(values[3]);
  1292. }
  1293. return recomposeColor({
  1294. type: type,
  1295. values: rgb
  1296. });
  1297. }
  1298. /**
  1299. * Returns an object with the type and values of a color.
  1300. *
  1301. * Note: Does not support rgb % values.
  1302. *
  1303. * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()
  1304. * @returns {object} - A MUI color object: {type: string, values: number[]}
  1305. */
  1306. function decomposeColor(color) {
  1307. // Idempotent
  1308. if (color.type) {
  1309. return color;
  1310. }
  1311. if (color.charAt(0) === '#') {
  1312. return decomposeColor(hexToRgb(color));
  1313. }
  1314. var marker = color.indexOf('(');
  1315. var type = color.substring(0, marker);
  1316. if (['rgb', 'rgba', 'hsl', 'hsla'].indexOf(type) === -1) {
  1317. throw new Error( true ? "Material-UI: Unsupported `".concat(color, "` color.\nWe support the following formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla().") : undefined);
  1318. }
  1319. var values = color.substring(marker + 1, color.length - 1).split(',');
  1320. values = values.map(function (value) {
  1321. return parseFloat(value);
  1322. });
  1323. return {
  1324. type: type,
  1325. values: values
  1326. };
  1327. }
  1328. /**
  1329. * Converts a color object with type and values to a string.
  1330. *
  1331. * @param {object} color - Decomposed color
  1332. * @param {string} color.type - One of: 'rgb', 'rgba', 'hsl', 'hsla'
  1333. * @param {array} color.values - [n,n,n] or [n,n,n,n]
  1334. * @returns {string} A CSS color string
  1335. */
  1336. function recomposeColor(color) {
  1337. var type = color.type;
  1338. var values = color.values;
  1339. if (type.indexOf('rgb') !== -1) {
  1340. // Only convert the first 3 values to int (i.e. not alpha)
  1341. values = values.map(function (n, i) {
  1342. return i < 3 ? parseInt(n, 10) : n;
  1343. });
  1344. } else if (type.indexOf('hsl') !== -1) {
  1345. values[1] = "".concat(values[1], "%");
  1346. values[2] = "".concat(values[2], "%");
  1347. }
  1348. return "".concat(type, "(").concat(values.join(', '), ")");
  1349. }
  1350. /**
  1351. * Calculates the contrast ratio between two colors.
  1352. *
  1353. * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
  1354. *
  1355. * @param {string} foreground - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()
  1356. * @param {string} background - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()
  1357. * @returns {number} A contrast ratio value in the range 0 - 21.
  1358. */
  1359. function getContrastRatio(foreground, background) {
  1360. var lumA = getLuminance(foreground);
  1361. var lumB = getLuminance(background);
  1362. return (Math.max(lumA, lumB) + 0.05) / (Math.min(lumA, lumB) + 0.05);
  1363. }
  1364. /**
  1365. * The relative brightness of any point in a color space,
  1366. * normalized to 0 for darkest black and 1 for lightest white.
  1367. *
  1368. * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
  1369. *
  1370. * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()
  1371. * @returns {number} The relative brightness of the color in the range 0 - 1
  1372. */
  1373. function getLuminance(color) {
  1374. color = decomposeColor(color);
  1375. var rgb = color.type === 'hsl' ? decomposeColor(hslToRgb(color)).values : color.values;
  1376. rgb = rgb.map(function (val) {
  1377. val /= 255; // normalized
  1378. return val <= 0.03928 ? val / 12.92 : Math.pow((val + 0.055) / 1.055, 2.4);
  1379. }); // Truncate at 3 digits
  1380. return Number((0.2126 * rgb[0] + 0.7152 * rgb[1] + 0.0722 * rgb[2]).toFixed(3));
  1381. }
  1382. /**
  1383. * Darken or lighten a color, depending on its luminance.
  1384. * Light colors are darkened, dark colors are lightened.
  1385. *
  1386. * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()
  1387. * @param {number} coefficient=0.15 - multiplier in the range 0 - 1
  1388. * @returns {string} A CSS color string. Hex input values are returned as rgb
  1389. */
  1390. function emphasize(color) {
  1391. var coefficient = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0.15;
  1392. return getLuminance(color) > 0.5 ? darken(color, coefficient) : lighten(color, coefficient);
  1393. }
  1394. /**
  1395. * Set the absolute transparency of a color.
  1396. * Any existing alpha values are overwritten.
  1397. *
  1398. * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()
  1399. * @param {number} value - value to set the alpha channel to in the range 0 -1
  1400. * @returns {string} A CSS color string. Hex input values are returned as rgb
  1401. */
  1402. function fade(color, value) {
  1403. color = decomposeColor(color);
  1404. value = clamp(value);
  1405. if (color.type === 'rgb' || color.type === 'hsl') {
  1406. color.type += 'a';
  1407. }
  1408. color.values[3] = value;
  1409. return recomposeColor(color);
  1410. }
  1411. /**
  1412. * Darkens a color.
  1413. *
  1414. * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()
  1415. * @param {number} coefficient - multiplier in the range 0 - 1
  1416. * @returns {string} A CSS color string. Hex input values are returned as rgb
  1417. */
  1418. function darken(color, coefficient) {
  1419. color = decomposeColor(color);
  1420. coefficient = clamp(coefficient);
  1421. if (color.type.indexOf('hsl') !== -1) {
  1422. color.values[2] *= 1 - coefficient;
  1423. } else if (color.type.indexOf('rgb') !== -1) {
  1424. for (var i = 0; i < 3; i += 1) {
  1425. color.values[i] *= 1 - coefficient;
  1426. }
  1427. }
  1428. return recomposeColor(color);
  1429. }
  1430. /**
  1431. * Lightens a color.
  1432. *
  1433. * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()
  1434. * @param {number} coefficient - multiplier in the range 0 - 1
  1435. * @returns {string} A CSS color string. Hex input values are returned as rgb
  1436. */
  1437. function lighten(color, coefficient) {
  1438. color = decomposeColor(color);
  1439. coefficient = clamp(coefficient);
  1440. if (color.type.indexOf('hsl') !== -1) {
  1441. color.values[2] += (100 - color.values[2]) * coefficient;
  1442. } else if (color.type.indexOf('rgb') !== -1) {
  1443. for (var i = 0; i < 3; i += 1) {
  1444. color.values[i] += (255 - color.values[i]) * coefficient;
  1445. }
  1446. }
  1447. return recomposeColor(color);
  1448. }
  1449. /***/ }),
  1450. /***/ "./node_modules/@material-ui/core/esm/styles/createBreakpoints.js":
  1451. /*!************************************************************************!*\
  1452. !*** ./node_modules/@material-ui/core/esm/styles/createBreakpoints.js ***!
  1453. \************************************************************************/
  1454. /*! exports provided: keys, default */
  1455. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1456. "use strict";
  1457. __webpack_require__.r(__webpack_exports__);
  1458. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "keys", function() { return keys; });
  1459. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return createBreakpoints; });
  1460. /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
  1461. /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
  1462. // Sorted ASC by size. That's important.
  1463. // It can't be configured as it's used statically for propTypes.
  1464. var keys = ['xs', 'sm', 'md', 'lg', 'xl']; // Keep in mind that @media is inclusive by the CSS specification.
  1465. function createBreakpoints(breakpoints) {
  1466. var _breakpoints$values = breakpoints.values,
  1467. values = _breakpoints$values === void 0 ? {
  1468. xs: 0,
  1469. sm: 600,
  1470. md: 960,
  1471. lg: 1280,
  1472. xl: 1920
  1473. } : _breakpoints$values,
  1474. _breakpoints$unit = breakpoints.unit,
  1475. unit = _breakpoints$unit === void 0 ? 'px' : _breakpoints$unit,
  1476. _breakpoints$step = breakpoints.step,
  1477. step = _breakpoints$step === void 0 ? 5 : _breakpoints$step,
  1478. other = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__["default"])(breakpoints, ["values", "unit", "step"]);
  1479. function up(key) {
  1480. var value = typeof values[key] === 'number' ? values[key] : key;
  1481. return "@media (min-width:".concat(value).concat(unit, ")");
  1482. }
  1483. function down(key) {
  1484. var endIndex = keys.indexOf(key) + 1;
  1485. var upperbound = values[keys[endIndex]];
  1486. if (endIndex === keys.length) {
  1487. // xl down applies to all sizes
  1488. return up('xs');
  1489. }
  1490. var value = typeof upperbound === 'number' && endIndex > 0 ? upperbound : key;
  1491. return "@media (max-width:".concat(value - step / 100).concat(unit, ")");
  1492. }
  1493. function between(start, end) {
  1494. var endIndex = keys.indexOf(end);
  1495. if (endIndex === keys.length - 1) {
  1496. return up(start);
  1497. }
  1498. return "@media (min-width:".concat(typeof values[start] === 'number' ? values[start] : start).concat(unit, ") and ") + "(max-width:".concat((endIndex !== -1 && typeof values[keys[endIndex + 1]] === 'number' ? values[keys[endIndex + 1]] : end) - step / 100).concat(unit, ")");
  1499. }
  1500. function only(key) {
  1501. return between(key, key);
  1502. }
  1503. function width(key) {
  1504. return values[key];
  1505. }
  1506. return Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
  1507. keys: keys,
  1508. values: values,
  1509. up: up,
  1510. down: down,
  1511. between: between,
  1512. only: only,
  1513. width: width
  1514. }, other);
  1515. }
  1516. /***/ }),
  1517. /***/ "./node_modules/@material-ui/core/esm/styles/createMixins.js":
  1518. /*!*******************************************************************!*\
  1519. !*** ./node_modules/@material-ui/core/esm/styles/createMixins.js ***!
  1520. \*******************************************************************/
  1521. /*! exports provided: default */
  1522. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1523. "use strict";
  1524. __webpack_require__.r(__webpack_exports__);
  1525. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return createMixins; });
  1526. /* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ "./node_modules/@babel/runtime/helpers/esm/defineProperty.js");
  1527. /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
  1528. function createMixins(breakpoints, spacing, mixins) {
  1529. var _toolbar;
  1530. return Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({
  1531. gutters: function gutters() {
  1532. var styles = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  1533. // To deprecate in v4.1
  1534. // warning(
  1535. // false,
  1536. // [
  1537. // 'Material-UI: Theme.mixins.gutters() is deprecated.',
  1538. // 'You can use the source of the mixin directly:',
  1539. // `
  1540. // paddingLeft: theme.spacing(2),
  1541. // paddingRight: theme.spacing(2),
  1542. // [theme.breakpoints.up('sm')]: {
  1543. // paddingLeft: theme.spacing(3),
  1544. // paddingRight: theme.spacing(3),
  1545. // },
  1546. // `,
  1547. // ].join('\n'),
  1548. // );
  1549. return Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({
  1550. paddingLeft: spacing(2),
  1551. paddingRight: spacing(2)
  1552. }, styles, Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])({}, breakpoints.up('sm'), Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({
  1553. paddingLeft: spacing(3),
  1554. paddingRight: spacing(3)
  1555. }, styles[breakpoints.up('sm')])));
  1556. },
  1557. toolbar: (_toolbar = {
  1558. minHeight: 56
  1559. }, Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])(_toolbar, "".concat(breakpoints.up('xs'), " and (orientation: landscape)"), {
  1560. minHeight: 48
  1561. }), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])(_toolbar, breakpoints.up('sm'), {
  1562. minHeight: 64
  1563. }), _toolbar)
  1564. }, mixins);
  1565. }
  1566. /***/ }),
  1567. /***/ "./node_modules/@material-ui/core/esm/styles/createMuiStrictModeTheme.js":
  1568. /*!*******************************************************************************!*\
  1569. !*** ./node_modules/@material-ui/core/esm/styles/createMuiStrictModeTheme.js ***!
  1570. \*******************************************************************************/
  1571. /*! exports provided: default */
  1572. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1573. "use strict";
  1574. __webpack_require__.r(__webpack_exports__);
  1575. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return createMuiStrictModeTheme; });
  1576. /* harmony import */ var _material_ui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material-ui/utils */ "./node_modules/@material-ui/utils/esm/index.js");
  1577. /* harmony import */ var _createMuiTheme__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./createMuiTheme */ "./node_modules/@material-ui/core/esm/styles/createMuiTheme.js");
  1578. function createMuiStrictModeTheme(options) {
  1579. for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
  1580. args[_key - 1] = arguments[_key];
  1581. }
  1582. return _createMuiTheme__WEBPACK_IMPORTED_MODULE_1__["default"].apply(void 0, [Object(_material_ui_utils__WEBPACK_IMPORTED_MODULE_0__["deepmerge"])({
  1583. unstable_strictMode: true
  1584. }, options)].concat(args));
  1585. }
  1586. /***/ }),
  1587. /***/ "./node_modules/@material-ui/core/esm/styles/createMuiTheme.js":
  1588. /*!*********************************************************************!*\
  1589. !*** ./node_modules/@material-ui/core/esm/styles/createMuiTheme.js ***!
  1590. \*********************************************************************/
  1591. /*! exports provided: default */
  1592. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1593. "use strict";
  1594. __webpack_require__.r(__webpack_exports__);
  1595. /* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ "./node_modules/@babel/runtime/helpers/esm/defineProperty.js");
  1596. /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
  1597. /* harmony import */ var _material_ui_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @material-ui/utils */ "./node_modules/@material-ui/utils/esm/index.js");
  1598. /* harmony import */ var _createBreakpoints__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./createBreakpoints */ "./node_modules/@material-ui/core/esm/styles/createBreakpoints.js");
  1599. /* harmony import */ var _createMixins__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./createMixins */ "./node_modules/@material-ui/core/esm/styles/createMixins.js");
  1600. /* harmony import */ var _createPalette__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./createPalette */ "./node_modules/@material-ui/core/esm/styles/createPalette.js");
  1601. /* harmony import */ var _createTypography__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./createTypography */ "./node_modules/@material-ui/core/esm/styles/createTypography.js");
  1602. /* harmony import */ var _shadows__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./shadows */ "./node_modules/@material-ui/core/esm/styles/shadows.js");
  1603. /* harmony import */ var _shape__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./shape */ "./node_modules/@material-ui/core/esm/styles/shape.js");
  1604. /* harmony import */ var _createSpacing__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./createSpacing */ "./node_modules/@material-ui/core/esm/styles/createSpacing.js");
  1605. /* harmony import */ var _transitions__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./transitions */ "./node_modules/@material-ui/core/esm/styles/transitions.js");
  1606. /* harmony import */ var _zIndex__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./zIndex */ "./node_modules/@material-ui/core/esm/styles/zIndex.js");
  1607. function createMuiTheme() {
  1608. var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  1609. var _options$breakpoints = options.breakpoints,
  1610. breakpointsInput = _options$breakpoints === void 0 ? {} : _options$breakpoints,
  1611. _options$mixins = options.mixins,
  1612. mixinsInput = _options$mixins === void 0 ? {} : _options$mixins,
  1613. _options$palette = options.palette,
  1614. paletteInput = _options$palette === void 0 ? {} : _options$palette,
  1615. spacingInput = options.spacing,
  1616. _options$typography = options.typography,
  1617. typographyInput = _options$typography === void 0 ? {} : _options$typography,
  1618. other = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__["default"])(options, ["breakpoints", "mixins", "palette", "spacing", "typography"]);
  1619. var palette = Object(_createPalette__WEBPACK_IMPORTED_MODULE_5__["default"])(paletteInput);
  1620. var breakpoints = Object(_createBreakpoints__WEBPACK_IMPORTED_MODULE_3__["default"])(breakpointsInput);
  1621. var spacing = Object(_createSpacing__WEBPACK_IMPORTED_MODULE_9__["default"])(spacingInput);
  1622. var muiTheme = Object(_material_ui_utils__WEBPACK_IMPORTED_MODULE_2__["deepmerge"])({
  1623. breakpoints: breakpoints,
  1624. direction: 'ltr',
  1625. mixins: Object(_createMixins__WEBPACK_IMPORTED_MODULE_4__["default"])(breakpoints, spacing, mixinsInput),
  1626. overrides: {},
  1627. // Inject custom styles
  1628. palette: palette,
  1629. props: {},
  1630. // Provide default props
  1631. shadows: _shadows__WEBPACK_IMPORTED_MODULE_7__["default"],
  1632. typography: Object(_createTypography__WEBPACK_IMPORTED_MODULE_6__["default"])(palette, typographyInput),
  1633. spacing: spacing,
  1634. shape: _shape__WEBPACK_IMPORTED_MODULE_8__["default"],
  1635. transitions: _transitions__WEBPACK_IMPORTED_MODULE_10__["default"],
  1636. zIndex: _zIndex__WEBPACK_IMPORTED_MODULE_11__["default"]
  1637. }, other);
  1638. for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
  1639. args[_key - 1] = arguments[_key];
  1640. }
  1641. muiTheme = args.reduce(function (acc, argument) {
  1642. return Object(_material_ui_utils__WEBPACK_IMPORTED_MODULE_2__["deepmerge"])(acc, argument);
  1643. }, muiTheme);
  1644. if (true) {
  1645. var pseudoClasses = ['checked', 'disabled', 'error', 'focused', 'focusVisible', 'required', 'expanded', 'selected'];
  1646. var traverse = function traverse(node, parentKey) {
  1647. var depth = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;
  1648. var key; // eslint-disable-next-line guard-for-in, no-restricted-syntax
  1649. for (key in node) {
  1650. var child = node[key];
  1651. if (depth === 1) {
  1652. if (key.indexOf('Mui') === 0 && child) {
  1653. traverse(child, key, depth + 1);
  1654. }
  1655. } else if (pseudoClasses.indexOf(key) !== -1 && Object.keys(child).length > 0) {
  1656. if (true) {
  1657. console.error(["Material-UI: The `".concat(parentKey, "` component increases ") + "the CSS specificity of the `".concat(key, "` internal state."), 'You can not override it like this: ', JSON.stringify(node, null, 2), '', 'Instead, you need to use the $ruleName syntax:', JSON.stringify({
  1658. root: Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])({}, "&$".concat(key), child)
  1659. }, null, 2), '', 'https://material-ui.com/r/pseudo-classes-guide'].join('\n'));
  1660. } // Remove the style to prevent global conflicts.
  1661. node[key] = {};
  1662. }
  1663. }
  1664. };
  1665. traverse(muiTheme.overrides);
  1666. }
  1667. return muiTheme;
  1668. }
  1669. /* harmony default export */ __webpack_exports__["default"] = (createMuiTheme);
  1670. /***/ }),
  1671. /***/ "./node_modules/@material-ui/core/esm/styles/createPalette.js":
  1672. /*!********************************************************************!*\
  1673. !*** ./node_modules/@material-ui/core/esm/styles/createPalette.js ***!
  1674. \********************************************************************/
  1675. /*! exports provided: light, dark, default */
  1676. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1677. "use strict";
  1678. __webpack_require__.r(__webpack_exports__);
  1679. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "light", function() { return light; });
  1680. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "dark", function() { return dark; });
  1681. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return createPalette; });
  1682. /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
  1683. /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
  1684. /* harmony import */ var _material_ui_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @material-ui/utils */ "./node_modules/@material-ui/utils/esm/index.js");
  1685. /* harmony import */ var _colors_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../colors/common */ "./node_modules/@material-ui/core/esm/colors/common.js");
  1686. /* harmony import */ var _colors_grey__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../colors/grey */ "./node_modules/@material-ui/core/esm/colors/grey.js");
  1687. /* harmony import */ var _colors_indigo__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../colors/indigo */ "./node_modules/@material-ui/core/esm/colors/indigo.js");
  1688. /* harmony import */ var _colors_pink__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../colors/pink */ "./node_modules/@material-ui/core/esm/colors/pink.js");
  1689. /* harmony import */ var _colors_red__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../colors/red */ "./node_modules/@material-ui/core/esm/colors/red.js");
  1690. /* harmony import */ var _colors_orange__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../colors/orange */ "./node_modules/@material-ui/core/esm/colors/orange.js");
  1691. /* harmony import */ var _colors_blue__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../colors/blue */ "./node_modules/@material-ui/core/esm/colors/blue.js");
  1692. /* harmony import */ var _colors_green__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../colors/green */ "./node_modules/@material-ui/core/esm/colors/green.js");
  1693. /* harmony import */ var _colorManipulator__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./colorManipulator */ "./node_modules/@material-ui/core/esm/styles/colorManipulator.js");
  1694. var light = {
  1695. // The colors used to style the text.
  1696. text: {
  1697. // The most important text.
  1698. primary: 'rgba(0, 0, 0, 0.87)',
  1699. // Secondary text.
  1700. secondary: 'rgba(0, 0, 0, 0.54)',
  1701. // Disabled text have even lower visual prominence.
  1702. disabled: 'rgba(0, 0, 0, 0.38)',
  1703. // Text hints.
  1704. hint: 'rgba(0, 0, 0, 0.38)'
  1705. },
  1706. // The color used to divide different elements.
  1707. divider: 'rgba(0, 0, 0, 0.12)',
  1708. // The background colors used to style the surfaces.
  1709. // Consistency between these values is important.
  1710. background: {
  1711. paper: _colors_common__WEBPACK_IMPORTED_MODULE_3__["default"].white,
  1712. default: _colors_grey__WEBPACK_IMPORTED_MODULE_4__["default"][50]
  1713. },
  1714. // The colors used to style the action elements.
  1715. action: {
  1716. // The color of an active action like an icon button.
  1717. active: 'rgba(0, 0, 0, 0.54)',
  1718. // The color of an hovered action.
  1719. hover: 'rgba(0, 0, 0, 0.04)',
  1720. hoverOpacity: 0.04,
  1721. // The color of a selected action.
  1722. selected: 'rgba(0, 0, 0, 0.08)',
  1723. selectedOpacity: 0.08,
  1724. // The color of a disabled action.
  1725. disabled: 'rgba(0, 0, 0, 0.26)',
  1726. // The background color of a disabled action.
  1727. disabledBackground: 'rgba(0, 0, 0, 0.12)',
  1728. disabledOpacity: 0.38,
  1729. focus: 'rgba(0, 0, 0, 0.12)',
  1730. focusOpacity: 0.12,
  1731. activatedOpacity: 0.12
  1732. }
  1733. };
  1734. var dark = {
  1735. text: {
  1736. primary: _colors_common__WEBPACK_IMPORTED_MODULE_3__["default"].white,
  1737. secondary: 'rgba(255, 255, 255, 0.7)',
  1738. disabled: 'rgba(255, 255, 255, 0.5)',
  1739. hint: 'rgba(255, 255, 255, 0.5)',
  1740. icon: 'rgba(255, 255, 255, 0.5)'
  1741. },
  1742. divider: 'rgba(255, 255, 255, 0.12)',
  1743. background: {
  1744. paper: _colors_grey__WEBPACK_IMPORTED_MODULE_4__["default"][800],
  1745. default: '#303030'
  1746. },
  1747. action: {
  1748. active: _colors_common__WEBPACK_IMPORTED_MODULE_3__["default"].white,
  1749. hover: 'rgba(255, 255, 255, 0.08)',
  1750. hoverOpacity: 0.08,
  1751. selected: 'rgba(255, 255, 255, 0.16)',
  1752. selectedOpacity: 0.16,
  1753. disabled: 'rgba(255, 255, 255, 0.3)',
  1754. disabledBackground: 'rgba(255, 255, 255, 0.12)',
  1755. disabledOpacity: 0.38,
  1756. focus: 'rgba(255, 255, 255, 0.12)',
  1757. focusOpacity: 0.12,
  1758. activatedOpacity: 0.24
  1759. }
  1760. };
  1761. function addLightOrDark(intent, direction, shade, tonalOffset) {
  1762. var tonalOffsetLight = tonalOffset.light || tonalOffset;
  1763. var tonalOffsetDark = tonalOffset.dark || tonalOffset * 1.5;
  1764. if (!intent[direction]) {
  1765. if (intent.hasOwnProperty(shade)) {
  1766. intent[direction] = intent[shade];
  1767. } else if (direction === 'light') {
  1768. intent.light = Object(_colorManipulator__WEBPACK_IMPORTED_MODULE_11__["lighten"])(intent.main, tonalOffsetLight);
  1769. } else if (direction === 'dark') {
  1770. intent.dark = Object(_colorManipulator__WEBPACK_IMPORTED_MODULE_11__["darken"])(intent.main, tonalOffsetDark);
  1771. }
  1772. }
  1773. }
  1774. function createPalette(palette) {
  1775. var _palette$primary = palette.primary,
  1776. primary = _palette$primary === void 0 ? {
  1777. light: _colors_indigo__WEBPACK_IMPORTED_MODULE_5__["default"][300],
  1778. main: _colors_indigo__WEBPACK_IMPORTED_MODULE_5__["default"][500],
  1779. dark: _colors_indigo__WEBPACK_IMPORTED_MODULE_5__["default"][700]
  1780. } : _palette$primary,
  1781. _palette$secondary = palette.secondary,
  1782. secondary = _palette$secondary === void 0 ? {
  1783. light: _colors_pink__WEBPACK_IMPORTED_MODULE_6__["default"].A200,
  1784. main: _colors_pink__WEBPACK_IMPORTED_MODULE_6__["default"].A400,
  1785. dark: _colors_pink__WEBPACK_IMPORTED_MODULE_6__["default"].A700
  1786. } : _palette$secondary,
  1787. _palette$error = palette.error,
  1788. error = _palette$error === void 0 ? {
  1789. light: _colors_red__WEBPACK_IMPORTED_MODULE_7__["default"][300],
  1790. main: _colors_red__WEBPACK_IMPORTED_MODULE_7__["default"][500],
  1791. dark: _colors_red__WEBPACK_IMPORTED_MODULE_7__["default"][700]
  1792. } : _palette$error,
  1793. _palette$warning = palette.warning,
  1794. warning = _palette$warning === void 0 ? {
  1795. light: _colors_orange__WEBPACK_IMPORTED_MODULE_8__["default"][300],
  1796. main: _colors_orange__WEBPACK_IMPORTED_MODULE_8__["default"][500],
  1797. dark: _colors_orange__WEBPACK_IMPORTED_MODULE_8__["default"][700]
  1798. } : _palette$warning,
  1799. _palette$info = palette.info,
  1800. info = _palette$info === void 0 ? {
  1801. light: _colors_blue__WEBPACK_IMPORTED_MODULE_9__["default"][300],
  1802. main: _colors_blue__WEBPACK_IMPORTED_MODULE_9__["default"][500],
  1803. dark: _colors_blue__WEBPACK_IMPORTED_MODULE_9__["default"][700]
  1804. } : _palette$info,
  1805. _palette$success = palette.success,
  1806. success = _palette$success === void 0 ? {
  1807. light: _colors_green__WEBPACK_IMPORTED_MODULE_10__["default"][300],
  1808. main: _colors_green__WEBPACK_IMPORTED_MODULE_10__["default"][500],
  1809. dark: _colors_green__WEBPACK_IMPORTED_MODULE_10__["default"][700]
  1810. } : _palette$success,
  1811. _palette$type = palette.type,
  1812. type = _palette$type === void 0 ? 'light' : _palette$type,
  1813. _palette$contrastThre = palette.contrastThreshold,
  1814. contrastThreshold = _palette$contrastThre === void 0 ? 3 : _palette$contrastThre,
  1815. _palette$tonalOffset = palette.tonalOffset,
  1816. tonalOffset = _palette$tonalOffset === void 0 ? 0.2 : _palette$tonalOffset,
  1817. other = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__["default"])(palette, ["primary", "secondary", "error", "warning", "info", "success", "type", "contrastThreshold", "tonalOffset"]); // Use the same logic as
  1818. // Bootstrap: https://github.com/twbs/bootstrap/blob/1d6e3710dd447de1a200f29e8fa521f8a0908f70/scss/_functions.scss#L59
  1819. // and material-components-web https://github.com/material-components/material-components-web/blob/ac46b8863c4dab9fc22c4c662dc6bd1b65dd652f/packages/mdc-theme/_functions.scss#L54
  1820. function getContrastText(background) {
  1821. var contrastText = Object(_colorManipulator__WEBPACK_IMPORTED_MODULE_11__["getContrastRatio"])(background, dark.text.primary) >= contrastThreshold ? dark.text.primary : light.text.primary;
  1822. if (true) {
  1823. var contrast = Object(_colorManipulator__WEBPACK_IMPORTED_MODULE_11__["getContrastRatio"])(background, contrastText);
  1824. if (contrast < 3) {
  1825. console.error(["Material-UI: The contrast ratio of ".concat(contrast, ":1 for ").concat(contrastText, " on ").concat(background), 'falls below the WCAG recommended absolute minimum contrast ratio of 3:1.', 'https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast'].join('\n'));
  1826. }
  1827. }
  1828. return contrastText;
  1829. }
  1830. var augmentColor = function augmentColor(color) {
  1831. var mainShade = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 500;
  1832. var lightShade = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 300;
  1833. var darkShade = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 700;
  1834. color = Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, color);
  1835. if (!color.main && color[mainShade]) {
  1836. color.main = color[mainShade];
  1837. }
  1838. if (!color.main) {
  1839. throw new Error( true ? "Material-UI: The color provided to augmentColor(color) is invalid.\nThe color object needs to have a `main` property or a `".concat(mainShade, "` property.") : undefined);
  1840. }
  1841. if (typeof color.main !== 'string') {
  1842. throw new Error( true ? "Material-UI: The color provided to augmentColor(color) is invalid.\n`color.main` should be a string, but `".concat(JSON.stringify(color.main), "` was provided instead.\n\nDid you intend to use one of the following approaches?\n\nimport {\xA0green } from \"@material-ui/core/colors\";\n\nconst theme1 = createMuiTheme({ palette: {\n primary: green,\n} });\n\nconst theme2 = createMuiTheme({ palette: {\n primary: { main: green[500] },\n} });") : undefined);
  1843. }
  1844. addLightOrDark(color, 'light', lightShade, tonalOffset);
  1845. addLightOrDark(color, 'dark', darkShade, tonalOffset);
  1846. if (!color.contrastText) {
  1847. color.contrastText = getContrastText(color.main);
  1848. }
  1849. return color;
  1850. };
  1851. var types = {
  1852. dark: dark,
  1853. light: light
  1854. };
  1855. if (true) {
  1856. if (!types[type]) {
  1857. console.error("Material-UI: The palette type `".concat(type, "` is not supported."));
  1858. }
  1859. }
  1860. var paletteOutput = Object(_material_ui_utils__WEBPACK_IMPORTED_MODULE_2__["deepmerge"])(Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
  1861. // A collection of common colors.
  1862. common: _colors_common__WEBPACK_IMPORTED_MODULE_3__["default"],
  1863. // The palette type, can be light or dark.
  1864. type: type,
  1865. // The colors used to represent primary interface elements for a user.
  1866. primary: augmentColor(primary),
  1867. // The colors used to represent secondary interface elements for a user.
  1868. secondary: augmentColor(secondary, 'A400', 'A200', 'A700'),
  1869. // The colors used to represent interface elements that the user should be made aware of.
  1870. error: augmentColor(error),
  1871. // The colors used to represent potentially dangerous actions or important messages.
  1872. warning: augmentColor(warning),
  1873. // The colors used to present information to the user that is neutral and not necessarily important.
  1874. info: augmentColor(info),
  1875. // The colors used to indicate the successful completion of an action that user triggered.
  1876. success: augmentColor(success),
  1877. // The grey colors.
  1878. grey: _colors_grey__WEBPACK_IMPORTED_MODULE_4__["default"],
  1879. // Used by `getContrastText()` to maximize the contrast between
  1880. // the background and the text.
  1881. contrastThreshold: contrastThreshold,
  1882. // Takes a background color and returns the text color that maximizes the contrast.
  1883. getContrastText: getContrastText,
  1884. // Generate a rich color object.
  1885. augmentColor: augmentColor,
  1886. // Used by the functions below to shift a color's luminance by approximately
  1887. // two indexes within its tonal palette.
  1888. // E.g., shift from Red 500 to Red 300 or Red 700.
  1889. tonalOffset: tonalOffset
  1890. }, types[type]), other);
  1891. return paletteOutput;
  1892. }
  1893. /***/ }),
  1894. /***/ "./node_modules/@material-ui/core/esm/styles/createSpacing.js":
  1895. /*!********************************************************************!*\
  1896. !*** ./node_modules/@material-ui/core/esm/styles/createSpacing.js ***!
  1897. \********************************************************************/
  1898. /*! exports provided: default */
  1899. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1900. "use strict";
  1901. __webpack_require__.r(__webpack_exports__);
  1902. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return createSpacing; });
  1903. /* harmony import */ var _material_ui_system__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material-ui/system */ "./node_modules/@material-ui/system/esm/index.js");
  1904. var warnOnce;
  1905. function createSpacing() {
  1906. var spacingInput = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 8;
  1907. // Already transformed.
  1908. if (spacingInput.mui) {
  1909. return spacingInput;
  1910. } // Material Design layouts are visually balanced. Most measurements align to an 8dp grid applied, which aligns both spacing and the overall layout.
  1911. // Smaller components, such as icons and type, can align to a 4dp grid.
  1912. // https://material.io/design/layout/understanding-layout.html#usage
  1913. var transform = Object(_material_ui_system__WEBPACK_IMPORTED_MODULE_0__["createUnarySpacing"])({
  1914. spacing: spacingInput
  1915. });
  1916. var spacing = function spacing() {
  1917. for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
  1918. args[_key] = arguments[_key];
  1919. }
  1920. if (true) {
  1921. if (!(args.length <= 4)) {
  1922. console.error("Material-UI: Too many arguments provided, expected between 0 and 4, got ".concat(args.length));
  1923. }
  1924. }
  1925. if (args.length === 0) {
  1926. return transform(1);
  1927. }
  1928. if (args.length === 1) {
  1929. return transform(args[0]);
  1930. }
  1931. return args.map(function (argument) {
  1932. if (typeof argument === 'string') {
  1933. return argument;
  1934. }
  1935. var output = transform(argument);
  1936. return typeof output === 'number' ? "".concat(output, "px") : output;
  1937. }).join(' ');
  1938. }; // Backward compatibility, to remove in v5.
  1939. Object.defineProperty(spacing, 'unit', {
  1940. get: function get() {
  1941. if (true) {
  1942. if (!warnOnce || "development" === 'test') {
  1943. console.error(['Material-UI: theme.spacing.unit usage has been deprecated.', 'It will be removed in v5.', 'You can replace `theme.spacing.unit * y` with `theme.spacing(y)`.', '', 'You can use the `https://github.com/mui-org/material-ui/tree/master/packages/material-ui-codemod/README.md#theme-spacing-api` migration helper to make the process smoother.'].join('\n'));
  1944. }
  1945. warnOnce = true;
  1946. }
  1947. return spacingInput;
  1948. }
  1949. });
  1950. spacing.mui = true;
  1951. return spacing;
  1952. }
  1953. /***/ }),
  1954. /***/ "./node_modules/@material-ui/core/esm/styles/createStyles.js":
  1955. /*!*******************************************************************!*\
  1956. !*** ./node_modules/@material-ui/core/esm/styles/createStyles.js ***!
  1957. \*******************************************************************/
  1958. /*! exports provided: default */
  1959. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1960. "use strict";
  1961. __webpack_require__.r(__webpack_exports__);
  1962. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return createStyles; });
  1963. /* harmony import */ var _material_ui_styles__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material-ui/styles */ "./node_modules/@material-ui/styles/esm/index.js");
  1964. // let warnOnce = false;
  1965. // To remove in v5
  1966. function createStyles(styles) {
  1967. // warning(
  1968. // warnOnce,
  1969. // [
  1970. // 'Material-UI: createStyles from @material-ui/core/styles is deprecated.',
  1971. // 'Please use @material-ui/styles/createStyles',
  1972. // ].join('\n'),
  1973. // );
  1974. // warnOnce = true;
  1975. return Object(_material_ui_styles__WEBPACK_IMPORTED_MODULE_0__["createStyles"])(styles);
  1976. }
  1977. /***/ }),
  1978. /***/ "./node_modules/@material-ui/core/esm/styles/createTypography.js":
  1979. /*!***********************************************************************!*\
  1980. !*** ./node_modules/@material-ui/core/esm/styles/createTypography.js ***!
  1981. \***********************************************************************/
  1982. /*! exports provided: default */
  1983. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1984. "use strict";
  1985. __webpack_require__.r(__webpack_exports__);
  1986. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return createTypography; });
  1987. /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
  1988. /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
  1989. /* harmony import */ var _material_ui_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @material-ui/utils */ "./node_modules/@material-ui/utils/esm/index.js");
  1990. function round(value) {
  1991. return Math.round(value * 1e5) / 1e5;
  1992. }
  1993. var caseAllCaps = {
  1994. textTransform: 'uppercase'
  1995. };
  1996. var defaultFontFamily = '"Roboto", "Helvetica", "Arial", sans-serif';
  1997. /**
  1998. * @see @link{https://material.io/design/typography/the-type-system.html}
  1999. * @see @link{https://material.io/design/typography/understanding-typography.html}
  2000. */
  2001. function createTypography(palette, typography) {
  2002. var _ref = typeof typography === 'function' ? typography(palette) : typography,
  2003. _ref$fontFamily = _ref.fontFamily,
  2004. fontFamily = _ref$fontFamily === void 0 ? defaultFontFamily : _ref$fontFamily,
  2005. _ref$fontSize = _ref.fontSize,
  2006. fontSize = _ref$fontSize === void 0 ? 14 : _ref$fontSize,
  2007. _ref$fontWeightLight = _ref.fontWeightLight,
  2008. fontWeightLight = _ref$fontWeightLight === void 0 ? 300 : _ref$fontWeightLight,
  2009. _ref$fontWeightRegula = _ref.fontWeightRegular,
  2010. fontWeightRegular = _ref$fontWeightRegula === void 0 ? 400 : _ref$fontWeightRegula,
  2011. _ref$fontWeightMedium = _ref.fontWeightMedium,
  2012. fontWeightMedium = _ref$fontWeightMedium === void 0 ? 500 : _ref$fontWeightMedium,
  2013. _ref$fontWeightBold = _ref.fontWeightBold,
  2014. fontWeightBold = _ref$fontWeightBold === void 0 ? 700 : _ref$fontWeightBold,
  2015. _ref$htmlFontSize = _ref.htmlFontSize,
  2016. htmlFontSize = _ref$htmlFontSize === void 0 ? 16 : _ref$htmlFontSize,
  2017. allVariants = _ref.allVariants,
  2018. pxToRem2 = _ref.pxToRem,
  2019. other = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__["default"])(_ref, ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"]);
  2020. if (true) {
  2021. if (typeof fontSize !== 'number') {
  2022. console.error('Material-UI: `fontSize` is required to be a number.');
  2023. }
  2024. if (typeof htmlFontSize !== 'number') {
  2025. console.error('Material-UI: `htmlFontSize` is required to be a number.');
  2026. }
  2027. }
  2028. var coef = fontSize / 14;
  2029. var pxToRem = pxToRem2 || function (size) {
  2030. return "".concat(size / htmlFontSize * coef, "rem");
  2031. };
  2032. var buildVariant = function buildVariant(fontWeight, size, lineHeight, letterSpacing, casing) {
  2033. return Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
  2034. fontFamily: fontFamily,
  2035. fontWeight: fontWeight,
  2036. fontSize: pxToRem(size),
  2037. // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
  2038. lineHeight: lineHeight
  2039. }, fontFamily === defaultFontFamily ? {
  2040. letterSpacing: "".concat(round(letterSpacing / size), "em")
  2041. } : {}, casing, allVariants);
  2042. };
  2043. var variants = {
  2044. h1: buildVariant(fontWeightLight, 96, 1.167, -1.5),
  2045. h2: buildVariant(fontWeightLight, 60, 1.2, -0.5),
  2046. h3: buildVariant(fontWeightRegular, 48, 1.167, 0),
  2047. h4: buildVariant(fontWeightRegular, 34, 1.235, 0.25),
  2048. h5: buildVariant(fontWeightRegular, 24, 1.334, 0),
  2049. h6: buildVariant(fontWeightMedium, 20, 1.6, 0.15),
  2050. subtitle1: buildVariant(fontWeightRegular, 16, 1.75, 0.15),
  2051. subtitle2: buildVariant(fontWeightMedium, 14, 1.57, 0.1),
  2052. body1: buildVariant(fontWeightRegular, 16, 1.5, 0.15),
  2053. body2: buildVariant(fontWeightRegular, 14, 1.43, 0.15),
  2054. button: buildVariant(fontWeightMedium, 14, 1.75, 0.4, caseAllCaps),
  2055. caption: buildVariant(fontWeightRegular, 12, 1.66, 0.4),
  2056. overline: buildVariant(fontWeightRegular, 12, 2.66, 1, caseAllCaps)
  2057. };
  2058. return Object(_material_ui_utils__WEBPACK_IMPORTED_MODULE_2__["deepmerge"])(Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
  2059. htmlFontSize: htmlFontSize,
  2060. pxToRem: pxToRem,
  2061. round: round,
  2062. // TODO v5: remove
  2063. fontFamily: fontFamily,
  2064. fontSize: fontSize,
  2065. fontWeightLight: fontWeightLight,
  2066. fontWeightRegular: fontWeightRegular,
  2067. fontWeightMedium: fontWeightMedium,
  2068. fontWeightBold: fontWeightBold
  2069. }, variants), other, {
  2070. clone: false // No need to clone deep
  2071. });
  2072. }
  2073. /***/ }),
  2074. /***/ "./node_modules/@material-ui/core/esm/styles/cssUtils.js":
  2075. /*!***************************************************************!*\
  2076. !*** ./node_modules/@material-ui/core/esm/styles/cssUtils.js ***!
  2077. \***************************************************************/
  2078. /*! exports provided: isUnitless, getUnit, toUnitless, convertLength, alignProperty, fontGrid, responsiveProperty */
  2079. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2080. "use strict";
  2081. __webpack_require__.r(__webpack_exports__);
  2082. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isUnitless", function() { return isUnitless; });
  2083. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getUnit", function() { return getUnit; });
  2084. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "toUnitless", function() { return toUnitless; });
  2085. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "convertLength", function() { return convertLength; });
  2086. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "alignProperty", function() { return alignProperty; });
  2087. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fontGrid", function() { return fontGrid; });
  2088. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "responsiveProperty", function() { return responsiveProperty; });
  2089. /* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ "./node_modules/@babel/runtime/helpers/esm/defineProperty.js");
  2090. function isUnitless(value) {
  2091. return String(parseFloat(value)).length === String(value).length;
  2092. } // Ported from Compass
  2093. // https://github.com/Compass/compass/blob/master/core/stylesheets/compass/typography/_units.scss
  2094. // Emulate the sass function "unit"
  2095. function getUnit(input) {
  2096. return String(input).match(/[\d.\-+]*\s*(.*)/)[1] || '';
  2097. } // Emulate the sass function "unitless"
  2098. function toUnitless(length) {
  2099. return parseFloat(length);
  2100. } // Convert any CSS <length> or <percentage> value to any another.
  2101. // From https://github.com/KyleAMathews/convert-css-length
  2102. function convertLength(baseFontSize) {
  2103. return function (length, toUnit) {
  2104. var fromUnit = getUnit(length); // Optimize for cases where `from` and `to` units are accidentally the same.
  2105. if (fromUnit === toUnit) {
  2106. return length;
  2107. } // Convert input length to pixels.
  2108. var pxLength = toUnitless(length);
  2109. if (fromUnit !== 'px') {
  2110. if (fromUnit === 'em') {
  2111. pxLength = toUnitless(length) * toUnitless(baseFontSize);
  2112. } else if (fromUnit === 'rem') {
  2113. pxLength = toUnitless(length) * toUnitless(baseFontSize);
  2114. return length;
  2115. }
  2116. } // Convert length in pixels to the output unit
  2117. var outputLength = pxLength;
  2118. if (toUnit !== 'px') {
  2119. if (toUnit === 'em') {
  2120. outputLength = pxLength / toUnitless(baseFontSize);
  2121. } else if (toUnit === 'rem') {
  2122. outputLength = pxLength / toUnitless(baseFontSize);
  2123. } else {
  2124. return length;
  2125. }
  2126. }
  2127. return parseFloat(outputLength.toFixed(5)) + toUnit;
  2128. };
  2129. }
  2130. function alignProperty(_ref) {
  2131. var size = _ref.size,
  2132. grid = _ref.grid;
  2133. var sizeBelow = size - size % grid;
  2134. var sizeAbove = sizeBelow + grid;
  2135. return size - sizeBelow < sizeAbove - size ? sizeBelow : sizeAbove;
  2136. } // fontGrid finds a minimal grid (in rem) for the fontSize values so that the
  2137. // lineHeight falls under a x pixels grid, 4px in the case of Material Design,
  2138. // without changing the relative line height
  2139. function fontGrid(_ref2) {
  2140. var lineHeight = _ref2.lineHeight,
  2141. pixels = _ref2.pixels,
  2142. htmlFontSize = _ref2.htmlFontSize;
  2143. return pixels / (lineHeight * htmlFontSize);
  2144. }
  2145. /**
  2146. * generate a responsive version of a given CSS property
  2147. * @example
  2148. * responsiveProperty({
  2149. * cssProperty: 'fontSize',
  2150. * min: 15,
  2151. * max: 20,
  2152. * unit: 'px',
  2153. * breakpoints: [300, 600],
  2154. * })
  2155. *
  2156. * // this returns
  2157. *
  2158. * {
  2159. * fontSize: '15px',
  2160. * '@media (min-width:300px)': {
  2161. * fontSize: '17.5px',
  2162. * },
  2163. * '@media (min-width:600px)': {
  2164. * fontSize: '20px',
  2165. * },
  2166. * }
  2167. *
  2168. * @param {Object} params
  2169. * @param {string} params.cssProperty - The CSS property to be made responsive
  2170. * @param {number} params.min - The smallest value of the CSS property
  2171. * @param {number} params.max - The largest value of the CSS property
  2172. * @param {string} [params.unit] - The unit to be used for the CSS property
  2173. * @param {Array.number} [params.breakpoints] - An array of breakpoints
  2174. * @param {number} [params.alignStep] - Round scaled value to fall under this grid
  2175. * @returns {Object} responsive styles for {params.cssProperty}
  2176. */
  2177. function responsiveProperty(_ref3) {
  2178. var cssProperty = _ref3.cssProperty,
  2179. min = _ref3.min,
  2180. max = _ref3.max,
  2181. _ref3$unit = _ref3.unit,
  2182. unit = _ref3$unit === void 0 ? 'rem' : _ref3$unit,
  2183. _ref3$breakpoints = _ref3.breakpoints,
  2184. breakpoints = _ref3$breakpoints === void 0 ? [600, 960, 1280] : _ref3$breakpoints,
  2185. _ref3$transform = _ref3.transform,
  2186. transform = _ref3$transform === void 0 ? null : _ref3$transform;
  2187. var output = Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])({}, cssProperty, "".concat(min).concat(unit));
  2188. var factor = (max - min) / breakpoints[breakpoints.length - 1];
  2189. breakpoints.forEach(function (breakpoint) {
  2190. var value = min + factor * breakpoint;
  2191. if (transform !== null) {
  2192. value = transform(value);
  2193. }
  2194. output["@media (min-width:".concat(breakpoint, "px)")] = Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])({}, cssProperty, "".concat(Math.round(value * 10000) / 10000).concat(unit));
  2195. });
  2196. return output;
  2197. }
  2198. /***/ }),
  2199. /***/ "./node_modules/@material-ui/core/esm/styles/defaultTheme.js":
  2200. /*!*******************************************************************!*\
  2201. !*** ./node_modules/@material-ui/core/esm/styles/defaultTheme.js ***!
  2202. \*******************************************************************/
  2203. /*! exports provided: default */
  2204. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2205. "use strict";
  2206. __webpack_require__.r(__webpack_exports__);
  2207. /* harmony import */ var _createMuiTheme__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./createMuiTheme */ "./node_modules/@material-ui/core/esm/styles/createMuiTheme.js");
  2208. var defaultTheme = Object(_createMuiTheme__WEBPACK_IMPORTED_MODULE_0__["default"])();
  2209. /* harmony default export */ __webpack_exports__["default"] = (defaultTheme);
  2210. /***/ }),
  2211. /***/ "./node_modules/@material-ui/core/esm/styles/index.js":
  2212. /*!************************************************************!*\
  2213. !*** ./node_modules/@material-ui/core/esm/styles/index.js ***!
  2214. \************************************************************/
  2215. /*! exports provided: hexToRgb, rgbToHex, hslToRgb, decomposeColor, recomposeColor, getContrastRatio, getLuminance, emphasize, fade, darken, lighten, createMuiTheme, unstable_createMuiStrictModeTheme, createStyles, makeStyles, responsiveFontSizes, styled, easing, duration, useTheme, withStyles, withTheme, createGenerateClassName, jssPreset, ServerStyleSheets, StylesProvider, MuiThemeProvider, ThemeProvider */
  2216. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2217. "use strict";
  2218. __webpack_require__.r(__webpack_exports__);
  2219. /* harmony import */ var _colorManipulator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./colorManipulator */ "./node_modules/@material-ui/core/esm/styles/colorManipulator.js");
  2220. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "hexToRgb", function() { return _colorManipulator__WEBPACK_IMPORTED_MODULE_0__["hexToRgb"]; });
  2221. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "rgbToHex", function() { return _colorManipulator__WEBPACK_IMPORTED_MODULE_0__["rgbToHex"]; });
  2222. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "hslToRgb", function() { return _colorManipulator__WEBPACK_IMPORTED_MODULE_0__["hslToRgb"]; });
  2223. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "decomposeColor", function() { return _colorManipulator__WEBPACK_IMPORTED_MODULE_0__["decomposeColor"]; });
  2224. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recomposeColor", function() { return _colorManipulator__WEBPACK_IMPORTED_MODULE_0__["recomposeColor"]; });
  2225. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "getContrastRatio", function() { return _colorManipulator__WEBPACK_IMPORTED_MODULE_0__["getContrastRatio"]; });
  2226. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "getLuminance", function() { return _colorManipulator__WEBPACK_IMPORTED_MODULE_0__["getLuminance"]; });
  2227. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "emphasize", function() { return _colorManipulator__WEBPACK_IMPORTED_MODULE_0__["emphasize"]; });
  2228. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "fade", function() { return _colorManipulator__WEBPACK_IMPORTED_MODULE_0__["fade"]; });
  2229. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "darken", function() { return _colorManipulator__WEBPACK_IMPORTED_MODULE_0__["darken"]; });
  2230. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "lighten", function() { return _colorManipulator__WEBPACK_IMPORTED_MODULE_0__["lighten"]; });
  2231. /* harmony import */ var _createMuiTheme__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./createMuiTheme */ "./node_modules/@material-ui/core/esm/styles/createMuiTheme.js");
  2232. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createMuiTheme", function() { return _createMuiTheme__WEBPACK_IMPORTED_MODULE_1__["default"]; });
  2233. /* harmony import */ var _createMuiStrictModeTheme__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./createMuiStrictModeTheme */ "./node_modules/@material-ui/core/esm/styles/createMuiStrictModeTheme.js");
  2234. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "unstable_createMuiStrictModeTheme", function() { return _createMuiStrictModeTheme__WEBPACK_IMPORTED_MODULE_2__["default"]; });
  2235. /* harmony import */ var _createStyles__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./createStyles */ "./node_modules/@material-ui/core/esm/styles/createStyles.js");
  2236. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createStyles", function() { return _createStyles__WEBPACK_IMPORTED_MODULE_3__["default"]; });
  2237. /* harmony import */ var _makeStyles__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./makeStyles */ "./node_modules/@material-ui/core/esm/styles/makeStyles.js");
  2238. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "makeStyles", function() { return _makeStyles__WEBPACK_IMPORTED_MODULE_4__["default"]; });
  2239. /* harmony import */ var _responsiveFontSizes__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./responsiveFontSizes */ "./node_modules/@material-ui/core/esm/styles/responsiveFontSizes.js");
  2240. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "responsiveFontSizes", function() { return _responsiveFontSizes__WEBPACK_IMPORTED_MODULE_5__["default"]; });
  2241. /* harmony import */ var _styled__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./styled */ "./node_modules/@material-ui/core/esm/styles/styled.js");
  2242. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "styled", function() { return _styled__WEBPACK_IMPORTED_MODULE_6__["default"]; });
  2243. /* harmony import */ var _transitions__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./transitions */ "./node_modules/@material-ui/core/esm/styles/transitions.js");
  2244. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "easing", function() { return _transitions__WEBPACK_IMPORTED_MODULE_7__["easing"]; });
  2245. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "duration", function() { return _transitions__WEBPACK_IMPORTED_MODULE_7__["duration"]; });
  2246. /* harmony import */ var _useTheme__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./useTheme */ "./node_modules/@material-ui/core/esm/styles/useTheme.js");
  2247. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "useTheme", function() { return _useTheme__WEBPACK_IMPORTED_MODULE_8__["default"]; });
  2248. /* harmony import */ var _withStyles__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./withStyles */ "./node_modules/@material-ui/core/esm/styles/withStyles.js");
  2249. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "withStyles", function() { return _withStyles__WEBPACK_IMPORTED_MODULE_9__["default"]; });
  2250. /* harmony import */ var _withTheme__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./withTheme */ "./node_modules/@material-ui/core/esm/styles/withTheme.js");
  2251. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "withTheme", function() { return _withTheme__WEBPACK_IMPORTED_MODULE_10__["default"]; });
  2252. /* harmony import */ var _material_ui_styles__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @material-ui/styles */ "./node_modules/@material-ui/styles/esm/index.js");
  2253. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createGenerateClassName", function() { return _material_ui_styles__WEBPACK_IMPORTED_MODULE_11__["createGenerateClassName"]; });
  2254. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "jssPreset", function() { return _material_ui_styles__WEBPACK_IMPORTED_MODULE_11__["jssPreset"]; });
  2255. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ServerStyleSheets", function() { return _material_ui_styles__WEBPACK_IMPORTED_MODULE_11__["ServerStyleSheets"]; });
  2256. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "StylesProvider", function() { return _material_ui_styles__WEBPACK_IMPORTED_MODULE_11__["StylesProvider"]; });
  2257. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MuiThemeProvider", function() { return _material_ui_styles__WEBPACK_IMPORTED_MODULE_11__["ThemeProvider"]; });
  2258. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ThemeProvider", function() { return _material_ui_styles__WEBPACK_IMPORTED_MODULE_11__["ThemeProvider"]; });
  2259. // eslint-disable-next-line camelcase
  2260. /***/ }),
  2261. /***/ "./node_modules/@material-ui/core/esm/styles/makeStyles.js":
  2262. /*!*****************************************************************!*\
  2263. !*** ./node_modules/@material-ui/core/esm/styles/makeStyles.js ***!
  2264. \*****************************************************************/
  2265. /*! exports provided: default */
  2266. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2267. "use strict";
  2268. __webpack_require__.r(__webpack_exports__);
  2269. /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
  2270. /* harmony import */ var _material_ui_styles__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @material-ui/styles */ "./node_modules/@material-ui/styles/esm/index.js");
  2271. /* harmony import */ var _defaultTheme__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./defaultTheme */ "./node_modules/@material-ui/core/esm/styles/defaultTheme.js");
  2272. function makeStyles(stylesOrCreator) {
  2273. var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  2274. return Object(_material_ui_styles__WEBPACK_IMPORTED_MODULE_1__["makeStyles"])(stylesOrCreator, Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
  2275. defaultTheme: _defaultTheme__WEBPACK_IMPORTED_MODULE_2__["default"]
  2276. }, options));
  2277. }
  2278. /* harmony default export */ __webpack_exports__["default"] = (makeStyles);
  2279. /***/ }),
  2280. /***/ "./node_modules/@material-ui/core/esm/styles/responsiveFontSizes.js":
  2281. /*!**************************************************************************!*\
  2282. !*** ./node_modules/@material-ui/core/esm/styles/responsiveFontSizes.js ***!
  2283. \**************************************************************************/
  2284. /*! exports provided: default */
  2285. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2286. "use strict";
  2287. __webpack_require__.r(__webpack_exports__);
  2288. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return responsiveFontSizes; });
  2289. /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
  2290. /* harmony import */ var _material_ui_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @material-ui/utils */ "./node_modules/@material-ui/utils/esm/index.js");
  2291. /* harmony import */ var _cssUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./cssUtils */ "./node_modules/@material-ui/core/esm/styles/cssUtils.js");
  2292. function responsiveFontSizes(themeInput) {
  2293. var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  2294. var _options$breakpoints = options.breakpoints,
  2295. breakpoints = _options$breakpoints === void 0 ? ['sm', 'md', 'lg'] : _options$breakpoints,
  2296. _options$disableAlign = options.disableAlign,
  2297. disableAlign = _options$disableAlign === void 0 ? false : _options$disableAlign,
  2298. _options$factor = options.factor,
  2299. factor = _options$factor === void 0 ? 2 : _options$factor,
  2300. _options$variants = options.variants,
  2301. variants = _options$variants === void 0 ? ['h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'subtitle1', 'subtitle2', 'body1', 'body2', 'caption', 'button', 'overline'] : _options$variants;
  2302. var theme = Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, themeInput);
  2303. theme.typography = Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, theme.typography);
  2304. var typography = theme.typography; // Convert between css lengths e.g. em->px or px->rem
  2305. // Set the baseFontSize for your project. Defaults to 16px (also the browser default).
  2306. var convert = Object(_cssUtils__WEBPACK_IMPORTED_MODULE_2__["convertLength"])(typography.htmlFontSize);
  2307. var breakpointValues = breakpoints.map(function (x) {
  2308. return theme.breakpoints.values[x];
  2309. });
  2310. variants.forEach(function (variant) {
  2311. var style = typography[variant];
  2312. var remFontSize = parseFloat(convert(style.fontSize, 'rem'));
  2313. if (remFontSize <= 1) {
  2314. return;
  2315. }
  2316. var maxFontSize = remFontSize;
  2317. var minFontSize = 1 + (maxFontSize - 1) / factor;
  2318. var lineHeight = style.lineHeight;
  2319. if (!Object(_cssUtils__WEBPACK_IMPORTED_MODULE_2__["isUnitless"])(lineHeight) && !disableAlign) {
  2320. throw new Error( true ? "Material-UI: Unsupported non-unitless line height with grid alignment.\nUse unitless line heights instead." : undefined);
  2321. }
  2322. if (!Object(_cssUtils__WEBPACK_IMPORTED_MODULE_2__["isUnitless"])(lineHeight)) {
  2323. // make it unitless
  2324. lineHeight = parseFloat(convert(lineHeight, 'rem')) / parseFloat(remFontSize);
  2325. }
  2326. var transform = null;
  2327. if (!disableAlign) {
  2328. transform = function transform(value) {
  2329. return Object(_cssUtils__WEBPACK_IMPORTED_MODULE_2__["alignProperty"])({
  2330. size: value,
  2331. grid: Object(_cssUtils__WEBPACK_IMPORTED_MODULE_2__["fontGrid"])({
  2332. pixels: 4,
  2333. lineHeight: lineHeight,
  2334. htmlFontSize: typography.htmlFontSize
  2335. })
  2336. });
  2337. };
  2338. }
  2339. typography[variant] = Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, style, Object(_cssUtils__WEBPACK_IMPORTED_MODULE_2__["responsiveProperty"])({
  2340. cssProperty: 'fontSize',
  2341. min: minFontSize,
  2342. max: maxFontSize,
  2343. unit: 'rem',
  2344. breakpoints: breakpointValues,
  2345. transform: transform
  2346. }));
  2347. });
  2348. return theme;
  2349. }
  2350. /***/ }),
  2351. /***/ "./node_modules/@material-ui/core/esm/styles/shadows.js":
  2352. /*!**************************************************************!*\
  2353. !*** ./node_modules/@material-ui/core/esm/styles/shadows.js ***!
  2354. \**************************************************************/
  2355. /*! exports provided: default */
  2356. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2357. "use strict";
  2358. __webpack_require__.r(__webpack_exports__);
  2359. var shadowKeyUmbraOpacity = 0.2;
  2360. var shadowKeyPenumbraOpacity = 0.14;
  2361. var shadowAmbientShadowOpacity = 0.12;
  2362. function createShadow() {
  2363. return ["".concat(arguments.length <= 0 ? undefined : arguments[0], "px ").concat(arguments.length <= 1 ? undefined : arguments[1], "px ").concat(arguments.length <= 2 ? undefined : arguments[2], "px ").concat(arguments.length <= 3 ? undefined : arguments[3], "px rgba(0,0,0,").concat(shadowKeyUmbraOpacity, ")"), "".concat(arguments.length <= 4 ? undefined : arguments[4], "px ").concat(arguments.length <= 5 ? undefined : arguments[5], "px ").concat(arguments.length <= 6 ? undefined : arguments[6], "px ").concat(arguments.length <= 7 ? undefined : arguments[7], "px rgba(0,0,0,").concat(shadowKeyPenumbraOpacity, ")"), "".concat(arguments.length <= 8 ? undefined : arguments[8], "px ").concat(arguments.length <= 9 ? undefined : arguments[9], "px ").concat(arguments.length <= 10 ? undefined : arguments[10], "px ").concat(arguments.length <= 11 ? undefined : arguments[11], "px rgba(0,0,0,").concat(shadowAmbientShadowOpacity, ")")].join(',');
  2364. } // Values from https://github.com/material-components/material-components-web/blob/be8747f94574669cb5e7add1a7c54fa41a89cec7/packages/mdc-elevation/_variables.scss
  2365. var shadows = ['none', createShadow(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), createShadow(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), createShadow(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), createShadow(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), createShadow(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), createShadow(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), createShadow(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), createShadow(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), createShadow(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), createShadow(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), createShadow(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), createShadow(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), createShadow(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), createShadow(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), createShadow(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), createShadow(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), createShadow(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), createShadow(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), createShadow(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), createShadow(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), createShadow(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), createShadow(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), createShadow(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), createShadow(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)];
  2366. /* harmony default export */ __webpack_exports__["default"] = (shadows);
  2367. /***/ }),
  2368. /***/ "./node_modules/@material-ui/core/esm/styles/shape.js":
  2369. /*!************************************************************!*\
  2370. !*** ./node_modules/@material-ui/core/esm/styles/shape.js ***!
  2371. \************************************************************/
  2372. /*! exports provided: default */
  2373. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2374. "use strict";
  2375. __webpack_require__.r(__webpack_exports__);
  2376. var shape = {
  2377. borderRadius: 4
  2378. };
  2379. /* harmony default export */ __webpack_exports__["default"] = (shape);
  2380. /***/ }),
  2381. /***/ "./node_modules/@material-ui/core/esm/styles/styled.js":
  2382. /*!*************************************************************!*\
  2383. !*** ./node_modules/@material-ui/core/esm/styles/styled.js ***!
  2384. \*************************************************************/
  2385. /*! exports provided: default */
  2386. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2387. "use strict";
  2388. __webpack_require__.r(__webpack_exports__);
  2389. /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
  2390. /* harmony import */ var _material_ui_styles__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @material-ui/styles */ "./node_modules/@material-ui/styles/esm/index.js");
  2391. /* harmony import */ var _defaultTheme__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./defaultTheme */ "./node_modules/@material-ui/core/esm/styles/defaultTheme.js");
  2392. var styled = function styled(Component) {
  2393. var componentCreator = Object(_material_ui_styles__WEBPACK_IMPORTED_MODULE_1__["styled"])(Component);
  2394. return function (style, options) {
  2395. return componentCreator(style, Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
  2396. defaultTheme: _defaultTheme__WEBPACK_IMPORTED_MODULE_2__["default"]
  2397. }, options));
  2398. };
  2399. };
  2400. /* harmony default export */ __webpack_exports__["default"] = (styled);
  2401. /***/ }),
  2402. /***/ "./node_modules/@material-ui/core/esm/styles/transitions.js":
  2403. /*!******************************************************************!*\
  2404. !*** ./node_modules/@material-ui/core/esm/styles/transitions.js ***!
  2405. \******************************************************************/
  2406. /*! exports provided: easing, duration, default */
  2407. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2408. "use strict";
  2409. __webpack_require__.r(__webpack_exports__);
  2410. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "easing", function() { return easing; });
  2411. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "duration", function() { return duration; });
  2412. /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
  2413. // Follow https://material.google.com/motion/duration-easing.html#duration-easing-natural-easing-curves
  2414. // to learn the context in which each easing should be used.
  2415. var easing = {
  2416. // This is the most common easing curve.
  2417. easeInOut: 'cubic-bezier(0.4, 0, 0.2, 1)',
  2418. // Objects enter the screen at full velocity from off-screen and
  2419. // slowly decelerate to a resting point.
  2420. easeOut: 'cubic-bezier(0.0, 0, 0.2, 1)',
  2421. // Objects leave the screen at full velocity. They do not decelerate when off-screen.
  2422. easeIn: 'cubic-bezier(0.4, 0, 1, 1)',
  2423. // The sharp curve is used by objects that may return to the screen at any time.
  2424. sharp: 'cubic-bezier(0.4, 0, 0.6, 1)'
  2425. }; // Follow https://material.io/guidelines/motion/duration-easing.html#duration-easing-common-durations
  2426. // to learn when use what timing
  2427. var duration = {
  2428. shortest: 150,
  2429. shorter: 200,
  2430. short: 250,
  2431. // most basic recommended timing
  2432. standard: 300,
  2433. // this is to be used in complex animations
  2434. complex: 375,
  2435. // recommended when something is entering screen
  2436. enteringScreen: 225,
  2437. // recommended when something is leaving screen
  2438. leavingScreen: 195
  2439. };
  2440. function formatMs(milliseconds) {
  2441. return "".concat(Math.round(milliseconds), "ms");
  2442. }
  2443. /**
  2444. * @param {string|Array} props
  2445. * @param {object} param
  2446. * @param {string} param.prop
  2447. * @param {number} param.duration
  2448. * @param {string} param.easing
  2449. * @param {number} param.delay
  2450. */
  2451. /* harmony default export */ __webpack_exports__["default"] = ({
  2452. easing: easing,
  2453. duration: duration,
  2454. create: function create() {
  2455. var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ['all'];
  2456. var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  2457. var _options$duration = options.duration,
  2458. durationOption = _options$duration === void 0 ? duration.standard : _options$duration,
  2459. _options$easing = options.easing,
  2460. easingOption = _options$easing === void 0 ? easing.easeInOut : _options$easing,
  2461. _options$delay = options.delay,
  2462. delay = _options$delay === void 0 ? 0 : _options$delay,
  2463. other = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_0__["default"])(options, ["duration", "easing", "delay"]);
  2464. if (true) {
  2465. var isString = function isString(value) {
  2466. return typeof value === 'string';
  2467. };
  2468. var isNumber = function isNumber(value) {
  2469. return !isNaN(parseFloat(value));
  2470. };
  2471. if (!isString(props) && !Array.isArray(props)) {
  2472. console.error('Material-UI: Argument "props" must be a string or Array.');
  2473. }
  2474. if (!isNumber(durationOption) && !isString(durationOption)) {
  2475. console.error("Material-UI: Argument \"duration\" must be a number or a string but found ".concat(durationOption, "."));
  2476. }
  2477. if (!isString(easingOption)) {
  2478. console.error('Material-UI: Argument "easing" must be a string.');
  2479. }
  2480. if (!isNumber(delay) && !isString(delay)) {
  2481. console.error('Material-UI: Argument "delay" must be a number or a string.');
  2482. }
  2483. if (Object.keys(other).length !== 0) {
  2484. console.error("Material-UI: Unrecognized argument(s) [".concat(Object.keys(other).join(','), "]."));
  2485. }
  2486. }
  2487. return (Array.isArray(props) ? props : [props]).map(function (animatedProp) {
  2488. return "".concat(animatedProp, " ").concat(typeof durationOption === 'string' ? durationOption : formatMs(durationOption), " ").concat(easingOption, " ").concat(typeof delay === 'string' ? delay : formatMs(delay));
  2489. }).join(',');
  2490. },
  2491. getAutoHeightDuration: function getAutoHeightDuration(height) {
  2492. if (!height) {
  2493. return 0;
  2494. }
  2495. var constant = height / 36; // https://www.wolframalpha.com/input/?i=(4+%2B+15+*+(x+%2F+36+)+**+0.25+%2B+(x+%2F+36)+%2F+5)+*+10
  2496. return Math.round((4 + 15 * Math.pow(constant, 0.25) + constant / 5) * 10);
  2497. }
  2498. });
  2499. /***/ }),
  2500. /***/ "./node_modules/@material-ui/core/esm/styles/useTheme.js":
  2501. /*!***************************************************************!*\
  2502. !*** ./node_modules/@material-ui/core/esm/styles/useTheme.js ***!
  2503. \***************************************************************/
  2504. /*! exports provided: default */
  2505. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2506. "use strict";
  2507. __webpack_require__.r(__webpack_exports__);
  2508. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return useTheme; });
  2509. /* harmony import */ var _material_ui_styles__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material-ui/styles */ "./node_modules/@material-ui/styles/esm/index.js");
  2510. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
  2511. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  2512. /* harmony import */ var _defaultTheme__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./defaultTheme */ "./node_modules/@material-ui/core/esm/styles/defaultTheme.js");
  2513. function useTheme() {
  2514. var theme = Object(_material_ui_styles__WEBPACK_IMPORTED_MODULE_0__["useTheme"])() || _defaultTheme__WEBPACK_IMPORTED_MODULE_2__["default"];
  2515. if (true) {
  2516. // eslint-disable-next-line react-hooks/rules-of-hooks
  2517. react__WEBPACK_IMPORTED_MODULE_1___default.a.useDebugValue(theme);
  2518. }
  2519. return theme;
  2520. }
  2521. /***/ }),
  2522. /***/ "./node_modules/@material-ui/core/esm/styles/withStyles.js":
  2523. /*!*****************************************************************!*\
  2524. !*** ./node_modules/@material-ui/core/esm/styles/withStyles.js ***!
  2525. \*****************************************************************/
  2526. /*! exports provided: default */
  2527. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2528. "use strict";
  2529. __webpack_require__.r(__webpack_exports__);
  2530. /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
  2531. /* harmony import */ var _material_ui_styles__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @material-ui/styles */ "./node_modules/@material-ui/styles/esm/index.js");
  2532. /* harmony import */ var _defaultTheme__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./defaultTheme */ "./node_modules/@material-ui/core/esm/styles/defaultTheme.js");
  2533. function withStyles(stylesOrCreator, options) {
  2534. return Object(_material_ui_styles__WEBPACK_IMPORTED_MODULE_1__["withStyles"])(stylesOrCreator, Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
  2535. defaultTheme: _defaultTheme__WEBPACK_IMPORTED_MODULE_2__["default"]
  2536. }, options));
  2537. }
  2538. /* harmony default export */ __webpack_exports__["default"] = (withStyles);
  2539. /***/ }),
  2540. /***/ "./node_modules/@material-ui/core/esm/styles/withTheme.js":
  2541. /*!****************************************************************!*\
  2542. !*** ./node_modules/@material-ui/core/esm/styles/withTheme.js ***!
  2543. \****************************************************************/
  2544. /*! exports provided: default */
  2545. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2546. "use strict";
  2547. __webpack_require__.r(__webpack_exports__);
  2548. /* harmony import */ var _material_ui_styles__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material-ui/styles */ "./node_modules/@material-ui/styles/esm/index.js");
  2549. /* harmony import */ var _defaultTheme__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./defaultTheme */ "./node_modules/@material-ui/core/esm/styles/defaultTheme.js");
  2550. var withTheme = Object(_material_ui_styles__WEBPACK_IMPORTED_MODULE_0__["withThemeCreator"])({
  2551. defaultTheme: _defaultTheme__WEBPACK_IMPORTED_MODULE_1__["default"]
  2552. });
  2553. /* harmony default export */ __webpack_exports__["default"] = (withTheme);
  2554. /***/ }),
  2555. /***/ "./node_modules/@material-ui/core/esm/styles/zIndex.js":
  2556. /*!*************************************************************!*\
  2557. !*** ./node_modules/@material-ui/core/esm/styles/zIndex.js ***!
  2558. \*************************************************************/
  2559. /*! exports provided: default */
  2560. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2561. "use strict";
  2562. __webpack_require__.r(__webpack_exports__);
  2563. // We need to centralize the zIndex definitions as they work
  2564. // like global values in the browser.
  2565. var zIndex = {
  2566. mobileStepper: 1000,
  2567. speedDial: 1050,
  2568. appBar: 1100,
  2569. drawer: 1200,
  2570. modal: 1300,
  2571. snackbar: 1400,
  2572. tooltip: 1500
  2573. };
  2574. /* harmony default export */ __webpack_exports__["default"] = (zIndex);
  2575. /***/ }),
  2576. /***/ "./node_modules/@material-ui/core/esm/utils/capitalize.js":
  2577. /*!****************************************************************!*\
  2578. !*** ./node_modules/@material-ui/core/esm/utils/capitalize.js ***!
  2579. \****************************************************************/
  2580. /*! exports provided: default */
  2581. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2582. "use strict";
  2583. __webpack_require__.r(__webpack_exports__);
  2584. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return capitalize; });
  2585. /* harmony import */ var _material_ui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material-ui/utils */ "./node_modules/@material-ui/utils/esm/index.js");
  2586. // It should to be noted that this function isn't equivalent to `text-transform: capitalize`.
  2587. //
  2588. // A strict capitalization should uppercase the first letter of each word a the sentence.
  2589. // We only handle the first word.
  2590. function capitalize(string) {
  2591. if (typeof string !== 'string') {
  2592. throw new Error( true ? "Material-UI: capitalize(string) expects a string argument." : undefined);
  2593. }
  2594. return string.charAt(0).toUpperCase() + string.slice(1);
  2595. }
  2596. /***/ }),
  2597. /***/ "./node_modules/@material-ui/styles/esm/ServerStyleSheets/ServerStyleSheets.js":
  2598. /*!*************************************************************************************!*\
  2599. !*** ./node_modules/@material-ui/styles/esm/ServerStyleSheets/ServerStyleSheets.js ***!
  2600. \*************************************************************************************/
  2601. /*! exports provided: default */
  2602. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2603. "use strict";
  2604. __webpack_require__.r(__webpack_exports__);
  2605. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return ServerStyleSheets; });
  2606. /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
  2607. /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
  2608. /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
  2609. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
  2610. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
  2611. /* harmony import */ var jss__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! jss */ "./node_modules/jss/dist/jss.esm.js");
  2612. /* harmony import */ var _StylesProvider__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../StylesProvider */ "./node_modules/@material-ui/styles/esm/StylesProvider/index.js");
  2613. /* harmony import */ var _createGenerateClassName__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../createGenerateClassName */ "./node_modules/@material-ui/styles/esm/createGenerateClassName/index.js");
  2614. var ServerStyleSheets = /*#__PURE__*/function () {
  2615. function ServerStyleSheets() {
  2616. var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  2617. Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__["default"])(this, ServerStyleSheets);
  2618. this.options = options;
  2619. }
  2620. Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__["default"])(ServerStyleSheets, [{
  2621. key: "collect",
  2622. value: function collect(children) {
  2623. // This is needed in order to deduplicate the injection of CSS in the page.
  2624. var sheetsManager = new Map(); // This is needed in order to inject the critical CSS.
  2625. this.sheetsRegistry = new jss__WEBPACK_IMPORTED_MODULE_4__["SheetsRegistry"](); // A new class name generator
  2626. var generateClassName = Object(_createGenerateClassName__WEBPACK_IMPORTED_MODULE_6__["default"])();
  2627. return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(_StylesProvider__WEBPACK_IMPORTED_MODULE_5__["default"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
  2628. sheetsManager: sheetsManager,
  2629. serverGenerateClassName: generateClassName,
  2630. sheetsRegistry: this.sheetsRegistry
  2631. }, this.options), children);
  2632. }
  2633. }, {
  2634. key: "toString",
  2635. value: function toString() {
  2636. return this.sheetsRegistry ? this.sheetsRegistry.toString() : '';
  2637. }
  2638. }, {
  2639. key: "getStyleElement",
  2640. value: function getStyleElement(props) {
  2641. return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement('style', Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
  2642. id: 'jss-server-side',
  2643. key: 'jss-server-side',
  2644. dangerouslySetInnerHTML: {
  2645. __html: this.toString()
  2646. }
  2647. }, props));
  2648. }
  2649. }]);
  2650. return ServerStyleSheets;
  2651. }();
  2652. /***/ }),
  2653. /***/ "./node_modules/@material-ui/styles/esm/ServerStyleSheets/index.js":
  2654. /*!*************************************************************************!*\
  2655. !*** ./node_modules/@material-ui/styles/esm/ServerStyleSheets/index.js ***!
  2656. \*************************************************************************/
  2657. /*! exports provided: default */
  2658. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2659. "use strict";
  2660. __webpack_require__.r(__webpack_exports__);
  2661. /* harmony import */ var _ServerStyleSheets__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ServerStyleSheets */ "./node_modules/@material-ui/styles/esm/ServerStyleSheets/ServerStyleSheets.js");
  2662. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _ServerStyleSheets__WEBPACK_IMPORTED_MODULE_0__["default"]; });
  2663. /***/ }),
  2664. /***/ "./node_modules/@material-ui/styles/esm/StylesProvider/StylesProvider.js":
  2665. /*!*******************************************************************************!*\
  2666. !*** ./node_modules/@material-ui/styles/esm/StylesProvider/StylesProvider.js ***!
  2667. \*******************************************************************************/
  2668. /*! exports provided: sheetsManager, StylesContext, default */
  2669. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2670. "use strict";
  2671. __webpack_require__.r(__webpack_exports__);
  2672. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sheetsManager", function() { return sheetsManager; });
  2673. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StylesContext", function() { return StylesContext; });
  2674. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return StylesProvider; });
  2675. /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
  2676. /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
  2677. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
  2678. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
  2679. /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js");
  2680. /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
  2681. /* harmony import */ var _material_ui_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @material-ui/utils */ "./node_modules/@material-ui/utils/esm/index.js");
  2682. /* harmony import */ var _createGenerateClassName__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../createGenerateClassName */ "./node_modules/@material-ui/styles/esm/createGenerateClassName/index.js");
  2683. /* harmony import */ var jss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! jss */ "./node_modules/jss/dist/jss.esm.js");
  2684. /* harmony import */ var _jssPreset__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../jssPreset */ "./node_modules/@material-ui/styles/esm/jssPreset/index.js");
  2685. // Default JSS instance.
  2686. var jss = Object(jss__WEBPACK_IMPORTED_MODULE_6__["create"])(Object(_jssPreset__WEBPACK_IMPORTED_MODULE_7__["default"])()); // Use a singleton or the provided one by the context.
  2687. //
  2688. // The counter-based approach doesn't tolerate any mistake.
  2689. // It's much safer to use the same counter everywhere.
  2690. var generateClassName = Object(_createGenerateClassName__WEBPACK_IMPORTED_MODULE_5__["default"])(); // Exported for test purposes
  2691. var sheetsManager = new Map();
  2692. var defaultOptions = {
  2693. disableGeneration: false,
  2694. generateClassName: generateClassName,
  2695. jss: jss,
  2696. sheetsCache: null,
  2697. sheetsManager: sheetsManager,
  2698. sheetsRegistry: null
  2699. };
  2700. var StylesContext = react__WEBPACK_IMPORTED_MODULE_2___default.a.createContext(defaultOptions);
  2701. if (true) {
  2702. StylesContext.displayName = 'StylesContext';
  2703. }
  2704. var injectFirstNode;
  2705. function StylesProvider(props) {
  2706. var children = props.children,
  2707. _props$injectFirst = props.injectFirst,
  2708. injectFirst = _props$injectFirst === void 0 ? false : _props$injectFirst,
  2709. _props$disableGenerat = props.disableGeneration,
  2710. disableGeneration = _props$disableGenerat === void 0 ? false : _props$disableGenerat,
  2711. localOptions = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__["default"])(props, ["children", "injectFirst", "disableGeneration"]);
  2712. var outerOptions = react__WEBPACK_IMPORTED_MODULE_2___default.a.useContext(StylesContext);
  2713. var context = Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, outerOptions, {
  2714. disableGeneration: disableGeneration
  2715. }, localOptions);
  2716. if (true) {
  2717. if (typeof window === 'undefined' && !context.sheetsManager) {
  2718. console.error('Material-UI: You need to use the ServerStyleSheets API when rendering on the server.');
  2719. }
  2720. }
  2721. if (true) {
  2722. if (context.jss.options.insertionPoint && injectFirst) {
  2723. console.error('Material-UI: You cannot use a custom insertionPoint and <StylesContext injectFirst> at the same time.');
  2724. }
  2725. }
  2726. if (true) {
  2727. if (injectFirst && localOptions.jss) {
  2728. console.error('Material-UI: You cannot use the jss and injectFirst props at the same time.');
  2729. }
  2730. }
  2731. if (!context.jss.options.insertionPoint && injectFirst && typeof window !== 'undefined') {
  2732. if (!injectFirstNode) {
  2733. var head = document.head;
  2734. injectFirstNode = document.createComment('mui-inject-first');
  2735. head.insertBefore(injectFirstNode, head.firstChild);
  2736. }
  2737. context.jss = Object(jss__WEBPACK_IMPORTED_MODULE_6__["create"])({
  2738. plugins: Object(_jssPreset__WEBPACK_IMPORTED_MODULE_7__["default"])().plugins,
  2739. insertionPoint: injectFirstNode
  2740. });
  2741. }
  2742. return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(StylesContext.Provider, {
  2743. value: context
  2744. }, children);
  2745. }
  2746. true ? StylesProvider.propTypes = {
  2747. /**
  2748. * Your component tree.
  2749. */
  2750. children: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.node.isRequired,
  2751. /**
  2752. * You can disable the generation of the styles with this option.
  2753. * It can be useful when traversing the React tree outside of the HTML
  2754. * rendering step on the server.
  2755. * Let's say you are using react-apollo to extract all
  2756. * the queries made by the interface server-side - you can significantly speed up the traversal with this prop.
  2757. */
  2758. disableGeneration: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.bool,
  2759. /**
  2760. * JSS's class name generator.
  2761. */
  2762. generateClassName: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.func,
  2763. /**
  2764. * By default, the styles are injected last in the <head> element of the page.
  2765. * As a result, they gain more specificity than any other style sheet.
  2766. * If you want to override Material-UI's styles, set this prop.
  2767. */
  2768. injectFirst: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.bool,
  2769. /**
  2770. * JSS's instance.
  2771. */
  2772. jss: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object,
  2773. /**
  2774. * @ignore
  2775. */
  2776. serverGenerateClassName: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.func,
  2777. /**
  2778. * @ignore
  2779. *
  2780. * Beta feature.
  2781. *
  2782. * Cache for the sheets.
  2783. */
  2784. sheetsCache: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object,
  2785. /**
  2786. * @ignore
  2787. *
  2788. * The sheetsManager is used to deduplicate style sheet injection in the page.
  2789. * It's deduplicating using the (theme, styles) couple.
  2790. * On the server, you should provide a new instance for each request.
  2791. */
  2792. sheetsManager: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object,
  2793. /**
  2794. * @ignore
  2795. *
  2796. * Collect the sheets.
  2797. */
  2798. sheetsRegistry: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object
  2799. } : undefined;
  2800. if (true) {
  2801. true ? StylesProvider.propTypes = Object(_material_ui_utils__WEBPACK_IMPORTED_MODULE_4__["exactProp"])(StylesProvider.propTypes) : undefined;
  2802. }
  2803. /***/ }),
  2804. /***/ "./node_modules/@material-ui/styles/esm/StylesProvider/index.js":
  2805. /*!**********************************************************************!*\
  2806. !*** ./node_modules/@material-ui/styles/esm/StylesProvider/index.js ***!
  2807. \**********************************************************************/
  2808. /*! exports provided: default, sheetsManager, StylesContext */
  2809. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2810. "use strict";
  2811. __webpack_require__.r(__webpack_exports__);
  2812. /* harmony import */ var _StylesProvider__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./StylesProvider */ "./node_modules/@material-ui/styles/esm/StylesProvider/StylesProvider.js");
  2813. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _StylesProvider__WEBPACK_IMPORTED_MODULE_0__["default"]; });
  2814. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "sheetsManager", function() { return _StylesProvider__WEBPACK_IMPORTED_MODULE_0__["sheetsManager"]; });
  2815. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "StylesContext", function() { return _StylesProvider__WEBPACK_IMPORTED_MODULE_0__["StylesContext"]; });
  2816. /***/ }),
  2817. /***/ "./node_modules/@material-ui/styles/esm/ThemeProvider/ThemeProvider.js":
  2818. /*!*****************************************************************************!*\
  2819. !*** ./node_modules/@material-ui/styles/esm/ThemeProvider/ThemeProvider.js ***!
  2820. \*****************************************************************************/
  2821. /*! exports provided: default */
  2822. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2823. "use strict";
  2824. __webpack_require__.r(__webpack_exports__);
  2825. /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
  2826. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
  2827. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  2828. /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js");
  2829. /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
  2830. /* harmony import */ var _material_ui_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @material-ui/utils */ "./node_modules/@material-ui/utils/esm/index.js");
  2831. /* harmony import */ var _useTheme_ThemeContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../useTheme/ThemeContext */ "./node_modules/@material-ui/styles/esm/useTheme/ThemeContext.js");
  2832. /* harmony import */ var _useTheme__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../useTheme */ "./node_modules/@material-ui/styles/esm/useTheme/index.js");
  2833. /* harmony import */ var _nested__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./nested */ "./node_modules/@material-ui/styles/esm/ThemeProvider/nested.js");
  2834. // To support composition of theme.
  2835. function mergeOuterLocalTheme(outerTheme, localTheme) {
  2836. if (typeof localTheme === 'function') {
  2837. var mergedTheme = localTheme(outerTheme);
  2838. if (true) {
  2839. if (!mergedTheme) {
  2840. console.error(['Material-UI: You should return an object from your theme function, i.e.', '<ThemeProvider theme={() => ({})} />'].join('\n'));
  2841. }
  2842. }
  2843. return mergedTheme;
  2844. }
  2845. return Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, outerTheme, localTheme);
  2846. }
  2847. /**
  2848. * This component takes a `theme` prop.
  2849. * It makes the `theme` available down the React tree thanks to React context.
  2850. * This component should preferably be used at **the root of your component tree**.
  2851. */
  2852. function ThemeProvider(props) {
  2853. var children = props.children,
  2854. localTheme = props.theme;
  2855. var outerTheme = Object(_useTheme__WEBPACK_IMPORTED_MODULE_5__["default"])();
  2856. if (true) {
  2857. if (outerTheme === null && typeof localTheme === 'function') {
  2858. console.error(['Material-UI: You are providing a theme function prop to the ThemeProvider component:', '<ThemeProvider theme={outerTheme => outerTheme} />', '', 'However, no outer theme is present.', 'Make sure a theme is already injected higher in the React tree ' + 'or provide a theme object.'].join('\n'));
  2859. }
  2860. }
  2861. var theme = react__WEBPACK_IMPORTED_MODULE_1___default.a.useMemo(function () {
  2862. var output = outerTheme === null ? localTheme : mergeOuterLocalTheme(outerTheme, localTheme);
  2863. if (output != null) {
  2864. output[_nested__WEBPACK_IMPORTED_MODULE_6__["default"]] = outerTheme !== null;
  2865. }
  2866. return output;
  2867. }, [localTheme, outerTheme]);
  2868. return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_useTheme_ThemeContext__WEBPACK_IMPORTED_MODULE_4__["default"].Provider, {
  2869. value: theme
  2870. }, children);
  2871. }
  2872. true ? ThemeProvider.propTypes = {
  2873. /**
  2874. * Your component tree.
  2875. */
  2876. children: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.node.isRequired,
  2877. /**
  2878. * A theme object. You can provide a function to extend the outer theme.
  2879. */
  2880. theme: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.object, prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.func]).isRequired
  2881. } : undefined;
  2882. if (true) {
  2883. true ? ThemeProvider.propTypes = Object(_material_ui_utils__WEBPACK_IMPORTED_MODULE_3__["exactProp"])(ThemeProvider.propTypes) : undefined;
  2884. }
  2885. /* harmony default export */ __webpack_exports__["default"] = (ThemeProvider);
  2886. /***/ }),
  2887. /***/ "./node_modules/@material-ui/styles/esm/ThemeProvider/index.js":
  2888. /*!*********************************************************************!*\
  2889. !*** ./node_modules/@material-ui/styles/esm/ThemeProvider/index.js ***!
  2890. \*********************************************************************/
  2891. /*! exports provided: default */
  2892. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2893. "use strict";
  2894. __webpack_require__.r(__webpack_exports__);
  2895. /* harmony import */ var _ThemeProvider__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ThemeProvider */ "./node_modules/@material-ui/styles/esm/ThemeProvider/ThemeProvider.js");
  2896. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _ThemeProvider__WEBPACK_IMPORTED_MODULE_0__["default"]; });
  2897. /***/ }),
  2898. /***/ "./node_modules/@material-ui/styles/esm/ThemeProvider/nested.js":
  2899. /*!**********************************************************************!*\
  2900. !*** ./node_modules/@material-ui/styles/esm/ThemeProvider/nested.js ***!
  2901. \**********************************************************************/
  2902. /*! exports provided: default */
  2903. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2904. "use strict";
  2905. __webpack_require__.r(__webpack_exports__);
  2906. var hasSymbol = typeof Symbol === 'function' && Symbol.for;
  2907. /* harmony default export */ __webpack_exports__["default"] = (hasSymbol ? Symbol.for('mui.nested') : '__THEME_NESTED__');
  2908. /***/ }),
  2909. /***/ "./node_modules/@material-ui/styles/esm/createGenerateClassName/createGenerateClassName.js":
  2910. /*!*************************************************************************************************!*\
  2911. !*** ./node_modules/@material-ui/styles/esm/createGenerateClassName/createGenerateClassName.js ***!
  2912. \*************************************************************************************************/
  2913. /*! exports provided: default */
  2914. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2915. "use strict";
  2916. __webpack_require__.r(__webpack_exports__);
  2917. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return createGenerateClassName; });
  2918. /* harmony import */ var _ThemeProvider_nested__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../ThemeProvider/nested */ "./node_modules/@material-ui/styles/esm/ThemeProvider/nested.js");
  2919. /**
  2920. * This is the list of the style rule name we use as drop in replacement for the built-in
  2921. * pseudo classes (:checked, :disabled, :focused, etc.).
  2922. *
  2923. * Why do they exist in the first place?
  2924. * These classes are used at a specificity of 2.
  2925. * It allows them to override previously definied styles as well as
  2926. * being untouched by simple user overrides.
  2927. */
  2928. var pseudoClasses = ['checked', 'disabled', 'error', 'focused', 'focusVisible', 'required', 'expanded', 'selected']; // Returns a function which generates unique class names based on counters.
  2929. // When new generator function is created, rule counter is reset.
  2930. // We need to reset the rule counter for SSR for each request.
  2931. //
  2932. // It's inspired by
  2933. // https://github.com/cssinjs/jss/blob/4e6a05dd3f7b6572fdd3ab216861d9e446c20331/src/utils/createGenerateClassName.js
  2934. function createGenerateClassName() {
  2935. var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  2936. var _options$disableGloba = options.disableGlobal,
  2937. disableGlobal = _options$disableGloba === void 0 ? false : _options$disableGloba,
  2938. _options$productionPr = options.productionPrefix,
  2939. productionPrefix = _options$productionPr === void 0 ? 'jss' : _options$productionPr,
  2940. _options$seed = options.seed,
  2941. seed = _options$seed === void 0 ? '' : _options$seed;
  2942. var seedPrefix = seed === '' ? '' : "".concat(seed, "-");
  2943. var ruleCounter = 0;
  2944. var getNextCounterId = function getNextCounterId() {
  2945. ruleCounter += 1;
  2946. if (true) {
  2947. if (ruleCounter >= 1e10) {
  2948. console.warn(['Material-UI: You might have a memory leak.', 'The ruleCounter is not supposed to grow that much.'].join(''));
  2949. }
  2950. }
  2951. return ruleCounter;
  2952. };
  2953. return function (rule, styleSheet) {
  2954. var name = styleSheet.options.name; // Is a global static MUI style?
  2955. if (name && name.indexOf('Mui') === 0 && !styleSheet.options.link && !disableGlobal) {
  2956. // We can use a shorthand class name, we never use the keys to style the components.
  2957. if (pseudoClasses.indexOf(rule.key) !== -1) {
  2958. return "Mui-".concat(rule.key);
  2959. }
  2960. var prefix = "".concat(seedPrefix).concat(name, "-").concat(rule.key);
  2961. if (!styleSheet.options.theme[_ThemeProvider_nested__WEBPACK_IMPORTED_MODULE_0__["default"]] || seed !== '') {
  2962. return prefix;
  2963. }
  2964. return "".concat(prefix, "-").concat(getNextCounterId());
  2965. }
  2966. if (false) {}
  2967. var suffix = "".concat(rule.key, "-").concat(getNextCounterId()); // Help with debuggability.
  2968. if (styleSheet.options.classNamePrefix) {
  2969. return "".concat(seedPrefix).concat(styleSheet.options.classNamePrefix, "-").concat(suffix);
  2970. }
  2971. return "".concat(seedPrefix).concat(suffix);
  2972. };
  2973. }
  2974. /***/ }),
  2975. /***/ "./node_modules/@material-ui/styles/esm/createGenerateClassName/index.js":
  2976. /*!*******************************************************************************!*\
  2977. !*** ./node_modules/@material-ui/styles/esm/createGenerateClassName/index.js ***!
  2978. \*******************************************************************************/
  2979. /*! exports provided: default */
  2980. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2981. "use strict";
  2982. __webpack_require__.r(__webpack_exports__);
  2983. /* harmony import */ var _createGenerateClassName__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./createGenerateClassName */ "./node_modules/@material-ui/styles/esm/createGenerateClassName/createGenerateClassName.js");
  2984. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _createGenerateClassName__WEBPACK_IMPORTED_MODULE_0__["default"]; });
  2985. /***/ }),
  2986. /***/ "./node_modules/@material-ui/styles/esm/createStyles/createStyles.js":
  2987. /*!***************************************************************************!*\
  2988. !*** ./node_modules/@material-ui/styles/esm/createStyles/createStyles.js ***!
  2989. \***************************************************************************/
  2990. /*! exports provided: default */
  2991. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2992. "use strict";
  2993. __webpack_require__.r(__webpack_exports__);
  2994. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return createStyles; });
  2995. function createStyles(styles) {
  2996. return styles;
  2997. }
  2998. /***/ }),
  2999. /***/ "./node_modules/@material-ui/styles/esm/createStyles/index.js":
  3000. /*!********************************************************************!*\
  3001. !*** ./node_modules/@material-ui/styles/esm/createStyles/index.js ***!
  3002. \********************************************************************/
  3003. /*! exports provided: default */
  3004. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3005. "use strict";
  3006. __webpack_require__.r(__webpack_exports__);
  3007. /* harmony import */ var _createStyles__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./createStyles */ "./node_modules/@material-ui/styles/esm/createStyles/createStyles.js");
  3008. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _createStyles__WEBPACK_IMPORTED_MODULE_0__["default"]; });
  3009. /***/ }),
  3010. /***/ "./node_modules/@material-ui/styles/esm/getStylesCreator/getStylesCreator.js":
  3011. /*!***********************************************************************************!*\
  3012. !*** ./node_modules/@material-ui/styles/esm/getStylesCreator/getStylesCreator.js ***!
  3013. \***********************************************************************************/
  3014. /*! exports provided: default */
  3015. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3016. "use strict";
  3017. __webpack_require__.r(__webpack_exports__);
  3018. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return getStylesCreator; });
  3019. /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
  3020. /* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ "./node_modules/@babel/runtime/helpers/esm/typeof.js");
  3021. /* harmony import */ var _material_ui_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @material-ui/utils */ "./node_modules/@material-ui/utils/esm/index.js");
  3022. /* harmony import */ var _noopTheme__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./noopTheme */ "./node_modules/@material-ui/styles/esm/getStylesCreator/noopTheme.js");
  3023. function getStylesCreator(stylesOrCreator) {
  3024. var themingEnabled = typeof stylesOrCreator === 'function';
  3025. if (true) {
  3026. if (Object(_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_1__["default"])(stylesOrCreator) !== 'object' && !themingEnabled) {
  3027. console.error(['Material-UI: The `styles` argument provided is invalid.', 'You need to provide a function generating the styles or a styles object.'].join('\n'));
  3028. }
  3029. }
  3030. return {
  3031. create: function create(theme, name) {
  3032. var styles;
  3033. try {
  3034. styles = themingEnabled ? stylesOrCreator(theme) : stylesOrCreator;
  3035. } catch (err) {
  3036. if (true) {
  3037. if (themingEnabled === true && theme === _noopTheme__WEBPACK_IMPORTED_MODULE_3__["default"]) {
  3038. // TODO: prepend error message/name instead
  3039. console.error(['Material-UI: The `styles` argument provided is invalid.', 'You are providing a function without a theme in the context.', 'One of the parent elements needs to use a ThemeProvider.'].join('\n'));
  3040. }
  3041. }
  3042. throw err;
  3043. }
  3044. if (!name || !theme.overrides || !theme.overrides[name]) {
  3045. return styles;
  3046. }
  3047. var overrides = theme.overrides[name];
  3048. var stylesWithOverrides = Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, styles);
  3049. Object.keys(overrides).forEach(function (key) {
  3050. if (true) {
  3051. if (!stylesWithOverrides[key]) {
  3052. console.warn(['Material-UI: You are trying to override a style that does not exist.', "Fix the `".concat(key, "` key of `theme.overrides.").concat(name, "`.")].join('\n'));
  3053. }
  3054. }
  3055. stylesWithOverrides[key] = Object(_material_ui_utils__WEBPACK_IMPORTED_MODULE_2__["deepmerge"])(stylesWithOverrides[key], overrides[key]);
  3056. });
  3057. return stylesWithOverrides;
  3058. },
  3059. options: {}
  3060. };
  3061. }
  3062. /***/ }),
  3063. /***/ "./node_modules/@material-ui/styles/esm/getStylesCreator/index.js":
  3064. /*!************************************************************************!*\
  3065. !*** ./node_modules/@material-ui/styles/esm/getStylesCreator/index.js ***!
  3066. \************************************************************************/
  3067. /*! exports provided: default */
  3068. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3069. "use strict";
  3070. __webpack_require__.r(__webpack_exports__);
  3071. /* harmony import */ var _getStylesCreator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getStylesCreator */ "./node_modules/@material-ui/styles/esm/getStylesCreator/getStylesCreator.js");
  3072. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _getStylesCreator__WEBPACK_IMPORTED_MODULE_0__["default"]; });
  3073. /***/ }),
  3074. /***/ "./node_modules/@material-ui/styles/esm/getStylesCreator/noopTheme.js":
  3075. /*!****************************************************************************!*\
  3076. !*** ./node_modules/@material-ui/styles/esm/getStylesCreator/noopTheme.js ***!
  3077. \****************************************************************************/
  3078. /*! exports provided: default */
  3079. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3080. "use strict";
  3081. __webpack_require__.r(__webpack_exports__);
  3082. // We use the same empty object to ref count the styles that don't need a theme object.
  3083. var noopTheme = {};
  3084. /* harmony default export */ __webpack_exports__["default"] = (noopTheme);
  3085. /***/ }),
  3086. /***/ "./node_modules/@material-ui/styles/esm/getThemeProps/getThemeProps.js":
  3087. /*!*****************************************************************************!*\
  3088. !*** ./node_modules/@material-ui/styles/esm/getThemeProps/getThemeProps.js ***!
  3089. \*****************************************************************************/
  3090. /*! exports provided: default */
  3091. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3092. "use strict";
  3093. __webpack_require__.r(__webpack_exports__);
  3094. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return getThemeProps; });
  3095. /* eslint-disable no-restricted-syntax */
  3096. function getThemeProps(params) {
  3097. var theme = params.theme,
  3098. name = params.name,
  3099. props = params.props;
  3100. if (!theme || !theme.props || !theme.props[name]) {
  3101. return props;
  3102. } // Resolve default props, code borrow from React source.
  3103. // https://github.com/facebook/react/blob/15a8f031838a553e41c0b66eb1bcf1da8448104d/packages/react/src/ReactElement.js#L221
  3104. var defaultProps = theme.props[name];
  3105. var propName;
  3106. for (propName in defaultProps) {
  3107. if (props[propName] === undefined) {
  3108. props[propName] = defaultProps[propName];
  3109. }
  3110. }
  3111. return props;
  3112. }
  3113. /***/ }),
  3114. /***/ "./node_modules/@material-ui/styles/esm/getThemeProps/index.js":
  3115. /*!*********************************************************************!*\
  3116. !*** ./node_modules/@material-ui/styles/esm/getThemeProps/index.js ***!
  3117. \*********************************************************************/
  3118. /*! exports provided: default */
  3119. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3120. "use strict";
  3121. __webpack_require__.r(__webpack_exports__);
  3122. /* harmony import */ var _getThemeProps__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getThemeProps */ "./node_modules/@material-ui/styles/esm/getThemeProps/getThemeProps.js");
  3123. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _getThemeProps__WEBPACK_IMPORTED_MODULE_0__["default"]; });
  3124. /***/ }),
  3125. /***/ "./node_modules/@material-ui/styles/esm/index.js":
  3126. /*!*******************************************************!*\
  3127. !*** ./node_modules/@material-ui/styles/esm/index.js ***!
  3128. \*******************************************************/
  3129. /*! exports provided: createGenerateClassName, createStyles, getThemeProps, jssPreset, makeStyles, mergeClasses, ServerStyleSheets, styled, StylesProvider, sheetsManager, StylesContext, ThemeProvider, useTheme, withStyles, withTheme, withThemeCreator */
  3130. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3131. "use strict";
  3132. __webpack_require__.r(__webpack_exports__);
  3133. /* harmony import */ var _material_ui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material-ui/utils */ "./node_modules/@material-ui/utils/esm/index.js");
  3134. /* harmony import */ var _createGenerateClassName__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./createGenerateClassName */ "./node_modules/@material-ui/styles/esm/createGenerateClassName/index.js");
  3135. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createGenerateClassName", function() { return _createGenerateClassName__WEBPACK_IMPORTED_MODULE_1__["default"]; });
  3136. /* empty/unused harmony star reexport *//* harmony import */ var _createStyles__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./createStyles */ "./node_modules/@material-ui/styles/esm/createStyles/index.js");
  3137. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createStyles", function() { return _createStyles__WEBPACK_IMPORTED_MODULE_2__["default"]; });
  3138. /* empty/unused harmony star reexport *//* harmony import */ var _getThemeProps__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./getThemeProps */ "./node_modules/@material-ui/styles/esm/getThemeProps/index.js");
  3139. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "getThemeProps", function() { return _getThemeProps__WEBPACK_IMPORTED_MODULE_3__["default"]; });
  3140. /* empty/unused harmony star reexport *//* harmony import */ var _jssPreset__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./jssPreset */ "./node_modules/@material-ui/styles/esm/jssPreset/index.js");
  3141. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "jssPreset", function() { return _jssPreset__WEBPACK_IMPORTED_MODULE_4__["default"]; });
  3142. /* empty/unused harmony star reexport *//* harmony import */ var _makeStyles__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./makeStyles */ "./node_modules/@material-ui/styles/esm/makeStyles/index.js");
  3143. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "makeStyles", function() { return _makeStyles__WEBPACK_IMPORTED_MODULE_5__["default"]; });
  3144. /* empty/unused harmony star reexport *//* harmony import */ var _mergeClasses__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./mergeClasses */ "./node_modules/@material-ui/styles/esm/mergeClasses/index.js");
  3145. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "mergeClasses", function() { return _mergeClasses__WEBPACK_IMPORTED_MODULE_6__["default"]; });
  3146. /* empty/unused harmony star reexport *//* harmony import */ var _ServerStyleSheets__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./ServerStyleSheets */ "./node_modules/@material-ui/styles/esm/ServerStyleSheets/index.js");
  3147. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ServerStyleSheets", function() { return _ServerStyleSheets__WEBPACK_IMPORTED_MODULE_7__["default"]; });
  3148. /* empty/unused harmony star reexport *//* harmony import */ var _styled__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./styled */ "./node_modules/@material-ui/styles/esm/styled/index.js");
  3149. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "styled", function() { return _styled__WEBPACK_IMPORTED_MODULE_8__["default"]; });
  3150. /* empty/unused harmony star reexport *//* harmony import */ var _StylesProvider__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./StylesProvider */ "./node_modules/@material-ui/styles/esm/StylesProvider/index.js");
  3151. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "StylesProvider", function() { return _StylesProvider__WEBPACK_IMPORTED_MODULE_9__["default"]; });
  3152. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "sheetsManager", function() { return _StylesProvider__WEBPACK_IMPORTED_MODULE_9__["sheetsManager"]; });
  3153. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "StylesContext", function() { return _StylesProvider__WEBPACK_IMPORTED_MODULE_9__["StylesContext"]; });
  3154. /* harmony import */ var _ThemeProvider__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./ThemeProvider */ "./node_modules/@material-ui/styles/esm/ThemeProvider/index.js");
  3155. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ThemeProvider", function() { return _ThemeProvider__WEBPACK_IMPORTED_MODULE_10__["default"]; });
  3156. /* empty/unused harmony star reexport *//* harmony import */ var _useTheme__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./useTheme */ "./node_modules/@material-ui/styles/esm/useTheme/index.js");
  3157. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "useTheme", function() { return _useTheme__WEBPACK_IMPORTED_MODULE_11__["default"]; });
  3158. /* empty/unused harmony star reexport *//* harmony import */ var _withStyles__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./withStyles */ "./node_modules/@material-ui/styles/esm/withStyles/index.js");
  3159. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "withStyles", function() { return _withStyles__WEBPACK_IMPORTED_MODULE_12__["default"]; });
  3160. /* empty/unused harmony star reexport *//* harmony import */ var _withTheme__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./withTheme */ "./node_modules/@material-ui/styles/esm/withTheme/index.js");
  3161. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "withTheme", function() { return _withTheme__WEBPACK_IMPORTED_MODULE_13__["default"]; });
  3162. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "withThemeCreator", function() { return _withTheme__WEBPACK_IMPORTED_MODULE_13__["withThemeCreator"]; });
  3163. /** @license Material-UI v4.11.3
  3164. *
  3165. * This source code is licensed under the MIT license found in the
  3166. * LICENSE file in the root directory of this source tree.
  3167. */
  3168. /* eslint-disable import/export */
  3169. /* Warning if there are several instances of @material-ui/styles */
  3170. if ( true && typeof window !== 'undefined') {
  3171. _material_ui_utils__WEBPACK_IMPORTED_MODULE_0__["ponyfillGlobal"]['__@material-ui/styles-init__'] = _material_ui_utils__WEBPACK_IMPORTED_MODULE_0__["ponyfillGlobal"]['__@material-ui/styles-init__'] || 0;
  3172. if (_material_ui_utils__WEBPACK_IMPORTED_MODULE_0__["ponyfillGlobal"]['__@material-ui/styles-init__'] === 1) {
  3173. console.warn(['It looks like there are several instances of `@material-ui/styles` initialized in this application.', 'This may cause theme propagation issues, broken class names, ' + 'specificity issues, and makes your application bigger without a good reason.', '', 'See https://material-ui.com/r/styles-instance-warning for more info.'].join('\n'));
  3174. }
  3175. _material_ui_utils__WEBPACK_IMPORTED_MODULE_0__["ponyfillGlobal"]['__@material-ui/styles-init__'] += 1;
  3176. }
  3177. /***/ }),
  3178. /***/ "./node_modules/@material-ui/styles/esm/jssPreset/index.js":
  3179. /*!*****************************************************************!*\
  3180. !*** ./node_modules/@material-ui/styles/esm/jssPreset/index.js ***!
  3181. \*****************************************************************/
  3182. /*! exports provided: default */
  3183. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3184. "use strict";
  3185. __webpack_require__.r(__webpack_exports__);
  3186. /* harmony import */ var _jssPreset__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./jssPreset */ "./node_modules/@material-ui/styles/esm/jssPreset/jssPreset.js");
  3187. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _jssPreset__WEBPACK_IMPORTED_MODULE_0__["default"]; });
  3188. /***/ }),
  3189. /***/ "./node_modules/@material-ui/styles/esm/jssPreset/jssPreset.js":
  3190. /*!*********************************************************************!*\
  3191. !*** ./node_modules/@material-ui/styles/esm/jssPreset/jssPreset.js ***!
  3192. \*********************************************************************/
  3193. /*! exports provided: default */
  3194. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3195. "use strict";
  3196. __webpack_require__.r(__webpack_exports__);
  3197. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return jssPreset; });
  3198. /* harmony import */ var jss_plugin_rule_value_function__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! jss-plugin-rule-value-function */ "./node_modules/jss-plugin-rule-value-function/dist/jss-plugin-rule-value-function.esm.js");
  3199. /* harmony import */ var jss_plugin_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! jss-plugin-global */ "./node_modules/jss-plugin-global/dist/jss-plugin-global.esm.js");
  3200. /* harmony import */ var jss_plugin_nested__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! jss-plugin-nested */ "./node_modules/jss-plugin-nested/dist/jss-plugin-nested.esm.js");
  3201. /* harmony import */ var jss_plugin_camel_case__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! jss-plugin-camel-case */ "./node_modules/jss-plugin-camel-case/dist/jss-plugin-camel-case.esm.js");
  3202. /* harmony import */ var jss_plugin_default_unit__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! jss-plugin-default-unit */ "./node_modules/jss-plugin-default-unit/dist/jss-plugin-default-unit.esm.js");
  3203. /* harmony import */ var jss_plugin_vendor_prefixer__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! jss-plugin-vendor-prefixer */ "./node_modules/jss-plugin-vendor-prefixer/dist/jss-plugin-vendor-prefixer.esm.js");
  3204. /* harmony import */ var jss_plugin_props_sort__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! jss-plugin-props-sort */ "./node_modules/jss-plugin-props-sort/dist/jss-plugin-props-sort.esm.js");
  3205. // Subset of jss-preset-default with only the plugins the Material-UI components are using.
  3206. function jssPreset() {
  3207. return {
  3208. plugins: [Object(jss_plugin_rule_value_function__WEBPACK_IMPORTED_MODULE_0__["default"])(), Object(jss_plugin_global__WEBPACK_IMPORTED_MODULE_1__["default"])(), Object(jss_plugin_nested__WEBPACK_IMPORTED_MODULE_2__["default"])(), Object(jss_plugin_camel_case__WEBPACK_IMPORTED_MODULE_3__["default"])(), Object(jss_plugin_default_unit__WEBPACK_IMPORTED_MODULE_4__["default"])(), // Disable the vendor prefixer server-side, it does nothing.
  3209. // This way, we can get a performance boost.
  3210. // In the documentation, we are using `autoprefixer` to solve this problem.
  3211. typeof window === 'undefined' ? null : Object(jss_plugin_vendor_prefixer__WEBPACK_IMPORTED_MODULE_5__["default"])(), Object(jss_plugin_props_sort__WEBPACK_IMPORTED_MODULE_6__["default"])()]
  3212. };
  3213. }
  3214. /***/ }),
  3215. /***/ "./node_modules/@material-ui/styles/esm/makeStyles/index.js":
  3216. /*!******************************************************************!*\
  3217. !*** ./node_modules/@material-ui/styles/esm/makeStyles/index.js ***!
  3218. \******************************************************************/
  3219. /*! exports provided: default */
  3220. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3221. "use strict";
  3222. __webpack_require__.r(__webpack_exports__);
  3223. /* harmony import */ var _makeStyles__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./makeStyles */ "./node_modules/@material-ui/styles/esm/makeStyles/makeStyles.js");
  3224. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _makeStyles__WEBPACK_IMPORTED_MODULE_0__["default"]; });
  3225. /***/ }),
  3226. /***/ "./node_modules/@material-ui/styles/esm/makeStyles/indexCounter.js":
  3227. /*!*************************************************************************!*\
  3228. !*** ./node_modules/@material-ui/styles/esm/makeStyles/indexCounter.js ***!
  3229. \*************************************************************************/
  3230. /*! exports provided: increment */
  3231. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3232. "use strict";
  3233. __webpack_require__.r(__webpack_exports__);
  3234. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "increment", function() { return increment; });
  3235. /* eslint-disable import/prefer-default-export */
  3236. // Global index counter to preserve source order.
  3237. // We create the style sheet during the creation of the component,
  3238. // children are handled after the parents, so the order of style elements would be parent->child.
  3239. // It is a problem though when a parent passes a className
  3240. // which needs to override any child's styles.
  3241. // StyleSheet of the child has a higher specificity, because of the source order.
  3242. // So our solution is to render sheets them in the reverse order child->sheet, so
  3243. // that parent has a higher specificity.
  3244. var indexCounter = -1e9;
  3245. function increment() {
  3246. indexCounter += 1;
  3247. if (true) {
  3248. if (indexCounter >= 0) {
  3249. console.warn(['Material-UI: You might have a memory leak.', 'The indexCounter is not supposed to grow that much.'].join('\n'));
  3250. }
  3251. }
  3252. return indexCounter;
  3253. }
  3254. /***/ }),
  3255. /***/ "./node_modules/@material-ui/styles/esm/makeStyles/makeStyles.js":
  3256. /*!***********************************************************************!*\
  3257. !*** ./node_modules/@material-ui/styles/esm/makeStyles/makeStyles.js ***!
  3258. \***********************************************************************/
  3259. /*! exports provided: default */
  3260. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3261. "use strict";
  3262. __webpack_require__.r(__webpack_exports__);
  3263. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return makeStyles; });
  3264. /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
  3265. /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
  3266. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
  3267. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
  3268. /* harmony import */ var jss__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! jss */ "./node_modules/jss/dist/jss.esm.js");
  3269. /* harmony import */ var _mergeClasses__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../mergeClasses */ "./node_modules/@material-ui/styles/esm/mergeClasses/index.js");
  3270. /* harmony import */ var _multiKeyStore__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./multiKeyStore */ "./node_modules/@material-ui/styles/esm/makeStyles/multiKeyStore.js");
  3271. /* harmony import */ var _useTheme__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../useTheme */ "./node_modules/@material-ui/styles/esm/useTheme/index.js");
  3272. /* harmony import */ var _StylesProvider__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../StylesProvider */ "./node_modules/@material-ui/styles/esm/StylesProvider/index.js");
  3273. /* harmony import */ var _indexCounter__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./indexCounter */ "./node_modules/@material-ui/styles/esm/makeStyles/indexCounter.js");
  3274. /* harmony import */ var _getStylesCreator__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../getStylesCreator */ "./node_modules/@material-ui/styles/esm/getStylesCreator/index.js");
  3275. /* harmony import */ var _getStylesCreator_noopTheme__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../getStylesCreator/noopTheme */ "./node_modules/@material-ui/styles/esm/getStylesCreator/noopTheme.js");
  3276. function getClasses(_ref, classes, Component) {
  3277. var state = _ref.state,
  3278. stylesOptions = _ref.stylesOptions;
  3279. if (stylesOptions.disableGeneration) {
  3280. return classes || {};
  3281. }
  3282. if (!state.cacheClasses) {
  3283. state.cacheClasses = {
  3284. // Cache for the finalized classes value.
  3285. value: null,
  3286. // Cache for the last used classes prop pointer.
  3287. lastProp: null,
  3288. // Cache for the last used rendered classes pointer.
  3289. lastJSS: {}
  3290. };
  3291. } // Tracks if either the rendered classes or classes prop has changed,
  3292. // requiring the generation of a new finalized classes object.
  3293. var generate = false;
  3294. if (state.classes !== state.cacheClasses.lastJSS) {
  3295. state.cacheClasses.lastJSS = state.classes;
  3296. generate = true;
  3297. }
  3298. if (classes !== state.cacheClasses.lastProp) {
  3299. state.cacheClasses.lastProp = classes;
  3300. generate = true;
  3301. }
  3302. if (generate) {
  3303. state.cacheClasses.value = Object(_mergeClasses__WEBPACK_IMPORTED_MODULE_4__["default"])({
  3304. baseClasses: state.cacheClasses.lastJSS,
  3305. newClasses: classes,
  3306. Component: Component
  3307. });
  3308. }
  3309. return state.cacheClasses.value;
  3310. }
  3311. function attach(_ref2, props) {
  3312. var state = _ref2.state,
  3313. theme = _ref2.theme,
  3314. stylesOptions = _ref2.stylesOptions,
  3315. stylesCreator = _ref2.stylesCreator,
  3316. name = _ref2.name;
  3317. if (stylesOptions.disableGeneration) {
  3318. return;
  3319. }
  3320. var sheetManager = _multiKeyStore__WEBPACK_IMPORTED_MODULE_5__["default"].get(stylesOptions.sheetsManager, stylesCreator, theme);
  3321. if (!sheetManager) {
  3322. sheetManager = {
  3323. refs: 0,
  3324. staticSheet: null,
  3325. dynamicStyles: null
  3326. };
  3327. _multiKeyStore__WEBPACK_IMPORTED_MODULE_5__["default"].set(stylesOptions.sheetsManager, stylesCreator, theme, sheetManager);
  3328. }
  3329. var options = Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, stylesCreator.options, stylesOptions, {
  3330. theme: theme,
  3331. flip: typeof stylesOptions.flip === 'boolean' ? stylesOptions.flip : theme.direction === 'rtl'
  3332. });
  3333. options.generateId = options.serverGenerateClassName || options.generateClassName;
  3334. var sheetsRegistry = stylesOptions.sheetsRegistry;
  3335. if (sheetManager.refs === 0) {
  3336. var staticSheet;
  3337. if (stylesOptions.sheetsCache) {
  3338. staticSheet = _multiKeyStore__WEBPACK_IMPORTED_MODULE_5__["default"].get(stylesOptions.sheetsCache, stylesCreator, theme);
  3339. }
  3340. var styles = stylesCreator.create(theme, name);
  3341. if (!staticSheet) {
  3342. staticSheet = stylesOptions.jss.createStyleSheet(styles, Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({
  3343. link: false
  3344. }, options));
  3345. staticSheet.attach();
  3346. if (stylesOptions.sheetsCache) {
  3347. _multiKeyStore__WEBPACK_IMPORTED_MODULE_5__["default"].set(stylesOptions.sheetsCache, stylesCreator, theme, staticSheet);
  3348. }
  3349. }
  3350. if (sheetsRegistry) {
  3351. sheetsRegistry.add(staticSheet);
  3352. }
  3353. sheetManager.staticSheet = staticSheet;
  3354. sheetManager.dynamicStyles = Object(jss__WEBPACK_IMPORTED_MODULE_3__["getDynamicStyles"])(styles);
  3355. }
  3356. if (sheetManager.dynamicStyles) {
  3357. var dynamicSheet = stylesOptions.jss.createStyleSheet(sheetManager.dynamicStyles, Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({
  3358. link: true
  3359. }, options));
  3360. dynamicSheet.update(props);
  3361. dynamicSheet.attach();
  3362. state.dynamicSheet = dynamicSheet;
  3363. state.classes = Object(_mergeClasses__WEBPACK_IMPORTED_MODULE_4__["default"])({
  3364. baseClasses: sheetManager.staticSheet.classes,
  3365. newClasses: dynamicSheet.classes
  3366. });
  3367. if (sheetsRegistry) {
  3368. sheetsRegistry.add(dynamicSheet);
  3369. }
  3370. } else {
  3371. state.classes = sheetManager.staticSheet.classes;
  3372. }
  3373. sheetManager.refs += 1;
  3374. }
  3375. function update(_ref3, props) {
  3376. var state = _ref3.state;
  3377. if (state.dynamicSheet) {
  3378. state.dynamicSheet.update(props);
  3379. }
  3380. }
  3381. function detach(_ref4) {
  3382. var state = _ref4.state,
  3383. theme = _ref4.theme,
  3384. stylesOptions = _ref4.stylesOptions,
  3385. stylesCreator = _ref4.stylesCreator;
  3386. if (stylesOptions.disableGeneration) {
  3387. return;
  3388. }
  3389. var sheetManager = _multiKeyStore__WEBPACK_IMPORTED_MODULE_5__["default"].get(stylesOptions.sheetsManager, stylesCreator, theme);
  3390. sheetManager.refs -= 1;
  3391. var sheetsRegistry = stylesOptions.sheetsRegistry;
  3392. if (sheetManager.refs === 0) {
  3393. _multiKeyStore__WEBPACK_IMPORTED_MODULE_5__["default"].delete(stylesOptions.sheetsManager, stylesCreator, theme);
  3394. stylesOptions.jss.removeStyleSheet(sheetManager.staticSheet);
  3395. if (sheetsRegistry) {
  3396. sheetsRegistry.remove(sheetManager.staticSheet);
  3397. }
  3398. }
  3399. if (state.dynamicSheet) {
  3400. stylesOptions.jss.removeStyleSheet(state.dynamicSheet);
  3401. if (sheetsRegistry) {
  3402. sheetsRegistry.remove(state.dynamicSheet);
  3403. }
  3404. }
  3405. }
  3406. function useSynchronousEffect(func, values) {
  3407. var key = react__WEBPACK_IMPORTED_MODULE_2___default.a.useRef([]);
  3408. var output; // Store "generation" key. Just returns a new object every time
  3409. var currentKey = react__WEBPACK_IMPORTED_MODULE_2___default.a.useMemo(function () {
  3410. return {};
  3411. }, values); // eslint-disable-line react-hooks/exhaustive-deps
  3412. // "the first render", or "memo dropped the value"
  3413. if (key.current !== currentKey) {
  3414. key.current = currentKey;
  3415. output = func();
  3416. }
  3417. react__WEBPACK_IMPORTED_MODULE_2___default.a.useEffect(function () {
  3418. return function () {
  3419. if (output) {
  3420. output();
  3421. }
  3422. };
  3423. }, [currentKey] // eslint-disable-line react-hooks/exhaustive-deps
  3424. );
  3425. }
  3426. function makeStyles(stylesOrCreator) {
  3427. var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  3428. var name = options.name,
  3429. classNamePrefixOption = options.classNamePrefix,
  3430. Component = options.Component,
  3431. _options$defaultTheme = options.defaultTheme,
  3432. defaultTheme = _options$defaultTheme === void 0 ? _getStylesCreator_noopTheme__WEBPACK_IMPORTED_MODULE_10__["default"] : _options$defaultTheme,
  3433. stylesOptions2 = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_0__["default"])(options, ["name", "classNamePrefix", "Component", "defaultTheme"]);
  3434. var stylesCreator = Object(_getStylesCreator__WEBPACK_IMPORTED_MODULE_9__["default"])(stylesOrCreator);
  3435. var classNamePrefix = name || classNamePrefixOption || 'makeStyles';
  3436. stylesCreator.options = {
  3437. index: Object(_indexCounter__WEBPACK_IMPORTED_MODULE_8__["increment"])(),
  3438. name: name,
  3439. meta: classNamePrefix,
  3440. classNamePrefix: classNamePrefix
  3441. };
  3442. var useStyles = function useStyles() {
  3443. var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  3444. var theme = Object(_useTheme__WEBPACK_IMPORTED_MODULE_6__["default"])() || defaultTheme;
  3445. var stylesOptions = Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, react__WEBPACK_IMPORTED_MODULE_2___default.a.useContext(_StylesProvider__WEBPACK_IMPORTED_MODULE_7__["StylesContext"]), stylesOptions2);
  3446. var instance = react__WEBPACK_IMPORTED_MODULE_2___default.a.useRef();
  3447. var shouldUpdate = react__WEBPACK_IMPORTED_MODULE_2___default.a.useRef();
  3448. useSynchronousEffect(function () {
  3449. var current = {
  3450. name: name,
  3451. state: {},
  3452. stylesCreator: stylesCreator,
  3453. stylesOptions: stylesOptions,
  3454. theme: theme
  3455. };
  3456. attach(current, props);
  3457. shouldUpdate.current = false;
  3458. instance.current = current;
  3459. return function () {
  3460. detach(current);
  3461. };
  3462. }, [theme, stylesCreator]);
  3463. react__WEBPACK_IMPORTED_MODULE_2___default.a.useEffect(function () {
  3464. if (shouldUpdate.current) {
  3465. update(instance.current, props);
  3466. }
  3467. shouldUpdate.current = true;
  3468. });
  3469. var classes = getClasses(instance.current, props.classes, Component);
  3470. if (true) {
  3471. // eslint-disable-next-line react-hooks/rules-of-hooks
  3472. react__WEBPACK_IMPORTED_MODULE_2___default.a.useDebugValue(classes);
  3473. }
  3474. return classes;
  3475. };
  3476. return useStyles;
  3477. }
  3478. /***/ }),
  3479. /***/ "./node_modules/@material-ui/styles/esm/makeStyles/multiKeyStore.js":
  3480. /*!**************************************************************************!*\
  3481. !*** ./node_modules/@material-ui/styles/esm/makeStyles/multiKeyStore.js ***!
  3482. \**************************************************************************/
  3483. /*! exports provided: default */
  3484. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3485. "use strict";
  3486. __webpack_require__.r(__webpack_exports__);
  3487. // Used https://github.com/thinkloop/multi-key-cache as inspiration
  3488. var multiKeyStore = {
  3489. set: function set(cache, key1, key2, value) {
  3490. var subCache = cache.get(key1);
  3491. if (!subCache) {
  3492. subCache = new Map();
  3493. cache.set(key1, subCache);
  3494. }
  3495. subCache.set(key2, value);
  3496. },
  3497. get: function get(cache, key1, key2) {
  3498. var subCache = cache.get(key1);
  3499. return subCache ? subCache.get(key2) : undefined;
  3500. },
  3501. delete: function _delete(cache, key1, key2) {
  3502. var subCache = cache.get(key1);
  3503. subCache.delete(key2);
  3504. }
  3505. };
  3506. /* harmony default export */ __webpack_exports__["default"] = (multiKeyStore);
  3507. /***/ }),
  3508. /***/ "./node_modules/@material-ui/styles/esm/mergeClasses/index.js":
  3509. /*!********************************************************************!*\
  3510. !*** ./node_modules/@material-ui/styles/esm/mergeClasses/index.js ***!
  3511. \********************************************************************/
  3512. /*! exports provided: default */
  3513. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3514. "use strict";
  3515. __webpack_require__.r(__webpack_exports__);
  3516. /* harmony import */ var _mergeClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./mergeClasses */ "./node_modules/@material-ui/styles/esm/mergeClasses/mergeClasses.js");
  3517. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _mergeClasses__WEBPACK_IMPORTED_MODULE_0__["default"]; });
  3518. /***/ }),
  3519. /***/ "./node_modules/@material-ui/styles/esm/mergeClasses/mergeClasses.js":
  3520. /*!***************************************************************************!*\
  3521. !*** ./node_modules/@material-ui/styles/esm/mergeClasses/mergeClasses.js ***!
  3522. \***************************************************************************/
  3523. /*! exports provided: default */
  3524. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3525. "use strict";
  3526. __webpack_require__.r(__webpack_exports__);
  3527. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return mergeClasses; });
  3528. /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
  3529. /* harmony import */ var _material_ui_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @material-ui/utils */ "./node_modules/@material-ui/utils/esm/index.js");
  3530. function mergeClasses() {
  3531. var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  3532. var baseClasses = options.baseClasses,
  3533. newClasses = options.newClasses,
  3534. Component = options.Component;
  3535. if (!newClasses) {
  3536. return baseClasses;
  3537. }
  3538. var nextClasses = Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, baseClasses);
  3539. if (true) {
  3540. if (typeof newClasses === 'string') {
  3541. console.error(["Material-UI: The value `".concat(newClasses, "` ") + "provided to the classes prop of ".concat(Object(_material_ui_utils__WEBPACK_IMPORTED_MODULE_1__["getDisplayName"])(Component), " is incorrect."), 'You might want to use the className prop instead.'].join('\n'));
  3542. return baseClasses;
  3543. }
  3544. }
  3545. Object.keys(newClasses).forEach(function (key) {
  3546. if (true) {
  3547. if (!baseClasses[key] && newClasses[key]) {
  3548. console.error(["Material-UI: The key `".concat(key, "` ") + "provided to the classes prop is not implemented in ".concat(Object(_material_ui_utils__WEBPACK_IMPORTED_MODULE_1__["getDisplayName"])(Component), "."), "You can only override one of the following: ".concat(Object.keys(baseClasses).join(','), ".")].join('\n'));
  3549. }
  3550. if (newClasses[key] && typeof newClasses[key] !== 'string') {
  3551. console.error(["Material-UI: The key `".concat(key, "` ") + "provided to the classes prop is not valid for ".concat(Object(_material_ui_utils__WEBPACK_IMPORTED_MODULE_1__["getDisplayName"])(Component), "."), "You need to provide a non empty string instead of: ".concat(newClasses[key], ".")].join('\n'));
  3552. }
  3553. }
  3554. if (newClasses[key]) {
  3555. nextClasses[key] = "".concat(baseClasses[key], " ").concat(newClasses[key]);
  3556. }
  3557. });
  3558. return nextClasses;
  3559. }
  3560. /***/ }),
  3561. /***/ "./node_modules/@material-ui/styles/esm/styled/index.js":
  3562. /*!**************************************************************!*\
  3563. !*** ./node_modules/@material-ui/styles/esm/styled/index.js ***!
  3564. \**************************************************************/
  3565. /*! exports provided: default */
  3566. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3567. "use strict";
  3568. __webpack_require__.r(__webpack_exports__);
  3569. /* harmony import */ var _styled__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./styled */ "./node_modules/@material-ui/styles/esm/styled/styled.js");
  3570. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _styled__WEBPACK_IMPORTED_MODULE_0__["default"]; });
  3571. /***/ }),
  3572. /***/ "./node_modules/@material-ui/styles/esm/styled/styled.js":
  3573. /*!***************************************************************!*\
  3574. !*** ./node_modules/@material-ui/styles/esm/styled/styled.js ***!
  3575. \***************************************************************/
  3576. /*! exports provided: default */
  3577. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3578. "use strict";
  3579. __webpack_require__.r(__webpack_exports__);
  3580. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return styled; });
  3581. /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
  3582. /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
  3583. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
  3584. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
  3585. /* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! clsx */ "./node_modules/clsx/dist/clsx.m.js");
  3586. /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js");
  3587. /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
  3588. /* harmony import */ var _material_ui_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @material-ui/utils */ "./node_modules/@material-ui/utils/esm/index.js");
  3589. /* harmony import */ var hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! hoist-non-react-statics */ "./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js");
  3590. /* harmony import */ var hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_6__);
  3591. /* harmony import */ var _makeStyles__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../makeStyles */ "./node_modules/@material-ui/styles/esm/makeStyles/index.js");
  3592. function omit(input, fields) {
  3593. var output = {};
  3594. Object.keys(input).forEach(function (prop) {
  3595. if (fields.indexOf(prop) === -1) {
  3596. output[prop] = input[prop];
  3597. }
  3598. });
  3599. return output;
  3600. } // styled-components's API removes the mapping between components and styles.
  3601. // Using components as a low-level styling construct can be simpler.
  3602. function styled(Component) {
  3603. var componentCreator = function componentCreator(style) {
  3604. var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  3605. var name = options.name,
  3606. stylesOptions = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__["default"])(options, ["name"]);
  3607. if ( true && Component === undefined) {
  3608. throw new Error(['You are calling styled(Component)(style) with an undefined component.', 'You may have forgotten to import it.'].join('\n'));
  3609. }
  3610. var classNamePrefix = name;
  3611. if (true) {
  3612. if (!name) {
  3613. // Provide a better DX outside production.
  3614. var displayName = Object(_material_ui_utils__WEBPACK_IMPORTED_MODULE_5__["getDisplayName"])(Component);
  3615. if (displayName !== undefined) {
  3616. classNamePrefix = displayName;
  3617. }
  3618. }
  3619. }
  3620. var stylesOrCreator = typeof style === 'function' ? function (theme) {
  3621. return {
  3622. root: function root(props) {
  3623. return style(Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
  3624. theme: theme
  3625. }, props));
  3626. }
  3627. };
  3628. } : {
  3629. root: style
  3630. };
  3631. var useStyles = Object(_makeStyles__WEBPACK_IMPORTED_MODULE_7__["default"])(stylesOrCreator, Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
  3632. Component: Component,
  3633. name: name || Component.displayName,
  3634. classNamePrefix: classNamePrefix
  3635. }, stylesOptions));
  3636. var filterProps;
  3637. var propTypes = {};
  3638. if (style.filterProps) {
  3639. filterProps = style.filterProps;
  3640. delete style.filterProps;
  3641. }
  3642. /* eslint-disable react/forbid-foreign-prop-types */
  3643. if (style.propTypes) {
  3644. propTypes = style.propTypes;
  3645. delete style.propTypes;
  3646. }
  3647. /* eslint-enable react/forbid-foreign-prop-types */
  3648. var StyledComponent = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default.a.forwardRef(function StyledComponent(props, ref) {
  3649. var children = props.children,
  3650. classNameProp = props.className,
  3651. clone = props.clone,
  3652. ComponentProp = props.component,
  3653. other = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__["default"])(props, ["children", "className", "clone", "component"]);
  3654. var classes = useStyles(props);
  3655. var className = Object(clsx__WEBPACK_IMPORTED_MODULE_3__["default"])(classes.root, classNameProp);
  3656. var spread = other;
  3657. if (filterProps) {
  3658. spread = omit(spread, filterProps);
  3659. }
  3660. if (clone) {
  3661. return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default.a.cloneElement(children, Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
  3662. className: Object(clsx__WEBPACK_IMPORTED_MODULE_3__["default"])(children.props.className, className)
  3663. }, spread));
  3664. }
  3665. if (typeof children === 'function') {
  3666. return children(Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
  3667. className: className
  3668. }, spread));
  3669. }
  3670. var FinalComponent = ComponentProp || Component;
  3671. return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(FinalComponent, Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
  3672. ref: ref,
  3673. className: className
  3674. }, spread), children);
  3675. });
  3676. true ? StyledComponent.propTypes = Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
  3677. /**
  3678. * A render function or node.
  3679. */
  3680. children: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.node, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.func]),
  3681. /**
  3682. * @ignore
  3683. */
  3684. className: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string,
  3685. /**
  3686. * If `true`, the component will recycle it's children HTML element.
  3687. * It's using `React.cloneElement` internally.
  3688. *
  3689. * This prop will be deprecated and removed in v5
  3690. */
  3691. clone: Object(_material_ui_utils__WEBPACK_IMPORTED_MODULE_5__["chainPropTypes"])(prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool, function (props) {
  3692. if (props.clone && props.component) {
  3693. return new Error('You can not use the clone and component prop at the same time.');
  3694. }
  3695. return null;
  3696. }),
  3697. /**
  3698. * The component used for the root node.
  3699. * Either a string to use a HTML element or a component.
  3700. */
  3701. component: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a
  3702. /* @typescript-to-proptypes-ignore */
  3703. .elementType
  3704. }, propTypes) : undefined;
  3705. if (true) {
  3706. StyledComponent.displayName = "Styled(".concat(classNamePrefix, ")");
  3707. }
  3708. hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_6___default()(StyledComponent, Component);
  3709. return StyledComponent;
  3710. };
  3711. return componentCreator;
  3712. }
  3713. /***/ }),
  3714. /***/ "./node_modules/@material-ui/styles/esm/useTheme/ThemeContext.js":
  3715. /*!***********************************************************************!*\
  3716. !*** ./node_modules/@material-ui/styles/esm/useTheme/ThemeContext.js ***!
  3717. \***********************************************************************/
  3718. /*! exports provided: default */
  3719. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3720. "use strict";
  3721. __webpack_require__.r(__webpack_exports__);
  3722. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
  3723. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
  3724. var ThemeContext = react__WEBPACK_IMPORTED_MODULE_0___default.a.createContext(null);
  3725. if (true) {
  3726. ThemeContext.displayName = 'ThemeContext';
  3727. }
  3728. /* harmony default export */ __webpack_exports__["default"] = (ThemeContext);
  3729. /***/ }),
  3730. /***/ "./node_modules/@material-ui/styles/esm/useTheme/index.js":
  3731. /*!****************************************************************!*\
  3732. !*** ./node_modules/@material-ui/styles/esm/useTheme/index.js ***!
  3733. \****************************************************************/
  3734. /*! exports provided: default */
  3735. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3736. "use strict";
  3737. __webpack_require__.r(__webpack_exports__);
  3738. /* harmony import */ var _useTheme__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./useTheme */ "./node_modules/@material-ui/styles/esm/useTheme/useTheme.js");
  3739. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _useTheme__WEBPACK_IMPORTED_MODULE_0__["default"]; });
  3740. /***/ }),
  3741. /***/ "./node_modules/@material-ui/styles/esm/useTheme/useTheme.js":
  3742. /*!*******************************************************************!*\
  3743. !*** ./node_modules/@material-ui/styles/esm/useTheme/useTheme.js ***!
  3744. \*******************************************************************/
  3745. /*! exports provided: default */
  3746. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3747. "use strict";
  3748. __webpack_require__.r(__webpack_exports__);
  3749. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return useTheme; });
  3750. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
  3751. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
  3752. /* harmony import */ var _ThemeContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ThemeContext */ "./node_modules/@material-ui/styles/esm/useTheme/ThemeContext.js");
  3753. function useTheme() {
  3754. var theme = react__WEBPACK_IMPORTED_MODULE_0___default.a.useContext(_ThemeContext__WEBPACK_IMPORTED_MODULE_1__["default"]);
  3755. if (true) {
  3756. // eslint-disable-next-line react-hooks/rules-of-hooks
  3757. react__WEBPACK_IMPORTED_MODULE_0___default.a.useDebugValue(theme);
  3758. }
  3759. return theme;
  3760. }
  3761. /***/ }),
  3762. /***/ "./node_modules/@material-ui/styles/esm/withStyles/index.js":
  3763. /*!******************************************************************!*\
  3764. !*** ./node_modules/@material-ui/styles/esm/withStyles/index.js ***!
  3765. \******************************************************************/
  3766. /*! exports provided: default */
  3767. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3768. "use strict";
  3769. __webpack_require__.r(__webpack_exports__);
  3770. /* harmony import */ var _withStyles__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./withStyles */ "./node_modules/@material-ui/styles/esm/withStyles/withStyles.js");
  3771. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _withStyles__WEBPACK_IMPORTED_MODULE_0__["default"]; });
  3772. /***/ }),
  3773. /***/ "./node_modules/@material-ui/styles/esm/withStyles/withStyles.js":
  3774. /*!***********************************************************************!*\
  3775. !*** ./node_modules/@material-ui/styles/esm/withStyles/withStyles.js ***!
  3776. \***********************************************************************/
  3777. /*! exports provided: default */
  3778. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3779. "use strict";
  3780. __webpack_require__.r(__webpack_exports__);
  3781. /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
  3782. /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
  3783. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
  3784. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
  3785. /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js");
  3786. /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
  3787. /* harmony import */ var hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! hoist-non-react-statics */ "./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js");
  3788. /* harmony import */ var hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_4__);
  3789. /* harmony import */ var _material_ui_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @material-ui/utils */ "./node_modules/@material-ui/utils/esm/index.js");
  3790. /* harmony import */ var _makeStyles__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../makeStyles */ "./node_modules/@material-ui/styles/esm/makeStyles/index.js");
  3791. /* harmony import */ var _getThemeProps__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../getThemeProps */ "./node_modules/@material-ui/styles/esm/getThemeProps/index.js");
  3792. /* harmony import */ var _useTheme__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../useTheme */ "./node_modules/@material-ui/styles/esm/useTheme/index.js");
  3793. // Link a style sheet with a component.
  3794. // It does not modify the component passed to it;
  3795. // instead, it returns a new component, with a `classes` property.
  3796. var withStyles = function withStyles(stylesOrCreator) {
  3797. var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  3798. return function (Component) {
  3799. var defaultTheme = options.defaultTheme,
  3800. _options$withTheme = options.withTheme,
  3801. withTheme = _options$withTheme === void 0 ? false : _options$withTheme,
  3802. name = options.name,
  3803. stylesOptions = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__["default"])(options, ["defaultTheme", "withTheme", "name"]);
  3804. if (true) {
  3805. if (Component === undefined) {
  3806. throw new Error(['You are calling withStyles(styles)(Component) with an undefined component.', 'You may have forgotten to import it.'].join('\n'));
  3807. }
  3808. }
  3809. var classNamePrefix = name;
  3810. if (true) {
  3811. if (!name) {
  3812. // Provide a better DX outside production.
  3813. var displayName = Object(_material_ui_utils__WEBPACK_IMPORTED_MODULE_5__["getDisplayName"])(Component);
  3814. if (displayName !== undefined) {
  3815. classNamePrefix = displayName;
  3816. }
  3817. }
  3818. }
  3819. var useStyles = Object(_makeStyles__WEBPACK_IMPORTED_MODULE_6__["default"])(stylesOrCreator, Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
  3820. defaultTheme: defaultTheme,
  3821. Component: Component,
  3822. name: name || Component.displayName,
  3823. classNamePrefix: classNamePrefix
  3824. }, stylesOptions));
  3825. var WithStyles = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default.a.forwardRef(function WithStyles(props, ref) {
  3826. var classesProp = props.classes,
  3827. innerRef = props.innerRef,
  3828. other = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__["default"])(props, ["classes", "innerRef"]); // The wrapper receives only user supplied props, which could be a subset of
  3829. // the actual props Component might receive due to merging with defaultProps.
  3830. // So copying it here would give us the same result in the wrapper as well.
  3831. var classes = useStyles(Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, Component.defaultProps, props));
  3832. var theme;
  3833. var more = other;
  3834. if (typeof name === 'string' || withTheme) {
  3835. // name and withTheme are invariant in the outer scope
  3836. // eslint-disable-next-line react-hooks/rules-of-hooks
  3837. theme = Object(_useTheme__WEBPACK_IMPORTED_MODULE_8__["default"])() || defaultTheme;
  3838. if (name) {
  3839. more = Object(_getThemeProps__WEBPACK_IMPORTED_MODULE_7__["default"])({
  3840. theme: theme,
  3841. name: name,
  3842. props: other
  3843. });
  3844. } // Provide the theme to the wrapped component.
  3845. // So we don't have to use the `withTheme()` Higher-order Component.
  3846. if (withTheme && !more.theme) {
  3847. more.theme = theme;
  3848. }
  3849. }
  3850. return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(Component, Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
  3851. ref: innerRef || ref,
  3852. classes: classes
  3853. }, more));
  3854. });
  3855. true ? WithStyles.propTypes = {
  3856. /**
  3857. * Override or extend the styles applied to the component.
  3858. */
  3859. classes: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object,
  3860. /**
  3861. * Use that prop to pass a ref to the decorated component.
  3862. * @deprecated
  3863. */
  3864. innerRef: Object(_material_ui_utils__WEBPACK_IMPORTED_MODULE_5__["chainPropTypes"])(prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.func, prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object]), function (props) {
  3865. if (props.innerRef == null) {
  3866. return null;
  3867. }
  3868. return null; // return new Error(
  3869. // 'Material-UI: The `innerRef` prop is deprecated and will be removed in v5. ' +
  3870. // 'Refs are now automatically forwarded to the inner component.',
  3871. // );
  3872. })
  3873. } : undefined;
  3874. if (true) {
  3875. WithStyles.displayName = "WithStyles(".concat(Object(_material_ui_utils__WEBPACK_IMPORTED_MODULE_5__["getDisplayName"])(Component), ")");
  3876. }
  3877. hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_4___default()(WithStyles, Component);
  3878. if (true) {
  3879. // Exposed for test purposes.
  3880. WithStyles.Naked = Component;
  3881. WithStyles.options = options;
  3882. WithStyles.useStyles = useStyles;
  3883. }
  3884. return WithStyles;
  3885. };
  3886. };
  3887. /* harmony default export */ __webpack_exports__["default"] = (withStyles);
  3888. /***/ }),
  3889. /***/ "./node_modules/@material-ui/styles/esm/withTheme/index.js":
  3890. /*!*****************************************************************!*\
  3891. !*** ./node_modules/@material-ui/styles/esm/withTheme/index.js ***!
  3892. \*****************************************************************/
  3893. /*! exports provided: default, withThemeCreator */
  3894. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3895. "use strict";
  3896. __webpack_require__.r(__webpack_exports__);
  3897. /* harmony import */ var _withTheme__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./withTheme */ "./node_modules/@material-ui/styles/esm/withTheme/withTheme.js");
  3898. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _withTheme__WEBPACK_IMPORTED_MODULE_0__["default"]; });
  3899. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "withThemeCreator", function() { return _withTheme__WEBPACK_IMPORTED_MODULE_0__["withThemeCreator"]; });
  3900. /***/ }),
  3901. /***/ "./node_modules/@material-ui/styles/esm/withTheme/withTheme.js":
  3902. /*!*********************************************************************!*\
  3903. !*** ./node_modules/@material-ui/styles/esm/withTheme/withTheme.js ***!
  3904. \*********************************************************************/
  3905. /*! exports provided: withThemeCreator, default */
  3906. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3907. "use strict";
  3908. __webpack_require__.r(__webpack_exports__);
  3909. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "withThemeCreator", function() { return withThemeCreator; });
  3910. /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
  3911. /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
  3912. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
  3913. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
  3914. /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js");
  3915. /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
  3916. /* harmony import */ var hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! hoist-non-react-statics */ "./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js");
  3917. /* harmony import */ var hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_4__);
  3918. /* harmony import */ var _material_ui_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @material-ui/utils */ "./node_modules/@material-ui/utils/esm/index.js");
  3919. /* harmony import */ var _useTheme__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../useTheme */ "./node_modules/@material-ui/styles/esm/useTheme/index.js");
  3920. function withThemeCreator() {
  3921. var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  3922. var defaultTheme = options.defaultTheme;
  3923. var withTheme = function withTheme(Component) {
  3924. if (true) {
  3925. if (Component === undefined) {
  3926. throw new Error(['You are calling withTheme(Component) with an undefined component.', 'You may have forgotten to import it.'].join('\n'));
  3927. }
  3928. }
  3929. var WithTheme = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default.a.forwardRef(function WithTheme(props, ref) {
  3930. var innerRef = props.innerRef,
  3931. other = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__["default"])(props, ["innerRef"]);
  3932. var theme = Object(_useTheme__WEBPACK_IMPORTED_MODULE_6__["default"])() || defaultTheme;
  3933. return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(Component, Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
  3934. theme: theme,
  3935. ref: innerRef || ref
  3936. }, other));
  3937. });
  3938. true ? WithTheme.propTypes = {
  3939. /**
  3940. * Use that prop to pass a ref to the decorated component.
  3941. * @deprecated
  3942. */
  3943. innerRef: Object(_material_ui_utils__WEBPACK_IMPORTED_MODULE_5__["chainPropTypes"])(prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.func, prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object]), function (props) {
  3944. if (props.innerRef == null) {
  3945. return null;
  3946. }
  3947. return new Error('Material-UI: The `innerRef` prop is deprecated and will be removed in v5. ' + 'Refs are now automatically forwarded to the inner component.');
  3948. })
  3949. } : undefined;
  3950. if (true) {
  3951. WithTheme.displayName = "WithTheme(".concat(Object(_material_ui_utils__WEBPACK_IMPORTED_MODULE_5__["getDisplayName"])(Component), ")");
  3952. }
  3953. hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_4___default()(WithTheme, Component);
  3954. if (true) {
  3955. // Exposed for test purposes.
  3956. WithTheme.Naked = Component;
  3957. }
  3958. return WithTheme;
  3959. };
  3960. return withTheme;
  3961. } // Provide the theme object as a prop to the input component.
  3962. // It's an alternative API to useTheme().
  3963. // We encourage the usage of useTheme() where possible.
  3964. var withTheme = withThemeCreator();
  3965. /* harmony default export */ __webpack_exports__["default"] = (withTheme);
  3966. /***/ }),
  3967. /***/ "./node_modules/@material-ui/system/esm/borders.js":
  3968. /*!*********************************************************!*\
  3969. !*** ./node_modules/@material-ui/system/esm/borders.js ***!
  3970. \*********************************************************/
  3971. /*! exports provided: border, borderTop, borderRight, borderBottom, borderLeft, borderColor, borderRadius, default */
  3972. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3973. "use strict";
  3974. __webpack_require__.r(__webpack_exports__);
  3975. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "border", function() { return border; });
  3976. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "borderTop", function() { return borderTop; });
  3977. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "borderRight", function() { return borderRight; });
  3978. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "borderBottom", function() { return borderBottom; });
  3979. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "borderLeft", function() { return borderLeft; });
  3980. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "borderColor", function() { return borderColor; });
  3981. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "borderRadius", function() { return borderRadius; });
  3982. /* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./style */ "./node_modules/@material-ui/system/esm/style.js");
  3983. /* harmony import */ var _compose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./compose */ "./node_modules/@material-ui/system/esm/compose.js");
  3984. function getBorder(value) {
  3985. if (typeof value !== 'number') {
  3986. return value;
  3987. }
  3988. return "".concat(value, "px solid");
  3989. }
  3990. var border = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  3991. prop: 'border',
  3992. themeKey: 'borders',
  3993. transform: getBorder
  3994. });
  3995. var borderTop = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  3996. prop: 'borderTop',
  3997. themeKey: 'borders',
  3998. transform: getBorder
  3999. });
  4000. var borderRight = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4001. prop: 'borderRight',
  4002. themeKey: 'borders',
  4003. transform: getBorder
  4004. });
  4005. var borderBottom = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4006. prop: 'borderBottom',
  4007. themeKey: 'borders',
  4008. transform: getBorder
  4009. });
  4010. var borderLeft = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4011. prop: 'borderLeft',
  4012. themeKey: 'borders',
  4013. transform: getBorder
  4014. });
  4015. var borderColor = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4016. prop: 'borderColor',
  4017. themeKey: 'palette'
  4018. });
  4019. var borderRadius = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4020. prop: 'borderRadius',
  4021. themeKey: 'shape'
  4022. });
  4023. var borders = Object(_compose__WEBPACK_IMPORTED_MODULE_1__["default"])(border, borderTop, borderRight, borderBottom, borderLeft, borderColor, borderRadius);
  4024. /* harmony default export */ __webpack_exports__["default"] = (borders);
  4025. /***/ }),
  4026. /***/ "./node_modules/@material-ui/system/esm/breakpoints.js":
  4027. /*!*************************************************************!*\
  4028. !*** ./node_modules/@material-ui/system/esm/breakpoints.js ***!
  4029. \*************************************************************/
  4030. /*! exports provided: handleBreakpoints, default */
  4031. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  4032. "use strict";
  4033. __webpack_require__.r(__webpack_exports__);
  4034. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "handleBreakpoints", function() { return handleBreakpoints; });
  4035. /* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toConsumableArray */ "./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js");
  4036. /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
  4037. /* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ "./node_modules/@babel/runtime/helpers/esm/typeof.js");
  4038. /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js");
  4039. /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
  4040. /* harmony import */ var _merge__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./merge */ "./node_modules/@material-ui/system/esm/merge.js");
  4041. // The breakpoint **start** at this value.
  4042. // For instance with the first breakpoint xs: [xs, sm[.
  4043. var values = {
  4044. xs: 0,
  4045. sm: 600,
  4046. md: 960,
  4047. lg: 1280,
  4048. xl: 1920
  4049. };
  4050. var defaultBreakpoints = {
  4051. // Sorted ASC by size. That's important.
  4052. // It can't be configured as it's used statically for propTypes.
  4053. keys: ['xs', 'sm', 'md', 'lg', 'xl'],
  4054. up: function up(key) {
  4055. return "@media (min-width:".concat(values[key], "px)");
  4056. }
  4057. };
  4058. function handleBreakpoints(props, propValue, styleFromPropValue) {
  4059. if (true) {
  4060. if (!props.theme) {
  4061. console.error('Material-UI: You are calling a style function without a theme value.');
  4062. }
  4063. }
  4064. if (Array.isArray(propValue)) {
  4065. var themeBreakpoints = props.theme.breakpoints || defaultBreakpoints;
  4066. return propValue.reduce(function (acc, item, index) {
  4067. acc[themeBreakpoints.up(themeBreakpoints.keys[index])] = styleFromPropValue(propValue[index]);
  4068. return acc;
  4069. }, {});
  4070. }
  4071. if (Object(_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_2__["default"])(propValue) === 'object') {
  4072. var _themeBreakpoints = props.theme.breakpoints || defaultBreakpoints;
  4073. return Object.keys(propValue).reduce(function (acc, breakpoint) {
  4074. acc[_themeBreakpoints.up(breakpoint)] = styleFromPropValue(propValue[breakpoint]);
  4075. return acc;
  4076. }, {});
  4077. }
  4078. var output = styleFromPropValue(propValue);
  4079. return output;
  4080. }
  4081. function breakpoints(styleFunction) {
  4082. var newStyleFunction = function newStyleFunction(props) {
  4083. var base = styleFunction(props);
  4084. var themeBreakpoints = props.theme.breakpoints || defaultBreakpoints;
  4085. var extended = themeBreakpoints.keys.reduce(function (acc, key) {
  4086. if (props[key]) {
  4087. acc = acc || {};
  4088. acc[themeBreakpoints.up(key)] = styleFunction(Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({
  4089. theme: props.theme
  4090. }, props[key]));
  4091. }
  4092. return acc;
  4093. }, null);
  4094. return Object(_merge__WEBPACK_IMPORTED_MODULE_4__["default"])(base, extended);
  4095. };
  4096. newStyleFunction.propTypes = true ? Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, styleFunction.propTypes, {
  4097. xs: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object,
  4098. sm: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object,
  4099. md: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object,
  4100. lg: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object,
  4101. xl: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object
  4102. }) : undefined;
  4103. newStyleFunction.filterProps = ['xs', 'sm', 'md', 'lg', 'xl'].concat(Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__["default"])(styleFunction.filterProps));
  4104. return newStyleFunction;
  4105. }
  4106. /* harmony default export */ __webpack_exports__["default"] = (breakpoints);
  4107. /***/ }),
  4108. /***/ "./node_modules/@material-ui/system/esm/compose.js":
  4109. /*!*********************************************************!*\
  4110. !*** ./node_modules/@material-ui/system/esm/compose.js ***!
  4111. \*********************************************************/
  4112. /*! exports provided: default */
  4113. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  4114. "use strict";
  4115. __webpack_require__.r(__webpack_exports__);
  4116. /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
  4117. /* harmony import */ var _merge__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./merge */ "./node_modules/@material-ui/system/esm/merge.js");
  4118. function compose() {
  4119. for (var _len = arguments.length, styles = new Array(_len), _key = 0; _key < _len; _key++) {
  4120. styles[_key] = arguments[_key];
  4121. }
  4122. var fn = function fn(props) {
  4123. return styles.reduce(function (acc, style) {
  4124. var output = style(props);
  4125. if (output) {
  4126. return Object(_merge__WEBPACK_IMPORTED_MODULE_1__["default"])(acc, output);
  4127. }
  4128. return acc;
  4129. }, {});
  4130. }; // Alternative approach that doesn't yield any performance gain.
  4131. // const handlers = styles.reduce((acc, style) => {
  4132. // style.filterProps.forEach(prop => {
  4133. // acc[prop] = style;
  4134. // });
  4135. // return acc;
  4136. // }, {});
  4137. // const fn = props => {
  4138. // return Object.keys(props).reduce((acc, prop) => {
  4139. // if (handlers[prop]) {
  4140. // return merge(acc, handlers[prop](props));
  4141. // }
  4142. // return acc;
  4143. // }, {});
  4144. // };
  4145. fn.propTypes = true ? styles.reduce(function (acc, style) {
  4146. return Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])(acc, style.propTypes);
  4147. }, {}) : undefined;
  4148. fn.filterProps = styles.reduce(function (acc, style) {
  4149. return acc.concat(style.filterProps);
  4150. }, []);
  4151. return fn;
  4152. }
  4153. /* harmony default export */ __webpack_exports__["default"] = (compose);
  4154. /***/ }),
  4155. /***/ "./node_modules/@material-ui/system/esm/css.js":
  4156. /*!*****************************************************!*\
  4157. !*** ./node_modules/@material-ui/system/esm/css.js ***!
  4158. \*****************************************************/
  4159. /*! exports provided: default */
  4160. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  4161. "use strict";
  4162. __webpack_require__.r(__webpack_exports__);
  4163. /* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toConsumableArray */ "./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js");
  4164. /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
  4165. /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js");
  4166. /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
  4167. /* harmony import */ var _merge__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./merge */ "./node_modules/@material-ui/system/esm/merge.js");
  4168. function omit(input, fields) {
  4169. var output = {};
  4170. Object.keys(input).forEach(function (prop) {
  4171. if (fields.indexOf(prop) === -1) {
  4172. output[prop] = input[prop];
  4173. }
  4174. });
  4175. return output;
  4176. }
  4177. function css(styleFunction) {
  4178. var newStyleFunction = function newStyleFunction(props) {
  4179. var output = styleFunction(props);
  4180. if (props.css) {
  4181. return Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, Object(_merge__WEBPACK_IMPORTED_MODULE_3__["default"])(output, styleFunction(Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({
  4182. theme: props.theme
  4183. }, props.css))), omit(props.css, [styleFunction.filterProps]));
  4184. }
  4185. return output;
  4186. };
  4187. newStyleFunction.propTypes = true ? Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, styleFunction.propTypes, {
  4188. css: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.object
  4189. }) : undefined;
  4190. newStyleFunction.filterProps = ['css'].concat(Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__["default"])(styleFunction.filterProps));
  4191. return newStyleFunction;
  4192. }
  4193. /* harmony default export */ __webpack_exports__["default"] = (css);
  4194. /***/ }),
  4195. /***/ "./node_modules/@material-ui/system/esm/display.js":
  4196. /*!*********************************************************!*\
  4197. !*** ./node_modules/@material-ui/system/esm/display.js ***!
  4198. \*********************************************************/
  4199. /*! exports provided: displayPrint, displayRaw, overflow, textOverflow, visibility, whiteSpace, default */
  4200. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  4201. "use strict";
  4202. __webpack_require__.r(__webpack_exports__);
  4203. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "displayPrint", function() { return displayPrint; });
  4204. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "displayRaw", function() { return displayRaw; });
  4205. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "overflow", function() { return overflow; });
  4206. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "textOverflow", function() { return textOverflow; });
  4207. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "visibility", function() { return visibility; });
  4208. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "whiteSpace", function() { return whiteSpace; });
  4209. /* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./style */ "./node_modules/@material-ui/system/esm/style.js");
  4210. /* harmony import */ var _compose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./compose */ "./node_modules/@material-ui/system/esm/compose.js");
  4211. var displayPrint = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4212. prop: 'displayPrint',
  4213. cssProperty: false,
  4214. transform: function transform(value) {
  4215. return {
  4216. '@media print': {
  4217. display: value
  4218. }
  4219. };
  4220. }
  4221. });
  4222. var displayRaw = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4223. prop: 'display'
  4224. });
  4225. var overflow = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4226. prop: 'overflow'
  4227. });
  4228. var textOverflow = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4229. prop: 'textOverflow'
  4230. });
  4231. var visibility = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4232. prop: 'visibility'
  4233. });
  4234. var whiteSpace = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4235. prop: 'whiteSpace'
  4236. });
  4237. /* harmony default export */ __webpack_exports__["default"] = (Object(_compose__WEBPACK_IMPORTED_MODULE_1__["default"])(displayPrint, displayRaw, overflow, textOverflow, visibility, whiteSpace));
  4238. /***/ }),
  4239. /***/ "./node_modules/@material-ui/system/esm/flexbox.js":
  4240. /*!*********************************************************!*\
  4241. !*** ./node_modules/@material-ui/system/esm/flexbox.js ***!
  4242. \*********************************************************/
  4243. /*! exports provided: flexBasis, flexDirection, flexWrap, justifyContent, alignItems, alignContent, order, flex, flexGrow, flexShrink, alignSelf, justifyItems, justifySelf, default */
  4244. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  4245. "use strict";
  4246. __webpack_require__.r(__webpack_exports__);
  4247. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "flexBasis", function() { return flexBasis; });
  4248. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "flexDirection", function() { return flexDirection; });
  4249. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "flexWrap", function() { return flexWrap; });
  4250. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "justifyContent", function() { return justifyContent; });
  4251. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "alignItems", function() { return alignItems; });
  4252. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "alignContent", function() { return alignContent; });
  4253. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "order", function() { return order; });
  4254. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "flex", function() { return flex; });
  4255. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "flexGrow", function() { return flexGrow; });
  4256. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "flexShrink", function() { return flexShrink; });
  4257. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "alignSelf", function() { return alignSelf; });
  4258. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "justifyItems", function() { return justifyItems; });
  4259. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "justifySelf", function() { return justifySelf; });
  4260. /* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./style */ "./node_modules/@material-ui/system/esm/style.js");
  4261. /* harmony import */ var _compose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./compose */ "./node_modules/@material-ui/system/esm/compose.js");
  4262. var flexBasis = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4263. prop: 'flexBasis'
  4264. });
  4265. var flexDirection = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4266. prop: 'flexDirection'
  4267. });
  4268. var flexWrap = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4269. prop: 'flexWrap'
  4270. });
  4271. var justifyContent = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4272. prop: 'justifyContent'
  4273. });
  4274. var alignItems = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4275. prop: 'alignItems'
  4276. });
  4277. var alignContent = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4278. prop: 'alignContent'
  4279. });
  4280. var order = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4281. prop: 'order'
  4282. });
  4283. var flex = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4284. prop: 'flex'
  4285. });
  4286. var flexGrow = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4287. prop: 'flexGrow'
  4288. });
  4289. var flexShrink = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4290. prop: 'flexShrink'
  4291. });
  4292. var alignSelf = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4293. prop: 'alignSelf'
  4294. });
  4295. var justifyItems = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4296. prop: 'justifyItems'
  4297. });
  4298. var justifySelf = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4299. prop: 'justifySelf'
  4300. });
  4301. var flexbox = Object(_compose__WEBPACK_IMPORTED_MODULE_1__["default"])(flexBasis, flexDirection, flexWrap, justifyContent, alignItems, alignContent, order, flex, flexGrow, flexShrink, alignSelf, justifyItems, justifySelf);
  4302. /* harmony default export */ __webpack_exports__["default"] = (flexbox);
  4303. /***/ }),
  4304. /***/ "./node_modules/@material-ui/system/esm/grid.js":
  4305. /*!******************************************************!*\
  4306. !*** ./node_modules/@material-ui/system/esm/grid.js ***!
  4307. \******************************************************/
  4308. /*! exports provided: gridGap, gridColumnGap, gridRowGap, gridColumn, gridRow, gridAutoFlow, gridAutoColumns, gridAutoRows, gridTemplateColumns, gridTemplateRows, gridTemplateAreas, gridArea, default */
  4309. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  4310. "use strict";
  4311. __webpack_require__.r(__webpack_exports__);
  4312. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "gridGap", function() { return gridGap; });
  4313. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "gridColumnGap", function() { return gridColumnGap; });
  4314. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "gridRowGap", function() { return gridRowGap; });
  4315. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "gridColumn", function() { return gridColumn; });
  4316. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "gridRow", function() { return gridRow; });
  4317. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "gridAutoFlow", function() { return gridAutoFlow; });
  4318. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "gridAutoColumns", function() { return gridAutoColumns; });
  4319. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "gridAutoRows", function() { return gridAutoRows; });
  4320. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "gridTemplateColumns", function() { return gridTemplateColumns; });
  4321. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "gridTemplateRows", function() { return gridTemplateRows; });
  4322. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "gridTemplateAreas", function() { return gridTemplateAreas; });
  4323. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "gridArea", function() { return gridArea; });
  4324. /* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./style */ "./node_modules/@material-ui/system/esm/style.js");
  4325. /* harmony import */ var _compose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./compose */ "./node_modules/@material-ui/system/esm/compose.js");
  4326. var gridGap = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4327. prop: 'gridGap'
  4328. });
  4329. var gridColumnGap = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4330. prop: 'gridColumnGap'
  4331. });
  4332. var gridRowGap = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4333. prop: 'gridRowGap'
  4334. });
  4335. var gridColumn = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4336. prop: 'gridColumn'
  4337. });
  4338. var gridRow = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4339. prop: 'gridRow'
  4340. });
  4341. var gridAutoFlow = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4342. prop: 'gridAutoFlow'
  4343. });
  4344. var gridAutoColumns = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4345. prop: 'gridAutoColumns'
  4346. });
  4347. var gridAutoRows = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4348. prop: 'gridAutoRows'
  4349. });
  4350. var gridTemplateColumns = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4351. prop: 'gridTemplateColumns'
  4352. });
  4353. var gridTemplateRows = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4354. prop: 'gridTemplateRows'
  4355. });
  4356. var gridTemplateAreas = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4357. prop: 'gridTemplateAreas'
  4358. });
  4359. var gridArea = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4360. prop: 'gridArea'
  4361. });
  4362. var grid = Object(_compose__WEBPACK_IMPORTED_MODULE_1__["default"])(gridGap, gridColumnGap, gridRowGap, gridColumn, gridRow, gridAutoFlow, gridAutoColumns, gridAutoRows, gridTemplateColumns, gridTemplateRows, gridTemplateAreas, gridArea);
  4363. /* harmony default export */ __webpack_exports__["default"] = (grid);
  4364. /***/ }),
  4365. /***/ "./node_modules/@material-ui/system/esm/index.js":
  4366. /*!*******************************************************!*\
  4367. !*** ./node_modules/@material-ui/system/esm/index.js ***!
  4368. \*******************************************************/
  4369. /*! exports provided: borders, border, borderTop, borderRight, borderBottom, borderLeft, borderColor, borderRadius, breakpoints, compose, css, display, flexbox, flexBasis, flexDirection, flexWrap, justifyContent, alignItems, alignContent, order, flex, flexGrow, flexShrink, alignSelf, justifyItems, justifySelf, grid, gridGap, gridColumnGap, gridRowGap, gridColumn, gridRow, gridAutoFlow, gridAutoColumns, gridAutoRows, gridTemplateColumns, gridTemplateRows, gridTemplateAreas, gridArea, palette, color, bgcolor, positions, position, zIndex, top, right, bottom, left, shadows, sizing, width, maxWidth, minWidth, height, maxHeight, minHeight, sizeWidth, sizeHeight, boxSizing, spacing, createUnarySpacing, style, typography, fontFamily, fontSize, fontStyle, fontWeight, letterSpacing, lineHeight, textAlign */
  4370. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  4371. "use strict";
  4372. __webpack_require__.r(__webpack_exports__);
  4373. /* harmony import */ var _borders__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./borders */ "./node_modules/@material-ui/system/esm/borders.js");
  4374. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "borders", function() { return _borders__WEBPACK_IMPORTED_MODULE_0__["default"]; });
  4375. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "border", function() { return _borders__WEBPACK_IMPORTED_MODULE_0__["border"]; });
  4376. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "borderTop", function() { return _borders__WEBPACK_IMPORTED_MODULE_0__["borderTop"]; });
  4377. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "borderRight", function() { return _borders__WEBPACK_IMPORTED_MODULE_0__["borderRight"]; });
  4378. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "borderBottom", function() { return _borders__WEBPACK_IMPORTED_MODULE_0__["borderBottom"]; });
  4379. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "borderLeft", function() { return _borders__WEBPACK_IMPORTED_MODULE_0__["borderLeft"]; });
  4380. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "borderColor", function() { return _borders__WEBPACK_IMPORTED_MODULE_0__["borderColor"]; });
  4381. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "borderRadius", function() { return _borders__WEBPACK_IMPORTED_MODULE_0__["borderRadius"]; });
  4382. /* harmony import */ var _breakpoints__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./breakpoints */ "./node_modules/@material-ui/system/esm/breakpoints.js");
  4383. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "breakpoints", function() { return _breakpoints__WEBPACK_IMPORTED_MODULE_1__["default"]; });
  4384. /* harmony import */ var _compose__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./compose */ "./node_modules/@material-ui/system/esm/compose.js");
  4385. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "compose", function() { return _compose__WEBPACK_IMPORTED_MODULE_2__["default"]; });
  4386. /* harmony import */ var _css__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./css */ "./node_modules/@material-ui/system/esm/css.js");
  4387. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "css", function() { return _css__WEBPACK_IMPORTED_MODULE_3__["default"]; });
  4388. /* harmony import */ var _display__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./display */ "./node_modules/@material-ui/system/esm/display.js");
  4389. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "display", function() { return _display__WEBPACK_IMPORTED_MODULE_4__["default"]; });
  4390. /* harmony import */ var _flexbox__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./flexbox */ "./node_modules/@material-ui/system/esm/flexbox.js");
  4391. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "flexbox", function() { return _flexbox__WEBPACK_IMPORTED_MODULE_5__["default"]; });
  4392. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "flexBasis", function() { return _flexbox__WEBPACK_IMPORTED_MODULE_5__["flexBasis"]; });
  4393. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "flexDirection", function() { return _flexbox__WEBPACK_IMPORTED_MODULE_5__["flexDirection"]; });
  4394. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "flexWrap", function() { return _flexbox__WEBPACK_IMPORTED_MODULE_5__["flexWrap"]; });
  4395. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "justifyContent", function() { return _flexbox__WEBPACK_IMPORTED_MODULE_5__["justifyContent"]; });
  4396. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "alignItems", function() { return _flexbox__WEBPACK_IMPORTED_MODULE_5__["alignItems"]; });
  4397. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "alignContent", function() { return _flexbox__WEBPACK_IMPORTED_MODULE_5__["alignContent"]; });
  4398. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "order", function() { return _flexbox__WEBPACK_IMPORTED_MODULE_5__["order"]; });
  4399. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "flex", function() { return _flexbox__WEBPACK_IMPORTED_MODULE_5__["flex"]; });
  4400. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "flexGrow", function() { return _flexbox__WEBPACK_IMPORTED_MODULE_5__["flexGrow"]; });
  4401. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "flexShrink", function() { return _flexbox__WEBPACK_IMPORTED_MODULE_5__["flexShrink"]; });
  4402. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "alignSelf", function() { return _flexbox__WEBPACK_IMPORTED_MODULE_5__["alignSelf"]; });
  4403. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "justifyItems", function() { return _flexbox__WEBPACK_IMPORTED_MODULE_5__["justifyItems"]; });
  4404. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "justifySelf", function() { return _flexbox__WEBPACK_IMPORTED_MODULE_5__["justifySelf"]; });
  4405. /* harmony import */ var _grid__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./grid */ "./node_modules/@material-ui/system/esm/grid.js");
  4406. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "grid", function() { return _grid__WEBPACK_IMPORTED_MODULE_6__["default"]; });
  4407. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "gridGap", function() { return _grid__WEBPACK_IMPORTED_MODULE_6__["gridGap"]; });
  4408. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "gridColumnGap", function() { return _grid__WEBPACK_IMPORTED_MODULE_6__["gridColumnGap"]; });
  4409. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "gridRowGap", function() { return _grid__WEBPACK_IMPORTED_MODULE_6__["gridRowGap"]; });
  4410. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "gridColumn", function() { return _grid__WEBPACK_IMPORTED_MODULE_6__["gridColumn"]; });
  4411. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "gridRow", function() { return _grid__WEBPACK_IMPORTED_MODULE_6__["gridRow"]; });
  4412. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "gridAutoFlow", function() { return _grid__WEBPACK_IMPORTED_MODULE_6__["gridAutoFlow"]; });
  4413. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "gridAutoColumns", function() { return _grid__WEBPACK_IMPORTED_MODULE_6__["gridAutoColumns"]; });
  4414. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "gridAutoRows", function() { return _grid__WEBPACK_IMPORTED_MODULE_6__["gridAutoRows"]; });
  4415. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "gridTemplateColumns", function() { return _grid__WEBPACK_IMPORTED_MODULE_6__["gridTemplateColumns"]; });
  4416. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "gridTemplateRows", function() { return _grid__WEBPACK_IMPORTED_MODULE_6__["gridTemplateRows"]; });
  4417. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "gridTemplateAreas", function() { return _grid__WEBPACK_IMPORTED_MODULE_6__["gridTemplateAreas"]; });
  4418. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "gridArea", function() { return _grid__WEBPACK_IMPORTED_MODULE_6__["gridArea"]; });
  4419. /* harmony import */ var _palette__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./palette */ "./node_modules/@material-ui/system/esm/palette.js");
  4420. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "palette", function() { return _palette__WEBPACK_IMPORTED_MODULE_7__["default"]; });
  4421. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "color", function() { return _palette__WEBPACK_IMPORTED_MODULE_7__["color"]; });
  4422. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "bgcolor", function() { return _palette__WEBPACK_IMPORTED_MODULE_7__["bgcolor"]; });
  4423. /* harmony import */ var _positions__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./positions */ "./node_modules/@material-ui/system/esm/positions.js");
  4424. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "positions", function() { return _positions__WEBPACK_IMPORTED_MODULE_8__["default"]; });
  4425. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "position", function() { return _positions__WEBPACK_IMPORTED_MODULE_8__["position"]; });
  4426. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "zIndex", function() { return _positions__WEBPACK_IMPORTED_MODULE_8__["zIndex"]; });
  4427. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "top", function() { return _positions__WEBPACK_IMPORTED_MODULE_8__["top"]; });
  4428. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "right", function() { return _positions__WEBPACK_IMPORTED_MODULE_8__["right"]; });
  4429. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "bottom", function() { return _positions__WEBPACK_IMPORTED_MODULE_8__["bottom"]; });
  4430. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "left", function() { return _positions__WEBPACK_IMPORTED_MODULE_8__["left"]; });
  4431. /* harmony import */ var _shadows__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./shadows */ "./node_modules/@material-ui/system/esm/shadows.js");
  4432. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "shadows", function() { return _shadows__WEBPACK_IMPORTED_MODULE_9__["default"]; });
  4433. /* harmony import */ var _sizing__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./sizing */ "./node_modules/@material-ui/system/esm/sizing.js");
  4434. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "sizing", function() { return _sizing__WEBPACK_IMPORTED_MODULE_10__["default"]; });
  4435. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "width", function() { return _sizing__WEBPACK_IMPORTED_MODULE_10__["width"]; });
  4436. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "maxWidth", function() { return _sizing__WEBPACK_IMPORTED_MODULE_10__["maxWidth"]; });
  4437. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "minWidth", function() { return _sizing__WEBPACK_IMPORTED_MODULE_10__["minWidth"]; });
  4438. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "height", function() { return _sizing__WEBPACK_IMPORTED_MODULE_10__["height"]; });
  4439. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "maxHeight", function() { return _sizing__WEBPACK_IMPORTED_MODULE_10__["maxHeight"]; });
  4440. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "minHeight", function() { return _sizing__WEBPACK_IMPORTED_MODULE_10__["minHeight"]; });
  4441. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "sizeWidth", function() { return _sizing__WEBPACK_IMPORTED_MODULE_10__["sizeWidth"]; });
  4442. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "sizeHeight", function() { return _sizing__WEBPACK_IMPORTED_MODULE_10__["sizeHeight"]; });
  4443. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "boxSizing", function() { return _sizing__WEBPACK_IMPORTED_MODULE_10__["boxSizing"]; });
  4444. /* harmony import */ var _spacing__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./spacing */ "./node_modules/@material-ui/system/esm/spacing.js");
  4445. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "spacing", function() { return _spacing__WEBPACK_IMPORTED_MODULE_11__["default"]; });
  4446. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createUnarySpacing", function() { return _spacing__WEBPACK_IMPORTED_MODULE_11__["createUnarySpacing"]; });
  4447. /* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./style */ "./node_modules/@material-ui/system/esm/style.js");
  4448. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "style", function() { return _style__WEBPACK_IMPORTED_MODULE_12__["default"]; });
  4449. /* harmony import */ var _typography__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./typography */ "./node_modules/@material-ui/system/esm/typography.js");
  4450. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "typography", function() { return _typography__WEBPACK_IMPORTED_MODULE_13__["default"]; });
  4451. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "fontFamily", function() { return _typography__WEBPACK_IMPORTED_MODULE_13__["fontFamily"]; });
  4452. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "fontSize", function() { return _typography__WEBPACK_IMPORTED_MODULE_13__["fontSize"]; });
  4453. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "fontStyle", function() { return _typography__WEBPACK_IMPORTED_MODULE_13__["fontStyle"]; });
  4454. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "fontWeight", function() { return _typography__WEBPACK_IMPORTED_MODULE_13__["fontWeight"]; });
  4455. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "letterSpacing", function() { return _typography__WEBPACK_IMPORTED_MODULE_13__["letterSpacing"]; });
  4456. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "lineHeight", function() { return _typography__WEBPACK_IMPORTED_MODULE_13__["lineHeight"]; });
  4457. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "textAlign", function() { return _typography__WEBPACK_IMPORTED_MODULE_13__["textAlign"]; });
  4458. /** @license Material-UI v4.11.3
  4459. *
  4460. * This source code is licensed under the MIT license found in the
  4461. * LICENSE file in the root directory of this source tree.
  4462. */
  4463. /***/ }),
  4464. /***/ "./node_modules/@material-ui/system/esm/memoize.js":
  4465. /*!*********************************************************!*\
  4466. !*** ./node_modules/@material-ui/system/esm/memoize.js ***!
  4467. \*********************************************************/
  4468. /*! exports provided: default */
  4469. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  4470. "use strict";
  4471. __webpack_require__.r(__webpack_exports__);
  4472. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return memoize; });
  4473. function memoize(fn) {
  4474. var cache = {};
  4475. return function (arg) {
  4476. if (cache[arg] === undefined) {
  4477. cache[arg] = fn(arg);
  4478. }
  4479. return cache[arg];
  4480. };
  4481. }
  4482. /***/ }),
  4483. /***/ "./node_modules/@material-ui/system/esm/merge.js":
  4484. /*!*******************************************************!*\
  4485. !*** ./node_modules/@material-ui/system/esm/merge.js ***!
  4486. \*******************************************************/
  4487. /*! exports provided: default */
  4488. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  4489. "use strict";
  4490. __webpack_require__.r(__webpack_exports__);
  4491. /* harmony import */ var _material_ui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material-ui/utils */ "./node_modules/@material-ui/utils/esm/index.js");
  4492. function merge(acc, item) {
  4493. if (!item) {
  4494. return acc;
  4495. }
  4496. return Object(_material_ui_utils__WEBPACK_IMPORTED_MODULE_0__["deepmerge"])(acc, item, {
  4497. clone: false // No need to clone deep, it's way faster.
  4498. });
  4499. }
  4500. /* harmony default export */ __webpack_exports__["default"] = (merge);
  4501. /***/ }),
  4502. /***/ "./node_modules/@material-ui/system/esm/palette.js":
  4503. /*!*********************************************************!*\
  4504. !*** ./node_modules/@material-ui/system/esm/palette.js ***!
  4505. \*********************************************************/
  4506. /*! exports provided: color, bgcolor, default */
  4507. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  4508. "use strict";
  4509. __webpack_require__.r(__webpack_exports__);
  4510. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "color", function() { return color; });
  4511. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bgcolor", function() { return bgcolor; });
  4512. /* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./style */ "./node_modules/@material-ui/system/esm/style.js");
  4513. /* harmony import */ var _compose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./compose */ "./node_modules/@material-ui/system/esm/compose.js");
  4514. var color = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4515. prop: 'color',
  4516. themeKey: 'palette'
  4517. });
  4518. var bgcolor = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4519. prop: 'bgcolor',
  4520. cssProperty: 'backgroundColor',
  4521. themeKey: 'palette'
  4522. });
  4523. var palette = Object(_compose__WEBPACK_IMPORTED_MODULE_1__["default"])(color, bgcolor);
  4524. /* harmony default export */ __webpack_exports__["default"] = (palette);
  4525. /***/ }),
  4526. /***/ "./node_modules/@material-ui/system/esm/positions.js":
  4527. /*!***********************************************************!*\
  4528. !*** ./node_modules/@material-ui/system/esm/positions.js ***!
  4529. \***********************************************************/
  4530. /*! exports provided: position, zIndex, top, right, bottom, left, default */
  4531. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  4532. "use strict";
  4533. __webpack_require__.r(__webpack_exports__);
  4534. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "position", function() { return position; });
  4535. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "zIndex", function() { return zIndex; });
  4536. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "top", function() { return top; });
  4537. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "right", function() { return right; });
  4538. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bottom", function() { return bottom; });
  4539. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "left", function() { return left; });
  4540. /* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./style */ "./node_modules/@material-ui/system/esm/style.js");
  4541. /* harmony import */ var _compose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./compose */ "./node_modules/@material-ui/system/esm/compose.js");
  4542. var position = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4543. prop: 'position'
  4544. });
  4545. var zIndex = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4546. prop: 'zIndex',
  4547. themeKey: 'zIndex'
  4548. });
  4549. var top = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4550. prop: 'top'
  4551. });
  4552. var right = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4553. prop: 'right'
  4554. });
  4555. var bottom = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4556. prop: 'bottom'
  4557. });
  4558. var left = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4559. prop: 'left'
  4560. });
  4561. /* harmony default export */ __webpack_exports__["default"] = (Object(_compose__WEBPACK_IMPORTED_MODULE_1__["default"])(position, zIndex, top, right, bottom, left));
  4562. /***/ }),
  4563. /***/ "./node_modules/@material-ui/system/esm/responsivePropType.js":
  4564. /*!********************************************************************!*\
  4565. !*** ./node_modules/@material-ui/system/esm/responsivePropType.js ***!
  4566. \********************************************************************/
  4567. /*! exports provided: default */
  4568. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  4569. "use strict";
  4570. __webpack_require__.r(__webpack_exports__);
  4571. /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js");
  4572. /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
  4573. var responsivePropType = true ? prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.object, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.array]) : undefined;
  4574. /* harmony default export */ __webpack_exports__["default"] = (responsivePropType);
  4575. /***/ }),
  4576. /***/ "./node_modules/@material-ui/system/esm/shadows.js":
  4577. /*!*********************************************************!*\
  4578. !*** ./node_modules/@material-ui/system/esm/shadows.js ***!
  4579. \*********************************************************/
  4580. /*! exports provided: default */
  4581. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  4582. "use strict";
  4583. __webpack_require__.r(__webpack_exports__);
  4584. /* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./style */ "./node_modules/@material-ui/system/esm/style.js");
  4585. var boxShadow = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4586. prop: 'boxShadow',
  4587. themeKey: 'shadows'
  4588. });
  4589. /* harmony default export */ __webpack_exports__["default"] = (boxShadow);
  4590. /***/ }),
  4591. /***/ "./node_modules/@material-ui/system/esm/sizing.js":
  4592. /*!********************************************************!*\
  4593. !*** ./node_modules/@material-ui/system/esm/sizing.js ***!
  4594. \********************************************************/
  4595. /*! exports provided: width, maxWidth, minWidth, height, maxHeight, minHeight, sizeWidth, sizeHeight, boxSizing, default */
  4596. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  4597. "use strict";
  4598. __webpack_require__.r(__webpack_exports__);
  4599. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "width", function() { return width; });
  4600. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "maxWidth", function() { return maxWidth; });
  4601. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "minWidth", function() { return minWidth; });
  4602. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "height", function() { return height; });
  4603. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "maxHeight", function() { return maxHeight; });
  4604. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "minHeight", function() { return minHeight; });
  4605. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sizeWidth", function() { return sizeWidth; });
  4606. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sizeHeight", function() { return sizeHeight; });
  4607. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "boxSizing", function() { return boxSizing; });
  4608. /* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./style */ "./node_modules/@material-ui/system/esm/style.js");
  4609. /* harmony import */ var _compose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./compose */ "./node_modules/@material-ui/system/esm/compose.js");
  4610. function transform(value) {
  4611. return value <= 1 ? "".concat(value * 100, "%") : value;
  4612. }
  4613. var width = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4614. prop: 'width',
  4615. transform: transform
  4616. });
  4617. var maxWidth = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4618. prop: 'maxWidth',
  4619. transform: transform
  4620. });
  4621. var minWidth = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4622. prop: 'minWidth',
  4623. transform: transform
  4624. });
  4625. var height = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4626. prop: 'height',
  4627. transform: transform
  4628. });
  4629. var maxHeight = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4630. prop: 'maxHeight',
  4631. transform: transform
  4632. });
  4633. var minHeight = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4634. prop: 'minHeight',
  4635. transform: transform
  4636. });
  4637. var sizeWidth = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4638. prop: 'size',
  4639. cssProperty: 'width',
  4640. transform: transform
  4641. });
  4642. var sizeHeight = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4643. prop: 'size',
  4644. cssProperty: 'height',
  4645. transform: transform
  4646. });
  4647. var boxSizing = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4648. prop: 'boxSizing'
  4649. });
  4650. var sizing = Object(_compose__WEBPACK_IMPORTED_MODULE_1__["default"])(width, maxWidth, minWidth, height, maxHeight, minHeight, boxSizing);
  4651. /* harmony default export */ __webpack_exports__["default"] = (sizing);
  4652. /***/ }),
  4653. /***/ "./node_modules/@material-ui/system/esm/spacing.js":
  4654. /*!*********************************************************!*\
  4655. !*** ./node_modules/@material-ui/system/esm/spacing.js ***!
  4656. \*********************************************************/
  4657. /*! exports provided: createUnarySpacing, default */
  4658. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  4659. "use strict";
  4660. __webpack_require__.r(__webpack_exports__);
  4661. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createUnarySpacing", function() { return createUnarySpacing; });
  4662. /* harmony import */ var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/slicedToArray */ "./node_modules/@babel/runtime/helpers/esm/slicedToArray.js");
  4663. /* harmony import */ var _responsivePropType__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./responsivePropType */ "./node_modules/@material-ui/system/esm/responsivePropType.js");
  4664. /* harmony import */ var _breakpoints__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./breakpoints */ "./node_modules/@material-ui/system/esm/breakpoints.js");
  4665. /* harmony import */ var _merge__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./merge */ "./node_modules/@material-ui/system/esm/merge.js");
  4666. /* harmony import */ var _memoize__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./memoize */ "./node_modules/@material-ui/system/esm/memoize.js");
  4667. var properties = {
  4668. m: 'margin',
  4669. p: 'padding'
  4670. };
  4671. var directions = {
  4672. t: 'Top',
  4673. r: 'Right',
  4674. b: 'Bottom',
  4675. l: 'Left',
  4676. x: ['Left', 'Right'],
  4677. y: ['Top', 'Bottom']
  4678. };
  4679. var aliases = {
  4680. marginX: 'mx',
  4681. marginY: 'my',
  4682. paddingX: 'px',
  4683. paddingY: 'py'
  4684. }; // memoize() impact:
  4685. // From 300,000 ops/sec
  4686. // To 350,000 ops/sec
  4687. var getCssProperties = Object(_memoize__WEBPACK_IMPORTED_MODULE_4__["default"])(function (prop) {
  4688. // It's not a shorthand notation.
  4689. if (prop.length > 2) {
  4690. if (aliases[prop]) {
  4691. prop = aliases[prop];
  4692. } else {
  4693. return [prop];
  4694. }
  4695. }
  4696. var _prop$split = prop.split(''),
  4697. _prop$split2 = Object(_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__["default"])(_prop$split, 2),
  4698. a = _prop$split2[0],
  4699. b = _prop$split2[1];
  4700. var property = properties[a];
  4701. var direction = directions[b] || '';
  4702. return Array.isArray(direction) ? direction.map(function (dir) {
  4703. return property + dir;
  4704. }) : [property + direction];
  4705. });
  4706. var spacingKeys = ['m', 'mt', 'mr', 'mb', 'ml', 'mx', 'my', 'p', 'pt', 'pr', 'pb', 'pl', 'px', 'py', 'margin', 'marginTop', 'marginRight', 'marginBottom', 'marginLeft', 'marginX', 'marginY', 'padding', 'paddingTop', 'paddingRight', 'paddingBottom', 'paddingLeft', 'paddingX', 'paddingY'];
  4707. function createUnarySpacing(theme) {
  4708. var themeSpacing = theme.spacing || 8;
  4709. if (typeof themeSpacing === 'number') {
  4710. return function (abs) {
  4711. if (true) {
  4712. if (typeof abs !== 'number') {
  4713. console.error("Material-UI: Expected spacing argument to be a number, got ".concat(abs, "."));
  4714. }
  4715. }
  4716. return themeSpacing * abs;
  4717. };
  4718. }
  4719. if (Array.isArray(themeSpacing)) {
  4720. return function (abs) {
  4721. if (true) {
  4722. if (abs > themeSpacing.length - 1) {
  4723. console.error(["Material-UI: The value provided (".concat(abs, ") overflows."), "The supported values are: ".concat(JSON.stringify(themeSpacing), "."), "".concat(abs, " > ").concat(themeSpacing.length - 1, ", you need to add the missing values.")].join('\n'));
  4724. }
  4725. }
  4726. return themeSpacing[abs];
  4727. };
  4728. }
  4729. if (typeof themeSpacing === 'function') {
  4730. return themeSpacing;
  4731. }
  4732. if (true) {
  4733. console.error(["Material-UI: The `theme.spacing` value (".concat(themeSpacing, ") is invalid."), 'It should be a number, an array or a function.'].join('\n'));
  4734. }
  4735. return function () {
  4736. return undefined;
  4737. };
  4738. }
  4739. function getValue(transformer, propValue) {
  4740. if (typeof propValue === 'string' || propValue == null) {
  4741. return propValue;
  4742. }
  4743. var abs = Math.abs(propValue);
  4744. var transformed = transformer(abs);
  4745. if (propValue >= 0) {
  4746. return transformed;
  4747. }
  4748. if (typeof transformed === 'number') {
  4749. return -transformed;
  4750. }
  4751. return "-".concat(transformed);
  4752. }
  4753. function getStyleFromPropValue(cssProperties, transformer) {
  4754. return function (propValue) {
  4755. return cssProperties.reduce(function (acc, cssProperty) {
  4756. acc[cssProperty] = getValue(transformer, propValue);
  4757. return acc;
  4758. }, {});
  4759. };
  4760. }
  4761. function spacing(props) {
  4762. var theme = props.theme;
  4763. var transformer = createUnarySpacing(theme);
  4764. return Object.keys(props).map(function (prop) {
  4765. // Using a hash computation over an array iteration could be faster, but with only 28 items,
  4766. // it's doesn't worth the bundle size.
  4767. if (spacingKeys.indexOf(prop) === -1) {
  4768. return null;
  4769. }
  4770. var cssProperties = getCssProperties(prop);
  4771. var styleFromPropValue = getStyleFromPropValue(cssProperties, transformer);
  4772. var propValue = props[prop];
  4773. return Object(_breakpoints__WEBPACK_IMPORTED_MODULE_2__["handleBreakpoints"])(props, propValue, styleFromPropValue);
  4774. }).reduce(_merge__WEBPACK_IMPORTED_MODULE_3__["default"], {});
  4775. }
  4776. spacing.propTypes = true ? spacingKeys.reduce(function (obj, key) {
  4777. obj[key] = _responsivePropType__WEBPACK_IMPORTED_MODULE_1__["default"];
  4778. return obj;
  4779. }, {}) : undefined;
  4780. spacing.filterProps = spacingKeys;
  4781. /* harmony default export */ __webpack_exports__["default"] = (spacing);
  4782. /***/ }),
  4783. /***/ "./node_modules/@material-ui/system/esm/style.js":
  4784. /*!*******************************************************!*\
  4785. !*** ./node_modules/@material-ui/system/esm/style.js ***!
  4786. \*******************************************************/
  4787. /*! exports provided: default */
  4788. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  4789. "use strict";
  4790. __webpack_require__.r(__webpack_exports__);
  4791. /* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ "./node_modules/@babel/runtime/helpers/esm/defineProperty.js");
  4792. /* harmony import */ var _responsivePropType__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./responsivePropType */ "./node_modules/@material-ui/system/esm/responsivePropType.js");
  4793. /* harmony import */ var _breakpoints__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./breakpoints */ "./node_modules/@material-ui/system/esm/breakpoints.js");
  4794. function getPath(obj, path) {
  4795. if (!path || typeof path !== 'string') {
  4796. return null;
  4797. }
  4798. return path.split('.').reduce(function (acc, item) {
  4799. return acc && acc[item] ? acc[item] : null;
  4800. }, obj);
  4801. }
  4802. function style(options) {
  4803. var prop = options.prop,
  4804. _options$cssProperty = options.cssProperty,
  4805. cssProperty = _options$cssProperty === void 0 ? options.prop : _options$cssProperty,
  4806. themeKey = options.themeKey,
  4807. transform = options.transform;
  4808. var fn = function fn(props) {
  4809. if (props[prop] == null) {
  4810. return null;
  4811. }
  4812. var propValue = props[prop];
  4813. var theme = props.theme;
  4814. var themeMapping = getPath(theme, themeKey) || {};
  4815. var styleFromPropValue = function styleFromPropValue(propValueFinal) {
  4816. var value;
  4817. if (typeof themeMapping === 'function') {
  4818. value = themeMapping(propValueFinal);
  4819. } else if (Array.isArray(themeMapping)) {
  4820. value = themeMapping[propValueFinal] || propValueFinal;
  4821. } else {
  4822. value = getPath(themeMapping, propValueFinal) || propValueFinal;
  4823. if (transform) {
  4824. value = transform(value);
  4825. }
  4826. }
  4827. if (cssProperty === false) {
  4828. return value;
  4829. }
  4830. return Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])({}, cssProperty, value);
  4831. };
  4832. return Object(_breakpoints__WEBPACK_IMPORTED_MODULE_2__["handleBreakpoints"])(props, propValue, styleFromPropValue);
  4833. };
  4834. fn.propTypes = true ? Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])({}, prop, _responsivePropType__WEBPACK_IMPORTED_MODULE_1__["default"]) : undefined;
  4835. fn.filterProps = [prop];
  4836. return fn;
  4837. }
  4838. /* harmony default export */ __webpack_exports__["default"] = (style);
  4839. /***/ }),
  4840. /***/ "./node_modules/@material-ui/system/esm/typography.js":
  4841. /*!************************************************************!*\
  4842. !*** ./node_modules/@material-ui/system/esm/typography.js ***!
  4843. \************************************************************/
  4844. /*! exports provided: fontFamily, fontSize, fontStyle, fontWeight, letterSpacing, lineHeight, textAlign, default */
  4845. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  4846. "use strict";
  4847. __webpack_require__.r(__webpack_exports__);
  4848. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fontFamily", function() { return fontFamily; });
  4849. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fontSize", function() { return fontSize; });
  4850. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fontStyle", function() { return fontStyle; });
  4851. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fontWeight", function() { return fontWeight; });
  4852. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "letterSpacing", function() { return letterSpacing; });
  4853. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lineHeight", function() { return lineHeight; });
  4854. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "textAlign", function() { return textAlign; });
  4855. /* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./style */ "./node_modules/@material-ui/system/esm/style.js");
  4856. /* harmony import */ var _compose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./compose */ "./node_modules/@material-ui/system/esm/compose.js");
  4857. var fontFamily = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4858. prop: 'fontFamily',
  4859. themeKey: 'typography'
  4860. });
  4861. var fontSize = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4862. prop: 'fontSize',
  4863. themeKey: 'typography'
  4864. });
  4865. var fontStyle = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4866. prop: 'fontStyle',
  4867. themeKey: 'typography'
  4868. });
  4869. var fontWeight = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4870. prop: 'fontWeight',
  4871. themeKey: 'typography'
  4872. });
  4873. var letterSpacing = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4874. prop: 'letterSpacing'
  4875. });
  4876. var lineHeight = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4877. prop: 'lineHeight'
  4878. });
  4879. var textAlign = Object(_style__WEBPACK_IMPORTED_MODULE_0__["default"])({
  4880. prop: 'textAlign'
  4881. });
  4882. var typography = Object(_compose__WEBPACK_IMPORTED_MODULE_1__["default"])(fontFamily, fontSize, fontStyle, fontWeight, letterSpacing, lineHeight, textAlign);
  4883. /* harmony default export */ __webpack_exports__["default"] = (typography);
  4884. /***/ }),
  4885. /***/ "./node_modules/@material-ui/utils/esm/HTMLElementType.js":
  4886. /*!****************************************************************!*\
  4887. !*** ./node_modules/@material-ui/utils/esm/HTMLElementType.js ***!
  4888. \****************************************************************/
  4889. /*! exports provided: default */
  4890. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  4891. "use strict";
  4892. __webpack_require__.r(__webpack_exports__);
  4893. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return HTMLElementType; });
  4894. function HTMLElementType(props, propName, componentName, location, propFullName) {
  4895. if (false) {}
  4896. var propValue = props[propName];
  4897. var safePropName = propFullName || propName;
  4898. if (propValue == null) {
  4899. return null;
  4900. }
  4901. if (propValue && propValue.nodeType !== 1) {
  4902. return new Error("Invalid ".concat(location, " `").concat(safePropName, "` supplied to `").concat(componentName, "`. ") + "Expected an HTMLElement.");
  4903. }
  4904. return null;
  4905. }
  4906. /***/ }),
  4907. /***/ "./node_modules/@material-ui/utils/esm/chainPropTypes.js":
  4908. /*!***************************************************************!*\
  4909. !*** ./node_modules/@material-ui/utils/esm/chainPropTypes.js ***!
  4910. \***************************************************************/
  4911. /*! exports provided: default */
  4912. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  4913. "use strict";
  4914. __webpack_require__.r(__webpack_exports__);
  4915. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return chainPropTypes; });
  4916. function chainPropTypes(propType1, propType2) {
  4917. if (false) {}
  4918. return function validate() {
  4919. return propType1.apply(void 0, arguments) || propType2.apply(void 0, arguments);
  4920. };
  4921. }
  4922. /***/ }),
  4923. /***/ "./node_modules/@material-ui/utils/esm/deepmerge.js":
  4924. /*!**********************************************************!*\
  4925. !*** ./node_modules/@material-ui/utils/esm/deepmerge.js ***!
  4926. \**********************************************************/
  4927. /*! exports provided: isPlainObject, default */
  4928. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  4929. "use strict";
  4930. __webpack_require__.r(__webpack_exports__);
  4931. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isPlainObject", function() { return isPlainObject; });
  4932. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return deepmerge; });
  4933. /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
  4934. /* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ "./node_modules/@babel/runtime/helpers/esm/typeof.js");
  4935. function isPlainObject(item) {
  4936. return item && Object(_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_1__["default"])(item) === 'object' && item.constructor === Object;
  4937. }
  4938. function deepmerge(target, source) {
  4939. var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {
  4940. clone: true
  4941. };
  4942. var output = options.clone ? Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, target) : target;
  4943. if (isPlainObject(target) && isPlainObject(source)) {
  4944. Object.keys(source).forEach(function (key) {
  4945. // Avoid prototype pollution
  4946. if (key === '__proto__') {
  4947. return;
  4948. }
  4949. if (isPlainObject(source[key]) && key in target) {
  4950. output[key] = deepmerge(target[key], source[key], options);
  4951. } else {
  4952. output[key] = source[key];
  4953. }
  4954. });
  4955. }
  4956. return output;
  4957. }
  4958. /***/ }),
  4959. /***/ "./node_modules/@material-ui/utils/esm/elementAcceptingRef.js":
  4960. /*!********************************************************************!*\
  4961. !*** ./node_modules/@material-ui/utils/esm/elementAcceptingRef.js ***!
  4962. \********************************************************************/
  4963. /*! exports provided: default */
  4964. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  4965. "use strict";
  4966. __webpack_require__.r(__webpack_exports__);
  4967. /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js");
  4968. /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
  4969. /* harmony import */ var _chainPropTypes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./chainPropTypes */ "./node_modules/@material-ui/utils/esm/chainPropTypes.js");
  4970. function isClassComponent(elementType) {
  4971. // elementType.prototype?.isReactComponent
  4972. var _elementType$prototyp = elementType.prototype,
  4973. prototype = _elementType$prototyp === void 0 ? {} : _elementType$prototyp;
  4974. return Boolean(prototype.isReactComponent);
  4975. }
  4976. function acceptingRef(props, propName, componentName, location, propFullName) {
  4977. var element = props[propName];
  4978. var safePropName = propFullName || propName;
  4979. if (element == null) {
  4980. return null;
  4981. }
  4982. var warningHint;
  4983. var elementType = element.type;
  4984. /**
  4985. * Blacklisting instead of whitelisting
  4986. *
  4987. * Blacklisting will miss some components, such as React.Fragment. Those will at least
  4988. * trigger a warning in React.
  4989. * We can't whitelist because there is no safe way to detect React.forwardRef
  4990. * or class components. "Safe" means there's no public API.
  4991. *
  4992. */
  4993. if (typeof elementType === 'function' && !isClassComponent(elementType)) {
  4994. warningHint = 'Did you accidentally use a plain function component for an element instead?';
  4995. }
  4996. if (warningHint !== undefined) {
  4997. return new Error("Invalid ".concat(location, " `").concat(safePropName, "` supplied to `").concat(componentName, "`. ") + "Expected an element that can hold a ref. ".concat(warningHint, " ") + 'For more information see https://material-ui.com/r/caveat-with-refs-guide');
  4998. }
  4999. return null;
  5000. }
  5001. var elementAcceptingRef = Object(_chainPropTypes__WEBPACK_IMPORTED_MODULE_1__["default"])(prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.element, acceptingRef);
  5002. elementAcceptingRef.isRequired = Object(_chainPropTypes__WEBPACK_IMPORTED_MODULE_1__["default"])(prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.element.isRequired, acceptingRef);
  5003. /* harmony default export */ __webpack_exports__["default"] = (elementAcceptingRef);
  5004. /***/ }),
  5005. /***/ "./node_modules/@material-ui/utils/esm/elementTypeAcceptingRef.js":
  5006. /*!************************************************************************!*\
  5007. !*** ./node_modules/@material-ui/utils/esm/elementTypeAcceptingRef.js ***!
  5008. \************************************************************************/
  5009. /*! exports provided: default */
  5010. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  5011. "use strict";
  5012. __webpack_require__.r(__webpack_exports__);
  5013. /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js");
  5014. /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
  5015. /* harmony import */ var _chainPropTypes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./chainPropTypes */ "./node_modules/@material-ui/utils/esm/chainPropTypes.js");
  5016. function isClassComponent(elementType) {
  5017. // elementType.prototype?.isReactComponent
  5018. var _elementType$prototyp = elementType.prototype,
  5019. prototype = _elementType$prototyp === void 0 ? {} : _elementType$prototyp;
  5020. return Boolean(prototype.isReactComponent);
  5021. }
  5022. function elementTypeAcceptingRef(props, propName, componentName, location, propFullName) {
  5023. var propValue = props[propName];
  5024. var safePropName = propFullName || propName;
  5025. if (propValue == null) {
  5026. return null;
  5027. }
  5028. var warningHint;
  5029. /**
  5030. * Blacklisting instead of whitelisting
  5031. *
  5032. * Blacklisting will miss some components, such as React.Fragment. Those will at least
  5033. * trigger a warning in React.
  5034. * We can't whitelist because there is no safe way to detect React.forwardRef
  5035. * or class components. "Safe" means there's no public API.
  5036. *
  5037. */
  5038. if (typeof propValue === 'function' && !isClassComponent(propValue)) {
  5039. warningHint = 'Did you accidentally provide a plain function component instead?';
  5040. }
  5041. if (warningHint !== undefined) {
  5042. return new Error("Invalid ".concat(location, " `").concat(safePropName, "` supplied to `").concat(componentName, "`. ") + "Expected an element type that can hold a ref. ".concat(warningHint, " ") + 'For more information see https://material-ui.com/r/caveat-with-refs-guide');
  5043. }
  5044. return null;
  5045. }
  5046. /* harmony default export */ __webpack_exports__["default"] = (Object(_chainPropTypes__WEBPACK_IMPORTED_MODULE_1__["default"])(prop_types__WEBPACK_IMPORTED_MODULE_0__["elementType"], elementTypeAcceptingRef));
  5047. /***/ }),
  5048. /***/ "./node_modules/@material-ui/utils/esm/exactProp.js":
  5049. /*!**********************************************************!*\
  5050. !*** ./node_modules/@material-ui/utils/esm/exactProp.js ***!
  5051. \**********************************************************/
  5052. /*! exports provided: specialProperty, default */
  5053. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  5054. "use strict";
  5055. __webpack_require__.r(__webpack_exports__);
  5056. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "specialProperty", function() { return specialProperty; });
  5057. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return exactProp; });
  5058. /* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ "./node_modules/@babel/runtime/helpers/esm/defineProperty.js");
  5059. /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
  5060. // This module is based on https://github.com/airbnb/prop-types-exact repository.
  5061. // However, in order to reduce the number of dependencies and to remove some extra safe checks
  5062. // the module was forked.
  5063. // Only exported for test purposes.
  5064. var specialProperty = "exact-prop: \u200B";
  5065. function exactProp(propTypes) {
  5066. if (false) {}
  5067. return Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, propTypes, Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])({}, specialProperty, function (props) {
  5068. var unsupportedProps = Object.keys(props).filter(function (prop) {
  5069. return !propTypes.hasOwnProperty(prop);
  5070. });
  5071. if (unsupportedProps.length > 0) {
  5072. return new Error("The following props are not supported: ".concat(unsupportedProps.map(function (prop) {
  5073. return "`".concat(prop, "`");
  5074. }).join(', '), ". Please remove them."));
  5075. }
  5076. return null;
  5077. }));
  5078. }
  5079. /***/ }),
  5080. /***/ "./node_modules/@material-ui/utils/esm/formatMuiErrorMessage.js":
  5081. /*!**********************************************************************!*\
  5082. !*** ./node_modules/@material-ui/utils/esm/formatMuiErrorMessage.js ***!
  5083. \**********************************************************************/
  5084. /*! exports provided: default */
  5085. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  5086. "use strict";
  5087. __webpack_require__.r(__webpack_exports__);
  5088. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return formatMuiErrorMessage; });
  5089. /**
  5090. * WARNING: Don't import this directly.
  5091. * Use `MuiError` from `@material-ui/utils/macros/MuiError.macro` instead.
  5092. * @param {number} code
  5093. */
  5094. function formatMuiErrorMessage(code) {
  5095. // Apply babel-plugin-transform-template-literals in loose mode
  5096. // loose mode is safe iff we're concatenating primitives
  5097. // see https://babeljs.io/docs/en/babel-plugin-transform-template-literals#loose
  5098. /* eslint-disable prefer-template */
  5099. var url = 'https://material-ui.com/production-error/?code=' + code;
  5100. for (var i = 1; i < arguments.length; i += 1) {
  5101. // rest params over-transpile for this case
  5102. // eslint-disable-next-line prefer-rest-params
  5103. url += '&args[]=' + encodeURIComponent(arguments[i]);
  5104. }
  5105. return 'Minified Material-UI error #' + code + '; visit ' + url + ' for the full message.';
  5106. /* eslint-enable prefer-template */
  5107. }
  5108. /***/ }),
  5109. /***/ "./node_modules/@material-ui/utils/esm/getDisplayName.js":
  5110. /*!***************************************************************!*\
  5111. !*** ./node_modules/@material-ui/utils/esm/getDisplayName.js ***!
  5112. \***************************************************************/
  5113. /*! exports provided: getFunctionName, default */
  5114. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  5115. "use strict";
  5116. __webpack_require__.r(__webpack_exports__);
  5117. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getFunctionName", function() { return getFunctionName; });
  5118. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return getDisplayName; });
  5119. /* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ "./node_modules/@babel/runtime/helpers/esm/typeof.js");
  5120. /* harmony import */ var react_is__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-is */ "./node_modules/@material-ui/utils/node_modules/react-is/index.js");
  5121. /* harmony import */ var react_is__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_is__WEBPACK_IMPORTED_MODULE_1__);
  5122. // Simplified polyfill for IE 11 support
  5123. // https://github.com/JamesMGreene/Function.name/blob/58b314d4a983110c3682f1228f845d39ccca1817/Function.name.js#L3
  5124. var fnNameMatchRegex = /^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;
  5125. function getFunctionName(fn) {
  5126. var match = "".concat(fn).match(fnNameMatchRegex);
  5127. var name = match && match[1];
  5128. return name || '';
  5129. }
  5130. /**
  5131. * @param {function} Component
  5132. * @param {string} fallback
  5133. * @returns {string | undefined}
  5134. */
  5135. function getFunctionComponentName(Component) {
  5136. var fallback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
  5137. return Component.displayName || Component.name || getFunctionName(Component) || fallback;
  5138. }
  5139. function getWrappedName(outerType, innerType, wrapperName) {
  5140. var functionName = getFunctionComponentName(innerType);
  5141. return outerType.displayName || (functionName !== '' ? "".concat(wrapperName, "(").concat(functionName, ")") : wrapperName);
  5142. }
  5143. /**
  5144. * cherry-pick from
  5145. * https://github.com/facebook/react/blob/769b1f270e1251d9dbdce0fcbd9e92e502d059b8/packages/shared/getComponentName.js
  5146. * originally forked from recompose/getDisplayName with added IE 11 support
  5147. *
  5148. * @param {React.ReactType} Component
  5149. * @returns {string | undefined}
  5150. */
  5151. function getDisplayName(Component) {
  5152. if (Component == null) {
  5153. return undefined;
  5154. }
  5155. if (typeof Component === 'string') {
  5156. return Component;
  5157. }
  5158. if (typeof Component === 'function') {
  5159. return getFunctionComponentName(Component, 'Component');
  5160. }
  5161. if (Object(_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__["default"])(Component) === 'object') {
  5162. switch (Component.$$typeof) {
  5163. case react_is__WEBPACK_IMPORTED_MODULE_1__["ForwardRef"]:
  5164. return getWrappedName(Component, Component.render, 'ForwardRef');
  5165. case react_is__WEBPACK_IMPORTED_MODULE_1__["Memo"]:
  5166. return getWrappedName(Component, Component.type, 'memo');
  5167. default:
  5168. return undefined;
  5169. }
  5170. }
  5171. return undefined;
  5172. }
  5173. /***/ }),
  5174. /***/ "./node_modules/@material-ui/utils/esm/index.js":
  5175. /*!******************************************************!*\
  5176. !*** ./node_modules/@material-ui/utils/esm/index.js ***!
  5177. \******************************************************/
  5178. /*! exports provided: chainPropTypes, deepmerge, elementAcceptingRef, elementTypeAcceptingRef, exactProp, formatMuiErrorMessage, getDisplayName, HTMLElementType, ponyfillGlobal, refType */
  5179. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  5180. "use strict";
  5181. __webpack_require__.r(__webpack_exports__);
  5182. /* harmony import */ var _chainPropTypes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chainPropTypes */ "./node_modules/@material-ui/utils/esm/chainPropTypes.js");
  5183. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "chainPropTypes", function() { return _chainPropTypes__WEBPACK_IMPORTED_MODULE_0__["default"]; });
  5184. /* harmony import */ var _deepmerge__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./deepmerge */ "./node_modules/@material-ui/utils/esm/deepmerge.js");
  5185. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "deepmerge", function() { return _deepmerge__WEBPACK_IMPORTED_MODULE_1__["default"]; });
  5186. /* harmony import */ var _elementAcceptingRef__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./elementAcceptingRef */ "./node_modules/@material-ui/utils/esm/elementAcceptingRef.js");
  5187. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "elementAcceptingRef", function() { return _elementAcceptingRef__WEBPACK_IMPORTED_MODULE_2__["default"]; });
  5188. /* harmony import */ var _elementTypeAcceptingRef__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./elementTypeAcceptingRef */ "./node_modules/@material-ui/utils/esm/elementTypeAcceptingRef.js");
  5189. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "elementTypeAcceptingRef", function() { return _elementTypeAcceptingRef__WEBPACK_IMPORTED_MODULE_3__["default"]; });
  5190. /* harmony import */ var _exactProp__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./exactProp */ "./node_modules/@material-ui/utils/esm/exactProp.js");
  5191. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "exactProp", function() { return _exactProp__WEBPACK_IMPORTED_MODULE_4__["default"]; });
  5192. /* harmony import */ var _formatMuiErrorMessage__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./formatMuiErrorMessage */ "./node_modules/@material-ui/utils/esm/formatMuiErrorMessage.js");
  5193. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "formatMuiErrorMessage", function() { return _formatMuiErrorMessage__WEBPACK_IMPORTED_MODULE_5__["default"]; });
  5194. /* harmony import */ var _getDisplayName__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./getDisplayName */ "./node_modules/@material-ui/utils/esm/getDisplayName.js");
  5195. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "getDisplayName", function() { return _getDisplayName__WEBPACK_IMPORTED_MODULE_6__["default"]; });
  5196. /* harmony import */ var _HTMLElementType__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./HTMLElementType */ "./node_modules/@material-ui/utils/esm/HTMLElementType.js");
  5197. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "HTMLElementType", function() { return _HTMLElementType__WEBPACK_IMPORTED_MODULE_7__["default"]; });
  5198. /* harmony import */ var _ponyfillGlobal__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./ponyfillGlobal */ "./node_modules/@material-ui/utils/esm/ponyfillGlobal.js");
  5199. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ponyfillGlobal", function() { return _ponyfillGlobal__WEBPACK_IMPORTED_MODULE_8__["default"]; });
  5200. /* harmony import */ var _refType__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./refType */ "./node_modules/@material-ui/utils/esm/refType.js");
  5201. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "refType", function() { return _refType__WEBPACK_IMPORTED_MODULE_9__["default"]; });
  5202. /** @license Material-UI v4.11.2
  5203. *
  5204. * This source code is licensed under the MIT license found in the
  5205. * LICENSE file in the root directory of this source tree.
  5206. */
  5207. /***/ }),
  5208. /***/ "./node_modules/@material-ui/utils/esm/ponyfillGlobal.js":
  5209. /*!***************************************************************!*\
  5210. !*** ./node_modules/@material-ui/utils/esm/ponyfillGlobal.js ***!
  5211. \***************************************************************/
  5212. /*! exports provided: default */
  5213. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  5214. "use strict";
  5215. __webpack_require__.r(__webpack_exports__);
  5216. /* eslint-disable */
  5217. // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
  5218. /* harmony default export */ __webpack_exports__["default"] = (typeof window != 'undefined' && window.Math == Math ? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')());
  5219. /***/ }),
  5220. /***/ "./node_modules/@material-ui/utils/esm/refType.js":
  5221. /*!********************************************************!*\
  5222. !*** ./node_modules/@material-ui/utils/esm/refType.js ***!
  5223. \********************************************************/
  5224. /*! exports provided: default */
  5225. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  5226. "use strict";
  5227. __webpack_require__.r(__webpack_exports__);
  5228. /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js");
  5229. /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
  5230. var refType = prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.func, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.object]);
  5231. /* harmony default export */ __webpack_exports__["default"] = (refType);
  5232. /***/ }),
  5233. /***/ "./node_modules/@material-ui/utils/node_modules/react-is/cjs/react-is.development.js":
  5234. /*!*******************************************************************************************!*\
  5235. !*** ./node_modules/@material-ui/utils/node_modules/react-is/cjs/react-is.development.js ***!
  5236. \*******************************************************************************************/
  5237. /*! no static exports found */
  5238. /***/ (function(module, exports, __webpack_require__) {
  5239. "use strict";
  5240. /** @license React v17.0.2
  5241. * react-is.development.js
  5242. *
  5243. * Copyright (c) Facebook, Inc. and its affiliates.
  5244. *
  5245. * This source code is licensed under the MIT license found in the
  5246. * LICENSE file in the root directory of this source tree.
  5247. */
  5248. if (true) {
  5249. (function() {
  5250. 'use strict';
  5251. // ATTENTION
  5252. // When adding new symbols to this file,
  5253. // Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'
  5254. // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
  5255. // nor polyfill, then a plain number is used for performance.
  5256. var REACT_ELEMENT_TYPE = 0xeac7;
  5257. var REACT_PORTAL_TYPE = 0xeaca;
  5258. var REACT_FRAGMENT_TYPE = 0xeacb;
  5259. var REACT_STRICT_MODE_TYPE = 0xeacc;
  5260. var REACT_PROFILER_TYPE = 0xead2;
  5261. var REACT_PROVIDER_TYPE = 0xeacd;
  5262. var REACT_CONTEXT_TYPE = 0xeace;
  5263. var REACT_FORWARD_REF_TYPE = 0xead0;
  5264. var REACT_SUSPENSE_TYPE = 0xead1;
  5265. var REACT_SUSPENSE_LIST_TYPE = 0xead8;
  5266. var REACT_MEMO_TYPE = 0xead3;
  5267. var REACT_LAZY_TYPE = 0xead4;
  5268. var REACT_BLOCK_TYPE = 0xead9;
  5269. var REACT_SERVER_BLOCK_TYPE = 0xeada;
  5270. var REACT_FUNDAMENTAL_TYPE = 0xead5;
  5271. var REACT_SCOPE_TYPE = 0xead7;
  5272. var REACT_OPAQUE_ID_TYPE = 0xeae0;
  5273. var REACT_DEBUG_TRACING_MODE_TYPE = 0xeae1;
  5274. var REACT_OFFSCREEN_TYPE = 0xeae2;
  5275. var REACT_LEGACY_HIDDEN_TYPE = 0xeae3;
  5276. if (typeof Symbol === 'function' && Symbol.for) {
  5277. var symbolFor = Symbol.for;
  5278. REACT_ELEMENT_TYPE = symbolFor('react.element');
  5279. REACT_PORTAL_TYPE = symbolFor('react.portal');
  5280. REACT_FRAGMENT_TYPE = symbolFor('react.fragment');
  5281. REACT_STRICT_MODE_TYPE = symbolFor('react.strict_mode');
  5282. REACT_PROFILER_TYPE = symbolFor('react.profiler');
  5283. REACT_PROVIDER_TYPE = symbolFor('react.provider');
  5284. REACT_CONTEXT_TYPE = symbolFor('react.context');
  5285. REACT_FORWARD_REF_TYPE = symbolFor('react.forward_ref');
  5286. REACT_SUSPENSE_TYPE = symbolFor('react.suspense');
  5287. REACT_SUSPENSE_LIST_TYPE = symbolFor('react.suspense_list');
  5288. REACT_MEMO_TYPE = symbolFor('react.memo');
  5289. REACT_LAZY_TYPE = symbolFor('react.lazy');
  5290. REACT_BLOCK_TYPE = symbolFor('react.block');
  5291. REACT_SERVER_BLOCK_TYPE = symbolFor('react.server.block');
  5292. REACT_FUNDAMENTAL_TYPE = symbolFor('react.fundamental');
  5293. REACT_SCOPE_TYPE = symbolFor('react.scope');
  5294. REACT_OPAQUE_ID_TYPE = symbolFor('react.opaque.id');
  5295. REACT_DEBUG_TRACING_MODE_TYPE = symbolFor('react.debug_trace_mode');
  5296. REACT_OFFSCREEN_TYPE = symbolFor('react.offscreen');
  5297. REACT_LEGACY_HIDDEN_TYPE = symbolFor('react.legacy_hidden');
  5298. }
  5299. // Filter certain DOM attributes (e.g. src, href) if their values are empty strings.
  5300. var enableScopeAPI = false; // Experimental Create Event Handle API.
  5301. function isValidElementType(type) {
  5302. if (typeof type === 'string' || typeof type === 'function') {
  5303. return true;
  5304. } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).
  5305. if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || type === REACT_DEBUG_TRACING_MODE_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || type === REACT_LEGACY_HIDDEN_TYPE || enableScopeAPI ) {
  5306. return true;
  5307. }
  5308. if (typeof type === 'object' && type !== null) {
  5309. if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_BLOCK_TYPE || type[0] === REACT_SERVER_BLOCK_TYPE) {
  5310. return true;
  5311. }
  5312. }
  5313. return false;
  5314. }
  5315. function typeOf(object) {
  5316. if (typeof object === 'object' && object !== null) {
  5317. var $$typeof = object.$$typeof;
  5318. switch ($$typeof) {
  5319. case REACT_ELEMENT_TYPE:
  5320. var type = object.type;
  5321. switch (type) {
  5322. case REACT_FRAGMENT_TYPE:
  5323. case REACT_PROFILER_TYPE:
  5324. case REACT_STRICT_MODE_TYPE:
  5325. case REACT_SUSPENSE_TYPE:
  5326. case REACT_SUSPENSE_LIST_TYPE:
  5327. return type;
  5328. default:
  5329. var $$typeofType = type && type.$$typeof;
  5330. switch ($$typeofType) {
  5331. case REACT_CONTEXT_TYPE:
  5332. case REACT_FORWARD_REF_TYPE:
  5333. case REACT_LAZY_TYPE:
  5334. case REACT_MEMO_TYPE:
  5335. case REACT_PROVIDER_TYPE:
  5336. return $$typeofType;
  5337. default:
  5338. return $$typeof;
  5339. }
  5340. }
  5341. case REACT_PORTAL_TYPE:
  5342. return $$typeof;
  5343. }
  5344. }
  5345. return undefined;
  5346. }
  5347. var ContextConsumer = REACT_CONTEXT_TYPE;
  5348. var ContextProvider = REACT_PROVIDER_TYPE;
  5349. var Element = REACT_ELEMENT_TYPE;
  5350. var ForwardRef = REACT_FORWARD_REF_TYPE;
  5351. var Fragment = REACT_FRAGMENT_TYPE;
  5352. var Lazy = REACT_LAZY_TYPE;
  5353. var Memo = REACT_MEMO_TYPE;
  5354. var Portal = REACT_PORTAL_TYPE;
  5355. var Profiler = REACT_PROFILER_TYPE;
  5356. var StrictMode = REACT_STRICT_MODE_TYPE;
  5357. var Suspense = REACT_SUSPENSE_TYPE;
  5358. var hasWarnedAboutDeprecatedIsAsyncMode = false;
  5359. var hasWarnedAboutDeprecatedIsConcurrentMode = false; // AsyncMode should be deprecated
  5360. function isAsyncMode(object) {
  5361. {
  5362. if (!hasWarnedAboutDeprecatedIsAsyncMode) {
  5363. hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
  5364. console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 18+.');
  5365. }
  5366. }
  5367. return false;
  5368. }
  5369. function isConcurrentMode(object) {
  5370. {
  5371. if (!hasWarnedAboutDeprecatedIsConcurrentMode) {
  5372. hasWarnedAboutDeprecatedIsConcurrentMode = true; // Using console['warn'] to evade Babel and ESLint
  5373. console['warn']('The ReactIs.isConcurrentMode() alias has been deprecated, ' + 'and will be removed in React 18+.');
  5374. }
  5375. }
  5376. return false;
  5377. }
  5378. function isContextConsumer(object) {
  5379. return typeOf(object) === REACT_CONTEXT_TYPE;
  5380. }
  5381. function isContextProvider(object) {
  5382. return typeOf(object) === REACT_PROVIDER_TYPE;
  5383. }
  5384. function isElement(object) {
  5385. return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
  5386. }
  5387. function isForwardRef(object) {
  5388. return typeOf(object) === REACT_FORWARD_REF_TYPE;
  5389. }
  5390. function isFragment(object) {
  5391. return typeOf(object) === REACT_FRAGMENT_TYPE;
  5392. }
  5393. function isLazy(object) {
  5394. return typeOf(object) === REACT_LAZY_TYPE;
  5395. }
  5396. function isMemo(object) {
  5397. return typeOf(object) === REACT_MEMO_TYPE;
  5398. }
  5399. function isPortal(object) {
  5400. return typeOf(object) === REACT_PORTAL_TYPE;
  5401. }
  5402. function isProfiler(object) {
  5403. return typeOf(object) === REACT_PROFILER_TYPE;
  5404. }
  5405. function isStrictMode(object) {
  5406. return typeOf(object) === REACT_STRICT_MODE_TYPE;
  5407. }
  5408. function isSuspense(object) {
  5409. return typeOf(object) === REACT_SUSPENSE_TYPE;
  5410. }
  5411. exports.ContextConsumer = ContextConsumer;
  5412. exports.ContextProvider = ContextProvider;
  5413. exports.Element = Element;
  5414. exports.ForwardRef = ForwardRef;
  5415. exports.Fragment = Fragment;
  5416. exports.Lazy = Lazy;
  5417. exports.Memo = Memo;
  5418. exports.Portal = Portal;
  5419. exports.Profiler = Profiler;
  5420. exports.StrictMode = StrictMode;
  5421. exports.Suspense = Suspense;
  5422. exports.isAsyncMode = isAsyncMode;
  5423. exports.isConcurrentMode = isConcurrentMode;
  5424. exports.isContextConsumer = isContextConsumer;
  5425. exports.isContextProvider = isContextProvider;
  5426. exports.isElement = isElement;
  5427. exports.isForwardRef = isForwardRef;
  5428. exports.isFragment = isFragment;
  5429. exports.isLazy = isLazy;
  5430. exports.isMemo = isMemo;
  5431. exports.isPortal = isPortal;
  5432. exports.isProfiler = isProfiler;
  5433. exports.isStrictMode = isStrictMode;
  5434. exports.isSuspense = isSuspense;
  5435. exports.isValidElementType = isValidElementType;
  5436. exports.typeOf = typeOf;
  5437. })();
  5438. }
  5439. /***/ }),
  5440. /***/ "./node_modules/@material-ui/utils/node_modules/react-is/index.js":
  5441. /*!************************************************************************!*\
  5442. !*** ./node_modules/@material-ui/utils/node_modules/react-is/index.js ***!
  5443. \************************************************************************/
  5444. /*! no static exports found */
  5445. /***/ (function(module, exports, __webpack_require__) {
  5446. "use strict";
  5447. if (false) {} else {
  5448. module.exports = __webpack_require__(/*! ./cjs/react-is.development.js */ "./node_modules/@material-ui/utils/node_modules/react-is/cjs/react-is.development.js");
  5449. }
  5450. /***/ }),
  5451. /***/ "./node_modules/clsx/dist/clsx.m.js":
  5452. /*!******************************************!*\
  5453. !*** ./node_modules/clsx/dist/clsx.m.js ***!
  5454. \******************************************/
  5455. /*! exports provided: default */
  5456. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  5457. "use strict";
  5458. __webpack_require__.r(__webpack_exports__);
  5459. function toVal(mix) {
  5460. var k, y, str='';
  5461. if (typeof mix === 'string' || typeof mix === 'number') {
  5462. str += mix;
  5463. } else if (typeof mix === 'object') {
  5464. if (Array.isArray(mix)) {
  5465. for (k=0; k < mix.length; k++) {
  5466. if (mix[k]) {
  5467. if (y = toVal(mix[k])) {
  5468. str && (str += ' ');
  5469. str += y;
  5470. }
  5471. }
  5472. }
  5473. } else {
  5474. for (k in mix) {
  5475. if (mix[k]) {
  5476. str && (str += ' ');
  5477. str += k;
  5478. }
  5479. }
  5480. }
  5481. }
  5482. return str;
  5483. }
  5484. /* harmony default export */ __webpack_exports__["default"] = (function () {
  5485. var i=0, tmp, x, str='';
  5486. while (i < arguments.length) {
  5487. if (tmp = arguments[i++]) {
  5488. if (x = toVal(tmp)) {
  5489. str && (str += ' ');
  5490. str += x
  5491. }
  5492. }
  5493. }
  5494. return str;
  5495. });
  5496. /***/ }),
  5497. /***/ "./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js":
  5498. /*!**********************************************************************************!*\
  5499. !*** ./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js ***!
  5500. \**********************************************************************************/
  5501. /*! no static exports found */
  5502. /***/ (function(module, exports, __webpack_require__) {
  5503. "use strict";
  5504. var reactIs = __webpack_require__(/*! react-is */ "./node_modules/react-is/index.js");
  5505. /**
  5506. * Copyright 2015, Yahoo! Inc.
  5507. * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
  5508. */
  5509. var REACT_STATICS = {
  5510. childContextTypes: true,
  5511. contextType: true,
  5512. contextTypes: true,
  5513. defaultProps: true,
  5514. displayName: true,
  5515. getDefaultProps: true,
  5516. getDerivedStateFromError: true,
  5517. getDerivedStateFromProps: true,
  5518. mixins: true,
  5519. propTypes: true,
  5520. type: true
  5521. };
  5522. var KNOWN_STATICS = {
  5523. name: true,
  5524. length: true,
  5525. prototype: true,
  5526. caller: true,
  5527. callee: true,
  5528. arguments: true,
  5529. arity: true
  5530. };
  5531. var FORWARD_REF_STATICS = {
  5532. '$$typeof': true,
  5533. render: true,
  5534. defaultProps: true,
  5535. displayName: true,
  5536. propTypes: true
  5537. };
  5538. var MEMO_STATICS = {
  5539. '$$typeof': true,
  5540. compare: true,
  5541. defaultProps: true,
  5542. displayName: true,
  5543. propTypes: true,
  5544. type: true
  5545. };
  5546. var TYPE_STATICS = {};
  5547. TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
  5548. TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;
  5549. function getStatics(component) {
  5550. // React v16.11 and below
  5551. if (reactIs.isMemo(component)) {
  5552. return MEMO_STATICS;
  5553. } // React v16.12 and above
  5554. return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;
  5555. }
  5556. var defineProperty = Object.defineProperty;
  5557. var getOwnPropertyNames = Object.getOwnPropertyNames;
  5558. var getOwnPropertySymbols = Object.getOwnPropertySymbols;
  5559. var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
  5560. var getPrototypeOf = Object.getPrototypeOf;
  5561. var objectPrototype = Object.prototype;
  5562. function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
  5563. if (typeof sourceComponent !== 'string') {
  5564. // don't hoist over string (html) components
  5565. if (objectPrototype) {
  5566. var inheritedComponent = getPrototypeOf(sourceComponent);
  5567. if (inheritedComponent && inheritedComponent !== objectPrototype) {
  5568. hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);
  5569. }
  5570. }
  5571. var keys = getOwnPropertyNames(sourceComponent);
  5572. if (getOwnPropertySymbols) {
  5573. keys = keys.concat(getOwnPropertySymbols(sourceComponent));
  5574. }
  5575. var targetStatics = getStatics(targetComponent);
  5576. var sourceStatics = getStatics(sourceComponent);
  5577. for (var i = 0; i < keys.length; ++i) {
  5578. var key = keys[i];
  5579. if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {
  5580. var descriptor = getOwnPropertyDescriptor(sourceComponent, key);
  5581. try {
  5582. // Avoid failures from read-only properties
  5583. defineProperty(targetComponent, key, descriptor);
  5584. } catch (e) {}
  5585. }
  5586. }
  5587. }
  5588. return targetComponent;
  5589. }
  5590. module.exports = hoistNonReactStatics;
  5591. /***/ }),
  5592. /***/ "./node_modules/hyphenate-style-name/index.js":
  5593. /*!****************************************************!*\
  5594. !*** ./node_modules/hyphenate-style-name/index.js ***!
  5595. \****************************************************/
  5596. /*! exports provided: default */
  5597. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  5598. "use strict";
  5599. __webpack_require__.r(__webpack_exports__);
  5600. /* eslint-disable no-var, prefer-template */
  5601. var uppercasePattern = /[A-Z]/g
  5602. var msPattern = /^ms-/
  5603. var cache = {}
  5604. function toHyphenLower(match) {
  5605. return '-' + match.toLowerCase()
  5606. }
  5607. function hyphenateStyleName(name) {
  5608. if (cache.hasOwnProperty(name)) {
  5609. return cache[name]
  5610. }
  5611. var hName = name.replace(uppercasePattern, toHyphenLower)
  5612. return (cache[name] = msPattern.test(hName) ? '-' + hName : hName)
  5613. }
  5614. /* harmony default export */ __webpack_exports__["default"] = (hyphenateStyleName);
  5615. /***/ }),
  5616. /***/ "./node_modules/is-in-browser/dist/module.js":
  5617. /*!***************************************************!*\
  5618. !*** ./node_modules/is-in-browser/dist/module.js ***!
  5619. \***************************************************/
  5620. /*! exports provided: isBrowser, default */
  5621. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  5622. "use strict";
  5623. __webpack_require__.r(__webpack_exports__);
  5624. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isBrowser", function() { return isBrowser; });
  5625. var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
  5626. var isBrowser = (typeof window === "undefined" ? "undefined" : _typeof(window)) === "object" && (typeof document === "undefined" ? "undefined" : _typeof(document)) === 'object' && document.nodeType === 9;
  5627. /* harmony default export */ __webpack_exports__["default"] = (isBrowser);
  5628. /***/ }),
  5629. /***/ "./node_modules/jss-plugin-camel-case/dist/jss-plugin-camel-case.esm.js":
  5630. /*!******************************************************************************!*\
  5631. !*** ./node_modules/jss-plugin-camel-case/dist/jss-plugin-camel-case.esm.js ***!
  5632. \******************************************************************************/
  5633. /*! exports provided: default */
  5634. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  5635. "use strict";
  5636. __webpack_require__.r(__webpack_exports__);
  5637. /* harmony import */ var hyphenate_style_name__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! hyphenate-style-name */ "./node_modules/hyphenate-style-name/index.js");
  5638. /**
  5639. * Convert camel cased property names to dash separated.
  5640. *
  5641. * @param {Object} style
  5642. * @return {Object}
  5643. */
  5644. function convertCase(style) {
  5645. var converted = {};
  5646. for (var prop in style) {
  5647. var key = prop.indexOf('--') === 0 ? prop : Object(hyphenate_style_name__WEBPACK_IMPORTED_MODULE_0__["default"])(prop);
  5648. converted[key] = style[prop];
  5649. }
  5650. if (style.fallbacks) {
  5651. if (Array.isArray(style.fallbacks)) converted.fallbacks = style.fallbacks.map(convertCase);else converted.fallbacks = convertCase(style.fallbacks);
  5652. }
  5653. return converted;
  5654. }
  5655. /**
  5656. * Allow camel cased property names by converting them back to dasherized.
  5657. *
  5658. * @param {Rule} rule
  5659. */
  5660. function camelCase() {
  5661. function onProcessStyle(style) {
  5662. if (Array.isArray(style)) {
  5663. // Handle rules like @font-face, which can have multiple styles in an array
  5664. for (var index = 0; index < style.length; index++) {
  5665. style[index] = convertCase(style[index]);
  5666. }
  5667. return style;
  5668. }
  5669. return convertCase(style);
  5670. }
  5671. function onChangeValue(value, prop, rule) {
  5672. if (prop.indexOf('--') === 0) {
  5673. return value;
  5674. }
  5675. var hyphenatedProp = Object(hyphenate_style_name__WEBPACK_IMPORTED_MODULE_0__["default"])(prop); // There was no camel case in place
  5676. if (prop === hyphenatedProp) return value;
  5677. rule.prop(hyphenatedProp, value); // Core will ignore that property value we set the proper one above.
  5678. return null;
  5679. }
  5680. return {
  5681. onProcessStyle: onProcessStyle,
  5682. onChangeValue: onChangeValue
  5683. };
  5684. }
  5685. /* harmony default export */ __webpack_exports__["default"] = (camelCase);
  5686. /***/ }),
  5687. /***/ "./node_modules/jss-plugin-default-unit/dist/jss-plugin-default-unit.esm.js":
  5688. /*!**********************************************************************************!*\
  5689. !*** ./node_modules/jss-plugin-default-unit/dist/jss-plugin-default-unit.esm.js ***!
  5690. \**********************************************************************************/
  5691. /*! exports provided: default */
  5692. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  5693. "use strict";
  5694. __webpack_require__.r(__webpack_exports__);
  5695. /* harmony import */ var jss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! jss */ "./node_modules/jss/dist/jss.esm.js");
  5696. var px = jss__WEBPACK_IMPORTED_MODULE_0__["hasCSSTOMSupport"] && CSS ? CSS.px : 'px';
  5697. var ms = jss__WEBPACK_IMPORTED_MODULE_0__["hasCSSTOMSupport"] && CSS ? CSS.ms : 'ms';
  5698. var percent = jss__WEBPACK_IMPORTED_MODULE_0__["hasCSSTOMSupport"] && CSS ? CSS.percent : '%';
  5699. /**
  5700. * Generated jss-plugin-default-unit CSS property units
  5701. *
  5702. * @type object
  5703. */
  5704. var defaultUnits = {
  5705. // Animation properties
  5706. 'animation-delay': ms,
  5707. 'animation-duration': ms,
  5708. // Background properties
  5709. 'background-position': px,
  5710. 'background-position-x': px,
  5711. 'background-position-y': px,
  5712. 'background-size': px,
  5713. // Border Properties
  5714. border: px,
  5715. 'border-bottom': px,
  5716. 'border-bottom-left-radius': px,
  5717. 'border-bottom-right-radius': px,
  5718. 'border-bottom-width': px,
  5719. 'border-left': px,
  5720. 'border-left-width': px,
  5721. 'border-radius': px,
  5722. 'border-right': px,
  5723. 'border-right-width': px,
  5724. 'border-top': px,
  5725. 'border-top-left-radius': px,
  5726. 'border-top-right-radius': px,
  5727. 'border-top-width': px,
  5728. 'border-width': px,
  5729. 'border-block': px,
  5730. 'border-block-end': px,
  5731. 'border-block-end-width': px,
  5732. 'border-block-start': px,
  5733. 'border-block-start-width': px,
  5734. 'border-block-width': px,
  5735. 'border-inline': px,
  5736. 'border-inline-end': px,
  5737. 'border-inline-end-width': px,
  5738. 'border-inline-start': px,
  5739. 'border-inline-start-width': px,
  5740. 'border-inline-width': px,
  5741. 'border-start-start-radius': px,
  5742. 'border-start-end-radius': px,
  5743. 'border-end-start-radius': px,
  5744. 'border-end-end-radius': px,
  5745. // Margin properties
  5746. margin: px,
  5747. 'margin-bottom': px,
  5748. 'margin-left': px,
  5749. 'margin-right': px,
  5750. 'margin-top': px,
  5751. 'margin-block': px,
  5752. 'margin-block-end': px,
  5753. 'margin-block-start': px,
  5754. 'margin-inline': px,
  5755. 'margin-inline-end': px,
  5756. 'margin-inline-start': px,
  5757. // Padding properties
  5758. padding: px,
  5759. 'padding-bottom': px,
  5760. 'padding-left': px,
  5761. 'padding-right': px,
  5762. 'padding-top': px,
  5763. 'padding-block': px,
  5764. 'padding-block-end': px,
  5765. 'padding-block-start': px,
  5766. 'padding-inline': px,
  5767. 'padding-inline-end': px,
  5768. 'padding-inline-start': px,
  5769. // Mask properties
  5770. 'mask-position-x': px,
  5771. 'mask-position-y': px,
  5772. 'mask-size': px,
  5773. // Width and height properties
  5774. height: px,
  5775. width: px,
  5776. 'min-height': px,
  5777. 'max-height': px,
  5778. 'min-width': px,
  5779. 'max-width': px,
  5780. // Position properties
  5781. bottom: px,
  5782. left: px,
  5783. top: px,
  5784. right: px,
  5785. inset: px,
  5786. 'inset-block': px,
  5787. 'inset-block-end': px,
  5788. 'inset-block-start': px,
  5789. 'inset-inline': px,
  5790. 'inset-inline-end': px,
  5791. 'inset-inline-start': px,
  5792. // Shadow properties
  5793. 'box-shadow': px,
  5794. 'text-shadow': px,
  5795. // Column properties
  5796. 'column-gap': px,
  5797. 'column-rule': px,
  5798. 'column-rule-width': px,
  5799. 'column-width': px,
  5800. // Font and text properties
  5801. 'font-size': px,
  5802. 'font-size-delta': px,
  5803. 'letter-spacing': px,
  5804. 'text-decoration-thickness': px,
  5805. 'text-indent': px,
  5806. 'text-stroke': px,
  5807. 'text-stroke-width': px,
  5808. 'word-spacing': px,
  5809. // Motion properties
  5810. motion: px,
  5811. 'motion-offset': px,
  5812. // Outline properties
  5813. outline: px,
  5814. 'outline-offset': px,
  5815. 'outline-width': px,
  5816. // Perspective properties
  5817. perspective: px,
  5818. 'perspective-origin-x': percent,
  5819. 'perspective-origin-y': percent,
  5820. // Transform properties
  5821. 'transform-origin': percent,
  5822. 'transform-origin-x': percent,
  5823. 'transform-origin-y': percent,
  5824. 'transform-origin-z': percent,
  5825. // Transition properties
  5826. 'transition-delay': ms,
  5827. 'transition-duration': ms,
  5828. // Alignment properties
  5829. 'vertical-align': px,
  5830. 'flex-basis': px,
  5831. // Some random properties
  5832. 'shape-margin': px,
  5833. size: px,
  5834. gap: px,
  5835. // Grid properties
  5836. grid: px,
  5837. 'grid-gap': px,
  5838. 'row-gap': px,
  5839. 'grid-row-gap': px,
  5840. 'grid-column-gap': px,
  5841. 'grid-template-rows': px,
  5842. 'grid-template-columns': px,
  5843. 'grid-auto-rows': px,
  5844. 'grid-auto-columns': px,
  5845. // Not existing properties.
  5846. // Used to avoid issues with jss-plugin-expand integration.
  5847. 'box-shadow-x': px,
  5848. 'box-shadow-y': px,
  5849. 'box-shadow-blur': px,
  5850. 'box-shadow-spread': px,
  5851. 'font-line-height': px,
  5852. 'text-shadow-x': px,
  5853. 'text-shadow-y': px,
  5854. 'text-shadow-blur': px
  5855. };
  5856. /**
  5857. * Clones the object and adds a camel cased property version.
  5858. */
  5859. function addCamelCasedVersion(obj) {
  5860. var regExp = /(-[a-z])/g;
  5861. var replace = function replace(str) {
  5862. return str[1].toUpperCase();
  5863. };
  5864. var newObj = {};
  5865. for (var _key in obj) {
  5866. newObj[_key] = obj[_key];
  5867. newObj[_key.replace(regExp, replace)] = obj[_key];
  5868. }
  5869. return newObj;
  5870. }
  5871. var units = addCamelCasedVersion(defaultUnits);
  5872. /**
  5873. * Recursive deep style passing function
  5874. */
  5875. function iterate(prop, value, options) {
  5876. if (value == null) return value;
  5877. if (Array.isArray(value)) {
  5878. for (var i = 0; i < value.length; i++) {
  5879. value[i] = iterate(prop, value[i], options);
  5880. }
  5881. } else if (typeof value === 'object') {
  5882. if (prop === 'fallbacks') {
  5883. for (var innerProp in value) {
  5884. value[innerProp] = iterate(innerProp, value[innerProp], options);
  5885. }
  5886. } else {
  5887. for (var _innerProp in value) {
  5888. value[_innerProp] = iterate(prop + "-" + _innerProp, value[_innerProp], options);
  5889. }
  5890. } // eslint-disable-next-line no-restricted-globals
  5891. } else if (typeof value === 'number' && isNaN(value) === false) {
  5892. var unit = options[prop] || units[prop]; // Add the unit if available, except for the special case of 0px.
  5893. if (unit && !(value === 0 && unit === px)) {
  5894. return typeof unit === 'function' ? unit(value).toString() : "" + value + unit;
  5895. }
  5896. return value.toString();
  5897. }
  5898. return value;
  5899. }
  5900. /**
  5901. * Add unit to numeric values.
  5902. */
  5903. function defaultUnit(options) {
  5904. if (options === void 0) {
  5905. options = {};
  5906. }
  5907. var camelCasedOptions = addCamelCasedVersion(options);
  5908. function onProcessStyle(style, rule) {
  5909. if (rule.type !== 'style') return style;
  5910. for (var prop in style) {
  5911. style[prop] = iterate(prop, style[prop], camelCasedOptions);
  5912. }
  5913. return style;
  5914. }
  5915. function onChangeValue(value, prop) {
  5916. return iterate(prop, value, camelCasedOptions);
  5917. }
  5918. return {
  5919. onProcessStyle: onProcessStyle,
  5920. onChangeValue: onChangeValue
  5921. };
  5922. }
  5923. /* harmony default export */ __webpack_exports__["default"] = (defaultUnit);
  5924. /***/ }),
  5925. /***/ "./node_modules/jss-plugin-global/dist/jss-plugin-global.esm.js":
  5926. /*!**********************************************************************!*\
  5927. !*** ./node_modules/jss-plugin-global/dist/jss-plugin-global.esm.js ***!
  5928. \**********************************************************************/
  5929. /*! exports provided: default */
  5930. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  5931. "use strict";
  5932. __webpack_require__.r(__webpack_exports__);
  5933. /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
  5934. /* harmony import */ var jss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! jss */ "./node_modules/jss/dist/jss.esm.js");
  5935. var at = '@global';
  5936. var atPrefix = '@global ';
  5937. var GlobalContainerRule =
  5938. /*#__PURE__*/
  5939. function () {
  5940. function GlobalContainerRule(key, styles, options) {
  5941. this.type = 'global';
  5942. this.at = at;
  5943. this.rules = void 0;
  5944. this.options = void 0;
  5945. this.key = void 0;
  5946. this.isProcessed = false;
  5947. this.key = key;
  5948. this.options = options;
  5949. this.rules = new jss__WEBPACK_IMPORTED_MODULE_1__["RuleList"](Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, options, {
  5950. parent: this
  5951. }));
  5952. for (var selector in styles) {
  5953. this.rules.add(selector, styles[selector]);
  5954. }
  5955. this.rules.process();
  5956. }
  5957. /**
  5958. * Get a rule.
  5959. */
  5960. var _proto = GlobalContainerRule.prototype;
  5961. _proto.getRule = function getRule(name) {
  5962. return this.rules.get(name);
  5963. }
  5964. /**
  5965. * Create and register rule, run plugins.
  5966. */
  5967. ;
  5968. _proto.addRule = function addRule(name, style, options) {
  5969. var rule = this.rules.add(name, style, options);
  5970. if (rule) this.options.jss.plugins.onProcessRule(rule);
  5971. return rule;
  5972. }
  5973. /**
  5974. * Get index of a rule.
  5975. */
  5976. ;
  5977. _proto.indexOf = function indexOf(rule) {
  5978. return this.rules.indexOf(rule);
  5979. }
  5980. /**
  5981. * Generates a CSS string.
  5982. */
  5983. ;
  5984. _proto.toString = function toString() {
  5985. return this.rules.toString();
  5986. };
  5987. return GlobalContainerRule;
  5988. }();
  5989. var GlobalPrefixedRule =
  5990. /*#__PURE__*/
  5991. function () {
  5992. function GlobalPrefixedRule(key, style, options) {
  5993. this.type = 'global';
  5994. this.at = at;
  5995. this.options = void 0;
  5996. this.rule = void 0;
  5997. this.isProcessed = false;
  5998. this.key = void 0;
  5999. this.key = key;
  6000. this.options = options;
  6001. var selector = key.substr(atPrefix.length);
  6002. this.rule = options.jss.createRule(selector, style, Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, options, {
  6003. parent: this
  6004. }));
  6005. }
  6006. var _proto2 = GlobalPrefixedRule.prototype;
  6007. _proto2.toString = function toString(options) {
  6008. return this.rule ? this.rule.toString(options) : '';
  6009. };
  6010. return GlobalPrefixedRule;
  6011. }();
  6012. var separatorRegExp = /\s*,\s*/g;
  6013. function addScope(selector, scope) {
  6014. var parts = selector.split(separatorRegExp);
  6015. var scoped = '';
  6016. for (var i = 0; i < parts.length; i++) {
  6017. scoped += scope + " " + parts[i].trim();
  6018. if (parts[i + 1]) scoped += ', ';
  6019. }
  6020. return scoped;
  6021. }
  6022. function handleNestedGlobalContainerRule(rule, sheet) {
  6023. var options = rule.options,
  6024. style = rule.style;
  6025. var rules = style ? style[at] : null;
  6026. if (!rules) return;
  6027. for (var name in rules) {
  6028. sheet.addRule(name, rules[name], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, options, {
  6029. selector: addScope(name, rule.selector)
  6030. }));
  6031. }
  6032. delete style[at];
  6033. }
  6034. function handlePrefixedGlobalRule(rule, sheet) {
  6035. var options = rule.options,
  6036. style = rule.style;
  6037. for (var prop in style) {
  6038. if (prop[0] !== '@' || prop.substr(0, at.length) !== at) continue;
  6039. var selector = addScope(prop.substr(at.length), rule.selector);
  6040. sheet.addRule(selector, style[prop], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, options, {
  6041. selector: selector
  6042. }));
  6043. delete style[prop];
  6044. }
  6045. }
  6046. /**
  6047. * Convert nested rules to separate, remove them from original styles.
  6048. *
  6049. * @param {Rule} rule
  6050. * @api public
  6051. */
  6052. function jssGlobal() {
  6053. function onCreateRule(name, styles, options) {
  6054. if (!name) return null;
  6055. if (name === at) {
  6056. return new GlobalContainerRule(name, styles, options);
  6057. }
  6058. if (name[0] === '@' && name.substr(0, atPrefix.length) === atPrefix) {
  6059. return new GlobalPrefixedRule(name, styles, options);
  6060. }
  6061. var parent = options.parent;
  6062. if (parent) {
  6063. if (parent.type === 'global' || parent.options.parent && parent.options.parent.type === 'global') {
  6064. options.scoped = false;
  6065. }
  6066. }
  6067. if (options.scoped === false) {
  6068. options.selector = name;
  6069. }
  6070. return null;
  6071. }
  6072. function onProcessRule(rule, sheet) {
  6073. if (rule.type !== 'style' || !sheet) return;
  6074. handleNestedGlobalContainerRule(rule, sheet);
  6075. handlePrefixedGlobalRule(rule, sheet);
  6076. }
  6077. return {
  6078. onCreateRule: onCreateRule,
  6079. onProcessRule: onProcessRule
  6080. };
  6081. }
  6082. /* harmony default export */ __webpack_exports__["default"] = (jssGlobal);
  6083. /***/ }),
  6084. /***/ "./node_modules/jss-plugin-nested/dist/jss-plugin-nested.esm.js":
  6085. /*!**********************************************************************!*\
  6086. !*** ./node_modules/jss-plugin-nested/dist/jss-plugin-nested.esm.js ***!
  6087. \**********************************************************************/
  6088. /*! exports provided: default */
  6089. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  6090. "use strict";
  6091. __webpack_require__.r(__webpack_exports__);
  6092. /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
  6093. /* harmony import */ var tiny_warning__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! tiny-warning */ "./node_modules/tiny-warning/dist/tiny-warning.esm.js");
  6094. var separatorRegExp = /\s*,\s*/g;
  6095. var parentRegExp = /&/g;
  6096. var refRegExp = /\$([\w-]+)/g;
  6097. /**
  6098. * Convert nested rules to separate, remove them from original styles.
  6099. *
  6100. * @param {Rule} rule
  6101. * @api public
  6102. */
  6103. function jssNested() {
  6104. // Get a function to be used for $ref replacement.
  6105. function getReplaceRef(container, sheet) {
  6106. return function (match, key) {
  6107. var rule = container.getRule(key) || sheet && sheet.getRule(key);
  6108. if (rule) {
  6109. rule = rule;
  6110. return rule.selector;
  6111. }
  6112. true ? Object(tiny_warning__WEBPACK_IMPORTED_MODULE_1__["default"])(false, "[JSS] Could not find the referenced rule \"" + key + "\" in \"" + (container.options.meta || container.toString()) + "\".") : undefined;
  6113. return key;
  6114. };
  6115. }
  6116. function replaceParentRefs(nestedProp, parentProp) {
  6117. var parentSelectors = parentProp.split(separatorRegExp);
  6118. var nestedSelectors = nestedProp.split(separatorRegExp);
  6119. var result = '';
  6120. for (var i = 0; i < parentSelectors.length; i++) {
  6121. var parent = parentSelectors[i];
  6122. for (var j = 0; j < nestedSelectors.length; j++) {
  6123. var nested = nestedSelectors[j];
  6124. if (result) result += ', '; // Replace all & by the parent or prefix & with the parent.
  6125. result += nested.indexOf('&') !== -1 ? nested.replace(parentRegExp, parent) : parent + " " + nested;
  6126. }
  6127. }
  6128. return result;
  6129. }
  6130. function getOptions(rule, container, prevOptions) {
  6131. // Options has been already created, now we only increase index.
  6132. if (prevOptions) return Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, prevOptions, {
  6133. index: prevOptions.index + 1 // $FlowFixMe[prop-missing]
  6134. });
  6135. var nestingLevel = rule.options.nestingLevel;
  6136. nestingLevel = nestingLevel === undefined ? 1 : nestingLevel + 1;
  6137. var options = Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, rule.options, {
  6138. nestingLevel: nestingLevel,
  6139. index: container.indexOf(rule) + 1 // We don't need the parent name to be set options for chlid.
  6140. });
  6141. delete options.name;
  6142. return options;
  6143. }
  6144. function onProcessStyle(style, rule, sheet) {
  6145. if (rule.type !== 'style') return style;
  6146. var styleRule = rule;
  6147. var container = styleRule.options.parent;
  6148. var options;
  6149. var replaceRef;
  6150. for (var prop in style) {
  6151. var isNested = prop.indexOf('&') !== -1;
  6152. var isNestedConditional = prop[0] === '@';
  6153. if (!isNested && !isNestedConditional) continue;
  6154. options = getOptions(styleRule, container, options);
  6155. if (isNested) {
  6156. var selector = replaceParentRefs(prop, styleRule.selector); // Lazily create the ref replacer function just once for
  6157. // all nested rules within the sheet.
  6158. if (!replaceRef) replaceRef = getReplaceRef(container, sheet); // Replace all $refs.
  6159. selector = selector.replace(refRegExp, replaceRef);
  6160. container.addRule(selector, style[prop], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, options, {
  6161. selector: selector
  6162. }));
  6163. } else if (isNestedConditional) {
  6164. // Place conditional right after the parent rule to ensure right ordering.
  6165. container.addRule(prop, {}, options) // Flow expects more options but they aren't required
  6166. // And flow doesn't know this will always be a StyleRule which has the addRule method
  6167. // $FlowFixMe[incompatible-use]
  6168. // $FlowFixMe[prop-missing]
  6169. .addRule(styleRule.key, style[prop], {
  6170. selector: styleRule.selector
  6171. });
  6172. }
  6173. delete style[prop];
  6174. }
  6175. return style;
  6176. }
  6177. return {
  6178. onProcessStyle: onProcessStyle
  6179. };
  6180. }
  6181. /* harmony default export */ __webpack_exports__["default"] = (jssNested);
  6182. /***/ }),
  6183. /***/ "./node_modules/jss-plugin-props-sort/dist/jss-plugin-props-sort.esm.js":
  6184. /*!******************************************************************************!*\
  6185. !*** ./node_modules/jss-plugin-props-sort/dist/jss-plugin-props-sort.esm.js ***!
  6186. \******************************************************************************/
  6187. /*! exports provided: default */
  6188. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  6189. "use strict";
  6190. __webpack_require__.r(__webpack_exports__);
  6191. /**
  6192. * Sort props by length.
  6193. */
  6194. function jssPropsSort() {
  6195. var sort = function sort(prop0, prop1) {
  6196. if (prop0.length === prop1.length) {
  6197. return prop0 > prop1 ? 1 : -1;
  6198. }
  6199. return prop0.length - prop1.length;
  6200. };
  6201. return {
  6202. onProcessStyle: function onProcessStyle(style, rule) {
  6203. if (rule.type !== 'style') return style;
  6204. var newStyle = {};
  6205. var props = Object.keys(style).sort(sort);
  6206. for (var i = 0; i < props.length; i++) {
  6207. newStyle[props[i]] = style[props[i]];
  6208. }
  6209. return newStyle;
  6210. }
  6211. };
  6212. }
  6213. /* harmony default export */ __webpack_exports__["default"] = (jssPropsSort);
  6214. /***/ }),
  6215. /***/ "./node_modules/jss-plugin-rule-value-function/dist/jss-plugin-rule-value-function.esm.js":
  6216. /*!************************************************************************************************!*\
  6217. !*** ./node_modules/jss-plugin-rule-value-function/dist/jss-plugin-rule-value-function.esm.js ***!
  6218. \************************************************************************************************/
  6219. /*! exports provided: default */
  6220. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  6221. "use strict";
  6222. __webpack_require__.r(__webpack_exports__);
  6223. /* harmony import */ var tiny_warning__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tiny-warning */ "./node_modules/tiny-warning/dist/tiny-warning.esm.js");
  6224. /* harmony import */ var jss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! jss */ "./node_modules/jss/dist/jss.esm.js");
  6225. var now = Date.now();
  6226. var fnValuesNs = "fnValues" + now;
  6227. var fnRuleNs = "fnStyle" + ++now;
  6228. var functionPlugin = function functionPlugin() {
  6229. return {
  6230. onCreateRule: function onCreateRule(name, decl, options) {
  6231. if (typeof decl !== 'function') return null;
  6232. var rule = Object(jss__WEBPACK_IMPORTED_MODULE_1__["createRule"])(name, {}, options);
  6233. rule[fnRuleNs] = decl;
  6234. return rule;
  6235. },
  6236. onProcessStyle: function onProcessStyle(style, rule) {
  6237. // We need to extract function values from the declaration, so that we can keep core unaware of them.
  6238. // We need to do that only once.
  6239. // We don't need to extract functions on each style update, since this can happen only once.
  6240. // We don't support function values inside of function rules.
  6241. if (fnValuesNs in rule || fnRuleNs in rule) return style;
  6242. var fnValues = {};
  6243. for (var prop in style) {
  6244. var value = style[prop];
  6245. if (typeof value !== 'function') continue;
  6246. delete style[prop];
  6247. fnValues[prop] = value;
  6248. } // $FlowFixMe[prop-missing]
  6249. rule[fnValuesNs] = fnValues;
  6250. return style;
  6251. },
  6252. onUpdate: function onUpdate(data, rule, sheet, options) {
  6253. var styleRule = rule; // $FlowFixMe[prop-missing]
  6254. var fnRule = styleRule[fnRuleNs]; // If we have a style function, the entire rule is dynamic and style object
  6255. // will be returned from that function.
  6256. if (fnRule) {
  6257. // Empty object will remove all currently defined props
  6258. // in case function rule returns a falsy value.
  6259. styleRule.style = fnRule(data) || {};
  6260. if (true) {
  6261. for (var prop in styleRule.style) {
  6262. if (typeof styleRule.style[prop] === 'function') {
  6263. true ? Object(tiny_warning__WEBPACK_IMPORTED_MODULE_0__["default"])(false, '[JSS] Function values inside function rules are not supported.') : undefined;
  6264. break;
  6265. }
  6266. }
  6267. }
  6268. } // $FlowFixMe[prop-missing]
  6269. var fnValues = styleRule[fnValuesNs]; // If we have a fn values map, it is a rule with function values.
  6270. if (fnValues) {
  6271. for (var _prop in fnValues) {
  6272. styleRule.prop(_prop, fnValues[_prop](data), options);
  6273. }
  6274. }
  6275. }
  6276. };
  6277. };
  6278. /* harmony default export */ __webpack_exports__["default"] = (functionPlugin);
  6279. /***/ }),
  6280. /***/ "./node_modules/jss-plugin-vendor-prefixer/dist/jss-plugin-vendor-prefixer.esm.js":
  6281. /*!****************************************************************************************!*\
  6282. !*** ./node_modules/jss-plugin-vendor-prefixer/dist/jss-plugin-vendor-prefixer.esm.js ***!
  6283. \****************************************************************************************/
  6284. /*! exports provided: default */
  6285. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  6286. "use strict";
  6287. __webpack_require__.r(__webpack_exports__);
  6288. /* harmony import */ var css_vendor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! css-vendor */ "./node_modules/jss-plugin-vendor-prefixer/node_modules/css-vendor/dist/css-vendor.esm.js");
  6289. /* harmony import */ var jss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! jss */ "./node_modules/jss/dist/jss.esm.js");
  6290. /**
  6291. * Add vendor prefix to a property name when needed.
  6292. *
  6293. * @api public
  6294. */
  6295. function jssVendorPrefixer() {
  6296. function onProcessRule(rule) {
  6297. if (rule.type === 'keyframes') {
  6298. var atRule = rule;
  6299. atRule.at = Object(css_vendor__WEBPACK_IMPORTED_MODULE_0__["supportedKeyframes"])(atRule.at);
  6300. }
  6301. }
  6302. function prefixStyle(style) {
  6303. for (var prop in style) {
  6304. var value = style[prop];
  6305. if (prop === 'fallbacks' && Array.isArray(value)) {
  6306. style[prop] = value.map(prefixStyle);
  6307. continue;
  6308. }
  6309. var changeProp = false;
  6310. var supportedProp = Object(css_vendor__WEBPACK_IMPORTED_MODULE_0__["supportedProperty"])(prop);
  6311. if (supportedProp && supportedProp !== prop) changeProp = true;
  6312. var changeValue = false;
  6313. var supportedValue$1 = Object(css_vendor__WEBPACK_IMPORTED_MODULE_0__["supportedValue"])(supportedProp, Object(jss__WEBPACK_IMPORTED_MODULE_1__["toCssValue"])(value));
  6314. if (supportedValue$1 && supportedValue$1 !== value) changeValue = true;
  6315. if (changeProp || changeValue) {
  6316. if (changeProp) delete style[prop];
  6317. style[supportedProp || prop] = supportedValue$1 || value;
  6318. }
  6319. }
  6320. return style;
  6321. }
  6322. function onProcessStyle(style, rule) {
  6323. if (rule.type !== 'style') return style;
  6324. return prefixStyle(style);
  6325. }
  6326. function onChangeValue(value, prop) {
  6327. return Object(css_vendor__WEBPACK_IMPORTED_MODULE_0__["supportedValue"])(prop, Object(jss__WEBPACK_IMPORTED_MODULE_1__["toCssValue"])(value)) || value;
  6328. }
  6329. return {
  6330. onProcessRule: onProcessRule,
  6331. onProcessStyle: onProcessStyle,
  6332. onChangeValue: onChangeValue
  6333. };
  6334. }
  6335. /* harmony default export */ __webpack_exports__["default"] = (jssVendorPrefixer);
  6336. /***/ }),
  6337. /***/ "./node_modules/jss-plugin-vendor-prefixer/node_modules/css-vendor/dist/css-vendor.esm.js":
  6338. /*!************************************************************************************************!*\
  6339. !*** ./node_modules/jss-plugin-vendor-prefixer/node_modules/css-vendor/dist/css-vendor.esm.js ***!
  6340. \************************************************************************************************/
  6341. /*! exports provided: prefix, supportedKeyframes, supportedProperty, supportedValue */
  6342. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  6343. "use strict";
  6344. __webpack_require__.r(__webpack_exports__);
  6345. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "prefix", function() { return prefix; });
  6346. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "supportedKeyframes", function() { return supportedKeyframes; });
  6347. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "supportedProperty", function() { return supportedProperty; });
  6348. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "supportedValue", function() { return supportedValue; });
  6349. /* harmony import */ var is_in_browser__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! is-in-browser */ "./node_modules/is-in-browser/dist/module.js");
  6350. /* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toConsumableArray */ "./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js");
  6351. // Export javascript style and css style vendor prefixes.
  6352. var js = '';
  6353. var css = '';
  6354. var vendor = '';
  6355. var browser = '';
  6356. var isTouch = is_in_browser__WEBPACK_IMPORTED_MODULE_0__["default"] && 'ontouchstart' in document.documentElement; // We should not do anything if required serverside.
  6357. if (is_in_browser__WEBPACK_IMPORTED_MODULE_0__["default"]) {
  6358. // Order matters. We need to check Webkit the last one because
  6359. // other vendors use to add Webkit prefixes to some properties
  6360. var jsCssMap = {
  6361. Moz: '-moz-',
  6362. ms: '-ms-',
  6363. O: '-o-',
  6364. Webkit: '-webkit-'
  6365. };
  6366. var _document$createEleme = document.createElement('p'),
  6367. style = _document$createEleme.style;
  6368. var testProp = 'Transform';
  6369. for (var key in jsCssMap) {
  6370. if (key + testProp in style) {
  6371. js = key;
  6372. css = jsCssMap[key];
  6373. break;
  6374. }
  6375. } // Correctly detect the Edge browser.
  6376. if (js === 'Webkit' && 'msHyphens' in style) {
  6377. js = 'ms';
  6378. css = jsCssMap.ms;
  6379. browser = 'edge';
  6380. } // Correctly detect the Safari browser.
  6381. if (js === 'Webkit' && '-apple-trailing-word' in style) {
  6382. vendor = 'apple';
  6383. }
  6384. }
  6385. /**
  6386. * Vendor prefix string for the current browser.
  6387. *
  6388. * @type {{js: String, css: String, vendor: String, browser: String}}
  6389. * @api public
  6390. */
  6391. var prefix = {
  6392. js: js,
  6393. css: css,
  6394. vendor: vendor,
  6395. browser: browser,
  6396. isTouch: isTouch
  6397. };
  6398. /**
  6399. * Test if a keyframe at-rule should be prefixed or not
  6400. *
  6401. * @param {String} vendor prefix string for the current browser.
  6402. * @return {String}
  6403. * @api public
  6404. */
  6405. function supportedKeyframes(key) {
  6406. // Keyframes is already prefixed. e.g. key = '@-webkit-keyframes a'
  6407. if (key[1] === '-') return key; // No need to prefix IE/Edge. Older browsers will ignore unsupported rules.
  6408. // https://caniuse.com/#search=keyframes
  6409. if (prefix.js === 'ms') return key;
  6410. return "@" + prefix.css + "keyframes" + key.substr(10);
  6411. }
  6412. // https://caniuse.com/#search=appearance
  6413. var appearence = {
  6414. noPrefill: ['appearance'],
  6415. supportedProperty: function supportedProperty(prop) {
  6416. if (prop !== 'appearance') return false;
  6417. if (prefix.js === 'ms') return "-webkit-" + prop;
  6418. return prefix.css + prop;
  6419. }
  6420. };
  6421. // https://caniuse.com/#search=color-adjust
  6422. var colorAdjust = {
  6423. noPrefill: ['color-adjust'],
  6424. supportedProperty: function supportedProperty(prop) {
  6425. if (prop !== 'color-adjust') return false;
  6426. if (prefix.js === 'Webkit') return prefix.css + "print-" + prop;
  6427. return prop;
  6428. }
  6429. };
  6430. var regExp = /[-\s]+(.)?/g;
  6431. /**
  6432. * Replaces the letter with the capital letter
  6433. *
  6434. * @param {String} match
  6435. * @param {String} c
  6436. * @return {String}
  6437. * @api private
  6438. */
  6439. function toUpper(match, c) {
  6440. return c ? c.toUpperCase() : '';
  6441. }
  6442. /**
  6443. * Convert dash separated strings to camel-cased.
  6444. *
  6445. * @param {String} str
  6446. * @return {String}
  6447. * @api private
  6448. */
  6449. function camelize(str) {
  6450. return str.replace(regExp, toUpper);
  6451. }
  6452. /**
  6453. * Convert dash separated strings to pascal cased.
  6454. *
  6455. * @param {String} str
  6456. * @return {String}
  6457. * @api private
  6458. */
  6459. function pascalize(str) {
  6460. return camelize("-" + str);
  6461. }
  6462. // but we can use a longhand property instead.
  6463. // https://caniuse.com/#search=mask
  6464. var mask = {
  6465. noPrefill: ['mask'],
  6466. supportedProperty: function supportedProperty(prop, style) {
  6467. if (!/^mask/.test(prop)) return false;
  6468. if (prefix.js === 'Webkit') {
  6469. var longhand = 'mask-image';
  6470. if (camelize(longhand) in style) {
  6471. return prop;
  6472. }
  6473. if (prefix.js + pascalize(longhand) in style) {
  6474. return prefix.css + prop;
  6475. }
  6476. }
  6477. return prop;
  6478. }
  6479. };
  6480. // https://caniuse.com/#search=text-orientation
  6481. var textOrientation = {
  6482. noPrefill: ['text-orientation'],
  6483. supportedProperty: function supportedProperty(prop) {
  6484. if (prop !== 'text-orientation') return false;
  6485. if (prefix.vendor === 'apple' && !prefix.isTouch) {
  6486. return prefix.css + prop;
  6487. }
  6488. return prop;
  6489. }
  6490. };
  6491. // https://caniuse.com/#search=transform
  6492. var transform = {
  6493. noPrefill: ['transform'],
  6494. supportedProperty: function supportedProperty(prop, style, options) {
  6495. if (prop !== 'transform') return false;
  6496. if (options.transform) {
  6497. return prop;
  6498. }
  6499. return prefix.css + prop;
  6500. }
  6501. };
  6502. // https://caniuse.com/#search=transition
  6503. var transition = {
  6504. noPrefill: ['transition'],
  6505. supportedProperty: function supportedProperty(prop, style, options) {
  6506. if (prop !== 'transition') return false;
  6507. if (options.transition) {
  6508. return prop;
  6509. }
  6510. return prefix.css + prop;
  6511. }
  6512. };
  6513. // https://caniuse.com/#search=writing-mode
  6514. var writingMode = {
  6515. noPrefill: ['writing-mode'],
  6516. supportedProperty: function supportedProperty(prop) {
  6517. if (prop !== 'writing-mode') return false;
  6518. if (prefix.js === 'Webkit' || prefix.js === 'ms' && prefix.browser !== 'edge') {
  6519. return prefix.css + prop;
  6520. }
  6521. return prop;
  6522. }
  6523. };
  6524. // https://caniuse.com/#search=user-select
  6525. var userSelect = {
  6526. noPrefill: ['user-select'],
  6527. supportedProperty: function supportedProperty(prop) {
  6528. if (prop !== 'user-select') return false;
  6529. if (prefix.js === 'Moz' || prefix.js === 'ms' || prefix.vendor === 'apple') {
  6530. return prefix.css + prop;
  6531. }
  6532. return prop;
  6533. }
  6534. };
  6535. // https://caniuse.com/#search=multicolumn
  6536. // https://github.com/postcss/autoprefixer/issues/491
  6537. // https://github.com/postcss/autoprefixer/issues/177
  6538. var breakPropsOld = {
  6539. supportedProperty: function supportedProperty(prop, style) {
  6540. if (!/^break-/.test(prop)) return false;
  6541. if (prefix.js === 'Webkit') {
  6542. var jsProp = "WebkitColumn" + pascalize(prop);
  6543. return jsProp in style ? prefix.css + "column-" + prop : false;
  6544. }
  6545. if (prefix.js === 'Moz') {
  6546. var _jsProp = "page" + pascalize(prop);
  6547. return _jsProp in style ? "page-" + prop : false;
  6548. }
  6549. return false;
  6550. }
  6551. };
  6552. // See https://github.com/postcss/autoprefixer/issues/324.
  6553. var inlineLogicalOld = {
  6554. supportedProperty: function supportedProperty(prop, style) {
  6555. if (!/^(border|margin|padding)-inline/.test(prop)) return false;
  6556. if (prefix.js === 'Moz') return prop;
  6557. var newProp = prop.replace('-inline', '');
  6558. return prefix.js + pascalize(newProp) in style ? prefix.css + newProp : false;
  6559. }
  6560. };
  6561. // Camelization is required because we can't test using.
  6562. // CSS syntax for e.g. in FF.
  6563. var unprefixed = {
  6564. supportedProperty: function supportedProperty(prop, style) {
  6565. return camelize(prop) in style ? prop : false;
  6566. }
  6567. };
  6568. var prefixed = {
  6569. supportedProperty: function supportedProperty(prop, style) {
  6570. var pascalized = pascalize(prop); // Return custom CSS variable without prefixing.
  6571. if (prop[0] === '-') return prop; // Return already prefixed value without prefixing.
  6572. if (prop[0] === '-' && prop[1] === '-') return prop;
  6573. if (prefix.js + pascalized in style) return prefix.css + prop; // Try webkit fallback.
  6574. if (prefix.js !== 'Webkit' && "Webkit" + pascalized in style) return "-webkit-" + prop;
  6575. return false;
  6576. }
  6577. };
  6578. // https://caniuse.com/#search=scroll-snap
  6579. var scrollSnap = {
  6580. supportedProperty: function supportedProperty(prop) {
  6581. if (prop.substring(0, 11) !== 'scroll-snap') return false;
  6582. if (prefix.js === 'ms') {
  6583. return "" + prefix.css + prop;
  6584. }
  6585. return prop;
  6586. }
  6587. };
  6588. // https://caniuse.com/#search=overscroll-behavior
  6589. var overscrollBehavior = {
  6590. supportedProperty: function supportedProperty(prop) {
  6591. if (prop !== 'overscroll-behavior') return false;
  6592. if (prefix.js === 'ms') {
  6593. return prefix.css + "scroll-chaining";
  6594. }
  6595. return prop;
  6596. }
  6597. };
  6598. var propMap = {
  6599. 'flex-grow': 'flex-positive',
  6600. 'flex-shrink': 'flex-negative',
  6601. 'flex-basis': 'flex-preferred-size',
  6602. 'justify-content': 'flex-pack',
  6603. order: 'flex-order',
  6604. 'align-items': 'flex-align',
  6605. 'align-content': 'flex-line-pack' // 'align-self' is handled by 'align-self' plugin.
  6606. }; // Support old flex spec from 2012.
  6607. var flex2012 = {
  6608. supportedProperty: function supportedProperty(prop, style) {
  6609. var newProp = propMap[prop];
  6610. if (!newProp) return false;
  6611. return prefix.js + pascalize(newProp) in style ? prefix.css + newProp : false;
  6612. }
  6613. };
  6614. var propMap$1 = {
  6615. flex: 'box-flex',
  6616. 'flex-grow': 'box-flex',
  6617. 'flex-direction': ['box-orient', 'box-direction'],
  6618. order: 'box-ordinal-group',
  6619. 'align-items': 'box-align',
  6620. 'flex-flow': ['box-orient', 'box-direction'],
  6621. 'justify-content': 'box-pack'
  6622. };
  6623. var propKeys = Object.keys(propMap$1);
  6624. var prefixCss = function prefixCss(p) {
  6625. return prefix.css + p;
  6626. }; // Support old flex spec from 2009.
  6627. var flex2009 = {
  6628. supportedProperty: function supportedProperty(prop, style, _ref) {
  6629. var multiple = _ref.multiple;
  6630. if (propKeys.indexOf(prop) > -1) {
  6631. var newProp = propMap$1[prop];
  6632. if (!Array.isArray(newProp)) {
  6633. return prefix.js + pascalize(newProp) in style ? prefix.css + newProp : false;
  6634. }
  6635. if (!multiple) return false;
  6636. for (var i = 0; i < newProp.length; i++) {
  6637. if (!(prefix.js + pascalize(newProp[0]) in style)) {
  6638. return false;
  6639. }
  6640. }
  6641. return newProp.map(prefixCss);
  6642. }
  6643. return false;
  6644. }
  6645. };
  6646. // plugins = [
  6647. // ...plugins,
  6648. // breakPropsOld,
  6649. // inlineLogicalOld,
  6650. // unprefixed,
  6651. // prefixed,
  6652. // scrollSnap,
  6653. // flex2012,
  6654. // flex2009
  6655. // ]
  6656. // Plugins without 'noPrefill' value, going last.
  6657. // 'flex-*' plugins should be at the bottom.
  6658. // 'flex2009' going after 'flex2012'.
  6659. // 'prefixed' going after 'unprefixed'
  6660. var plugins = [appearence, colorAdjust, mask, textOrientation, transform, transition, writingMode, userSelect, breakPropsOld, inlineLogicalOld, unprefixed, prefixed, scrollSnap, overscrollBehavior, flex2012, flex2009];
  6661. var propertyDetectors = plugins.filter(function (p) {
  6662. return p.supportedProperty;
  6663. }).map(function (p) {
  6664. return p.supportedProperty;
  6665. });
  6666. var noPrefill = plugins.filter(function (p) {
  6667. return p.noPrefill;
  6668. }).reduce(function (a, p) {
  6669. a.push.apply(a, Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__["default"])(p.noPrefill));
  6670. return a;
  6671. }, []);
  6672. var el;
  6673. var cache = {};
  6674. if (is_in_browser__WEBPACK_IMPORTED_MODULE_0__["default"]) {
  6675. el = document.createElement('p'); // We test every property on vendor prefix requirement.
  6676. // Once tested, result is cached. It gives us up to 70% perf boost.
  6677. // http://jsperf.com/element-style-object-access-vs-plain-object
  6678. //
  6679. // Prefill cache with known css properties to reduce amount of
  6680. // properties we need to feature test at runtime.
  6681. // http://davidwalsh.name/vendor-prefix
  6682. var computed = window.getComputedStyle(document.documentElement, '');
  6683. for (var key$1 in computed) {
  6684. // eslint-disable-next-line no-restricted-globals
  6685. if (!isNaN(key$1)) cache[computed[key$1]] = computed[key$1];
  6686. } // Properties that cannot be correctly detected using the
  6687. // cache prefill method.
  6688. noPrefill.forEach(function (x) {
  6689. return delete cache[x];
  6690. });
  6691. }
  6692. /**
  6693. * Test if a property is supported, returns supported property with vendor
  6694. * prefix if required. Returns `false` if not supported.
  6695. *
  6696. * @param {String} prop dash separated
  6697. * @param {Object} [options]
  6698. * @return {String|Boolean}
  6699. * @api public
  6700. */
  6701. function supportedProperty(prop, options) {
  6702. if (options === void 0) {
  6703. options = {};
  6704. }
  6705. // For server-side rendering.
  6706. if (!el) return prop; // Remove cache for benchmark tests or return property from the cache.
  6707. if ( true && cache[prop] != null) {
  6708. return cache[prop];
  6709. } // Check if 'transition' or 'transform' natively supported in browser.
  6710. if (prop === 'transition' || prop === 'transform') {
  6711. options[prop] = prop in el.style;
  6712. } // Find a plugin for current prefix property.
  6713. for (var i = 0; i < propertyDetectors.length; i++) {
  6714. cache[prop] = propertyDetectors[i](prop, el.style, options); // Break loop, if value found.
  6715. if (cache[prop]) break;
  6716. } // Reset styles for current property.
  6717. // Firefox can even throw an error for invalid properties, e.g., "0".
  6718. try {
  6719. el.style[prop] = '';
  6720. } catch (err) {
  6721. return false;
  6722. }
  6723. return cache[prop];
  6724. }
  6725. var cache$1 = {};
  6726. var transitionProperties = {
  6727. transition: 1,
  6728. 'transition-property': 1,
  6729. '-webkit-transition': 1,
  6730. '-webkit-transition-property': 1
  6731. };
  6732. var transPropsRegExp = /(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;
  6733. var el$1;
  6734. /**
  6735. * Returns prefixed value transition/transform if needed.
  6736. *
  6737. * @param {String} match
  6738. * @param {String} p1
  6739. * @param {String} p2
  6740. * @return {String}
  6741. * @api private
  6742. */
  6743. function prefixTransitionCallback(match, p1, p2) {
  6744. if (p1 === 'var') return 'var';
  6745. if (p1 === 'all') return 'all';
  6746. if (p2 === 'all') return ', all';
  6747. var prefixedValue = p1 ? supportedProperty(p1) : ", " + supportedProperty(p2);
  6748. if (!prefixedValue) return p1 || p2;
  6749. return prefixedValue;
  6750. }
  6751. if (is_in_browser__WEBPACK_IMPORTED_MODULE_0__["default"]) el$1 = document.createElement('p');
  6752. /**
  6753. * Returns prefixed value if needed. Returns `false` if value is not supported.
  6754. *
  6755. * @param {String} property
  6756. * @param {String} value
  6757. * @return {String|Boolean}
  6758. * @api public
  6759. */
  6760. function supportedValue(property, value) {
  6761. // For server-side rendering.
  6762. var prefixedValue = value;
  6763. if (!el$1 || property === 'content') return value; // It is a string or a number as a string like '1'.
  6764. // We want only prefixable values here.
  6765. // eslint-disable-next-line no-restricted-globals
  6766. if (typeof prefixedValue !== 'string' || !isNaN(parseInt(prefixedValue, 10))) {
  6767. return prefixedValue;
  6768. } // Create cache key for current value.
  6769. var cacheKey = property + prefixedValue; // Remove cache for benchmark tests or return value from cache.
  6770. if ( true && cache$1[cacheKey] != null) {
  6771. return cache$1[cacheKey];
  6772. } // IE can even throw an error in some cases, for e.g. style.content = 'bar'.
  6773. try {
  6774. // Test value as it is.
  6775. el$1.style[property] = prefixedValue;
  6776. } catch (err) {
  6777. // Return false if value not supported.
  6778. cache$1[cacheKey] = false;
  6779. return false;
  6780. } // If 'transition' or 'transition-property' property.
  6781. if (transitionProperties[property]) {
  6782. prefixedValue = prefixedValue.replace(transPropsRegExp, prefixTransitionCallback);
  6783. } else if (el$1.style[property] === '') {
  6784. // Value with a vendor prefix.
  6785. prefixedValue = prefix.css + prefixedValue; // Hardcode test to convert "flex" to "-ms-flexbox" for IE10.
  6786. if (prefixedValue === '-ms-flex') el$1.style[property] = '-ms-flexbox'; // Test prefixed value.
  6787. el$1.style[property] = prefixedValue; // Return false if value not supported.
  6788. if (el$1.style[property] === '') {
  6789. cache$1[cacheKey] = false;
  6790. return false;
  6791. }
  6792. } // Reset styles for current property.
  6793. el$1.style[property] = ''; // Write current value to cache.
  6794. cache$1[cacheKey] = prefixedValue;
  6795. return cache$1[cacheKey];
  6796. }
  6797. /***/ }),
  6798. /***/ "./node_modules/jss/dist/jss.esm.js":
  6799. /*!******************************************!*\
  6800. !*** ./node_modules/jss/dist/jss.esm.js ***!
  6801. \******************************************/
  6802. /*! exports provided: default, RuleList, SheetsManager, SheetsRegistry, create, createGenerateId, createRule, getDynamicStyles, hasCSSTOMSupport, sheets, toCssValue */
  6803. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  6804. "use strict";
  6805. __webpack_require__.r(__webpack_exports__);
  6806. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RuleList", function() { return RuleList; });
  6807. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SheetsManager", function() { return SheetsManager; });
  6808. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SheetsRegistry", function() { return SheetsRegistry; });
  6809. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "create", function() { return create; });
  6810. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createGenerateId", function() { return createGenerateId; });
  6811. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createRule", function() { return createRule; });
  6812. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getDynamicStyles", function() { return getDynamicStyles; });
  6813. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hasCSSTOMSupport", function() { return hasCSSTOMSupport; });
  6814. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sheets", function() { return registry; });
  6815. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "toCssValue", function() { return toCssValue; });
  6816. /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
  6817. /* harmony import */ var is_in_browser__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! is-in-browser */ "./node_modules/is-in-browser/dist/module.js");
  6818. /* harmony import */ var tiny_warning__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! tiny-warning */ "./node_modules/tiny-warning/dist/tiny-warning.esm.js");
  6819. /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
  6820. /* harmony import */ var _babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inheritsLoose */ "./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js");
  6821. /* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
  6822. /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
  6823. var plainObjectConstrurctor = {}.constructor;
  6824. function cloneStyle(style) {
  6825. if (style == null || typeof style !== 'object') return style;
  6826. if (Array.isArray(style)) return style.map(cloneStyle);
  6827. if (style.constructor !== plainObjectConstrurctor) return style;
  6828. var newStyle = {};
  6829. for (var name in style) {
  6830. newStyle[name] = cloneStyle(style[name]);
  6831. }
  6832. return newStyle;
  6833. }
  6834. /**
  6835. * Create a rule instance.
  6836. */
  6837. function createRule(name, decl, options) {
  6838. if (name === void 0) {
  6839. name = 'unnamed';
  6840. }
  6841. var jss = options.jss;
  6842. var declCopy = cloneStyle(decl);
  6843. var rule = jss.plugins.onCreateRule(name, declCopy, options);
  6844. if (rule) return rule; // It is an at-rule and it has no instance.
  6845. if (name[0] === '@') {
  6846. true ? Object(tiny_warning__WEBPACK_IMPORTED_MODULE_2__["default"])(false, "[JSS] Unknown rule " + name) : undefined;
  6847. }
  6848. return null;
  6849. }
  6850. var join = function join(value, by) {
  6851. var result = '';
  6852. for (var i = 0; i < value.length; i++) {
  6853. // Remove !important from the value, it will be readded later.
  6854. if (value[i] === '!important') break;
  6855. if (result) result += by;
  6856. result += value[i];
  6857. }
  6858. return result;
  6859. };
  6860. /**
  6861. * Converts array values to string.
  6862. *
  6863. * `margin: [['5px', '10px']]` > `margin: 5px 10px;`
  6864. * `border: ['1px', '2px']` > `border: 1px, 2px;`
  6865. * `margin: [['5px', '10px'], '!important']` > `margin: 5px 10px !important;`
  6866. * `color: ['red', !important]` > `color: red !important;`
  6867. */
  6868. var toCssValue = function toCssValue(value, ignoreImportant) {
  6869. if (ignoreImportant === void 0) {
  6870. ignoreImportant = false;
  6871. }
  6872. if (!Array.isArray(value)) return value;
  6873. var cssValue = ''; // Support space separated values via `[['5px', '10px']]`.
  6874. if (Array.isArray(value[0])) {
  6875. for (var i = 0; i < value.length; i++) {
  6876. if (value[i] === '!important') break;
  6877. if (cssValue) cssValue += ', ';
  6878. cssValue += join(value[i], ' ');
  6879. }
  6880. } else cssValue = join(value, ', '); // Add !important, because it was ignored.
  6881. if (!ignoreImportant && value[value.length - 1] === '!important') {
  6882. cssValue += ' !important';
  6883. }
  6884. return cssValue;
  6885. };
  6886. /**
  6887. * Indent a string.
  6888. * http://jsperf.com/array-join-vs-for
  6889. */
  6890. function indentStr(str, indent) {
  6891. var result = '';
  6892. for (var index = 0; index < indent; index++) {
  6893. result += ' ';
  6894. }
  6895. return result + str;
  6896. }
  6897. /**
  6898. * Converts a Rule to CSS string.
  6899. */
  6900. function toCss(selector, style, options) {
  6901. if (options === void 0) {
  6902. options = {};
  6903. }
  6904. var result = '';
  6905. if (!style) return result;
  6906. var _options = options,
  6907. _options$indent = _options.indent,
  6908. indent = _options$indent === void 0 ? 0 : _options$indent;
  6909. var fallbacks = style.fallbacks;
  6910. if (selector) indent++; // Apply fallbacks first.
  6911. if (fallbacks) {
  6912. // Array syntax {fallbacks: [{prop: value}]}
  6913. if (Array.isArray(fallbacks)) {
  6914. for (var index = 0; index < fallbacks.length; index++) {
  6915. var fallback = fallbacks[index];
  6916. for (var prop in fallback) {
  6917. var value = fallback[prop];
  6918. if (value != null) {
  6919. if (result) result += '\n';
  6920. result += "" + indentStr(prop + ": " + toCssValue(value) + ";", indent);
  6921. }
  6922. }
  6923. }
  6924. } else {
  6925. // Object syntax {fallbacks: {prop: value}}
  6926. for (var _prop in fallbacks) {
  6927. var _value = fallbacks[_prop];
  6928. if (_value != null) {
  6929. if (result) result += '\n';
  6930. result += "" + indentStr(_prop + ": " + toCssValue(_value) + ";", indent);
  6931. }
  6932. }
  6933. }
  6934. }
  6935. for (var _prop2 in style) {
  6936. var _value2 = style[_prop2];
  6937. if (_value2 != null && _prop2 !== 'fallbacks') {
  6938. if (result) result += '\n';
  6939. result += "" + indentStr(_prop2 + ": " + toCssValue(_value2) + ";", indent);
  6940. }
  6941. } // Allow empty style in this case, because properties will be added dynamically.
  6942. if (!result && !options.allowEmpty) return result; // When rule is being stringified before selector was defined.
  6943. if (!selector) return result;
  6944. indent--;
  6945. if (result) result = "\n" + result + "\n";
  6946. return indentStr(selector + " {" + result, indent) + indentStr('}', indent);
  6947. }
  6948. var escapeRegex = /([[\].#*$><+~=|^:(),"'`\s])/g;
  6949. var nativeEscape = typeof CSS !== 'undefined' && CSS.escape;
  6950. var escape = (function (str) {
  6951. return nativeEscape ? nativeEscape(str) : str.replace(escapeRegex, '\\$1');
  6952. });
  6953. var BaseStyleRule =
  6954. /*#__PURE__*/
  6955. function () {
  6956. function BaseStyleRule(key, style, options) {
  6957. this.type = 'style';
  6958. this.key = void 0;
  6959. this.isProcessed = false;
  6960. this.style = void 0;
  6961. this.renderer = void 0;
  6962. this.renderable = void 0;
  6963. this.options = void 0;
  6964. var sheet = options.sheet,
  6965. Renderer = options.Renderer;
  6966. this.key = key;
  6967. this.options = options;
  6968. this.style = style;
  6969. if (sheet) this.renderer = sheet.renderer;else if (Renderer) this.renderer = new Renderer();
  6970. }
  6971. /**
  6972. * Get or set a style property.
  6973. */
  6974. var _proto = BaseStyleRule.prototype;
  6975. _proto.prop = function prop(name, value, options) {
  6976. // It's a getter.
  6977. if (value === undefined) return this.style[name]; // Don't do anything if the value has not changed.
  6978. var force = options ? options.force : false;
  6979. if (!force && this.style[name] === value) return this;
  6980. var newValue = value;
  6981. if (!options || options.process !== false) {
  6982. newValue = this.options.jss.plugins.onChangeValue(value, name, this);
  6983. }
  6984. var isEmpty = newValue == null || newValue === false;
  6985. var isDefined = name in this.style; // Value is empty and wasn't defined before.
  6986. if (isEmpty && !isDefined && !force) return this; // We are going to remove this value.
  6987. var remove = isEmpty && isDefined;
  6988. if (remove) delete this.style[name];else this.style[name] = newValue; // Renderable is defined if StyleSheet option `link` is true.
  6989. if (this.renderable && this.renderer) {
  6990. if (remove) this.renderer.removeProperty(this.renderable, name);else this.renderer.setProperty(this.renderable, name, newValue);
  6991. return this;
  6992. }
  6993. var sheet = this.options.sheet;
  6994. if (sheet && sheet.attached) {
  6995. true ? Object(tiny_warning__WEBPACK_IMPORTED_MODULE_2__["default"])(false, '[JSS] Rule is not linked. Missing sheet option "link: true".') : undefined;
  6996. }
  6997. return this;
  6998. };
  6999. return BaseStyleRule;
  7000. }();
  7001. var StyleRule =
  7002. /*#__PURE__*/
  7003. function (_BaseStyleRule) {
  7004. Object(_babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_4__["default"])(StyleRule, _BaseStyleRule);
  7005. function StyleRule(key, style, options) {
  7006. var _this;
  7007. _this = _BaseStyleRule.call(this, key, style, options) || this;
  7008. _this.selectorText = void 0;
  7009. _this.id = void 0;
  7010. _this.renderable = void 0;
  7011. var selector = options.selector,
  7012. scoped = options.scoped,
  7013. sheet = options.sheet,
  7014. generateId = options.generateId;
  7015. if (selector) {
  7016. _this.selectorText = selector;
  7017. } else if (scoped !== false) {
  7018. _this.id = generateId(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(_this)), sheet);
  7019. _this.selectorText = "." + escape(_this.id);
  7020. }
  7021. return _this;
  7022. }
  7023. /**
  7024. * Set selector string.
  7025. * Attention: use this with caution. Most browsers didn't implement
  7026. * selectorText setter, so this may result in rerendering of entire Style Sheet.
  7027. */
  7028. var _proto2 = StyleRule.prototype;
  7029. /**
  7030. * Apply rule to an element inline.
  7031. */
  7032. _proto2.applyTo = function applyTo(renderable) {
  7033. var renderer = this.renderer;
  7034. if (renderer) {
  7035. var json = this.toJSON();
  7036. for (var prop in json) {
  7037. renderer.setProperty(renderable, prop, json[prop]);
  7038. }
  7039. }
  7040. return this;
  7041. }
  7042. /**
  7043. * Returns JSON representation of the rule.
  7044. * Fallbacks are not supported.
  7045. * Useful for inline styles.
  7046. */
  7047. ;
  7048. _proto2.toJSON = function toJSON() {
  7049. var json = {};
  7050. for (var prop in this.style) {
  7051. var value = this.style[prop];
  7052. if (typeof value !== 'object') json[prop] = value;else if (Array.isArray(value)) json[prop] = toCssValue(value);
  7053. }
  7054. return json;
  7055. }
  7056. /**
  7057. * Generates a CSS string.
  7058. */
  7059. ;
  7060. _proto2.toString = function toString(options) {
  7061. var sheet = this.options.sheet;
  7062. var link = sheet ? sheet.options.link : false;
  7063. var opts = link ? Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, options, {
  7064. allowEmpty: true
  7065. }) : options;
  7066. return toCss(this.selectorText, this.style, opts);
  7067. };
  7068. Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(StyleRule, [{
  7069. key: "selector",
  7070. set: function set(selector) {
  7071. if (selector === this.selectorText) return;
  7072. this.selectorText = selector;
  7073. var renderer = this.renderer,
  7074. renderable = this.renderable;
  7075. if (!renderable || !renderer) return;
  7076. var hasChanged = renderer.setSelector(renderable, selector); // If selector setter is not implemented, rerender the rule.
  7077. if (!hasChanged) {
  7078. renderer.replaceRule(renderable, this);
  7079. }
  7080. }
  7081. /**
  7082. * Get selector string.
  7083. */
  7084. ,
  7085. get: function get() {
  7086. return this.selectorText;
  7087. }
  7088. }]);
  7089. return StyleRule;
  7090. }(BaseStyleRule);
  7091. var pluginStyleRule = {
  7092. onCreateRule: function onCreateRule(name, style, options) {
  7093. if (name[0] === '@' || options.parent && options.parent.type === 'keyframes') {
  7094. return null;
  7095. }
  7096. return new StyleRule(name, style, options);
  7097. }
  7098. };
  7099. var defaultToStringOptions = {
  7100. indent: 1,
  7101. children: true
  7102. };
  7103. var atRegExp = /@([\w-]+)/;
  7104. /**
  7105. * Conditional rule for @media, @supports
  7106. */
  7107. var ConditionalRule =
  7108. /*#__PURE__*/
  7109. function () {
  7110. function ConditionalRule(key, styles, options) {
  7111. this.type = 'conditional';
  7112. this.at = void 0;
  7113. this.key = void 0;
  7114. this.query = void 0;
  7115. this.rules = void 0;
  7116. this.options = void 0;
  7117. this.isProcessed = false;
  7118. this.renderable = void 0;
  7119. this.key = key;
  7120. var atMatch = key.match(atRegExp);
  7121. this.at = atMatch ? atMatch[1] : 'unknown'; // Key might contain a unique suffix in case the `name` passed by user was duplicate.
  7122. this.query = options.name || "@" + this.at;
  7123. this.options = options;
  7124. this.rules = new RuleList(Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, options, {
  7125. parent: this
  7126. }));
  7127. for (var name in styles) {
  7128. this.rules.add(name, styles[name]);
  7129. }
  7130. this.rules.process();
  7131. }
  7132. /**
  7133. * Get a rule.
  7134. */
  7135. var _proto = ConditionalRule.prototype;
  7136. _proto.getRule = function getRule(name) {
  7137. return this.rules.get(name);
  7138. }
  7139. /**
  7140. * Get index of a rule.
  7141. */
  7142. ;
  7143. _proto.indexOf = function indexOf(rule) {
  7144. return this.rules.indexOf(rule);
  7145. }
  7146. /**
  7147. * Create and register rule, run plugins.
  7148. */
  7149. ;
  7150. _proto.addRule = function addRule(name, style, options) {
  7151. var rule = this.rules.add(name, style, options);
  7152. if (!rule) return null;
  7153. this.options.jss.plugins.onProcessRule(rule);
  7154. return rule;
  7155. }
  7156. /**
  7157. * Generates a CSS string.
  7158. */
  7159. ;
  7160. _proto.toString = function toString(options) {
  7161. if (options === void 0) {
  7162. options = defaultToStringOptions;
  7163. }
  7164. if (options.indent == null) options.indent = defaultToStringOptions.indent;
  7165. if (options.children == null) options.children = defaultToStringOptions.children;
  7166. if (options.children === false) {
  7167. return this.query + " {}";
  7168. }
  7169. var children = this.rules.toString(options);
  7170. return children ? this.query + " {\n" + children + "\n}" : '';
  7171. };
  7172. return ConditionalRule;
  7173. }();
  7174. var keyRegExp = /@media|@supports\s+/;
  7175. var pluginConditionalRule = {
  7176. onCreateRule: function onCreateRule(key, styles, options) {
  7177. return keyRegExp.test(key) ? new ConditionalRule(key, styles, options) : null;
  7178. }
  7179. };
  7180. var defaultToStringOptions$1 = {
  7181. indent: 1,
  7182. children: true
  7183. };
  7184. var nameRegExp = /@keyframes\s+([\w-]+)/;
  7185. /**
  7186. * Rule for @keyframes
  7187. */
  7188. var KeyframesRule =
  7189. /*#__PURE__*/
  7190. function () {
  7191. function KeyframesRule(key, frames, options) {
  7192. this.type = 'keyframes';
  7193. this.at = '@keyframes';
  7194. this.key = void 0;
  7195. this.name = void 0;
  7196. this.id = void 0;
  7197. this.rules = void 0;
  7198. this.options = void 0;
  7199. this.isProcessed = false;
  7200. this.renderable = void 0;
  7201. var nameMatch = key.match(nameRegExp);
  7202. if (nameMatch && nameMatch[1]) {
  7203. this.name = nameMatch[1];
  7204. } else {
  7205. this.name = 'noname';
  7206. true ? Object(tiny_warning__WEBPACK_IMPORTED_MODULE_2__["default"])(false, "[JSS] Bad keyframes name " + key) : undefined;
  7207. }
  7208. this.key = this.type + "-" + this.name;
  7209. this.options = options;
  7210. var scoped = options.scoped,
  7211. sheet = options.sheet,
  7212. generateId = options.generateId;
  7213. this.id = scoped === false ? this.name : escape(generateId(this, sheet));
  7214. this.rules = new RuleList(Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, options, {
  7215. parent: this
  7216. }));
  7217. for (var name in frames) {
  7218. this.rules.add(name, frames[name], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, options, {
  7219. parent: this
  7220. }));
  7221. }
  7222. this.rules.process();
  7223. }
  7224. /**
  7225. * Generates a CSS string.
  7226. */
  7227. var _proto = KeyframesRule.prototype;
  7228. _proto.toString = function toString(options) {
  7229. if (options === void 0) {
  7230. options = defaultToStringOptions$1;
  7231. }
  7232. if (options.indent == null) options.indent = defaultToStringOptions$1.indent;
  7233. if (options.children == null) options.children = defaultToStringOptions$1.children;
  7234. if (options.children === false) {
  7235. return this.at + " " + this.id + " {}";
  7236. }
  7237. var children = this.rules.toString(options);
  7238. if (children) children = "\n" + children + "\n";
  7239. return this.at + " " + this.id + " {" + children + "}";
  7240. };
  7241. return KeyframesRule;
  7242. }();
  7243. var keyRegExp$1 = /@keyframes\s+/;
  7244. var refRegExp = /\$([\w-]+)/g;
  7245. var findReferencedKeyframe = function findReferencedKeyframe(val, keyframes) {
  7246. if (typeof val === 'string') {
  7247. return val.replace(refRegExp, function (match, name) {
  7248. if (name in keyframes) {
  7249. return keyframes[name];
  7250. }
  7251. true ? Object(tiny_warning__WEBPACK_IMPORTED_MODULE_2__["default"])(false, "[JSS] Referenced keyframes rule \"" + name + "\" is not defined.") : undefined;
  7252. return match;
  7253. });
  7254. }
  7255. return val;
  7256. };
  7257. /**
  7258. * Replace the reference for a animation name.
  7259. */
  7260. var replaceRef = function replaceRef(style, prop, keyframes) {
  7261. var value = style[prop];
  7262. var refKeyframe = findReferencedKeyframe(value, keyframes);
  7263. if (refKeyframe !== value) {
  7264. style[prop] = refKeyframe;
  7265. }
  7266. };
  7267. var plugin = {
  7268. onCreateRule: function onCreateRule(key, frames, options) {
  7269. return typeof key === 'string' && keyRegExp$1.test(key) ? new KeyframesRule(key, frames, options) : null;
  7270. },
  7271. // Animation name ref replacer.
  7272. onProcessStyle: function onProcessStyle(style, rule, sheet) {
  7273. if (rule.type !== 'style' || !sheet) return style;
  7274. if ('animation-name' in style) replaceRef(style, 'animation-name', sheet.keyframes);
  7275. if ('animation' in style) replaceRef(style, 'animation', sheet.keyframes);
  7276. return style;
  7277. },
  7278. onChangeValue: function onChangeValue(val, prop, rule) {
  7279. var sheet = rule.options.sheet;
  7280. if (!sheet) {
  7281. return val;
  7282. }
  7283. switch (prop) {
  7284. case 'animation':
  7285. return findReferencedKeyframe(val, sheet.keyframes);
  7286. case 'animation-name':
  7287. return findReferencedKeyframe(val, sheet.keyframes);
  7288. default:
  7289. return val;
  7290. }
  7291. }
  7292. };
  7293. var KeyframeRule =
  7294. /*#__PURE__*/
  7295. function (_BaseStyleRule) {
  7296. Object(_babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_4__["default"])(KeyframeRule, _BaseStyleRule);
  7297. function KeyframeRule() {
  7298. var _this;
  7299. for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
  7300. args[_key] = arguments[_key];
  7301. }
  7302. _this = _BaseStyleRule.call.apply(_BaseStyleRule, [this].concat(args)) || this;
  7303. _this.renderable = void 0;
  7304. return _this;
  7305. }
  7306. var _proto = KeyframeRule.prototype;
  7307. /**
  7308. * Generates a CSS string.
  7309. */
  7310. _proto.toString = function toString(options) {
  7311. var sheet = this.options.sheet;
  7312. var link = sheet ? sheet.options.link : false;
  7313. var opts = link ? Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, options, {
  7314. allowEmpty: true
  7315. }) : options;
  7316. return toCss(this.key, this.style, opts);
  7317. };
  7318. return KeyframeRule;
  7319. }(BaseStyleRule);
  7320. var pluginKeyframeRule = {
  7321. onCreateRule: function onCreateRule(key, style, options) {
  7322. if (options.parent && options.parent.type === 'keyframes') {
  7323. return new KeyframeRule(key, style, options);
  7324. }
  7325. return null;
  7326. }
  7327. };
  7328. var FontFaceRule =
  7329. /*#__PURE__*/
  7330. function () {
  7331. function FontFaceRule(key, style, options) {
  7332. this.type = 'font-face';
  7333. this.at = '@font-face';
  7334. this.key = void 0;
  7335. this.style = void 0;
  7336. this.options = void 0;
  7337. this.isProcessed = false;
  7338. this.renderable = void 0;
  7339. this.key = key;
  7340. this.style = style;
  7341. this.options = options;
  7342. }
  7343. /**
  7344. * Generates a CSS string.
  7345. */
  7346. var _proto = FontFaceRule.prototype;
  7347. _proto.toString = function toString(options) {
  7348. if (Array.isArray(this.style)) {
  7349. var str = '';
  7350. for (var index = 0; index < this.style.length; index++) {
  7351. str += toCss(this.at, this.style[index]);
  7352. if (this.style[index + 1]) str += '\n';
  7353. }
  7354. return str;
  7355. }
  7356. return toCss(this.at, this.style, options);
  7357. };
  7358. return FontFaceRule;
  7359. }();
  7360. var keyRegExp$2 = /@font-face/;
  7361. var pluginFontFaceRule = {
  7362. onCreateRule: function onCreateRule(key, style, options) {
  7363. return keyRegExp$2.test(key) ? new FontFaceRule(key, style, options) : null;
  7364. }
  7365. };
  7366. var ViewportRule =
  7367. /*#__PURE__*/
  7368. function () {
  7369. function ViewportRule(key, style, options) {
  7370. this.type = 'viewport';
  7371. this.at = '@viewport';
  7372. this.key = void 0;
  7373. this.style = void 0;
  7374. this.options = void 0;
  7375. this.isProcessed = false;
  7376. this.renderable = void 0;
  7377. this.key = key;
  7378. this.style = style;
  7379. this.options = options;
  7380. }
  7381. /**
  7382. * Generates a CSS string.
  7383. */
  7384. var _proto = ViewportRule.prototype;
  7385. _proto.toString = function toString(options) {
  7386. return toCss(this.key, this.style, options);
  7387. };
  7388. return ViewportRule;
  7389. }();
  7390. var pluginViewportRule = {
  7391. onCreateRule: function onCreateRule(key, style, options) {
  7392. return key === '@viewport' || key === '@-ms-viewport' ? new ViewportRule(key, style, options) : null;
  7393. }
  7394. };
  7395. var SimpleRule =
  7396. /*#__PURE__*/
  7397. function () {
  7398. function SimpleRule(key, value, options) {
  7399. this.type = 'simple';
  7400. this.key = void 0;
  7401. this.value = void 0;
  7402. this.options = void 0;
  7403. this.isProcessed = false;
  7404. this.renderable = void 0;
  7405. this.key = key;
  7406. this.value = value;
  7407. this.options = options;
  7408. }
  7409. /**
  7410. * Generates a CSS string.
  7411. */
  7412. // eslint-disable-next-line no-unused-vars
  7413. var _proto = SimpleRule.prototype;
  7414. _proto.toString = function toString(options) {
  7415. if (Array.isArray(this.value)) {
  7416. var str = '';
  7417. for (var index = 0; index < this.value.length; index++) {
  7418. str += this.key + " " + this.value[index] + ";";
  7419. if (this.value[index + 1]) str += '\n';
  7420. }
  7421. return str;
  7422. }
  7423. return this.key + " " + this.value + ";";
  7424. };
  7425. return SimpleRule;
  7426. }();
  7427. var keysMap = {
  7428. '@charset': true,
  7429. '@import': true,
  7430. '@namespace': true
  7431. };
  7432. var pluginSimpleRule = {
  7433. onCreateRule: function onCreateRule(key, value, options) {
  7434. return key in keysMap ? new SimpleRule(key, value, options) : null;
  7435. }
  7436. };
  7437. var plugins = [pluginStyleRule, pluginConditionalRule, plugin, pluginKeyframeRule, pluginFontFaceRule, pluginViewportRule, pluginSimpleRule];
  7438. var defaultUpdateOptions = {
  7439. process: true
  7440. };
  7441. var forceUpdateOptions = {
  7442. force: true,
  7443. process: true
  7444. /**
  7445. * Contains rules objects and allows adding/removing etc.
  7446. * Is used for e.g. by `StyleSheet` or `ConditionalRule`.
  7447. */
  7448. };
  7449. var RuleList =
  7450. /*#__PURE__*/
  7451. function () {
  7452. // Rules registry for access by .get() method.
  7453. // It contains the same rule registered by name and by selector.
  7454. // Original styles object.
  7455. // Used to ensure correct rules order.
  7456. function RuleList(options) {
  7457. this.map = {};
  7458. this.raw = {};
  7459. this.index = [];
  7460. this.counter = 0;
  7461. this.options = void 0;
  7462. this.classes = void 0;
  7463. this.keyframes = void 0;
  7464. this.options = options;
  7465. this.classes = options.classes;
  7466. this.keyframes = options.keyframes;
  7467. }
  7468. /**
  7469. * Create and register rule.
  7470. *
  7471. * Will not render after Style Sheet was rendered the first time.
  7472. */
  7473. var _proto = RuleList.prototype;
  7474. _proto.add = function add(name, decl, ruleOptions) {
  7475. var _this$options = this.options,
  7476. parent = _this$options.parent,
  7477. sheet = _this$options.sheet,
  7478. jss = _this$options.jss,
  7479. Renderer = _this$options.Renderer,
  7480. generateId = _this$options.generateId,
  7481. scoped = _this$options.scoped;
  7482. var options = Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
  7483. classes: this.classes,
  7484. parent: parent,
  7485. sheet: sheet,
  7486. jss: jss,
  7487. Renderer: Renderer,
  7488. generateId: generateId,
  7489. scoped: scoped,
  7490. name: name,
  7491. keyframes: this.keyframes,
  7492. selector: undefined
  7493. }, ruleOptions); // When user uses .createStyleSheet(), duplicate names are not possible, but
  7494. // `sheet.addRule()` opens the door for any duplicate rule name. When this happens
  7495. // we need to make the key unique within this RuleList instance scope.
  7496. var key = name;
  7497. if (name in this.raw) {
  7498. key = name + "-d" + this.counter++;
  7499. } // We need to save the original decl before creating the rule
  7500. // because cache plugin needs to use it as a key to return a cached rule.
  7501. this.raw[key] = decl;
  7502. if (key in this.classes) {
  7503. // E.g. rules inside of @media container
  7504. options.selector = "." + escape(this.classes[key]);
  7505. }
  7506. var rule = createRule(key, decl, options);
  7507. if (!rule) return null;
  7508. this.register(rule);
  7509. var index = options.index === undefined ? this.index.length : options.index;
  7510. this.index.splice(index, 0, rule);
  7511. return rule;
  7512. }
  7513. /**
  7514. * Get a rule.
  7515. */
  7516. ;
  7517. _proto.get = function get(name) {
  7518. return this.map[name];
  7519. }
  7520. /**
  7521. * Delete a rule.
  7522. */
  7523. ;
  7524. _proto.remove = function remove(rule) {
  7525. this.unregister(rule);
  7526. delete this.raw[rule.key];
  7527. this.index.splice(this.index.indexOf(rule), 1);
  7528. }
  7529. /**
  7530. * Get index of a rule.
  7531. */
  7532. ;
  7533. _proto.indexOf = function indexOf(rule) {
  7534. return this.index.indexOf(rule);
  7535. }
  7536. /**
  7537. * Run `onProcessRule()` plugins on every rule.
  7538. */
  7539. ;
  7540. _proto.process = function process() {
  7541. var plugins = this.options.jss.plugins; // We need to clone array because if we modify the index somewhere else during a loop
  7542. // we end up with very hard-to-track-down side effects.
  7543. this.index.slice(0).forEach(plugins.onProcessRule, plugins);
  7544. }
  7545. /**
  7546. * Register a rule in `.map`, `.classes` and `.keyframes` maps.
  7547. */
  7548. ;
  7549. _proto.register = function register(rule) {
  7550. this.map[rule.key] = rule;
  7551. if (rule instanceof StyleRule) {
  7552. this.map[rule.selector] = rule;
  7553. if (rule.id) this.classes[rule.key] = rule.id;
  7554. } else if (rule instanceof KeyframesRule && this.keyframes) {
  7555. this.keyframes[rule.name] = rule.id;
  7556. }
  7557. }
  7558. /**
  7559. * Unregister a rule.
  7560. */
  7561. ;
  7562. _proto.unregister = function unregister(rule) {
  7563. delete this.map[rule.key];
  7564. if (rule instanceof StyleRule) {
  7565. delete this.map[rule.selector];
  7566. delete this.classes[rule.key];
  7567. } else if (rule instanceof KeyframesRule) {
  7568. delete this.keyframes[rule.name];
  7569. }
  7570. }
  7571. /**
  7572. * Update the function values with a new data.
  7573. */
  7574. ;
  7575. _proto.update = function update() {
  7576. var name;
  7577. var data;
  7578. var options;
  7579. if (typeof (arguments.length <= 0 ? undefined : arguments[0]) === 'string') {
  7580. name = arguments.length <= 0 ? undefined : arguments[0]; // $FlowFixMe[invalid-tuple-index]
  7581. data = arguments.length <= 1 ? undefined : arguments[1]; // $FlowFixMe[invalid-tuple-index]
  7582. options = arguments.length <= 2 ? undefined : arguments[2];
  7583. } else {
  7584. data = arguments.length <= 0 ? undefined : arguments[0]; // $FlowFixMe[invalid-tuple-index]
  7585. options = arguments.length <= 1 ? undefined : arguments[1];
  7586. name = null;
  7587. }
  7588. if (name) {
  7589. this.updateOne(this.map[name], data, options);
  7590. } else {
  7591. for (var index = 0; index < this.index.length; index++) {
  7592. this.updateOne(this.index[index], data, options);
  7593. }
  7594. }
  7595. }
  7596. /**
  7597. * Execute plugins, update rule props.
  7598. */
  7599. ;
  7600. _proto.updateOne = function updateOne(rule, data, options) {
  7601. if (options === void 0) {
  7602. options = defaultUpdateOptions;
  7603. }
  7604. var _this$options2 = this.options,
  7605. plugins = _this$options2.jss.plugins,
  7606. sheet = _this$options2.sheet; // It is a rules container like for e.g. ConditionalRule.
  7607. if (rule.rules instanceof RuleList) {
  7608. rule.rules.update(data, options);
  7609. return;
  7610. }
  7611. var styleRule = rule;
  7612. var style = styleRule.style;
  7613. plugins.onUpdate(data, rule, sheet, options); // We rely on a new `style` ref in case it was mutated during onUpdate hook.
  7614. if (options.process && style && style !== styleRule.style) {
  7615. // We need to run the plugins in case new `style` relies on syntax plugins.
  7616. plugins.onProcessStyle(styleRule.style, styleRule, sheet); // Update and add props.
  7617. for (var prop in styleRule.style) {
  7618. var nextValue = styleRule.style[prop];
  7619. var prevValue = style[prop]; // We need to use `force: true` because `rule.style` has been updated during onUpdate hook, so `rule.prop()` will not update the CSSOM rule.
  7620. // We do this comparison to avoid unneeded `rule.prop()` calls, since we have the old `style` object here.
  7621. if (nextValue !== prevValue) {
  7622. styleRule.prop(prop, nextValue, forceUpdateOptions);
  7623. }
  7624. } // Remove props.
  7625. for (var _prop in style) {
  7626. var _nextValue = styleRule.style[_prop];
  7627. var _prevValue = style[_prop]; // We need to use `force: true` because `rule.style` has been updated during onUpdate hook, so `rule.prop()` will not update the CSSOM rule.
  7628. // We do this comparison to avoid unneeded `rule.prop()` calls, since we have the old `style` object here.
  7629. if (_nextValue == null && _nextValue !== _prevValue) {
  7630. styleRule.prop(_prop, null, forceUpdateOptions);
  7631. }
  7632. }
  7633. }
  7634. }
  7635. /**
  7636. * Convert rules to a CSS string.
  7637. */
  7638. ;
  7639. _proto.toString = function toString(options) {
  7640. var str = '';
  7641. var sheet = this.options.sheet;
  7642. var link = sheet ? sheet.options.link : false;
  7643. for (var index = 0; index < this.index.length; index++) {
  7644. var rule = this.index[index];
  7645. var css = rule.toString(options); // No need to render an empty rule.
  7646. if (!css && !link) continue;
  7647. if (str) str += '\n';
  7648. str += css;
  7649. }
  7650. return str;
  7651. };
  7652. return RuleList;
  7653. }();
  7654. var StyleSheet =
  7655. /*#__PURE__*/
  7656. function () {
  7657. function StyleSheet(styles, options) {
  7658. this.options = void 0;
  7659. this.deployed = void 0;
  7660. this.attached = void 0;
  7661. this.rules = void 0;
  7662. this.renderer = void 0;
  7663. this.classes = void 0;
  7664. this.keyframes = void 0;
  7665. this.queue = void 0;
  7666. this.attached = false;
  7667. this.deployed = false;
  7668. this.classes = {};
  7669. this.keyframes = {};
  7670. this.options = Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, options, {
  7671. sheet: this,
  7672. parent: this,
  7673. classes: this.classes,
  7674. keyframes: this.keyframes
  7675. });
  7676. if (options.Renderer) {
  7677. this.renderer = new options.Renderer(this);
  7678. }
  7679. this.rules = new RuleList(this.options);
  7680. for (var name in styles) {
  7681. this.rules.add(name, styles[name]);
  7682. }
  7683. this.rules.process();
  7684. }
  7685. /**
  7686. * Attach renderable to the render tree.
  7687. */
  7688. var _proto = StyleSheet.prototype;
  7689. _proto.attach = function attach() {
  7690. if (this.attached) return this;
  7691. if (this.renderer) this.renderer.attach();
  7692. this.attached = true; // Order is important, because we can't use insertRule API if style element is not attached.
  7693. if (!this.deployed) this.deploy();
  7694. return this;
  7695. }
  7696. /**
  7697. * Remove renderable from render tree.
  7698. */
  7699. ;
  7700. _proto.detach = function detach() {
  7701. if (!this.attached) return this;
  7702. if (this.renderer) this.renderer.detach();
  7703. this.attached = false;
  7704. return this;
  7705. }
  7706. /**
  7707. * Add a rule to the current stylesheet.
  7708. * Will insert a rule also after the stylesheet has been rendered first time.
  7709. */
  7710. ;
  7711. _proto.addRule = function addRule(name, decl, options) {
  7712. var queue = this.queue; // Plugins can create rules.
  7713. // In order to preserve the right order, we need to queue all `.addRule` calls,
  7714. // which happen after the first `rules.add()` call.
  7715. if (this.attached && !queue) this.queue = [];
  7716. var rule = this.rules.add(name, decl, options);
  7717. if (!rule) return null;
  7718. this.options.jss.plugins.onProcessRule(rule);
  7719. if (this.attached) {
  7720. if (!this.deployed) return rule; // Don't insert rule directly if there is no stringified version yet.
  7721. // It will be inserted all together when .attach is called.
  7722. if (queue) queue.push(rule);else {
  7723. this.insertRule(rule);
  7724. if (this.queue) {
  7725. this.queue.forEach(this.insertRule, this);
  7726. this.queue = undefined;
  7727. }
  7728. }
  7729. return rule;
  7730. } // We can't add rules to a detached style node.
  7731. // We will redeploy the sheet once user will attach it.
  7732. this.deployed = false;
  7733. return rule;
  7734. }
  7735. /**
  7736. * Insert rule into the StyleSheet
  7737. */
  7738. ;
  7739. _proto.insertRule = function insertRule(rule) {
  7740. if (this.renderer) {
  7741. this.renderer.insertRule(rule);
  7742. }
  7743. }
  7744. /**
  7745. * Create and add rules.
  7746. * Will render also after Style Sheet was rendered the first time.
  7747. */
  7748. ;
  7749. _proto.addRules = function addRules(styles, options) {
  7750. var added = [];
  7751. for (var name in styles) {
  7752. var rule = this.addRule(name, styles[name], options);
  7753. if (rule) added.push(rule);
  7754. }
  7755. return added;
  7756. }
  7757. /**
  7758. * Get a rule by name.
  7759. */
  7760. ;
  7761. _proto.getRule = function getRule(name) {
  7762. return this.rules.get(name);
  7763. }
  7764. /**
  7765. * Delete a rule by name.
  7766. * Returns `true`: if rule has been deleted from the DOM.
  7767. */
  7768. ;
  7769. _proto.deleteRule = function deleteRule(name) {
  7770. var rule = typeof name === 'object' ? name : this.rules.get(name);
  7771. if (!rule || // Style sheet was created without link: true and attached, in this case we
  7772. // won't be able to remove the CSS rule from the DOM.
  7773. this.attached && !rule.renderable) {
  7774. return false;
  7775. }
  7776. this.rules.remove(rule);
  7777. if (this.attached && rule.renderable && this.renderer) {
  7778. return this.renderer.deleteRule(rule.renderable);
  7779. }
  7780. return true;
  7781. }
  7782. /**
  7783. * Get index of a rule.
  7784. */
  7785. ;
  7786. _proto.indexOf = function indexOf(rule) {
  7787. return this.rules.indexOf(rule);
  7788. }
  7789. /**
  7790. * Deploy pure CSS string to a renderable.
  7791. */
  7792. ;
  7793. _proto.deploy = function deploy() {
  7794. if (this.renderer) this.renderer.deploy();
  7795. this.deployed = true;
  7796. return this;
  7797. }
  7798. /**
  7799. * Update the function values with a new data.
  7800. */
  7801. ;
  7802. _proto.update = function update() {
  7803. var _this$rules;
  7804. (_this$rules = this.rules).update.apply(_this$rules, arguments);
  7805. return this;
  7806. }
  7807. /**
  7808. * Updates a single rule.
  7809. */
  7810. ;
  7811. _proto.updateOne = function updateOne(rule, data, options) {
  7812. this.rules.updateOne(rule, data, options);
  7813. return this;
  7814. }
  7815. /**
  7816. * Convert rules to a CSS string.
  7817. */
  7818. ;
  7819. _proto.toString = function toString(options) {
  7820. return this.rules.toString(options);
  7821. };
  7822. return StyleSheet;
  7823. }();
  7824. var PluginsRegistry =
  7825. /*#__PURE__*/
  7826. function () {
  7827. function PluginsRegistry() {
  7828. this.plugins = {
  7829. internal: [],
  7830. external: []
  7831. };
  7832. this.registry = void 0;
  7833. }
  7834. var _proto = PluginsRegistry.prototype;
  7835. /**
  7836. * Call `onCreateRule` hooks and return an object if returned by a hook.
  7837. */
  7838. _proto.onCreateRule = function onCreateRule(name, decl, options) {
  7839. for (var i = 0; i < this.registry.onCreateRule.length; i++) {
  7840. var rule = this.registry.onCreateRule[i](name, decl, options);
  7841. if (rule) return rule;
  7842. }
  7843. return null;
  7844. }
  7845. /**
  7846. * Call `onProcessRule` hooks.
  7847. */
  7848. ;
  7849. _proto.onProcessRule = function onProcessRule(rule) {
  7850. if (rule.isProcessed) return;
  7851. var sheet = rule.options.sheet;
  7852. for (var i = 0; i < this.registry.onProcessRule.length; i++) {
  7853. this.registry.onProcessRule[i](rule, sheet);
  7854. }
  7855. if (rule.style) this.onProcessStyle(rule.style, rule, sheet);
  7856. rule.isProcessed = true;
  7857. }
  7858. /**
  7859. * Call `onProcessStyle` hooks.
  7860. */
  7861. ;
  7862. _proto.onProcessStyle = function onProcessStyle(style, rule, sheet) {
  7863. for (var i = 0; i < this.registry.onProcessStyle.length; i++) {
  7864. // $FlowFixMe[prop-missing]
  7865. rule.style = this.registry.onProcessStyle[i](rule.style, rule, sheet);
  7866. }
  7867. }
  7868. /**
  7869. * Call `onProcessSheet` hooks.
  7870. */
  7871. ;
  7872. _proto.onProcessSheet = function onProcessSheet(sheet) {
  7873. for (var i = 0; i < this.registry.onProcessSheet.length; i++) {
  7874. this.registry.onProcessSheet[i](sheet);
  7875. }
  7876. }
  7877. /**
  7878. * Call `onUpdate` hooks.
  7879. */
  7880. ;
  7881. _proto.onUpdate = function onUpdate(data, rule, sheet, options) {
  7882. for (var i = 0; i < this.registry.onUpdate.length; i++) {
  7883. this.registry.onUpdate[i](data, rule, sheet, options);
  7884. }
  7885. }
  7886. /**
  7887. * Call `onChangeValue` hooks.
  7888. */
  7889. ;
  7890. _proto.onChangeValue = function onChangeValue(value, prop, rule) {
  7891. var processedValue = value;
  7892. for (var i = 0; i < this.registry.onChangeValue.length; i++) {
  7893. processedValue = this.registry.onChangeValue[i](processedValue, prop, rule);
  7894. }
  7895. return processedValue;
  7896. }
  7897. /**
  7898. * Register a plugin.
  7899. */
  7900. ;
  7901. _proto.use = function use(newPlugin, options) {
  7902. if (options === void 0) {
  7903. options = {
  7904. queue: 'external'
  7905. };
  7906. }
  7907. var plugins = this.plugins[options.queue]; // Avoids applying same plugin twice, at least based on ref.
  7908. if (plugins.indexOf(newPlugin) !== -1) {
  7909. return;
  7910. }
  7911. plugins.push(newPlugin);
  7912. this.registry = [].concat(this.plugins.external, this.plugins.internal).reduce(function (registry, plugin) {
  7913. for (var name in plugin) {
  7914. if (name in registry) {
  7915. registry[name].push(plugin[name]);
  7916. } else {
  7917. true ? Object(tiny_warning__WEBPACK_IMPORTED_MODULE_2__["default"])(false, "[JSS] Unknown hook \"" + name + "\".") : undefined;
  7918. }
  7919. }
  7920. return registry;
  7921. }, {
  7922. onCreateRule: [],
  7923. onProcessRule: [],
  7924. onProcessStyle: [],
  7925. onProcessSheet: [],
  7926. onChangeValue: [],
  7927. onUpdate: []
  7928. });
  7929. };
  7930. return PluginsRegistry;
  7931. }();
  7932. /**
  7933. * Sheets registry to access them all at one place.
  7934. */
  7935. var SheetsRegistry =
  7936. /*#__PURE__*/
  7937. function () {
  7938. function SheetsRegistry() {
  7939. this.registry = [];
  7940. }
  7941. var _proto = SheetsRegistry.prototype;
  7942. /**
  7943. * Register a Style Sheet.
  7944. */
  7945. _proto.add = function add(sheet) {
  7946. var registry = this.registry;
  7947. var index = sheet.options.index;
  7948. if (registry.indexOf(sheet) !== -1) return;
  7949. if (registry.length === 0 || index >= this.index) {
  7950. registry.push(sheet);
  7951. return;
  7952. } // Find a position.
  7953. for (var i = 0; i < registry.length; i++) {
  7954. if (registry[i].options.index > index) {
  7955. registry.splice(i, 0, sheet);
  7956. return;
  7957. }
  7958. }
  7959. }
  7960. /**
  7961. * Reset the registry.
  7962. */
  7963. ;
  7964. _proto.reset = function reset() {
  7965. this.registry = [];
  7966. }
  7967. /**
  7968. * Remove a Style Sheet.
  7969. */
  7970. ;
  7971. _proto.remove = function remove(sheet) {
  7972. var index = this.registry.indexOf(sheet);
  7973. this.registry.splice(index, 1);
  7974. }
  7975. /**
  7976. * Convert all attached sheets to a CSS string.
  7977. */
  7978. ;
  7979. _proto.toString = function toString(_temp) {
  7980. var _ref = _temp === void 0 ? {} : _temp,
  7981. attached = _ref.attached,
  7982. options = Object(_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_6__["default"])(_ref, ["attached"]);
  7983. var css = '';
  7984. for (var i = 0; i < this.registry.length; i++) {
  7985. var sheet = this.registry[i];
  7986. if (attached != null && sheet.attached !== attached) {
  7987. continue;
  7988. }
  7989. if (css) css += '\n';
  7990. css += sheet.toString(options);
  7991. }
  7992. return css;
  7993. };
  7994. Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(SheetsRegistry, [{
  7995. key: "index",
  7996. /**
  7997. * Current highest index number.
  7998. */
  7999. get: function get() {
  8000. return this.registry.length === 0 ? 0 : this.registry[this.registry.length - 1].options.index;
  8001. }
  8002. }]);
  8003. return SheetsRegistry;
  8004. }();
  8005. /**
  8006. * This is a global sheets registry. Only DomRenderer will add sheets to it.
  8007. * On the server one should use an own SheetsRegistry instance and add the
  8008. * sheets to it, because you need to make sure to create a new registry for
  8009. * each request in order to not leak sheets across requests.
  8010. */
  8011. var registry = new SheetsRegistry();
  8012. /* eslint-disable */
  8013. /**
  8014. * Now that `globalThis` is available on most platforms
  8015. * (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis#browser_compatibility)
  8016. * we check for `globalThis` first. `globalThis` is necessary for jss
  8017. * to run in Agoric's secure version of JavaScript (SES). Under SES,
  8018. * `globalThis` exists, but `window`, `self`, and `Function('return
  8019. * this')()` are all undefined for security reasons.
  8020. *
  8021. * https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
  8022. */
  8023. var globalThis$1 = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' && window.Math === Math ? window : typeof self !== 'undefined' && self.Math === Math ? self : Function('return this')();
  8024. var ns = '2f1acc6c3a606b082e5eef5e54414ffb';
  8025. if (globalThis$1[ns] == null) globalThis$1[ns] = 0; // Bundle may contain multiple JSS versions at the same time. In order to identify
  8026. // the current version with just one short number and use it for classes generation
  8027. // we use a counter. Also it is more accurate, because user can manually reevaluate
  8028. // the module.
  8029. var moduleId = globalThis$1[ns]++;
  8030. var maxRules = 1e10;
  8031. /**
  8032. * Returns a function which generates unique class names based on counters.
  8033. * When new generator function is created, rule counter is reseted.
  8034. * We need to reset the rule counter for SSR for each request.
  8035. */
  8036. var createGenerateId = function createGenerateId(options) {
  8037. if (options === void 0) {
  8038. options = {};
  8039. }
  8040. var ruleCounter = 0;
  8041. return function (rule, sheet) {
  8042. ruleCounter += 1;
  8043. if (ruleCounter > maxRules) {
  8044. true ? Object(tiny_warning__WEBPACK_IMPORTED_MODULE_2__["default"])(false, "[JSS] You might have a memory leak. Rule counter is at " + ruleCounter + ".") : undefined;
  8045. }
  8046. var jssId = '';
  8047. var prefix = '';
  8048. if (sheet) {
  8049. if (sheet.options.classNamePrefix) {
  8050. prefix = sheet.options.classNamePrefix;
  8051. }
  8052. if (sheet.options.jss.id != null) {
  8053. jssId = String(sheet.options.jss.id);
  8054. }
  8055. }
  8056. if (options.minify) {
  8057. // Using "c" because a number can't be the first char in a class name.
  8058. return "" + (prefix || 'c') + moduleId + jssId + ruleCounter;
  8059. }
  8060. return prefix + rule.key + "-" + moduleId + (jssId ? "-" + jssId : '') + "-" + ruleCounter;
  8061. };
  8062. };
  8063. /**
  8064. * Cache the value from the first time a function is called.
  8065. */
  8066. var memoize = function memoize(fn) {
  8067. var value;
  8068. return function () {
  8069. if (!value) value = fn();
  8070. return value;
  8071. };
  8072. };
  8073. /**
  8074. * Get a style property value.
  8075. */
  8076. var getPropertyValue = function getPropertyValue(cssRule, prop) {
  8077. try {
  8078. // Support CSSTOM.
  8079. if (cssRule.attributeStyleMap) {
  8080. return cssRule.attributeStyleMap.get(prop);
  8081. }
  8082. return cssRule.style.getPropertyValue(prop);
  8083. } catch (err) {
  8084. // IE may throw if property is unknown.
  8085. return '';
  8086. }
  8087. };
  8088. /**
  8089. * Set a style property.
  8090. */
  8091. var setProperty = function setProperty(cssRule, prop, value) {
  8092. try {
  8093. var cssValue = value;
  8094. if (Array.isArray(value)) {
  8095. cssValue = toCssValue(value, true);
  8096. if (value[value.length - 1] === '!important') {
  8097. cssRule.style.setProperty(prop, cssValue, 'important');
  8098. return true;
  8099. }
  8100. } // Support CSSTOM.
  8101. if (cssRule.attributeStyleMap) {
  8102. cssRule.attributeStyleMap.set(prop, cssValue);
  8103. } else {
  8104. cssRule.style.setProperty(prop, cssValue);
  8105. }
  8106. } catch (err) {
  8107. // IE may throw if property is unknown.
  8108. return false;
  8109. }
  8110. return true;
  8111. };
  8112. /**
  8113. * Remove a style property.
  8114. */
  8115. var removeProperty = function removeProperty(cssRule, prop) {
  8116. try {
  8117. // Support CSSTOM.
  8118. if (cssRule.attributeStyleMap) {
  8119. cssRule.attributeStyleMap.delete(prop);
  8120. } else {
  8121. cssRule.style.removeProperty(prop);
  8122. }
  8123. } catch (err) {
  8124. true ? Object(tiny_warning__WEBPACK_IMPORTED_MODULE_2__["default"])(false, "[JSS] DOMException \"" + err.message + "\" was thrown. Tried to remove property \"" + prop + "\".") : undefined;
  8125. }
  8126. };
  8127. /**
  8128. * Set the selector.
  8129. */
  8130. var setSelector = function setSelector(cssRule, selectorText) {
  8131. cssRule.selectorText = selectorText; // Return false if setter was not successful.
  8132. // Currently works in chrome only.
  8133. return cssRule.selectorText === selectorText;
  8134. };
  8135. /**
  8136. * Gets the `head` element upon the first call and caches it.
  8137. * We assume it can't be null.
  8138. */
  8139. var getHead = memoize(function () {
  8140. return document.querySelector('head');
  8141. });
  8142. /**
  8143. * Find attached sheet with an index higher than the passed one.
  8144. */
  8145. function findHigherSheet(registry, options) {
  8146. for (var i = 0; i < registry.length; i++) {
  8147. var sheet = registry[i];
  8148. if (sheet.attached && sheet.options.index > options.index && sheet.options.insertionPoint === options.insertionPoint) {
  8149. return sheet;
  8150. }
  8151. }
  8152. return null;
  8153. }
  8154. /**
  8155. * Find attached sheet with the highest index.
  8156. */
  8157. function findHighestSheet(registry, options) {
  8158. for (var i = registry.length - 1; i >= 0; i--) {
  8159. var sheet = registry[i];
  8160. if (sheet.attached && sheet.options.insertionPoint === options.insertionPoint) {
  8161. return sheet;
  8162. }
  8163. }
  8164. return null;
  8165. }
  8166. /**
  8167. * Find a comment with "jss" inside.
  8168. */
  8169. function findCommentNode(text) {
  8170. var head = getHead();
  8171. for (var i = 0; i < head.childNodes.length; i++) {
  8172. var node = head.childNodes[i];
  8173. if (node.nodeType === 8 && node.nodeValue.trim() === text) {
  8174. return node;
  8175. }
  8176. }
  8177. return null;
  8178. }
  8179. /**
  8180. * Find a node before which we can insert the sheet.
  8181. */
  8182. function findPrevNode(options) {
  8183. var registry$1 = registry.registry;
  8184. if (registry$1.length > 0) {
  8185. // Try to insert before the next higher sheet.
  8186. var sheet = findHigherSheet(registry$1, options);
  8187. if (sheet && sheet.renderer) {
  8188. return {
  8189. parent: sheet.renderer.element.parentNode,
  8190. node: sheet.renderer.element
  8191. };
  8192. } // Otherwise insert after the last attached.
  8193. sheet = findHighestSheet(registry$1, options);
  8194. if (sheet && sheet.renderer) {
  8195. return {
  8196. parent: sheet.renderer.element.parentNode,
  8197. node: sheet.renderer.element.nextSibling
  8198. };
  8199. }
  8200. } // Try to find a comment placeholder if registry is empty.
  8201. var insertionPoint = options.insertionPoint;
  8202. if (insertionPoint && typeof insertionPoint === 'string') {
  8203. var comment = findCommentNode(insertionPoint);
  8204. if (comment) {
  8205. return {
  8206. parent: comment.parentNode,
  8207. node: comment.nextSibling
  8208. };
  8209. } // If user specifies an insertion point and it can't be found in the document -
  8210. // bad specificity issues may appear.
  8211. true ? Object(tiny_warning__WEBPACK_IMPORTED_MODULE_2__["default"])(false, "[JSS] Insertion point \"" + insertionPoint + "\" not found.") : undefined;
  8212. }
  8213. return false;
  8214. }
  8215. /**
  8216. * Insert style element into the DOM.
  8217. */
  8218. function insertStyle(style, options) {
  8219. var insertionPoint = options.insertionPoint;
  8220. var nextNode = findPrevNode(options);
  8221. if (nextNode !== false && nextNode.parent) {
  8222. nextNode.parent.insertBefore(style, nextNode.node);
  8223. return;
  8224. } // Works with iframes and any node types.
  8225. if (insertionPoint && typeof insertionPoint.nodeType === 'number') {
  8226. // https://stackoverflow.com/questions/41328728/force-casting-in-flow
  8227. var insertionPointElement = insertionPoint;
  8228. var parentNode = insertionPointElement.parentNode;
  8229. if (parentNode) parentNode.insertBefore(style, insertionPointElement.nextSibling);else true ? Object(tiny_warning__WEBPACK_IMPORTED_MODULE_2__["default"])(false, '[JSS] Insertion point is not in the DOM.') : undefined;
  8230. return;
  8231. }
  8232. getHead().appendChild(style);
  8233. }
  8234. /**
  8235. * Read jss nonce setting from the page if the user has set it.
  8236. */
  8237. var getNonce = memoize(function () {
  8238. var node = document.querySelector('meta[property="csp-nonce"]');
  8239. return node ? node.getAttribute('content') : null;
  8240. });
  8241. var _insertRule = function insertRule(container, rule, index) {
  8242. try {
  8243. if ('insertRule' in container) {
  8244. var c = container;
  8245. c.insertRule(rule, index);
  8246. } // Keyframes rule.
  8247. else if ('appendRule' in container) {
  8248. var _c = container;
  8249. _c.appendRule(rule);
  8250. }
  8251. } catch (err) {
  8252. true ? Object(tiny_warning__WEBPACK_IMPORTED_MODULE_2__["default"])(false, "[JSS] " + err.message) : undefined;
  8253. return false;
  8254. }
  8255. return container.cssRules[index];
  8256. };
  8257. var getValidRuleInsertionIndex = function getValidRuleInsertionIndex(container, index) {
  8258. var maxIndex = container.cssRules.length; // In case previous insertion fails, passed index might be wrong
  8259. if (index === undefined || index > maxIndex) {
  8260. // eslint-disable-next-line no-param-reassign
  8261. return maxIndex;
  8262. }
  8263. return index;
  8264. };
  8265. var createStyle = function createStyle() {
  8266. var el = document.createElement('style'); // Without it, IE will have a broken source order specificity if we
  8267. // insert rules after we insert the style tag.
  8268. // It seems to kick-off the source order specificity algorithm.
  8269. el.textContent = '\n';
  8270. return el;
  8271. };
  8272. var DomRenderer =
  8273. /*#__PURE__*/
  8274. function () {
  8275. // HTMLStyleElement needs fixing https://github.com/facebook/flow/issues/2696
  8276. // Will be empty if link: true option is not set, because
  8277. // it is only for use together with insertRule API.
  8278. function DomRenderer(sheet) {
  8279. this.getPropertyValue = getPropertyValue;
  8280. this.setProperty = setProperty;
  8281. this.removeProperty = removeProperty;
  8282. this.setSelector = setSelector;
  8283. this.element = void 0;
  8284. this.sheet = void 0;
  8285. this.hasInsertedRules = false;
  8286. this.cssRules = [];
  8287. // There is no sheet when the renderer is used from a standalone StyleRule.
  8288. if (sheet) registry.add(sheet);
  8289. this.sheet = sheet;
  8290. var _ref = this.sheet ? this.sheet.options : {},
  8291. media = _ref.media,
  8292. meta = _ref.meta,
  8293. element = _ref.element;
  8294. this.element = element || createStyle();
  8295. this.element.setAttribute('data-jss', '');
  8296. if (media) this.element.setAttribute('media', media);
  8297. if (meta) this.element.setAttribute('data-meta', meta);
  8298. var nonce = getNonce();
  8299. if (nonce) this.element.setAttribute('nonce', nonce);
  8300. }
  8301. /**
  8302. * Insert style element into render tree.
  8303. */
  8304. var _proto = DomRenderer.prototype;
  8305. _proto.attach = function attach() {
  8306. // In the case the element node is external and it is already in the DOM.
  8307. if (this.element.parentNode || !this.sheet) return;
  8308. insertStyle(this.element, this.sheet.options); // When rules are inserted using `insertRule` API, after `sheet.detach().attach()`
  8309. // most browsers create a new CSSStyleSheet, except of all IEs.
  8310. var deployed = Boolean(this.sheet && this.sheet.deployed);
  8311. if (this.hasInsertedRules && deployed) {
  8312. this.hasInsertedRules = false;
  8313. this.deploy();
  8314. }
  8315. }
  8316. /**
  8317. * Remove style element from render tree.
  8318. */
  8319. ;
  8320. _proto.detach = function detach() {
  8321. if (!this.sheet) return;
  8322. var parentNode = this.element.parentNode;
  8323. if (parentNode) parentNode.removeChild(this.element); // In the most browsers, rules inserted using insertRule() API will be lost when style element is removed.
  8324. // Though IE will keep them and we need a consistent behavior.
  8325. if (this.sheet.options.link) {
  8326. this.cssRules = [];
  8327. this.element.textContent = '\n';
  8328. }
  8329. }
  8330. /**
  8331. * Inject CSS string into element.
  8332. */
  8333. ;
  8334. _proto.deploy = function deploy() {
  8335. var sheet = this.sheet;
  8336. if (!sheet) return;
  8337. if (sheet.options.link) {
  8338. this.insertRules(sheet.rules);
  8339. return;
  8340. }
  8341. this.element.textContent = "\n" + sheet.toString() + "\n";
  8342. }
  8343. /**
  8344. * Insert RuleList into an element.
  8345. */
  8346. ;
  8347. _proto.insertRules = function insertRules(rules, nativeParent) {
  8348. for (var i = 0; i < rules.index.length; i++) {
  8349. this.insertRule(rules.index[i], i, nativeParent);
  8350. }
  8351. }
  8352. /**
  8353. * Insert a rule into element.
  8354. */
  8355. ;
  8356. _proto.insertRule = function insertRule(rule, index, nativeParent) {
  8357. if (nativeParent === void 0) {
  8358. nativeParent = this.element.sheet;
  8359. }
  8360. if (rule.rules) {
  8361. var parent = rule;
  8362. var latestNativeParent = nativeParent;
  8363. if (rule.type === 'conditional' || rule.type === 'keyframes') {
  8364. var _insertionIndex = getValidRuleInsertionIndex(nativeParent, index); // We need to render the container without children first.
  8365. latestNativeParent = _insertRule(nativeParent, parent.toString({
  8366. children: false
  8367. }), _insertionIndex);
  8368. if (latestNativeParent === false) {
  8369. return false;
  8370. }
  8371. this.refCssRule(rule, _insertionIndex, latestNativeParent);
  8372. }
  8373. this.insertRules(parent.rules, latestNativeParent);
  8374. return latestNativeParent;
  8375. }
  8376. var ruleStr = rule.toString();
  8377. if (!ruleStr) return false;
  8378. var insertionIndex = getValidRuleInsertionIndex(nativeParent, index);
  8379. var nativeRule = _insertRule(nativeParent, ruleStr, insertionIndex);
  8380. if (nativeRule === false) {
  8381. return false;
  8382. }
  8383. this.hasInsertedRules = true;
  8384. this.refCssRule(rule, insertionIndex, nativeRule);
  8385. return nativeRule;
  8386. };
  8387. _proto.refCssRule = function refCssRule(rule, index, cssRule) {
  8388. rule.renderable = cssRule; // We only want to reference the top level rules, deleteRule API doesn't support removing nested rules
  8389. // like rules inside media queries or keyframes
  8390. if (rule.options.parent instanceof StyleSheet) {
  8391. this.cssRules[index] = cssRule;
  8392. }
  8393. }
  8394. /**
  8395. * Delete a rule.
  8396. */
  8397. ;
  8398. _proto.deleteRule = function deleteRule(cssRule) {
  8399. var sheet = this.element.sheet;
  8400. var index = this.indexOf(cssRule);
  8401. if (index === -1) return false;
  8402. sheet.deleteRule(index);
  8403. this.cssRules.splice(index, 1);
  8404. return true;
  8405. }
  8406. /**
  8407. * Get index of a CSS Rule.
  8408. */
  8409. ;
  8410. _proto.indexOf = function indexOf(cssRule) {
  8411. return this.cssRules.indexOf(cssRule);
  8412. }
  8413. /**
  8414. * Generate a new CSS rule and replace the existing one.
  8415. *
  8416. * Only used for some old browsers because they can't set a selector.
  8417. */
  8418. ;
  8419. _proto.replaceRule = function replaceRule(cssRule, rule) {
  8420. var index = this.indexOf(cssRule);
  8421. if (index === -1) return false;
  8422. this.element.sheet.deleteRule(index);
  8423. this.cssRules.splice(index, 1);
  8424. return this.insertRule(rule, index);
  8425. }
  8426. /**
  8427. * Get all rules elements.
  8428. */
  8429. ;
  8430. _proto.getRules = function getRules() {
  8431. return this.element.sheet.cssRules;
  8432. };
  8433. return DomRenderer;
  8434. }();
  8435. var instanceCounter = 0;
  8436. var Jss =
  8437. /*#__PURE__*/
  8438. function () {
  8439. function Jss(options) {
  8440. this.id = instanceCounter++;
  8441. this.version = "10.6.0";
  8442. this.plugins = new PluginsRegistry();
  8443. this.options = {
  8444. id: {
  8445. minify: false
  8446. },
  8447. createGenerateId: createGenerateId,
  8448. Renderer: is_in_browser__WEBPACK_IMPORTED_MODULE_1__["default"] ? DomRenderer : null,
  8449. plugins: []
  8450. };
  8451. this.generateId = createGenerateId({
  8452. minify: false
  8453. });
  8454. for (var i = 0; i < plugins.length; i++) {
  8455. this.plugins.use(plugins[i], {
  8456. queue: 'internal'
  8457. });
  8458. }
  8459. this.setup(options);
  8460. }
  8461. /**
  8462. * Prepares various options, applies plugins.
  8463. * Should not be used twice on the same instance, because there is no plugins
  8464. * deduplication logic.
  8465. */
  8466. var _proto = Jss.prototype;
  8467. _proto.setup = function setup(options) {
  8468. if (options === void 0) {
  8469. options = {};
  8470. }
  8471. if (options.createGenerateId) {
  8472. this.options.createGenerateId = options.createGenerateId;
  8473. }
  8474. if (options.id) {
  8475. this.options.id = Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, this.options.id, options.id);
  8476. }
  8477. if (options.createGenerateId || options.id) {
  8478. this.generateId = this.options.createGenerateId(this.options.id);
  8479. }
  8480. if (options.insertionPoint != null) this.options.insertionPoint = options.insertionPoint;
  8481. if ('Renderer' in options) {
  8482. this.options.Renderer = options.Renderer;
  8483. } // eslint-disable-next-line prefer-spread
  8484. if (options.plugins) this.use.apply(this, options.plugins);
  8485. return this;
  8486. }
  8487. /**
  8488. * Create a Style Sheet.
  8489. */
  8490. ;
  8491. _proto.createStyleSheet = function createStyleSheet(styles, options) {
  8492. if (options === void 0) {
  8493. options = {};
  8494. }
  8495. var _options = options,
  8496. index = _options.index;
  8497. if (typeof index !== 'number') {
  8498. index = registry.index === 0 ? 0 : registry.index + 1;
  8499. }
  8500. var sheet = new StyleSheet(styles, Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, options, {
  8501. jss: this,
  8502. generateId: options.generateId || this.generateId,
  8503. insertionPoint: this.options.insertionPoint,
  8504. Renderer: this.options.Renderer,
  8505. index: index
  8506. }));
  8507. this.plugins.onProcessSheet(sheet);
  8508. return sheet;
  8509. }
  8510. /**
  8511. * Detach the Style Sheet and remove it from the registry.
  8512. */
  8513. ;
  8514. _proto.removeStyleSheet = function removeStyleSheet(sheet) {
  8515. sheet.detach();
  8516. registry.remove(sheet);
  8517. return this;
  8518. }
  8519. /**
  8520. * Create a rule without a Style Sheet.
  8521. * [Deprecated] will be removed in the next major version.
  8522. */
  8523. ;
  8524. _proto.createRule = function createRule$1(name, style, options) {
  8525. if (style === void 0) {
  8526. style = {};
  8527. }
  8528. if (options === void 0) {
  8529. options = {};
  8530. }
  8531. // Enable rule without name for inline styles.
  8532. if (typeof name === 'object') {
  8533. // $FlowFixMe[incompatible-call]
  8534. return this.createRule(undefined, name, style);
  8535. } // $FlowFixMe[incompatible-type]
  8536. var ruleOptions = Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, options, {
  8537. name: name,
  8538. jss: this,
  8539. Renderer: this.options.Renderer
  8540. });
  8541. if (!ruleOptions.generateId) ruleOptions.generateId = this.generateId;
  8542. if (!ruleOptions.classes) ruleOptions.classes = {};
  8543. if (!ruleOptions.keyframes) ruleOptions.keyframes = {};
  8544. var rule = createRule(name, style, ruleOptions);
  8545. if (rule) this.plugins.onProcessRule(rule);
  8546. return rule;
  8547. }
  8548. /**
  8549. * Register plugin. Passed function will be invoked with a rule instance.
  8550. */
  8551. ;
  8552. _proto.use = function use() {
  8553. var _this = this;
  8554. for (var _len = arguments.length, plugins = new Array(_len), _key = 0; _key < _len; _key++) {
  8555. plugins[_key] = arguments[_key];
  8556. }
  8557. plugins.forEach(function (plugin) {
  8558. _this.plugins.use(plugin);
  8559. });
  8560. return this;
  8561. };
  8562. return Jss;
  8563. }();
  8564. /**
  8565. * Extracts a styles object with only props that contain function values.
  8566. */
  8567. function getDynamicStyles(styles) {
  8568. var to = null;
  8569. for (var key in styles) {
  8570. var value = styles[key];
  8571. var type = typeof value;
  8572. if (type === 'function') {
  8573. if (!to) to = {};
  8574. to[key] = value;
  8575. } else if (type === 'object' && value !== null && !Array.isArray(value)) {
  8576. var extracted = getDynamicStyles(value);
  8577. if (extracted) {
  8578. if (!to) to = {};
  8579. to[key] = extracted;
  8580. }
  8581. }
  8582. }
  8583. return to;
  8584. }
  8585. /**
  8586. * SheetsManager is like a WeakMap which is designed to count StyleSheet
  8587. * instances and attach/detach automatically.
  8588. */
  8589. var SheetsManager =
  8590. /*#__PURE__*/
  8591. function () {
  8592. function SheetsManager() {
  8593. this.length = 0;
  8594. this.sheets = new WeakMap();
  8595. }
  8596. var _proto = SheetsManager.prototype;
  8597. _proto.get = function get(key) {
  8598. var entry = this.sheets.get(key);
  8599. return entry && entry.sheet;
  8600. };
  8601. _proto.add = function add(key, sheet) {
  8602. if (this.sheets.has(key)) return;
  8603. this.length++;
  8604. this.sheets.set(key, {
  8605. sheet: sheet,
  8606. refs: 0
  8607. });
  8608. };
  8609. _proto.manage = function manage(key) {
  8610. var entry = this.sheets.get(key);
  8611. if (entry) {
  8612. if (entry.refs === 0) {
  8613. entry.sheet.attach();
  8614. }
  8615. entry.refs++;
  8616. return entry.sheet;
  8617. }
  8618. Object(tiny_warning__WEBPACK_IMPORTED_MODULE_2__["default"])(false, "[JSS] SheetsManager: can't find sheet to manage");
  8619. return undefined;
  8620. };
  8621. _proto.unmanage = function unmanage(key) {
  8622. var entry = this.sheets.get(key);
  8623. if (entry) {
  8624. if (entry.refs > 0) {
  8625. entry.refs--;
  8626. if (entry.refs === 0) entry.sheet.detach();
  8627. }
  8628. } else {
  8629. Object(tiny_warning__WEBPACK_IMPORTED_MODULE_2__["default"])(false, "SheetsManager: can't find sheet to unmanage");
  8630. }
  8631. };
  8632. Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(SheetsManager, [{
  8633. key: "size",
  8634. get: function get() {
  8635. return this.length;
  8636. }
  8637. }]);
  8638. return SheetsManager;
  8639. }();
  8640. /**
  8641. * A better abstraction over CSS.
  8642. *
  8643. * @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present
  8644. * @website https://github.com/cssinjs/jss
  8645. * @license MIT
  8646. */
  8647. /**
  8648. * Export a constant indicating if this browser has CSSTOM support.
  8649. * https://developers.google.com/web/updates/2018/03/cssom
  8650. */
  8651. var hasCSSTOMSupport = typeof CSS === 'object' && CSS != null && 'number' in CSS;
  8652. /**
  8653. * Creates a new instance of Jss.
  8654. */
  8655. var create = function create(options) {
  8656. return new Jss(options);
  8657. };
  8658. /**
  8659. * A global Jss instance.
  8660. */
  8661. var jss = create();
  8662. /* harmony default export */ __webpack_exports__["default"] = (jss);
  8663. /***/ }),
  8664. /***/ "./node_modules/native-url/dist/index.js":
  8665. /*!***********************************************!*\
  8666. !*** ./node_modules/native-url/dist/index.js ***!
  8667. \***********************************************/
  8668. /*! no static exports found */
  8669. /***/ (function(module, exports, __webpack_require__) {
  8670. var e,t=(e=__webpack_require__(/*! querystring */ "./node_modules/querystring-es3/index.js"))&&"object"==typeof e&&"default"in e?e.default:e,r=/https?|ftp|gopher|file/;function o(e){"string"==typeof e&&(e=g(e));var o=function(e,t,r){var o=e.auth,a=e.hostname,s=e.protocol||"",c=e.pathname||"",h=e.hash||"",p=e.query||"",n=!1;o=o?encodeURIComponent(o).replace(/%3A/i,":")+"@":"",e.host?n=o+e.host:a&&(n=o+(~a.indexOf(":")?"["+a+"]":a),e.port&&(n+=":"+e.port)),p&&"object"==typeof p&&(p=t.encode(p));var l=e.search||p&&"?"+p||"";return s&&":"!==s.substr(-1)&&(s+=":"),e.slashes||(!s||r.test(s))&&!1!==n?(n="//"+(n||""),c&&"/"!==c[0]&&(c="/"+c)):n||(n=""),h&&"#"!==h[0]&&(h="#"+h),l&&"?"!==l[0]&&(l="?"+l),{protocol:s,host:n,pathname:c=c.replace(/[?#]/g,encodeURIComponent),search:l=l.replace("#","%23"),hash:h}}(e,t,r);return""+o.protocol+o.host+o.pathname+o.search+o.hash}var a="http://",s="w.w",c=a+s,h=/^([a-z0-9.+-]*:\/\/\/)([a-z0-9.+-]:\/*)?/i,p=/https?|ftp|gopher|file/;function n(e,t){var r="string"==typeof e?g(e):e;e="object"==typeof e?o(e):e;var s=g(t),n="";r.protocol&&!r.slashes&&(n=r.protocol,e=e.replace(r.protocol,""),n+="/"===t[0]||"/"===e[0]?"/":""),n&&s.protocol&&(n="",s.slashes||(n=s.protocol,t=t.replace(s.protocol,"")));var l=e.match(h);l&&!s.protocol&&(e=e.substr((n=l[1]+(l[2]||"")).length),/^\/\/[^/]/.test(t)&&(n=n.slice(0,-1)));var i=new URL(e,c+"/"),f=new URL(t,i).toString().replace(c,""),u=s.protocol||r.protocol;return u+=r.slashes||s.slashes?"//":"",!n&&u?f=f.replace(a,u):n&&(f=f.replace(a,"")),p.test(f)||~t.indexOf(".")||"/"===e.slice(-1)||"/"===t.slice(-1)||"/"!==f.slice(-1)||(f=f.slice(0,-1)),n&&(f=n+("/"===f[0]?f.substr(1):f)),f}function l(){}l.parse=g,l.format=o,l.resolve=n,l.resolveObject=n;var i=/^https?|ftp|gopher|file/,f=/^(.*?)([#?].*)/,u=/^([a-z0-9.+-]*:)(\/{0,3})(.*)/i,m=/^([a-z0-9.+-]*:)?\/\/\/*/i,v=/^([a-z0-9.+-]*:)(\/{0,2})\[(.*)\]$/i;function d(e){try{return decodeURI(e)}catch(t){return e}}function g(e,r,a){if(void 0===r&&(r=!1),void 0===a&&(a=!1),e&&"object"==typeof e&&e instanceof l)return e;var h=(e=e.trim()).match(f);e=h?d(h[1]).replace(/\\/g,"/")+h[2]:d(e).replace(/\\/g,"/"),v.test(e)&&"/"!==e.slice(-1)&&(e+="/");var p=!/(^javascript)/.test(e)&&e.match(u),n=m.test(e),g="";p&&(i.test(p[1])||(g=p[1].toLowerCase(),e=""+p[2]+p[3]),p[2]||(n=!1,i.test(p[1])?(g=p[1],e=""+p[3]):e="//"+p[3]),3!==p[2].length&&1!==p[2].length||(g=p[1],e="/"+p[3]));var b,y=(h?h[1]:e).match(/(:[0-9]+)/),j="";y&&y[1]&&3===y[1].length&&(e=e.replace(j=y[1],j+"00"));var w=new l,x="",U="";try{b=new URL(e)}catch(t){x=t,g||a||!/^\/\//.test(e)||/^\/\/.+[@.]/.test(e)||(U="/",e=e.substr(1));try{b=new URL(e,c)}catch(e){return w.protocol=g,w.href=g,w}}w.slashes=n&&!U,w.host=b.host===s?"":b.host,w.hostname=b.hostname===s?"":b.hostname.replace(/(\[|\])/g,""),w.protocol=x?g||null:b.protocol,w.search=b.search.replace(/\\/g,"%5C"),w.hash=b.hash.replace(/\\/g,"%5C");var R=e.split("#");!w.search&&~R[0].indexOf("?")&&(w.search="?"),w.hash||""!==R[1]||(w.hash="#"),w.query=r?t.decode(b.search.substr(1)):w.search.substr(1),w.pathname=U+d(b.pathname).replace(/"/g,"%22"),"about:"===w.protocol&&"blank"===w.pathname&&(w.protocol="",w.pathname=""),x&&"/"!==e[0]&&(w.pathname=w.pathname.substr(1)),g&&!i.test(g)&&"/"!==e.slice(-1)&&"/"===w.pathname&&(w.pathname=""),w.path=w.pathname+w.search,w.auth=[b.username,b.password].map(decodeURIComponent).filter(Boolean).join(":"),w.port=b.port,j&&(w.host=w.host.replace(j+"00",j),w.port=w.port.slice(0,-2)),w.href=U?""+w.pathname+w.search+w.hash:o(w);var O=/^(file)/.test(w.href)?["host","hostname"]:[];return Object.keys(w).forEach(function(e){~O.indexOf(e)||(w[e]=w[e]||null)}),w}exports.parse=g,exports.format=o,exports.resolve=n,exports.resolveObject=function(e,t){return g(n(e,t))},exports.Url=l;
  8671. //# sourceMappingURL=index.js.map
  8672. /***/ }),
  8673. /***/ "./node_modules/next/app.js":
  8674. /*!**********************************!*\
  8675. !*** ./node_modules/next/app.js ***!
  8676. \**********************************/
  8677. /*! no static exports found */
  8678. /***/ (function(module, exports, __webpack_require__) {
  8679. module.exports = __webpack_require__(/*! ./dist/pages/_app */ "./node_modules/next/dist/pages/_app.js")
  8680. /***/ }),
  8681. /***/ "./node_modules/next/dist/build/polyfills/object-assign.js":
  8682. /*!***********************************************************************************************************************!*\
  8683. !*** delegated ./node_modules/next/dist/build/polyfills/object-assign.js from dll-reference dll_2adc2403d89adc16ead0 ***!
  8684. \***********************************************************************************************************************/
  8685. /*! no static exports found */
  8686. /***/ (function(module, exports, __webpack_require__) {
  8687. module.exports = (__webpack_require__(/*! dll-reference dll_2adc2403d89adc16ead0 */ "dll-reference dll_2adc2403d89adc16ead0"))("./node_modules/next/dist/build/polyfills/object-assign.js");
  8688. /***/ }),
  8689. /***/ "./node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?page=%2F_app&absolutePagePath=private-next-pages%2F_app.js&hotRouterUpdates=true!./":
  8690. /*!*******************************************************************************************************************************************************************!*\
  8691. !*** ./node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?page=%2F_app&absolutePagePath=private-next-pages%2F_app.js&hotRouterUpdates=true ***!
  8692. \*******************************************************************************************************************************************************************/
  8693. /*! no static exports found */
  8694. /***/ (function(module, exports, __webpack_require__) {
  8695. (window.__NEXT_P = window.__NEXT_P || []).push([
  8696. "/_app",
  8697. function () {
  8698. var mod = __webpack_require__(/*! private-next-pages/_app.js */ "./pages/_app.js");
  8699. if (true) {
  8700. module.hot.accept(/*! private-next-pages/_app.js */ "./pages/_app.js", function () {
  8701. if (!next.router.components["/_app"]) return;
  8702. var updatedPage = __webpack_require__(/*! private-next-pages/_app.js */ "./pages/_app.js");
  8703. next.router.update("/_app", updatedPage);
  8704. });
  8705. }
  8706. return mod;
  8707. }
  8708. ]);
  8709. /***/ }),
  8710. /***/ "./node_modules/next/dist/client/router.js":
  8711. /*!*************************************************!*\
  8712. !*** ./node_modules/next/dist/client/router.js ***!
  8713. \*************************************************/
  8714. /*! no static exports found */
  8715. /***/ (function(module, exports, __webpack_require__) {
  8716. "use strict";
  8717. var _construct = __webpack_require__(/*! @babel/runtime/helpers/construct */ "./node_modules/next/node_modules/@babel/runtime/helpers/construct.js");
  8718. function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
  8719. function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
  8720. function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
  8721. var _interopRequireWildcard = __webpack_require__(/*! @babel/runtime/helpers/interopRequireWildcard */ "./node_modules/next/node_modules/@babel/runtime/helpers/interopRequireWildcard.js");
  8722. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "./node_modules/next/node_modules/@babel/runtime/helpers/interopRequireDefault.js");
  8723. exports.__esModule = true;
  8724. exports.useRouter = useRouter;
  8725. exports.makePublicRouterInstance = makePublicRouterInstance;
  8726. exports.createRouter = exports.withRouter = exports["default"] = void 0;
  8727. var _react = _interopRequireDefault(__webpack_require__(/*! react */ "./node_modules/react/index.js"));
  8728. var _router2 = _interopRequireWildcard(__webpack_require__(/*! ../next-server/lib/router/router */ "./node_modules/next/dist/next-server/lib/router/router.js"));
  8729. exports.Router = _router2["default"];
  8730. exports.NextRouter = _router2.NextRouter;
  8731. var _routerContext = __webpack_require__(/*! ../next-server/lib/router-context */ "./node_modules/next/dist/next-server/lib/router-context.js");
  8732. var _withRouter = _interopRequireDefault(__webpack_require__(/*! ./with-router */ "./node_modules/next/dist/client/with-router.js"));
  8733. exports.withRouter = _withRouter["default"];
  8734. /* global window */
  8735. var singletonRouter = {
  8736. router: null,
  8737. // holds the actual router instance
  8738. readyCallbacks: [],
  8739. ready: function ready(cb) {
  8740. if (this.router) return cb();
  8741. if (true) {
  8742. this.readyCallbacks.push(cb);
  8743. }
  8744. }
  8745. }; // Create public properties and methods of the router in the singletonRouter
  8746. var urlPropertyFields = ['pathname', 'route', 'query', 'asPath', 'components', 'isFallback', 'basePath'];
  8747. var routerEvents = ['routeChangeStart', 'beforeHistoryChange', 'routeChangeComplete', 'routeChangeError', 'hashChangeStart', 'hashChangeComplete'];
  8748. var coreMethodFields = ['push', 'replace', 'reload', 'back', 'prefetch', 'beforePopState']; // Events is a static property on the router, the router doesn't have to be initialized to use it
  8749. Object.defineProperty(singletonRouter, 'events', {
  8750. get: function get() {
  8751. return _router2["default"].events;
  8752. }
  8753. });
  8754. urlPropertyFields.forEach(function (field) {
  8755. // Here we need to use Object.defineProperty because, we need to return
  8756. // the property assigned to the actual router
  8757. // The value might get changed as we change routes and this is the
  8758. // proper way to access it
  8759. Object.defineProperty(singletonRouter, field, {
  8760. get: function get() {
  8761. var router = getRouter();
  8762. return router[field];
  8763. }
  8764. });
  8765. });
  8766. coreMethodFields.forEach(function (field) {
  8767. // We don't really know the types here, so we add them later instead
  8768. ;
  8769. singletonRouter[field] = function () {
  8770. var router = getRouter();
  8771. return router[field].apply(router, arguments);
  8772. };
  8773. });
  8774. routerEvents.forEach(function (event) {
  8775. singletonRouter.ready(function () {
  8776. _router2["default"].events.on(event, function () {
  8777. var eventField = "on" + event.charAt(0).toUpperCase() + event.substring(1);
  8778. var _singletonRouter = singletonRouter;
  8779. if (_singletonRouter[eventField]) {
  8780. try {
  8781. _singletonRouter[eventField].apply(_singletonRouter, arguments);
  8782. } catch (err) {
  8783. // tslint:disable-next-line:no-console
  8784. console.error("Error when running the Router event: " + eventField); // tslint:disable-next-line:no-console
  8785. console.error(err.message + "\n" + err.stack);
  8786. }
  8787. }
  8788. });
  8789. });
  8790. });
  8791. function getRouter() {
  8792. if (!singletonRouter.router) {
  8793. var message = 'No router instance found.\n' + 'You should only use "next/router" inside the client side of your app.\n';
  8794. throw new Error(message);
  8795. }
  8796. return singletonRouter.router;
  8797. } // Export the singletonRouter and this is the public API.
  8798. var _default = singletonRouter; // Reexport the withRoute HOC
  8799. exports["default"] = _default;
  8800. function useRouter() {
  8801. return _react["default"].useContext(_routerContext.RouterContext);
  8802. } // INTERNAL APIS
  8803. // -------------
  8804. // (do not use following exports inside the app)
  8805. // Create a router and assign it as the singleton instance.
  8806. // This is used in client side when we are initilizing the app.
  8807. // This should **not** use inside the server.
  8808. var createRouter = function createRouter() {
  8809. for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
  8810. args[_key] = arguments[_key];
  8811. }
  8812. singletonRouter.router = _construct(_router2["default"], args);
  8813. singletonRouter.readyCallbacks.forEach(function (cb) {
  8814. return cb();
  8815. });
  8816. singletonRouter.readyCallbacks = [];
  8817. return singletonRouter.router;
  8818. }; // This function is used to create the `withRouter` router instance
  8819. exports.createRouter = createRouter;
  8820. function makePublicRouterInstance(router) {
  8821. var _router = router;
  8822. var instance = {};
  8823. var _iterator = _createForOfIteratorHelper(urlPropertyFields),
  8824. _step;
  8825. try {
  8826. for (_iterator.s(); !(_step = _iterator.n()).done;) {
  8827. var property = _step.value;
  8828. if (typeof _router[property] === 'object') {
  8829. instance[property] = Object.assign({}, _router[property]); // makes sure query is not stateful
  8830. continue;
  8831. }
  8832. instance[property] = _router[property];
  8833. } // Events is a static property on the router, the router doesn't have to be initialized to use it
  8834. } catch (err) {
  8835. _iterator.e(err);
  8836. } finally {
  8837. _iterator.f();
  8838. }
  8839. instance.events = _router2["default"].events;
  8840. coreMethodFields.forEach(function (field) {
  8841. instance[field] = function () {
  8842. return _router[field].apply(_router, arguments);
  8843. };
  8844. });
  8845. return instance;
  8846. }
  8847. /***/ }),
  8848. /***/ "./node_modules/next/dist/client/with-router.js":
  8849. /*!******************************************************!*\
  8850. !*** ./node_modules/next/dist/client/with-router.js ***!
  8851. \******************************************************/
  8852. /*! no static exports found */
  8853. /***/ (function(module, exports, __webpack_require__) {
  8854. "use strict";
  8855. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "./node_modules/next/node_modules/@babel/runtime/helpers/interopRequireDefault.js");
  8856. exports.__esModule = true;
  8857. exports["default"] = withRouter;
  8858. var _react = _interopRequireDefault(__webpack_require__(/*! react */ "./node_modules/react/index.js"));
  8859. var _router = __webpack_require__(/*! ./router */ "./node_modules/next/dist/client/router.js");
  8860. function withRouter(ComposedComponent) {
  8861. function WithRouterWrapper(props) {
  8862. return _react["default"].createElement(ComposedComponent, Object.assign({
  8863. router: (0, _router.useRouter)()
  8864. }, props));
  8865. }
  8866. WithRouterWrapper.getInitialProps = ComposedComponent.getInitialProps // This is needed to allow checking for custom getInitialProps in _app
  8867. ;
  8868. WithRouterWrapper.origGetInitialProps = ComposedComponent.origGetInitialProps;
  8869. if (true) {
  8870. var name = ComposedComponent.displayName || ComposedComponent.name || 'Unknown';
  8871. WithRouterWrapper.displayName = "withRouter(" + name + ")";
  8872. }
  8873. return WithRouterWrapper;
  8874. }
  8875. /***/ }),
  8876. /***/ "./node_modules/next/dist/next-server/lib/amp-context.js":
  8877. /*!***************************************************************!*\
  8878. !*** ./node_modules/next/dist/next-server/lib/amp-context.js ***!
  8879. \***************************************************************/
  8880. /*! no static exports found */
  8881. /***/ (function(module, exports, __webpack_require__) {
  8882. "use strict";
  8883. var __importStar = this && this.__importStar || function (mod) {
  8884. if (mod && mod.__esModule) return mod;
  8885. var result = {};
  8886. if (mod != null) for (var k in mod) {
  8887. if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
  8888. }
  8889. result["default"] = mod;
  8890. return result;
  8891. };
  8892. Object.defineProperty(exports, "__esModule", {
  8893. value: true
  8894. });
  8895. var React = __importStar(__webpack_require__(/*! react */ "./node_modules/react/index.js"));
  8896. exports.AmpStateContext = React.createContext({});
  8897. if (true) {
  8898. exports.AmpStateContext.displayName = 'AmpStateContext';
  8899. }
  8900. /***/ }),
  8901. /***/ "./node_modules/next/dist/next-server/lib/amp.js":
  8902. /*!*******************************************************!*\
  8903. !*** ./node_modules/next/dist/next-server/lib/amp.js ***!
  8904. \*******************************************************/
  8905. /*! no static exports found */
  8906. /***/ (function(module, exports, __webpack_require__) {
  8907. "use strict";
  8908. var __importDefault = this && this.__importDefault || function (mod) {
  8909. return mod && mod.__esModule ? mod : {
  8910. "default": mod
  8911. };
  8912. };
  8913. Object.defineProperty(exports, "__esModule", {
  8914. value: true
  8915. });
  8916. var react_1 = __importDefault(__webpack_require__(/*! react */ "./node_modules/react/index.js"));
  8917. var amp_context_1 = __webpack_require__(/*! ./amp-context */ "./node_modules/next/dist/next-server/lib/amp-context.js");
  8918. function isInAmpMode() {
  8919. var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  8920. _ref$ampFirst = _ref.ampFirst,
  8921. ampFirst = _ref$ampFirst === void 0 ? false : _ref$ampFirst,
  8922. _ref$hybrid = _ref.hybrid,
  8923. hybrid = _ref$hybrid === void 0 ? false : _ref$hybrid,
  8924. _ref$hasQuery = _ref.hasQuery,
  8925. hasQuery = _ref$hasQuery === void 0 ? false : _ref$hasQuery;
  8926. return ampFirst || hybrid && hasQuery;
  8927. }
  8928. exports.isInAmpMode = isInAmpMode;
  8929. function useAmp() {
  8930. // Don't assign the context value to a variable to save bytes
  8931. return isInAmpMode(react_1["default"].useContext(amp_context_1.AmpStateContext));
  8932. }
  8933. exports.useAmp = useAmp;
  8934. /***/ }),
  8935. /***/ "./node_modules/next/dist/next-server/lib/head-manager-context.js":
  8936. /*!************************************************************************!*\
  8937. !*** ./node_modules/next/dist/next-server/lib/head-manager-context.js ***!
  8938. \************************************************************************/
  8939. /*! no static exports found */
  8940. /***/ (function(module, exports, __webpack_require__) {
  8941. "use strict";
  8942. var __importStar = this && this.__importStar || function (mod) {
  8943. if (mod && mod.__esModule) return mod;
  8944. var result = {};
  8945. if (mod != null) for (var k in mod) {
  8946. if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
  8947. }
  8948. result["default"] = mod;
  8949. return result;
  8950. };
  8951. Object.defineProperty(exports, "__esModule", {
  8952. value: true
  8953. });
  8954. var React = __importStar(__webpack_require__(/*! react */ "./node_modules/react/index.js"));
  8955. exports.HeadManagerContext = React.createContext(null);
  8956. if (true) {
  8957. exports.HeadManagerContext.displayName = 'HeadManagerContext';
  8958. }
  8959. /***/ }),
  8960. /***/ "./node_modules/next/dist/next-server/lib/head.js":
  8961. /*!********************************************************!*\
  8962. !*** ./node_modules/next/dist/next-server/lib/head.js ***!
  8963. \********************************************************/
  8964. /*! no static exports found */
  8965. /***/ (function(module, exports, __webpack_require__) {
  8966. "use strict";
  8967. var __importDefault = this && this.__importDefault || function (mod) {
  8968. return mod && mod.__esModule ? mod : {
  8969. "default": mod
  8970. };
  8971. };
  8972. Object.defineProperty(exports, "__esModule", {
  8973. value: true
  8974. });
  8975. var react_1 = __importDefault(__webpack_require__(/*! react */ "./node_modules/react/index.js"));
  8976. var side_effect_1 = __importDefault(__webpack_require__(/*! ./side-effect */ "./node_modules/next/dist/next-server/lib/side-effect.js"));
  8977. var amp_context_1 = __webpack_require__(/*! ./amp-context */ "./node_modules/next/dist/next-server/lib/amp-context.js");
  8978. var head_manager_context_1 = __webpack_require__(/*! ./head-manager-context */ "./node_modules/next/dist/next-server/lib/head-manager-context.js");
  8979. var amp_1 = __webpack_require__(/*! ./amp */ "./node_modules/next/dist/next-server/lib/amp.js");
  8980. function defaultHead() {
  8981. var inAmpMode = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
  8982. var head = [react_1["default"].createElement("meta", {
  8983. charSet: "utf-8"
  8984. })];
  8985. if (!inAmpMode) {
  8986. head.push(react_1["default"].createElement("meta", {
  8987. name: "viewport",
  8988. content: "width=device-width"
  8989. }));
  8990. }
  8991. return head;
  8992. }
  8993. exports.defaultHead = defaultHead;
  8994. function onlyReactElement(list, child) {
  8995. // React children can be "string" or "number" in this case we ignore them for backwards compat
  8996. if (typeof child === 'string' || typeof child === 'number') {
  8997. return list;
  8998. } // Adds support for React.Fragment
  8999. if (child.type === react_1["default"].Fragment) {
  9000. return list.concat(react_1["default"].Children.toArray(child.props.children).reduce(function (fragmentList, fragmentChild) {
  9001. if (typeof fragmentChild === 'string' || typeof fragmentChild === 'number') {
  9002. return fragmentList;
  9003. }
  9004. return fragmentList.concat(fragmentChild);
  9005. }, []));
  9006. }
  9007. return list.concat(child);
  9008. }
  9009. var METATYPES = ['name', 'httpEquiv', 'charSet', 'itemProp'];
  9010. /*
  9011. returns a function for filtering head child elements
  9012. which shouldn't be duplicated, like <title/>
  9013. Also adds support for deduplicated `key` properties
  9014. */
  9015. function unique() {
  9016. var keys = new Set();
  9017. var tags = new Set();
  9018. var metaTypes = new Set();
  9019. var metaCategories = {};
  9020. return function (h) {
  9021. var unique = true;
  9022. if (h.key && typeof h.key !== 'number' && h.key.indexOf('$') > 0) {
  9023. var key = h.key.slice(h.key.indexOf('$') + 1);
  9024. if (keys.has(key)) {
  9025. unique = false;
  9026. } else {
  9027. keys.add(key);
  9028. }
  9029. } // eslint-disable-next-line default-case
  9030. switch (h.type) {
  9031. case 'title':
  9032. case 'base':
  9033. if (tags.has(h.type)) {
  9034. unique = false;
  9035. } else {
  9036. tags.add(h.type);
  9037. }
  9038. break;
  9039. case 'meta':
  9040. for (var i = 0, len = METATYPES.length; i < len; i++) {
  9041. var metatype = METATYPES[i];
  9042. if (!h.props.hasOwnProperty(metatype)) continue;
  9043. if (metatype === 'charSet') {
  9044. if (metaTypes.has(metatype)) {
  9045. unique = false;
  9046. } else {
  9047. metaTypes.add(metatype);
  9048. }
  9049. } else {
  9050. var category = h.props[metatype];
  9051. var categories = metaCategories[metatype] || new Set();
  9052. if (categories.has(category)) {
  9053. unique = false;
  9054. } else {
  9055. categories.add(category);
  9056. metaCategories[metatype] = categories;
  9057. }
  9058. }
  9059. }
  9060. break;
  9061. }
  9062. return unique;
  9063. };
  9064. }
  9065. /**
  9066. *
  9067. * @param headElements List of multiple <Head> instances
  9068. */
  9069. function reduceComponents(headElements, props) {
  9070. return headElements.reduce(function (list, headElement) {
  9071. var headElementChildren = react_1["default"].Children.toArray(headElement.props.children);
  9072. return list.concat(headElementChildren);
  9073. }, []).reduce(onlyReactElement, []).reverse().concat(defaultHead(props.inAmpMode)).filter(unique()).reverse().map(function (c, i) {
  9074. var key = c.key || i;
  9075. return react_1["default"].cloneElement(c, {
  9076. key: key
  9077. });
  9078. });
  9079. }
  9080. var Effect = side_effect_1["default"]();
  9081. /**
  9082. * This component injects elements to `<head>` of your page.
  9083. * To avoid duplicated `tags` in `<head>` you can use the `key` property, which will make sure every tag is only rendered once.
  9084. */
  9085. function Head(_ref) {
  9086. var children = _ref.children;
  9087. return react_1["default"].createElement(amp_context_1.AmpStateContext.Consumer, null, function (ampState) {
  9088. return react_1["default"].createElement(head_manager_context_1.HeadManagerContext.Consumer, null, function (updateHead) {
  9089. return react_1["default"].createElement(Effect, {
  9090. reduceComponentsToState: reduceComponents,
  9091. handleStateChange: updateHead,
  9092. inAmpMode: amp_1.isInAmpMode(ampState)
  9093. }, children);
  9094. });
  9095. });
  9096. }
  9097. Head.rewind = Effect.rewind;
  9098. exports["default"] = Head;
  9099. /***/ }),
  9100. /***/ "./node_modules/next/dist/next-server/lib/mitt.js":
  9101. /*!********************************************************!*\
  9102. !*** ./node_modules/next/dist/next-server/lib/mitt.js ***!
  9103. \********************************************************/
  9104. /*! no static exports found */
  9105. /***/ (function(module, exports, __webpack_require__) {
  9106. "use strict";
  9107. /*
  9108. MIT License
  9109. Copyright (c) Jason Miller (https://jasonformat.com/)
  9110. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
  9111. The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
  9112. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  9113. */
  9114. Object.defineProperty(exports, "__esModule", {
  9115. value: true
  9116. });
  9117. function mitt() {
  9118. var all = Object.create(null);
  9119. return {
  9120. on: function on(type, handler) {
  9121. ;
  9122. (all[type] || (all[type] = [])).push(handler);
  9123. },
  9124. off: function off(type, handler) {
  9125. if (all[type]) {
  9126. // tslint:disable-next-line:no-bitwise
  9127. all[type].splice(all[type].indexOf(handler) >>> 0, 1);
  9128. }
  9129. },
  9130. emit: function emit(type) {
  9131. for (var _len = arguments.length, evts = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
  9132. evts[_key - 1] = arguments[_key];
  9133. }
  9134. // eslint-disable-next-line array-callback-return
  9135. ;
  9136. (all[type] || []).slice().map(function (handler) {
  9137. handler.apply(void 0, evts);
  9138. });
  9139. }
  9140. };
  9141. }
  9142. exports["default"] = mitt;
  9143. /***/ }),
  9144. /***/ "./node_modules/next/dist/next-server/lib/router-context.js":
  9145. /*!******************************************************************!*\
  9146. !*** ./node_modules/next/dist/next-server/lib/router-context.js ***!
  9147. \******************************************************************/
  9148. /*! no static exports found */
  9149. /***/ (function(module, exports, __webpack_require__) {
  9150. "use strict";
  9151. var __importStar = this && this.__importStar || function (mod) {
  9152. if (mod && mod.__esModule) return mod;
  9153. var result = {};
  9154. if (mod != null) for (var k in mod) {
  9155. if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
  9156. }
  9157. result["default"] = mod;
  9158. return result;
  9159. };
  9160. Object.defineProperty(exports, "__esModule", {
  9161. value: true
  9162. });
  9163. var React = __importStar(__webpack_require__(/*! react */ "./node_modules/react/index.js"));
  9164. exports.RouterContext = React.createContext(null);
  9165. if (true) {
  9166. exports.RouterContext.displayName = 'RouterContext';
  9167. }
  9168. /***/ }),
  9169. /***/ "./node_modules/next/dist/next-server/lib/router/router.js":
  9170. /*!*****************************************************************!*\
  9171. !*** ./node_modules/next/dist/next-server/lib/router/router.js ***!
  9172. \*****************************************************************/
  9173. /*! no static exports found */
  9174. /***/ (function(module, exports, __webpack_require__) {
  9175. "use strict";
  9176. var _regeneratorRuntime = __webpack_require__(/*! @babel/runtime/regenerator */ "./node_modules/next/node_modules/@babel/runtime/regenerator/index.js");
  9177. var _slicedToArray = __webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ "./node_modules/next/node_modules/@babel/runtime/helpers/slicedToArray.js");
  9178. var _classCallCheck = __webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "./node_modules/next/node_modules/@babel/runtime/helpers/classCallCheck.js");
  9179. var _createClass = __webpack_require__(/*! @babel/runtime/helpers/createClass */ "./node_modules/next/node_modules/@babel/runtime/helpers/createClass.js");
  9180. var __importDefault = this && this.__importDefault || function (mod) {
  9181. return mod && mod.__esModule ? mod : {
  9182. "default": mod
  9183. };
  9184. };
  9185. Object.defineProperty(exports, "__esModule", {
  9186. value: true
  9187. });
  9188. var url_1 = __webpack_require__(/*! url */ "./node_modules/native-url/dist/index.js");
  9189. var mitt_1 = __importDefault(__webpack_require__(/*! ../mitt */ "./node_modules/next/dist/next-server/lib/mitt.js"));
  9190. var utils_1 = __webpack_require__(/*! ../utils */ "./node_modules/next/dist/next-server/lib/utils.js");
  9191. var is_dynamic_1 = __webpack_require__(/*! ./utils/is-dynamic */ "./node_modules/next/dist/next-server/lib/router/utils/is-dynamic.js");
  9192. var route_matcher_1 = __webpack_require__(/*! ./utils/route-matcher */ "./node_modules/next/dist/next-server/lib/router/utils/route-matcher.js");
  9193. var route_regex_1 = __webpack_require__(/*! ./utils/route-regex */ "./node_modules/next/dist/next-server/lib/router/utils/route-regex.js");
  9194. var basePath = false || '';
  9195. function addBasePath(path) {
  9196. return path.indexOf(basePath) !== 0 ? basePath + path : path;
  9197. }
  9198. exports.addBasePath = addBasePath;
  9199. function delBasePath(path) {
  9200. return path.indexOf(basePath) === 0 ? path.substr(basePath.length) || '/' : path;
  9201. }
  9202. exports.delBasePath = delBasePath;
  9203. function toRoute(path) {
  9204. return path.replace(/\/$/, '') || '/';
  9205. }
  9206. var prepareRoute = function prepareRoute(path) {
  9207. return toRoute(!path || path === '/' ? '/index' : path);
  9208. };
  9209. function fetchNextData(pathname, query, isServerRender, cb) {
  9210. var attempts = isServerRender ? 3 : 1;
  9211. function getResponse() {
  9212. return fetch(utils_1.formatWithValidation({
  9213. pathname: addBasePath( // @ts-ignore __NEXT_DATA__
  9214. "/_next/data/".concat(__NEXT_DATA__.buildId).concat(delBasePath(pathname), ".json")),
  9215. query: query
  9216. }), {
  9217. // Cookies are required to be present for Next.js' SSG "Preview Mode".
  9218. // Cookies may also be required for `getServerSideProps`.
  9219. //
  9220. // > `fetch` won’t send cookies, unless you set the credentials init
  9221. // > option.
  9222. // https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch
  9223. //
  9224. // > For maximum browser compatibility when it comes to sending &
  9225. // > receiving cookies, always supply the `credentials: 'same-origin'`
  9226. // > option instead of relying on the default.
  9227. // https://github.com/github/fetch#caveats
  9228. credentials: 'same-origin'
  9229. }).then(function (res) {
  9230. if (!res.ok) {
  9231. if (--attempts > 0 && res.status >= 500) {
  9232. return getResponse();
  9233. }
  9234. throw new Error("Failed to load static props");
  9235. }
  9236. return res.json();
  9237. });
  9238. }
  9239. return getResponse().then(function (data) {
  9240. return cb ? cb(data) : data;
  9241. })["catch"](function (err) {
  9242. // We should only trigger a server-side transition if this was caused
  9243. // on a client-side transition. Otherwise, we'd get into an infinite
  9244. // loop.
  9245. if (!isServerRender) {
  9246. ;
  9247. err.code = 'PAGE_LOAD_ERROR';
  9248. }
  9249. throw err;
  9250. });
  9251. }
  9252. var Router = /*#__PURE__*/function () {
  9253. function Router(pathname, query, as, _ref) {
  9254. var _this = this;
  9255. var initialProps = _ref.initialProps,
  9256. pageLoader = _ref.pageLoader,
  9257. App = _ref.App,
  9258. wrapApp = _ref.wrapApp,
  9259. Component = _ref.Component,
  9260. err = _ref.err,
  9261. subscription = _ref.subscription,
  9262. isFallback = _ref.isFallback;
  9263. _classCallCheck(this, Router);
  9264. // Static Data Cache
  9265. this.sdc = {};
  9266. this.onPopState = function (e) {
  9267. if (!e.state) {
  9268. // We get state as undefined for two reasons.
  9269. // 1. With older safari (< 8) and older chrome (< 34)
  9270. // 2. When the URL changed with #
  9271. //
  9272. // In the both cases, we don't need to proceed and change the route.
  9273. // (as it's already changed)
  9274. // But we can simply replace the state with the new changes.
  9275. // Actually, for (1) we don't need to nothing. But it's hard to detect that event.
  9276. // So, doing the following for (1) does no harm.
  9277. var _pathname = _this.pathname,
  9278. _query = _this.query;
  9279. _this.changeState('replaceState', utils_1.formatWithValidation({
  9280. pathname: _pathname,
  9281. query: _query
  9282. }), utils_1.getURL());
  9283. return;
  9284. } // Make sure we don't re-render on initial load,
  9285. // can be caused by navigating back from an external site
  9286. if (e.state && _this.isSsr && e.state.as === _this.asPath && url_1.parse(e.state.url).pathname === _this.pathname) {
  9287. return;
  9288. } // If the downstream application returns falsy, return.
  9289. // They will then be responsible for handling the event.
  9290. if (_this._bps && !_this._bps(e.state)) {
  9291. return;
  9292. }
  9293. var _e$state = e.state,
  9294. url = _e$state.url,
  9295. as = _e$state.as,
  9296. options = _e$state.options;
  9297. if (true) {
  9298. if (typeof url === 'undefined' || typeof as === 'undefined') {
  9299. console.warn('`popstate` event triggered but `event.state` did not have `url` or `as` https://err.sh/zeit/next.js/popstate-state-empty');
  9300. }
  9301. }
  9302. _this.replace(url, as, options);
  9303. };
  9304. this._getStaticData = function (asPath) {
  9305. var pathname = prepareRoute(url_1.parse(asPath).pathname);
  9306. return false ? undefined : fetchNextData(pathname, null, _this.isSsr, function (data) {
  9307. return _this.sdc[pathname] = data;
  9308. });
  9309. };
  9310. this._getServerData = function (asPath) {
  9311. var _url_1$parse = url_1.parse(asPath, true),
  9312. pathname = _url_1$parse.pathname,
  9313. query = _url_1$parse.query;
  9314. pathname = prepareRoute(pathname);
  9315. return fetchNextData(pathname, query, _this.isSsr);
  9316. }; // represents the current component key
  9317. this.route = toRoute(pathname); // set up the component cache (by route keys)
  9318. this.components = {}; // We should not keep the cache, if there's an error
  9319. // Otherwise, this cause issues when when going back and
  9320. // come again to the errored page.
  9321. if (pathname !== '/_error') {
  9322. this.components[this.route] = {
  9323. Component: Component,
  9324. props: initialProps,
  9325. err: err,
  9326. __N_SSG: initialProps && initialProps.__N_SSG,
  9327. __N_SSP: initialProps && initialProps.__N_SSP
  9328. };
  9329. }
  9330. this.components['/_app'] = {
  9331. Component: App
  9332. }; // Backwards compat for Router.router.events
  9333. // TODO: Should be remove the following major version as it was never documented
  9334. this.events = Router.events;
  9335. this.pageLoader = pageLoader;
  9336. this.pathname = pathname;
  9337. this.query = query; // if auto prerendered and dynamic route wait to update asPath
  9338. // until after mount to prevent hydration mismatch
  9339. this.asPath = // @ts-ignore this is temporarily global (attached to window)
  9340. is_dynamic_1.isDynamicRoute(pathname) && __NEXT_DATA__.autoExport ? pathname : as;
  9341. this.basePath = basePath;
  9342. this.sub = subscription;
  9343. this.clc = null;
  9344. this._wrapApp = wrapApp; // make sure to ignore extra popState in safari on navigating
  9345. // back from external site
  9346. this.isSsr = true;
  9347. this.isFallback = isFallback;
  9348. if (true) {
  9349. // make sure "as" doesn't start with double slashes or else it can
  9350. // throw an error as it's considered invalid
  9351. if (as.substr(0, 2) !== '//') {
  9352. // in order for `e.state` to work on the `onpopstate` event
  9353. // we have to register the initial route upon initialization
  9354. this.changeState('replaceState', utils_1.formatWithValidation({
  9355. pathname: pathname,
  9356. query: query
  9357. }), as);
  9358. }
  9359. window.addEventListener('popstate', this.onPopState);
  9360. }
  9361. } // @deprecated backwards compatibility even though it's a private method.
  9362. _createClass(Router, [{
  9363. key: "update",
  9364. value: function update(route, mod) {
  9365. var Component = mod["default"] || mod;
  9366. var data = this.components[route];
  9367. if (!data) {
  9368. throw new Error("Cannot update unavailable route: ".concat(route));
  9369. }
  9370. var newData = Object.assign(Object.assign({}, data), {
  9371. Component: Component,
  9372. __N_SSG: mod.__N_SSG,
  9373. __N_SSP: mod.__N_SSP
  9374. });
  9375. this.components[route] = newData; // pages/_app.js updated
  9376. if (route === '/_app') {
  9377. this.notify(this.components[this.route]);
  9378. return;
  9379. }
  9380. if (route === this.route) {
  9381. this.notify(newData);
  9382. }
  9383. }
  9384. }, {
  9385. key: "reload",
  9386. value: function reload() {
  9387. window.location.reload();
  9388. }
  9389. /**
  9390. * Go back in history
  9391. */
  9392. }, {
  9393. key: "back",
  9394. value: function back() {
  9395. window.history.back();
  9396. }
  9397. /**
  9398. * Performs a `pushState` with arguments
  9399. * @param url of the route
  9400. * @param as masks `url` for the browser
  9401. * @param options object you can define `shallow` and other options
  9402. */
  9403. }, {
  9404. key: "push",
  9405. value: function push(url) {
  9406. var as = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : url;
  9407. var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  9408. return this.change('pushState', url, as, options);
  9409. }
  9410. /**
  9411. * Performs a `replaceState` with arguments
  9412. * @param url of the route
  9413. * @param as masks `url` for the browser
  9414. * @param options object you can define `shallow` and other options
  9415. */
  9416. }, {
  9417. key: "replace",
  9418. value: function replace(url) {
  9419. var as = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : url;
  9420. var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  9421. return this.change('replaceState', url, as, options);
  9422. }
  9423. }, {
  9424. key: "change",
  9425. value: function change(method, _url, _as, options) {
  9426. var _this2 = this;
  9427. return new Promise(function (resolve, reject) {
  9428. if (!options._h) {
  9429. _this2.isSsr = false;
  9430. } // marking route changes as a navigation start entry
  9431. if (utils_1.ST) {
  9432. performance.mark('routeChange');
  9433. } // If url and as provided as an object representation,
  9434. // we'll format them into the string version here.
  9435. var url = typeof _url === 'object' ? utils_1.formatWithValidation(_url) : _url;
  9436. var as = typeof _as === 'object' ? utils_1.formatWithValidation(_as) : _as;
  9437. url = addBasePath(url);
  9438. as = addBasePath(as); // Add the ending slash to the paths. So, we can serve the
  9439. // "<page>/index.html" directly for the SSR page.
  9440. if (false) { var rewriteUrlForNextExport; }
  9441. _this2.abortComponentLoad(as); // If the url change is only related to a hash change
  9442. // We should not proceed. We should only change the state.
  9443. // WARNING: `_h` is an internal option for handing Next.js client-side
  9444. // hydration. Your app should _never_ use this property. It may change at
  9445. // any time without notice.
  9446. if (!options._h && _this2.onlyAHashChange(as)) {
  9447. _this2.asPath = as;
  9448. Router.events.emit('hashChangeStart', as);
  9449. _this2.changeState(method, url, as, options);
  9450. _this2.scrollToHash(as);
  9451. Router.events.emit('hashChangeComplete', as);
  9452. return resolve(true);
  9453. }
  9454. var _url_1$parse2 = url_1.parse(url, true),
  9455. pathname = _url_1$parse2.pathname,
  9456. query = _url_1$parse2.query,
  9457. protocol = _url_1$parse2.protocol;
  9458. if (!pathname || protocol) {
  9459. if (true) {
  9460. throw new Error("Invalid href passed to router: ".concat(url, " https://err.sh/zeit/next.js/invalid-href-passed"));
  9461. }
  9462. return resolve(false);
  9463. } // If asked to change the current URL we should reload the current page
  9464. // (not location.reload() but reload getInitialProps and other Next.js stuffs)
  9465. // We also need to set the method = replaceState always
  9466. // as this should not go into the history (That's how browsers work)
  9467. // We should compare the new asPath to the current asPath, not the url
  9468. if (!_this2.urlIsNew(as)) {
  9469. method = 'replaceState';
  9470. }
  9471. var route = toRoute(pathname);
  9472. var _options$shallow = options.shallow,
  9473. shallow = _options$shallow === void 0 ? false : _options$shallow;
  9474. if (is_dynamic_1.isDynamicRoute(route)) {
  9475. var _url_1$parse3 = url_1.parse(as),
  9476. asPathname = _url_1$parse3.pathname;
  9477. var routeRegex = route_regex_1.getRouteRegex(route);
  9478. var routeMatch = route_matcher_1.getRouteMatcher(routeRegex)(asPathname);
  9479. if (!routeMatch) {
  9480. var missingParams = Object.keys(routeRegex.groups).filter(function (param) {
  9481. return !query[param];
  9482. });
  9483. if (missingParams.length > 0) {
  9484. if (true) {
  9485. console.warn("Mismatching `as` and `href` failed to manually provide " + "the params: ".concat(missingParams.join(', '), " in the `href`'s `query`"));
  9486. }
  9487. return reject(new Error("The provided `as` value (".concat(asPathname, ") is incompatible with the `href` value (").concat(route, "). ") + "Read more: https://err.sh/zeit/next.js/incompatible-href-as"));
  9488. }
  9489. } else {
  9490. // Merge params into `query`, overwriting any specified in search
  9491. Object.assign(query, routeMatch);
  9492. }
  9493. }
  9494. Router.events.emit('routeChangeStart', as); // If shallow is true and the route exists in the router cache we reuse the previous result
  9495. _this2.getRouteInfo(route, pathname, query, as, shallow).then(function (routeInfo) {
  9496. var error = routeInfo.error;
  9497. if (error && error.cancelled) {
  9498. return resolve(false);
  9499. }
  9500. Router.events.emit('beforeHistoryChange', as);
  9501. _this2.changeState(method, url, as, options);
  9502. if (true) {
  9503. var appComp = _this2.components['/_app'].Component;
  9504. window.next.isPrerendered = appComp.getInitialProps === appComp.origGetInitialProps && !routeInfo.Component.getInitialProps;
  9505. }
  9506. _this2.set(route, pathname, query, as, routeInfo);
  9507. if (error) {
  9508. Router.events.emit('routeChangeError', error, as);
  9509. throw error;
  9510. }
  9511. Router.events.emit('routeChangeComplete', as);
  9512. return resolve(true);
  9513. }, reject);
  9514. });
  9515. }
  9516. }, {
  9517. key: "changeState",
  9518. value: function changeState(method, url, as) {
  9519. var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
  9520. if (true) {
  9521. if (typeof window.history === 'undefined') {
  9522. console.error("Warning: window.history is not available.");
  9523. return;
  9524. }
  9525. if (typeof window.history[method] === 'undefined') {
  9526. console.error("Warning: window.history.".concat(method, " is not available"));
  9527. return;
  9528. }
  9529. }
  9530. if (method !== 'pushState' || utils_1.getURL() !== as) {
  9531. window.history[method]({
  9532. url: url,
  9533. as: as,
  9534. options: options
  9535. }, // Most browsers currently ignores this parameter, although they may use it in the future.
  9536. // Passing the empty string here should be safe against future changes to the method.
  9537. // https://developer.mozilla.org/en-US/docs/Web/API/History/replaceState
  9538. '', as);
  9539. }
  9540. }
  9541. }, {
  9542. key: "getRouteInfo",
  9543. value: function getRouteInfo(route, pathname, query, as) {
  9544. var _this3 = this;
  9545. var shallow = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;
  9546. var cachedRouteInfo = this.components[route]; // If there is a shallow route transition possible
  9547. // If the route is already rendered on the screen.
  9548. if (shallow && cachedRouteInfo && this.route === route) {
  9549. return Promise.resolve(cachedRouteInfo);
  9550. }
  9551. var handleError = function handleError(err, loadErrorFail) {
  9552. return new Promise(function (resolve) {
  9553. if (err.code === 'PAGE_LOAD_ERROR' || loadErrorFail) {
  9554. // If we can't load the page it could be one of following reasons
  9555. // 1. Page doesn't exists
  9556. // 2. Page does exist in a different zone
  9557. // 3. Internal error while loading the page
  9558. // So, doing a hard reload is the proper way to deal with this.
  9559. window.location.href = as; // Changing the URL doesn't block executing the current code path.
  9560. // So, we need to mark it as a cancelled error and stop the routing logic.
  9561. err.cancelled = true; // @ts-ignore TODO: fix the control flow here
  9562. return resolve({
  9563. error: err
  9564. });
  9565. }
  9566. if (err.cancelled) {
  9567. // @ts-ignore TODO: fix the control flow here
  9568. return resolve({
  9569. error: err
  9570. });
  9571. }
  9572. resolve(_this3.fetchComponent('/_error').then(function (res) {
  9573. var Component = res.page;
  9574. var routeInfo = {
  9575. Component: Component,
  9576. err: err
  9577. };
  9578. return new Promise(function (resolve) {
  9579. _this3.getInitialProps(Component, {
  9580. err: err,
  9581. pathname: pathname,
  9582. query: query
  9583. }).then(function (props) {
  9584. routeInfo.props = props;
  9585. routeInfo.error = err;
  9586. resolve(routeInfo);
  9587. }, function (gipErr) {
  9588. console.error('Error in error page `getInitialProps`: ', gipErr);
  9589. routeInfo.error = err;
  9590. routeInfo.props = {};
  9591. resolve(routeInfo);
  9592. });
  9593. });
  9594. })["catch"](function (err) {
  9595. return handleError(err, true);
  9596. }));
  9597. });
  9598. };
  9599. return new Promise(function (resolve, reject) {
  9600. if (cachedRouteInfo) {
  9601. return resolve(cachedRouteInfo);
  9602. }
  9603. _this3.fetchComponent(route).then(function (res) {
  9604. return resolve({
  9605. Component: res.page,
  9606. __N_SSG: res.mod.__N_SSG,
  9607. __N_SSP: res.mod.__N_SSP
  9608. });
  9609. }, reject);
  9610. }).then(function (routeInfo) {
  9611. var Component = routeInfo.Component,
  9612. __N_SSG = routeInfo.__N_SSG,
  9613. __N_SSP = routeInfo.__N_SSP;
  9614. if (true) {
  9615. var _require = __webpack_require__(/*! react-is */ "./node_modules/next/node_modules/react-is/index.js"),
  9616. isValidElementType = _require.isValidElementType;
  9617. if (!isValidElementType(Component)) {
  9618. throw new Error("The default export is not a React Component in page: \"".concat(pathname, "\""));
  9619. }
  9620. }
  9621. return _this3._getData(function () {
  9622. return __N_SSG ? _this3._getStaticData(as) : __N_SSP ? _this3._getServerData(as) : _this3.getInitialProps(Component, // we provide AppTree later so this needs to be `any`
  9623. {
  9624. pathname: pathname,
  9625. query: query,
  9626. asPath: as
  9627. });
  9628. }).then(function (props) {
  9629. routeInfo.props = props;
  9630. _this3.components[route] = routeInfo;
  9631. return routeInfo;
  9632. });
  9633. })["catch"](handleError);
  9634. }
  9635. }, {
  9636. key: "set",
  9637. value: function set(route, pathname, query, as, data) {
  9638. this.isFallback = false;
  9639. this.route = route;
  9640. this.pathname = pathname;
  9641. this.query = query;
  9642. this.asPath = as;
  9643. this.notify(data);
  9644. }
  9645. /**
  9646. * Callback to execute before replacing router state
  9647. * @param cb callback to be executed
  9648. */
  9649. }, {
  9650. key: "beforePopState",
  9651. value: function beforePopState(cb) {
  9652. this._bps = cb;
  9653. }
  9654. }, {
  9655. key: "onlyAHashChange",
  9656. value: function onlyAHashChange(as) {
  9657. if (!this.asPath) return false;
  9658. var _this$asPath$split = this.asPath.split('#'),
  9659. _this$asPath$split2 = _slicedToArray(_this$asPath$split, 2),
  9660. oldUrlNoHash = _this$asPath$split2[0],
  9661. oldHash = _this$asPath$split2[1];
  9662. var _as$split = as.split('#'),
  9663. _as$split2 = _slicedToArray(_as$split, 2),
  9664. newUrlNoHash = _as$split2[0],
  9665. newHash = _as$split2[1]; // Makes sure we scroll to the provided hash if the url/hash are the same
  9666. if (newHash && oldUrlNoHash === newUrlNoHash && oldHash === newHash) {
  9667. return true;
  9668. } // If the urls are change, there's more than a hash change
  9669. if (oldUrlNoHash !== newUrlNoHash) {
  9670. return false;
  9671. } // If the hash has changed, then it's a hash only change.
  9672. // This check is necessary to handle both the enter and
  9673. // leave hash === '' cases. The identity case falls through
  9674. // and is treated as a next reload.
  9675. return oldHash !== newHash;
  9676. }
  9677. }, {
  9678. key: "scrollToHash",
  9679. value: function scrollToHash(as) {
  9680. var _as$split3 = as.split('#'),
  9681. _as$split4 = _slicedToArray(_as$split3, 2),
  9682. hash = _as$split4[1]; // Scroll to top if the hash is just `#` with no value
  9683. if (hash === '') {
  9684. window.scrollTo(0, 0);
  9685. return;
  9686. } // First we check if the element by id is found
  9687. var idEl = document.getElementById(hash);
  9688. if (idEl) {
  9689. idEl.scrollIntoView();
  9690. return;
  9691. } // If there's no element with the id, we check the `name` property
  9692. // To mirror browsers
  9693. var nameEl = document.getElementsByName(hash)[0];
  9694. if (nameEl) {
  9695. nameEl.scrollIntoView();
  9696. }
  9697. }
  9698. }, {
  9699. key: "urlIsNew",
  9700. value: function urlIsNew(asPath) {
  9701. return this.asPath !== asPath;
  9702. }
  9703. /**
  9704. * Prefetch page code, you may wait for the data during page rendering.
  9705. * This feature only works in production!
  9706. * @param url the href of prefetched page
  9707. * @param asPath the as path of the prefetched page
  9708. */
  9709. }, {
  9710. key: "prefetch",
  9711. value: function prefetch(url) {
  9712. var _this4 = this;
  9713. var asPath = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : url;
  9714. var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  9715. return new Promise(function (resolve, reject) {
  9716. var _url_1$parse4 = url_1.parse(url),
  9717. pathname = _url_1$parse4.pathname,
  9718. protocol = _url_1$parse4.protocol;
  9719. if (!pathname || protocol) {
  9720. if (true) {
  9721. throw new Error("Invalid href passed to router: ".concat(url, " https://err.sh/zeit/next.js/invalid-href-passed"));
  9722. }
  9723. return;
  9724. } // Prefetch is not supported in development mode because it would trigger on-demand-entries
  9725. if (true) {
  9726. return;
  9727. }
  9728. var route = delBasePath(toRoute(pathname));
  9729. Promise.all([_this4.pageLoader.prefetchData(url, delBasePath(asPath)), _this4.pageLoader[options.priority ? 'loadPage' : 'prefetch'](route)]).then(function () {
  9730. return resolve();
  9731. }, reject);
  9732. });
  9733. }
  9734. }, {
  9735. key: "fetchComponent",
  9736. value: function fetchComponent(route) {
  9737. var cancelled, cancel, componentResult, error;
  9738. return _regeneratorRuntime.async(function fetchComponent$(_context) {
  9739. while (1) {
  9740. switch (_context.prev = _context.next) {
  9741. case 0:
  9742. cancelled = false;
  9743. cancel = this.clc = function () {
  9744. cancelled = true;
  9745. };
  9746. route = delBasePath(route);
  9747. _context.next = 5;
  9748. return _regeneratorRuntime.awrap(this.pageLoader.loadPage(route));
  9749. case 5:
  9750. componentResult = _context.sent;
  9751. if (!cancelled) {
  9752. _context.next = 10;
  9753. break;
  9754. }
  9755. error = new Error("Abort fetching component for route: \"".concat(route, "\""));
  9756. error.cancelled = true;
  9757. throw error;
  9758. case 10:
  9759. if (cancel === this.clc) {
  9760. this.clc = null;
  9761. }
  9762. return _context.abrupt("return", componentResult);
  9763. case 12:
  9764. case "end":
  9765. return _context.stop();
  9766. }
  9767. }
  9768. }, null, this, null, Promise);
  9769. }
  9770. }, {
  9771. key: "_getData",
  9772. value: function _getData(fn) {
  9773. var _this5 = this;
  9774. var cancelled = false;
  9775. var cancel = function cancel() {
  9776. cancelled = true;
  9777. };
  9778. this.clc = cancel;
  9779. return fn().then(function (data) {
  9780. if (cancel === _this5.clc) {
  9781. _this5.clc = null;
  9782. }
  9783. if (cancelled) {
  9784. var err = new Error('Loading initial props cancelled');
  9785. err.cancelled = true;
  9786. throw err;
  9787. }
  9788. return data;
  9789. });
  9790. }
  9791. }, {
  9792. key: "getInitialProps",
  9793. value: function getInitialProps(Component, ctx) {
  9794. var App = this.components['/_app'].Component;
  9795. var AppTree = this._wrapApp(App);
  9796. ctx.AppTree = AppTree;
  9797. return utils_1.loadGetInitialProps(App, {
  9798. AppTree: AppTree,
  9799. Component: Component,
  9800. router: this,
  9801. ctx: ctx
  9802. });
  9803. }
  9804. }, {
  9805. key: "abortComponentLoad",
  9806. value: function abortComponentLoad(as) {
  9807. if (this.clc) {
  9808. var e = new Error('Route Cancelled');
  9809. e.cancelled = true;
  9810. Router.events.emit('routeChangeError', e, as);
  9811. this.clc();
  9812. this.clc = null;
  9813. }
  9814. }
  9815. }, {
  9816. key: "notify",
  9817. value: function notify(data) {
  9818. this.sub(data, this.components['/_app'].Component);
  9819. }
  9820. }], [{
  9821. key: "_rewriteUrlForNextExport",
  9822. value: function _rewriteUrlForNextExport(url) {
  9823. if (false) { var rewriteUrlForNextExport; } else {
  9824. return url;
  9825. }
  9826. }
  9827. }]);
  9828. return Router;
  9829. }();
  9830. exports["default"] = Router;
  9831. Router.events = mitt_1["default"]();
  9832. /***/ }),
  9833. /***/ "./node_modules/next/dist/next-server/lib/router/utils/is-dynamic.js":
  9834. /*!***************************************************************************!*\
  9835. !*** ./node_modules/next/dist/next-server/lib/router/utils/is-dynamic.js ***!
  9836. \***************************************************************************/
  9837. /*! no static exports found */
  9838. /***/ (function(module, exports, __webpack_require__) {
  9839. "use strict";
  9840. Object.defineProperty(exports, "__esModule", {
  9841. value: true
  9842. }); // Identify /[param]/ in route string
  9843. var TEST_ROUTE = /\/\[[^/]+?\](?=\/|$)/;
  9844. function isDynamicRoute(route) {
  9845. return TEST_ROUTE.test(route);
  9846. }
  9847. exports.isDynamicRoute = isDynamicRoute;
  9848. /***/ }),
  9849. /***/ "./node_modules/next/dist/next-server/lib/router/utils/route-matcher.js":
  9850. /*!******************************************************************************!*\
  9851. !*** ./node_modules/next/dist/next-server/lib/router/utils/route-matcher.js ***!
  9852. \******************************************************************************/
  9853. /*! no static exports found */
  9854. /***/ (function(module, exports, __webpack_require__) {
  9855. "use strict";
  9856. Object.defineProperty(exports, "__esModule", {
  9857. value: true
  9858. });
  9859. function getRouteMatcher(routeRegex) {
  9860. var re = routeRegex.re,
  9861. groups = routeRegex.groups;
  9862. return function (pathname) {
  9863. var routeMatch = re.exec(pathname);
  9864. if (!routeMatch) {
  9865. return false;
  9866. }
  9867. var decode = function decode(param) {
  9868. try {
  9869. return decodeURIComponent(param);
  9870. } catch (_) {
  9871. var err = new Error('failed to decode param');
  9872. err.code = 'DECODE_FAILED';
  9873. throw err;
  9874. }
  9875. };
  9876. var params = {};
  9877. Object.keys(groups).forEach(function (slugName) {
  9878. var g = groups[slugName];
  9879. var m = routeMatch[g.pos];
  9880. if (m !== undefined) {
  9881. params[slugName] = ~m.indexOf('/') ? m.split('/').map(function (entry) {
  9882. return decode(entry);
  9883. }) : g.repeat ? [decode(m)] : decode(m);
  9884. }
  9885. });
  9886. return params;
  9887. };
  9888. }
  9889. exports.getRouteMatcher = getRouteMatcher;
  9890. /***/ }),
  9891. /***/ "./node_modules/next/dist/next-server/lib/router/utils/route-regex.js":
  9892. /*!****************************************************************************!*\
  9893. !*** ./node_modules/next/dist/next-server/lib/router/utils/route-regex.js ***!
  9894. \****************************************************************************/
  9895. /*! no static exports found */
  9896. /***/ (function(module, exports, __webpack_require__) {
  9897. "use strict";
  9898. Object.defineProperty(exports, "__esModule", {
  9899. value: true
  9900. }); // this isn't importing the escape-string-regex module
  9901. // to reduce bytes
  9902. function escapeRegex(str) {
  9903. return str.replace(/[|\\{}()[\]^$+*?.-]/g, '\\$&');
  9904. }
  9905. function getRouteRegex(normalizedRoute) {
  9906. // Escape all characters that could be considered RegEx
  9907. var escapedRoute = escapeRegex(normalizedRoute.replace(/\/$/, '') || '/');
  9908. var groups = {};
  9909. var groupIndex = 1;
  9910. var parameterizedRoute = escapedRoute.replace(/\/\\\[([^/]+?)\\\](?=\/|$)/g, function (_, $1) {
  9911. var isCatchAll = /^(\\\.){3}/.test($1);
  9912. groups[$1 // Un-escape key
  9913. .replace(/\\([|\\{}()[\]^$+*?.-])/g, '$1').replace(/^\.{3}/, '') // eslint-disable-next-line no-sequences
  9914. ] = {
  9915. pos: groupIndex++,
  9916. repeat: isCatchAll
  9917. };
  9918. return isCatchAll ? '/(.+?)' : '/([^/]+?)';
  9919. });
  9920. var namedParameterizedRoute; // dead code eliminate for browser since it's only needed
  9921. // while generating routes-manifest
  9922. if (false) {}
  9923. return Object.assign({
  9924. re: new RegExp('^' + parameterizedRoute + '(?:/)?$', 'i'),
  9925. groups: groups
  9926. }, namedParameterizedRoute ? {
  9927. namedRegex: "^".concat(namedParameterizedRoute, "(?:/)?$")
  9928. } : {});
  9929. }
  9930. exports.getRouteRegex = getRouteRegex;
  9931. /***/ }),
  9932. /***/ "./node_modules/next/dist/next-server/lib/side-effect.js":
  9933. /*!***************************************************************!*\
  9934. !*** ./node_modules/next/dist/next-server/lib/side-effect.js ***!
  9935. \***************************************************************/
  9936. /*! no static exports found */
  9937. /***/ (function(module, exports, __webpack_require__) {
  9938. "use strict";
  9939. var _classCallCheck = __webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "./node_modules/next/node_modules/@babel/runtime/helpers/classCallCheck.js");
  9940. var _createClass = __webpack_require__(/*! @babel/runtime/helpers/createClass */ "./node_modules/next/node_modules/@babel/runtime/helpers/createClass.js");
  9941. var _assertThisInitialized = __webpack_require__(/*! @babel/runtime/helpers/assertThisInitialized */ "./node_modules/next/node_modules/@babel/runtime/helpers/assertThisInitialized.js");
  9942. var _inherits = __webpack_require__(/*! @babel/runtime/helpers/inherits */ "./node_modules/next/node_modules/@babel/runtime/helpers/inherits.js");
  9943. var _possibleConstructorReturn = __webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "./node_modules/next/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js");
  9944. var _getPrototypeOf = __webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "./node_modules/next/node_modules/@babel/runtime/helpers/getPrototypeOf.js");
  9945. var _toConsumableArray = __webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ "./node_modules/next/node_modules/@babel/runtime/helpers/toConsumableArray.js");
  9946. function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
  9947. function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
  9948. Object.defineProperty(exports, "__esModule", {
  9949. value: true
  9950. });
  9951. var react_1 = __webpack_require__(/*! react */ "./node_modules/react/index.js");
  9952. var isServer = false;
  9953. exports["default"] = function () {
  9954. var mountedInstances = new Set();
  9955. var state;
  9956. function emitChange(component) {
  9957. state = component.props.reduceComponentsToState(_toConsumableArray(mountedInstances), component.props);
  9958. if (component.props.handleStateChange) {
  9959. component.props.handleStateChange(state);
  9960. }
  9961. }
  9962. return /*#__PURE__*/function (_react_1$Component) {
  9963. _inherits(_class, _react_1$Component);
  9964. var _super = _createSuper(_class);
  9965. function _class(props) {
  9966. var _this;
  9967. _classCallCheck(this, _class);
  9968. _this = _super.call(this, props);
  9969. if (isServer) {
  9970. mountedInstances.add(_assertThisInitialized(_this));
  9971. emitChange(_assertThisInitialized(_this));
  9972. }
  9973. return _this;
  9974. }
  9975. _createClass(_class, [{
  9976. key: "componentDidMount",
  9977. value: function componentDidMount() {
  9978. mountedInstances.add(this);
  9979. emitChange(this);
  9980. }
  9981. }, {
  9982. key: "componentDidUpdate",
  9983. value: function componentDidUpdate() {
  9984. emitChange(this);
  9985. }
  9986. }, {
  9987. key: "componentWillUnmount",
  9988. value: function componentWillUnmount() {
  9989. mountedInstances["delete"](this);
  9990. emitChange(this);
  9991. }
  9992. }, {
  9993. key: "render",
  9994. value: function render() {
  9995. return null;
  9996. }
  9997. }], [{
  9998. key: "rewind",
  9999. value: // Used when server rendering
  10000. function rewind() {
  10001. var recordedState = state;
  10002. state = undefined;
  10003. mountedInstances.clear();
  10004. return recordedState;
  10005. }
  10006. }]);
  10007. return _class;
  10008. }(react_1.Component);
  10009. };
  10010. /***/ }),
  10011. /***/ "./node_modules/next/dist/next-server/lib/utils.js":
  10012. /*!*********************************************************!*\
  10013. !*** ./node_modules/next/dist/next-server/lib/utils.js ***!
  10014. \*********************************************************/
  10015. /*! no static exports found */
  10016. /***/ (function(module, exports, __webpack_require__) {
  10017. "use strict";
  10018. var _regeneratorRuntime = __webpack_require__(/*! @babel/runtime/regenerator */ "./node_modules/next/node_modules/@babel/runtime/regenerator/index.js");
  10019. Object.defineProperty(exports, "__esModule", {
  10020. value: true
  10021. });
  10022. var url_1 = __webpack_require__(/*! url */ "./node_modules/native-url/dist/index.js");
  10023. /**
  10024. * Utils
  10025. */
  10026. function execOnce(fn) {
  10027. var used = false;
  10028. var result;
  10029. return function () {
  10030. if (!used) {
  10031. used = true;
  10032. result = fn.apply(void 0, arguments);
  10033. }
  10034. return result;
  10035. };
  10036. }
  10037. exports.execOnce = execOnce;
  10038. function getLocationOrigin() {
  10039. var _window$location = window.location,
  10040. protocol = _window$location.protocol,
  10041. hostname = _window$location.hostname,
  10042. port = _window$location.port;
  10043. return "".concat(protocol, "//").concat(hostname).concat(port ? ':' + port : '');
  10044. }
  10045. exports.getLocationOrigin = getLocationOrigin;
  10046. function getURL() {
  10047. var href = window.location.href;
  10048. var origin = getLocationOrigin();
  10049. return href.substring(origin.length);
  10050. }
  10051. exports.getURL = getURL;
  10052. function getDisplayName(Component) {
  10053. return typeof Component === 'string' ? Component : Component.displayName || Component.name || 'Unknown';
  10054. }
  10055. exports.getDisplayName = getDisplayName;
  10056. function isResSent(res) {
  10057. return res.finished || res.headersSent;
  10058. }
  10059. exports.isResSent = isResSent;
  10060. function loadGetInitialProps(App, ctx) {
  10061. var _a, message, res, props, _message;
  10062. return _regeneratorRuntime.async(function loadGetInitialProps$(_context) {
  10063. while (1) {
  10064. switch (_context.prev = _context.next) {
  10065. case 0:
  10066. if (false) {}
  10067. if (!((_a = App.prototype) === null || _a === void 0 ? void 0 : _a.getInitialProps)) {
  10068. _context.next = 4;
  10069. break;
  10070. }
  10071. message = "\"".concat(getDisplayName(App), ".getInitialProps()\" is defined as an instance method - visit https://err.sh/zeit/next.js/get-initial-props-as-an-instance-method for more information.");
  10072. throw new Error(message);
  10073. case 4:
  10074. // when called from _app `ctx` is nested in `ctx`
  10075. res = ctx.res || ctx.ctx && ctx.ctx.res;
  10076. if (App.getInitialProps) {
  10077. _context.next = 12;
  10078. break;
  10079. }
  10080. if (!(ctx.ctx && ctx.Component)) {
  10081. _context.next = 11;
  10082. break;
  10083. }
  10084. _context.next = 9;
  10085. return _regeneratorRuntime.awrap(loadGetInitialProps(ctx.Component, ctx.ctx));
  10086. case 9:
  10087. _context.t0 = _context.sent;
  10088. return _context.abrupt("return", {
  10089. pageProps: _context.t0
  10090. });
  10091. case 11:
  10092. return _context.abrupt("return", {});
  10093. case 12:
  10094. _context.next = 14;
  10095. return _regeneratorRuntime.awrap(App.getInitialProps(ctx));
  10096. case 14:
  10097. props = _context.sent;
  10098. if (!(res && isResSent(res))) {
  10099. _context.next = 17;
  10100. break;
  10101. }
  10102. return _context.abrupt("return", props);
  10103. case 17:
  10104. if (props) {
  10105. _context.next = 20;
  10106. break;
  10107. }
  10108. _message = "\"".concat(getDisplayName(App), ".getInitialProps()\" should resolve to an object. But found \"").concat(props, "\" instead.");
  10109. throw new Error(_message);
  10110. case 20:
  10111. if (true) {
  10112. if (Object.keys(props).length === 0 && !ctx.ctx) {
  10113. console.warn("".concat(getDisplayName(App), " returned an empty object from `getInitialProps`. This de-optimizes and prevents automatic static optimization. https://err.sh/zeit/next.js/empty-object-getInitialProps"));
  10114. }
  10115. }
  10116. return _context.abrupt("return", props);
  10117. case 22:
  10118. case "end":
  10119. return _context.stop();
  10120. }
  10121. }
  10122. }, null, null, null, Promise);
  10123. }
  10124. exports.loadGetInitialProps = loadGetInitialProps;
  10125. exports.urlObjectKeys = ['auth', 'hash', 'host', 'hostname', 'href', 'path', 'pathname', 'port', 'protocol', 'query', 'search', 'slashes'];
  10126. function formatWithValidation(url, options) {
  10127. if (true) {
  10128. if (url !== null && typeof url === 'object') {
  10129. Object.keys(url).forEach(function (key) {
  10130. if (exports.urlObjectKeys.indexOf(key) === -1) {
  10131. console.warn("Unknown key passed via urlObject into url.format: ".concat(key));
  10132. }
  10133. });
  10134. }
  10135. }
  10136. return url_1.format(url, options);
  10137. }
  10138. exports.formatWithValidation = formatWithValidation;
  10139. exports.SP = typeof performance !== 'undefined';
  10140. exports.ST = exports.SP && typeof performance.mark === 'function' && typeof performance.measure === 'function';
  10141. /***/ }),
  10142. /***/ "./node_modules/next/dist/pages/_app.js":
  10143. /*!**********************************************!*\
  10144. !*** ./node_modules/next/dist/pages/_app.js ***!
  10145. \**********************************************/
  10146. /*! no static exports found */
  10147. /***/ (function(module, exports, __webpack_require__) {
  10148. "use strict";
  10149. var _classCallCheck = __webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "./node_modules/next/node_modules/@babel/runtime/helpers/classCallCheck.js");
  10150. var _createClass = __webpack_require__(/*! @babel/runtime/helpers/createClass */ "./node_modules/next/node_modules/@babel/runtime/helpers/createClass.js");
  10151. var _inherits = __webpack_require__(/*! @babel/runtime/helpers/inherits */ "./node_modules/next/node_modules/@babel/runtime/helpers/inherits.js");
  10152. var _possibleConstructorReturn = __webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "./node_modules/next/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js");
  10153. var _getPrototypeOf = __webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "./node_modules/next/node_modules/@babel/runtime/helpers/getPrototypeOf.js");
  10154. var _regeneratorRuntime = __webpack_require__(/*! @babel/runtime/regenerator */ "./node_modules/next/node_modules/@babel/runtime/regenerator/index.js");
  10155. function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
  10156. function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
  10157. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "./node_modules/next/node_modules/@babel/runtime/helpers/interopRequireDefault.js");
  10158. exports.__esModule = true;
  10159. exports.Container = Container;
  10160. exports.createUrl = createUrl;
  10161. exports["default"] = void 0;
  10162. var _react = _interopRequireDefault(__webpack_require__(/*! react */ "./node_modules/react/index.js"));
  10163. var _utils = __webpack_require__(/*! ../next-server/lib/utils */ "./node_modules/next/dist/next-server/lib/utils.js");
  10164. exports.AppInitialProps = _utils.AppInitialProps;
  10165. /**
  10166. * `App` component is used for initialize of pages. It allows for overwriting and full control of the `page` initialization.
  10167. * This allows for keeping state between navigation, custom error handling, injecting additional data.
  10168. */
  10169. function appGetInitialProps(_ref) {
  10170. var Component, ctx, pageProps;
  10171. return _regeneratorRuntime.async(function appGetInitialProps$(_context) {
  10172. while (1) {
  10173. switch (_context.prev = _context.next) {
  10174. case 0:
  10175. Component = _ref.Component, ctx = _ref.ctx;
  10176. _context.next = 3;
  10177. return _regeneratorRuntime.awrap((0, _utils.loadGetInitialProps)(Component, ctx));
  10178. case 3:
  10179. pageProps = _context.sent;
  10180. return _context.abrupt("return", {
  10181. pageProps: pageProps
  10182. });
  10183. case 5:
  10184. case "end":
  10185. return _context.stop();
  10186. }
  10187. }
  10188. }, null, null, null, Promise);
  10189. }
  10190. var App = /*#__PURE__*/function (_react$default$Compon) {
  10191. _inherits(App, _react$default$Compon);
  10192. var _super = _createSuper(App);
  10193. function App() {
  10194. _classCallCheck(this, App);
  10195. return _super.apply(this, arguments);
  10196. }
  10197. _createClass(App, [{
  10198. key: "componentDidCatch",
  10199. value: // Kept here for backwards compatibility.
  10200. // When someone ended App they could call `super.componentDidCatch`.
  10201. // @deprecated This method is no longer needed. Errors are caught at the top level
  10202. function componentDidCatch(error, _errorInfo) {
  10203. throw error;
  10204. }
  10205. }, {
  10206. key: "render",
  10207. value: function render() {
  10208. var _this$props = this.props,
  10209. router = _this$props.router,
  10210. Component = _this$props.Component,
  10211. pageProps = _this$props.pageProps,
  10212. __N_SSG = _this$props.__N_SSG,
  10213. __N_SSP = _this$props.__N_SSP;
  10214. return _react["default"].createElement(Component, Object.assign({}, pageProps, // we don't add the legacy URL prop if it's using non-legacy
  10215. // methods like getStaticProps and getServerSideProps
  10216. !(__N_SSG || __N_SSP) ? {
  10217. url: createUrl(router)
  10218. } : {}));
  10219. }
  10220. }]);
  10221. return App;
  10222. }(_react["default"].Component);
  10223. exports["default"] = App;
  10224. App.origGetInitialProps = appGetInitialProps;
  10225. App.getInitialProps = appGetInitialProps;
  10226. var warnContainer;
  10227. var warnUrl;
  10228. if (true) {
  10229. warnContainer = (0, _utils.execOnce)(function () {
  10230. console.warn("Warning: the `Container` in `_app` has been deprecated and should be removed. https://err.sh/zeit/next.js/app-container-deprecated");
  10231. });
  10232. warnUrl = (0, _utils.execOnce)(function () {
  10233. console.error("Warning: the 'url' property is deprecated. https://err.sh/zeit/next.js/url-deprecated");
  10234. });
  10235. } // @deprecated noop for now until removal
  10236. function Container(p) {
  10237. if (true) warnContainer();
  10238. return p.children;
  10239. }
  10240. function createUrl(router) {
  10241. // This is to make sure we don't references the router object at call time
  10242. var pathname = router.pathname,
  10243. asPath = router.asPath,
  10244. query = router.query;
  10245. return {
  10246. get query() {
  10247. if (true) warnUrl();
  10248. return query;
  10249. },
  10250. get pathname() {
  10251. if (true) warnUrl();
  10252. return pathname;
  10253. },
  10254. get asPath() {
  10255. if (true) warnUrl();
  10256. return asPath;
  10257. },
  10258. back: function back() {
  10259. if (true) warnUrl();
  10260. router.back();
  10261. },
  10262. push: function push(url, as) {
  10263. if (true) warnUrl();
  10264. return router.push(url, as);
  10265. },
  10266. pushTo: function pushTo(href, as) {
  10267. if (true) warnUrl();
  10268. var pushRoute = as ? href : '';
  10269. var pushUrl = as || href;
  10270. return router.push(pushRoute, pushUrl);
  10271. },
  10272. replace: function replace(url, as) {
  10273. if (true) warnUrl();
  10274. return router.replace(url, as);
  10275. },
  10276. replaceTo: function replaceTo(href, as) {
  10277. if (true) warnUrl();
  10278. var replaceRoute = as ? href : '';
  10279. var replaceUrl = as || href;
  10280. return router.replace(replaceRoute, replaceUrl);
  10281. }
  10282. };
  10283. }
  10284. /***/ }),
  10285. /***/ "./node_modules/next/node_modules/@babel/runtime/helpers/arrayWithHoles.js":
  10286. /*!*********************************************************************************!*\
  10287. !*** ./node_modules/next/node_modules/@babel/runtime/helpers/arrayWithHoles.js ***!
  10288. \*********************************************************************************/
  10289. /*! no static exports found */
  10290. /***/ (function(module, exports) {
  10291. function _arrayWithHoles(arr) {
  10292. if (Array.isArray(arr)) return arr;
  10293. }
  10294. module.exports = _arrayWithHoles;
  10295. /***/ }),
  10296. /***/ "./node_modules/next/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js":
  10297. /*!************************************************************************************!*\
  10298. !*** ./node_modules/next/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js ***!
  10299. \************************************************************************************/
  10300. /*! no static exports found */
  10301. /***/ (function(module, exports) {
  10302. function _arrayWithoutHoles(arr) {
  10303. if (Array.isArray(arr)) {
  10304. for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) {
  10305. arr2[i] = arr[i];
  10306. }
  10307. return arr2;
  10308. }
  10309. }
  10310. module.exports = _arrayWithoutHoles;
  10311. /***/ }),
  10312. /***/ "./node_modules/next/node_modules/@babel/runtime/helpers/assertThisInitialized.js":
  10313. /*!****************************************************************************************!*\
  10314. !*** ./node_modules/next/node_modules/@babel/runtime/helpers/assertThisInitialized.js ***!
  10315. \****************************************************************************************/
  10316. /*! no static exports found */
  10317. /***/ (function(module, exports) {
  10318. function _assertThisInitialized(self) {
  10319. if (self === void 0) {
  10320. throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
  10321. }
  10322. return self;
  10323. }
  10324. module.exports = _assertThisInitialized;
  10325. /***/ }),
  10326. /***/ "./node_modules/next/node_modules/@babel/runtime/helpers/classCallCheck.js":
  10327. /*!*********************************************************************************!*\
  10328. !*** ./node_modules/next/node_modules/@babel/runtime/helpers/classCallCheck.js ***!
  10329. \*********************************************************************************/
  10330. /*! no static exports found */
  10331. /***/ (function(module, exports) {
  10332. function _classCallCheck(instance, Constructor) {
  10333. if (!(instance instanceof Constructor)) {
  10334. throw new TypeError("Cannot call a class as a function");
  10335. }
  10336. }
  10337. module.exports = _classCallCheck;
  10338. /***/ }),
  10339. /***/ "./node_modules/next/node_modules/@babel/runtime/helpers/construct.js":
  10340. /*!****************************************************************************!*\
  10341. !*** ./node_modules/next/node_modules/@babel/runtime/helpers/construct.js ***!
  10342. \****************************************************************************/
  10343. /*! no static exports found */
  10344. /***/ (function(module, exports, __webpack_require__) {
  10345. var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf */ "./node_modules/next/node_modules/@babel/runtime/helpers/setPrototypeOf.js");
  10346. function isNativeReflectConstruct() {
  10347. if (typeof Reflect === "undefined" || !Reflect.construct) return false;
  10348. if (Reflect.construct.sham) return false;
  10349. if (typeof Proxy === "function") return true;
  10350. try {
  10351. Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
  10352. return true;
  10353. } catch (e) {
  10354. return false;
  10355. }
  10356. }
  10357. function _construct(Parent, args, Class) {
  10358. if (isNativeReflectConstruct()) {
  10359. module.exports = _construct = Reflect.construct;
  10360. } else {
  10361. module.exports = _construct = function _construct(Parent, args, Class) {
  10362. var a = [null];
  10363. a.push.apply(a, args);
  10364. var Constructor = Function.bind.apply(Parent, a);
  10365. var instance = new Constructor();
  10366. if (Class) setPrototypeOf(instance, Class.prototype);
  10367. return instance;
  10368. };
  10369. }
  10370. return _construct.apply(null, arguments);
  10371. }
  10372. module.exports = _construct;
  10373. /***/ }),
  10374. /***/ "./node_modules/next/node_modules/@babel/runtime/helpers/createClass.js":
  10375. /*!******************************************************************************!*\
  10376. !*** ./node_modules/next/node_modules/@babel/runtime/helpers/createClass.js ***!
  10377. \******************************************************************************/
  10378. /*! no static exports found */
  10379. /***/ (function(module, exports) {
  10380. function _defineProperties(target, props) {
  10381. for (var i = 0; i < props.length; i++) {
  10382. var descriptor = props[i];
  10383. descriptor.enumerable = descriptor.enumerable || false;
  10384. descriptor.configurable = true;
  10385. if ("value" in descriptor) descriptor.writable = true;
  10386. Object.defineProperty(target, descriptor.key, descriptor);
  10387. }
  10388. }
  10389. function _createClass(Constructor, protoProps, staticProps) {
  10390. if (protoProps) _defineProperties(Constructor.prototype, protoProps);
  10391. if (staticProps) _defineProperties(Constructor, staticProps);
  10392. return Constructor;
  10393. }
  10394. module.exports = _createClass;
  10395. /***/ }),
  10396. /***/ "./node_modules/next/node_modules/@babel/runtime/helpers/getPrototypeOf.js":
  10397. /*!*********************************************************************************!*\
  10398. !*** ./node_modules/next/node_modules/@babel/runtime/helpers/getPrototypeOf.js ***!
  10399. \*********************************************************************************/
  10400. /*! no static exports found */
  10401. /***/ (function(module, exports) {
  10402. function _getPrototypeOf(o) {
  10403. module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
  10404. return o.__proto__ || Object.getPrototypeOf(o);
  10405. };
  10406. return _getPrototypeOf(o);
  10407. }
  10408. module.exports = _getPrototypeOf;
  10409. /***/ }),
  10410. /***/ "./node_modules/next/node_modules/@babel/runtime/helpers/inherits.js":
  10411. /*!***************************************************************************!*\
  10412. !*** ./node_modules/next/node_modules/@babel/runtime/helpers/inherits.js ***!
  10413. \***************************************************************************/
  10414. /*! no static exports found */
  10415. /***/ (function(module, exports, __webpack_require__) {
  10416. var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf */ "./node_modules/next/node_modules/@babel/runtime/helpers/setPrototypeOf.js");
  10417. function _inherits(subClass, superClass) {
  10418. if (typeof superClass !== "function" && superClass !== null) {
  10419. throw new TypeError("Super expression must either be null or a function");
  10420. }
  10421. subClass.prototype = Object.create(superClass && superClass.prototype, {
  10422. constructor: {
  10423. value: subClass,
  10424. writable: true,
  10425. configurable: true
  10426. }
  10427. });
  10428. if (superClass) setPrototypeOf(subClass, superClass);
  10429. }
  10430. module.exports = _inherits;
  10431. /***/ }),
  10432. /***/ "./node_modules/next/node_modules/@babel/runtime/helpers/interopRequireDefault.js":
  10433. /*!****************************************************************************************!*\
  10434. !*** ./node_modules/next/node_modules/@babel/runtime/helpers/interopRequireDefault.js ***!
  10435. \****************************************************************************************/
  10436. /*! no static exports found */
  10437. /***/ (function(module, exports) {
  10438. function _interopRequireDefault(obj) {
  10439. return obj && obj.__esModule ? obj : {
  10440. "default": obj
  10441. };
  10442. }
  10443. module.exports = _interopRequireDefault;
  10444. /***/ }),
  10445. /***/ "./node_modules/next/node_modules/@babel/runtime/helpers/interopRequireWildcard.js":
  10446. /*!*****************************************************************************************!*\
  10447. !*** ./node_modules/next/node_modules/@babel/runtime/helpers/interopRequireWildcard.js ***!
  10448. \*****************************************************************************************/
  10449. /*! no static exports found */
  10450. /***/ (function(module, exports, __webpack_require__) {
  10451. var _typeof = __webpack_require__(/*! ../helpers/typeof */ "./node_modules/next/node_modules/@babel/runtime/helpers/typeof.js");
  10452. function _getRequireWildcardCache() {
  10453. if (typeof WeakMap !== "function") return null;
  10454. var cache = new WeakMap();
  10455. _getRequireWildcardCache = function _getRequireWildcardCache() {
  10456. return cache;
  10457. };
  10458. return cache;
  10459. }
  10460. function _interopRequireWildcard(obj) {
  10461. if (obj && obj.__esModule) {
  10462. return obj;
  10463. }
  10464. if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") {
  10465. return {
  10466. "default": obj
  10467. };
  10468. }
  10469. var cache = _getRequireWildcardCache();
  10470. if (cache && cache.has(obj)) {
  10471. return cache.get(obj);
  10472. }
  10473. var newObj = {};
  10474. var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
  10475. for (var key in obj) {
  10476. if (Object.prototype.hasOwnProperty.call(obj, key)) {
  10477. var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
  10478. if (desc && (desc.get || desc.set)) {
  10479. Object.defineProperty(newObj, key, desc);
  10480. } else {
  10481. newObj[key] = obj[key];
  10482. }
  10483. }
  10484. }
  10485. newObj["default"] = obj;
  10486. if (cache) {
  10487. cache.set(obj, newObj);
  10488. }
  10489. return newObj;
  10490. }
  10491. module.exports = _interopRequireWildcard;
  10492. /***/ }),
  10493. /***/ "./node_modules/next/node_modules/@babel/runtime/helpers/iterableToArray.js":
  10494. /*!**********************************************************************************!*\
  10495. !*** ./node_modules/next/node_modules/@babel/runtime/helpers/iterableToArray.js ***!
  10496. \**********************************************************************************/
  10497. /*! no static exports found */
  10498. /***/ (function(module, exports) {
  10499. function _iterableToArray(iter) {
  10500. if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter);
  10501. }
  10502. module.exports = _iterableToArray;
  10503. /***/ }),
  10504. /***/ "./node_modules/next/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js":
  10505. /*!***************************************************************************************!*\
  10506. !*** ./node_modules/next/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js ***!
  10507. \***************************************************************************************/
  10508. /*! no static exports found */
  10509. /***/ (function(module, exports) {
  10510. function _iterableToArrayLimit(arr, i) {
  10511. if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) {
  10512. return;
  10513. }
  10514. var _arr = [];
  10515. var _n = true;
  10516. var _d = false;
  10517. var _e = undefined;
  10518. try {
  10519. for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
  10520. _arr.push(_s.value);
  10521. if (i && _arr.length === i) break;
  10522. }
  10523. } catch (err) {
  10524. _d = true;
  10525. _e = err;
  10526. } finally {
  10527. try {
  10528. if (!_n && _i["return"] != null) _i["return"]();
  10529. } finally {
  10530. if (_d) throw _e;
  10531. }
  10532. }
  10533. return _arr;
  10534. }
  10535. module.exports = _iterableToArrayLimit;
  10536. /***/ }),
  10537. /***/ "./node_modules/next/node_modules/@babel/runtime/helpers/nonIterableRest.js":
  10538. /*!**********************************************************************************!*\
  10539. !*** ./node_modules/next/node_modules/@babel/runtime/helpers/nonIterableRest.js ***!
  10540. \**********************************************************************************/
  10541. /*! no static exports found */
  10542. /***/ (function(module, exports) {
  10543. function _nonIterableRest() {
  10544. throw new TypeError("Invalid attempt to destructure non-iterable instance");
  10545. }
  10546. module.exports = _nonIterableRest;
  10547. /***/ }),
  10548. /***/ "./node_modules/next/node_modules/@babel/runtime/helpers/nonIterableSpread.js":
  10549. /*!************************************************************************************!*\
  10550. !*** ./node_modules/next/node_modules/@babel/runtime/helpers/nonIterableSpread.js ***!
  10551. \************************************************************************************/
  10552. /*! no static exports found */
  10553. /***/ (function(module, exports) {
  10554. function _nonIterableSpread() {
  10555. throw new TypeError("Invalid attempt to spread non-iterable instance");
  10556. }
  10557. module.exports = _nonIterableSpread;
  10558. /***/ }),
  10559. /***/ "./node_modules/next/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js":
  10560. /*!********************************************************************************************!*\
  10561. !*** ./node_modules/next/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js ***!
  10562. \********************************************************************************************/
  10563. /*! no static exports found */
  10564. /***/ (function(module, exports, __webpack_require__) {
  10565. var _typeof = __webpack_require__(/*! ../helpers/typeof */ "./node_modules/next/node_modules/@babel/runtime/helpers/typeof.js");
  10566. var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized */ "./node_modules/next/node_modules/@babel/runtime/helpers/assertThisInitialized.js");
  10567. function _possibleConstructorReturn(self, call) {
  10568. if (call && (_typeof(call) === "object" || typeof call === "function")) {
  10569. return call;
  10570. }
  10571. return assertThisInitialized(self);
  10572. }
  10573. module.exports = _possibleConstructorReturn;
  10574. /***/ }),
  10575. /***/ "./node_modules/next/node_modules/@babel/runtime/helpers/setPrototypeOf.js":
  10576. /*!*********************************************************************************!*\
  10577. !*** ./node_modules/next/node_modules/@babel/runtime/helpers/setPrototypeOf.js ***!
  10578. \*********************************************************************************/
  10579. /*! no static exports found */
  10580. /***/ (function(module, exports) {
  10581. function _setPrototypeOf(o, p) {
  10582. module.exports = _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
  10583. o.__proto__ = p;
  10584. return o;
  10585. };
  10586. return _setPrototypeOf(o, p);
  10587. }
  10588. module.exports = _setPrototypeOf;
  10589. /***/ }),
  10590. /***/ "./node_modules/next/node_modules/@babel/runtime/helpers/slicedToArray.js":
  10591. /*!********************************************************************************!*\
  10592. !*** ./node_modules/next/node_modules/@babel/runtime/helpers/slicedToArray.js ***!
  10593. \********************************************************************************/
  10594. /*! no static exports found */
  10595. /***/ (function(module, exports, __webpack_require__) {
  10596. var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles */ "./node_modules/next/node_modules/@babel/runtime/helpers/arrayWithHoles.js");
  10597. var iterableToArrayLimit = __webpack_require__(/*! ./iterableToArrayLimit */ "./node_modules/next/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js");
  10598. var nonIterableRest = __webpack_require__(/*! ./nonIterableRest */ "./node_modules/next/node_modules/@babel/runtime/helpers/nonIterableRest.js");
  10599. function _slicedToArray(arr, i) {
  10600. return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || nonIterableRest();
  10601. }
  10602. module.exports = _slicedToArray;
  10603. /***/ }),
  10604. /***/ "./node_modules/next/node_modules/@babel/runtime/helpers/toConsumableArray.js":
  10605. /*!************************************************************************************!*\
  10606. !*** ./node_modules/next/node_modules/@babel/runtime/helpers/toConsumableArray.js ***!
  10607. \************************************************************************************/
  10608. /*! no static exports found */
  10609. /***/ (function(module, exports, __webpack_require__) {
  10610. var arrayWithoutHoles = __webpack_require__(/*! ./arrayWithoutHoles */ "./node_modules/next/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js");
  10611. var iterableToArray = __webpack_require__(/*! ./iterableToArray */ "./node_modules/next/node_modules/@babel/runtime/helpers/iterableToArray.js");
  10612. var nonIterableSpread = __webpack_require__(/*! ./nonIterableSpread */ "./node_modules/next/node_modules/@babel/runtime/helpers/nonIterableSpread.js");
  10613. function _toConsumableArray(arr) {
  10614. return arrayWithoutHoles(arr) || iterableToArray(arr) || nonIterableSpread();
  10615. }
  10616. module.exports = _toConsumableArray;
  10617. /***/ }),
  10618. /***/ "./node_modules/next/node_modules/@babel/runtime/helpers/typeof.js":
  10619. /*!*************************************************************************!*\
  10620. !*** ./node_modules/next/node_modules/@babel/runtime/helpers/typeof.js ***!
  10621. \*************************************************************************/
  10622. /*! no static exports found */
  10623. /***/ (function(module, exports) {
  10624. function _typeof2(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof2 = function _typeof2(obj) { return typeof obj; }; } else { _typeof2 = function _typeof2(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof2(obj); }
  10625. function _typeof(obj) {
  10626. if (typeof Symbol === "function" && _typeof2(Symbol.iterator) === "symbol") {
  10627. module.exports = _typeof = function _typeof(obj) {
  10628. return _typeof2(obj);
  10629. };
  10630. } else {
  10631. module.exports = _typeof = function _typeof(obj) {
  10632. return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : _typeof2(obj);
  10633. };
  10634. }
  10635. return _typeof(obj);
  10636. }
  10637. module.exports = _typeof;
  10638. /***/ }),
  10639. /***/ "./node_modules/next/node_modules/@babel/runtime/regenerator/index.js":
  10640. /*!****************************************************************************!*\
  10641. !*** ./node_modules/next/node_modules/@babel/runtime/regenerator/index.js ***!
  10642. \****************************************************************************/
  10643. /*! no static exports found */
  10644. /***/ (function(module, exports, __webpack_require__) {
  10645. module.exports = __webpack_require__(/*! regenerator-runtime */ "./node_modules/regenerator-runtime/runtime.js");
  10646. /***/ }),
  10647. /***/ "./node_modules/next/node_modules/react-is/cjs/react-is.development.js":
  10648. /*!*****************************************************************************!*\
  10649. !*** ./node_modules/next/node_modules/react-is/cjs/react-is.development.js ***!
  10650. \*****************************************************************************/
  10651. /*! no static exports found */
  10652. /***/ (function(module, exports, __webpack_require__) {
  10653. "use strict";
  10654. /** @license React v16.8.6
  10655. * react-is.development.js
  10656. *
  10657. * Copyright (c) Facebook, Inc. and its affiliates.
  10658. *
  10659. * This source code is licensed under the MIT license found in the
  10660. * LICENSE file in the root directory of this source tree.
  10661. */
  10662. if (true) {
  10663. (function() {
  10664. 'use strict';
  10665. Object.defineProperty(exports, '__esModule', { value: true });
  10666. // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
  10667. // nor polyfill, then a plain number is used for performance.
  10668. var hasSymbol = typeof Symbol === 'function' && Symbol.for;
  10669. var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
  10670. var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
  10671. var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
  10672. var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
  10673. var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
  10674. var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
  10675. var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace;
  10676. var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
  10677. var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
  10678. var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
  10679. var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
  10680. var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
  10681. var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
  10682. function isValidElementType(type) {
  10683. return typeof type === 'string' || typeof type === 'function' ||
  10684. // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
  10685. type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE);
  10686. }
  10687. /**
  10688. * Forked from fbjs/warning:
  10689. * https://github.com/facebook/fbjs/blob/e66ba20ad5be433eb54423f2b097d829324d9de6/packages/fbjs/src/__forks__/warning.js
  10690. *
  10691. * Only change is we use console.warn instead of console.error,
  10692. * and do nothing when 'console' is not supported.
  10693. * This really simplifies the code.
  10694. * ---
  10695. * Similar to invariant but only logs a warning if the condition is not met.
  10696. * This can be used to log issues in development environments in critical
  10697. * paths. Removing the logging code for production environments will keep the
  10698. * same logic and follow the same code paths.
  10699. */
  10700. var lowPriorityWarning = function () {};
  10701. {
  10702. var printWarning = function (format) {
  10703. for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
  10704. args[_key - 1] = arguments[_key];
  10705. }
  10706. var argIndex = 0;
  10707. var message = 'Warning: ' + format.replace(/%s/g, function () {
  10708. return args[argIndex++];
  10709. });
  10710. if (typeof console !== 'undefined') {
  10711. console.warn(message);
  10712. }
  10713. try {
  10714. // --- Welcome to debugging React ---
  10715. // This error was thrown as a convenience so that you can use this stack
  10716. // to find the callsite that caused this warning to fire.
  10717. throw new Error(message);
  10718. } catch (x) {}
  10719. };
  10720. lowPriorityWarning = function (condition, format) {
  10721. if (format === undefined) {
  10722. throw new Error('`lowPriorityWarning(condition, format, ...args)` requires a warning ' + 'message argument');
  10723. }
  10724. if (!condition) {
  10725. for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {
  10726. args[_key2 - 2] = arguments[_key2];
  10727. }
  10728. printWarning.apply(undefined, [format].concat(args));
  10729. }
  10730. };
  10731. }
  10732. var lowPriorityWarning$1 = lowPriorityWarning;
  10733. function typeOf(object) {
  10734. if (typeof object === 'object' && object !== null) {
  10735. var $$typeof = object.$$typeof;
  10736. switch ($$typeof) {
  10737. case REACT_ELEMENT_TYPE:
  10738. var type = object.type;
  10739. switch (type) {
  10740. case REACT_ASYNC_MODE_TYPE:
  10741. case REACT_CONCURRENT_MODE_TYPE:
  10742. case REACT_FRAGMENT_TYPE:
  10743. case REACT_PROFILER_TYPE:
  10744. case REACT_STRICT_MODE_TYPE:
  10745. case REACT_SUSPENSE_TYPE:
  10746. return type;
  10747. default:
  10748. var $$typeofType = type && type.$$typeof;
  10749. switch ($$typeofType) {
  10750. case REACT_CONTEXT_TYPE:
  10751. case REACT_FORWARD_REF_TYPE:
  10752. case REACT_PROVIDER_TYPE:
  10753. return $$typeofType;
  10754. default:
  10755. return $$typeof;
  10756. }
  10757. }
  10758. case REACT_LAZY_TYPE:
  10759. case REACT_MEMO_TYPE:
  10760. case REACT_PORTAL_TYPE:
  10761. return $$typeof;
  10762. }
  10763. }
  10764. return undefined;
  10765. }
  10766. // AsyncMode is deprecated along with isAsyncMode
  10767. var AsyncMode = REACT_ASYNC_MODE_TYPE;
  10768. var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
  10769. var ContextConsumer = REACT_CONTEXT_TYPE;
  10770. var ContextProvider = REACT_PROVIDER_TYPE;
  10771. var Element = REACT_ELEMENT_TYPE;
  10772. var ForwardRef = REACT_FORWARD_REF_TYPE;
  10773. var Fragment = REACT_FRAGMENT_TYPE;
  10774. var Lazy = REACT_LAZY_TYPE;
  10775. var Memo = REACT_MEMO_TYPE;
  10776. var Portal = REACT_PORTAL_TYPE;
  10777. var Profiler = REACT_PROFILER_TYPE;
  10778. var StrictMode = REACT_STRICT_MODE_TYPE;
  10779. var Suspense = REACT_SUSPENSE_TYPE;
  10780. var hasWarnedAboutDeprecatedIsAsyncMode = false;
  10781. // AsyncMode should be deprecated
  10782. function isAsyncMode(object) {
  10783. {
  10784. if (!hasWarnedAboutDeprecatedIsAsyncMode) {
  10785. hasWarnedAboutDeprecatedIsAsyncMode = true;
  10786. lowPriorityWarning$1(false, 'The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
  10787. }
  10788. }
  10789. return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
  10790. }
  10791. function isConcurrentMode(object) {
  10792. return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
  10793. }
  10794. function isContextConsumer(object) {
  10795. return typeOf(object) === REACT_CONTEXT_TYPE;
  10796. }
  10797. function isContextProvider(object) {
  10798. return typeOf(object) === REACT_PROVIDER_TYPE;
  10799. }
  10800. function isElement(object) {
  10801. return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
  10802. }
  10803. function isForwardRef(object) {
  10804. return typeOf(object) === REACT_FORWARD_REF_TYPE;
  10805. }
  10806. function isFragment(object) {
  10807. return typeOf(object) === REACT_FRAGMENT_TYPE;
  10808. }
  10809. function isLazy(object) {
  10810. return typeOf(object) === REACT_LAZY_TYPE;
  10811. }
  10812. function isMemo(object) {
  10813. return typeOf(object) === REACT_MEMO_TYPE;
  10814. }
  10815. function isPortal(object) {
  10816. return typeOf(object) === REACT_PORTAL_TYPE;
  10817. }
  10818. function isProfiler(object) {
  10819. return typeOf(object) === REACT_PROFILER_TYPE;
  10820. }
  10821. function isStrictMode(object) {
  10822. return typeOf(object) === REACT_STRICT_MODE_TYPE;
  10823. }
  10824. function isSuspense(object) {
  10825. return typeOf(object) === REACT_SUSPENSE_TYPE;
  10826. }
  10827. exports.typeOf = typeOf;
  10828. exports.AsyncMode = AsyncMode;
  10829. exports.ConcurrentMode = ConcurrentMode;
  10830. exports.ContextConsumer = ContextConsumer;
  10831. exports.ContextProvider = ContextProvider;
  10832. exports.Element = Element;
  10833. exports.ForwardRef = ForwardRef;
  10834. exports.Fragment = Fragment;
  10835. exports.Lazy = Lazy;
  10836. exports.Memo = Memo;
  10837. exports.Portal = Portal;
  10838. exports.Profiler = Profiler;
  10839. exports.StrictMode = StrictMode;
  10840. exports.Suspense = Suspense;
  10841. exports.isValidElementType = isValidElementType;
  10842. exports.isAsyncMode = isAsyncMode;
  10843. exports.isConcurrentMode = isConcurrentMode;
  10844. exports.isContextConsumer = isContextConsumer;
  10845. exports.isContextProvider = isContextProvider;
  10846. exports.isElement = isElement;
  10847. exports.isForwardRef = isForwardRef;
  10848. exports.isFragment = isFragment;
  10849. exports.isLazy = isLazy;
  10850. exports.isMemo = isMemo;
  10851. exports.isPortal = isPortal;
  10852. exports.isProfiler = isProfiler;
  10853. exports.isStrictMode = isStrictMode;
  10854. exports.isSuspense = isSuspense;
  10855. })();
  10856. }
  10857. /***/ }),
  10858. /***/ "./node_modules/next/node_modules/react-is/index.js":
  10859. /*!**********************************************************!*\
  10860. !*** ./node_modules/next/node_modules/react-is/index.js ***!
  10861. \**********************************************************/
  10862. /*! no static exports found */
  10863. /***/ (function(module, exports, __webpack_require__) {
  10864. "use strict";
  10865. if (false) {} else {
  10866. module.exports = __webpack_require__(/*! ./cjs/react-is.development.js */ "./node_modules/next/node_modules/react-is/cjs/react-is.development.js");
  10867. }
  10868. /***/ }),
  10869. /***/ "./node_modules/prop-types/checkPropTypes.js":
  10870. /*!*********************************************************************************************************!*\
  10871. !*** delegated ./node_modules/prop-types/checkPropTypes.js from dll-reference dll_2adc2403d89adc16ead0 ***!
  10872. \*********************************************************************************************************/
  10873. /*! no static exports found */
  10874. /***/ (function(module, exports, __webpack_require__) {
  10875. module.exports = (__webpack_require__(/*! dll-reference dll_2adc2403d89adc16ead0 */ "dll-reference dll_2adc2403d89adc16ead0"))("./node_modules/prop-types/checkPropTypes.js");
  10876. /***/ }),
  10877. /***/ "./node_modules/prop-types/factoryWithTypeCheckers.js":
  10878. /*!************************************************************!*\
  10879. !*** ./node_modules/prop-types/factoryWithTypeCheckers.js ***!
  10880. \************************************************************/
  10881. /*! no static exports found */
  10882. /***/ (function(module, exports, __webpack_require__) {
  10883. "use strict";
  10884. /**
  10885. * Copyright (c) 2013-present, Facebook, Inc.
  10886. *
  10887. * This source code is licensed under the MIT license found in the
  10888. * LICENSE file in the root directory of this source tree.
  10889. */
  10890. var ReactIs = __webpack_require__(/*! react-is */ "./node_modules/react-is/index.js");
  10891. var assign = __webpack_require__(/*! object-assign */ "./node_modules/next/dist/build/polyfills/object-assign.js");
  10892. var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "./node_modules/prop-types/lib/ReactPropTypesSecret.js");
  10893. var checkPropTypes = __webpack_require__(/*! ./checkPropTypes */ "./node_modules/prop-types/checkPropTypes.js");
  10894. var has = Function.call.bind(Object.prototype.hasOwnProperty);
  10895. var printWarning = function() {};
  10896. if (true) {
  10897. printWarning = function(text) {
  10898. var message = 'Warning: ' + text;
  10899. if (typeof console !== 'undefined') {
  10900. console.error(message);
  10901. }
  10902. try {
  10903. // --- Welcome to debugging React ---
  10904. // This error was thrown as a convenience so that you can use this stack
  10905. // to find the callsite that caused this warning to fire.
  10906. throw new Error(message);
  10907. } catch (x) {}
  10908. };
  10909. }
  10910. function emptyFunctionThatReturnsNull() {
  10911. return null;
  10912. }
  10913. module.exports = function(isValidElement, throwOnDirectAccess) {
  10914. /* global Symbol */
  10915. var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
  10916. var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.
  10917. /**
  10918. * Returns the iterator method function contained on the iterable object.
  10919. *
  10920. * Be sure to invoke the function with the iterable as context:
  10921. *
  10922. * var iteratorFn = getIteratorFn(myIterable);
  10923. * if (iteratorFn) {
  10924. * var iterator = iteratorFn.call(myIterable);
  10925. * ...
  10926. * }
  10927. *
  10928. * @param {?object} maybeIterable
  10929. * @return {?function}
  10930. */
  10931. function getIteratorFn(maybeIterable) {
  10932. var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
  10933. if (typeof iteratorFn === 'function') {
  10934. return iteratorFn;
  10935. }
  10936. }
  10937. /**
  10938. * Collection of methods that allow declaration and validation of props that are
  10939. * supplied to React components. Example usage:
  10940. *
  10941. * var Props = require('ReactPropTypes');
  10942. * var MyArticle = React.createClass({
  10943. * propTypes: {
  10944. * // An optional string prop named "description".
  10945. * description: Props.string,
  10946. *
  10947. * // A required enum prop named "category".
  10948. * category: Props.oneOf(['News','Photos']).isRequired,
  10949. *
  10950. * // A prop named "dialog" that requires an instance of Dialog.
  10951. * dialog: Props.instanceOf(Dialog).isRequired
  10952. * },
  10953. * render: function() { ... }
  10954. * });
  10955. *
  10956. * A more formal specification of how these methods are used:
  10957. *
  10958. * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)
  10959. * decl := ReactPropTypes.{type}(.isRequired)?
  10960. *
  10961. * Each and every declaration produces a function with the same signature. This
  10962. * allows the creation of custom validation functions. For example:
  10963. *
  10964. * var MyLink = React.createClass({
  10965. * propTypes: {
  10966. * // An optional string or URI prop named "href".
  10967. * href: function(props, propName, componentName) {
  10968. * var propValue = props[propName];
  10969. * if (propValue != null && typeof propValue !== 'string' &&
  10970. * !(propValue instanceof URI)) {
  10971. * return new Error(
  10972. * 'Expected a string or an URI for ' + propName + ' in ' +
  10973. * componentName
  10974. * );
  10975. * }
  10976. * }
  10977. * },
  10978. * render: function() {...}
  10979. * });
  10980. *
  10981. * @internal
  10982. */
  10983. var ANONYMOUS = '<<anonymous>>';
  10984. // Important!
  10985. // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
  10986. var ReactPropTypes = {
  10987. array: createPrimitiveTypeChecker('array'),
  10988. bool: createPrimitiveTypeChecker('boolean'),
  10989. func: createPrimitiveTypeChecker('function'),
  10990. number: createPrimitiveTypeChecker('number'),
  10991. object: createPrimitiveTypeChecker('object'),
  10992. string: createPrimitiveTypeChecker('string'),
  10993. symbol: createPrimitiveTypeChecker('symbol'),
  10994. any: createAnyTypeChecker(),
  10995. arrayOf: createArrayOfTypeChecker,
  10996. element: createElementTypeChecker(),
  10997. elementType: createElementTypeTypeChecker(),
  10998. instanceOf: createInstanceTypeChecker,
  10999. node: createNodeChecker(),
  11000. objectOf: createObjectOfTypeChecker,
  11001. oneOf: createEnumTypeChecker,
  11002. oneOfType: createUnionTypeChecker,
  11003. shape: createShapeTypeChecker,
  11004. exact: createStrictShapeTypeChecker,
  11005. };
  11006. /**
  11007. * inlined Object.is polyfill to avoid requiring consumers ship their own
  11008. * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
  11009. */
  11010. /*eslint-disable no-self-compare*/
  11011. function is(x, y) {
  11012. // SameValue algorithm
  11013. if (x === y) {
  11014. // Steps 1-5, 7-10
  11015. // Steps 6.b-6.e: +0 != -0
  11016. return x !== 0 || 1 / x === 1 / y;
  11017. } else {
  11018. // Step 6.a: NaN == NaN
  11019. return x !== x && y !== y;
  11020. }
  11021. }
  11022. /*eslint-enable no-self-compare*/
  11023. /**
  11024. * We use an Error-like object for backward compatibility as people may call
  11025. * PropTypes directly and inspect their output. However, we don't use real
  11026. * Errors anymore. We don't inspect their stack anyway, and creating them
  11027. * is prohibitively expensive if they are created too often, such as what
  11028. * happens in oneOfType() for any type before the one that matched.
  11029. */
  11030. function PropTypeError(message) {
  11031. this.message = message;
  11032. this.stack = '';
  11033. }
  11034. // Make `instanceof Error` still work for returned errors.
  11035. PropTypeError.prototype = Error.prototype;
  11036. function createChainableTypeChecker(validate) {
  11037. if (true) {
  11038. var manualPropTypeCallCache = {};
  11039. var manualPropTypeWarningCount = 0;
  11040. }
  11041. function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
  11042. componentName = componentName || ANONYMOUS;
  11043. propFullName = propFullName || propName;
  11044. if (secret !== ReactPropTypesSecret) {
  11045. if (throwOnDirectAccess) {
  11046. // New behavior only for users of `prop-types` package
  11047. var err = new Error(
  11048. 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
  11049. 'Use `PropTypes.checkPropTypes()` to call them. ' +
  11050. 'Read more at http://fb.me/use-check-prop-types'
  11051. );
  11052. err.name = 'Invariant Violation';
  11053. throw err;
  11054. } else if ( true && typeof console !== 'undefined') {
  11055. // Old behavior for people using React.PropTypes
  11056. var cacheKey = componentName + ':' + propName;
  11057. if (
  11058. !manualPropTypeCallCache[cacheKey] &&
  11059. // Avoid spamming the console because they are often not actionable except for lib authors
  11060. manualPropTypeWarningCount < 3
  11061. ) {
  11062. printWarning(
  11063. 'You are manually calling a React.PropTypes validation ' +
  11064. 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
  11065. 'and will throw in the standalone `prop-types` package. ' +
  11066. 'You may be seeing this warning due to a third-party PropTypes ' +
  11067. 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'
  11068. );
  11069. manualPropTypeCallCache[cacheKey] = true;
  11070. manualPropTypeWarningCount++;
  11071. }
  11072. }
  11073. }
  11074. if (props[propName] == null) {
  11075. if (isRequired) {
  11076. if (props[propName] === null) {
  11077. return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));
  11078. }
  11079. return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));
  11080. }
  11081. return null;
  11082. } else {
  11083. return validate(props, propName, componentName, location, propFullName);
  11084. }
  11085. }
  11086. var chainedCheckType = checkType.bind(null, false);
  11087. chainedCheckType.isRequired = checkType.bind(null, true);
  11088. return chainedCheckType;
  11089. }
  11090. function createPrimitiveTypeChecker(expectedType) {
  11091. function validate(props, propName, componentName, location, propFullName, secret) {
  11092. var propValue = props[propName];
  11093. var propType = getPropType(propValue);
  11094. if (propType !== expectedType) {
  11095. // `propValue` being instance of, say, date/regexp, pass the 'object'
  11096. // check, but we can offer a more precise error message here rather than
  11097. // 'of type `object`'.
  11098. var preciseType = getPreciseType(propValue);
  11099. return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'));
  11100. }
  11101. return null;
  11102. }
  11103. return createChainableTypeChecker(validate);
  11104. }
  11105. function createAnyTypeChecker() {
  11106. return createChainableTypeChecker(emptyFunctionThatReturnsNull);
  11107. }
  11108. function createArrayOfTypeChecker(typeChecker) {
  11109. function validate(props, propName, componentName, location, propFullName) {
  11110. if (typeof typeChecker !== 'function') {
  11111. return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');
  11112. }
  11113. var propValue = props[propName];
  11114. if (!Array.isArray(propValue)) {
  11115. var propType = getPropType(propValue);
  11116. return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));
  11117. }
  11118. for (var i = 0; i < propValue.length; i++) {
  11119. var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);
  11120. if (error instanceof Error) {
  11121. return error;
  11122. }
  11123. }
  11124. return null;
  11125. }
  11126. return createChainableTypeChecker(validate);
  11127. }
  11128. function createElementTypeChecker() {
  11129. function validate(props, propName, componentName, location, propFullName) {
  11130. var propValue = props[propName];
  11131. if (!isValidElement(propValue)) {
  11132. var propType = getPropType(propValue);
  11133. return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));
  11134. }
  11135. return null;
  11136. }
  11137. return createChainableTypeChecker(validate);
  11138. }
  11139. function createElementTypeTypeChecker() {
  11140. function validate(props, propName, componentName, location, propFullName) {
  11141. var propValue = props[propName];
  11142. if (!ReactIs.isValidElementType(propValue)) {
  11143. var propType = getPropType(propValue);
  11144. return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));
  11145. }
  11146. return null;
  11147. }
  11148. return createChainableTypeChecker(validate);
  11149. }
  11150. function createInstanceTypeChecker(expectedClass) {
  11151. function validate(props, propName, componentName, location, propFullName) {
  11152. if (!(props[propName] instanceof expectedClass)) {
  11153. var expectedClassName = expectedClass.name || ANONYMOUS;
  11154. var actualClassName = getClassName(props[propName]);
  11155. return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));
  11156. }
  11157. return null;
  11158. }
  11159. return createChainableTypeChecker(validate);
  11160. }
  11161. function createEnumTypeChecker(expectedValues) {
  11162. if (!Array.isArray(expectedValues)) {
  11163. if (true) {
  11164. if (arguments.length > 1) {
  11165. printWarning(
  11166. 'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +
  11167. 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'
  11168. );
  11169. } else {
  11170. printWarning('Invalid argument supplied to oneOf, expected an array.');
  11171. }
  11172. }
  11173. return emptyFunctionThatReturnsNull;
  11174. }
  11175. function validate(props, propName, componentName, location, propFullName) {
  11176. var propValue = props[propName];
  11177. for (var i = 0; i < expectedValues.length; i++) {
  11178. if (is(propValue, expectedValues[i])) {
  11179. return null;
  11180. }
  11181. }
  11182. var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {
  11183. var type = getPreciseType(value);
  11184. if (type === 'symbol') {
  11185. return String(value);
  11186. }
  11187. return value;
  11188. });
  11189. return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));
  11190. }
  11191. return createChainableTypeChecker(validate);
  11192. }
  11193. function createObjectOfTypeChecker(typeChecker) {
  11194. function validate(props, propName, componentName, location, propFullName) {
  11195. if (typeof typeChecker !== 'function') {
  11196. return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');
  11197. }
  11198. var propValue = props[propName];
  11199. var propType = getPropType(propValue);
  11200. if (propType !== 'object') {
  11201. return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));
  11202. }
  11203. for (var key in propValue) {
  11204. if (has(propValue, key)) {
  11205. var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
  11206. if (error instanceof Error) {
  11207. return error;
  11208. }
  11209. }
  11210. }
  11211. return null;
  11212. }
  11213. return createChainableTypeChecker(validate);
  11214. }
  11215. function createUnionTypeChecker(arrayOfTypeCheckers) {
  11216. if (!Array.isArray(arrayOfTypeCheckers)) {
  11217. true ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : undefined;
  11218. return emptyFunctionThatReturnsNull;
  11219. }
  11220. for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
  11221. var checker = arrayOfTypeCheckers[i];
  11222. if (typeof checker !== 'function') {
  11223. printWarning(
  11224. 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +
  11225. 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'
  11226. );
  11227. return emptyFunctionThatReturnsNull;
  11228. }
  11229. }
  11230. function validate(props, propName, componentName, location, propFullName) {
  11231. for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
  11232. var checker = arrayOfTypeCheckers[i];
  11233. if (checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret) == null) {
  11234. return null;
  11235. }
  11236. }
  11237. return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.'));
  11238. }
  11239. return createChainableTypeChecker(validate);
  11240. }
  11241. function createNodeChecker() {
  11242. function validate(props, propName, componentName, location, propFullName) {
  11243. if (!isNode(props[propName])) {
  11244. return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));
  11245. }
  11246. return null;
  11247. }
  11248. return createChainableTypeChecker(validate);
  11249. }
  11250. function createShapeTypeChecker(shapeTypes) {
  11251. function validate(props, propName, componentName, location, propFullName) {
  11252. var propValue = props[propName];
  11253. var propType = getPropType(propValue);
  11254. if (propType !== 'object') {
  11255. return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
  11256. }
  11257. for (var key in shapeTypes) {
  11258. var checker = shapeTypes[key];
  11259. if (!checker) {
  11260. continue;
  11261. }
  11262. var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
  11263. if (error) {
  11264. return error;
  11265. }
  11266. }
  11267. return null;
  11268. }
  11269. return createChainableTypeChecker(validate);
  11270. }
  11271. function createStrictShapeTypeChecker(shapeTypes) {
  11272. function validate(props, propName, componentName, location, propFullName) {
  11273. var propValue = props[propName];
  11274. var propType = getPropType(propValue);
  11275. if (propType !== 'object') {
  11276. return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
  11277. }
  11278. // We need to check all keys in case some are required but missing from
  11279. // props.
  11280. var allKeys = assign({}, props[propName], shapeTypes);
  11281. for (var key in allKeys) {
  11282. var checker = shapeTypes[key];
  11283. if (!checker) {
  11284. return new PropTypeError(
  11285. 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +
  11286. '\nBad object: ' + JSON.stringify(props[propName], null, ' ') +
  11287. '\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
  11288. );
  11289. }
  11290. var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
  11291. if (error) {
  11292. return error;
  11293. }
  11294. }
  11295. return null;
  11296. }
  11297. return createChainableTypeChecker(validate);
  11298. }
  11299. function isNode(propValue) {
  11300. switch (typeof propValue) {
  11301. case 'number':
  11302. case 'string':
  11303. case 'undefined':
  11304. return true;
  11305. case 'boolean':
  11306. return !propValue;
  11307. case 'object':
  11308. if (Array.isArray(propValue)) {
  11309. return propValue.every(isNode);
  11310. }
  11311. if (propValue === null || isValidElement(propValue)) {
  11312. return true;
  11313. }
  11314. var iteratorFn = getIteratorFn(propValue);
  11315. if (iteratorFn) {
  11316. var iterator = iteratorFn.call(propValue);
  11317. var step;
  11318. if (iteratorFn !== propValue.entries) {
  11319. while (!(step = iterator.next()).done) {
  11320. if (!isNode(step.value)) {
  11321. return false;
  11322. }
  11323. }
  11324. } else {
  11325. // Iterator will provide entry [k,v] tuples rather than values.
  11326. while (!(step = iterator.next()).done) {
  11327. var entry = step.value;
  11328. if (entry) {
  11329. if (!isNode(entry[1])) {
  11330. return false;
  11331. }
  11332. }
  11333. }
  11334. }
  11335. } else {
  11336. return false;
  11337. }
  11338. return true;
  11339. default:
  11340. return false;
  11341. }
  11342. }
  11343. function isSymbol(propType, propValue) {
  11344. // Native Symbol.
  11345. if (propType === 'symbol') {
  11346. return true;
  11347. }
  11348. // falsy value can't be a Symbol
  11349. if (!propValue) {
  11350. return false;
  11351. }
  11352. // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'
  11353. if (propValue['@@toStringTag'] === 'Symbol') {
  11354. return true;
  11355. }
  11356. // Fallback for non-spec compliant Symbols which are polyfilled.
  11357. if (typeof Symbol === 'function' && propValue instanceof Symbol) {
  11358. return true;
  11359. }
  11360. return false;
  11361. }
  11362. // Equivalent of `typeof` but with special handling for array and regexp.
  11363. function getPropType(propValue) {
  11364. var propType = typeof propValue;
  11365. if (Array.isArray(propValue)) {
  11366. return 'array';
  11367. }
  11368. if (propValue instanceof RegExp) {
  11369. // Old webkits (at least until Android 4.0) return 'function' rather than
  11370. // 'object' for typeof a RegExp. We'll normalize this here so that /bla/
  11371. // passes PropTypes.object.
  11372. return 'object';
  11373. }
  11374. if (isSymbol(propType, propValue)) {
  11375. return 'symbol';
  11376. }
  11377. return propType;
  11378. }
  11379. // This handles more types than `getPropType`. Only used for error messages.
  11380. // See `createPrimitiveTypeChecker`.
  11381. function getPreciseType(propValue) {
  11382. if (typeof propValue === 'undefined' || propValue === null) {
  11383. return '' + propValue;
  11384. }
  11385. var propType = getPropType(propValue);
  11386. if (propType === 'object') {
  11387. if (propValue instanceof Date) {
  11388. return 'date';
  11389. } else if (propValue instanceof RegExp) {
  11390. return 'regexp';
  11391. }
  11392. }
  11393. return propType;
  11394. }
  11395. // Returns a string that is postfixed to a warning about an invalid type.
  11396. // For example, "undefined" or "of type array"
  11397. function getPostfixForTypeWarning(value) {
  11398. var type = getPreciseType(value);
  11399. switch (type) {
  11400. case 'array':
  11401. case 'object':
  11402. return 'an ' + type;
  11403. case 'boolean':
  11404. case 'date':
  11405. case 'regexp':
  11406. return 'a ' + type;
  11407. default:
  11408. return type;
  11409. }
  11410. }
  11411. // Returns class name of the object, if any.
  11412. function getClassName(propValue) {
  11413. if (!propValue.constructor || !propValue.constructor.name) {
  11414. return ANONYMOUS;
  11415. }
  11416. return propValue.constructor.name;
  11417. }
  11418. ReactPropTypes.checkPropTypes = checkPropTypes;
  11419. ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
  11420. ReactPropTypes.PropTypes = ReactPropTypes;
  11421. return ReactPropTypes;
  11422. };
  11423. /***/ }),
  11424. /***/ "./node_modules/prop-types/index.js":
  11425. /*!******************************************!*\
  11426. !*** ./node_modules/prop-types/index.js ***!
  11427. \******************************************/
  11428. /*! no static exports found */
  11429. /***/ (function(module, exports, __webpack_require__) {
  11430. /**
  11431. * Copyright (c) 2013-present, Facebook, Inc.
  11432. *
  11433. * This source code is licensed under the MIT license found in the
  11434. * LICENSE file in the root directory of this source tree.
  11435. */
  11436. if (true) {
  11437. var ReactIs = __webpack_require__(/*! react-is */ "./node_modules/react-is/index.js");
  11438. // By explicitly using `prop-types` you are opting into new development behavior.
  11439. // http://fb.me/prop-types-in-prod
  11440. var throwOnDirectAccess = true;
  11441. module.exports = __webpack_require__(/*! ./factoryWithTypeCheckers */ "./node_modules/prop-types/factoryWithTypeCheckers.js")(ReactIs.isElement, throwOnDirectAccess);
  11442. } else {}
  11443. /***/ }),
  11444. /***/ "./node_modules/prop-types/lib/ReactPropTypesSecret.js":
  11445. /*!*******************************************************************************************************************!*\
  11446. !*** delegated ./node_modules/prop-types/lib/ReactPropTypesSecret.js from dll-reference dll_2adc2403d89adc16ead0 ***!
  11447. \*******************************************************************************************************************/
  11448. /*! no static exports found */
  11449. /***/ (function(module, exports, __webpack_require__) {
  11450. module.exports = (__webpack_require__(/*! dll-reference dll_2adc2403d89adc16ead0 */ "dll-reference dll_2adc2403d89adc16ead0"))("./node_modules/prop-types/lib/ReactPropTypesSecret.js");
  11451. /***/ }),
  11452. /***/ "./node_modules/querystring-es3/decode.js":
  11453. /*!************************************************!*\
  11454. !*** ./node_modules/querystring-es3/decode.js ***!
  11455. \************************************************/
  11456. /*! no static exports found */
  11457. /***/ (function(module, exports, __webpack_require__) {
  11458. "use strict";
  11459. // Copyright Joyent, Inc. and other Node contributors.
  11460. //
  11461. // Permission is hereby granted, free of charge, to any person obtaining a
  11462. // copy of this software and associated documentation files (the
  11463. // "Software"), to deal in the Software without restriction, including
  11464. // without limitation the rights to use, copy, modify, merge, publish,
  11465. // distribute, sublicense, and/or sell copies of the Software, and to permit
  11466. // persons to whom the Software is furnished to do so, subject to the
  11467. // following conditions:
  11468. //
  11469. // The above copyright notice and this permission notice shall be included
  11470. // in all copies or substantial portions of the Software.
  11471. //
  11472. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  11473. // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  11474. // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
  11475. // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
  11476. // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
  11477. // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
  11478. // USE OR OTHER DEALINGS IN THE SOFTWARE.
  11479. // If obj.hasOwnProperty has been overridden, then calling
  11480. // obj.hasOwnProperty(prop) will break.
  11481. // See: https://github.com/joyent/node/issues/1707
  11482. function hasOwnProperty(obj, prop) {
  11483. return Object.prototype.hasOwnProperty.call(obj, prop);
  11484. }
  11485. module.exports = function(qs, sep, eq, options) {
  11486. sep = sep || '&';
  11487. eq = eq || '=';
  11488. var obj = {};
  11489. if (typeof qs !== 'string' || qs.length === 0) {
  11490. return obj;
  11491. }
  11492. var regexp = /\+/g;
  11493. qs = qs.split(sep);
  11494. var maxKeys = 1000;
  11495. if (options && typeof options.maxKeys === 'number') {
  11496. maxKeys = options.maxKeys;
  11497. }
  11498. var len = qs.length;
  11499. // maxKeys <= 0 means that we should not limit keys count
  11500. if (maxKeys > 0 && len > maxKeys) {
  11501. len = maxKeys;
  11502. }
  11503. for (var i = 0; i < len; ++i) {
  11504. var x = qs[i].replace(regexp, '%20'),
  11505. idx = x.indexOf(eq),
  11506. kstr, vstr, k, v;
  11507. if (idx >= 0) {
  11508. kstr = x.substr(0, idx);
  11509. vstr = x.substr(idx + 1);
  11510. } else {
  11511. kstr = x;
  11512. vstr = '';
  11513. }
  11514. k = decodeURIComponent(kstr);
  11515. v = decodeURIComponent(vstr);
  11516. if (!hasOwnProperty(obj, k)) {
  11517. obj[k] = v;
  11518. } else if (isArray(obj[k])) {
  11519. obj[k].push(v);
  11520. } else {
  11521. obj[k] = [obj[k], v];
  11522. }
  11523. }
  11524. return obj;
  11525. };
  11526. var isArray = Array.isArray || function (xs) {
  11527. return Object.prototype.toString.call(xs) === '[object Array]';
  11528. };
  11529. /***/ }),
  11530. /***/ "./node_modules/querystring-es3/encode.js":
  11531. /*!************************************************!*\
  11532. !*** ./node_modules/querystring-es3/encode.js ***!
  11533. \************************************************/
  11534. /*! no static exports found */
  11535. /***/ (function(module, exports, __webpack_require__) {
  11536. "use strict";
  11537. // Copyright Joyent, Inc. and other Node contributors.
  11538. //
  11539. // Permission is hereby granted, free of charge, to any person obtaining a
  11540. // copy of this software and associated documentation files (the
  11541. // "Software"), to deal in the Software without restriction, including
  11542. // without limitation the rights to use, copy, modify, merge, publish,
  11543. // distribute, sublicense, and/or sell copies of the Software, and to permit
  11544. // persons to whom the Software is furnished to do so, subject to the
  11545. // following conditions:
  11546. //
  11547. // The above copyright notice and this permission notice shall be included
  11548. // in all copies or substantial portions of the Software.
  11549. //
  11550. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  11551. // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  11552. // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
  11553. // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
  11554. // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
  11555. // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
  11556. // USE OR OTHER DEALINGS IN THE SOFTWARE.
  11557. var stringifyPrimitive = function(v) {
  11558. switch (typeof v) {
  11559. case 'string':
  11560. return v;
  11561. case 'boolean':
  11562. return v ? 'true' : 'false';
  11563. case 'number':
  11564. return isFinite(v) ? v : '';
  11565. default:
  11566. return '';
  11567. }
  11568. };
  11569. module.exports = function(obj, sep, eq, name) {
  11570. sep = sep || '&';
  11571. eq = eq || '=';
  11572. if (obj === null) {
  11573. obj = undefined;
  11574. }
  11575. if (typeof obj === 'object') {
  11576. return map(objectKeys(obj), function(k) {
  11577. var ks = encodeURIComponent(stringifyPrimitive(k)) + eq;
  11578. if (isArray(obj[k])) {
  11579. return map(obj[k], function(v) {
  11580. return ks + encodeURIComponent(stringifyPrimitive(v));
  11581. }).join(sep);
  11582. } else {
  11583. return ks + encodeURIComponent(stringifyPrimitive(obj[k]));
  11584. }
  11585. }).join(sep);
  11586. }
  11587. if (!name) return '';
  11588. return encodeURIComponent(stringifyPrimitive(name)) + eq +
  11589. encodeURIComponent(stringifyPrimitive(obj));
  11590. };
  11591. var isArray = Array.isArray || function (xs) {
  11592. return Object.prototype.toString.call(xs) === '[object Array]';
  11593. };
  11594. function map (xs, f) {
  11595. if (xs.map) return xs.map(f);
  11596. var res = [];
  11597. for (var i = 0; i < xs.length; i++) {
  11598. res.push(f(xs[i], i));
  11599. }
  11600. return res;
  11601. }
  11602. var objectKeys = Object.keys || function (obj) {
  11603. var res = [];
  11604. for (var key in obj) {
  11605. if (Object.prototype.hasOwnProperty.call(obj, key)) res.push(key);
  11606. }
  11607. return res;
  11608. };
  11609. /***/ }),
  11610. /***/ "./node_modules/querystring-es3/index.js":
  11611. /*!***********************************************!*\
  11612. !*** ./node_modules/querystring-es3/index.js ***!
  11613. \***********************************************/
  11614. /*! no static exports found */
  11615. /***/ (function(module, exports, __webpack_require__) {
  11616. "use strict";
  11617. exports.decode = exports.parse = __webpack_require__(/*! ./decode */ "./node_modules/querystring-es3/decode.js");
  11618. exports.encode = exports.stringify = __webpack_require__(/*! ./encode */ "./node_modules/querystring-es3/encode.js");
  11619. /***/ }),
  11620. /***/ "./node_modules/react-dom/index.js":
  11621. /*!***********************************************************************************************!*\
  11622. !*** delegated ./node_modules/react-dom/index.js from dll-reference dll_2adc2403d89adc16ead0 ***!
  11623. \***********************************************************************************************/
  11624. /*! no static exports found */
  11625. /***/ (function(module, exports, __webpack_require__) {
  11626. module.exports = (__webpack_require__(/*! dll-reference dll_2adc2403d89adc16ead0 */ "dll-reference dll_2adc2403d89adc16ead0"))("./node_modules/react-dom/index.js");
  11627. /***/ }),
  11628. /***/ "./node_modules/react-is/cjs/react-is.development.js":
  11629. /*!***********************************************************!*\
  11630. !*** ./node_modules/react-is/cjs/react-is.development.js ***!
  11631. \***********************************************************/
  11632. /*! no static exports found */
  11633. /***/ (function(module, exports, __webpack_require__) {
  11634. "use strict";
  11635. /** @license React v16.13.1
  11636. * react-is.development.js
  11637. *
  11638. * Copyright (c) Facebook, Inc. and its affiliates.
  11639. *
  11640. * This source code is licensed under the MIT license found in the
  11641. * LICENSE file in the root directory of this source tree.
  11642. */
  11643. if (true) {
  11644. (function() {
  11645. 'use strict';
  11646. // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
  11647. // nor polyfill, then a plain number is used for performance.
  11648. var hasSymbol = typeof Symbol === 'function' && Symbol.for;
  11649. var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
  11650. var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
  11651. var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
  11652. var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
  11653. var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
  11654. var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
  11655. var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
  11656. // (unstable) APIs that have been removed. Can we remove the symbols?
  11657. var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
  11658. var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
  11659. var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
  11660. var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
  11661. var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
  11662. var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
  11663. var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
  11664. var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
  11665. var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
  11666. var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
  11667. var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
  11668. function isValidElementType(type) {
  11669. return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
  11670. type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
  11671. }
  11672. function typeOf(object) {
  11673. if (typeof object === 'object' && object !== null) {
  11674. var $$typeof = object.$$typeof;
  11675. switch ($$typeof) {
  11676. case REACT_ELEMENT_TYPE:
  11677. var type = object.type;
  11678. switch (type) {
  11679. case REACT_ASYNC_MODE_TYPE:
  11680. case REACT_CONCURRENT_MODE_TYPE:
  11681. case REACT_FRAGMENT_TYPE:
  11682. case REACT_PROFILER_TYPE:
  11683. case REACT_STRICT_MODE_TYPE:
  11684. case REACT_SUSPENSE_TYPE:
  11685. return type;
  11686. default:
  11687. var $$typeofType = type && type.$$typeof;
  11688. switch ($$typeofType) {
  11689. case REACT_CONTEXT_TYPE:
  11690. case REACT_FORWARD_REF_TYPE:
  11691. case REACT_LAZY_TYPE:
  11692. case REACT_MEMO_TYPE:
  11693. case REACT_PROVIDER_TYPE:
  11694. return $$typeofType;
  11695. default:
  11696. return $$typeof;
  11697. }
  11698. }
  11699. case REACT_PORTAL_TYPE:
  11700. return $$typeof;
  11701. }
  11702. }
  11703. return undefined;
  11704. } // AsyncMode is deprecated along with isAsyncMode
  11705. var AsyncMode = REACT_ASYNC_MODE_TYPE;
  11706. var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
  11707. var ContextConsumer = REACT_CONTEXT_TYPE;
  11708. var ContextProvider = REACT_PROVIDER_TYPE;
  11709. var Element = REACT_ELEMENT_TYPE;
  11710. var ForwardRef = REACT_FORWARD_REF_TYPE;
  11711. var Fragment = REACT_FRAGMENT_TYPE;
  11712. var Lazy = REACT_LAZY_TYPE;
  11713. var Memo = REACT_MEMO_TYPE;
  11714. var Portal = REACT_PORTAL_TYPE;
  11715. var Profiler = REACT_PROFILER_TYPE;
  11716. var StrictMode = REACT_STRICT_MODE_TYPE;
  11717. var Suspense = REACT_SUSPENSE_TYPE;
  11718. var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
  11719. function isAsyncMode(object) {
  11720. {
  11721. if (!hasWarnedAboutDeprecatedIsAsyncMode) {
  11722. hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
  11723. console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
  11724. }
  11725. }
  11726. return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
  11727. }
  11728. function isConcurrentMode(object) {
  11729. return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
  11730. }
  11731. function isContextConsumer(object) {
  11732. return typeOf(object) === REACT_CONTEXT_TYPE;
  11733. }
  11734. function isContextProvider(object) {
  11735. return typeOf(object) === REACT_PROVIDER_TYPE;
  11736. }
  11737. function isElement(object) {
  11738. return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
  11739. }
  11740. function isForwardRef(object) {
  11741. return typeOf(object) === REACT_FORWARD_REF_TYPE;
  11742. }
  11743. function isFragment(object) {
  11744. return typeOf(object) === REACT_FRAGMENT_TYPE;
  11745. }
  11746. function isLazy(object) {
  11747. return typeOf(object) === REACT_LAZY_TYPE;
  11748. }
  11749. function isMemo(object) {
  11750. return typeOf(object) === REACT_MEMO_TYPE;
  11751. }
  11752. function isPortal(object) {
  11753. return typeOf(object) === REACT_PORTAL_TYPE;
  11754. }
  11755. function isProfiler(object) {
  11756. return typeOf(object) === REACT_PROFILER_TYPE;
  11757. }
  11758. function isStrictMode(object) {
  11759. return typeOf(object) === REACT_STRICT_MODE_TYPE;
  11760. }
  11761. function isSuspense(object) {
  11762. return typeOf(object) === REACT_SUSPENSE_TYPE;
  11763. }
  11764. exports.AsyncMode = AsyncMode;
  11765. exports.ConcurrentMode = ConcurrentMode;
  11766. exports.ContextConsumer = ContextConsumer;
  11767. exports.ContextProvider = ContextProvider;
  11768. exports.Element = Element;
  11769. exports.ForwardRef = ForwardRef;
  11770. exports.Fragment = Fragment;
  11771. exports.Lazy = Lazy;
  11772. exports.Memo = Memo;
  11773. exports.Portal = Portal;
  11774. exports.Profiler = Profiler;
  11775. exports.StrictMode = StrictMode;
  11776. exports.Suspense = Suspense;
  11777. exports.isAsyncMode = isAsyncMode;
  11778. exports.isConcurrentMode = isConcurrentMode;
  11779. exports.isContextConsumer = isContextConsumer;
  11780. exports.isContextProvider = isContextProvider;
  11781. exports.isElement = isElement;
  11782. exports.isForwardRef = isForwardRef;
  11783. exports.isFragment = isFragment;
  11784. exports.isLazy = isLazy;
  11785. exports.isMemo = isMemo;
  11786. exports.isPortal = isPortal;
  11787. exports.isProfiler = isProfiler;
  11788. exports.isStrictMode = isStrictMode;
  11789. exports.isSuspense = isSuspense;
  11790. exports.isValidElementType = isValidElementType;
  11791. exports.typeOf = typeOf;
  11792. })();
  11793. }
  11794. /***/ }),
  11795. /***/ "./node_modules/react-is/index.js":
  11796. /*!****************************************!*\
  11797. !*** ./node_modules/react-is/index.js ***!
  11798. \****************************************/
  11799. /*! no static exports found */
  11800. /***/ (function(module, exports, __webpack_require__) {
  11801. "use strict";
  11802. if (false) {} else {
  11803. module.exports = __webpack_require__(/*! ./cjs/react-is.development.js */ "./node_modules/react-is/cjs/react-is.development.js");
  11804. }
  11805. /***/ }),
  11806. /***/ "./node_modules/react/index.js":
  11807. /*!*******************************************************************************************!*\
  11808. !*** delegated ./node_modules/react/index.js from dll-reference dll_2adc2403d89adc16ead0 ***!
  11809. \*******************************************************************************************/
  11810. /*! no static exports found */
  11811. /***/ (function(module, exports, __webpack_require__) {
  11812. module.exports = (__webpack_require__(/*! dll-reference dll_2adc2403d89adc16ead0 */ "dll-reference dll_2adc2403d89adc16ead0"))("./node_modules/react/index.js");
  11813. /***/ }),
  11814. /***/ "./node_modules/regenerator-runtime/runtime.js":
  11815. /*!*****************************************************!*\
  11816. !*** ./node_modules/regenerator-runtime/runtime.js ***!
  11817. \*****************************************************/
  11818. /*! no static exports found */
  11819. /***/ (function(module, exports, __webpack_require__) {
  11820. /**
  11821. * Copyright (c) 2014-present, Facebook, Inc.
  11822. *
  11823. * This source code is licensed under the MIT license found in the
  11824. * LICENSE file in the root directory of this source tree.
  11825. */
  11826. var runtime = (function (exports) {
  11827. "use strict";
  11828. var Op = Object.prototype;
  11829. var hasOwn = Op.hasOwnProperty;
  11830. var undefined; // More compressible than void 0.
  11831. var $Symbol = typeof Symbol === "function" ? Symbol : {};
  11832. var iteratorSymbol = $Symbol.iterator || "@@iterator";
  11833. var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator";
  11834. var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
  11835. function define(obj, key, value) {
  11836. Object.defineProperty(obj, key, {
  11837. value: value,
  11838. enumerable: true,
  11839. configurable: true,
  11840. writable: true
  11841. });
  11842. return obj[key];
  11843. }
  11844. try {
  11845. // IE 8 has a broken Object.defineProperty that only works on DOM objects.
  11846. define({}, "");
  11847. } catch (err) {
  11848. define = function(obj, key, value) {
  11849. return obj[key] = value;
  11850. };
  11851. }
  11852. function wrap(innerFn, outerFn, self, tryLocsList) {
  11853. // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.
  11854. var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;
  11855. var generator = Object.create(protoGenerator.prototype);
  11856. var context = new Context(tryLocsList || []);
  11857. // The ._invoke method unifies the implementations of the .next,
  11858. // .throw, and .return methods.
  11859. generator._invoke = makeInvokeMethod(innerFn, self, context);
  11860. return generator;
  11861. }
  11862. exports.wrap = wrap;
  11863. // Try/catch helper to minimize deoptimizations. Returns a completion
  11864. // record like context.tryEntries[i].completion. This interface could
  11865. // have been (and was previously) designed to take a closure to be
  11866. // invoked without arguments, but in all the cases we care about we
  11867. // already have an existing method we want to call, so there's no need
  11868. // to create a new function object. We can even get away with assuming
  11869. // the method takes exactly one argument, since that happens to be true
  11870. // in every case, so we don't have to touch the arguments object. The
  11871. // only additional allocation required is the completion record, which
  11872. // has a stable shape and so hopefully should be cheap to allocate.
  11873. function tryCatch(fn, obj, arg) {
  11874. try {
  11875. return { type: "normal", arg: fn.call(obj, arg) };
  11876. } catch (err) {
  11877. return { type: "throw", arg: err };
  11878. }
  11879. }
  11880. var GenStateSuspendedStart = "suspendedStart";
  11881. var GenStateSuspendedYield = "suspendedYield";
  11882. var GenStateExecuting = "executing";
  11883. var GenStateCompleted = "completed";
  11884. // Returning this object from the innerFn has the same effect as
  11885. // breaking out of the dispatch switch statement.
  11886. var ContinueSentinel = {};
  11887. // Dummy constructor functions that we use as the .constructor and
  11888. // .constructor.prototype properties for functions that return Generator
  11889. // objects. For full spec compliance, you may wish to configure your
  11890. // minifier not to mangle the names of these two functions.
  11891. function Generator() {}
  11892. function GeneratorFunction() {}
  11893. function GeneratorFunctionPrototype() {}
  11894. // This is a polyfill for %IteratorPrototype% for environments that
  11895. // don't natively support it.
  11896. var IteratorPrototype = {};
  11897. IteratorPrototype[iteratorSymbol] = function () {
  11898. return this;
  11899. };
  11900. var getProto = Object.getPrototypeOf;
  11901. var NativeIteratorPrototype = getProto && getProto(getProto(values([])));
  11902. if (NativeIteratorPrototype &&
  11903. NativeIteratorPrototype !== Op &&
  11904. hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {
  11905. // This environment has a native %IteratorPrototype%; use it instead
  11906. // of the polyfill.
  11907. IteratorPrototype = NativeIteratorPrototype;
  11908. }
  11909. var Gp = GeneratorFunctionPrototype.prototype =
  11910. Generator.prototype = Object.create(IteratorPrototype);
  11911. GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;
  11912. GeneratorFunctionPrototype.constructor = GeneratorFunction;
  11913. GeneratorFunction.displayName = define(
  11914. GeneratorFunctionPrototype,
  11915. toStringTagSymbol,
  11916. "GeneratorFunction"
  11917. );
  11918. // Helper for defining the .next, .throw, and .return methods of the
  11919. // Iterator interface in terms of a single ._invoke method.
  11920. function defineIteratorMethods(prototype) {
  11921. ["next", "throw", "return"].forEach(function(method) {
  11922. define(prototype, method, function(arg) {
  11923. return this._invoke(method, arg);
  11924. });
  11925. });
  11926. }
  11927. exports.isGeneratorFunction = function(genFun) {
  11928. var ctor = typeof genFun === "function" && genFun.constructor;
  11929. return ctor
  11930. ? ctor === GeneratorFunction ||
  11931. // For the native GeneratorFunction constructor, the best we can
  11932. // do is to check its .name property.
  11933. (ctor.displayName || ctor.name) === "GeneratorFunction"
  11934. : false;
  11935. };
  11936. exports.mark = function(genFun) {
  11937. if (Object.setPrototypeOf) {
  11938. Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);
  11939. } else {
  11940. genFun.__proto__ = GeneratorFunctionPrototype;
  11941. define(genFun, toStringTagSymbol, "GeneratorFunction");
  11942. }
  11943. genFun.prototype = Object.create(Gp);
  11944. return genFun;
  11945. };
  11946. // Within the body of any async function, `await x` is transformed to
  11947. // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test
  11948. // `hasOwn.call(value, "__await")` to determine if the yielded value is
  11949. // meant to be awaited.
  11950. exports.awrap = function(arg) {
  11951. return { __await: arg };
  11952. };
  11953. function AsyncIterator(generator, PromiseImpl) {
  11954. function invoke(method, arg, resolve, reject) {
  11955. var record = tryCatch(generator[method], generator, arg);
  11956. if (record.type === "throw") {
  11957. reject(record.arg);
  11958. } else {
  11959. var result = record.arg;
  11960. var value = result.value;
  11961. if (value &&
  11962. typeof value === "object" &&
  11963. hasOwn.call(value, "__await")) {
  11964. return PromiseImpl.resolve(value.__await).then(function(value) {
  11965. invoke("next", value, resolve, reject);
  11966. }, function(err) {
  11967. invoke("throw", err, resolve, reject);
  11968. });
  11969. }
  11970. return PromiseImpl.resolve(value).then(function(unwrapped) {
  11971. // When a yielded Promise is resolved, its final value becomes
  11972. // the .value of the Promise<{value,done}> result for the
  11973. // current iteration.
  11974. result.value = unwrapped;
  11975. resolve(result);
  11976. }, function(error) {
  11977. // If a rejected Promise was yielded, throw the rejection back
  11978. // into the async generator function so it can be handled there.
  11979. return invoke("throw", error, resolve, reject);
  11980. });
  11981. }
  11982. }
  11983. var previousPromise;
  11984. function enqueue(method, arg) {
  11985. function callInvokeWithMethodAndArg() {
  11986. return new PromiseImpl(function(resolve, reject) {
  11987. invoke(method, arg, resolve, reject);
  11988. });
  11989. }
  11990. return previousPromise =
  11991. // If enqueue has been called before, then we want to wait until
  11992. // all previous Promises have been resolved before calling invoke,
  11993. // so that results are always delivered in the correct order. If
  11994. // enqueue has not been called before, then it is important to
  11995. // call invoke immediately, without waiting on a callback to fire,
  11996. // so that the async generator function has the opportunity to do
  11997. // any necessary setup in a predictable way. This predictability
  11998. // is why the Promise constructor synchronously invokes its
  11999. // executor callback, and why async functions synchronously
  12000. // execute code before the first await. Since we implement simple
  12001. // async functions in terms of async generators, it is especially
  12002. // important to get this right, even though it requires care.
  12003. previousPromise ? previousPromise.then(
  12004. callInvokeWithMethodAndArg,
  12005. // Avoid propagating failures to Promises returned by later
  12006. // invocations of the iterator.
  12007. callInvokeWithMethodAndArg
  12008. ) : callInvokeWithMethodAndArg();
  12009. }
  12010. // Define the unified helper method that is used to implement .next,
  12011. // .throw, and .return (see defineIteratorMethods).
  12012. this._invoke = enqueue;
  12013. }
  12014. defineIteratorMethods(AsyncIterator.prototype);
  12015. AsyncIterator.prototype[asyncIteratorSymbol] = function () {
  12016. return this;
  12017. };
  12018. exports.AsyncIterator = AsyncIterator;
  12019. // Note that simple async functions are implemented on top of
  12020. // AsyncIterator objects; they just return a Promise for the value of
  12021. // the final result produced by the iterator.
  12022. exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {
  12023. if (PromiseImpl === void 0) PromiseImpl = Promise;
  12024. var iter = new AsyncIterator(
  12025. wrap(innerFn, outerFn, self, tryLocsList),
  12026. PromiseImpl
  12027. );
  12028. return exports.isGeneratorFunction(outerFn)
  12029. ? iter // If outerFn is a generator, return the full iterator.
  12030. : iter.next().then(function(result) {
  12031. return result.done ? result.value : iter.next();
  12032. });
  12033. };
  12034. function makeInvokeMethod(innerFn, self, context) {
  12035. var state = GenStateSuspendedStart;
  12036. return function invoke(method, arg) {
  12037. if (state === GenStateExecuting) {
  12038. throw new Error("Generator is already running");
  12039. }
  12040. if (state === GenStateCompleted) {
  12041. if (method === "throw") {
  12042. throw arg;
  12043. }
  12044. // Be forgiving, per 25.3.3.3.3 of the spec:
  12045. // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume
  12046. return doneResult();
  12047. }
  12048. context.method = method;
  12049. context.arg = arg;
  12050. while (true) {
  12051. var delegate = context.delegate;
  12052. if (delegate) {
  12053. var delegateResult = maybeInvokeDelegate(delegate, context);
  12054. if (delegateResult) {
  12055. if (delegateResult === ContinueSentinel) continue;
  12056. return delegateResult;
  12057. }
  12058. }
  12059. if (context.method === "next") {
  12060. // Setting context._sent for legacy support of Babel's
  12061. // function.sent implementation.
  12062. context.sent = context._sent = context.arg;
  12063. } else if (context.method === "throw") {
  12064. if (state === GenStateSuspendedStart) {
  12065. state = GenStateCompleted;
  12066. throw context.arg;
  12067. }
  12068. context.dispatchException(context.arg);
  12069. } else if (context.method === "return") {
  12070. context.abrupt("return", context.arg);
  12071. }
  12072. state = GenStateExecuting;
  12073. var record = tryCatch(innerFn, self, context);
  12074. if (record.type === "normal") {
  12075. // If an exception is thrown from innerFn, we leave state ===
  12076. // GenStateExecuting and loop back for another invocation.
  12077. state = context.done
  12078. ? GenStateCompleted
  12079. : GenStateSuspendedYield;
  12080. if (record.arg === ContinueSentinel) {
  12081. continue;
  12082. }
  12083. return {
  12084. value: record.arg,
  12085. done: context.done
  12086. };
  12087. } else if (record.type === "throw") {
  12088. state = GenStateCompleted;
  12089. // Dispatch the exception by looping back around to the
  12090. // context.dispatchException(context.arg) call above.
  12091. context.method = "throw";
  12092. context.arg = record.arg;
  12093. }
  12094. }
  12095. };
  12096. }
  12097. // Call delegate.iterator[context.method](context.arg) and handle the
  12098. // result, either by returning a { value, done } result from the
  12099. // delegate iterator, or by modifying context.method and context.arg,
  12100. // setting context.delegate to null, and returning the ContinueSentinel.
  12101. function maybeInvokeDelegate(delegate, context) {
  12102. var method = delegate.iterator[context.method];
  12103. if (method === undefined) {
  12104. // A .throw or .return when the delegate iterator has no .throw
  12105. // method always terminates the yield* loop.
  12106. context.delegate = null;
  12107. if (context.method === "throw") {
  12108. // Note: ["return"] must be used for ES3 parsing compatibility.
  12109. if (delegate.iterator["return"]) {
  12110. // If the delegate iterator has a return method, give it a
  12111. // chance to clean up.
  12112. context.method = "return";
  12113. context.arg = undefined;
  12114. maybeInvokeDelegate(delegate, context);
  12115. if (context.method === "throw") {
  12116. // If maybeInvokeDelegate(context) changed context.method from
  12117. // "return" to "throw", let that override the TypeError below.
  12118. return ContinueSentinel;
  12119. }
  12120. }
  12121. context.method = "throw";
  12122. context.arg = new TypeError(
  12123. "The iterator does not provide a 'throw' method");
  12124. }
  12125. return ContinueSentinel;
  12126. }
  12127. var record = tryCatch(method, delegate.iterator, context.arg);
  12128. if (record.type === "throw") {
  12129. context.method = "throw";
  12130. context.arg = record.arg;
  12131. context.delegate = null;
  12132. return ContinueSentinel;
  12133. }
  12134. var info = record.arg;
  12135. if (! info) {
  12136. context.method = "throw";
  12137. context.arg = new TypeError("iterator result is not an object");
  12138. context.delegate = null;
  12139. return ContinueSentinel;
  12140. }
  12141. if (info.done) {
  12142. // Assign the result of the finished delegate to the temporary
  12143. // variable specified by delegate.resultName (see delegateYield).
  12144. context[delegate.resultName] = info.value;
  12145. // Resume execution at the desired location (see delegateYield).
  12146. context.next = delegate.nextLoc;
  12147. // If context.method was "throw" but the delegate handled the
  12148. // exception, let the outer generator proceed normally. If
  12149. // context.method was "next", forget context.arg since it has been
  12150. // "consumed" by the delegate iterator. If context.method was
  12151. // "return", allow the original .return call to continue in the
  12152. // outer generator.
  12153. if (context.method !== "return") {
  12154. context.method = "next";
  12155. context.arg = undefined;
  12156. }
  12157. } else {
  12158. // Re-yield the result returned by the delegate method.
  12159. return info;
  12160. }
  12161. // The delegate iterator is finished, so forget it and continue with
  12162. // the outer generator.
  12163. context.delegate = null;
  12164. return ContinueSentinel;
  12165. }
  12166. // Define Generator.prototype.{next,throw,return} in terms of the
  12167. // unified ._invoke helper method.
  12168. defineIteratorMethods(Gp);
  12169. define(Gp, toStringTagSymbol, "Generator");
  12170. // A Generator should always return itself as the iterator object when the
  12171. // @@iterator function is called on it. Some browsers' implementations of the
  12172. // iterator prototype chain incorrectly implement this, causing the Generator
  12173. // object to not be returned from this call. This ensures that doesn't happen.
  12174. // See https://github.com/facebook/regenerator/issues/274 for more details.
  12175. Gp[iteratorSymbol] = function() {
  12176. return this;
  12177. };
  12178. Gp.toString = function() {
  12179. return "[object Generator]";
  12180. };
  12181. function pushTryEntry(locs) {
  12182. var entry = { tryLoc: locs[0] };
  12183. if (1 in locs) {
  12184. entry.catchLoc = locs[1];
  12185. }
  12186. if (2 in locs) {
  12187. entry.finallyLoc = locs[2];
  12188. entry.afterLoc = locs[3];
  12189. }
  12190. this.tryEntries.push(entry);
  12191. }
  12192. function resetTryEntry(entry) {
  12193. var record = entry.completion || {};
  12194. record.type = "normal";
  12195. delete record.arg;
  12196. entry.completion = record;
  12197. }
  12198. function Context(tryLocsList) {
  12199. // The root entry object (effectively a try statement without a catch
  12200. // or a finally block) gives us a place to store values thrown from
  12201. // locations where there is no enclosing try statement.
  12202. this.tryEntries = [{ tryLoc: "root" }];
  12203. tryLocsList.forEach(pushTryEntry, this);
  12204. this.reset(true);
  12205. }
  12206. exports.keys = function(object) {
  12207. var keys = [];
  12208. for (var key in object) {
  12209. keys.push(key);
  12210. }
  12211. keys.reverse();
  12212. // Rather than returning an object with a next method, we keep
  12213. // things simple and return the next function itself.
  12214. return function next() {
  12215. while (keys.length) {
  12216. var key = keys.pop();
  12217. if (key in object) {
  12218. next.value = key;
  12219. next.done = false;
  12220. return next;
  12221. }
  12222. }
  12223. // To avoid creating an additional object, we just hang the .value
  12224. // and .done properties off the next function object itself. This
  12225. // also ensures that the minifier will not anonymize the function.
  12226. next.done = true;
  12227. return next;
  12228. };
  12229. };
  12230. function values(iterable) {
  12231. if (iterable) {
  12232. var iteratorMethod = iterable[iteratorSymbol];
  12233. if (iteratorMethod) {
  12234. return iteratorMethod.call(iterable);
  12235. }
  12236. if (typeof iterable.next === "function") {
  12237. return iterable;
  12238. }
  12239. if (!isNaN(iterable.length)) {
  12240. var i = -1, next = function next() {
  12241. while (++i < iterable.length) {
  12242. if (hasOwn.call(iterable, i)) {
  12243. next.value = iterable[i];
  12244. next.done = false;
  12245. return next;
  12246. }
  12247. }
  12248. next.value = undefined;
  12249. next.done = true;
  12250. return next;
  12251. };
  12252. return next.next = next;
  12253. }
  12254. }
  12255. // Return an iterator with no values.
  12256. return { next: doneResult };
  12257. }
  12258. exports.values = values;
  12259. function doneResult() {
  12260. return { value: undefined, done: true };
  12261. }
  12262. Context.prototype = {
  12263. constructor: Context,
  12264. reset: function(skipTempReset) {
  12265. this.prev = 0;
  12266. this.next = 0;
  12267. // Resetting context._sent for legacy support of Babel's
  12268. // function.sent implementation.
  12269. this.sent = this._sent = undefined;
  12270. this.done = false;
  12271. this.delegate = null;
  12272. this.method = "next";
  12273. this.arg = undefined;
  12274. this.tryEntries.forEach(resetTryEntry);
  12275. if (!skipTempReset) {
  12276. for (var name in this) {
  12277. // Not sure about the optimal order of these conditions:
  12278. if (name.charAt(0) === "t" &&
  12279. hasOwn.call(this, name) &&
  12280. !isNaN(+name.slice(1))) {
  12281. this[name] = undefined;
  12282. }
  12283. }
  12284. }
  12285. },
  12286. stop: function() {
  12287. this.done = true;
  12288. var rootEntry = this.tryEntries[0];
  12289. var rootRecord = rootEntry.completion;
  12290. if (rootRecord.type === "throw") {
  12291. throw rootRecord.arg;
  12292. }
  12293. return this.rval;
  12294. },
  12295. dispatchException: function(exception) {
  12296. if (this.done) {
  12297. throw exception;
  12298. }
  12299. var context = this;
  12300. function handle(loc, caught) {
  12301. record.type = "throw";
  12302. record.arg = exception;
  12303. context.next = loc;
  12304. if (caught) {
  12305. // If the dispatched exception was caught by a catch block,
  12306. // then let that catch block handle the exception normally.
  12307. context.method = "next";
  12308. context.arg = undefined;
  12309. }
  12310. return !! caught;
  12311. }
  12312. for (var i = this.tryEntries.length - 1; i >= 0; --i) {
  12313. var entry = this.tryEntries[i];
  12314. var record = entry.completion;
  12315. if (entry.tryLoc === "root") {
  12316. // Exception thrown outside of any try block that could handle
  12317. // it, so set the completion value of the entire function to
  12318. // throw the exception.
  12319. return handle("end");
  12320. }
  12321. if (entry.tryLoc <= this.prev) {
  12322. var hasCatch = hasOwn.call(entry, "catchLoc");
  12323. var hasFinally = hasOwn.call(entry, "finallyLoc");
  12324. if (hasCatch && hasFinally) {
  12325. if (this.prev < entry.catchLoc) {
  12326. return handle(entry.catchLoc, true);
  12327. } else if (this.prev < entry.finallyLoc) {
  12328. return handle(entry.finallyLoc);
  12329. }
  12330. } else if (hasCatch) {
  12331. if (this.prev < entry.catchLoc) {
  12332. return handle(entry.catchLoc, true);
  12333. }
  12334. } else if (hasFinally) {
  12335. if (this.prev < entry.finallyLoc) {
  12336. return handle(entry.finallyLoc);
  12337. }
  12338. } else {
  12339. throw new Error("try statement without catch or finally");
  12340. }
  12341. }
  12342. }
  12343. },
  12344. abrupt: function(type, arg) {
  12345. for (var i = this.tryEntries.length - 1; i >= 0; --i) {
  12346. var entry = this.tryEntries[i];
  12347. if (entry.tryLoc <= this.prev &&
  12348. hasOwn.call(entry, "finallyLoc") &&
  12349. this.prev < entry.finallyLoc) {
  12350. var finallyEntry = entry;
  12351. break;
  12352. }
  12353. }
  12354. if (finallyEntry &&
  12355. (type === "break" ||
  12356. type === "continue") &&
  12357. finallyEntry.tryLoc <= arg &&
  12358. arg <= finallyEntry.finallyLoc) {
  12359. // Ignore the finally entry if control is not jumping to a
  12360. // location outside the try/catch block.
  12361. finallyEntry = null;
  12362. }
  12363. var record = finallyEntry ? finallyEntry.completion : {};
  12364. record.type = type;
  12365. record.arg = arg;
  12366. if (finallyEntry) {
  12367. this.method = "next";
  12368. this.next = finallyEntry.finallyLoc;
  12369. return ContinueSentinel;
  12370. }
  12371. return this.complete(record);
  12372. },
  12373. complete: function(record, afterLoc) {
  12374. if (record.type === "throw") {
  12375. throw record.arg;
  12376. }
  12377. if (record.type === "break" ||
  12378. record.type === "continue") {
  12379. this.next = record.arg;
  12380. } else if (record.type === "return") {
  12381. this.rval = this.arg = record.arg;
  12382. this.method = "return";
  12383. this.next = "end";
  12384. } else if (record.type === "normal" && afterLoc) {
  12385. this.next = afterLoc;
  12386. }
  12387. return ContinueSentinel;
  12388. },
  12389. finish: function(finallyLoc) {
  12390. for (var i = this.tryEntries.length - 1; i >= 0; --i) {
  12391. var entry = this.tryEntries[i];
  12392. if (entry.finallyLoc === finallyLoc) {
  12393. this.complete(entry.completion, entry.afterLoc);
  12394. resetTryEntry(entry);
  12395. return ContinueSentinel;
  12396. }
  12397. }
  12398. },
  12399. "catch": function(tryLoc) {
  12400. for (var i = this.tryEntries.length - 1; i >= 0; --i) {
  12401. var entry = this.tryEntries[i];
  12402. if (entry.tryLoc === tryLoc) {
  12403. var record = entry.completion;
  12404. if (record.type === "throw") {
  12405. var thrown = record.arg;
  12406. resetTryEntry(entry);
  12407. }
  12408. return thrown;
  12409. }
  12410. }
  12411. // The context.catch method must only be called with a location
  12412. // argument that corresponds to a known catch block.
  12413. throw new Error("illegal catch attempt");
  12414. },
  12415. delegateYield: function(iterable, resultName, nextLoc) {
  12416. this.delegate = {
  12417. iterator: values(iterable),
  12418. resultName: resultName,
  12419. nextLoc: nextLoc
  12420. };
  12421. if (this.method === "next") {
  12422. // Deliberately forget the last sent value so that we don't
  12423. // accidentally pass it on to the delegate.
  12424. this.arg = undefined;
  12425. }
  12426. return ContinueSentinel;
  12427. }
  12428. };
  12429. // Regardless of whether this script is executing as a CommonJS module
  12430. // or not, return the runtime object so that we can declare the variable
  12431. // regeneratorRuntime in the outer scope, which allows this module to be
  12432. // injected easily by `bin/regenerator --include-runtime script.js`.
  12433. return exports;
  12434. }(
  12435. // If this script is executing as a CommonJS module, use module.exports
  12436. // as the regeneratorRuntime namespace. Otherwise create a new empty
  12437. // object. Either way, the resulting object will be used to initialize
  12438. // the regeneratorRuntime variable at the top of this file.
  12439. true ? module.exports : undefined
  12440. ));
  12441. try {
  12442. regeneratorRuntime = runtime;
  12443. } catch (accidentalStrictMode) {
  12444. // This module should not be running in strict mode, so the above
  12445. // assignment should always work unless something is misconfigured. Just
  12446. // in case runtime.js accidentally runs in strict mode, we can escape
  12447. // strict mode using a global Function call. This could conceivably fail
  12448. // if a Content Security Policy forbids using Function, but in that case
  12449. // the proper solution is to fix the accidental strict mode problem. If
  12450. // you've misconfigured your bundler to force strict mode and applied a
  12451. // CSP to forbid Function, and you're not willing to fix either of those
  12452. // problems, please detail your unique predicament in a GitHub issue.
  12453. Function("r", "regeneratorRuntime = r")(runtime);
  12454. }
  12455. /***/ }),
  12456. /***/ "./node_modules/tiny-warning/dist/tiny-warning.esm.js":
  12457. /*!************************************************************!*\
  12458. !*** ./node_modules/tiny-warning/dist/tiny-warning.esm.js ***!
  12459. \************************************************************/
  12460. /*! exports provided: default */
  12461. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  12462. "use strict";
  12463. __webpack_require__.r(__webpack_exports__);
  12464. var isProduction = "development" === 'production';
  12465. function warning(condition, message) {
  12466. if (!isProduction) {
  12467. if (condition) {
  12468. return;
  12469. }
  12470. var text = "Warning: " + message;
  12471. if (typeof console !== 'undefined') {
  12472. console.warn(text);
  12473. }
  12474. try {
  12475. throw Error(text);
  12476. } catch (x) {}
  12477. }
  12478. }
  12479. /* harmony default export */ __webpack_exports__["default"] = (warning);
  12480. /***/ }),
  12481. /***/ "./pages/_app.js":
  12482. /*!***********************!*\
  12483. !*** ./pages/_app.js ***!
  12484. \***********************/
  12485. /*! exports provided: default */
  12486. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  12487. "use strict";
  12488. __webpack_require__.r(__webpack_exports__);
  12489. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return MyApp; });
  12490. /* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ "./node_modules/@babel/runtime/regenerator/index.js");
  12491. /* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);
  12492. /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
  12493. /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
  12494. /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
  12495. /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
  12496. /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
  12497. /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
  12498. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
  12499. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_7__);
  12500. /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react-dom */ "./node_modules/react-dom/index.js");
  12501. /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_8__);
  12502. /* harmony import */ var next_app__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! next/app */ "./node_modules/next/app.js");
  12503. /* harmony import */ var next_app__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(next_app__WEBPACK_IMPORTED_MODULE_9__);
  12504. /* harmony import */ var next_head__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! next/head */ "./node_modules/next/dist/next-server/lib/head.js");
  12505. /* harmony import */ var next_head__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(next_head__WEBPACK_IMPORTED_MODULE_10__);
  12506. /* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! next/router */ "./node_modules/next/dist/client/router.js");
  12507. /* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(next_router__WEBPACK_IMPORTED_MODULE_11__);
  12508. /* harmony import */ var components_PageChange_PageChange_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! components/PageChange/PageChange.js */ "./components/PageChange/PageChange.js");
  12509. /* harmony import */ var assets_scss_nextjs_material_kit_scss_v_1_1_0__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! assets/scss/nextjs-material-kit.scss?v=1.1.0 */ "./assets/scss/nextjs-material-kit.scss?v=1.1.0");
  12510. /* harmony import */ var assets_scss_nextjs_material_kit_scss_v_1_1_0__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(assets_scss_nextjs_material_kit_scss_v_1_1_0__WEBPACK_IMPORTED_MODULE_13__);
  12511. var _this = undefined,
  12512. _jsxFileName = "C:\\Thamrin Brothers\\tbg-ecomm-nextjs\\pages\\_app.js";
  12513. var __jsx = react__WEBPACK_IMPORTED_MODULE_7___default.a.createElement;
  12514. function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6__["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6__["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_5__["default"])(this, result); }; }
  12515. function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
  12516. // import styles from "assets/jss/nextjs-material-kit/pages/components.js";
  12517. next_router__WEBPACK_IMPORTED_MODULE_11___default.a.events.on("routeChangeStart", function (url) {
  12518. console.log("Loading: ".concat(url));
  12519. document.body.classList.add("body-page-transition");
  12520. react_dom__WEBPACK_IMPORTED_MODULE_8___default.a.render(__jsx(components_PageChange_PageChange_js__WEBPACK_IMPORTED_MODULE_12__["default"], {
  12521. path: url,
  12522. __self: _this,
  12523. __source: {
  12524. fileName: _jsxFileName,
  12525. lineNumber: 14,
  12526. columnNumber: 5
  12527. }
  12528. }), document.getElementById("page-transition"));
  12529. });
  12530. next_router__WEBPACK_IMPORTED_MODULE_11___default.a.events.on("routeChangeComplete", function () {
  12531. react_dom__WEBPACK_IMPORTED_MODULE_8___default.a.unmountComponentAtNode(document.getElementById("page-transition"));
  12532. document.body.classList.remove("body-page-transition");
  12533. });
  12534. next_router__WEBPACK_IMPORTED_MODULE_11___default.a.events.on("routeChangeError", function () {
  12535. react_dom__WEBPACK_IMPORTED_MODULE_8___default.a.unmountComponentAtNode(document.getElementById("page-transition"));
  12536. document.body.classList.remove("body-page-transition");
  12537. });
  12538. var MyApp = /*#__PURE__*/function (_App) {
  12539. Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__["default"])(MyApp, _App);
  12540. var _super = _createSuper(MyApp);
  12541. function MyApp() {
  12542. Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, MyApp);
  12543. return _super.apply(this, arguments);
  12544. }
  12545. Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(MyApp, [{
  12546. key: "render",
  12547. value: function render() {
  12548. var _this$props = this.props,
  12549. Component = _this$props.Component,
  12550. pageProps = _this$props.pageProps;
  12551. return __jsx(react__WEBPACK_IMPORTED_MODULE_7___default.a.Fragment, {
  12552. __self: this,
  12553. __source: {
  12554. fileName: _jsxFileName,
  12555. lineNumber: 40,
  12556. columnNumber: 7
  12557. }
  12558. }, __jsx(next_head__WEBPACK_IMPORTED_MODULE_10___default.a, {
  12559. __self: this,
  12560. __source: {
  12561. fileName: _jsxFileName,
  12562. lineNumber: 41,
  12563. columnNumber: 9
  12564. }
  12565. }, __jsx("title", {
  12566. __self: this,
  12567. __source: {
  12568. fileName: _jsxFileName,
  12569. lineNumber: 42,
  12570. columnNumber: 11
  12571. }
  12572. }, "Thamrin Group")), __jsx(Component, Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, pageProps, {
  12573. __self: this,
  12574. __source: {
  12575. fileName: _jsxFileName,
  12576. lineNumber: 44,
  12577. columnNumber: 9
  12578. }
  12579. })));
  12580. }
  12581. }], [{
  12582. key: "getInitialProps",
  12583. value: function getInitialProps(_ref) {
  12584. var Component, router, ctx, pageProps;
  12585. return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.async(function getInitialProps$(_context) {
  12586. while (1) {
  12587. switch (_context.prev = _context.next) {
  12588. case 0:
  12589. Component = _ref.Component, router = _ref.router, ctx = _ref.ctx;
  12590. pageProps = {};
  12591. if (!Component.getInitialProps) {
  12592. _context.next = 6;
  12593. break;
  12594. }
  12595. _context.next = 5;
  12596. return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.awrap(Component.getInitialProps(ctx));
  12597. case 5:
  12598. pageProps = _context.sent;
  12599. case 6:
  12600. return _context.abrupt("return", {
  12601. pageProps: pageProps
  12602. });
  12603. case 7:
  12604. case "end":
  12605. return _context.stop();
  12606. }
  12607. }
  12608. }, null, null, null, Promise);
  12609. }
  12610. }]);
  12611. return MyApp;
  12612. }(next_app__WEBPACK_IMPORTED_MODULE_9___default.a);
  12613. /***/ }),
  12614. /***/ 0:
  12615. /*!*****************************************************************************************************************************************************************!*\
  12616. !*** multi next-client-pages-loader?page=%2F_app&absolutePagePath=private-next-pages%2F_app.js&hotRouterUpdates=true ./node_modules/next/dist/client/router.js ***!
  12617. \*****************************************************************************************************************************************************************/
  12618. /*! no static exports found */
  12619. /***/ (function(module, exports, __webpack_require__) {
  12620. __webpack_require__(/*! next-client-pages-loader?page=%2F_app&absolutePagePath=private-next-pages%2F_app.js&hotRouterUpdates=true! */"./node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?page=%2F_app&absolutePagePath=private-next-pages%2F_app.js&hotRouterUpdates=true!./");
  12621. module.exports = __webpack_require__(/*! C:\Thamrin Brothers\tbg-ecomm-nextjs\node_modules\next\dist\client\router.js */"./node_modules/next/dist/client/router.js");
  12622. /***/ }),
  12623. /***/ "dll-reference dll_2adc2403d89adc16ead0":
  12624. /*!*******************************************!*\
  12625. !*** external "dll_2adc2403d89adc16ead0" ***!
  12626. \*******************************************/
  12627. /*! no static exports found */
  12628. /***/ (function(module, exports) {
  12629. module.exports = dll_2adc2403d89adc16ead0;
  12630. /***/ })
  12631. },[[0,"static/runtime/webpack.js","styles"]]]);
  12632. //# sourceMappingURL=_app.js.map