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Ac,cAAc,EAAO,EAAgB,EAAM,MAAO,GAChF,MALE,GAA0B,EAAI,mBAAmB,KAAK,IAAK,IAAK,IAAmB,YAMvF,CAAE,MACA,GAA0B,EAAI,mBAAmB,KAAK,OAAQ,CAAC,IAC/D,EAAI,qBAAqB,MAAM,kEACjC,CACA,MAAQ,IAAK,EAAU,GAAE,EAAE,MAAE,KAAU,GAAsB,IACvD,GAAkC,EAAI,mBAAmB,KAAK,MAAO,CAAE,IAAK,EAAY,KAAI,QAAO,UAA0B,EAAI,mBAAmB,KACxJ,qBAAqB,EAAE,IACvB,CACE,QAAS,QACT,KAAM,OACN,QAAS,OACT,SAAU,oBAAoB,oBAAoB,gBAC/C,EAAI,qBAAqB,YAAY,EAAa,GACrD,MAAO,KACF,EAAI,mBAAmB,qBAAqB,IAEjD,UAA0B,EAAI,mBAAmB,KAAK,EAAW,IAAK,IAA0B,SAAU,KAE5G,GAAG,oBACA,GAAG,qBACR,OAAuB,EAAI,mBAAmB,MAAM,mBAAmB,SAAU,CAAE,SAAU,CAC3F,EACA,EAAmB,IAA0B,EAAI,mBAAmB,KAAK,iBAAiB,iBAAkB,CAAE,kBAAiB,UAA0B,EAAI,mBAAmB,KAAK,MAAO,CAAE,IAAK,EAAY,KAAI,WAAU,EAAmB,UAA0B,EAAI,mBAAmB,KAAK,EAAW,IAAK,IAA0B,SAAU,SAAmC,EAAI,mBAAmB,KAAK,qBAAqB,WAAY,CAAE,SAAU,aAAc,UAA0B,EAAI,mBAAmB,KAAK,qBAAqB,gBAAiB,CAAE,SAAU,IAA0B,EAAI,mBAAmB,KAAK,iBAAiB,iBAAkB,CAAE,kBAAiB,SAAU,UAChrB,IAEN,QAAQ,YAAc,iBACtB,IAAI,gBAAkB","file":"/npm/@heroui/tooltip@2.2.28/dist/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/@heroui/tooltip@2.2.28/dist/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","\"use client\";\n\"use strict\";\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n  for (var name in all)\n    __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n  if (from && typeof from === \"object\" || typeof from === \"function\") {\n    for (let key of __getOwnPropNames(from))\n      if (!__hasOwnProp.call(to, key) && key !== except)\n        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n  }\n  return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n  // If the importer is in node compatibility mode or this is not an ESM\n  // file that has been converted to a CommonJS file using a Babel-\n  // compatible transform (i.e. \"__esModule\" has not been set), then set\n  // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n  isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n  mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n  Tooltip: () => tooltip_default,\n  useTooltip: () => useTooltip\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/tooltip.tsx\nvar import_system2 = require(\"@heroui/system\");\nvar import_overlays2 = require(\"@react-aria/overlays\");\nvar import_framer_motion = require(\"framer-motion\");\nvar import_framer_utils = require(\"@heroui/framer-utils\");\nvar import_shared_utils2 = require(\"@heroui/shared-utils\");\nvar import_react3 = require(\"react\");\nvar import_aria_utils2 = require(\"@heroui/aria-utils\");\n\n// src/use-tooltip.ts\nvar import_react = require(\"react\");\nvar import_tooltip = require(\"@react-stately/tooltip\");\nvar import_tooltip2 = require(\"@react-aria/tooltip\");\nvar import_overlays = require(\"@react-aria/overlays\");\nvar import_system = require(\"@heroui/system\");\nvar import_theme = require(\"@heroui/theme\");\nvar import_shared_utils = require(\"@heroui/shared-utils\");\nvar import_react_utils = require(\"@heroui/react-utils\");\nvar import_react_utils2 = require(\"@heroui/react-utils\");\nvar import_react2 = require(\"react\");\nvar import_aria_utils = require(\"@heroui/aria-utils\");\nvar import_use_safe_layout_effect = require(\"@heroui/use-safe-layout-effect\");\nvar import_use_aria_overlay = require(\"@heroui/use-aria-overlay\");\nfunction useTooltip(originalProps) {\n  var _a, _b;\n  const globalContext = (0, import_system.useProviderContext)();\n  const [props, variantProps] = (0, import_system.mapPropsVariants)(originalProps, import_theme.popover.variantKeys);\n  const {\n    ref,\n    as,\n    isOpen: isOpenProp,\n    content,\n    children,\n    defaultOpen,\n    onOpenChange,\n    isDisabled,\n    trigger: triggerAction,\n    shouldFlip = true,\n    containerPadding = 12,\n    placement: placementProp = \"top\",\n    delay = 0,\n    closeDelay = 500,\n    showArrow = false,\n    offset = 7,\n    crossOffset = 0,\n    isDismissable,\n    shouldCloseOnBlur = true,\n    portalContainer,\n    isKeyboardDismissDisabled = false,\n    updatePositionDeps = [],\n    shouldCloseOnInteractOutside,\n    className,\n    onClose,\n    motionProps,\n    classNames,\n    ...otherProps\n  } = props;\n  const Component = as || \"div\";\n  const disableAnimation = (_b = (_a = originalProps == null ? void 0 : originalProps.disableAnimation) != null ? _a : globalContext == null ? void 0 : globalContext.disableAnimation) != null ? _b : false;\n  const state = (0, import_tooltip.useTooltipTriggerState)({\n    delay,\n    closeDelay,\n    isDisabled,\n    defaultOpen,\n    isOpen: isOpenProp,\n    onOpenChange: (isOpen2) => {\n      onOpenChange == null ? void 0 : onOpenChange(isOpen2);\n      if (!isOpen2) {\n        onClose == null ? void 0 : onClose();\n      }\n    }\n  });\n  const triggerRef = (0, import_react2.useRef)(null);\n  const overlayRef = (0, import_react2.useRef)(null);\n  const tooltipId = (0, import_react.useId)();\n  const isOpen = state.isOpen && !isDisabled;\n  (0, import_react.useImperativeHandle)(\n    ref,\n    () => (\n      // @ts-ignore\n      (0, import_react_utils2.createDOMRef)(overlayRef)\n    )\n  );\n  const { triggerProps, tooltipProps: triggerTooltipProps } = (0, import_tooltip2.useTooltipTrigger)(\n    {\n      isDisabled,\n      trigger: triggerAction\n    },\n    state,\n    triggerRef\n  );\n  const { tooltipProps } = (0, import_tooltip2.useTooltip)(\n    {\n      isOpen,\n      ...(0, import_shared_utils.mergeProps)(props, triggerTooltipProps)\n    },\n    state\n  );\n  const {\n    overlayProps: positionProps,\n    placement,\n    updatePosition\n  } = (0, import_overlays.useOverlayPosition)({\n    isOpen,\n    targetRef: triggerRef,\n    placement: (0, import_aria_utils.toReactAriaPlacement)(placementProp),\n    overlayRef,\n    offset: showArrow ? offset + 3 : offset,\n    crossOffset,\n    shouldFlip,\n    containerPadding\n  });\n  (0, import_use_safe_layout_effect.useSafeLayoutEffect)(() => {\n    if (!updatePositionDeps.length) return;\n    updatePosition();\n  }, updatePositionDeps);\n  const { overlayProps } = (0, import_use_aria_overlay.useAriaOverlay)(\n    {\n      isOpen,\n      onClose: state.close,\n      isDismissable,\n      shouldCloseOnBlur,\n      isKeyboardDismissDisabled,\n      shouldCloseOnInteractOutside\n    },\n    overlayRef\n  );\n  const slots = (0, import_react2.useMemo)(\n    () => {\n      var _a2, _b2, _c;\n      return (0, import_theme.popover)({\n        ...variantProps,\n        disableAnimation,\n        radius: (_a2 = originalProps == null ? void 0 : originalProps.radius) != null ? _a2 : \"md\",\n        size: (_b2 = originalProps == null ? void 0 : originalProps.size) != null ? _b2 : \"md\",\n        shadow: (_c = originalProps == null ? void 0 : originalProps.shadow) != null ? _c : \"sm\"\n      });\n    },\n    [\n      (0, import_shared_utils.objectToDeps)(variantProps),\n      disableAnimation,\n      originalProps == null ? void 0 : originalProps.radius,\n      originalProps == null ? void 0 : originalProps.size,\n      originalProps == null ? void 0 : originalProps.shadow\n    ]\n  );\n  const getTriggerProps = (0, import_react2.useCallback)(\n    (props2 = {}, _ref = null) => ({\n      ...(0, import_shared_utils.mergeProps)(triggerProps, props2),\n      ref: (0, import_react_utils.mergeRefs)(_ref, triggerRef),\n      \"aria-describedby\": isOpen ? tooltipId : void 0\n    }),\n    [triggerProps, isOpen, tooltipId, state]\n  );\n  const getTooltipProps = (0, import_react2.useCallback)(\n    () => ({\n      ref: overlayRef,\n      \"data-slot\": \"base\",\n      \"data-open\": (0, import_shared_utils.dataAttr)(isOpen),\n      \"data-arrow\": (0, import_shared_utils.dataAttr)(showArrow),\n      \"data-disabled\": (0, import_shared_utils.dataAttr)(isDisabled),\n      \"data-placement\": (0, import_aria_utils.getArrowPlacement)(placement || \"top\", placementProp),\n      ...(0, import_shared_utils.mergeProps)(tooltipProps, overlayProps, otherProps),\n      style: (0, import_shared_utils.mergeProps)(positionProps.style, otherProps.style, props.style),\n      className: slots.base({ class: classNames == null ? void 0 : classNames.base }),\n      id: tooltipId\n    }),\n    [\n      slots,\n      isOpen,\n      showArrow,\n      isDisabled,\n      placement,\n      placementProp,\n      tooltipProps,\n      overlayProps,\n      otherProps,\n      positionProps,\n      props,\n      tooltipId\n    ]\n  );\n  const getTooltipContentProps = (0, import_react2.useCallback)(\n    () => ({\n      \"data-slot\": \"content\",\n      \"data-open\": (0, import_shared_utils.dataAttr)(isOpen),\n      \"data-arrow\": (0, import_shared_utils.dataAttr)(showArrow),\n      \"data-disabled\": (0, import_shared_utils.dataAttr)(isDisabled),\n      \"data-placement\": (0, import_aria_utils.getArrowPlacement)(placement || \"top\", placementProp),\n      className: slots.content({ class: (0, import_theme.cn)(classNames == null ? void 0 : classNames.content, className) })\n    }),\n    [slots, isOpen, showArrow, isDisabled, placement, placementProp, classNames]\n  );\n  return {\n    Component,\n    content,\n    children,\n    isOpen,\n    triggerRef,\n    showArrow,\n    portalContainer,\n    placement: placementProp,\n    disableAnimation,\n    isDisabled,\n    motionProps,\n    getTooltipContentProps,\n    getTriggerProps,\n    getTooltipProps\n  };\n}\n\n// src/tooltip.tsx\nvar import_jsx_runtime = require(\"react/jsx-runtime\");\nvar domAnimation = () => import(\"@heroui/dom-animation\").then((res) => res.default);\nvar Tooltip = (0, import_system2.forwardRef)((props, ref) => {\n  var _a;\n  const {\n    Component,\n    children,\n    content,\n    isOpen,\n    portalContainer,\n    placement,\n    disableAnimation,\n    motionProps,\n    getTriggerProps,\n    getTooltipProps,\n    getTooltipContentProps\n  } = useTooltip({\n    ...props,\n    ref\n  });\n  let trigger;\n  try {\n    const childrenNum = import_react3.Children.count(children);\n    if (childrenNum !== 1) throw new Error();\n    if (!(0, import_react3.isValidElement)(children)) {\n      trigger = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(\"p\", { ...getTriggerProps(), children });\n    } else {\n      const child = children;\n      const childRef = (_a = child.props.ref) != null ? _a : child.ref;\n      trigger = (0, import_react3.cloneElement)(child, getTriggerProps(child.props, childRef));\n    }\n  } catch {\n    trigger = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(\"span\", {});\n    (0, import_shared_utils2.warn)(\"Tooltip must have only one child node. Please, check your code.\");\n  }\n  const { ref: tooltipRef, id, style, ...otherTooltipProps } = getTooltipProps();\n  const animatedContent = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(\"div\", { ref: tooltipRef, id, style, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(\n    import_framer_motion.m.div,\n    {\n      animate: \"enter\",\n      exit: \"exit\",\n      initial: \"exit\",\n      variants: import_framer_utils.TRANSITION_VARIANTS.scaleSpring,\n      ...(0, import_shared_utils2.mergeProps)(motionProps, otherTooltipProps),\n      style: {\n        ...(0, import_aria_utils2.getTransformOrigins)(placement)\n      },\n      children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Component, { ...getTooltipContentProps(), children: content })\n    },\n    `${id}-tooltip-inner`\n  ) }, `${id}-tooltip-content`);\n  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [\n    trigger,\n    disableAnimation ? isOpen && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_overlays2.OverlayContainer, { portalContainer, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(\"div\", { ref: tooltipRef, id, style, ...otherTooltipProps, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Component, { ...getTooltipContentProps(), children: content }) }) }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_framer_motion.LazyMotion, { features: domAnimation, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_framer_motion.AnimatePresence, { children: isOpen && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_overlays2.OverlayContainer, { portalContainer, children: animatedContent }) }) })\n  ] });\n});\nTooltip.displayName = \"HeroUI.Tooltip\";\nvar tooltip_default = Tooltip;\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n  Tooltip,\n  useTooltip\n});\n"]}