@dialpad/dialtone-vue 4.4.1 → 4.6.0

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 (256) hide show
  1. package/dist/{Datepicker-CGFa1nGm.js → Datepicker-D-Lgvthq.js} +17 -5
  2. package/dist/Datepicker-D-Lgvthq.js.map +1 -0
  3. package/dist/Datepicker-DmKOuf5y.cjs +2 -0
  4. package/dist/Datepicker-DmKOuf5y.cjs.map +1 -0
  5. package/dist/EmojiPicker-CXFd-iVj.cjs +2 -0
  6. package/dist/EmojiPicker-CXFd-iVj.cjs.map +1 -0
  7. package/dist/{EmojiPicker-BllVwJf4.js → EmojiPicker-D46lLRMp.js} +75 -41
  8. package/dist/EmojiPicker-D46lLRMp.js.map +1 -0
  9. package/dist/{ForceLinkify-bO3ug94b.js → ForceLinkify-DuAo3TMB.js} +1 -1
  10. package/dist/{ForceLinkify-bO3ug94b.js.map → ForceLinkify-DuAo3TMB.js.map} +1 -1
  11. package/dist/{ForceLinkify-CI1tkUBf.cjs → ForceLinkify-kQ_kWKVm.cjs} +1 -1
  12. package/dist/{ForceLinkify-CI1tkUBf.cjs.map → ForceLinkify-kQ_kWKVm.cjs.map} +1 -1
  13. package/dist/{MarkdownRenderer-B6oyniLV.cjs → MarkdownRenderer-C5wdjC5_.cjs} +1 -1
  14. package/dist/{MarkdownRenderer-B6oyniLV.cjs.map → MarkdownRenderer-C5wdjC5_.cjs.map} +1 -1
  15. package/dist/{MarkdownRenderer-D-EV50_M.js → MarkdownRenderer-eMwmPygx.js} +1 -1
  16. package/dist/{MarkdownRenderer-D-EV50_M.js.map → MarkdownRenderer-eMwmPygx.js.map} +1 -1
  17. package/dist/RichTextEditor-7eY8gy9u.cjs +11 -0
  18. package/dist/RichTextEditor-7eY8gy9u.cjs.map +1 -0
  19. package/dist/{RichTextEditor-Cz2VXb7-.js → RichTextEditor-DaOHmXD_.js} +362 -1254
  20. package/dist/RichTextEditor-DaOHmXD_.js.map +1 -0
  21. package/dist/{Scroller-JDoDYC5V.js → Scroller-B1xwv6TG.js} +1 -1
  22. package/dist/{Scroller-JDoDYC5V.js.map → Scroller-B1xwv6TG.js.map} +1 -1
  23. package/dist/{Scroller-Du2kJsTR.cjs → Scroller-pAU8UWIH.cjs} +1 -1
  24. package/dist/{Scroller-Du2kJsTR.cjs.map → Scroller-pAU8UWIH.cjs.map} +1 -1
  25. package/dist/Slider-D2cDYZcJ.cjs +2 -0
  26. package/dist/Slider-D2cDYZcJ.cjs.map +1 -0
  27. package/dist/Slider-Du45PVLU.js +1188 -0
  28. package/dist/Slider-Du45PVLU.js.map +1 -0
  29. package/dist/{TextList-D40u4g4T.js → TextList-7RwngSie.js} +1 -1
  30. package/dist/{TextList-D40u4g4T.js.map → TextList-7RwngSie.js.map} +1 -1
  31. package/dist/{TextList-rS1MQdPB.cjs → TextList-CLUdOdlp.cjs} +1 -1
  32. package/dist/{TextList-rS1MQdPB.cjs.map → TextList-CLUdOdlp.cjs.map} +1 -1
  33. package/dist/{TextListItem-CF6DzdvT.cjs → TextListItem-B-bhrqik.cjs} +1 -1
  34. package/dist/{TextListItem-CF6DzdvT.cjs.map → TextListItem-B-bhrqik.cjs.map} +1 -1
  35. package/dist/{TextListItem-PHgDIWV1.js → TextListItem-D0UmIR_q.js} +1 -1
  36. package/dist/{TextListItem-PHgDIWV1.js.map → TextListItem-D0UmIR_q.js.map} +1 -1
  37. package/dist/{Toast-CN9x3jKH.cjs → Toast-57Ts-hX9.cjs} +1 -1
  38. package/dist/{Toast-CN9x3jKH.cjs.map → Toast-57Ts-hX9.cjs.map} +1 -1
  39. package/dist/{Toast-DVUE2_fV.js → Toast-BNhGD6l8.js} +1 -1
  40. package/dist/{Toast-DVUE2_fV.js.map → Toast-BNhGD6l8.js.map} +1 -1
  41. package/dist/common/sr_only_close_button.vue.d.ts +15 -1
  42. package/dist/component-documentation.json +1 -1
  43. package/dist/components/Banner/Banner.vue.d.ts +30 -2
  44. package/dist/components/Banner/Banner.vue.d.ts.map +1 -1
  45. package/dist/components/Button/Button.vue.d.ts +15 -1
  46. package/dist/components/Button/Button.vue.d.ts.map +1 -1
  47. package/dist/components/ButtonGroup/ButtonGroup.vue.d.ts.map +1 -1
  48. package/dist/components/Chip/Chip.vue.d.ts +15 -1
  49. package/dist/components/Chip/Chip.vue.d.ts.map +1 -1
  50. package/dist/components/Codeblock/Codeblock.vue.d.ts.map +1 -1
  51. package/dist/components/Collapsible/Collapsible.vue.d.ts +15 -1
  52. package/dist/components/Collapsible/Collapsible.vue.d.ts.map +1 -1
  53. package/dist/components/ComboboxWithPopover/ComboboxWithPopover.vue.d.ts +30 -2
  54. package/dist/components/ComboboxWithPopover/ComboboxWithPopover.vue.d.ts.map +1 -1
  55. package/dist/components/Datepicker/Datepicker.vue.d.ts.map +1 -1
  56. package/dist/components/Datepicker/Modules/Calendar.vue.d.ts.map +1 -1
  57. package/dist/components/Datepicker/Modules/MonthYearPicker.vue.d.ts.map +1 -1
  58. package/dist/components/DescriptionList/DescriptionList.vue.d.ts.map +1 -1
  59. package/dist/components/Dropdown/Dropdown.vue.d.ts +30 -2
  60. package/dist/components/Dropdown/Dropdown.vue.d.ts.map +1 -1
  61. package/dist/components/Emoji/Emoji.vue.d.ts.map +1 -1
  62. package/dist/components/EmojiPicker/EmojiPicker.vue.d.ts.map +1 -1
  63. package/dist/components/EmojiPicker/Modules/EmojiDescription.vue.d.ts.map +1 -1
  64. package/dist/components/EmojiPicker/Modules/EmojiSearch.vue.d.ts.map +1 -1
  65. package/dist/components/EmojiPicker/Modules/EmojiSelector.vue.d.ts.map +1 -1
  66. package/dist/components/EmojiPicker/Modules/EmojiSkinSelector.vue.d.ts.map +1 -1
  67. package/dist/components/EmojiPicker/Modules/EmojiTabset.vue.d.ts.map +1 -1
  68. package/dist/components/EmptyState/EmptyState.vue.d.ts.map +1 -1
  69. package/dist/components/FilterPill/FilterPill.vue.d.ts +75 -5
  70. package/dist/components/FilterPill/FilterPill.vue.d.ts.map +1 -1
  71. package/dist/components/Hovercard/Hovercard.vue.d.ts +60 -4
  72. package/dist/components/Hovercard/Hovercard.vue.d.ts.map +1 -1
  73. package/dist/components/ImageViewer/ImageViewer.vue.d.ts +30 -2
  74. package/dist/components/ImageViewer/ImageViewer.vue.d.ts.map +1 -1
  75. package/dist/components/KeyboardShortcut/KeyboardShortcut.vue.d.ts.map +1 -1
  76. package/dist/components/LazyShow/LazyShow.vue.d.ts.map +1 -1
  77. package/dist/components/Loader/Loader.vue.d.ts +15 -1
  78. package/dist/components/Loader/Loader.vue.d.ts.map +1 -1
  79. package/dist/components/Loader/LoaderConstants.d.ts +5 -0
  80. package/dist/components/Loader/LoaderConstants.d.ts.map +1 -0
  81. package/dist/components/Loader/index.d.ts +1 -0
  82. package/dist/components/Modal/Modal.vue.d.ts +30 -2
  83. package/dist/components/Modal/Modal.vue.d.ts.map +1 -1
  84. package/dist/components/ModeIsland/ModeIsland.vue.d.ts.map +1 -1
  85. package/dist/components/MotionText/MotionText.vue.d.ts.map +1 -1
  86. package/dist/components/MotionText/MotionTextConstants.d.ts +72 -0
  87. package/dist/components/MotionText/MotionTextConstants.d.ts.map +1 -1
  88. package/dist/components/MotionText/index.d.ts +1 -1
  89. package/dist/components/MotionText/utils.d.ts +9 -0
  90. package/dist/components/MotionText/utils.d.ts.map +1 -0
  91. package/dist/components/Notice/Notice.vue.d.ts +30 -2
  92. package/dist/components/Notice/Notice.vue.d.ts.map +1 -1
  93. package/dist/components/Notice/NoticeAction.vue.d.ts +30 -2
  94. package/dist/components/Notice/NoticeAction.vue.d.ts.map +1 -1
  95. package/dist/components/Pagination/Pagination.vue.d.ts +15 -1
  96. package/dist/components/Pagination/Pagination.vue.d.ts.map +1 -1
  97. package/dist/components/Popover/Popover.vue.d.ts +30 -2
  98. package/dist/components/Popover/Popover.vue.d.ts.map +1 -1
  99. package/dist/components/Popover/PopoverHeaderFooter.vue.d.ts +15 -1
  100. package/dist/components/Popover/PopoverHeaderFooter.vue.d.ts.map +1 -1
  101. package/dist/components/RichTextEditor/Extensions/Variable/VariableComponent.vue.d.ts +45 -3
  102. package/dist/components/RichTextEditor/Extensions/Variable/VariableComponent.vue.d.ts.map +1 -1
  103. package/dist/components/Skeleton/Skeleton.vue.d.ts.map +1 -1
  104. package/dist/components/Slider/Composables/UseSliderCollisionAvoidance.d.ts +25 -0
  105. package/dist/components/Slider/Composables/UseSliderCollisionAvoidance.d.ts.map +1 -0
  106. package/dist/components/Slider/Composables/UseSliderDevWarnings.d.ts +5 -0
  107. package/dist/components/Slider/Composables/UseSliderDevWarnings.d.ts.map +1 -0
  108. package/dist/components/Slider/Composables/UseSliderDirection.d.ts +4 -0
  109. package/dist/components/Slider/Composables/UseSliderDirection.d.ts.map +1 -0
  110. package/dist/components/Slider/Composables/UseSliderGeometry.d.ts +88 -0
  111. package/dist/components/Slider/Composables/UseSliderGeometry.d.ts.map +1 -0
  112. package/dist/components/Slider/Composables/UseSliderInteraction.d.ts +33 -0
  113. package/dist/components/Slider/Composables/UseSliderInteraction.d.ts.map +1 -0
  114. package/dist/components/Slider/Composables/UseSliderMagneticSnap.d.ts +8 -0
  115. package/dist/components/Slider/Composables/UseSliderMagneticSnap.d.ts.map +1 -0
  116. package/dist/components/Slider/Composables/UseSliderMarksAndTicks.d.ts +13 -0
  117. package/dist/components/Slider/Composables/UseSliderMarksAndTicks.d.ts.map +1 -0
  118. package/dist/components/Slider/Composables/UseSliderTooltipReadout.d.ts +10 -0
  119. package/dist/components/Slider/Composables/UseSliderTooltipReadout.d.ts.map +1 -0
  120. package/dist/components/Slider/Composables/UseSliderValue.d.ts +16 -0
  121. package/dist/components/Slider/Composables/UseSliderValue.d.ts.map +1 -0
  122. package/dist/components/Slider/Slider.vue.d.ts +304 -0
  123. package/dist/components/Slider/Slider.vue.d.ts.map +1 -0
  124. package/dist/components/Slider/SliderConstants.d.ts +7 -0
  125. package/dist/components/Slider/SliderConstants.d.ts.map +1 -0
  126. package/dist/components/Slider/index.d.ts +3 -0
  127. package/dist/components/Slider/index.d.ts.map +1 -0
  128. package/dist/components/Slider/utils.d.ts +8 -0
  129. package/dist/components/Slider/utils.d.ts.map +1 -0
  130. package/dist/components/SplitButton/SplitButton.vue.d.ts +60 -4
  131. package/dist/components/SplitButton/SplitButton.vue.d.ts.map +1 -1
  132. package/dist/components/SplitButton/SplitButtonEnd.vue.d.ts +15 -1
  133. package/dist/components/SplitButton/SplitButtonEnd.vue.d.ts.map +1 -1
  134. package/dist/components/SplitButton/SplitButtonStart.vue.d.ts +15 -1
  135. package/dist/components/Tab/Tab.vue.d.ts +15 -1
  136. package/dist/components/Toast/Layouts/ToastLayoutAlternate.vue.d.ts +30 -2
  137. package/dist/components/Toast/Layouts/ToastLayoutAlternate.vue.d.ts.map +1 -1
  138. package/dist/components/Toast/Layouts/ToastLayoutDefault.vue.d.ts +30 -2
  139. package/dist/components/Toast/Layouts/ToastLayoutDefault.vue.d.ts.map +1 -1
  140. package/dist/components/Toast/Toast.vue.d.ts +120 -8
  141. package/dist/components/Toast/Toast.vue.d.ts.map +1 -1
  142. package/dist/dialtone-vue.cjs +1 -1
  143. package/dist/dialtone-vue.js +117 -114
  144. package/dist/floating-ui.dom-D2zQ_96p.cjs +2 -0
  145. package/dist/floating-ui.dom-D2zQ_96p.cjs.map +1 -0
  146. package/dist/floating-ui.dom-j5GI2lJG.js +963 -0
  147. package/dist/floating-ui.dom-j5GI2lJG.js.map +1 -0
  148. package/dist/index.d.ts +1 -0
  149. package/dist/lib/button-group/button-group.cjs +1 -1
  150. package/dist/lib/button-group/button-group.cjs.map +1 -1
  151. package/dist/lib/button-group/button-group.js +2 -1
  152. package/dist/lib/button-group/button-group.js.map +1 -1
  153. package/dist/lib/codeblock/codeblock.cjs +1 -1
  154. package/dist/lib/codeblock/codeblock.cjs.map +1 -1
  155. package/dist/lib/codeblock/codeblock.js +7 -1
  156. package/dist/lib/codeblock/codeblock.js.map +1 -1
  157. package/dist/lib/datepicker/datepicker.cjs +1 -1
  158. package/dist/lib/datepicker/datepicker.js +1 -1
  159. package/dist/lib/datepicker/index.cjs +1 -1
  160. package/dist/lib/datepicker/index.js +1 -1
  161. package/dist/lib/description-list/description-list.cjs +1 -1
  162. package/dist/lib/description-list/description-list.cjs.map +1 -1
  163. package/dist/lib/description-list/description-list.js +14 -5
  164. package/dist/lib/description-list/description-list.js.map +1 -1
  165. package/dist/lib/emoji/emoji.cjs +1 -1
  166. package/dist/lib/emoji/emoji.cjs.map +1 -1
  167. package/dist/lib/emoji/emoji.js +5 -1
  168. package/dist/lib/emoji/emoji.js.map +1 -1
  169. package/dist/lib/emoji-picker/emoji-picker.cjs +1 -1
  170. package/dist/lib/emoji-picker/emoji-picker.js +1 -1
  171. package/dist/lib/emoji-picker/index.cjs +1 -1
  172. package/dist/lib/emoji-picker/index.js +1 -1
  173. package/dist/lib/empty-state/empty-state.cjs +1 -1
  174. package/dist/lib/empty-state/empty-state.cjs.map +1 -1
  175. package/dist/lib/empty-state/empty-state.js +6 -3
  176. package/dist/lib/empty-state/empty-state.js.map +1 -1
  177. package/dist/lib/keyboard-shortcut/keyboard-shortcut.cjs +1 -1
  178. package/dist/lib/keyboard-shortcut/keyboard-shortcut.cjs.map +1 -1
  179. package/dist/lib/keyboard-shortcut/keyboard-shortcut.js +8 -2
  180. package/dist/lib/keyboard-shortcut/keyboard-shortcut.js.map +1 -1
  181. package/dist/lib/lazy-show/lazy-show.cjs +1 -1
  182. package/dist/lib/lazy-show/lazy-show.cjs.map +1 -1
  183. package/dist/lib/lazy-show/lazy-show.js +10 -10
  184. package/dist/lib/lazy-show/lazy-show.js.map +1 -1
  185. package/dist/lib/loader/index.cjs +1 -1
  186. package/dist/lib/loader/index.js +3 -2
  187. package/dist/lib/loader/loader-constants.cjs +2 -0
  188. package/dist/lib/loader/loader-constants.cjs.map +1 -0
  189. package/dist/lib/loader/loader-constants.js +9 -0
  190. package/dist/lib/loader/loader-constants.js.map +1 -0
  191. package/dist/lib/loader/loader.cjs +21 -21
  192. package/dist/lib/loader/loader.cjs.map +1 -1
  193. package/dist/lib/loader/loader.js +68 -13
  194. package/dist/lib/loader/loader.js.map +1 -1
  195. package/dist/lib/mode-island/mode-island.cjs +1 -1
  196. package/dist/lib/mode-island/mode-island.cjs.map +1 -1
  197. package/dist/lib/mode-island/mode-island.js +1 -0
  198. package/dist/lib/mode-island/mode-island.js.map +1 -1
  199. package/dist/lib/motion-text/index.cjs +1 -1
  200. package/dist/lib/motion-text/index.js +3 -3
  201. package/dist/lib/motion-text/motion-text-constants.cjs +1 -1
  202. package/dist/lib/motion-text/motion-text-constants.cjs.map +1 -1
  203. package/dist/lib/motion-text/motion-text-constants.js +64 -2
  204. package/dist/lib/motion-text/motion-text-constants.js.map +1 -1
  205. package/dist/lib/motion-text/motion-text.cjs +1 -1
  206. package/dist/lib/motion-text/motion-text.cjs.map +1 -1
  207. package/dist/lib/motion-text/motion-text.js +186 -146
  208. package/dist/lib/motion-text/motion-text.js.map +1 -1
  209. package/dist/lib/motion-text/utils.cjs +2 -0
  210. package/dist/lib/motion-text/utils.cjs.map +1 -0
  211. package/dist/lib/motion-text/utils.js +24 -0
  212. package/dist/lib/motion-text/utils.js.map +1 -0
  213. package/dist/lib/rich-text-editor/force-linkify.cjs +1 -1
  214. package/dist/lib/rich-text-editor/force-linkify.js +1 -1
  215. package/dist/lib/rich-text-editor/index.cjs +1 -1
  216. package/dist/lib/rich-text-editor/index.js +1 -1
  217. package/dist/lib/rich-text-editor/markdown-renderer.cjs +1 -1
  218. package/dist/lib/rich-text-editor/markdown-renderer.js +1 -1
  219. package/dist/lib/rich-text-editor/rich-text-editor.cjs +1 -1
  220. package/dist/lib/rich-text-editor/rich-text-editor.js +1 -1
  221. package/dist/lib/scroller/index.cjs +1 -1
  222. package/dist/lib/scroller/index.js +1 -1
  223. package/dist/lib/scroller/scroller.cjs +1 -1
  224. package/dist/lib/scroller/scroller.js +1 -1
  225. package/dist/lib/skeleton/skeleton.cjs +1 -1
  226. package/dist/lib/skeleton/skeleton.cjs.map +1 -1
  227. package/dist/lib/skeleton/skeleton.js +1 -0
  228. package/dist/lib/skeleton/skeleton.js.map +1 -1
  229. package/dist/lib/slider/index.cjs +1 -0
  230. package/dist/lib/slider/index.js +2 -0
  231. package/dist/lib/slider/slider.cjs +1 -0
  232. package/dist/lib/slider/slider.js +2 -0
  233. package/dist/lib/slider/utils.cjs +2 -0
  234. package/dist/lib/slider/utils.cjs.map +1 -0
  235. package/dist/lib/slider/utils.js +32 -0
  236. package/dist/lib/slider/utils.js.map +1 -0
  237. package/dist/lib/text-list/index.cjs +1 -1
  238. package/dist/lib/text-list/index.js +2 -2
  239. package/dist/lib/text-list/text-list-item.cjs +1 -1
  240. package/dist/lib/text-list/text-list-item.js +1 -1
  241. package/dist/lib/text-list/text-list.cjs +1 -1
  242. package/dist/lib/text-list/text-list.js +1 -1
  243. package/dist/lib/toast/index.cjs +1 -1
  244. package/dist/lib/toast/index.js +1 -1
  245. package/dist/lib/toast/toast.cjs +1 -1
  246. package/dist/lib/toast/toast.js +1 -1
  247. package/package.json +5 -5
  248. package/dist/Datepicker-CGFa1nGm.js.map +0 -1
  249. package/dist/Datepicker-DkGmnVc8.cjs +0 -2
  250. package/dist/Datepicker-DkGmnVc8.cjs.map +0 -1
  251. package/dist/EmojiPicker-BllVwJf4.js.map +0 -1
  252. package/dist/EmojiPicker-KO1yhODv.cjs +0 -2
  253. package/dist/EmojiPicker-KO1yhODv.cjs.map +0 -1
  254. package/dist/RichTextEditor-Cz2VXb7-.js.map +0 -1
  255. package/dist/RichTextEditor-EHgahp8r.cjs +0 -11
  256. package/dist/RichTextEditor-EHgahp8r.cjs.map +0 -1
