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.223.239.65
{"version":3,"sources":["../node_modules/semantic-ui-react/dist/es/elements/Segment/SegmentGroup.js","../node_modules/semantic-ui-react/dist/es/elements/Segment/SegmentInline.js","../node_modules/semantic-ui-react/dist/es/elements/Segment/Segment.js","../node_modules/@babel/runtime/helpers/objectWithoutProperties.js","../node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js","../node_modules/react-timeago/lib/index.js","../node_modules/semantic-ui-react/dist/es/views/Item/ItemHeader.js","../node_modules/semantic-ui-react/dist/es/views/Item/ItemDescription.js","../node_modules/semantic-ui-react/dist/es/views/Item/ItemExtra.js","../node_modules/semantic-ui-react/dist/es/views/Item/ItemMeta.js","../node_modules/semantic-ui-react/dist/es/views/Item/ItemContent.js","../node_modules/semantic-ui-react/dist/es/views/Item/ItemGroup.js","../node_modules/semantic-ui-react/dist/es/views/Item/ItemImage.js","../node_modules/semantic-ui-react/dist/es/views/Item/Item.js","../node_modules/react-timeago/lib/defaultFormatter.js","../node_modules/react-timeago/lib/dateParser.js"],"names":["SegmentGroup","props","children","className","compact","content","horizontal","piled","raised","size","stacked","classes","classnames_default","Object","classNameBuilders","rest","getUnhandledProps","ElementType","getElementType","react_default","a","createElement","extends_default","lib","isNil","handledProps","propTypes","Segment_SegmentGroup","SegmentInline","Segment_SegmentInline","Segment","attached","basic","circular","clearing","color","disabled","floated","inverted","loading","placeholder","padded","secondary","tertiary","textAlign","vertical","Group","Inline","__webpack_exports__","objectWithoutPropertiesLoose","__webpack_require__","module","exports","source","excluded","key","i","target","getOwnPropertySymbols","sourceSymbolKeys","length","indexOf","prototype","propertyIsEnumerable","call","__esModule","sourceKeys","keys","defineProperty","value","_extends","assign","arguments","hasOwnProperty","_slicedToArray","arr","Array","isArray","Symbol","iterator","_arr","_n","_d","_e","undefined","_s","_i","next","done","push","err","sliceIterator","TypeError","_createClass","defineProperties","descriptor","enumerable","configurable","writable","Constructor","protoProps","staticProps","React","obj","newObj","default","_interopRequireWildcard","_defaultFormatter2","_interopRequireDefault","_dateParser2","_possibleConstructorReturn","self","ReferenceError","Component","MINUTE","HOUR","DAY","WEEK","MONTH","YEAR","TimeAgo","_Component","_ref","_temp","_this","instance","_classCallCheck","this","_len","args","_key","__proto__","getPrototypeOf","apply","concat","isStillMounted","tick","refresh","live","then","date","valueOf","now","seconds","Math","round","abs","unboundPeriod","period","min","max","minPeriod","maxPeriod","timeoutId","clearTimeout","setTimeout","forceUpdate","console","warn","subClass","superClass","create","constructor","setPrototypeOf","_inherits","lastProps","_props","formatter","Komponent","component","title","passDownProps","_objectWithoutProperties","timeNow","suffix","_ref2","_ref3","unit","passDownTitle","toISOString","substr","replace","spreadProps","dateTime","nextFormatter","bind","displayName","defaultProps","Infinity","Date","ItemHeader","factories","Item_ItemHeader","ItemDescription","Item_ItemDescription","ItemExtra","Item_ItemExtra","ItemMeta","Item_ItemMeta","ItemContent","description","extra","header","meta","verticalAlign","autoGenerateKey","Item_ItemContent","ItemGroup","divided","items","link","relaxed","unstackable","itemsJSX","map_default","item","childKey","itemProps","objectWithoutProperties_default","finalKey","join","Item_Item","Item_ItemGroup","ItemImage","Image","ui","wrapped","src","Item_ItemImage","Item","image","Content","Description","Extra","Header","Meta","_toConsumableArray","arr2","from","parsed","Number","isNaN","parts","String","match","_parts$map","map","x","parseInt","_parts$map2","firstP","secondP","restPs","slice","correctedParts","isoDate","UTC"],"mappings":"gMAUA,SAAAA,EAAAC,GACA,IAAAC,EAAAD,EAAAC,SACAC,EAAAF,EAAAE,UACAC,EAAAH,EAAAG,QACAC,EAAAJ,EAAAI,QACAC,EAAAL,EAAAK,WACAC,EAAAN,EAAAM,MACAC,EAAAP,EAAAO,OACAC,EAAAR,EAAAQ,KACAC,EAAAT,EAAAS,QACAC,EAAgBC,IAAE,KAAAH,EAAaI,OAAAC,EAAA,EAAAD,CAAUT,EAAA,WAAsBS,OAA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AtL,QAAA,EACA,OAAAmL,EAEA,IAAAM,EAAAH,EAAAI,IAAA,SAAAC,GACA,OAAAC,SAAAD,KAEAE,GAfA9K,EAeA0K,EAdAzK,MAAAC,QAAAF,KAAAC,MAAAkK,KAAAnK,IAeA+K,EAAAD,EAAA,GACAE,EAAAF,EAAA,GACAG,EAAAH,EAAAI,MAAA,GACAC,EAAA,CAAAJ,EAAAC,EAAA,GAAArH,OAAAsG,EAAAgB,IACAG,EAAA,IAAAlE,UAAAmE,IAAA3H,MAAAwD,KAAA+C,EAAAkB,KACA,OAAAC,EArBA,IAAApL","file":"static/js/12.4f837e44.chunk.js","sourcesContent":["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, customPropTypes, getElementType, getUnhandledProps, SUI, useKeyOnly } from '../../lib';\n/**\n * A group of segments can be formatted to appear together.\n */\n\nfunction SegmentGroup(props) {\n var children = props.children,\n className = props.className,\n compact = props.compact,\n content = props.content,\n horizontal = props.horizontal,\n piled = props.piled,\n raised = props.raised,\n size = props.size,\n stacked = props.stacked;\n var classes = cx('ui', size, useKeyOnly(compact, 'compact'), useKeyOnly(horizontal, 'horizontal'), useKeyOnly(piled, 'piled'), useKeyOnly(raised, 'raised'), useKeyOnly(stacked, 'stacked'), 'segments', className);\n var rest = getUnhandledProps(SegmentGroup, props);\n var ElementType = getElementType(SegmentGroup, props);\n return React.createElement(ElementType, _extends({}, rest, {\n className: classes\n }), childrenUtils.isNil(children) ? content : children);\n}\nSegmentGroup.handledProps = [\"as\", \"children\", \"className\", \"compact\", \"content\", \"horizontal\", \"piled\", \"raised\", \"size\", \"stacked\"];\nSegmentGroup.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /** An element type to render as (string or function). */\n as: customPropTypes.as,\n /** Primary content. */\n children: PropTypes.node,\n /** Additional classes. */\n className: PropTypes.string,\n /** A segment may take up only as much space as is necessary. */\n compact: PropTypes.bool,\n /** Shorthand for primary content. */\n content: customPropTypes.contentShorthand,\n /** Formats content to be aligned horizontally. */\n horizontal: PropTypes.bool,\n /** Formatted to look like a pile of pages. */\n piled: PropTypes.bool,\n /** A segment group may be formatted to raise above the page. */\n raised: PropTypes.bool,\n /** A segment group can have different sizes. */\n size: PropTypes.oneOf(_without(SUI.SIZES, 'medium')),\n /** Formatted to show it contains multiple pages. */\n stacked: PropTypes.bool\n} : {};\nexport default SegmentGroup;","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 placeholder segment can be inline.\n */\n\nfunction SegmentInline(props) {\n var children = props.children,\n className = props.className,\n content = props.content;\n var classes = cx('inline', className);\n var rest = getUnhandledProps(SegmentInline, props);\n var ElementType = getElementType(SegmentInline, props);\n return React.createElement(ElementType, _extends({}, rest, {\n className: classes\n }), childrenUtils.isNil(children) ? content : children);\n}\nSegmentInline.handledProps = [\"as\", \"children\", \"className\", \"content\"];\nSegmentInline.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /** An element type to render as (string or function). */\n as: customPropTypes.as,\n /** Primary content. */\n children: PropTypes.node,\n /** Additional classes. */\n className: PropTypes.string,\n /** Shorthand for primary content. */\n content: customPropTypes.contentShorthand\n} : {};\nexport default SegmentInline;","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, customPropTypes, getElementType, getUnhandledProps, SUI, useKeyOnly, useKeyOrValueAndKey, useTextAlignProp, useValueAndKey } from '../../lib';\nimport SegmentGroup from './SegmentGroup';\nimport SegmentInline from './SegmentInline';\n/**\n * A segment is used to create a grouping of related content.\n */\n\nfunction Segment(props) {\n var attached = props.attached,\n basic = props.basic,\n children = props.children,\n circular = props.circular,\n className = props.className,\n clearing = props.clearing,\n color = props.color,\n compact = props.compact,\n content = props.content,\n disabled = props.disabled,\n floated = props.floated,\n inverted = props.inverted,\n loading = props.loading,\n placeholder = props.placeholder,\n padded = props.padded,\n piled = props.piled,\n raised = props.raised,\n secondary = props.secondary,\n size = props.size,\n stacked = props.stacked,\n tertiary = props.tertiary,\n textAlign = props.textAlign,\n vertical = props.vertical;\n var classes = cx('ui', color, size, useKeyOnly(basic, 'basic'), useKeyOnly(circular, 'circular'), useKeyOnly(clearing, 'clearing'), useKeyOnly(compact, 'compact'), useKeyOnly(disabled, 'disabled'), useKeyOnly(inverted, 'inverted'), useKeyOnly(loading, 'loading'), useKeyOnly(placeholder, 'placeholder'), useKeyOnly(piled, 'piled'), useKeyOnly(raised, 'raised'), useKeyOnly(secondary, 'secondary'), useKeyOnly(stacked, 'stacked'), useKeyOnly(tertiary, 'tertiary'), useKeyOnly(vertical, 'vertical'), useKeyOrValueAndKey(attached, 'attached'), useKeyOrValueAndKey(padded, 'padded'), useTextAlignProp(textAlign), useValueAndKey(floated, 'floated'), 'segment', className);\n var rest = getUnhandledProps(Segment, props);\n var ElementType = getElementType(Segment, props);\n return React.createElement(ElementType, _extends({}, rest, {\n className: classes\n }), childrenUtils.isNil(children) ? content : children);\n}\nSegment.handledProps = [\"as\", \"attached\", \"basic\", \"children\", \"circular\", \"className\", \"clearing\", \"color\", \"compact\", \"content\", \"disabled\", \"floated\", \"inverted\", \"loading\", \"padded\", \"piled\", \"placeholder\", \"raised\", \"secondary\", \"size\", \"stacked\", \"tertiary\", \"textAlign\", \"vertical\"];\nSegment.Group = SegmentGroup;\nSegment.Inline = SegmentInline;\nSegment.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /** An element type to render as (string or function). */\n as: customPropTypes.as,\n /** Attach segment to other content, like a header. */\n attached: PropTypes.oneOfType([PropTypes.bool, PropTypes.oneOf(['top', 'bottom'])]),\n /** A basic segment has no special formatting. */\n basic: PropTypes.bool,\n /** Primary content. */\n children: PropTypes.node,\n /** A segment can be circular. */\n circular: PropTypes.bool,\n /** Additional classes. */\n className: PropTypes.string,\n /** A segment can clear floated content. */\n clearing: PropTypes.bool,\n /** Segment can be colored. */\n color: PropTypes.oneOf(SUI.COLORS),\n /** A segment may take up only as much space as is necessary. */\n compact: PropTypes.bool,\n /** Shorthand for primary content. */\n content: customPropTypes.contentShorthand,\n /** A segment may show its content is disabled. */\n disabled: PropTypes.bool,\n /** Segment content can be floated to the left or right. */\n floated: PropTypes.oneOf(SUI.FLOATS),\n /** A segment can have its colors inverted for contrast. */\n inverted: PropTypes.bool,\n /** A segment may show its content is being loaded. */\n loading: PropTypes.bool,\n /** A segment can increase its padding. */\n padded: PropTypes.oneOfType([PropTypes.bool, PropTypes.oneOf(['very'])]),\n /** A segment can be used to reserve space for conditionally displayed content. */\n placeholder: PropTypes.bool,\n /** Formatted to look like a pile of pages. */\n piled: PropTypes.bool,\n /** A segment may be formatted to raise above the page. */\n raised: PropTypes.bool,\n /** A segment can be formatted to appear less noticeable. */\n secondary: PropTypes.bool,\n /** A segment can have different sizes. */\n size: PropTypes.oneOf(_without(SUI.SIZES, 'medium')),\n /** Formatted to show it contains multiple pages. */\n stacked: PropTypes.bool,\n /** A segment can be formatted to appear even less noticeable. */\n tertiary: PropTypes.bool,\n /** Formats content to be aligned as part of a vertical group. */\n textAlign: PropTypes.oneOf(_without(SUI.TEXT_ALIGNMENTS, 'justified')),\n /** Formats content to be aligned vertically. */\n vertical: PropTypes.bool\n} : {};\nexport default Segment;","var objectWithoutPropertiesLoose = require(\"./objectWithoutPropertiesLoose.js\");\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}\nmodule.exports = _objectWithoutProperties, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}\nmodule.exports = _objectWithoutPropertiesLoose, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n};\nvar _slicedToArray = function () {\n function sliceIterator(arr, i) {\n var _arr = [];\n var _n = true;\n var _d = false;\n var _e = undefined;\n try {\n for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"]) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n return _arr;\n }\n return function (arr, i) {\n if (Array.isArray(arr)) {\n return arr;\n } else if (Symbol.iterator in Object(arr)) {\n return sliceIterator(arr, i);\n } else {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n }\n };\n}();\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\nvar _react = require('react');\nvar React = _interopRequireWildcard(_react);\nvar _defaultFormatter = require('./defaultFormatter');\nvar _defaultFormatter2 = _interopRequireDefault(_defaultFormatter);\nvar _dateParser = require('./dateParser');\nvar _dateParser2 = _interopRequireDefault(_dateParser);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\nfunction _interopRequireWildcard(obj) {\n if (obj && obj.__esModule) {\n return obj;\n } else {\n var newObj = {};\n if (obj != null) {\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key];\n }\n }\n newObj.default = obj;\n return newObj;\n }\n}\nfunction _objectWithoutProperties(obj, keys) {\n var target = {};\n for (var i in obj) {\n if (keys.indexOf(i) >= 0) continue;\n if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;\n target[i] = obj[i];\n }\n return target;\n}\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\nfunction _possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self;\n}\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass);\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n}\nvar Component = React.Component;\n\n// Just some simple constants for readability\nvar MINUTE = 60;\nvar HOUR = MINUTE * 60;\nvar DAY = HOUR * 24;\nvar WEEK = DAY * 7;\nvar MONTH = DAY * 30;\nvar YEAR = DAY * 365;\nvar TimeAgo = function (_Component) {\n _inherits(TimeAgo, _Component);\n function TimeAgo() {\n var _ref;\n var _temp, _this, _ret;\n _classCallCheck(this, TimeAgo);\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = TimeAgo.__proto__ || Object.getPrototypeOf(TimeAgo)).call.apply(_ref, [this].concat(args))), _this), _this.isStillMounted = false, _this.tick = function (refresh) {\n if (!_this.isStillMounted || !_this.props.live) {\n return;\n }\n var then = (0, _dateParser2.default)(_this.props.date).valueOf();\n if (!then) {\n console.warn('[react-timeago] Invalid Date provided');\n return;\n }\n var now = _this.props.now();\n var seconds = Math.round(Math.abs(now - then) / 1000);\n var unboundPeriod = seconds < MINUTE ? 1000 : seconds < HOUR ? 1000 * MINUTE : seconds < DAY ? 1000 * HOUR : 0;\n var period = Math.min(Math.max(unboundPeriod, _this.props.minPeriod * 1000), _this.props.maxPeriod * 1000);\n if (period) {\n if (_this.timeoutId) {\n clearTimeout(_this.timeoutId);\n }\n _this.timeoutId = setTimeout(_this.tick, period);\n }\n if (!refresh) {\n _this.forceUpdate();\n }\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n _createClass(TimeAgo, [{\n key: 'componentDidMount',\n value: function componentDidMount() {\n this.isStillMounted = true;\n if (this.props.live) {\n this.tick(true);\n }\n }\n }, {\n key: 'componentDidUpdate',\n value: function componentDidUpdate(lastProps) {\n if (this.props.live !== lastProps.live || this.props.date !== lastProps.date) {\n if (!this.props.live && this.timeoutId) {\n clearTimeout(this.timeoutId);\n }\n this.tick();\n }\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n this.isStillMounted = false;\n if (this.timeoutId) {\n clearTimeout(this.timeoutId);\n this.timeoutId = undefined;\n }\n }\n }, {\n key: 'render',\n value: function render() {\n /* eslint-disable no-unused-vars */\n var _props = this.props,\n date = _props.date,\n formatter = _props.formatter,\n Komponent = _props.component,\n live = _props.live,\n minPeriod = _props.minPeriod,\n maxPeriod = _props.maxPeriod,\n title = _props.title,\n now = _props.now,\n passDownProps = _objectWithoutProperties(_props, ['date', 'formatter', 'component', 'live', 'minPeriod', 'maxPeriod', 'title', 'now']);\n /* eslint-enable no-unused-vars */\n\n var then = (0, _dateParser2.default)(date).valueOf();\n if (!then) {\n return null;\n }\n var timeNow = now();\n var seconds = Math.round(Math.abs(timeNow - then) / 1000);\n var suffix = then < timeNow ? 'ago' : 'from now';\n var _ref2 = seconds < MINUTE ? [Math.round(seconds), 'second'] : seconds < HOUR ? [Math.round(seconds / MINUTE), 'minute'] : seconds < DAY ? [Math.round(seconds / HOUR), 'hour'] : seconds < WEEK ? [Math.round(seconds / DAY), 'day'] : seconds < MONTH ? [Math.round(seconds / WEEK), 'week'] : seconds < YEAR ? [Math.round(seconds / MONTH), 'month'] : [Math.round(seconds / YEAR), 'year'],\n _ref3 = _slicedToArray(_ref2, 2),\n value = _ref3[0],\n unit = _ref3[1];\n var passDownTitle = typeof title === 'undefined' ? typeof date === 'string' ? date : (0, _dateParser2.default)(date).toISOString().substr(0, 16).replace('T', ' ') : title;\n var spreadProps = Komponent === 'time' ? Object.assign({}, passDownProps, {\n dateTime: (0, _dateParser2.default)(date).toISOString()\n }) : passDownProps;\n var nextFormatter = _defaultFormatter2.default.bind(null, value, unit, suffix);\n return React.createElement(Komponent, _extends({}, spreadProps, {\n title: passDownTitle\n }), formatter(value, unit, suffix, then, nextFormatter, now));\n }\n }]);\n return TimeAgo;\n}(Component);\nTimeAgo.displayName = 'TimeAgo';\nTimeAgo.defaultProps = {\n live: true,\n component: 'time',\n minPeriod: 0,\n maxPeriod: Infinity,\n formatter: _defaultFormatter2.default,\n now: function now() {\n return Date.now();\n }\n};\nexports.default = TimeAgo;","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 * An item can contain a header.\n */\n\nfunction ItemHeader(props) {\n var children = props.children,\n className = props.className,\n content = props.content;\n var classes = cx('header', className);\n var rest = getUnhandledProps(ItemHeader, props);\n var ElementType = getElementType(ItemHeader, props);\n return React.createElement(ElementType, _extends({}, rest, {\n className: classes\n }), childrenUtils.isNil(children) ? content : children);\n}\nItemHeader.handledProps = [\"as\", \"children\", \"className\", \"content\"];\nItemHeader.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /** An element type to render as (string or function). */\n as: customPropTypes.as,\n /** Primary content. */\n children: PropTypes.node,\n /** Additional classes. */\n className: PropTypes.string,\n /** Shorthand for primary content. */\n content: customPropTypes.contentShorthand\n} : {};\nItemHeader.create = createShorthandFactory(ItemHeader, function (content) {\n return {\n content: content\n };\n});\nexport default ItemHeader;","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 * An item can contain a description with a single or multiple paragraphs.\n */\n\nfunction ItemDescription(props) {\n var children = props.children,\n className = props.className,\n content = props.content;\n var classes = cx('description', className);\n var rest = getUnhandledProps(ItemDescription, props);\n var ElementType = getElementType(ItemDescription, props);\n return React.createElement(ElementType, _extends({}, rest, {\n className: classes\n }), childrenUtils.isNil(children) ? content : children);\n}\nItemDescription.handledProps = [\"as\", \"children\", \"className\", \"content\"];\nItemDescription.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /** An element type to render as (string or function). */\n as: customPropTypes.as,\n /** Primary content. */\n children: PropTypes.node,\n /** Additional classes. */\n className: PropTypes.string,\n /** Shorthand for primary content. */\n content: customPropTypes.contentShorthand\n} : {};\nItemDescription.create = createShorthandFactory(ItemDescription, function (content) {\n return {\n content: content\n };\n});\nexport default ItemDescription;","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 * An item can contain extra content meant to be formatted separately from the main content.\n */\n\nfunction ItemExtra(props) {\n var children = props.children,\n className = props.className,\n content = props.content;\n var classes = cx('extra', className);\n var rest = getUnhandledProps(ItemExtra, props);\n var ElementType = getElementType(ItemExtra, props);\n return React.createElement(ElementType, _extends({}, rest, {\n className: classes\n }), childrenUtils.isNil(children) ? content : children);\n}\nItemExtra.handledProps = [\"as\", \"children\", \"className\", \"content\"];\nItemExtra.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /** An element type to render as (string or function). */\n as: customPropTypes.as,\n /** Primary content. */\n children: PropTypes.node,\n /** Additional classes. */\n className: PropTypes.string,\n /** Shorthand for primary content. */\n content: customPropTypes.contentShorthand\n} : {};\nItemExtra.create = createShorthandFactory(ItemExtra, function (content) {\n return {\n content: content\n };\n});\nexport default ItemExtra;","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 * An item can contain content metadata.\n */\n\nfunction ItemMeta(props) {\n var children = props.children,\n className = props.className,\n content = props.content;\n var classes = cx('meta', className);\n var rest = getUnhandledProps(ItemMeta, props);\n var ElementType = getElementType(ItemMeta, props);\n return React.createElement(ElementType, _extends({}, rest, {\n className: classes\n }), childrenUtils.isNil(children) ? content : children);\n}\nItemMeta.handledProps = [\"as\", \"children\", \"className\", \"content\"];\nItemMeta.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /** An element type to render as (string or function). */\n as: customPropTypes.as,\n /** Primary content. */\n children: PropTypes.node,\n /** Additional classes. */\n className: PropTypes.string,\n /** Shorthand for primary content. */\n content: customPropTypes.contentShorthand\n} : {};\nItemMeta.create = createShorthandFactory(ItemMeta, function (content) {\n return {\n content: content\n };\n});\nexport default ItemMeta;","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, SUI, useVerticalAlignProp } from '../../lib';\nimport ItemHeader from './ItemHeader';\nimport ItemDescription from './ItemDescription';\nimport ItemExtra from './ItemExtra';\nimport ItemMeta from './ItemMeta';\n/**\n * An item can contain content.\n */\n\nfunction ItemContent(props) {\n var children = props.children,\n className = props.className,\n content = props.content,\n description = props.description,\n extra = props.extra,\n header = props.header,\n meta = props.meta,\n verticalAlign = props.verticalAlign;\n var classes = cx(useVerticalAlignProp(verticalAlign), 'content', className);\n var rest = getUnhandledProps(ItemContent, props);\n var ElementType = getElementType(ItemContent, props);\n if (!childrenUtils.isNil(children)) {\n return React.createElement(ElementType, _extends({}, rest, {\n className: classes\n }), children);\n }\n return React.createElement(ElementType, _extends({}, rest, {\n className: classes\n }), ItemHeader.create(header, {\n autoGenerateKey: false\n }), ItemMeta.create(meta, {\n autoGenerateKey: false\n }), ItemDescription.create(description, {\n autoGenerateKey: false\n }), ItemExtra.create(extra, {\n autoGenerateKey: false\n }), content);\n}\nItemContent.handledProps = [\"as\", \"children\", \"className\", \"content\", \"description\", \"extra\", \"header\", \"meta\", \"verticalAlign\"];\nItemContent.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /** An element type to render as (string or function). */\n as: customPropTypes.as,\n /** Primary content. */\n children: PropTypes.node,\n /** Additional classes. */\n className: PropTypes.string,\n /** Shorthand for primary content. */\n content: customPropTypes.contentShorthand,\n /** Shorthand for ItemDescription component. */\n description: customPropTypes.itemShorthand,\n /** Shorthand for ItemExtra component. */\n extra: customPropTypes.itemShorthand,\n /** Shorthand for ItemHeader component. */\n header: customPropTypes.itemShorthand,\n /** Shorthand for ItemMeta component. */\n meta: customPropTypes.itemShorthand,\n /** Content can specify its vertical alignment. */\n verticalAlign: PropTypes.oneOf(SUI.VERTICAL_ALIGNMENTS)\n} : {};\nexport default ItemContent;","import _objectWithoutProperties from \"@babel/runtime/helpers/objectWithoutProperties\";\nimport _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, customPropTypes, getElementType, getUnhandledProps, useKeyOnly, useKeyOrValueAndKey } from '../../lib';\nimport Item from './Item';\n/**\n * A group of items.\n */\n\nfunction ItemGroup(props) {\n var children = props.children,\n className = props.className,\n content = props.content,\n divided = props.divided,\n items = props.items,\n link = props.link,\n relaxed = props.relaxed,\n unstackable = props.unstackable;\n var classes = cx('ui', useKeyOnly(divided, 'divided'), useKeyOnly(link, 'link'), useKeyOnly(unstackable, 'unstackable'), useKeyOrValueAndKey(relaxed, 'relaxed'), 'items', className);\n var rest = getUnhandledProps(ItemGroup, props);\n var ElementType = getElementType(ItemGroup, props);\n if (!childrenUtils.isNil(children)) {\n return React.createElement(ElementType, _extends({}, rest, {\n className: classes\n }), children);\n }\n if (!childrenUtils.isNil(content)) {\n return React.createElement(ElementType, _extends({}, rest, {\n className: classes\n }), content);\n }\n var itemsJSX = _map(items, function (item) {\n var childKey = item.childKey,\n itemProps = _objectWithoutProperties(item, [\"childKey\"]);\n var finalKey = childKey || [itemProps.content, itemProps.description, itemProps.header, itemProps.meta].join('-');\n return React.createElement(Item, _extends({}, itemProps, {\n key: finalKey\n }));\n });\n return React.createElement(ElementType, _extends({}, rest, {\n className: classes\n }), itemsJSX);\n}\nItemGroup.handledProps = [\"as\", \"children\", \"className\", \"content\", \"divided\", \"items\", \"link\", \"relaxed\", \"unstackable\"];\nItemGroup.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /** An element type to render as (string or function). */\n as: customPropTypes.as,\n /** Primary content. */\n children: PropTypes.node,\n /** Additional classes. */\n className: PropTypes.string,\n /** Shorthand for primary content. */\n content: customPropTypes.contentShorthand,\n /** Items can be divided to better distinguish between grouped content. */\n divided: PropTypes.bool,\n /** Shorthand array of props for Item. */\n items: customPropTypes.collectionShorthand,\n /** An item can be formatted so that the entire contents link to another page. */\n link: PropTypes.bool,\n /** A group of items can relax its padding to provide more negative space. */\n relaxed: PropTypes.oneOfType([PropTypes.bool, PropTypes.oneOf(['very'])]),\n /** Prevent items from stacking on mobile. */\n unstackable: PropTypes.bool\n} : {};\nexport default ItemGroup;","import _extends from \"@babel/runtime/helpers/extends\";\nimport React from 'react';\nimport { createShorthandFactory, getUnhandledProps } from '../../lib';\nimport Image from '../../elements/Image';\n/**\n * An item can contain an image.\n */\n\nfunction ItemImage(props) {\n var size = props.size;\n var rest = getUnhandledProps(ItemImage, props);\n return React.createElement(Image, _extends({}, rest, {\n size: size,\n ui: !!size,\n wrapped: true\n }));\n}\nItemImage.handledProps = [\"size\"];\nItemImage.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /** An image may appear at different sizes. */\n size: Image.propTypes.size\n} : {};\nItemImage.create = createShorthandFactory(ItemImage, function (src) {\n return {\n src: src\n };\n});\nexport default ItemImage;","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';\nimport ItemContent from './ItemContent';\nimport ItemDescription from './ItemDescription';\nimport ItemExtra from './ItemExtra';\nimport ItemGroup from './ItemGroup';\nimport ItemHeader from './ItemHeader';\nimport ItemImage from './ItemImage';\nimport ItemMeta from './ItemMeta';\n/**\n * An item view presents large collections of site content for display.\n */\n\nfunction Item(props) {\n var children = props.children,\n className = props.className,\n content = props.content,\n description = props.description,\n extra = props.extra,\n header = props.header,\n image = props.image,\n meta = props.meta;\n var classes = cx('item', className);\n var rest = getUnhandledProps(Item, props);\n var ElementType = getElementType(Item, props);\n if (!childrenUtils.isNil(children)) {\n return React.createElement(ElementType, _extends({}, rest, {\n className: classes\n }), children);\n }\n return React.createElement(ElementType, _extends({}, rest, {\n className: classes\n }), ItemImage.create(image, {\n autoGenerateKey: false\n }), React.createElement(ItemContent, {\n content: content,\n description: description,\n extra: extra,\n header: header,\n meta: meta\n }));\n}\nItem.handledProps = [\"as\", \"children\", \"className\", \"content\", \"description\", \"extra\", \"header\", \"image\", \"meta\"];\nItem.Content = ItemContent;\nItem.Description = ItemDescription;\nItem.Extra = ItemExtra;\nItem.Group = ItemGroup;\nItem.Header = ItemHeader;\nItem.Image = ItemImage;\nItem.Meta = ItemMeta;\nItem.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /** An element type to render as (string or function). */\n as: customPropTypes.as,\n /** Primary content. */\n children: PropTypes.node,\n /** Additional classes. */\n className: PropTypes.string,\n /** Shorthand for ItemContent component. */\n content: customPropTypes.contentShorthand,\n /** Shorthand for ItemDescription component. */\n description: customPropTypes.itemShorthand,\n /** Shorthand for ItemExtra component. */\n extra: customPropTypes.itemShorthand,\n /** Shorthand for ItemHeader component. */\n header: customPropTypes.itemShorthand,\n /** Shorthand for ItemImage component. */\n image: customPropTypes.itemShorthand,\n /** Shorthand for ItemMeta component. */\n meta: customPropTypes.itemShorthand\n} : {};\nexport default Item;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = defaultFormatter;\nvar _react = require('react');\nvar React = _interopRequireWildcard(_react);\nfunction _interopRequireWildcard(obj) {\n if (obj && obj.__esModule) {\n return obj;\n } else {\n var newObj = {};\n if (obj != null) {\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key];\n }\n }\n newObj.default = obj;\n return newObj;\n }\n}\nfunction defaultFormatter(value, unit, suffix) {\n if (value !== 1) {\n unit += 's';\n }\n return value + ' ' + unit + ' ' + suffix;\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = dateParser;\nfunction _toConsumableArray(arr) {\n if (Array.isArray(arr)) {\n for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n arr2[i] = arr[i];\n }\n return arr2;\n } else {\n return Array.from(arr);\n }\n}\nfunction _toArray(arr) {\n return Array.isArray(arr) ? arr : Array.from(arr);\n}\nfunction dateParser(date) {\n var parsed = new Date(date);\n if (!Number.isNaN(parsed.valueOf())) {\n return parsed;\n }\n var parts = String(date).match(/\\d+/g);\n if (parts == null || parts.length <= 2) {\n return parsed;\n } else {\n var _parts$map = parts.map(function (x) {\n return parseInt(x);\n }),\n _parts$map2 = _toArray(_parts$map),\n firstP = _parts$map2[0],\n secondP = _parts$map2[1],\n restPs = _parts$map2.slice(2);\n var correctedParts = [firstP, secondP - 1].concat(_toConsumableArray(restPs));\n var isoDate = new Date(Date.UTC.apply(Date, _toConsumableArray(correctedParts)));\n return isoDate;\n }\n}"],"sourceRoot":""}
|