@arcgis/map-components 5.1.0-next.73 → 5.1.0-next.75

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 (203) hide show
  1. package/dist/cdn/{AHDX7DZE.js → 2IXIUNGH.js} +1 -1
  2. package/dist/cdn/2LHTH7PU.js +2 -0
  3. package/dist/cdn/3ATNVL7S.js +2 -0
  4. package/dist/cdn/3TVO5LIN.js +2 -0
  5. package/dist/cdn/5CKHTWHC.js +2 -0
  6. package/dist/cdn/{Y4JRHCFK.js → 5J37HLFL.js} +1 -1
  7. package/dist/cdn/{554S4GT7.js → 5N7UWAVE.js} +1 -1
  8. package/dist/cdn/6D72H6LD.js +2 -0
  9. package/dist/cdn/{G3GSHZCN.js → A26DRZN4.js} +1 -1
  10. package/dist/cdn/ACAAYGKC.js +2 -0
  11. package/dist/cdn/{MEHQNI5S.js → APKTL7SO.js} +1 -1
  12. package/dist/cdn/APYGTRF2.js +2 -0
  13. package/dist/cdn/{USOVBTPF.js → B2S3QOVD.js} +1 -1
  14. package/dist/cdn/{CSCRKC7T.js → BH32Z76H.js} +1 -1
  15. package/dist/cdn/{VRFNBGEQ.js → CQCKW6L4.js} +1 -1
  16. package/dist/cdn/CUYGLJRU.js +2 -0
  17. package/dist/cdn/{VLGUP7FS.js → DJOFGKNV.js} +1 -1
  18. package/dist/cdn/EXZFAJW4.js +3 -0
  19. package/dist/cdn/FM3AT2SL.js +2 -0
  20. package/dist/cdn/{EVRD2ZXE.js → HAKD7266.js} +1 -1
  21. package/dist/cdn/{UQQFJYIC.js → IP6NIPH4.js} +1 -1
  22. package/dist/cdn/{TSMQD5L3.js → JE27PKO6.js} +1 -1
  23. package/dist/cdn/{VJ5MPLHQ.js → KGLUFWJ7.js} +1 -1
  24. package/dist/cdn/{UEOQ2WED.js → LWQZWUXM.js} +1 -1
  25. package/dist/cdn/{CLUML3RK.js → LZUWGRAM.js} +1 -1
  26. package/dist/cdn/{QAB2Y3S4.js → M7RBOMBN.js} +1 -1
  27. package/dist/cdn/{EDEFI5P6.js → N2ZR7Q6F.js} +1 -1
  28. package/dist/cdn/{OHCJG4B7.js → NMP4CEPM.js} +1 -1
  29. package/dist/cdn/O6JPYYGF.js +2 -0
  30. package/dist/cdn/{LWCHPGXD.js → OEYAER33.js} +1 -1
  31. package/dist/cdn/{QSERDTHV.js → QZBFM3AA.js} +1 -1
  32. package/dist/cdn/{CPYD7PR4.js → S6KYM3LN.js} +1 -1
  33. package/dist/cdn/{Y2ZNQZCC.js → SJDBMERA.js} +1 -1
  34. package/dist/cdn/{KPPYOTL2.js → STRMIFOQ.js} +1 -1
  35. package/dist/cdn/{MRSAL7QR.js → TL3BHZ3H.js} +1 -1
  36. package/dist/cdn/{D3BM7IK7.js → V3BMEZZP.js} +1 -1
  37. package/dist/cdn/{LCVZHLJV.js → WULZBTNW.js} +1 -1
  38. package/dist/cdn/{3W5SAKRU.js → YCM6SOEX.js} +1 -1
  39. package/dist/cdn/YFXHW7I2.js +2 -0
  40. package/dist/cdn/YLKEVZLN.js +2 -0
  41. package/dist/cdn/ZVDWGIFU.js +2 -0
  42. package/dist/cdn/assets/slider-scale-range/t9n/messages.ar.json +1 -1
  43. package/dist/cdn/assets/slider-scale-range/t9n/messages.bg.json +1 -1
  44. package/dist/cdn/assets/slider-scale-range/t9n/messages.bs.json +1 -1
  45. package/dist/cdn/assets/slider-scale-range/t9n/messages.ca.json +1 -1
  46. package/dist/cdn/assets/slider-scale-range/t9n/messages.cs.json +1 -1
  47. package/dist/cdn/assets/slider-scale-range/t9n/messages.da.json +1 -1
  48. package/dist/cdn/assets/slider-scale-range/t9n/messages.de.json +1 -1
  49. package/dist/cdn/assets/slider-scale-range/t9n/messages.el.json +1 -1
  50. package/dist/cdn/assets/slider-scale-range/t9n/messages.es.json +1 -1
  51. package/dist/cdn/assets/slider-scale-range/t9n/messages.et.json +1 -1
  52. package/dist/cdn/assets/slider-scale-range/t9n/messages.fi.json +1 -1
  53. package/dist/cdn/assets/slider-scale-range/t9n/messages.fr.json +1 -1
  54. package/dist/cdn/assets/slider-scale-range/t9n/messages.he.json +1 -1
  55. package/dist/cdn/assets/slider-scale-range/t9n/messages.hr.json +1 -1
  56. package/dist/cdn/assets/slider-scale-range/t9n/messages.hu.json +1 -1
  57. package/dist/cdn/assets/slider-scale-range/t9n/messages.id.json +1 -1
  58. package/dist/cdn/assets/slider-scale-range/t9n/messages.it.json +1 -1
  59. package/dist/cdn/assets/slider-scale-range/t9n/messages.ja.json +1 -1
  60. package/dist/cdn/assets/slider-scale-range/t9n/messages.ko.json +1 -1
  61. package/dist/cdn/assets/slider-scale-range/t9n/messages.lt.json +1 -1
  62. package/dist/cdn/assets/slider-scale-range/t9n/messages.lv.json +1 -1
  63. package/dist/cdn/assets/slider-scale-range/t9n/messages.nl.json +1 -1
  64. package/dist/cdn/assets/slider-scale-range/t9n/messages.no.json +1 -1
  65. package/dist/cdn/assets/slider-scale-range/t9n/messages.pl.json +1 -1
  66. package/dist/cdn/assets/slider-scale-range/t9n/messages.pt-BR.json +1 -1
  67. package/dist/cdn/assets/slider-scale-range/t9n/messages.pt-PT.json +1 -1
  68. package/dist/cdn/assets/slider-scale-range/t9n/messages.ro.json +1 -1
  69. package/dist/cdn/assets/slider-scale-range/t9n/messages.ru.json +1 -1
  70. package/dist/cdn/assets/slider-scale-range/t9n/messages.sk.json +1 -1
  71. package/dist/cdn/assets/slider-scale-range/t9n/messages.sl.json +1 -1
  72. package/dist/cdn/assets/slider-scale-range/t9n/messages.sr.json +1 -1
  73. package/dist/cdn/assets/slider-scale-range/t9n/messages.sv.json +1 -1
  74. package/dist/cdn/assets/slider-scale-range/t9n/messages.th.json +1 -1
  75. package/dist/cdn/assets/slider-scale-range/t9n/messages.tr.json +1 -1
  76. package/dist/cdn/assets/slider-scale-range/t9n/messages.uk.json +1 -1
  77. package/dist/cdn/assets/slider-scale-range/t9n/messages.vi.json +1 -1
  78. package/dist/cdn/assets/slider-scale-range/t9n/messages.zh-CN.json +1 -1
  79. package/dist/cdn/assets/slider-scale-range/t9n/messages.zh-HK.json +1 -1
  80. package/dist/cdn/assets/slider-scale-range/t9n/messages.zh-TW.json +1 -1
  81. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.ar.json +1 -1
  82. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.bg.json +1 -1
  83. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.bs.json +1 -1
  84. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.ca.json +1 -1
  85. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.cs.json +1 -1
  86. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.da.json +1 -1
  87. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.de.json +1 -1
  88. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.el.json +1 -1
  89. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.es.json +1 -1
  90. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.et.json +1 -1
  91. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.fi.json +1 -1
  92. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.fr.json +1 -1
  93. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.he.json +1 -1
  94. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.hr.json +1 -1
  95. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.hu.json +1 -1
  96. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.id.json +1 -1
  97. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.it.json +1 -1
  98. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.ja.json +1 -1
  99. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.ko.json +1 -1
  100. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.lt.json +1 -1
  101. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.lv.json +1 -1
  102. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.nl.json +1 -1
  103. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.no.json +1 -1
  104. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.pl.json +1 -1
  105. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.pt-BR.json +1 -1
  106. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.pt-PT.json +1 -1
  107. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.ro.json +1 -1
  108. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.ru.json +1 -1
  109. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.sk.json +1 -1
  110. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.sl.json +1 -1
  111. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.sr.json +1 -1
  112. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.sv.json +1 -1
  113. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.th.json +1 -1
  114. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.tr.json +1 -1
  115. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.uk.json +1 -1
  116. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.vi.json +1 -1
  117. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.zh-CN.json +1 -1
  118. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.zh-HK.json +1 -1
  119. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.zh-TW.json +1 -1
  120. package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.ar.json +1 -1
  121. package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.bg.json +1 -1
  122. package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.bs.json +1 -1
  123. package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.ca.json +1 -1
  124. package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.cs.json +1 -1
  125. package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.da.json +1 -1
  126. package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.de.json +1 -1
  127. package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.el.json +1 -1
  128. package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.es.json +1 -1
  129. package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.et.json +1 -1
  130. package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.fi.json +1 -1
  131. package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.fr.json +1 -1
  132. package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.he.json +1 -1
  133. package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.hr.json +1 -1
  134. package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.hu.json +1 -1
  135. package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.id.json +1 -1
  136. package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.it.json +1 -1
  137. package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.ja.json +1 -1
  138. package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.ko.json +1 -1
  139. package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.lt.json +1 -1
  140. package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.lv.json +1 -1
  141. package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.nl.json +1 -1
  142. package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.no.json +1 -1
  143. package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.pl.json +1 -1
  144. package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.pt-BR.json +1 -1
  145. package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.pt-PT.json +1 -1
  146. package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.ro.json +1 -1
  147. package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.ru.json +1 -1
  148. package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.sk.json +1 -1
  149. package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.sl.json +1 -1
  150. package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.sr.json +1 -1
  151. package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.sv.json +1 -1
  152. package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.th.json +1 -1
  153. package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.tr.json +1 -1
  154. package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.uk.json +1 -1
  155. package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.vi.json +1 -1
  156. package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.zh-CN.json +1 -1
  157. package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.zh-HK.json +1 -1
  158. package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.zh-TW.json +1 -1
  159. package/dist/cdn/index.js +1 -1
  160. package/dist/chunks/async-utils.js +76 -68
  161. package/dist/chunks/feature-utils.js +5 -3
  162. package/dist/chunks/resources.js +35 -0
  163. package/dist/chunks/slots.js +12 -40
  164. package/dist/components/arcgis-feature-media/customElement.js +199 -172
  165. package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
  166. package/dist/components/arcgis-link-chart/customElement.js +2 -1
  167. package/dist/components/arcgis-map/customElement.js +7 -6
  168. package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +3 -1
  169. package/dist/components/arcgis-presentation/customElement.d.ts +48 -0
  170. package/dist/components/arcgis-presentation/customElement.js +398 -96
  171. package/dist/components/arcgis-presentation/index.js +1 -0
  172. package/dist/components/arcgis-presentation-captions/customElement.js +37 -0
  173. package/dist/components/arcgis-presentation-captions/index.js +1 -0
  174. package/dist/components/arcgis-scene/customElement.js +2 -1
  175. package/dist/components/arcgis-slider-scale-range/customElement.js +8 -8
  176. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +30 -30
  177. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +26 -26
  178. package/dist/components/arcgis-utility-network-trace-location/customElement.js +1 -1
  179. package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +11 -8
  180. package/dist/components/arcgis-video/customElement.js +13 -12
  181. package/dist/components/arcgis-video-player/customElement.d.ts +13 -2
  182. package/dist/docs/api.json +1 -1
  183. package/dist/docs/docs.json +1 -1
  184. package/dist/docs/vscode.html-custom-data.json +1 -1
  185. package/dist/docs/web-types.json +1 -1
  186. package/dist/loader.js +2 -1
  187. package/dist/types/lumina.d.ts +3 -1
  188. package/dist/types/preact.d.ts +3 -1
  189. package/dist/types/react.d.ts +3 -1
  190. package/dist/types/stencil.d.ts +3 -1
  191. package/package.json +5 -5
  192. package/dist/cdn/3E5YVI67.js +0 -2
  193. package/dist/cdn/4LHL7RRT.js +0 -3
  194. package/dist/cdn/5MHPKAFK.js +0 -2
  195. package/dist/cdn/6BSMOKA6.js +0 -2
  196. package/dist/cdn/DSWEKHYV.js +0 -2
  197. package/dist/cdn/EQVGDKPR.js +0 -2
  198. package/dist/cdn/ISTXVEU6.js +0 -2
  199. package/dist/cdn/NYCLIJ7T.js +0 -2
  200. package/dist/cdn/OPXYBLHE.js +0 -2
  201. package/dist/cdn/QUNBDVIO.js +0 -2
  202. package/dist/cdn/YCN7F3YY.js +0 -2
  203. package/dist/cdn/Z4OSJFVK.js +0 -2
