@arcgis/map-components 6.0.0-next.28 → 6.0.0-next.29

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 (52) hide show
  1. package/dist/cdn/A6DDWCVW.js +2 -0
  2. package/dist/cdn/{FUNBSU6V.js → AKIHNM7C.js} +1 -1
  3. package/dist/cdn/APCXGAD5.js +2 -0
  4. package/dist/cdn/{QVD4YHTQ.js → CGGVQCCL.js} +1 -1
  5. package/dist/cdn/FAPDKS2C.js +2 -0
  6. package/dist/cdn/J6ZEZ4NE.js +2 -0
  7. package/dist/cdn/NXLWTRS6.js +3 -0
  8. package/dist/cdn/{HSBDELT3.js → PJIES74D.js} +1 -1
  9. package/dist/cdn/{T4Z2B3T7.js → PSPUWCU5.js} +1 -1
  10. package/dist/cdn/{PYCFYJ6M.js → Q2KWXSLQ.js} +1 -1
  11. package/dist/cdn/UZXVNOOD.js +2 -0
  12. package/dist/cdn/index.js +1 -1
  13. package/dist/cdn/main.css +1 -1
  14. package/dist/components/arcgis-daylight/customElement.d.ts +30 -23
  15. package/dist/components/arcgis-feature-media/customElement.js +63 -60
  16. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  17. package/dist/components/arcgis-popup/customElement.js +144 -138
  18. package/dist/components/arcgis-presentation/customElement.js +74 -75
  19. package/dist/components/arcgis-shadow-cast/customElement.d.ts +17 -10
  20. package/dist/components/arcgis-time-bar/customElement.js +1 -1
  21. package/dist/components/arcgis-utility-network-picker/customElement.d.ts +2 -2
  22. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +7 -4
  23. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +46 -38
  24. package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.d.ts +19 -3
  25. package/dist/components/arcgis-utility-network-trace-locations/customElement.d.ts +22 -15
  26. package/dist/components/arcgis-utility-network-trace-locations/customElement.js +70 -62
  27. package/dist/components/arcgis-video/customElement.d.ts +10 -0
  28. package/dist/components/arcgis-video/customElement.js +7 -4
  29. package/dist/components/arcgis-video-player/customElement.d.ts +17 -0
  30. package/dist/components/arcgis-video-player/customElement.js +57 -49
  31. package/dist/docs/api.json +1 -1
  32. package/dist/docs/docs.json +1 -1
  33. package/dist/docs/vscode.html-custom-data.json +1 -1
  34. package/dist/docs/web-types.json +1 -1
  35. package/dist/index.d.ts +0 -4
  36. package/dist/loader.js +5 -5
  37. package/dist/types/lumina.d.ts +1 -6
  38. package/dist/types/preact.d.ts +1 -7
  39. package/dist/types/react.d.ts +1 -8
  40. package/dist/types/stencil.d.ts +1 -6
  41. package/package.json +6 -6
  42. package/dist/cdn/3Y6GBQLR.js +0 -3
  43. package/dist/cdn/4CBB6BPG.js +0 -2
  44. package/dist/cdn/J4K4UZ37.js +0 -2
  45. package/dist/cdn/Q6A6EI6P.js +0 -2
  46. package/dist/cdn/R6X3R7P2.js +0 -2
  47. package/dist/cdn/ZJPYW3TN.js +0 -2
  48. package/dist/components/arcgis-feature-form-field/customElement.d.ts +0 -189
  49. package/dist/components/arcgis-feature-form-field/index.d.ts +0 -1
  50. package/dist/components/arcgis-feature-form-field/types.d.ts +0 -7
  51. package/dist/components/arcgis-feature-form-field-number/customElement.d.ts +0 -4
  52. package/dist/components/arcgis-feature-form-field-number/index.d.ts +0 -1
