@esri/solutions-components 0.10.40 → 0.10.42

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 (61) hide show
  1. package/dist/cjs/calcite-block_5.cjs.entry.js +75 -65
  2. package/dist/cjs/card-manager_3.cjs.entry.js +11 -12
  3. package/dist/cjs/crowdsource-manager.cjs.entry.js +4 -3
  4. package/dist/cjs/crowdsource-reporter.cjs.entry.js +4 -5
  5. package/dist/cjs/instant-apps-app-guide.cjs.entry.js +1 -1
  6. package/dist/cjs/instant-apps-export.cjs.entry.js +5 -1
  7. package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
  8. package/dist/cjs/instant-apps-sign-in.cjs.entry.js +2 -2
  9. package/dist/cjs/instant-apps-time-filter.cjs.entry.js +6 -6
  10. package/dist/cjs/loader.cjs.js +1 -1
  11. package/dist/cjs/solutions-components.cjs.js +1 -1
  12. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +4 -3
  13. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +4 -5
  14. package/dist/collection/components/layer-table/layer-table.js +14 -11
  15. package/dist/collection/components/map-card/map-card.js +9 -5
  16. package/dist/components/crowdsource-manager.js +4 -3
  17. package/dist/components/crowdsource-reporter.js +4 -5
  18. package/dist/components/instant-apps-app-guide.js +1 -1
  19. package/dist/components/instant-apps-export.js +5 -1
  20. package/dist/components/instant-apps-filter-list2.js +75 -66
  21. package/dist/components/instant-apps-landing-page.js +1 -1
  22. package/dist/components/instant-apps-sign-in2.js +2 -2
  23. package/dist/components/instant-apps-time-filter.js +6 -6
  24. package/dist/components/layer-table2.js +8 -9
  25. package/dist/components/map-card2.js +3 -3
  26. package/dist/esm/calcite-block_5.entry.js +75 -65
  27. package/dist/esm/card-manager_3.entry.js +11 -12
  28. package/dist/esm/crowdsource-manager.entry.js +4 -3
  29. package/dist/esm/crowdsource-reporter.entry.js +4 -5
  30. package/dist/esm/instant-apps-app-guide.entry.js +1 -1
  31. package/dist/esm/instant-apps-export.entry.js +5 -1
  32. package/dist/esm/instant-apps-landing-page.entry.js +1 -1
  33. package/dist/esm/instant-apps-sign-in.entry.js +2 -2
  34. package/dist/esm/instant-apps-time-filter.entry.js +6 -6
  35. package/dist/esm/loader.js +1 -1
  36. package/dist/esm/solutions-components.js +1 -1
  37. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-app-guide/instant-apps-app-guide.css +1 -1
  38. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-landing-page/instant-apps-landing-page.css +43 -26
  39. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-sign-in/instant-apps-sign-in.css +6 -0
  40. package/dist/solutions-components/p-442dd59c.entry.js +6 -0
  41. package/dist/solutions-components/p-523dcf4b.entry.js +6 -0
  42. package/dist/solutions-components/{p-6d1922cc.entry.js → p-8b92fe23.entry.js} +1 -1
  43. package/dist/solutions-components/p-8f8c7045.entry.js +6 -0
  44. package/dist/solutions-components/p-953afbb3.entry.js +29 -0
  45. package/dist/solutions-components/p-a1d8aed8.entry.js +6 -0
  46. package/dist/solutions-components/{p-bb8b1ee2.entry.js → p-a2cf9fdc.entry.js} +1 -1
  47. package/dist/solutions-components/p-a7f56b28.entry.js +6 -0
  48. package/dist/solutions-components/p-e4107150.entry.js +6 -0
  49. package/dist/solutions-components/solutions-components.esm.js +1 -1
  50. package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +1 -1
  51. package/dist/types/components/layer-table/layer-table.d.ts +2 -2
  52. package/dist/types/components/map-card/map-card.d.ts +1 -1
  53. package/dist/types/components.d.ts +2 -2
  54. package/package.json +4 -4
  55. package/dist/solutions-components/p-5b3c0418.entry.js +0 -6
  56. package/dist/solutions-components/p-750b3277.entry.js +0 -6
  57. package/dist/solutions-components/p-8779ee41.entry.js +0 -6
  58. package/dist/solutions-components/p-ca3cbd29.entry.js +0 -6
  59. package/dist/solutions-components/p-cced387c.entry.js +0 -6
  60. package/dist/solutions-components/p-e1391389.entry.js +0 -29
  61. package/dist/solutions-components/p-e9026f9a.entry.js +0 -6