@@ -1,35 +1,35 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import { c as D } from "../../chunks/runtime.js";
3
- import { css as O, html as _ } from "lit";
4
- import { ref as B } from "lit/directives/ref.js";
5
- import { keyed as U } from "lit/directives/keyed.js";
6
- import { useDirection as j, useMedia as W } from "@arcgis/lumina/controllers";
7
- import { getColorsFromRenderer as G } from "@arcgis/core/renderers/support/utils.js";
8
- import { LitElement as q, nothing as y } from "@arcgis/lumina";
9
- import { substitute as K } from "@arcgis/core/intl.js";
10
- import { watch as J } from "@arcgis/core/core/reactiveUtils.js";
11
- import Q from "@arcgis/core/popup/FieldInfo.js";
2
+ import { c as O } from "../../chunks/runtime.js";
3
+ import { css as B, html as x } from "lit";
4
+ import { ref as W } from "lit/directives/ref.js";
5
+ import { keyed as j } from "lit/directives/keyed.js";
6
+ import { useDirection as G, useMedia as q } from "@arcgis/lumina/controllers";
7
+ import { getColorsFromRenderer as K } from "@arcgis/core/renderers/support/utils.js";
8
+ import { LitElement as J, nothing as y } from "@arcgis/lumina";
9
+ import { substitute as Q } from "@arcgis/core/intl.js";
10
+ import { watch as Z } from "@arcgis/core/core/reactiveUtils.js";
11
+ import ee from "@arcgis/core/popup/FieldInfo.js";
12
12
  import N from "@arcgis/core/popup/content/support/ChartMediaInfoValueSeries.js";
