synos-helena 22.0.11 → 22.0.12-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/CHANGELOG.md +897 -0
  2. package/lib/index.js +26 -4
  3. package/package.json +2 -1
  4. package/lib/dark.css.gz +0 -0
  5. package/lib/dark.css.map +0 -1
  6. package/lib/dark.css.map.gz +0 -0
  7. package/lib/dark.js.gz +0 -0
  8. package/lib/dark.js.map +0 -1
  9. package/lib/dark.js.map.gz +0 -0
  10. package/lib/helena.css.gz +0 -0
  11. package/lib/helena.css.map +0 -1
  12. package/lib/helena.css.map.gz +0 -0
  13. package/lib/helena.js.gz +0 -0
  14. package/lib/helena.js.map +0 -1
  15. package/lib/helena.js.map.gz +0 -0
  16. package/lib/icons/exception.svg.gz +0 -0
  17. package/lib/icons/export.svg.gz +0 -0
  18. package/lib/icons/field-time.svg.gz +0 -0
  19. package/lib/icons/file-calculator.svg.gz +0 -0
  20. package/lib/icons/hand-service.svg.gz +0 -0
  21. package/lib/icons/import.svg.gz +0 -0
  22. package/lib/icons/package.svg.gz +0 -0
  23. package/lib/icons/process-config.svg.gz +0 -0
  24. package/lib/icons/transmission.svg.gz +0 -0
  25. package/lib/images/empty-notification.svg.gz +0 -0
  26. package/lib/images/micro-download.svg.gz +0 -0
  27. package/lib/images/micro-gerproc.svg.gz +0 -0
  28. package/lib/images/micro-insight.svg.gz +0 -0
  29. package/lib/images/synchro-logo.svg.gz +0 -0
  30. package/lib/index.css.gz +0 -0
  31. package/lib/index.css.map +0 -1
  32. package/lib/index.css.map.gz +0 -0
  33. package/lib/index.js.LICENSE.txt +0 -70
  34. package/lib/index.js.LICENSE.txt.gz +0 -0
  35. package/lib/index.js.gz +0 -0
  36. package/lib/index.js.map +0 -1
  37. package/lib/index.js.map.gz +0 -0
  38. package/lib/light.css.gz +0 -0
  39. package/lib/light.css.map +0 -1
  40. package/lib/light.css.map.gz +0 -0
  41. package/lib/light.js.gz +0 -0
  42. package/lib/light.js.map +0 -1
  43. package/lib/light.js.map.gz +0 -0
  44. package/lib/themes/colors/ant-blues.less.gz +0 -0
  45. package/lib/themes/colors/ant-yellows.less.gz +0 -0
  46. package/lib/themes/colors/blues.less.gz +0 -0
  47. package/lib/themes/colors/dark-olive-greens.less.gz +0 -0
  48. package/lib/themes/colors/gray.less.gz +0 -0
  49. package/lib/themes/colors/greens.less.gz +0 -0
  50. package/lib/themes/colors/pinks.less.gz +0 -0
  51. package/lib/themes/colors/purples.less.gz +0 -0
  52. package/lib/themes/colors/reds.less.gz +0 -0
  53. package/lib/themes/colors/yellows.less.gz +0 -0
  54. package/lib/themes/dark.less.gz +0 -0
  55. package/lib/themes/default.less.gz +0 -0
  56. package/lib/themes/general_custom.less.gz +0 -0
  57. package/lib/themes/light.less.gz +0 -0
package/lib/index.js CHANGED
@@ -20244,7 +20244,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
20244
20244
  /***/ ((module, __webpack_exports__, __webpack_require__) => {
20245
20245
 
20246
20246
  "use strict";
20247
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);\n// Imports\n\nvar ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".HLUserBox-module_hl-userbox_q-lFWegvTySIK\\\\+m1LJO\\\\+pA\\\\=\\\\= {\\n width: 100px;\\n max-width: 100px;\\n float: right;\\n margin-right: 24px;\\n}\\n\\n.HLUserBox-module_hl-userbox_q-lFWegvTySIK\\\\+m1LJO\\\\+pA\\\\=\\\\= .HLUserBox-module_container_Qo-6sGsqDqqX4PoqRDUzrQ\\\\=\\\\= {\\n text-align: right;\\n}\\n\\n.HLUserBox-module_hl-userbox_q-lFWegvTySIK\\\\+m1LJO\\\\+pA\\\\=\\\\= .HLUserBox-module_username_LpFoYB891jM5XXEAB0lOrQ\\\\=\\\\= {\\n line-height: 17px;\\n margin-right: 12px;\\n font-weight: 600;\\n}\\n\\n.HLUserBox-module_hl-userbox_q-lFWegvTySIK\\\\+m1LJO\\\\+pA\\\\=\\\\= .HLUserBox-module_avatar_0VjkS7d6u\\\\+LlfGLYAGRgyw\\\\=\\\\= {\\n width: 32px;\\n height: 32px;\\n background-color: #1890ff;\\n}\\n\\n.HLUserBox-module_hl-userbox_q-lFWegvTySIK\\\\+m1LJO\\\\+pA\\\\=\\\\= .HLUserBox-module_avatar_0VjkS7d6u\\\\+LlfGLYAGRgyw\\\\=\\\\= .ant-avatar-string {\\n line-height: 32px;\\n}\\n\\n.HLUserBox-module_hl-userbox_q-lFWegvTySIK\\\\+m1LJO\\\\+pA\\\\=\\\\= .HLUserBox-module_icon_fXE9z5gLwhub\\\\+lmkL1cdig\\\\=\\\\= {\\n width: 32px;\\n}\\n\\n.HLUserBox-module_hl-userbox_q-lFWegvTySIK\\\\+m1LJO\\\\+pA\\\\=\\\\= .HLUserBox-module_menuIcon_LRJjJZgAlDO1LJPM6460zw\\\\=\\\\= {\\n min-width: 14px !important;\\n margin-right: 9px !important;\\n font-size: 14px !important;\\n}\\n\\n.HLUserBox-module_hl-userbox_q-lFWegvTySIK\\\\+m1LJO\\\\+pA\\\\=\\\\= .HLUserBox-module_ant-divider_Eyyz4GLZQhXPzr0ZTBsonA\\\\=\\\\= .HLUserBox-module_ant-divider-horizontal_tVrgEl9TnboyIam6M-WTZg\\\\=\\\\= {\\n margin: 4px 0;\\n}\\n\\n.HLUserBox-module_menu-item-tenant_ZmQt5uG3tx7LG1TxYfI4pg\\\\=\\\\= {\\n font-weight: bold !important;\\n}\\n\\n.HLUserBox-module_menu-item-read-only_8uAPCon\\\\+DjWZEumYhJIoRQ\\\\=\\\\=,\\n.HLUserBox-module_menu-item-read-only_8uAPCon\\\\+DjWZEumYhJIoRQ\\\\=\\\\=:hover {\\n cursor: default;\\n color: #595959;\\n}\\n\\n.HLUserBox-module_descriptions-item_hO4aoOGuKUqbrpqCesJxfw\\\\=\\\\= .HLUserBox-module_label_oNswOAHe7sdQ\\\\+54K-DlIUg\\\\=\\\\= {\\n font-weight: bold;\\n padding-right: 6px;\\n}\\n\\n.HLUserBox-module_descriptions-item_hO4aoOGuKUqbrpqCesJxfw\\\\=\\\\= .HLUserBox-module_value_Bj-RkobTEx\\\\+Hfnsb-bH2QQ\\\\=\\\\= {\\n font-family: monospace;\\n}\\n\\n.HLUserBox-module_descriptions-item_hO4aoOGuKUqbrpqCesJxfw\\\\=\\\\= .HLUserBox-module_help-icon_ee-wBK-EmhLX3waXSFnEPw\\\\=\\\\= {\\n cursor: pointer;\\n opacity: 0.3;\\n transition: opacity 300ms ease;\\n}\\n\\n.HLUserBox-module_descriptions-item_hO4aoOGuKUqbrpqCesJxfw\\\\=\\\\= .HLUserBox-module_help-icon_ee-wBK-EmhLX3waXSFnEPw\\\\=\\\\=:hover, .HLUserBox-module_descriptions-item_hO4aoOGuKUqbrpqCesJxfw\\\\=\\\\= .HLUserBox-module_help-icon_ee-wBK-EmhLX3waXSFnEPw\\\\=\\\\=:focus {\\n opacity: 1;\\n}\\n\\n.HLUserBox-module_descriptions-popover_UdGZQujWqDNAs0BccfWKvg\\\\=\\\\= {\\n max-width: 400px;\\n}\", \"\"]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"hl-userbox\": \"HLUserBox-module_hl-userbox_q-lFWegvTySIK+m1LJO+pA==\",\n\t\"container\": \"HLUserBox-module_container_Qo-6sGsqDqqX4PoqRDUzrQ==\",\n\t\"username\": \"HLUserBox-module_username_LpFoYB891jM5XXEAB0lOrQ==\",\n\t\"avatar\": \"HLUserBox-module_avatar_0VjkS7d6u+LlfGLYAGRgyw==\",\n\t\"icon\": \"HLUserBox-module_icon_fXE9z5gLwhub+lmkL1cdig==\",\n\t\"menuIcon\": \"HLUserBox-module_menuIcon_LRJjJZgAlDO1LJPM6460zw==\",\n\t\"ant-divider\": \"HLUserBox-module_ant-divider_Eyyz4GLZQhXPzr0ZTBsonA==\",\n\t\"ant-divider-horizontal\": \"HLUserBox-module_ant-divider-horizontal_tVrgEl9TnboyIam6M-WTZg==\",\n\t\"menu-item-tenant\": \"HLUserBox-module_menu-item-tenant_ZmQt5uG3tx7LG1TxYfI4pg==\",\n\t\"menu-item-read-only\": \"HLUserBox-module_menu-item-read-only_8uAPCon+DjWZEumYhJIoRQ==\",\n\t\"descriptions-item\": \"HLUserBox-module_descriptions-item_hO4aoOGuKUqbrpqCesJxfw==\",\n\t\"label\": \"HLUserBox-module_label_oNswOAHe7sdQ+54K-DlIUg==\",\n\t\"value\": \"HLUserBox-module_value_Bj-RkobTEx+Hfnsb-bH2QQ==\",\n\t\"help-icon\": \"HLUserBox-module_help-icon_ee-wBK-EmhLX3waXSFnEPw==\",\n\t\"descriptions-popover\": \"HLUserBox-module_descriptions-popover_UdGZQujWqDNAs0BccfWKvg==\"\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);\n\n\n//# sourceURL=webpack://synchro-helena/./src/HLUserBox/HLUserBox.module.css?./node_modules/css-loader/dist/cjs.js??ruleSet%5B1%5D.rules%5B2%5D.use%5B1%5D");
20247
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);\n// Imports\n\nvar ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".HLUserBox-module_hl-userbox_q-lFWegvTySIK\\\\+m1LJO\\\\+pA\\\\=\\\\= {\\n width: 100px;\\n max-width: 100px;\\n float: right;\\n margin-right: 24px;\\n}\\n\\n.HLUserBox-module_hl-userbox_q-lFWegvTySIK\\\\+m1LJO\\\\+pA\\\\=\\\\= .HLUserBox-module_container_Qo-6sGsqDqqX4PoqRDUzrQ\\\\=\\\\= {\\n text-align: right;\\n}\\n\\n.HLUserBox-module_hl-userbox_q-lFWegvTySIK\\\\+m1LJO\\\\+pA\\\\=\\\\= .HLUserBox-module_username_LpFoYB891jM5XXEAB0lOrQ\\\\=\\\\= {\\n line-height: 17px;\\n margin-right: 12px;\\n font-weight: 600;\\n}\\n\\n.HLUserBox-module_hl-userbox_q-lFWegvTySIK\\\\+m1LJO\\\\+pA\\\\=\\\\= .HLUserBox-module_avatar_0VjkS7d6u\\\\+LlfGLYAGRgyw\\\\=\\\\= {\\n width: 32px;\\n height: 32px;\\n background-color: #1890ff;\\n}\\n\\n.HLUserBox-module_hl-userbox_q-lFWegvTySIK\\\\+m1LJO\\\\+pA\\\\=\\\\= .HLUserBox-module_avatar_0VjkS7d6u\\\\+LlfGLYAGRgyw\\\\=\\\\= .ant-avatar-string {\\n line-height: 32px;\\n}\\n\\n.HLUserBox-module_hl-userbox_q-lFWegvTySIK\\\\+m1LJO\\\\+pA\\\\=\\\\= .HLUserBox-module_icon_fXE9z5gLwhub\\\\+lmkL1cdig\\\\=\\\\= {\\n width: 32px;\\n}\\n\\n.HLUserBox-module_hl-userbox_q-lFWegvTySIK\\\\+m1LJO\\\\+pA\\\\=\\\\= .HLUserBox-module_menuIcon_LRJjJZgAlDO1LJPM6460zw\\\\=\\\\= {\\n min-width: 14px !important;\\n margin-right: 9px !important;\\n font-size: 14px !important;\\n}\\n\\n.HLUserBox-module_hl-userbox_q-lFWegvTySIK\\\\+m1LJO\\\\+pA\\\\=\\\\= .HLUserBox-module_ant-divider_Eyyz4GLZQhXPzr0ZTBsonA\\\\=\\\\= .HLUserBox-module_ant-divider-horizontal_tVrgEl9TnboyIam6M-WTZg\\\\=\\\\= {\\n margin: 4px 0;\\n}\\n\\n.HLUserBox-module_menu-item-tenant_ZmQt5uG3tx7LG1TxYfI4pg\\\\=\\\\= {\\n font-weight: bold !important;\\n}\\n\\n.HLUserBox-module_menu-item-read-only_8uAPCon\\\\+DjWZEumYhJIoRQ\\\\=\\\\=,\\n.HLUserBox-module_menu-item-read-only_8uAPCon\\\\+DjWZEumYhJIoRQ\\\\=\\\\=:hover {\\n cursor: default;\\n color: #595959;\\n}\\n\\n.HLUserBox-module_descriptions-item_hO4aoOGuKUqbrpqCesJxfw\\\\=\\\\= .HLUserBox-module_label_oNswOAHe7sdQ\\\\+54K-DlIUg\\\\=\\\\= {\\n font-weight: bold;\\n padding-right: 6px;\\n}\\n\\n.HLUserBox-module_descriptions-item_hO4aoOGuKUqbrpqCesJxfw\\\\=\\\\= .HLUserBox-module_value_Bj-RkobTEx\\\\+Hfnsb-bH2QQ\\\\=\\\\= {\\n font-family: monospace;\\n}\\n\\n.HLUserBox-module_descriptions-item_hO4aoOGuKUqbrpqCesJxfw\\\\=\\\\= .HLUserBox-module_help-icon_ee-wBK-EmhLX3waXSFnEPw\\\\=\\\\= {\\n cursor: pointer;\\n opacity: 0.3;\\n transition: opacity 300ms ease;\\n}\\n\\n.HLUserBox-module_descriptions-item_hO4aoOGuKUqbrpqCesJxfw\\\\=\\\\= .HLUserBox-module_help-icon_ee-wBK-EmhLX3waXSFnEPw\\\\=\\\\=:hover,\\n.HLUserBox-module_descriptions-item_hO4aoOGuKUqbrpqCesJxfw\\\\=\\\\= .HLUserBox-module_help-icon_ee-wBK-EmhLX3waXSFnEPw\\\\=\\\\=:focus {\\n opacity: 1;\\n}\\n\\n.HLUserBox-module_descriptions-popover_UdGZQujWqDNAs0BccfWKvg\\\\=\\\\= {\\n max-width: 400px;\\n}\\n\\n.HLUserBox-module_hl-modal-about_wOfsBao5PPtT6h1Lu8SSrA\\\\=\\\\= {\\n width: auto;\\n max-width: 900px;\\n min-width: 700px;\\n}\\n\", \"\"]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"hl-userbox\": \"HLUserBox-module_hl-userbox_q-lFWegvTySIK+m1LJO+pA==\",\n\t\"container\": \"HLUserBox-module_container_Qo-6sGsqDqqX4PoqRDUzrQ==\",\n\t\"username\": \"HLUserBox-module_username_LpFoYB891jM5XXEAB0lOrQ==\",\n\t\"avatar\": \"HLUserBox-module_avatar_0VjkS7d6u+LlfGLYAGRgyw==\",\n\t\"icon\": \"HLUserBox-module_icon_fXE9z5gLwhub+lmkL1cdig==\",\n\t\"menuIcon\": \"HLUserBox-module_menuIcon_LRJjJZgAlDO1LJPM6460zw==\",\n\t\"ant-divider\": \"HLUserBox-module_ant-divider_Eyyz4GLZQhXPzr0ZTBsonA==\",\n\t\"ant-divider-horizontal\": \"HLUserBox-module_ant-divider-horizontal_tVrgEl9TnboyIam6M-WTZg==\",\n\t\"menu-item-tenant\": \"HLUserBox-module_menu-item-tenant_ZmQt5uG3tx7LG1TxYfI4pg==\",\n\t\"menu-item-read-only\": \"HLUserBox-module_menu-item-read-only_8uAPCon+DjWZEumYhJIoRQ==\",\n\t\"descriptions-item\": \"HLUserBox-module_descriptions-item_hO4aoOGuKUqbrpqCesJxfw==\",\n\t\"label\": \"HLUserBox-module_label_oNswOAHe7sdQ+54K-DlIUg==\",\n\t\"value\": \"HLUserBox-module_value_Bj-RkobTEx+Hfnsb-bH2QQ==\",\n\t\"help-icon\": \"HLUserBox-module_help-icon_ee-wBK-EmhLX3waXSFnEPw==\",\n\t\"descriptions-popover\": \"HLUserBox-module_descriptions-popover_UdGZQujWqDNAs0BccfWKvg==\",\n\t\"hl-modal-about\": \"HLUserBox-module_hl-modal-about_wOfsBao5PPtT6h1Lu8SSrA==\"\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);\n\n\n//# sourceURL=webpack://synchro-helena/./src/HLUserBox/HLUserBox.module.css?./node_modules/css-loader/dist/cjs.js??ruleSet%5B1%5D.rules%5B2%5D.use%5B1%5D");
20248
20248
 
20249
20249
  /***/ }),
20250
20250
 
@@ -22271,6 +22271,28 @@ eval("var MediaQueryDispatch = __webpack_require__(/*! ./MediaQueryDispatch */ \
22271
22271
 
22272
22272
  /***/ }),
22273
22273
 
22274
+ /***/ "./node_modules/export-to-csv/build/export-to-csv.js":
22275
+ /*!***********************************************************!*\
22276
+ !*** ./node_modules/export-to-csv/build/export-to-csv.js ***!
22277
+ \***********************************************************/
22278
+ /***/ ((__unused_webpack_module, exports) => {
22279
+
22280
+ "use strict";
22281
+ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar CsvConfigConsts = (function () {\n function CsvConfigConsts() {\n }\n CsvConfigConsts.EOL = \"\\r\\n\";\n CsvConfigConsts.BOM = \"\\ufeff\";\n CsvConfigConsts.DEFAULT_FIELD_SEPARATOR = ',';\n CsvConfigConsts.DEFAULT_DECIMAL_SEPARATOR = '.';\n CsvConfigConsts.DEFAULT_QUOTE = '\"';\n CsvConfigConsts.DEFAULT_SHOW_TITLE = false;\n CsvConfigConsts.DEFAULT_TITLE = 'My Generated Report';\n CsvConfigConsts.DEFAULT_FILENAME = 'generated';\n CsvConfigConsts.DEFAULT_SHOW_LABELS = false;\n CsvConfigConsts.DEFAULT_USE_TEXT_FILE = false;\n CsvConfigConsts.DEFAULT_USE_BOM = true;\n CsvConfigConsts.DEFAULT_HEADER = [];\n CsvConfigConsts.DEFAULT_KEYS_AS_HEADERS = false;\n return CsvConfigConsts;\n}());\nexports.CsvConfigConsts = CsvConfigConsts;\nexports.ConfigDefaults = {\n filename: CsvConfigConsts.DEFAULT_FILENAME,\n fieldSeparator: CsvConfigConsts.DEFAULT_FIELD_SEPARATOR,\n quoteStrings: CsvConfigConsts.DEFAULT_QUOTE,\n decimalSeparator: CsvConfigConsts.DEFAULT_DECIMAL_SEPARATOR,\n showLabels: CsvConfigConsts.DEFAULT_SHOW_LABELS,\n showTitle: CsvConfigConsts.DEFAULT_SHOW_TITLE,\n title: CsvConfigConsts.DEFAULT_TITLE,\n useTextFile: CsvConfigConsts.DEFAULT_USE_TEXT_FILE,\n useBom: CsvConfigConsts.DEFAULT_USE_BOM,\n headers: CsvConfigConsts.DEFAULT_HEADER,\n useKeysAsHeaders: CsvConfigConsts.DEFAULT_KEYS_AS_HEADERS,\n};\nvar ExportToCsv = (function () {\n function ExportToCsv(options) {\n this._csv = \"\";\n var config = options || {};\n this._options = objectAssign({}, exports.ConfigDefaults, config);\n if (this._options.useKeysAsHeaders\n && this._options.headers\n && this._options.headers.length > 0) {\n console.warn('Option to use object keys as headers was set, but headers were still passed!');\n }\n }\n Object.defineProperty(ExportToCsv.prototype, \"options\", {\n get: function () {\n return this._options;\n },\n set: function (options) {\n this._options = objectAssign({}, exports.ConfigDefaults, options);\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Generate and Download Csv\n */\n ExportToCsv.prototype.generateCsv = function (jsonData, shouldReturnCsv) {\n if (shouldReturnCsv === void 0) { shouldReturnCsv = false; }\n // Make sure to reset csv data on each run\n this._csv = '';\n this._parseData(jsonData);\n if (this._options.useBom) {\n this._csv += CsvConfigConsts.BOM;\n }\n if (this._options.showTitle) {\n this._csv += this._options.title + '\\r\\n\\n';\n }\n this._getHeaders();\n this._getBody();\n if (this._csv == '') {\n console.log(\"Invalid data\");\n return;\n }\n // When the consumer asks for the data, exit the function\n // by returning the CSV data built at this point\n if (shouldReturnCsv) {\n return this._csv;\n }\n // Create CSV blob to download if requesting in the browser and the\n // consumer doesn't set the shouldReturnCsv param\n var FileType = this._options.useTextFile ? 'plain' : 'csv';\n var fileExtension = this._options.useTextFile ? '.txt' : '.csv';\n var blob = new Blob([this._csv], { \"type\": \"text/\" + FileType + \";charset=utf8;\" });\n if (navigator.msSaveBlob) {\n var filename = this._options.filename.replace(/ /g, \"_\") + fileExtension;\n navigator.msSaveBlob(blob, filename);\n }\n else {\n var attachmentType = this._options.useTextFile ? 'text' : 'csv';\n var uri = 'data:attachment/' + attachmentType + ';charset=utf-8,' + encodeURI(this._csv);\n var link = document.createElement(\"a\");\n link.href = URL.createObjectURL(blob);\n link.setAttribute('visibility', 'hidden');\n link.download = this._options.filename.replace(/ /g, \"_\") + fileExtension;\n document.body.appendChild(link);\n link.click();\n document.body.removeChild(link);\n }\n };\n /**\n * Create Headers\n */\n ExportToCsv.prototype._getHeaders = function () {\n if (!this._options.showLabels && !this._options.useKeysAsHeaders) {\n return;\n }\n var useKeysAsHeaders = this._options.useKeysAsHeaders;\n var headers = useKeysAsHeaders ? Object.keys(this._data[0]) : this._options.headers;\n if (headers.length > 0) {\n var row = \"\";\n for (var keyPos = 0; keyPos < headers.length; keyPos++) {\n row += headers[keyPos] + this._options.fieldSeparator;\n }\n row = row.slice(0, -1);\n this._csv += row + CsvConfigConsts.EOL;\n }\n };\n /**\n * Create Body\n */\n ExportToCsv.prototype._getBody = function () {\n var keys = Object.keys(this._data[0]);\n for (var i = 0; i < this._data.length; i++) {\n var row = \"\";\n for (var keyPos = 0; keyPos < keys.length; keyPos++) {\n var key = keys[keyPos];\n row += this._formatData(this._data[i][key]) + this._options.fieldSeparator;\n }\n row = row.slice(0, -1);\n this._csv += row + CsvConfigConsts.EOL;\n }\n };\n /**\n * Format Data\n * @param {any} data\n */\n ExportToCsv.prototype._formatData = function (data) {\n if (this._options.decimalSeparator === 'locale' && this._isFloat(data)) {\n return data.toLocaleString();\n }\n if (this._options.decimalSeparator !== '.' && this._isFloat(data)) {\n return data.toString().replace('.', this._options.decimalSeparator);\n }\n if (typeof data === 'string') {\n data = data.replace(/\"/g, '\"\"');\n if (this._options.quoteStrings || data.indexOf(',') > -1 || data.indexOf('\\n') > -1 || data.indexOf('\\r') > -1) {\n data = this._options.quoteStrings + data + this._options.quoteStrings;\n }\n return data;\n }\n if (typeof data === 'boolean') {\n return data ? 'TRUE' : 'FALSE';\n }\n return data;\n };\n /**\n * Check if is Float\n * @param {any} input\n */\n ExportToCsv.prototype._isFloat = function (input) {\n return +input === input && (!isFinite(input) || Boolean(input % 1));\n };\n /**\n * Parse the collection given to it\n *\n * @private\n * @param {*} jsonData\n * @returns {any[]}\n * @memberof ExportToCsv\n */\n ExportToCsv.prototype._parseData = function (jsonData) {\n this._data = typeof jsonData != 'object' ? JSON.parse(jsonData) : jsonData;\n return this._data;\n };\n return ExportToCsv;\n}());\nexports.ExportToCsv = ExportToCsv;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n/**\n * Convet to Object\n * @param {any} val\n */\nfunction toObject(val) {\n if (val === null || val === undefined) {\n throw new TypeError('Object.assign cannot be called with null or undefined');\n }\n return Object(val);\n}\n/**\n * Assign data to new Object\n * @param {any} target\n * @param {any[]} ...source\n */\nfunction objectAssign(target) {\n var source = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n source[_i - 1] = arguments[_i];\n }\n var from;\n var to = toObject(target);\n var symbols;\n for (var s = 1; s < arguments.length; s++) {\n from = Object(arguments[s]);\n for (var key in from) {\n if (hasOwnProperty.call(from, key)) {\n to[key] = from[key];\n }\n }\n if (Object.getOwnPropertySymbols) {\n symbols = Object.getOwnPropertySymbols(from);\n for (var i = 0; i < symbols.length; i++) {\n if (propIsEnumerable.call(from, symbols[i])) {\n to[symbols[i]] = from[symbols[i]];\n }\n }\n }\n }\n return to;\n}\n//# sourceMappingURL=export-to-csv.js.map\n\n//# sourceURL=webpack://synchro-helena/./node_modules/export-to-csv/build/export-to-csv.js?");
22282
+
22283
+ /***/ }),
22284
+
22285
+ /***/ "./node_modules/export-to-csv/build/index.js":
22286
+ /*!***************************************************!*\
22287
+ !*** ./node_modules/export-to-csv/build/index.js ***!
22288
+ \***************************************************/
22289
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
22290
+
22291
+ "use strict";
22292
+ eval("\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n__export(__webpack_require__(/*! ./export-to-csv */ \"./node_modules/export-to-csv/build/export-to-csv.js\"));\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://synchro-helena/./node_modules/export-to-csv/build/index.js?");
22293
+
22294
+ /***/ }),
22295
+
22274
22296
  /***/ "./node_modules/extend/index.js":