@@ -0,0 +1,1188 @@
1
+ import { getUniqueString as e, hasSlotContent as t, removeClassStyleAttrs as n } from "./common/utils/index.js";
2
+ import { TEXT_SIZE_MODIFIERS as r, TEXT_STRENGTH_MODIFIERS as i } from "./lib/text/text-constants.js";
3
+ import a from "./lib/text/text.js";
4
+ import { a as o, c as s, i as c, l, o as u, r as d, u as f } from "./floating-ui.dom-j5GI2lJG.js";
5
+ import { edgeClampOffset as p, generateInterval as m, isValidMark as h, measureEdgeInsetPx as g, mirrorPct as _, sameValues as v } from "./lib/slider/utils.js";
6
+ import { Comment as y, Fragment as b, computed as x, createBlock as S, createCommentVNode as C, createElementBlock as w, createElementVNode as T, createTextVNode as E, defineComponent as D, mergeProps as O, nextTick as k, normalizeClass as A, normalizeStyle as j, onBeforeUnmount as M, onMounted as N, openBlock as P, ref as F, renderList as I, renderSlot as L, toDisplayString as R, unref as z, useAttrs as B, useSlots as V, watch as H, withCtx as ee } from "vue";
7
+ //#region components/Slider/SliderConstants.ts
8
+ var U = ["horizontal", "vertical"], W = [
9
+ "always",
10
+ "never",
11
+ "tooltip"
12
+ ], G = ["start", "end"], te = 10, ne = 32, K = 0;
13
+ //#endregion
14
+ //#region components/Slider/Composables/UseSliderDevWarnings.js
15
+ function re(e, { isRange: t, hasAccessibleName: n }) {
16
+ process.env.NODE_ENV !== "production" && (H(() => t.value && !e.getValueText, (e) => {
17
+ e && console.info("[Dialtone] DtSlider in range mode: provide getValueText to give each thumb a distinct screen-reader description.");
18
+ }, { immediate: !0 }), H(() => n.value, (e) => {
19
+ e || console.info("[Dialtone] DtSlider: provide a label prop (set showLabel to false to hide it visually) or aria-label for accessibility.");
20
+ }, { immediate: !0 }), H(() => e.minGapSteps !== Math.round(e.minGapSteps), (t) => {
21
+ t && console.info(`[Dialtone] DtSlider: minGapSteps (${e.minGapSteps}) is not a whole number — it will be rounded to ${Math.round(e.minGapSteps)}.`);
22
+ }, { immediate: !0 }), H(() => e.min > e.max, (t) => {
23
+ t && console.info(`[Dialtone] DtSlider: min (${e.min}) is greater than max (${e.max}) — every value will collapse to max.`);
24
+ }, { immediate: !0 }));
25
+ }
26
+ //#endregion
27
+ //#region components/Slider/Composables/UseSliderDirection.js
28
+ function ie(e) {
29
+ let t = F(!1);
30
+ function n() {
31
+ t.value = !!e.value && getComputedStyle(e.value).direction === "rtl";
32
+ }
33
+ let r = null;
34
+ return N(() => {
35
+ if (n(), typeof MutationObserver < "u" && e.value) {
36
+ r = new MutationObserver(n);
37
+ let t = {
38
+ attributes: !0,
39
+ attributeFilter: [
40
+ "dir",
41
+ "style",
42
+ "class"
43
+ ]
44
+ };
45
+ for (let n = e.value; n; n = n.parentElement) r.observe(n, t);
46
+ r.observe(document.documentElement, t);
47
+ }
48
+ }), M(() => {
49
+ r?.disconnect();
50
+ }), { isRtl: t };
51
+ }
52
+ //#endregion
53
+ //#region components/Slider/Composables/UseSliderValue.js
54
+ function ae(e, t, { isRange: n, activeSnapValue: r }) {
55
+ function i(e, t) {
56
+ return r?.value[e] === t;
57
+ }
58
+ function a(e) {
59
+ let t = String(e), n = t.search(/e/i);
60
+ if (n !== -1) {
61
+ let e = t.slice(0, n), r = parseInt(t.slice(n + 1), 10), i = e.indexOf("."), a = i === -1 ? 0 : e.length - i - 1;
62
+ return Math.max(0, a - r);
63
+ }
64
+ let r = t.indexOf(".");
65
+ return r === -1 ? 0 : t.length - r - 1;
66
+ }
67
+ function o(t) {
68
+ return Math.min(e.max, Math.max(e.min, t));
69
+ }
70
+ function s(t) {
71
+ if (e.step <= 0) return Math.min(e.max, Math.max(e.min, t));
72
+ let n = Math.round((t - e.min) / e.step), r = Math.max(a(e.min), a(e.step));
73
+ return Math.min(e.max, Math.max(e.min, parseFloat((e.min + n * e.step).toFixed(r))));
74
+ }
75
+ function c(e) {
76
+ return e.length === 2 && e[0] > e[1] ? [e[1], e[0]] : e;
77
+ }
78
+ function l(t, n = null) {
79
+ if (t.length !== 2) return t;
80
+ let r = Math.round(e.minGapSteps) * e.step;
81
+ if (r <= 0) return t;
82
+ let [i, o] = t;
83
+ if (o - i >= r) return t;
84
+ n === 0 ? o = Math.min(e.max, i + r) : n === 1 ? i = Math.max(e.min, o - r) : i + r <= e.max ? o = i + r : o - r >= e.min ? i = o - r : (o = e.max, i = Math.max(e.min, o - r));
85
+ let s = Math.max(a(e.min), a(e.max), a(e.step), n === null ? 0 : a(t[n]));
86
+ return n !== 0 && (i = Math.min(e.max, Math.max(e.min, parseFloat(i.toFixed(s))))), n !== 1 && (o = Math.min(e.max, Math.max(e.min, parseFloat(o.toFixed(s))))), [i, o];
87
+ }
88
+ function u(e, t = null) {
89
+ let n = e.map((e, n) => n === t || Number.isFinite(e) ? e : d());
90
+ return n = n.map((e, n) => n === t ? e : o(e)), n = n.map((e, n) => n === t ? e : s(e)), n = n.length === 2 && t === null ? c(n) : n, l(n, t);
91
+ }
92
+ function d() {
93
+ return (e.min + e.max) / 2;
94
+ }
95
+ function f(e, t = null) {
96
+ let n;
97
+ return n = Array.isArray(e) ? e.length >= 2 ? [e[0], e[1]] : e.length === 1 ? [e[0]] : [d()] : e == null ? [d()] : [e], u(n, t);
98
+ }
99
+ let p = F(f(e.modelValue)), m = F([...p.value]), h = x(() => n.value ? [...p.value] : p.value[0]);
100
+ function g(t) {
101
+ return e.max === e.min ? 0 : (t - e.min) / (e.max - e.min) * 100;
102
+ }
103
+ function _(t, n) {
104
+ if (e.step <= 0) return t;
105
+ let r = (t - e.min) / e.step, i = n ? Math.ceil(r - 1e-9) : Math.floor(r + 1e-9);
106
+ return e.min + i * e.step;
107
+ }
108
+ function v(t) {
109
+ if (!n.value || t !== 1 || p.value.length < 2) return e.min;
110
+ let r = Math.round(e.minGapSteps) * e.step, i = Math.min(e.max, p.value[0] + r);
111
+ return Math.min(e.max, _(i, !0));
112
+ }
113
+ function y(t) {
114
+ if (!n.value || t !== 0 || p.value.length < 2) return e.max;
115
+ let r = Math.round(e.minGapSteps) * e.step, i = Math.max(e.min, p.value[1] - r);
116
+ return Math.max(e.min, _(i, !1));
117
+ }
118
+ function b(t) {
119
+ if (e.step <= 0) return "any";
120
+ let n = p.value[t];
121
+ if (n === void 0) return e.step;
122
+ let r = (n - e.min) / e.step;
123
+ return Math.abs(r - Math.round(r)) > 1e-9 ? "any" : e.step;
124
+ }
125
+ let S = !1;
126
+ function C(e) {
127
+ process.env.NODE_ENV === "production" || S || (S = !0, console.info(`[Dialtone] DtSlider: ${e}`));
128
+ }
129
+ function w(t, n) {
130
+ if (e.getValueText) try {
131
+ let r = e.getValueText(t, n);
132
+ if (typeof r == "string") return r;
133
+ C(`getValueText must return a string synchronously (got ${typeof r}) — falling back to the raw value.`);
134
+ } catch (e) {
135
+ C(`getValueText threw — falling back to the raw value. ${e}`);
136
+ }
137
+ return `${e.prefix}${t}${e.suffix}`;
138
+ }
139
+ return H(() => e.modelValue, (e) => {
140
+ if (e == null) return;
141
+ let n = p.value, r = Array.isArray(e) ? e : [e], a = n.findIndex((e, t) => r[t] === e && i(t, e)), o = f(e, a === -1 ? null : a);
142
+ if (o.length !== n.length || o.some((e, t) => e !== n[t])) {
143
+ let e = n.length !== m.value.length || n.some((e, t) => e !== m.value[t]);
144
+ p.value = o, e || (m.value = [...o]);
145
+ }
146
+ (o.length !== r.length || o.some((e, t) => e !== r[t])) && t("update:modelValue", Array.isArray(e) ? [...o] : o[0]);
147
+ }, { deep: !0 }), H(() => [
148
+ e.min,
149
+ e.max,
150
+ e.step,
151
+ e.minGapSteps
152
+ ], () => {
153
+ let r = p.value, a = r.length !== m.value.length || r.some((e, t) => e !== m.value[t]), o = r.findIndex((t, n) => i(n, t) && t >= e.min && t <= e.max), s = u(r, o === -1 ? null : o);
154
+ if (s.length !== r.length || s.some((e, t) => e !== r[t])) {
155
+ p.value = s;
156
+ let e = n.value ? [...s] : s[0];
157
+ if (t("update:modelValue", e), a) return;
158
+ m.value = [...s], t("change", e);
159
+ }
160
+ }), N(() => {
161
+ if (e.modelValue === void 0 || e.modelValue === null) return;
162
+ let n = Array.isArray(e.modelValue) ? e.modelValue : [e.modelValue], r = p.value;
163
+ (r.length !== n.length || r.some((e, t) => e !== n[t])) && t("update:modelValue", Array.isArray(e.modelValue) ? [...r] : r[0]);
164
+ }), {
165
+ internalValues: p,
166
+ lastCommittedValues: m,
167
+ currentValue: h,
168
+ decimalPlaces: a,
169
+ snapToStep: s,
170
+ thumbPercent: g,
171
+ thumbNativeMin: v,
172
+ thumbNativeMax: y,
173
+ thumbNativeStep: b,
174
+ formatValue: w
175
+ };
176
+ }
177
+ //#endregion
178
+ //#region components/Slider/Composables/UseSliderMagneticSnap.js
179
+ var q = 10, oe = 2;
180
+ function se(e, { controlRef: t, isVertical: n }) {
181
+ let r = x(() => {
182
+ if (e.snapPoints == null) return [];
183
+ if (typeof e.snapPoints == "number") {
184
+ let t = e.snapPoints;
185
+ return !Number.isFinite(t) || t <= 0 ? [] : m(e.min, e.max, t, "snapPoints");
186
+ }
187
+ return Array.isArray(e.snapPoints) ? e.snapPoints.filter((t) => Number.isFinite(t) && t >= e.min && t <= e.max) : [];
188
+ }), i = F({});
189
+ function a(a, o) {
190
+ let s = r.value;
191
+ if (!s.length || !t.value) return delete i.value[o], null;
192
+ let c = t.value.getBoundingClientRect(), l = n.value ? c.height : c.width;
193
+ if (!l) return null;
194
+ let u = q / l * (e.max - e.min), d = i.value[o];
195
+ if (d != null && s.includes(d)) {
196
+ let e = u * oe;
197
+ if (Math.abs(d - a) <= e) return d;
198
+ }
199
+ let f = null, p = Infinity;
200
+ for (let e of s) {
201
+ let t = Math.abs(e - a);
202
+ t <= u && t < p && (f = e, p = t);
203
+ }
204
+ return f == null ? delete i.value[o] : i.value[o] = f, f;
205
+ }
206
+ return {
207
+ activeSnapValue: i,
208
+ findMagneticSnapPoint: a
209
+ };
210
+ }
211
+ //#endregion
212
+ //#region components/Slider/Composables/UseSliderInteraction.js
213
+ var J = new Set([
214
+ "ArrowUp",
215
+ "ArrowDown",
216
+ "ArrowLeft",
217
+ "ArrowRight",
218
+ "Home",
219
+ "End",
220
+ "PageUp",
221
+ "PageDown"
222
+ ]);
223
+ function ce(e, t, { controlRef: n, thumbRefs: r, internalValues: i, isRange: a, isVertical: o, decimalPlaces: s, snapToStep: c, lastCommittedValues: l, findMagneticSnapPoint: u, activeSnapValue: d, isRtl: f }) {
224
+ let p = F(!1), m = F(null), h = F(null), _ = F(null), v = F(null), y = F(null), b = !1, x = null, S = !1;
225
+ H(() => e.disabled, (e) => {
226
+ e && (_.value = null, v.value = null);
227
+ }), H(() => i.value.length, (e, t) => {
228
+ let n = _.value === 1 || document.activeElement === r.value[1];
229
+ e === 1 && t === 2 && n && k(() => r.value[0]?.focus()), m.value !== null && m.value >= e && (m.value = null);
230
+ });
231
+ function C(n, o, { allowSnap: l = !1 } = {}) {
232
+ let f = Math.min(e.max, Math.max(e.min, o)), p = l ? u(f, n) : null;
233
+ f = p ?? c(f);
234
+ let m = [...i.value];
235
+ if (a.value) {
236
+ let t = Math.max(0, Math.round(e.minGapSteps) * e.step);
237
+ if (f = n === 0 ? Math.min(f, (m[1] ?? e.max) - t) : Math.max(f, (m[0] ?? e.min) + t), !(p != null && f === p)) {
238
+ let t = Math.max(s(e.min), s(e.step));
239
+ f = parseFloat(f.toFixed(t)), f = Math.min(e.max, Math.max(e.min, f));
240
+ }
241
+ p != null && f !== p && delete d.value[n];
242
+ }
243
+ if (m[n] === f) {
244
+ let e = r.value[n];
245
+ e && e.value !== String(f) && (e.value = String(f));
246
+ return;
247
+ }
248
+ m[n] = f, i.value = m, t("update:modelValue", a.value ? [...m] : m[0]);
249
+ }
250
+ function w() {
251
+ let e = i.value, n = l.value;
252
+ (e.length !== n.length || e.some((e, t) => e !== n[t])) && (l.value = [...e], t("change", a.value ? [...e] : e[0]));
253
+ }
254
+ let T = 0;
255
+ function E(t) {
256
+ let r = n.value.getBoundingClientRect(), i = o.value ? r.height : r.width, a = i - 2 * T, s;
257
+ if (o.value) {
258
+ let e = r.bottom - t.clientY;
259
+ s = a > 0 ? (e - T) / a : e / i;
260
+ } else {
261
+ let e = t.clientX - r.left;
262
+ s = a > 0 ? (e - T) / a : e / i, f.value && (s = 1 - s);
263
+ }
264
+ return s = Math.min(1, Math.max(0, s)), e.min + s * (e.max - e.min);
265
+ }
266
+ function D(e) {
267
+ if (!a.value || i.value.length < 2) return 0;
268
+ let [t, n] = i.value;
269
+ return t === n ? h.value === 0 ? 1 : 0 : Math.abs(e - t) <= Math.abs(e - n) ? 0 : 1;
270
+ }
271
+ function O(e, t) {
272
+ if (!a.value) return e;
273
+ let [n, r] = i.value;
274
+ return n === r ? e === 0 && t > n ? 1 : e === 1 && t < r ? 0 : e : e;
275
+ }
276
+ function A(t) {
277
+ if (e.disabled || t.pointerType === "mouse" && t.button !== 0 || p.value && t.pointerId !== x) return;
278
+ t.preventDefault(), T = g(n.value);
279
+ let o = E(t), s = D(o), [c, l] = i.value;
280
+ S = a.value && i.value.length === 2 && c === l, y.value === s && (y.value = null), m.value = s, h.value = s, p.value = !0, x = t.pointerId, n.value.setPointerCapture(t.pointerId), v.value = null, C(s, o, { allowSnap: !0 });
281
+ let u = r.value[s];
282
+ u && document.activeElement !== u ? (b = !0, u.focus()) : _.value === s && (_.value = null);
283
+ }
284
+ function j(t) {
285
+ if (!p.value || m.value === null || t.pointerId !== x) return;
286
+ if (e.disabled) {
287
+ N();
288
+ return;
289
+ }
290
+ if (t.buttons === 0) {
291
+ N();
292
+ return;
293
+ }
294
+ let n = E(t), r = S ? O(m.value, n) : m.value;
295
+ r !== m.value && (delete d.value[m.value], y.value === r && (y.value = null), m.value = r, h.value = r), C(r, n, { allowSnap: !0 });
296
+ }
297
+ function M(t) {
298
+ if (e.step <= 0) return !1;
299
+ let n = (t - e.min) / e.step;
300
+ return Math.abs(n - Math.round(n)) > 1e-9;
301
+ }
302
+ function N(e) {
303
+ if (!p.value || e && e.pointerId !== x) return;
304
+ p.value = !1, x = null;
305
+ let t = m.value;
306
+ t !== null && M(i.value[t]) && C(t, i.value[t]), w(), m.value = null, d.value = {};
307
+ }
308
+ function P(e, t) {
309
+ C(e, Number(t.target.value));
310
+ }
311
+ function I(e, t, n, r) {
312
+ return e === "PageUp" ? 1 : e === "PageDown" ? -1 : t ? e === "ArrowUp" || e === n ? 1 : e === "ArrowDown" || e === r ? -1 : 0 : 0;
313
+ }
314
+ function L() {
315
+ return e.step <= 0 ? e.largeStep : Math.max(1, Math.round(e.largeStep / e.step)) * e.step;
316
+ }
317
+ function R(e, t) {
318
+ _.value !== e && (_.value = e);
319
+ let n = f.value, r = n ? "ArrowLeft" : "ArrowRight", a = n ? "ArrowRight" : "ArrowLeft", o = I(t.key, t.shiftKey, r, a);
320
+ o !== 0 && (t.preventDefault(), C(e, i.value[e] + o * L())), t.key === "Escape" ? y.value = e : J.has(t.key) && y.value === e && (y.value = null);
321
+ }
322
+ function z(e, n) {
323
+ b ? b = !1 : (y.value === e && (y.value = null), _.value = e), t("focus", n);
324
+ }
325
+ function B(e, n) {
326
+ _.value = null, w(), t("blur", n);
327
+ }
328
+ function V(e) {
329
+ y.value === e && (y.value = null), v.value = e;
330
+ }
331
+ function ee(e) {
332
+ v.value === e && (v.value = null);
333
+ }
334
+ function U(t) {
335
+ return e.readout === "always" ? !0 : y.value === t ? !1 : m.value === t || _.value === t || v.value === t;
336
+ }
337
+ return {
338
+ isDragging: p,
339
+ activeThumbIndex: m,
340
+ focusedThumbIndex: _,
341
+ hoveredThumbIndex: v,
342
+ updateThumbValue: C,
343
+ commitIfChanged: w,
344
+ onPointerDown: A,
345
+ onPointerMove: j,
346
+ onPointerUp: N,
347
+ onThumbInput: P,
348
+ onThumbKeydown: R,
349
+ onThumbFocus: z,
350
+ onThumbBlur: B,
351
+ onThumbHitPointerEnter: V,
352
+ onThumbHitPointerLeave: ee,
353
+ isReadoutOpen: U
354
+ };
355
+ }
356
+ //#endregion
357
+ //#region components/Slider/Composables/UseSliderGeometry.js
358
+ function le(e, { isVertical: t, isRange: n, internalValues: r, thumbPercent: i, isRtl: a, markEdgeOffsetPx: o, formatValue: s }) {
359
+ function c(e, n) {
360
+ let r = t.value ? { bottom: `${e}%` } : { insetInlineStart: `${e}%` };
361
+ return n && (r.transform = n), r;
362
+ }
363
+ function l() {
364
+ return a.value ? "50%" : "-50%";
365
+ }
366
+ let u = "var(--slider-edge-inset)", d = `calc(${u} + (100% - ${u} * 2) * `;
367
+ function f(e) {
368
+ return `${d}${e / 100})`;
369
+ }
370
+ function p(e) {
371
+ return `calc((100% - ${u} * 2) * ${e / 100})`;
372
+ }
373
+ function m(e, { verticalTransform: n, horizontalTransform: r }) {
374
+ let a = i(e);
375
+ return t.value ? {
376
+ bottom: f(a),
377
+ transform: n
378
+ } : {
379
+ insetInlineStart: f(a),
380
+ transform: r
381
+ };
382
+ }
383
+ function h(e) {
384
+ return m(e, {
385
+ verticalTransform: `translate(${l()}, 50%)`,
386
+ horizontalTransform: `translate(${l()}, -50%)`
387
+ });
388
+ }
389
+ function g(e) {
390
+ return m(e, {
391
+ verticalTransform: "translateY(50%)",
392
+ horizontalTransform: `translateX(${l()})`
393
+ });
394
+ }
395
+ function _(e) {
396
+ let t = a.value ? -1 : 1;
397
+ return e === "start" ? `translateX(${t}px)` : `translateX(calc(${a.value ? "100%" : "-100%"} + ${-t}px))`;
398
+ }
399
+ function v(e, n) {
400
+ let r = t.value ? { bottom: f(e) } : { insetInlineStart: f(e) };
401
+ return n && (r.transform = n), r;
402
+ }
403
+ function y(e, n, r) {
404
+ if (r && !t.value) return c(e, _(r));
405
+ let i = t.value ? 0 : o.value[n];
406
+ return i ? v(e, `translateX(calc(${l()} + ${i}px))`) : v(e);
407
+ }
408
+ function b(e, n, r) {
409
+ if (r && !t.value) return c(e, _(r));
410
+ let i = t.value ? 0 : n;
411
+ return i ? v(e, `translateX(calc(${l()} + ${i}px))`) : v(e);
412
+ }
413
+ return {
414
+ thumbPositionStyle: h,
415
+ tickPositionStyle: g,
416
+ markStyle: y,
417
+ readoutStyle: b,
418
+ mergedReadoutPct: x(() => {
419
+ if (!n.value || r.value.length !== 2) return 0;
420
+ let [e, t] = r.value;
421
+ return (i(e) + i(t)) / 2;
422
+ }),
423
+ mergedReadoutText: x(() => {
424
+ if (!n.value || r.value.length !== 2) return "";
425
+ let [e, t] = r.value;
426
+ return `${s(e, 0)}–${s(t, 1)}`;
427
+ }),
428
+ indicatorStyle: x(() => {
429
+ if (n.value && r.value.length === 2) {
430
+ let [e, n] = r.value, a = i(e), o = i(n);
431
+ return t.value ? {
432
+ bottom: f(a),
433
+ height: p(o - a)
434
+ } : {
435
+ insetInlineStart: f(a),
436
+ width: p(o - a)
437
+ };
438
+ }
439
+ let a = i(r.value[0] ?? e.min);
440
+ if (typeof e.fillOrigin == "number") {
441
+ let n = i(Math.min(e.max, Math.max(e.min, e.fillOrigin))), r = Math.min(a, n), o = Math.abs(a - n);
442
+ return t.value ? {
443
+ bottom: f(r),
444
+ height: p(o)
445
+ } : {
446
+ insetInlineStart: f(r),
447
+ width: p(o)
448
+ };
449
+ }
450
+ let o = e.fillOrigin === "end";
451
+ return t.value ? o ? {
452
+ top: 0,
453
+ height: `calc(100% - ${f(a)})`
454
+ } : {
455
+ bottom: 0,
456
+ height: f(a)
457
+ } : o ? {
458
+ insetInlineEnd: 0,
459
+ width: `calc(100% - ${f(a)})`
460
+ } : {
461
+ insetInlineStart: 0,
462
+ width: f(a)
463
+ };
464
+ })
465
+ };
466
+ }
467
+ //#endregion
468
+ //#region components/Slider/Composables/UseSliderMarksAndTicks.js
469
+ function ue(e, { isVertical: t, thumbPercent: n }) {
470
+ let r = x(() => {
471
+ let t = typeof e.showTicks == "number" ? e.showTicks : e.step;
472
+ return !t || t <= 0 ? [] : m(e.min, e.max, t, "ticks");
473
+ });
474
+ function i(t) {
475
+ return `${e.prefix}${t}${e.suffix}`;
476
+ }
477
+ let a = x(() => {
478
+ let t = e.showMarks === !0 ? [e.min, e.max] : e.showMarks;
479
+ return Array.isArray(t) ? t.filter(h).map((t) => {
480
+ let r = typeof t == "number" ? t : t.value, a = typeof t == "number" ? i(t) : t.text ?? i(r), o = r === e.min ? "start" : r === e.max ? "end" : null;
481
+ return {
482
+ text: a,
483
+ pct: n(r),
484
+ edge: o
485
+ };
486
+ }) : [];
487
+ });
488
+ return {
489
+ computedTickValues: r,
490
+ computedMarks: a,
491
+ reservesAnnotationSpace: x(() => !t.value && (a.value.length > 0 || e.readout === "always"))
492
+ };
493
+ }
494
+ //#endregion
495
+ //#region components/Slider/Composables/UseSliderCollisionAvoidance.js
496
+ function de(e, { controlRef: t, isVertical: n, isRange: r, internalValues: i, thumbPercent: a, isRtl: o, isReadoutOpen: s, computedMarks: c, formatValue: l }) {
497
+ let u = F([]), d = F([]), f = F(null), m = F([]), h = F([]), y = F(!1), b = F([]), S = F([]), C = F(0);
498
+ function w(e, t, n = 0) {
499
+ return !(e.right + n < t.left || e.left - n > t.right || e.bottom + n < t.top || e.top - n > t.bottom);
500
+ }
501
+ let T = 0, E = 0;
502
+ function D(e, r) {
503
+ if (!r || !t.value) return null;
504
+ let i = r.getBoundingClientRect(), a = t.value.getBoundingClientRect(), s = E;
505
+ if (n.value) {
506
+ let t = i.bottom - i.top, n = s + (a.bottom - a.top - 2 * s) * (e / 100), r = a.bottom - n;
507
+ return {
508
+ left: i.left,
509
+ right: i.right,
510
+ top: r - t / 2,
511
+ bottom: r + t / 2
512
+ };
513
+ }
514
+ let c = i.right - i.left, l = s + (a.right - a.left - 2 * s) * (_(e, o.value) / 100), u = a.left + l;
515
+ return {
516
+ left: u - c / 2,
517
+ right: u + c / 2,
518
+ top: i.top,
519
+ bottom: i.bottom
520
+ };
521
+ }
522
+ function O(e) {
523
+ return d.value.find((t) => t && Number(t.dataset.readoutIndex) === e);
524
+ }
525
+ function A(t, n) {
526
+ return e.readout === "tooltip" ? m.value[n]?.getBoundingClientRect() ?? null : D(a(t), O(n));
527
+ }
528
+ async function j() {
529
+ let n = ++T;
530
+ if (await k(), n !== T) return;
531
+ t.value && (E = g(t.value));
532
+ let o = y.value;
533
+ if (e.readout !== "tooltip" && r.value && i.value.length === 2 && s(0) && s(1)) {
534
+ let [e, t] = i.value, n = D(a(e), O(0)), r = D(a(t), O(1));
535
+ y.value = !!(n && r && w(n, r, 4));
536
+ } else y.value = !1;
537
+ y.value !== o && (await k(), n !== T) || (R(), P());
538
+ }
539
+ function P() {
540
+ let r = e.readout === "always" && !!t.value && !n.value, a = r ? t.value.getBoundingClientRect() : null;
541
+ function o(e, t) {
542
+ if (!e || !r) return 0;
543
+ let n = e.getBoundingClientRect();
544
+ return p(n.left - t, n.right - t, a, 0);
545
+ }
546
+ function c() {
547
+ let e = o(f.value, C.value);
548
+ e !== C.value && (C.value = e), S.value.some(Boolean) && (S.value = i.value.map(() => 0));
549
+ }
550
+ function l() {
551
+ C.value && (C.value = 0);
552
+ let e = i.value.map((e, t) => s(t) ? o(O(t), S.value[t] || 0) : 0);
553
+ v(e, S.value) || (S.value = e);
554
+ }
555
+ y.value ? c() : l();
556
+ }
557
+ function I() {
558
+ let [e, t] = i.value;
559
+ return (a(e) + a(t)) / 2;
560
+ }
561
+ function L() {
562
+ if (y.value) {
563
+ let e = D(I(), f.value);
564
+ return e ? [e] : [];
565
+ }
566
+ return i.value.map((e, t) => s(t) ? A(e, t) : null).filter(Boolean);
567
+ }
568
+ function R() {
569
+ let e = u.value;
570
+ if (!e.length) return;
571
+ let r = L(), i = c.value.map(() => !1), a = c.value.map(() => 0), o = !!t.value && !n.value, s = o ? t.value.getBoundingClientRect() : null;
572
+ e.forEach((e) => {
573
+ if (!e) return;
574
+ let t = Number(e.dataset.markIndex), n = b.value[t] || 0, c = e.getBoundingClientRect(), l = c.left - n, u = c.right - n, d = o ? p(l, u, s, 32) : 0;
575
+ if (a[t] = d, r.length) {
576
+ let e = {
577
+ top: c.top,
578
+ bottom: c.bottom,
579
+ left: l + d,
580
+ right: u + d
581
+ };
582
+ i[t] = r.some((t) => w(e, t, 4));
583
+ }
584
+ }), v(i, h.value) || (h.value = i), v(a, b.value) || (b.value = a);
585
+ }
586
+ let z = x(() => i.value.map((e, t) => s(t))), B = x(() => i.value.map((e, t) => l(e, t))), V = null;
587
+ return H([
588
+ z,
589
+ c,
590
+ n,
591
+ o
592
+ ], () => j(), { deep: !0 }), H([
593
+ i,
594
+ B,
595
+ () => e.readoutClass
596
+ ], () => {
597
+ e.readout !== "tooltip" && j();
598
+ }, { deep: !0 }), N(() => {
599
+ k(j), typeof ResizeObserver < "u" && t.value && (V = new ResizeObserver(() => {
600
+ j();
601
+ }), V.observe(t.value));
602
+ }), M(() => {
603
+ V?.disconnect();
604
+ }), {
605
+ markElRefs: u,
606
+ readoutElRefs: d,
607
+ mergedReadoutElRef: f,
608
+ tooltipElRefs: m,
609
+ markCollisionHidden: h,
610
+ readoutMerged: y,
611
+ markEdgeOffsetPx: b,
612
+ readoutEdgeOffsetPx: S,
613
+ mergedReadoutEdgeOffsetPx: C,
614
+ readoutVisibility: z,
615
+ formattedValues: B,
616
+ updateCollisions: j
617
+ };
618
+ }
619
+ //#endregion
620
+ //#region components/Slider/Composables/UseSliderTooltipReadout.js
621
+ var Y = {
622
+ visibilityProperty: !0,
623
+ opacityProperty: !0,
624
+ checkVisibilityCSS: !0,
625
+ checkOpacity: !0
626
+ };
627
+ function X(e) {
628
+ if (e.checkVisibility) return e.checkVisibility(Y);
629
+ if (!e.getClientRects().length || getComputedStyle(e).visibility !== "visible") return !1;
630
+ for (let t = e; t; t = t.parentElement) {
631
+ let e = getComputedStyle(t);
632
+ if (e.opacity === "0" || e.contentVisibility === "hidden") return !1;
633
+ }
634
+ return !0;
635
+ }
636
+ function fe(e, t) {
637
+ return e.left === t.left && e.top === t.top && e.right === t.right && e.bottom === t.bottom;
638
+ }
639
+ var Z = (e, t, n) => Math.min(n, Math.max(t, e));
640
+ function pe(e, { thumbVisualRefs: t, tooltipElRefs: n, isVertical: r, isRtl: i, readoutVisibility: a, formattedValues: p, onPosition: m }) {
641
+ let h = /* @__PURE__ */ new Map();
642
+ function g(t) {
643
+ return e.readout === "tooltip" && !e.disabled && a.value[t];
644
+ }
645
+ function _(e) {
646
+ let t = h.get(e);
647
+ t && (h.delete(e), t.cleanup?.(), t.tooltip.matches(":popover-open") && t.tooltip.hidePopover());
648
+ }
649
+ function y(e, t, n) {
650
+ if (typeof n.showPopover != "function") return;
651
+ let a = 0, p = !0, y = null, b = null, x, S = {
652
+ anchor: t,
653
+ tooltip: n,
654
+ update: E,
655
+ cleanup: null
656
+ }, C = () => h.get(e) === S;
657
+ function w() {
658
+ return p || !X(t) ? "hidden" : "visible";
659
+ }
660
+ function T() {
661
+ n.style.visibility = "hidden", n.showPopover();
662
+ }
663
+ async function E() {
664
+ if (!C()) return;
665
+ if (!n.matches(":popover-open")) {
666
+ if (!g(e) || !t.isConnected || !n.isConnected || !X(t)) {
667
+ _(e);
668
+ return;
669
+ }
670
+ T();
671
+ }
672
+ let d = ++a, h = t.getBoundingClientRect();
673
+ y = h;
674
+ let x = parseFloat(getComputedStyle(n).paddingBlockStart) || 0, S = {
675
+ boundary: [],
676
+ padding: x * 2
677
+ }, E = n.firstElementChild, D = () => C() && d === a, O = await c(t, n, {
678
+ strategy: "fixed",
679
+ placement: r.value ? i.value ? "left" : "right" : "top",
680
+ middleware: [
681
+ s(x),
682
+ o(S),
683
+ l(S),
684
+ f({
685
+ ...S,
686
+ apply({ availableWidth: e, availableHeight: t }) {
687
+ D() && (E.style.maxInlineSize = `${Math.max(0, e - x * 2)}px`, E.style.maxBlockSize = `${Math.max(0, t - x * 2)}px`);
688
+ }
689
+ }),
690
+ u()
691
+ ]
692
+ });
693
+ if (!D()) return;
694
+ let k = n.offsetWidth, A = n.offsetHeight, j = O.placement;
695
+ p = O.middlewareData.hide?.referenceHidden;
696
+ let M = w();
697
+ n.dataset.side = j, Object.assign(n.style, {
698
+ left: `${O.x}px`,
699
+ top: `${O.y}px`,
700
+ visibility: M
701
+ }), j === "top" || j === "bottom" ? n.style.setProperty("--slider-tooltip-arrow-x", `${Z(h.left + h.width / 2 - O.x, x, k - x)}px`) : n.style.setProperty("--slider-tooltip-arrow-y", `${Z(h.top + h.height / 2 - O.y, x, A - x)}px`);
702
+ let N = [
703
+ O.x,
704
+ O.y,
705
+ k,
706
+ A,
707
+ j,
708
+ M
709
+ ];
710
+ (!b || !v(N, b)) && (b = N, m());
711
+ }
712
+ function D() {
713
+ !n.matches(":popover-open") || !y || !fe(t.getBoundingClientRect(), y) ? E() : n.style.visibility = w(), C() && (x = requestAnimationFrame(D));
714
+ }
715
+ h.set(e, S), T();
716
+ let O = d(t, n, E, { layoutShift: !1 });
717
+ D(), S.cleanup = () => {
718
+ O(), cancelAnimationFrame(x);
719
+ };
720
+ }
721
+ function b() {
722
+ for (let [e, r] of h) (!g(e) || t.value[e] !== r.anchor || n.value[e] !== r.tooltip) && _(e);
723
+ a.value.forEach((e, r) => {
724
+ let i = t.value[r], a = n.value[r];
725
+ !i || !a || !g(r) || (h.has(r) ? h.get(r).update() : y(r, i, a));
726
+ });
727
+ }
728
+ H([
729
+ () => e.readout,
730
+ () => e.disabled,
731
+ r,
732
+ i,
733
+ p,
734
+ a
735
+ ], b, { flush: "post" }), N(b), M(() => {
736
+ for (let e of h.keys()) _(e);
737
+ });
738
+ }
739
+ //#endregion
740
+ //#region components/Slider/Slider.vue?vue&type=script&setup=true&lang.ts
741
+ var me = [
742
+ "data-disabled",
743
+ "data-orientation",
744
+ "data-dragging"
745
+ ], he = ["onPointerenter", "onPointerleave"], ge = [
746
+ "min",
747
+ "max",
748
+ "step",
749
+ "value",
750
+ "disabled",
751
+ "name",
752
+ "aria-labelledby",
753
+ "aria-label",
754
+ "aria-describedby",
755
+ "aria-errormessage",
756
+ "aria-details",
757
+ "aria-invalid",
758
+ "aria-valuetext",
759
+ "aria-orientation",
760
+ "onInput",
761
+ "onKeydown",
762
+ "onFocus",
763
+ "onBlur"
764
+ ], _e = ["data-mark-index"], ve = ["data-readout-index"], ye = { class: "d-slider__tooltip-content" }, be = /* @__PURE__ */ D({
765
+ name: "DtSlider",
766
+ inheritAttrs: !1,
767
+ __name: "Slider",
768
+ props: {
769
+ modelValue: {
770
+ type: [Number, Array],
771
+ default: void 0,
772
+ validator: (e) => !Array.isArray(e) || e.length === 2
773
+ },
774
+ min: {
775
+ type: Number,
776
+ default: 0,
777
+ validator: Number.isFinite
778
+ },
779
+ max: {
780
+ type: Number,
781
+ default: 100,
782
+ validator: Number.isFinite
783
+ },
784
+ step: {
785
+ type: Number,
786
+ default: 1,
787
+ validator: Number.isFinite
788
+ },
789
+ snapPoints: {
790
+ type: [Number, Array],
791
+ default: void 0,
792
+ validator: (e) => Number.isFinite(e) || Array.isArray(e) && e.every(Number.isFinite)
793
+ },
794
+ disabled: {
795
+ type: Boolean,
796
+ default: !1
797
+ },
798
+ orientation: {
799
+ type: String,
800
+ default: "horizontal",
801
+ validator: (e) => U.includes(e)
802
+ },
803
+ fillOrigin: {
804
+ type: [Number, String],
805
+ default: "start",
806
+ validator: (e) => typeof e == "number" || G.includes(e)
807
+ },
808
+ showTicks: {
809
+ type: [Boolean, Number],
810
+ default: !1
811
+ },
812
+ minGapSteps: {
813
+ type: Number,
814
+ default: 0
815
+ },
816
+ label: {
817
+ type: String,
818
+ default: ""
819
+ },
820
+ showLabel: {
821
+ type: Boolean,
822
+ default: !0
823
+ },
824
+ labelSize: {
825
+ type: [String, Number],
826
+ default: null,
827
+ validator: (e) => r.label.includes(String(e))
828
+ },
829
+ labelStrength: {
830
+ type: String,
831
+ default: null,
832
+ validator: (e) => Object.keys(i).includes(e)
833
+ },
834
+ getValueText: {
835
+ type: Function,
836
+ default: null
837
+ },
838
+ prefix: {
839
+ type: String,
840
+ default: ""
841
+ },
842
+ suffix: {
843
+ type: String,
844
+ default: ""
845
+ },
846
+ name: {
847
+ type: String,
848
+ default: ""
849
+ },
850
+ largeStep: {
851
+ type: Number,
852
+ default: 10
853
+ },
854
+ bodyClass: {
855
+ type: [
856
+ String,
857
+ Array,
858
+ Object
859
+ ],
860
+ default: ""
861
+ },
862
+ labelClass: {
863
+ type: [
864
+ String,
865
+ Array,
866
+ Object
867
+ ],
868
+ default: ""
869
+ },
870
+ startClass: {
871
+ type: [
872
+ String,
873
+ Array,
874
+ Object
875
+ ],
876
+ default: ""
877
+ },
878
+ endClass: {
879
+ type: [
880
+ String,
881
+ Array,
882
+ Object
883
+ ],
884
+ default: ""
885
+ },
886
+ readout: {
887
+ type: String,
888
+ default: "tooltip",
889
+ validator: (e) => W.includes(e)
890
+ },
891
+ readoutClass: {
892
+ type: [
893
+ String,
894
+ Array,
895
+ Object
896
+ ],
897
+ default: ""
898
+ },
899
+ showMarks: {
900
+ type: [Array, Boolean],
901
+ default: !1,
902
+ validator: (e) => typeof e == "boolean" || Array.isArray(e) && e.every(h)
903
+ }
904
+ },
905
+ emits: [
906
+ "update:modelValue",
907
+ "change",
908
+ "focus",
909
+ "blur"
910
+ ],
911
+ setup(r, { expose: i, emit: o }) {
912
+ let s = r, c = o, l = V(), u = B(), d = `slider-label-${e()}`, f = F(null), p = F([]), m = F([]), h = x(() => Array.isArray(s.modelValue)), g = x(() => s.orientation === "vertical"), { isRtl: _ } = ie(f), { activeSnapValue: v, findMagneticSnapPoint: D } = se(s, {
913
+ controlRef: f,
914
+ isVertical: g
915
+ }), { internalValues: k, lastCommittedValues: M, currentValue: N, decimalPlaces: H, snapToStep: U, thumbPercent: W, thumbNativeMin: G, thumbNativeMax: te, thumbNativeStep: ne, formatValue: K } = ae(s, c, {
916
+ isRange: h,
917
+ activeSnapValue: v
918
+ });
919
+ function q(e) {
920
+ return e.some((e) => {
921
+ if (typeof e == "string") return e.trim() !== "";
922
+ if (e.type === y) return !1;
923
+ if (typeof e.children == "string") return e.children.trim() !== "";
924
+ if (Array.isArray(e.children)) return q(e.children);
925
+ if (e.children && typeof e.children.default == "function") {
926
+ let t = e.children.default();
927
+ return q(Array.isArray(t) ? t : [t]);
928
+ }
929
+ return !1;
930
+ });
931
+ }
932
+ let oe = x(() => l.label ? q(l.label({ value: N.value })) : !!s.label?.trim()), J = x(() => s.showLabel && oe.value), Y = x(() => J.value ? d : u["aria-labelledby"]), X = x(() => {
933
+ if (!J.value) return !s.showLabel && s.label ? s.label : u["aria-label"];
934
+ }), fe = x(() => J.value || !!(String(X.value ?? "").trim() || String(Y.value ?? "").trim())), Z = x(() => s.labelSize ?? 300), be = [
935
+ "aria-label",
936
+ "aria-labelledby",
937
+ "aria-describedby",
938
+ "aria-errormessage",
939
+ "aria-details",
940
+ "aria-invalid"
941
+ ], xe = x(() => {
942
+ let e = n(u);
943
+ return Object.fromEntries(Object.entries(e).filter(([e]) => !be.includes(e)));
944
+ }), { isDragging: Se, activeThumbIndex: Ce, focusedThumbIndex: we, onPointerDown: Te, onPointerMove: Ee, onPointerUp: Q, onThumbInput: De, onThumbKeydown: Oe, onThumbFocus: ke, onThumbBlur: Ae, onThumbHitPointerEnter: je, onThumbHitPointerLeave: Me, isReadoutOpen: Ne } = ce(s, c, {
945
+ controlRef: f,
946
+ thumbRefs: p,
947
+ internalValues: k,
948
+ isRange: h,
949
+ isVertical: g,
950
+ decimalPlaces: H,
951
+ snapToStep: U,
952
+ lastCommittedValues: M,
953
+ findMagneticSnapPoint: D,
954
+ activeSnapValue: v,
955
+ isRtl: _
956
+ }), { computedTickValues: Pe, computedMarks: Fe, reservesAnnotationSpace: Ie } = ue(s, {
957
+ isVertical: g,
958
+ thumbPercent: W
959
+ }), { markElRefs: Le, readoutElRefs: Re, mergedReadoutElRef: ze, tooltipElRefs: Be, markCollisionHidden: Ve, readoutMerged: He, markEdgeOffsetPx: Ue, readoutEdgeOffsetPx: We, mergedReadoutEdgeOffsetPx: Ge, readoutVisibility: Ke, formattedValues: qe, updateCollisions: Je } = de(s, {
960
+ controlRef: f,
961
+ isVertical: g,
962
+ isRange: h,
963
+ internalValues: k,
964
+ thumbPercent: W,
965
+ isRtl: _,
966
+ isReadoutOpen: Ne,
967
+ computedMarks: Fe,
968
+ formatValue: K
969
+ }), { thumbPositionStyle: $, tickPositionStyle: Ye, markStyle: Xe, readoutStyle: Ze, mergedReadoutPct: Qe, mergedReadoutText: $e, indicatorStyle: et } = le(s, {
970
+ isVertical: g,
971
+ isRange: h,
972
+ internalValues: k,
973
+ thumbPercent: W,
974
+ isRtl: _,
975
+ markEdgeOffsetPx: Ue,
976
+ formatValue: K
977
+ });
978
+ function tt(e) {
979
+ return e === s.min ? "start" : e === s.max ? "end" : null;
980
+ }
981
+ pe(s, {
982
+ thumbVisualRefs: m,
983
+ tooltipElRefs: Be,
984
+ isVertical: g,
985
+ isRtl: _,
986
+ readoutVisibility: Ke,
987
+ formattedValues: qe,
988
+ onPosition: Je
989
+ }), re(s, {
990
+ isRange: h,
991
+ hasAccessibleName: fe
992
+ });
993
+ function nt() {
994
+ p.value[0]?.focus();
995
+ }
996
+ function rt() {
997
+ p.value.find((e) => e === document.activeElement)?.blur();
998
+ }
999
+ return i({
1000
+ focus: nt,
1001
+ blur: rt
1002
+ }), (e, n) => (P(), w("div", O(xe.value, {
1003
+ class: [
1004
+ "d-slider",
1005
+ e.$attrs.class,
1006
+ {
1007
+ "d-slider--disabled": r.disabled,
1008
+ "d-slider--vertical": g.value,
1009
+ "d-slider--inverted": r.fillOrigin === "end",
1010
+ "d-slider--dragging": z(Se)
1011
+ }
1012
+ ],
1013
+ style: e.$attrs.style,
1014
+ "data-disabled": r.disabled || void 0,
1015
+ "data-orientation": r.orientation,
1016
+ "data-dragging": z(Se) || void 0,
1017
+ "data-qa": "dt-slider"
1018
+ }), [r.showLabel ? (P(), w("div", {
1019
+ key: 0,
1020
+ id: d,
1021
+ class: A(["d-slider__label", r.labelClass]),
1022
+ "data-qa": "dt-slider-label"
1023
+ }, [L(e.$slots, "label", { value: z(N) }, () => [r.label ? (P(), S(z(a), {
1024
+ key: 0,
1025
+ kind: "label",
1026
+ size: Z.value,
1027
+ strength: r.labelStrength,
1028
+ tone: r.disabled ? "disabled" : "secondary"
1029
+ }, {
1030
+ default: ee(() => [E(R(r.label), 1)]),
1031
+ _: 1
1032
+ }, 8, [
1033
+ "size",
1034
+ "strength",
1035
+ "tone"
1036
+ ])) : C("", !0)])], 2)) : C("", !0), T("div", {
1037
+ class: A([
1038
+ "d-slider__body",
1039
+ r.bodyClass,
1040
+ { "d-slider__body--reserve-annotation-space": z(Ie) }
1041
+ ]),
1042
+ "data-qa": "dt-slider-body"
1043
+ }, [
1044
+ z(t)(e.$slots.start) ? (P(), w("div", {
1045
+ key: 0,
1046
+ class: A(["d-slider__start", r.startClass]),
1047
+ "data-qa": "dt-slider-start"
1048
+ }, [L(e.$slots, "start")], 2)) : C("", !0),
1049
+ T("div", {
1050
+ ref_key: "controlRef",
1051
+ ref: f,
1052
+ class: "d-slider__control",
1053
+ style: j(g.value ? { touchAction: "pan-x" } : { touchAction: "pan-y" }),
1054
+ "data-qa": "dt-slider-control",
1055
+ onPointerdown: n[0] || (n[0] = (...e) => z(Te) && z(Te)(...e)),
1056
+ onPointermove: n[1] || (n[1] = (...e) => z(Ee) && z(Ee)(...e)),
1057
+ onPointerup: n[2] || (n[2] = (...e) => z(Q) && z(Q)(...e)),
1058
+ onPointercancel: n[3] || (n[3] = (...e) => z(Q) && z(Q)(...e))
1059
+ }, [
1060
+ n[4] || (n[4] = T("div", {
1061
+ class: "d-slider__track",
1062
+ "data-qa": "dt-slider-track"
1063
+ }, null, -1)),
1064
+ T("div", {
1065
+ class: "d-slider__indicator",
1066
+ style: j(z(et)),
1067
+ "data-qa": "dt-slider-indicator"
1068
+ }, null, 4),
1069
+ r.showTicks ? (P(!0), w(b, { key: 0 }, I(z(Pe), (e, t) => (P(), w("div", {
1070
+ key: t,
1071
+ class: "d-slider__tick",
1072
+ style: j(z(Ye)(e)),
1073
+ "data-qa": "dt-slider-tick"
1074
+ }, null, 4))), 128)) : C("", !0),
1075
+ (P(!0), w(b, null, I(z(k), (e, t) => (P(), w("div", {
1076
+ key: `thumb-visual-${t}`,
1077
+ ref_for: !0,
1078
+ ref: (e) => {
1079
+ m.value[t] = e;
1080
+ },
1081
+ class: A(["d-slider__thumb-visual", {
1082
+ "d-slider__thumb-visual--focused": z(we) === t,
1083
+ "d-slider__thumb-visual--active": z(Ce) === t
1084
+ }]),
1085
+ style: j(z($)(e)),
1086
+ "data-qa": "dt-slider-thumb-visual"
1087
+ }, null, 6))), 128)),
1088
+ (P(!0), w(b, null, I(z(k), (e, t) => (P(), w("div", {
1089
+ key: `thumb-hit-${t}`,
1090
+ class: "d-slider__thumb-hit",
1091
+ style: j({
1092
+ ...z($)(e),
1093
+ touchAction: g.value ? "pan-x" : "pan-y"
1094
+ }),
1095
+ "data-qa": "dt-slider-thumb-hit",
1096
+ onPointerenter: (e) => z(je)(t),
1097
+ onPointerleave: (e) => z(Me)(t)
1098
+ }, null, 44, he))), 128)),
1099
+ (P(!0), w(b, null, I(z(k), (e, t) => (P(), w("input", {
1100
+ key: `thumb-input-${t}`,
1101
+ ref_for: !0,
1102
+ ref: (e) => {
1103
+ p.value[t] = e;
1104
+ },
1105
+ type: "range",
1106
+ class: "d-slider__thumb",
1107
+ min: z(G)(t),
1108
+ max: z(te)(t),
1109
+ step: z(ne)(t),
1110
+ value: e,
1111
+ disabled: r.disabled,
1112
+ name: r.name || void 0,
1113
+ "aria-labelledby": Y.value,
1114
+ "aria-label": X.value,
1115
+ "aria-describedby": z(u)["aria-describedby"],
1116
+ "aria-errormessage": z(u)["aria-errormessage"],
1117
+ "aria-details": z(u)["aria-details"],
1118
+ "aria-invalid": z(u)["aria-invalid"],
1119
+ "aria-valuetext": z(K)(e, t),
1120
+ "aria-orientation": g.value ? "vertical" : void 0,
1121
+ "data-qa": "dt-slider-thumb",
1122
+ onInput: (e) => z(De)(t, e),
1123
+ onKeydown: (e) => z(Oe)(t, e),
1124
+ onFocus: (e) => z(ke)(t, e),
1125
+ onBlur: (e) => z(Ae)(t, e)
1126
+ }, null, 40, ge))), 128)),
1127
+ (P(!0), w(b, null, I(z(Fe), (e, t) => (P(), w("div", {
1128
+ key: `mark-${t}`,
1129
+ ref_for: !0,
1130
+ ref_key: "markElRefs",
1131
+ ref: Le,
1132
+ class: A(["d-slider__mark", { "d-slider__mark--collision-hidden": z(Ve)[t] }]),
1133
+ style: j(z(Xe)(e.pct, t, e.edge)),
1134
+ "data-mark-index": t,
1135
+ "data-qa": "dt-slider-mark"
1136
+ }, R(e.text), 15, _e))), 128)),
1137
+ r.readout === "always" ? (P(), w(b, { key: 1 }, [(P(!0), w(b, null, I(z(k), (e, t) => (P(), w("div", {
1138
+ key: `readout-${t}`,
1139
+ ref_for: !0,
1140
+ ref_key: "readoutElRefs",
1141
+ ref: Re,
1142
+ class: A([
1143
+ "d-slider__readout",
1144
+ z(He) ? "d-slider__readout--hide" : "d-slider__readout--show",
1145
+ r.readoutClass
1146
+ ]),
1147
+ style: j(z(Ze)(z(W)(e), z(We)[t], tt(e))),
1148
+ "data-readout-index": t,
1149
+ "aria-hidden": "true",
1150
+ "data-qa": "dt-slider-thumb-readout"
1151
+ }, R(z(K)(e, t)), 15, ve))), 128)), z(He) ? (P(), w("div", {
1152
+ key: 0,
1153
+ ref_key: "mergedReadoutElRef",
1154
+ ref: ze,
1155
+ class: A([
1156
+ "d-slider__readout",
1157
+ "d-slider__readout--show",
1158
+ r.readoutClass
1159
+ ]),
1160
+ style: j(z(Ze)(z(Qe), z(Ge))),
1161
+ "aria-hidden": "true",
1162
+ "data-qa": "dt-slider-thumb-readout-merged"
1163
+ }, R(z($e)), 7)) : C("", !0)], 64)) : C("", !0),
1164
+ r.readout === "tooltip" ? (P(!0), w(b, { key: 2 }, I(z(k), (e, t) => (P(), w("div", {
1165
+ key: `readout-tooltip-${t}`,
1166
+ ref_for: !0,
1167
+ ref: (e) => {
1168
+ z(Be)[t] = e;
1169
+ },
1170
+ class: "d-tooltip d-slider__readout-tooltip",
1171
+ popover: "manual",
1172
+ inert: "",
1173
+ "aria-hidden": "true",
1174
+ "data-qa": "dt-slider-thumb-readout-tooltip"
1175
+ }, [T("span", ye, R(z(K)(e, t)), 1)]))), 128)) : C("", !0)
1176
+ ], 36),
1177
+ z(t)(e.$slots.end) ? (P(), w("div", {
1178
+ key: 1,
1179
+ class: A(["d-slider__end", r.endClass]),
1180
+ "data-qa": "dt-slider-end"
1181
+ }, [L(e.$slots, "end")], 2)) : C("", !0)
1182
+ ], 2)], 16, me));
1183
+ }
1184
+ });
1185
+ //#endregion
1186
+ export { U as a, G as i, te as n, K as o, ne as r, W as s, be as t };
1187
+
1188
+ //# sourceMappingURL=Slider-Du45PVLU.js.map