@techdocs/cli 1.8.5 → 1.8.6-next.2
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.
- package/CHANGELOG.md +18 -9
- package/dist/embedded-app/.config-schema.json +603 -112
- package/dist/embedded-app/index.html +1 -1
- package/dist/embedded-app/static/124.b3c877f4.chunk.js +5 -0
- package/dist/embedded-app/static/124.b3c877f4.chunk.js.map +1 -0
- package/dist/embedded-app/static/2401.dc2fecde.chunk.js +5 -0
- package/dist/embedded-app/static/2401.dc2fecde.chunk.js.map +1 -0
- package/dist/embedded-app/static/2420.cd4a65c3.chunk.js +5 -0
- package/dist/embedded-app/static/2420.cd4a65c3.chunk.js.map +1 -0
- package/dist/embedded-app/static/287.4b32d161.chunk.js +5 -0
- package/dist/embedded-app/static/287.4b32d161.chunk.js.map +1 -0
- package/dist/embedded-app/static/3182.1f1ac12b.chunk.js +6 -0
- package/dist/embedded-app/static/{3182.950641c7.chunk.js.map → 3182.1f1ac12b.chunk.js.map} +1 -1
- package/dist/embedded-app/static/3308.7a6908ef.chunk.js +7 -0
- package/dist/embedded-app/static/3308.7a6908ef.chunk.js.map +1 -0
- package/dist/embedded-app/static/3632.92f2c3f7.chunk.js +5 -0
- package/dist/embedded-app/static/3632.92f2c3f7.chunk.js.map +1 -0
- package/dist/embedded-app/static/4036.63ab04b7.chunk.js +3 -0
- package/dist/embedded-app/static/4036.63ab04b7.chunk.js.map +1 -0
- package/dist/embedded-app/static/4992.d68a0e7c.chunk.js +3 -0
- package/dist/embedded-app/static/4992.d68a0e7c.chunk.js.map +1 -0
- package/dist/embedded-app/static/5011.6e192014.chunk.js +3 -0
- package/dist/embedded-app/static/5011.6e192014.chunk.js.map +1 -0
- package/dist/embedded-app/static/6271.18498a88.chunk.js +5 -0
- package/dist/embedded-app/static/6271.18498a88.chunk.js.map +1 -0
- package/dist/embedded-app/static/8307.4878037e.chunk.js +8 -0
- package/dist/embedded-app/static/{8307.2c2ef2dd.chunk.js.map → 8307.4878037e.chunk.js.map} +1 -1
- package/dist/embedded-app/static/8384.69d4b96e.chunk.js +5 -0
- package/dist/embedded-app/static/8384.69d4b96e.chunk.js.map +1 -0
- package/dist/embedded-app/static/9605.d238f558.chunk.js +11 -0
- package/dist/embedded-app/static/9605.d238f558.chunk.js.map +1 -0
- package/dist/embedded-app/static/9652.80cea275.chunk.js +5 -0
- package/dist/embedded-app/static/9652.80cea275.chunk.js.map +1 -0
- package/dist/embedded-app/static/main.d7355744.js +497 -0
- package/dist/embedded-app/static/main.d7355744.js.map +1 -0
- package/dist/embedded-app/static/module-lodash.11460fc1.js +29 -0
- package/dist/embedded-app/static/module-lodash.11460fc1.js.map +1 -0
- package/dist/embedded-app/static/module-react-router-dom.3fde9fd7.js +22 -0
- package/dist/embedded-app/static/module-react-router-dom.3fde9fd7.js.map +1 -0
- package/dist/embedded-app/static/module-react-router.296c491a.js +22 -0
- package/dist/embedded-app/static/module-react-router.296c491a.js.map +1 -0
- package/dist/embedded-app/static/{runtime.1f016c9f.js → runtime.d7355744.js} +2 -2
- package/dist/embedded-app/static/{runtime.1f016c9f.js.map → runtime.d7355744.js.map} +1 -1
- package/dist/embedded-app/static/vendor.d7355744.js +160 -0
- package/dist/embedded-app/static/vendor.d7355744.js.map +1 -0
- package/dist/index.cjs.js +1 -1
- package/package.json +6 -6
- package/dist/embedded-app/static/124.0135c04a.chunk.js +0 -5
- package/dist/embedded-app/static/124.0135c04a.chunk.js.map +0 -1
- package/dist/embedded-app/static/2401.ef30400a.chunk.js +0 -5
- package/dist/embedded-app/static/2401.ef30400a.chunk.js.map +0 -1
- package/dist/embedded-app/static/2420.9681849a.chunk.js +0 -5
- package/dist/embedded-app/static/2420.9681849a.chunk.js.map +0 -1
- package/dist/embedded-app/static/2490.5e7810f2.chunk.js +0 -3
- package/dist/embedded-app/static/2490.5e7810f2.chunk.js.map +0 -1
- package/dist/embedded-app/static/287.06d3556f.chunk.js +0 -5
- package/dist/embedded-app/static/287.06d3556f.chunk.js.map +0 -1
- package/dist/embedded-app/static/3182.950641c7.chunk.js +0 -6
- package/dist/embedded-app/static/3308.4f503c75.chunk.js +0 -7
- package/dist/embedded-app/static/3308.4f503c75.chunk.js.map +0 -1
- package/dist/embedded-app/static/3632.09c5925e.chunk.js +0 -5
- package/dist/embedded-app/static/3632.09c5925e.chunk.js.map +0 -1
- package/dist/embedded-app/static/4036.35345ea7.chunk.js +0 -3
- package/dist/embedded-app/static/4036.35345ea7.chunk.js.map +0 -1
- package/dist/embedded-app/static/5011.04a961a3.chunk.js +0 -3
- package/dist/embedded-app/static/5011.04a961a3.chunk.js.map +0 -1
- package/dist/embedded-app/static/6271.df98b248.chunk.js +0 -5
- package/dist/embedded-app/static/6271.df98b248.chunk.js.map +0 -1
- package/dist/embedded-app/static/8307.2c2ef2dd.chunk.js +0 -8
- package/dist/embedded-app/static/8384.516f6f61.chunk.js +0 -5
- package/dist/embedded-app/static/8384.516f6f61.chunk.js.map +0 -1
- package/dist/embedded-app/static/9605.333ca2de.chunk.js +0 -11
- package/dist/embedded-app/static/9605.333ca2de.chunk.js.map +0 -1
- package/dist/embedded-app/static/9652.a7eea251.chunk.js +0 -5
- package/dist/embedded-app/static/9652.a7eea251.chunk.js.map +0 -1
- package/dist/embedded-app/static/main.1f016c9f.js +0 -495
- package/dist/embedded-app/static/main.1f016c9f.js.map +0 -1
- package/dist/embedded-app/static/module-lodash.a94db66d.js +0 -29
- package/dist/embedded-app/static/module-lodash.a94db66d.js.map +0 -1
- package/dist/embedded-app/static/module-react-router-dom.b2a616ac.js +0 -22
- package/dist/embedded-app/static/module-react-router-dom.b2a616ac.js.map +0 -1
- package/dist/embedded-app/static/module-react-router.96a60fdb.js +0 -22
- package/dist/embedded-app/static/module-react-router.96a60fdb.js.map +0 -1
- package/dist/embedded-app/static/vendor.1f016c9f.js +0 -160
- package/dist/embedded-app/static/vendor.1f016c9f.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":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AAEO,IAAIC,IAAa,CACzCb,IAAKa,EACL7C,MAAOqC,EAAOQ,CAAQ,CACxB,EAAE,EACFC,QAAS,CACPC,OAAQ,GACRC,UAAW,GACXC,YAAa,SACb3G,OAAQ,GACRhD,QAAS,QACT4J,SAAU,EACVC,QAAS,GACTC,OAAQb,OAAOC,KAAKH,CAAM,EAAEI,OAAS,CACvC,C,IAKV,EC9DO,SAASY,EAAUxD,EAAgB,C,IACjCA,EACSA,EADhB,MAAOA,EAAAA,GAAAA,OAAAA,EAAAA,EAAQyC,YAAQ,MAAhBzC,IAAAA,SAAAA,EAAkBwC,OACrBE,OAAOC,KAAK3C,GAAAA,OAAAA,EAAAA,EAAQyC,YAAQ,MAAhBzC,IAAAA,OAAAA,OAAAA,EAAkBwC,MAAM,EAAEiB,KAAKC,OAAO,EAClD,EACN,C","sources":["webpack://techdocs-cli-embedded-app/../../node_modules/@material-ui/icons/ArrowForward.js","webpack://techdocs-cli-embedded-app/../core-components/src/layout/BottomLink/BottomLink.tsx","webpack://techdocs-cli-embedded-app/../core-components/src/layout/ErrorBoundary/ErrorBoundary.tsx","webpack://techdocs-cli-embedded-app/../core-components/src/layout/InfoCard/InfoCard.tsx","webpack://techdocs-cli-embedded-app/../../plugins/catalog-react/src/hooks/useEntity.tsx","webpack://techdocs-cli-embedded-app/../../plugins/catalog/src/components/EntityLabelsCard/EntityLabelsEmptyState.tsx","webpack://techdocs-cli-embedded-app/../../plugins/catalog/src/components/EntityLabelsCard/EntityLabelsCard.tsx","webpack://techdocs-cli-embedded-app/../../plugins/catalog/src/components/EntityLabelsCard/conditions.ts"],"sourcesContent":["\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nvar _interopRequireWildcard = require(\"@babel/runtime/helpers/interopRequireWildcard\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar React = _interopRequireWildcard(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z\"\n}), 'ArrowForward');\n\nexports.default = _default;","/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport Box from '@material-ui/core/Box';\nimport Divider from '@material-ui/core/Divider';\nimport { makeStyles } from '@material-ui/core/styles';\nimport Typography from '@material-ui/core/Typography';\nimport ArrowIcon from '@material-ui/icons/ArrowForward';\nimport React from 'react';\nimport { Link } from '../../components/Link';\n\n/** @public */\nexport type BottomLinkClassKey = 'root' | 'boxTitle' | 'arrow';\n\nconst useStyles = makeStyles(\n theme => ({\n root: {\n maxWidth: 'fit-content',\n padding: theme.spacing(2, 2, 2, 2.5),\n },\n boxTitle: {\n margin: 0,\n color: theme.palette.textSubtle,\n },\n arrow: {\n color: theme.palette.textSubtle,\n },\n }),\n { name: 'BackstageBottomLink' },\n);\n\n/** @public */\nexport type BottomLinkProps = {\n link: string;\n title: string;\n onClick?: (event: React.MouseEvent<HTMLAnchorElement>) => void;\n};\n\n/**\n * Footer with link used in {@link InfoCard } and {@link TabbedCard}\n *\n * @public\n *\n */\nexport function BottomLink(props: BottomLinkProps) {\n const { link, title, onClick } = props;\n const classes = useStyles();\n\n return (\n <Box>\n <Divider />\n <Link to={link} onClick={onClick} underline=\"none\">\n <Box display=\"flex\" alignItems=\"center\" className={classes.root}>\n <Box className={classes.boxTitle} fontWeight=\"fontWeightBold\" m={1}>\n <Typography>\n <strong>{title}</strong>\n </Typography>\n </Box>\n <ArrowIcon className={classes.arrow} />\n </Box>\n </Link>\n </Box>\n );\n}\n","/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport Typography from '@material-ui/core/Typography';\nimport React, { ComponentClass, Component, ErrorInfo } from 'react';\nimport { LinkButton } from '../../components/LinkButton';\nimport { ErrorPanel } from '../../components/ErrorPanel';\n\ntype SlackChannel = {\n name: string;\n href?: string;\n};\n\n/** @public */\nexport type ErrorBoundaryProps = React.PropsWithChildren<{\n slackChannel?: string | SlackChannel;\n onError?: (error: Error, errorInfo: string) => null;\n}>;\n\ntype State = {\n error?: Error;\n errorInfo?: ErrorInfo;\n};\n\nconst SlackLink = (props: { slackChannel?: string | SlackChannel }) => {\n const { slackChannel } = props;\n\n if (!slackChannel) {\n return null;\n } else if (typeof slackChannel === 'string') {\n return <Typography>Please contact {slackChannel} for help.</Typography>;\n } else if (!slackChannel.href) {\n return (\n <Typography>Please contact {slackChannel.name} for help.</Typography>\n );\n }\n\n return (\n <LinkButton to={slackChannel.href} variant=\"contained\">\n {slackChannel.name}\n </LinkButton>\n );\n};\n\n/** @public */\nexport const ErrorBoundary: ComponentClass<\n ErrorBoundaryProps,\n State\n> = class ErrorBoundary extends Component<ErrorBoundaryProps, State> {\n constructor(props: ErrorBoundaryProps) {\n super(props);\n this.state = {\n error: undefined,\n errorInfo: undefined,\n };\n }\n\n componentDidCatch(error: Error, errorInfo: ErrorInfo) {\n // eslint-disable-next-line no-console\n console.error(`ErrorBoundary, error: ${error}, info: ${errorInfo}`);\n this.setState({ error, errorInfo });\n }\n\n render() {\n const { slackChannel, children } = this.props;\n const { error } = this.state;\n\n if (!error) {\n return children;\n }\n\n return (\n <ErrorPanel title=\"Something Went Wrong\" error={error}>\n <SlackLink slackChannel={slackChannel} />\n </ErrorPanel>\n );\n }\n};\n","/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport Card from '@material-ui/core/Card';\nimport CardActions from '@material-ui/core/CardActions';\nimport CardContent from '@material-ui/core/CardContent';\nimport CardHeader, { CardHeaderProps } from '@material-ui/core/CardHeader';\nimport Divider from '@material-ui/core/Divider';\nimport { makeStyles, withStyles } from '@material-ui/core/styles';\nimport classNames from 'classnames';\nimport React, { ReactNode } from 'react';\nimport { BottomLink, BottomLinkProps } from '../BottomLink';\nimport { ErrorBoundary, ErrorBoundaryProps } from '../ErrorBoundary';\n\n/** @public */\nexport type InfoCardClassKey =\n | 'noPadding'\n | 'header'\n | 'headerTitle'\n | 'headerSubheader'\n | 'headerAvatar'\n | 'headerAction'\n | 'headerContent';\n\nconst useStyles = makeStyles(\n theme => ({\n noPadding: {\n padding: 0,\n '&:last-child': {\n paddingBottom: 0,\n },\n },\n header: {\n padding: theme.spacing(2, 2, 2, 2.5),\n },\n headerTitle: {\n fontWeight: theme.typography.fontWeightBold,\n },\n headerSubheader: {\n paddingTop: theme.spacing(1),\n },\n headerAvatar: {},\n headerAction: {},\n headerContent: {},\n subheader: {\n display: 'flex',\n },\n }),\n { name: 'BackstageInfoCard' },\n);\n\n/** @public */\nexport type CardActionsTopRightClassKey = 'root';\n\nconst CardActionsTopRight = withStyles(\n theme => ({\n root: {\n display: 'inline-block',\n padding: theme.spacing(8, 8, 0, 0),\n float: 'right',\n },\n }),\n { name: 'BackstageInfoCardCardActionsTopRight' },\n)(CardActions);\n\nconst VARIANT_STYLES = {\n card: {\n flex: {\n display: 'flex',\n flexDirection: 'column',\n },\n fullHeight: {\n display: 'flex',\n flexDirection: 'column',\n height: '100%',\n },\n gridItem: {\n display: 'flex',\n flexDirection: 'column',\n height: 'calc(100% - 10px)', // for pages without content header\n marginBottom: '10px',\n breakInside: 'avoid-page',\n '@media print': {\n height: 'auto',\n },\n },\n },\n cardContent: {\n fullHeight: {\n flex: 1,\n },\n gridItem: {\n flex: 1,\n },\n },\n};\n\n/** @public */\nexport type InfoCardVariants = 'flex' | 'fullHeight' | 'gridItem';\n\n/**\n * InfoCard is used to display a paper-styled block on the screen, similar to a panel.\n *\n * You can custom style an InfoCard with the 'className' (outer container) and 'cardClassName' (inner container)\n * props. This is typically used with the material-ui makeStyles mechanism.\n *\n * The InfoCard serves as an error boundary. As a result, if you provide an 'errorBoundaryProps' property this\n * specifies the extra information to display in the error component that is displayed if an error occurs\n * in any descendent components.\n *\n * By default the InfoCard has no custom layout of its children, but is treated as a block element. A\n * couple common variants are provided and can be specified via the variant property:\n *\n * When the InfoCard is displayed as a grid item within a grid, you may want items to have the same height for all items.\n * Set to the 'gridItem' variant to display the InfoCard with full height suitable for Grid:\n *\n * `<InfoCard variant=\"gridItem\">...</InfoCard>`\n */\nexport type Props = {\n title?: ReactNode;\n subheader?: ReactNode;\n divider?: boolean;\n deepLink?: BottomLinkProps;\n /** @deprecated Use errorBoundaryProps instead */\n slackChannel?: string;\n errorBoundaryProps?: ErrorBoundaryProps;\n variant?: InfoCardVariants;\n children?: ReactNode;\n headerStyle?: object;\n headerProps?: CardHeaderProps;\n icon?: ReactNode;\n action?: ReactNode;\n actionsClassName?: string;\n actions?: ReactNode;\n cardClassName?: string;\n actionsTopRight?: ReactNode;\n className?: string;\n noPadding?: boolean;\n titleTypographyProps?: object;\n};\n\n/**\n * Material-ui card with header , content and actions footer\n *\n * @public\n *\n */\nexport function InfoCard(props: Props): JSX.Element {\n const {\n title,\n subheader,\n divider = true,\n deepLink,\n slackChannel,\n errorBoundaryProps,\n variant,\n children,\n headerStyle,\n headerProps,\n icon,\n action,\n actionsClassName,\n actions,\n cardClassName,\n actionsTopRight,\n className,\n noPadding,\n titleTypographyProps,\n } = props;\n const classes = useStyles();\n /**\n * If variant is specified, we build up styles for that particular variant for both\n * the Card and the CardContent (since these need to be synced)\n */\n let calculatedStyle = {};\n let calculatedCardStyle = {};\n if (variant) {\n const variants = variant.split(/[\\s]+/g);\n variants.forEach(name => {\n calculatedStyle = {\n ...calculatedStyle,\n ...VARIANT_STYLES.card[name as keyof (typeof VARIANT_STYLES)['card']],\n };\n calculatedCardStyle = {\n ...calculatedCardStyle,\n ...VARIANT_STYLES.cardContent[\n name as keyof (typeof VARIANT_STYLES)['cardContent']\n ],\n };\n });\n }\n\n const cardSubTitle = () => {\n if (!subheader && !icon) {\n return null;\n }\n\n return (\n <div\n className={classes.headerSubheader}\n data-testid=\"info-card-subheader\"\n >\n {subheader && <div className={classes.subheader}>{subheader}</div>}\n {icon}\n </div>\n );\n };\n\n const errProps: ErrorBoundaryProps =\n errorBoundaryProps || (slackChannel ? { slackChannel } : {});\n\n return (\n <Card style={calculatedStyle} className={className}>\n <ErrorBoundary {...errProps}>\n {title && (\n <CardHeader\n classes={{\n root: classes.header,\n title: classes.headerTitle,\n subheader: classes.headerSubheader,\n avatar: classes.headerAvatar,\n action: classes.headerAction,\n content: classes.headerContent,\n }}\n title={title}\n subheader={cardSubTitle()}\n action={action}\n style={{ ...headerStyle }}\n titleTypographyProps={titleTypographyProps}\n {...headerProps}\n />\n )}\n {actionsTopRight && (\n <CardActionsTopRight>{actionsTopRight}</CardActionsTopRight>\n )}\n {divider && <Divider />}\n <CardContent\n className={classNames(cardClassName, {\n [classes.noPadding]: noPadding,\n })}\n style={calculatedCardStyle}\n >\n {children}\n </CardContent>\n {actions && (\n <CardActions className={actionsClassName}>{actions}</CardActions>\n )}\n {deepLink && <BottomLink {...deepLink} />}\n </ErrorBoundary>\n </Card>\n );\n}\n","/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Entity, stringifyEntityRef } from '@backstage/catalog-model';\nimport { AnalyticsContext } from '@backstage/core-plugin-api';\nimport {\n createVersionedContext,\n createVersionedValueMap,\n useVersionedContext,\n} from '@backstage/version-bridge';\nimport React, { ReactNode } from 'react';\n\n/** @public */\nexport type EntityLoadingStatus<TEntity extends Entity = Entity> = {\n entity?: TEntity;\n loading: boolean;\n error?: Error;\n refresh?: VoidFunction;\n};\n\n// This context has support for multiple concurrent versions of this package.\n// It is currently used in parallel with the old context in order to provide\n// a smooth transition, but will eventually be the only context we use.\nconst NewEntityContext = createVersionedContext<{ 1: EntityLoadingStatus }>(\n 'entity-context',\n);\n\n/**\n * Properties for the AsyncEntityProvider component.\n *\n * @public\n */\nexport interface AsyncEntityProviderProps {\n children: ReactNode;\n entity?: Entity;\n loading: boolean;\n error?: Error;\n refresh?: VoidFunction;\n}\n\n/**\n * Provides a loaded entity to be picked up by the `useEntity` hook.\n *\n * @public\n */\nexport const AsyncEntityProvider = (props: AsyncEntityProviderProps) => {\n const { children, entity, loading, error, refresh } = props;\n const value = { entity, loading, error, refresh };\n // We provide both the old and the new context, since\n // consumers might be doing things like `useContext(EntityContext)`\n return (\n <NewEntityContext.Provider value={createVersionedValueMap({ 1: value })}>\n <AnalyticsContext\n attributes={{\n ...(entity ? { entityRef: stringifyEntityRef(entity) } : undefined),\n }}\n >\n {children}\n </AnalyticsContext>\n </NewEntityContext.Provider>\n );\n};\n\n/**\n * Properties for the EntityProvider component.\n *\n * @public\n */\nexport interface EntityProviderProps {\n children: ReactNode;\n entity?: Entity;\n}\n\n/**\n * Provides an entity to be picked up by the `useEntity` hook.\n *\n * @public\n */\nexport const EntityProvider = (props: EntityProviderProps) => (\n <AsyncEntityProvider\n entity={props.entity}\n loading={!Boolean(props.entity)}\n error={undefined}\n refresh={undefined}\n children={props.children}\n />\n);\n\n/**\n * Grab the current entity from the context, throws if the entity has not yet been loaded\n * or is not available.\n *\n * @public\n */\nexport function useEntity<TEntity extends Entity = Entity>(): {\n entity: TEntity;\n} {\n const versionedHolder = useVersionedContext<{ 1: EntityLoadingStatus }>(\n 'entity-context',\n );\n\n if (!versionedHolder) {\n throw new Error('Entity context is not available');\n }\n\n const value = versionedHolder.atVersion(1);\n if (!value) {\n throw new Error('EntityContext v1 not available');\n }\n\n if (!value.entity) {\n throw new Error(\n 'useEntity hook is being called outside of an EntityLayout where the entity has not been loaded. If this is intentional, please use useAsyncEntity instead.',\n );\n }\n\n return { entity: value.entity as TEntity };\n}\n\n/**\n * Grab the current entity from the context, provides loading state and errors, and the ability to refresh.\n *\n * @public\n */\nexport function useAsyncEntity<\n TEntity extends Entity = Entity,\n>(): EntityLoadingStatus<TEntity> {\n const versionedHolder = useVersionedContext<{ 1: EntityLoadingStatus }>(\n 'entity-context',\n );\n\n if (!versionedHolder) {\n throw new Error('Entity context is not available');\n }\n const value = versionedHolder.atVersion(1);\n if (!value) {\n throw new Error('EntityContext v1 not available');\n }\n\n const { entity, loading, error, refresh } = value;\n return { entity: entity as TEntity, loading, error, refresh };\n}\n","/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Button, makeStyles, Typography } from '@material-ui/core';\nimport React from 'react';\nimport { CodeSnippet } from '@backstage/core-components';\n\nconst ENTITY_YAML = `metadata:\n name: example\n labels:\n javaVersion: 1.2.3`;\n\nconst useStyles = makeStyles(\n theme => ({\n code: {\n borderRadius: 6,\n margin: theme.spacing(2, 0),\n background:\n theme.palette.type === 'dark' ? '#444' : theme.palette.common.white,\n },\n }),\n { name: 'PluginCatalogEntityLabelsEmptyState' },\n);\n\nexport function EntityLabelsEmptyState() {\n const classes = useStyles();\n\n return (\n <>\n <Typography variant=\"body1\">\n No labels defined for this entity. You can add labels to your entity\n YAML as shown in the highlighted example below:\n </Typography>\n <div className={classes.code}>\n <CodeSnippet\n text={ENTITY_YAML}\n language=\"yaml\"\n showLineNumbers\n highlightedNumbers={[3, 4, 5, 6]}\n customStyle={{ background: 'inherit', fontSize: '115%' }}\n />\n </div>\n <Button\n variant=\"contained\"\n color=\"primary\"\n target=\"_blank\"\n href=\"https://backstage.io/docs/features/software-catalog/descriptor-format#labels-optional\"\n >\n Read more\n </Button>\n </>\n );\n}\n","/*\n * Copyright 2022 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { useEntity } from '@backstage/plugin-catalog-react';\nimport React from 'react';\nimport {\n InfoCard,\n InfoCardVariants,\n Table,\n TableColumn,\n} from '@backstage/core-components';\nimport { EntityLabelsEmptyState } from './EntityLabelsEmptyState';\nimport { makeStyles, Typography } from '@material-ui/core';\n\n/** @public */\nexport interface EntityLabelsCardProps {\n variant?: InfoCardVariants;\n title?: string;\n}\n\nconst useStyles = makeStyles(_ => ({\n key: {\n fontWeight: 'bold',\n },\n}));\n\nexport const EntityLabelsCard = (props: EntityLabelsCardProps) => {\n const { variant, title } = props;\n const { entity } = useEntity();\n const classes = useStyles();\n\n const columns: TableColumn<{ key: string; value: string }>[] = [\n {\n render: row => {\n return (\n <Typography className={classes.key} variant=\"body2\">\n {row.key}\n </Typography>\n );\n },\n },\n {\n field: 'value',\n },\n ];\n\n const labels = entity?.metadata?.labels;\n\n return (\n <InfoCard title={title || 'Labels'} variant={variant}>\n {!labels || Object.keys(labels).length === 0 ? (\n <EntityLabelsEmptyState />\n ) : (\n <Table\n columns={columns}\n data={Object.keys(labels).map(labelKey => ({\n key: labelKey,\n value: labels[labelKey],\n }))}\n options={{\n search: false,\n showTitle: true,\n loadingType: 'linear',\n header: false,\n padding: 'dense',\n pageSize: 5,\n toolbar: false,\n paging: Object.keys(labels).length > 5,\n }}\n />\n )}\n </InfoCard>\n );\n};\n","/*\n * Copyright 2023 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Entity } from '@backstage/catalog-model';\n\n/**\n * Returns true if the given entity has labels annotation given by the\n * catalog. For use by EntitySwitch\n *\n * @public\n */\nexport function hasLabels(entity: Entity) {\n return entity?.metadata?.labels\n ? Object.keys(entity?.metadata?.labels).some(Boolean)\n : false;\n}\n"],"names":["_interopRequireDefault","_interopRequireWildcard","exports","React","_createSvgIcon","_default","useStyles","makeStyles","theme","root","maxWidth","padding","spacing","boxTitle","margin","color","palette","textSubtle","arrow","name","BottomLink","props","link","title","onClick","classes","Box","Divider","Link","to","underline","display","alignItems","className","fontWeight","m","Typography","strong","ArrowIcon","SlackLink","slackChannel","href","LinkButton","variant","ErrorBoundary","Component","componentDidCatch","error","errorInfo","console","setState","render","children","state","ErrorPanel","constructor","undefined","noPadding","paddingBottom","header","headerTitle","typography","fontWeightBold","headerSubheader","paddingTop","headerAvatar","headerAction","headerContent","subheader","CardActionsTopRight","withStyles","float","CardActions","VARIANT_STYLES","card","flex","flexDirection","fullHeight","height","gridItem","marginBottom","breakInside","cardContent","InfoCard","divider","deepLink","errorBoundaryProps","headerStyle","headerProps","icon","action","actionsClassName","actions","cardClassName","actionsTopRight","titleTypographyProps","calculatedStyle","calculatedCardStyle","split","forEach","cardSubTitle","div","data-testid","errProps","Card","style","CardHeader","avatar","content","CardContent","classNames","NewEntityContext","createVersionedContext","AsyncEntityProvider","entity","loading","refresh","value","Provider","createVersionedValueMap","AnalyticsContext","attributes","entityRef","stringifyEntityRef","EntityProvider","useEntity","versionedHolder","useVersionedContext","Error","atVersion","useAsyncEntity","ENTITY_YAML","code","borderRadius","background","type","common","white","EntityLabelsEmptyState","CodeSnippet","text","language","showLineNumbers","highlightedNumbers","customStyle","fontSize","Button","target","_","key","EntityLabelsCard","columns","row","field","labels","metadata","Object","keys","length","Table","data","map","labelKey","options","search","showTitle","loadingType","pageSize","toolbar","paging","hasLabels","some","Boolean"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"file":"static/3182.1f1ac12b.chunk.js","mappings":"yJAEIA,EAAyB,EAAQ,IAA8C,EAE/EC,EAA0B,EAAQ,KAA+C,EAErF,EAA6C,CAC3C,MAAO,EACT,EACAC,EAAQ,EAAU,OAElB,IAAIC,EAAQF,EAAwB,EAAQ,KAAO,CAAC,EAEhDG,EAAiBJ,EAAuB,EAAQ,KAAuB,CAAC,EAExEK,KAAeD,EAAe,SAAuBD,EAAM,cAAc,OAAQ,CACnF,EAAG,2DACL,CAAC,EAAG,cAAc,EAElBD,E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AKH,CAAM,EAAEI,OAAS,CACvC,C,IAKV,EC9DO,SAASY,EAAUxD,EAAgB,C,IACjCA,EACSA,EADhB,MAAOA,EAAAA,GAAAA,OAAAA,EAAAA,EAAQyC,YAAQ,MAAhBzC,IAAAA,SAAAA,EAAkBwC,OACrBE,OAAOC,KAAK3C,GAAAA,OAAAA,EAAAA,EAAQyC,YAAQ,MAAhBzC,IAAAA,OAAAA,OAAAA,EAAkBwC,MAAM,EAAEiB,KAAKC,OAAO,EAClD,EACN,C","sources":["webpack://techdocs-cli-embedded-app/../../node_modules/@material-ui/icons/ArrowForward.js","webpack://techdocs-cli-embedded-app/../core-components/src/layout/BottomLink/BottomLink.tsx","webpack://techdocs-cli-embedded-app/../core-components/src/layout/ErrorBoundary/ErrorBoundary.tsx","webpack://techdocs-cli-embedded-app/../core-components/src/layout/InfoCard/InfoCard.tsx","webpack://techdocs-cli-embedded-app/../../plugins/catalog-react/src/hooks/useEntity.tsx","webpack://techdocs-cli-embedded-app/../../plugins/catalog/src/components/EntityLabelsCard/EntityLabelsEmptyState.tsx","webpack://techdocs-cli-embedded-app/../../plugins/catalog/src/components/EntityLabelsCard/EntityLabelsCard.tsx","webpack://techdocs-cli-embedded-app/../../plugins/catalog/src/components/EntityLabelsCard/conditions.ts"],"sourcesContent":["\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nvar _interopRequireWildcard = require(\"@babel/runtime/helpers/interopRequireWildcard\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar React = _interopRequireWildcard(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z\"\n}), 'ArrowForward');\n\nexports.default = _default;","/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport Box from '@material-ui/core/Box';\nimport Divider from '@material-ui/core/Divider';\nimport { makeStyles } from '@material-ui/core/styles';\nimport Typography from '@material-ui/core/Typography';\nimport ArrowIcon from '@material-ui/icons/ArrowForward';\nimport React from 'react';\nimport { Link } from '../../components/Link';\n\n/** @public */\nexport type BottomLinkClassKey = 'root' | 'boxTitle' | 'arrow';\n\nconst useStyles = makeStyles(\n theme => ({\n root: {\n maxWidth: 'fit-content',\n padding: theme.spacing(2, 2, 2, 2.5),\n },\n boxTitle: {\n margin: 0,\n color: theme.palette.textSubtle,\n },\n arrow: {\n color: theme.palette.textSubtle,\n },\n }),\n { name: 'BackstageBottomLink' },\n);\n\n/** @public */\nexport type BottomLinkProps = {\n link: string;\n title: string;\n onClick?: (event: React.MouseEvent<HTMLAnchorElement>) => void;\n};\n\n/**\n * Footer with link used in {@link InfoCard } and {@link TabbedCard}\n *\n * @public\n *\n */\nexport function BottomLink(props: BottomLinkProps) {\n const { link, title, onClick } = props;\n const classes = useStyles();\n\n return (\n <Box>\n <Divider />\n <Link to={link} onClick={onClick} underline=\"none\">\n <Box display=\"flex\" alignItems=\"center\" className={classes.root}>\n <Box className={classes.boxTitle} fontWeight=\"fontWeightBold\" m={1}>\n <Typography>\n <strong>{title}</strong>\n </Typography>\n </Box>\n <ArrowIcon className={classes.arrow} />\n </Box>\n </Link>\n </Box>\n );\n}\n","/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport Typography from '@material-ui/core/Typography';\nimport React, { ComponentClass, Component, ErrorInfo } from 'react';\nimport { LinkButton } from '../../components/LinkButton';\nimport { ErrorPanel } from '../../components/ErrorPanel';\nimport { coreComponentsTranslationRef } from '../../translation';\nimport { useTranslationRef } from '@backstage/core-plugin-api/alpha';\n\ntype SlackChannel = {\n name: string;\n href?: string;\n};\n\n/** @public */\nexport type ErrorBoundaryProps = React.PropsWithChildren<{\n slackChannel?: string | SlackChannel;\n onError?: (error: Error, errorInfo: string) => null;\n}>;\n\ntype State = {\n error?: Error;\n errorInfo?: ErrorInfo;\n};\n\nconst SlackLink = (props: { slackChannel?: string | SlackChannel }) => {\n const { slackChannel } = props;\n const { t } = useTranslationRef(coreComponentsTranslationRef);\n\n if (!slackChannel) {\n return null;\n } else if (typeof slackChannel === 'string') {\n return (\n <Typography>{t('errorBoundary.title', { slackChannel })}</Typography>\n );\n } else if (!slackChannel.href) {\n return (\n <Typography>\n {t('errorBoundary.title', {\n slackChannel: slackChannel.name,\n })}\n </Typography>\n );\n }\n\n return (\n <LinkButton to={slackChannel.href} variant=\"contained\">\n {slackChannel.name}\n </LinkButton>\n );\n};\n\n/** @public */\nexport const ErrorBoundary: ComponentClass<\n ErrorBoundaryProps,\n State\n> = class ErrorBoundary extends Component<ErrorBoundaryProps, State> {\n constructor(props: ErrorBoundaryProps) {\n super(props);\n this.state = {\n error: undefined,\n errorInfo: undefined,\n };\n }\n\n componentDidCatch(error: Error, errorInfo: ErrorInfo) {\n // eslint-disable-next-line no-console\n console.error(`ErrorBoundary, error: ${error}, info: ${errorInfo}`);\n this.setState({ error, errorInfo });\n }\n\n render() {\n const { slackChannel, children } = this.props;\n const { error } = this.state;\n\n if (!error) {\n return children;\n }\n\n return (\n <ErrorPanel title=\"Something Went Wrong\" error={error}>\n <SlackLink slackChannel={slackChannel} />\n </ErrorPanel>\n );\n }\n};\n","/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport Card from '@material-ui/core/Card';\nimport CardActions from '@material-ui/core/CardActions';\nimport CardContent from '@material-ui/core/CardContent';\nimport CardHeader, { CardHeaderProps } from '@material-ui/core/CardHeader';\nimport Divider from '@material-ui/core/Divider';\nimport { makeStyles, withStyles } from '@material-ui/core/styles';\nimport classNames from 'classnames';\nimport React, { ReactNode } from 'react';\nimport { BottomLink, BottomLinkProps } from '../BottomLink';\nimport { ErrorBoundary, ErrorBoundaryProps } from '../ErrorBoundary';\n\n/** @public */\nexport type InfoCardClassKey =\n | 'noPadding'\n | 'header'\n | 'headerTitle'\n | 'headerSubheader'\n | 'headerAvatar'\n | 'headerAction'\n | 'headerContent';\n\nconst useStyles = makeStyles(\n theme => ({\n noPadding: {\n padding: 0,\n '&:last-child': {\n paddingBottom: 0,\n },\n },\n header: {\n padding: theme.spacing(2, 2, 2, 2.5),\n },\n headerTitle: {\n fontWeight: theme.typography.fontWeightBold,\n },\n headerSubheader: {\n paddingTop: theme.spacing(1),\n },\n headerAvatar: {},\n headerAction: {},\n headerContent: {},\n subheader: {\n display: 'flex',\n },\n }),\n { name: 'BackstageInfoCard' },\n);\n\n/** @public */\nexport type CardActionsTopRightClassKey = 'root';\n\nconst CardActionsTopRight = withStyles(\n theme => ({\n root: {\n display: 'inline-block',\n padding: theme.spacing(8, 8, 0, 0),\n float: 'right',\n },\n }),\n { name: 'BackstageInfoCardCardActionsTopRight' },\n)(CardActions);\n\nconst VARIANT_STYLES = {\n card: {\n flex: {\n display: 'flex',\n flexDirection: 'column',\n },\n fullHeight: {\n display: 'flex',\n flexDirection: 'column',\n height: '100%',\n },\n gridItem: {\n display: 'flex',\n flexDirection: 'column',\n height: 'calc(100% - 10px)', // for pages without content header\n marginBottom: '10px',\n breakInside: 'avoid-page',\n '@media print': {\n height: 'auto',\n },\n },\n },\n cardContent: {\n fullHeight: {\n flex: 1,\n },\n gridItem: {\n flex: 1,\n },\n },\n};\n\n/** @public */\nexport type InfoCardVariants = 'flex' | 'fullHeight' | 'gridItem';\n\n/**\n * InfoCard is used to display a paper-styled block on the screen, similar to a panel.\n *\n * You can custom style an InfoCard with the 'className' (outer container) and 'cardClassName' (inner container)\n * props. This is typically used with the material-ui makeStyles mechanism.\n *\n * The InfoCard serves as an error boundary. As a result, if you provide an 'errorBoundaryProps' property this\n * specifies the extra information to display in the error component that is displayed if an error occurs\n * in any descendent components.\n *\n * By default the InfoCard has no custom layout of its children, but is treated as a block element. A\n * couple common variants are provided and can be specified via the variant property:\n *\n * When the InfoCard is displayed as a grid item within a grid, you may want items to have the same height for all items.\n * Set to the 'gridItem' variant to display the InfoCard with full height suitable for Grid:\n *\n * `<InfoCard variant=\"gridItem\">...</InfoCard>`\n */\nexport type Props = {\n title?: ReactNode;\n subheader?: ReactNode;\n divider?: boolean;\n deepLink?: BottomLinkProps;\n /** @deprecated Use errorBoundaryProps instead */\n slackChannel?: string;\n errorBoundaryProps?: ErrorBoundaryProps;\n variant?: InfoCardVariants;\n children?: ReactNode;\n headerStyle?: object;\n headerProps?: CardHeaderProps;\n icon?: ReactNode;\n action?: ReactNode;\n actionsClassName?: string;\n actions?: ReactNode;\n cardClassName?: string;\n actionsTopRight?: ReactNode;\n className?: string;\n noPadding?: boolean;\n titleTypographyProps?: object;\n};\n\n/**\n * Material-ui card with header , content and actions footer\n *\n * @public\n *\n */\nexport function InfoCard(props: Props): JSX.Element {\n const {\n title,\n subheader,\n divider = true,\n deepLink,\n slackChannel,\n errorBoundaryProps,\n variant,\n children,\n headerStyle,\n headerProps,\n icon,\n action,\n actionsClassName,\n actions,\n cardClassName,\n actionsTopRight,\n className,\n noPadding,\n titleTypographyProps,\n } = props;\n const classes = useStyles();\n /**\n * If variant is specified, we build up styles for that particular variant for both\n * the Card and the CardContent (since these need to be synced)\n */\n let calculatedStyle = {};\n let calculatedCardStyle = {};\n if (variant) {\n const variants = variant.split(/[\\s]+/g);\n variants.forEach(name => {\n calculatedStyle = {\n ...calculatedStyle,\n ...VARIANT_STYLES.card[name as keyof (typeof VARIANT_STYLES)['card']],\n };\n calculatedCardStyle = {\n ...calculatedCardStyle,\n ...VARIANT_STYLES.cardContent[\n name as keyof (typeof VARIANT_STYLES)['cardContent']\n ],\n };\n });\n }\n\n const cardSubTitle = () => {\n if (!subheader && !icon) {\n return null;\n }\n\n return (\n <div\n className={classes.headerSubheader}\n data-testid=\"info-card-subheader\"\n >\n {subheader && <div className={classes.subheader}>{subheader}</div>}\n {icon}\n </div>\n );\n };\n\n const errProps: ErrorBoundaryProps =\n errorBoundaryProps || (slackChannel ? { slackChannel } : {});\n\n return (\n <Card style={calculatedStyle} className={className}>\n <ErrorBoundary {...errProps}>\n {title && (\n <CardHeader\n classes={{\n root: classes.header,\n title: classes.headerTitle,\n subheader: classes.headerSubheader,\n avatar: classes.headerAvatar,\n action: classes.headerAction,\n content: classes.headerContent,\n }}\n title={title}\n subheader={cardSubTitle()}\n action={action}\n style={{ ...headerStyle }}\n titleTypographyProps={titleTypographyProps}\n {...headerProps}\n />\n )}\n {actionsTopRight && (\n <CardActionsTopRight>{actionsTopRight}</CardActionsTopRight>\n )}\n {divider && <Divider />}\n <CardContent\n className={classNames(cardClassName, {\n [classes.noPadding]: noPadding,\n })}\n style={calculatedCardStyle}\n >\n {children}\n </CardContent>\n {actions && (\n <CardActions className={actionsClassName}>{actions}</CardActions>\n )}\n {deepLink && <BottomLink {...deepLink} />}\n </ErrorBoundary>\n </Card>\n );\n}\n","/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Entity, stringifyEntityRef } from '@backstage/catalog-model';\nimport { AnalyticsContext } from '@backstage/core-plugin-api';\nimport {\n createVersionedContext,\n createVersionedValueMap,\n useVersionedContext,\n} from '@backstage/version-bridge';\nimport React, { ReactNode } from 'react';\n\n/** @public */\nexport type EntityLoadingStatus<TEntity extends Entity = Entity> = {\n entity?: TEntity;\n loading: boolean;\n error?: Error;\n refresh?: VoidFunction;\n};\n\n// This context has support for multiple concurrent versions of this package.\n// It is currently used in parallel with the old context in order to provide\n// a smooth transition, but will eventually be the only context we use.\nconst NewEntityContext = createVersionedContext<{ 1: EntityLoadingStatus }>(\n 'entity-context',\n);\n\n/**\n * Properties for the AsyncEntityProvider component.\n *\n * @public\n */\nexport interface AsyncEntityProviderProps {\n children: ReactNode;\n entity?: Entity;\n loading: boolean;\n error?: Error;\n refresh?: VoidFunction;\n}\n\n/**\n * Provides a loaded entity to be picked up by the `useEntity` hook.\n *\n * @public\n */\nexport const AsyncEntityProvider = (props: AsyncEntityProviderProps) => {\n const { children, entity, loading, error, refresh } = props;\n const value = { entity, loading, error, refresh };\n // We provide both the old and the new context, since\n // consumers might be doing things like `useContext(EntityContext)`\n return (\n <NewEntityContext.Provider value={createVersionedValueMap({ 1: value })}>\n <AnalyticsContext\n attributes={{\n ...(entity ? { entityRef: stringifyEntityRef(entity) } : undefined),\n }}\n >\n {children}\n </AnalyticsContext>\n </NewEntityContext.Provider>\n );\n};\n\n/**\n * Properties for the EntityProvider component.\n *\n * @public\n */\nexport interface EntityProviderProps {\n children: ReactNode;\n entity?: Entity;\n}\n\n/**\n * Provides an entity to be picked up by the `useEntity` hook.\n *\n * @public\n */\nexport const EntityProvider = (props: EntityProviderProps) => (\n <AsyncEntityProvider\n entity={props.entity}\n loading={!Boolean(props.entity)}\n error={undefined}\n refresh={undefined}\n children={props.children}\n />\n);\n\n/**\n * Grab the current entity from the context, throws if the entity has not yet been loaded\n * or is not available.\n *\n * @public\n */\nexport function useEntity<TEntity extends Entity = Entity>(): {\n entity: TEntity;\n} {\n const versionedHolder = useVersionedContext<{ 1: EntityLoadingStatus }>(\n 'entity-context',\n );\n\n if (!versionedHolder) {\n throw new Error('Entity context is not available');\n }\n\n const value = versionedHolder.atVersion(1);\n if (!value) {\n throw new Error('EntityContext v1 not available');\n }\n\n if (!value.entity) {\n throw new Error(\n 'useEntity hook is being called outside of an EntityLayout where the entity has not been loaded. If this is intentional, please use useAsyncEntity instead.',\n );\n }\n\n return { entity: value.entity as TEntity };\n}\n\n/**\n * Grab the current entity from the context, provides loading state and errors, and the ability to refresh.\n *\n * @public\n */\nexport function useAsyncEntity<\n TEntity extends Entity = Entity,\n>(): EntityLoadingStatus<TEntity> {\n const versionedHolder = useVersionedContext<{ 1: EntityLoadingStatus }>(\n 'entity-context',\n );\n\n if (!versionedHolder) {\n throw new Error('Entity context is not available');\n }\n const value = versionedHolder.atVersion(1);\n if (!value) {\n throw new Error('EntityContext v1 not available');\n }\n\n const { entity, loading, error, refresh } = value;\n return { entity: entity as TEntity, loading, error, refresh };\n}\n","/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Button, makeStyles, Typography } from '@material-ui/core';\nimport React from 'react';\nimport { CodeSnippet } from '@backstage/core-components';\n\nconst ENTITY_YAML = `metadata:\n name: example\n labels:\n javaVersion: 1.2.3`;\n\nconst useStyles = makeStyles(\n theme => ({\n code: {\n borderRadius: 6,\n margin: theme.spacing(2, 0),\n background:\n theme.palette.type === 'dark' ? '#444' : theme.palette.common.white,\n },\n }),\n { name: 'PluginCatalogEntityLabelsEmptyState' },\n);\n\nexport function EntityLabelsEmptyState() {\n const classes = useStyles();\n\n return (\n <>\n <Typography variant=\"body1\">\n No labels defined for this entity. You can add labels to your entity\n YAML as shown in the highlighted example below:\n </Typography>\n <div className={classes.code}>\n <CodeSnippet\n text={ENTITY_YAML}\n language=\"yaml\"\n showLineNumbers\n highlightedNumbers={[3, 4, 5, 6]}\n customStyle={{ background: 'inherit', fontSize: '115%' }}\n />\n </div>\n <Button\n variant=\"contained\"\n color=\"primary\"\n target=\"_blank\"\n href=\"https://backstage.io/docs/features/software-catalog/descriptor-format#labels-optional\"\n >\n Read more\n </Button>\n </>\n );\n}\n","/*\n * Copyright 2022 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { useEntity } from '@backstage/plugin-catalog-react';\nimport React from 'react';\nimport {\n InfoCard,\n InfoCardVariants,\n Table,\n TableColumn,\n} from '@backstage/core-components';\nimport { EntityLabelsEmptyState } from './EntityLabelsEmptyState';\nimport { makeStyles, Typography } from '@material-ui/core';\n\n/** @public */\nexport interface EntityLabelsCardProps {\n variant?: InfoCardVariants;\n title?: string;\n}\n\nconst useStyles = makeStyles(_ => ({\n key: {\n fontWeight: 'bold',\n },\n}));\n\nexport const EntityLabelsCard = (props: EntityLabelsCardProps) => {\n const { variant, title } = props;\n const { entity } = useEntity();\n const classes = useStyles();\n\n const columns: TableColumn<{ key: string; value: string }>[] = [\n {\n render: row => {\n return (\n <Typography className={classes.key} variant=\"body2\">\n {row.key}\n </Typography>\n );\n },\n },\n {\n field: 'value',\n },\n ];\n\n const labels = entity?.metadata?.labels;\n\n return (\n <InfoCard title={title || 'Labels'} variant={variant}>\n {!labels || Object.keys(labels).length === 0 ? (\n <EntityLabelsEmptyState />\n ) : (\n <Table\n columns={columns}\n data={Object.keys(labels).map(labelKey => ({\n key: labelKey,\n value: labels[labelKey],\n }))}\n options={{\n search: false,\n showTitle: true,\n loadingType: 'linear',\n header: false,\n padding: 'dense',\n pageSize: 5,\n toolbar: false,\n paging: Object.keys(labels).length > 5,\n }}\n />\n )}\n </InfoCard>\n );\n};\n","/*\n * Copyright 2023 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Entity } from '@backstage/catalog-model';\n\n/**\n * Returns true if the given entity has labels annotation given by the\n * catalog. For use by EntitySwitch\n *\n * @public\n */\nexport function hasLabels(entity: Entity) {\n return entity?.metadata?.labels\n ? Object.keys(entity?.metadata?.labels).some(Boolean)\n : false;\n}\n"],"names":["_interopRequireDefault","_interopRequireWildcard","exports","React","_createSvgIcon","_default","useStyles","makeStyles","theme","root","maxWidth","padding","spacing","boxTitle","margin","color","palette","textSubtle","arrow","name","BottomLink","props","link","title","onClick","classes","Box","Divider","Link","to","underline","display","alignItems","className","fontWeight","m","Typography","strong","ArrowIcon","SlackLink","slackChannel","t","useTranslationRef","coreComponentsTranslationRef","href","LinkButton","variant","ErrorBoundary","Component","componentDidCatch","error","errorInfo","console","setState","render","children","state","ErrorPanel","constructor","undefined","noPadding","paddingBottom","header","headerTitle","typography","fontWeightBold","headerSubheader","paddingTop","headerAvatar","headerAction","headerContent","subheader","CardActionsTopRight","withStyles","float","CardActions","VARIANT_STYLES","card","flex","flexDirection","fullHeight","height","gridItem","marginBottom","breakInside","cardContent","InfoCard","divider","deepLink","errorBoundaryProps","headerStyle","headerProps","icon","action","actionsClassName","actions","cardClassName","actionsTopRight","titleTypographyProps","calculatedStyle","calculatedCardStyle","split","forEach","cardSubTitle","div","data-testid","errProps","Card","style","CardHeader","avatar","content","CardContent","classNames","NewEntityContext","createVersionedContext","AsyncEntityProvider","entity","loading","refresh","value","Provider","createVersionedValueMap","AnalyticsContext","attributes","entityRef","stringifyEntityRef","EntityProvider","useEntity","versionedHolder","useVersionedContext","Error","atVersion","useAsyncEntity","ENTITY_YAML","code","borderRadius","background","type","common","white","EntityLabelsEmptyState","CodeSnippet","text","language","showLineNumbers","highlightedNumbers","customStyle","fontSize","Button","target","_","key","EntityLabelsCard","columns","row","field","labels","metadata","Object","keys","length","Table","data","map","labelKey","options","search","showTitle","loadingType","pageSize","toolbar","paging","hasLabels","some","Boolean"],"sourceRoot":""}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
(()=>{(self.webpackChunktechdocs_cli_embedded_app=self.webpackChunktechdocs_cli_embedded_app||[]).push([[3308],{37639:function(U,B,I){"use strict";I.d(B,{A:function(){return Pt}});var R=I(14041);const T="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4vianca6w0s2x0a2z0ure5ba0by2idu3namex3narepublic11d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2tura4vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9dnavy5lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp2w2ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5m\xF6gensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",W="\u03B5\u03BB1\u03C52\u0431\u04331\u0435\u043B3\u0434\u0435\u0442\u04384\u0435\u044E2\u043A\u0430\u0442\u043E\u043B\u0438\u043A6\u043E\u043C3\u043C\u043A\u04342\u043E\u043D1\u0441\u043A\u0432\u04306\u043E\u043D\u043B\u0430\u0439\u043D5\u0440\u04333\u0440\u0443\u04412\u04442\u0441\u0430\u0439\u04423\u0440\u04313\u0443\u043A\u04403\u049B\u0430\u04373\u0570\u0561\u05753\u05D9\u05E9\u05E8\u05D0\u05DC5\u05E7\u05D5\u05DD3\u0627\u0628\u0648\u0638\u0628\u064A5\u0631\u0627\u0645\u0643\u06485\u0644\u0627\u0631\u062F\u06464\u0628\u062D\u0631\u064A\u06465\u062C\u0632\u0627\u0626\u06315\u0633\u0639\u0648\u062F\u064A\u06296\u0639\u0644\u064A\u0627\u06465\u0645\u063A\u0631\u06285\u0645\u0627\u0631\u0627\u062A5\u06CC\u0631\u0627\u06465\u0628\u0627\u0631\u062A2\u0632\u0627\u06314\u064A\u062A\u06433\u06BE\u0627\u0631\u062A5\u062A\u0648\u0646\u06334\u0633\u0648\u062F\u0627\u06463\u0631\u064A\u06295\u0634\u0628\u0643\u06294\u0639\u0631\u0627\u06422\u06282\u0645\u0627\u06464\u0641\u0644\u0633\u0637\u064A\u06466\u0642\u0637\u06313\u0643\u0627\u062B\u0648\u0644\u064A\u06436\u0648\u06453\u0645\u0635\u06312\u0644\u064A\u0633\u064A\u06275\u0648\u0631\u064A\u062A\u0627\u0646\u064A\u06277\u0642\u06394\u0647\u0645\u0631\u0627\u06475\u067E\u0627\u06A9\u0633\u062A\u0627\u06467\u0680\u0627\u0631\u062A4\u0915\u0949\u092E3\u0928\u0947\u091F3\u092D\u093E\u0930\u09240\u092E\u094D3\u094B\u09245\u0938\u0902\u0917\u0920\u09285\u09AC\u09BE\u0982\u09B2\u09BE5\u09AD\u09BE\u09B0\u09A42\u09F0\u09A44\u0A2D\u0A3E\u0A30\u0A244\u0AAD\u0ABE\u0AB0\u0AA44\u0B2D\u0B3E\u0B30\u0B244\u0B87\u0BA8\u0BCD\u0BA4\u0BBF\u0BAF\u0BBE6\u0BB2\u0B99\u0BCD\u0B95\u0BC86\u0B9A\u0BBF\u0B99\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0BC2\u0BB0\u0BCD11\u0C2D\u0C3E\u0C30\u0C24\u0C4D5\u0CAD\u0CBE\u0CB0\u0CA44\u0D2D\u0D3E\u0D30\u0D24\u0D025\u0DBD\u0D82\u0D9A\u0DCF4\u0E04\u0E2D\u0E213\u0E44\u0E17\u0E223\u0EA5\u0EB2\u0EA73\u10D2\u10D42\u307F\u3093\u306A3\u30A2\u30DE\u30BE\u30F34\u30AF\u30E9\u30A6\u30C94\u30B0\u30FC\u30B0\u30EB4\u30B3\u30E02\u30B9\u30C8\u30A23\u30BB\u30FC\u30EB3\u30D5\u30A1\u30C3\u30B7\u30E7\u30F36\u30DD\u30A4\u30F3\u30C84\u4E16\u754C2\u4E2D\u4FE11\u56FD1\u570B1\u6587\u7F513\u4E9A\u9A6C\u900A3\u4F01\u4E1A2\u4F5B\u5C712\u4FE1\u606F2\u5065\u5EB72\u516B\u53662\u516C\u53F81\u76CA2\u53F0\u6E7E1\u70632\u5546\u57CE1\u5E971\u68072\u5609\u91CC0\u5927\u9152\u5E975\u5728\u7EBF2\u5927\u62FF2\u5929\u4E3B\u65593\u5A31\u4E502\u5BB6\u96FB2\u5E7F\u4E1C2\u5FAE\u535A2\u6148\u55842\u6211\u7231\u4F603\u624B\u673A2\u62DB\u80582\u653F\u52A11\u5E9C2\u65B0\u52A0\u57612\u95FB2\u65F6\u5C1A2\u66F8\u7C4D2\u673A\u67842\u6DE1\u9A6C\u95213\u6E38\u620F2\u6FB3\u95802\u70B9\u770B2\u79FB\u52A82\u7EC4\u7EC7\u673A\u67844\u7F51\u57401\u5E971\u7AD91\u7EDC2\u8054\u901A2\u8C37\u6B4C2\u8D2D\u72692\u901A\u8CA92\u96C6\u56E22\u96FB\u8A0A\u76C8\u79D14\u98DE\u5229\u6D663\u98DF\u54C12\u9910\u53852\u9999\u683C\u91CC\u62C93\u6E2F2\uB2F7\uB1371\uCEF42\uC0BC\uC1312\uD55C\uAD6D2",M=(t,r)=>{for(const n in r)t[n]=r[n];return t},L="numeric",j="ascii",$="alpha",J="asciinumeric",Ce="alphanumeric",ge="domain",xe="emoji",Le="scheme",Ne="slashscheme",je="whitespace";function de(t,r){return t in r||(r[t]=[]),r[t]}function X(t,r,n){r[L]&&(r[J]=!0,r[Ce]=!0),r[j]&&(r[J]=!0,r[$]=!0),r[J]&&(r[Ce]=!0),r[$]&&(r[Ce]=!0),r[Ce]&&(r[ge]=!0),r[xe]&&(r[ge]=!0);for(const u in r){const f=de(u,n);f.indexOf(t)<0&&f.push(t)}}function Y(t,r){const n={};for(const u in r)r[u].indexOf(t)>=0&&(n[u]=!0);return n}function G(t){t===void 0&&(t=null),this.j={},this.jr=[],this.jd=null,this.t=t}G.groups={},G.prototype={accepts(){return!!this.t},go(t){const r=this,n=r.j[t];if(n)return n;for(let u=0;u<r.jr.length;u++){const f=r.jr[u][0],v=r.jr[u][1];if(v&&f.test(t))return v}return r.jd},has(t,r){return r===void 0&&(r=!1),r?t in this.j:!!this.go(t)},ta(t,r,n,u){for(let f=0;f<t.length;f++)this.tt(t[f],r,n,u)},tr(t,r,n,u){u=u||G.groups;let f;return r&&r.j?f=r:(f=new G(r),n&&u&&X(r,n,u)),this.jr.push([t,f]),f},ts(t,r,n,u){let f=this;const v=t.length;if(!v)return f;for(let g=0;g<v-1;g++)f=f.tt(t[g]);return f.tt(t[v-1],r,n,u)},tt(t,r,n,u){u=u||G.groups;const f=this;if(r&&r.j)return f.j[t]=r,r;const v=r;let g,b=f.go(t);if(b?(g=new G,M(g.j,b.j),g.jr.push.apply(g.jr,b.jr),g.jd=b.jd,g.t=b.t):g=new G,v){if(u)if(g.t&&typeof g.t=="string"){const Q=M(Y(g.t,u),n);X(v,Q,u)}else n&&X(v,n,u);g.t=v}return f.j[t]=g,g}};const O=(t,r,n,u,f)=>t.ta(r,n,u,f),oe=(t,r,n,u,f)=>t.tr(r,n,u,f),ye=(t,r,n,u,f)=>t.ts(r,n,u,f),h=(t,r,n,u,f)=>t.tt(r,n,u,f),ve="WORD",Ie="UWORD",Ee="LOCALHOST",be="TLD",A="UTLD",se="SCHEME",ee="SLASH_SCHEME",pe="NUM",Te="WS",te="NL",fe="OPENBRACE",Re="CLOSEBRACE",ke="OPENBRACKET",He="CLOSEBRACKET",We="OPENPAREN",qe="CLOSEPAREN",Ge="OPENANGLEBRACKET",Je="CLOSEANGLEBRACKET",Xe="FULLWIDTHLEFTPAREN",lt="FULLWIDTHRIGHTPAREN",ut="LEFTCORNERBRACKET",rt="RIGHTCORNERBRACKET",Ye="LEFTWHITECORNERBRACKET",it="RIGHTWHITECORNERBRACKET",ot="FULLWIDTHLESSTHAN",st="FULLWIDTHGREATERTHAN",ct="AMPERSAND",c="APOSTROPHE",e="ASTERISK",i="AT",o="BACKSLASH",a="BACKTICK",m="CARET",d="COLON",p="COMMA",S="DOLLAR",w="DOT",_="EQUALS",H="EXCLAMATION",y="HYPHEN",V="PERCENT",re="PIPE",l="PLUS",E="POUND",z="QUERY",D="QUOTE",P="SEMI",F="SLASH",s="TILDE",C="UNDERSCORE",x="EMOJI",k="SYM";var K=Object.freeze({__proto__:null,WORD:ve,UWORD:Ie,LOCALHOST:Ee,TLD:be,UTLD:A,SCHEME:se,SLASH_SCHEME:ee,NUM:pe,WS:Te,NL:te,OPENBRACE:fe,CLOSEBRACE:Re,OPENBRACKET:ke,CLOSEBRACKET:He,OPENPAREN:We,CLOSEPAREN:qe,OPENANGLEBRACKET:Ge,CLOSEANGLEBRACKET:Je,FULLWIDTHLEFTPAREN:Xe,FULLWIDTHRIGHTPAREN:lt,LEFTCORNERBRACKET:ut,RIGHTCORNERBRACKET:rt,LEFTWHITECORNERBRACKET:Ye,RIGHTWHITECORNERBRACKET:it,FULLWIDTHLESSTHAN:ot,FULLWIDTHGREATERTHAN:st,AMPERSAND:ct,APOSTROPHE:c,ASTERISK:e,AT:i,BACKSLASH:o,BACKTICK:a,CARET:m,COLON:d,COMMA:p,DOLLAR:S,DOT:w,EQUALS:_,EXCLAMATION:H,HYPHEN:y,PERCENT:V,PIPE:re,PLUS:l,POUND:E,QUERY:z,QUOTE:D,SEMI:P,SLASH:F,TILDE:s,UNDERSCORE:C,EMOJI:x,SYM:k});const N=/[a-z]/,Z=/\p{L}/u,ae=/\p{Emoji}/u,Se=/\ufe0f/,le=/\d/,ue=/\s/;var he=Object.freeze({__proto__:null,ASCII_LETTER:N,LETTER:Z,EMOJI:ae,EMOJI_VARIATION:Se,DIGIT:le,SPACE:ue});const we=`
|
|
2
|
+
`,Oe="\uFE0F",De="\u200D";let _e=null,Pe=null;function Qe(t){t===void 0&&(t=[]);const r={};G.groups=r;const n=new G;_e==null&&(_e=St(T)),Pe==null&&(Pe=St(W)),h(n,"'",c),h(n,"{",fe),h(n,"}",Re),h(n,"[",ke),h(n,"]",He),h(n,"(",We),h(n,")",qe),h(n,"<",Ge),h(n,">",Je),h(n,"\uFF08",Xe),h(n,"\uFF09",lt),h(n,"\u300C",ut),h(n,"\u300D",rt),h(n,"\u300E",Ye),h(n,"\u300F",it),h(n,"\uFF1C",ot),h(n,"\uFF1E",st),h(n,"&",ct),h(n,"*",e),h(n,"@",i),h(n,"`",a),h(n,"^",m),h(n,":",d),h(n,",",p),h(n,"$",S),h(n,".",w),h(n,"=",_),h(n,"!",H),h(n,"-",y),h(n,"%",V),h(n,"|",re),h(n,"+",l),h(n,"#",E),h(n,"?",z),h(n,'"',D),h(n,"/",F),h(n,";",P),h(n,"~",s),h(n,"_",C),h(n,"\\",o);const u=oe(n,le,pe,{[L]:!0});oe(u,le,u);const f=oe(n,N,ve,{[j]:!0});oe(f,N,f);const v=oe(n,Z,Ie,{[$]:!0});oe(v,N),oe(v,Z,v);const g=oe(n,ue,Te,{[je]:!0});h(n,we,te,{[je]:!0}),h(g,we),oe(g,ue,g);const b=oe(n,ae,x,{[xe]:!0});oe(b,ae,b),h(b,Oe,b);const Q=h(b,De);oe(Q,ae,b);const ie=[[N,f]],me=[[N,null],[Z,v]];for(let ne=0;ne<_e.length;ne++)Ae(n,_e[ne],be,ve,ie);for(let ne=0;ne<Pe.length;ne++)Ae(n,Pe[ne],A,Ie,me);X(be,{tld:!0,ascii:!0},r),X(A,{utld:!0,alpha:!0},r),Ae(n,"file",se,ve,ie),Ae(n,"mailto",se,ve,ie),Ae(n,"http",ee,ve,ie),Ae(n,"https",ee,ve,ie),Ae(n,"ftp",ee,ve,ie),Ae(n,"ftps",ee,ve,ie),X(se,{scheme:!0,ascii:!0},r),X(ee,{slashscheme:!0,ascii:!0},r),t=t.sort((ne,ce)=>ne[0]>ce[0]?1:-1);for(let ne=0;ne<t.length;ne++){const ce=t[ne][0],Me=t[ne][1]?{[Le]:!0}:{[Ne]:!0};ce.indexOf("-")>=0?Me[ge]=!0:N.test(ce)?le.test(ce)?Me[J]=!0:Me[j]=!0:Me[L]=!0,ye(n,ce,ce,Me)}return ye(n,"localhost",Ee,{ascii:!0}),n.jd=new G(k),{start:n,tokens:M({groups:r},K)}}function Ve(t,r){const n=Fe(r.replace(/[A-Z]/g,b=>b.toLowerCase())),u=n.length,f=[];let v=0,g=0;for(;g<u;){let b=t,Q=null,ie=0,me=null,ne=-1,ce=-1;for(;g<u&&(Q=b.go(n[g]));)b=Q,b.accepts()?(ne=0,ce=0,me=b):ne>=0&&(ne+=n[g].length,ce++),ie+=n[g].length,v+=n[g].length,g++;v-=ne,g-=ce,ie-=ne,f.push({t:me.t,v:r.slice(v-ie,v),s:v-ie,e:v})}return f}function Fe(t){const r=[],n=t.length;let u=0;for(;u<n;){let f=t.charCodeAt(u),v,g=f<55296||f>56319||u+1===n||(v=t.charCodeAt(u+1))<56320||v>57343?t[u]:t.slice(u,u+2);r.push(g),u+=g.length}return r}function Ae(t,r,n,u,f){let v;const g=r.length;for(let b=0;b<g-1;b++){const Q=r[b];t.j[Q]?v=t.j[Q]:(v=new G(u),v.jr=f.slice(),t.j[Q]=v),t=v}return v=new G(n),v.jr=f.slice(),t.j[r[g-1]]=v,v}function St(t){const r=[],n=[];let u=0,f="0123456789";for(;u<t.length;){let v=0;for(;f.indexOf(t[u+v])>=0;)v++;if(v>0){r.push(n.join(""));for(let g=parseInt(t.substring(u,u+v),10);g>0;g--)n.pop();u+=v}else n.push(t[u]),u++}return r}const Ze={defaultProtocol:"http",events:null,format:It,formatHref:It,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function et(t,r){r===void 0&&(r=null);let n=M({},Ze);t&&(n=M(n,t instanceof et?t.o:t));const u=n.ignoreTags,f=[];for(let v=0;v<u.length;v++)f.push(u[v].toUpperCase());this.o=n,r&&(this.defaultRender=r),this.ignoreTags=f}et.prototype={o:Ze,ignoreTags:[],defaultRender(t){return t},check(t){return this.get("validate",t.toString(),t)},get(t,r,n){const u=r!=null;let f=this.o[t];return f&&(typeof f=="object"?(f=n.t in f?f[n.t]:Ze[t],typeof f=="function"&&u&&(f=f(r,n))):typeof f=="function"&&u&&(f=f(r,n.t,n)),f)},getObj(t,r,n){let u=this.o[t];return typeof u=="function"&&r!=null&&(u=u(r,n.t,n)),u},render(t){const r=t.render(this);return(this.get("render",null,t)||this.defaultRender)(r,t.t,t)}};function It(t){return t}var dt=Object.freeze({__proto__:null,defaults:Ze,Options:et,assign:M});function Ke(t,r){this.t="token",this.v=t,this.tk=r}Ke.prototype={isLink:!1,toString(){return this.v},toHref(t){return this.toString()},toFormattedString(t){const r=this.toString(),n=t.get("truncate",r,this),u=t.get("format",r,this);return n&&u.length>n?u.substring(0,n)+"\u2026":u},toFormattedHref(t){return t.get("formatHref",this.toHref(t.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(t){return t===void 0&&(t=Ze.defaultProtocol),{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(t),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(t){return{type:this.t,value:this.toFormattedString(t),isLink:this.isLink,href:this.toFormattedHref(t),start:this.startIndex(),end:this.endIndex()}},validate(t){return t.get("validate",this.toString(),this)},render(t){const r=this,n=this.toHref(t.get("defaultProtocol")),u=t.get("formatHref",n,this),f=t.get("tagName",n,r),v=this.toFormattedString(t),g={},b=t.get("className",n,r),Q=t.get("target",n,r),ie=t.get("rel",n,r),me=t.getObj("attributes",n,r),ne=t.getObj("events",n,r);return g.href=u,b&&(g.class=b),Q&&(g.target=Q),ie&&(g.rel=ie),me&&M(g,me),{tagName:f,attributes:g,content:v,eventListeners:ne}}};function Be(t,r){class n extends Ke{constructor(f,v){super(f,v),this.t=t}}for(const u in r)n.prototype[u]=r[u];return n.t=t,n}const ft=Be("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),ht=Be("text"),bt=Be("nl"),mt=Be("url",{isLink:!0,toHref(t){return t===void 0&&(t=Ze.defaultProtocol),this.hasProtocol()?this.v:`${t}://${this.v}`},hasProtocol(){const t=this.tk;return t.length>=2&&t[0].t!==Ee&&t[1].t===d}});var Kt=Object.freeze({__proto__:null,MultiToken:Ke,Base:Ke,createTokenClass:Be,Email:ft,Text:ht,Nl:bt,Url:mt});const Ue=t=>new G(t);function Nt(t){let{groups:r}=t;const n=r.domain.concat([ct,e,i,o,a,m,S,_,y,pe,V,re,l,E,F,k,s,C]),u=[c,d,p,w,H,z,D,P,Ge,Je,fe,Re,He,ke,We,qe,Xe,lt,ut,rt,Ye,it,ot,st],f=[ct,c,e,o,a,m,S,_,y,fe,Re,V,re,l,E,z,F,k,s,C],v=Ue(),g=h(v,s);O(g,f,g),O(g,r.domain,g);const b=Ue(),Q=Ue(),ie=Ue();O(v,r.domain,b),O(v,r.scheme,Q),O(v,r.slashscheme,ie),O(b,f,g),O(b,r.domain,b);const me=h(b,i);h(g,i,me),h(Q,i,me),h(ie,i,me);const ne=h(g,w);O(ne,f,g),O(ne,r.domain,g);const ce=Ue();O(me,r.domain,ce),O(ce,r.domain,ce);const tt=h(ce,w);O(tt,r.domain,ce);const Me=Ue(ft);O(tt,r.tld,Me),O(tt,r.utld,Me),h(me,Ee,Me);const At=h(ce,y);O(At,r.domain,ce),O(Me,r.domain,ce),h(Me,w,tt),h(Me,y,At);const Ft=h(Me,d);O(Ft,r.numeric,ft);const Ct=h(b,y),nt=h(b,w);O(Ct,r.domain,b),O(nt,f,g),O(nt,r.domain,b);const $e=Ue(mt);O(nt,r.tld,$e),O(nt,r.utld,$e),O($e,r.domain,b),O($e,f,g),h($e,w,nt),h($e,y,Ct),h($e,i,me);const Ut=h($e,d),Mt=Ue(mt);O(Ut,r.numeric,Mt);const ze=Ue(mt),pt=Ue();O(ze,n,ze),O(ze,u,pt),O(pt,n,ze),O(pt,u,pt),h($e,F,ze),h(Mt,F,ze);const zt=h(Q,d),jt=h(ie,d),Bt=h(jt,F),wt=h(Bt,F);O(Q,r.domain,b),h(Q,w,nt),h(Q,y,Ct),O(ie,r.domain,b),h(ie,w,nt),h(ie,y,Ct),O(zt,r.domain,ze),h(zt,F,ze),O(wt,r.domain,ze),O(wt,n,ze),h(wt,F,ze);const Lt=[[fe,Re],[ke,He],[We,qe],[Ge,Je],[Xe,lt],[ut,rt],[Ye,it],[ot,st]];for(let _t=0;_t<Lt.length;_t++){const[kt,yt]=Lt[_t],xt=h(ze,kt);h(pt,kt,xt),h(xt,yt,ze);const at=Ue(mt);O(xt,n,at);const vt=Ue();O(xt,u),O(at,n,at),O(at,u,vt),O(vt,n,at),O(vt,u,vt),h(at,yt,ze),h(vt,yt,ze)}return h(v,Ee,$e),h(v,te,bt),{start:v,tokens:K}}function Ht(t,r,n){let u=n.length,f=0,v=[],g=[];for(;f<u;){let b=t,Q=null,ie=null,me=0,ne=null,ce=-1;for(;f<u&&!(Q=b.go(n[f].t));)g.push(n[f++]);for(;f<u&&(ie=Q||b.go(n[f].t));)Q=null,b=ie,b.accepts()?(ce=0,ne=b):ce>=0&&ce++,f++,me++;if(ce<0)f-=me,f<u&&(g.push(n[f]),f++);else{g.length>0&&(v.push(Et(ht,r,g)),g=[]),f-=ce,me-=ce;const tt=ne.t,Me=n.slice(f-me,f);v.push(Et(tt,r,Me))}}return g.length>0&&v.push(Et(ht,r,g)),v}function Et(t,r,n){const u=n[0].s,f=n[n.length-1].e,v=r.slice(u,f);return new t(v,n)}const gt=typeof console!="undefined"&&console&&console.warn||(()=>{}),Rt="until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.",q={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function $t(){G.groups={},q.scanner=null,q.parser=null,q.tokenQueue=[],q.pluginQueue=[],q.customSchemes=[],q.initialized=!1}function Gt(t,r){if(typeof r!="function")throw new Error(`linkifyjs: Invalid token plugin ${r} (expects function)`);for(let n=0;n<q.tokenQueue.length;n++)if(t===q.tokenQueue[n][0]){gt(`linkifyjs: token plugin "${t}" already registered - will be overwritten`),q.tokenQueue[n]=[t,r];return}q.tokenQueue.push([t,r]),q.initialized&>(`linkifyjs: already initialized - will not register token plugin "${t}" ${Rt}`)}function Qt(t,r){if(typeof r!="function")throw new Error(`linkifyjs: Invalid plugin ${r} (expects function)`);for(let n=0;n<q.pluginQueue.length;n++)if(t===q.pluginQueue[n][0]){gt(`linkifyjs: plugin "${t}" already registered - will be overwritten`),q.pluginQueue[n]=[t,r];return}q.pluginQueue.push([t,r]),q.initialized&>(`linkifyjs: already initialized - will not register plugin "${t}" ${Rt}`)}function Vt(t,r){if(r===void 0&&(r=!1),q.initialized&>(`linkifyjs: already initialized - will not register custom scheme "${t}" ${Rt}`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(t))throw new Error(`linkifyjs: incorrect scheme format.
|
|
3
|
+
1. Must only contain digits, lowercase ASCII letters or "-"
|
|
4
|
+
2. Cannot start or end with "-"
|
|
5
|
+
3. "-" cannot repeat`);q.customSchemes.push([t,r])}function Wt(){q.scanner=Qe(q.customSchemes);for(let t=0;t<q.tokenQueue.length;t++)q.tokenQueue[t][1]({scanner:q.scanner});q.parser=Nt(q.scanner.tokens);for(let t=0;t<q.pluginQueue.length;t++)q.pluginQueue[t][1]({scanner:q.scanner,parser:q.parser});q.initialized=!0}function Tt(t){return q.initialized||Wt(),Ht(q.parser.start,t,Ve(q.scanner.start,t))}function Zt(t,r,n){if(r===void 0&&(r=null),n===void 0&&(n=null),r&&typeof r=="object"){if(n)throw Error(`linkifyjs: Invalid link type ${r}; must be a string`);n=r,r=null}const u=new et(n),f=Tt(t),v=[];for(let g=0;g<f.length;g++){const b=f[g];b.isLink&&(!r||b.t===r)&&u.check(b)&&v.push(b.toFormattedObject(u))}return v}function qt(t,r){r===void 0&&(r=null);const n=Tt(t);return n.length===1&&n[0].isLink&&(!r||n[0].t===r)}function Dt(t,r,n){const u=Tt(t),f=[];for(let v=0;v<u.length;v++){const g=u[v];if(g.t==="nl"&&r.get("nl2br")){const b=`__linkify-el-${n.elementId++}`;f.push(R.createElement("br",{key:b}))}else if(!g.isLink||!r.check(g))f.push(g.toString());else{let b=r.render(g);if(!("key"in b.props)){const Q=`__linkify-el-${n.elementId++}`,ie=dt.assign({key:Q},b.props);b=R.cloneElement(b,ie)}f.push(b)}}return f}function Ot(t,r,n){if(R.Children.count(t.props.children)===0)return t;const u=[];R.Children.forEach(t.props.children,g=>{typeof g=="string"?u.push.apply(u,Dt(g,r,n)):R.isValidElement(g)?typeof g.type=="string"&&r.ignoreTags.indexOf(g.type.toUpperCase())>=0?u.push(g):u.push(Ot(g,r,n)):u.push(g)});const f=`__linkify-el-${n.elementId++}`,v=dt.assign({key:f},t.props);return R.cloneElement(t,v,u)}const Pt=t=>{let r=0;const n=Q=>{let{tagName:ie,attributes:me,content:ne}=Q;return me.key=`__linkify-lnk-${r++}`,me.class&&(me.className=me.class,delete me.class),R.createElement(ie,me,ne)},u={key:"__linkify-wrapper"};for(const Q in t)Q!=="options"&&Q!=="as"&&Q!=="tagName"&&Q!=="children"&&(u[Q]=t[Q]);const f=new et(t.options,n),v=t.as||t.tagName||R.Fragment||"span",g=t.children,b=R.createElement(v,u,g);return Ot(b,f,{elementId:0})}},44187:function(U){function B(I,R,T,W){var M=-1,L=I==null?0:I.length;for(W&&L&&(T=I[++M]);++M<L;)T=R(T,I[M],M,I);return T}U.exports=B},52837:function(U){function B(I){return I.split("")}U.exports=B},39546:function(U){var B=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function I(R){return R.match(B)||[]}U.exports=I},51035:function(U){function B(I){return function(R){return I==null?void 0:I[R]}}U.exports=B},73501:function(U){function B(I,R,T){var W=-1,M=I.length;R<0&&(R=-R>M?0:M+R),T=T>M?M:T,T<0&&(T+=M),M=R>T?0:T-R>>>0,R>>>=0;for(var L=Array(M);++W<M;)L[W]=I[W+R];return L}U.exports=B},28931:function(U,B,I){var R=I(73501);function T(W,M,L){var j=W.length;return L=L===void 0?j:L,!M&&L>=j?W:R(W,M,L)}U.exports=T},4326:function(U,B,I){var R=I(28931),T=I(83417),W=I(82237),M=I(95243);function L(j){return function($){$=M($);var J=T($)?W($):void 0,Ce=J?J[0]:$.charAt(0),ge=J?R(J,1).join(""):$.slice(1);return Ce[j]()+ge}}U.exports=L},93640:function(U,B,I){var R=I(44187),T=I(45881),W=I(17469),M="['\u2019]",L=RegExp(M,"g");function j($){return function(J){return R(W(T(J).replace(L,"")),$,"")}}U.exports=j},69968:function(U,B,I){var R=I(51035),T={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},W=R(T);U.exports=W},83417:function(U){var B="\\ud800-\\udfff",I="\\u0300-\\u036f",R="\\ufe20-\\ufe2f",T="\\u20d0-\\u20ff",W=I+R+T,M="\\ufe0e\\ufe0f",L="\\u200d",j=RegExp("["+L+B+W+M+"]");function $(J){return j.test(J)}U.exports=$},15813:function(U){var B=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function I(R){return B.test(R)}U.exports=I},82237:function(U,B,I){var R=I(52837),T=I(83417),W=I(92013);function M(L){return T(L)?W(L):R(L)}U.exports=M},92013:function(U){var B="\\ud800-\\udfff",I="\\u0300-\\u036f",R="\\ufe20-\\ufe2f",T="\\u20d0-\\u20ff",W=I+R+T,M="\\ufe0e\\ufe0f",L="["+B+"]",j="["+W+"]",$="\\ud83c[\\udffb-\\udfff]",J="(?:"+j+"|"+$+")",Ce="[^"+B+"]",ge="(?:\\ud83c[\\udde6-\\uddff]){2}",xe="[\\ud800-\\udbff][\\udc00-\\udfff]",Le="\\u200d",Ne=J+"?",je="["+M+"]?",de="(?:"+Le+"(?:"+[Ce,ge,xe].join("|")+")"+je+Ne+")*",X=je+Ne+de,Y="(?:"+[Ce+j+"?",j,ge,xe,L].join("|")+")",G=RegExp($+"(?="+$+")|"+Y+X,"g");function O(oe){return oe.match(G)||[]}U.exports=O},10482:function(U){var B="\\ud800-\\udfff",I="\\u0300-\\u036f",R="\\ufe20-\\ufe2f",T="\\u20d0-\\u20ff",W=I+R+T,M="\\u2700-\\u27bf",L="a-z\\xdf-\\xf6\\xf8-\\xff",j="\\xac\\xb1\\xd7\\xf7",$="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",J="\\u2000-\\u206f",Ce=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ge="A-Z\\xc0-\\xd6\\xd8-\\xde",xe="\\ufe0e\\ufe0f",Le=j+$+J+Ce,Ne="['\u2019]",je="["+Le+"]",de="["+W+"]",X="\\d+",Y="["+M+"]",G="["+L+"]",O="[^"+B+Le+X+M+L+ge+"]",oe="\\ud83c[\\udffb-\\udfff]",ye="(?:"+de+"|"+oe+")",h="[^"+B+"]",ve="(?:\\ud83c[\\udde6-\\uddff]){2}",Ie="[\\ud800-\\udbff][\\udc00-\\udfff]",Ee="["+ge+"]",be="\\u200d",A="(?:"+G+"|"+O+")",se="(?:"+Ee+"|"+O+")",ee="(?:"+Ne+"(?:d|ll|m|re|s|t|ve))?",pe="(?:"+Ne+"(?:D|LL|M|RE|S|T|VE))?",Te=ye+"?",te="["+xe+"]?",fe="(?:"+be+"(?:"+[h,ve,Ie].join("|")+")"+te+Te+")*",Re="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ke="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",He=te+Te+fe,We="(?:"+[Y,ve,Ie].join("|")+")"+He,qe=RegExp([Ee+"?"+G+"+"+ee+"(?="+[je,Ee,"$"].join("|")+")",se+"+"+pe+"(?="+[je,Ee+A,"$"].join("|")+")",Ee+"?"+A+"+"+ee,Ee+"+"+pe,ke,Re,X,We].join("|"),"g");function Ge(Je){return Je.match(qe)||[]}U.exports=Ge},45881:function(U,B,I){var R=I(69968),T=I(95243),W=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,M="\\u0300-\\u036f",L="\\ufe20-\\ufe2f",j="\\u20d0-\\u20ff",$=M+L+j,J="["+$+"]",Ce=RegExp(J,"g");function ge(xe){return xe=T(xe),xe&&xe.replace(W,R).replace(Ce,"")}U.exports=ge},95479:function(U,B,I){var R=I(93640),T=I(5485),W=R(function(M,L,j){return M+(j?" ":"")+T(L)});U.exports=W},5485:function(U,B,I){var R=I(4326),T=R("toUpperCase");U.exports=T},17469:function(U,B,I){var R=I(39546),T=I(15813),W=I(95243),M=I(10482);function L(j,$,J){return j=W(j),$=J?void 0:$,$===void 0?T(j)?M(j):R(j):j.match($)||[]}U.exports=L},19686:function(U,B,I){"use strict";I.d(B,{Ay:function(){return xe}});var R=I(14041);let T;typeof window!="undefined"?T=window:typeof self!="undefined"?T=self:T=I.g;let W=null,M=null;const L=20,j=T.clearTimeout,$=T.setTimeout,J=T.cancelAnimationFrame||T.mozCancelAnimationFrame||T.webkitCancelAnimationFrame,Ce=T.requestAnimationFrame||T.mozRequestAnimationFrame||T.webkitRequestAnimationFrame;J==null||Ce==null?(W=j,M=function(X){return $(X,L)}):(W=function([X,Y]){J(X),j(Y)},M=function(X){const Y=Ce(function(){j(G),X()}),G=$(function(){J(Y),X()},L);return[Y,G]});function ge(de){let X,Y,G,O,oe,ye,h;const ve=typeof document!="undefined"&&document.attachEvent;if(!ve){ye=function(te){const fe=te.__resizeTriggers__,Re=fe.firstElementChild,ke=fe.lastElementChild,He=Re.firstElementChild;ke.scrollLeft=ke.scrollWidth,ke.scrollTop=ke.scrollHeight,He.style.width=Re.offsetWidth+1+"px",He.style.height=Re.offsetHeight+1+"px",Re.scrollLeft=Re.scrollWidth,Re.scrollTop=Re.scrollHeight},oe=function(te){return te.offsetWidth!==te.__resizeLast__.width||te.offsetHeight!==te.__resizeLast__.height},h=function(te){if(te.target.className&&typeof te.target.className.indexOf=="function"&&te.target.className.indexOf("contract-trigger")<0&&te.target.className.indexOf("expand-trigger")<0)return;const fe=this;ye(this),this.__resizeRAF__&&W(this.__resizeRAF__),this.__resizeRAF__=M(function(){oe(fe)&&(fe.__resizeLast__.width=fe.offsetWidth,fe.__resizeLast__.height=fe.offsetHeight,fe.__resizeListeners__.forEach(function(He){He.call(fe,te)}))})};let A=!1,se="";G="animationstart";const ee="Webkit Moz O ms".split(" ");let pe="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),Te="";{const te=document.createElement("fakeelement");if(te.style.animationName!==void 0&&(A=!0),A===!1){for(let fe=0;fe<ee.length;fe++)if(te.style[ee[fe]+"AnimationName"]!==void 0){Te=ee[fe],se="-"+Te.toLowerCase()+"-",G=pe[fe],A=!0;break}}}Y="resizeanim",X="@"+se+"keyframes "+Y+" { from { opacity: 0; } to { opacity: 0; } } ",O=se+"animation: 1ms "+Y+"; "}const Ie=function(A){if(!A.getElementById("detectElementResize")){const se=(X||"")+".resize-triggers { "+(O||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',ee=A.head||A.getElementsByTagName("head")[0],pe=A.createElement("style");pe.id="detectElementResize",pe.type="text/css",de!=null&&pe.setAttribute("nonce",de),pe.styleSheet?pe.styleSheet.cssText=se:pe.appendChild(A.createTextNode(se)),ee.appendChild(pe)}};return{addResizeListener:function(A,se){if(ve)A.attachEvent("onresize",se);else{if(!A.__resizeTriggers__){const ee=A.ownerDocument,pe=T.getComputedStyle(A);pe&&pe.position==="static"&&(A.style.position="relative"),Ie(ee),A.__resizeLast__={},A.__resizeListeners__=[],(A.__resizeTriggers__=ee.createElement("div")).className="resize-triggers";const Te=ee.createElement("div");Te.className="expand-trigger",Te.appendChild(ee.createElement("div"));const te=ee.createElement("div");te.className="contract-trigger",A.__resizeTriggers__.appendChild(Te),A.__resizeTriggers__.appendChild(te),A.appendChild(A.__resizeTriggers__),ye(A),A.addEventListener("scroll",h,!0),G&&(A.__resizeTriggers__.__animationListener__=function(Re){Re.animationName===Y&&ye(A)},A.__resizeTriggers__.addEventListener(G,A.__resizeTriggers__.__animationListener__))}A.__resizeListeners__.push(se)}},removeResizeListener:function(A,se){if(ve)A.detachEvent("onresize",se);else if(A.__resizeListeners__.splice(A.__resizeListeners__.indexOf(se),1),!A.__resizeListeners__.length){A.removeEventListener("scroll",h,!0),A.__resizeTriggers__.__animationListener__&&(A.__resizeTriggers__.removeEventListener(G,A.__resizeTriggers__.__animationListener__),A.__resizeTriggers__.__animationListener__=null);try{A.__resizeTriggers__=!A.removeChild(A.__resizeTriggers__)}catch{}}}}}class xe extends R.Component{constructor(...X){super(...X),this.state={height:this.props.defaultHeight||0,scaledHeight:this.props.defaultHeight||0,scaledWidth:this.props.defaultWidth||0,width:this.props.defaultWidth||0},this._autoSizer=null,this._detectElementResize=null,this._parentNode=null,this._resizeObserver=null,this._timeoutId=null,this._onResize=()=>{this._timeoutId=null;const{disableHeight:Y,disableWidth:G,onResize:O}=this.props;if(this._parentNode){const oe=window.getComputedStyle(this._parentNode)||{},ye=parseFloat(oe.paddingLeft||"0"),h=parseFloat(oe.paddingRight||"0"),ve=parseFloat(oe.paddingTop||"0"),Ie=parseFloat(oe.paddingBottom||"0"),Ee=this._parentNode.getBoundingClientRect(),be=Ee.height-ve-Ie,A=Ee.width-ye-h,se=this._parentNode.offsetHeight-ve-Ie,ee=this._parentNode.offsetWidth-ye-h;(!Y&&(this.state.height!==se||this.state.scaledHeight!==be)||!G&&(this.state.width!==ee||this.state.scaledWidth!==A))&&(this.setState({height:se,width:ee,scaledHeight:be,scaledWidth:A}),typeof O=="function"&&O({height:se,scaledHeight:be,scaledWidth:A,width:ee}))}},this._setRef=Y=>{this._autoSizer=Y}}componentDidMount(){const{nonce:X}=this.props,Y=this._autoSizer?this._autoSizer.parentNode:null;if(Y!=null&&Y.ownerDocument&&Y.ownerDocument.defaultView&&Y instanceof Y.ownerDocument.defaultView.HTMLElement){this._parentNode=Y;const G=Y.ownerDocument.defaultView.ResizeObserver;G!=null?(this._resizeObserver=new G(()=>{this._timeoutId=setTimeout(this._onResize,0)}),this._resizeObserver.observe(Y)):(this._detectElementResize=ge(X),this._detectElementResize.addResizeListener(Y,this._onResize)),this._onResize()}}componentWillUnmount(){this._parentNode&&(this._detectElementResize&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize),this._timeoutId!==null&&clearTimeout(this._timeoutId),this._resizeObserver&&this._resizeObserver.disconnect())}render(){const{children:X,defaultHeight:Y,defaultWidth:G,disableHeight:O=!1,disableWidth:oe=!1,nonce:ye,onResize:h,style:ve={},tagName:Ie="div",...Ee}=this.props,{height:be,scaledHeight:A,scaledWidth:se,width:ee}=this.state,pe={overflow:"visible"},Te={};let te=!1;return O||(be===0&&(te=!0),pe.height=0,Te.height=be,Te.scaledHeight=A),oe||(ee===0&&(te=!0),pe.width=0,Te.width=ee,Te.scaledWidth=se),(0,R.createElement)(Ie,{ref:this._setRef,style:{...pe,...ve},...Ee},!te&&X(Te))}}function Le(de){return de&&de.disableHeight!==!0&&de.disableWidth!==!0}function Ne(de){return de&&de.disableHeight!==!0&&de.disableWidth===!0}function je(de){return de&&de.disableHeight===!0&&de.disableWidth!==!0}},84392:function(U,B,I){"use strict";I.d(B,{Y1:function(){return rt}});var R=I(89575),T=I(2474),W=I(79140),M=I(56840),L=I(14041),j=typeof performance=="object"&&typeof performance.now=="function",$=j?function(){return performance.now()}:function(){return Date.now()};function J(c){cancelAnimationFrame(c.id)}function Ce(c,e){var i=$();function o(){$()-i>=e?c.call(null):a.id=requestAnimationFrame(o)}var a={id:requestAnimationFrame(o)};return a}var ge=-1;function xe(c){if(c===void 0&&(c=!1),ge===-1||c){var e=document.createElement("div"),i=e.style;i.width="50px",i.height="50px",i.overflow="scroll",document.body.appendChild(e),ge=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return ge}var Le=null;function Ne(c){if(c===void 0&&(c=!1),Le===null||c){var e=document.createElement("div"),i=e.style;i.width="50px",i.height="50px",i.overflow="scroll",i.direction="rtl";var o=document.createElement("div"),a=o.style;return a.width="100px",a.height="100px",e.appendChild(o),document.body.appendChild(e),e.scrollLeft>0?Le="positive-descending":(e.scrollLeft=1,e.scrollLeft===0?Le="negative":Le="positive-ascending"),document.body.removeChild(e),Le}return Le}var je=150,de=function(e){var i=e.columnIndex,o=e.data,a=e.rowIndex;return a+":"+i},X=null,Y=null,G=null;function O(c){var e,i=c.getColumnOffset,o=c.getColumnStartIndexForOffset,a=c.getColumnStopIndexForStartIndex,m=c.getColumnWidth,d=c.getEstimatedTotalHeight,p=c.getEstimatedTotalWidth,S=c.getOffsetForColumnAndAlignment,w=c.getOffsetForRowAndAlignment,_=c.getRowHeight,H=c.getRowOffset,y=c.getRowStartIndexForOffset,V=c.getRowStopIndexForStartIndex,re=c.initInstanceProps,l=c.shouldResetStyleCacheOnItemSizeChange,E=c.validateProps;return e=function(z){(0,W.A)(D,z);function D(F){var s;return s=z.call(this,F)||this,s._instanceProps=re(s.props,(0,T.A)(s)),s._resetIsScrollingTimeoutId=null,s._outerRef=void 0,s.state={instance:(0,T.A)(s),isScrolling:!1,horizontalScrollDirection:"forward",scrollLeft:typeof s.props.initialScrollLeft=="number"?s.props.initialScrollLeft:0,scrollTop:typeof s.props.initialScrollTop=="number"?s.props.initialScrollTop:0,scrollUpdateWasRequested:!1,verticalScrollDirection:"forward"},s._callOnItemsRendered=void 0,s._callOnItemsRendered=(0,M.A)(function(C,x,k,K,N,Z,ae,Se){return s.props.onItemsRendered({overscanColumnStartIndex:C,overscanColumnStopIndex:x,overscanRowStartIndex:k,overscanRowStopIndex:K,visibleColumnStartIndex:N,visibleColumnStopIndex:Z,visibleRowStartIndex:ae,visibleRowStopIndex:Se})}),s._callOnScroll=void 0,s._callOnScroll=(0,M.A)(function(C,x,k,K,N){return s.props.onScroll({horizontalScrollDirection:k,scrollLeft:C,scrollTop:x,verticalScrollDirection:K,scrollUpdateWasRequested:N})}),s._getItemStyle=void 0,s._getItemStyle=function(C,x){var k=s.props,K=k.columnWidth,N=k.direction,Z=k.rowHeight,ae=s._getItemStyleCache(l&&K,l&&N,l&&Z),Se=C+":"+x,le;if(ae.hasOwnProperty(Se))le=ae[Se];else{var ue=i(s.props,x,s._instanceProps),he=N==="rtl";ae[Se]=le={position:"absolute",left:he?void 0:ue,right:he?ue:void 0,top:H(s.props,C,s._instanceProps),height:_(s.props,C,s._instanceProps),width:m(s.props,x,s._instanceProps)}}return le},s._getItemStyleCache=void 0,s._getItemStyleCache=(0,M.A)(function(C,x,k){return{}}),s._onScroll=function(C){var x=C.currentTarget,k=x.clientHeight,K=x.clientWidth,N=x.scrollLeft,Z=x.scrollTop,ae=x.scrollHeight,Se=x.scrollWidth;s.setState(function(le){if(le.scrollLeft===N&&le.scrollTop===Z)return null;var ue=s.props.direction,he=N;if(ue==="rtl")switch(Ne()){case"negative":he=-N;break;case"positive-descending":he=Se-K-N;break}he=Math.max(0,Math.min(he,Se-K));var we=Math.max(0,Math.min(Z,ae-k));return{isScrolling:!0,horizontalScrollDirection:le.scrollLeft<N?"forward":"backward",scrollLeft:he,scrollTop:we,verticalScrollDirection:le.scrollTop<Z?"forward":"backward",scrollUpdateWasRequested:!1}},s._resetIsScrollingDebounced)},s._outerRefSetter=function(C){var x=s.props.outerRef;s._outerRef=C,typeof x=="function"?x(C):x!=null&&typeof x=="object"&&x.hasOwnProperty("current")&&(x.current=C)},s._resetIsScrollingDebounced=function(){s._resetIsScrollingTimeoutId!==null&&J(s._resetIsScrollingTimeoutId),s._resetIsScrollingTimeoutId=Ce(s._resetIsScrolling,je)},s._resetIsScrolling=function(){s._resetIsScrollingTimeoutId=null,s.setState({isScrolling:!1},function(){s._getItemStyleCache(-1)})},s}D.getDerivedStateFromProps=function(s,C){return oe(s,C),E(s),null};var P=D.prototype;return P.scrollTo=function(s){var C=s.scrollLeft,x=s.scrollTop;C!==void 0&&(C=Math.max(0,C)),x!==void 0&&(x=Math.max(0,x)),this.setState(function(k){return C===void 0&&(C=k.scrollLeft),x===void 0&&(x=k.scrollTop),k.scrollLeft===C&&k.scrollTop===x?null:{horizontalScrollDirection:k.scrollLeft<C?"forward":"backward",scrollLeft:C,scrollTop:x,scrollUpdateWasRequested:!0,verticalScrollDirection:k.scrollTop<x?"forward":"backward"}},this._resetIsScrollingDebounced)},P.scrollToItem=function(s){var C=s.align,x=C===void 0?"auto":C,k=s.columnIndex,K=s.rowIndex,N=this.props,Z=N.columnCount,ae=N.height,Se=N.rowCount,le=N.width,ue=this.state,he=ue.scrollLeft,we=ue.scrollTop,Oe=xe();k!==void 0&&(k=Math.max(0,Math.min(k,Z-1))),K!==void 0&&(K=Math.max(0,Math.min(K,Se-1)));var De=d(this.props,this._instanceProps),_e=p(this.props,this._instanceProps),Pe=_e>le?Oe:0,Qe=De>ae?Oe:0;this.scrollTo({scrollLeft:k!==void 0?S(this.props,k,x,he,this._instanceProps,Qe):he,scrollTop:K!==void 0?w(this.props,K,x,we,this._instanceProps,Pe):we})},P.componentDidMount=function(){var s=this.props,C=s.initialScrollLeft,x=s.initialScrollTop;if(this._outerRef!=null){var k=this._outerRef;typeof C=="number"&&(k.scrollLeft=C),typeof x=="number"&&(k.scrollTop=x)}this._callPropsCallbacks()},P.componentDidUpdate=function(){var s=this.props.direction,C=this.state,x=C.scrollLeft,k=C.scrollTop,K=C.scrollUpdateWasRequested;if(K&&this._outerRef!=null){var N=this._outerRef;if(s==="rtl")switch(Ne()){case"negative":N.scrollLeft=-x;break;case"positive-ascending":N.scrollLeft=x;break;default:var Z=N.clientWidth,ae=N.scrollWidth;N.scrollLeft=ae-Z-x;break}else N.scrollLeft=Math.max(0,x);N.scrollTop=Math.max(0,k)}this._callPropsCallbacks()},P.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&J(this._resetIsScrollingTimeoutId)},P.render=function(){var s=this.props,C=s.children,x=s.className,k=s.columnCount,K=s.direction,N=s.height,Z=s.innerRef,ae=s.innerElementType,Se=s.innerTagName,le=s.itemData,ue=s.itemKey,he=ue===void 0?de:ue,we=s.outerElementType,Oe=s.outerTagName,De=s.rowCount,_e=s.style,Pe=s.useIsScrolling,Qe=s.width,Ve=this.state.isScrolling,Fe=this._getHorizontalRangeToRender(),Ae=Fe[0],St=Fe[1],Ze=this._getVerticalRangeToRender(),et=Ze[0],It=Ze[1],dt=[];if(k>0&&De)for(var Ke=et;Ke<=It;Ke++)for(var Be=Ae;Be<=St;Be++)dt.push((0,L.createElement)(C,{columnIndex:Be,data:le,isScrolling:Pe?Ve:void 0,key:he({columnIndex:Be,data:le,rowIndex:Ke}),rowIndex:Ke,style:this._getItemStyle(Ke,Be)}));var ft=d(this.props,this._instanceProps),ht=p(this.props,this._instanceProps);return(0,L.createElement)(we||Oe||"div",{className:x,onScroll:this._onScroll,ref:this._outerRefSetter,style:(0,R.A)({position:"relative",height:N,width:Qe,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:K},_e)},(0,L.createElement)(ae||Se||"div",{children:dt,ref:Z,style:{height:ft,pointerEvents:Ve?"none":void 0,width:ht}}))},P._callPropsCallbacks=function(){var s=this.props,C=s.columnCount,x=s.onItemsRendered,k=s.onScroll,K=s.rowCount;if(typeof x=="function"&&C>0&&K>0){var N=this._getHorizontalRangeToRender(),Z=N[0],ae=N[1],Se=N[2],le=N[3],ue=this._getVerticalRangeToRender(),he=ue[0],we=ue[1],Oe=ue[2],De=ue[3];this._callOnItemsRendered(Z,ae,he,we,Se,le,Oe,De)}if(typeof k=="function"){var _e=this.state,Pe=_e.horizontalScrollDirection,Qe=_e.scrollLeft,Ve=_e.scrollTop,Fe=_e.scrollUpdateWasRequested,Ae=_e.verticalScrollDirection;this._callOnScroll(Qe,Ve,Pe,Ae,Fe)}},P._getHorizontalRangeToRender=function(){var s=this.props,C=s.columnCount,x=s.overscanColumnCount,k=s.overscanColumnsCount,K=s.overscanCount,N=s.rowCount,Z=this.state,ae=Z.horizontalScrollDirection,Se=Z.isScrolling,le=Z.scrollLeft,ue=x||k||K||1;if(C===0||N===0)return[0,0,0,0];var he=o(this.props,le,this._instanceProps),we=a(this.props,he,le,this._instanceProps),Oe=!Se||ae==="backward"?Math.max(1,ue):1,De=!Se||ae==="forward"?Math.max(1,ue):1;return[Math.max(0,he-Oe),Math.max(0,Math.min(C-1,we+De)),he,we]},P._getVerticalRangeToRender=function(){var s=this.props,C=s.columnCount,x=s.overscanCount,k=s.overscanRowCount,K=s.overscanRowsCount,N=s.rowCount,Z=this.state,ae=Z.isScrolling,Se=Z.verticalScrollDirection,le=Z.scrollTop,ue=k||K||x||1;if(C===0||N===0)return[0,0,0,0];var he=y(this.props,le,this._instanceProps),we=V(this.props,he,le,this._instanceProps),Oe=!ae||Se==="backward"?Math.max(1,ue):1,De=!ae||Se==="forward"?Math.max(1,ue):1;return[Math.max(0,he-Oe),Math.max(0,Math.min(N-1,we+De)),he,we]},D}(L.PureComponent),e.defaultProps={direction:"ltr",itemData:void 0,useIsScrolling:!1},e}var oe=function(e,i){var o=e.children,a=e.direction,m=e.height,d=e.innerTagName,p=e.outerTagName,S=e.overscanColumnsCount,w=e.overscanCount,_=e.overscanRowsCount,H=e.width,y=i.instance},ye=50,h=function(e,i){var o=e.rowCount,a=i.rowMetadataMap,m=i.estimatedRowHeight,d=i.lastMeasuredRowIndex,p=0;if(d>=o&&(d=o-1),d>=0){var S=a[d];p=S.offset+S.size}var w=o-d-1,_=w*m;return p+_},ve=function(e,i){var o=e.columnCount,a=i.columnMetadataMap,m=i.estimatedColumnWidth,d=i.lastMeasuredColumnIndex,p=0;if(d>=o&&(d=o-1),d>=0){var S=a[d];p=S.offset+S.size}var w=o-d-1,_=w*m;return p+_},Ie=function(e,i,o,a){var m,d,p;if(e==="column"?(m=a.columnMetadataMap,d=i.columnWidth,p=a.lastMeasuredColumnIndex):(m=a.rowMetadataMap,d=i.rowHeight,p=a.lastMeasuredRowIndex),o>p){var S=0;if(p>=0){var w=m[p];S=w.offset+w.size}for(var _=p+1;_<=o;_++){var H=d(_);m[_]={offset:S,size:H},S+=H}e==="column"?a.lastMeasuredColumnIndex=o:a.lastMeasuredRowIndex=o}return m[o]},Ee=function(e,i,o,a){var m,d;e==="column"?(m=o.columnMetadataMap,d=o.lastMeasuredColumnIndex):(m=o.rowMetadataMap,d=o.lastMeasuredRowIndex);var p=d>0?m[d].offset:0;return p>=a?be(e,i,o,d,0,a):A(e,i,o,Math.max(0,d),a)},be=function(e,i,o,a,m,d){for(;m<=a;){var p=m+Math.floor((a-m)/2),S=Ie(e,i,p,o).offset;if(S===d)return p;S<d?m=p+1:S>d&&(a=p-1)}return m>0?m-1:0},A=function(e,i,o,a,m){for(var d=e==="column"?i.columnCount:i.rowCount,p=1;a<d&&Ie(e,i,a,o).offset<m;)a+=p,p*=2;return be(e,i,o,Math.min(a,d-1),Math.floor(a/2),m)},se=function(e,i,o,a,m,d,p){var S=e==="column"?i.width:i.height,w=Ie(e,i,o,d),_=e==="column"?ve(i,d):h(i,d),H=Math.max(0,Math.min(_-S,w.offset)),y=Math.max(0,w.offset-S+p+w.size);switch(a==="smart"&&(m>=y-S&&m<=H+S?a="auto":a="center"),a){case"start":return H;case"end":return y;case"center":return Math.round(y+(H-y)/2);case"auto":default:return m>=y&&m<=H?m:y>H||m<y?y:H}},ee=O({getColumnOffset:function(e,i,o){return Ie("column",e,i,o).offset},getColumnStartIndexForOffset:function(e,i,o){return Ee("column",e,o,i)},getColumnStopIndexForStartIndex:function(e,i,o,a){for(var m=e.columnCount,d=e.width,p=Ie("column",e,i,a),S=o+d,w=p.offset+p.size,_=i;_<m-1&&w<S;)_++,w+=Ie("column",e,_,a).size;return _},getColumnWidth:function(e,i,o){return o.columnMetadataMap[i].size},getEstimatedTotalHeight:h,getEstimatedTotalWidth:ve,getOffsetForColumnAndAlignment:function(e,i,o,a,m,d){return se("column",e,i,o,a,m,d)},getOffsetForRowAndAlignment:function(e,i,o,a,m,d){return se("row",e,i,o,a,m,d)},getRowOffset:function(e,i,o){return Ie("row",e,i,o).offset},getRowHeight:function(e,i,o){return o.rowMetadataMap[i].size},getRowStartIndexForOffset:function(e,i,o){return Ee("row",e,o,i)},getRowStopIndexForStartIndex:function(e,i,o,a){for(var m=e.rowCount,d=e.height,p=Ie("row",e,i,a),S=o+d,w=p.offset+p.size,_=i;_<m-1&&w<S;)_++,w+=Ie("row",e,_,a).size;return _},initInstanceProps:function(e,i){var o=e,a=o.estimatedColumnWidth,m=o.estimatedRowHeight,d={columnMetadataMap:{},estimatedColumnWidth:a||ye,estimatedRowHeight:m||ye,lastMeasuredColumnIndex:-1,lastMeasuredRowIndex:-1,rowMetadataMap:{}};return i.resetAfterColumnIndex=function(p,S){S===void 0&&(S=!0),i.resetAfterIndices({columnIndex:p,shouldForceUpdate:S})},i.resetAfterRowIndex=function(p,S){S===void 0&&(S=!0),i.resetAfterIndices({rowIndex:p,shouldForceUpdate:S})},i.resetAfterIndices=function(p){var S=p.columnIndex,w=p.rowIndex,_=p.shouldForceUpdate,H=_===void 0?!0:_;typeof S=="number"&&(d.lastMeasuredColumnIndex=Math.min(d.lastMeasuredColumnIndex,S-1)),typeof w=="number"&&(d.lastMeasuredRowIndex=Math.min(d.lastMeasuredRowIndex,w-1)),i._getItemStyleCache(-1),H&&i.forceUpdate()},d},shouldResetStyleCacheOnItemSizeChange:!1,validateProps:function(e){var i=e.columnWidth,o=e.rowHeight}}),pe=150,Te=function(e,i){return e},te=null,fe=null;function Re(c){var e,i=c.getItemOffset,o=c.getEstimatedTotalSize,a=c.getItemSize,m=c.getOffsetForIndexAndAlignment,d=c.getStartIndexForOffset,p=c.getStopIndexForStartIndex,S=c.initInstanceProps,w=c.shouldResetStyleCacheOnItemSizeChange,_=c.validateProps;return e=function(H){(0,W.A)(y,H);function y(re){var l;return l=H.call(this,re)||this,l._instanceProps=S(l.props,(0,T.A)(l)),l._outerRef=void 0,l._resetIsScrollingTimeoutId=null,l.state={instance:(0,T.A)(l),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof l.props.initialScrollOffset=="number"?l.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},l._callOnItemsRendered=void 0,l._callOnItemsRendered=(0,M.A)(function(E,z,D,P){return l.props.onItemsRendered({overscanStartIndex:E,overscanStopIndex:z,visibleStartIndex:D,visibleStopIndex:P})}),l._callOnScroll=void 0,l._callOnScroll=(0,M.A)(function(E,z,D){return l.props.onScroll({scrollDirection:E,scrollOffset:z,scrollUpdateWasRequested:D})}),l._getItemStyle=void 0,l._getItemStyle=function(E){var z=l.props,D=z.direction,P=z.itemSize,F=z.layout,s=l._getItemStyleCache(w&&P,w&&F,w&&D),C;if(s.hasOwnProperty(E))C=s[E];else{var x=i(l.props,E,l._instanceProps),k=a(l.props,E,l._instanceProps),K=D==="horizontal"||F==="horizontal",N=D==="rtl",Z=K?x:0;s[E]=C={position:"absolute",left:N?void 0:Z,right:N?Z:void 0,top:K?0:x,height:K?"100%":k,width:K?k:"100%"}}return C},l._getItemStyleCache=void 0,l._getItemStyleCache=(0,M.A)(function(E,z,D){return{}}),l._onScrollHorizontal=function(E){var z=E.currentTarget,D=z.clientWidth,P=z.scrollLeft,F=z.scrollWidth;l.setState(function(s){if(s.scrollOffset===P)return null;var C=l.props.direction,x=P;if(C==="rtl")switch(Ne()){case"negative":x=-P;break;case"positive-descending":x=F-D-P;break}return x=Math.max(0,Math.min(x,F-D)),{isScrolling:!0,scrollDirection:s.scrollOffset<x?"forward":"backward",scrollOffset:x,scrollUpdateWasRequested:!1}},l._resetIsScrollingDebounced)},l._onScrollVertical=function(E){var z=E.currentTarget,D=z.clientHeight,P=z.scrollHeight,F=z.scrollTop;l.setState(function(s){if(s.scrollOffset===F)return null;var C=Math.max(0,Math.min(F,P-D));return{isScrolling:!0,scrollDirection:s.scrollOffset<C?"forward":"backward",scrollOffset:C,scrollUpdateWasRequested:!1}},l._resetIsScrollingDebounced)},l._outerRefSetter=function(E){var z=l.props.outerRef;l._outerRef=E,typeof z=="function"?z(E):z!=null&&typeof z=="object"&&z.hasOwnProperty("current")&&(z.current=E)},l._resetIsScrollingDebounced=function(){l._resetIsScrollingTimeoutId!==null&&J(l._resetIsScrollingTimeoutId),l._resetIsScrollingTimeoutId=Ce(l._resetIsScrolling,pe)},l._resetIsScrolling=function(){l._resetIsScrollingTimeoutId=null,l.setState({isScrolling:!1},function(){l._getItemStyleCache(-1,null)})},l}y.getDerivedStateFromProps=function(l,E){return ke(l,E),_(l),null};var V=y.prototype;return V.scrollTo=function(l){l=Math.max(0,l),this.setState(function(E){return E.scrollOffset===l?null:{scrollDirection:E.scrollOffset<l?"forward":"backward",scrollOffset:l,scrollUpdateWasRequested:!0}},this._resetIsScrollingDebounced)},V.scrollToItem=function(l,E){E===void 0&&(E="auto");var z=this.props,D=z.itemCount,P=z.layout,F=this.state.scrollOffset;l=Math.max(0,Math.min(l,D-1));var s=0;if(this._outerRef){var C=this._outerRef;P==="vertical"?s=C.scrollWidth>C.clientWidth?xe():0:s=C.scrollHeight>C.clientHeight?xe():0}this.scrollTo(m(this.props,l,E,F,this._instanceProps,s))},V.componentDidMount=function(){var l=this.props,E=l.direction,z=l.initialScrollOffset,D=l.layout;if(typeof z=="number"&&this._outerRef!=null){var P=this._outerRef;E==="horizontal"||D==="horizontal"?P.scrollLeft=z:P.scrollTop=z}this._callPropsCallbacks()},V.componentDidUpdate=function(){var l=this.props,E=l.direction,z=l.layout,D=this.state,P=D.scrollOffset,F=D.scrollUpdateWasRequested;if(F&&this._outerRef!=null){var s=this._outerRef;if(E==="horizontal"||z==="horizontal")if(E==="rtl")switch(Ne()){case"negative":s.scrollLeft=-P;break;case"positive-ascending":s.scrollLeft=P;break;default:var C=s.clientWidth,x=s.scrollWidth;s.scrollLeft=x-C-P;break}else s.scrollLeft=P;else s.scrollTop=P}this._callPropsCallbacks()},V.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&J(this._resetIsScrollingTimeoutId)},V.render=function(){var l=this.props,E=l.children,z=l.className,D=l.direction,P=l.height,F=l.innerRef,s=l.innerElementType,C=l.innerTagName,x=l.itemCount,k=l.itemData,K=l.itemKey,N=K===void 0?Te:K,Z=l.layout,ae=l.outerElementType,Se=l.outerTagName,le=l.style,ue=l.useIsScrolling,he=l.width,we=this.state.isScrolling,Oe=D==="horizontal"||Z==="horizontal",De=Oe?this._onScrollHorizontal:this._onScrollVertical,_e=this._getRangeToRender(),Pe=_e[0],Qe=_e[1],Ve=[];if(x>0)for(var Fe=Pe;Fe<=Qe;Fe++)Ve.push((0,L.createElement)(E,{data:k,key:N(Fe,k),index:Fe,isScrolling:ue?we:void 0,style:this._getItemStyle(Fe)}));var Ae=o(this.props,this._instanceProps);return(0,L.createElement)(ae||Se||"div",{className:z,onScroll:De,ref:this._outerRefSetter,style:(0,R.A)({position:"relative",height:P,width:he,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:D},le)},(0,L.createElement)(s||C||"div",{children:Ve,ref:F,style:{height:Oe?"100%":Ae,pointerEvents:we?"none":void 0,width:Oe?Ae:"100%"}}))},V._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var l=this.props.itemCount;if(l>0){var E=this._getRangeToRender(),z=E[0],D=E[1],P=E[2],F=E[3];this._callOnItemsRendered(z,D,P,F)}}if(typeof this.props.onScroll=="function"){var s=this.state,C=s.scrollDirection,x=s.scrollOffset,k=s.scrollUpdateWasRequested;this._callOnScroll(C,x,k)}},V._getRangeToRender=function(){var l=this.props,E=l.itemCount,z=l.overscanCount,D=this.state,P=D.isScrolling,F=D.scrollDirection,s=D.scrollOffset;if(E===0)return[0,0,0,0];var C=d(this.props,s,this._instanceProps),x=p(this.props,C,s,this._instanceProps),k=!P||F==="backward"?Math.max(1,z):1,K=!P||F==="forward"?Math.max(1,z):1;return[Math.max(0,C-k),Math.max(0,Math.min(E-1,x+K)),C,x]},y}(L.PureComponent),e.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},e}var ke=function(e,i){var o=e.children,a=e.direction,m=e.height,d=e.layout,p=e.innerTagName,S=e.outerTagName,w=e.width,_=i.instance;if(0)var H},He=50,We=function(e,i,o){var a=e,m=a.itemSize,d=o.itemMetadataMap,p=o.lastMeasuredIndex;if(i>p){var S=0;if(p>=0){var w=d[p];S=w.offset+w.size}for(var _=p+1;_<=i;_++){var H=m(_);d[_]={offset:S,size:H},S+=H}o.lastMeasuredIndex=i}return d[i]},qe=function(e,i,o){var a=i.itemMetadataMap,m=i.lastMeasuredIndex,d=m>0?a[m].offset:0;return d>=o?Ge(e,i,m,0,o):Je(e,i,Math.max(0,m),o)},Ge=function(e,i,o,a,m){for(;a<=o;){var d=a+Math.floor((o-a)/2),p=We(e,d,i).offset;if(p===m)return d;p<m?a=d+1:p>m&&(o=d-1)}return a>0?a-1:0},Je=function(e,i,o,a){for(var m=e.itemCount,d=1;o<m&&We(e,o,i).offset<a;)o+=d,d*=2;return Ge(e,i,Math.min(o,m-1),Math.floor(o/2),a)},Xe=function(e,i){var o=e.itemCount,a=i.itemMetadataMap,m=i.estimatedItemSize,d=i.lastMeasuredIndex,p=0;if(d>=o&&(d=o-1),d>=0){var S=a[d];p=S.offset+S.size}var w=o-d-1,_=w*m;return p+_},lt=Re({getItemOffset:function(e,i,o){return We(e,i,o).offset},getItemSize:function(e,i,o){return o.itemMetadataMap[i].size},getEstimatedTotalSize:Xe,getOffsetForIndexAndAlignment:function(e,i,o,a,m,d){var p=e.direction,S=e.height,w=e.layout,_=e.width,H=p==="horizontal"||w==="horizontal",y=H?_:S,V=We(e,i,m),re=Xe(e,m),l=Math.max(0,Math.min(re-y,V.offset)),E=Math.max(0,V.offset-y+V.size+d);switch(o==="smart"&&(a>=E-y&&a<=l+y?o="auto":o="center"),o){case"start":return l;case"end":return E;case"center":return Math.round(E+(l-E)/2);case"auto":default:return a>=E&&a<=l?a:a<E?E:l}},getStartIndexForOffset:function(e,i,o){return qe(e,o,i)},getStopIndexForStartIndex:function(e,i,o,a){for(var m=e.direction,d=e.height,p=e.itemCount,S=e.layout,w=e.width,_=m==="horizontal"||S==="horizontal",H=_?w:d,y=We(e,i,a),V=o+H,re=y.offset+y.size,l=i;l<p-1&&re<V;)l++,re+=We(e,l,a).size;return l},initInstanceProps:function(e,i){var o=e,a=o.estimatedItemSize,m={itemMetadataMap:{},estimatedItemSize:a||He,lastMeasuredIndex:-1};return i.resetAfterIndex=function(d,p){p===void 0&&(p=!0),m.lastMeasuredIndex=Math.min(m.lastMeasuredIndex,d-1),i._getItemStyleCache(-1),p&&i.forceUpdate()},m},shouldResetStyleCacheOnItemSizeChange:!1,validateProps:function(e){var i=e.itemSize}}),ut=O({getColumnOffset:function(e,i){var o=e.columnWidth;return i*o},getColumnWidth:function(e,i){var o=e.columnWidth;return o},getRowOffset:function(e,i){var o=e.rowHeight;return i*o},getRowHeight:function(e,i){var o=e.rowHeight;return o},getEstimatedTotalHeight:function(e){var i=e.rowCount,o=e.rowHeight;return o*i},getEstimatedTotalWidth:function(e){var i=e.columnCount,o=e.columnWidth;return o*i},getOffsetForColumnAndAlignment:function(e,i,o,a,m,d){var p=e.columnCount,S=e.columnWidth,w=e.width,_=Math.max(0,p*S-w),H=Math.min(_,i*S),y=Math.max(0,i*S-w+d+S);switch(o==="smart"&&(a>=y-w&&a<=H+w?o="auto":o="center"),o){case"start":return H;case"end":return y;case"center":var V=Math.round(y+(H-y)/2);return V<Math.ceil(w/2)?0:V>_+Math.floor(w/2)?_:V;case"auto":default:return a>=y&&a<=H?a:y>H||a<y?y:H}},getOffsetForRowAndAlignment:function(e,i,o,a,m,d){var p=e.rowHeight,S=e.height,w=e.rowCount,_=Math.max(0,w*p-S),H=Math.min(_,i*p),y=Math.max(0,i*p-S+d+p);switch(o==="smart"&&(a>=y-S&&a<=H+S?o="auto":o="center"),o){case"start":return H;case"end":return y;case"center":var V=Math.round(y+(H-y)/2);return V<Math.ceil(S/2)?0:V>_+Math.floor(S/2)?_:V;case"auto":default:return a>=y&&a<=H?a:y>H||a<y?y:H}},getColumnStartIndexForOffset:function(e,i){var o=e.columnWidth,a=e.columnCount;return Math.max(0,Math.min(a-1,Math.floor(i/o)))},getColumnStopIndexForStartIndex:function(e,i,o){var a=e.columnWidth,m=e.columnCount,d=e.width,p=i*a,S=Math.ceil((d+o-p)/a);return Math.max(0,Math.min(m-1,i+S-1))},getRowStartIndexForOffset:function(e,i){var o=e.rowHeight,a=e.rowCount;return Math.max(0,Math.min(a-1,Math.floor(i/o)))},getRowStopIndexForStartIndex:function(e,i,o){var a=e.rowHeight,m=e.rowCount,d=e.height,p=i*a,S=Math.ceil((d+o-p)/a);return Math.max(0,Math.min(m-1,i+S-1))},initInstanceProps:function(e){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(e){var i=e.columnWidth,o=e.rowHeight}}),rt=Re({getItemOffset:function(e,i){var o=e.itemSize;return i*o},getItemSize:function(e,i){var o=e.itemSize;return o},getEstimatedTotalSize:function(e){var i=e.itemCount,o=e.itemSize;return o*i},getOffsetForIndexAndAlignment:function(e,i,o,a,m,d){var p=e.direction,S=e.height,w=e.itemCount,_=e.itemSize,H=e.layout,y=e.width,V=p==="horizontal"||H==="horizontal",re=V?y:S,l=Math.max(0,w*_-re),E=Math.min(l,i*_),z=Math.max(0,i*_-re+_+d);switch(o==="smart"&&(a>=z-re&&a<=E+re?o="auto":o="center"),o){case"start":return E;case"end":return z;case"center":{var D=Math.round(z+(E-z)/2);return D<Math.ceil(re/2)?0:D>l+Math.floor(re/2)?l:D}case"auto":default:return a>=z&&a<=E?a:a<z?z:E}},getStartIndexForOffset:function(e,i){var o=e.itemCount,a=e.itemSize;return Math.max(0,Math.min(o-1,Math.floor(i/a)))},getStopIndexForStartIndex:function(e,i,o){var a=e.direction,m=e.height,d=e.itemCount,p=e.itemSize,S=e.layout,w=e.width,_=a==="horizontal"||S==="horizontal",H=i*p,y=_?w:m,V=Math.ceil((y+o-H)/p);return Math.max(0,Math.min(d-1,i+V-1))},initInstanceProps:function(e){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(e){var i=e.itemSize}});function Ye(c,e){for(var i in c)if(!(i in e))return!0;for(var o in e)if(c[o]!==e[o])return!0;return!1}var it=null,ot=null;function st(c,e){var i=c.style,o=_objectWithoutPropertiesLoose(c,it),a=e.style,m=_objectWithoutPropertiesLoose(e,ot);return!Ye(i,a)&&!Ye(o,m)}function ct(c,e){return!st(this.props,c)||Ye(this.state,e)}},42:function(U,B,I){"use strict";I.d(B,{e:function(){return M}});var R=I(14041),T=I(16261);function W(L,j){return typeof L=="function"?L(j):L}function M(L=!1,j=!0){const[$,J]=(0,R.useState)(L),Ce=(0,T.J)(j);return[$,(0,R.useCallback)(ge=>{J(xe=>ge===void 0||Ce.current&&typeof ge=="object"&&(ge.constructor.name==="SyntheticBaseEvent"||typeof ge._reactName=="string")?!xe:!!W(ge,xe))},[])]}},84774:function(U,B,I){"use strict";I.d(B,{A:function(){return R}});function R({onlyFirst:T=!1}={}){const W=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(W,T?void 0:"g")}}}]);})();
|
|
6
|
+
|
|
7
|
+
//# sourceMappingURL=3308.7a6908ef.chunk.js.map
|