13
- import { unsafeGetCalciteModeName as Z } from "@arcgis/toolkit/dom";
14
- import { renderingSanitizer as z } from "@arcgis/core/applications/Components/sanitizerUtils.js";
15
- import { d as A, s as R, l as ee, m as V, i as te, n as ie, h as X, f as ae } from "../../chunks/feature-utils.js";
16
- const re = O`.container{display:flex;flex-flow:row wrap;align-items:center;margin-top:var(--calcite-spacing-xs);width:100%;min-height:150px}.container .pagination-button{display:flex;align-items:center;justify-content:center;border:none;background:transparent;cursor:pointer;padding-block:var(--calcite-spacing-xs);padding-inline:var(--calcite-spacing-xs);color:var(--calcite-color-text-3)}.container .pagination-button:hover,.container .pagination-button:focus{background-color:var(--calcite-color-foreground-3);color:var(--calcite-color-text-1);fill:var(--calcite-color-text-1)}.item-title{margin:0;font-size:var(--calcite-font-size-md);line-height:var(--calcite-font-line-height-relative-snug)}.item-caption{padding-block-start:var(--calcite-spacing-xxs);font-size:var(--calcite-font-size-sm);line-height:var(--calcite-font-line-height-relative-snug)}.item{display:flex;align-items:flex-start;justify-content:center;margin-block:var(--calcite-spacing-xs);width:100%;height:auto}.item-navigation{display:flex;flex:0 1 100%;align-items:flex-start;justify-content:space-between;margin-block-end:var(--calcite-spacing-xs)}.item-text{margin-inline-end:var(--calcite-spacing-xs)}.pagination{display:flex;flex:0 0 auto;align-items:center;overflow:hidden}.pagination:only-child{margin-inline-start:auto}.pagination-text{padding-inline:var(--calcite-spacing-xxs);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size-sm);line-height:var(--calcite-font-line-height-relative-normal)}.item-container{flex:0 1 auto;width:100%}.item-container img{max-width:100%}.item-container img[src$=".SVG"],.item-container img[src$=".svg"]{width:100%}.chart{width:100%;height:155px}`;
13
+ import { unsafeGetCalciteModeName as te } from "@arcgis/toolkit/dom";
14
+ import { renderingSanitizer as V } from "@arcgis/core/applications/Components/sanitizerUtils.js";
15
+ import { d as A, s as R, l as z, m as X, n as ie, o as E, i as ae, p as re, h as Y, f as ne } from "../../chunks/feature-utils.js";
16
+ const oe = B`.container{display:flex;flex-flow:row wrap;align-items:center;margin-top:var(--calcite-spacing-xs);width:100%;min-height:150px}.container .pagination-button{display:flex;align-items:center;justify-content:center;border:none;background:transparent;cursor:pointer;padding-block:var(--calcite-spacing-xs);padding-inline:var(--calcite-spacing-xs);color:var(--calcite-color-text-3)}.container .pagination-button:hover,.container .pagination-button:focus{background-color:var(--calcite-color-foreground-3);color:var(--calcite-color-text-1);fill:var(--calcite-color-text-1)}.item-title{margin:0;font-size:var(--calcite-font-size-md);line-height:var(--calcite-font-line-height-relative-snug)}.item-caption{padding-block-start:var(--calcite-spacing-xxs);font-size:var(--calcite-font-size-sm);line-height:var(--calcite-font-line-height-relative-snug)}.item{display:flex;align-items:flex-start;justify-content:center;margin-block:var(--calcite-spacing-xs);width:100%;height:auto}.item-navigation{display:flex;flex:0 1 100%;align-items:flex-start;justify-content:space-between;margin-block-end:var(--calcite-spacing-xs)}.item-text{margin-inline-end:var(--calcite-spacing-xs)}.pagination{display:flex;flex:0 0 auto;align-items:center;overflow:hidden}.pagination:only-child{margin-inline-start:auto}.pagination-text{padding-inline:var(--calcite-spacing-xxs);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size-sm);line-height:var(--calcite-font-line-height-relative-normal)}.item-container{flex:0 1 auto;width:100%}.item-container img{max-width:100%}.item-container img[src$=".SVG"],.item-container img[src$=".svg"]{width:100%}.chart{width:100%;height:155px}`;
17
17
  function $(S) {
18
18
  if (!A(S))
19
19
  return null;
20
20
  const [e, t] = S.split("/").slice(1);
21
21
  return { layerId: e, fieldName: t };
22
22
  }
23
- const k = 15, M = "category", w = "value", ne = "rgba(50, 50, 50, 1)", oe = 250, se = 500, le = 200;
24
- class ce extends q {
23
+ const k = 15, M = "category", w = "value", se = "rgba(50, 50, 50, 1)", le = 250, ce = 500, de = 200;
24
+ class ue extends J {
25
25
  constructor() {
26
- super(...arguments), this._direction = j(), this._prefersReducedMotion = W("(prefers-reduced-motion)"), this.activeMediaInfoIndex = 0, this.chartAnimationDisabled = !1, this.headingLevel = 2;
26
+ super(...arguments), this._direction = G(), this._prefersReducedMotion = q("(prefers-reduced-motion)"), this.activeMediaInfoIndex = 0, this.chartAnimationDisabled = !1, this.headingLevel = 2;
27
27
  }
28
28
  static {
29
29
  this.properties = { _refreshIntervalInfo: 16, messages: 0, values: 0, activeMediaInfoIndex: 9, chartAnimationDisabled: 5, activeMediaInfo: 32, formattedMediaInfos: 32, description: 1, fieldInfoMap: 0, layer: 0, mediaInfos: 0, popupTemplate: 0, relatedInfos: 0, formattedValues: 0, heading: 1, graphic: 0, formattedMediaInfoCount: 32, headingLevel: 9 };
30
30
  }
31
31
  static {
32
- this.styles = re;
32
+ this.styles = oe;
33
33
  }
34
34
  get activeMediaInfo() {
35
35
  return this.formattedMediaInfos[this.activeMediaInfoIndex] || null;
@@ -51,7 +51,7 @@ class ce extends q {
51
51
  }
52
52
  loaded() {
53
53
  this.manager.onLifecycle(() => [
54
- J(() => [this.activeMediaInfo, this.activeMediaInfoIndex], () => this._setupMediaRefreshTimer(), { initial: !0 }),
54
+ Z(() => [this.activeMediaInfo, this.activeMediaInfoIndex], () => this._setupMediaRefreshTimer(), { initial: !0 }),
55
55
  { remove: () => this._clearMediaRefreshTimer() }
56
56
  ]);
57
57
  }
@@ -64,126 +64,153 @@ class ce extends q {
64
64
  this._setContentElementMedia(i);
65
65
  }
66
66
  _formatMediaInfos() {
67
- const { mediaInfos: e, layer: t } = this, i = this.values ?? {}, r = this.formattedValues ?? {}, a = this.fieldInfoMap ?? /* @__PURE__ */ new Map();
67
+ const { mediaInfos: e, layer: t } = this, i = this.values ?? {}, a = this.formattedValues ?? {}, r = this.fieldInfoMap ?? /* @__PURE__ */ new Map();
68
68
  return e?.map((o) => {
69
69
  const n = o?.clone();
70
70
  if (!n)
71
71
  return null;
72
72
  if (n.title = R({
73
73
  values: i,
74
- fieldInfoMap: a,
75
- globalValues: r,
74
+ fieldInfoMap: r,
75
+ globalValues: a,
76
76
  layer: t,
77
77
  text: n.title
78
78
  }), n.caption = R({
79
79
  values: i,
80
- fieldInfoMap: a,
81
- globalValues: r,
80
+ fieldInfoMap: r,
81
+ globalValues: a,
82
82
  layer: t,
83
83
  text: n.caption
84
84
  }), n.altText = R({
85
85
  values: i,
86
- fieldInfoMap: a,
87
- globalValues: r,
86
+ fieldInfoMap: r,
87
+ globalValues: a,
88
88
  layer: t,
89
89
  text: n.altText
90
- }), n.type === "image")
91
- return n.value?.sourceURL ? n : null;
90
+ }), n.type === "image") {
91
+ if (!n.value)
92
+ return null;
93
+ const s = n.value;
94
+ return this._setImageValue({
95
+ value: s,
96
+ formattedValues: a,
97
+ layer: t
98
+ }), s.sourceURL ? n : void 0;
99
+ }
92
100
  if (n.type === "pie-chart" || n.type === "line-chart" || n.type === "column-chart" || n.type === "bar-chart") {
93
101
  if (!n.value)
94
102
  return null;
95
- const c = n.value;
103
+ const s = n.value;
96
104
  return this._setChartValue({
97
- value: c,
105
+ value: s,
98
106
  chartType: n.type,
99
107
  values: i,
100
- formattedValues: r,
108
+ formattedValues: a,
101
109
  layer: t
102
110
  }), n;
103
111
  }
104
112
  return null;
105
113
  }).filter((o) => o != null) ?? [];
106
114
  }
