@esri/solutions-components 0.11.19 → 0.11.20

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 (191) hide show
  1. package/dist/cjs/{asyncToGenerator-f169429a.js → asyncToGenerator-c7fc3ee4.js} +1 -1
  2. package/dist/cjs/basemap-gallery_7.cjs.entry.js +2 -2
  3. package/dist/cjs/buffer-tools_2.cjs.entry.js +4 -3
  4. package/dist/cjs/card-manager_3.cjs.entry.js +4 -4
  5. package/dist/cjs/consent-manager.cjs.entry.js +4 -4
  6. package/dist/cjs/create-feature_4.cjs.entry.js +45 -44
  7. package/dist/cjs/create-related-feature_3.cjs.entry.js +2 -2
  8. package/dist/cjs/crowdsource-manager.cjs.entry.js +4 -5
  9. package/dist/cjs/crowdsource-reporter.cjs.entry.js +5 -4
  10. package/dist/cjs/delete-dialog.cjs.entry.js +2 -2
  11. package/dist/cjs/{downloadUtils-b269c7a1.js → downloadUtils-fcae8eb1.js} +3 -3
  12. package/dist/cjs/{effects-2f75069e.js → effects-3607d1ba.js} +1 -1
  13. package/dist/cjs/feature-list.cjs.entry.js +5 -5
  14. package/dist/cjs/{helpers-69e520bd.js → helpers-8d452256.js} +2 -2
  15. package/dist/cjs/{index.es-644259ff.js → index.es-3c2404c3.js} +2 -2
  16. package/dist/cjs/instant-apps-app-guide.cjs.entry.js +4 -4
  17. package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +5 -5
  18. package/dist/cjs/instant-apps-control-panel.cjs.entry.js +2 -2
  19. package/dist/cjs/instant-apps-create.cjs.entry.js +4 -4
  20. package/dist/cjs/instant-apps-export-views.cjs.entry.js +4 -4
  21. package/dist/cjs/instant-apps-export.cjs.entry.js +4 -4
  22. package/dist/cjs/instant-apps-filter-list_2.cjs.entry.js +4 -4
  23. package/dist/cjs/instant-apps-header.cjs.entry.js +2 -2
  24. package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +4 -4
  25. package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +4 -4
  26. package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +4 -4
  27. package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +4 -4
  28. package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +6 -6
  29. package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +4 -4
  30. package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +6 -6
  31. package/dist/cjs/instant-apps-language-translator.cjs.entry.js +6 -6
  32. package/dist/cjs/instant-apps-measurement-tool.cjs.entry.js +2 -2
  33. package/dist/cjs/instant-apps-measurement.cjs.entry.js +4 -4
  34. package/dist/cjs/instant-apps-popover.cjs.entry.js +4 -4
  35. package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +4 -4
  36. package/dist/cjs/instant-apps-sign-in.cjs.entry.js +4 -4
  37. package/dist/cjs/instant-apps-splash.cjs.entry.js +4 -4
  38. package/dist/cjs/instant-apps-time-filter.cjs.entry.js +5 -5
  39. package/dist/cjs/json-editor_7.cjs.entry.js +2 -2
  40. package/dist/cjs/{languageSwitcher-c8e62594.js → languageSwitcher-19a22439.js} +1 -1
  41. package/dist/cjs/{languageUtil-bd49af69.js → languageUtil-a3e1eafd.js} +1 -1
  42. package/dist/cjs/{loadModules-3b29fa24.js → loadModules-e9d8977c.js} +1 -1
  43. package/dist/cjs/loader.cjs.js +1 -1
  44. package/dist/cjs/{locale-905e6063.js → locale-1c60be9c.js} +1 -1
  45. package/dist/cjs/{locale-c923d7b6.js → locale-da41a06f.js} +2 -2
  46. package/dist/cjs/map-layer-picker.cjs.entry.js +2 -2
  47. package/dist/cjs/map-select-tools_3.cjs.entry.js +4 -4
  48. package/dist/cjs/{popupUtils-5378e04a.js → popupUtils-87b006a6.js} +2 -2
  49. package/dist/cjs/public-notification.cjs.entry.js +4 -4
  50. package/dist/cjs/solution-configuration.cjs.entry.js +2 -2
  51. package/dist/cjs/solution-contents_3.cjs.entry.js +2 -2
  52. package/dist/cjs/solution-item-accordion.cjs.entry.js +2 -2
  53. package/dist/cjs/solutions-components.cjs.js +1 -1
  54. package/dist/cjs/spatial-ref.cjs.entry.js +2 -2
  55. package/dist/cjs/{utils-3739960f.js → utils-3e512114.js} +1 -1
  56. package/dist/collection/assets/t9n/create-feature/resources.json +1 -1
  57. package/dist/collection/assets/t9n/create-feature/resources_en.json +1 -1
  58. package/dist/collection/components/create-feature/create-feature.js +130 -110
  59. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +2 -3
  60. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +22 -2
  61. package/dist/collection/components/map-draw-tools/map-draw-tools.js +2 -1
  62. package/dist/components/create-feature2.js +48 -46
  63. package/dist/components/crowdsource-manager.js +2 -3
  64. package/dist/components/crowdsource-reporter.js +4 -2
  65. package/dist/components/map-draw-tools2.js +2 -1
  66. package/dist/esm/{asyncToGenerator-e51717ed.js → asyncToGenerator-96b2368d.js} +1 -1
  67. package/dist/esm/basemap-gallery_7.entry.js +2 -2
  68. package/dist/esm/buffer-tools_2.entry.js +4 -3
  69. package/dist/esm/card-manager_3.entry.js +4 -4
  70. package/dist/esm/consent-manager.entry.js +4 -4
  71. package/dist/esm/create-feature_4.entry.js +45 -44
  72. package/dist/esm/create-related-feature_3.entry.js +2 -2
  73. package/dist/esm/crowdsource-manager.entry.js +4 -5
  74. package/dist/esm/crowdsource-reporter.entry.js +5 -4
  75. package/dist/esm/delete-dialog.entry.js +2 -2
  76. package/dist/esm/{downloadUtils-d04d4095.js → downloadUtils-078cd709.js} +3 -3
  77. package/dist/esm/{effects-602e7b51.js → effects-38bc1195.js} +1 -1
  78. package/dist/esm/feature-list.entry.js +5 -5
  79. package/dist/esm/{helpers-520f100c.js → helpers-15d5cd56.js} +2 -2
  80. package/dist/esm/{index.es-ca80d0c5.js → index.es-87662946.js} +2 -2
  81. package/dist/esm/instant-apps-app-guide.entry.js +4 -4
  82. package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +5 -5
  83. package/dist/esm/instant-apps-control-panel.entry.js +2 -2
  84. package/dist/esm/instant-apps-create.entry.js +4 -4
  85. package/dist/esm/instant-apps-export-views.entry.js +4 -4
  86. package/dist/esm/instant-apps-export.entry.js +4 -4
  87. package/dist/esm/instant-apps-filter-list_2.entry.js +4 -4
  88. package/dist/esm/instant-apps-header.entry.js +2 -2
  89. package/dist/esm/instant-apps-interactive-legend-classic.entry.js +4 -4
  90. package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +4 -4
  91. package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +4 -4
  92. package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +4 -4
  93. package/dist/esm/instant-apps-interactive-legend.entry.js +6 -6
  94. package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +4 -4
  95. package/dist/esm/instant-apps-language-switcher.entry.js +6 -6
  96. package/dist/esm/instant-apps-language-translator.entry.js +6 -6
  97. package/dist/esm/instant-apps-measurement-tool.entry.js +2 -2
  98. package/dist/esm/instant-apps-measurement.entry.js +4 -4
  99. package/dist/esm/instant-apps-popover.entry.js +4 -4
  100. package/dist/esm/instant-apps-scoreboard.entry.js +4 -4
  101. package/dist/esm/instant-apps-sign-in.entry.js +4 -4
  102. package/dist/esm/instant-apps-splash.entry.js +4 -4
  103. package/dist/esm/instant-apps-time-filter.entry.js +5 -5
  104. package/dist/esm/json-editor_7.entry.js +2 -2
  105. package/dist/esm/{languageSwitcher-ccdf79d4.js → languageSwitcher-49bad3f4.js} +1 -1
  106. package/dist/esm/{languageUtil-2bac3910.js → languageUtil-2b6e191a.js} +1 -1
  107. package/dist/esm/{loadModules-1b0b108c.js → loadModules-947ccfd4.js} +1 -1
  108. package/dist/esm/loader.js +1 -1
  109. package/dist/esm/{locale-15e42305.js → locale-7874c756.js} +1 -1
  110. package/dist/esm/{locale-29d08ded.js → locale-e02b0e14.js} +2 -2
  111. package/dist/esm/map-layer-picker.entry.js +2 -2
  112. package/dist/esm/map-select-tools_3.entry.js +4 -4
  113. package/dist/esm/{popupUtils-b71abb01.js → popupUtils-6a965512.js} +2 -2
  114. package/dist/esm/public-notification.entry.js +4 -4
  115. package/dist/esm/solution-configuration.entry.js +2 -2
  116. package/dist/esm/solution-contents_3.entry.js +2 -2
  117. package/dist/esm/solution-item-accordion.entry.js +2 -2
  118. package/dist/esm/solutions-components.js +1 -1
  119. package/dist/esm/spatial-ref.entry.js +2 -2
  120. package/dist/esm/{utils-89be1743.js → utils-6fe5b5fa.js} +1 -1
  121. package/dist/solutions-components/assets/t9n/create-feature/resources.json +1 -1
  122. package/dist/solutions-components/assets/t9n/create-feature/resources_en.json +1 -1
  123. package/dist/solutions-components/{p-d885880a.entry.js → p-00ec642f.entry.js} +1 -1
  124. package/dist/solutions-components/p-02c4e6fc.entry.js +6 -0
  125. package/dist/solutions-components/{p-0132213f.entry.js → p-0326f1f4.entry.js} +1 -1
  126. package/dist/solutions-components/{p-438fdc33.js → p-08ad0b7a.js} +1 -1
  127. package/dist/solutions-components/{p-0607044f.js → p-174fa218.js} +1 -1
  128. package/dist/solutions-components/{p-7bf7d67b.js → p-1e1dfef6.js} +1 -1
  129. package/dist/solutions-components/{p-2d8300ba.entry.js → p-244316dd.entry.js} +1 -1
  130. package/dist/solutions-components/p-2460cf10.entry.js +6 -0
  131. package/dist/solutions-components/{p-8f973b3d.js → p-2884ca49.js} +1 -1
  132. package/dist/solutions-components/{p-3f8b1062.entry.js → p-3ce5c7fd.entry.js} +1 -1
  133. package/dist/solutions-components/{p-a397e773.js → p-404cbf48.js} +1 -1
  134. package/dist/solutions-components/{p-f292f56e.entry.js → p-41a3b49a.entry.js} +1 -1
  135. package/dist/solutions-components/{p-f457e8be.entry.js → p-443168f0.entry.js} +1 -1
  136. package/dist/solutions-components/{p-86b6f918.entry.js → p-4ced7b11.entry.js} +1 -1
  137. package/dist/solutions-components/{p-2a1ed83a.entry.js → p-4d5dd39e.entry.js} +1 -1
  138. package/dist/solutions-components/{p-e79b69e6.entry.js → p-4e7514a3.entry.js} +1 -1
  139. package/dist/solutions-components/{p-34338938.entry.js → p-4f7fb338.entry.js} +1 -1
  140. package/dist/solutions-components/{p-edfcce2c.entry.js → p-5786b9da.entry.js} +1 -1
  141. package/dist/solutions-components/{p-b8f29a99.entry.js → p-5a202f3f.entry.js} +1 -1
  142. package/dist/solutions-components/{p-fdf0d66f.entry.js → p-65105504.entry.js} +1 -1
  143. package/dist/solutions-components/{p-532ed572.entry.js → p-698656b8.entry.js} +1 -1
  144. package/dist/solutions-components/{p-dbf2c455.entry.js → p-7251848d.entry.js} +1 -1
  145. package/dist/solutions-components/{p-b6a6fdcf.entry.js → p-72d04c7a.entry.js} +1 -1
  146. package/dist/solutions-components/{p-099379e6.entry.js → p-832707fd.entry.js} +1 -1
  147. package/dist/solutions-components/{p-8db12ee9.entry.js → p-837e0939.entry.js} +1 -1
  148. package/dist/solutions-components/{p-cd38fc53.js → p-84bb6925.js} +1 -1
  149. package/dist/solutions-components/{p-436b869c.entry.js → p-8859b622.entry.js} +1 -1
  150. package/dist/solutions-components/p-89fbc318.js +6 -0
  151. package/dist/solutions-components/{p-0b1c830a.entry.js → p-8a010f9e.entry.js} +1 -1
  152. package/dist/solutions-components/{p-6ac03d17.entry.js → p-8dd677dd.entry.js} +1 -1
  153. package/dist/solutions-components/{p-37cc79c6.entry.js → p-9927342d.entry.js} +1 -1
  154. package/dist/solutions-components/{p-c3aac15b.entry.js → p-a277d08c.entry.js} +1 -1
  155. package/dist/solutions-components/{p-2d3b8412.entry.js → p-a5eaf7fe.entry.js} +1 -1
  156. package/dist/solutions-components/{p-da1e4ff1.entry.js → p-aad84d69.entry.js} +1 -1
  157. package/dist/solutions-components/{p-3423b5ef.js → p-ac122d9e.js} +1 -1
  158. package/dist/solutions-components/{p-59a1c5a9.entry.js → p-b394f504.entry.js} +1 -1
  159. package/dist/solutions-components/{p-97abbf8f.entry.js → p-ba4e219a.entry.js} +1 -1
  160. package/dist/solutions-components/{p-258aa58e.js → p-bf04c6f4.js} +2 -2
  161. package/dist/solutions-components/{p-4454af38.entry.js → p-c6c697e5.entry.js} +1 -1
  162. package/dist/solutions-components/{p-dda0aa41.entry.js → p-d324196d.entry.js} +1 -1
  163. package/dist/solutions-components/{p-f93a9d92.js → p-d65f8b73.js} +1 -1
  164. package/dist/solutions-components/{p-36e3b39c.js → p-db3391b9.js} +2 -2
  165. package/dist/solutions-components/{p-039ab075.js → p-dc188d13.js} +1 -1
  166. package/dist/solutions-components/{p-04277d48.entry.js → p-de42e8b2.entry.js} +1 -1
  167. package/dist/solutions-components/p-ea566af0.entry.js +6 -0
  168. package/dist/solutions-components/{p-29baf8a2.entry.js → p-eb3c867f.entry.js} +1 -1
  169. package/dist/solutions-components/{p-d45b0400.entry.js → p-ed1ecb5b.entry.js} +1 -1
  170. package/dist/solutions-components/{p-1054e10a.entry.js → p-ee3bb943.entry.js} +1 -1
  171. package/dist/solutions-components/{p-0ea99464.entry.js → p-f165921f.entry.js} +1 -1
  172. package/dist/solutions-components/{p-f36b4778.entry.js → p-f75786a8.entry.js} +1 -1
  173. package/dist/solutions-components/{p-2a7f23fc.entry.js → p-f956c598.entry.js} +1 -1
  174. package/dist/solutions-components/{p-2cb8c175.entry.js → p-fa663804.entry.js} +1 -1
  175. package/dist/solutions-components/{p-6e879de9.entry.js → p-ff317687.entry.js} +1 -1
  176. package/dist/solutions-components/solutions-components.esm.js +1 -1
  177. package/dist/solutions-components_commit.txt +7 -7
  178. package/dist/types/components/create-feature/create-feature.d.ts +54 -50
  179. package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +4 -0
  180. package/dist/types/components.d.ts +16 -0
  181. package/package.json +1 -1
  182. package/dist/solutions-components/p-04546ef6.js +0 -6
  183. package/dist/solutions-components/p-1adc6874.entry.js +0 -6
  184. package/dist/solutions-components/p-ba472e45.entry.js +0 -6
  185. package/dist/solutions-components/p-f99a78f1.entry.js +0 -6
  186. /package/dist/cjs/{esri-loader-1e8cc247.js → esri-loader-08dc41bd.js} +0 -0
  187. /package/dist/cjs/{typeof-eba0a941.js → typeof-2a7e2dec.js} +0 -0
  188. /package/dist/esm/{esri-loader-d10d860d.js → esri-loader-c6842c6b.js} +0 -0
  189. /package/dist/esm/{typeof-a3e780e1.js → typeof-ef2a007d.js} +0 -0
  190. /package/dist/solutions-components/{p-3b3f77bc.js → p-0a24ad5f.js} +0 -0
  191. /package/dist/solutions-components/{p-19bce2cc.js → p-4fe489cf.js} +0 -0
