@arcgis/common-components 6.0.0-next.4 → 6.0.0-next.40

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 (144) hide show
  1. package/dist/cdn/{B33S3YBM.js → 24FE5GMT.js} +1 -1
  2. package/dist/cdn/2XTXXTEZ.js +2 -0
  3. package/dist/cdn/3QTMLOOM.js +2 -0
  4. package/dist/cdn/4X2SOHYB.js +2 -0
  5. package/dist/cdn/{OTWADB4M.js → 4ZVHN3V7.js} +1 -1
  6. package/dist/cdn/55VDXBLV.js +2 -0
  7. package/dist/cdn/5YQK5TCH.js +2 -0
  8. package/dist/cdn/{EB5MDEWF.js → 7S4ZZPSA.js} +1 -1
  9. package/dist/cdn/7VGSZDT7.js +2 -0
  10. package/dist/cdn/ABDFJWQO.js +2 -0
  11. package/dist/cdn/BAMK6STW.js +2 -0
  12. package/dist/cdn/CC74AHNF.js +2 -0
  13. package/dist/cdn/CCJ7MF3B.js +2 -0
  14. package/dist/cdn/{TO3YFXVJ.js → EYOJNGUG.js} +1 -1
  15. package/dist/cdn/{MFGUTQRR.js → F5IBLVYU.js} +1 -1
  16. package/dist/cdn/HMGFS4YI.js +2 -0
  17. package/dist/cdn/HYR5WUUX.js +2 -0
  18. package/dist/cdn/JAMYEW7N.js +2 -0
  19. package/dist/cdn/JCWKK6FB.js +2 -0
  20. package/dist/cdn/LIFJOO55.js +2 -0
  21. package/dist/cdn/{LNXO5YIS.js → LPKRIISW.js} +1 -1
  22. package/dist/cdn/LRP7XW5X.js +2 -0
  23. package/dist/cdn/{KDCSDIUQ.js → LZPZYGFW.js} +1 -1
  24. package/dist/cdn/{JTQN5KMG.js → MWQVR7SB.js} +1 -1
  25. package/dist/cdn/N5YNSPMD.js +2 -0
  26. package/dist/cdn/NEJQBOXB.js +8207 -0
  27. package/dist/cdn/NSTQTWS5.js +2 -0
  28. package/dist/cdn/ONYZMGVN.js +2 -0
  29. package/dist/cdn/OQRMI3K5.js +2 -0
  30. package/dist/cdn/{34AP2EEB.js → OVW45JGX.js} +1 -1
  31. package/dist/cdn/Q73UFMJY.js +4 -0
  32. package/dist/cdn/{BZFAYVKR.js → RBTFN5SR.js} +1 -1
  33. package/dist/cdn/RU4PILTH.js +2 -0
  34. package/dist/cdn/RU722XDV.js +2 -0
  35. package/dist/cdn/S2EORL4N.js +2 -0
  36. package/dist/cdn/S3GK6UB7.js +2 -0
  37. package/dist/cdn/T7LZIFNY.js +2 -0
  38. package/dist/cdn/TZBDDGN3.js +2 -0
  39. package/dist/cdn/UOXUUCE7.js +3 -0
  40. package/dist/cdn/VLVINHT3.js +2 -0
  41. package/dist/cdn/WDQV5Y4K.js +2 -0
  42. package/dist/cdn/{OMROUY3L.js → X44CHGA6.js} +1 -1
  43. package/dist/cdn/XMMFL5H3.js +2 -0
  44. package/dist/cdn/{IECXEZNI.js → Y72KV72H.js} +1 -1
  45. package/dist/cdn/{D4UHHQ35.js → YOPZGJMF.js} +1 -1
  46. package/dist/cdn/ZJMMAZFG.js +2 -0
  47. package/dist/cdn/assets/layer-replace/t9n/messages.en.json +1 -0
  48. package/dist/cdn/index.js +1 -1
  49. package/dist/cdn/main.css +1 -1
  50. package/dist/chunks/sharedCacheDirective.js +74 -0
  51. package/dist/chunks/utils.js +75 -37
  52. package/dist/chunks/utils2.js +9 -14
  53. package/dist/chunks/well-known-sizes-controller.js +42 -0
  54. package/dist/components/arcgis-ckeditor5/customElement.d.ts +0 -9
  55. package/dist/components/arcgis-ckeditor5/customElement.js +1336 -1339
  56. package/dist/components/arcgis-ckeditor5-popover/customElement.d.ts +0 -6
  57. package/dist/components/arcgis-ckeditor5-popover/customElement.js +14 -17
  58. package/dist/components/arcgis-color-input/customElement.d.ts +0 -20
  59. package/dist/components/arcgis-color-input/customElement.js +33 -33
  60. package/dist/components/arcgis-color-input/index.js +2 -1
  61. package/dist/components/arcgis-field-info/customElement.d.ts +0 -3
  62. package/dist/components/arcgis-field-info/customElement.js +41 -41
  63. package/dist/components/arcgis-field-pick-list/customElement.d.ts +0 -28
  64. package/dist/components/arcgis-field-pick-list/customElement.js +114 -127
  65. package/dist/components/arcgis-field-pick-list/index.js +1 -1
  66. package/dist/components/arcgis-html-content/customElement.d.ts +42 -0
  67. package/dist/components/arcgis-html-content/customElement.js +71 -0
  68. package/dist/components/arcgis-html-content/index.d.ts +1 -0
  69. package/dist/components/arcgis-html-content/index.js +1 -0
  70. package/dist/components/arcgis-label-input/customElement.js +1 -1
  71. package/dist/components/arcgis-layer-replace/customElement.d.ts +437 -0
  72. package/dist/components/arcgis-layer-replace/customElement.js +376 -0
  73. package/dist/components/arcgis-layer-replace/index.d.ts +1 -0
  74. package/dist/components/arcgis-layer-replace/index.js +7 -0
  75. package/dist/components/arcgis-slider/customElement.js +546 -451
  76. package/dist/components/arcgis-slider-field/customElement.d.ts +43 -41
  77. package/dist/components/arcgis-slider-field/customElement.js +45 -39
  78. package/dist/components/arcgis-slider-histogram-range/customElement.d.ts +21 -19
  79. package/dist/components/arcgis-slider-histogram-range/customElement.js +28 -22
  80. package/dist/components/arcgis-slider-input/customElement.d.ts +0 -3
  81. package/dist/components/arcgis-slider-input/customElement.js +13 -13
  82. package/dist/components/arcgis-ticks/customElement.js +8 -8
  83. package/dist/components/arcgis-toolbar/customElement.d.ts +25 -2
  84. package/dist/components/arcgis-toolbar/customElement.js +55 -46
  85. package/dist/components/arcgis-toolbar/types.d.ts +21 -1
  86. package/dist/components/arcgis-toolbar-action/customElement.js +17 -18
  87. package/dist/components/arcgis-toolbar-group/customElement.js +20 -17
  88. package/dist/components/arcgis-toolbar-item/customElement.d.ts +2 -2
  89. package/dist/components/arcgis-toolbar-item/customElement.js +14 -14
  90. package/dist/components/arcgis-toolbar-more-button/customElement.js +28 -26
  91. package/dist/components/arcgis-toolbar-split-button/customElement.js +34 -34
  92. package/dist/components/arcgis-toolbar-stack/customElement.d.ts +9 -2
  93. package/dist/components/arcgis-toolbar-stack/customElement.js +63 -125
  94. package/dist/components/arcgis-unique-values-list/customElement.js +11 -11
  95. package/dist/components/arcgis-unique-values-list/index.js +1 -1
  96. package/dist/components/arcgis-value-picker/customElement.js +22 -26
  97. package/dist/components/arcgis-value-picker-combobox/customElement.js +4 -4
  98. package/dist/components/arcgis-value-picker-label/customElement.js +5 -5
  99. package/dist/components/arcgis-value-picker-slider/customElement.d.ts +12 -19
  100. package/dist/components/arcgis-value-picker-slider/customElement.js +17 -17
  101. package/dist/docs/api.json +1 -1
  102. package/dist/docs/docs.json +1 -1
  103. package/dist/docs/vscode.css-custom-data.json +1 -1
  104. package/dist/docs/vscode.html-custom-data.json +1 -1
  105. package/dist/docs/web-types.json +1 -1
  106. package/dist/index.d.ts +15 -20
  107. package/dist/index.js +8 -5
  108. package/dist/loader.js +10 -8
  109. package/dist/types/lumina.d.ts +17 -19
  110. package/dist/types/preact.d.ts +19 -19
  111. package/dist/types/react.d.ts +21 -19
  112. package/dist/types/stencil.d.ts +17 -19
  113. package/dist/utils/sharedCacheDirective.d.ts +68 -0
  114. package/dist/utils/types.d.ts +0 -12
  115. package/package.json +7 -7
  116. package/dist/cdn/32MHBJSZ.js +0 -2
  117. package/dist/cdn/3AFEXHZ5.js +0 -2
  118. package/dist/cdn/5EA7SGHX.js +0 -2
  119. package/dist/cdn/5XRYXPOX.js +0 -2
  120. package/dist/cdn/735FTIBP.js +0 -2
  121. package/dist/cdn/ATLXGXTH.js +0 -2
  122. package/dist/cdn/BCN6LPOG.js +0 -4
  123. package/dist/cdn/CKGWDI7B.js +0 -2
  124. package/dist/cdn/DPJGC3YQ.js +0 -2
  125. package/dist/cdn/DR2THZQU.js +0 -8208
  126. package/dist/cdn/EM4OQXFS.js +0 -2
  127. package/dist/cdn/GDRW3MIZ.js +0 -2
  128. package/dist/cdn/HJ3EJZFF.js +0 -2
  129. package/dist/cdn/HYFFUYAU.js +0 -2
  130. package/dist/cdn/LLATF73T.js +0 -2
  131. package/dist/cdn/M2J3GPM4.js +0 -2
  132. package/dist/cdn/M3SFEFPX.js +0 -2
  133. package/dist/cdn/OIGA7XBZ.js +0 -2
  134. package/dist/cdn/QCUF7B3I.js +0 -2
  135. package/dist/cdn/S4XOD4YS.js +0 -2
  136. package/dist/cdn/TXQKK4DJ.js +0 -2
  137. package/dist/cdn/UIBTY5FF.js +0 -2
  138. package/dist/cdn/X6DNIKWY.js +0 -2
  139. package/dist/cdn/XUPA27AW.js +0 -2
  140. package/dist/cdn/XX2ZCFWI.js +0 -2
  141. package/dist/cdn/YEFEVEP6.js +0 -2
  142. package/dist/cdn/ZCVP2N2O.js +0 -2
  143. package/dist/cdn/ZGYD3GAS.js +0 -2
  144. package/dist/chunks/toolbar.js +0 -9
@@ -1,20 +1,21 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import { c as ee } from "../../chunks/runtime.js";
3
- import { keyed as te } from "lit/directives/keyed.js";
4
- import { LitElement as ae, createEvent as M, safeClassMap as T, safeStyleMap as F, nothing as E } from "@arcgis/lumina";
5
- import { makeAccessorController as ne } from "@arcgis/lumina-toolkit/useAccessor";
6
- import { classes as re, getClosestElement as ie } from "@arcgis/toolkit/dom";
2
+ import { c as ae } from "../../chunks/runtime.js";
3
+ import { keyed as q } from "lit/directives/keyed.js";
4
+ import { LitElement as ie, createEvent as M, safeClassMap as T, safeStyleMap as F, nothing as V } from "@arcgis/lumina";
5
+ import { useDirection as se } from "@arcgis/lumina/controllers";
6
+ import { makeAccessorController as le } from "@arcgis/lumina-toolkit/useAccessor";
7
+ import { classes as oe, getClosestElement as ce } from "@arcgis/toolkit/dom";
7
8
  import { slotChangeHasAssignedElement as H } from "@arcgis/toolkit/dom/slots";
