{"version":3,"sources":["node_modules/primeng/fesm2022/primeng-utils.mjs","node_modules/primeng/fesm2022/primeng-tooltip.mjs"],"sourcesContent":["class ObjectUtils {\n static isArray(value, empty = true) {\n return Array.isArray(value) && (empty || value.length !== 0);\n }\n static isObject(value, empty = true) {\n return typeof value === 'object' && !Array.isArray(value) && value != null && (empty || Object.keys(value).length !== 0);\n }\n static equals(obj1, obj2, field) {\n if (field) return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.equalsByValue(obj1, obj2);\n }\n static equalsByValue(obj1, obj2) {\n if (obj1 === obj2) return true;\n if (obj1 && obj2 && typeof obj1 == 'object' && typeof obj2 == 'object') {\n var arrA = Array.isArray(obj1),\n arrB = Array.isArray(obj2),\n i,\n length,\n key;\n if (arrA && arrB) {\n length = obj1.length;\n if (length != obj2.length) return false;\n for (i = length; i-- !== 0;) if (!this.equalsByValue(obj1[i], obj2[i])) return false;\n return true;\n }\n if (arrA != arrB) return false;\n var dateA = this.isDate(obj1),\n dateB = this.isDate(obj2);\n if (dateA != dateB) return false;\n if (dateA && dateB) return obj1.getTime() == obj2.getTime();\n var regexpA = obj1 instanceof RegExp,\n regexpB = obj2 instanceof RegExp;\n if (regexpA != regexpB) return false;\n if (regexpA && regexpB) return obj1.toString() == obj2.toString();\n var keys = Object.keys(obj1);\n length = keys.length;\n if (length !== Object.keys(obj2).length) return false;\n for (i = length; i-- !== 0;) if (!Object.prototype.hasOwnProperty.call(obj2, keys[i])) return false;\n for (i = length; i-- !== 0;) {\n key = keys[i];\n if (!this.equalsByValue(obj1[key], obj2[key])) return false;\n }\n return true;\n }\n return obj1 !== obj1 && obj2 !== obj2;\n }\n static resolveFieldData(data, field) {\n if (data && field) {\n if (this.isFunction(field)) {\n return field(data);\n } else if (field.indexOf('.') == -1) {\n return data[field];\n } else {\n let fields = field.split('.');\n let value = data;\n for (let i = 0, len = fields.length; i < len; ++i) {\n if (value == null) {\n return null;\n }\n value = value[fields[i]];\n }\n return value;\n }\n } else {\n return null;\n }\n }\n static isFunction(obj) {\n return !!(obj && obj.constructor && obj.call && obj.apply);\n }\n static reorderArray(value, from, to) {\n let target;\n if (value && from !== to) {\n if (to >= value.length) {\n to %= value.length;\n from %= value.length;\n }\n value.splice(to, 0, value.splice(from, 1)[0]);\n }\n }\n static insertIntoOrderedArray(item, index, arr, sourceArr) {\n if (arr.length > 0) {\n let injected = false;\n for (let i = 0; i < arr.length; i++) {\n let currentItemIndex = this.findIndexInList(arr[i], sourceArr);\n if (currentItemIndex > index) {\n arr.splice(i, 0, item);\n injected = true;\n break;\n }\n }\n if (!injected) {\n arr.push(item);\n }\n } else {\n arr.push(item);\n }\n }\n static findIndexInList(item, list) {\n let index = -1;\n if (list) {\n for (let i = 0; i < list.length; i++) {\n if (list[i] == item) {\n index = i;\n break;\n }\n }\n }\n return index;\n }\n static contains(value, list) {\n if (value != null && list && list.length) {\n for (let val of list) {\n if (this.equals(value, val)) return true;\n }\n }\n return false;\n }\n static removeAccents(str) {\n if (str) {\n str = str.normalize('NFKD').replace(/\\p{Diacritic}/gu, '');\n }\n return str;\n }\n static isDate(input) {\n return Object.prototype.toString.call(input) === '[object Date]';\n }\n static isEmpty(value) {\n return value === null || value === undefined || value === '' || Array.isArray(value) && value.length === 0 || !this.isDate(value) && typeof value === 'object' && Object.keys(value).length === 0;\n }\n static isNotEmpty(value) {\n return !this.isEmpty(value);\n }\n static compare(value1, value2, locale, order = 1) {\n let result = -1;\n const emptyValue1 = this.isEmpty(value1);\n const emptyValue2 = this.isEmpty(value2);\n if (emptyValue1 && emptyValue2) result = 0;else if (emptyValue1) result = order;else if (emptyValue2) result = -order;else if (typeof value1 === 'string' && typeof value2 === 'string') result = value1.localeCompare(value2, locale, {\n numeric: true\n });else result = value1 < value2 ? -1 : value1 > value2 ? 1 : 0;\n return result;\n }\n static sort(value1, value2, order = 1, locale, nullSortOrder = 1) {\n const result = ObjectUtils.compare(value1, value2, locale, order);\n let finalSortOrder = order;\n // nullSortOrder == 1 means Excel like sort nulls at bottom\n if (ObjectUtils.isEmpty(value1) || ObjectUtils.isEmpty(value2)) {\n finalSortOrder = nullSortOrder === 1 ? order : nullSortOrder;\n }\n return finalSortOrder * result;\n }\n static merge(obj1, obj2) {\n if (obj1 == undefined && obj2 == undefined) {\n return undefined;\n } else if ((obj1 == undefined || typeof obj1 === 'object') && (obj2 == undefined || typeof obj2 === 'object')) {\n return {\n ...(obj1 || {}),\n ...(obj2 || {})\n };\n } else if ((obj1 == undefined || typeof obj1 === 'string') && (obj2 == undefined || typeof obj2 === 'string')) {\n return [obj1 || '', obj2 || ''].join(' ');\n }\n return obj2 || obj1;\n }\n static isPrintableCharacter(char = '') {\n return this.isNotEmpty(char) && char.length === 1 && char.match(/\\S| /);\n }\n static getItemValue(obj, ...params) {\n return this.isFunction(obj) ? obj(...params) : obj;\n }\n static findLastIndex(arr, callback) {\n let index = -1;\n if (this.isNotEmpty(arr)) {\n try {\n index = arr.findLastIndex(callback);\n } catch {\n index = arr.lastIndexOf([...arr].reverse().find(callback));\n }\n }\n return index;\n }\n static findLast(arr, callback) {\n let item;\n if (this.isNotEmpty(arr)) {\n try {\n item = arr.findLast(callback);\n } catch {\n item = [...arr].reverse().find(callback);\n }\n }\n return item;\n }\n static deepEquals(a, b) {\n if (a === b) return true;\n if (a && b && typeof a == 'object' && typeof b == 'object') {\n var arrA = Array.isArray(a),\n arrB = Array.isArray(b),\n i,\n length,\n key;\n if (arrA && arrB) {\n length = a.length;\n if (length != b.length) return false;\n for (i = length; i-- !== 0;) if (!this.deepEquals(a[i], b[i])) return false;\n return true;\n }\n if (arrA != arrB) return false;\n var dateA = a instanceof Date,\n dateB = b instanceof Date;\n if (dateA != dateB) return false;\n if (dateA && dateB) return a.getTime() == b.getTime();\n var regexpA = a instanceof RegExp,\n regexpB = b instanceof RegExp;\n if (regexpA != regexpB) return false;\n if (regexpA && regexpB) return a.toString() == b.toString();\n var keys = Object.keys(a);\n length = keys.length;\n if (length !== Object.keys(b).length) return false;\n for (i = length; i-- !== 0;) if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;\n for (i = length; i-- !== 0;) {\n key = keys[i];\n if (!this.deepEquals(a[key], b[key])) return false;\n }\n return true;\n }\n return a !== a && b !== b;\n }\n static minifyCSS(css) {\n return css ? css.replace(/\\/\\*(?:(?!\\*\\/)[\\s\\S])*\\*\\/|[\\r\\n\\t]+/g, '').replace(/ {2,}/g, ' ').replace(/ ([{:}]) /g, '$1').replace(/([;,]) /g, '$1').replace(/ !/g, '!').replace(/: /g, ':') : css;\n }\n static toFlatCase(str) {\n // convert snake, kebab, camel and pascal cases to flat case\n return this.isString(str) ? str.replace(/(-|_)/g, '').toLowerCase() : str;\n }\n static isString(value, empty = true) {\n return typeof value === 'string' && (empty || value !== '');\n }\n}\nvar lastId = 0;\nfunction UniqueComponentId(prefix = 'pn_id_') {\n lastId++;\n return `${prefix}${lastId}`;\n}\nfunction ZIndexUtils() {\n let zIndexes = [];\n const generateZIndex = (key, baseZIndex) => {\n let lastZIndex = zIndexes.length > 0 ? zIndexes[zIndexes.length - 1] : {\n key,\n value: baseZIndex\n };\n let newZIndex = lastZIndex.value + (lastZIndex.key === key ? 0 : baseZIndex) + 2;\n zIndexes.push({\n key,\n value: newZIndex\n });\n return newZIndex;\n };\n const revertZIndex = zIndex => {\n zIndexes = zIndexes.filter(obj => obj.value !== zIndex);\n };\n const getCurrentZIndex = () => {\n return zIndexes.length > 0 ? zIndexes[zIndexes.length - 1].value : 0;\n };\n const getZIndex = el => {\n return el ? parseInt(el.style.zIndex, 10) || 0 : 0;\n };\n return {\n get: getZIndex,\n set: (key, el, baseZIndex) => {\n if (el) {\n el.style.zIndex = String(generateZIndex(key, baseZIndex));\n }\n },\n clear: el => {\n if (el) {\n revertZIndex(getZIndex(el));\n el.style.zIndex = '';\n }\n },\n getCurrent: () => getCurrentZIndex(),\n generateZIndex,\n revertZIndex\n };\n}\nvar zindexutils = ZIndexUtils();\nconst transformToBoolean = value => {\n return !!value;\n};\nconst transformToNumber = value => {\n return typeof value === 'string' ? parseFloat(value) : value;\n};\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { ObjectUtils, UniqueComponentId, zindexutils as ZIndexUtils, transformToBoolean, transformToNumber };\n","import { isPlatformBrowser } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { Injectable, inject, TemplateRef, booleanAttribute, numberAttribute, Input, Directive, NgModule } from '@angular/core';\nimport { uuid, hasClass, appendChild, fadeIn, getWindowScrollLeft, getWindowScrollTop, findSingle, getOuterWidth, getOuterHeight, getViewport, removeChild } from '@primeuix/utils';\nimport { BaseComponent } from 'primeng/basecomponent';\nimport { ConnectedOverlayScrollHandler } from 'primeng/dom';\nimport { ZIndexUtils } from 'primeng/utils';\nimport { BaseStyle } from 'primeng/base';\nconst theme = ({\n dt\n}) => `\n.p-tooltip {\n position: absolute;\n display: none;\n max-width: ${dt('tooltip.max.width')};\n}\n\n.p-tooltip-right,\n.p-tooltip-left {\n padding: 0 ${dt('tooltip.gutter')};\n}\n\n.p-tooltip-top,\n.p-tooltip-bottom {\n padding: ${dt('tooltip.gutter')} 0;\n}\n\n.p-tooltip-text {\n white-space: pre-line;\n word-break: break-word;\n background: ${dt('tooltip.background')};\n color: ${dt('tooltip.color')};\n padding: ${dt('tooltip.padding')};\n box-shadow: ${dt('tooltip.shadow')};\n border-radius: ${dt('tooltip.border.radius')};\n}\n\n.p-tooltip-arrow {\n position: absolute;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n scale: 2;\n}\n\n.p-tooltip-right .p-tooltip-arrow {\n top: 50%;\n left: 0;\n margin-top: calc(-1 * ${dt('tooltip.gutter')});\n border-width: ${dt('tooltip.gutter')} ${dt('tooltip.gutter')} ${dt('tooltip.gutter')} 0;\n border-right-color: ${dt('tooltip.background')};\n}\n\n.p-tooltip-left .p-tooltip-arrow {\n top: 50%;\n right: 0;\n margin-top: calc(-1 * ${dt('tooltip.gutter')});\n border-width: ${dt('tooltip.gutter')} 0 ${dt('tooltip.gutter')} ${dt('tooltip.gutter')};\n border-left-color: ${dt('tooltip.background')};\n}\n\n.p-tooltip-top .p-tooltip-arrow {\n bottom: 0;\n left: 50%;\n margin-left: calc(-1 * ${dt('tooltip.gutter')});\n border-width: ${dt('tooltip.gutter')} ${dt('tooltip.gutter')} 0 ${dt('tooltip.gutter')};\n border-top-color: ${dt('tooltip.background')};\n border-bottom-color: ${dt('tooltip.background')};\n}\n\n.p-tooltip-bottom .p-tooltip-arrow {\n top: 0;\n left: 50%;\n margin-left: calc(-1 * ${dt('tooltip.gutter')});\n border-width: 0 ${dt('tooltip.gutter')} ${dt('tooltip.gutter')} ${dt('tooltip.gutter')};\n border-top-color: ${dt('tooltip.background')};\n border-bottom-color: ${dt('tooltip.background')};\n}\n`;\nconst classes = {\n root: 'p-tooltip p-component',\n arrow: 'p-tooltip-arrow',\n text: 'p-tooltip-text'\n};\nlet TooltipStyle = /*#__PURE__*/(() => {\n class TooltipStyle extends BaseStyle {\n name = 'tooltip';\n theme = theme;\n classes = classes;\n static ɵfac = /* @__PURE__ */(() => {\n let ɵTooltipStyle_BaseFactory;\n return function TooltipStyle_Factory(__ngFactoryType__) {\n return (ɵTooltipStyle_BaseFactory || (ɵTooltipStyle_BaseFactory = i0.ɵɵgetInheritedFactory(TooltipStyle)))(__ngFactoryType__ || TooltipStyle);\n };\n })();\n static ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: TooltipStyle,\n factory: TooltipStyle.ɵfac\n });\n }\n return TooltipStyle;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n *\n * Tooltip directive provides advisory information for a component.\n *\n * [Live Demo](https://www.primeng.org/tooltip)\n *\n * @module tooltipstyle\n *\n */\nvar TooltipClasses = /*#__PURE__*/function (TooltipClasses) {\n /**\n * Class name of the root element\n */\n TooltipClasses[\"root\"] = \"p-tooltip\";\n /**\n * Class name of the arrow element\n */\n TooltipClasses[\"arrow\"] = \"p-tooltip-arrow\";\n /**\n * Class name of the text element\n */\n TooltipClasses[\"text\"] = \"p-tooltip-text\";\n return TooltipClasses;\n}(TooltipClasses || {});\n/**\n * Tooltip directive provides advisory information for a component.\n * @group Components\n */\nlet Tooltip = /*#__PURE__*/(() => {\n class Tooltip extends BaseComponent {\n zone;\n viewContainer;\n /**\n * Position of the tooltip.\n * @group Props\n */\n tooltipPosition;\n /**\n * Event to show the tooltip.\n * @group Props\n */\n tooltipEvent = 'hover';\n /**\n * Target element to attach the overlay, valid values are \"body\", \"target\" or a local ng-F variable of another element (note: use binding with brackets for template variables, e.g. [appendTo]=\"mydiv\" for a div element having #mydiv as variable name).\n * @group Props\n */\n appendTo;\n /**\n * Type of CSS position.\n * @group Props\n */\n positionStyle;\n /**\n * Style class of the tooltip.\n * @group Props\n */\n tooltipStyleClass;\n /**\n * Whether the z-index should be managed automatically to always go on top or have a fixed value.\n * @group Props\n */\n tooltipZIndex;\n /**\n * By default the tooltip contents are rendered as text. Set to false to support html tags in the content.\n * @group Props\n */\n escape = true;\n /**\n * Delay to show the tooltip in milliseconds.\n * @group Props\n */\n showDelay;\n /**\n * Delay to hide the tooltip in milliseconds.\n * @group Props\n */\n hideDelay;\n /**\n * Time to wait in milliseconds to hide the tooltip even it is active.\n * @group Props\n */\n life;\n /**\n * Specifies the additional vertical offset of the tooltip from its default position.\n * @group Props\n */\n positionTop;\n /**\n * Specifies the additional horizontal offset of the tooltip from its default position.\n * @group Props\n */\n positionLeft;\n /**\n * Whether to hide tooltip when hovering over tooltip content.\n * @group Props\n */\n autoHide = true;\n /**\n * Automatically adjusts the element position when there is not enough space on the selected position.\n * @group Props\n */\n fitContent = true;\n /**\n * Whether to hide tooltip on escape key press.\n * @group Props\n */\n hideOnEscape = true;\n /**\n * Content of the tooltip.\n * @group Props\n */\n content;\n /**\n * When present, it specifies that the component should be disabled.\n * @defaultValue false\n * @group Props\n */\n get disabled() {\n return this._disabled;\n }\n set disabled(val) {\n this._disabled = val;\n this.deactivate();\n }\n /**\n * Specifies the tooltip configuration options for the component.\n * @group Props\n */\n tooltipOptions;\n _tooltipOptions = {\n tooltipLabel: null,\n tooltipPosition: 'right',\n tooltipEvent: 'hover',\n appendTo: 'body',\n positionStyle: null,\n tooltipStyleClass: null,\n tooltipZIndex: 'auto',\n escape: true,\n disabled: null,\n showDelay: null,\n hideDelay: null,\n positionTop: null,\n positionLeft: null,\n life: null,\n autoHide: true,\n hideOnEscape: true,\n id: uuid('pn_id_') + '_tooltip'\n };\n _disabled;\n container;\n styleClass;\n tooltipText;\n showTimeout;\n hideTimeout;\n active;\n mouseEnterListener;\n mouseLeaveListener;\n containerMouseleaveListener;\n clickListener;\n focusListener;\n blurListener;\n documentEscapeListener;\n scrollHandler;\n resizeListener;\n _componentStyle = inject(TooltipStyle);\n interactionInProgress = false;\n constructor(zone, viewContainer) {\n super();\n this.zone = zone;\n this.viewContainer = viewContainer;\n }\n ngAfterViewInit() {\n super.ngAfterViewInit();\n if (isPlatformBrowser(this.platformId)) {\n this.zone.runOutsideAngular(() => {\n const tooltipEvent = this.getOption('tooltipEvent');\n if (tooltipEvent === 'hover' || tooltipEvent === 'both') {\n this.mouseEnterListener = this.onMouseEnter.bind(this);\n this.mouseLeaveListener = this.onMouseLeave.bind(this);\n this.clickListener = this.onInputClick.bind(this);\n this.el.nativeElement.addEventListener('mouseenter', this.mouseEnterListener);\n this.el.nativeElement.addEventListener('click', this.clickListener);\n this.el.nativeElement.addEventListener('mouseleave', this.mouseLeaveListener);\n }\n if (tooltipEvent === 'focus' || tooltipEvent === 'both') {\n this.focusListener = this.onFocus.bind(this);\n this.blurListener = this.onBlur.bind(this);\n let target = this.el.nativeElement.querySelector('.p-component');\n if (!target) {\n target = this.getTarget(this.el.nativeElement);\n }\n target.addEventListener('focus', this.focusListener);\n target.addEventListener('blur', this.blurListener);\n }\n });\n }\n }\n ngOnChanges(simpleChange) {\n super.ngOnChanges(simpleChange);\n if (simpleChange.tooltipPosition) {\n this.setOption({\n tooltipPosition: simpleChange.tooltipPosition.currentValue\n });\n }\n if (simpleChange.tooltipEvent) {\n this.setOption({\n tooltipEvent: simpleChange.tooltipEvent.currentValue\n });\n }\n if (simpleChange.appendTo) {\n this.setOption({\n appendTo: simpleChange.appendTo.currentValue\n });\n }\n if (simpleChange.positionStyle) {\n this.setOption({\n positionStyle: simpleChange.positionStyle.currentValue\n });\n }\n if (simpleChange.tooltipStyleClass) {\n this.setOption({\n tooltipStyleClass: simpleChange.tooltipStyleClass.currentValue\n });\n }\n if (simpleChange.tooltipZIndex) {\n this.setOption({\n tooltipZIndex: simpleChange.tooltipZIndex.currentValue\n });\n }\n if (simpleChange.escape) {\n this.setOption({\n escape: simpleChange.escape.currentValue\n });\n }\n if (simpleChange.showDelay) {\n this.setOption({\n showDelay: simpleChange.showDelay.currentValue\n });\n }\n if (simpleChange.hideDelay) {\n this.setOption({\n hideDelay: simpleChange.hideDelay.currentValue\n });\n }\n if (simpleChange.life) {\n this.setOption({\n life: simpleChange.life.currentValue\n });\n }\n if (simpleChange.positionTop) {\n this.setOption({\n positionTop: simpleChange.positionTop.currentValue\n });\n }\n if (simpleChange.positionLeft) {\n this.setOption({\n positionLeft: simpleChange.positionLeft.currentValue\n });\n }\n if (simpleChange.disabled) {\n this.setOption({\n disabled: simpleChange.disabled.currentValue\n });\n }\n if (simpleChange.content) {\n this.setOption({\n tooltipLabel: simpleChange.content.currentValue\n });\n if (this.active) {\n if (simpleChange.content.currentValue) {\n if (this.container && this.container.offsetParent) {\n this.updateText();\n this.align();\n } else {\n this.show();\n }\n } else {\n this.hide();\n }\n }\n }\n if (simpleChange.autoHide) {\n this.setOption({\n autoHide: simpleChange.autoHide.currentValue\n });\n }\n if (simpleChange.id) {\n this.setOption({\n id: simpleChange.id.currentValue\n });\n }\n if (simpleChange.tooltipOptions) {\n this._tooltipOptions = {\n ...this._tooltipOptions,\n ...simpleChange.tooltipOptions.currentValue\n };\n this.deactivate();\n if (this.active) {\n if (this.getOption('tooltipLabel')) {\n if (this.container && this.container.offsetParent) {\n this.updateText();\n this.align();\n } else {\n this.show();\n }\n } else {\n this.hide();\n }\n }\n }\n }\n isAutoHide() {\n return this.getOption('autoHide');\n }\n onMouseEnter(e) {\n if (!this.container && !this.showTimeout) {\n this.activate();\n }\n }\n onMouseLeave(e) {\n if (!this.isAutoHide()) {\n const valid = hasClass(e.relatedTarget, 'p-tooltip') || hasClass(e.relatedTarget, 'p-tooltip-text') || hasClass(e.relatedTarget, 'p-tooltip-arrow');\n !valid && this.deactivate();\n } else {\n this.deactivate();\n }\n }\n onFocus(e) {\n this.activate();\n }\n onBlur(e) {\n this.deactivate();\n }\n onInputClick(e) {\n this.deactivate();\n }\n activate() {\n if (!this.interactionInProgress) {\n this.active = true;\n this.clearHideTimeout();\n if (this.getOption('showDelay')) this.showTimeout = setTimeout(() => {\n this.show();\n }, this.getOption('showDelay'));else this.show();\n if (this.getOption('life')) {\n let duration = this.getOption('showDelay') ? this.getOption('life') + this.getOption('showDelay') : this.getOption('life');\n this.hideTimeout = setTimeout(() => {\n this.hide();\n }, duration);\n }\n if (this.getOption('hideOnEscape')) {\n this.documentEscapeListener = this.renderer.listen('document', 'keydown.escape', () => {\n this.deactivate();\n this.documentEscapeListener();\n });\n }\n this.interactionInProgress = true;\n }\n }\n deactivate() {\n this.interactionInProgress = false;\n this.active = false;\n this.clearShowTimeout();\n if (this.getOption('hideDelay')) {\n this.clearHideTimeout(); //life timeout\n this.hideTimeout = setTimeout(() => {\n this.hide();\n }, this.getOption('hideDelay'));\n } else {\n this.hide();\n }\n if (this.documentEscapeListener) {\n this.documentEscapeListener();\n }\n }\n create() {\n if (this.container) {\n this.clearHideTimeout();\n this.remove();\n }\n this.container = document.createElement('div');\n this.container.setAttribute('id', this.getOption('id'));\n this.container.setAttribute('role', 'tooltip');\n let tooltipArrow = document.createElement('div');\n tooltipArrow.className = 'p-tooltip-arrow';\n this.container.appendChild(tooltipArrow);\n this.tooltipText = document.createElement('div');\n this.tooltipText.className = 'p-tooltip-text';\n this.updateText();\n if (this.getOption('positionStyle')) {\n this.container.style.position = this.getOption('positionStyle');\n }\n this.container.appendChild(this.tooltipText);\n if (this.getOption('appendTo') === 'body') document.body.appendChild(this.container);else if (this.getOption('appendTo') === 'target') appendChild(this.container, this.el.nativeElement);else appendChild(this.getOption('appendTo'), this.container);\n this.container.style.display = 'none';\n if (this.fitContent) {\n this.container.style.width = 'fit-content';\n }\n if (this.isAutoHide()) {\n this.container.style.pointerEvents = 'none';\n } else {\n this.container.style.pointerEvents = 'unset';\n this.bindContainerMouseleaveListener();\n }\n }\n bindContainerMouseleaveListener() {\n if (!this.containerMouseleaveListener) {\n const targetEl = this.container ?? this.container.nativeElement;\n this.containerMouseleaveListener = this.renderer.listen(targetEl, 'mouseleave', e => {\n this.deactivate();\n });\n }\n }\n unbindContainerMouseleaveListener() {\n if (this.containerMouseleaveListener) {\n this.bindContainerMouseleaveListener();\n this.containerMouseleaveListener = null;\n }\n }\n show() {\n if (!this.getOption('tooltipLabel') || this.getOption('disabled')) {\n return;\n }\n this.create();\n const nativeElement = this.el.nativeElement;\n const pDialogWrapper = nativeElement.closest('p-dialog');\n if (pDialogWrapper) {\n setTimeout(() => {\n this.container && (this.container.style.display = 'inline-block');\n this.container && this.align();\n }, 100);\n } else {\n this.container.style.display = 'inline-block';\n this.align();\n }\n fadeIn(this.container, 250);\n if (this.getOption('tooltipZIndex') === 'auto') ZIndexUtils.set('tooltip', this.container, this.config.zIndex.tooltip);else this.container.style.zIndex = this.getOption('tooltipZIndex');\n this.bindDocumentResizeListener();\n this.bindScrollListener();\n }\n hide() {\n if (this.getOption('tooltipZIndex') === 'auto') {\n ZIndexUtils.clear(this.container);\n }\n this.remove();\n }\n updateText() {\n const content = this.getOption('tooltipLabel');\n if (content instanceof TemplateRef) {\n const embeddedViewRef = this.viewContainer.createEmbeddedView(content);\n embeddedViewRef.detectChanges();\n embeddedViewRef.rootNodes.forEach(node => this.tooltipText.appendChild(node));\n } else if (this.getOption('escape')) {\n this.tooltipText.innerHTML = '';\n this.tooltipText.appendChild(document.createTextNode(content));\n } else {\n this.tooltipText.innerHTML = content;\n }\n }\n align() {\n let position = this.getOption('tooltipPosition');\n const positionPriority = {\n top: [this.alignTop, this.alignBottom, this.alignRight, this.alignLeft],\n bottom: [this.alignBottom, this.alignTop, this.alignRight, this.alignLeft],\n left: [this.alignLeft, this.alignRight, this.alignTop, this.alignBottom],\n right: [this.alignRight, this.alignLeft, this.alignTop, this.alignBottom]\n };\n for (let [index, alignmentFn] of positionPriority[position].entries()) {\n if (index === 0) alignmentFn.call(this);else if (this.isOutOfBounds()) alignmentFn.call(this);else break;\n }\n }\n getHostOffset() {\n if (this.getOption('appendTo') === 'body' || this.getOption('appendTo') === 'target') {\n let offset = this.el.nativeElement.getBoundingClientRect();\n let targetLeft = offset.left + getWindowScrollLeft();\n let targetTop = offset.top + getWindowScrollTop();\n return {\n left: targetLeft,\n top: targetTop\n };\n } else {\n return {\n left: 0,\n top: 0\n };\n }\n }\n get activeElement() {\n return this.el.nativeElement.nodeName.includes('P-') ? findSingle(this.el.nativeElement, '.p-component') : this.el.nativeElement;\n }\n alignRight() {\n this.preAlign('right');\n const el = this.activeElement;\n const offsetLeft = getOuterWidth(el);\n const offsetTop = (getOuterHeight(el) - getOuterHeight(this.container)) / 2;\n this.alignTooltip(offsetLeft, offsetTop);\n }\n alignLeft() {\n this.preAlign('left');\n let offsetLeft = getOuterWidth(this.container);\n let offsetTop = (getOuterHeight(this.el.nativeElement) - getOuterHeight(this.container)) / 2;\n this.alignTooltip(-offsetLeft, offsetTop);\n }\n alignTop() {\n this.preAlign('top');\n let offsetLeft = (getOuterWidth(this.el.nativeElement) - getOuterWidth(this.container)) / 2;\n let offsetTop = getOuterHeight(this.container);\n this.alignTooltip(offsetLeft, -offsetTop);\n }\n alignBottom() {\n this.preAlign('bottom');\n let offsetLeft = (getOuterWidth(this.el.nativeElement) - getOuterWidth(this.container)) / 2;\n let offsetTop = getOuterHeight(this.el.nativeElement);\n this.alignTooltip(offsetLeft, offsetTop);\n }\n alignTooltip(offsetLeft, offsetTop) {\n let hostOffset = this.getHostOffset();\n let left = hostOffset.left + offsetLeft;\n let top = hostOffset.top + offsetTop;\n this.container.style.left = left + this.getOption('positionLeft') + 'px';\n this.container.style.top = top + this.getOption('positionTop') + 'px';\n }\n setOption(option) {\n this._tooltipOptions = {\n ...this._tooltipOptions,\n ...option\n };\n }\n getOption(option) {\n return this._tooltipOptions[option];\n }\n getTarget(el) {\n return hasClass(el, 'p-inputwrapper') ? findSingle(el, 'input') : el;\n }\n preAlign(position) {\n this.container.style.left = -999 + 'px';\n this.container.style.top = -999 + 'px';\n let defaultClassName = 'p-tooltip p-component p-tooltip-' + position;\n this.container.className = this.getOption('tooltipStyleClass') ? defaultClassName + ' ' + this.getOption('tooltipStyleClass') : defaultClassName;\n }\n isOutOfBounds() {\n let offset = this.container.getBoundingClientRect();\n let targetTop = offset.top;\n let targetLeft = offset.left;\n let width = getOuterWidth(this.container);\n let height = getOuterHeight(this.container);\n let viewport = getViewport();\n return targetLeft + width > viewport.width || targetLeft < 0 || targetTop < 0 || targetTop + height > viewport.height;\n }\n onWindowResize(e) {\n this.hide();\n }\n bindDocumentResizeListener() {\n this.zone.runOutsideAngular(() => {\n this.resizeListener = this.onWindowResize.bind(this);\n window.addEventListener('resize', this.resizeListener);\n });\n }\n unbindDocumentResizeListener() {\n if (this.resizeListener) {\n window.removeEventListener('resize', this.resizeListener);\n this.resizeListener = null;\n }\n }\n bindScrollListener() {\n if (!this.scrollHandler) {\n this.scrollHandler = new ConnectedOverlayScrollHandler(this.el.nativeElement, () => {\n if (this.container) {\n this.hide();\n }\n });\n }\n this.scrollHandler.bindScrollListener();\n }\n unbindScrollListener() {\n if (this.scrollHandler) {\n this.scrollHandler.unbindScrollListener();\n }\n }\n unbindEvents() {\n const tooltipEvent = this.getOption('tooltipEvent');\n if (tooltipEvent === 'hover' || tooltipEvent === 'both') {\n this.el.nativeElement.removeEventListener('mouseenter', this.mouseEnterListener);\n this.el.nativeElement.removeEventListener('mouseleave', this.mouseLeaveListener);\n this.el.nativeElement.removeEventListener('click', this.clickListener);\n }\n if (tooltipEvent === 'focus' || tooltipEvent === 'both') {\n let target = this.el.nativeElement.querySelector('.p-component');\n if (!target) {\n target = this.getTarget(this.el.nativeElement);\n }\n target.removeEventListener('focus', this.focusListener);\n target.removeEventListener('blur', this.blurListener);\n }\n this.unbindDocumentResizeListener();\n }\n remove() {\n if (this.container && this.container.parentElement) {\n if (this.getOption('appendTo') === 'body') document.body.removeChild(this.container);else if (this.getOption('appendTo') === 'target') this.el.nativeElement.removeChild(this.container);else removeChild(this.getOption('appendTo'), this.container);\n }\n this.unbindDocumentResizeListener();\n this.unbindScrollListener();\n this.unbindContainerMouseleaveListener();\n this.clearTimeouts();\n this.container = null;\n this.scrollHandler = null;\n }\n clearShowTimeout() {\n if (this.showTimeout) {\n clearTimeout(this.showTimeout);\n this.showTimeout = null;\n }\n }\n clearHideTimeout() {\n if (this.hideTimeout) {\n clearTimeout(this.hideTimeout);\n this.hideTimeout = null;\n }\n }\n clearTimeouts() {\n this.clearShowTimeout();\n this.clearHideTimeout();\n }\n ngOnDestroy() {\n this.unbindEvents();\n super.ngOnDestroy();\n if (this.container) {\n ZIndexUtils.clear(this.container);\n }\n this.remove();\n if (this.scrollHandler) {\n this.scrollHandler.destroy();\n this.scrollHandler = null;\n }\n if (this.documentEscapeListener) {\n this.documentEscapeListener();\n }\n }\n static ɵfac = function Tooltip_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || Tooltip)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i0.ViewContainerRef));\n };\n static ɵdir = /* @__PURE__ */i0.ɵɵdefineDirective({\n type: Tooltip,\n selectors: [[\"\", \"pTooltip\", \"\"]],\n inputs: {\n tooltipPosition: \"tooltipPosition\",\n tooltipEvent: \"tooltipEvent\",\n appendTo: \"appendTo\",\n positionStyle: \"positionStyle\",\n tooltipStyleClass: \"tooltipStyleClass\",\n tooltipZIndex: \"tooltipZIndex\",\n escape: [2, \"escape\", \"escape\", booleanAttribute],\n showDelay: [2, \"showDelay\", \"showDelay\", numberAttribute],\n hideDelay: [2, \"hideDelay\", \"hideDelay\", numberAttribute],\n life: [2, \"life\", \"life\", numberAttribute],\n positionTop: [2, \"positionTop\", \"positionTop\", numberAttribute],\n positionLeft: [2, \"positionLeft\", \"positionLeft\", numberAttribute],\n autoHide: [2, \"autoHide\", \"autoHide\", booleanAttribute],\n fitContent: [2, \"fitContent\", \"fitContent\", booleanAttribute],\n hideOnEscape: [2, \"hideOnEscape\", \"hideOnEscape\", booleanAttribute],\n content: [0, \"pTooltip\", \"content\"],\n disabled: [0, \"tooltipDisabled\", \"disabled\"],\n tooltipOptions: \"tooltipOptions\"\n },\n features: [i0.ɵɵProvidersFeature([TooltipStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature]\n });\n }\n return Tooltip;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet TooltipModule = /*#__PURE__*/(() => {\n class TooltipModule {\n static ɵfac = function TooltipModule_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || TooltipModule)();\n };\n static ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: TooltipModule\n });\n static ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({});\n }\n return TooltipModule;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { Tooltip, TooltipClasses, TooltipModule, TooltipStyle };\n"],"mappings":"qVAAA,IAAMA,EAAN,MAAMC,CAAY,CAChB,OAAO,QAAQC,EAAOC,EAAQ,GAAM,CAClC,OAAO,MAAM,QAAQD,CAAK,IAAMC,GAASD,EAAM,SAAW,EAC5D,CACA,OAAO,SAASA,EAAOC,EAAQ,GAAM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BAClB,EACA,SAAU,CAAIE,EAAmB,CAACrD,CAAY,CAAC,EAAMsD,EAA6BC,EAA+BC,CAAoB,CACvI,CAAC,CACH,CACA,OAAO7D,CACT,GAAG,EAIC8D,IAA8B,IAAM,CACtC,MAAMA,CAAc,CAClB,OAAO,UAAO,SAA+BX,EAAmB,CAC9D,OAAO,IAAKA,GAAqBW,EACnC,EACA,OAAO,UAAyBC,EAAiB,CAC/C,KAAMD,CACR,CAAC,EACD,OAAO,UAAyBE,EAAiB,CAAC,CAAC,CACrD,CACA,OAAOF,CACT,GAAG","names":["ObjectUtils","_ObjectUtils","value","empty","obj1","obj2","field","arrA","arrB","i","length","key","dateA","dateB","regexpA","regexpB","keys","data","fields","len","obj","from","to","target","item","index","arr","sourceArr","injected","list","val","str","input","value1","value2","locale","order","result","emptyValue1","emptyValue2","nullSortOrder","finalSortOrder","__spreadValues","char","params","callback","a","b","css","ZIndexUtils","zIndexes","generateZIndex","key","baseZIndex","lastZIndex","newZIndex","revertZIndex","zIndex","obj","getCurrentZIndex","getZIndex","el","zindexutils","theme","dt","classes","TooltipStyle","BaseStyle","ɵTooltipStyle_BaseFactory","__ngFactoryType__","ɵɵgetInheritedFactory","ɵɵdefineInjectable","Tooltip","BaseComponent","val","uuid","inject","TooltipStyle","zone","viewContainer","isPlatformBrowser","tooltipEvent","target","simpleChange","__spreadValues","e","hasClass","duration","tooltipArrow","appendChild","targetEl","fadeIn","zindexutils","content","TemplateRef","embeddedViewRef","node","position","positionPriority","index","alignmentFn","offset","targetLeft","getWindowScrollLeft","targetTop","getWindowScrollTop","findSingle","el","offsetLeft","getOuterWidth","offsetTop","getOuterHeight","hostOffset","left","top","option","defaultClassName","width","height","viewport","getViewport","ConnectedOverlayScrollHandler","removeChild","__ngFactoryType__","ɵɵdirectiveInject","NgZone","ViewContainerRef","ɵɵdefineDirective","booleanAttribute","numberAttribute","ɵɵProvidersFeature","ɵɵInputTransformsFeature","ɵɵInheritDefinitionFeature","ɵɵNgOnChangesFeature","TooltipModule","ɵɵdefineNgModule","ɵɵdefineInjector"],"x_google_ignoreList":[0,1]}