{"ast":null,"code":"\"use client\";\n\nvar __rest = this && this.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n// eslint-disable-next-line import/no-named-as-default\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport RcMentions from 'rc-mentions';\nimport { composeRef } from \"rc-util/es/ref\";\nimport genPurePanel from '../_util/PurePanel';\nimport { getMergedStatus, getStatusClassNames } from '../_util/statusUtils';\nimport { devUseWarning } from '../_util/warning';\nimport { ConfigContext } from '../config-provider';\nimport DefaultRenderEmpty from '../config-provider/defaultRenderEmpty';\nimport { FormItemInputContext } from '../form/context';\nimport Spin from '../spin';\nimport useStyle from './style';\nexport const {\n  Option\n} = RcMentions;\nfunction loadingFilterOption() {\n  return true;\n}\nconst InternalMentions = (props, ref) => {\n  const {\n      prefixCls: customizePrefixCls,\n      className,\n      rootClassName,\n      disabled,\n      loading,\n      filterOption,\n      children,\n      notFoundContent,\n      options,\n      status: customStatus,\n      popupClassName,\n      style\n    } = props,\n    restProps = __rest(props, [\"prefixCls\", \"className\", \"rootClassName\", \"disabled\", \"loading\", \"filterOption\", \"children\", \"notFoundContent\", \"options\", \"status\", \"popupClassName\", \"style\"]);\n  const [focused, setFocused] = React.useState(false);\n  const innerRef = React.useRef(null);\n  const mergedRef = composeRef(ref, innerRef);\n  // =================== Warning =====================\n  if (process.env.NODE_ENV !== 'production') {\n    const warning = devUseWarning('Mentions');\n    warning.deprecated(!children, 'Mentions.Option', 'options');\n  }\n  const {\n    getPrefixCls,\n    renderEmpty,\n    direction,\n    mentions: contextMentions\n  } = React.useContext(ConfigContext);\n  const {\n    status: contextStatus,\n    hasFeedback,\n    feedbackIcon\n  } = React.useContext(FormItemInputContext);\n  const mergedStatus = getMergedStatus(contextStatus, customStatus);\n  const onFocus = function () {\n    if (restProps.onFocus) {\n      restProps.onFocus.apply(restProps, arguments);\n    }\n    setFocused(true);\n  };\n  const onBlur = function () {\n    if (restProps.onBlur) {\n      restProps.onBlur.apply(restProps, arguments);\n    }\n    setFocused(false);\n  };\n  const notFoundContentEle = React.useMemo(() => {\n    if (notFoundContent !== undefined) {\n      return notFoundContent;\n    }\n    return (renderEmpty === null || renderEmpty === void 0 ? void 0 : renderEmpty('Select')) || /*#__PURE__*/React.createElement(DefaultRenderEmpty, {\n      componentName: \"Select\"\n    });\n  }, [notFoundContent, renderEmpty]);\n  const mentionOptions = React.useMemo(() => {\n    if (loading) {\n      return /*#__PURE__*/React.createElement(Option, {\n        value: \"ANTD_SEARCHING\",\n        disabled: true\n      }, /*#__PURE__*/React.createElement(Spin, {\n        size: \"small\"\n      }));\n    }\n    return children;\n  }, [loading, children]);\n  const mergedOptions = loading ? [{\n    value: 'ANTD_SEARCHING',\n    disabled: true,\n    label: /*#__PURE__*/React.createElement(Spin, {\n      size: \"small\"\n    })\n  }] : options;\n  const mentionsfilterOption = loading ? loadingFilterOption : filterOption;\n  const prefixCls = getPrefixCls('mentions', customizePrefixCls);\n  // Style\n  const [wrapSSR, hashId] = useStyle(prefixCls);\n  const mergedClassName = classNames({\n    [`${prefixCls}-disabled`]: disabled,\n    [`${prefixCls}-focused`]: focused,\n    [`${prefixCls}-rtl`]: direction === 'rtl'\n  }, getStatusClassNames(prefixCls, mergedStatus), contextMentions === null || contextMentions === void 0 ? void 0 : contextMentions.className, !hasFeedback && className, rootClassName, hashId);\n  const mentions = /*#__PURE__*/React.createElement(RcMentions, Object.assign({\n    prefixCls: prefixCls,\n    notFoundContent: notFoundContentEle,\n    className: mergedClassName,\n    disabled: disabled,\n    direction: direction,\n    style: Object.assign(Object.assign({}, contextMentions === null || contextMentions === void 0 ? void 0 : contextMentions.style), style)\n  }, restProps, {\n    filterOption: mentionsfilterOption,\n    onFocus: onFocus,\n    onBlur: onBlur,\n    dropdownClassName: classNames(popupClassName, rootClassName, hashId),\n    ref: mergedRef,\n    options: mergedOptions,\n    suffix: hasFeedback && feedbackIcon,\n    classes: {\n      affixWrapper: classNames(hashId, className)\n    }\n  }), mentionOptions);\n  return wrapSSR(mentions);\n};\nconst Mentions = /*#__PURE__*/React.forwardRef(InternalMentions);\nif (process.env.NODE_ENV !== 'production') {\n  Mentions.displayName = 'Mentions';\n}\nMentions.Option = Option;\n// We don't care debug panel\n/* istanbul ignore next */\nconst PurePanel = genPurePanel(Mentions, 'mentions');\nMentions._InternalPanelDoNotUseOrYouWillBeFired = PurePanel;\nMentions.getMentions = function () {\n  let value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n  let config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n  const {\n    prefix = '@',\n    split = ' '\n  } = config;\n  const prefixList = Array.isArray(prefix) ? prefix : [prefix];\n  return value.split(split).map(function () {\n    let str = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n    let hitPrefix = null;\n    prefixList.some(prefixStr => {\n      const startStr = str.slice(0, prefixStr.length);\n      if (startStr === prefixStr) {\n        hitPrefix = prefixStr;\n        return true;\n      }\n      return false;\n    });\n    if (hitPrefix !== null) {\n      return {\n        prefix: hitPrefix,\n        value: str.slice(hitPrefix.length)\n      };\n    }\n    return null;\n  }).filter(entity => !!entity && !!entity.value);\n};\nexport default Mentions;","map":{"version":3,"names":["__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","React","classNames","RcMentions","composeRef","genPurePanel","getMergedStatus","getStatusClassNames","devUseWarning","ConfigContext","DefaultRenderEmpty","FormItemInputContext","Spin","useStyle","Option","loadingFilterOption","InternalMentions","props","ref","prefixCls","customizePrefixCls","className","rootClassName","disabled","loading","filterOption","children","notFoundContent","options","status","customStatus","popupClassName","style","restProps","focused","setFocused","useState","innerRef","useRef","mergedRef","process","env","NODE_ENV","warning","deprecated","getPrefixCls","renderEmpty","direction","mentions","contextMentions","useContext","contextStatus","hasFeedback","feedbackIcon","mergedStatus","onFocus","apply","arguments","onBlur","notFoundContentEle","useMemo","undefined","createElement","componentName","mentionOptions","value","size","mergedOptions","label","mentionsfilterOption","wrapSSR","hashId","mergedClassName","assign","dropdownClassName","suffix","classes","affixWrapper","Mentions","forwardRef","displayName","PurePanel","_InternalPanelDoNotUseOrYouWillBeFired","getMentions","config","prefix","split","prefixList","Array","isArray","map","str","hitPrefix","some","prefixStr","startStr","slice","filter","entity"],"sources":["/var/www/gavt/node_modules/antd/es/mentions/index.js"],"sourcesContent":["\"use client\";\n\nvar __rest = this && this.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n// eslint-disable-next-line import/no-named-as-default\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport RcMentions from 'rc-mentions';\nimport { composeRef } from \"rc-util/es/ref\";\nimport genPurePanel from '../_util/PurePanel';\nimport { getMergedStatus, getStatusClassNames } from '../_util/statusUtils';\nimport { devUseWarning } from '../_util/warning';\nimport { ConfigContext } from '../config-provider';\nimport DefaultRenderEmpty from '../config-provider/defaultRenderEmpty';\nimport { FormItemInputContext } from '../form/context';\nimport Spin from '../spin';\nimport useStyle from './style';\nexport const {\n  Option\n} = RcMentions;\nfunction loadingFilterOption() {\n  return true;\n}\nconst InternalMentions = (props, ref) => {\n  const {\n      prefixCls: customizePrefixCls,\n      className,\n      rootClassName,\n      disabled,\n      loading,\n      filterOption,\n      children,\n      notFoundContent,\n      options,\n      status: customStatus,\n      popupClassName,\n      style\n    } = props,\n    restProps = __rest(props, [\"prefixCls\", \"className\", \"rootClassName\", \"disabled\", \"loading\", \"filterOption\", \"children\", \"notFoundContent\", \"options\", \"status\", \"popupClassName\", \"style\"]);\n  const [focused, setFocused] = React.useState(false);\n  const innerRef = React.useRef(null);\n  const mergedRef = composeRef(ref, innerRef);\n  // =================== Warning =====================\n  if (process.env.NODE_ENV !== 'production') {\n    const warning = devUseWarning('Mentions');\n    warning.deprecated(!children, 'Mentions.Option', 'options');\n  }\n  const {\n    getPrefixCls,\n    renderEmpty,\n    direction,\n    mentions: contextMentions\n  } = React.useContext(ConfigContext);\n  const {\n    status: contextStatus,\n    hasFeedback,\n    feedbackIcon\n  } = React.useContext(FormItemInputContext);\n  const mergedStatus = getMergedStatus(contextStatus, customStatus);\n  const onFocus = function () {\n    if (restProps.onFocus) {\n      restProps.onFocus.apply(restProps, arguments);\n    }\n    setFocused(true);\n  };\n  const onBlur = function () {\n    if (restProps.onBlur) {\n      restProps.onBlur.apply(restProps, arguments);\n    }\n    setFocused(false);\n  };\n  const notFoundContentEle = React.useMemo(() => {\n    if (notFoundContent !== undefined) {\n      return notFoundContent;\n    }\n    return (renderEmpty === null || renderEmpty === void 0 ? void 0 : renderEmpty('Select')) || /*#__PURE__*/React.createElement(DefaultRenderEmpty, {\n      componentName: \"Select\"\n    });\n  }, [notFoundContent, renderEmpty]);\n  const mentionOptions = React.useMemo(() => {\n    if (loading) {\n      return /*#__PURE__*/React.createElement(Option, {\n        value: \"ANTD_SEARCHING\",\n        disabled: true\n      }, /*#__PURE__*/React.createElement(Spin, {\n        size: \"small\"\n      }));\n    }\n    return children;\n  }, [loading, children]);\n  const mergedOptions = loading ? [{\n    value: 'ANTD_SEARCHING',\n    disabled: true,\n    label: /*#__PURE__*/React.createElement(Spin, {\n      size: \"small\"\n    })\n  }] : options;\n  const mentionsfilterOption = loading ? loadingFilterOption : filterOption;\n  const prefixCls = getPrefixCls('mentions', customizePrefixCls);\n  // Style\n  const [wrapSSR, hashId] = useStyle(prefixCls);\n  const mergedClassName = classNames({\n    [`${prefixCls}-disabled`]: disabled,\n    [`${prefixCls}-focused`]: focused,\n    [`${prefixCls}-rtl`]: direction === 'rtl'\n  }, getStatusClassNames(prefixCls, mergedStatus), contextMentions === null || contextMentions === void 0 ? void 0 : contextMentions.className, !hasFeedback && className, rootClassName, hashId);\n  const mentions = /*#__PURE__*/React.createElement(RcMentions, Object.assign({\n    prefixCls: prefixCls,\n    notFoundContent: notFoundContentEle,\n    className: mergedClassName,\n    disabled: disabled,\n    direction: direction,\n    style: Object.assign(Object.assign({}, contextMentions === null || contextMentions === void 0 ? void 0 : contextMentions.style), style)\n  }, restProps, {\n    filterOption: mentionsfilterOption,\n    onFocus: onFocus,\n    onBlur: onBlur,\n    dropdownClassName: classNames(popupClassName, rootClassName, hashId),\n    ref: mergedRef,\n    options: mergedOptions,\n    suffix: hasFeedback && feedbackIcon,\n    classes: {\n      affixWrapper: classNames(hashId, className)\n    }\n  }), mentionOptions);\n  return wrapSSR(mentions);\n};\nconst Mentions = /*#__PURE__*/React.forwardRef(InternalMentions);\nif (process.env.NODE_ENV !== 'production') {\n  Mentions.displayName = 'Mentions';\n}\nMentions.Option = Option;\n// We don't care debug panel\n/* istanbul ignore next */\nconst PurePanel = genPurePanel(Mentions, 'mentions');\nMentions._InternalPanelDoNotUseOrYouWillBeFired = PurePanel;\nMentions.getMentions = function () {\n  let value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n  let config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n  const {\n    prefix = '@',\n    split = ' '\n  } = config;\n  const prefixList = Array.isArray(prefix) ? prefix : [prefix];\n  return value.split(split).map(function () {\n    let str = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n    let hitPrefix = null;\n    prefixList.some(prefixStr => {\n      const startStr = str.slice(0, prefixStr.length);\n      if (startStr === prefixStr) {\n        hitPrefix = prefixStr;\n        return true;\n      }\n      return false;\n    });\n    if (hitPrefix !== null) {\n      return {\n        prefix: hitPrefix,\n        value: str.slice(hitPrefix.length)\n      };\n    }\n    return null;\n  }).filter(entity => !!entity && !!entity.value);\n};\nexport default Mentions;"],"mappings":"AAAA,YAAY;;AAEZ,IAAIA,MAAM,GAAG,IAAI,IAAI,IAAI,CAACA,MAAM,IAAI,UAAUC,CAAC,EAAEC,CAAC,EAAE;EAClD,IAAIC,CAAC,GAAG,CAAC,CAAC;EACV,KAAK,IAAIC,CAAC,IAAIH,CAAC,EAAE,IAAII,MAAM,CAACC,SAAS,CAACC,cAAc,CAACC,IAAI,CAACP,CAAC,EAAEG,CAAC,CAAC,IAAIF,CAAC,CAACO,OAAO,CAACL,CAAC,CAAC,GAAG,CAAC,EAAED,CAAC,CAACC,CAAC,CAAC,GAAGH,CAAC,CAACG,CAAC,CAAC;EAChG,IAAIH,CAAC,IAAI,IAAI,IAAI,OAAOI,MAAM,CAACK,qBAAqB,KAAK,UAAU,EAAE,KAAK,IAAIC,CAAC,GAAG,CAAC,EAAEP,CAAC,GAAGC,MAAM,CAACK,qBAAqB,CAACT,CAAC,CAAC,EAAEU,CAAC,GAAGP,CAAC,CAACQ,MAAM,EAAED,CAAC,EAAE,EAAE;IAC3I,IAAIT,CAAC,CAACO,OAAO,CAACL,CAAC,CAACO,CAAC,CAAC,CAAC,GAAG,CAAC,IAAIN,MAAM,CAACC,SAAS,CAACO,oBAAoB,CAACL,IAAI,CAACP,CAAC,EAAEG,CAAC,CAACO,CAAC,CAAC,CAAC,EAAER,CAAC,CAACC,CAAC,CAACO,CAAC,CAAC,CAAC,GAAGV,CAAC,CAACG,CAAC,CAACO,CAAC,CAAC,CAAC;EACnG;EACA,OAAOR,CAAC;AACV,CAAC;AACD;AACA,OAAO,KAAKW,KAAK,MAAM,OAAO;AAC9B,OAAOC,UAAU,MAAM,YAAY;AACnC,OAAOC,UAAU,MAAM,aAAa;AACpC,SAASC,UAAU,QAAQ,gBAAgB;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