@@ -21,5 +21,5 @@ var patchBrowser = () => {
21
21
 
22
22
  patchBrowser().then(async (options) => {
23
23
  await globalScripts();
24
- return bootstrapLazy(JSON.parse("[[\"crowdsource-manager\",[[0,\"crowdsource-manager\",{\"appLayout\":[1025,\"app-layout\"],\"appProxies\":[8,\"app-proxies\"],\"basemapConfig\":[16],\"coverPageEnabled\":[4,\"cover-page-enabled\"],\"customInfoText\":[1,\"custom-info-text\"],\"defaultAppLayout\":[1,\"default-app-layout\"],\"defaultCenter\":[1,\"default-center\"],\"defaultGlobalId\":[1,\"default-global-id\"],\"defaultLayer\":[1,\"default-layer\"],\"defaultLevel\":[1,\"default-level\"],\"defaultOid\":[1,\"default-oid\"],\"defaultWebmap\":[1,\"default-webmap\"],\"honorMapFieldSettings\":[4,\"honor-map-field-settings\"],\"introductionWindowEnabled\":[4,\"introduction-window-enabled\"],\"enableAutoRefresh\":[4,\"enable-auto-refresh\"],\"enableBasemap\":[4,\"enable-basemap\"],\"enableColumnReorder\":[4,\"enable-column-reorder\"],\"enableCSV\":[4,\"enable-c-s-v\"],\"enableFloorFilter\":[4,\"enable-floor-filter\"],\"enableFullscreen\":[4,\"enable-fullscreen\"],\"enableHome\":[4,\"enable-home\"],\"enableLegend\":[4,\"enable-legend\"],\"enableSearch\":[4,\"enable-search\"],\"enableShare\":[4,\"enable-share\"],\"enableZoom\":[4,\"enable-zoom\"],\"locale\":[1],\"mapInfos\":[16],\"onlyShowUpdatableLayers\":[4,\"only-show-updatable-layers\"],\"popupHeaderColor\":[1,\"popup-header-color\"],\"popupHeaderHoverColor\":[1,\"popup-header-hover-color\"],\"popupHeaderHoverTextColor\":[1,\"popup-header-hover-text-color\"],\"popupHeaderTextColor\":[1,\"popup-header-text-color\"],\"searchConfiguration\":[16],\"shareIncludeEmbed\":[4,\"share-include-embed\"],\"shareIncludeSocial\":[4,\"share-include-social\"],\"showNewestFirst\":[4,\"show-newest-first\"],\"theme\":[1],\"zoomAndScrollToSelected\":[4,\"zoom-and-scroll-to-selected\"],\"zoomToScale\":[2,\"zoom-to-scale\"],\"_deleteDialogOpen\":[32],\"_enableCreateFeatures\":[32],\"_hideFooter\":[32],\"_hideTable\":[32],\"_isMobile\":[32],\"_isPortraitMobile\":[32],\"_translations\":[32],\"_layer\":[32],\"_layoutMode\":[32],\"_mapInfo\":[32],\"_mapView\":[32],\"_panelOpen\":[32],\"_numSelected\":[32],\"_filterOpen\":[32],\"_showInformationHeader\":[32],\"_layerIds\":[32],\"_isLoading\":[32],\"_mapExtentFilterChecked\":[32]},[[8,\"featureSelectionChange\",\"featureSelectionChange\"],[8,\"popupClosed\",\"popupClosed\"],[8,\"layoutChanged\",\"layoutChanged\"],[8,\"mapChanged\",\"mapChanged\"],[8,\"layerSelectionChange\",\"layerSelectionChange\"],[8,\"showDelete\",\"showDelete\"],[8,\"idsFound\",\"idsFound\"]],{\"appLayout\":[\"appLayoutWatchHandler\"],\"enableZoom\":[\"enableZoomWatchHandler\"],\"locale\":[\"localeWatchHandler\"]}]]],[\"crowdsource-reporter\",[[0,\"crowdsource-reporter\",{\"center\":[1],\"commentButtonText\":[1,\"comment-button-text\"],\"commentSubmittedMessage\":[1,\"comment-submitted-message\"],\"defaultWebmap\":[1,\"default-webmap\"],\"description\":[1],\"enableAnonymousAccess\":[4,\"enable-anonymous-access\"],\"enableAnonymousComments\":[4,\"enable-anonymous-comments\"],\"enableComments\":[4,\"enable-comments\"],\"enableHome\":[4,\"enable-home\"],\"enableLogin\":[4,\"enable-login\"],\"enableNewReports\":[4,\"enable-new-reports\"],\"enableSearch\":[4,\"enable-search\"],\"enableZoom\":[4,\"enable-zoom\"],\"isMobile\":[4,\"is-mobile\"],\"layerExpressions\":[16],\"layerId\":[1,\"layer-id\"],\"level\":[1],\"locale\":[1],\"loginTitle\":[1,\"login-title\"],\"mapInfos\":[16],\"mapView\":[16],\"objectId\":[1,\"object-id\"],\"reportButtonText\":[1,\"report-button-text\"],\"reportingOptions\":[16],\"reportsHeader\":[1,\"reports-header\"],\"reportSubmittedMessage\":[1,\"report-submitted-message\"],\"searchConfiguration\":[16],\"showComments\":[4,\"show-comments\"],\"showUserImageInCommentsList\":[4,\"show-user-image-in-comments-list\"],\"showFeatureSymbol\":[4,\"show-feature-symbol\"],\"showMyReportsOnly\":[4,\"show-my-reports-only\"],\"theme\":[1],\"zoomToScale\":[2,\"zoom-to-scale\"],\"floorLevel\":[1,\"floor-level\"],\"showFullCommentTitle\":[4,\"show-full-comment-title\"],\"_featureCreationFailedErrorMsg\":[32],\"_filterActive\":[32],\"_flowItems\":[32],\"_hasValidLayers\":[32],\"_mapInfo\":[32],\"_reportSubmitted\":[32],\"_selectedLayerName\":[32],\"_showSubmitCancelButton\":[32],\"_showLoadingIndicator\":[32],\"_sidePanelCollapsed\":[32],\"_translations\":[32],\"_updatedProgressBarStatus\":[32],\"_updatedSorting\":[32],\"_updatedSortOption\":[32],\"_commentSubmitted\":[32],\"_addingCommentFailed\":[32],\"updateLayerExpressionsT9n\":[64]},null,{\"isMobile\":[\"isMobileWatchHandler\"],\"locale\":[\"localeWatchHandler\"],\"mapView\":[\"mapViewWatchHandler\"],\"floorLevel\":[\"floorLevelWatchHandler\"],\"showMyReportsOnly\":[\"showMyReportsOnlyWatchHandler\"],\"layerExpressions\":[\"layerExpressionsWatchHandler\"],\"showFeatureSymbol\":[\"showFeatureSymbolWatchHandler\"]}]]],[\"solution-configuration\",[[0,\"solution-configuration\",{\"authentication\":[1040],\"locale\":[1],\"serializedAuthentication\":[1025,\"serialized-authentication\"],\"solutionItemId\":[1537,\"solution-item-id\"],\"showLoading\":[1540,\"show-loading\"],\"_currentEditItemId\":[32],\"_organizationVariables\":[32],\"_solutionContentsComponent\":[32],\"_solutionIsLoaded\":[32],\"_solutionVariables\":[32],\"_templateHierarchy\":[32],\"_translations\":[32],\"_treeOpen\":[32],\"getSpatialReferenceInfo\":[64],\"saveSolution\":[64],\"unloadSolution\":[64]},[[8,\"solutionItemSelected\",\"_solutionItemSelected\"]],{\"serializedAuthentication\":[\"serializedAuthenticationWatchHandler\"],\"solutionItemId\":[\"valueWatchHandler\"],\"locale\":[\"localeWatchHandler\"]}]]],[\"instant-apps-interactive-legend\",[[2,\"instant-apps-interactive-legend\",{\"view\":[16],\"zoomTo\":[4,\"zoom-to\"],\"featureCount\":[1028,\"feature-count\"],\"filterMode\":[16],\"compact\":[4],\"handles\":[32],\"reactiveUtils\":[32],\"legendvm\":[32],\"widget\":[32],\"messages\":[32]},null,{\"handles\":[\"init\"],\"reactiveUtils\":[\"init\"],\"view\":[\"init\"],\"compact\":[\"compactHandler\"]}]]],[\"public-notification\",[[0,\"public-notification\",{\"addresseeLayerIds\":[16],\"bufferColor\":[8,\"buffer-color\"],\"bufferOutlineColor\":[8,\"buffer-outline-color\"],\"customLabelEnabled\":[4,\"custom-label-enabled\"],\"defaultBufferDistance\":[2,\"default-buffer-distance\"],\"defaultBufferUnit\":[1,\"default-buffer-unit\"],\"defaultExportTitle\":[1,\"default-export-title\"],\"defaultNumLabelsPerPage\":[2,\"default-num-labels-per-page\"],\"enableLayerFeatures\":[4,\"enable-layer-features\"],\"enableLayerFeaturesOnLoad\":[4,\"enable-layer-features-on-load\"],\"enableSearchDistance\":[4,\"enable-search-distance\"],\"enableSearchDistanceOnLoad\":[4,\"enable-search-distance-on-load\"],\"enableSketchTools\":[4,\"enable-sketch-tools\"],\"featureEffect\":[16],\"featureHighlightEnabled\":[4,\"feature-highlight-enabled\"],\"locale\":[1],\"mapView\":[16],\"noResultText\":[1,\"no-result-text\"],\"initialNotice\":[1,\"initial-notice\"],\"searchConfiguration\":[1040],\"selectionLayerIds\":[16],\"showRefineSelection\":[4,\"show-refine-selection\"],\"showSearchSettings\":[4,\"show-search-settings\"],\"sketchLineSymbol\":[8,\"sketch-line-symbol\"],\"sketchPointSymbol\":[8,\"sketch-point-symbol\"],\"sketchPolygonSymbol\":[8,\"sketch-polygon-symbol\"],\"_exportGraphics\":[32],\"_addMap\":[32],\"_addResults\":[32],\"_addTitle\":[32],\"_downloadActive\":[32],\"_exportType\":[32],\"_fetchingData\":[32],\"_isMobile\":[32],\"_numDuplicates\":[32],\"_pageType\":[32],\"_saveEnabled\":[32],\"_selectionSets\":[32],\"_translations\":[32]},[[8,\"selectionSetsChanged\",\"selectionSetsChanged\"]],{\"locale\":[\"localeWatchHandler\"],\"mapView\":[\"mapViewWatchHandler\"],\"searchConfiguration\":[\"watchSearchConfigurationHandler\"],\"sketchLineSymbol\":[\"sketchLineSymbolWatchHandler\"],\"sketchPointSymbol\":[\"sketchPointSymbolWatchHandler\"],\"sketchPolygonSymbol\":[\"sketchPolygonSymbolWatchHandler\"],\"_pageType\":[\"pageTypeWatchHandler\"]}]]],[\"instant-apps-language-switcher\",[[1,\"instant-apps-language-switcher\",{\"icon\":[1],\"portalItem\":[16],\"view\":[16],\"locales\":[16],\"defaultLocale\":[1,\"default-locale\"],\"selectedLanguage\":[1,\"selected-language\"],\"calciteDropdownOverlayPositioning\":[1,\"calcite-dropdown-overlay-positioning\"],\"messages\":[32],\"t9nData\":[32],\"refresh\":[64]}]]],[\"instant-apps-export\",[[1,\"instant-apps-export\",{\"output\":[1040],\"beforeExport\":[16],\"popoverIcon\":[1,\"popover-icon\"],\"extraContent\":[16],\"extraContentLabel\":[1,\"extra-content-label\"],\"headerTitle\":[1025,\"header-title\"],\"logoImage\":[1025,\"logo-image\"],\"includeExtraContent\":[1028,\"include-extra-content\"],\"showExtraContentInImg\":[4,\"show-extra-content-in-img\"],\"includeLegend\":[1028,\"include-legend\"],\"includeMap\":[1028,\"include-map\"],\"includePopup\":[1028,\"include-popup\"],\"includeFileFormat\":[1028,\"include-file-format\"],\"mode\":[513],\"popoverPositioning\":[1,\"popover-positioning\"],\"popoverPlacement\":[1,\"popover-placement\"],\"scale\":[1],\"showHeaderTitle\":[4,\"show-header-title\"],\"showIncludeLegend\":[4,\"show-include-legend\"],\"showIncludeMap\":[4,\"show-include-map\"],\"showIncludePopup\":[4,\"show-include-popup\"],\"showScaleBar\":[4,\"show-scale-bar\"],\"view\":[16],\"maskBackground\":[1,\"mask-background\"],\"maskBorder\":[1,\"mask-border\"],\"baseClass\":[32],\"exportIsLoading\":[32],\"messages\":[32],\"selectedFileType\":[32]},null,{\"includeMap\":[\"watchIncludeMap\"],\"view\":[\"watchView\"]}]]],[\"instant-apps-interactive-legend-group-legend-element-caption\",[[2,\"instant-apps-interactive-legend-group-legend-element-caption\",{\"legendvm\":[16],\"featureCount\":[4,\"feature-count\"],\"activeLayerInfo\":[16],\"messages\":[8],\"isChild\":[4,\"is-child\"],\"expanded\":[1028]}]]],[\"instant-apps-landing-page\",[[1,\"instant-apps-landing-page\",{\"titleText\":[1,\"title-text\"],\"subtitleText\":[1,\"subtitle-text\"],\"descriptionText\":[1,\"description-text\"],\"entryButtonText\":[1,\"entry-button-text\"],\"iconImage\":[1,\"icon-image\"],\"iconImageScale\":[1,\"icon-image-scale\"],\"iconImageAltText\":[1,\"icon-image-alt-text\"],\"alignment\":[1],\"disableTransition\":[4,\"disable-transition\"],\"backgroundImageSrc\":[1,\"background-image-src\"],\"open\":[1028],\"entryButtonScale\":[1,\"entry-button-scale\"],\"fontFamily\":[513,\"font-family\"],\"enableSignIn\":[4,\"enable-sign-in\"],\"portal\":[16],\"oauthappid\":[1]},null,{\"open\":[\"emitToggleEvent\"]}]]],[\"instant-apps-measurement\",[[2,\"instant-apps-measurement\",{\"view\":[16],\"areaUnit\":[1,\"area-unit\"],\"linearUnit\":[1,\"linear-unit\"],\"coordinateFormat\":[1,\"coordinate-format\"],\"activeToolType\":[1,\"active-tool-type\"],\"closable\":[4],\"messages\":[32]}]]],[\"pci-calculator\",[[1,\"pci-calculator\",{\"showAddDeduct\":[32]}]]],[\"solution-item-accordion\",[[1,\"solution-item-accordion\",{\"locale\":[1],\"listSelectionMode\":[1,\"list-selection-mode\"],\"templateInfos\":[16],\"_sortedTemplateInfos\":[32],\"_translations\":[32],\"deselectAll\":[64],\"selectItem\":[64]},null,{\"locale\":[\"localeWatchHandler\"],\"templateInfos\":[\"templateInfosWatchHandler\"]}]]],[\"consent-manager\",[[1,\"consent-manager\",{\"amazonAppId\":[1,\"amazon-app-id\"],\"amazonAppName\":[1,\"amazon-app-name\"],\"amazonUserPoolID\":[1,\"amazon-user-pool-i-d\"],\"amazonVersion\":[1,\"amazon-version\"],\"firstUseVar\":[1,\"first-use-var\"],\"locale\":[1],\"measurementIds\":[16],\"portal\":[16],\"_open\":[32],\"_translations\":[32],\"getInstance\":[64]},null,{\"locale\":[\"localeWatchHandler\"]}]]],[\"instant-apps-app-guide\",[[1,\"instant-apps-app-guide\",{\"header\":[4],\"data\":[16],\"messages\":[32],\"headerText\":[32]},null,{\"data\":[\"watchPropHandler\"],\"headerText\":[\"watchStateHandler\"]}]]],[\"instant-apps-control-panel\",[[1,\"instant-apps-control-panel\",{\"components\":[16],\"view\":[16]}]]],[\"instant-apps-create\",[[1,\"instant-apps-create\",{\"popoverIcon\":[1,\"popover-icon\"],\"mode\":[513],\"popoverPositioning\":[1,\"popover-positioning\"],\"popoverPlacement\":[1,\"popover-placement\"],\"showHeader\":[4,\"show-header\"],\"content\":[16],\"options\":[16],\"portal\":[16],\"baseClass\":[32],\"messages\":[32],\"CreateOptionsLookup\":[32]},null,{\"content\":[\"contentChanged\"]}]]],[\"instant-apps-export-views\",[[1,\"instant-apps-export-views\",{\"output\":[1040],\"beforeExport\":[16],\"popoverIcon\":[1,\"popover-icon\"],\"includeLegend\":[1028,\"include-legend\"],\"includeMap\":[1028,\"include-map\"],\"includePopup\":[1028,\"include-popup\"],\"includeHeader\":[1028,\"include-header\"],\"mode\":[513],\"popoverPositioning\":[1,\"popover-positioning\"],\"popoverPlacement\":[1,\"popover-placement\"],\"scale\":[1],\"showIncludeLegend\":[4,\"show-include-legend\"],\"showIncludeMap\":[4,\"show-include-map\"],\"showIncludePopup\":[4,\"show-include-popup\"],\"showIncludeHeader\":[4,\"show-include-header\"],\"showScaleBar\":[4,\"show-scale-bar\"],\"exportViews\":[16],\"baseClass\":[32],\"exportIsLoading\":[32],\"messages\":[32]},null,{\"includeMap\":[\"watchIncludeMap\"],\"exportViews\":[\"watchView\"]}]]],[\"instant-apps-keyboard-shortcuts\",[[1,\"instant-apps-keyboard-shortcuts\",{\"view\":[16],\"messages\":[32]}]]],[\"instant-apps-popover\",[[0,\"instant-apps-popover\",{\"popoverTitle\":[513,\"popover-title\"],\"subtitle\":[513],\"content\":[513],\"imgSrc\":[513,\"img-src\"],\"imgAlt\":[513,\"img-alt\"],\"mediaSrc\":[513,\"media-src\"],\"index\":[514],\"referenceElement\":[513,\"reference-element\"],\"parent\":[16],\"placement\":[1],\"refId\":[1,\"ref-id\"],\"pagination\":[516],\"disableAction\":[516,\"disable-action\"],\"popoverAction\":[16],\"messageOverrides\":[16],\"messages\":[32]}]]],[\"instant-apps-popovers\",[[4,\"instant-apps-popovers\",{\"inTour\":[1540,\"in-tour\"],\"currentId\":[1537,\"current-id\"],\"instantAppsPopovers\":[16],\"beforeOpen\":[16],\"open\":[64],\"close\":[64],\"beginTour\":[64],\"endTour\":[64]}]]],[\"instant-apps-scoreboard\",[[1,\"instant-apps-scoreboard\",{\"view\":[16],\"items\":[16],\"position\":[1],\"mode\":[1],\"itemLimit\":[2,\"item-limit\"],\"autoDockEnabled\":[4,\"auto-dock-enabled\"],\"geometry\":[1040],\"queryType\":[1,\"query-type\"],\"state\":[32],\"messages\":[32],\"itemIndex\":[32],\"layers\":[32],\"layerViews\":[32],\"isMobile\":[32]},null,{\"items\":[\"generateUIDs\",\"storeLayers\"],\"layers\":[\"storeLayerViews\"],\"geometry\":[\"calculateScoreboardItemValuesFromGeometry\"],\"layerViews\":[\"calculateScoreboardItemValues\"]}]]],[\"instant-apps-splash\",[[1,\"instant-apps-splash\",{\"localStorageKey\":[1,\"local-storage-key\"],\"titleText\":[1,\"title-text\"],\"content\":[1025],\"primaryButtonText\":[1,\"primary-button-text\"],\"open\":[1028],\"closeButtonDisabled\":[4,\"close-button-disabled\"],\"outsideCloseDisabled\":[4,\"outside-close-disabled\"],\"secondaryButton\":[4,\"secondary-button\"],\"secondaryButtonText\":[1,\"secondary-button-text\"],\"secondaryButtonIcon\":[1,\"secondary-button-icon\"],\"secondaryButtonCallback\":[16],\"messages\":[32]},null,{\"content\":[\"sanitizeContent\"]}]]],[\"instant-apps-time-filter\",[[0,\"instant-apps-time-filter\",{\"timeInfoConfigItems\":[16],\"filterMode\":[16],\"view\":[16],\"timeSliderConfig\":[16],\"autoPlay\":[4,\"auto-play\"],\"timeSliderRef\":[32]},null,{\"timeInfoConfigItems\":[\"updateTimeInfoConfigItems\"],\"filterMode\":[\"updateFilterMode\"],\"timeSliderConfig\":[\"updateTimeSliderConfig\"],\"autoPlay\":[\"updateAutoPlay\"]}]]],[\"spatial-ref\",[[0,\"spatial-ref\",{\"defaultWkid\":[1538,\"default-wkid\"],\"disabled\":[1540],\"locale\":[1],\"value\":[1537],\"_cachedValue\":[32],\"_spatialRef\":[32],\"_srSearchText\":[32],\"_translations\":[32],\"createSpatialRefDisplay\":[64],\"getSpatialRef\":[64],\"wkidToDisplay\":[64]},null,{\"locale\":[\"localeWatchHandler\"],\"value\":[\"valueChanged\"]}]]],[\"store-manager\",[[0,\"store-manager\",{\"value\":[1537],\"templates\":[1040],\"authentication\":[1040],\"getStoreInfo\":[64]}]]],[\"instant-apps-interactive-legend-classic\",[[2,\"instant-apps-interactive-legend-classic\",{\"legendvm\":[16],\"zoomTo\":[4,\"zoom-to\"],\"featureCount\":[4,\"feature-count\"],\"filterMode\":[16],\"messages\":[8],\"isLoading\":[32],\"intLegendId\":[32]},null,{\"filterMode\":[\"handleFilterModeChange\"]}]]],[\"instant-apps-language-translator\",[[6,\"instant-apps-language-translator\",{\"portalItem\":[16],\"appSettings\":[16],\"locales\":[16],\"open\":[1028],\"userLocaleInputOnChangeCallback\":[16],\"translatedLocaleInputOnChangeCallback\":[16],\"saving\":[32],\"messages\":[32],\"isCollapse\":[32],\"getTranslationData\":[64],\"setTranslationData\":[64],\"getPortalItemResource\":[64],\"batchWriteToPortalItemResource\":[64]},[[8,\"translatorItemDataUpdated\",\"handleT9nItemUpdate\"]],{\"locales\":[\"handleLocaleChange\"],\"appSettings\":[\"handleAppSettings\"]}]]],[\"deduct-calculator\",[[1,\"deduct-calculator\"]]],[\"instant-apps-header\",[[1,\"instant-apps-header\",{\"titleText\":[1,\"title-text\"],\"titleTextLink\":[1,\"title-text-link\"],\"backgroundColor\":[1,\"background-color\"],\"textColor\":[1,\"text-color\"],\"logoImage\":[1,\"logo-image\"],\"logoScale\":[1537,\"logo-scale\"],\"logoImageAltText\":[1,\"logo-image-alt-text\"],\"logoLink\":[1,\"logo-link\"],\"infoButton\":[1540,\"info-button\"],\"infoIsOpen\":[516,\"info-is-open\"],\"infoTitleText\":[1,\"info-title-text\"],\"customHeaderHtml\":[1025,\"custom-header-html\"],\"headerAlignment\":[1025,\"header-alignment\"],\"customHeaderCss\":[1025,\"custom-header-css\"],\"fontFamily\":[513,\"font-family\"],\"mobileWidthBreakpoint\":[2,\"mobile-width-breakpoint\"],\"dir\":[32],\"initialScale\":[32],\"toggleInfo\":[64]},null,{\"customHeaderHtml\":[\"sanitizeCustomHeaderHtml\"]}]]],[\"instant-apps-measurement-tool\",[[2,\"instant-apps-measurement-tool\",{\"view\":[16],\"measureConfiguration\":[16],\"activeTool\":[1,\"active-tool\"]},null,{\"activeTool\":[\"_updateToolType\"]}]]],[\"instant-apps-sign-in\",[[1,\"instant-apps-sign-in\",{\"type\":[1],\"portal\":[16],\"oauthappid\":[1],\"openInPopup\":[4,\"open-in-popup\"],\"landingPage\":[4,\"landing-page\"],\"titleText\":[1,\"title-text\"],\"subtitleText\":[1,\"subtitle-text\"],\"descriptionText\":[1,\"description-text\"],\"showIndicator\":[4,\"show-indicator\"],\"closeLandingPage\":[16],\"signInDropdownItems\":[16],\"isSignedIn\":[32],\"user\":[32],\"ready\":[32],\"messages\":[32]},null,{\"portal\":[\"watchPortal\"],\"oauthappid\":[\"watchOauthappid\"]}]]],[\"feature-list\",[[0,\"feature-list\",{\"selectedLayerId\":[1,\"selected-layer-id\"],\"mapView\":[16],\"noFeaturesFoundMsg\":[1,\"no-features-found-msg\"],\"pageSize\":[2,\"page-size\"],\"highlightOnMap\":[4,\"highlight-on-map\"],\"highlightOnHover\":[4,\"highlight-on-hover\"],\"locale\":[1],\"sortingInfo\":[16],\"whereClause\":[1,\"where-clause\"],\"textSize\":[1,\"text-size\"],\"showInitialLoading\":[4,\"show-initial-loading\"],\"showErrorWhenNoFeatures\":[4,\"show-error-when-no-features\"],\"showUserImageInList\":[4,\"show-user-image-in-list\"],\"showFeatureSymbol\":[4,\"show-feature-symbol\"],\"applyLayerViewFilter\":[4,\"apply-layer-view-filter\"],\"reportingOptions\":[16],\"showFullTitle\":[4,\"show-full-title\"],\"_featureItems\":[32],\"_featuresCount\":[32],\"_isLoading\":[32],\"_searchPlaceHolder\":[32],\"_fullTextSearchInfo\":[32],\"_translations\":[32],\"refresh\":[64]},null,{\"locale\":[\"localeWatchHandler\"],\"selectedLayerId\":[\"selectedLayerWatchHandler\"],\"sortingInfo\":[\"sortingInfoWatchHandler\"],\"whereClause\":[\"whereClauseHandler\"]}]]],[\"delete-dialog\",[[1,\"delete-dialog\",{\"ids\":[16],\"layer\":[16],\"locale\":[1],\"open\":[4],\"_isDeleting\":[32],\"_translations\":[32]},null,{\"locale\":[\"localeWatchHandler\"]}]]],[\"map-layer-picker\",[[0,\"map-layer-picker\",{\"appearance\":[1],\"defaultLayerId\":[1,\"default-layer-id\"],\"display\":[1],\"enabledLayerIds\":[16],\"enabledTableIds\":[16],\"height\":[2],\"isMobile\":[4,\"is-mobile\"],\"locale\":[1],\"mapView\":[16],\"onlyShowUpdatableLayers\":[4,\"only-show-updatable-layers\"],\"placeholderIcon\":[1,\"placeholder-icon\"],\"selectedIds\":[1040],\"scale\":[1],\"showTables\":[4,\"show-tables\"],\"showTablesDisabled\":[4,\"show-tables-disabled\"],\"showSingleLayerAsLabel\":[4,\"show-single-layer-as-label\"],\"type\":[1],\"_hasMultipleLayers\":[32],\"_hasValidLayers\":[32],\"_isDropdownOpen\":[32],\"ids\":[32],\"selectedName\":[32],\"_translations\":[32],\"setLayerById\":[64],\"setLayerByIds\":[64],\"updateLayer\":[64]},null,{\"locale\":[\"localeWatchHandler\"],\"mapView\":[\"mapViewWatchHandler\"]}]]],[\"instant-apps-filter-list_2\",[[1,\"instant-apps-filter-list\",{\"layerExpressions\":[1040],\"autoUpdateUrl\":[4,\"auto-update-url\"],\"closeBtn\":[4,\"close-btn\"],\"closeBtnOnClick\":[16],\"comboboxOverlayPositioning\":[1,\"combobox-overlay-positioning\"],\"closeBtnText\":[1,\"close-btn-text\"],\"openFilters\":[4,\"open-filters\"],\"extentSelector\":[4,\"extent-selector\"],\"extentSelectorConfig\":[16],\"urlParams\":[1040],\"filterCount\":[1026,\"filter-count\"],\"view\":[16],\"zoomBtn\":[4,\"zoom-btn\"],\"resetBtn\":[4,\"reset-btn\"],\"resetFiltersOnDisconnect\":[4,\"reset-filters-on-disconnect\"],\"loading\":[32],\"filterLayerExpressions\":[32],\"messages\":[32],\"baseClass\":[32],\"initDefExpressions\":[32],\"initMapImageExpressions\":[32],\"initPointCloudFilters\":[32],\"getFilterInitState\":[64],\"forceReset\":[64],\"updateInitDefExpressions\":[64],\"getCurrentLayerExpressions\":[64],\"handleUpdatingT9nData\":[64]},null,{\"view\":[\"watchViewHandler\"],\"layerExpressions\":[\"watchLayerExpressions\"]}],[1,\"instant-apps-social-share\",{\"mode\":[513],\"shareUrl\":[1025,\"share-url\"],\"autoUpdateShareUrl\":[1028,\"auto-update-share-url\"],\"shareText\":[513,\"share-text\"],\"embed\":[516],\"shareButtonColor\":[513,\"share-button-color\"],\"shareButtonType\":[513,\"share-button-type\"],\"shareButtonScale\":[513,\"share-button-scale\"],\"iframeInnerText\":[513,\"iframe-inner-text\"],\"popoverButtonIconScale\":[513,\"popover-button-icon-scale\"],\"view\":[16],\"displayTipText\":[516,\"display-tip-text\"],\"shortenShareUrl\":[516,\"shorten-share-url\"],\"socialMedia\":[516,\"social-media\"],\"shareIconsLayout\":[513,\"share-icons-layout\"],\"scale\":[513],\"successMessage\":[513,\"success-message\"],\"defaultUrlParams\":[16],\"inlineSuccessPopoverPlacement\":[513,\"inline-success-popover-placement\"],\"popoverPositioning\":[513,\"popover-positioning\"],\"removePopoverOffset\":[516,\"remove-popover-offset\"],\"messages\":[32],\"opened\":[32],\"copied\":[32],\"inlineCopyLinkOpened\":[32],\"inlineCopyEmbedOpened\":[32],\"embedWidth\":[32],\"embedHeight\":[32]}]]],[\"card-manager_3\",[[0,\"map-card\",{\"appLayout\":[1,\"app-layout\"],\"appProxies\":[8,\"app-proxies\"],\"defaultWebmapId\":[1,\"default-webmap-id\"],\"defaultLayerId\":[1,\"default-layer-id\"],\"enableHome\":[4,\"enable-home\"],\"enableLegend\":[4,\"enable-legend\"],\"enableFloorFilter\":[4,\"enable-floor-filter\"],\"enableFullscreen\":[4,\"enable-fullscreen\"],\"enableShare\":[4,\"enable-share\"],\"enableSingleExpand\":[4,\"enable-single-expand\"],\"enableSearch\":[4,\"enable-search\"],\"enableBasemap\":[4,\"enable-basemap\"],\"basemapConfig\":[16],\"hidden\":[4],\"homeZoomIndex\":[2,\"home-zoom-index\"],\"homeZoomPosition\":[1,\"home-zoom-position\"],\"homeZoomToolsSize\":[1,\"home-zoom-tools-size\"],\"locale\":[1],\"mapInfos\":[16],\"mapWidgetsIndex\":[2,\"map-widgets-index\"],\"mapWidgetsPosition\":[1,\"map-widgets-position\"],\"mapWidgetsSize\":[1,\"map-widgets-size\"],\"mapView\":[16],\"stackTools\":[4,\"stack-tools\"],\"theme\":[1],\"toolOrder\":[16],\"isMapLayout\":[4,\"is-map-layout\"],\"shareIncludeEmbed\":[4,\"share-include-embed\"],\"shareIncludeSocial\":[4,\"share-include-social\"],\"selectedFeaturesIds\":[16],\"selectedLayer\":[16],\"zoomToScale\":[2,\"zoom-to-scale\"],\"onlyShowUpdatableLayers\":[4,\"only-show-updatable-layers\"],\"isMobile\":[4,\"is-mobile\"],\"mapInfo\":[16],\"_translations\":[32],\"_searchConfiguration\":[32],\"_webMapInfo\":[32],\"_showHideOpen\":[32],\"_toolInfos\":[32],\"_controlsThatFit\":[32],\"resetFilter\":[64],\"updateFilterState\":[64],\"updateLayer\":[64]},[[8,\"mapInfoChange\",\"mapInfoChange\"],[8,\"noLayersFound\",\"noLayersFound\"],[8,\"layerSelectionChange\",\"layerSelectionChange\"]],{\"appLayout\":[\"appLayoutWatchHandler\"],\"enableHome\":[\"enableHomeWatchHandler\"],\"enableShare\":[\"enableShareWatchHandler\"],\"locale\":[\"localeWatchHandler\"],\"mapView\":[\"mapViewWatchHandler\"],\"selectedLayer\":[\"selectedLayerWatchHandler\"],\"selectedFeaturesIds\":[\"selectedFeaturesIdsWatchHandler\"],\"_controlsThatFit\":[\"_controlsThatFitWatchHandler\"]}],[0,\"card-manager\",{\"customInfoText\":[1,\"custom-info-text\"],\"enableEditGeometry\":[4,\"enable-edit-geometry\"],\"isMobile\":[4,\"is-mobile\"],\"layer\":[1040],\"locale\":[1],\"mapView\":[16],\"zoomAndScrollToSelected\":[4,\"zoom-and-scroll-to-selected\"],\"selectedFeaturesIds\":[16],\"enableCreateFeatures\":[4,\"enable-create-features\"],\"selectingFeatureFromMap\":[4,\"selecting-feature-from-map\"],\"_cardLoading\":[32],\"_graphics\":[32],\"_showCreateFeatureComponent\":[32],\"_showSubmitBtn\":[32],\"_translations\":[32]},[[8,\"featureSelectionChange\",\"featureSelectionChange\"],[8,\"layerSelectionChange\",\"layerSelectionChange\"]],{\"locale\":[\"localeWatchHandler\"]}],[0,\"layer-table\",{\"appLayout\":[1,\"app-layout\"],\"defaultGlobalId\":[16],\"defaultLayerId\":[1,\"default-layer-id\"],\"defaultOid\":[16],\"enableAutoRefresh\":[4,\"enable-auto-refresh\"],\"enableColumnReorder\":[4,\"enable-column-reorder\"],\"enableCSV\":[4,\"enable-c-s-v\"],\"enableInlineEdit\":[4,\"enable-inline-edit\"],\"enableShare\":[4,\"enable-share\"],\"honorMapFieldSettings\":[4,\"honor-map-field-settings\"],\"isMobile\":[4,\"is-mobile\"],\"locale\":[1],\"mapHidden\":[4,\"map-hidden\"],\"mapInfo\":[16],\"mapView\":[16],\"onlyShowUpdatableLayers\":[4,\"only-show-updatable-layers\"],\"selectedIds\":[16],\"shareIncludeEmbed\":[4,\"share-include-embed\"],\"shareIncludeSocial\":[4,\"share-include-social\"],\"showNewestFirst\":[4,\"show-newest-first\"],\"zoomAndScrollToSelected\":[4,\"zoom-and-scroll-to-selected\"],\"zoomToScale\":[2,\"zoom-to-scale\"],\"createFilterModal\":[4,\"create-filter-modal\"],\"_allIds\":[32],\"_controlsThatFit\":[32],\"_csvExporting\":[32],\"_fetchingData\":[32],\"_filterActive\":[32],\"_filterOpen\":[32],\"_layer\":[32],\"_selectAllActive\":[32],\"_showHideOpen\":[32],\"_showOnlySelected\":[32],\"_toolInfos\":[32],\"_translations\":[32],\"_fullTextSearchInfo\":[32],\"_searchPlaceHolder\":[32],\"_size\":[32],\"_queryingData\":[32],\"closeFilter\":[64],\"filterReset\":[64],\"filterUpdate\":[64],\"validateTableUpdate\":[64],\"validateActiveEdits\":[64],\"refresh\":[64]},[[10,\"beforeMapInfoChange\",\"beforeMapInfoChange\"],[8,\"editorInitialized\",\"editorInitialized\"],[8,\"closeEdit\",\"closeEdit\"],[8,\"selectionChanged\",\"selectionChanged\"],[8,\"beforeLayerSelectionChange\",\"beforeLayerSelectionChange\"],[8,\"layerSelectionChange\",\"layerSelectionChange\"],[8,\"editsComplete\",\"editsComplete\"],[8,\"facilityChanged\",\"facilityChanged\"],[8,\"levelChanged\",\"levelChanged\"],[8,\"siteChanged\",\"siteChanged\"],[8,\"noLayersFound\",\"noLayersFound\"],[8,\"clearSelection\",\"clearSelection\"]],{\"appLayout\":[\"appLayoutWatchHandler\"],\"defaultOid\":[\"defaultOidWatchHandler\"],\"defaultGlobalId\":[\"defaultGlobalIdWatchHandler\"],\"enableCSV\":[\"enableCSVWatchHandler\"],\"enableInlineEdit\":[\"enableInlineEditWatchHandler\"],\"enableShare\":[\"enableShareWatchHandler\"],\"_controlsThatFit\":[\"_controlsThatFitWatchHandler\"],\"locale\":[\"localeWatchHandler\"],\"mapHidden\":[\"mapHiddenWatchHandler\"],\"isMobile\":[\"isMobileWatchHandler\"],\"mapInfo\":[\"mapInfoWatchHandler\"],\"mapView\":[\"mapViewWatchHandler\"],\"_layer\":[\"_layerWatchHandler\"],\"selectedIds\":[\"selectedIdsWatchHandler\"]}]]],[\"solution-contents_3\",[[0,\"solution-item\",{\"authentication\":[1040],\"itemId\":[1537,\"item-id\"],\"locale\":[1],\"solutionVariables\":[1537,\"solution-variables\"],\"organizationVariables\":[1537,\"organization-variables\"],\"itemType\":[32],\"_translations\":[32]},null,{\"itemId\":[\"itemIdWatchHandler\"],\"locale\":[\"localeWatchHandler\"]}],[0,\"solution-contents\",{\"selectedItemId\":[1537,\"selected-item-id\"],\"templateHierarchy\":[1040]},null,{\"templateHierarchy\":[\"valueWatchHandler\"]}],[0,\"solution-spatial-ref\",{\"enabled\":[1540],\"enableDefault\":[1540,\"enable-default\"],\"featureServices\":[1040],\"locale\":[1025],\"_translations\":[32],\"_testAccess\":[64]},[[8,\"solutionStoreHasChanges\",\"solutionStoreHasChanges\"]],{\"enabled\":[\"enabledChanged\"],\"enableDefault\":[\"enableDefaultChanged\"],\"locale\":[\"localeWatchHandler\"]}]]],[\"create-related-feature_3\",[[0,\"feature-details\",{\"mapView\":[16],\"graphics\":[16],\"reportingOptions\":[16],\"layerItemsHash\":[16],\"locale\":[1],\"showUserImageInCommentsList\":[4,\"show-user-image-in-comments-list\"],\"showFullCommentTitle\":[4,\"show-full-comment-title\"],\"_likeFieldAvailable\":[32],\"_likeCount\":[32],\"_disLikeCount\":[32],\"_dislikeFieldAvailable\":[32],\"_commentsAvailable\":[32],\"_isLikeBtnClicked\":[32],\"_isDislikeBtnClicked\":[32],\"_relatedFeaturesOIDs\":[32],\"_updating\":[32],\"refresh\":[64],\"back\":[64],\"next\":[64],\"toggleListView\":[64]},null,{\"graphics\":[\"graphicsWatchHandler\"]}],[0,\"create-related-feature\",{\"locale\":[1],\"mapView\":[16],\"table\":[16],\"selectedFeature\":[16],\"customizeSubmit\":[4,\"customize-submit\"],\"showGuidingMsg\":[4,\"show-guiding-msg\"],\"_editorLoading\":[32],\"_translations\":[32],\"submit\":[64]},null,{\"locale\":[\"localeWatchHandler\"],\"mapView\":[\"mapViewWatchHandler\"],\"_editorLoading\":[\"_editorLoadingWatchHandler\"]}],[0,\"layer-list\",{\"mapView\":[16],\"layers\":[16],\"locale\":[1],\"showFeatureCount\":[4,\"show-feature-count\"],\"showNextIcon\":[4,\"show-next-icon\"],\"applyLayerViewFilter\":[4,\"apply-layer-view-filter\"],\"_noLayersToDisplay\":[32],\"_mapLayerIds\":[32],\"_isLoading\":[32],\"_translations\":[32],\"refresh\":[64]},null,{\"locale\":[\"localeWatchHandler\"]}]]],[\"buffer-tools_2\",[[1,\"buffer-tools\",{\"appearance\":[1025],\"distance\":[1026],\"geometries\":[1040],\"locale\":[1],\"max\":[1026],\"min\":[1026],\"sliderTicks\":[1026,\"slider-ticks\"],\"unionResults\":[1028,\"union-results\"],\"unit\":[1025],\"disabled\":[4],\"_translations\":[32],\"getTranslatedUnit\":[64]},null,{\"geometries\":[\"geometriesWatchHandler\"],\"disabled\":[\"disabledWatchHandler\"],\"locale\":[\"localeWatchHandler\"]}],[0,\"map-draw-tools\",{\"active\":[4],\"drawMode\":[1,\"draw-mode\"],\"editGraphicsEnabled\":[4,\"edit-graphics-enabled\"],\"graphics\":[1040],\"locale\":[1],\"mapView\":[1040],\"pointSymbol\":[1040],\"polylineSymbol\":[1040],\"polygonSymbol\":[1040],\"redoEnabled\":[4,\"redo-enabled\"],\"undoEnabled\":[4,\"undo-enabled\"],\"_translations\":[32],\"_selectionMode\":[32],\"clear\":[64],\"updateGraphics\":[64]},null,{\"graphics\":[\"graphicsWatchHandler\"],\"locale\":[\"localeWatchHandler\"],\"mapView\":[\"mapViewWatchHandler\"]}]]],[\"map-select-tools_3\",[[0,\"map-select-tools\",{\"bufferColor\":[8,\"buffer-color\"],\"bufferOutlineColor\":[8,\"buffer-outline-color\"],\"customLabelEnabled\":[4,\"custom-label-enabled\"],\"enabledLayerIds\":[16],\"enableLayerFeatures\":[4,\"enable-layer-features\"],\"enableLayerFeaturesOnLoad\":[4,\"enable-layer-features-on-load\"],\"enableSearchDistance\":[4,\"enable-search-distance\"],\"enableSearchDistanceOnLoad\":[4,\"enable-search-distance-on-load\"],\"enableSketchTools\":[4,\"enable-sketch-tools\"],\"defaultBufferDistance\":[2,\"default-buffer-distance\"],\"defaultBufferUnit\":[1,\"default-buffer-unit\"],\"geometries\":[16],\"isUpdate\":[4,\"is-update\"],\"layerViews\":[16],\"locale\":[1],\"mapView\":[16],\"noResultText\":[1,\"no-result-text\"],\"searchConfiguration\":[1040],\"selectionSet\":[16],\"selectionLayerIds\":[16],\"selectLayerView\":[16],\"sketchLineSymbol\":[16],\"sketchPointSymbol\":[16],\"sketchPolygonSymbol\":[16],\"searchDistanceEnabled\":[4,\"search-distance-enabled\"],\"useLayerFeaturesEnabled\":[4,\"use-layer-features-enabled\"],\"_numSelected\":[32],\"_searchTerm\":[32],\"_selectionLoading\":[32],\"_translations\":[32],\"clearSelection\":[64],\"getSelection\":[64]},[[8,\"searchConfigurationChange\",\"searchConfigurationChangeChanged\"],[8,\"distanceChanged\",\"distanceChanged\"],[8,\"unitChanged\",\"unitChanged\"]],{\"geometries\":[\"watchGeometriesHandler\"],\"locale\":[\"localeWatchHandler\"],\"mapView\":[\"mapViewWatchHandler\"],\"searchConfiguration\":[\"watchSearchConfigurationHandler\"]}],[0,\"refine-selection\",{\"addresseeLayer\":[16],\"enabledLayerIds\":[16],\"locale\":[1],\"mapView\":[16],\"selectionSets\":[1040],\"sketchLineSymbol\":[16],\"sketchPointSymbol\":[16],\"sketchPolygonSymbol\":[16],\"_translations\":[32],\"_selectionMode\":[32],\"_refineLayer\":[32]},null,{\"locale\":[\"localeWatchHandler\"]}],[1,\"pdf-download\",{\"defaultNumLabelsPerPage\":[2,\"default-num-labels-per-page\"],\"disabled\":[4],\"locale\":[1],\"_translations\":[32],\"downloadCSV\":[64],\"downloadPDF\":[64]},null,{\"locale\":[\"localeWatchHandler\"]}]]],[\"instant-apps-ckeditor-wrapper_3\",[[2,\"instant-apps-language-translator-item\",{\"fieldName\":[1,\"field-name\"],\"translatedLanguageLabels\":[16],\"setting\":[16],\"userLocaleInputOnChangeCallback\":[16],\"translatedLocaleInputOnChangeCallback\":[16]}],[2,\"instant-apps-language-translator-search\",{\"t9nPlaceholder\":[1,\"t-9n-placeholder\"],\"results\":[32]}],[0,\"instant-apps-ckeditor-wrapper\",{\"value\":[1025],\"editorInstance\":[1032,\"editor-instance\"],\"config\":[16]},null,{\"value\":[\"updateValue\"]}]]],[\"solution-item-icon\",[[0,\"solution-item-icon\",{\"isPortal\":[4,\"is-portal\"],\"type\":[1],\"typeKeywords\":[16]}]]],[\"instant-apps-interactive-legend-count_2\",[[2,\"instant-apps-interactive-legend-layer-element-caption\",{\"legendvm\":[16],\"featureCount\":[4,\"feature-count\"],\"activeLayerInfo\":[16],\"messages\":[8],\"isChild\":[4,\"is-child\"],\"expanded\":[1028]}],[2,\"instant-apps-interactive-legend-count\",{\"showTotal\":[4,\"show-total\"],\"legendvm\":[16],\"activeLayerInfo\":[16],\"categoryId\":[1,\"category-id\"],\"infoIndex\":[2,\"info-index\"],\"messages\":[8],\"selected\":[4],\"legendElement\":[16]}]]],[\"instant-apps-interactive-legend-group-legend-element_5\",[[6,\"instant-apps-interactive-legend-group-legend-element\",{\"legendvm\":[16],\"featureCount\":[4,\"feature-count\"],\"activeLayerInfo\":[16],\"messages\":[8],\"isChild\":[4,\"is-child\"],\"expanded\":[32]},[[8,\"layerCaptionElementExpandUpdated\",\"layerCaptionElementExpandUpdatedEmitted\"]]],[6,\"instant-apps-interactive-legend-layer-element\",{\"legendvm\":[16],\"featureCount\":[4,\"feature-count\"],\"activeLayerInfo\":[16],\"messages\":[8],\"isChild\":[4,\"is-child\"],\"expanded\":[32]},[[8,\"layerCaptionElementExpandUpdated\",\"layerCaptionElementExpandUpdatedEmitted\"]]],[6,\"instant-apps-interactive-legend-legend-element\",{\"activeLayerInfo\":[16],\"isSizeRamp\":[4,\"is-size-ramp\"],\"isChild\":[4,\"is-child\"],\"isColorRamp\":[4,\"is-color-ramp\"],\"isRelationshipRamp\":[4,\"is-relationship-ramp\"],\"isInteractive\":[4,\"is-interactive\"],\"zoomTo\":[4,\"zoom-to\"],\"legendElement\":[16],\"titleText\":[1,\"title-text\"],\"legendvm\":[16],\"legendElementIndex\":[2,\"legend-element-index\"],\"messages\":[8],\"expanded\":[32]},[[8,\"legendLayerExpandUpdated\",\"legendLayerExpandUpdatedEmitted\"]]],[2,\"instant-apps-interactive-legend-relationship\",{\"filterMode\":[16],\"activeLayerInfo\":[16],\"legendElement\":[16],\"messages\":[8]},[[8,\"showAllSelected\",\"showAllSelectedEmitted\"]]],[2,\"instant-apps-interactive-legend-legend-element-caption\",{\"legendvm\":[16],\"activeLayerInfo\":[16],\"layer\":[16],\"titleText\":[1,\"title-text\"],\"legendElementIndex\":[2,\"legend-element-index\"],\"zoomTo\":[4,\"zoom-to\"],\"isInteractive\":[4,\"is-interactive\"],\"legendElement\":[16],\"expanded\":[1028],\"messages\":[8]}]]],[\"json-editor_7\",[[0,\"solution-template-data\",{\"instanceid\":[1537],\"itemId\":[1537,\"item-id\"],\"locale\":[1],\"organizationVariables\":[1537,\"organization-variables\"],\"solutionVariables\":[1537,\"solution-variables\"],\"varsOpen\":[1540,\"vars-open\"],\"_translations\":[32],\"value\":[32]},null,{\"itemId\":[\"itemIdWatchHandler\"],\"locale\":[\"localeWatchHandler\"]}],[1,\"solution-item-sharing\",{\"groupId\":[1537,\"group-id\"],\"locale\":[1],\"_translations\":[32],\"sharing\":[32],\"getShareInfo\":[64]},null,{\"groupId\":[\"itemIdWatchHandler\"],\"locale\":[\"localeWatchHandler\"]}],[0,\"solution-item-details\",{\"itemId\":[1537,\"item-id\"],\"locale\":[1],\"itemDetails\":[32],\"itemEdit\":[32],\"_translations\":[32],\"thumbnail\":[32],\"thumbnailContainer\":[32]},[[0,\"calciteInputInput\",\"inputReceivedHandler\"]],{\"locale\":[\"localeWatchHandler\"]}],[1,\"solution-resource-item\",{\"authentication\":[1040],\"itemId\":[1537,\"item-id\"],\"locale\":[1],\"resourceFilePaths\":[32],\"resources\":[32],\"_translations\":[32]},null,{\"itemId\":[\"itemIdWatchHandler\"],\"locale\":[\"localeWatchHandler\"]}],[1,\"solution-variables\",{\"value\":[1537],\"locale\":[1],\"_solutionVariables\":[32],\"_translations\":[32]},null,{\"locale\":[\"localeWatchHandler\"],\"value\":[\"valueWatchHandler\"]}],[0,\"json-editor\",{\"hasChanges\":[1540,\"has-changes\"],\"hasErrors\":[1540,\"has-errors\"],\"instanceid\":[1544],\"locale\":[1],\"value\":[1544],\"getEditorContents\":[64],\"prepareForDeletion\":[64],\"replaceCurrentSelection\":[64],\"reset\":[64]},null,{\"locale\":[\"localeWatchHandler\"]}],[1,\"solution-organization-variables\",{\"locale\":[1],\"value\":[1537],\"_organizationVariables\":[32],\"_translations\":[32]},null,{\"locale\":[\"localeWatchHandler\"],\"value\":[\"valueWatchHandler\"]}]]],[\"create-feature_4\",[[0,\"create-feature\",{\"mapView\":[16],\"selectedLayerId\":[1,\"selected-layer-id\"],\"customizeSubmit\":[4,\"customize-submit\"],\"locale\":[1],\"searchConfiguration\":[16],\"isMobile\":[4,\"is-mobile\"],\"floorLevel\":[1,\"floor-level\"],\"formElements\":[8,\"form-elements\"],\"enableSearch\":[4,\"enable-search\"],\"showGuidingMsg\":[4,\"show-guiding-msg\"],\"showGuidingMsgWhileDrawing\":[4,\"show-guiding-msg-while-drawing\"],\"_editorLoading\":[32],\"_currentPage\":[32],\"_translations\":[32],\"submit\":[64],\"refresh\":[64]},null,{\"locale\":[\"localeWatchHandler\"],\"mapView\":[\"mapViewWatchHandler\"],\"isMobile\":[\"isMobileHandler\"],\"_editorLoading\":[\"_editorLoadingWatchHandler\"]}],[0,\"info-card\",{\"enableEditGeometry\":[4,\"enable-edit-geometry\"],\"graphics\":[16],\"isLoading\":[4,\"is-loading\"],\"isMobile\":[4,\"is-mobile\"],\"mapView\":[16],\"allowEditing\":[4,\"allow-editing\"],\"highlightEnabled\":[4,\"highlight-enabled\"],\"locale\":[1],\"paginationEnabled\":[4,\"pagination-enabled\"],\"position\":[1],\"showCloseBtn\":[4,\"show-close-btn\"],\"_alertOpen\":[32],\"_count\":[32],\"_editRecordOpen\":[32],\"_mobileTitle\":[32],\"_showListView\":[32],\"_translations\":[32],\"_navigatedToRelatedFeature\":[32],\"getSelectedFeature\":[64],\"refresh\":[64],\"back\":[64],\"next\":[64],\"toggleListView\":[64],\"updateCurrentGraphic\":[64]},[[8,\"closeEdit\",\"closeEdit\"],[8,\"layerSelectionChange\",\"layerSelectionChange\"],[8,\"refreshGraphics\",\"refreshGraphics\"]],{\"graphics\":[\"graphicsWatchHandler\"],\"isMobile\":[\"isMobileWatchHandler\"],\"locale\":[\"localeWatchHandler\"],\"mapView\":[\"mapViewWatchHandler\"]}],[1,\"delete-button\",{\"deleteDialog\":[8,\"delete-dialog\"],\"buttonType\":[1,\"button-type\"],\"disabled\":[4],\"icon\":[1],\"ids\":[16],\"layer\":[16],\"locale\":[1],\"_confirmDelete\":[32],\"_deleteEndabled\":[32],\"_supportsDelete\":[32],\"_translations\":[32]},null,{\"ids\":[\"idsWatchHandler\"],\"layer\":[\"layerWatchHandler\"],\"locale\":[\"localeWatchHandler\"]}],[0,\"edit-card\",{\"enableEditGeometry\":[4,\"enable-edit-geometry\"],\"graphics\":[1040],\"locale\":[1],\"mapView\":[16],\"open\":[1028],\"graphicIndex\":[2,\"graphic-index\"],\"_editorLoading\":[32],\"_translations\":[32]},[[8,\"featureSelectionChange\",\"featureSelectionChange\"]],{\"graphics\":[\"graphicsWatchHandler\"],\"locale\":[\"localeWatchHandler\"],\"open\":[\"openWatchHandler\"]}]]],[\"basemap-gallery_7\",[[1,\"map-tools\",{\"basemapConfig\":[16],\"enableLegend\":[4,\"enable-legend\"],\"enableFloorFilter\":[4,\"enable-floor-filter\"],\"enableFullscreen\":[4,\"enable-fullscreen\"],\"enableSearch\":[4,\"enable-search\"],\"enableBasemap\":[4,\"enable-basemap\"],\"enableHome\":[4,\"enable-home\"],\"enableSingleExpand\":[4,\"enable-single-expand\"],\"homeZoomToolsSize\":[1,\"home-zoom-tools-size\"],\"layout\":[1],\"locale\":[1],\"mapView\":[16],\"mapWidgetsSize\":[1,\"map-widgets-size\"],\"position\":[1],\"searchConfiguration\":[16],\"stackTools\":[4,\"stack-tools\"],\"toolOrder\":[16],\"_hasFloorInfo\":[32],\"_translations\":[32],\"_showTools\":[32],\"_showBasemapWidget\":[32],\"_showFloorFilter\":[32],\"_showFullscreen\":[32],\"_showLegendWidget\":[32],\"_showSearchWidget\":[32]},null,{\"locale\":[\"localeWatchHandler\"],\"mapView\":[\"mapViewWatchHandler\"],\"_showBasemapWidget\":[\"_showBasemapWidgetWatchHandler\"],\"_showFloorFilter\":[\"_showFloorFilterWatchHandler\"],\"_showFullscreen\":[\"_showFullscreenWatchHandler\"],\"_showLegendWidget\":[\"_showLegendWidgetWatchHandler\"],\"_showSearchWidget\":[\"_showSearchWidgetWatchHandler\"]}],[1,\"map-picker\",{\"locale\":[1],\"mapInfos\":[16],\"isMapLayout\":[4,\"is-map-layout\"],\"_mapListExpanded\":[32],\"_translations\":[32],\"_webMapInfo\":[32],\"setMapByID\":[64],\"close\":[64],\"toggle\":[64]},null,{\"_webMapInfo\":[\"_webMapInfoWatchHandler\"],\"locale\":[\"localeWatchHandler\"],\"mapInfos\":[\"mapInfosWatchHandler\"]}],[1,\"basemap-gallery\",{\"mapView\":[16],\"basemapConfig\":[16],\"basemapWidget\":[16]},null,{\"basemapConfig\":[\"basemapConfigWatchHandler\"],\"mapView\":[\"mapViewWatchHandler\"]}],[1,\"floor-filter\",{\"enabled\":[4],\"floorFilterWidget\":[16],\"mapView\":[16]},null,{\"mapView\":[\"mapViewWatchHandler\"],\"enabled\":[\"enabledWatchHandler\"]}],[1,\"map-fullscreen\",{\"mapView\":[16],\"fullscreenWidget\":[16]},null,{\"mapView\":[\"mapViewWatchHandler\"]}],[1,\"map-legend\",{\"mapView\":[16],\"legendWidget\":[16]},null,{\"mapView\":[\"mapViewWatchHandler\"]}],[1,\"map-search\",{\"mapView\":[16],\"popupEnabled\":[4,\"popup-enabled\"],\"resultGraphicEnabled\":[4,\"result-graphic-enabled\"],\"searchConfiguration\":[16],\"searchTerm\":[1,\"search-term\"],\"searchWidget\":[16]},null,{\"searchConfiguration\":[\"watchSearchConfigurationHandler\"],\"mapView\":[\"mapViewWatchHandler\"]}]]]]"), options);
24
+ return bootstrapLazy(JSON.parse("[[\"crowdsource-manager\",[[0,\"crowdsource-manager\",{\"appLayout\":[1025,\"app-layout\"],\"appProxies\":[8,\"app-proxies\"],\"basemapConfig\":[16],\"coverPageEnabled\":[4,\"cover-page-enabled\"],\"customInfoText\":[1,\"custom-info-text\"],\"defaultAppLayout\":[1,\"default-app-layout\"],\"defaultCenter\":[1,\"default-center\"],\"defaultGlobalId\":[1,\"default-global-id\"],\"defaultLayer\":[1,\"default-layer\"],\"defaultLevel\":[1,\"default-level\"],\"defaultOid\":[1,\"default-oid\"],\"defaultWebmap\":[1,\"default-webmap\"],\"honorMapFieldSettings\":[4,\"honor-map-field-settings\"],\"introductionWindowEnabled\":[4,\"introduction-window-enabled\"],\"enableAutoRefresh\":[4,\"enable-auto-refresh\"],\"enableBasemap\":[4,\"enable-basemap\"],\"enableColumnReorder\":[4,\"enable-column-reorder\"],\"enableCSV\":[4,\"enable-c-s-v\"],\"enableFloorFilter\":[4,\"enable-floor-filter\"],\"enableFullscreen\":[4,\"enable-fullscreen\"],\"enableHome\":[4,\"enable-home\"],\"enableLegend\":[4,\"enable-legend\"],\"enableSearch\":[4,\"enable-search\"],\"enableShare\":[4,\"enable-share\"],\"enableZoom\":[4,\"enable-zoom\"],\"locale\":[1],\"mapInfos\":[16],\"onlyShowUpdatableLayers\":[4,\"only-show-updatable-layers\"],\"popupHeaderColor\":[1,\"popup-header-color\"],\"popupHeaderHoverColor\":[1,\"popup-header-hover-color\"],\"popupHeaderHoverTextColor\":[1,\"popup-header-hover-text-color\"],\"popupHeaderTextColor\":[1,\"popup-header-text-color\"],\"searchConfiguration\":[16],\"shareIncludeEmbed\":[4,\"share-include-embed\"],\"shareIncludeSocial\":[4,\"share-include-social\"],\"showNewestFirst\":[4,\"show-newest-first\"],\"theme\":[1],\"zoomAndScrollToSelected\":[4,\"zoom-and-scroll-to-selected\"],\"zoomToScale\":[2,\"zoom-to-scale\"],\"_deleteDialogOpen\":[32],\"_enableCreateFeatures\":[32],\"_hideFooter\":[32],\"_hideTable\":[32],\"_isMobile\":[32],\"_isPortraitMobile\":[32],\"_translations\":[32],\"_layer\":[32],\"_layoutMode\":[32],\"_mapInfo\":[32],\"_mapView\":[32],\"_panelOpen\":[32],\"_numSelected\":[32],\"_filterOpen\":[32],\"_showInformationHeader\":[32],\"_layerIds\":[32],\"_isLoading\":[32],\"_mapExtentFilterChecked\":[32]},[[8,\"featureSelectionChange\",\"featureSelectionChange\"],[8,\"popupClosed\",\"popupClosed\"],[8,\"layoutChanged\",\"layoutChanged\"],[8,\"mapChanged\",\"mapChanged\"],[8,\"layerSelectionChange\",\"layerSelectionChange\"],[8,\"showDelete\",\"showDelete\"],[8,\"idsFound\",\"idsFound\"]],{\"appLayout\":[\"appLayoutWatchHandler\"],\"enableZoom\":[\"enableZoomWatchHandler\"],\"locale\":[\"localeWatchHandler\"]}]]],[\"crowdsource-reporter\",[[0,\"crowdsource-reporter\",{\"center\":[1],\"commentButtonText\":[1,\"comment-button-text\"],\"commentSubmittedMessage\":[1,\"comment-submitted-message\"],\"defaultWebmap\":[1,\"default-webmap\"],\"description\":[1],\"enableAnonymousAccess\":[4,\"enable-anonymous-access\"],\"enableAnonymousComments\":[4,\"enable-anonymous-comments\"],\"enableComments\":[4,\"enable-comments\"],\"enableHome\":[4,\"enable-home\"],\"enableLogin\":[4,\"enable-login\"],\"enableNewReports\":[4,\"enable-new-reports\"],\"enableSearch\":[4,\"enable-search\"],\"enableZoom\":[4,\"enable-zoom\"],\"isMobile\":[4,\"is-mobile\"],\"layerExpressions\":[16],\"layerId\":[1,\"layer-id\"],\"level\":[1],\"locale\":[1],\"loginTitle\":[1,\"login-title\"],\"mapInfos\":[16],\"mapView\":[16],\"objectId\":[1,\"object-id\"],\"reportButtonText\":[1,\"report-button-text\"],\"reportingOptions\":[16],\"reportsHeader\":[1,\"reports-header\"],\"reportSubmittedMessage\":[1,\"report-submitted-message\"],\"searchConfiguration\":[16],\"showComments\":[4,\"show-comments\"],\"showUserImageInCommentsList\":[4,\"show-user-image-in-comments-list\"],\"showFeatureSymbol\":[4,\"show-feature-symbol\"],\"showMyReportsOnly\":[4,\"show-my-reports-only\"],\"submitNewReportsMessage\":[1,\"submit-new-reports-message\"],\"theme\":[1],\"zoomToScale\":[2,\"zoom-to-scale\"],\"floorLevel\":[1,\"floor-level\"],\"showFullCommentTitle\":[4,\"show-full-comment-title\"],\"_featureCreationFailedErrorMsg\":[32],\"_filterActive\":[32],\"_flowItems\":[32],\"_hasValidLayers\":[32],\"_mapInfo\":[32],\"_reportSubmitted\":[32],\"_selectedLayerName\":[32],\"_showSubmitCancelButton\":[32],\"_showLoadingIndicator\":[32],\"_sidePanelCollapsed\":[32],\"_translations\":[32],\"_updatedProgressBarStatus\":[32],\"_updatedSorting\":[32],\"_updatedSortOption\":[32],\"_commentSubmitted\":[32],\"_addingCommentFailed\":[32],\"updateLayerExpressionsT9n\":[64]},null,{\"isMobile\":[\"isMobileWatchHandler\"],\"locale\":[\"localeWatchHandler\"],\"mapView\":[\"mapViewWatchHandler\"],\"floorLevel\":[\"floorLevelWatchHandler\"],\"showMyReportsOnly\":[\"showMyReportsOnlyWatchHandler\"],\"layerExpressions\":[\"layerExpressionsWatchHandler\"],\"showFeatureSymbol\":[\"showFeatureSymbolWatchHandler\"]}]]],[\"solution-configuration\",[[0,\"solution-configuration\",{\"authentication\":[1040],\"locale\":[1],\"serializedAuthentication\":[1025,\"serialized-authentication\"],\"solutionItemId\":[1537,\"solution-item-id\"],\"showLoading\":[1540,\"show-loading\"],\"_currentEditItemId\":[32],\"_organizationVariables\":[32],\"_solutionContentsComponent\":[32],\"_solutionIsLoaded\":[32],\"_solutionVariables\":[32],\"_templateHierarchy\":[32],\"_translations\":[32],\"_treeOpen\":[32],\"getSpatialReferenceInfo\":[64],\"saveSolution\":[64],\"unloadSolution\":[64]},[[8,\"solutionItemSelected\",\"_solutionItemSelected\"]],{\"serializedAuthentication\":[\"serializedAuthenticationWatchHandler\"],\"solutionItemId\":[\"valueWatchHandler\"],\"locale\":[\"localeWatchHandler\"]}]]],[\"instant-apps-interactive-legend\",[[2,\"instant-apps-interactive-legend\",{\"view\":[16],\"zoomTo\":[4,\"zoom-to\"],\"featureCount\":[1028,\"feature-count\"],\"filterMode\":[16],\"compact\":[4],\"handles\":[32],\"reactiveUtils\":[32],\"legendvm\":[32],\"widget\":[32],\"messages\":[32]},null,{\"handles\":[\"init\"],\"reactiveUtils\":[\"init\"],\"view\":[\"init\"],\"compact\":[\"compactHandler\"]}]]],[\"public-notification\",[[0,\"public-notification\",{\"addresseeLayerIds\":[16],\"bufferColor\":[8,\"buffer-color\"],\"bufferOutlineColor\":[8,\"buffer-outline-color\"],\"customLabelEnabled\":[4,\"custom-label-enabled\"],\"defaultBufferDistance\":[2,\"default-buffer-distance\"],\"defaultBufferUnit\":[1,\"default-buffer-unit\"],\"defaultExportTitle\":[1,\"default-export-title\"],\"defaultNumLabelsPerPage\":[2,\"default-num-labels-per-page\"],\"enableLayerFeatures\":[4,\"enable-layer-features\"],\"enableLayerFeaturesOnLoad\":[4,\"enable-layer-features-on-load\"],\"enableSearchDistance\":[4,\"enable-search-distance\"],\"enableSearchDistanceOnLoad\":[4,\"enable-search-distance-on-load\"],\"enableSketchTools\":[4,\"enable-sketch-tools\"],\"featureEffect\":[16],\"featureHighlightEnabled\":[4,\"feature-highlight-enabled\"],\"locale\":[1],\"mapView\":[16],\"noResultText\":[1,\"no-result-text\"],\"initialNotice\":[1,\"initial-notice\"],\"searchConfiguration\":[1040],\"selectionLayerIds\":[16],\"showRefineSelection\":[4,\"show-refine-selection\"],\"showSearchSettings\":[4,\"show-search-settings\"],\"sketchLineSymbol\":[8,\"sketch-line-symbol\"],\"sketchPointSymbol\":[8,\"sketch-point-symbol\"],\"sketchPolygonSymbol\":[8,\"sketch-polygon-symbol\"],\"_exportGraphics\":[32],\"_addMap\":[32],\"_addResults\":[32],\"_addTitle\":[32],\"_downloadActive\":[32],\"_exportType\":[32],\"_fetchingData\":[32],\"_isMobile\":[32],\"_numDuplicates\":[32],\"_pageType\":[32],\"_saveEnabled\":[32],\"_selectionSets\":[32],\"_translations\":[32]},[[8,\"selectionSetsChanged\",\"selectionSetsChanged\"]],{\"locale\":[\"localeWatchHandler\"],\"mapView\":[\"mapViewWatchHandler\"],\"searchConfiguration\":[\"watchSearchConfigurationHandler\"],\"sketchLineSymbol\":[\"sketchLineSymbolWatchHandler\"],\"sketchPointSymbol\":[\"sketchPointSymbolWatchHandler\"],\"sketchPolygonSymbol\":[\"sketchPolygonSymbolWatchHandler\"],\"_pageType\":[\"pageTypeWatchHandler\"]}]]],[\"instant-apps-language-switcher\",[[1,\"instant-apps-language-switcher\",{\"icon\":[1],\"portalItem\":[16],\"view\":[16],\"locales\":[16],\"defaultLocale\":[1,\"default-locale\"],\"selectedLanguage\":[1,\"selected-language\"],\"calciteDropdownOverlayPositioning\":[1,\"calcite-dropdown-overlay-positioning\"],\"messages\":[32],\"t9nData\":[32],\"refresh\":[64]}]]],[\"instant-apps-export\",[[1,\"instant-apps-export\",{\"output\":[1040],\"beforeExport\":[16],\"popoverIcon\":[1,\"popover-icon\"],\"extraContent\":[16],\"extraContentLabel\":[1,\"extra-content-label\"],\"headerTitle\":[1025,\"header-title\"],\"logoImage\":[1025,\"logo-image\"],\"includeExtraContent\":[1028,\"include-extra-content\"],\"showExtraContentInImg\":[4,\"show-extra-content-in-img\"],\"includeLegend\":[1028,\"include-legend\"],\"includeMap\":[1028,\"include-map\"],\"includePopup\":[1028,\"include-popup\"],\"includeFileFormat\":[1028,\"include-file-format\"],\"mode\":[513],\"popoverPositioning\":[1,\"popover-positioning\"],\"popoverPlacement\":[1,\"popover-placement\"],\"scale\":[1],\"showHeaderTitle\":[4,\"show-header-title\"],\"showIncludeLegend\":[4,\"show-include-legend\"],\"showIncludeMap\":[4,\"show-include-map\"],\"showIncludePopup\":[4,\"show-include-popup\"],\"showScaleBar\":[4,\"show-scale-bar\"],\"view\":[16],\"maskBackground\":[1,\"mask-background\"],\"maskBorder\":[1,\"mask-border\"],\"baseClass\":[32],\"exportIsLoading\":[32],\"messages\":[32],\"selectedFileType\":[32]},null,{\"includeMap\":[\"watchIncludeMap\"],\"view\":[\"watchView\"]}]]],[\"instant-apps-interactive-legend-group-legend-element-caption\",[[2,\"instant-apps-interactive-legend-group-legend-element-caption\",{\"legendvm\":[16],\"featureCount\":[4,\"feature-count\"],\"activeLayerInfo\":[16],\"messages\":[8],\"isChild\":[4,\"is-child\"],\"expanded\":[1028]}]]],[\"instant-apps-landing-page\",[[1,\"instant-apps-landing-page\",{\"titleText\":[1,\"title-text\"],\"subtitleText\":[1,\"subtitle-text\"],\"descriptionText\":[1,\"description-text\"],\"entryButtonText\":[1,\"entry-button-text\"],\"iconImage\":[1,\"icon-image\"],\"iconImageScale\":[1,\"icon-image-scale\"],\"iconImageAltText\":[1,\"icon-image-alt-text\"],\"alignment\":[1],\"disableTransition\":[4,\"disable-transition\"],\"backgroundImageSrc\":[1,\"background-image-src\"],\"open\":[1028],\"entryButtonScale\":[1,\"entry-button-scale\"],\"fontFamily\":[513,\"font-family\"],\"enableSignIn\":[4,\"enable-sign-in\"],\"portal\":[16],\"oauthappid\":[1]},null,{\"open\":[\"emitToggleEvent\"]}]]],[\"instant-apps-measurement\",[[2,\"instant-apps-measurement\",{\"view\":[16],\"areaUnit\":[1,\"area-unit\"],\"linearUnit\":[1,\"linear-unit\"],\"coordinateFormat\":[1,\"coordinate-format\"],\"activeToolType\":[1,\"active-tool-type\"],\"closable\":[4],\"messages\":[32]}]]],[\"pci-calculator\",[[1,\"pci-calculator\",{\"showAddDeduct\":[32]}]]],[\"solution-item-accordion\",[[1,\"solution-item-accordion\",{\"locale\":[1],\"listSelectionMode\":[1,\"list-selection-mode\"],\"templateInfos\":[16],\"_sortedTemplateInfos\":[32],\"_translations\":[32],\"deselectAll\":[64],\"selectItem\":[64]},null,{\"locale\":[\"localeWatchHandler\"],\"templateInfos\":[\"templateInfosWatchHandler\"]}]]],[\"consent-manager\",[[1,\"consent-manager\",{\"amazonAppId\":[1,\"amazon-app-id\"],\"amazonAppName\":[1,\"amazon-app-name\"],\"amazonUserPoolID\":[1,\"amazon-user-pool-i-d\"],\"amazonVersion\":[1,\"amazon-version\"],\"firstUseVar\":[1,\"first-use-var\"],\"locale\":[1],\"measurementIds\":[16],\"portal\":[16],\"_open\":[32],\"_translations\":[32],\"getInstance\":[64]},null,{\"locale\":[\"localeWatchHandler\"]}]]],[\"instant-apps-app-guide\",[[1,\"instant-apps-app-guide\",{\"header\":[4],\"data\":[16],\"messages\":[32],\"headerText\":[32]},null,{\"data\":[\"watchPropHandler\"],\"headerText\":[\"watchStateHandler\"]}]]],[\"instant-apps-control-panel\",[[1,\"instant-apps-control-panel\",{\"components\":[16],\"view\":[16]}]]],[\"instant-apps-create\",[[1,\"instant-apps-create\",{\"popoverIcon\":[1,\"popover-icon\"],\"mode\":[513],\"popoverPositioning\":[1,\"popover-positioning\"],\"popoverPlacement\":[1,\"popover-placement\"],\"showHeader\":[4,\"show-header\"],\"content\":[16],\"options\":[16],\"portal\":[16],\"baseClass\":[32],\"messages\":[32],\"CreateOptionsLookup\":[32]},null,{\"content\":[\"contentChanged\"]}]]],[\"instant-apps-export-views\",[[1,\"instant-apps-export-views\",{\"output\":[1040],\"beforeExport\":[16],\"popoverIcon\":[1,\"popover-icon\"],\"includeLegend\":[1028,\"include-legend\"],\"includeMap\":[1028,\"include-map\"],\"includePopup\":[1028,\"include-popup\"],\"includeHeader\":[1028,\"include-header\"],\"mode\":[513],\"popoverPositioning\":[1,\"popover-positioning\"],\"popoverPlacement\":[1,\"popover-placement\"],\"scale\":[1],\"showIncludeLegend\":[4,\"show-include-legend\"],\"showIncludeMap\":[4,\"show-include-map\"],\"showIncludePopup\":[4,\"show-include-popup\"],\"showIncludeHeader\":[4,\"show-include-header\"],\"showScaleBar\":[4,\"show-scale-bar\"],\"exportViews\":[16],\"baseClass\":[32],\"exportIsLoading\":[32],\"messages\":[32]},null,{\"includeMap\":[\"watchIncludeMap\"],\"exportViews\":[\"watchView\"]}]]],[\"instant-apps-keyboard-shortcuts\",[[1,\"instant-apps-keyboard-shortcuts\",{\"view\":[16],\"messages\":[32]}]]],[\"instant-apps-popover\",[[0,\"instant-apps-popover\",{\"popoverTitle\":[513,\"popover-title\"],\"subtitle\":[513],\"content\":[513],\"imgSrc\":[513,\"img-src\"],\"imgAlt\":[513,\"img-alt\"],\"mediaSrc\":[513,\"media-src\"],\"index\":[514],\"referenceElement\":[513,\"reference-element\"],\"parent\":[16],\"placement\":[1],\"refId\":[1,\"ref-id\"],\"pagination\":[516],\"disableAction\":[516,\"disable-action\"],\"popoverAction\":[16],\"messageOverrides\":[16],\"messages\":[32]}]]],[\"instant-apps-popovers\",[[4,\"instant-apps-popovers\",{\"inTour\":[1540,\"in-tour\"],\"currentId\":[1537,\"current-id\"],\"instantAppsPopovers\":[16],\"beforeOpen\":[16],\"open\":[64],\"close\":[64],\"beginTour\":[64],\"endTour\":[64]}]]],[\"instant-apps-scoreboard\",[[1,\"instant-apps-scoreboard\",{\"view\":[16],\"items\":[16],\"position\":[1],\"mode\":[1],\"itemLimit\":[2,\"item-limit\"],\"autoDockEnabled\":[4,\"auto-dock-enabled\"],\"geometry\":[1040],\"queryType\":[1,\"query-type\"],\"state\":[32],\"messages\":[32],\"itemIndex\":[32],\"layers\":[32],\"layerViews\":[32],\"isMobile\":[32]},null,{\"items\":[\"generateUIDs\",\"storeLayers\"],\"layers\":[\"storeLayerViews\"],\"geometry\":[\"calculateScoreboardItemValuesFromGeometry\"],\"layerViews\":[\"calculateScoreboardItemValues\"]}]]],[\"instant-apps-splash\",[[1,\"instant-apps-splash\",{\"localStorageKey\":[1,\"local-storage-key\"],\"titleText\":[1,\"title-text\"],\"content\":[1025],\"primaryButtonText\":[1,\"primary-button-text\"],\"open\":[1028],\"closeButtonDisabled\":[4,\"close-button-disabled\"],\"outsideCloseDisabled\":[4,\"outside-close-disabled\"],\"secondaryButton\":[4,\"secondary-button\"],\"secondaryButtonText\":[1,\"secondary-button-text\"],\"secondaryButtonIcon\":[1,\"secondary-button-icon\"],\"secondaryButtonCallback\":[16],\"messages\":[32]},null,{\"content\":[\"sanitizeContent\"]}]]],[\"instant-apps-time-filter\",[[0,\"instant-apps-time-filter\",{\"timeInfoConfigItems\":[16],\"filterMode\":[16],\"view\":[16],\"timeSliderConfig\":[16],\"autoPlay\":[4,\"auto-play\"],\"timeSliderRef\":[32]},null,{\"timeInfoConfigItems\":[\"updateTimeInfoConfigItems\"],\"filterMode\":[\"updateFilterMode\"],\"timeSliderConfig\":[\"updateTimeSliderConfig\"],\"autoPlay\":[\"updateAutoPlay\"]}]]],[\"spatial-ref\",[[0,\"spatial-ref\",{\"defaultWkid\":[1538,\"default-wkid\"],\"disabled\":[1540],\"locale\":[1],\"value\":[1537],\"_cachedValue\":[32],\"_spatialRef\":[32],\"_srSearchText\":[32],\"_translations\":[32],\"createSpatialRefDisplay\":[64],\"getSpatialRef\":[64],\"wkidToDisplay\":[64]},null,{\"locale\":[\"localeWatchHandler\"],\"value\":[\"valueChanged\"]}]]],[\"store-manager\",[[0,\"store-manager\",{\"value\":[1537],\"templates\":[1040],\"authentication\":[1040],\"getStoreInfo\":[64]}]]],[\"instant-apps-interactive-legend-classic\",[[2,\"instant-apps-interactive-legend-classic\",{\"legendvm\":[16],\"zoomTo\":[4,\"zoom-to\"],\"featureCount\":[4,\"feature-count\"],\"filterMode\":[16],\"messages\":[8],\"isLoading\":[32],\"intLegendId\":[32]},null,{\"filterMode\":[\"handleFilterModeChange\"]}]]],[\"instant-apps-language-translator\",[[6,\"instant-apps-language-translator\",{\"portalItem\":[16],\"appSettings\":[16],\"locales\":[16],\"open\":[1028],\"userLocaleInputOnChangeCallback\":[16],\"translatedLocaleInputOnChangeCallback\":[16],\"saving\":[32],\"messages\":[32],\"isCollapse\":[32],\"getTranslationData\":[64],\"setTranslationData\":[64],\"getPortalItemResource\":[64],\"batchWriteToPortalItemResource\":[64]},[[8,\"translatorItemDataUpdated\",\"handleT9nItemUpdate\"]],{\"locales\":[\"handleLocaleChange\"],\"appSettings\":[\"handleAppSettings\"]}]]],[\"deduct-calculator\",[[1,\"deduct-calculator\"]]],[\"instant-apps-header\",[[1,\"instant-apps-header\",{\"titleText\":[1,\"title-text\"],\"titleTextLink\":[1,\"title-text-link\"],\"backgroundColor\":[1,\"background-color\"],\"textColor\":[1,\"text-color\"],\"logoImage\":[1,\"logo-image\"],\"logoScale\":[1537,\"logo-scale\"],\"logoImageAltText\":[1,\"logo-image-alt-text\"],\"logoLink\":[1,\"logo-link\"],\"infoButton\":[1540,\"info-button\"],\"infoIsOpen\":[516,\"info-is-open\"],\"infoTitleText\":[1,\"info-title-text\"],\"customHeaderHtml\":[1025,\"custom-header-html\"],\"headerAlignment\":[1025,\"header-alignment\"],\"customHeaderCss\":[1025,\"custom-header-css\"],\"fontFamily\":[513,\"font-family\"],\"mobileWidthBreakpoint\":[2,\"mobile-width-breakpoint\"],\"dir\":[32],\"initialScale\":[32],\"toggleInfo\":[64]},null,{\"customHeaderHtml\":[\"sanitizeCustomHeaderHtml\"]}]]],[\"instant-apps-measurement-tool\",[[2,\"instant-apps-measurement-tool\",{\"view\":[16],\"measureConfiguration\":[16],\"activeTool\":[1,\"active-tool\"]},null,{\"activeTool\":[\"_updateToolType\"]}]]],[\"instant-apps-sign-in\",[[1,\"instant-apps-sign-in\",{\"type\":[1],\"portal\":[16],\"oauthappid\":[1],\"openInPopup\":[4,\"open-in-popup\"],\"landingPage\":[4,\"landing-page\"],\"titleText\":[1,\"title-text\"],\"subtitleText\":[1,\"subtitle-text\"],\"descriptionText\":[1,\"description-text\"],\"showIndicator\":[4,\"show-indicator\"],\"closeLandingPage\":[16],\"signInDropdownItems\":[16],\"isSignedIn\":[32],\"user\":[32],\"ready\":[32],\"messages\":[32]},null,{\"portal\":[\"watchPortal\"],\"oauthappid\":[\"watchOauthappid\"]}]]],[\"feature-list\",[[0,\"feature-list\",{\"selectedLayerId\":[1,\"selected-layer-id\"],\"mapView\":[16],\"noFeaturesFoundMsg\":[1,\"no-features-found-msg\"],\"pageSize\":[2,\"page-size\"],\"highlightOnMap\":[4,\"highlight-on-map\"],\"highlightOnHover\":[4,\"highlight-on-hover\"],\"locale\":[1],\"sortingInfo\":[16],\"whereClause\":[1,\"where-clause\"],\"textSize\":[1,\"text-size\"],\"showInitialLoading\":[4,\"show-initial-loading\"],\"showErrorWhenNoFeatures\":[4,\"show-error-when-no-features\"],\"showUserImageInList\":[4,\"show-user-image-in-list\"],\"showFeatureSymbol\":[4,\"show-feature-symbol\"],\"applyLayerViewFilter\":[4,\"apply-layer-view-filter\"],\"reportingOptions\":[16],\"showFullTitle\":[4,\"show-full-title\"],\"_featureItems\":[32],\"_featuresCount\":[32],\"_isLoading\":[32],\"_searchPlaceHolder\":[32],\"_fullTextSearchInfo\":[32],\"_translations\":[32],\"refresh\":[64]},null,{\"locale\":[\"localeWatchHandler\"],\"selectedLayerId\":[\"selectedLayerWatchHandler\"],\"sortingInfo\":[\"sortingInfoWatchHandler\"],\"whereClause\":[\"whereClauseHandler\"]}]]],[\"delete-dialog\",[[1,\"delete-dialog\",{\"ids\":[16],\"layer\":[16],\"locale\":[1],\"open\":[4],\"_isDeleting\":[32],\"_translations\":[32]},null,{\"locale\":[\"localeWatchHandler\"]}]]],[\"map-layer-picker\",[[0,\"map-layer-picker\",{\"appearance\":[1],\"defaultLayerId\":[1,\"default-layer-id\"],\"display\":[1],\"enabledLayerIds\":[16],\"enabledTableIds\":[16],\"height\":[2],\"isMobile\":[4,\"is-mobile\"],\"locale\":[1],\"mapView\":[16],\"onlyShowUpdatableLayers\":[4,\"only-show-updatable-layers\"],\"placeholderIcon\":[1,\"placeholder-icon\"],\"selectedIds\":[1040],\"scale\":[1],\"showTables\":[4,\"show-tables\"],\"showTablesDisabled\":[4,\"show-tables-disabled\"],\"showSingleLayerAsLabel\":[4,\"show-single-layer-as-label\"],\"type\":[1],\"_hasMultipleLayers\":[32],\"_hasValidLayers\":[32],\"_isDropdownOpen\":[32],\"ids\":[32],\"selectedName\":[32],\"_translations\":[32],\"setLayerById\":[64],\"setLayerByIds\":[64],\"updateLayer\":[64]},null,{\"locale\":[\"localeWatchHandler\"],\"mapView\":[\"mapViewWatchHandler\"]}]]],[\"instant-apps-filter-list_2\",[[1,\"instant-apps-filter-list\",{\"layerExpressions\":[1040],\"autoUpdateUrl\":[4,\"auto-update-url\"],\"closeBtn\":[4,\"close-btn\"],\"closeBtnOnClick\":[16],\"comboboxOverlayPositioning\":[1,\"combobox-overlay-positioning\"],\"closeBtnText\":[1,\"close-btn-text\"],\"openFilters\":[4,\"open-filters\"],\"extentSelector\":[4,\"extent-selector\"],\"extentSelectorConfig\":[16],\"urlParams\":[1040],\"filterCount\":[1026,\"filter-count\"],\"view\":[16],\"zoomBtn\":[4,\"zoom-btn\"],\"resetBtn\":[4,\"reset-btn\"],\"resetFiltersOnDisconnect\":[4,\"reset-filters-on-disconnect\"],\"loading\":[32],\"filterLayerExpressions\":[32],\"messages\":[32],\"baseClass\":[32],\"initDefExpressions\":[32],\"initMapImageExpressions\":[32],\"initPointCloudFilters\":[32],\"getFilterInitState\":[64],\"forceReset\":[64],\"updateInitDefExpressions\":[64],\"getCurrentLayerExpressions\":[64],\"handleUpdatingT9nData\":[64]},null,{\"view\":[\"watchViewHandler\"],\"layerExpressions\":[\"watchLayerExpressions\"]}],[1,\"instant-apps-social-share\",{\"mode\":[513],\"shareUrl\":[1025,\"share-url\"],\"autoUpdateShareUrl\":[1028,\"auto-update-share-url\"],\"shareText\":[513,\"share-text\"],\"embed\":[516],\"shareButtonColor\":[513,\"share-button-color\"],\"shareButtonType\":[513,\"share-button-type\"],\"shareButtonScale\":[513,\"share-button-scale\"],\"iframeInnerText\":[513,\"iframe-inner-text\"],\"popoverButtonIconScale\":[513,\"popover-button-icon-scale\"],\"view\":[16],\"displayTipText\":[516,\"display-tip-text\"],\"shortenShareUrl\":[516,\"shorten-share-url\"],\"socialMedia\":[516,\"social-media\"],\"shareIconsLayout\":[513,\"share-icons-layout\"],\"scale\":[513],\"successMessage\":[513,\"success-message\"],\"defaultUrlParams\":[16],\"inlineSuccessPopoverPlacement\":[513,\"inline-success-popover-placement\"],\"popoverPositioning\":[513,\"popover-positioning\"],\"removePopoverOffset\":[516,\"remove-popover-offset\"],\"messages\":[32],\"opened\":[32],\"copied\":[32],\"inlineCopyLinkOpened\":[32],\"inlineCopyEmbedOpened\":[32],\"embedWidth\":[32],\"embedHeight\":[32]}]]],[\"card-manager_3\",[[0,\"map-card\",{\"appLayout\":[1,\"app-layout\"],\"appProxies\":[8,\"app-proxies\"],\"defaultWebmapId\":[1,\"default-webmap-id\"],\"defaultLayerId\":[1,\"default-layer-id\"],\"enableHome\":[4,\"enable-home\"],\"enableLegend\":[4,\"enable-legend\"],\"enableFloorFilter\":[4,\"enable-floor-filter\"],\"enableFullscreen\":[4,\"enable-fullscreen\"],\"enableShare\":[4,\"enable-share\"],\"enableSingleExpand\":[4,\"enable-single-expand\"],\"enableSearch\":[4,\"enable-search\"],\"enableBasemap\":[4,\"enable-basemap\"],\"basemapConfig\":[16],\"hidden\":[4],\"homeZoomIndex\":[2,\"home-zoom-index\"],\"homeZoomPosition\":[1,\"home-zoom-position\"],\"homeZoomToolsSize\":[1,\"home-zoom-tools-size\"],\"locale\":[1],\"mapInfos\":[16],\"mapWidgetsIndex\":[2,\"map-widgets-index\"],\"mapWidgetsPosition\":[1,\"map-widgets-position\"],\"mapWidgetsSize\":[1,\"map-widgets-size\"],\"mapView\":[16],\"stackTools\":[4,\"stack-tools\"],\"theme\":[1],\"toolOrder\":[16],\"isMapLayout\":[4,\"is-map-layout\"],\"shareIncludeEmbed\":[4,\"share-include-embed\"],\"shareIncludeSocial\":[4,\"share-include-social\"],\"selectedFeaturesIds\":[16],\"selectedLayer\":[16],\"zoomToScale\":[2,\"zoom-to-scale\"],\"onlyShowUpdatableLayers\":[4,\"only-show-updatable-layers\"],\"isMobile\":[4,\"is-mobile\"],\"mapInfo\":[16],\"_translations\":[32],\"_searchConfiguration\":[32],\"_webMapInfo\":[32],\"_showHideOpen\":[32],\"_toolInfos\":[32],\"_controlsThatFit\":[32],\"resetFilter\":[64],\"updateFilterState\":[64],\"updateLayer\":[64]},[[8,\"mapInfoChange\",\"mapInfoChange\"],[8,\"noLayersFound\",\"noLayersFound\"],[8,\"layerSelectionChange\",\"layerSelectionChange\"]],{\"appLayout\":[\"appLayoutWatchHandler\"],\"enableHome\":[\"enableHomeWatchHandler\"],\"enableShare\":[\"enableShareWatchHandler\"],\"locale\":[\"localeWatchHandler\"],\"mapView\":[\"mapViewWatchHandler\"],\"selectedLayer\":[\"selectedLayerWatchHandler\"],\"selectedFeaturesIds\":[\"selectedFeaturesIdsWatchHandler\"],\"_controlsThatFit\":[\"_controlsThatFitWatchHandler\"]}],[0,\"card-manager\",{\"customInfoText\":[1,\"custom-info-text\"],\"enableEditGeometry\":[4,\"enable-edit-geometry\"],\"isMobile\":[4,\"is-mobile\"],\"layer\":[1040],\"locale\":[1],\"mapView\":[16],\"zoomAndScrollToSelected\":[4,\"zoom-and-scroll-to-selected\"],\"selectedFeaturesIds\":[16],\"enableCreateFeatures\":[4,\"enable-create-features\"],\"selectingFeatureFromMap\":[4,\"selecting-feature-from-map\"],\"_cardLoading\":[32],\"_graphics\":[32],\"_showCreateFeatureComponent\":[32],\"_showSubmitBtn\":[32],\"_translations\":[32]},[[8,\"featureSelectionChange\",\"featureSelectionChange\"],[8,\"layerSelectionChange\",\"layerSelectionChange\"]],{\"locale\":[\"localeWatchHandler\"]}],[0,\"layer-table\",{\"appLayout\":[1,\"app-layout\"],\"defaultGlobalId\":[16],\"defaultLayerId\":[1,\"default-layer-id\"],\"defaultOid\":[16],\"enableAutoRefresh\":[4,\"enable-auto-refresh\"],\"enableColumnReorder\":[4,\"enable-column-reorder\"],\"enableCSV\":[4,\"enable-c-s-v\"],\"enableInlineEdit\":[4,\"enable-inline-edit\"],\"enableShare\":[4,\"enable-share\"],\"honorMapFieldSettings\":[4,\"honor-map-field-settings\"],\"isMobile\":[4,\"is-mobile\"],\"locale\":[1],\"mapHidden\":[4,\"map-hidden\"],\"mapInfo\":[16],\"mapView\":[16],\"onlyShowUpdatableLayers\":[4,\"only-show-updatable-layers\"],\"selectedIds\":[16],\"shareIncludeEmbed\":[4,\"share-include-embed\"],\"shareIncludeSocial\":[4,\"share-include-social\"],\"showNewestFirst\":[4,\"show-newest-first\"],\"zoomAndScrollToSelected\":[4,\"zoom-and-scroll-to-selected\"],\"zoomToScale\":[2,\"zoom-to-scale\"],\"createFilterModal\":[4,\"create-filter-modal\"],\"_allIds\":[32],\"_controlsThatFit\":[32],\"_csvExporting\":[32],\"_fetchingData\":[32],\"_filterActive\":[32],\"_filterOpen\":[32],\"_layer\":[32],\"_selectAllActive\":[32],\"_showHideOpen\":[32],\"_showOnlySelected\":[32],\"_toolInfos\":[32],\"_translations\":[32],\"_fullTextSearchInfo\":[32],\"_searchPlaceHolder\":[32],\"_size\":[32],\"_queryingData\":[32],\"closeFilter\":[64],\"filterReset\":[64],\"filterUpdate\":[64],\"validateTableUpdate\":[64],\"validateActiveEdits\":[64],\"refresh\":[64]},[[10,\"beforeMapInfoChange\",\"beforeMapInfoChange\"],[8,\"editorInitialized\",\"editorInitialized\"],[8,\"closeEdit\",\"closeEdit\"],[8,\"selectionChanged\",\"selectionChanged\"],[8,\"beforeLayerSelectionChange\",\"beforeLayerSelectionChange\"],[8,\"layerSelectionChange\",\"layerSelectionChange\"],[8,\"editsComplete\",\"editsComplete\"],[8,\"facilityChanged\",\"facilityChanged\"],[8,\"levelChanged\",\"levelChanged\"],[8,\"siteChanged\",\"siteChanged\"],[8,\"noLayersFound\",\"noLayersFound\"],[8,\"clearSelection\",\"clearSelection\"]],{\"appLayout\":[\"appLayoutWatchHandler\"],\"defaultOid\":[\"defaultOidWatchHandler\"],\"defaultGlobalId\":[\"defaultGlobalIdWatchHandler\"],\"enableCSV\":[\"enableCSVWatchHandler\"],\"enableInlineEdit\":[\"enableInlineEditWatchHandler\"],\"enableShare\":[\"enableShareWatchHandler\"],\"_controlsThatFit\":[\"_controlsThatFitWatchHandler\"],\"locale\":[\"localeWatchHandler\"],\"mapHidden\":[\"mapHiddenWatchHandler\"],\"isMobile\":[\"isMobileWatchHandler\"],\"mapInfo\":[\"mapInfoWatchHandler\"],\"mapView\":[\"mapViewWatchHandler\"],\"_layer\":[\"_layerWatchHandler\"],\"selectedIds\":[\"selectedIdsWatchHandler\"]}]]],[\"solution-contents_3\",[[0,\"solution-item\",{\"authentication\":[1040],\"itemId\":[1537,\"item-id\"],\"locale\":[1],\"solutionVariables\":[1537,\"solution-variables\"],\"organizationVariables\":[1537,\"organization-variables\"],\"itemType\":[32],\"_translations\":[32]},null,{\"itemId\":[\"itemIdWatchHandler\"],\"locale\":[\"localeWatchHandler\"]}],[0,\"solution-contents\",{\"selectedItemId\":[1537,\"selected-item-id\"],\"templateHierarchy\":[1040]},null,{\"templateHierarchy\":[\"valueWatchHandler\"]}],[0,\"solution-spatial-ref\",{\"enabled\":[1540],\"enableDefault\":[1540,\"enable-default\"],\"featureServices\":[1040],\"locale\":[1025],\"_translations\":[32],\"_testAccess\":[64]},[[8,\"solutionStoreHasChanges\",\"solutionStoreHasChanges\"]],{\"enabled\":[\"enabledChanged\"],\"enableDefault\":[\"enableDefaultChanged\"],\"locale\":[\"localeWatchHandler\"]}]]],[\"create-related-feature_3\",[[0,\"feature-details\",{\"mapView\":[16],\"graphics\":[16],\"reportingOptions\":[16],\"layerItemsHash\":[16],\"locale\":[1],\"showUserImageInCommentsList\":[4,\"show-user-image-in-comments-list\"],\"showFullCommentTitle\":[4,\"show-full-comment-title\"],\"_likeFieldAvailable\":[32],\"_likeCount\":[32],\"_disLikeCount\":[32],\"_dislikeFieldAvailable\":[32],\"_commentsAvailable\":[32],\"_isLikeBtnClicked\":[32],\"_isDislikeBtnClicked\":[32],\"_relatedFeaturesOIDs\":[32],\"_updating\":[32],\"refresh\":[64],\"back\":[64],\"next\":[64],\"toggleListView\":[64]},null,{\"graphics\":[\"graphicsWatchHandler\"]}],[0,\"create-related-feature\",{\"locale\":[1],\"mapView\":[16],\"table\":[16],\"selectedFeature\":[16],\"customizeSubmit\":[4,\"customize-submit\"],\"showGuidingMsg\":[4,\"show-guiding-msg\"],\"_editorLoading\":[32],\"_translations\":[32],\"submit\":[64]},null,{\"locale\":[\"localeWatchHandler\"],\"mapView\":[\"mapViewWatchHandler\"],\"_editorLoading\":[\"_editorLoadingWatchHandler\"]}],[0,\"layer-list\",{\"mapView\":[16],\"layers\":[16],\"locale\":[1],\"showFeatureCount\":[4,\"show-feature-count\"],\"showNextIcon\":[4,\"show-next-icon\"],\"applyLayerViewFilter\":[4,\"apply-layer-view-filter\"],\"_noLayersToDisplay\":[32],\"_mapLayerIds\":[32],\"_isLoading\":[32],\"_translations\":[32],\"refresh\":[64]},null,{\"locale\":[\"localeWatchHandler\"]}]]],[\"buffer-tools_2\",[[1,\"buffer-tools\",{\"appearance\":[1025],\"distance\":[1026],\"geometries\":[1040],\"locale\":[1],\"max\":[1026],\"min\":[1026],\"sliderTicks\":[1026,\"slider-ticks\"],\"unionResults\":[1028,\"union-results\"],\"unit\":[1025],\"disabled\":[4],\"_translations\":[32],\"getTranslatedUnit\":[64]},null,{\"geometries\":[\"geometriesWatchHandler\"],\"disabled\":[\"disabledWatchHandler\"],\"locale\":[\"localeWatchHandler\"]}],[0,\"map-draw-tools\",{\"active\":[4],\"drawMode\":[1,\"draw-mode\"],\"editGraphicsEnabled\":[4,\"edit-graphics-enabled\"],\"graphics\":[1040],\"locale\":[1],\"mapView\":[1040],\"pointSymbol\":[1040],\"polylineSymbol\":[1040],\"polygonSymbol\":[1040],\"redoEnabled\":[4,\"redo-enabled\"],\"undoEnabled\":[4,\"undo-enabled\"],\"_translations\":[32],\"_selectionMode\":[32],\"clear\":[64],\"updateGraphics\":[64]},null,{\"graphics\":[\"graphicsWatchHandler\"],\"locale\":[\"localeWatchHandler\"],\"mapView\":[\"mapViewWatchHandler\"]}]]],[\"map-select-tools_3\",[[0,\"map-select-tools\",{\"bufferColor\":[8,\"buffer-color\"],\"bufferOutlineColor\":[8,\"buffer-outline-color\"],\"customLabelEnabled\":[4,\"custom-label-enabled\"],\"enabledLayerIds\":[16],\"enableLayerFeatures\":[4,\"enable-layer-features\"],\"enableLayerFeaturesOnLoad\":[4,\"enable-layer-features-on-load\"],\"enableSearchDistance\":[4,\"enable-search-distance\"],\"enableSearchDistanceOnLoad\":[4,\"enable-search-distance-on-load\"],\"enableSketchTools\":[4,\"enable-sketch-tools\"],\"defaultBufferDistance\":[2,\"default-buffer-distance\"],\"defaultBufferUnit\":[1,\"default-buffer-unit\"],\"geometries\":[16],\"isUpdate\":[4,\"is-update\"],\"layerViews\":[16],\"locale\":[1],\"mapView\":[16],\"noResultText\":[1,\"no-result-text\"],\"searchConfiguration\":[1040],\"selectionSet\":[16],\"selectionLayerIds\":[16],\"selectLayerView\":[16],\"sketchLineSymbol\":[16],\"sketchPointSymbol\":[16],\"sketchPolygonSymbol\":[16],\"searchDistanceEnabled\":[4,\"search-distance-enabled\"],\"useLayerFeaturesEnabled\":[4,\"use-layer-features-enabled\"],\"_numSelected\":[32],\"_searchTerm\":[32],\"_selectionLoading\":[32],\"_translations\":[32],\"clearSelection\":[64],\"getSelection\":[64]},[[8,\"searchConfigurationChange\",\"searchConfigurationChangeChanged\"],[8,\"distanceChanged\",\"distanceChanged\"],[8,\"unitChanged\",\"unitChanged\"]],{\"geometries\":[\"watchGeometriesHandler\"],\"locale\":[\"localeWatchHandler\"],\"mapView\":[\"mapViewWatchHandler\"],\"searchConfiguration\":[\"watchSearchConfigurationHandler\"]}],[0,\"refine-selection\",{\"addresseeLayer\":[16],\"enabledLayerIds\":[16],\"locale\":[1],\"mapView\":[16],\"selectionSets\":[1040],\"sketchLineSymbol\":[16],\"sketchPointSymbol\":[16],\"sketchPolygonSymbol\":[16],\"_translations\":[32],\"_selectionMode\":[32],\"_refineLayer\":[32]},null,{\"locale\":[\"localeWatchHandler\"]}],[1,\"pdf-download\",{\"defaultNumLabelsPerPage\":[2,\"default-num-labels-per-page\"],\"disabled\":[4],\"locale\":[1],\"_translations\":[32],\"downloadCSV\":[64],\"downloadPDF\":[64]},null,{\"locale\":[\"localeWatchHandler\"]}]]],[\"instant-apps-ckeditor-wrapper_3\",[[2,\"instant-apps-language-translator-item\",{\"fieldName\":[1,\"field-name\"],\"translatedLanguageLabels\":[16],\"setting\":[16],\"userLocaleInputOnChangeCallback\":[16],\"translatedLocaleInputOnChangeCallback\":[16]}],[2,\"instant-apps-language-translator-search\",{\"t9nPlaceholder\":[1,\"t-9n-placeholder\"],\"results\":[32]}],[0,\"instant-apps-ckeditor-wrapper\",{\"value\":[1025],\"editorInstance\":[1032,\"editor-instance\"],\"config\":[16]},null,{\"value\":[\"updateValue\"]}]]],[\"solution-item-icon\",[[0,\"solution-item-icon\",{\"isPortal\":[4,\"is-portal\"],\"type\":[1],\"typeKeywords\":[16]}]]],[\"instant-apps-interactive-legend-count_2\",[[2,\"instant-apps-interactive-legend-layer-element-caption\",{\"legendvm\":[16],\"featureCount\":[4,\"feature-count\"],\"activeLayerInfo\":[16],\"messages\":[8],\"isChild\":[4,\"is-child\"],\"expanded\":[1028]}],[2,\"instant-apps-interactive-legend-count\",{\"showTotal\":[4,\"show-total\"],\"legendvm\":[16],\"activeLayerInfo\":[16],\"categoryId\":[1,\"category-id\"],\"infoIndex\":[2,\"info-index\"],\"messages\":[8],\"selected\":[4],\"legendElement\":[16]}]]],[\"instant-apps-interactive-legend-group-legend-element_5\",[[6,\"instant-apps-interactive-legend-group-legend-element\",{\"legendvm\":[16],\"featureCount\":[4,\"feature-count\"],\"activeLayerInfo\":[16],\"messages\":[8],\"isChild\":[4,\"is-child\"],\"expanded\":[32]},[[8,\"layerCaptionElementExpandUpdated\",\"layerCaptionElementExpandUpdatedEmitted\"]]],[6,\"instant-apps-interactive-legend-layer-element\",{\"legendvm\":[16],\"featureCount\":[4,\"feature-count\"],\"activeLayerInfo\":[16],\"messages\":[8],\"isChild\":[4,\"is-child\"],\"expanded\":[32]},[[8,\"layerCaptionElementExpandUpdated\",\"layerCaptionElementExpandUpdatedEmitted\"]]],[6,\"instant-apps-interactive-legend-legend-element\",{\"activeLayerInfo\":[16],\"isSizeRamp\":[4,\"is-size-ramp\"],\"isChild\":[4,\"is-child\"],\"isColorRamp\":[4,\"is-color-ramp\"],\"isRelationshipRamp\":[4,\"is-relationship-ramp\"],\"isInteractive\":[4,\"is-interactive\"],\"zoomTo\":[4,\"zoom-to\"],\"legendElement\":[16],\"titleText\":[1,\"title-text\"],\"legendvm\":[16],\"legendElementIndex\":[2,\"legend-element-index\"],\"messages\":[8],\"expanded\":[32]},[[8,\"legendLayerExpandUpdated\",\"legendLayerExpandUpdatedEmitted\"]]],[2,\"instant-apps-interactive-legend-relationship\",{\"filterMode\":[16],\"activeLayerInfo\":[16],\"legendElement\":[16],\"messages\":[8]},[[8,\"showAllSelected\",\"showAllSelectedEmitted\"]]],[2,\"instant-apps-interactive-legend-legend-element-caption\",{\"legendvm\":[16],\"activeLayerInfo\":[16],\"layer\":[16],\"titleText\":[1,\"title-text\"],\"legendElementIndex\":[2,\"legend-element-index\"],\"zoomTo\":[4,\"zoom-to\"],\"isInteractive\":[4,\"is-interactive\"],\"legendElement\":[16],\"expanded\":[1028],\"messages\":[8]}]]],[\"json-editor_7\",[[0,\"solution-template-data\",{\"instanceid\":[1537],\"itemId\":[1537,\"item-id\"],\"locale\":[1],\"organizationVariables\":[1537,\"organization-variables\"],\"solutionVariables\":[1537,\"solution-variables\"],\"varsOpen\":[1540,\"vars-open\"],\"_translations\":[32],\"value\":[32]},null,{\"itemId\":[\"itemIdWatchHandler\"],\"locale\":[\"localeWatchHandler\"]}],[1,\"solution-item-sharing\",{\"groupId\":[1537,\"group-id\"],\"locale\":[1],\"_translations\":[32],\"sharing\":[32],\"getShareInfo\":[64]},null,{\"groupId\":[\"itemIdWatchHandler\"],\"locale\":[\"localeWatchHandler\"]}],[0,\"solution-item-details\",{\"itemId\":[1537,\"item-id\"],\"locale\":[1],\"itemDetails\":[32],\"itemEdit\":[32],\"_translations\":[32],\"thumbnail\":[32],\"thumbnailContainer\":[32]},[[0,\"calciteInputInput\",\"inputReceivedHandler\"]],{\"locale\":[\"localeWatchHandler\"]}],[1,\"solution-resource-item\",{\"authentication\":[1040],\"itemId\":[1537,\"item-id\"],\"locale\":[1],\"resourceFilePaths\":[32],\"resources\":[32],\"_translations\":[32]},null,{\"itemId\":[\"itemIdWatchHandler\"],\"locale\":[\"localeWatchHandler\"]}],[1,\"solution-variables\",{\"value\":[1537],\"locale\":[1],\"_solutionVariables\":[32],\"_translations\":[32]},null,{\"locale\":[\"localeWatchHandler\"],\"value\":[\"valueWatchHandler\"]}],[0,\"json-editor\",{\"hasChanges\":[1540,\"has-changes\"],\"hasErrors\":[1540,\"has-errors\"],\"instanceid\":[1544],\"locale\":[1],\"value\":[1544],\"getEditorContents\":[64],\"prepareForDeletion\":[64],\"replaceCurrentSelection\":[64],\"reset\":[64]},null,{\"locale\":[\"localeWatchHandler\"]}],[1,\"solution-organization-variables\",{\"locale\":[1],\"value\":[1537],\"_organizationVariables\":[32],\"_translations\":[32]},null,{\"locale\":[\"localeWatchHandler\"],\"value\":[\"valueWatchHandler\"]}]]],[\"create-feature_4\",[[0,\"create-feature\",{\"customizeSubmit\":[4,\"customize-submit\"],\"enableSearch\":[4,\"enable-search\"],\"floorLevel\":[1,\"floor-level\"],\"formElements\":[8,\"form-elements\"],\"isMobile\":[4,\"is-mobile\"],\"locale\":[1],\"mapView\":[16],\"searchConfiguration\":[16],\"selectedLayerId\":[1,\"selected-layer-id\"],\"showGuidingMsg\":[4,\"show-guiding-msg\"],\"showGuidingMsgWhileDrawing\":[4,\"show-guiding-msg-while-drawing\"],\"submitNewReportsMessage\":[1,\"submit-new-reports-message\"],\"_currentPage\":[32],\"_editorLoading\":[32],\"_translations\":[32],\"submit\":[64],\"refresh\":[64]},null,{\"locale\":[\"localeWatchHandler\"],\"mapView\":[\"mapViewWatchHandler\"],\"isMobile\":[\"isMobileHandler\"],\"_editorLoading\":[\"_editorLoadingWatchHandler\"]}],[0,\"info-card\",{\"enableEditGeometry\":[4,\"enable-edit-geometry\"],\"graphics\":[16],\"isLoading\":[4,\"is-loading\"],\"isMobile\":[4,\"is-mobile\"],\"mapView\":[16],\"allowEditing\":[4,\"allow-editing\"],\"highlightEnabled\":[4,\"highlight-enabled\"],\"locale\":[1],\"paginationEnabled\":[4,\"pagination-enabled\"],\"position\":[1],\"showCloseBtn\":[4,\"show-close-btn\"],\"_alertOpen\":[32],\"_count\":[32],\"_editRecordOpen\":[32],\"_mobileTitle\":[32],\"_showListView\":[32],\"_translations\":[32],\"_navigatedToRelatedFeature\":[32],\"getSelectedFeature\":[64],\"refresh\":[64],\"back\":[64],\"next\":[64],\"toggleListView\":[64],\"updateCurrentGraphic\":[64]},[[8,\"closeEdit\",\"closeEdit\"],[8,\"layerSelectionChange\",\"layerSelectionChange\"],[8,\"refreshGraphics\",\"refreshGraphics\"]],{\"graphics\":[\"graphicsWatchHandler\"],\"isMobile\":[\"isMobileWatchHandler\"],\"locale\":[\"localeWatchHandler\"],\"mapView\":[\"mapViewWatchHandler\"]}],[1,\"delete-button\",{\"deleteDialog\":[8,\"delete-dialog\"],\"buttonType\":[1,\"button-type\"],\"disabled\":[4],\"icon\":[1],\"ids\":[16],\"layer\":[16],\"locale\":[1],\"_confirmDelete\":[32],\"_deleteEndabled\":[32],\"_supportsDelete\":[32],\"_translations\":[32]},null,{\"ids\":[\"idsWatchHandler\"],\"layer\":[\"layerWatchHandler\"],\"locale\":[\"localeWatchHandler\"]}],[0,\"edit-card\",{\"enableEditGeometry\":[4,\"enable-edit-geometry\"],\"graphics\":[1040],\"locale\":[1],\"mapView\":[16],\"open\":[1028],\"graphicIndex\":[2,\"graphic-index\"],\"_editorLoading\":[32],\"_translations\":[32]},[[8,\"featureSelectionChange\",\"featureSelectionChange\"]],{\"graphics\":[\"graphicsWatchHandler\"],\"locale\":[\"localeWatchHandler\"],\"open\":[\"openWatchHandler\"]}]]],[\"basemap-gallery_7\",[[1,\"map-tools\",{\"basemapConfig\":[16],\"enableLegend\":[4,\"enable-legend\"],\"enableFloorFilter\":[4,\"enable-floor-filter\"],\"enableFullscreen\":[4,\"enable-fullscreen\"],\"enableSearch\":[4,\"enable-search\"],\"enableBasemap\":[4,\"enable-basemap\"],\"enableHome\":[4,\"enable-home\"],\"enableSingleExpand\":[4,\"enable-single-expand\"],\"homeZoomToolsSize\":[1,\"home-zoom-tools-size\"],\"layout\":[1],\"locale\":[1],\"mapView\":[16],\"mapWidgetsSize\":[1,\"map-widgets-size\"],\"position\":[1],\"searchConfiguration\":[16],\"stackTools\":[4,\"stack-tools\"],\"toolOrder\":[16],\"_hasFloorInfo\":[32],\"_translations\":[32],\"_showTools\":[32],\"_showBasemapWidget\":[32],\"_showFloorFilter\":[32],\"_showFullscreen\":[32],\"_showLegendWidget\":[32],\"_showSearchWidget\":[32]},null,{\"locale\":[\"localeWatchHandler\"],\"mapView\":[\"mapViewWatchHandler\"],\"_showBasemapWidget\":[\"_showBasemapWidgetWatchHandler\"],\"_showFloorFilter\":[\"_showFloorFilterWatchHandler\"],\"_showFullscreen\":[\"_showFullscreenWatchHandler\"],\"_showLegendWidget\":[\"_showLegendWidgetWatchHandler\"],\"_showSearchWidget\":[\"_showSearchWidgetWatchHandler\"]}],[1,\"map-picker\",{\"locale\":[1],\"mapInfos\":[16],\"isMapLayout\":[4,\"is-map-layout\"],\"_mapListExpanded\":[32],\"_translations\":[32],\"_webMapInfo\":[32],\"setMapByID\":[64],\"close\":[64],\"toggle\":[64]},null,{\"_webMapInfo\":[\"_webMapInfoWatchHandler\"],\"locale\":[\"localeWatchHandler\"],\"mapInfos\":[\"mapInfosWatchHandler\"]}],[1,\"basemap-gallery\",{\"mapView\":[16],\"basemapConfig\":[16],\"basemapWidget\":[16]},null,{\"basemapConfig\":[\"basemapConfigWatchHandler\"],\"mapView\":[\"mapViewWatchHandler\"]}],[1,\"floor-filter\",{\"enabled\":[4],\"floorFilterWidget\":[16],\"mapView\":[16]},null,{\"mapView\":[\"mapViewWatchHandler\"],\"enabled\":[\"enabledWatchHandler\"]}],[1,\"map-fullscreen\",{\"mapView\":[16],\"fullscreenWidget\":[16]},null,{\"mapView\":[\"mapViewWatchHandler\"]}],[1,\"map-legend\",{\"mapView\":[16],\"legendWidget\":[16]},null,{\"mapView\":[\"mapViewWatchHandler\"]}],[1,\"map-search\",{\"mapView\":[16],\"popupEnabled\":[4,\"popup-enabled\"],\"resultGraphicEnabled\":[4,\"result-graphic-enabled\"],\"searchConfiguration\":[16],\"searchTerm\":[1,\"search-term\"],\"searchWidget\":[16]},null,{\"searchConfiguration\":[\"watchSearchConfigurationHandler\"],\"mapView\":[\"mapViewWatchHandler\"]}]]]]"), options);
25
25
  });
@@ -4,9 +4,9 @@
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
6
  import { g as getElement, r as registerInstance, c as createEvent, h, H as Host } from './index-df5db8e9.js';
7
- import { g as getLocaleComponentStrings } from './locale-15e42305.js';
7
+ import { g as getLocaleComponentStrings } from './locale-7874c756.js';
8
8
  import { n as nodeListToArray } from './common-c8dc0e85.js';
9
- import './esri-loader-d10d860d.js';
9
+ import './esri-loader-c6842c6b.js';
10
10
  import './_commonjsHelpers-089957fe.js';
11
11
  import './solution-resource-30a29505.js';
12
12
  import './interfaces-659e3836.js';
@@ -3,7 +3,7 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import { b as getLocaleComponentStrings } from './locale-29d08ded.js';
6
+ import { b as getLocaleComponentStrings } from './locale-e02b0e14.js';
7
7
  import { c as createStore } from './index-c247b62b.js';
8
8
 
9
9
  var EInputType;
@@ -1,5 +1,5 @@
1
1
  {
2
- "chooseCategoryMsg": "Make a selection from the list below.",
2
+ "chooseCategoryMsg": "Submit new reports below.",
3
3
  "provideDetailsMsg": "Please provide the details.",
4
4
  "provideLocationMsg": "Please specify the location."
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "chooseCategoryMsg": "Make a selection from the list below.",
2
+ "chooseCategoryMsg": "Submit new reports below.",
3
3
  "provideDetailsMsg": "Please provide the details.",
4
4
  "provideLocationMsg": "Please specify the location."
5
5
  }
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as t,c as i,g as s,a as e,h as a,H as l}from"./p-e996c38f.js";import{b as o,c as n,a as h}from"./p-80cb7c73.js";import{l as c,g as r}from"./p-a397e773.js";import{e as d,h as p}from"./p-dcd2f00b.js";import{s as g}from"./p-e6859850.js";import{c as b,r as m}from"./p-36e3b39c.js";import"./p-3b3f77bc.js";import"./p-d4056c1c.js";import"./p-8717729a.js";import"./p-19bce2cc.js";import"./p-2bc98cb0.js";import"./p-4f236b5d.js";import"./p-570b13d9.js";import"./p-0668e30d.js";const u=class{constructor(s){t(this,s),this.searchConfigurationChange=i(this,"searchConfigurationChange",7),this.addresseeLayerIds=[],this.bufferColor=[227,139,79,.8],this.bufferOutlineColor=[255,255,255],this.customLabelEnabled=void 0,this.defaultBufferDistance=void 0,this.defaultBufferUnit=void 0,this.defaultExportTitle="",this.defaultNumLabelsPerPage=6,this.enableLayerFeatures=!0,this.enableLayerFeaturesOnLoad=!1,this.enableSearchDistance=!0,this.enableSearchDistanceOnLoad=!1,this.enableSketchTools=!0,this.featureEffect=void 0,this.featureHighlightEnabled=void 0,this.locale=void 0,this.mapView=void 0,this.noResultText=void 0,this.initialNotice="",this.searchConfiguration=void 0,this.selectionLayerIds=[],this.showRefineSelection=!1,this.showSearchSettings=!0,this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this._exportGraphics=!1,this._addMap=!1,this._addResults=!0,this._addTitle=!1,this._downloadActive=!0,this._exportType=o.PDF,this._fetchingData=!1,this._isMobile=void 0,this._numDuplicates=0,this._pageType=n.LIST,this._saveEnabled=!1,this._selectionSets=[],this._translations=void 0}get el(){return s(this)}_activeSelection;_downloadTools;_geometryEngine;Graphic;_jsonUtils;_onboardingImageUrl="";_popupsEnabled;_removeDuplicates;_searchConfiguration;_selectTools;_mediaQuery;_titleElement;_titleValue=void 0;_numSelected=0;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(t){t?.popup&&(this._popupsEnabled=t?.popupEnabled),this._initSearchConfiguration(this.searchConfiguration)}async watchSearchConfigurationHandler(t,i){const s=JSON.stringify(t);this.mapView&&(s!==JSON.stringify(i)||s&&!this._searchConfiguration)&&(this._searchConfiguration=JSON.parse(s),this.searchConfigurationChange.emit(this._searchConfiguration),this._home())}async sketchLineSymbolWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._setLineSymbol(t)}async sketchPointSymbolWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._setPointSymbol(t)}async sketchPolygonSymbolWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._setPolygonSymbol(t)}async pageTypeWatchHandler(t,i){if(this._checkPopups(),this.mapView?.popup&&(this.mapView.popupEnabled=t===n.LIST&&this._popupsEnabled),t===n.EXPORT&&(this._fetchingData=!0,this._numDuplicates=await this._getNumDuplicates(),this._updateExportGraphics(),this._fetchingData=!1),this._clearHighlight(),i!==n.SELECT&&i!==n.REFINE||await this._clearSelection(),i===n.EXPORT&&this._removeExportGraphics(),t!==n.SELECT)return this._highlightFeatures()}searchConfigurationChange;selectionSetsChanged(t){this._selectionSets=[...t.detail]}connectedCallback(){this._mediaQuery=window.matchMedia("(max-width: 600px)"),this._mediaQuery.addEventListener("change",(t=>this._setIsMobile(t)))}async componentWillLoad(){await this._getTranslations(),await this._initModules(),this._initSymbols(),this._onboardingImageUrl=e("assets/data/images/onboarding.png")}render(){return a(l,{key:"61ed8da1de1c6780188fb7bd4f69c82036ddf705"},a("calcite-shell",{key:"9eb929b7d27d103a207be34681623ca2e0097ef1"},a("calcite-action-bar",{key:"3c7ad5516fdca78819ebdbdc7c41642c816239ec",class:"border-bottom-1 action-bar-size","expand-disabled":!0,layout:"horizontal",slot:this._isMobile?"footer":"header"},this._getActionGroup("list-check",n.LIST,this._translations.myLists),this.showRefineSelection?this._getActionGroup("test-data",n.REFINE,this._translations.refineSelection):null,this._getActionGroup("export",n.EXPORT,this._translations.export)),this._getPage(this._pageType)))}async componentDidLoad(){this._initSearchConfiguration(this.searchConfiguration)}disconnectedCallback(){this._mediaQuery.removeEventListener("change",(t=>this._setIsMobile(t)))}async _initModules(){const[t,i,s]=await c(["esri/geometry/geometryEngine","esri/symbols/support/jsonUtils","esri/Graphic"]);this._geometryEngine=t,this._jsonUtils=i,this.Graphic=s}_initSearchConfiguration(t){this.searchConfiguration&&!this._searchConfiguration&&this.mapView&&(this._searchConfiguration=t,this.searchConfigurationChange.emit(this._searchConfiguration),this._home())}_initSymbols(){this._setLineSymbol(this.sketchLineSymbol),this._setPointSymbol(this.sketchPointSymbol),this._setPolygonSymbol(this.sketchPolygonSymbol)}_setLineSymbol(t){this.sketchLineSymbol="simple-line"===t?.type?t:this._jsonUtils.fromJSON(t||{type:"esriSLS",color:[130,130,130,255],width:2,style:"esriSLSSolid"})}_setPointSymbol(t){this.sketchPointSymbol="simple-marker"===t?.type?t:this._jsonUtils.fromJSON(t||{type:"esriSMS",color:[255,255,255,255],angle:0,xoffset:0,yoffset:0,size:6,style:"esriSMSCircle",outline:{type:"esriSLS",color:[50,50,50,255],width:1,style:"esriSLSSolid"}})}_setPolygonSymbol(t){this.sketchPolygonSymbol="simple-fill"===t?.type?t:this._jsonUtils.fromJSON(t||{type:"esriSFS",color:[150,150,150,51],outline:{type:"esriSLS",color:[50,50,50,255],width:2,style:"esriSLSSolid"},style:"esriSFSSolid"})}_setIsMobile(t){this._isMobile=t.matches}_getActionGroup(t,i,s){return a("calcite-action-group",{class:this.showRefineSelection?"w-1-3":"w-1-2",layout:"horizontal"},a("div",{class:"background-override"},a("calcite-action",{active:this._pageType===i,alignment:"center",class:"width-full height-full",icon:t,id:t,onClick:()=>{this._setPageType(i)},text:""})),a("calcite-tooltip",{label:"",placement:"bottom","reference-element":t},a("span",null,s)))}_setPageType(t){this._pageType=t}_getPage(t){let i;switch(t){case n.LIST:i=this._getListPage();break;case n.SELECT:i=this._getSelectPage();break;case n.EXPORT:i=this._getExportPage();break;case n.REFINE:i=this._getRefinePage()}return i}_getListPage(){const t=this._hasSelections(),i=t?this._translations.listHasSetsTip:""!==this.initialNotice?this.initialNotice:this._translations.selectLayerAndAdd;return a("calcite-panel",null,this._getLabel(this._translations.myLists),this._getNotice(i,"padding-sides-1 padding-bottom-1","word-wrap-anywhere"),t?this._getSelectionSetList():this._getOnboardingImage(),a("div",{class:"display-flex padding-1"},a("calcite-button",{onClick:()=>{this._setPageType(n.SELECT)},width:"full"},a("span",{class:"font-weight-500"},this._translations.add))))}_getOnboardingImage(){return a("div",{class:"display-flex padding-sides-1"},a("img",{class:"img-container",role:"presentation",src:this._onboardingImageUrl}))}_getSelectionSetList(){return a("div",{class:"padding-top-1-2 padding-bottom-1-2"},a("calcite-list",{class:"list-border margin-sides-1",label:""},this._selectionSets.reduce(((t,i,s)=>{const e=this._getSelectionSetIds(i);let l=!0;return i.workflowType===h.REFINE&&(l=Object.keys(i.refineInfos).reduce(((t,s)=>{const e=i.refineInfos[s];return t+(e.addIds.length+e.removeIds.length)}),0)>0),l&&t.push(a("calcite-list-item",{label:i.label,onClick:()=>this._gotoSelection(i,this.mapView)},a("div",{slot:"content"},a("div",{class:"list-label"},i.label),a("div",{class:"list-description"},i?.layerView?.layer.title),a("div",{class:"list-description"},this._translations.selectedFeatures.replace("{{n}}",e.length.toString()))),this._getAction(!0,"pencil","",(t=>this._openSelection(i,t)),!1,"actions-end"),this._getAction(!0,"x","",(t=>this._deleteSelection(s,t)),!1,"actions-end"))),t}),[])))}_getSelectionSetIds(t){return t.workflowType!==h.REFINE?t.selectedIds:Object.keys(t.refineInfos).reduce(((i,s)=>[...i,...t.refineInfos[s].addIds]),[])}_hasSelections(t=!1){let i=[];const s=this._selectionSets.some((t=>{if(t.workflowType===h.REFINE)return i=this._getSelectionSetIds(t),!0}));return t&&s?i.length>0||this._selectionSets.length>1:this._selectionSets.length>0}async _getNumDuplicates(){const t=this._getExportInfos(),i=await b(this.mapView.map,t),s=m(i);return i.length-s.length}_getExportInfos(){return this._selectionSets.reduce(((t,i)=>(i.download&&(i.workflowType!==h.REFINE?this._updateIds(i.layerView.layer.id,i.layerView,i.selectedIds,t):Object.keys(i.refineInfos).forEach((s=>{const e=i.refineInfos[s];e.addIds.length>0&&this._updateIds(s,e.layerView,e.addIds,t)}))),t)),{})}_updateIds(t,i,s,e){return e[t]?e[t].ids=e[t].ids.concat(s):e[t]={layerView:i,ids:s},e}_getSelectPage(){const t=this._translations.selectSearchTip;return a("calcite-panel",null,this._getLabel(this._translations.stepTwoFull,!0),this._getNotice(t,"padding-1","word-wrap-anywhere"),a("div",null,a("map-select-tools",{bufferColor:this.bufferColor,bufferOutlineColor:this.bufferOutlineColor,class:"font-bold",customLabelEnabled:this.customLabelEnabled,defaultBufferDistance:this.defaultBufferDistance,defaultBufferUnit:this.defaultBufferUnit,enableLayerFeatures:this.enableLayerFeatures,enableLayerFeaturesOnLoad:this.enableLayerFeaturesOnLoad,enableSearchDistance:this.enableSearchDistance,enableSearchDistanceOnLoad:this.enableSearchDistanceOnLoad,enableSketchTools:this.enableSketchTools,enabledLayerIds:this.addresseeLayerIds,isUpdate:!!this._activeSelection,locale:this.locale,mapView:this.mapView,noResultText:this.noResultText,onSelectionSetChange:t=>this._updateForSelection(t),ref:t=>{this._selectTools=t},searchConfiguration:this._searchConfiguration,searchDistanceEnabled:this.enableSearchDistanceOnLoad,selectionLayerIds:this.selectionLayerIds,selectionSet:this._activeSelection,sketchLineSymbol:this.sketchLineSymbol,sketchPointSymbol:this.sketchPointSymbol,sketchPolygonSymbol:this.sketchPolygonSymbol,useLayerFeaturesEnabled:this.enableLayerFeaturesOnLoad})),this._getPageNavButtons(this._translations.done,0===this._numSelected,(()=>{this._saveSelection()}),this._translations.cancel,!1,(()=>{this._home()})))}_getExportPage(){const t=this._hasSelections(this.showRefineSelection),i=this._numDuplicates>0?"display-block":"display-none";return a("calcite-panel",null,a("div",null,this._getLabel(this._translations.export,!1),t?a("div",null,this._getNotice(this._translations.exportTip,"padding-sides-1"),this._getLabel(this._translations.exportListsLabel),this._getExportSelectionLists(),a("div",{class:"padding-sides-1 "+i},a("div",{class:"display-flex"},a("calcite-label",{layout:"inline"},a("calcite-checkbox",{ref:t=>{this._removeDuplicates=t}}),a("div",{class:"display-flex"},this._translations.removeDuplicate,a("div",{class:"info-message padding-start-1-2"},a("calcite-input-message",{class:"info-blue margin-top-0",scale:"m"},` ${this._translations.numDuplicates.replace("{{n}}",this._numDuplicates.toString())}`)))),a("calcite-icon",{class:"padding-start-1-2 icon",flipRtl:!("he"===this.locale?.toLowerCase()),icon:"question",id:"remove-duplicates-icon",scale:"s"})),a("calcite-popover",{closable:!0,label:"",referenceElement:"remove-duplicates-icon"},a("span",{class:"tooltip-message"},this._translations.duplicatesTip))),a("div",{class:"border-bottom"}),a("div",{class:"padding-top-sides-1"},a("calcite-segmented-control",{class:"w-100",onCalciteSegmentedControlChange:t=>this._exportTypeChange(t),width:"full"},a("calcite-segmented-control-item",{checked:this._exportType===o.PDF,class:"w-50 end-border",value:o.PDF},a("span",{class:"font-weight-500"},this._translations.pdf)),a("calcite-segmented-control-item",{checked:this._exportType===o.CSV,class:"w-50",value:o.CSV},a("span",{class:"font-weight-500"},this._translations.csv)))),a("div",{class:"padding-bottom-1"},this._getExportOptions()),a("div",{class:"padding-1 display-flex"},a("calcite-button",{disabled:!this._downloadActive||this._fetchingData||!this._addMap&&!this._addResults,loading:this._fetchingData,onClick:()=>{this._export()},width:"full"},a("span",{class:"font-weight-500"},this._translations.export)))):this._getNotice(this._translations.downloadNoLists,"padding-sides-1 padding-bottom-1")))}_exportTypeChange(t){this._exportType=t.target.value}_getExportOptions(){const t=this._addTitle?"display-block":"display-none",i=this._addMap?"display-flex":"display-none",s=this._titleValue?this._titleValue:this.defaultExportTitle?this.defaultExportTitle:"",e=this._addResults?"":"display-none";return a("div",{class:this._exportType===o.PDF?"display-block":"display-none"},this._getLabel(this._translations.pdfOptions,!0),a("div",{class:"padding-top-sides-1"},a("calcite-label",{class:"label-margin-0",layout:"inline"},a("calcite-checkbox",{checked:this._addResults,onCalciteCheckboxChange:()=>this._addResults=!this._addResults}),this._translations.addResults)),a("div",{class:`padding-top-sides-1 ${e}`},a("calcite-label",{class:"label-margin-0"},this._translations.selectPDFLabelOption)),a("div",{class:`padding-sides-1 ${e}`},a("pdf-download",{defaultNumLabelsPerPage:parseInt(this.defaultNumLabelsPerPage.toString(),10),disabled:!this._downloadActive,locale:this.locale,ref:t=>{this._downloadTools=t}})),a("div",{class:"padding-top-sides-1"},a("calcite-label",{class:"label-margin-0",layout:"inline"},a("calcite-checkbox",{checked:this._addTitle,onCalciteCheckboxChange:()=>this._addTitle=!this._addTitle}),this._translations.title)),a("div",{class:t},this._getLabel(this._translations.title,!0,""),a("calcite-input-text",{class:"padding-sides-1",onCalciteInputTextInput:()=>this._changeTitle(),placeholder:this._translations.titlePlaceholder,ref:t=>{this._titleElement=t},value:s})),a("div",{class:"padding-top-sides-1"},a("calcite-label",{class:"label-margin-0",layout:"inline"},a("calcite-checkbox",{checked:this._addMap,onCalciteCheckboxChange:()=>this._handleAddMapChange()}),this._translations.includeMap)),a("div",{class:`padding-top-sides-1 ${i}`},a("calcite-label",{class:"label-margin-0",layout:"inline"},a("calcite-checkbox",{checked:this._exportGraphics,onCalciteCheckboxChange:()=>this._handleExportGraphicsChange()}),this._translations.listGraphics),a("calcite-icon",{class:"padding-start-1-2 icon",flipRtl:!("he"===this.locale?.toLowerCase()),icon:"question",id:"list-graphics-icon",scale:"s"}),a("calcite-popover",{closable:!0,label:"",referenceElement:"list-graphics-icon"},a("span",{class:"tooltip-message"},this._translations.listGraphicsTip))))}_handleAddMapChange(){this._addMap=!this._addMap,this._updateExportGraphics()}_handleExportGraphicsChange(){this._exportGraphics=!this._exportGraphics,this._updateExportGraphics()}_getManagedLayer(t){let i;return Object.keys(g.managedLayers).some((s=>{const e=this.mapView.map.layers.findIndex((t=>t.title===s));if(g.managedLayers[s]===t)return i=this.mapView.map.layers.getItemAt(e),!0})),i}_updateExportGraphics(t=!1){!t&&this._exportGraphics&&this._addMap||this._removeExportGraphics(),this._exportGraphics&&this._addMap&&this._addExportGraphics()}_removeExportGraphics(){const t=this._getManagedLayer("sketch"),i=this._getManagedLayer("buffer");t&&t.graphics.removeAll(),i&&i.graphics.removeAll()}_addExportGraphics(){const t=this._getManagedLayer("sketch"),i=this._getManagedLayer("buffer");this._selectionSets.forEach((s=>{if(s.download&&(t&&t.graphics.add(s.sketchGraphic),i)){const t=new this.Graphic({geometry:s.buffer,symbol:{type:"simple-fill",color:this.bufferColor,outline:{color:this.bufferOutlineColor,width:1}}});i.graphics.add(t)}}))}_getRefinePage(){const t=this._hasSelections();return a("calcite-panel",null,this._getLabel(this._translations.refineSelection),t?a("div",null,this._getNotice(this._translations.refineTip,"padding-sides-1"),a("refine-selection",{enabledLayerIds:this.selectionLayerIds,locale:this.locale,mapView:this.mapView,selectionSets:this._selectionSets,sketchLineSymbol:this.sketchLineSymbol,sketchPointSymbol:this.sketchPointSymbol,sketchPolygonSymbol:this.sketchPolygonSymbol})):this._getNotice(this._translations.refineTipNoSelections,"padding-sides-1"))}_getPageNavButtons(t,i,s,e,l,o){return a("div",{class:"padding-bottom-1"},a("div",{class:"display-flex padding-top-sides-1"},a("calcite-button",{disabled:i,onClick:s,width:"full"},a("span",{class:"font-weight-500"},t))),a("div",{class:"display-flex padding-top-1-2 padding-sides-1"},a("calcite-button",{appearance:"outline",disabled:l,onClick:o,width:"full"},a("span",{class:"font-weight-500"},e))))}_changeTitle(){this._titleValue=this._titleElement.value}_getNotice(t,i="padding-1",s=""){return a("calcite-notice",{class:i,icon:"lightbulb",kind:"success",open:!0},a("div",{class:s,slot:"message"},t))}_getLabel(t,i=!1,s="font-bold"){return a("div",{class:"padding-top-sides-1"},a("calcite-label",{class:s+=i?" label-margin-0":""},t))}_getExportSelectionLists(){return this._selectionSets.reduce(((t,i)=>{const s=this._getSelectionSetIds(i),e=i.workflowType!==h.REFINE||s.length>0;return!this._downloadActive&&i.download&&e&&(this._downloadActive=!0),e&&t.push(a("div",{class:"display-flex padding-sides-1 padding-bottom-1"},a("calcite-checkbox",{checked:i.download,class:"align-center",onClick:()=>{this._toggleDownload(i.id)}}),a("calcite-list",{class:"list-border margin-start-1-2 width-full",id:"download-list",label:""},a("calcite-list-item",{disabled:!i.download,label:i.label,onClick:()=>{this._toggleDownload(i.id)}},a("div",{slot:"content"},a("div",{class:"list-label"},i.label),a("div",{class:"list-description"},i?.layerView?.layer.title),a("div",{class:"list-description"},this._translations.selectedFeatures.replace("{{n}}",s.length.toString()))))))),t}),[])||a("div",null)}async _toggleDownload(t){let i=!1;this._selectionSets=this._selectionSets.map((s=>(s.download=s.id===t?!s.download:s.download,i=!!s.download||i,s))),this._updateExportGraphics(!0),this._downloadActive=i,this._fetchingData=!0,this._numDuplicates=await this._getNumDuplicates(),this._fetchingData=!1,await this._highlightFeatures()}async _export(){const t=this._addResults?this._getSelectionIdsAndViews(this._selectionSets,!0):{};if(this._exportType===o.PDF){let i="";if(this._addMap&&this.mapView){const t=await this.mapView.takeScreenshot({width:1500,height:2e3});i=t?.dataUrl}this._fetchingData=!0,await this._downloadTools.downloadPDF(this.mapView.map,t,this._removeDuplicates.checked,this._addTitle?this._titleElement.value:"",i),this._fetchingData=!1}this._exportType===o.CSV&&(this._fetchingData=!0,await this._downloadTools.downloadCSV(this.mapView.map,t,this._removeDuplicates.checked),this._fetchingData=!1)}_getSelectionIdsAndViews(t,i=!1){return(i?t.filter((t=>t.download)):t).reduce(((t,i)=>{if(i.workflowType===h.REFINE)Object.keys(i.refineInfos).forEach((s=>{const e=i.refineInfos[s];e.addIds&&(t=this._updateExportInfos(t,e.layerView.layer.id,i.label,e.addIds,e.layerView))}));else{const s=i?.layerView?.layer.id;t=this._updateExportInfos(t,s,i.label,i.selectedIds,i.layerView)}return t}),{})}_updateExportInfos(t,i,s,e,a){return i&&Object.keys(t).indexOf(i)>-1?(t[i].ids=[...new Set([...t[i].ids,...e])],t[i].selectionSetNames.push(s)):i&&(t[i]={ids:e,layerView:a,selectionSetNames:[s]}),t}_getAction(t,i,s,e,l=!1,o=""){return a("calcite-action",{disabled:!t,icon:i,iconFlipRtl:!0,indicator:l,onClick:e,slot:o,text:s})}_updateForSelection(t){this._numSelected=t.detail,this._saveEnabled=this._numSelected>0}async _home(){await this._clearSelection(),this._setPageType(n.LIST)}async _saveSelection(){const t=await(this._selectTools?.getSelection()),i=this._selectTools?.isUpdate;return this._selectionSets=i?this._selectionSets.map((i=>i.id===t.id?t:i)):[...this._selectionSets,t],this._home()}async _clearSelection(){await(this._selectTools?.clearSelection()),this._numSelected=0,this._activeSelection=void 0}_deleteSelection(t,i){return i.stopPropagation(),this._selectionSets=this._selectionSets.filter(((i,s)=>{if(s!==t)return i})),this._highlightFeatures()}_gotoSelection(t,i){d(t.selectedIds,t.layerView,i,this.featureHighlightEnabled,this.featureEffect)}_openSelection(t,i){i.stopPropagation(),this._activeSelection=t,this._pageType=t.workflowType===h.REFINE?n.REFINE:n.SELECT}async _highlightFeatures(){this._clearHighlight();const t=this._getSelectionIdsAndViews(this._selectionSets,this._pageType===n.EXPORT),i=Object.keys(t);if(i.length>0)for(let s=0;s<i.length;s++){const e=t[i[s]];g.highlightHandles.push(await p(e.ids,e.layerView,this.mapView))}}_checkPopups(){"boolean"!=typeof this._popupsEnabled&&(this._popupsEnabled=this.mapView?.popupEnabled)}_clearHighlight(){g&&g.highlightHandles&&g.removeHandles()}async _getTranslations(){const t=await r(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],searchConfiguration:["watchSearchConfigurationHandler"],sketchLineSymbol:["sketchLineSymbolWatchHandler"],sketchPointSymbol:["sketchPointSymbolWatchHandler"],sketchPolygonSymbol:["sketchPolygonSymbolWatchHandler"],_pageType:["pageTypeWatchHandler"]}}};u.style=':host{display:block;--calcite-input-message-spacing-value:0}.align-center{align-items:center}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-color-border-3)}.action-bar-size{height:3.5rem;width:100%}.w-1-2{width:50%}.w-1-3{width:33.33%}.width-full{width:100%}.height-full{height:100%}.padding-1{padding:1rem}.padding-top-sides-1{padding-block-start:1rem;padding-inline-start:1rem;padding-inline-end:1rem}.padding-sides-1{padding-inline-start:1rem;padding-inline-end:1rem}.padding-end-1-2{padding-inline-end:.5rem}.padding-top-1-2{padding-block-start:.5rem}.padding-top-1{padding-top:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-bottom-1-2{padding-bottom:.5rem}.info-blue{color:#00A0FF}.info-message{justify-content:center;display:grid}.font-bold{font-weight:bold}.display-flex{display:flex}.display-block{display:block}.display-none{display:none}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-start-1-2{padding-inline-start:0.5rem}.list-border{border:1px solid var(--calcite-color-border-2)}.margin-sides-1{margin-inline-start:1rem;margin-inline-end:1rem}.margin-start-1-2{margin-inline-start:0.5rem}.float-right{float:right}.float-right[dir="rtl"]{float:left}.float-left{float:left}.float-left[dir="rtl"]{float:right}.margin-top-0{margin-block-start:0 !important}.height-1-1-2{height:1.5rem}.main-background{background-color:var(--calcite-color-foreground-2)}.position-right{position:absolute;right:1rem}.position-right[dir="rtl"]{position:absolute;left:1rem}.label-margin-0{--calcite-label-margin-bottom:0}.list-label{color:var(--calcite-color-text-1)}.list-label,.list-description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.list-description{margin-block-start:0.125rem;color:var(--calcite-color-text-3)}.img-container{width:100%;height:100%}.font-weight-500{font-weight:500}.background-override{height:100%;width:100%;--calcite-color-foreground-3:var(--calcite-color-brand);--calcite-color-foreground-2:var(--calcite-color-brand-hover);--calcite-color-text-1:var(--calcite-color-text-inverse)}.word-wrap-anywhere{word-wrap:anywhere}';export{u as public_notification}
6
+ import{r as t,c as i,g as s,a as e,h as a,H as l}from"./p-e996c38f.js";import{b as o,c as n,a as h}from"./p-80cb7c73.js";import{l as c,g as r}from"./p-404cbf48.js";import{e as d,h as p}from"./p-dcd2f00b.js";import{s as g}from"./p-e6859850.js";import{c as b,r as m}from"./p-db3391b9.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-8717729a.js";import"./p-4fe489cf.js";import"./p-2bc98cb0.js";import"./p-4f236b5d.js";import"./p-570b13d9.js";import"./p-0668e30d.js";const u=class{constructor(s){t(this,s),this.searchConfigurationChange=i(this,"searchConfigurationChange",7),this.addresseeLayerIds=[],this.bufferColor=[227,139,79,.8],this.bufferOutlineColor=[255,255,255],this.customLabelEnabled=void 0,this.defaultBufferDistance=void 0,this.defaultBufferUnit=void 0,this.defaultExportTitle="",this.defaultNumLabelsPerPage=6,this.enableLayerFeatures=!0,this.enableLayerFeaturesOnLoad=!1,this.enableSearchDistance=!0,this.enableSearchDistanceOnLoad=!1,this.enableSketchTools=!0,this.featureEffect=void 0,this.featureHighlightEnabled=void 0,this.locale=void 0,this.mapView=void 0,this.noResultText=void 0,this.initialNotice="",this.searchConfiguration=void 0,this.selectionLayerIds=[],this.showRefineSelection=!1,this.showSearchSettings=!0,this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this._exportGraphics=!1,this._addMap=!1,this._addResults=!0,this._addTitle=!1,this._downloadActive=!0,this._exportType=o.PDF,this._fetchingData=!1,this._isMobile=void 0,this._numDuplicates=0,this._pageType=n.LIST,this._saveEnabled=!1,this._selectionSets=[],this._translations=void 0}get el(){return s(this)}_activeSelection;_downloadTools;_geometryEngine;Graphic;_jsonUtils;_onboardingImageUrl="";_popupsEnabled;_removeDuplicates;_searchConfiguration;_selectTools;_mediaQuery;_titleElement;_titleValue=void 0;_numSelected=0;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(t){t?.popup&&(this._popupsEnabled=t?.popupEnabled),this._initSearchConfiguration(this.searchConfiguration)}async watchSearchConfigurationHandler(t,i){const s=JSON.stringify(t);this.mapView&&(s!==JSON.stringify(i)||s&&!this._searchConfiguration)&&(this._searchConfiguration=JSON.parse(s),this.searchConfigurationChange.emit(this._searchConfiguration),this._home())}async sketchLineSymbolWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._setLineSymbol(t)}async sketchPointSymbolWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._setPointSymbol(t)}async sketchPolygonSymbolWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._setPolygonSymbol(t)}async pageTypeWatchHandler(t,i){if(this._checkPopups(),this.mapView?.popup&&(this.mapView.popupEnabled=t===n.LIST&&this._popupsEnabled),t===n.EXPORT&&(this._fetchingData=!0,this._numDuplicates=await this._getNumDuplicates(),this._updateExportGraphics(),this._fetchingData=!1),this._clearHighlight(),i!==n.SELECT&&i!==n.REFINE||await this._clearSelection(),i===n.EXPORT&&this._removeExportGraphics(),t!==n.SELECT)return this._highlightFeatures()}searchConfigurationChange;selectionSetsChanged(t){this._selectionSets=[...t.detail]}connectedCallback(){this._mediaQuery=window.matchMedia("(max-width: 600px)"),this._mediaQuery.addEventListener("change",(t=>this._setIsMobile(t)))}async componentWillLoad(){await this._getTranslations(),await this._initModules(),this._initSymbols(),this._onboardingImageUrl=e("assets/data/images/onboarding.png")}render(){return a(l,{key:"61ed8da1de1c6780188fb7bd4f69c82036ddf705"},a("calcite-shell",{key:"9eb929b7d27d103a207be34681623ca2e0097ef1"},a("calcite-action-bar",{key:"3c7ad5516fdca78819ebdbdc7c41642c816239ec",class:"border-bottom-1 action-bar-size","expand-disabled":!0,layout:"horizontal",slot:this._isMobile?"footer":"header"},this._getActionGroup("list-check",n.LIST,this._translations.myLists),this.showRefineSelection?this._getActionGroup("test-data",n.REFINE,this._translations.refineSelection):null,this._getActionGroup("export",n.EXPORT,this._translations.export)),this._getPage(this._pageType)))}async componentDidLoad(){this._initSearchConfiguration(this.searchConfiguration)}disconnectedCallback(){this._mediaQuery.removeEventListener("change",(t=>this._setIsMobile(t)))}async _initModules(){const[t,i,s]=await c(["esri/geometry/geometryEngine","esri/symbols/support/jsonUtils","esri/Graphic"]);this._geometryEngine=t,this._jsonUtils=i,this.Graphic=s}_initSearchConfiguration(t){this.searchConfiguration&&!this._searchConfiguration&&this.mapView&&(this._searchConfiguration=t,this.searchConfigurationChange.emit(this._searchConfiguration),this._home())}_initSymbols(){this._setLineSymbol(this.sketchLineSymbol),this._setPointSymbol(this.sketchPointSymbol),this._setPolygonSymbol(this.sketchPolygonSymbol)}_setLineSymbol(t){this.sketchLineSymbol="simple-line"===t?.type?t:this._jsonUtils.fromJSON(t||{type:"esriSLS",color:[130,130,130,255],width:2,style:"esriSLSSolid"})}_setPointSymbol(t){this.sketchPointSymbol="simple-marker"===t?.type?t:this._jsonUtils.fromJSON(t||{type:"esriSMS",color:[255,255,255,255],angle:0,xoffset:0,yoffset:0,size:6,style:"esriSMSCircle",outline:{type:"esriSLS",color:[50,50,50,255],width:1,style:"esriSLSSolid"}})}_setPolygonSymbol(t){this.sketchPolygonSymbol="simple-fill"===t?.type?t:this._jsonUtils.fromJSON(t||{type:"esriSFS",color:[150,150,150,51],outline:{type:"esriSLS",color:[50,50,50,255],width:2,style:"esriSLSSolid"},style:"esriSFSSolid"})}_setIsMobile(t){this._isMobile=t.matches}_getActionGroup(t,i,s){return a("calcite-action-group",{class:this.showRefineSelection?"w-1-3":"w-1-2",layout:"horizontal"},a("div",{class:"background-override"},a("calcite-action",{active:this._pageType===i,alignment:"center",class:"width-full height-full",icon:t,id:t,onClick:()=>{this._setPageType(i)},text:""})),a("calcite-tooltip",{label:"",placement:"bottom","reference-element":t},a("span",null,s)))}_setPageType(t){this._pageType=t}_getPage(t){let i;switch(t){case n.LIST:i=this._getListPage();break;case n.SELECT:i=this._getSelectPage();break;case n.EXPORT:i=this._getExportPage();break;case n.REFINE:i=this._getRefinePage()}return i}_getListPage(){const t=this._hasSelections(),i=t?this._translations.listHasSetsTip:""!==this.initialNotice?this.initialNotice:this._translations.selectLayerAndAdd;return a("calcite-panel",null,this._getLabel(this._translations.myLists),this._getNotice(i,"padding-sides-1 padding-bottom-1","word-wrap-anywhere"),t?this._getSelectionSetList():this._getOnboardingImage(),a("div",{class:"display-flex padding-1"},a("calcite-button",{onClick:()=>{this._setPageType(n.SELECT)},width:"full"},a("span",{class:"font-weight-500"},this._translations.add))))}_getOnboardingImage(){return a("div",{class:"display-flex padding-sides-1"},a("img",{class:"img-container",role:"presentation",src:this._onboardingImageUrl}))}_getSelectionSetList(){return a("div",{class:"padding-top-1-2 padding-bottom-1-2"},a("calcite-list",{class:"list-border margin-sides-1",label:""},this._selectionSets.reduce(((t,i,s)=>{const e=this._getSelectionSetIds(i);let l=!0;return i.workflowType===h.REFINE&&(l=Object.keys(i.refineInfos).reduce(((t,s)=>{const e=i.refineInfos[s];return t+(e.addIds.length+e.removeIds.length)}),0)>0),l&&t.push(a("calcite-list-item",{label:i.label,onClick:()=>this._gotoSelection(i,this.mapView)},a("div",{slot:"content"},a("div",{class:"list-label"},i.label),a("div",{class:"list-description"},i?.layerView?.layer.title),a("div",{class:"list-description"},this._translations.selectedFeatures.replace("{{n}}",e.length.toString()))),this._getAction(!0,"pencil","",(t=>this._openSelection(i,t)),!1,"actions-end"),this._getAction(!0,"x","",(t=>this._deleteSelection(s,t)),!1,"actions-end"))),t}),[])))}_getSelectionSetIds(t){return t.workflowType!==h.REFINE?t.selectedIds:Object.keys(t.refineInfos).reduce(((i,s)=>[...i,...t.refineInfos[s].addIds]),[])}_hasSelections(t=!1){let i=[];const s=this._selectionSets.some((t=>{if(t.workflowType===h.REFINE)return i=this._getSelectionSetIds(t),!0}));return t&&s?i.length>0||this._selectionSets.length>1:this._selectionSets.length>0}async _getNumDuplicates(){const t=this._getExportInfos(),i=await b(this.mapView.map,t),s=m(i);return i.length-s.length}_getExportInfos(){return this._selectionSets.reduce(((t,i)=>(i.download&&(i.workflowType!==h.REFINE?this._updateIds(i.layerView.layer.id,i.layerView,i.selectedIds,t):Object.keys(i.refineInfos).forEach((s=>{const e=i.refineInfos[s];e.addIds.length>0&&this._updateIds(s,e.layerView,e.addIds,t)}))),t)),{})}_updateIds(t,i,s,e){return e[t]?e[t].ids=e[t].ids.concat(s):e[t]={layerView:i,ids:s},e}_getSelectPage(){const t=this._translations.selectSearchTip;return a("calcite-panel",null,this._getLabel(this._translations.stepTwoFull,!0),this._getNotice(t,"padding-1","word-wrap-anywhere"),a("div",null,a("map-select-tools",{bufferColor:this.bufferColor,bufferOutlineColor:this.bufferOutlineColor,class:"font-bold",customLabelEnabled:this.customLabelEnabled,defaultBufferDistance:this.defaultBufferDistance,defaultBufferUnit:this.defaultBufferUnit,enableLayerFeatures:this.enableLayerFeatures,enableLayerFeaturesOnLoad:this.enableLayerFeaturesOnLoad,enableSearchDistance:this.enableSearchDistance,enableSearchDistanceOnLoad:this.enableSearchDistanceOnLoad,enableSketchTools:this.enableSketchTools,enabledLayerIds:this.addresseeLayerIds,isUpdate:!!this._activeSelection,locale:this.locale,mapView:this.mapView,noResultText:this.noResultText,onSelectionSetChange:t=>this._updateForSelection(t),ref:t=>{this._selectTools=t},searchConfiguration:this._searchConfiguration,searchDistanceEnabled:this.enableSearchDistanceOnLoad,selectionLayerIds:this.selectionLayerIds,selectionSet:this._activeSelection,sketchLineSymbol:this.sketchLineSymbol,sketchPointSymbol:this.sketchPointSymbol,sketchPolygonSymbol:this.sketchPolygonSymbol,useLayerFeaturesEnabled:this.enableLayerFeaturesOnLoad})),this._getPageNavButtons(this._translations.done,0===this._numSelected,(()=>{this._saveSelection()}),this._translations.cancel,!1,(()=>{this._home()})))}_getExportPage(){const t=this._hasSelections(this.showRefineSelection),i=this._numDuplicates>0?"display-block":"display-none";return a("calcite-panel",null,a("div",null,this._getLabel(this._translations.export,!1),t?a("div",null,this._getNotice(this._translations.exportTip,"padding-sides-1"),this._getLabel(this._translations.exportListsLabel),this._getExportSelectionLists(),a("div",{class:"padding-sides-1 "+i},a("div",{class:"display-flex"},a("calcite-label",{layout:"inline"},a("calcite-checkbox",{ref:t=>{this._removeDuplicates=t}}),a("div",{class:"display-flex"},this._translations.removeDuplicate,a("div",{class:"info-message padding-start-1-2"},a("calcite-input-message",{class:"info-blue margin-top-0",scale:"m"},` ${this._translations.numDuplicates.replace("{{n}}",this._numDuplicates.toString())}`)))),a("calcite-icon",{class:"padding-start-1-2 icon",flipRtl:!("he"===this.locale?.toLowerCase()),icon:"question",id:"remove-duplicates-icon",scale:"s"})),a("calcite-popover",{closable:!0,label:"",referenceElement:"remove-duplicates-icon"},a("span",{class:"tooltip-message"},this._translations.duplicatesTip))),a("div",{class:"border-bottom"}),a("div",{class:"padding-top-sides-1"},a("calcite-segmented-control",{class:"w-100",onCalciteSegmentedControlChange:t=>this._exportTypeChange(t),width:"full"},a("calcite-segmented-control-item",{checked:this._exportType===o.PDF,class:"w-50 end-border",value:o.PDF},a("span",{class:"font-weight-500"},this._translations.pdf)),a("calcite-segmented-control-item",{checked:this._exportType===o.CSV,class:"w-50",value:o.CSV},a("span",{class:"font-weight-500"},this._translations.csv)))),a("div",{class:"padding-bottom-1"},this._getExportOptions()),a("div",{class:"padding-1 display-flex"},a("calcite-button",{disabled:!this._downloadActive||this._fetchingData||!this._addMap&&!this._addResults,loading:this._fetchingData,onClick:()=>{this._export()},width:"full"},a("span",{class:"font-weight-500"},this._translations.export)))):this._getNotice(this._translations.downloadNoLists,"padding-sides-1 padding-bottom-1")))}_exportTypeChange(t){this._exportType=t.target.value}_getExportOptions(){const t=this._addTitle?"display-block":"display-none",i=this._addMap?"display-flex":"display-none",s=this._titleValue?this._titleValue:this.defaultExportTitle?this.defaultExportTitle:"",e=this._addResults?"":"display-none";return a("div",{class:this._exportType===o.PDF?"display-block":"display-none"},this._getLabel(this._translations.pdfOptions,!0),a("div",{class:"padding-top-sides-1"},a("calcite-label",{class:"label-margin-0",layout:"inline"},a("calcite-checkbox",{checked:this._addResults,onCalciteCheckboxChange:()=>this._addResults=!this._addResults}),this._translations.addResults)),a("div",{class:`padding-top-sides-1 ${e}`},a("calcite-label",{class:"label-margin-0"},this._translations.selectPDFLabelOption)),a("div",{class:`padding-sides-1 ${e}`},a("pdf-download",{defaultNumLabelsPerPage:parseInt(this.defaultNumLabelsPerPage.toString(),10),disabled:!this._downloadActive,locale:this.locale,ref:t=>{this._downloadTools=t}})),a("div",{class:"padding-top-sides-1"},a("calcite-label",{class:"label-margin-0",layout:"inline"},a("calcite-checkbox",{checked:this._addTitle,onCalciteCheckboxChange:()=>this._addTitle=!this._addTitle}),this._translations.title)),a("div",{class:t},this._getLabel(this._translations.title,!0,""),a("calcite-input-text",{class:"padding-sides-1",onCalciteInputTextInput:()=>this._changeTitle(),placeholder:this._translations.titlePlaceholder,ref:t=>{this._titleElement=t},value:s})),a("div",{class:"padding-top-sides-1"},a("calcite-label",{class:"label-margin-0",layout:"inline"},a("calcite-checkbox",{checked:this._addMap,onCalciteCheckboxChange:()=>this._handleAddMapChange()}),this._translations.includeMap)),a("div",{class:`padding-top-sides-1 ${i}`},a("calcite-label",{class:"label-margin-0",layout:"inline"},a("calcite-checkbox",{checked:this._exportGraphics,onCalciteCheckboxChange:()=>this._handleExportGraphicsChange()}),this._translations.listGraphics),a("calcite-icon",{class:"padding-start-1-2 icon",flipRtl:!("he"===this.locale?.toLowerCase()),icon:"question",id:"list-graphics-icon",scale:"s"}),a("calcite-popover",{closable:!0,label:"",referenceElement:"list-graphics-icon"},a("span",{class:"tooltip-message"},this._translations.listGraphicsTip))))}_handleAddMapChange(){this._addMap=!this._addMap,this._updateExportGraphics()}_handleExportGraphicsChange(){this._exportGraphics=!this._exportGraphics,this._updateExportGraphics()}_getManagedLayer(t){let i;return Object.keys(g.managedLayers).some((s=>{const e=this.mapView.map.layers.findIndex((t=>t.title===s));if(g.managedLayers[s]===t)return i=this.mapView.map.layers.getItemAt(e),!0})),i}_updateExportGraphics(t=!1){!t&&this._exportGraphics&&this._addMap||this._removeExportGraphics(),this._exportGraphics&&this._addMap&&this._addExportGraphics()}_removeExportGraphics(){const t=this._getManagedLayer("sketch"),i=this._getManagedLayer("buffer");t&&t.graphics.removeAll(),i&&i.graphics.removeAll()}_addExportGraphics(){const t=this._getManagedLayer("sketch"),i=this._getManagedLayer("buffer");this._selectionSets.forEach((s=>{if(s.download&&(t&&t.graphics.add(s.sketchGraphic),i)){const t=new this.Graphic({geometry:s.buffer,symbol:{type:"simple-fill",color:this.bufferColor,outline:{color:this.bufferOutlineColor,width:1}}});i.graphics.add(t)}}))}_getRefinePage(){const t=this._hasSelections();return a("calcite-panel",null,this._getLabel(this._translations.refineSelection),t?a("div",null,this._getNotice(this._translations.refineTip,"padding-sides-1"),a("refine-selection",{enabledLayerIds:this.selectionLayerIds,locale:this.locale,mapView:this.mapView,selectionSets:this._selectionSets,sketchLineSymbol:this.sketchLineSymbol,sketchPointSymbol:this.sketchPointSymbol,sketchPolygonSymbol:this.sketchPolygonSymbol})):this._getNotice(this._translations.refineTipNoSelections,"padding-sides-1"))}_getPageNavButtons(t,i,s,e,l,o){return a("div",{class:"padding-bottom-1"},a("div",{class:"display-flex padding-top-sides-1"},a("calcite-button",{disabled:i,onClick:s,width:"full"},a("span",{class:"font-weight-500"},t))),a("div",{class:"display-flex padding-top-1-2 padding-sides-1"},a("calcite-button",{appearance:"outline",disabled:l,onClick:o,width:"full"},a("span",{class:"font-weight-500"},e))))}_changeTitle(){this._titleValue=this._titleElement.value}_getNotice(t,i="padding-1",s=""){return a("calcite-notice",{class:i,icon:"lightbulb",kind:"success",open:!0},a("div",{class:s,slot:"message"},t))}_getLabel(t,i=!1,s="font-bold"){return a("div",{class:"padding-top-sides-1"},a("calcite-label",{class:s+=i?" label-margin-0":""},t))}_getExportSelectionLists(){return this._selectionSets.reduce(((t,i)=>{const s=this._getSelectionSetIds(i),e=i.workflowType!==h.REFINE||s.length>0;return!this._downloadActive&&i.download&&e&&(this._downloadActive=!0),e&&t.push(a("div",{class:"display-flex padding-sides-1 padding-bottom-1"},a("calcite-checkbox",{checked:i.download,class:"align-center",onClick:()=>{this._toggleDownload(i.id)}}),a("calcite-list",{class:"list-border margin-start-1-2 width-full",id:"download-list",label:""},a("calcite-list-item",{disabled:!i.download,label:i.label,onClick:()=>{this._toggleDownload(i.id)}},a("div",{slot:"content"},a("div",{class:"list-label"},i.label),a("div",{class:"list-description"},i?.layerView?.layer.title),a("div",{class:"list-description"},this._translations.selectedFeatures.replace("{{n}}",s.length.toString()))))))),t}),[])||a("div",null)}async _toggleDownload(t){let i=!1;this._selectionSets=this._selectionSets.map((s=>(s.download=s.id===t?!s.download:s.download,i=!!s.download||i,s))),this._updateExportGraphics(!0),this._downloadActive=i,this._fetchingData=!0,this._numDuplicates=await this._getNumDuplicates(),this._fetchingData=!1,await this._highlightFeatures()}async _export(){const t=this._addResults?this._getSelectionIdsAndViews(this._selectionSets,!0):{};if(this._exportType===o.PDF){let i="";if(this._addMap&&this.mapView){const t=await this.mapView.takeScreenshot({width:1500,height:2e3});i=t?.dataUrl}this._fetchingData=!0,await this._downloadTools.downloadPDF(this.mapView.map,t,this._removeDuplicates.checked,this._addTitle?this._titleElement.value:"",i),this._fetchingData=!1}this._exportType===o.CSV&&(this._fetchingData=!0,await this._downloadTools.downloadCSV(this.mapView.map,t,this._removeDuplicates.checked),this._fetchingData=!1)}_getSelectionIdsAndViews(t,i=!1){return(i?t.filter((t=>t.download)):t).reduce(((t,i)=>{if(i.workflowType===h.REFINE)Object.keys(i.refineInfos).forEach((s=>{const e=i.refineInfos[s];e.addIds&&(t=this._updateExportInfos(t,e.layerView.layer.id,i.label,e.addIds,e.layerView))}));else{const s=i?.layerView?.layer.id;t=this._updateExportInfos(t,s,i.label,i.selectedIds,i.layerView)}return t}),{})}_updateExportInfos(t,i,s,e,a){return i&&Object.keys(t).indexOf(i)>-1?(t[i].ids=[...new Set([...t[i].ids,...e])],t[i].selectionSetNames.push(s)):i&&(t[i]={ids:e,layerView:a,selectionSetNames:[s]}),t}_getAction(t,i,s,e,l=!1,o=""){return a("calcite-action",{disabled:!t,icon:i,iconFlipRtl:!0,indicator:l,onClick:e,slot:o,text:s})}_updateForSelection(t){this._numSelected=t.detail,this._saveEnabled=this._numSelected>0}async _home(){await this._clearSelection(),this._setPageType(n.LIST)}async _saveSelection(){const t=await(this._selectTools?.getSelection()),i=this._selectTools?.isUpdate;return this._selectionSets=i?this._selectionSets.map((i=>i.id===t.id?t:i)):[...this._selectionSets,t],this._home()}async _clearSelection(){await(this._selectTools?.clearSelection()),this._numSelected=0,this._activeSelection=void 0}_deleteSelection(t,i){return i.stopPropagation(),this._selectionSets=this._selectionSets.filter(((i,s)=>{if(s!==t)return i})),this._highlightFeatures()}_gotoSelection(t,i){d(t.selectedIds,t.layerView,i,this.featureHighlightEnabled,this.featureEffect)}_openSelection(t,i){i.stopPropagation(),this._activeSelection=t,this._pageType=t.workflowType===h.REFINE?n.REFINE:n.SELECT}async _highlightFeatures(){this._clearHighlight();const t=this._getSelectionIdsAndViews(this._selectionSets,this._pageType===n.EXPORT),i=Object.keys(t);if(i.length>0)for(let s=0;s<i.length;s++){const e=t[i[s]];g.highlightHandles.push(await p(e.ids,e.layerView,this.mapView))}}_checkPopups(){"boolean"!=typeof this._popupsEnabled&&(this._popupsEnabled=this.mapView?.popupEnabled)}_clearHighlight(){g&&g.highlightHandles&&g.removeHandles()}async _getTranslations(){const t=await r(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],searchConfiguration:["watchSearchConfigurationHandler"],sketchLineSymbol:["sketchLineSymbolWatchHandler"],sketchPointSymbol:["sketchPointSymbolWatchHandler"],sketchPolygonSymbol:["sketchPolygonSymbolWatchHandler"],_pageType:["pageTypeWatchHandler"]}}};u.style=':host{display:block;--calcite-input-message-spacing-value:0}.align-center{align-items:center}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-color-border-3)}.action-bar-size{height:3.5rem;width:100%}.w-1-2{width:50%}.w-1-3{width:33.33%}.width-full{width:100%}.height-full{height:100%}.padding-1{padding:1rem}.padding-top-sides-1{padding-block-start:1rem;padding-inline-start:1rem;padding-inline-end:1rem}.padding-sides-1{padding-inline-start:1rem;padding-inline-end:1rem}.padding-end-1-2{padding-inline-end:.5rem}.padding-top-1-2{padding-block-start:.5rem}.padding-top-1{padding-top:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-bottom-1-2{padding-bottom:.5rem}.info-blue{color:#00A0FF}.info-message{justify-content:center;display:grid}.font-bold{font-weight:bold}.display-flex{display:flex}.display-block{display:block}.display-none{display:none}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-start-1-2{padding-inline-start:0.5rem}.list-border{border:1px solid var(--calcite-color-border-2)}.margin-sides-1{margin-inline-start:1rem;margin-inline-end:1rem}.margin-start-1-2{margin-inline-start:0.5rem}.float-right{float:right}.float-right[dir="rtl"]{float:left}.float-left{float:left}.float-left[dir="rtl"]{float:right}.margin-top-0{margin-block-start:0 !important}.height-1-1-2{height:1.5rem}.main-background{background-color:var(--calcite-color-foreground-2)}.position-right{position:absolute;right:1rem}.position-right[dir="rtl"]{position:absolute;left:1rem}.label-margin-0{--calcite-label-margin-bottom:0}.list-label{color:var(--calcite-color-text-1)}.list-label,.list-description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.list-description{margin-block-start:0.125rem;color:var(--calcite-color-text-3)}.img-container{width:100%;height:100%}.font-weight-500{font-weight:500}.background-override{height:100%;width:100%;--calcite-color-foreground-3:var(--calcite-color-brand);--calcite-color-foreground-2:var(--calcite-color-brand-hover);--calcite-color-text-1:var(--calcite-color-text-inverse)}.word-wrap-anywhere{word-wrap:anywhere}';export{u as public_notification}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,c as i,g as s,h as e,H as a,F as h}from"./p-e996c38f.js";import{l,g as o}from"./p-404cbf48.js";import{g as c,a as n,b as r,c as d,h as u,d as p,q as f}from"./p-dcd2f00b.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";const m=class{constructor(s){t(this,s),this.togglePanel=i(this,"togglePanel",7),this.center=void 0,this.commentButtonText=void 0,this.commentSubmittedMessage=void 0,this.defaultWebmap="",this.description=void 0,this.enableAnonymousAccess=void 0,this.enableAnonymousComments=void 0,this.enableComments=void 0,this.enableHome=!0,this.enableLogin=void 0,this.enableNewReports=void 0,this.enableSearch=!0,this.enableZoom=!0,this.isMobile=void 0,this.layerExpressions=[],this.layerId=void 0,this.level=void 0,this.locale=void 0,this.loginTitle=void 0,this.mapInfos=[],this.mapView=void 0,this.objectId=void 0,this.reportButtonText=void 0,this.reportingOptions=void 0,this.reportsHeader=void 0,this.reportSubmittedMessage=void 0,this.searchConfiguration=void 0,this.showComments=void 0,this.showUserImageInCommentsList=!1,this.showFeatureSymbol=!1,this.showMyReportsOnly=!1,this.submitNewReportsMessage=void 0,this.theme="light",this.zoomToScale=void 0,this.floorLevel=void 0,this.showFullCommentTitle=!0,this._featureCreationFailedErrorMsg=void 0,this._filterActive=!1,this._flowItems=[],this._hasValidLayers=!1,this._mapInfo=void 0,this._reportSubmitted=!1,this._selectedLayerName=void 0,this._showSubmitCancelButton=!1,this._showLoadingIndicator=!1,this._sidePanelCollapsed=!1,this._translations=void 0,this._updatedProgressBarStatus=25,this._updatedSorting=void 0,this._updatedSortOption="sortNewest",this._commentSubmitted=!1,this._addingCommentFailed=!1}get el(){return s(this)}_createFeature;_currentFeatureId;_defaultCenter;_defaultLevel;_editableLayerIds;_featureDetails;_featureList;_currentFeature;_selectedRelatedFeature;_relatedTable;_filterList;_highlightHandle;_layerList;_createRelatedFeature;_layers;_mapChange;_mapClickHandle;reactiveUtils;FeatureFilter;_selectedFeature;_selectedFeatureIndex;_selectedLayerId;_shareNode;_urlParamsLoaded;_validLayers;_nonVisibleValidLayers;_selectedLayer;_layerItemsHash;_showFullPanel;_floorExpression;_formElements=[];_prevSelectedLayerId;_currentLayerExpressions;_initDefExpressions;_t9nLayerExpressions;async isMobileWatchHandler(){this.updatePanelState(!1,this._showFullPanel)}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){await this.mapView.when((async()=>{this.setInitExpressions(),await this.setMapView()}))}async floorLevelWatchHandler(){if(this._editableLayerIds)for(const t of this._editableLayerIds){const i=await c(this.mapView,t);i.floorInfo?.floorField&&this._updateFloorDefinitionExpression(i)}"layer-list"===this._flowItems[this._flowItems.length-1]&&this._layerList&&await this._layerList.refresh(),this._featureList&&this._featureList.refresh(),this._createFeature&&this._createFeature.refresh(this.floorLevel)}async showMyReportsOnlyWatchHandler(){this._editableLayerIds&&(await this._updateFeatures(),setTimeout((()=>{"layer-list"===this._flowItems[this._flowItems.length-1]&&this._layerList&&this._layerList.refresh(),this._featureList&&this._featureList.refresh()}),50))}async layerExpressionsWatchHandler(){this.resetFilterList(),await this.handleSelectedLayersFilter(),await(this._featureList?.refresh())}async showFeatureSymbolWatchHandler(){await(this._featureList?.refresh())}async updateLayerExpressionsT9n(t){if(this._t9nLayerExpressions=t||this.layerExpressions,null!=this._filterList)await this._filterList.handleUpdatingT9nData(this._t9nLayerExpressions);else if(null!=this._currentLayerExpressions){const t=structuredClone(this._currentLayerExpressions);this.handleLayerExpressionsT9n(t,this._t9nLayerExpressions),this._currentLayerExpressions=t}return Promise.resolve()}togglePanel;async componentWillLoad(){this._urlParamsLoaded=!1,await this._initModules(),await this._getTranslations(),await(this.mapView?.when((async()=>{this._layers=this.reportingOptions?Object.keys(this.reportingOptions).filter((t=>this.reportingOptions[t].visible)):[],this.setInitExpressions(),await this.setMapView()})))}componentWillRender(){this._flowItems.includes("filter-panel")&&this._filterList?.updateInitDefExpressions({initDefExpressions:this._initDefExpressions})}render(){const t="dark"===this.theme?"calcite-mode-dark":"calcite-mode-light";return e(a,{key:"b97883be773d948b75e6df1be453cde018a0dba1"},this._reportSubmitted&&e("calcite-alert",{key:"5fd17c13a0d4dc3c7fed1bb253e9196b83c20e1d","auto-close":!0,class:t+" report-submitted-msg",icon:"check-circle",kind:"success",label:"",onCalciteAlertClose:()=>{this._reportSubmitted=!1},open:!0,placement:"top"},e("div",{key:"5c7a00cb3eaaaeb3a0501324c10b407746ecca46",slot:"message"},this.reportSubmittedMessage?this.reportSubmittedMessage:this._translations.submitMsg)),this._featureCreationFailedErrorMsg&&e("calcite-alert",{key:"d83c690d60c2e6f12a5ec356c5ae67185edc6a1e","auto-close":!0,class:t,icon:"x-octagon",kind:"danger",label:"",onCalciteAlertClose:()=>{this._featureCreationFailedErrorMsg=""},open:!0,placement:"top"},e("div",{key:"9cbac1cf8698f1f918004764e4e43c25af766e4a",slot:"title"},this._translations.error),e("div",{key:"b4dbe07b4af7ab6c543596c6a3374b785fac4c7e",slot:"message"},this._featureCreationFailedErrorMsg)),this._commentSubmitted&&e("calcite-alert",{key:"cde843955c6538ea857a0a187c995062efd777e7","auto-close":!0,class:"report-submitted "+t,icon:"check-circle",kind:"success",label:"",onCalciteAlertClose:()=>{this._commentSubmitted=!1},open:!0,placement:"top"},e("div",{key:"86e3d820aa0d4362c07470bd60d8f0efd0614bc2",slot:"message"},this.commentSubmittedMessage||this._translations.commentSubmittedMsg)),this._addingCommentFailed&&e("calcite-alert",{key:"a0bdeec1bb3a33f3bfa938c0a1f4e631c6a76399","auto-close":!0,class:t,icon:"x-octagon",kind:"danger",label:"",onCalciteAlertClose:()=>{this._addingCommentFailed=!1},open:!0,placement:"top"},e("div",{key:"b161d8e42a078d961ec4e42888d26f4314e9d5a4",slot:"title"},this._translations.error),e("div",{key:"cf3908f91448dfbb7cf6ec78b413eaa3327372be",slot:"message"},this._translations.addingCommentFailedMsg)),e("div",{key:"42e2c8abaf43d6a587729229347efb2836827b98"},e("calcite-shell",{key:"9e3174a699c37be8f20f4609f52c94ecb95d599f","content-behind":!0},this._getReporter())))}async _initModules(){const[t,i]=await l(["esri/core/reactiveUtils","esri/layers/support/FeatureFilter"]);this.reactiveUtils=t,this.FeatureFilter=i}async setSelectedLayer(t,i){this._selectedLayerId=t,this._selectedLayer=await c(this.mapView,t),this._selectedLayerName=i,this._validLayers.forEach((i=>{this._nonVisibleValidLayers.find((t=>t.id===i.id))||i.set("visible",!t||i.id===t)}))}_getLayersConfig(t){return this.reportingOptions&&this.reportingOptions[t]?this.reportingOptions[t]:null}_getReporter(){const t=[];return this._flowItems.forEach((i=>{switch(i){case"layer-list":t.push(this.getLayerListFlowItem());break;case"feature-list":t.push(this.getFeatureListFlowItem(this._selectedLayerId,this._selectedLayerName));break;case"filter-panel":t.push(this.getFilterPanel());break;case"feature-details":t.push(this.getFeatureDetailsFlowItem());break;case"reporting-layer-list":t.push(this.getChooseCategoryFlowItem());break;case"feature-create":t.push(this.getFeatureCreateFlowItem());break;case"comment-details":t.push(this.getCommentDetailsFlowItem());break;case"add-comment":t.push(this.getAddCommentFlowItem())}})),e("calcite-panel",{class:"width-full "+("dark"===this.theme?"calcite-mode-dark":"calcite-mode-light")},this.mapView?e("calcite-flow",null,t?.length>0&&t):e("calcite-loader",{label:"",scale:"m"}))}async sortOptionClick(t,i,s){this._updatedSorting={field:t,order:i},this._updatedSortOption=s}_toggleSort(){const t=this.reportingOptions&&this.reportingOptions[this._selectedLayerId]&&this.reportingOptions[this._selectedLayerId].like&&this.reportingOptions[this._selectedLayerId].likeField;return e("calcite-popover",{autoClose:!0,label:"",offsetDistance:0,placement:this.isMobile?"leading-start":"bottom-start",pointerDisabled:!0,referenceElement:"sort-popover"},e("calcite-list",{label:"","selection-mode":"single"},e("calcite-list-item",{label:this._translations.sortNewest,onCalciteListItemSelect:()=>{this.sortOptionClick(this._selectedLayer.objectIdField,"desc","sortNewest")},selected:"sortNewest"===this._updatedSortOption,value:"sortNewest"}),e("calcite-list-item",{label:this._translations.sortOldest,onCalciteListItemSelect:()=>{this.sortOptionClick(this._selectedLayer.objectIdField,"asc","sortOldest")},selected:"sortOldest"===this._updatedSortOption,value:"sortOldest"}),t&&e(h,null,e("calcite-list-item",{label:this._translations.sortHighestVoted,onCalciteListItemSelect:()=>{this.sortOptionClick(this.reportingOptions[this._selectedLayerId].likeField,"desc","sortHighestVoted")},selected:"sortHighestVoted"===this._updatedSortOption,value:"sortHighestVoted"}),e("calcite-list-item",{label:this._translations.sortLowestVoted,onCalciteListItemSelect:()=>{this.sortOptionClick(this.reportingOptions[this._selectedLayerId].likeField,"asc","sortLowestVoted")},selected:"sortLowestVoted"===this._updatedSortOption,value:"sortLowestVoted"}))))}async _handleFilterListReset(){this._filterActive=!1}async _handleFilterUpdate(t){this._showLoadingIndicator=!0,this._filterActive=t,await this._featureList.refresh(),this._showLoadingIndicator=!1}getLayerListFlowItem(){return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this.reportsHeader,selected:"layer-list"===this._flowItems[this._flowItems.length-1]},this.isMobile&&this.getActionToExpandCollapsePanel(),this._hasValidLayers&&this.enableNewReports&&e("calcite-button",{appearance:"solid",onClick:this.navigateToChooseCategory.bind(this),slot:"footer",width:"full"},this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText),e("calcite-panel",{"full-height":!0,"full-width":!0},e("layer-list",{applyLayerViewFilter:this.showMyReportsOnly,class:"height-full",layers:this._editableLayerIds?.length>0?this._editableLayerIds:this._layers,locale:this.locale,mapView:this.mapView,onLayerSelect:this.displayFeaturesList.bind(this),onLayersListLoaded:this.layerListLoaded.bind(this),ref:t=>this._layerList=t,showFeatureCount:!0,showNextIcon:!0})))}getChooseCategoryFlowItem(){const t=this.reportingOptions?Object.keys(this.reportingOptions).filter((t=>this.reportingOptions[t].visible&&this.reportingOptions[t].reporting&&this._layerItemsHash[t]&&this._layerItemsHash[t].supportsAdd)):[];return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText,onCalciteFlowItemBack:this.backFromSelectedPanel.bind(this),selected:"reporting-layer-list"===this._flowItems[this._flowItems.length-1]},e("calcite-panel",{"full-height":!0,"full-width":!0},e("div",{class:"progress-bar"},e("calcite-progress",{type:"determinate",value:this._updatedProgressBarStatus})),e("calcite-notice",{class:"notice-msg",icon:"lightbulb",kind:"success",open:!0},e("div",{slot:"message"},this._translations.chooseCategoryMsg)),e("layer-list",{class:"height-full",layers:t,locale:this.locale,mapView:this.mapView,onLayerSelect:this.navigateToCreateFeature.bind(this),showFeatureCount:!1,showNextIcon:!1})))}getFeatureCreateFlowItem(){return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._selectedLayerName,onCalciteFlowItemBack:this.backFromCreateFeaturePanel.bind(this),selected:"feature-create"===this._flowItems[this._flowItems.length-1]},this._showSubmitCancelButton&&e("div",{class:"width-full",slot:"footer"},e("calcite-button",{appearance:"solid",class:"footer-top-button footer-button",onClick:this.onCreateFeatureSubmitButtonClick.bind(this),width:"full"},this._translations.submit),e("calcite-button",{appearance:"outline",class:"footer-button",onClick:this.backFromCreateFeaturePanel.bind(this),width:"full"},this._translations.cancel)),e("calcite-panel",{"full-height":!0,"full-width":!0},e("div",{class:"progress-bar"},e("calcite-progress",{type:"determinate",value:this._updatedProgressBarStatus})),e("create-feature",{customizeSubmit:!0,enableSearch:!0,floorLevel:this.floorLevel,formElements:this._formElements.find((t=>t.id===this._selectedLayerId)),isMobile:this.isMobile,locale:this.locale,mapView:this.mapView,onDrawComplete:this.onFormReady.bind(this),onEditingAttachment:this.showSubmitCancelButton.bind(this),onFail:this.createFeatureFailed.bind(this),onModeChanged:this.backFromCreateFeaturePanel.bind(this),onProgressStatus:this.updatedProgressStatus.bind(this),onSuccess:this.onReportSubmitted.bind(this),ref:t=>this._createFeature=t,searchConfiguration:this.searchConfiguration,selectedLayerId:this._selectedLayerId,submitNewReportsMessage:this.submitNewReportsMessage})))}updatedProgressStatus(t){this._updatedProgressBarStatus=t.detail}onFormReady(){this._showSubmitCancelButton=!0}showSubmitCancelButton(t){this._showSubmitCancelButton=!t.detail}onCreateFeatureSubmitButtonClick(){this._createFeature&&this._createFeature.submit()}backFromCreateFeaturePanel(){this._createFeature&&this.updateNonVisibleLayersOnMap(!1),this.backFromSelectedPanel()}onCreateRelatedFeatureSubmitButtonClick(){this._createRelatedFeature&&this._createRelatedFeature.submit()}backFromCreateRelatedFeaturePanel(){this._createRelatedFeature&&(this._showSubmitCancelButton=!1),this.backFromSelectedPanel()}createFeatureFailed(t){console.error(t.detail),this._featureCreationFailedErrorMsg=t.detail.message}async onReportSubmitted(){this.updateNonVisibleLayersOnMap(!1),await this.navigateToHomePage(),this._reportSubmitted=!0,this._updatedProgressBarStatus=25,this._showFullPanel&&this.updatePanelState(this._sidePanelCollapsed,!1)}addCommentFailed(t){console.error(t.detail),this._addingCommentFailed=!0}async onCommentSubmitted(){this._commentSubmitted=!0,this.backFromSelectedPanel(),this._showLoadingIndicator=!0,await this._featureDetails.refresh(this._currentFeature),setTimeout((()=>{this._showLoadingIndicator=!1}),300)}async navigateToHomePage(){await this.setSelectedFeatures([]),this._layerList&&await this._layerList.refresh(),1===this._editableLayerIds.length?(await this._featureList.refresh(),this._flowItems=["feature-list"]):this._flowItems=["layer-list"]}async navigateToCreateFeature(t){t.detail.layerId&&t.detail.layerName&&await this.setSelectedLayer(t.detail.layerId,t.detail.layerName),this.updateNonVisibleLayersOnMap(!0),this._getFormElements(),this._showSubmitCancelButton=!1,this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"feature-create"]}navigateToChooseCategory(){this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"reporting-layer-list"]}updateNonVisibleLayersOnMap(t){this._nonVisibleValidLayers.find((t=>t.id===this._selectedLayerId))&&this._selectedLayer.set("visible",t)}async layerListLoaded(t){const i=t.detail,s=await n(this.mapView),e=[];this._validLayers=[],this._nonVisibleValidLayers=[],s.forEach((t=>{i.includes(t.id)&&(this._validLayers.push(t),t.visible||this._nonVisibleValidLayers.push(t),this._getLayersConfig(t.id)?.reporting&&this._layerItemsHash[t.id]&&this._layerItemsHash[t.id].supportsAdd&&e.push(t.id))})),this.handleMapClick(),this._hasValidLayers=e.length>0,this._urlParamsLoaded||(this._urlParamsLoaded=!0,await this.loadFeatureFromURLParams())}async displayFeaturesList(t){this._updatedSorting={field:"",order:"desc"},this._updatedSortOption="sortNewest",await this.setSelectedLayer(t.detail.layerId,t.detail.layerName),this.handleSelectedLayersFilter(),this._flowItems=[...this._flowItems,"feature-list"],this._prevSelectedLayerId=this._selectedLayerId}async backFromFilterPanel(){null!=this._filterList&&(this._currentLayerExpressions=await this._filterList.getCurrentLayerExpressions()),await this._featureList.refresh(),this.backFromSelectedPanel()}backFromSelectedPanel(){this._updatedProgressBarStatus=25;const t=[...this._flowItems];"comment-details"!==t[t.length-1]&&"add-comment"!==t[t.length-1]&&this.clearHighlights(),"reporting-layer-list"!==t[t.length-1]&&("feature-create"!==t[t.length-1]||"feature-list"!==t[0]&&"feature-list"!==t[t.length-2])||this.updatePanelState(this._sidePanelCollapsed,!1),t.pop(),1!==t.length||"layer-list"!==t[0]?this._flowItems=[...t]:this.navigateToHomePage()}toggleSidePanel(){this._sidePanelCollapsed=!this._sidePanelCollapsed,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}updatePanelState(t,i){this._sidePanelCollapsed=t,this._showFullPanel=i,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}async onFeatureSelectFromList(t){this._showLoadingIndicator=!0,await this.setSelectedFeatures([t.detail]),this._flowItems=[...this._flowItems,"feature-details"]}async getRelatedTable(){const t=this._currentFeature.layer,i=await r(this.mapView);t.relationships.some((s=>{const e=i.filter((i=>t.url===i.url&&i.layerId===s.relatedTableId));if(e&&e.length>0)return this._relatedTable=e[0],!0}))}async updatingFeatureDetails(t){this._showLoadingIndicator=t}async selectionChanged(t){this.updatingFeatureDetails(!0),await this.setCurrentFeature(t.detail.selectedFeature[0]),this.highlightOnMap(t.detail.selectedFeature[0]),this._selectedFeatureIndex=t.detail.selectedFeatureIndex,await this._featureDetails.refresh(t.detail.selectedFeature[0])}showAddCommentsPanel(){this._flowItems=[...this._flowItems,"add-comment"]}async onCommentSelectFromList(t){this._selectedRelatedFeature=[t.detail],this._flowItems=[...this._flowItems,"comment-details"]}getFeatureListFlowItem(t,i){const s=this._getLayersConfig(this._selectedLayerId)?.reporting&&this._layerItemsHash[this._selectedLayerId].supportsAdd,a=this._currentLayerExpressions?.length>0;return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:i,loading:this._showLoadingIndicator,onCalciteFlowItemBack:this.backFromSelectedPanel.bind(this),selected:"feature-list"===this._flowItems[this._flowItems.length-1]},this._toggleSort(),e("calcite-action",{icon:"sort-ascending-arrow",id:"sort-popover",slot:"header-actions-end",text:this._translations.sort,title:this._translations.sort}),a&&e("calcite-action",{icon:"filter",indicator:this._filterActive,onClick:()=>{this._flowItems=[...this._flowItems,"filter-panel"]},slot:"header-actions-end",text:this._translations.filter,title:this._translations.filter}),this.isMobile&&this.getActionToExpandCollapsePanel(),this.enableNewReports&&s&&e("calcite-button",{appearance:"solid",onClick:this.navigateToCreateFeature.bind(this),slot:"footer",width:"full"},this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText),e("calcite-panel",{"full-height":!0},e("feature-list",{applyLayerViewFilter:this.showMyReportsOnly,class:"height-full",highlightOnHover:!0,locale:this.locale,mapView:this.mapView,noFeaturesFoundMsg:this._translations.featureErrorMsg,onFeatureSelect:this.onFeatureSelectFromList.bind(this),pageSize:30,ref:t=>this._featureList=t,reportingOptions:this.reportingOptions,selectedLayerId:t,showFeatureSymbol:this.showFeatureSymbol,sortingInfo:this._updatedSorting})))}getFilterPanel(){return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._translations?.filterLayerTitle?.replace("{{title}}",this._selectedLayerName),loading:this._showLoadingIndicator,onCalciteFlowItemBack:this.backFromFilterPanel.bind(this),selected:"filter-panel"===this._flowItems[this._flowItems.length-1]},this.isMobile&&this.getActionToExpandCollapsePanel(),e("div",{class:"width-full",slot:"footer"},e("div",{class:"width-full",slot:"footer"},e("calcite-button",{appearance:"solid",class:"footer-top-button footer-button",disabled:!this._filterActive,onClick:this.resetFilterList.bind(this),width:"full"},this._translations.resetFilter),e("calcite-button",{appearance:"outline",class:"footer-button",onClick:this.backFromFilterPanel.bind(this),width:"full"},this._translations.close))),e("calcite-panel",{"full-height":!0},e("instant-apps-filter-list",{autoUpdateUrl:!1,closeBtnOnClick:()=>{},comboboxOverlayPositioning:"fixed",layerExpressions:this._currentLayerExpressions,onFilterListReset:()=>{this._handleFilterListReset()},onFilterUpdate:()=>{this._handleFilterUpdate(this._filterList.filterCount>0)},ref:t=>this._filterList=t,resetBtn:!1,resetFiltersOnDisconnect:!1,view:this.mapView,zoomBtn:!1})))}getFeatureDetailsFlowItem(){const t=this._getLayersConfig(this._selectedLayerId)?.comment&&this._selectedLayer.relationships.length>0&&this._relatedTable;return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._selectedLayerName,loading:this._showLoadingIndicator,onCalciteFlowItemBack:this.backFromSelectedPanel.bind(this),selected:"feature-details"===this._flowItems[this._flowItems.length-1]},this.isMobile&&this.getActionToExpandCollapsePanel(),e("instant-apps-social-share",{autoUpdateShareUrl:!1,class:"share-node",embed:!1,popoverButtonIconScale:"s",ref:t=>this._shareNode=t,removePopoverOffset:!0,scale:"m",shareButtonColor:"neutral",shareButtonType:"action",slot:"header-actions-end",socialMedia:!0,view:this.mapView}),this._selectedFeature.length>1&&this.getFeaturesPagination(),e("calcite-panel",null,e("feature-details",{class:"full-height",graphics:this._selectedFeature,layerItemsHash:this._layerItemsHash,locale:this.locale,mapView:this.mapView,onAddComment:this.showAddCommentsPanel.bind(this),onCommentSelect:this.onCommentSelectFromList.bind(this),onFeatureSelectionChange:this.selectionChanged.bind(this),onLikeOrDislikeClicked:()=>{this._featureList.refresh(!0)},onLoadingStatus:t=>{this.updatingFeatureDetails(t.detail)},ref:t=>this._featureDetails=t,reportingOptions:this.reportingOptions,showFullCommentTitle:this.showFullCommentTitle,showUserImageInCommentsList:this.showUserImageInCommentsList}),t&&e("calcite-button",{appearance:"solid",onClick:this.showAddCommentsPanel.bind(this),slot:"footer",width:"full"},this.commentButtonText||this._translations.comment)))}getFeaturesPagination(){return e("div",{class:"feature-pagination"},e("div",null,e("calcite-button",{appearance:"transparent",disabled:!1,iconStart:"chevron-left",id:"solutions-back",onClick:()=>{this._featureDetails.back()},scale:"s",width:"full"}),e("calcite-tooltip",{label:"",placement:"top","reference-element":"solutions-back"},e("span",null,this._translations.back))),e("calcite-button",{appearance:"transparent",onClick:()=>{this._featureDetails.toggleListView()},scale:"s"},e("span",{class:"pagination-count"},this._getCount())),e("div",null,e("calcite-button",{appearance:"transparent",disabled:!1,iconStart:"chevron-right",id:"solutions-next",onClick:()=>{this._featureDetails.next()},scale:"s",width:"full"}),e("calcite-tooltip",{placement:"top","reference-element":"solutions-next"},e("span",null,this._translations.next))))}getCommentDetailsFlowItem(){return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._relatedTable.title,onCalciteFlowItemBack:this.backFromSelectedPanel.bind(this),selected:"comment-details"===this._flowItems[this._flowItems.length-1]},this.isMobile&&this.getActionToExpandCollapsePanel(),e("calcite-panel",{"full-height":!0},e("info-card",{allowEditing:!1,graphics:this._selectedRelatedFeature,highlightEnabled:!1,isLoading:!1,isMobile:!1,locale:this.locale,mapView:this.mapView,paginationEnabled:!1})))}getAddCommentFlowItem(){return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._relatedTable.title,onCalciteFlowItemBack:this.backFromCreateRelatedFeaturePanel.bind(this),selected:"add-comment"===this._flowItems[this._flowItems.length-1]},this.isMobile&&this.getActionToExpandCollapsePanel(),e("div",{class:"width-full",slot:"footer"},this._showSubmitCancelButton&&e("div",{class:"width-full",slot:"footer"},e("calcite-button",{appearance:"solid",class:"footer-top-button footer-button",onClick:this.onCreateRelatedFeatureSubmitButtonClick.bind(this),width:"full"},this._translations.submit),e("calcite-button",{appearance:"outline",class:"footer-button",onClick:this.backFromCreateRelatedFeaturePanel.bind(this),width:"full"},this._translations.cancel))),e("calcite-panel",null,e("create-related-feature",{customizeSubmit:!0,locale:this.locale,mapView:this.mapView,onFail:this.addCommentFailed.bind(this),onFormReady:this.onFormReady.bind(this),onIsActionPending:this.showSubmitCancelButton.bind(this),onSuccess:this.onCommentSubmitted.bind(this),ref:t=>this._createRelatedFeature=t,selectedFeature:this._currentFeature,table:this._relatedTable})))}async setSelectedFeatures(t){this._selectedFeature=t,await this.setCurrentFeature(this._selectedFeature.length?this._selectedFeature[0]:null)}async setCurrentFeature(t){if(this._currentFeature=t,t&&t.layer){const i=t.layer;this.setSelectedLayer(i.id,i.title),this._currentFeatureId=t.attributes[i.objectIdField],this._getLayersConfig(i.id)?.comment&&i.relationships.length>0&&await this.getRelatedTable()}else this._editableLayerIds.length>1&&(this.setSelectedLayer("",""),this.handlePrevLayersFilter()),this._currentFeatureId="";this._updateShareURL()}async highlightOnMap(t){if(this.clearHighlights(),t&&t.geometry&&t.layer){const i=await d(this.mapView,t.layer.id);i.highlightOptions=null,this._highlightHandle=await u([t.getObjectId()],i,this.mapView,!0,this.zoomToScale)}this.updatingFeatureDetails(!1)}clearHighlights(){this._highlightHandle&&this._highlightHandle.remove()}getActionToExpandCollapsePanel(){return e("calcite-action",{icon:this._sidePanelCollapsed?"chevrons-up":"chevrons-down",onClick:this.toggleSidePanel.bind(this),slot:"header-actions-end",text:this._sidePanelCollapsed?this._translations.expand:this._translations.collapse})}async setMapView(){await this.getLayersToShowInList(),await this._updateFeatures(),1===this._editableLayerIds?.length?await this.renderFeaturesList():this._flowItems=["layer-list"],this.mapView.popupEnabled=!1,this._defaultCenter&&this._defaultLevel&&(await this.mapView.goTo({center:this._defaultCenter,zoom:this._defaultLevel}),this._defaultCenter=void 0,this._defaultLevel=void 0)}handleMapClick(){this._mapClickHandle&&this._mapClickHandle.remove(),this._mapClickHandle=this.reactiveUtils.on((()=>this.mapView),"click",this.onMapClick.bind(this))}async onMapClick(t){this.mapView.popupEnabled=!1;const i=await this.mapView.hitTest(t);if(i.results.length>0){const t=[];i.results.forEach((function(i){"graphic"===i.type&&t.push(i.graphic)}));const s=t.filter((t=>this._validLayers.includes(t.layer))),e=t.filter((t=>!this._validLayers.includes(t.layer)&&t?.layer?.popupEnabled&&t?.layer?.id));if(s.length>0&&(await this.setSelectedFeatures(s),this._flowItems.length&&this._flowItems.includes("feature-details")?(this._flowItems=[...this._flowItems.slice(0,this._flowItems.indexOf("feature-details")+1)],await this.highlightOnMap(t[0])):this._flowItems=[...this._flowItems,"feature-details"]),e.length>0){this.mapView.popupEnabled=!0;const t={features:e,updateLocationEnabled:!0};await this.mapView.openPopup(t)}}}_getCount(){const t=(this._selectedFeatureIndex+1).toString(),i=this._selectedFeature.length.toString();return this._translations.indexOfTotal.replace("{{index}}",t).replace("{{total}}",i)}async _getTranslations(){const t=await o(this.el);this._translations=t[0]}_updateFloorDefinitionExpression(t){const i=`${t.floorInfo.floorField} = '${this.floorLevel}'`,s=t.definitionExpression;t.definitionExpression=s?.indexOf(this._floorExpression)>-1?s.replace(this._floorExpression,i):i,this._floorExpression=i}_getFormElements(){const t=this._selectedLayer,i=t?.floorInfo?.floorField;if(i&&this.floorLevel&&t?.formTemplate){const i=this._formElements.find((i=>i.id===t.id));0!==this._formElements.length&&i||this._formElements.push({id:t.id,orgElements:t.formTemplate.elements,orgExpressionInfos:t.formTemplate.expressionInfos})}}reduceToConfiguredLayers(t,i){return Object.keys(t).reduce(((s,e)=>{const a=this.reportingOptions?this._getLayersConfig(e)?.visible:t[e].supportsAdd;return!i.includes(e)&&a&&s.push(e),s}),[])}async _updateFeatures(){for(const t of this._editableLayerIds){const i=await d(this.mapView,t);await this._showMyFeaturesOnly(i);const s=i.layer?.floorInfo?.floorField;s&&this.floorLevel&&this._updateFloorDefinitionExpression(i.layer)}}async _showMyFeaturesOnly(t){const i=this.mapView.map.portalItem.portal?.credential?.userId;if(i){const s=t.layer.editFieldsInfo?.creatorField.toLowerCase();t.filter=this.showMyReportsOnly&&s?new this.FeatureFilter({where:s+"='"+i+"'"}):null}}async getLayersToShowInList(){const t=await p(this.mapView,!0),i=await n(this.mapView),s=[];i.forEach((i=>{"feature"===i?.type&&i?.editingEnabled&&i?.capabilities?.operations?.supportsAdd&&(t[i.id].supportsAdd=!0),i?.editingEnabled||s.push(i.id)})),this._editableLayerIds=this.reduceToConfiguredLayers(t,s),this._layerItemsHash=t}async renderFeaturesList(){this._flowItems=["feature-list"];const t={detail:this._editableLayerIds};await this.layerListLoaded(t),await this.setSelectedLayer(this._validLayers[0].id,this._validLayers[0].title),this.handleSelectedLayersFilter()}_updateShareURL(){const t=this._shareNode?.shareUrl;if(!t)return;const i=new URL(t);this._selectedLayerId?i.searchParams.set("layerid",this._selectedLayerId):i.searchParams.delete("layerid"),this._selectedFeature?.length?i.searchParams.set("oid",this._currentFeatureId):i.searchParams.delete("oid"),this._shareNode.shareUrl=i.href}async loadFeatureFromURLParams(){if(this.center&&this.level&&await this.mapView.goTo({center:this.center.split(";").map(Number),zoom:this.level}),this.layerId&&this.objectId){const t=await c(this.mapView,this.layerId);if(t){const i=await f([Number(this.objectId)],t,[],!0,this.mapView.spatialReference);i.length&&(await this.setSelectedFeatures(i),this._flowItems=this._flowItems.length&&"feature-details"!==this._flowItems[this._flowItems.length-1]?[...this._flowItems,"feature-details"]:[...this._flowItems])}}}async handleSelectedLayersFilter(){if(this._selectedLayer){const t=this.layerExpressions?structuredClone(this.layerExpressions.filter((t=>t.id===this._selectedLayerId))):[];null!=this._t9nLayerExpressions&&this.handleLayerExpressionsT9n(t,this._t9nLayerExpressions),this._currentLayerExpressions=t,this.setActiveDefinitionExpressions()}}async handlePrevLayersFilter(){if(this._prevSelectedLayerId){const t=await c(this.mapView,this._prevSelectedLayerId);t&&(t.definitionExpression=this._initDefExpressions[this._prevSelectedLayerId])}}resetFilterList(){this._filterList?.forceReset(),null!=this._selectedLayer&&(this._selectedLayer.definitionExpression=this._initDefExpressions[this._selectedLayerId],this._filterActive=!1)}setActiveDefinitionExpressions(){if(null==this._selectedLayer)return;const t=[];if(this._currentLayerExpressions?.length>0){const i=this._currentLayerExpressions[0];for(const s of i.expressions){const{active:i,definitionExpression:e}=s;i&&e&&t.push(`(${e})`)}this._filterActive=t.length>0,this.updateFilterLayerDefExpression(t,i.operator)}}updateFilterLayerDefExpression(t,i){const s=this._initDefExpressions[this._selectedLayerId],e=t?.length>0&&null!=s?`(${t.join(i)}) AND (${s})`:t.length>0?t.join(i):s;this._selectedLayer.definitionExpression=e}setInitExpressions(){if(this._initDefExpressions={},null==this.mapView)return;const t=this.mapView.map;t.allLayers.concat(t.allTables).forEach((t=>{"feature"===t.type&&(this._initDefExpressions[t.id]=t.definitionExpression)}))}handleLayerExpressionsT9n(t,i){t?.forEach((t=>{const s=i?.find((i=>i.id===t.id));null!=s&&(t.title=s.title,t.expressions?.forEach((t=>{const i=s.expressions?.find((i=>i.id===t.id));null!=i&&(t.name=i.name)})))}))}static get watchers(){return{isMobile:["isMobileWatchHandler"],locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],floorLevel:["floorLevelWatchHandler"],showMyReportsOnly:["showMyReportsOnlyWatchHandler"],layerExpressions:["layerExpressionsWatchHandler"],showFeatureSymbol:["showFeatureSymbolWatchHandler"]}}};m.style=":host{display:block;--calcite-label-margin-bottom:0px;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.width-full{width:100% !important}.width-0{width:0}.height-full{height:100% !important}.height-0{height:0}.overflow-hidden{overflow:hidden}.border{border:1px solid var(--calcite-color-border-3)}.notice-msg{padding:10px;width:calc(100% - 20px)}.progress-bar{padding:12px}.footer-top-button{padding-bottom:7px}.footer-button{height:35px}.feature-pagination{background-color:var(--calcite-color-foreground-1) !important;border-block-end:1px solid var(--calcite-color-border-3);display:flex;justify-content:center;padding:5px 0}.pagination-count{color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand);font-weight:bold}.report-submitted-msg{position:absolute;z-index:1000}.share-node{display:flex}";export{m as crowdsource_reporter}
@@ -3,7 +3,7 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{g as a,r as x,c as e,h as t,H as n}from"./p-e996c38f.js";import{g as m}from"./p-a397e773.js";import{n as l}from"./p-8850bd21.js";import"./p-3b3f77bc.js";import"./p-d4056c1c.js";import"./p-4f236b5d.js";import"./p-80cb7c73.js";
6
+ import{g as a,r as x,c as e,h as t,H as n}from"./p-e996c38f.js";import{g as m}from"./p-404cbf48.js";import{n as l}from"./p-8850bd21.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-4f236b5d.js";import"./p-80cb7c73.js";
7
7
  /** @license
8
8
  * Copyright 2022 Esri
9
9
  *
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{e as s}from"./p-3b3f77bc.js";const a=async(a,t)=>(s.exports.setDefaultOptions({url:"https://js.arcgis.com/4.32/"}),(await s.exports.loadModules(a,t)).map((s=>s.__esModule&&s.default?s.default:s)));export{a as l}
6
+ import{e as a}from"./p-0a24ad5f.js";const s=async(s,t)=>(a.exports.setDefaultOptions({url:"https://js.arcgis.com/4.32/"}),(await a.exports.loadModules(s,t)).map((a=>a.__esModule&&a.default?a.default:a)));export{s as l}
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{l as t}from"./p-438fdc33.js";async function n(t){try{const n=await t.fetch("json",{cacheBust:!0});return Promise.resolve(n)}catch(t){console.error("Unable to get resource t9n data.")}}async function o(n){if(!n)return null;const[o]=await t(["esri/portal/PortalItemResource"]),a=await n.fetchResources({num:100}),r=`t9n/${null==n?void 0:n.id}.json`,e=new o({path:r,portalItem:n}),s=a.resources.filter((t=>t.resource.path===r));if(0!==s.length)return Promise.resolve(s[0].resource);{const t="application/json",o=new Blob([JSON.stringify({})],{type:t});try{await n.addResource(e,o);const t=await n.fetchResources(),a=`t9n/${null==n?void 0:n.id}.json`,r=t.resources.filter((t=>t.resource.path===a));return Promise.resolve(r[0].resource)}catch(t){return console.error("ERROR: ",t),Promise.reject(null)}}}export{n as f,o as g}
6
+ import{l as t}from"./p-08ad0b7a.js";async function n(t){try{const n=await t.fetch("json",{cacheBust:!0});return Promise.resolve(n)}catch(t){console.error("Unable to get resource t9n data.")}}async function o(n){if(!n)return null;const[o]=await t(["esri/portal/PortalItemResource"]),a=await n.fetchResources({num:100}),r=`t9n/${null==n?void 0:n.id}.json`,e=new o({path:r,portalItem:n}),s=a.resources.filter((t=>t.resource.path===r));if(0!==s.length)return Promise.resolve(s[0].resource);{const t="application/json",o=new Blob([JSON.stringify({})],{type:t});try{await n.addResource(e,o);const t=await n.fetchResources(),a=`t9n/${null==n?void 0:n.id}.json`,r=t.resources.filter((t=>t.resource.path===a));return Promise.resolve(r[0].resource)}catch(t){return console.error("ERROR: ",t),Promise.reject(null)}}}export{n as f,o as g}