22275
22297
  /*!**************************************!*\
22276
22298
  !*** ./node_modules/extend/index.js ***!
@@ -32195,7 +32217,7 @@ eval("\n\nvar _require = __webpack_require__(/*! ./Component */ \"./node_modules
32195
32217
  \*********************************************************/
32196
32218
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
32197
32219
 
32198
- eval("module.exports =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __nested_webpack_require_187__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId])\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\texports: {},\n/******/ \t\t\tid: moduleId,\n/******/ \t\t\tloaded: false\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_187__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.loaded = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__nested_webpack_require_187__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__nested_webpack_require_187__.c = installedModules;\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__nested_webpack_require_187__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __nested_webpack_require_187__(0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, exports, __nested_webpack_require_1468__) {\n\n\tmodule.exports = __nested_webpack_require_1468__(1);\n\n\n/***/ }),\n/* 1 */\n/***/ (function(module, exports, __nested_webpack_require_1587__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, '__esModule', {\n\t value: true\n\t});\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\tvar _Highlighter = __nested_webpack_require_1587__(2);\n\t\n\tvar _Highlighter2 = _interopRequireDefault(_Highlighter);\n\n\texports['default'] = _Highlighter2['default'];\n\tmodule.exports = exports['default'];\n\n/***/ }),\n/* 2 */\n/***/ (function(module, exports, __nested_webpack_require_2043__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, '__esModule', {\n\t value: true\n\t});\n\t\n\tvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\t\n\texports['default'] = Highlighter;\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\tfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\t\n\tvar _highlightWordsCore = __nested_webpack_require_2043__(3);\n\t\n\tvar _propTypes = __nested_webpack_require_2043__(4);\n\t\n\tvar _propTypes2 = _interopRequireDefault(_propTypes);\n\t\n\tvar _react = __nested_webpack_require_2043__(14);\n\t\n\tvar _memoizeOne = __nested_webpack_require_2043__(15);\n\t\n\tvar _memoizeOne2 = _interopRequireDefault(_memoizeOne);\n\t\n\tHighlighter.propTypes = {\n\t activeClassName: _propTypes2['default'].string,\n\t activeIndex: _propTypes2['default'].number,\n\t activeStyle: _propTypes2['default'].object,\n\t autoEscape: _propTypes2['default'].bool,\n\t className: _propTypes2['default'].string,\n\t findChunks: _propTypes2['default'].func,\n\t highlightClassName: _propTypes2['default'].oneOfType([_propTypes2['default'].object, _propTypes2['default'].string]),\n\t highlightStyle: _propTypes2['default'].object,\n\t highlightTag: _propTypes2['default'].oneOfType([_propTypes2['default'].node, _propTypes2['default'].func, _propTypes2['default'].string]),\n\t sanitize: _propTypes2['default'].func,\n\t searchWords: _propTypes2['default'].arrayOf(_propTypes2['default'].oneOfType([_propTypes2['default'].string, _propTypes2['default'].instanceOf(RegExp)])).isRequired,\n\t textToHighlight: _propTypes2['default'].string.isRequired,\n\t unhighlightClassName: _propTypes2['default'].string,\n\t unhighlightStyle: _propTypes2['default'].object\n\t};\n\t\n\t/**\n\t * Highlights all occurrences of search terms (searchText) within a string (textToHighlight).\n\t * This function returns an array of strings and <span>s (wrapping highlighted words).\n\t */\n\t\n\tfunction Highlighter(_ref) {\n\t var _ref$activeClassName = _ref.activeClassName;\n\t var activeClassName = _ref$activeClassName === undefined ? '' : _ref$activeClassName;\n\t var _ref$activeIndex = _ref.activeIndex;\n\t var activeIndex = _ref$activeIndex === undefined ? -1 : _ref$activeIndex;\n\t var activeStyle = _ref.activeStyle;\n\t var autoEscape = _ref.autoEscape;\n\t var _ref$caseSensitive = _ref.caseSensitive;\n\t var caseSensitive = _ref$caseSensitive === undefined ? false : _ref$caseSensitive;\n\t var className = _ref.className;\n\t var findChunks = _ref.findChunks;\n\t var _ref$highlightClassName = _ref.highlightClassName;\n\t var highlightClassName = _ref$highlightClassName === undefined ? '' : _ref$highlightClassName;\n\t var _ref$highlightStyle = _ref.highlightStyle;\n\t var highlightStyle = _ref$highlightStyle === undefined ? {} : _ref$highlightStyle;\n\t var _ref$highlightTag = _ref.highlightTag;\n\t var highlightTag = _ref$highlightTag === undefined ? 'mark' : _ref$highlightTag;\n\t var sanitize = _ref.sanitize;\n\t var searchWords = _ref.searchWords;\n\t var textToHighlight = _ref.textToHighlight;\n\t var _ref$unhighlightClassName = _ref.unhighlightClassName;\n\t var unhighlightClassName = _ref$unhighlightClassName === undefined ? '' : _ref$unhighlightClassName;\n\t var unhighlightStyle = _ref.unhighlightStyle;\n\t\n\t var rest = _objectWithoutProperties(_ref, ['activeClassName', 'activeIndex', 'activeStyle', 'autoEscape', 'caseSensitive', 'className', 'findChunks', 'highlightClassName', 'highlightStyle', 'highlightTag', 'sanitize', 'searchWords', 'textToHighlight', 'unhighlightClassName', 'unhighlightStyle']);\n\t\n\t var chunks = (0, _highlightWordsCore.findAll)({\n\t autoEscape: autoEscape,\n\t caseSensitive: caseSensitive,\n\t findChunks: findChunks,\n\t sanitize: sanitize,\n\t searchWords: searchWords,\n\t textToHighlight: textToHighlight\n\t });\n\t var HighlightTag = highlightTag;\n\t var highlightIndex = -1;\n\t var highlightClassNames = '';\n\t var highlightStyles = undefined;\n\t\n\t var lowercaseProps = function lowercaseProps(object) {\n\t var mapped = {};\n\t for (var key in object) {\n\t mapped[key.toLowerCase()] = object[key];\n\t }\n\t return mapped;\n\t };\n\t var memoizedLowercaseProps = (0, _memoizeOne2['default'])(lowercaseProps);\n\t\n\t return (0, _react.createElement)('span', _extends({\n\t className: className\n\t }, rest, {\n\t children: chunks.map(function (chunk, index) {\n\t var text = textToHighlight.substr(chunk.start, chunk.end - chunk.start);\n\t\n\t if (chunk.highlight) {\n\t highlightIndex++;\n\t\n\t var highlightClass = undefined;\n\t if (typeof highlightClassName === 'object') {\n\t if (!caseSensitive) {\n\t highlightClassName = memoizedLowercaseProps(highlightClassName);\n\t highlightClass = highlightClassName[text.toLowerCase()];\n\t } else {\n\t highlightClass = highlightClassName[text];\n\t }\n\t } else {\n\t highlightClass = highlightClassName;\n\t }\n\t\n\t var isActive = highlightIndex === +activeIndex;\n\t\n\t highlightClassNames = highlightClass + ' ' + (isActive ? activeClassName : '');\n\t highlightStyles = isActive === true && activeStyle != null ? Object.assign({}, highlightStyle, activeStyle) : highlightStyle;\n\t\n\t var props = {\n\t children: text,\n\t className: highlightClassNames,\n\t key: index,\n\t style: highlightStyles\n\t };\n\t\n\t // Don't attach arbitrary props to DOM elements; this triggers React DEV warnings (https://fb.me/react-unknown-prop)\n\t // Only pass through the highlightIndex attribute for custom components.\n\t if (typeof HighlightTag !== 'string') {\n\t props.highlightIndex = highlightIndex;\n\t }\n\t\n\t return (0, _react.createElement)(HighlightTag, props);\n\t } else {\n\t return (0, _react.createElement)('span', {\n\t children: text,\n\t className: unhighlightClassName,\n\t key: index,\n\t style: unhighlightStyle\n\t });\n\t }\n\t })\n\t }));\n\t}\n\t\n\tmodule.exports = exports['default'];\n\n/***/ }),\n/* 3 */\n/***/ (function(module, exports) {\n\n\tmodule.exports =\n\t/******/ (function(modules) { // webpackBootstrap\n\t/******/ \t// The module cache\n\t/******/ \tvar installedModules = {};\n\t/******/\n\t/******/ \t// The require function\n\t/******/ \tfunction __nested_webpack_require_8656__(moduleId) {\n\t/******/\n\t/******/ \t\t// Check if module is in cache\n\t/******/ \t\tif(installedModules[moduleId])\n\t/******/ \t\t\treturn installedModules[moduleId].exports;\n\t/******/\n\t/******/ \t\t// Create a new module (and put it into the cache)\n\t/******/ \t\tvar module = installedModules[moduleId] = {\n\t/******/ \t\t\texports: {},\n\t/******/ \t\t\tid: moduleId,\n\t/******/ \t\t\tloaded: false\n\t/******/ \t\t};\n\t/******/\n\t/******/ \t\t// Execute the module function\n\t/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_8656__);\n\t/******/\n\t/******/ \t\t// Flag the module as loaded\n\t/******/ \t\tmodule.loaded = true;\n\t/******/\n\t/******/ \t\t// Return the exports of the module\n\t/******/ \t\treturn module.exports;\n\t/******/ \t}\n\t/******/\n\t/******/\n\t/******/ \t// expose the modules object (__webpack_modules__)\n\t/******/ \t__nested_webpack_require_8656__.m = modules;\n\t/******/\n\t/******/ \t// expose the module cache\n\t/******/ \t__nested_webpack_require_8656__.c = installedModules;\n\t/******/\n\t/******/ \t// __webpack_public_path__\n\t/******/ \t__nested_webpack_require_8656__.p = \"\";\n\t/******/\n\t/******/ \t// Load entry module and return exports\n\t/******/ \treturn __nested_webpack_require_8656__(0);\n\t/******/ })\n\t/************************************************************************/\n\t/******/ ([\n\t/* 0 */\n\t/***/ (function(module, exports, __nested_webpack_require_9976__) {\n\t\n\t\tmodule.exports = __nested_webpack_require_9976__(1);\n\t\n\t\n\t/***/ }),\n\t/* 1 */\n\t/***/ (function(module, exports, __nested_webpack_require_10102__) {\n\t\n\t\t'use strict';\n\t\t\n\t\tObject.defineProperty(exports, \"__esModule\", {\n\t\t value: true\n\t\t});\n\t\t\n\t\tvar _utils = __nested_webpack_require_10102__(2);\n\t\t\n\t\tObject.defineProperty(exports, 'combineChunks', {\n\t\t enumerable: true,\n\t\t get: function get() {\n\t\t return _utils.combineChunks;\n\t\t }\n\t\t});\n\t\tObject.defineProperty(exports, 'fillInChunks', {\n\t\t enumerable: true,\n\t\t get: function get() {\n\t\t return _utils.fillInChunks;\n\t\t }\n\t\t});\n\t\tObject.defineProperty(exports, 'findAll', {\n\t\t enumerable: true,\n\t\t get: function get() {\n\t\t return _utils.findAll;\n\t\t }\n\t\t});\n\t\tObject.defineProperty(exports, 'findChunks', {\n\t\t enumerable: true,\n\t\t get: function get() {\n\t\t return _utils.findChunks;\n\t\t }\n\t\t});\n\t\n\t/***/ }),\n\t/* 2 */\n\t/***/ (function(module, exports) {\n\t\n\t\t'use strict';\n\t\t\n\t\tObject.defineProperty(exports, \"__esModule\", {\n\t\t value: true\n\t\t});\n\t\t/**\n\t\t * Creates an array of chunk objects representing both higlightable and non highlightable pieces of text that match each search word.\n\t\t * @return Array of \"chunks\" (where a Chunk is { start:number, end:number, highlight:boolean })\n\t\t */\n\t\tvar findAll = exports.findAll = function findAll(_ref) {\n\t\t var autoEscape = _ref.autoEscape,\n\t\t _ref$caseSensitive = _ref.caseSensitive,\n\t\t caseSensitive = _ref$caseSensitive === undefined ? false : _ref$caseSensitive,\n\t\t _ref$findChunks = _ref.findChunks,\n\t\t findChunks = _ref$findChunks === undefined ? defaultFindChunks : _ref$findChunks,\n\t\t sanitize = _ref.sanitize,\n\t\t searchWords = _ref.searchWords,\n\t\t textToHighlight = _ref.textToHighlight;\n\t\t return fillInChunks({\n\t\t chunksToHighlight: combineChunks({\n\t\t chunks: findChunks({\n\t\t autoEscape: autoEscape,\n\t\t caseSensitive: caseSensitive,\n\t\t sanitize: sanitize,\n\t\t searchWords: searchWords,\n\t\t textToHighlight: textToHighlight\n\t\t })\n\t\t }),\n\t\t totalLength: textToHighlight ? textToHighlight.length : 0\n\t\t });\n\t\t};\n\t\t\n\t\t/**\n\t\t * Takes an array of {start:number, end:number} objects and combines chunks that overlap into single chunks.\n\t\t * @return {start:number, end:number}[]\n\t\t */\n\t\tvar combineChunks = exports.combineChunks = function combineChunks(_ref2) {\n\t\t var chunks = _ref2.chunks;\n\t\t\n\t\t chunks = chunks.sort(function (first, second) {\n\t\t return first.start - second.start;\n\t\t }).reduce(function (processedChunks, nextChunk) {\n\t\t // First chunk just goes straight in the array...\n\t\t if (processedChunks.length === 0) {\n\t\t return [nextChunk];\n\t\t } else {\n\t\t // ... subsequent chunks get checked to see if they overlap...\n\t\t var prevChunk = processedChunks.pop();\n\t\t if (nextChunk.start <= prevChunk.end) {\n\t\t // It may be the case that prevChunk completely surrounds nextChunk, so take the\n\t\t // largest of the end indeces.\n\t\t var endIndex = Math.max(prevChunk.end, nextChunk.end);\n\t\t processedChunks.push({ start: prevChunk.start, end: endIndex });\n\t\t } else {\n\t\t processedChunks.push(prevChunk, nextChunk);\n\t\t }\n\t\t return processedChunks;\n\t\t }\n\t\t }, []);\n\t\t\n\t\t return chunks;\n\t\t};\n\t\t\n\t\t/**\n\t\t * Examine text for any matches.\n\t\t * If we find matches, add them to the returned array as a \"chunk\" object ({start:number, end:number}).\n\t\t * @return {start:number, end:number}[]\n\t\t */\n\t\tvar defaultFindChunks = function defaultFindChunks(_ref3) {\n\t\t var autoEscape = _ref3.autoEscape,\n\t\t caseSensitive = _ref3.caseSensitive,\n\t\t _ref3$sanitize = _ref3.sanitize,\n\t\t sanitize = _ref3$sanitize === undefined ? identity : _ref3$sanitize,\n\t\t searchWords = _ref3.searchWords,\n\t\t textToHighlight = _ref3.textToHighlight;\n\t\t\n\t\t textToHighlight = sanitize(textToHighlight);\n\t\t\n\t\t return searchWords.filter(function (searchWord) {\n\t\t return searchWord;\n\t\t }) // Remove empty words\n\t\t .reduce(function (chunks, searchWord) {\n\t\t searchWord = sanitize(searchWord);\n\t\t\n\t\t if (autoEscape) {\n\t\t searchWord = escapeRegExpFn(searchWord);\n\t\t }\n\t\t\n\t\t var regex = new RegExp(searchWord, caseSensitive ? 'g' : 'gi');\n\t\t\n\t\t var match = void 0;\n\t\t while (match = regex.exec(textToHighlight)) {\n\t\t var start = match.index;\n\t\t var end = regex.lastIndex;\n\t\t // We do not return zero-length matches\n\t\t if (end > start) {\n\t\t chunks.push({ start: start, end: end });\n\t\t }\n\t\t\n\t\t // Prevent browsers like Firefox from getting stuck in an infinite loop\n\t\t // See http://www.regexguru.com/2008/04/watch-out-for-zero-length-matches/\n\t\t if (match.index == regex.lastIndex) {\n\t\t regex.lastIndex++;\n\t\t }\n\t\t }\n\t\t\n\t\t return chunks;\n\t\t }, []);\n\t\t};\n\t\t// Allow the findChunks to be overridden in findAll,\n\t\t// but for backwards compatibility we export as the old name\n\t\texports.findChunks = defaultFindChunks;\n\t\t\n\t\t/**\n\t\t * Given a set of chunks to highlight, create an additional set of chunks\n\t\t * to represent the bits of text between the highlighted text.\n\t\t * @param chunksToHighlight {start:number, end:number}[]\n\t\t * @param totalLength number\n\t\t * @return {start:number, end:number, highlight:boolean}[]\n\t\t */\n\t\t\n\t\tvar fillInChunks = exports.fillInChunks = function fillInChunks(_ref4) {\n\t\t var chunksToHighlight = _ref4.chunksToHighlight,\n\t\t totalLength = _ref4.totalLength;\n\t\t\n\t\t var allChunks = [];\n\t\t var append = function append(start, end, highlight) {\n\t\t if (end - start > 0) {\n\t\t allChunks.push({\n\t\t start: start,\n\t\t end: end,\n\t\t highlight: highlight\n\t\t });\n\t\t }\n\t\t };\n\t\t\n\t\t if (chunksToHighlight.length === 0) {\n\t\t append(0, totalLength, false);\n\t\t } else {\n\t\t var lastIndex = 0;\n\t\t chunksToHighlight.forEach(function (chunk) {\n\t\t append(lastIndex, chunk.start, false);\n\t\t append(chunk.start, chunk.end, true);\n\t\t lastIndex = chunk.end;\n\t\t });\n\t\t append(lastIndex, totalLength, false);\n\t\t }\n\t\t return allChunks;\n\t\t};\n\t\t\n\t\tfunction identity(value) {\n\t\t return value;\n\t\t}\n\t\t\n\t\tfunction escapeRegExpFn(str) {\n\t\t return str.replace(/[\\-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]/g, '\\\\$&');\n\t\t}\n\t\n\t/***/ })\n\t/******/ ]);\n\t//# sourceMappingURL=index.js.map\n\n/***/ }),\n/* 4 */\n/***/ (function(module, exports, __nested_webpack_require_16340__) {\n\n\t/* WEBPACK VAR INJECTION */(function(process) {/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t *\n\t * This source code is licensed under the MIT license found in the\n\t * LICENSE file in the root directory of this source tree.\n\t */\n\t\n\tif (process.env.NODE_ENV !== 'production') {\n\t var REACT_ELEMENT_TYPE = (typeof Symbol === 'function' &&\n\t Symbol.for &&\n\t Symbol.for('react.element')) ||\n\t 0xeac7;\n\t\n\t var isValidElement = function(object) {\n\t return typeof object === 'object' &&\n\t object !== null &&\n\t object.$$typeof === REACT_ELEMENT_TYPE;\n\t };\n\t\n\t // By explicitly using `prop-types` you are opting into new development behavior.\n\t // http://fb.me/prop-types-in-prod\n\t var throwOnDirectAccess = true;\n\t module.exports = __nested_webpack_require_16340__(6)(isValidElement, throwOnDirectAccess);\n\t} else {\n\t // By explicitly using `prop-types` you are opting into new production behavior.\n\t // http://fb.me/prop-types-in-prod\n\t module.exports = __nested_webpack_require_16340__(13)();\n\t}\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, __nested_webpack_require_16340__(5)))\n\n/***/ }),\n/* 5 */\n/***/ (function(module, exports) {\n\n\t// shim for using process in browser\n\tvar process = module.exports = {};\n\t\n\t// cached from whatever global is present so that test runners that stub it\n\t// don't break things. But we need to wrap it in a try catch in case it is\n\t// wrapped in strict mode code which doesn't define any globals. It's inside a\n\t// function because try/catches deoptimize in certain engines.\n\t\n\tvar cachedSetTimeout;\n\tvar cachedClearTimeout;\n\t\n\tfunction defaultSetTimout() {\n\t throw new Error('setTimeout has not been defined');\n\t}\n\tfunction defaultClearTimeout () {\n\t throw new Error('clearTimeout has not been defined');\n\t}\n\t(function () {\n\t try {\n\t if (typeof setTimeout === 'function') {\n\t cachedSetTimeout = setTimeout;\n\t } else {\n\t cachedSetTimeout = defaultSetTimout;\n\t }\n\t } catch (e) {\n\t cachedSetTimeout = defaultSetTimout;\n\t }\n\t try {\n\t if (typeof clearTimeout === 'function') {\n\t cachedClearTimeout = clearTimeout;\n\t } else {\n\t cachedClearTimeout = defaultClearTimeout;\n\t }\n\t } catch (e) {\n\t cachedClearTimeout = defaultClearTimeout;\n\t }\n\t} ())\n\tfunction runTimeout(fun) {\n\t if (cachedSetTimeout === setTimeout) {\n\t //normal enviroments in sane situations\n\t return setTimeout(fun, 0);\n\t }\n\t // if setTimeout wasn't available but was latter defined\n\t if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n\t cachedSetTimeout = setTimeout;\n\t return setTimeout(fun, 0);\n\t }\n\t try {\n\t // when when somebody has screwed with setTimeout but no I.E. maddness\n\t return cachedSetTimeout(fun, 0);\n\t } catch(e){\n\t try {\n\t // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n\t return cachedSetTimeout.call(null, fun, 0);\n\t } catch(e){\n\t // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n\t return cachedSetTimeout.call(this, fun, 0);\n\t }\n\t }\n\t\n\t\n\t}\n\tfunction runClearTimeout(marker) {\n\t if (cachedClearTimeout === clearTimeout) {\n\t //normal enviroments in sane situations\n\t return clearTimeout(marker);\n\t }\n\t // if clearTimeout wasn't available but was latter defined\n\t if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n\t cachedClearTimeout = clearTimeout;\n\t return clearTimeout(marker);\n\t }\n\t try {\n\t // when when somebody has screwed with setTimeout but no I.E. maddness\n\t return cachedClearTimeout(marker);\n\t } catch (e){\n\t try {\n\t // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n\t return cachedClearTimeout.call(null, marker);\n\t } catch (e){\n\t // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n\t // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n\t return cachedClearTimeout.call(this, marker);\n\t }\n\t }\n\t\n\t\n\t\n\t}\n\tvar queue = [];\n\tvar draining = false;\n\tvar currentQueue;\n\tvar queueIndex = -1;\n\t\n\tfunction cleanUpNextTick() {\n\t if (!draining || !currentQueue) {\n\t return;\n\t }\n\t draining = false;\n\t if (currentQueue.length) {\n\t queue = currentQueue.concat(queue);\n\t } else {\n\t queueIndex = -1;\n\t }\n\t if (queue.length) {\n\t drainQueue();\n\t }\n\t}\n\t\n\tfunction drainQueue() {\n\t if (draining) {\n\t return;\n\t }\n\t var timeout = runTimeout(cleanUpNextTick);\n\t draining = true;\n\t\n\t var len = queue.length;\n\t while(len) {\n\t currentQueue = queue;\n\t queue = [];\n\t while (++queueIndex < len) {\n\t if (currentQueue) {\n\t currentQueue[queueIndex].run();\n\t }\n\t }\n\t queueIndex = -1;\n\t len = queue.length;\n\t }\n\t currentQueue = null;\n\t draining = false;\n\t runClearTimeout(timeout);\n\t}\n\t\n\tprocess.nextTick = function (fun) {\n\t var args = new Array(arguments.length - 1);\n\t if (arguments.length > 1) {\n\t for (var i = 1; i < arguments.length; i++) {\n\t args[i - 1] = arguments[i];\n\t }\n\t }\n\t queue.push(new Item(fun, args));\n\t if (queue.length === 1 && !draining) {\n\t runTimeout(drainQueue);\n\t }\n\t};\n\t\n\t// v8 likes predictible objects\n\tfunction Item(fun, array) {\n\t this.fun = fun;\n\t this.array = array;\n\t}\n\tItem.prototype.run = function () {\n\t this.fun.apply(null, this.array);\n\t};\n\tprocess.title = 'browser';\n\tprocess.browser = true;\n\tprocess.env = {};\n\tprocess.argv = [];\n\tprocess.version = ''; // empty string to avoid regexp issues\n\tprocess.versions = {};\n\t\n\tfunction noop() {}\n\t\n\tprocess.on = noop;\n\tprocess.addListener = noop;\n\tprocess.once = noop;\n\tprocess.off = noop;\n\tprocess.removeListener = noop;\n\tprocess.removeAllListeners = noop;\n\tprocess.emit = noop;\n\tprocess.prependListener = noop;\n\tprocess.prependOnceListener = noop;\n\t\n\tprocess.listeners = function (name) { return [] }\n\t\n\tprocess.binding = function (name) {\n\t throw new Error('process.binding is not supported');\n\t};\n\t\n\tprocess.cwd = function () { return '/' };\n\tprocess.chdir = function (dir) {\n\t throw new Error('process.chdir is not supported');\n\t};\n\tprocess.umask = function() { return 0; };\n\n\n/***/ }),\n/* 6 */\n/***/ (function(module, exports, __nested_webpack_require_23148__) {\n\n\t/* WEBPACK VAR INJECTION */(function(process) {/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t *\n\t * This source code is licensed under the MIT license found in the\n\t * LICENSE file in the root directory of this source tree.\n\t */\n\t\n\t'use strict';\n\t\n\tvar emptyFunction = __nested_webpack_require_23148__(7);\n\tvar invariant = __nested_webpack_require_23148__(8);\n\tvar warning = __nested_webpack_require_23148__(9);\n\tvar assign = __nested_webpack_require_23148__(10);\n\t\n\tvar ReactPropTypesSecret = __nested_webpack_require_23148__(11);\n\tvar checkPropTypes = __nested_webpack_require_23148__(12);\n\t\n\tmodule.exports = function(isValidElement, throwOnDirectAccess) {\n\t /* global Symbol */\n\t var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;\n\t var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.\n\t\n\t /**\n\t * Returns the iterator method function contained on the iterable object.\n\t *\n\t * Be sure to invoke the function with the iterable as context:\n\t *\n\t * var iteratorFn = getIteratorFn(myIterable);\n\t * if (iteratorFn) {\n\t * var iterator = iteratorFn.call(myIterable);\n\t * ...\n\t * }\n\t *\n\t * @param {?object} maybeIterable\n\t * @return {?function}\n\t */\n\t function getIteratorFn(maybeIterable) {\n\t var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);\n\t if (typeof iteratorFn === 'function') {\n\t return iteratorFn;\n\t }\n\t }\n\t\n\t /**\n\t * Collection of methods that allow declaration and validation of props that are\n\t * supplied to React components. Example usage:\n\t *\n\t * var Props = require('ReactPropTypes');\n\t * var MyArticle = React.createClass({\n\t * propTypes: {\n\t * // An optional string prop named \"description\".\n\t * description: Props.string,\n\t *\n\t * // A required enum prop named \"category\".\n\t * category: Props.oneOf(['News','Photos']).isRequired,\n\t *\n\t * // A prop named \"dialog\" that requires an instance of Dialog.\n\t * dialog: Props.instanceOf(Dialog).isRequired\n\t * },\n\t * render: function() { ... }\n\t * });\n\t *\n\t * A more formal specification of how these methods are used:\n\t *\n\t * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)\n\t * decl := ReactPropTypes.{type}(.isRequired)?\n\t *\n\t * Each and every declaration produces a function with the same signature. This\n\t * allows the creation of custom validation functions. For example:\n\t *\n\t * var MyLink = React.createClass({\n\t * propTypes: {\n\t * // An optional string or URI prop named \"href\".\n\t * href: function(props, propName, componentName) {\n\t * var propValue = props[propName];\n\t * if (propValue != null && typeof propValue !== 'string' &&\n\t * !(propValue instanceof URI)) {\n\t * return new Error(\n\t * 'Expected a string or an URI for ' + propName + ' in ' +\n\t * componentName\n\t * );\n\t * }\n\t * }\n\t * },\n\t * render: function() {...}\n\t * });\n\t *\n\t * @internal\n\t */\n\t\n\t var ANONYMOUS = '<<anonymous>>';\n\t\n\t // Important!\n\t // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.\n\t var ReactPropTypes = {\n\t array: createPrimitiveTypeChecker('array'),\n\t bool: createPrimitiveTypeChecker('boolean'),\n\t func: createPrimitiveTypeChecker('function'),\n\t number: createPrimitiveTypeChecker('number'),\n\t object: createPrimitiveTypeChecker('object'),\n\t string: createPrimitiveTypeChecker('string'),\n\t symbol: createPrimitiveTypeChecker('symbol'),\n\t\n\t any: createAnyTypeChecker(),\n\t arrayOf: createArrayOfTypeChecker,\n\t element: createElementTypeChecker(),\n\t instanceOf: createInstanceTypeChecker,\n\t node: createNodeChecker(),\n\t objectOf: createObjectOfTypeChecker,\n\t oneOf: createEnumTypeChecker,\n\t oneOfType: createUnionTypeChecker,\n\t shape: createShapeTypeChecker,\n\t exact: createStrictShapeTypeChecker,\n\t };\n\t\n\t /**\n\t * inlined Object.is polyfill to avoid requiring consumers ship their own\n\t * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n\t */\n\t /*eslint-disable no-self-compare*/\n\t function is(x, y) {\n\t // SameValue algorithm\n\t if (x === y) {\n\t // Steps 1-5, 7-10\n\t // Steps 6.b-6.e: +0 != -0\n\t return x !== 0 || 1 / x === 1 / y;\n\t } else {\n\t // Step 6.a: NaN == NaN\n\t return x !== x && y !== y;\n\t }\n\t }\n\t /*eslint-enable no-self-compare*/\n\t\n\t /**\n\t * We use an Error-like object for backward compatibility as people may call\n\t * PropTypes directly and inspect their output. However, we don't use real\n\t * Errors anymore. We don't inspect their stack anyway, and creating them\n\t * is prohibitively expensive if they are created too often, such as what\n\t * happens in oneOfType() for any type before the one that matched.\n\t */\n\t function PropTypeError(message) {\n\t this.message = message;\n\t this.stack = '';\n\t }\n\t // Make `instanceof Error` still work for returned errors.\n\t PropTypeError.prototype = Error.prototype;\n\t\n\t function createChainableTypeChecker(validate) {\n\t if (process.env.NODE_ENV !== 'production') {\n\t var manualPropTypeCallCache = {};\n\t var manualPropTypeWarningCount = 0;\n\t }\n\t function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {\n\t componentName = componentName || ANONYMOUS;\n\t propFullName = propFullName || propName;\n\t\n\t if (secret !== ReactPropTypesSecret) {\n\t if (throwOnDirectAccess) {\n\t // New behavior only for users of `prop-types` package\n\t invariant(\n\t false,\n\t 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n\t 'Use `PropTypes.checkPropTypes()` to call them. ' +\n\t 'Read more at http://fb.me/use-check-prop-types'\n\t );\n\t } else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {\n\t // Old behavior for people using React.PropTypes\n\t var cacheKey = componentName + ':' + propName;\n\t if (\n\t !manualPropTypeCallCache[cacheKey] &&\n\t // Avoid spamming the console because they are often not actionable except for lib authors\n\t manualPropTypeWarningCount < 3\n\t ) {\n\t warning(\n\t false,\n\t 'You are manually calling a React.PropTypes validation ' +\n\t 'function for the `%s` prop on `%s`. This is deprecated ' +\n\t 'and will throw in the standalone `prop-types` package. ' +\n\t 'You may be seeing this warning due to a third-party PropTypes ' +\n\t 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.',\n\t propFullName,\n\t componentName\n\t );\n\t manualPropTypeCallCache[cacheKey] = true;\n\t manualPropTypeWarningCount++;\n\t }\n\t }\n\t }\n\t if (props[propName] == null) {\n\t if (isRequired) {\n\t if (props[propName] === null) {\n\t return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));\n\t }\n\t return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));\n\t }\n\t return null;\n\t } else {\n\t return validate(props, propName, componentName, location, propFullName);\n\t }\n\t }\n\t\n\t var chainedCheckType = checkType.bind(null, false);\n\t chainedCheckType.isRequired = checkType.bind(null, true);\n\t\n\t return chainedCheckType;\n\t }\n\t\n\t function createPrimitiveTypeChecker(expectedType) {\n\t function validate(props, propName, componentName, location, propFullName, secret) {\n\t var propValue = props[propName];\n\t var propType = getPropType(propValue);\n\t if (propType !== expectedType) {\n\t // `propValue` being instance of, say, date/regexp, pass the 'object'\n\t // check, but we can offer a more precise error message here rather than\n\t // 'of type `object`'.\n\t var preciseType = getPreciseType(propValue);\n\t\n\t return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'));\n\t }\n\t return null;\n\t }\n\t return createChainableTypeChecker(validate);\n\t }\n\t\n\t function createAnyTypeChecker() {\n\t return createChainableTypeChecker(emptyFunction.thatReturnsNull);\n\t }\n\t\n\t function createArrayOfTypeChecker(typeChecker) {\n\t function validate(props, propName, componentName, location, propFullName) {\n\t if (typeof typeChecker !== 'function') {\n\t return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');\n\t }\n\t var propValue = props[propName];\n\t if (!Array.isArray(propValue)) {\n\t var propType = getPropType(propValue);\n\t return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));\n\t }\n\t for (var i = 0; i < propValue.length; i++) {\n\t var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);\n\t if (error instanceof Error) {\n\t return error;\n\t }\n\t }\n\t return null;\n\t }\n\t return createChainableTypeChecker(validate);\n\t }\n\t\n\t function createElementTypeChecker() {\n\t function validate(props, propName, componentName, location, propFullName) {\n\t var propValue = props[propName];\n\t if (!isValidElement(propValue)) {\n\t var propType = getPropType(propValue);\n\t return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));\n\t }\n\t return null;\n\t }\n\t return createChainableTypeChecker(validate);\n\t }\n\t\n\t function createInstanceTypeChecker(expectedClass) {\n\t function validate(props, propName, componentName, location, propFullName) {\n\t if (!(props[propName] instanceof expectedClass)) {\n\t var expectedClassName = expectedClass.name || ANONYMOUS;\n\t var actualClassName = getClassName(props[propName]);\n\t return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));\n\t }\n\t return null;\n\t }\n\t return createChainableTypeChecker(validate);\n\t }\n\t\n\t function createEnumTypeChecker(expectedValues) {\n\t if (!Array.isArray(expectedValues)) {\n\t process.env.NODE_ENV !== 'production' ? warning(false, 'Invalid argument supplied to oneOf, expected an instance of array.') : void 0;\n\t return emptyFunction.thatReturnsNull;\n\t }\n\t\n\t function validate(props, propName, componentName, location, propFullName) {\n\t var propValue = props[propName];\n\t for (var i = 0; i < expectedValues.length; i++) {\n\t if (is(propValue, expectedValues[i])) {\n\t return null;\n\t }\n\t }\n\t\n\t var valuesString = JSON.stringify(expectedValues);\n\t return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + propValue + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));\n\t }\n\t return createChainableTypeChecker(validate);\n\t }\n\t\n\t function createObjectOfTypeChecker(typeChecker) {\n\t function validate(props, propName, componentName, location, propFullName) {\n\t if (typeof typeChecker !== 'function') {\n\t return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');\n\t }\n\t var propValue = props[propName];\n\t var propType = getPropType(propValue);\n\t if (propType !== 'object') {\n\t return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));\n\t }\n\t for (var key in propValue) {\n\t if (propValue.hasOwnProperty(key)) {\n\t var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n\t if (error instanceof Error) {\n\t return error;\n\t }\n\t }\n\t }\n\t return null;\n\t }\n\t return createChainableTypeChecker(validate);\n\t }\n\t\n\t function createUnionTypeChecker(arrayOfTypeCheckers) {\n\t if (!Array.isArray(arrayOfTypeCheckers)) {\n\t process.env.NODE_ENV !== 'production' ? warning(false, 'Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;\n\t return emptyFunction.thatReturnsNull;\n\t }\n\t\n\t for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n\t var checker = arrayOfTypeCheckers[i];\n\t if (typeof checker !== 'function') {\n\t warning(\n\t false,\n\t 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +\n\t 'received %s at index %s.',\n\t getPostfixForTypeWarning(checker),\n\t i\n\t );\n\t return emptyFunction.thatReturnsNull;\n\t }\n\t }\n\t\n\t function validate(props, propName, componentName, location, propFullName) {\n\t for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n\t var checker = arrayOfTypeCheckers[i];\n\t if (checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret) == null) {\n\t return null;\n\t }\n\t }\n\t\n\t return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.'));\n\t }\n\t return createChainableTypeChecker(validate);\n\t }\n\t\n\t function createNodeChecker() {\n\t function validate(props, propName, componentName, location, propFullName) {\n\t if (!isNode(props[propName])) {\n\t return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));\n\t }\n\t return null;\n\t }\n\t return createChainableTypeChecker(validate);\n\t }\n\t\n\t function createShapeTypeChecker(shapeTypes) {\n\t function validate(props, propName, componentName, location, propFullName) {\n\t var propValue = props[propName];\n\t var propType = getPropType(propValue);\n\t if (propType !== 'object') {\n\t return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n\t }\n\t for (var key in shapeTypes) {\n\t var checker = shapeTypes[key];\n\t if (!checker) {\n\t continue;\n\t }\n\t var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n\t if (error) {\n\t return error;\n\t }\n\t }\n\t return null;\n\t }\n\t return createChainableTypeChecker(validate);\n\t }\n\t\n\t function createStrictShapeTypeChecker(shapeTypes) {\n\t function validate(props, propName, componentName, location, propFullName) {\n\t var propValue = props[propName];\n\t var propType = getPropType(propValue);\n\t if (propType !== 'object') {\n\t return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n\t }\n\t // We need to check all keys in case some are required but missing from\n\t // props.\n\t var allKeys = assign({}, props[propName], shapeTypes);\n\t for (var key in allKeys) {\n\t var checker = shapeTypes[key];\n\t if (!checker) {\n\t return new PropTypeError(\n\t 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +\n\t '\\nBad object: ' + JSON.stringify(props[propName], null, ' ') +\n\t '\\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')\n\t );\n\t }\n\t var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n\t if (error) {\n\t return error;\n\t }\n\t }\n\t return null;\n\t }\n\t\n\t return createChainableTypeChecker(validate);\n\t }\n\t\n\t function isNode(propValue) {\n\t switch (typeof propValue) {\n\t case 'number':\n\t case 'string':\n\t case 'undefined':\n\t return true;\n\t case 'boolean':\n\t return !propValue;\n\t case 'object':\n\t if (Array.isArray(propValue)) {\n\t return propValue.every(isNode);\n\t }\n\t if (propValue === null || isValidElement(propValue)) {\n\t return true;\n\t }\n\t\n\t var iteratorFn = getIteratorFn(propValue);\n\t if (iteratorFn) {\n\t var iterator = iteratorFn.call(propValue);\n\t var step;\n\t if (iteratorFn !== propValue.entries) {\n\t while (!(step = iterator.next()).done) {\n\t if (!isNode(step.value)) {\n\t return false;\n\t }\n\t }\n\t } else {\n\t // Iterator will provide entry [k,v] tuples rather than values.\n\t while (!(step = iterator.next()).done) {\n\t var entry = step.value;\n\t if (entry) {\n\t if (!isNode(entry[1])) {\n\t return false;\n\t }\n\t }\n\t }\n\t }\n\t } else {\n\t return false;\n\t }\n\t\n\t return true;\n\t default:\n\t return false;\n\t }\n\t }\n\t\n\t function isSymbol(propType, propValue) {\n\t // Native Symbol.\n\t if (propType === 'symbol') {\n\t return true;\n\t }\n\t\n\t // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'\n\t if (propValue['@@toStringTag'] === 'Symbol') {\n\t return true;\n\t }\n\t\n\t // Fallback for non-spec compliant Symbols which are polyfilled.\n\t if (typeof Symbol === 'function' && propValue instanceof Symbol) {\n\t return true;\n\t }\n\t\n\t return false;\n\t }\n\t\n\t // Equivalent of `typeof` but with special handling for array and regexp.\n\t function getPropType(propValue) {\n\t var propType = typeof propValue;\n\t if (Array.isArray(propValue)) {\n\t return 'array';\n\t }\n\t if (propValue instanceof RegExp) {\n\t // Old webkits (at least until Android 4.0) return 'function' rather than\n\t // 'object' for typeof a RegExp. We'll normalize this here so that /bla/\n\t // passes PropTypes.object.\n\t return 'object';\n\t }\n\t if (isSymbol(propType, propValue)) {\n\t return 'symbol';\n\t }\n\t return propType;\n\t }\n\t\n\t // This handles more types than `getPropType`. Only used for error messages.\n\t // See `createPrimitiveTypeChecker`.\n\t function getPreciseType(propValue) {\n\t if (typeof propValue === 'undefined' || propValue === null) {\n\t return '' + propValue;\n\t }\n\t var propType = getPropType(propValue);\n\t if (propType === 'object') {\n\t if (propValue instanceof Date) {\n\t return 'date';\n\t } else if (propValue instanceof RegExp) {\n\t return 'regexp';\n\t }\n\t }\n\t return propType;\n\t }\n\t\n\t // Returns a string that is postfixed to a warning about an invalid type.\n\t // For example, \"undefined\" or \"of type array\"\n\t function getPostfixForTypeWarning(value) {\n\t var type = getPreciseType(value);\n\t switch (type) {\n\t case 'array':\n\t case 'object':\n\t return 'an ' + type;\n\t case 'boolean':\n\t case 'date':\n\t case 'regexp':\n\t return 'a ' + type;\n\t default:\n\t return type;\n\t }\n\t }\n\t\n\t // Returns class name of the object, if any.\n\t function getClassName(propValue) {\n\t if (!propValue.constructor || !propValue.constructor.name) {\n\t return ANONYMOUS;\n\t }\n\t return propValue.constructor.name;\n\t }\n\t\n\t ReactPropTypes.checkPropTypes = checkPropTypes;\n\t ReactPropTypes.PropTypes = ReactPropTypes;\n\t\n\t return ReactPropTypes;\n\t};\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, __nested_webpack_require_23148__(5)))\n\n/***/ }),\n/* 7 */\n/***/ (function(module, exports) {\n\n\t\"use strict\";\n\t\n\t/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t *\n\t * This source code is licensed under the MIT license found in the\n\t * LICENSE file in the root directory of this source tree.\n\t *\n\t * \n\t */\n\t\n\tfunction makeEmptyFunction(arg) {\n\t return function () {\n\t return arg;\n\t };\n\t}\n\t\n\t/**\n\t * This function accepts and discards inputs; it has no side effects. This is\n\t * primarily useful idiomatically for overridable function endpoints which\n\t * always need to be callable, since JS lacks a null-call idiom ala Cocoa.\n\t */\n\tvar emptyFunction = function emptyFunction() {};\n\t\n\temptyFunction.thatReturns = makeEmptyFunction;\n\temptyFunction.thatReturnsFalse = makeEmptyFunction(false);\n\temptyFunction.thatReturnsTrue = makeEmptyFunction(true);\n\temptyFunction.thatReturnsNull = makeEmptyFunction(null);\n\temptyFunction.thatReturnsThis = function () {\n\t return this;\n\t};\n\temptyFunction.thatReturnsArgument = function (arg) {\n\t return arg;\n\t};\n\t\n\tmodule.exports = emptyFunction;\n\n/***/ }),\n/* 8 */\n/***/ (function(module, exports, __nested_webpack_require_44740__) {\n\n\t/* WEBPACK VAR INJECTION */(function(process) {/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t *\n\t * This source code is licensed under the MIT license found in the\n\t * LICENSE file in the root directory of this source tree.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\t/**\n\t * Use invariant() to assert state which your program assumes to be true.\n\t *\n\t * Provide sprintf-style format (only %s is supported) and arguments\n\t * to provide information about what broke and what you were\n\t * expecting.\n\t *\n\t * The invariant message will be stripped in production, but the invariant\n\t * will remain to ensure logic does not differ in production.\n\t */\n\t\n\tvar validateFormat = function validateFormat(format) {};\n\t\n\tif (process.env.NODE_ENV !== 'production') {\n\t validateFormat = function validateFormat(format) {\n\t if (format === undefined) {\n\t throw new Error('invariant requires an error message argument');\n\t }\n\t };\n\t}\n\t\n\tfunction invariant(condition, format, a, b, c, d, e, f) {\n\t validateFormat(format);\n\t\n\t if (!condition) {\n\t var error;\n\t if (format === undefined) {\n\t error = new Error('Minified exception occurred; use the non-minified dev environment ' + 'for the full error message and additional helpful warnings.');\n\t } else {\n\t var args = [a, b, c, d, e, f];\n\t var argIndex = 0;\n\t error = new Error(format.replace(/%s/g, function () {\n\t return args[argIndex++];\n\t }));\n\t error.name = 'Invariant Violation';\n\t }\n\t\n\t error.framesToPop = 1; // we don't care about invariant's own frame\n\t throw error;\n\t }\n\t}\n\t\n\tmodule.exports = invariant;\n\t/* WEBPACK VAR INJECTION */}.call(exports, __nested_webpack_require_44740__(5)))\n\n/***/ }),\n/* 9 */\n/***/ (function(module, exports, __nested_webpack_require_46492__) {\n\n\t/* WEBPACK VAR INJECTION */(function(process) {/**\n\t * Copyright (c) 2014-present, Facebook, Inc.\n\t *\n\t * This source code is licensed under the MIT license found in the\n\t * LICENSE file in the root directory of this source tree.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar emptyFunction = __nested_webpack_require_46492__(7);\n\t\n\t/**\n\t * Similar to invariant but only logs a warning if the condition is not met.\n\t * This can be used to log issues in development environments in critical\n\t * paths. Removing the logging code for production environments will keep the\n\t * same logic and follow the same code paths.\n\t */\n\t\n\tvar warning = emptyFunction;\n\t\n\tif (process.env.NODE_ENV !== 'production') {\n\t var printWarning = function printWarning(format) {\n\t for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n\t args[_key - 1] = arguments[_key];\n\t }\n\t\n\t var argIndex = 0;\n\t var message = 'Warning: ' + format.replace(/%s/g, function () {\n\t return args[argIndex++];\n\t });\n\t if (typeof console !== 'undefined') {\n\t console.error(message);\n\t }\n\t try {\n\t // --- Welcome to debugging React ---\n\t // This error was thrown as a convenience so that you can use this stack\n\t // to find the callsite that caused this warning to fire.\n\t throw new Error(message);\n\t } catch (x) {}\n\t };\n\t\n\t warning = function warning(condition, format) {\n\t if (format === undefined) {\n\t throw new Error('`warning(condition, format, ...args)` requires a warning ' + 'message argument');\n\t }\n\t\n\t if (format.indexOf('Failed Composite propType: ') === 0) {\n\t return; // Ignore CompositeComponent proptype check.\n\t }\n\t\n\t if (!condition) {\n\t for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {\n\t args[_key2 - 2] = arguments[_key2];\n\t }\n\t\n\t printWarning.apply(undefined, [format].concat(args));\n\t }\n\t };\n\t}\n\t\n\tmodule.exports = warning;\n\t/* WEBPACK VAR INJECTION */}.call(exports, __nested_webpack_require_46492__(5)))\n\n/***/ }),\n/* 10 */\n/***/ (function(module, exports) {\n\n\t/*\n\tobject-assign\n\t(c) Sindre Sorhus\n\t@license MIT\n\t*/\n\t\n\t'use strict';\n\t/* eslint-disable no-unused-vars */\n\tvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\n\tvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\tvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\t\n\tfunction toObject(val) {\n\t\tif (val === null || val === undefined) {\n\t\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t\t}\n\t\n\t\treturn Object(val);\n\t}\n\t\n\tfunction shouldUseNative() {\n\t\ttry {\n\t\t\tif (!Object.assign) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\n\t\t\t// Detect buggy property enumeration order in older V8 versions.\n\t\n\t\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\t\ttest1[5] = 'de';\n\t\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\t\treturn false;\n\t\t\t}\n\t\n\t\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\t\tvar test2 = {};\n\t\t\tfor (var i = 0; i < 10; i++) {\n\t\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t\t}\n\t\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\t\treturn test2[n];\n\t\t\t});\n\t\t\tif (order2.join('') !== '0123456789') {\n\t\t\t\treturn false;\n\t\t\t}\n\t\n\t\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\t\tvar test3 = {};\n\t\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\t\ttest3[letter] = letter;\n\t\t\t});\n\t\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\t\treturn false;\n\t\t\t}\n\t\n\t\t\treturn true;\n\t\t} catch (err) {\n\t\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\t\treturn false;\n\t\t}\n\t}\n\t\n\tmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\t\tvar from;\n\t\tvar to = toObject(target);\n\t\tvar symbols;\n\t\n\t\tfor (var s = 1; s < arguments.length; s++) {\n\t\t\tfrom = Object(arguments[s]);\n\t\n\t\t\tfor (var key in from) {\n\t\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\t\tto[key] = from[key];\n\t\t\t\t}\n\t\t\t}\n\t\n\t\t\tif (getOwnPropertySymbols) {\n\t\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\n\t\treturn to;\n\t};\n\n\n/***/ }),\n/* 11 */\n/***/ (function(module, exports) {\n\n\t/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t *\n\t * This source code is licensed under the MIT license found in the\n\t * LICENSE file in the root directory of this source tree.\n\t */\n\t\n\t'use strict';\n\t\n\tvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\t\n\tmodule.exports = ReactPropTypesSecret;\n\n\n/***/ }),\n/* 12 */\n/***/ (function(module, exports, __nested_webpack_require_51279__) {\n\n\t/* WEBPACK VAR INJECTION */(function(process) {/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t *\n\t * This source code is licensed under the MIT license found in the\n\t * LICENSE file in the root directory of this source tree.\n\t */\n\t\n\t'use strict';\n\t\n\tif (process.env.NODE_ENV !== 'production') {\n\t var invariant = __nested_webpack_require_51279__(8);\n\t var warning = __nested_webpack_require_51279__(9);\n\t var ReactPropTypesSecret = __nested_webpack_require_51279__(11);\n\t var loggedTypeFailures = {};\n\t}\n\t\n\t/**\n\t * Assert that the values match with the type specs.\n\t * Error messages are memorized and will only be shown once.\n\t *\n\t * @param {object} typeSpecs Map of name to a ReactPropType\n\t * @param {object} values Runtime values that need to be type-checked\n\t * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n\t * @param {string} componentName Name of the component for error messages.\n\t * @param {?Function} getStack Returns the component stack.\n\t * @private\n\t */\n\tfunction checkPropTypes(typeSpecs, values, location, componentName, getStack) {\n\t if (process.env.NODE_ENV !== 'production') {\n\t for (var typeSpecName in typeSpecs) {\n\t if (typeSpecs.hasOwnProperty(typeSpecName)) {\n\t var error;\n\t // Prop type validation may throw. In case they do, we don't want to\n\t // fail the render phase where it didn't fail before. So we log it.\n\t // After these have been cleaned up, we'll let them throw.\n\t try {\n\t // This is intentionally an invariant that gets caught. It's the same\n\t // behavior as without this statement except with a better message.\n\t invariant(typeof typeSpecs[typeSpecName] === 'function', '%s: %s type `%s` is invalid; it must be a function, usually from ' + 'the `prop-types` package, but received `%s`.', componentName || 'React class', location, typeSpecName, typeof typeSpecs[typeSpecName]);\n\t error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);\n\t } catch (ex) {\n\t error = ex;\n\t }\n\t warning(!error || error instanceof Error, '%s: type specification of %s `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error);\n\t if (error instanceof Error && !(error.message in loggedTypeFailures)) {\n\t // Only monitor this failure once because there tends to be a lot of the\n\t // same error.\n\t loggedTypeFailures[error.message] = true;\n\t\n\t var stack = getStack ? getStack() : '';\n\t\n\t warning(false, 'Failed %s type: %s%s', location, error.message, stack != null ? stack : '');\n\t }\n\t }\n\t }\n\t }\n\t}\n\t\n\tmodule.exports = checkPropTypes;\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, __nested_webpack_require_51279__(5)))\n\n/***/ }),\n/* 13 */\n/***/ (function(module, exports, __nested_webpack_require_54380__) {\n\n\t/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t *\n\t * This source code is licensed under the MIT license found in the\n\t * LICENSE file in the root directory of this source tree.\n\t */\n\t\n\t'use strict';\n\t\n\tvar emptyFunction = __nested_webpack_require_54380__(7);\n\tvar invariant = __nested_webpack_require_54380__(8);\n\tvar ReactPropTypesSecret = __nested_webpack_require_54380__(11);\n\t\n\tmodule.exports = function() {\n\t function shim(props, propName, componentName, location, propFullName, secret) {\n\t if (secret === ReactPropTypesSecret) {\n\t // It is still safe when called from React.\n\t return;\n\t }\n\t invariant(\n\t false,\n\t 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n\t 'Use PropTypes.checkPropTypes() to call them. ' +\n\t 'Read more at http://fb.me/use-check-prop-types'\n\t );\n\t };\n\t shim.isRequired = shim;\n\t function getShim() {\n\t return shim;\n\t };\n\t // Important!\n\t // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n\t var ReactPropTypes = {\n\t array: shim,\n\t bool: shim,\n\t func: shim,\n\t number: shim,\n\t object: shim,\n\t string: shim,\n\t symbol: shim,\n\t\n\t any: shim,\n\t arrayOf: getShim,\n\t element: shim,\n\t instanceOf: getShim,\n\t node: shim,\n\t objectOf: getShim,\n\t oneOf: getShim,\n\t oneOfType: getShim,\n\t shape: getShim,\n\t exact: getShim\n\t };\n\t\n\t ReactPropTypes.checkPropTypes = emptyFunction;\n\t ReactPropTypes.PropTypes = ReactPropTypes;\n\t\n\t return ReactPropTypes;\n\t};\n\n\n/***/ }),\n/* 14 */\n/***/ (function(module, exports) {\n\n\tmodule.exports = __webpack_require__(/*! react */ \"react\");\n\n/***/ }),\n/* 15 */\n/***/ (function(module, exports) {\n\n\t'use strict';\n\t\n\tvar simpleIsEqual = function simpleIsEqual(a, b) {\n\t return a === b;\n\t};\n\t\n\tfunction index (resultFn) {\n\t var isEqual = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : simpleIsEqual;\n\t\n\t var lastThis = void 0;\n\t var lastArgs = [];\n\t var lastResult = void 0;\n\t var calledOnce = false;\n\t\n\t var isNewArgEqualToLast = function isNewArgEqualToLast(newArg, index) {\n\t return isEqual(newArg, lastArgs[index]);\n\t };\n\t\n\t var result = function result() {\n\t for (var _len = arguments.length, newArgs = Array(_len), _key = 0; _key < _len; _key++) {\n\t newArgs[_key] = arguments[_key];\n\t }\n\t\n\t if (calledOnce && lastThis === this && newArgs.length === lastArgs.length && newArgs.every(isNewArgEqualToLast)) {\n\t return lastResult;\n\t }\n\t\n\t calledOnce = true;\n\t lastThis = this;\n\t lastArgs = newArgs;\n\t lastResult = resultFn.apply(this, newArgs);\n\t return lastResult;\n\t };\n\t\n\t return result;\n\t}\n\t\n\tmodule.exports = index;\n\n\n/***/ })\n/******/ ]);\n//# sourceMappingURL=main.js.map\n\n//# sourceURL=webpack://synchro-helena/./node_modules/react-highlight-words/dist/main.js?");
32220
+ eval("module.exports =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __nested_webpack_require_187__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId])\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\texports: {},\n/******/ \t\t\tid: moduleId,\n/******/ \t\t\tloaded: false\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_187__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.loaded = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__nested_webpack_require_187__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__nested_webpack_require_187__.c = installedModules;\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__nested_webpack_require_187__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __nested_webpack_require_187__(0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, exports, __nested_webpack_require_1468__) {\n\n\tmodule.exports = __nested_webpack_require_1468__(1);\n\n\n/***/ }),\n/* 1 */\n/***/ (function(module, exports, __nested_webpack_require_1587__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, '__esModule', {\n\t value: true\n\t});\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\tvar _Highlighter = __nested_webpack_require_1587__(2);\n\t\n\tvar _Highlighter2 = _interopRequireDefault(_Highlighter);\n\n\texports['default'] = _Highlighter2['default'];\n\tmodule.exports = exports['default'];\n\n/***/ }),\n/* 2 */\n/***/ (function(module, exports, __nested_webpack_require_2043__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, '__esModule', {\n\t value: true\n\t});\n\t\n\tvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\t\n\texports['default'] = Highlighter;\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\tfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\t\n\tvar _highlightWordsCore = __nested_webpack_require_2043__(3);\n\t\n\tvar _propTypes = __nested_webpack_require_2043__(4);\n\t\n\tvar _propTypes2 = _interopRequireDefault(_propTypes);\n\t\n\tvar _react = __nested_webpack_require_2043__(14);\n\t\n\tvar _memoizeOne = __nested_webpack_require_2043__(15);\n\t\n\tvar _memoizeOne2 = _interopRequireDefault(_memoizeOne);\n\t\n\tHighlighter.propTypes = {\n\t activeClassName: _propTypes2['default'].string,\n\t activeIndex: _propTypes2['default'].number,\n\t activeStyle: _propTypes2['default'].object,\n\t autoEscape: _propTypes2['default'].bool,\n\t className: _propTypes2['default'].string,\n\t findChunks: _propTypes2['default'].func,\n\t highlightClassName: _propTypes2['default'].oneOfType([_propTypes2['default'].object, _propTypes2['default'].string]),\n\t highlightStyle: _propTypes2['default'].object,\n\t highlightTag: _propTypes2['default'].oneOfType([_propTypes2['default'].node, _propTypes2['default'].func, _propTypes2['default'].string]),\n\t sanitize: _propTypes2['default'].func,\n\t searchWords: _propTypes2['default'].arrayOf(_propTypes2['default'].oneOfType([_propTypes2['default'].string, _propTypes2['default'].instanceOf(RegExp)])).isRequired,\n\t textToHighlight: _propTypes2['default'].string.isRequired,\n\t unhighlightClassName: _propTypes2['default'].string,\n\t unhighlightStyle: _propTypes2['default'].object\n\t};\n\t\n\t/**\r\n\t * Highlights all occurrences of search terms (searchText) within a string (textToHighlight).\r\n\t * This function returns an array of strings and <span>s (wrapping highlighted words).\r\n\t */\n\t\n\tfunction Highlighter(_ref) {\n\t var _ref$activeClassName = _ref.activeClassName;\n\t var activeClassName = _ref$activeClassName === undefined ? '' : _ref$activeClassName;\n\t var _ref$activeIndex = _ref.activeIndex;\n\t var activeIndex = _ref$activeIndex === undefined ? -1 : _ref$activeIndex;\n\t var activeStyle = _ref.activeStyle;\n\t var autoEscape = _ref.autoEscape;\n\t var _ref$caseSensitive = _ref.caseSensitive;\n\t var caseSensitive = _ref$caseSensitive === undefined ? false : _ref$caseSensitive;\n\t var className = _ref.className;\n\t var findChunks = _ref.findChunks;\n\t var _ref$highlightClassName = _ref.highlightClassName;\n\t var highlightClassName = _ref$highlightClassName === undefined ? '' : _ref$highlightClassName;\n\t var _ref$highlightStyle = _ref.highlightStyle;\n\t var highlightStyle = _ref$highlightStyle === undefined ? {} : _ref$highlightStyle;\n\t var _ref$highlightTag = _ref.highlightTag;\n\t var highlightTag = _ref$highlightTag === undefined ? 'mark' : _ref$highlightTag;\n\t var sanitize = _ref.sanitize;\n\t var searchWords = _ref.searchWords;\n\t var textToHighlight = _ref.textToHighlight;\n\t var _ref$unhighlightClassName = _ref.unhighlightClassName;\n\t var unhighlightClassName = _ref$unhighlightClassName === undefined ? '' : _ref$unhighlightClassName;\n\t var unhighlightStyle = _ref.unhighlightStyle;\n\t\n\t var rest = _objectWithoutProperties(_ref, ['activeClassName', 'activeIndex', 'activeStyle', 'autoEscape', 'caseSensitive', 'className', 'findChunks', 'highlightClassName', 'highlightStyle', 'highlightTag', 'sanitize', 'searchWords', 'textToHighlight', 'unhighlightClassName', 'unhighlightStyle']);\n\t\n\t var chunks = (0, _highlightWordsCore.findAll)({\n\t autoEscape: autoEscape,\n\t caseSensitive: caseSensitive,\n\t findChunks: findChunks,\n\t sanitize: sanitize,\n\t searchWords: searchWords,\n\t textToHighlight: textToHighlight\n\t });\n\t var HighlightTag = highlightTag;\n\t var highlightIndex = -1;\n\t var highlightClassNames = '';\n\t var highlightStyles = undefined;\n\t\n\t var lowercaseProps = function lowercaseProps(object) {\n\t var mapped = {};\n\t for (var key in object) {\n\t mapped[key.toLowerCase()] = object[key];\n\t }\n\t return mapped;\n\t };\n\t var memoizedLowercaseProps = (0, _memoizeOne2['default'])(lowercaseProps);\n\t\n\t return (0, _react.createElement)('span', _extends({\n\t className: className\n\t }, rest, {\n\t children: chunks.map(function (chunk, index) {\n\t var text = textToHighlight.substr(chunk.start, chunk.end - chunk.start);\n\t\n\t if (chunk.highlight) {\n\t highlightIndex++;\n\t\n\t var highlightClass = undefined;\n\t if (typeof highlightClassName === 'object') {\n\t if (!caseSensitive) {\n\t highlightClassName = memoizedLowercaseProps(highlightClassName);\n\t highlightClass = highlightClassName[text.toLowerCase()];\n\t } else {\n\t highlightClass = highlightClassName[text];\n\t }\n\t } else {\n\t highlightClass = highlightClassName;\n\t }\n\t\n\t var isActive = highlightIndex === +activeIndex;\n\t\n\t highlightClassNames = highlightClass + ' ' + (isActive ? activeClassName : '');\n\t highlightStyles = isActive === true && activeStyle != null ? Object.assign({}, highlightStyle, activeStyle) : highlightStyle;\n\t\n\t var props = {\n\t children: text,\n\t className: highlightClassNames,\n\t key: index,\n\t style: highlightStyles\n\t };\n\t\n\t // Don't attach arbitrary props to DOM elements; this triggers React DEV warnings (https://fb.me/react-unknown-prop)\n\t // Only pass through the highlightIndex attribute for custom components.\n\t if (typeof HighlightTag !== 'string') {\n\t props.highlightIndex = highlightIndex;\n\t }\n\t\n\t return (0, _react.createElement)(HighlightTag, props);\n\t } else {\n\t return (0, _react.createElement)('span', {\n\t children: text,\n\t className: unhighlightClassName,\n\t key: index,\n\t style: unhighlightStyle\n\t });\n\t }\n\t })\n\t }));\n\t}\n\t\n\tmodule.exports = exports['default'];\n\n/***/ }),\n/* 3 */\n/***/ (function(module, exports) {\n\n\tmodule.exports =\n\t/******/ (function(modules) { // webpackBootstrap\n\t/******/ \t// The module cache\n\t/******/ \tvar installedModules = {};\n\t/******/\n\t/******/ \t// The require function\n\t/******/ \tfunction __nested_webpack_require_8659__(moduleId) {\n\t/******/\n\t/******/ \t\t// Check if module is in cache\n\t/******/ \t\tif(installedModules[moduleId])\n\t/******/ \t\t\treturn installedModules[moduleId].exports;\n\t/******/\n\t/******/ \t\t// Create a new module (and put it into the cache)\n\t/******/ \t\tvar module = installedModules[moduleId] = {\n\t/******/ \t\t\texports: {},\n\t/******/ \t\t\tid: moduleId,\n\t/******/ \t\t\tloaded: false\n\t/******/ \t\t};\n\t/******/\n\t/******/ \t\t// Execute the module function\n\t/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_8659__);\n\t/******/\n\t/******/ \t\t// Flag the module as loaded\n\t/******/ \t\tmodule.loaded = true;\n\t/******/\n\t/******/ \t\t// Return the exports of the module\n\t/******/ \t\treturn module.exports;\n\t/******/ \t}\n\t/******/\n\t/******/\n\t/******/ \t// expose the modules object (__webpack_modules__)\n\t/******/ \t__nested_webpack_require_8659__.m = modules;\n\t/******/\n\t/******/ \t// expose the module cache\n\t/******/ \t__nested_webpack_require_8659__.c = installedModules;\n\t/******/\n\t/******/ \t// __webpack_public_path__\n\t/******/ \t__nested_webpack_require_8659__.p = \"\";\n\t/******/\n\t/******/ \t// Load entry module and return exports\n\t/******/ \treturn __nested_webpack_require_8659__(0);\n\t/******/ })\n\t/************************************************************************/\n\t/******/ ([\n\t/* 0 */\n\t/***/ (function(module, exports, __nested_webpack_require_9979__) {\n\t\n\t\tmodule.exports = __nested_webpack_require_9979__(1);\n\t\n\t\n\t/***/ }),\n\t/* 1 */\n\t/***/ (function(module, exports, __nested_webpack_require_10105__) {\n\t\n\t\t'use strict';\n\t\t\n\t\tObject.defineProperty(exports, \"__esModule\", {\n\t\t value: true\n\t\t});\n\t\t\n\t\tvar _utils = __nested_webpack_require_10105__(2);\n\t\t\n\t\tObject.defineProperty(exports, 'combineChunks', {\n\t\t enumerable: true,\n\t\t get: function get() {\n\t\t return _utils.combineChunks;\n\t\t }\n\t\t});\n\t\tObject.defineProperty(exports, 'fillInChunks', {\n\t\t enumerable: true,\n\t\t get: function get() {\n\t\t return _utils.fillInChunks;\n\t\t }\n\t\t});\n\t\tObject.defineProperty(exports, 'findAll', {\n\t\t enumerable: true,\n\t\t get: function get() {\n\t\t return _utils.findAll;\n\t\t }\n\t\t});\n\t\tObject.defineProperty(exports, 'findChunks', {\n\t\t enumerable: true,\n\t\t get: function get() {\n\t\t return _utils.findChunks;\n\t\t }\n\t\t});\n\t\n\t/***/ }),\n\t/* 2 */\n\t/***/ (function(module, exports) {\n\t\n\t\t'use strict';\n\t\t\n\t\tObject.defineProperty(exports, \"__esModule\", {\n\t\t value: true\n\t\t});\n\t\t/**\n\t\t * Creates an array of chunk objects representing both higlightable and non highlightable pieces of text that match each search word.\n\t\t * @return Array of \"chunks\" (where a Chunk is { start:number, end:number, highlight:boolean })\n\t\t */\n\t\tvar findAll = exports.findAll = function findAll(_ref) {\n\t\t var autoEscape = _ref.autoEscape,\n\t\t _ref$caseSensitive = _ref.caseSensitive,\n\t\t caseSensitive = _ref$caseSensitive === undefined ? false : _ref$caseSensitive,\n\t\t _ref$findChunks = _ref.findChunks,\n\t\t findChunks = _ref$findChunks === undefined ? defaultFindChunks : _ref$findChunks,\n\t\t sanitize = _ref.sanitize,\n\t\t searchWords = _ref.searchWords,\n\t\t textToHighlight = _ref.textToHighlight;\n\t\t return fillInChunks({\n\t\t chunksToHighlight: combineChunks({\n\t\t chunks: findChunks({\n\t\t autoEscape: autoEscape,\n\t\t caseSensitive: caseSensitive,\n\t\t sanitize: sanitize,\n\t\t searchWords: searchWords,\n\t\t textToHighlight: textToHighlight\n\t\t })\n\t\t }),\n\t\t totalLength: textToHighlight ? textToHighlight.length : 0\n\t\t });\n\t\t};\n\t\t\n\t\t/**\n\t\t * Takes an array of {start:number, end:number} objects and combines chunks that overlap into single chunks.\n\t\t * @return {start:number, end:number}[]\n\t\t */\n\t\tvar combineChunks = exports.combineChunks = function combineChunks(_ref2) {\n\t\t var chunks = _ref2.chunks;\n\t\t\n\t\t chunks = chunks.sort(function (first, second) {\n\t\t return first.start - second.start;\n\t\t }).reduce(function (processedChunks, nextChunk) {\n\t\t // First chunk just goes straight in the array...\n\t\t if (processedChunks.length === 0) {\n\t\t return [nextChunk];\n\t\t } else {\n\t\t // ... subsequent chunks get checked to see if they overlap...\n\t\t var prevChunk = processedChunks.pop();\n\t\t if (nextChunk.start <= prevChunk.end) {\n\t\t // It may be the case that prevChunk completely surrounds nextChunk, so take the\n\t\t // largest of the end indeces.\n\t\t var endIndex = Math.max(prevChunk.end, nextChunk.end);\n\t\t processedChunks.push({ start: prevChunk.start, end: endIndex });\n\t\t } else {\n\t\t processedChunks.push(prevChunk, nextChunk);\n\t\t }\n\t\t return processedChunks;\n\t\t }\n\t\t }, []);\n\t\t\n\t\t return chunks;\n\t\t};\n\t\t\n\t\t/**\n\t\t * Examine text for any matches.\n\t\t * If we find matches, add them to the returned array as a \"chunk\" object ({start:number, end:number}).\n\t\t * @return {start:number, end:number}[]\n\t\t */\n\t\tvar defaultFindChunks = function defaultFindChunks(_ref3) {\n\t\t var autoEscape = _ref3.autoEscape,\n\t\t caseSensitive = _ref3.caseSensitive,\n\t\t _ref3$sanitize = _ref3.sanitize,\n\t\t sanitize = _ref3$sanitize === undefined ? identity : _ref3$sanitize,\n\t\t searchWords = _ref3.searchWords,\n\t\t textToHighlight = _ref3.textToHighlight;\n\t\t\n\t\t textToHighlight = sanitize(textToHighlight);\n\t\t\n\t\t return searchWords.filter(function (searchWord) {\n\t\t return searchWord;\n\t\t }) // Remove empty words\n\t\t .reduce(function (chunks, searchWord) {\n\t\t searchWord = sanitize(searchWord);\n\t\t\n\t\t if (autoEscape) {\n\t\t searchWord = escapeRegExpFn(searchWord);\n\t\t }\n\t\t\n\t\t var regex = new RegExp(searchWord, caseSensitive ? 'g' : 'gi');\n\t\t\n\t\t var match = void 0;\n\t\t while (match = regex.exec(textToHighlight)) {\n\t\t var start = match.index;\n\t\t var end = regex.lastIndex;\n\t\t // We do not return zero-length matches\n\t\t if (end > start) {\n\t\t chunks.push({ start: start, end: end });\n\t\t }\n\t\t\n\t\t // Prevent browsers like Firefox from getting stuck in an infinite loop\n\t\t // See http://www.regexguru.com/2008/04/watch-out-for-zero-length-matches/\n\t\t if (match.index == regex.lastIndex) {\n\t\t regex.lastIndex++;\n\t\t }\n\t\t }\n\t\t\n\t\t return chunks;\n\t\t }, []);\n\t\t};\n\t\t// Allow the findChunks to be overridden in findAll,\n\t\t// but for backwards compatibility we export as the old name\n\t\texports.findChunks = defaultFindChunks;\n\t\t\n\t\t/**\n\t\t * Given a set of chunks to highlight, create an additional set of chunks\n\t\t * to represent the bits of text between the highlighted text.\n\t\t * @param chunksToHighlight {start:number, end:number}[]\n\t\t * @param totalLength number\n\t\t * @return {start:number, end:number, highlight:boolean}[]\n\t\t */\n\t\t\n\t\tvar fillInChunks = exports.fillInChunks = function fillInChunks(_ref4) {\n\t\t var chunksToHighlight = _ref4.chunksToHighlight,\n\t\t totalLength = _ref4.totalLength;\n\t\t\n\t\t var allChunks = [];\n\t\t var append = function append(start, end, highlight) {\n\t\t if (end - start > 0) {\n\t\t allChunks.push({\n\t\t start: start,\n\t\t end: end,\n\t\t highlight: highlight\n\t\t });\n\t\t }\n\t\t };\n\t\t\n\t\t if (chunksToHighlight.length === 0) {\n\t\t append(0, totalLength, false);\n\t\t } else {\n\t\t var lastIndex = 0;\n\t\t chunksToHighlight.forEach(function (chunk) {\n\t\t append(lastIndex, chunk.start, false);\n\t\t append(chunk.start, chunk.end, true);\n\t\t lastIndex = chunk.end;\n\t\t });\n\t\t append(lastIndex, totalLength, false);\n\t\t }\n\t\t return allChunks;\n\t\t};\n\t\t\n\t\tfunction identity(value) {\n\t\t return value;\n\t\t}\n\t\t\n\t\tfunction escapeRegExpFn(str) {\n\t\t return str.replace(/[\\-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]/g, '\\\\$&');\n\t\t}\n\t\n\t/***/ })\n\t/******/ ]);\n\t//# sourceMappingURL=index.js.map\n\n/***/ }),\n/* 4 */\n/***/ (function(module, exports, __nested_webpack_require_16343__) {\n\n\t/* WEBPACK VAR INJECTION */(function(process) {/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t *\n\t * This source code is licensed under the MIT license found in the\n\t * LICENSE file in the root directory of this source tree.\n\t */\n\t\n\tif (process.env.NODE_ENV !== 'production') {\n\t var REACT_ELEMENT_TYPE = (typeof Symbol === 'function' &&\n\t Symbol.for &&\n\t Symbol.for('react.element')) ||\n\t 0xeac7;\n\t\n\t var isValidElement = function(object) {\n\t return typeof object === 'object' &&\n\t object !== null &&\n\t object.$$typeof === REACT_ELEMENT_TYPE;\n\t };\n\t\n\t // By explicitly using `prop-types` you are opting into new development behavior.\n\t // http://fb.me/prop-types-in-prod\n\t var throwOnDirectAccess = true;\n\t module.exports = __nested_webpack_require_16343__(6)(isValidElement, throwOnDirectAccess);\n\t} else {\n\t // By explicitly using `prop-types` you are opting into new production behavior.\n\t // http://fb.me/prop-types-in-prod\n\t module.exports = __nested_webpack_require_16343__(13)();\n\t}\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, __nested_webpack_require_16343__(5)))\n\n/***/ }),\n/* 5 */\n/***/ (function(module, exports) {\n\n\t// shim for using process in browser\n\tvar process = module.exports = {};\n\t\n\t// cached from whatever global is present so that test runners that stub it\n\t// don't break things. But we need to wrap it in a try catch in case it is\n\t// wrapped in strict mode code which doesn't define any globals. It's inside a\n\t// function because try/catches deoptimize in certain engines.\n\t\n\tvar cachedSetTimeout;\n\tvar cachedClearTimeout;\n\t\n\tfunction defaultSetTimout() {\n\t throw new Error('setTimeout has not been defined');\n\t}\n\tfunction defaultClearTimeout () {\n\t throw new Error('clearTimeout has not been defined');\n\t}\n\t(function () {\n\t try {\n\t if (typeof setTimeout === 'function') {\n\t cachedSetTimeout = setTimeout;\n\t } else {\n\t cachedSetTimeout = defaultSetTimout;\n\t }\n\t } catch (e) {\n\t cachedSetTimeout = defaultSetTimout;\n\t }\n\t try {\n\t if (typeof clearTimeout === 'function') {\n\t cachedClearTimeout = clearTimeout;\n\t } else {\n\t cachedClearTimeout = defaultClearTimeout;\n\t }\n\t } catch (e) {\n\t cachedClearTimeout = defaultClearTimeout;\n\t }\n\t} ())\n\tfunction runTimeout(fun) {\n\t if (cachedSetTimeout === setTimeout) {\n\t //normal enviroments in sane situations\n\t return setTimeout(fun, 0);\n\t }\n\t // if setTimeout wasn't available but was latter defined\n\t if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n\t cachedSetTimeout = setTimeout;\n\t return setTimeout(fun, 0);\n\t }\n\t try {\n\t // when when somebody has screwed with setTimeout but no I.E. maddness\n\t return cachedSetTimeout(fun, 0);\n\t } catch(e){\n\t try {\n\t // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n\t return cachedSetTimeout.call(null, fun, 0);\n\t } catch(e){\n\t // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n\t return cachedSetTimeout.call(this, fun, 0);\n\t }\n\t }\n\t\n\t\n\t}\n\tfunction runClearTimeout(marker) {\n\t if (cachedClearTimeout === clearTimeout) {\n\t //normal enviroments in sane situations\n\t return clearTimeout(marker);\n\t }\n\t // if clearTimeout wasn't available but was latter defined\n\t if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n\t cachedClearTimeout = clearTimeout;\n\t return clearTimeout(marker);\n\t }\n\t try {\n\t // when when somebody has screwed with setTimeout but no I.E. maddness\n\t return cachedClearTimeout(marker);\n\t } catch (e){\n\t try {\n\t // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n\t return cachedClearTimeout.call(null, marker);\n\t } catch (e){\n\t // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n\t // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n\t return cachedClearTimeout.call(this, marker);\n\t }\n\t }\n\t\n\t\n\t\n\t}\n\tvar queue = [];\n\tvar draining = false;\n\tvar currentQueue;\n\tvar queueIndex = -1;\n\t\n\tfunction cleanUpNextTick() {\n\t if (!draining || !currentQueue) {\n\t return;\n\t }\n\t draining = false;\n\t if (currentQueue.length) {\n\t queue = currentQueue.concat(queue);\n\t } else {\n\t queueIndex = -1;\n\t }\n\t if (queue.length) {\n\t drainQueue();\n\t }\n\t}\n\t\n\tfunction drainQueue() {\n\t if (draining) {\n\t return;\n\t }\n\t var timeout = runTimeout(cleanUpNextTick);\n\t draining = true;\n\t\n\t var len = queue.length;\n\t while(len) {\n\t currentQueue = queue;\n\t queue = [];\n\t while (++queueIndex < len) {\n\t if (currentQueue) {\n\t currentQueue[queueIndex].run();\n\t }\n\t }\n\t queueIndex = -1;\n\t len = queue.length;\n\t }\n\t currentQueue = null;\n\t draining = false;\n\t runClearTimeout(timeout);\n\t}\n\t\n\tprocess.nextTick = function (fun) {\n\t var args = new Array(arguments.length - 1);\n\t if (arguments.length > 1) {\n\t for (var i = 1; i < arguments.length; i++) {\n\t args[i - 1] = arguments[i];\n\t }\n\t }\n\t queue.push(new Item(fun, args));\n\t if (queue.length === 1 && !draining) {\n\t runTimeout(drainQueue);\n\t }\n\t};\n\t\n\t// v8 likes predictible objects\n\tfunction Item(fun, array) {\n\t this.fun = fun;\n\t this.array = array;\n\t}\n\tItem.prototype.run = function () {\n\t this.fun.apply(null, this.array);\n\t};\n\tprocess.title = 'browser';\n\tprocess.browser = true;\n\tprocess.env = {};\n\tprocess.argv = [];\n\tprocess.version = ''; // empty string to avoid regexp issues\n\tprocess.versions = {};\n\t\n\tfunction noop() {}\n\t\n\tprocess.on = noop;\n\tprocess.addListener = noop;\n\tprocess.once = noop;\n\tprocess.off = noop;\n\tprocess.removeListener = noop;\n\tprocess.removeAllListeners = noop;\n\tprocess.emit = noop;\n\tprocess.prependListener = noop;\n\tprocess.prependOnceListener = noop;\n\t\n\tprocess.listeners = function (name) { return [] }\n\t\n\tprocess.binding = function (name) {\n\t throw new Error('process.binding is not supported');\n\t};\n\t\n\tprocess.cwd = function () { return '/' };\n\tprocess.chdir = function (dir) {\n\t throw new Error('process.chdir is not supported');\n\t};\n\tprocess.umask = function() { return 0; };\n\n\n/***/ }),\n/* 6 */\n/***/ (function(module, exports, __nested_webpack_require_23151__) {\n\n\t/* WEBPACK VAR INJECTION */(function(process) {/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t *\n\t * This source code is licensed under the MIT license found in the\n\t * LICENSE file in the root directory of this source tree.\n\t */\n\t\n\t'use strict';\n\t\n\tvar emptyFunction = __nested_webpack_require_23151__(7);\n\tvar invariant = __nested_webpack_require_23151__(8);\n\tvar warning = __nested_webpack_require_23151__(9);\n\tvar assign = __nested_webpack_require_23151__(10);\n\t\n\tvar ReactPropTypesSecret = __nested_webpack_require_23151__(11);\n\tvar checkPropTypes = __nested_webpack_require_23151__(12);\n\t\n\tmodule.exports = function(isValidElement, throwOnDirectAccess) {\n\t /* global Symbol */\n\t var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;\n\t var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.\n\t\n\t /**\n\t * Returns the iterator method function contained on the iterable object.\n\t *\n\t * Be sure to invoke the function with the iterable as context:\n\t *\n\t * var iteratorFn = getIteratorFn(myIterable);\n\t * if (iteratorFn) {\n\t * var iterator = iteratorFn.call(myIterable);\n\t * ...\n\t * }\n\t *\n\t * @param {?object} maybeIterable\n\t * @return {?function}\n\t */\n\t function getIteratorFn(maybeIterable) {\n\t var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);\n\t if (typeof iteratorFn === 'function') {\n\t return iteratorFn;\n\t }\n\t }\n\t\n\t /**\n\t * Collection of methods that allow declaration and validation of props that are\n\t * supplied to React components. Example usage:\n\t *\n\t * var Props = require('ReactPropTypes');\n\t * var MyArticle = React.createClass({\n\t * propTypes: {\n\t * // An optional string prop named \"description\".\n\t * description: Props.string,\n\t *\n\t * // A required enum prop named \"category\".\n\t * category: Props.oneOf(['News','Photos']).isRequired,\n\t *\n\t * // A prop named \"dialog\" that requires an instance of Dialog.\n\t * dialog: Props.instanceOf(Dialog).isRequired\n\t * },\n\t * render: function() { ... }\n\t * });\n\t *\n\t * A more formal specification of how these methods are used:\n\t *\n\t * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)\n\t * decl := ReactPropTypes.{type}(.isRequired)?\n\t *\n\t * Each and every declaration produces a function with the same signature. This\n\t * allows the creation of custom validation functions. For example:\n\t *\n\t * var MyLink = React.createClass({\n\t * propTypes: {\n\t * // An optional string or URI prop named \"href\".\n\t * href: function(props, propName, componentName) {\n\t * var propValue = props[propName];\n\t * if (propValue != null && typeof propValue !== 'string' &&\n\t * !(propValue instanceof URI)) {\n\t * return new Error(\n\t * 'Expected a string or an URI for ' + propName + ' in ' +\n\t * componentName\n\t * );\n\t * }\n\t * }\n\t * },\n\t * render: function() {...}\n\t * });\n\t *\n\t * @internal\n\t */\n\t\n\t var ANONYMOUS = '<<anonymous>>';\n\t\n\t // Important!\n\t // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.\n\t var ReactPropTypes = {\n\t array: createPrimitiveTypeChecker('array'),\n\t bool: createPrimitiveTypeChecker('boolean'),\n\t func: createPrimitiveTypeChecker('function'),\n\t number: createPrimitiveTypeChecker('number'),\n\t object: createPrimitiveTypeChecker('object'),\n\t string: createPrimitiveTypeChecker('string'),\n\t symbol: createPrimitiveTypeChecker('symbol'),\n\t\n\t any: createAnyTypeChecker(),\n\t arrayOf: createArrayOfTypeChecker,\n\t element: createElementTypeChecker(),\n\t instanceOf: createInstanceTypeChecker,\n\t node: createNodeChecker(),\n\t objectOf: createObjectOfTypeChecker,\n\t oneOf: createEnumTypeChecker,\n\t oneOfType: createUnionTypeChecker,\n\t shape: createShapeTypeChecker,\n\t exact: createStrictShapeTypeChecker,\n\t };\n\t\n\t /**\n\t * inlined Object.is polyfill to avoid requiring consumers ship their own\n\t * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n\t */\n\t /*eslint-disable no-self-compare*/\n\t function is(x, y) {\n\t // SameValue algorithm\n\t if (x === y) {\n\t // Steps 1-5, 7-10\n\t // Steps 6.b-6.e: +0 != -0\n\t return x !== 0 || 1 / x === 1 / y;\n\t } else {\n\t // Step 6.a: NaN == NaN\n\t return x !== x && y !== y;\n\t }\n\t }\n\t /*eslint-enable no-self-compare*/\n\t\n\t /**\n\t * We use an Error-like object for backward compatibility as people may call\n\t * PropTypes directly and inspect their output. However, we don't use real\n\t * Errors anymore. We don't inspect their stack anyway, and creating them\n\t * is prohibitively expensive if they are created too often, such as what\n\t * happens in oneOfType() for any type before the one that matched.\n\t */\n\t function PropTypeError(message) {\n\t this.message = message;\n\t this.stack = '';\n\t }\n\t // Make `instanceof Error` still work for returned errors.\n\t PropTypeError.prototype = Error.prototype;\n\t\n\t function createChainableTypeChecker(validate) {\n\t if (process.env.NODE_ENV !== 'production') {\n\t var manualPropTypeCallCache = {};\n\t var manualPropTypeWarningCount = 0;\n\t }\n\t function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {\n\t componentName = componentName || ANONYMOUS;\n\t propFullName = propFullName || propName;\n\t\n\t if (secret !== ReactPropTypesSecret) {\n\t if (throwOnDirectAccess) {\n\t // New behavior only for users of `prop-types` package\n\t invariant(\n\t false,\n\t 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n\t 'Use `PropTypes.checkPropTypes()` to call them. ' +\n\t 'Read more at http://fb.me/use-check-prop-types'\n\t );\n\t } else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {\n\t // Old behavior for people using React.PropTypes\n\t var cacheKey = componentName + ':' + propName;\n\t if (\n\t !manualPropTypeCallCache[cacheKey] &&\n\t // Avoid spamming the console because they are often not actionable except for lib authors\n\t manualPropTypeWarningCount < 3\n\t ) {\n\t warning(\n\t false,\n\t 'You are manually calling a React.PropTypes validation ' +\n\t 'function for the `%s` prop on `%s`. This is deprecated ' +\n\t 'and will throw in the standalone `prop-types` package. ' +\n\t 'You may be seeing this warning due to a third-party PropTypes ' +\n\t 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.',\n\t propFullName,\n\t componentName\n\t );\n\t manualPropTypeCallCache[cacheKey] = true;\n\t manualPropTypeWarningCount++;\n\t }\n\t }\n\t }\n\t if (props[propName] == null) {\n\t if (isRequired) {\n\t if (props[propName] === null) {\n\t return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));\n\t }\n\t return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));\n\t }\n\t return null;\n\t } else {\n\t return validate(props, propName, componentName, location, propFullName);\n\t }\n\t }\n\t\n\t var chainedCheckType = checkType.bind(null, false);\n\t chainedCheckType.isRequired = checkType.bind(null, true);\n\t\n\t return chainedCheckType;\n\t }\n\t\n\t function createPrimitiveTypeChecker(expectedType) {\n\t function validate(props, propName, componentName, location, propFullName, secret) {\n\t var propValue = props[propName];\n\t var propType = getPropType(propValue);\n\t if (propType !== expectedType) {\n\t // `propValue` being instance of, say, date/regexp, pass the 'object'\n\t // check, but we can offer a more precise error message here rather than\n\t // 'of type `object`'.\n\t var preciseType = getPreciseType(propValue);\n\t\n\t return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'));\n\t }\n\t return null;\n\t }\n\t return createChainableTypeChecker(validate);\n\t }\n\t\n\t function createAnyTypeChecker() {\n\t return createChainableTypeChecker(emptyFunction.thatReturnsNull);\n\t }\n\t\n\t function createArrayOfTypeChecker(typeChecker) {\n\t function validate(props, propName, componentName, location, propFullName) {\n\t if (typeof typeChecker !== 'function') {\n\t return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');\n\t }\n\t var propValue = props[propName];\n\t if (!Array.isArray(propValue)) {\n\t var propType = getPropType(propValue);\n\t return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));\n\t }\n\t for (var i = 0; i < propValue.length; i++) {\n\t var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);\n\t if (error instanceof Error) {\n\t return error;\n\t }\n\t }\n\t return null;\n\t }\n\t return createChainableTypeChecker(validate);\n\t }\n\t\n\t function createElementTypeChecker() {\n\t function validate(props, propName, componentName, location, propFullName) {\n\t var propValue = props[propName];\n\t if (!isValidElement(propValue)) {\n\t var propType = getPropType(propValue);\n\t return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));\n\t }\n\t return null;\n\t }\n\t return createChainableTypeChecker(validate);\n\t }\n\t\n\t function createInstanceTypeChecker(expectedClass) {\n\t function validate(props, propName, componentName, location, propFullName) {\n\t if (!(props[propName] instanceof expectedClass)) {\n\t var expectedClassName = expectedClass.name || ANONYMOUS;\n\t var actualClassName = getClassName(props[propName]);\n\t return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));\n\t }\n\t return null;\n\t }\n\t return createChainableTypeChecker(validate);\n\t }\n\t\n\t function createEnumTypeChecker(expectedValues) {\n\t if (!Array.isArray(expectedValues)) {\n\t process.env.NODE_ENV !== 'production' ? warning(false, 'Invalid argument supplied to oneOf, expected an instance of array.') : void 0;\n\t return emptyFunction.thatReturnsNull;\n\t }\n\t\n\t function validate(props, propName, componentName, location, propFullName) {\n\t var propValue = props[propName];\n\t for (var i = 0; i < expectedValues.length; i++) {\n\t if (is(propValue, expectedValues[i])) {\n\t return null;\n\t }\n\t }\n\t\n\t var valuesString = JSON.stringify(expectedValues);\n\t return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + propValue + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));\n\t }\n\t return createChainableTypeChecker(validate);\n\t }\n\t\n\t function createObjectOfTypeChecker(typeChecker) {\n\t function validate(props, propName, componentName, location, propFullName) {\n\t if (typeof typeChecker !== 'function') {\n\t return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');\n\t }\n\t var propValue = props[propName];\n\t var propType = getPropType(propValue);\n\t if (propType !== 'object') {\n\t return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));\n\t }\n\t for (var key in propValue) {\n\t if (propValue.hasOwnProperty(key)) {\n\t var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n\t if (error instanceof Error) {\n\t return error;\n\t }\n\t }\n\t }\n\t return null;\n\t }\n\t return createChainableTypeChecker(validate);\n\t }\n\t\n\t function createUnionTypeChecker(arrayOfTypeCheckers) {\n\t if (!Array.isArray(arrayOfTypeCheckers)) {\n\t process.env.NODE_ENV !== 'production' ? warning(false, 'Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;\n\t return emptyFunction.thatReturnsNull;\n\t }\n\t\n\t for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n\t var checker = arrayOfTypeCheckers[i];\n\t if (typeof checker !== 'function') {\n\t warning(\n\t false,\n\t 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +\n\t 'received %s at index %s.',\n\t getPostfixForTypeWarning(checker),\n\t i\n\t );\n\t return emptyFunction.thatReturnsNull;\n\t }\n\t }\n\t\n\t function validate(props, propName, componentName, location, propFullName) {\n\t for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n\t var checker = arrayOfTypeCheckers[i];\n\t if (checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret) == null) {\n\t return null;\n\t }\n\t }\n\t\n\t return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.'));\n\t }\n\t return createChainableTypeChecker(validate);\n\t }\n\t\n\t function createNodeChecker() {\n\t function validate(props, propName, componentName, location, propFullName) {\n\t if (!isNode(props[propName])) {\n\t return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));\n\t }\n\t return null;\n\t }\n\t return createChainableTypeChecker(validate);\n\t }\n\t\n\t function createShapeTypeChecker(shapeTypes) {\n\t function validate(props, propName, componentName, location, propFullName) {\n\t var propValue = props[propName];\n\t var propType = getPropType(propValue);\n\t if (propType !== 'object') {\n\t return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n\t }\n\t for (var key in shapeTypes) {\n\t var checker = shapeTypes[key];\n\t if (!checker) {\n\t continue;\n\t }\n\t var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n\t if (error) {\n\t return error;\n\t }\n\t }\n\t return null;\n\t }\n\t return createChainableTypeChecker(validate);\n\t }\n\t\n\t function createStrictShapeTypeChecker(shapeTypes) {\n\t function validate(props, propName, componentName, location, propFullName) {\n\t var propValue = props[propName];\n\t var propType = getPropType(propValue);\n\t if (propType !== 'object') {\n\t return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n\t }\n\t // We need to check all keys in case some are required but missing from\n\t // props.\n\t var allKeys = assign({}, props[propName], shapeTypes);\n\t for (var key in allKeys) {\n\t var checker = shapeTypes[key];\n\t if (!checker) {\n\t return new PropTypeError(\n\t 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +\n\t '\\nBad object: ' + JSON.stringify(props[propName], null, ' ') +\n\t '\\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')\n\t );\n\t }\n\t var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n\t if (error) {\n\t return error;\n\t }\n\t }\n\t return null;\n\t }\n\t\n\t return createChainableTypeChecker(validate);\n\t }\n\t\n\t function isNode(propValue) {\n\t switch (typeof propValue) {\n\t case 'number':\n\t case 'string':\n\t case 'undefined':\n\t return true;\n\t case 'boolean':\n\t return !propValue;\n\t case 'object':\n\t if (Array.isArray(propValue)) {\n\t return propValue.every(isNode);\n\t }\n\t if (propValue === null || isValidElement(propValue)) {\n\t return true;\n\t }\n\t\n\t var iteratorFn = getIteratorFn(propValue);\n\t if (iteratorFn) {\n\t var iterator = iteratorFn.call(propValue);\n\t var step;\n\t if (iteratorFn !== propValue.entries) {\n\t while (!(step = iterator.next()).done) {\n\t if (!isNode(step.value)) {\n\t return false;\n\t }\n\t }\n\t } else {\n\t // Iterator will provide entry [k,v] tuples rather than values.\n\t while (!(step = iterator.next()).done) {\n\t var entry = step.value;\n\t if (entry) {\n\t if (!isNode(entry[1])) {\n\t return false;\n\t }\n\t }\n\t }\n\t }\n\t } else {\n\t return false;\n\t }\n\t\n\t return true;\n\t default:\n\t return false;\n\t }\n\t }\n\t\n\t function isSymbol(propType, propValue) {\n\t // Native Symbol.\n\t if (propType === 'symbol') {\n\t return true;\n\t }\n\t\n\t // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'\n\t if (propValue['@@toStringTag'] === 'Symbol') {\n\t return true;\n\t }\n\t\n\t // Fallback for non-spec compliant Symbols which are polyfilled.\n\t if (typeof Symbol === 'function' && propValue instanceof Symbol) {\n\t return true;\n\t }\n\t\n\t return false;\n\t }\n\t\n\t // Equivalent of `typeof` but with special handling for array and regexp.\n\t function getPropType(propValue) {\n\t var propType = typeof propValue;\n\t if (Array.isArray(propValue)) {\n\t return 'array';\n\t }\n\t if (propValue instanceof RegExp) {\n\t // Old webkits (at least until Android 4.0) return 'function' rather than\n\t // 'object' for typeof a RegExp. We'll normalize this here so that /bla/\n\t // passes PropTypes.object.\n\t return 'object';\n\t }\n\t if (isSymbol(propType, propValue)) {\n\t return 'symbol';\n\t }\n\t return propType;\n\t }\n\t\n\t // This handles more types than `getPropType`. Only used for error messages.\n\t // See `createPrimitiveTypeChecker`.\n\t function getPreciseType(propValue) {\n\t if (typeof propValue === 'undefined' || propValue === null) {\n\t return '' + propValue;\n\t }\n\t var propType = getPropType(propValue);\n\t if (propType === 'object') {\n\t if (propValue instanceof Date) {\n\t return 'date';\n\t } else if (propValue instanceof RegExp) {\n\t return 'regexp';\n\t }\n\t }\n\t return propType;\n\t }\n\t\n\t // Returns a string that is postfixed to a warning about an invalid type.\n\t // For example, \"undefined\" or \"of type array\"\n\t function getPostfixForTypeWarning(value) {\n\t var type = getPreciseType(value);\n\t switch (type) {\n\t case 'array':\n\t case 'object':\n\t return 'an ' + type;\n\t case 'boolean':\n\t case 'date':\n\t case 'regexp':\n\t return 'a ' + type;\n\t default:\n\t return type;\n\t }\n\t }\n\t\n\t // Returns class name of the object, if any.\n\t function getClassName(propValue) {\n\t if (!propValue.constructor || !propValue.constructor.name) {\n\t return ANONYMOUS;\n\t }\n\t return propValue.constructor.name;\n\t }\n\t\n\t ReactPropTypes.checkPropTypes = checkPropTypes;\n\t ReactPropTypes.PropTypes = ReactPropTypes;\n\t\n\t return ReactPropTypes;\n\t};\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, __nested_webpack_require_23151__(5)))\n\n/***/ }),\n/* 7 */\n/***/ (function(module, exports) {\n\n\t\"use strict\";\n\t\n\t/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t *\n\t * This source code is licensed under the MIT license found in the\n\t * LICENSE file in the root directory of this source tree.\n\t *\n\t * \n\t */\n\t\n\tfunction makeEmptyFunction(arg) {\n\t return function () {\n\t return arg;\n\t };\n\t}\n\t\n\t/**\n\t * This function accepts and discards inputs; it has no side effects. This is\n\t * primarily useful idiomatically for overridable function endpoints which\n\t * always need to be callable, since JS lacks a null-call idiom ala Cocoa.\n\t */\n\tvar emptyFunction = function emptyFunction() {};\n\t\n\temptyFunction.thatReturns = makeEmptyFunction;\n\temptyFunction.thatReturnsFalse = makeEmptyFunction(false);\n\temptyFunction.thatReturnsTrue = makeEmptyFunction(true);\n\temptyFunction.thatReturnsNull = makeEmptyFunction(null);\n\temptyFunction.thatReturnsThis = function () {\n\t return this;\n\t};\n\temptyFunction.thatReturnsArgument = function (arg) {\n\t return arg;\n\t};\n\t\n\tmodule.exports = emptyFunction;\n\n/***/ }),\n/* 8 */\n/***/ (function(module, exports, __nested_webpack_require_44743__) {\n\n\t/* WEBPACK VAR INJECTION */(function(process) {/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t *\n\t * This source code is licensed under the MIT license found in the\n\t * LICENSE file in the root directory of this source tree.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\t/**\n\t * Use invariant() to assert state which your program assumes to be true.\n\t *\n\t * Provide sprintf-style format (only %s is supported) and arguments\n\t * to provide information about what broke and what you were\n\t * expecting.\n\t *\n\t * The invariant message will be stripped in production, but the invariant\n\t * will remain to ensure logic does not differ in production.\n\t */\n\t\n\tvar validateFormat = function validateFormat(format) {};\n\t\n\tif (process.env.NODE_ENV !== 'production') {\n\t validateFormat = function validateFormat(format) {\n\t if (format === undefined) {\n\t throw new Error('invariant requires an error message argument');\n\t }\n\t };\n\t}\n\t\n\tfunction invariant(condition, format, a, b, c, d, e, f) {\n\t validateFormat(format);\n\t\n\t if (!condition) {\n\t var error;\n\t if (format === undefined) {\n\t error = new Error('Minified exception occurred; use the non-minified dev environment ' + 'for the full error message and additional helpful warnings.');\n\t } else {\n\t var args = [a, b, c, d, e, f];\n\t var argIndex = 0;\n\t error = new Error(format.replace(/%s/g, function () {\n\t return args[argIndex++];\n\t }));\n\t error.name = 'Invariant Violation';\n\t }\n\t\n\t error.framesToPop = 1; // we don't care about invariant's own frame\n\t throw error;\n\t }\n\t}\n\t\n\tmodule.exports = invariant;\n\t/* WEBPACK VAR INJECTION */}.call(exports, __nested_webpack_require_44743__(5)))\n\n/***/ }),\n/* 9 */\n/***/ (function(module, exports, __nested_webpack_require_46495__) {\n\n\t/* WEBPACK VAR INJECTION */(function(process) {/**\n\t * Copyright (c) 2014-present, Facebook, Inc.\n\t *\n\t * This source code is licensed under the MIT license found in the\n\t * LICENSE file in the root directory of this source tree.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar emptyFunction = __nested_webpack_require_46495__(7);\n\t\n\t/**\n\t * Similar to invariant but only logs a warning if the condition is not met.\n\t * This can be used to log issues in development environments in critical\n\t * paths. Removing the logging code for production environments will keep the\n\t * same logic and follow the same code paths.\n\t */\n\t\n\tvar warning = emptyFunction;\n\t\n\tif (process.env.NODE_ENV !== 'production') {\n\t var printWarning = function printWarning(format) {\n\t for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n\t args[_key - 1] = arguments[_key];\n\t }\n\t\n\t var argIndex = 0;\n\t var message = 'Warning: ' + format.replace(/%s/g, function () {\n\t return args[argIndex++];\n\t });\n\t if (typeof console !== 'undefined') {\n\t console.error(message);\n\t }\n\t try {\n\t // --- Welcome to debugging React ---\n\t // This error was thrown as a convenience so that you can use this stack\n\t // to find the callsite that caused this warning to fire.\n\t throw new Error(message);\n\t } catch (x) {}\n\t };\n\t\n\t warning = function warning(condition, format) {\n\t if (format === undefined) {\n\t throw new Error('`warning(condition, format, ...args)` requires a warning ' + 'message argument');\n\t }\n\t\n\t if (format.indexOf('Failed Composite propType: ') === 0) {\n\t return; // Ignore CompositeComponent proptype check.\n\t }\n\t\n\t if (!condition) {\n\t for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {\n\t args[_key2 - 2] = arguments[_key2];\n\t }\n\t\n\t printWarning.apply(undefined, [format].concat(args));\n\t }\n\t };\n\t}\n\t\n\tmodule.exports = warning;\n\t/* WEBPACK VAR INJECTION */}.call(exports, __nested_webpack_require_46495__(5)))\n\n/***/ }),\n/* 10 */\n/***/ (function(module, exports) {\n\n\t/*\n\tobject-assign\n\t(c) Sindre Sorhus\n\t@license MIT\n\t*/\n\t\n\t'use strict';\n\t/* eslint-disable no-unused-vars */\n\tvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\n\tvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\tvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\t\n\tfunction toObject(val) {\n\t\tif (val === null || val === undefined) {\n\t\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t\t}\n\t\n\t\treturn Object(val);\n\t}\n\t\n\tfunction shouldUseNative() {\n\t\ttry {\n\t\t\tif (!Object.assign) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\n\t\t\t// Detect buggy property enumeration order in older V8 versions.\n\t\n\t\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\t\ttest1[5] = 'de';\n\t\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\t\treturn false;\n\t\t\t}\n\t\n\t\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\t\tvar test2 = {};\n\t\t\tfor (var i = 0; i < 10; i++) {\n\t\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t\t}\n\t\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\t\treturn test2[n];\n\t\t\t});\n\t\t\tif (order2.join('') !== '0123456789') {\n\t\t\t\treturn false;\n\t\t\t}\n\t\n\t\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\t\tvar test3 = {};\n\t\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\t\ttest3[letter] = letter;\n\t\t\t});\n\t\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\t\treturn false;\n\t\t\t}\n\t\n\t\t\treturn true;\n\t\t} catch (err) {\n\t\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\t\treturn false;\n\t\t}\n\t}\n\t\n\tmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\t\tvar from;\n\t\tvar to = toObject(target);\n\t\tvar symbols;\n\t\n\t\tfor (var s = 1; s < arguments.length; s++) {\n\t\t\tfrom = Object(arguments[s]);\n\t\n\t\t\tfor (var key in from) {\n\t\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\t\tto[key] = from[key];\n\t\t\t\t}\n\t\t\t}\n\t\n\t\t\tif (getOwnPropertySymbols) {\n\t\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\n\t\treturn to;\n\t};\n\n\n/***/ }),\n/* 11 */\n/***/ (function(module, exports) {\n\n\t/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t *\n\t * This source code is licensed under the MIT license found in the\n\t * LICENSE file in the root directory of this source tree.\n\t */\n\t\n\t'use strict';\n\t\n\tvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\t\n\tmodule.exports = ReactPropTypesSecret;\n\n\n/***/ }),\n/* 12 */\n/***/ (function(module, exports, __nested_webpack_require_51282__) {\n\n\t/* WEBPACK VAR INJECTION */(function(process) {/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t *\n\t * This source code is licensed under the MIT license found in the\n\t * LICENSE file in the root directory of this source tree.\n\t */\n\t\n\t'use strict';\n\t\n\tif (process.env.NODE_ENV !== 'production') {\n\t var invariant = __nested_webpack_require_51282__(8);\n\t var warning = __nested_webpack_require_51282__(9);\n\t var ReactPropTypesSecret = __nested_webpack_require_51282__(11);\n\t var loggedTypeFailures = {};\n\t}\n\t\n\t/**\n\t * Assert that the values match with the type specs.\n\t * Error messages are memorized and will only be shown once.\n\t *\n\t * @param {object} typeSpecs Map of name to a ReactPropType\n\t * @param {object} values Runtime values that need to be type-checked\n\t * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n\t * @param {string} componentName Name of the component for error messages.\n\t * @param {?Function} getStack Returns the component stack.\n\t * @private\n\t */\n\tfunction checkPropTypes(typeSpecs, values, location, componentName, getStack) {\n\t if (process.env.NODE_ENV !== 'production') {\n\t for (var typeSpecName in typeSpecs) {\n\t if (typeSpecs.hasOwnProperty(typeSpecName)) {\n\t var error;\n\t // Prop type validation may throw. In case they do, we don't want to\n\t // fail the render phase where it didn't fail before. So we log it.\n\t // After these have been cleaned up, we'll let them throw.\n\t try {\n\t // This is intentionally an invariant that gets caught. It's the same\n\t // behavior as without this statement except with a better message.\n\t invariant(typeof typeSpecs[typeSpecName] === 'function', '%s: %s type `%s` is invalid; it must be a function, usually from ' + 'the `prop-types` package, but received `%s`.', componentName || 'React class', location, typeSpecName, typeof typeSpecs[typeSpecName]);\n\t error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);\n\t } catch (ex) {\n\t error = ex;\n\t }\n\t warning(!error || error instanceof Error, '%s: type specification of %s `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error);\n\t if (error instanceof Error && !(error.message in loggedTypeFailures)) {\n\t // Only monitor this failure once because there tends to be a lot of the\n\t // same error.\n\t loggedTypeFailures[error.message] = true;\n\t\n\t var stack = getStack ? getStack() : '';\n\t\n\t warning(false, 'Failed %s type: %s%s', location, error.message, stack != null ? stack : '');\n\t }\n\t }\n\t }\n\t }\n\t}\n\t\n\tmodule.exports = checkPropTypes;\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, __nested_webpack_require_51282__(5)))\n\n/***/ }),\n/* 13 */\n/***/ (function(module, exports, __nested_webpack_require_54383__) {\n\n\t/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t *\n\t * This source code is licensed under the MIT license found in the\n\t * LICENSE file in the root directory of this source tree.\n\t */\n\t\n\t'use strict';\n\t\n\tvar emptyFunction = __nested_webpack_require_54383__(7);\n\tvar invariant = __nested_webpack_require_54383__(8);\n\tvar ReactPropTypesSecret = __nested_webpack_require_54383__(11);\n\t\n\tmodule.exports = function() {\n\t function shim(props, propName, componentName, location, propFullName, secret) {\n\t if (secret === ReactPropTypesSecret) {\n\t // It is still safe when called from React.\n\t return;\n\t }\n\t invariant(\n\t false,\n\t 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n\t 'Use PropTypes.checkPropTypes() to call them. ' +\n\t 'Read more at http://fb.me/use-check-prop-types'\n\t );\n\t };\n\t shim.isRequired = shim;\n\t function getShim() {\n\t return shim;\n\t };\n\t // Important!\n\t // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n\t var ReactPropTypes = {\n\t array: shim,\n\t bool: shim,\n\t func: shim,\n\t number: shim,\n\t object: shim,\n\t string: shim,\n\t symbol: shim,\n\t\n\t any: shim,\n\t arrayOf: getShim,\n\t element: shim,\n\t instanceOf: getShim,\n\t node: shim,\n\t objectOf: getShim,\n\t oneOf: getShim,\n\t oneOfType: getShim,\n\t shape: getShim,\n\t exact: getShim\n\t };\n\t\n\t ReactPropTypes.checkPropTypes = emptyFunction;\n\t ReactPropTypes.PropTypes = ReactPropTypes;\n\t\n\t return ReactPropTypes;\n\t};\n\n\n/***/ }),\n/* 14 */\n/***/ (function(module, exports) {\n\n\tmodule.exports = __webpack_require__(/*! react */ \"react\");\n\n/***/ }),\n/* 15 */\n/***/ (function(module, exports) {\n\n\t'use strict';\n\t\n\tvar simpleIsEqual = function simpleIsEqual(a, b) {\n\t return a === b;\n\t};\n\t\n\tfunction index (resultFn) {\n\t var isEqual = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : simpleIsEqual;\n\t\n\t var lastThis = void 0;\n\t var lastArgs = [];\n\t var lastResult = void 0;\n\t var calledOnce = false;\n\t\n\t var isNewArgEqualToLast = function isNewArgEqualToLast(newArg, index) {\n\t return isEqual(newArg, lastArgs[index]);\n\t };\n\t\n\t var result = function result() {\n\t for (var _len = arguments.length, newArgs = Array(_len), _key = 0; _key < _len; _key++) {\n\t newArgs[_key] = arguments[_key];\n\t }\n\t\n\t if (calledOnce && lastThis === this && newArgs.length === lastArgs.length && newArgs.every(isNewArgEqualToLast)) {\n\t return lastResult;\n\t }\n\t\n\t calledOnce = true;\n\t lastThis = this;\n\t lastArgs = newArgs;\n\t lastResult = resultFn.apply(this, newArgs);\n\t return lastResult;\n\t };\n\t\n\t return result;\n\t}\n\t\n\tmodule.exports = index;\n\n\n/***/ })\n/******/ ]);\n//# sourceMappingURL=main.js.map\n\n//# sourceURL=webpack://synchro-helena/./node_modules/react-highlight-words/dist/main.js?");
32199
32221
 
