@beeq/core 1.13.0 → 1.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. package/dist/beeq/beeq.esm.js +1 -1
  2. package/dist/beeq/index.esm.js +1 -1
  3. package/dist/beeq/index.esm.js.map +1 -1
  4. package/dist/beeq/p-923da026.entry.js +6 -0
  5. package/dist/beeq/p-923da026.entry.js.map +1 -0
  6. package/dist/beeq/p-DXYHHeJY.js +6 -0
  7. package/dist/beeq/p-DXYHHeJY.js.map +1 -0
  8. package/dist/beeq/{p-2fd6ea70.entry.js → p-d4fa3abb.entry.js} +2 -2
  9. package/dist/beeq/p-d4fa3abb.entry.js.map +1 -0
  10. package/dist/beeq/p-seEHHqwi.js +6 -0
  11. package/dist/beeq/p-seEHHqwi.js.map +1 -0
  12. package/dist/beeq/svg/.icons-meta.json +1 -1
  13. package/dist/beeq.html-custom-data.json +74 -74
  14. package/dist/cjs/beeq.cjs.js +1 -1
  15. package/dist/cjs/bq-dropdown_2.cjs.entry.js +12 -6
  16. package/dist/cjs/bq-dropdown_2.cjs.entry.js.map +1 -1
  17. package/dist/cjs/bq-tooltip.cjs.entry.js +76 -14
  18. package/dist/cjs/bq-tooltip.cjs.entry.js.map +1 -1
  19. package/dist/cjs/{index-CfLTYjba.js → index-CVDzXB4K.js} +213 -189
  20. package/dist/cjs/index-CVDzXB4K.js.map +1 -0
  21. package/dist/cjs/index.cjs.js +2 -0
  22. package/dist/cjs/index.cjs.js.map +1 -1
  23. package/dist/cjs/isPopoverSupported-CfD5YIXR.js +18 -0
  24. package/dist/cjs/isPopoverSupported-CfD5YIXR.js.map +1 -0
  25. package/dist/cjs/loader.cjs.js +1 -1
  26. package/dist/collection/components/empty-state/scss/bq-empty-state.css +1 -1
  27. package/dist/collection/components/icon/svg/.icons-meta.json +1 -1
  28. package/dist/collection/components/panel/bq-panel.js +11 -5
  29. package/dist/collection/components/panel/bq-panel.js.map +1 -1
  30. package/dist/collection/components/progress/scss/bq-progress.css +1 -1
  31. package/dist/collection/components/side-menu-item/scss/bq-side-menu-item.css +1 -1
  32. package/dist/collection/components/slider/scss/bq-slider.css +1 -1
  33. package/dist/collection/components/tooltip/bq-tooltip.js +74 -13
  34. package/dist/collection/components/tooltip/bq-tooltip.js.map +1 -1
  35. package/dist/collection/components/tooltip/scss/bq-tooltip.css +1 -1
  36. package/dist/collection/services/interfaces/floating-ui.js.map +1 -1
  37. package/dist/collection/services/libraries/floating-ui/index.js +93 -64
  38. package/dist/collection/services/libraries/floating-ui/index.js.map +1 -1
  39. package/dist/collection/shared/test-utils/setProperties.js +1 -1
  40. package/dist/collection/shared/test-utils/setProperties.js.map +1 -1
  41. package/dist/collection/shared/utils/index.js +1 -0
  42. package/dist/collection/shared/utils/index.js.map +1 -1
  43. package/dist/collection/shared/utils/isPopoverSupported.js +12 -0
  44. package/dist/collection/shared/utils/isPopoverSupported.js.map +1 -0
  45. package/dist/components/bq-date-picker.js +1 -1
  46. package/dist/components/bq-dropdown.js +1 -1
  47. package/dist/components/bq-empty-state.js +1 -1
  48. package/dist/components/bq-empty-state.js.map +1 -1
  49. package/dist/components/bq-panel.js +1 -1
  50. package/dist/components/bq-progress.js +1 -1
  51. package/dist/components/bq-progress.js.map +1 -1
  52. package/dist/components/bq-select.js +1 -1
  53. package/dist/components/bq-side-menu-item.js +1 -1
  54. package/dist/components/bq-side-menu-item.js.map +1 -1
  55. package/dist/components/bq-slider.js +1 -1
  56. package/dist/components/bq-slider.js.map +1 -1
  57. package/dist/components/bq-tooltip.js +1 -1
  58. package/dist/components/index.js +1 -1
  59. package/dist/components/index.js.map +1 -1
  60. package/dist/components/p-B4jdbg-4.js +6 -0
  61. package/dist/components/p-B4jdbg-4.js.map +1 -0
  62. package/dist/components/p-DXYHHeJY.js +6 -0
  63. package/dist/components/p-DXYHHeJY.js.map +1 -0
  64. package/dist/components/{p-BS8hIETL.js → p-_I8PqzzU.js} +2 -2
  65. package/dist/components/{p-iyX-PhkX.js → p-c6L-z8md.js} +2 -2
  66. package/dist/components/p-c6L-z8md.js.map +1 -0
  67. package/dist/custom-elements.json +776 -736
  68. package/dist/esm/beeq.js +1 -1
  69. package/dist/esm/bq-dropdown_2.entry.js +12 -6
  70. package/dist/esm/bq-dropdown_2.entry.js.map +1 -1
  71. package/dist/esm/bq-tooltip.entry.js +76 -14
  72. package/dist/esm/bq-tooltip.entry.js.map +1 -1
  73. package/dist/esm/{index-CSAZnAFf.js → index-DXYHHeJY.js} +213 -189
  74. package/dist/esm/index-DXYHHeJY.js.map +1 -0
  75. package/dist/esm/index.js +1 -0
  76. package/dist/esm/index.js.map +1 -1
  77. package/dist/esm/isPopoverSupported-seEHHqwi.js +16 -0
  78. package/dist/esm/isPopoverSupported-seEHHqwi.js.map +1 -0
  79. package/dist/esm/loader.js +1 -1
  80. package/dist/hydrate/index.js +304 -205
  81. package/dist/hydrate/index.mjs +304 -205
  82. package/dist/types/components/panel/bq-panel.d.ts +1 -0
  83. package/dist/types/components/tooltip/bq-tooltip.d.ts +14 -0
  84. package/dist/types/services/interfaces/floating-ui.d.ts +1 -1
  85. package/dist/types/services/libraries/floating-ui/index.d.ts +37 -14
  86. package/dist/types/shared/test-utils/setProperties.d.ts +1 -1
  87. package/dist/types/shared/utils/index.d.ts +1 -0
  88. package/dist/types/shared/utils/isPopoverSupported.d.ts +2 -0
  89. package/package.json +3 -3
  90. package/dist/beeq/p-2fd6ea70.entry.js.map +0 -1
  91. package/dist/beeq/p-CSAZnAFf.js +0 -6
  92. package/dist/beeq/p-CSAZnAFf.js.map +0 -1
  93. package/dist/beeq/p-a55354ee.entry.js +0 -6
  94. package/dist/beeq/p-a55354ee.entry.js.map +0 -1
  95. package/dist/cjs/index-CfLTYjba.js.map +0 -1
  96. package/dist/components/p-CSAZnAFf.js +0 -6
  97. package/dist/components/p-CSAZnAFf.js.map +0 -1
  98. package/dist/components/p-Dd3v3b2E.js +0 -6
  99. package/dist/components/p-Dd3v3b2E.js.map +0 -1
  100. package/dist/components/p-iyX-PhkX.js.map +0 -1
  101. package/dist/esm/index-CSAZnAFf.js.map +0 -1
  102. /package/dist/components/{p-BS8hIETL.js.map → p-_I8PqzzU.js.map} +0 -0
@@ -2,5 +2,5 @@
2
2
  * Built by Endavans
3
3
  * © https://beeq.design - Apache 2 License.
4
4
  */