8
- import { css as se, html as w } from "lit";
9
- import { map as N } from "lit/directives/map.js";
10
- import { createRef as X, ref as B } from "lit/directives/ref.js";
11
- import { u as le } from "../../chunks/useT9n.js";
12
- import { a as oe } from "../../chunks/locale.js";
13
- import ce from "@arcgis/core/core/Accessor.js";
14
- import { property as I, subclass as de } from "@arcgis/core/core/accessorSupport/decorators.js";
15
- import { watch as U } from "@arcgis/core/core/reactiveUtils.js";
16
- import { generateGuid as q } from "@arcgis/toolkit/string";
17
- const b = {
9
+ import { css as he, html as w } from "lit";
10
+ import { map as X } from "lit/directives/map.js";
11
+ import { createRef as j, ref as U } from "lit/directives/ref.js";
12
+ import { u as de } from "../../chunks/useT9n.js";
13
+ import { a as ue } from "../../chunks/locale.js";
14
+ import ge from "@arcgis/core/core/Accessor.js";
15
+ import { property as P, subclass as me } from "@arcgis/core/core/accessorSupport/decorators.js";
16
+ import { watch as K } from "@arcgis/core/core/reactiveUtils.js";
17
+ import { generateGuid as W } from "@arcgis/toolkit/string";
18
+ const _ = {
18
19
  increment: "ArrowUp",
19
20
  incrementHorizontal: "ArrowRight",
20
21
  decrement: "ArrowDown",
@@ -25,85 +26,85 @@ const b = {
25
26
  jumpToEnd: "End",
26
27
  confirmEdit: "Enter"
27
28
  };
28
- function j({ key: n, shiftKey: e }, t, a) {
29
- const i = he(n);
29
+ function Y({ key: a, shiftKey: e }, t, n) {
30
+ const i = pe(a);
30
31
  if (i == null)
31
32
  return null;
32
- const r = ge(n) || ue(n) && e ? me(t) : 1;
33
+ const r = ve(a) || fe(a) && e ? be(t) : 1;
33
34
  return {
34
- direction: a ? i * -1 : i,
35
+ direction: n ? i * -1 : i,
35
36
  count: r
36
37
  };
37
38
  }
38
- function he(n) {
39
- return n === b.increment || n === b.incrementHorizontal || n === b.pageIncrement ? 1 : n === b.decrement || n === b.decrementHorizontal || n === b.pageDecrement ? -1 : null;
39
+ function pe(a) {
40
+ return a === _.increment || a === _.incrementHorizontal || a === _.pageIncrement ? 1 : a === _.decrement || a === _.decrementHorizontal || a === _.pageDecrement ? -1 : null;
40
41
  }
41
- function W(n) {
42
- return n === b.jumpToEnd || n === b.jumpToStart;
42
+ function J(a) {
43
+ return a === _.jumpToEnd || a === _.jumpToStart;
43
44
  }
44
- function ue(n) {
45
- return n === b.increment || n === b.decrement || n === b.decrementHorizontal || n === b.incrementHorizontal;
45
+ function fe(a) {
46
+ return a === _.increment || a === _.decrement || a === _.decrementHorizontal || a === _.incrementHorizontal;
46
47
  }
47
- function ge(n) {
48
- return n === b.pageIncrement || n === b.pageDecrement;
48
+ function ve(a) {
49
+ return a === _.pageIncrement || a === _.pageDecrement;
49
50
  }
50
- function me(n) {
51
- const e = Number.isFinite(n) ? Math.floor(n) : 1;
51
+ function be(a) {
52
+ const e = Number.isFinite(a) ? Math.floor(a) : 1;
52
53
  return Math.max(1, e);
53
54
  }
54
- const fe = se`:host{display:flex;width:100%;height:100%;font-size:var(--calcite-font-size--2);font-variant-numeric:tabular-nums;--arcgis-slider-dash-length: 5px;--arcgis-slider-handle-size: .875rem;--arcgis-slider-track-background-color: var(--calcite-color-border-2);--arcgis-internal-slider-show-range-labels: 0;--arcgis-internal-slider-show-value-labels: 0;--arcgis-internal-slider-value-labels-placement-start: 0;--arcgis-internal-slider-value-labels-placement-end: 0;--arcgis-internal-slider-range-labels-placement-center: 0;--arcgis-internal-slider-range-labels-placement-end: 0;--arcgis-internal-slider-handle-color: var(--calcite-color-text-3);--arcgis-internal-slider-handle-offset: calc(var(--arcgis-slider-handle-size) / 2);--arcgis-internal-slider-label-input-margin: calc(var(--arcgis-internal-slider-handle-offset) + 4px);--arcgis-internal-slider-label-input-height: var(--calcite-input-number-height, 1.5rem);--arcgis-internal-slider-track-range-background-color: var(--calcite-color-brand);--arcgis-internal-slider-track-size: 2px}:host([show-range-labels]){--arcgis-internal-slider-show-range-labels: 1}:host(:not([value-labels-display="hidden"])){--arcgis-internal-slider-show-value-labels: 1}:host([value-labels-placement="start"]){--arcgis-internal-slider-value-labels-placement-start: var(--arcgis-internal-slider-show-value-labels)}:host([value-labels-placement="end"]){--arcgis-internal-slider-value-labels-placement-end: var(--arcgis-internal-slider-show-value-labels)}:host([range-labels-placement="center"]){--arcgis-internal-slider-range-labels-placement-center: var(--arcgis-internal-slider-show-range-labels)}:host([range-labels-placement="end"]){--arcgis-internal-slider-range-labels-placement-end: var(--arcgis-internal-slider-show-range-labels)}:host([disabled]){cursor:default;opacity:var(--calcite-opacity-disabled);pointer-events:none}.content{direction:ltr;flex:1;touch-action:none;user-select:none;display:grid;word-wrap:normal;word-break:normal;padding-block:var(--arcgis-internal-slider-handle-offset)}.track-container{grid-area:track-container;position:relative;display:flex;justify-content:center;align-items:center}.track{touch-action:none;position:relative}.track-bounds{background-color:var(--calcite-color-border-2)}:host([layout="vertical"]){.track-effective-start{background:repeating-linear-gradient(to bottom,var(--arcgis-slider-track-background-color) 0 var(--arcgis-slider-dash-length),color-mix(in srgb,transparent 75%,var(--arcgis-slider-track-background-color) 25%) var(--arcgis-slider-dash-length) calc(var(--arcgis-slider-dash-length) * 2))}.track-effective-end{background:repeating-linear-gradient(to top,var(--arcgis-slider-track-background-color) 0 var(--arcgis-slider-dash-length),color-mix(in srgb,transparent 75%,var(--arcgis-slider-track-background-color) 25%) var(--arcgis-slider-dash-length) calc(var(--arcgis-slider-dash-length) * 2))}}:host([layout="horizontal"]){.track-effective-start{background:repeating-linear-gradient(to right,var(--arcgis-slider-track-background-color) 0 var(--arcgis-slider-dash-length),color-mix(in srgb,transparent 75%,var(--arcgis-slider-track-background-color) 25%) var(--arcgis-slider-dash-length) calc(var(--arcgis-slider-dash-length) * 2))}.track-effective-end{background:repeating-linear-gradient(to left,var(--arcgis-slider-track-background-color) 0 var(--arcgis-slider-dash-length),color-mix(in srgb,transparent 75%,var(--arcgis-slider-track-background-color) 25%) var(--arcgis-slider-dash-length) calc(var(--arcgis-slider-dash-length) * 2))}}.track-range-interactive{&.active{box-shadow:0 0 8px #00000029;outline:1px solid var(--calcite-color-border-2)}&.filled.active{outline-color:var(--calcite-color-focus, var(--calcite-color-focus, var(--calcite-color-brand)))}}.track-range{background-color:var(--arcgis-internal-slider-track-range-background-color);pointer-events:none}:host([disabled]) .track-range{background-color:var(--calcite-color-text-3)}:host([disabled]),:host([disabled][layout="horizontal"]),:host([disabled][layout="vertical"]){.track-range-interactive.interactive:after{cursor:default;pointer-events:none}}:host([layout="horizontal"]){.track-range-interactive.interactive:after{all:initial;cursor:ew-resize;position:absolute;inline-size:100%;content:"";inset-block-start:calc(-1 * var(--arcgis-internal-slider-handle-offset));block-size:var(--arcgis-slider-handle-size);margin-top:1px}}:host([layout="vertical"]){.track-range-interactive.interactive:after{all:initial;cursor:ns-resize;position:absolute;inline-size:100%;content:"";inset-block-start:calc(-1 * var(--arcgis-internal-slider-handle-offset));block-size:var(--arcgis-slider-handle-size);margin-left:1px;writing-mode:vertical-lr}}.segment{transform-origin:0 0;inset-block-start:0px;block-size:.125rem;position:absolute;top:0;left:0}.thumb{-webkit-user-select:none;user-select:none;background-color:#4c4c4c;width:2px;height:2px;margin:-1px;position:absolute}.thumb-content{width:0;height:0;position:absolute;top:50%;left:50%}.thumb:focus,.thumb.active{.handle{background-color:var(--calcite-color-brand);box-shadow:0 0 8px #00000029;outline:2px solid var(--calcite-color-focus, var(--calcite-color-focus, var(--calcite-color-brand)));outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}}.thumb.labels-only .handle{visibility:hidden;pointer-events:none}.thumb.labels-only{background-color:transparent}.handle{cursor:pointer;box-sizing:border-box;z-index:1;touch-action:none;background-color:var(--calcite-color-foreground-1);box-shadow:0 0 0 2px var(--arcgis-internal-slider-handle-color) inset;border-radius:var(--arcgis-slider-handle-size);width:var(--arcgis-slider-handle-size);height:var(--arcgis-slider-handle-size);transition:all var(--arcgis-internal-slider-transition-duration, var(--calcite-animation-timing, .125s)) ease-in-out;position:absolute;top:calc(var(--arcgis-internal-slider-handle-offset) * -1);left:calc(var(--arcgis-internal-slider-handle-offset) * -1)}.handle:hover{box-shadow:0 0 0 3px var(--calcite-color-brand) inset}:host([layout="vertical"]) .fixed-thumb .handle{width:calc(var(--arcgis-slider-handle-size) / 1.5);height:calc(var(--arcgis-slider-handle-size) * 1.5);cursor:ns-resize}.fixed-thumb .handle{width:calc(var(--arcgis-slider-handle-size) * 1.5);height:calc(var(--arcgis-slider-handle-size) / 1.5);top:0;left:0;transform:translate(-50%,-50%);cursor:ew-resize}.label{position:absolute;will-change:transform}.min{grid-area:range-start}.max{grid-area:range-end}:host([layout="horizontal"][mirrored][range-labels-placement="center"]),:host([layout="vertical"]:not([mirrored])){.min{grid-area:range-end}.max{grid-area:range-start}}.content-start{grid-area:content-start;display:flex}.content-end{grid-area:content-end;display:flex}:dir(rtl){.content-start,.content-end,.label,.max,.min,.popover{direction:rtl}}:host([layout="vertical"]){.content{grid-template:". range-start range-start range-start ." "content-start content-start track-container content-end content-end" ". range-end range-end range-end .";grid-template-rows:auto 1fr auto;grid-template-columns:1fr auto auto auto 1fr;row-gap:var(--arcgis-internal-slider-handle-offset)}.track-container{flex-direction:column}.track{flex:1;width:var(--arcgis-internal-slider-track-size)}.segment{writing-mode:vertical-lr}.label{top:calc(var(--arcgis-internal-slider-label-input-height) * -.5)}&:host([value-labels-placement="start"]){.label{right:var(--arcgis-internal-slider-label-input-margin)}}&:host([value-labels-placement="end"]){.label{left:var(--arcgis-internal-slider-label-input-margin)}}}:host([layout="horizontal"][range-labels-placement="center"]){.content{--arcgis-internal-slider-content-start-min-height: calc( ((1 - var(--arcgis-internal-slider-show-range-labels)) * var(--arcgis-internal-slider-handle-offset)) + (var(--arcgis-internal-slider-value-labels-placement-start) * var(--arcgis-internal-slider-label-input-height)) );--arcgis-internal-slider-content-end-min-height: calc( ((1 - var(--arcgis-internal-slider-show-range-labels)) * var(--arcgis-internal-slider-handle-offset)) + (var(--arcgis-internal-slider-value-labels-placement-end) * var(--arcgis-internal-slider-label-input-height)) );column-gap:calc(var(--arcgis-internal-slider-show-range-labels) * var(--arcgis-internal-slider-handle-offset) / 2);padding-inline:calc((1 - var(--arcgis-internal-slider-show-range-labels)) * var(--arcgis-internal-slider-handle-offset));grid-template:". content-start ." "range-start content-start range-end" "range-start track-container range-end" "range-start content-end range-end" ". content-end .";grid-template-columns:auto 1fr auto;grid-template-rows:minmax(var(--arcgis-internal-slider-content-start-min-height),auto) calc(var(--arcgis-internal-slider-show-range-labels) * calc(calc(var(--arcgis-internal-slider-label-input-height) / 2) - calc(var(--arcgis-internal-slider-track-size) / 2))) var(--arcgis-internal-slider-track-size) calc(var(--arcgis-internal-slider-show-range-labels) * calc(calc(var(--arcgis-internal-slider-label-input-height) / 2) - calc(var(--arcgis-internal-slider-track-size) / 2))) minmax(var(--arcgis-internal-slider-content-end-min-height),auto)}.track{flex:1;height:var(--arcgis-internal-slider-track-size)}&:host([value-labels-placement="start"]){.label{bottom:var(--arcgis-internal-slider-label-input-margin)}}&:host([value-labels-placement="end"]){.label{top:var(--arcgis-internal-slider-label-input-margin)}}}:host([layout="horizontal"][range-labels-placement="end"]){min-inline-size:min-content;.content{--arcgis-internal-slider-content-start-min-height: calc( var(--arcgis-internal-slider-handle-offset) + var(--arcgis-internal-slider-value-labels-placement-start) * var(--arcgis-internal-slider-label-input-height) );--arcgis-internal-slider-content-end-min-height: calc( var(--arcgis-internal-slider-value-labels-placement-end) * var(--arcgis-internal-slider-label-input-height) );padding-inline:var(--arcgis-internal-slider-handle-offset);grid-template:"content-start content-start content-start" "track-container track-container track-container" "content-end content-end content-end" "content-end content-end content-end" "content-end content-end content-end";grid-template-columns:auto 0 auto;grid-template-rows:minmax(var(--arcgis-internal-slider-content-start-min-height),auto) var(--arcgis-internal-slider-track-size) var(--arcgis-internal-slider-handle-offset) calc(var(--arcgis-internal-slider-range-labels-placement-end) * var(--arcgis-internal-slider-label-input-height)) minmax(var(--arcgis-internal-slider-content-end-min-height),auto)}.track{flex:1;height:var(--arcgis-internal-slider-track-size)}&:host([value-labels-placement="start"]){.label{bottom:var(--arcgis-internal-slider-label-input-margin)}}&:host([value-labels-placement="end"]){.label{top:calc(var(--arcgis-internal-slider-label-input-margin) + var(--arcgis-internal-slider-range-labels-placement-end) * (var(--arcgis-internal-slider-label-input-height)))}}.min,.max{--arcgis-internal-slider-range-translation: calc(var(--arcgis-internal-slider-handle-offset) + .5rem + 1px);grid-area:unset;grid-row:-3}&:host(:not([mirrored])){.min{grid-column:1;margin-inline-start:calc(var(--arcgis-internal-slider-range-translation) * -1)}.max{grid-column:3;margin-inline-end:calc(var(--arcgis-internal-slider-range-translation) * -1)}}&:host([mirrored]){.min{grid-column:3;margin-inline-end:calc(var(--arcgis-internal-slider-range-translation) * -1)}.max{grid-column:1;margin-inline-start:calc(var(--arcgis-internal-slider-range-translation) * -1)}}}`;
55
- var pe = Object.defineProperty, ve = Object.getOwnPropertyDescriptor, J = (n) => {
56
- throw TypeError(n);
57
- }, V = (n, e, t, a) => {
58
- for (var i = a > 1 ? void 0 : a ? ve(e, t) : e, r = n.length - 1, l; r >= 0; r--)
59
- (l = n[r]) && (i = (a ? l(e, t, i) : l(i)) || i);
60
- return a && i && pe(e, t, i), i;
61
- }, Y = (n, e, t) => e.has(n) || J("Cannot " + t), be = (n, e, t) => (Y(n, e, "read from private field"), e.get(n)), _e = (n, e, t) => e.has(n) ? J("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(n) : e.set(n, t), xe = (n, e, t, a) => (Y(n, e, "write to private field"), e.set(n, t), t), A;
62
- function we() {
55
+ const _e = he`:host{display:flex;width:100%;height:100%;font-size:var(--calcite-font-size--2);font-variant-numeric:tabular-nums;--arcgis-slider-dash-length: 5px;--arcgis-slider-handle-size: .875rem;--arcgis-slider-track-background-color: var(--calcite-color-border-2);--arcgis-internal-slider-show-range-labels: 0;--arcgis-internal-slider-show-value-labels: 0;--arcgis-internal-slider-value-labels-placement-start: 0;--arcgis-internal-slider-value-labels-placement-end: 0;--arcgis-internal-slider-range-labels-placement-center: 0;--arcgis-internal-slider-range-labels-placement-end: 0;--arcgis-internal-slider-handle-color: var(--calcite-color-text-3);--arcgis-internal-slider-handle-offset: calc(var(--arcgis-slider-handle-size) / 2);--arcgis-internal-slider-label-input-margin: calc(var(--arcgis-internal-slider-handle-offset) + 4px);--arcgis-internal-slider-label-input-height: var(--calcite-input-number-height, 1.5rem);--arcgis-internal-slider-track-range-background-color: var(--calcite-color-brand);--arcgis-internal-slider-track-size: 2px}:host([show-range-labels]){--arcgis-internal-slider-show-range-labels: 1}:host(:not([value-labels-display="hidden"])){--arcgis-internal-slider-show-value-labels: 1}:host([value-labels-placement="start"]){--arcgis-internal-slider-value-labels-placement-start: var(--arcgis-internal-slider-show-value-labels)}:host([value-labels-placement="end"]){--arcgis-internal-slider-value-labels-placement-end: var(--arcgis-internal-slider-show-value-labels)}:host([range-labels-placement="center"]){--arcgis-internal-slider-range-labels-placement-center: var(--arcgis-internal-slider-show-range-labels)}:host([range-labels-placement="end"]){--arcgis-internal-slider-range-labels-placement-end: var(--arcgis-internal-slider-show-range-labels)}:host([disabled]){cursor:default;opacity:var(--calcite-opacity-disabled);pointer-events:none}.content{direction:ltr;flex:1;touch-action:none;user-select:none;display:grid;word-wrap:normal;word-break:normal;padding-block:var(--arcgis-internal-slider-handle-offset)}.track-container{grid-area:track-container;position:relative;display:flex;justify-content:center;align-items:center}.track{touch-action:none;position:relative}.track-bounds{background-color:var(--arcgis-slider-track-background-color)}:host([layout="vertical"]){.track-effective-start{background:repeating-linear-gradient(to bottom,var(--arcgis-slider-track-background-color) 0 var(--arcgis-slider-dash-length),color-mix(in srgb,transparent 75%,var(--arcgis-slider-track-background-color) 25%) var(--arcgis-slider-dash-length) calc(var(--arcgis-slider-dash-length) * 2))}.track-effective-end{background:repeating-linear-gradient(to top,var(--arcgis-slider-track-background-color) 0 var(--arcgis-slider-dash-length),color-mix(in srgb,transparent 75%,var(--arcgis-slider-track-background-color) 25%) var(--arcgis-slider-dash-length) calc(var(--arcgis-slider-dash-length) * 2))}}:host([layout="horizontal"]){.track-effective-start{background:repeating-linear-gradient(to right,var(--arcgis-slider-track-background-color) 0 var(--arcgis-slider-dash-length),color-mix(in srgb,transparent 75%,var(--arcgis-slider-track-background-color) 25%) var(--arcgis-slider-dash-length) calc(var(--arcgis-slider-dash-length) * 2))}.track-effective-end{background:repeating-linear-gradient(to left,var(--arcgis-slider-track-background-color) 0 var(--arcgis-slider-dash-length),color-mix(in srgb,transparent 75%,var(--arcgis-slider-track-background-color) 25%) var(--arcgis-slider-dash-length) calc(var(--arcgis-slider-dash-length) * 2))}}.track-range-interactive{&.active{box-shadow:0 0 8px #00000029;outline:1px solid var(--calcite-color-border-2)}&.filled.active{outline-color:var(--calcite-color-focus, var(--calcite-color-focus, var(--calcite-color-brand)))}}.track-range{background-color:var(--arcgis-internal-slider-track-range-background-color);pointer-events:none}:host([disabled]) .track-range{background-color:var(--calcite-color-text-3)}:host([disabled]),:host([disabled][layout="horizontal"]),:host([disabled][layout="vertical"]){.track-range-interactive.interactive:after{cursor:default;pointer-events:none}}:host([layout="horizontal"]){.track-range-interactive.interactive:after{all:initial;cursor:ew-resize;position:absolute;inline-size:100%;content:"";inset-block-start:calc(-1 * var(--arcgis-internal-slider-handle-offset));block-size:var(--arcgis-slider-handle-size);margin-top:1px}}:host([layout="vertical"]){.track-range-interactive.interactive:after{all:initial;cursor:ns-resize;position:absolute;inline-size:100%;content:"";inset-block-start:calc(-1 * var(--arcgis-internal-slider-handle-offset));block-size:var(--arcgis-slider-handle-size);margin-left:1px;writing-mode:vertical-lr}}.segment{transform-origin:0 0;inset-block-start:0px;block-size:var(--arcgis-internal-slider-track-size);position:absolute;top:0;left:0}.thumb{-webkit-user-select:none;user-select:none;background-color:#4c4c4c;width:2px;height:2px;margin:-1px;position:absolute}.thumb-content{width:0;height:0;position:absolute;top:50%;left:50%}.thumb:focus,.thumb.active{.handle{background-color:var(--calcite-color-brand);box-shadow:0 0 8px #00000029;outline:2px solid var(--calcite-color-focus, var(--calcite-color-focus, var(--calcite-color-brand)));outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}}.thumb.labels-only .handle{visibility:hidden;pointer-events:none}.thumb.labels-only{background-color:transparent}.handle{cursor:pointer;box-sizing:border-box;z-index:1;touch-action:none;background-color:var(--calcite-color-foreground-1);box-shadow:0 0 0 2px var(--arcgis-internal-slider-handle-color) inset;border-radius:var(--arcgis-slider-handle-size);width:var(--arcgis-slider-handle-size);height:var(--arcgis-slider-handle-size);transition:all var(--arcgis-internal-slider-transition-duration, var(--calcite-animation-timing, .125s)) ease-in-out;position:absolute;top:calc(var(--arcgis-internal-slider-handle-offset) * -1);left:calc(var(--arcgis-internal-slider-handle-offset) * -1)}.handle:hover{box-shadow:0 0 0 3px var(--calcite-color-brand) inset}:host([layout="vertical"]) .fixed-thumb .handle{width:calc(var(--arcgis-slider-handle-size) / 1.5);height:calc(var(--arcgis-slider-handle-size) * 1.5);cursor:ns-resize}.fixed-thumb .handle{width:calc(var(--arcgis-slider-handle-size) * 1.5);height:calc(var(--arcgis-slider-handle-size) / 1.5);top:0;left:0;transform:translate(-50%,-50%);cursor:ew-resize}.label{position:absolute;will-change:transform}.min{grid-area:range-start}.max{grid-area:range-end}:host([layout="horizontal"][mirrored][range-labels-placement="center"]),:host([layout="vertical"]:not([mirrored])){.min{grid-area:range-end}.max{grid-area:range-start}}.content-start{grid-area:content-start;display:flex}.content-end{grid-area:content-end;display:flex}:dir(rtl){.content-start,.content-end,.label,.max,.min,.popover{direction:rtl}}:host([layout="vertical"]){.content{grid-template:". range-start range-start range-start ." "content-start content-start track-container content-end content-end" ". range-end range-end range-end .";grid-template-rows:auto 1fr auto;grid-template-columns:1fr auto auto auto 1fr;row-gap:var(--arcgis-internal-slider-handle-offset)}.track-container{flex-direction:column}.track{flex:1;width:var(--arcgis-internal-slider-track-size)}.segment{writing-mode:vertical-lr}.label{top:calc(var(--arcgis-internal-slider-label-input-height) * -.5)}&:host([value-labels-placement="start"]){.label{right:var(--arcgis-internal-slider-label-input-margin)}}&:host([value-labels-placement="end"]){.label{left:var(--arcgis-internal-slider-label-input-margin)}}}:host([layout="horizontal"][range-labels-placement="center"]){.content{--arcgis-internal-slider-content-start-min-height: calc( ((1 - var(--arcgis-internal-slider-show-range-labels)) * var(--arcgis-internal-slider-handle-offset)) + (var(--arcgis-internal-slider-value-labels-placement-start) * var(--arcgis-internal-slider-label-input-height)) );--arcgis-internal-slider-content-end-min-height: calc( ((1 - var(--arcgis-internal-slider-show-range-labels)) * var(--arcgis-internal-slider-handle-offset)) + (var(--arcgis-internal-slider-value-labels-placement-end) * var(--arcgis-internal-slider-label-input-height)) );column-gap:calc(var(--arcgis-internal-slider-show-range-labels) * var(--arcgis-internal-slider-handle-offset) / 2);padding-inline:calc((1 - var(--arcgis-internal-slider-show-range-labels)) * var(--arcgis-internal-slider-handle-offset));grid-template:". content-start ." "range-start content-start range-end" "range-start track-container range-end" "range-start content-end range-end" ". content-end .";grid-template-columns:auto 1fr auto;grid-template-rows:minmax(var(--arcgis-internal-slider-content-start-min-height),auto) calc(var(--arcgis-internal-slider-show-range-labels) * calc(calc(var(--arcgis-internal-slider-label-input-height) / 2) - calc(var(--arcgis-internal-slider-track-size) / 2))) var(--arcgis-internal-slider-track-size) calc(var(--arcgis-internal-slider-show-range-labels) * calc(calc(var(--arcgis-internal-slider-label-input-height) / 2) - calc(var(--arcgis-internal-slider-track-size) / 2))) minmax(var(--arcgis-internal-slider-content-end-min-height),auto)}.track{flex:1;height:var(--arcgis-internal-slider-track-size)}&:host([value-labels-placement="start"]){.label,.label-separator{bottom:var(--arcgis-internal-slider-label-input-margin)}}&:host([value-labels-placement="end"]){.label,.label-separator{top:var(--arcgis-internal-slider-label-input-margin)}}}.label-separator{position:absolute;width:1em;height:var(--arcgis-internal-slider-label-input-height);margin:0;padding:0;pointer-events:none;text-align:center;z-index:0}.label-separator:before{content:"—"}:host([layout="horizontal"]) .label-separator{transform:translate(-50%)}:host([layout="horizontal"][range-labels-placement="end"]){min-inline-size:min-content;.content{--arcgis-internal-slider-content-start-min-height: calc( var(--arcgis-internal-slider-handle-offset) + var(--arcgis-internal-slider-value-labels-placement-start) * var(--arcgis-internal-slider-label-input-height) );--arcgis-internal-slider-content-end-min-height: calc( var(--arcgis-internal-slider-value-labels-placement-end) * var(--arcgis-internal-slider-label-input-height) );padding-inline:var(--arcgis-internal-slider-handle-offset);grid-template:"content-start content-start content-start" "track-container track-container track-container" "content-end content-end content-end" "content-end content-end content-end" "content-end content-end content-end";grid-template-columns:auto 0 auto;grid-template-rows:minmax(var(--arcgis-internal-slider-content-start-min-height),auto) var(--arcgis-internal-slider-track-size) var(--arcgis-internal-slider-handle-offset) calc(var(--arcgis-internal-slider-range-labels-placement-end) * var(--arcgis-internal-slider-label-input-height)) minmax(var(--arcgis-internal-slider-content-end-min-height),auto)}.track{flex:1;height:var(--arcgis-internal-slider-track-size)}&:host([value-labels-placement="start"]){.label,.label-separator{bottom:var(--arcgis-internal-slider-label-input-margin)}}&:host([value-labels-placement="end"]){.label,.label-separator{top:calc(var(--arcgis-internal-slider-label-input-margin) + var(--arcgis-internal-slider-range-labels-placement-end) * (var(--arcgis-internal-slider-label-input-height)))}}.min,.max{--arcgis-internal-slider-range-translation: calc(var(--arcgis-internal-slider-handle-offset) + .5rem + 1px);grid-area:unset;grid-row:-3}&:host(:not([mirrored])){.min{grid-column:1;margin-left:calc(var(--arcgis-internal-slider-range-translation) * -1)}.max{grid-column:3;margin-right:calc(var(--arcgis-internal-slider-range-translation) * -1)}}&:host([mirrored]){.min{grid-column:3;margin-right:calc(var(--arcgis-internal-slider-range-translation) * -1)}.max{grid-column:1;margin-left:calc(var(--arcgis-internal-slider-range-translation) * -1)}}}`;
56
+ var xe = Object.defineProperty, we = Object.getOwnPropertyDescriptor, ee = (a) => {
57
+ throw TypeError(a);
58
+ }, E = (a, e, t, n) => {
59
+ for (var i = n > 1 ? void 0 : n ? we(e, t) : e, r = a.length - 1, o; r >= 0; r--)
60
+ (o = a[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
61
+ return n && i && xe(e, t, i), i;
62
+ }, te = (a, e, t) => e.has(a) || ee("Cannot " + t), ye = (a, e, t) => (te(a, e, "read from private field"), e.get(a)), ke = (a, e, t) => e.has(a) ? ee("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(a) : e.set(a, t), De = (a, e, t, n) => (te(a, e, "write to private field"), e.set(a, t), t), A;
63
+ function Ie() {
63
64
  return {
64
65
  min: 0,
65
66
  max: 100,
66
67
  values: []
67
68
  };
68
69
  }
69
- let k = class extends ce {
70
+ let k = class extends ge {
70
71
  //--------------------------------------------------------------------------
71
72
  //
72
73
  // Lifecycle
73
74
  //
74
75
  //--------------------------------------------------------------------------
75
- constructor(n = {}) {
76
- super({ ...we(), properties: n }), this._entries = /* @__PURE__ */ new Map(), this.precision = 4, this.ready = !1, _e(this, A);
76
+ constructor(a = {}) {
77
+ super({ ...Ie(), properties: a }), this._entries = /* @__PURE__ */ new Map(), this.precision = 4, this.ready = !1, ke(this, A);
77
78
  }
78
79
  startup() {
79
- const { precision: n } = this;
80
- let { min: e, max: t, values: a } = this;
81
- t = D(t, n), e = D(e, n), a = a?.map((r) => S(D(r, n), e, t)).sort((r, l) => r - l), this._set("min", e), this._set("max", t), this._set("values", a);
82
- const i = new Map(a?.map((r) => [q(), r]));
83
- this._entries = i, U(
80
+ const { precision: a } = this;
81
+ let { min: e, max: t, values: n } = this;
82
+ t = y(t, a), e = y(e, a), n = n?.map((r) => L(y(r, a), e, t)).sort((r, o) => r - o), this._set("min", e), this._set("max", t), this._set("values", n);
83
+ const i = new Map(n?.map((r) => [W(), r]));
84
+ this._entries = i, K(
84
85
  () => this.min,
85
86
  (r) => {
86
- const l = this.values;
87
- r != null && l?.length && l.some((o) => o < r) && (this._entries.forEach((o, s) => {
88
- o < r && this._entries.set(s, r);
87
+ const o = this.values;
88
+ r != null && o?.length && o.some((s) => s < r) && (this._entries.forEach((s, l) => {
89
+ s < r && this._entries.set(l, r);
89
90
  }), this._updatesValues());
90
91
  },
91
92
  { sync: !0 }
92
- ), U(
93
+ ), K(
93
94
  () => this.max,
94
95
  (r) => {
95
- const l = this.values;
96
- r != null && l?.length && l.some((o) => o > r) && (this._entries.forEach((o, s) => {
97
- o > r && this._entries.set(s, r);
96
+ const o = this.values;
97
+ r != null && o?.length && o.some((s) => s > r) && (this._entries.forEach((s, l) => {
98
+ s > r && this._entries.set(l, r);
98
99
  }), this._updatesValues());
99
100
  },
100
101
  { sync: !0 }
101
- ), U(
102
+ ), K(
102
103
  () => this.precision,
103
104
  (r) => {
104
- const { min: l, max: o, values: s } = this;
105
- this._set("min", D(l, r)), this._set("max", D(o, r)), s?.length && (this._entries.forEach((c, d) => {
106
- this._entries.set(d, D(c, r));
105
+ const { min: o, max: s, values: l } = this;
106
+ this._set("min", y(o, r)), this._set("max", y(s, r)), l?.length && (this._entries.forEach((c, h) => {
107
+ this._entries.set(h, y(c, r));
107
108
  }), this._updatesValues());
108
109
  },
109
110
  { sync: !0 }
@@ -112,42 +113,49 @@ let k = class extends ce {
112
113
  get entries() {
113
114
  return this._entries;
114
115
  }
115
- set max(n) {
116
+ set max(a) {
116
117
  if (!this.ready) {
117
- this._set("max", n);
118
+ this._set("max", a);
118
119
  return;
119
120
  }
120
- const e = this._get("max"), t = D(n, this.precision);
121
+ const e = this._get("max"), t = y(a, this.precision);
121
122
  e !== t && this._set("max", t);
122
123
  }
123
- set min(n) {
124
+ set min(a) {
124
125
  if (!this.ready) {
125
- this._set("min", n);
126
+ this._set("min", a);
126
127
  return;
127
128
  }
128
- const e = this._get("min"), t = D(n, this.precision);
129
+ const e = this._get("min"), t = y(a, this.precision);
129
130
  e !== t && this._set("min", t);
130
131
  }
131
- set values(n) {
132
- if (be(this, A) === n)
132
+ set values(a) {
133
+ if (ye(this, A) === a)
133
134
  return;
134
- if (xe(this, A, n), !this.ready) {
135
- this._set("values", n);
135
+ if (De(this, A, a), !this.ready) {
136
+ this._set("values", a);
136
137
  return;
137
138
  }
138
139
  const e = this._get("values");
139
- if (n = n?.map((a) => S(D(a, this.precision), this.min, this.max)).sort((a, i) => a - i), e?.length === n?.length && e.every((a, i) => a === n[i]))
140
+ if (a = a?.map((n) => L(y(n, this.precision), this.min, this.max)).sort((n, i) => n - i), e?.length === a?.length && e.every((n, i) => n === a[i]))
140
141
  return;
141
- const t = new Map(n?.map((a) => [q(), a]));
142
- this._entries = t, this._set("values", n);
142
+ if (this._entries.size === 1 && a?.length === 1) {
143
+ const n = this._entries.keys().next().value;
144
+ if (n !== void 0) {
145
+ this._entries.set(n, a[0]), this._set("values", a);
146
+ return;
147
+ }
148
+ }
149
+ const t = new Map(a?.map((n) => [W(), n]));
150
+ this._entries = t, this._set("values", a);
143
151
  }
144
152
  //--------------------------------------------------------------------------
145
153
  //
146
154
  // Public Methods
147
155
  //
148
156
  //--------------------------------------------------------------------------
149
- getValue(n) {
150
- return this._entries.get(n);
157
+ getValue(a) {
158
+ return this._entries.get(a);
151
159
  }
152
160
  /**
153
161
  * Updates a thumb [value](#values) based on the provided index. The provided value
@@ -156,354 +164,354 @@ let k = class extends ce {
156
164
  *
157
165
  * @returns `true` if the value was changed, otherwise `false`.
158
166
  */
159
- setValue(n, e) {
167
+ setValue(a, e) {
160
168
  if (this.values == null)
161
169
  return !1;
162
- const { min: t, max: a } = this, i = this._entries.get(n), r = S(D(e, this.precision), t, a);
163
- return i === r ? !1 : (this._entries.set(n, r), this._updatesValues(), !0);
170
+ const { min: t, max: n } = this, i = this._entries.get(a), r = L(y(e, this.precision), t, n);
171
+ return i === r ? !1 : (this._entries.set(a, r), this._updatesValues(), !0);
164
172
  }
165
- setValues(n) {
173
+ setValues(a) {
166
174
  if (this.values == null)
167
175
  return !1;
168
176
  let e = !1;
169
- const { min: t, max: a } = this;
170
- for (const [i, r] of n) {
171
- const l = this._entries.get(i), o = S(D(r, this.precision), t, a);
172
- l !== o && (e = !0, this._entries.set(i, o));
177
+ const { min: t, max: n } = this;
178
+ for (const [i, r] of a) {
179
+ const o = this._entries.get(i), s = L(y(r, this.precision), t, n);
180
+ o !== s && (e = !0, this._entries.set(i, s));
173
181
  }
174
182
  return e ? (this._updatesValues(), !0) : !1;
175
183
  }
176
184
  _updatesValues() {
177
- const n = Array.from(this._entries.values()).sort((e, t) => e - t);
178
- this._set("values", n);
185
+ const a = Array.from(this._entries.values()).sort((e, t) => e - t);
186
+ this._set("values", a);
179
187
  }
180
188
  };
181
189
  A = /* @__PURE__ */ new WeakMap();
182
- V([
183
- I()
190
+ E([
191
+ P()
184
192
  ], k.prototype, "_entries", 2);
185
- V([
186
- I({ readOnly: !0 })
193
+ E([
194
+ P({ readOnly: !0 })
187
195
  ], k.prototype, "entries", 1);
188
- V([
189
- I()
196
+ E([
197
+ P()
190
198
  ], k.prototype, "max", 1);
191
- V([
192
- I()
199
+ E([
200
+ P()
193
201
  ], k.prototype, "min", 1);
194
- V([
195
- I({ cast: (n) => S(n, 0, 20) })
202
+ E([
203
+ P({ cast: (a) => L(a, 0, 20) })
196
204
  ], k.prototype, "precision", 2);
197
- V([
198
- I({ readOnly: !0 })
205
+ E([
206
+ P({ readOnly: !0 })
199
207
  ], k.prototype, "ready", 2);
200
- V([
201
- I()
208
+ E([
209
+ P()
202
210
  ], k.prototype, "values", 1);
203
- k = V([
204
- de("esri.widgets.Slider.SliderData")
211
+ k = E([
212
+ me("esri.widgets.Slider.SliderData")
205
213
  ], k);
206
- function S(n, e, t) {
207
- return Math.min(Math.max(n, e), t);
214
+ function L(a, e, t) {
215
+ return Math.min(Math.max(a, e), t);
208
216
  }
209
- function D(n, e) {
210
- return Number.parseFloat(n.toFixed(e));
217
+ function y(a, e) {
218
+ return Number.parseFloat(a.toFixed(e));
211
219
  }
212
- class De {
220
+ class Ee {
213
221
  constructor(e) {
214
222
  this.steps = e, this.minIndex = 0, this.maxIndex = this.steps.length - 1;
215
223
  }
216
224
  indexToValue(e) {
217
- return this.steps[y(e, this.minIndex, this.maxIndex)];
225
+ return this.steps[I(e, this.minIndex, this.maxIndex)];
218
226
  }
219
227
  valueToIndex(e) {
220
228
  const t = this.steps.indexOf(e);
221
229
  return t !== -1 ? t : this.steps.reduce(
222
- (a, i, r, l) => Math.abs(i - e) < Math.abs(l[a] - e) ? r : a,
230
+ (n, i, r, o) => Math.abs(i - e) < Math.abs(o[n] - e) ? r : n,
223
231
  0
224
232
  );
225
233
  }
226
234
  getClosestStepDistances(e, t) {
227
235
  if (t <= 0)
228
236
  return [];
229
- const a = [];
237
+ const n = [];
230
238
  for (let i = this.minIndex; i <= this.maxIndex; i++) {
231
- const r = this.indexToValue(i), l = Math.abs(r - e);
232
- let o = !1;
233
- for (let s = 0; s < a.length; s++)
234
- if (l < a[s].dist) {
235
- a.splice(s, 0, { idx: i, value: r, dist: l }), o = !0;
239
+ const r = this.indexToValue(i), o = Math.abs(r - e);
240
+ let s = !1;
241
+ for (let l = 0; l < n.length; l++)
242
+ if (o < n[l].dist) {
243
+ n.splice(l, 0, { idx: i, value: r, dist: o }), s = !0;
236
244
  break;
237
245
  }
238
- !o && a.length < t && a.push({ idx: i, value: r, dist: l }), a.length > t && (a.length = t);
246
+ !s && n.length < t && n.push({ idx: i, value: r, dist: o }), n.length > t && (n.length = t);
239
247
  }
240
- return a;
248
+ return n;
241
249
  }
242
250
  }
243
- class ke {
244
- constructor(e, t, a) {
245
- this.min = e, this.max = t, this.stepSize = a, this.minIndex = 0, this.maxIndex = Math.round((this.max - this.min) / this.stepSize);
251
+ class Pe {
252
+ constructor(e, t, n) {
253
+ this.min = e, this.max = t, this.stepSize = n, this.minIndex = 0, this.maxIndex = Math.round((this.max - this.min) / this.stepSize);
246
254
  }
247
255
  indexToValue(e) {
248
- return this.min + y(e, this.minIndex, this.maxIndex) * this.stepSize;
256
+ return this.min + I(e, this.minIndex, this.maxIndex) * this.stepSize;
249
257
  }
250
258
  valueToIndex(e) {
251
- return e = y(e, this.min, this.max), Math.round((e - this.min) / this.stepSize);
259
+ return e = I(e, this.min, this.max), Math.round((e - this.min) / this.stepSize);
252
260
  }
253
261
  getClosestStepDistances(e, t) {
254
262
  if (t <= 0)
255
263
  return [];
256
- const a = [], i = this.minIndex, r = this.maxIndex, o = (y(e, this.min, this.max) - this.min) / this.stepSize;
257
- let s = Math.floor(o), c = s + 1;
258
- for (; a.length < t && (s >= i || c <= r); ) {
259
- if (s < i) {
260
- const m = this.indexToValue(c);
261
- a.push({ idx: c, value: m, dist: Math.abs(m - e) }), c++;
264
+ const n = [], i = this.minIndex, r = this.maxIndex, s = (I(e, this.min, this.max) - this.min) / this.stepSize;
265
+ let l = Math.floor(s), c = l + 1;
266
+ for (; n.length < t && (l >= i || c <= r); ) {
267
+ if (l < i) {
268
+ const g = this.indexToValue(c);
269
+ n.push({ idx: c, value: g, dist: Math.abs(g - e) }), c++;
262
270
  continue;
263
271
  }
264
272
  if (c > r) {
265
- const m = this.indexToValue(s);
266
- a.push({ idx: s, value: m, dist: Math.abs(m - e) }), s--;
273
+ const g = this.indexToValue(l);
274
+ n.push({ idx: l, value: g, dist: Math.abs(g - e) }), l--;
267
275
  continue;
268
276
  }
269
- const d = this.indexToValue(s), g = this.indexToValue(c), h = Math.abs(d - e), f = Math.abs(g - e);
270
- h <= f ? (a.push({ idx: s, value: d, dist: h }), s--) : (a.push({ idx: c, value: g, dist: f }), c++);
277
+ const h = this.indexToValue(l), u = this.indexToValue(c), d = Math.abs(h - e), p = Math.abs(u - e);
278
+ d <= p ? (n.push({ idx: l, value: h, dist: d }), l--) : (n.push({ idx: c, value: u, dist: p }), c++);
271
279
  }
272
- return a;
280
+ return n;
273
281
  }
274
282
  }
275
- function ye(n) {
276
- if (n.steps == null)
283
+ function Ce(a) {
284
+ if (a.steps == null)
277
285
  return null;
278
- const e = n.steps;
279
- return Array.isArray(e) ? e.length === 0 ? null : new De(e) : e <= 0 ? null : new ke(n.min, n.max, e);
280
- }
281
- function Ve(n, e, t) {
282
- if (n == null) {
283
- const o = /* @__PURE__ */ new Map();
284
- for (const [s, c] of e.entries())
285
- o.set(s, c + t);
286
- return o;
287
- }
288
- const a = e.size, i = Array.from(e.entries()).map(([o, s]) => {
289
- const c = s + t, d = n.getClosestStepDistances(c, a);
290
- return { uuid: o, stepDistances: d };
291
- }), r = /* @__PURE__ */ new Set(), l = /* @__PURE__ */ new Map();
292
- i.sort((o, s) => o.stepDistances[0].dist - s.stepDistances[0].dist);
293
- for (const o of i) {
294
- const s = o.stepDistances.find((c) => !r.has(c.idx));
295
- s ? (r.add(s.idx), l.set(o.uuid, s.value)) : l.set(o.uuid, e.get(o.uuid));
286
+ const e = a.steps;
287
+ return Array.isArray(e) ? e.length === 0 ? null : new Ee(e) : e <= 0 ? null : new Pe(a.min, a.max, e);
288
+ }
289
+ function Ve(a, e, t) {
290
+ if (a == null) {
291
+ const s = /* @__PURE__ */ new Map();
292
+ for (const [l, c] of e.entries())
293
+ s.set(l, c + t);
294
+ return s;
295
+ }
296
+ const n = e.size, i = Array.from(e.entries()).map(([s, l]) => {
297
+ const c = l + t, h = a.getClosestStepDistances(c, n);
298
+ return { uuid: s, stepDistances: h };
299
+ }), r = /* @__PURE__ */ new Set(), o = /* @__PURE__ */ new Map();
300
+ i.sort((s, l) => s.stepDistances[0].dist - l.stepDistances[0].dist);
301
+ for (const s of i) {
302
+ const l = s.stepDistances.find((c) => !r.has(c.idx));
303
+ l ? (r.add(l.idx), o.set(s.uuid, l.value)) : o.set(s.uuid, e.get(s.uuid));
296
304
  }
297
- return l;
305
+ return o;
298
306
  }
299
- function R(n, e, t, a, i) {
300
- const { allowValuesOverlap: r, precision: l, min: o, max: s } = i, c = e.get(t) ?? 0, d = c + a, g = a >= 0 ? -1 : 1;
301
- let h, f, m;
302
- if (n) {
303
- const p = /* @__PURE__ */ new Set();
307
+ function O(a, e, t, n, i) {
308
+ const { allowValuesOverlap: r, precision: o, min: s, max: l } = i, c = e.get(t) ?? 0, h = c + n, u = n >= 0 ? -1 : 1;
309
+ let d, p, g;
310
+ if (a) {
311
+ const f = /* @__PURE__ */ new Set();
304
312
  if (!r)
305
313
  for (const [v, x] of e.entries())
306
- v !== t && p.add(n.valueToIndex(x));
307
- const _ = n.getClosestStepDistances(d, e.size + 1);
308
- _.sort((v, x) => $(v.dist, l) - $(x.dist, l) || g * (x.value - v.value));
309
- let u = 0;
310
- h = _[u].value, m = (v) => !r && p.has(n.valueToIndex(v)), f = () => (u++, _[u]?.value);
314
+ v !== t && f.add(a.valueToIndex(x));
315
+ const b = a.getClosestStepDistances(h, e.size + 1);
316
+ b.sort((v, x) => $(v.dist, o) - $(x.dist, o) || u * (x.value - v.value));
317
+ let m = 0;
318
+ d = b[m].value, g = (v) => !r && f.has(a.valueToIndex(v)), p = () => (m++, b[m]?.value);
311
319
  } else {
312
- const p = /* @__PURE__ */ new Set();
313
- for (const [u, v] of e.entries())
314
- u !== t && p.add($(v, l));
315
- const _ = 1 / Math.pow(10, l);
316
- h = y($(d, l), o, s), m = (u) => !r && p.has(u), f = () => {
317
- const u = $(h + g * _, l);
318
- return u === h || u < o || u > s ? void 0 : u;
320
+ const f = /* @__PURE__ */ new Set();
321
+ for (const [m, v] of e.entries())
322
+ m !== t && f.add($(v, o));
323
+ const b = 1 / Math.pow(10, o);
324
+ d = I($(h, o), s, l), g = (m) => !r && f.has(m), p = () => {
325
+ const m = $(d + u * b, o);
326
+ return m === d || m < s || m > l ? void 0 : m;
319
327
  };
320
328
  }
321
- if (!m(h))
322
- return h;
329
+ if (!g(d))
330
+ return d;
323
331
  for (; ; ) {
324
- const p = f();
325
- if (p === void 0)
332
+ const f = p();
333
+ if (f === void 0)
326
334
  return c;
327
- if (h = p, !m(h))
328
- return h;
335
+ if (d = f, !g(d))
336
+ return d;
329
337
  }
330
338
  }
331
- function $(n, e) {
332
- return Number.parseFloat(n.toFixed(e));
339
+ function $(a, e) {
340
+ return Number.parseFloat(a.toFixed(e));
333
341
  }
334
- function Ie(n, e, t, a = 1) {
335
- const i = Q(a);
336
- let r = e, l = !1;
337
- for (let o = 0; o < i; o++) {
338
- const s = Pe(n, r, t);
339
- if (l ||= s.changed, r = s.entries, !s.changed)
342
+ function Re(a, e, t, n = 1) {
343
+ const i = ne(n);
344
+ let r = e, o = !1;
345
+ for (let s = 0; s < i; s++) {
346
+ const l = $e(a, r, t);
347
+ if (o ||= l.changed, r = l.entries, !l.changed)
340
348
  break;
341
349
  }
342
- return { changed: l, entries: r };
350
+ return { changed: o, entries: r };
343
351
  }
344
- function Ee(n, e, t, a, i = 1) {
345
- const r = Q(i);
352
+ function Te(a, e, t, n, i = 1) {
353
+ const r = ne(i);
346
354
  if (r === 1)
347
- return K(n, e, t, a);
348
- const l = new Map(e);
349
- let o = l.get(t);
350
- for (let s = 0; s < r; s++) {
351
- const c = K(n, l, t, a);
352
- if (c === o)
355
+ return N(a, e, t, n);
356
+ const o = new Map(e);
357
+ let s = o.get(t);
358
+ for (let l = 0; l < r; l++) {
359
+ const c = N(a, o, t, n);
360
+ if (c === s)
353
361
  break;
354
- o = c, l.set(t, o);
362
+ s = c, o.set(t, s);
355
363
  }
356
- return o;
364
+ return s;
357
365
  }
358
- function Q(n) {
359
- const e = Number.isFinite(n) ? Math.floor(n) : 1;
366
+ function ne(a) {
367
+ const e = Number.isFinite(a) ? Math.floor(a) : 1;
360
368
  return Math.max(1, e);
361
369
  }
362
- function Pe(n, e, t) {
363
- const a = /* @__PURE__ */ new Map(), i = t > 0 ? ze : Z, r = Array.from(e).sort((s, c) => i(s[1], c[1]));
364
- let l = !1, o = !0;
365
- for (const [s, c] of r)
366
- if (a.set(s, c), o) {
367
- const d = K(n, a, s, t);
368
- c === d && (o = !1), l ||= o, a.set(s, d);
370
+ function $e(a, e, t) {
371
+ const n = /* @__PURE__ */ new Map(), i = t > 0 ? Le : re, r = Array.from(e).sort((l, c) => i(l[1], c[1]));
372
+ let o = !1, s = !0;
373
+ for (const [l, c] of r)
374
+ if (n.set(l, c), s) {
375
+ const h = N(a, n, l, t);
376
+ c === h && (s = !1), o ||= s, n.set(l, h);
369
377
  }
370
- return { changed: l, entries: a };
378
+ return { changed: o, entries: n };
371
379
  }
372
- function K(n, e, t, a) {
373
- const { allowValuesOverlap: i, stepsProvider: r, resolution: l, min: o, max: s } = n, c = e.get(t);
374
- if (a = a > 0 ? 1 : -1, !r) {
375
- let u = y(c + a * l, o, s);
380
+ function N(a, e, t, n) {
381
+ const { allowValuesOverlap: i, stepsProvider: r, resolution: o, min: s, max: l } = a, c = e.get(t);
382
+ if (n = n > 0 ? 1 : -1, !r) {
383
+ let m = I(c + n * o, s, l);
376
384
  if (i)
377
- return u;
385
+ return m;
378
386
  const v = /* @__PURE__ */ new Set();
379
- for (const [x, P] of e)
380
- x !== t && v.add(P);
381
- for (; v.has(u) && u <= s && u >= o; ) {
382
- const x = u;
383
- if (u = y(u + a * l, o, s), u === x)
387
+ for (const [x, D] of e)
388
+ x !== t && v.add(D);
389
+ for (; v.has(m) && m <= l && m >= s; ) {
390
+ const x = m;
391
+ if (m = I(m + n * o, s, l), m === x)
384
392
  return c;
385
393
  }
386
- return v.has(u) || u > s || u < o ? c : u;
394
+ return v.has(m) || m > l || m < s ? c : m;
387
395
  }
388
- const d = r.valueToIndex(c);
389
- if (d === -1)
396
+ const h = r.valueToIndex(c);
397
+ if (h === -1)
390
398
  return c;
391
399
  if (i) {
392
- const u = y(d + a, r.minIndex, r.maxIndex);
393
- return r.indexToValue(u);
394
- }
395
- const g = /* @__PURE__ */ new Set();
396
- for (const [u, v] of e)
397
- u !== t && g.add(r.valueToIndex(v));
398
- let h = d, f = !1;
399
- const m = r.minIndex, p = r.maxIndex;
400
- let _ = 0;
401
- for (; _ < Math.abs(p - m) && (h += a, !(h < m || h > p)); ) {
402
- if (!g.has(h)) {
403
- f = !0;
400
+ const m = I(h + n, r.minIndex, r.maxIndex);
401
+ return r.indexToValue(m);
402
+ }
403
+ const u = /* @__PURE__ */ new Set();
404
+ for (const [m, v] of e)
405
+ m !== t && u.add(r.valueToIndex(v));
406
+ let d = h, p = !1;
407
+ const g = r.minIndex, f = r.maxIndex;
408
+ let b = 0;
409
+ for (; b < Math.abs(f - g) && (d += n, !(d < g || d > f)); ) {
410
+ if (!u.has(d)) {
411
+ p = !0;
404
412
  break;
405
413
  }
406
- _++;
414
+ b++;
407
415
  }
408
- return f ? r.indexToValue(h) : c;
416
+ return p ? r.indexToValue(d) : c;
409
417
  }
410
- function Te(n, e, t, a) {
411
- const { allowValuesOverlap: i, stepsProvider: r, resolution: l, min: o, max: s } = n, c = e.get(t);
412
- if (a = a > 0 ? 1 : -1, !r) {
413
- const f = new Set(
414
- Array.from(e).filter(([p]) => p !== t).map(([, p]) => p)
418
+ function ze(a, e, t, n) {
419
+ const { allowValuesOverlap: i, stepsProvider: r, resolution: o, min: s, max: l } = a, c = e.get(t);
420
+ if (n = n > 0 ? 1 : -1, !r) {
421
+ const p = new Set(
422
+ Array.from(e).filter(([f]) => f !== t).map(([, f]) => f)
415
423
  );
416
- let m = a > 0 ? s : o;
424
+ let g = n > 0 ? l : s;
417
425
  if (i)
418
- return m;
419
- for (; f.has(m); )
420
- if (m -= a * l, a > 0 && m > s || a < 0 && m < o) {
421
- m = c;
426
+ return g;
427
+ for (; p.has(g); )
428
+ if (g -= n * o, n > 0 && g > l || n < 0 && g < s) {
429
+ g = c;
422
430
  break;
423
431
  }
424
- return m;
432
+ return g;
425
433
  }
426
434
  if (i)
427
- return a > 0 ? r.indexToValue(r.maxIndex) : r.indexToValue(r.minIndex);
428
- const d = r.valueToIndex(c);
429
- if (d === -1)
435
+ return n > 0 ? r.indexToValue(r.maxIndex) : r.indexToValue(r.minIndex);
436
+ const h = r.valueToIndex(c);
437
+ if (h === -1)
430
438
  return c;
431
- const g = new Set(
432
- Array.from(e).filter(([f]) => f !== t).map(([, f]) => r.valueToIndex(f))
439
+ const u = new Set(
440
+ Array.from(e).filter(([p]) => p !== t).map(([, p]) => r.valueToIndex(p))
433
441
  );
434
- let h = a > 0 ? r.maxIndex : r.minIndex;
435
- for (; g.has(h); )
436
- if (h -= a, a > 0 && h > s || a < 0 && h < o) {
437
- h = d;
442
+ let d = n > 0 ? r.maxIndex : r.minIndex;
443
+ for (; u.has(d); )
444
+ if (d -= n, n > 0 && d > l || n < 0 && d < s) {
445
+ d = h;
438
446
  break;
439
447
  }
440
- return r.indexToValue(h);
448
+ return r.indexToValue(d);
441
449
  }
442
- function $e(n, e, t) {
443
- const { stepsProvider: a, min: i, max: r } = n, l = /* @__PURE__ */ new Map(), o = Array.from(e).sort((c, d) => Z(c[1], d[1]));
444
- if (a) {
450
+ function Se(a, e, t) {
451
+ const { stepsProvider: n, min: i, max: r } = a, o = /* @__PURE__ */ new Map(), s = Array.from(e).sort((c, h) => re(c[1], h[1]));
452
+ if (n) {
445
453
  let c = 0;
446
454
  if (t > 0) {
447
- const d = o[o.length - 1], g = a.valueToIndex(d[1]);
448
- c = a.maxIndex - g;
455
+ const h = s[s.length - 1], u = n.valueToIndex(h[1]);
456
+ c = n.maxIndex - u;
449
457
  } else {
450
- const d = o[0], g = a.valueToIndex(d[1]);
451
- c = a.minIndex - g;
458
+ const h = s[0], u = n.valueToIndex(h[1]);
459
+ c = n.minIndex - u;
452
460
  }
453
461
  if (c === 0)
454
- for (const [d, g] of o)
455
- l.set(d, g);
456
- for (const [d, g] of o) {
457
- const h = a.indexToValue(a.valueToIndex(g) + c);
458
- l.set(d, h);
462
+ for (const [h, u] of s)
463
+ o.set(h, u);
464
+ for (const [h, u] of s) {
465
+ const d = n.indexToValue(n.valueToIndex(u) + c);
466
+ o.set(h, d);
459
467
  }
460
- return l;
468
+ return o;
461
469
  }
462
- let s = 0;
470
+ let l = 0;
463
471
  if (t > 0) {
464
- const c = o[o.length - 1];
465
- s = r - c[1];
472
+ const c = s[s.length - 1];
473
+ l = r - c[1];
466
474
  } else {
467
- const c = o[0];
468
- s = i - c[1];
475
+ const c = s[0];
476
+ l = i - c[1];
469
477
  }
470
- for (const [c, d] of o)
471
- l.set(c, d + s);
472
- return l;
478
+ for (const [c, h] of s)
479
+ o.set(c, h + l);
480
+ return o;
473
481
  }
474
- function Z(n, e) {
475
- return n - e;
482
+ function re(a, e) {
483
+ return a - e;
476
484
  }
477
- function ze(n, e) {
478
- return e - n;
485
+ function Le(a, e) {
486
+ return e - a;
479
487
  }
480
- function y(n, e, t) {
481
- return Math.max(e, Math.min(t, n));
488
+ function I(a, e, t) {
489
+ return Math.max(e, Math.min(t, a));
482
490
  }
483
- const Ce = ne(k);
484
- class Se extends ae {
491
+ const Me = le(k);
492
+ class Fe extends ie {
485
493
  constructor() {
486
- super(...arguments), this._stepsProvider = null, this._popoverElement = X(), this._trackElement = X(), this.messages = le({}), this._onPointerMoveDragUpdate = (e) => {
494
+ super(...arguments), this._direction = se(), this._stepsProvider = null, this._popoverElement = j(), this._trackElement = j(), this.messages = de({}), this._onPointerMoveDragUpdate = (e) => {
487
495
  this._updateDrag(this._mapEventToRange(e));
488
496
  }, this._onPointerUpDragEnd = (e) => {
489
- C(e) && this._endDrag();
497
+ S(e) && this._endDrag();
490
498
  }, this._onPointerCancelDragEnd = () => {
491
499
  this._endDrag();
492
- }, this._formatLabel = (e, t, a) => {
493
- const i = oe(this.messages._lang, t), r = this.labelFormatter;
500
+ }, this._formatLabel = (e, t, n) => {
501
+ const i = ue(this.messages._lang, t), r = this.labelFormatter;
494
502
  if (!r)
495
- return i.format(a);
496
- const l = r(a, e, (o) => i.format(o));
497
- return l ?? i.format(a);
503
+ return i.format(n);
504
+ const o = r(n, e, (s) => i.format(s));
505
+ return o ?? i.format(n);
498
506
  }, this._numberFormatOptions = {}, this._createFormatter = (e, t) => this._formatLabel.bind(this, e, t), this._minFormatter = this._createFormatter("min", this._numberFormatOptions), this._maxFormatter = this._createFormatter("max", this._numberFormatOptions), this._valueFormatter = this._createFormatter("value", this._numberFormatOptions), this._resizeObserver = new ResizeObserver(() => {
499
- this._layoutLabelInputs();
500
- }), this._labelInputsUpdateComplete = null, this._dragInfo = null, this._hasPopoverContent = !1, this._hasContentStart = !1, this._hasContentEnd = !1, this._activePart = null, this._sliderData = Ce(this), this.allowValuesOverlap = !1, this.autoDestroyDisabled = !1, this.disabled = !1, this.fillPlacement = "start", this.layout = "horizontal", this.max = this._sliderData.max, this.min = this._sliderData.min, this.mirrored = !1, this.popoverDisplay = "auto", this.popoverLabel = "", this.popoverPlacement = "start", this.precision = this._sliderData.precision, this.valuesDraggingDisabled = !1, this.rangeLabelsEditingEnabled = !1, this.rangeLabelsPlacement = "center", this.segmentsDraggingDisabled = !1, this.showRangeLabels = !1, this.valueLabelsDisplay = "hidden", this.valueLabelsPlacement = "start", this.valueLabelsEditingEnabled = !1, this.keyboardLargeStep = 10, this.values = this._sliderData.values, this.arcgisActiveValueChange = M({ cancelable: !1 }), this.arcgisChange = M({ cancelable: !1 }), this.arcgisInput = M({ cancelable: !1 }), this.arcgisRangeChange = M({ cancelable: !1 });
507
+ this._layoutLabelInputs(), this._updatePopoverReferenceElement();
508
+ }), this._labelInputsUpdateComplete = null, this._dragInfo = null, this._hasPopoverContent = !1, this._hasContentStart = !1, this._hasContentEnd = !1, this._measurablePopoverReferenceElement = "", this._nextPopoverReferenceElement = null, this._activePart = null, this._sliderData = Me(this), this.allowValuesOverlap = !1, this.autoDestroyDisabled = !1, this.disabled = !1, this.fillPlacement = "start", this.layout = "horizontal", this.max = this._sliderData.max, this.min = this._sliderData.min, this.mirrored = !1, this.popoverDisplay = "auto", this.popoverLabel = "", this.popoverPlacement = "start", this.precision = this._sliderData.precision, this.valuesDraggingDisabled = !1, this.rangeLabelsEditingEnabled = !1, this.rangeLabelsPlacement = "center", this.segmentsDraggingDisabled = !1, this.showRangeLabels = !1, this.valueLabelsDisplay = "hidden", this.valueLabelsPlacement = "start", this.valueLabelsEditingEnabled = !1, this.keyboardLargeStep = 10, this.values = this._sliderData.values, this.arcgisActiveValueChange = M({ cancelable: !1 }), this.arcgisChange = M({ cancelable: !1 }), this.arcgisInput = M({ cancelable: !1 }), this.arcgisRangeChange = M({ cancelable: !1 });
501
509
  }
502
510
  static {
503
- this.properties = { _dragInfo: 16, _hasPopoverContent: 16, _hasContentStart: 16, _hasContentEnd: 16, _activePart: 16, _sliderData: 16, activeValue: 32, allowValuesOverlap: 5, autoDestroyDisabled: 5, disabled: 7, fullRangeMax: 11, fullRangeMin: 11, fillPlacement: 1, labelFormatter: 0, layout: 3, max: 11, min: 11, mirrored: 7, popoverDisplay: 1, popoverLabel: 1, popoverPlacement: 3, precision: 11, valuesDraggingDisabled: 7, rangeLabelsEditingEnabled: 5, rangeLabelsPlacement: 3, segmentsDraggingDisabled: 5, showRangeLabels: 7, steps: [9, { converter: {
511
+ this.properties = { _dragInfo: 16, _hasPopoverContent: 16, _hasContentStart: 16, _hasContentEnd: 16, _measurablePopoverReferenceElement: 16, _nextPopoverReferenceElement: 16, _activePart: 16, _sliderData: 16, activeValue: 32, allowValuesOverlap: 5, autoDestroyDisabled: 5, disabled: 7, fullRangeMax: 11, fullRangeMin: 11, fillPlacement: 1, labelFormatter: 0, layout: 3, max: 11, min: 11, mirrored: 7, popoverDisplay: 1, popoverLabel: 1, popoverPlacement: 3, precision: 11, valuesDraggingDisabled: 7, rangeLabelsEditingEnabled: 5, rangeLabelsPlacement: 3, segmentsDraggingDisabled: 5, showRangeLabels: 7, steps: [9, { converter: {
504
512
  fromAttribute(e) {
505
513
  if (e.includes(","))
506
- return e.split(",").filter((a) => a.trim() !== "").map(parseFloat).filter((a) => Number.isFinite(a));
514
+ return e.split(",").filter((n) => n.trim() !== "").map(parseFloat).filter((n) => Number.isFinite(n));
507
515
  const t = parseFloat(e);
508
516
  return Number.isFinite(t) ? t : void 0;
509
517
  }
@@ -514,7 +522,7 @@ class Se extends ae {
514
522
  } }], messageOverrides: 0 };
515
523
  }
516
524
  static {
517
- this.styles = fe;
525
+ this.styles = _e;
518
526
  }
519
527
  static {
520
528
  this.shadowRootOptions = { mode: "open", delegatesFocus: !0 };
@@ -539,8 +547,8 @@ class Se extends ae {
539
547
  return this.disabled || this.values.length === 0 || this._invalid;
540
548
  }
541
549
  get _invalid() {
542
- const e = this.fullRangeMin == null || this.fullRangeMax == null || this.fullRangeMin < this.fullRangeMax, t = this.fullRangeMin == null || this.fullRangeMin <= this.min, a = this.fullRangeMax == null || this.fullRangeMax >= this.max;
543
- return this.min >= this.max || !e || !t || !a;
550
+ const e = this.fullRangeMin == null || this.fullRangeMax == null || this.fullRangeMin < this.fullRangeMax, t = this.fullRangeMin == null || this.fullRangeMin <= this.min, n = this.fullRangeMax == null || this.fullRangeMax >= this.max;
551
+ return this.min >= this.max || !e || !t || !n;
544
552
  }
545
553
  get resolution() {
546
554
  const e = (this._sliderData.max - this._sliderData.min) / this._trackWidthOrHeight;
@@ -557,7 +565,7 @@ class Se extends ae {
557
565
  this._sliderData.startup();
558
566
  }
559
567
  willUpdate(e) {
560
- if ((e.has("steps") || e.has("min") || e.has("max")) && (this._stepsProvider = ye(this)), (e.has("values") || e.has("steps") || e.has("min") || e.has("max") || e.has("precision") || e.has("allowValuesOverlap")) && !this.allowValuesOverlap) {
568
+ if ((e.has("steps") || e.has("min") || e.has("max")) && (this._stepsProvider = Ce(this)), (e.has("values") || e.has("steps") || e.has("min") || e.has("max") || e.has("precision") || e.has("allowValuesOverlap")) && !this.allowValuesOverlap) {
561
569
  const t = this._resolveOverlappingValues();
562
570
  t && this._setValues(t);
563
571
  }
@@ -576,7 +584,7 @@ class Se extends ae {
576
584
  t && (e.has("values") || e.has("min") || e.has("max")) && t.reposition();
577
585
  }
578
586
  loaded() {
579
- this._resizeObserver.observe(this.el);
587
+ this._resizeObserver.observe(this.el), this._updatePopoverReferenceElement();
580
588
  }
581
589
  disconnectedCallback() {
582
590
  super.disconnectedCallback(), this._removeDragListeners();
@@ -588,28 +596,89 @@ class Se extends ae {
588
596
  };
589
597
  }
590
598
  async _layoutLabelInputs() {
591
- if (this.layout !== "horizontal" || !this._trackElement.value || this.valueLabelsDisplay === "hidden")
599
+ if (!this._trackElement.value || this.valueLabelsDisplay === "hidden")
592
600
  return;
593
- const e = this.renderRoot.querySelectorAll("arcgis-label-input"), t = this.componentOnReady().then(() => Promise.all(Array.from(e, (r) => r.updateComplete)));
601
+ const e = this.renderRoot.querySelectorAll("arcgis-label-input"), t = this.componentOnReady().then(() => Promise.all(Array.from(e, (s) => s.updateComplete)));
594
602
  if (this._labelInputsUpdateComplete = t, await t, t !== this._labelInputsUpdateComplete)
595
603
  return;
596
604
  this._labelInputsUpdateComplete = null;
597
- const a = this._trackElement.value;
598
- if (!a)
605
+ const n = this._trackElement.value;
606
+ if (!n)
599
607
  return;
600
- const i = a.getBoundingClientRect();
601
- for (const r of this._sliderData.entries.keys()) {
602
- const l = this._activePart === "range" || this._activePart === r;
608
+ const i = n.getBoundingClientRect(), r = [], o = this.isHorizontal;
609
+ for (const s of this._sliderData.entries.keys()) {
610
+ const l = this._activePart === "range" || this._activePart === s;
603
611
  if (this.valueLabelsDisplay === "always" || l) {
604
- const s = Le(this, r), c = G(this, r);
605
- if (!s || !c)
612
+ const h = Ae(this, s), u = Z(this, s);
613
+ if (!h || !u)
606
614
  continue;
607
- const d = s.getBoundingClientRect(), g = c.getBoundingClientRect(), h = c.getLabelBoundingClientRect(), f = d.width / 2, m = Math.round(d.left + f), p = Math.round(h.width / 2);
608
- let _ = g.width / 2;
609
- const u = i.left - f, v = i.right + f, x = m - p, P = m + p;
610
- x < u ? _ += x - u : P > v && (_ += P - v), c.style.transform = `translateX(${-Math.round(_)}px)`;
615
+ const d = h.getBoundingClientRect(), p = o ? d.left + d.width / 2 : d.top + d.height / 2;
616
+ if (o) {
617
+ const g = u.getBoundingClientRect(), f = u.getLabelBoundingClientRect(), b = d.width / 2, m = Math.round(f.width / 2);
618
+ let v = g.width / 2;
619
+ const x = i.left - b, D = i.right + b, C = p - m, G = p + m;
620
+ C < x ? v += C - x : G > D && (v += G - D), u.style.transform = `translateX(${-Math.round(v)}px)`;
621
+ } else
622
+ u.style.removeProperty("transform");
623
+ r.push({
624
+ handleBounds: d,
625
+ handleCenter: p,
626
+ labelInput: u
627
+ });
628
+ }
629
+ }
630
+ this._layoutCollidingLabelInputs(r);
631
+ }
632
+ _layoutCollidingLabelInputs(e) {
633
+ const t = this.isHorizontal, n = Array.from(this.renderRoot.querySelectorAll(".label-separator")), i = e.slice().sort((s, l) => s.handleCenter - l.handleCenter);
634
+ if (i.length === 0)
635
+ return;
636
+ const r = this._trackElement.value?.getBoundingClientRect(), o = i.map((s) => [s]);
637
+ for (let s = 0; s < i.length; s++) {
638
+ for (const c of n)
639
+ c.hidden = !0, c.style.removeProperty("left");
640
+ let l = 0;
641
+ for (const c of o) {
642
+ const h = (c[0].handleCenter + c[c.length - 1].handleCenter) / 2, u = c.reduce((p, g) => p + (t ? g.labelInput.getBoundingClientRect().width : g.labelInput.getBoundingClientRect().height), 0);
643
+ let d = c.length === 1 ? t ? c[0].labelInput.getBoundingClientRect().left : c[0].labelInput.getBoundingClientRect().top : h - u / 2;
644
+ if (r && c.length > 1) {
645
+ const p = c[0], g = c[c.length - 1];
646
+ if (t) {
647
+ const f = p.labelInput.getLabelBoundingClientRect().left - p.labelInput.getBoundingClientRect().left, b = g.labelInput.getBoundingClientRect().right - g.labelInput.getLabelBoundingClientRect().right, m = r.left - p.handleBounds.width / 2 - f, v = r.right + g.handleBounds.width / 2 + b - u;
648
+ d = R(d, m, v);
649
+ } else {
650
+ const f = p.labelInput.getBoundingClientRect().height / 2, b = g.labelInput.getBoundingClientRect().height / 2, m = r.top - f, v = r.bottom + b - u;
651
+ d = R(d, m, v);
652
+ }
653
+ }
654
+ for (let p = 0; p < c.length; p++) {
655
+ const g = c[p], f = g.labelInput.getBoundingClientRect(), b = t ? f.width : f.height, m = (t ? f.left : f.top) + b / 2, v = this._getLabelTranslate(g.labelInput, t), x = d + b / 2, D = `${t ? "translateX" : "translateY"}(${Math.round(v + x - m)}px)`;
656
+ if (g.labelInput.style.transform !== D && (g.labelInput.style.transform = D), d += b, t && p < c.length - 1) {
657
+ const C = n[l++];
658
+ if (!C)
659
+ continue;
660
+ C.hidden = !1, C.style.left = `${d - (r?.left ?? 0)}px`;
661
+ }
662
+ }
611
663
  }
664
+ if (!this._mergeCollidingLabelGroups(o))
665
+ break;
666
+ }
667
+ }
668
+ _mergeCollidingLabelGroups(e) {
669
+ const t = this.isHorizontal;
670
+ for (let n = 0; n < e.length - 1; ) {
671
+ const i = e[n], r = e[n + 1], o = i[i.length - 1], s = r[0], l = o.labelInput.getBoundingClientRect(), c = s.labelInput.getBoundingClientRect(), h = t ? l.right : l.bottom;
672
+ if ((t ? c.left : c.top) > h)
673
+ n++;
674
+ else
675
+ return i.push(...r), e.splice(n + 1, 1), !0;
612
676
  }
677
+ return !1;
678
+ }
679
+ _getLabelTranslate(e, t) {
680
+ const n = t ? /translateX\((-?\d+(?:\.\d+)?)px\)/u : /translateY\((-?\d+(?:\.\d+)?)px\)/u, i = e.style.transform.match(n);
681
+ return i ? Number.parseFloat(i[1]) : 0;
613
682
  }
614
683
  _onTrackFocus() {
615
684
  this._setActivePart("range");
@@ -618,10 +687,10 @@ class Se extends ae {
618
687
  this._setActivePart(null);
619
688
  }
620
689
  _onTrackRangePointerDown(e) {
621
- this._disabledOrInvalid || !C(e) || (e.preventDefault(), e.currentTarget.focus(), this._startDrag("range", this._mapEventToRange(e)));
690
+ this._disabledOrInvalid || !S(e) || (e.preventDefault(), e.currentTarget.focus(), this._startDrag("range", this._mapEventToRange(e)));
622
691
  }
623
692
  async _onPointerDown(e) {
624
- if (this._disabledOrInvalid || !C(e))
693
+ if (this._disabledOrInvalid || !S(e))
625
694
  return;
626
695
  const t = this.renderRoot.querySelector("arcgis-label-input[editing]");
627
696
  if (e.target === t)
@@ -630,27 +699,27 @@ class Se extends ae {
630
699
  t.blur(), this._focusEntry(z(t));
631
700
  return;
632
701
  }
633
- if (Me(e.target) || this.values?.length > 1)
702
+ if (Oe(e.target) || this.values?.length > 1)
634
703
  return;
635
- const a = this._mapEventToRange(e), [i, r] = this._sliderData.entries.entries().next().value, l = a * this._fullRange + this._fullMin - r, o = L(this._fullMin, this._fullMax, r) / 100;
636
- this._startDrag(i, o);
637
- const s = R(this._stepsProvider, this._sliderData.entries, i, l, {
704
+ const n = this._mapEventToRange(e), [i, r] = this._sliderData.entries.entries().next().value, o = n * this._fullRange + this._fullMin - r, s = B(this._fullMin, this._fullMax, r) / 100;
705
+ this._startDrag(i, s);
706
+ const l = O(this._stepsProvider, this._sliderData.entries, i, o, {
638
707
  allowValuesOverlap: this.allowValuesOverlap,
639
708
  precision: this.precision,
640
709
  min: this.min,
641
710
  max: this.max
642
711
  });
643
- this._setValue(i, s), this._focusEntry(i);
712
+ this._setValue(i, l), this._focusEntry(i);
644
713
  }
645
714
  _onThumbPointerDown(e) {
646
715
  const t = z(e.currentTarget);
647
- if (!C(e) || this._disabledOrInvalid || !t)
716
+ if (!S(e) || this._disabledOrInvalid || !t)
648
717
  return;
649
- const a = G(this, t);
650
- e.target === a && a?.editing || (e.stopPropagation(), e.preventDefault(), this._focusEntry(t), this._startDrag(t, this._mapEventToRange(e)));
718
+ const n = Z(this, t);
719
+ e.target === n && n?.editing || (e.stopPropagation(), e.preventDefault(), this._focusEntry(t), this._startDrag(t, this._mapEventToRange(e)));
651
720
  }
652
721
  _onFixedThumbPointerDown(e) {
653
- this._disabledOrInvalid || !C(e) || (e.preventDefault(), e.currentTarget.focus());
722
+ this._disabledOrInvalid || !S(e) || (e.preventDefault(), e.currentTarget.focus());
654
723
  }
655
724
  _endDrag() {
656
725
  if (this._disabledOrInvalid)
@@ -659,8 +728,8 @@ class Se extends ae {
659
728
  let e = !1;
660
729
  if (this._dragInfo) {
661
730
  const { entries: t } = this._dragInfo;
662
- for (const [a, i] of t)
663
- if (this._sliderData.getValue(a) !== i) {
731
+ for (const [n, i] of t)
732
+ if (this._sliderData.getValue(n) !== i) {
664
733
  e = !0;
665
734
  break;
666
735
  }
@@ -670,43 +739,43 @@ class Se extends ae {
670
739
  _startDrag(e, t) {
671
740
  if (this._disabledOrInvalid)
672
741
  return;
673
- const { min: a, max: i, values: r } = this;
674
- let l = a, o = i;
742
+ const { min: n, max: i, values: r } = this;
743
+ let o = n, s = i;
675
744
  if (this._setActivePart(e), e === "range") {
676
745
  if (this.segmentsDraggingDisabled)
677
746
  return;
678
- l = a - r[0], o = i - r[r.length - 1];
747
+ o = n - r[0], s = i - r[r.length - 1];
679
748
  }
680
749
  this._dragInfo = {
681
750
  position: t,
682
751
  entries: new Map(this._sliderData.entries.entries()),
683
- minDiff: l,
684
- maxDiff: o
752
+ minDiff: o,
753
+ maxDiff: s
685
754
  }, this._addDragListeners();
686
755
  }
687
756
  _updateDrag(e) {
688
757
  if (!this._dragInfo || !this._activePart)
689
758
  return;
690
- const { _activePart: t, _dragInfo: { position: a, entries: i, minDiff: r, maxDiff: l } } = this;
691
- if (a === e)
759
+ const { _activePart: t, _dragInfo: { position: n, entries: i, minDiff: r, maxDiff: o } } = this;
760
+ if (n === e)
692
761
  return;
693
- let o = (e - a) * this._fullRange;
762
+ let s = (e - n) * this._fullRange;
694
763
  if (t === "range") {
695
- o = Math.min(l, Math.max(r, o));
696
- const s = Ve(this._stepsProvider, i, o);
697
- this._setValues(s);
764
+ s = Math.min(o, Math.max(r, s));
765
+ const l = Ve(this._stepsProvider, i, s);
766
+ this._setValues(l);
698
767
  } else {
699
- const s = R(this._stepsProvider, i, t, o, {
768
+ const l = O(this._stepsProvider, i, t, s, {
700
769
  allowValuesOverlap: this.allowValuesOverlap,
701
770
  precision: this.precision,
702
771
  min: this.min,
703
772
  max: this.max
704
773
  });
705
- this._setValue(t, s);
774
+ this._setValue(t, l);
706
775
  }
707
776
  }
708
777
  _focusEntry(e) {
709
- e && Re(this, e)?.focus();
778
+ e && Q(this, e)?.focus();
710
779
  }
711
780
  _addDragListeners() {
712
781
  document.addEventListener("pointerup", this._onPointerUpDragEnd), document.addEventListener("pointermove", this._onPointerMoveDragUpdate), document.addEventListener("pointercancel", this._onPointerCancelDragEnd);
@@ -722,20 +791,20 @@ class Se extends ae {
722
791
  }
723
792
  _resolveOverlappingValues() {
724
793
  const e = new Map(this._sliderData.entries), t = Array.from(e.entries()).sort((i, r) => i[1] - r[1]);
725
- let a = !1;
794
+ let n = !1;
726
795
  for (const [i, r] of t) {
727
- const l = O(r, this.min, this.max);
728
- if (!Array.from(e).some(([c, d]) => c !== i && O(d, this.min, this.max) === l))
796
+ const o = R(r, this.min, this.max);
797
+ if (!Array.from(e).some(([c, h]) => c !== i && R(h, this.min, this.max) === o))
729
798
  continue;
730
- const s = R(this._stepsProvider, e, i, l - r, {
799
+ const l = O(this._stepsProvider, e, i, o - r, {
731
800
  allowValuesOverlap: !1,
732
801
  precision: this.precision,
733
802
  min: this.min,
734
803
  max: this.max
735
804
  });
736
- s !== r && (a = !0), e.set(i, s);
805
+ l !== r && (n = !0), e.set(i, l);
737
806
  }
738
- return a ? e : null;
807
+ return n ? e : null;
739
808
  }
740
809
  _onThumbFocus(e) {
741
810
  const t = z(e.currentTarget);
@@ -745,48 +814,57 @@ class Se extends ae {
745
814
  this._setActivePart(null);
746
815
  }
747
816
  _onRangeInputChange(e) {
748
- const t = e.currentTarget, a = t.value, i = t.dataset.type;
817
+ const t = e.currentTarget, n = t.value, i = t.dataset.type;
749
818
  let r = !1;
750
819
  switch (e.stopPropagation(), i) {
751
820
  case "min": {
752
- a < this.max ? (this.min = a, r = !0) : t.value = this.min;
821
+ n < this.max ? (this.min = n, r = !0) : t.value = this.min;
753
822
  break;
754
823
  }
755
824
  case "max": {
756
- a > this.min ? (this.max = a, r = !0) : t.value = this.max;
825
+ n > this.min ? (this.max = n, r = !0) : t.value = this.max;
757
826
  break;
758
827
  }
759
828
  }
760
829
  r && this.arcgisRangeChange.emit();
761
830
  }
762
831
  _onValueInputChange(e) {
763
- const t = e.currentTarget, a = z(t), i = t.value;
764
- if (a) {
832
+ const t = e.currentTarget, n = z(t), i = t.value;
833
+ if (n) {
765
834
  e.stopPropagation();
766
- const r = this._sliderData.getValue(a), l = R(this._stepsProvider, this._sliderData.entries, a, i - r, {
835
+ const r = this._sliderData.getValue(n), o = O(this._stepsProvider, this._sliderData.entries, n, i - r, {
767
836
  allowValuesOverlap: this.allowValuesOverlap,
768
837
  precision: this.precision,
769
838
  min: this.min,
770
839
  max: this.max
771
840
  });
772
- this._setValue(a, l), t.value = this._sliderData.getValue(a);
841
+ this._setValue(n, o), t.value = this._sliderData.getValue(n);
773
842
  }
774
843
  }
775
844
  _mapEventToRange(e) {
776
845
  const t = this._trackElement.value?.getBoundingClientRect();
777
846
  if (!t)
778
847
  return 0;
779
- const a = this.isHorizontal ? (e.clientX - t.left) / t.width : 1 - (e.clientY - t.top) / t.height;
780
- return this.mirrored ? 1 - a : a;
848
+ const n = this.isHorizontal ? (e.clientX - t.left) / t.width : 1 - (e.clientY - t.top) / t.height;
849
+ return this.mirrored ? 1 - n : n;
781
850
  }
782
851
  _getPositionStyleForElement(e) {
783
- const t = L(this._fullMin, this._fullMax, e);
852
+ const t = B(this._fullMin, this._fullMax, e);
784
853
  return {
785
854
  [this.isHorizontal ? this.mirrored ? "right" : "left" : this.mirrored ? "top" : "bottom"]: `${t}%`
786
855
  };
787
856
  }
788
857
  _popoverSlotChange(e) {
789
- this._hasPopoverContent = H(e);
858
+ this._hasPopoverContent = H(e), this._updatePopoverReferenceElement();
859
+ }
860
+ _onPopoverBeforeOpen(e) {
861
+ e.target === this._popoverElement.value && this._popoverElement.value.style.removeProperty("visibility");
862
+ }
863
+ _onPopoverBeforeClose(e) {
864
+ e.target === this._popoverElement.value && (this._popoverElement.value.style.visibility = "hidden");
865
+ }
866
+ async _onPopoverClose() {
867
+ this._nextPopoverReferenceElement != null && (this._measurablePopoverReferenceElement = this._nextPopoverReferenceElement, await this.updateComplete, this._nextPopoverReferenceElement = null);
790
868
  }
791
869
  _onContentStartSlotChange(e) {
792
870
  this._hasContentStart = H(e);
@@ -798,40 +876,40 @@ class Se extends ae {
798
876
  const t = z(e.currentTarget);
799
877
  if (!t)
800
878
  return;
801
- const a = e.currentTarget.querySelector("arcgis-label-input");
802
- if (!a || a.editing)
879
+ const n = e.currentTarget.querySelector("arcgis-label-input");
880
+ if (!n || n.editing)
803
881
  return;
804
- if (e.key === b.confirmEdit) {
805
- a.edit();
882
+ if (e.key === _.confirmEdit) {
883
+ n.edit();
806
884
  return;
807
885
  }
808
- const i = j(e, this.keyboardLargeStep, this.mirrored);
886
+ const i = Y(e, this.keyboardLargeStep, this.mirrored);
809
887
  if (i) {
810
888
  e.preventDefault();
811
- const r = Ee(this._getStepsConfiguration(), this._sliderData.entries, t, i.direction, i.count);
889
+ const r = Te(this._getStepsConfiguration(), this._sliderData.entries, t, i.direction, i.count);
812
890
  this._setValue(t, r);
813
891
  return;
814
892
  }
815
- if (W(e.key)) {
893
+ if (J(e.key)) {
816
894
  e.preventDefault();
817
- const r = Te(this._getStepsConfiguration(), this._sliderData.entries, t, this._getDirectionForHomeEndKey(e.key));
895
+ const r = ze(this._getStepsConfiguration(), this._sliderData.entries, t, this._getDirectionForHomeEndKey(e.key));
818
896
  this._setValue(t, r);
819
897
  }
820
898
  }
821
899
  _onTrackRangeKeyDown(e) {
822
900
  if (this._disabledOrInvalid)
823
901
  return;
824
- const t = j(e, this.keyboardLargeStep, this.mirrored);
902
+ const t = Y(e, this.keyboardLargeStep, this.mirrored);
825
903
  if (t) {
826
904
  e.preventDefault();
827
- const { entries: a } = Ie(this._getStepsConfiguration(), this._sliderData.entries, t.direction, t.count);
828
- this._setValues(a);
905
+ const { entries: n } = Re(this._getStepsConfiguration(), this._sliderData.entries, t.direction, t.count);
906
+ this._setValues(n);
829
907
  return;
830
908
  }
831
- if (W(e.key)) {
909
+ if (J(e.key)) {
832
910
  e.preventDefault();
833
- const a = $e(this._getStepsConfiguration(), this._sliderData.entries, this._getDirectionForHomeEndKey(e.key));
834
- this._setValues(a);
911
+ const n = Se(this._getStepsConfiguration(), this._sliderData.entries, this._getDirectionForHomeEndKey(e.key));
912
+ this._setValues(n);
835
913
  }
836
914
  }
837
915
  _getStepsConfiguration() {
@@ -844,15 +922,28 @@ class Se extends ae {
844
922
  };
845
923
  }
846
924
  _getDirectionForHomeEndKey(e) {
847
- return this.isHorizontal && this.mirrored || this.layout === "vertical" ? e === b.jumpToEnd ? -1 : 1 : e === b.jumpToStart ? -1 : 1;
925
+ return this.isHorizontal && this.mirrored || this.layout === "vertical" ? e === _.jumpToEnd ? -1 : 1 : e === _.jumpToStart ? -1 : 1;
848
926
  }
849
927
  _setActivePart(e) {
850
- this._activePart !== e && (this._activePart = e, this.arcgisActiveValueChange.emit());
928
+ this._activePart !== e && (this._activePart = e, this._updatePopoverReferenceElement(), this.arcgisActiveValueChange.emit());
851
929
  }
852
930
  _resolveFillPlacement(e) {
853
931
  const { fillPlacement: t } = this;
854
932
  return e ? t === "between" || t === "not-between" || t === "none" ? t : "between" : t === "start" || t === "end" || t === "none" ? t : "start";
855
933
  }
934
+ _updatePopoverReferenceElement() {
935
+ const { _activePart: e, popoverDisplay: t } = this;
936
+ let n = "";
937
+ if (this._hasPopoverContent)
938
+ if (t === "always" && this.values.length > 1) {
939
+ const h = Array.from(this._sliderData.entries), [u, d] = h[0];
940
+ n = h.every(([, g]) => g === d) ? u : "track-range";
941
+ } else e && Be(e) ? n = e : this.values.length > 1 ? n = "track-range" : n = this._sliderData.entries.keys().next().value ?? "";
942
+ let i = null;
943
+ n && (n === "track-range" ? i = this.renderRoot.querySelector("#track-range") : i = Q(this, n));
944
+ const r = i?.getBoundingClientRect(), s = !!r && r.width > 0 && r.height > 0 ? n : "", l = !!this._popoverElement.value?.open, c = this._hasPopoverContent && !!s && (this.popoverDisplay === "always" || !!this._activePart);
945
+ this._nextPopoverReferenceElement != null ? this._nextPopoverReferenceElement = s : s !== this._measurablePopoverReferenceElement && (l || c) ? (this._nextPopoverReferenceElement = s, l || this._onPopoverClose()) : this._measurablePopoverReferenceElement = s;
946
+ }
856
947
  render() {
857
948
  return w`<div class=${T({
858
949
  content: !0,
@@ -860,16 +951,9 @@ class Se extends ae {
860
951
  })} @pointerdown=${this._onPointerDown}>${this._renderContentStart()}${this._renderContentEnd()}${this._renderRangeLabel("min")}${this._renderTrackRange()}${this._renderRangeLabel("max")}${this._renderPopover()}</div>`;
861
952
  }
862
953
  _renderPopover() {
863
- const { _activePart: e, layout: t, popoverDisplay: a, popoverLabel: i, popoverPlacement: r, valueLabelsDisplay: l, valueLabelsPlacement: o } = this;
864
- let s = "";
865
- if (this._hasPopoverContent)
866
- if (a === "always" && this.values.length > 1) {
867
- const h = Array.from(this._sliderData.entries), [f, m] = h[0];
868
- s = h.every(([, _]) => _ === m) ? f : "track-range";
869
- } else e && Fe(e) ? s = e : this.values.length > 1 ? s = "track-range" : s = this._sliderData.entries.keys().next().value ?? "";
870
- const c = this._hasPopoverContent && (a === "always" || !!e), d = t === "horizontal" ? r === "start" ? "top" : "bottom" : r === "start" ? "left" : "right";
871
- let g = 14;
872
- return s && s !== "track-range" && (g -= 1), l !== "hidden" && r === o && (g += 24), w`<calcite-popover class="popover" focus-trap-disabled .label=${i} .open=${c} .offsetDistance=${g} .placement=${d} .referenceElement=${s} scale=s trigger-disabled ${B(this._popoverElement)}><slot name=popover @slotchange=${this._popoverSlotChange}></slot></calcite-popover>`;
954
+ const { _activePart: e, layout: t, popoverDisplay: n, popoverLabel: i, popoverPlacement: r, valueLabelsDisplay: o, valueLabelsPlacement: s } = this, l = this._measurablePopoverReferenceElement, c = this._hasPopoverContent && !!l && (n === "always" || !!e) && this._nextPopoverReferenceElement == null, h = t === "horizontal" ? r === "start" ? "top" : "bottom" : r === "start" ? "left" : "right";
955
+ let u = 14;
956
+ return l && l !== "track-range" && (u -= 1), o !== "hidden" && r === s && (u += 24), w`<calcite-popover class="popover" focus-trap-disabled .label=${i} .open=${c} .offsetDistance=${u} .placement=${h} .referenceElement=${l} scale=s trigger-disabled @calcitePopoverBeforeOpen=${this._onPopoverBeforeOpen} @calcitePopoverBeforeClose=${this._onPopoverBeforeClose} @calcitePopoverClose=${this._onPopoverClose} ${U(this._popoverElement)}><slot name=popover @slotchange=${this._popoverSlotChange}></slot></calcite-popover>`;
873
957
  }
874
958
  _renderContentStart() {
875
959
  return w`<div class="content-start" .hidden=${!this._hasContentStart}><slot name=content-start @slotchange=${this._onContentStartSlotChange}></slot></div>`;
@@ -878,48 +962,52 @@ class Se extends ae {
878
962
  return w`<div class="content-end" .hidden=${!this._hasContentEnd}><slot name=content-end @slotchange=${this._onContentEndSlotChange}></slot></div>`;
879
963
  }
880
964
  _renderTrackRange() {
881
- return w`<div class="track-container">${this._renderTrack()}<slot name=track-overlay></slot>${this._renderThumbs()}</div>`;
965
+ return w`<div class="track-container">${this._renderTrack()}<slot name=track-overlay></slot>${this._renderThumbs()}${this._renderLabelSeparators()}</div>`;
966
+ }
967
+ _renderLabelSeparators() {
968
+ const e = Math.max(0, this.values.length - 1);
969
+ return Array.from({ length: e }, (t, n) => q(n, w`<div aria-hidden=true class="label-separator" hidden></div>`));
882
970
  }
883
971
  _renderTrack() {
884
- return w`<div class="track" ${B(this._trackElement)}>${this._renderTrackBackground()}${this._renderFillSegment()}</div>`;
972
+ return w`<div class="track" ${U(this._trackElement)}>${this._renderTrackBackground()}${this._renderFillSegment()}</div>`;
885
973
  }
886
974
  _renderTrackBackground() {
887
- const { max: e, min: t, fillPlacement: a, values: i } = this, r = i.length > 1;
888
- let l = this._fullMin, o = this._fullMax;
889
- const s = [];
890
- return this._invalid ? w`<div class="segment track-bounds" style=${F({ left: "0%", right: "0%", top: "0%", bottom: "0%" })}></div>` : (l < t && (s.push(this._renderSegment(l, t, [
975
+ const { max: e, min: t, fillPlacement: n, values: i } = this, r = i.length > 1;
976
+ let o = this._fullMin, s = this._fullMax;
977
+ const l = [];
978
+ return this._invalid ? w`<div class="segment track-bounds" style=${F({ left: "0%", right: "0%", top: "0%", bottom: "0%" })}></div>` : (o < t && (l.push(this._renderSegment(o, t, [
891
979
  this.mirrored ? "track-effective-end" : "track-effective-start",
892
- !r && a === "start" ? "track-fill" : null
893
- ])), l = t), o > e && (s.push(this._renderSegment(e, o, [
980
+ !r && n === "start" ? "track-fill" : null
981
+ ])), o = t), s > e && (l.push(this._renderSegment(e, s, [
894
982
  this.mirrored ? "track-effective-start" : "track-effective-end",
895
- !r && a === "end" ? "track-fill" : null
896
- ])), o = e), s.push(this._renderSegment(l, o, ["track-bounds"])), s);
983
+ !r && n === "end" ? "track-fill" : null
984
+ ])), s = e), l.push(this._renderSegment(o, s, ["track-bounds"])), l);
897
985
  }
898
986
  _renderFillSegment() {
899
- const { values: e, min: t, max: a } = this;
987
+ const { values: e, min: t, max: n } = this;
900
988
  if (!e?.length || this._invalid)
901
989
  return;
902
- const i = [...e].sort((g, h) => g - h), r = i[0], l = i[i.length - 1], o = this._resolveFillPlacement(i.length > 1);
903
- let s;
904
- switch (o) {
990
+ const i = [...e].sort((u, d) => u - d), r = i[0], o = i[i.length - 1], s = this._resolveFillPlacement(i.length > 1);
991
+ let l;
992
+ switch (s) {
905
993
  case "start":
906
- t < r && (s = this._renderSegment(t, r, ["track-range"]));
994
+ t < r && (l = this._renderSegment(t, r, ["track-range"]));
907
995
  break;
908
996
  case "end":
909
- a > l && (s = this._renderSegment(l, a, ["track-range"]));
997
+ n > o && (l = this._renderSegment(o, n, ["track-range"]));
910
998
  break;
911
999
  case "between":
912
- i.length > 1 && (s = this._renderSegment(r, l, ["track-range"]));
1000
+ i.length > 1 && (l = this._renderSegment(r, o, ["track-range"]));
913
1001
  break;
914
1002
  case "not-between":
915
- i.length > 1 && (s = [this._renderSegment(t, r, ["track-range"]), this._renderSegment(l, a, ["track-range"])]);
1003
+ i.length > 1 && (l = [this._renderSegment(t, r, ["track-range"]), this._renderSegment(o, n, ["track-range"])]);
916
1004
  break;
917
1005
  }
918
1006
  if (!(i.length > 1))
919
- return s;
920
- const c = this.segmentsDraggingDisabled, d = this._renderSegment(r, l, [
1007
+ return l;
1008
+ const c = this.segmentsDraggingDisabled, h = this._renderSegment(r, o, [
921
1009
  "track-range-interactive",
922
- o === "between" ? "filled" : null,
1010
+ s === "between" ? "filled" : null,
923
1011
  c ? null : "interactive",
924
1012
  this._activePart === "range" && !this.segmentsDraggingDisabled ? "active" : null
925
1013
  ], {
@@ -929,95 +1017,102 @@ class Se extends ae {
929
1017
  onPointerDown: c ? void 0 : this._onTrackRangePointerDown,
930
1018
  onKeyDown: c ? void 0 : this._onTrackRangeKeyDown
931
1019
  });
932
- return [s, d];
1020
+ return [l, h];
933
1021
  }
934
- _renderSegment(e, t, a, i) {
935
- const { _fullMin: r, _fullMax: l, mirrored: o } = this, s = [
936
- L(r, l, O(e, r, l)),
937
- 100 - L(r, l, O(t, r, l))
1022
+ _renderSegment(e, t, n, i) {
1023
+ const { _fullMin: r, _fullMax: o, mirrored: s } = this, l = [
1024
+ B(r, o, R(e, r, o)),
1025
+ 100 - B(r, o, R(t, r, o))
938
1026
  ];
939
- o && s.reverse();
1027
+ s && l.reverse();
940
1028
  const c = this.isHorizontal ? {
941
- left: `${s[0]}%`,
942
- right: `${s[1]}%`
1029
+ left: `${l[0]}%`,
1030
+ right: `${l[1]}%`
943
1031
  } : {
944
- top: `${s[1]}%`,
945
- bottom: `${s[0]}%`
946
- }, d = re("segment", ...a);
947
- return w`<div id=${i?.id ?? E} class=${T(d)} style=${F(c)} .tabIndex=${i?.onPointerDown ? 0 : -1} @focus=${i?.onFocus} @blur=${i?.onBlur} @pointerdown=${i?.onPointerDown} @keydown=${i?.onKeyDown}></div>`;
1032
+ top: `${l[1]}%`,
1033
+ bottom: `${l[0]}%`
1034
+ }, h = oe("segment", ...n);
1035
+ return w`<div id=${i?.id ?? V} class=${T(h)} style=${F(c)} .tabIndex=${i?.onPointerDown ? 0 : -1} @focus=${i?.onFocus} @blur=${i?.onBlur} @pointerdown=${i?.onPointerDown} @keydown=${i?.onKeyDown}></div>`;
948
1036
  }
949
1037
  _renderThumbs() {
950
- const { _sliderData: e } = this, t = Array.from(e.entries).filter(([, i]) => i >= this._fullMin && i <= this._fullMax), a = t.map(([, i]) => i).sort((i, r) => i - r);
951
- if (this.valuesDraggingDisabled && a.length > 1) {
952
- const i = a[0], r = a.at(-1);
1038
+ const { _sliderData: e } = this, t = Array.from(e.entries).filter(([, i]) => i >= this._fullMin && i <= this._fullMax), n = t.map(([, i]) => i).sort((i, r) => i - r);
1039
+ if (this.valuesDraggingDisabled && n.length > 1) {
1040
+ const i = n[0], r = n.at(-1);
953
1041
  if (i != null && r != null) {
954
- const l = (i + r) / 2;
1042
+ const o = (i + r) / 2;
955
1043
  return [
956
- this._renderFixedThumb(l),
957
- N(t, ([o, s]) => this._renderThumb(o, s, !0))
1044
+ this._renderFixedThumb(o),
1045
+ X(t, ([s, l]) => this._renderThumb(s, l, !0))
958
1046
  ];
959
1047
  }
960
1048
  }
961
- return N(t, ([i, r]) => this._renderThumb(i, r, !1));
1049
+ return X(t, ([i, r]) => this._renderThumb(i, r, !1));
962
1050
  }
963
1051
  _renderFixedThumb(e) {
964
- const { _disabledOrInvalid: t, segmentsDraggingDisabled: a, isHorizontal: i } = this;
1052
+ const { _disabledOrInvalid: t, segmentsDraggingDisabled: n, isHorizontal: i } = this;
965
1053
  return w`<div .ariaLabel=${this.messages.sliderValue} .ariaOrientation=${i ? "horizontal" : "vertical"} .ariaValueMax=${this.max} .ariaValueMin=${this.min} .ariaValueNow=${e} class=${T({
966
1054
  thumb: !0,
967
1055
  "fixed-thumb": !0,
968
1056
  active: this._activePart === "range"
969
- })} @blur=${this._onTrackBlur} @focus=${this._onTrackFocus} @keydown=${a ? void 0 : this._onTrackRangeKeyDown} @pointerdown=${a ? this._onFixedThumbPointerDown : this._onTrackRangePointerDown} role=slider style=${F({
1057
+ })} @blur=${this._onTrackBlur} @focus=${this._onTrackFocus} @keydown=${n ? void 0 : this._onTrackRangeKeyDown} @pointerdown=${n ? this._onFixedThumbPointerDown : this._onTrackRangePointerDown} role=slider style=${F({
970
1058
  ...this._getPositionStyleForElement(e),
971
1059
  "z-index": this._activePart === "range" ? 1 : 0
972
1060
  })} .tabIndex=${t ? -1 : 0}><div class="thumb-content"><span class="handle"></span></div></div>`;
973
1061
  }
974
- _renderThumb(e, t, a) {
975
- const { valueLabelsDisplay: i } = this, r = this._disabledOrInvalid, l = !a && (this._activePart === e || this._activePart === "range"), o = !a && (this._activePart === "range" || this._activePart === e), s = i === "always" || i === "auto" && (o || a && this._activePart === "range"), c = this.isHorizontal, d = c ? "horizontal" : "vertical", g = `label-${e}`, h = c ? "center" : this.valueLabelsPlacement === "start" ? "end" : "start";
976
- return te(e, w`<div id=${e ?? E} .ariaLabel=${this.messages.sliderValue} aria-labelledby=${(i ? g : void 0) ?? E} .ariaOrientation=${d} .ariaValueMin=${this.min} .ariaValueMax=${this.max} .ariaValueNow=${t} .ariaValueText=${this._valueFormatter(t)} class=${T({
1062
+ _renderThumb(e, t, n) {
1063
+ const { valueLabelsDisplay: i } = this, r = this._disabledOrInvalid, o = !n && (this._activePart === e || this._activePart === "range"), s = !n && (this._activePart === "range" || this._activePart === e), l = i === "always" || i === "auto" && (s || n && this._activePart === "range"), c = this.isHorizontal, h = c ? "horizontal" : "vertical", u = `label-${e}`, d = c ? "center" : this.valueLabelsPlacement === "start" ? "end" : "start";
1064
+ return q(e, w`<div id=${e ?? V} .ariaLabel=${this.messages.sliderValue} aria-labelledby=${(i ? u : void 0) ?? V} .ariaOrientation=${h} .ariaValueMin=${this.min} .ariaValueMax=${this.max} .ariaValueNow=${t} .ariaValueText=${this._valueFormatter(t)} class=${T({
977
1065
  thumb: !0,
978
- active: l,
979
- "labels-only": a
980
- })} data-entry=${e ?? E} @pointerdown=${a ? void 0 : this._onThumbPointerDown} @focus=${a ? void 0 : this._onThumbFocus} @blur=${a ? void 0 : this._onThumbBlur} @keydown=${a ? void 0 : this._onThumbKeyDown} role=slider style=${F({
1066
+ active: o,
1067
+ "labels-only": n
1068
+ })} data-entry=${e ?? V} @pointerdown=${n ? void 0 : this._onThumbPointerDown} @focus=${n ? void 0 : this._onThumbFocus} @blur=${n ? void 0 : this._onThumbBlur} @keydown=${n ? void 0 : this._onThumbKeyDown} role=slider style=${F({
981
1069
  ...this._getPositionStyleForElement(t),
982
- "z-index": this._activePart === e ? 1 : 0
983
- })} .tabIndex=${a || r ? -1 : 0}><div class="thumb-content"><span class="handle"></span><arcgis-label-input .alignment=${h} class="label" .hidden=${!s} id=${g ?? E} .labelFormatter=${this._valueFormatter} @focus=${r ? void 0 : this._onThumbFocus} @blur=${r ? void 0 : this._onThumbBlur} @arcgisChange=${this._onValueInputChange} .readOnly=${!this.valueLabelsEditingEnabled} tabindex=-1 .value=${t} ${B(this._makeResizeRef())}></arcgis-label-input></div></div>`);
1070
+ "z-index": this._activePart === e ? 2 : 1
1071
+ })} .tabIndex=${n || r ? -1 : 0}><div class="thumb-content"><span class="handle"></span><arcgis-label-input .alignment=${d} class="label" .hidden=${!l} id=${u ?? V} .labelFormatter=${this._valueFormatter} @focus=${r ? void 0 : this._onThumbFocus} @blur=${r ? void 0 : this._onThumbBlur} @arcgisChange=${this._onValueInputChange} .readOnly=${!this.valueLabelsEditingEnabled} tabindex=-1 .value=${t} ${U(this._makeResizeRef())}></arcgis-label-input></div></div>`);
984
1072
  }
985
1073
  _renderRangeLabel(e) {
986
1074
  let t = "center";
987
- return this.isHorizontal && (t = e === "min" ? "end" : "start", this.rangeLabelsPlacement === "end" && (t = t === "end" ? "start" : "end"), this.mirrored && (t = t === "end" ? "start" : "end")), w`<arcgis-label-input .alignment=${t} class=${T(e)} data-type=${e ?? E} .hidden=${!this.showRangeLabels} .labelFormatter=${this[`_${e}Formatter`]} @arcgisChange=${this._onRangeInputChange} .readOnly=${!this.rangeLabelsEditingEnabled} .value=${this[e]}></arcgis-label-input>`;
1075
+ if (this.isHorizontal) {
1076
+ t = e === "min" ? "end" : "start";
1077
+ const n = () => {
1078
+ t = t === "end" ? "start" : "end";
1079
+ };
1080
+ this.rangeLabelsPlacement === "end" && n(), this.mirrored && n(), this._direction === "rtl" && n();
1081
+ }
1082
+ return w`<arcgis-label-input .alignment=${t} class=${T(e)} data-type=${e ?? V} .hidden=${!this.showRangeLabels} .labelFormatter=${this[`_${e}Formatter`]} @arcgisChange=${this._onRangeInputChange} .readOnly=${!this.rangeLabelsEditingEnabled} .value=${this[e]}></arcgis-label-input>`;
988
1083
  }
989
1084
  }
990
- function Me(n) {
991
- return "dataset" in n && n.tagName === "ARCGIS-LABEL-INPUT" && (n.dataset.type === "min" || n.dataset.type === "max");
1085
+ function Oe(a) {
1086
+ return "dataset" in a && a.tagName === "ARCGIS-LABEL-INPUT" && (a.dataset.type === "min" || a.dataset.type === "max");
992
1087
  }
993
- function z(n) {
994
- const e = ie(n, "[data-entry]");
1088
+ function z(a) {
1089
+ const e = ce(a, "[data-entry]");
995
1090
  return e && "dataset" in e ? e.dataset.entry : null;
996
1091
  }
997
- function Fe(n) {
998
- return typeof n != null && n !== "range";
1092
+ function Be(a) {
1093
+ return typeof a != null && a !== "range";
999
1094
  }
1000
- function Re(n, e) {
1001
- return e ? n.renderRoot.querySelector(`div[data-entry="${e}"]`) : null;
1095
+ function Q(a, e) {
1096
+ return e ? a.renderRoot.querySelector(`div[data-entry="${e}"]`) : null;
1002
1097
  }
1003
- function Le(n, e) {
1004
- return e ? n.renderRoot.querySelector(`div[data-entry="${e}"] span.handle`) : null;
1098
+ function Ae(a, e) {
1099
+ return e ? a.renderRoot.querySelector(`div[data-entry="${e}"] span.handle`) : null;
1005
1100
  }
1006
- function G(n, e) {
1007
- return e ? n.renderRoot.querySelector(`div[data-entry="${e}"] arcgis-label-input`) : null;
1101
+ function Z(a, e) {
1102
+ return e ? a.renderRoot.querySelector(`div[data-entry="${e}"] arcgis-label-input`) : null;
1008
1103
  }
1009
- function C(n) {
1010
- return n.isPrimary && n.button === 0;
1104
+ function S(a) {
1105
+ return a.isPrimary && a.button === 0;
1011
1106
  }
1012
- const Oe = 5;
1013
- function L(n, e, t) {
1014
- const a = e - n, i = (t - n) / a * 100;
1015
- return Number.parseFloat(i.toFixed(Oe));
1107
+ const He = 5;
1108
+ function B(a, e, t) {
1109
+ const n = e - a, i = (t - a) / n * 100;
1110
+ return Number.parseFloat(i.toFixed(He));
1016
1111
  }
1017
- function O(n, e, t) {
1018
- return Math.max(e, Math.min(t, n));
1112
+ function R(a, e, t) {
1113
+ return Math.max(e, Math.min(t, a));
1019
1114
  }
1020
- ee("arcgis-slider", Se);
1115
+ ae("arcgis-slider", Fe);
1021
1116
  export {
1022
- Se as ArcgisSlider
1117
+ Fe as ArcgisSlider
1023
1118
  };