32200
32222
  /***/ }),
32201
32223
 
@@ -33895,7 +33917,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
33895
33917
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
33896
33918
 
33897
33919
  "use strict";
33898
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _ant_design_icons__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @ant-design/icons */ \"./node_modules/@ant-design/icons/es/icons/SearchOutlined.js\");\n/* harmony import */ var _ant_design_icons__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @ant-design/icons */ \"./node_modules/@ant-design/icons/es/icons/CloseOutlined.js\");\n/* harmony import */ var _HLIcon_HLIcon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../HLIcon/HLIcon */ \"./src/HLIcon/HLIcon.js\");\n/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! antd */ \"antd\");\n/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(antd__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _HLMenu_HLMenu__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../HLMenu/HLMenu */ \"./src/HLMenu/HLMenu.js\");\n/* harmony import */ var _HLLayout_HLLayout__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../HLLayout/HLLayout */ \"./src/HLLayout/HLLayout.js\");\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! lodash */ \"./node_modules/lodash/lodash.js\");\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var deepdash_filterDeep__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! deepdash/filterDeep */ \"./node_modules/deepdash/es/filterDeep.js\");\n/* harmony import */ var _HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./HLSideMenu.module.css */ \"./src/HLSideMenu/HLSideMenu.module.css\");\n/* harmony import */ var react_highlight_words__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react-highlight-words */ \"./node_modules/react-highlight-words/dist/main.js\");\n/* harmony import */ var react_highlight_words__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(react_highlight_words__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _util_CustomHooks__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../util/CustomHooks */ \"./src/util/CustomHooks.tsx\");\n/* harmony import */ var _util_Util__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../util/Util */ \"./src/util/Util.js\");\n/* harmony import */ var _assets_images_synchro_logo_svg__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ~/assets/images/synchro-logo.svg */ \"./src/assets/images/synchro-logo.svg\");\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar SubMenu = _HLMenu_HLMenu__WEBPACK_IMPORTED_MODULE_3__[\"default\"].SubMenu;\nvar Sider = _HLLayout_HLLayout__WEBPACK_IMPORTED_MODULE_4__[\"default\"].Sider;\nvar HLSideMenu = function (props) {\n var _a = (0,_util_CustomHooks__WEBPACK_IMPORTED_MODULE_9__.useStateWithCallback)(false), show = _a[0], setShow = _a[1];\n var _b = (0,_util_CustomHooks__WEBPACK_IMPORTED_MODULE_9__.useStateWithCallback)(false), mouseEnter = _b[0], setMouseEnter = _b[1];\n var _c = (0,_util_CustomHooks__WEBPACK_IMPORTED_MODULE_9__.useStateWithCallback)(undefined), currentSelectedMenu = _c[0], setCurrentSelectedMenu = _c[1];\n var _d = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(false), focusedSearch = _d[0], setFocusedSearch = _d[1];\n var _e = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(undefined), menuTree = _e[0], setMenuTree = _e[1];\n var _f = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(), query = _f[0], setQuery = _f[1];\n var searchInput = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);\n (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {\n _getKey(props.subMenus);\n _getOpenKeys();\n setMenuTree(lodash__WEBPACK_IMPORTED_MODULE_5___default().clone(props.subMenus));\n }, [props.subMenus]);\n var _onMouse = function (show) {\n setMouseEnter(show, function () {\n if (props.collapsed) {\n setShow(show || focusedSearch, function () { return props.onOpenChange(props.openKeys); });\n }\n });\n };\n var _renderSubMenu = function (menuList, fatherWasSubMenu, level) {\n if (level === void 0) { level = 0; }\n var haveSubLinks = menuList && menuList.length > 0;\n var subMenuList = [];\n if (haveSubLinks) {\n for (var i = 0; i < menuList.length; i++) {\n subMenuList.push(_buildMenu(menuList[i], i, fatherWasSubMenu, level));\n }\n }\n return subMenuList;\n };\n var _getRecursiveKey = function (subMenu) {\n var currentPath = props.location.pathname;\n if (subMenu.href && currentPath.includes(subMenu.href)) {\n setCurrentSelectedMenu([subMenu.key], function () { return _getOpenKeys(); });\n }\n if (subMenu.links && subMenu.links.length > 0) {\n _getKey(subMenu.links);\n }\n };\n var _getKey = function (subMenus) {\n for (var i = 0; i < subMenus.length; i++) {\n _getRecursiveKey(subMenus[i]);\n }\n };\n var _getOpenKeys = function () {\n if (currentSelectedMenu) {\n var submenus = currentSelectedMenu[0].split('/');\n submenus.pop();\n var string_1 = '';\n var openKeys = submenus.reduce(function (accum, item, idx) {\n string_1 += idx === 0 ? item : '/' + item;\n return accum.concat(string_1);\n }, []);\n props.changeOpenKeys(openKeys);\n }\n };\n var _onOpenChange = function (openKeys) {\n var getChildren = function (path) {\n var children = props.subMenus;\n path === null || path === void 0 ? void 0 : path.forEach(function (p) {\n var obj = children.find(function (o) { return o.key === p; });\n if (obj) {\n children = obj.links || [];\n }\n });\n return children.map(function (o) { return o.key; });\n };\n var areBrothers = function (children, a, b) {\n return children && children.indexOf(a) !== -1 && children.indexOf(b) !== -1;\n };\n //remove elementos do mesmo nivel se o parâmetro foi passado\n if (props.singleActiveMenu && openKeys.length > 1) {\n var children = getChildren(openKeys.slice(0, openKeys.length - 2));\n if (children && areBrothers(children, openKeys[openKeys.length - 2], openKeys[openKeys.length - 1])) {\n openKeys.splice(openKeys.length - 2, 1);\n }\n }\n props.onOpenChange(openKeys);\n };\n var _selectItem = function (selection) {\n if (selection.item.props.className && !selection.item.props.className.includes('undeveloped')) {\n setCurrentSelectedMenu([selection.key]);\n props.changeOpenKeys(selection.keyPath.splice(1));\n }\n };\n var _getIcon = function (icon) {\n if (icon) {\n return react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HLIcon_HLIcon__WEBPACK_IMPORTED_MODULE_1__[\"default\"], { type: icon, useLegacy: true });\n }\n else {\n return;\n }\n };\n var _buildMenu = function (menu, idx, fatherWasSubMenu, level) {\n var _a;\n if (idx === void 0) { idx = 0; }\n if (level === void 0) { level = 0; }\n var haveSubLinks = menu.links && menu.links.length > 0;\n var item;\n var CustomHighlighter = function (props) { return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react_highlight_words__WEBPACK_IMPORTED_MODULE_8___default()), { highlightClassName: _HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"].highlight, searchWords: [query], autoEscape: true, textToHighlight: props.title, sanitize: _util_Util__WEBPACK_IMPORTED_MODULE_10__.sanitize })); };\n if (haveSubLinks) {\n var itemsList = _renderSubMenu(menu.links, true, level + 1).filter(function (item) {\n return item !== null;\n });\n item =\n itemsList.length > 0 ? (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(SubMenu, { \"data-cy\": menu.key ? menu.key : 'submenu-' + idx, key: menu.key ? menu.key : 'submenu-' + idx, className: \"\".concat(fatherWasSubMenu && haveSubLinks ? _HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"][\"hl-inside-menu\"] : '', \" \").concat(_HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"][\"level-\".concat(level)]), title: react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", { className: _HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"][\"hlmenu-item-title\"] },\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(antd__WEBPACK_IMPORTED_MODULE_2__.Tooltip, { key: \"tooltip-\".concat(menu.key), className: \"\".concat(_HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"].tooltip, \" \").concat(_HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"][\"tooltip-level-\".concat(level)]), placement: 'right', title: menu.tooltip },\n _getIcon(menu.icon),\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"span\", { key: \"span-\".concat(menu.key) },\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(CustomHighlighter, { title: menu.title })))) }, itemsList)) : null;\n }\n else {\n var content = (react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null,\n _getIcon(menu.icon),\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"span\", null,\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(CustomHighlighter, { title: menu.title }))));\n var subpages = ((_a = menu.subpages) === null || _a === void 0 ? void 0 : _a.map(function (item) { return item.replace(/\\*/g, '[^/]+'); })) || [];\n var selected = new RegExp(\"^\".concat(menu.href).concat(subpages.length ? \"(/(\".concat(subpages.join('|'), \"))?\") : '', \"(/(novo|editar/.*))?/?$\")).test(window.location.pathname);\n var hasAccess = !menu.resourceId || props.allowsAccessByResourceId(menu.resourceId);\n item = (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HLMenu_HLMenu__WEBPACK_IMPORTED_MODULE_3__[\"default\"].Item, { \"data-cy\": menu.key ? menu.key : 'link-' + idx, isSelected: currentSelectedMenu && menu.key === currentSelectedMenu[0], key: menu.key ? menu.key : 'link-' + idx, className: \"\".concat(_HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"][\"hlmenu-item\"], \" \").concat(_HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"][\"level-\".concat(level)], \" \").concat(selected && !menu.undeveloped ? _HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"][\"item-selected\"] : ''), disabled: !hasAccess || menu.undeveloped },\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", { className: _HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"][\"hlmenu-item-title\"] },\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(antd__WEBPACK_IMPORTED_MODULE_2__.Tooltip, { key: \"tooltip-\".concat(menu.key), className: \"\".concat(_HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"].tooltip, \" \").concat(_HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"][\"tooltip-level-\".concat(level)]), placement: \"right\", title: menu.undeveloped ? 'Página em desenvolvimento' : hasAccess ? menu.tooltip : 'Acesso restrito' }, selected && !menu.undeveloped ? (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", null, content)) : (props.generateLink(menu.href, content, menu.undeveloped, menu.resourceId, menu.key))))));\n }\n return item;\n };\n var _recursiveQueryHandler = function (array) {\n var resultQuery = [];\n array.forEach(function (element) {\n if (element.key) {\n resultQuery.push(element.key);\n }\n if (element.links && element.links.length > 0) {\n var temp = _recursiveQueryHandler(element.links);\n resultQuery = resultQuery.concat(temp);\n }\n });\n return resultQuery;\n };\n var _doSearch = function (query) {\n setQuery(query);\n !query && searchInput && searchInput.current && searchInput.current.focus();\n if (query) {\n var predicate = function (value, key, parentValue, context) {\n var title = (0,_util_Util__WEBPACK_IMPORTED_MODULE_10__.sanitize)(value.title);\n return title && title.includes((0,_util_Util__WEBPACK_IMPORTED_MODULE_10__.sanitize)(query));\n };\n var resultQuery = (0,deepdash_filterDeep__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(props.subMenus, predicate, {\n childrenPath: 'links',\n onTrue: {\n skipChildren: true,\n },\n });\n var resultQueryKeys = resultQuery ? _recursiveQueryHandler(resultQuery) : [];\n props.changeOpenKeys(resultQueryKeys);\n setMenuTree(resultQuery);\n }\n else {\n props.changeOpenKeys([]);\n setMenuTree(lodash__WEBPACK_IMPORTED_MODULE_5___default().clone(props.subMenus));\n }\n };\n var _checkFocusedSearch = function (type) {\n //o menu deve ser collapsado quando o campo perder o foco,\n //o menu está sendo exibido e o mouse tá fora\n setFocusedSearch(type === 'focus');\n setShow(props.collapsed && type === 'blur' && show && !mouseEnter ? false : show);\n };\n var _getSearchInput = function () {\n var isTransparent = !focusedSearch && !query;\n return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(antd__WEBPACK_IMPORTED_MODULE_2__.Input, { ref: searchInput, className: \"\".concat(_HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"][\"search-input\"], \" \").concat(isTransparent ? _HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"].transparent : ''), placeholder: \"Digite para filtrar o menu\", prefix: react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_ant_design_icons__WEBPACK_IMPORTED_MODULE_12__[\"default\"], { className: _HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"][\"icon-search\"] }), suffix: react__WEBPACK_IMPORTED_MODULE_0___default().createElement(antd__WEBPACK_IMPORTED_MODULE_2__.Tooltip, { title: \"Limpar\" },\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_ant_design_icons__WEBPACK_IMPORTED_MODULE_13__[\"default\"], { onClick: function () { return _doSearch(undefined); }, className: _HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"][\"icon-close\"] })), value: query, onChange: function (e) { return _doSearch(e.target.value); }, onFocus: function (e) { return _checkFocusedSearch('focus'); }, onBlur: function (e) { return _checkFocusedSearch('blur'); } }));\n };\n var _getLogo = function (itsCollapsed) {\n var LinkComponent = props.link;\n var imgPath = itsCollapsed && props.menuCollapsedLogoPath ? props.menuCollapsedLogoPath : props.menuLogoPath;\n return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", { className: _HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"][\"logo\".concat(itsCollapsed ? '-collapsed' : '')] }, LinkComponent ? (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(LinkComponent, { to: props.homePath },\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"img\", { src: imgPath, className: itsCollapsed ? _HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"][\"img-collapsed\"] : _HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"].img }))) : (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"img\", { src: imgPath, className: itsCollapsed ? _HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"][\"img-collapsed\"] : _HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"].img }))));\n };\n var _getBaseboard = function (itsCollapsed) {\n if (!itsCollapsed) {\n var text = props.baseboardText ? props.baseboardText : 'Desenvolvido pela ';\n var imgPath = props.baseboardLogoPath;\n if (props.baseboardLogoPath) {\n return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", { className: _HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"].baseboard },\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"text\", { className: _HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"][\"baseboard-text\"] }, text),\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"img\", { src: imgPath, className: _HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"][\"baseboard-img\"] })));\n }\n else {\n return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", { style: { paddingBottom: '15px' }, className: _HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"].baseboard },\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"text\", { className: _HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"][\"baseboard-text\"] }, text),\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_assets_images_synchro_logo_svg__WEBPACK_IMPORTED_MODULE_11__[\"default\"], { style: { transform: 'scale(1)', marginBottom: '-9px' }, className: _HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"][\"baseboard-img\"] })));\n }\n }\n };\n var itsCollapsed = props.collapsed && !show;\n return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Sider, { className: \"\".concat(_HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"][\"hlmenu-side\"], \" \"), collapsed: itsCollapsed, breakpoint: \"lg\", trigger: null, collapsible: true, width: 280, onMouseLeave: function () { return _onMouse(false); }, onMouseEnter: function () { return _onMouse(true); } },\n _getLogo(itsCollapsed),\n _getSearchInput(),\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", { className: \"\".concat(itsCollapsed ? _HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"][\"mouse-over-zone\"] : _HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"][\"sidemenu-scroll\"], \" \") },\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HLMenu_HLMenu__WEBPACK_IMPORTED_MODULE_3__[\"default\"], { selectable: false, onClick: function (item) { return _selectItem(item); }, defaultSelectedKeys: currentSelectedMenu, onOpenChange: _onOpenChange, openKeys: props.openKeys, mode: \"inline\", theme: \"dark\", inlineIndent: 0, className: _HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"].hlmenu, multiple: false }, _renderSubMenu(menuTree, false, 0))),\n _getBaseboard(itsCollapsed)));\n};\nHLSideMenu.displayName = 'HLSideMenu';\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (HLSideMenu);\n\n\n//# sourceURL=webpack://synchro-helena/./src/HLSideMenu/HLSideMenu.tsx?");
33920
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _ant_design_icons__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @ant-design/icons */ \"./node_modules/@ant-design/icons/es/icons/SearchOutlined.js\");\n/* harmony import */ var _ant_design_icons__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @ant-design/icons */ \"./node_modules/@ant-design/icons/es/icons/CloseOutlined.js\");\n/* harmony import */ var _HLIcon_HLIcon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../HLIcon/HLIcon */ \"./src/HLIcon/HLIcon.js\");\n/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! antd */ \"antd\");\n/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(antd__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _HLMenu_HLMenu__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../HLMenu/HLMenu */ \"./src/HLMenu/HLMenu.js\");\n/* harmony import */ var _HLLayout_HLLayout__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../HLLayout/HLLayout */ \"./src/HLLayout/HLLayout.js\");\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! lodash */ \"./node_modules/lodash/lodash.js\");\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var deepdash_filterDeep__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! deepdash/filterDeep */ \"./node_modules/deepdash/es/filterDeep.js\");\n/* harmony import */ var _HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./HLSideMenu.module.css */ \"./src/HLSideMenu/HLSideMenu.module.css\");\n/* harmony import */ var react_highlight_words__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react-highlight-words */ \"./node_modules/react-highlight-words/dist/main.js\");\n/* harmony import */ var react_highlight_words__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(react_highlight_words__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _util_CustomHooks__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../util/CustomHooks */ \"./src/util/CustomHooks.tsx\");\n/* harmony import */ var _util_Util__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../util/Util */ \"./src/util/Util.js\");\n/* harmony import */ var _assets_images_synchro_logo_svg__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ~/assets/images/synchro-logo.svg */ \"./src/assets/images/synchro-logo.svg\");\nvar __assign = (undefined && undefined.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar SubMenu = _HLMenu_HLMenu__WEBPACK_IMPORTED_MODULE_3__[\"default\"].SubMenu;\nvar Sider = _HLLayout_HLLayout__WEBPACK_IMPORTED_MODULE_4__[\"default\"].Sider;\nvar HLSideMenu = function (props) {\n var _a = (0,_util_CustomHooks__WEBPACK_IMPORTED_MODULE_9__.useStateWithCallback)(false), show = _a[0], setShow = _a[1];\n var _b = (0,_util_CustomHooks__WEBPACK_IMPORTED_MODULE_9__.useStateWithCallback)(false), mouseEnter = _b[0], setMouseEnter = _b[1];\n var _c = (0,_util_CustomHooks__WEBPACK_IMPORTED_MODULE_9__.useStateWithCallback)(undefined), currentSelectedMenu = _c[0], setCurrentSelectedMenu = _c[1];\n var _d = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(false), focusedSearch = _d[0], setFocusedSearch = _d[1];\n var _e = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(undefined), menuTree = _e[0], setMenuTree = _e[1];\n var _f = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(), query = _f[0], setQuery = _f[1];\n var searchInput = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);\n (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {\n _getKey(props.subMenus);\n _getOpenKeys();\n setMenuTree(lodash__WEBPACK_IMPORTED_MODULE_5___default().clone(props.subMenus));\n }, [props.subMenus]);\n var _onMouse = function (show) {\n setMouseEnter(show, function () {\n if (props.collapsed) {\n setShow(show || focusedSearch, function () { return props.onOpenChange(props.openKeys); });\n }\n });\n };\n var _renderSubMenu = function (menuList, fatherWasSubMenu, level) {\n if (level === void 0) { level = 0; }\n var haveSubLinks = menuList && menuList.length > 0;\n var subMenuList = [];\n if (haveSubLinks) {\n for (var i = 0; i < menuList.length; i++) {\n subMenuList.push(_buildMenu(menuList[i], i, fatherWasSubMenu, level));\n }\n }\n return subMenuList;\n };\n var _getRecursiveKey = function (subMenu) {\n var currentPath = props.location.pathname;\n if (subMenu.href && currentPath.includes(subMenu.href)) {\n setCurrentSelectedMenu([subMenu.key], function () { return _getOpenKeys(); });\n }\n if (subMenu.links && subMenu.links.length > 0) {\n _getKey(subMenu.links);\n }\n };\n var _getKey = function (subMenus) {\n for (var i = 0; i < subMenus.length; i++) {\n _getRecursiveKey(subMenus[i]);\n }\n };\n var _getOpenKeys = function () {\n if (currentSelectedMenu) {\n var submenus = currentSelectedMenu[0].split('/');\n submenus.pop();\n var string_1 = '';\n var openKeys = submenus.reduce(function (accum, item, idx) {\n string_1 += idx === 0 ? item : '/' + item;\n return accum.concat(string_1);\n }, []);\n props.changeOpenKeys(openKeys);\n }\n };\n var _onOpenChange = function (openKeys) {\n var getChildren = function (path) {\n var children = props.subMenus;\n path === null || path === void 0 ? void 0 : path.forEach(function (p) {\n var obj = children.find(function (o) { return o.key === p; });\n if (obj) {\n children = obj.links || [];\n }\n });\n return children.map(function (o) { return o.key; });\n };\n var areBrothers = function (children, a, b) {\n return children && children.indexOf(a) !== -1 && children.indexOf(b) !== -1;\n };\n //remove elementos do mesmo nivel se o parâmetro foi passado\n if (props.singleActiveMenu && openKeys.length > 1) {\n var children = getChildren(openKeys.slice(0, openKeys.length - 2));\n if (children && areBrothers(children, openKeys[openKeys.length - 2], openKeys[openKeys.length - 1])) {\n openKeys.splice(openKeys.length - 2, 1);\n }\n }\n props.onOpenChange(openKeys);\n };\n var _selectItem = function (selection) {\n if (selection.item.props.className && !selection.item.props.className.includes('undeveloped')) {\n setCurrentSelectedMenu([selection.key]);\n props.changeOpenKeys(selection.keyPath.splice(1));\n }\n };\n var _getIcon = function (icon) {\n if (icon) {\n if (typeof icon === 'string') {\n return react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HLIcon_HLIcon__WEBPACK_IMPORTED_MODULE_1__[\"default\"], { type: icon, useLegacy: true });\n }\n else {\n return react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HLIcon_HLIcon__WEBPACK_IMPORTED_MODULE_1__[\"default\"], __assign({ component: icon.component }, icon.options));\n }\n }\n else {\n return;\n }\n };\n var _buildMenu = function (menu, idx, fatherWasSubMenu, level) {\n var _a;\n if (idx === void 0) { idx = 0; }\n if (level === void 0) { level = 0; }\n var haveSubLinks = menu.links && menu.links.length > 0;\n var item;\n var CustomHighlighter = function (props) { return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react_highlight_words__WEBPACK_IMPORTED_MODULE_8___default()), { highlightClassName: _HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"].highlight, searchWords: [query], autoEscape: true, textToHighlight: props.title, sanitize: _util_Util__WEBPACK_IMPORTED_MODULE_10__.sanitize })); };\n if (haveSubLinks) {\n var itemsList = _renderSubMenu(menu.links, true, level + 1).filter(function (item) {\n return item !== null;\n });\n item =\n itemsList.length > 0 ? (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(SubMenu, { \"data-cy\": menu.key ? menu.key : 'submenu-' + idx, key: menu.key ? menu.key : 'submenu-' + idx, className: \"\".concat(fatherWasSubMenu && haveSubLinks ? _HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"][\"hl-inside-menu\"] : '', \" \").concat(_HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"][\"level-\".concat(level)]), title: react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", { className: _HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"][\"hlmenu-item-title\"] },\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(antd__WEBPACK_IMPORTED_MODULE_2__.Tooltip, { key: \"tooltip-\".concat(menu.key), className: \"\".concat(_HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"].tooltip, \" \").concat(_HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"][\"tooltip-level-\".concat(level)]), placement: 'right', title: menu.tooltip },\n _getIcon(menu.icon),\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"span\", { key: \"span-\".concat(menu.key) },\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(CustomHighlighter, { title: menu.title })))) }, itemsList)) : null;\n }\n else {\n var content = (react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null,\n _getIcon(menu.icon),\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"span\", null,\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(CustomHighlighter, { title: menu.title }))));\n var subpages = ((_a = menu.subpages) === null || _a === void 0 ? void 0 : _a.map(function (item) { return item.replace(/\\*/g, '[^/]+'); })) || [];\n var selected = new RegExp(\"^\".concat(menu.href).concat(subpages.length ? \"(/(\".concat(subpages.join('|'), \"))?\") : '', \"(/(novo|editar/.*))?/?$\")).test(window.location.pathname);\n var hasAccess = !menu.resourceId || props.allowsAccessByResourceId(menu.resourceId);\n item = (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HLMenu_HLMenu__WEBPACK_IMPORTED_MODULE_3__[\"default\"].Item, { \"data-cy\": menu.key ? menu.key : 'link-' + idx, isSelected: currentSelectedMenu && menu.key === currentSelectedMenu[0], key: menu.key ? menu.key : 'link-' + idx, className: \"\".concat(_HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"][\"hlmenu-item\"], \" \").concat(_HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"][\"level-\".concat(level)], \" \").concat(selected && !menu.undeveloped ? _HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"][\"item-selected\"] : ''), disabled: !hasAccess || menu.undeveloped },\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", { className: _HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"][\"hlmenu-item-title\"] },\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(antd__WEBPACK_IMPORTED_MODULE_2__.Tooltip, { key: \"tooltip-\".concat(menu.key), className: \"\".concat(_HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"].tooltip, \" \").concat(_HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"][\"tooltip-level-\".concat(level)]), placement: \"right\", title: menu.undeveloped ? 'Página em desenvolvimento' : hasAccess ? menu.tooltip : 'Acesso restrito' }, selected && !menu.undeveloped ? (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", null, content)) : (props.generateLink(menu.href, content, menu.undeveloped, menu.resourceId, menu.key))))));\n }\n return item;\n };\n var _recursiveQueryHandler = function (array) {\n var resultQuery = [];\n array.forEach(function (element) {\n if (element.key) {\n resultQuery.push(element.key);\n }\n if (element.links && element.links.length > 0) {\n var temp = _recursiveQueryHandler(element.links);\n resultQuery = resultQuery.concat(temp);\n }\n });\n return resultQuery;\n };\n var _doSearch = function (query) {\n setQuery(query);\n !query && searchInput && searchInput.current && searchInput.current.focus();\n if (query) {\n var predicate = function (value, key, parentValue, context) {\n var title = (0,_util_Util__WEBPACK_IMPORTED_MODULE_10__.sanitize)(value.title);\n return title && title.includes((0,_util_Util__WEBPACK_IMPORTED_MODULE_10__.sanitize)(query));\n };\n var resultQuery = (0,deepdash_filterDeep__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(props.subMenus, predicate, {\n childrenPath: 'links',\n onTrue: {\n skipChildren: true,\n },\n });\n var resultQueryKeys = resultQuery ? _recursiveQueryHandler(resultQuery) : [];\n props.changeOpenKeys(resultQueryKeys);\n setMenuTree(resultQuery);\n }\n else {\n props.changeOpenKeys([]);\n setMenuTree(lodash__WEBPACK_IMPORTED_MODULE_5___default().clone(props.subMenus));\n }\n };\n var _checkFocusedSearch = function (type) {\n //o menu deve ser collapsado quando o campo perder o foco,\n //o menu está sendo exibido e o mouse tá fora\n setFocusedSearch(type === 'focus');\n setShow(props.collapsed && type === 'blur' && show && !mouseEnter ? false : show);\n };\n var _getSearchInput = function () {\n var isTransparent = !focusedSearch && !query;\n return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(antd__WEBPACK_IMPORTED_MODULE_2__.Input, { ref: searchInput, className: \"\".concat(_HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"][\"search-input\"], \" \").concat(isTransparent ? _HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"].transparent : ''), placeholder: \"Digite para filtrar o menu\", prefix: react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_ant_design_icons__WEBPACK_IMPORTED_MODULE_12__[\"default\"], { className: _HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"][\"icon-search\"] }), suffix: react__WEBPACK_IMPORTED_MODULE_0___default().createElement(antd__WEBPACK_IMPORTED_MODULE_2__.Tooltip, { title: \"Limpar\" },\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_ant_design_icons__WEBPACK_IMPORTED_MODULE_13__[\"default\"], { onClick: function () { return _doSearch(undefined); }, className: _HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"][\"icon-close\"] })), value: query, onChange: function (e) { return _doSearch(e.target.value); }, onFocus: function (e) { return _checkFocusedSearch('focus'); }, onBlur: function (e) { return _checkFocusedSearch('blur'); } }));\n };\n var _getLogo = function (itsCollapsed) {\n var LinkComponent = props.link;\n var imgPath = itsCollapsed && props.menuCollapsedLogoPath ? props.menuCollapsedLogoPath : props.menuLogoPath;\n return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", { className: _HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"][\"logo\".concat(itsCollapsed ? '-collapsed' : '')] }, LinkComponent ? (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(LinkComponent, { to: props.homePath },\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"img\", { src: imgPath, className: itsCollapsed ? _HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"][\"img-collapsed\"] : _HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"].img }))) : (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"img\", { src: imgPath, className: itsCollapsed ? _HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"][\"img-collapsed\"] : _HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"].img }))));\n };\n var _getBaseboard = function (itsCollapsed) {\n if (!itsCollapsed) {\n var text = props.baseboardText ? props.baseboardText : 'Desenvolvido pela ';\n var imgPath = props.baseboardLogoPath;\n if (props.baseboardLogoPath) {\n return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", { className: _HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"].baseboard },\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"text\", { className: _HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"][\"baseboard-text\"] }, text),\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"img\", { src: imgPath, className: _HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"][\"baseboard-img\"] })));\n }\n else {\n return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", { style: { paddingBottom: '15px' }, className: _HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"].baseboard },\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"text\", { className: _HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"][\"baseboard-text\"] }, text),\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_assets_images_synchro_logo_svg__WEBPACK_IMPORTED_MODULE_11__[\"default\"], { style: { transform: 'scale(1)', marginBottom: '-9px' }, className: _HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"][\"baseboard-img\"] })));\n }\n }\n };\n var itsCollapsed = props.collapsed && !show;\n return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Sider, { className: \"\".concat(_HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"][\"hlmenu-side\"], \" \"), collapsed: itsCollapsed, breakpoint: \"lg\", trigger: null, collapsible: true, width: 280, onMouseLeave: function () { return _onMouse(false); }, onMouseEnter: function () { return _onMouse(true); } },\n _getLogo(itsCollapsed),\n _getSearchInput(),\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", { className: \"\".concat(itsCollapsed ? _HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"][\"mouse-over-zone\"] : _HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"][\"sidemenu-scroll\"], \" \") },\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HLMenu_HLMenu__WEBPACK_IMPORTED_MODULE_3__[\"default\"], { selectable: false, onClick: function (item) { return _selectItem(item); }, defaultSelectedKeys: currentSelectedMenu, onOpenChange: _onOpenChange, openKeys: props.openKeys, mode: \"inline\", theme: \"dark\", inlineIndent: 0, className: _HLSideMenu_module_css__WEBPACK_IMPORTED_MODULE_7__[\"default\"].hlmenu, multiple: false }, _renderSubMenu(menuTree, false, 0))),\n _getBaseboard(itsCollapsed)));\n};\nHLSideMenu.displayName = 'HLSideMenu';\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (HLSideMenu);\n\n\n//# sourceURL=webpack://synchro-helena/./src/HLSideMenu/HLSideMenu.tsx?");
33899
33921
 
33900
33922
  /***/ }),