@@ -1518,6 +1518,7 @@ const InstantAppsFilterList = class {
1518
1518
  index.registerInstance(this, hostRef);
1519
1519
  this.filterListReset = index.createEvent(this, "filterListReset", 7);
1520
1520
  this.filterUpdate = index.createEvent(this, "filterUpdate", 7);
1521
+ this.isLayerExpUpdated = false;
1521
1522
  this.layerExpressions = undefined;
1522
1523
  this.autoUpdateUrl = false;
1523
1524
  this.closeBtn = false;
@@ -1538,7 +1539,6 @@ const InstantAppsFilterList = class {
1538
1539
  this.messages = undefined;
1539
1540
  this.baseClass = baseClassLight;
1540
1541
  this.disabled = true;
1541
- this.hasLayerExpression = false;
1542
1542
  this.initDefExpressions = undefined;
1543
1543
  this.initMapImageExpressions = undefined;
1544
1544
  this.initPointCloudFilters = undefined;
@@ -1547,11 +1547,9 @@ const InstantAppsFilterList = class {
1547
1547
  this.handleWhenView();
1548
1548
  }
1549
1549
  watchLayerExpressions() {
1550
- if (!this.hasLayerExpression) {
1551
- this.filterLayerExpressions = structuredClone(this.layerExpressions);
1552
- this.handleLayerExpressionsUpdate();
1553
- this.hasLayerExpression = true;
1554
- }
1550
+ this.resetAllFilters();
1551
+ this.filterLayerExpressions = structuredClone(this.layerExpressions);
1552
+ this.handleLayerExpressionsUpdate();
1555
1553
  }
1556
1554
  getFilterInitState() {
1557
1555
  return Promise.resolve({
@@ -1561,7 +1559,6 @@ const InstantAppsFilterList = class {
1561
1559
  });
1562
1560
  }
1563
1561
  forceReset() {
1564
- this.filterLayerExpressions = structuredClone(this.layerExpressions);
1565
1562
  this.handleResetFilter();
1566
1563
  return this.initExpressions();
1567
1564
  }
@@ -1576,28 +1573,28 @@ const InstantAppsFilterList = class {
1576
1573
  }
1577
1574
  return this.initExpressions();
1578
1575
  }
1576
+ connectedCallback() {
1577
+ var _a;
1578
+ if (this.layerExpressions == null && this.view == null)
1579
+ return;
1580
+ this.isLayerExpUpdated = true;
1581
+ this.filterLayerExpressions = structuredClone(this.layerExpressions);
1582
+ this.disabled = ((_a = this.filterLayerExpressions) === null || _a === void 0 ? void 0 : _a.length) ? undefined : true;
1583
+ this.handleLayerExpressionsUpdate();
1584
+ }
1579
1585
  async componentWillLoad() {
1580
1586
  var _a;
1581
1587
  this.baseClass = mode.getMode(this.el) === 'dark' ? baseClassDark : baseClassLight;
1582
1588
  await this.initializeModules();
1583
1589
  locale$1.getMessages(this);
1584
- this.hasLayerExpression = this.layerExpressions != null;
1590
+ if (this.isLayerExpUpdated)
1591
+ return;
1592
+ this.isLayerExpUpdated = true;
1585
1593
  this.filterLayerExpressions = this.layerExpressions != null ? structuredClone(this.layerExpressions) : [];
1586
1594
  this.disabled = ((_a = this.filterLayerExpressions) === null || _a === void 0 ? void 0 : _a.length) ? undefined : true;
1587
- this.reactiveUtils.whenOnce(() => this.view).then(() => this.handleLayerExpressionsUpdate());
1588
- }
1589
- componentShouldUpdate(newValue, _oldValue, name) {
1590
- if (name === 'view' && newValue != null) {
1591
- this.handleWhenView();
1592
- }
1593
- else if (name === 'layerExpressions') {
1594
- if (this.hasLayerExpression) {
1595
- this.resetAllFilters();
1596
- }
1597
- this.filterLayerExpressions = structuredClone(this.layerExpressions);
1598
- this.handleLayerExpressionsUpdate();
1599
- this.hasLayerExpression = true;
1600
- }
1595
+ if (this.view == null)
1596
+ return;
1597
+ this.handleLayerExpressionsUpdate();
1601
1598
  }
1602
1599
  componentWillRender() {
1603
1600
  var _a;
@@ -1605,21 +1602,21 @@ const InstantAppsFilterList = class {
1605
1602
  }
1606
1603
  disconnectedCallback() {
1607
1604
  if (this.resetFiltersOnDisconnect) {
1605
+ this.isLayerExpUpdated = false;
1608
1606
  this.filterLayerExpressions = structuredClone(this.layerExpressions);
1609
1607
  this.resetAllFilters();
1610
1608
  }
1611
1609
  }
1612
1610
  async initializeModules() {
1613
- const [intl, geometryJsonUtils, reactiveUtils] = await loadModules.loadModules(['esri/intl', 'esri/geometry/support/jsonUtils', 'esri/core/reactiveUtils']);
1611
+ const [intl, geometryJsonUtils] = await loadModules.loadModules(['esri/intl', 'esri/geometry/support/jsonUtils']);
1614
1612
  this.geometryJsonUtils = geometryJsonUtils;
1615
- this.reactiveUtils = reactiveUtils;
1616
1613
  this.locale = intl.getLocale();
1617
1614
  this.intl = intl;
1618
1615
  }
1619
1616
  render() {
1620
1617
  const filterConfig = this.loading ? this.renderLoading() : this.initFilterConfig();
1621
- const footer = this.renderFooter(this.closeBtn, this.resetBtn);
1622
- return (index.h(index.Host, { key: '80c4918bd3bdf65d541ed6cf4cf4843ab0f0df01' }, index.h("calcite-panel", { key: 'f1da101b071420df42da5eb8f5478d0719b40cec', class: this.baseClass, ref: el => (this.panelEl = el) }, index.h("slot", { key: '8ebdbf20767027459470fa85fe4238e69bc47ab8', slot: "header-content", name: "filter-header-content" }), index.h("slot", { key: '177f8db80aa842eeb200344cd7b398cd51ca23f3', slot: "header-actions-end", name: "filter-header-actions-end" }), index.h("div", { key: "filter-container", class: CSS$1.filterContainer }, filterConfig, footer))));
1618
+ const footer = this.renderFooter();
1619
+ return (index.h(index.Host, { key: '055d2a02c5118e59462af8759c6bf2f39304fd75' }, index.h("calcite-panel", { key: '0335c9b28101257551902737ef373543aebee1f6', class: this.baseClass, ref: el => (this.panelEl = el) }, index.h("slot", { key: '4b471e66583b3f2fd733688d65ce8d3b2acbeb66', slot: "header-content", name: "filter-header-content" }), index.h("slot", { key: 'f5832075687a6812b902643fd057587b438b38cf', slot: "header-actions-end", name: "filter-header-actions-end" }), index.h("div", { key: "filter-container", class: CSS$1.filterContainer }, filterConfig, footer))));
1623
1620
  }
1624
1621
  renderLoading() {
1625
1622
  return index.h("calcite-loader", { label: "Loading filters..." });
@@ -1688,10 +1685,11 @@ const InstantAppsFilterList = class {
1688
1685
  const check = min != null && max != null;
1689
1686
  return check ? (index.h("label", { class: CSS$1.filterUIItemContainer }, index.h("span", null, expression === null || expression === void 0 ? void 0 : expression.name), index.h("div", { class: CSS$1.dateInputContainer }, index.h("calcite-input-date-picker", { id: expression === null || expression === void 0 ? void 0 : expression.id.toString(), onCalciteInputDatePickerChange: this.handleDatePickerRangeChange.bind(this, expression, layerExpression), min: min, max: max, "overlay-positioning": "fixed", lang: (_c = this.locale) !== null && _c !== void 0 ? _c : 'en', layout: "vertical", value: value, range: true }), index.h("calcite-action", { onClick: this.handleResetDatePicker.bind(this, expression, layerExpression), icon: "reset", text: (_d = this.messages) === null || _d === void 0 ? void 0 : _d.resetDatePicker, scale: "s" })))) : null;
1690
1687
  }
1691
- renderFooter(closeBtn, resetBtn) {
1688
+ renderFooter() {
1692
1689
  var _a, _b, _c;
1693
1690
  const closeText = this.closeBtnText != null ? this.closeBtnText : (_a = this.messages) === null || _a === void 0 ? void 0 : _a.close;
1694
- return (index.h("div", { class: CSS$1.footer, slot: "footer" }, resetBtn ? (index.h("calcite-button", { appearance: "outline", width: "half", disabled: this.disabled, onClick: this.handleResetFilter.bind(this) }, (_b = this.messages) === null || _b === void 0 ? void 0 : _b.resetFilter)) : undefined, closeBtn ? (index.h("calcite-button", { appearance: "solid", width: "half", kind: "brand", onClick: (_c = this.closeBtnOnClick) === null || _c === void 0 ? void 0 : _c.bind(this) }, closeText)) : undefined));
1691
+ const btnWidth = this.closeBtn && this.resetBtn ? 'half' : 'full';
1692
+ return (index.h("div", { class: CSS$1.footer, slot: "footer" }, this.resetBtn ? (index.h("calcite-button", { appearance: "outline", width: btnWidth, disabled: this.disabled, onClick: this.handleResetFilter.bind(this) }, (_b = this.messages) === null || _b === void 0 ? void 0 : _b.resetFilter)) : undefined, this.closeBtn ? (index.h("calcite-button", { appearance: "solid", width: btnWidth, kind: "brand", onClick: (_c = this.closeBtnOnClick) === null || _c === void 0 ? void 0 : _c.bind(this) }, closeText)) : undefined));
1695
1693
  }
1696
1694
  renderZoomTo(layerExpression) {
1697
1695
  var _a;
@@ -1722,23 +1720,21 @@ const InstantAppsFilterList = class {
1722
1720
  }
1723
1721
  async initExpressions() {
1724
1722
  this.loading = true;
1725
- if (this.filterLayerExpressions == null)
1723
+ if (this.filterLayerExpressions == null || this.view == null)
1726
1724
  return;
1727
- const tmpLE = await this.processExpressions();
1725
+ await this.processExpressions();
1728
1726
  this.loading = false;
1729
- this.filterLayerExpressions = [...tmpLE];
1730
1727
  }
1731
1728
  async processExpressions() {
1732
1729
  var _a;
1733
1730
  if (!this.filterLayerExpressions)
1734
- return [];
1731
+ return;
1735
1732
  for (const layerExpression of this.filterLayerExpressions) {
1736
1733
  for (const expression of layerExpression.expressions || []) {
1737
1734
  expression.active = (_a = expression.active) !== null && _a !== void 0 ? _a : expression.definitionExpression != null;
1738
1735
  await this.setInitExpression(layerExpression, expression);
1739
1736
  }
1740
1737
  }
1741
- return this.filterLayerExpressions;
1742
1738
  }
1743
1739
  handleResetFilter() {
1744
1740
  var _a;
@@ -1808,6 +1804,8 @@ const InstantAppsFilterList = class {
1808
1804
  }
1809
1805
  resetAllFilters() {
1810
1806
  var _a, _b, _c, _d, _e;
1807
+ if (this.initDefExpressions == null)
1808
+ return;
1811
1809
  const allLayersAndTables = (_c = (_b = (_a = this.view) === null || _a === void 0 ? void 0 : _a.map) === null || _b === void 0 ? void 0 : _b.allLayers) === null || _c === void 0 ? void 0 : _c.concat((_e = (_d = this.view) === null || _d === void 0 ? void 0 : _d.map) === null || _e === void 0 ? void 0 : _e.allTables);
1812
1810
  allLayersAndTables === null || allLayersAndTables === void 0 ? void 0 : allLayersAndTables.forEach(layer => {
1813
1811
  var _a, _b;
@@ -1909,18 +1907,19 @@ const InstantAppsFilterList = class {
1909
1907
  }
1910
1908
  return false;
1911
1909
  }
1912
- updateCodedValueExpression(expression, layerField) {
1910
+ async updateCodedValueExpression(layerExpression, expression, layerField) {
1913
1911
  var _a, _b;
1914
1912
  if (!(layerField === null || layerField === void 0 ? void 0 : layerField.domain) || ((_a = layerField === null || layerField === void 0 ? void 0 : layerField.domain) === null || _a === void 0 ? void 0 : _a.type) !== 'coded-value') {
1915
1913
  return false;
1916
1914
  }
1915
+ const layer = this.findFilterLayer(layerExpression);
1916
+ await this.getFeatureAttributes(layer, expression);
1917
1917
  const domain = layerField.domain;
1918
1918
  const codedValuesMap = domain.codedValues.reduce((acc, { code, name }) => {
1919
1919
  acc[code] = name;
1920
1920
  return acc;
1921
1921
  }, {});
1922
1922
  expression.codedValues = codedValuesMap;
1923
- expression.fields = Object.keys(codedValuesMap);
1924
1923
  if ((_b = expression.selectedFields) === null || _b === void 0 ? void 0 : _b.length) {
1925
1924
  const selectedFieldsExpression = expression.selectedFields.map((field) => (typeof field === 'number' ? field : `'${handleSingleQuote(field)}'`)).join(',');
1926
1925
  expression.definitionExpression = `${expression.field} IN (${selectedFieldsExpression})`;
@@ -1989,7 +1988,7 @@ const InstantAppsFilterList = class {
1989
1988
  if (features === null || features === void 0 ? void 0 : features.length) {
1990
1989
  expression.fields = [...new Set(features)];
1991
1990
  if (expression.type === 'string') {
1992
- expression.fields = expression.fields.sort();
1991
+ expression.fields = expression.fields.sort((a, b) => a.localeCompare(b));
1993
1992
  }
1994
1993
  else if (expression.type === 'number') {
1995
1994
  expression.fields = expression.fields.sort((a, b) => a - b);
@@ -2018,8 +2017,15 @@ const InstantAppsFilterList = class {
2018
2017
  expression.fields.push(...features);
2019
2018
  }
2020
2019
  });
2021
- expression.fields = [...new Set(expression.fields)].sort();
2022
- this.filterLayerExpressions = [...this.filterLayerExpressions];
2020
+ if (expression.type === 'string') {
2021
+ expression.fields = [...new Set(expression.fields)].sort((a, b) => a.localeCompare(b));
2022
+ }
2023
+ else if (expression.type === 'number') {
2024
+ expression.fields = [...new Set(expression.fields)].sort((a, b) => a - b);
2025
+ }
2026
+ else {
2027
+ expression.fields = [...new Set(expression.fields)].sort();
2028
+ }
2023
2029
  });
2024
2030
  }
2025
2031
  async queryForFeatures(layer, query, field) {
@@ -2102,13 +2108,14 @@ const InstantAppsFilterList = class {
2102
2108
  case 'number':
2103
2109
  return await this.updateNumberExpression(layerExpression, expression);
2104
2110
  case 'date':
2105
- return this.updateDateExpressionBasedOnDisplayOption(layerExpression, expression);
2111
+ return await this.updateDateExpressionBasedOnDisplayOption(layerExpression, expression);
2106
2112
  case 'coded-value':
2107
- return this.updateCodedValueExpression(expression, layerField);
2113
+ return await this.updateCodedValueExpression(layerExpression, expression, layerField);
2108
2114
  case 'range':
2109
- return this.updateRangeExpressionBasedOnDisplayOption(layerExpression, expression, layerField);
2115
+ return await this.updateRangeExpressionBasedOnDisplayOption(layerExpression, expression, layerField);
2110
2116
  case 'checkbox':
2111
2117
  case null:
2118
+ case undefined:
2112
2119
  return (_a = expression.active) !== null && _a !== void 0 ? _a : false;
2113
2120
  default:
2114
2121
  return false;
@@ -2308,31 +2315,9 @@ const InstantAppsFilterList = class {
2308
2315
  this.handleLayerExpressionsUpdate();
2309
2316
  }
2310
2317
  async handleLayerExpressionsUpdate() {
2311
- if (this.view == null)
2312
- return;
2313
- const map = this.view.map;
2314
- this.initDefExpressions = {};
2315
- this.initPointCloudFilters = {};
2316
- this.initMapImageExpressions = {};
2317
- map.allLayers.concat(map.allTables).forEach(layer => {
2318
- if (!supportedTypes.includes(layer.type))
2319
- return;
2320
- const fl = layer;
2321
- if (fl.type === 'point-cloud') {
2322
- this.initPointCloudFilters[fl.id] = fl.filters;
2323
- }
2324
- else if (fl.type === 'map-image') {
2325
- this.initMapImageExpressions[fl.id] = fl.allSublayers.reduce((acc, sublayer) => {
2326
- acc[sublayer.id] = sublayer.definitionExpression;
2327
- return acc;
2328
- }, {});
2329
- }
2330
- else {
2331
- this.initDefExpressions[fl.id] = fl.definitionExpression;
2332
- }
2333
- });
2334
- this.initExpressions();
2318
+ this.updateInitExpressions();
2335
2319
  this.handleURLParams();
2320
+ this.initExpressions();
2336
2321
  }
2337
2322
  async handleZoomTo(layerExpression) {
2338
2323
  const zoomId = (layerExpression === null || layerExpression === void 0 ? void 0 : layerExpression.sublayerId) ? `#zoom-to-${layerExpression.id}-${layerExpression.sublayerId}` : `#zoom-to-${layerExpression.id}`;
@@ -2503,6 +2488,31 @@ const InstantAppsFilterList = class {
2503
2488
  query.geometry = geometry;
2504
2489
  query.spatialRelationship = 'intersects';
2505
2490
  }
2491
+ updateInitExpressions() {
2492
+ if (this.view == null)
2493
+ return;
2494
+ const map = this.view.map;
2495
+ this.initDefExpressions = {};
2496
+ this.initPointCloudFilters = {};
2497
+ this.initMapImageExpressions = {};
2498
+ map.allLayers.concat(map.allTables).forEach(layer => {
2499
+ if (!supportedTypes.includes(layer.type))
2500
+ return;
2501
+ const fl = layer;
2502
+ if (fl.type === 'point-cloud') {
2503
+ this.initPointCloudFilters[fl.id] = fl.filters;
2504
+ }
2505
+ else if (fl.type === 'map-image') {
2506
+ this.initMapImageExpressions[fl.id] = fl.allSublayers.reduce((acc, sublayer) => {
2507
+ acc[sublayer.id] = sublayer.definitionExpression;
2508
+ return acc;
2509
+ }, {});
2510
+ }
2511
+ else {
2512
+ this.initDefExpressions[fl.id] = fl.definitionExpression;
2513
+ }
2514
+ });
2515
+ }
2506
2516
  get el() { return index.getElement(this); }
2507
2517
  static get watchers() { return {
2508
2518
  "view": ["watchViewHandler"],
@@ -588,8 +588,8 @@ const LayerTable = class {
588
588
  /**
589
589
  * Updates the filter
590
590
  */
591
- async filterUpdate() {
592
- await this._handleFilterUpdate();
591
+ async filterUpdate(active) {
592
+ await this._handleFilterUpdate(active);
593
593
  }
594
594
  /**
595
595
  * Closes the filter
@@ -731,10 +731,10 @@ const LayerTable = class {
731
731
  const tableHeightClass = this.isMobile ? "height-full" : "height-full-adjusted";
732
732
  const showSearch = this._canShowFullTextSearch();
733
733
  this._validateActiveActions();
734
- return (index.h(index.Host, { key: '5cbb5ba55c63eaf278666aac034a01d971d9f12a' }, index.h("calcite-shell", { key: '8a27d87fc002b72fe478d25885b2ab04261362ca' }, this._getTableControlRow("header"), index.h("div", { key: '250c356a30389b8cb95628953f3bb3ec5c88361d', class: `width-full ${tableHeightClass}` }, index.h("calcite-panel", { key: '9d5dbb084031bdface1dbc3a1dbc2fa33eb163b5', class: "height-full width-full" }, showSearch &&
735
- index.h("div", { key: '2d45ae4255a1d0e3cf14aa0f6a01915a38626bc7', class: "search-container" }, index.h("calcite-input", { key: 'c73546fef30db70d01cf8978a5daf9ea4193ddc2', class: "search", clearable: true, icon: "search", onCalciteInputChange: (evt) => void this._searchTextChanged(evt), placeholder: this._searchPlaceHolder, title: this._searchPlaceHolder, type: "search" })), index.h("calcite-loader", { key: '61621afb1e5fa67e25b878320c8497200b8265cd', class: loadingClass, label: this._translations.fetchingData, scale: "l" }), index.h("div", { key: '0ef4fe0e4099ec60f4c38e2c421920c9a8fe3c4f', class: tableNodeClass, ref: this.onTableNodeCreate }))), !this.isMobile ? (index.h("div", { class: "bottom-left text-color height-19" }, this._translations.recordsSelected
734
+ return (index.h(index.Host, { key: 'f56462fd5d5afa71052cf2557069bb2fee15aaeb' }, index.h("calcite-shell", { key: '92ccfa2235269aad6da5f918f79ec8ae100e99ca' }, this._getTableControlRow("header"), index.h("div", { key: 'e5b8fe5e4236e1a7b7e9d31ad784d9bb52a6918d', class: `width-full ${tableHeightClass}` }, index.h("calcite-panel", { key: 'eca933d832e5b6efddb025211c253bf09e41ab22', class: "height-full width-full" }, showSearch &&
735
+ index.h("div", { key: 'e819896c4264db3ee95d10194b67da65997b541d', class: "search-container" }, index.h("calcite-input", { key: 'e979c7962205caf072057332280b9e04ecd233c4', class: "search", clearable: true, icon: "search", onCalciteInputChange: (evt) => void this._searchTextChanged(evt), placeholder: this._searchPlaceHolder, title: this._searchPlaceHolder, type: "search" })), index.h("calcite-loader", { key: 'ee715472a4f819dd1e9328e75022439e9bba1334', class: loadingClass, label: this._translations.fetchingData, scale: "l" }), index.h("div", { key: '8085821dea31de1fcbb1119e5791c0dea744e470', class: tableNodeClass, ref: this.onTableNodeCreate }))), !this.isMobile ? (index.h("div", { class: "bottom-left text-color height-19" }, this._translations.recordsSelected
736
736
  .replace("{{total}}", total)
737
- .replace("{{selected}}", selected))) : undefined), this.createFilterModal && this._filterModal(), index.h("delete-dialog", { key: 'e2564b1d08476f762577247ffb41a00e5c41514c', id: "deleteDialogId", ids: this._getIds(), layer: this._layer, locale: this.locale, onDeleteDialogClose: () => this._deleteDialogOpen = false, open: this._deleteDialogOpen, ref: (el) => this._deleteDialog = el })));
737
+ .replace("{{selected}}", selected))) : undefined), this.createFilterModal && this._filterModal(), index.h("delete-dialog", { key: '20c9a06c3f0d44433d9442755d25658c249e102c', id: "deleteDialogId", ids: this._getIds(), layer: this._layer, locale: this.locale, onDeleteDialogClose: () => this._deleteDialogOpen = false, open: this._deleteDialogOpen, ref: (el) => this._deleteDialog = el })));
738
738
  }
739
739
  _deleteDialog;
740
740
  /**
@@ -1779,7 +1779,7 @@ const LayerTable = class {
1779
1779
  * @protected
1780
1780
  */
1781
1781
  _filterModal() {
1782
- return (index.h("calcite-modal", { "aria-labelledby": "modal-title", class: "modal", kind: "brand", onCalciteModalClose: () => void this._closeFilter(), open: this._filterOpen, widthScale: "s" }, index.h("div", { class: "display-flex align-center", id: "modal-title", slot: "header" }, this._translations?.filter?.replace("{{title}}", this._layer?.title)), index.h("div", { slot: "content" }, index.h("instant-apps-filter-list", { autoUpdateUrl: false, closeBtn: true, closeBtnOnClick: async () => this._closeFilter(), comboboxOverlayPositioning: "fixed", layerExpressions: this._layerExpressions, onFilterListReset: () => void this._handleFilterListReset(), onFilterUpdate: () => void this._handleFilterUpdate(), ref: (el) => this._filterList = el, view: this.mapView, zoomBtn: false }))));
1782
+ return (index.h("calcite-modal", { "aria-labelledby": "modal-title", class: "modal", kind: "brand", onCalciteModalClose: () => void this._closeFilter(), open: this._filterOpen, widthScale: "s" }, index.h("div", { class: "display-flex align-center", id: "modal-title", slot: "header" }, this._translations?.filter?.replace("{{title}}", this._layer?.title)), index.h("div", { slot: "content" }, index.h("instant-apps-filter-list", { autoUpdateUrl: false, closeBtn: true, closeBtnOnClick: async () => this._closeFilter(), comboboxOverlayPositioning: "fixed", layerExpressions: this._layerExpressions, onFilterListReset: () => void this._handleFilterListReset(), onFilterUpdate: () => void this._handleFilterUpdate(this._filterList.filterCount > 0), ref: (el) => this._filterList = el, view: this.mapView, zoomBtn: false }))));
1783
1783
  }
1784
1784
  /**
1785
1785
  * Reset the filter active prop
@@ -1794,7 +1794,7 @@ const LayerTable = class {
1794
1794
  * Check if the layers definitionExpression has been modified
1795
1795
  * @protected
1796
1796
  */
1797
- async _handleFilterUpdate() {
1797
+ async _handleFilterUpdate(active) {
1798
1798
  const defExp = this._layer.definitionExpression;
1799
1799
  if (this._floorExpression) {
1800
1800
  const regEx = new RegExp(`${this._floorField} = ['].+[']`, "gm");
@@ -1802,8 +1802,7 @@ const LayerTable = class {
1802
1802
  defExp.replace(regEx, this._floorExpression) : defExp ?
1803
1803
  `${defExp} AND (${this._floorExpression})` : this._floorExpression;
1804
1804
  }
1805
- this._filterActive = this._definitionExpression !== this._layer.definitionExpression &&
1806
- (this._floorExpression ? this._layer.definitionExpression !== this._floorExpression : true);
1805
+ this._filterActive = active;
1807
1806
  this._updateShareUrl();
1808
1807
  await this._searchFullText();
1809
1808
  }
@@ -2392,8 +2391,8 @@ const MapCard = class {
2392
2391
  /**
2393
2392
  * updates the filter
2394
2393
  */
2395
- async updateFilterState() {
2396
- this._filterActive = this._definitionExpression !== this.selectedLayer.definitionExpression;
2394
+ async updateFilterState(active) {
2395
+ this._filterActive = active;
2397
2396
  this._updateShareUrl();
2398
2397
  }
2399
2398
  /**
@@ -2470,7 +2469,7 @@ const MapCard = class {
2470
2469
  const mapHeightClass = this.mapInfos?.length > 1 || this.isMapLayout ? "map-height" : "height-full";
2471
2470
  const progressClass = this.isMapLayout ? "" : "display-none";
2472
2471
  this._validateActiveActions();
2473
- return (index.h(index.Host, { key: '0b617eeb40229e49a32f5e4a557bfa0f88588fae' }, index.h("div", { key: 'd93aa32cd31279e468e4570af231a3f3788b9897', class: `${mapContainerClass} width-full`, ref: (el) => this._toolbar = el }, this._getActionBar(), !this.isMobile && this.isMapLayout && this._getDropdown("more-table-options"), this.enableShare && !this.isMobile && this.isMapLayout ? this._getShare("share") : undefined), index.h("calcite-progress", { key: '0ac01b19752ded5ddf0b06723b30fa669b2f6933', class: progressClass, value: 0 }), index.h("div", { key: '256bc38d71e3de4ab7ba7328ce12c32fa9ef0d2b', class: `${mapHeightClass} ${mapClass}`, ref: (el) => (this._mapDiv = el) }), index.h("map-tools", { key: 'e86f179871e8b315ff8d6ecb87545d9af8222590', basemapConfig: this.basemapConfig, class: `box-shadow ${themeClass}`, enableBasemap: this.enableBasemap, enableFloorFilter: this.enableFloorFilter, enableFullscreen: this.enableFullscreen, enableHome: this.enableHome, enableLegend: this.enableLegend, enableSearch: this.enableSearch, enableSingleExpand: this.enableSingleExpand, homeZoomToolsSize: this.homeZoomToolsSize, locale: this.locale, mapView: this.mapView, mapWidgetsSize: this.mapWidgetsSize, position: this.mapWidgetsPosition, ref: (el) => this._mapTools = el, searchConfiguration: this._searchConfiguration, stackTools: this.stackTools, toolOrder: this.toolOrder })));
2472
+ return (index.h(index.Host, { key: '525ee5ce855cf5aa4f8c50e7e88be6c6236046ac' }, index.h("div", { key: '899898ee0b2ba9048ed24716a339c94d3106a52e', class: `${mapContainerClass} width-full`, ref: (el) => this._toolbar = el }, this._getActionBar(), !this.isMobile && this.isMapLayout && this._getDropdown("more-table-options"), this.enableShare && !this.isMobile && this.isMapLayout ? this._getShare("share") : undefined), index.h("calcite-progress", { key: '896569eb6cf65f45cbebb4b36f5b01ada5ed1092', class: progressClass, value: 0 }), index.h("div", { key: '79cac798541783bdc74e4b13f9df4d7564eb99f4', class: `${mapHeightClass} ${mapClass}`, ref: (el) => (this._mapDiv = el) }), index.h("map-tools", { key: '730d48c4ce98af3872bfa6c486e8749e18c24477', basemapConfig: this.basemapConfig, class: `box-shadow ${themeClass}`, enableBasemap: this.enableBasemap, enableFloorFilter: this.enableFloorFilter, enableFullscreen: this.enableFullscreen, enableHome: this.enableHome, enableLegend: this.enableLegend, enableSearch: this.enableSearch, enableSingleExpand: this.enableSingleExpand, homeZoomToolsSize: this.homeZoomToolsSize, locale: this.locale, mapView: this.mapView, mapWidgetsSize: this.mapWidgetsSize, position: this.mapWidgetsPosition, ref: (el) => this._mapTools = el, searchConfiguration: this._searchConfiguration, stackTools: this.stackTools, toolOrder: this.toolOrder })));
2474
2473
  }
2475
2474
  /**
2476
2475
  * Called each time after the component is loaded
@@ -536,9 +536,10 @@ const CrowdsourceManager = class {
536
536
  return (index.h("calcite-modal", { "aria-labelledby": "modal-title", class: "modal", kind: "brand", onCalciteModalClose: () => void this._closeFilter(), open: this._filterOpen, widthScale: "s" }, index.h("div", { class: "display-flex align-center", id: "modal-title", slot: "header" }, this._translations?.filter?.replace("{{title}}", this._layer?.title)), index.h("div", { slot: "content" }, index.h("instant-apps-filter-list", { autoUpdateUrl: false, closeBtn: true, closeBtnOnClick: async () => this._closeFilter(), comboboxOverlayPositioning: "fixed", layerExpressions: this._layerExpressions, onFilterListReset: () => {
537
537
  this._handleFilterListReset();
538
538
  void this._mapCard.resetFilter();
539
- }, onFilterUpdate: () => {
540
- void this._layerTable?.filterUpdate();
541
- void this._mapCard.updateFilterState();
539
+ }, onFilterUpdate: async () => {
540
+ const active = this._filterList.filterCount > 0;
541
+ await this._layerTable?.filterUpdate(active);
542
+ await this._mapCard.updateFilterState(active);
542
543
  }, ref: (el) => this._filterList = el, view: this._mapView, zoomBtn: false }))));
543
544
  }
544
545
  /**
@@ -464,11 +464,10 @@ const CrowdsourceReporter = class {
464
464
  * Check if the layers definitionExpression has been modified and update the feature list depending on the applied filters
465
465
  * @protected
466
466
  */
467
- async _handleFilterUpdate() {
467
+ async _handleFilterUpdate(active) {
468
468
  this._showLoadingIndicator = true;
469
- //if filter are applied the url params will be generated
470
- //set the filter active state based on the length of applied filters
471
- this._filterActive = this._filterList.urlParams.getAll('filter').length > 0;
469
+ //if filters are applied the url params will be generated
470
+ this._filterActive = active;
472
471
  this._filterUrlParams = this._filterList.urlParams.getAll('filter');
473
472
  await this._featureList.refresh();
474
473
  this._showLoadingIndicator = false;
@@ -860,7 +859,7 @@ const CrowdsourceReporter = class {
860
859
  */
861
860
  getFilterPanel() {
862
861
  const currentLayersExpressions = this.layerExpressions ? this.layerExpressions.filter((exp) => exp.id === this._selectedLayerId) : [];
863
- return (index.h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._translations?.filterLayerTitle?.replace("{{title}}", this._selectedLayerName), loading: this._showLoadingIndicator, onCalciteFlowItemBack: this.backFromFilterPanel.bind(this) }, this.isMobile && this.getActionToExpandCollapsePanel(), index.h("div", { class: "width-full", slot: "footer" }, index.h("div", { class: "width-full", slot: "footer" }, index.h("calcite-button", { appearance: "solid", class: "footer-top-button footer-button", disabled: !this._filterActive, onClick: () => { void this._filterList?.forceReset(); }, width: "full" }, this._translations.resetFilter), index.h("calcite-button", { appearance: "outline", class: "footer-button", onClick: this.backFromFilterPanel.bind(this), width: "full" }, this._translations.close))), index.h("calcite-panel", { "full-height": true }, index.h("instant-apps-filter-list", { autoUpdateUrl: false, closeBtnOnClick: () => undefined, comboboxOverlayPositioning: "fixed", layerExpressions: currentLayersExpressions, onFilterListReset: () => this._handleFilterListReset(), onFilterUpdate: () => this._handleFilterUpdate(), ref: (el) => this._filterList = el, resetBtn: false, resetFiltersOnDisconnect: false, view: this.mapView, zoomBtn: false }))));
862
+ return (index.h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._translations?.filterLayerTitle?.replace("{{title}}", this._selectedLayerName), loading: this._showLoadingIndicator, onCalciteFlowItemBack: this.backFromFilterPanel.bind(this) }, this.isMobile && this.getActionToExpandCollapsePanel(), index.h("div", { class: "width-full", slot: "footer" }, index.h("div", { class: "width-full", slot: "footer" }, index.h("calcite-button", { appearance: "solid", class: "footer-top-button footer-button", disabled: !this._filterActive, onClick: () => { void this._filterList?.forceReset(); }, width: "full" }, this._translations.resetFilter), index.h("calcite-button", { appearance: "outline", class: "footer-button", onClick: this.backFromFilterPanel.bind(this), width: "full" }, this._translations.close))), index.h("calcite-panel", { "full-height": true }, index.h("instant-apps-filter-list", { autoUpdateUrl: false, closeBtnOnClick: () => undefined, comboboxOverlayPositioning: "fixed", layerExpressions: currentLayersExpressions, onFilterListReset: () => this._handleFilterListReset(), onFilterUpdate: () => this._handleFilterUpdate(this._filterList.filterCount > 0), ref: (el) => this._filterList = el, resetBtn: false, resetFiltersOnDisconnect: false, view: this.mapView, zoomBtn: false }))));
864
863
  }
865
864
  /**
866
865
  * Returns the calcite-flow item for feature details
@@ -29,7 +29,7 @@ class AppGuideViewModel {
29
29
  }
30
30
  }
31
31
 
32
- const instantAppsAppGuideCss = ":host{--instant-apps-app-guide-width:300px;--instant-apps-app-guide-height:400px;--instant-apps-app-guide-list-item-bubble-size:22px;width:var(--instant-apps-app-guide-width);height:var(--instant-apps-app-guide-height);display:block}:host calcite-panel{max-width:var(--instant-apps-app-guide-width);max-height:var(--instant-apps-app-guide-height);display:flex}:host calcite-carousel{flex:1;overflow:scroll;height:-moz-fit-content;height:fit-content;background-color:var(--calcite-color-foreground-1)}:host [slot=header-content]{display:flex;gap:var(--calcite-spacing-sm);padding-inline-start:0.25rem;font-weight:var(--calcite-font-weight-bold)}:host calcite-carousel-item{flex-grow:1;display:flex;flex-direction:column}:host .instant-apps-app-guide__content-wrapper{padding-block-start:0.5rem;padding-inline:0.5rem;flex-shrink:1;flex-grow:0}:host calcite-icon{--calcite-ui-icon-color:var(--calcite-color-brand)}:host .instant-apps-app-guide__content-list{counter-set:item-counter;margin-inline:0;padding-inline-start:var(--calcite-spacing-xxxl);padding-inline-end:var(--calcite-spacing-lg);position:relative}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item{counter-increment:item-counter;margin-block-start:var(--calcite-spacing-lg);display:flex;align-items:flex-start}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item::before{content:counter(item-counter);background-color:var(--calcite-color-text-2);color:var(--calcite-color-text-inverse);line-height:var(--calcite-font-line-height-fixed-xl);width:var(--instant-apps-app-guide-list-item-bubble-size);left:0;border-radius:var(--calcite-corner-radius-pill);display:flex;justify-content:center;font-size:var(--calcite-font-size-sm);position:absolute;max-height:var(--instant-apps-app-guide-list-item-bubble-size)}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item::marker{color:var(--calcite-color-transparent)}";
32
+ const instantAppsAppGuideCss = ":host{--instant-apps-app-guide-width:300px;--instant-apps-app-guide-height:400px;--instant-apps-app-guide-list-item-bubble-size:22px;width:var(--instant-apps-app-guide-width);height:var(--instant-apps-app-guide-height);display:block}:host calcite-panel{max-width:var(--instant-apps-app-guide-width);max-height:var(--instant-apps-app-guide-height);display:flex}:host calcite-carousel{flex:1;height:-moz-fit-content;height:fit-content;background-color:var(--calcite-color-foreground-1);overflow:auto}:host [slot=header-content]{display:flex;gap:var(--calcite-spacing-sm);padding-inline-start:0.25rem;font-weight:var(--calcite-font-weight-bold)}:host calcite-carousel-item{flex-grow:1;display:flex;flex-direction:column}:host .instant-apps-app-guide__content-wrapper{padding-block-start:0.5rem;padding-inline:0.5rem;flex-shrink:1;flex-grow:0}:host calcite-icon{--calcite-ui-icon-color:var(--calcite-color-brand)}:host .instant-apps-app-guide__content-list{counter-set:item-counter;margin-inline:0;padding-inline-start:var(--calcite-spacing-xxxl);padding-inline-end:var(--calcite-spacing-lg);position:relative}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item{counter-increment:item-counter;margin-block-start:var(--calcite-spacing-lg);display:flex;align-items:flex-start}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item::before{content:counter(item-counter);background-color:var(--calcite-color-text-2);color:var(--calcite-color-text-inverse);line-height:var(--calcite-font-line-height-fixed-xl);width:var(--instant-apps-app-guide-list-item-bubble-size);left:0;border-radius:var(--calcite-corner-radius-pill);display:flex;justify-content:center;font-size:var(--calcite-font-size-sm);position:absolute;max-height:var(--instant-apps-app-guide-list-item-bubble-size)}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item::marker{color:var(--calcite-color-transparent)}";
33
33
  const InstantAppsAppGuideStyle0 = instantAppsAppGuideCss;
34
34
 
35
35
  const CSS = {
@@ -939,6 +939,10 @@ const printStyling = `
939
939
  grid-row: 1 / span 2;
940
940
  grid-column: 2;
941
941
  }
942
+
943
+ .instant-apps-export-print__extra-container .esri-feature.esri-widget .esri-widget__heading.esri-feature__title {
944
+ display: block;
945
+ }
942
946
 
943
947
  .instant-apps-export-print__popup-container {
944
948
  height: min-content;
@@ -997,7 +1001,7 @@ const printStyling = `
997
1001
  }
998
1002
 
999
1003
  .instant-apps-export-print .esri-widget__heading {
1000
- margin: 2pt 7pt;
1004
+ margin: 4pt 7pt;
1001
1005
  padding: 0;
1002
1006
  color: #323232;
1003
1007
  }
@@ -23,7 +23,7 @@ var AlignmentPositions;
23
23
  AlignmentPositions["BottomRight"] = "bottom-right";
24
24
  })(AlignmentPositions || (AlignmentPositions = {}));
25
25
 
26
- const instantAppsLandingPageCss = ":host{--instant-apps-landing-page-background-color:var(--calcite-color-brand);--instant-apps-landing-page-text-color:var(--calcite-color-text-inverse);--instant-apps-landing-page-entry-button-color:var(--calcite-color-brand);--instant-apps-landing-page-title-text-font-size:var(--calcite-font-size-6);--instant-apps-landing-page-subtitle-text-font-size:var(--calcite-font-size-3);--instant-apps-landing-page-description-text-font-size:var(--calcite-font-size-0);--instant-apps-landing-page-icon-image-scale--s:100px;--instant-apps-landing-page-icon-image-scale--m:250px;--instant-apps-landing-page-icon-image-scale--l:500px;--instant-apps-landing-page-entry-button-margin:0}:host .instant-apps-landing-page{box-sizing:border-box;position:absolute;top:0;left:0;z-index:9000;display:flex;flex-direction:column;width:100%;height:100%;padding:2.5%;transition:top 0.5s ease-in-out;background-color:var(--instant-apps-landing-page-background-color);color:var(--instant-apps-landing-page-text-color)}:host .instant-apps-landing-page__title-text{color:var(--instant-apps-landing-page-text-color);font-size:var(--instant-apps-landing-page-title-text-font-size);margin:0}:host .instant-apps-landing-page__subtitle-text{font-weight:var(--calcite-font-weight-medium);font-size:var(--instant-apps-landing-page-subtitle-text-font-size);text-align:center}:host .instant-apps-landing-page__description-text{font-size:var(--instant-apps-landing-page-description-text-font-size);width:50%;min-width:250px}:host .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__subtitle-text{text-shadow:0px 4px 3px rgba(0, 0, 0, 0.4), 0px 8px 13px rgba(0, 0, 0, 0.1), 0px 18px 23px rgba(0, 0, 0, 0.1)}:host .instant-apps-landing-page__icon-image{margin-bottom:5px;max-width:50%}:host .instant-apps-landing-page__icon-image-scale--s{width:100px}:host .instant-apps-landing-page__icon-image-scale--m{width:250px}:host .instant-apps-landing-page__icon-image-scale--l{width:500px}:host .instant-apps-landing-page__button-container{display:flex}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{margin:var(--instant-apps-landing-page-entry-button-margin)}:host .instant-apps-landing-page__entry-button{--calcite-color-brand:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press:var(--instant-apps-landing-page-entry-button-color)}:host .instant-apps-landing-page__remove-transition{transition:none}:host .instant-apps-landing-page__remove-padding{padding:0}:host .instant-apps-landing-page--closed-no-transition{display:none}:host .instant-apps-landing-page--closed{top:-100%}:host .instant-apps-landing-page__alignment--top-center{justify-content:flex-start;align-items:center}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;justify-content:center}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--center{justify-content:center;align-items:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--bottom-center{justify-content:flex-end;align-items:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--top-left{justify-content:flex-start;align-items:flex-start}:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--center-left{justify-content:center;align-items:flex-start}:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--bottom-left{justify-content:flex-end;align-items:flex-start}:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--top-right{justify-content:flex-start;align-items:flex-end}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--center-right{justify-content:center;align-items:flex-end}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--bottom-right{justify-content:flex-end;align-items:flex-end}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__description-text{text-align:right}:host instant-apps-sign-in{width:50%}@media screen and (max-width: 500px){:host instant-apps-sign-in{width:100%}}@media only screen and (max-width: 768px){:host .instant-apps-landing-page__icon-image{max-width:70%;margin-bottom:20px}:host .instant-apps-landing-page__description-text{width:80%}:host .instant-apps-landing-page__title-text{font-size:var(--calcite-font-size-3)}:host .instant-apps-landing-page__subtitle-text{font-size:var(--calcite-font-size-0)}:host .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;margin-top:auto}:host .instant-apps-landing-page__button-container{display:flex;flex-direction:column;width:100%;margin-top:auto}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{width:100%;margin-right:unset;margin-bottom:10px}:host .instant-apps-landing-page instant-apps-sign-in{margin-bottom:auto}}@media only screen and (max-width: 896px) and (orientation: landscape){:host .instant-apps-landing-page__icon-image{max-width:25%}}";
26
+ const instantAppsLandingPageCss = ":host{--instant-apps-landing-page-background-color:var(--calcite-color-brand);--instant-apps-landing-page-text-color:var(--calcite-color-text-inverse);--instant-apps-landing-page-entry-button-color:var(--calcite-color-brand);--instant-apps-landing-page-title-text-font-size:var(--calcite-font-size-6);--instant-apps-landing-page-subtitle-text-font-size:var(--calcite-font-size-3);--instant-apps-landing-page-description-text-font-size:var(--calcite-font-size-0);--instant-apps-landing-page-icon-image-scale--s:100px;--instant-apps-landing-page-icon-image-scale--m:250px;--instant-apps-landing-page-icon-image-scale--l:500px;--instant-apps-landing-page-entry-button-margin:0}:host .instant-apps-landing-page{box-sizing:border-box;position:absolute;top:0;left:0;z-index:9000;display:flex;flex-direction:column;width:100%;height:100%;padding:2.5%;transition:top 0.5s ease-in-out;background-color:var(--instant-apps-landing-page-background-color);color:var(--instant-apps-landing-page-text-color)}:host .instant-apps-landing-page__title-text{color:var(--instant-apps-landing-page-text-color);font-size:var(--instant-apps-landing-page-title-text-font-size);margin:0}:host .instant-apps-landing-page__subtitle-text{font-weight:var(--calcite-font-weight-medium);font-size:var(--instant-apps-landing-page-subtitle-text-font-size)}:host .instant-apps-landing-page__description-text{font-size:var(--instant-apps-landing-page-description-text-font-size);width:50%;min-width:250px}:host .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__subtitle-text{text-shadow:0px 4px 3px rgba(0, 0, 0, 0.4), 0px 8px 13px rgba(0, 0, 0, 0.1), 0px 18px 23px rgba(0, 0, 0, 0.1)}:host .instant-apps-landing-page__icon-image{margin-bottom:5px;max-width:50%}:host .instant-apps-landing-page__icon-image-scale--s{width:100px}:host .instant-apps-landing-page__icon-image-scale--m{width:250px}:host .instant-apps-landing-page__icon-image-scale--l{width:500px}:host .instant-apps-landing-page__button-container{display:flex}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{margin:var(--instant-apps-landing-page-entry-button-margin)}:host .instant-apps-landing-page__entry-button{--calcite-color-brand:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press:var(--instant-apps-landing-page-entry-button-color)}:host .instant-apps-landing-page__remove-transition{transition:none}:host .instant-apps-landing-page__remove-padding{padding:0}:host .instant-apps-landing-page--closed-no-transition{display:none}:host .instant-apps-landing-page--closed{top:-100%}:host .instant-apps-landing-page__alignment--top-center{justify-content:flex-start;align-items:center}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;justify-content:center}:host .instant-apps-landing-page__alignment--center{justify-content:center;align-items:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center}:host .instant-apps-landing-page__alignment--bottom-center{justify-content:flex-end;align-items:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center}:host .instant-apps-landing-page__alignment--top-left{justify-content:flex-start;align-items:flex-start}:host .instant-apps-landing-page__alignment--center-left{justify-content:center;align-items:flex-start}:host .instant-apps-landing-page__alignment--bottom-left{justify-content:flex-end;align-items:flex-start}:host .instant-apps-landing-page__alignment--top-right{justify-content:flex-start;align-items:flex-end}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end}:host .instant-apps-landing-page__alignment--center-right{justify-content:center;align-items:flex-end}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end}:host .instant-apps-landing-page__alignment--bottom-right{justify-content:flex-end;align-items:flex-end}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end}:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host instant-apps-sign-in{width:50%}@media screen and (max-width: 500px){:host instant-apps-sign-in{width:100%}}@media only screen and (max-width: 768px){:host .instant-apps-landing-page__icon-image{max-width:70%;margin-bottom:20px}:host .instant-apps-landing-page__description-text{width:80%}:host .instant-apps-landing-page__title-text{font-size:var(--calcite-font-size-3)}:host .instant-apps-landing-page__subtitle-text{font-size:var(--calcite-font-size-0)}:host .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;margin-top:auto}:host .instant-apps-landing-page__button-container{display:flex;flex-direction:column;width:100%;margin-top:auto}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{width:100%;margin-right:unset;margin-bottom:10px}:host .instant-apps-landing-page instant-apps-sign-in{margin-bottom:auto}}@media only screen and (max-width: 896px) and (orientation: landscape){:host .instant-apps-landing-page__icon-image{max-width:25%}}";
27
27
  const InstantAppsLandingPageStyle0 = instantAppsLandingPageCss;
28
28
 
29
29
  const CSS = {
@@ -14,7 +14,7 @@ require('./esri-loader-08dc41bd.js');
14
14
  require('./_commonjsHelpers-baf43783.js');
15
15
  require('./languageUtil-a3e1eafd.js');
16
16
 
17
- const instantAppsSignInCss = ":host{--instant-apps-sign-in-indicator-color:#007ac2;display:block;box-shadow:none !important}:host .instant-apps-sign-in__container{height:inherit;display:flex;align-items:center}:host .instant-apps-sign-in__container calcite-dropdown,:host .instant-apps-sign-in__container calcite-navigation-user{height:100%}:host .instant-apps-sign-in__container calcite-navigation-user{--calcite-color-foreground-2:rgba(0, 0, 0, 0.04);--calcite-color-foreground-3:rgba(0, 0, 0, 0.04)}:host .instant-apps-sign-in__container .instant-apps-sign-in__indicator::after{content:\"\";position:absolute;block-size:0.5rem;inline-size:0.5rem;border-radius:9999px;inset-block-end:-0.275rem;inset-inline-end:-0.275rem;background-color:var(--instant-apps-sign-in-indicator-color);bottom:calc(50% - 15px);right:calc(50% - 15px)}:host .instant-apps-sign-in__container .instant-apps-sign-in__sign-in-btn{margin:10px}:host .instant-apps-sign-in__container calcite-dropdown[scale=m] calcite-dropdown-group{min-width:140px}:host .instant-apps-sign-in__container calcite-dropdown[scale=s] calcite-dropdown-group{min-width:100px}:host .instant-apps-sign-in__container button{height:32px;width:32px;padding:0;box-sizing:border-box;display:flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;appearance:none;-moz-appearance:none;-webkit-appearance:none;text-decoration-line:none;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, box-shadow var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;border:none;border-radius:50%;background:#000}:host .instant-apps-sign-in__container button:hover calcite-avatar{opacity:0.7;transition:0.3s}:host .instant-apps-sign-in__landing-page{display:flex;flex-direction:column;justify-content:center;padding:40px;width:50%;min-height:30%;background:rgba(255, 255, 255, 0.8);color:#151515;text-align:center}:host .instant-apps-sign-in__landing-page h1{font-size:22px;margin:10px 0}:host .instant-apps-sign-in__landing-page h2{font-size:16px;margin:0 0 10px}:host .instant-apps-sign-in__landing-page p{font-size:16px;margin:0}:host .instant-apps-sign-in__entry-button-container{display:flex;justify-content:center;gap:8px}:host .instant-apps-sign-in__entry-button{--calcite-color-brand:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press:var(--instant-apps-landing-page-entry-button-color);min-width:165px}@media screen and (max-width: 767px){:host{flex-direction:column;align-items:center}:host calcite-button{width:100%}:host .instant-apps-sign-in__entry-button-container{display:flex;flex-direction:column}}";
17
+ const instantAppsSignInCss = ":host{--instant-apps-sign-in-indicator-color:#007ac2;display:block;box-shadow:none !important}:host .instant-apps-sign-in__container{height:inherit;display:flex;align-items:center}:host .instant-apps-sign-in__container calcite-dropdown,:host .instant-apps-sign-in__container calcite-navigation-user{height:100%}:host .instant-apps-sign-in__container calcite-navigation-user{--calcite-color-foreground-2:rgba(0, 0, 0, 0.04);--calcite-color-foreground-3:rgba(0, 0, 0, 0.04)}:host .instant-apps-sign-in__container .instant-apps-sign-in__indicator::after{content:\"\";position:absolute;block-size:0.5rem;inline-size:0.5rem;border-radius:9999px;inset-block-end:-0.275rem;inset-inline-end:-0.275rem;background-color:var(--instant-apps-sign-in-indicator-color);bottom:calc(50% - 15px);right:calc(50% - 15px)}:host .instant-apps-sign-in__container .instant-apps-sign-in__sign-in-btn{margin:10px}:host .instant-apps-sign-in__container calcite-dropdown[scale=m] calcite-dropdown-group{min-width:140px}:host .instant-apps-sign-in__container calcite-dropdown[scale=s] calcite-dropdown-group{min-width:100px}:host .instant-apps-sign-in__container button{height:32px;width:32px;padding:0;box-sizing:border-box;display:flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;appearance:none;-moz-appearance:none;-webkit-appearance:none;text-decoration-line:none;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, box-shadow var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;border:none;border-radius:50%;background:#000}:host .instant-apps-sign-in__container button:hover calcite-avatar{opacity:0.7;transition:0.3s}:host .instant-apps-sign-in__landing-page{display:flex;flex-direction:column;justify-content:center;padding:40px;width:50%;min-height:30%;background:rgba(255, 255, 255, 0.8);color:#151515;text-align:center}:host .instant-apps-sign-in__landing-page h1{font-size:22px;margin:10px 0}:host .instant-apps-sign-in__landing-page h2{font-size:16px;margin:0 0 10px}:host .instant-apps-sign-in__landing-page p{font-size:16px;margin:0}:host .instant-apps-sign-in__entry-button-container{display:flex;justify-content:center;gap:8px}:host .instant-apps-sign-in__entry-button{--calcite-color-brand:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press:var(--instant-apps-landing-page-entry-button-color);min-width:165px}:host .instant-apps-sign-in__entry-button[appearance=solid]{border:1px solid #fff}:host .instant-apps-sign-in__entry-button[appearance=solid]:hover,:host .instant-apps-sign-in__entry-button[appearance=solid]:focus{filter:brightness(0.9)}@media screen and (max-width: 767px){:host{flex-direction:column;align-items:center}:host calcite-button{width:100%}:host .instant-apps-sign-in__entry-button-container{display:flex;flex-direction:column}}";
18
18
  const InstantAppsSignInStyle0 = instantAppsSignInCss;
19
19
 
20
20
  const CSS = {
@@ -78,7 +78,7 @@ const InstantAppsSignIn = class {
78
78
  }
79
79
  renderLandingPageSignIn() {
80
80
  var _a, _b;
81
- return (index.h("div", { class: CSS.buttonContainer }, index.h("calcite-button", { class: CSS.entryButton, scale: "l", appearance: "outline-fill", onClick: this.landingPageSignIn.bind(this) }, (_a = this.messages) === null || _a === void 0 ? void 0 : _a.signIn), index.h("calcite-button", { class: CSS.entryButton, scale: "l", appearance: "outline-fill", onClick: this.guestOnClick.bind(this) }, (_b = this.messages) === null || _b === void 0 ? void 0 : _b.continueAsGuest)));
81
+ return (index.h("div", { class: CSS.buttonContainer }, index.h("calcite-button", { class: CSS.entryButton, scale: "l", onClick: this.landingPageSignIn.bind(this) }, (_a = this.messages) === null || _a === void 0 ? void 0 : _a.signIn), index.h("calcite-button", { class: CSS.entryButton, scale: "l", appearance: "outline-fill", onClick: this.guestOnClick.bind(this) }, (_b = this.messages) === null || _b === void 0 ? void 0 : _b.continueAsGuest)));
82
82
  }
83
83
  async initSignIn() {
84
84
  if (this.portal == null || this.oauthappid == null)
@@ -37,31 +37,31 @@ let e$a;function has(a){return "function"==typeof e$a[a]?e$a[a]=e$a[a](globalThi
37
37
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
38
38
  See https://js.arcgis.com/4.31/esri/copyright.txt for details.
39
39
  */
40
- function o$8(n){return "Int8Array"===n?.constructor?.name}function u$6(n){return "Uint8Array"===n?.constructor?.name}function e$9(n){return "Uint8ClampedArray"===n?.constructor?.name}function c$7(n){return "Int16Array"===n?.constructor?.name}function i$6(n){return "Uint16Array"===n?.constructor?.name}function a$5(n){return "Int32Array"===n?.constructor?.name}function f$5(n){return "Uint32Array"===n?.constructor?.name}function s$6(n){return "Float32Array"===n?.constructor?.name}function m$5(n){return "Float64Array"===n?.constructor?.name}
40
+ function o$8(n){return "Int8Array"===n?.constructor?.name}function u$6(n){return "Uint8Array"===n?.constructor?.name}function e$9(n){return "Uint8ClampedArray"===n?.constructor?.name}function c$6(n){return "Int16Array"===n?.constructor?.name}function i$6(n){return "Uint16Array"===n?.constructor?.name}function a$6(n){return "Int32Array"===n?.constructor?.name}function f$5(n){return "Uint32Array"===n?.constructor?.name}function s$6(n){return "Float32Array"===n?.constructor?.name}function m$5(n){return "Float64Array"===n?.constructor?.name}
41
41
 
42
42
  /*
43
43
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
44
44
  See https://js.arcgis.com/4.31/esri/copyright.txt for details.
45
45
  */
46
- function a$4(t){if(!t||"object"!=typeof t||"function"==typeof t)return t;const n=O$2(t);if(null!=n)return n;if(y$4(t))return t.clone();if(m$4(t))return t.map(a$4);if(b$2(t))return t.clone();const e={};for(const r of Object.getOwnPropertyNames(t))e[r]=a$4(t[r]);return e}function y$4(t){return "function"==typeof t.clone}function m$4(t){return "function"==typeof t.map&&"function"==typeof t.forEach}function b$2(t){return "function"==typeof t.notifyChange&&"function"==typeof t.watch}function O$2(t){if(o$8(t)||u$6(t)||e$9(t)||c$7(t)||i$6(t)||a$5(t)||f$5(t)||s$6(t)||m$5(t))return t.slice();if(t instanceof Date)return new Date(t.getTime());if(t instanceof ArrayBuffer){return t.slice(0,t.byteLength)}if(t instanceof Map){const n=new Map;for(const[e,r]of t)n.set(e,a$4(r));return n}if(t instanceof Set){const n=new Set;for(const e of t)n.add(a$4(e));return n}return null}
46
+ function a$5(t){if(!t||"object"!=typeof t||"function"==typeof t)return t;const n=O$2(t);if(null!=n)return n;if(y$4(t))return t.clone();if(m$4(t))return t.map(a$5);if(b$2(t))return t.clone();const e={};for(const r of Object.getOwnPropertyNames(t))e[r]=a$5(t[r]);return e}function y$4(t){return "function"==typeof t.clone}function m$4(t){return "function"==typeof t.map&&"function"==typeof t.forEach}function b$2(t){return "function"==typeof t.notifyChange&&"function"==typeof t.watch}function O$2(t){if(o$8(t)||u$6(t)||e$9(t)||c$6(t)||i$6(t)||a$6(t)||f$5(t)||s$6(t)||m$5(t))return t.slice();if(t instanceof Date)return new Date(t.getTime());if(t instanceof ArrayBuffer){return t.slice(0,t.byteLength)}if(t instanceof Map){const n=new Map;for(const[e,r]of t)n.set(e,a$5(r));return n}if(t instanceof Set){const n=new Set;for(const e of t)n.add(a$5(e));return n}return null}
47
47
 
48
48
  /*
49
49
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
50
50
  See https://js.arcgis.com/4.31/esri/copyright.txt for details.
51
51
  */
52
- function n$7(r,n,t=!1){return f$4(r,n,t)}function t$4(r,n){if(null!=n)return n[r]||u$5(r.split("."),!1,n)}function u$5(r,n,t){let e=t;for(const i of r){if(null==e)return;if(!(i in e)){if(!n)return;e[i]={};}e=e[i];}return e}function f$4(n,t,e){return t?Object.keys(t).reduce(((n,i)=>{let u=n[i],l=t[i];return u===l?n:void 0===u?(n[i]=a$4(l),n):(Array.isArray(l)||Array.isArray(n)?(u=u?Array.isArray(u)?n[i]=u.slice():n[i]=[u]:n[i]=[],l&&(Array.isArray(l)||(l=[l]),e?l.forEach((r=>{u.includes(r)||u.push(r);})):n[i]=l.slice())):l&&"object"==typeof l?n[i]=f$4(u,l,e):n.hasOwnProperty(i)&&!t.hasOwnProperty(i)||(n[i]=l),n)}),n||{}):n}
52
+ function n$7(r,n,t=!1){return f$4(r,n,t)}function t$4(r,n){if(null!=n)return n[r]||u$5(r.split("."),!1,n)}function u$5(r,n,t){let e=t;for(const i of r){if(null==e)return;if(!(i in e)){if(!n)return;e[i]={};}e=e[i];}return e}function f$4(n,t,e){return t?Object.keys(t).reduce(((n,i)=>{let u=n[i],l=t[i];return u===l?n:void 0===u?(n[i]=a$5(l),n):(Array.isArray(l)||Array.isArray(n)?(u=u?Array.isArray(u)?n[i]=u.slice():n[i]=[u]:n[i]=[],l&&(Array.isArray(l)||(l=[l]),e?l.forEach((r=>{u.includes(r)||u.push(r);})):n[i]=l.slice())):l&&"object"==typeof l?n[i]=f$4(u,l,e):n.hasOwnProperty(i)&&!t.hasOwnProperty(i)||(n[i]=l),n)}),n||{}):n}
53
53
 
54
54
  /*
55
55
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
56
56
  See https://js.arcgis.com/4.31/esri/copyright.txt for details.
57
57
  */
58
- const c$6="20241016";
58
+ const a$4="20241101";
59
59
 
60
60
  /*
61
61
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
62
62
  See https://js.arcgis.com/4.31/esri/copyright.txt for details.
63
63
  */
64
- const s$5={apiKey:void 0,applicationName:"",applicationUrl:globalThis.location?.href,assetsPath:"",fontsUrl:"https://static.arcgis.com/fonts",geometryServiceUrl:"https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer",geoRSSServiceUrl:"https://utility.arcgis.com/sharing/rss",kmlServiceUrl:"https://utility.arcgis.com/sharing/kml",userPrivilegesApplied:!0,portalUrl:"https://www.arcgis.com",respectPrefersReducedMotion:!0,routeServiceUrl:"https://route-api.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World",workers:{loaderConfig:{has:{},paths:{},map:{},packages:[]}},request:{crossOriginNoCorsDomains:null,httpsDomains:["arcgis.com","arcgisonline.com","esrikr.com","premiumservices.blackbridge.com","esripremium.accuweather.com","gbm.digitalglobe.com","firstlook.digitalglobe.com","msi.digitalglobe.com"],interceptors:[],internalInterceptors:[],maxUrlLength:2e3,priority:"high",proxyRules:[],proxyUrl:null,timeout:6e4,trustedServers:[],useIdentity:!0},log:{interceptors:[],level:null}};if(globalThis.esriConfig&&(n$7(s$5,globalThis.esriConfig,!0),delete s$5.has),!s$5.assetsPath){{const e="4.31.0";s$5.assetsPath=`https://cdn.jsdelivr.net/npm/@arcgis/core@${e}-next.${c$6}/assets`;}s$5.defaultAssetsPath=s$5.assetsPath;}
64
+ const s$5={apiKey:void 0,applicationName:"",applicationUrl:globalThis.location?.href,assetsPath:"",fontsUrl:"https://static.arcgis.com/fonts",geometryServiceUrl:"https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer",geoRSSServiceUrl:"https://utility.arcgis.com/sharing/rss",kmlServiceUrl:"https://utility.arcgis.com/sharing/kml",userPrivilegesApplied:!0,portalUrl:"https://www.arcgis.com",respectPrefersReducedMotion:!0,routeServiceUrl:"https://route-api.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World",workers:{loaderConfig:{has:{},paths:{},map:{},packages:[]}},request:{crossOriginNoCorsDomains:null,httpsDomains:["arcgis.com","arcgisonline.com","esrikr.com","premiumservices.blackbridge.com","esripremium.accuweather.com","gbm.digitalglobe.com","firstlook.digitalglobe.com","msi.digitalglobe.com"],interceptors:[],internalInterceptors:[],maxUrlLength:2e3,priority:"high",proxyRules:[],proxyUrl:null,timeout:62e3,trustedServers:[],useIdentity:!0},log:{interceptors:[],level:null}};if(globalThis.esriConfig&&(n$7(s$5,globalThis.esriConfig,!0),delete s$5.has),!s$5.assetsPath){{const e="4.31.0";s$5.assetsPath=`https://cdn.jsdelivr.net/npm/@arcgis/core@${e}-next.${a$4}/assets`;}s$5.defaultAssetsPath=s$5.assetsPath;}
65
65
 
66
66
  /*
67
67
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
@@ -85,7 +85,7 @@ function s$4(s,e){return s.replaceAll(/\$\{([^\s:}]*)(?::([^\s:}]+))?\}/g,((s,r)
85
85
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
86
86
  See https://js.arcgis.com/4.31/esri/copyright.txt for details.
87
87
  */
88
- class s$3 extends e$8{constructor(e,t,r){super(e,t,r);}toJSON(){if(null!=this.details)try{return {name:this.name,message:this.message,details:JSON.parse(JSON.stringify(this.details,((t,r)=>{if(r&&"object"==typeof r&&"function"==typeof r.toJSON)return r;try{return a$4(r)}catch(s){return "[object]"}})))}}catch(r){throw n$6.getLogger("esri.core.Error").error(r),r}return {name:this.name,message:this.message,details:this.details}}static fromJSON(e){return new s$3(e.name,e.message,e.details)}}s$3.prototype.type="error";
88
+ class s$3 extends e$8{constructor(e,t,r){super(e,t,r);}toJSON(){if(null!=this.details)try{return {name:this.name,message:this.message,details:JSON.parse(JSON.stringify(this.details,((t,r)=>{if(r&&"object"==typeof r&&"function"==typeof r.toJSON)return r;try{return a$5(r)}catch(s){return "[object]"}})))}}catch(r){throw n$6.getLogger("esri.core.Error").error(r),r}return {name:this.name,message:this.message,details:this.details}}static fromJSON(e){return new s$3(e.name,e.message,e.details)}}s$3.prototype.type="error";
89
89
 
90
90
  /*
91
91
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.