0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 18.221.217.100


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/75.75a9b8e5.chunk.js.map

{"version":3,"sources":["pages/Dashboard/Dashboard.js","actions/dashboard.js","actions/utils/getNotifications.js","../node_modules/semantic-ui-react/dist/es/collections/Message/MessageContent.js","../node_modules/semantic-ui-react/dist/es/collections/Message/MessageHeader.js","../node_modules/semantic-ui-react/dist/es/collections/Message/MessageItem.js","../node_modules/semantic-ui-react/dist/es/collections/Message/MessageList.js","../node_modules/semantic-ui-react/dist/es/collections/Message/Message.js","../node_modules/semantic-ui-react/dist/es/views/Statistic/StatisticGroup.js","../node_modules/semantic-ui-react/dist/es/views/Statistic/StatisticLabel.js","../node_modules/semantic-ui-react/dist/es/views/Statistic/StatisticValue.js","../node_modules/semantic-ui-react/dist/es/views/Statistic/Statistic.js","../node_modules/os-browserify/browser.js"],"names":["Dashboard","this","props","getDashBoardDet","getNotifications","prevProps","console","log","user","funivcode","fcuruniv","renderDashboard","_this$props$dashboard","dashboard","pget","fregcnt","finalsubcnt","fappcnt","fpaidcnt","subpget","total","react_default","a","createElement","Card","fluid","Header","as","textAlign","style","marginTop","Statistic","Group","widths","Value","Label","Table","celled","padded","selectable","Row","HeaderCell","colSpan","width","singleLine","Body","map","el","i","parseInt","studcount","key","Cell","fdegree1","fdescpn","studinfo","msgs","list","notifList","fname","wheight","wHeight","API","msg","filter","college_code","notice","fnotice","undefined","message","fmsg","className","paddingRight","Content","Description","height","concat","overflowY","Message","floating","info","Link","to","dangerouslySetInnerHTML","__html","Component","connect","state","dashboardNotifList","allNotifications","notification","_ref","Object","asyncToGenerator","regenerator_default","mark","_callee","dispatch","getState","response","wrap","_context","prev","next","type","univadmin","get","params","univcode","univ","sent","data","error_code","payload","stop","_x","_x2","apply","arguments","fyear","_error2","fcurType","fcurtype","fdeggrp","error","header","content","showError","MessageContent","children","classes","classnames_default","rest","getUnhandledProps","ElementType","getElementType","extends_default","lib","isNil","handledProps","propTypes","Message_MessageContent","MessageHeader","create","factories","val","Message_MessageHeader","MessageItem","defaultProps","Message_MessageItem","MessageList","items","map_default","Message_MessageList","__webpack_require__","d","__webpack_exports__","Message_Message","_Component","_getPrototypeOf2","_this","classCallCheck_default","_len","length","args","Array","_key","possibleConstructorReturn_default","getPrototypeOf_default","call","defineProperty_default","assertThisInitialized_default","e","onDismiss","inherits_default","createClass_default","value","_this$props","attached","color","compact","hidden","icon","negative","positive","size","success","visible","warning","classNameBuilders","dismissIcon","Icon","name","onClick","handleDismiss","autoGenerateKey","isNil_default","react","StatisticGroup","horizontal","inverted","item","Statistic_Statistic","Statistic_StatisticGroup","StatisticLabel","Statistic_StatisticLabel","StatisticValue","text","Statistic_StatisticValue","floated","label","exports","endianness","hostname","location","loadavg","uptime","freemem","Number","MAX_VALUE","totalmem","cpus","release","navigator","appVersion","networkInterfaces","getNetworkInterfaces","arch","platform","tmpdir","tmpDir","EOL","homedir"],"mappings":"2SAQMA,sTAEIC,KAAKC,MAAMC,yBACjBF,KAAKC,MAAME,gKAGMC,GACjBC,QAAQC,IAAIN,KAAKC,MAAMM,KAAKC,UAAWJ,EAAUG,KAAKC,WAClDR,KAAKC,MAAMM,KAAKE,WAAaL,EAAUG,KAAKE,WAC9CT,KAAKC,MAAMC,kBACXF,KAAKC,MAAME,qDAOb,OAAOH,KAAKU,gEAGQ,IAAAC,EAMhBX,KAAKC,MAAMW,UAAUC,KAAK,GAJ5BC,EAFkBH,EAElBG,QAEAC,GAJkBJ,EAGlBK,QAHkBL,EAIlBI,aACAE,EALkBN,EAKlBM,SAGIC,EAAUlB,KAAKC,MAAMW,UAAUM,QACjCC,EAAQ,EAEZ,OACEC,EAAAC,EAAAC,cAAA,WACEF,EAAAC,EAAAC,cAACC,EAAA,EAAD,CAAMC,OAAK,GACTJ,EAAAC,EAAAC,cAACG,EAA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,EAAAW,QAAA,WACA,2BAAAC,UACAA,UAAAC,WAGA,IAGAb,EAAAc,kBAAAd,EAAAe,qBAAA,WACA,UAGAf,EAAAgB,KAAA,WACA,oBAGAhB,EAAAiB,SAAA,WACA,iBAGAjB,EAAAkB,OAAAlB,EAAAmB,OAAA,WACA,cAGAnB,EAAAoB,IAAA,KAEApB,EAAAqB,QAAA,WACA","file":"static/js/75.75a9b8e5.chunk.js","sourcesContent":["import React, { Component } from \"react\";\nimport { Card, Table, Statistic, Header, Message } from \"semantic-ui-react\";\nimport { Link } from \"react-router-dom\";\nimport { connect } from \"react-redux\";\nimport { getDashBoardDet } from \"../../actions/dashboard\";\nimport { moneyFormatIndia, wHeight } from \"../parms\";\nimport { getNotifications } from \"../../actions/utils/getNotifications\";\nimport { API } from \"../../apis/consts\";\nclass Dashboard extends Component {\n  async componentDidMount() {\n    await this.props.getDashBoardDet();\n    this.props.getNotifications();\n  }\n\n  componentDidUpdate(prevProps) {\n    console.log(this.props.user.funivcode, prevProps.user.funivcode);\n    if (this.props.user.fcuruniv !== prevProps.user.fcuruniv) {\n      this.props.getDashBoardDet();\n      this.props.getNotifications();\n    }\n  }\n\n  render() {\n    // if (this.props.user.fcurtype == \"304\") return this.renderPgetDashboard();\n    // else\n    return this.renderDashboard();\n  }\n\n  renderPgetDashboard() {\n    const {\n      fregcnt,\n      fappcnt,\n      finalsubcnt,\n      fpaidcnt\n    } = this.props.dashboard.pget[0];\n\n    const subpget = this.props.dashboard.subpget;\n    let total = 0;\n\n    return (\n      <div>\n        <Card fluid>\n          <Header as={\"h2\"} textAlign=\"center\" style={{ marginTop: \"1em\" }}>\n            Student Counts\n          </Header>\n          <Statistic.Group widths={3}>\n            <Statistic>\n              <Statistic.Value>{fregcnt}</Statistic.Value>\n              <Statistic.Label>Registered Student</Statistic.Label>\n            </Statistic>\n\n            <Statistic>\n              <Statistic.Value>{finalsubcnt}</Statistic.Value>\n              <Statistic.Label>Applied Sudent Count</Statistic.Label>\n            </Statistic>\n\n            <Statistic>\n              <Statistic.Value>{fpaidcnt}</Statistic.Value>\n              <Statistic.Label>Paid Student Count</Statistic.Label>\n            </Statistic>\n          </Statistic.Group>\n\n          <Table celled padded selectable>\n            <Table.Header>\n              <Table.Row>\n                <Table.HeaderCell colSpan=\"6\">\n                  Degree Wise Student Count\n                </Table.HeaderCell>\n              </Table.Row>\n              <Table.Row>\n                <Table.HeaderCell\n                  style={{ width: \"5%\" }}\n                  singleLine\n                  textAlign=\"center\"\n                >\n                  Sl. No.\n                </Table.HeaderCell>\n                <Table.HeaderCell style={{ width: \"10%\" }} textAlign=\"center\">\n                  Degree\n                </Table.HeaderCell>\n                <Table.HeaderCell textAlign=\"center\">\n                  Description\n                </Table.HeaderCell>\n                <Table.HeaderCell style={{ width: \"10%\" }} textAlign=\"center\">\n                  Student Count\n                </Table.HeaderCell>\n              </Table.Row>\n            </Table.Header>\n            <Table.Body>\n              {subpget.map((el, i) => {\n                total += parseInt(el.studcount);\n                return (\n                  <Table.Row key={i}>\n                    <Table.Cell textAlign=\"center\">{i + 1}</Table.Cell>\n                    <Table.Cell textAlign=\"center\">{el.fdegree1}</Table.Cell>\n                    <Table.Cell>{el.fdescpn}</Table.Cell>\n                    <Table.Cell textAlign=\"center\">{el.studcount}</Table.Cell>\n                  </Table.Row>\n                );\n              })}\n              <Table.Row key={100}>\n                <Table.Cell colSpan=\"3\" textAlign=\"center\">\n                  <b>Total</b>\n                </Table.Cell>\n                <Table.Cell textAlign=\"center\">{total}</Table.Cell>\n              </Table.Row>\n            </Table.Body>\n          </Table>\n        </Card>\n      </div>\n    );\n  }\n\n  renderDashboard() {\n    const { studinfo } = this.props.dashboard;\n    const { msgs } = this.props.dashboard;\n    console.log(msgs);\n    const list = this.props.notifList;\n    const { fname } = this.props.user;\n    const wheight = wHeight();\n    console.log(\"LIST\", list);\n    let iframeSrc = API + \"/upload/26122019123856_ttt.jpg\";\n    let msg = msgs.filter(el => el.college_code == 0)[0];\n    let notice = msgs.filter(el => el.college_code == 1)[0];\n\n    const fnotice = notice == undefined ? \"<div></div>\" : notice.message;\n    const fmsg = msg == undefined ? \"<div></div>\" : msg.message;\n    return (\n      <div>\n        <div className=\"ui grid\">\n          <div className=\"eleven wide column\" style={{ paddingRight: \"0px\" }}>\n            <Card fluid>\n              <Card.Content>\n                <Card.Header>Welcome {fname}, to Uniclare</Card.Header>\n                <br />\n                <Card.Description\n                  style={{ height: `${wheight + 18}px`, overflowY: \"auto\" }}\n                >\n                  <Message floating={true} info={true}>\n                    <Message.Header> Group Messaging</Message.Header>\n                    <p>\n                      Checkout our new functionality Group Messaging click{\" \"}\n                      <Link to=\"/utils/message-board\">Here</Link>\n                    </p>\n                  </Message>\n                  <div\n                    dangerouslySetInnerHTML={{\n                      __html: fnotice\n                    }}\n                  />\n                </Card.Description>\n              </Card.Content>\n            </Card>\n          </div>\n          <div className=\"five wide column\">\n            <Card fluid>\n              <Card.Content>\n                <Card.Header>Message Board</Card.Header>\n                <br />\n                <Card.Description\n                  style={{ height: `${wheight + 18}px`, overflowY: \"auto\" }}\n                >\n                  <div\n                    dangerouslySetInnerHTML={{\n                      __html: fmsg\n                    }}\n                  />\n                </Card.Description>\n              </Card.Content>\n            </Card>\n          </div>\n        </div>\n      </div>\n    );\n  }\n}\n\nconst mapStateToProps = state => {\n  return {\n    user: state.user,\n    dashboard: state.dashboard,\n    notifList: state.dashboardNotifList,\n    allNotifications: state.dashboard.notification\n  };\n};\n\nexport default connect(\n  mapStateToProps,\n  { getDashBoardDet, getNotifications }\n)(Dashboard);\n","import univadmin from \"../apis/univadmin\";\nimport { showError } from \"./index\";\n\nexport const getDashBoardDet = () => {\n  return async (dispatch, getState) => {\n    const state = getState();\n    dispatch({\n      type: \"SET_LOADER\"\n    });\n\n    const response = await univadmin.get(\"/app.php\", {\n      params: {\n        a: \"getDashboardInfo\",\n        univcode: state.univ.funivcode,\n        user: state.user\n      }\n    });\n\n    dispatch({\n      type: \"UNSET_LOADER\"\n    });\n\n    if (typeof response.data !== \"object\") {\n      const error = { header: \"Error\", content: \"Something went wrong\" };\n      // dispatch(showError(error));\n    } else if (response.data.error_code === -1) {\n      const error = { header: \"Error\", content: response.data.data.msg };\n      // dispatch(showError(error));\n    } else {\n      dispatch({\n        type: \"GET_DASHBOARD\",\n        payload: response.data\n      });\n    }\n  };\n};\n","import univadmin from \"../../apis/univadmin\";\nimport { showError } from \"../index\";\nimport { type } from \"os\";\n\nexport const getNotifications = fyear => {\n  return async (dispatch, getState) => {\n    const state = getState();\n    // dispatch({\n    //   type: \"SET_LOADER\"\n    // });\n    console.log(state);\n\n    const response = await univadmin.get(\"/app.php\", {\n      params: {\n        a: \"getNotificationList\",\n        univcode: state.univ.funivcode,\n        fcurType: state.user.fcurtype,\n        fdeggrp: state.user.fdeggrp\n      }\n    });\n    console.log(\"response list\", response);\n    // dispatch({\n    //   type: \"UNSET_LOADER\"\n    // });\n\n    // });\n    if (typeof response.data !== \"object\") {\n      const error = { header: \"Error\", content: \"Something went wrong.\" };\n      // dispatch(showError(error));\n    } else if (response.data.error_code === -1) {\n      const error = { header: \"Error\", content: response.data.data.msg };\n      // dispatch(showError(error));\n    } else if (response.data.error_code === 0) {\n      const error = { header: \"Success\", content: response.data.data.msg };\n      dispatch(showError(error));\n    } else {\n      dispatch({\n        type: \"NOTIF_LIST\",\n        payload: response.data\n      });\n    }\n  };\n};\n","import _extends from \"@babel/runtime/helpers/extends\";\nimport cx from 'classnames';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { childrenUtils, customPropTypes, getElementType, getUnhandledProps } from '../../lib';\n/**\n * A message can contain a content.\n */\n\nfunction MessageContent(props) {\n  var children = props.children,\n      className = props.className,\n      content = props.content;\n  var classes = cx('content', className);\n  var rest = getUnhandledProps(MessageContent, props);\n  var ElementType = getElementType(MessageContent, props);\n  return React.createElement(ElementType, _extends({}, rest, {\n    className: classes\n  }), childrenUtils.isNil(children) ? content : children);\n}\n\nMessageContent.handledProps = [\"as\", \"children\", \"className\", \"content\"];\nMessageContent.propTypes = process.env.NODE_ENV !== \"production\" ? {\n  /** An element type to render as (string or function). */\n  as: customPropTypes.as,\n\n  /** Primary content. */\n  children: PropTypes.node,\n\n  /** Additional classes. */\n  className: PropTypes.string,\n\n  /** Shorthand for primary content. */\n  content: customPropTypes.contentShorthand\n} : {};\nexport default MessageContent;","import _extends from \"@babel/runtime/helpers/extends\";\nimport cx from 'classnames';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { childrenUtils, createShorthandFactory, customPropTypes, getElementType, getUnhandledProps } from '../../lib';\n/**\n * A message can contain a header.\n */\n\nfunction MessageHeader(props) {\n  var children = props.children,\n      className = props.className,\n      content = props.content;\n  var classes = cx('header', className);\n  var rest = getUnhandledProps(MessageHeader, props);\n  var ElementType = getElementType(MessageHeader, props);\n  return React.createElement(ElementType, _extends({}, rest, {\n    className: classes\n  }), childrenUtils.isNil(children) ? content : children);\n}\n\nMessageHeader.handledProps = [\"as\", \"children\", \"className\", \"content\"];\nMessageHeader.propTypes = process.env.NODE_ENV !== \"production\" ? {\n  /** An element type to render as (string or function). */\n  as: customPropTypes.as,\n\n  /** Primary content. */\n  children: PropTypes.node,\n\n  /** Additional classes. */\n  className: PropTypes.string,\n\n  /** Shorthand for primary content. */\n  content: customPropTypes.contentShorthand\n} : {};\nMessageHeader.create = createShorthandFactory(MessageHeader, function (val) {\n  return {\n    content: val\n  };\n});\nexport default MessageHeader;","import _extends from \"@babel/runtime/helpers/extends\";\nimport cx from 'classnames';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { childrenUtils, createShorthandFactory, customPropTypes, getElementType, getUnhandledProps } from '../../lib';\n/**\n * A message list can contain an item.\n */\n\nfunction MessageItem(props) {\n  var children = props.children,\n      className = props.className,\n      content = props.content;\n  var classes = cx('content', className);\n  var rest = getUnhandledProps(MessageItem, props);\n  var ElementType = getElementType(MessageItem, props);\n  return React.createElement(ElementType, _extends({}, rest, {\n    className: classes\n  }), childrenUtils.isNil(children) ? content : children);\n}\n\nMessageItem.handledProps = [\"as\", \"children\", \"className\", \"content\"];\nMessageItem.propTypes = process.env.NODE_ENV !== \"production\" ? {\n  /** An element type to render as (string or function). */\n  as: customPropTypes.as,\n\n  /** Primary content. */\n  children: PropTypes.node,\n\n  /** Additional classes. */\n  className: PropTypes.string,\n\n  /** Shorthand for primary content. */\n  content: customPropTypes.contentShorthand\n} : {};\nMessageItem.defaultProps = {\n  as: 'li'\n};\nMessageItem.create = createShorthandFactory(MessageItem, function (content) {\n  return {\n    content: content\n  };\n});\nexport default MessageItem;","import _extends from \"@babel/runtime/helpers/extends\";\nimport _map from \"lodash/map\";\nimport cx from 'classnames';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { childrenUtils, createShorthandFactory, customPropTypes, getElementType, getUnhandledProps } from '../../lib';\nimport MessageItem from './MessageItem';\n/**\n * A message can contain a list of items.\n */\n\nfunction MessageList(props) {\n  var children = props.children,\n      className = props.className,\n      items = props.items;\n  var classes = cx('list', className);\n  var rest = getUnhandledProps(MessageList, props);\n  var ElementType = getElementType(MessageList, props);\n  return React.createElement(ElementType, _extends({}, rest, {\n    className: classes\n  }), childrenUtils.isNil(children) ? _map(items, MessageItem.create) : children);\n}\n\nMessageList.handledProps = [\"as\", \"children\", \"className\", \"items\"];\nMessageList.propTypes = process.env.NODE_ENV !== \"production\" ? {\n  /** An element type to render as (string or function). */\n  as: customPropTypes.as,\n\n  /** Primary content. */\n  children: PropTypes.node,\n\n  /** Additional classes. */\n  className: PropTypes.string,\n\n  /** Shorthand Message.Items. */\n  items: customPropTypes.collectionShorthand\n} : {};\nMessageList.defaultProps = {\n  as: 'ul'\n};\nMessageList.create = createShorthandFactory(MessageList, function (val) {\n  return {\n    items: val\n  };\n});\nexport default MessageList;","import _extends from \"@babel/runtime/helpers/extends\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _possibleConstructorReturn from \"@babel/runtime/helpers/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/assertThisInitialized\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport _isNil from \"lodash/isNil\";\nimport _without from \"lodash/without\";\nimport cx from 'classnames';\nimport PropTypes from 'prop-types';\nimport React, { Component } from 'react';\nimport { childrenUtils, createHTMLParagraph, customPropTypes, getElementType, getUnhandledProps, SUI, useKeyOnly, useKeyOrValueAndKey } from '../../lib';\nimport Icon from '../../elements/Icon';\nimport MessageContent from './MessageContent';\nimport MessageHeader from './MessageHeader';\nimport MessageList from './MessageList';\nimport MessageItem from './MessageItem';\n/**\n * A message displays information that explains nearby content.\n * @see Form\n */\n\nvar Message = /*#__PURE__*/function (_Component) {\n  _inherits(Message, _Component);\n\n  function Message() {\n    var _getPrototypeOf2;\n\n    var _this;\n\n    _classCallCheck(this, Message);\n\n    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n      args[_key] = arguments[_key];\n    }\n\n    _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(Message)).call.apply(_getPrototypeOf2, [this].concat(args)));\n\n    _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), \"handleDismiss\", function (e) {\n      var onDismiss = _this.props.onDismiss;\n      if (onDismiss) onDismiss(e, _this.props);\n    });\n\n    return _this;\n  }\n\n  _createClass(Message, [{\n    key: \"render\",\n    value: function render() {\n      var _this$props = this.props,\n          attached = _this$props.attached,\n          children = _this$props.children,\n          className = _this$props.className,\n          color = _this$props.color,\n          compact = _this$props.compact,\n          content = _this$props.content,\n          error = _this$props.error,\n          floating = _this$props.floating,\n          header = _this$props.header,\n          hidden = _this$props.hidden,\n          icon = _this$props.icon,\n          info = _this$props.info,\n          list = _this$props.list,\n          negative = _this$props.negative,\n          onDismiss = _this$props.onDismiss,\n          positive = _this$props.positive,\n          size = _this$props.size,\n          success = _this$props.success,\n          visible = _this$props.visible,\n          warning = _this$props.warning;\n      var classes = cx('ui', color, size, useKeyOnly(compact, 'compact'), useKeyOnly(error, 'error'), useKeyOnly(floating, 'floating'), useKeyOnly(hidden, 'hidden'), useKeyOnly(icon, 'icon'), useKeyOnly(info, 'info'), useKeyOnly(negative, 'negative'), useKeyOnly(positive, 'positive'), useKeyOnly(success, 'success'), useKeyOnly(visible, 'visible'), useKeyOnly(warning, 'warning'), useKeyOrValueAndKey(attached, 'attached'), 'message', className);\n      var dismissIcon = onDismiss && React.createElement(Icon, {\n        name: \"close\",\n        onClick: this.handleDismiss\n      });\n      var rest = getUnhandledProps(Message, this.props);\n      var ElementType = getElementType(Message, this.props);\n\n      if (!childrenUtils.isNil(children)) {\n        return React.createElement(ElementType, _extends({}, rest, {\n          className: classes\n        }), dismissIcon, children);\n      }\n\n      return React.createElement(ElementType, _extends({}, rest, {\n        className: classes\n      }), dismissIcon, Icon.create(icon, {\n        autoGenerateKey: false\n      }), (!_isNil(header) || !_isNil(content) || !_isNil(list)) && React.createElement(MessageContent, null, MessageHeader.create(header, {\n        autoGenerateKey: false\n      }), MessageList.create(list, {\n        autoGenerateKey: false\n      }), createHTMLParagraph(content, {\n        autoGenerateKey: false\n      })));\n    }\n  }]);\n\n  return Message;\n}(Component);\n\n_defineProperty(Message, \"Content\", MessageContent);\n\n_defineProperty(Message, \"Header\", MessageHeader);\n\n_defineProperty(Message, \"List\", MessageList);\n\n_defineProperty(Message, \"Item\", MessageItem);\n\n_defineProperty(Message, \"handledProps\", [\"as\", \"attached\", \"children\", \"className\", \"color\", \"compact\", \"content\", \"error\", \"floating\", \"header\", \"hidden\", \"icon\", \"info\", \"list\", \"negative\", \"onDismiss\", \"positive\", \"size\", \"success\", \"visible\", \"warning\"]);\n\nexport { Message as default };\nMessage.propTypes = process.env.NODE_ENV !== \"production\" ? {\n  /** An element type to render as (string or function). */\n  as: customPropTypes.as,\n\n  /** A message can be formatted to attach itself to other content. */\n  attached: PropTypes.oneOfType([PropTypes.bool, PropTypes.oneOf(['bottom', 'top'])]),\n\n  /** Primary content. */\n  children: PropTypes.node,\n\n  /** Additional classes. */\n  className: PropTypes.string,\n\n  /** A message can be formatted to be different colors. */\n  color: PropTypes.oneOf(SUI.COLORS),\n\n  /** A message can only take up the width of its content. */\n  compact: PropTypes.bool,\n\n  /** Shorthand for primary content. */\n  content: customPropTypes.contentShorthand,\n\n  /** A message may be formatted to display a negative message. Same as `negative`. */\n  error: PropTypes.bool,\n\n  /** A message can float above content that it is related to. */\n  floating: PropTypes.bool,\n\n  /** Shorthand for MessageHeader. */\n  header: customPropTypes.itemShorthand,\n\n  /** A message can be hidden. */\n  hidden: PropTypes.bool,\n\n  /** A message can contain an icon. */\n  icon: PropTypes.oneOfType([customPropTypes.itemShorthand, PropTypes.bool]),\n\n  /** A message may be formatted to display information. */\n  info: PropTypes.bool,\n\n  /** Array shorthand items for the MessageList. Mutually exclusive with children. */\n  list: customPropTypes.collectionShorthand,\n\n  /** A message may be formatted to display a negative message. Same as `error`. */\n  negative: PropTypes.bool,\n\n  /**\n   * A message that the user can choose to hide.\n   * Called when the user clicks the \"x\" icon. This also adds the \"x\" icon.\n   *\n   * @param {SyntheticEvent} event - React's original SyntheticEvent.\n   * @param {object} data - All props.\n   */\n  onDismiss: PropTypes.func,\n\n  /** A message may be formatted to display a positive message.  Same as `success`. */\n  positive: PropTypes.bool,\n\n  /** A message can have different sizes. */\n  size: PropTypes.oneOf(_without(SUI.SIZES, 'medium')),\n\n  /** A message may be formatted to display a positive message.  Same as `positive`. */\n  success: PropTypes.bool,\n\n  /** A message can be set to visible to force itself to be shown. */\n  visible: PropTypes.bool,\n\n  /** A message may be formatted to display warning messages. */\n  warning: PropTypes.bool\n} : {};","import _extends from \"@babel/runtime/helpers/extends\";\nimport _without from \"lodash/without\";\nimport _map from \"lodash/map\";\nimport cx from 'classnames';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { childrenUtils, customPropTypes, getElementType, getUnhandledProps, SUI, useKeyOnly, useWidthProp } from '../../lib';\nimport Statistic from './Statistic';\n/**\n * A group of statistics.\n */\n\nfunction StatisticGroup(props) {\n  var children = props.children,\n      className = props.className,\n      color = props.color,\n      content = props.content,\n      horizontal = props.horizontal,\n      inverted = props.inverted,\n      items = props.items,\n      size = props.size,\n      widths = props.widths;\n  var classes = cx('ui', color, size, useKeyOnly(horizontal, 'horizontal'), useKeyOnly(inverted, 'inverted'), useWidthProp(widths), 'statistics', className);\n  var rest = getUnhandledProps(StatisticGroup, props);\n  var ElementType = getElementType(StatisticGroup, props);\n\n  if (!childrenUtils.isNil(children)) {\n    return React.createElement(ElementType, _extends({}, rest, {\n      className: classes\n    }), children);\n  }\n\n  if (!childrenUtils.isNil(content)) {\n    return React.createElement(ElementType, _extends({}, rest, {\n      className: classes\n    }), content);\n  }\n\n  return React.createElement(ElementType, _extends({}, rest, {\n    className: classes\n  }), _map(items, function (item) {\n    return Statistic.create(item);\n  }));\n}\n\nStatisticGroup.handledProps = [\"as\", \"children\", \"className\", \"color\", \"content\", \"horizontal\", \"inverted\", \"items\", \"size\", \"widths\"];\nStatisticGroup.propTypes = process.env.NODE_ENV !== \"production\" ? {\n  /** An element type to render as (string or function). */\n  as: customPropTypes.as,\n\n  /** Primary content. */\n  children: PropTypes.node,\n\n  /** Additional classes. */\n  className: PropTypes.string,\n\n  /** A statistic group can be formatted to be different colors. */\n  color: PropTypes.oneOf(SUI.COLORS),\n\n  /** Shorthand for primary content. */\n  content: customPropTypes.contentShorthand,\n\n  /** A statistic group can present its measurement horizontally. */\n  horizontal: PropTypes.bool,\n\n  /** A statistic group can be formatted to fit on a dark background. */\n  inverted: PropTypes.bool,\n\n  /** Array of props for Statistic. */\n  items: customPropTypes.collectionShorthand,\n\n  /** A statistic group can vary in size. */\n  size: PropTypes.oneOf(_without(SUI.SIZES, 'big', 'massive', 'medium')),\n\n  /** A statistic group can have its items divided evenly. */\n  widths: PropTypes.oneOf(SUI.WIDTHS)\n} : {};\nexport default StatisticGroup;","import _extends from \"@babel/runtime/helpers/extends\";\nimport cx from 'classnames';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { childrenUtils, createShorthandFactory, customPropTypes, getElementType, getUnhandledProps } from '../../lib';\n/**\n * A statistic can contain a label to help provide context for the presented value.\n */\n\nfunction StatisticLabel(props) {\n  var children = props.children,\n      className = props.className,\n      content = props.content;\n  var classes = cx('label', className);\n  var rest = getUnhandledProps(StatisticLabel, props);\n  var ElementType = getElementType(StatisticLabel, props);\n  return React.createElement(ElementType, _extends({}, rest, {\n    className: classes\n  }), childrenUtils.isNil(children) ? content : children);\n}\n\nStatisticLabel.handledProps = [\"as\", \"children\", \"className\", \"content\"];\nStatisticLabel.propTypes = process.env.NODE_ENV !== \"production\" ? {\n  /** An element type to render as (string or function). */\n  as: customPropTypes.as,\n\n  /** Primary content. */\n  children: PropTypes.node,\n\n  /** Additional classes. */\n  className: PropTypes.string,\n\n  /** Shorthand for primary content. */\n  content: customPropTypes.contentShorthand\n} : {};\nStatisticLabel.create = createShorthandFactory(StatisticLabel, function (content) {\n  return {\n    content: content\n  };\n});\nexport default StatisticLabel;","import _extends from \"@babel/runtime/helpers/extends\";\nimport cx from 'classnames';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { childrenUtils, createShorthandFactory, customPropTypes, getElementType, getUnhandledProps, useKeyOnly } from '../../lib';\n/**\n * A statistic can contain a numeric, icon, image, or text value.\n */\n\nfunction StatisticValue(props) {\n  var children = props.children,\n      className = props.className,\n      content = props.content,\n      text = props.text;\n  var classes = cx(useKeyOnly(text, 'text'), 'value', className);\n  var rest = getUnhandledProps(StatisticValue, props);\n  var ElementType = getElementType(StatisticValue, props);\n  return React.createElement(ElementType, _extends({}, rest, {\n    className: classes\n  }), childrenUtils.isNil(children) ? content : children);\n}\n\nStatisticValue.handledProps = [\"as\", \"children\", \"className\", \"content\", \"text\"];\nStatisticValue.propTypes = process.env.NODE_ENV !== \"production\" ? {\n  /** An element type to render as (string or function). */\n  as: customPropTypes.as,\n\n  /** Primary content. */\n  children: PropTypes.node,\n\n  /** Additional classes. */\n  className: PropTypes.string,\n\n  /** Shorthand for primary content. */\n  content: customPropTypes.contentShorthand,\n\n  /** Format the value with smaller font size to fit nicely beside number values. */\n  text: PropTypes.bool\n} : {};\nStatisticValue.create = createShorthandFactory(StatisticValue, function (content) {\n  return {\n    content: content\n  };\n});\nexport default StatisticValue;","import _extends from \"@babel/runtime/helpers/extends\";\nimport _without from \"lodash/without\";\nimport cx from 'classnames';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { childrenUtils, createShorthandFactory, customPropTypes, getElementType, getUnhandledProps, SUI, useKeyOnly, useValueAndKey } from '../../lib';\nimport StatisticGroup from './StatisticGroup';\nimport StatisticLabel from './StatisticLabel';\nimport StatisticValue from './StatisticValue';\n/**\n * A statistic emphasizes the current value of an attribute.\n */\n\nfunction Statistic(props) {\n  var children = props.children,\n      className = props.className,\n      color = props.color,\n      content = props.content,\n      floated = props.floated,\n      horizontal = props.horizontal,\n      inverted = props.inverted,\n      label = props.label,\n      size = props.size,\n      text = props.text,\n      value = props.value;\n  var classes = cx('ui', color, size, useValueAndKey(floated, 'floated'), useKeyOnly(horizontal, 'horizontal'), useKeyOnly(inverted, 'inverted'), 'statistic', className);\n  var rest = getUnhandledProps(Statistic, props);\n  var ElementType = getElementType(Statistic, props);\n\n  if (!childrenUtils.isNil(children)) {\n    return React.createElement(ElementType, _extends({}, rest, {\n      className: classes\n    }), children);\n  }\n\n  if (!childrenUtils.isNil(content)) {\n    return React.createElement(ElementType, _extends({}, rest, {\n      className: classes\n    }), content);\n  }\n\n  return React.createElement(ElementType, _extends({}, rest, {\n    className: classes\n  }), StatisticValue.create(value, {\n    defaultProps: {\n      text: text\n    },\n    autoGenerateKey: false\n  }), StatisticLabel.create(label, {\n    autoGenerateKey: false\n  }));\n}\n\nStatistic.handledProps = [\"as\", \"children\", \"className\", \"color\", \"content\", \"floated\", \"horizontal\", \"inverted\", \"label\", \"size\", \"text\", \"value\"];\nStatistic.propTypes = process.env.NODE_ENV !== \"production\" ? {\n  /** An element type to render as (string or function). */\n  as: customPropTypes.as,\n\n  /** Primary content. */\n  children: PropTypes.node,\n\n  /** Additional classes. */\n  className: PropTypes.string,\n\n  /** A statistic can be formatted to be different colors. */\n  color: PropTypes.oneOf(SUI.COLORS),\n\n  /** Shorthand for primary content. */\n  content: customPropTypes.contentShorthand,\n\n  /** A statistic can sit to the left or right of other content. */\n  floated: PropTypes.oneOf(SUI.FLOATS),\n\n  /** A statistic can present its measurement horizontally. */\n  horizontal: PropTypes.bool,\n\n  /** A statistic can be formatted to fit on a dark background. */\n  inverted: PropTypes.bool,\n\n  /** Label content of the Statistic. */\n  label: customPropTypes.contentShorthand,\n\n  /** A statistic can vary in size. */\n  size: PropTypes.oneOf(_without(SUI.SIZES, 'big', 'massive', 'medium')),\n\n  /** Format the StatisticValue with smaller font size to fit nicely beside number values. */\n  text: PropTypes.bool,\n\n  /** Value content of the Statistic. */\n  value: customPropTypes.contentShorthand\n} : {};\nStatistic.Group = StatisticGroup;\nStatistic.Label = StatisticLabel;\nStatistic.Value = StatisticValue;\nStatistic.create = createShorthandFactory(Statistic, function (content) {\n  return {\n    content: content\n  };\n});\nexport default Statistic;","exports.endianness = function () {\n  return 'LE';\n};\n\nexports.hostname = function () {\n  if (typeof location !== 'undefined') {\n    return location.hostname;\n  } else return '';\n};\n\nexports.loadavg = function () {\n  return [];\n};\n\nexports.uptime = function () {\n  return 0;\n};\n\nexports.freemem = function () {\n  return Number.MAX_VALUE;\n};\n\nexports.totalmem = function () {\n  return Number.MAX_VALUE;\n};\n\nexports.cpus = function () {\n  return [];\n};\n\nexports.type = function () {\n  return 'Browser';\n};\n\nexports.release = function () {\n  if (typeof navigator !== 'undefined') {\n    return navigator.appVersion;\n  }\n\n  return '';\n};\n\nexports.networkInterfaces = exports.getNetworkInterfaces = function () {\n  return {};\n};\n\nexports.arch = function () {\n  return 'javascript';\n};\n\nexports.platform = function () {\n  return 'browser';\n};\n\nexports.tmpdir = exports.tmpDir = function () {\n  return '/tmp';\n};\n\nexports.EOL = '\\n';\n\nexports.homedir = function () {\n  return '/';\n};"],"sourceRoot":""}