33901
33923
 
@@ -34027,7 +34049,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
34027
34049
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
34028
34050
 
34029
34051
  "use strict";
34030
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _ant_design_icons__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @ant-design/icons */ \"./node_modules/@ant-design/icons/es/icons/HddOutlined.js\");\n/* harmony import */ var _ant_design_icons__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @ant-design/icons */ \"./node_modules/@ant-design/icons/es/icons/SafetyOutlined.js\");\n/* harmony import */ var _ant_design_icons__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @ant-design/icons */ \"./node_modules/@ant-design/icons/es/icons/PoweroffOutlined.js\");\n/* harmony import */ var _ant_design_icons__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @ant-design/icons */ \"./node_modules/@ant-design/icons/es/icons/QuestionCircleOutlined.js\");\n/* harmony import */ var _ant_design_icons__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @ant-design/icons */ \"./node_modules/@ant-design/icons/es/icons/CaretDownOutlined.js\");\n/* harmony import */ var _HLIcon_HLIcon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../HLIcon/HLIcon */ \"./src/HLIcon/HLIcon.js\");\n/* harmony import */ var _HLModal_HLModal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../HLModal/HLModal */ \"./src/HLModal/HLModal.js\");\n/* harmony import */ var _HLDescriptions_HLDescriptions__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../HLDescriptions/HLDescriptions */ \"./src/HLDescriptions/HLDescriptions.tsx\");\n/* harmony import */ var _HLPopover_HLPopover__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../HLPopover/HLPopover */ \"./src/HLPopover/HLPopover.tsx\");\n/* harmony import */ var _HLDropdown_HLDropdown__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../HLDropdown/HLDropdown */ \"./src/HLDropdown/HLDropdown.tsx\");\n/* harmony import */ var _HLTabs_HLTabs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../HLTabs/HLTabs */ \"./src/HLTabs/HLTabs.js\");\n/* harmony import */ var _HLPowerSearch_lib_utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../HLPowerSearch/lib/utils */ \"./src/HLPowerSearch/lib/utils.js\");\n/* harmony import */ var date_fns__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! date-fns */ \"./node_modules/date-fns/index.js\");\n/* harmony import */ var date_fns__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(date_fns__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! antd */ \"antd\");\n/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(antd__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _HLUserBox_module_css__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./HLUserBox.module.css */ \"./src/HLUserBox/HLUserBox.module.css\");\n/* harmony import */ var _HLTable_HLTable__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../HLTable/HLTable */ \"./src/HLTable/HLTable.js\");\nvar __assign = (undefined && undefined.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar TabPane = _HLTabs_HLTabs__WEBPACK_IMPORTED_MODULE_6__[\"default\"].TabPane;\nvar HLUserBox = function (props) {\n var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;\n var user = props.user, tenant = props.tenant, _l = props.options, options = _l === void 0 ? [] : _l;\n var about = props.about ? __assign({}, props.about) : { info: props.moduleInfo };\n var menuItens = [];\n var _m = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(false), aboutModalVisible = _m[0], setAboutModalVisible = _m[1];\n var aboutModalTitle = ((_b = (_a = props.options) === null || _a === void 0 ? void 0 : _a.find(function (item) { return item.role === 'about'; })) === null || _b === void 0 ? void 0 : _b.title) || 'Sobre';\n var iconStyle = { fontSize: '14px', marginRight: '9px', minWidth: '14px' };\n var _firstLetter = function (word) {\n var _a;\n return (_a = word.charAt(0)) === null || _a === void 0 ? void 0 : _a.toUpperCase();\n };\n var handleMenuClick = function () {\n var _a;\n (_a = props.logout) === null || _a === void 0 ? void 0 : _a.call(props, props.user);\n };\n var _getUsername = function (user) {\n return user.name.length > 14 ? \"\".concat(user.name.substring(0, 9), \" ...\") : user.name;\n };\n user &&\n menuItens.push(react__WEBPACK_IMPORTED_MODULE_0___default().createElement(antd__WEBPACK_IMPORTED_MODULE_9__.Menu.Item, { disabled: true, key: \"menu-user\", className: \"\".concat(_HLUserBox_module_css__WEBPACK_IMPORTED_MODULE_10__[\"default\"][\"menu-item-tenant\"], \" \").concat(_HLUserBox_module_css__WEBPACK_IMPORTED_MODULE_10__[\"default\"][\"menu-item-read-only\"]) },\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_ant_design_icons__WEBPACK_IMPORTED_MODULE_12__[\"default\"], { style: iconStyle }),\n user.name,\n tenant ? \"@\".concat(tenant) : ''));\n (about === null || about === void 0 ? void 0 : about.info) &&\n menuItens.push(react__WEBPACK_IMPORTED_MODULE_0___default().createElement(antd__WEBPACK_IMPORTED_MODULE_9__.Menu.Item, { disabled: true, key: \"menu-version\", className: \"\".concat(_HLUserBox_module_css__WEBPACK_IMPORTED_MODULE_10__[\"default\"][\"menu-item-version\"], \" \").concat(_HLUserBox_module_css__WEBPACK_IMPORTED_MODULE_10__[\"default\"][\"menu-item-read-only\"]), style: { minWidth: '220px', cursor: 'default' } },\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_ant_design_icons__WEBPACK_IMPORTED_MODULE_13__[\"default\"], { style: iconStyle }), \"Vers\\u00E3o \".concat(about.info.version)));\n (user || (about === null || about === void 0 ? void 0 : about.info)) && menuItens.push(react__WEBPACK_IMPORTED_MODULE_0___default().createElement(antd__WEBPACK_IMPORTED_MODULE_9__.Menu.Divider, { key: 'main-divider' }));\n options === null || options === void 0 ? void 0 : options.forEach(function (i, idx) {\n switch (i.role) {\n case 'about':\n menuItens.push(react__WEBPACK_IMPORTED_MODULE_0___default().createElement(antd__WEBPACK_IMPORTED_MODULE_9__.Menu.Item, { key: \"menu-\".concat(idx), onClick: function () { return setAboutModalVisible(true); }, style: { minWidth: '220px' } },\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"span\", null,\n i.icon && react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HLIcon_HLIcon__WEBPACK_IMPORTED_MODULE_1__[\"default\"], { type: i.icon, style: iconStyle }),\n i.title)));\n break;\n case 'logout':\n menuItens.push(react__WEBPACK_IMPORTED_MODULE_0___default().createElement(antd__WEBPACK_IMPORTED_MODULE_9__.Menu.Divider, { key: \"divider-\".concat(idx) }));\n menuItens.push(react__WEBPACK_IMPORTED_MODULE_0___default().createElement(antd__WEBPACK_IMPORTED_MODULE_9__.Menu.Item, { key: \"menu-\".concat(idx), onClick: i.onClick, style: { minWidth: '220px', cursor: i.onClick == null ? 'default' : '' } },\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"span\", null,\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_ant_design_icons__WEBPACK_IMPORTED_MODULE_14__[\"default\"], { style: iconStyle }),\n i.title)));\n break;\n default:\n menuItens.push(react__WEBPACK_IMPORTED_MODULE_0___default().createElement(antd__WEBPACK_IMPORTED_MODULE_9__.Menu.Item, { key: \"menu-\".concat(idx), onClick: i.onClick, style: { minWidth: '220px', cursor: i.onClick == null ? 'default' : '' } },\n i.icon && react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HLIcon_HLIcon__WEBPACK_IMPORTED_MODULE_1__[\"default\"], { type: i.icon, style: iconStyle }),\n i.title));\n }\n });\n var menu = react__WEBPACK_IMPORTED_MODULE_0___default().createElement(antd__WEBPACK_IMPORTED_MODULE_9__.Menu, { className: _HLUserBox_module_css__WEBPACK_IMPORTED_MODULE_10__[\"default\"][\"avatar-menu\"] }, menuItens);\n var descriptionsItem = function (label, value, description) { return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", null,\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", { className: _HLUserBox_module_css__WEBPACK_IMPORTED_MODULE_10__[\"default\"][\"descriptions-item\"] },\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", null,\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"span\", { className: _HLUserBox_module_css__WEBPACK_IMPORTED_MODULE_10__[\"default\"].label }, label),\n description && (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HLPopover_HLPopover__WEBPACK_IMPORTED_MODULE_4__[\"default\"], { placement: \"right\", trigger: \"click\", content: react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", { className: _HLUserBox_module_css__WEBPACK_IMPORTED_MODULE_10__[\"default\"][\"descriptions-popover\"] }, description) },\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_ant_design_icons__WEBPACK_IMPORTED_MODULE_15__[\"default\"], { className: _HLUserBox_module_css__WEBPACK_IMPORTED_MODULE_10__[\"default\"][\"help-icon\"] })))),\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", { className: _HLUserBox_module_css__WEBPACK_IMPORTED_MODULE_10__[\"default\"].value }, value)))); };\n var aboutModal = (about === null || about === void 0 ? void 0 : about.info) ? (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HLModal_HLModal__WEBPACK_IMPORTED_MODULE_2__[\"default\"], { title: aboutModalTitle, visible: aboutModalVisible, onCancel: function () { return setAboutModalVisible(false); }, footer: null, styles: _HLUserBox_module_css__WEBPACK_IMPORTED_MODULE_10__[\"default\"][\"hl-modal-about\"] },\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"h2\", null,\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"strong\", null, about.info.name)),\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"p\", null, about.info.description),\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HLTabs_HLTabs__WEBPACK_IMPORTED_MODULE_6__[\"default\"], { defaultActiveKey: \"1\" },\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(TabPane, { key: \"1\", tab: (_c = about.info.tab) !== null && _c !== void 0 ? _c : 'Versões' },\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HLDescriptions_HLDescriptions__WEBPACK_IMPORTED_MODULE_3__[\"default\"], { column: 2 },\n descriptionsItem('Build em', (0,date_fns__WEBPACK_IMPORTED_MODULE_8__.format)(about.info.buildDate, _HLPowerSearch_lib_utils__WEBPACK_IMPORTED_MODULE_7__.General.brazilianFormatWithHours)), (_d = about.info.thirdPartyLibrariesInfo) === null || _d === void 0 ? void 0 :\n _d.filter(function (item) { return item.version; }).map(function (item) { return descriptionsItem(item.name, \"Vers\\u00E3o \".concat(item.version), item.description); }),\n about.info.databaseVersion &&\n descriptionsItem('Banco de Dados', \"Vers\\u00E3o \".concat(about.info.databaseVersion.replace('Oracle Database ', '').replace(' - Production', ''))))),\n (about === null || about === void 0 ? void 0 : about.updates) && (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(TabPane, { key: \"2\", tab: (_e = about.updates.tab) !== null && _e !== void 0 ? _e : 'Atualizações' },\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HLTable_HLTable__WEBPACK_IMPORTED_MODULE_11__[\"default\"], { pagination: { pageSize: 5 }, hideActionBar: true, locale: { emptyText: react__WEBPACK_IMPORTED_MODULE_0___default().createElement(antd__WEBPACK_IMPORTED_MODULE_9__.Empty, { image: antd__WEBPACK_IMPORTED_MODULE_9__.Empty.PRESENTED_IMAGE_SIMPLE }) }, columns: (_f = about.updates.columns) !== null && _f !== void 0 ? _f : [], dataSource: (_g = about.updates.dataSource) !== null && _g !== void 0 ? _g : [] }))),\n (about === null || about === void 0 ? void 0 : about.kits) && (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(TabPane, { key: \"3\", tab: (_h = about.kits.tab) !== null && _h !== void 0 ? _h : 'Kits' },\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HLTable_HLTable__WEBPACK_IMPORTED_MODULE_11__[\"default\"], { pagination: { pageSize: 5 }, hideActionBar: true, locale: { emptyText: react__WEBPACK_IMPORTED_MODULE_0___default().createElement(antd__WEBPACK_IMPORTED_MODULE_9__.Empty, { image: antd__WEBPACK_IMPORTED_MODULE_9__.Empty.PRESENTED_IMAGE_SIMPLE }) }, columns: (_j = about.kits.columns) !== null && _j !== void 0 ? _j : [], dataSource: (_k = about.kits.dataSource) !== null && _k !== void 0 ? _k : [] })))))) : (react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null));\n return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", { className: _HLUserBox_module_css__WEBPACK_IMPORTED_MODULE_10__[\"default\"][\"hl-userbox\"], style: props.sysStatus ? undefined : { width: '75px' } }, user ? ( //se o objeto user não foi passado, significa que não haverá usuário na sessão e por isso nada deve ser renderizado\n user.name ? ( // se o objeto foi passado mas o atributo 'name' ainda está vazio, o Spin deve ser exibido até o valor ser carregado\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null,\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HLDropdown_HLDropdown__WEBPACK_IMPORTED_MODULE_5__[\"default\"], { className: _HLUserBox_module_css__WEBPACK_IMPORTED_MODULE_10__[\"default\"].container, overlay: menu, placement: \"bottomRight\" },\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", null,\n user.avatar ? (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(antd__WEBPACK_IMPORTED_MODULE_9__.Avatar, { size: \"small\", src: user.avatar, className: _HLUserBox_module_css__WEBPACK_IMPORTED_MODULE_10__[\"default\"].avatar })) : (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(antd__WEBPACK_IMPORTED_MODULE_9__.Avatar, { size: \"small\", className: _HLUserBox_module_css__WEBPACK_IMPORTED_MODULE_10__[\"default\"].avatar }, _firstLetter(user.name))),\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_ant_design_icons__WEBPACK_IMPORTED_MODULE_16__[\"default\"], { className: _HLUserBox_module_css__WEBPACK_IMPORTED_MODULE_10__[\"default\"].icon }))),\n aboutModal)) : (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(antd__WEBPACK_IMPORTED_MODULE_9__.Spin, { size: \"small\", style: { marginLeft: 8, marginRight: 8 } }))) : null));\n};\nHLUserBox.displayName = 'HLUserBox';\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (HLUserBox);\n\n\n//# sourceURL=webpack://synchro-helena/./src/HLUserBox/HLUserBox.tsx?");
34052
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _ant_design_icons__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @ant-design/icons */ \"./node_modules/@ant-design/icons/es/icons/HddOutlined.js\");\n/* harmony import */ var _ant_design_icons__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @ant-design/icons */ \"./node_modules/@ant-design/icons/es/icons/SafetyOutlined.js\");\n/* harmony import */ var _ant_design_icons__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @ant-design/icons */ \"./node_modules/@ant-design/icons/es/icons/PoweroffOutlined.js\");\n/* harmony import */ var _ant_design_icons__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @ant-design/icons */ \"./node_modules/@ant-design/icons/es/icons/QuestionCircleOutlined.js\");\n/* harmony import */ var _ant_design_icons__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @ant-design/icons */ \"./node_modules/@ant-design/icons/es/icons/CaretDownOutlined.js\");\n/* harmony import */ var _HLIcon_HLIcon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../HLIcon/HLIcon */ \"./src/HLIcon/HLIcon.js\");\n/* harmony import */ var _HLModal_HLModal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../HLModal/HLModal */ \"./src/HLModal/HLModal.js\");\n/* harmony import */ var _HLDescriptions_HLDescriptions__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../HLDescriptions/HLDescriptions */ \"./src/HLDescriptions/HLDescriptions.tsx\");\n/* harmony import */ var _HLPopover_HLPopover__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../HLPopover/HLPopover */ \"./src/HLPopover/HLPopover.tsx\");\n/* harmony import */ var _HLDropdown_HLDropdown__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../HLDropdown/HLDropdown */ \"./src/HLDropdown/HLDropdown.tsx\");\n/* harmony import */ var _HLTabs_HLTabs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../HLTabs/HLTabs */ \"./src/HLTabs/HLTabs.js\");\n/* harmony import */ var _HLPowerSearch_lib_utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../HLPowerSearch/lib/utils */ \"./src/HLPowerSearch/lib/utils.js\");\n/* harmony import */ var date_fns__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! date-fns */ \"./node_modules/date-fns/index.js\");\n/* harmony import */ var date_fns__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(date_fns__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! antd */ \"antd\");\n/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(antd__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _HLUserBox_module_css__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./HLUserBox.module.css */ \"./src/HLUserBox/HLUserBox.module.css\");\n/* harmony import */ var _HLTable_HLTable__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../HLTable/HLTable */ \"./src/HLTable/HLTable.js\");\n/* harmony import */ var _HLButton_HLButton__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../HLButton/HLButton */ \"./src/HLButton/HLButton.tsx\");\n/* harmony import */ var export_to_csv__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! export-to-csv */ \"./node_modules/export-to-csv/build/index.js\");\n/* harmony import */ var export_to_csv__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(export_to_csv__WEBPACK_IMPORTED_MODULE_13__);\n/* harmony import */ var _util_Util__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../util/Util */ \"./src/util/Util.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar TabPane = _HLTabs_HLTabs__WEBPACK_IMPORTED_MODULE_6__[\"default\"].TabPane;\nvar HLUserBox = function (props) {\n var _a, _b, _c, _d, _e, _f, _g;\n var user = props.user, tenant = props.tenant, _h = props.options, options = _h === void 0 ? [] : _h;\n var about = props.about ? props.about : { info: props.moduleInfo };\n var menuItens = [];\n var _j = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(false), aboutModalVisible = _j[0], setAboutModalVisible = _j[1];\n var aboutModalTitle = ((_b = (_a = props.options) === null || _a === void 0 ? void 0 : _a.find(function (item) { return item.role === 'about'; })) === null || _b === void 0 ? void 0 : _b.title) || 'Sobre';\n var iconStyle = { fontSize: '14px', marginRight: '9px', minWidth: '14px' };\n (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {\n var _a;\n (_a = about.kits) === null || _a === void 0 ? void 0 : _a.columns.sort(function (colA, colB) { var _a, _b; return (0,_util_Util__WEBPACK_IMPORTED_MODULE_14__.getCompare)((_a = colA.order) !== null && _a !== void 0 ? _a : 0, (_b = colB.order) !== null && _b !== void 0 ? _b : 0); });\n }, [about.kits]);\n var _firstLetter = function (word) {\n var _a;\n return (_a = word.charAt(0)) === null || _a === void 0 ? void 0 : _a.toUpperCase();\n };\n var handleMenuClick = function () {\n var _a;\n (_a = props.logout) === null || _a === void 0 ? void 0 : _a.call(props, props.user);\n };\n var _getUsername = function (user) {\n return user.name.length > 14 ? \"\".concat(user.name.substring(0, 9), \" ...\") : user.name;\n };\n user &&\n menuItens.push(react__WEBPACK_IMPORTED_MODULE_0___default().createElement(antd__WEBPACK_IMPORTED_MODULE_9__.Menu.Item, { disabled: true, key: \"menu-user\", className: \"\".concat(_HLUserBox_module_css__WEBPACK_IMPORTED_MODULE_10__[\"default\"][\"menu-item-tenant\"], \" \").concat(_HLUserBox_module_css__WEBPACK_IMPORTED_MODULE_10__[\"default\"][\"menu-item-read-only\"]) },\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_ant_design_icons__WEBPACK_IMPORTED_MODULE_15__[\"default\"], { style: iconStyle }),\n user.name,\n tenant ? \"@\".concat(tenant) : ''));\n (about === null || about === void 0 ? void 0 : about.info) &&\n menuItens.push(react__WEBPACK_IMPORTED_MODULE_0___default().createElement(antd__WEBPACK_IMPORTED_MODULE_9__.Menu.Item, { disabled: true, key: \"menu-version\", className: \"\".concat(_HLUserBox_module_css__WEBPACK_IMPORTED_MODULE_10__[\"default\"][\"menu-item-version\"], \" \").concat(_HLUserBox_module_css__WEBPACK_IMPORTED_MODULE_10__[\"default\"][\"menu-item-read-only\"]), style: { minWidth: '220px', cursor: 'default' } },\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_ant_design_icons__WEBPACK_IMPORTED_MODULE_16__[\"default\"], { style: iconStyle }), \"Vers\\u00E3o \".concat(about.info.version)));\n (user || (about === null || about === void 0 ? void 0 : about.info)) && menuItens.push(react__WEBPACK_IMPORTED_MODULE_0___default().createElement(antd__WEBPACK_IMPORTED_MODULE_9__.Menu.Divider, { key: 'main-divider' }));\n options === null || options === void 0 ? void 0 : options.forEach(function (i, idx) {\n switch (i.role) {\n case 'about':\n menuItens.push(react__WEBPACK_IMPORTED_MODULE_0___default().createElement(antd__WEBPACK_IMPORTED_MODULE_9__.Menu.Item, { key: \"menu-\".concat(idx), onClick: function () { return setAboutModalVisible(true); }, style: { minWidth: '220px' } },\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"span\", null,\n i.icon && react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HLIcon_HLIcon__WEBPACK_IMPORTED_MODULE_1__[\"default\"], { type: i.icon, style: iconStyle }),\n i.title)));\n break;\n case 'logout':\n menuItens.push(react__WEBPACK_IMPORTED_MODULE_0___default().createElement(antd__WEBPACK_IMPORTED_MODULE_9__.Menu.Divider, { key: \"divider-\".concat(idx) }));\n menuItens.push(react__WEBPACK_IMPORTED_MODULE_0___default().createElement(antd__WEBPACK_IMPORTED_MODULE_9__.Menu.Item, { key: \"menu-\".concat(idx), onClick: i.onClick, style: { minWidth: '220px', cursor: i.onClick == null ? 'default' : '' } },\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"span\", null,\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_ant_design_icons__WEBPACK_IMPORTED_MODULE_17__[\"default\"], { style: iconStyle }),\n i.title)));\n break;\n default:\n menuItens.push(react__WEBPACK_IMPORTED_MODULE_0___default().createElement(antd__WEBPACK_IMPORTED_MODULE_9__.Menu.Item, { key: \"menu-\".concat(idx), onClick: i.onClick, style: { minWidth: '220px', cursor: i.onClick == null ? 'default' : '' } },\n i.icon && react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HLIcon_HLIcon__WEBPACK_IMPORTED_MODULE_1__[\"default\"], { type: i.icon, style: iconStyle }),\n i.title));\n }\n });\n var menu = react__WEBPACK_IMPORTED_MODULE_0___default().createElement(antd__WEBPACK_IMPORTED_MODULE_9__.Menu, { className: _HLUserBox_module_css__WEBPACK_IMPORTED_MODULE_10__[\"default\"][\"avatar-menu\"] }, menuItens);\n var descriptionsItem = function (label, value, description) { return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", null,\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", { className: _HLUserBox_module_css__WEBPACK_IMPORTED_MODULE_10__[\"default\"][\"descriptions-item\"] },\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", null,\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"span\", { className: _HLUserBox_module_css__WEBPACK_IMPORTED_MODULE_10__[\"default\"].label }, label),\n description && (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HLPopover_HLPopover__WEBPACK_IMPORTED_MODULE_4__[\"default\"], { placement: \"right\", trigger: \"click\", content: react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", { className: _HLUserBox_module_css__WEBPACK_IMPORTED_MODULE_10__[\"default\"][\"descriptions-popover\"] }, description) },\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_ant_design_icons__WEBPACK_IMPORTED_MODULE_18__[\"default\"], { className: _HLUserBox_module_css__WEBPACK_IMPORTED_MODULE_10__[\"default\"][\"help-icon\"] })))),\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", { className: _HLUserBox_module_css__WEBPACK_IMPORTED_MODULE_10__[\"default\"].value }, value)))); };\n var aboutModal = (about === null || about === void 0 ? void 0 : about.info) ? (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HLModal_HLModal__WEBPACK_IMPORTED_MODULE_2__[\"default\"], { title: aboutModalTitle, visible: aboutModalVisible, onCancel: function () { return setAboutModalVisible(false); }, footer: null, className: _HLUserBox_module_css__WEBPACK_IMPORTED_MODULE_10__[\"default\"][\"hl-modal-about\"] },\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"h2\", null,\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"strong\", null, about.info.name),\n \" - \",\n about.info.version),\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"p\", null, about.info.description),\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HLTabs_HLTabs__WEBPACK_IMPORTED_MODULE_6__[\"default\"], { defaultActiveKey: \"1\" },\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(TabPane, { key: \"1\", tab: (_c = about.info.tab) !== null && _c !== void 0 ? _c : 'Versões' },\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HLDescriptions_HLDescriptions__WEBPACK_IMPORTED_MODULE_3__[\"default\"], { column: 2 },\n descriptionsItem('Build em', (0,date_fns__WEBPACK_IMPORTED_MODULE_8__.format)(about.info.buildDate, _HLPowerSearch_lib_utils__WEBPACK_IMPORTED_MODULE_7__.General.brazilianFormatWithHours)), (_d = about.info.thirdPartyLibrariesInfo) === null || _d === void 0 ? void 0 :\n _d.filter(function (item) { return item.version; }).map(function (item) { return descriptionsItem(item.name, \"Vers\\u00E3o \".concat(item.version), item.description); }),\n about.info.databaseVersion &&\n descriptionsItem('Banco de Dados', \"Vers\\u00E3o \".concat(about.info.databaseVersion.replace('Oracle Database ', '').replace(' - Production', ''))))),\n (about === null || about === void 0 ? void 0 : about.kits) && (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(TabPane, { key: \"2\", tab: (_e = about.kits.tab) !== null && _e !== void 0 ? _e : 'Kits' },\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(antd__WEBPACK_IMPORTED_MODULE_9__.Row, { style: { marginBottom: '10px' } },\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"h4\", null,\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"strong\", null, \"Visualiza\\u00E7\\u00E3o dos Kits Aplicados\")),\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HLButton_HLButton__WEBPACK_IMPORTED_MODULE_12__[\"default\"], { icon: \"DownloadOutlined\", tooltip: \"Download da Tabela\", style: { marginLeft: 'auto' }, onClick: function () {\n var _a, _b;\n var headersTitles = (_a = about.kits) === null || _a === void 0 ? void 0 : _a.columns.map(function (column) { return column.title; });\n var dataOrderedByColumns = (_b = about.kits) === null || _b === void 0 ? void 0 : _b.dataSource.map(function (row) { var _a; return (_a = about.kits) === null || _a === void 0 ? void 0 : _a.columns.map(function (column) { return row[column.dataIndex]; }); });\n var csvExporter = new export_to_csv__WEBPACK_IMPORTED_MODULE_13__.ExportToCsv({\n filename: 'kits',\n headers: headersTitles,\n showLabels: true,\n fieldSeparator: ';',\n });\n csvExporter.generateCsv(dataOrderedByColumns);\n } }, \"Download\")),\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HLTable_HLTable__WEBPACK_IMPORTED_MODULE_11__[\"default\"], { pagination: { pageSize: 5 }, hideActionBar: true, locale: { emptyText: react__WEBPACK_IMPORTED_MODULE_0___default().createElement(antd__WEBPACK_IMPORTED_MODULE_9__.Empty, { image: antd__WEBPACK_IMPORTED_MODULE_9__.Empty.PRESENTED_IMAGE_SIMPLE }) }, columns: (_f = about.kits.columns) !== null && _f !== void 0 ? _f : [], dataSource: (_g = about.kits.dataSource) !== null && _g !== void 0 ? _g : [] })))))) : (react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null));\n return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", { className: _HLUserBox_module_css__WEBPACK_IMPORTED_MODULE_10__[\"default\"][\"hl-userbox\"], style: props.sysStatus ? undefined : { width: '75px' } }, user ? ( //se o objeto user não foi passado, significa que não haverá usuário na sessão e por isso nada deve ser renderizado\n user.name ? ( // se o objeto foi passado mas o atributo 'name' ainda está vazio, o Spin deve ser exibido até o valor ser carregado\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null,\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HLDropdown_HLDropdown__WEBPACK_IMPORTED_MODULE_5__[\"default\"], { className: _HLUserBox_module_css__WEBPACK_IMPORTED_MODULE_10__[\"default\"].container, overlay: menu, placement: \"bottomRight\" },\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", null,\n user.avatar ? (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(antd__WEBPACK_IMPORTED_MODULE_9__.Avatar, { size: \"small\", src: user.avatar, className: _HLUserBox_module_css__WEBPACK_IMPORTED_MODULE_10__[\"default\"].avatar })) : (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(antd__WEBPACK_IMPORTED_MODULE_9__.Avatar, { size: \"small\", className: _HLUserBox_module_css__WEBPACK_IMPORTED_MODULE_10__[\"default\"].avatar }, _firstLetter(user.name))),\n react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_ant_design_icons__WEBPACK_IMPORTED_MODULE_19__[\"default\"], { className: _HLUserBox_module_css__WEBPACK_IMPORTED_MODULE_10__[\"default\"].icon }))),\n aboutModal)) : (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(antd__WEBPACK_IMPORTED_MODULE_9__.Spin, { size: \"small\", style: { marginLeft: 8, marginRight: 8 } }))) : null));\n};\nHLUserBox.displayName = 'HLUserBox';\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (HLUserBox);\n\n\n//# sourceURL=webpack://synchro-helena/./src/HLUserBox/HLUserBox.tsx?");
34031
34053
 
34032
34054
  /***/ }),
34033
34055