{"version":3,"file":"ng-primitives-tooltip.mjs","sources":["../../../../packages/ng-primitives/tooltip/src/config/tooltip-config.ts","../../../../packages/ng-primitives/tooltip/src/tooltip-arrow/tooltip-arrow-state.ts","../../../../packages/ng-primitives/tooltip/src/tooltip-arrow/tooltip-arrow.ts","../../../../packages/ng-primitives/tooltip/src/tooltip/tooltip-state.ts","../../../../packages/ng-primitives/tooltip/src/tooltip/tooltip.ts","../../../../packages/ng-primitives/tooltip/src/tooltip-text-content/tooltip-text-content-state.ts","../../../../packages/ng-primitives/tooltip/src/tooltip-text-content/tooltip-text-content.ts","../../../../packages/ng-primitives/tooltip/src/tooltip-trigger/tooltip-trigger-state.ts","../../../../packages/ng-primitives/tooltip/src/tooltip-trigger/tooltip-trigger.ts","../../../../packages/ng-primitives/tooltip/src/ng-primitives-tooltip.ts"],"sourcesContent":["import { InjectionToken, Provider, inject } from '@angular/core';\nimport { NgpFlip, NgpOffset, NgpPlacement, NgpShift } from 'ng-primitives/portal';\n\nexport interface NgpTooltipConfig {\n  /**\n   * Define the offset of the tooltip relative to the trigger.\n   * Can be a number (applies to mainAxis) or an object with mainAxis, crossAxis, and alignmentAxis.\n   * @default 4\n   */\n  offset: NgpOffset;\n\n  /**\n   * Define the placement of the tooltip relative to the trigger.\n   * @default 'top'\n   */\n  placement: NgpPlacement;\n\n  /**\n   * Define the delay before the tooltip is shown.\n   * @default 0\n   */\n  showDelay: number;\n\n  /**\n   * Define the delay before the tooltip is hidden.\n   * @default 500\n   */\n  hideDelay: number;\n\n  /**\n   * Define whether the tooltip should flip when there is not enough space for the tooltip.\n   * Can be a boolean to enable/disable, or an object with padding and fallbackPlacements options.\n   * @default true\n   */\n  flip: NgpFlip;\n\n  /**\n   * Define the container element or selector into which the tooltip should be attached.\n   * @default 'body'\n   */\n  container: HTMLElement | string | null;\n\n  /**\n   * Whether the tooltip should only show when the trigger element overflows.\n   * @default false\n   */\n  showOnOverflow: boolean;\n\n  /**\n   * Whether to use the text content of the trigger element as the tooltip content.\n   * @default true\n   */\n  useTextContent: boolean;\n\n  /**\n   * Configure shift behavior to keep the tooltip in view.\n   * Can be a boolean to enable/disable, or an object with padding and limiter options.\n   * @default undefined (enabled by default in overlay)\n   */\n  shift: NgpShift;\n\n  /**\n   * Whether to track the trigger element position on every animation frame.\n   * Useful for moving elements like slider thumbs.\n   * @default false\n   */\n  trackPosition: boolean;\n\n  /**\n   * Defines how the tooltip behaves when the window is scrolled.\n   * @default 'reposition'\n   */\n  scrollBehavior: 'reposition' | 'close';\n\n  /**\n   * Cooldown duration in milliseconds.\n   * When moving from one tooltip to another within this duration,\n   * the showDelay is skipped for the new tooltip.\n   * @default 300\n   */\n  cooldown: number;\n\n  /**\n   * Whether hovering the tooltip content keeps it open while moving from the trigger.\n   * @default false\n   */\n  hoverableContent: boolean;\n}\n\nexport const defaultTooltipConfig: NgpTooltipConfig = {\n  offset: 4,\n  placement: 'top',\n  showDelay: 0,\n  hideDelay: 500,\n  flip: true,\n  container: 'body',\n  showOnOverflow: false,\n  useTextContent: true,\n  shift: undefined,\n  trackPosition: false,\n  scrollBehavior: 'reposition',\n  cooldown: 300,\n  hoverableContent: false,\n};\n\nexport const NgpTooltipConfigToken = new InjectionToken<NgpTooltipConfig>('NgpTooltipConfigToken');\n\n/**\n * Provide the default Tooltip configuration\n * @param config The Tooltip configuration\n * @returns The provider\n */\nexport function provideTooltipConfig(config: Partial<NgpTooltipConfig>): Provider[] {\n  return [\n    {\n      provide: NgpTooltipConfigToken,\n      useValue: { ...defaultTooltipConfig, ...config },\n    },\n  ];\n}\n\n/**\n * Inject the Tooltip configuration\n * @returns The global Tooltip configuration\n */\nexport function injectTooltipConfig(): NgpTooltipConfig {\n  return inject(NgpTooltipConfigToken, { optional: true }) ?? defaultTooltipConfig;\n}\n","import { NgpOverlayArrowProps, NgpOverlayArrowState, ngpOverlayArrow } from 'ng-primitives/portal';\nimport { createPrimitive } from 'ng-primitives/state';\n\n// Re-export types with tooltip-specific aliases\nexport { NgpOverlayArrowProps as NgpTooltipArrowProps };\nexport { NgpOverlayArrowState as NgpTooltipArrowState };\n\nexport const [\n  NgpTooltipArrowStateToken,\n  ngpTooltipArrow,\n  injectTooltipArrowState,\n  provideTooltipArrowState,\n] = createPrimitive(\n  'NgpTooltipArrow',\n  ({ padding }: NgpOverlayArrowProps): NgpOverlayArrowState => {\n    return ngpOverlayArrow({ padding });\n  },\n);\n","import { NumberInput } from '@angular/cdk/coercion';\nimport { Directive, input, numberAttribute } from '@angular/core';\nimport { ngpTooltipArrow, provideTooltipArrowState } from './tooltip-arrow-state';\n\n@Directive({\n  selector: '[ngpTooltipArrow]',\n  exportAs: 'ngpTooltipArrow',\n  providers: [provideTooltipArrowState()],\n})\nexport class NgpTooltipArrow {\n  /**\n   * Padding between the arrow and the edges of the tooltip.\n   * This prevents the arrow from overflowing the rounded corners.\n   */\n  readonly padding = input<number | undefined, NumberInput>(undefined, {\n    alias: 'ngpTooltipArrowPadding',\n    transform: numberAttribute,\n  });\n\n  protected readonly state = ngpTooltipArrow({ padding: this.padding });\n\n  /**\n   * Set the padding between the arrow and the edges of the tooltip.\n   * @param value The padding value in pixels\n   */\n  setPadding(value: number | undefined): void {\n    this.state.setPadding(value);\n  }\n}\n","import { ElementRef, Signal, signal } from '@angular/core';\nimport { ngpHover } from 'ng-primitives/interactions';\nimport { explicitEffect, injectElementRef } from 'ng-primitives/internal';\nimport { injectOverlay } from 'ng-primitives/portal';\nimport {\n  attrBinding,\n  controlled,\n  createPrimitive,\n  dataBinding,\n  styleBinding,\n} from 'ng-primitives/state';\nimport { injectTooltipTriggerState } from '../tooltip-trigger/tooltip-trigger-state';\n\nexport interface NgpTooltipState {\n  /** Access the element's reference. */\n  readonly elementRef: ElementRef;\n  /** The unique id of the tooltip. */\n  readonly id: Signal<string>;\n}\n\nexport interface NgpTooltipProps {\n  /** The unique id of the tooltip. */\n  readonly id?: Signal<string>;\n}\n\nexport const [NgpTooltipStateToken, ngpTooltip, injectTooltipState, provideTooltipState] =\n  createPrimitive('NgpTooltip', ({ id: _id = signal<string>('') }: NgpTooltipProps) => {\n    const elementRef = injectElementRef();\n    const tooltipTriggerState = injectTooltipTriggerState();\n    const overlay = injectOverlay();\n    overlay.registerAvailableSizePrefix('--ngp-tooltip');\n\n    const id = controlled(_id);\n\n    // Seed the id with the overlay's generated unique id so the tooltip has a\n    // valid id (and the trigger a valid aria-describedby) when none is provided.\n    // `controlled` returns a linkedSignal, so this is only a transient default:\n    // if a consumer binds `id`, that source change supersedes this seed.\n    id.set(overlay.id());\n\n    // Setup interactions\n    ngpHover({\n      onHoverStart: () => tooltipTriggerState().onTooltipHoverStart(),\n      onHoverEnd: () => tooltipTriggerState().onTooltipHoverEnd(),\n    });\n\n    // Host binding\n    attrBinding(elementRef, 'role', 'tooltip');\n    attrBinding(elementRef, 'id', () => id());\n    dataBinding(elementRef, 'data-overlay', '');\n    dataBinding(elementRef, 'data-placement', () => overlay.finalPlacement()?.toString() ?? null);\n    styleBinding(elementRef, 'left.px', () => overlay.position().x ?? null);\n    styleBinding(elementRef, 'top.px', () => overlay.position().y ?? null);\n    styleBinding(elementRef, '--ngp-tooltip-trigger-width.px', () => overlay.triggerWidth());\n    styleBinding(elementRef, '--ngp-tooltip-transform-origin', () => overlay.transformOrigin());\n    styleBinding(elementRef, '--ngp-tooltip-available-width.px', () => overlay.availableWidth());\n    styleBinding(elementRef, '--ngp-tooltip-available-height.px', () => overlay.availableHeight());\n\n    // Effects\n    explicitEffect([id], ([id]) => overlay.id.set(id));\n\n    return {\n      elementRef,\n      id,\n    } satisfies NgpTooltipState;\n  });\n","import { Directive, input } from '@angular/core';\nimport { provideControlContainerIsolation } from 'ng-primitives/portal';\nimport { ngpTooltip } from './tooltip-state';\n\n/**\n * Apply the `ngpTooltip` directive to an element that represents the tooltip. This typically would be a `div` inside an `ng-template`.\n */\n@Directive({\n  selector: '[ngpTooltip]',\n  exportAs: 'ngpTooltip',\n  providers: [provideControlContainerIsolation()],\n})\nexport class NgpTooltip {\n  /**\n   * The unique id of the tooltip.\n   */\n  readonly id = input('');\n\n  protected readonly state = ngpTooltip({\n    id: this.id,\n  });\n}\n","import { ElementRef, Signal } from '@angular/core';\nimport { injectElementRef } from 'ng-primitives/internal';\nimport { injectOverlayContext } from 'ng-primitives/portal';\nimport { attrBinding, createPrimitive } from 'ng-primitives/state';\n\nexport interface NgpTooltipTextContentState {\n  /** Access the component's context. */\n  readonly elementRef: ElementRef;\n  /** The string content to display. */\n  readonly content: Signal<unknown>;\n}\n\nexport interface NgpTooltipTextContentProps {}\n\nexport const [\n  NgpTooltipTextContentStateToken,\n  ngpTooltipTextContent,\n  injectTooltipTextContentState,\n  provideTooltipTextContentState,\n] = createPrimitive('NgpTooltipTextContent', ({}: NgpTooltipTextContentProps) => {\n  const elementRef = injectElementRef();\n  const content = injectOverlayContext();\n\n  // Host bindings\n  attrBinding(elementRef, 'ngpTooltip', '');\n\n  return { elementRef, content } satisfies NgpTooltipTextContentState;\n});\n","import { Component } from '@angular/core';\nimport { NgpTooltip } from '../tooltip/tooltip';\nimport { ngpTooltipTextContent } from './tooltip-text-content-state';\n\n/**\n * Internal component for wrapping string content in tooltip portals\n * @internal\n */\n@Component({\n  template: '{{ state.content() }}',\n  hostDirectives: [NgpTooltip],\n})\nexport class NgpTooltipTextContentComponent {\n  protected readonly state = ngpTooltipTextContent({});\n}\n","import {\n  signal,\n  Signal,\n  WritableSignal,\n  Injector,\n  inject,\n  ViewContainerRef,\n  computed,\n  ElementRef,\n} from '@angular/core';\nimport { createHoverBridge, HoverBridgePoint, injectElementRef } from 'ng-primitives/internal';\nimport {\n  createOverlay,\n  NgpFlip,\n  NgpOffset,\n  NgpOverlay,\n  NgpOverlayConfig,\n  NgpOverlayContent,\n  NgpPlacement,\n  NgpPosition,\n  NgpShift,\n} from 'ng-primitives/portal';\nimport {\n  attrBinding,\n  controlled,\n  createPrimitive,\n  dataBinding,\n  deprecatedSetter,\n  listener,\n  onDestroy,\n  StateInjectionOptions,\n} from 'ng-primitives/state';\nimport { isString, onChange } from 'ng-primitives/utils';\nimport { NgpTooltipTextContentComponent } from '../tooltip-text-content/tooltip-text-content';\n\nexport interface NgpTooltipTriggerState<T> {\n  /** Access the tooltip template ref. */\n  readonly tooltip: WritableSignal<NgpOverlayContent<T> | string | null>;\n  /**\n   * Whether the tooltip is disabled. This allows the tooltip to be enabled or disabled dynamically.\n   * @default false\n   */\n  readonly disabled: WritableSignal<boolean>;\n  /**\n   * Define the placement of the tooltip relative to the trigger.\n   * @default 'top'\n   */\n  readonly placement: WritableSignal<NgpPlacement>;\n  /**\n   * Define the offset of the tooltip relative to the trigger.\n   * Can be a number (applies to mainAxis) or an object with mainAxis, crossAxis, and alignmentAxis.\n   * @default 0\n   */\n  readonly offset: WritableSignal<NgpOffset>;\n  /**\n   * Define the delay before the tooltip is displayed.\n   * @default 500\n   */\n  readonly showDelay: WritableSignal<number>;\n  /**\n   * Define the delay before the tooltip is hidden.\n   * @default 0\n   */\n  readonly hideDelay: WritableSignal<number>;\n  /**\n   * Define whether the tooltip should flip when there is not enough space for the tooltip.\n   * Can be a boolean to enable/disable, or an object with padding and fallbackPlacements options.\n   * @default true\n   */\n  readonly flip: WritableSignal<NgpFlip>;\n  /**\n   * Configure shift behavior to keep the tooltip in view.\n   * Can be a boolean to enable/disable, or an object with padding and limiter options.\n   * @default undefined (enabled by default in overlay)\n   */\n  readonly shift: WritableSignal<NgpShift>;\n  /**\n   * Define the container in which the tooltip should be attached.\n   * @default document.body\n   */\n  readonly container: WritableSignal<HTMLElement | string | null>;\n  /**\n   * Define whether the tooltip should only show when the trigger element overflows.\n   * @default false\n   */\n  readonly showOnOverflow: WritableSignal<boolean>;\n  /**\n   * Define an anchor element for positioning the tooltip.\n   * If provided, the tooltip will be positioned relative to this element instead of the trigger.\n   */\n  readonly anchor: WritableSignal<HTMLElement | null>;\n  /**\n   * Provide context to the tooltip. This can be used to pass data to the tooltip content.\n   */\n  readonly context: WritableSignal<T | undefined>;\n  /**\n   * Define whether to use the text content of the trigger element as the tooltip content.\n   * When enabled, the tooltip will display the text content of the trigger element.\n   * @default true\n   */\n  readonly useTextContent: WritableSignal<boolean>;\n  /**\n   * Define whether to track the trigger element position on every animation frame.\n   * Useful for moving elements like slider thumbs.\n   * @default false\n   */\n  readonly trackPosition: WritableSignal<boolean>;\n  /**\n   * Programmatic position for the tooltip. When provided, the tooltip\n   * will be positioned at these coordinates instead of the trigger element.\n   * Use with trackPosition=\"true\" for smooth cursor following.\n   */\n  readonly position: WritableSignal<NgpPosition | null>;\n  /**\n   * Defines how the tooltip behaves when the window is scrolled.\n   * @default 'reposition'\n   */\n  readonly scrollBehavior: WritableSignal<'reposition' | 'close'>;\n  /**\n   * Define the cooldown duration in milliseconds.\n   * When moving from one tooltip to another within this duration,\n   * the showDelay is skipped for the new tooltip.\n   * @default 300\n   */\n  readonly cooldown: WritableSignal<number>;\n  /**\n   * Whether hovering tooltip content keeps the tooltip open.\n   * @default false\n   */\n  readonly hoverableContent: WritableSignal<boolean>;\n  /**\n   * The overlay that manages the tooltip\n   * @internal\n   */\n  readonly overlay: WritableSignal<NgpOverlay<T | string> | null>;\n  /**\n   * The unique id of the tooltip.\n   */\n  readonly tooltipId: Signal<string | undefined>;\n  /**\n   * The open state of the tooltip.\n   * @internal\n   */\n  readonly open: Signal<boolean>;\n  /**\n   * Whether the trigger element overflowed at the last `showOnOverflow` show attempt.\n   * Only measured then, so it is `false` until the first such attempt and holds that\n   * measurement afterwards.\n   */\n  readonly hasOverflow: Signal<boolean>;\n  /**\n   * Tracks whether pointer is currently over tooltip content.\n   */\n  readonly contentHovered: Signal<boolean>;\n  /**\n   * Current pointer grace polygon used while crossing trigger -> tooltip.\n   */\n  readonly hoverBridgePolygon: Signal<HoverBridgePoint[] | null>;\n  /**\n   * Show the tooltip programmatically (skips cooldown so multiple tooltips can coexist).\n   */\n  show: () => void;\n  /**\n   * Hide the tooltip. Pass `true` to skip the hide delay.\n   */\n  hide: (immediate?: boolean) => void;\n  /**\n   * Set the tooltip id.\n   */\n  setTooltipId: (id: string) => void;\n  /** Set the tooltip content. */\n  setTooltip: (tooltip: NgpOverlayContent<T> | string | null) => void;\n  /** Set whether the tooltip is disabled. */\n  setDisabled: (disabled: boolean) => void;\n  /** Set the placement of the tooltip relative to the trigger. */\n  setPlacement: (placement: NgpPlacement) => void;\n  /** Set the offset of the tooltip relative to the trigger. */\n  setOffset: (offset: NgpOffset) => void;\n  /** Set the delay before the tooltip is displayed. */\n  setShowDelay: (showDelay: number) => void;\n  /** Set the delay before the tooltip is hidden. */\n  setHideDelay: (hideDelay: number) => void;\n  /** Set the flip behaviour. */\n  setFlip: (flip: NgpFlip) => void;\n  /** Set the shift behaviour. */\n  setShift: (shift: NgpShift) => void;\n  /** Set the container in which the tooltip should be attached. */\n  setContainer: (container: HTMLElement | string | null) => void;\n  /** Set whether the tooltip only shows when the trigger element overflows. */\n  setShowOnOverflow: (showOnOverflow: boolean) => void;\n  /** Set the anchor element the tooltip is positioned against. */\n  setAnchor: (anchor: HTMLElement | null) => void;\n  /** Set the context passed to the tooltip content. */\n  setContext: (context: T | undefined) => void;\n  /** Set whether the trigger's text content is used as the tooltip content. */\n  setUseTextContent: (useTextContent: boolean) => void;\n  /** Set whether the trigger position is tracked on every animation frame. */\n  setTrackPosition: (trackPosition: boolean) => void;\n  /** Set the programmatic position the tooltip is placed at. */\n  setPosition: (position: NgpPosition | null) => void;\n  /** Set how the tooltip behaves when the window is scrolled. */\n  setScrollBehavior: (scrollBehavior: 'reposition' | 'close') => void;\n  /** Set the cooldown duration in milliseconds. */\n  setCooldown: (cooldown: number) => void;\n  /** Set whether hovering the tooltip content keeps it open. */\n  setHoverableContent: (hoverableContent: boolean) => void;\n  /**\n   * Called by tooltip content when pointer enters the tooltip.\n   * @internal\n   */\n  onTooltipHoverStart: () => void;\n  /**\n   * Called by tooltip content when pointer leaves the tooltip.\n   * @internal\n   */\n  onTooltipHoverEnd: () => void;\n}\n\nexport interface NgpTooltipTriggerProps<T> {\n  /** Access the tooltip template ref. */\n  readonly tooltip?: Signal<NgpOverlayContent<T> | string | null>;\n  /**\n   * Whether the tooltip is disabled. This allows the tooltip to be enabled or disabled dynamically.\n   * @default false\n   */\n  readonly disabled?: Signal<boolean>;\n  /**\n   * Define the placement of the tooltip relative to the trigger.\n   * @default 'top'\n   */\n  readonly placement?: Signal<NgpPlacement>;\n  /**\n   * Define the offset of the tooltip relative to the trigger.\n   * Can be a number (applies to mainAxis) or an object with mainAxis, crossAxis, and alignmentAxis.\n   * @default 0\n   */\n  readonly offset?: Signal<NgpOffset>;\n  /**\n   * Define the delay before the tooltip is displayed.\n   * @default 500\n   */\n  readonly showDelay?: Signal<number>;\n  /**\n   * Define the delay before the tooltip is hidden.\n   * @default 0\n   */\n  readonly hideDelay?: Signal<number>;\n  /**\n   * Define whether the tooltip should flip when there is not enough space for the tooltip.\n   * Can be a boolean to enable/disable, or an object with padding and fallbackPlacements options.\n   * @default true\n   */\n  readonly flip?: Signal<NgpFlip>;\n  /**\n   * Configure shift behavior to keep the tooltip in view.\n   * Can be a boolean to enable/disable, or an object with padding and limiter options.\n   * @default undefined (enabled by default in overlay)\n   */\n  readonly shift?: Signal<NgpShift>;\n  /**\n   * Define the container in which the tooltip should be attached.\n   * @default document.body\n   */\n  readonly container?: Signal<HTMLElement | string | null>;\n  /**\n   * Define whether the tooltip should only show when the trigger element overflows.\n   * @default false\n   */\n  readonly showOnOverflow?: Signal<boolean>;\n  /**\n   * Define an anchor element for positioning the tooltip.\n   * If provided, the tooltip will be positioned relative to this element instead of the trigger.\n   */\n  readonly anchor?: Signal<HTMLElement | null>;\n  /**\n   * Provide context to the tooltip. This can be used to pass data to the tooltip content.\n   */\n  readonly context?: Signal<T | undefined>;\n  /**\n   * Define whether to use the text content of the trigger element as the tooltip content.\n   * When enabled, the tooltip will display the text content of the trigger element.\n   * @default true\n   */\n  readonly useTextContent?: Signal<boolean>;\n  /**\n   * Define whether to track the trigger element position on every animation frame.\n   * Useful for moving elements like slider thumbs.\n   * @default false\n   */\n  readonly trackPosition?: Signal<boolean>;\n  /**\n   * Programmatic position for the tooltip. When provided, the tooltip\n   * will be positioned at these coordinates instead of the trigger element.\n   * Use with trackPosition=\"true\" for smooth cursor following.\n   */\n  readonly position?: Signal<NgpPosition | null>;\n  /**\n   * Defines how the tooltip behaves when the window is scrolled.\n   * @default 'reposition'\n   */\n  readonly scrollBehavior?: Signal<'reposition' | 'close'>;\n  /**\n   * Define the cooldown duration in milliseconds.\n   * When moving from one tooltip to another within this duration,\n   * the showDelay is skipped for the new tooltip.\n   * @default 300\n   */\n  readonly cooldown?: Signal<number>;\n  /**\n   * Whether hovering tooltip content keeps the tooltip open.\n   * @default false\n   */\n  readonly hoverableContent?: Signal<boolean>;\n}\n\nexport const [\n  NgpTooltipTriggerStateToken,\n  ngpTooltipTrigger,\n  _injectTooltipTriggerState,\n  provideTooltipTriggerState,\n] = createPrimitive(\n  'NgpTooltipTrigger',\n  <T>({\n    tooltip: _tooltip,\n    disabled: _disabled,\n    placement: _placement,\n    offset: _offset,\n    showDelay: _showDelay,\n    hideDelay: _hideDelay,\n    flip: _flip,\n    shift: _shift,\n    container: _container,\n    showOnOverflow: _showOnOverflow,\n    anchor: _anchor,\n    context: _context,\n    useTextContent: _useTextContent,\n    trackPosition: _trackPosition,\n    position: _position,\n    scrollBehavior: _scrollBehavior,\n    cooldown: _cooldown,\n    hoverableContent: _hoverableContent,\n  }: NgpTooltipTriggerProps<T>) => {\n    const elementRef = injectElementRef();\n    const injector = inject(Injector);\n    const viewContainerRef = inject(ViewContainerRef);\n    const trigger = inject(ElementRef<HTMLElement>);\n    const tooltipTriggerState = injectTooltipTriggerState<T>();\n\n    // Every input is wrapped so the state can expose a setter for it - see the\n    // setter block further down the factory.\n    const tooltip = controlled<NgpOverlayContent<T> | string | null>(_tooltip, null);\n    const disabled = controlled(_disabled, false);\n    const placement = controlled<NgpPlacement>(_placement, 'top');\n    const offset = controlled<NgpOffset>(_offset, 0);\n    const showDelay = controlled(_showDelay, 500);\n    const hideDelay = controlled(_hideDelay, 0);\n    const flip = controlled<NgpFlip>(_flip, true);\n    const shift = controlled<NgpShift>(_shift, undefined);\n    const container = controlled<HTMLElement | string | null>(_container, 'body');\n    const showOnOverflow = controlled(_showOnOverflow, false);\n    const anchor = controlled<HTMLElement | null>(_anchor, null);\n    const context = controlled<T | undefined>(_context, undefined);\n    const useTextContent = controlled(_useTextContent, true);\n    const trackPosition = controlled(_trackPosition, false);\n    const position = controlled<NgpPosition | null>(_position, null);\n    const scrollBehavior = controlled<'reposition' | 'close'>(_scrollBehavior, 'reposition');\n    const cooldown = controlled(_cooldown, 300);\n    const hoverableContent = controlled(_hoverableContent, false);\n\n    const tooltipId = signal<string | undefined>(undefined);\n    const triggerHovered = signal<boolean>(false);\n    const contentHovered = signal<boolean>(false);\n    const overlay = signal<NgpOverlay<T | string> | null>(null);\n    // Measured fresh in `performShow` rather than tracked via an observer.\n    const hasOverflow = signal(false);\n\n    const open = computed(() => overlay()?.isOpen() ?? false);\n\n    // Safe-polygon hover intent for hoverable tooltip content. Tooltips preserve\n    // their original behaviour: no direction gate (requireForwardMovement off)\n    // and a fixed crossing grace rather than an idle timer that resets on move.\n    const hoverBridge = createHoverBridge({\n      isPointerInAnchor: () => triggerHovered() || contentHovered(),\n      close: () => hide(),\n      resetFallbackOnMove: false,\n    });\n\n    // Host binding\n    attrBinding(elementRef, 'aria-describedby', () => overlay()?.ariaDescribedBy());\n    dataBinding(elementRef, 'data-open', () => (open() ? '' : null));\n\n    // Listeners\n    listener(elementRef, 'mouseenter', showFromInteraction);\n    listener(elementRef, 'focus', showFromInteraction);\n    listener(elementRef, 'mouseleave', hideFromInteraction);\n    listener(elementRef, 'blur', () => hideFromInteraction());\n\n    // Re-enabling fires neither `mouseenter` nor `focus` for a pointer or focus that is\n    // already on the trigger, so check for them instead. Focus counts only when it is\n    // keyboard focus: focus left behind by a click is not the user arriving.\n    onChange(disabled, (isDisabled, wasDisabled) => {\n      const element = trigger.nativeElement;\n      if (\n        wasDisabled &&\n        !isDisabled &&\n        (element.matches(':hover') || element.matches(':focus-visible'))\n      ) {\n        showFromInteraction();\n      }\n    });\n\n    onDestroy(() => {\n      hoverBridge.clear();\n      overlay()?.destroy();\n    });\n\n    function show(): void {\n      performShow(true);\n    }\n\n    function hide(immediate = false): void {\n      hoverBridge.clear();\n      overlay()?.hide({ immediate });\n    }\n\n    /**\n     * Show the tooltip from an interaction (respects disabled state, uses cooldown).\n     * @internal\n     */\n    function showFromInteraction(): void {\n      if (tooltipTriggerState().disabled()) {\n        return;\n      }\n      triggerHovered.set(true);\n      hoverBridge.clear();\n      performShow(false);\n    }\n\n    /**\n     * Shared show logic.\n     * @param skipCooldown When true, skip cooldown registration so multiple tooltips can coexist.\n     */\n    function performShow(skipCooldown: boolean): void {\n      // If already open, cancel any pending close\n      if (open()) {\n        overlay()?.cancelPendingClose();\n        return;\n      }\n\n      // Measuring here, rather than via an observer, also catches a content-only change\n      // that never resizes the element.\n      if (tooltipTriggerState().showOnOverflow()) {\n        const overflowing =\n          trigger.nativeElement.scrollWidth > trigger.nativeElement.clientWidth ||\n          trigger.nativeElement.scrollHeight > trigger.nativeElement.clientHeight;\n\n        hasOverflow.set(overflowing);\n\n        if (!overflowing) {\n          return;\n        }\n      }\n\n      // Create the overlay if it doesn't exist yet\n      if (!overlay()) {\n        createOverlayInstance();\n      }\n\n      overlay()?.show({ skipCooldown });\n    }\n\n    function setTooltipId(id: string): void {\n      tooltipId.set(id);\n    }\n\n    function setTooltip(newTooltip: NgpOverlayContent<T> | string | null): void {\n      tooltip.set(newTooltip);\n    }\n\n    function setDisabled(isDisabled: boolean): void {\n      disabled.set(isDisabled);\n    }\n\n    function setPlacement(newPlacement: NgpPlacement): void {\n      placement.set(newPlacement);\n    }\n\n    function setOffset(newOffset: NgpOffset): void {\n      offset.set(newOffset);\n    }\n\n    function setShowDelay(delay: number): void {\n      showDelay.set(delay);\n    }\n\n    function setHideDelay(delay: number): void {\n      hideDelay.set(delay);\n    }\n\n    function setFlip(shouldFlip: NgpFlip): void {\n      flip.set(shouldFlip);\n    }\n\n    function setShift(shouldShift: NgpShift): void {\n      shift.set(shouldShift);\n    }\n\n    function setContainer(newContainer: HTMLElement | string | null): void {\n      container.set(newContainer);\n    }\n\n    function setShowOnOverflow(shouldShowOnOverflow: boolean): void {\n      showOnOverflow.set(shouldShowOnOverflow);\n    }\n\n    function setAnchor(newAnchor: HTMLElement | null): void {\n      anchor.set(newAnchor);\n    }\n\n    function setContext(newContext: T | undefined): void {\n      context.set(newContext);\n    }\n\n    function setUseTextContent(shouldUseTextContent: boolean): void {\n      useTextContent.set(shouldUseTextContent);\n    }\n\n    function setTrackPosition(shouldTrack: boolean): void {\n      trackPosition.set(shouldTrack);\n    }\n\n    function setPosition(newPosition: NgpPosition | null): void {\n      position.set(newPosition);\n    }\n\n    function setScrollBehavior(behavior: 'reposition' | 'close'): void {\n      scrollBehavior.set(behavior);\n    }\n\n    function setCooldown(duration: number): void {\n      cooldown.set(duration);\n    }\n\n    function setHoverableContent(isHoverable: boolean): void {\n      hoverableContent.set(isHoverable);\n    }\n\n    /**\n     * Hide the tooltip from an interaction (respects disabled state).\n     * @internal\n     */\n    function hideFromInteraction(event?: MouseEvent): void {\n      if (tooltipTriggerState().disabled()) {\n        return;\n      }\n\n      triggerHovered.set(false);\n\n      // Blur should close regardless of hover bridge or tooltip hover state.\n      if (!event) {\n        contentHovered.set(false);\n        hoverBridge.clear();\n        hide();\n        return;\n      }\n\n      if (!tooltipTriggerState().hoverableContent()) {\n        hide();\n        return;\n      }\n\n      const tooltipElement = overlay()?.getElements()[0];\n      if (!tooltipElement) {\n        hide();\n        return;\n      }\n\n      const started = hoverBridge.track({\n        triggerRect: trigger.nativeElement.getBoundingClientRect(),\n        targetRect: tooltipElement.getBoundingClientRect(),\n        exitPoint: { x: event.clientX, y: event.clientY },\n      });\n\n      if (!started) {\n        hide();\n        return;\n      }\n\n      overlay()?.cancelPendingClose();\n    }\n\n    /**\n     * Called by tooltip content when pointer enters the tooltip.\n     * @internal\n     */\n    function onTooltipHoverStart(): void {\n      if (tooltipTriggerState().disabled() || !tooltipTriggerState().hoverableContent()) {\n        return;\n      }\n\n      contentHovered.set(true);\n      hoverBridge.clear();\n      overlay()?.cancelPendingClose();\n    }\n\n    /**\n     * Called by tooltip content when pointer leaves the tooltip.\n     * @internal\n     */\n    function onTooltipHoverEnd(): void {\n      if (tooltipTriggerState().disabled() || !tooltipTriggerState().hoverableContent()) {\n        return;\n      }\n\n      contentHovered.set(false);\n\n      if (!triggerHovered()) {\n        hide();\n      }\n    }\n\n    /**\n     * What the overlay renders: the tooltip itself, or - when none is given - the\n     * trigger's own text content wrapped in the text content component. Strings are\n     * wrapped the same way. Null when there is nothing to show.\n     *\n     * The text content fallback reads the DOM, which is not reactive - it is resolved\n     * afresh whenever the tooltip or `useTextContent` changes, but a trigger that\n     * rewrites its own label keeps the text it was first shown with.\n     */\n    function resolveContent(): {\n      content: NgpOverlayContent<T | string> | null;\n      context: T | string | undefined;\n    } {\n      const value = tooltip();\n\n      if (value) {\n        return isString(value)\n          ? { content: NgpTooltipTextContentComponent, context: value }\n          : { content: value, context: tooltipTriggerState().context() };\n      }\n\n      const textContent = tooltipTriggerState().useTextContent()\n        ? trigger.nativeElement.textContent?.trim() || ''\n        : '';\n\n      return textContent\n        ? { content: NgpTooltipTextContentComponent, context: textContent }\n        : { content: null, context: undefined };\n    }\n\n    /**\n     * Create the overlay that will contain the tooltip\n     */\n    function createOverlayInstance(): void {\n      const resolved = computed(resolveContent);\n      const content = computed(() => resolved().content);\n      const context = computed(() => resolved().context);\n\n      if (!content()) {\n        if (ngDevMode) {\n          if (tooltipTriggerState().useTextContent()) {\n            console.warn(\n              '[ngpTooltipTrigger]: useTextContent is enabled but trigger element has no text content',\n            );\n          } else {\n            console.error(\n              '[ngpTooltipTrigger]: Tooltip must be a string, TemplateRef, or ComponentType. Alternatively, set useTextContent to true if none is provided.',\n            );\n          }\n        }\n\n        return;\n      }\n\n      // Create config for the overlay\n      const config: NgpOverlayConfig<T | string> = {\n        content,\n        triggerElement: trigger.nativeElement,\n        anchorElement: anchor,\n        injector: injector,\n        context,\n        container,\n        placement: placement,\n        offset: offset(),\n        flip: flip(),\n        shift: shift(),\n        showDelay: showDelay(),\n        hideDelay: hideDelay(),\n        closeOnEscape: true,\n        closeOnOutsideClick: true,\n        viewContainerRef: viewContainerRef,\n        trackPosition: trackPosition(),\n        position: position,\n        scrollBehaviour: scrollBehavior(),\n        overlayType: 'tooltip',\n        cooldown: cooldown(),\n      };\n\n      // Create the overlay instance\n      overlay.set(createOverlay(config));\n    }\n\n    const state = {\n      tooltip: deprecatedSetter(tooltip, 'setTooltip', setTooltip),\n      disabled: deprecatedSetter(disabled, 'setDisabled', setDisabled),\n      placement: deprecatedSetter(placement, 'setPlacement', setPlacement),\n      offset: deprecatedSetter(offset, 'setOffset', setOffset),\n      showDelay: deprecatedSetter(showDelay, 'setShowDelay', setShowDelay),\n      hideDelay: deprecatedSetter(hideDelay, 'setHideDelay', setHideDelay),\n      flip: deprecatedSetter(flip, 'setFlip', setFlip),\n      shift: deprecatedSetter(shift, 'setShift', setShift),\n      container: deprecatedSetter(container, 'setContainer', setContainer),\n      showOnOverflow: deprecatedSetter(showOnOverflow, 'setShowOnOverflow', setShowOnOverflow),\n      anchor: deprecatedSetter(anchor, 'setAnchor', setAnchor),\n      context: deprecatedSetter(context, 'setContext', setContext),\n      useTextContent: deprecatedSetter(useTextContent, 'setUseTextContent', setUseTextContent),\n      trackPosition: deprecatedSetter(trackPosition, 'setTrackPosition', setTrackPosition),\n      position: deprecatedSetter(position, 'setPosition', setPosition),\n      scrollBehavior: deprecatedSetter(scrollBehavior, 'setScrollBehavior', setScrollBehavior),\n      cooldown: deprecatedSetter(cooldown, 'setCooldown', setCooldown),\n      hoverableContent: deprecatedSetter(\n        hoverableContent,\n        'setHoverableContent',\n        setHoverableContent,\n      ),\n      overlay,\n      tooltipId,\n      open,\n      hasOverflow,\n      contentHovered,\n      hoverBridgePolygon: hoverBridge.polygon,\n      show,\n      hide,\n      setTooltipId,\n      setTooltip,\n      setDisabled,\n      setPlacement,\n      setOffset,\n      setShowDelay,\n      setHideDelay,\n      setFlip,\n      setShift,\n      setContainer,\n      setShowOnOverflow,\n      setAnchor,\n      setContext,\n      setUseTextContent,\n      setTrackPosition,\n      setPosition,\n      setScrollBehavior,\n      setCooldown,\n      setHoverableContent,\n      onTooltipHoverStart,\n      onTooltipHoverEnd,\n    } satisfies NgpTooltipTriggerState<T>;\n\n    return state;\n  },\n);\n\nexport function injectTooltipTriggerState<T>(\n  options?: StateInjectionOptions,\n): Signal<NgpTooltipTriggerState<T>> {\n  return _injectTooltipTriggerState(options) as Signal<NgpTooltipTriggerState<T>>;\n}\n\n/**\n * Where the tooltip is placed relative to its trigger.\n * @deprecated Identical to `NgpPlacement` from `ng-primitives/portal` - use that instead.\n * Will be removed in a future major.\n */\nexport type NgpTooltipPlacement = NgpPlacement;\n","import { BooleanInput, NumberInput } from '@angular/cdk/coercion';\nimport { booleanAttribute, Directive, input, numberAttribute } from '@angular/core';\nimport {\n  coerceFlip,\n  coerceOffset,\n  coerceShift,\n  NgpFlip,\n  NgpFlipInput,\n  NgpOffset,\n  NgpOffsetInput,\n  NgpOverlayContent,\n  NgpPlacement,\n  NgpPosition,\n  NgpShift,\n  NgpShiftInput,\n} from 'ng-primitives/portal';\nimport { isString } from 'ng-primitives/utils';\nimport { injectTooltipConfig } from '../config/tooltip-config';\nimport { ngpTooltipTrigger, provideTooltipTriggerState } from './tooltip-trigger-state';\n\ntype TooltipInput<T> = NgpOverlayContent<T> | string | null | undefined;\n\n/**\n * Apply the `ngpTooltipTrigger` directive to an element that triggers the tooltip to show.\n */\n@Directive({\n  selector: '[ngpTooltipTrigger]',\n  exportAs: 'ngpTooltipTrigger',\n  providers: [provideTooltipTriggerState({ inherit: false })],\n})\nexport class NgpTooltipTrigger<T = null> {\n  /**\n   * Access the global tooltip configuration.\n   */\n  private readonly config = injectTooltipConfig();\n\n  /**\n   * Access the tooltip template ref.\n   */\n  readonly tooltip = input<NgpOverlayContent<T> | string | null, TooltipInput<T>>(null, {\n    alias: 'ngpTooltipTrigger',\n    transform: (value: TooltipInput<T>) => (value && !isString(value) ? value : null),\n  });\n\n  /**\n   * Whether the tooltip is disabled. This allows the tooltip to be enabled or disabled dynamically.\n   * @default false\n   */\n  readonly disabled = input<boolean, BooleanInput>(false, {\n    alias: 'ngpTooltipTriggerDisabled',\n    transform: booleanAttribute,\n  });\n\n  /**\n   * Define the placement of the tooltip relative to the trigger.\n   * @default 'top'\n   */\n  readonly placement = input<NgpPlacement>(this.config.placement, {\n    alias: 'ngpTooltipTriggerPlacement',\n  });\n\n  /**\n   * Define the offset of the tooltip relative to the trigger.\n   * Can be a number (applies to mainAxis) or an object with mainAxis, crossAxis, and alignmentAxis.\n   * @default 0\n   */\n  readonly offset = input<NgpOffset, NgpOffsetInput>(this.config.offset, {\n    alias: 'ngpTooltipTriggerOffset',\n    transform: coerceOffset,\n  });\n\n  /**\n   * Define the delay before the tooltip is displayed.\n   * @default 500\n   */\n  readonly showDelay = input<number, NumberInput>(this.config.showDelay, {\n    alias: 'ngpTooltipTriggerShowDelay',\n    transform: numberAttribute,\n  });\n\n  /**\n   * Define the delay before the tooltip is hidden.\n   * @default 0\n   */\n  readonly hideDelay = input<number, NumberInput>(this.config.hideDelay, {\n    alias: 'ngpTooltipTriggerHideDelay',\n    transform: numberAttribute,\n  });\n\n  /**\n   * Define whether the tooltip should flip when there is not enough space for the tooltip.\n   * Can be a boolean to enable/disable, or an object with padding and fallbackPlacements options.\n   * @default true\n   */\n  readonly flip = input<NgpFlip, NgpFlipInput>(this.config.flip, {\n    alias: 'ngpTooltipTriggerFlip',\n    transform: coerceFlip,\n  });\n\n  /**\n   * Configure shift behavior to keep the tooltip in view.\n   * Can be a boolean to enable/disable, or an object with padding and limiter options.\n   * @default undefined (enabled by default in overlay)\n   */\n  readonly shift = input<NgpShift, NgpShiftInput>(this.config.shift, {\n    alias: 'ngpTooltipTriggerShift',\n    transform: coerceShift,\n  });\n\n  /**\n   * Define the container in which the tooltip should be attached.\n   * @default document.body\n   */\n  readonly container = input<HTMLElement | string | null>(this.config.container, {\n    alias: 'ngpTooltipTriggerContainer',\n  });\n\n  /**\n   * Define whether the tooltip should only show when the trigger element overflows.\n   * @default false\n   */\n  readonly showOnOverflow = input<boolean, BooleanInput>(this.config.showOnOverflow, {\n    alias: 'ngpTooltipTriggerShowOnOverflow',\n    transform: booleanAttribute,\n  });\n\n  /**\n   * Define an anchor element for positioning the tooltip.\n   * If provided, the tooltip will be positioned relative to this element instead of the trigger.\n   *\n   * The anchor is live, so rebinding it moves an open tooltip.\n   *\n   * An input only reaches this directive on the next change detection pass, which a press\n   * can outrun - use `setAnchor()` instead when the anchor is claimed during one.\n   */\n  readonly anchor = input<HTMLElement | null>(null, { alias: 'ngpTooltipTriggerAnchor' });\n\n  /**\n   * Provide context to the tooltip. This can be used to pass data to the tooltip content.\n   */\n  readonly context = input<T>(undefined, {\n    alias: 'ngpTooltipTriggerContext',\n  });\n\n  /**\n   * Define whether to use the text content of the trigger element as the tooltip content.\n   * When enabled, the tooltip will display the text content of the trigger element.\n   * @default true\n   */\n  readonly useTextContent = input<boolean, BooleanInput>(this.config.useTextContent, {\n    alias: 'ngpTooltipTriggerUseTextContent',\n    transform: booleanAttribute,\n  });\n\n  /**\n   * Define whether to track the trigger element position on every animation frame.\n   * Useful for moving elements like slider thumbs.\n   * @default false\n   */\n  readonly trackPosition = input<boolean, BooleanInput>(this.config.trackPosition, {\n    alias: 'ngpTooltipTriggerTrackPosition',\n    transform: booleanAttribute,\n  });\n\n  /**\n   * Programmatic position for the tooltip. When provided, the tooltip\n   * will be positioned at these coordinates instead of the trigger element.\n   * Use with trackPosition=\"true\" for smooth cursor following.\n   */\n  readonly position = input<NgpPosition | null>(null, {\n    alias: 'ngpTooltipTriggerPosition',\n  });\n\n  /**\n   * Defines how the tooltip behaves when the window is scrolled.\n   * @default 'reposition'\n   */\n  readonly scrollBehavior = input<'reposition' | 'close'>(this.config.scrollBehavior, {\n    alias: 'ngpTooltipTriggerScrollBehavior',\n  });\n\n  /**\n   * Define the cooldown duration in milliseconds.\n   * When moving from one tooltip to another within this duration,\n   * the showDelay is skipped for the new tooltip.\n   * @default 300\n   */\n  readonly cooldown = input<number, NumberInput>(this.config.cooldown, {\n    alias: 'ngpTooltipTriggerCooldown',\n    transform: numberAttribute,\n  });\n\n  /**\n   * Whether hovering tooltip content keeps the tooltip open.\n   * @default false\n   */\n  readonly hoverableContent = input<boolean, BooleanInput>(this.config.hoverableContent, {\n    alias: 'ngpTooltipTriggerHoverableContent',\n    transform: booleanAttribute,\n  });\n\n  protected readonly state = ngpTooltipTrigger({\n    tooltip: this.tooltip,\n    disabled: this.disabled,\n    placement: this.placement,\n    offset: this.offset,\n    showDelay: this.showDelay,\n    hideDelay: this.hideDelay,\n    flip: this.flip,\n    shift: this.shift,\n    container: this.container,\n    showOnOverflow: this.showOnOverflow,\n    anchor: this.anchor,\n    context: this.context,\n    useTextContent: this.useTextContent,\n    trackPosition: this.trackPosition,\n    position: this.position,\n    scrollBehavior: this.scrollBehavior,\n    cooldown: this.cooldown,\n    hoverableContent: this.hoverableContent,\n  });\n\n  /**\n   * Show the tooltip programmatically (skips cooldown so multiple tooltips can coexist).\n   */\n  show(): void {\n    return this.state.show();\n  }\n\n  /**\n   * Hide the tooltip.\n   * @param immediate Skip the hide delay and exit animation.\n   */\n  hide(immediate = false): void {\n    return this.state.hide(immediate);\n  }\n\n  /**\n   * Set the anchor the tooltip is positioned against, taking effect immediately rather than\n   * on the next change detection pass.\n   *\n   * Reach for this over `ngpTooltipTriggerAnchor` when the anchor is claimed during a press.\n   * Outside-press dismissal is decided on a capture-phase `mouseup`, which a fast tap can\n   * deliver in the same frame as the `pointerdown` that claimed the anchor - before the\n   * binding has reached this directive, so the press dismisses the overlay instead of moving\n   * it. Writing the anchor here is visible to that check straight away.\n   * @param anchor - The new anchor element\n   */\n  setAnchor(anchor: HTMLElement | null): void {\n    this.state.setAnchor(anchor);\n  }\n\n  /**\n   * Called by tooltip content when pointer enters the tooltip.\n   * @internal\n   */\n  onTooltipHoverStart(): void {\n    return this.state.onTooltipHoverStart();\n  }\n\n  /**\n   * Called by tooltip content when pointer leaves the tooltip.\n   * @internal\n   */\n  onTooltipHoverEnd(): void {\n    return this.state.onTooltipHoverEnd();\n  }\n\n  /**\n   * Set the tooltip id.\n   */\n  setTooltipId(id: string): void {\n    return this.state.setTooltipId(id);\n  }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAyFO,MAAM,oBAAoB,GAAqB;AACpD,IAAA,MAAM,EAAE,CAAC;AACT,IAAA,SAAS,EAAE,KAAK;AAChB,IAAA,SAAS,EAAE,CAAC;AACZ,IAAA,SAAS,EAAE,GAAG;AACd,IAAA,IAAI,EAAE,IAAI;AACV,IAAA,SAAS,EAAE,MAAM;AACjB,IAAA,cAAc,EAAE,KAAK;AACrB,IAAA,cAAc,EAAE,IAAI;AACpB,IAAA,KAAK,EAAE,SAAS;AAChB,IAAA,aAAa,EAAE,KAAK;AACpB,IAAA,cAAc,EAAE,YAAY;AAC5B,IAAA,QAAQ,EAAE,GAAG;AACb,IAAA,gBAAgB,EAAE,KAAK;CACxB;AAEM,MAAM,qBAAqB,GAAG,IAAI,cAAc,CAAmB,uBAAuB,CAAC;AAElG;;;;AAIG;AACG,SAAU,oBAAoB,CAAC,MAAiC,EAAA;IACpE,OAAO;AACL,QAAA;AACE,YAAA,OAAO,EAAE,qBAAqB;AAC9B,YAAA,QAAQ,EAAE,EAAE,GAAG,oBAAoB,EAAE,GAAG,MAAM,EAAE;AACjD,SAAA;KACF;AACH;AAEA;;;AAGG;SACa,mBAAmB,GAAA;AACjC,IAAA,OAAO,MAAM,CAAC,qBAAqB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,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