5
- import{p as e,H as a,g as o,b as n}from"./p-BSSRzVAz.js";export{s as setNonce}from"./p-BSSRzVAz.js";var l=()=>{{i(a.prototype)}const o=import.meta.url;const n={};if(o!==""){n.resourcesUrl=new URL(".",o).href}return e(n)};var i=e=>{const a=e.cloneNode;e.cloneNode=function(e){if(this.nodeName==="TEMPLATE"){return a.call(this,e)}const o=a.call(this,false);const n=this.childNodes;if(e){for(let e=0;e<n.length;e++){if(n[e].nodeType!==2){o.appendChild(n[e].cloneNode(true))}}}return o}};l().then((async e=>{await o();return n(JSON.parse('[["p-a0a8ea5b",[[849,"bq-select",{"autofocus":[516],"clearButtonLabel":[513,"clear-button-label"],"debounceTime":[1538,"debounce-time"],"disableScrollLock":[516,"disable-scroll-lock"],"disabled":[1028],"disableClear":[516,"disable-clear"],"distance":[514],"form":[513],"formValidationMessage":[1025,"form-validation-message"],"keepOpenOnSelect":[516,"keep-open-on-select"],"name":[513],"maxTagsVisible":[1026,"max-tags-visible"],"multiple":[516],"open":[1540],"panelHeight":[513,"panel-height"],"placeholder":[513],"placement":[513],"readonly":[516],"required":[516],"sameWidth":[516,"same-width"],"skidding":[514],"strategy":[513],"validationStatus":[513,"validation-status"],"value":[1537],"displayValue":[32],"hasHelperText":[32],"selectedOptions":[32],"hasLabel":[32],"hasPrefix":[32],"hasSuffix":[32],"hasValue":[32],"clear":[64],"reset":[64]},[[2,"bqOpen","handleOpenChange"],[2,"bqFocus","stopOptionFocusBlurPropagation"],[2,"bqBlur","stopOptionFocusBlurPropagation"],[11,"scroll","handleScrollEvent"]],{"value":[{"handleValueChange":0}],"required":[{"handleRequiredPropChange":0}]}]]],["p-21db4f39",[[849,"bq-date-picker",{"autofocus":[516],"clearButtonLabel":[513,"clear-button-label"],"calendarButtonLabel":[513,"calendar-button-label"],"disableClear":[516,"disable-clear"],"disabled":[1540],"distance":[514],"firstDayOfWeek":[514,"first-day-of-week"],"formatOptions":[16],"form":[513],"formValidationMessage":[1025,"form-validation-message"],"initialView":[513,"initial-view"],"isDateDisallowed":[16],"locale":[513],"max":[513],"min":[513],"months":[1538],"monthsPerView":[513,"months-per-view"],"name":[513],"open":[1540],"panelHeight":[1537,"panel-height"],"placeholder":[513],"placement":[513],"precision":[513],"required":[516],"skidding":[514],"showOutsideDays":[516,"show-outside-days"],"strategy":[513],"type":[513],"validationStatus":[513,"validation-status"],"value":[1537],"decadeStart":[32],"displayDate":[32],"focusedISO":[32],"focusedMonth":[32],"focusedYear":[32],"hasConstraintError":[32],"hasLabel":[32],"hasPrefix":[32],"hasValue":[32],"tentativeHover":[32],"view":[32],"viewDate":[32],"clear":[64]},[[2,"bqOpen","handleOpenChange"]],{"value":[{"handleValueChange":0}],"formatOptions":[{"handleFormattingChange":0}],"locale":[{"handleFormattingChange":0}],"type":[{"handleTypeChange":0},{"checkPropValues":0}],"precision":[{"handlePrecisionChange":0},{"checkPropValues":0}],"max":[{"handleBoundsChange":0}],"min":[{"handleBoundsChange":0}],"required":[{"handleRequiredChange":0}],"firstDayOfWeek":[{"checkPropValues":0}],"initialView":[{"checkPropValues":0}],"monthsPerView":[{"checkPropValues":0}],"placement":[{"checkPropValues":0}],"strategy":[{"checkPropValues":0}],"validationStatus":[{"checkPropValues":0}],"months":[{"handleMonthsChange":0}],"open":[{"handleOpen":0}],"view":[{"handleViewChange":0}]}]]],["p-8be7ceb5",[[769,"bq-drawer",{"enableBackdrop":[516,"enable-backdrop"],"closeOnClickOutside":[516,"close-on-click-outside"],"closeOnEsc":[516,"close-on-esc"],"open":[1540],"placement":[1537],"position":[1537],"hasFooter":[32],"hasIcon":[32],"hide":[64],"show":[64]},[[11,"mousedown","handleMouseClick"],[10,"keydown","handleKeyDown"]],{"open":[{"handleOpenChange":0}],"placement":[{"handlePlacementChange":0}],"position":[{"handlePositionChange":0}]}]]],["p-f688d230",[[769,"bq-alert",{"autoDismiss":[516,"auto-dismiss"],"border":[513],"disableClose":[516,"disable-close"],"hideIcon":[516,"hide-icon"],"open":[1540],"time":[514],"type":[513],"sticky":[516],"hasContent":[32],"hasFooter":[32],"hide":[64],"show":[64]},null,{"autoDismiss":[{"handleTimeout":0}],"time":[{"handleTimeout":0}],"open":[{"handleOpenChange":0}],"type":[{"checkPropValues":0}]}]]],["p-58813f83",[[769,"bq-dialog",{"border":[513],"disableBackdrop":[516,"disable-backdrop"],"disableCloseEscKeydown":[516,"disable-close-esc-keydown"],"disableCloseClickOutside":[516,"disable-close-click-outside"],"footerAppearance":[513,"footer-appearance"],"hideCloseButton":[516,"hide-close-button"],"open":[1540],"size":[1537],"hasContent":[32],"hasFooter":[32],"show":[64],"hide":[64],"cancel":[64]},[[11,"mousedown","handleMouseClick"],[10,"keydown","handleKeyDown"]],{"footerAppearance":[{"checkPropValues":0}],"size":[{"checkPropValues":0}],"open":[{"handleOpenChange":0}]}]]],["p-96f72671",[[849,"bq-input",{"autocapitalize":[513],"autocomplete":[513],"autofocus":[516],"clearButtonLabel":[513,"clear-button-label"],"debounceTime":[1538,"debounce-time"],"disabled":[1028],"disableClear":[516,"disable-clear"],"form":[513],"formValidationMessage":[1025,"form-validation-message"],"inputmode":[1],"max":[520],"maxlength":[514],"min":[520],"minlength":[514],"name":[513],"pattern":[513],"placeholder":[513],"readonly":[516],"required":[516],"step":[520],"type":[513],"validationStatus":[513,"validation-status"],"value":[1544],"hasHelperText":[32],"hasLabel":[32],"hasPrefix":[32],"hasSuffix":[32],"hasValue":[32]},null,{"value":[{"handleValueChange":0}],"required":[{"handleRequiredPropChange":0}]}]]],["p-6be3f23a",[[769,"bq-notification",{"autoDismiss":[516,"auto-dismiss"],"border":[513],"disableClose":[516,"disable-close"],"hideIcon":[516,"hide-icon"],"open":[1540],"time":[514],"type":[513],"hasContent":[32],"hasFooter":[32],"notificationPortal":[32],"hide":[64],"show":[64],"toast":[64]},[[0,"bqAfterClose","afterNotificationClose"]],{"autoDismiss":[{"handleTimeout":0}],"time":[{"handleTimeout":0}],"open":[{"handleOpenChange":0}],"type":[{"checkPropValues":0}]}]]],["p-fa123a10",[[769,"bq-accordion",{"appearance":[1537],"disabled":[516],"expanded":[1540],"noAnimation":[516,"no-animation"],"rotate":[516],"size":[1537],"hasPrefix":[32],"hasSuffix":[32]},[[0,"accordionTransitionEnd","onAccordionTransitionEnd"]],{"size":[{"checkPropValues":0}],"expanded":[{"handleExpandedChange":0}],"disabled":[{"handleDisabledChange":0}],"noAnimation":[{"handleJsAnimation":0}]}]]],["p-2a081a54",[[769,"bq-empty-state",{"size":[1537],"hasBody":[32],"hasFooter":[32]},null,{"size":[{"checkPropValues":0}]}]]],["p-56b49d4e",[[513,"bq-progress",{"borderShape":[513,"border-shape"],"enableTooltip":[516,"enable-tooltip"],"indeterminate":[516],"label":[516],"thickness":[513],"type":[513],"value":[1538]},null,{"borderShape":[{"handleTypePropChange":0}],"thickness":[{"handleTypePropChange":0}],"type":[{"handleTypePropChange":0}],"value":[{"handleValuePropChange":0}]}]]],["p-d6c35472",[[769,"bq-side-menu-item",{"active":[4],"collapse":[4],"disabled":[4],"textContent":[32]}]]],["p-24bb2588",[[593,"bq-slider",{"debounceTime":[514,"debounce-time"],"disabled":[516],"enableValueIndicator":[516,"enable-value-indicator"],"gap":[1538],"max":[514],"min":[514],"name":[513],"step":[514],"type":[513],"value":[1544],"enableTooltip":[516,"enable-tooltip"],"tooltipAlwaysVisible":[516,"tooltip-always-visible"],"minValue":[32],"maxValue":[32],"minThumbPosition":[32],"maxThumbPosition":[32]},null,{"value":[{"handleValuePropChange":0}],"step":[{"handleStepPropChange":0}],"gap":[{"handleGapChange":0}]}]]],["p-0d078519",[[769,"bq-status",{"type":[513]},null,{"type":[{"checkPropValues":0}]}]]],["p-7ebe6b9d",[[785,"bq-step-item",{"dividerColor":[513,"divider-color"],"isLast":[516,"is-last"],"orientation":[513],"size":[513],"status":[1537],"type":[513]},null,{"size":[{"checkPropValues":0}],"status":[{"checkPropValues":0}]}]]],["p-30d1bd84",[[849,"bq-switch",{"backgroundOnHover":[516,"background-on-hover"],"checked":[1540],"disabled":[516],"formValidationMessage":[1025,"form-validation-message"],"fullWidth":[516,"full-width"],"innerLabel":[513,"inner-label"],"justifyContent":[513,"justify-content"],"name":[513],"required":[516],"reverseOrder":[516,"reverse-order"],"value":[513],"hasLabel":[32],"vClick":[64],"vFocus":[64],"vBlur":[64]},null,{"required":[{"handleRequiredChange":0}]}]]],["p-817f7a5e",[[769,"bq-toast",{"border":[513],"type":[1537],"placement":[1537],"hideIcon":[1540,"hide-icon"],"open":[1540],"time":[514],"toastPortal":[32],"show":[64],"hide":[64],"toast":[64]},[[0,"bqHide","onNotificationHide"]],{"type":[{"checkPropValues":0}],"placement":[{"checkPropValues":0}],"time":[{"handleTimeChange":0}],"open":[{"handleOpenChange":0}]}]]],["p-bb99b400",[[769,"bq-accordion-group",{"appearance":[1537],"expandAll":[516,"expand-all"],"noAnimation":[516,"no-animation"],"multiple":[516],"size":[1537]},[[1,"bqClick","onBqClick"]],{"appearance":[{"checkPropValues":0}],"expandAll":[{"checkPropValues":0}],"noAnimation":[{"checkPropValues":0}],"size":[{"checkPropValues":0}]}]]],["p-cf2e4d57",[[769,"bq-avatar",{"altText":[513,"alt-text"],"image":[513],"label":[513],"initials":[513],"shape":[513],"size":[1537],"hasError":[32]},null,{"image":[{"handleImagePropChange":0}],"shape":[{"checkPropValues":0}],"size":[{"checkPropValues":0},{"onInitialsChange":0}],"initials":[{"onInitialsChange":0}]}]]],["p-79fd999a",[[769,"bq-breadcrumb",{"label":[513]}]]],["p-e91ee0da",[[769,"bq-breadcrumb-item",{"href":[513],"target":[513],"rel":[513]}]]],["p-f3184477",[[769,"bq-card",{"type":[513],"border":[513]},null,{"type":[{"checkPropValue":0}]}]]],["p-a72671f9",[[849,"bq-checkbox",{"backgroundOnHover":[516,"background-on-hover"],"formId":[513,"form-id"],"formValidationMessage":[1025,"form-validation-message"],"checked":[1540],"disabled":[516],"indeterminate":[1540],"name":[513],"required":[516],"value":[513],"vClick":[64],"vFocus":[64],"vBlur":[64]},null,{"checked":[{"handleCheckedPropChange":0}],"indeterminate":[{"handleIndeterminatePropChange":0}],"required":[{"handleRequiredPropChange":0}]}]]],["p-72ff2fe2",[[769,"bq-option",{"hidden":[516],"disabled":[516],"displayValue":[513,"display-value"],"selected":[516],"value":[513],"hasPrefix":[32],"hasSuffix":[32]},[[0,"keydown","onKeyDown"]]]]],["p-2e1fffcd",[[257,"bq-option-group"]]],["p-1a2c4878",[[769,"bq-page-title",{"haveBackNavigation":[32],"hasSuffix":[32],"hasSubTitle":[32]}]]],["p-45ae19aa",[[785,"bq-radio",{"backgroundOnHover":[516,"background-on-hover"],"checked":[1540],"disabled":[516],"forceDisabled":[516,"force-disabled"],"formId":[513,"form-id"],"name":[513],"required":[516],"value":[513],"vClick":[64],"vFocus":[64],"vBlur":[64],"getNativeInput":[64]}]]],["p-5eba392c",[[849,"bq-radio-group",{"backgroundOnHover":[516,"background-on-hover"],"debounceTime":[1538,"debounce-time"],"disabled":[516],"fieldset":[516],"name":[513],"orientation":[1537],"required":[516],"requiredValidationMessage":[513,"required-validation-message"],"value":[1537],"checkedRadio":[32],"tabIndex":[32]},[[2,"bqClick","onBqClick"],[0,"bqKeyDown","onBqKeyDown"],[2,"bqFocus","onBqFocus"],[2,"bqBlur","onBqBlur"]],{"debounceTime":[{"handleDebounceTimeChange":0}],"disabled":[{"handleDisabledChange":0},{"handleGroupProperties":0}],"backgroundOnHover":[{"handleGroupProperties":0}],"name":[{"handleGroupProperties":0}],"required":[{"handleGroupProperties":0},{"handleRequiredChange":0}],"orientation":[{"checkPropValues":0}],"value":[{"handleValueChange":0}]}]]],["p-8bd7f4c2",[[769,"bq-side-menu",{"appearance":[513],"collapse":[516],"size":[513],"documentBody":[32],"toggleCollapse":[64]},[[1,"bqClick","onMenuItemClick"]],{"collapse":[{"onCollapsePropChange":0}]}]]],["p-9413a4d3",[[769,"bq-spinner",{"animation":[516],"textPosition":[513,"text-position"],"size":[513],"hasIconSlot":[32],"hasSlot":[32],"slotContentLength":[32]},null,{"textPosition":[{"handleTextPositionProp":0}],"size":[{"handleSizeProp":0}],"hasIconSlot":[{"handleHasIconSlot":0}]}]]],["p-e9a1b183",[[769,"bq-steps",{"dividerColor":[513,"divider-color"],"orientation":[513],"size":[513],"type":[513],"setCurrentStepItem":[64]},null,{"dividerColor":[{"checkPropValues":0}],"orientation":[{"checkPropValues":0}],"type":[{"checkPropValues":0}],"size":[{"checkPropValues":0}]}]]],["p-6a38fcaf",[[769,"bq-tab",{"active":[1540],"controls":[513],"disabled":[516],"orientation":[513],"placement":[513],"size":[513],"tabId":[513,"tab-id"],"tabIndex":[32],"hasIcon":[32],"vClick":[64],"vFocus":[64],"vBlur":[64],"enableFocus":[64]},null,{"size":[{"checkPropValues":0}],"orientation":[{"checkPropValues":0}],"placement":[{"checkPropValues":0}]}]]],["p-38006c8e",[[769,"bq-tab-group",{"debounceTime":[1538,"debounce-time"],"disableDivider":[516,"disable-divider"],"orientation":[513],"placement":[513],"size":[513],"value":[1537]},[[19,"keyup","onKeyUp"],[1,"bqClick","onBqClick"],[1,"bqKeyDown","onBqKeyDown"],[3,"bqBlur","onBqBlur"]],{"debounceTime":[{"checkDebounceChange":0}],"size":[{"checkPropValues":0}],"value":[{"checkPropValues":0}],"orientation":[{"checkPropValues":0}],"placement":[{"checkPropValues":0}]}]]],["p-d792e3d3",[[849,"bq-textarea",{"autocapitalize":[513],"autocomplete":[513],"autofocus":[516],"autoGrow":[516,"auto-grow"],"debounceTime":[1538,"debounce-time"],"disabled":[516],"disableResize":[516,"disable-resize"],"form":[513],"formValidationMessage":[1025,"form-validation-message"],"maxlength":[514],"name":[513],"placeholder":[513],"readonly":[516],"required":[516],"rows":[514],"spellcheck":[516],"validationStatus":[1537,"validation-status"],"value":[1025],"wrap":[513],"hasHelperText":[32],"hasLabel":[32]},null,{"value":[{"handleValueChange":0}],"required":[{"handleRequiredPropChange":0}]}]]],["p-6b0f896f",[[769,"bq-badge",{"backgroundColor":[1537,"background-color"],"textColor":[1537,"text-color"],"size":[1537],"contentLength":[32]},null,{"size":[{"handleSizePropChange":0}]}]]],["p-3d754d97",[[849,"bq-button",{"appearance":[513],"block":[516],"border":[513],"disabled":[4],"download":[1],"href":[513],"justifyContent":[513,"justify-content"],"label":[513],"loading":[4],"onlyIcon":[4,"only-icon"],"size":[513],"target":[513],"type":[513],"variant":[513],"hasPrefix":[32],"hasSuffix":[32]},null,{"appearance":[{"checkPropValues":0}],"type":[{"checkPropValues":0}],"size":[{"checkPropValues":0}],"variant":[{"checkPropValues":0}],"onlyIcon":[{"handleOnlyIconPropChange":0}]}],[513,"bq-icon",{"label":[513],"color":[513],"name":[513],"size":[520],"src":[513],"weight":[513],"svgContent":[32]},null,{"color":[{"handlePropsChange":0}],"name":[{"handlePropsChange":0}],"size":[{"handlePropsChange":0}],"weight":[{"handleWeightChange":0}]}]]],["p-bdb983f9",[[785,"bq-tag",{"border":[513],"clickable":[516],"color":[513],"disabled":[516],"hidden":[1540],"removable":[516],"selected":[1540],"size":[513],"variant":[513],"hasPrefix":[32],"hide":[64],"show":[64]},null,{"size":[{"checkPropValues":0}],"variant":[{"checkPropValues":0}]}],[769,"bq-option-list",{"ariaLabel":[513,"aria-label"]},[[1,"bqClick","onBqSelect"],[1,"bqEnter","onBqSelect"]]]]],["p-f891fb4b",[[769,"bq-divider",{"dashed":[4],"orientation":[513],"strokeColor":[513,"stroke-color"],"titleAlignment":[513,"title-alignment"],"strokeDashWidth":[514,"stroke-dash-width"],"strokeDashGap":[514,"stroke-dash-gap"],"strokeThickness":[514,"stroke-thickness"],"strokeBasis":[514,"stroke-basis"],"strokeLinecap":[513,"stroke-linecap"],"hasTitle":[32]},null,{"orientation":[{"checkPropValues":0}],"titleAlignment":[{"checkPropValues":0}],"strokeLinecap":[{"checkPropValues":0}]}]]],["p-a55354ee",[[769,"bq-tooltip",{"alwaysVisible":[4,"always-visible"],"distance":[514],"hideArrow":[516,"hide-arrow"],"placement":[513],"sameWidth":[516,"same-width"],"displayOn":[513,"display-on"],"visible":[1540],"show":[64],"hide":[64]},[[4,"keydown","handleDocumentKeyDown"],[5,"mousedown","handleDocumentMouseDown"],[7,"scroll","handleDocumentScroll"]],{"visible":[{"handleVisibleChange":0}],"distance":[{"handleFloatingUIOptionsChange":0}],"hideArrow":[{"handleFloatingUIOptionsChange":0}],"placement":[{"handleFloatingUIOptionsChange":0}],"sameWidth":[{"handleFloatingUIOptionsChange":0}]}]]],["p-2fd6ea70",[[769,"bq-dropdown",{"disableScrollLock":[516,"disable-scroll-lock"],"disabled":[516],"distance":[514],"keepOpenOnSelect":[516,"keep-open-on-select"],"placement":[513],"open":[1540],"panelHeight":[513,"panel-height"],"sameWidth":[516,"same-width"],"skidding":[514],"strategy":[513]},[[1,"bqSelect","onItemSelect"],[5,"click","onClickOutside"],[9,"keyup","onEscape"],[11,"scroll","handleScrollEvent"]],{"open":[{"onOpenChange":0}],"disabled":[{"handleDisabledChange":0}]}],[769,"bq-panel",{"disableScrollLock":[516,"disable-scroll-lock"],"distance":[514],"placement":[513],"open":[1540],"sameWidth":[516,"same-width"],"skidding":[514],"strategy":[513]},null,{"open":[{"handleOpenChange":0}],"distance":[{"onPropChange":0}],"placement":[{"onPropChange":0}],"sameWidth":[{"onPropChange":0}],"skidding":[{"onPropChange":0}],"strategy":[{"onPropChange":0}]}]]]]'),e)}));
5
+ import{p as e,H as a,g as o,b as n}from"./p-BSSRzVAz.js";export{s as setNonce}from"./p-BSSRzVAz.js";var l=()=>{{i(a.prototype)}const o=import.meta.url;const n={};if(o!==""){n.resourcesUrl=new URL(".",o).href}return e(n)};var i=e=>{const a=e.cloneNode;e.cloneNode=function(e){if(this.nodeName==="TEMPLATE"){return a.call(this,e)}const o=a.call(this,false);const n=this.childNodes;if(e){for(let e=0;e<n.length;e++){if(n[e].nodeType!==2){o.appendChild(n[e].cloneNode(true))}}}return o}};l().then((async e=>{await o();return n(JSON.parse('[["p-a0a8ea5b",[[849,"bq-select",{"autofocus":[516],"clearButtonLabel":[513,"clear-button-label"],"debounceTime":[1538,"debounce-time"],"disableScrollLock":[516,"disable-scroll-lock"],"disabled":[1028],"disableClear":[516,"disable-clear"],"distance":[514],"form":[513],"formValidationMessage":[1025,"form-validation-message"],"keepOpenOnSelect":[516,"keep-open-on-select"],"name":[513],"maxTagsVisible":[1026,"max-tags-visible"],"multiple":[516],"open":[1540],"panelHeight":[513,"panel-height"],"placeholder":[513],"placement":[513],"readonly":[516],"required":[516],"sameWidth":[516,"same-width"],"skidding":[514],"strategy":[513],"validationStatus":[513,"validation-status"],"value":[1537],"displayValue":[32],"hasHelperText":[32],"selectedOptions":[32],"hasLabel":[32],"hasPrefix":[32],"hasSuffix":[32],"hasValue":[32],"clear":[64],"reset":[64]},[[2,"bqOpen","handleOpenChange"],[2,"bqFocus","stopOptionFocusBlurPropagation"],[2,"bqBlur","stopOptionFocusBlurPropagation"],[11,"scroll","handleScrollEvent"]],{"value":[{"handleValueChange":0}],"required":[{"handleRequiredPropChange":0}]}]]],["p-21db4f39",[[849,"bq-date-picker",{"autofocus":[516],"clearButtonLabel":[513,"clear-button-label"],"calendarButtonLabel":[513,"calendar-button-label"],"disableClear":[516,"disable-clear"],"disabled":[1540],"distance":[514],"firstDayOfWeek":[514,"first-day-of-week"],"formatOptions":[16],"form":[513],"formValidationMessage":[1025,"form-validation-message"],"initialView":[513,"initial-view"],"isDateDisallowed":[16],"locale":[513],"max":[513],"min":[513],"months":[1538],"monthsPerView":[513,"months-per-view"],"name":[513],"open":[1540],"panelHeight":[1537,"panel-height"],"placeholder":[513],"placement":[513],"precision":[513],"required":[516],"skidding":[514],"showOutsideDays":[516,"show-outside-days"],"strategy":[513],"type":[513],"validationStatus":[513,"validation-status"],"value":[1537],"decadeStart":[32],"displayDate":[32],"focusedISO":[32],"focusedMonth":[32],"focusedYear":[32],"hasConstraintError":[32],"hasLabel":[32],"hasPrefix":[32],"hasValue":[32],"tentativeHover":[32],"view":[32],"viewDate":[32],"clear":[64]},[[2,"bqOpen","handleOpenChange"]],{"value":[{"handleValueChange":0}],"formatOptions":[{"handleFormattingChange":0}],"locale":[{"handleFormattingChange":0}],"type":[{"handleTypeChange":0},{"checkPropValues":0}],"precision":[{"handlePrecisionChange":0},{"checkPropValues":0}],"max":[{"handleBoundsChange":0}],"min":[{"handleBoundsChange":0}],"required":[{"handleRequiredChange":0}],"firstDayOfWeek":[{"checkPropValues":0}],"initialView":[{"checkPropValues":0}],"monthsPerView":[{"checkPropValues":0}],"placement":[{"checkPropValues":0}],"strategy":[{"checkPropValues":0}],"validationStatus":[{"checkPropValues":0}],"months":[{"handleMonthsChange":0}],"open":[{"handleOpen":0}],"view":[{"handleViewChange":0}]}]]],["p-8be7ceb5",[[769,"bq-drawer",{"enableBackdrop":[516,"enable-backdrop"],"closeOnClickOutside":[516,"close-on-click-outside"],"closeOnEsc":[516,"close-on-esc"],"open":[1540],"placement":[1537],"position":[1537],"hasFooter":[32],"hasIcon":[32],"hide":[64],"show":[64]},[[11,"mousedown","handleMouseClick"],[10,"keydown","handleKeyDown"]],{"open":[{"handleOpenChange":0}],"placement":[{"handlePlacementChange":0}],"position":[{"handlePositionChange":0}]}]]],["p-f688d230",[[769,"bq-alert",{"autoDismiss":[516,"auto-dismiss"],"border":[513],"disableClose":[516,"disable-close"],"hideIcon":[516,"hide-icon"],"open":[1540],"time":[514],"type":[513],"sticky":[516],"hasContent":[32],"hasFooter":[32],"hide":[64],"show":[64]},null,{"autoDismiss":[{"handleTimeout":0}],"time":[{"handleTimeout":0}],"open":[{"handleOpenChange":0}],"type":[{"checkPropValues":0}]}]]],["p-58813f83",[[769,"bq-dialog",{"border":[513],"disableBackdrop":[516,"disable-backdrop"],"disableCloseEscKeydown":[516,"disable-close-esc-keydown"],"disableCloseClickOutside":[516,"disable-close-click-outside"],"footerAppearance":[513,"footer-appearance"],"hideCloseButton":[516,"hide-close-button"],"open":[1540],"size":[1537],"hasContent":[32],"hasFooter":[32],"show":[64],"hide":[64],"cancel":[64]},[[11,"mousedown","handleMouseClick"],[10,"keydown","handleKeyDown"]],{"footerAppearance":[{"checkPropValues":0}],"size":[{"checkPropValues":0}],"open":[{"handleOpenChange":0}]}]]],["p-96f72671",[[849,"bq-input",{"autocapitalize":[513],"autocomplete":[513],"autofocus":[516],"clearButtonLabel":[513,"clear-button-label"],"debounceTime":[1538,"debounce-time"],"disabled":[1028],"disableClear":[516,"disable-clear"],"form":[513],"formValidationMessage":[1025,"form-validation-message"],"inputmode":[1],"max":[520],"maxlength":[514],"min":[520],"minlength":[514],"name":[513],"pattern":[513],"placeholder":[513],"readonly":[516],"required":[516],"step":[520],"type":[513],"validationStatus":[513,"validation-status"],"value":[1544],"hasHelperText":[32],"hasLabel":[32],"hasPrefix":[32],"hasSuffix":[32],"hasValue":[32]},null,{"value":[{"handleValueChange":0}],"required":[{"handleRequiredPropChange":0}]}]]],["p-6be3f23a",[[769,"bq-notification",{"autoDismiss":[516,"auto-dismiss"],"border":[513],"disableClose":[516,"disable-close"],"hideIcon":[516,"hide-icon"],"open":[1540],"time":[514],"type":[513],"hasContent":[32],"hasFooter":[32],"notificationPortal":[32],"hide":[64],"show":[64],"toast":[64]},[[0,"bqAfterClose","afterNotificationClose"]],{"autoDismiss":[{"handleTimeout":0}],"time":[{"handleTimeout":0}],"open":[{"handleOpenChange":0}],"type":[{"checkPropValues":0}]}]]],["p-fa123a10",[[769,"bq-accordion",{"appearance":[1537],"disabled":[516],"expanded":[1540],"noAnimation":[516,"no-animation"],"rotate":[516],"size":[1537],"hasPrefix":[32],"hasSuffix":[32]},[[0,"accordionTransitionEnd","onAccordionTransitionEnd"]],{"size":[{"checkPropValues":0}],"expanded":[{"handleExpandedChange":0}],"disabled":[{"handleDisabledChange":0}],"noAnimation":[{"handleJsAnimation":0}]}]]],["p-2a081a54",[[769,"bq-empty-state",{"size":[1537],"hasBody":[32],"hasFooter":[32]},null,{"size":[{"checkPropValues":0}]}]]],["p-56b49d4e",[[513,"bq-progress",{"borderShape":[513,"border-shape"],"enableTooltip":[516,"enable-tooltip"],"indeterminate":[516],"label":[516],"thickness":[513],"type":[513],"value":[1538]},null,{"borderShape":[{"handleTypePropChange":0}],"thickness":[{"handleTypePropChange":0}],"type":[{"handleTypePropChange":0}],"value":[{"handleValuePropChange":0}]}]]],["p-d6c35472",[[769,"bq-side-menu-item",{"active":[4],"collapse":[4],"disabled":[4],"textContent":[32]}]]],["p-24bb2588",[[593,"bq-slider",{"debounceTime":[514,"debounce-time"],"disabled":[516],"enableValueIndicator":[516,"enable-value-indicator"],"gap":[1538],"max":[514],"min":[514],"name":[513],"step":[514],"type":[513],"value":[1544],"enableTooltip":[516,"enable-tooltip"],"tooltipAlwaysVisible":[516,"tooltip-always-visible"],"minValue":[32],"maxValue":[32],"minThumbPosition":[32],"maxThumbPosition":[32]},null,{"value":[{"handleValuePropChange":0}],"step":[{"handleStepPropChange":0}],"gap":[{"handleGapChange":0}]}]]],["p-0d078519",[[769,"bq-status",{"type":[513]},null,{"type":[{"checkPropValues":0}]}]]],["p-7ebe6b9d",[[785,"bq-step-item",{"dividerColor":[513,"divider-color"],"isLast":[516,"is-last"],"orientation":[513],"size":[513],"status":[1537],"type":[513]},null,{"size":[{"checkPropValues":0}],"status":[{"checkPropValues":0}]}]]],["p-30d1bd84",[[849,"bq-switch",{"backgroundOnHover":[516,"background-on-hover"],"checked":[1540],"disabled":[516],"formValidationMessage":[1025,"form-validation-message"],"fullWidth":[516,"full-width"],"innerLabel":[513,"inner-label"],"justifyContent":[513,"justify-content"],"name":[513],"required":[516],"reverseOrder":[516,"reverse-order"],"value":[513],"hasLabel":[32],"vClick":[64],"vFocus":[64],"vBlur":[64]},null,{"required":[{"handleRequiredChange":0}]}]]],["p-817f7a5e",[[769,"bq-toast",{"border":[513],"type":[1537],"placement":[1537],"hideIcon":[1540,"hide-icon"],"open":[1540],"time":[514],"toastPortal":[32],"show":[64],"hide":[64],"toast":[64]},[[0,"bqHide","onNotificationHide"]],{"type":[{"checkPropValues":0}],"placement":[{"checkPropValues":0}],"time":[{"handleTimeChange":0}],"open":[{"handleOpenChange":0}]}]]],["p-bb99b400",[[769,"bq-accordion-group",{"appearance":[1537],"expandAll":[516,"expand-all"],"noAnimation":[516,"no-animation"],"multiple":[516],"size":[1537]},[[1,"bqClick","onBqClick"]],{"appearance":[{"checkPropValues":0}],"expandAll":[{"checkPropValues":0}],"noAnimation":[{"checkPropValues":0}],"size":[{"checkPropValues":0}]}]]],["p-cf2e4d57",[[769,"bq-avatar",{"altText":[513,"alt-text"],"image":[513],"label":[513],"initials":[513],"shape":[513],"size":[1537],"hasError":[32]},null,{"image":[{"handleImagePropChange":0}],"shape":[{"checkPropValues":0}],"size":[{"checkPropValues":0},{"onInitialsChange":0}],"initials":[{"onInitialsChange":0}]}]]],["p-79fd999a",[[769,"bq-breadcrumb",{"label":[513]}]]],["p-e91ee0da",[[769,"bq-breadcrumb-item",{"href":[513],"target":[513],"rel":[513]}]]],["p-f3184477",[[769,"bq-card",{"type":[513],"border":[513]},null,{"type":[{"checkPropValue":0}]}]]],["p-a72671f9",[[849,"bq-checkbox",{"backgroundOnHover":[516,"background-on-hover"],"formId":[513,"form-id"],"formValidationMessage":[1025,"form-validation-message"],"checked":[1540],"disabled":[516],"indeterminate":[1540],"name":[513],"required":[516],"value":[513],"vClick":[64],"vFocus":[64],"vBlur":[64]},null,{"checked":[{"handleCheckedPropChange":0}],"indeterminate":[{"handleIndeterminatePropChange":0}],"required":[{"handleRequiredPropChange":0}]}]]],["p-72ff2fe2",[[769,"bq-option",{"hidden":[516],"disabled":[516],"displayValue":[513,"display-value"],"selected":[516],"value":[513],"hasPrefix":[32],"hasSuffix":[32]},[[0,"keydown","onKeyDown"]]]]],["p-2e1fffcd",[[257,"bq-option-group"]]],["p-1a2c4878",[[769,"bq-page-title",{"haveBackNavigation":[32],"hasSuffix":[32],"hasSubTitle":[32]}]]],["p-45ae19aa",[[785,"bq-radio",{"backgroundOnHover":[516,"background-on-hover"],"checked":[1540],"disabled":[516],"forceDisabled":[516,"force-disabled"],"formId":[513,"form-id"],"name":[513],"required":[516],"value":[513],"vClick":[64],"vFocus":[64],"vBlur":[64],"getNativeInput":[64]}]]],["p-5eba392c",[[849,"bq-radio-group",{"backgroundOnHover":[516,"background-on-hover"],"debounceTime":[1538,"debounce-time"],"disabled":[516],"fieldset":[516],"name":[513],"orientation":[1537],"required":[516],"requiredValidationMessage":[513,"required-validation-message"],"value":[1537],"checkedRadio":[32],"tabIndex":[32]},[[2,"bqClick","onBqClick"],[0,"bqKeyDown","onBqKeyDown"],[2,"bqFocus","onBqFocus"],[2,"bqBlur","onBqBlur"]],{"debounceTime":[{"handleDebounceTimeChange":0}],"disabled":[{"handleDisabledChange":0},{"handleGroupProperties":0}],"backgroundOnHover":[{"handleGroupProperties":0}],"name":[{"handleGroupProperties":0}],"required":[{"handleGroupProperties":0},{"handleRequiredChange":0}],"orientation":[{"checkPropValues":0}],"value":[{"handleValueChange":0}]}]]],["p-8bd7f4c2",[[769,"bq-side-menu",{"appearance":[513],"collapse":[516],"size":[513],"documentBody":[32],"toggleCollapse":[64]},[[1,"bqClick","onMenuItemClick"]],{"collapse":[{"onCollapsePropChange":0}]}]]],["p-9413a4d3",[[769,"bq-spinner",{"animation":[516],"textPosition":[513,"text-position"],"size":[513],"hasIconSlot":[32],"hasSlot":[32],"slotContentLength":[32]},null,{"textPosition":[{"handleTextPositionProp":0}],"size":[{"handleSizeProp":0}],"hasIconSlot":[{"handleHasIconSlot":0}]}]]],["p-e9a1b183",[[769,"bq-steps",{"dividerColor":[513,"divider-color"],"orientation":[513],"size":[513],"type":[513],"setCurrentStepItem":[64]},null,{"dividerColor":[{"checkPropValues":0}],"orientation":[{"checkPropValues":0}],"type":[{"checkPropValues":0}],"size":[{"checkPropValues":0}]}]]],["p-6a38fcaf",[[769,"bq-tab",{"active":[1540],"controls":[513],"disabled":[516],"orientation":[513],"placement":[513],"size":[513],"tabId":[513,"tab-id"],"tabIndex":[32],"hasIcon":[32],"vClick":[64],"vFocus":[64],"vBlur":[64],"enableFocus":[64]},null,{"size":[{"checkPropValues":0}],"orientation":[{"checkPropValues":0}],"placement":[{"checkPropValues":0}]}]]],["p-38006c8e",[[769,"bq-tab-group",{"debounceTime":[1538,"debounce-time"],"disableDivider":[516,"disable-divider"],"orientation":[513],"placement":[513],"size":[513],"value":[1537]},[[19,"keyup","onKeyUp"],[1,"bqClick","onBqClick"],[1,"bqKeyDown","onBqKeyDown"],[3,"bqBlur","onBqBlur"]],{"debounceTime":[{"checkDebounceChange":0}],"size":[{"checkPropValues":0}],"value":[{"checkPropValues":0}],"orientation":[{"checkPropValues":0}],"placement":[{"checkPropValues":0}]}]]],["p-d792e3d3",[[849,"bq-textarea",{"autocapitalize":[513],"autocomplete":[513],"autofocus":[516],"autoGrow":[516,"auto-grow"],"debounceTime":[1538,"debounce-time"],"disabled":[516],"disableResize":[516,"disable-resize"],"form":[513],"formValidationMessage":[1025,"form-validation-message"],"maxlength":[514],"name":[513],"placeholder":[513],"readonly":[516],"required":[516],"rows":[514],"spellcheck":[516],"validationStatus":[1537,"validation-status"],"value":[1025],"wrap":[513],"hasHelperText":[32],"hasLabel":[32]},null,{"value":[{"handleValueChange":0}],"required":[{"handleRequiredPropChange":0}]}]]],["p-6b0f896f",[[769,"bq-badge",{"backgroundColor":[1537,"background-color"],"textColor":[1537,"text-color"],"size":[1537],"contentLength":[32]},null,{"size":[{"handleSizePropChange":0}]}]]],["p-3d754d97",[[849,"bq-button",{"appearance":[513],"block":[516],"border":[513],"disabled":[4],"download":[1],"href":[513],"justifyContent":[513,"justify-content"],"label":[513],"loading":[4],"onlyIcon":[4,"only-icon"],"size":[513],"target":[513],"type":[513],"variant":[513],"hasPrefix":[32],"hasSuffix":[32]},null,{"appearance":[{"checkPropValues":0}],"type":[{"checkPropValues":0}],"size":[{"checkPropValues":0}],"variant":[{"checkPropValues":0}],"onlyIcon":[{"handleOnlyIconPropChange":0}]}],[513,"bq-icon",{"label":[513],"color":[513],"name":[513],"size":[520],"src":[513],"weight":[513],"svgContent":[32]},null,{"color":[{"handlePropsChange":0}],"name":[{"handlePropsChange":0}],"size":[{"handlePropsChange":0}],"weight":[{"handleWeightChange":0}]}]]],["p-bdb983f9",[[785,"bq-tag",{"border":[513],"clickable":[516],"color":[513],"disabled":[516],"hidden":[1540],"removable":[516],"selected":[1540],"size":[513],"variant":[513],"hasPrefix":[32],"hide":[64],"show":[64]},null,{"size":[{"checkPropValues":0}],"variant":[{"checkPropValues":0}]}],[769,"bq-option-list",{"ariaLabel":[513,"aria-label"]},[[1,"bqClick","onBqSelect"],[1,"bqEnter","onBqSelect"]]]]],["p-f891fb4b",[[769,"bq-divider",{"dashed":[4],"orientation":[513],"strokeColor":[513,"stroke-color"],"titleAlignment":[513,"title-alignment"],"strokeDashWidth":[514,"stroke-dash-width"],"strokeDashGap":[514,"stroke-dash-gap"],"strokeThickness":[514,"stroke-thickness"],"strokeBasis":[514,"stroke-basis"],"strokeLinecap":[513,"stroke-linecap"],"hasTitle":[32]},null,{"orientation":[{"checkPropValues":0}],"titleAlignment":[{"checkPropValues":0}],"strokeLinecap":[{"checkPropValues":0}]}]]],["p-923da026",[[769,"bq-tooltip",{"alwaysVisible":[4,"always-visible"],"distance":[514],"hideArrow":[516,"hide-arrow"],"placement":[513],"sameWidth":[516,"same-width"],"displayOn":[513,"display-on"],"visible":[1540],"show":[64],"hide":[64]},[[4,"keydown","handleDocumentKeyDown"],[5,"mousedown","handleDocumentMouseDown"],[7,"scroll","handleDocumentScroll"]],{"visible":[{"handleVisibleChange":0}],"alwaysVisible":[{"handleAlwaysVisibleChange":0}],"distance":[{"handleFloatingUIOptionsChange":0}],"placement":[{"handleFloatingUIOptionsChange":0}],"sameWidth":[{"handleFloatingUIOptionsChange":0}]}]]],["p-d4fa3abb",[[769,"bq-dropdown",{"disableScrollLock":[516,"disable-scroll-lock"],"disabled":[516],"distance":[514],"keepOpenOnSelect":[516,"keep-open-on-select"],"placement":[513],"open":[1540],"panelHeight":[513,"panel-height"],"sameWidth":[516,"same-width"],"skidding":[514],"strategy":[513]},[[1,"bqSelect","onItemSelect"],[5,"click","onClickOutside"],[9,"keyup","onEscape"],[11,"scroll","handleScrollEvent"]],{"open":[{"onOpenChange":0}],"disabled":[{"handleDisabledChange":0}]}],[769,"bq-panel",{"disableScrollLock":[516,"disable-scroll-lock"],"distance":[514],"placement":[513],"open":[1540],"sameWidth":[516,"same-width"],"skidding":[514],"strategy":[513]},null,{"open":[{"handleOpenChange":0}],"distance":[{"onPropChange":0}],"placement":[{"onPropChange":0}],"sameWidth":[{"onPropChange":0}],"skidding":[{"onPropChange":0}],"strategy":[{"onPropChange":0}]}]]]]'),e)}));
6
6
  //# sourceMappingURL=beeq.esm.js.map