115
+ _setImageValue(e) {
116
+ const t = this.fieldInfoMap ?? /* @__PURE__ */ new Map(), { value: i, formattedValues: a, layer: r } = e, { linkURL: o, sourceURL: n } = i;
117
+ if (n) {
118
+ const s = z(n, r);
119
+ i.sourceURL = X({
120
+ formattedValues: a,
121
+ template: s,
122
+ fieldInfoMap: t
123
+ });
124
+ }
125
+ if (o) {
126
+ const s = z(o, r);
127
+ i.linkURL = X({
128
+ formattedValues: a,
129
+ template: s,
130
+ fieldInfoMap: t
131
+ });
132
+ }
133
+ }
107
134
  _setChartValue(e) {
108
- const { value: t, values: i, formattedValues: r, chartType: a, layer: o } = e, { popupTemplate: n, relatedInfos: c } = this, { fields: l, normalizeField: v } = t, d = o;
109
- if (t.fields = ee(l, d), v && (t.normalizeField = V(v, d)), !l.some((u) => !!(r[u] != null || A(u) && c?.size)))
135
+ const { value: t, values: i, formattedValues: a, chartType: r, layer: o } = e, { popupTemplate: n, relatedInfos: s } = this, { fields: c, normalizeField: v } = t, d = o;
136
+ if (t.fields = ie(c, d), v && (t.normalizeField = E(v, d)), !c.some((u) => !!(a[u] != null || A(u) && s?.size)))
110
137
  return;
111
138
  const h = n?.fieldInfos ?? [];
112
- t.series = [], l.forEach((u, m) => {
113
- const f = t.colors?.[m];
139
+ t.series = [], c.forEach((u, f) => {
140
+ const m = t.colors?.[f];
114
141
  if (A(u)) {
115
142
  t.series = [
116
143
  ...t.series,
117
- ...this._getRelatedChartInfos({ fieldInfos: h, fieldName: u, formattedValues: r, chartType: a, value: t, color: f })
144
+ ...this._getRelatedChartInfos({ fieldInfos: h, fieldName: u, formattedValues: a, chartType: r, value: t, color: m })
118
145
  ];
119
146
  return;
120
147
  }
121
148
  const p = this._getChartOption({
122
149
  value: t,
123
150
  values: i,
124
- chartType: a,
125
- formattedValues: r,
151
+ chartType: r,
152
+ formattedValues: a,
126
153
  fieldName: u,
127
154
  fieldInfos: h,
128
- color: f
155
+ color: m
129
156
  });
130
157
  t.series.push(p);
131
158
  });
132
159
  }
133
160
  _getRelatedChartInfos(e) {
134
- const { fieldInfos: t, fieldName: i, formattedValues: r, chartType: a, value: o, color: n } = e, c = [], l = $(i), v = l && this.relatedInfos?.get(l.layerId);
161
+ const { fieldInfos: t, fieldName: i, formattedValues: a, chartType: r, value: o, color: n } = e, s = [], c = $(i), v = c && this.relatedInfos?.get(c.layerId);
135
162
  if (!v)
136
- return c;
137
- const { relatedFeatures: d, relation: s } = v;
138
- if (!s || !d)
139
- return c;
140
- const { cardinality: h } = s;
141
- return d.forEach((m) => {
142
- const f = m.attributes;
143
- f && Object.keys(f).forEach((p) => {
144
- p === l.fieldName && c.push(this._getChartOption({
163
+ return s;
164
+ const { relatedFeatures: d, relation: l } = v;
165
+ if (!l || !d)
166
+ return s;
167
+ const { cardinality: h } = l;
168
+ return d.forEach((f) => {
169
+ const m = f.attributes;
170
+ m && Object.keys(m).forEach((p) => {
171
+ p === c.fieldName && s.push(this._getChartOption({
145
172
  value: o,
146
- values: f,
147
- formattedValues: r,
173
+ values: m,
174
+ formattedValues: a,
148
175
  fieldName: i,
149
- chartType: a,
176
+ chartType: r,
150
177
  relatedFieldName: p,
151
178
  hasMultipleRelatedFeatures: d?.length > 1,
152
179
  fieldInfos: t,
153
180
  color: n
154
181
  }));
155
182
  });
156
- }), h && (h === "one-to-many" || h === "many-to-many") ? c : [c[0]];
183
+ }), h && (h === "one-to-many" || h === "many-to-many") ? s : [s[0]];
157
184
  }
158
185
  _getTooltip({ label: e, value: t, chartType: i }) {
159
186
  return i === "pie-chart" ? `${e}` : `${e}: ${t}`;
160
187
  }
161
188
  _getChartOption(e) {
162
- const { value: t, values: i, formattedValues: r, fieldName: a, relatedFieldName: o, fieldInfos: n, chartType: c, hasMultipleRelatedFeatures: l, color: v } = e, { layer: d, graphic: s } = this, h = this.fieldInfoMap ?? /* @__PURE__ */ new Map(), { normalizeField: u, tooltipField: m } = t, f = u ? A(u) ? i[$(u).fieldName] : i[u] : null, p = te(a) && r?.[a] !== void 0 ? r[a] : o && i[o] !== void 0 ? i[o] : i[a] !== void 0 ? i[a] : r[a], x = p === void 0 ? null : p && f && typeof p == "number" && typeof f == "number" ? p / f : p, I = ie(n, a), g = V(a, d), C = (m && r[m] !== void 0 ? r[m] : X({
163
- fieldInfo: I || new Q({ fieldName: g }),
189
+ const { value: t, values: i, formattedValues: a, fieldName: r, relatedFieldName: o, fieldInfos: n, chartType: s, hasMultipleRelatedFeatures: c, color: v } = e, { layer: d, graphic: l } = this, h = this.fieldInfoMap ?? /* @__PURE__ */ new Map(), { normalizeField: u, tooltipField: f } = t, m = u ? A(u) ? i[$(u).fieldName] : i[u] : null, p = ae(r) && a?.[r] !== void 0 ? a[r] : o && i[o] !== void 0 ? i[o] : i[r] !== void 0 ? i[r] : a[r], I = p === void 0 ? null : p && m && typeof p == "number" && typeof m == "number" ? p / m : p, _ = re(n, r), g = E(r, d), C = (f && a[f] !== void 0 ? a[f] : Y({
190
+ fieldInfo: _ || new ee({ fieldName: g }),
164
191
  expressionInfos: this.popupTemplate?.expressionInfos,
165
- graphic: s,
192
+ graphic: l,
166
193
  layer: d
167
- })) ?? "", b = r[g] ?? "", L = x != null ? typeof x == "number" ? x : Number(x) : null;
168
- if (A(a)) {
169
- const T = h.get(a.toLowerCase()), E = m ? h.get(m.toLowerCase()) : null, Y = T?.fieldName ?? a, F = l && m ? $(m).fieldName : E?.fieldName ?? m, P = (l && F ? i[F] : r[F] ?? (T && X({ fieldInfo: T, layer: d, graphic: s })) ?? T?.fieldName ?? o) ?? "", H = (l && o ? i[o] : r[Y]) ?? "";
194
+ })) ?? "", b = a[g] ?? "", L = I != null ? typeof I == "number" ? I : Number(I) : null;
195
+ if (A(r)) {
196
+ const T = h.get(r.toLowerCase()), P = f ? h.get(f.toLowerCase()) : null, U = T?.fieldName ?? r, F = c && f ? $(f).fieldName : P?.fieldName ?? f, H = (c && F ? i[F] : a[F] ?? (T && Y({ fieldInfo: T, layer: d, graphic: l })) ?? T?.fieldName ?? o) ?? "", D = (c && o ? i[o] : a[U]) ?? "";
170
197
  return new N({
171
- fieldName: a,
198
+ fieldName: r,
172
199
  tooltip: this._getTooltip({
173
- label: P,
174
- value: H,
175
- chartType: c
200
+ label: H,
201
+ value: D,
202
+ chartType: s
176
203
  }),
177
204
  color: v,
178
205
  value: L
179
206
  });
180
207
  }
181
208
  return new N({
182
- fieldName: a,
209
+ fieldName: r,
183
210
  tooltip: this._getTooltip({
184
211
  label: C,
185
212
  value: b,
186
- chartType: c
213
+ chartType: s
187
214
  }),
188
215
  color: v,
189
216
  value: L
@@ -195,28 +222,28 @@ class ce extends q {
195
222
  }
196
223
  async _getSeriesColors(e) {
197
224
  const { color: t } = await import("@amcharts/amcharts5/index.js"), i = /* @__PURE__ */ new Map();
198
- return e.forEach((r) => {
199
- r.color && i.set(r, t(r.color.toCss(!0)));
225
+ return e.forEach((a) => {
226
+ a.color && i.set(a, t(a.color.toCss(!0)));
200
227
  }), i;
201
228
  }
202
229
  async _getRendererColors() {
203
- const { color: e } = await import("@amcharts/amcharts5/index.js"), t = /* @__PURE__ */ new Map(), i = this._getRenderer(), r = "default";
230
+ const { color: e } = await import("@amcharts/amcharts5/index.js"), t = /* @__PURE__ */ new Map(), i = this._getRenderer(), a = "default";
204
231
  if (!i)
205
232
  return t;
206
- const a = await G(i);
207
- return a.delete(r), Array.from(a.values()).every((n) => n?.length === 1) && Array.from(a.keys()).forEach((n) => {
208
- const c = a.get(n)?.[0]?.toCss(!0);
209
- c && t.set(n, e(c));
233
+ const r = await K(i);
234
+ return r.delete(a), Array.from(r.values()).every((n) => n?.length === 1) && Array.from(r.keys()).forEach((n) => {
235
+ const s = r.get(n)?.[0]?.toCss(!0);
236
+ s && t.set(n, e(s));
210
237
  }), t;
211
238
  }
212
239
  async _createChart(e) {
213
240
  const { activeMediaInfo: t } = this;
214
241
  if (!e || !t)
215
242
  return;
216
- const { createRoot: i } = await import("../../chunks/chart-utils.js"), r = await i(e);
217
- this._chartRoot = r, this._renderChart({
243
+ const { createRoot: i } = await import("../../chunks/chart-utils.js"), a = await i(e);
244
+ this._chartRoot = a, this._renderChart({
218
245
  mediaInfo: t,
219
- root: r
246
+ root: a
220
247
  });
221
248
  }
222
249
  _handleMediaKeyup(e) {
@@ -227,48 +254,48 @@ class ce extends q {
227
254
  return !this.chartAnimationDisabled && !this._prefersReducedMotion;
228
255
  }
229
256
  _getChartAnimationMS() {
230
- return this._canAnimateChart() ? oe : 0;
257
+ return this._canAnimateChart() ? le : 0;
231
258
  }
232
259
  _getChartSeriesAnimationMS() {
233
- return this._canAnimateChart() ? se : 0;
260
+ return this._canAnimateChart() ? ce : 0;
234
261
  }
235
262
  async _customizeChartTooltip(e, t = "horizontal") {
236
263
  const { color: i } = await import("@amcharts/amcharts5/index.js");
237
264
  e.setAll({
238
265
  pointerOrientation: t
239
266
  }), e.get("background")?.setAll({
240
- stroke: i(ne)
267
+ stroke: i(se)
241
268
  }), e.label.setAll({
242
269
  direction: this._direction,
243
270
  oversizedBehavior: "wrap",
244
- maxWidth: le
271
+ maxWidth: de
245
272
  });
246
273
  }
247
274
  async _createPieChart(e, t) {
248
- const [{ Tooltip: i }, { PieChart: r, PieSeries: a }] = await Promise.all([
275
+ const [{ Tooltip: i }, { PieChart: a, PieSeries: r }] = await Promise.all([
249
276
  import("@amcharts/amcharts5/index.js"),
250
277
  import("@amcharts/amcharts5/percent.js")
251
- ]), { mediaInfo: o, root: n } = e, { title: c } = o, l = 5, v = o?.altText || o?.title || "", d = n.container.children.push(r.new(n, {
278
+ ]), { mediaInfo: o, root: n } = e, { title: s } = o, c = 5, v = o?.altText || o?.title || "", d = n.container.children.push(a.new(n, {
252
279
  role: "figure",
253
280
  ariaLabel: v,
254
281
  focusable: !0,
255
- paddingBottom: l,
256
- paddingTop: l,
257
- paddingLeft: l,
258
- paddingRight: l
259
- })), s = `{category}: {valuePercentTotal.formatNumber('0.00')}%
282
+ paddingBottom: c,
283
+ paddingTop: c,
284
+ paddingLeft: c,
285
+ paddingRight: c
286
+ })), l = `{category}: {valuePercentTotal.formatNumber('0.00')}%
260
287
  ({value})`, h = i.new(n, {
261
- labelText: s
262
- }), u = d.series.push(a.new(n, {
263
- name: c,
288
+ labelText: l
289
+ }), u = d.series.push(r.new(n, {
290
+ name: s,
264
291
  valueField: w,
265
292
  categoryField: M,
266
293
  tooltip: h
267
294
  }));
268
295
  u.ticks.template.set("forceHidden", !0), u.labels.template.set("forceHidden", !0), u.slices.template.states.create("active", {
269
- shiftRadius: l
296
+ shiftRadius: c
270
297
  }), this._customizeChartTooltip(h), u.slices.template.setAll({
271
- ariaLabel: s,
298
+ ariaLabel: l,
272
299
  focusable: !0,
273
300
  templateField: "columnSettings"
274
301
  }), u.data.setAll(t), u.appear(this._getChartSeriesAnimationMS()), d.appear(this._getChartAnimationMS()), d.root.dom.classList.toggle("chart-rendered", !0);
@@ -278,120 +305,120 @@ class ce extends q {
278
305
  return e.forEach((i) => t = Math.min(i.value, t)), t;
279
306
  }
280
307
  async _createColumnChart(e, t, i) {
281
- const [{ Tooltip: r, Scrollbar: a }, { CategoryAxis: o, AxisRendererX: n, AxisRendererY: c, ValueAxis: l, ColumnSeries: v }] = await Promise.all([import("@amcharts/amcharts5/index.js"), import("@amcharts/amcharts5/xy.js")]), { mediaInfo: d, root: s } = t, { value: h, title: u } = d, { _direction: m } = this;
308
+ const [{ Tooltip: a, Scrollbar: r }, { CategoryAxis: o, AxisRendererX: n, AxisRendererY: s, ValueAxis: c, ColumnSeries: v }] = await Promise.all([import("@amcharts/amcharts5/index.js"), import("@amcharts/amcharts5/xy.js")]), { mediaInfo: d, root: l } = t, { value: h, title: u } = d, { _direction: f } = this;
282
309
  e.setAll({
283
310
  wheelX: "panX",
284
311
  wheelY: "zoomX"
285
312
  });
286
- const f = e.xAxes.push(o.new(s, {
287
- renderer: n.new(s, {
288
- inversed: m === "rtl"
313
+ const m = e.xAxes.push(o.new(l, {
314
+ renderer: n.new(l, {
315
+ inversed: f === "rtl"
289
316
  }),
290
317
  categoryField: M
291
318
  }));
292
- f.get("renderer").labels.template.setAll({
319
+ m.get("renderer").labels.template.setAll({
293
320
  forceHidden: !0
294
321
  });
295
- const p = e.yAxes.push(l.new(s, {
296
- renderer: c.new(s, { inside: !1 }),
322
+ const p = e.yAxes.push(c.new(l, {
323
+ renderer: s.new(l, { inside: !1 }),
297
324
  min: this._getMinSeriesValue(h.series)
298
325
  }));
299
326
  p.get("renderer").labels.template.setAll({
300
- direction: m
327
+ direction: f
301
328
  });
302
- const x = "{categoryX}", I = r.new(s, {
303
- labelText: x
304
- }), g = e.series.push(v.new(s, {
329
+ const I = "{categoryX}", _ = a.new(l, {
330
+ labelText: I
331
+ }), g = e.series.push(v.new(l, {
305
332
  name: u,
306
- xAxis: f,
333
+ xAxis: m,
307
334
  yAxis: p,
308
335
  valueYField: w,
309
336
  categoryXField: M,
310
- tooltip: I
337
+ tooltip: _
311
338
  }));
312
- this._customizeChartTooltip(I), g.columns.template.setAll({
313
- ariaLabel: x,
339
+ this._customizeChartTooltip(_), g.columns.template.setAll({
340
+ ariaLabel: I,
314
341
  focusable: !0,
315
342
  templateField: "columnSettings"
316
- }), h.series.length > k && e.set("scrollbarX", a.new(s, {
343
+ }), h.series.length > k && e.set("scrollbarX", r.new(l, {
317
344
  orientation: "horizontal"
318
- })), f.data.setAll(i), g.data.setAll(i), g.appear(this._getChartSeriesAnimationMS()), e.appear(this._getChartAnimationMS());
345
+ })), m.data.setAll(i), g.data.setAll(i), g.appear(this._getChartSeriesAnimationMS()), e.appear(this._getChartAnimationMS());
319
346
  }
320
347
  async _createBarChart(e, t, i) {
321
- const [{ Tooltip: r, Scrollbar: a }, { CategoryAxis: o, AxisRendererX: n, AxisRendererY: c, ValueAxis: l, ColumnSeries: v }] = await Promise.all([import("@amcharts/amcharts5/index.js"), import("@amcharts/amcharts5/xy.js")]), { mediaInfo: d, root: s } = t, { value: h, title: u } = d, { _direction: m } = this;
348
+ const [{ Tooltip: a, Scrollbar: r }, { CategoryAxis: o, AxisRendererX: n, AxisRendererY: s, ValueAxis: c, ColumnSeries: v }] = await Promise.all([import("@amcharts/amcharts5/index.js"), import("@amcharts/amcharts5/xy.js")]), { mediaInfo: d, root: l } = t, { value: h, title: u } = d, { _direction: f } = this;
322
349
  e.setAll({
323
350
  wheelX: "panY",
324
351
  wheelY: "zoomY"
325
352
  });
326
- const f = e.yAxes.push(o.new(s, {
327
- renderer: c.new(s, {
353
+ const m = e.yAxes.push(o.new(l, {
354
+ renderer: s.new(l, {
328
355
  inversed: !0
329
356
  }),
330
357
  categoryField: M
331
358
  }));
332
- f.get("renderer").labels.template.setAll({
359
+ m.get("renderer").labels.template.setAll({
333
360
  forceHidden: !0
334
361
  });
335
- const p = e.xAxes.push(l.new(s, {
336
- renderer: n.new(s, {
362
+ const p = e.xAxes.push(c.new(l, {
363
+ renderer: n.new(l, {
337
364
  inside: !1,
338
- inversed: m === "rtl"
365
+ inversed: f === "rtl"
339
366
  }),
340
367
  min: this._getMinSeriesValue(h.series)
341
368
  }));
342
369
  p.get("renderer").labels.template.setAll({
343
- direction: m
370
+ direction: f
344
371
  });
345
- const x = "{categoryY}", I = r.new(s, {
346
- labelText: x
347
- }), g = e.series.push(v.new(s, {
372
+ const I = "{categoryY}", _ = a.new(l, {
373
+ labelText: I
374
+ }), g = e.series.push(v.new(l, {
348
375
  name: u,
349
376
  xAxis: p,
350
- yAxis: f,
377
+ yAxis: m,
351
378
  valueXField: w,
352
379
  categoryYField: M,
353
- tooltip: I
380
+ tooltip: _
354
381
  }));
355
- this._customizeChartTooltip(I, "vertical"), g.columns.template.setAll({
356
- ariaLabel: x,
382
+ this._customizeChartTooltip(_, "vertical"), g.columns.template.setAll({
383
+ ariaLabel: I,
357
384
  focusable: !0,
358
385
  templateField: "columnSettings"
359
- }), h.series.length > k && e.set("scrollbarY", a.new(s, {
386
+ }), h.series.length > k && e.set("scrollbarY", r.new(l, {
360
387
  orientation: "vertical"
361
- })), f.data.setAll(i), g.data.setAll(i), g.appear(this._getChartSeriesAnimationMS()), e.appear(this._getChartAnimationMS());
388
+ })), m.data.setAll(i), g.data.setAll(i), g.appear(this._getChartSeriesAnimationMS()), e.appear(this._getChartAnimationMS());
362
389
  }
363
390
  async _createLineChart(e, t, i) {
364
- const [{ Tooltip: r, Scrollbar: a }, { CategoryAxis: o, AxisRendererX: n, AxisRendererY: c, ValueAxis: l, LineSeries: v }] = await Promise.all([import("@amcharts/amcharts5/index.js"), import("@amcharts/amcharts5/xy.js")]), { root: d, mediaInfo: s } = t, { value: h, title: u } = s, { _direction: m } = this;
391
+ const [{ Tooltip: a, Scrollbar: r }, { CategoryAxis: o, AxisRendererX: n, AxisRendererY: s, ValueAxis: c, LineSeries: v }] = await Promise.all([import("@amcharts/amcharts5/index.js"), import("@amcharts/amcharts5/xy.js")]), { root: d, mediaInfo: l } = t, { value: h, title: u } = l, { _direction: f } = this;
365
392
  e.setAll({
366
393
  wheelX: "panX",
367
394
  wheelY: "zoomX"
368
395
  });
369
- const f = e.xAxes.push(o.new(d, {
396
+ const m = e.xAxes.push(o.new(d, {
370
397
  renderer: n.new(d, {
371
- inversed: m === "rtl"
398
+ inversed: f === "rtl"
372
399
  }),
373
400
  categoryField: M
374
401
  }));
375
- f.get("renderer").labels.template.setAll({
402
+ m.get("renderer").labels.template.setAll({
376
403
  forceHidden: !0
377
404
  });
378
- const p = e.yAxes.push(l.new(d, {
379
- renderer: c.new(d, { inside: !1 }),
405
+ const p = e.yAxes.push(c.new(d, {
406
+ renderer: s.new(d, { inside: !1 }),
380
407
  min: this._getMinSeriesValue(h.series)
381
408
  }));
382
409
  p.get("renderer").labels.template.setAll({
383
- direction: m
410
+ direction: f
384
411
  });
385
- const x = "{categoryX}", I = i[0]?.lineSettings?.stroke, g = r.new(d, {
386
- getFillFromSprite: !I,
387
- labelText: x
412
+ const I = "{categoryX}", _ = i[0]?.lineSettings?.stroke, g = a.new(d, {
413
+ getFillFromSprite: !_,
414
+ labelText: I
388
415
  });
389
- I && g.get("background")?.setAll({
390
- fill: I
416
+ _ && g.get("background")?.setAll({
417
+ fill: _
391
418
  });
392
419
  const C = e.series.push(v.new(d, {
393
420
  name: u,
394
- xAxis: f,
421
+ xAxis: m,
395
422
  yAxis: p,
396
423
  valueYField: w,
397
424
  categoryXField: M,
@@ -399,19 +426,19 @@ class ce extends q {
399
426
  }));
400
427
  C.strokes.template.setAll({
401
428
  templateField: "lineSettings"
402
- }), this._customizeChartTooltip(g, "vertical"), h.series.length > k && e.set("scrollbarX", a.new(d, {
429
+ }), this._customizeChartTooltip(g, "vertical"), h.series.length > k && e.set("scrollbarX", r.new(d, {
403
430
  orientation: "horizontal"
404
- })), f.data.setAll(i), C.data.setAll(i), C.appear(this._getChartSeriesAnimationMS()), e.appear(this._getChartAnimationMS());
431
+ })), m.data.setAll(i), C.data.setAll(i), C.appear(this._getChartSeriesAnimationMS()), e.appear(this._getChartAnimationMS());
405
432
  }
406
433
  async _createXYChart(e, t) {
407
- const { XYChart: i, XYCursor: r } = await import("@amcharts/amcharts5/xy.js"), { root: a, mediaInfo: o } = e, { type: n } = o, c = o?.altText || o?.title || "", l = a.container.children.push(i.new(a, {
434
+ const { XYChart: i, XYCursor: a } = await import("@amcharts/amcharts5/xy.js"), { root: r, mediaInfo: o } = e, { type: n } = o, s = o?.altText || o?.title || "", c = r.container.children.push(i.new(r, {
408
435
  role: "figure",
409
- ariaLabel: c,
436
+ ariaLabel: s,
410
437
  focusable: !0,
411
438
  panX: !0,
412
439
  panY: !0
413
440
  }));
414
- l.set("cursor", r.new(a, {})), n === "column-chart" && await this._createColumnChart(l, e, t), n === "bar-chart" && await this._createBarChart(l, e, t), n === "line-chart" && await this._createLineChart(l, e, t), l.root.dom.classList.toggle("chart-rendered", !0);
441
+ c.set("cursor", a.new(r, {})), n === "column-chart" && await this._createColumnChart(c, e, t), n === "bar-chart" && await this._createBarChart(c, e, t), n === "line-chart" && await this._createLineChart(c, e, t), c.root.dom.classList.toggle("chart-rendered", !0);
415
442
  }
416
443
  _clearMediaRefreshTimer() {
417
444
  const { _refreshTimer: e } = this;
@@ -430,26 +457,26 @@ class ce extends q {
430
457
  e?.type === "image" && e.refreshInterval > 0 && this._setRefreshTimeout(e);
431
458
  }
432
459
  _setRefreshTimeout(e) {
433
- const { refreshInterval: t, value: i } = e, r = t * 6e4;
460
+ const { refreshInterval: t, value: i } = e, a = t * 6e4;
434
461
  this._updateMediaInfoTimestamp(i.sourceURL);
435
- const a = window.setInterval(() => {
462
+ const r = window.setInterval(() => {
436
463
  this._updateMediaInfoTimestamp(i.sourceURL);
437
- }, r);
438
- this._refreshTimer = a;
464
+ }, a);
465
+ this._refreshTimer = r;
439
466
  }
440
467
  _getImageSource(e, t) {
441
- const i = e.includes("?") ? "&" : "?", [r, a = ""] = e.split("#");
442
- return `${r}${i}timestamp=${t}${a ? "#" : ""}${a}`;
468
+ const i = e.includes("?") ? "&" : "?", [a, r = ""] = e.split("#");
469
+ return `${a}${i}timestamp=${t}${r ? "#" : ""}${r}`;
443
470
  }
444
471
  _updateChartElement(e) {
445
472
  this._chartRoot?.dispose(), this._chartRoot = void 0, e && this._createChart(e);
446
473
  }
447
474
  render() {
448
- return _`<div class="root" @keyup=${this._handleMediaKeyup}><arcgis-feature-element-info .heading=${this.heading} .description=${this.description} .headingLevel=${this.headingLevel}></arcgis-feature-element-info>${this._renderMedia()}</div>`;
475
+ return x`<div class="root" @keyup=${this._handleMediaKeyup}><arcgis-feature-element-info .heading=${this.heading} .description=${this.description} .headingLevel=${this.headingLevel}></arcgis-feature-element-info>${this._renderMedia()}</div>`;
449
476
  }
450
477
  _renderMedia() {
451
478
  const { formattedMediaInfoCount: e, activeMediaInfoIndex: t } = this, i = this._renderMediaText();
452
- return e ? _`<div class="container">${this._renderMediaInfo()}<div class="item-navigation">${i}${e > 1 ? _`<div class="pagination">${this._renderMediaPageButton("previous")}<span class="pagination-text">${K(this.messages?.pageText ?? "", {
479
+ return e ? x`<div class="container">${this._renderMediaInfo()}<div class="item-navigation">${i}${e > 1 ? x`<div class="pagination">${this._renderMediaPageButton("previous")}<span class="pagination-text">${Q(this.messages?.pageText ?? "", {
453
480
  index: t + 1,
454
481
  total: e
455
482
  })}</span>${this._renderMediaPageButton("next")}</div>` : null}</div></div>` : null;
@@ -458,18 +485,18 @@ class ce extends q {
458
485
  const { activeMediaInfo: e } = this;
459
486
  if (!e)
460
487
  return null;
461
- const t = e?.title ? _`<div class="item-title" .innerHTML=${z.sanitize(e.title) ?? ""}></div>` : null, i = e?.caption ? _`<div class="item-caption" .innerHTML=${z.sanitize(e.caption) ?? ""}></div>` : null;
462
- return t || i ? _`<div class="item-text">${t}${i}</div>` : null;
488
+ const t = e?.title ? x`<div class="item-title" .innerHTML=${V.sanitize(e.title) ?? ""}></div>` : null, i = e?.caption ? x`<div class="item-caption" .innerHTML=${V.sanitize(e.caption) ?? ""}></div>` : null;
489
+ return t || i ? x`<div class="item-text">${t}${i}</div>` : null;
463
490
  }
464
491
  _renderImageMediaInfo(e) {
465
492
  if (!e.value)
466
493
  return null;
467
- const { _refreshIntervalInfo: t } = this, { value: i, refreshInterval: r, altText: a, title: o } = e, { sourceURL: n, linkURL: c } = i, v = ae(c ?? void 0) ? "_blank" : "_self", d = v === "_blank" ? "noreferrer" : "", s = r ? t : null, h = s ? s.sourceURL : n, u = _`<img alt=${(a || o) ?? y} src=${h ?? void 0 ?? y}>`;
468
- return (c ? _`<a href=${c ?? y} rel=${d ?? y} target=${v ?? y} title=${o ?? y}>${u}</a>` : null) ?? u;
494
+ const { _refreshIntervalInfo: t } = this, { value: i, refreshInterval: a, altText: r, title: o } = e, { sourceURL: n, linkURL: s } = i, v = ne(s ?? void 0) ? "_blank" : "_self", d = v === "_blank" ? "noreferrer" : "", l = a ? t : null, h = l ? l.sourceURL : n, u = x`<img alt=${(r || o) ?? y} src=${h ?? void 0 ?? y}>`;
495
+ return (s ? x`<a href=${s ?? y} rel=${d ?? y} target=${v ?? y} title=${o ?? y}>${u}</a>` : null) ?? u;
469
496
  }
470
497
  _renderChartMediaInfo(e) {
471
498
  const { activeMediaInfoIndex: t, formattedMediaInfoCount: i } = this;
472
- return U(`media-${e.type}-${t}-${i}`, _`<div class="chart" ${B(this._updateChartElement)}></div>`);
499
+ return j(`media-${e.type}-${t}-${i}`, x`<div class="chart" ${W(this._updateChartElement)}></div>`);
473
500
  }
474
501
  _renderMediaInfoType() {
475
502
  const { activeMediaInfo: e } = this;
@@ -477,31 +504,31 @@ class ce extends q {
477
504
  }
478
505
  _renderMediaInfo() {
479
506
  const { activeMediaInfo: e } = this;
480
- return e ? _`<div class="item-container"><div class="item">${this._renderMediaInfoType()}</div></div>` : null;
507
+ return e ? x`<div class="item-container"><div class="item">${this._renderMediaInfoType()}</div></div>` : null;
481
508
  }
482
509
  _renderMediaPageButton(e) {
483
510
  if (this.formattedMediaInfoCount < 2)
484
511
  return null;
485
- const t = e === "previous", i = t ? this.messages?.previous ?? "" : this.messages?.next ?? "", r = t ? "chevron-left" : "chevron-right", a = t ? this.previous : this.next;
486
- return _`<button .ariaLabel=${i} class="pagination-button" @click=${a} tabindex=0 title=${i ?? y} type=button><calcite-icon flip-rtl class="pagination-icon" .icon=${r} scale=s></calcite-icon></button>`;
512
+ const t = e === "previous", i = t ? this.messages?.previous ?? "" : this.messages?.next ?? "", a = t ? "chevron-left" : "chevron-right", r = t ? this.previous : this.next;
513
+ return x`<button .ariaLabel=${i} class="pagination-button" @click=${r} tabindex=0 title=${i ?? y} type=button><calcite-icon flip-rtl class="pagination-icon" .icon=${a} scale=s></calcite-icon></button>`;
487
514
  }
488
515
  async _renderChart(e) {
489
- const { root: t, mediaInfo: i } = e, { value: r, type: a } = i, [{ default: o }, { default: n }, { default: c }, { esriChartColorSet: l }, { ColorSet: v, Theme: d }] = await Promise.all([
516
+ const { root: t, mediaInfo: i } = e, { value: a, type: r } = i, [{ default: o }, { default: n }, { default: s }, { esriChartColorSet: c }, { ColorSet: v, Theme: d }] = await Promise.all([
490
517
  import("@amcharts/amcharts5/themes/Animated.js"),
491
518
  import("@amcharts/amcharts5/themes/Dark.js"),
492
519
  import("@amcharts/amcharts5/themes/Responsive.js"),
493
520
  import("../../chunks/chartCommon.js"),
494
521
  import("@amcharts/amcharts5/index.js")
495
- ]), s = d.new(t);
496
- s.rule("ColorSet").set("colors", l), s.rule("ColorSet").set("reuse", !0);
497
- const h = [c.new(t), s];
498
- Z(this.el) === "dark" && h.push(n.new(t)), this._canAnimateChart() && h.push(o.new(t)), t.setThemes(h);
499
- const u = await this._getRendererColors(), m = await this._getSeriesColors(r.series), f = v.new(t, {}), p = m.get(r.series[0]), x = p ? {
522
+ ]), l = d.new(t);
523
+ l.rule("ColorSet").set("colors", c), l.rule("ColorSet").set("reuse", !0);
524
+ const h = [s.new(t), l];
525
+ te(this.el) === "dark" && h.push(n.new(t)), this._canAnimateChart() && h.push(o.new(t)), t.setThemes(h);
526
+ const u = await this._getRendererColors(), f = await this._getSeriesColors(a.series), m = v.new(t, {}), p = f.get(a.series[0]), I = p ? {
500
527
  lineSettings: {
501
528
  stroke: p
502
529
  }
503
- } : void 0, I = r.series.map((g, C) => {
504
- const b = m.get(g) || u.get(g.fieldName) || f.getIndex(C);
530
+ } : void 0, _ = a.series.map((g, C) => {
531
+ const b = f.get(g) || u.get(g.fieldName) || m.getIndex(C);
505
532
  return {
506
533
  [M]: g.tooltip,
507
534
  [w]: g.value,
@@ -509,13 +536,13 @@ class ce extends q {
509
536
  fill: b,
510
537
  stroke: b
511
538
  },
512
- ...x
539
+ ...I
513
540
  };
514
- }).filter((g) => a === "pie-chart" ? g.value != null && g.value > 0 : !0);
515
- a === "pie-chart" ? this._createPieChart(e, I) : this._createXYChart(e, I);
541
+ }).filter((g) => r === "pie-chart" ? g.value != null && g.value > 0 : !0);
542
+ r === "pie-chart" ? this._createPieChart(e, _) : this._createXYChart(e, _);
516
543
  }
517
544
  }
518
- D("arcgis-feature-media", ce);
545
+ O("arcgis-feature-media", ue);
519
546
  export {
520
- ce as ArcgisFeatureMedia
547
+ ue as ArcgisFeatureMedia
521
548
  };