@arcgis/common-components 5.2.4 → 5.2.6

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 (44) hide show
  1. package/dist/cdn/{2GBIDGIK.js → 24JPS4UK.js} +1 -1
  2. package/dist/cdn/{PJX34XKX.js → 2KO6YLJI.js} +1 -1
  3. package/dist/cdn/{RHEPCTDX.js → 2XDK2KWM.js} +1 -1
  4. package/dist/cdn/{E6LVFD3S.js → 34KFQEIR.js} +1 -1
  5. package/dist/cdn/{PHW4TZXW.js → 46VEJ4PR.js} +1 -1
  6. package/dist/cdn/{YY2GCBWQ.js → 54NZJUOI.js} +1 -1
  7. package/dist/cdn/{B4MSRQLW.js → 5VRXYQB3.js} +1 -1
  8. package/dist/cdn/{P3MNNMBR.js → 6XHIOKYK.js} +1 -1
  9. package/dist/cdn/{RESQTFUG.js → ARXE5DJD.js} +1 -1
  10. package/dist/cdn/{JGHUIE7K.js → BSFCSOJ5.js} +1 -1
  11. package/dist/cdn/{P7F647MW.js → BWQGYY7A.js} +1 -1
  12. package/dist/cdn/{777NEAW4.js → DFRTZWXG.js} +1 -1
  13. package/dist/cdn/{WLX2SENR.js → HJICUPOG.js} +1 -1
  14. package/dist/cdn/{YPUQA6VS.js → ISPXU6V4.js} +1 -1
  15. package/dist/cdn/{V4L3PXBZ.js → IWZ6TPQL.js} +1 -1
  16. package/dist/cdn/{UE3LF2VY.js → J45DFT5G.js} +1 -1
  17. package/dist/cdn/{3X2MVQTG.js → JEPW4X7U.js} +1 -1
  18. package/dist/cdn/{I6LJN2SJ.js → JO42ZXGS.js} +1 -1
  19. package/dist/cdn/{XDBI7TX7.js → LCBR3JQ7.js} +1 -1
  20. package/dist/cdn/{AVAVKE2C.js → LZIX4SAR.js} +1 -1
  21. package/dist/cdn/{SL5UWHYF.js → MCB3OMOK.js} +1 -1
  22. package/dist/cdn/{DZUTJ747.js → PNWMWVH6.js} +1 -1
  23. package/dist/cdn/{RWGWZAMM.js → R37S375C.js} +1 -1
  24. package/dist/cdn/{5WROHG4L.js → RMYNVT3P.js} +1 -1
  25. package/dist/cdn/{TQL7NKXO.js → S5UB4SRW.js} +1 -1
  26. package/dist/cdn/{E3VHT6BQ.js → T3OK3M4E.js} +1 -1
  27. package/dist/cdn/{S26IP5GE.js → TL6RF27T.js} +1 -1
  28. package/dist/cdn/{BEAJKSDR.js → UX3IMY5J.js} +1 -1
  29. package/dist/cdn/{GZXN456V.js → VTAQRKNF.js} +1 -1
  30. package/dist/cdn/{I23I3NHX.js → WW2A4SYG.js} +1 -1
  31. package/dist/cdn/{H5QWBJTH.js → X3Q4E66O.js} +1 -1
  32. package/dist/cdn/{4BQVTE3X.js → XGRQMQZL.js} +1 -1
  33. package/dist/cdn/{IS5NWPTN.js → XTRVP6QD.js} +1 -1
  34. package/dist/cdn/{HX2ZECWM.js → Y3APNPN4.js} +1 -1
  35. package/dist/cdn/{S5YQPDLN.js → YK3IKSGP.js} +1 -1
  36. package/dist/cdn/{RZWLH7SD.js → YL7W53II.js} +1 -1
  37. package/dist/cdn/{XQJALRRE.js → Z6JVEBKQ.js} +1 -1
  38. package/dist/cdn/{KK62TWI2.js → ZA4TGNE2.js} +1 -1
  39. package/dist/cdn/index.js +1 -1
  40. package/dist/chunks/runtime.js +1 -1
  41. package/dist/docs/api.json +1 -1
  42. package/dist/docs/docs.json +1 -1
  43. package/dist/docs/web-types.json +1 -1
  44. package/package.json +5 -5
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{d as r}from"./GZXN456V.js";import{S as o}from"./3X2MVQTG.js";var s=r(o);export{s as a};
2
+ import{d as r}from"./VTAQRKNF.js";import{S as o}from"./JEPW4X7U.js";var s=r(o);export{s as a};
@@ -1,5 +1,5 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{a as sr}from"./UGWLCTVM.js";import{a as kA}from"./Y5Y7IXOV.js";import{f as fA}from"./H4Q2JVNO.js";import{J as dA,K as uA,L as hA,O as mA,R as gA,S as pA,h as aA,j as lA,t as bi,x as cA}from"./3X2MVQTG.js";var Aa=function(){return Aa=Object.assign||function(I){for(var E,O=1,H=arguments.length;O<H;O++){E=arguments[O];for(var U in E)Object.prototype.hasOwnProperty.call(E,U)&&(I[U]=E[U])}return I},Aa.apply(this,arguments)},wd={exports:{}},ze={},Ad={exports:{}},wi={};function yA(){var f={};return f["align-content"]=!1,f["align-items"]=!1,f["align-self"]=!1,f["alignment-adjust"]=!1,f["alignment-baseline"]=!1,f.all=!1,f["anchor-point"]=!1,f.animation=!1,f["animation-delay"]=!1,f["animation-direction"]=!1,f["animation-duration"]=!1,f["animation-fill-mode"]=!1,f["animation-iteration-count"]=!1,f["animation-name"]=!1,f["animation-play-state"]=!1,f["animation-timing-function"]=!1,f.azimuth=!1,f["backface-visibility"]=!1,f.background=!0,f["background-attachment"]=!0,f["background-clip"]=!0,f["background-color"]=!0,f["background-image"]=!0,f["background-origin"]=!0,f["background-position"]=!0,f["background-repeat"]=!0,f["background-size"]=!0,f["baseline-shift"]=!1,f.binding=!1,f.bleed=!1,f["bookmark-label"]=!1,f["bookmark-level"]=!1,f["bookmark-state"]=!1,f.border=!0,f["border-bottom"]=!0,f["border-bottom-color"]=!0,f["border-bottom-left-radius"]=!0,f["border-bottom-right-radius"]=!0,f["border-bottom-style"]=!0,f["border-bottom-width"]=!0,f["border-collapse"]=!0,f["border-color"]=!0,f["border-image"]=!0,f["border-image-outset"]=!0,f["border-image-repeat"]=!0,f["border-image-slice"]=!0,f["border-image-source"]=!0,f["border-image-width"]=!0,f["border-left"]=!0,f["border-left-color"]=!0,f["border-left-style"]=!0,f["border-left-width"]=!0,f["border-radius"]=!0,f["border-right"]=!0,f["border-right-color"]=!0,f["border-right-style"]=!0,f["border-right-width"]=!0,f["border-spacing"]=!0,f["border-style"]=!0,f["border-top"]=!0,f["border-top-color"]=!0,f["border-top-left-radius"]=!0,f["border-top-right-radius"]=!0,f["border-top-style"]=!0,f["border-top-width"]=!0,f["border-width"]=!0,f.bottom=!1,f["box-decoration-break"]=!0,f["box-shadow"]=!0,f["box-sizing"]=!0,f["box-snap"]=!0,f["box-suppress"]=!0,f["break-after"]=!0,f["break-before"]=!0,f["break-inside"]=!0,f["caption-side"]=!1,f.chains=!1,f.clear=!0,f.clip=!1,f["clip-path"]=!1,f["clip-rule"]=!1,f.color=!0,f["color-interpolation-filters"]=!0,f["column-count"]=!1,f["column-fill"]=!1,f["column-gap"]=!1,f["column-rule"]=!1,f["column-rule-color"]=!1,f["column-rule-style"]=!1,f["column-rule-width"]=!1,f["column-span"]=!1,f["column-width"]=!1,f.columns=!1,f.contain=!1,f.content=!1,f["counter-increment"]=!1,f["counter-reset"]=!1,f["counter-set"]=!1,f.crop=!1,f.cue=!1,f["cue-after"]=!1,f["cue-before"]=!1,f.cursor=!1,f.direction=!1,f.display=!0,f["display-inside"]=!0,f["display-list"]=!0,f["display-outside"]=!0,f["dominant-baseline"]=!1,f.elevation=!1,f["empty-cells"]=!1,f.filter=!1,f.flex=!1,f["flex-basis"]=!1,f["flex-direction"]=!1,f["flex-flow"]=!1,f["flex-grow"]=!1,f["flex-shrink"]=!1,f["flex-wrap"]=!1,f.float=!1,f["float-offset"]=!1,f["flood-color"]=!1,f["flood-opacity"]=!1,f["flow-from"]=!1,f["flow-into"]=!1,f.font=!0,f["font-family"]=!0,f["font-feature-settings"]=!0,f["font-kerning"]=!0,f["font-language-override"]=!0,f["font-size"]=!0,f["font-size-adjust"]=!0,f["font-stretch"]=!0,f["font-style"]=!0,f["font-synthesis"]=!0,f["font-variant"]=!0,f["font-variant-alternates"]=!0,f["font-variant-caps"]=!0,f["font-variant-east-asian"]=!0,f["font-variant-ligatures"]=!0,f["font-variant-numeric"]=!0,f["font-variant-position"]=!0,f["font-weight"]=!0,f.grid=!1,f["grid-area"]=!1,f["grid-auto-columns"]=!1,f["grid-auto-flow"]=!1,f["grid-auto-rows"]=!1,f["grid-column"]=!1,f["grid-column-end"]=!1,f["grid-column-start"]=!1,f["grid-row"]=!1,f["grid-row-end"]=!1,f["grid-row-start"]=!1,f["grid-template"]=!1,f["grid-template-areas"]=!1,f["grid-template-columns"]=!1,f["grid-template-rows"]=!1,f["hanging-punctuation"]=!1,f.height=!0,f.hyphens=!1,f.icon=!1,f["image-orientation"]=!1,f["image-resolution"]=!1,f["ime-mode"]=!1,f["initial-letters"]=!1,f["inline-box-align"]=!1,f["justify-content"]=!1,f["justify-items"]=!1,f["justify-self"]=!1,f.left=!1,f["letter-spacing"]=!0,f["lighting-color"]=!0,f["line-box-contain"]=!1,f["line-break"]=!1,f["line-grid"]=!1,f["line-height"]=!1,f["line-snap"]=!1,f["line-stacking"]=!1,f["line-stacking-ruby"]=!1,f["line-stacking-shift"]=!1,f["line-stacking-strategy"]=!1,f["list-style"]=!0,f["list-style-image"]=!0,f["list-style-position"]=!0,f["list-style-type"]=!0,f.margin=!0,f["margin-bottom"]=!0,f["margin-left"]=!0,f["margin-right"]=!0,f["margin-top"]=!0,f["marker-offset"]=!1,f["marker-side"]=!1,f.marks=!1,f.mask=!1,f["mask-box"]=!1,f["mask-box-outset"]=!1,f["mask-box-repeat"]=!1,f["mask-box-slice"]=!1,f["mask-box-source"]=!1,f["mask-box-width"]=!1,f["mask-clip"]=!1,f["mask-image"]=!1,f["mask-origin"]=!1,f["mask-position"]=!1,f["mask-repeat"]=!1,f["mask-size"]=!1,f["mask-source-type"]=!1,f["mask-type"]=!1,f["max-height"]=!0,f["max-lines"]=!1,f["max-width"]=!0,f["min-height"]=!0,f["min-width"]=!0,f["move-to"]=!1,f["nav-down"]=!1,f["nav-index"]=!1,f["nav-left"]=!1,f["nav-right"]=!1,f["nav-up"]=!1,f["object-fit"]=!1,f["object-position"]=!1,f.opacity=!1,f.order=!1,f.orphans=!1,f.outline=!1,f["outline-color"]=!1,f["outline-offset"]=!1,f["outline-style"]=!1,f["outline-width"]=!1,f.overflow=!1,f["overflow-wrap"]=!1,f["overflow-x"]=!1,f["overflow-y"]=!1,f.padding=!0,f["padding-bottom"]=!0,f["padding-left"]=!0,f["padding-right"]=!0,f["padding-top"]=!0,f.page=!1,f["page-break-after"]=!1,f["page-break-before"]=!1,f["page-break-inside"]=!1,f["page-policy"]=!1,f.pause=!1,f["pause-after"]=!1,f["pause-before"]=!1,f.perspective=!1,f["perspective-origin"]=!1,f.pitch=!1,f["pitch-range"]=!1,f["play-during"]=!1,f.position=!1,f["presentation-level"]=!1,f.quotes=!1,f["region-fragment"]=!1,f.resize=!1,f.rest=!1,f["rest-after"]=!1,f["rest-before"]=!1,f.richness=!1,f.right=!1,f.rotation=!1,f["rotation-point"]=!1,f["ruby-align"]=!1,f["ruby-merge"]=!1,f["ruby-position"]=!1,f["shape-image-threshold"]=!1,f["shape-outside"]=!1,f["shape-margin"]=!1,f.size=!1,f.speak=!1,f["speak-as"]=!1,f["speak-header"]=!1,f["speak-numeral"]=!1,f["speak-punctuation"]=!1,f["speech-rate"]=!1,f.stress=!1,f["string-set"]=!1,f["tab-size"]=!1,f["table-layout"]=!1,f["text-align"]=!0,f["text-align-last"]=!0,f["text-combine-upright"]=!0,f["text-decoration"]=!0,f["text-decoration-color"]=!0,f["text-decoration-line"]=!0,f["text-decoration-skip"]=!0,f["text-decoration-style"]=!0,f["text-emphasis"]=!0,f["text-emphasis-color"]=!0,f["text-emphasis-position"]=!0,f["text-emphasis-style"]=!0,f["text-height"]=!0,f["text-indent"]=!0,f["text-justify"]=!0,f["text-orientation"]=!0,f["text-overflow"]=!0,f["text-shadow"]=!0,f["text-space-collapse"]=!0,f["text-transform"]=!0,f["text-underline-position"]=!0,f["text-wrap"]=!0,f.top=!1,f.transform=!1,f["transform-origin"]=!1,f["transform-style"]=!1,f.transition=!1,f["transition-delay"]=!1,f["transition-duration"]=!1,f["transition-property"]=!1,f["transition-timing-function"]=!1,f["unicode-bidi"]=!1,f["vertical-align"]=!1,f.visibility=!1,f["voice-balance"]=!1,f["voice-duration"]=!1,f["voice-family"]=!1,f["voice-pitch"]=!1,f["voice-range"]=!1,f["voice-rate"]=!1,f["voice-stress"]=!1,f["voice-volume"]=!1,f.volume=!1,f["white-space"]=!1,f.widows=!1,f.width=!0,f["will-change"]=!1,f["word-break"]=!0,f["word-spacing"]=!0,f["word-wrap"]=!0,f["wrap-flow"]=!1,f["wrap-through"]=!1,f["writing-mode"]=!1,f["z-index"]=!1,f}function m4(f,I,E){}function g4(f,I,E){}var p4=/javascript\s*\:/img;function f4(f,I){return p4.test(I)?"":I}wi.whiteList=yA();wi.getDefaultWhiteList=yA;wi.onAttr=m4;wi.onIgnoreAttr=g4;wi.safeAttrValue=f4;var k4={indexOf:function(f,I){var E,O;if(Array.prototype.indexOf)return f.indexOf(I);for(E=0,O=f.length;E<O;E++)if(f[E]===I)return E;return-1},forEach:function(f,I,E){var O,H;if(Array.prototype.forEach)return f.forEach(I,E);for(O=0,H=f.length;O<H;O++)I.call(E,f[O],O,f)},trim:function(f){return String.prototype.trim?f.trim():f.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(f){return String.prototype.trimRight?f.trimRight():f.replace(/(\s*$)/g,"")}},fn=k4;function b4(f,I){f=fn.trimRight(f),f[f.length-1]!==";"&&(f+=";");var E=f.length,O=!1,H=0,U=0,z="";function ee(){if(!O){var p=fn.trim(f.slice(H,U)),x=p.indexOf(":");if(x!==-1){var D=fn.trim(p.slice(0,x)),C=fn.trim(p.slice(x+1));if(D){var k=I(H,z.length,D,C,p);k&&(z+=k+"; ")}}}H=U+1}for(;U<E;U++){var v=f[U];if(v==="/"&&f[U+1]==="*"){var T=f.indexOf("*/",U+2);if(T===-1)break;U=T+1,H=U+1,O=!1}else v==="("?O=!0:v===")"?O=!1:v===";"?O||ee():v===`
2
+ import{a as sr}from"./UGWLCTVM.js";import{a as kA}from"./Y5Y7IXOV.js";import{f as fA}from"./H4Q2JVNO.js";import{J as dA,K as uA,L as hA,O as mA,R as gA,S as pA,h as aA,j as lA,t as bi,x as cA}from"./JEPW4X7U.js";var Aa=function(){return Aa=Object.assign||function(I){for(var E,O=1,H=arguments.length;O<H;O++){E=arguments[O];for(var U in E)Object.prototype.hasOwnProperty.call(E,U)&&(I[U]=E[U])}return I},Aa.apply(this,arguments)},wd={exports:{}},ze={},Ad={exports:{}},wi={};function yA(){var f={};return f["align-content"]=!1,f["align-items"]=!1,f["align-self"]=!1,f["alignment-adjust"]=!1,f["alignment-baseline"]=!1,f.all=!1,f["anchor-point"]=!1,f.animation=!1,f["animation-delay"]=!1,f["animation-direction"]=!1,f["animation-duration"]=!1,f["animation-fill-mode"]=!1,f["animation-iteration-count"]=!1,f["animation-name"]=!1,f["animation-play-state"]=!1,f["animation-timing-function"]=!1,f.azimuth=!1,f["backface-visibility"]=!1,f.background=!0,f["background-attachment"]=!0,f["background-clip"]=!0,f["background-color"]=!0,f["background-image"]=!0,f["background-origin"]=!0,f["background-position"]=!0,f["background-repeat"]=!0,f["background-size"]=!0,f["baseline-shift"]=!1,f.binding=!1,f.bleed=!1,f["bookmark-label"]=!1,f["bookmark-level"]=!1,f["bookmark-state"]=!1,f.border=!0,f["border-bottom"]=!0,f["border-bottom-color"]=!0,f["border-bottom-left-radius"]=!0,f["border-bottom-right-radius"]=!0,f["border-bottom-style"]=!0,f["border-bottom-width"]=!0,f["border-collapse"]=!0,f["border-color"]=!0,f["border-image"]=!0,f["border-image-outset"]=!0,f["border-image-repeat"]=!0,f["border-image-slice"]=!0,f["border-image-source"]=!0,f["border-image-width"]=!0,f["border-left"]=!0,f["border-left-color"]=!0,f["border-left-style"]=!0,f["border-left-width"]=!0,f["border-radius"]=!0,f["border-right"]=!0,f["border-right-color"]=!0,f["border-right-style"]=!0,f["border-right-width"]=!0,f["border-spacing"]=!0,f["border-style"]=!0,f["border-top"]=!0,f["border-top-color"]=!0,f["border-top-left-radius"]=!0,f["border-top-right-radius"]=!0,f["border-top-style"]=!0,f["border-top-width"]=!0,f["border-width"]=!0,f.bottom=!1,f["box-decoration-break"]=!0,f["box-shadow"]=!0,f["box-sizing"]=!0,f["box-snap"]=!0,f["box-suppress"]=!0,f["break-after"]=!0,f["break-before"]=!0,f["break-inside"]=!0,f["caption-side"]=!1,f.chains=!1,f.clear=!0,f.clip=!1,f["clip-path"]=!1,f["clip-rule"]=!1,f.color=!0,f["color-interpolation-filters"]=!0,f["column-count"]=!1,f["column-fill"]=!1,f["column-gap"]=!1,f["column-rule"]=!1,f["column-rule-color"]=!1,f["column-rule-style"]=!1,f["column-rule-width"]=!1,f["column-span"]=!1,f["column-width"]=!1,f.columns=!1,f.contain=!1,f.content=!1,f["counter-increment"]=!1,f["counter-reset"]=!1,f["counter-set"]=!1,f.crop=!1,f.cue=!1,f["cue-after"]=!1,f["cue-before"]=!1,f.cursor=!1,f.direction=!1,f.display=!0,f["display-inside"]=!0,f["display-list"]=!0,f["display-outside"]=!0,f["dominant-baseline"]=!1,f.elevation=!1,f["empty-cells"]=!1,f.filter=!1,f.flex=!1,f["flex-basis"]=!1,f["flex-direction"]=!1,f["flex-flow"]=!1,f["flex-grow"]=!1,f["flex-shrink"]=!1,f["flex-wrap"]=!1,f.float=!1,f["float-offset"]=!1,f["flood-color"]=!1,f["flood-opacity"]=!1,f["flow-from"]=!1,f["flow-into"]=!1,f.font=!0,f["font-family"]=!0,f["font-feature-settings"]=!0,f["font-kerning"]=!0,f["font-language-override"]=!0,f["font-size"]=!0,f["font-size-adjust"]=!0,f["font-stretch"]=!0,f["font-style"]=!0,f["font-synthesis"]=!0,f["font-variant"]=!0,f["font-variant-alternates"]=!0,f["font-variant-caps"]=!0,f["font-variant-east-asian"]=!0,f["font-variant-ligatures"]=!0,f["font-variant-numeric"]=!0,f["font-variant-position"]=!0,f["font-weight"]=!0,f.grid=!1,f["grid-area"]=!1,f["grid-auto-columns"]=!1,f["grid-auto-flow"]=!1,f["grid-auto-rows"]=!1,f["grid-column"]=!1,f["grid-column-end"]=!1,f["grid-column-start"]=!1,f["grid-row"]=!1,f["grid-row-end"]=!1,f["grid-row-start"]=!1,f["grid-template"]=!1,f["grid-template-areas"]=!1,f["grid-template-columns"]=!1,f["grid-template-rows"]=!1,f["hanging-punctuation"]=!1,f.height=!0,f.hyphens=!1,f.icon=!1,f["image-orientation"]=!1,f["image-resolution"]=!1,f["ime-mode"]=!1,f["initial-letters"]=!1,f["inline-box-align"]=!1,f["justify-content"]=!1,f["justify-items"]=!1,f["justify-self"]=!1,f.left=!1,f["letter-spacing"]=!0,f["lighting-color"]=!0,f["line-box-contain"]=!1,f["line-break"]=!1,f["line-grid"]=!1,f["line-height"]=!1,f["line-snap"]=!1,f["line-stacking"]=!1,f["line-stacking-ruby"]=!1,f["line-stacking-shift"]=!1,f["line-stacking-strategy"]=!1,f["list-style"]=!0,f["list-style-image"]=!0,f["list-style-position"]=!0,f["list-style-type"]=!0,f.margin=!0,f["margin-bottom"]=!0,f["margin-left"]=!0,f["margin-right"]=!0,f["margin-top"]=!0,f["marker-offset"]=!1,f["marker-side"]=!1,f.marks=!1,f.mask=!1,f["mask-box"]=!1,f["mask-box-outset"]=!1,f["mask-box-repeat"]=!1,f["mask-box-slice"]=!1,f["mask-box-source"]=!1,f["mask-box-width"]=!1,f["mask-clip"]=!1,f["mask-image"]=!1,f["mask-origin"]=!1,f["mask-position"]=!1,f["mask-repeat"]=!1,f["mask-size"]=!1,f["mask-source-type"]=!1,f["mask-type"]=!1,f["max-height"]=!0,f["max-lines"]=!1,f["max-width"]=!0,f["min-height"]=!0,f["min-width"]=!0,f["move-to"]=!1,f["nav-down"]=!1,f["nav-index"]=!1,f["nav-left"]=!1,f["nav-right"]=!1,f["nav-up"]=!1,f["object-fit"]=!1,f["object-position"]=!1,f.opacity=!1,f.order=!1,f.orphans=!1,f.outline=!1,f["outline-color"]=!1,f["outline-offset"]=!1,f["outline-style"]=!1,f["outline-width"]=!1,f.overflow=!1,f["overflow-wrap"]=!1,f["overflow-x"]=!1,f["overflow-y"]=!1,f.padding=!0,f["padding-bottom"]=!0,f["padding-left"]=!0,f["padding-right"]=!0,f["padding-top"]=!0,f.page=!1,f["page-break-after"]=!1,f["page-break-before"]=!1,f["page-break-inside"]=!1,f["page-policy"]=!1,f.pause=!1,f["pause-after"]=!1,f["pause-before"]=!1,f.perspective=!1,f["perspective-origin"]=!1,f.pitch=!1,f["pitch-range"]=!1,f["play-during"]=!1,f.position=!1,f["presentation-level"]=!1,f.quotes=!1,f["region-fragment"]=!1,f.resize=!1,f.rest=!1,f["rest-after"]=!1,f["rest-before"]=!1,f.richness=!1,f.right=!1,f.rotation=!1,f["rotation-point"]=!1,f["ruby-align"]=!1,f["ruby-merge"]=!1,f["ruby-position"]=!1,f["shape-image-threshold"]=!1,f["shape-outside"]=!1,f["shape-margin"]=!1,f.size=!1,f.speak=!1,f["speak-as"]=!1,f["speak-header"]=!1,f["speak-numeral"]=!1,f["speak-punctuation"]=!1,f["speech-rate"]=!1,f.stress=!1,f["string-set"]=!1,f["tab-size"]=!1,f["table-layout"]=!1,f["text-align"]=!0,f["text-align-last"]=!0,f["text-combine-upright"]=!0,f["text-decoration"]=!0,f["text-decoration-color"]=!0,f["text-decoration-line"]=!0,f["text-decoration-skip"]=!0,f["text-decoration-style"]=!0,f["text-emphasis"]=!0,f["text-emphasis-color"]=!0,f["text-emphasis-position"]=!0,f["text-emphasis-style"]=!0,f["text-height"]=!0,f["text-indent"]=!0,f["text-justify"]=!0,f["text-orientation"]=!0,f["text-overflow"]=!0,f["text-shadow"]=!0,f["text-space-collapse"]=!0,f["text-transform"]=!0,f["text-underline-position"]=!0,f["text-wrap"]=!0,f.top=!1,f.transform=!1,f["transform-origin"]=!1,f["transform-style"]=!1,f.transition=!1,f["transition-delay"]=!1,f["transition-duration"]=!1,f["transition-property"]=!1,f["transition-timing-function"]=!1,f["unicode-bidi"]=!1,f["vertical-align"]=!1,f.visibility=!1,f["voice-balance"]=!1,f["voice-duration"]=!1,f["voice-family"]=!1,f["voice-pitch"]=!1,f["voice-range"]=!1,f["voice-rate"]=!1,f["voice-stress"]=!1,f["voice-volume"]=!1,f.volume=!1,f["white-space"]=!1,f.widows=!1,f.width=!0,f["will-change"]=!1,f["word-break"]=!0,f["word-spacing"]=!0,f["word-wrap"]=!0,f["wrap-flow"]=!1,f["wrap-through"]=!1,f["writing-mode"]=!1,f["z-index"]=!1,f}function m4(f,I,E){}function g4(f,I,E){}var p4=/javascript\s*\:/img;function f4(f,I){return p4.test(I)?"":I}wi.whiteList=yA();wi.getDefaultWhiteList=yA;wi.onAttr=m4;wi.onIgnoreAttr=g4;wi.safeAttrValue=f4;var k4={indexOf:function(f,I){var E,O;if(Array.prototype.indexOf)return f.indexOf(I);for(E=0,O=f.length;E<O;E++)if(f[E]===I)return E;return-1},forEach:function(f,I,E){var O,H;if(Array.prototype.forEach)return f.forEach(I,E);for(O=0,H=f.length;O<H;O++)I.call(E,f[O],O,f)},trim:function(f){return String.prototype.trim?f.trim():f.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(f){return String.prototype.trimRight?f.trimRight():f.replace(/(\s*$)/g,"")}},fn=k4;function b4(f,I){f=fn.trimRight(f),f[f.length-1]!==";"&&(f+=";");var E=f.length,O=!1,H=0,U=0,z="";function ee(){if(!O){var p=fn.trim(f.slice(H,U)),x=p.indexOf(":");if(x!==-1){var D=fn.trim(p.slice(0,x)),C=fn.trim(p.slice(x+1));if(D){var k=I(H,z.length,D,C,p);k&&(z+=k+"; ")}}}H=U+1}for(;U<E;U++){var v=f[U];if(v==="/"&&f[U+1]==="*"){var T=f.indexOf("*/",U+2);if(T===-1)break;U=T+1,H=U+1,O=!1}else v==="("?O=!0:v===")"?O=!1:v===";"?O||ee():v===`
3
3
  `&&ee()}return fn.trim(z)}var w4=b4,fa=wi,A4=w4;function bA(f){return f==null}function _4(f){var I={};for(var E in f)I[E]=f[E];return I}function xA(f){f=_4(f||{}),f.whiteList=f.whiteList||fa.whiteList,f.onAttr=f.onAttr||fa.onAttr,f.onIgnoreAttr=f.onIgnoreAttr||fa.onIgnoreAttr,f.safeAttrValue=f.safeAttrValue||fa.safeAttrValue,this.options=f}xA.prototype.process=function(f){if(f=f||"",f=f.toString(),!f)return"";var I=this,E=I.options,O=E.whiteList,H=E.onAttr,U=E.onIgnoreAttr,z=E.safeAttrValue,ee=A4(f,function(v,T,p,x,D){var C=O[p],k=!1;if(C===!0?k=C:typeof C=="function"?k=C(x):C instanceof RegExp&&(k=C.test(x)),k!==!0&&(k=!1),x=z(p,x),!!x){var A={position:T,sourcePosition:v,source:D,isWhite:k};if(k){var B=H(p,x,A);return bA(B)?p+":"+x:B}else{var B=U(p,x,A);if(!bA(B))return B}}});return ee};var C4=xA;(function(f,I){var E=wi,O=C4;function H(z,ee){var v=new O(ee);return v.process(z)}I=f.exports=H,I.FilterCSS=O;for(var U in E)I[U]=E[U]})(Ad,Ad.exports);var _d=Ad.exports,Cd={indexOf:function(f,I){var E,O;if(Array.prototype.indexOf)return f.indexOf(I);for(E=0,O=f.length;E<O;E++)if(f[E]===I)return E;return-1},forEach:function(f,I,E){var O,H;if(Array.prototype.forEach)return f.forEach(I,E);for(O=0,H=f.length;O<H;O++)I.call(E,f[O],O,f)},trim:function(f){return String.prototype.trim?f.trim():f.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(f){var I=/\s|\n|\t/,E=I.exec(f);return E?E.index:-1}},v4=_d.FilterCSS,y4=_d.getDefaultWhiteList,_a=Cd;function EA(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}}var DA=new v4;function x4(f,I,E){}function E4(f,I,E){}function D4(f,I,E){}function T4(f,I,E){}function TA(f){return f.replace(I4,"&lt;").replace(B4,"&gt;")}function S4(f,I,E,O){if(E=PA(E),I==="href"||I==="src"){if(E=_a.trim(E),E==="#")return"#";if(!(E.substr(0,7)==="http://"||E.substr(0,8)==="https://"||E.substr(0,7)==="mailto:"||E.substr(0,4)==="tel:"||E.substr(0,11)==="data:image/"||E.substr(0,6)==="ftp://"||E.substr(0,2)==="./"||E.substr(0,3)==="../"||E[0]==="#"||E[0]==="/"))return""}else if(I==="background"){if(ka.lastIndex=0,ka.test(E))return""}else if(I==="style"){if(wA.lastIndex=0,wA.test(E)||(AA.lastIndex=0,AA.test(E)&&(ka.lastIndex=0,ka.test(E))))return"";O!==!1&&(O=O||DA,E=O.process(E))}return E=LA(E),E}var I4=/</g,B4=/>/g,M4=/"/g,N4=/&quot;/g,P4=/&#([a-zA-Z0-9]*);?/gim,L4=/&colon;?/gim,z4=/&newline;?/gim,ka=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,wA=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,AA=/u\s*r\s*l\s*\(.*/gi;function SA(f){return f.replace(M4,"&quot;")}function IA(f){return f.replace(N4,'"')}function BA(f){return f.replace(P4,function(E,O){return O[0]==="x"||O[0]==="X"?String.fromCharCode(parseInt(O.substr(1),16)):String.fromCharCode(parseInt(O,10))})}function MA(f){return f.replace(L4,":").replace(z4," ")}function NA(f){for(var I="",E=0,O=f.length;E<O;E++)I+=f.charCodeAt(E)<32?" ":f.charAt(E);return _a.trim(I)}function PA(f){return f=IA(f),f=BA(f),f=MA(f),f=NA(f),f}function LA(f){return f=SA(f),f=TA(f),f}function O4(){return""}function R4(f,I){typeof I!="function"&&(I=function(){});var E=!Array.isArray(f);function O(z){return E?!0:_a.indexOf(f,z)!==-1}var H=[],U=!1;return{onIgnoreTag:function(z,ee,v){if(O(z))if(v.isClosing){var T="[/removed]",p=v.position+T.length;return H.push([U!==!1?U:v.position,p]),U=!1,T}else return U||(U=v.position),"[removed]";else return I(z,ee,v)},remove:function(z){var ee="",v=0;return _a.forEach(H,function(T){ee+=z.slice(v,T[0]),v=T[1]}),ee+=z.slice(v),ee}}}function F4(f){for(var I="",E=0;E<f.length;){var O=f.indexOf("<!--",E);if(O===-1){I+=f.slice(E);break}I+=f.slice(E,O);var H=f.indexOf("-->",O);if(H===-1)break;E=H+3}return I}function V4(f){var I=f.split("");return I=I.filter(function(E){var O=E.charCodeAt(0);return O===127?!1:O<=31?O===10||O===13:!0}),I.join("")}ze.whiteList=EA();ze.getDefaultWhiteList=EA;ze.onTag=x4;ze.onIgnoreTag=E4;ze.onTagAttr=D4;ze.onIgnoreTagAttr=T4;ze.safeAttrValue=S4;ze.escapeHtml=TA;ze.escapeQuote=SA;ze.unescapeQuote=IA;ze.escapeHtmlEntities=BA;ze.escapeDangerHtml5Entities=MA;ze.clearNonPrintableCharacter=NA;ze.friendlyAttrValue=PA;ze.escapeAttrValue=LA;ze.onIgnoreTagStripAll=O4;ze.StripTagBody=R4;ze.stripCommentTag=F4;ze.stripBlankChar=V4;ze.cssFilter=DA;ze.getDefaultCSSWhiteList=y4;var Ca={},Lo=Cd;function j4(f){var I=Lo.spaceIndex(f),E;return I===-1?E=f.slice(1,-1):E=f.slice(1,I+1),E=Lo.trim(E).toLowerCase(),E.slice(0,1)==="/"&&(E=E.slice(1)),E.slice(-1)==="/"&&(E=E.slice(0,-1)),E}function H4(f){return f.slice(0,2)==="</"}function U4(f,I,E){var O="",H=0,U=!1,z=!1,ee=0,v=f.length,T="",p="";e:for(ee=0;ee<v;ee++){var x=f.charAt(ee);if(U===!1){if(x==="<"){U=ee;continue}}else if(z===!1){if(x==="<"){O+=E(f.slice(H,ee)),U=ee,H=ee;continue}if(x===">"){O+=E(f.slice(H,U)),p=f.slice(U,ee+1),T=j4(p),O+=I(U,O.length,T,p,H4(p)),H=ee+1,U=!1;continue}if(x==='"'||x==="'")for(var D=1,C=f.charAt(ee-D);C.trim()===""||C==="=";){if(C==="="){z=x;continue e}C=f.charAt(ee-++D)}}else if(x===z){z=!1;continue}}return H<f.length&&(O+=E(f.substr(H))),O}var $4=/[^a-zA-Z0-9\\_:.-]/gim;function q4(f,I){var E=0,O=0,H=[],U=!1,z=f.length;function ee(D,C){if(D=Lo.trim(D),D=D.replace($4,"").toLowerCase(),!(D.length<1)){var k=I(D,C||"");k&&H.push(k)}}for(var v=0;v<z;v++){var T=f.charAt(v),p,x;if(U===!1&&T==="="){U=f.slice(E,v),E=v+1,O=f.charAt(E)==='"'||f.charAt(E)==="'"?E:G4(f,v+1);continue}if(U!==!1&&v===O){if(x=f.indexOf(T,v+1),x===-1)break;p=Lo.trim(f.slice(O+1,x)),ee(U,p),U=!1,v=x,E=v+1;continue}if(/\s|\n|\t/.test(T))if(f=f.replace(/\s|\n|\t/g," "),U===!1)if(x=W4(f,v),x===-1){p=Lo.trim(f.slice(E,v)),ee(p),U=!1,E=v+1;continue}else{v=x-1;continue}else if(x=Z4(f,v-1),x===-1){p=Lo.trim(f.slice(E,v)),p=_A(p),ee(U,p),U=!1,E=v+1;continue}else continue}return E<f.length&&(U===!1?ee(f.slice(E)):ee(U,_A(Lo.trim(f.slice(E))))),Lo.trim(H.join(" "))}function W4(f,I){for(;I<f.length;I++){var E=f[I];if(E!==" ")return E==="="?I:-1}}function G4(f,I){for(;I<f.length;I++){var E=f[I];if(E!==" ")return E==="'"||E==='"'?I:-1}}function Z4(f,I){for(;I>0;I--){var E=f[I];if(E!==" ")return E==="="?I:-1}}function K4(f){return f[0]==='"'&&f[f.length-1]==='"'||f[0]==="'"&&f[f.length-1]==="'"}function _A(f){return K4(f)?f.substr(1,f.length-2):f}Ca.parseTag=U4;Ca.parseAttr=q4;var Y4=_d.FilterCSS,Kt=ze,zA=Ca,Q4=zA.parseTag,J4=zA.parseAttr,wa=Cd;function ba(f){return f==null}function X4(f){var I=wa.spaceIndex(f);if(I===-1)return{html:"",closing:f[f.length-2]==="/"};f=wa.trim(f.slice(I+1,-1));var E=f[f.length-1]==="/";return E&&(f=wa.trim(f.slice(0,-1))),{html:f,closing:E}}function eM(f){var I={};for(var E in f)I[E]=f[E];return I}function tM(f){var I={};for(var E in f)Array.isArray(f[E])?I[E.toLowerCase()]=f[E].map(function(O){return O.toLowerCase()}):I[E.toLowerCase()]=f[E];return I}function OA(f){f=eM(f||{}),f.stripIgnoreTag&&(f.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),f.onIgnoreTag=Kt.onIgnoreTagStripAll),f.whiteList||f.allowList?f.whiteList=tM(f.whiteList||f.allowList):f.whiteList=Kt.whiteList,f.onTag=f.onTag||Kt.onTag,f.onTagAttr=f.onTagAttr||Kt.onTagAttr,f.onIgnoreTag=f.onIgnoreTag||Kt.onIgnoreTag,f.onIgnoreTagAttr=f.onIgnoreTagAttr||Kt.onIgnoreTagAttr,f.safeAttrValue=f.safeAttrValue||Kt.safeAttrValue,f.escapeHtml=f.escapeHtml||Kt.escapeHtml,this.options=f,f.css===!1?this.cssFilter=!1:(f.css=f.css||{},this.cssFilter=new Y4(f.css))}OA.prototype.process=function(f){if(f=f||"",f=f.toString(),!f)return"";var I=this,E=I.options,O=E.whiteList,H=E.onTag,U=E.onIgnoreTag,z=E.onTagAttr,ee=E.onIgnoreTagAttr,v=E.safeAttrValue,T=E.escapeHtml,p=I.cssFilter;E.stripBlankChar&&(f=Kt.stripBlankChar(f)),E.allowCommentTag||(f=Kt.stripCommentTag(f));var x=!1;E.stripIgnoreTagBody&&(x=Kt.StripTagBody(E.stripIgnoreTagBody,U),U=x.onIgnoreTag);var D=Q4(f,function(C,k,A,B,N){var L={sourcePosition:C,position:k,isClosing:N,isWhite:Object.prototype.hasOwnProperty.call(O,A)},V=H(A,B,L);if(!ba(V))return V;if(L.isWhite){if(L.isClosing)return"</"+A+">";var $=X4(B),Z=O[A],Q=J4($.html,function(se,ge){var ie=wa.indexOf(Z,se)!==-1,he=z(A,se,ge,ie);return ba(he)?ie?(ge=v(A,se,ge,p),ge?se+'="'+ge+'"':se):(he=ee(A,se,ge,ie),ba(he)?void 0:he):he});return B="<"+A,Q&&(B+=" "+Q),$.closing&&(B+=" /"),B+=">",B}else return V=U(A,B,L),ba(V)?T(B):V},T);return x&&(D=x.remove(D)),D};var oM=OA;(function(f,I){var E=ze,O=Ca,H=oM;function U(ee,v){var T=new H(v);return T.process(ee)}I=f.exports=U,I.filterXSS=U,I.FilterXSS=H,(function(){for(var ee in E)I[ee]=E[ee];for(var v in O)I[v]=O[v]})();function z(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}z()&&(self.filterXSS=f.exports)})(wd,wd.exports);var Ao=wd.exports,iM=function(f){if(typeof f!="object"||f===null||Object.prototype.toString.call(f)!=="[object Object]")return!1;var I=Object.getPrototypeOf(f);if(I===null)return!0;for(;Object.getPrototypeOf(I)!==null;)I=Object.getPrototypeOf(I);return Object.getPrototypeOf(f)===I},rM=["align","alink","alt","bgcolor","border","cellpadding","cellspacing","color","cols","colspan","coords","d","dir","face","height","hspace","ismap","lang","marginheight","marginwidth","multiple","nohref","noresize","noshade","nowrap","ref","rel","rev","rows","rowspan","scrolling","shape","span","summary","tabindex","title","usemap","valign","value","vlink","vspace","width"],Zt=["color","display","fill-opacity","font-family","font-size","font-style","font-weight","opacity","shape-rendering","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-rendering","transform","visibility"],nM=["cx","cy","r"],sM=["cx","cy","rx","ry"],aM=["x1","x2","y1","y2"],CA=["points"],lM=["rx","ry","x","y"],vA=["dx","dy","x","y"],RA=(function(){function f(I,E){var O=this;this.arcgisWhiteList={a:["href","style","target"],abbr:["title"],animate:[],animatetransform:[],article:["style"],aside:["style"],audio:["autoplay","controls","loop","muted","preload"],b:[],blockquote:["style"],br:[],circle:nM.concat(Zt),clippath:[],code:["style"],dd:["style"],defs:[],del:["style"],details:["open","style"],div:["align","aria-hidden","aria-label","style"],dl:["style"],dt:["style"],ellipse:sM.concat(Zt),em:[],figcaption:["style"],figure:["style"],font:["color","face","size","style"],footer:["style"],g:Zt.slice(),h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],header:["style"],hr:[],i:[],image:[],img:["alt","border","height","src","style","width"],li:[],line:aM.concat(Zt),lineargradient:[],main:["style"],mark:["style"],marker:[],mask:[],nav:["style"],ol:[],p:["style"],path:["d"].concat(Zt),pattern:[],polygon:CA.concat(Zt),polyline:CA.concat(Zt),pre:["style"],radialgradient:[],rect:lM.concat(Zt),section:["style"],source:["media","src","type"],span:["aria-hidden","aria-label","style"],stop:["offset","stop-color","stop-opacity"],strong:[],sub:["style"],summary:["style"],sup:["style"],svg:["height","preserveaspectratio","viewbox","width","xmlns"].concat(Zt),switch:[],symbol:[],table:["border","cellpadding","cellspacing","height","style","width"],tbody:[],tr:["align","height","style","valign"],td:["align","colspan","height","nowrap","rowspan","style","valign","width"],th:["align","colspan","height","nowrap","rowspan","style","valign","width"],text:vA.concat(Zt),textpath:[],time:["style"],tspan:vA.concat(Zt),u:[],ul:[],use:[],video:["autoplay","controls","height","loop","muted","poster","preload","width"]},this.arcgisCSSWhiteList=Aa(Aa({},Ao.getDefaultCSSWhiteList()),{"align-items":!0,"align-self":!0,flex:!0,"flex-basis":!0,"flex-direction":!0,"flex-flow":!0,"flex-grow":!0,"flex-shrink":!0,"flex-wrap":!0,float:!0,gap:!0,grid:!0,"grid-area":!0,"grid-auto-columns":!0,"grid-auto-flow":!0,"grid-auto-rows":!0,"grid-column":!0,"grid-column-end":!0,"grid-column-start":!0,"grid-row":!0,"grid-row-end":!0,"grid-row-start":!0,"grid-template":!0,"grid-template-areas":!0,"grid-template-columns":!0,"grid-template-rows":!0,"justify-content":!0,"justify-items":!0,"justify-self":!0,"line-height":!0,overflow:!0,"row-gap":!0}),this.allowedProtocols=["http","https","mailto","iform","tel","flow","lfmobile","arcgis-navigator","arcgis-appstudio-player","arcgis-survey123","arcgis-collector","arcgis-workforce","arcgis-explorer","arcgis-trek2there","arcgis-quickcapture","mspbi","comgooglemaps","pdfefile","pdfehttp","pdfehttps","boxapp","boxemm","awb","awbs","gropen","radarscope","clickmobile","com.salesforce.fieldservice"],this.arcgisFilterOptions={allowCommentTag:!0,onTagAttr:function(U,z,ee){if(U==="svg"){if(z==="viewbox")return'viewBox="'.concat(Ao.escapeAttrValue(ee),'"');if(z==="preserveaspectratio")return'preserveAspectRatio="'.concat(Ao.escapeAttrValue(ee),'"')}if(rM.indexOf(z)>-1)return"".concat(z,'="').concat(Ao.escapeAttrValue(ee),'"')},safeAttrValue:function(U,z,ee,v){return U==="a"&&z==="href"||(U==="img"||U==="source")&&z==="src"?O.sanitizeUrl(ee):Ao.safeAttrValue(U,z,ee,v)}},this._entityMap={"&":"&#x38;","<":"&#x3C;",">":"&#x3E;",'"':"&#x22;","'":"&#x27;","/":"&#x2F;"};var H;I&&!E?H=I:I&&E?(H=Object.create(this.arcgisFilterOptions),H.css={whiteList:this.arcgisCSSWhiteList},Object.keys(I).forEach(function(U){if(U==="whiteList")H.whiteList=O._extendObjectOfArrays([O.arcgisWhiteList,I.whiteList||{}]);else if(U==="css"){var z=I.css.whiteList;z!=null&&I.css instanceof Object&&Object.keys(z).forEach(function(ee){return H.css.whiteList[ee]=z[ee]})}else H[U]=I[U]})):(H=Object.create(this.arcgisFilterOptions),H.whiteList=this.arcgisWhiteList,H.css={whiteList:this.arcgisCSSWhiteList}),this.xssFilterOptions=H,this._xssFilter=new Ao.FilterXSS(H)}return f.prototype.sanitize=function(I,E){switch(E===void 0&&(E={}),typeof I){case"number":return isNaN(I)||!isFinite(I)?null:I;case"boolean":return I;case"string":return this._xssFilter.process(I);case"object":return this._iterateOverObject(I,E);default:return E.allowUndefined&&typeof I>"u"?void 0:null}},f.prototype.sanitizeUrl=function(I,E){var O=(E??{}).isProtocolRequired,H=O===void 0?!0:O,U=this._trim(I.substring(0,I.indexOf(":"))),z=I==="/",ee=/^#/.test(I),v=U&&this.allowedProtocols.indexOf(U.toLowerCase())>-1;return z||ee||v?Ao.escapeAttrValue(I):!U&&!H?Ao.escapeAttrValue("https://".concat(I)):""},f.prototype.sanitizeHTMLAttribute=function(I,E,O,H){return typeof this.xssFilterOptions.safeAttrValue=="function"?this.xssFilterOptions.safeAttrValue(I,E,O,H):Ao.safeAttrValue(I,E,O,H)},f.prototype.validate=function(I,E){E===void 0&&(E={});var O=this.sanitize(I,E);return{isValid:I===O,sanitized:O}},f.prototype.encodeHTML=function(I){var E=this;return String(I).replace(/[&<>"'\/]/g,function(O){return E._entityMap[O]})},f.prototype.encodeAttrValue=function(I){var E=/^[a-zA-Z0-9]$/;return String(I).replace(/[\x00-\xFF]/g,function(O,H){return E.test(O)?O:"&#x".concat(Number(I.charCodeAt(H)).toString(16),";")})},f.prototype._extendObjectOfArrays=function(I){var E={};return I.forEach(function(O){Object.keys(O).forEach(function(H){Array.isArray(O[H])&&Array.isArray(E[H])?E[H]=E[H].concat(O[H]):E[H]=O[H]})}),E},f.prototype._iterateOverObject=function(I,E){var O=this;E===void 0&&(E={});try{var H=!1,U=void 0;if(Array.isArray(I))U=I.reduce(function(ee,v){var T=O.validate(v,E);return T.isValid?ee.concat([v]):(H=!0,ee.concat([T.sanitized]))},[]);else if(iM(I)){var z=Object.keys(I);U=z.reduce(function(ee,v){var T=I[v],p=O.validate(T,E);return p.isValid?ee[v]=T:(H=!0,ee[v]=p.sanitized),ee},{})}else return E.allowUndefined&&typeof I>"u"?void 0:null;return H?U:I}catch{return null}},f.prototype._trim=function(I){return String.prototype.trim?I.trim():I.replace(/(^\s*)|(\s*$)/g,"")},f})();var va=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function cM(f){return f&&f.__esModule&&Object.prototype.hasOwnProperty.call(f,"default")?f.default:f}var xa={exports:{}};xa.exports;var FA;function dM(){return FA||(FA=1,(function(f,I){(function(E){let O=E.en=E.en||{};O.dictionary=Object.assign(O.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(may require <kbd>Fn</kbd>)","%0 of %1":"%0 of %1",Accept:"Accept",Accessibility:"Accessibility","Accessibility help":"Accessibility help","Align cell text to the bottom":"Align cell text to the bottom","Align cell text to the center":"Align cell text to the center","Align cell text to the left":"Align cell text to the left","Align cell text to the middle":"Align cell text to the middle","Align cell text to the right":"Align cell text to the right","Align cell text to the top":"Align cell text to the top","Align center":"Align center","Align left":"Align left","Align right":"Align right","Align table to the left":"Align table to the left","Align table to the right":"Align table to the right",Alignment:"Alignment",Aquamarine:"Aquamarine",Background:"Background","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Below, you can find a list of keyboard shortcuts that can be used in the editor.",Big:"Big",Black:"Black","Block quote":"Block quote",Blue:"Blue",Bold:"Bold","Bold text":"Bold text",Border:"Border","Break text":"Break text","Bulleted List":"Bulleted List","Bulleted list styles toolbar":"Bulleted list styles toolbar",Cancel:"Cancel","Cannot upload file:":"Cannot upload file:","Caption for image: %0":"Caption for image: %0","Caption for the image":"Caption for the image","Cell properties":"Cell properties","Center table":"Center table","Centered image":"Centered image","Change image text alternative":"Change image text alternative","Choose heading":"Choose heading",Circle:"Circle",Clear:"Clear","Click to edit block":"Click to edit block",Close:"Close","Close contextual balloons, dropdowns, and dialogs":"Close contextual balloons, dropdowns, and dialogs",Code:"Code","Code block":"Code block",Color:"Color","Color picker":"Color picker",Column:"Column","Content editing keystrokes":"Content editing keystrokes","Copy selected content":"Copy selected content","Could not insert image at the current position.":"Could not insert image at the current position.","Could not obtain resized image URL.":"Could not obtain resized image URL.","Create link":"Create link",Dashed:"Dashed",Decimal:"Decimal","Decimal with leading zero":"Decimal with leading zero","Decrease indent":"Decrease indent","Decrease list item indent":"Decrease list item indent",Default:"Default","Delete column":"Delete column","Delete row":"Delete row","Dim grey":"Dim grey",Dimensions:"Dimensions",Disc:"Disc","Document colors":"Document colors",Dotted:"Dotted",Double:"Double",Downloadable:"Downloadable","Drag to move":"Drag to move","Dropdown toolbar":"Dropdown toolbar","Edit block":"Edit block","Edit link":"Edit link","Editor block content toolbar":"Editor block content toolbar","Editor contextual toolbar":"Editor contextual toolbar","Editor dialog":"Editor dialog","Editor editing area: %0":"Editor editing area: %0","Editor menu bar":"Editor menu bar","Editor toolbar":"Editor toolbar","Enter image caption":"Enter image caption","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.","Font Background Color":"Font Background Color","Font Color":"Font Color","Font Family":"Font Family","Font Size":"Font Size","Full size image":"Full size image",Green:"Green",Grey:"Grey",Groove:"Groove","Header column":"Header column","Header row":"Header row",Heading:"Heading","Heading 1":"Heading 1","Heading 2":"Heading 2","Heading 3":"Heading 3","Heading 4":"Heading 4","Heading 5":"Heading 5","Heading 6":"Heading 6",Height:"Height","Help Contents. To close this dialog press ESC.":"Help Contents. To close this dialog press ESC.",HEX:"HEX","Horizontal line":"Horizontal line","Horizontal text alignment toolbar":"Horizontal text alignment toolbar","HTML object":"HTML object",Huge:"Huge","Image from computer":"Image from computer","Image or file":"Image or file","Image resize list":"Image resize list","Image toolbar":"Image toolbar","image widget":"image widget","In line":"In line","Increase indent":"Increase indent","Increase list item indent":"Increase list item indent",Insert:"Insert","Insert a hard break (a new paragraph)":"Insert a hard break (a new paragraph)","Insert a new paragraph directly after a widget":"Insert a new paragraph directly after a widget","Insert a new paragraph directly before a widget":"Insert a new paragraph directly before a widget","Insert a new table row (when in the last cell of a table)":"Insert a new table row (when in the last cell of a table)","Insert a soft break (a <code>&lt;br&gt;</code> element)":"Insert a soft break (a <code>&lt;br&gt;</code> element)","Insert code block":"Insert code block","Insert column left":"Insert column left","Insert column right":"Insert column right","Insert image":"Insert image","Insert image or file":"Insert image or file","Insert image via URL":"Insert image via URL","Insert image with file manager":"Insert image with file manager","Insert media":"Insert media","Insert paragraph after block":"Insert paragraph after block","Insert paragraph before block":"Insert paragraph before block","Insert row above":"Insert row above","Insert row below":"Insert row below","Insert table":"Insert table","Insert with file manager":"Insert with file manager","Inserting image failed":"Inserting image failed",Inset:"Inset","Invalid start index value.":"Invalid start index value.",Italic:"Italic","Italic text":"Italic text",Justify:"Justify","Justify cell text":"Justify cell text","Keystrokes that can be used in a list":"Keystrokes that can be used in a list","Keystrokes that can be used in a table cell":"Keystrokes that can be used in a table cell","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Keystrokes that can be used when a widget is selected (for example: image, table, etc.)","Left aligned image":"Left aligned image","Light blue":"Light blue","Light green":"Light green","Light grey":"Light grey",Link:"Link","Link image":"Link image","Link URL":"Link URL","List properties":"List properties","Lower-latin":"Lower-latin","Lower\u2013roman":"Lower\u2013roman","Media URL":"Media URL","media widget":"media widget",MENU_BAR_MENU_EDIT:"Edit",MENU_BAR_MENU_FILE:"File",MENU_BAR_MENU_FONT:"Font",MENU_BAR_MENU_FORMAT:"Format",MENU_BAR_MENU_HELP:"Help",MENU_BAR_MENU_INSERT:"Insert",MENU_BAR_MENU_TEXT:"Text",MENU_BAR_MENU_TOOLS:"Tools",MENU_BAR_MENU_VIEW:"View","Merge cell down":"Merge cell down","Merge cell left":"Merge cell left","Merge cell right":"Merge cell right","Merge cell up":"Merge cell up","Merge cells":"Merge cells","Move focus between form fields (inputs, buttons, etc.)":"Move focus between form fields (inputs, buttons, etc.)","Move focus in and out of an active dialog window":"Move focus in and out of an active dialog window","Move focus to the menu bar, navigate between menu bars":"Move focus to the menu bar, navigate between menu bars","Move focus to the toolbar, navigate between toolbars":"Move focus to the toolbar, navigate between toolbars","Move out of a link":"Move out of a link","Move out of an inline code style":"Move out of an inline code style","Move the caret to allow typing directly after a widget":"Move the caret to allow typing directly after a widget","Move the caret to allow typing directly before a widget":"Move the caret to allow typing directly before a widget","Move the selection to the next cell":"Move the selection to the next cell","Move the selection to the previous cell":"Move the selection to the previous cell","Navigate through the table":"Navigate through the table","Navigate through the toolbar or menu bar":"Navigate through the toolbar or menu bar",Next:"Next","No results found":"No results found","No searchable items":"No searchable items",None:"None","Numbered List":"Numbered List","Numbered list styles toolbar":"Numbered list styles toolbar","Open in a new tab":"Open in a new tab","Open link in new tab":"Open link in new tab","Open media in new tab":"Open media in new tab","Open the accessibility help dialog":"Open the accessibility help dialog",Orange:"Orange",Original:"Original",Outset:"Outset",Padding:"Padding",Paragraph:"Paragraph","Paste content":"Paste content","Paste content as plain text":"Paste content as plain text","Paste the media URL in the input.":"Paste the media URL in the input.","Plain text":"Plain text","Press %0 for help.":"Press %0 for help.","Press Enter to type after or press Shift + Enter to type before the widget":"Press Enter to type after or press Shift + Enter to type before the widget",Previous:"Previous",Purple:"Purple",Red:"Red",Redo:"Redo","Remove color":"Remove color","Remove Format":"Remove Format","Replace from computer":"Replace from computer","Replace image":"Replace image","Replace image from computer":"Replace image from computer","Replace image with file manager":"Replace image with file manager","Replace with file manager":"Replace with file manager","Resize image":"Resize image","Resize image to %0":"Resize image to %0","Resize image to the original size":"Resize image to the original size","Restore default":"Restore default","Reversed order":"Reversed order","Revert autoformatting action":"Revert autoformatting action","Rich Text Editor":"Rich Text Editor",Ridge:"Ridge","Right aligned image":"Right aligned image",Row:"Row",Save:"Save","Select all":"Select all","Select column":"Select column","Select row":"Select row","Selecting resized image failed":"Selecting resized image failed","Show more items":"Show more items","Show source":"Show source","Side image":"Side image",Small:"Small",Solid:"Solid",Source:"Source","Split cell horizontally":"Split cell horizontally","Split cell vertically":"Split cell vertically",Square:"Square","Start at":"Start at","Start index must be greater than 0.":"Start index must be greater than 0.",Strikethrough:"Strikethrough","Strikethrough text":"Strikethrough text",Style:"Style",Subscript:"Subscript",Superscript:"Superscript",Table:"Table","Table alignment toolbar":"Table alignment toolbar","Table cell text alignment":"Table cell text alignment","Table properties":"Table properties","Table toolbar":"Table toolbar","Text alignment":"Text alignment","Text alignment toolbar":"Text alignment toolbar","Text alternative":"Text alternative",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".',"The URL must not be empty.":"The URL must not be empty.",'The value is invalid. Try "10px" or "2em" or simply "2".':'The value is invalid. Try "10px" or "2em" or simply "2".',"These keyboard shortcuts allow for quick access to content editing features.":"These keyboard shortcuts allow for quick access to content editing features.","This link has no URL":"This link has no URL","This media URL is not supported.":"This media URL is not supported.",Tiny:"Tiny","Tip: Paste the URL into the content to embed faster.":"Tip: Paste the URL into the content to embed faster.","To-do List":"To-do List","Toggle caption off":"Toggle caption off","Toggle caption on":"Toggle caption on","Toggle the circle list style":"Toggle the circle list style","Toggle the decimal list style":"Toggle the decimal list style","Toggle the decimal with leading zero list style":"Toggle the decimal with leading zero list style","Toggle the disc list style":"Toggle the disc list style","Toggle the lower\u2013latin list style":"Toggle the lower\u2013latin list style","Toggle the lower\u2013roman list style":"Toggle the lower\u2013roman list style","Toggle the square list style":"Toggle the square list style","Toggle the upper\u2013latin list style":"Toggle the upper\u2013latin list style","Toggle the upper\u2013roman list style":"Toggle the upper\u2013roman list style",Turquoise:"Turquoise",Underline:"Underline","Underline text":"Underline text",Undo:"Undo",Unlink:"Unlink",Update:"Update","Update image URL":"Update image URL","Upload failed":"Upload failed","Upload from computer":"Upload from computer","Upload image from computer":"Upload image from computer","Upload in progress":"Upload in progress","Upper-latin":"Upper-latin","Upper-roman":"Upper-roman","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.","User interface and content navigation keystrokes":"User interface and content navigation keystrokes","Vertical text alignment toolbar":"Vertical text alignment toolbar",White:"White","Widget toolbar":"Widget toolbar",Width:"Width","Wrap text":"Wrap text",Yellow:"Yellow"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})),(function(E,O){f.exports=O()})(self,(()=>(()=>{var E,O,H={8168:(v,T,p)=>{let x=p(8874),D={};for(let k of Object.keys(x))D[x[k]]=k;let C={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};v.exports=C;for(let k of Object.keys(C)){if(!("channels"in C[k]))throw new Error("missing channels property: "+k);if(!("labels"in C[k]))throw new Error("missing channel labels property: "+k);if(C[k].labels.length!==C[k].channels)throw new Error("channel and label counts mismatch: "+k);let{channels:A,labels:B}=C[k];delete C[k].channels,delete C[k].labels,Object.defineProperty(C[k],"channels",{value:A}),Object.defineProperty(C[k],"labels",{value:B})}C.rgb.hsl=function(k){let A=k[0]/255,B=k[1]/255,N=k[2]/255,L=Math.min(A,B,N),V=Math.max(A,B,N),$=V-L,Z,Q;V===L?Z=0:A===V?Z=(B-N)/$:B===V?Z=2+(N-A)/$:N===V&&(Z=4+(A-B)/$),Z=Math.min(60*Z,360),Z<0&&(Z+=360);let se=(L+V)/2;return Q=V===L?0:se<=.5?$/(V+L):$/(2-V-L),[Z,100*Q,100*se]},C.rgb.hsv=function(k){let A,B,N,L,V,$=k[0]/255,Z=k[1]/255,Q=k[2]/255,se=Math.max($,Z,Q),ge=se-Math.min($,Z,Q),ie=function(he){return(se-he)/6/ge+.5};return ge===0?(L=0,V=0):(V=ge/se,A=ie($),B=ie(Z),N=ie(Q),$===se?L=N-B:Z===se?L=.3333333333333333+A-N:Q===se&&(L=.6666666666666666+B-A),L<0?L+=1:L>1&&(L-=1)),[360*L,100*V,100*se]},C.rgb.hwb=function(k){let A=k[0],B=k[1],N=k[2],L=C.rgb.hsl(k)[0],V=1/255*Math.min(A,Math.min(B,N));return N=1-.00392156862745098*Math.max(A,Math.max(B,N)),[L,100*V,100*N]},C.rgb.cmyk=function(k){let A=k[0]/255,B=k[1]/255,N=k[2]/255,L=Math.min(1-A,1-B,1-N);return[100*((1-A-L)/(1-L)||0),100*((1-B-L)/(1-L)||0),100*((1-N-L)/(1-L)||0),100*L]},C.rgb.keyword=function(k){let A=D[k];if(A)return A;let B,N=1/0;for(let $ of Object.keys(x)){let Z=x[$],Q=(V=Z,((L=k)[0]-V[0])**2+(L[1]-V[1])**2+(L[2]-V[2])**2);Q<N&&(N=Q,B=$)}var L,V;return B},C.keyword.rgb=function(k){return x[k]},C.rgb.xyz=function(k){let A=k[0]/255,B=k[1]/255,N=k[2]/255;return A=A>.04045?((A+.055)/1.055)**2.4:A/12.92,B=B>.04045?((B+.055)/1.055)**2.4:B/12.92,N=N>.04045?((N+.055)/1.055)**2.4:N/12.92,[100*(.4124*A+.3576*B+.1805*N),100*(.2126*A+.7152*B+.0722*N),100*(.0193*A+.1192*B+.9505*N)]},C.rgb.lab=function(k){let A=C.rgb.xyz(k),B=A[0],N=A[1],L=A[2];return B/=95.047,N/=100,L/=108.883,B=B>.008856?B**.3333333333333333:7.787*B+.13793103448275862,N=N>.008856?N**.3333333333333333:7.787*N+.13793103448275862,L=L>.008856?L**.3333333333333333:7.787*L+.13793103448275862,[116*N-16,500*(B-N),200*(N-L)]},C.hsl.rgb=function(k){let A=k[0]/360,B=k[1]/100,N=k[2]/100,L,V,$;if(B===0)return $=255*N,[$,$,$];L=N<.5?N*(1+B):N+B-N*B;let Z=2*N-L,Q=[0,0,0];for(let se=0;se<3;se++)V=A+.3333333333333333*-(se-1),V<0&&V++,V>1&&V--,$=6*V<1?Z+6*(L-Z)*V:2*V<1?L:3*V<2?Z+(L-Z)*(.6666666666666666-V)*6:Z,Q[se]=255*$;return Q},C.hsl.hsv=function(k){let A=k[0],B=k[1]/100,N=k[2]/100,L=B,V=Math.max(N,.01);return N*=2,B*=N<=1?N:2-N,L*=V<=1?V:2-V,[A,100*(N===0?2*L/(V+L):2*B/(N+B)),100*((N+B)/2)]},C.hsv.rgb=function(k){let A=k[0]/60,B=k[1]/100,N=k[2]/100,L=Math.floor(A)%6,V=A-Math.floor(A),$=255*N*(1-B),Z=255*N*(1-B*V),Q=255*N*(1-B*(1-V));switch(N*=255,L){case 0:return[N,Q,$];case 1:return[Z,N,$];case 2:return[$,N,Q];case 3:return[$,Z,N];case 4:return[Q,$,N];case 5:return[N,$,Z]}},C.hsv.hsl=function(k){let A=k[0],B=k[1]/100,N=k[2]/100,L=Math.max(N,.01),V,$;$=(2-B)*N;let Z=(2-B)*L;return V=B*L,V/=Z<=1?Z:2-Z,V=V||0,$/=2,[A,100*V,100*$]},C.hwb.rgb=function(k){let A=k[0]/360,B=k[1]/100,N=k[2]/100,L=B+N,V;L>1&&(B/=L,N/=L);let $=Math.floor(6*A),Z=1-N;V=6*A-$,1&$&&(V=1-V);let Q=B+V*(Z-B),se,ge,ie;switch($){default:case 6:case 0:se=Z,ge=Q,ie=B;break;case 1:se=Q,ge=Z,ie=B;break;case 2:se=B,ge=Z,ie=Q;break;case 3:se=B,ge=Q,ie=Z;break;case 4:se=Q,ge=B,ie=Z;break;case 5:se=Z,ge=B,ie=Q}return[255*se,255*ge,255*ie]},C.cmyk.rgb=function(k){let A=k[0]/100,B=k[1]/100,N=k[2]/100,L=k[3]/100;return[255*(1-Math.min(1,A*(1-L)+L)),255*(1-Math.min(1,B*(1-L)+L)),255*(1-Math.min(1,N*(1-L)+L))]},C.xyz.rgb=function(k){let A=k[0]/100,B=k[1]/100,N=k[2]/100,L,V,$;return L=3.2406*A+-1.5372*B+-.4986*N,V=-.9689*A+1.8758*B+.0415*N,$=.0557*A+-.204*B+1.057*N,L=L>.0031308?1.055*L**.4166666666666667-.055:12.92*L,V=V>.0031308?1.055*V**.4166666666666667-.055:12.92*V,$=$>.0031308?1.055*$**.4166666666666667-.055:12.92*$,L=Math.min(Math.max(0,L),1),V=Math.min(Math.max(0,V),1),$=Math.min(Math.max(0,$),1),[255*L,255*V,255*$]},C.xyz.lab=function(k){let A=k[0],B=k[1],N=k[2];return A/=95.047,B/=100,N/=108.883,A=A>.008856?A**.3333333333333333:7.787*A+.13793103448275862,B=B>.008856?B**.3333333333333333:7.787*B+.13793103448275862,N=N>.008856?N**.3333333333333333:7.787*N+.13793103448275862,[116*B-16,500*(A-B),200*(B-N)]},C.lab.xyz=function(k){let A,B,N;B=(k[0]+16)/116,A=k[1]/500+B,N=B-k[2]/200;let L=B**3,V=A**3,$=N**3;return B=L>.008856?L:(B-.13793103448275862)/7.787,A=V>.008856?V:(A-.13793103448275862)/7.787,N=$>.008856?$:(N-.13793103448275862)/7.787,A*=95.047,B*=100,N*=108.883,[A,B,N]},C.lab.lch=function(k){let A=k[0],B=k[1],N=k[2],L;return L=360*Math.atan2(N,B)/2/Math.PI,L<0&&(L+=360),[A,Math.sqrt(B*B+N*N),L]},C.lch.lab=function(k){let A=k[0],B=k[1],N=k[2]/360*2*Math.PI;return[A,B*Math.cos(N),B*Math.sin(N)]},C.rgb.ansi16=function(k,A=null){let[B,N,L]=k,V=A===null?C.rgb.hsv(k)[2]:A;if(V=Math.round(V/50),V===0)return 30;let $=30+(Math.round(L/255)<<2|Math.round(N/255)<<1|Math.round(B/255));return V===2&&($+=60),$},C.hsv.ansi16=function(k){return C.rgb.ansi16(C.hsv.rgb(k),k[2])},C.rgb.ansi256=function(k){let A=k[0],B=k[1],N=k[2];return A===B&&B===N?A<8?16:A>248?231:Math.round((A-8)/247*24)+232:16+36*Math.round(A/255*5)+6*Math.round(B/255*5)+Math.round(N/255*5)},C.ansi16.rgb=function(k){let A=k%10;if(A===0||A===7)return k>50&&(A+=3.5),A=A/10.5*255,[A,A,A];let B=.5*(1+~~(k>50));return[(1&A)*B*255,(A>>1&1)*B*255,(A>>2&1)*B*255]},C.ansi256.rgb=function(k){if(k>=232){let B=10*(k-232)+8;return[B,B,B]}let A;return k-=16,[Math.floor(k/36)/5*255,Math.floor((A=k%36)/6)/5*255,A%6/5*255]},C.rgb.hex=function(k){let A=(((255&Math.round(k[0]))<<16)+((255&Math.round(k[1]))<<8)+(255&Math.round(k[2]))).toString(16).toUpperCase();return"000000".substring(A.length)+A},C.hex.rgb=function(k){let A=k.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!A)return[0,0,0];let B=A[0];A[0].length===3&&(B=B.split("").map((L=>L+L)).join(""));let N=parseInt(B,16);return[N>>16&255,N>>8&255,255&N]},C.rgb.hcg=function(k){let A=k[0]/255,B=k[1]/255,N=k[2]/255,L=Math.max(Math.max(A,B),N),V=Math.min(Math.min(A,B),N),$=L-V,Z,Q;return Z=$<1?V/(1-$):0,Q=$<=0?0:L===A?(B-N)/$%6:L===B?2+(N-A)/$:4+(A-B)/$,Q/=6,Q%=1,[360*Q,100*$,100*Z]},C.hsl.hcg=function(k){let A=k[1]/100,B=k[2]/100,N=B<.5?2*A*B:2*A*(1-B),L=0;return N<1&&(L=(B-.5*N)/(1-N)),[k[0],100*N,100*L]},C.hsv.hcg=function(k){let A=k[1]/100,B=k[2]/100,N=A*B,L=0;return N<1&&(L=(B-N)/(1-N)),[k[0],100*N,100*L]},C.hcg.rgb=function(k){let A=k[0]/360,B=k[1]/100,N=k[2]/100;if(B===0)return[255*N,255*N,255*N];let L=[0,0,0],V=A%1*6,$=V%1,Z=1-$,Q=0;switch(Math.floor(V)){case 0:L[0]=1,L[1]=$,L[2]=0;break;case 1:L[0]=Z,L[1]=1,L[2]=0;break;case 2:L[0]=0,L[1]=1,L[2]=$;break;case 3:L[0]=0,L[1]=Z,L[2]=1;break;case 4:L[0]=$,L[1]=0,L[2]=1;break;default:L[0]=1,L[1]=0,L[2]=Z}return Q=(1-B)*N,[255*(B*L[0]+Q),255*(B*L[1]+Q),255*(B*L[2]+Q)]},C.hcg.hsv=function(k){let A=k[1]/100,B=A+k[2]/100*(1-A),N=0;return B>0&&(N=A/B),[k[0],100*N,100*B]},C.hcg.hsl=function(k){let A=k[1]/100,B=k[2]/100*(1-A)+.5*A,N=0;return B>0&&B<.5?N=A/(2*B):B>=.5&&B<1&&(N=A/(2*(1-B))),[k[0],100*N,100*B]},C.hcg.hwb=function(k){let A=k[1]/100,B=A+k[2]/100*(1-A);return[k[0],100*(B-A),100*(1-B)]},C.hwb.hcg=function(k){let A=k[1]/100,B=1-k[2]/100,N=B-A,L=0;return N<1&&(L=(B-N)/(1-N)),[k[0],100*N,100*L]},C.apple.rgb=function(k){return[k[0]/65535*255,k[1]/65535*255,k[2]/65535*255]},C.rgb.apple=function(k){return[k[0]/255*65535,k[1]/255*65535,k[2]/255*65535]},C.gray.rgb=function(k){return[k[0]/100*255,k[0]/100*255,k[0]/100*255]},C.gray.hsl=function(k){return[0,0,k[0]]},C.gray.hsv=C.gray.hsl,C.gray.hwb=function(k){return[0,100,k[0]]},C.gray.cmyk=function(k){return[0,0,0,k[0]]},C.gray.lab=function(k){return[k[0],0,0]},C.gray.hex=function(k){let A=255&Math.round(k[0]/100*255),B=((A<<16)+(A<<8)+A).toString(16).toUpperCase();return"000000".substring(B.length)+B},C.rgb.gray=function(k){return[(k[0]+k[1]+k[2])/3/255*100]}},2085:(v,T,p)=>{let x=p(8168),D=p(4111),C={};Object.keys(x).forEach((k=>{C[k]={},Object.defineProperty(C[k],"channels",{value:x[k].channels}),Object.defineProperty(C[k],"labels",{value:x[k].labels});let A=D(k);Object.keys(A).forEach((B=>{let N=A[B];C[k][B]=(function(L){let V=function(...$){let Z=$[0];if(Z==null)return Z;Z.length>1&&($=Z);let Q=L($);if(typeof Q=="object")for(let se=Q.length,ge=0;ge<se;ge++)Q[ge]=Math.round(Q[ge]);return Q};return"conversion"in L&&(V.conversion=L.conversion),V})(N),C[k][B].raw=(function(L){let V=function(...$){let Z=$[0];return Z==null?Z:(Z.length>1&&($=Z),L($))};return"conversion"in L&&(V.conversion=L.conversion),V})(N)}))})),v.exports=C},4111:(v,T,p)=>{let x=p(8168);function D(A){let B=(function(){let L={},V=Object.keys(x);for(let $=V.length,Z=0;Z<$;Z++)L[V[Z]]={distance:-1,parent:null};return L})(),N=[A];for(B[A].distance=0;N.length;){let L=N.pop(),V=Object.keys(x[L]);for(let $=V.length,Z=0;Z<$;Z++){let Q=V[Z],se=B[Q];se.distance===-1&&(se.distance=B[L].distance+1,se.parent=L,N.unshift(Q))}}return B}function C(A,B){return function(N){return B(A(N))}}function k(A,B){let N=[B[A].parent,A],L=x[B[A].parent][A],V=B[A].parent;for(;B[V].parent;)N.unshift(B[V].parent),L=C(x[B[V].parent][V],L),V=B[V].parent;return L.conversion=N,L}v.exports=function(A){let B=D(A),N={},L=Object.keys(B);for(let V=L.length,$=0;$<V;$++){let Z=L[$];B[Z].parent!==null&&(N[Z]=k(Z,B))}return N}},8874:v=>{v.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},8180:(v,T,p)=>{p.d(T,{Z:()=>A});var x=p(4015),D=p.n(x),C=p(3645),k=p.n(C)()(D());k.push([v.id,".ck-content code{background-color:hsla(0,0%,78%,.3);border-radius:2px;padding:.15em}.ck.ck-editor__editable .ck-code_selected{background-color:hsla(0,0%,78%,.5)}","",{version:3,sources:["webpack://./node_modules/@ckeditor/ckeditor5-basic-styles/theme/code.css"],names:[],mappings:"AAKA,iBACC,kCAAuC,CAEvC,iBAAkB,CADlB,aAED,CAEA,0CACC,kCACD",sourcesContent:[`/*
4
4
  * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
5
5
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{a as g}from"./RZWLH7SD.js";import{c as $}from"./OBMF3G26.js";import{a as v}from"./PL2HCI3R.js";import"./GZXN456V.js";import"./H4Q2JVNO.js";import{K as d,L as h,M as m,O as c,R as p,j as l,t as r}from"./3X2MVQTG.js";var s=class extends h{constructor(){super(...arguments),this._active=!1,this._elementReferenceController=new g(this),this.icon="question-mark",this.tooltipText="",this.labelText="",this.disabled=!1,this.loading=!1,this.iconFlipRtl=!1,this.arcgisItemSelected=r()}static{this.properties={icon:3,lastActivated:0,active:7,tooltipText:1,labelText:3,disabled:7,loading:7,iconFlipRtl:7,actionElement:32}}get active(){return this._active}set active(e){e!==this._active&&(this._active=e,e&&(this.lastActivated=new Date))}get actionElement(){return this._elementReferenceController.element}measure(e){return[$(e)]}proxiedRender(e,t,b){let a=e.tooltipAppearance,n=this._elementReferenceController.element,f=a!=="native"&&t==="collapsed-action",x=a==="native"&&t==="collapsed-action",u=a==="calcite-dark"?"calcite-mode-dark":void 0,_=v(e),i=this.tooltipText||this.labelText;return t==="dropdown-item"?l`<calcite-dropdown-item .disabled=${this.disabled} icon-start=${this.icon??c} .iconFlipRtl=${this.iconFlipRtl?"both":void 0} .label=${i} @calciteDropdownItemSelect=${o=>this._handleDropdownItemClick(o)} .selected=${this.active||b}>${this.labelText}</calcite-dropdown-item>`:l`<calcite-action .active=${this.active} .disabled=${this.disabled} .icon=${this.icon} .iconFlipRtl=${this.iconFlipRtl} .label=${i} .loading=${this.loading} @click=${o=>this._handleActionClick(o)} .scale=${e.scale} .text=${this.labelText} .textEnabled=${t==="expanded-action"} title=${(x?i:void 0)??c} ${d(this._elementReferenceController.ref)}></calcite-action>${f&&n?l`<calcite-tooltip class=${m(u)} close-on-click overlay-positioning=fixed .placement=${_} .referenceElement=${n}><span>${i}</span></calcite-tooltip>`:void 0}`}_handleActionClick(e){this.isConnected&&(this.lastActivated=new Date,this.arcgisItemSelected?.emit({element:e.currentTarget}))}_handleDropdownItemClick(e){this.isConnected&&(this.lastActivated=new Date,this.arcgisItemSelected?.emit({element:e.currentTarget}))}};p("arcgis-toolbar-item",s);export{s as ArcgisToolbarItem};
2
+ import{a as g}from"./YL7W53II.js";import{c as $}from"./OBMF3G26.js";import{a as v}from"./PL2HCI3R.js";import"./VTAQRKNF.js";import"./H4Q2JVNO.js";import{K as d,L as h,M as m,O as c,R as p,j as l,t as r}from"./JEPW4X7U.js";var s=class extends h{constructor(){super(...arguments),this._active=!1,this._elementReferenceController=new g(this),this.icon="question-mark",this.tooltipText="",this.labelText="",this.disabled=!1,this.loading=!1,this.iconFlipRtl=!1,this.arcgisItemSelected=r()}static{this.properties={icon:3,lastActivated:0,active:7,tooltipText:1,labelText:3,disabled:7,loading:7,iconFlipRtl:7,actionElement:32}}get active(){return this._active}set active(e){e!==this._active&&(this._active=e,e&&(this.lastActivated=new Date))}get actionElement(){return this._elementReferenceController.element}measure(e){return[$(e)]}proxiedRender(e,t,b){let a=e.tooltipAppearance,n=this._elementReferenceController.element,f=a!=="native"&&t==="collapsed-action",x=a==="native"&&t==="collapsed-action",u=a==="calcite-dark"?"calcite-mode-dark":void 0,_=v(e),i=this.tooltipText||this.labelText;return t==="dropdown-item"?l`<calcite-dropdown-item .disabled=${this.disabled} icon-start=${this.icon??c} .iconFlipRtl=${this.iconFlipRtl?"both":void 0} .label=${i} @calciteDropdownItemSelect=${o=>this._handleDropdownItemClick(o)} .selected=${this.active||b}>${this.labelText}</calcite-dropdown-item>`:l`<calcite-action .active=${this.active} .disabled=${this.disabled} .icon=${this.icon} .iconFlipRtl=${this.iconFlipRtl} .label=${i} .loading=${this.loading} @click=${o=>this._handleActionClick(o)} .scale=${e.scale} .text=${this.labelText} .textEnabled=${t==="expanded-action"} title=${(x?i:void 0)??c} ${d(this._elementReferenceController.ref)}></calcite-action>${f&&n?l`<calcite-tooltip class=${m(u)} close-on-click overlay-positioning=fixed .placement=${_} .referenceElement=${n}><span>${i}</span></calcite-tooltip>`:void 0}`}_handleActionClick(e){this.isConnected&&(this.lastActivated=new Date,this.arcgisItemSelected?.emit({element:e.currentTarget}))}_handleDropdownItemClick(e){this.isConnected&&(this.lastActivated=new Date,this.arcgisItemSelected?.emit({element:e.currentTarget}))}};p("arcgis-toolbar-item",s);export{s as ArcgisToolbarItem};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{a as F}from"./PMV2N3L3.js";import{a as C}from"./2GBIDGIK.js";import"./GZXN456V.js";import"./H4Q2JVNO.js";import{L as _,M as o,N as k,O as g,R as M,h as w,j as h,t as $}from"./3X2MVQTG.js";var l={container:"container",ticksContainer:"ticks-container",labelsContainer:"labels-container",tick:"tick",tickMin:"tick--min",tickMax:"tick--max",tickLabel:"tick-label",tickLabelFocused:"tick-label--focused",tickLabelText:"tick-label-text",baseline:"baseline"},D=w`:host{display:flex;--arcgis-internal-ticks-color: var(--calcite-color-text-2);--arcgis-ticks-font-size: var(--calcite-font-size--2);--arcgis-ticks-font-weight: var(--calcite-font-weight-medium);--arcgis-ticks-gap: 1em;--arcgis-ticks-tick-color: var(--calcite-color-border-input);--arcgis-ticks-tick-length: .5rem;--arcgis-ticks-tick-transform: translateX(-50%);--arcgis-ticks-tick-width: .125rem}.container{align-items:stretch;display:flex;color:var(--arcgis-internal-ticks-color);flex:1;font-weight:var(--arcgis-ticks-font-weight);font-size:var(--arcgis-ticks-font-size);line-height:1em;position:relative;user-select:none;word-wrap:normal;word-break:normal}.baseline{background-color:var(--arcgis-ticks-tick-color, var(--calcite-color-border-input))}.tick{position:absolute;background-color:var(--arcgis-ticks-tick-color, var(--calcite-color-border-input))}.tick-label{position:absolute;text-align:var(--arcgis-ticks-label-text-align, center);width:var(--arcgis-ticks-label-width, var(--labels-container-width, "auto"))}.tick-label-text{display:inline-block;line-height:1}.tick-label--focused .tick-label-text{outline:2px solid var(--calcite-color-focus, var(--calcite-color-brand));outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:dir(rtl){.tick-label{direction:rtl}}:host([layout="horizontal"]){.ticks-container{height:var(--arcgis-ticks-tick-length)}.labels-container{height:var(--labels-container-height, "auto")}.tick{width:var(--arcgis-ticks-tick-width);height:var(--arcgis-ticks-tick-length);transform:var(--arcgis-ticks-tick-transform)}.tick-label{transform:translate(-50%)}.tick--min{transform:unset}.tick--max{transform:translate(-100%)}}:host([layout="vertical"]){.ticks-container{width:var(--arcgis-ticks-tick-length)}.labels-container{width:var(--labels-container-width)}.tick{width:var(--arcgis-ticks-tick-length);height:var(--arcgis-ticks-tick-width);transform:translateY(50%)}.tick-label{text-align:right;transform:translateY(50%)}.tick--min{transform:unset}.tick--max{transform:translateY(100%)}}:host([layout="horizontal"][mirrored]){.tick,.tick-label{transform:translate(50%)}.tick--min{transform:unset}.tick--max{transform:translate(100%)}}:host([layout="vertical"][mirrored]){.tick,.tick-label{transform:translateY(-50%)}.tick--min{transform:unset}.tick--max{transform:translateY(-100%)}}:host([layout="horizontal"][label-placement="start"]){.container{flex-direction:column;justify-content:flex-end}.labels-container{margin-bottom:var(--arcgis-ticks-gap)}}:host([layout="horizontal"][label-placement="end"]){.container{flex-direction:column-reverse;justify-content:flex-end}.labels-container{margin-top:var(--arcgis-ticks-gap)}}:host([layout="vertical"][label-placement="start"]){.container{flex-direction:row;justify-content:flex-end}:dir(ltr){.labels-container{margin-right:var(--arcgis-ticks-gap)}.tick-label{text-align:right}}:dir(rtl){.labels-container{margin-left:var(--arcgis-ticks-gap)}.tick-label{text-align:left;unicode-bidi:plaintext}}}:host([layout="vertical"][label-placement="end"]){.container{flex-direction:row-reverse;justify-content:flex-end}:dir(ltr){.labels-container{margin-left:var(--arcgis-ticks-gap)}.tick-label{text-align:left}}:dir(rtl){.labels-container{margin-right:var(--arcgis-ticks-gap)}.tick-label{text-align:right;unicode-bidi:plaintext}}}:host([interactive]){pointer-events:none;.tick,.tick-label{pointer-events:auto;cursor:pointer}.tick-label-text:hover{text-decoration:underline}.tick:focus{background-color:var(--calcite-color-brand);outline:2px solid var(--calcite-color-focus, var(--calcite-color-brand));outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}}`,b=class extends _{constructor(){super(...arguments),this._messages=C({name:null}),this.#t=t=>F(this._messages._lang,this._formatOptions).format(t),this._activeTick=null,this._formatOptions={style:"decimal",useGrouping:!0,minimumFractionDigits:0,maximumFractionDigits:2},this.autoDestroyDisabled=!1,this.interactive=!1,this.interpolationExponent=0,this.labelPlacement="end",this.layout="horizontal",this.max=100,this.min=0,this.mirrored=!1,this.mode="count",this.showLabels=!1,this.showBaseline=!1,this.values=[],this.arcgisTickClick=$({cancelable:!1})}static{this.properties={_activeTick:16,_formatOptions:16,autoDestroyDisabled:5,interactive:7,interpolationExponent:9,labelFormatter:0,labelPlacement:3,layout:3,max:9,min:9,mirrored:7,mode:1,showLabels:5,showBaseline:5,values:[9,{converter:{fromAttribute(t){if(t.includes(","))return t.split(",").filter(e=>e.trim()!=="").map(parseFloat).filter(e=>Number.isFinite(e));{let e=parseFloat(t);return Number.isFinite(e)?[e]:[]}}}}]}}static{this.styles=D}#t;async destroy(){await this.manager.destroy()}updated(){let t=this.renderRoot.querySelector(`.${l.labelsContainer}`);if(t){t.style.removeProperty("--labels-container-width"),t.style.removeProperty("--labels-container-height");let e=0,i=0;for(let a of this.renderRoot.querySelectorAll(`.${l.tickLabel}`)){let r=a.getBoundingClientRect();e=Math.max(e,r.width),i=Math.max(i,r.height)}e=Math.ceil(e),i=Math.ceil(i),e&&i&&(t.style.setProperty("--labels-container-width",`${e}px`),t.style.setProperty("--labels-container-height",`${i}px`))}}_handleBlur(){this._activeTick=null}_handleClick(t){if(!this.interactive)return;let e=t.currentTarget.dataset.value;e&&this.arcgisTickClick.emit({value:Number(e)})}_handleFocus(t){this._activeTick=t.currentTarget.dataset.value??null}_handleKeyDown(t){t.key==="Enter"&&this._handleClick(t)}_handleMouseDown(t){this.interactive&&t.preventDefault()}_internalLabelFormatter(t){let e=this.labelFormatter;return e?e(t,this.#t)??this.#t(t):this.#t(t)}render(){return h`<div class=${o(l.container)} touch-action=none>${this._renderContent()}${this._renderBaseline()}</div>`}_renderContent(){let{interpolationExponent:t,max:e,min:i,mode:a,values:r,layout:c,mirrored:s,showLabels:z,interactive:m}=this,p=[],x=[];for(let[f,d]of B(a,i,e,t,r)){let y={[c==="horizontal"?s?"right":"left":s?"top":"bottom"]:`${f}%`},T={[l.tick]:!0,[l.tickMin]:f===0,[l.tickMax]:f===100};if(p.push(h`<div class=${o(T)} .role=${m?"button":void 0} .ariaLabel=${m?this._internalLabelFormatter(d):void 0} style=${k(y)} data-value=${d??g} .tabIndex=${m?0:-1} @blur=${this._handleBlur} @click=${this._handleClick} @focus=${this._handleFocus} @keydown=${this._handleKeyDown} @mousedown=${this._handleMouseDown}></div>`),z){let A={[l.tickLabel]:!0,[l.tickLabelFocused]:this._activeTick===String(d)};x.push(h`<div class=${o(A)} style=${k(y)} data-value=${d??g} @click=${this._handleClick}><span class=${o(l.tickLabelText)}>${this._internalLabelFormatter(d)}</span></div>`)}}return[h`<div class=${o(l.labelsContainer)}>${x}</div>`,h`<div class=${o(l.ticksContainer)}>${p}</div>`]}_renderBaseline(){let{showBaseline:t,layout:e}=this;return t&&h`<div class=${o(l.baseline)} style=${k({[e==="horizontal"?"width":"height"]:"100%",[e==="horizontal"?"height":"width"]:"0.125rem"})}></div>`||""}};function*B(n,t,e,i,a){switch(n){case"value":{let r=Array.isArray(a)?a:[a];for(let c of r){let s=P(t,e,c,i)*100;s>=0&&s<=100&&(yield[s,c])}break}case"percent":{if(Array.isArray(a))for(let r of a)r>=0&&r<=100&&(yield[r,u(t,e,r/100,i)]);else if(a>0)for(let r=0;r<=100;r+=a)yield[r,u(t,e,r/100,i)];break}case"count":{let r=Array.isArray(a)?a[0]:a;if(r<=1)yield[50,u(t,e,.5,i)];else for(let c=0;c<r;c++){let s=c*100/(r-1);yield[s,u(t,e,s/100,i)]}break}}}function v(n,t,e){return e<n?n:e>t?t:e}function L(n,t,e){return n+(t-n)*e}function P(n,t,e,i=0){let a=(e-n)/(t-n);if(a=v(0,1,a),Math.abs(i)<1e-9)return a;let r=1+Math.expm1(i)*a;return a=Math.log(r)/i,v(0,1,a)}function u(n,t,e,i=0){if(e=v(0,1,e),Math.abs(i)<1e-9)return L(n,t,e);let a=Math.expm1(i*e)/Math.expm1(i);return L(n,t,a)}M("arcgis-ticks",b);export{b as ArcgisTicks};
2
+ import{a as F}from"./PMV2N3L3.js";import{a as C}from"./24JPS4UK.js";import"./VTAQRKNF.js";import"./H4Q2JVNO.js";import{L as _,M as o,N as k,O as g,R as M,h as w,j as h,t as $}from"./JEPW4X7U.js";var l={container:"container",ticksContainer:"ticks-container",labelsContainer:"labels-container",tick:"tick",tickMin:"tick--min",tickMax:"tick--max",tickLabel:"tick-label",tickLabelFocused:"tick-label--focused",tickLabelText:"tick-label-text",baseline:"baseline"},D=w`:host{display:flex;--arcgis-internal-ticks-color: var(--calcite-color-text-2);--arcgis-ticks-font-size: var(--calcite-font-size--2);--arcgis-ticks-font-weight: var(--calcite-font-weight-medium);--arcgis-ticks-gap: 1em;--arcgis-ticks-tick-color: var(--calcite-color-border-input);--arcgis-ticks-tick-length: .5rem;--arcgis-ticks-tick-transform: translateX(-50%);--arcgis-ticks-tick-width: .125rem}.container{align-items:stretch;display:flex;color:var(--arcgis-internal-ticks-color);flex:1;font-weight:var(--arcgis-ticks-font-weight);font-size:var(--arcgis-ticks-font-size);line-height:1em;position:relative;user-select:none;word-wrap:normal;word-break:normal}.baseline{background-color:var(--arcgis-ticks-tick-color, var(--calcite-color-border-input))}.tick{position:absolute;background-color:var(--arcgis-ticks-tick-color, var(--calcite-color-border-input))}.tick-label{position:absolute;text-align:var(--arcgis-ticks-label-text-align, center);width:var(--arcgis-ticks-label-width, var(--labels-container-width, "auto"))}.tick-label-text{display:inline-block;line-height:1}.tick-label--focused .tick-label-text{outline:2px solid var(--calcite-color-focus, var(--calcite-color-brand));outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:dir(rtl){.tick-label{direction:rtl}}:host([layout="horizontal"]){.ticks-container{height:var(--arcgis-ticks-tick-length)}.labels-container{height:var(--labels-container-height, "auto")}.tick{width:var(--arcgis-ticks-tick-width);height:var(--arcgis-ticks-tick-length);transform:var(--arcgis-ticks-tick-transform)}.tick-label{transform:translate(-50%)}.tick--min{transform:unset}.tick--max{transform:translate(-100%)}}:host([layout="vertical"]){.ticks-container{width:var(--arcgis-ticks-tick-length)}.labels-container{width:var(--labels-container-width)}.tick{width:var(--arcgis-ticks-tick-length);height:var(--arcgis-ticks-tick-width);transform:translateY(50%)}.tick-label{text-align:right;transform:translateY(50%)}.tick--min{transform:unset}.tick--max{transform:translateY(100%)}}:host([layout="horizontal"][mirrored]){.tick,.tick-label{transform:translate(50%)}.tick--min{transform:unset}.tick--max{transform:translate(100%)}}:host([layout="vertical"][mirrored]){.tick,.tick-label{transform:translateY(-50%)}.tick--min{transform:unset}.tick--max{transform:translateY(-100%)}}:host([layout="horizontal"][label-placement="start"]){.container{flex-direction:column;justify-content:flex-end}.labels-container{margin-bottom:var(--arcgis-ticks-gap)}}:host([layout="horizontal"][label-placement="end"]){.container{flex-direction:column-reverse;justify-content:flex-end}.labels-container{margin-top:var(--arcgis-ticks-gap)}}:host([layout="vertical"][label-placement="start"]){.container{flex-direction:row;justify-content:flex-end}:dir(ltr){.labels-container{margin-right:var(--arcgis-ticks-gap)}.tick-label{text-align:right}}:dir(rtl){.labels-container{margin-left:var(--arcgis-ticks-gap)}.tick-label{text-align:left;unicode-bidi:plaintext}}}:host([layout="vertical"][label-placement="end"]){.container{flex-direction:row-reverse;justify-content:flex-end}:dir(ltr){.labels-container{margin-left:var(--arcgis-ticks-gap)}.tick-label{text-align:left}}:dir(rtl){.labels-container{margin-right:var(--arcgis-ticks-gap)}.tick-label{text-align:right;unicode-bidi:plaintext}}}:host([interactive]){pointer-events:none;.tick,.tick-label{pointer-events:auto;cursor:pointer}.tick-label-text:hover{text-decoration:underline}.tick:focus{background-color:var(--calcite-color-brand);outline:2px solid var(--calcite-color-focus, var(--calcite-color-brand));outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}}`,b=class extends _{constructor(){super(...arguments),this._messages=C({name:null}),this.#t=t=>F(this._messages._lang,this._formatOptions).format(t),this._activeTick=null,this._formatOptions={style:"decimal",useGrouping:!0,minimumFractionDigits:0,maximumFractionDigits:2},this.autoDestroyDisabled=!1,this.interactive=!1,this.interpolationExponent=0,this.labelPlacement="end",this.layout="horizontal",this.max=100,this.min=0,this.mirrored=!1,this.mode="count",this.showLabels=!1,this.showBaseline=!1,this.values=[],this.arcgisTickClick=$({cancelable:!1})}static{this.properties={_activeTick:16,_formatOptions:16,autoDestroyDisabled:5,interactive:7,interpolationExponent:9,labelFormatter:0,labelPlacement:3,layout:3,max:9,min:9,mirrored:7,mode:1,showLabels:5,showBaseline:5,values:[9,{converter:{fromAttribute(t){if(t.includes(","))return t.split(",").filter(e=>e.trim()!=="").map(parseFloat).filter(e=>Number.isFinite(e));{let e=parseFloat(t);return Number.isFinite(e)?[e]:[]}}}}]}}static{this.styles=D}#t;async destroy(){await this.manager.destroy()}updated(){let t=this.renderRoot.querySelector(`.${l.labelsContainer}`);if(t){t.style.removeProperty("--labels-container-width"),t.style.removeProperty("--labels-container-height");let e=0,i=0;for(let a of this.renderRoot.querySelectorAll(`.${l.tickLabel}`)){let r=a.getBoundingClientRect();e=Math.max(e,r.width),i=Math.max(i,r.height)}e=Math.ceil(e),i=Math.ceil(i),e&&i&&(t.style.setProperty("--labels-container-width",`${e}px`),t.style.setProperty("--labels-container-height",`${i}px`))}}_handleBlur(){this._activeTick=null}_handleClick(t){if(!this.interactive)return;let e=t.currentTarget.dataset.value;e&&this.arcgisTickClick.emit({value:Number(e)})}_handleFocus(t){this._activeTick=t.currentTarget.dataset.value??null}_handleKeyDown(t){t.key==="Enter"&&this._handleClick(t)}_handleMouseDown(t){this.interactive&&t.preventDefault()}_internalLabelFormatter(t){let e=this.labelFormatter;return e?e(t,this.#t)??this.#t(t):this.#t(t)}render(){return h`<div class=${o(l.container)} touch-action=none>${this._renderContent()}${this._renderBaseline()}</div>`}_renderContent(){let{interpolationExponent:t,max:e,min:i,mode:a,values:r,layout:c,mirrored:s,showLabels:z,interactive:m}=this,p=[],x=[];for(let[f,d]of B(a,i,e,t,r)){let y={[c==="horizontal"?s?"right":"left":s?"top":"bottom"]:`${f}%`},T={[l.tick]:!0,[l.tickMin]:f===0,[l.tickMax]:f===100};if(p.push(h`<div class=${o(T)} .role=${m?"button":void 0} .ariaLabel=${m?this._internalLabelFormatter(d):void 0} style=${k(y)} data-value=${d??g} .tabIndex=${m?0:-1} @blur=${this._handleBlur} @click=${this._handleClick} @focus=${this._handleFocus} @keydown=${this._handleKeyDown} @mousedown=${this._handleMouseDown}></div>`),z){let A={[l.tickLabel]:!0,[l.tickLabelFocused]:this._activeTick===String(d)};x.push(h`<div class=${o(A)} style=${k(y)} data-value=${d??g} @click=${this._handleClick}><span class=${o(l.tickLabelText)}>${this._internalLabelFormatter(d)}</span></div>`)}}return[h`<div class=${o(l.labelsContainer)}>${x}</div>`,h`<div class=${o(l.ticksContainer)}>${p}</div>`]}_renderBaseline(){let{showBaseline:t,layout:e}=this;return t&&h`<div class=${o(l.baseline)} style=${k({[e==="horizontal"?"width":"height"]:"100%",[e==="horizontal"?"height":"width"]:"0.125rem"})}></div>`||""}};function*B(n,t,e,i,a){switch(n){case"value":{let r=Array.isArray(a)?a:[a];for(let c of r){let s=P(t,e,c,i)*100;s>=0&&s<=100&&(yield[s,c])}break}case"percent":{if(Array.isArray(a))for(let r of a)r>=0&&r<=100&&(yield[r,u(t,e,r/100,i)]);else if(a>0)for(let r=0;r<=100;r+=a)yield[r,u(t,e,r/100,i)];break}case"count":{let r=Array.isArray(a)?a[0]:a;if(r<=1)yield[50,u(t,e,.5,i)];else for(let c=0;c<r;c++){let s=c*100/(r-1);yield[s,u(t,e,s/100,i)]}break}}}function v(n,t,e){return e<n?n:e>t?t:e}function L(n,t,e){return n+(t-n)*e}function P(n,t,e,i=0){let a=(e-n)/(t-n);if(a=v(0,1,a),Math.abs(i)<1e-9)return a;let r=1+Math.expm1(i)*a;return a=Math.log(r)/i,v(0,1,a)}function u(n,t,e,i=0){if(e=v(0,1,e),Math.abs(i)<1e-9)return L(n,t,e);let a=Math.expm1(i*e)/Math.expm1(i);return L(n,t,a)}M("arcgis-ticks",b);export{b as ArcgisTicks};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{L as x,M as C,O as d,R as v,h as f,j as z,k as m}from"./3X2MVQTG.js";export default $arcgis.t(([w])=>{var M=f`:host{display:block;block-size:30px;inline-size:100%}:host([layout="vertical"]){writing-mode:vertical-lr}.hidden{display:none!important}svg{stroke-width:var(--calcite-border-width-sm);stroke:var(--calcite-color-border-input);margin:0;display:block;block-size:100%;inline-size:100%;padding:0}svg .background{fill:#e0e0e0}`,u=class{constructor(i,s,e,a){this.color=i,this.ratio=s,this.opacity=e,this.sizeRatio=a}},D=new w([0,0,0,.5]),I=class extends x{constructor(){super(...arguments),this._minSizeRatio=.2,this._rampStops=[],this._containerDimensions=[0,0],this.layout="horizontal",this.min=0,this.max=1,this.stops=[]}static{this.properties={_containerDimensions:16,layout:3,min:9,max:9,stops:0}}static{this.styles=M}willUpdate(i){if(super.willUpdate(i),i.has("min")||i.has("max")||i.has("stops")){let{stops:s,min:e,max:a}=this,r=a-e,o=s.map(n=>n.size??0),c=Math.min(...o),l=Math.max(...o)-c,t=s.map(n=>{let{color:h,value:g,size:$}=n,y=h instanceof w?h:w.fromString(h)??D,b=(g-e)/r;return new u(y.toCss(),b,y.a,$?($-c)/l:void 0)});if(t[0].ratio!==0){let{color:n,opacity:h,sizeRatio:g}=t[0];t.unshift(new u(n,0,h,g))}if(t[t.length-1].ratio!==0){let{color:n,opacity:h,sizeRatio:g}=t[t.length-1];t.push(new u(n,1,h,g))}this._rampStops=t}}loaded(){let i=new ResizeObserver(a=>{for(let r of a){let{width:o,height:c}=r.contentRect;this._containerDimensions=[o,c]}}),{width:s,height:e}=this.el.getBoundingClientRect();this._containerDimensions=[s,e],i.observe(this.el)}render(){let i=this._rampStops,[s,e]=this._containerDimensions,a=this.layout==="horizontal",r="rampFillId",o="rampBackgroundFillId",c=R(i),l=[];if(s>0&&e>0)if(c){let t=S(this.layout,s,e,i,this._minSizeRatio);l.push(m`<path fill=${`url(#${o})`} d=${t??d} />`,m`<path fill=${`url(#${r})`} d=${t??d} />`)}else l.push(m`<rect fill=${`url(#${o})`} height=100% width=100% x=0 y=0 />`,m`<rect fill=${`url(#${r})`} height=100% width=100% x=0 y=0 />`);return z`<svg xmlns=http://www.w3.org/2000/svg>${m`<defs><linearGradient id=${r} x1=0 x2=${a?1:0} y1=${a?0:1} y2=0>${i.map(({ratio:t,color:n,opacity:h})=>m`<stop offset=${`${(t*100).toFixed(2)}%`} stop-color=${n??d} stop-opacity=${h??d} />`)}</linearGradient><pattern height=15 id=${o} patternUnits=userSpaceOnUse width=15 x=0 y=0><image height=15 href=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgaGVpZ2h0PSIxNiIgd2lkdGg9IjE2Ij48cGF0aCBkPSJNMCAwIEw4IDAgTDggOCBMMCA4IFoiIGZpbGw9IiNjY2MiIC8+PHBhdGggZD0iTTAgMCBMOCAwIEw4IDggTDAgOCBaIiBmaWxsPSIjZmZmIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLDgpIiAvPjxwYXRoIGQ9Ik0wIDAgTDggMCBMOCA4IEwwIDggWiIgZmlsbD0iI2NjYyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoOCw4KSIgLz48cGF0aCBkPSJNMCAwIEw4IDAgTDggOCBMMCA4IFoiIGZpbGw9IiNmZmYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDgsMCkiIC8+PC9zdmc+ width=15 x=0 y=0 /></pattern></defs><rect class=${C({background:!0})} height=100% width=100% x=0 y=0 />${l}`}</svg>`}};function R(p){return p.every(i=>i.sizeRatio!==void 0)}function S(p,i,s,e,a){let r=o=>(1-a)*o+a;if(p==="horizontal"){let o=e.map(({ratio:c,sizeRatio:l})=>{let t=c*i,n=s-r(l)*s;return`L ${t} ${n}`});return`M 0 ${s} ${o.join(" ")} L ${i} ${s} Z`}else{let o=e.map(({ratio:c,sizeRatio:l})=>{let t=s-c*s;return`L ${r(l)*i} ${t}`});return`M 0 ${s} ${o.join(" ")} L 0 0 Z`}}v("arcgis-ramp-color",I);return I},"Color")
2
+ import{L as x,M as C,O as d,R as v,h as f,j as z,k as m}from"./JEPW4X7U.js";export default $arcgis.t(([w])=>{var M=f`:host{display:block;block-size:30px;inline-size:100%}:host([layout="vertical"]){writing-mode:vertical-lr}.hidden{display:none!important}svg{stroke-width:var(--calcite-border-width-sm);stroke:var(--calcite-color-border-input);margin:0;display:block;block-size:100%;inline-size:100%;padding:0}svg .background{fill:#e0e0e0}`,u=class{constructor(i,s,e,a){this.color=i,this.ratio=s,this.opacity=e,this.sizeRatio=a}},D=new w([0,0,0,.5]),I=class extends x{constructor(){super(...arguments),this._minSizeRatio=.2,this._rampStops=[],this._containerDimensions=[0,0],this.layout="horizontal",this.min=0,this.max=1,this.stops=[]}static{this.properties={_containerDimensions:16,layout:3,min:9,max:9,stops:0}}static{this.styles=M}willUpdate(i){if(super.willUpdate(i),i.has("min")||i.has("max")||i.has("stops")){let{stops:s,min:e,max:a}=this,r=a-e,o=s.map(n=>n.size??0),c=Math.min(...o),l=Math.max(...o)-c,t=s.map(n=>{let{color:h,value:g,size:$}=n,y=h instanceof w?h:w.fromString(h)??D,b=(g-e)/r;return new u(y.toCss(),b,y.a,$?($-c)/l:void 0)});if(t[0].ratio!==0){let{color:n,opacity:h,sizeRatio:g}=t[0];t.unshift(new u(n,0,h,g))}if(t[t.length-1].ratio!==0){let{color:n,opacity:h,sizeRatio:g}=t[t.length-1];t.push(new u(n,1,h,g))}this._rampStops=t}}loaded(){let i=new ResizeObserver(a=>{for(let r of a){let{width:o,height:c}=r.contentRect;this._containerDimensions=[o,c]}}),{width:s,height:e}=this.el.getBoundingClientRect();this._containerDimensions=[s,e],i.observe(this.el)}render(){let i=this._rampStops,[s,e]=this._containerDimensions,a=this.layout==="horizontal",r="rampFillId",o="rampBackgroundFillId",c=R(i),l=[];if(s>0&&e>0)if(c){let t=S(this.layout,s,e,i,this._minSizeRatio);l.push(m`<path fill=${`url(#${o})`} d=${t??d} />`,m`<path fill=${`url(#${r})`} d=${t??d} />`)}else l.push(m`<rect fill=${`url(#${o})`} height=100% width=100% x=0 y=0 />`,m`<rect fill=${`url(#${r})`} height=100% width=100% x=0 y=0 />`);return z`<svg xmlns=http://www.w3.org/2000/svg>${m`<defs><linearGradient id=${r} x1=0 x2=${a?1:0} y1=${a?0:1} y2=0>${i.map(({ratio:t,color:n,opacity:h})=>m`<stop offset=${`${(t*100).toFixed(2)}%`} stop-color=${n??d} stop-opacity=${h??d} />`)}</linearGradient><pattern height=15 id=${o} patternUnits=userSpaceOnUse width=15 x=0 y=0><image height=15 href=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgaGVpZ2h0PSIxNiIgd2lkdGg9IjE2Ij48cGF0aCBkPSJNMCAwIEw4IDAgTDggOCBMMCA4IFoiIGZpbGw9IiNjY2MiIC8+PHBhdGggZD0iTTAgMCBMOCAwIEw4IDggTDAgOCBaIiBmaWxsPSIjZmZmIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLDgpIiAvPjxwYXRoIGQ9Ik0wIDAgTDggMCBMOCA4IEwwIDggWiIgZmlsbD0iI2NjYyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoOCw4KSIgLz48cGF0aCBkPSJNMCAwIEw4IDAgTDggOCBMMCA4IFoiIGZpbGw9IiNmZmYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDgsMCkiIC8+PC9zdmc+ width=15 x=0 y=0 /></pattern></defs><rect class=${C({background:!0})} height=100% width=100% x=0 y=0 />${l}`}</svg>`}};function R(p){return p.every(i=>i.sizeRatio!==void 0)}function S(p,i,s,e,a){let r=o=>(1-a)*o+a;if(p==="horizontal"){let o=e.map(({ratio:c,sizeRatio:l})=>{let t=c*i,n=s-r(l)*s;return`L ${t} ${n}`});return`M 0 ${s} ${o.join(" ")} L ${i} ${s} Z`}else{let o=e.map(({ratio:c,sizeRatio:l})=>{let t=s-c*s;return`L ${r(l)*i} ${t}`});return`M 0 ${s} ${o.join(" ")} L 0 0 Z`}}v("arcgis-ramp-color",I);return I},"Color")
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{a as i}from"./UGWLCTVM.js";import{a as u,b as m}from"./B4MSRQLW.js";import{f as g}from"./H4Q2JVNO.js";import{J as o,K as a,L as d,M as e,O as p,R as h,h as l,j as n,t as s,w as c}from"./3X2MVQTG.js";var v=l`.arcgis-app-ckeditor-popover-footer{display:flex;justify-content:flex-end;margin-top:var(--calcite-space-sm);padding:0 var(--calcite-space-lg)}.arcgis-app-ckeditor-popover-container{margin:0 var(--calcite-space-md) 0 0;padding-bottom:var(--calcite-space-lg);box-shadow:val(--calcite-shadow-1)}`,r=class extends d{constructor(){super(),this.okButton=o(),this.popoverNode=o(),this._propWatcherTask=new u(this,{task:async([t])=>{if(!m(t)){console.error("[ckeditor5] Required properties are missing.");return}},args:()=>[this.refElement]}),this.guid=c(),this.intlOk="Ok",this.intlCancel="Cancel",this.arcgisCkeditor5PopoverClosed=s(),this.arcgisPopoverClosed=s(),this.listen("arcgisCreated",this.afterEditorCreated),this.listen("arcgisSourceEditingChanged",this.onSourceEditingStatusChanged)}static{this.properties={guid:1,refElement:0,intlOk:1,intlCancel:1,intlLabel:1}}static{this.styles=v}async reposition(){this.popoverNode.value?.reposition()}afterEditorCreated(t){this.editor=t.target,this.reposition(),this.requestUpdate()}onSourceEditingStatusChanged(t){this.okButton.value&&(this.okButton.value.disabled=t.detail)}render(){return this.el.classList.add("js-app-flyout"),this._propWatcherTask.render({complete:()=>n`<calcite-popover class=${e(i.popover)} dir=${g(this.el)??p} placement=leading-start open pointer-disabled .referenceElement=${this.refElement} .offsetDistance=${-Math.round(this.refElement.getBoundingClientRect().width)} offset-skidding=50 .label=${this.intlLabel??""} focus-trap-disabled trigger-disabled top-layer-disabled ${a(this.popoverNode)}><div class=${e(i.arcgisAppCkeditorPopoverContainer)}><slot></slot><div class=${e(i.arcgisAppCkeditorPopoverFooter)}><calcite-button .label=${this.intlOk} @click=${async t=>{this.okButton.value?.disabled||(t.stopPropagation(),this.arcgisCkeditor5PopoverClosed.emit({guid:this.guid,data:await this.editor?.getData()}),this.arcgisPopoverClosed.emit({guid:this.guid,data:await this.editor?.getData()}))}} ${a(this.okButton)}>${this.intlOk}</calcite-button><calcite-button appearance=outline-fill .label=${this.intlCancel} @click=${t=>{t.stopPropagation(),this.arcgisCkeditor5PopoverClosed.emit({guid:this.guid}),this.arcgisPopoverClosed.emit({guid:this.guid})}}>${this.intlCancel}</calcite-button></div></div></calcite-popover>`})}};h("arcgis-ckeditor5-popover",r);export{r as ArcgisCkeditor5Popover};
2
+ import{a as i}from"./UGWLCTVM.js";import{a as u,b as m}from"./5VRXYQB3.js";import{f as g}from"./H4Q2JVNO.js";import{J as o,K as a,L as d,M as e,O as p,R as h,h as l,j as n,t as s,w as c}from"./JEPW4X7U.js";var v=l`.arcgis-app-ckeditor-popover-footer{display:flex;justify-content:flex-end;margin-top:var(--calcite-space-sm);padding:0 var(--calcite-space-lg)}.arcgis-app-ckeditor-popover-container{margin:0 var(--calcite-space-md) 0 0;padding-bottom:var(--calcite-space-lg);box-shadow:val(--calcite-shadow-1)}`,r=class extends d{constructor(){super(),this.okButton=o(),this.popoverNode=o(),this._propWatcherTask=new u(this,{task:async([t])=>{if(!m(t)){console.error("[ckeditor5] Required properties are missing.");return}},args:()=>[this.refElement]}),this.guid=c(),this.intlOk="Ok",this.intlCancel="Cancel",this.arcgisCkeditor5PopoverClosed=s(),this.arcgisPopoverClosed=s(),this.listen("arcgisCreated",this.afterEditorCreated),this.listen("arcgisSourceEditingChanged",this.onSourceEditingStatusChanged)}static{this.properties={guid:1,refElement:0,intlOk:1,intlCancel:1,intlLabel:1}}static{this.styles=v}async reposition(){this.popoverNode.value?.reposition()}afterEditorCreated(t){this.editor=t.target,this.reposition(),this.requestUpdate()}onSourceEditingStatusChanged(t){this.okButton.value&&(this.okButton.value.disabled=t.detail)}render(){return this.el.classList.add("js-app-flyout"),this._propWatcherTask.render({complete:()=>n`<calcite-popover class=${e(i.popover)} dir=${g(this.el)??p} placement=leading-start open pointer-disabled .referenceElement=${this.refElement} .offsetDistance=${-Math.round(this.refElement.getBoundingClientRect().width)} offset-skidding=50 .label=${this.intlLabel??""} focus-trap-disabled trigger-disabled top-layer-disabled ${a(this.popoverNode)}><div class=${e(i.arcgisAppCkeditorPopoverContainer)}><slot></slot><div class=${e(i.arcgisAppCkeditorPopoverFooter)}><calcite-button .label=${this.intlOk} @click=${async t=>{this.okButton.value?.disabled||(t.stopPropagation(),this.arcgisCkeditor5PopoverClosed.emit({guid:this.guid,data:await this.editor?.getData()}),this.arcgisPopoverClosed.emit({guid:this.guid,data:await this.editor?.getData()}))}} ${a(this.okButton)}>${this.intlOk}</calcite-button><calcite-button appearance=outline-fill .label=${this.intlCancel} @click=${t=>{t.stopPropagation(),this.arcgisCkeditor5PopoverClosed.emit({guid:this.guid}),this.arcgisPopoverClosed.emit({guid:this.guid})}}>${this.intlCancel}</calcite-button></div></div></calcite-popover>`})}};h("arcgis-ckeditor5-popover",r);export{r as ArcgisCkeditor5Popover};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{i as o}from"./3X2MVQTG.js";var n=Symbol(),h=class{get taskComplete(){return this.t||(this.i===1?this.t=new Promise(((t,i)=>{this.o=t,this.h=i})):this.i===3?this.t=Promise.reject(this.l):this.t=Promise.resolve(this.u)),this.t}constructor(t,i,e){this.p=0,this.i=0,(this._=t).addController(this);let r=typeof i=="object"?i:{task:i,args:e};this.v=r.task,this.j=r.args,this.m=r.argsEqual??u,this.k=r.onComplete,this.A=r.onError,this.autoRun=r.autoRun??!0,"initialValue"in r&&(this.u=r.initialValue,this.i=2,this.O=this.T?.())}hostUpdate(){this.autoRun===!0&&this.S()}hostUpdated(){this.autoRun==="afterUpdate"&&this.S()}T(){if(this.j===void 0)return;let t=this.j();if(!Array.isArray(t))throw Error("The args function must return an array");return t}async S(){let t=this.T(),i=this.O;this.O=t,t===i||t===void 0||i!==void 0&&this.m(i,t)||await this.run(t)}async run(t){let i,e;t??=this.T(),this.O=t,this.i===1?this.q?.abort():(this.t=void 0,this.o=void 0,this.h=void 0),this.i=1,this.autoRun==="afterUpdate"?queueMicrotask((()=>this._.requestUpdate())):this._.requestUpdate();let r=++this.p;this.q=new AbortController;let a=!1;try{i=await this.v(t,{signal:this.q.signal})}catch(l){a=!0,e=l}if(this.p===r){if(i===n)this.i=0;else{if(a===!1){try{this.k?.(i)}catch{}this.i=2,this.o?.(i)}else{try{this.A?.(e)}catch{}this.i=3,this.h?.(e)}this.u=i,this.l=e}this._.requestUpdate()}}abort(t){this.i===1&&this.q?.abort(t)}get value(){return this.u}get error(){return this.l}get status(){return this.i}render(t){switch(this.i){case 0:return t.initial?.();case 1:return t.pending?.();case 2:return t.complete?.(this.value);case 3:return t.error?.(this.error);default:throw Error("Unexpected status: "+this.i)}}},u=(s,t)=>s===t||s.length===t.length&&s.every(((i,e)=>!o(i,t[e])));function m(s){return s!=null}function y(s,t){return t==="feature-reduction"&&"featureReduction"in s?s.featureReduction:s}export{h as a,m as b,y as c};
2
+ import{i as o}from"./JEPW4X7U.js";var n=Symbol(),h=class{get taskComplete(){return this.t||(this.i===1?this.t=new Promise(((t,i)=>{this.o=t,this.h=i})):this.i===3?this.t=Promise.reject(this.l):this.t=Promise.resolve(this.u)),this.t}constructor(t,i,e){this.p=0,this.i=0,(this._=t).addController(this);let r=typeof i=="object"?i:{task:i,args:e};this.v=r.task,this.j=r.args,this.m=r.argsEqual??u,this.k=r.onComplete,this.A=r.onError,this.autoRun=r.autoRun??!0,"initialValue"in r&&(this.u=r.initialValue,this.i=2,this.O=this.T?.())}hostUpdate(){this.autoRun===!0&&this.S()}hostUpdated(){this.autoRun==="afterUpdate"&&this.S()}T(){if(this.j===void 0)return;let t=this.j();if(!Array.isArray(t))throw Error("The args function must return an array");return t}async S(){let t=this.T(),i=this.O;this.O=t,t===i||t===void 0||i!==void 0&&this.m(i,t)||await this.run(t)}async run(t){let i,e;t??=this.T(),this.O=t,this.i===1?this.q?.abort():(this.t=void 0,this.o=void 0,this.h=void 0),this.i=1,this.autoRun==="afterUpdate"?queueMicrotask((()=>this._.requestUpdate())):this._.requestUpdate();let r=++this.p;this.q=new AbortController;let a=!1;try{i=await this.v(t,{signal:this.q.signal})}catch(l){a=!0,e=l}if(this.p===r){if(i===n)this.i=0;else{if(a===!1){try{this.k?.(i)}catch{}this.i=2,this.o?.(i)}else{try{this.A?.(e)}catch{}this.i=3,this.h?.(e)}this.u=i,this.l=e}this._.requestUpdate()}}abort(t){this.i===1&&this.q?.abort(t)}get value(){return this.u}get error(){return this.l}get status(){return this.i}render(t){switch(this.i){case 0:return t.initial?.();case 1:return t.pending?.();case 2:return t.complete?.(this.value);case 3:return t.error?.(this.error);default:throw Error("Unexpected status: "+this.i)}}},u=(s,t)=>s===t||s.length===t.length&&s.every(((i,e)=>!o(i,t[e])));function m(s){return s!=null}function y(s,t){return t==="feature-reduction"&&"featureReduction"in s?s.featureReduction:s}export{h as a,m as b,y as c};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{a as he}from"./PMV2N3L3.js";import{a as ce}from"./2GBIDGIK.js";import{a as oe,c as le}from"./GZXN456V.js";import{a as A,c as ae,e as se}from"./H4Q2JVNO.js";import{a as q}from"./KK62TWI2.js";import{J as K,K as O,L as ne,M as R,N as z,O as E,R as ie,h as Q,j as y,q as ee,r as te,t as M,v as re,w as j}from"./3X2MVQTG.js";export default $arcgis.t(([{on:rt,watch:de},{createObservable:we,trackAccess:Pe},{property:ot,subclass:lt},ht,$e,{property:$,subclass:Ie},{watch:Y}])=>{var ue=(i,e)=>t=>De(t,i),B=class extends re{constructor(e,t){super(e),this.Y=new Map,this.A=void 0,this.#r=we();let r=this;r.#e=t,r.Z(),r.setProvisionalExports(ge(e,new WeakRef(r),e.M.length-1,r.instance,r.Y),!1),ee(e,a=>{if(a){let n=de(()=>e[a],o=>{if(o===r.instance)return;let s=r.instance;r.exports=o,r.instance=o,r.Y.forEach((l,c)=>e.requestUpdate(l,s[c])),r.#t&&s.destroy(),r.#t=!1},{sync:!0});r.onDestroy(n.remove)}},r.exports)}#t;#r;#e;get exports(){return Pe(this.#r),super.exports}set exports(e){super.exports=e,this.#r.notify()}Z(){let e=this;e.instance="prototype"in e.#e&&"declaredClass"in e.#e.prototype?new e.#e:e.#e(),e.#t=!0}hostConnected(){this.exports=this.instance}hostDestroy(){this.#t&&this.instance.destroy?.()}},De=oe(B),ge=(i,e,t,r,a)=>new Proxy(r,{get:(n,o)=>{let s=n[o];if(typeof o=="symbol"||a.has(o))return s;let l=i.M[t];return l.A=o,te(i,c=>{if(l.A=void 0,c!==void 0){let h=c.key;a.set(o,h);let u=i.constructor.getPropertyOptions(h),d=o!==h&&h.toLowerCase().includes("disable");Ce(e,u,o,h,d),u.i===void 0&&Ee(u,t,o,d)}},s)}}),Ce=(i,e,t,r,a,n)=>n=de(()=>{let o=i.deref();return o===void 0||o.component.manager.destroyed?n=n.remove():o.exports[t]},(o,s)=>{if(!n)return;i.deref().component?.requestUpdate(r,a?!s:s),e.c=!1},{sync:!0}),Ee=(i,e,t,r)=>{i.d.get=function(){let a=this.M[e]?.exports[t];return r?!a:a},i.d.set=function(a){let n=this.M[e];n.A!==t&&(n.exports[t]=r?!a:a)}};var me=ue;function*W(i,e){if(i!==void 0){let t=0;for(let r of i)yield e(r,t++)}}var _={increment:"ArrowUp",incrementHorizontal:"ArrowRight",decrement:"ArrowDown",decrementHorizontal:"ArrowLeft",pageIncrement:"PageUp",pageDecrement:"PageDown",jumpToStart:"Home",jumpToEnd:"End",confirmEdit:"Enter"};function pe({key:i,shiftKey:e},t,r){let a=Re(i);if(a==null)return null;let n=Me(i)||Te(i)&&e?ze(t):1;return{direction:r?a*-1:a,count:n}}function Re(i){return i===_.increment||i===_.incrementHorizontal||i===_.pageIncrement?1:i===_.decrement||i===_.decrementHorizontal||i===_.pageDecrement?-1:null}function ve(i){return i===_.jumpToEnd||i===_.jumpToStart}function Te(i){return i===_.increment||i===_.decrement||i===_.decrementHorizontal||i===_.incrementHorizontal}function Me(i){return i===_.pageIncrement||i===_.pageDecrement}function ze(i){let e=Number.isFinite(i)?Math.floor(i):1;return Math.max(1,e)}var Se=Q`: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)}}}`,Ve=Object.defineProperty,Fe=Object.getOwnPropertyDescriptor,_e=i=>{throw TypeError(i)},D=(i,e,t,r)=>{for(var a=r>1?void 0:r?Fe(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(a=(r?o(e,t,a):o(a))||a);return r&&a&&Ve(e,t,a),a},xe=(i,e,t)=>e.has(i)||_e("Cannot "+t),Le=(i,e,t)=>(xe(i,e,"read from private field"),e.get(i)),Oe=(i,e,t)=>e.has(i)?_e("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(i):e.set(i,t),Ae=(i,e,t,r)=>(xe(i,e,"write to private field"),e.set(i,t),t),U;function Be(){return{min:0,max:100,values:[]}}var w=class extends $e{constructor(i={}){super({...Be(),properties:i}),this._entries=new Map,this.precision=4,this.ready=!1,Oe(this,U)}startup(){let{precision:i}=this,{min:e,max:t,values:r}=this;t=k(t,i),e=k(e,i),r=r?.map(n=>L(k(n,i),e,t)).sort((n,o)=>n-o),this._set("min",e),this._set("max",t),this._set("values",r);let a=new Map(r?.map(n=>[j(),n]));this._entries=a,Y(()=>this.min,n=>{let o=this.values;n!=null&&o?.length&&o.some(s=>s<n)&&(this._entries.forEach((s,l)=>{s<n&&this._entries.set(l,n)}),this._updatesValues())},{sync:!0}),Y(()=>this.max,n=>{let o=this.values;n!=null&&o?.length&&o.some(s=>s>n)&&(this._entries.forEach((s,l)=>{s>n&&this._entries.set(l,n)}),this._updatesValues())},{sync:!0}),Y(()=>this.precision,n=>{let{min:o,max:s,values:l}=this;this._set("min",k(o,n)),this._set("max",k(s,n)),l?.length&&(this._entries.forEach((c,h)=>{this._entries.set(h,k(c,n))}),this._updatesValues())},{sync:!0}),this._set("ready",!0)}get entries(){return this._entries}set max(i){if(!this.ready){this._set("max",i);return}let e=this._get("max"),t=k(i,this.precision);e!==t&&this._set("max",t)}set min(i){if(!this.ready){this._set("min",i);return}let e=this._get("min"),t=k(i,this.precision);e!==t&&this._set("min",t)}set values(i){if(Le(this,U)===i)return;if(Ae(this,U,i),!this.ready){this._set("values",i);return}let e=this._get("values");if(i=i?.map(r=>L(k(r,this.precision),this.min,this.max)).sort((r,a)=>r-a),e?.length===i?.length&&e.every((r,a)=>r===i[a]))return;if(this._entries.size===1&&i?.length===1){let r=this._entries.keys().next().value;if(r!==void 0){this._entries.set(r,i[0]),this._set("values",i);return}}let t=new Map(i?.map(r=>[j(),r]));this._entries=t,this._set("values",i)}getValue(i){return this._entries.get(i)}setValue(i,e){if(this.values==null)return!1;let{min:t,max:r}=this,a=this._entries.get(i),n=L(k(e,this.precision),t,r);return a===n?!1:(this._entries.set(i,n),this._updatesValues(),!0)}setValues(i){if(this.values==null)return!1;let e=!1,{min:t,max:r}=this;for(let[a,n]of i){let o=this._entries.get(a),s=L(k(n,this.precision),t,r);o!==s&&(e=!0,this._entries.set(a,s))}return e?(this._updatesValues(),!0):!1}_updatesValues(){let i=Array.from(this._entries.values()).sort((e,t)=>e-t);this._set("values",i)}};U=new WeakMap;D([$()],w.prototype,"_entries",2);D([$({readOnly:!0})],w.prototype,"entries",1);D([$()],w.prototype,"max",1);D([$()],w.prototype,"min",1);D([$({cast:i=>L(i,0,20)})],w.prototype,"precision",2);D([$({readOnly:!0})],w.prototype,"ready",2);D([$()],w.prototype,"values",1);w=D([Ie("esri.widgets.Slider.SliderData")],w);function L(i,e,t){return Math.min(Math.max(i,e),t)}function k(i,e){return Number.parseFloat(i.toFixed(e))}var G=class{constructor(e){this.steps=e,this.minIndex=0,this.maxIndex=this.steps.length-1}indexToValue(e){return this.steps[P(e,this.minIndex,this.maxIndex)]}valueToIndex(e){let t=this.steps.indexOf(e);return t!==-1?t:this.steps.reduce((r,a,n,o)=>Math.abs(a-e)<Math.abs(o[r]-e)?n:r,0)}getClosestStepDistances(e,t){if(t<=0)return[];let r=[];for(let a=this.minIndex;a<=this.maxIndex;a++){let n=this.indexToValue(a),o=Math.abs(n-e),s=!1;for(let l=0;l<r.length;l++)if(o<r[l].dist){r.splice(l,0,{idx:a,value:n,dist:o}),s=!0;break}!s&&r.length<t&&r.push({idx:a,value:n,dist:o}),r.length>t&&(r.length=t)}return r}},X=class{constructor(e,t,r){this.min=e,this.max=t,this.stepSize=r,this.minIndex=0,this.maxIndex=Math.round((this.max-this.min)/this.stepSize)}indexToValue(e){return this.min+P(e,this.minIndex,this.maxIndex)*this.stepSize}valueToIndex(e){return e=P(e,this.min,this.max),Math.round((e-this.min)/this.stepSize)}getClosestStepDistances(e,t){if(t<=0)return[];let r=[],a=this.minIndex,n=this.maxIndex,o=(P(e,this.min,this.max)-this.min)/this.stepSize,s=Math.floor(o),l=s+1;for(;r.length<t&&(s>=a||l<=n);){if(s<a){let m=this.indexToValue(l);r.push({idx:l,value:m,dist:Math.abs(m-e)}),l++;continue}if(l>n){let m=this.indexToValue(s);r.push({idx:s,value:m,dist:Math.abs(m-e)}),s--;continue}let c=this.indexToValue(s),h=this.indexToValue(l),u=Math.abs(c-e),d=Math.abs(h-e);u<=d?(r.push({idx:s,value:c,dist:u}),s--):(r.push({idx:l,value:h,dist:d}),l++)}return r}};function He(i){if(i.steps==null)return null;let e=i.steps;return Array.isArray(e)?e.length===0?null:new G(e):e<=0?null:new X(i.min,i.max,e)}function Ne(i,e,t){if(i==null){let s=new Map;for(let[l,c]of e.entries())s.set(l,c+t);return s}let r=e.size,a=Array.from(e.entries()).map(([s,l])=>{let c=l+t,h=i.getClosestStepDistances(c,r);return{uuid:s,stepDistances:h}}),n=new Set,o=new Map;a.sort((s,l)=>s.stepDistances[0].dist-l.stepDistances[0].dist);for(let s of a){let l=s.stepDistances.find(c=>!n.has(c.idx));l?(n.add(l.idx),o.set(s.uuid,l.value)):o.set(s.uuid,e.get(s.uuid))}return o}function H(i,e,t,r,a){let{allowValuesOverlap:n,precision:o,min:s,max:l}=a,c=e.get(t)??0,h=c+r,u=r>=0?-1:1,d,m,p;if(i){let v=new Set;if(!n)for(let[f,x]of e.entries())f!==t&&v.add(i.valueToIndex(x));let b=i.getClosestStepDistances(h,e.size+1);b.sort((f,x)=>S(f.dist,o)-S(x.dist,o)||u*(x.value-f.value));let g=0;d=b[g].value,p=f=>!n&&v.has(i.valueToIndex(f)),m=()=>(g++,b[g]?.value)}else{let v=new Set;for(let[g,f]of e.entries())g!==t&&v.add(S(f,o));let b=1/Math.pow(10,o);d=P(S(h,o),s,l),p=g=>!n&&v.has(g),m=()=>{let g=S(d+u*b,o);return g===d||g<s||g>l?void 0:g}}if(!p(d))return d;for(;;){let v=m();if(v===void 0)return c;if(d=v,!p(d))return d}}function S(i,e){return Number.parseFloat(i.toFixed(e))}function Ue(i,e,t,r=1){let a=ye(r),n=e,o=!1;for(let s=0;s<a;s++){let l=Ke(i,n,t);if(o||=l.changed,n=l.entries,!l.changed)break}return{changed:o,entries:n}}function je(i,e,t,r,a=1){let n=ye(a);if(n===1)return Z(i,e,t,r);let o=new Map(e),s=o.get(t);for(let l=0;l<n;l++){let c=Z(i,o,t,r);if(c===s)break;s=c,o.set(t,s)}return s}function ye(i){let e=Number.isFinite(i)?Math.floor(i):1;return Math.max(1,e)}function Ke(i,e,t){let r=new Map,a=t>0?Ye:ke,n=Array.from(e).sort((l,c)=>a(l[1],c[1])),o=!1,s=!0;for(let[l,c]of n)if(r.set(l,c),s){let h=Z(i,r,l,t);c===h&&(s=!1),o||=s,r.set(l,h)}return{changed:o,entries:r}}function Z(i,e,t,r){let{allowValuesOverlap:a,stepsProvider:n,resolution:o,min:s,max:l}=i,c=e.get(t);if(r=r>0?1:-1,!n){let g=P(c+r*o,s,l);if(a)return g;let f=new Set;for(let[x,C]of e)x!==t&&f.add(C);for(;f.has(g)&&g<=l&&g>=s;){let x=g;if(g=P(g+r*o,s,l),g===x)return c}return f.has(g)||g>l||g<s?c:g}let h=n.valueToIndex(c);if(h===-1)return c;if(a){let g=P(h+r,n.minIndex,n.maxIndex);return n.indexToValue(g)}let u=new Set;for(let[g,f]of e)g!==t&&u.add(n.valueToIndex(f));let d=h,m=!1,p=n.minIndex,v=n.maxIndex,b=0;for(;b<Math.abs(v-p)&&(d+=r,!(d<p||d>v));){if(!u.has(d)){m=!0;break}b++}return m?n.indexToValue(d):c}function qe(i,e,t,r){let{allowValuesOverlap:a,stepsProvider:n,resolution:o,min:s,max:l}=i,c=e.get(t);if(r=r>0?1:-1,!n){let m=new Set(Array.from(e).filter(([v])=>v!==t).map(([,v])=>v)),p=r>0?l:s;if(a)return p;for(;m.has(p);)if(p-=r*o,r>0&&p>l||r<0&&p<s){p=c;break}return p}if(a)return r>0?n.indexToValue(n.maxIndex):n.indexToValue(n.minIndex);let h=n.valueToIndex(c);if(h===-1)return c;let u=new Set(Array.from(e).filter(([m])=>m!==t).map(([,m])=>n.valueToIndex(m))),d=r>0?n.maxIndex:n.minIndex;for(;u.has(d);)if(d-=r,r>0&&d>l||r<0&&d<s){d=h;break}return n.indexToValue(d)}function We(i,e,t){let{stepsProvider:r,min:a,max:n}=i,o=new Map,s=Array.from(e).sort((c,h)=>ke(c[1],h[1]));if(r){let c=0;if(t>0){let h=s[s.length-1],u=r.valueToIndex(h[1]);c=r.maxIndex-u}else{let h=s[0],u=r.valueToIndex(h[1]);c=r.minIndex-u}if(c===0)for(let[h,u]of s)o.set(h,u);for(let[h,u]of s){let d=r.indexToValue(r.valueToIndex(u)+c);o.set(h,d)}return o}let l=0;if(t>0){let c=s[s.length-1];l=n-c[1]}else{let c=s[0];l=a-c[1]}for(let[c,h]of s)o.set(c,h+l);return o}function ke(i,e){return i-e}function Ye(i,e){return e-i}function P(i,e,t){return Math.max(e,Math.min(t,i))}var Ge=me(w),J=class extends ne{constructor(){super(...arguments),this._direction=le(),this._stepsProvider=null,this._popoverElement=K(),this._trackElement=K(),this.messages=ce({}),this._onPointerMoveDragUpdate=e=>{this._updateDrag(this._mapEventToRange(e))},this._onPointerUpDragEnd=e=>{F(e)&&this._endDrag()},this._onPointerCancelDragEnd=()=>{this._endDrag()},this._formatLabel=(e,t,r)=>{let a=he(this.messages._lang,t),n=this.labelFormatter;return n?n(r,e,s=>a.format(s))??a.format(r):a.format(r)},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(()=>{this._layoutLabelInputs(),this._updatePopoverReferenceElement()}),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=Ge(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})}static{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:{fromAttribute(e){if(e.includes(","))return e.split(",").filter(r=>r.trim()!=="").map(parseFloat).filter(r=>Number.isFinite(r));let t=parseFloat(e);return Number.isFinite(t)?t:void 0}}}],valueLabelsDisplay:3,valueLabelsPlacement:3,valueLabelsEditingEnabled:5,keyboardLargeStep:9,values:[1,{converter:{fromAttribute(e){return e.includes(",")?e.split(",").filter(t=>t.trim()!=="").map(parseFloat).filter(t=>Number.isFinite(t)):[parseFloat(e)].filter(t=>Number.isFinite(t))}}}],messageOverrides:0}}static{this.styles=Se}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}get _fullMin(){return this.fullRangeMin??this.min}get _fullMax(){return this.fullRangeMax??this.max}get _fullRange(){return this._fullMax-this._fullMin}get isHorizontal(){return this.layout==="horizontal"}get _trackWidthOrHeight(){let e=this._trackElement.value?.getBoundingClientRect();return e?this.isHorizontal?e.width:e.height:0}get _disabledOrInvalid(){return this.disabled||this.values.length===0||this._invalid}get _invalid(){let e=this.fullRangeMin==null||this.fullRangeMax==null||this.fullRangeMin<this.fullRangeMax,t=this.fullRangeMin==null||this.fullRangeMin<=this.min,r=this.fullRangeMax==null||this.fullRangeMax>=this.max;return this.min>=this.max||!e||!t||!r}get resolution(){let e=(this._sliderData.max-this._sliderData.min)/this._trackWidthOrHeight;return Math.max(e,1/Math.pow(10,this.precision))}get activeValue(){if(this._activePart)return this._activePart==="range"?"all":this._sliderData.getValue(this._activePart)}async destroy(){await this.manager.destroy()}load(){this._sliderData.startup()}willUpdate(e){if((e.has("steps")||e.has("min")||e.has("max"))&&(this._stepsProvider=He(this)),(e.has("values")||e.has("steps")||e.has("min")||e.has("max")||e.has("precision")||e.has("allowValuesOverlap"))&&!this.allowValuesOverlap){let t=this._resolveOverlappingValues();t&&this._setValues(t)}if(e.has("messages")||e.has("min")||e.has("max")||e.has("precision")||e.has("labelFormatter")){let t=this.max!=null&&this.min!=null&&this.max-this.min>10?2:this.precision;this._numberFormatOptions={maximumFractionDigits:t},this._minFormatter=this._createFormatter("min",this._numberFormatOptions),this._maxFormatter=this._createFormatter("max",this._numberFormatOptions),this._valueFormatter=this._createFormatter("value",this._numberFormatOptions)}if(e.has("values")){let t=this._resolveFillPlacement(this.values.length>1);t!==this.fillPlacement&&(this.fillPlacement=t)}}updated(e){this._layoutLabelInputs();let t=this._popoverElement.value;t&&(e.has("values")||e.has("min")||e.has("max"))&&t.reposition()}loaded(){this._resizeObserver.observe(this.el),this._updatePopoverReferenceElement()}disconnectedCallback(){super.disconnectedCallback(),this._removeDragListeners()}_makeResizeRef(){let e=null;return t=>{t?(e=t,this._resizeObserver.observe(t)):e&&(this._resizeObserver.unobserve(e),e=null)}}async _layoutLabelInputs(){if(!this._trackElement.value||this.valueLabelsDisplay==="hidden")return;let e=this.renderRoot.querySelectorAll("arcgis-label-input"),t=this.componentOnReady().then(()=>Promise.all(Array.from(e,s=>s.updateComplete)));if(this._labelInputsUpdateComplete=t,await t,t!==this._labelInputsUpdateComplete)return;this._labelInputsUpdateComplete=null;let r=this._trackElement.value;if(!r)return;let a=r.getBoundingClientRect(),n=[],o=this.isHorizontal;for(let s of this._sliderData.entries.keys()){let l=this._activePart==="range"||this._activePart===s;if(this.valueLabelsDisplay==="always"||l){let c=Je(this,s),h=be(this,s);if(!c||!h)continue;let u=c.getBoundingClientRect(),d=o?u.left+u.width/2:u.top+u.height/2;if(o){let m=h.getBoundingClientRect(),p=h.getLabelBoundingClientRect(),v=u.width/2,b=Math.round(p.width/2),g=m.width/2,f=a.left-v,x=a.right+v,C=d-b,I=d+b;C<f?g+=C-f:I>x&&(g+=I-x),h.style.transform=`translateX(${-Math.round(g)}px)`}else h.style.removeProperty("transform");n.push({handleBounds:u,handleCenter:d,labelInput:h})}}this._layoutCollidingLabelInputs(n)}_layoutCollidingLabelInputs(e){let t=this.isHorizontal,r=Array.from(this.renderRoot.querySelectorAll(".label-separator")),a=e.slice().sort((s,l)=>s.handleCenter-l.handleCenter);if(a.length===0)return;let n=this._trackElement.value?.getBoundingClientRect(),o=a.map(s=>[s]);for(let s=0;s<a.length;s++){for(let c of r)c.hidden=!0,c.style.removeProperty("left");let l=0;for(let c of o){let h=(c[0].handleCenter+c[c.length-1].handleCenter)/2,u=c.reduce((m,p)=>m+(t?p.labelInput.getBoundingClientRect().width:p.labelInput.getBoundingClientRect().height),0),d=c.length===1?t?c[0].labelInput.getBoundingClientRect().left:c[0].labelInput.getBoundingClientRect().top:h-u/2;if(n&&c.length>1){let m=c[0],p=c[c.length-1];if(t){let v=m.labelInput.getLabelBoundingClientRect().left-m.labelInput.getBoundingClientRect().left,b=p.labelInput.getBoundingClientRect().right-p.labelInput.getLabelBoundingClientRect().right,g=n.left-m.handleBounds.width/2-v,f=n.right+p.handleBounds.width/2+b-u;d=T(d,g,f)}else{let v=m.labelInput.getBoundingClientRect().height/2,b=p.labelInput.getBoundingClientRect().height/2,g=n.top-v,f=n.bottom+b-u;d=T(d,g,f)}}for(let m=0;m<c.length;m++){let p=c[m],v=p.labelInput.getBoundingClientRect(),b=t?v.width:v.height,g=(t?v.left:v.top)+b/2,f=this._getLabelTranslate(p.labelInput,t),x=d+b/2,C=`${t?"translateX":"translateY"}(${Math.round(f+x-g)}px)`;if(p.labelInput.style.transform!==C&&(p.labelInput.style.transform=C),d+=b,t&&m<c.length-1){let I=r[l++];if(!I)continue;I.hidden=!1,I.style.left=`${d-(n?.left??0)}px`}}}if(!this._mergeCollidingLabelGroups(o))break}}_mergeCollidingLabelGroups(e){let t=this.isHorizontal;for(let r=0;r<e.length-1;){let a=e[r],n=e[r+1],o=a[a.length-1],s=n[0],l=o.labelInput.getBoundingClientRect(),c=s.labelInput.getBoundingClientRect(),h=t?l.right:l.bottom;if((t?c.left:c.top)>h)r++;else return a.push(...n),e.splice(r+1,1),!0}return!1}_getLabelTranslate(e,t){let r=t?/translateX\((-?\d+(?:\.\d+)?)px\)/u:/translateY\((-?\d+(?:\.\d+)?)px\)/u,a=e.style.transform.match(r);return a?Number.parseFloat(a[1]):0}_onTrackFocus(){this._setActivePart("range")}_onTrackBlur(){this._setActivePart(null)}_onTrackRangePointerDown(e){this._disabledOrInvalid||!F(e)||(e.preventDefault(),e.currentTarget.focus(),this._startDrag("range",this._mapEventToRange(e)))}async _onPointerDown(e){if(this._disabledOrInvalid||!F(e))return;let t=this.renderRoot.querySelector("arcgis-label-input[editing]");if(e.target===t)return;if(t){t.blur(),this._focusEntry(V(t));return}if(Xe(e.target)||this.values?.length>1)return;let r=this._mapEventToRange(e),[a,n]=this._sliderData.entries.entries().next().value,o=r*this._fullRange+this._fullMin-n,s=N(this._fullMin,this._fullMax,n)/100;this._startDrag(a,s);let l=H(this._stepsProvider,this._sliderData.entries,a,o,{allowValuesOverlap:this.allowValuesOverlap,precision:this.precision,min:this.min,max:this.max});this._setValue(a,l),this._focusEntry(a)}_onThumbPointerDown(e){let t=V(e.currentTarget);if(!F(e)||this._disabledOrInvalid||!t)return;let r=be(this,t);e.target===r&&r?.editing||(e.stopPropagation(),e.preventDefault(),this._focusEntry(t),this._startDrag(t,this._mapEventToRange(e)))}_onFixedThumbPointerDown(e){this._disabledOrInvalid||!F(e)||(e.preventDefault(),e.currentTarget.focus())}_endDrag(){if(this._disabledOrInvalid)return;this._removeDragListeners();let e=!1;if(this._dragInfo){let{entries:t}=this._dragInfo;for(let[r,a]of t)if(this._sliderData.getValue(r)!==a){e=!0;break}}this._dragInfo=null,e&&this.arcgisChange.emit()}_startDrag(e,t){if(this._disabledOrInvalid)return;let{min:r,max:a,values:n}=this,o=r,s=a;if(this._setActivePart(e),e==="range"){if(this.segmentsDraggingDisabled)return;o=r-n[0],s=a-n[n.length-1]}this._dragInfo={position:t,entries:new Map(this._sliderData.entries.entries()),minDiff:o,maxDiff:s},this._addDragListeners()}_updateDrag(e){if(!this._dragInfo||!this._activePart)return;let{_activePart:t,_dragInfo:{position:r,entries:a,minDiff:n,maxDiff:o}}=this;if(r===e)return;let s=(e-r)*this._fullRange;if(t==="range"){s=Math.min(o,Math.max(n,s));let l=Ne(this._stepsProvider,a,s);this._setValues(l)}else{let l=H(this._stepsProvider,a,t,s,{allowValuesOverlap:this.allowValuesOverlap,precision:this.precision,min:this.min,max:this.max});this._setValue(t,l)}}_focusEntry(e){e&&fe(this,e)?.focus()}_addDragListeners(){document.addEventListener("pointerup",this._onPointerUpDragEnd),document.addEventListener("pointermove",this._onPointerMoveDragUpdate),document.addEventListener("pointercancel",this._onPointerCancelDragEnd)}_removeDragListeners(){document.removeEventListener("pointerup",this._onPointerUpDragEnd),document.removeEventListener("pointermove",this._onPointerMoveDragUpdate),document.removeEventListener("pointercancel",this._onPointerCancelDragEnd)}_setValues(e){this._sliderData.setValues(e)&&(this._dragInfo||this.arcgisChange.emit(),this.arcgisInput.emit())}_setValue(e,t){this._sliderData.setValue(e,t)&&(this._dragInfo||this.arcgisChange.emit(),this.arcgisInput.emit())}_resolveOverlappingValues(){let e=new Map(this._sliderData.entries),t=Array.from(e.entries()).sort((a,n)=>a[1]-n[1]),r=!1;for(let[a,n]of t){let o=T(n,this.min,this.max);if(!Array.from(e).some(([l,c])=>l!==a&&T(c,this.min,this.max)===o))continue;let s=H(this._stepsProvider,e,a,o-n,{allowValuesOverlap:!1,precision:this.precision,min:this.min,max:this.max});s!==n&&(r=!0),e.set(a,s)}return r?e:null}_onThumbFocus(e){let t=V(e.currentTarget);this._setActivePart(t)}_onThumbBlur(){this._setActivePart(null)}_onRangeInputChange(e){let t=e.currentTarget,r=t.value,a=t.dataset.type,n=!1;switch(e.stopPropagation(),a){case"min":{r<this.max?(this.min=r,n=!0):t.value=this.min;break}case"max":{r>this.min?(this.max=r,n=!0):t.value=this.max;break}}n&&this.arcgisRangeChange.emit()}_onValueInputChange(e){let t=e.currentTarget,r=V(t),a=t.value;if(r){e.stopPropagation();let n=this._sliderData.getValue(r),o=H(this._stepsProvider,this._sliderData.entries,r,a-n,{allowValuesOverlap:this.allowValuesOverlap,precision:this.precision,min:this.min,max:this.max});this._setValue(r,o),t.value=this._sliderData.getValue(r)}}_mapEventToRange(e){let t=this._trackElement.value?.getBoundingClientRect();if(!t)return 0;let r=this.isHorizontal?(e.clientX-t.left)/t.width:1-(e.clientY-t.top)/t.height;return this.mirrored?1-r:r}_getPositionStyleForElement(e){let t=N(this._fullMin,this._fullMax,e);return{[this.isHorizontal?this.mirrored?"right":"left":this.mirrored?"top":"bottom"]:`${t}%`}}_popoverSlotChange(e){this._hasPopoverContent=A(e),this._updatePopoverReferenceElement()}_onPopoverBeforeOpen(e){e.target===this._popoverElement.value&&this._popoverElement.value.style.removeProperty("visibility")}_onPopoverBeforeClose(e){e.target===this._popoverElement.value&&(this._popoverElement.value.style.visibility="hidden")}async _onPopoverClose(){this._nextPopoverReferenceElement!=null&&(this._measurablePopoverReferenceElement=this._nextPopoverReferenceElement,await this.updateComplete,this._nextPopoverReferenceElement=null)}_onContentStartSlotChange(e){this._hasContentStart=A(e)}_onContentEndSlotChange(e){this._hasContentEnd=A(e)}_onThumbKeyDown(e){let t=V(e.currentTarget);if(!t)return;let r=e.currentTarget.querySelector("arcgis-label-input");if(!r||r.editing)return;if(e.key===_.confirmEdit){r.edit();return}let a=pe(e,this.keyboardLargeStep,this.mirrored);if(a){e.preventDefault();let n=je(this._getStepsConfiguration(),this._sliderData.entries,t,a.direction,a.count);this._setValue(t,n);return}if(ve(e.key)){e.preventDefault();let n=qe(this._getStepsConfiguration(),this._sliderData.entries,t,this._getDirectionForHomeEndKey(e.key));this._setValue(t,n)}}_onTrackRangeKeyDown(e){if(this._disabledOrInvalid)return;let t=pe(e,this.keyboardLargeStep,this.mirrored);if(t){e.preventDefault();let{entries:r}=Ue(this._getStepsConfiguration(),this._sliderData.entries,t.direction,t.count);this._setValues(r);return}if(ve(e.key)){e.preventDefault();let r=We(this._getStepsConfiguration(),this._sliderData.entries,this._getDirectionForHomeEndKey(e.key));this._setValues(r)}}_getStepsConfiguration(){return{allowValuesOverlap:this.allowValuesOverlap,stepsProvider:this._stepsProvider,resolution:this.resolution,min:this.min,max:this.max}}_getDirectionForHomeEndKey(e){return this.isHorizontal&&this.mirrored||this.layout==="vertical"?e===_.jumpToEnd?-1:1:e===_.jumpToStart?-1:1}_setActivePart(e){this._activePart!==e&&(this._activePart=e,this._updatePopoverReferenceElement(),this.arcgisActiveValueChange.emit())}_resolveFillPlacement(e){let{fillPlacement:t}=this;return e?t==="between"||t==="not-between"||t==="none"?t:"between":t==="start"||t==="end"||t==="none"?t:"start"}_updatePopoverReferenceElement(){let{_activePart:e,popoverDisplay:t}=this,r="";if(this._hasPopoverContent)if(t==="always"&&this.values.length>1){let c=Array.from(this._sliderData.entries),[h,u]=c[0];r=c.every(([,d])=>d===u)?h:"track-range"}else e&&Ze(e)?r=e:this.values.length>1?r="track-range":r=this._sliderData.entries.keys().next().value??"";let a=null;r&&(r==="track-range"?a=this.renderRoot.querySelector("#track-range"):a=fe(this,r));let n=a?.getBoundingClientRect(),o=n&&n.width>0&&n.height>0?r:"",s=!!this._popoverElement.value?.open,l=this._hasPopoverContent&&!!o&&(this.popoverDisplay==="always"||!!this._activePart);this._nextPopoverReferenceElement!=null?this._nextPopoverReferenceElement=o:o!==this._measurablePopoverReferenceElement&&(s||l)?(this._nextPopoverReferenceElement=o,s||this._onPopoverClose()):this._measurablePopoverReferenceElement=o}render(){return y`<div class=${R({content:!0,disabled:this._disabledOrInvalid})} @pointerdown=${this._onPointerDown}>${this._renderContentStart()}${this._renderContentEnd()}${this._renderRangeLabel("min")}${this._renderTrackRange()}${this._renderRangeLabel("max")}${this._renderPopover()}</div>`}_renderPopover(){let{_activePart:e,layout:t,popoverDisplay:r,popoverLabel:a,popoverPlacement:n,valueLabelsDisplay:o,valueLabelsPlacement:s}=this,l=this._measurablePopoverReferenceElement,c=this._hasPopoverContent&&!!l&&(r==="always"||!!e)&&this._nextPopoverReferenceElement==null,h=t==="horizontal"?n==="start"?"top":"bottom":n==="start"?"left":"right",u=14;return l&&l!=="track-range"&&(u-=1),o!=="hidden"&&n===s&&(u+=24),y`<calcite-popover class="popover" focus-trap-disabled .label=${a} .open=${c} .offsetDistance=${u} .placement=${h} .referenceElement=${l} scale=s trigger-disabled @calcitePopoverBeforeOpen=${this._onPopoverBeforeOpen} @calcitePopoverBeforeClose=${this._onPopoverBeforeClose} @calcitePopoverClose=${this._onPopoverClose} ${O(this._popoverElement)}><slot name=popover @slotchange=${this._popoverSlotChange}></slot></calcite-popover>`}_renderContentStart(){return y`<div class="content-start" .hidden=${!this._hasContentStart}><slot name=content-start @slotchange=${this._onContentStartSlotChange}></slot></div>`}_renderContentEnd(){return y`<div class="content-end" .hidden=${!this._hasContentEnd}><slot name=content-end @slotchange=${this._onContentEndSlotChange}></slot></div>`}_renderTrackRange(){return y`<div class="track-container">${this._renderTrack()}<slot name=track-overlay></slot>${this._renderThumbs()}${this._renderLabelSeparators()}</div>`}_renderLabelSeparators(){let e=Math.max(0,this.values.length-1);return Array.from({length:e},(t,r)=>q(r,y`<div aria-hidden=true class="label-separator" hidden></div>`))}_renderTrack(){return y`<div class="track" ${O(this._trackElement)}>${this._renderTrackBackground()}${this._renderFillSegment()}</div>`}_renderTrackBackground(){let{max:e,min:t,fillPlacement:r,values:a}=this,n=a.length>1,o=this._fullMin,s=this._fullMax,l=[];return this._invalid?y`<div class="segment track-bounds" style=${z({left:"0%",right:"0%",top:"0%",bottom:"0%"})}></div>`:(o<t&&(l.push(this._renderSegment(o,t,[this.mirrored?"track-effective-end":"track-effective-start",!n&&r==="start"?"track-fill":null])),o=t),s>e&&(l.push(this._renderSegment(e,s,[this.mirrored?"track-effective-start":"track-effective-end",!n&&r==="end"?"track-fill":null])),s=e),l.push(this._renderSegment(o,s,["track-bounds"])),l)}_renderFillSegment(){let{values:e,min:t,max:r}=this;if(!e?.length||this._invalid)return;let a=[...e].sort((u,d)=>u-d),n=a[0],o=a[a.length-1],s=this._resolveFillPlacement(a.length>1),l;switch(s){case"start":t<n&&(l=this._renderSegment(t,n,["track-range"]));break;case"end":r>o&&(l=this._renderSegment(o,r,["track-range"]));break;case"between":a.length>1&&(l=this._renderSegment(n,o,["track-range"]));break;case"not-between":a.length>1&&(l=[this._renderSegment(t,n,["track-range"]),this._renderSegment(o,r,["track-range"])]);break}if(!(a.length>1))return l;let c=this.segmentsDraggingDisabled,h=this._renderSegment(n,o,["track-range-interactive",s==="between"?"filled":null,c?null:"interactive",this._activePart==="range"&&!this.segmentsDraggingDisabled?"active":null],{id:"track-range",onFocus:c?void 0:this._onTrackFocus,onBlur:c?void 0:this._onTrackBlur,onPointerDown:c?void 0:this._onTrackRangePointerDown,onKeyDown:c?void 0:this._onTrackRangeKeyDown});return[l,h]}_renderSegment(e,t,r,a){let{_fullMin:n,_fullMax:o,mirrored:s}=this,l=[N(n,o,T(e,n,o)),100-N(n,o,T(t,n,o))];s&&l.reverse();let c=this.isHorizontal?{left:`${l[0]}%`,right:`${l[1]}%`}:{top:`${l[1]}%`,bottom:`${l[0]}%`},h=ae("segment",...r);return y`<div id=${a?.id??E} class=${R(h)} style=${z(c)} .tabIndex=${a?.onPointerDown?0:-1} @focus=${a?.onFocus} @blur=${a?.onBlur} @pointerdown=${a?.onPointerDown} @keydown=${a?.onKeyDown}></div>`}_renderThumbs(){let{_sliderData:e}=this,t=Array.from(e.entries).filter(([,a])=>a>=this._fullMin&&a<=this._fullMax),r=t.map(([,a])=>a).sort((a,n)=>a-n);if(this.valuesDraggingDisabled&&r.length>1){let a=r[0],n=r.at(-1);if(a!=null&&n!=null){let o=(a+n)/2;return[this._renderFixedThumb(o),W(t,([s,l])=>this._renderThumb(s,l,!0))]}}return W(t,([a,n])=>this._renderThumb(a,n,!1))}_renderFixedThumb(e){let{_disabledOrInvalid:t,segmentsDraggingDisabled:r,isHorizontal:a}=this;return y`<div .ariaLabel=${this.messages.sliderValue} .ariaOrientation=${a?"horizontal":"vertical"} .ariaValueMax=${this.max} .ariaValueMin=${this.min} .ariaValueNow=${e} class=${R({thumb:!0,"fixed-thumb":!0,active:this._activePart==="range"})} @blur=${this._onTrackBlur} @focus=${this._onTrackFocus} @keydown=${r?void 0:this._onTrackRangeKeyDown} @pointerdown=${r?this._onFixedThumbPointerDown:this._onTrackRangePointerDown} role=slider style=${z({...this._getPositionStyleForElement(e),"z-index":this._activePart==="range"?1:0})} .tabIndex=${t?-1:0}><div class="thumb-content"><span class="handle"></span></div></div>`}_renderThumb(e,t,r){let{valueLabelsDisplay:a}=this,n=this._disabledOrInvalid,o=!r&&(this._activePart===e||this._activePart==="range"),s=!r&&(this._activePart==="range"||this._activePart===e),l=a==="always"||a==="auto"&&(s||r&&this._activePart==="range"),c=this.isHorizontal,h=c?"horizontal":"vertical",u=`label-${e}`,d=c?"center":this.valueLabelsPlacement==="start"?"end":"start";return q(e,y`<div id=${e??E} .ariaLabel=${this.messages.sliderValue} aria-labelledby=${(a?u:void 0)??E} .ariaOrientation=${h} .ariaValueMin=${this.min} .ariaValueMax=${this.max} .ariaValueNow=${t} .ariaValueText=${this._valueFormatter(t)} class=${R({thumb:!0,active:o,"labels-only":r})} data-entry=${e??E} @pointerdown=${r?void 0:this._onThumbPointerDown} @focus=${r?void 0:this._onThumbFocus} @blur=${r?void 0:this._onThumbBlur} @keydown=${r?void 0:this._onThumbKeyDown} role=slider style=${z({...this._getPositionStyleForElement(t),"z-index":this._activePart===e?2:1})} .tabIndex=${r||n?-1:0}><div class="thumb-content"><span class="handle"></span><arcgis-label-input .alignment=${d} class="label" .hidden=${!l} id=${u??E} .labelFormatter=${this._valueFormatter} @focus=${n?void 0:this._onThumbFocus} @blur=${n?void 0:this._onThumbBlur} @arcgisChange=${this._onValueInputChange} .readOnly=${!this.valueLabelsEditingEnabled} tabindex=-1 .value=${t} ${O(this._makeResizeRef())}></arcgis-label-input></div></div>`)}_renderRangeLabel(e){let t="center";if(this.isHorizontal){t=e==="min"?"end":"start";let r=()=>{t=t==="end"?"start":"end"};this.rangeLabelsPlacement==="end"&&r(),this.mirrored&&r(),this._direction==="rtl"&&r()}return y`<arcgis-label-input .alignment=${t} class=${R(e)} data-type=${e??E} .hidden=${!this.showRangeLabels} .labelFormatter=${this[`_${e}Formatter`]} @arcgisChange=${this._onRangeInputChange} .readOnly=${!this.rangeLabelsEditingEnabled} .value=${this[e]}></arcgis-label-input>`}};function Xe(i){return"dataset"in i&&i.tagName==="ARCGIS-LABEL-INPUT"&&(i.dataset.type==="min"||i.dataset.type==="max")}function V(i){let e=se(i,"[data-entry]");return e&&"dataset"in e?e.dataset.entry:null}function Ze(i){return typeof i!=null&&i!=="range"}function fe(i,e){return e?i.renderRoot.querySelector(`div[data-entry="${e}"]`):null}function Je(i,e){return e?i.renderRoot.querySelector(`div[data-entry="${e}"] span.handle`):null}function be(i,e){return e?i.renderRoot.querySelector(`div[data-entry="${e}"] arcgis-label-input`):null}function F(i){return i.isPrimary&&i.button===0}var Qe=5;function N(i,e,t){let r=e-i,a=(t-i)/r*100;return Number.parseFloat(a.toFixed(Qe))}function T(i,e,t){return Math.max(e,Math.min(t,i))}ie("arcgis-slider",J);return J},"core/reactiveUtils","applications/Components/reactiveUtils","core/accessorSupport/decorators","core/Accessor","core/Accessor","core/accessorSupport/decorators","core/reactiveUtils")
2
+ import{a as he}from"./PMV2N3L3.js";import{a as ce}from"./24JPS4UK.js";import{a as oe,c as le}from"./VTAQRKNF.js";import{a as A,c as ae,e as se}from"./H4Q2JVNO.js";import{a as q}from"./ZA4TGNE2.js";import{J as K,K as O,L as ne,M as R,N as z,O as E,R as ie,h as Q,j as y,q as ee,r as te,t as M,v as re,w as j}from"./JEPW4X7U.js";export default $arcgis.t(([{on:rt,watch:de},{createObservable:we,trackAccess:Pe},{property:ot,subclass:lt},ht,$e,{property:$,subclass:Ie},{watch:Y}])=>{var ue=(i,e)=>t=>De(t,i),B=class extends re{constructor(e,t){super(e),this.Y=new Map,this.A=void 0,this.#r=we();let r=this;r.#e=t,r.Z(),r.setProvisionalExports(ge(e,new WeakRef(r),e.M.length-1,r.instance,r.Y),!1),ee(e,a=>{if(a){let n=de(()=>e[a],o=>{if(o===r.instance)return;let s=r.instance;r.exports=o,r.instance=o,r.Y.forEach((l,c)=>e.requestUpdate(l,s[c])),r.#t&&s.destroy(),r.#t=!1},{sync:!0});r.onDestroy(n.remove)}},r.exports)}#t;#r;#e;get exports(){return Pe(this.#r),super.exports}set exports(e){super.exports=e,this.#r.notify()}Z(){let e=this;e.instance="prototype"in e.#e&&"declaredClass"in e.#e.prototype?new e.#e:e.#e(),e.#t=!0}hostConnected(){this.exports=this.instance}hostDestroy(){this.#t&&this.instance.destroy?.()}},De=oe(B),ge=(i,e,t,r,a)=>new Proxy(r,{get:(n,o)=>{let s=n[o];if(typeof o=="symbol"||a.has(o))return s;let l=i.M[t];return l.A=o,te(i,c=>{if(l.A=void 0,c!==void 0){let h=c.key;a.set(o,h);let u=i.constructor.getPropertyOptions(h),d=o!==h&&h.toLowerCase().includes("disable");Ce(e,u,o,h,d),u.i===void 0&&Ee(u,t,o,d)}},s)}}),Ce=(i,e,t,r,a,n)=>n=de(()=>{let o=i.deref();return o===void 0||o.component.manager.destroyed?n=n.remove():o.exports[t]},(o,s)=>{if(!n)return;i.deref().component?.requestUpdate(r,a?!s:s),e.c=!1},{sync:!0}),Ee=(i,e,t,r)=>{i.d.get=function(){let a=this.M[e]?.exports[t];return r?!a:a},i.d.set=function(a){let n=this.M[e];n.A!==t&&(n.exports[t]=r?!a:a)}};var me=ue;function*W(i,e){if(i!==void 0){let t=0;for(let r of i)yield e(r,t++)}}var _={increment:"ArrowUp",incrementHorizontal:"ArrowRight",decrement:"ArrowDown",decrementHorizontal:"ArrowLeft",pageIncrement:"PageUp",pageDecrement:"PageDown",jumpToStart:"Home",jumpToEnd:"End",confirmEdit:"Enter"};function pe({key:i,shiftKey:e},t,r){let a=Re(i);if(a==null)return null;let n=Me(i)||Te(i)&&e?ze(t):1;return{direction:r?a*-1:a,count:n}}function Re(i){return i===_.increment||i===_.incrementHorizontal||i===_.pageIncrement?1:i===_.decrement||i===_.decrementHorizontal||i===_.pageDecrement?-1:null}function ve(i){return i===_.jumpToEnd||i===_.jumpToStart}function Te(i){return i===_.increment||i===_.decrement||i===_.decrementHorizontal||i===_.incrementHorizontal}function Me(i){return i===_.pageIncrement||i===_.pageDecrement}function ze(i){let e=Number.isFinite(i)?Math.floor(i):1;return Math.max(1,e)}var Se=Q`: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)}}}`,Ve=Object.defineProperty,Fe=Object.getOwnPropertyDescriptor,_e=i=>{throw TypeError(i)},D=(i,e,t,r)=>{for(var a=r>1?void 0:r?Fe(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(a=(r?o(e,t,a):o(a))||a);return r&&a&&Ve(e,t,a),a},xe=(i,e,t)=>e.has(i)||_e("Cannot "+t),Le=(i,e,t)=>(xe(i,e,"read from private field"),e.get(i)),Oe=(i,e,t)=>e.has(i)?_e("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(i):e.set(i,t),Ae=(i,e,t,r)=>(xe(i,e,"write to private field"),e.set(i,t),t),U;function Be(){return{min:0,max:100,values:[]}}var w=class extends $e{constructor(i={}){super({...Be(),properties:i}),this._entries=new Map,this.precision=4,this.ready=!1,Oe(this,U)}startup(){let{precision:i}=this,{min:e,max:t,values:r}=this;t=k(t,i),e=k(e,i),r=r?.map(n=>L(k(n,i),e,t)).sort((n,o)=>n-o),this._set("min",e),this._set("max",t),this._set("values",r);let a=new Map(r?.map(n=>[j(),n]));this._entries=a,Y(()=>this.min,n=>{let o=this.values;n!=null&&o?.length&&o.some(s=>s<n)&&(this._entries.forEach((s,l)=>{s<n&&this._entries.set(l,n)}),this._updatesValues())},{sync:!0}),Y(()=>this.max,n=>{let o=this.values;n!=null&&o?.length&&o.some(s=>s>n)&&(this._entries.forEach((s,l)=>{s>n&&this._entries.set(l,n)}),this._updatesValues())},{sync:!0}),Y(()=>this.precision,n=>{let{min:o,max:s,values:l}=this;this._set("min",k(o,n)),this._set("max",k(s,n)),l?.length&&(this._entries.forEach((c,h)=>{this._entries.set(h,k(c,n))}),this._updatesValues())},{sync:!0}),this._set("ready",!0)}get entries(){return this._entries}set max(i){if(!this.ready){this._set("max",i);return}let e=this._get("max"),t=k(i,this.precision);e!==t&&this._set("max",t)}set min(i){if(!this.ready){this._set("min",i);return}let e=this._get("min"),t=k(i,this.precision);e!==t&&this._set("min",t)}set values(i){if(Le(this,U)===i)return;if(Ae(this,U,i),!this.ready){this._set("values",i);return}let e=this._get("values");if(i=i?.map(r=>L(k(r,this.precision),this.min,this.max)).sort((r,a)=>r-a),e?.length===i?.length&&e.every((r,a)=>r===i[a]))return;if(this._entries.size===1&&i?.length===1){let r=this._entries.keys().next().value;if(r!==void 0){this._entries.set(r,i[0]),this._set("values",i);return}}let t=new Map(i?.map(r=>[j(),r]));this._entries=t,this._set("values",i)}getValue(i){return this._entries.get(i)}setValue(i,e){if(this.values==null)return!1;let{min:t,max:r}=this,a=this._entries.get(i),n=L(k(e,this.precision),t,r);return a===n?!1:(this._entries.set(i,n),this._updatesValues(),!0)}setValues(i){if(this.values==null)return!1;let e=!1,{min:t,max:r}=this;for(let[a,n]of i){let o=this._entries.get(a),s=L(k(n,this.precision),t,r);o!==s&&(e=!0,this._entries.set(a,s))}return e?(this._updatesValues(),!0):!1}_updatesValues(){let i=Array.from(this._entries.values()).sort((e,t)=>e-t);this._set("values",i)}};U=new WeakMap;D([$()],w.prototype,"_entries",2);D([$({readOnly:!0})],w.prototype,"entries",1);D([$()],w.prototype,"max",1);D([$()],w.prototype,"min",1);D([$({cast:i=>L(i,0,20)})],w.prototype,"precision",2);D([$({readOnly:!0})],w.prototype,"ready",2);D([$()],w.prototype,"values",1);w=D([Ie("esri.widgets.Slider.SliderData")],w);function L(i,e,t){return Math.min(Math.max(i,e),t)}function k(i,e){return Number.parseFloat(i.toFixed(e))}var G=class{constructor(e){this.steps=e,this.minIndex=0,this.maxIndex=this.steps.length-1}indexToValue(e){return this.steps[P(e,this.minIndex,this.maxIndex)]}valueToIndex(e){let t=this.steps.indexOf(e);return t!==-1?t:this.steps.reduce((r,a,n,o)=>Math.abs(a-e)<Math.abs(o[r]-e)?n:r,0)}getClosestStepDistances(e,t){if(t<=0)return[];let r=[];for(let a=this.minIndex;a<=this.maxIndex;a++){let n=this.indexToValue(a),o=Math.abs(n-e),s=!1;for(let l=0;l<r.length;l++)if(o<r[l].dist){r.splice(l,0,{idx:a,value:n,dist:o}),s=!0;break}!s&&r.length<t&&r.push({idx:a,value:n,dist:o}),r.length>t&&(r.length=t)}return r}},X=class{constructor(e,t,r){this.min=e,this.max=t,this.stepSize=r,this.minIndex=0,this.maxIndex=Math.round((this.max-this.min)/this.stepSize)}indexToValue(e){return this.min+P(e,this.minIndex,this.maxIndex)*this.stepSize}valueToIndex(e){return e=P(e,this.min,this.max),Math.round((e-this.min)/this.stepSize)}getClosestStepDistances(e,t){if(t<=0)return[];let r=[],a=this.minIndex,n=this.maxIndex,o=(P(e,this.min,this.max)-this.min)/this.stepSize,s=Math.floor(o),l=s+1;for(;r.length<t&&(s>=a||l<=n);){if(s<a){let m=this.indexToValue(l);r.push({idx:l,value:m,dist:Math.abs(m-e)}),l++;continue}if(l>n){let m=this.indexToValue(s);r.push({idx:s,value:m,dist:Math.abs(m-e)}),s--;continue}let c=this.indexToValue(s),h=this.indexToValue(l),u=Math.abs(c-e),d=Math.abs(h-e);u<=d?(r.push({idx:s,value:c,dist:u}),s--):(r.push({idx:l,value:h,dist:d}),l++)}return r}};function He(i){if(i.steps==null)return null;let e=i.steps;return Array.isArray(e)?e.length===0?null:new G(e):e<=0?null:new X(i.min,i.max,e)}function Ne(i,e,t){if(i==null){let s=new Map;for(let[l,c]of e.entries())s.set(l,c+t);return s}let r=e.size,a=Array.from(e.entries()).map(([s,l])=>{let c=l+t,h=i.getClosestStepDistances(c,r);return{uuid:s,stepDistances:h}}),n=new Set,o=new Map;a.sort((s,l)=>s.stepDistances[0].dist-l.stepDistances[0].dist);for(let s of a){let l=s.stepDistances.find(c=>!n.has(c.idx));l?(n.add(l.idx),o.set(s.uuid,l.value)):o.set(s.uuid,e.get(s.uuid))}return o}function H(i,e,t,r,a){let{allowValuesOverlap:n,precision:o,min:s,max:l}=a,c=e.get(t)??0,h=c+r,u=r>=0?-1:1,d,m,p;if(i){let v=new Set;if(!n)for(let[f,x]of e.entries())f!==t&&v.add(i.valueToIndex(x));let b=i.getClosestStepDistances(h,e.size+1);b.sort((f,x)=>S(f.dist,o)-S(x.dist,o)||u*(x.value-f.value));let g=0;d=b[g].value,p=f=>!n&&v.has(i.valueToIndex(f)),m=()=>(g++,b[g]?.value)}else{let v=new Set;for(let[g,f]of e.entries())g!==t&&v.add(S(f,o));let b=1/Math.pow(10,o);d=P(S(h,o),s,l),p=g=>!n&&v.has(g),m=()=>{let g=S(d+u*b,o);return g===d||g<s||g>l?void 0:g}}if(!p(d))return d;for(;;){let v=m();if(v===void 0)return c;if(d=v,!p(d))return d}}function S(i,e){return Number.parseFloat(i.toFixed(e))}function Ue(i,e,t,r=1){let a=ye(r),n=e,o=!1;for(let s=0;s<a;s++){let l=Ke(i,n,t);if(o||=l.changed,n=l.entries,!l.changed)break}return{changed:o,entries:n}}function je(i,e,t,r,a=1){let n=ye(a);if(n===1)return Z(i,e,t,r);let o=new Map(e),s=o.get(t);for(let l=0;l<n;l++){let c=Z(i,o,t,r);if(c===s)break;s=c,o.set(t,s)}return s}function ye(i){let e=Number.isFinite(i)?Math.floor(i):1;return Math.max(1,e)}function Ke(i,e,t){let r=new Map,a=t>0?Ye:ke,n=Array.from(e).sort((l,c)=>a(l[1],c[1])),o=!1,s=!0;for(let[l,c]of n)if(r.set(l,c),s){let h=Z(i,r,l,t);c===h&&(s=!1),o||=s,r.set(l,h)}return{changed:o,entries:r}}function Z(i,e,t,r){let{allowValuesOverlap:a,stepsProvider:n,resolution:o,min:s,max:l}=i,c=e.get(t);if(r=r>0?1:-1,!n){let g=P(c+r*o,s,l);if(a)return g;let f=new Set;for(let[x,C]of e)x!==t&&f.add(C);for(;f.has(g)&&g<=l&&g>=s;){let x=g;if(g=P(g+r*o,s,l),g===x)return c}return f.has(g)||g>l||g<s?c:g}let h=n.valueToIndex(c);if(h===-1)return c;if(a){let g=P(h+r,n.minIndex,n.maxIndex);return n.indexToValue(g)}let u=new Set;for(let[g,f]of e)g!==t&&u.add(n.valueToIndex(f));let d=h,m=!1,p=n.minIndex,v=n.maxIndex,b=0;for(;b<Math.abs(v-p)&&(d+=r,!(d<p||d>v));){if(!u.has(d)){m=!0;break}b++}return m?n.indexToValue(d):c}function qe(i,e,t,r){let{allowValuesOverlap:a,stepsProvider:n,resolution:o,min:s,max:l}=i,c=e.get(t);if(r=r>0?1:-1,!n){let m=new Set(Array.from(e).filter(([v])=>v!==t).map(([,v])=>v)),p=r>0?l:s;if(a)return p;for(;m.has(p);)if(p-=r*o,r>0&&p>l||r<0&&p<s){p=c;break}return p}if(a)return r>0?n.indexToValue(n.maxIndex):n.indexToValue(n.minIndex);let h=n.valueToIndex(c);if(h===-1)return c;let u=new Set(Array.from(e).filter(([m])=>m!==t).map(([,m])=>n.valueToIndex(m))),d=r>0?n.maxIndex:n.minIndex;for(;u.has(d);)if(d-=r,r>0&&d>l||r<0&&d<s){d=h;break}return n.indexToValue(d)}function We(i,e,t){let{stepsProvider:r,min:a,max:n}=i,o=new Map,s=Array.from(e).sort((c,h)=>ke(c[1],h[1]));if(r){let c=0;if(t>0){let h=s[s.length-1],u=r.valueToIndex(h[1]);c=r.maxIndex-u}else{let h=s[0],u=r.valueToIndex(h[1]);c=r.minIndex-u}if(c===0)for(let[h,u]of s)o.set(h,u);for(let[h,u]of s){let d=r.indexToValue(r.valueToIndex(u)+c);o.set(h,d)}return o}let l=0;if(t>0){let c=s[s.length-1];l=n-c[1]}else{let c=s[0];l=a-c[1]}for(let[c,h]of s)o.set(c,h+l);return o}function ke(i,e){return i-e}function Ye(i,e){return e-i}function P(i,e,t){return Math.max(e,Math.min(t,i))}var Ge=me(w),J=class extends ne{constructor(){super(...arguments),this._direction=le(),this._stepsProvider=null,this._popoverElement=K(),this._trackElement=K(),this.messages=ce({}),this._onPointerMoveDragUpdate=e=>{this._updateDrag(this._mapEventToRange(e))},this._onPointerUpDragEnd=e=>{F(e)&&this._endDrag()},this._onPointerCancelDragEnd=()=>{this._endDrag()},this._formatLabel=(e,t,r)=>{let a=he(this.messages._lang,t),n=this.labelFormatter;return n?n(r,e,s=>a.format(s))??a.format(r):a.format(r)},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(()=>{this._layoutLabelInputs(),this._updatePopoverReferenceElement()}),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=Ge(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})}static{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:{fromAttribute(e){if(e.includes(","))return e.split(",").filter(r=>r.trim()!=="").map(parseFloat).filter(r=>Number.isFinite(r));let t=parseFloat(e);return Number.isFinite(t)?t:void 0}}}],valueLabelsDisplay:3,valueLabelsPlacement:3,valueLabelsEditingEnabled:5,keyboardLargeStep:9,values:[1,{converter:{fromAttribute(e){return e.includes(",")?e.split(",").filter(t=>t.trim()!=="").map(parseFloat).filter(t=>Number.isFinite(t)):[parseFloat(e)].filter(t=>Number.isFinite(t))}}}],messageOverrides:0}}static{this.styles=Se}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}get _fullMin(){return this.fullRangeMin??this.min}get _fullMax(){return this.fullRangeMax??this.max}get _fullRange(){return this._fullMax-this._fullMin}get isHorizontal(){return this.layout==="horizontal"}get _trackWidthOrHeight(){let e=this._trackElement.value?.getBoundingClientRect();return e?this.isHorizontal?e.width:e.height:0}get _disabledOrInvalid(){return this.disabled||this.values.length===0||this._invalid}get _invalid(){let e=this.fullRangeMin==null||this.fullRangeMax==null||this.fullRangeMin<this.fullRangeMax,t=this.fullRangeMin==null||this.fullRangeMin<=this.min,r=this.fullRangeMax==null||this.fullRangeMax>=this.max;return this.min>=this.max||!e||!t||!r}get resolution(){let e=(this._sliderData.max-this._sliderData.min)/this._trackWidthOrHeight;return Math.max(e,1/Math.pow(10,this.precision))}get activeValue(){if(this._activePart)return this._activePart==="range"?"all":this._sliderData.getValue(this._activePart)}async destroy(){await this.manager.destroy()}load(){this._sliderData.startup()}willUpdate(e){if((e.has("steps")||e.has("min")||e.has("max"))&&(this._stepsProvider=He(this)),(e.has("values")||e.has("steps")||e.has("min")||e.has("max")||e.has("precision")||e.has("allowValuesOverlap"))&&!this.allowValuesOverlap){let t=this._resolveOverlappingValues();t&&this._setValues(t)}if(e.has("messages")||e.has("min")||e.has("max")||e.has("precision")||e.has("labelFormatter")){let t=this.max!=null&&this.min!=null&&this.max-this.min>10?2:this.precision;this._numberFormatOptions={maximumFractionDigits:t},this._minFormatter=this._createFormatter("min",this._numberFormatOptions),this._maxFormatter=this._createFormatter("max",this._numberFormatOptions),this._valueFormatter=this._createFormatter("value",this._numberFormatOptions)}if(e.has("values")){let t=this._resolveFillPlacement(this.values.length>1);t!==this.fillPlacement&&(this.fillPlacement=t)}}updated(e){this._layoutLabelInputs();let t=this._popoverElement.value;t&&(e.has("values")||e.has("min")||e.has("max"))&&t.reposition()}loaded(){this._resizeObserver.observe(this.el),this._updatePopoverReferenceElement()}disconnectedCallback(){super.disconnectedCallback(),this._removeDragListeners()}_makeResizeRef(){let e=null;return t=>{t?(e=t,this._resizeObserver.observe(t)):e&&(this._resizeObserver.unobserve(e),e=null)}}async _layoutLabelInputs(){if(!this._trackElement.value||this.valueLabelsDisplay==="hidden")return;let e=this.renderRoot.querySelectorAll("arcgis-label-input"),t=this.componentOnReady().then(()=>Promise.all(Array.from(e,s=>s.updateComplete)));if(this._labelInputsUpdateComplete=t,await t,t!==this._labelInputsUpdateComplete)return;this._labelInputsUpdateComplete=null;let r=this._trackElement.value;if(!r)return;let a=r.getBoundingClientRect(),n=[],o=this.isHorizontal;for(let s of this._sliderData.entries.keys()){let l=this._activePart==="range"||this._activePart===s;if(this.valueLabelsDisplay==="always"||l){let c=Je(this,s),h=be(this,s);if(!c||!h)continue;let u=c.getBoundingClientRect(),d=o?u.left+u.width/2:u.top+u.height/2;if(o){let m=h.getBoundingClientRect(),p=h.getLabelBoundingClientRect(),v=u.width/2,b=Math.round(p.width/2),g=m.width/2,f=a.left-v,x=a.right+v,C=d-b,I=d+b;C<f?g+=C-f:I>x&&(g+=I-x),h.style.transform=`translateX(${-Math.round(g)}px)`}else h.style.removeProperty("transform");n.push({handleBounds:u,handleCenter:d,labelInput:h})}}this._layoutCollidingLabelInputs(n)}_layoutCollidingLabelInputs(e){let t=this.isHorizontal,r=Array.from(this.renderRoot.querySelectorAll(".label-separator")),a=e.slice().sort((s,l)=>s.handleCenter-l.handleCenter);if(a.length===0)return;let n=this._trackElement.value?.getBoundingClientRect(),o=a.map(s=>[s]);for(let s=0;s<a.length;s++){for(let c of r)c.hidden=!0,c.style.removeProperty("left");let l=0;for(let c of o){let h=(c[0].handleCenter+c[c.length-1].handleCenter)/2,u=c.reduce((m,p)=>m+(t?p.labelInput.getBoundingClientRect().width:p.labelInput.getBoundingClientRect().height),0),d=c.length===1?t?c[0].labelInput.getBoundingClientRect().left:c[0].labelInput.getBoundingClientRect().top:h-u/2;if(n&&c.length>1){let m=c[0],p=c[c.length-1];if(t){let v=m.labelInput.getLabelBoundingClientRect().left-m.labelInput.getBoundingClientRect().left,b=p.labelInput.getBoundingClientRect().right-p.labelInput.getLabelBoundingClientRect().right,g=n.left-m.handleBounds.width/2-v,f=n.right+p.handleBounds.width/2+b-u;d=T(d,g,f)}else{let v=m.labelInput.getBoundingClientRect().height/2,b=p.labelInput.getBoundingClientRect().height/2,g=n.top-v,f=n.bottom+b-u;d=T(d,g,f)}}for(let m=0;m<c.length;m++){let p=c[m],v=p.labelInput.getBoundingClientRect(),b=t?v.width:v.height,g=(t?v.left:v.top)+b/2,f=this._getLabelTranslate(p.labelInput,t),x=d+b/2,C=`${t?"translateX":"translateY"}(${Math.round(f+x-g)}px)`;if(p.labelInput.style.transform!==C&&(p.labelInput.style.transform=C),d+=b,t&&m<c.length-1){let I=r[l++];if(!I)continue;I.hidden=!1,I.style.left=`${d-(n?.left??0)}px`}}}if(!this._mergeCollidingLabelGroups(o))break}}_mergeCollidingLabelGroups(e){let t=this.isHorizontal;for(let r=0;r<e.length-1;){let a=e[r],n=e[r+1],o=a[a.length-1],s=n[0],l=o.labelInput.getBoundingClientRect(),c=s.labelInput.getBoundingClientRect(),h=t?l.right:l.bottom;if((t?c.left:c.top)>h)r++;else return a.push(...n),e.splice(r+1,1),!0}return!1}_getLabelTranslate(e,t){let r=t?/translateX\((-?\d+(?:\.\d+)?)px\)/u:/translateY\((-?\d+(?:\.\d+)?)px\)/u,a=e.style.transform.match(r);return a?Number.parseFloat(a[1]):0}_onTrackFocus(){this._setActivePart("range")}_onTrackBlur(){this._setActivePart(null)}_onTrackRangePointerDown(e){this._disabledOrInvalid||!F(e)||(e.preventDefault(),e.currentTarget.focus(),this._startDrag("range",this._mapEventToRange(e)))}async _onPointerDown(e){if(this._disabledOrInvalid||!F(e))return;let t=this.renderRoot.querySelector("arcgis-label-input[editing]");if(e.target===t)return;if(t){t.blur(),this._focusEntry(V(t));return}if(Xe(e.target)||this.values?.length>1)return;let r=this._mapEventToRange(e),[a,n]=this._sliderData.entries.entries().next().value,o=r*this._fullRange+this._fullMin-n,s=N(this._fullMin,this._fullMax,n)/100;this._startDrag(a,s);let l=H(this._stepsProvider,this._sliderData.entries,a,o,{allowValuesOverlap:this.allowValuesOverlap,precision:this.precision,min:this.min,max:this.max});this._setValue(a,l),this._focusEntry(a)}_onThumbPointerDown(e){let t=V(e.currentTarget);if(!F(e)||this._disabledOrInvalid||!t)return;let r=be(this,t);e.target===r&&r?.editing||(e.stopPropagation(),e.preventDefault(),this._focusEntry(t),this._startDrag(t,this._mapEventToRange(e)))}_onFixedThumbPointerDown(e){this._disabledOrInvalid||!F(e)||(e.preventDefault(),e.currentTarget.focus())}_endDrag(){if(this._disabledOrInvalid)return;this._removeDragListeners();let e=!1;if(this._dragInfo){let{entries:t}=this._dragInfo;for(let[r,a]of t)if(this._sliderData.getValue(r)!==a){e=!0;break}}this._dragInfo=null,e&&this.arcgisChange.emit()}_startDrag(e,t){if(this._disabledOrInvalid)return;let{min:r,max:a,values:n}=this,o=r,s=a;if(this._setActivePart(e),e==="range"){if(this.segmentsDraggingDisabled)return;o=r-n[0],s=a-n[n.length-1]}this._dragInfo={position:t,entries:new Map(this._sliderData.entries.entries()),minDiff:o,maxDiff:s},this._addDragListeners()}_updateDrag(e){if(!this._dragInfo||!this._activePart)return;let{_activePart:t,_dragInfo:{position:r,entries:a,minDiff:n,maxDiff:o}}=this;if(r===e)return;let s=(e-r)*this._fullRange;if(t==="range"){s=Math.min(o,Math.max(n,s));let l=Ne(this._stepsProvider,a,s);this._setValues(l)}else{let l=H(this._stepsProvider,a,t,s,{allowValuesOverlap:this.allowValuesOverlap,precision:this.precision,min:this.min,max:this.max});this._setValue(t,l)}}_focusEntry(e){e&&fe(this,e)?.focus()}_addDragListeners(){document.addEventListener("pointerup",this._onPointerUpDragEnd),document.addEventListener("pointermove",this._onPointerMoveDragUpdate),document.addEventListener("pointercancel",this._onPointerCancelDragEnd)}_removeDragListeners(){document.removeEventListener("pointerup",this._onPointerUpDragEnd),document.removeEventListener("pointermove",this._onPointerMoveDragUpdate),document.removeEventListener("pointercancel",this._onPointerCancelDragEnd)}_setValues(e){this._sliderData.setValues(e)&&(this._dragInfo||this.arcgisChange.emit(),this.arcgisInput.emit())}_setValue(e,t){this._sliderData.setValue(e,t)&&(this._dragInfo||this.arcgisChange.emit(),this.arcgisInput.emit())}_resolveOverlappingValues(){let e=new Map(this._sliderData.entries),t=Array.from(e.entries()).sort((a,n)=>a[1]-n[1]),r=!1;for(let[a,n]of t){let o=T(n,this.min,this.max);if(!Array.from(e).some(([l,c])=>l!==a&&T(c,this.min,this.max)===o))continue;let s=H(this._stepsProvider,e,a,o-n,{allowValuesOverlap:!1,precision:this.precision,min:this.min,max:this.max});s!==n&&(r=!0),e.set(a,s)}return r?e:null}_onThumbFocus(e){let t=V(e.currentTarget);this._setActivePart(t)}_onThumbBlur(){this._setActivePart(null)}_onRangeInputChange(e){let t=e.currentTarget,r=t.value,a=t.dataset.type,n=!1;switch(e.stopPropagation(),a){case"min":{r<this.max?(this.min=r,n=!0):t.value=this.min;break}case"max":{r>this.min?(this.max=r,n=!0):t.value=this.max;break}}n&&this.arcgisRangeChange.emit()}_onValueInputChange(e){let t=e.currentTarget,r=V(t),a=t.value;if(r){e.stopPropagation();let n=this._sliderData.getValue(r),o=H(this._stepsProvider,this._sliderData.entries,r,a-n,{allowValuesOverlap:this.allowValuesOverlap,precision:this.precision,min:this.min,max:this.max});this._setValue(r,o),t.value=this._sliderData.getValue(r)}}_mapEventToRange(e){let t=this._trackElement.value?.getBoundingClientRect();if(!t)return 0;let r=this.isHorizontal?(e.clientX-t.left)/t.width:1-(e.clientY-t.top)/t.height;return this.mirrored?1-r:r}_getPositionStyleForElement(e){let t=N(this._fullMin,this._fullMax,e);return{[this.isHorizontal?this.mirrored?"right":"left":this.mirrored?"top":"bottom"]:`${t}%`}}_popoverSlotChange(e){this._hasPopoverContent=A(e),this._updatePopoverReferenceElement()}_onPopoverBeforeOpen(e){e.target===this._popoverElement.value&&this._popoverElement.value.style.removeProperty("visibility")}_onPopoverBeforeClose(e){e.target===this._popoverElement.value&&(this._popoverElement.value.style.visibility="hidden")}async _onPopoverClose(){this._nextPopoverReferenceElement!=null&&(this._measurablePopoverReferenceElement=this._nextPopoverReferenceElement,await this.updateComplete,this._nextPopoverReferenceElement=null)}_onContentStartSlotChange(e){this._hasContentStart=A(e)}_onContentEndSlotChange(e){this._hasContentEnd=A(e)}_onThumbKeyDown(e){let t=V(e.currentTarget);if(!t)return;let r=e.currentTarget.querySelector("arcgis-label-input");if(!r||r.editing)return;if(e.key===_.confirmEdit){r.edit();return}let a=pe(e,this.keyboardLargeStep,this.mirrored);if(a){e.preventDefault();let n=je(this._getStepsConfiguration(),this._sliderData.entries,t,a.direction,a.count);this._setValue(t,n);return}if(ve(e.key)){e.preventDefault();let n=qe(this._getStepsConfiguration(),this._sliderData.entries,t,this._getDirectionForHomeEndKey(e.key));this._setValue(t,n)}}_onTrackRangeKeyDown(e){if(this._disabledOrInvalid)return;let t=pe(e,this.keyboardLargeStep,this.mirrored);if(t){e.preventDefault();let{entries:r}=Ue(this._getStepsConfiguration(),this._sliderData.entries,t.direction,t.count);this._setValues(r);return}if(ve(e.key)){e.preventDefault();let r=We(this._getStepsConfiguration(),this._sliderData.entries,this._getDirectionForHomeEndKey(e.key));this._setValues(r)}}_getStepsConfiguration(){return{allowValuesOverlap:this.allowValuesOverlap,stepsProvider:this._stepsProvider,resolution:this.resolution,min:this.min,max:this.max}}_getDirectionForHomeEndKey(e){return this.isHorizontal&&this.mirrored||this.layout==="vertical"?e===_.jumpToEnd?-1:1:e===_.jumpToStart?-1:1}_setActivePart(e){this._activePart!==e&&(this._activePart=e,this._updatePopoverReferenceElement(),this.arcgisActiveValueChange.emit())}_resolveFillPlacement(e){let{fillPlacement:t}=this;return e?t==="between"||t==="not-between"||t==="none"?t:"between":t==="start"||t==="end"||t==="none"?t:"start"}_updatePopoverReferenceElement(){let{_activePart:e,popoverDisplay:t}=this,r="";if(this._hasPopoverContent)if(t==="always"&&this.values.length>1){let c=Array.from(this._sliderData.entries),[h,u]=c[0];r=c.every(([,d])=>d===u)?h:"track-range"}else e&&Ze(e)?r=e:this.values.length>1?r="track-range":r=this._sliderData.entries.keys().next().value??"";let a=null;r&&(r==="track-range"?a=this.renderRoot.querySelector("#track-range"):a=fe(this,r));let n=a?.getBoundingClientRect(),o=n&&n.width>0&&n.height>0?r:"",s=!!this._popoverElement.value?.open,l=this._hasPopoverContent&&!!o&&(this.popoverDisplay==="always"||!!this._activePart);this._nextPopoverReferenceElement!=null?this._nextPopoverReferenceElement=o:o!==this._measurablePopoverReferenceElement&&(s||l)?(this._nextPopoverReferenceElement=o,s||this._onPopoverClose()):this._measurablePopoverReferenceElement=o}render(){return y`<div class=${R({content:!0,disabled:this._disabledOrInvalid})} @pointerdown=${this._onPointerDown}>${this._renderContentStart()}${this._renderContentEnd()}${this._renderRangeLabel("min")}${this._renderTrackRange()}${this._renderRangeLabel("max")}${this._renderPopover()}</div>`}_renderPopover(){let{_activePart:e,layout:t,popoverDisplay:r,popoverLabel:a,popoverPlacement:n,valueLabelsDisplay:o,valueLabelsPlacement:s}=this,l=this._measurablePopoverReferenceElement,c=this._hasPopoverContent&&!!l&&(r==="always"||!!e)&&this._nextPopoverReferenceElement==null,h=t==="horizontal"?n==="start"?"top":"bottom":n==="start"?"left":"right",u=14;return l&&l!=="track-range"&&(u-=1),o!=="hidden"&&n===s&&(u+=24),y`<calcite-popover class="popover" focus-trap-disabled .label=${a} .open=${c} .offsetDistance=${u} .placement=${h} .referenceElement=${l} scale=s trigger-disabled @calcitePopoverBeforeOpen=${this._onPopoverBeforeOpen} @calcitePopoverBeforeClose=${this._onPopoverBeforeClose} @calcitePopoverClose=${this._onPopoverClose} ${O(this._popoverElement)}><slot name=popover @slotchange=${this._popoverSlotChange}></slot></calcite-popover>`}_renderContentStart(){return y`<div class="content-start" .hidden=${!this._hasContentStart}><slot name=content-start @slotchange=${this._onContentStartSlotChange}></slot></div>`}_renderContentEnd(){return y`<div class="content-end" .hidden=${!this._hasContentEnd}><slot name=content-end @slotchange=${this._onContentEndSlotChange}></slot></div>`}_renderTrackRange(){return y`<div class="track-container">${this._renderTrack()}<slot name=track-overlay></slot>${this._renderThumbs()}${this._renderLabelSeparators()}</div>`}_renderLabelSeparators(){let e=Math.max(0,this.values.length-1);return Array.from({length:e},(t,r)=>q(r,y`<div aria-hidden=true class="label-separator" hidden></div>`))}_renderTrack(){return y`<div class="track" ${O(this._trackElement)}>${this._renderTrackBackground()}${this._renderFillSegment()}</div>`}_renderTrackBackground(){let{max:e,min:t,fillPlacement:r,values:a}=this,n=a.length>1,o=this._fullMin,s=this._fullMax,l=[];return this._invalid?y`<div class="segment track-bounds" style=${z({left:"0%",right:"0%",top:"0%",bottom:"0%"})}></div>`:(o<t&&(l.push(this._renderSegment(o,t,[this.mirrored?"track-effective-end":"track-effective-start",!n&&r==="start"?"track-fill":null])),o=t),s>e&&(l.push(this._renderSegment(e,s,[this.mirrored?"track-effective-start":"track-effective-end",!n&&r==="end"?"track-fill":null])),s=e),l.push(this._renderSegment(o,s,["track-bounds"])),l)}_renderFillSegment(){let{values:e,min:t,max:r}=this;if(!e?.length||this._invalid)return;let a=[...e].sort((u,d)=>u-d),n=a[0],o=a[a.length-1],s=this._resolveFillPlacement(a.length>1),l;switch(s){case"start":t<n&&(l=this._renderSegment(t,n,["track-range"]));break;case"end":r>o&&(l=this._renderSegment(o,r,["track-range"]));break;case"between":a.length>1&&(l=this._renderSegment(n,o,["track-range"]));break;case"not-between":a.length>1&&(l=[this._renderSegment(t,n,["track-range"]),this._renderSegment(o,r,["track-range"])]);break}if(!(a.length>1))return l;let c=this.segmentsDraggingDisabled,h=this._renderSegment(n,o,["track-range-interactive",s==="between"?"filled":null,c?null:"interactive",this._activePart==="range"&&!this.segmentsDraggingDisabled?"active":null],{id:"track-range",onFocus:c?void 0:this._onTrackFocus,onBlur:c?void 0:this._onTrackBlur,onPointerDown:c?void 0:this._onTrackRangePointerDown,onKeyDown:c?void 0:this._onTrackRangeKeyDown});return[l,h]}_renderSegment(e,t,r,a){let{_fullMin:n,_fullMax:o,mirrored:s}=this,l=[N(n,o,T(e,n,o)),100-N(n,o,T(t,n,o))];s&&l.reverse();let c=this.isHorizontal?{left:`${l[0]}%`,right:`${l[1]}%`}:{top:`${l[1]}%`,bottom:`${l[0]}%`},h=ae("segment",...r);return y`<div id=${a?.id??E} class=${R(h)} style=${z(c)} .tabIndex=${a?.onPointerDown?0:-1} @focus=${a?.onFocus} @blur=${a?.onBlur} @pointerdown=${a?.onPointerDown} @keydown=${a?.onKeyDown}></div>`}_renderThumbs(){let{_sliderData:e}=this,t=Array.from(e.entries).filter(([,a])=>a>=this._fullMin&&a<=this._fullMax),r=t.map(([,a])=>a).sort((a,n)=>a-n);if(this.valuesDraggingDisabled&&r.length>1){let a=r[0],n=r.at(-1);if(a!=null&&n!=null){let o=(a+n)/2;return[this._renderFixedThumb(o),W(t,([s,l])=>this._renderThumb(s,l,!0))]}}return W(t,([a,n])=>this._renderThumb(a,n,!1))}_renderFixedThumb(e){let{_disabledOrInvalid:t,segmentsDraggingDisabled:r,isHorizontal:a}=this;return y`<div .ariaLabel=${this.messages.sliderValue} .ariaOrientation=${a?"horizontal":"vertical"} .ariaValueMax=${this.max} .ariaValueMin=${this.min} .ariaValueNow=${e} class=${R({thumb:!0,"fixed-thumb":!0,active:this._activePart==="range"})} @blur=${this._onTrackBlur} @focus=${this._onTrackFocus} @keydown=${r?void 0:this._onTrackRangeKeyDown} @pointerdown=${r?this._onFixedThumbPointerDown:this._onTrackRangePointerDown} role=slider style=${z({...this._getPositionStyleForElement(e),"z-index":this._activePart==="range"?1:0})} .tabIndex=${t?-1:0}><div class="thumb-content"><span class="handle"></span></div></div>`}_renderThumb(e,t,r){let{valueLabelsDisplay:a}=this,n=this._disabledOrInvalid,o=!r&&(this._activePart===e||this._activePart==="range"),s=!r&&(this._activePart==="range"||this._activePart===e),l=a==="always"||a==="auto"&&(s||r&&this._activePart==="range"),c=this.isHorizontal,h=c?"horizontal":"vertical",u=`label-${e}`,d=c?"center":this.valueLabelsPlacement==="start"?"end":"start";return q(e,y`<div id=${e??E} .ariaLabel=${this.messages.sliderValue} aria-labelledby=${(a?u:void 0)??E} .ariaOrientation=${h} .ariaValueMin=${this.min} .ariaValueMax=${this.max} .ariaValueNow=${t} .ariaValueText=${this._valueFormatter(t)} class=${R({thumb:!0,active:o,"labels-only":r})} data-entry=${e??E} @pointerdown=${r?void 0:this._onThumbPointerDown} @focus=${r?void 0:this._onThumbFocus} @blur=${r?void 0:this._onThumbBlur} @keydown=${r?void 0:this._onThumbKeyDown} role=slider style=${z({...this._getPositionStyleForElement(t),"z-index":this._activePart===e?2:1})} .tabIndex=${r||n?-1:0}><div class="thumb-content"><span class="handle"></span><arcgis-label-input .alignment=${d} class="label" .hidden=${!l} id=${u??E} .labelFormatter=${this._valueFormatter} @focus=${n?void 0:this._onThumbFocus} @blur=${n?void 0:this._onThumbBlur} @arcgisChange=${this._onValueInputChange} .readOnly=${!this.valueLabelsEditingEnabled} tabindex=-1 .value=${t} ${O(this._makeResizeRef())}></arcgis-label-input></div></div>`)}_renderRangeLabel(e){let t="center";if(this.isHorizontal){t=e==="min"?"end":"start";let r=()=>{t=t==="end"?"start":"end"};this.rangeLabelsPlacement==="end"&&r(),this.mirrored&&r(),this._direction==="rtl"&&r()}return y`<arcgis-label-input .alignment=${t} class=${R(e)} data-type=${e??E} .hidden=${!this.showRangeLabels} .labelFormatter=${this[`_${e}Formatter`]} @arcgisChange=${this._onRangeInputChange} .readOnly=${!this.rangeLabelsEditingEnabled} .value=${this[e]}></arcgis-label-input>`}};function Xe(i){return"dataset"in i&&i.tagName==="ARCGIS-LABEL-INPUT"&&(i.dataset.type==="min"||i.dataset.type==="max")}function V(i){let e=se(i,"[data-entry]");return e&&"dataset"in e?e.dataset.entry:null}function Ze(i){return typeof i!=null&&i!=="range"}function fe(i,e){return e?i.renderRoot.querySelector(`div[data-entry="${e}"]`):null}function Je(i,e){return e?i.renderRoot.querySelector(`div[data-entry="${e}"] span.handle`):null}function be(i,e){return e?i.renderRoot.querySelector(`div[data-entry="${e}"] arcgis-label-input`):null}function F(i){return i.isPrimary&&i.button===0}var Qe=5;function N(i,e,t){let r=e-i,a=(t-i)/r*100;return Number.parseFloat(a.toFixed(Qe))}function T(i,e,t){return Math.max(e,Math.min(t,i))}ie("arcgis-slider",J);return J},"core/reactiveUtils","applications/Components/reactiveUtils","core/accessorSupport/decorators","core/Accessor","core/Accessor","core/accessorSupport/decorators","core/reactiveUtils")
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{e as r}from"./GZXN456V.js";import"./H4Q2JVNO.js";import{L as i,R as a}from"./3X2MVQTG.js";var s=class extends i{constructor(){super(...arguments),this.autoDestroyDisabled=!1,this.canNext=!1,this.canPlay=!1,this.canPrevious=!1,this.arcgisPropertyChange=r()("canNext","canPlay","canPrevious","currentValue")}static{this.properties={autoDestroyDisabled:5,items:0,currentValue:0,canNext:5,canPlay:5,canPrevious:5}}async destroy(){await this.manager.destroy()}reset(){this.currentValue=this.items?.at(0)}step(t){if(!this.items||!this.currentValue)return;let e=this.items.indexOf(this.currentValue)+(t==="next"?1:-1);e>=this.items.length||e<0||(this.currentValue=this.items.at(e),this._checkState())}connectedCallback(){super.connectedCallback(),this.el.hidden=!0}willUpdate(t){(t.has("currentValue")||t.has("items"))&&this.items?.length&&(this.currentValue??=this.items.at(0)),this._checkState()}_checkState(){if(!this.items?.length){this.canPlay=!1,this.canNext=!1,this.canPrevious=!1;return}this.canPlay=!0;let t=this.items.indexOf(this.currentValue);this.canNext=t>=0&&t<this.items.length-1,this.canPrevious=t>0}};a("arcgis-value-picker-collection",s);export{s as ArcgisValuePickerCollection};
2
+ import{e as r}from"./VTAQRKNF.js";import"./H4Q2JVNO.js";import{L as i,R as a}from"./JEPW4X7U.js";var s=class extends i{constructor(){super(...arguments),this.autoDestroyDisabled=!1,this.canNext=!1,this.canPlay=!1,this.canPrevious=!1,this.arcgisPropertyChange=r()("canNext","canPlay","canPrevious","currentValue")}static{this.properties={autoDestroyDisabled:5,items:0,currentValue:0,canNext:5,canPlay:5,canPrevious:5}}async destroy(){await this.manager.destroy()}reset(){this.currentValue=this.items?.at(0)}step(t){if(!this.items||!this.currentValue)return;let e=this.items.indexOf(this.currentValue)+(t==="next"?1:-1);e>=this.items.length||e<0||(this.currentValue=this.items.at(e),this._checkState())}connectedCallback(){super.connectedCallback(),this.el.hidden=!0}willUpdate(t){(t.has("currentValue")||t.has("items"))&&this.items?.length&&(this.currentValue??=this.items.at(0)),this._checkState()}_checkState(){if(!this.items?.length){this.canPlay=!1,this.canNext=!1,this.canPrevious=!1;return}this.canPlay=!0;let t=this.items.indexOf(this.currentValue);this.canNext=t>=0&&t<this.items.length-1,this.canPrevious=t>0}};a("arcgis-value-picker-collection",s);export{s as ArcgisValuePickerCollection};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{e as n}from"./GZXN456V.js";import"./H4Q2JVNO.js";import{L as r,R as l,h as c,j as t}from"./3X2MVQTG.js";var h=c`:host{display:flex;flex:auto;inline-size:300px;min-block-size:0;min-inline-size:0;padding-inline:var(--calcite-space-sm)}arcgis-slider{flex:auto}arcgis-ticks{--arcgis-ticks-font-size: var(--calcite-font-size--3);--arcgis-ticks-gap: var(--calcite-space-base)}.content-end-stack{display:flex;flex-direction:column;flex:1}.ticks-stack{height:var(--calcite-space-sm);position:relative}.ticks-stack arcgis-ticks{inset:var(--calcite-space-none);position:absolute}.label-ticks{--arcgis-ticks-tick-length: var(--calcite-space-2xs);--arcgis-ticks-tick-color: transparent}.minor-ticks{--arcgis-ticks-tick-length: var(--calcite-space-2xs)}.major-ticks{--arcgis-ticks-tick-length: var(--calcite-space-sm)}:host([layout="vertical"]){flex-basis:300px;inline-size:var(--calcite-size-xl);padding-inline:var(--calcite-space-none);arcgis-slider:has(.label-ticks){position:relative;inset-inline-end:var(--calcite-space-md-plus)}arcgis-ticks{--arcgis-ticks-gap: var(--calcite-space-sm)}.content-end-stack{position:relative}.ticks-stack{height:100%}.label-ticks{--arcgis-ticks-tick-length: var(--calcite-space-base);inset:var(--calcite-space-none);position:absolute}}`,a=class extends r{constructor(){super(...arguments),this.autoDestroyDisabled=!1,this.canNext=!1,this.canPlay=!1,this.canPrevious=!1,this.disabled=!1,this.layout="horizontal",this.mirrored=!1,this.arcgisPropertyChange=n()("canNext","canPlay","canPrevious","currentValue")}static{this.properties={autoDestroyDisabled:5,canNext:5,canPlay:5,canPrevious:5,currentValue:9,disabled:5,labelFormatter:0,labels:0,layout:3,max:9,min:9,mirrored:5,steps:0,majorTicks:0,minorTicks:0}}static{this.styles=h}get _ascending(){return!this.mirrored}async destroy(){await this.manager.destroy()}reset(){this.currentValue=this._ascending?this.steps?.at(0):this.steps?.at(-1)}step(s){if(!this.steps||this.currentValue===void 0)return;let e=s==="next"===this._ascending?1:-1,i=this.steps.indexOf(this.currentValue)+e;i>=this.steps.length||i<0||(this.currentValue=this.steps[i],this._checkState())}connectedCallback(){super.connectedCallback(),this.el.hidden=!0}willUpdate(s){s.has("steps")&&this.steps?.length&&(this.min??=this.steps[0],this.max??=this.steps.at(-1)),(s.has("currentValue")||s.has("max"))&&this.max!==void 0&&(this.currentValue??=this.max),this.el.hidden=this.min===void 0||this.max===void 0||this.currentValue===void 0,this._checkState()}_checkState(){if(!this.steps?.length){this.canPlay=!1,this.canNext=!1,this.canPrevious=!1;return}this.canPlay=!0;let s=this.steps.findIndex(i=>i===this.currentValue),e=this.steps.length-1;this.canNext=this._ascending?s<e:s>0,this.canPrevious=this._ascending?s>0:s<e}_handleSliderChange(s){this.currentValue=s.currentTarget.values[0],this._checkState()}_handleSliderInput(s){this.currentValue=s.currentTarget.values[0],this._checkState()}render(){return this.currentValue===void 0?null:t`<arcgis-slider .disabled=${this.disabled} .layout=${this.layout} .min=${this.min} .max=${this.max} .steps=${this.steps} .mirrored=${this.mirrored} .values=${[this.currentValue]} @arcgisInput=${s=>this._handleSliderInput(s)} @arcgisChange=${s=>this._handleSliderChange(s)}>${(this.majorTicks?.length||this.minorTicks?.length||this.labels?.length)&&t`<div slot=content-end class="content-end-stack">${(this.majorTicks?.length||this.minorTicks?.length)&&t`<div class="ticks-stack">${this.majorTicks?.length&&t`<arcgis-ticks .layout=${this.layout} class="major-ticks" .min=${this.min} .max=${this.max} .mirrored=${this.mirrored} .values=${this.majorTicks} mode=value></arcgis-ticks>`||""}${this.minorTicks?.length&&t`<arcgis-ticks .layout=${this.layout} class="minor-ticks" .min=${this.min} .max=${this.max} .mirrored=${this.mirrored} .values=${this.minorTicks} mode=value></arcgis-ticks>`||""}</div>`||""}${this.labels?.length&&t`<arcgis-ticks .layout=${this.layout} class="label-ticks" .min=${this.min} .max=${this.max} .mirrored=${this.mirrored} .values=${this.labels} mode=value show-labels label-placement=end .labelFormatter=${this.labelFormatter}></arcgis-ticks>`||""}</div>`||""}</arcgis-slider>`}};l("arcgis-value-picker-slider",a);export{a as ArcgisValuePickerSlider};
2
+ import{e as n}from"./VTAQRKNF.js";import"./H4Q2JVNO.js";import{L as r,R as l,h as c,j as t}from"./JEPW4X7U.js";var h=c`:host{display:flex;flex:auto;inline-size:300px;min-block-size:0;min-inline-size:0;padding-inline:var(--calcite-space-sm)}arcgis-slider{flex:auto}arcgis-ticks{--arcgis-ticks-font-size: var(--calcite-font-size--3);--arcgis-ticks-gap: var(--calcite-space-base)}.content-end-stack{display:flex;flex-direction:column;flex:1}.ticks-stack{height:var(--calcite-space-sm);position:relative}.ticks-stack arcgis-ticks{inset:var(--calcite-space-none);position:absolute}.label-ticks{--arcgis-ticks-tick-length: var(--calcite-space-2xs);--arcgis-ticks-tick-color: transparent}.minor-ticks{--arcgis-ticks-tick-length: var(--calcite-space-2xs)}.major-ticks{--arcgis-ticks-tick-length: var(--calcite-space-sm)}:host([layout="vertical"]){flex-basis:300px;inline-size:var(--calcite-size-xl);padding-inline:var(--calcite-space-none);arcgis-slider:has(.label-ticks){position:relative;inset-inline-end:var(--calcite-space-md-plus)}arcgis-ticks{--arcgis-ticks-gap: var(--calcite-space-sm)}.content-end-stack{position:relative}.ticks-stack{height:100%}.label-ticks{--arcgis-ticks-tick-length: var(--calcite-space-base);inset:var(--calcite-space-none);position:absolute}}`,a=class extends r{constructor(){super(...arguments),this.autoDestroyDisabled=!1,this.canNext=!1,this.canPlay=!1,this.canPrevious=!1,this.disabled=!1,this.layout="horizontal",this.mirrored=!1,this.arcgisPropertyChange=n()("canNext","canPlay","canPrevious","currentValue")}static{this.properties={autoDestroyDisabled:5,canNext:5,canPlay:5,canPrevious:5,currentValue:9,disabled:5,labelFormatter:0,labels:0,layout:3,max:9,min:9,mirrored:5,steps:0,majorTicks:0,minorTicks:0}}static{this.styles=h}get _ascending(){return!this.mirrored}async destroy(){await this.manager.destroy()}reset(){this.currentValue=this._ascending?this.steps?.at(0):this.steps?.at(-1)}step(s){if(!this.steps||this.currentValue===void 0)return;let e=s==="next"===this._ascending?1:-1,i=this.steps.indexOf(this.currentValue)+e;i>=this.steps.length||i<0||(this.currentValue=this.steps[i],this._checkState())}connectedCallback(){super.connectedCallback(),this.el.hidden=!0}willUpdate(s){s.has("steps")&&this.steps?.length&&(this.min??=this.steps[0],this.max??=this.steps.at(-1)),(s.has("currentValue")||s.has("max"))&&this.max!==void 0&&(this.currentValue??=this.max),this.el.hidden=this.min===void 0||this.max===void 0||this.currentValue===void 0,this._checkState()}_checkState(){if(!this.steps?.length){this.canPlay=!1,this.canNext=!1,this.canPrevious=!1;return}this.canPlay=!0;let s=this.steps.findIndex(i=>i===this.currentValue),e=this.steps.length-1;this.canNext=this._ascending?s<e:s>0,this.canPrevious=this._ascending?s>0:s<e}_handleSliderChange(s){this.currentValue=s.currentTarget.values[0],this._checkState()}_handleSliderInput(s){this.currentValue=s.currentTarget.values[0],this._checkState()}render(){return this.currentValue===void 0?null:t`<arcgis-slider .disabled=${this.disabled} .layout=${this.layout} .min=${this.min} .max=${this.max} .steps=${this.steps} .mirrored=${this.mirrored} .values=${[this.currentValue]} @arcgisInput=${s=>this._handleSliderInput(s)} @arcgisChange=${s=>this._handleSliderChange(s)}>${(this.majorTicks?.length||this.minorTicks?.length||this.labels?.length)&&t`<div slot=content-end class="content-end-stack">${(this.majorTicks?.length||this.minorTicks?.length)&&t`<div class="ticks-stack">${this.majorTicks?.length&&t`<arcgis-ticks .layout=${this.layout} class="major-ticks" .min=${this.min} .max=${this.max} .mirrored=${this.mirrored} .values=${this.majorTicks} mode=value></arcgis-ticks>`||""}${this.minorTicks?.length&&t`<arcgis-ticks .layout=${this.layout} class="minor-ticks" .min=${this.min} .max=${this.max} .mirrored=${this.mirrored} .values=${this.minorTicks} mode=value></arcgis-ticks>`||""}</div>`||""}${this.labels?.length&&t`<arcgis-ticks .layout=${this.layout} class="label-ticks" .min=${this.min} .max=${this.max} .mirrored=${this.mirrored} .values=${this.labels} mode=value show-labels label-placement=end .labelFormatter=${this.labelFormatter}></arcgis-ticks>`||""}</div>`||""}</arcgis-slider>`}};l("arcgis-value-picker-slider",a);export{a as ArcgisValuePickerSlider};