@@ -2,5 +2,5 @@
2
2
  * Built by Endavans
3
3
  * © https://beeq.design - Apache 2 License.
4
4
  */
5
- export{g as getBasePath,s as setBasePath}from"./p-Ds7rcaFH.js";export{c as clamp}from"./p-Cau9SvT4.js";export{a as getCSSVariableValue,g as getColorCSSVariable}from"./p-kY6d9Evy.js";export{I as ISO_DATE_LOCALE,c as clampDateToRange,e as extractFocusedDate,f as formatDisplayValue,g as getTodayISO,i as isValidISODate,p as parseDateInput,t as toISODateString,u as updateFormValidity}from"./p-CpKQ7XUL.js";export{d as debounce,s as setRafTimeout}from"./p-CVw85-WU.js";export{i as isEventTargetChildOfElement}from"./p-Dx-CEPSQ.js";export{g as getNextElement}from"./p-BsSDkLU5.js";export{i as isClient}from"./p-B4sM1t6Z.js";import{i as o}from"./p-BRbYDZoo.js";import{i as r}from"./p-BcPwGxIn.js";export{i as isHTMLElement}from"./p-D1A0LpG_.js";export{i as isString}from"./p-lysmVw2n.js";export{v as validatePropValue}from"./p-DbxZ8FhA.js";export{c as configureScrollLock,f as forceUnlockAllBodyScroll,g as getScrollLockCount,i as isBodyScrollLocked,l as lockBodyScroll,u as unlockBodyScroll}from"./p-CCNjsDdb.js";export{g as getInnerHTML,a as getTextContent,h as hasSlot,b as hasSlotContent}from"./p-uqkxeAeG.js";export{s as stringToArray}from"./p-BNvWMggA.js";export{e as enter,l as leave,t as toggle}from"./p-DdvbF5yL.js";const n=(e,s)=>{let a=e.length;const t=new Array(s);const o=new Array(a);if(s>a)throw new RangeError("getRandom: more elements taken than available");while(s--){const r=Date.now()%a;t[s]=e[r in o?o[r]:r];o[r]=--a in o?o[a]:a}return t};const m=e=>{if(r(e)){return true}else if("size"in e){return!o(e.size)}else{return!o(Object.values(e).length)}};export{n as getRandomFromArray,o as isDefined,m as isEmpty,r as isNil};
5
+ export{g as getBasePath,s as setBasePath}from"./p-Ds7rcaFH.js";export{c as clamp}from"./p-Cau9SvT4.js";export{a as getCSSVariableValue,g as getColorCSSVariable}from"./p-kY6d9Evy.js";export{I as ISO_DATE_LOCALE,c as clampDateToRange,e as extractFocusedDate,f as formatDisplayValue,g as getTodayISO,i as isValidISODate,p as parseDateInput,t as toISODateString,u as updateFormValidity}from"./p-CpKQ7XUL.js";export{d as debounce,s as setRafTimeout}from"./p-CVw85-WU.js";export{i as isEventTargetChildOfElement}from"./p-Dx-CEPSQ.js";export{g as getNextElement}from"./p-BsSDkLU5.js";export{i as isClient}from"./p-B4sM1t6Z.js";import{i as o}from"./p-BRbYDZoo.js";import{i as r}from"./p-BcPwGxIn.js";export{i as isHTMLElement}from"./p-D1A0LpG_.js";export{i as isPopoverSupported}from"./p-seEHHqwi.js";export{i as isString}from"./p-lysmVw2n.js";export{v as validatePropValue}from"./p-DbxZ8FhA.js";export{c as configureScrollLock,f as forceUnlockAllBodyScroll,g as getScrollLockCount,i as isBodyScrollLocked,l as lockBodyScroll,u as unlockBodyScroll}from"./p-CCNjsDdb.js";export{g as getInnerHTML,a as getTextContent,h as hasSlot,b as hasSlotContent}from"./p-uqkxeAeG.js";export{s as stringToArray}from"./p-BNvWMggA.js";export{e as enter,l as leave,t as toggle}from"./p-DdvbF5yL.js";const n=(e,s)=>{let a=e.length;const o=new Array(s);const t=new Array(a);if(s>a)throw new RangeError("getRandom: more elements taken than available");while(s--){const r=Date.now()%a;o[s]=e[r in t?t[r]:r];t[r]=--a in t?t[a]:a}return o};const m=e=>{if(r(e)){return true}else if("size"in e){return!o(e.size)}else{return!o(Object.values(e).length)}};export{n as getRandomFromArray,o as isDefined,m as isEmpty,r as isNil};
6
6
  //# sourceMappingURL=index.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm.js","sources":["../../packages/beeq/src/shared/utils/getRandom.ts","../../packages/beeq/src/shared/utils/isEmpty.ts"],"sourcesContent":["/**\n * Get a number of randoms items from Array\n *\n * @param {Array} arr - The array where to look\n * @param {Number} n - The number of random items to take\n * @returns {Array} An array with the number of random items specified\n */\nexport const getRandomFromArray = <T>(arr: T[], n: number): T[] => {\n let length = arr.length;\n const result = new Array(n);\n const taken = new Array(length);\n\n if (n > length) throw new RangeError('getRandom: more elements taken than available');\n\n while (n--) {\n const x = Date.now() % length;\n result[n] = arr[x in taken ? taken[x] : x];\n taken[x] = --length in taken ? taken[length] : length;\n }\n return result;\n};\n","import { isDefined, isNil } from '.';\n\ntype TCollection = Map<unknown, unknown> | Array<unknown> | Record<string, unknown> | Set<unknown> | null | undefined;\n\n/**\n * Check if the value is an empty array, object, set, map\n * @param value the value to be checked\n * @returns {boolean} true if value is empty\n */\nexport const isEmpty = <T extends TCollection>(value: T): boolean => {\n if (isNil(value)) {\n return true;\n } else if ('size' in value) {\n return !isDefined(value.size);\n } else {\n return !isDefined(Object.values(value).length);\n }\n};\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;AAMG;MACU,kBAAkB,GAAG,CAAI,GAAQ,EAAE,CAAS,KAAS;AAChE,IAAA,IAAI,MAAM,GAAG,GAAG,CAAC,MAAM;AACvB,IAAA,MAAM,MAAM,GAAG,IAAI,KAAK,CAAC,CAAC,CAAC;AAC3B,IAAA,MAAM,KAAK,GAAG,IAAI,KAAK,CAAC,MAAM,CAAC;IAE/B,IAAI,CAAC,GAAG,MAAM;AAAE,QAAA,MAAM,IAAI,UAAU,CAAC,+CAA+C,CAAC;IAErF,OAAO,CAAC,EAAE,EAAE;QACV,MAAM,CAAC,GAAG,IAAI,CAAC,GAAG,EAAE,GAAG,MAAM;QAC7B,MAAM,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,IAAI,KAAK,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;AAC1C,QAAA,KAAK,CAAC,CAAC,CAAC,GAAG,EAAE,MAAM,IAAI,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,GAAG,MAAM;;AAEvD,IAAA,OAAO,MAAM;AACf;;AChBA;;;;AAIG;AACI,MAAM,OAAO,GAAG,CAAwB,KAAQ,KAAa;AAClE,IAAA,IAAI,KAAK,CAAC,KAAK,CAAC,EAAE;AAChB,QAAA,OAAO,IAAI;;AACN,SAAA,IAAI,MAAM,IAAI,KAAK,EAAE;AAC1B,QAAA,OAAO,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC;;SACxB;AACL,QAAA,OAAO,CAAC,SAAS,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC;;AAElD;;;;"}
