{"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};\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport RcMentions from 'rc-mentions';\nimport { composeRef } from \"rc-util/es/ref\";\nimport getAllowClear from '../_util/getAllowClear';\nimport genPurePanel from '../_util/PurePanel';\nimport { getMergedStatus, getStatusClassNames } from '../_util/statusUtils';\nimport toList from '../_util/toList';\nimport { devUseWarning } from '../_util/warning';\nimport { ConfigContext } from '../config-provider';\nimport DefaultRenderEmpty from '../config-provider/defaultRenderEmpty';\nimport useCSSVarCls from '../config-provider/hooks/useCSSVarCls';\nimport { FormItemInputContext } from '../form/context';\nimport useVariant from '../form/hooks/useVariants';\nimport Spin from '../spin';\nimport useStyle from './style';\nimport DisabledContext from '../config-provider/DisabledContext';\nexport const {\n  Option\n} = RcMentions;\nfunction loadingFilterOption() {\n  return true;\n}\nconst InternalMentions = /*#__PURE__*/React.forwardRef((props, ref) => {\n  const {\n      prefixCls: customizePrefixCls,\n      className,\n      rootClassName,\n      disabled: customDisabled,\n      loading,\n      filterOption,\n      children,\n      notFoundContent,\n      options,\n      status: customStatus,\n      allowClear = false,\n      popupClassName,\n      style,\n      variant: customVariant\n    } = props,\n    restProps = __rest(props, [\"prefixCls\", \"className\", \"rootClassName\", \"disabled\", \"loading\", \"filterOption\", \"children\", \"notFoundContent\", \"options\", \"status\", \"allowClear\", \"popupClassName\", \"style\", \"variant\"]);\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  // ===================== Disabled =====================\n  const contextDisabled = React.useContext(DisabledContext);\n  const mergedDisabled = customDisabled !== null && customDisabled !== void 0 ? customDisabled : contextDisabled;\n  const onFocus = (...args) => {\n    if (restProps.onFocus) {\n      restProps.onFocus.apply(restProps, args);\n    }\n    setFocused(true);\n  };\n  const onBlur = (...args) => {\n    if (restProps.onBlur) {\n      restProps.onBlur.apply(restProps, args);\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  const mergedAllowClear = getAllowClear(allowClear);\n  // Style\n  const rootCls = useCSSVarCls(prefixCls);\n  const [wrapCSSVar, hashId, cssVarCls] = useStyle(prefixCls, rootCls);\n  const [variant, enableVariantCls] = useVariant('mentions', customVariant);\n  const suffixNode = hasFeedback && /*#__PURE__*/React.createElement(React.Fragment, null, feedbackIcon);\n  const mergedClassName = classNames(contextMentions === null || contextMentions === void 0 ? void 0 : contextMentions.className, className, rootClassName, cssVarCls, rootCls);\n  const mentions = /*#__PURE__*/React.createElement(RcMentions, Object.assign({\n    silent: loading,\n    prefixCls: prefixCls,\n    notFoundContent: notFoundContentEle,\n    className: mergedClassName,\n    disabled: mergedDisabled,\n    allowClear: mergedAllowClear,\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, cssVarCls, rootCls),\n    ref: mergedRef,\n    options: mergedOptions,\n    suffix: suffixNode,\n    classNames: {\n      mentions: classNames({\n        [`${prefixCls}-disabled`]: mergedDisabled,\n        [`${prefixCls}-focused`]: focused,\n        [`${prefixCls}-rtl`]: direction === 'rtl'\n      }, hashId),\n      variant: classNames({\n        [`${prefixCls}-${variant}`]: enableVariantCls\n      }, getStatusClassNames(prefixCls, mergedStatus)),\n      affixWrapper: hashId\n    }\n  }), mentionOptions);\n  return wrapCSSVar(mentions);\n});\nconst Mentions = 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, undefined, undefined, 'mentions');\nMentions._InternalPanelDoNotUseOrYouWillBeFired = PurePanel;\nMentions.getMentions = (value = '', config = {}) => {\n  const {\n    prefix = '@',\n    split = ' '\n  } = config;\n  const prefixList = toList(prefix);\n  return value.split(split).map((str = '') => {\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","getAllowClear","genPurePanel","getMergedStatus","getStatusClassNames","toList","devUseWarning","ConfigContext","DefaultRenderEmpty","useCSSVarCls","FormItemInputContext","useVariant","Spin","useStyle","DisabledContext","Option","loadingFilterOption","InternalMentions","forwardRef","props","ref","prefixCls","customizePrefixCls","className","rootClassName","disabled","customDisabled","loading","filterOption","children","notFoundContent","options","status","customStatus","allowClear","popupClassName","style","variant","customVariant","restProps","focused","setFocused","useState","innerRef","useRef","mergedRef","process","env","NODE_ENV","warning","deprecated","getPrefixCls","renderEmpty","direction","mentions","contextMentions","useContext","contextStatus","hasFeedback","feedbackIcon","mergedStatus","contextDisabled","mergedDisabled","onFocus","args","apply","onBlur","notFoundContentEle","useMemo","undefined","createElement","componentName","mentionOptions","value","size","mergedOptions","label","mentionsfilterOption","mergedAllowClear","rootCls","wrapCSSVar","hashId","cssVarCls","enableVariantCls","suffixNode","Fragment","mergedClassName","assign","silent","dropdownClassName","suffix","affixWrapper","Mentions","displayName","PurePanel","_InternalPanelDoNotUseOrYouWillBeFired","getMentions","config","prefix","split","prefixList","map","str","hitPrefix","some","prefixStr","startStr","slice","filter","entity"],"sources":["/Users/nili/Documents/trae_projects/client/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};\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport RcMentions from 'rc-mentions';\nimport { composeRef } from \"rc-util/es/ref\";\nimport getAllowClear from '../_util/getAllowClear';\nimport genPurePanel from '../_util/PurePanel';\nimport { getMergedStatus, getStatusClassNames } from '../_util/statusUtils';\nimport toList from '../_util/toList';\nimport { devUseWarning } from '../_util/warning';\nimport { ConfigContext } from '../config-provider';\nimport DefaultRenderEmpty from '../config-provider/defaultRenderEmpty';\nimport useCSSVarCls from '../config-provider/hooks/useCSSVarCls';\nimport { FormItemInputContext } from '../form/context';\nimport useVariant from '../form/hooks/useVariants';\nimport Spin from '../spin';\nimport useStyle from './style';\nimport DisabledContext from '../config-provider/DisabledContext';\nexport const {\n  Option\n} = RcMentions;\nfunction loadingFilterOption() {\n  return true;\n}\nconst InternalMentions = /*#__PURE__*/React.forwardRef((props, ref) => {\n  const {\n      prefixCls: customizePrefixCls,\n      className,\n      rootClassName,\n      disabled: customDisabled,\n      loading,\n      filterOption,\n      children,\n      notFoundContent,\n      options,\n      status: customStatus,\n      allowClear = false,\n      popupClassName,\n      style,\n      variant: customVariant\n    } = props,\n    restProps = __rest(props, [\"prefixCls\", \"className\", \"rootClassName\", \"disabled\", \"loading\", \"filterOption\", \"children\", \"notFoundContent\", \"options\", \"status\", \"allowClear\", \"popupClassName\", \"style\", \"variant\"]);\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  // ===================== Disabled =====================\n  const contextDisabled = React.useContext(DisabledContext);\n  const mergedDisabled = customDisabled !== null && customDisabled !== void 0 ? customDisabled : contextDisabled;\n  const onFocus = (...args) => {\n    if (restProps.onFocus) {\n      restProps.onFocus.apply(restProps, args);\n    }\n    setFocused(true);\n  };\n  const onBlur = (...args) => {\n    if (restProps.onBlur) {\n      restProps.onBlur.apply(restProps, args);\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  const mergedAllowClear = getAllowClear(allowClear);\n  // Style\n  const rootCls = useCSSVarCls(prefixCls);\n  const [wrapCSSVar, hashId, cssVarCls] = useStyle(prefixCls, rootCls);\n  const [variant, enableVariantCls] = useVariant('mentions', customVariant);\n  const suffixNode = hasFeedback && /*#__PURE__*/React.createElement(React.Fragment, null, feedbackIcon);\n  const mergedClassName = classNames(contextMentions === null || contextMentions === void 0 ? void 0 : contextMentions.className, className, rootClassName, cssVarCls, rootCls);\n  const mentions = /*#__PURE__*/React.createElement(RcMentions, Object.assign({\n    silent: loading,\n    prefixCls: prefixCls,\n    notFoundContent: notFoundContentEle,\n    className: mergedClassName,\n    disabled: mergedDisabled,\n    allowClear: mergedAllowClear,\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, cssVarCls, rootCls),\n    ref: mergedRef,\n    options: mergedOptions,\n    suffix: suffixNode,\n    classNames: {\n      mentions: classNames({\n        [`${prefixCls}-disabled`]: mergedDisabled,\n        [`${prefixCls}-focused`]: focused,\n        [`${prefixCls}-rtl`]: direction === 'rtl'\n      }, hashId),\n      variant: classNames({\n        [`${prefixCls}-${variant}`]: enableVariantCls\n      }, getStatusClassNames(prefixCls, mergedStatus)),\n      affixWrapper: hashId\n    }\n  }), mentionOptions);\n  return wrapCSSVar(mentions);\n});\nconst Mentions = 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, undefined, undefined, 'mentions');\nMentions._InternalPanelDoNotUseOrYouWillBeFired = PurePanel;\nMentions.getMentions = (value = '', config = {}) => {\n  const {\n    prefix = '@',\n    split = ' '\n  } = config;\n  const prefixList = toList(prefix);\n  return value.split(split).map((str = '') => {\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,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