@@ -22,11 +22,13 @@ import type { Icon as Icon } from "@esri/calcite-components/components/calcite-i
22
22
  * [date](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/SunLighting/#date) property of
23
23
  * the lighting of [arcgis-scene.environment](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#environment).
24
24
  *
25
- * **How date, time, and timezone work**
25
+ * **How date, time, and UTC offset work**
26
26
  *
27
- * In sunlight mode, `SunLighting.date` is the source of truth for the scene lighting instant. The daylight component's
28
- * `utcOffset` controls how that instant is displayed (date and slider time) and how user-entered local values are
29
- * converted back to UTC.
27
+ * In sunlight mode, `SunLighting.date` is the source of truth for the scene lighting instant. The Daylight component's
28
+ * [utcOffset](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-daylight/#utcOffset) is a numeric offset from Coordinated Universal Time (UTC). It controls
29
+ * how that instant is displayed (date and slider time) and how user-entered local values are converted back to UTC.
30
+ * A UTC offset does not identify a regional time zone, such as `Europe/Zurich`, or automatically account for
31
+ * daylight saving time.
30
32
  *
31
33
  * This means changing only [utcOffset](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-daylight/#utcOffset) updates the displayed local date/time but
32
34
  * preserves the same lighting instant. Changing [localDate](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-daylight/#localDate) and/or
@@ -40,9 +42,10 @@ import type { Icon as Icon } from "@esri/calcite-components/components/calcite-i
40
42
  *
41
43
  * [![daylight-default](https://developers.arcgis.com/javascript/latest/assets/references/core/components/daylight/daylight-default.avif)](https://developers.arcgis.com/javascript/latest/sample-code/daylight/)
42
44
  *
43
- * The component has an option to select the timezone. When the user makes any adjustments here, a new time
44
- * in the chosen timezone is calculated and displayed in the slider. The timezone selector can be hidden
45
- * by using the [hideTimezone](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-daylight/#hideTimezone) property.
45
+ * The UTC offset selector, labeled **Timezone** in the component, sets [utcOffset](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-daylight/#utcOffset).
46
+ * Changing the selection updates the displayed date and time without changing the scene's lighting instant or
47
+ * [arcgis-scene.timeZone](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#timeZone).
48
+ * The selector can be hidden using the [hideTimezone](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-daylight/#hideTimezone) property.
46
49
  *
47
50
  * By default, a calendar is displayed to select the day, month, and year.
48
51
  * With the [dateOrSeason](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-daylight/#dateOrSeason) property, the calendar can be replaced with
@@ -63,21 +66,21 @@ import type { Icon as Icon } from "@esri/calcite-components/components/calcite-i
63
66
  *
64
67
  * Whenever the sun position option is unchecked, the scene applies the
65
68
  * **[virtual light](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/VirtualLighting/)** source relative to the camera.
66
- * With this, the component's time slider, timezone, and date picker get automatically disabled:
69
+ * With this, the component's time slider, UTC offset selector, and date picker get automatically disabled:
67
70
  *
68
71
  * ![daylight-virtual](https://developers.arcgis.com/javascript/latest/assets/references/core/components/daylight/daylight-virtual.avif)
69
72
  *
70
73
  * **Things to consider**
71
74
  *
72
75
  * * Daylight is only supported in a 3D [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) component.
73
- * * The Daylight component uses a numeric UTC offset and does not track an IANA time zone. It does not account for daylight saving time transitions in different countries and regions.
74
76
  * * When using the [virtual light](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/VirtualLighting/),
75
77
  * setting the time and date programmatically does not have an influence on the lighting conditions of the scene.
76
78
  * * When using the [sunlight](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/SunLighting/),
77
- * the time slider and time zone automatically react to the changes of the camera (e.g., position, rotation, pan, zoom) because the position of the simulated sun
78
- * is updated to maintain a consistent solar time of day based on the camera's current longitude. This can be adjusted using the
79
+ * the time slider and UTC offset react to camera changes when
79
80
  * [cameraTrackingEnabled](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/SunLighting/#cameraTrackingEnabled)
80
- * property on the lighting of [arcgis-scene.environment](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#environment). This camera-based timezone behavior is an approximation based on longitude.
81
+ * is enabled. Camera tracking updates the simulated sun's position to maintain a consistent solar time of day as the
82
+ * camera moves. The component estimates the UTC offset from the camera's longitude; it does not determine the regional
83
+ * time zone at the camera's location.
81
84
  *
82
85
  * @see [arcgis-scene.environment](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#environment)
83
86
  * @see [SunLighting](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/SunLighting/)
@@ -144,7 +147,11 @@ export abstract class ArcgisDaylight extends LitElement {
144
147
  accessor hideShadowsToggle: boolean;
145
148
  /** @default false */
146
149
  accessor hideSunLightingToggle: boolean;
147
- /** @default false */
150
+ /**
151
+ * If true, the UTC offset selector, labeled **Timezone** in the component, is hidden.
152
+ *
153
+ * @default false
154
+ */
148
155
  accessor hideTimezone: boolean;
149
156
  /**
150
157
  * Icon which represents the component. Typically used when the component is controlled by another component (e.g. by the Expand component).
@@ -156,10 +163,10 @@ export abstract class ArcgisDaylight extends LitElement {
156
163
  /** The component's default label. */
157
164
  accessor label: string | undefined;
158
165
  /**
159
- * The calendar date in the timezone given by [utcOffset](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-daylight/#utcOffset).
166
+ * The local calendar date using [utcOffset](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-daylight/#utcOffset).
160
167
  *
161
- * Date-only ISO strings in `YYYY-MM-DD` format are preserved as-is to avoid day shifts in negative local
162
- * timezones. Other valid `Date`, `number`, and `string` values are normalized to canonical `YYYY-MM-DD`.
168
+ * Date-only ISO strings in `YYYY-MM-DD` format are preserved as-is to avoid day shifts in locations with negative
169
+ * UTC offsets. Other valid `Date`, `number`, and `string` values are normalized to canonical `YYYY-MM-DD`.
163
170
  *
164
171
  * @example
165
172
  * ```js
@@ -243,13 +250,12 @@ export abstract class ArcgisDaylight extends LitElement {
243
250
  */
244
251
  accessor referenceElement: ArcgisReferenceElement | string | undefined;
245
252
  /**
246
- * Slider position for the time of day in the timezone
247
- * given by [utcOffset](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-daylight/#utcOffset). The position represents the time
248
- * of the day in minutes. Values are normalized to a single day (0-1439).
253
+ * Slider position for the local time of day using [utcOffset](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-daylight/#utcOffset).
254
+ * The position represents the time of day in minutes. Values are normalized to a single day (0-1439).
249
255
  *
250
256
  * @example
251
257
  * ```js
252
- * // Set the time to 4:00 PM (16:00) in the given timezone.
258
+ * // Set the local time to 4:00 PM (16:00) using the component's UTC offset.
253
259
  * daylight.timeSliderPosition = 16 * 60;
254
260
  * ```
255
261
  * @example
@@ -281,7 +287,8 @@ export abstract class ArcgisDaylight extends LitElement {
281
287
  */
282
288
  accessor timeZoneMode: "offset" | "region";
283
289
  /**
284
- * The difference in hours between UTC time and the time displayed in the component.
290
+ * The UTC offset in hours used to display the component's local date and time. This numeric offset does not identify
291
+ * a regional time zone or automatically account for daylight saving time.
285
292
  *
286
293
  * In sunlight mode, changing only this property preserves the current `SunLighting.date` instant and recomputes
287
294
  * displayed local date/time in the new offset. When this property changes together with
@@ -291,12 +298,12 @@ export abstract class ArcgisDaylight extends LitElement {
291
298
  *
292
299
  * @example
293
300
  * ```js
294
- * // Change display timezone while preserving the same scene lighting instant.
301
+ * // Change the UTC offset while preserving the same scene lighting instant.
295
302
  * daylight.utcOffset = -8;
296
303
  * ```
297
304
  * @example
298
305
  * ```js
299
- * // Apply timezone and local date/time together to write a new lighting instant.
306
+ * // Apply the UTC offset and local date/time together to write a new lighting instant.
300
307
  * daylight.utcOffset = -8;
301
308
  * daylight.localDate = "2025-01-15";
302
309
  * daylight.timeSliderPosition = 16 * 60;
@@ -1,30 +1,30 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { c as B } from "../../chunks/runtime.js";
3
- import { css as j, html as _ } from "lit";
4
- import { ref as W } from "lit/directives/ref.js";
5
- import { keyed as K } from "lit/directives/keyed.js";
3
+ import { ref as j } from "lit/directives/ref.js";
4
+ import { keyed as W } from "lit/directives/keyed.js";
5
+ import { css as K, html as I, nothing as C } from "lit";
6
6
  import { useDirection as q, useMedia as G } from "@arcgis/lumina/controllers";
7
7
  import { getColorsFromRenderer as J } from "@arcgis/core/renderers/support/utils.js";
8
- import { LitElement as Q, nothing as y } from "@arcgis/lumina";
8
+ import { LitElement as Q } from "@arcgis/lumina";
9
9
  import { substitute as Z } from "@arcgis/core/intl.js";
10
10
  import { watch as ee } from "@arcgis/core/core/reactiveUtils.js";
11
11
  import te from "@arcgis/core/popup/FieldInfo.js";
12
- import V from "@arcgis/core/popup/content/support/ChartMediaInfoValueSeries.js";
12
+ import L from "@arcgis/core/popup/content/support/ChartMediaInfoValueSeries.js";
13
13
  import { unsafeGetCalciteModeName as ie } from "@arcgis/toolkit/dom";
14
14
  import { renderingSanitizer as N } from "@arcgis/core/applications/Components/sanitizerUtils.js";
15
- import { f as A, b as R, m as z, n as X, o as ae, p as E, i as re, q as ne, j as P, s as se } from "../../chunks/feature-utils.js";
15
+ import { f as A, b as F, m as z, n as X, o as ae, p as E, i as re, q as ne, j as P, s as se } from "../../chunks/feature-utils.js";
16
16
  import { b as oe, a as le, c as ce } from "../../chunks/keyboard-utils.js";
17
- const de = j`.container{display:flex;flex-flow:row wrap;align-items:center;margin-top:var(--calcite-space-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-space-xs);padding-inline:var(--calcite-space-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-space-2xs);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-space-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-space-xs)}.item-text{margin-inline-end:var(--calcite-space-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-space-2xs);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
+ const de = K`.container{display:flex;flex-flow:row wrap;align-items:center;margin-top:var(--calcite-space-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-space-xs);padding-inline:var(--calcite-space-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-space-2xs);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-space-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-space-xs)}.item-text{margin-inline-end:var(--calcite-space-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-space-2xs);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}`;
18
18
  function $(S) {
19
19
  if (!A(S))
20
20
  return null;
21
21
  const [e, t] = S.split("/").slice(1);
22
22
  return { layerId: e, fieldName: t };
23
23
  }
24
- const k = 15, C = "category", w = "value", ue = "rgba(50, 50, 50, 1)", he = 250, fe = 500, me = 200;
24
+ const k = 15, y = "category", w = "value", ue = "rgba(50, 50, 50, 1)", he = 250, fe = 500, me = 200;
25
25
  class pe extends Q {
26
26
  constructor() {
27
- super(...arguments), this._direction = q(), this._prefersReducedMotion = G("(prefers-reduced-motion)"), this.activeMediaInfoIndex = 0, this.chartAnimationDisabled = !1, this.headingLevel = 2;
27
+ super(...arguments), this._direction = q(), this._chartRevision = 0, this._prefersReducedMotion = G("(prefers-reduced-motion)"), this.activeMediaInfoIndex = 0, this.chartAnimationDisabled = !1, this.headingLevel = 2;
28
28
  }
29
29
  static {
30
30
  this.properties = { _refreshIntervalInfo: 16, messages: 0, values: 0, expressionValues: 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 };
@@ -50,6 +50,9 @@ class pe extends Q {
50
50
  setActiveMedia(e) {
51
51
  this._setContentElementMedia(e);
52
52
  }
53
+ willUpdate(e) {
54
+ (e.has("expressionValues") || e.has("fieldInfoMap") || e.has("formattedValues") || e.has("graphic") || e.has("layer") || e.has("mediaInfos") || e.has("popupTemplate") || e.has("relatedInfos") || e.has("values")) && this._chartRevision++;
55
+ }
53
56
  loaded() {
54
57
  this.manager.onLifecycle(() => [
55
58
  ee(() => [this.activeMediaInfo, this.activeMediaInfoIndex], () => this._setupMediaRefreshTimer(), { initial: !0 }),
@@ -70,19 +73,19 @@ class pe extends Q {
70
73
  const r = o?.clone();
71
74
  if (!r)
72
75
  return null;
73
- if (r.title = R({
76
+ if (r.title = F({
74
77
  values: i,
75
78
  fieldInfoMap: n,
76
79
  globalValues: a,
77
80
  layer: t,
78
81
  text: r.title
79
- }), r.caption = R({
82
+ }), r.caption = F({
80
83
  values: i,
81
84
  fieldInfoMap: n,
82
85
  globalValues: a,
83
86
  layer: t,
84
87
  text: r.caption
85
- }), r.altText = R({
88
+ }), r.altText = F({
86
89
  values: i,
87
90
  fieldInfoMap: n,
88
91
  globalValues: a,
@@ -155,7 +158,7 @@ class pe extends Q {
155
158
  ];
156
159
  return;
157
160
  }
158
- const x = this._getChartOption({
161
+ const _ = this._getChartOption({
159
162
  value: t,
160
163
  values: i,
161
164
  chartType: s,
@@ -165,7 +168,7 @@ class pe extends Q {
165
168
  fieldInfos: u,
166
169
  color: g
167
170
  });
168
- t.series.push(x);
171
+ t.series.push(_);
169
172
  });
170
173
  }
171
174
  _getRelatedChartInfos(e) {
@@ -178,15 +181,15 @@ class pe extends Q {
178
181
  const { cardinality: u } = p;
179
182
  return l.forEach((h) => {
180
183
  const g = h.attributes;
181
- g && Object.keys(g).forEach((x) => {
182
- x === m.fieldName && c.push(this._getChartOption({
184
+ g && Object.keys(g).forEach((_) => {
185
+ _ === m.fieldName && c.push(this._getChartOption({
183
186
  value: s,
184
187
  values: g,
185
188
  formattedValues: a,
186
189
  expressionValues: r,
187
190
  fieldName: i,
188
191
  chartType: n,
189
- relatedFieldName: x,
192
+ relatedFieldName: _,
190
193
  hasMultipleRelatedFeatures: l?.length > 1,
191
194
  fieldInfos: t,
192
195
  color: o
@@ -198,15 +201,15 @@ class pe extends Q {
198
201
  return i === "pie-chart" ? `${e}` : `${e}: ${t}`;
199
202
  }
200
203
  _getChartOption(e) {
201
- const { value: t, values: i, formattedValues: a, expressionValues: n, fieldName: s, relatedFieldName: o, fieldInfos: r, chartType: c, hasMultipleRelatedFeatures: m, color: d } = e, { layer: l, graphic: p } = this, u = this.fieldInfoMap ?? /* @__PURE__ */ new Map(), { normalizeField: f, tooltipField: h } = t, g = f ? A(f) ? i[$(f).fieldName] : i[f] : null, x = re(s) && n?.[s] !== void 0 ? n[s] : o && i[o] !== void 0 ? i[o] : i[s] !== void 0 ? i[s] : a[s], I = x === void 0 ? null : x && g && typeof x == "number" && typeof g == "number" ? x / g : x, v = ne(r, s), M = E(s, l), b = (h && a[h] !== void 0 ? a[h] : P({
204
+ const { value: t, values: i, formattedValues: a, expressionValues: n, fieldName: s, relatedFieldName: o, fieldInfos: r, chartType: c, hasMultipleRelatedFeatures: m, color: d } = e, { layer: l, graphic: p } = this, u = this.fieldInfoMap ?? /* @__PURE__ */ new Map(), { normalizeField: f, tooltipField: h } = t, g = f ? A(f) ? i[$(f).fieldName] : i[f] : null, _ = re(s) && n?.[s] !== void 0 ? n[s] : o && i[o] !== void 0 ? i[o] : i[s] !== void 0 ? i[s] : a[s], x = _ === void 0 ? null : _ && g && typeof _ == "number" && typeof g == "number" ? _ / g : _, v = ne(r, s), M = E(s, l), b = (h && a[h] !== void 0 ? a[h] : P({
202
205
  fieldInfo: v || new te({ fieldName: M }),
203
206
  expressionInfos: this.popupTemplate?.expressionInfos,
204
207
  graphic: p,
205
208
  layer: l
206
- })) ?? "", Y = a[M] ?? "", L = I != null ? typeof I == "number" ? I : Number(I) : null;
209
+ })) ?? "", Y = a[M] ?? "", V = x != null ? typeof x == "number" ? x : Number(x) : null;
207
210
  if (A(s)) {
208
- const T = u.get(s.toLowerCase()), U = h ? u.get(h.toLowerCase()) : null, D = T?.fieldName ?? s, F = m && h ? $(h).fieldName : U?.fieldName ?? h, O = (m && F ? i[F] : a[F] ?? (T && P({ fieldInfo: T, layer: l, graphic: p })) ?? T?.fieldName ?? o) ?? "", H = (m && o ? i[o] : a[D]) ?? "";
209
- return new V({
211
+ const T = u.get(s.toLowerCase()), U = h ? u.get(h.toLowerCase()) : null, D = T?.fieldName ?? s, R = m && h ? $(h).fieldName : U?.fieldName ?? h, O = (m && R ? i[R] : a[R] ?? (T && P({ fieldInfo: T, layer: l, graphic: p })) ?? T?.fieldName ?? o) ?? "", H = (m && o ? i[o] : a[D]) ?? "";
212
+ return new L({
210
213
  fieldName: s,
211
214
  tooltip: this._getTooltip({
212
215
  label: O,
@@ -214,10 +217,10 @@ class pe extends Q {
214
217
  chartType: c
215
218
  }),
216
219
  color: d,
217
- value: L
220
+ value: V
218
221
  });
219
222
  }
220
- return new V({
223
+ return new L({
221
224
  fieldName: s,
222
225
  tooltip: this._getTooltip({
223
226
  label: b,
@@ -225,7 +228,7 @@ class pe extends Q {
225
228
  chartType: c
226
229
  }),
227
230
  color: d,
228
- value: L
231
+ value: V
229
232
  });
230
233
  }
231
234
  _getRenderer() {
@@ -301,7 +304,7 @@ class pe extends Q {
301
304
  }), u = d.series.push(n.new(o, {
302
305
  name: r,
303
306
  valueField: w,
304
- categoryField: C,
307
+ categoryField: y,
305
308
  tooltip: p
306
309
  }));
307
310
  u.ticks.template.set("forceHidden", !0), u.labels.template.set("forceHidden", !0), u.slices.template.states.create("active", {
@@ -326,7 +329,7 @@ class pe extends Q {
326
329
  renderer: o.new(l, {
327
330
  inversed: f === "rtl"
328
331
  }),
329
- categoryField: C
332
+ categoryField: y
330
333
  }));
331
334
  h.get("renderer").labels.template.setAll({
332
335
  forceHidden: !0
@@ -338,18 +341,18 @@ class pe extends Q {
338
341
  g.get("renderer").labels.template.setAll({
339
342
  direction: f
340
343
  });
341
- const x = "{categoryX}", I = a.new(l, {
342
- labelText: x
344
+ const _ = "{categoryX}", x = a.new(l, {
345
+ labelText: _
343
346
  }), v = e.series.push(m.new(l, {
344
347
  name: u,
345
348
  xAxis: h,
346
349
  yAxis: g,
347
350
  valueYField: w,
348
- categoryXField: C,
349
- tooltip: I
351
+ categoryXField: y,
352
+ tooltip: x
350
353
  }));
351
- this._customizeChartTooltip(I), v.columns.template.setAll({
352
- ariaLabel: x,
354
+ this._customizeChartTooltip(x), v.columns.template.setAll({
355
+ ariaLabel: _,
353
356
  focusable: !0,
354
357
  templateField: "columnSettings"
355
358
  }), p.series.length > k && e.set("scrollbarX", n.new(l, {
@@ -366,7 +369,7 @@ class pe extends Q {
366
369
  renderer: r.new(l, {
367
370
  inversed: !0
368
371
  }),
369
- categoryField: C
372
+ categoryField: y
370
373
  }));
371
374
  h.get("renderer").labels.template.setAll({
372
375
  forceHidden: !0
@@ -381,18 +384,18 @@ class pe extends Q {
381
384
  g.get("renderer").labels.template.setAll({
382
385
  direction: f
383
386
  });
384
- const x = "{categoryY}", I = a.new(l, {
385
- labelText: x
387
+ const _ = "{categoryY}", x = a.new(l, {
388
+ labelText: _
386
389
  }), v = e.series.push(m.new(l, {
387
390
  name: u,
388
391
  xAxis: g,
389
392
  yAxis: h,
390
393
  valueXField: w,
391
- categoryYField: C,
392
- tooltip: I
394
+ categoryYField: y,
395
+ tooltip: x
393
396
  }));
394
- this._customizeChartTooltip(I, "vertical"), v.columns.template.setAll({
395
- ariaLabel: x,
397
+ this._customizeChartTooltip(x, "vertical"), v.columns.template.setAll({
398
+ ariaLabel: _,
396
399
  focusable: !0,
397
400
  templateField: "columnSettings"
398
401
  }), p.series.length > k && e.set("scrollbarY", n.new(l, {
@@ -409,7 +412,7 @@ class pe extends Q {
409
412
  renderer: o.new(d, {
410
413
  inversed: f === "rtl"
411
414
  }),
412
- categoryField: C
415
+ categoryField: y
413
416
  }));
414
417
  h.get("renderer").labels.template.setAll({
415
418
  forceHidden: !0
@@ -421,19 +424,19 @@ class pe extends Q {
421
424
  g.get("renderer").labels.template.setAll({
422
425
  direction: f
423
426
  });
424
- const x = "{categoryX}", I = i[0]?.lineSettings?.stroke, v = a.new(d, {
425
- getFillFromSprite: !I,
426
- labelText: x
427
+ const _ = "{categoryX}", x = i[0]?.lineSettings?.stroke, v = a.new(d, {
428
+ getFillFromSprite: !x,
429
+ labelText: _
427
430
  });
428
- I && v.get("background")?.setAll({
429
- fill: I
431
+ x && v.get("background")?.setAll({
432
+ fill: x
430
433
  });
431
434
  const M = e.series.push(m.new(d, {
432
435
  name: u,
433
436
  xAxis: h,
434
437
  yAxis: g,
435
438
  valueYField: w,
436
- categoryXField: C,
439
+ categoryXField: y,
437
440
  tooltip: v
438
441
  }));
439
442
  M.strokes.template.setAll({
@@ -484,11 +487,11 @@ class pe extends Q {
484
487
  this._chartRoot?.dispose(), this._chartRoot = void 0, e && this._createChart(e);
485
488
  }
486
489
  render() {
487
- return _`<div class="root" @keydown=${this._handleMediaKeydown}><arcgis-feature-element-info .heading=${this.heading} .description=${this.description} .headingLevel=${this.headingLevel}></arcgis-feature-element-info>${this._renderMedia()}</div>`;
490
+ return I`<div class="root" @keydown=${this._handleMediaKeydown}><arcgis-feature-element-info .heading=${this.heading} .description=${this.description} .headingLevel=${this.headingLevel}></arcgis-feature-element-info>${this._renderMedia()}</div>`;
488
491
  }
489
492
  _renderMedia() {
490
493
  const { formattedMediaInfoCount: e, activeMediaInfoIndex: t } = this, i = this._renderMediaText();
491
- return e ? _`<div class="container">${this._renderMediaInfo()}<div class="item-navigation">${i}${e > 1 ? _`<div class="pagination">${this._renderMediaPageButton("previous")}<span class="pagination-text">${Z(this.messages?.pageText ?? "", {
494
+ return e ? I`<div class="container">${this._renderMediaInfo()}<div class="item-navigation">${i}${e > 1 ? I`<div class="pagination">${this._renderMediaPageButton("previous")}<span class="pagination-text">${Z(this.messages?.pageText ?? "", {
492
495
  index: t + 1,
493
496
  total: e
494
497
  })}</span>${this._renderMediaPageButton("next")}</div>` : null}</div></div>` : null;
@@ -497,18 +500,18 @@ class pe extends Q {
497
500
  const { activeMediaInfo: e } = this;
498
501
  if (!e)
499
502
  return null;
500
- const t = e?.title ? _`<div class="item-title" .innerHTML=${N.sanitize(e.title) ?? ""}></div>` : null, i = e?.caption ? _`<div class="item-caption" .innerHTML=${N.sanitize(e.caption) ?? ""}></div>` : null;
501
- return t || i ? _`<div class="item-text">${t}${i}</div>` : null;
503
+ const t = e?.title ? I`<div class="item-title" .innerHTML=${N.sanitize(e.title) ?? ""}></div>` : null, i = e?.caption ? I`<div class="item-caption" .innerHTML=${N.sanitize(e.caption) ?? ""}></div>` : null;
504
+ return t || i ? I`<div class="item-text">${t}${i}</div>` : null;
502
505
  }
503
506
  _renderImageMediaInfo(e) {
504
507
  if (!e.value)
505
508
  return null;
506
- const { _refreshIntervalInfo: t } = this, { value: i, refreshInterval: a, altText: n, title: s } = e, { sourceURL: o, linkURL: r } = i, m = se(r ?? void 0) ? "_blank" : "_self", d = m === "_blank" ? "noreferrer" : "", l = a ? t : null, p = l ? l.sourceURL : o, u = _`<img alt=${(n || s) ?? y} src=${p ?? void 0 ?? y}>`;
507
- return (r ? _`<a href=${r ?? y} rel=${d ?? y} target=${m ?? y} title=${s ?? y}>${u}</a>` : null) ?? u;
509
+ const { _refreshIntervalInfo: t } = this, { value: i, refreshInterval: a, altText: n, title: s } = e, { sourceURL: o, linkURL: r } = i, m = se(r ?? void 0) ? "_blank" : "_self", d = m === "_blank" ? "noreferrer" : "", l = a ? t : null, p = l ? l.sourceURL : o, u = I`<img alt=${(n || s) ?? C} src=${p ?? void 0 ?? C}>`;
510
+ return (r ? I`<a href=${r ?? C} rel=${d ?? C} target=${m ?? C} title=${s ?? C}>${u}</a>` : null) ?? u;
508
511
  }
509
512
  _renderChartMediaInfo(e) {
510
513
  const { activeMediaInfoIndex: t, formattedMediaInfoCount: i } = this;
511
- return K(`media-${e.type}-${t}-${i}`, _`<div class="chart" ${W(this._updateChartElement)}></div>`);
514
+ return W(`media-${e.type}-${t}-${i}-${this._chartRevision}-${this._direction}-${this.chartAnimationDisabled}-${this._prefersReducedMotion}`, I`<div class="chart" ${j(this._updateChartElement)}></div>`);
512
515
  }
513
516
  _renderMediaInfoType() {
514
517
  const { activeMediaInfo: e } = this;
@@ -516,13 +519,13 @@ class pe extends Q {
516
519
  }
517
520
  _renderMediaInfo() {
518
521
  const { activeMediaInfo: e } = this;
519
- return e ? _`<div class="item-container"><div class="item">${this._renderMediaInfoType()}</div></div>` : null;
522
+ return e ? I`<div class="item-container"><div class="item">${this._renderMediaInfoType()}</div></div>` : null;
520
523
  }
521
524
  _renderMediaPageButton(e) {
522
525
  if (this.formattedMediaInfoCount < 2)
523
526
  return null;
524
527
  const t = e === "previous", i = t ? this.messages?.previous ?? "" : this.messages?.next ?? "", a = t ? "chevron-left" : "chevron-right", n = t ? this.previous : this.next;
525
- return _`<button .ariaLabel=${i} class="pagination-button" @click=${n} tabindex=0 title=${i ?? y} type=button><calcite-icon flip-rtl class="pagination-icon" .icon=${a} scale=s></calcite-icon></button>`;
528
+ return I`<button .ariaLabel=${i} class="pagination-button" @click=${n} tabindex=0 title=${i ?? C} type=button><calcite-icon flip-rtl class="pagination-icon" .icon=${a} scale=s></calcite-icon></button>`;
526
529
  }
527
530
  async _renderChart(e) {
528
531
  const { root: t, mediaInfo: i } = e, { value: a, type: n } = i, [{ default: s }, { default: o }, { default: r }, { esriChartColorSet: c }, { ColorSet: m, Theme: d }] = await Promise.all([
@@ -535,23 +538,23 @@ class pe extends Q {
535
538
  l.rule("ColorSet").set("colors", c), l.rule("ColorSet").set("reuse", !0);
536
539
  const p = [r.new(t), l];
537
540
  ie(this.el) === "dark" && p.push(o.new(t)), this._canAnimateChart() && p.push(s.new(t)), t.setThemes(p);
538
- const u = await this._getRendererColors(), f = await this._getSeriesColors(a.series), h = m.new(t, {}), g = f.get(a.series[0]), x = g ? {
541
+ const u = await this._getRendererColors(), f = await this._getSeriesColors(a.series), h = m.new(t, {}), g = f.get(a.series[0]), _ = g ? {
539
542
  lineSettings: {
540
543
  stroke: g
541
544
  }
542
- } : void 0, I = a.series.map((v, M) => {
545
+ } : void 0, x = a.series.map((v, M) => {
543
546
  const b = f.get(v) || u.get(v.fieldName) || h.getIndex(M);
544
547
  return {
545
- [C]: v.tooltip,
548
+ [y]: v.tooltip,
546
549
  [w]: v.value,
547
550
  columnSettings: {
548
551
  fill: b,
549
552
  stroke: b
550
553
  },
551
- ...x
554
+ ..._
552
555
  };
553
556
  }).filter((v) => n === "pie-chart" ? v.value != null && v.value > 0 : !0);
554
- n === "pie-chart" ? this._createPieChart(e, I) : this._createXYChart(e, I);
557
+ n === "pie-chart" ? this._createPieChart(e, x) : this._createXYChart(e, x);
555
558
  }
556
559
  }
557
560
  B("arcgis-feature-media", pe);
@@ -9,7 +9,7 @@ import { m as g } from "../../chunks/useWidget.js";
9
9
  import { css as c } from "lit";
10
10
  import { s as m } from "../../chunks/esri-main.js";
11
11
  import { u as h } from "../../chunks/useLayerById.js";
12
- const v = c`:host{--esri-oriented-imagery-viewer-min-width: var(--arcgis-oriented-imagery-viewer-min-width, 288px);--esri-oriented-imagery-viewer-min-height: var(--arcgis-oriented-imagery-viewer-min-height, 348px);inline-size:100%;block-size:100%}.esri-image-viewer{width:100%;height:100%}.esri-image-viewer__slider-container{--calcite-block-content-space: 0;box-sizing:border-box;box-shadow:none;padding-inline:var(--calcite-space-md);background-color:#0000;border:none;width:100%;margin:0;overflow:hidden}.esri-image-viewer__slider-container calcite-slider{width:100%}.esri-oriented-imagery-viewer{--esri-oriented-imagery-viewer-action-icon-size: 8px;--calcite-dialog-size-x: 210px;--calcite-dialog-min-size-y: 90px;--calcite-font-weight-medium: $font-weight;--calcite-font-size-0: $font-size;--calcite-icon-size: var(--esri-oriented-imagery-viewer-action-icon-size);box-sizing:border-box;z-index:1;container-type:size;width:100%;min-width:var(--esri-oriented-imagery-viewer-min-width);height:100%;min-height:var(--esri-oriented-imagery-viewer-min-height);flex-direction:column;align-items:flex-start;display:flex;overflow:hidden}.esri-oriented-imagery-viewer:has(.esri-widget .esri-oriented-imagery-viewer__image-overlays-no-result){--esri-oriented-imagery-viewer-min-height: 420px}.esri-oriented-imagery-viewer__body{flex-direction:column;flex:1 0 auto;order:1;align-self:stretch;height:100%;display:flex}.esri-oriented-imagery-viewer__body-current-coverage{--calcite-icon-color: var(--calcite-color-status-danger)}.esri-oriented-imagery-viewer__body-additional-camera-locations{--calcite-icon-color: var(--calcite-color-brand)}.esri-oriented-imagery-viewer__body-additional-coverage{--calcite-icon-color: var(--calcite-color-status-info)}.esri-oriented-imagery-viewer__body-footprint{--calcite-icon-color: var(--calcite-color-status-success)}.esri-oriented-imagery-viewer__carousel{z-index:1;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:140px;margin:auto 1% 0;position:absolute;bottom:0;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__carousel-container{height:auto;display:inline-block;overflow:auto hidden}.esri-oriented-imagery-viewer__carousel header{--calcite-font-weight-medium: $font-weight--light;--calcite-font-size-0: $font-size--tiny}.esri-oriented-imagery-viewer__carousel-item{width:100px;height:70px}.esri-oriented-imagery-viewer__carousel-item-wrapper{box-sizing:border-box;justify-content:center;align-items:center;width:106px;height:78px;margin:auto 10px;display:flex;box-shadow:0 1px 2px #0000004d}.esri-oriented-imagery-viewer__carousel-item-wrapper--selected{box-sizing:border-box;border:2px solid var(--calcite-color-brand);justify-content:center;align-items:center;width:106px;height:78px;margin:auto 10px;display:flex;box-shadow:0 1px 2px #0000004d}.esri-oriented-imagery-viewer__carousel-content{display:flex}.esri-oriented-imagery-viewer__close{background:var(--calcite-color-foreground-1);flex-direction:row;flex-grow:0;order:7;justify-content:center;align-items:center;width:48px;height:59px;display:flex}.esri-oriented-imagery-viewer__image-enhancement-wrapper,.esri-oriented-imagery-viewer__submenu{z-index:1;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:140px;margin:auto 1% 0;position:absolute;bottom:0;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__image-enhancement-tools{display:flex}.esri-oriented-imagery-viewer__image-enhancement-tool-container{width:50%;margin-block:2px;padding-inline:.75rem}.esri-oriented-imagery-viewer__submenu{height:auto}.esri-oriented-imagery-viewer__superimpose-tools{box-shadow:none;width:100%;height:auto;margin:0}.esri-oriented-imagery-viewer__superimpose-tools .esri-oriented-imagery-viewer__image-enhancement-tool-container{padding-block:var(--calcite-space-sm) var(--calcite-space-md);width:100%;margin-block:0}.esri-oriented-imagery-viewer__image-overlays{z-index:1;margin:auto 1% 0;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:140px;position:absolute;bottom:0;overflow-y:auto;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__image-overlays-layer-list,.esri-oriented-imagery-viewer__image-overlays-switch{padding:0 var(--calcite-space-md)}.esri-oriented-imagery-viewer__image-overlays-container{height:auto;display:flex}.esri-oriented-imagery-viewer__image-overlays-no-result{z-index:1;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:auto;margin:auto 1% 0;position:absolute;bottom:0;overflow-y:auto;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__image-overlays-no-result-layer-list,.esri-oriented-imagery-viewer__image-overlays-no-result-switch{padding:0 var(--calcite-space-md)}.esri-oriented-imagery-viewer__image-overlays-increased-height{z-index:1;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:200px;margin:auto 1% 0;position:absolute;bottom:0;overflow-y:auto;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__image-overlays-increased-height-layer-list,.esri-oriented-imagery-viewer__image-overlays-increased-height-switch{padding:0 var(--calcite-space-md)}.esri-oriented-imagery-viewer__measurement-results{width:auto;height:fit-content}.esri-oriented-imagery-viewer__measurements-table{margin-block-start:var(--calcite-space-sm)}.esri-oriented-imagery-viewer__measurements-bar{flex-wrap:nowrap;display:flex}.esri-oriented-imagery-viewer__measurements-button{display:flex}.esri-oriented-imagery-viewer__measurement-display{text-align:center;margin-block-end:var(--calcite-space-2xs)}.esri-oriented-imagery-viewer__viewer{cursor:url(data:text/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20height%3D%2226%22%20width%3D%2226%22%3E%0A%3Cpath%20stroke%3D%22%23000%22%20stroke-width%3D%221px%22%20fill%3D%22%23fff%22%20d%3D%22m15.3%2020.5s6.38-6.73%204.64-8.24-3.47%201.01-3.47%201.01%203.61-5.72%201.41-6.49c-2.2-0.769-3.33%204.36-3.33%204.36s0.873-5.76-1.06-5.76-1.58%205.39-1.58%205.39-0.574-4.59-2.18-4.12c-1.61%200.468-0.572%205.51-0.572%205.51s-1.58-4.89-2.93-3.79c-1.35%201.11%200.258%205.25%200.572%206.62%200.836%202.43%202.03%202.94%202.17%205.55%22%2F%3E%0A%3C%2Fsvg%3E%0A);flex-grow:1;width:100%;margin:0;display:flex}.esri-oriented-imagery-viewer__viewer--hidden{display:none}.esri-oriented-imagery-viewer__viewer-container{border-top:1px solid var(--calcite-color-border-3);background:var(--calcite-color-foreground-1);flex:1 0 auto;order:1;align-self:stretch;width:100%;height:100%;display:flex}.esri-oriented-imagery-viewer__alert{inset-block-end:var(--calcite-space-md);inset-inline:var(--calcite-space-md);position:absolute}.esri-oriented-imagery-viewer__alert>[slot=message]{display:block}@container (width <= 386px) or (height <= 348px){.esri-oriented-imagery-viewer__alert>[slot=message]{display:none}}.esri-oriented-imagery-viewer-container-measurement{border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);background:var(--calcite-color-foreground-1);flex:1 0 auto;order:1;align-self:stretch;width:100%;height:50%;display:flex}@keyframes rotateOrientedImageryNavigationTool{0%{transform:rotate(var(--oi-navigation-tool-rotation-from, 0deg))}to{transform:rotate(var(--oi-navigation-tool-rotation-to, 0deg))}}.esri-oriented-imagery-viewer__navigation{transform:rotate(var(--oi-navigation-tool-rotation-to, 0deg))}.esri-oriented-imagery-viewer__navigation-animate{animation:.7s linear forwards rotateOrientedImageryNavigationTool}.esri-oriented-imagery-viewer__navigation-feature{fill:var(--calcite-color-brand);stroke:var(--calcite-color-foreground-1);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-feature.selected{fill:var(--calcite-color-status-danger)}.esri-oriented-imagery-viewer__navigation-feature-path{pointer-events:none}.esri-oriented-imagery-viewer__navigation-feature-path-stop-offset-0{stop-color:var(--calcite-color-status-danger);stop-opacity:.4}.esri-oriented-imagery-viewer__navigation-feature-path-stop-offset-1{stop-color:var(--calcite-color-status-danger);stop-opacity:.2}.esri-oriented-imagery-viewer__navigation-pointer{fill:var(--calcite-color-foreground-1);fill-rule:evenodd;stroke:#0000;stroke-dasharray:none;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-width:0}.esri-oriented-imagery-viewer__navigation-pointer-north{fill:var(--calcite-color-status-danger)}.esri-oriented-imagery-viewer__navigation-wrapper{z-index:1;position:absolute;bottom:0;right:0;overflow:hidden}.esri-oriented-imagery-viewer__navigation-wrapper--video{inset-block-end:calc(var(--calcite-spacing-xxxl) * 3)}.esri-oriented-imagery-viewer__navigation-wrapper--zoomed{transform-origin:100% 100%;transform:scale(1.5)}.esri-oriented-imagery-viewer__navigation-wrapper-boundary{fill:var(--calcite-color-foreground-1);fill-opacity:.25;stroke:var(--calcite-color-border-2)}.esri-oriented-imagery-viewer__navigation-sector{fill:none}.esri-oriented-imagery-viewer__navigation-sector-separator{stroke:var(--calcite-color-border-2);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-sector-cross{stroke:var(--calcite-color-status-danger);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-sector-enabled{fill:var(--calcite-color-foreground-1);stroke:var(--calcite-color-border-2);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-sector-disabled{fill:var(--calcite-color-foreground-3);stroke:var(--calcite-color-border-2);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-sector-outer{fill:var(--calcite-color-foreground-1);fill-opacity:.4;stroke:none}.esri-oriented-imagery-viewer__pro .esri-oriented-imagery-viewer{width:100%;max-width:unset;height:100%;max-height:unset;position:static}.esri-oriented-imagery-viewer__sketch-tools{justify-content:center;align-items:center;width:100%;display:flex;position:absolute;bottom:0}.esri-oriented-imagery-viewer--notice{margin-block:auto}.esri-oriented-imagery-viewer__navigation-ui{box-sizing:border-box;transform-style:preserve-3d;z-index:var(--calcite-z-index-overlay);aspect-ratio:1;pointer-events:none;flex-direction:column;align-items:center;width:50%;max-width:330px;display:flex;position:absolute;inset-block-end:0;inset-inline:50%;overflow:hidden;translate:-50%}.esri-oriented-imagery-viewer__navigation-ui__direction{--esri-oriented-imagery-viewer__navigation-ui-direction-color: wheat;--calcite-icon-color: var(--esri-oriented-imagery-viewer__navigation-ui-direction-color);transform-origin:top;transform-style:preserve-3d;cursor:not-allowed;border:3px solid #bfc5cc;border-radius:50%;width:4.5em;height:4.5em;transition:border-color .15s;position:absolute}.esri-oriented-imagery-viewer__navigation-ui__direction:not([disabled]){cursor:pointer;pointer-events:auto}.esri-oriented-imagery-viewer__navigation-ui__direction:not([disabled]):hover{--calcite-icon-color: var(--calcite-color-brand);border-color:var(--calcite-color-brand)}.esri-oriented-imagery-viewer__navigation-ui__direction-pad{box-sizing:border-box;filter:drop-shadow(0 2px 1px #00000080);width:100%;height:100%;transform:perspective(400px) rotateX(60deg)}.esri-oriented-imagery-viewer__navigation-settings-ui [slot=content-bottom]{padding:.5rem;display:none}.esri-oriented-imagery-viewer__navigation-settings-ui [selected]>[slot=content-bottom]{display:block}.esri-panoramic-viewer{width:100%;height:100%;overflow-x:hidden}.esri-panoramic-viewer__slider-container{--calcite-block-content-space: 0;box-sizing:border-box;box-shadow:none;padding-inline:var(--calcite-space-md);background-color:#0000;border:none;width:100%;margin:0;overflow:hidden}.esri-panoramic-viewer__slider-container calcite-slider{width:100%}`, w = g(s), p = "map-components:arcgis-oriented-imagery-viewer";
12
+ const v = c`.esri-unit-select{width:100%}.esri-unit-select__label{--calcite-label-margin-bottom: 0;width:100%}:host{--esri-oriented-imagery-viewer-min-width: var(--arcgis-oriented-imagery-viewer-min-width, 288px);--esri-oriented-imagery-viewer-min-height: var(--arcgis-oriented-imagery-viewer-min-height, 348px);inline-size:100%;block-size:100%}.esri-image-viewer{width:100%;height:100%}.esri-image-viewer__slider-container{--calcite-block-content-space: 0;box-sizing:border-box;box-shadow:none;padding-inline:var(--calcite-space-md);background-color:#0000;border:none;width:100%;margin:0;overflow:hidden}.esri-image-viewer__slider-container calcite-slider{width:100%}.esri-oriented-imagery-viewer{--esri-oriented-imagery-viewer-action-icon-size: 8px;--calcite-dialog-size-x: 210px;--calcite-dialog-min-size-y: 90px;--calcite-font-weight-medium: $font-weight;--calcite-font-size-0: $font-size;--calcite-icon-size: var(--esri-oriented-imagery-viewer-action-icon-size);box-sizing:border-box;z-index:1;container-type:size;width:100%;min-width:var(--esri-oriented-imagery-viewer-min-width);height:100%;min-height:var(--esri-oriented-imagery-viewer-min-height);flex-direction:column;align-items:flex-start;display:flex;overflow:hidden}.esri-oriented-imagery-viewer:has(.esri-widget .esri-oriented-imagery-viewer__image-overlays-no-result){--esri-oriented-imagery-viewer-min-height: 420px}.esri-oriented-imagery-viewer__body{flex-direction:column;flex:1 0 auto;order:1;align-self:stretch;height:100%;display:flex}.esri-oriented-imagery-viewer__body-current-coverage{--calcite-icon-color: var(--calcite-color-status-danger)}.esri-oriented-imagery-viewer__body-additional-camera-locations{--calcite-icon-color: var(--calcite-color-brand)}.esri-oriented-imagery-viewer__body-additional-coverage{--calcite-icon-color: var(--calcite-color-status-info)}.esri-oriented-imagery-viewer__body-footprint{--calcite-icon-color: var(--calcite-color-status-success)}.esri-oriented-imagery-viewer__carousel{z-index:1;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:140px;margin:auto 1% 0;position:absolute;bottom:0;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__carousel-container{height:auto;display:inline-block;overflow:auto hidden}.esri-oriented-imagery-viewer__carousel header{--calcite-font-weight-medium: $font-weight--light;--calcite-font-size-0: $font-size--tiny}.esri-oriented-imagery-viewer__carousel-item{width:100px;height:70px}.esri-oriented-imagery-viewer__carousel-item-wrapper{box-sizing:border-box;justify-content:center;align-items:center;width:106px;height:78px;margin:auto 10px;display:flex;box-shadow:0 1px 2px #0000004d}.esri-oriented-imagery-viewer__carousel-item-wrapper--selected{box-sizing:border-box;border:2px solid var(--calcite-color-brand);justify-content:center;align-items:center;width:106px;height:78px;margin:auto 10px;display:flex;box-shadow:0 1px 2px #0000004d}.esri-oriented-imagery-viewer__carousel-content{display:flex}.esri-oriented-imagery-viewer__close{background:var(--calcite-color-foreground-1);flex-direction:row;flex-grow:0;order:7;justify-content:center;align-items:center;width:48px;height:59px;display:flex}.esri-oriented-imagery-viewer__image-enhancement-wrapper,.esri-oriented-imagery-viewer__submenu{z-index:1;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:140px;margin:auto 1% 0;position:absolute;bottom:0;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__image-enhancement-tools{display:flex}.esri-oriented-imagery-viewer__image-enhancement-tool-container{width:50%;margin-block:2px;padding-inline:.75rem}.esri-oriented-imagery-viewer__submenu{height:auto}.esri-oriented-imagery-viewer__superimpose-tools{box-shadow:none;width:100%;height:auto;margin:0}.esri-oriented-imagery-viewer__superimpose-tools .esri-oriented-imagery-viewer__image-enhancement-tool-container{padding-block:var(--calcite-space-sm) var(--calcite-space-md);width:100%;margin-block:0}.esri-oriented-imagery-viewer__image-overlays{z-index:1;margin:auto 1% 0;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:140px;position:absolute;bottom:0;overflow-y:auto;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__image-overlays-layer-list,.esri-oriented-imagery-viewer__image-overlays-switch{padding:0 var(--calcite-space-md)}.esri-oriented-imagery-viewer__image-overlays-container{height:auto;display:flex}.esri-oriented-imagery-viewer__image-overlays-no-result{z-index:1;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:auto;margin:auto 1% 0;position:absolute;bottom:0;overflow-y:auto;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__image-overlays-no-result-layer-list,.esri-oriented-imagery-viewer__image-overlays-no-result-switch{padding:0 var(--calcite-space-md)}.esri-oriented-imagery-viewer__image-overlays-increased-height{z-index:1;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:200px;margin:auto 1% 0;position:absolute;bottom:0;overflow-y:auto;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__image-overlays-increased-height-layer-list,.esri-oriented-imagery-viewer__image-overlays-increased-height-switch{padding:0 var(--calcite-space-md)}.esri-oriented-imagery-viewer__measurement-results{width:auto;height:fit-content}.esri-oriented-imagery-viewer__measurements-table{margin-block-start:var(--calcite-space-sm)}.esri-oriented-imagery-viewer__measurements-bar{flex-wrap:nowrap;display:flex}.esri-oriented-imagery-viewer__measurements-button{display:flex}.esri-oriented-imagery-viewer__measurement-display{text-align:center;margin-block-end:var(--calcite-space-2xs)}.esri-oriented-imagery-viewer__viewer{cursor:url(data:text/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20height%3D%2226%22%20width%3D%2226%22%3E%0A%3Cpath%20stroke%3D%22%23000%22%20stroke-width%3D%221px%22%20fill%3D%22%23fff%22%20d%3D%22m15.3%2020.5s6.38-6.73%204.64-8.24-3.47%201.01-3.47%201.01%203.61-5.72%201.41-6.49c-2.2-0.769-3.33%204.36-3.33%204.36s0.873-5.76-1.06-5.76-1.58%205.39-1.58%205.39-0.574-4.59-2.18-4.12c-1.61%200.468-0.572%205.51-0.572%205.51s-1.58-4.89-2.93-3.79c-1.35%201.11%200.258%205.25%200.572%206.62%200.836%202.43%202.03%202.94%202.17%205.55%22%2F%3E%0A%3C%2Fsvg%3E%0A);flex-grow:1;width:100%;margin:0;display:flex}.esri-oriented-imagery-viewer__viewer--hidden{display:none}.esri-oriented-imagery-viewer__viewer-container{border-top:1px solid var(--calcite-color-border-3);background:var(--calcite-color-foreground-1);flex:1 0 auto;order:1;align-self:stretch;width:100%;height:100%;display:flex}.esri-oriented-imagery-viewer__alert{inset-block-end:var(--calcite-space-md);inset-inline:var(--calcite-space-md);position:absolute}.esri-oriented-imagery-viewer__alert>[slot=message]{display:block}@container (width <= 386px) or (height <= 348px){.esri-oriented-imagery-viewer__alert>[slot=message]{display:none}}.esri-oriented-imagery-viewer-container-measurement{border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);background:var(--calcite-color-foreground-1);flex:1 0 auto;order:1;align-self:stretch;width:100%;height:50%;display:flex}@keyframes rotateOrientedImageryNavigationTool{0%{transform:rotate(var(--oi-navigation-tool-rotation-from, 0deg))}to{transform:rotate(var(--oi-navigation-tool-rotation-to, 0deg))}}.esri-oriented-imagery-viewer__navigation{transform:rotate(var(--oi-navigation-tool-rotation-to, 0deg))}.esri-oriented-imagery-viewer__navigation-animate{animation:.7s linear forwards rotateOrientedImageryNavigationTool}.esri-oriented-imagery-viewer__navigation-feature{fill:var(--calcite-color-brand);stroke:var(--calcite-color-foreground-1);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-feature.selected{fill:var(--calcite-color-status-danger)}.esri-oriented-imagery-viewer__navigation-feature-path{pointer-events:none}.esri-oriented-imagery-viewer__navigation-feature-path-stop-offset-0{stop-color:var(--calcite-color-status-danger);stop-opacity:.4}.esri-oriented-imagery-viewer__navigation-feature-path-stop-offset-1{stop-color:var(--calcite-color-status-danger);stop-opacity:.2}.esri-oriented-imagery-viewer__navigation-pointer{fill:var(--calcite-color-foreground-1);fill-rule:evenodd;stroke:#0000;stroke-dasharray:none;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-width:0}.esri-oriented-imagery-viewer__navigation-pointer-north{fill:var(--calcite-color-status-danger)}.esri-oriented-imagery-viewer__navigation-wrapper{z-index:1;position:absolute;bottom:0;right:0;overflow:hidden}.esri-oriented-imagery-viewer__navigation-wrapper--video{inset-block-end:calc(var(--calcite-spacing-xxxl) * 3)}.esri-oriented-imagery-viewer__navigation-wrapper--zoomed{transform-origin:100% 100%;transform:scale(1.5)}.esri-oriented-imagery-viewer__navigation-wrapper-boundary{fill:var(--calcite-color-foreground-1);fill-opacity:.25;stroke:var(--calcite-color-border-2)}.esri-oriented-imagery-viewer__navigation-sector{fill:none}.esri-oriented-imagery-viewer__navigation-sector-separator{stroke:var(--calcite-color-border-2);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-sector-cross{stroke:var(--calcite-color-status-danger);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-sector-enabled{fill:var(--calcite-color-foreground-1);stroke:var(--calcite-color-border-2);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-sector-disabled{fill:var(--calcite-color-foreground-3);stroke:var(--calcite-color-border-2);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-sector-outer{fill:var(--calcite-color-foreground-1);fill-opacity:.4;stroke:none}.esri-oriented-imagery-viewer__pro .esri-oriented-imagery-viewer{width:100%;max-width:unset;height:100%;max-height:unset;position:static}.esri-oriented-imagery-viewer__sketch-tools{justify-content:center;align-items:center;width:100%;display:flex;position:absolute;bottom:0}.esri-oriented-imagery-viewer--notice{margin-block:auto}.esri-oriented-imagery-viewer__navigation-ui{box-sizing:border-box;transform-style:preserve-3d;z-index:var(--calcite-z-index-overlay);aspect-ratio:1;pointer-events:none;flex-direction:column;align-items:center;width:50%;max-width:330px;display:flex;position:absolute;inset-block-end:0;inset-inline:50%;overflow:hidden;translate:-50%}.esri-oriented-imagery-viewer__navigation-ui__direction{--esri-oriented-imagery-viewer__navigation-ui-direction-color: wheat;--calcite-icon-color: var(--esri-oriented-imagery-viewer__navigation-ui-direction-color);transform-origin:top;transform-style:preserve-3d;cursor:not-allowed;border:3px solid #bfc5cc;border-radius:50%;width:4.5em;height:4.5em;transition:border-color .15s;position:absolute}.esri-oriented-imagery-viewer__navigation-ui__direction:not([disabled]){cursor:pointer;pointer-events:auto}.esri-oriented-imagery-viewer__navigation-ui__direction:not([disabled]):hover{--calcite-icon-color: var(--calcite-color-brand);border-color:var(--calcite-color-brand)}.esri-oriented-imagery-viewer__navigation-ui__direction-pad{box-sizing:border-box;filter:drop-shadow(0 2px 1px #00000080);width:100%;height:100%;transform:perspective(400px) rotateX(60deg)}.esri-oriented-imagery-viewer__navigation-settings-ui [slot=content-bottom]{padding:.5rem;display:none}.esri-oriented-imagery-viewer__navigation-settings-ui [selected]>[slot=content-bottom]{display:block}.esri-panoramic-viewer{width:100%;height:100%;overflow-x:hidden}.esri-panoramic-viewer__slider-container{--calcite-block-content-space: 0;box-sizing:border-box;box-shadow:none;padding-inline:var(--calcite-space-md);background-color:#0000;border:none;width:100%;margin:0;overflow:hidden}.esri-panoramic-viewer__slider-container calcite-slider{width:100%}`, w = g(s), p = "map-components:arcgis-oriented-imagery-viewer";
13
13
  class y extends n {
14
14
  constructor() {
15
15
  super(...arguments), this.widget = w(this), this._hasOrientedImageryLayerToAdd = !1, this.viewModel = this.widget.viewModel, this.view = this.widget.view, this.autoDestroyDisabled = !1, this.actionBarPosition = this.widget.actionBarPosition, this.currentCoverageVisible = this.widget.currentCoverageVisible, this.dataCaptureEnabled = this.widget.dataCaptureEnabled, this.disabled = this.widget.disabled, this.galleryOpened = this.widget.galleryOpened, this.hideAdditionalCameraLocationsToggle = this.widget.visibleElements.additionalCameraLocationsToggle, this.hideAdditionalFootprintsToggle = this.widget.visibleElements.additionalFootprintToggle, this.hideCurrentFootprintToggle = this.widget.visibleElements.currentFootprintToggle, this.hideDirectionalNavigationToggle = this.widget.visibleElements.directionalNavigation, this.hideEnhancementToolToggle = this.widget.visibleElements.enhancementTool, this.hideExploreImagesToggle = this.widget.visibleElements.exploreImages, this.hideExploreImages3dToggle = this.widget.visibleElements.exploreImages3D, this.hideHeader = this.widget.visibleElements.header, this.hideMenu = this.widget.visibleElements.menu, this.hideImageGalleryToggle = this.widget.visibleElements.imageGallery, this.hideImageNavigationGroup = this.widget.visibleElements.imageNavigationTools, this.hideImageOverlaysToggle = this.widget.visibleElements.imageOverlays, this.hideMapImageLocationToolToggle = this.widget.visibleElements.mapImageConversionTool, this.hideImageMeasurementToolsGroup = this.widget.visibleElements.measurementTools, this.hideNavigationToolToggle = this.widget.visibleElements.navigationTool, this.hideOverlaysGroup = this.widget.visibleElements.overlays, this.hideSearchGroup = this.widget.visibleElements.searchTools, this.hideSequentialNavigationToggle = this.widget.visibleElements.sequentialNavigation, this.hideDisplayImageToggle = this.widget.visibleElements.showSelectedImage, this.hidePopupsAction = this.widget.visibleElements.showPopupsAction, this.hideSuperimposeViewToggle = this.widget.visibleElements.superimpose, this.hideUtilitiesGroup = this.widget.visibleElements.utilityTools, this.icon = this.widget.icon, this.imageEnhancementToolActive = this.widget.imageEnhancementToolActive, this.imageGalleryEnabled = this.widget.imageGalleryEnabled, this.imageOverlaysOpened = this.widget.imageOverlaysOpened, this.isAdditionalCoverageVisible = this.widget.isAdditionalCoverageVisible, this.isAdditionalPointSourcesVisible = this.widget.isAdditionalPointSourcesVisible, this.label = this.widget.label, this.layer = this.widget.layer, this.mapLayerId = h(this, (e) => {