1
+ {"version":3,"file":"index.esm.js","sources":["../../packages/beeq/src/shared/utils/getRandom.ts","../../packages/beeq/src/shared/utils/isEmpty.ts"],"sourcesContent":["/**\n * Get a number of randoms items from Array\n *\n * @param {Array} arr - The array where to look\n * @param {Number} n - The number of random items to take\n * @returns {Array} An array with the number of random items specified\n */\nexport const getRandomFromArray = <T>(arr: T[], n: number): T[] => {\n let length = arr.length;\n const result = new Array(n);\n const taken = new Array(length);\n\n if (n > length) throw new RangeError('getRandom: more elements taken than available');\n\n while (n--) {\n const x = Date.now() % length;\n result[n] = arr[x in taken ? taken[x] : x];\n taken[x] = --length in taken ? taken[length] : length;\n }\n return result;\n};\n","import { isDefined, isNil } from '.';\n\ntype TCollection = Map<unknown, unknown> | Array<unknown> | Record<string, unknown> | Set<unknown> | null | undefined;\n\n/**\n * Check if the value is an empty array, object, set, map\n * @param value the value to be checked\n * @returns {boolean} true if value is empty\n */\nexport const isEmpty = <T extends TCollection>(value: T): boolean => {\n if (isNil(value)) {\n return true;\n } else if ('size' in value) {\n return !isDefined(value.size);\n } else {\n return !isDefined(Object.values(value).length);\n }\n};\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;AAMG;MACU,kBAAkB,GAAG,CAAI,GAAQ,EAAE,CAAS,KAAS;AAChE,IAAA,IAAI,MAAM,GAAG,GAAG,CAAC,MAAM;AACvB,IAAA,MAAM,MAAM,GAAG,IAAI,KAAK,CAAC,CAAC,CAAC;AAC3B,IAAA,MAAM,KAAK,GAAG,IAAI,KAAK,CAAC,MAAM,CAAC;IAE/B,IAAI,CAAC,GAAG,MAAM;AAAE,QAAA,MAAM,IAAI,UAAU,CAAC,+CAA+C,CAAC;IAErF,OAAO,CAAC,EAAE,EAAE;QACV,MAAM,CAAC,GAAG,IAAI,CAAC,GAAG,EAAE,GAAG,MAAM;QAC7B,MAAM,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,IAAI,KAAK,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;AAC1C,QAAA,KAAK,CAAC,CAAC,CAAC,GAAG,EAAE,MAAM,IAAI,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,GAAG,MAAM;;AAEvD,IAAA,OAAO,MAAM;AACf;;AChBA;;;;AAIG;AACI,MAAM,OAAO,GAAG,CAAwB,KAAQ,KAAa;AAClE,IAAA,IAAI,KAAK,CAAC,KAAK,CAAC,EAAE;AAChB,QAAA,OAAO,IAAI;;AACN,SAAA,IAAI,MAAM,IAAI,KAAK,EAAE;AAC1B,QAAA,OAAO,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC;;SACxB;AACL,QAAA,OAAO,CAAC,SAAS,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC;;AAElD;;;;"}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Built by Endavans
3
+ * © https://beeq.design - Apache 2 License.
4
+ */
5
+ import{r as a,c as r,a as e,h as b}from"./p-BSSRzVAz.js";import{F as t}from"./p-DXYHHeJY.js";import{i as n}from"./p-Dx-CEPSQ.js";import{i}from"./p-seEHHqwi.js";const q=()=>`.bq-tooltip--arrow:before,.rotate-45,.transform{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1}.bq-tooltip--panel,.shadow-\\[shadow\\:--bq-tooltip--box-shadow\\]{--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000}::backdrop,:root{--bq-blue-100:#e7f0fd;--bq-blue-200:#d0e2fb;--bq-blue-300:#a1c5f7;--bq-blue-400:#73a8f3;--bq-blue-500:#448bef;--bq-blue-600:#156eeb;--bq-blue-700:#1158bc;--bq-blue-800:#0d428d;--bq-blue-900:#082c5e;--bq-blue-1000:#04162f;--bq-corai-100:#fff2f2;--bq-corai-200:#ffe6e6;--bq-corai-300:#ffccce;--bq-corai-400:#ffb3b5;--bq-corai-500:#ff999d;--bq-corai-600:#ff8084;--bq-corai-700:#cc666a;--bq-corai-800:#994d4f;--bq-corai-900:#663335;--bq-corai-1000:#331a1a;--bq-cyan-100:#e8f7fb;--bq-cyan-200:#d2f0f8;--bq-cyan-300:#a5e1f1;--bq-cyan-400:#78d1e9;--bq-cyan-500:#4bc2e2;--bq-cyan-600:#1eb3db;--bq-cyan-700:#188faf;--bq-cyan-800:#126b83;--bq-cyan-900:#0c4858;--bq-cyan-1000:#06242c;--bq-gold-100:#fbf4ec;--bq-gold-200:#f7e9da;--bq-gold-300:#f0d3b6;--bq-gold-400:#e8bc91;--bq-gold-500:#e1a66d;--bq-gold-600:#d99048;--bq-gold-700:#ae733a;--bq-gold-800:#82562b;--bq-gold-900:#573a1d;--bq-gold-1000:#2b1d0e;--bq-green-100:#e8f8ef;--bq-green-200:#d2f1e0;--bq-green-300:#a5e3c1;--bq-green-400:#78d5a1;--bq-green-500:#4bc782;--bq-green-600:#1eb963;--bq-green-700:#18944f;--bq-green-800:#126f3b;--bq-green-900:#0c4a28;--bq-green-1000:#062514;--bq-grey-100:#f1f2f4;--bq-grey-200:#e7e8eb;--bq-grey-300:#caccd2;--bq-grey-400:#a6aab3;--bq-grey-50:#f6f6f8;--bq-grey-500:#898e99;--bq-grey-600:#646a77;--bq-grey-700:#3f4350;--bq-grey-800:#2a2c35;--bq-grey-900:#1c1d23;--bq-grey-950:#15161a;--bq-grey-1000:#0d0e11;--bq-indigo-100:#edecfc;--bq-indigo-200:#dcdafa;--bq-indigo-300:#b9b5f5;--bq-indigo-400:#9590ef;--bq-indigo-500:#726bea;--bq-indigo-600:#4f46e5;--bq-indigo-700:#3f38b7;--bq-indigo-800:#2f2a89;--bq-indigo-900:#201c5c;--bq-indigo-1000:#100e2e;--bq-iris-100:#e9f0ff;--bq-iris-200:#d6e0ff;--bq-iris-300:#b2c0fe;--bq-iris-400:#8691f8;--bq-iris-500:#6061ee;--bq-iris-600:#4f46e5;--bq-iris-700:#413abd;--bq-iris-800:#332e95;--bq-iris-900:#26216d;--bq-iris-1000:#181545;--bq-lime-100:#f5fae8;--bq-lime-200:#ecf6d2;--bq-lime-300:#d9eda5;--bq-lime-400:#c5e379;--bq-lime-500:#b2da4c;--bq-lime-600:#9fd11f;--bq-lime-700:#7fa719;--bq-lime-800:#5f7d13;--bq-lime-900:#40540c;--bq-lime-1000:#202a06;--bq-magenta-100:#fce7f4;--bq-magenta-200:#f9cfea;--bq-magenta-300:#f39fd6;--bq-magenta-400:#ee6fbf;--bq-magenta-500:#e83fab;--bq-magenta-600:#de1395;--bq-magenta-700:#b20f77;--bq-magenta-800:#850c59;--bq-magenta-900:#58083c;--bq-magenta-1000:#2c041e;--bq-neutral-white:#fbfbfc;--bq-neutral-black:#060708;--bq-orange-100:#fbf0e9;--bq-orange-200:#f8e1d4;--bq-orange-300:#f1c2a8;--bq-orange-400:#eaa47d;--bq-orange-500:#e38551;--bq-orange-600:#dc6726;--bq-orange-700:#b0521e;--bq-orange-800:#843e17;--bq-orange-900:#58290f;--bq-orange-1000:#2c1508;--bq-purple-100:#efebf8;--bq-purple-200:#e0d7f2;--bq-purple-300:#c1afe5;--bq-purple-400:#a388d8;--bq-purple-500:#8460cb;--bq-purple-600:#6538be;--bq-purple-700:#512d98;--bq-purple-800:#3d2272;--bq-purple-900:#28164c;--bq-purple-1000:#140b26;--bq-red-100:#fce7ea;--bq-red-200:#f9d1d5;--bq-red-300:#f3a2ac;--bq-red-400:#ed7482;--bq-red-500:#e74559;--bq-red-600:#e1172f;--bq-red-700:#b41226;--bq-red-800:#870e1c;--bq-red-900:#5a0913;--bq-red-1000:#2d0509;--bq-sky-100:#eff4fb;--bq-sky-200:#dfeaf8;--bq-sky-300:#bfd5f1;--bq-sky-400:#9ec1e9;--bq-sky-500:#7eace2;--bq-sky-600:#5e97db;--bq-sky-700:#4b79af;--bq-sky-800:#385b83;--bq-sky-900:#263c58;--bq-sky-1000:#131e2c;--bq-teal-100:#e5f7f5;--bq-teal-200:#ccf0eb;--bq-teal-300:#99e1d8;--bq-teal-400:#66d2c4;--bq-teal-500:#33c3b1;--bq-teal-600:#00b49d;--bq-teal-700:#00907e;--bq-teal-800:#006c5e;--bq-teal-900:#00483f;--bq-teal-1000:#00241f;--bq-volcano-100:#feede7;--bq-volcano-200:#fddbd1;--bq-volcano-300:#fbb8a3;--bq-volcano-400:#fa9474;--bq-volcano-500:#f87146;--bq-volcano-600:#f64d18;--bq-volcano-700:#c53e13;--bq-volcano-800:#942e0e;--bq-volcano-900:#621f0a;--bq-volcano-1000:#310f05;--bq-yellow-100:#fefbe7;--bq-yellow-200:#fcf6d0;--bq-yellow-300:#faeea0;--bq-yellow-400:#f7e571;--bq-yellow-500:#f5dd41;--bq-yellow-600:#f2d412;--bq-yellow-700:#c2aa0e;--bq-yellow-800:#917f0b;--bq-yellow-900:#615507;--bq-yellow-1000:#302a04;--bq-endava-grey-50:#f7f7f8;--bq-endava-grey-100:#e4e6e7;--bq-endava-grey-200:#b5babe;--bq-endava-grey-300:#949ca1;--bq-endava-grey-400:#737d84;--bq-endava-grey-500:#525f67;--bq-endava-grey-600:#30404b;--bq-endava-grey-700:#2b3942;--bq-endava-grey-800:#263139;--bq-endava-grey-900:#192b37;--bq-endava-grey-950:#151b1e;--bq-endava-grey-1000:#0f1316;--bq-endava-neutral-white:#fafbfb;--bq-endava-neutral-black:#060708;--bq-endava-orange-100:#fef3f1;--bq-endava-orange-200:#fbd6d1;--bq-endava-orange-300:#fab7af;--bq-endava-orange-400:#fa988b;--bq-endava-orange-500:#fc7866;--bq-endava-orange-600:#ff5640;--bq-endava-orange-700:#ce4a39;--bq-endava-orange-800:#a03d30;--bq-endava-orange-900:#722e25;--bq-endava-orange-1000:#471e19}*,:after,:before{box-sizing:border-box}*{font:inherit;margin:0}ol[role=list],ul[role=list]{list-style-type:none}html{text-size-adjust:none;font-family:var(--bq-font-family);font-size:var(--bq-font-size--m)}html:focus-within{scroll-behavior:smooth}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--bq-background--primary);color:var(--bq-text--primary);line-height:var(--bq-font-line-height--regular);min-height:100vb;text-rendering:optimizeSpeed}a:not([class]){text-decoration-skip-ink:auto}canvas,img,picture,svg,video{display:block;max-width:100%}button,input,select,textarea{font:inherit}h1,h2,h3,h4,h5,h6,p{overflow-wrap:break-word}@media (prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}*,:after,:before{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto;transition-duration:.01ms!important}}:where(:root){--bq-white:#fff;--bq-black:#060708;--bq-neutral-50:var(--bq-grey-50);--bq-neutral-100:var(--bq-grey-100);--bq-neutral-200:var(--bq-grey-200);--bq-neutral-300:var(--bq-grey-300);--bq-neutral-400:var(--bq-grey-400);--bq-neutral-500:var(--bq-grey-500);--bq-neutral-600:var(--bq-grey-600);--bq-neutral-700:var(--bq-grey-700);--bq-neutral-800:var(--bq-grey-800);--bq-neutral-900:var(--bq-grey-900);--bq-neutral-950:var(--bq-grey-950);--bq-neutral-1000:var(--bq-grey-1000);--bq-brand-light:var(--bq-iris-100);--bq-brand:var(--bq-iris-600);--bq-brand-dark:var(--bq-iris-1000);--bq-accent-light:var(--bq-purple-100);--bq-accent:var(--bq-purple-600);--bq-accent-dark:var(--bq-purple-1000);--bq-success-light:var(--bq-teal-100);--bq-success:var(--bq-teal-600);--bq-success-dark:var(--bq-teal-1000);--bq-danger-light:var(--bq-red-100);--bq-danger:var(--bq-red-600);--bq-danger-dark:var(--bq-red-1000);--bq-warning-light:var(--bq-gold-100);--bq-warning:var(--bq-gold-600);--bq-warning-dark:var(--bq-gold-1000);--bq-info-light:var(--bq-iris-100);--bq-info:var(--bq-iris-600);--bq-info-dark:var(--bq-iris-1000);--bq-focus:var(--bq-iris-600);--bq-data-01:var(--bq-brand);--bq-data-02:var(--bq-purple-600);--bq-data-03:var(--bq-magenta-600);--bq-data-04:var(--bq-cyan-600);--bq-data-05:var(--bq-teal-600);--bq-data-06:var(--bq-orange-600);--bq-data-07:var(--bq-yellow-600);--bq-data-08:var(--bq-red-600);--bq-data-09:var(--bq-blue-600);--bq-data-10:var(--bq-grey-600);--bq-data-11:var(--bq-black);--bq-data-12:var(--bq-white);--bq-radius--none:0;--bq-radius--xs2:0.125rem;--bq-radius--xs:0.25rem;--bq-radius--s:0.5rem;--bq-radius--m:0.75rem;--bq-radius--l:1.5rem;--bq-radius--full:9999px;--bq-box-shadow--xs:0 2px 0 rgba(0,0,0,.016);--bq-box-shadow--s:0 8px 24px rgba(0,0,0,.04);--bq-box-shadow--m:0 10px 48px -16px rgba(0,0,0,.12);--bq-box-shadow--l:0 20px 58px -16px rgba(0,0,0,.16);--bq-font-family:"Outfit",sans-serif;--bq-font-size--xs:0.75rem;--bq-font-size--s:0.875rem;--bq-font-size--m:1rem;--bq-font-size--l:1.125rem;--bq-font-size--xl:1.5rem;--bq-font-size--xxl:2rem;--bq-font-size--xxl2:2.5rem;--bq-font-size--xxl3:3rem;--bq-font-size--xxl4:3.5rem;--bq-font-size--xxl5:4rem;--bq-font-weight--thin:100;--bq-font-weight--light:300;--bq-font-weight--regular:400;--bq-font-weight--medium:500;--bq-font-weight--semibold:600;--bq-font-weight--bold:700;--bq-font-line-height--small:1.2;--bq-font-line-height--regular:1.5;--bq-font-line-height--large:1.5;--bq-spacing-xs3:0.125rem;--bq-spacing-xs2:0.25rem;--bq-spacing-xs:0.5rem;--bq-spacing-s:0.75rem;--bq-spacing-m:1rem;--bq-spacing-l:1.5rem;--bq-spacing-xl:2rem;--bq-spacing-xxl:2.5rem;--bq-spacing-xxl2:3.5rem;--bq-spacing-xxl3:4rem;--bq-spacing-xxl4:4.5rem;--bq-stroke-s:1px;--bq-stroke-m:2px;--bq-stroke-l:3px}.beeq:not([bq-mode]),.light,:root:not([bq-theme]):not([bq-mode]),:root[bq-theme=beeq]:not([bq-mode]),[bq-mode=light]{--bq-background--primary:var(--bq-white);--bq-background--secondary:var(--bq-neutral-100);--bq-background--tertiary:var(--bq-neutral-200);--bq-background--alt:var(--bq-neutral-300);--bq-background--inverse:var(--bq-neutral-900);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-800);--bq-icon--alt:var(--bq-white);--bq-icon--secondary:var(--bq-neutral-600);--bq-icon--inverse:var(--bq-neutral-50);--bq-icon--brand:var(--bq-brand);--bq-icon--info:var(--bq-brand);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-200);--bq-stroke--secondary:var(--bq-neutral-600);--bq-stroke--tertiary:var(--bq-neutral-900);--bq-stroke--inverse:var(--bq-white);--bq-stroke--brand:var(--bq-brand);--bq-stroke--alt:var(--bq-neutral-50);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-brand);--bq-text--primary:var(--bq-neutral-800);--bq-text--secondary:var(--bq-neutral-600);--bq-text--inverse:var(--bq-neutral-50);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-white);--bq-text--info:var(--bq-brand);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-white);--bq-ui--secondary:var(--bq-neutral-100);--bq-ui--tertiary:var(--bq-neutral-500);--bq-ui--inverse:var(--bq-neutral-900);--bq-ui--brand:var(--bq-brand);--bq-ui--brand-alt:var(--bq-brand-light);--bq-ui--alt:var(--bq-neutral-50);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-light);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-light);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-light);--bq-ui--info:var(--bq-brand);--bq-ui--info-alt:var(--bq-brand-light);--bq-hover:#bcbfc5;--bq-active:#444546}.dark,[bq-mode=dark]{--bq-background--primary:var(--bq-neutral-1000);--bq-background--secondary:var(--bq-neutral-950);--bq-background--tertiary:var(--bq-neutral-800);--bq-background--alt:var(--bq-neutral-700);--bq-background--inverse:var(--bq-neutral-600);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-100);--bq-icon--secondary:var(--bq-neutral-400);--bq-icon--inverse:var(--bq-neutral-800);--bq-icon--brand:var(--bq-brand);--bq-icon--alt:var(--bq-white);--bq-icon--info:var(--bq-brand);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-900);--bq-stroke--secondary:var(--bq-neutral-700);--bq-stroke--tertiary:var(--bq-neutral-400);--bq-stroke--inverse:var(--bq-neutral-950);--bq-stroke--brand:var(--bq-brand);--bq-stroke--alt:var(--bq-neutral-1000);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-brand);--bq-text--primary:var(--bq-neutral-100);--bq-text--secondary:var(--bq-neutral-400);--bq-text--inverse:var(--bq-neutral-800);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-white);--bq-text--info:var(--bq-brand);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-neutral-900);--bq-ui--secondary:var(--bq-neutral-950);--bq-ui--tertiary:var(--bq-neutral-700);--bq-ui--inverse:var(--bq-neutral-100);--bq-ui--brand:var(--bq-brand);--bq-ui--brand-alt:var(--bq-brand-dark);--bq-ui--alt:var(--bq-neutral-950);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-dark);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-dark);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-dark);--bq-ui--info:var(--bq-brand);--bq-ui--info-alt:var(--bq-brand-dark);--bq-hover:#444546;--bq-active:#1f2026}:where(.endava),:where([bq-theme=endava]){--bq-font-family:"Poppins",sans-serif;--bq-white:#fafbfb;--bq-black:#030406;--bq-neutral-50:var(--bq-endava-grey-50);--bq-neutral-100:var(--bq-endava-grey-100);--bq-neutral-200:var(--bq-endava-grey-200);--bq-neutral-300:var(--bq-endava-grey-300);--bq-neutral-400:var(--bq-endava-grey-400);--bq-neutral-500:var(--bq-endava-grey-500);--bq-neutral-600:var(--bq-endava-grey-600);--bq-neutral-700:var(--bq-endava-grey-700);--bq-neutral-800:var(--bq-endava-grey-800);--bq-neutral-900:var(--bq-endava-grey-900);--bq-neutral-950:var(--bq-endava-grey-950);--bq-neutral-1000:var(--bq-endava-grey-1000);--bq-brand-light:var(--bq-endava-orange-100);--bq-brand:var(--bq-endava-orange-600);--bq-brand-dark:var(--bq-endava-orange-1000);--bq-accent-light:var(--bq-endava-orange-100);--bq-accent:var(--bq-endava-orange-600);--bq-accent-dark:var(--bq-endava-orange-1000);--bq-success-light:var(--bq-green-100);--bq-success:var(--bq-green-600);--bq-success-dark:var(--bq-green-1000);--bq-danger-light:var(--bq-corai-100);--bq-danger:var(--bq-corai-600);--bq-danger-dark:var(--bq-corai-1000);--bq-warning-light:var(--bq-yellow-100);--bq-warning:var(--bq-yellow-600);--bq-warning-dark:var(--bq-yellow-1000);--bq-info-light:var(--bq-blue-100);--bq-info:var(--bq-blue-600);--bq-info-dark:var(--bq-blue-1000);--bq-focus:var(--bq-endava-orange-600);--bq-data-01:var(--bq-brand);--bq-data-02:#af0cd8;--bq-data-03:#0ca8d8;--bq-data-04:var(--bq-teal-600);--bq-data-05:var(--bq-yellow-600);--bq-data-06:var(--bq-orange-600);--bq-data-07:var(--bq-blue-600);--bq-data-08:var(--bq-red-600);--bq-data-09:var(--bq-purple-600);--bq-data-10:#394b56;--bq-data-11:var(--bq-black);--bq-data-12:var(--bq-white)}.endava.light,.endava:not([bq-mode]),[bq-theme=endava]:not([bq-mode]),[bq-theme=endava][bq-mode=light]{--bq-background--primary:var(--bq-white);--bq-background--secondary:var(--bq-neutral-100);--bq-background--tertiary:var(--bq-neutral-200);--bq-background--alt:var(--bq-neutral-300);--bq-background--inverse:var(--bq-neutral-900);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-800);--bq-icon--secondary:var(--bq-neutral-600);--bq-icon--inverse:var(--bq-neutral-50);--bq-icon--brand:var(--bq-brand);--bq-icon--alt:var(--bq-white);--bq-icon--info:var(--bq-info);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-200);--bq-stroke--secondary:var(--bq-neutral-600);--bq-stroke--tertiary:var(--bq-neutral-900);--bq-stroke--inverse:var(--bq-white);--bq-stroke--brand:var(--bq-brand);--bq-stroke--alt:var(--bq-neutral-50);--bq-stroke--brand-alt:var(--bq-brand-light);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-info);--bq-text--primary:var(--bq-neutral-800);--bq-text--secondary:var(--bq-neutral-600);--bq-text--inverse:var(--bq-neutral-50);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-white);--bq-text--info:var(--bq-info);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-white);--bq-ui--secondary:var(--bq-neutral-100);--bq-ui--tertiary:var(--bq-neutral-500);--bq-ui--inverse:var(--bq-neutral-900);--bq-ui--alt:var(--bq-neutral-50);--bq-ui--brand-alt:var(--bq-brand-light);--bq-ui--brand:var(--bq-brand);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-light);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-light);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-light);--bq-ui--info:var(--bq-info);--bq-ui--info-alt:var(--bq-info-light);--bq-hover:#444546;--bq-active:#1f2026}.endava.dark,[bq-theme=endava][bq-mode=dark]{--bq-background--primary:var(--bq-neutral-1000);--bq-background--secondary:var(--bq-neutral-900);--bq-background--tertiary:var(--bq-neutral-800);--bq-background--alt:var(--bq-neutral-700);--bq-background--inverse:var(--bq-neutral-600);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-100);--bq-icon--secondary:var(--bq-neutral-400);--bq-icon--inverse:var(--bq-neutral-800);--bq-icon--brand:var(--bq-brand);--bq-icon--alt:var(--bq-white);--bq-icon--info:var(--bq-info);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-900);--bq-stroke--secondary:var(--bq-neutral-700);--bq-stroke--tertiary:var(--bq-neutral-400);--bq-stroke--inverse:var(--bq-neutral-950);--bq-stroke--brand:var(--bq-brand);--bq-stroke--brand-alt:var(--bq-brand-dark);--bq-stroke--alt:var(--bq-neutral-1000);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-info);--bq-text--primary:var(--bq-neutral-100);--bq-text--secondary:var(--bq-neutral-400);--bq-text--inverse:var(--bq-neutral-800);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-neutral-white);--bq-text--info:var(--bq-info);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-neutral-900);--bq-ui--secondary:var(--bq-neutral-950);--bq-ui--tertiary:var(--bq-neutral-700);--bq-ui--inverse:var(--bq-neutral-100);--bq-ui--brand:var(--bq-brand);--bq-ui--brand-alt:var(--bq-brand-dark);--bq-ui--alt:var(--bq-neutral-950);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-dark);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-dark);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-dark);--bq-ui--info:var(--bq-info);--bq-ui--info-alt:var(--bq-info-dark);--bq-hover:#444546;--bq-active:#1f2026}.pointer-events-none{pointer-events:none}.fixed{position:fixed}.absolute{position:absolute}.inset-\\[unset\\]{inset:unset}.start-0{inset-inline-start:0}.-z-\\[1\\]{z-index:-1}.z-\\[--bq-tooltip--z-index\\]{z-index:var(--bq-tooltip--z-index)}.m-0{margin:0}.box-border{box-sizing:border-box}.rotate-45{--tw-rotate:45deg}.rotate-45,.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.overflow-visible{overflow:visible}.rounded-\\[--bq-tooltip--border-radius\\]{border-radius:var(--bq-tooltip--border-radius)}.border-\\[length\\:--bq-tooltip--border-width\\]{border-width:var(--bq-tooltip--border-width)}.border-\\[color\\:--bq-tooltip--border-color\\]{border-color:var(--bq-tooltip--border-color)}.bg-\\[--bq-tooltip--background-color\\]{background-color:var(--bq-tooltip--background-color)}.text-\\[length\\:--bq-tooltip--font-size\\]{font-size:var(--bq-tooltip--font-size)}.leading-\\[--bq-tooltip--line-height\\]{line-height:var(--bq-tooltip--line-height)}.text-\\[color\\:--bq-tooltip--text-color\\]{color:var(--bq-tooltip--text-color)}.shadow-\\[shadow\\:--bq-tooltip--box-shadow\\]{--tw-shadow:var(--bq-tooltip--box-shadow);--tw-shadow-colored:var(--bq-tooltip--box-shadow);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.content-empty{--tw-content:"";content:var(--tw-content)}.bs-2{block-size:.5rem}.is-2{inline-size:.5rem}.is-\\[--bq-tooltip--width\\]{inline-size:var(--bq-tooltip--width)}.max-is-\\[--bq-tooltip--max-width\\]{max-inline-size:var(--bq-tooltip--max-width)}.p-b-\\[--bq-tooltip--paddingY\\]{padding-block:var(--bq-tooltip--paddingY)}.p-i-\\[--bq-tooltip--paddingX\\]{padding-inline:var(--bq-tooltip--paddingX)}.inset-bs-0{inset-block-start:0}@-webkit-keyframes fade-in{0%{opacity:0}}@keyframes fade-in{0%{opacity:0}}@-webkit-keyframes slide-in{0%{-webkit-transform:translateY(10px);transform:translateY(10px)}}@keyframes slide-in{0%{-webkit-transform:translateY(10px);transform:translateY(10px)}}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}:host{--bq-tooltip--background-color:var(--bq-ui--inverse);--bq-tooltip--box-shadow:var(--bq-box-shadow--m);--bq-tooltip--font-size:var(--bq-font-size--m);--bq-tooltip--line-height:var(--bq-font-line-height--regular);--bq-tooltip--text-color:var(--bq-text--inverse);--bq-tooltip--paddingX:var(--bq-spacing-xs);--bq-tooltip--paddingY:var(--bq-spacing-xs2);--bq-tooltip--border-color:transparent;--bq-tooltip--border-radius:var(--bq-radius--s);--bq-tooltip--border-style:none;--bq-tooltip--border-width:unset;--bq-tooltip--max-width:320px;--bq-tooltip--width:max-content;--bq-tooltip--z-index:10}.bq-tooltip--panel{--tw-shadow:var(--bq-tooltip--box-shadow);--tw-shadow-colored:var(--bq-tooltip--box-shadow);-webkit-animation:fade-in .3s ease 0s;animation:fade-in .3s ease 0s;background-color:var(--bq-tooltip--background-color);border-color:var(--bq-tooltip--border-color);border-radius:var(--bq-tooltip--border-radius);border-style:var(--bq-tooltip--border-style);border-width:var(--bq-tooltip--border-width);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-sizing:border-box;color:var(--bq-tooltip--text-color);font-size:var(--bq-tooltip--font-size);inline-size:var(--bq-tooltip--width);line-height:var(--bq-tooltip--line-height);max-inline-size:var(--bq-tooltip--max-width);padding-block:var(--bq-tooltip--paddingY);padding-inline:var(--bq-tooltip--paddingX);pointer-events:none;position:fixed;z-index:var(--bq-tooltip--z-index)}.bq-tooltip--panel[popover]{inset:unset;margin:0;overflow:visible;position:absolute}.bq-tooltip--arrow,.bq-tooltip--arrow:before{block-size:.5rem;inline-size:.5rem;position:absolute;z-index:-1}.bq-tooltip--arrow:before{--tw-rotate:45deg;--tw-content:"";background-color:var(--bq-tooltip--background-color);content:var(--tw-content);inset-block-start:0;inset-inline-start:0}.bq-tooltip--arrow:before,.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.visible{visibility:visible}.static{position:static}.relative{position:relative}.hidden{display:none}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.focus{outline:var(--bq-ring-width,2px) solid var(--bq-ring-color-focus,var(--bq-focus));outline-offset:var(--bq-ring-offset-width,1px)}`;const o=class{constructor(e){a(this,e);this.bqClick=r(this,"bqClick");this.bqFocusIn=r(this,"bqFocusIn");this.bqFocusOut=r(this,"bqFocusOut");this.bqHoverIn=r(this,"bqHoverIn");this.bqHoverOut=r(this,"bqHoverOut")}trigger;panel;arrow;floatingUI;supportsPopover=i();get el(){return e(this)}alwaysVisible=false;distance=10;hideArrow=false;placement="top";sameWidth=false;displayOn="hover";visible=false;async handleVisibleChange(){if(!this.visible&&!this.alwaysVisible){return await this.hide()}await this.show()}handleAlwaysVisibleChange(){if(this.alwaysVisible||this.visible){this.showTooltip();return}this.hideTooltip()}handleFloatingUIOptionsChange(){this.floatingUI?.configure({...!this.hideArrow&&{arrow:this.arrow},placement:this.placement,distance:this.distance,sameWidth:this.sameWidth,strategy:this.floatingStrategy,skidding:0})}bqClick;bqFocusIn;bqFocusOut;bqHoverIn;bqHoverOut;componentDidLoad(){if(this.supportsPopover){this.panel.popover="manual"}this.floatingUI=new t(this.trigger,this.panel,{...!this.hideArrow&&{arrow:this.arrow},placement:this.placement,distance:this.distance,sameWidth:this.sameWidth,strategy:this.floatingStrategy,skidding:0});if(this.visible||this.alwaysVisible){this.showTooltip()}}componentDidRender(){const a=this.hideArrow?null:this.arrow;if(!this.floatingUI||this.floatingUI.options.arrow===a)return;this.floatingUI.configure({arrow:a})}connectedCallback(){if(!this.floatingUI||!this.visible&&!this.alwaysVisible)return;this.showTooltip()}disconnectedCallback(){this.floatingUI?.stop()}handleDocumentKeyDown(a){if(this.alwaysVisible||!this.visible||this.displayOn!=="click")return;if(a.key!=="Escape")return;this.hide()}handleDocumentMouseDown(a){if(this.alwaysVisible||!this.visible)return;if(n(a,this.el))return;this.hide()}handleDocumentScroll(){if(this.alwaysVisible||!this.visible)return;this.hide()}async show(){this.visible=true;this.showTooltip()}async hide(){if(this.alwaysVisible)return;this.visible=false;this.hideTooltip()}handleTriggerMouseOver=async()=>{if(this.displayOn!=="hover")return;const a=this.bqHoverIn.emit(this.el);if(a.defaultPrevented)return;await this.show()};handleTriggerMouseLeave=async()=>{if(this.displayOn!=="hover")return;const a=this.bqHoverOut.emit(this.el);if(a.defaultPrevented)return;await this.hide()};handleTriggerOnClick=async()=>{if(this.displayOn!=="click")return;const a=this.bqClick.emit(this.el);if(a.defaultPrevented)return;await(this.visible?this.hide():this.show())};handleTriggerFocusin=async()=>{if(this.visible||this.displayOn==="click")return;const a=this.bqFocusIn.emit(this.el);if(a.defaultPrevented)return;await this.show()};handleTriggerFocusout=async()=>{if(!this.visible||this.displayOn==="click")return;const a=this.bqFocusOut.emit(this.el);if(a.defaultPrevented)return;await this.hide()};showTooltip=()=>{if(!this.panel)return;if(this.supportsPopover&&!this.panel.matches(":popover-open")){this.panel.showPopover()}this.floatingUI?.start()};hideTooltip=()=>{if(!this.panel)return;this.floatingUI?.stop();if(this.supportsPopover&&this.panel.matches(":popover-open")){this.panel.hidePopover()}this.visible=false};get floatingStrategy(){return this.supportsPopover?"absolute":"fixed"}get isHidden(){return!this.visible&&!this.alwaysVisible}render(){return b("div",{key:"ee9c0ef2273ac7fe6dfb0be9133309e2c667d0d4",class:"bq-tooltip relative",part:"base"},b("div",{key:"659ef342fc16bb17fcd31ecec65d227716ec19d6",class:"bq-tooltip--trigger",onClick:this.handleTriggerOnClick,onFocusin:this.handleTriggerFocusin,onFocusout:this.handleTriggerFocusout,onMouseEnter:this.handleTriggerMouseOver,onMouseLeave:this.handleTriggerMouseLeave,part:"trigger",ref:a=>{this.trigger=a}},b("slot",{key:"ca06aec8248f0697046e955496aeea7f576b668c",name:"trigger"})),b("div",{key:"e0c6aeb17ef8389ee2b94bf539fe18b75e2b3efe","aria-hidden":String(this.isHidden),class:"bq-tooltip--panel",hidden:this.supportsPopover?undefined:this.isHidden,part:"panel",ref:a=>{this.panel=a},role:"tooltip"},!this.hideArrow&&b("div",{key:"b8a15a30ca88f460c957e99ed28492e967070d39",class:"bq-tooltip--arrow",ref:a=>{this.arrow=a}}),b("slot",{key:"da5bc5041f93451b355f383add0a72891168b79d"})))}static get watchers(){return{visible:[{handleVisibleChange:0}],alwaysVisible:[{handleAlwaysVisibleChange:0}],distance:[{handleFloatingUIOptionsChange:0}],placement:[{handleFloatingUIOptionsChange:0}],sameWidth:[{handleFloatingUIOptionsChange:0}]}}};o.style=q();export{o as bq_tooltip};
6
+ //# sourceMappingURL=p-923da026.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["bqTooltipCss","BqTooltip","trigger","panel","arrow","floatingUI","supportsPopover","isPopoverSupported","alwaysVisible","distance","hideArrow","placement","sameWidth","displayOn","visible","handleVisibleChange","this","hide","show","handleAlwaysVisibleChange","showTooltip","hideTooltip","handleFloatingUIOptionsChange","configure","strategy","floatingStrategy","skidding","bqClick","bqFocusIn","bqFocusOut","bqHoverIn","bqHoverOut","componentDidLoad","popover","FloatingUI","componentDidRender","options","connectedCallback","disconnectedCallback","stop","handleDocumentKeyDown","event","key","handleDocumentMouseDown","isEventTargetChildOfElement","el","handleDocumentScroll","handleTriggerMouseOver","async","hoverEvent","emit","defaultPrevented","handleTriggerMouseLeave","handleTriggerOnClick","clickEvent","handleTriggerFocusin","focusEvent","handleTriggerFocusout","matches","showPopover","start","hidePopover","isHidden","render","h","class","part","onClick","onFocusin","onFocusout","onMouseEnter","onMouseLeave","ref","name","String","hidden","undefined","role"],"sources":["../../packages/beeq/src/components/tooltip/scss/bq-tooltip.scss?tag=bq-tooltip&encapsulation=shadow","../../packages/beeq/src/components/tooltip/bq-tooltip.tsx"],"sourcesContent":["/* -------------------------------------------------------------------------- */\n/* Tooltip styles */\n/* -------------------------------------------------------------------------- */\n\n@import './bq-tooltip.variables';\n\n.bq-tooltip--panel {\n @include animation-fade-in;\n @apply pointer-events-none fixed z-[--bq-tooltip--z-index] box-border bg-[--bq-tooltip--background-color];\n @apply is-[--bq-tooltip--width] max-is-[--bq-tooltip--max-width] p-b-[--bq-tooltip--paddingY] p-i-[--bq-tooltip--paddingX];\n @apply text-[length:--bq-tooltip--font-size] leading-[--bq-tooltip--line-height] text-[color:--bq-tooltip--text-color];\n @apply rounded-[--bq-tooltip--border-radius] border-[length:--bq-tooltip--border-width] border-[color:--bq-tooltip--border-color];\n @apply shadow-[shadow:--bq-tooltip--box-shadow];\n\n border-style: var(--bq-tooltip--border-style);\n\n &[popover] {\n @apply absolute m-0 overflow-visible inset-[unset];\n }\n}\n\n.bq-tooltip--arrow {\n &,\n &::before {\n @apply absolute -z-[1] bs-2 is-2;\n }\n\n &::before {\n @apply start-0 rotate-45 bg-[--bq-tooltip--background-color] content-empty inset-bs-0;\n }\n}\n","import type { EventEmitter } from '@stencil/core';\nimport { Component, Element, Event, h, Listen, Method, Prop, Watch } from '@stencil/core';\n\nimport type { Placement } from '../../services/interfaces';\nimport { FloatingUI } from '../../services/libraries';\nimport { isEventTargetChildOfElement, isPopoverSupported } from '../../shared/utils';\n\n/**\n * The Tooltip component is a small pop-up box that appears when a user hovers over or clicks on an element, providing additional information or context.\n *\n * @example How to use it\n * ```html\n * <bq-tooltip visible>\n * Yuhu! I'm a tooltip 🙃\n * <bq-button slot=\"trigger\">Hover me!</bq-button>\n * </bq-tooltip>\n * ```\n *\n * @documentation https://www.beeq.design/3d466e231/p/64c562-tooltip\n * @status stable\n *\n * @attr {boolean} always-visible - If true, the tooltip will always be visible\n * @attr {number} distance - Distance between trigger element and tooltip\n * @attr {boolean} hide-arrow - If true, the arrow on the tooltip content won't be shown\n * @attr {\"top\" | \"right\" | \"bottom\" | \"left\"} placement - Defines the position of the tooltip\n * @attr {boolean} same-width - Whether the tooltip should have the same width as the trigger element (applicable only for content shorter than the trigger element)\n * @attr {\"click\" | \"hover\"} display-on - Set the action when the tooltip should be displayed, on hover (default) or click\n * @attr {boolean} visible - Indicates whether or not the tooltip is visible when the component is first rendered, and when interacting with the trigger\n *\n * @method show - Shows the tooltip\n * @method hide - Hides the tooltip\n *\n * @slot trigger - The element which displays tooltip on hover\n * @slot - The tooltip content\n *\n * @part base - The component wrapper container inside the shadow DOM\n * @part trigger - The `<div>` container that holds the element which displays tooltip on hover\n * @part panel - The `<div>` container that holds the tooltip content\n *\n * @cssprop --bq-tooltip--background-color - Tooltip background color\n * @cssprop --bq-tooltip--box-shadow - Tooltip box shadow\n * @cssprop --bq-tooltip--font-size - Tooltip font size\n * @cssprop --bq-tooltip--line-height - Tooltip line height\n * @cssprop --bq-tooltip--text-color - Tooltip text color\n * @cssprop --bq-tooltip--paddingX - Tooltip horizontal padding\n * @cssprop --bq-tooltip--paddingY - Tooltip vertical padding\n * @cssprop --bq-tooltip--border-color - Tooltip border color\n * @cssprop --bq-tooltip--border-radius - Tooltip border radius\n * @cssprop --bq-tooltip--border-style - Tooltip border style\n * @cssprop --bq-tooltip--border-width - Tooltip border width\n * @cssprop --bq-tooltip--z-index: Tooltip z-index\n */\n@Component({\n tag: 'bq-tooltip',\n styleUrl: './scss/bq-tooltip.scss',\n shadow: true,\n})\nexport class BqTooltip {\n // Own Properties\n // ====================\n private trigger: HTMLElement;\n private panel: HTMLElement;\n private arrow: HTMLElement;\n private floatingUI: FloatingUI;\n /**\n * Whether the runtime supports the HTML Popover API. When `true`, the\n * panel is promoted to the browser top layer via `showPopover()`, which\n * bypasses containing blocks created by ancestor `transform`, `filter`,\n * `contain`, `will-change`, etc. When `false`, the panel remains a\n * regular `position: fixed` element in the shadow root, which still\n * covers the common case but is subject to those containing-block\n * quirks.\n */\n private readonly supportsPopover = isPopoverSupported();\n\n // Reference to host HTML element\n // ===================================\n @Element() el!: HTMLBqTooltipElement;\n\n // State() variables\n // Inlined decorator, alphabetical order\n // =======================================\n\n // Public Property API\n // ========================\n\n /** If true, the tooltip will always be visible */\n @Prop() alwaysVisible?: boolean = false;\n\n /** Distance between trigger element and tooltip */\n @Prop({ reflect: true }) distance?: number = 10;\n\n /** If true, the arrow on the tooltip content won't be shown */\n @Prop({ reflect: true }) hideArrow?: boolean = false;\n\n /* Defines the position of the tooltip */\n @Prop({ reflect: true }) placement?: Placement = 'top';\n\n /** Whether the tooltip should have the same width as the trigger element\n * (applicable only for content shorter than the trigger element) */\n @Prop({ reflect: true }) sameWidth?: boolean = false;\n\n /** Set the action when the tooltip should be displayed, on hover (default) or click */\n @Prop({ reflect: true }) displayOn: 'click' | 'hover' = 'hover';\n\n /**\n * Indicates whether or not the tooltip is visible when the component is first rendered,\n * and when interacting with the trigger\n */\n @Prop({ reflect: true, mutable: true }) visible? = false;\n\n // Prop lifecycle events\n // =======================\n\n @Watch('visible')\n async handleVisibleChange() {\n if (!this.visible && !this.alwaysVisible) {\n return await this.hide();\n }\n\n await this.show();\n }\n\n @Watch('alwaysVisible')\n handleAlwaysVisibleChange() {\n if (this.alwaysVisible || this.visible) {\n this.showTooltip();\n return;\n }\n this.hideTooltip();\n }\n\n @Watch('distance')\n @Watch('placement')\n @Watch('sameWidth')\n handleFloatingUIOptionsChange() {\n this.floatingUI?.configure({\n ...(!this.hideArrow && { arrow: this.arrow }),\n placement: this.placement,\n distance: this.distance,\n sameWidth: this.sameWidth,\n strategy: this.floatingStrategy,\n skidding: 0,\n });\n }\n\n // Events section\n // Requires JSDocs for public API documentation\n // ==============================================\n\n /** Emitted when the tooltip trigger is clicked */\n @Event() bqClick: EventEmitter<HTMLBqTooltipElement>;\n\n /** Emitted when the tooltip trigger is focused in */\n @Event() bqFocusIn: EventEmitter<HTMLBqTooltipElement>;\n\n /** Emitted when the tooltip trigger is focused out */\n @Event() bqFocusOut: EventEmitter<HTMLBqTooltipElement>;\n\n /** Emitted when the tooltip trigger is hovered in */\n @Event() bqHoverIn: EventEmitter<HTMLBqTooltipElement>;\n\n /** Emitted when the tooltip trigger is hovered out */\n @Event() bqHoverOut: EventEmitter<HTMLBqTooltipElement>;\n\n // Component lifecycle events\n // Ordered by their natural call order\n // =====================================\n\n componentDidLoad() {\n // Promote the panel to the top layer when the Popover API is available.\n // This escapes containing blocks created by ancestor `transform`,\n // `filter`, `contain`, `will-change`, etc., which is the root cause of\n // scroll-related tooltip drift inside virtualised or transformed\n // containers (e.g. tall tables, dialogs). We use `manual` mode so BEEQ\n // keeps full control of show/hide semantics (delegated close, focus,\n // Escape) instead of the browser's `auto` light-dismiss behaviour.\n if (this.supportsPopover) {\n this.panel.popover = 'manual';\n }\n\n this.floatingUI = new FloatingUI(this.trigger, this.panel, {\n ...(!this.hideArrow && { arrow: this.arrow }),\n placement: this.placement,\n distance: this.distance,\n sameWidth: this.sameWidth,\n strategy: this.floatingStrategy,\n skidding: 0,\n });\n\n // Honour the initial `visible` / `always-visible` props. Stencil's\n // `@Watch('visible')` does not fire for the initial value, so components\n // rendered with `visible` already true (or `always-visible`) would\n // otherwise stay hidden — in the Popover path because `showPopover()`\n // is only called from `show()`, and in the fallback path because the\n // panel's `hidden` attribute reflects the state at first render but\n // Floating UI would not have run a first positioning pass. Calling\n // `showTooltip()` here guarantees a consistent first paint.\n if (this.visible || this.alwaysVisible) {\n this.showTooltip();\n }\n }\n\n componentDidRender() {\n const arrow = this.hideArrow ? null : this.arrow;\n if (!this.floatingUI || this.floatingUI.options.arrow === arrow) return;\n this.floatingUI.configure({ arrow });\n }\n\n connectedCallback() {\n if (!this.floatingUI || (!this.visible && !this.alwaysVisible)) return;\n this.showTooltip();\n }\n\n disconnectedCallback() {\n this.floatingUI?.stop();\n }\n\n // Listeners\n // ==============\n\n @Listen('keydown', { target: 'document' })\n handleDocumentKeyDown(event: KeyboardEvent) {\n // Early returns for performance optimization\n if (this.alwaysVisible || !this.visible || this.displayOn !== 'click') return;\n // Hide tooltip when the user presses the escape key, but only if the displayOn is click and the tooltip is visible\n if (event.key !== 'Escape') return;\n\n this.hide();\n }\n\n @Listen('mousedown', { target: 'document' })\n handleDocumentMouseDown(event: MouseEvent) {\n // Early returns for performance optimization\n if (this.alwaysVisible || !this.visible) return;\n // Hide tooltip when the user clicks outside of the tooltip, but only if the displayOn is click and the tooltip is visible\n if (isEventTargetChildOfElement(event, this.el)) return;\n\n this.hide();\n }\n\n @Listen('scroll', { target: 'document', passive: true, capture: true })\n handleDocumentScroll() {\n // Early returns for performance optimization\n if (this.alwaysVisible || !this.visible) return;\n // Hide tooltip when the user scrolls, but only if the the tooltip is visible\n this.hide();\n }\n\n // Public methods API\n // These methods are exposed on the host element.\n // Always use two lines.\n // Public Methods must be async.\n // Requires JSDocs for public API documentation.\n // ===============================================\n\n /** Shows the tooltip */\n @Method()\n async show() {\n this.visible = true;\n this.showTooltip();\n }\n\n /** Hides the tooltip */\n @Method()\n async hide() {\n if (this.alwaysVisible) return;\n\n this.visible = false;\n this.hideTooltip();\n }\n\n // Local methods\n // Internal business logic.\n // These methods cannot be called from the host element.\n // =======================================================\n\n private handleTriggerMouseOver = async () => {\n if (this.displayOn !== 'hover') return;\n\n const hoverEvent = this.bqHoverIn.emit(this.el);\n if (hoverEvent.defaultPrevented) return;\n\n await this.show();\n };\n\n private handleTriggerMouseLeave = async () => {\n if (this.displayOn !== 'hover') return;\n\n const hoverEvent = this.bqHoverOut.emit(this.el);\n if (hoverEvent.defaultPrevented) return;\n\n await this.hide();\n };\n\n private handleTriggerOnClick = async () => {\n if (this.displayOn !== 'click') return;\n\n const clickEvent = this.bqClick.emit(this.el);\n if (clickEvent.defaultPrevented) return;\n\n await (this.visible ? this.hide() : this.show());\n };\n\n private handleTriggerFocusin = async () => {\n if (this.visible || this.displayOn === 'click') return;\n\n const focusEvent = this.bqFocusIn.emit(this.el);\n if (focusEvent.defaultPrevented) return;\n\n await this.show();\n };\n\n private handleTriggerFocusout = async () => {\n if (!this.visible || this.displayOn === 'click') return;\n\n const focusEvent = this.bqFocusOut.emit(this.el);\n if (focusEvent.defaultPrevented) return;\n\n await this.hide();\n };\n\n private showTooltip = () => {\n if (!this.panel) return;\n if (this.supportsPopover && !this.panel.matches(':popover-open')) {\n this.panel.showPopover();\n }\n this.floatingUI?.start();\n };\n\n private hideTooltip = () => {\n if (!this.panel) return;\n this.floatingUI?.stop();\n if (this.supportsPopover && this.panel.matches(':popover-open')) {\n this.panel.hidePopover();\n }\n this.visible = false;\n };\n\n private get floatingStrategy(): 'absolute' | 'fixed' {\n return this.supportsPopover ? 'absolute' : 'fixed';\n }\n\n private get isHidden() {\n return !this.visible && !this.alwaysVisible;\n }\n\n // render() function\n // Always the last one in the class.\n // ===================================\n\n render() {\n return (\n <div class=\"bq-tooltip relative\" part=\"base\">\n {/* TRIGGER */}\n {/**\n * NOTE: We could use a native HTML button as trigger container, but it causes issues with\n * certain interactive elements inside the trigger slot (e.g., buttons, links, inputs...).\n * This is because nested interactive elements are not allowed inside a button.\n * Also, that will force the user to focus twice to reach the inner interactive element.\n */}\n {/** biome-ignore lint/a11y/noStaticElementInteractions: bypass the \"Static Elements should not be interactive.\" rule */}\n {/** biome-ignore lint/a11y/useKeyWithClickEvents: bypass the \"Enforce to have the onClick mouse event with the onKeyUp, the onKeyDown, or the onKeyPress keyboard event.\" rule */}\n <div\n class=\"bq-tooltip--trigger\"\n onClick={this.handleTriggerOnClick}\n onFocusin={this.handleTriggerFocusin}\n onFocusout={this.handleTriggerFocusout}\n onMouseEnter={this.handleTriggerMouseOver}\n onMouseLeave={this.handleTriggerMouseLeave}\n part=\"trigger\"\n ref={(el: HTMLDivElement) => {\n this.trigger = el;\n }}\n >\n <slot name=\"trigger\" />\n </div>\n {/* PANEL */}\n {/*\n * When the Popover API is supported, visibility is driven imperatively\n * via `showPopover()` / `hidePopover()`. Setting `hidden={true}` in that\n * mode would force `display: none`, which makes `showPopover()` throw\n * an `InvalidStateError`. In the fallback path we keep the `hidden`\n * attribute so consumers without the Popover API keep the original\n * visibility behaviour.\n */}\n <div\n aria-hidden={String(this.isHidden)}\n class=\"bq-tooltip--panel\"\n hidden={this.supportsPopover ? undefined : this.isHidden}\n part=\"panel\"\n ref={(el: HTMLDivElement) => {\n this.panel = el;\n }}\n role=\"tooltip\"\n >\n {!this.hideArrow && (\n <div\n class=\"bq-tooltip--arrow\"\n ref={(el: HTMLDivElement) => {\n this.arrow = el;\n }}\n />\n )}\n <slot />\n </div>\n </div>\n );\n }\n}\n"],"mappings":";;;;gKAAA,MAAMA,EAAe,IAAM,2/uB,MCyDdC,EAAS,M,wMAGZC,QACAC,MACAC,MACAC,WAUSC,gBAAkBC,I,wBAc3BC,cAA0B,MAGTC,SAAoB,GAGpBC,UAAsB,MAGtBC,UAAwB,MAIxBC,UAAsB,MAGtBC,UAA+B,QAMhBC,QAAW,MAMnD,yBAAMC,GACJ,IAAKC,KAAKF,UAAYE,KAAKR,cAAe,CACxC,aAAaQ,KAAKC,M,OAGdD,KAAKE,M,CAIb,yBAAAC,GACE,GAAIH,KAAKR,eAAiBQ,KAAKF,QAAS,CACtCE,KAAKI,cACL,M,CAEFJ,KAAKK,a,CAMP,6BAAAC,GACEN,KAAKX,YAAYkB,UAAU,KACpBP,KAAKN,WAAa,CAAEN,MAAOY,KAAKZ,OACrCO,UAAWK,KAAKL,UAChBF,SAAUO,KAAKP,SACfG,UAAWI,KAAKJ,UAChBY,SAAUR,KAAKS,iBACfC,SAAU,G,CASLC,QAGAC,UAGAC,WAGAC,UAGAC,WAMT,gBAAAC,GAQE,GAAIhB,KAAKV,gBAAiB,CACxBU,KAAKb,MAAM8B,QAAU,Q,CAGvBjB,KAAKX,WAAa,IAAI6B,EAAWlB,KAAKd,QAASc,KAAKb,MAAO,KACpDa,KAAKN,WAAa,CAAEN,MAAOY,KAAKZ,OACrCO,UAAWK,KAAKL,UAChBF,SAAUO,KAAKP,SACfG,UAAWI,KAAKJ,UAChBY,SAAUR,KAAKS,iBACfC,SAAU,IAWZ,GAAIV,KAAKF,SAAWE,KAAKR,cAAe,CACtCQ,KAAKI,a,EAIT,kBAAAe,GACE,MAAM/B,EAAQY,KAAKN,UAAY,KAAOM,KAAKZ,MAC3C,IAAKY,KAAKX,YAAcW,KAAKX,WAAW+B,QAAQhC,QAAUA,EAAO,OACjEY,KAAKX,WAAWkB,UAAU,CAAEnB,S,CAG9B,iBAAAiC,GACE,IAAKrB,KAAKX,aAAgBW,KAAKF,UAAYE,KAAKR,cAAgB,OAChEQ,KAAKI,a,CAGP,oBAAAkB,GACEtB,KAAKX,YAAYkC,M,CAOnB,qBAAAC,CAAsBC,GAEpB,GAAIzB,KAAKR,gBAAkBQ,KAAKF,SAAWE,KAAKH,YAAc,QAAS,OAEvE,GAAI4B,EAAMC,MAAQ,SAAU,OAE5B1B,KAAKC,M,CAIP,uBAAA0B,CAAwBF,GAEtB,GAAIzB,KAAKR,gBAAkBQ,KAAKF,QAAS,OAEzC,GAAI8B,EAA4BH,EAAOzB,KAAK6B,IAAK,OAEjD7B,KAAKC,M,CAIP,oBAAA6B,GAEE,GAAI9B,KAAKR,gBAAkBQ,KAAKF,QAAS,OAEzCE,KAAKC,M,CAYP,UAAMC,GACJF,KAAKF,QAAU,KACfE,KAAKI,a,CAKP,UAAMH,GACJ,GAAID,KAAKR,cAAe,OAExBQ,KAAKF,QAAU,MACfE,KAAKK,a,CAQC0B,uBAAyBC,UAC/B,GAAIhC,KAAKH,YAAc,QAAS,OAEhC,MAAMoC,EAAajC,KAAKc,UAAUoB,KAAKlC,KAAK6B,IAC5C,GAAII,EAAWE,iBAAkB,aAE3BnC,KAAKE,MAAM,EAGXkC,wBAA0BJ,UAChC,GAAIhC,KAAKH,YAAc,QAAS,OAEhC,MAAMoC,EAAajC,KAAKe,WAAWmB,KAAKlC,KAAK6B,IAC7C,GAAII,EAAWE,iBAAkB,aAE3BnC,KAAKC,MAAM,EAGXoC,qBAAuBL,UAC7B,GAAIhC,KAAKH,YAAc,QAAS,OAEhC,MAAMyC,EAAatC,KAAKW,QAAQuB,KAAKlC,KAAK6B,IAC1C,GAAIS,EAAWH,iBAAkB,aAE1BnC,KAAKF,QAAUE,KAAKC,OAASD,KAAKE,OAAO,EAG1CqC,qBAAuBP,UAC7B,GAAIhC,KAAKF,SAAWE,KAAKH,YAAc,QAAS,OAEhD,MAAM2C,EAAaxC,KAAKY,UAAUsB,KAAKlC,KAAK6B,IAC5C,GAAIW,EAAWL,iBAAkB,aAE3BnC,KAAKE,MAAM,EAGXuC,sBAAwBT,UAC9B,IAAKhC,KAAKF,SAAWE,KAAKH,YAAc,QAAS,OAEjD,MAAM2C,EAAaxC,KAAKa,WAAWqB,KAAKlC,KAAK6B,IAC7C,GAAIW,EAAWL,iBAAkB,aAE3BnC,KAAKC,MAAM,EAGXG,YAAc,KACpB,IAAKJ,KAAKb,MAAO,OACjB,GAAIa,KAAKV,kBAAoBU,KAAKb,MAAMuD,QAAQ,iBAAkB,CAChE1C,KAAKb,MAAMwD,a,CAEb3C,KAAKX,YAAYuD,OAAO,EAGlBvC,YAAc,KACpB,IAAKL,KAAKb,MAAO,OACjBa,KAAKX,YAAYkC,OACjB,GAAIvB,KAAKV,iBAAmBU,KAAKb,MAAMuD,QAAQ,iBAAkB,CAC/D1C,KAAKb,MAAM0D,a,CAEb7C,KAAKF,QAAU,KAAK,EAGtB,oBAAYW,GACV,OAAOT,KAAKV,gBAAkB,WAAa,O,CAG7C,YAAYwD,GACV,OAAQ9C,KAAKF,UAAYE,KAAKR,a,CAOhC,MAAAuD,GACE,OACEC,EAAA,OAAAtB,IAAA,2CAAKuB,MAAM,sBAAsBC,KAAK,QAUpCF,EAAA,OAAAtB,IAAA,2CACEuB,MAAM,sBACNE,QAASnD,KAAKqC,qBACde,UAAWpD,KAAKuC,qBAChBc,WAAYrD,KAAKyC,sBACjBa,aAActD,KAAK+B,uBACnBwB,aAAcvD,KAAKoC,wBACnBc,KAAK,UACLM,IAAM3B,IACJ7B,KAAKd,QAAU2C,CAAE,GAGnBmB,EAAA,QAAAtB,IAAA,2CAAM+B,KAAK,aAWbT,EAAA,OAAAtB,IAAA,yDACegC,OAAO1D,KAAK8C,UACzBG,MAAM,oBACNU,OAAQ3D,KAAKV,gBAAkBsE,UAAY5D,KAAK8C,SAChDI,KAAK,QACLM,IAAM3B,IACJ7B,KAAKb,MAAQ0C,CAAE,EAEjBgC,KAAK,YAEH7D,KAAKN,WACLsD,EAAA,OAAAtB,IAAA,2CACEuB,MAAM,oBACNO,IAAM3B,IACJ7B,KAAKZ,MAAQyC,CAAE,IAIrBmB,EAAA,QAAAtB,IAAA,8C","ignoreList":[]}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Built by Endavans
3
+ * © https://beeq.design - Apache 2 License.
4
+ */
5
+ const t=["top","right","bottom","left"];const n=Math.min;const e=Math.max;const o=Math.round;const i=Math.floor;const s=t=>({x:t,y:t});const r={left:"right",right:"left",bottom:"top",top:"bottom"};function c(t,o,i){return e(t,n(o,i))}function l(t,n){return typeof t==="function"?t(n):t}function a(t){return t.split("-")[0]}function f(t){return t.split("-")[1]}function u(t){return t==="x"?"y":"x"}function d(t){return t==="y"?"height":"width"}function h(t){const n=t[0];return n==="t"||n==="b"?"y":"x"}function p(t){return u(h(t))}function m(t,n,e){if(e===void 0){e=false}const o=f(t);const i=p(t);const s=d(i);let r=i==="x"?o===(e?"end":"start")?"right":"left":o==="start"?"bottom":"top";if(n.reference[s]>n.floating[s]){r=O(r)}return[r,O(r)]}function y(t){const n=O(t);return[w(t),n,w(n)]}function w(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}const g=["left","right"];const x=["right","left"];const v=["top","bottom"];const b=["bottom","top"];function A(t,n,e){switch(t){case"top":case"bottom":if(e)return n?x:g;return n?g:x;case"left":case"right":return n?v:b;default:return[]}}function S(t,n,e,o){const i=f(t);let s=A(a(t),e==="start",o);if(i){s=s.map((t=>t+"-"+i));if(n){s=s.concat(s.map(w))}}return s}function O(t){const n=a(t);return r[n]+t.slice(n.length)}function F(t){var n,e,o,i;return{top:(n=t.top)!=null?n:0,right:(e=t.right)!=null?e:0,bottom:(o=t.bottom)!=null?o:0,left:(i=t.left)!=null?i:0}}function R(t){return typeof t!=="number"?F(t):{top:t,right:t,bottom:t,left:t}}function k(t){const{x:n,y:e,width:o,height:i}=t;return{width:o,height:i,top:e,left:n,right:n+o,bottom:e+i,x:n,y:e}}function C(t,n,e){let{reference:o,floating:i}=t;const s=h(n);const r=p(n);const c=d(r);const l=a(n);const u=s==="y";const m=o.x+o.width/2-i.width/2;const y=o.y+o.height/2-i.height/2;const w=o[c]/2-i[c]/2;let g;switch(l){case"top":g={x:m,y:o.y-i.height};break;case"bottom":g={x:m,y:o.y+o.height};break;case"right":g={x:o.x+o.width,y};break;case"left":g={x:o.x-i.width,y};break;default:g={x:o.x,y:o.y}}const x=f(n);if(x){g[r]+=w*(x==="end"?1:-1)*(e&&u?-1:1)}return g}async function P(t,n){var e;if(n===void 0){n={}}const{x:o,y:i,platform:s,rects:r,elements:c,strategy:a}=t;const{boundary:f="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:h=false,padding:p=0}=l(n,t);const m=R(p);const y=d==="floating"?"reference":"floating";const w=c[h?y:d];const g=k(await s.getClippingRect({element:((e=await(s.isElement==null?void 0:s.isElement(w)))!=null?e:true)?w:w.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(c.floating)),boundary:f,rootBoundary:u,strategy:a}));const x=d==="floating"?{x:o,y:i,width:r.floating.width,height:r.floating.height}:r.reference;const v=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c.floating));const b=await(s.isElement==null?void 0:s.isElement(v))&&await(s.getScale==null?void 0:s.getScale(v))||{x:1,y:1};const A=k(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:x,offsetParent:v,strategy:a}):x);return{top:(g.top-A.top+m.top)/b.y,bottom:(A.bottom-g.bottom+m.bottom)/b.y,left:(g.left-A.left+m.left)/b.x,right:(A.right-g.right+m.right)/b.x}}const M=50;const z=async(t,n,e)=>{const{placement:o="bottom",strategy:i="absolute",middleware:s=[],platform:r}=e;const c=r.detectOverflow?r:{...r,detectOverflow:P};const l=await(r.isRTL==null?void 0:r.isRTL(n));let a=await r.getElementRects({reference:t,floating:n,strategy:i});let{x:f,y:u}=C(a,o,l);let d=o;let h=0;const p={};for(let e=0;e<s.length;e++){const m=s[e];if(!m){continue}const{name:y,fn:w}=m;const{x:g,y:x,data:v,reset:b}=await w({x:f,y:u,initialPlacement:o,placement:d,strategy:i,middlewareData:p,rects:a,platform:c,elements:{reference:t,floating:n}});f=g!=null?g:f;u=x!=null?x:u;p[y]={...p[y],...v};if(b&&h<M){h++;if(typeof b==="object"){if(b.placement){d=b.placement}if(b.rects){a=b.rects===true?await r.getElementRects({reference:t,floating:n,strategy:i}):b.rects}({x:f,y:u}=C(a,d,l))}e=-1}}return{x:f,y:u,placement:d,strategy:i,middlewareData:p}};const D=t=>({name:"arrow",options:t,async fn(e){const{x:o,y:i,placement:s,rects:r,platform:a,elements:u,middlewareData:h}=e;const{element:m,padding:y=0}=l(t,e)||{};if(m==null){return{}}const w=R(y);const g={x:o,y:i};const x=p(s);const v=d(x);const b=await a.getDimensions(m);const A=x==="y";const S=A?"top":"left";const O=A?"bottom":"right";const F=A?"clientHeight":"clientWidth";const k=r.reference[v]+r.reference[x]-g[x]-r.floating[v];const C=g[x]-r.reference[x];const P=await(a.getOffsetParent==null?void 0:a.getOffsetParent(m));let M=P?P[F]:0;if(!M||!await(a.isElement==null?void 0:a.isElement(P))){M=u.floating[F]||r.floating[v]}const z=k/2-C/2;const D=M/2-b[v]/2-1;const T=n(w[S],D);const $=n(w[O],D);const H=M-b[v]-$;const L=M/2-b[v]/2+z;const j=c(T,L,H);const B=!h.arrow&&f(s)!=null&&L!==j&&r.reference[v]/2-(L<T?T:$)-b[v]/2<0;const E=B?L<T?L-T:L-H:0;return{[x]:g[x]+E,data:{[x]:j,centerOffset:L-j-E,...B&&{alignmentOffset:E}},reset:B}}});const T=function(t){if(t===void 0){t={}}return{name:"flip",options:t,async fn(n){var e,o;const{placement:i,middlewareData:s,rects:r,initialPlacement:c,platform:f,elements:u}=n;const{mainAxis:d=true,crossAxis:p=true,fallbackPlacements:w,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:v=true,...b}=l(t,n);if((e=s.arrow)!=null&&e.alignmentOffset){return{}}const A=a(i);const F=h(c);const R=a(c)===c;const k=await(f.isRTL==null?void 0:f.isRTL(u.floating));const C=w||(R||!v?[O(c)]:y(c));const P=x!=="none";if(!w&&P){C.push(...S(c,v,x,k))}const M=[c,...C];const z=await f.detectOverflow(n,b);const D=[];let T=((o=s.flip)==null?void 0:o.overflows)||[];if(d){D.push(z[A])}if(p){const t=m(i,r,k);D.push(z[t[0]],z[t[1]])}T=[...T,{placement:i,overflows:D}];if(!D.every((t=>t<=0))){var $,H;const t=((($=s.flip)==null?void 0:$.index)||0)+1;const n=M[t];if(n){const e=p==="alignment"?F!==h(n):false;if(!e||T.every((t=>h(t.placement)===F?t.overflows[0]>0:true))){return{data:{index:t,overflows:T},reset:{placement:n}}}}let e=(H=T.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])==null?void 0:H.placement;if(!e){switch(g){case"bestFit":{var L;const t=(L=T.filter((t=>{if(P){const n=h(t.placement);return n===F||n==="y"}return true})).map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])==null?void 0:L[0];if(t){e=t}break}case"initialPlacement":e=c;break}}if(i!==e){return{reset:{placement:e}}}}return{}}}};function $(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function H(n){return t.some((t=>n[t]>=0))}const L=function(t){if(t===void 0){t={}}return{name:"hide",options:t,async fn(n){const{rects:e,platform:o}=n;const{strategy:i="referenceHidden",...s}=l(t,n);switch(i){case"referenceHidden":{const t=await o.detectOverflow(n,{...s,elementContext:"reference"});const i=$(t,e.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:H(i)}}}case"escaped":{const t=await o.detectOverflow(n,{...s,altBoundary:true});const i=$(t,e.floating);return{data:{escapedOffsets:i,escaped:H(i)}}}default:{return{}}}}}};const j=new Set(["left","top"]);async function B(t,n){const{placement:e,platform:o,elements:i}=t;const s=await(o.isRTL==null?void 0:o.isRTL(i.floating));const r=a(e);const c=f(e);const u=h(e)==="y";const d=j.has(r)?-1:1;const p=s&&u?-1:1;const m=l(n,t);let{mainAxis:y,crossAxis:w,alignmentAxis:g}=typeof m==="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};if(c&&typeof g==="number"){w=c==="end"?g*-1:g}return u?{x:w*p,y:y*d}:{x:y*d,y:w*p}}const E=function(t){if(t===void 0){t=0}return{name:"offset",options:t,async fn(n){var e,o;const{x:i,y:s,placement:r,middlewareData:c}=n;const l=await B(n,t);if(r===((e=c.offset)==null?void 0:e.placement)&&(o=c.arrow)!=null&&o.alignmentOffset){return{}}return{x:i+l.x,y:s+l.y,data:{...l,placement:r}}}}};const I=function(t){if(t===void 0){t={}}return{name:"shift",options:t,async fn(n){const{x:e,y:o,placement:i,platform:s}=n;const{mainAxis:r=true,crossAxis:a=false,limiter:f={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...d}=l(t,n);const p={x:e,y:o};const m=await s.detectOverflow(n,d);const y=h(i);const w=u(y);let g=p[w];let x=p[y];const v=(t,n)=>c(n+m[t==="y"?"top":"left"],n,n-m[t==="y"?"bottom":"right"]);if(r){g=v(w,g)}if(a){x=v(y,x)}const b=f.fn({...n,[w]:g,[y]:x});return{...b,data:{x:b.x-e,y:b.y-o,enabled:{[w]:r,[y]:a}}}}}};const V=function(t){if(t===void 0){t={}}return{name:"size",options:t,async fn(o){const{placement:i,rects:s,platform:r,elements:c}=o;const{apply:u=()=>{},...d}=l(t,o);const p=await r.detectOverflow(o,d);const m=a(i);const y=f(i);const w=h(i)==="y";const{width:g,height:x}=s.floating;let v;let b;if(m==="top"||m==="bottom"){v=m;b=y===(await(r.isRTL==null?void 0:r.isRTL(c.floating))?"start":"end")?"left":"right"}else{b=m;v=y==="end"?"top":"bottom"}const A=x-p.top-p.bottom;const S=g-p.left-p.right;const O=n(x-p[v],A);const F=n(g-p[b],S);const R=o.middlewareData.shift;const k=!R;let C=O;let P=F;if(R!=null&&R.enabled.x){P=S}if(R!=null&&R.enabled.y){C=A}if(k&&!y){if(w){P=g-2*e(p.left,p.right)}else{C=x-2*e(p.top,p.bottom)}}await u({...o,availableWidth:P,availableHeight:C});const M=await r.getDimensions(c.floating);if(g!==M.width||x!==M.height){return{reset:{rects:true}}}return{}}}};function W(){return typeof window!=="undefined"}function N(t){if(Y(t)){return(t.nodeName||"").toLowerCase()}return"#document"}function q(t){var n;return(t==null||(n=t.ownerDocument)==null?void 0:n.defaultView)||window}function X(t){var n;return(n=(Y(t)?t.ownerDocument:t.document)||window.document)==null?void 0:n.documentElement}function Y(t){if(!W()){return false}return t instanceof Node||t instanceof q(t).Node}function _(t){if(!W()){return false}return t instanceof Element||t instanceof q(t).Element}function G(t){if(!W()){return false}return t instanceof HTMLElement||t instanceof q(t).HTMLElement}function J(t){if(!W()||typeof ShadowRoot==="undefined"){return false}return t instanceof ShadowRoot||t instanceof q(t).ShadowRoot}function K(t){const{overflow:n,overflowX:e,overflowY:o,display:i}=ct(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&i!=="inline"&&i!=="contents"}function Q(t){return/^(table|td|th)$/.test(N(t))}function U(t){try{if(t.matches(":popover-open")){return true}}catch(t){}try{return t.matches(":modal")}catch(t){return false}}const Z=/transform|translate|scale|rotate|perspective|filter/;const tt=/paint|layout|strict|content/;const nt=t=>!!t&&t!=="none";let et;function ot(t){const n=_(t)?ct(t):t;return nt(n.transform)||nt(n.translate)||nt(n.scale)||nt(n.rotate)||nt(n.perspective)||!st()&&(nt(n.backdropFilter)||nt(n.filter))||Z.test(n.willChange||"")||tt.test(n.contain||"")}function it(t){let n=at(t);while(G(n)&&!rt(n)){if(ot(n)){return n}else if(U(n)){return null}n=at(n)}return null}function st(){if(et==null){et=typeof CSS!=="undefined"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}return et}function rt(t){return/^(html|body|#document)$/.test(N(t))}function ct(t){return q(t).getComputedStyle(t)}function lt(t){if(_(t)){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}return{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function at(t){if(N(t)==="html"){return t}const n=t.assignedSlot||t.parentNode||J(t)&&t.host||X(t);return J(n)?n.host:n}function ft(t){const n=at(t);if(rt(n)){return(t.ownerDocument||t).body}if(G(n)&&K(n)){return n}return ft(n)}function ut(t,n,e){var o;if(n===void 0){n=[]}if(e===void 0){e=true}const i=ft(t);const s=i===((o=t.ownerDocument)==null?void 0:o.body);const r=q(i);if(s){const t=dt(r);return n.concat(r,r.visualViewport||[],K(i)?i:[],t&&e?ut(t):[])}else{return n.concat(i,ut(i,[],e))}}function dt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function ht(t){const n=ct(t);let e=parseFloat(n.width)||0;let i=parseFloat(n.height)||0;const s=G(t);const r=s?t.offsetWidth:e;const c=s?t.offsetHeight:i;const l=o(e)!==r||o(i)!==c;if(l){e=r;i=c}return{width:e,height:i,$:l}}function pt(t){return!_(t)?t.contextElement:t}function mt(t){const n=pt(t);if(!G(n)){return s(1)}const e=n.getBoundingClientRect();const{width:i,height:r,$:c}=ht(n);let l=(c?o(e.width):e.width)/i;let a=(c?o(e.height):e.height)/r;if(!l||!Number.isFinite(l)){l=1}if(!a||!Number.isFinite(a)){a=1}return{x:l,y:a}}const yt=s(0);function wt(t){const n=q(t);if(!st()||!n.visualViewport){return yt}return{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}}function gt(t,n,e){if(n===void 0){n=false}return!!e&&n&&e===q(t)}function xt(t,n,e,o){if(n===void 0){n=false}if(e===void 0){e=false}const i=t.getBoundingClientRect();const r=pt(t);let c=s(1);if(n){if(o){if(_(o)){c=mt(o)}}else{c=mt(t)}}const l=gt(r,e,o)?wt(r):s(0);let a=(i.left+l.x)/c.x;let f=(i.top+l.y)/c.y;let u=i.width/c.x;let d=i.height/c.y;if(r&&o){const t=q(r);const n=_(o)?q(o):o;let e=t;let i=dt(e);while(i&&n!==e){const t=mt(i);const n=i.getBoundingClientRect();const o=ct(i);const s=n.left+(i.clientLeft+parseFloat(o.paddingLeft))*t.x;const r=n.top+(i.clientTop+parseFloat(o.paddingTop))*t.y;a*=t.x;f*=t.y;u*=t.x;d*=t.y;a+=s;f+=r;e=q(i);i=dt(e)}}return k({width:u,height:d,x:a,y:f})}function vt(t,n){const e=lt(t).scrollLeft;if(!n){return xt(X(t)).left+e}return n.left+e}function bt(t,n){const e=t.getBoundingClientRect();const o=e.left+n.scrollLeft-vt(t,e);const i=e.top+n.scrollTop;return{x:o,y:i}}function At(t){let{elements:n,rect:e,offsetParent:o,strategy:i}=t;const r=i==="fixed";const c=X(o);const l=n?U(n.floating):false;if(o===c||l&&r){return e}let a={scrollLeft:0,scrollTop:0};let f=s(1);const u=s(0);const d=G(o);if(d||!r){if(N(o)!=="body"||K(c)){a=lt(o)}if(d){const t=xt(o);f=mt(o);u.x=t.x+o.clientLeft;u.y=t.y+o.clientTop}}const h=c&&!d&&!r?bt(c,a):s(0);return{width:e.width*f.x,height:e.height*f.y,x:e.x*f.x-a.scrollLeft*f.x+u.x+h.x,y:e.y*f.y-a.scrollTop*f.y+u.y+h.y}}function St(t){return t.getClientRects?Array.from(t.getClientRects()):[]}function Ot(t){const n=lt(t);const o=t.ownerDocument.body;const i=e(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth);const s=e(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let r=-n.scrollLeft+vt(t);const c=-n.scrollTop;if(ct(o).direction==="rtl"){r+=e(t.clientWidth,o.clientWidth)-i}return{width:i,height:s,x:r,y:c}}const Ft=25;function Rt(t,n,e){if(e===void 0){e="viewport"}const o=e==="layoutViewport";const i=q(t);const s=X(t);const r=i.visualViewport;let c=s.clientWidth;let l=s.clientHeight;let a=0;let f=0;if(r){const t=!st()||n==="fixed";if(o){if(!t){a=-r.offsetLeft;f=-r.offsetTop}}else{c=r.width;l=r.height;if(t){a=r.offsetLeft;f=r.offsetTop}}}const u=vt(s);if(u<=0){const t=s.ownerDocument;const n=t.body;const e=getComputedStyle(n);const o=t.compatMode==="CSS1Compat"?parseFloat(e.marginLeft)+parseFloat(e.marginRight)||0:0;const i=Math.abs(s.clientWidth-n.clientWidth-o);const r=getComputedStyle(s).scrollbarGutter==="stable both-edges"?i/2:i;if(r<=Ft){c-=r}}return{width:c,height:l,x:a,y:f}}function kt(t,n){const e=xt(t,true,n==="fixed");const o=e.top+t.clientTop;const i=e.left+t.clientLeft;const s=mt(t);const r=t.clientWidth*s.x;const c=t.clientHeight*s.y;const l=i*s.x;const a=o*s.y;return{width:r,height:c,x:l,y:a}}function Ct(t,n,e){let o;if(n==="viewport"||n==="layoutViewport"){o=Rt(t,e,n)}else if(n==="document"){o=Ot(X(t))}else if(_(n)){o=kt(n,e)}else{const e=wt(t);o={x:n.x-e.x,y:n.y-e.y,width:n.width,height:n.height}}return k(o)}function Pt(t,n){const e=n.get(t);if(e){return e}let o=ut(t,[],false).filter((t=>_(t)&&N(t)!=="body"));let i=null;const s=ct(t).position==="fixed";let r=s?at(t):t;while(_(r)&&!rt(r)){const t=ct(r);const n=ot(r);const e=i?i.position:s?"fixed":"";const c=!n&&(e==="fixed"||e==="absolute"&&t.position==="static");if(c){o=o.filter((t=>t!==r))}else{i=t}r=at(r)}n.set(t,o);return o}function Mt(t){let{element:o,boundary:i,rootBoundary:s,strategy:r}=t;const c=i==="clippingAncestors"?U(o)?[]:Pt(o,this._c):[].concat(i);const l=[...c,s];const a=Ct(o,l[0],r);let f=a.top;let u=a.right;let d=a.bottom;let h=a.left;for(let t=1;t<l.length;t++){const i=Ct(o,l[t],r);f=e(i.top,f);u=n(i.right,u);d=n(i.bottom,d);h=e(i.left,h)}return{width:u-h,height:d-f,x:h,y:f}}function zt(t){const{width:n,height:e}=ht(t);return{width:n,height:e}}function Dt(t,n,e){const o=G(n);const i=X(n);const r=e==="fixed";const c=xt(t,true,r,n);let l={scrollLeft:0,scrollTop:0};const a=s(0);if(o||!r){if(N(n)!=="body"||K(i)){l=lt(n)}if(o){const t=xt(n,true,r,n);a.x=t.x+n.clientLeft;a.y=t.y+n.clientTop}}if(!o&&i){a.x=vt(i)}const f=i&&!o&&!r?bt(i,l):s(0);const u=c.left+l.scrollLeft-a.x-f.x;const d=c.top+l.scrollTop-a.y-f.y;return{x:u,y:d,width:c.width,height:c.height}}function Tt(t){return ct(t).position==="static"}function $t(t,n){if(!G(t)||ct(t).position==="fixed"){return null}if(n){return n(t)}let e=t.offsetParent;if(X(t)===e){e=e.ownerDocument.body}return e}function Ht(t,n){const e=q(t);if(U(t)){return e}if(!G(t)){let n=at(t);while(n&&!rt(n)){if(_(n)&&!Tt(n)){return n}n=at(n)}return e}let o=$t(t,n);while(o&&Q(o)&&Tt(o)){o=$t(o,n)}if(o&&rt(o)&&Tt(o)&&!ot(o)){return e}return o||it(t)||e}const Lt=async function(t){const n=this.getOffsetParent||Ht;const e=this.getDimensions;const o=await e(t.floating);return{reference:Dt(t.reference,await n(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function jt(t){return ct(t).direction==="rtl"}const Bt={convertOffsetParentRelativeRectToViewportRelativeRect:At,getDocumentElement:X,getClippingRect:Mt,getOffsetParent:Ht,getElementRects:Lt,getClientRects:St,getDimensions:zt,getScale:mt,isElement:_,isRTL:jt};function Et(t,n){return t.x===n.x&&t.y===n.y&&t.width===n.width&&t.height===n.height}function It(t,o,s){let r=null;let c;const l=X(t);function a(){var t;clearTimeout(c);(t=r)==null||t.disconnect();r=null}function f(s,u){if(s===void 0){s=false}if(u===void 0){u=1}a();const d=t.getBoundingClientRect();const{left:h,top:p,width:m,height:y}=d;if(!s){o()}if(!m||!y){return}const w=i(p);const g=i(l.clientWidth-(h+m));const x=i(l.clientHeight-(p+y));const v=i(h);const b=-w+"px "+-g+"px "+-x+"px "+-v+"px";const A={rootMargin:b,threshold:e(0,n(1,u))||1};let S=true;function O(n){const e=n[0].intersectionRatio;if(!Et(d,t.getBoundingClientRect())){return f()}if(e!==u){if(!S){return f()}if(!e){c=setTimeout((()=>{f(false,1e-7)}),1e3)}else{f(false,e)}}S=false}try{r=new IntersectionObserver(O,{...A,root:l.ownerDocument})}catch(t){r=new IntersectionObserver(O,A)}r.observe(t)}const u=q(t);const d=()=>f(s);u.addEventListener("resize",d);f(true);return()=>{u.removeEventListener("resize",d);a()}}function Vt(t,n,e,o){if(o===void 0){o={}}const{ancestorScroll:i=true,ancestorResize:s=true,elementResize:r=typeof ResizeObserver==="function",layoutShift:c=typeof IntersectionObserver==="function",animationFrame:l=false}=o;const a=pt(t);const f=i||s?[...a?ut(a):[],...n?ut(n):[]]:[];f.forEach((t=>{i&&t.addEventListener("scroll",e);s&&t.addEventListener("resize",e)}));const u=a&&c?It(a,e,s):null;let d=-1;let h=null;if(r){h=new ResizeObserver((t=>{let[o]=t;if(o&&o.target===a&&h&&n){h.unobserve(n);cancelAnimationFrame(d);d=requestAnimationFrame((()=>{var t;(t=h)==null||t.observe(n)}))}e()}));if(a&&!l){h.observe(a)}if(n){h.observe(n)}}let p;let m=l?xt(t):null;if(l){y()}function y(){const n=xt(t);if(m&&!Et(m,n)){e()}m=n;p=requestAnimationFrame(y)}e();return()=>{var t;f.forEach((t=>{i&&t.removeEventListener("scroll",e);s&&t.removeEventListener("resize",e)}));u==null||u();(t=h)==null||t.disconnect();h=null;if(l){cancelAnimationFrame(p)}}}const Wt=E;const Nt=I;const qt=T;const Xt=V;const Yt=L;const _t=D;const Gt=(t,n,e)=>{const o=new Map;const i=e!=null?e:{};const s={...Bt,...i.platform,_c:o};return z(t,n,{...i,platform:s})};const Jt={top:"bottom",right:"left",bottom:"top",left:"right"};class Kt{panel;trigger;options;cleanup;repositionId=0;constructor(t,n,e){this.trigger=t;this.panel=n;this.options={distance:20,placement:"bottom",strategy:"absolute",sameWidth:false,...e}}configure(t){Object.assign(this.options,t);this.repositionId+=1;if(t.sameWidth===false){this.panel.style.width=""}if(!this.cleanup)return;void this.reposition()}start(){if(this.cleanup)return;this.cleanup=Vt(this.trigger,this.panel,(()=>void this.reposition()))}stop(){this.repositionId+=1;if(!this.cleanup)return;this.cleanup();this.cleanup=undefined}async reposition(){const t=++this.repositionId;const{arrow:n,distance:e,onPositionChange:o,placement:i,sameWidth:s,skidding:r,strategy:c}=this.options;const{x:l,y:a,placement:f,middlewareData:u}=await Gt(this.trigger,this.panel,{placement:i,strategy:c,middleware:[Wt({mainAxis:e,crossAxis:r}),qt(),Nt(),Xt({apply:({rects:n,elements:e})=>{if(t!==this.repositionId||!e.floating.isConnected)return;e.floating.style.width=s?`${n.reference.width}px`:""}}),...n?[_t({element:n})]:[],Yt()]});if(t!==this.repositionId||!this.panel.isConnected)return;this.applyPanelPosition(l,a);this.applyArrowPosition(n,f,u);this.applyVisibility(u);o?.(f)}applyPanelPosition(t,n){const e=window.devicePixelRatio||1;const o=Math.round(t*e)/e;const i=Math.round(n*e)/e;Object.assign(this.panel.style,{top:"0",left:"0",transform:`translate(${o}px, ${i}px)`})}applyArrowPosition(t,n,e){if(!t)return;const{x:o,y:i}=e.arrow??{};const s=n.split("-")[0];const r=Jt[s];Object.assign(t.style,{left:o!=null?`${o}px`:"",top:i!=null?`${i}px`:"",right:"",bottom:"",[r]:"-4px"})}applyVisibility(t){const n=t.hide?.referenceHidden;this.panel.style.visibility=n?"hidden":"visible"}}export{Kt as F};
6
+ //# sourceMappingURL=p-DXYHHeJY.js.map